.tochadas-product-collection,
.tochadas-product-grid {
	width: 100%;
	padding-top: var(--tochadas-padding-top-mobile);
	padding-bottom: var(--tochadas-padding-bottom-mobile);
	font-family: var(--wp--preset--font-family--figtree);
}

.tochadas-product-module__inner {
	box-sizing: border-box;
	width: 100%;
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 15px;
}

.tochadas-product-collection__heading { margin-bottom: 25px; }
.tochadas-product-collection__heading h2 {
	margin: 0;
	font-size: 21.875px;
	font-weight: 500;
	line-height: 1.24;
	letter-spacing: .75px;
}
.tochadas-product-collection__description { margin-top: 10px; font-size: 15px; line-height: 1.8; }
.tochadas-product-collection__description p { margin: 0; }

.tochadas-product-module__grid {
	display: grid;
	grid-template-columns: repeat(var(--tochadas-cols-mobile), minmax(0, 1fr));
	gap: 12px;
	padding: 0;
	margin: 0;
	list-style: none;
}
.tochadas-product-card { position: relative; min-width: 0; list-style: none; text-align: center; }
@media (prefers-reduced-motion: no-preference) {
	.tochadas-product-card[data-reveal-pending] { opacity: .01; transform: translateY(2rem); }
	.tochadas-product-card.is-revealed { animation: tochadas-product-card-reveal 900ms cubic-bezier(0, 0, .3, 1) both; }
	@keyframes tochadas-product-card-reveal {
		from { opacity: .01; transform: translateY(2rem); }
		to { opacity: 1; transform: translateY(0); }
	}
}
.tochadas-product-card__media { position: relative; width: 100%; overflow: hidden; }
.tochadas-product-card__media--square { aspect-ratio: 1; }
.tochadas-product-card__media--portrait { aspect-ratio: 4 / 5; }
.tochadas-product-card__media > a { display: block; width: 100%; height: 100%; }
.tochadas-product-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: opacity .4s ease, transform .4s ease; }
.tochadas-product-card__media--adapt img { height: auto; }
.tochadas-product-card__media img.tochadas-product-card__second-image { position: absolute; inset: 0; opacity: 0; }
.tochadas-product-card__media .tochadas-product-card__overlay-add { display: grid; position: absolute; top: 10px; right: 10px; z-index: 2; place-items: center; width: 42px; height: 42px; margin: 0; padding: 0; border: 1px solid #020912; border-radius: 50%; background: #fcfcfc; color: #020912; text-decoration: none; transition: opacity .2s ease, transform .2s ease; }
.tochadas-product-card__overlay-add img { display: block; width: 24px; height: 24px; }
.tochadas-product-card__overlay-add:focus-visible { outline: 2px solid #020912; outline-offset: 3px; }
.tochadas-product-card__badge {
	position: absolute;
	right: 10px;
	bottom: 10px;
	padding: 5px 10px;
	border-radius: 40px;
	background: #020912;
	color: #fcfcfc;
	font-size: 12px;
	line-height: 1.2;
}
.tochadas-product-card__details { padding: 13px 10px 0; }
.tochadas-product-card__details h3 { margin: 0; font-size: 12.5px; font-weight: 500; line-height: 1.24; letter-spacing: .75px; }
.tochadas-product-card__details h3 a { color: inherit; text-decoration: none; }
.tochadas-product-card__details h3 a:hover { text-decoration: underline; }
.tochadas-product-card__brand { margin: 7px 0 0; font-size: 12px; opacity: .75; }
.tochadas-product-card__rating { margin-top: 7px; }
.tochadas-product-card__rating .star-rating { display: inline-block; float: none; color: var(--wp--preset--color--accent); }
.tochadas-product-card__price { margin-top: 7px; font-size: 16px; line-height: 1.5; letter-spacing: 1px; }
.tochadas-product-card__price del { opacity: .75; font-size: 13px; }
.tochadas-product-card__price ins { text-decoration: none; }
.tochadas-product-card__quick-add { display: inline-block; margin-top: 12px; padding: 9px 14px; border: 1px solid currentColor; color: inherit; font-size: 13px; text-decoration: none; }
.tochadas-product-card__details .tochadas-cart-notification__error { margin-top: 8px; padding: 0; border: 0; }
.tochadas-product-module__empty { margin: 0; padding: 35px 0; text-align: center; }

.tochadas-product-collection__view-all { margin-top: 30px; text-align: center; }
.tochadas-product-collection__button { display: inline-block; padding: 10px 25px; border: 1px solid currentColor; color: inherit; text-decoration: none; font-size: 14px; }
.tochadas-product-collection__button.is-solid { background: var(--tochadas-color-text); color: var(--tochadas-color-background); }
.tochadas-product-collection__button.is-link { padding-right: 0; padding-left: 0; border: 0; text-decoration: underline; }

.tochadas-product-grid__heading { margin: 22px 0 25px; }
.tochadas-product-grid__heading h1 { margin: 0; font-size: clamp(28px, 3vw, 40px); font-weight: 500; line-height: 1.2; letter-spacing: 0; }
.tochadas-product-grid__description { max-width: 760px; margin-top: 16px; font-size: 15px; line-height: 1.7; }
.tochadas-product-grid__description p { margin: 0; }
.tochadas-product-grid__toolbar { position: relative; margin-bottom: 25px; }
.tochadas-product-grid__controls { display: flex; align-items: center; gap: 28px; min-height: 55px; margin: 0; font-size: 14px; }
.tochadas-product-grid__facets { display: flex; align-items: center; flex: 1; flex-wrap: wrap; gap: 10px 30px; }
.tochadas-product-grid__filter-heading { color: #45484a; white-space: nowrap; }
.tochadas-product-grid__facet { position: relative; }
.tochadas-product-grid__facet summary { display: flex; align-items: center; gap: 12px; padding: 12px 0; color: #45484a; list-style: none; cursor: pointer; }
.tochadas-product-grid__facet summary::-webkit-details-marker { display: none; }
.tochadas-product-grid__facet summary::after { content: ""; flex: 0 0 7px; width: 7px; height: 7px; margin-top: -4px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); transition: transform .18s ease; }
.tochadas-product-grid__facet[open] summary::after { margin-top: 4px; transform: rotate(225deg); }
.tochadas-product-grid__facet summary:hover { color: #020912; text-decoration: underline; text-underline-offset: 4px; }
.tochadas-product-grid__facet-panel { position: absolute; top: calc(100% + 4px); left: -12px; z-index: 40; display: grid; gap: 13px; min-width: 285px; max-height: 340px; overflow-y: auto; padding: 20px; border: 1px solid #d8d8d8; background: #fcfcfc; box-shadow: 0 8px 20px rgb(0 0 0 / 10%); }
.tochadas-product-grid__facet-panel p { margin: 0 0 5px; padding-bottom: 12px; border-bottom: 1px solid #e7e7e7; color: #414141; }
.tochadas-product-grid__facet-panel label { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.tochadas-product-grid__facet-panel input[type="radio"] { width: 17px; height: 17px; margin: 0; accent-color: #020912; }
.tochadas-product-grid__sort { display: flex; align-items: center; gap: 12px; white-space: nowrap; }
.tochadas-product-grid__sort .tochadas-product-grid__facet-panel { right: 0; left: auto; white-space: normal; }
.tochadas-product-grid__count { color: #626262; white-space: nowrap; }
.tochadas-product-grid__mobile-toggle,
.tochadas-product-grid__mobile-head,
.tochadas-product-grid__backdrop,
.tochadas-product-grid__actions { display: none; }
.tochadas-product-grid__load-more { margin-top: 40px; text-align: center; }
.tochadas-product-grid__load-more button { min-width: 155px; min-height: 46px; padding: 10px 25px; border: 1px solid #020912; background: #fcfcfc; color: #020912; font: inherit; font-size: 14px; cursor: pointer; transition: background-color .18s ease, color .18s ease; }
.tochadas-product-grid__load-more button:hover { background: #020912; color: #fcfcfc; }
.tochadas-product-grid__load-more button:disabled { opacity: .5; cursor: wait; }
.tochadas-product-grid__progress { margin: 13px 0 0; color: #686868; font-size: 13px; }
.tochadas-product-grid__error { margin-top: 16px; color: #a00000; text-align: center; }
.tochadas-product-grid [hidden] { display: none !important; }
.tochadas-product-grid.is-loading .tochadas-product-module__grid { opacity: .65; }

@media (max-width: 989px) {
	.tochadas-product-module__slider.is-mobile-slider .tochadas-product-module__grid { display: flex; gap: 12px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; }
	.tochadas-product-module__slider.is-mobile-slider .tochadas-product-module__grid::-webkit-scrollbar { display: none; }
	.tochadas-product-module__slider.is-mobile-slider .tochadas-product-card { flex: 0 0 calc((100% - 12px) / var(--tochadas-cols-mobile) - 30px); scroll-snap-align: start; }
	.tochadas-product-module__slider:not(.is-mobile-slider) .tochadas-product-module__slider-controls { display: none; }
}

.tochadas-product-module__slider-controls { display: flex; justify-content: center; align-items: center; gap: 15px; margin-top: 15px; font-size: 12px; }
.tochadas-product-module__slider-controls button { width: 44px; height: 40px; padding: 0; border: 0; background: transparent; color: inherit; font-family: inherit; font-size: 28px; line-height: 1; cursor: pointer; }

@media (min-width: 750px) {
	.tochadas-product-collection,
	.tochadas-product-grid { padding-top: var(--tochadas-padding-top); padding-bottom: var(--tochadas-padding-bottom); }
	.tochadas-product-module__inner { padding: 0 50px; }
	.tochadas-product-module__grid { gap: 24px; }
	.tochadas-product-collection__heading h2 { font-size: 30px; }
	.tochadas-product-card__details h3 { font-size: 15.625px; }
	.tochadas-product-module__slider.is-mobile-slider .tochadas-product-module__grid { gap: 24px; }
	.tochadas-product-module__slider.is-mobile-slider .tochadas-product-card { flex-basis: calc((100% - 24px) / var(--tochadas-cols-mobile) - 30px); }
}

@media (min-width: 990px) {
	.tochadas-product-module__grid { grid-template-columns: repeat(var(--tochadas-cols-desktop), minmax(0, 1fr)); }
	.tochadas-product-module__slider.is-desktop-slider .tochadas-product-module__grid { display: flex; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; }
	.tochadas-product-module__slider.is-desktop-slider .tochadas-product-module__grid::-webkit-scrollbar { display: none; }
	.tochadas-product-module__slider.is-desktop-slider .tochadas-product-card { flex: 0 0 calc((100% - (var(--tochadas-cols-desktop) - 1) * 24px) / var(--tochadas-cols-desktop)); scroll-snap-align: start; }
	.tochadas-product-module__slider:not(.is-desktop-slider) .tochadas-product-module__slider-controls { display: none; }
	.tochadas-product-card:hover .tochadas-product-card__media img:first-child:not(:only-child) { opacity: 0; }
	.tochadas-product-card:hover .tochadas-product-card__media img.tochadas-product-card__second-image { opacity: 1; transform: scale(1.03); }
	.tochadas-product-card:hover .tochadas-product-card__media img:first-child:only-child { transform: scale(1.03); }
}

@media (min-width: 990px) and (hover: hover) {
	.tochadas-product-card__media .tochadas-product-card__overlay-add { opacity: 0; transform: translateY(-6px); pointer-events: none; }
	.tochadas-product-card:hover .tochadas-product-card__media .tochadas-product-card__overlay-add,
	.tochadas-product-card:focus-within .tochadas-product-card__media .tochadas-product-card__overlay-add { opacity: 1; transform: translateY(0); pointer-events: auto; }
}

@media (max-width: 749px) {
	.tochadas-product-grid__heading { margin: 18px 0 22px; }
	.tochadas-product-grid__toolbar { min-height: 49px; margin-bottom: 18px; border-top: 1px solid #e7e7e7; border-bottom: 1px solid #e7e7e7; }
	.tochadas-product-grid__mobile-toggle { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 48px; padding: 0; border: 0; background: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer; }
	.tochadas-product-grid__mobile-toggle img { width: 20px; height: 20px; }
	.tochadas-product-grid__backdrop { position: fixed; inset: 0; z-index: 900; background: rgb(0 0 0 / 42%); }
	.tochadas-product-grid__controls { position: fixed; top: 0; right: 0; bottom: 0; z-index: 901; display: flex; align-items: stretch; flex-direction: column; gap: 0; width: min(390px, 90vw); height: 100dvh; overflow-y: auto; padding: 0 22px; background: #fcfcfc; box-shadow: -4px 0 24px rgb(0 0 0 / 12%); transform: translateX(105%); visibility: hidden; transition: transform .25s ease, visibility .25s; }
	.tochadas-product-grid.is-filters-open .tochadas-product-grid__controls { transform: translateX(0); visibility: visible; }
	.tochadas-product-grid.is-filters-open .tochadas-product-grid__backdrop { display: block; }
	body.tochadas-grid-filters-open { overflow: hidden; }
	.tochadas-product-grid__mobile-head { display: flex; align-items: center; justify-content: space-between; min-height: 70px; border-bottom: 1px solid #e7e7e7; font-size: 17px; }
	.tochadas-product-grid__mobile-head button { padding: 8px; border: 0; background: transparent; color: inherit; font-size: 29px; line-height: 1; cursor: pointer; }
	.tochadas-product-grid__facets { display: block; flex: 0 0 auto; }
	.tochadas-product-grid__filter-heading { display: none; }
	.tochadas-product-grid__facet { border-bottom: 1px solid #e7e7e7; }
	.tochadas-product-grid__facet summary { justify-content: space-between; min-height: 58px; padding: 16px 0; }
	.tochadas-product-grid__facet-panel { position: static; min-width: 0; max-height: none; overflow: visible; padding: 3px 0 20px; border: 0; box-shadow: none; }
	.tochadas-product-grid__facet-panel p { display: none; }
	.tochadas-product-grid__sort { align-items: flex-start; justify-content: space-between; min-height: 64px; border-bottom: 1px solid #e7e7e7; }
	.tochadas-product-grid__sort > span { display: flex; align-items: center; min-height: 64px; }
	.tochadas-product-grid__sort .tochadas-product-grid__facet { border-bottom: 0; }
	.tochadas-product-grid__sort .tochadas-product-grid__facet summary { min-height: 64px; padding: 12px 0; }
	.tochadas-product-grid__count { padding: 18px 0; }
	.tochadas-product-grid__actions { display: flex; gap: 12px; margin-top: auto; padding: 18px 0; border-top: 1px solid #e7e7e7; background: #fcfcfc; }
	.tochadas-product-grid__actions button { flex: 1; min-height: 44px; padding: 9px; border: 1px solid #020912; background: #fcfcfc; color: #020912; font: inherit; cursor: pointer; }
	.tochadas-product-grid__actions button[type="submit"] { background: #020912; color: #fcfcfc; }
}
