/* ============================================================
   EMPERATRIZ — Marca de ropa | Rawson, Chubut
   Paleta: Violeta elegante + Dorado + Crema
   ============================================================ */

:root {
  --violet-950: #1e0a3c;
  --violet-900: #2e1065;
  --violet-800: #4c1d95;
  --violet-700: #5b21b6;
  --violet-600: #7c3aed;
  --violet-500: #8b5cf6;
  --violet-400: #a78bfa;
  --violet-300: #c4b5fd;
  --violet-200: #ddd6fe;
  --violet-100: #ede9fe;
  --violet-50:  #f5f3ff;

  --gold:       #c9a24b;
  --gold-light: #e6c97a;
  --gold-dark:  #a8842f;

  --cream:      #faf7f2;
  --ivory:      #fdfcf9;
  --ink:        #1a1024;
  --ink-soft:   #2d1f3d;
  --muted:      #6b5b7a;
  --muted-2:    #9a8aa8;
  --line:       #e8e2f0;
  --line-soft:  #f1ecf7;

  --success:    #16a34a;
  --danger:     #dc2626;

  --radius-sm:  6px;
  --radius:     12px;
  --radius-lg:  20px;
  --radius-xl:  28px;

  --shadow-sm:  0 2px 8px rgba(46,16,101,.06);
  --shadow:     0 8px 24px rgba(46,16,101,.10);
  --shadow-lg:  0 20px 50px rgba(46,16,101,.16);

  --container:  1280px;
  --header-h:   78px;
  --topbar-h:   36px;

  --font-serif: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --font-sans:  "Inter", "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  --ease: cubic-bezier(.22,1,.36,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1,h2,h3,h4,h5 { margin: 0; font-family: var(--font-serif); font-weight: 500; letter-spacing: .01em; }
p { margin: 0; }
input, select, textarea { font: inherit; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); border:0; }

