/* ==========================================================================
   DAZFA FASHION - MUSLIM FASHION TRENDS INDONESIA DESIGN SYSTEM
   Brand Colors: Deep Royal Plum (#4A1D33), Dusty Rose Mauve (#8E3E63),
                 Champagne Gold (#C99757), Soft Mauve Cream (#FAF4F6)
   ========================================================================== */

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

:root {
  --primary: #4A1D33;
  --primary-hover: #361224;
  --secondary: #8E3E63;
  --accent: #C99757;
  --accent-light: #FBF4EB;
  --bg-blush: #FAF4F6;
  --bg-surface: #FFFFFF;
  --text-dark: #2B1721;
  --text-muted: #755C67;
  --text-light: #9C828F;
  --border-light: #EED9E2;
  --border-subtle: #F6ECF0;
  --shadow-sm: 0 2px 8px rgba(74, 29, 51, 0.05);
  --shadow-md: 0 8px 24px rgba(74, 29, 51, 0.09);
  --shadow-lg: 0 16px 40px rgba(74, 29, 51, 0.14);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-pill: 9999px;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --container-max: 1320px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-blush);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  outline: none;
  border: none;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ==========================================================================
   ANNOUNCEMENT TOP BAR
   ========================================================================== */
.announcement-bar {
  background: linear-gradient(90deg, #9E566C 0%, #C88C9B 50%, #9E566C 100%);
  color: #FFFFFF;
  font-size: 0.825rem;
  font-weight: 500;
  text-align: center;
  padding: 0.5rem 1rem;
  letter-spacing: 0.03em;
  position: relative;
  z-index: 50;
}

.announcement-bar a {
  text-decoration: underline;
  margin-left: 0.5rem;
  font-weight: 600;
}

/* ==========================================================================
   HEADER & NAVBAR
   ========================================================================== */
.header-wrapper {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 1.5rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-brand img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.brand-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-dark);
}

.brand-text span {
  color: var(--primary);
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--text-dark);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav-btn {
  background: transparent;
  color: var(--text-dark);
  font-size: 1.25rem;
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  transition: var(--transition);
}

.nav-btn:hover {
  background-color: var(--accent-light);
  color: var(--primary);
}

.badge-count {
  position: absolute;
  top: 4px;
  right: 4px;
  background-color: var(--primary);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

.nav-toggle {
  display: none;
  background: none;
  cursor: pointer;
  color: var(--text-dark);
  padding: 6px;
  border-radius: var(--radius-sm);
  align-items: center;
  justify-content: center;
}

.nav-drawer-header, .nav-drawer-footer, .nav-backdrop {
  display: none;
}

/* ==========================================================================
   BUTTONS & TYPOGRAPHY
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-dark);
  line-height: 1.25;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background-color: var(--primary);
  color: #FFFFFF;
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(158, 86, 108, 0.25);
}

.btn-secondary {
  background-color: var(--bg-surface);
  color: var(--primary);
  border: 1px solid var(--primary);
}

.btn-secondary:hover {
  background-color: var(--accent-light);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text-dark);
  border: 1px solid var(--border-light);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-sm {
  padding: 0.45rem 1rem;
  font-size: 0.8rem;
}

.btn-lg {
  padding: 0.95rem 2.25rem;
  font-size: 1rem;
}

.btn-block {
  width: 100%;
}

/* ==========================================================================
   HERO BANNER SLIDER
   ========================================================================== */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, #FFF9FA 0%, #FDF3F5 50%, #FAF0F3 100%);
  padding: 3.5rem 0 4.5rem;
  overflow: hidden;
  border-bottom: 1px solid var(--border-light);
}

.hero-slide {
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.hero-slide.active {
  display: block;
  opacity: 1;
  animation: heroSlideIn 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   HERO BANNER CAROUSEL & SHOWCASE (Uncropped Full Container Slider)
   ========================================================================== */
.hero-banner-section {
  position: relative;
  padding: 1.5rem 0 1rem;
  background: linear-gradient(180deg, #FDF9FA 0%, #FFFFFF 100%);
}

.hero-banner-carousel {
  position: relative;
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 35px rgba(74, 29, 51, 0.12);
  background: #FAF5F7;
  border: 1px solid rgba(142, 62, 99, 0.12);
}

.hero-slides-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1200 / 519;
  background: #FAF5F7;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  transform: scale(0.98);
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  z-index: 2;
}

.hero-banner-link {
  display: block;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.hero-banner-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  transition: transform 0.5s ease;
}

.hero-banner-carousel:hover .hero-banner-img {
  transform: scale(1.015);
}

/* Arrow Controls */
.hero-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(74, 29, 51, 0.15);
  color: #4A1D33;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  opacity: 0.85;
}

.hero-carousel-arrow:hover {
  background: #4A1D33;
  color: #FFFFFF;
  opacity: 1;
  transform: translateY(-50%) scale(1.08);
}

.hero-arrow-prev { left: 16px; }
.hero-arrow-next { right: 16px; }

/* Carousel Dots */
.hero-carousel-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(6px);
  padding: 6px 12px;
  border-radius: 999px;
}

.hero-carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
}

.hero-carousel-dot.active {
  background: #FFFFFF;
  width: 26px;
  border-radius: 10px;
}

/* ==========================================================================
   OFFICIAL CHANNELS STRIP (Clean & Professional)
   ========================================================================== */
.official-channels-strip {
  padding: 0.75rem 0 1.25rem;
}

.channels-strip-card {
  background: #FFFFFF;
  border: 1px solid rgba(142, 62, 99, 0.14);
  border-radius: 16px;
  padding: 0.85rem 1.25rem;
  box-shadow: 0 6px 20px rgba(74, 29, 51, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.channels-strip-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.live-pulse-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #25D366;
  box-shadow: 0 0 0 rgba(37, 211, 102, 0.4);
  animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.channels-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: #4A1D33;
  letter-spacing: 0.02em;
}

.channels-pills-wrap {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.channel-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.channel-pill.shopee {
  background: #FFF3ED;
  color: #EE4D2D;
  border-color: #FFD8CE;
}
.channel-pill.shopee:hover {
  background: #EE4D2D;
  color: #FFF;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(238, 77, 45, 0.3);
}

.channel-pill.tiktok {
  background: #F4F4F5;
  color: #111827;
  border-color: #E4E4E7;
}
.channel-pill.tiktok:hover {
  background: #000000;
  color: #FFF;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.channel-pill.instagram {
  background: #FDF2F8;
  color: #BE185D;
  border-color: #FBCFE8;
}
.channel-pill.instagram:hover {
  background: linear-gradient(45deg, #F58529, #DD2A7B, #8134AF);
  color: #FFF;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(221, 42, 123, 0.3);
}

.channel-pill.facebook {
  background: #EFF6FF;
  color: #1D4ED8;
  border-color: #BFDBFE;
}
.channel-pill.facebook:hover {
  background: #1877F2;
  color: #FFF;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(24, 119, 242, 0.3);
}

.channel-pill.whatsapp {
  background: #E8F8F0;
  color: #0A8158;
  border-color: #B2E5D2;
}
.channel-pill.whatsapp:hover {
  background: #25D366;
  color: #FFF;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35);
}

/* ==========================================================================
   TRUST FEATURES SECTION
   ========================================================================== */
.trust-features-section {
  padding: 0.5rem 0 2rem;
}

.trust-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.trust-feature-card {
  background: #FFFFFF;
  border: 1px solid rgba(142, 62, 99, 0.12);
  border-radius: 14px;
  padding: 1rem 1.15rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(74, 29, 51, 0.03);
}

.trust-feature-card:hover {
  border-color: #8E3E63;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(74, 29, 51, 0.08);
}

.feature-icon-badge {
  font-size: 1.4rem;
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: #FAF5F7;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(142, 62, 99, 0.15);
}

.feature-info {
  display: flex;
  flex-direction: column;
}

.feature-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #4A1D33;
}

.feature-desc {
  font-size: 0.76rem;
  color: var(--text-muted);
  line-height: 1.35;
  margin-top: 2px;
}

@media (max-width: 991px) {
  .trust-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .hero-banner-section {
    padding: 0.75rem 0 0.5rem;
  }
  .hero-banner-carousel {
    border-radius: 12px;
  }
  .hero-carousel-arrow {
    display: none;
  }
  .hero-carousel-dots {
    bottom: 8px;
    padding: 4px 8px;
  }
  .hero-carousel-dot {
    width: 6px;
    height: 6px;
  }
  .hero-carousel-dot.active {
    width: 16px;
  }
  .channels-strip-card {
    padding: 0.75rem 1rem;
    flex-direction: column;
    align-items: flex-start;
  }
  .channels-pills-wrap {
    width: 100%;
  }
  .channel-pill {
    flex: 1 1 calc(50% - 6px);
    justify-content: center;
    font-size: 0.78rem;
    padding: 6px 8px;
  }
  .trust-features-grid {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }
  .trust-feature-card {
    padding: 0.75rem 1rem;
  }
}
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-dot.active {
  background: var(--primary);
  width: 30px;
  border-radius: var(--radius-pill);
}

/* ==========================================================================
   CATEGORY CARDS
   ========================================================================== */
.section-padding {
  padding: 4.5rem 0;
}

.section-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 3rem;
}

.section-tag {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary);
  letter-spacing: 0.15em;
  margin-bottom: 0.5rem;
  display: block;
}

