/* =====================================================
   JEN'KIESS — STYLE.CSS
   Isi file ini: warna, font, layout, tombol, animasi,
   dan tampilan responsive (HP / tablet / laptop).
   ===================================================== */


/* ---------- 1. WARNA & PENGATURAN DASAR ----------
   Semua warna disimpan di sini sebagai "variabel".
   Kalau mau ganti warna, cukup ubah di bagian ini saja. */
:root {
  --cream: #fbf5ee;          /* warna dasar website */
  --off-white: #fffdfa;      /* kartu */
  --blush: #f8dfe2;          /* pink sangat lembut */
  --soft-pink: #f2b8c2;      /* pink lembut */
  --pink: #e07a8f;           /* pink accent (tombol) */
  --pink-dark: #c85570;      /* pink lebih gelap (hover) */
  --warm-brown: #a8714e;     /* coklat hangat */
  --chocolate: #4a2c22;      /* coklat tua (teks utama) */
  --chocolate-dark: #33201a; /* footer */
  --text-soft: #7a5d52;      /* teks sekunder */

  --font-title: "Fraunces", Georgia, serif;
  --font-body: "Nunito", "Segoe UI", sans-serif;
  --font-hand: "Caveat", cursive;

  --radius: 22px;
  --shadow: 0 10px 30px rgba(74, 44, 34, 0.08);
  --shadow-hover: 0 18px 40px rgba(200, 85, 112, 0.18);
}

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

html {
  scroll-behavior: smooth;   /* smooth scrolling saat klik menu */
  scroll-padding-top: 80px;  /* supaya judul section tidak tertutup navbar */
}

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--chocolate);
  background-color: var(--cream);
  overflow-x: hidden; /* mencegah geser ke samping di HP */
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

/* Pembungkus agar konten tidak terlalu lebar */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
}


/* ---------- 2. TEKS UMUM ---------- */
.section-head {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 48px;
}

.section-label {
  font-family: var(--font-hand);
  font-size: 1.5rem;
  color: var(--pink);
  line-height: 1;
  margin-bottom: 6px;
}

.section-title {
  font-family: var(--font-title);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--chocolate);
  margin-bottom: 14px;
}

.section-sub {
  color: var(--text-soft);
}

.handwritten {
  font-family: var(--font-hand);
  color: var(--pink-dark);
  font-size: 1.6rem;
  line-height: 1.2;
}

.highlight {
  color: var(--pink-dark);
  font-style: italic;
  position: relative;
}

/* Garis pink seperti coretan di bawah kata "kissy." */
.highlight::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.08em;
  height: 0.22em;
  background: var(--soft-pink);
  opacity: 0.55;
  border-radius: 99px;
  z-index: -1;
}

/* Ikon bibir kecil (memakai SVG #lip dari index.html) */
.lip-icon {
  width: 26px;
  height: 16px;
  fill: var(--pink);
  flex-shrink: 0;
}


/* ---------- 3. TOMBOL ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  min-height: 48px; /* mudah ditekan di HP */
  border-radius: 99px;
  border: 2px solid transparent;
  font-weight: 800;
  font-size: 1rem;
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.btn-primary {
  background-color: var(--pink);
  color: #fff;
  box-shadow: 0 6px 16px rgba(224, 122, 143, 0.35);
}

.btn-primary:hover {
  background-color: var(--pink-dark);
  transform: translateY(-2px);
}

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

.btn-outline:hover {
  background-color: var(--chocolate);
  color: var(--cream);
  transform: translateY(-2px);
}

.btn-small {
  padding: 8px 20px;
  min-height: 40px;
  font-size: 0.95rem;
}

.btn:disabled {
  background-color: #d9c8c2;
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}


/* ---------- 4. NAVBAR ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: background-color 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}

/* Class ini ditambahkan oleh script.js saat halaman di-scroll */
.navbar.scrolled {
  background-color: rgba(251, 245, 238, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(74, 44, 34, 0.06);
  padding: 10px 0;
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-title);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--chocolate);
}

.logo-icon {
  display: inline-block;
  transition: transform 0.3s ease;
}

.logo:hover .logo-icon {
  transform: rotate(20deg);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-weight: 700;
  font-size: 0.98rem;
  position: relative;
  padding: 4px 0;
}