/* ---------- Top bar ---------- */
.topbar {
  height: var(--topbar-h);
  background: var(--violet-900);
  color: #fff;
  font-size: 12.5px;
  letter-spacing: .04em;
  display: flex; align-items: center;
}
.topbar .container { display: flex; align-items: center; justify-content: center; gap: 32px; flex-wrap: wrap; }
.topbar-item { display: inline-flex; align-items: center; gap: 8px; opacity: .92; }
.topbar-item strong { color: var(--gold-light); font-weight: 600; }
.topbar .sep { opacity: .35; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(253,252,249,.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow .3s var(--ease);
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.header-inner {
  height: var(--header-h);
  display: flex; align-items: center; gap: 24px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-serif);
  font-size: 26px; font-weight: 600;
  letter-spacing: .18em;
  color: var(--violet-900);
  white-space: nowrap;
}
.logo-mark {
  width: 34px; height: 34px;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: 17px; font-weight: 600;
  position: relative;
}
.logo-mark::after {
  content: ""; position: absolute; inset: 4px;
  border: 1px solid var(--violet-300); border-radius: 50%;
}
.main-nav { flex: 1; display: flex; justify-content: center; }
.main-nav ul { display: flex; gap: 2px; align-items: center; }
.main-nav a {
  padding: 8px 12px;
  font-size: 13px; font-weight: 500;
  letter-spacing: .05em; text-transform: uppercase;
  color: var(--ink-soft);
  border-radius: var(--radius-sm);
  transition: color .2s, background .2s;
  white-space: nowrap;
  display: inline-flex; align-items: center;
}
.main-nav a:hover { color: var(--violet-700); background: var(--violet-50); }
.main-nav a.active { color: var(--violet-800); }
.main-nav a .badge-sale {
  display: inline-block; margin-left: 6px;
  font-size: 9px; font-weight: 700; letter-spacing: .05em;
  background: var(--gold); color: #fff;
  padding: 1px 5px; border-radius: 3px;
  line-height: 1.4;
}
.header-actions { display: flex; align-items: center; gap: 6px; }
.icon-btn {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 50%;
  color: var(--ink-soft);
  transition: background .2s, color .2s;
  position: relative;
}
.icon-btn:hover { background: var(--violet-50); color: var(--violet-700); }
.icon-btn .count {
  position: absolute; top: 4px; right: 4px;
  min-width: 17px; height: 17px;
  background: var(--violet-700); color: #fff;
  font-size: 10px; font-weight: 700;
  border-radius: 9px; padding: 0 4px;
  display: grid; place-items: center;
  border: 2px solid var(--ivory);
}
.search-bar {
  display: flex; align-items: center; gap: 8px;
  background: var(--violet-50); border: 1px solid var(--line);
  border-radius: 999px; padding: 0 14px; height: 40px;
  width: 200px; transition: width .3s var(--ease), border-color .2s;
}
.search-bar:focus-within { width: 250px; border-color: var(--violet-400); background: #fff; }
.search-bar input { border: none; background: transparent; outline: none; flex: 1; font-size: 13.5px; color: var(--ink); }
.search-bar input::placeholder { color: var(--muted-2); }
.search-bar svg { color: var(--muted); }

.mobile-toggle { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--violet-950); }
.hero-slider { position: relative; height: 86vh; min-height: 560px; max-height: 820px; }
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0; transition: opacity .9s var(--ease);
  display: grid; grid-template-columns: 1fr 1fr;
}
.hero-slide.active { opacity: 1; z-index: 2; }
.hero-slide .hero-media {
  position: relative; overflow: hidden;
}
.hero-slide .hero-media img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.05); transition: transform 8s var(--ease);
}
.hero-slide.active .hero-media img { transform: scale(1); }
.hero-slide .hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(30,10,60,.55) 0%, transparent 60%);
}
.hero-slide.reverse .hero-media::after {
  background: linear-gradient(270deg, rgba(30,10,60,.55) 0%, transparent 60%);
}
.hero-slide.reverse { grid-template-columns: 1fr 1fr; }
.hero-slide.reverse .hero-content { order: 1; }
.hero-slide.reverse .hero-media { order: 2; }
.hero-content {
  position: relative; z-index: 3;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  padding: 0 60px; color: #fff;
  text-align: center;
  background: linear-gradient(135deg, var(--violet-950) 0%, var(--violet-800) 100%);
}
.hero-eyebrow {
  font-size: 12px; letter-spacing: .32em; text-transform: uppercase;
  color: var(--gold-light); margin-bottom: 20px;
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
}
.hero-eyebrow::before { content: ""; width: 40px; height: 1px; background: var(--gold); }
.hero-eyebrow::after { content: ""; width: 40px; height: 1px; background: var(--gold); }
.hero-title {
  font-size: clamp(44px, 5.4vw, 72px);
  line-height: .98; font-weight: 400;
  margin-bottom: 22px;
  text-wrap: balance;
}
.hero-title em { font-style: italic; color: var(--gold-light); }
.hero-sub {
  font-size: 16px; line-height: 1.6; max-width: 460px;
  color: rgba(255,255,255,.82); margin: 0 auto 34px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 34px;
  font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  border-radius: 999px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s;
  position: relative; overflow: hidden;
}
.btn-primary {
  background: var(--gold); color: #fff;
  box-shadow: 0 10px 30px rgba(201,162,75,.35);
}
.btn-primary:hover { background: var(--gold-dark); transform: translateY(-2px); box-shadow: 0 14px 36px rgba(201,162,75,.45); }
.btn-outline {
  background: transparent; color: #fff;
  border: 1.5px solid rgba(255,255,255,.45);
}
.btn-outline:hover { background: #fff; color: var(--violet-900); border-color: #fff; }
.btn-violet {
  background: var(--violet-700); color: #fff;
  box-shadow: 0 10px 30px rgba(91,33,182,.3);
}
.btn-violet:hover { background: var(--violet-800); transform: translateY(-2px); }
.btn-ghost {
  background: transparent; color: var(--violet-700);
  border: 1.5px solid var(--violet-300);
}
.btn-ghost:hover { background: var(--violet-50); border-color: var(--violet-500); }
.btn-sm { padding: 9px 20px; font-size: 11.5px; }

.hero-controls {
  position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%);
  z-index: 5; display: flex; gap: 10px;
}
.hero-dot {
  width: 34px; height: 3px; background: rgba(255,255,255,.35);
  border-radius: 2px; cursor: pointer; transition: background .3s, width .3s;
  overflow: hidden; position: relative;
}
.hero-dot.active { background: var(--gold); width: 56px; }
.hero-dot .progress { position: absolute; inset: 0; background: var(--gold-light); transform: scaleX(0); transform-origin: left; }
.hero-dot.active .progress { animation: heroProgress 6s linear forwards; }
@keyframes heroProgress { to { transform: scaleX(1); } }
.hero-arrows { position: absolute; top: 50%; transform: translateY(-50%); z-index: 5; width: 100%; display: flex; justify-content: space-between; padding: 0 24px; pointer-events: none; }
.hero-arrow {
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,.12); backdrop-filter: blur(6px);
  color: #fff; display: grid; place-items: center;
  pointer-events: auto; transition: background .2s;
  border: 1px solid rgba(255,255,255,.2);
}
.hero-arrow:hover { background: var(--gold); border-color: var(--gold); }

