@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500&display=swap');

/* ===== CSS VARIABLES ===== */
:root {
  --wood-deepest: #1a1008;
  --wood-deep: #241508;
  --wood-mid: #2e1c0e;
  --wood-warm: #3a2212;
  --wood-light: #4a2e18;
  --charcoal-dark: #1c1c1c;
  --charcoal-mid: #2a2a2a;
  --charcoal-warm: #323232;
  --charcoal-light: #3e3e3e;
  --amber: #c8922a;
  --amber-light: #d4af37;
  --amber-pale: #e8c97a;
  --amber-glow: rgba(200, 146, 42, 0.15);
  --font-display: 'Cormorant Garamond', serif;
  --font-logo: 'Great Vibes', cursive;
  --font-body: 'Poppins', sans-serif;
  --font-mincho: 'Shippori Mincho', serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background: #000;
  color: #fff;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

/* ===== NAVBAR ===== */
#navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 12000;
  background: transparent !important;
  backdrop-filter: none !important;
  box-shadow: none !important;
  transition: all 0.4s ease;
}

.nav-content {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 14px 40px;
  position: relative;
}

.logo {
  font-family: 'Great Vibes', cursive;
  font-size: 32px;
  color: #b59549;
  text-decoration: none;
  cursor: pointer;
}

.logo:hover {
  color: #d4af37;
}

.menu-icon {
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  cursor: pointer;
  color: rgba(200, 146, 42, 0.75);
  user-select: none;
  transition: all 0.3s ease;
}

.menu-icon:hover {
  color: #d4af37;
  text-shadow:
    0 0 12px rgba(200, 146, 42, 0.5),
    0 0 24px rgba(200, 146, 42, 0.2);
}

.menu-icon.active {
  color: #d4af37;
  text-shadow:
    0 0 12px rgba(200, 146, 42, 0.5),
    0 0 24px rgba(200, 146, 42, 0.2);
}

.menu-icon i {
  pointer-events: none;
}

/* ===== SIDE MENU OVERLAY ===== */
.side-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(5px);
  display: none;
  z-index: 9998;
}

/* ===== SIDE MENU ===== */
.side-menu {
  position: fixed;
  top: 0;
  right: -280px !important;
  width: 250px;
  height: 100vh;
  background: linear-gradient(160deg, rgba(46, 28, 14, 0.75) 0%, rgba(26, 16, 8, 0.85) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: -4px 0 30px rgba(0, 0, 0, 0.4);
  padding: 20px;
  transition: right 0.3s ease !important;
  z-index: 10000;
}

.side-menu.open {
  right: 0 !important;
}

/* ===== SIDE MENU LIST ===== */
.side-menu-list {
  list-style: none;
  padding: 0;
  margin-top: 90px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 45px;
}

.side-menu-list li a {
  position: relative;
  display: inline-block;
  text-decoration: none;
  color: rgba(200, 146, 42, 0.75);
  font-family: 'Shippori Mincho', serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
  transition:
    color 0.3s ease,
    font-weight 0.3s ease,
    text-shadow 0.3s ease;
  text-align: center;
  padding: 10px 0;
}

.side-menu-list li a::before,
.side-menu-list li a::after {
  content: '';
  position: absolute;
  left: 50%;
  width: 200px;
  height: 2px;
  background-color: #d4af37;
  transform: translateX(-50%) scaleX(0);
  transition: transform 0.4s ease;
}

.side-menu-list li a::before {
  top: -8px;
}
.side-menu-list li a::after {
  bottom: -8px;
}

.side-menu-list li a:hover {
  color: #d4af37;
  font-weight: 500;
  text-shadow:
    0 0 12px rgba(200, 146, 42, 0.5),
    0 0 24px rgba(200, 146, 42, 0.2);
}

.side-menu-list li a.active {
  color: #d4af37;
  font-weight: 600;
  text-shadow:
    0 0 12px rgba(200, 146, 42, 0.5),
    0 0 24px rgba(200, 146, 42, 0.2);
}

.side-menu-list li a.active::before,
.side-menu-list li a.active::after {
  transform: translateX(-50%) scaleX(1);
}
/* ===== SIDE TOP ICONS ===== */
.side-top-icons {
  position: absolute;
  bottom: 30px;
  left: 20px;
  display: flex;
  gap: 16px;
  align-items: center;
  z-index: 4000;
}

.menu-icon-item {
  cursor: pointer;
  transition: color 0.3s ease;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  overflow: visible;
  font-size: 0;
}

.menu-icon-item i {
  font-size: 18px;
  color: rgba(200, 146, 42, 0.6);
  pointer-events: none;
  display: block;
  transition:
    color 0.3s ease,
    text-shadow 0.3s ease;
}

.menu-icon-item:hover i {
  color: #d4af37;
  text-shadow:
    0 0 12px rgba(200, 146, 42, 0.5),
    0 0 24px rgba(200, 146, 42, 0.2);
}

.menu-icon-item.active i {
  color: #d4af37;
  text-shadow:
    0 0 12px rgba(200, 146, 42, 0.5),
    0 0 24px rgba(200, 146, 42, 0.2);
}

/* ===== CART BADGE ===== */
.cart-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background: #d4af37;
  color: #000;
  font-size: 11px;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* ===== POPUP OVERLAY — CONTACT ===== */
#popupOverlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(10px);
  display: none;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 9000;
  transition: opacity 0.3s ease;
  opacity: 0;
}

