:root {
  --brand-cream: #f7f5f0;
  --brand-green-950: #0c1f16;
  --brand-green-900: #12291d;
  --brand-green-800: #163424;
  --brand-green-700: #1e4531;
  --brand-gold-500: #c9a45c;
  --brand-gold-400: #d9b97a;
  --brand-gold-300: #e8cf9f;
  --brand-burgundy: #6e1f2a;
}

body {
  background: var(--brand-cream);
  color: var(--brand-green-950);
  font-family: "Cairo", "Segoe UI", Tahoma, sans-serif;
}

::selection {
  background: var(--brand-gold-500);
  color: var(--brand-green-950);
}

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--brand-green-950); }
::-webkit-scrollbar-thumb { background: var(--brand-gold-500); border-radius: 8px; }

.gold-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand-gold-500), transparent);
}

.pattern-diagonal {
  background-image: repeating-linear-gradient(
    45deg,
    rgba(201, 164, 92, 0.05) 0px,
    rgba(201, 164, 92, 0.05) 1px,
    transparent 1px,
    transparent 14px
  );
}

.text-gradient-gold {
  background: linear-gradient(135deg, var(--brand-gold-300), var(--brand-gold-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: rgba(12, 31, 22, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(201, 164, 92, 0.2);
}

.brand-logo-circle {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 2px solid var(--brand-gold-500);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-green-900);
  box-shadow: 0 0 20px rgba(201, 164, 92, 0.15);
  transition: transform 0.3s ease;
  color: var(--brand-gold-400);
  font-weight: 700;
  font-size: 1.15rem;
}

.brand-logo-circle:hover { transform: scale(1.06); }

.nav-link-custom {
  color: rgba(247, 245, 240, 0.8) !important;
  transition: color 0.2s ease;
}
.nav-link-custom:hover { color: var(--brand-gold-400) !important; }

/* Hero */
.hero-section {
  background: var(--brand-green-950);
  position: relative;
  overflow: hidden;
}
.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top, rgba(201, 164, 92, 0.14), transparent 60%);
  pointer-events: none;
}
.hero-eyebrow {
  color: var(--brand-gold-400);
  letter-spacing: 0.3em;
  font-size: 0.8rem;
}
.hero-title {
  color: var(--brand-cream);
  font-weight: 800;
  line-height: 1.15;
}
.hero-subtitle {
  color: rgba(247, 245, 240, 0.6);
  max-width: 620px;
}
.btn-gold {
  background: var(--brand-gold-500);
  color: var(--brand-green-950);
  font-weight: 700;
  border-radius: 999px;
  border: none;
  padding: 0.75rem 2.2rem;
  transition: all 0.3s ease;
  box-shadow: 0 8px 24px rgba(201, 164, 92, 0.2);
}
.btn-gold:hover {
  background: var(--brand-gold-400);
  color: var(--brand-green-950);
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 12px 28px rgba(201, 164, 92, 0.3);
}

/* Section heading */
.section-title-underline {
  width: 64px;
  height: 3px;
  background: var(--brand-gold-500);
  margin: 0.75rem auto 0;
  border-radius: 4px;
}

/* Product card */
.product-card {
  background: var(--brand-green-900);
  border: 1px solid rgba(201, 164, 92, 0.15);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  text-decoration: none;
  display: block;
  height: 100%;
  opacity: 0;
  transform: translateY(24px);
}
.product-card.in-view {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(201, 164, 92, 0.4);
  box-shadow: 0 16px 36px rgba(201, 164, 92, 0.12);
}
.product-img-wrap {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--brand-green-800);
}
.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.product-card:hover .product-img-wrap img { transform: scale(1.1); }

.badge-soldout-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
}
.badge-soldout-overlay span {
  color: var(--brand-cream);
  border: 1px solid rgba(247, 245, 240, 0.6);
  padding: 0.4rem 1.2rem;
  border-radius: 999px;
  letter-spacing: 0.15em;
  font-size: 0.85rem;
}
.badge-discount {
  position: absolute;
  top: 0.75rem;
  inset-inline-end: 0.75rem;
  background: var(--brand-burgundy);
  color: var(--brand-cream);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

.product-body { padding: 1rem; }
.product-name {
  color: var(--brand-cream);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.product-meta {
  color: rgba(247, 245, 240, 0.5);
  font-size: 0.78rem;
  margin-bottom: 0.5rem;
}
.product-price { color: var(--brand-gold-300); font-weight: 700; }
.product-price-old {
  color: rgba(247, 245, 240, 0.4);
  text-decoration: line-through;
  font-size: 0.8rem;
}

/* Footer */
.site-footer {
  background: var(--brand-green-950);
  color: rgba(247, 245, 240, 0.8);
  margin-top: 6rem;
}
.footer-brand { color: var(--brand-gold-300); font-weight: 700; font-size: 1.25rem; }
.footer-heading { color: var(--brand-gold-400); font-weight: 600; }
.footer-text { color: rgba(247, 245, 240, 0.6); font-size: 0.9rem; line-height: 1.9; }
.social-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(201, 164, 92, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-gold-300);
  transition: all 0.3s ease;
}
.social-icon:hover {
  background: var(--brand-gold-500);
  color: var(--brand-green-950);
  transform: translateY(-3px);
}
.footer-bottom {
  text-align: center;
  font-size: 0.8rem;
  color: rgba(247, 245, 240, 0.4);
  padding: 1.25rem 0;
}

/* Product detail page */
.detail-img-wrap {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 1rem;
  overflow: hidden;
  background: var(--brand-green-900);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
}
.detail-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.detail-category { color: var(--brand-gold-500); font-size: 0.8rem; letter-spacing: 0.15em; }
.detail-title { font-weight: 800; color: var(--brand-green-950); }
.detail-info-box {
  background: rgba(12, 31, 22, 0.05);
  border-radius: 0.75rem;
  padding: 1rem;
}
.detail-info-box.highlight {
  background: rgba(201, 164, 92, 0.1);
  border: 1px solid rgba(201, 164, 92, 0.3);
}
.detail-info-label { color: rgba(12, 31, 22, 0.5); font-size: 0.82rem; margin-bottom: 0.25rem; }
.detail-info-value { font-weight: 700; color: var(--brand-green-950); }

.btn-whatsapp {
  background: #25d366;
  color: #fff;
  font-weight: 700;
  border-radius: 999px;
  border: none;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-whatsapp:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.3);
}
.btn-whatsapp:disabled,
.btn-whatsapp.disabled {
  background: var(--brand-green-800);
  color: rgba(247, 245, 240, 0.4);
  box-shadow: none;
  pointer-events: none;
}

.skeleton {
  background: linear-gradient(90deg, rgba(0,0,0,0.06) 25%, rgba(0,0,0,0.1) 37%, rgba(0,0,0,0.06) 63%);
  background-size: 400% 100%;
  animation: skeleton-loading 1.4s ease infinite;
  border-radius: 0.5rem;
}
@keyframes skeleton-loading {
  0% { background-position: 100% 50%; }
  100% { background-position: 0 50%; }
}

.fade-up {
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 0.6s ease forwards;
}
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}