/* ---------- Benefits strip ---------- */
.benefits {
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}
.benefits-grid {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 16px;
}
.benefit {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  padding: 6px 12px; text-align: center;
}
.benefit-icon {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--violet-100); color: var(--violet-700);
  display: grid; place-items: center; flex-shrink: 0;
}
.benefit-text strong { display: block; font-size: 13.5px; font-weight: 600; color: var(--violet-900); }
.benefit-text span { font-size: 12px; color: var(--muted); }

/* ---------- Section headings ---------- */
.section { padding: 80px 0; }
.section-sm { padding: 50px 0; }
.section-head { text-align: center; margin-bottom: 52px; }
.eyebrow {
  font-size: 11.5px; letter-spacing: .3em; text-transform: uppercase;
  color: var(--gold-dark); font-weight: 600; margin-bottom: 14px;
  display: inline-flex; align-items: center; gap: 12px;
}
.eyebrow::before, .eyebrow::after { content: ""; width: 28px; height: 1px; background: var(--gold); }
.section-title {
  font-size: clamp(32px, 4vw, 48px);
  color: var(--violet-900); line-height: 1.05; font-weight: 500;
}
.section-title em { font-style: italic; color: var(--gold-dark); }
.section-sub { color: var(--muted); max-width: 560px; margin: 14px auto 0; font-size: 15px; text-wrap: balance; }