#popupOverlay.active {
  display: flex;
  opacity: 1;
}

.contact-popup {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.contact-card {
  background: linear-gradient(160deg, rgba(36, 21, 8, 0.98) 0%, rgba(20, 12, 4, 0.99) 100%);
  border: 1px solid rgba(200, 146, 42, 0.15);
  padding: 32px 40px;
  border-radius: 3px;
  text-align: center;
  width: 300px;
  color: #e8d5b0;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.8);
  transition: transform 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-3px);
}

.contact-card h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 300;
  color: #c8a96e;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.contact-card p {
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  color: rgba(232, 220, 200, 0.4);
  margin-bottom: 20px;
  line-height: 1.9;
  letter-spacing: 0.3px;
}

.contact-box {
  background: rgba(200, 146, 42, 0.04);
  border: 1px solid rgba(200, 146, 42, 0.2);
  padding: 10px 16px;
  border-radius: 2px;
  font-family: 'Shippori Mincho', serif;
  font-size: 12px;
  color: rgba(200, 146, 42, 0.7);
  letter-spacing: 1.5px;
  margin-bottom: 20px;
}

.contact-btn {
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  font-size: 10px;
  letter-spacing: 3px;
  font-family: 'Shippori Mincho', serif;
  text-transform: uppercase;
  color: rgba(200, 146, 42, 0.45);
  position: relative;
  display: inline-block;
  transition: color 0.3s ease;
}

.contact-btn::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 100%;
  height: 1px;
  background: rgba(200, 146, 42, 0.3);
  transition: all 0.3s ease;
}

.contact-btn:hover {
  color: #d4af37;
  text-shadow:
    0 0 12px rgba(200, 146, 42, 0.6),
    0 0 24px rgba(200, 146, 42, 0.2);
}

.contact-btn:hover::after {
  background: #d4af37;
  box-shadow:
    0 0 8px rgba(212, 175, 55, 0.7),
    0 0 16px rgba(212, 175, 55, 0.3);
}

.contact-social {
  margin-top: 20px;
  background: linear-gradient(160deg, rgba(36, 21, 8, 0.98) 0%, rgba(20, 12, 4, 0.99) 100%);
  border: 1px solid rgba(200, 146, 42, 0.12);
  padding: 14px 32px;
  border-radius: 3px;
  display: flex;
  gap: 28px;
  justify-content: center;
  align-items: center;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.8);
}

.contact-social i {
  font-size: 20px;
  color: rgba(200, 146, 42, 0.6);
  cursor: pointer;
  transition:
    color 0.3s ease,
    text-shadow 0.3s ease;
}

