/* ============================================================
   GPM Store App — Design System
   Mengikuti tema website utama: hijau (#006039) + emas (#D4AF37)
   Font: Poppins
   ============================================================ */

/* ---- Variables ---- */
:root {
  --green:       #006039;
  --dark:        #004225;
  --gold:        #D4AF37;
  --gold-hover:  #c9a227;
  --gold-light:  #f3faf7;
  --white:       #ffffff;
  --light:       #f8f9fa;
  --body-text:   #111111;
  --muted:       #666666;
  --border:      rgba(0,0,0,.08);
  --shadow-sm:   0 4px 12px rgba(0,0,0,.06);
  --shadow-md:   0 10px 30px rgba(0,0,0,.08);
  --shadow-lg:   0 20px 40px rgba(0,0,0,.12);
  --radius:      18px;
  --radius-sm:   10px;
  --radius-pill: 50px;
}

/* ---- Reset / Base ---- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', sans-serif;
  background: var(--white);
  color: var(--body-text);
  overflow-x: hidden;
}

a { text-decoration: none; }

/* ---- Utility ---- */
.text-gold  { color: var(--gold) !important; }
.text-green { color: var(--green) !important; }
.bg-green   { background: var(--green) !important; }
.bg-gold    { background: var(--gold) !important; }

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--green);
  margin-bottom: .75rem;
}

.gold-line {
  width: 80px;
  height: 4px;
  background: var(--gold);
  border-radius: 10px;
  margin-bottom: 1.25rem;
}

/* ---- Navbar ---- */
.store-navbar {
  background: var(--green);
  padding: 16px 0;
  z-index: 9999;
  transition: background .3s ease, box-shadow .3s ease;
}

.store-navbar.scrolled {
  background: var(--dark);
  box-shadow: 0 5px 20px rgba(0,0,0,.15);
}

.store-navbar .navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white) !important;
}

.store-navbar .nav-link {
  color: var(--white) !important;
  font-weight: 500;
  padding: .4rem .75rem;
  transition: color .2s;
}

.store-navbar .nav-link:hover,
.store-navbar .nav-link.active {
  color: var(--gold) !important;
}

.store-navbar .navbar-toggler { border: none; }
.store-navbar .navbar-toggler:focus { box-shadow: none; }

/* ---- Buttons ---- */
.btn-gold {
  background: var(--gold);
  color: #111;
  border: none;
  border-radius: var(--radius-pill);
  font-weight: 600;
  padding: .55rem 1.6rem;
  transition: background .2s, transform .1s;
}

.btn-gold:hover, .btn-gold:focus {
  background: var(--gold-hover);
  color: #111;
  transform: translateY(-1px);
}

.btn-green {
  background: var(--green);
  color: var(--white);
  border: none;
  border-radius: var(--radius-pill);
  font-weight: 600;
  padding: .55rem 1.6rem;
  transition: background .2s;
}

.btn-green:hover, .btn-green:focus {
  background: var(--dark);
  color: var(--white);
}

/* Cart count badge uses gold */
.badge.bg-gold { background: var(--gold) !important; color: #111; }

/* ---- Cards ---- */
.card-luxury {
  border: none;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 1.875rem;
  background: var(--white);
  transition: transform .25s ease, box-shadow .25s ease;
}

.card-luxury:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.card-luxury.no-hover:hover {
  transform: none;
  box-shadow: var(--shadow-md);
}

/* ---- Stat boxes ---- */
.stat-box {
  padding: 2rem;
  border-radius: var(--radius);
  background: var(--white);
  text-align: center;
  box-shadow: var(--shadow-md);
}

.stat-box h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--green);
}

.stat-box p { margin: 0; color: var(--muted); }

/* ---- Gold balance chip ---- */
.gold-balance-chip {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--gold-light);
  border: 1.5px solid var(--gold);
  border-radius: var(--radius-pill);
  padding: .35rem 1rem;
  font-weight: 600;
  color: var(--dark);
  font-size: .9rem;
}

