/* =====================================================================
   WAWA · capa de diseño definitiva (se carga al final, sobre tokens/base/layout/home/shop)
   Colores: bordó #600815 · bordó profundo #4A0610 · amarillo #F6A624 · crema #FBF5F0 · papel #FFFDF8
   Tipografías: Lilita One (títulos y precios) · DM Sans (texto e interfaz).
   Logo y lettering: imágenes definitivas (nunca reconstruidas con tipografías).
   ===================================================================== */

:root {
	--gutter: clamp(16px, 3.4vw, 52px);
	--container: calc(1340px + 2 * var(--gutter));
	--header-h: 68px;
	--w-paper: #FFFDF8;
	--w-ink: #4A0610;
	--w-line: rgba(96, 8, 21, .12);
	--w-shadow: 0 1px 2px rgba(96, 8, 21, .05), 0 6px 20px rgba(96, 8, 21, .07);
	--w-shadow-hover: 0 2px 4px rgba(96, 8, 21, .06), 0 12px 28px rgba(96, 8, 21, .11);
	--w-icon-bg: #F6EBE1;
	--focus-ring: 0 0 0 3px var(--fritto-crema), 0 0 0 6px var(--fritto-bordo);
}
@media (min-width: 1100px) { :root { --header-h: 84px; } }

body { font-synthesis: none; background: var(--fritto-crema); color: var(--w-ink); }
h1, h2, h3, h4 { font-weight: 400; }

/* ---------- Barra superior ---------- */
.w-topbar { background: var(--fritto-bordo); color: #fff; }
.w-topbar__list { display: flex; justify-content: center; align-items: center; gap: clamp(40px, 12vw, 190px); min-height: 38px; margin: 0 auto; list-style: none; }
.w-topbar__item { display: flex; align-items: center; gap: 10px; font-weight: 500; font-size: 13.5px; line-height: 1.2; }
.w-topbar__item .fritto-icon { width: 22px; height: 22px; flex: none; }
.w-topbar__item small { font-size: 12px; opacity: .85; }
@media (max-width: 759px) {
	.w-topbar__list { min-height: 34px; }
	.w-topbar__item:not(.w-topbar__item--lead) { display: none; }
	.w-topbar__item { font-size: 13px; }
	.w-topbar__item .fritto-icon { width: 20px; height: 20px; }
}

/* ---------- Encabezado ---------- */
.site-header { background: var(--fritto-crema); box-shadow: none; }
.site-header.is-scrolled { box-shadow: 0 6px 18px rgba(96, 8, 21, .08); }
.site-header__inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px; min-height: var(--header-h); }
.site-header__menu-toggle,
.site-header__search-toggle,
.site-header__account,
.site-header__cart { display: inline-grid; place-items: center; position: relative; width: 44px; height: 44px; min-height: 44px; padding: 0; border-radius: 10px; background: none !important; color: var(--fritto-bordo) !important; }
.site-header__menu-toggle .fritto-icon,
.site-header__search-toggle .fritto-icon,
.site-header__account .fritto-icon,
.site-header__cart .fritto-icon { width: 26px; height: 26px; }
.site-header__search-toggle[aria-expanded="true"] { background: var(--fritto-crema-2) !important; }
.site-header__actions { display: flex; align-items: center; gap: 2px; justify-self: end; }
.site-header__brand { justify-self: center; }
.fritto-logo { display: block; line-height: 0; }
.fritto-logo__img { display: block; width: 132px; height: auto; margin: -2px 0 -4px; }
.fritto-logo__text { font: 400 34px/1 var(--font-display); color: var(--fritto-bordo); }
.fritto-cart-count { position: absolute; top: 0; right: -2px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 99px; background: var(--fritto-amarillo); color: var(--w-ink); font: 800 11.5px/20px var(--font-body); text-align: center; box-shadow: none; }
.site-header__nav,
.w-search { display: none; }

@media (min-width: 1100px) {
	.site-header__inner { grid-template-columns: auto minmax(0, 1fr) auto auto; gap: clamp(16px, 2vw, 32px); }
	.site-header__menu-toggle,
	.site-header__search-toggle { display: none; }
	.site-header__brand { justify-self: start; }
	.fritto-logo__img { width: clamp(170px, 13vw, 200px); margin: -6px 0 -10px -6px; }
	.site-header__nav { display: block; justify-self: center; }
	.site-header__actions { gap: 6px; }
}
/* Hasta 1439 px el buscador es el ícono (panel desplegable): el menú con "Cómo comprar" entra sin apretarse. */
@media (min-width: 1100px) and (max-width: 1439px) {
	.site-header__inner { grid-template-columns: auto minmax(0, 1fr) auto; }
	.site-header__search-toggle { display: inline-grid; }
	.fritto-nav { gap: clamp(14px, 2vw, 30px); }
}
@media (min-width: 1440px) {
	.w-search { display: block; }
	.fritto-nav { gap: clamp(14px, 1.7vw, 34px); }
}

/* Menú principal con subcategorías (desplegable con mouse y con teclado: :focus-within). */
.fritto-nav { display: flex; align-items: center; gap: clamp(10px, 2.2vw, 40px); margin: 0; padding: 0; list-style: none; }
.fritto-nav > li { position: relative; }
.site-header__nav .fritto-nav > li > a,
.site-header__nav .fritto-nav > li.current-menu-item > a { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 0 2px; border-radius: 0; background: none; color: var(--fritto-bordo); font: 600 15px/1 var(--font-body); white-space: nowrap; text-decoration: none; }
.site-header__nav .fritto-nav > li.menu-item-has-children > a::after { content: ""; width: 7px; height: 7px; margin: -4px 0 0 2px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); }
.site-header__nav .fritto-nav > li > a:hover,
.site-header__nav .fritto-nav > .current-menu-item > a,
.site-header__nav .fritto-nav > .current-menu-ancestor > a { text-decoration: underline; text-decoration-color: var(--fritto-amarillo); text-decoration-thickness: 3px; text-underline-offset: 8px; }
.fritto-nav .sub-menu { position: absolute; top: 100%; left: -14px; z-index: 60; min-width: 190px; margin: 0; padding: 8px; list-style: none; border-radius: 12px; background: var(--w-paper); box-shadow: var(--w-shadow-hover); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s ease, transform .15s ease, visibility .15s; }
/* Con JS, el teclado abre/cierra con la clase is-open (Escape cierra); sin JS, :focus-within. */
.fritto-nav li:hover > .sub-menu,
html:not(.js) .fritto-nav li:focus-within > .sub-menu,
.fritto-nav li.is-open > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.site-header__nav .fritto-nav .sub-menu a { display: block; min-height: 0; padding: 10px 12px; border-radius: 8px; background: none; color: var(--fritto-bordo); font: 600 15px/1.2 var(--font-body); text-decoration: none; white-space: nowrap; }
.site-header__nav .fritto-nav .sub-menu a:hover,
.site-header__nav .fritto-nav .sub-menu .current-menu-item > a { background: var(--fritto-crema); }

/* Buscador del encabezado (escritorio). En pantallas chicas se usa el panel desplegable. */
.w-search { position: relative; width: clamp(180px, 15vw, 228px); }
.w-search input[type="search"] { width: 100%; height: 40px; min-height: 40px; padding: 0 40px 0 14px; border: 1px solid rgba(96, 8, 21, .2); border-radius: 10px; background: var(--w-paper); color: var(--w-ink); font-size: 14px; }
.w-search input[type="search"]::placeholder { color: rgba(74, 6, 16, .55); }
.w-search__submit { position: absolute; top: 3px; right: 3px; display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 8px; background: none; color: var(--fritto-bordo); cursor: pointer; }
.w-search__submit .fritto-icon { width: 20px; height: 20px; }

/* Menú móvil: subcategorías debajo de cada grupo. */
.mobile-menu__head .fritto-logo__img { width: 128px; margin: 0; }
.mobile-menu__list a { color: var(--fritto-bordo); font-family: var(--font-display); font-weight: 400; }
.mobile-menu__list .sub-menu { margin: 0 0 6px; padding: 0 0 0 16px; list-style: none; }
.mobile-menu__list .sub-menu a { min-height: 44px; border-bottom: 0; font: 600 16px/1.2 var(--font-body); }
.mobile-menu__account a { display: flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 700; color: var(--fritto-bordo); text-decoration: none; }
.mobile-menu__account .fritto-icon { width: 24px; height: 24px; }

