/* ==========================================================================
   Bukhur Al Falah - Luxury Arabian Incense Theme
   Design System accurately matching the reference mockup
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700;800;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Amiri:ital,wght@0,700;0,900;1,700&display=swap');

:root {
  /* Dark Luxury Palette (Homepage & Nav) */
  --bg-dark-base: #0d0c0a;
  --bg-dark-surface: #14120e;
  --bg-dark-card: #1b1813;
  --bg-dark-elevated: #242019;
  
  /* Gold Accents */
  --gold-primary: #c59a47;
  --gold-light: #f7e5b2;
  --gold-bright: #ffe494;
  --gold-dark: #8c6a28;
  --gold-border: rgba(197, 154, 71, 0.35);
  --gold-gradient: linear-gradient(135deg, #f7e5b2 0%, #c59a47 50%, #9e7424 100%);
  
  /* Light/Cream Palette (Catalog, Cart, Checkout) */
  --bg-cream-base: #fcfbf7;
  --bg-cream-surface: #f7f4ed;
  --bg-cream-card: #ffffff;
  --border-cream: #e8e2d5;
  --text-dark: #1b1813;
  --text-muted: #736b5e;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: var(--bg-dark-base);
  color: #f3efe6;
  overflow-x: hidden;
  scroll-behavior: smooth;
  padding-bottom: 70px;
}

@media (min-width: 768px) {
  body {
    padding-bottom: 0;
  }
}

.font-cinzel {
  font-family: 'Cinzel', serif;
}

.font-amiri {
  font-family: 'Amiri', serif;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #0d0c0a;
}
::-webkit-scrollbar-thumb {
  background: #c59a47;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #f7e5b2;
}

/* ==========================================================================
   BUTTONS & CONTROLS
   ========================================================================== */
.btn-gold-pill {
  background: var(--gold-gradient);
  color: #0d0c0a;
  font-weight: 800;
  border-radius: 9999px;
  padding: 0.75rem 1.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(197, 154, 71, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.4);
}
.btn-gold-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(197, 154, 71, 0.55);
  filter: brightness(1.06);
}

.btn-dark-pill {
  background: #1b1813;
  color: #f7e5b2;
  border: 1px solid var(--gold-border);
  font-weight: 700;
  border-radius: 9999px;
  padding: 0.65rem 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}
.btn-dark-pill:hover {
  background: #28241d;
  border-color: var(--gold-primary);
  color: #ffffff;
}

.btn-outline-gold {
  background: transparent;
  color: var(--gold-light);
  border: 1px solid var(--gold-primary);
  border-radius: 9999px;
  padding: 0.5rem 1.25rem;
  font-weight: 600;
  transition: all 0.3s ease;
}
.btn-outline-gold:hover {
  background: var(--gold-primary);
  color: #0d0c0a;
}

/* ==========================================================================
   HERO SECTION & SMOKE EFFECT
   ========================================================================== */
.hero-banner-container {
  position: relative;
  min-height: 520px;
  background-color: #0d0c0a;
  background-image: 
    linear-gradient(90deg, rgba(13, 12, 10, 0.96) 0%, rgba(13, 12, 10, 0.85) 45%, rgba(13, 12, 10, 0.4) 100%),
    url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: center right;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--gold-border);
}

.hero-banner-container::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 50%, rgba(197, 154, 71, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

/* Floating Smoke Animation */
.smoke-column {
  position: absolute;
  top: 10%;
  right: 20%;
  width: 120px;
  height: 260px;
  pointer-events: none;
  z-index: 10;
}
.smoke-puff {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 45px;
  height: 45px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.45) 0%, rgba(247, 229, 178, 0.15) 40%, transparent 70%);
  border-radius: 50%;
  filter: blur(10px);
  animation: smokePuffAnim 5s infinite ease-out;
}
.smoke-puff:nth-child(2) {
  animation-delay: 1.8s;
  animation-duration: 5.5s;
  width: 60px;
  height: 60px;
}
.smoke-puff:nth-child(3) {
  animation-delay: 3.4s;
  animation-duration: 6s;
  width: 75px;
  height: 75px;
}
@keyframes smokePuffAnim {
  0% { transform: translateX(-50%) translateY(0) scale(0.6); opacity: 0; }
  25% { opacity: 0.75; }
  65% { transform: translateX(-65%) translateY(-130px) scale(2.2); opacity: 0.35; }
  100% { transform: translateX(-35%) translateY(-240px) scale(3.2); opacity: 0; }
}

/* ==========================================================================
   CATEGORY ARCH CARDS (Kategori Pilihan persis Mockup)
   ========================================================================== */