/* ---------- Product card ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px 22px;
}
.product-card { position: relative; }
.product-media {
  position: relative; aspect-ratio: 3/4;
  border-radius: var(--radius); overflow: hidden;
  background: var(--violet-50);
  margin-bottom: 14px;
}
.product-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .7s var(--ease);
}
.product-card:hover .product-media img { transform: scale(1.06); }
.product-badges {
  position: absolute; top: 12px; left: 12px;
  display: flex; flex-direction: column; gap: 6px; z-index: 2;
}
.badge {
  font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 4px;
  backdrop-filter: blur(6px);
}
.badge-new { background: var(--violet-700); color: #fff; }
.badge-sale { background: var(--gold); color: #fff; }
.badge-free { background: rgba(255,255,255,.9); color: var(--violet-800); }
.product-actions {
  position: absolute; right: 12px; bottom: 12px;
  display: flex; flex-direction: column; gap: 8px;
  opacity: 0; transform: translateY(8px);
  transition: opacity .3s, transform .3s var(--ease);
  z-index: 2;
}
.product-card:hover .product-actions { opacity: 1; transform: translateY(0); }
.action-btn {
  width: 40px; height: 40px; border-radius: 50%;
  background: #fff; color: var(--violet-800);
  display: grid; place-items: center;
  box-shadow: var(--shadow);
  transition: background .2s, color .2s, transform .2s;
}
.action-btn:hover { background: var(--violet-700); color: #fff; transform: scale(1.08); }
.product-info { padding: 0 2px; text-align: center; }
.product-cat {
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted-2); margin-bottom: 4px;
}
.product-name {
  font-family: var(--font-serif); font-size: 18px; font-weight: 500;
  color: var(--violet-900); margin-bottom: 8px; line-height: 1.2;
  transition: color .2s;
}
.product-card:hover .product-name { color: var(--violet-600); }
.product-price-row { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; justify-content: center; }
.price-now { font-size: 17px; font-weight: 700; color: var(--violet-900); }
.price-old { font-size: 13px; color: var(--muted-2); text-decoration: line-through; }
.price-off { font-size: 11px; font-weight: 700; color: var(--gold-dark); background: var(--violet-50); padding: 2px 8px; border-radius: 4px; }
.product-installments { font-size: 11.5px; color: var(--muted); margin-top: 4px; }
.product-sizes {
  display: flex; gap: 4px; margin-top: 10px; flex-wrap: wrap; justify-content: center;
}
.size-chip {
  min-width: 30px; height: 26px; padding: 0 6px;
  border: 1px solid var(--line); border-radius: 4px;
  font-size: 11px; font-weight: 600; color: var(--muted);
  display: grid; place-items: center;
  transition: border-color .2s, color .2s, background .2s;
  cursor: pointer;
}
.size-chip:hover { border-color: var(--violet-400); color: var(--violet-700); }
.size-chip.active { background: var(--violet-700); color: #fff; border-color: var(--violet-700); }
.product-add {
  margin-top: 12px; width: 100%;
  padding: 11px; border-radius: var(--radius-sm);
  background: var(--violet-900); color: #fff;
  font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  transition: background .2s, transform .2s;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.product-add:hover { background: var(--violet-600); }
.product-add.added { background: var(--success); }

/* ---------- Editorial banner ---------- */
.editorial {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  min-height: 480px; display: grid; grid-template-columns: 1fr 1fr;
  background: var(--violet-900);
}
.editorial-media { position: relative; overflow: hidden; }
.editorial-media img { width: 100%; height: 100%; object-fit: cover; }
.editorial-content {
  padding: 60px 70px; color: #fff;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  text-align: center;
  background: linear-gradient(135deg, var(--violet-950), var(--violet-800));
}
.editorial-content .eyebrow { color: var(--gold-light); }
.editorial-content .eyebrow::before, .editorial-content .eyebrow::after { background: var(--gold-light); }
.editorial-title { font-size: clamp(34px, 4vw, 56px); line-height: 1.05; margin-bottom: 18px; }
.editorial-title em { color: var(--gold-light); font-style: italic; }
.editorial-text { color: rgba(255,255,255,.8); max-width: 430px; margin: 0 auto 30px; line-height: 1.65; }

/* ---------- Categories ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; max-width: 940px; margin: 0 auto; }
.cat-card {
  position: relative; aspect-ratio: 4/5; border-radius: var(--radius); overflow: hidden;
  cursor: pointer;
}
.cat-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.cat-card:hover img { transform: scale(1.08); }
.cat-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(30,10,60,.85) 100%);
}
.cat-card-label {
  position: absolute; bottom: 30px; left: 20px; right: 20px; z-index: 2; color: #fff;
  text-align: center;
}
.cat-card-label h3 { font-size: 28px; font-weight: 500; margin-bottom: 4px; }
.cat-card-label span { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-light); }

/* ---------- Tabs ---------- */
.tabs { display: flex; justify-content: center; gap: 8px; margin-bottom: 40px; flex-wrap: wrap; }
.tab-btn {
  padding: 10px 24px; border-radius: 999px;
  font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); background: transparent; border: 1.5px solid var(--line);
  transition: all .25s var(--ease);
}
.tab-btn:hover { color: var(--violet-700); border-color: var(--violet-300); }
.tab-btn.active { background: var(--violet-700); color: #fff; border-color: var(--violet-700); }

/* ---------- Promo strip ---------- */
.promo-strip {
  background: linear-gradient(135deg, var(--violet-800), var(--violet-600));
  color: #fff; padding: 50px 0; text-align: center;
  position: relative; overflow: hidden;
}
.promo-strip::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 20% 50%, rgba(201,162,75,.25), transparent 50%),
              radial-gradient(circle at 80% 50%, rgba(201,162,75,.18), transparent 50%);
}
.promo-strip .container { position: relative; }
.promo-title { font-size: clamp(28px, 4vw, 44px); margin-bottom: 10px; }
.promo-title em { color: var(--gold-light); font-style: italic; }
.promo-sub { color: rgba(255,255,255,.8); margin-bottom: 26px; }

