/* Arabian Kitchen – nasiarabsegera.com
   Warna jenama ikut pek: maroon, emas, krim. Dua keluarga fon sahaja:
   Playfair Display (tajuk) dan Inter (teks & butang). */
:root {
  --maroon-900: #33090f;
  --maroon-800: #4a0f17;
  --maroon-700: #6b1a24;
  --gold-500: #c9a14a;
  --gold-300: #e8c77a;
  --gold-100: #f6e7c4;
  --cream-50: #fbf7f0;
  --cream-100: #f4eadb;
  --ink: #2b1b17;
  --muted: #5f4d45;
  --line: #e4d4bd;
  --white: #ffffff;
  --wa: #11764a;
  --wa-dark: #0c5c39;
  --r-lg: 16px;
  --r-md: 12px;
  --shadow: 0 6px 22px rgba(51, 9, 15, .08);
  --gutter: 16px;
  --font-head: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
@media (min-width: 768px) { :root { --gutter: 24px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--cream-50); color: var(--ink); font: 400 1rem/1.6 var(--font-body); overflow-x: hidden; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--maroon-700); text-underline-offset: 3px; }
a:hover { color: var(--maroon-900); }
h1, h2, h3 { font-family: var(--font-head); font-weight: 700; line-height: 1.2; color: var(--maroon-800); margin: 0 0 .55em; }
h1 { font-size: clamp(1.85rem, 5.6vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3.6vw, 2.1rem); }
h3 { font-size: clamp(1.1rem, 2.2vw, 1.3rem); }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.25em; margin: 0 0 1em; }
li { margin-bottom: .35em; }
small, .small { font-size: .875rem; }
:focus-visible { outline: 3px solid var(--maroon-700); outline-offset: 2px; }
.header :focus-visible, .hero :focus-visible, .footer :focus-visible, .section--dark :focus-visible, .mobile-bar :focus-visible { outline-color: var(--gold-300); }

.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 800px; margin-left: auto; margin-right: auto; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 10px 14px; z-index: 100; border-radius: 8px; }
.skip-link:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.center { text-align: center; }
.note { font-size: .9rem; color: var(--muted); }
.lead { color: var(--muted); font-size: 1.05rem; }

