/* Premium Jeans — ver design-system.md */
:root {
  --indigo-900: #121A2E;
  --indigo-800: #18233F;
  --indigo-700: #1F2E52;
  --indigo-500: #3A5184;
  --indigo-200: #C9D2E6;
  --copper: #B8692E;
  --copper-dark: #94511F;
  --cotton: #F6F3EE;
  --cotton-2: #EFEAE1;
  --surface: #FFFFFF;
  --ink: #161A23;
  --muted: #5B6273;
  --line: #E2DDD3;

  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(18, 26, 46, .06), 0 2px 6px rgba(18, 26, 46, .05);
  --shadow-md: 0 6px 16px rgba(18, 26, 46, .08), 0 2px 4px rgba(18, 26, 46, .05);
  --shadow-lg: 0 20px 40px rgba(18, 26, 46, .18);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --dur: 200ms;

  --z-header: 40;
  --z-float: 50;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cotton);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--indigo-700); }
h1, h2, h3 { font-stretch: 112%; line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.25rem, 5.5vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.5rem); font-weight: 800; color: var(--indigo-900); }
h3 { font-size: 1.35rem; font-weight: 700; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--copper-dark); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); z-index: 100; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--copper); outline-offset: 3px; border-radius: 4px; }

/* Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px;
  font: 600 1rem/1 var(--font); text-decoration: none; cursor: pointer;
  border: 2px solid transparent; border-radius: 999px;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
  touch-action: manipulation;
}
.btn:active { transform: scale(.97); }
.btn-sm { min-height: 44px; padding: 10px 18px; font-size: .95rem; }
.btn-lg { min-height: 56px; padding: 16px 28px; font-size: 1.1rem; }
.btn-block { width: 100%; }
.btn-accent { background: var(--copper-dark); color: #fff; }
.btn-accent:hover { background: #7C4318; }
.btn-primary { background: var(--indigo-700); color: #fff; }
.btn-primary:hover { background: var(--indigo-900); }
.btn-ghost-light { border-color: rgba(246, 243, 238, .6); color: var(--cotton); }
.btn-ghost-light:hover { background: rgba(246, 243, 238, .1); border-color: var(--cotton); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: rgba(18, 26, 46, .96);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--cotton); text-decoration: none; }
.brand-logo { width: 44px; height: 44px; border-radius: 50%; flex: none; }
.brand-name { font-weight: 800; font-stretch: 118%; font-size: 1.1rem; text-transform: uppercase; letter-spacing: .04em; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav ul { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; }
.site-nav ul a { color: var(--indigo-200); text-decoration: none; font-weight: 500; padding: 10px 2px; transition: color var(--dur); }
.site-nav ul a:hover { color: #fff; }
.nav-toggle { display: none; background: none; border: 0; color: var(--cotton); width: 48px; height: 48px; border-radius: 10px; cursor: pointer; }

@media (max-width: 860px) {
  .nav-toggle { display: grid; place-items: center; }
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 8px;
    padding: 12px 20px 20px; background: var(--indigo-900);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { display: block; padding: 14px 4px; font-size: 1.05rem; border-bottom: 1px solid rgba(255, 255, 255, .06); }
  .site-nav .btn { margin-top: 8px; }
}

/* Hero */
.hero {
  position: relative; overflow: hidden; color: var(--cotton);
  background:
    radial-gradient(1200px 500px at 85% 10%, rgba(58, 81, 132, .55), transparent 60%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, .025) 0 2px, transparent 2px 6px),
    var(--indigo-900);
}
.hero-inner { display: grid; grid-template-columns: 1.5fr .5fr; gap: 32px; align-items: center; padding: 40px 20px 48px; }
.hero h1 { font-size: clamp(2rem, 4vw, 3rem); }
.eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #E3A56F; margin-bottom: 14px; }
.eyebrow-dark { color: var(--copper-dark); }
.lead { font-size: 1.15rem; color: var(--indigo-200); max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.hero .lead { font-size: 1.05rem; margin-bottom: 0; }
.hero-visual { justify-self: center; width: 100%; max-width: 220px; }
.hero-logo {
  width: 100%; height: auto; aspect-ratio: 1; border-radius: 50%;
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, .45));
  animation: hero-in 700ms var(--ease) both;
}
@keyframes hero-in { from { opacity: 0; transform: scale(.94) rotate(-6deg); } to { opacity: 1; transform: none; } }