/* ---------- Hero abstracto (sin fotografía) ---------- */
.w-hero { position: relative; z-index: 0; overflow: hidden; isolation: isolate; background: var(--fritto-crema); }
.w-hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background-image: radial-gradient(rgba(96, 8, 21, .06) 1px, transparent 1.5px); background-size: 20px 20px; -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 45%, #000 0%, transparent 70%); mask-image: radial-gradient(ellipse 60% 70% at 50% 45%, #000 0%, transparent 70%); }
.w-hero__deco { position: absolute; top: 0; z-index: -1; display: block; height: auto; pointer-events: none; }
.w-hero__deco--left { left: 0; width: clamp(150px, 27vw, 430px); }
.w-hero__deco--right { right: 0; width: clamp(130px, 23vw, 370px); }
.w-fill-bordo { fill: var(--fritto-bordo); }
.w-fill-amarillo { fill: var(--fritto-amarillo); }
.w-stroke-amarillo,
.w-stroke-bordo { fill: none; stroke-width: 9; stroke-linecap: round; stroke-linejoin: round; }
.w-stroke-amarillo { stroke: var(--fritto-amarillo); }
.w-stroke-bordo { stroke: var(--fritto-bordo); stroke-width: 8; }
.w-stroke--thin { stroke-width: 5; }
.w-hero__inner { display: flex; flex-direction: column; align-items: center; text-align: center; padding-block: 6px 30px; }
.w-hero__h1 { margin: 0; width: clamp(290px, 37vw, 580px); line-height: 0; }
.w-hero__lettering { display: block; width: 100%; height: auto; }
.w-hero__title-text { display: block; font: 400 clamp(40px, 4vw + 10px, 72px)/1 var(--font-display); color: var(--fritto-bordo); }
.w-eyebrow { margin: -.9em 0 0; padding-left: .3em; font: 800 clamp(13px, .35vw + 11px, 17px)/1.3 var(--font-body); letter-spacing: .3em; text-transform: uppercase; color: var(--fritto-bordo); }
/* Hero compacto (modo "texto"): banda bordó horizontal, mensaje a la izquierda y botón a la derecha.
   Título con la inclinación del lettering original (−6°). Entrada y subrayado se animan una sola vez. */
.w-hero--compact { background: #600815; }
/* ---------- Hero (diseño aprobado 2026-11-25): título en Shrikhand, dos fotos y bloque bordó ----------
   Texto a la izquierda; dos fotos de la tienda a la derecha, montadas sobre un bloque bordó que llega al borde
   de la ventana. Solo el botón es un enlace; los trazos amarillos de la marca son decorativos. */
.w-escena { --w-escena-rojo: #740812; position: relative; z-index: 0; overflow: hidden; margin-bottom: 14px; background: #fcf5ee; }
.w-escena__inner { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 40px; padding-block: 36px; }
.w-escena__copy { position: relative; }
.w-escena__title { position: relative; display: inline-block; margin: 0; font: 400 clamp(34px, 2.1vw + 25px, 64px)/1.04 "Shrikhand", var(--font-display); color: var(--w-escena-rojo); white-space: nowrap; }
.w-escena__sub { margin: 14px 0 0; font: 600 clamp(18px, .5vw + 14px, 24px)/1.3 var(--font-body); color: var(--w-escena-rojo); }
.w-escena .w-escena__btn { margin-top: 28px; min-height: 66px; padding: 0 44px; font-size: 21px; text-transform: none; letter-spacing: 0; box-shadow: 0 8px 20px rgba(96, 8, 21, .22); }
.w-escena .w-escena__btn .fritto-icon { width: 24px; height: 24px; }
.w-escena__btn:focus-visible { outline: 3px solid var(--fritto-bordo); outline-offset: 3px; }
.w-escena__fotos { position: relative; display: flex; gap: 20px; }
.w-escena__fotos::before { content: ""; position: absolute; z-index: -1; top: -400px; bottom: -400px; left: 32%; width: 100vw; background: var(--w-escena-rojo); }
.w-escena__fotos img { display: block; width: clamp(200px, 20.5vw, 330px); height: auto; aspect-ratio: 29 / 37; object-fit: cover; border-radius: 20px; box-shadow: 0 18px 40px rgba(74, 6, 16, .2); }
/* Trazos de la marca: solo en computadora. */
.w-escena__deco { position: absolute; z-index: 0; display: none; overflow: visible; height: auto; fill: var(--fritto-amarillo); pointer-events: none; }
.w-escena__deco .w-linea { fill: none; stroke: var(--fritto-amarillo); stroke-width: 6; stroke-linecap: round; }
@media (min-width: 1200px) {
	.w-escena__deco--centro { display: block; }
	.w-escena__deco--centro { right: 10px; bottom: -22px; width: clamp(150px, 14.5vw, 225px); }
}
/* Pantallas anchas: los laterales tienen lugar (margen del contenedor) para los trazos que entran desde el borde. */
@media (min-width: 1600px) {
	.w-escena__deco { display: block; width: calc((100vw - 1340px) / 2 * .9); max-width: 340px; }
	.w-escena__deco--centro { right: 40px; bottom: 6px; width: clamp(120px, 10vw, 170px); }
	.w-escena__deco--izq-arriba { left: 0; top: 26px; }
	.w-escena__deco--izq-abajo { left: 0; bottom: 20px; }
	.w-escena__deco--der-arriba { z-index: 3; right: 0; top: 22px; }
	.w-escena__deco--der-abajo { z-index: 3; right: 0; bottom: 22px; }
}
@media (min-width: 700px) and (max-width: 1199px) {
	.w-escena__inner { gap: 24px; padding-block: 28px; }
	.w-escena__title { font-size: clamp(31px, 3.4vw + 5px, 45px); }
	.w-escena__sub { margin-top: 10px; font-size: clamp(15.5px, 1.1vw + 7.5px, 20px); }
	.w-escena .w-escena__btn { margin-top: 20px; min-height: 56px; padding: 0 32px; font-size: 18px; }
	.w-escena__fotos { gap: 12px; }
	.w-escena__fotos img { width: 21.5vw; }
}
/* Celular: texto y botón arriba; las dos fotos debajo, con el bloque bordó detrás. */
@media (max-width: 699px) {
	.w-escena__inner { display: block; padding-block: 22px 0; }
	.w-escena__title { font-size: clamp(33px, 9.8vw, 47px); }
	.w-escena__sub { margin-top: 10px; font-size: clamp(14px, 4.5vw, 19px); }
	.w-escena .w-escena__btn { width: 100%; margin-top: 20px; min-height: 60px; font-size: 19px; }
	.w-escena__fotos { gap: 12px; margin-top: 24px; padding-bottom: 26px; }
	.w-escena__fotos img { flex: 1; width: 0; min-width: 0; border-radius: 16px; }
	.w-escena__fotos::before { top: 38%; left: -50vw; width: 200vw; }
}
.w-hero--compact::before { content: none; } /* Bordó sólido, sin textura. */
.w-hero__inner--compact { display: grid; grid-template-columns: minmax(0, auto) auto; justify-content: center; align-items: center; gap: 24px clamp(40px, 7vw, 120px); min-height: clamp(300px, 18vw + 90px, 360px); padding-block: 36px 40px; text-align: left; }
.w-hero__copy { min-width: 0; }
.w-hero__title { margin: 0; font: 400 clamp(40px, 3.3vw + 18px, 76px)/1.05 "Shrikhand", var(--font-display); letter-spacing: .005em; color: var(--fritto-crema); text-shadow: .045em .06em 0 var(--fritto-bordo-deep); text-wrap: balance; animation: w-hero-in .6s cubic-bezier(.2, .7, .2, 1) both; }
.w-hero__answer { margin: .3em 0 0; padding-bottom: .42em; font: 400 clamp(26px, 1.4vw + 17px, 42px)/1.1 var(--font-display); color: var(--fritto-amarillo); animation: w-hero-in .6s .12s cubic-bezier(.2, .7, .2, 1) both; }
.w-hero__answer-text { position: relative; display: inline-block; }
.w-hero__underline { position: absolute; left: 0; top: calc(100% + .1em); width: 100%; height: auto; overflow: visible; } /* Siempre debajo de la frase, sin tocar las letras. */
.w-hero__underline path { fill: none; stroke: var(--fritto-amarillo); stroke-width: 6; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: w-hero-line .7s .55s ease-out forwards; }
.w-hero .w-btn--hero { margin: 0; min-height: 60px; padding: 0 36px; font-size: 18px; text-transform: none; letter-spacing: 0; box-shadow: 0 8px 22px rgba(30, 2, 6, .35); }
@keyframes w-hero-in { from { transform: translateY(12px); } to { transform: none; } }
@keyframes w-hero-line { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) {
	.w-hero__title, .w-hero__answer { animation: none; }
	.w-hero__underline path { animation: none; stroke-dashoffset: 0; }
}
.w-hero--compact + .w-benefits .w-benefits__list { padding-top: 22px; }
/* Trazos amarillos en los extremos del hero compacto (fuera del área del título y del botón). */
.w-hero__fx { position: absolute; z-index: -1; display: block; height: auto; pointer-events: none; }
.w-hero__fx--tl { top: clamp(8px, 1.2vw, 16px); left: 0; width: clamp(140px, 20vw, 300px); } /* Separado del encabezado y del logo. */
.w-hero__fx--tr { top: 0; right: 0; width: clamp(96px, 11vw, 190px); }
.w-hero__fx--br { right: 0; bottom: 12px; width: clamp(200px, 29vw, 420px); }
.w-hero__fx--bl { left: clamp(16px, 4vw, 64px); bottom: 16px; width: clamp(70px, 8vw, 120px); }
.w-hero__fx-draw { stroke-dasharray: 1; stroke-dashoffset: 1; animation: w-hero-line 1.1s .35s ease-out forwards; }
@media (prefers-reduced-motion: reduce) { .w-hero__fx-draw { animation: none; stroke-dashoffset: 0; } }
@media (max-width: 1239px) { .w-hero__fx--tl { display: none; } } /* Debajo de 1240 px se acercaría al título. */
@media (max-width: 899px) { .w-hero__title { font-size: clamp(36px, 4.4vw, 42px); } } /* Tablet: título en una línea junto al botón. */
.w-admin-note { margin-block: 8px 24px; padding: 10px 14px; border: 1px dashed rgba(96, 8, 21, .35); border-radius: 10px; font-size: 14px; color: var(--w-ink); }
.w-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; margin-top: 22px; padding: 0 30px; border-radius: 99px; background: var(--fritto-amarillo); color: var(--fritto-bordo); font: 800 16px/1 var(--font-body); letter-spacing: .01em; text-transform: uppercase; text-decoration: none; box-shadow: 0 6px 16px rgba(232, 150, 26, .32); transition: background-color .15s ease, transform .15s ease; }
.w-btn:hover { background: var(--fritto-amarillo-dark); color: var(--fritto-bordo); transform: translateY(-1px); }
.w-btn .fritto-icon { width: 20px; height: 20px; stroke-width: 2.4; }
@media (max-width: 759px) {
	.w-hero__deco--left { left: -58px; top: -26px; width: 190px; }
	.w-hero__deco--right { right: -62px; top: -22px; width: 180px; }
	.w-hero__deco--left .w-fill-amarillo { display: none; } /* Sin la lluvia de puntos sobre el lettering */
	.w-hero__deco--right g.w-fill-bordo { display: none; }
	.w-hero__inner { padding-block: 78px 26px; }
	.w-hero__h1 { width: min(330px, 88vw); }
	.w-hero__inner--compact { grid-template-columns: minmax(0, 1fr); min-height: 0; gap: 20px; padding-block: 24px 26px; }
	.w-hero__title { font-size: clamp(26px, 8.2vw, 36px); } /* Una sola línea hasta 320 px. */
	.w-hero__answer { font-size: clamp(22px, 5vw + 4px, 28px); }
	.w-hero .w-btn--hero { width: 100%; min-height: 52px; font-size: 16.5px; }
	.w-hero__inner--compact { justify-content: stretch; }
	.w-hero--compact + .w-benefits .w-benefits__list { padding-top: 18px; }
	.w-hero__fx { display: none; } /* En celular el mensaje y el botón ocupan todo el hero: sin trazos para no tocarlos. */
	.w-eyebrow { font-size: 12.5px; letter-spacing: .22em; padding-left: .22em; }
	.w-btn { min-height: 48px; margin-top: 18px; padding: 0 22px; font-size: 14.5px; }
}

/* ---------- Beneficios ---------- */
.w-benefits { background: var(--fritto-crema); }
.w-benefits__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin: 0 auto; padding-block: 8px 26px; list-style: none; }
.w-benefits li { display: flex; align-items: center; justify-content: center; gap: 14px; }
.w-benefits .fritto-icon { width: 38px; height: 38px; flex: none; color: var(--fritto-bordo); stroke-width: 1.6; }
.w-benefits strong { display: block; font-weight: 700; font-size: 14.5px; line-height: 1.25; color: var(--fritto-bordo); }
.w-benefits small { display: block; margin-top: 2px; font-size: 13.5px; line-height: 1.3; color: var(--color-text-muted); }
@media (max-width: 1099px) {
	.w-benefits__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 14px; }
	.w-benefits li { justify-content: flex-start; align-items: flex-start; gap: 10px; }
	.w-benefits .fritto-icon { width: 30px; height: 30px; }
	.w-benefits strong { font-size: 14px; }
	.w-benefits small { font-size: 13px; }
}

