[hidden] { display: none !important; }

/* Lulu indumentaria — base de componentes del motor (carrito, vista rápida, ficha, catálogo, checkout). */
:root {
  --color-bg: #FAFAFA;
  --color-bg-alt: #EFEEE9;
  --color-surface: #FFFFFF;
  --peach: #F7F2C6;
  --cyan-wash: #EFEEE9;
  --peach-wash: #FBF9E8;
  --color-text: #111111;
  --color-text-muted: #5C5B56;
  --color-line: rgba(17, 17, 17, .12);
  --color-primary: #0B0B0B;
  --color-primary-deep: #000000;
  --color-primary-text: #111111;
  --color-secondary: #F2E68A;
  --color-secondary-text: #5E5520;
  --color-sol-soft: #F7F2C6;
  --color-cta: #0B0B0B;
  --color-cta-text: #FAFAFA;
  --color-error: #B4232F;
  --font-display: "Cabinet Grotesk", "Arial Narrow", Arial, sans-serif;
  --font-body: "Switzer", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.32, 0.72, 0, 1);
  --radius: 2px;
  --gutter: clamp(16px, 3.4vw, 40px);
  --container: 1240px;
  --container-ancho: 1400px;
  --section-pad-y: clamp(2.5rem, 5vw, 4rem);
  --fs-h2: clamp(1.8rem, 3vw, 2.6rem);
  --fs-h3: clamp(1.2rem, 2vw, 1.5rem);
  --fs-body: clamp(1rem, 1.05vw, 1.07rem);
  --fs-price: clamp(1rem, 1.2vw, 1.1rem);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, .2);
  --shadow-md: 0 14px 34px rgba(0, 0, 0, .12);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; max-width: 100vw; scroll-padding-top: 96px; }
