/* ============================================================
   STYLE.CSS — Toko Kusen & Gypsum Budi Jaya
   Desain: Warm Artisanal · Terpercaya · Profesional
   Font: Playfair Display (heading) + Nunito (body)
   ============================================================ */

/* --- CSS Variables ----------------------------------------- */
:root {
  --primary:       #8B5E3C;   /* cokelat kayu hangat */
  --primary-dark:  #6B4526;
  --primary-light: #C49A6C;
  --accent:        #D4A853;   /* emas kuning */
  --accent-light:  #F0CE8A;
  --dark:          #1E1A16;
  --charcoal:      #2D2520;
  --text-body:     #3D3530;
  --text-muted:    #7A6E68;
  --bg-cream:      #FBF7F2;
  --bg-warm:       #F5EDE2;
  --white:         #FFFFFF;
  --border:        #E8DDD3;
  --success:       #2A7A47;
  --shadow-sm:     0 2px 12px rgba(139,94,60,.08);
  --shadow-md:     0 8px 32px rgba(139,94,60,.14);
  --shadow-lg:     0 20px 60px rgba(139,94,60,.18);
  --radius:        12px;
  --radius-lg:     20px;
  --transition:    .3s cubic-bezier(.4,0,.2,1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Nunito', sans-serif;
  color: var(--text-body);
  background: var(--bg-cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
  font-family: 'Playfair Display', serif;
  color: var(--dark);
  line-height: 1.25;
}

a { color: var(--primary); transition: color var(--transition); }
a:hover { color: var(--primary-dark); }

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

/* ============================================================
   TOPBAR
   ============================================================ */
.topbar {
  background: var(--charcoal);
  color: #ccc;
  font-size: .8rem;
  letter-spacing: .02em;
}
.topbar-link { color: var(--accent-light) !important; }
.topbar-link:hover { color: var(--accent) !important; }

/* ============================================================
   NAVBAR
   ============================================================ */
.main-navbar {
  background: var(--white);
  border-bottom: 2px solid var(--bg-warm);
  padding: .75rem 0;
  transition: box-shadow var(--transition);
}
.main-navbar.scrolled { box-shadow: var(--shadow-md); }

/* Brand */
.brand-icon {
  width: 42px; height: 42px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 1.3rem;
  box-shadow: 0 4px 12px rgba(139,94,60,.3);
  flex-shrink: 0;
}
.brand-name {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--dark);
  line-height: 1.1;
}
.brand-sub {
  font-size: .7rem;
  color: var(--text-muted);
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* Nav links */
.main-navbar .nav-link {
  color: var(--text-body) !important;
  font-weight: 600;
  font-size: .92rem;
  padding: .5rem .9rem !important;
  border-radius: 8px;
  transition: background var(--transition), color var(--transition);
}
.main-navbar .nav-link:hover,
.main-navbar .nav-link.active {
  background: var(--bg-warm);
  color: var(--primary) !important;
}

/* Search */
.search-input {
  border: 1.5px solid var(--border);
  border-right: none !important;
  border-radius: var(--radius) 0 0 var(--radius) !important;
  background: var(--bg-cream);
  font-size: .88rem;
  width: 220px;
  transition: border-color var(--transition), width var(--transition);
}
.search-input:focus {
  border-color: var(--primary-light);
  box-shadow: none;
  width: 280px;
}
.btn-search {
  background: var(--primary);
  color: white;
  border: 1.5px solid var(--primary);
  border-radius: 0 var(--radius) var(--radius) 0 !important;
  padding: .375rem .75rem;
}
.btn-search:hover { background: var(--primary-dark); }

/* Cart button */
.btn-cart {
  background: var(--bg-warm);
  color: var(--primary);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: .4rem .7rem;
  position: relative;
  transition: all var(--transition);
}
.btn-cart:hover { background: var(--primary); color: white; }
.badge-cart {
  position: absolute; top: -6px; right: -6px;
  background: #e53935;
  color: white;
  font-size: .65rem;
  font-weight: 700;
  min-width: 18px; height: 18px;
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  padding: 0 4px;
  border: 2px solid var(--white);
}

/* ============================================================
   LANDING PAGE — HERO
   ============================================================ */
.hero-section {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--charcoal) 0%, var(--dark) 100%);
}

/* Decorative wood grain texture overlay */
.hero-section::before {
  content: '';
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(
      -45deg,
      rgba(139,94,60,.04) 0px,
      rgba(139,94,60,.04) 1px,
      transparent 1px,
      transparent 12px
    );
  z-index: 1;
}

/* Warm gradient overlay on bg image */
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  background-image: url('https://images.unsplash.com/photo-1598300042247-d088f8ab3a91?w=1600&q=80');
  opacity: .18;
  z-index: 0;
}

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

/* Decorative ring behind title */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(212,168,83,.15);
  border: 1px solid rgba(212,168,83,.4);
  color: var(--accent);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .35rem .9rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
  animation: fadeInDown .7s ease both;
}

.hero-title {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  color: var(--white);
  font-weight: 900;
  line-height: 1.1;
  animation: fadeInUp .8s ease .1s both;
}
.hero-title .highlight {
  color: var(--accent);
  position: relative;
  display: inline-block;
}
.hero-title .highlight::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  animation: lineGrow .8s ease .8s forwards;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255,255,255,.75);
  max-width: 540px;
  margin: 1.5rem 0 2.5rem;
  animation: fadeInUp .8s ease .2s both;
}

.hero-cta {
  animation: fadeInUp .8s ease .3s both;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary-hero {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white !important;
  border: none;
  padding: .85rem 2rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .02em;
  text-decoration: none;
  display: inline-flex; align-items: center; gap: .6rem;
  box-shadow: 0 6px 24px rgba(139,94,60,.4);
  transition: all var(--transition);
}
.btn-primary-hero:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(139,94,60,.5);
}

.btn-outline-hero {
  background: rgba(255,255,255,.08);
  color: white !important;
  border: 1.5px solid rgba(255,255,255,.35);
  padding: .85rem 2rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  display: inline-flex; align-items: center; gap: .6rem;
  backdrop-filter: blur(8px);
  transition: all var(--transition);
}
.btn-outline-hero:hover {
  background: rgba(255,255,255,.16);
  border-color: rgba(255,255,255,.6);
}

/* Stats strip inside hero */
.hero-stats {
  margin-top: 3.5rem;
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
  animation: fadeInUp .8s ease .5s both;
}
.stat-item { text-align: center; }
.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
}
.stat-label {
  font-size: .8rem;
  color: rgba(255,255,255,.65);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-top: .25rem;
}

/* Hero image card (right side) */
.hero-image-card {
  position: relative;
  animation: fadeInRight .9s ease .2s both;
}
.hero-img-main {
  width: 100%;
  max-width: 480px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  height: 440px;
}
.hero-img-badge {
  position: absolute;
  bottom: -20px; left: -20px;
  background: white;
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: .75rem;
}
.hero-img-badge .badge-icon {
  width: 48px; height: 48px;
  background: var(--bg-warm);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  color: var(--primary);
}
.hero-img-badge strong { font-size: .95rem; color: var(--dark); }
.hero-img-badge span  { font-size: .78rem; color: var(--text-muted); }

/* ============================================================
   SECTION — ABOUT / HISTORI TOKO
   ============================================================ */
.section { padding: 5rem 0; }
.section-alt { background: var(--bg-warm); }

.section-label {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(139,94,60,.08);
  padding: .3rem .9rem;
  border-radius: 100px;
  margin-bottom: 1rem;
  border-left: 3px solid var(--primary);
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 540px;
}

/* Timeline milestones */
.timeline {
  position: relative;
  padding-left: 2.5rem;
}
.timeline::before {
  content: '';
  position: absolute;
  left: .75rem; top: 8px; bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary), var(--accent-light));
  border-radius: 2px;
}
.timeline-item {
  position: relative;
  padding-bottom: 2rem;
  opacity: 0;
  transform: translateX(-20px);
  transition: all .6s ease;
}
.timeline-item.visible {
  opacity: 1;
  transform: translateX(0);
}
.timeline-dot {
  position: absolute;
  left: -2.5rem;
  top: 4px;
  width: 1.5rem; height: 1.5rem;
  background: var(--primary);
  border: 3px solid var(--bg-cream);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.timeline-dot .bi { font-size: .6rem; color: white; }
.timeline-year {
  font-size: .78rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.timeline-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin: .15rem 0;
}
.timeline-desc { font-size: .9rem; color: var(--text-muted); }

/* About image stack */
.about-img-stack {
  position: relative;
  padding: 1.5rem 1.5rem 1.5rem 0;
}
.about-img-main {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  height: 420px;
}
.about-img-accent {
  position: absolute;
  bottom: 0; right: 0;
  width: 48%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  object-fit: cover;
  height: 200px;
  border: 4px solid var(--white);
}
.about-year-badge {
  position: absolute;
  top: 0; left: 0;
  background: var(--primary);
  color: white;
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: center;
  box-shadow: var(--shadow-md);
  min-width: 100px;
}
.about-year-badge .year-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1;
}
.about-year-badge .year-text { font-size: .75rem; letter-spacing: .08em; opacity: .85; }

/* ============================================================
   LAYANAN / KEUNGGULAN
   ============================================================ */
.layanan-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  border: 1.5px solid var(--border);
  transition: all var(--transition);
  height: 100%;
}
.layanan-card:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.layanan-icon {
  width: 72px; height: 72px;
  border-radius: 20px;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1.25rem;
  transition: transform var(--transition);
}
.layanan-card:hover .layanan-icon { transform: scale(1.08) rotate(-5deg); }
.layanan-card h5 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: .5rem;
}
.layanan-card p { font-size: .9rem; color: var(--text-muted); margin: 0; }

/* Icon color variants */
.icon-wood    { background: rgba(139,94,60,.1); color: var(--primary); }
.icon-alum    { background: rgba(92,132,173,.1); color: #5C84AD; }
.icon-gyp     { background: rgba(75,161,120,.1); color: #4BA178; }
.icon-service { background: rgba(212,168,83,.12); color: #B8842A; }
.icon-fast    { background: rgba(220,80,80,.1);  color: #DC5050; }
.icon-price   { background: rgba(100,70,180,.1); color: #6446B4; }

/* ============================================================
   GALERI PORTOFOLIO
   ============================================================ */
.galeri-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 200px;
  gap: 12px;
}
.galeri-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
}
/* Layout variatif — item ukuran besar/kecil bergantian */
.galeri-item:nth-child(1) { grid-column: span 5; grid-row: span 2; }
.galeri-item:nth-child(2) { grid-column: span 4; grid-row: span 1; }
.galeri-item:nth-child(3) { grid-column: span 3; grid-row: span 2; }
.galeri-item:nth-child(4) { grid-column: span 4; grid-row: span 1; }
.galeri-item:nth-child(5) { grid-column: span 4; grid-row: span 2; }
.galeri-item:nth-child(6) { grid-column: span 4; grid-row: span 1; }
.galeri-item:nth-child(7) { grid-column: span 4; grid-row: span 1; }
.galeri-item:nth-child(8) { grid-column: span 3; grid-row: span 1; }

.galeri-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .55s ease;
}
.galeri-item:hover .galeri-img { transform: scale(1.08); }

.galeri-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(30,26,22,.9) 0%, transparent 55%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.25rem;
  opacity: 0;
  transition: opacity var(--transition);
}
.galeri-item:hover .galeri-overlay { opacity: 1; }
.galeri-overlay h6 {
  color: white;
  font-size: .92rem;
  font-weight: 700;
  margin: 0 0 .25rem;
}
.galeri-overlay small { color: rgba(255,255,255,.7); font-size: .78rem; }

/* Mobile: galeri jadi 2 kolom biasa */
@media (max-width: 767px) {
  .galeri-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 160px;
  }
  .galeri-item { grid-column: span 1 !important; grid-row: span 1 !important; }
}

/* ============================================================
   PRODUK UNGGULAN (mini preview)
   ============================================================ */