.section-title {
  font-size: 2.25rem;
  margin-bottom: 0.75rem;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 1.25rem;
}

.category-card {
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  padding: 1.25rem 1rem;
  text-align: center;
  border: 1px solid var(--border-light);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.category-card:hover {
  transform: translateY(-4px);
  border-color: var(--secondary);
  box-shadow: var(--shadow-md);
}

.category-thumb {
  width: 92px;
  height: 92px;
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 0.75rem;
  border: 2px solid var(--accent-light);
  box-shadow: 0 4px 12px rgba(181, 98, 114, 0.08);
}

.category-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.category-card:hover .category-thumb img {
  transform: scale(1.08);
}

.category-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-dark);
}

.category-count {
  font-size: 0.75rem;
  color: var(--text-light);
  margin-top: 0.2rem;
}

/* ==========================================================================
   PRODUCT CARDS & GRID
   ========================================================================== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}

.product-card {
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--secondary);
}

.product-media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  background-color: #F8F5F6;
  overflow: hidden;
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.product-img.img-hover {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.product-card:hover .product-img.img-main {
  opacity: 0;
}

.product-card:hover .product-img.img-hover {
  opacity: 1;
  transform: scale(1.04);
}

.product-badges {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 2;
}

.badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-block;
}

.badge-discount {
  background-color: #D32F2F;
  color: #FFFFFF;
}

.badge-new {
  background-color: var(--primary);
  color: #FFFFFF;
}

.badge-hot {
  background-color: #E65100;
  color: #FFFFFF;
}

.badge-best {
  background-color: #C88C9B;
  color: #FFFFFF;
}

.product-wishlist-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-muted);
  transition: var(--transition);
  z-index: 2;
}

.product-wishlist-btn:hover, .product-wishlist-btn.active {
  color: #D32F2F;
  transform: scale(1.1);
}

.product-info {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-category {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--text-light);
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 0.35rem;
}

.product-title {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.star-rating {
  color: #F5A623;
  display: flex;
  align-items: center;
}

.sold-count {
  font-size: 0.75rem;
}

.product-pricing {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  margin-top: auto;
  padding-bottom: 0.75rem;
}

.price-current {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
}

.price-old {
  font-size: 0.85rem;
  color: var(--text-light);
  text-decoration: line-through;
}

.product-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
}

/* ==========================================================================
   SHOP / CATALOG LAYOUT & CONTROLS
   ========================================================================== */
.shop-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 1.5rem;
}

.shop-title {
  font-size: 2.2rem;
  margin-bottom: 0.35rem;
}

.shop-subtitle {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.shop-controls {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.shop-search-form {
  display: flex;
  gap: 0.5rem;
}

.shop-search-input {
  width: 220px;
  padding: 0.55rem 0.85rem;
}

.shop-sort-select {
  width: 190px;
  padding: 0.55rem 0.85rem;
}

.catalog-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 2.5rem;
}

.catalog-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.mobile-category-chips {
  display: none;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-pill);
  background: #FFF;
  border: 1px solid var(--border-light);
  color: var(--text-dark);
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  transition: var(--transition);
  text-decoration: none;
}

.filter-chip:hover, .filter-chip.active {
  background: var(--primary);
  color: #FFF;
  border-color: var(--primary);
}

/* ==========================================================================
   SPECIAL PROMO / COUNTDOWN SECTION
   ========================================================================== */
.promo-section {
  background: linear-gradient(135deg, #FFF0F4 0%, #FBE5EB 100%);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  margin: 3rem 0;
  border: 1px solid var(--border-light);
}

.countdown-box {
  display: flex;
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.countdown-item {
  background: #FFFFFF;
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.85rem;
  text-align: center;
  min-width: 55px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}

.countdown-num {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary);
  display: block;
  line-height: 1.1;
}

.countdown-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
}

/* ==========================================================================
   VOUCHER CARDS
   ========================================================================== */
.voucher-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.voucher-card {
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  border: 1px dashed var(--secondary);
  padding: 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  transition: var(--transition);
}

.voucher-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.voucher-info h4 {
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.voucher-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.voucher-code {
  display: inline-block;
  font-family: monospace;
  font-size: 0.85rem;
  font-weight: 700;
  background: var(--accent-light);
  color: var(--primary);
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-sm);
  margin-top: 0.5rem;
}

.copy-btn {
  background: var(--primary);
  color: #fff;
  padding: 0.45rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.copy-btn:hover {
  background: var(--primary-hover);
}

/* ==========================================================================
   TRUST BADGES / FEATURES
   ========================================================================== */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding: 2.5rem 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  margin: 3.5rem 0;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.trust-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.trust-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
}

.trust-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   PRODUCT DETAIL PAGE
   ========================================================================== */
.product-detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  padding: 2.5rem 0;
}

.gallery-wrapper {
  display: flex;
  gap: 1rem;
}

.thumbnails-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 80px;
}

.thumb-item {
  width: 80px;
  height: 100px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
}

.thumb-item.active, .thumb-item:hover {
  border-color: var(--primary);
}

.thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.main-image-box {
  flex: 1;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #F8F5F6;
  border: 1px solid var(--border-light);
  position: relative;
}

.main-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.variant-picker {
  margin: 1.5rem 0;
}

.variant-title {
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  display: block;
}

.chips-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip-btn {
  padding: 0.45rem 1rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 500;
  transition: var(--transition);
}

.chip-btn.active, .chip-btn:hover {
  border-color: var(--primary);
  background: var(--accent-light);
  color: var(--primary);
  font-weight: 600;
}

.qty-control {
  display: flex;
  align-items: center;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  overflow: hidden;
  width: fit-content;
}

.qty-btn {
  width: 36px;
  height: 36px;
  background: var(--bg-surface);
  cursor: pointer;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.qty-btn:hover {
  background: var(--border-light);
}

.qty-input {
  width: 50px;
  height: 36px;
  text-align: center;
  font-weight: 600;
  background: #FFF;
}

/* ==========================================================================
   CART & CHECKOUT PROGRESS BAR
   ========================================================================== */
.free-shipping-bar {
  background: var(--accent-light);
  border-radius: var(--radius-pill);
  height: 8px;
  overflow: hidden;
  margin: 0.75rem 0;
}

.free-shipping-fill {
  background: linear-gradient(90deg, var(--secondary), var(--primary));
  height: 100%;
  border-radius: var(--radius-pill);
  transition: width 0.4s ease;
}

.checkout-steps {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.step-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.step-item.active {
  color: var(--primary);
  font-weight: 700;
}

.step-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid currentColor;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}

.step-item.active .step-num {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* ==========================================================================
   CHECKOUT & PAYMENT STYLING
   ========================================================================== */
.checkout-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 2.5rem;
  padding: 2rem 0;
}

.form-card {
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  padding: 2rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--text-dark);
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  color: var(--text-dark);
  font-size: 0.9rem;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(158, 86, 108, 0.15);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.payment-method-card {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 1rem;
  margin-bottom: 0.75rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.payment-method-card:hover, .payment-method-card.selected {
  border-color: var(--primary);
  background: var(--bg-blush);
}

.payment-method-card input[type="radio"] {
  accent-color: var(--primary);
  width: 18px;
  height: 18px;
}

/* QRIS Display Container */
.qris-container {
  text-align: center;
  background: #FFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 2rem;
  max-width: 480px;
  margin: 0 auto;
  box-shadow: var(--shadow-md);
}

.qr-code-box {
  width: 250px;
  height: 250px;
  margin: 1.5rem auto;
  border: 2px dashed var(--secondary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FFF;
}

.qr-code-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.va-number-box {
  background: var(--accent-light);
  padding: 1.25rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 1.5rem 0;
}

.va-num {
  font-family: monospace;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--primary);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background: #251E20;
  color: #E2D9DC;
  margin-top: auto;
  padding: 4.5rem 0 2rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand img {
  height: 54px;
  margin-bottom: 1.25rem;
}

.footer-desc {
  font-size: 0.9rem;
  color: #B5A8AC;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.footer-heading {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #FFFFFF;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: #B5A8AC;
}

.footer-links a:hover {
  color: var(--secondary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: #8E8286;
}

.payment-badges {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.pay-badge {
  background: #FFF;
  color: #333;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
}

/* ==========================================================================
   FLOATING WHATSAPP & BACK TO TOP
   ========================================================================== */
.floating-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 54px;
  height: 54px;
  background-color: #25D366;
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  z-index: 99;
  transition: var(--transition);
}

.floating-whatsapp:hover {
  transform: scale(1.1);
}

.back-to-top {
  position: fixed;
  bottom: 152px;
  right: 28px;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--border-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--text-dark);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

/* ==========================================================================
   TOAST NOTIFICATION
   ========================================================================== */
.toast-container {
  position: fixed;
  top: 90px;
  right: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toast {
  background: #FFFFFF;
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1.25rem;
  box-shadow: var(--shadow-lg);
  font-size: 0.875rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 280px;
  animation: slideInRight 0.3s ease;
}

.toast.success { border-left-color: #2E7D32; }
.toast.error { border-left-color: #D32F2F; }
.toast.warning { border-left-color: #F57C00; }

@keyframes slideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* ==========================================================================
   ANIMATIONS & MICRO-INTERACTIONS
   ========================================================================== */
@keyframes cartBadgeBounce {
  0% { transform: scale(1); }
  25% { transform: scale(1.5) rotate(-8deg); background: #D81B60; }
  50% { transform: scale(0.85) rotate(6deg); }
  75% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

.cart-badge.cart-bump {
  animation: cartBadgeBounce 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(158, 86, 108, 0.45); }
  50% { box-shadow: 0 0 0 14px rgba(158, 86, 108, 0); }
}

.btn-glow {
  animation: pulseGlow 2.8s infinite;
}

/* 1. BUTTON SHINING RAY EFFECT */
.btn-primary, .btn-shining, .btn-glow {
  position: relative;
  overflow: hidden;
}

.btn-primary::after, .btn-shining::after, .btn-glow::after {
  content: '';
  position: absolute;
  top: -60%;
  left: -90%;
  width: 50%;
  height: 220%;
  background: linear-gradient(
    115deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.55) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(25deg);
  animation: buttonShineRay 4s infinite cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

@keyframes buttonShineRay {
  0% { left: -90%; }
  25% { left: 160%; }
  100% { left: 160%; }
}

.btn-primary:hover::after, .btn-shining:hover::after {
  animation: buttonShineRayFast 0.75s ease;
}

@keyframes buttonShineRayFast {
  0% { left: -90%; }
  100% { left: 160%; }
}

/* 2. METALLIC SHINING BADGES */
.badge-discount, .badge-hot, .badge-new, .hero-badge {
  position: relative;
  overflow: hidden;
}

.badge-discount::after, .badge-hot::after, .hero-badge::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 55%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.7), transparent);
  animation: badgeShine 3s infinite ease-in-out;
  pointer-events: none;
}

@keyframes badgeShine {
  0% { left: -100%; }
  25% { left: 140%; }
  100% { left: 140%; }
}

/* 3. PRODUCT IMAGE HOVER SHEEN (SPECULAR HIGHLIGHT) */
.product-media {
  position: relative;
  overflow: hidden;
}

.product-media::before {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    110deg,
    transparent 20%,
    rgba(255, 255, 255, 0.38) 50%,
    transparent 80%
  );
  z-index: 3;
  pointer-events: none;
  transform: skewX(-25deg);
  transition: none;
}

.product-card:hover .product-media::before {
  left: 150%;
  transition: left 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 4. BRAND LOGO TEXT SHIMMER (Rose Gold / Burgundy Contrast) */
@keyframes brandTextShine {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.brand-text {
  background: linear-gradient(90deg, #6C2B3E 0%, #9E566C 35%, #C88C9B 50%, #9E566C 65%, #6C2B3E 100%);
  background-size: 200% auto;
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  animation: brandTextShine 5s ease infinite;
}

/* 5. TOP ANNOUNCEMENT BAR SHIMMER */
.announcement-bar {
  background: linear-gradient(90deg, #9E566C 0%, #B5657D 35%, #E2A7B5 50%, #B5657D 65%, #9E566C 100%);
  background-size: 200% auto;
  animation: bannerShine 8s linear infinite;
}

@keyframes bannerShine {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

/* 6. VOUCHER & FLOATING CARDS SHEEN */
.hero-floating-card, .voucher-card {
  position: relative;
  overflow: hidden;
}

.hero-floating-card::after, .voucher-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -100%;
  width: 50%;
  height: 200%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: rotate(30deg);
  animation: cardSheen 5s infinite;
  pointer-events: none;
}

@keyframes cardSheen {
  0% { left: -100%; }
  25% { left: 160%; }
  100% { left: 160%; }
}

/* 7. COUNTDOWN BOX AMBIENT GLOW */
.countdown-box {
  animation: countdownGlow 2.5s infinite alternate ease-in-out;
}

@keyframes countdownGlow {
  from {
    box-shadow: 0 0 8px rgba(200, 140, 155, 0.2);
    border-color: rgba(200, 140, 155, 0.35);
  }
  to {
    box-shadow: 0 0 25px rgba(200, 140, 155, 0.65), 0 0 8px rgba(255, 255, 255, 0.8);
    border-color: rgba(200, 140, 155, 0.85);
  }
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.header-wrapper {
  transition: background-color 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}

.header-wrapper.header-scrolled {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 4px 22px rgba(48, 40, 43, 0.08);
}

.announcements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.75rem;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES (DESKTOP / TABLET / MOBILE)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .hero-title { font-size: 2.6rem; }
  .hero-card-frame { height: 380px; }
  .product-grid { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
  /* Prevent horizontal scroll on mobile viewport */
  html, body {
    overflow-x: hidden;
    width: 100%;
  }

  .container {
    padding: 0 1rem;
  }

  /* Announcement Top Bar */
  .announcement-bar {
    font-size: 0.72rem;
    padding: 0.35rem 0.75rem;
    line-height: 1.35;
  }
  .announcement-bar .container {
    display: flex;
    flex-direction: column;
    gap: 2px;
    align-items: center;
  }
  .announcement-bar a {
    margin-left: 0;
    font-size: 0.7rem;
  }

  /* Sticky Navbar & Header */
  .navbar {
    height: 58px;
    gap: 0.5rem;
  }

  .nav-brand {
    gap: 0.45rem;
    min-width: 0;
    flex-shrink: 1;
  }

  .nav-brand img {
    height: 32px;
  }

  .brand-text {
    font-size: 1.15rem;
    letter-spacing: 0.04em;
    white-space: nowrap;
  }

  .nav-actions {
    gap: 0.35rem;
    flex-shrink: 0;
  }

  .nav-btn {
    width: 36px;
    height: 36px;
  }

  .nav-btn svg {
    width: 18px;
    height: 18px;
  }

  .nav-toggle {
    display: flex;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
  }

  .nav-login-btn {
    display: none !important;
  }

  /* Off-canvas Mobile Drawer */
  .nav-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1rem;
    margin-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-light);
  }

  .nav-drawer-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }

  .nav-drawer-brand img {
    height: 28px;
    width: auto;
  }

  .nav-drawer-brand .brand-text {
    font-size: 1.1rem;
  }

  .nav-drawer-close {
    background: none;
    border: none;
    font-size: 1.75rem;
    line-height: 1;
    color: var(--text-dark);
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    transition: var(--transition);
  }

  .nav-drawer-close:hover {
    background: var(--accent-light);
    color: var(--primary);
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -320px;
    width: 290px;
    max-width: 85vw;
    height: 100vh;
    background: #FFFFFF;
    flex-direction: column;
    align-items: stretch;
    padding: 1.25rem 1.25rem 2rem;
    gap: 0.25rem;
    box-shadow: -10px 0 35px rgba(0, 0, 0, 0.16);
    z-index: 1000;
    transition: right 0.32s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex !important;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .nav-menu.open {
    right: 0;
  }

  .nav-menu .nav-link {
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.65rem 0.75rem;
    border-radius: 8px;
    display: block;
  }

  .nav-menu .nav-link:hover, .nav-menu .nav-link.active {
    background: var(--accent-light);
    color: var(--primary);
  }

  .nav-menu .nav-link::after {
    display: none;
  }

  .nav-drawer-footer {
    display: block;
    margin-top: auto;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border-light);
  }

  .drawer-user-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
  }

  .drawer-user-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--primary);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
    flex-shrink: 0;
  }

  .drawer-user-meta {
    overflow: hidden;
  }

  .drawer-user-name {
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--text-dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .drawer-user-email {
    font-size: 0.75rem;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .drawer-user-actions {
    display: flex;
    gap: 0.5rem;
  }

  .drawer-user-actions .btn {
    flex: 1;
    padding: 0.5rem;
    font-size: 0.8rem;
  }

  .nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(18, 12, 14, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    display: block !important;
  }

  .nav-backdrop.open {
    opacity: 1;
    pointer-events: auto;
  }

  body.menu-open {
    overflow: hidden;
  }

  /* Hero Section */
  .hero-section {
    padding: 1.25rem 0 2rem;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    text-align: center;
  }

  .hero-content-col {
    padding-right: 0;
  }

  .hero-badge-wrap {
    justify-content: center;
    margin-bottom: 0.75rem;
    gap: 0.4rem;
  }

  .hero-badge {
    font-size: 0.72rem;
    padding: 0.3rem 0.75rem;
  }

  .hero-badge-sub {
    font-size: 0.72rem;
  }

  .hero-title {
    font-size: 1.85rem;
    line-height: 1.2;
    margin-bottom: 0.65rem;
  }

  .hero-subtitle {
    font-size: 0.875rem;
    line-height: 1.5;
    margin: 0 auto 1.35rem;
    max-width: 100%;
  }

  .hero-actions {
    flex-direction: column;
    gap: 0.65rem;
    width: 100%;
    margin-bottom: 1.5rem;
  }

  .hero-actions .btn {
    width: 100%;
    padding: 0.75rem 1.25rem;
    font-size: 0.875rem;
    justify-content: center;
  }

  .hero-trust-chips {
    justify-content: center;
    gap: 0.65rem;
    padding-top: 1rem;
  }

  .trust-chip {
    font-size: 0.75rem;
  }

  .hero-card-frame {
    max-width: 320px;
    height: 260px;
    border-radius: 16px;
    margin: 0 auto;
    border-width: 3px;
  }

  .hero-floating-card {
    bottom: 10px;
    left: 10px;
    right: 10px;
    padding: 0.55rem 0.85rem;
    border-radius: 12px;
  }

  .hero-floating-card .floating-tag {
    font-size: 0.65rem;
  }

  .hero-floating-card .floating-title {
    font-size: 0.8rem;
  }

  .hero-floating-card .floating-price {
    font-size: 0.75rem;
    padding: 0.2rem 0.5rem;
  }

  /* Section Styles */
  .section-padding {
    padding: 2.5rem 0;
  }

  .section-header {
    margin-bottom: 1.75rem;
  }

  .section-title {
    font-size: 1.6rem;
    margin-bottom: 0.4rem;
  }

  .section-subtitle {
    font-size: 0.85rem;
  }

  /* Categories Grid (3 Columns on Mobile) */
  .category-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 0.65rem;
  }

  .category-card {
    padding: 0.75rem 0.4rem;
    border-radius: var(--radius-sm);
  }

  .category-thumb {
    width: 58px;
    height: 58px;
    border-radius: 12px;
    margin-bottom: 0.45rem;
  }

  .category-name {
    font-size: 0.75rem;
  }

  .category-count {
    font-size: 0.65rem;
  }

  /* Product Cards & Grid (2 Columns on Mobile) */
  .product-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.75rem;
  }

  .product-card {
    border-radius: var(--radius-sm);
  }

  .product-badges {
    top: 6px;
    left: 6px;
    gap: 3px;
  }

  .badge {
    font-size: 0.625rem;
    padding: 0.2rem 0.45rem;
  }

  .product-wishlist-btn {
    width: 28px;
    height: 28px;
    font-size: 0.85rem;
    top: 6px;
    right: 6px;
  }

  .product-info {
    padding: 0.75rem 0.65rem;
  }

  .product-category {
    font-size: 0.68rem;
    margin-bottom: 0.25rem;
  }

  .product-title {
    font-size: 0.85rem;
    line-height: 1.35;
    margin-bottom: 0.35rem;
  }

  .product-meta {
    font-size: 0.7rem;
    gap: 0.35rem;
    margin-bottom: 0.5rem;
  }

  .product-pricing {
    gap: 0.4rem;
    padding-bottom: 0.5rem;
  }

  .price-current {
    font-size: 0.95rem;
  }

  .price-old {
    font-size: 0.72rem;
  }

  .product-actions {
    gap: 0.35rem;
  }

  .product-actions .btn {
    padding: 0.45rem 0.5rem;
    font-size: 0.75rem;
  }

  /* Promo Section Countdown */
  .promo-section {
    padding: 1.75rem 1rem;
    margin: 2rem 0;
    border-radius: var(--radius-md);
  }

  .countdown-box {
    gap: 0.45rem;
    padding: 0.6rem 0.85rem;
  }

  .countdown-item {
    min-width: 44px;
    padding: 0.35rem 0.45rem;
  }

  .countdown-num {
    font-size: 1.15rem;
  }

  .countdown-label {
    font-size: 0.625rem;
  }

  /* Announcements Grid */
  .announcements-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem;
  }

  /* Trust Grid */
  .trust-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .trust-item {
    padding: 1rem;
  }

  /* Footer */
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .payment-badges {
    flex-wrap: wrap;
    justify-content: center;
  }

  /* Floating WhatsApp, Dazfa AI Widget, and Back to Top (Strictly stacked so they NEVER collide) */
  .floating-whatsapp {
    bottom: 16px;
    right: 14px;
    width: 46px;
    height: 46px;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
    z-index: 99;
  }

  .floating-whatsapp svg {
    width: 24px;
    height: 24px;
  }

  .dazfa-ai-widget {
    bottom: 70px;
    right: 14px;
    z-index: 999;
  }

  .ai-toggle-btn {
    width: 46px;
    height: 46px;
    padding: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 4px 14px rgba(74, 29, 51, 0.4);
    border: 2px solid #C99757;
    background: linear-gradient(135deg, #4A1D33 0%, #8E3E63 100%);
  }

  .ai-avatar-icon {
    font-size: 1.35rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .ai-btn-text {
    display: none;
  }

  .ai-online-dot {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 9px;
    height: 9px;
    border: 1.5px solid #FFFFFF;
    box-shadow: 0 0 6px #00E676;
  }

  .back-to-top {
    bottom: 124px;
    right: 17px;
    width: 40px;
    height: 40px;
    font-size: 1rem;
    z-index: 90;
  }

  /* Specific Elevation ONLY when on Cart with active items or Checkout with sticky bar */
  body.page-cart:not(.cart-is-empty) .floating-whatsapp,
  body.page-checkout .floating-whatsapp {
    bottom: calc(76px + env(safe-area-inset-bottom, 0px));
    right: 14px;
    width: 44px;
    height: 44px;
  }

  body.page-cart:not(.cart-is-empty) .dazfa-ai-widget,
  body.page-checkout .dazfa-ai-widget {
    bottom: calc(128px + env(safe-area-inset-bottom, 0px));
    right: 14px;
  }

  body.page-cart:not(.cart-is-empty) .back-to-top,
  body.page-checkout .back-to-top {
    bottom: calc(180px + env(safe-area-inset-bottom, 0px));
    right: 17px;
    width: 38px;
    height: 38px;
  }

  /* Checkout & Cart Steps */
  .checkout-steps {
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 0.25rem;
  }
  .checkout-steps::-webkit-scrollbar {
    display: none;
  }
  .step-item {
    font-size: 0.72rem;
    gap: 0.35rem;
    white-space: nowrap;
    flex-shrink: 0;
  }
  .step-num {
    width: 22px;
    height: 22px;
    font-size: 0.7rem;
    flex-shrink: 0;
  }

  /* Mobile Shop & Catalog */
  .shop-header-row {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
  }

  .shop-title {
    font-size: 1.65rem;
  }

  .shop-controls {
    flex-direction: column;
    width: 100%;
    gap: 0.65rem;
  }

  .shop-search-form {
    width: 100%;
  }

  .shop-search-input {
    width: 100% !important;
    flex: 1;
  }

  .shop-sort-form {
    width: 100%;
  }

  .shop-sort-select {
    width: 100% !important;
  }

  .catalog-layout {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .catalog-sidebar {
    display: none;
  }

  .mobile-category-chips {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 0.75rem;
    margin-bottom: 1rem;
  }

  .mobile-category-chips::-webkit-scrollbar {
    display: none;
  }

  /* Layout grids */
  .voucher-grid { grid-template-columns: 1fr !important; }
  .product-detail-layout { grid-template-columns: 1fr; gap: 1.75rem; }
  .checkout-layout { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 380px) {
  .brand-text {
    font-size: 1.05rem;
  }
  .nav-btn {
    width: 32px;
    height: 32px;
  }
  .nav-btn svg {
    width: 16px;
    height: 16px;
  }
  .hero-title {
    font-size: 1.65rem;
  }
  .category-thumb {
    width: 50px;
    height: 50px;
  }
  .category-name {
    font-size: 0.7rem;
  }
  .product-info {
    padding: 0.6rem 0.45rem;
  }
  .product-title {
    font-size: 0.8rem;
  }
  .price-current {
    font-size: 0.88rem;
  }
  .hero-card-frame {
    height: 220px;
  }
}

/* ==========================================================================
   DAZFA FASHION - SOCIAL & MARKETPLACE TOP BAR
   ========================================================================== */
.top-social-bar {
  background: #361224;
  color: #FFFFFF;
  font-size: 0.8rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(201, 151, 87, 0.25);
}

.top-social-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.top-brand-slogan {
  font-weight: 500;
  color: #F8E7EE;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.top-brand-slogan strong {
  color: var(--accent);
  letter-spacing: 0.05em;
}

.top-marketplace-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.social-label {
  font-size: 0.75rem;
  color: #D6BAC7;
  margin-right: 0.25rem;
}

.social-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: var(--transition);
}

.social-pill:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
}

.social-pill.shopee:hover { background: #EE4D2D; border-color: #EE4D2D; }
.social-pill.tiktok:hover { background: #000000; border-color: #FE2C55; }
.social-pill.instagram:hover { background: #E1306C; border-color: #E1306C; }
.social-pill.facebook:hover { background: #1877F2; border-color: #1877F2; }
.social-pill.whatsapp:hover { background: #25D366; border-color: #25D366; }

/* Navbar brand logo & typography */
.brand-logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.brand-text-group {
  display: flex;
  flex-direction: column;
}

.brand-text-group .brand-text {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--primary);
  letter-spacing: 0.04em;
}

.brand-text-group .brand-text span {
  color: var(--secondary);
}

.brand-text-group .brand-subtext {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ==========================================================================
   SHINING & GLOW ANIMATION
   ========================================================================== */
@keyframes shiningSweep {
  0% { transform: translateX(-150%) skewX(-20deg); }
  50%, 100% { transform: translateX(200%) skewX(-20deg); }
}

.btn-glow, .btn-shining {
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(74, 29, 51, 0.25);
}

.btn-glow::after, .btn-shining::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  animation: shiningSweep 3.5s infinite;
}

/* ==========================================================================
   HERO MARKETPLACE BANNER & PILLS
   ========================================================================== */
.hero-marketplace-banner {
  margin: 1.25rem 0;
  background: #FFFFFF;
  padding: 0.85rem 1.15rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.market-badge-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
}

.hero-market-pills {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.hero-market-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 500;
  transition: var(--transition);
}

.hero-market-btn.shopee-btn {
  background: #FFF1EE;
  color: #EE4D2D;
  border: 1px solid #FFD3C9;
}
.hero-market-btn.shopee-btn:hover {
  background: #EE4D2D;
  color: #FFFFFF;
}

.hero-market-btn.tiktok-btn {
  background: #F4F4F4;
  color: #111111;
  border: 1px solid #DDDDDD;
}
.hero-market-btn.tiktok-btn:hover {
  background: #000000;
  color: #FFFFFF;
}

.hero-market-btn.wa-btn {
  background: #E8F8EE;
  color: #128C7E;
  border: 1px solid #B7ECC8;
}
.hero-market-btn.wa-btn:hover {
  background: #25D366;
  color: #FFFFFF;
}

/* ==========================================================================
   QRIS ADRIAN STORE STYLING
   ========================================================================== */
.qris-card-wrap {
  background: #FFFFFF;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-md);
  max-width: 520px;
  margin: 0 auto;
}

.qris-nominal-box {
  background: linear-gradient(135deg, #FAF4F6 0%, #F5E9EE 100%);
  border: 1.5px dashed var(--secondary);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin: 1.25rem 0;
  text-align: center;
}

.unique-nominal-amount {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
}

.unique-code-highlight {
  background: var(--accent);
  color: #FFFFFF;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
}

/* ==========================================================================
   MEMBER LOYALTY TIERS
   ========================================================================== */
.tier-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tier-silver {
  background: #ECEFF1;
  color: #546E7A;
  border: 1px solid #CFD8DC;
}

.tier-gold {
  background: #FFF8E1;
  color: #F57F17;
  border: 1px solid #FFE082;
}

.tier-platinum {
  background: #EDE7F6;
  color: #5E35B1;
  border: 1px solid #D1C4E9;
}

/* ==========================================================================
   DAZFA AI CUSTOMER SERVICE FLOATING WIDGET
   ========================================================================== */
.dazfa-ai-widget {
  position: fixed;
  bottom: 88px;
  right: 24px;
  z-index: 9999;
}

.ai-toggle-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #4A1D33 0%, #8E3E63 100%);
  color: #FFFFFF;
  padding: 12px 18px;
  border-radius: 999px;
  border: 2px solid #C99757;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 8px 24px rgba(74, 29, 51, 0.35);
  cursor: pointer;
  transition: var(--transition);
}

.ai-toggle-btn:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 12px 28px rgba(74, 29, 51, 0.45);
}

.ai-online-dot {
  width: 9px;
  height: 9px;
  background: #00E676;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px #00E676;
}

.ai-chat-drawer {
  position: fixed;
  bottom: 84px;
  right: 24px;
  width: 380px;
  max-width: calc(100vw - 32px);
  height: 540px;
  max-height: calc(100vh - 120px);
  background: #FFFFFF;
  border-radius: 18px;
  box-shadow: 0 16px 48px rgba(43, 23, 33, 0.25);
  display: none;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border-light);
  z-index: 10000;
  animation: slideUpAi 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideUpAi {
  from { opacity: 0; transform: translateY(20px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.ai-chat-header {
  background: linear-gradient(135deg, #4A1D33 0%, #8E3E63 100%);
  color: #FFFFFF;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ai-chat-header-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ai-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  border: 1px solid #C99757;
}

.ai-chat-body {
  flex: 1;
  padding: 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #FAF6F8;
}

.ai-msg {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 0.86rem;
  line-height: 1.5;
}

.ai-msg.bot {
  background: #FFFFFF;
  color: #2B1721;
  align-self: flex-start;
  border-bottom-left-radius: 2px;
  border: 1px solid #EED9E2;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.ai-msg.user {
  background: #4A1D33;
  color: #FFFFFF;
  align-self: flex-end;
  border-bottom-right-radius: 2px;
}

.ai-chips-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.ai-chip {
  background: #FFFFFF;
  border: 1px solid #C99757;
  color: #4A1D33;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.ai-chip:hover {
  background: #4A1D33;
  color: #FFFFFF;
}

.ai-chat-input-bar {
  padding: 12px 14px;
  background: #FFFFFF;
  border-top: 1px solid var(--border-light);
  display: flex;
  gap: 8px;
  align-items: center;
}

.ai-chat-input-bar input {
  flex: 1;
  padding: 10px 14px;
  background: #FAF4F6;
  border: 1px solid #EED9E2;
  border-radius: 999px;
  font-size: 0.85rem;
  color: #2B1721;
}

.ai-chat-input-bar button {
  background: #4A1D33;
  color: #FFFFFF;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}



/* ==========================================================================
   DAZFA FASHION - REVISED CART, CHECKOUT (3 CATEGORIES), & PAYMENT STYLING
   Accurate 1:1 match with user reference images 1 through 5
   ========================================================================== */

/* Cart Reference Styles */
.cart-ref-wrap {
  max-width: 880px;
  margin: 0 auto;
  padding: 1.5rem 1rem 5rem;
}

.cart-ref-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-light);
}

.cart-ref-title {
  font-size: 1.65rem;
  font-weight: 800;
  color: #0F172A;
  margin: 0 0 0.25rem;
  letter-spacing: -0.02em;
}

.cart-ref-subtitle {
  font-size: 0.88rem;
  color: #64748B;
  margin: 0;
}

.cart-ref-close {
  background: none;
  border: none;
  font-size: 1.6rem;
  color: #64748B;
  cursor: pointer;
  padding: 0.25rem;
  line-height: 1;
  transition: color 0.2s;
  text-decoration: none;
}

.cart-ref-close:hover {
  color: #0F172A;
}

.cart-item-card-ref {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 1.15rem;
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  gap: 1.15rem;
  transition: box-shadow 0.2s;
}

.cart-item-card-ref:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.cart-item-thumb-ref {
  width: 72px;
  height: 85px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  background: #F1F5F9;
}

.cart-item-info-ref {
  flex: 1;
  min-width: 0;
}

.cart-item-title-ref {
  font-size: 0.98rem;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 0.2rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-item-subtitle-ref {
  font-size: 0.82rem;
  color: #64748B;
  margin-bottom: 0.4rem;
}

.cart-variant-chip-ref {
  display: inline-block;
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  color: #475569;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.15rem 0.55rem;
  border-radius: 6px;
  margin-bottom: 0.4rem;
}

.cart-item-price-ref {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0F172A;
}

.cart-item-actions-ref {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.cart-item-del-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #FFF1F2;
  border: 1px solid #FECDD3;
  color: #E11D48;
  border-radius: 8px;
  padding: 4px 10px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  line-height: 1;
}

.cart-item-del-btn:hover {
  background: #FEE2E2;
  color: #BE123C;
  border-color: #FDA4AF;
}

.cart-stepper-dark {
  display: flex;
  align-items: center;
  background: #0B132B;
  border-radius: 999px;
  padding: 2px 5px;
  gap: 2px;
}

.cart-stepper-dark button {
  background: transparent;
  border: none;
  color: #FFFFFF;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  font-weight: 700;
  transition: background 0.2s;
}

.cart-stepper-dark button:hover {
  background: rgba(255, 255, 255, 0.2);
}

.cart-stepper-dark input {
  background: transparent;
  border: none;
  color: #FFFFFF;
  width: 32px;
  text-align: center;
  font-size: 0.88rem;
  font-weight: 700;
  outline: none;
}

.cart-unlock-banner {
  background: #FFF7ED;
  border: 1px solid #FFEDD5;
  border-radius: 12px;
  padding: 0.95rem 1.2rem;
  margin: 1.25rem 0;
}

.cart-unlock-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.6rem;
  font-size: 0.85rem;
}

.cart-unlock-left {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.cart-unlock-icon {
  width: 26px;
  height: 26px;
  background: #EA580C;
  color: #FFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.cart-unlock-title {
  font-weight: 700;
  color: #1E293B;
}

.cart-unlock-sub {
  color: #EA580C;
  font-weight: 700;
  font-size: 0.82rem;
}

.cart-unlock-rem {
  color: #64748B;
  font-size: 0.82rem;
  font-weight: 600;
}

.cart-unlock-bar-track {
  height: 6px;
  background: #FED7AA;
  border-radius: 999px;
  overflow: hidden;
}

.cart-unlock-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #EA580C, #F97316);
  border-radius: 999px;
  transition: width 0.4s ease;
}

.cart-vouchers-wrap {
  margin: 1.5rem 0;
}

.cart-vouchers-hdr {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.85rem;
}

.cart-vouchers-title {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #475569;
  text-transform: uppercase;
}

.cart-vouchers-badge {
  background: #ECFDF5;
  color: #059669;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  border: 1px solid #A7F3D0;
}

.cart-voucher-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

@media (max-width: 600px) {
  .cart-voucher-grid {
    grid-template-columns: 1fr;
  }
}

.cart-vc-card {
  border-radius: 12px;
  padding: 0.85rem 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1.5px solid #E2E8F0;
  background: #FFFFFF;
}

.cart-vc-card.orange {
  border-color: #FDBA74;
  background: #FFFBF7;
}

.cart-vc-card.green {
  border-color: #86EFAC;
  background: #F0FDF4;
}

.cart-vc-card.disabled {
  opacity: 0.7;
  cursor: not-allowed;
  background: #F8FAFC;
  border-color: #E2E8F0;
}

.cart-vc-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.cart-vc-icon {
  font-size: 1.25rem;
}

.cart-vc-tag {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  display: inline-block;
  margin-bottom: 0.15rem;
}

.cart-vc-tag.orange { color: #EA580C; }
.cart-vc-tag.green { color: #16A34A; }
.cart-vc-tag.gray { color: #64748B; }

.cart-vc-code {
  font-size: 0.88rem;
  font-weight: 800;
  color: #0F172A;
  font-family: monospace;
}

.cart-vc-desc {
  font-size: 0.75rem;
  color: #64748B;
}

.cart-vc-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
}

.cart-vc-check.orange {
  background: #EA580C;
  color: #FFF;
}

.cart-vc-check.green {
  background: #16A34A;
  color: #FFF;
}

.cart-vc-check.gray {
  color: #94A3B8;
  font-size: 0.95rem;
}

.cart-summary-line {
  display: flex;
  justify-content: space-between;
  font-size: 0.92rem;
  color: #475569;
  margin-bottom: 0.5rem;
}

.cart-summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.2rem;
  font-weight: 800;
  color: #0F172A;
  padding-top: 0.75rem;
  border-top: 1px solid #E2E8F0;
  margin-top: 0.75rem;
}

.cart-trust-box {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 0.85rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.cart-trust-box-icon {
  font-size: 1.4rem;
}

.cart-trust-box-text {
  font-size: 0.82rem;
  line-height: 1.4;
}

.cart-trust-box-text strong {
  display: block;
  color: #0F172A;
}

.cart-trust-box-text span {
  color: #64748B;
}

.cart-action-bar {
  position: sticky;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid #E2E8F0;
  padding: 0.9rem 1rem;
  padding-bottom: max(0.9rem, env(safe-area-inset-bottom, 0.9rem));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  z-index: 100;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  box-shadow: 0 -4px 16px rgba(15, 23, 42, 0.05);
}

.checkout-action-bar {
  max-width: 680px;
  margin: 0 auto;
}

.cart-chat-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10B981;
  display: inline-block;
  flex-shrink: 0;
  box-shadow: 0 0 6px rgba(16, 185, 129, 0.6);
}

.cart-btn-chat {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.25rem;
  border-radius: 999px;
  border: 1.5px solid #CBD5E1;
  background: #FFFFFF;
  color: #0F172A;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  white-space: nowrap;
}

.cart-btn-chat:hover {
  background: #F8FAFC;
  border-color: #94A3B8;
}

.cart-btn-checkout {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  background: #0B132B;
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s;
  text-decoration: none;
  white-space: nowrap;
}

.cart-btn-checkout:hover {
  background: #1C2541;
  transform: translateY(-1px);
}

.cart-btn-text-desktop { display: inline; }
.cart-btn-text-mobile { display: none; }
.cart-btn-sub-desktop { display: inline; }
.cart-btn-sub-mobile { display: none; }

@media (max-width: 640px) {
  .cart-action-bar {
    padding: 0.75rem 0.85rem;
    padding-bottom: max(0.75rem, env(safe-area-inset-bottom, 0.75rem));
    gap: 0.5rem;
  }
  .cart-btn-chat {
    flex: 1 1 45%;
    min-width: 0;
    max-width: 48%;
    padding: 0.75rem 0.45rem;
    font-size: 0.82rem;
    gap: 4px;
  }
  .cart-btn-checkout {
    flex: 1 1 55%;
    min-width: 0;
    padding: 0.75rem 0.75rem;
    font-size: 0.88rem;
    gap: 4px;
  }
  .cart-btn-text-desktop { display: none; }
  .cart-btn-text-mobile { display: inline; font-size: 0.82rem; }
  .cart-btn-sub-desktop { display: none; }
  .cart-btn-sub-mobile { display: inline; font-size: 1rem; }
}

/* ==========================================================================
   CHECKOUT 3-CATEGORY & MODULAR CARDS (Photos 2, 3, 4)
   ========================================================================== */
.checkout-page-wrap {
  max-width: 680px;
  margin: 0 auto;
  padding: 1.5rem 1rem 6rem;
}

.checkout-top-nav {
  display: flex;
  align-items: center;
  position: relative;
  margin-bottom: 1.25rem;
}

.checkout-back-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid #E2E8F0;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0F172A;
  text-decoration: none;
  font-size: 1.1rem;
  transition: background 0.2s;
}

.checkout-back-btn:hover {
  background: #F1F5F9;
}

.checkout-header-center {
  flex: 1;
  text-align: center;
  padding-right: 38px;
}

.checkout-header-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: #0F172A;
  margin: 0;
}

.checkout-header-sub {
  font-size: 0.78rem;
  color: #64748B;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-top: 2px;
}

.checkout-wizard-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.75rem;
  padding: 0 0.5rem;
}

.wizard-step-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  cursor: default;
}

.wizard-node-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  background: #F1F5F9;
  color: #64748B;
  border: 1px solid #CBD5E1;
  transition: all 0.2s;
}

.wizard-step-node.active .wizard-node-circle {
  background: #0B132B;
  color: #FFFFFF;
  border-color: #0B132B;
}

.wizard-step-node.completed .wizard-node-circle {
  background: #10B981;
  color: #FFFFFF;
  border-color: #10B981;
}

.wizard-node-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #64748B;
}

.wizard-step-node.active .wizard-node-label {
  color: #0B132B;
  font-weight: 800;
}

.wizard-divider-line {
  flex: 1;
  max-width: 80px;
  height: 2px;
  background: #E2E8F0;
  margin: 0 0.75rem 1rem;
}

.checkout-ref-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  margin-bottom: 1.25rem;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.checkout-dark-header {
  background: #0B132B;
  color: #FFFFFF;
  padding: 0.9rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cdh-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.cdh-icon-box {
  width: 34px;
  height: 34px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
}

.cdh-title-group h3 {
  font-size: 0.95rem;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0;
  line-height: 1.2;
}

.cdh-title-group p {
  font-size: 0.72rem;
  color: #94A3B8;
  margin: 2px 0 0;
}

.cdh-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  line-height: 1;
}

.cdh-badge.warning {
  background: #FEF3C7;
  color: #B45309;
}

.cdh-badge.success {
  background: #ECFDF5;
  color: #059669;
}

.cdh-badge.optional {
  background: rgba(255, 255, 255, 0.15);
  color: #E2E8F0;
}

.checkout-card-body {
  padding: 1.25rem;
}

.co-item-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid #F1F5F9;
  margin-bottom: 0.85rem;
}

.co-item-row:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.co-item-img {
  width: 58px;
  height: 68px;
  border-radius: 8px;
  object-fit: cover;
  background: #F1F5F9;
}

.co-item-details {
  flex: 1;
  min-width: 0;
}

.co-item-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 0.2rem;
}

.co-item-meta {
  font-size: 0.75rem;
  color: #64748B;
  margin-bottom: 0.25rem;
}

.co-item-price {
  font-size: 0.92rem;
  font-weight: 800;
  color: #0F172A;
}

.co-item-action-col {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
}

.co-item-del-link {
  color: #EF4444;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  gap: 2px;
}

.co-input-group {
  position: relative;
  display: flex;
  align-items: center;
}

.co-input-group input {
  padding-right: 130px !important;
}

.co-btn-locate {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  background: #0B132B;
  color: #FFFFFF;
  border: none;
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: background 0.2s;
  z-index: 5;
}

.co-btn-locate:hover {
  background: #1E293B;
}

.co-btn-locate:disabled {
  opacity: 0.7;
  cursor: wait;
}

.co-address-selected-box {
  background: #F8FAFC;
  border: 1px solid #CBD5E1;
  border-radius: 10px;
  padding: 0.75rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.co-address-selected-text {
  font-size: 0.88rem;
  font-weight: 600;
  color: #0F172A;
}

.co-address-change-btn {
  color: #2563EB;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  background: none;
  border: none;
}

.co-btn-apply-addr {
  background: #EA580C;
  color: #FFFFFF;
  border: none;
  border-radius: 10px;
  width: 100%;
  padding: 0.85rem;
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 0.5rem;
}

.co-btn-apply-addr:hover {
  background: #C2410C;
}

.co-courier-empty-state {
  background: #F1F5F9;
  border-radius: 10px;
  padding: 1.5rem;
  text-align: center;
  color: #64748B;
  font-size: 0.85rem;
}

.co-courier-card {
  border: 1.5px solid #E2E8F0;
  border-radius: 12px;
  padding: 0.85rem 1rem;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: all 0.2s;
}

.co-courier-card.selected {
  border-color: #0F172A;
  background: #F8FAFC;
}

.co-courier-left {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.co-courier-badge-box {
  background: #0B132B;
  color: #FFF;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 6px;
  letter-spacing: 0.05em;
}

.co-courier-info h4 {
  font-size: 0.88rem;
  font-weight: 800;
  color: #0F172A;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.co-courier-info p {
  font-size: 0.75rem;
  color: #64748B;
  margin: 2px 0 0;
}

.co-courier-badge-selected {
  background: #0B132B;
  color: #FFF;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 4px;
}

.co-courier-pricing {
  text-align: right;
}

.co-courier-original-price {
  text-decoration: line-through;
  color: #94A3B8;
  font-size: 0.75rem;
  display: block;
}

.co-courier-gratis-badge {
  background: #16A34A;
  color: #FFF;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 999px;
  display: inline-block;
}

.co-courier-price-text {
  font-size: 0.88rem;
  font-weight: 800;
  color: #0F172A;
}

.co-payment-card {
  border: 1.5px solid #0F172A;
  border-radius: 12px;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #FFFFFF;
}

.co-payment-left {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.co-payment-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: #F1F5F9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.co-payment-tags {
  display: flex;
  gap: 6px;
  margin-top: 4px;
}

.co-pay-tag {
  background: #ECFDF5;
  color: #059669;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 4px;
}

/* ==========================================================================
   PAYMENT PAGE LAYOUT & CARDS (Photo 5 Reference)
   ========================================================================== */
.payment-ref-container {
  max-width: 1040px;
  margin: 0 auto;
  padding: 1.5rem 1rem 5rem;
}

.payment-ref-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: 1px solid #E2E8F0;
  background: #FFFFFF;
  color: #0F172A;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  margin-bottom: 1.5rem;
  transition: all 0.2s;
}

.payment-ref-back:hover {
  background: #F8FAFC;
  border-color: #CBD5E1;
}

.payment-ref-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 1.5rem;
  align-items: start;
}

.payment-main-col {
  min-width: 0;
}

.payment-side-col {
  min-width: 0;
}

@media (max-width: 900px) {
  .payment-ref-grid {
    grid-template-columns: 1fr;
  }
}

.payment-dark-card {
  background: #0B132B;
  color: #FFFFFF;
  border-radius: 16px;
  padding: 1.5rem 1.75rem;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 20px rgba(11, 19, 43, 0.12);
}

.payment-dc-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.payment-dc-brand {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  flex: 1;
  min-width: 0;
}

.payment-dc-logo-box {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 4px;
}

.payment-dc-logo {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.payment-dc-brand-text {
  flex: 1;
  min-width: 0;
}

.payment-dc-sub-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 2px;
}

.payment-dc-subtitle {
  font-size: 0.72rem;
  color: #94A3B8;
  letter-spacing: 0.06em;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.2;
}

.payment-dc-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 2px 0 5px;
}

.payment-dc-invoice-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 8px;
  font-size: 0.82rem;
  color: #CBD5E1;
  line-height: 1.4;
}

.payment-dc-inv-label {
  font-weight: 600;
  color: #E2E8F0;
  white-space: nowrap;
}

.payment-dc-city {
  color: #94A3B8;
  white-space: nowrap;
  font-size: 0.8rem;
}

.payment-copy-pill {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.2s;
}

.payment-copy-pill:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.3);
}

.payment-dc-status {
  background: rgba(16, 185, 129, 0.15);
  color: #34D399;
  border: 1px solid rgba(16, 185, 129, 0.3);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.payment-dc-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10B981;
  display: inline-block;
  box-shadow: 0 0 6px rgba(16, 185, 129, 0.6);
}

.desktop-status {
  display: inline-flex;
}

.mobile-status {
  display: none;
}

.payment-dc-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1rem;
  margin-top: 1.25rem;
}

.payment-dc-total-label {
  font-size: 0.82rem;
  color: #94A3B8;
  margin-bottom: 4px;
}

.payment-dc-total-val {
  font-size: 2.2rem;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.03em;
  line-height: 1;
}

.payment-mid-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
  align-items: start;
}

.payment-mid-grid .payment-qris-card,
.payment-mid-grid .payment-amount-card {
  margin-bottom: 0;
}

@media (max-width: 680px) {
  .payment-mid-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

@media (max-width: 576px) {
  .payment-dark-card {
    padding: 1.25rem 1rem;
    border-radius: 14px;
  }
  .desktop-status {
    display: none !important;
  }
  .mobile-status {
    display: inline-flex !important;
  }
  .payment-dc-sub-row {
    margin-bottom: 4px;
  }
  .payment-dc-logo-box {
    width: 40px;
    height: 40px;
  }
  .payment-dc-title {
    font-size: 1.05rem;
  }
  .payment-dc-total-val {
    font-size: 1.85rem;
  }
}

.payment-qris-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 1.5rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.payment-qris-hdr {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.payment-qris-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #F1F5F9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.payment-qris-qr-box {
  background: #FAFAFA;
  border: 1.5px solid #E2E8F0;
  border-radius: 12px;
  padding: 1.25rem;
  text-align: center;
  margin-bottom: 1rem;
}

.payment-qris-img {
  max-width: 250px;
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
  margin: 0 auto;
  background: #FFFFFF;
  padding: 10px;
  border: 1px solid #E2E8F0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

.payment-qris-save-btn {
  background: #FFFFFF;
  border: 1.5px solid #CBD5E1;
  color: #0F172A;
  border-radius: 10px;
  padding: 0.65rem 1.25rem;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 1rem;
  transition: all 0.2s;
  text-decoration: none;
}

.payment-qris-save-btn:hover {
  background: #F8FAFC;
  border-color: #94A3B8;
}

.payment-device-tip {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  padding: 0.85rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.82rem;
  color: #475569;
}

.payment-steps-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.payment-steps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin-top: 1rem;
}

@media (max-width: 576px) {
  .payment-steps-grid {
    grid-template-columns: 1fr;
  }
}

.payment-step-item {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  padding: 0.85rem;
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.payment-step-badge {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #2563EB;
  color: #FFF;
  font-size: 0.75rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.payment-step-text {
  font-size: 0.8rem;
  color: #334155;
  line-height: 1.4;
}

.payment-amount-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 1.5rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.payment-amount-val {
  font-size: 1.85rem;
  font-weight: 800;
  color: #0F172A;
  margin: 0.5rem 0 1rem;
}

.payment-btn-copy-amt {
  background: #0B132B;
  color: #FFFFFF;
  border: none;
  border-radius: 8px;
  padding: 0.6rem 1.25rem;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 0.2s;
  width: 100%;
  justify-content: center;
}

.payment-btn-copy-amt:hover {
  background: #1E293B;
}

.payment-alert-warn {
  background: #FFF7ED;
  border: 1px solid #FED7AA;
  border-radius: 8px;
  padding: 0.75rem;
  font-size: 0.78rem;
  color: #9A3412;
  margin-top: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 6px;
  line-height: 1.4;
}

.payment-poll-box {
  border-top: 1px solid #E2E8F0;
  margin-top: 1rem;
  padding-top: 1rem;
  font-size: 0.8rem;
  color: #64748B;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.payment-wa-card {
  background: #F0FDF4;
  border: 1.5px solid #86EFAC;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.payment-wa-tag {
  color: #16A34A;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.payment-wa-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #064E3B;
  margin-bottom: 0.5rem;
}

.payment-wa-desc {
  font-size: 0.82rem;
  color: #166534;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.payment-wa-pill-phone {
  background: #DCFCE7;
  border: 1px solid #86EFAC;
  color: #166534;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 3px 10px;
  border-radius: 999px;
  display: inline-block;
  margin-bottom: 0.75rem;
}

.payment-wa-btn {
  background: #16A34A;
  color: #FFFFFF;
  border: none;
  border-radius: 10px;
  padding: 0.85rem;
  font-weight: 800;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  transition: background 0.2s;
  width: 100%;
}

.payment-wa-btn:hover {
  background: #15803D;
}

/* ==========================================================================
   MOBILE RESPONSIVE POLISH - CART, VOUCHERS, & CHECKOUT (320px - 640px)
   ========================================================================== */
@media (max-width: 640px) {
  /* Prevent any horizontal screen blowout */
  .cart-ref-wrap {
    padding: 1rem 0.85rem 6.5rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
  }

  .cart-ref-top {
    margin-bottom: 1rem;
    padding-bottom: 0.65rem;
  }

  .cart-ref-title {
    font-size: 1.35rem;
  }

  .cart-ref-subtitle {
    font-size: 0.8rem;
  }

  /* Spending Threshold Progress Banner */
  .cart-unlock-banner {
    padding: 0.75rem 0.85rem;
    margin: 1rem 0;
    box-sizing: border-box;
  }

  .cart-unlock-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
  }

  .cart-unlock-left {
    flex: 1 1 auto;
    min-width: 0;
    gap: 0.5rem;
  }

  .cart-unlock-icon {
    width: 24px;
    height: 24px;
    font-size: 0.75rem;
  }

  .cart-unlock-title {
    font-size: 0.82rem;
    line-height: 1.25;
    word-break: break-word;
  }

  .cart-unlock-sub {
    font-size: 0.72rem;
    line-height: 1.25;
  }

  .cart-unlock-rem {
    flex-shrink: 0;
    font-size: 0.75rem;
    white-space: nowrap;
    align-self: flex-start;
  }

  /* Voucher Section */
  .cart-vouchers-wrap {
    margin: 1.25rem 0;
  }

  .cart-vouchers-hdr {
    margin-bottom: 0.65rem;
  }

  .cart-vouchers-title {
    font-size: 0.78rem;
  }

  .cart-vouchers-badge {
    font-size: 0.72rem;
    padding: 0.15rem 0.55rem;
  }

  .cart-voucher-grid {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .cart-vc-card {
    padding: 0.75rem 0.85rem;
    border-radius: 10px;
    box-sizing: border-box;
    width: 100%;
    gap: 0.5rem;
  }

  .cart-vc-left {
    min-width: 0;
    flex: 1;
    gap: 0.55rem;
  }

  .cart-vc-icon {
    font-size: 1.15rem;
    flex-shrink: 0;
  }

  .cart-vc-tag {
    font-size: 0.64rem;
    display: block;
    line-height: 1.2;
    margin-bottom: 2px;
  }

  .cart-vc-code {
    font-size: 0.85rem;
  }

  .cart-vc-desc {
    font-size: 0.72rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .cart-vc-check {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    font-size: 0.72rem;
    margin-left: 0.25rem;
  }

  /* Cart Item Cards */
  .cart-items-list-ref {
    margin-bottom: 1rem;
  }

  .cart-item-card-ref {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.95rem;
    border-radius: 12px;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
  }

  .cart-item-thumb-ref {
    width: 68px;
    height: 78px;
    border-radius: 8px;
    flex-shrink: 0;
  }

  .cart-item-info-ref {
    flex: 1 1 calc(100% - 84px);
    min-width: 0;
  }

  .cart-item-title-ref {
    font-size: 0.92rem;
    margin-bottom: 0.15rem;
  }

  .cart-item-subtitle-ref {
    font-size: 0.78rem;
    margin-bottom: 0.3rem;
  }

  .cart-variant-chip-ref {
    font-size: 0.72rem;
    padding: 0.1rem 0.45rem;
    margin-bottom: 0.3rem;
  }

  .cart-item-price-ref {
    font-size: 0.98rem;
  }

  .cart-item-actions-ref {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    border-top: 1px dashed #E2E8F0;
    padding-top: 0.65rem;
    margin-top: 0.25rem;
    box-sizing: border-box;
  }

  .cart-stepper-dark button {
    width: 26px;
    height: 26px;
    font-size: 0.95rem;
  }

  .cart-stepper-dark input {
    width: 28px;
    font-size: 0.82rem;
  }

  /* Summary Lines */
  .cart-summary-line {
    font-size: 0.85rem;
  }

  .cart-summary-total {
    font-size: 1.05rem;
  }

  /* Trust Box */
  .cart-trust-box {
    padding: 0.75rem 0.85rem;
    margin: 1rem 0;
    gap: 0.65rem;
  }

  .cart-trust-box-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
  }

  .cart-trust-box-text {
    font-size: 0.78rem;
    line-height: 1.35;
  }

  .checkout-header-center {
    padding-right: 0;
  }
}