.contact-social i:hover {
  color: #d4af37;
  text-shadow:
    0 0 12px rgba(200, 146, 42, 0.5),
    0 0 24px rgba(200, 146, 42, 0.2);
}

/* ===== POPUP OVERLAY — PAYMENT ===== */
#pembayaranOverlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(10px);
  display: none;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 9000;
  transition: opacity 0.3s ease;
  opacity: 0;
}

#pembayaranOverlay.active {
  display: flex;
  opacity: 1;
}

.pembayaran-popup {
  background: linear-gradient(160deg, rgba(46, 28, 14, 0.95) 0%, rgba(26, 16, 8, 0.98) 100%);
  border: 1px solid rgba(200, 146, 42, 0.15);
  padding: 40px 60px;
  border-radius: 4px;
  text-align: center;
  color: #e8d5b0;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.6);
  width: 700px;
  max-width: 90%;
  animation: popupFade 0.3s ease;
}

.pembayaran-popup h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px;
  font-weight: 300;
  color: #c8a96e;
  letter-spacing: 2px;
  margin-bottom: 25px;
}

.pembayaran-logos,
.pengiriman-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 40px;
}

.pembayaran-logos img,
.pengiriman-logos img {
  width: 80px;
  height: auto;
  object-fit: contain;
  opacity: 0.9;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}

.pembayaran-logos img:hover,
.pengiriman-logos img:hover {
  transform: scale(1.1);
  opacity: 1;
}

@keyframes popupFade {
  from {
    opacity: 0;
    transform: translateY(-15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .contact-popup {
    flex-direction: column;
    gap: 20px;
  }
  .contact-card {
    width: 100%;
  }

  /* Tombol X fixed untuk semua popup di HP */
  .popup-close-btn {
    display: flex;
  }
}

/* ===== POPUP CLOSE BUTTON (HP only) ===== */
.popup-close-btn {
  display: none;
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 99999;
  width: 38px;
  height: 38px;
  background: linear-gradient(160deg, rgba(46, 28, 14, 0.98), rgba(20, 12, 4, 0.99));
  border: 1px solid rgba(200, 146, 42, 0.35);
  border-radius: 2px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: rgba(200, 146, 42, 0.75);
  font-size: 14px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  pointer-events: all;
}

.popup-close-btn:hover {
  color: #d4af37;
  border-color: rgba(200, 146, 42, 0.7);
  text-shadow: 0 0 12px rgba(200, 146, 42, 0.6), 0 0 24px rgba(200, 146, 42, 0.2);
}

/* Posisi kiri untuk contact & payment di HP */
.popup-close-btn.close-left {
  right: auto;
  left: 20px;
}

@media (max-width: 768px) {
  .popup-close-btn {
    display: flex;
  }

  /* Payment method muncul di bawah navbar */
  #pembayaranOverlay {
    padding-top: 70px;
  }

  body.popup-open .side-menu {
    display: none !important;
  }

  body.popup-open .side-menu-overlay {
    display: none !important;
  }
}
/* ===== POPUP: HOW IT WORKS ===== */
#howItWorksOverlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: none;
  justify-content: flex-end;
  align-items: flex-start;
  z-index: 9500;
  overflow-y: auto;
  padding: 80px 20px 40px 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

#howItWorksOverlay.active {
  display: flex;
  opacity: 1;
}

#howItWorksOverlay.active {
  display: flex;
  opacity: 1;
}

.hiw-popup {
  background: linear-gradient(160deg, rgba(36, 21, 8, 0.98) 0%, rgba(20, 12, 4, 0.99) 100%);
  border: 1px solid rgba(200, 146, 42, 0.15);
  border-radius: 3px;
  width: 100%;
  max-width: 720px;
  padding: 50px 54px;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.8);
  margin: auto;
}

.hiw-header {
  margin-bottom: 36px;
}

.hiw-tag {
  font-family: 'Shippori Mincho', serif;
  font-size: 9px;
  letter-spacing: 5px;
  color: rgba(200, 146, 42, 0.5);
  text-transform: uppercase;
  display: block;
  margin-bottom: 14px;
}