/* Garis pink muncul saat hover */
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--pink);
  border-radius: 2px;
  transition: width 0.25s ease;
}

.nav-link:hover {
  color: var(--pink-dark);
}

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

/* Tombol hamburger hanya muncul di HP */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: var(--off-white);
  border: none;
  border-radius: 12px;
  padding: 0 11px;
  box-shadow: var(--shadow);
}

.menu-toggle span {
  height: 2px;
  background: var(--chocolate);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Animasi garis menjadi tanda X saat menu terbuka */
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* ---------- 5. HERO ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 72px;
  /* latar belakang: titik-titik pink lembut seperti taburan gula */
  background-image:
    radial-gradient(circle at 85% 20%, var(--blush) 0, transparent 40%),
    radial-gradient(rgba(224, 122, 143, 0.12) 1.5px, transparent 1.5px);
  background-size: auto, 28px 28px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 56px;
}

.hero-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--off-white);
  padding: 8px 16px;
  border-radius: 99px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--warm-brown);
  box-shadow: var(--shadow);
  margin-bottom: 24px;
}

.hero-title {
  font-family: var(--font-title);
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-soft);
  max-width: 420px;
  margin-bottom: 32px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-note {
  margin-top: 28px;
  transform: rotate(-3deg);
  display: inline-block;
}

.hero-image-area {
  position: relative;
  max-width: 480px;
  width: 100%;
  justify-self: center;
}

/* Bentuk blob pink di belakang foto */
.hero-blob {
  position: absolute;
  inset: -6% -6% -6% -6%;
  background: var(--blush);
  border-radius: 58% 42% 52% 48% / 46% 54% 46% 54%;
  z-index: 0;
}

.hero-photo {
  position: relative;
  z-index: 1;
  aspect-ratio: 1 / 1;
  border-radius: 50% 50% 40% 40% / 45% 45% 40% 40%;
  border: 8px solid var(--off-white);
  box-shadow: 0 24px 50px rgba(74, 44, 34, 0.18);
}

/* Stiker bulat "mulai dari Rp10K" */
.hero-sticker {
  position: absolute;
  z-index: 2;
  left: -12px;
  bottom: 10%;
  width: 104px;
  height: 104px;
  border-radius: 50%;
  background: var(--chocolate);
  color: var(--cream);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: rotate(-12deg);
  box-shadow: 0 10px 24px rgba(74, 44, 34, 0.25);
  border: 3px dashed var(--soft-pink);
  outline: 4px solid var(--chocolate);
}

.sticker-small {
  font-size: 0.75rem;
  font-weight: 700;
  opacity: 0.8;
}

.sticker-big {
  font-family: var(--font-title);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
}

/* ---- Dekorasi kecil (bibir, hati, sparkle, remah) ---- */
.deco {
  position: absolute;
  z-index: 2;
  pointer-events: none;
}

.deco-lip {
  width: 64px;
  height: 40px;
  fill: var(--pink);
  top: 4%;
  right: -4%;
  transform: rotate(14deg);
  opacity: 0.9;
  animation: float 5s ease-in-out infinite;
}

.deco-heart {
  font-size: 2rem;
  color: var(--pink-dark);
  top: -4%;
  left: 12%;
  animation: float 6s ease-in-out infinite 1s;
}

.deco-sparkle {
  color: var(--warm-brown);
  animation: twinkle 3s ease-in-out infinite;
}

.sparkle-1 { font-size: 1.6rem; bottom: 2%; right: 8%; }
.sparkle-2 { font-size: 1.2rem; top: 40%; right: -8%; animation-delay: 1.5s; color: var(--pink); }

/* Remah cookies: lingkaran coklat kecil yang tidak rata */
.crumb {
  background: var(--warm-brown);
  border-radius: 45% 55% 40% 60%;
  opacity: 0.75;
}

.crumb-1 { width: 12px; height: 10px; bottom: -3%; left: 30%; }
.crumb-2 { width: 8px; height: 7px; bottom: -6%; left: 40%; }
.crumb-3 { width: 6px; height: 6px; bottom: -1%; left: 46%; background: var(--chocolate); }