/* ---------- Butang ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: .7em 1.35em; border-radius: 999px; border: 2px solid transparent;
  font: 700 1rem/1.2 var(--font-body); text-decoration: none; cursor: pointer; text-align: center;
  transition: background-color .15s ease, color .15s ease;
}
.btn svg { width: 1.2em; height: 1.2em; flex: none; }
.btn--buy { background: var(--maroon-700); color: var(--white); }
.btn--buy:hover { background: var(--maroon-900); color: var(--white); }
.btn--gold { background: var(--gold-300); color: var(--maroon-900); }
.btn--gold:hover { background: var(--gold-100); color: var(--maroon-900); }
.btn--wa { background: var(--wa); color: var(--white); }
.btn--wa:hover { background: var(--wa-dark); color: var(--white); }
.btn--ghost { background: var(--white); color: var(--maroon-700); border-color: var(--maroon-700); }
.btn--ghost:hover { background: var(--maroon-700); color: var(--white); }
.btn--ghost-light { background: transparent; color: var(--white); border-color: var(--gold-300); }
.btn--ghost-light:hover { background: var(--gold-300); color: var(--maroon-900); }
.btn--sm { min-height: 44px; padding: .5em 1.05em; font-size: .925rem; }
.btn--lg { min-height: 52px; font-size: 1.05rem; padding: .75em 1.6em; }
.btn--block { width: 100%; }
.btn--icon { width: 48px; min-width: 48px; padding: 0; }
.btn--icon svg { width: 24px; height: 24px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.icon-btn { width: 44px; height: 44px; flex: none; border-radius: 50%; border: 1px solid var(--line); background: var(--white); color: var(--maroon-800); font: 600 1.4rem/1 var(--font-body); cursor: pointer; display: grid; place-items: center; }
.icon-btn:hover { background: var(--cream-100); }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 50; background: var(--maroon-800); border-bottom: 2px solid var(--gold-500); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.nav__brand { display: flex; align-items: center; padding: 6px 0; }
.nav__brand .logo { height: 44px; width: auto; }
@media (min-width: 921px) { .nav__brand .logo { height: 50px; } }
.nav__links { display: flex; align-items: center; gap: 2px; }
.nav__links a { color: var(--cream-100); text-decoration: none; font-weight: 600; font-size: .95rem; padding: 10px 10px; border-radius: 8px; min-height: 44px; display: inline-flex; align-items: center; }
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--gold-300); background: rgba(255,255,255,.06); }
.nav__links .nav__cta { margin-left: 8px; color: var(--maroon-900); }
.nav__links .nav__cta:hover { color: var(--maroon-900); background: var(--gold-100); }
.nav__toggle { display: none; background: none; border: 2px solid var(--gold-500); color: var(--gold-300); border-radius: 10px; width: 48px; height: 44px; padding: 0; cursor: pointer; }
.nav__toggle svg { width: 24px; height: 24px; margin: auto; }
@media (max-width: 920px) {
  .nav__toggle { display: grid; place-items: center; }
  .nav__links { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--maroon-800); border-bottom: 2px solid var(--gold-500); padding: 8px var(--gutter) 16px; }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding: 12px 8px; border-bottom: 1px solid rgba(232,199,122,.18); border-radius: 0; }
  .nav__links .nav__cta { margin: 12px 0 0; border-bottom: 0; border-radius: 999px; justify-content: center; }
}

/* ---------- Hero ---------- */
.hero { background: radial-gradient(1100px 560px at 85% 15%, var(--maroon-700), var(--maroon-900) 70%); color: var(--cream-100); padding: 24px 0 32px; }
.hero__grid { display: grid; gap: 24px; }
.hero__eyebrow { margin: 0 0 8px; font-size: .8rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--gold-300); }
.hero h1 { color: var(--gold-300); margin-bottom: 12px; }
.hero__lead { font-size: 1.05rem; color: var(--cream-100); margin: 0 0 16px; max-width: 34em; }
.hero__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0 0 18px; }
.hero__facts div { background: rgba(255,255,255,.07); border: 1px solid rgba(232,199,122,.4); border-radius: var(--r-md); padding: 8px 10px; }
.hero__facts dt { font-size: .7rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--gold-100); }
.hero__facts dd { margin: 2px 0 0; font-weight: 700; font-size: 1rem; color: var(--white); line-height: 1.25; }
.hero__facts small { display: block; font-weight: 400; font-size: .72rem; color: var(--gold-100); }
.hero__actions { display: grid; gap: 10px; }
.hero__note { font-size: .88rem; color: var(--gold-100); margin: 14px 0 0; }
.hero__note a { color: var(--gold-300); font-weight: 600; }
.hero__media { margin: 0; }
.hero__media img { width: 100%; border-radius: var(--r-lg); border: 2px solid var(--gold-500); aspect-ratio: 4 / 3; object-fit: cover; box-shadow: 0 18px 44px rgba(0,0,0,.3); }
.hero__media figcaption { font-size: .8rem; color: var(--gold-100); margin-top: 8px; }
@media (min-width: 480px) { .hero__actions { display: flex; flex-wrap: wrap; } }
@media (min-width: 861px) {
  .hero { padding: 56px 0 64px; }
  .hero__grid { grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
  .hero__media img { aspect-ratio: 1 / 1; }
  .hero__facts { max-width: 480px; }
}

/* ---------- Seksyen ---------- */
.section { padding: 48px 0; }
.section--alt { background: var(--cream-100); }
.section--dark { background: var(--maroon-800); color: var(--cream-100); }
.section--dark h2, .section--dark h3 { color: var(--gold-300); }
.section-head { max-width: 720px; margin: 0 auto 28px; text-align: center; }
.section-head p { color: var(--muted); margin-bottom: 0; }
.section--dark .section-head p { color: var(--cream-100); }
.section-more { margin: 20px 0 0; }
.section-more a:not(.btn) { font-weight: 600; display: inline-flex; align-items: center; min-height: 44px; }
@media (min-width: 768px) { .section { padding: 72px 0; } }

/* ---------- Kad produk ---------- */
.pgrid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 640px) { .pgrid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .pgrid { grid-template-columns: repeat(4, 1fr); } }
.pgrid__note { margin: 20px auto 0; max-width: 720px; }
.pcard { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); overflow: hidden; scroll-margin-top: 84px; }
.pcard__media { position: relative; aspect-ratio: 2 / 1; background: var(--maroon-800); }
.pcard__img { width: 100%; height: 100%; object-fit: cover; }
.pcard__badge { position: absolute; top: 10px; left: 10px; background: var(--gold-300); color: var(--maroon-900); font-size: .78rem; font-weight: 700; border-radius: 999px; padding: 4px 10px; }
.pcard__body { display: flex; flex-direction: column; gap: 8px; padding: 16px; flex: 1; }
.pcard__name { font-size: 1.22rem; margin: 0; }
.pcard__name a { color: inherit; text-decoration: none; }
.pcard__name a:hover { text-decoration: underline; }
.pcard__label { align-self: flex-start; display: inline-block; margin: 0; background: var(--gold-100); color: var(--maroon-800); font-size: .8rem; font-weight: 700; border-radius: 999px; padding: 3px 10px; }
.pcard__desc { margin: 0; color: var(--muted); font-size: .95rem; }
.pcard__buy { margin-top: auto; display: grid; gap: 10px; padding-top: 12px; border-top: 1px dashed var(--line); }
.pcard__link { justify-self: center; display: inline-flex; align-items: center; min-height: 44px; font-size: .9rem; font-weight: 600; }