/* Strip */
.strip { background: var(--indigo-800); color: var(--cotton); }
.strip-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; list-style: none; margin: 0 auto; padding: 18px 20px; }
.strip-list li { display: flex; align-items: center; justify-content: center; gap: 10px; font-weight: 600; font-size: .95rem; }
.strip-list svg { color: #E3A56F; flex: none; }

/* Secciones */
.section { padding: 88px 0; }
.section-alt { background: var(--cotton-2); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 32px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.section-head-center { flex-direction: column; align-items: center; text-align: center; gap: 8px; }
.section-sub { color: var(--muted); max-width: 36em; margin: 0; }

/* Catálogo */
.catalog-tools { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 12px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  min-height: 44px; padding: 10px 20px; border-radius: 999px; cursor: pointer;
  font: 600 .95rem var(--font); color: var(--indigo-700);
  background: var(--surface); border: 1.5px solid var(--line);
  transition: background-color var(--dur), color var(--dur), border-color var(--dur);
}
.chip:hover { border-color: var(--indigo-500); }
.chip.is-active { background: var(--indigo-700); border-color: var(--indigo-700); color: #fff; }
.search { position: relative; flex: 1 1 260px; max-width: 360px; }
.search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.search input {
  width: 100%; min-height: 48px; padding: 12px 16px 12px 42px;
  font: 400 1rem var(--font); color: var(--ink);
  background: var(--surface); border: 1.5px solid var(--line); border-radius: 999px;
}
.search input:focus { outline: none; border-color: var(--indigo-500); box-shadow: 0 0 0 3px rgba(58, 81, 132, .2); }
.result-count { color: var(--muted); font-size: .9rem; margin: 8px 0 20px; }

.product-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.product-card {
  display: flex; flex-direction: column; width: 100%; height: 100%; text-align: left; cursor: pointer;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); padding: 0; font: inherit; color: inherit;
  transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.product-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.product-media { position: relative; aspect-ratio: 3 / 4; background: var(--cotton-2); overflow: hidden; }
.product-media img { position: relative; width: 100%; height: 100%; object-fit: contain; transition: transform 400ms var(--ease); }
/* Fondo difuminado de la misma foto: rellena el marco sin recortar la prenda */
.photo-bg { position: absolute; inset: -32px; background: center / cover no-repeat; filter: blur(22px) saturate(.9); opacity: .85; }
.product-card:hover .product-media img { transform: scale(1.04); }
.product-body { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.product-ref { font-size: .78rem; font-weight: 700; letter-spacing: .08em; color: var(--muted); text-transform: uppercase; }
.product-name { font-weight: 700; font-size: 1.05rem; color: var(--indigo-900); }
.product-meta { font-size: .9rem; color: var(--muted); }
.product-price { margin-top: auto; padding-top: 8px; font-weight: 700; color: var(--copper-dark); font-variant-numeric: tabular-nums; }
.tag {
  position: absolute; top: 12px; left: 12px; padding: 5px 10px; border-radius: 999px;
  background: var(--copper-dark); color: #fff; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}

/* Imagen de relleno mientras llegan las fotos */
.placeholder {
  width: 100%; height: 100%; display: grid; place-items: center; text-align: center; padding: 16px;
  color: rgba(246, 243, 238, .85); font-weight: 800; font-stretch: 120%; letter-spacing: .08em; font-size: .85rem;
  background:
    repeating-linear-gradient(45deg, rgba(255, 255, 255, .05) 0 1px, transparent 1px 4px),
    linear-gradient(165deg, var(--ph-a, #3A5184), var(--ph-b, #1F2E52));
}
.placeholder[data-tono="Azul claro"] { --ph-a: #8FA4CF; --ph-b: #5670A3; }
.placeholder[data-tono="Azul medio"] { --ph-a: #5872A6; --ph-b: #2F4474; }
.placeholder[data-tono="Negro"] { --ph-a: #3A3D46; --ph-b: #16181D; }

.empty-state { text-align: center; padding: 48px 16px; color: var(--muted); }

/* Ventas */
.sales-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 920px; margin: 0 auto; }
.sales-card {
  position: relative; display: flex; flex-direction: column; gap: 4px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 32px; box-shadow: var(--shadow-sm);
}
.sales-card p { color: var(--muted); }
.sales-card .btn { margin-top: auto; }
.sales-card-featured { background: var(--indigo-900); color: var(--cotton); border-color: var(--indigo-900); box-shadow: var(--shadow-lg); }
.sales-card-featured h3 { color: #fff; }
.sales-card-featured p, .sales-card-featured .check-list { color: var(--indigo-200); }
.sales-card-featured strong { color: #fff; }
.badge {
  position: absolute; top: -12px; right: 24px; padding: 6px 12px; border-radius: 999px;
  background: var(--copper-dark); color: #fff; font-size: .78rem; font-weight: 700; letter-spacing: .04em;
}
.check-list { list-style: none; padding: 0; margin: 4px 0 28px; display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 30px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--copper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.steps { list-style: none; padding: 0; margin: 56px auto 0; max-width: 920px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.steps li { display: flex; gap: 14px; align-items: flex-start; }
.steps p { color: var(--muted); margin: 2px 0 0; font-size: .95rem; }
.step-n {
  flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  border: 2px dashed var(--copper); color: var(--copper-dark); font-weight: 800;
}

/* Oferta */
.offer { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.denim-panel {
  position: relative; aspect-ratio: 1; border-radius: 22px; box-shadow: var(--shadow-lg);
  background:
    repeating-linear-gradient(45deg, rgba(255, 255, 255, .06) 0 1px, transparent 1px 4px),
    linear-gradient(160deg, #4A6297, #1F2E52 70%);
}
.denim-panel::before {
  content: ""; position: absolute; inset: 18px; border-radius: 14px; border: 2px dashed rgba(227, 165, 111, .6);
}
.rivet {
  position: absolute; width: 22px; height: 22px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #F0C39A, #B8692E 55%, #6E3A14);
  box-shadow: 0 2px 4px rgba(0, 0, 0, .35);
}
.rivet:nth-child(1) { top: 40px; left: 40px; }
.rivet:nth-child(2) { bottom: 40px; right: 40px; }
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 28px 0 0; }
.features dt { font-weight: 800; font-stretch: 112%; color: var(--indigo-900); margin-bottom: 4px; }
.features dd { margin: 0; color: var(--muted); font-size: .95rem; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 56px 18px 22px; min-height: 56px;
  font-weight: 700; color: var(--indigo-900); position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--indigo-700); border-bottom: 2px solid var(--indigo-700);
  transform: rotate(45deg); transition: transform var(--dur) var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { padding: 0 22px 20px; margin: 0; color: var(--muted); }

/* CTA final */
.cta { background: var(--indigo-700); color: var(--cotton); }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 64px 20px; flex-wrap: wrap; }
.cta h2 { color: #fff; margin-bottom: 6px; }
.cta p { color: var(--indigo-200); margin: 0; }

/* Footer */
.site-footer { background: var(--indigo-900); color: var(--indigo-200); }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 24px; padding: 48px 20px 32px; }
.footer-note { margin: 12px 0 0; font-size: .95rem; }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; align-items: center; }
.footer-links a { display: inline-block; padding: 12px; color: var(--cotton); text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.copyright { grid-column: 1 / -1; border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 20px; margin: 8px 0 0; font-size: .85rem; }

/* WhatsApp flotante */
.wa-float {
  position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom)); z-index: var(--z-float);
  display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%;
  background: #1F8A4C; color: #fff; box-shadow: var(--shadow-lg);
  transition: transform var(--dur) var(--ease);
}
.wa-float:hover { transform: scale(1.06); }

/* Diálogo de producto */
.product-dialog {
  width: min(960px, calc(100% - 32px)); max-height: calc(100dvh - 32px);
  padding: 0; border: 0; border-radius: 20px; background: var(--surface); color: var(--ink);
  box-shadow: var(--shadow-lg);
}
.product-dialog::backdrop { background: rgba(18, 26, 46, .6); }
.product-dialog[open] { animation: pd-in 240ms var(--ease); }
@keyframes pd-in { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
.pd-inner { position: relative; display: grid; grid-template-columns: 1fr 1fr; }
.pd-close {
  position: absolute; top: 12px; right: 12px; z-index: 2; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; border: 0; cursor: pointer; background: rgba(255, 255, 255, .92); color: var(--ink); box-shadow: var(--shadow-sm);
}
.pd-media { background: var(--cotton-2); }
.pd-main { position: relative; aspect-ratio: 3 / 4; overflow: hidden; }
.pd-main img { position: relative; width: 100%; height: 100%; object-fit: contain; }
.pd-thumbs { display: flex; gap: 8px; padding: 10px; overflow-x: auto; }
.pd-thumbs:empty { display: none; }
.pd-thumbs button { flex: none; width: 60px; aspect-ratio: 3 / 4; padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; cursor: pointer; background: none; }
.pd-thumbs button[aria-current="true"] { border-color: var(--copper); }
.pd-thumbs img { width: 100%; height: 100%; object-fit: contain; }
.pd-info { padding: 40px 32px 32px; display: flex; flex-direction: column; }
.pd-ref { font-size: .8rem; font-weight: 700; letter-spacing: .1em; color: var(--muted); margin-bottom: 6px; }
.pd-info h3 { font-size: 1.75rem; color: var(--indigo-900); margin-bottom: 6px; }
.pd-meta { color: var(--muted); margin-bottom: 8px; }
.pd-price { font-size: 1.25rem; font-weight: 800; color: var(--copper-dark); font-variant-numeric: tabular-nums; }
.sizes { border: 0; padding: 0; margin: 8px 0 24px; }
.sizes legend { font-weight: 700; margin-bottom: 10px; }
.size-list { display: flex; flex-wrap: wrap; gap: 8px; }
.size-list button {
  min-width: 48px; min-height: 48px; padding: 0 12px; border-radius: 10px; cursor: pointer;
  font: 600 1rem var(--font); color: var(--indigo-900); background: var(--surface); border: 1.5px solid var(--line);
  transition: background-color var(--dur), border-color var(--dur), color var(--dur);
}
.size-list button:hover { border-color: var(--indigo-500); }
.size-list button[aria-pressed="true"] { background: var(--indigo-700); border-color: var(--indigo-700); color: #fff; }
.pd-help { text-align: center; color: var(--muted); font-size: .9rem; margin: 12px 0 0; }

/* Barra de promociones (única marquesina del sitio) */
.promo-bar { display: block; overflow: hidden; background: var(--copper-dark); color: #fff; text-decoration: none; font-weight: 700; font-size: .9rem; letter-spacing: .02em; }
.promo-bar:hover .promo-track { animation-play-state: paused; }
.promo-track { display: flex; width: max-content; animation: promo-marquee 32s linear infinite; }
.promo-group { flex: none; display: flex; align-items: center; justify-content: space-around; gap: 28px; min-width: 100vw; padding: 10px 14px; white-space: nowrap; }
.promo-group i { flex: none; width: 7px; height: 7px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #F0C39A, #E3A56F 60%, #B8692E); }
@keyframes promo-marquee { to { transform: translateX(-50%); } }

/* Promociones */
.section-promos { padding-top: 48px; padding-bottom: 24px; }
.promos-head h2 { font-size: clamp(2rem, 4.4vw, 3rem); }
.promos-head { margin-bottom: 32px; }
.promos-head h2 { max-width: 16em; }
.promo-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 24px; }
.promo-tile {
  position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 28px; container-type: inline-size;
  padding: 36px 32px 32px; border-radius: 18px; color: var(--cotton); box-shadow: var(--shadow-lg);
  background:
    radial-gradient(520px 260px at 50% 0%, rgba(58, 81, 132, .6), transparent 70%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, .03) 0 2px, transparent 2px 6px),
    var(--indigo-900);
}
.promo-fan { --alto: min(250px, 42cqw); --paso: 14cqw; --ancho: calc(var(--alto) * .75); position: relative; height: var(--alto); margin-bottom: 20px; }
.promo-fan-bermuda { --alto: min(220px, 36cqw); --paso: 13cqw; --ancho: var(--alto); margin: 15px 0 35px; }
.promo-fan img {
  position: absolute; left: 50%; top: 0; height: var(--alto); width: var(--ancho); max-width: none; object-fit: cover;
  margin-left: calc(var(--ancho) / -2);
  border-radius: 12px; border: 3px solid var(--cotton); box-shadow: 0 10px 24px rgba(0, 0, 0, .35);
  transform: translateX(calc(var(--i) * var(--paso))) translateY(calc(var(--i) * var(--i) * 5px)) rotate(calc(var(--i) * 5deg));
  transition: transform 700ms var(--ease), opacity 400ms var(--ease);
  transition-delay: calc((var(--i) + 2) * 70ms);
}
.js .promo-tile:not(.is-in) .promo-fan img { transform: translateY(24px) scale(.94); opacity: 0; }
.promo-badge {
  position: absolute; top: 18px; right: 18px; z-index: 1; margin: 0; padding: 10px 16px; border-radius: 999px;
  background: #E3A56F; color: var(--indigo-900); font-weight: 800; font-stretch: 112%; font-size: 1.25rem; line-height: 1;
  transform: rotate(4deg); box-shadow: 0 6px 16px rgba(0, 0, 0, .35);
}
.promo-note s { color: #fff; opacity: .75; }
.promo-copy { margin-top: auto; }
.promo-title { margin: 0 0 10px; font-size: 1.15rem; font-weight: 600; color: var(--indigo-200); }
.promo-price { display: block; margin-top: 4px; font-size: clamp(2.6rem, 6vw, 4rem); font-weight: 800; font-stretch: 112%; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
.promo-note { margin: 0 0 14px; color: var(--indigo-200); }
.promo-ship { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 24px; font-weight: 700; color: #E3A56F; }
.promo-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; }
.promo-link { color: var(--cotton); font-weight: 600; padding: 12px 2px; text-underline-offset: 4px; }
.promo-link:hover { color: #fff; }

/* Precios por curva cerrada */
.curva { margin: 12px 0 28px; display: grid; gap: 16px; }
.curva div { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; align-items: baseline; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .14); }
.curva dt { font-weight: 700; font-size: 1.1rem; color: #fff; }
.curva dd { margin: 0; }
.curva-off { display: inline-block; margin-left: 6px; padding: 3px 9px; border-radius: 999px; background: #E3A56F; color: var(--indigo-900); font-size: .8rem; font-weight: 800; vertical-align: middle; white-space: nowrap; }
.curva-precio { font-size: 1.6rem; font-weight: 800; font-stretch: 112%; color: #E3A56F; font-variant-numeric: tabular-nums; }
.curva-detalle { grid-column: 1 / -1; color: var(--indigo-200); font-size: .95rem; }

/* Promo en tarjeta y detalle */
.product-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.product-promo { font-size: .8rem; font-weight: 800; color: #fff; background: var(--copper-dark); padding: 3px 8px; border-radius: 999px; }
.pd-promo { margin: 12px 0 0; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--cotton-2); color: var(--indigo-900); font-weight: 600; font-size: .95rem; }

@media (max-width: 860px) {
  .promo-grid { grid-template-columns: 1fr; }
  .promo-tile { padding: 28px 20px 24px; }
  .section-promos { padding-bottom: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .promo-track { animation: none; width: 100%; }
  .promo-group { min-width: 100%; flex-wrap: wrap; white-space: normal; gap: 6px 18px; }
  .promo-group + .promo-group { display: none; }
}

/* Responsive */
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .offer { gap: 40px; }
}
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; padding: 32px 20px 40px; }
  .hero-visual { display: none; }
  .strip-list { grid-template-columns: repeat(2, 1fr); }
  .strip-list li { justify-content: flex-start; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .sales-grid, .steps { grid-template-columns: 1fr; }
  .offer { grid-template-columns: 1fr; }
  .offer-visual { max-width: 360px; }
  .pd-inner { grid-template-columns: 1fr; }
  .pd-main { max-height: 64dvh; }
  .pd-info { padding: 24px 20px 24px; }
  .section { padding: 64px 0; }
}
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .product-grid { gap: 12px; }
  .product-body { padding: 12px; }
  .features { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .search { max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---------- Carrito y checkout ---------- */
.cart-btn {
  position: relative; display: grid; place-items: center; width: 48px; height: 48px; flex: none;
  border: 0; border-radius: 50%; cursor: pointer; background: rgba(255, 255, 255, .08); color: var(--cotton);
  transition: background-color var(--dur) var(--ease);
}
.cart-btn:hover { background: rgba(255, 255, 255, .16); }
.cart-count {
  position: absolute; top: 2px; right: 0; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px;
  background: #E3A56F; color: var(--indigo-900); font-size: .75rem; font-weight: 800; line-height: 20px; text-align: center;
}
.cart-count[hidden] { display: none; }
.site-nav { order: 1; margin-left: auto; }
.cart-btn { order: 2; }
.nav-toggle { order: 3; }

/* Comprar desde el detalle */
.pd-comprar { display: flex; gap: 12px; align-items: stretch; }
.pd-comprar .btn { flex: 1; }
.stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; background: var(--surface); }
.stepper button { width: 44px; height: 44px; border: 0; background: none; cursor: pointer; font: 700 1.2rem var(--font); color: var(--indigo-700); border-radius: 50%; }
.stepper button:hover { background: var(--cotton-2); }
.stepper span { min-width: 28px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.pd-docena { margin-top: 16px; padding: 12px 14px; border: 1px dashed var(--copper); border-radius: var(--radius-sm); }
.pd-docena p { margin: 0 0 4px; font-size: .9rem; color: var(--ink); }
.pd-docena .cart-link { margin: 0; }
.pd-help a { color: var(--indigo-700); font-weight: 600; }
.campo-error { margin: 6px 0 0; color: #A3241B; font-size: .875rem; font-weight: 600; }
.campo-error:empty { display: none; }
.campo-error[hidden] { display: none; }

/* Panel lateral */
.cart {
  margin: 0 0 0 auto; width: min(460px, 100%); max-width: 100%; height: 100dvh; max-height: 100dvh;
  padding: 0; border: 0; background: var(--cotton); color: var(--ink); box-shadow: var(--shadow-lg);
}
.cart::backdrop { background: rgba(18, 26, 46, .55); }
.cart[open] { animation: cart-in 260ms var(--ease); }
@keyframes cart-in { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.cart-inner { display: flex; flex-direction: column; height: 100%; }
.cart-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px 14px 24px; background: var(--indigo-900); color: #fff; }
.cart-head h2 { margin: 0; font-size: 1.25rem; color: #fff; }
.cart-x { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #fff; cursor: pointer; }
.cart-body { flex: 1; overflow-y: auto; padding: 20px 24px 28px; }
.cart-vacio { text-align: center; padding: 32px 8px; color: var(--muted); }
.cart-vacio[hidden], #cart-pie[hidden] { display: none; }
.cart-vacio .btn { margin-top: 8px; }
.cart-lista { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 12px; }
.cart-item { display: grid; grid-template-columns: 64px 1fr; gap: 14px; padding: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.cart-item img { width: 64px; height: 85px; object-fit: contain; background: var(--cotton-2); border-radius: 8px; }
.cart-item-nombre { margin: 0; font-weight: 700; color: var(--indigo-900); line-height: 1.3; }
.cart-item-meta { margin: 2px 0 8px; font-size: .85rem; color: var(--muted); }
.cart-item-fila { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.cart-item .stepper button { width: 36px; height: 36px; }
.cart-item-precio { font-weight: 800; color: var(--indigo-900); font-variant-numeric: tabular-nums; }
.cart-quitar, .cart-link {
  background: none; border: 0; padding: 8px 0; cursor: pointer; font: 600 .9rem var(--font); color: var(--indigo-700);
  text-decoration: underline; text-underline-offset: 3px;
}
.cart-link { display: block; margin: 8px auto 0; min-height: 44px; }
.cart-volver { margin: 0 0 8px; }
.cart-empujon { margin: 0 0 14px; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--copper-dark); color: #fff; font-weight: 700; font-size: .95rem; }
.cart-empujon[hidden] { display: none; }
.cart-resumen { margin: 0 0 16px; padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); display: grid; gap: 6px; }
.cart-resumen div { display: flex; justify-content: space-between; gap: 16px; }
.cart-resumen dt { color: var(--muted); }
.cart-resumen dd { margin: 0; font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.cart-ahorro dt, .cart-ahorro dd { color: #1F7A45; }
.cart-total { padding-top: 8px; margin-top: 4px; border-top: 1px solid var(--line); }
.cart-total dt, .cart-total dd { color: var(--indigo-900); font-size: 1.15rem; font-weight: 800; }
.cart-envio dd { font-weight: 600; font-size: .9rem; max-width: 60%; }

/* Formulario */
.cart-grupo { border: 0; padding: 0; margin: 0 0 20px; display: grid; gap: 12px; min-width: 0; }
.cart-grupo legend { font-weight: 800; font-size: 1.05rem; color: var(--indigo-900); margin-bottom: 10px; padding: 0; }
.campo { display: grid; gap: 6px; min-width: 0; }
.campo label { font-weight: 600; font-size: .95rem; }
.campo input, .campo textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; font: 400 1rem var(--font); color: var(--ink);
  background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius-sm);
}
.campo textarea { min-height: 72px; resize: vertical; }
.campo input:focus, .campo textarea:focus { outline: none; border-color: var(--indigo-500); box-shadow: 0 0 0 3px rgba(58, 81, 132, .2); }
.campo input[aria-invalid="true"] { border-color: #A3241B; }
.campo-ayuda { margin: 0; font-size: .85rem; color: var(--muted); }
.campo-par { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pago-opcion { display: flex; gap: 12px; align-items: flex-start; padding: 14px; background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius); cursor: pointer; }
.pago-opcion:has(input:checked) { border-color: var(--indigo-700); box-shadow: 0 0 0 1px var(--indigo-700); }
.pago-opcion:has(input:disabled) { opacity: .6; cursor: not-allowed; }
.pago-opcion input { margin-top: 4px; width: 20px; height: 20px; accent-color: var(--indigo-700); flex: none; }
.pago-nota { display: block; font-size: .875rem; color: var(--muted); }
.cart-error { margin: 0 0 12px; padding: 12px 14px; border-radius: var(--radius-sm); background: #FBE9E7; color: #8A1F17; font-weight: 600; }
.cart-error[hidden] { display: none; }
.cart-legal { margin: 10px 0 0; font-size: .8rem; color: var(--muted); text-align: center; }

/* Resultado */
.listo { text-align: center; padding: 16px 0; }
.listo h3 { font-size: 1.5rem; color: var(--indigo-900); }
.listo p { color: var(--muted); }
.listo .listo-numero { color: var(--ink); }
.listo .btn { margin-top: 12px; }
.listo-ok h3 { color: #1F7A45; }
.listo-error h3 { color: #A3241B; }

/* Aviso de producto agregado */
.toast {
  position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); z-index: var(--z-float); transform: translateX(-50%);
  display: flex; align-items: center; gap: 14px; width: max-content; max-width: calc(100% - 32px);
  padding: 12px 12px 12px 18px; border-radius: var(--radius); background: var(--indigo-900); color: #fff; box-shadow: var(--shadow-lg);
  font-weight: 600; font-size: .95rem; animation: toast-in 240ms var(--ease);
}
.toast[hidden] { display: none; }
.toast-btn { flex: none; min-height: 40px; padding: 0 14px; border: 0; border-radius: 999px; background: #E3A56F; color: var(--indigo-900); font: 800 .9rem var(--font); cursor: pointer; }
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, 12px); } to { opacity: 1; transform: translateX(-50%); } }

@media (max-width: 860px) {
  .cart-btn { margin-left: auto; }
}
@media (max-width: 480px) {
  .cart-body { padding: 16px 16px 24px; }
  .campo-par { grid-template-columns: 1fr; }
  .pd-comprar { flex-wrap: wrap; }
}
