/* ============ Zeus Shop — Design tokens ============ */
:root {
  --gold: #c9a75d;
  --gold-light: #e4c988;
  --gold-dim: #a3854a;
  --ink: #17140f;
  --bg: #faf7f1;
  --bg-alt: #f1ebdf;
  --surface: #ffffff;
  --text: #211d17;
  --text-muted: #6b6252;
  --border: #e5ddcb;
  --shadow: 0 10px 30px -12px rgba(23, 20, 15, 0.18);
  --radius: 16px;
  --header-h: 76px;
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Jost", "Segoe UI", sans-serif;
}

:root[data-theme="dark"] {
  --gold: #d9b76a;
  --gold-light: #eccf8f;
  --gold-dim: #b8965a;
  --bg: #0e0c09;
  --bg-alt: #17130d;
  --surface: #1b1712;
  --text: #f3eee2;
  --text-muted: #a89d87;
  --border: #2b2419;
  --shadow: 0 10px 34px -12px rgba(0, 0, 0, 0.6);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --gold: #d9b76a;
    --gold-light: #eccf8f;
    --gold-dim: #b8965a;
    --bg: #0e0c09;
    --bg-alt: #17130d;
    --surface: #1b1712;
    --text: #f3eee2;
    --text-muted: #a89d87;
    --border: #2b2419;
    --shadow: 0 10px 34px -12px rgba(0, 0, 0, 0.6);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  transition: background .35s ease, color .35s ease;
  overflow-x: hidden;
}

h1, h2, h3 { font-family: var(--font-serif); font-weight: 600; margin: 0; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

.progress-line {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--gold-dim), var(--gold-light));
  z-index: 1000; transition: width .1s linear;
}

/* ============ Header ============ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  height: var(--header-h);
  display: flex; align-items: center;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease;
}
.site-header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow);
}

.header-inner {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}

.brand { display: flex; align-items: center; height: 40px; }
.brand-logo { height: 32px; width: auto; }
.brand-logo--dark { display: none; }
:root[data-theme="dark"] .brand-logo--light { display: none; }
:root[data-theme="dark"] .brand-logo--dark { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .brand-logo--light { display: none; }
  :root:not([data-theme="light"]) .brand-logo--dark { display: block; }
}

.main-nav { display: flex; gap: 36px; }
.main-nav a {
  font-size: 14px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--text-muted); position: relative; padding: 6px 0;
  transition: color .25s ease;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: var(--gold); transition: width .25s ease;
}
.main-nav a:hover { color: var(--text); }
.main-nav a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 10px; }

.icon-btn {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--border); background: var(--surface);
  color: var(--text); display: flex; align-items: center; justify-content: center;
  transition: border-color .25s ease, transform .2s ease;
}
.icon-btn:hover { border-color: var(--gold); transform: translateY(-1px); }
.icon-moon { display: none; }
:root[data-theme="dark"] .icon-sun { display: none; }
:root[data-theme="dark"] .icon-moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .icon-sun { display: none; }
  :root:not([data-theme="light"]) .icon-moon { display: block; }
}

.hamburger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; background: none; border: none;
}
.hamburger span { width: 22px; height: 1.5px; background: var(--text); margin: 0 auto; transition: transform .25s ease, opacity .25s ease; }
.hamburger.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ============ Hero ============ */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: calc(var(--header-h) + 40px) 24px 80px;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, color-mix(in srgb, var(--gold) 18%, transparent), transparent 70%),
    linear-gradient(180deg, var(--bg-alt), var(--bg));
  z-index: -1;
}
.hero-content { max-width: 760px; display: flex; flex-direction: column; align-items: center; }
.hero-logo { height: 84px; width: auto; margin-bottom: 28px; opacity: .92; }
.hero-logo--dark { display: none; }
:root[data-theme="dark"] .hero-logo--light { display: none; }
:root[data-theme="dark"] .hero-logo--dark { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .hero-logo--light { display: none; }
  :root:not([data-theme="light"]) .hero-logo--dark { display: block; }
}