.produk-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1.5px solid var(--border);
  transition: all var(--transition);
  height: 100%;
  display: flex; flex-direction: column;
}
.produk-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
  transform: translateY(-3px);
}
.produk-img-wrap {
  position: relative;
  padding-top: 72%;
  overflow: hidden;
  background: var(--bg-warm);
}
.produk-img-wrap img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}
.produk-card:hover .produk-img-wrap img { transform: scale(1.06); }
.produk-badge {
  position: absolute; top: .6rem; left: .6rem;
  background: var(--primary);
  color: white;
  font-size: .7rem;
  font-weight: 700;
  padding: .25rem .6rem;
  border-radius: 6px;
}
.produk-body {
  padding: 1rem 1.1rem;
  flex: 1;
  display: flex; flex-direction: column;
}
.produk-kat {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: .35rem;
}
.produk-nama {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: .5rem;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.produk-harga {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--primary);
  margin-bottom: .75rem;
}
.produk-harga small { font-size: .75rem; font-weight: 500; color: var(--text-muted); }
.produk-footer {
  margin-top: auto;
  display: flex; gap: .5rem;
}
.btn-produk {
  flex: 1;
  padding: .5rem;
  border-radius: 8px;
  font-size: .85rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  transition: all var(--transition);
  border: none;
}
.btn-produk-primary {
  background: var(--primary);
  color: white;
}
.btn-produk-primary:hover { background: var(--primary-dark); color: white; }
.btn-produk-outline {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--border);
}
.btn-produk-outline:hover { background: var(--bg-warm); }

/* ============================================================
   LOKASI MAPS
   ============================================================ */
.maps-section {
  background: var(--charcoal);
  color: white;
  padding: 5rem 0 0;
}
.maps-section .section-label { border-left-color: var(--accent); }
.maps-section .section-title { color: white; }
.maps-section .section-subtitle { color: rgba(255,255,255,.65); }

.maps-iframe-wrap {
  position: relative;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
  box-shadow: 0 -12px 40px rgba(0,0,0,.3);
  margin-top: 3rem;
}
.maps-iframe-wrap iframe {
  display: block;
  width: 100%;
  height: 450px;
  border: none;
  filter: sepia(20%) saturate(80%);
}

.contact-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: 1.25rem;
  display: flex; align-items: flex-start; gap: 1rem;
  backdrop-filter: blur(8px);
  transition: all var(--transition);
}
.contact-card:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(212,168,83,.4);
}
.contact-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.contact-label { font-size: .75rem; opacity: .6; text-transform: uppercase; letter-spacing: .06em; }
.contact-value { font-weight: 600; font-size: .95rem; color: white; margin: .1rem 0; }
.contact-value a { color: var(--accent-light) !important; text-decoration: none; }
.contact-value a:hover { color: var(--accent) !important; }

/* ============================================================
   TESTIMONIAL / KEPERCAYAAN
   ============================================================ */
.trust-band {
  background: var(--primary);
  color: white;
  padding: 2.5rem 0;
  overflow: hidden;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: 0 2.5rem;
  white-space: nowrap;
}
.trust-item i { font-size: 1.5rem; color: var(--accent); }
.trust-item strong { font-size: .95rem; }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
  border-radius: var(--radius-lg);
  padding: 4rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    rgba(255,255,255,.03) 0px, rgba(255,255,255,.03) 1px,
    transparent 1px, transparent 14px
  );
}
.cta-banner h2 { color: white; position: relative; z-index: 1; }
.cta-banner p  { color: rgba(255,255,255,.8); position: relative; z-index: 1; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--charcoal);
  color: rgba(255,255,255,.8);
  padding: 5rem 0 0;
}
.footer-brand {
  display: flex; align-items: center; gap: .75rem;
  margin-bottom: .75rem;
}
.brand-icon-footer {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 1.3rem;
}
.footer-desc { font-size: .88rem; color: rgba(255,255,255,.55); line-height: 1.7; }
.footer-heading { font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.9); margin-bottom: 1rem; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .5rem; }
.footer-links a { color: rgba(255,255,255,.55); text-decoration: none; font-size: .88rem; transition: color var(--transition); }
.footer-links a:hover { color: var(--accent); }
.footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-contact li { display: flex; align-items: flex-start; gap: .75rem; margin-bottom: .75rem; font-size: .88rem; }
.footer-contact i { margin-top: .2rem; flex-shrink: 0; font-size: 1rem; }
.footer-contact a { color: rgba(255,255,255,.55); text-decoration: none; transition: color var(--transition); }
.footer-contact a:hover { color: var(--accent); }
.footer-divider { border-color: rgba(255,255,255,.08); }

/* ============================================================
   WHATSAPP FLOATING BUTTON
   ============================================================ */
.wa-float {
  position: fixed;
  bottom: 28px; right: 24px;
  z-index: 999;
  width: 58px; height: 58px;
  background: #25D366;
  color: white !important;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.75rem;
  box-shadow: 0 6px 24px rgba(37,211,102,.45);
  text-decoration: none;
  transition: all var(--transition);
  animation: pulseGreen 2.5s infinite;
}
.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 32px rgba(37,211,102,.6);
  animation: none;
}

/* ============================================================
   ANIMASI
   ============================================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(30px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes lineGrow {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}
@keyframes pulseGreen {
  0%, 100% { box-shadow: 0 6px 24px rgba(37,211,102,.45); }
  50%       { box-shadow: 0 6px 36px rgba(37,211,102,.7); }
}

/* Scroll reveal (tambahkan via JS IntersectionObserver) */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* ============================================================
   UTILITY
   ============================================================ */
.text-primary-brand { color: var(--primary) !important; }
.bg-primary-brand   { background: var(--primary) !important; }
.btn-primary-brand {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
  font-weight: 600;
  border-radius: var(--radius);
  transition: all var(--transition);
}
.btn-primary-brand:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(139,94,60,.3);
}

/* ============================================================
   RESPONSIVE TWEAKS
   ============================================================ */
@media (max-width: 991px) {
  .hero-section { min-height: auto; padding: 5rem 0 4rem; }
  .hero-image-card { margin-top: 3rem; text-align: center; }
  .hero-img-main { max-width: 100%; height: 300px; }
  .hero-img-badge { bottom: -14px; left: 20px; }
  .hero-stats { gap: 1.5rem; justify-content: center; }
  .search-input { width: 100%; }
}

@media (max-width: 575px) {
  .hero-title { font-size: 2rem; }
  .hero-cta { flex-direction: column; }
  .btn-primary-hero, .btn-outline-hero { width: 100%; justify-content: center; }
  .cta-banner { padding: 2.5rem 1.5rem; }
  .maps-iframe-wrap iframe { height: 300px; }
}

/* ============================================================
   TAMBAHAN: Halaman Katalog, Detail, Keranjang, Checkout, Konfirmasi
   ============================================================ */

/* ── Filter Sidebar ───────────────────────────────────────── */
.filter-sidebar { position: sticky; top: 80px; }
.filter-block { background: white; border-radius: var(--radius); border: 1px solid var(--border); padding: 1.1rem; margin-bottom: .75rem; }
.filter-heading { font-weight: 700; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; color: var(--text-muted); margin-bottom: .75rem; display: flex; align-items: center; }
.filter-list { list-style: none; padding: 0; margin: 0; }
.filter-list li { margin-bottom: .2rem; }
.filter-link { display: flex; justify-content: space-between; align-items: center; padding: .45rem .65rem; border-radius: 8px; text-decoration: none; color: var(--text-body); font-size: .88rem; transition: all var(--transition); }
.filter-link:hover { background: var(--bg-warm); color: var(--primary); }
.filter-link.active { background: rgba(139,94,60,.1); color: var(--primary); font-weight: 700; }
.filter-count { font-size: .72rem; background: var(--bg-warm); color: var(--text-muted); padding: .1rem .4rem; border-radius: 10px; }
.filter-wa-card { background: var(--bg-warm); border-radius: var(--radius); padding: 1.25rem; text-align: center; border: 1px dashed var(--primary-light); }

/* ── Katalog Toolbar ──────────────────────────────────────── */
.katalog-toolbar { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; background: white; border-radius: var(--radius); border: 1px solid var(--border); padding: .65rem 1rem; }
.filter-tag { display: inline-flex; align-items: center; gap: .35rem; background: rgba(139,94,60,.1); color: var(--primary); border-radius: 100px; padding: .2rem .7rem; font-size: .8rem; font-weight: 600; text-decoration: none; transition: all var(--transition); }
.filter-tag:hover { background: rgba(139,94,60,.2); color: var(--primary-dark); }
.sort-select { font-size: .85rem; border-color: var(--border); border-radius: 8px; min-width: 160px; }

/* Stok habis produk card */
.stok-habis .produk-img-wrap { filter: grayscale(.6); }
.stok-habis-overlay { position: absolute; inset: 0; background: rgba(0,0,0,.45); display: flex; align-items: center; justify-content: center; color: white; font-weight: 700; font-size: .9rem; letter-spacing: .05em; }
.produk-stok { line-height: 1.2; margin-bottom: .25rem; }

/* Pagination */
.pagination-catalog .page-link { border-radius: 8px !important; margin: 0 2px; color: var(--primary); border-color: var(--border); font-weight: 600; }
.pagination-catalog .page-item.active .page-link { background: var(--primary); border-color: var(--primary); }

/* Empty state */
.empty-state { text-align: center; padding: 4rem 1rem; }

/* ── Image Slider ─────────────────────────────────────────── */
.produk-slider-wrap { position: sticky; top: 80px; }
.slider-main {
  position: relative;
  background: var(--bg-warm);
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1;
  user-select: none;
}
.slider-slide { display: none; width: 100%; height: 100%; }
.slider-slide.active { display: block; animation: sliderFade .35s ease; }
.slider-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
@keyframes sliderFade { from { opacity: .4; } to { opacity: 1; } }

.slider-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px;
  background: rgba(255,255,255,.92);
  border: none; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; color: var(--dark);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: all var(--transition);
  z-index: 10;
}
.slider-btn:hover { background: white; box-shadow: var(--shadow-md); }
.slider-prev { left: 12px; }
.slider-next { right: 12px; }
.slider-counter {
  position: absolute; bottom: 10px; right: 12px;
  background: rgba(0,0,0,.55); color: white;
  font-size: .75rem; padding: .2rem .6rem; border-radius: 20px;
  backdrop-filter: blur(4px);
}

.slider-thumbs {
  display: flex; gap: 8px; margin-top: 10px;
  overflow-x: auto; padding-bottom: 4px;
  scrollbar-width: thin;
}
.thumb-btn {
  flex-shrink: 0; width: 68px; height: 68px;
  border: 2px solid transparent;
  border-radius: 8px; overflow: hidden;
  cursor: pointer; background: none; padding: 0;
  transition: border-color var(--transition);
}
.thumb-btn img { width: 100%; height: 100%; object-fit: cover; }
.thumb-btn.active { border-color: var(--primary); }
.thumb-btn:hover  { border-color: var(--primary-light); }

/* ── Detail Produk Info ───────────────────────────────────── */
.produk-kat-badge {
  font-size: .75rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--primary);
  background: rgba(139,94,60,.1);
  padding: .3rem .8rem; border-radius: 100px;
  text-decoration: none;
}
.produk-detail-nama { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 900; line-height: 1.2; margin: .75rem 0; }
.produk-detail-harga { display: flex; align-items: baseline; gap: .4rem; margin-bottom: 1rem; }
.harga-angka { font-family: 'Playfair Display',serif; font-size: 2rem; font-weight: 900; color: var(--primary); }
.harga-satuan { font-size: .9rem; color: var(--text-muted); }