/* ---------- Stores / contact ---------- */
.stores { background: var(--cream); }
.store-single {
  display: grid; grid-template-columns: .9fr 1.1fr; gap: 24px;
  align-items: stretch; max-width: 1120px; margin: 0 auto;
}
.store-single .store-card { justify-content: center; padding: 38px 32px; }
.store-note { font-size: 12px; color: var(--muted-2); margin: 10px 0 20px; }
.store-single .store-card .btn { margin-top: 2px; }
.store-map-embed {
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line-soft); box-shadow: var(--shadow-sm);
  background: var(--violet-50); min-height: 440px;
}
.store-map-embed iframe { display: block; width: 100%; height: 100%; min-height: 440px; border: 0; }
.store-card {
  background: #fff; border-radius: var(--radius); padding: 28px;
  border: 1px solid var(--line-soft);
  transition: transform .3s var(--ease), box-shadow .3s;
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
}
.store-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.store-card h3 { font-size: 20px; color: var(--violet-900); margin-bottom: 12px; }
.store-card p { font-size: 13.5px; color: var(--muted); line-height: 1.6; margin-bottom: 6px; }
.store-card .store-hours { color: var(--gold-dark); font-weight: 600; font-size: 13px; margin-top: 10px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--violet-950); color: rgba(255,255,255,.75);
  padding: 46px 0 24px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px;
  padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand { text-align: center; }
.footer-brand .logo { color: #fff; margin-bottom: 12px; justify-content: center; font-size: 22px; }
.footer-brand .logo-mark { border-color: var(--gold); color: var(--gold); }
.footer-brand p { font-size: 13px; line-height: 1.6; max-width: 300px; color: rgba(255,255,255,.65); margin: 0 auto; }
.footer-col h4 {
  font-family: var(--font-sans); font-size: 12px; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold-light); margin-bottom: 12px;
}
.footer-col { text-align: center; }
.footer-col ul li { margin-bottom: 6px; }
.footer-col ul a { font-size: 13px; color: rgba(255,255,255,.7); transition: color .2s; }
.footer-col ul a:hover { color: #fff; }
.social-row { display: flex; gap: 8px; margin-top: 14px; justify-content: center; }
.social-btn {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.2);
  display: grid; place-items: center; color: rgba(255,255,255,.7);
  transition: all .2s;
}
.social-btn:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.footer-bottom {
  padding-top: 18px; display: flex; justify-content: center; align-items: center;
  font-size: 12px; color: rgba(255,255,255,.45); flex-wrap: wrap; gap: 12px;
  text-align: center;
}
.footer-pay { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; justify-content: center; }
.pay-chip {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12);
  padding: 4px 10px; border-radius: 4px; font-size: 10.5px; font-weight: 600;
  letter-spacing: .05em; color: rgba(255,255,255,.7);
}

