:root {
  --bg: #faf7f2;
  --fg: #1e293b;
  --muted: #64748b;
  --gold: #b8860b;
  --gold-light: #d4af37;
  --wa: #25D366;
  --wa-dark: #1ebe57;
  --pad-x: 8%;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: 'Poppins', sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  overflow-x: hidden;
}
h1, h2, h3 { font-family: 'Playfair Display', serif; line-height: 1.2; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }

/* Header */
header {
  position: sticky; top: 0; z-index: 50;
  background: linear-gradient(90deg, #0f172a, #1e293b, #b8860b);
  color: white; padding: 1rem var(--pad-x);
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
header .logo { font-family: 'Playfair Display', serif; font-size: 1.25rem; font-weight: 700; }
header nav { display: flex; gap: 1.25rem; flex-wrap: wrap; }
header nav a { font-size: 0.875rem; font-weight: 500; color: rgba(255,255,255,0.9); transition: color 0.3s; }
header nav a:hover { color: #ffd700; }
@media (max-width: 640px) {
  header { justify-content: center; text-align: center; padding: 0.875rem 1rem; }
  header nav { width: 100%; justify-content: center; gap: 1rem; }
  header nav a { font-size: 0.8rem; }
  header .logo { font-size: 1.15rem; }
}

/* Hero */
.hero {
  position: relative; min-height: 80vh; display: flex; align-items: center; justify-content: center;
  text-align: center; color: white;
  background-size: cover; background-position: center;
  padding: 4rem 1.25rem;
}
.hero .overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.55); }
.hero .content { position: relative; z-index: 1; max-width: 700px; width: 100%; }
.hero h1 { font-size: clamp(2rem, 7vw, 4rem); font-weight: 700; }
.hero p { margin-top: 1.25rem; font-size: clamp(1rem, 2.5vw, 1.15rem); font-weight: 300; color: rgba(255,255,255,0.92); }
.hero-buttons { margin-top: 2rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.75rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  border-radius: 9999px; padding: 0.85rem 1.5rem;
  font-size: 0.875rem; font-weight: 600; color: white;
  box-shadow: 0 8px 18px -6px rgba(0,0,0,0.25);
  transition: all 0.3s; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 22px -6px rgba(0,0,0,0.3); }
.btn-gold { background: var(--gold-light); }
.btn-gold:hover { background: var(--gold); }
.btn-wa { background: var(--wa); }
.btn-wa:hover { background: var(--wa-dark); }

/* Sections */
section { padding: 4rem var(--pad-x); }
section.bg-white { background: white; }
section.bg-warm { background: var(--bg); }
section.bg-dark { background: var(--fg); color: white; }
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 4.5vw, 2.5rem);
  font-weight: 700; text-align: center; margin-bottom: 1rem;
}
.section-subtitle { text-align: center; color: var(--muted); max-width: 700px; margin: 0 auto 2.5rem; font-size: 0.95rem; }

/* Grid */
.grid { display: grid; gap: 1.25rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }

/* Cards */
.card, .prod-card {
  overflow: hidden; border-radius: 1rem; background: white;
  box-shadow: 0 4px 12px -4px rgba(0,0,0,0.12);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex; flex-direction: column;
}
.card:hover, .prod-card:hover { transform: translateY(-6px); box-shadow: 0 18px 28px -10px rgba(0,0,0,0.18); }
.card-img { overflow: hidden; }
.card-img img { width: 100%; height: 13rem; object-fit: cover; transition: transform 0.5s; }
.prod-card .card-img img { height: 14rem; }
.card:hover .card-img img, .prod-card:hover .card-img img { transform: scale(1.05); }
.card-body { padding: 1.25rem; display: flex; flex-direction: column; flex: 1; gap: 0.5rem; }
.card-title { font-family: 'Playfair Display', serif; font-size: 1.15rem; font-weight: 700; }
.card-title a:hover { color: var(--gold); }
.card-desc { font-size: 0.875rem; color: var(--muted); flex: 1; }
.cat-link { font-size: 0.875rem; font-weight: 600; color: var(--gold); }
.cat-link:hover { color: var(--gold-light); }
.wa-link { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.875rem; font-weight: 600; color: var(--wa); }
.wa-link:hover { color: var(--wa-dark); }