.stok-badge { display: inline-flex; align-items: center; font-size: .85rem; font-weight: 600; padding: .35rem .8rem; border-radius: 100px; }
.stok-badge-ada    { background: rgba(42,122,71,.1); color: var(--success); }
.stok-badge-rendah { background: rgba(245,158,11,.1); color: #92400E; }
.stok-badge-habis  { background: rgba(220,53,69,.1);  color: #dc3545; }

/* ── Kalkulator ───────────────────────────────────────────── */
.kalkulator-box { background: var(--bg-cream); border: 2px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.kalkulator-header { background: var(--charcoal); color: white; padding: .85rem 1.25rem; font-weight: 700; font-size: .9rem; display: flex; align-items: center; }
.kalkulator-body { padding: 1.25rem; }
.kalkulator-label { font-weight: 700; font-size: .88rem; color: var(--text-body); }
.satuan-label { font-weight: 400; color: var(--text-muted); margin-left: .3rem; }

.jumlah-input-group {
  display: flex; align-items: center;
  border: 2px solid var(--border); border-radius: var(--radius);
  overflow: hidden; width: 160px;
}
.jumlah-input-group-sm { width: 130px; }
.jumlah-btn {
  width: 40px; min-width: 40px; height: 44px;
  background: var(--bg-warm); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: var(--primary);
  transition: background var(--transition);
}
.jumlah-btn:hover { background: var(--primary-light); color: white; }
.jumlah-input {
  flex: 1; border: none; text-align: center;
  font-size: 1rem; font-weight: 700;
  background: white; padding: .2rem;
  -moz-appearance: textfield;
}
.jumlah-input::-webkit-outer-spin-button,
.jumlah-input::-webkit-inner-spin-button { -webkit-appearance: none; }
.jumlah-input:focus { outline: none; }

.kalkulasi-rincian { background: white; border-radius: var(--radius); padding: 1rem; margin-top: 1rem; }
.kalkulasi-row { display: flex; justify-content: space-between; font-size: .88rem; margin-bottom: .4rem; }
.kalkulasi-row span:first-child { color: var(--text-muted); }
.kalkulasi-divider { height: 1px; background: var(--border); margin: .6rem 0; }
.kalkulasi-total { font-weight: 700; font-size: 1rem; }
.kalkulasi-total #dispTotal { color: var(--primary); font-size: 1.15rem; }
@keyframes totalFlash { 0%,100% { background: transparent; } 50% { background: rgba(139,94,60,.1); } }
.total-flash { animation: totalFlash .4s ease; border-radius: 4px; }

.btn-tambah-keranjang {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white; border: none;
  padding: .85rem 1.5rem; border-radius: var(--radius);
  font-weight: 700; font-size: .95rem;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  gap: .5rem; transition: all var(--transition);
}
.btn-tambah-keranjang:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(139,94,60,.35); }
.btn-wa-order {
  background: #25D366; color: white;
  border: none; border-radius: var(--radius);
  padding: .85rem 1rem; font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; text-decoration: none;
  transition: all var(--transition);
}
.btn-wa-order:hover { background: #1DA851; color: white; }

.layanan-mini { border-top: 1px solid var(--border); padding-top: 1rem; }
.layanan-mini-item { display: flex; align-items: center; gap: .6rem; font-size: .85rem; margin-bottom: .5rem; }
.layanan-mini-item i { font-size: 1rem; }

/* Tab Produk */
.nav-tabs-produk .nav-link { color: var(--text-muted); font-weight: 600; border: none; border-bottom: 2px solid transparent; padding: .6rem 1.25rem; }
.nav-tabs-produk .nav-link.active { color: var(--primary); border-bottom-color: var(--primary); background: transparent; }
.tab-content-produk { background: white; border: 1px solid var(--border); border-radius: 0 var(--radius) var(--radius) var(--radius); padding: 1.5rem; }
.produk-deskripsi { line-height: 1.8; color: var(--text-body); font-size: .95rem; }

.cara-pesan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1.5rem; }
.cara-step { text-align: center; }
.cara-step-num { width: 32px; height: 32px; background: var(--primary); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .85rem; margin: 0 auto .5rem; }
.cara-step-icon { font-size: 1.75rem; color: var(--primary-light); margin-bottom: .5rem; }
.cara-step h6 { font-size: .9rem; font-weight: 700; margin-bottom: .35rem; }
.cara-step p  { font-size: .8rem; color: var(--text-muted); }

/* ── Keranjang ────────────────────────────────────────────── */
.card-section { background: white; border-radius: var(--radius-lg); border: 1px solid var(--border); overflow: hidden; box-shadow: var(--shadow-sm); }
.card-section-header { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.25rem; background: var(--bg-cream); border-bottom: 1px solid var(--border); }
.card-section-footer { padding: .75rem 1.25rem; background: var(--bg-cream); border-top: 1px solid var(--border); }

.keranjang-item {
  display: flex; align-items: center; gap: 1rem;
  padding: 1rem 1.25rem; border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}
.keranjang-item:hover { background: var(--bg-cream); }
.keranjang-item.stok-kurang { background: rgba(245,158,11,.05); }
.keranjang-img { width: 72px; height: 72px; object-fit: cover; border-radius: 10px; flex-shrink: 0; }
.keranjang-info { flex: 1; min-width: 0; }
.keranjang-nama { font-weight: 700; font-size: .9rem; color: var(--dark); display: block; text-decoration: none; }
.keranjang-nama:hover { color: var(--primary); }
.keranjang-harga-satuan { font-size: .8rem; color: var(--text-muted); margin-top: .2rem; }
.keranjang-qty { display: flex; flex-direction: column; align-items: center; gap: .4rem; }
.keranjang-subtotal { font-weight: 700; color: var(--primary); font-size: .9rem; }
.keranjang-hapus { background: none; border: none; color: var(--text-muted); cursor: pointer; padding: .4rem; border-radius: 6px; transition: all var(--transition); }
.keranjang-hapus:hover { color: #dc3545; background: rgba(220,53,69,.1); }

.safe-info { display: flex; align-items: center; gap: .5rem; font-size: .8rem; color: var(--text-muted); background: var(--bg-cream); border-radius: 8px; padding: .65rem .85rem; }

/* ── Checkout ─────────────────────────────────────────────── */
.checkout-steps { display: flex; align-items: center; gap: 0; }
.checkout-step { display: flex; flex-direction: column; align-items: center; gap: .3rem; }
.step-circle { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; background: var(--bg-warm); color: var(--text-muted); font-size: .9rem; border: 2px solid var(--border); }
.checkout-step.done .step-circle  { background: var(--primary); color: white; border-color: var(--primary); }
.checkout-step.active .step-circle { background: var(--accent); color: var(--dark); border-color: var(--accent); font-weight: 900; }
.step-label { font-size: .72rem; color: var(--text-muted); font-weight: 600; white-space: nowrap; }
.checkout-step.active .step-label { color: var(--primary); }
.checkout-step-line { flex: 1; height: 2px; background: var(--border); margin: 0 .5rem; margin-bottom: 1.2rem; }
.checkout-step-line.done { background: var(--primary); }

.payment-method-card {
  display: flex; align-items: center; gap: .75rem;
  padding: .9rem 1rem;
  border: 2px solid var(--border); border-radius: var(--radius);
  cursor: pointer; transition: all var(--transition);
}
.payment-method-card.active { border-color: var(--primary); background: rgba(139,94,60,.04); }

.ringkasan-item { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: .6rem; font-size: .88rem; }
.ringkasan-nama { flex: 1; padding-right: .5rem; color: var(--text-body); }
.ringkasan-harga { font-weight: 700; white-space: nowrap; }
.grand-total-box { background: var(--bg-warm); border-radius: var(--radius); padding: .85rem 1rem; display: flex; justify-content: space-between; align-items: center; font-size: 1.05rem; font-weight: 700; }

/* ── Konfirmasi ───────────────────────────────────────────── */
.konfirmasi-header { display: flex; align-items: center; gap: 1.25rem; background: white; border-radius: var(--radius-lg); padding: 1.5rem; border: 1px solid var(--border); }
.konfirmasi-icon { font-size: 3rem; flex-shrink: 0; }

.rekening-card {
  display: flex; align-items: center; gap: .75rem;
  background: var(--bg-cream); border-radius: var(--radius);
  border: 1px solid var(--border); padding: .85rem 1rem; position: relative;
}
.rekening-bank { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--text-muted); }
.rekening-no   { font-size: 1.15rem; font-weight: 700; font-family: 'Playfair Display',serif; color: var(--dark); }
.rekening-an   { font-size: .8rem; color: var(--text-muted); }
.btn-copy { position: absolute; right: .75rem; top: 50%; transform: translateY(-50%); background: var(--bg-warm); border: 1px solid var(--border); border-radius: 6px; padding: .35rem .6rem; cursor: pointer; color: var(--primary); transition: all var(--transition); }
.btn-copy:hover { background: var(--primary); color: white; }

.upload-zone {
  border: 2px dashed var(--border); border-radius: var(--radius);
  padding: 1.5rem; text-align: center; cursor: pointer;
  position: relative; transition: all var(--transition);
}
.upload-zone.drag-over { border-color: var(--primary); background: rgba(139,94,60,.05); }
.upload-input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.upload-preview { width: 100%; max-height: 200px; object-fit: contain; border-radius: 8px; }

.tracking-info-banner {
  background: linear-gradient(135deg, var(--bg-warm), var(--bg-cream));
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap;
}

/* ── Tracking Timeline ────────────────────────────────────── */
.pesanan-header-card {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(140px,1fr));
  gap: 1rem; background: white; border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.25rem;
}

.tracking-timeline { position: relative; }
.track-step {
  display: flex; align-items: flex-start; gap: 1rem;
  padding-bottom: 1.5rem; position: relative;
}
.track-icon {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; flex-shrink: 0; z-index: 1;
  border: 2px solid var(--border); background: white;
}
.track-step.done .track-icon    { background: var(--success); border-color: var(--success); color: white; }
.track-step.current .track-icon { background: var(--primary); border-color: var(--primary); color: white; }
.track-step.future .track-icon  { background: var(--bg-warm); color: var(--text-muted); }
.track-label { font-weight: 700; font-size: .9rem; margin-top: .5rem; }
.track-current-badge { display: inline-block; background: rgba(139,94,60,.1); color: var(--primary); font-size: .72rem; font-weight: 700; padding: .15rem .5rem; border-radius: 100px; margin-top: .2rem; }
.track-line {
  position: absolute; left: 19px; top: 40px; bottom: 0;
  width: 2px; background: var(--border);
}
.track-line.done { background: var(--success); }

/* ============================================================
   KATALOG PAGE
   ============================================================ */
.katalog-hero {
  background: linear-gradient(135deg, var(--charcoal) 0%, var(--primary-dark) 100%);
  padding: 3rem 0 2rem;
}
.katalog-hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  color: white;
  margin-bottom: .5rem;
}
.katalog-hero-sub { color: rgba(255,255,255,.65); font-size: 1rem; margin: 0; }

/* Sidebar filter */
.filter-card {
  background: white;
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  overflow: hidden;
}
.filter-heading {
  background: var(--bg-warm);
  padding: .75rem 1rem;
  font-weight: 700;
  font-size: .88rem;
  color: var(--dark);
  border-bottom: 1px solid var(--border);
}
.filter-list { list-style: none; padding: .5rem 0; margin: 0; }
.filter-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .5rem 1rem;
  color: var(--text-body) !important;
  text-decoration: none;
  font-size: .88rem;
  transition: background var(--transition);
}
.filter-link:hover { background: var(--bg-cream); }
.filter-link.active { color: var(--primary) !important; font-weight: 700; background: rgba(139,94,60,.06); }
.filter-count {
  background: var(--bg-warm);
  font-size: .72rem;
  font-weight: 700;
  padding: .15rem .5rem;
  border-radius: 20px;
  color: var(--text-muted);
}
.filter-wa-card {
  background: linear-gradient(135deg, #1A472A, #2D7A4A);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  color: white;
}

/* Toolbar */
.katalog-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: white;
  border-radius: var(--radius);
  padding: .75rem 1rem;
  border: 1.5px solid var(--border);
  flex-wrap: wrap;
  gap: .75rem;
}
.sort-select { border-color: var(--border); border-radius: 8px !important; }

