/* =========================================================
   Mahligai Seni — "Rumah yang bercahaya"
   Krim hangat, espresso, emas champagne. Serif untuk tajuk,
   sans bersih untuk teks. Mobile dahulu (360–430px).
   ========================================================= */

:root {
  --paper: #f6f1e8;
  --paper-2: #eee6d8;
  --paper-3: #e3d6c1;
  --card: #fffdf8;
  --cream: #fbf6ec;
  --ink: #241d18;
  --ink-soft: #62564b;
  --espresso: #2b221c;
  --espresso-2: #3b2f26;
  --espresso-3: #1c1611;
  --champagne: #d6ba8a;
  --champagne-2: #ead7b3;
  --gold-text: #7a5a2a;      /* emas untuk teks atas krim (AA) */
  --line: #dacdb6;
  --line-soft: #e8dece;
  --danger: #9a3322;
  --ok: #2e6b3f;
  --wa: #167a43;
  --shopee: #ee4d2d;

  --f-display: "Fraunces", Georgia, "Times New Roman", serif;
  --f-body: "Hanken Grotesk", "Segoe UI", system-ui, sans-serif;

  --r-sm: 8px;
  --r: 12px;
  --r-lg: 16px;
  --shadow: 0 1px 2px rgba(43, 34, 28, .05), 0 14px 32px -20px rgba(43, 34, 28, .45);
  --shadow-lg: 0 34px 80px -34px rgba(28, 22, 17, .6);
  --wrap: 1320px;
  --gutter: clamp(16px, 4vw, 48px);
  --header-h: 64px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (min-width: 1024px) { :root { --header-h: 84px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 8px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background-color: var(--paper);
  background-image: radial-gradient(rgba(122, 90, 42, .04) 1px, transparent 1px);
  background-size: 4px 4px;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
body.is-locked, body.menu-open { overflow: hidden; }
img { max-width: 100%; display: block; }
button, input, select { font: inherit; color: inherit; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 400; line-height: 1.1; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
/* Atribut hidden sentiasa menang */
[hidden] { display: none !important; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--espresso); color: var(--cream); padding: 10px 16px; text-decoration: none; border-radius: var(--r-sm);
}
.skip-link:focus { top: 12px; }

:focus { outline: none; }
:focus-visible { outline: 2px solid var(--gold-text); outline-offset: 3px; border-radius: 4px; }

/* ---------- Butang ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: 0 1.4rem;
  font-family: var(--f-body); font-weight: 600; font-size: .95rem; letter-spacing: .01em;
  text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; border-radius: 999px; cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn .arr { display: inline-block; transition: transform .3s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn-gold { background: var(--champagne); color: var(--espresso-3); border-color: var(--champagne); }
.btn-gold:hover { background: var(--champagne-2); border-color: var(--champagne-2); box-shadow: 0 10px 24px -12px rgba(214, 186, 138, .9); }
.btn-dark, .btn-primary { background: var(--espresso); color: var(--cream); border-color: var(--espresso); }
.btn-dark:hover, .btn-primary:hover { background: var(--espresso-3); }
.btn-outline { background: transparent; color: var(--espresso); border-color: var(--espresso); }
.btn-outline:hover { background: var(--espresso); color: var(--cream); }
.btn-line-light { background: transparent; color: var(--cream); border-color: rgba(251, 246, 236, .35); }
.btn-line-light:hover { border-color: var(--champagne); color: var(--champagne-2); }
.btn-shopee { width: 100%; min-height: 56px; font-size: 1rem; }
.btn-shopee svg { width: 18px; height: 18px; }

.linklike {
  background: none; border: 0; padding: 0; color: var(--espresso); text-decoration: underline;
  text-underline-offset: 3px; cursor: pointer; font-weight: 600;
}

/* Label kecil huruf besar */
.kicker, .kicker-title {
  font-family: var(--f-body); font-size: .75rem; font-weight: 600; letter-spacing: .26em;
  text-transform: uppercase; color: var(--gold-text); line-height: 1.4;
}
.kicker-title { color: var(--ink); font-size: .75rem; letter-spacing: .22em; }
@media (max-width: 399px) { .kicker-title { letter-spacing: .14em; } }
.section-title { font-size: clamp(1.9rem, 5.4vw, 3rem); color: var(--espresso); }
.section-head { display: grid; gap: .5rem; margin-bottom: clamp(1.25rem, 3vw, 2rem); }
.section-note { color: var(--ink-soft); }

.row-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.see-all {
  flex: none; font-size: .84rem; font-weight: 500; color: var(--ink); text-decoration: none;
  display: inline-flex; gap: .4em; align-items: center; min-height: 44px; padding: 0;
}
.see-all span { transition: transform .3s var(--ease); }
.see-all:hover span { transform: translateX(3px); }
.see-all:hover { color: var(--gold-text); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(246, 241, 232, .94);
  backdrop-filter: saturate(1.2) blur(10px);
  -webkit-backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.header-bar {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  height: var(--header-h); padding: 0 calc(var(--gutter) - 10px);
}
.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px;
  background: none; border: 0; padding: 0; border-radius: 50%; cursor: pointer; color: var(--espresso);
  text-decoration: none; transition: background-color .2s var(--ease);
}
.icon-btn:hover { background: rgba(43, 34, 28, .06); }
.icon-btn svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.menu-btn { justify-self: start; }
.brand { justify-self: center; display: flex; flex-direction: column; align-items: center; text-decoration: none; color: var(--ink); }
.brand-logo { height: 34px; width: auto; }
.brand-tag { margin-top: 3px; font-size: 9px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; color: var(--ink); }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 0; }
.shop-btn { width: auto; min-width: 44px; padding: 0 6px; border-radius: 999px; display: inline-flex; gap: 4px; }
/* Beg Shopee oren berisi dengan huruf S putih: tanda jenama Shopee, bukan troli */
.shop-btn svg path:first-child { fill: var(--shopee); stroke: var(--shopee); }
.shop-btn svg path:nth-child(2) { stroke: var(--shopee); stroke-width: 1.8; }
.shop-btn svg .s { stroke: #fff; stroke-width: 1.9; }
.shop-label { font-size: .75rem; font-weight: 700; letter-spacing: .01em; color: #c2381c; display: none; }
@media (min-width: 440px) { .shop-label { display: inline; } .shop-btn { padding: 0 8px 0 4px; } }

@media (min-width: 1024px) {
  .site-header {
    background: transparent; border: 0; backdrop-filter: none; -webkit-backdrop-filter: none;
    padding: 12px var(--gutter) 0; pointer-events: none;
  }
  .header-bar {
    pointer-events: auto; max-width: calc(var(--wrap) - 2 * var(--gutter)); margin: 0 auto;
    height: calc(var(--header-h) - 12px); padding: 0 14px;
    background: rgba(250, 247, 240, .95); border-radius: 14px;
    box-shadow: 0 10px 30px -18px rgba(28, 22, 17, .5), 0 0 0 1px rgba(218, 205, 182, .6);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  }
  .brand-logo { height: 38px; }
  .brand-tag { font-size: 10px; letter-spacing: .16em; }
  .shop-label { font-size: .85rem; }
}

/* ---------- Hero slider ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  height: clamp(440px, 114vw, 500px);
  background: var(--espresso-3); color: var(--cream);
}
@media (min-width: 720px) { .hero { height: clamp(520px, 72vw, 640px); } }
@media (min-width: 1024px) {
  .hero { margin-top: calc(var(--header-h) * -1); height: clamp(620px, 88vh, 800px); }
}
.hero-slides { position: absolute; inset: 0; }
.slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.2s var(--ease); }
.slide.is-active { opacity: 1; z-index: 1; }
.slide img {
  width: 100%; height: 100%; object-fit: cover; object-position: var(--pos-m, 50% 50%);
  filter: brightness(.9) saturate(.9) sepia(.14);
  transform: scale(1.07); transition: transform 7s linear;
}
.slide.is-active img { transform: scale(1); }
@media (min-width: 1024px) { .slide img { object-position: var(--pos-d, 50% 50%); } }
/* Telefon/tablet: biar cahaya LED kekal terang; bayang .hero-shade sudah cukup untuk teks */
@media (max-width: 1023px) { .slide img { filter: none; } }
@media (prefers-reduced-motion: reduce) { .slide img, .slide.is-active img { transform: none; } }

.hero-shade {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    linear-gradient(to left, rgba(24, 18, 13, .84) 0%, rgba(24, 18, 13, .66) 36%, rgba(24, 18, 13, .3) 60%, rgba(24, 18, 13, .06) 84%),
    linear-gradient(to top, rgba(24, 18, 13, .9) 0%, rgba(24, 18, 13, .55) 22%, rgba(24, 18, 13, 0) 42%);
}
@media (min-width: 1024px) {
  .hero-shade {
    background:
      radial-gradient(60% 45% at 100% 100%, rgba(24, 18, 13, .75), rgba(24, 18, 13, 0)),
      linear-gradient(to right, rgba(24, 18, 13, .88) 0%, rgba(24, 18, 13, .66) 34%, rgba(24, 18, 13, .12) 62%, rgba(24, 18, 13, 0) 100%),
      linear-gradient(to top, rgba(24, 18, 13, .7) 0%, rgba(24, 18, 13, 0) 30%),
      linear-gradient(to bottom, rgba(24, 18, 13, .35) 0%, rgba(24, 18, 13, 0) 22%);
  }
}
.hero-inner {
  position: relative; z-index: 3; height: 100%;
  max-width: var(--wrap); margin: 0 auto;
  padding: 26px var(--gutter) 18px;
  display: grid; grid-template-rows: 1fr auto; gap: 16px;
}
@media (min-width: 1024px) { .hero-inner { padding-top: calc(var(--header-h) + 40px); padding-bottom: 32px; } }

.hero-copy { align-self: center; justify-self: end; width: max(58%, 205px); text-shadow: 0 2px 18px rgba(0, 0, 0, .45); }
.hero-copy > * { animation: rise .9s var(--ease) both; }
.hero-copy > :nth-child(2) { animation-delay: .08s; }
.hero-copy > :nth-child(3) { animation-delay: .16s; }
.hero-copy > :nth-child(4) { animation-delay: .24s; }
@keyframes rise { from { transform: translateY(14px); opacity: .01; } to { transform: none; opacity: 1; } }
.hero-eyebrow {
  font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--champagne-2);
}
.hero-eyebrow::after { content: ""; display: block; width: 42px; height: 1px; margin: .8rem 0 .9rem; background: var(--champagne); }
.hero-title {
  font-size: clamp(1.7rem, 7.6vw, 2.7rem); line-height: 1.08; color: var(--cream);
  font-variation-settings: "opsz" 60; text-wrap: balance;
}
.hero-sub { margin: .8rem 0 1.2rem; font-size: .86rem; line-height: 1.5; color: rgba(251, 246, 236, .86); max-width: 26rem; }
.hero-cta { min-height: 44px; padding: 0 1rem; font-size: .84rem; }
@media (min-width: 400px) { .hero-cta { padding: 0 1.2rem; font-size: .88rem; } }

.hero-foot { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.hero-cap {
  display: grid; gap: 2px; max-width: min(56%, 250px); text-decoration: none; color: var(--cream);
  text-shadow: 0 1px 8px rgba(0, 0, 0, .6);
  transition: opacity .4s var(--ease);
}
.hero-cap.is-swapping { opacity: 0; }
.cap-name { font-size: .82rem; font-weight: 600; }
.cap-sub { font-size: .75rem; line-height: 1.4; color: rgba(251, 246, 236, .94); }
.hero-cap:hover .cap-name { text-decoration: underline; text-underline-offset: 3px; }
.hero-cap:focus-visible { outline-color: var(--champagne); }
.hero-ctrl { display: flex; align-items: center; gap: 0; }
.hero-dots { display: flex; align-items: center; }
.dot {
  display: grid; place-items: center; width: 36px; height: 44px; padding: 0;
  background: none; border: 0; cursor: pointer;
}
.dot::before {
  content: ""; width: 6px; height: 6px; border-radius: 3px; background: rgba(251, 246, 236, .45);
  transition: width .35s var(--ease), background-color .35s var(--ease);
}
.dot[aria-current="true"]::before { width: 18px; background: var(--cream); }
.dot:hover::before { background: var(--champagne-2); }
.dot:focus-visible, .hero-pause:focus-visible { outline-color: var(--champagne); outline-offset: 0; }
.hero-pause {
  position: relative; display: grid; place-items: center; width: 44px; height: 44px; padding: 0;
  background: transparent; border: 0; border-radius: 50%; cursor: pointer; color: var(--cream);
}
/* Bulatan 28px yang dilukis; kawasan ketik kekal 44px */
.hero-pause::before {
  content: ""; position: absolute; left: 8px; top: 8px; width: 28px; height: 28px; box-sizing: border-box;
  border: 1px solid rgba(251, 246, 236, .4); border-radius: 50%;
}
.hero-pause svg { width: 11px; height: 11px; fill: currentColor; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.hero-pause .i-play, .hero-pause[aria-pressed="true"] .i-pause { display: none; }
.hero-pause[aria-pressed="true"] .i-play { display: block; }

@media (min-width: 1024px) {
  .hero-copy { justify-self: start; width: min(600px, 50%); }
  .hero-eyebrow { font-size: .76rem; }
  .hero-title { font-size: clamp(2.9rem, 4.6vw, 4.3rem); }
  .hero-sub { font-size: 1.1rem; margin: 1.1rem 0 1.8rem; }
  .hero-cta { min-height: 54px; padding: 0 1.7rem; font-size: 1rem; }
  .hero-foot { flex-direction: row-reverse; justify-content: space-between; align-items: flex-end; }
  .hero-cap { max-width: 340px; text-align: right; }
  .cap-name { font-family: var(--f-display); font-size: 1.2rem; font-weight: 500; }
  .cap-sub { font-size: .82rem; }
}

/* Telefon/tablet: teks di kanan merentangi tinggi hero; kapsyen di kiri bawah; titik di baris bawah */
@media (max-width: 1023px) {
  .hero-inner {
    --copy-w: max(54%, 200px);
    grid-template-columns: minmax(0, 1fr) var(--copy-w); grid-template-rows: minmax(0, 1fr) auto;
    column-gap: 12px; row-gap: 0; padding: 16px var(--gutter) 2px;
  }
  .hero-copy { grid-column: 2; grid-row: 1; width: auto; justify-self: stretch; align-self: center; }
  .hero-title { font-size: clamp(1.9rem, 8.4vw, 2.6rem); text-wrap: wrap; }
  .hero-cta { padding: 0 .9rem; }
  .hero-foot { display: contents; }
  .hero-cap { grid-column: 1; grid-row: 1; align-self: end; max-width: none; margin-bottom: 6px; }
  .hero-ctrl { grid-column: 1 / -1; grid-row: 2; margin-left: -8px; }
}
@media (min-width: 1024px) { .hero-title br.m { display: none; } }

/* ---------- Pendedahan semasa tatal ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Inspirasi mengikut ruang ---------- */
.rooms { padding: 26px 0 30px; }
.room-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.room-card {
  position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden;
  border-radius: 10px; background: var(--espresso-2); color: var(--cream); text-decoration: none;
  box-shadow: var(--shadow); isolation: isolate;
}
.room-card img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%);
  filter: brightness(.8) sepia(.18) saturate(.9);
  transition: transform .9s var(--ease), filter .5s var(--ease);
}
.room-card::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(24, 18, 13, .92) 0%, rgba(24, 18, 13, .55) 38%, rgba(24, 18, 13, .05) 70%);
}
.room-card:hover img { transform: scale(1.06); filter: brightness(.9) sepia(.12); }
.room-card[aria-current="true"] { box-shadow: 0 0 0 2px var(--champagne), var(--shadow); }
.room-label { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; display: grid; gap: 1px; padding: 8px 8px 9px; }
.room-label svg { width: 20px; height: 20px; margin-bottom: 3px; fill: none; stroke: var(--champagne-2); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.room-name { font-size: .8rem; font-weight: 600; line-height: 1.2; }
.room-more { font-size: .75rem; line-height: 1.3; color: rgba(251, 246, 236, .88); }
.room-card:focus-visible { outline-offset: 3px; }
/* Telefon: keempat-empat kad dalam satu baris seperti mockup, tanpa leret */
@media (max-width: 599px) {
  .room-grid { gap: 6px; margin-inline: -6px; }
  .room-label { padding: 8px 6px 9px; }
  .room-name, .room-more { white-space: nowrap; }
}
@media (max-width: 399px) { .room-name { font-size: .75rem; } }
/* Anak panah hanya bila muat; teks "Lihat Koleksi" kekal */
@media (max-width: 439px) { .room-more > span { display: none; } }
@media (min-width: 720px) {
  .room-grid { gap: 14px; }
  .room-card { aspect-ratio: 4 / 4.2; border-radius: var(--r-lg); }
  .room-label { padding: 16px 18px 18px; gap: 2px; }
  .room-label svg { width: 26px; height: 26px; margin-bottom: 6px; }
  .room-name { font-family: var(--f-display); font-weight: 500; font-size: 1.3rem; }
  .room-more { font-size: .8rem; }
}
@media (min-width: 1024px) {
  .rooms { padding: 64px 0 56px; }
  .rooms .kicker-title, .picks .section-title {
    font-family: var(--f-display); font-size: clamp(2rem, 3vw, 2.6rem); letter-spacing: -.01em; text-transform: none;
    font-weight: 400; color: var(--espresso);
  }
  .row-head { margin-bottom: 1.5rem; }
  .room-card { aspect-ratio: 4 / 3.6; }
}

/* ---------- Cerita ---------- */
.story {
  position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(100deg, #efe6d6 0%, #e9dfcd 100%);
  border-block: 1px solid var(--line-soft);
}
.story-img {
  position: absolute; top: 0; right: 0; bottom: 0; width: 60%; height: 100%; object-fit: cover; object-position: 60% 50%;
  z-index: -1; filter: sepia(.12) saturate(.95);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, transparent 12%, rgba(0, 0, 0, .5) 40%, #000 68%);
          mask-image: linear-gradient(to right, transparent 0%, transparent 12%, rgba(0, 0, 0, .5) 40%, #000 68%);
}
.story-inner { padding-block: 34px 36px; }
.story-copy { max-width: 62%; display: grid; justify-items: start; }
.story-title { margin: .55rem 0 .7rem; font-size: clamp(1.6rem, 6.4vw, 3rem); color: var(--espresso-3); text-wrap: balance; }
.story-text { font-size: .86rem; line-height: 1.55; color: var(--ink); margin-bottom: 1.2rem; max-width: 30rem; }
.story .kicker { font-size: .75rem; color: var(--ink); letter-spacing: .14em; }
.story .btn { min-height: 44px; font-size: .86rem; padding: 0 1.25rem; }
@media (max-width: 719px) {
  .story-copy { max-width: 56%; }
  .story-img {
    width: 52%;
    -webkit-mask-image: linear-gradient(to right, transparent 0, transparent 25%, rgba(0, 0, 0, .6) 50%, #000 75%);
            mask-image: linear-gradient(to right, transparent 0, transparent 25%, rgba(0, 0, 0, .6) 50%, #000 75%);
  }
}
@media (min-width: 720px) {
  .story-inner { padding-block: 72px; }
  .story-copy { max-width: 48%; }
  .story-text { font-size: 1.05rem; }
  .story .kicker { font-size: .72rem; }
  .story .btn { min-height: 50px; font-size: .95rem; padding: 0 1.5rem; }
  .story-img { width: 62%; }
}
@media (min-width: 1024px) { .story-inner { padding-block: 96px; } .story-copy { max-width: 520px; } }

/* ---------- Ciri ---------- */
.features { background: var(--card); border-bottom: 1px solid var(--line-soft); }
.feature-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding-block: 20px; }
.feature-row li { display: grid; justify-items: center; align-content: start; text-align: center; gap: 3px; padding: 4px 4px; }
.feature-row li + li { border-left: 1px solid var(--line); }
.feature-row svg { width: 28px; height: 28px; margin-bottom: 6px; fill: none; stroke: var(--espresso); stroke-width: 1.3; stroke-linejoin: round; stroke-linecap: round; }
.feature-row h3 { font-family: var(--f-body); font-size: .78rem; font-weight: 700; letter-spacing: 0; line-height: 1.25; color: var(--espresso-3); }
.feature-row p { font-size: .75rem; line-height: 1.35; color: var(--ink-soft); }
@media (max-width: 379px) {
  .feature-row { grid-template-columns: 1fr 1fr; row-gap: 14px; }
  .feature-row li:nth-child(3) { border-left: 0; }
}
@media (min-width: 720px) {
  .feature-row { padding-block: 36px; }
  .feature-row svg { width: 36px; height: 36px; margin-bottom: 10px; }
  .feature-row h3 { font-size: 1rem; }
  .feature-row p { font-size: .88rem; }
}

/* ---------- Koleksi pilihan ---------- */
.picks { padding: 34px 0 40px; }
.pick-row {
  display: grid; grid-auto-flow: column; grid-auto-columns: 78%; gap: 12px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 14px; scroll-padding-inline: var(--gutter);
}
.pick-row::-webkit-scrollbar { display: none; }
.pick-row li { scroll-snap-align: start; }
@media (min-width: 600px) { .pick-row { grid-auto-columns: 44%; } }
@media (min-width: 1024px) {
  .picks { padding: 56px 0 72px; }
  .pick-row {
    grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px; overflow: visible; margin: 0; padding: 0;
  }
}
.pick {
  display: flex; flex-direction: column; height: 100%; overflow: hidden;
  background: var(--card); border-radius: var(--r-lg); text-decoration: none; color: var(--ink);
  box-shadow: 0 0 0 1px var(--line-soft), var(--shadow);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.pick:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px var(--line), 0 26px 44px -26px rgba(28, 22, 17, .55); }
.pick-media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--espresso-2); }
.pick-media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); filter: sepia(.08); transition: transform 1s var(--ease); }
.pick:hover .pick-media img { transform: scale(1.05); }
.pick-body { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; align-items: center; padding: 14px 16px 16px; flex: 1; }
.pick-name { grid-column: 1; font-family: var(--f-display); font-size: 1.14rem; line-height: 1.2; color: var(--espresso-3); }
.pick-sub { grid-column: 1; font-size: .8rem; line-height: 1.4; color: var(--ink-soft); margin-top: 3px; }
.pick-arrow {
  grid-column: 2; grid-row: 1 / span 2;
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  background: var(--paper-2); color: var(--espresso); font-size: 1rem;
  transition: background-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.pick:hover .pick-arrow { background: var(--espresso); color: var(--cream); transform: translateX(2px); }
@media (min-width: 1024px) { .pick-name { font-size: 1.35rem; } .pick-sub { font-size: .88rem; } .pick-body { padding: 18px 20px 20px; } }

/* ---------- Katalog ---------- */
.catalogue {
  padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(3.5rem, 8vw, 5.5rem);
  background: linear-gradient(var(--paper-2), var(--paper) 480px);
  border-top: 1px solid var(--line-soft);
}
.catalogue:focus { outline: none; }
.toolbar {
  position: sticky; top: var(--header-h); z-index: 20;
  margin: 0 calc(var(--gutter) * -1) 1.5rem; padding: .8rem var(--gutter);
  background: rgba(238, 230, 216, .96);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-block: 1px solid var(--line);
  display: grid; gap: .7rem;
}
@media (max-width: 719px) { .toolbar { position: static; background: var(--paper-2); } }
.chip-row {
  display: flex; gap: .45rem; overflow-x: auto; padding-bottom: 2px;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
  -webkit-mask-image: linear-gradient(to right, #000 90%, transparent);
          mask-image: linear-gradient(to right, #000 90%, transparent);
}
.chip-row::-webkit-scrollbar { display: none; }
.chip-row::after { content: ""; flex: 0 0 2rem; }
.chip {
  flex: none; min-height: 44px; padding: 0 .95rem;
  border: 1px solid var(--line); border-radius: 999px; background: var(--card);
  font-size: .84rem; font-weight: 500; cursor: pointer; white-space: nowrap;
  transition: all .2s var(--ease);
}
.chip small { color: var(--ink-soft); font-size: .75rem; margin-left: .3rem; }
.chip:hover { border-color: var(--gold-text); }
.chip[aria-pressed="true"] { background: var(--espresso); border-color: var(--espresso); color: var(--cream); }
.chip[aria-pressed="true"] small { color: var(--champagne-2); }

.toolbar-controls { display: grid; grid-template-columns: 1fr 1fr; gap: .55rem; }
.toolbar-controls .field-search { grid-column: 1 / -1; }
@media (min-width: 720px) {
  .toolbar-controls { grid-template-columns: minmax(0, 1fr) auto auto; }
  .toolbar-controls .field-search { grid-column: auto; }
}
.field { position: relative; display: flex; align-items: center; }
.field-search input {
  width: 100%; min-height: 46px; padding: 0 2.9rem 0 2.6rem;
  background: var(--card); border: 1px solid var(--line); border-radius: 999px;
  font-size: 16px;
}
.field-search input::placeholder { color: #6d6258; }
.field-search input:focus-visible { outline: 2px solid var(--espresso); outline-offset: 0; border-color: var(--espresso); }
.field-icon { position: absolute; left: .95rem; width: 18px; height: 18px; fill: none; stroke: var(--ink-soft); stroke-width: 1.8; stroke-linecap: round; pointer-events: none; }
.field-select { gap: .55rem; min-width: 0; }
.field-select label { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--ink-soft); }
@media (max-width: 719px) {
  .field-select label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
.field-select select {
  flex: 1; min-width: 0; width: 100%; min-height: 46px; padding: 0 2.3rem 0 1rem;
  background: var(--card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%232b221c' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right .95rem center;
  border: 1px solid var(--line); border-radius: 999px;
  appearance: none; -webkit-appearance: none; cursor: pointer; font-size: 16px; text-overflow: ellipsis;
}
.field-select select:focus-visible { outline: 2px solid var(--espresso); outline-offset: 0; }
.toolbar-status { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; }
.result-count { font-size: .84rem; color: var(--ink-soft); }
.result-count strong { color: var(--espresso); }
.room-active {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: 0 0 0 .9rem; border-radius: 999px;
  background: var(--espresso); color: var(--cream); font-size: .82rem;
}
.room-active b { color: var(--champagne-2); font-weight: 600; }
.room-clear {
  display: inline-flex; align-items: center; gap: .3rem; min-height: 44px; padding: 0 .85rem;
  background: rgba(251, 246, 236, .12); border: 0; border-radius: 999px; color: var(--cream);
  font-size: .78rem; font-weight: 600; cursor: pointer;
}
.room-clear svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.room-clear:hover { background: var(--champagne); color: var(--espresso-3); }
.room-clear:focus-visible { outline-color: var(--champagne); }

.grid {
  grid-auto-flow: row dense;
  display: grid; gap: clamp(.7rem, 2vw, 1.4rem);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 720px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.card {
  position: relative; height: 100%; overflow: hidden;
  display: flex; flex-direction: column;
  background: var(--card); border-radius: var(--r);
  box-shadow: 0 0 0 1px var(--line-soft);
  transition: box-shadow .3s var(--ease), transform .3s var(--ease);
}
.card:hover { box-shadow: 0 0 0 1px var(--line), var(--shadow); transform: translateY(-3px); }
.card:focus-within { box-shadow: 0 0 0 2px var(--espresso); }
.card-media { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: var(--paper-2); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card:hover .card-media img { transform: scale(1.04); }
.card-tag {
  position: absolute; left: 8px; top: 8px;
  padding: .2rem .55rem; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  background: rgba(255, 253, 248, .94); color: var(--espresso); border-radius: 999px;
}
.card-tag.out { color: #fff; background: var(--danger); }
.card-body { display: flex; flex-direction: column; gap: .3rem; flex: 1; padding: .75rem .85rem .85rem; }
.card-coll { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-text); font-weight: 600; }
.card-title { font-family: var(--f-body); font-size: .9rem; font-weight: 500; line-height: 1.35; letter-spacing: 0; }
.card-title a {
  text-decoration: none; color: var(--ink);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  min-height: calc(1.35em * 2);
}
.card-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card-title a:focus-visible { outline: none; }
.card-foot { margin-top: auto; display: flex; align-items: baseline; justify-content: space-between; gap: .5rem; flex-wrap: wrap; padding-top: .35rem; }
.price { font-family: var(--f-display); font-size: 1.12rem; font-weight: 500; color: var(--espresso-3); line-height: 1.2; }
.price .from { font-family: var(--f-body); font-size: .75rem; font-weight: 500; color: var(--ink-soft); letter-spacing: .04em; margin-right: .2rem; }
.sold { font-size: .74rem; color: var(--ink-soft); }
.card-shop {
  position: relative; z-index: 2;
  display: inline-flex; align-items: center; gap: .3rem; align-self: flex-start;
  margin-top: .2rem; min-height: 44px;
  font-size: .8rem; font-weight: 700; letter-spacing: .02em;
  color: var(--gold-text); text-decoration: none; border-bottom: 1px solid var(--line);
}
.card-shop:hover { color: var(--espresso); border-bottom-color: var(--espresso); }

.empty { text-align: center; padding: 3rem 1rem; color: var(--ink-soft); }
.empty svg { width: 48px; height: 48px; margin: 0 auto 1rem; color: var(--gold-text); }
.more-wrap { display: grid; justify-items: center; gap: .9rem; margin-top: 2.5rem; }
.more-note { font-size: .8rem; color: var(--ink-soft); }
.more-note:empty { display: none; }
.load-error { margin-top: 2rem; padding: 1rem; border: 1px solid var(--danger); color: var(--danger); background: #fff6f2; border-radius: var(--r-sm); }

/* Butang kosongkan carian */
.field-search input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
.search-clear {
  position: absolute; right: 5px; top: 50%; transform: translateY(-50%);
  width: 36px; height: 36px; display: grid; place-items: center;
  background: transparent; border: 0; border-radius: 50%; cursor: pointer; color: var(--ink-soft);
}
.search-clear svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.search-clear:hover { background: var(--paper-3); color: var(--espresso); }

/* Penerangan koleksi terpilih */
.coll-desc {
  margin: -.5rem 0 1.5rem; padding: .7rem .95rem;
  font-size: .9rem; color: var(--ink-soft);
  background: var(--card); border-left: 3px solid var(--champagne); border-radius: 0 var(--r-sm) var(--r-sm) 0;
}
.coll-desc strong { color: var(--espresso); font-family: var(--f-display); font-size: 1rem; font-weight: 500; margin-right: .35rem; }

/* Kad rangka semasa memuatkan */
.sk-card { background: var(--card); border-radius: var(--r); overflow: hidden; padding-bottom: 1rem; box-shadow: 0 0 0 1px var(--line-soft); }
.sk-media { aspect-ratio: 1 / 1; }
.sk-line { height: .8rem; margin: .8rem .75rem 0; border-radius: 4px; }
.sk-line.short { width: 45%; }
.skeleton {
  background: linear-gradient(100deg, var(--paper-2) 30%, var(--paper) 50%, var(--paper-2) 70%);
  background-size: 300% 100%;
  animation: shimmer 1.6s linear infinite;
}
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: 0 0; } }

/* Paparkan lagi + bar kemajuan */
.more-n { font-weight: 500; opacity: .75; letter-spacing: .02em; }
.more-status { display: grid; justify-items: center; gap: .45rem; width: min(260px, 100%); }
.more-progress { width: 100%; height: 3px; background: var(--line-soft); overflow: hidden; border-radius: 2px; }
.more-bar { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--espresso), var(--champagne)); transition: width .4s var(--ease); }

/* Kad berganda untuk hiasan dinding pada paparan Terlaris */
.grid > li.is-feature { grid-column: span 2; }
.card--feature .card-title { font-family: var(--f-display); font-size: clamp(1.05rem, 1.8vw, 1.3rem); font-weight: 400; }
.card--feature .price { font-size: 1.35rem; }
@media (min-width: 720px) {
  .grid > li.is-feature { grid-row: span 2; }
  .card--feature .card-media { aspect-ratio: auto; flex: 1 1 auto; min-height: 220px; }
  .card--feature .card-media img { position: absolute; inset: 0; }
}
.card-ribbon {
  position: absolute; right: 10px; bottom: 10px;
  padding: .3rem .7rem; font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  background: var(--espresso); color: var(--champagne-2); border-radius: 999px;
}

/* Pudar masuk gambar selepas dimuat */
img.fade { opacity: 0; transition: opacity .45s var(--ease), transform .8s var(--ease); }
img.fade.loaded { opacity: 1; }
@media (scripting: none) { img.fade { opacity: 1; } }

/* ---------- Ulasan pelanggan ---------- */
.reviews { padding-block: clamp(3.5rem, 8vw, 6rem); border-top: 1px solid var(--line-soft); }
.reviews-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.25rem 2rem; margin-bottom: clamp(1.5rem, 3vw, 2.25rem); }
.reviews-head .section-head { margin-bottom: 0; }
.rating-badge { display: grid; gap: .2rem; justify-items: end; text-decoration: none; color: var(--espresso); }
.rb-score { font-family: var(--f-display); font-size: clamp(3rem, 7vw, 4.4rem); line-height: .9; }
.rb-score small { font-family: var(--f-body); font-size: 1rem; color: var(--ink-soft); margin-left: .2rem; }
.rb-count { font-size: .9rem; color: var(--ink-soft); border-bottom: 1px solid var(--line); padding-bottom: .1rem; }
.rating-badge:hover .rb-count, .rating-badge:focus-visible .rb-count { color: var(--gold-text); border-color: var(--gold-text); }
@media (max-width: 719px) { .rating-badge { justify-items: start; } }

.review-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(82vw, 360px);
  column-gap: clamp(1rem, 2.4vw, 1.75rem);
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 0;
  padding-bottom: 1rem; scrollbar-width: thin; scrollbar-color: var(--line) transparent;
}
@media (min-width: 1080px) { .review-track { grid-auto-columns: calc((100% - 2 * 1.75rem) / 3); } }
.review-track:focus-visible { outline: 2px solid var(--gold-text); outline-offset: 4px; }
/* position: relative supaya teks .sr-only (absolute) dalam kad dipotong oleh penatal;
   tanpanya ia melimpah dan Chrome mudah alih melebarkan viewport (butang WhatsApp hilang dari skrin) */
.review-track, .rv-card { position: relative; }
.rv-card { scroll-snap-align: start; display: flex; flex-direction: column; overflow: hidden; background: var(--card); border-radius: var(--r-lg); box-shadow: 0 0 0 1px var(--line-soft), var(--shadow); }
.rv-photo { aspect-ratio: 4 / 5; background: var(--paper-2); overflow: hidden; }
.rv-photo img { width: 100%; height: 100%; object-fit: contain; }
.rv-thumbs { display: flex; gap: .45rem; padding: .6rem .9rem 0; }
.rv-thumb { width: 56px; height: 56px; padding: 0; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: var(--paper-2); cursor: pointer; opacity: .65; transition: opacity .2s var(--ease), border-color .2s var(--ease); }
.rv-thumb img { width: 100%; height: 100%; object-fit: cover; }
.rv-thumb:hover, .rv-thumb.is-on { opacity: 1; border-color: var(--gold-text); }
.rv-body { display: flex; flex-direction: column; gap: .6rem; padding: 1rem 1.1rem 1.2rem; flex: 1; }
.rv-stars { margin: 0; color: var(--gold-text); letter-spacing: .15em; font-size: .95rem; }
.rv-text { margin: 0; display: grid; gap: .25rem; color: var(--ink); font-size: .95rem; line-height: 1.55; }
.rv-kv b { font-weight: 600; color: var(--espresso); }
.rv-meta { margin: auto 0 0; font-size: .82rem; color: var(--ink-soft); padding-top: .5rem; border-top: 1px solid var(--line-soft); }
.rv-buyer { font-weight: 600; color: var(--ink); }
.rv-product { font-size: .85rem; color: var(--gold-text); text-decoration: none; font-weight: 600; }
.rv-product:hover, .rv-product:focus-visible { text-decoration: underline; }
.review-nav { display: flex; justify-content: flex-end; gap: .5rem; margin-top: 1rem; }
.review-btn { width: 44px; height: 44px; border: 1px solid var(--espresso); border-radius: 50%; background: transparent; color: var(--espresso); font-size: 1.1rem; cursor: pointer; }
.review-btn:hover:not(:disabled) { background: var(--espresso); color: var(--cream); }
.review-btn:disabled { opacity: .35; cursor: default; }

/* ---------- Lokasi / kunjungan ---------- */
.visit { padding-block: clamp(3.5rem, 8vw, 6rem); background: var(--paper-2); border-top: 1px solid var(--line-soft); }
.visit-head { display: grid; gap: 1rem 3rem; align-items: end; margin-bottom: clamp(1.75rem, 4vw, 3rem); }
@media (min-width: 860px) { .visit-head { grid-template-columns: 1.2fr 1fr; } }
.visit-title { font-size: clamp(2.3rem, 6vw, 4rem); color: var(--espresso-3); line-height: 1.04; }
.visit-title em { color: var(--gold-text); font-style: italic; }
.visit-lede { margin: 0; color: var(--ink-soft); max-width: 30rem; font-size: 1.05rem; justify-self: end; }
.visit-grid { display: grid; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: stretch; }
@media (min-width: 860px) { .visit-grid { grid-template-columns: 1.1fr 1fr; } }
.visit-media { margin: 0; min-height: 320px; background: var(--paper-3); border-radius: var(--r-lg); box-shadow: 0 0 0 1px var(--line), var(--shadow); overflow: hidden; }
.visit-media img { width: 100%; height: 100%; object-fit: cover; }
.visit-map { display: block; width: 100%; height: 100%; min-height: 420px; border: 0; }
.visit-info { display: flex; flex-direction: column; gap: 1rem; align-self: center; }
.visit-name { font-size: clamp(1.9rem, 4vw, 2.6rem); color: var(--espresso-3); }
.visit-address { font-style: normal; color: var(--ink-soft); line-height: 1.75; font-size: 1.02rem; }
.visit-hours { border-top: 1px solid var(--line); padding-top: 1rem; display: grid; gap: .6rem; }
.visit-hours h4 { margin: 0; font-family: var(--f-body); font-size: 1rem; font-weight: 600; color: var(--ink); }
.visit-hours dl { margin: 0; display: grid; grid-template-columns: 1fr auto; gap: .45rem 2rem; max-width: 26rem; }
.visit-hours dt { color: var(--ink); }
.visit-hours dd { margin: 0; text-align: right; color: var(--ink); font-variant-numeric: tabular-nums; }
.visit-small { margin: 0; font-size: .85rem; color: var(--ink-soft); max-width: 30rem; }
.visit-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: .5rem; }
.visit-wa { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; color: var(--espresso); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; font-weight: 600; }
.visit-wa svg { width: 22px; height: 22px; }
.visit-wa:hover, .visit-wa:focus-visible { color: var(--gold-text); }
@media (max-width: 719px) {
  .visit-map { min-height: 320px; }
  .visit-lede { justify-self: start; }
  .rv-photo { aspect-ratio: 1 / 1; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--espresso-3); color: #e9e0d0; padding-top: clamp(3rem, 6vw, 4.5rem); }
.footer-inner { display: grid; gap: 2rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(214, 186, 138, .25); }
@media (min-width: 900px) { .footer-inner { grid-template-columns: 1.1fr .8fr 1.1fr; align-items: start; } }
.footer-logo { display: block; width: clamp(170px, 40vw, 230px); height: auto; }
.footer-line { margin-top: .75rem; max-width: 24rem; color: #cbbfae; font-size: .95rem; }
.footer-nav { display: grid; gap: 0; align-content: start; }
.footer-nav a { display: inline-flex; align-items: center; min-height: 44px; color: #e9e0d0; text-decoration: none; padding: 0; font-size: .95rem; justify-self: start; }
.footer-nav a:hover { color: var(--champagne-2); }
.footer-shop { display: grid; gap: 1.1rem; justify-items: start; }
.footer-note { color: #cbbfae; max-width: 30rem; font-size: .92rem; }
.footer-base {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .75rem;
  padding-block: 1.25rem calc(1.75rem + 72px); font-size: .82rem; color: #b3a795;
}
.footer-top { display: inline-flex; align-items: center; min-height: 44px; color: #e9e0d0; text-decoration: none; }
.footer-top:hover { color: var(--champagne-2); }
.site-footer :focus-visible { outline-color: var(--champagne-2); }

/* ---------- WhatsApp terapung ---------- */
.wa-float {
  position: fixed; z-index: 60;
  right: max(14px, env(safe-area-inset-right)); bottom: calc(12px + env(safe-area-inset-bottom));
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  width: 48px; height: 48px; border-radius: 999px;
  background: var(--wa); color: #fff; text-decoration: none; font-weight: 600; font-size: .95rem;
  box-shadow: 0 12px 28px -10px rgba(22, 122, 67, .7), 0 0 0 3px rgba(255, 255, 255, .7);
  transition: transform .3s var(--ease), opacity .3s var(--ease), visibility .3s;
}
.wa-float svg { width: 25px; height: 25px; }
.wa-float:hover { transform: translateY(-2px) scale(1.03); }
.wa-float:focus-visible { outline: 3px solid var(--espresso); outline-offset: 3px; }
.wa-label { display: none; }
@media (min-width: 1024px) {
  .wa-float { width: auto; height: 56px; padding: 0 1.25rem 0 1rem; right: 28px; bottom: 28px; }
  .wa-label { display: inline; }
}
body.is-locked .wa-float, body.menu-open .wa-float { opacity: 0; visibility: hidden; pointer-events: none; }

/* ---------- Menu slaid masuk ---------- */
.drawer { position: fixed; inset: 0; z-index: 90; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(18, 13, 10, .55); opacity: 0; transition: opacity .35s var(--ease); }
.drawer-panel {
  position: absolute; top: 0; bottom: 0; left: 0; width: min(86vw, 380px);
  display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain;
  padding: 14px 24px calc(24px + env(safe-area-inset-bottom));
  background: var(--espresso-3); color: var(--cream);
  background-image: radial-gradient(120% 60% at 0% 0%, rgba(214, 186, 138, .14), transparent 60%);
  transform: translateX(-102%); transition: transform .4s var(--ease);
  box-shadow: 20px 0 60px -30px rgba(0, 0, 0, .6);
}
.drawer.is-open .drawer-backdrop { opacity: 1; }
.drawer.is-open .drawer-panel { transform: none; }
.drawer-panel:focus { outline: none; }
.drawer-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.drawer-logo { height: 38px; width: auto; }
.drawer-close { color: var(--cream); margin-right: -10px; }
.drawer-close:hover { background: rgba(251, 246, 236, .08); }
.drawer-links a {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 14px 0; border-bottom: 1px solid rgba(251, 246, 236, .12);
  font-family: var(--f-display); font-size: 1.35rem; line-height: 1.2; color: var(--cream); text-decoration: none;
}
.drawer-links a::after { content: "\2192"; font-family: var(--f-body); font-size: 1rem; color: var(--champagne); transition: transform .3s var(--ease); }
.drawer-links a:hover { color: var(--champagne-2); }
.drawer-links a:hover::after { transform: translateX(4px); }
.drawer-actions { display: grid; gap: 10px; margin-top: 28px; }
.drawer-note { margin-top: 22px; font-size: .82rem; line-height: 1.6; color: rgba(251, 246, 236, .62); }
.drawer :focus-visible { outline-color: var(--champagne); }

/* ---------- Modal / butiran produk ---------- */
.modal { position: fixed; inset: 0; z-index: 80; display: flex; align-items: flex-end; justify-content: center; }
@media (min-width: 860px) { .modal { align-items: center; padding: 2rem; } }
.modal-backdrop { position: absolute; inset: 0; background: rgba(24, 18, 13, .62); backdrop-filter: blur(3px); animation: fade .3s var(--ease) both; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.modal-panel {
  position: relative; width: 100%; max-width: 1120px; max-height: 94vh;
  overflow-y: auto; overscroll-behavior: contain;
  background: var(--paper); border-top: 3px solid var(--champagne); border-radius: 18px 18px 0 0;
  box-shadow: var(--shadow-lg);
  animation: sheetUp .45s var(--ease) both;
}
@supports (max-height: 94dvh) { .modal-panel { max-height: 94dvh; } }
@media (min-width: 860px) {
  .modal-panel { border: 0; border-radius: 20px; animation-name: pop; box-shadow: 0 0 0 1px var(--line), var(--shadow-lg); }
}
.modal-panel:focus { outline: none; }
@keyframes sheetUp { from { transform: translateY(40px); opacity: .4; } to { transform: none; opacity: 1; } }
@keyframes pop { from { transform: translateY(16px) scale(.985); opacity: .4; } to { transform: none; opacity: 1; } }
.modal-close {
  position: sticky; top: 10px; float: right; z-index: 5; margin: 10px 10px -54px 0;
  width: 44px; height: 44px; display: grid; place-items: center;
  background: var(--card); border: 1px solid var(--line); border-radius: 50%; cursor: pointer;
}
.modal-close svg { width: 18px; height: 18px; stroke: var(--espresso); stroke-width: 1.8; stroke-linecap: round; }
.modal-close:hover { border-color: var(--espresso); }

.pd { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
@media (min-width: 860px) { .pd { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); } }
.pd-gallery { padding: 16px; background: var(--paper-2); }
@media (min-width: 860px) { .pd-gallery { padding: 28px; position: sticky; top: 0; align-self: start; } }
.pd-main { position: relative; aspect-ratio: 1 / 1; background: var(--card); overflow: hidden; border-radius: var(--r); box-shadow: 0 0 0 1px var(--line); touch-action: pan-y; }
.pd-main img { width: 100%; height: 100%; object-fit: contain; transition: opacity .25s var(--ease); }
.pd-main img.is-loading { opacity: .35; }
.pd-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; display: grid; place-items: center;
  background: rgba(255, 253, 248, .92); border: 1px solid var(--line); border-radius: 50%; cursor: pointer;
}
.pd-nav svg { width: 16px; height: 16px; stroke: var(--espresso); stroke-width: 2; fill: none; }
.pd-nav.prev { left: 10px; }
.pd-nav.next { right: 10px; }
.pd-counter {
  position: absolute; right: 10px; bottom: 10px; padding: .15rem .55rem;
  font-size: .75rem; background: rgba(255, 253, 248, .92); border: 1px solid var(--line); border-radius: 999px;
}
.pd-thumbs {
  list-style: none; margin: 12px 0 0; padding: 0 0 4px;
  display: grid; grid-auto-flow: column; grid-auto-columns: 64px; gap: 8px; overflow-x: auto;
  scrollbar-width: thin;
}
.pd-thumbs button {
  display: block; width: 64px; height: 64px; padding: 0; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--card);
  cursor: pointer; opacity: .72; transition: opacity .2s, border-color .2s;
}
.pd-thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.pd-thumbs button:hover { opacity: 1; }
.pd-thumbs button[aria-current="true"] { opacity: 1; border: 2px solid var(--espresso); }

.pd-info { padding: 22px 18px 28px; display: grid; gap: 1.1rem; align-content: start; }
@media (min-width: 860px) { .pd-info { padding: 40px 40px 40px 36px; } }
.pd-coll { padding-right: 52px; display: flex; align-items: center; gap: .6rem; }
.pd-coll .rule { width: 28px; height: 1px; background: currentColor; display: inline-block; }
.eyebrow { font-size: .72rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-text); }
.pd-title { font-size: clamp(1.3rem, 2.4vw, 1.75rem); color: var(--espresso-3); line-height: 1.2; text-wrap: pretty; }
.pd-meta { display: flex; flex-wrap: wrap; gap: .4rem 1rem; font-size: .8rem; color: var(--ink-soft); }
.pd-meta span { padding-left: .6rem; border-left: 2px solid var(--champagne); line-height: 1.2; }
.pd-pricebox {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem 1rem;
  padding: 1rem 0; border-block: 1px solid var(--line);
}
.pd-price { font-family: var(--f-display); font-size: clamp(1.9rem, 4vw, 2.4rem); font-weight: 500; color: var(--ink); line-height: 1; }
.pd-price .from { font-family: var(--f-body); font-size: .8rem; font-weight: 500; color: var(--ink-soft); margin-right: .35rem; }
.stock { display: inline-flex; align-items: center; gap: .45rem; font-size: .82rem; font-weight: 600; }
.stock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.stock.ok { color: var(--ok); }
.stock.out { color: var(--danger); }
.stock.muted { color: var(--ink-soft); }

.tier { border: 0; margin: 0; padding: 0; }
.tier legend { padding: 0; margin-bottom: .55rem; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--ink-soft); }
.tier legend b { color: var(--ink); letter-spacing: 0; text-transform: none; font-weight: 600; font-size: .85rem; margin-left: .35rem; }
.opts { display: flex; flex-wrap: wrap; gap: .45rem; }
.opt {
  position: relative; display: inline-flex; align-items: center; gap: .45rem;
  min-height: 44px; padding: .3rem .85rem; max-width: 100%;
  background: var(--card); border: 1px solid var(--line); border-radius: 999px;
  font-size: .84rem; line-height: 1.25; text-align: left; cursor: pointer;
  transition: border-color .2s, background-color .2s;
}
.opt img { width: 30px; height: 30px; object-fit: cover; flex: none; margin-left: -.55rem; border-radius: 50%; }
.opt:hover { border-color: var(--gold-text); }
.opt[aria-checked="true"] { border-color: var(--espresso); background: #fff; box-shadow: inset 0 0 0 1px var(--espresso); }
.opt.is-out { color: var(--ink-soft); text-decoration: line-through; text-decoration-color: rgba(154, 51, 34, .6); }
.pd-hint { font-size: .8rem; color: var(--ink-soft); }
.pd-picked { font-size: .82rem; padding: .7rem .85rem; background: var(--paper-2); border-left: 3px solid var(--champagne); border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.pd-picked b { color: var(--espresso); }
.pd-buy { display: grid; gap: .55rem; }
.pd-buy small { font-size: .76rem; color: var(--ink-soft); }
.pd-desc h3 { font-size: 1.25rem; color: var(--espresso-3); margin-bottom: .6rem; display: flex; align-items: center; gap: .6rem; }
.pd-desc h3::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.pd-desc-text {
  white-space: pre-line; overflow-wrap: anywhere; font-size: .9rem; line-height: 1.7; color: #3b322b;
  max-height: 22rem; overflow: hidden; position: relative;
}
.pd-desc-text.is-clamped::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5rem;
  background: linear-gradient(transparent, var(--paper));
}
.pd-desc-text.is-open { max-height: none; }
.pd-desc-toggle { margin-top: .5rem; }
.pd-desc-imgs { display: grid; gap: .75rem; margin-top: 1rem; }
.pd-desc-imgs img { width: 100%; height: auto; border-radius: var(--r-sm); background: var(--paper-2); }
.pd-missing { padding: 3rem 1.5rem; text-align: center; display: grid; gap: 1rem; justify-items: center; }
.pd-related h3 { font-size: 1.15rem; color: var(--espresso-3); margin-bottom: .75rem; display: flex; align-items: center; gap: .6rem; }
.pd-related h3::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.pd-related ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.pd-related a { display: grid; gap: .35rem; text-decoration: none; color: var(--ink); }
.rel-img { display: block; aspect-ratio: 1; overflow: hidden; background: var(--paper-2); border-radius: var(--r-sm); }
.rel-img img { width: 100%; height: 100%; object-fit: cover; }
.rel-name { font-size: .8rem; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rel-price { font-family: var(--f-display); font-weight: 500; color: var(--espresso); font-size: .95rem; }
.rel-price .from { font-family: var(--f-body); font-size: .75rem; color: var(--ink-soft); margin-right: .2rem; font-weight: 500; }
.pd-related a:hover .rel-name { color: var(--espresso); text-decoration: underline; }
.pd-swipe-hint { margin-top: .5rem; font-size: .75rem; color: var(--ink-soft); text-align: center; }
@media (hover: hover) and (pointer: fine) { .pd-swipe-hint { display: none; } }
.pd-noimg { display: grid; place-items: center; height: 100%; color: var(--ink-soft); }

/* ---------- maklumat syarikat (footer) ---------- */
.footer-en { font-style: italic; }
.footer-company { margin-top: 1rem; font-style: normal; font-size: .85rem; line-height: 1.6; color: #cbbfae; }
.footer-company strong { color: #e9e0d0; font-weight: 600; }
.footer-company a { color: #e9e0d0; }
.footer-company a:hover { color: var(--champagne-2); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 0 1.25rem; }
.footer-legal a { display: inline-flex; align-items: center; min-height: 44px; color: #e9e0d0; text-decoration: none; }
.footer-legal a:hover { color: var(--champagne-2); text-decoration: underline; }

/* ---------- halaman About / Privacy / Terms ---------- */
.doc-header { background: var(--paper); border-bottom: 1px solid var(--line-soft); }
.doc-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }
.doc-brand img { display: block; height: 46px; width: auto; }
.doc-back { color: var(--gold-text); font-weight: 600; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.doc-back:hover { text-decoration: underline; }
.doc { max-width: 820px; padding-block: clamp(2rem, 5vw, 3.5rem) clamp(3rem, 7vw, 5rem); }
.doc h1 { font-family: var(--f-display); font-weight: 500; font-size: clamp(2rem, 5vw, 2.8rem); line-height: 1.1; color: var(--ink); margin: 0 0 .75rem; }
.doc-jump { margin: 0 0 2rem; color: var(--ink-soft); }
.doc-jump a { color: var(--gold-text); font-weight: 600; }
.doc-lang { padding-top: 1.5rem; border-top: 1px solid var(--line); margin-top: 1.5rem; }
.doc-lang + .doc-lang { margin-top: 3rem; }
.doc h2 { font-family: var(--f-display); font-weight: 500; font-size: clamp(1.5rem, 3.6vw, 1.9rem); color: var(--ink); margin: 0 0 .5rem; }
.doc h3 { font-family: var(--f-body); font-weight: 700; font-size: 1.05rem; color: var(--ink); margin: 1.75rem 0 .5rem; }
.doc p, .doc li { color: var(--ink); line-height: 1.7; font-size: 1rem; }
.doc ul { padding-left: 1.25rem; }
.doc li + li { margin-top: .35rem; }
.doc a { color: var(--gold-text); }
.doc-meta { color: var(--ink-soft) !important; font-size: .9rem !important; }
.doc-contact { list-style: none; padding: 1rem 1.25rem !important; background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--r); }
.doc-footer .footer-base { padding-block: 1.25rem 1.75rem; }