/* ---- Price badge ---- */
.price-sell  { color: var(--green); font-weight: 700; }
.price-buy   { color: #c0392b;      font-weight: 700; }

/* ---- Table ---- */
.table-gpm th {
  background: var(--green);
  color: var(--white);
  font-weight: 600;
  border: none;
}

.table-gpm td { vertical-align: middle; }

/* ---- Quantity control ---- */
.qty-btn {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
  cursor: pointer;
}

.qty-btn:hover { background: var(--gold); color: #111; }
.qty-btn:disabled { background: #ccc; cursor: not-allowed; }

/* ---- Form ---- */
.form-control:focus, .form-select:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 .2rem rgba(0,96,57,.15);
}

.form-label { font-weight: 500; }

/* ---- Alerts ---- */
.alert-store {
  border-radius: var(--radius-sm);
  font-size: .9rem;
}

/* ---- Status badges ---- */
.status-badge {
  display: inline-block;
  padding: .25rem .75rem;
  border-radius: var(--radius-pill);
  font-size: .78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.status-pending          { background: #fff3cd; color: #856404; }
.status-awaiting_payment { background: #cff4fc; color: #055160; }
.status-payment_uploaded { background: #d1ecf1; color: #0c5460; }
.status-paid             { background: #d4edda; color: #155724; }
.status-processing       { background: #e2d9f3; color: #432874; }
.status-completed        { background: #d4edda; color: #155724; }
.status-cancelled        { background: #f8d7da; color: #721c24; }

/* ---- Order card ---- */
.order-card {
  border: none;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1rem;
  background: var(--white);
  transition: box-shadow .2s;
}

.order-card:hover { box-shadow: var(--shadow-md); }

.order-number {
  font-family: 'Courier New', monospace;
  font-size: .85rem;
  color: var(--muted);
}

/* ---- Hero section ---- */
.store-hero {
  background:
    linear-gradient(rgba(0,30,15,.65), rgba(0,0,0,.55)),
    url('images/Hero.png');
  background-size: cover;
  background-position: center;
  min-height: 520px;
  display: flex;
  align-items: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.store-hero::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: 0;
  width: 100%;
  height: 160px;
  background: var(--white);
  border-radius: 50% 50% 0 0;
}

.store-hero .container { position: relative; z-index: 2; }

.store-hero h1 {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  text-shadow: 0 2px 10px rgba(0,0,0,.3);
}

/* ---- Price card on hero ---- */
.price-card-hero {
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: var(--radius);
  padding: 1.5rem;
  color: var(--white);
}

/* ---- Payment proof upload ---- */
.upload-area {
  border: 2.5px dashed var(--gold);
  border-radius: var(--radius-sm);
  padding: 2.5rem;
  text-align: center;
  cursor: pointer;
  background: var(--gold-light);
  transition: background .2s;
}

.upload-area:hover, .upload-area.drag-over {
  background: #e8f4ef;
}

.upload-area i { font-size: 2.5rem; color: var(--gold); }

/* ---- Step indicator (checkout) ---- */
.checkout-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 2rem;
}

.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  position: relative;
}

.step-item:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 18px;
  left: 50%;
  width: 100%;
  height: 2px;
  background: #dee2e6;
  z-index: 0;
}

.step-item.done::after { background: var(--green); }

.step-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #dee2e6;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .85rem;
  position: relative;
  z-index: 1;
  transition: background .2s, color .2s;
}

.step-item.active .step-circle  { background: var(--green); color: var(--white); }
.step-item.done .step-circle    { background: var(--gold);  color: #111; }

.step-label {
  font-size: .7rem;
  font-weight: 500;
  color: var(--muted);
  margin-top: .35rem;
  text-align: center;
}

.step-item.active .step-label { color: var(--green); font-weight: 600; }
.step-item.done .step-label   { color: var(--dark); }

/* ---- Footer ---- */
.store-footer {
  background: var(--green);
  color: var(--white);
  padding: 4rem 0 1.5rem;
  margin-top: 4rem;
}

.store-footer h5  { color: var(--gold); margin-bottom: 1rem; }
.store-footer a   { color: var(--white); display: block; margin-bottom: .5rem; transition: color .2s; }
.store-footer a:hover { color: var(--gold); }

/* ---- WhatsApp float ---- */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
  z-index: 1000;
  transition: transform .2s, box-shadow .2s;
}

.wa-float:hover {
  color: var(--white);
  transform: scale(1.1);
  box-shadow: 0 12px 30px rgba(0,0,0,.25);
}

/* ---- Loading spinner ---- */
.page-loading {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1rem;
  color: var(--muted);
}

.spinner-gpm {
  width: 48px;
  height: 48px;
  border: 5px solid var(--gold-light);
  border-top-color: var(--green);
  border-radius: 50%;
  animation: spin .7s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ---- Empty state ---- */
.empty-state {
  text-align: center;
  padding: 4rem 1rem;
  color: var(--muted);
}

.empty-state i   { font-size: 4rem; color: var(--gold); margin-bottom: 1rem; }
.empty-state h4  { color: var(--green); margin-bottom: .5rem; }

/* ---- Panel (auth forms) ---- */
.auth-panel {
  max-width: 440px;
  margin: 3rem auto;
}

.auth-panel .card-luxury { padding: 2.5rem; }

/* ---- Responsive ---- */
@media (max-width: 991.98px) {
  .store-hero h1 { font-size: 2rem; }
  .section-title  { font-size: 1.6rem; }
  .card-luxury { padding: 1.25rem; }
}

@media (max-width: 575.98px) {
  .store-hero { min-height: 380px; }
  .checkout-steps .step-label { display: none; }
}

/* ---- OTP digit input boxes ---- */
.otp-digit {
  padding: 0;
  text-align: center;
  font-size: 1.5rem !important;
  font-weight: 700 !important;
  caret-color: var(--green);
  transition: border-color .15s, box-shadow .15s;
}

.otp-digit:focus {
  border-color: var(--green) !important;
  box-shadow: 0 0 0 .2rem rgba(0,96,57,.2) !important;
  outline: none;
}

.otp-digit.is-valid {
  border-color: var(--green) !important;
}

/* ---- KYC page ---- */
.kyc-section-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 1rem;
}

/* Progress bar on KYC form */
.progress { background: #e9ecef; }

/* Upload area inside KYC form — slightly smaller than payment */
#kyc-form .upload-area {
  padding: 1.5rem;
}
#kyc-form .upload-area i {
  font-size: 1.8rem;
}

/* ============================================================
   HOME PAGE — Redesign
   ============================================================ */

/* ---- 1. Top Announcement Bar ---- */
.home-topbar {
  background: var(--dark);
  color: var(--white);
  padding: 8px 0;
  font-size: .8rem;
}

.home-topbar a { color: rgba(255,255,255,.85); transition: color .2s; }
.home-topbar a:hover { color: var(--gold); }

/* ---- 2. Hero BANNER (full image) ---- */
.home-hero-banner {
  width: 100%;
}

/* Kontainer — rasio 1774:887 ≈ 50%, dibatasi max 480px tinggi */
.hero-banner-img-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  /* padding-top = (tinggi/lebar)*100 = (887/1774)*100 = 50% */
  padding-top: min(50%, 480px);
}

/* Background gambar: left center agar sisi kiri (teks) tampil */
.hero-banner-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: left center;
  background-repeat: no-repeat;
}

/* Overlay tombol CTA — di sisi kiri bawah gambar */
.hero-cta-overlay {
  position: absolute;
  bottom: 14%;
  left: 0;
  right: 0;
  z-index: 3;
}

.hero-cta-inner {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-wrap: wrap;
  /* Sejajar dengan padding container Bootstrap (15px) */
  padding-left: calc(((100% - 1140px) / 2) + 12px);
}

@media (max-width: 1199.98px) {
  .hero-cta-inner { padding-left: 2.5%; }
}

/* Tablet: kurangi tinggi sedikit */
@media (min-width: 576px) and (max-width: 991.98px) {
  .hero-banner-img-wrap { padding-top: min(50%, 380px); }
  .hero-cta-inner { padding-left: 4%; }
}

/* Mobile: tampilkan sisi tengah gambar, tombol di bawah gambar */
@media (max-width: 575.98px) {
  .hero-banner-img-wrap { padding-top: 70%; }
  .hero-banner-bg { background-position: 55% center; }
  .hero-cta-overlay { position: static; background: var(--white); padding: 1rem; }
  .hero-cta-inner { padding-left: 0; }
}

/* Fallback product image kanan (tidak dipakai di layout ini) */
.hero-fallback-product { display: none; }

/* ---- Hero teks (shared) ---- */
.home-hero {
  background: linear-gradient(135deg, #f8f5ef 0%, #fdf9f0 60%, #f0f7f4 100%);
  padding: 60px 0 40px;
  overflow: hidden;
  position: relative;
}

.min-vh-hero { min-height: 480px; }

.hero-eyebrow {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
}

.hero-headline {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--dark);
  margin-bottom: 1.25rem;
}

.hero-headline-gold {
  color: var(--gold);
  display: block;
}

.hero-sub {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 440px;
}

.btn-hero {
  font-size: 1rem;
  padding: .75rem 2rem;
  border-radius: var(--radius-pill);
  box-shadow: 0 8px 24px rgba(212,175,55,.35);
}

.btn-outline-hero {
  border: 2px solid var(--green);
  color: var(--green);
  background: transparent;
  border-radius: var(--radius-pill);
  font-weight: 600;
  padding: .7rem 1.8rem;
  transition: all .2s;
  font-size: 1rem;
}

.btn-outline-hero:hover {
  background: var(--green);
  color: var(--white);
}

.hero-actions { margin-bottom: 2.5rem; }

.hero-trust {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .82rem;
  color: var(--muted);
}

.hero-trust-item i { font-size: 1rem; }

/* Hero image side — tidak dipakai di layout banner, tetap untuk fallback */
.hero-img-col {
  position: relative;
  justify-content: center;
  align-items: center;
}

.hero-img-wrap { position: relative; display: inline-block; }

.hero-product-img {
  width: 320px;
  max-width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(0,0,0,.12);
  display: block;
  object-fit: cover;
  aspect-ratio: 3/4;
}

.hero-float-card,
.hero-float-badge { display: none; } /* disembunyikan di layout banner */

/* ---- 3. Price Ticker ---- */
.home-ticker {
  background: var(--green);
  color: var(--white);
  padding: 16px 0;
}

.ticker-label {
  font-weight: 600;
  font-size: .92rem;
}

.ticker-price {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gold);
}

/* ---- 4. Products ---- */
.home-products { overflow: hidden; }

.product-carousel-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: .5rem;
}

.product-carousel {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: .5rem 0 1rem;
  /* Hide scrollbar */
  scrollbar-width: none;
  -ms-overflow-style: none;
  flex: 1;
}

.product-carousel::-webkit-scrollbar { display: none; }

.product-slide {
  scroll-snap-align: start;
  flex: 0 0 200px;
}

.product-card-home {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform .25s, box-shadow .25s;
  border: 1px solid rgba(0,0,0,.05);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.product-card-home:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.product-card-img-wrap {
  display: block;
  overflow: hidden;
  background: #f8f5ef;
}

.product-card-img {
  width: 100%;
  height: 180px;
  object-fit: contain;
  padding: 1rem;
  transition: transform .3s;
}

.product-card-home:hover .product-card-img { transform: scale(1.05); }

.product-card-body {
  padding: .75rem 1rem .5rem;
  flex: 1;
}

.product-card-weight {
  font-weight: 700;
  font-size: .95rem;
  color: var(--dark);
  margin-bottom: .25rem;
}

.product-card-price {
  font-size: 1rem;
  font-weight: 700;
  color: var(--green);
}

.product-card-footer {
  padding: .5rem 1rem .75rem;
}

.btn-add-cart {
  background: var(--gold);
  color: #111;
  border: none;
  border-radius: var(--radius-sm);
  font-size: .8rem;
  font-weight: 600;
  padding: .5rem .75rem;
  cursor: pointer;
  transition: background .2s, transform .1s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .25rem;
}

.btn-add-cart:hover:not(:disabled) {
  background: var(--gold-hover);
  transform: translateY(-1px);
}

.btn-add-cart:disabled { opacity: .7; cursor: not-allowed; }

.carousel-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--green);
  background: var(--white);
  color: var(--green);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: all .2s;
  box-shadow: var(--shadow-sm);
  z-index: 2;
}