.hero-kicker {
  font-size: 13px; letter-spacing: .3em; text-transform: uppercase;
  color: var(--gold-dim); margin-bottom: 18px; font-weight: 500;
}
.hero h1 {
  font-size: clamp(42px, 7vw, 76px); line-height: 1.05; letter-spacing: .01em;
}
.hero h1 span { color: var(--gold); font-style: italic; }
.hero-sub {
  margin-top: 22px; font-size: 17px; color: var(--text-muted);
  max-width: 520px; font-weight: 300;
}
.btn-primary {
  margin-top: 38px; display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 38px; border: 1px solid var(--gold);
  color: var(--ink); background: linear-gradient(135deg, var(--gold-light), var(--gold));
  font-size: 13px; letter-spacing: .18em; text-transform: uppercase; font-weight: 500;
  border-radius: 999px; transition: transform .25s ease, box-shadow .25s ease;
}
:root[data-theme="dark"] .btn-primary { color: #0e0c09; }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -10px color-mix(in srgb, var(--gold) 60%, transparent); }

.scroll-cue {
  position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%);
  width: 26px; height: 42px; border: 1.5px solid var(--text-muted); border-radius: 20px;
  display: flex; justify-content: center; padding-top: 8px;
}
.scroll-cue span { width: 4px; height: 8px; border-radius: 3px; background: var(--gold); animation: scrollcue 1.8s infinite; }
@keyframes scrollcue { 0% { opacity: 1; transform: translateY(0);} 70% { opacity: 0; transform: translateY(12px);} 100% { opacity: 0;} }

/* ============ Catálogo ============ */
.catalogo { max-width: 1280px; margin: 0 auto; padding: 110px 24px 40px; }
.catalogo-head { text-align: center; margin-bottom: 48px; }
.catalogo-head h2 { font-size: clamp(32px, 4vw, 46px); }
.catalogo-head p { margin-top: 10px; color: var(--text-muted); font-size: 16px; }

.notice-bar {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  text-align: center; margin: 0 auto 32px; padding: 12px 22px; max-width: 720px;
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--gold) 10%, var(--surface));
  border-radius: 999px; color: var(--text-muted); font-size: 13px; line-height: 1.5;
}
.notice-bar svg { flex-shrink: 0; color: var(--gold-dim); }
:root[data-theme="dark"] .notice-bar svg { color: var(--gold); }
.notice-bar strong { color: var(--text); font-weight: 500; }

.toolbar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 20px; margin-bottom: 10px;
}

.search-box {
  display: flex; align-items: center; gap: 10px;
  border: 1px solid var(--border); background: var(--surface);
  border-radius: 999px; padding: 12px 20px; min-width: 260px; flex: 1 1 280px; max-width: 380px;
  color: var(--text-muted); transition: border-color .25s ease;
}
.search-box:focus-within { border-color: var(--gold); }
.search-box svg { flex-shrink: 0; }
.search-box input {
  border: none; outline: none; background: none; color: var(--text);
  font-family: var(--font-sans); font-size: 14.5px; width: 100%;
}
.search-box input::placeholder { color: var(--text-muted); }

.filters { display: flex; flex-wrap: wrap; gap: 10px; }
.filter-chip {
  padding: 10px 20px; border-radius: 999px; border: 1px solid var(--border);
  background: var(--surface); color: var(--text-muted);
  font-size: 13px; letter-spacing: .06em; text-transform: uppercase;
  transition: all .25s ease;
}
.filter-chip:hover { border-color: var(--gold); color: var(--text); }
.filter-chip.active {
  background: var(--text); color: var(--bg); border-color: var(--text);
}
:root[data-theme="dark"] .filter-chip.active { background: var(--gold); color: #0e0c09; border-color: var(--gold); }

.results-count { margin: 22px 2px 4px; font-size: 13px; color: var(--text-muted); letter-spacing: .04em; }

/* ============ Grid & Cards ============ */
.grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
  gap: 26px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
  opacity: 0; transform: translateY(18px);
  animation: cardIn .55s ease forwards;
}
@keyframes cardIn { to { opacity: 1; transform: translateY(0); } }

.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--gold); }

.card-media {
  position: relative; aspect-ratio: 1 / 1;
  background: radial-gradient(circle at 50% 40%, var(--bg-alt), var(--surface));
  display: flex; align-items: center; justify-content: center; padding: 26px;
  overflow: hidden;
}
.card-media img {
  width: 100%; height: 100%; object-fit: contain;
  transition: transform .5s ease;
  filter: drop-shadow(0 14px 18px rgba(0,0,0,.15));
}
.card:hover .card-media img { transform: scale(1.06); }

