@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=DM+Sans:wght@300;400;500&family=DM+Mono:wght@400;500&display=swap');

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

:root {
  --cream:    #FAF7F2;
  --warm:     #F2EBE0;
  --sand:     #E8D9C8;
  --terracotta: #C97B5A;
  --terra-dk: #A05A3A;
  --bark:     #2C2017;
  --bark-mid: #5C4A35;
  --bark-lt:  #8C7A65;
  --sage:     #7A9E6A;
  --dust:     #D4C5B0;
  --white:    #FFFFFF;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', sans-serif;
  --font-mono:    'DM Mono', monospace;
  --r-sm: 8px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 40px;
  --shadow-sm: 0 2px 8px rgba(44,32,23,.08);
  --shadow-md: 0 8px 32px rgba(44,32,23,.12);
  --shadow-lg: 0 24px 64px rgba(44,32,23,.16);
  --transition: .25s cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--bark);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, select, textarea { font-family: inherit; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ── Typography ──────────────────────────────────────────────── */
.display { font-family: var(--font-display); font-weight: 300; line-height: 1.15; }
.display-xl { font-size: clamp(48px, 7vw, 96px); }
.display-lg { font-size: clamp(36px, 5vw, 64px); }
.display-md { font-size: clamp(28px, 3vw, 42px); }
.display-sm { font-size: clamp(22px, 2.5vw, 32px); }
.label { font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }

/* ── Header / Nav ────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250,247,242,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--sand);
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }

.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}

.nav-logo {
  display: flex; flex-direction: column; line-height: 1;
}
.nav-logo span:first-child {
  font-family: var(--font-display);
  font-size: 24px; font-weight: 400; letter-spacing: .02em;
  color: var(--bark);
}
.nav-logo span:last-child {
  font-size: 9px; font-weight: 500; letter-spacing: .18em;
  text-transform: uppercase; color: var(--bark-lt); margin-top: 1px;
}

.nav-links {
  display: flex; align-items: center; gap: 32px;
  list-style: none;
}
.nav-links a {
  font-size: 13px; font-weight: 400; color: var(--bark-mid);
  transition: color var(--transition); position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 1px; background: var(--terracotta);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--transition);
}
.nav-links a:hover { color: var(--bark); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-actions { display: flex; align-items: center; gap: 8px; }

.nav-icon-btn {
  width: 40px; height: 40px; border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--bark-mid); transition: all var(--transition);
  position: relative;
}
.nav-icon-btn:hover { background: var(--warm); color: var(--bark); }
.nav-icon-btn svg { width: 20px; height: 20px; }

.cart-badge {
  position: absolute; top: 4px; right: 4px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--terracotta); color: white;
  font-size: 9px; font-weight: 500;
  display: flex; align-items: center; justify-content: center;
}

.btn-nav-cta {
  padding: 8px 20px; border-radius: var(--r-xl);
  background: var(--bark); color: var(--cream);
  font-size: 13px; font-weight: 500;
  transition: all var(--transition);
}
.btn-nav-cta:hover { background: var(--bark-mid); transform: translateY(-1px); }

.hamburger { display: none; }

/* ── Hero (new layout) ────────────────────────────────────────── */
.hero-new {
  display: grid;
  grid-template-columns: 55% 45%;
  min-height: 580px;
  overflow: hidden;
}
.hero-left {
  display: flex;
  align-items: center;
  background: var(--cream);
}
.hero-left-inner {
  width: 100%;
  padding: 60px 48px 60px 40px;
  animation: fadeUp .7s .1s both;
}
.hero-right {
  padding: 20px 20px 20px 12px;
  background: var(--cream);
  display: flex;
  align-items: stretch;
}
.hero-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 10px;
  width: 100%;
}
.hero-card {
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  animation: fadeIn .7s .2s both;
  transition: transform .25s ease;
  min-height: 180px;
}
.hero-card:hover { transform: translateY(-4px); }
.hero-card-tall { grid-row: span 2; }
.hero-card-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--bark-mid);
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: var(--r-xl);
  background: var(--warm); border: 1px solid var(--sand);
  margin-bottom: 24px;
}
.hero-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--sage); }
.hero-badge span { font-size: 11px; font-weight: 500; letter-spacing: .08em; color: var(--bark-mid); }