.carousel-arrow:hover {
  background: var(--green);
  color: var(--white);
}

/* text link */
.btn-text-link {
  color: var(--green);
  font-weight: 600;
  font-size: .9rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  transition: color .2s;
  white-space: nowrap;
}

.btn-text-link:hover { color: var(--dark); }

/* ---- 5. CTA Banner ---- */
.cta-banner-wrap {
  background:
    linear-gradient(rgba(0,40,20,.75), rgba(0,40,20,.8)),
    url('images/gold.jpg');
  background-size: cover;
  background-position: center;
  border-radius: var(--radius);
  padding: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cta-banner-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.cta-banner-title span { color: var(--gold); }

.cta-banner-sub {
  color: rgba(255,255,255,.8);
  margin-bottom: 1.5rem;
  font-size: .95rem;
}

.btn-cta-banner {
  font-size: .95rem;
  padding: .75rem 2rem;
  box-shadow: 0 8px 24px rgba(212,175,55,.4);
}

.cta-banner-icons {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.cta-icon-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--white);
  font-weight: 600;
  font-size: .9rem;
}

.cta-icon-item i {
  font-size: 1.4rem;
  color: var(--gold);
  width: 28px;
  text-align: center;
}

/* ---- 7. Features ---- */
.feature-card {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,.04);
  transition: box-shadow .2s, transform .2s;
}