body {
  margin: 0; min-height: 100vh; overflow-x: clip; max-width: 100vw;
  background: var(--color-bg); color: var(--color-text);
  font: 400 var(--fs-body)/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p, ul, ol, figure, dl, dd, fieldset, legend { margin: 0; }
fieldset { border: 0; padding: 0; min-width: 0; }
legend { padding: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--color-primary); color: #fff; }
:focus-visible { outline: 3px solid var(--color-primary-text); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic { width: 20px; height: 20px; flex: none; }
em { font-style: normal; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; padding: .7rem 1rem; border-radius: 10px; background: var(--color-text); color: #fff; font-weight: 800; text-decoration: none; transition: top .2s var(--ease); }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.container--ancho { max-width: calc(var(--container-ancho) + 2 * var(--gutter)); }
.sec { position: relative; padding-block: var(--section-pad-y); }

h1, h2, h3, .h2 { font-family: var(--font-display); font-weight: 500; letter-spacing: -.02em; text-wrap: balance; }
h3 { font-weight: 600; }
h1 strong, h2 strong { font-weight: inherit; font-style: italic; color: var(--color-primary); }
h1 em, h2 em, h3 em { color: var(--color-primary-text); }
.sec-head { display: grid; gap: .55rem; margin-bottom: clamp(1.5rem, 3vw, 2.25rem); max-width: 720px; }
.sec-head h2, .sec-head h1 { font-size: var(--fs-h2); line-height: 1.08; }
.sec-bajada { color: var(--color-text-muted); max-width: 60ch; }

.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .75rem 1.45rem; border-radius: 999px; border: 1.5px solid transparent;
  font: 800 .97rem/1.1 var(--font-body); text-decoration: none; text-align: center; cursor: pointer;
  transition: background-color .28s var(--ease), border-color .28s var(--ease), color .28s var(--ease), transform .15s var(--ease);
}
.btn .ic { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn:hover .ic { transform: translateX(2px); }
.btn:active { transform: scale(.97); }
.btn--cta { background: var(--color-cta); color: var(--color-cta-text); }
.btn--cta:hover { background: var(--color-primary-deep); }
.btn--line { background: transparent; border-color: var(--color-text); color: var(--color-text); }
.btn--line:hover { background: var(--color-text); color: #fff; }
.btn--sm { min-height: 40px; padding: .5rem 1rem; font-size: .88rem; }
.btn--block { width: 100%; }
.btn[disabled], .btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.btn--cta[disabled]:hover { background: var(--color-cta); }
.btn--line[disabled]:hover { background: transparent; color: var(--color-text); }
.btn.btn--agotado[disabled], .btn.btn--agotado[disabled]:hover, .btn.prod-add--agotado[disabled], .btn.prod-add--agotado[disabled]:hover { background: #E7E7E3; border-color: #E7E7E3; color: #5A5F66; opacity: 1; cursor: not-allowed; transform: none; }
.btn--agotado .ic { display: none; }
.btn.sumado { animation: sumado .9s var(--ease); }
@keyframes sumado { 0% { box-shadow: 0 0 0 0 rgba(37, 99, 166, .45); } 100% { box-shadow: 0 0 0 14px rgba(37, 99, 166, 0); } }
.link { font-weight: 800; color: var(--color-primary-text); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Barra superior: avisos del panel + accesos rápidos ---------- */
.aviso { position: relative; z-index: 16; background: var(--peach); font-size: .82rem; font-weight: 700; }
.aviso__in { display: flex; align-items: center; justify-content: space-between; gap: .5rem 1.25rem; min-height: 40px; }
.aviso a { text-decoration: none; }
.aviso__msgs { position: relative; flex: 1 1 auto; min-width: 0; overflow: hidden; }
.topbar-track { display: inline-flex; align-items: center; white-space: nowrap; }
.topbar-sep { margin: 0 .8rem; opacity: .55; }
.topbar-track.loop { animation: topbar-slide linear infinite; }
.aviso__msgs:hover .topbar-track.loop { animation-play-state: paused; }
@keyframes topbar-slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.aviso__rapidos { display: flex; align-items: center; gap: .15rem; flex: none; }
.aviso__rapidos a { display: inline-flex; align-items: center; justify-content: center; gap: .35rem; min-height: 40px; min-width: 44px; padding: 0 .5rem; border-radius: 8px; transition: background-color .25s var(--ease); }
.aviso__rapidos a:hover { background: rgba(255, 255, 255, .5); }
.aviso__rapidos .ic { width: 18px; height: 18px; }

/* ---------- Encabezado de tienda ---------- */
.site-header { position: relative; z-index: 15; background: var(--color-bg); border-bottom: 1px solid var(--color-line); overflow: visible; }
.brand { position: relative; z-index: 100; display: inline-flex; flex-direction: column; align-items: flex-start; text-decoration: none; line-height: 1; overflow: visible; }
.brand__logo { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
.brand__logo:not([hidden]) ~ .brand__n, .brand__logo:not([hidden]) ~ .brand__s, .brand__logo:not([hidden]) ~ .brand__duo { display: none; }
.busca {
  display: flex; align-items: center; width: 100%; min-width: 0; border: 1.5px solid var(--color-text); border-radius: 999px;
  background: var(--color-surface); padding: 4px 4px 4px 1.25rem; transition: box-shadow .25s var(--ease);
}
.busca:focus-within { box-shadow: 0 0 0 4px rgba(242, 230, 138, .6); }
.busca input { flex: 1 1 auto; width: 0; min-width: 0; height: 44px; border: 0; background: transparent; outline: none; font-size: .98rem; }
.busca input::placeholder { color: #80858C; }
.busca input::-webkit-search-cancel-button { cursor: pointer; }
.busca__btn { display: inline-flex; align-items: center; gap: .4rem; height: 44px; padding: 0 1.15rem; border-radius: 999px; background: var(--color-cta); color: var(--color-cta-text); font-weight: 800; font-size: .92rem; flex: none; transition: background-color .25s var(--ease); }
.busca__btn:hover { background: var(--color-primary-deep); }
.hdr-cart { position: relative; display: inline-flex; align-items: center; gap: .5rem; min-height: 48px; padding: 0 1.1rem; border-radius: 999px; border: 1.5px solid var(--color-line); background: var(--color-surface); font-weight: 800; font-size: .92rem; transition: border-color .25s var(--ease); }
.hdr-cart:hover { border-color: var(--color-text); }
.hdr-cart .ic { width: 22px; height: 22px; }
.icon-badge { position: absolute; top: -5px; right: -5px; min-width: 21px; height: 21px; padding: 0 5px; border-radius: 11px; display: grid; place-items: center; font: 800 .72rem/1 var(--font-body); background: var(--color-secondary); color: var(--color-text); }
.icon-badge.bump, .float-badge.bump { animation: badge-bump .4s cubic-bezier(0.23, 1, 0.32, 1); }
@keyframes badge-bump { 0%, 100% { transform: scale(1); } 45% { transform: scale(1.3); } }
.icon-btn { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; transition: background-color .25s var(--ease); }
.icon-btn:hover { background: var(--color-bg-alt); }
.icon-btn .ic { width: 22px; height: 22px; }
.menu-toggle { display: none; }
.nav-close { display: none; }
.main-nav a { position: relative; flex: none; padding: .85rem 0; font-weight: 800; font-size: .92rem; text-decoration: none; white-space: nowrap; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: .5rem; height: 2px; background: repeating-linear-gradient(90deg, var(--color-primary) 0 6px, transparent 6px 10px); transform: scaleX(0); transform-origin: 0 50%; transition: transform .35s var(--ease); }
.main-nav a:hover::after { transform: scaleX(1); }
.nav-oferta { color: var(--color-primary-text); }
.nav-oferta::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: .45rem; border-radius: 50%; background: var(--color-secondary); vertical-align: .08em; }

.hdr-l__in { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: clamp(1rem, 2.2vw, 2rem); min-height: 92px; }
.hdr-l .main-nav { display: flex; align-items: center; justify-content: center; gap: clamp(.9rem, 1.6vw, 1.5rem); }
.hdr-l__acts { display: flex; align-items: center; gap: .6rem; justify-self: end; }
.hdr-l .busca { width: clamp(190px, 16vw, 240px); padding-left: 1rem; }
.hdr-l .busca__btn { width: 44px; padding: 0; justify-content: center; }
.hdr-l .busca__btn span { display: none; }
.hdr-l__ofertas { white-space: nowrap; }
.hdr-l__busca-fila { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; }
.hero h1 { line-height: 1.04; }
.hero-eyebrow { font-size: .82rem; }
.hero-lead { color: var(--color-text-muted); max-width: 54ch; font-size: clamp(1rem, 1.25vw, 1.1rem); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.migas { margin-bottom: 1rem; font-size: .9rem; }
.migas ol { display: flex; flex-wrap: wrap; align-items: center; gap: 0 .5rem; color: var(--color-text-muted); font-weight: 700; }
.migas li + li::before { content: "/"; margin-right: .5rem; color: var(--color-line); }
.migas a { display: inline-flex; align-items: center; min-height: 40px; text-decoration: none; }
.migas a:hover { color: var(--color-primary-text); text-decoration: underline; text-underline-offset: 3px; }
.migas [aria-current] { color: var(--color-text); }

/* ---------- Categorías en círculos ---------- */
.sec--cats { background: var(--color-surface); padding-top: calc(var(--section-pad-y) + 8px); }
.fila-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; margin-bottom: clamp(1.25rem, 2.5vw, 2rem); }
.fila-head .sec-head { margin-bottom: 0; }
.fila-head__dato { font-weight: 800; font-size: .88rem; color: var(--color-text-muted); }
.cats { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: clamp(.6rem, 1.4vw, 1.25rem); }
.cat { display: flex; flex-direction: column; align-items: center; gap: .55rem; min-width: 0; text-align: center; text-decoration: none; }
.cat__c { position: relative; width: 100%; max-width: 116px; aspect-ratio: 1; border-radius: 50%; background: var(--peach); padding: 6px; transition: translate .35s var(--ease); }
.cat__c::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px dashed var(--color-primary); opacity: 0; transform: rotate(-40deg) scale(.94); transition: opacity .35s var(--ease), transform .5s var(--ease); pointer-events: none; }
.cat:hover .cat__c { translate: 0 -3px; }
.cat:hover .cat__c::after, .cat:focus-visible .cat__c::after { opacity: 1; transform: none; }
.cat__foto { display: block; width: 100%; height: 100%; border-radius: 50%; overflow: hidden; background: var(--color-bg-alt); }
.cat__foto img { width: 100%; height: 100%; object-fit: cover; }
.cat__n { font-weight: 800; font-size: .9rem; line-height: 1.2; }
.cat__q { font-size: .76rem; color: var(--color-text-muted); margin-top: -.35rem; }

/* ---------- Los más elegidos (carrusel) ---------- */
.sec--elegidos { background: var(--color-bg); overflow: hidden; }
.rail-head__acts { display: flex; align-items: center; gap: .75rem; }
.rail-flechas { display: flex; gap: .4rem; }
.rail-flechas button { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--color-text); transition: background-color .25s var(--ease), color .25s var(--ease), opacity .25s var(--ease); }
.rail-flechas button:hover:not(:disabled) { background: var(--color-text); color: #fff; }
.rail-flechas button:disabled { opacity: .3; cursor: default; }
.rail-flechas .ic { width: 20px; height: 20px; }
.rail-flechas [data-dir="-1"] .ic { transform: rotate(180deg); }
@media (hover: none) { .rail-flechas { display: none; } }
.rail-vp { overflow-x: auto; overflow-y: hidden; scroll-snap-type: x proximity; scrollbar-width: none; cursor: grab; scroll-padding-inline-start: max(var(--gutter), (100% - var(--container)) / 2); }
.rail-vp::-webkit-scrollbar { display: none; }
.rail-vp.dragging { cursor: grabbing; scroll-snap-type: none; }
.rail-vp.dragging .card { pointer-events: none; }
.rail-track { display: flex; gap: clamp(1rem, 1.6vw, 1.5rem); width: max-content; padding-inline: max(var(--gutter), (100% - var(--container)) / 2); padding-bottom: .5rem; }
.rail-track > .card-wrap { width: clamp(220px, 21vw, 272px); flex: none; scroll-snap-align: start; }

/* ---------- Tienda: vista previa en la portada y página de catálogo ---------- */
.sec--tienda { background: var(--color-surface); }
.tienda-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.tienda-head__t { display: grid; gap: .35rem; }
.tienda-head h2, .tienda-h1 { font-size: var(--fs-h2); line-height: 1.08; margin-top: .45rem; }
.tienda-count { font-size: .92rem; font-weight: 700; color: var(--color-text-muted); }
.tienda-tools { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; }
.filtros-toggle .ic { width: 18px; height: 18px; }
.filtros-n { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--color-secondary); color: var(--color-text); font-size: .75rem; }
.orden { display: inline-flex; align-items: center; gap: .55rem; font-size: .88rem; font-weight: 700; }
.orden select {
  appearance: none; -webkit-appearance: none; min-height: 40px; padding: 0 2.2rem 0 1rem; border-radius: 999px; border: 1.5px solid var(--color-line); background: var(--color-surface);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111111' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .8rem center; background-size: 16px; font-weight: 700; cursor: pointer;
}
.orden select:hover { border-color: var(--color-text); }
.chips-cat { display: flex; gap: .5rem; overflow-x: auto; scrollbar-width: none; padding: .15rem .1rem .55rem; margin-bottom: .5rem; }
.chips-cat::-webkit-scrollbar { display: none; }
.chip-cat { display: inline-flex; align-items: center; gap: .4rem; flex: none; min-height: 40px; padding: 0 1rem; border-radius: 999px; border: 1.5px solid var(--color-line); background: var(--color-surface); font-weight: 800; font-size: .88rem; white-space: nowrap; text-decoration: none; transition: border-color .25s var(--ease), background-color .25s var(--ease); }
.chip-cat:hover { border-color: var(--color-text); }
.chip-cat[aria-pressed="true"], .chip-cat[aria-current="page"] { background: var(--color-text); border-color: var(--color-text); color: #fff; }
.chip-n { font-size: .74rem; font-weight: 700; opacity: .65; }
.chips-cat--sub .chip-cat { min-height: 36px; font-size: .82rem; }
.pills { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.1rem; }
.pill { display: inline-flex; align-items: center; gap: .45rem; min-height: 36px; padding: 0 .55rem 0 .95rem; border-radius: 999px; background: var(--peach); font-weight: 800; font-size: .84rem; }
.pill span { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: rgba(10, 22, 40, .1); font-size: 1rem; line-height: 1; }

/* Cajón de filtros (página de catálogo) */
.filtros {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 105; width: min(380px, 90%); display: flex; flex-direction: column;
  background: var(--color-bg); box-shadow: var(--shadow-lg); transform: translateX(100%); transition: transform .38s var(--ease-out);
}
.filtros.abierto { transform: none; }
.filtros-head { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.25rem; border-bottom: 1px solid var(--color-line); }
.filtros-t { font: 600 1.5rem/1 var(--font-display); }
.filtros-close { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--color-bg-alt); }
.filtros-cuerpo { flex: 1 1 auto; overflow-y: auto; display: grid; align-content: start; gap: 1.15rem; padding: 1.15rem 1.25rem; }
.filtros-pie { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .6rem; padding: 1rem 1.25rem calc(1rem + env(safe-area-inset-bottom)); border-top: 1px solid var(--color-line); background: var(--color-surface); }
.filtros-bd { position: fixed; inset: 0; z-index: 104; background: rgba(10, 22, 40, .42); opacity: 0; transition: opacity .3s var(--ease-out); }
.filtros-bd.abierto { opacity: 1; }
.f-grupo { display: grid; gap: .55rem; padding-bottom: 1.15rem; border-bottom: 1px solid var(--color-line); }
.f-grupo:last-child { border-bottom: 0; }
.f-grupo legend { font-weight: 800; font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--color-text-muted); margin-bottom: .55rem; }
.f-lista { display: grid; gap: .1rem; }
.f-check { display: flex; align-items: center; gap: .6rem; min-height: 40px; font-size: .94rem; font-weight: 600; cursor: pointer; }
.f-check input { width: 18px; height: 18px; accent-color: var(--color-primary-text); flex: none; margin: 0; cursor: pointer; }
.f-n { margin-left: auto; font-size: .78rem; font-weight: 700; color: var(--color-text-muted); }
.f-chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.f-chip { display: inline-flex; align-items: center; gap: .4rem; min-height: 40px; min-width: 44px; padding: 0 .8rem; border-radius: 999px; border: 1.5px solid var(--color-line); background: var(--color-surface); font-weight: 800; font-size: .84rem; transition: border-color .25s var(--ease), background-color .25s var(--ease); }
.f-chip .f-n { margin-left: 0; }
.f-chip:hover { border-color: var(--color-text); }
.f-chip[aria-pressed="true"] { background: var(--color-text); border-color: var(--color-text); color: #fff; }
.f-chip[aria-pressed="true"] .f-n { color: rgba(255, 255, 255, .7); }

.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1.75rem, 3vw, 2.5rem) clamp(.9rem, 1.6vw, 1.4rem); }
.grid[aria-busy="true"] { opacity: .55; transition: opacity .2s; }
.vacio { display: grid; justify-items: start; gap: 1rem; padding: 2.5rem 0; border-top: 1px solid var(--color-line); }
.vacio p { font: 600 1.35rem/1.35 var(--font-display); max-width: 38ch; }
.vacio__acts { display: flex; flex-wrap: wrap; gap: .6rem; }
.mas { display: grid; justify-items: center; gap: .6rem; padding-top: clamp(2rem, 4vw, 3rem); }
.mas__n { font-size: .84rem; font-weight: 700; color: var(--color-text-muted); }

/* ---------- Tarjeta de producto (misma en PHP y JS) ---------- */
.card-wrap { min-width: 0; }
.card { position: relative; display: flex; flex-direction: column; height: 100%; min-width: 0; container-type: inline-size; container-name: card; }
.card__media { position: relative; }
.card__img { position: relative; display: block; width: 100%; aspect-ratio: 1 / 1; border-radius: var(--radius); overflow: hidden; background: var(--color-bg-alt); }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card__media:hover .card__img img { transform: scale(1.05); }
.card__badges { position: absolute; top: 12px; left: 12px; display: flex; flex-direction: column; align-items: flex-start; gap: 5px; pointer-events: none; z-index: 1; }
.badge { position: relative; display: inline-flex; align-items: center; gap: .35rem; padding: .3rem .55rem .3rem .5rem; border-radius: 6px; font: 800 .7rem/1 var(--font-body); letter-spacing: .03em; background: var(--color-text); color: #fff; }
.badge::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; opacity: .55; }
.badge--off { background: var(--color-secondary); color: var(--color-text); }
.badge--temp { background: var(--peach); color: var(--color-text); }
.badge--poco { background: var(--color-surface); color: var(--color-text); }
.badge--sin { background: rgba(10, 22, 40, .78); color: #fff; border-radius: 8px; }
.card__quick {
  position: absolute; left: 12px; right: 12px; bottom: 12px; min-height: 40px; border-radius: 999px; z-index: 1;
  background: rgba(255, 255, 255, .95); font: 800 .82rem/1 var(--font-body);
  opacity: 0; transform: translateY(8px); transition: opacity .3s var(--ease), transform .35s var(--ease);
}
.card__media:hover .card__quick { opacity: 1; transform: none; }
@media (hover: none) { .card__quick { display: none; } }
.card__body { display: flex; flex-direction: column; gap: .3rem; padding-top: .85rem; flex: 1 1 auto; }
.card__marca { font-weight: 800; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--color-text-muted); }
.card__t { position: relative; font: 700 1rem/1.3 var(--font-body); }
.card__t a { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-decoration: none; }
.card__t a::after { content: ""; position: absolute; inset: -8px 0; }
.card__t a:hover { text-decoration: underline; text-underline-offset: 3px; }
.card__meta { font-size: .8rem; color: var(--color-text-muted); line-height: 1.4; }
.precio { display: flex; align-items: baseline; flex-wrap: wrap; gap: .1rem .5rem; margin-top: .1rem; }
.precio__desde { font-size: .78rem; font-weight: 700; color: var(--color-text-muted); margin-right: -.25rem; }
.precio__f { font: 800 var(--fs-price)/1.15 var(--font-body); letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.precio__o { font-size: .85rem; color: var(--color-text-muted); }
.prod-actions { display: flex; align-items: center; gap: .45rem; margin-top: auto; padding-top: .55rem; }
.prod-add { flex-grow: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.prod-add .ic { width: 18px; height: 18px; }
.stepper { display: inline-flex; align-items: center; height: 40px; border: 1.5px solid var(--color-line); border-radius: 999px; background: var(--color-surface); flex: none; }
.stepper button { width: 32px; height: 100%; font-weight: 800; font-size: 1.05rem; border-radius: 999px; }
.stepper button:disabled { opacity: .3; cursor: default; }
.stepper output { min-width: 22px; text-align: center; font-weight: 800; font-size: .92rem; }
.card__comprar { align-self: flex-start; min-height: 32px; font-size: .84rem; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; color: var(--color-primary-text); }
@container card (max-width: 200px) {
  .card__marca, .card__meta { display: none; }
  .prod-add .lbl { display: none; }
}
@container card (max-width: 150px) {
  .card .stepper { display: none; }
  .precio__o { display: none; }
}
@media (max-width: 640px) {
  .catalogo-grid .prod-actions, .rail-track .prod-actions { flex-direction: column; align-items: stretch; gap: .4rem; }
  .catalogo-grid .stepper, .rail-track .stepper { align-self: center; height: 44px; }
  .catalogo-grid .stepper button, .rail-track .stepper button { width: 44px; }
  .catalogo-grid .prod-add, .rail-track .prod-add { min-height: 44px; }
  .catalogo-grid .prod-add .lbl, .rail-track .prod-add .lbl { display: inline; }
  .catalogo-grid .card__comprar, .rail-track .card__comprar { display: none; }
}

/* ---------- ¿Cómo te llega? ---------- */
.sec--envios { background: var(--color-bg-alt); }
.envio { display: grid; gap: clamp(1.25rem, 2.5vw, 1.75rem); padding: clamp(1.25rem, 3vw, 2.25rem); border-radius: calc(var(--radius) + 8px); background: var(--color-surface); }
.envio__modos { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 4px; max-width: 660px; padding: 5px; border-radius: 999px; background: var(--color-bg); border: 1.5px solid var(--color-line); }
.envio__modo { position: relative; min-width: 0; }
.envio__modo input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.envio__modo span { display: flex; align-items: center; justify-content: center; gap: .45rem; min-height: 46px; padding: 0 .75rem; border-radius: 999px; font-weight: 800; font-size: .92rem; text-align: center; transition: background-color .25s var(--ease), color .25s var(--ease); }
.envio__modo input:checked + span { background: var(--color-text); color: #fff; }
.envio__modo input:focus-visible + span { outline: 3px solid var(--color-primary-text); outline-offset: 2px; }
.envio__modo .ic { width: 19px; height: 19px; }
.envio__cuerpo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 380px); gap: clamp(1.25rem, 3vw, 3rem); align-items: start; }
.envio__panel { min-width: 0; }
.cp { display: grid; gap: .25rem; max-width: 420px; }
.cp__k { font-weight: 800; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--color-text-muted); }
.cp input {
  width: 5.2ch; max-width: 100%; padding: .1rem 0 .25rem; border: 0; outline: none; background: transparent;
  font: 600 clamp(3rem, 7vw, 4.6rem)/1 var(--font-display); letter-spacing: .1em; color: var(--color-text);
  background-image: linear-gradient(var(--color-primary), var(--color-primary)); background-size: 100% 4px; background-repeat: no-repeat; background-position: 0 100%;
}
.cp input::placeholder { color: rgba(10, 22, 40, .2); }
.cp input:focus { background-image: linear-gradient(var(--color-primary-text), var(--color-primary-text)); }
.zonas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; margin-top: 1.4rem; }
.zona { display: grid; align-content: start; gap: .2rem; min-height: 44px; padding: .8rem 1rem .85rem; border-radius: var(--radius); border: 1.5px solid var(--color-line); background: var(--color-surface); text-align: left; transition: border-color .25s var(--ease), background-color .25s var(--ease); }
.zona:hover { border-color: var(--color-text); }
.zona[aria-pressed="true"] { border-color: var(--color-text); background: var(--peach); }
.zona__n { font-weight: 800; font-size: .95rem; line-height: 1.25; }
.zona__d { font-size: .8rem; line-height: 1.35; color: var(--color-text-muted); }
.zona__p { margin-top: .25rem; font-size: .84rem; color: var(--color-text-muted); }
.zona__p b { font-weight: 800; color: var(--color-text); }
.envio__ayuda { margin-top: 1rem; font-size: .88rem; color: var(--color-text-muted); }
.envio__ayuda.is-error { color: var(--color-error); font-weight: 700; }
.envio__coordinar { font: 600 clamp(1.25rem, 2.2vw, 1.6rem)/1.35 var(--font-display); max-width: 30ch; }
.mapa { width: 100%; height: clamp(230px, 30vw, 300px); border-radius: var(--radius); overflow: hidden; background: var(--color-bg-alt); z-index: 0; }
.mapa .leaflet-tile-pane { filter: grayscale(.9) contrast(.92) brightness(1.06) sepia(.12); }
.mapa__ir { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; margin-top: .6rem; font-weight: 800; color: var(--color-primary-text); text-decoration: none; }
.mapa__ir .ic { width: 18px; height: 18px; }
.mapa__dir { font-size: .9rem; color: var(--color-text-muted); margin-top: .5rem; }
.ticket { display: grid; gap: .55rem; padding: 1.35rem 1.35rem 1.25rem; border-radius: var(--radius); background: var(--color-bg); border: 1px solid var(--color-line); }
.ticket__k { font-weight: 800; font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--color-text-muted); }
.ticket__v { font: 600 clamp(1.7rem, 2.6vw, 2.2rem)/1.05 var(--font-display); }
.ticket__d { font-size: .9rem; color: var(--color-text-muted); line-height: 1.45; }
.ticket__filas { display: grid; margin: .35rem 0 .45rem; }
.ticket__filas div { display: flex; justify-content: space-between; gap: 1rem; padding: .45rem 0; border-top: 1px solid var(--color-line); font-size: .94rem; }
.ticket__filas dd { font-weight: 700; font-variant-numeric: tabular-nums; }
.ticket__total { font-size: 1.06rem; }
.ticket__total dt, .ticket__total dd { font-weight: 800; }
.ticket .btn + .btn { margin-top: .1rem; }
.pagos { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem 1rem; padding-top: 1.25rem; border-top: 1px solid var(--color-line); }
.pagos__k { font-weight: 800; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--color-text-muted); }
.pagos__lista { display: flex; flex-wrap: wrap; gap: .45rem; }
.pagos__lista li { display: inline-flex; align-items: center; gap: .35rem; min-height: 36px; padding: 0 .9rem; border-radius: 999px; background: var(--color-bg); border: 1.5px solid var(--color-line); font-weight: 800; font-size: .84rem; transition: opacity .3s var(--ease), border-color .3s var(--ease); }
.pagos__lista li.is-off { opacity: .4; }
.pagos__lista li.is-on { border-color: var(--color-text); }
.envio__nota { font-size: .8rem; color: var(--color-text-muted); }