.hero-title { margin-bottom: 20px; color: var(--bark); }
.hero-title em { color: var(--terracotta); font-style: normal; }

.hero-desc {
  font-size: 16px; color: var(--bark-mid); line-height: 1.8;
  max-width: 440px; margin-bottom: 36px;
}

.hero-ctas { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px; border-radius: var(--r-xl);
  background: var(--terracotta); color: white;
  font-size: 14px; font-weight: 500;
  transition: all var(--transition); box-shadow: 0 4px 16px rgba(201,123,90,.3);
}
.btn-primary:hover { background: var(--terra-dk); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(201,123,90,.4); }

.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 24px; border-radius: var(--r-xl);
  border: 1.5px solid var(--sand); color: var(--bark-mid);
  font-size: 14px; font-weight: 400;
  transition: all var(--transition);
}
.btn-outline:hover { border-color: var(--bark-mid); color: var(--bark); background: var(--warm); }

.hero-stats {
  display: flex; gap: 28px; margin-top: 36px;
  padding-top: 28px; border-top: 1px solid var(--sand);
}
.hero-stat span:first-child {
  display: block; font-family: var(--font-display);
  font-size: 32px; font-weight: 500; color: var(--bark);
}
.hero-stat span:last-child { font-size: 12px; color: var(--bark-lt); }

.hero-visual {
  position: relative; overflow: hidden;
  animation: fadeIn .8s .2s both;
  min-height: 480px;
}

.hero-img-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr; gap: 8px;
  height: 100%; padding: 16px; min-height: 480px;
}

.hero-img-item {
  border-radius: var(--r-md); overflow: hidden;
  background: var(--warm); position: relative;
}
.hero-img-item:first-child { grid-row: span 2; }

.product-img-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 8px;
  background: linear-gradient(135deg, var(--warm) 0%, var(--sand) 100%);
  color: var(--bark-lt); font-size: 40px;
}
.product-img-placeholder span { font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }

/* ── Section Base ─────────────────────────────────────────────── */
section { padding: 80px 0; }

.section-header { margin-bottom: 48px; }
.section-header .label { color: var(--terracotta); margin-bottom: 12px; display: block; }
.section-header h2 { margin-bottom: 12px; }
.section-header p { color: var(--bark-mid); max-width: 480px; }

/* ── Category Pills ───────────────────────────────────────────── */
.category-section { padding: 40px 0; background: var(--warm); }

.category-pills {
  display: flex; gap: 10px; overflow-x: auto;
  padding-bottom: 4px; scrollbar-width: none;
}
.category-pills::-webkit-scrollbar { display: none; }

.cat-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px; border-radius: var(--r-xl); white-space: nowrap;
  border: 1.5px solid var(--sand); background: var(--white);
  font-size: 13px; font-weight: 500; color: var(--bark-mid);
  transition: all var(--transition); cursor: pointer;
}
.cat-pill:hover, .cat-pill.active {
  border-color: var(--terracotta); background: var(--terracotta);
  color: white; transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(201,123,90,.25);
}
.cat-pill .cat-icon { font-size: 18px; }

