:root {
  --background: 38 30% 97%;
  --foreground: 0 0% 7%;
  --primary: 0 0% 5%;
  --primary-foreground: 0 0% 100%;
  --secondary: 30 24% 90%;
  --secondary-foreground: 0 0% 8%;
  --muted: 32 18% 55%;
  --destructive: 0 70% 45%;
  --border: 35 18% 84%;
  --card: 0 0% 100%;
  --accent: 28 45% 58%;
  --shadow-sm: 0 8px 24px hsl(0 0% 0% / 0.08);
  --shadow-md: 0 18px 50px hsl(0 0% 0% / 0.12);
  --shadow-lg: 0 30px 90px hsl(0 0% 0% / 0.18);
  --transition-fast: 180ms ease;
  --transition-smooth: 360ms cubic-bezier(.2,.8,.2,1);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
}

.dark {
  --background: 0 0% 6%;
  --foreground: 40 25% 94%;
  --primary: 40 25% 94%;
  --primary-foreground: 0 0% 6%;
  --secondary: 0 0% 12%;
  --secondary-foreground: 40 25% 94%;
  --muted: 35 10% 64%;
  --border: 0 0% 18%;
  --card: 0 0% 10%;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; border: 0; }
img { max-width: 100%; display: block; object-fit: cover; }

.brand-logo {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 700;
  letter-spacing: .08em;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 18px;
  background: hsl(var(--background) / .86);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid hsl(var(--border));
  transition: var(--transition-smooth);
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.site-header .brand-logo { font-size: 1.05rem; }
.nav-toggle { width: 44px; height: 44px; border-radius: 999px; background: hsl(var(--secondary)); display: grid; place-content: center; gap: 5px; }
.nav-toggle span { width: 18px; height: 2px; background: hsl(var(--foreground)); display: block; transition: var(--transition-fast); }
.site-nav {
  position: fixed;
  top: 76px;
  left: 18px;
  right: 18px;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: grid;
  padding: 12px;
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
}
.site-nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
.site-nav a { padding: 14px; border-radius: var(--radius-sm); color: hsl(var(--muted)); font-weight: 700; }
.site-nav a.active, .site-nav a:hover { color: hsl(var(--foreground)); background: hsl(var(--secondary)); }
.cart-count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 7px; border-radius: 999px; background: hsl(var(--primary)); color: hsl(var(--primary-foreground)); font-size: .75rem; }

.section, main { padding-inline: 18px; }
.section { padding-top: 64px; }
.eyebrow { display: inline-block; text-transform: uppercase; letter-spacing: .18em; font-size: .72rem; font-weight: 800; color: hsl(var(--accent)); margin-bottom: 12px; }
h1, h2, h3 { letter-spacing: -.04em; line-height: .95; }
h1 { font-size: clamp(3rem, 17vw, 7.5rem); }
h2 { font-size: clamp(2rem, 9vw, 4.5rem); }
h3 { font-size: 1.45rem; }
p { color: hsl(var(--muted)); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 800; transition: var(--transition-smooth); }
.btn:hover { transform: translateY(-3px); }
.btn-primary { background: hsl(var(--primary)); color: hsl(var(--primary-foreground)); box-shadow: var(--shadow-sm); }
.btn-ghost { border: 1px solid hsl(var(--border)); background: hsl(var(--card)); }
.product-card { background: hsl(var(--card)); border: 1px solid hsl(var(--border)); border-radius: var(--radius-lg); padding: 12px; transition: var(--transition-smooth); overflow: hidden; }
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.product-art { height: 320px; border-radius: 24px; position: relative; overflow: hidden; background: hsl(var(--secondary)); }
.product-art img { width: 100%; height: 100%; transition: var(--transition-smooth); }
.product-card:hover .product-art img { transform: scale(1.08); }
.product-category-label { position: absolute; top: 12px; right: 12px; background: hsl(var(--background) / .8); backdrop-filter: blur(4px); padding: 4px 10px; border-radius: 999px; font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.product-info { padding: 16px 6px 6px; }
.product-meta { display: flex; justify-content: space-between; gap: 12px; align-items: start; }
.product-name { color: hsl(var(--foreground)); font-weight: 800; }
.price { color: hsl(var(--foreground)); font-weight: 900; }
.badge { display: inline-flex; margin-top: 10px; padding: 6px 10px; border-radius: 999px; background: hsl(var(--primary) / .10); color: hsl(var(--primary)); font-size: .78rem; font-weight: 800; }
.card-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.card-actions .btn { min-height: 42px; padding: 0 12px; font-size: .86rem; }

.whatsapp-float { position: fixed; right: 16px; bottom: 16px; z-index: 60; height: 52px; padding: 0 18px; border-radius: 999px; background: hsl(142 70% 36%); color: white; font-weight: 900; box-shadow: var(--shadow-lg); transition: var(--transition-smooth); }
.whatsapp-float:hover { transform: translateY(-4px) scale(1.03); }
.site-footer { padding: 64px 18px 92px; text-align: center; }
.site-footer .brand-logo { font-size: 1.35rem; margin-bottom: 8px; }
.reveal { opacity: 0; transform: translateY(22px); transition: 700ms cubic-bezier(.2,.8,.2,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 120ms; }
.delay-2 { transition-delay: 220ms; }
.empty-state { background: hsl(var(--card)); border: 1px dashed hsl(var(--border)); border-radius: var(--radius-lg); padding: 34px; text-align: center; }
.page-title { padding: 42px 18px 24px; }

@media (min-width: 760px) {
  .site-header { padding: 20px 36px; }
  .nav-toggle { display: none; }
  .site-nav { position: static; display: flex; align-items: center; gap: 4px; opacity: 1; pointer-events: auto; transform: none; box-shadow: none; background: transparent; border: 0; padding: 0; }
  .site-nav a { padding: 10px 14px; }
  .section, main { padding-inline: 36px; }
  .site-footer { padding-inline: 36px; }
}

@media (min-width: 1120px) {
  .section, main { padding-inline: 64px; }
  .site-header { padding-inline: 64px; }
}