/* Pilihan saiz */
.sizes { border: 0; padding: 0; margin: 4px 0 0; min-width: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.size { position: relative; display: inline-flex; }
.size input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.size > span { display: flex; flex-direction: column; justify-content: center; min-height: 48px; min-width: 96px; padding: 6px 12px; border: 1.5px solid var(--line); border-radius: var(--r-md); background: var(--cream-50); font-size: .82rem; color: var(--muted); line-height: 1.3; }
.size > span strong { font-size: .98rem; color: var(--ink); }
.size input:checked + span { border-color: var(--maroon-700); background: var(--white); box-shadow: inset 0 0 0 1px var(--maroon-700); }
.size input:checked + span strong { color: var(--maroon-700); }
.size input:focus-visible + span { outline: 3px solid var(--maroon-700); outline-offset: 2px; }
.size-fixed { display: flex; flex-direction: column; justify-content: center; min-height: 48px; min-width: 96px; padding: 6px 12px; border: 1.5px solid var(--line); border-radius: var(--r-md); background: var(--cream-50); font-size: .82rem; color: var(--muted); line-height: 1.3; }
.size-fixed strong { font-size: .98rem; color: var(--ink); }

/* Harga & butang beli */
.price-line { display: flex; align-items: baseline; gap: 6px; margin: 0; }
.price-line__amount { font-family: var(--font-head); font-weight: 700; font-size: 1.6rem; color: var(--maroon-700); line-height: 1; }
.price-line__per { font-size: .85rem; color: var(--muted); }
.buy__actions { display: flex; gap: 8px; }
.buy__actions .btn--buy { flex: 1; }

/* ---------- Panduan pilih rasa ---------- */
.picker { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
@media (min-width: 640px) { .picker { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .picker { grid-template-columns: repeat(4, 1fr); } }
.picker li { margin: 0; }
.picker a { display: flex; flex-direction: column; gap: 6px; height: 100%; min-height: 44px; padding: 16px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); text-decoration: none; color: var(--ink); }
.picker a:hover { border-color: var(--maroon-700); }
.picker span { color: var(--muted); font-size: .95rem; }
.picker strong { font-family: var(--font-head); font-size: 1.15rem; color: var(--maroon-800); }
.picker__more { margin: 20px 0 0; }
.picker__more a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }

/* ---------- Grid, kotak, senarai ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; align-items: start; }
.grid-2--media { align-items: center; }
@media (max-width: 900px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .grid-2 { grid-template-columns: 1fr; gap: 24px; } }
@media (max-width: 560px) { .grid-3 { grid-template-columns: 1fr; } }
.info-box { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; }
.info-box h3 { font-size: 1.1rem; }
.info-box p:last-child, .info-box ul:last-child { margin-bottom: 0; }
.callout { background: var(--gold-100); border: 1px solid var(--gold-500); border-radius: var(--r-md); padding: 12px 14px; font-size: .95rem; }
.check-list { list-style: none; padding: 0; }
.check-list li { position: relative; padding-left: 30px; margin-bottom: .6em; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; border-radius: 50%; background: var(--gold-300) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234a0f17' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat; }

/* ---------- Langkah ---------- */
.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; display: grid; gap: 10px; }
.steps li { counter-increment: step; position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px 16px 14px 62px; margin: 0; }
.steps li::before { content: counter(step); position: absolute; left: 14px; top: 12px; width: 34px; height: 34px; border-radius: 50%; background: var(--maroon-700); color: var(--gold-300); font: 700 1rem/34px var(--font-head); text-align: center; }
.steps strong { color: var(--maroon-800); }
.steps--compact li { padding: 10px 12px 10px 52px; font-size: .95rem; }
.steps--compact li::before { width: 28px; height: 28px; line-height: 28px; left: 12px; top: 9px; font-size: .9rem; }
.figure { margin: 0; }
.figure img { border-radius: var(--r-lg); border: 1px solid var(--line); box-shadow: var(--shadow); width: 100%; }
.figure figcaption { font-size: .85rem; color: var(--muted); margin-top: 8px; }