/* ── Product Grid ────────────────────────────────────────────── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.product-card {
  background: var(--white); border-radius: var(--r-lg);
  overflow: hidden; transition: all var(--transition);
  border: 1px solid transparent;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--sand);
}

.product-card-img {
  aspect-ratio: 4/3; overflow: hidden; position: relative;
  background: var(--warm);
}
.product-card-img .product-img-placeholder { height: 100%; }

.product-badge {
  position: absolute; top: 12px; left: 12px;
  padding: 4px 10px; border-radius: var(--r-xl);
  font-size: 10px; font-weight: 500; letter-spacing: .06em;
}
.badge-new { background: var(--sage); color: white; }
.badge-custom { background: var(--terracotta); color: white; }
.badge-bestseller { background: var(--bark); color: var(--cream); }

.product-wishlist {
  position: absolute; top: 12px; right: 12px;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,.9); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; opacity: 0; transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}
.product-card:hover .product-wishlist { opacity: 1; }
.product-wishlist:hover { transform: scale(1.1); }

.product-card-body { padding: 16px; }

.product-category-tag {
  font-size: 10px; font-weight: 500; letter-spacing: .1em;
  text-transform: uppercase; color: var(--terracotta);
  margin-bottom: 6px; display: block;
}

.product-name {
  font-family: var(--font-display);
  font-size: 18px; font-weight: 400; color: var(--bark);
  margin-bottom: 6px; line-height: 1.3;
}

.product-desc {
  font-size: 12px; color: var(--bark-lt); line-height: 1.6;
  margin-bottom: 14px;
  display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}

.product-card-footer {
  display: flex; align-items: center; justify-content: space-between;
}

.product-price {
  font-family: var(--font-mono); font-size: 16px; font-weight: 500;
  color: var(--bark);
}
.product-price .original {
  font-size: 12px; color: var(--bark-lt);
  text-decoration: line-through; margin-left: 6px;
}

.btn-add-cart {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--terracotta); color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; transition: all var(--transition);
  box-shadow: 0 4px 12px rgba(201,123,90,.3);
}
.btn-add-cart:hover { background: var(--terra-dk); transform: scale(1.1); }

.product-rating {
  display: flex; align-items: center; gap: 4px;
  font-size: 11px; color: var(--bark-lt); margin-bottom: 12px;
}
.stars { color: #F5A623; font-size: 12px; }

/* ── Why Kyara Made ───────────────────────────────────────────── */
.why-section { background: var(--bark); padding: 80px 0; }
.why-section .label { color: var(--terracotta); }
.why-section h2 { color: var(--cream); }

.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 48px; }

.feature-card {
  padding: 32px; border-radius: var(--r-lg);
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  transition: all var(--transition);
}
.feature-card:hover { background: rgba(255,255,255,.08); border-color: var(--terracotta); }

.feature-icon { font-size: 36px; margin-bottom: 20px; }
.feature-card h3 { font-size: 18px; font-weight: 500; color: var(--cream); margin-bottom: 10px; }
.feature-card p { font-size: 13px; color: rgba(250,247,242,.6); line-height: 1.7; }

/* ── Process ─────────────────────────────────────────────────── */
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 48px; position: relative; }
.process-steps::before {
  content: ''; position: absolute; top: 40px; left: 12.5%; right: 12.5%;
  height: 1px; background: var(--sand); z-index: 0;
}
.process-step { text-align: center; position: relative; z-index: 1; padding: 0 16px; }

.step-num {
  width: 80px; height: 80px; border-radius: 50%;
  background: var(--white); border: 2px solid var(--sand);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 32px;
  color: var(--terracotta); margin: 0 auto 20px;
  transition: all var(--transition);
}
.process-step:hover .step-num {
  border-color: var(--terracotta); background: var(--terracotta);
  color: white; transform: scale(1.08);
}

.step-title { font-weight: 500; color: var(--bark); margin-bottom: 8px; }
.step-desc { font-size: 12px; color: var(--bark-lt); line-height: 1.6; }

/* ── Newsletter ───────────────────────────────────────────────── */
.newsletter-section { background: var(--warm); padding: 80px 0; }
.newsletter-inner {
  max-width: 560px; margin: 0 auto; text-align: center;
}
.newsletter-inner h2 { margin-bottom: 12px; }
.newsletter-inner p { color: var(--bark-mid); margin-bottom: 32px; }

.newsletter-form { display: flex; gap: 10px; }
.newsletter-input {
  flex: 1; padding: 13px 18px; border-radius: var(--r-xl);
  border: 1.5px solid var(--sand); background: var(--white);
  font-size: 14px; color: var(--bark);
  transition: border-color var(--transition); outline: none;
}
.newsletter-input:focus { border-color: var(--terracotta); }
.newsletter-input::placeholder { color: var(--bark-lt); }

/* ── Footer ──────────────────────────────────────────────────── */
.site-footer {
  background: var(--bark); color: var(--cream);
  padding: 64px 0 32px;
}

.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }

.footer-brand { }
.footer-brand-name {
  font-family: var(--font-display); font-size: 28px; font-weight: 300;
  margin-bottom: 4px;
}
.footer-brand-tagline { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--bark-lt); margin-bottom: 16px; }
.footer-brand-desc { font-size: 13px; color: rgba(250,247,242,.6); line-height: 1.7; max-width: 280px; }

.footer-socials { display: flex; gap: 10px; margin-top: 20px; }
.social-btn {
  width: 36px; height: 36px; border-radius: var(--r-sm);
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; transition: all var(--transition);
}
.social-btn:hover { background: var(--terracotta); border-color: var(--terracotta); }

.footer-col h4 { font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--terracotta); margin-bottom: 16px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 13px; color: rgba(250,247,242,.6); transition: color var(--transition); }
.footer-links a:hover { color: var(--cream); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 24px; display: flex;
  align-items: center; justify-content: space-between;
}
.footer-bottom p { font-size: 12px; color: rgba(250,247,242,.4); }
.footer-bottom .payment-icons { display: flex; gap: 8px; }
.payment-icon {
  padding: 4px 10px; border-radius: 4px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12);
  font-size: 10px; font-weight: 500; letter-spacing: .06em;
  color: rgba(250,247,242,.5);
}

/* ── Toast Notifikasi ─────────────────────────────────────────── */
.toast-container { position: fixed; bottom: 24px; right: 24px; z-index: 999; display: flex; flex-direction: column; gap: 8px; }
.toast {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px; border-radius: var(--r-md);
  background: var(--bark); color: var(--cream);
  font-size: 13px; font-weight: 500;
  box-shadow: var(--shadow-lg); min-width: 260px;
  animation: slideInRight .3s cubic-bezier(.4,0,.2,1);
}
.toast.success { border-left: 3px solid var(--sage); }
.toast.info { border-left: 3px solid var(--terracotta); }
.toast-icon { font-size: 18px; }

/* ── Cart Drawer ─────────────────────────────────────────────── */
.cart-overlay {
  position: fixed; inset: 0; background: rgba(44,32,23,.5);
  z-index: 200; opacity: 0; pointer-events: none;
  transition: opacity var(--transition);
  backdrop-filter: blur(2px);
}
.cart-overlay.open { opacity: 1; pointer-events: all; }

.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: 420px; max-width: 95vw;
  background: var(--cream); z-index: 201;
  transform: translateX(100%); transition: transform .35s cubic-bezier(.4,0,.2,1);
  display: flex; flex-direction: column;
}
.cart-drawer.open { transform: translateX(0); }

.cart-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px; border-bottom: 1px solid var(--sand);
}
.cart-header h3 { font-family: var(--font-display); font-size: 22px; font-weight: 400; }
.cart-close {
  width: 36px; height: 36px; border-radius: var(--r-sm);
  background: var(--warm); display: flex; align-items: center; justify-content: center;
  font-size: 18px; color: var(--bark-mid); transition: all var(--transition);
}
.cart-close:hover { background: var(--sand); color: var(--bark); }

.cart-items { flex: 1; overflow-y: auto; padding: 16px 24px; }
.cart-empty {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; height: 100%; gap: 12px;
  color: var(--bark-lt); font-size: 14px; text-align: center;
}
.cart-empty span:first-child { font-size: 48px; }