/* ---------- 6. PITA BERJALAN (RIBBON) ---------- */
.ribbon {
  background: var(--chocolate);
  color: var(--cream);
  overflow: hidden;
  padding: 14px 0;
  transform: rotate(-1.2deg);
  margin: 0 -10px;
}

.ribbon-track {
  display: flex;
  gap: 28px;
  width: max-content;
  font-family: var(--font-title);
  font-size: 1.15rem;
  white-space: nowrap;
  animation: scroll-left 30s linear infinite;
}

.ribbon .dot {
  color: var(--soft-pink);
}


/* ---------- 7. FOTO & FALLBACK ---------- */
.image-frame {
  position: relative;
  overflow: hidden;
  /* Latar placeholder: tampil jika foto belum ada */
  background:
    radial-gradient(circle at 30% 35%, #c89b74 0 6%, transparent 7%),
    radial-gradient(circle at 65% 60%, #c89b74 0 5%, transparent 6%),
    radial-gradient(circle at 45% 70%, #8a5a3f 0 4%, transparent 5%),
    radial-gradient(circle at 50% 50%, #e9c9a6 0 38%, var(--blush) 39%);
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Class ini ditambahkan oleh script.js jika foto gagal dimuat.
   Foto disembunyikan, dan yang terlihat adalah placeholder cookie di atas. */
.image-frame.img-missing img {
  display: none;
}

.image-frame.img-missing::after {
  content: "foto cookies ♡";
  position: absolute;
  bottom: 12px;
  left: 0;
  right: 0;
  text-align: center;
  font-family: var(--font-hand);
  font-size: 1.3rem;
  color: var(--pink-dark);
}


/* ---------- 8. ABOUT ---------- */
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: center;
  gap: 64px;
}

.about-image {
  position: relative;
  max-width: 440px;
  width: 100%;
  justify-self: center;
}

.about-photo {
  aspect-ratio: 4 / 5;
  border-radius: 200px 200px var(--radius) var(--radius); /* bentuk lengkung seperti jendela toko roti */
  box-shadow: var(--shadow);
}

.about-badge {
  position: absolute;
  right: -16px;
  bottom: 32px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--off-white);
  padding: 14px 18px;
  border-radius: 18px;
  box-shadow: var(--shadow);
  font-family: var(--font-hand);
  font-size: 1.25rem;
  line-height: 1.1;
  color: var(--chocolate);
  transform: rotate(4deg);
}

.about-badge .lip-icon {
  width: 34px;
  height: 22px;
}

.about-text p {
  color: var(--text-soft);
  margin-bottom: 16px;
}

.about-text strong,
.about-text em {
  color: var(--pink-dark);
}

.about-text .about-sign {
  color: var(--pink-dark);
  margin-top: 24px;
}


/* ---------- 9. OUR COOKIES ---------- */
.cookies {
  background: var(--off-white);
  /* pola bibir sangat samar sebagai latar (subtle lip-print pattern) */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'%3E%3Cg fill='%23e07a8f' fill-opacity='0.06' transform='translate(30 40) rotate(-15) scale(0.4)'%3E%3Cpath d='M4 30 C 18 8, 34 4, 50 18 C 66 4, 82 8, 96 30 C 72 35, 28 35, 4 30 Z'/%3E%3Cpath d='M4 32 C 28 38, 72 38, 96 32 C 82 56, 18 56, 4 32 Z'/%3E%3C/g%3E%3C/svg%3E");
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.product-card {
  background: var(--off-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 2px solid transparent;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

/* Efek hover: kartu naik sedikit + garis pink */
.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: var(--soft-pink);
}

.product-image {
  aspect-ratio: 1 / 1;
}

.product-image img {
  transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.06);
}

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--off-white);
  color: var(--pink-dark);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 99px;
  box-shadow: 0 4px 10px rgba(74, 44, 34, 0.1);
}

.product-body {
  padding: 20px 20px 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
}

.product-name {
  font-family: var(--font-title);
  font-size: 1.4rem;
  font-weight: 700;
}

.product-price {
  font-weight: 800;
  color: var(--pink-dark);
  white-space: nowrap;
}

.product-personality {
  font-family: var(--font-hand);
  font-size: 1.25rem;
  color: var(--warm-brown);
  line-height: 1.2;
  margin: 2px 0 10px;
}

.product-desc {
  font-size: 0.93rem;
  color: var(--text-soft);
  margin-bottom: 18px;
  flex-grow: 1; /* membuat tombol Order sejajar di bawah */
}

.btn-order {
  width: 100%;
}


/* ---------- 10. WHY JEN'KIESS ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.why-card {
  background: var(--off-white);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}

.why-card:hover {
  transform: translateY(-6px);
}

.why-icon {
  width: 68px;
  height: 68px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.9rem;
  background: var(--blush);
  border-radius: 50% 50% 46% 54% / 55% 45% 55% 45%;
}

.why-card h3 {
  font-family: var(--font-title);
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.why-card p {
  color: var(--text-soft);
  font-size: 0.95rem;
}

/* Kartu "A Little Kissy" dibuat sedikit berbeda (coklat) */
.why-card-kiss {
  background: var(--chocolate);
  color: var(--cream);
}

.why-card-kiss p {
  color: #e8d6cc;
}

.why-card-kiss .why-icon {
  background: var(--pink);
}


/* ---------- 11. HOW TO ORDER ---------- */
.how {
  background: var(--blush);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  counter-reset: step;
}

.step {
  background: var(--off-white);
  border-radius: var(--radius);
  padding: 32px 28px;
  position: relative;
  box-shadow: var(--shadow);
}

/* Garis putus-putus penghubung antar langkah (hanya di layar lebar) */
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 54px;
  right: -24px;
  width: 24px;
  border-top: 2px dashed var(--pink);
}

.step-number {
  display: inline-block;
  font-family: var(--font-title);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--pink);
  line-height: 1;
  margin-bottom: 14px;
}