/* Produk card link */
.produk-card-link { text-decoration: none; color: inherit; display: block; }

/* Stock overlay */
.stock-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.5);
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 700; font-size: 1rem;
  border-radius: 0;
}
.out-of-stock .produk-img-wrap img { filter: grayscale(70%); }
.badge-warning { background: #F59E0B !important; }

/* Quick action overlay */
.produk-quick-action {
  position: absolute; inset: 0;
  display: flex; align-items: flex-end; justify-content: center;
  padding-bottom: .75rem;
  opacity: 0;
  transition: opacity var(--transition);
}
.produk-card:hover .produk-quick-action { opacity: 1; }
.quick-action-btn {
  background: rgba(255,255,255,.95);
  color: var(--primary);
  font-size: .8rem;
  font-weight: 700;
  padding: .4rem 1rem;
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
}
.stok-info { font-size: .78rem; color: var(--text-muted); }

/* Pagination */
.pagination-brand .page-link {
  border-radius: 8px !important;
  margin: 0 2px;
  border-color: var(--border);
  color: var(--primary);
  font-weight: 600;
}
.pagination-brand .page-item.active .page-link {
  background: var(--primary);
  border-color: var(--primary);
}

/* Empty state */
.empty-state { text-align: center; padding: 4rem 2rem; }

/* ============================================================
   PRODUK DETAIL PAGE — SLIDER
   ============================================================ */
.slider-container { position: relative; }

.slider-main {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-warm);
  aspect-ratio: 4/3;
  cursor: zoom-in;
}
.slider-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity .4s ease;
  display: flex;
}
.slider-slide.active { opacity: 1; position: relative; }
.slider-img {
  width: 100%; height: 100%;
  object-fit: contain;
  display: block;
}

.slider-arrow {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px;
  background: rgba(255,255,255,.9);
  border: none; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  color: var(--dark);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
  transition: all var(--transition);
  z-index: 5;
}
.slider-arrow:hover { background: var(--primary); color: white; }
.slider-prev { left: 10px; }
.slider-next { right: 10px; }

.slider-dots {
  position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 6px; z-index: 5;
}
.slider-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.5);
  border: none; cursor: pointer;
  transition: all var(--transition);
}
.slider-dot.active { background: white; width: 20px; border-radius: 4px; }

.slider-zoom-btn {
  position: absolute; top: 10px; right: 10px;
  background: rgba(255,255,255,.85);
  border: none; border-radius: 8px;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem; cursor: pointer; z-index: 5;
  transition: all var(--transition);
}
.slider-zoom-btn:hover { background: var(--primary); color: white; }

.slider-thumbs {
  display: flex; gap: 8px; margin-top: 10px;
  overflow-x: auto; padding-bottom: 4px;
}
.thumb-btn {
  width: 72px; height: 72px; flex-shrink: 0;
  border: 2px solid transparent;
  border-radius: 8px; overflow: hidden;
  cursor: pointer; background: none; padding: 0;
  transition: border-color var(--transition);
}
.thumb-btn img { width: 100%; height: 100%; object-fit: cover; }
.thumb-btn.active { border-color: var(--primary); }

/* Slider Lightbox */
.slider-lightbox {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.95);
  z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity .3s;
}
.slider-lightbox.open { opacity: 1; pointer-events: all; }
.slider-lightbox img { max-width: 94vw; max-height: 94vh; object-fit: contain; border-radius: 8px; }
.lightbox-close {
  position: absolute; top: 20px; right: 20px;
  background: rgba(255,255,255,.1); border: none;
  color: white; width: 44px; height: 44px;
  border-radius: 50%; font-size: 1.1rem; cursor: pointer;
  transition: background var(--transition);
}
.lightbox-close:hover { background: rgba(255,255,255,.25); }

/* ── Produk Detail Info ── */
.produk-detail-kat {
  font-size: .78rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--primary); text-decoration: none;
  border: 1px solid var(--primary);
  padding: .2rem .65rem; border-radius: 20px;
  transition: all var(--transition);
}
.produk-detail-kat:hover { background: var(--primary); color: white; }
.produk-detail-nama {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 900;
  color: var(--dark);
  margin: .75rem 0;
  line-height: 1.2;
}
.produk-detail-harga-box {
  display: flex; align-items: baseline; gap: .5rem;
  background: var(--bg-warm); border-radius: var(--radius);
  padding: 1rem 1.25rem; margin-bottom: 1rem;
}
.harga-besar { font-size: 2rem; font-weight: 900; color: var(--primary); line-height: 1; }
.harga-satuan { font-size: .85rem; color: var(--text-muted); }

.stok-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .85rem; font-weight: 600;
  padding: .4rem .9rem; border-radius: 20px;
}
.stok-ada     { background: #D1FAE5; color: #065F46; }
.stok-sedikit { background: #FEF3C7; color: #92400E; }
.stok-habis   { background: #FEE2E2; color: #991B1B; }

/* Kalkulator */
.kalkulator-box {
  background: white;
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 1rem;
}
.kalkulator-title {
  font-weight: 700; font-size: .95rem;
  color: var(--dark); margin-bottom: 1.25rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid var(--border);
}
.jumlah-input-group {
  display: flex; align-items: center;
  gap: 0; border: 2px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  background: white;
}
.qty-btn {
  width: 44px; height: 44px;
  background: var(--bg-warm);
  border: none;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background var(--transition);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--primary);
}
.qty-btn:hover { background: var(--primary); color: white; }
.qty-input {
  flex: 1; border: none; text-align: center;
  font-size: 1.1rem; font-weight: 700;
  color: var(--dark); padding: .5rem;
  outline: none; -moz-appearance: textfield;
  min-width: 0;
}
.qty-input::-webkit-inner-spin-button { display: none; }
.qty-satuan {
  padding: 0 .75rem;
  font-size: .8rem; font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-cream);
  border-left: 1px solid var(--border);
  display: flex; align-items: center;
  height: 44px; white-space: nowrap;
}

.kalkulasi-detail {
  background: var(--bg-cream);
  border-radius: 10px; padding: 1rem;
  margin-top: 1rem;
}
.kalkulasi-row {
  display: flex; justify-content: space-between;
  font-size: .88rem; padding: .3rem 0;
  color: var(--text-muted);
  border-bottom: 1px dashed var(--border);
}
.kalkulasi-row:last-child { border-bottom: none; }
.kalkulasi-row.total {
  margin-top: .5rem; padding-top: .5rem;
  font-size: 1.05rem; color: var(--dark);
}
.total-harga {
  font-size: 1.3rem; font-weight: 900; color: var(--primary);
}

.btn-beli {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white; border: none;
  padding: .85rem 1.5rem; border-radius: var(--radius);
  font-weight: 700; font-size: 1rem;
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  cursor: pointer; transition: all var(--transition);
}
.btn-beli:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(139,94,60,.35); }
.btn-wa-order {
  background: #25D366; color: white; border: none;
  padding: .85rem 1.1rem; border-radius: var(--radius);
  font-size: 1.2rem; display: inline-flex;
  align-items: center; justify-content: center;
  cursor: pointer; text-decoration: none;
  transition: all var(--transition);
}
.btn-wa-order:hover { background: #1DA851; transform: translateY(-2px); }

.custom-order-note {
  background: rgba(212,168,83,.1);
  border: 1px solid rgba(212,168,83,.3);
  border-radius: 8px; padding: .75rem 1rem;
  font-size: .82rem; color: var(--text-body);
}
.custom-order-note a { color: var(--primary); font-weight: 600; }

.mini-info-card {
  display: flex; align-items: center; gap: .6rem;
  background: white; border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: .6rem .8rem;
  font-size: .78rem; color: var(--text-muted);
}
.mini-info-card i { font-size: 1rem; }

/* Tabs deskripsi */
.deskripsi-tabs { background: white; border-radius: var(--radius-lg); overflow: hidden; border: 1.5px solid var(--border); }
.deskripsi-nav { border-bottom: 2px solid var(--border) !important; background: var(--bg-cream); padding: 0 1rem; }
.deskripsi-nav .nav-link { color: var(--text-muted); font-weight: 600; font-size: .9rem; border: none !important; border-bottom: 2px solid transparent !important; margin-bottom: -2px; border-radius: 0 !important; }
.deskripsi-nav .nav-link.active { color: var(--primary) !important; border-bottom-color: var(--primary) !important; background: transparent; }
.deskripsi-content { padding: 1.5rem 2rem; }
.deskripsi-text { line-height: 1.9; color: var(--text-body); white-space: pre-line; }
.shipping-card { background: var(--bg-cream); border-radius: var(--radius); padding: 1.25rem; text-align: center; }

/* ============================================================
   CART & CHECKOUT
   ============================================================ */
.page-title-bar { display: flex; align-items: center; gap: .75rem; margin-bottom: 1.5rem; }
.page-title { font-family: 'Playfair Display', serif; font-size: 1.8rem; font-weight: 900; }

.cart-items-card {
  background: white; border-radius: var(--radius-lg);
  border: 1.5px solid var(--border); overflow: hidden;
}
.cart-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1rem 1.25rem;
  background: var(--bg-cream);
  border-bottom: 1px solid var(--border);
}
.cart-item {
  display: flex; align-items: center; gap: 1rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}