/* ---------- Secciones ---------- */
.w-section { padding: 22px 0 18px; }
.w-section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px 16px; flex-wrap: wrap; margin-bottom: 16px; }
.w-section__title { margin: 0; font: 400 clamp(26px, 1.2vw + 17px, 36px)/1.05 var(--font-display); color: var(--fritto-bordo); }
.w-link { display: inline-flex; align-items: center; gap: 6px; padding-block: 6px; white-space: nowrap; font-weight: 700; font-size: 14px; color: var(--fritto-bordo); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.w-link:hover { color: var(--fritto-bordo); text-decoration-color: var(--fritto-amarillo); text-decoration-thickness: 3px; }
.w-link .fritto-icon { width: 18px; height: 18px; flex: none; }

/* ---------- Categorías: tarjetas claras con ícono bordó ---------- */
.w-cats__list { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.w-cat { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 10px; height: 100%; padding: 16px 8px 18px; border-radius: 12px; background: var(--w-paper); box-shadow: var(--w-shadow); text-align: center; text-decoration: none; transition: box-shadow .15s ease, transform .15s ease; }
.w-cat:hover { box-shadow: var(--w-shadow-hover); transform: translateY(-2px); }
.w-cat__icon { display: grid; place-items: center; width: 76px; height: 76px; flex: none; border-radius: 50%; background: var(--w-icon-bg); color: var(--fritto-bordo); }
.w-caticon { width: 48px; height: 48px; }
.w-cat__icon--photo { overflow: hidden; }
.w-cat__icon--photo img { width: 100%; height: 100%; object-fit: cover; }
.w-cat__name { font: 400 17px/1.12 var(--font-display); color: var(--fritto-bordo); text-wrap: balance; }
@media (max-width: 1099px) {
	.w-cats__list { grid-auto-columns: 22%; gap: 12px; }
}
@media (max-width: 759px) {
	.w-cats__list { grid-auto-columns: 31%; gap: 10px; }
	.w-cat { padding: 12px 6px 14px; gap: 8px; }
	.w-cat__icon { width: 62px; height: 62px; }
	.w-caticon { width: 40px; height: 40px; }
	.w-cat__name { font-size: 15px; }
}

/* ---------- Tarjetas de producto (portada, categorías, tienda y búsqueda) ---------- */
.w-products ul.products { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; margin: 0; }
@media (max-width: 1099px) { .w-products ul.products { grid-auto-columns: 30%; gap: 12px; } }
@media (max-width: 759px) { .w-products ul.products { grid-auto-columns: 46%; } }

ul.products li.product { container: card / inline-size; display: flex; flex-direction: column; padding: 8px 8px 10px; border: 0; border-radius: 12px; overflow: visible; background: var(--w-paper); box-shadow: var(--w-shadow); transition: box-shadow .15s ease; }
@media (hover: hover) { ul.products li.product:hover { transform: none; box-shadow: var(--w-shadow-hover); } }
ul.products li.product .woocommerce-LoopProduct-link { flex: none; display: flex; flex-direction: column; }
ul.products li.product .product-card__media { margin: 0 0 8px; border-radius: 8px; overflow: hidden; background: var(--fritto-crema-2); }
ul.products li.product .product-card__media img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; padding: 0; }
@media (hover: hover) { ul.products li.product:hover .product-card__media img { transform: none; } }
/* Nombre centrado, sin espacio reservado: el precio (o el selector) va justo debajo. */
ul.products li.product .woocommerce-loop-product__title { margin: 0 4px; font: 600 15px/1.25 var(--font-body); color: var(--w-ink); text-align: center; text-wrap: balance; }
/* Con presentaciones: nombre en un alto fijo de 2 líneas (centrado), así selector y precio quedan alineados entre tarjetas. */
ul.products li.product.product-type-variable .woocommerce-loop-product__title { display: flex; align-items: center; justify-content: center; min-height: 2.5em; }
.w-card__meta { margin: 2px 2px 0; font-size: 13.5px; line-height: 1.3; color: var(--color-text-muted); text-align: center; }
/* Selector y precio pegados al nombre; cantidad y Agregar siempre al pie de la tarjeta (alineados por fila). */
ul.products li.product .product-card__footer { flex: 1; display: flex; flex-direction: column; align-items: stretch; gap: 2px; margin: 0; padding: 7px 0 0; }
ul.products li.product .product-card__footer > .w-buy:not(.w-buy--pres) { margin-top: auto; padding-top: 6px; }
/* min-height: 0 anula una regla vieja de home.css (.featured …) que alcanzaba a los productos destacados ★ y separaba precio y botón. */
ul.products li.product .product-card__footer .price { min-height: 0; }
ul.products li.product .price { display: flex; justify-content: center; align-items: baseline; gap: 0 8px; margin: 0; font: 400 32px/1.05 var(--font-display); color: var(--fritto-bordo); }
ul.products li.product .price del { font: 500 14px/1 var(--font-body); color: var(--color-text-muted); }
ul.products li.product .price ins { text-decoration: none; }
ul.products .added_to_cart { display: none; } /* El mini carrito flotante ya lleva al carrito. */

/* Carrusel horizontal (categorías y productos de portada en pantallas chicas). Va después de las grillas base para ganarles. */
@media (max-width: 1099px) {
	.w-cats__list,
	.w-products ul.products { grid-template-columns: none; grid-auto-flow: column; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding: 8px var(--gutter) 14px; scroll-padding-inline: var(--gutter); }
	.w-cats__list::-webkit-scrollbar,
	.w-products ul.products::-webkit-scrollbar { display: none; }
	.w-cats__list > li,
	.w-products ul.products > li { scroll-snap-align: start; }
}

/* Cantidad + Agregar */
.w-buy { display: flex; align-items: stretch; gap: 8px; margin: 0; }
.w-qty { display: flex; align-items: center; flex: none; height: 44px; border: 1px solid rgba(96, 8, 21, .22); border-radius: 8px; background: #fff; }
.w-qty__btn { display: grid; place-items: center; width: 32px; height: 100%; padding: 0; border: 0; border-radius: 8px; background: none; color: var(--fritto-bordo); cursor: pointer; touch-action: manipulation; }
.w-qty__btn:hover:not(:disabled) { background: var(--fritto-crema); }
.w-qty__btn .fritto-icon { width: 16px; height: 16px; stroke-width: 2.4; }
.w-qty .w-qty__input { width: 30px; height: 100%; min-height: 0; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; color: var(--w-ink); font: 600 15.5px/1 var(--font-body); text-align: center; -moz-appearance: textfield; appearance: textfield; }
.w-qty__input::-webkit-outer-spin-button,
.w-qty__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
ul.products .w-qty { height: 46px; }
ul.products li.product .w-buy .button.w-add { flex: 1; display: flex; align-items: center; justify-content: center; gap: 7px; width: auto; min-height: 46px; padding: 0 10px; border: 0; border-radius: 8px; background: var(--fritto-bordo); color: #fff; font: 700 15.5px/1 var(--font-body); box-shadow: 0 2px 4px rgba(74, 6, 16, .16); touch-action: manipulation; }
ul.products li.product .w-buy .button.w-add:hover:not(:disabled) { background: var(--w-ink); color: #fff; }
/* Carrito dibujado con máscara: toma el color del texto del botón. */
ul.products li.product .w-buy .button.w-add::before { content: ""; flex: none; width: 18px; height: 18px; background: currentColor; -webkit-mask: var(--w-carrito) center / contain no-repeat; mask: var(--w-carrito) center / contain no-repeat; }
ul.products li.product .w-buy .button.w-add.added::before { content: ""; }
ul.products { --w-carrito: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='20' r='1.4'/%3E%3Ccircle cx='18' cy='20' r='1.4'/%3E%3Cpath d='M2.5 3.5h3l2.4 11.2a1.6 1.6 0 0 0 1.6 1.3h8.3a1.6 1.6 0 0 0 1.6-1.2l1.6-6.8H6.6'/%3E%3C/svg%3E"); }
ul.products li.product .w-buy .button.w-add.loading { opacity: .7; }
ul.products li.product .w-buy .button.w-add.is-added { background: var(--w-ink); }
/* Sin precio: visible pero no comprable (el servidor también lo bloquea). */
.w-buy.is-disabled .w-qty,
.w-buy.is-disabled .w-qty__btn,
ul.products li.product .w-buy .button.w-add:disabled { cursor: not-allowed; }
.w-buy.is-disabled .w-qty { opacity: .5; }
ul.products li.product .w-buy .button.w-add:disabled { background: var(--fritto-bordo); opacity: .5; }
/* Tarjetas medianas: control de cantidad más compacto para que entren cantidad, unidad y Agregar. */
@container card (max-width: 239px) {
	.w-qty__btn { width: 27px; }
	.w-qty .w-qty__input { width: 24px; }
	ul.products li.product .w-buy .button.w-add { padding: 0 6px; font-size: 14.5px; }
}
/* Tarjetas angostas (carrusel en celular): cantidad y botón en dos filas. */
@container card (max-width: 199px) {
	.w-buy { flex-direction: column; gap: 6px; }
	.w-qty { justify-content: space-between; }
	.w-qty__btn { width: 44px; }
	ul.products li.product .w-buy .button.w-add::before { display: none; } /* sin lugar para el ícono */
}

/* Etiquetas comerciales (por etiqueta de producto) y promo de WooCommerce */
.w-tag { position: absolute; top: 8px; left: 8px; z-index: 3; padding: 4px 10px; border-radius: 99px; font: 700 12px/1.1 var(--font-body); }
.w-tag--best { background: var(--fritto-amarillo); color: var(--w-ink); }
.w-tag--new { background: #E3464E; color: #fff; }
/* "Oferta x cantidad": etiqueta de precio amarilla, inclinada, con punta y agujerito (opción C elegida). */
.w-tag--deal { top: 12px; left: 4px; padding: 6px 12px 6px 18px; border-radius: 4px; background: var(--fritto-amarillo); color: var(--fritto-bordo); font: 400 14px/1 var(--font-display); letter-spacing: .01em; transform: rotate(-7deg); transform-origin: left center; box-shadow: 0 3px 8px rgba(74, 6, 16, .22); clip-path: polygon(8px 0, 100% 0, 100% 100%, 8px 100%, 0 50%); }
.w-tag--deal::before { content: ""; position: absolute; top: 50%; left: 9px; width: 5px; height: 5px; margin-top: -2.5px; border-radius: 50%; background: var(--fritto-crema); }
.w-tag--inline { position: relative; top: auto; left: auto; display: inline-block; margin: 4px 0 12px 2px; }
/* Celular: más chica y montada sobre el borde superior de la tarjeta, para tapar lo mínimo de la foto. */
@media (max-width: 759px) {
	ul.products li.product .product-card__media:has(.w-tag--deal) { overflow: visible; } /* que la etiqueta pueda salir por arriba */
	ul.products li.product .product-card__media:has(.w-tag--deal) > img { border-radius: inherit; }
	ul.products li.product .w-tag--deal { top: -7px; left: -3px; padding: 4px 9px 4px 14px; font-size: 11.5px; transform: rotate(-5deg); }
	ul.products li.product .w-tag--deal::before { left: 7px; width: 4px; height: 4px; margin-top: -2px; }
}
ul.products .onsale { top: 8px; right: 8px; left: auto; bottom: auto; }
.product-badge--demo { top: auto; bottom: 8px; left: 8px; padding: 3px 8px; background: rgba(255, 253, 248, .94); color: var(--fritto-bordo); font-weight: 600; font-size: 11.5px; letter-spacing: 0; box-shadow: none; }

/* Tienda / categorías: grilla */
.site-main--shop ul.products { gap: 16px; }
@media (min-width: 1280px) { .site-main--shop ul.products { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (max-width: 599px) { .site-main--shop ul.products { gap: 10px; } }

/* Ficha de producto: placeholder limpio y aviso de "todavía no está a la venta" */
.woocommerce-product-gallery__image--placeholder { padding: 0; }
.woocommerce-product-gallery__image--placeholder::after { content: none; }
.w-soon { display: inline-block; margin: 0 0 var(--space-3); padding: 12px 16px; border-radius: 10px; background: var(--fritto-amarillo-soft); color: var(--w-ink); font-weight: 600; }
.woocommerce-no-products-found .woocommerce-info { background: var(--w-paper); }

/* ---------- Cómo comprar ---------- */
.w-how { padding: 18px 0 56px; scroll-margin-top: calc(var(--header-h) + 12px); }
.w-how__box { position: relative; overflow: hidden; padding: 30px 32px 32px; border-radius: 16px; background: var(--w-paper); box-shadow: var(--w-shadow); isolation: isolate; }
.w-how__deco { position: absolute; top: 0; right: 0; z-index: -1; width: clamp(140px, 16vw, 220px); height: auto; }
.w-how__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin: 22px 0 0; padding: 0; list-style: none; counter-reset: none; }
.w-how__list li { display: flex; align-items: flex-start; gap: 14px; }
.w-how__num { display: grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 50%; background: var(--fritto-bordo); color: var(--fritto-amarillo); font: 400 28px/1 var(--font-display); }
.w-how__step { margin: 4px 0 4px; font: 400 21px/1.15 var(--font-display); color: var(--fritto-bordo); }
.w-how__list p { margin: 0; max-width: 30ch; font-size: 15.5px; line-height: 1.45; color: var(--w-ink); }
.w-how__ship { display: inline-flex; align-items: center; gap: 10px; margin: 26px 0 0; padding: 10px 18px 10px 14px; border-radius: 99px; background: var(--fritto-amarillo-soft); font-weight: 700; font-size: 15px; color: var(--fritto-bordo); }
.w-how__ship .fritto-icon { width: 26px; height: 26px; flex: none; }
@media (max-width: 899px) {
	.w-how { padding: 10px 0 40px; }
	.w-how__box { padding: 24px 18px 22px; }
	.w-how__deco { width: 120px; }
	.w-how__list { grid-template-columns: 1fr; gap: 18px; margin-top: 18px; }
	.w-how__num { width: 44px; height: 44px; font-size: 24px; }
	.w-how__step { font-size: 19px; }
	.w-how__list p { font-size: 15px; }
	.w-how__ship { display: flex; margin-top: 20px; border-radius: 12px; font-size: 14.5px; }
}

/* ---------- Pie ---------- */
.site-footer { background: var(--fritto-bordo); }
.site-footer__brand .fritto-logo { display: inline-block; padding: 10px 16px; border-radius: 16px; background: var(--fritto-crema); margin-bottom: var(--space-3); }
.site-footer__brand .fritto-logo__img { width: 170px; margin: -4px 0 -6px; }

/* ---------- Barra de envío gratis (fritto-core) ---------- */
.w-ship { padding: 14px 16px; border-radius: 12px; background: var(--color-surface); box-shadow: var(--w-shadow); }
.w-ship__msg { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; font-weight: 600; font-size: 15px; line-height: 1.3; color: var(--fritto-bordo); }
.w-ship__msg .fritto-icon { width: 26px; height: 26px; flex: none; color: var(--fritto-bordo); }
.w-ship__msg strong { font-weight: 800; }
.w-ship__track { height: 12px; border-radius: 99px; background: var(--fritto-crema-2); overflow: hidden; }
.w-ship__fill { display: block; height: 100%; width: var(--p, 0%); border-radius: inherit; background: linear-gradient(90deg, var(--fritto-amarillo-dark), var(--fritto-amarillo)); transition: width .8s cubic-bezier(.2, .8, .2, 1); }
.w-ship--done { background: var(--fritto-bordo); }
.w-ship--done .w-ship__msg,
.w-ship--done .w-ship__msg .fritto-icon { color: #fff; }
.w-ship--done .w-ship__msg strong { color: var(--fritto-amarillo); }
.w-ship--done .w-ship__track { background: rgba(255, 255, 255, .2); }
.w-ship--out { background: var(--fritto-amarillo-soft); box-shadow: none; }
.w-ship--out .w-ship__msg { margin: 0; }
.w-ship__note { display: block; font-weight: 500; font-size: 12px; opacity: .8; }
.cart_totals .w-ship,
.fritto-fsb--checkout .w-ship { margin-bottom: var(--space-3); }
.fritto-cartbar .w-ship { margin-bottom: 8px; padding: 10px 12px; box-shadow: 0 6px 18px rgba(74, 6, 16, .25); }
.fritto-cartbar .w-ship__msg { font-size: 13px; margin-bottom: 6px; }
.fritto-cartbar .w-ship__track { height: 8px; }
.fritto-cartbar .fritto-fsb[hidden] { display: none; }

/* Mini carrito flotante (también en escritorio) */
@media (min-width: 960px) {
	.fritto-cartbar { display: block; left: auto; right: 24px; bottom: 24px; width: 380px; }
	.fritto-cartbar[hidden] { display: none; }
}

@media (prefers-reduced-motion: reduce) {
	.w-ship__fill,
	.w-cat,
	.w-btn,
	.fritto-nav .sub-menu { transition: none; }
	.w-cat:hover,
	.w-btn:hover { transform: none; }
}

/* ---------- Unidad de venta (kg / combo) ---------- */
.w-unit { margin-left: 1px; font: 600 .6em/1 var(--font-body); color: var(--color-text-muted); letter-spacing: 0; }
ul.products li.product .price .w-unit { margin-left: -7px; font-size: 14px; } /* compensa el espacio entre precios de la grilla */.summary .price .w-unit { margin-left: -.35em; font-size: .55em; }
.w-qty__unit { padding-right: 2px; font: 600 13px/1 var(--font-body); color: var(--color-text-muted); }
.w-qty-unit { display: inline-flex; align-items: center; margin-left: 8px; font-weight: 600; font-size: 15px; color: var(--color-text-muted); }
.woocommerce-cart-form .product-quantity { white-space: nowrap; }
form.cart .w-qty-unit { margin: 0 8px 0 -2px; }
.w-unit-note { margin: -4px 0 var(--space-3); font-size: 14.5px; color: var(--color-text-muted); }

/* ---------- Tienda: familias y subcategorías ---------- */
.fritto-chips a { min-height: 42px; border-color: rgba(96, 8, 21, .35); color: var(--fritto-bordo); background: var(--w-paper); }
.fritto-chips a:hover { border-color: var(--fritto-bordo); background: var(--w-paper); }
.fritto-chips a[aria-current="page"],
.fritto-chips a.is-active { border-color: var(--fritto-bordo); background: var(--fritto-bordo); color: #fff; }
.w-subcats { margin: 14px 0 6px; }
.w-subcats ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.w-subcat { display: flex; align-items: center; gap: 10px; height: 100%; min-height: 64px; padding: 8px 14px 8px 8px; border: 2px solid transparent; border-radius: 12px; background: var(--w-paper); box-shadow: var(--w-shadow); color: var(--fritto-bordo); text-decoration: none; transition: box-shadow .15s ease; }
.w-subcat:hover { box-shadow: var(--w-shadow-hover); }
.w-subcat[aria-current="page"] { border-color: var(--fritto-bordo); background: var(--fritto-amarillo-soft); }
.w-subcat__icon { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--w-icon-bg); }
.w-subcat__icon .w-caticon { width: 34px; height: 34px; }
.w-subcat__icon .fritto-icon { width: 24px; height: 24px; }
.w-subcat__name { font: 400 16px/1.1 var(--font-display); }
@media (max-width: 759px) {
	.w-subcats ul { display: flex; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 10px; scroll-padding-inline: var(--gutter); }
	.w-subcats ul::-webkit-scrollbar { display: none; }
	.w-subcats li { flex: 0 0 auto; scroll-snap-align: start; }
	.w-subcat { min-height: 56px; padding-right: 12px; }
	.w-subcat__icon { width: 40px; height: 40px; }
	.w-subcat__icon .w-caticon { width: 28px; height: 28px; }
	.w-subcat__name { font-size: 15px; white-space: nowrap; }
}

/* Estado vacío de una categoría (por ejemplo, Combos sin productos todavía) */
.w-empty { clear: both; display: flex; flex-direction: column; align-items: center; gap: 4px; margin: 12px 0 40px; padding: 36px 20px; border-radius: 16px; background: var(--w-paper); box-shadow: var(--w-shadow); text-align: center; }
.w-empty p { margin: 0; color: var(--w-ink); }
.w-empty__title { font: 400 24px/1.15 var(--font-display); color: var(--fritto-bordo) !important; }
.w-empty .w-btn { margin-top: 18px; }

/* Ancla "Cómo comprar": el encabezado fijo no tapa el título (también con la barra de administración). */
.w-how { scroll-margin-top: calc(var(--header-h) + 16px); }
.admin-bar .w-how { scroll-margin-top: calc(var(--header-h) + 48px); }

/* ---------- Ficha de producto (sin valoraciones): imagen + resumen, sin columnas vacías ---------- */
.single-product div.product { gap: 24px; }
.single-product .woocommerce-product-gallery__image img,
.single-product .woocommerce-product-gallery__image--placeholder img { aspect-ratio: 4 / 3; }
@media (min-width: 900px) {
	.single-product .woocommerce-product-gallery__image img,
	.single-product .woocommerce-product-gallery__image--placeholder img { aspect-ratio: 1 / 1; }
}
.single-product .woocommerce-product-gallery__image,
.single-product .woocommerce-product-gallery__image--placeholder { border-radius: 16px; }
.single-product .summary { display: flex; flex-direction: column; align-items: flex-start; }
.single-product .summary > * { max-width: 100%; }
.single-product .summary .product_title { margin: 0 0 6px; font: 400 clamp(30px, 1.6vw + 18px, 42px)/1.05 var(--font-display); color: var(--fritto-bordo); }
.single-product .summary > .price { margin: 0 0 4px; font: 400 32px/1.1 var(--font-display); color: var(--fritto-bordo); }
.single-product form.cart { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; width: 100%; margin: 6px 0 18px; }
.single-product form.cart .single_add_to_cart_button { flex: 1 1 220px; min-height: 52px; border-radius: 10px; background: var(--fritto-bordo); color: #fff; }
.single-product form.cart .single_add_to_cart_button:hover { background: var(--w-ink); }
.single-product .fritto-benefits-list { width: 100%; margin: 0 0 18px; }
.w-description { width: 100%; margin: 0 0 18px; padding-top: 16px; border-top: 1px solid var(--w-line); }
.w-description__title { margin: 0 0 8px; font: 400 22px/1.2 var(--font-display); color: var(--fritto-bordo); }
.w-description p { margin: 0 0 .7em; max-width: 65ch; line-height: 1.55; }
.single-product .product_meta { width: 100%; padding-top: 14px; border-top: 1px solid var(--w-line); font-size: 15px; }
.single-product .product_meta a { color: var(--fritto-bordo); }
@media (min-width: 900px) {
	.single-product div.product { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 40px; align-items: start; }
	.single-product .summary { position: static; padding-top: 4px; }
}
@media (max-width: 899px) {
	.single-product .summary .product_title { font-size: 30px; }
	.single-product .summary > .price { font-size: 28px; }
}
.single-product .related { margin-top: 28px; }

/* ---------- Pie minimalista ---------- */
.site-footer--min { padding: 36px 0 30px; background: var(--fritto-bordo); }
.site-footer__min { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.site-footer__min .fritto-logo { display: inline-block; margin: 0; padding: 10px 18px; border-radius: 16px; background: var(--fritto-crema); }
.site-footer__min .fritto-logo__img { width: 160px; margin: -4px 0 -6px; }
.site-footer__legal ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin: 0; padding: 0; list-style: none; }
.site-footer__legal a { color: rgba(255, 255, 255, .85); font-size: 13.5px; text-decoration: underline; text-underline-offset: 3px; }
.site-footer__legal a:hover { color: #fff; }
.site-footer__copy { margin: 0; color: rgba(255, 255, 255, .78); font-size: 13px; }
.site-footer__min .admin-hint { max-width: 60ch; margin: 0; color: rgba(255, 255, 255, .7); font-size: 12px; }
body:has(.fritto-cartbar:not([hidden])) .site-footer--min { padding-bottom: calc(190px + env(safe-area-inset-bottom)); } /* que la barra flotante no tape el pie en celular */
@media (min-width: 960px) { body:has(.fritto-cartbar:not([hidden])) .site-footer--min { padding-bottom: 30px; } }

/* ---------- Ajustes 2026-10-12: beneficios (solo título), 4 pasos y enlaces del pie ---------- */
.w-benefits li { align-items: center; }
.w-benefits strong { font-size: 15px; }
@media (max-width: 1099px) {
	.w-benefits li { align-items: center; }
	.w-benefits strong { font-size: 14px; }
}
.w-how__list { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.w-how__list p { max-width: 28ch; }
@media (max-width: 1199px) { .w-how__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 28px; } }
@media (max-width: 899px) { .w-how__list { grid-template-columns: 1fr; gap: 18px; } }

.site-footer__links ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 0; margin: 2px 0 0; padding: 0; list-style: none; }
.site-footer__links li { display: flex; align-items: center; }
.site-footer__links li + li::before { content: "·"; margin: 0 12px; color: rgba(255, 255, 255, .5); }
.site-footer__links a { display: inline-flex; align-items: center; min-height: 32px; color: #fff; font-weight: 600; font-size: 14.5px; text-decoration: none; }
.site-footer__links a:hover { text-decoration: underline; text-decoration-color: var(--fritto-amarillo); text-underline-offset: 4px; }
.site-footer__links a:focus-visible { box-shadow: 0 0 0 3px var(--fritto-bordo), 0 0 0 6px var(--fritto-amarillo); border-radius: 4px; }
@media (max-width: 479px) {
	.site-footer__links ul { max-width: 300px; }
}
/* Con 4 pasos, la decoración amarilla no se acerca al último título. */
.w-how__deco { width: clamp(110px, 10vw, 170px); }
@media (min-width: 1200px) { .w-how__list { padding-right: clamp(40px, 6vw, 110px); } }

/* ---------- Checkout: avisos, separación de secciones y unidad en el resumen ---------- */
/* Los errores van en su propia fila arriba (antes caían al final de la grilla, debajo del resumen fijo). */
@media (min-width: 900px) {
	/* Avisos arriba de los datos, en la columna izquierda; "Tu pedido" sigue arriba a la derecha. */
	form.checkout:has(> .woocommerce-NoticeGroup) { grid-template-areas: "notices heading" "notices review" "details review"; grid-template-rows: auto auto 1fr; }
	form.checkout > .woocommerce-NoticeGroup { grid-area: notices; }
}
form.checkout > .woocommerce-NoticeGroup { min-width: 0; }
form.checkout > .woocommerce-NoticeGroup .woocommerce-error { margin: 0; }
.woocommerce-error,
.woocommerce-message,
.woocommerce-info { min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
.woocommerce-error li { max-width: 100%; line-height: 1.4; }
.woocommerce-error li + li { margin-top: 6px; }
/* "¿Enviar a una dirección diferente?" e "Información adicional": cada una en su tarjeta, con aire entre ambas. */
#customer_details .col-2 { display: grid; gap: var(--space-4); min-width: 0; }
#customer_details .col-1,
#customer_details .col-2 { min-width: 0; }
.woocommerce-shipping-fields #ship-to-different-address { margin: 0; font-size: 18px; line-height: 1.3; }
.woocommerce-shipping-fields #ship-to-different-address label { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.woocommerce-shipping-fields .shipping_address { margin-top: var(--space-3); }
.woocommerce-additional-fields h3 { margin-top: 0; }
.woocommerce-additional-fields textarea { min-height: 96px; }
/* Resumen: "Pata y muslo crocantes × 1 kg" sin que la unidad quede sola en otro renglón. */
.woocommerce-checkout-review-order-table .product-quantity { white-space: nowrap; }
.woocommerce-checkout-review-order-table td.product-name { overflow-wrap: anywhere; }
.w-noship { margin: 0; color: var(--color-error); font-weight: 600; font-size: 14px; line-height: 1.4; text-align: left; }
#shipping_method { margin: 0; padding: 0; list-style: none; }
#shipping_method li + li { margin-top: 6px; }

/* ---------- Pedido recibido: separación productos / totales ---------- */
table.shop_table:has(> tfoot) > tbody > tr:last-child > * { border-bottom: 1px solid var(--color-border); }

/* ---------- WhatsApp ---------- */
.w-wa-icon { width: 24px; height: 24px; flex: none; }
/* Botón flotante: abajo a la derecha; sube sobre la barra del carrito cuando está visible (ver main.js). */
.w-wa-float { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: calc(var(--w-wa-offset, 0px) + max(16px, env(safe-area-inset-bottom))); z-index: 45; display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #1FA855; color: #fff; box-shadow: 0 6px 18px rgba(74, 6, 16, .28); transition: bottom .2s ease, transform .15s ease; }
.w-wa-float:hover { color: #fff; background: #198F48; transform: translateY(-2px); }
.w-wa-float:focus-visible { box-shadow: 0 0 0 3px var(--fritto-crema), 0 0 0 6px var(--fritto-bordo); }
.w-wa-float .w-wa-icon { width: 30px; height: 30px; }
.w-wa-float__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (min-width: 960px) { .w-wa-float { right: 24px; bottom: calc(var(--w-wa-offset, 0px) + 24px); } }
@media (prefers-reduced-motion: reduce) { .w-wa-float { transition: none; } }

/* Bloque "¡Coordinemos tu entrega!" (después del resumen del pedido). */
.w-wa-order { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin: var(--space-4) 0 0; padding: 22px 24px; border-radius: var(--radius-lg); background: var(--w-paper); box-shadow: var(--w-shadow); border-left: 6px solid #1FA855; }
.w-wa-order__text { flex: 1 1 280px; min-width: 0; }
.w-wa-order__title { margin: 0 0 4px; font: 400 24px/1.15 var(--font-display); color: var(--fritto-bordo); }
.w-wa-order__text p { margin: 0; color: var(--w-ink); line-height: 1.45; }
.w-wa-order__btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 22px; border-radius: 99px; border: 2px solid #1FA855; background: #fff; color: #146C38; font: 700 16px/1.2 var(--font-body); text-decoration: none; text-align: center; }
.w-wa-order__btn:hover { background: #1FA855; color: #fff; }
.w-wa-order__btn:focus-visible { box-shadow: 0 0 0 3px var(--w-paper), 0 0 0 6px var(--fritto-bordo); }
.w-wa-order--pending { border-left-color: var(--fritto-amarillo); }
.w-wa-order__poll { margin-top: 8px !important; font-size: 14px; color: var(--w-muted, #6b5b55) !important; }
.w-wa-order__poll a { color: var(--fritto-bordo); font-weight: 700; }
.w-pay-spinner { display: inline-block; width: .7em; height: .7em; margin-right: .4em; vertical-align: .05em; border: 3px solid var(--fritto-amarillo); border-right-color: transparent; border-radius: 50%; animation: w-pay-spin .9s linear infinite; }
@keyframes w-pay-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .w-pay-spinner { animation-duration: 3s; } }
@media (max-width: 599px) {
	.w-wa-order { padding: 20px 18px; }
	.w-wa-order__title { font-size: 21px; }
	.w-wa-order__btn { width: 100%; }
}
.w-wa-copy { flex: 1 1 100%; display: grid; gap: 10px; }
.w-wa-copy__hint { margin: 0; font-size: 14.5px; color: var(--w-ink); }
.w-wa-copy__text { width: 100%; min-height: 160px; padding: 12px; border: 1px solid var(--w-line); border-radius: 10px; background: #fff; font: 14px/1.45 var(--font-body); color: var(--w-ink); resize: vertical; }
.w-wa-copy__btn { justify-self: start; min-height: 44px; padding: 0 18px; border: 2px solid var(--fritto-bordo); border-radius: 99px; background: none; color: var(--fritto-bordo); font: 700 15px/1 var(--font-body); cursor: pointer; }
.w-wa-copy__btn:hover { background: var(--fritto-bordo); color: #fff; }

/* Con el botón flotante de WhatsApp, el final de la página (pie) queda por encima del botón al terminar de desplazarse. */
body:has(.w-wa-float):not(:has(.fritto-cartbar:not([hidden]))) .site-footer--min { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
@media (min-width: 960px) { body:has(.w-wa-float):not(:has(.fritto-cartbar:not([hidden]))) .site-footer--min { padding-bottom: 96px; } }

/* ---------- Presentaciones 1 kg | 2 kg | 3 kg ---------- */
.w-pres { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 6px; } /* Una columna por presentación (hoy 1 kg y 2 kg). */
.w-pres__opt { min-height: 36px; padding: 0 4px; border: 1.5px solid rgba(96, 8, 21, .28); border-radius: 99px; background: #fff; color: var(--fritto-bordo); font: 700 13.5px/1 var(--font-body); cursor: pointer; touch-action: manipulation; white-space: nowrap; }
.w-pres__opt:hover:not(:disabled) { border-color: var(--fritto-bordo); }
.w-pres__opt.is-active { border-color: var(--fritto-bordo); background: var(--fritto-bordo); color: #fff; }
.w-pres__opt:disabled { border-style: dashed; color: rgba(74, 6, 16, .45); background: transparent; cursor: not-allowed; }
.w-pres__opt:focus-visible { box-shadow: 0 0 0 2px var(--w-paper), 0 0 0 4px var(--fritto-amarillo-dark); }
ul.products li.product .w-buy--pres { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.w-buy__row { display: flex; align-items: stretch; gap: 8px; }
ul.products li.product .w-buy--pres .w-buy__row { margin-top: auto; padding-top: 6px; }
ul.products li.product .w-pres__price { display: flex; justify-content: center; align-items: baseline; margin: 0; font: 400 32px/1.05 var(--font-display); color: var(--fritto-bordo); }
ul.products li.product .w-pres__price--soon { align-items: center; min-height: 34px; text-align: center; }
/* Tarjetas: presentaciones en un solo control segmentado, compacto. */
ul.products .w-pres { box-sizing: border-box; height: 35px; gap: 0; padding: 2px; border: 1.5px solid rgba(96, 8, 21, .25); border-radius: 99px; background: #fff; }
ul.products .w-pres__opt { min-height: 0; height: 100%; border: 0; font-size: 13px; }
ul.products .w-pres__opt.is-active,
ul.products .w-pres__opt:disabled { border: 0; }
@media (max-width: 599px) {
	ul.products li.product .woocommerce-loop-product__title { font-size: 14px; }
	ul.products .w-pres { height: 39px; }
	ul.products li.product .price,
	ul.products li.product .w-pres__price { font-size: 27px; }
}
.w-pres__price--soon { font: 600 14px/1.3 var(--font-body) !important; color: var(--color-text-muted) !important; }
.w-buy--pres.is-disabled .w-qty { opacity: .5; }
@container card (max-width: 199px) {
	.w-buy__row { flex-direction: column; gap: 6px; }
	.w-pres__opt { font-size: 12.5px; }
}
/* Ficha: botones en lugar del desplegable (el desplegable de WooCommerce sigue funcionando por detrás). */
.w-pres--single { max-width: 360px; margin: 4px 0 14px; }
/* Ficha con presentaciones: sticker, título, precio de la presentación elegida, botones de presentación,
   cantidad + Agregar en una fila y, al final, la ayuda. Se oculta el "Desde $X" para no repetir el precio. */
.single-product .summary:has(.w-pres--single) { display: flex; flex-direction: column; align-items: flex-start; }
.single-product .summary:has(.w-pres--single) > * { order: 5; width: 100%; }
.single-product .summary:has(.w-pres--single) > .w-tag { order: 1; width: auto; }
.single-product .summary:has(.w-pres--single) > .product_title { order: 2; }
.single-product .summary:has(.w-pres--single) > p.price { display: none; }
.single-product .summary:has(.w-pres--single) > form.variations_form { order: 3; display: flex; flex-direction: column; align-items: stretch; gap: 14px; max-width: 460px; margin: 4px 0 10px; }
.single-product .summary:has(.w-pres--single) > .w-unit-note { order: 4; max-width: 460px; margin: 0 0 18px; }
.single-product form.variations_form:has(.w-pres--single) .single_variation_wrap,
.single-product form.variations_form:has(.w-pres--single) .woocommerce-variation.single_variation { display: contents !important; }
.single-product form.variations_form:has(.w-pres--single) .woocommerce-variation-price { order: 1; }
.single-product form.variations_form:has(.w-pres--single) .woocommerce-variation-price .price { margin: 0; font-size: 34px; }
.single-product form.variations_form .w-pres--single { order: 2; max-width: none; margin: 0; }
.single-product form.variations_form:has(.w-pres--single) .woocommerce-variation-add-to-cart { order: 3; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.single-product form.variations_form:has(.w-pres--single) .woocommerce-variation-description,
.single-product form.variations_form:has(.w-pres--single) .woocommerce-variation-availability { order: 4; }
.w-pres--single .w-pres__opt { min-height: 44px; font-size: 15px; }
table.variations.w-pres-native { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.single-product .single_variation_wrap .woocommerce-variation-price .price { font: 400 28px/1.1 var(--font-display); color: var(--fritto-bordo); }
.single-product .reset_variations { display: none !important; }

/* ---------- Detalles de marca fuera del hero (criterio editorial) ----------
   Pocos detalles y con función: trazos cortos asociados a títulos, formas orgánicas suaves dentro de algunos
   fondos y alternancia sutil crema / amarillo suave / bordó. Nada en los laterales ni detrás de productos,
   precios o botones. Formas SVG reutilizables como máscaras (el color lo pone cada regla). */
:root {
	--trazo-pincel: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 420 90'%3E%3Cpath d='M420 18C300 26 170 44 46 66c-12 2-14 14-2 14 126-18 256-32 376-36z'/%3E%3Cellipse cx='24' cy='70' rx='7' ry='5'/%3E%3Ccircle cx='8' cy='58' r='3.5'/%3E%3C/svg%3E");
	--trazo-gotas: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 60'%3E%3Ccircle cx='18' cy='40' r='6'/%3E%3Ccircle cx='40' cy='24' r='3.5'/%3E%3Ccircle cx='62' cy='44' r='2.5'/%3E%3Cpath d='M80 30c12-8 24-12 36-12' fill='none' stroke='black' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E");
	--trazo-onda: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 30' fill='none' stroke='black' stroke-width='6' stroke-linecap='round'%3E%3Cpath d='M6 18c18-12 36-12 54 0s36 12 54 0'/%3E%3Ccircle cx='138' cy='14' r='4' fill='black' stroke='none'/%3E%3Ccircle cx='152' cy='21' r='2.5' fill='black' stroke='none'/%3E%3C/svg%3E");
}
.site-main--home .w-combos .w-section__title::after,
.site-main--home .w-cats .w-section__title::after,
.related.products > h2::after,
.upsells.products > h2::after { pointer-events: none; background: var(--fritto-amarillo); -webkit-mask: var(--w-trazo) center / contain no-repeat; mask: var(--w-trazo) center / contain no-repeat; }

/* Portada: detalle al lado de los títulos de combos y categorías (se revisa al extender el criterio). */
.site-main--home .w-combos .w-section__title::after { --w-trazo: var(--trazo-pincel); content: ""; display: inline-block; width: 2.3em; max-width: 104px; aspect-ratio: 420 / 90; margin-left: .35em; vertical-align: middle; }
.site-main--home .w-cats .w-section__title::after { --w-trazo: var(--trazo-gotas); content: ""; display: inline-block; width: 1.5em; max-width: 64px; aspect-ratio: 2; margin-left: .3em; vertical-align: middle; }

/* Ficha de producto: onda al lado del título de relacionados / sugeridos (se revisa al extender el criterio). */
@media (min-width: 600px) {
	.related.products > h2::after,
	.upsells.products > h2::after { --w-trazo: var(--trazo-onda); content: ""; display: inline-block; width: 1.9em; max-width: 120px; aspect-ratio: 160 / 30; margin-left: .45em; vertical-align: middle; }
}

/* Fondo lateral con formas orgánicas (fritto_side_shapes(), en todas las páginas WAWA).
   Composiciones en capas (amarillo suave, amarillo WAWA y un acento bordó) que entran desde los bordes,
   dentro de la franja libre a los lados del contenido: no se mueven ni tapan tarjetas, títulos, filtros ni botones.
   En pantallas angostas no hay margen suficiente y se ocultan. */
.w-lat { display: none; }
@media (min-width: 1024px) {
	.site-main:has(> .w-lat) { position: relative; isolation: isolate; }
	.w-lat { --w-edge: calc((100% - min(100%, var(--container))) / 2 + var(--gutter)); display: block; position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
	.w-lat__c { position: absolute; display: block; width: min(150px, calc(var(--w-edge) - 6px)); height: auto; }
	.w-lat__c--1 { left: 0; top: 18px; }
	.w-lat__c--2 { right: 0; top: 36%; transform: scaleX(-1); }
	.w-lat__c--3 { left: 0; top: 68%; transform: scaleY(-1); }
	/* Portada: debajo del hero y los beneficios (que tienen fondo propio y las taparían). */
	.w-lat--home .w-lat__c--1 { top: 30%; }
	.w-lat--home .w-lat__c--2 { top: 50%; }
	.w-lat--home .w-lat__c--3 { top: 74%; }
	/* Portada entre 1024 y 1099 px: los carruseles llegan al borde y taparían las formas. */
	.w-lat--home { display: none; }
	@media (min-width: 1100px) { .w-lat--home { display: block; } }
	/* Carrito, checkout y Mi cuenta: una composición, más suave. */
	.w-lat--compra .w-lat__c--1 { top: 12px; opacity: .7; }
}

/* ---------- Pie WAWA ----------
   Borde superior orgánico, marca con la frase del hero (Shrikhand) y su subrayado, columnas y franja legal. */
.site-footer--wawa { position: relative; padding: clamp(46px, 4vw + 26px, 72px) 0 0; color: rgba(251, 245, 240, .86); }
.site-footer__wave { position: absolute; top: -1px; left: 0; display: block; width: 100%; height: clamp(18px, 3vw, 44px); fill: var(--fritto-crema); pointer-events: none; }
.site-footer__wrap { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 24px; padding-bottom: 34px; }
.site-footer__brand, .site-footer__col--facts { grid-column: 1 / -1; }
.site-footer__brand .fritto-logo { display: inline-block; margin: 0; padding: 10px 18px; border-radius: 16px; background: var(--fritto-crema); }
.site-footer__brand .fritto-logo__img { width: 150px; margin: -4px 0 -6px; }
.site-footer__slogan { margin: 18px 0 0; font: 400 clamp(20px, .6vw + 16px, 25px)/1.15 "Shrikhand", var(--font-display); color: var(--fritto-amarillo); white-space: nowrap; }
.site-footer__slogan span { position: relative; display: inline-block; }
.site-footer__swoosh { position: absolute; left: 0; top: calc(100% + .08em); width: 100%; height: auto; overflow: visible; }
.site-footer__swoosh path { fill: none; stroke: var(--fritto-amarillo); stroke-width: 6; stroke-linecap: round; }
.site-footer__about { max-width: 36ch; margin: 24px 0 0; font-size: 15px; line-height: 1.5; color: rgba(251, 245, 240, .82); }
.site-footer--wawa .site-footer__wa { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; margin-top: 18px; padding: 0 20px; border-radius: 99px; background: #1FA855; color: #fff; font-weight: 700; font-size: 15px; transition: background-color .15s ease; }
.site-footer--wawa .site-footer__wa:hover { background: #178E47; color: #fff; }
.site-footer__wa .w-wa-icon { width: 22px; height: 22px; }
.site-footer--wawa .site-footer__title { margin: 2px 0 14px; padding: 0; border: 0; font: 400 20px/1.1 var(--font-display); letter-spacing: 0; text-transform: none; color: var(--fritto-amarillo); }
.site-footer__col ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.site-footer__col a { color: var(--fritto-crema); font-size: 15px; text-decoration: none; }
.site-footer__col a:hover { color: var(--fritto-amarillo); text-decoration: underline; text-underline-offset: 3px; }
.site-footer--wawa .site-footer__facts li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; line-height: 1.35; }
.site-footer--wawa .site-footer__facts .fritto-icon { flex: none; width: 22px; height: 22px; color: var(--fritto-amarillo); }
.site-footer__base { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 24px; padding-block: 18px 22px; border-top: 1px solid rgba(251, 245, 240, .16); text-align: center; }
/* El botón flotante de WhatsApp queda sobre la esquina inferior derecha: en vez de una franja vacía al final,
   la franja legal le deja lugar a la derecha. */
body:has(.w-wa-float):not(:has(.fritto-cartbar:not([hidden]))) .site-footer--min.site-footer--wawa { padding-bottom: env(safe-area-inset-bottom); }
body:has(.w-wa-float) .site-footer--wawa .site-footer__base { padding-right: 84px; justify-content: flex-start; text-align: left; }
.site-footer__base .admin-hint { max-width: 60ch; margin: 0; color: rgba(255, 255, 255, .7); font-size: 12px; }
@media (min-width: 900px) {
	.site-footer__wrap { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.35fr); gap: 40px; padding-bottom: 44px; }
	.site-footer__brand, .site-footer__col--facts { grid-column: auto; }
	.site-footer__base { justify-content: space-between; text-align: left; }
}

/* Carrito en celular: la cantidad (− n + y "kg", que no se parte) y el subtotal no entraban junto a la columna
   de la foto y la tabla crecía 19 px más que la pantalla (recortaba el subtotal). La cantidad pasa a ocupar el
   ancho de la foto y del nombre, y la tabla se limita al ancho disponible. Mismo diseño de tarjeta. */
@media (max-width: 767px) {
	.woocommerce-cart-form table.shop_table_responsive,
	.woocommerce-cart-form table.shop_table_responsive tbody { display: block; width: 100%; }
	.woocommerce-cart-form table.shop_table_responsive tbody tr.cart_item {
		grid-template-columns: 80px minmax(0, 1fr) auto;
		grid-template-areas:
			"thumb name remove"
			"thumb price price"
			"qty qty subtotal";
	}
	.woocommerce-cart-form tr.cart_item .product-subtotal { justify-self: end; white-space: nowrap; }
}
@media (max-width: 399px) {
	.woocommerce-cart-form .fritto-qty__btn { width: 36px; }
	.woocommerce-cart-form .quantity .qty { width: 44px; }
}