.hiw-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px;
  font-weight: 300;
  color: #c8a96e;
  letter-spacing: 2px;
  margin-bottom: 18px;
  line-height: 1.2;
}

.hiw-intro {
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  color: rgba(232, 220, 200, 0.45);
  line-height: 1.9;
  letter-spacing: 0.3px;
}

.hiw-divider-full {
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(200, 146, 42, 0.25), transparent);
  margin: 32px 0;
}

.hiw-section-label {
  font-family: 'Shippori Mincho', serif;
  font-size: 9px;
  letter-spacing: 5px;
  color: rgba(200, 146, 42, 0.45);
  text-transform: uppercase;
  margin-bottom: 28px;
}

.hiw-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.hiw-step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 22px 0;
  border-bottom: 1px solid rgba(200, 146, 42, 0.07);
  transition: background 0.3s ease;
}

.hiw-step:last-child {
  border-bottom: none;
}

.hiw-step:hover {
  background: rgba(200, 146, 42, 0.02);
}

.hiw-step-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 300;
  color: rgba(200, 146, 42, 0.2);
  min-width: 44px;
  line-height: 1;
  padding-top: 2px;
  flex-shrink: 0;
  letter-spacing: 1px;
}

.hiw-step-body h3 {
  font-family: 'Shippori Mincho', serif;
  font-size: 13px;
  font-weight: 600;
  color: rgba(200, 146, 42, 0.8);
  letter-spacing: 2px;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.hiw-step-body p {
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  color: rgba(232, 220, 200, 0.4);
  line-height: 1.9;
  letter-spacing: 0.3px;
}

.hiw-step-body strong {
  color: rgba(200, 146, 42, 0.65);
  font-weight: 500;
}

.hiw-list {
  list-style: none;
  padding: 0;
  margin: 10px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.hiw-list li {
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  color: rgba(232, 220, 200, 0.35);
  line-height: 1.7;
  padding-left: 14px;
  position: relative;
  letter-spacing: 0.3px;
}

.hiw-list li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: rgba(200, 146, 42, 0.4);
}

.hiw-shipping-note {
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  color: rgba(232, 220, 200, 0.35);
  margin-bottom: 16px;
  line-height: 1.8;
}

.hiw-incoterms {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.hiw-inco-tag {
  font-family: 'Shippori Mincho', serif;
  font-size: 11px;
  letter-spacing: 3px;
  color: rgba(200, 146, 42, 0.7);
  border: 1px solid rgba(200, 146, 42, 0.2);
  padding: 7px 18px;
  border-radius: 1px;
  background: rgba(200, 146, 42, 0.04);
  transition: all 0.3s ease;
}

.hiw-inco-tag:hover {
  background: rgba(200, 146, 42, 0.1);
  border-color: rgba(200, 146, 42, 0.45);
  color: #d4af37;
}

.hiw-inco-note {
  font-family: 'Poppins', sans-serif;
  font-size: 10px;
  color: rgba(200, 146, 42, 0.25);
  letter-spacing: 1px;
  margin-top: 4px;
}

@media (max-width: 600px) {
  .hiw-popup {
    padding: 36px 24px;
  }
  .hiw-title {
    font-size: 28px;
  }
  .hiw-step-num {
    font-size: 22px;
    min-width: 34px;
  }
}
/* ===== POPUP: ABOUT US ===== */
#aboutUsOverlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: none;
  justify-content: flex-end;
  align-items: flex-start;
  z-index: 9500;
  overflow-y: auto;
  padding: 80px 20px 40px 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

#aboutUsOverlay.active {
  display: flex;
  opacity: 1;
}

.aboutus-popup {
  background: linear-gradient(160deg, rgba(36, 21, 8, 0.98) 0%, rgba(20, 12, 4, 0.99) 100%);
  border: 1px solid rgba(200, 146, 42, 0.15);
  border-radius: 3px;
  width: 100%;
  max-width: 720px;
  padding: 50px 54px;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.8);
  margin: auto;
}

@media (max-width: 600px) {
  .aboutus-popup {
    padding: 36px 24px;
  }
}