/* Product card price row */
.prod-card .price-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 0.75rem; flex-wrap: wrap; margin-top: 0.5rem;
}
.prod-price { font-size: 1.15rem; font-weight: 700; color: var(--gold); }
.btn-sm {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: var(--wa); color: white;
  padding: 0.55rem 1rem; border-radius: 9999px;
  font-size: 0.78rem; font-weight: 600; white-space: nowrap;
  transition: background 0.3s;
}
.btn-sm:hover { background: var(--wa-dark); }

/* FAQ */
.faq-item {
  border: 1px solid rgba(30,41,59,0.1); border-radius: 0.75rem;
  background: white; padding: 1.1rem; box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  cursor: pointer; font-weight: 600; color: var(--fg); list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon { color: var(--gold); font-size: 1.25rem; transition: transform 0.3s; }
.faq-item[open] summary .icon { transform: rotate(45deg); }
.faq-item p { margin-top: 0.75rem; font-size: 0.9rem; color: #475569; }

/* Info cards */
.info-card {
  border: 1px solid rgba(30,41,59,0.1); border-radius: 1rem;
  background: white; padding: 1.5rem; box-shadow: 0 1px 2px rgba(0,0,0,0.04);
  transition: all 0.3s;
}
.info-card:hover { transform: translateY(-4px); box-shadow: 0 10px 18px -6px rgba(0,0,0,0.12); }
.info-card h3 { font-family: 'Playfair Display', serif; font-size: 1.2rem; font-weight: 700; margin: 0.75rem 0; }
.info-card ul { list-style: none; font-size: 0.9rem; color: #475569; }
.info-card li { display: flex; gap: 0.5rem; margin-bottom: 0.5rem; }
.info-card li span { color: var(--gold); margin-top: 0.15rem; }

/* Footer */
footer { background: #0f172a; color: rgba(255,255,255,0.7); text-align: center; padding: 1.5rem 1rem; font-size: 0.85rem; }

/* Floating WA */
.fab-wa {
  position: fixed; bottom: 1.25rem; right: 1.25rem; z-index: 50;
  display: flex; align-items: center; justify-content: center;
  width: 3.5rem; height: 3.5rem; border-radius: 9999px;
  background: var(--wa); color: white;
  box-shadow: 0 10px 18px -4px rgba(0,0,0,0.25);
  transition: transform 0.3s, background 0.3s;
}
.fab-wa:hover { transform: scale(1.1); background: var(--wa-dark); }
.fab-ping {
  position: absolute; inset: 0; border-radius: 9999px;
  background: var(--wa); opacity: 0.3; animation: ping 1.5s infinite;
}
@keyframes ping {
  0% { transform: scale(1); opacity: 0.35; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* Category page hero */
.cat-hero {
  position: relative; min-height: 40vh; display: flex; align-items: center; justify-content: center;
  text-align: center; color: white;
  background-size: cover; background-position: center;
  padding: 3rem 1.25rem;
}
.cat-hero .overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.6); }
.cat-hero .content { position: relative; z-index: 1; max-width: 700px; }
.cat-hero h1 { font-size: clamp(1.8rem, 6vw, 3.5rem); font-weight: 700; }
.cat-hero p { margin-top: 1rem; font-size: clamp(0.95rem, 2.2vw, 1.1rem); color: rgba(255,255,255,0.9); }

/* Not found */
.not-found { min-height: 60vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 2rem 1rem; }

/* Mobile tuning */
@media (max-width: 768px) {
  :root { --pad-x: 1.25rem; }
  section { padding: 3rem 1.25rem; }
  .hero { min-height: 70vh; }
  .card-img img, .prod-card .card-img img { height: 12rem; }
  .fab-wa { width: 3.25rem; height: 3.25rem; }
}
@media (max-width: 380px) {
  .btn { padding: 0.75rem 1.1rem; font-size: 0.8rem; }
  .hero-buttons { width: 100%; }
  .hero-buttons .btn { width: 100%; }
}