/* ---------- Cart drawer ---------- */
.cart-overlay {
  position: fixed; inset: 0; background: rgba(30,10,60,.45);
  backdrop-filter: blur(4px); z-index: 90;
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.cart-overlay.open { opacity: 1; pointer-events: auto; }
.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: 420px; max-width: 100%;
  background: #fff; z-index: 95;
  transform: translateX(100%); transition: transform .4s var(--ease);
  display: flex; flex-direction: column;
  box-shadow: -20px 0 60px rgba(30,10,60,.2);
}
.cart-drawer.open { transform: translateX(0); }
.cart-head {
  padding: 22px 24px; border-bottom: 1px solid var(--line-soft);
  display: flex; align-items: center; justify-content: space-between;
}
.cart-head h3 { font-size: 22px; color: var(--violet-900); }
.cart-close {
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center; color: var(--muted);
  transition: background .2s;
}
.cart-close:hover { background: var(--violet-50); color: var(--violet-700); }
.cart-body { flex: 1; overflow-y: auto; padding: 16px 24px; }
.cart-empty { text-align: center; padding: 60px 20px; color: var(--muted); }
.cart-empty svg { margin: 0 auto 16px; color: var(--violet-300); }
.cart-item {
  display: grid; grid-template-columns: 72px 1fr; gap: 14px;
  padding: 14px 0; border-bottom: 1px solid var(--line-soft);
}
.cart-item img { width: 72px; height: 90px; object-fit: cover; border-radius: var(--radius-sm); }
.cart-item-info h4 { font-family: var(--font-serif); font-size: 16px; color: var(--violet-900); margin-bottom: 4px; }
.cart-item-info .meta { font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.cart-item-row { display: flex; align-items: center; justify-content: space-between; }
.qty-ctrl { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 6px; }
.qty-ctrl button { width: 28px; height: 28px; color: var(--violet-700); font-weight: 700; }
.qty-ctrl span { min-width: 24px; text-align: center; font-size: 13px; font-weight: 600; }
.cart-item-price { font-weight: 700; color: var(--violet-900); font-size: 14px; }
.cart-remove { color: var(--muted-2); font-size: 12px; margin-top: 6px; cursor: pointer; }
.cart-remove:hover { color: var(--danger); }
.cart-foot {
  padding: 20px 24px; border-top: 1px solid var(--line-soft);
  background: var(--cream);
}
.cart-totals { margin-bottom: 16px; }
.cart-total-row { display: flex; justify-content: space-between; font-size: 13.5px; color: var(--muted); margin-bottom: 6px; }
.cart-total-row.grand { font-size: 17px; font-weight: 700; color: var(--violet-900); margin-top: 8px; padding-top: 8px; border-top: 1px dashed var(--line); }
.cart-total-row.grand span:last-child { color: var(--violet-700); }
.cart-cta { width: 100%; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(120%);
  background: var(--violet-900); color: #fff;
  padding: 14px 22px; border-radius: 999px;
  font-size: 13.5px; font-weight: 500;
  box-shadow: var(--shadow-lg); z-index: 200;
  display: flex; align-items: center; gap: 10px;
  transition: transform .4s var(--ease);
}
.toast.show { transform: translateX(-50%) translateY(0); }
.toast .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }

/* ---------- Quick view modal ---------- */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(30,10,60,.5);
  backdrop-filter: blur(6px); z-index: 100;
  display: none; align-items: center; justify-content: center; padding: 20px;
}
.modal-overlay.open { display: flex; }
.modal {
  background: #fff; border-radius: var(--radius-lg);
  max-width: 920px; width: 100%; max-height: 90vh; overflow: auto;
  display: grid; grid-template-columns: 1fr 1fr;
  box-shadow: var(--shadow-lg);
  animation: modalIn .35s var(--ease);
}
@keyframes modalIn { from { opacity:0; transform: scale(.96) translateY(10px);} to {opacity:1; transform:none;} }
.modal-media { background: var(--violet-50); }
.modal-media img { width: 100%; height: 100%; object-fit: cover; min-height: 400px; }
.modal-body { padding: 40px; text-align: center; }
.modal-body .product-cat { margin-bottom: 8px; }
.modal-body h2 { font-size: 34px; color: var(--violet-900); margin-bottom: 10px; }
.modal-price { font-size: 24px; font-weight: 700; color: var(--violet-700); margin-bottom: 18px; }
.modal-desc { color: var(--muted); line-height: 1.7; margin-bottom: 24px; font-size: 14.5px; }
.modal-sizes { margin-bottom: 20px; }
.modal-sizes label { display: block; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--violet-900); margin-bottom: 10px; text-align: center; }
.modal-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.modal-close {
  position: absolute; top: 16px; right: 16px;
  width: 36px; height: 36px; border-radius: 50%;
  background: #fff; box-shadow: var(--shadow); color: var(--violet-800);
  display: grid; place-items: center; z-index: 3;
}
.modal-wrap { position: relative; width: 100%; }