/* ---------- Pie ---------- */
.site-footer { position: relative; margin-top: clamp(28px, 4vw, 52px); background: var(--color-text); color: #ECEDEE; padding-bottom: 1.5rem; }
.site-footer a, .site-footer button { color: #ECEDEE; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 2rem clamp(1.5rem, 3vw, 3rem); padding-block: 1rem 2.25rem; }
.footer-lema { margin-top: .8rem; color: #A4A9B0; max-width: 32ch; font-size: .95rem; }
.footer-col { display: grid; align-content: start; justify-items: start; gap: .15rem; }
.footer-links { display: grid; justify-items: start; gap: .15rem; }
.footer-t { font-weight: 800; font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--peach); margin-bottom: .45rem; }
.footer-col a, .footer-links a { display: inline-flex; align-items: center; gap: .45rem; min-height: 36px; font-size: .95rem; text-decoration: none; text-align: left; transition: color .25s var(--ease); }
.footer-col a:hover, .footer-links a:hover { color: var(--color-primary); }
.footer-col .ic { width: 18px; height: 18px; }
.footer-col p:not(.footer-t) { color: #A4A9B0; font-size: .95rem; line-height: 1.55; max-width: 30ch; }
.footer-legal-extra { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; padding-bottom: 1.25rem; }
.footer-legal-extra a { display: inline-flex; align-items: center; min-height: 44px; color: #A4A9B0; }
.footer-legal-extra img { width: 56px; height: auto; border-radius: 6px; background: #fff; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem 1.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .86rem; color: #A4A9B0; }
.footer-bottom a { color: #FFFFFF; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Carrito (cajón) ---------- */
.drawer-backdrop { position: fixed; inset: 0; z-index: 100; background: rgba(10, 22, 40, .42); opacity: 0; transition: opacity .35s var(--ease-out); }
.drawer-backdrop.abierto { opacity: 1; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 101; width: min(440px, 100%); display: flex; flex-direction: column; background: var(--color-bg); box-shadow: var(--shadow-lg); transform: translateX(100%); transition: transform .38s var(--ease-out); }
.drawer.abierto { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1rem 1rem 1.4rem; border-bottom: 1px solid var(--color-line); }
.drawer-head h2 { font-size: 1.6rem; }
.drawer-head h2 span { font: 700 1rem var(--font-body); color: var(--color-text-muted); }
.drawer-body { flex: 1 1 auto; overflow-y: auto; padding: .5rem 1.4rem; }
.drawer-vacio { display: grid; justify-items: start; gap: 1rem; padding: 2rem 0; }
.drawer-vacio p { font: 600 1.3rem/1.35 var(--font-display); }
.linea { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: .9rem; padding: 1rem 0; border-bottom: 1px solid var(--color-line); }
.linea__img { display: block; width: 64px; aspect-ratio: 1 / 1; border-radius: 10px; overflow: hidden; background: var(--color-bg-alt); }
.linea__img img { width: 100%; height: 100%; object-fit: cover; }
.linea__t { font-weight: 800; font-size: .94rem; line-height: 1.3; }
.linea__t a { text-decoration: none; }
.linea__m { font-size: .8rem; color: var(--color-text-muted); }
.linea__acts { display: flex; align-items: center; gap: .6rem; margin-top: .45rem; }
.stepper--linea { height: 36px; }
.stepper--linea button { width: 30px; }
.linea__x { font-size: .8rem; font-weight: 700; color: var(--color-text-muted); text-decoration: underline; text-underline-offset: 3px; min-height: 36px; }
.linea__pr { font-weight: 800; font-size: .95rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
.drawer-foot { display: grid; gap: .65rem; padding: 1rem 1.4rem calc(1.2rem + env(safe-area-inset-bottom)); border-top: 1px solid var(--color-line); background: var(--color-surface); }
.cupon { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .5rem; }
.cupon__campo input { width: 100%; min-height: 40px; padding: 0 1rem; border-radius: 999px; border: 1.5px solid var(--color-line); background: var(--color-bg); outline: none; text-transform: uppercase; }
.cupon__campo input::placeholder { text-transform: none; }
.cupon__campo input:focus { border-color: var(--color-text); }
.drawer-tot { display: grid; }
.drawer-tot div { display: flex; justify-content: space-between; gap: 1rem; padding: .3rem 0; font-size: .94rem; }
.drawer-tot dd { font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.drawer-tot dd a { color: var(--color-primary-text); font-weight: 800; }
.drawer-tot__total { padding-top: .55rem !important; margin-top: .25rem; border-top: 1px solid var(--color-line); font-size: 1.1rem !important; }
.drawer-tot__total dt, .drawer-tot__total dd { font-weight: 800; }
.drawer-nota { font-size: .8rem; color: var(--color-text-muted); }

/* ---------- Vista rápida ---------- */
.modal { position: fixed; inset: 0; z-index: 110; display: grid; place-items: center; padding: clamp(.75rem, 3vw, 2rem); }
.modal-back { position: absolute; inset: 0; background: rgba(10, 22, 40, .5); opacity: 0; transition: opacity .3s var(--ease); }
.modal.abierto .modal-back { opacity: 1; }
.modal-box { position: relative; width: min(980px, 100%); max-height: calc(100svh - 2rem); overflow-y: auto; border-radius: calc(var(--radius) + 6px); background: var(--color-bg); box-shadow: var(--shadow-lg); opacity: 0; transform: translateY(18px) scale(.98); transition: opacity .32s var(--ease), transform .4s var(--ease); }
.modal.abierto .modal-box { opacity: 1; transform: none; }
.modal-close { position: absolute; top: .75rem; right: .75rem; z-index: 2; background: var(--color-surface); }
.m-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.25rem, 3vw, 2.5rem); padding: clamp(1rem, 2.5vw, 1.75rem); }
.m-fotos { display: grid; gap: .6rem; align-content: start; }
.m-foto { width: 100%; aspect-ratio: 1 / 1; border-radius: var(--radius); overflow: hidden; background: var(--color-bg-alt); }
.m-foto img { width: 100%; height: 100%; object-fit: cover; }
.m-vistas { display: flex; flex-wrap: wrap; gap: .4rem; }
.m-thumb { width: 64px; aspect-ratio: 1 / 1; border-radius: 10px; overflow: hidden; border: 2px solid transparent; }
.m-thumb img { width: 100%; height: 100%; object-fit: cover; }
.m-thumb[aria-pressed="true"] { border-color: var(--color-text); }
.m-info { display: grid; align-content: start; gap: .7rem; padding-top: .5rem; }
.m-marca { font-weight: 800; font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--color-text-muted); }
.m-marca a { text-decoration: none; }
.m-marca a:hover { text-decoration: underline; }
.m-t { font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.1; padding-right: 2.5rem; }
.m-precio .precio__f { font-size: 1.5rem; }
.m-unidad { font-size: .86rem; color: var(--color-text-muted); }
.m-vars { display: grid; gap: .5rem; }
.m-vars legend { font-weight: 800; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--color-text-muted); margin-bottom: .45rem; }
.m-vars__lista { display: flex; flex-wrap: wrap; gap: .45rem; }
.m-var { display: grid; justify-items: center; min-width: 64px; min-height: 52px; padding: .35rem .7rem; border-radius: 12px; border: 1.5px solid var(--color-line); background: var(--color-surface); line-height: 1.15; transition: border-color .25s var(--ease), background-color .25s var(--ease); }
.m-var b { font-weight: 800; font-size: .95rem; }
.m-var small { font-size: .7rem; color: var(--color-text-muted); }
.m-var:hover:not(:disabled) { border-color: var(--color-text); }
.m-var[aria-pressed="true"] { border-color: var(--color-text); background: var(--peach); }
.m-var:disabled { opacity: .4; cursor: not-allowed; text-decoration: line-through; }
.m-stock { font-size: .88rem; font-weight: 800; color: var(--color-primary-text); }
.m-stock--poco { color: var(--color-secondary-text); }
.m-stock--sin { color: var(--color-text-muted); }
.m-compra { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; }
.m-compra .btn { flex: 1 1 180px; }
.m-compra .stepper { height: 48px; }
.m-compra .stepper button { width: 40px; }
.m-desc { color: var(--color-text-muted); font-size: .96rem; }
.m-datos { display: grid; border-top: 1px solid var(--color-line); }
.m-datos div { display: flex; justify-content: space-between; gap: 1rem; padding: .45rem 0; border-bottom: 1px solid var(--color-line); font-size: .9rem; }
.m-datos dt { color: var(--color-text-muted); }
.m-datos dd { font-weight: 700; text-align: right; }
.m-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .4rem 1rem; }
.m-wsp { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; font-weight: 800; color: var(--color-primary-text); text-decoration: none; }
.m-wsp .ic { width: 18px; height: 18px; color: #1EA952; }
.m-rel-t { font-weight: 800; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--color-text-muted); margin-top: .4rem; }
.m-rels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem; }
.m-rel { display: grid; gap: .3rem; text-align: left; font-size: .8rem; font-weight: 700; line-height: 1.25; }
.m-rel__img { display: block; width: 100%; aspect-ratio: 1 / 1; border-radius: 10px; overflow: hidden; background: var(--color-bg-alt); }
.m-rel__img img { width: 100%; height: 100%; object-fit: cover; }
.m-rel b { font-weight: 800; }

/* ---------- Ficha de producto ---------- */
.ficha-seccion { padding-top: 1.25rem; }
.ficha { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.ficha-galeria { position: sticky; top: 16px; }
.ficha-foto { position: relative; width: 100%; aspect-ratio: 1 / 1; border-radius: calc(var(--radius) + 4px); overflow: hidden; background: var(--color-bg-alt); }
.ficha-foto img { width: 100%; height: 100%; object-fit: cover; }
.ficha-thumbs { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .75rem; }
.ficha-thumb { width: 76px; aspect-ratio: 1 / 1; border-radius: 10px; overflow: hidden; border: 2px solid transparent; }
.ficha-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ficha-thumb[aria-pressed="true"] { border-color: var(--color-text); }
.ficha-info { display: grid; align-content: start; gap: .85rem; }
.ficha-nombre { font-size: clamp(2rem, 4vw, 3rem); padding-right: 0; }
.ficha-meta { font-weight: 700; color: var(--color-text-muted); }
.ficha-variantes { display: grid; gap: .8rem; }
.ficha-wsp { display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; font-weight: 800; color: var(--color-primary-text); text-decoration: none; }
.ficha-wsp .ic { width: 18px; height: 18px; color: #1EA952; }
.ficha-bloques { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; margin-top: clamp(2rem, 5vw, 3.5rem); }
.ficha-bloque { padding: 1.3rem 1.4rem; border-radius: var(--radius); background: var(--color-surface); border: 1px solid var(--color-line); }
.ficha-bloque h2 { margin-bottom: .45rem; font-size: 1.3rem; line-height: 1.2; }
.ficha-bloque p, .ficha-bloque li { color: var(--color-text-muted); font-size: .95rem; }
.ficha-bloque ul { margin-top: .4rem; padding-left: 1.1rem; list-style: disc; }
.relacionados { background: var(--color-surface); }

/* ---------- Estados: 404, producto no encontrado, vuelta de Mercado Pago ---------- */
.estado { padding-block: clamp(3rem, 8vw, 6rem); }
.estado-caja { display: grid; justify-items: center; gap: 1rem; text-align: center; }
.estado-caja .sec-bajada { margin-inline: auto; }
.estado-t { font-size: clamp(2rem, 4.5vw, 3.2rem); line-height: 1.08; }
.estado-eyebrow { padding: .38rem .95rem; border-radius: 999px; background: var(--color-secondary); font-weight: 800; font-size: .85rem; }
.estado-icono { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--cyan-wash); color: var(--color-primary-text); font: 600 2rem/1 var(--font-display); }
.estado-fallo .estado-icono { background: var(--peach); color: var(--color-secondary-text); }
.estado-acciones { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin-top: .4rem; }
.estado-detalle { width: min(100%, 520px); padding: 1.1rem 1.3rem; border-radius: var(--radius); background: var(--color-surface); text-align: left; border: 1px solid var(--color-line); }
.estado-pedido { margin-bottom: .4rem; font: 600 1.4rem/1.2 var(--font-display); }
.estado-sugeridos { width: 100%; margin-top: 2rem; text-align: left; }

/* ---------- Checkout ---------- */
.checkout { padding-top: 1.25rem; }
.checkout-cabecera h1 { font-size: var(--fs-h2); line-height: 1.08; }
.checkout-estado { padding: 1.4rem; border: 1.5px solid var(--color-line); border-radius: calc(var(--radius) + 4px); text-align: center; }
.checkout-estado a { color: var(--color-primary-text); font-weight: 800; }
.checkout-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.checkout-form { display: grid; gap: 1.2rem; }
.cx-block { min-width: 0; margin: 0; padding: 1.3rem clamp(1rem, 2.4vw, 1.6rem) 1.4rem; border: 1px solid var(--color-line); border-radius: calc(var(--radius) + 4px); background: var(--color-surface); }
.cx-block legend { padding: 0 .4rem; font: 600 1.35rem/1.2 var(--font-display); }
.cx-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: end; gap: .9rem 1rem; margin-top: .4rem; }
.cx-grid label, .cx-full, .cx-franja, .form-legal label { display: grid; gap: .35rem; font-size: .92rem; font-weight: 700; }
.cx-grid input, .cx-grid select, .cx-full textarea, .cx-franja select, .cx-cupon input, .form-legal input, .form-legal textarea {
  width: 100%; min-height: 48px; padding: .7rem .95rem; border: 1.5px solid var(--color-line); border-radius: 12px; background: var(--color-bg); font: inherit; font-weight: 600;
}
.cx-full textarea, .form-legal textarea { min-height: 96px; resize: vertical; }
.cx-grid select, .cx-franja select { appearance: none; background: var(--color-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111111' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right .9rem center / 16px; padding-right: 2.4rem; }
.cx-grid input:focus, .cx-grid select:focus, .cx-full textarea:focus, .cx-cupon input:focus, .form-legal input:focus, .form-legal textarea:focus { outline: none; border-color: var(--color-primary-text); box-shadow: 0 0 0 3px rgba(37, 99, 166, .18); }
.cx-full { margin-top: .4rem; }
.cx-opt { font-weight: 400; color: var(--color-text-muted); }
.cx-hint { margin-top: .4rem; color: var(--color-text-muted); font-size: .92rem; }
.cx-hint a { color: var(--color-primary-text); font-weight: 800; }
.cx-envios, .cx-pagos { display: grid; gap: .6rem; margin-top: .9rem; }
.cx-envios[aria-busy="true"] { opacity: .6; }
.cx-opcion { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: .8rem; min-height: 56px; padding: .75rem 1rem; border: 1.5px solid var(--color-line); border-radius: 14px; background: var(--color-surface); cursor: pointer; transition: border-color .2s, background-color .2s; }
.cx-opcion:hover { border-color: var(--color-text); }
.cx-opcion input { width: 18px; height: 18px; margin: 0; accent-color: var(--color-primary-text); }
.cx-opcion--on { border-color: var(--color-text); background: var(--peach-wash); }
.cx-opcion-info { display: grid; gap: .1rem; }
.cx-opcion-info em { font-size: .86rem; color: var(--color-text-muted); }
.cx-opcion-precio { font-weight: 800; font-variant-numeric: tabular-nums; }
.cx-franja { margin-top: .9rem; }
.checkbox-label { display: flex; align-items: center; gap: .6rem; font-weight: 700; }
.checkbox-label input { width: 18px; height: 18px; accent-color: var(--color-primary-text); }
.cx-transferencia { margin-top: .8rem; padding: .8rem 1rem; border-radius: 12px; background: var(--peach); font-size: .92rem; }
.cx-error { padding: .8rem 1rem; border-radius: 12px; background: #FCE8E6; color: #8A2A17; font-weight: 700; }
.cx-submit { width: 100%; min-height: 56px; font-size: 1.05rem; }
.cx-legal { font-size: .85rem; color: var(--color-text-muted); text-align: center; }
.cx-legal a { color: inherit; }
.checkout-resumen { position: sticky; top: 16px; }
.cx-resumen-card { padding: 1.4rem; border-radius: calc(var(--radius) + 4px); background: var(--color-surface); border: 1px solid var(--color-line); }
.cx-resumen-card h2 { margin-bottom: .7rem; font-size: 1.6rem; }
.cx-item { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; align-items: center; gap: .8rem; padding: .55rem 0; border-bottom: 1px dashed var(--color-line); }
.cx-item img { width: 56px; aspect-ratio: 1 / 1; height: auto; border-radius: 10px; object-fit: cover; }
.cx-item-nombre { font-weight: 800; line-height: 1.25; font-size: .94rem; }
.cx-item-cant { font-size: .82rem; color: var(--color-text-muted); }
.cx-item strong { font-weight: 800; font-variant-numeric: tabular-nums; }
.cx-cupon { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .5rem; margin-top: 1rem; }
.cx-cupon input { min-height: 40px; border-radius: 999px; text-transform: uppercase; }
.cx-cupon input::placeholder { text-transform: none; }
.cx-cupon-msg { margin-top: .4rem; font-size: .88rem; font-weight: 700; color: #8A2A17; }
.cx-cupon-msg.ok { color: var(--color-primary-text); }
.cx-totales { margin-top: 1rem; }
.cx-totales div { display: flex; justify-content: space-between; gap: 1rem; padding: .25rem 0; }
.cx-totales dd { font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; }
.cx-total { margin-top: .4rem; padding-top: .5rem !important; border-top: 1px solid var(--color-line); }
.cx-total dt, .cx-total dd { font: 600 1.7rem/1.1 var(--font-display); }
.cx-entrega { margin-top: .7rem; font-size: .9rem; color: var(--color-text-muted); }
.checkout-ok { display: grid; justify-items: center; }
.cx-ok-card { display: grid; justify-items: center; gap: .9rem; width: min(100%, 620px); padding: clamp(1.5rem, 4vw, 2.5rem); border-radius: calc(var(--radius) + 6px); background: var(--color-surface); text-align: center; border: 1px solid var(--color-line); }
.cx-ok-icono { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--cyan-wash); color: var(--color-primary-text); font: 600 1.8rem/1 var(--font-display); }
.cx-ok-card h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); line-height: 1.1; }
.cx-ok-card > p { color: var(--color-text-muted); }
.cx-transfer-datos { display: grid; gap: .3rem; width: 100%; padding: 1rem 1.2rem; border-radius: var(--radius); background: var(--peach); text-align: left; }
.cx-transfer-datos p { display: flex; justify-content: space-between; gap: 1rem; }
.cx-transfer-datos span { color: #5A5F66; }
.cx-transfer-datos strong { font-weight: 800; overflow-wrap: anywhere; text-align: right; }
.cx-transfer-aviso { font-weight: 800; }
.cx-comprobante { display: grid; justify-items: center; gap: .6rem; width: 100%; }
.cx-file { position: relative; display: grid; place-items: center; width: 100%; min-height: 56px; padding: .8rem 1rem; border: 1.5px dashed var(--color-line); border-radius: var(--radius); color: var(--color-text-muted); cursor: pointer; }
.cx-file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.cx-comprobante-msg { color: var(--color-primary-text); font-weight: 800; }
.cx-ok-nota { font-size: .88rem; color: var(--color-text-muted); }
.cx-ok-volver { display: inline-flex; align-items: center; min-height: 44px; color: var(--color-primary-text); font-weight: 800; }
body[data-pagina="checkout"] .cart-float { display: none; }

/* ---------- Legales ---------- */
.legal-page { max-width: calc(760px + 2 * var(--gutter)); }
.legal-page .estado-t { margin-bottom: 1.2rem; }
.legal-copy { color: var(--color-text-muted); line-height: 1.75; }
.legal-copy + .legal-copy { margin-top: 1.5rem; }
.legal-copy a { color: var(--color-primary-text); }
.legal-stats h2 { margin-bottom: .4rem; font-size: 1.3rem; color: var(--color-text); }
.form-legal { display: grid; gap: .9rem; margin-top: 1.5rem; }
.form-legal .btn { justify-self: start; }
.form-ok { margin-top: 1.5rem; padding: 1rem 1.2rem; border-radius: var(--radius); background: var(--cyan-wash); font-weight: 800; }

/* ---------- Flotantes y avisos ---------- */
.floats { position: fixed; right: clamp(14px, 3vw, 24px); bottom: clamp(14px, 3vw, 24px); z-index: 90; display: flex; flex-direction: column; gap: 12px; align-items: center; }
.float-btn { position: relative; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; border: none; cursor: pointer; opacity: 0; transform: translateY(12px) scale(.9); pointer-events: none; transition: opacity .3s, transform .3s cubic-bezier(0.23, 1, 0.32, 1); box-shadow: var(--shadow-md); }
.float-btn .ic { width: 26px; height: 26px; }
.float-btn.visible { opacity: 1; transform: none; pointer-events: auto; }
.float-btn:active { transform: scale(.95); }
.cart-float { background: var(--color-cta); color: var(--color-cta-text); }
.wsp-float { background: #25D366; color: #fff; }
.wsp-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25D366; animation: pulse-ring 2.2s var(--ease) infinite; pointer-events: none; }
@keyframes pulse-ring { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.55); opacity: 0; } }
.float-badge { position: absolute; top: -3px; right: -3px; min-width: 21px; height: 21px; padding: 0 5px; border-radius: 11px; display: grid; place-items: center; font: 800 .72rem/1 var(--font-body); background: var(--color-text); color: #fff; }
body.no-scroll { overflow: hidden; }
body.no-scroll .floats { opacity: 0; pointer-events: none; }

.toast-wrap { position: fixed; left: 50%; bottom: clamp(16px, 4vw, 28px); z-index: 130; display: grid; gap: .5rem; transform: translateX(-50%); width: min(440px, calc(100% - 32px)); pointer-events: none; }
.toast { display: flex; align-items: center; gap: .6rem; padding: .85rem 1rem; border-radius: 14px; background: var(--color-text); color: #fff; font-weight: 700; font-size: .92rem; box-shadow: var(--shadow-lg); animation: toast-in .35s var(--ease); }
.toast svg { width: 20px; height: 20px; flex: none; color: var(--color-primary); }
.toast.hiding { opacity: 0; transform: translateY(8px); transition: opacity .2s, transform .2s; }
@keyframes toast-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ---------- Entradas ---------- */
[data-animate] { transition: opacity .9s var(--ease), transform 1.1s var(--ease), clip-path 1.2s var(--ease), filter 1s var(--ease); }
[data-animate].in { opacity: 1 !important; transform: none !important; }
[data-animate="linea"] { transform-origin: 0 50%; }
[data-animate="mascara"].in { clip-path: inset(0 0 0 0) !important; }
.modo-editor [data-animate="mascara"] { clip-path: inset(0 0 0 0) !important; }
[data-animate] .card__img img { scale: 1.12; transition: scale 1.5s var(--ease), transform .8s var(--ease); }
[data-animate].in .card__img img { scale: 1; }

/* Editor del panel: todo el contenido visible y quieto. */
.modo-editor [data-animate] { opacity: 1 !important; transform: none !important; }
.modo-editor .floats { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .hdr-l .main-nav { gap: 1rem; }
}

@media (max-width: 1024px) {
  .envio__cuerpo { grid-template-columns: minmax(0, 1fr); }
  .footer-top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
  .hdr-l .busca { display: none; }
  .hdr-l__busca-fila { display: block; padding-bottom: .9rem; }
  .hdr-l__busca-fila .busca { display: flex; width: 100%; }
  .checkout-grid { grid-template-columns: minmax(0, 1fr); }
  .checkout-resumen { position: static; order: -1; }
}

@media (max-width: 900px) {
  .aviso__rapidos span { display: none; }
  .ficha { grid-template-columns: minmax(0, 1fr); }
  .ficha-galeria { position: static; }
}

@media (max-width: 768px) {
  .menu-toggle { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: inherit; }
  .menu-toggle .ic { width: 24px; height: 24px; }
  .main-nav {
    position: fixed; top: 0; right: 0; max-height: 100dvh; overflow-y: auto; width: 74%; max-width: 320px; background: var(--color-bg);
    display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: .1rem;
    padding: 1.3rem 1.5rem calc(1.5rem + env(safe-area-inset-bottom)); transform: translateX(100%); visibility: hidden;
    transition: transform .38s var(--ease-out), visibility 0s .38s, box-shadow 0s .38s; z-index: 120; box-shadow: none;
  }
  .main-nav.open { transform: translateX(0); visibility: visible; box-shadow: var(--shadow-lg); transition: transform .38s var(--ease-out); }
  .hdr-l .main-nav { display: flex; overflow-x: clip; gap: .1rem; justify-content: flex-start; }
  .main-nav a { padding: .75rem 0; font-size: 1.02rem; border-bottom: 1px solid var(--color-line); }
  .main-nav a::after { display: none; }
  .nav-close { display: flex; align-items: center; justify-content: center; align-self: flex-end; width: 44px; height: 44px; margin-bottom: .4rem; border-radius: 50%; background: var(--color-bg-alt); color: var(--color-text); }
  .nav-backdrop { position: fixed; inset: 0; background: rgba(10, 22, 40, .42); opacity: 0; visibility: hidden; transition: opacity .3s var(--ease-out), visibility 0s .3s; z-index: 110; }
  .nav-backdrop.open { opacity: 1; visibility: visible; transition: opacity .3s var(--ease-out); }
  .hdr-l__in { min-height: 0; padding-block: .85rem; }
  .hdr-cart__t { display: none; }
  .hdr-cart { min-width: 48px; padding: 0 .8rem; justify-content: center; }
  .hdr-l__busca-fila { padding-bottom: .95rem; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cx-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 640px) {
  .busca__btn span { display: none; }
  .busca__btn { width: 44px; padding: 0; justify-content: center; }
  .hero-ctas .btn { flex: 1 1 auto; }
  .tienda-head { align-items: flex-start; }
  .tienda-tools { width: 100%; justify-content: space-between; }
  .orden span { display: none; }
  .envio__modos { grid-auto-flow: row; border-radius: 18px; }
  .envio__modo span { justify-content: flex-start; padding: 0 1rem; }
  .zonas { grid-template-columns: minmax(0, 1fr); }
    .footer-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .m-grid { grid-template-columns: minmax(0, 1fr); }
  .m-foto { aspect-ratio: 1 / 1; }
  .filtros-pie { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 380px) {
  .brand__n, .hdr-l .brand__n { font-size: clamp(1.8rem, 9vw, 2.2rem); }
  .brand__s { letter-spacing: .1em; }
  .hdr-cart { min-width: 44px; padding: 0 .6rem; }
  .footer-top { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  [data-animate] { transition: none !important; }
  [data-animate] .card__img img { scale: 1; }
  .btn, .card__img img, .float-btn, .card__quick, .cat__c, .cat__c::after, .drawer, .modal-box, .filtros, .main-nav { transition: none !important; }
  .wsp-float::before, .icon-badge.bump, .float-badge.bump, .topbar-track.loop, .btn.sumado { animation: none !important; }
}

/* =====================================================================
   Lulu indumentaria — modelo 2 de la demo (negro #0B0B0B, amarillo de la
   etiqueta #F2E68A y del logo #FFFF00, papel #FAFAFA; Cabinet Grotesk +
   Switzer de Fontshare) sobre el motor.
   ===================================================================== */
:root {
  --color-logo: #FFFF00;
  --color-secondary-deep: #E4D46A;
  --color-on-dark: #EDEDE8;
  --color-on-dark-muted: #A9A8A1;
  --color-ok: #3C7A52;
  --color-line-strong: rgba(17, 17, 17, .24);
  --color-wsp: #1E7F46;
  --color-wsp-deep: #17683A;
  --fs-h1: clamp(2.3rem, 4.4vw, 3.9rem);
  --fs-h2: clamp(1.8rem, 3vw, 2.6rem);
  --cruce: 56px;
  --shadow-soft: 0 14px 34px rgba(0, 0, 0, .12);
}

body { font-weight: 400; line-height: 1.62; }
::selection { background: var(--color-secondary); color: #111; }
:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 3px; border-radius: 0; }
h1, h2, h3, .h2 { font-family: var(--font-display); font-weight: 800; line-height: 1; letter-spacing: -.01em; }
h3 { font-weight: 800; }
h1 em, h2 em, h3 em { color: inherit; }
.vacio p, .drawer-vacio p, .filtros-t, .cx-block legend, .cx-total dt, .cx-total dd, .estado-pedido, .envio__coordinar { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: -.005em; }
.eyebrow { font: 600 .7rem/1.3 var(--font-body); letter-spacing: .2em; text-transform: uppercase; color: var(--color-text-muted); }

/* Botones: rectos, en mayúsculas y espaciados, como la demo. */
.btn { min-height: 48px; padding: .85rem 1.5rem; border-radius: var(--radius); border-width: 1px; font: 700 .78rem/1.1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.btn .ic { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.btn:hover .ic { transform: translateX(4px); }
.btn--cta { background: var(--color-cta); color: var(--color-cta-text); }
.btn--cta:hover { background: #2B2B29; }
.btn--cta[disabled]:hover { background: var(--color-cta); }
.btn--line { background: transparent; color: var(--color-primary); border-color: var(--color-line-strong); }
.btn--line:hover { background: rgba(0, 0, 0, .03); color: var(--color-primary); border-color: var(--color-primary); }
.btn--line[disabled]:hover { background: transparent; border-color: var(--color-line-strong); }
.btn--sm { min-height: 44px; padding: .7rem 1.1rem; font-size: .72rem; }
.btn--wsp { background: var(--color-wsp); color: #fff; }
.btn--wsp:hover { background: var(--color-wsp-deep); }
.btn--wsp .ic, .btn--wsp:hover .ic { transform: none; }
.btn.btn--agotado[disabled], .btn.btn--agotado[disabled]:hover, .btn.prod-add--agotado[disabled], .btn.prod-add--agotado[disabled]:hover { background: #E7E6E1; border-color: #E7E6E1; color: #55544F; }
@keyframes sumado { 0% { box-shadow: 0 0 0 0 rgba(242, 230, 138, .9); } 100% { box-shadow: 0 0 0 14px rgba(242, 230, 138, 0); } }
.link { color: var(--color-primary); text-decoration-color: var(--color-secondary-deep); text-decoration-thickness: 3px; }
.icon-btn { color: inherit; }
.icon-btn:hover { background: rgba(0, 0, 0, .06); }

/* Etiqueta colgante (la del logo): troquel a la izquierda y el agujerito del hilo. */
.etiqueta {
  position: relative; display: inline-flex; align-items: center; gap: .45rem; margin: 0;
  padding: .45rem .75rem .45rem 1.1rem; background: var(--color-secondary); color: #111;
  font: 700 .66rem/1.1 var(--font-body); letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; text-decoration: none;
  clip-path: polygon(.55rem 0, 100% 0, 100% 100%, .55rem 100%, 0 50%);
  -webkit-mask: radial-gradient(circle at .62rem 50%, transparent 2.4px, #000 3px);
  mask: radial-gradient(circle at .62rem 50%, transparent 2.4px, #000 3px);
}
.etiqueta--grande { padding: .8rem 1.3rem .8rem 1.7rem; font-size: .76rem; letter-spacing: .14em; clip-path: polygon(.85rem 0, 100% 0, 100% 100%, .85rem 100%, 0 50%); -webkit-mask: radial-gradient(circle at .95rem 50%, transparent 3.5px, #000 4.2px); mask: radial-gradient(circle at .95rem 50%, transparent 3.5px, #000 4.2px); }

/* Resaltador amarillo bajo una palabra del título. */
.resalte { position: relative; z-index: 0; display: inline-block; }
.resalte__marca { position: absolute; z-index: -1; left: -.06em; right: -.06em; bottom: .04em; height: .44em; background: var(--color-secondary); transform-origin: 0 50%; transform: scaleX(0); transition: transform .9s var(--ease) .45s; }
[data-animate].in .resalte__marca, .in .resalte__marca, .modo-editor .resalte__marca { transform: scaleX(1); }
@media (prefers-reduced-motion: reduce) { .resalte__marca { transform: none; transition: none; } }

/* ---------- Marca: LULU con la etiqueta amarilla colgando ---------- */
.brand { display: inline-flex; flex-direction: row; align-items: center; color: var(--color-primary); text-decoration: none; flex: none; }
.brand__marca { display: inline-flex; flex-direction: column; align-items: flex-start; line-height: 1; }
.brand__word { position: relative; font: 800 clamp(2.6rem, 3.6vw, 3.4rem)/.8 var(--font-display); letter-spacing: -.035em; }
.brand__tag {
  position: absolute; top: -.1em; right: -.4em; width: .3em; height: .44em; background: var(--color-logo);
  clip-path: polygon(50% 0, 100% 26%, 100% 100%, 0 100%, 0 26%); transform: rotate(16deg); transform-origin: 50% 0;
  -webkit-mask: radial-gradient(circle at 50% 30%, transparent 1.6px, #000 2.2px); mask: radial-gradient(circle at 50% 30%, transparent 1.6px, #000 2.2px);
  filter: drop-shadow(0 0 .6px rgba(0, 0, 0, .55));
}
.brand__sub { margin-top: .55rem; font: 600 .6rem/1 var(--font-body); letter-spacing: .52em; text-transform: uppercase; color: var(--color-text-muted); }
.brand__logo { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.brand__logo:not([hidden]) ~ .brand__marca { display: none; }

/* ---------- Abierto / cerrado según el horario ---------- */
.horario-estado { display: inline-flex; align-items: center; gap: .5rem; }
.horario-estado::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--color-secondary); box-shadow: 0 0 0 3px rgba(242, 230, 138, .25); flex-shrink: 0; }
.horario-estado.is-cerrado::before { background: #9C9B95; box-shadow: none; }

/* ---------- Barra superior negra ---------- */
.aviso { background: #000; color: var(--color-on-dark); font: 600 .68rem/1.3 var(--font-body); letter-spacing: .14em; text-transform: uppercase; }
.aviso__in { min-height: 38px; padding-block: .3rem; }
.aviso a { display: inline-flex; align-items: center; min-height: 30px; text-decoration: none; white-space: nowrap; }
.aviso a:hover { color: var(--color-secondary); }
.aviso__dir { display: flex; align-items: center; gap: .6rem; flex: none; min-width: 0; margin: 0; }
.aviso__dir .ic { width: 15px; height: 15px; color: var(--color-secondary); }
.aviso__dir .horario-estado { padding-left: .8rem; border-left: 1px solid rgba(255, 255, 255, .22); color: var(--color-on-dark-muted); }
.aviso__dir .horario-estado:not(.is-cerrado) { color: var(--color-secondary); }
.aviso__msgs { text-align: center; }
.topbar-item { color: var(--color-on-dark-muted); }
.topbar-sep { margin: 0 .8rem; opacity: .45; }
.aviso__rapidos { gap: 1.2rem; }
.aviso__rapidos a { min-height: 30px; min-width: 0; padding: 0; border-radius: 0; }
.aviso__rapidos a:hover { background: none; }

/* ---------- Encabezado: menú a la izquierda, marca al centro, herramientas a la derecha ---------- */
.site-header.hdr2 { position: relative; z-index: 17; background: var(--color-surface); border-bottom: 1px solid var(--color-line); color: var(--color-text); }
.hdr2__in { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); grid-template-areas: "nav marca acciones"; align-items: center; gap: 1rem; min-height: 104px; }
.hdr2 .brand { grid-area: marca; justify-self: center; }
.hdr2 .brand__marca { align-items: center; }
.hdr2 .main-nav { grid-area: nav; justify-self: start; display: flex; align-items: center; gap: .15rem; margin: 0; }
.hdr__acciones { grid-area: acciones; justify-self: end; display: flex; align-items: center; gap: .1rem; }
.hdr2 .main-nav > a, .nav-cats__btn {
  position: relative; display: inline-flex; align-items: center; gap: .3rem; min-height: 44px; padding: .5rem .8rem;
  font: 700 .76rem/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: inherit; white-space: nowrap; text-decoration: none;
}
.hdr2 .main-nav > a::after, .nav-cats__btn::after {
  content: ""; position: absolute; z-index: -1; left: .6rem; right: .6rem; bottom: 13px; height: 7px; background: var(--color-secondary);
  transform: scaleX(0); transform-origin: 0 50%; transition: transform .35s var(--ease);
}
.hdr2 .main-nav > a:hover::after, .nav-cats__btn:hover::after, .nav-cats.open .nav-cats__btn::after { transform: scaleX(1); }
.hdr2 .main-nav > .nav-wsp { display: none; }
.nav-cats__btn .ic { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.nav-cats.open .nav-cats__btn .ic { transform: rotate(180deg); }
.hdr2 .hdr-cart { min-height: 44px; min-width: 44px; padding: 0; border: 0; border-radius: 50%; background: none; justify-content: center; color: inherit; }
.icon-badge { top: 3px; right: 1px; min-width: 18px; height: 18px; font: 700 .64rem/1 var(--font-body); background: var(--color-secondary); color: #111; }

/* En la portada el encabezado va sobre la foto del hero, en blanco. */
body[data-pagina="inicio"] .site-header.hdr2 { position: absolute; left: 0; right: 0; background: transparent; border-bottom-color: rgba(255, 255, 255, .22); color: #fff; }
body[data-pagina="inicio"] .site-header.hdr2::before { content: ""; position: absolute; inset: 0 0 -56px; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, .55), rgba(0, 0, 0, 0)); pointer-events: none; }
body[data-pagina="inicio"] .hdr2 .brand, body[data-pagina="inicio"] .hdr2 .brand__sub { color: #fff; }
body[data-pagina="inicio"] .hdr2 .brand__tag { filter: none; }
body[data-pagina="inicio"] .hdr2 .icon-btn:hover { background: rgba(255, 255, 255, .14); }
body[data-pagina="inicio"] .hdr2 .main-nav > a::after, body[data-pagina="inicio"] .nav-cats__btn::after { z-index: 0; bottom: 9px; height: 2px; }

/* Menú «Categorías»: cada categoría con foto, bajada, cantidad y sus subcategorías. */
.nav-cats { position: relative; }
.cats-lista { display: grid; gap: .1rem 1rem; }
.cats-grupo { padding: .3rem 0; }
.nav-cats__item { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; align-items: center; gap: .8rem; padding: .45rem; color: var(--color-text); text-decoration: none; transition: background-color .25s var(--ease); }
.nav-cats__item:hover, .nav-cats__item[aria-current] { background: var(--color-bg-alt); }
.nav-cats__item img { width: 52px; height: 52px; object-fit: cover; object-position: 50% 20%; }
.nav-cats__txt { min-width: 0; }
.nav-cats__n { display: block; font: 800 1.05rem/1.1 var(--font-display); letter-spacing: .02em; text-transform: uppercase; }
.nav-cats__bajada { display: block; font-size: .8rem; line-height: 1.35; color: var(--color-text-muted); letter-spacing: 0; text-transform: none; }
.nav-cats__cant { padding: .3rem .5rem; border-radius: 999px; background: var(--color-secondary); color: #111; font: 700 .7rem/1 var(--font-body); letter-spacing: 0; }
.cats-subs { display: flex; flex-wrap: wrap; gap: 0 .9rem; padding: .1rem 0 0 calc(52px + 1.25rem); }
.cats-subs a { display: inline-flex; align-items: center; min-height: 32px; font-size: .84rem; color: var(--color-text-muted); text-decoration: none; letter-spacing: 0; text-transform: none; }
.cats-subs a:hover { color: var(--color-primary); text-decoration: underline; text-decoration-color: var(--color-secondary-deep); text-decoration-thickness: 3px; text-underline-offset: 3px; }
.cats-pie { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: .8rem; padding-top: .8rem; border-top: 1px solid var(--color-line); }
.cats-oferta, .nav-cats__todo { display: inline-flex; align-items: center; gap: .5rem; min-height: 40px; margin-left: auto; font: 700 .72rem/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; text-decoration: none; color: var(--color-primary); }
.cats-oferta { margin-left: 0; }
.nav-cats__todo .ic { width: 16px; height: 16px; }

.cats-pie .nav-cats__todo { margin-left: auto; }
/* Los enlaces del panel de categorías no llevan el subrayado ni el tamaño de los del menú. */
.main-nav .nav-cats__panel a::after { display: none; }
.main-nav .nav-cats__panel .nav-cats__item { padding: .45rem; font-weight: 400; font-size: 1rem; white-space: normal; border-bottom: 0; }
.main-nav .nav-cats__panel .cats-subs a { padding: 0; font-weight: 400; font-size: .84rem; border-bottom: 0; }
.main-nav .nav-cats__panel .cats-oferta, .main-nav .nav-cats__panel .nav-cats__todo { padding: 0; font-size: .72rem; font-weight: 700; border-bottom: 0; }
/* Barra de búsqueda que baja del encabezado. */
.busca.header-search { display: block; width: auto; padding: 0; border: 0; border-top: 1px solid var(--color-line); border-radius: 0; background: var(--color-surface); color: var(--color-text); box-shadow: none; }
.busca.header-search[hidden] { display: none; }
.header-search__in { display: flex; align-items: center; gap: .6rem; padding-block: .75rem; }
.header-search input { flex: 1; min-width: 0; height: 48px; padding: 0 1rem; border: 1px solid var(--color-line-strong); border-radius: var(--radius); background: var(--color-bg); outline: none; font-size: 1rem; }
.header-search input:focus { border-color: var(--color-primary); }

/* ---------- Hero: la vidriera a pantalla completa ---------- */
.hero--m2 { position: relative; min-height: calc(100svh - 38px); display: flex; align-items: flex-end; color: #fff; background: #000; padding: 0; }
.hero-m2__media { position: absolute; inset: 0; overflow: hidden; background: var(--color-bg-alt); }
.hero-m2__media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 42%; }
.hero--m2::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .62) 0%, rgba(0, 0, 0, .34) 34%, rgba(0, 0, 0, 0) 56%),
    linear-gradient(180deg, rgba(0, 0, 0, .3) 0%, rgba(0, 0, 0, 0) 22%, rgba(0, 0, 0, 0) 52%, rgba(0, 0, 0, .55) 100%);
}
.hero-m2__texto { position: relative; z-index: 2; width: 100%; padding-block: 150px clamp(4.5rem, 10vh, 6.5rem); }
.hero-m2__copy { position: relative; max-width: 530px; padding-left: 1.6rem; }
.hero-regla { position: absolute; left: 0; top: 0; bottom: 0; width: 8px; background: var(--color-secondary); }
.hero--m2 h1 { font: 800 clamp(2.6rem, 5.2vw, 4.8rem)/.96 var(--font-display); letter-spacing: -.015em; text-transform: uppercase; color: #fff; text-wrap: balance; }
.hero-eyebrow { display: flex; align-items: center; gap: .6rem; margin-bottom: 1rem; font: 700 .7rem/1.2 var(--font-body); letter-spacing: .2em; text-transform: uppercase; color: var(--color-secondary); }
.hero-lead { max-width: 40ch; margin-top: 1.1rem; font-size: 1.05rem; color: var(--color-on-dark); }
.hero-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.4rem; margin-top: 1.6rem; }
.hero--m2 .btn--cta { background: var(--color-bg); color: var(--color-primary); }
.hero--m2 .btn--cta:hover { background: var(--color-secondary); }
.hero-link { position: relative; z-index: 0; display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; font: 700 .78rem/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; text-decoration: none; color: #fff; }
.hero-link::after { content: ""; position: absolute; z-index: -1; left: -.15rem; right: -.15rem; bottom: 11px; height: 2px; background: var(--color-secondary); transform-origin: 0 50%; transition: transform .35s var(--ease); }
.hero-link:hover::after { transform: scaleX(1.08); }
.hero-link .ic { width: 15px; height: 15px; }
.hero-sello { position: absolute; z-index: 4; right: max(var(--gutter), calc((100% - var(--container)) / 2 + var(--gutter))); bottom: -22px; transform: rotate(-4deg); }

/* Etiquetas colgadas de las prendas de la foto (las ubica js/tienda.js). */
.vidriera__tags { position: absolute; inset: 0; z-index: 3; margin: 0; padding: 0; list-style: none; pointer-events: none; }
.tag-vidriera {
  position: absolute; left: 0; top: 0; display: flex; align-items: center; color: #111; text-decoration: none;
  pointer-events: auto; opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility 0s .5s;
}
.tag-vidriera.colgada { opacity: 1; visibility: visible; transition: opacity .5s var(--ease); }
.tag-vidriera.es-fuera { opacity: 0 !important; visibility: hidden !important; pointer-events: none; }
.tag-vidriera__punto { position: absolute; left: -7px; top: -7px; width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: 0 2px 10px rgba(0, 0, 0, .35); }
.tag-vidriera__punto::before { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .9); animation: punto-pulso 2.4s var(--ease) infinite; }
@keyframes punto-pulso { 0% { transform: scale(.7); opacity: .9; } 100% { transform: scale(1.5); opacity: 0; } }
.tag-vidriera__etiqueta { position: absolute; left: 14px; top: -16px; height: 32px; gap: .5rem; font-size: .64rem; transform-origin: 0 50%; transform: rotate(-16deg) translateY(-6px); transition: transform .7s cubic-bezier(0.34, 1.4, 0.64, 1); }
.tag-vidriera.colgada .tag-vidriera__etiqueta { transform: rotate(-3deg); }
.tag-vidriera:hover .tag-vidriera__etiqueta, .tag-vidriera:focus-visible .tag-vidriera__etiqueta { transform: rotate(0deg) scale(1.05); }
.tag-vidriera.es-izq .tag-vidriera__etiqueta {
  left: auto; right: 14px; transform-origin: 100% 50%; padding: .45rem 1.1rem .45rem .75rem;
  clip-path: polygon(0 0, calc(100% - .55rem) 0, 100% 50%, calc(100% - .55rem) 100%, 0 100%);
  -webkit-mask: radial-gradient(circle at calc(100% - .62rem) 50%, transparent 2.4px, #000 3px); mask: radial-gradient(circle at calc(100% - .62rem) 50%, transparent 2.4px, #000 3px);
  transform: rotate(16deg) translateY(-6px);
}
.tag-vidriera.es-izq.colgada .tag-vidriera__etiqueta { transform: rotate(3deg); }
.tag-vidriera.es-izq:hover .tag-vidriera__etiqueta, .tag-vidriera.es-izq:focus-visible .tag-vidriera__etiqueta { transform: rotate(0deg) scale(1.05); }
.tag-vidriera:focus-visible { outline: none; }
.tag-vidriera:focus-visible .tag-vidriera__punto { outline: 2px solid #fff; outline-offset: 4px; }
.tag-vidriera__nombre { font-weight: 600; }
.tag-vidriera__precio { font-variant-numeric: tabular-nums; }
.tag-vidriera__precio:empty { display: none; }

/* ---------- Encabezados de sección ---------- */
.mosaico-sec, .puertas { position: relative; padding-block: var(--section-pad-y); }
.sec-head--fila { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 1rem 1.25rem; max-width: none; margin-bottom: clamp(1.4rem, 3vw, 2.1rem); }
.container.sec-head--fila { max-width: calc(var(--container) + 2 * var(--gutter)); }
.sec-tit { font: 800 var(--fs-h2)/.98 var(--font-display); letter-spacing: -.01em; text-transform: uppercase; color: var(--color-primary); text-wrap: balance; }
.sec-link { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; font: 700 .76rem/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--color-primary); text-decoration: none; white-space: nowrap; }
.sec-link .ic { width: 17px; height: 17px; transition: transform .3s var(--ease); }
.sec-link:hover .ic { transform: translateX(4px); }

/* ---------- Tarjeta de producto (misma en PHP y JS) ---------- */
.card__img { border-radius: 0; background: var(--color-bg-alt); }
.card__badges { top: 10px; left: 8px; gap: 6px; }
.badge {
  padding: .36rem .6rem .36rem .95rem; border-radius: 0; background: var(--color-secondary); color: #111;
  font: 700 .6rem/1.1 var(--font-body); letter-spacing: .1em; text-transform: uppercase;
  clip-path: polygon(.5rem 0, 100% 0, 100% 100%, .5rem 100%, 0 50%);
  -webkit-mask: radial-gradient(circle at .55rem 50%, transparent 2px, #000 2.6px); mask: radial-gradient(circle at .55rem 50%, transparent 2px, #000 2.6px);
}
.badge::before { display: none; }
.badge--off { background: #111; color: #fff; }
.badge--poco { background: var(--color-surface); color: var(--color-text-muted); }
.badge--sin { background: #111; color: #fff; border-radius: 0; }
.card__talles {
  position: absolute; left: 8px; right: 8px; bottom: 8px; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; gap: .3rem;
  padding: .5rem .6rem; background: rgba(250, 250, 250, .95); pointer-events: none;
  transform: translateY(calc(100% + 12px)); transition: transform .45s var(--ease);
}
.card__media { overflow: hidden; }
.card__talles > span { min-width: 26px; padding: .1rem .3rem; border: 1px solid var(--color-line); text-align: center; font-size: .7rem; font-weight: 600; color: var(--color-text); }
.card__talles .card__talles-t { min-width: 0; padding: 0 .2rem 0 0; border: 0; font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--color-text-muted); }
.card__media:hover .card__talles { transform: none; }
@media (hover: none) { .card__talles { display: none; } }
.card__body { gap: .2rem; padding-top: .8rem; }
.card__marca { order: 0; font: 600 .66rem/1.2 var(--font-body); letter-spacing: .16em; color: var(--color-text-muted); }
.card__t { font: 700 .98rem/1.28 var(--font-body); }
.card__t a:hover { text-decoration: underline; text-decoration-color: var(--color-secondary-deep); text-decoration-thickness: 4px; text-underline-offset: 2px; }
.card__meta { font-size: .8rem; color: var(--color-text-muted); }
.card__fila { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.precio { gap: .1rem .5rem; }
.precio__desde { font: 500 .74rem/1 var(--font-body); }
.precio__f { font: 700 1.02rem/1.15 var(--font-body); color: var(--color-primary); }
.precio__o { font-size: .84em; }
.swatches { display: inline-flex; align-items: center; flex: none; }
.swatch { display: inline-block; width: 16px; height: 16px; border-radius: 50%; background: var(--sw); box-shadow: 0 0 0 2px var(--color-surface), inset 0 0 0 1px rgba(0, 0, 0, .14); }
.swatch + .swatch { margin-left: -4px; }
.swatches__mas { margin-left: .3rem; font-size: .74rem; color: var(--color-text-muted); }
.prod-actions { padding-top: .5rem; }
.prod-add { min-height: 44px; padding: 0 .7rem; font-size: .7rem; letter-spacing: .1em; }
.stepper { height: 44px; border-width: 1px; border-color: var(--color-line-strong); border-radius: var(--radius); }
.stepper button { border-radius: 0; color: var(--color-primary); }
.card__comprar { min-height: 40px; color: var(--color-primary); font: 700 .7rem/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; text-decoration-color: var(--color-secondary-deep); text-decoration-thickness: 3px; text-underline-offset: 5px; }
@container card (max-width: 210px) { .swatches { display: none; } }

/* ---------- Novedades: mosaico con la primera prenda grande ---------- */
.mosaico-sec { z-index: 2; background: var(--color-bg); padding-top: calc(var(--section-pad-y) + 20px); }
.mosaico { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2.25rem 1.25rem; margin: 0; padding: 0; list-style: none; }
.mosaico__item { display: flex; min-width: 0; }
.mosaico__item > * { flex: 1; min-width: 0; }
.mosaico__item--grande { grid-column: span 2; grid-row: span 2; }
.mosaico__item--cta { grid-column: span 2; }
.mosaico__item--grande .card-wrap, .mosaico__item--grande .card { height: 100%; }
.mosaico__item--grande .card__media { flex: 1 1 auto; display: flex; }
.mosaico__item--grande .card__body { flex: none; }
.mosaico__item--grande .card__img { aspect-ratio: auto; min-height: 440px; height: 100%; }
.mosaico__item--grande .card__img img { position: absolute; inset: 0; }
.mosaico__item--grande .card__t { font: 800 clamp(1.5rem, 2.4vw, 2.1rem)/1 var(--font-display); text-transform: uppercase; letter-spacing: -.01em; }
.mosaico-cta {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 1rem; height: 100%; min-height: 200px;
  padding: clamp(1.25rem, 2.5vw, 1.8rem); background: var(--color-primary); color: var(--color-on-dark); text-decoration: none; overflow: hidden;
  transition: background-color .3s var(--ease);
}
.mosaico-cta:hover { background: #1d1d1b; }
.mosaico-cta__n { position: relative; z-index: 0; align-self: flex-start; font: 800 clamp(4rem, 8vw, 6.4rem)/.8 var(--font-display); color: #fff; }
.mosaico-cta__n::after { content: ""; position: absolute; z-index: -1; left: -.04em; right: -.06em; bottom: .02em; height: .32em; background: var(--color-secondary); opacity: .9; }
.mosaico-cta strong { max-width: 24ch; font-weight: 500; font-size: 1.05rem; color: var(--color-on-dark); }
.mosaico-cta__link { display: inline-flex; align-items: center; gap: .5rem; font: 700 .74rem/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--color-secondary); }
.mosaico-cta__link .ic { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.mosaico-cta:hover .mosaico-cta__link .ic { transform: translateX(4px); }
.mosaico-sec .vacio { margin-top: 0; padding: clamp(1.5rem, 4vw, 2.5rem); border-top: 0; background: var(--color-bg-alt); }

/* ---------- Comprá por sección: dos puertas a pantalla ---------- */
.puertas { background: var(--color-bg); padding-bottom: 0; }
.puertas__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
.puertas__grid > li { min-width: 0; }
.puerta { position: relative; display: block; height: clamp(440px, 72svh, 680px); overflow: hidden; color: #fff; text-decoration: none; background: var(--color-primary); }
.puerta__foto { position: absolute; inset: 0; overflow: hidden; }
.puerta__foto img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; transition: transform 1s var(--ease); }
.puerta::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, .7) 100%); pointer-events: none; }
.puerta:hover .puerta__foto img { transform: scale(1.04); }
.puerta__txt { position: absolute; z-index: 1; left: clamp(1.2rem, 3vw, 2.6rem); right: clamp(1.2rem, 3vw, 2.6rem); bottom: clamp(1.4rem, 3vw, 2.4rem); display: grid; justify-items: start; gap: .5rem; }
.puerta__tit { font: 800 clamp(3.4rem, 8vw, 7.2rem)/.8 var(--font-display); letter-spacing: -.03em; text-transform: uppercase; }
.puerta__n { font-size: .9rem; color: var(--color-on-dark); }
.puerta__n:empty { display: none; }
.puerta__subs { max-width: 40ch; font-size: .95rem; color: var(--color-on-dark); }
.puerta__cta { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; margin-top: .2rem; padding: 0 1.1rem; background: var(--color-secondary); color: #111; font: 700 .76rem/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; }
.puerta__cta .ic { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.puerta:hover .puerta__cta .ic { transform: translateX(4px); }
[data-animate="cortina"].in { clip-path: inset(0 0 0 0) !important; }
.modo-editor [data-animate="cortina"] { clip-path: inset(0 0 0 0) !important; }

/* ---------- El local: mapa a pantalla con la tarjeta del horario encima ---------- */
.local--m2 { position: relative; z-index: 3; padding: 0; background: var(--color-bg); }
.local__mapa-full { position: relative; }
.local--m2 .mapa { position: relative; z-index: 0; width: 100%; height: clamp(520px, 78svh, 660px); border-radius: 0; background: #DADAD4; }
.local--m2 .mapa .leaflet-tile-pane { filter: grayscale(1) contrast(1.05) brightness(1.04); }
.mapa--sin { display: grid; place-items: center; }
.local__over { position: absolute; z-index: 5; inset: auto 0 calc(-1 * var(--cruce)); pointer-events: none; }
.local__over .container { display: flex; align-items: flex-end; }
.local__card { display: grid; justify-items: start; gap: .85rem; width: min(470px, 100%); padding: clamp(1.4rem, 3vw, 2.2rem); background: var(--color-surface); box-shadow: var(--shadow-lg); pointer-events: auto; }
.local__bajada { max-width: 48ch; color: var(--color-text-muted); }
.horario { width: 100%; max-width: 460px; border-collapse: collapse; border-top: 1px solid var(--color-line-strong); font-variant-numeric: tabular-nums; }
.horario th, .horario td { padding: .75rem .1rem; border-bottom: 1px solid var(--color-line-strong); text-align: left; vertical-align: top; }
.horario th { font-weight: 600; white-space: nowrap; }
.horario td { text-align: right; color: var(--color-text-muted); }
.horario td span { white-space: nowrap; }
.horario td span + span::before { content: "·"; margin: 0 .5rem; }
.horario tr.is-hoy th::after { content: "Hoy"; margin-left: .55rem; padding: .15rem .45rem; background: var(--color-secondary); color: #111; font-size: .66rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; vertical-align: .12em; }
.local__ctas { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .4rem; }
.local__redes { display: flex; flex-wrap: wrap; gap: .2rem 1.4rem; margin: 0; padding: 0; list-style: none; }
.local__redes a { display: inline-flex; align-items: center; gap: .55rem; min-height: 44px; font-weight: 600; text-decoration: none; }
.local__redes a:hover { text-decoration: underline; text-decoration-color: var(--color-secondary-deep); text-decoration-thickness: 4px; text-underline-offset: 2px; }
.local__redes .ic { width: 20px; height: 20px; }
.ic--wsp { color: #1E9E4A; }
.estado-sello { position: absolute; z-index: 6; right: max(var(--gutter), calc((100% - var(--container)) / 2 + var(--gutter))); bottom: calc(-1 * var(--cruce) - 18px); }
.estado-sello .horario-estado::before { background: var(--color-ok); box-shadow: 0 0 0 3px rgba(60, 122, 82, .25); }
.estado-sello .horario-estado.is-cerrado::before { background: #111; box-shadow: none; }
.pin-lulu { display: flex; flex-direction: column; align-items: center; }
.pin-lulu__tag { padding: .45rem .7rem; background: #0B0B0B; color: var(--color-logo); font: 800 .95rem/1 var(--font-display); letter-spacing: .02em; box-shadow: 0 6px 16px rgba(0, 0, 0, .3); }
.pin-lulu__punto { width: 2px; height: 16px; background: #0B0B0B; }
.pin-lulu__punto::after { content: ""; display: block; width: 10px; height: 10px; margin: 14px 0 0 -4px; border-radius: 50%; background: #0B0B0B; box-shadow: 0 0 0 2px #fff; }
[data-animate="mascara"] { clip-path: inset(100% 0 0 0); }

/* ---------- Pie negro ---------- */
.site-footer { position: relative; display: flow-root; margin-top: clamp(28px, 4vw, 52px); padding-bottom: 0; background: #000; color: var(--color-on-dark); }
body[data-pagina="inicio"] .site-footer { margin-top: 0; }
.site-footer a, .site-footer button { color: var(--color-on-dark); }
.footer__top { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); gap: 2rem; padding-block: 4rem 2.4rem; }
body[data-pagina="inicio"] .footer__top { padding-top: calc(4rem + var(--cruce)); }
.brand--footer { color: #fff; }
.brand--footer .brand__sub { color: var(--color-on-dark-muted); }
.brand--footer .brand__tag { filter: none; }
.footer__marca p { max-width: 32ch; margin-top: 1.2rem; font-size: .92rem; color: var(--color-on-dark-muted); }
.footer__col { display: grid; align-content: start; justify-items: start; gap: .1rem; }
.footer__t { margin-bottom: 1rem; font: 700 .72rem/1.2 var(--font-body); letter-spacing: .18em; text-transform: uppercase; color: var(--color-secondary); }
.footer__col a, .footer-links a { display: inline-flex; align-items: center; gap: .55rem; min-height: 40px; font-size: .94rem; color: var(--color-on-dark); text-decoration: none; }
.footer__col a:hover, .footer-links a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--color-secondary); text-underline-offset: 4px; }
.footer__col p:not(.footer__t) { margin-bottom: .8rem; font-size: .92rem; line-height: 1.55; color: var(--color-on-dark); }
.footer__suave { color: var(--color-on-dark-muted); }
.footer-links { display: grid; justify-items: start; }
.footer__col .ic { width: 20px; height: 20px; }
.footer__wa .ic { color: #6CC08A; }
.footer-legal-extra { padding-top: 1rem; }
.footer-legal-extra a { color: var(--color-on-dark-muted); }
.footer__pie { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .5rem 1rem; padding-block: 1.4rem 1.5rem; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .84rem; color: var(--color-on-dark-muted); }
.site-footer .footer__pie a { display: inline-flex; align-items: center; min-height: 44px; color: #fff; text-decoration: underline; text-decoration-color: var(--color-secondary); text-underline-offset: 3px; }
.site-footer :focus-visible { outline-color: #fff; }

/* ---------- Catálogo: cabecera negra centrada con las categorías ---------- */
.cat-head { padding-block: clamp(2.2rem, 4vw, 3.4rem) clamp(1.6rem, 3vw, 2.4rem); background: #000; color: #fff; text-align: center; }
.cat-head .migas ol { justify-content: center; color: var(--color-on-dark-muted); }
.cat-head .migas a:hover { color: #fff; }
.cat-head .migas [aria-current] { color: #fff; }
.cat-head .migas li + li::before { color: rgba(255, 255, 255, .3); }
.cat-head .tienda-h1 { margin: 0; font: 800 clamp(2.8rem, 6.4vw, 5.4rem)/.95 var(--font-display); letter-spacing: -.01em; text-transform: uppercase; color: #fff; }
.cat-head__bajada { max-width: 62ch; margin: .7rem auto 0; color: var(--color-on-dark); }
.cat-head .chips-cat { width: max-content; max-width: 100%; margin: 1.2rem auto 0; padding-bottom: .2rem; }
.cat-head .chip-cat { min-height: 42px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 999px; background: transparent; color: #fff; font: 600 .88rem/1 var(--font-body); }
.cat-head .chip-cat:hover { border-color: #fff; }
.cat-head .chip-cat .chip-n { color: var(--color-on-dark-muted); opacity: 1; }
.cat-head .chip-cat[aria-pressed="true"] { background: var(--color-secondary); border-color: var(--color-secondary); color: #111; }
.cat-head .chip-cat[aria-pressed="true"] .chip-n { color: #3d3a22; }
.sec--tienda { background: var(--color-bg); padding-top: clamp(1.5rem, 3vw, 2.5rem); }
.tienda-tools { display: flex; align-items: center; gap: .8rem; margin-bottom: 1rem; }
.tienda-count { margin-left: auto; font-size: .88rem; font-weight: 500; }
.orden { font-size: .86rem; font-weight: 500; color: var(--color-text-muted); }
.orden select { min-height: 48px; border-width: 1px; border-color: var(--color-line-strong); border-radius: var(--radius); color: var(--color-text); font-weight: 500; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111111' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); }
.filtros-toggle { min-height: 48px; }
.filtros-n { background: var(--color-secondary); color: #111; }
.chips-cat--sub .chip-cat { min-height: 38px; border-width: 1px; border-radius: 999px; font: 600 .84rem/1 var(--font-body); }
.chips-cat--sub .chip-cat[aria-pressed="true"] { background: var(--color-primary); border-color: var(--color-primary); color: #fff; }
.pill { min-height: 36px; background: var(--color-secondary); color: #111; font: 600 .82rem/1 var(--font-body); }
.catalogo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.75rem 1.5rem; }
.catalogo-grid .card__t { font: 800 1.25rem/1.05 var(--font-display); text-transform: uppercase; letter-spacing: -.005em; }
.migas a:hover { color: var(--color-primary); }
.f-check input, .cx-opcion input, .checkbox-label input { accent-color: var(--color-primary); }
.filtros { background: var(--color-surface); }
.filtros-t { font-size: 1.5rem; color: var(--color-primary); }
.f-grupo legend { font: 700 .68rem/1 var(--font-body); letter-spacing: .18em; }
.f-talles { display: flex; flex-wrap: wrap; gap: .4rem; }
.f-talle { position: relative; }
.f-talle input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.f-talle span { display: grid; place-items: center; min-width: 44px; height: 40px; padding: 0 .6rem; border: 1px solid var(--color-line-strong); font-size: .84rem; font-weight: 600; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.f-talle input:checked + span { background: var(--color-primary); border-color: var(--color-primary); color: #fff; }
.f-talle input:focus-visible + span { outline: 2px solid var(--color-primary); outline-offset: 2px; }
.f-color .swatch { width: 20px; height: 20px; }
.vacio p { font-size: 1.2rem; }

/* ---------- Vista rápida, carrito, ficha y checkout con la marca ---------- */
.modal-box { border-radius: 0; background: var(--color-surface); }
.modal-back, .drawer-backdrop, .filtros-bd, .nav-backdrop { background: rgba(0, 0, 0, .45); }
.m-marca, .cp__k, .ticket__k, .pagos__k, .m-vars legend, .m-rel-t, .f-grupo legend { font-family: var(--font-body); font-weight: 700; letter-spacing: .16em; }
.m-marca { font-size: .7rem; }
.m-t { font: 800 clamp(1.7rem, 3vw, 2.4rem)/1 var(--font-display); text-transform: uppercase; color: var(--color-primary); }
.m-precio .precio__f { font-size: clamp(1.3rem, 2.2vw, 1.6rem); }
.m-foto, .m-thumb, .m-rel__img, .linea__img, .ficha-foto, .ficha-thumb, .cx-item img { border-radius: 0; }
.m-var { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: .1rem; min-width: 48px; min-height: 44px; padding: .4rem .75rem; border-width: 1px; border-color: var(--color-line-strong); border-radius: 0; }
.m-var b { font-weight: 600; font-size: .9rem; }
.m-var--sw { flex-direction: row; gap: .5rem; }
.m-var__sw { width: 18px; height: 18px; flex: none; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .14); }
.m-var:hover:not(:disabled) { border-color: var(--color-primary); }
.m-var[aria-pressed="true"] { background: var(--color-primary); border-color: var(--color-primary); color: #fff; }
.m-var[aria-pressed="true"] small { color: rgba(255, 255, 255, .75); }
.m-stock { color: var(--color-ok); font-weight: 600; }
.m-stock--poco { color: #8A6D00; }
.m-stock--sin { color: var(--color-text-muted); }
.m-wsp, .ficha-wsp { color: var(--color-primary); font-weight: 600; }
.m-thumb[aria-pressed="true"], .ficha-thumb[aria-pressed="true"] { border-color: var(--color-primary); }

.drawer { background: var(--color-surface); }
.drawer-head h2 { font: 800 1.5rem/1 var(--font-display); text-transform: uppercase; color: var(--color-primary); }
.linea__t { font: 700 .95rem/1.3 var(--font-body); }
.linea__pr, .drawer-tot__total dd { font-weight: 700; }
.drawer-tot__total dd { font-size: 1.25rem; }
.stepper--linea { border-radius: 0; }
.cupon__campo input, .cx-cupon input { border-radius: var(--radius); border-width: 1px; }

.ficha-nombre { font: 800 clamp(2rem, 4vw, 3rem)/1 var(--font-display); text-transform: uppercase; color: var(--color-primary); }
.ficha-bloque { border-radius: 0; }
.ficha-bloque h2 { font: 800 1.1rem/1.2 var(--font-display); text-transform: uppercase; }
.relacionados { background: var(--color-bg-alt); }
.relacionados h2 { font: 800 var(--fs-h2)/1 var(--font-display); text-transform: uppercase; }
.estado-eyebrow { border-radius: 0; background: var(--color-secondary); color: #111; font-weight: 700; }
.estado-icono, .cx-ok-icono { background: var(--color-bg-alt); color: var(--color-primary); }
.estado-t, .checkout-cabecera h1 { text-transform: uppercase; color: var(--color-primary); }
.cx-block, .cx-resumen-card, .cx-ok-card, .estado-detalle, .checkout-estado { border-radius: 0; }
.cx-grid input, .cx-grid select, .cx-full textarea, .cx-franja select, .form-legal input, .form-legal textarea { border-width: 1px; border-color: var(--color-line-strong); border-radius: var(--radius); font-weight: 500; }
.cx-grid input:focus, .cx-grid select:focus, .cx-full textarea:focus, .cx-cupon input:focus, .form-legal input:focus, .form-legal textarea:focus { border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(242, 230, 138, .7); }
.cx-opcion { border-width: 1px; border-radius: 0; }
.cx-opcion--on { border-color: var(--color-primary); background: #FBF9E8; }
.cx-transferencia, .cx-transfer-datos { border-radius: 0; background: #FBF7D8; }

.cart-float { background: var(--color-cta); color: var(--color-cta-text); }
.float-btn { width: 54px; height: 54px; box-shadow: 0 10px 26px rgba(0, 0, 0, .22); }
.float-badge { background: var(--color-secondary); color: #111; }
.toast { border-radius: 0; background: #111; font-weight: 500; }
.toast svg { color: var(--color-secondary); }

/* ---------- Responsive del modelo 2 ---------- */
@media (min-width: 981px) {
  .nav-cats__panel {
    position: absolute; top: calc(100% + 10px); left: -12px; z-index: 40; width: min(560px, 80vw); padding: 1rem 1.1rem;
    background: var(--color-surface); color: var(--color-text); border: 1px solid var(--color-line); box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden; transform: translateY(8px);
    transition: opacity .25s var(--ease), transform .3s var(--ease), visibility 0s .3s;
  }
  .nav-cats__panel::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
  .nav-cats.open .nav-cats__panel { opacity: 1; visibility: visible; transform: none; transition: opacity .25s var(--ease), transform .3s var(--ease); }
  .cats-lista { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 981px) and (max-width: 1120px) {
  .hdr2 .main-nav > a, .nav-cats__btn { padding-inline: .5rem; letter-spacing: .08em; }
  .hdr2 .main-nav > a[data-nav-extra] { display: none; }
}
@media (max-width: 1100px) {
  .footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1024px) {
  .catalogo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .hdr2__in { display: flex; min-height: 76px; gap: .5rem; }
  .hdr2 .brand { justify-self: auto; }
  .hdr2 .brand__marca { align-items: flex-start; }
  .brand__word { font-size: 2.45rem; }
  .brand__sub { margin-top: .45rem; font-size: .52rem; }
  .hdr__acciones { margin-left: auto; }
  .menu-toggle { display: grid; place-items: center; width: 44px; height: 44px; color: inherit; }
  .menu-toggle .ic { width: 24px; height: 24px; }
  .hdr2 .main-nav {
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 120; width: 86%; max-width: 360px; height: 100dvh; margin: 0; overflow-y: auto;
    display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0;
    padding: 1rem 1.25rem calc(1.5rem + env(safe-area-inset-bottom)); background: var(--color-surface); color: var(--color-text);
    transform: translateX(100%); visibility: hidden; box-shadow: none; transition: transform .38s var(--ease-out), visibility 0s .38s, box-shadow 0s .38s;
  }
  .hdr2 .main-nav.open { transform: translateX(0); visibility: visible; box-shadow: var(--shadow-lg); transition: transform .38s var(--ease-out); }
  .nav-close { display: flex; align-items: center; justify-content: center; align-self: flex-end; width: 44px; height: 44px; margin-bottom: .4rem; border-radius: 50%; background: var(--color-bg-alt); color: var(--color-text); }
  .hdr2 .main-nav > a, .nav-cats__btn { width: 100%; justify-content: space-between; min-height: 52px; padding: .75rem .25rem; border-bottom: 1px solid var(--color-line); font-size: .8rem; color: var(--color-text); }
  body[data-pagina="inicio"] .hdr2 .main-nav > a, body[data-pagina="inicio"] .nav-cats__btn { color: var(--color-text); }
  .hdr2 .main-nav > a::after, .nav-cats__btn::after { display: none; }
  .hdr2 .main-nav > .nav-wsp { display: flex; justify-content: flex-start; gap: .6rem; margin-top: 1rem; min-height: 48px; padding: .7rem 1rem; border-bottom: 0; background: var(--color-wsp); color: #fff; font: 600 .95rem/1 var(--font-body); letter-spacing: 0; text-transform: none; }
  .nav-cats { order: -1; }
  .nav-close { order: -2; }
  .nav-cats__panel { display: none; padding: .5rem 0 .8rem; border-bottom: 1px solid var(--color-line); }
  .nav-cats.open .nav-cats__panel { display: block; }
  .nav-cats__item { grid-template-columns: 44px minmax(0, 1fr) auto; }
  .nav-cats__item img { width: 44px; height: 44px; }
  .cats-subs { padding-left: calc(44px + 1.25rem); }
  .cats-subs a { min-height: 40px; }
  .cats-pie { flex-direction: column; align-items: flex-start; gap: 0; }
  .cats-pie .nav-cats__todo { margin-left: 0; }
  .nav-backdrop { position: fixed; inset: 0; z-index: 110; opacity: 0; visibility: hidden; transition: opacity .3s var(--ease-out), visibility 0s .3s; }
  .nav-backdrop.open { opacity: 1; visibility: visible; transition: opacity .3s var(--ease-out); }
  .mosaico { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem .75rem; }
  .mosaico__item--grande { grid-column: span 2; grid-row: auto; }
  .mosaico__item--grande .card__img { aspect-ratio: 1 / 1; min-height: 0; height: auto; }
}
@media (max-width: 860px) {
  .aviso__msgs { display: none; }
  .aviso__in { justify-content: space-between; }
}
@media (max-width: 760px) {
  .aviso__rapidos { display: none; }
  .aviso__in { justify-content: center; }
  .aviso__ciudad { display: none; }
  .hero--m2 { min-height: 92svh; }
  .hero-m2__media > img { object-position: 57% 40%; }
  .hero--m2::before { background: linear-gradient(180deg, rgba(0, 0, 0, .45) 0%, rgba(0, 0, 0, .05) 18%, rgba(0, 0, 0, .1) 38%, rgba(0, 0, 0, .72) 62%, rgba(0, 0, 0, .9) 100%); }
  .hero-m2__texto { padding-bottom: 4.25rem; }
  .hero-m2__copy { padding-left: 1.2rem; }
  .local--m2 .mapa { height: 340px; }
  .local__over { position: relative; inset: auto; margin-top: -64px; pointer-events: auto; }
  .local__over .container { padding-bottom: 2.8rem; }
  .local__card { width: 100%; }
  .estado-sello { bottom: auto; top: 14px; }
  .local--m2 .leaflet-control-zoom { display: none; }
  body[data-pagina="inicio"] .footer__top { padding-top: 3.2rem; }
  .catalogo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem .75rem; }
  .catalogo-grid .card__t { font-size: 1.05rem; }
  .tienda-tools { flex-wrap: wrap; }
  .tienda-count { order: 3; width: 100%; margin-left: 0; }
}
@media (max-width: 700px) {
  .tag-vidriera__nombre { display: none; }
  .tag-vidriera__etiqueta { top: -14px; height: 28px; }
  .puertas__grid { grid-template-columns: minmax(0, 1fr); }
  .puerta { height: clamp(380px, 62svh, 520px); }
}
@media (max-width: 640px) {
  .catalogo-grid .card__meta, .catalogo-grid .swatches { display: none; }
}
@media (max-width: 560px) {
  .footer__top { grid-template-columns: minmax(0, 1fr); padding-top: 3.2rem; }
  .hero-ctas .btn { flex: 0 0 auto; }
}
@media (max-width: 480px) {
  .horario td span { display: block; }
  .horario td span + span::before { content: none; }
}
@media (max-width: 400px) {
  .brand__word { font-size: 2.2rem; }
  .aviso { letter-spacing: .08em; }
  .aviso__dir .horario-estado { padding-left: .5rem; }
}
@media (prefers-reduced-motion: reduce) {
  .tag-vidriera, .tag-vidriera__etiqueta, .card__talles, .puerta__foto img, .hdr2 .main-nav, .nav-cats__panel { transition: none !important; }
  .tag-vidriera__punto::before { animation: none; }
}

/* Mercado Pago: logo en la opción de pago y «Pago seguro» bajo el botón (chip blanco: se lee sobre cualquier fondo). */
.cx-mp-logo { height: 30px; width: auto; padding: 3px 7px; border-radius: 6px; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .08); }
.cx-pago-seguro { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .45rem; margin: 0; font-size: .92rem; font-weight: 600; }
.cx-pago-seguro[hidden] { display: none; }
.cx-pago-seguro svg { width: 16px; height: 16px; flex: none; }
.cx-pago-seguro-logo { height: 28px; width: auto; padding: 3px 6px; border-radius: 6px; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .08); }