.cart-item:last-child { border-bottom: none; }
.cart-item:hover { background: #FAFBFC; }
.cart-item-warning { background: #FFFBEB !important; }
.cart-item-img { width: 80px; height: 80px; flex-shrink: 0; }
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-nama {
  font-weight: 700; color: var(--dark);
  text-decoration: none; font-size: .92rem;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.cart-item-harga-satuan { font-size: .8rem; color: var(--text-muted); margin-top: .25rem; }
.cart-item-qty { flex-shrink: 0; }
.jumlah-input-group-sm { display: flex; align-items: center; border: 1.5px solid var(--border); border-radius: 8px; overflow: hidden; }
.qty-btn-sm { width: 30px; height: 30px; background: var(--bg-warm); border: none; cursor: pointer; font-size: .9rem; display: flex; align-items: center; justify-content: center; color: var(--primary); }
.qty-btn-sm:hover { background: var(--primary); color: white; }
.qty-input-sm { width: 52px; border: none; text-align: center; font-size: .85rem; font-weight: 700; outline: none; -moz-appearance: textfield; }
.qty-input-sm::-webkit-inner-spin-button { display: none; }
.cart-item-subtotal { min-width: 90px; text-align: right; font-size: .95rem; }
.cart-item-del { }
.btn-hapus-item { background: none; border: none; color: #DC2626; cursor: pointer; font-size: 1.1rem; padding: .25rem; border-radius: 6px; transition: background var(--transition); }
.btn-hapus-item:hover { background: #FEE2E2; }

.cart-summary-card {
  background: white;
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border);
  padding: 1.5rem;
  position: sticky; top: 90px;
}
.cart-summary-title { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1.2rem; margin-bottom: 1.25rem; }
.summary-row { display: flex; justify-content: space-between; padding: .4rem 0; font-size: .9rem; }
.total-row { font-size: 1.05rem; padding-top: .5rem; }
.total-price { font-size: 1.4rem; font-weight: 900; color: var(--primary); }
.btn-checkout {
  display: flex; align-items: center; justify-content: center;
  width: 100%; padding: .9rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white; border: none; border-radius: var(--radius);
  font-weight: 700; font-size: 1rem; text-decoration: none;
  cursor: pointer; transition: all var(--transition);
}
.btn-checkout:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(139,94,60,.3); color: white; }
.secure-badge { display: flex; align-items: center; justify-content: center; }
.payment-icons { display: flex; gap: .4rem; flex-wrap: wrap; justify-content: center; }
.payment-icon { font-size: .7rem; font-weight: 700; background: var(--bg-warm); color: var(--text-muted); padding: .2rem .5rem; border-radius: 4px; border: 1px solid var(--border); }

/* Checkout Steps */
.checkout-steps { display: flex; align-items: center; justify-content: center; gap: 0; }
.step { display: flex; flex-direction: column; align-items: center; gap: .3rem; }
.step span { width: 36px; height: 36px; border-radius: 50%; background: var(--border); color: var(--text-muted); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .9rem; }
.step small { font-size: .72rem; color: var(--text-muted); white-space: nowrap; }
.step.active span { background: var(--primary); color: white; }
.step.active small { color: var(--primary); font-weight: 700; }
.step.done span { background: #10B981; color: white; }
.step-line { flex: 1; height: 2px; background: var(--border); min-width: 40px; margin-bottom: 1.2rem; }
.step-line.active { background: var(--primary); }

.checkout-form-card { background: white; border-radius: var(--radius-lg); border: 1.5px solid var(--border); padding: 1.5rem; margin-bottom: 0; }
.checkout-card-title { font-weight: 700; font-size: 1.05rem; margin-bottom: 1.25rem; color: var(--dark); }
.checkout-input { border-radius: 10px !important; border-color: var(--border); }
.checkout-input:focus { border-color: var(--primary-light); box-shadow: 0 0 0 3px rgba(139,94,60,.1); }
.info-box-blue { background: #EBF5FF; border: 1px solid #BFDBFE; border-radius: 8px; padding: .75rem 1rem; font-size: .85rem; color: #1D4ED8; }
.checkout-item { display: flex; align-items: center; gap: 1rem; padding: .6rem 0; border-bottom: 1px solid var(--border); }
.checkout-item:last-of-type { border-bottom: none; }
.checkout-item img { width: 48px; height: 48px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.checkout-item-info { flex: 1; min-width: 0; }
.checkout-item-nama { font-weight: 600; font-size: .88rem; }
.checkout-item-qty { font-size: .78rem; color: var(--text-muted); }
.checkout-item-sub { font-size: .9rem; }

/* Konfirmasi / Rekening */
.order-success-header { }
.success-icon-wrap { width: 80px; height: 80px; background: linear-gradient(135deg, var(--primary), var(--primary-light)); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 2.5rem; color: white; box-shadow: 0 8px 24px rgba(139,94,60,.3); }
.order-kode { font-family: monospace; font-size: 1.2rem; font-weight: 700; background: var(--bg-warm); padding: .2rem .7rem; border-radius: 6px; color: var(--primary); }

.rekening-card { background: white; border-radius: var(--radius-lg); border: 2px solid var(--primary-light); overflow: hidden; }
.rekening-header { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: white; padding: 1rem 1.5rem; font-weight: 700; }
.rekening-body { padding: 1.5rem; }
.rek-item { background: var(--bg-cream); border-radius: var(--radius); padding: 1rem; margin-bottom: .75rem; }
.rek-bank-name { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--primary); margin-bottom: .25rem; }
.rek-no { display: flex; align-items: center; gap: .5rem; font-size: 1.5rem; font-weight: 900; font-family: monospace; color: var(--dark); }
.copy-btn { background: var(--bg-warm); border: 1px solid var(--border); border-radius: 6px; padding: .3rem .6rem; cursor: pointer; font-size: .85rem; color: var(--primary); transition: all var(--transition); }
.copy-btn:hover { background: var(--primary); color: white; }
.rek-atas-nama { font-size: .85rem; color: var(--text-muted); }
.total-transfer-box { text-align: center; padding: 1rem; background: var(--bg-warm); border-radius: var(--radius); margin-top: .5rem; }
.total-transfer-amount { font-size: 1.8rem; font-weight: 900; color: var(--primary); }

/* Upload bukti */
.upload-drop-zone { border: 2px dashed var(--border); border-radius: var(--radius); padding: 2rem; text-align: center; cursor: pointer; transition: all var(--transition); background: var(--bg-cream); }
.upload-drop-zone:hover, .upload-drop-zone.drag-over { border-color: var(--primary); background: rgba(139,94,60,.04); }

/* Tracking */
.tracking-search-card { background: white; border-radius: var(--radius-lg); border: 1.5px solid var(--border); padding: 2rem; }
.tracking-result-card { background: white; border-radius: var(--radius-lg); border: 1.5px solid var(--border); padding: 1.5rem; }
.tracking-progress-card { background: white; border-radius: var(--radius-lg); border: 1.5px solid var(--border); padding: 2rem; }
.tracking-steps { display: flex; align-items: flex-start; flex-wrap: nowrap; overflow-x: auto; gap: 0; }
.tracking-step { display: flex; flex-direction: column; align-items: center; gap: .5rem; min-width: 80px; }
.tracking-step-circle { width: 48px; height: 48px; border-radius: 50%; background: var(--border); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; color: var(--text-muted); border: 3px solid white; box-shadow: 0 0 0 2px var(--border); transition: all var(--transition); }
.tracking-step.done .tracking-step-circle { background: #10B981; color: white; box-shadow: 0 0 0 2px #10B981; }
.tracking-step.current .tracking-step-circle { background: var(--primary); color: white; box-shadow: 0 0 0 3px rgba(139,94,60,.3); animation: pulsePrimary 2s infinite; }
.tracking-step-label { font-size: .72rem; text-align: center; color: var(--text-muted); line-height: 1.3; }
.tracking-step.done .tracking-step-label, .tracking-step.current .tracking-step-label { color: var(--dark); font-weight: 600; }
.tracking-step-line { flex: 1; height: 3px; background: var(--border); margin-top: 22px; min-width: 20px; transition: background var(--transition); }
.tracking-step-line.done { background: #10B981; }
.next-action-card { display: flex; align-items: flex-start; gap: 1rem; background: white; border-radius: var(--radius-lg); border: 1.5px solid var(--border); padding: 1.25rem; }
.next-action-icon { font-size: 2rem; flex-shrink: 0; }

@keyframes pulsePrimary {
  0%, 100% { box-shadow: 0 0 0 3px rgba(139,94,60,.3); }
  50%       { box-shadow: 0 0 0 8px rgba(139,94,60,.1); }
}

/* ============================================================
   KATALOG PAGE — Semua komponen halaman katalog.php
   ============================================================ */

/* ── Hero bar ─────────────────────────────────────────────── */
.katalog-hero {
  background: linear-gradient(135deg, var(--charcoal) 0%, var(--primary-dark) 100%);
  padding: 2.5rem 0 2rem;
}
.katalog-hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  font-weight: 900;
  color: #fff;
  margin: 0 0 .35rem;
}
.katalog-hero-sub { color: rgba(255,255,255,.65); font-size: .95rem; }

/* Breadcrumb dalam hero (teks putih) */
.katalog-breadcrumb .breadcrumb-item a { color: rgba(255,255,255,.65); text-decoration: none; }
.katalog-breadcrumb .breadcrumb-item a:hover { color: #fff; }
.katalog-breadcrumb .breadcrumb-item.active { color: var(--accent); }
.katalog-breadcrumb .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.35); }

/* ── Sidebar filter card ──────────────────────────────────── */
.filter-card {
  background: #fff;
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  overflow: hidden;
}
.filter-heading {
  background: var(--bg-warm);
  padding: .7rem 1rem;
  font-weight: 700;
  font-size: .82rem;
  color: var(--dark);
  letter-spacing: .04em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--border);
}
.filter-list { list-style: none; padding: .35rem 0; margin: 0; }
.filter-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .48rem 1rem;
  color: var(--text-body) !important;
  text-decoration: none;
  font-size: .875rem;
  transition: background var(--transition), color var(--transition);
  border-left: 3px solid transparent;
}
.filter-link:hover { background: var(--bg-cream); }
.filter-link.active {
  color: var(--primary) !important;
  font-weight: 700;
  background: rgba(139,94,60,.07);
  border-left-color: var(--primary);
}
.filter-link-text { display: flex; align-items: center; gap: 0; }
.filter-count {
  font-size: .7rem;
  font-weight: 700;
  padding: .1rem .45rem;
  border-radius: 20px;
  background: var(--bg-warm);
  color: var(--text-muted);
  flex-shrink: 0;
}
.filter-link.active .filter-count { background: rgba(139,94,60,.15); color: var(--primary); }

/* ── Sidebar WA card ──────────────────────────────────────── */
.filter-wa-card {
  background: linear-gradient(135deg, #1B4332, #2D6A4F);
  border-radius: var(--radius);
  padding: 1.4rem 1.2rem;
  text-align: center;
  color: #fff;
}
.filter-wa-icon {
  width: 52px; height: 52px;
  background: rgba(255,255,255,.15);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  margin-bottom: .75rem;
}

/* ── Toolbar (sort + count) ───────────────────────────────── */
.katalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .75rem;
  background: #fff;
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  padding: .7rem 1rem;
}
.toolbar-count { font-size: .875rem; color: var(--text-muted); }
.toolbar-sort { border-color: var(--border) !important; border-radius: 8px !important; font-size: .875rem; }

/* ── Produk Card (dipakai di katalog & terkait) ───────────── */
.produk-col { animation: fadeInUp .4s ease both; }

.produk-card {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.produk-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}
.produk-card--habis { opacity: .7; }
.produk-card--habis:hover { transform: none; box-shadow: none; }

/* Gambar */
.produk-img-link { display: block; text-decoration: none; }
.produk-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--bg-warm);
}
.produk-img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .45s ease;
}
.produk-card:hover .produk-img { transform: scale(1.06); }

/* Label overlay (stok habis / hampir habis) */
.produk-label {
  position: absolute;
  top: 10px; left: 10px;
  font-size: .72rem;
  font-weight: 700;
  padding: .25rem .6rem;
  border-radius: 20px;
  pointer-events: none;
  z-index: 2;
}
.produk-label--habis   { background: rgba(30,26,22,.75); color: #fff; }
.produk-label--sedikit { background: rgba(245,158,11,.9); color: #fff; }

/* Label kategori pojok kanan atas */
.produk-kat-label {
  position: absolute;
  bottom: 10px; right: 10px;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  background: rgba(255,255,255,.92);
  color: var(--primary);
  padding: .2rem .55rem;
  border-radius: 6px;
  pointer-events: none;
  z-index: 2;
  backdrop-filter: blur(4px);
}

/* Hover overlay "Lihat Detail" */
.produk-hover-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(30,26,22,.6) 0%, transparent 55%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 14px;
  opacity: 0;
  transition: opacity var(--transition);
  z-index: 3;
}
.produk-card:hover .produk-hover-overlay { opacity: 1; }
.produk-hover-btn {
  background: #fff;
  color: var(--primary);
  font-size: .8rem;
  font-weight: 700;
  padding: .38rem 1rem;
  border-radius: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,.2);
  display: flex;
  align-items: center;
}

/* Body */
.produk-body {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: .35rem;
  flex: 1;
}
.produk-nama-link { text-decoration: none; }
.produk-nama {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin: 0;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.produk-nama-link:hover .produk-nama { color: var(--primary); }
.produk-cuplik {
  font-size: .78rem;
  color: var(--text-muted);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.5;
}
.produk-stok-info {
  font-size: .75rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
}

/* Footer card: harga + tombol */
.produk-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: .5rem;
  border-top: 1px solid var(--border);
}
.produk-harga-wrap { display: flex; align-items: baseline; gap: .25rem; }
.produk-harga {
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
}
.produk-satuan { font-size: .72rem; color: var(--text-muted); }

