/* ═══════════════════════════════════════════════════
   Taste of Decòr — Shared Stylesheet
   Design: Warm luxury, Cape Town home goods
═══════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=DM+Sans:wght@300;400;500;600&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: #FAFAF7;
  color: #2C2420;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

:root {
  --dark:       #2C2420;
  --warm-black: #1A1410;
  --gold:       #B8884A;
  --gold-light: #D4AA72;
  --cream:      #FAFAF7;
  --cream-2:    #F5F0E8;
  --cream-3:    #EDE5D8;
  --terracotta: #C4714B;
  --sage:       #7D9480;
  --muted:      #8A7F78;
  --border:     rgba(44,36,32,0.1);
  --radius:     4px;
  --transition: 0.3s ease;
  --shadow:     0 8px 40px rgba(44,36,32,0.08);
  --shadow-lg:  0 20px 60px rgba(44,36,32,0.14);
}

/* ── UTILITIES ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

.section-label {
  font-family: 'DM Sans', sans-serif;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 14px;
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--dark);
}

.section-sub {
  font-size: .95rem;
  color: var(--muted);
  line-height: 1.85;
  max-width: 520px;
  margin-top: 14px;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 30px;
  font-family: 'DM Sans', sans-serif;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  white-space: nowrap;
}
.btn-dark {
  background: var(--dark);
  color: #fff;
}
.btn-dark:hover { background: var(--warm-black); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(44,36,32,0.25); }
.btn-gold {
  background: var(--gold);
  color: #fff;
}
.btn-gold:hover { background: #A07840; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(184,136,74,0.35); }
.btn-outline {
  background: transparent;
  color: var(--dark);
  border: 1.5px solid var(--dark);
}
.btn-outline:hover { background: var(--dark); color: #fff; transform: translateY(-2px); }
.btn-outline-gold {
  background: transparent;
  color: var(--gold);
  border: 1.5px solid var(--gold);
}
.btn-outline-gold:hover { background: var(--gold); color: #fff; }
.btn-wa {
  background: #25D366;
  color: #fff;
}
.btn-wa:hover { background: #1DAA56; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37,211,102,0.3); }

/* ── NAVIGATION ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: 72px;
  display: flex;
  align-items: center;
  background: rgba(250,250,247,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.nav.scrolled { box-shadow: 0 4px 20px rgba(44,36,32,0.08); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}
.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--dark);
  letter-spacing: .02em;
}
.nav-logo span { color: var(--gold); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  font-size: .8rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--dark); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-cart {
  position: relative;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--border);
  border-radius: 50%;
  cursor: pointer;
  transition: all var(--transition);
  color: var(--dark);
  font-size: 1rem;
}
.nav-cart:hover { border-color: var(--gold); color: var(--gold); }
.cart-count {
  position: absolute;
  top: -5px; right: -5px;
  width: 18px; height: 18px;
  background: var(--terracotta);
  color: #fff;
  font-size: .58rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.hamburger span {
  width: 24px; height: 1.5px;
  background: var(--dark);
  transition: all var(--transition);
  display: block;
}

/* ── MOBILE MENU ── */
.mobile-menu {
  position: fixed;
  top: 72px; left: 0; right: 0;
  background: #fff;
  padding: 32px 40px;
  border-bottom: 1px solid var(--border);
  transform: translateY(-100%);
  opacity: 0;
  transition: all 0.35s ease;
  z-index: 999;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu a {
  display: block;
  font-size: 1.1rem;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  color: var(--dark);
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

/* ── FOOTER ── */
.footer {
  background: var(--warm-black);
  color: rgba(255,255,255,0.7);
  padding: 72px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 56px;
}
.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 16px;
}
.footer-logo span { color: var(--gold); }
.footer-tagline {
  font-size: .88rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.75;
  max-width: 240px;
  margin-bottom: 28px;
}
.footer-social { display: flex; gap: 12px; }
.social-link {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .75rem;
  color: rgba(255,255,255,0.5);
  transition: all var(--transition);
}
.social-link:hover { border-color: var(--gold); color: var(--gold); }
.footer-col h4 {
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 20px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  font-size: .88rem;
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--gold); }
.footer-col p {
  font-size: .88rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.75;
}
.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p {
  font-size: .78rem;
  color: rgba(255,255,255,0.3);
}
.footer-bottom a { color: var(--gold); }

/* ── ANIMATIONS ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* ── PRODUCT CARD ── */
.product-card {
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  transition: all var(--transition);
  box-shadow: 0 2px 12px rgba(44,36,32,0.06);
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.product-img-wrap {
  position: relative;
  overflow: hidden;
  background: var(--cream-2);
}
.product-img-wrap img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.55s ease;
}
.product-card:hover .product-img-wrap img { transform: scale(1.06); }
.product-badge {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--terracotta);
  color: #fff;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 2px;
}
.product-badge.new { background: var(--sage); }
.product-badge.sale { background: var(--terracotta); }
.product-actions {
  position: absolute;
  bottom: -56px;
  left: 0; right: 0;
  padding: 0 16px 16px;
  display: flex;
  gap: 8px;
  transition: bottom 0.3s ease;
}
.product-card:hover .product-actions { bottom: 0; }
.product-body { padding: 18px 20px 22px; }
.product-cat {
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}
.product-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 10px;
  line-height: 1.3;
}
.product-price {
  display: flex;
  align-items: center;
  gap: 10px;
}
.price-current {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--dark);
}
.price-original {
  font-size: .88rem;
  color: var(--muted);
  text-decoration: line-through;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .container { padding: 0 28px; }
}
@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .nav-inner { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-cta .btn { display: none; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .section-title { font-size: clamp(1.7rem, 6vw, 2.4rem); }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