/* ---------- Cara pesan & penghantaran ---------- */
.flow { list-style: none; padding: 0; margin: 0 0 20px; counter-reset: flow; display: grid; gap: 12px; }
@media (min-width: 768px) { .flow { grid-template-columns: repeat(3, 1fr); } }
.flow li { counter-increment: flow; position: relative; margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 16px 16px 16px 62px; }
.flow li::before { content: counter(flow); position: absolute; left: 16px; top: 16px; width: 32px; height: 32px; border-radius: 50%; background: var(--maroon-700); color: var(--gold-300); font: 700 1rem/32px var(--font-head); text-align: center; }
.flow li > strong { display: block; color: var(--maroon-800); margin-bottom: 2px; }
.flow span strong { color: var(--ink); }
.flow span { color: var(--muted); font-size: .95rem; }
.ship-box { display: flex; flex-direction: column; gap: 14px; background: var(--gold-100); border: 1px solid var(--gold-500); border-radius: var(--r-lg); padding: 18px; margin-bottom: 14px; }
.ship-box h3 { font-size: 1.1rem; margin: 0 0 4px; }
.ship-box p { margin: 0; }
@media (min-width: 768px) { .ship-box { flex-direction: row; align-items: center; justify-content: space-between; } .ship-box .btn { flex: none; } }
.faq-block { margin-top: 36px; }
.faq-block > h3 { text-align: center; font-size: clamp(1.3rem, 3vw, 1.6rem); }

/* ---------- Testimoni ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .quotes { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .quotes { grid-template-columns: 1fr; } }
.quote { margin: 0; background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--gold-500); border-radius: var(--r-lg); padding: 18px 18px 14px; display: flex; flex-direction: column; }
.quote blockquote { margin: 0 0 12px; font-size: 1rem; color: var(--ink); }
.quote blockquote p { margin: 0; }
.quote blockquote::before { content: "\201C"; font-family: var(--font-head); color: var(--maroon-700); font-size: 2rem; line-height: 0; vertical-align: -.45em; margin-right: 4px; }
.quote figcaption { margin-top: auto; font-size: .88rem; color: var(--muted); }
.quote figcaption strong { color: var(--maroon-800); }
.proofs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .proofs { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .proofs { grid-template-columns: 1fr; } }
.proofs img { border-radius: var(--r-md); border: 1px solid var(--line); width: 100%; }
.video-box { max-width: 860px; margin: 0 auto; }
.video-box video { width: 100%; border-radius: var(--r-lg); border: 2px solid var(--gold-500); background: #000; aspect-ratio: 16 / 9; }

/* ---------- Jadual ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--white); -webkit-overflow-scrolling: touch; }
table { border-collapse: collapse; width: 100%; min-width: 640px; font-size: .95rem; }
th, td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
thead th { background: var(--maroon-800); color: var(--gold-300); font-family: var(--font-head); font-weight: 700; }
tbody th { color: var(--maroon-800); white-space: nowrap; }
tbody tr:last-child td, tbody tr:last-child th { border-bottom: 0; }
@media (max-width: 640px) {
  .table-wrap:has(.table-stack) { overflow: visible; border: 0; background: none; }
  .table-stack { min-width: 0 !important; }
  .table-stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .table-stack tr { display: block; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); margin-bottom: 12px; overflow: hidden; }
  .table-stack th[scope="row"] { display: block; background: var(--maroon-800); padding: 10px 14px; border: 0; color: var(--gold-300); }
  .table-stack th[scope="row"] a { color: var(--gold-300); font-family: var(--font-head); font-size: 1.1rem; }
  .table-stack td { display: block; padding: 8px 14px; border-bottom: 1px dashed var(--line); }
  .table-stack td::before { content: attr(data-label); display: block; font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--maroon-700); }
  .table-stack td:last-child { border-bottom: 0; }
}

/* ---------- Soalan lazim ---------- */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); }
.faq summary { cursor: pointer; list-style: none; padding: 14px 48px 14px 18px; min-height: 48px; font-weight: 700; color: var(--maroon-800); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--maroon-700); line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq .faq__a { padding: 0 18px 16px; }
.faq .faq__a p:last-child { margin-bottom: 0; }