.feature-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.feature-icon-wrap {
  width: 56px;
  height: 56px;
  background: var(--gold-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ---- 8. Stats ---- */
.home-stat-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,.04);
  transition: transform .2s;
}

.home-stat-card:hover { transform: translateY(-4px); }

.home-stat-icon {
  font-size: 2rem;
  color: var(--gold);
  display: block;
  margin-bottom: .75rem;
}

.home-stat-value {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--green);
  line-height: 1;
  margin-bottom: .5rem;
}

.home-stat-label {
  color: var(--muted);
  font-size: .88rem;
}

/* ---- 9. Testimonial ---- */
.testi-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,.04);
  height: 100%;
  transition: transform .2s, box-shadow .2s;
}

.testi-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.testi-stars { font-size: .9rem; }

.testi-text {
  color: #444;
  font-size: .92rem;
  line-height: 1.7;
  font-style: italic;
  margin: 0;
}

.testi-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .85rem;
  flex-shrink: 0;
}

/* ---- 10. Bottom CTA ---- */
.bottom-cta-wrap {
  background: linear-gradient(135deg, var(--green) 0%, var(--dark) 100%);
  border-radius: var(--radius);
  padding: 4rem 2rem;
  box-shadow: 0 20px 60px rgba(0,96,57,.25);
}