.produk-btn-detail {
  width: 34px; height: 34px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
  font-size: .9rem;
  flex-shrink: 0;
  transition: background var(--transition), transform var(--transition);
}
.produk-btn-detail:hover { background: var(--primary-dark); transform: scale(1.1); color: #fff; }
.produk-btn-detail--disabled {
  background: var(--border);
  color: var(--text-muted);
  cursor: not-allowed;
}
.produk-btn-detail--disabled:hover { background: var(--border); transform: none; color: var(--text-muted); }

/* ── Pagination ───────────────────────────────────────────── */
.pagination-brand .page-link {
  border-radius: 10px !important;
  margin: 0 3px;
  border-color: var(--border);
  color: var(--primary);
  font-weight: 600;
  font-size: .88rem;
  padding: .45rem .8rem;
  transition: all var(--transition);
}
.pagination-brand .page-link:hover { background: var(--bg-warm); border-color: var(--primary-light); }
.pagination-brand .page-item.active .page-link {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.pagination-brand .page-item.disabled .page-link { opacity: .45; }
.page-link-nav { padding: .45rem .65rem !important; }

/* ── Empty state ──────────────────────────────────────────── */
.empty-state { text-align: center; padding: 4rem 2rem; }
.empty-state-icon {
  width: 80px; height: 80px;
  background: var(--bg-warm);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 2.2rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}
.empty-state h4 { font-family: 'Playfair Display', serif; color: var(--dark); }

/* ── Breadcrumb bar (halaman produk) ──────────────────────── */
.breadcrumb-bar {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: .6rem 0;
}
.breadcrumb-bar .breadcrumb { margin: 0; font-size: .82rem; }
.breadcrumb-bar .breadcrumb-item a { color: var(--text-muted); text-decoration: none; }
.breadcrumb-bar .breadcrumb-item a:hover { color: var(--primary); }
.breadcrumb-bar .breadcrumb-item.active { color: var(--text-body); font-weight: 600; }

/* ============================================================
   PRODUK DETAIL — pd-* components
   ============================================================ */

/* ── Slider (pd-slider-wrap) ──────────────────────────────── */
.pd-slider-wrap { position: relative; }

.pd-slider-main {
  position: relative;
  background: var(--bg-warm);
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  cursor: zoom-in;
  user-select: none;
}

/* Slide */
.pd-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pd-slide--active {
  opacity: 1;
  pointer-events: auto;
  position: relative;     /* buat height container ikut */
}
.pd-slide-img {
  width: 100%; height: 100%;
  object-fit: contain;
  display: block;
}

/* Panah navigasi */
.pd-arrow {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 42px; height: 42px;
  background: rgba(255,255,255,.9);
  border: none;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  color: var(--dark);
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(0,0,0,.15);
  z-index: 5;
  transition: background var(--transition), color var(--transition);
}
.pd-arrow:hover { background: var(--primary); color: #fff; }
.pd-arrow--prev { left: 10px; }
.pd-arrow--next { right: 10px; }

/* Dots */
.pd-dots {
  position: absolute;
  bottom: 10px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 6px;
  z-index: 5;
}
.pd-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.5);
  border: none; cursor: pointer;
  transition: all .25s;
}
.pd-dot--active {
  background: #fff;
  width: 22px;
  border-radius: 4px;
}

/* Counter (1/4) */
.pd-counter {
  position: absolute;
  bottom: 10px; right: 12px;
  background: rgba(0,0,0,.45);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  padding: .2rem .55rem;
  border-radius: 20px;
  z-index: 5;
  pointer-events: none;
  backdrop-filter: blur(4px);
}

/* Tombol zoom */
.pd-zoom-btn {
  position: absolute;
  top: 10px; right: 10px;
  width: 36px; height: 36px;
  background: rgba(255,255,255,.88);
  border: none;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: .95rem;
  cursor: pointer;
  z-index: 5;
  transition: background var(--transition), color var(--transition);
}
.pd-zoom-btn:hover { background: var(--primary); color: #fff; }

/* Thumbnail strip */
.pd-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}
.pd-thumbs::-webkit-scrollbar { height: 4px; }
.pd-thumbs::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }

.pd-thumb {
  width: 70px; height: 70px;
  flex-shrink: 0;
  border: 2px solid transparent;
  border-radius: 10px;
  overflow: hidden;
  background: none;
  padding: 0;
  cursor: pointer;
  transition: border-color var(--transition), transform var(--transition);
}
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pd-thumb:hover { border-color: var(--primary-light); transform: translateY(-2px); }
.pd-thumb--active { border-color: var(--primary); }

/* ── Info kolom kanan ─────────────────────────────────────── */
.pd-info { padding: 0; }

.pd-kat-badge {
  display: inline-flex;
  align-items: center;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--primary);
  border: 1.5px solid var(--primary);
  padding: .22rem .7rem;
  border-radius: 20px;
  text-decoration: none;
  transition: all var(--transition);
  margin-bottom: .85rem;
  display: inline-flex;
}
.pd-kat-badge:hover { background: var(--primary); color: #fff; }

.pd-nama {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 3.5vw, 2.1rem);
  font-weight: 900;
  color: var(--dark);
  line-height: 1.2;
  margin: 0 0 1rem;
}

/* Kotak harga */
.pd-harga-box {
  display: flex;
  align-items: baseline;
  gap: .6rem;
  background: var(--bg-warm);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
}
.pd-harga-angka {
  font-size: 2.1rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  font-family: 'Nunito', sans-serif;
}
.pd-harga-satuan { font-size: .85rem; color: var(--text-muted); }

/* Badge stok */
.pd-stok-badge {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-size: .875rem;
  font-weight: 600;
  padding: .45rem 1rem;
  border-radius: 20px;
  margin-bottom: 1.25rem;
}
.pd-stok--ada     { background: #D1FAE5; color: #065F46; }
.pd-stok--sedikit { background: #FEF3C7; color: #92400E; }
.pd-stok--habis   { background: #FEE2E2; color: #991B1B; }

/* ── Kalkulator Harga ─────────────────────────────────────── */
.pd-kalkulator { margin-bottom: 0; }

.kalk-card {
  background: #fff;
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.35rem;
  margin-bottom: 1rem;
  transition: border-color var(--transition);
}
.kalk-card:focus-within { border-color: var(--primary-light); }

.kalk-title {
  font-size: .92rem;
  font-weight: 700;
  color: var(--dark);
  padding-bottom: .85rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}

.kalk-input-row { margin-bottom: .75rem; }

.kalk-label {
  display: block;
  font-size: .82rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: .55rem;
}
.kalk-satuan-hint { font-weight: 400; color: var(--text-muted); margin-left: .3rem; }

/* Group input qty */
.kalk-qty-group {
  display: flex;
  align-items: stretch;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  transition: border-color var(--transition);
}
.kalk-qty-group:focus-within { border-color: var(--primary); }

.kalk-qty-btn {
  width: 46px;
  background: var(--bg-warm);
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background var(--transition), color var(--transition);
}
.kalk-qty-btn:hover { background: var(--primary); color: #fff; }
.kalk-qty-btn:active { background: var(--primary-dark); color: #fff; }

.kalk-qty-input {
  flex: 1;
  border: none;
  text-align: center;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--dark);
  font-family: 'Nunito', sans-serif;
  padding: .45rem .3rem;
  outline: none;
  min-width: 0;
  -moz-appearance: textfield;
  background: #fff;
}
.kalk-qty-input::-webkit-inner-spin-button,
.kalk-qty-input::-webkit-outer-spin-button { display: none; }

.kalk-satuan-label {
  display: flex;
  align-items: center;
  padding: 0 .8rem;
  background: var(--bg-cream);
  border-left: 1px solid var(--border);
  font-size: .8rem;
  font-weight: 700;
  color: var(--text-muted);
  white-space: nowrap;
  flex-shrink: 0;
}

.kalk-stok-hint {
  font-size: .75rem;
  color: var(--text-muted);
  margin-top: .4rem;
}

/* Rincian kalkulasi */
.kalk-rincian {
  background: var(--bg-cream);
  border-radius: 10px;
  padding: .9rem 1rem;
  margin-top: .85rem;
}
.kalk-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .875rem;
  color: var(--text-muted);
  padding: .28rem 0;
  border-bottom: 1px dashed var(--border);
}
.kalk-row:last-child { border-bottom: none; }
.kalk-row--total {
  color: var(--dark);
  font-size: 1rem;
  padding-top: .6rem;
  margin-top: .2rem;
}
.kalk-total {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  font-family: 'Nunito', sans-serif;
}

/* Catatan custom order */
.kalk-note {
  margin-top: .85rem;
  padding: .65rem .9rem;
  background: rgba(212,168,83,.1);
  border-left: 3px solid var(--accent);
  border-radius: 0 8px 8px 0;
  font-size: .8rem;
  color: var(--text-body);
  line-height: 1.5;
}
.kalk-note a { color: var(--primary); font-weight: 700; text-decoration: none; }
.kalk-note a:hover { text-decoration: underline; }

/* ── Tombol aksi ──────────────────────────────────────────── */
.pd-action-row {
  display: flex;
  gap: .75rem;
  align-items: stretch;
}

.btn-tambah-keranjang {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: .9rem 1.5rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-tambah-keranjang:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(139,94,60,.35);
}
.btn-tambah-keranjang:active { transform: translateY(0); }

.btn-wa-pesan {
  width: 50px;
  flex-shrink: 0;
  background: #25D366;
  color: #fff;
  border: none;
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}
.btn-wa-pesan:hover { background: #1DA851; transform: translateY(-2px); color: #fff; }

/* Produk habis notice */
.pd-habis-notice {
  background: var(--bg-warm);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
  margin-bottom: 1.25rem;
}

/* ── Mini info badges ─────────────────────────────────────── */
.pd-mini-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .6rem;
  margin-top: 1.25rem;
}
.pd-mini-item {
  display: flex;
  align-items: center;
  gap: .6rem;
  background: var(--bg-cream);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: .55rem .8rem;
  font-size: .78rem;
  color: var(--text-muted);
  font-weight: 500;
}
.pd-mini-item i { font-size: 1.05rem; flex-shrink: 0; }

/* ── Tabs (deskripsi / spesifikasi / pengiriman) ─────────── */
.pd-tabs-wrap {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border);
  overflow: hidden;
}
.pd-tab-nav {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0 1rem;
  margin: 0;
  background: var(--bg-cream);
  border-bottom: 2px solid var(--border);
  gap: 0;
}
.pd-tab-btn {
  display: flex;
  align-items: center;
  padding: .85rem 1.1rem;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  font-size: .875rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: color var(--transition), border-color var(--transition);
  white-space: nowrap;
}
.pd-tab-btn:hover { color: var(--primary); }
.pd-tab-btn.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
  background: none;
}

.pd-tab-content { padding: 1.75rem 2rem; }
@media (max-width: 575px) { .pd-tab-content { padding: 1.25rem; } }

.pd-deskripsi-text {
  line-height: 1.9;
  color: var(--text-body);
  font-size: .95rem;
  white-space: pre-line;
}

/* Spesifikasi tabel */
.pd-spec-table { font-size: .9rem; }
.pd-spec-key { background: var(--bg-cream) !important; color: var(--dark); font-weight: 600; }

/* Pengiriman card */
.pd-pengiriman-card {
  display: flex;
  gap: 1rem;
  background: var(--bg-cream);
  border-radius: var(--radius);
  padding: 1rem;
  align-items: flex-start;
  height: 100%;
}
.pd-pengiriman-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
  margin-top: .1rem;
}

/* ── Produk Terkait ───────────────────────────────────────── */
.pd-terkait { margin-top: 1rem; }
.pd-terkait-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--dark);
}

/* ── Lightbox ─────────────────────────────────────────────── */
.pd-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity .3s ease;
}
.pd-lightbox--open {
  opacity: 1;
  pointer-events: all;
}
.pd-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.92);
  cursor: zoom-out;
}
.pd-lightbox-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 94vw;
  max-height: 94vh;
}
.pd-lightbox-img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
  display: block;
  box-shadow: 0 30px 80px rgba(0,0,0,.6);
}
.pd-lightbox-close {
  position: fixed;
  top: 18px; right: 18px;
  width: 44px; height: 44px;
  background: rgba(255,255,255,.12);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition);
  backdrop-filter: blur(4px);
}
.pd-lightbox-close:hover { background: rgba(255,255,255,.25); }

.pd-lightbox-nav {
  position: fixed;
  top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px;
  background: rgba(255,255,255,.12);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition);
  backdrop-filter: blur(4px);
}
.pd-lightbox-nav:hover { background: rgba(255,255,255,.28); }
.pd-lightbox-prev { left: 16px; }
.pd-lightbox-next { right: 16px; }