/* ---------- Halaman produk & panduan ---------- */
.breadcrumb { font-size: .875rem; padding-top: 6px; color: var(--muted); }
.breadcrumb ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; }
.breadcrumb li { margin: 0; }
.breadcrumb a { display: inline-flex; align-items: center; min-height: 44px; }
.breadcrumb li + li::before { content: "\203A"; margin-right: 6px; color: var(--maroon-700); }
.page-head { padding-top: 12px; padding-bottom: 8px; }
.page-head p { color: var(--muted); font-size: 1.05rem; max-width: 46em; }
.product-top { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: start; padding: 8px 0 40px; }
.product-top .pcard__label { margin-bottom: 10px; }
@media (max-width: 860px) { .product-top { grid-template-columns: 1fr; gap: 22px; } }
.gallery { display: grid; gap: 10px; }
.gallery__main { border-radius: var(--r-lg); border: 1px solid var(--line); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--maroon-800); }
.gallery__thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.gallery__thumbs img { border-radius: 10px; border: 1px solid var(--line); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.buy-box { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 20px; display: grid; gap: 12px; scroll-margin-top: 84px; }
.buy-box h2 { font-size: 1.2rem; margin: 0; }
.buy-box .note { margin: 0; }
.facts { list-style: none; padding: 0; margin: 4px 0 0; font-size: .95rem; }
.facts li { padding: 8px 0; border-top: 1px solid var(--line); margin: 0; }
.facts strong { color: var(--maroon-800); }
.prose h2 { margin-top: 1.5em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.2em; }
.prose img { border-radius: var(--r-lg); }
.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 760px) { .related { grid-template-columns: 1fr; } }
.related a { display: flex; gap: 12px; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: 10px; text-decoration: none; color: var(--maroon-800); font-weight: 700; min-height: 64px; }
.related img { width: 96px; height: 48px; border-radius: 8px; object-fit: cover; flex: none; }
.related span { display: block; font-weight: 400; font-size: .88rem; color: var(--muted); }

/* ---------- Kalkulator kenduri ---------- */
.calc { background: var(--white); border: 2px solid var(--gold-500); border-radius: var(--r-lg); padding: 20px; box-shadow: var(--shadow); }
.calc label { display: block; font-weight: 700; color: var(--maroon-800); margin-bottom: 6px; }
.calc input, .calc select { width: 100%; min-height: 48px; font: inherit; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--cream-50); color: var(--ink); }
.calc__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
@media (max-width: 560px) { .calc__row { grid-template-columns: 1fr; } }
.calc__out { background: var(--cream-100); border-radius: 10px; padding: 14px 16px; margin: 6px 0 14px; min-height: 64px; }
.calc__out strong { color: var(--maroon-800); }