/* ---- Responsive ---- */
@media (max-width: 991.98px) {
  .hero-headline       { font-size: 2.2rem; }
  .cta-banner-wrap     { padding: 2rem; }
  .cta-banner-title    { font-size: 1.5rem; }
  .cta-banner-icons    { flex-direction: row; flex-wrap: wrap; gap: .75rem; }
  .hero-float-card,
  .hero-float-badge    { display: none; }
}

@media (max-width: 767.98px) {
  .home-hero           { padding: 40px 0 32px; }
  .hero-headline       { font-size: 1.9rem; }
  .product-slide       { flex: 0 0 160px; }
  .home-topbar .d-flex { display: none !important; }
}

/* ---- Hero CTA bar (di bawah banner image, selalu tampil) ---- */
.hero-cta-bar {
  background: var(--white);
  border-bottom: 1px solid rgba(0,0,0,.06);
  padding: 1rem 0;
  box-shadow: 0 4px 12px rgba(0,0,0,.04);
}

/* ---- Navbar logo image ---- */
.nav-logo {
  height: 90px;
  width: auto;
  object-fit: contain;
  /* Filter putih agar logo terlihat di navbar hijau */
  /* filter: brightness(0) invert(1); */
  transition: opacity .2s;
}

.nav-logo:hover { opacity: .85; }

/* Di mobile sedikit lebih kecil */
@media (max-width: 575.98px) {
  .nav-logo { height: 32px; }
}