.cart-item {
  display: grid; grid-template-columns: 72px 1fr auto;
  gap: 14px; align-items: start; padding: 14px 0;
  border-bottom: 1px solid var(--warm);
}
.cart-item-img {
  width: 72px; height: 72px; border-radius: var(--r-sm);
  background: var(--warm); overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
}
.cart-item-name { font-weight: 500; font-size: 13px; color: var(--bark); margin-bottom: 4px; }
.cart-item-variant { font-size: 11px; color: var(--bark-lt); margin-bottom: 8px; }
.cart-item-qty {
  display: flex; align-items: center; gap: 10px;
}
.qty-btn {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--warm); color: var(--bark-mid);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; transition: all var(--transition);
}
.qty-btn:hover { background: var(--sand); }
.qty-num { font-family: var(--font-mono); font-size: 13px; font-weight: 500; min-width: 20px; text-align: center; }
.cart-item-price { font-family: var(--font-mono); font-size: 14px; font-weight: 500; color: var(--bark); }
.cart-item-remove { font-size: 12px; color: var(--bark-lt); cursor: pointer; transition: color var(--transition); }
.cart-item-remove:hover { color: #E24B4A; }

.cart-footer { padding: 20px 24px; border-top: 1px solid var(--sand); background: var(--white); }
.cart-subtotal {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 6px;
}
.cart-subtotal span:first-child { font-size: 13px; color: var(--bark-mid); }
.cart-subtotal span:last-child { font-family: var(--font-mono); font-weight: 500; font-size: 18px; }
.cart-note { font-size: 11px; color: var(--bark-lt); margin-bottom: 16px; }
.btn-checkout {
  width: 100%; padding: 16px; border-radius: var(--r-xl);
  background: var(--terracotta); color: white;
  font-size: 15px; font-weight: 500;
  transition: all var(--transition); display: flex;
  align-items: center; justify-content: center; gap: 10px;
}
.btn-checkout:hover { background: var(--terra-dk); transform: translateY(-1px); }

/* ── Search Modal ────────────────────────────────────────────── */
.search-modal {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(44,32,23,.6); backdrop-filter: blur(8px);
  display: flex; align-items: flex-start; justify-content: center;
  padding-top: 10vh; opacity: 0; pointer-events: none;
  transition: opacity var(--transition);
}
.search-modal.open { opacity: 1; pointer-events: all; }
.search-box {
  width: 100%; max-width: 600px; background: var(--cream);
  border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); margin: 0 24px;
  transform: translateY(-20px); transition: transform var(--transition);
}
.search-modal.open .search-box { transform: translateY(0); }
.search-input-wrap {
  display: flex; align-items: center; gap: 14px;
  padding: 18px 20px; border-bottom: 1px solid var(--sand);
}
.search-input-wrap svg { width: 20px; height: 20px; color: var(--bark-lt); flex-shrink: 0; }
.search-input {
  flex: 1; border: none; background: none; font-size: 18px;
  color: var(--bark); outline: none;
}
.search-input::placeholder { color: var(--bark-lt); }
.search-results { padding: 12px; max-height: 400px; overflow-y: auto; }
.search-hint { font-size: 12px; color: var(--bark-lt); padding: 8px 8px 12px; }

/* ── Animations ──────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(24px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-new { grid-template-columns: 1fr; min-height: auto; }
  .hero-left-inner { padding: 40px 24px 32px; }
  .hero-right { padding: 0 16px 32px; }
  .hero-card-grid { min-height: 260px; }
  .hero-card { min-height: 120px; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .process-steps { grid-template-columns: 1fr 1fr; gap: 32px; }
  .process-steps::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
}

@media (max-width: 600px) {
  .features-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .newsletter-form { flex-direction: column; }
  .hero-stats { gap: 20px; }
  .product-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
}

/* ════════════════════════════════════════════════════════════════
   MOBILE APP-LIKE UX  ≤ 640px
   ════════════════════════════════════════════════════════════════ */