.step h3 {
  font-family: var(--font-title);
  font-size: 1.3rem;
  margin-bottom: 6px;
}

.step p {
  color: var(--text-soft);
}


/* ---------- 12. ORDER BOX ---------- */
.order-box {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  background: var(--off-white);
  border-radius: 32px;
  padding: 48px;
  box-shadow: var(--shadow);
  border: 2px solid var(--blush);
}

.order-help {
  color: var(--text-soft);
  margin-bottom: 28px;
}

.field-label {
  font-weight: 800;
  margin-bottom: 10px;
}

.flavor-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.flavor-chip {
  padding: 10px 18px;
  min-height: 46px;
  border-radius: 99px;
  border: 2px solid var(--blush);
  background: var(--cream);
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--chocolate);
  transition: all 0.2s ease;
}

.flavor-chip:hover {
  border-color: var(--soft-pink);
}

/* Rasa yang sedang dipilih */
.flavor-chip.active {
  background: var(--pink);
  border-color: var(--pink);
  color: #fff;
}

.quantity {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--cream);
  border-radius: 99px;
  padding: 6px;
  border: 2px solid var(--blush);
}

.qty-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--off-white);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--chocolate);
  box-shadow: 0 3px 8px rgba(74, 44, 34, 0.08);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.qty-btn:hover {
  background: var(--pink);
  color: #fff;
}

.qty-value {
  min-width: 48px;
  text-align: center;
  font-size: 1.25rem;
  font-weight: 800;
}