/* ---------- Mobile nav ---------- */
.mobile-menu {
  position: fixed; inset: 0; background: #fff; z-index: 80;
  transform: translateX(100%); transition: transform .4s var(--ease);
  padding: 90px 28px 28px; overflow-y: auto;
  display: flex; flex-direction: column;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a {
  padding: 16px 0; font-family: var(--font-serif); font-size: 24px;
  color: var(--violet-900); border-bottom: 1px solid var(--line-soft);
  text-align: center;
}
.mobile-menu .mobile-close {
  position: absolute; top: 22px; right: 22px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .search-bar { display: none; }
}
@media (max-width: 1100px) {
  .product-grid { grid-template-columns: repeat(3,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cat-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  :root { --header-h: 64px; }
  .topbar { height: auto; padding: 9px 0; }
  .topbar .container { gap: 6px 16px; font-size: 11.5px; }
  .topbar .sep { display: none; }
  .main-nav { display: none; }
  .header-inner { gap: 8px; }
  .logo { font-size: 19px; letter-spacing: .12em; gap: 7px; }
  .logo-mark { width: 30px; height: 30px; font-size: 14px; }
  .header-actions { gap: 0; margin-left: auto; }
  .header-actions .icon-btn { width: 38px; height: 38px; }
  .header-actions .icon-btn[aria-label="Mi cuenta"] { display: none; }
  .search-bar { display: flex; width: 38px; padding: 0; justify-content: center; }
  .search-bar input { display: none; }
  .search-bar:focus-within { width: 200px; }
  .search-bar:focus-within input { display: block; }
  .mobile-toggle { display: grid; }
  .hero-slider { height: 92vh; min-height: 600px; }
  .hero-slide { grid-template-columns: 1fr; grid-template-rows: 1fr; }
  .hero-slide.reverse .hero-content, .hero-slide.reverse .hero-media { order: unset; }
  .hero-content { padding: 40px 28px; justify-content: flex-end; background: linear-gradient(180deg, rgba(30,10,60,.2) 0%, var(--violet-950) 70%); }
  .hero-arrows { display: none; }
  .hero-eyebrow { font-size: 11px; letter-spacing: .24em; gap: 10px; }
  .hero-eyebrow::before, .hero-eyebrow::after { width: 22px; }
  .hero-slide .hero-media { position: absolute; inset: 0; z-index: 0; }
  .hero-slide .hero-media::after { background: linear-gradient(180deg, rgba(30,10,60,.1) 0%, rgba(30,10,60,.85) 100%); }
  .hero-slide.reverse .hero-media::after { background: linear-gradient(180deg, rgba(30,10,60,.1) 0%, rgba(30,10,60,.85) 100%); }
  .hero-content { position: relative; z-index: 3; }
  .benefits-grid { grid-template-columns: 1fr 1fr; }
  .product-grid { grid-template-columns: repeat(2,1fr); gap: 18px 12px; }
  .editorial { grid-template-columns: 1fr; min-height: auto; }
  .editorial-media { min-height: 260px; }
  .editorial-content { padding: 36px 28px; }
  .cat-grid { grid-template-columns: 1fr; }
  .store-single { grid-template-columns: 1fr; }
  .store-map-embed, .store-map-embed iframe { min-height: 360px; }
  .store-single .store-card { padding: 30px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 20px; padding-bottom: 20px; }
  .site-footer { padding: 34px 0 20px; }
  .footer-col h4 { margin-bottom: 8px; }
  .footer-col ul li { margin-bottom: 4px; }
  .modal { grid-template-columns: 1fr; }
  .modal-body { padding: 28px; }
  .cart-drawer { width: 100%; }
}
@media (max-width: 480px) {
  .site-header:focus-within .logo { display: none; }
  .benefits-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(2,1fr); }
  .hero-title { font-size: 40px; }
  .section { padding: 56px 0; }
}
@media (max-width: 360px) {
  .container { padding-inline: 12px; }
  .header-inner { gap: 4px; }
  .logo { gap: 4px; font-size: 16px; letter-spacing: .06em; }
  .logo-mark { width: 26px; height: 26px; font-size: 12px; }
  .header-actions .icon-btn { width: 34px; height: 34px; }
  .search-bar { height: 34px; }
  .mobile-toggle { width: 34px; height: 34px; }
}

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Misc ---------- */
.divider { height: 1px; background: var(--line); margin: 0; }
.kbd { font-family: monospace; }
.no-scroll { overflow: hidden; }