@media (max-width: 640px) {

  /* ── Body padding untuk bottom nav ──────────────────────────── */
  body { padding-bottom: 72px; }

  /* ── Header mobile compact ───────────────────────────────────── */
  .site-header { border-bottom: none; box-shadow: 0 1px 0 var(--sand); }
  .nav-inner { height: 56px; }
  .nav-logo span:first-child { font-size: 20px; }
  .nav-logo span:last-child { display: none; }
  .btn-nav-cta { display: none; }          /* WA button pindah ke bottom nav */
  .nav-icon-btn { width: 36px; height: 36px; }

  /* ── Hero mobile: stack vertikal, compact ────────────────────── */
  .hero-new { grid-template-columns: 1fr; min-height: auto; }

  .hero-left { padding: 0; }
  .hero-left-inner {
    padding: 28px 20px 24px;
    text-align: left;
  }

  .hero-badge {
    padding: 5px 12px; font-size: 11px; margin-bottom: 16px;
  }

  /* Judul hero lebih kecil di mobile */
  .hero-title { font-size: 40px !important; line-height: 1.1; margin-bottom: 14px; }

  .hero-desc {
    font-size: 14px; line-height: 1.7; margin-bottom: 24px; max-width: 100%;
  }

  /* CTA buttons full-width di mobile */
  .hero-ctas { flex-direction: column; gap: 10px; }
  .hero-ctas .btn-primary,
  .hero-ctas .btn-outline {
    width: 100%; justify-content: center; padding: 14px 20px;
  }

  /* Stats row compact */
  .hero-stats {
    margin-top: 24px; padding-top: 20px; gap: 0;
    justify-content: space-between;
  }
  .hero-stat span:first-child { font-size: 24px; }
  .hero-stat span:last-child { font-size: 11px; }

  /* Sembunyikan panel kanan di mobile (cards besar buang ruang) */
  .hero-right { display: none; }

  /* ── Category pills — horizontal scroll snap ─────────────────── */
  .category-section { padding: 20px 0; }
  .category-pills {
    padding: 0 16px 8px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  .cat-pill {
    scroll-snap-align: start;
    flex-shrink: 0;
    padding: 9px 16px;
    font-size: 13px;
  }

  /* ── Product grid — 2 kolom kartu compact ───────────────────── */
  .product-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 12px;
    padding: 0 16px;
  }

  /* Override container padding di section produk */
  .product-grid-section .container { padding: 0; }

  .product-card { border-radius: 16px; }
  .product-card-img { aspect-ratio: 1; }
  .product-img-placeholder { font-size: 48px !important; }
  .product-card-body { padding: 12px; }
  .product-name { font-size: 14px; margin-bottom: 4px; }
  .product-desc { display: none; }              /* sembunyikan di grid mobile */
  .product-rating { font-size: 10px; margin-bottom: 8px; }
  .product-price { font-size: 13px; }
  .product-price.original { display: none; }
  .btn-add-cart { width: 30px; height: 30px; font-size: 16px; }
  .product-wishlist { opacity: 1; }            /* selalu tampil di mobile */
  .product-category-tag { font-size: 9px; }

  /* ── Section padding lebih kecil di mobile ───────────────────── */
  section { padding: 48px 0; }
  .why-section { padding: 48px 0; }

  /* ── Features: 1 kolom kartu horizontal scroll ───────────────── */
  .features-grid {
    grid-template-columns: 1fr !important;
    gap: 12px;
  }
  .feature-card { padding: 20px; display: flex; gap: 16px; align-items: flex-start; }
  .feature-icon { font-size: 24px; margin-bottom: 0; flex-shrink: 0; }
  .feature-card h3 { font-size: 15px; margin-bottom: 4px; }
  .feature-card p { font-size: 12px; }

  /* ── Process steps: vertical timeline ───────────────────────── */
  .process-steps {
    grid-template-columns: 1fr !important;
    gap: 0;
    position: relative;
  }
  .process-steps::before { display: none; }
  .process-step {
    display: flex; align-items: flex-start; gap: 16px;
    text-align: left; padding: 0 0 24px 0;
    position: relative;
  }
  .process-step::after {
    content: '';
    position: absolute; left: 39px; top: 80px;
    width: 2px; height: calc(100% - 80px);
    background: var(--sand);
  }
  .process-step:last-child::after { display: none; }
  .step-num {
    width: 60px; height: 60px; font-size: 22px;
    margin: 0; flex-shrink: 0;
  }
  .step-title { font-size: 15px; margin-bottom: 4px; }
  .step-desc { font-size: 13px; }

  /* ── Custom banner: stack vertikal ──────────────────────────── */
  #custom .container > div { grid-template-columns: 1fr !important; gap: 24px; }
  #custom .container > div > div:last-child { padding: 28px 20px; }

  /* ── Newsletter ──────────────────────────────────────────────── */
  .newsletter-form { flex-direction: column; gap: 10px; }
  .newsletter-input { padding: 14px 18px; }
  .newsletter-inner h2 { font-size: 26px; }

  /* ── Footer mobile: minimal ──────────────────────────────────── */
  .site-footer { padding: 40px 0 20px; }
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 32px;
  }
  .footer-col:not(:first-child) { display: none; } /* simpan hanya brand */
  .footer-brand { text-align: center; }
  .footer-brand-desc { max-width: 100%; }
  .footer-socials { justify-content: center; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }

  /* ── Cart drawer full-screen di mobile ───────────────────────── */
  .cart-drawer { width: 100%; }

  /* ── Toast di atas bottom nav ────────────────────────────────── */
  .toast-container { bottom: 84px; left: 16px; right: 16px; }
  .toast { min-width: unset; }

  /* ── Sembunyikan hamburger — ganti dengan bottom nav ─────────── */
  .hamburger { display: none; }

  /* ── Container padding default ───────────────────────────────── */
  .container { padding: 0 16px; }
}