.order-summary {
  position: relative;
  background: var(--chocolate);
  color: var(--cream);
  border-radius: 24px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Bibir besar samar di pojok kartu ringkasan */
.summary-lip {
  position: absolute;
  width: 120px;
  height: 72px;
  right: -20px;
  top: -10px;
  fill: var(--pink);
  opacity: 0.18;
  transform: rotate(-18deg);
}

.summary-label {
  font-family: var(--font-hand);
  font-size: 1.5rem;
  color: var(--soft-pink);
}

.summary-product {
  font-family: var(--font-title);
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 22px;
  min-height: 2.4em;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-top: 1px dashed rgba(251, 245, 238, 0.25);
}

.summary-total {
  font-weight: 800;
  font-size: 1.2rem;
  margin-bottom: 22px;
}

.summary-total span:last-child {
  color: var(--soft-pink);
}

.btn-whatsapp {
  width: 100%;
}

.summary-note {
  font-size: 0.82rem;
  opacity: 0.7;
  margin-top: 14px;
  text-align: center;
}

/* Animasi kecil saat produk dipilih */
.pop {
  animation: pop 0.35s ease;
}


/* ---------- 13. CONTACT ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.contact-card {
  background: var(--off-white);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  border: 2px solid transparent;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-6px);
  border-color: var(--soft-pink);
}

.contact-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 10px;
}

.contact-card h3 {
  font-family: var(--font-title);
  font-size: 1.3rem;
}

.contact-card p {
  color: var(--text-soft);
  font-size: 0.95rem;
}


/* ---------- 14. FOOTER ---------- */
.footer {
  background: var(--chocolate-dark);
  color: var(--cream);
  padding: 56px 0 32px;
  text-align: center;
  border-top: 6px solid var(--pink);
}

.footer-logo {
  font-family: var(--font-title);
  font-size: 2rem;
  font-weight: 700;
}

.footer-tagline {
  font-family: var(--font-hand);
  font-size: 1.5rem;
  color: var(--soft-pink);
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-bottom: 28px;
}

.footer-links a {
  opacity: 0.8;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.footer-links a:hover {
  color: var(--soft-pink);
  opacity: 1;
}

.footer-copy {
  font-size: 0.85rem;
  opacity: 0.6;
}


/* ---------- 15. ANIMASI ---------- */

/* Fade in saat di-scroll: script.js menambahkan class "show" */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}

@keyframes float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -8px; }
}

@keyframes twinkle {
  0%, 100% { opacity: 0.3; scale: 0.85; }
  50% { opacity: 1; scale: 1.1; }
}

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

@keyframes pop {
  0% { transform: scale(1); }
  50% { transform: scale(1.06); }
  100% { transform: scale(1); }
}

/* Untuk pengguna yang mematikan animasi di perangkatnya */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  html { scroll-behavior: auto; }
  .fade-in { opacity: 1; transform: none; }
}


/* ---------- 16. RESPONSIVE ---------- */

/* TABLET (lebar layar 1024px ke bawah) */
@media (max-width: 1024px) {
  .product-grid,
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .order-box {
    grid-template-columns: 1fr;
    padding: 36px;
  }
}

/* HP & TABLET KECIL (lebar layar 860px ke bawah) */
@media (max-width: 860px) {
  .section {
    padding: 72px 0;
  }

  /* Menu berubah jadi dropdown */
  .menu-toggle {
    display: flex;
  }

  .nav-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 16px;
    right: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: var(--off-white);
    border-radius: 20px;
    padding: 14px;
    box-shadow: 0 16px 40px rgba(74, 44, 34, 0.15);
    /* tersembunyi sampai tombol hamburger diklik */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.25s ease;
  }

  .nav-menu.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-link {
    padding: 12px 14px;
    border-radius: 12px;
  }

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

  .nav-link:hover {
    background: var(--blush);
  }

  .nav-cta {
    margin-top: 6px;
  }

  .hero {
    min-height: auto;
    padding-top: 110px;
  }

  .hero-inner,
  .about-inner {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .hero-text {
    text-align: center;
  }

  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-image-area {
    max-width: 380px;
  }

  .about-text {
    text-align: center;
  }

  .steps,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .step:not(:last-child)::after {
    display: none;
  }
}

/* HP (lebar layar 560px ke bawah) */
@media (max-width: 560px) {
  body {
    font-size: 16px;
  }

  .container {
    padding: 0 18px;
  }

  /* Kartu produk & why menjadi 1 kolom */
  .product-grid,
  .why-grid {
    grid-template-columns: 1fr;
  }

  .product-card {
    max-width: 400px;
    width: 100%;
    margin: 0 auto;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .hero-image-area {
    max-width: 300px;
  }

  .hero-sticker {
    width: 84px;
    height: 84px;
    left: -4px;
  }

  .sticker-big {
    font-size: 1.2rem;
  }

  .deco-lip {
    right: 0;
  }

  .sparkle-2 {
    right: -2%;
  }

  .about-badge {
    right: 0;
  }

  .order-box {
    padding: 24px 18px;
    border-radius: 24px;
  }

  .order-summary {
    padding: 26px 20px;
  }
}