.pd-lightbox-counter {
  position: fixed;
  bottom: 20px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,.7);
  font-size: .82rem;
  font-weight: 600;
  background: rgba(0,0,0,.4);
  padding: .3rem .8rem;
  border-radius: 20px;
  backdrop-filter: blur(4px);
}

/* ── Responsive adjustments ──────────────────────────────── */
@media (max-width: 991px) {
  .pd-thumbs .pd-thumb { width: 60px; height: 60px; }
  .pd-harga-angka { font-size: 1.7rem; }
  .pd-nama { font-size: 1.6rem; }
}

@media (max-width: 767px) {
  .pd-mini-info { grid-template-columns: 1fr 1fr; }
  .kalk-total { font-size: 1.25rem; }
  .pd-slider-main { aspect-ratio: 4/3; }
  .katalog-hero { padding: 1.75rem 0 1.5rem; }
}

@media (max-width: 575px) {
  .pd-action-row .btn-tambah-keranjang { font-size: .88rem; padding: .8rem 1rem; }
  .kalk-qty-btn { width: 38px; }
  .kalk-qty-input { font-size: 1rem; }
  .pd-tab-btn { font-size: .8rem; padding: .7rem .75rem; }
}

/* ── btn-primary-brand (dipakai di kedua halaman) ─────────── */
.btn-primary-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .6rem 1.4rem;
  background: var(--primary);
  color: #fff !important;
  border: none;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: .9rem;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.btn-primary-brand:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(139,94,60,.3);
}

/* ============================================================
   SECTION C — Keranjang, Checkout, Konfirmasi, Tracking
   ============================================================ */

/* ── Komponen bersama (dipakai di semua halaman C) ─────────── */

/* Progress Steps */
.ck-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 0;
  padding: 0 1rem;
}
.ck-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .35rem;
  flex-shrink: 0;
}
.ck-step-bubble {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--border);
  color: var(--text-muted);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: .95rem;
  transition: all var(--transition);
}
.ck-step-lbl {
  font-size: .72rem;
  color: var(--text-muted);
  white-space: nowrap;
  font-weight: 600;
}
.ck-step--active .ck-step-bubble { background: var(--primary); color: #fff; }
.ck-step--active .ck-step-lbl   { color: var(--primary); }
.ck-step--done .ck-step-bubble  { background: #10B981; color: #fff; }
.ck-step--done .ck-step-lbl    { color: #065F46; }

.ck-step-line {
  flex: 1;
  height: 3px;
  background: var(--border);
  min-width: 30px;
  margin-bottom: 1.5rem;
  transition: background var(--transition);
}
.ck-step-line--done { background: #10B981; }

/* Form shared */
.ck-label {
  display: block;
  font-size: .85rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: .45rem;
}
.ck-opt { font-weight: 400; color: var(--text-muted); font-size: .8rem; }

.ck-input {
  border-radius: 10px !important;
  border-color: var(--border) !important;
  font-size: .925rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.ck-input:focus {
  border-color: var(--primary-light) !important;
  box-shadow: 0 0 0 3px rgba(139,94,60,.12) !important;
}
.ck-textarea { resize: vertical; min-height: 100px; }

.ck-input-addon {
  background: var(--bg-warm) !important;
  border-color: var(--border) !important;
  border-radius: 10px 0 0 10px !important;
  color: var(--primary);
}
.ck-hint {
  font-size: .78rem;
  color: var(--text-muted);
  margin-top: .4rem;
}

/* Tombol primer global */
.btn-ck-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .75rem 1.75rem;
  background: var(--primary);
  color: #fff !important;
  border-radius: var(--radius);
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.btn-ck-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(139,94,60,.3);
}

/* Tombol checkout besar */
.btn-ck-checkout {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 1rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff !important;
  border: none;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition);
}
.btn-ck-checkout:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(139,94,60,.35);
}
.btn-ck-checkout--disabled {
  background: var(--border) !important;
  color: var(--text-muted) !important;
  cursor: not-allowed;
  pointer-events: none;
}

/* Ringkasan bersama */
.ck-summary {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border);
  padding: 1.5rem;
}
.ck-summary-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1.1rem;
}
.ck-sum-divider {
  height: 1px;
  background: var(--border);
  margin: .75rem 0;
}
.ck-sum-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .3rem 0;
  font-size: .9rem;
}
.ck-sum-muted { color: var(--text-muted); }
.ck-sum-total { font-size: 1rem; padding-top: .5rem; }
.ck-grand-total {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
}
.ck-ongkir-note {
  background: rgba(212,168,83,.1);
  border-left: 3px solid var(--accent);
  border-radius: 0 8px 8px 0;
  padding: .6rem .9rem;
  font-size: .78rem;
  color: var(--text-muted);
  margin: 1rem 0;
}
.ck-secure {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  margin-top: 1rem;
}
.ck-back-link {
  display: block;
  text-align: center;
  color: var(--text-muted);
  font-size: .875rem;
  text-decoration: none;
  margin-top: .75rem;
  transition: color var(--transition);
}
.ck-back-link:hover { color: var(--primary); }

/* ═══════════════════════════════════════════════════════
   KERANJANG — ck-*
   ═══════════════════════════════════════════════════════ */

.ck-page-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.ck-page-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.4rem,4vw,2rem);
  font-weight: 900;
  color: var(--dark);
  margin: 0;
}
.ck-page-sub { color: var(--text-muted); font-size: .9rem; }

/* State kosong */
.ck-empty {
  text-align: center;
  padding: 5rem 2rem;
}
.ck-empty-icon {
  width: 90px; height: 90px;
  background: var(--bg-warm);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 2.5rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

/* Toolbar */
.ck-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-cream);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: .6rem 1rem;
}
.ck-toolbar-count { font-size: .875rem; color: var(--text-muted); font-weight: 500; }
.ck-btn-kosongkan {
  background: none;
  border: 1px solid #DC2626;
  color: #DC2626;
  border-radius: 8px;
  padding: .3rem .75rem;
  font-size: .8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
}
.ck-btn-kosongkan:hover { background: #DC2626; color: #fff; }

/* Item list */
.ck-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.ck-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}
.ck-item:last-child { border-bottom: none; }
.ck-item:hover { background: var(--bg-cream); }
.ck-item--warn { background: #FFFBEB !important; }

/* Foto */
.ck-item-foto {
  width: 80px; height: 80px;
  flex-shrink: 0;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  display: block;
  border: 1px solid var(--border);
}
.ck-item-foto img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition);
}
.ck-item-foto:hover img { transform: scale(1.07); }
.ck-foto-overlay {
  position: absolute; inset: 0;
  background: rgba(30,26,22,.65);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: .7rem; font-weight: 700;
}

/* Info */
.ck-item-info { flex: 1; min-width: 0; }
.ck-item-nama {
  display: block;
  font-weight: 700;
  font-size: .95rem;
  color: var(--dark);
  text-decoration: none;
  margin-bottom: .2rem;
  line-height: 1.3;
  transition: color var(--transition);
}
.ck-item-nama:hover { color: var(--primary); }
.ck-item-harga { font-size: .82rem; color: var(--text-muted); margin-bottom: .25rem; }
.ck-stok-err {
  font-size: .78rem;
  color: #B91C1C;
  font-weight: 600;
}
.ck-stok-ok {
  font-size: .78rem;
  color: #065F46;
  font-weight: 600;
}

/* Qty group */
.ck-qty-wrap { display: flex; flex-direction: column; align-items: center; gap: .25rem; flex-shrink: 0; }
.ck-qty-group {
  display: flex;
  align-items: stretch;
  border: 2px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color var(--transition);
}
.ck-qty-group:focus-within { border-color: var(--primary-light); }
.ck-qty-btn {
  width: 34px;
  background: var(--bg-warm);
  border: none;
  cursor: pointer;
  font-size: 1rem;
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background var(--transition), color var(--transition);
}
.ck-qty-btn:hover { background: var(--primary); color: #fff; }
.ck-qty-input {
  width: 56px;
  border: none;
  text-align: center;
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  background: #fff;
  outline: none;
  -moz-appearance: textfield;
  padding: .35rem 0;
}
.ck-qty-input::-webkit-inner-spin-button { display: none; }
.ck-qty-satuan { font-size: .72rem; color: var(--text-muted); text-align: center; }

/* Subtotal */
.ck-item-sub { text-align: right; flex-shrink: 0; min-width: 90px; }
.ck-sub-label { font-size: .72rem; color: var(--text-muted); margin-bottom: .15rem; }
.ck-sub-val { font-weight: 800; font-size: .95rem; color: var(--primary); }

/* Hapus */
.ck-del-btn {
  background: none;
  border: none;
  color: #DC2626;
  cursor: pointer;
  font-size: 1.1rem;
  padding: .4rem;
  border-radius: 8px;
  transition: background var(--transition), color var(--transition);
  flex-shrink: 0;
}
.ck-del-btn:hover { background: #FEE2E2; }

/* Footer list */
.ck-list-footer {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
}

/* Ringkasan sidebar item mini */
.ck-sum-items {
  max-height: 200px;
  overflow-y: auto;
  margin-bottom: .5rem;
}
.ck-sum-items::-webkit-scrollbar { width: 4px; }
.ck-sum-items::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
.ck-sum-row { font-size: .82rem; }
.ck-sum-nama { color: var(--text-body); }
.ck-sum-val  { font-weight: 600; white-space: nowrap; }

/* Payment info di summary */
.ck-payment-info { border-top: 1px solid var(--border); padding-top: 1rem; margin-top: 1rem; }
.ck-pi-label { font-size: .75rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: .5rem; }
.ck-pi-badges { display: flex; flex-wrap: wrap; gap: .35rem; }
.ck-pi-badge {
  font-size: .7rem;
  font-weight: 700;
  background: var(--bg-warm);
  color: var(--primary);
  padding: .2rem .55rem;
  border-radius: 6px;
  border: 1px solid var(--border);
}

/* ═══════════════════════════════════════════════════════
   CHECKOUT — ck-form-*
   ═══════════════════════════════════════════════════════ */

.ck-form-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}
.ck-form-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1.5rem;
  padding-bottom: .9rem;
  border-bottom: 1px solid var(--border);
}