.category-arch-card {
  background: linear-gradient(180deg, #1b1813 0%, #12100d 100%);
  border: 1px solid var(--gold-border);
  border-radius: 24px 24px 16px 16px;
  padding: 1.5rem 1rem 1.25rem 1rem;
  text-align: center;
  transition: all 0.35s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}
.category-arch-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-primary);
  box-shadow: 0 16px 36px rgba(197, 154, 71, 0.25), 0 0 20px rgba(197, 154, 71, 0.15);
  background: linear-gradient(180deg, #252019 0%, #171410 100%);
}
.category-arch-card .icon-frame {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  background: radial-gradient(circle, #2a241b 0%, #15130f 100%);
  border: 1px solid rgba(197, 154, 71, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem auto;
  transition: all 0.35s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}
.category-arch-card:hover .icon-frame {
  transform: scale(1.1);
  border-color: var(--gold-bright);
  box-shadow: 0 0 16px rgba(197, 154, 71, 0.5);
}

/* ==========================================================================
   PRODUCT CARDS (Dark Theme & Cream Theme)
   ========================================================================== */
.product-card-dark {
  background: var(--bg-dark-card);
  border: 1px solid rgba(197, 154, 71, 0.25);
  border-radius: 18px;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  position: relative;
}
.product-card-dark:hover {
  transform: translateY(-6px);
  border-color: var(--gold-primary);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6), 0 0 20px rgba(197, 154, 71, 0.2);
}

.product-card-cream {
  background: #ffffff;
  border: 1px solid #e8e2d5;
  border-radius: 18px;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 4px 16px rgba(27, 24, 19, 0.05);
  display: flex;
  flex-direction: column;
  position: relative;
}
.product-card-cream:hover {
  transform: translateY(-6px);
  border-color: var(--gold-primary);
  box-shadow: 0 14px 32px rgba(27, 24, 19, 0.12);
}

/* Discount Badge */
.badge-discount-red {
  background: #dc2626;
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  letter-spacing: 0.02em;
}

/* ==========================================================================
   MULTI-STEP CHECKOUT INDICATOR
   ========================================================================== */
.step-indicator-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 600px;
  margin: 0 auto 2rem auto;
}
.step-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: #8c8273;
}
.step-item.active {
  color: #c59a47;
}
.step-circle {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1.5px solid #8c8273;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
}
.step-item.active .step-circle {
  border-color: #c59a47;
  background: #c59a47;
  color: #0d0c0a;
}
.step-line {
  flex: 1;
  height: 2px;
  background: #e0d8ca;
  margin: 0 0.75rem;
}
.step-line.active {
  background: #c59a47;
}

/* ==========================================================================
   PROMO BANNER 50% (Spesial Hari Ini)
   ========================================================================== */
.promo-banner-50 {
  background: 
    linear-gradient(135deg, rgba(20, 18, 14, 0.95) 0%, rgba(27, 24, 19, 0.9) 100%),
    url('../images/promo-bg.jpg');
  background-size: cover;
  background-position: center;
  border: 1.5px solid rgba(197, 154, 71, 0.5);
  border-radius: 28px;
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.5), 0 0 30px rgba(197, 154, 71, 0.15);
}

/* Golden Round Badge (Diskon 50%) */
.gold-round-badge {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: var(--gold-gradient);
  color: #0d0c0a;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  box-shadow: 0 8px 25px rgba(197, 154, 71, 0.5);
  border: 2px solid #ffffff;
  animation: pulseBadge 3s infinite ease-in-out;
}
@keyframes pulseBadge {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}

/* ==========================================================================
   MOBILE BOTTOM BAR PERSIS MOCKUP (4 ICONS)
   ========================================================================== */
.mobile-bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: #14120e;
  border-top: 1px solid rgba(197, 154, 71, 0.35);
  display: flex;
  align-items: center;
  justify-content: space-around;
  z-index: 50;
  box-shadow: 0 -8px 25px rgba(0, 0, 0, 0.5);
}
@media (min-width: 768px) {
  .mobile-bottom-bar {
    display: none;
  }
}
.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #8c8273;
  font-size: 0.68rem;
  font-weight: 700;
  gap: 2px;
  transition: all 0.25s ease;
  cursor: pointer;
}
.mobile-nav-item i {
  font-size: 1.15rem;
}
.mobile-nav-item.active {
  color: #c59a47;
}

/* Tab Navigation Buttons */
.tab-btn {
  padding: 0.6rem 1.25rem;
  border-bottom: 2px solid transparent;
  color: #736b5e;
  font-weight: 700;
  font-size: 0.85rem;
  transition: all 0.25s ease;
  cursor: pointer;
}
.tab-btn.active {
  color: #c59a47;
  border-bottom-color: #c59a47;
}