/* ---------- Dialog sebelum OnPay ---------- */
.buy-dialog { border: 0; padding: 0; border-radius: 20px; width: min(560px, calc(100vw - 24px)); max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); background: var(--white); color: var(--ink); box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.buy-dialog::backdrop { background: rgba(33, 6, 10, .62); }
.buy-dialog__inner { padding: 18px 18px 16px; overflow-y: auto; max-height: inherit; }
.buy-dialog__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.buy-dialog__head h2 { font-size: 1.3rem; margin: 0; }
.buy-dialog__item { display: flex; align-items: center; gap: 12px; background: var(--cream-50); border: 1px solid var(--line); border-radius: var(--r-md); padding: 10px; }
.buy-dialog__item img { width: 112px; height: 56px; object-fit: cover; border-radius: 8px; flex: none; }
.buy-dialog__item strong { display: block; color: var(--maroon-800); }
.buy-dialog__item span { font-size: .9rem; color: var(--muted); }
.qty { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 8px 14px; margin: 14px 0; }
.qty label { font-weight: 700; color: var(--maroon-800); }
.qty__ctrl { display: flex; align-items: center; gap: 8px; }
.qty__ctrl input { width: 64px; height: 44px; text-align: center; font: 700 1.05rem var(--font-body); border: 1px solid var(--line); border-radius: 10px; color: var(--ink); background: var(--white); }
.qty__total { grid-column: 1 / -1; margin: 0; }
.qty__total strong { color: var(--maroon-700); font-size: 1.15rem; }
.qty__total span { display: block; font-size: .85rem; color: var(--muted); }
.buy-dialog__steps { padding-left: 1.2em; margin: 0 0 14px; font-size: .95rem; }
.buy-dialog__steps li { margin-bottom: 6px; }
.ship-note { background: var(--gold-100); border: 1px solid var(--gold-500); border-radius: var(--r-md); padding: 12px; margin-bottom: 14px; }
.ship-note p { margin: 0 0 10px; font-size: .92rem; }
.buy-dialog__actions { display: grid; gap: 10px; }
@media (min-width: 480px) { .buy-dialog__actions { grid-template-columns: 1fr 1fr; } }
.buy-dialog .note { margin: 12px 0 0; font-size: .85rem; }

/* ---------- Hubungi / footer ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-grid a { display: flex; align-items: center; gap: 12px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px; text-decoration: none; color: var(--maroon-800); font-weight: 700; min-height: 64px; }
.contact-grid a span { display: block; font-weight: 400; color: var(--muted); font-size: .88rem; }
.contact-grid svg { width: 28px; height: 28px; flex: none; color: var(--maroon-700); }
.footer { background: var(--maroon-900); color: var(--cream-100); padding: 44px 0 32px; font-size: .95rem; }
.footer a { color: var(--gold-300); text-decoration: none; }
.footer a:hover { text-decoration: underline; color: var(--gold-100); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer__grid { grid-template-columns: 1fr; gap: 20px; } }
.footer__h { font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; color: var(--gold-300); margin-bottom: .4em; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin: 0; }
.footer li a { display: inline-flex; align-items: center; min-height: 44px; }
.footer__brand .logo { height: 56px; width: auto; margin-bottom: 12px; }
.footer__bottom { border-top: 1px solid rgba(232,199,122,.25); margin-top: 24px; padding-top: 16px; font-size: .85rem; color: var(--gold-100); }

/* ---------- Bar bawah telefon & WhatsApp terapung ---------- */
.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: none; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(51,9,15,.97); border-top: 2px solid var(--gold-500); }
.mobile-bar .btn { flex: 1; min-height: 48px; padding: .6em .8em; font-size: .95rem; }
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: var(--white); display: grid; place-items: center; box-shadow: 0 8px 22px rgba(0,0,0,.25); }
.wa-float:hover { background: var(--wa-dark); color: var(--white); }
.wa-float svg { width: 30px; height: 30px; }
@media (max-width: 920px) {
  .mobile-bar { display: flex; }
  .wa-float { display: none; }
  body { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

/* Dialog: butang tindakan melekat di bawah supaya sentiasa kelihatan di telefon */
.buy-dialog__inner { padding-bottom: 0; }
.buy-dialog__actions { position: sticky; bottom: 0; background: var(--white); padding: 12px 0 16px; margin-top: 12px; border-top: 1px solid var(--line); }
.buy-dialog .note { margin: 0; }
.ship-note { font-size: .92rem; }
.ship-note a { font-weight: 700; }
@media (max-width: 479px) {
  .buy-dialog__head h2 { font-size: 1.15rem; }
  .buy-dialog__inner { padding: 14px 14px 0; }
  .qty { margin: 10px 0; }
  .buy-dialog__steps { margin-bottom: 10px; }
}
.size-fixed > span { display: block; }