/* Order items dalam checkout summary */
.ck-order-items { margin-bottom: .5rem; }
.ck-oi-row {
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: .6rem 0;
  border-bottom: 1px solid var(--border);
}
.ck-oi-row:last-child { border-bottom: none; }
.ck-oi-img {
  position: relative;
  width: 52px; height: 52px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.ck-oi-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ck-oi-qty-badge {
  position: absolute;
  top: -5px; right: -5px;
  background: var(--primary);
  color: #fff;
  font-size: .6rem;
  font-weight: 700;
  width: 18px; height: 18px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.ck-oi-info { flex: 1; min-width: 0; }
.ck-oi-nama { font-size: .85rem; font-weight: 600; color: var(--dark); line-height: 1.3; }
.ck-oi-detail { font-size: .75rem; color: var(--text-muted); }
.ck-oi-sub { font-size: .88rem; font-weight: 700; color: var(--primary); white-space: nowrap; }

/* Info ongkir */
.ck-ongkir-box {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  border-radius: var(--radius);
  padding: 1rem;
}
.ck-ongkir-icon { font-size: 1.6rem; flex-shrink: 0; }

/* ═══════════════════════════════════════════════════════
   KONFIRMASI — kf-*
   ═══════════════════════════════════════════════════════ */

/* Header sukses */
.kf-success-header {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  color: #fff;
  margin-bottom: 1.5rem;
}
.kf-success-icon {
  width: 60px; height: 60px;
  background: rgba(255,255,255,.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  flex-shrink: 0;
}
.kf-success-text h2 { color: #fff; font-size: 1.5rem; }
.kf-kode {
  display: inline-block;
  background: rgba(255,255,255,.2);
  padding: .15rem .7rem;
  border-radius: 6px;
  font-family: monospace;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: .05em;
}
.kf-copy-kode {
  background: none;
  border: none;
  color: rgba(255,255,255,.75);
  cursor: pointer;
  margin-left: .4rem;
  font-size: 1rem;
  padding: 0;
  transition: color var(--transition);
}
.kf-copy-kode:hover { color: #fff; }

/* Card detail */
.kf-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.kf-card-head {
  background: var(--bg-warm);
  padding: .9rem 1.5rem;
  font-weight: 700;
  font-size: .9rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
}
.kf-card-head--success { background: #D1FAE5; }
.kf-card-body { padding: 1.5rem; }

/* Info grid */
.kf-info-grid { display: flex; flex-direction: column; gap: 0; }
.kf-info-row {
  display: flex;
  gap: 1rem;
  padding: .55rem 0;
  border-bottom: 1px solid var(--border);
  font-size: .9rem;
}
.kf-info-row:last-child { border-bottom: none; }
.kf-info-key { font-weight: 700; color: var(--text-muted); min-width: 80px; flex-shrink: 0; }

/* Dropzone upload */
.kf-dropzone {
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
  background: var(--bg-cream);
  margin-bottom: .5rem;
}
.kf-dropzone:hover,
.kf-dz--over {
  border-color: var(--primary) !important;
  background: rgba(139,94,60,.04) !important;
}
.kf-dz-icon {
  font-size: 2.5rem;
  color: var(--primary-light);
  display: block;
  margin-bottom: .5rem;
}

/* Bukti yang sudah diupload */
.kf-bukti-img {
  max-width: 100%;
  max-height: 220px;
  border-radius: 10px;
  object-fit: contain;
  cursor: zoom-in;
  box-shadow: var(--shadow-sm);
  display: block;
  margin: 0 auto;
}
.kf-bukti-info {
  font-size: .88rem;
  color: var(--text-body);
  display: flex;
  flex-direction: column;
  gap: .2rem;
  margin-top: .5rem;
}

/* Card rekening */
.kf-rek-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.kf-rek-head {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  padding: 1rem 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
}
.kf-rek-body { padding: 1.5rem; }

/* Kotak total transfer */
.kf-total-box {
  text-align: center;
  background: var(--bg-cream);
  border: 2px solid var(--primary-light);
  border-radius: var(--radius);
  padding: 1.1rem;
}
.kf-total-label { font-size: .78rem; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; margin-bottom: .25rem; }
.kf-total-amount { font-size: 2rem; font-weight: 900; color: var(--primary); line-height: 1; font-family: 'Nunito', sans-serif; }
.kf-total-note { font-size: .75rem; color: var(--text-muted); margin-top: .4rem; }

/* Item rekening bank */
.kf-rek-item {
  background: var(--bg-cream);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  margin-bottom: .75rem;
  border: 1px solid var(--border);
}
.kf-rek-item:last-child { margin-bottom: 0; }
.kf-rek-bank {
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--primary);
  margin-bottom: .35rem;
}
.kf-rek-no-row {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin-bottom: .25rem;
}
.kf-rek-no {
  font-size: 1.5rem;
  font-weight: 900;
  font-family: monospace;
  letter-spacing: .05em;
  color: var(--dark);
}
.kf-btn-copy {
  background: var(--bg-warm);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: .3rem .65rem;
  font-size: .9rem;
  color: var(--primary);
  cursor: pointer;
  transition: all var(--transition);
  flex-shrink: 0;
}
.kf-btn-copy:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.kf-rek-an { font-size: .83rem; color: var(--text-muted); }

/* Langkah selanjutnya */
.kf-next-steps {
  background: var(--bg-cream);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
}
.kf-next-title {
  font-weight: 700;
  color: var(--dark);
  margin-bottom: .75rem;
}
.kf-next-list {
  margin: 0;
  padding-left: 1.25rem;
  font-size: .875rem;
  color: var(--text-muted);
}
.kf-next-list li { margin-bottom: .4rem; }

/* ═══════════════════════════════════════════════════════
   TRACKING — trk-*
   ═══════════════════════════════════════════════════════ */

.trk-hero-icon {
  width: 70px; height: 70px;
  background: var(--bg-warm);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.9rem;
  color: var(--primary);
}

.trk-search-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.trk-or {
  text-align: center;
  color: var(--text-muted);
  font-size: .82rem;
  margin-bottom: 1rem;
}

/* Not found */
.trk-not-found {
  text-align: center;
  padding: 3rem 2rem;
}
.trk-nf-icon {
  width: 70px; height: 70px;
  background: var(--bg-warm);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

/* Header card hasil */
.trk-header-card {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1rem;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

/* Progress steps (tracking-spesifik, lebih besar) */
.trk-progress-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
}
.trk-steps {
  display: flex;
  align-items: flex-start;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 0;
  padding-bottom: .5rem;
  scrollbar-width: none;
}
.trk-steps::-webkit-scrollbar { display: none; }

.trk-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .45rem;
  min-width: 80px;
  text-align: center;
}
.trk-bubble {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem;
  background: var(--border);
  color: var(--text-muted);
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--border);
  transition: all var(--transition);
}
.trk-step--done   .trk-bubble { background: #10B981; color: #fff; box-shadow: 0 0 0 2px #10B981; }
.trk-step--current .trk-bubble {
  background: var(--primary); color: #fff;
  box-shadow: 0 0 0 3px rgba(139,94,60,.3);
  animation: trkPulse 2s infinite;
}
.trk-lbl {
  font-size: .7rem;
  font-weight: 600;
  color: var(--text-muted);
  line-height: 1.3;
}
.trk-step--done .trk-lbl,
.trk-step--current .trk-lbl { color: var(--dark); }
.trk-current-tag {
  font-size: .65rem;
  font-weight: 800;
  background: rgba(139,94,60,.12);
  color: var(--primary);
  padding: .12rem .5rem;
  border-radius: 20px;
}
.trk-line {
  flex: 1;
  height: 3px;
  background: var(--border);
  margin-top: 24px;
  min-width: 16px;
  transition: background var(--transition);
}
.trk-line--done { background: #10B981; }

@keyframes trkPulse {
  0%,100% { box-shadow: 0 0 0 3px rgba(139,94,60,.3); }
  50%      { box-shadow: 0 0 0 9px rgba(139,94,60,.08); }
}

/* Panduan aksi */
.trk-action-card {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
}
.trk-action-icon {
  width: 50px; height: 50px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.trk-action-icon--warning  { background: #FEF9C3; color: #B45309; }
.trk-action-icon--info     { background: #E0F2FE; color: #0369A1; }
.trk-action-icon--primary  { background: rgba(139,94,60,.1); color: var(--primary); }
.trk-action-icon--secondary{ background: #F1F5F9; color: #475569; }
.trk-action-icon--success  { background: #D1FAE5; color: #065F46; }

/* Bukti card */
.trk-bukti-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.trk-bukti-head {
  background: var(--bg-warm);
  padding: .8rem 1.25rem;
  font-weight: 700;
  font-size: .88rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
}
.trk-bukti-body {
  padding: 1.25rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  flex-wrap: wrap;
}
.trk-bukti-img {
  max-width: 120px; max-height: 120px;
  border-radius: 8px;
  object-fit: cover;
  cursor: zoom-in;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}
.trk-bukti-info { font-size: .85rem; color: var(--text-body); line-height: 1.8; }

/* Items card */
.trk-items-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.trk-items-head {
  background: var(--bg-warm);
  padding: .8rem 1.25rem;
  font-weight: 700;
  font-size: .88rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
}
.trk-items-body { padding: 0 1.25rem; }
.trk-item-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .75rem 0;
  border-bottom: 1px solid var(--border);
  gap: 1rem;
}
.trk-item-row:last-of-type { border-bottom: none; }
.trk-item-info { flex: 1; min-width: 0; }
.trk-item-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .75rem 0;
  border-top: 2px solid var(--border);
  font-weight: 700;
  margin-top: .25rem;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 767px) {
  .ck-item { flex-wrap: wrap; }
  .ck-item-foto { width: 60px; height: 60px; }
  .ck-item-sub { min-width: auto; }
  .kf-success-header { flex-direction: column; }
  .trk-header-card { flex-direction: column; }
  .ck-steps { gap: 0; }
  .ck-step-bubble { width: 34px; height: 34px; font-size: .82rem; }
  .ck-step-lbl { font-size: .65rem; }
  .ck-step-line { min-width: 16px; }
}
@media (max-width: 575px) {
  .ck-form-card { padding: 1.25rem; }
  .kf-rek-no { font-size: 1.2rem; }
  .trk-bubble { width: 42px; height: 42px; font-size: 1rem; }
  .trk-step { min-width: 65px; }
}

/* ── Ongkir Widget (checkout & produk) ────────────────────── */
.ck-ongkir-section {
  background: rgba(139,94,60,.04);
  border: 1.5px solid rgba(139,94,60,.15);
  border-radius: 14px;
  padding: 1.25rem;
}
.ck-form-subtitle {
  font-size: .95rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .4rem;
}
.ck-ongkir-card {
  display: block;
  border: 1.5px solid #E2E8F0;
  border-radius: 10px;
  padding: .75rem 1rem;
  cursor: pointer;
  transition: border-color .18s, background .18s;
  background: white;
}
.ck-ongkir-card:hover { border-color: var(--primary); background: var(--bg-warm); }
.ck-ongkir-card.selected {
  border-color: var(--primary);
  background: rgba(139,94,60,.07);
  box-shadow: 0 0 0 3px rgba(139,94,60,.12);
}
.ck-ongkir-card-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.ck-ongkir-badge {
  background: var(--primary);
  color: white;
  font-size: .68rem;
  font-weight: 800;
  padding: .15rem .5rem;
  border-radius: 4px;
  letter-spacing: .04em;
}

/* Widget ongkir di halaman produk */
.pd-ongkir-widget {
  background: var(--bg-warm);
  border: 1.5px solid rgba(139,94,60,.18);
  border-radius: 14px;
  padding: 1.25rem;
  margin-top: 1.5rem;
}
.pd-ongkir-title {
  font-size: .9rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: .75rem;
  display: flex;
  align-items: center;
  gap: .4rem;
}

/* ── Tombol Beli Sekarang (produk detail) ──────────────────── */
.btn-beli-sekarang {
  display: flex; align-items: center; justify-content: center;
  gap: .5rem;
  padding: .85rem 1.5rem;
  background: linear-gradient(135deg, #D4A853, #B8860B);
  color: #fff;
  border: none; border-radius: 12px;
  font-size: 1rem; font-weight: 800;
  font-family: 'Nunito', sans-serif;
  cursor: pointer;
  transition: all .2s;
  text-decoration: none;
}
.btn-beli-sekarang:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212,168,83,.4);
  color: #fff;
}

/* ── Dropdown Wilayah ──────────────────────────────────────── */
.form-select.ck-input {
  border: 1.5px solid #E8D9CC;
  border-radius: 10px;
  padding: .65rem 2rem .65rem 1rem;
  font-family: 'Nunito', sans-serif;
  font-size: .95rem;
  background-color: #fff;
  transition: border-color .2s, box-shadow .2s;
  appearance: auto;
}
.form-select.ck-input:focus {
  border-color: #8B5E3C;
  box-shadow: 0 0 0 3px rgba(139,94,60,.1);
  outline: none;
}
.form-select.ck-input:disabled {
  background-color: #F5F5F5;
  color: #AAA;
  cursor: not-allowed;
}
/* Progress indikator dropdown wilayah */
.wilayah-step {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .75rem;
  color: #94A3B8;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}
.wilayah-step-item {
  display: flex;
  align-items: center;
  gap: .25rem;
  padding: .2rem .6rem;
  border-radius: 20px;
  background: #F1F5F9;
  transition: all .2s;
}
.wilayah-step-item.done {
  background: #DCFCE7;
  color: #166534;
  font-weight: 700;
}
.wilayah-step-item.active {
  background: rgba(139,94,60,.12);
  color: #8B5E3C;
  font-weight: 700;
}
.wilayah-step-arrow { color: #CBD5E1; font-size: .65rem; }