/* ── BOTTOM NAVIGATION BAR (mobile app feel) ─────────────────── */
.mobile-bottom-nav {
  display: none;
}

@media (max-width: 640px) {
  .mobile-bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    height: 72px;
    background: rgba(250,247,242,.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid var(--sand);
    z-index: 150;
    align-items: center;
    justify-content: space-around;
    padding: 0 8px;
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }

  .m-nav-item {
    display: flex; flex-direction: column; align-items: center;
    gap: 4px; flex: 1; padding: 8px 4px;
    color: var(--bark-lt); cursor: pointer;
    transition: color .2s; position: relative;
    border: none; background: none; font-family: inherit;
    -webkit-tap-highlight-color: transparent;
  }
  .m-nav-item.active { color: var(--terracotta); }
  .m-nav-item svg { width: 22px; height: 22px; }
  .m-nav-item span { font-size: 10px; font-weight: 500; letter-spacing: .02em; }

  /* Active indicator dot */
  .m-nav-item.active::before {
    content: '';
    position: absolute; top: 0; left: 50%;
    transform: translateX(-50%);
    width: 20px; height: 3px;
    background: var(--terracotta);
    border-radius: 0 0 3px 3px;
  }

  /* Cart badge on bottom nav */
  .m-nav-badge {
    position: absolute; top: 6px; right: calc(50% - 18px);
    width: 15px; height: 15px; border-radius: 50%;
    background: var(--terracotta); color: white;
    font-size: 8px; font-weight: 600;
    display: flex; align-items: center; justify-content: center;
  }

  /* WA button — pill khusus di tengah */
  .m-nav-wa {
    background: var(--terracotta);
    border-radius: 20px;
    color: white !important;
    padding: 10px 16px !important;
    gap: 6px !important;
    flex: 1.4;
    margin: 0 4px;
  }
  .m-nav-wa svg { width: 18px; height: 18px; }
  .m-nav-wa span { font-size: 11px; font-weight: 600; }
}

/* ── Mobile product section container fix ───────────────────────── */
@media (max-width: 640px) {
  .prod-section-mobile { padding: 32px 0 48px; }
  .prod-section-mobile .container { padding: 0; }
  .prod-section-mobile .product-grid { padding: 0 16px; }

  /* Section headers di mobile */
  .category-section .container { padding: 0 16px; }

  /* Custom section mobile */
  #custom { padding: 40px 0; }

  /* Why section container */
  .why-section .container { padding: 0 16px; }
  .why-section .section-header { margin-bottom: 24px; }
  .why-section h2 { font-size: clamp(26px, 7vw, 36px); }

  /* Cara pesan section */
  #cara-pesan { padding: 48px 0; }
  #cara-pesan .container { padding: 0 16px; }

  /* Newsletter section */
  .newsletter-section { padding: 40px 0; }
}

/* ── Smooth scroll & tap highlight off globally mobile ──────────── */
@media (max-width: 640px) {
  * { -webkit-tap-highlight-color: transparent; }
  html { scroll-behavior: smooth; }

  /* Bigger tap targets */
  .btn-primary, .btn-outline { min-height: 48px; }
  .cat-pill { min-height: 40px; }
  .qty-btn, .qty-btn-lg { min-width: 44px; min-height: 44px; }
}