.card-badge {
  position: absolute; top: 12px; left: 12px;
  padding: 5px 12px; border-radius: 999px;
  background: color-mix(in srgb, var(--bg) 75%, transparent);
  backdrop-filter: blur(6px);
  border: 1px solid var(--border);
  font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted);
}

.card-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-name { font-family: var(--font-serif); font-size: 21px; font-weight: 600; line-height: 1.25; }
.card-desc { font-size: 13.5px; color: var(--text-muted); line-height: 1.5; flex: 1; }
.card-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; padding-top: 14px; border-top: 1px dashed var(--border); }
.card-price { font-family: var(--font-serif); font-size: 22px; font-weight: 700; color: var(--gold-dim); }
:root[data-theme="dark"] .card-price { color: var(--gold); }
.card-tag { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); }

.no-results { text-align: center; padding: 60px 20px; color: var(--text-muted); font-size: 16px; }

/* ============ Promise strip ============ */
.promise {
  max-width: 1280px; margin: 60px auto 0; padding: 50px 24px;
  border-top: 1px solid var(--border);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
}
.promise-item { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.promise-item svg { color: var(--gold); }
.promise-item h3 { font-size: 19px; }
.promise-item p { color: var(--text-muted); font-size: 14px; max-width: 260px; }

/* ============ Footer ============ */
.site-footer { background: var(--ink); color: #ece5d4; margin-top: 60px; }
:root[data-theme="dark"] .site-footer { background: #080705; }
.footer-inner { max-width: 1280px; margin: 0 auto; padding: 56px 24px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.footer-logo { height: 30px; opacity: .95; }
.footer-tag { font-family: var(--font-serif); font-style: italic; color: var(--gold-light); font-size: 18px; }
.footer-copy { font-size: 12.5px; color: #8b8272; margin-top: 14px; letter-spacing: .03em; }

/* ============ To top ============ */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 800;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--text); color: var(--bg); border: none;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow);
  opacity: 0; pointer-events: none; transform: translateY(10px);
  transition: opacity .3s ease, transform .3s ease;
}
:root[data-theme="dark"] .to-top { background: var(--gold); color: #0e0c09; }
.to-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }

.whatsapp-btn {
  position: fixed; left: 22px; bottom: 22px; z-index: 800;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 26px -8px rgba(37, 211, 102, 0.6);
  transition: transform .25s ease, box-shadow .25s ease;
  animation: waPulse 2.6s ease-in-out infinite;
}
.whatsapp-btn:hover { transform: translateY(-3px) scale(1.04); box-shadow: 0 14px 30px -8px rgba(37, 211, 102, 0.75); }
@keyframes waPulse {
  0%, 100% { box-shadow: 0 10px 26px -8px rgba(37, 211, 102, 0.6), 0 0 0 0 rgba(37, 211, 102, 0.45); }
  50% { box-shadow: 0 10px 26px -8px rgba(37, 211, 102, 0.6), 0 0 0 10px rgba(37, 211, 102, 0); }
}

/* ============ Responsive ============ */
@media (max-width: 860px) {
  .main-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--border);
    padding: 8px 24px; transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: all .3s ease;
  }
  .main-nav.open { transform: translateY(0); opacity: 1; visibility: visible; }
  .main-nav a { width: 100%; padding: 14px 0; border-bottom: 1px solid var(--border); }
  .main-nav a:last-child { border-bottom: none; }
  .hamburger { display: flex; }
  .promise { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .header-inner { padding: 0 16px; }
  .brand-logo { height: 26px; }
  .catalogo { padding: 96px 16px 30px; }
  .toolbar { flex-direction: column; align-items: stretch; }
  .search-box { max-width: none; flex: none; width: 100%; }
  .filters { justify-content: center; }
  .grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
  .card-name { font-size: 17px; }
  .card-price { font-size: 18px; }
  .card-desc { font-size: 12.5px; }
  .hero-logo { height: 64px; }
  .notice-bar { text-align: left; border-radius: 18px; font-size: 12.5px; align-items: flex-start; }
  .whatsapp-btn { width: 50px; height: 50px; left: 16px; bottom: 16px; }
  .whatsapp-btn svg { width: 26px; height: 26px; }
  .to-top { right: 16px; bottom: 16px; }
}
