:root {
  --gold: #c9a227;
  --gold-dark: #a17c1a;
  --gold-light: #e6c964;
  --cream: #fdfbf6;
}

* { -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; }
body { overflow-x: hidden; }

/* Gold gradient text */
.text-gold-gradient {
  background: linear-gradient(135deg, #a17c1a 0%, #e6c964 40%, #c9a227 70%, #a17c1a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.bg-gold-gradient {
  background: linear-gradient(135deg, #a17c1a 0%, #d4af37 45%, #e6c964 55%, #a17c1a 100%);
}

.border-gold-gradient { border-image: linear-gradient(135deg, #a17c1a, #e6c964, #a17c1a) 1; }

/* Buttons */
.btn-gold {
  background: linear-gradient(135deg, #b8901f 0%, #d4af37 50%, #b8901f 100%);
  color: #fff;
  transition: all .3s ease;
  letter-spacing: .05em;
}
.btn-gold:hover { box-shadow: 0 8px 24px rgba(201,162,39,.4); transform: translateY(-2px); }

.btn-outline-gold {
  border: 1.5px solid var(--gold);
  color: var(--gold-dark);
  transition: all .3s ease;
}
.btn-outline-gold:hover { background: var(--gold); color: #fff; }

/* Divider ornament */
.gold-divider { display: flex; align-items: center; justify-content: center; gap: .75rem; }
.gold-divider::before, .gold-divider::after {
  content: ''; height: 1px; width: 40px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.gold-divider::after { background: linear-gradient(90deg, var(--gold), transparent); }

/* Product card */
.product-card { transition: transform .4s cubic-bezier(.25,.8,.25,1), box-shadow .4s ease, border-color .4s ease; box-shadow: 0 4px 18px rgba(161,124,26,.06); }
.product-card:hover { transform: translateY(-8px); box-shadow: 0 22px 44px rgba(161,124,26,.2); border-color: rgba(201,162,39,.35); }
.product-card .product-img { transition: transform .7s cubic-bezier(.25,.8,.25,1); }
.product-card:hover .product-img { transform: scale(1.07); }
.product-card .aspect-\[3\/4\] { position: relative; }

/* Centered modern nav */
.nav-link { position: relative; padding-bottom: 4px; transition: color .3s ease; }
.nav-link::after {
  content: ''; position: absolute; left: 50%; bottom: 0; height: 1.5px; width: 0;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light));
  transform: translateX(-50%); transition: width .35s ease;
}
.nav-link:hover { color: var(--gold-dark); }
.nav-link:hover::after, .nav-link.nav-active::after { width: 100%; }
.nav-link.nav-active { color: var(--gold-dark); }

/* Header shadow on scroll */
#site-header.scrolled { box-shadow: 0 6px 24px rgba(0,0,0,.07); background: rgba(255,255,255,.98); }

/* Small logo divider */
.gold-divider-sm { display: inline-flex; align-items: center; gap: .5rem; }
.gold-divider-sm::before, .gold-divider-sm::after {
  content: ''; height: 1px; width: 18px;
}
.gold-divider-sm::before { background: linear-gradient(90deg, transparent, var(--gold)); }
.gold-divider-sm::after { background: linear-gradient(90deg, var(--gold), transparent); }

/* Fade in */
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px);} to { opacity:1; transform: translateY(0);} }
.fade-up { animation: fadeUp .7s ease forwards; }
.reveal { opacity: 0; }
.reveal.visible { animation: fadeUp .8s ease forwards; }

/* Shimmer on hero */
@keyframes shimmer { 0%{background-position:-200% center;} 100%{background-position:200% center;} }
.shimmer {
  background: linear-gradient(90deg, #a17c1a, #e6c964, #fff8e1, #e6c964, #a17c1a);
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 4s linear infinite;
}

/* Cart badge */
.cart-badge {
  position: absolute; top: -6px; right: -8px;
  background: var(--gold); color: #fff; font-size: 10px;
  min-width: 18px; height: 18px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center; padding: 0 4px;
}

/* Toast */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(100px);
  background: #1a1a1a; color: #fff; padding: 12px 24px; border-radius: 8px;
  border: 1px solid var(--gold); z-index: 9999; opacity: 0; transition: all .4s ease;
}
.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }

/* Drawer */
.drawer { transition: transform .4s cubic-bezier(.25,.8,.25,1); }

/* Scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #f5f0e6; }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 5px; }

/* Loading spinner */
.spinner { border: 3px solid #f0e6c9; border-top-color: var(--gold); border-radius: 50%; width: 40px; height: 40px; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Hero background */
.hero-bg {
  background:
    radial-gradient(ellipse at top left, rgba(230,201,100,.12), transparent 50%),
    radial-gradient(ellipse at bottom right, rgba(201,162,39,.1), transparent 50%),
    linear-gradient(180deg, #fffdf8 0%, #fdfbf6 100%);
}

.card-glow { box-shadow: 0 10px 30px rgba(161,124,26,.08); }

/* Line clamp */
.clamp-2 { display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.clamp-3 { display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }
