/* ═════════════════════════════════════════════════════════════════
   LILACMART — DIGITAL PRODUCT MARKETPLACE DESIGN SYSTEM
   Palette:
     - Raspberry (#bf2b54) : Primary CTA, Active Badges, Main Accent
     - Grapefruit (#da6c81): Secondary Accent, Soft Glows, Hover Tint
     - Vanilla (#f5e9d0)   : Light Canvas Tint, Cards Tint, Cream Highlights
     - Deep Burgundy (#1f0a10): Typography & Footer Dark Tone
   ═════════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Fredoka+One&family=JetBrains+Mono:wght@500;700&display=swap');

:root {
  /* Core Marketplace Palette */
  --raspberry:         #bf2b54;
  --raspberry-hover:   #9e2043;
  --raspberry-soft:    #d9436c;
  --raspberry-light:   #fcedf1;
  --raspberry-glow:    rgba(191, 43, 84, 0.22);

  --grapefruit:        #da6c81;
  --grapefruit-soft:   #e88b9c;
  --grapefruit-light:  #fdf0f2;

  --vanilla:           #f5e9d0;
  --vanilla-light:     #faf4e8;
  --vanilla-soft:      #fcf8f0;
  --vanilla-border:    #ede0c4;

  /* Legacy mappings */
  --pink-hot:          #bf2b54;
  --pink-mid:          #da6c81;
  --pink-light:        #f5e9d0;
  --pink-pale:         #faf4e8;

  --white:             #ffffff;
  --offwhite:          #faf4e8;

  --text-dark:         #230e14;
  --text-mid:          #542531;
  --muted:             #804956;
  --muted-lt:          #c29ba4;

  --primary-color:       #bf2b54;
  --primary-color-hover: #9e2043;
  --primary-light:       #f5e9d0;
  --secondary-color:     #da6c81;
  --accent-color:        #bf2b54;

  --border:            rgba(191, 43, 84, 0.12);
  --border-mid:        rgba(191, 43, 84, 0.28);
  --border-radius:     20px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: var(--vanilla);
  background: linear-gradient(180deg, #da6c81 0px, #f5e9d0 200px, #faf4e8 450px, #fcf8f0 100%);
  background-attachment: fixed;
  color: var(--text-dark);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
}

/* ══════════════════════════════════════════════
   TOAST NOTIFICATION
   ══════════════════════════════════════════════ */
.notif {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 9999;
  padding: 14px 24px;
  border-radius: 16px;
  background: var(--raspberry);
  color: var(--white);
  font-weight: 800;
  font-size: 0.9rem;
  box-shadow: 0 10px 30px rgba(191, 43, 84, 0.35);
  display: none;
  align-items: center;
  gap: 10px;
}

/* ══════════════════════════════════════════════
   MARKETPLACE TOP NAVBAR
   ══════════════════════════════════════════════ */
nav#mainNavbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 2px solid var(--vanilla-border);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 12px 40px;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.05);
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-logo-img, .header-logo-placeholder {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  object-fit: cover;
  background: var(--raspberry-light);
  border: 1.5px solid var(--raspberry-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.header-title-wrap {
  display: flex;
  flex-direction: column;
}

.header-title {
  font-family: 'Fredoka One', cursive;
  font-size: 1.6rem;
  color: var(--text-dark);
  line-height: 1.1;
}

.header-title em {
  color: var(--raspberry);
  font-style: normal;
}

.badge-verified {
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--raspberry);
  background: var(--raspberry-light);
  padding: 2px 8px;
  border-radius: 99px;
  letter-spacing: 0.5px;
  width: fit-content;
}

/* Mega Search Container Center */
.nav-search-container {
  max-width: 580px;
  width: 100%;
  margin: 0 auto;
}

.search-wrap {
  position: relative;
  width: 100%;
}

.search-ico {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  font-size: 1.1rem;
  pointer-events: none;
}

#searchInput {
  width: 100%;
  padding: 12px 18px 12px 48px;
  border-radius: 99px;
  border: 2px solid var(--vanilla-border);
  background: var(--vanilla-light);
  color: var(--text-dark);
  font-weight: 600;
  font-size: 0.9rem;
  outline: none;
  transition: all 0.25s ease;
}

#searchInput:focus {
  border-color: var(--raspberry);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(191, 43, 84, 0.15);
}

/* Nav Actions Right */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.page-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-btn {
  padding: 8px 16px;
  border-radius: 99px;
  border: 1.5px solid transparent;
  background: transparent;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

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

.nav-btn.active {
  color: var(--white);
  background: linear-gradient(135deg, #bf2b54 0%, #da6c81 100%);
  box-shadow: 0 4px 14px rgba(191, 43, 84, 0.3);
}

.cart-trigger-btn {
  padding: 10px 20px;
  border-radius: 99px;
  border: none;
  background: linear-gradient(135deg, #bf2b54 0%, #da6c81 100%);
  color: var(--white);
  font-weight: 800;
  font-size: 0.88rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 16px rgba(191, 43, 84, 0.3);
  transition: all 0.25s ease;
}

.cart-trigger-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(191, 43, 84, 0.4);
}

.nav-badge {
  background: var(--white);
  color: var(--raspberry);
  border-radius: 99px;
  padding: 2px 8px;
  font-size: 0.72rem;
  font-weight: 900;
}

/* ══════════════════════════════════════════════
   MARKETPLACE HERO BANNER
   ══════════════════════════════════════════════ */
header {
  background: linear-gradient(135deg, #bf2b54 0%, #da6c81 60%, #e88b9c 100%);
  color: var(--white);
  padding: 40px 40px 36px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(191, 43, 84, 0.2);
}

.hero-marketplace-wrap {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
}

.hero-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  letter-spacing: 2px;
  color: var(--vanilla);
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 8px;
  display: block;
}

.hero-main-title {
  font-family: 'Fredoka One', cursive;
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 12px;
  text-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.header-subtitle {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.5;
  margin-bottom: 20px;
}

.header-stats {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hstat {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  padding: 8px 18px;
  border-radius: 99px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.hstat-num {
  font-family: 'Fredoka One', cursive;
  font-size: 1.15rem;
  color: var(--vanilla);
}

.hstat-label {
  font-size: 0.72rem;
  color: var(--white);
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* ══════════════════════════════════════════════
   TICKER MARQUEE BAR
   ══════════════════════════════════════════════ */
.header-ticker {
  background: var(--vanilla);
  border-top: 1.5px solid var(--vanilla-border);
  border-bottom: 1.5px solid var(--vanilla-border);
  padding: 10px 0;
  overflow: hidden;
  white-space: nowrap;
}

.ticker-track {
  display: inline-flex;
  animation: tickerScroll 28s linear infinite;
}

.ticker-item {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--text-dark);
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
}

.ticker-item::before {
  content: '✦';
  color: var(--raspberry);
  margin-right: 10px;
}

@keyframes tickerScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ══════════════════════════════════════════════
   MAIN CONTENT AREA
   ══════════════════════════════════════════════ */
main {
  max-width: 1240px;
  margin: 0 auto;
  padding: 40px 24px 100px;
}

.page { display: none; }
.page.active { display: block; animation: fadeIn 0.35s ease-out; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Category Explorer Bar */
.marketplace-cat-section {
  margin-bottom: 32px;
  position: relative;
  z-index: 5;
}

.cat-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.cat-section-title {
  font-family: 'Fredoka One', cursive;
  font-size: 1.5rem;
  color: var(--text-dark);
}

.cat-pills {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 6px 0 14px;
  scrollbar-width: none;
}
.cat-pills::-webkit-scrollbar { display: none; }

.cat-pill {
  position: relative;
  padding: 10px 22px;
  border-radius: 99px;
  border: 2px solid var(--vanilla-border);
  background: var(--white);
  color: var(--text-dark);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.cat-pill:hover {
  border-color: var(--grapefruit);
  background: var(--raspberry-light);
  transform: translateY(-2px);
  z-index: 2;
}

.cat-pill.active {
  background: linear-gradient(135deg, #bf2b54 0%, #da6c81 100%);
  color: var(--white);
  border-color: transparent;
  box-shadow: 0 4px 18px rgba(191, 43, 84, 0.3);
  z-index: 1;
}

/* ══════════════════════════════════════════════
   PRODUCT CARDS GRID (MARKETPLACE ITEM CARDS)
   ══════════════════════════════════════════════ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.product-card {
  background: var(--white);
  border-radius: var(--border-radius);
  border: 1.5px solid rgba(191, 43, 84, 0.12);
  padding: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 8px 24px rgba(191, 43, 84, 0.06);
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-8px);
  border-color: rgba(191, 43, 84, 0.35);
  box-shadow: 0 16px 36px rgba(191, 43, 84, 0.16);
}

.wishlist-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--vanilla-light);
  color: var(--grapefruit);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.25s ease;
  z-index: 2;
}

.wishlist-btn:hover, .wishlist-btn.active {
  background: var(--raspberry);
  color: var(--white);
}

.category-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 99px;
  background: var(--raspberry-light);
  color: var(--raspberry);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.product-icon {
  width: 80px;
  height: 80px;
  margin: 20px 0 14px;
  border-radius: 20px;
  background: var(--vanilla-light);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border: 1.5px solid var(--vanilla-border);
  box-shadow: 0 6px 16px rgba(191, 43, 84, 0.08);
}

.product-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 14px;
}

.product-title {
  font-family: 'Fredoka One', cursive;
  font-size: 1.25rem;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.price-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 10px 0 14px;
}

.price {
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--raspberry);
}

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

.btn-card-buy {
  width: 100%;
  padding: 12px 18px;
  border-radius: 16px;
  border: none;
  background: linear-gradient(135deg, #bf2b54 0%, #da6c81 100%);
  color: var(--white);
  font-weight: 800;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.25s ease;
  margin-top: auto;
  box-shadow: 0 4px 14px rgba(191, 43, 84, 0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-card-buy:hover {
  background: linear-gradient(135deg, #9e2043 0%, #bf2b54 100%);
  box-shadow: 0 6px 20px rgba(191, 43, 84, 0.35);
  transform: translateY(-2px);
}

/* ══════════════════════════════════════════════
   MARKETPLACE TRUST BAR
   ══════════════════════════════════════════════ */
.marketplace-trust-bar {
  background: var(--white);
  border-top: 2px solid var(--vanilla-border);
  border-bottom: 2px solid var(--vanilla-border);
  padding: 40px 0;
}

.trust-item {
  padding: 16px;
}

/* ══════════════════════════════════════════════
   TESTIMONIALS & TNC
   ══════════════════════════════════════════════ */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 22px;
  margin-bottom: 40px;
}

.testi-card {
  background: var(--white);
  border-radius: 20px;
  border: 1.5px solid rgba(191, 43, 84, 0.12);
  padding: 22px;
  box-shadow: 0 6px 20px rgba(191, 43, 84, 0.05);
}

.testi-form {
  background: var(--white);
  border-radius: 24px;
  border: 2px solid var(--vanilla-border);
  padding: 32px;
  box-shadow: 0 8px 30px rgba(191, 43, 84, 0.06);
  max-width: 640px;
  margin: 0 auto;
}

.star-select {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 1.8rem;
  cursor: pointer;
}

.form-group { margin-bottom: 16px; }
.form-label { font-weight: 700; font-size: 0.85rem; margin-bottom: 6px; display: block; }
.form-input, .form-textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1.5px solid var(--vanilla-border);
  background: var(--vanilla-light);
  outline: none;
}

/* ══════════════════════════════════════════════
   TERMS & HELP CENTER (BANTUAN) STYLING
   ══════════════════════════════════════════════ */
.tnc-container {
  max-width: 860px;
  margin: 0 auto;
}

.tnc-accordion {
  background: var(--white);
  border-radius: 20px;
  border: 1.5px solid rgba(191, 43, 84, 0.12);
  margin-bottom: 16px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(31, 10, 16, 0.03);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.tnc-accordion:hover {
  border-color: rgba(191, 43, 84, 0.25);
  box-shadow: 0 6px 20px rgba(191, 43, 84, 0.07);
}

.tnc-accordion.open {
  border-color: rgba(191, 43, 84, 0.35);
  box-shadow: 0 8px 24px rgba(191, 43, 84, 0.09);
}

.tnc-acc-btn {
  width: 100%;
  padding: 18px 24px;
  background: var(--vanilla-light);
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s ease;
}

.tnc-acc-btn:hover {
  background: var(--raspberry-light);
}

.tnc-acc-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--white);
  color: var(--raspberry);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 2px 8px rgba(191, 43, 84, 0.1);
  flex-shrink: 0;
}

.tnc-acc-title {
  font-family: 'Fredoka One', cursive;
  font-size: 1.08rem;
  color: var(--text-dark);
}

.tnc-acc-arrow {
  font-size: 0.95rem;
  color: var(--raspberry);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.tnc-accordion.open .tnc-acc-arrow {
  transform: rotate(180deg);
}

.tnc-acc-body {
  display: none;
  padding: 22px 28px;
  background: var(--white);
  border-top: 1.5px solid var(--vanilla-border);
  font-size: 0.94rem;
  color: var(--text-mid);
  line-height: 1.7;
}

.tnc-accordion.open .tnc-acc-body {
  display: block;
  animation: fadeIn 0.25s ease-out;
}

.tnc-acc-body p {
  margin-bottom: 0;
}

.tnc-acc-body ul {
  padding-left: 20px;
  margin: 0;
}

.tnc-acc-body li {
  margin-bottom: 10px;
}

.tnc-acc-body li:last-child {
  margin-bottom: 0;
}

.tnc-contact-card {
  background: var(--white);
  border-radius: 24px;
  border: 1.5px solid rgba(191, 43, 84, 0.15);
  padding: 28px;
  box-shadow: 0 4px 20px rgba(31, 10, 16, 0.04);
}

.tnc-contact-header {
  font-family: 'Fredoka One', cursive;
  font-size: 1.25rem;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.tnc-contact-sub {
  font-size: 0.9rem;
  color: var(--text-mid);
  margin-bottom: 20px;
}

.tnc-social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}

.tnc-social-btn {
  padding: 14px 18px;
  border-radius: 16px;
  border: 1.5px solid var(--vanilla-border);
  background: var(--vanilla-light);
  color: var(--text-dark);
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.25s ease;
}

.tnc-social-btn:hover {
  border-color: var(--raspberry);
  background: var(--raspberry-light);
  color: var(--raspberry);
  transform: translateY(-2px);
}

.x-social-icon {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: #111111;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1;
}

/* ══════════════════════════════════════════════
   STRUCTURED MARKETPLACE FOOTER
   ══════════════════════════════════════════════ */
.site-footer-full {
  background: #1f0a10;
  color: rgba(255, 255, 255, 0.85);
  padding: 56px 0 28px;
  border-top: 3px solid var(--raspberry);
}

.footer-brand-title {
  font-family: 'Fredoka One', cursive;
  font-size: 1.8rem;
  color: var(--white);
}

.footer-brand-desc {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 14px 0 20px;
}

.footer-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.footer-badge {
  font-size: 0.72rem;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.1);
  color: var(--vanilla);
  padding: 4px 12px;
  border-radius: 99px;
}

.footer-sec-title {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-nav-list { list-style: none; padding: 0; }
.footer-nav-list li { margin-bottom: 10px; }
.footer-nav-list a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.88rem;
}

.payment-chip-grid {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.pchip {
  background: rgba(255, 255, 255, 0.1);
  color: var(--vanilla);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 8px;
}

.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 40px;
  padding-top: 24px;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
}

/* ══════════════════════════════════════════════
   FLOATING CART & PRODUCT DETAIL MODALS
   ══════════════════════════════════════════════ */
.floating-cart {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 990;
  background: linear-gradient(135deg, #bf2b54 0%, #da6c81 100%);
  color: var(--white);
  padding: 14px 24px;
  border-radius: 99px;
  font-weight: 800;
  font-size: 0.92rem;
  box-shadow: 0 8px 30px rgba(191, 43, 84, 0.4);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
}

.cart-count-badge {
  background: var(--white);
  color: var(--raspberry);
  border-radius: 99px;
  padding: 2px 10px;
  font-weight: 900;
}

.checkout-inputs {
  margin-top: 18px;
  padding: 16px;
  border: 1.5px solid rgba(191, 43, 84, 0.14);
  border-radius: 20px;
  background:
    radial-gradient(circle at top left, rgba(218, 108, 129, 0.16), transparent 36%),
    linear-gradient(180deg, #fffaf3 0%, #ffffff 100%);
  box-shadow: 0 8px 24px rgba(191, 43, 84, 0.07);
}

.checkout-card-title {
  font-family: 'Fredoka One', cursive;
  font-size: 1rem;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.checkout-field + .checkout-field {
  margin-top: 12px;
}

.checkout-field label {
  display: block;
  margin-bottom: 6px;
  color: var(--text-mid);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.2px;
}

.checkout-control-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  min-height: 46px;
  border: 1.5px solid var(--vanilla-border);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.86);
  transition: all 0.2s ease;
}

.checkout-control-wrap:focus-within {
  border-color: var(--raspberry);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(191, 43, 84, 0.12);
}

.checkout-control-wrap i {
  color: var(--raspberry);
  font-size: 0.92rem;
  width: 18px;
  text-align: center;
  flex: 0 0 auto;
}

.checkout-control-wrap input,
.checkout-control-wrap select {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  color: var(--text-dark);
  font-size: 0.9rem;
  font-weight: 700;
}

.checkout-control-wrap input::placeholder {
  color: var(--muted-lt);
  font-weight: 600;
}

.checkout-control-wrap select {
  min-height: 44px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  padding-right: 22px;
}

.checkout-control-wrap.select-wrap {
  position: relative;
}

.checkout-control-wrap.select-wrap::after {
  content: '\f078';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  right: 14px;
  color: var(--muted);
  font-size: 0.72rem;
  pointer-events: none;
}

#produkModal .modal-content {
  border-radius: 24px;
  border: 1.5px solid rgba(191, 43, 84, 0.18);
  box-shadow: 0 20px 60px rgba(31, 10, 16, 0.18);
  background: var(--white);
  overflow: hidden;
}

#produkModal .modal-header {
  background: var(--vanilla-light);
  border-bottom: 1.5px solid var(--vanilla-border);
  padding: 18px 24px;
}

#produkModal .modal-title {
  font-family: 'Fredoka One', cursive;
  font-size: 1.25rem;
  color: var(--text-dark);
}

#produkModal .modal-body {
  padding: 24px;
  max-height: 75vh;
  overflow-y: auto;
}

.peony-product-box {
  background: var(--vanilla-light);
  border: 1.5px solid rgba(191, 43, 84, 0.12);
  border-radius: 20px;
  padding: 20px;
  margin-bottom: 24px;
}

.modal-variant-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.peony-variant-card {
  background: #ffffff;
  border: 1.5px solid rgba(191, 43, 84, 0.14);
  border-radius: 18px;
  padding: 18px 20px;
  box-shadow: 0 4px 14px rgba(31, 10, 16, 0.03);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.peony-variant-card:hover {
  border-color: rgba(191, 43, 84, 0.35);
  box-shadow: 0 6px 20px rgba(191, 43, 84, 0.08);
}

.peony-variant-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--text-dark);
}

.peony-variant-price {
  font-family: 'Fredoka One', cursive;
  font-size: 1.2rem;
  color: var(--raspberry);
}

.peony-variant-old-price {
  font-size: 0.85rem;
  color: #a0aec0;
  text-decoration: line-through;
  font-weight: 600;
}

.peony-feature-label {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text-dark);
  margin-top: 10px;
  margin-bottom: 6px;
}

.peony-feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.peony-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.4;
}

.peony-bullet {
  color: var(--raspberry);
  font-size: 0.75rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.btn-peony-cart {
  background: var(--vanilla-light);
  color: var(--raspberry);
  border: 1.5px solid rgba(191, 43, 84, 0.25);
  border-radius: 12px;
  padding: 10px 18px;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.btn-peony-cart:hover:not(:disabled) {
  background: var(--raspberry-light);
  border-color: var(--raspberry);
  color: var(--raspberry);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(191, 43, 84, 0.12);
}

.btn-peony-cart:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-peony-wa {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #ffffff !important;
  border: none;
  border-radius: 12px;
  padding: 10px 20px;
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
  transition: all 0.2s ease;
}

.btn-peony-wa:hover:not(.disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35);
  color: #ffffff !important;
}

.btn-peony-wa.disabled {
  opacity: 0.5;
  pointer-events: none;
}

.text-pink-hot {
  color: var(--raspberry) !important;
  font-weight: 800;
}

@media (max-width: 992px) {
  nav#mainNavbar {
    grid-template-columns: 1fr auto;
    padding: 12px 20px;
  }
  .nav-search-container {
    grid-column: 1 / -1;
    order: 3;
    max-width: 100%;
  }
  .hero-marketplace-wrap {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  nav#mainNavbar {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 10px 12px;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .header-brand {
    min-width: 0;
    gap: 8px;
  }

  .header-logo-img,
  .header-logo-placeholder {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    flex: 0 0 auto;
  }

  .header-title-wrap {
    min-width: 0;
  }

  .header-title {
    font-size: 1.18rem;
    white-space: nowrap;
  }

  .badge-verified {
    max-width: 118px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.52rem;
    padding: 2px 6px;
  }

  .nav-actions {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 1100;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 7px;
    padding: 8px;
    border: 1.5px solid rgba(191, 43, 84, 0.16);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 12px 34px rgba(31, 10, 16, 0.16);
  }

  .nav-badge {
    position: absolute;
    top: 5px;
    right: 13px;
    padding: 1px 5px;
    font-size: 0.58rem;
    line-height: 1.1;
  }

  .nav-search-container {
    grid-column: 1 / -1;
    grid-row: 2;
    order: initial;
  }

  #searchInput {
    padding: 10px 14px 10px 42px;
    font-size: 0.78rem;
  }

  .search-ico {
    left: 15px;
    font-size: 0.92rem;
  }

  .page-nav {
    display: contents;
  }

  .nav-btn,
  .cart-trigger-btn {
    position: relative;
    flex-direction: column;
    justify-content: center;
    min-height: 56px;
    padding: 7px 4px;
    border-radius: 16px;
    border: none;
    background: transparent;
    color: var(--muted);
    font-size: 0.64rem;
    font-weight: 800;
    gap: 2px;
    box-shadow: none;
  }

  .nav-btn i,
  .cart-trigger-btn i {
    font-size: 1rem;
  }

  .nav-btn.active,
  .cart-trigger-btn:active {
    color: var(--white);
    background: linear-gradient(135deg, #bf2b54 0%, #da6c81 100%);
    box-shadow: 0 6px 16px rgba(191, 43, 84, 0.26);
  }

  .cart-trigger-btn:hover {
    transform: none;
  }

  .floating-cart {
    display: none;
  }

  main {
    padding: 28px 12px 118px;
  }

  .header-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .hstat {
    flex-direction: column;
    justify-content: center;
    gap: 1px;
    min-width: 0;
    padding: 7px 4px;
    border-radius: 12px;
    text-align: center;
  }

  .hstat i {
    display: none;
  }

  .hstat-num {
    font-size: 0.82rem;
    line-height: 1.1;
  }

  .hstat-label {
    font-size: 0.48rem;
    line-height: 1.1;
    letter-spacing: 0;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .product-card {
    border-radius: 16px;
    padding: 14px 10px;
  }

  .category-badge {
    top: 10px;
    left: 10px;
    max-width: calc(100% - 52px);
    padding: 4px 8px;
    font-size: 0.58rem;
  }

  .wishlist-btn {
    top: 9px;
    right: 9px;
    width: 30px;
    height: 30px;
    font-size: 0.8rem;
  }

  .product-icon {
    width: 56px;
    height: 56px;
    margin: 30px 0 10px;
    border-radius: 14px;
  }

  .product-title {
    font-size: 0.92rem;
    line-height: 1.25;
  }

  .price-wrap {
    flex-direction: column;
    gap: 0;
    margin: 8px 0 10px;
  }

  .price {
    font-size: 0.86rem;
  }

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

  .stock-badge {
    font-size: 0.64rem;
    padding: 4px 8px;
  }

  .btn-card-buy {
    padding: 9px 8px;
    border-radius: 12px;
    font-size: 0.72rem;
  }
}
