@import url("../fonts/fonts.css");

/* ==========================================================================
   Kamojang Paradise — Design System
   ========================================================================== */

:root {
  /* Brand palette */
  --forest-900: #0b241a;
  --forest-800: #103528;
  --forest-700: #17452f;
  --forest-600: #21573c;
  --moss: #527050;
  --sage: #c9d8c0;
  --sage-soft: #e6eddf;

  --cream: #faf7ef;
  --paper: #fffdf8;
  --sand: #f0e9d8;
  --sand-deep: #e2d8c0;

  --clay: #a84a27;
  --clay-dark: #94401f;
  --clay-soft: #f6e3d8;
  --gold: #c99a3c;

  --ink: #13251c;
  --ink-soft: #3f5347;
  --ink-mute: #596b5f;
  --line: rgba(19, 37, 28, 0.12);
  --line-strong: rgba(19, 37, 28, 0.22);

  /* Type */
  --font-display: "Fraunces", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --font-sans: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* Space & shape */
  --container: 1180px;
  --gutter: clamp(1.15rem, 4vw, 2.5rem);
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --pill: 999px;

  --shadow-sm: 0 1px 2px rgba(11, 36, 26, 0.06), 0 6px 18px -10px rgba(11, 36, 26, 0.25);
  --shadow: 0 18px 45px -22px rgba(11, 36, 26, 0.4);
  --shadow-lg: 0 40px 80px -35px rgba(11, 36, 26, 0.5);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --header-h: 76px;
}

/* --------------------------------------------------------------------------
   Reset & base
   -------------------------------------------------------------------------- */

*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
}

body {
  font-family: var(--font-sans);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* 'clip' tidak membuat scroll container, sehingga position: sticky tetap bekerja */
  overflow-x: clip;
}

body.is-locked { overflow: hidden; }

[hidden] { display: none !important; }

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

img { height: auto; }

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s var(--ease), opacity 0.25s var(--ease);
}

button,
input,
select,
textarea { font: inherit; color: inherit; }

button { cursor: pointer; background: none; border: 0; }

ul, ol { padding: 0; list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-variation-settings: "SOFT" 0, "WONK" 0;
}

p { text-wrap: pretty; }

::selection {
  background: var(--forest-700);
  color: var(--cream);
}

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

/* --------------------------------------------------------------------------
   Layout helpers
   -------------------------------------------------------------------------- */

.container {
  width: min(var(--container), 100% - (var(--gutter) * 2));
  margin-inline: auto;
}

.container--narrow { width: min(820px, 100% - (var(--gutter) * 2)); }

.section { padding-block: clamp(4rem, 9vw, 7.5rem); }
.section--tight { padding-block: clamp(2.8rem, 6vw, 4.5rem); }
.section--paper { background: var(--paper); }
.section--sand { background: var(--sand); }
.section--forest {
  background: var(--forest-900);
  color: var(--cream);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100%;
  z-index: 200;
  padding: 0.7rem 1.2rem;
  background: var(--paper);
  border-radius: var(--pill);
  font-size: 0.85rem;
  font-weight: 700;
}
.skip-link:focus { top: 1rem; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   Typography components
   -------------------------------------------------------------------------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--forest-600);
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
}

.eyebrow.eyebrow--light { color: var(--sand); }

.section-head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 1.5rem 2rem;
  margin-bottom: clamp(2rem, 4vw, 3.2rem);
}

.section-head h2 {
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  margin-top: 0.7rem;
  max-width: 18ch;
}

.section-head p.lede {
  margin-top: 0.9rem;
  max-width: 46ch;
  color: var(--ink-soft);
}

.section-head--center {
  grid-template-columns: 1fr;
  text-align: center;
  justify-items: center;
}
.section-head--center h2 { max-width: 22ch; }
.section-head--center .eyebrow::before { display: none; }
.section-head--center > .link-arrow { justify-self: center; }

.serif-i {
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.link-arrow {
  display: inline-flex;
  justify-self: start;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--line-strong);
  white-space: nowrap;
}
.link-arrow svg { transition: transform 0.3s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }
.link-arrow:hover { color: var(--clay); border-color: var(--clay); }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  --btn-bg: var(--forest-700);
  --btn-fg: var(--cream);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.92rem 1.55rem;
  border-radius: var(--pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease),
    box-shadow 0.25s var(--ease), color 0.25s var(--ease);
  will-change: transform;
}

.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn:active { transform: translateY(0); }
.btn svg { flex: none; }

.btn--clay { --btn-bg: var(--clay); }
.btn--clay:hover { --btn-bg: var(--clay-dark); }

.btn--forest { --btn-bg: var(--forest-800); }
.btn--forest:hover { --btn-bg: var(--forest-900); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  border-color: var(--line-strong);
}
.btn--ghost:hover { --btn-bg: rgba(19, 37, 28, 0.05); }

.btn--ghost-light {
  --btn-bg: rgba(255, 253, 248, 0.06);
  --btn-fg: var(--cream);
  border-color: rgba(255, 253, 248, 0.35);
  backdrop-filter: blur(6px);
}
.btn--ghost-light:hover { --btn-bg: rgba(255, 253, 248, 0.16); }

.btn--cream { --btn-bg: var(--cream); --btn-fg: var(--forest-900); }
.btn--cream:hover { --btn-bg: #fff; }

.btn--sm { padding: 0.68rem 1.1rem; font-size: 0.78rem; }
.btn--lg { padding: 1.1rem 1.9rem; font-size: 0.92rem; }
.btn--block { width: 100%; }

.btn[disabled] { opacity: 0.5; pointer-events: none; }

/* Text link with underline sweep */
.u-link {
  position: relative;
  font-weight: 600;
}
.u-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease);
}
.u-link:hover::after { transform: scaleX(1); transform-origin: left; }

/* --------------------------------------------------------------------------
   Announcement bar
   -------------------------------------------------------------------------- */

.announce {
  background: var(--forest-900);
  color: var(--sage);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  padding: 0.55rem 0;
  text-align: center;
  position: relative;
  z-index: 60;
}
.announce .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.6rem;
  flex-wrap: wrap;
}
.announce span { display: inline-flex; align-items: center; gap: 0.45rem; }
.announce svg { opacity: 0.8; }
.announce a { color: var(--paper); text-decoration: underline; text-underline-offset: 3px; }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 247, 239, 0.86);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease),
    box-shadow 0.3s var(--ease), color 0.3s var(--ease);
}

.site-header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px -24px rgba(11, 36, 26, 0.55);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--header-h);
}

/* Homepage transparent header over hero */
body[data-hero] .site-header:not(.is-stuck) {
  background: transparent;
  border-bottom-color: transparent;
  backdrop-filter: none;
  color: var(--cream);
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
}
body[data-hero] .site-header:not(.is-stuck) .brand__name { color: var(--cream); }
body[data-hero] .site-header:not(.is-stuck) .brand__tag { color: rgba(250, 247, 239, 0.65); }
body[data-hero] .site-header:not(.is-stuck) .nav__link { color: rgba(250, 247, 239, 0.85); }
body[data-hero] .site-header:not(.is-stuck) .nav__link:hover,
body[data-hero] .site-header:not(.is-stuck) .nav__link[aria-current="page"] { color: #fff; }
body[data-hero] .site-header:not(.is-stuck) .icon-btn { color: var(--cream); border-color: rgba(250, 247, 239, 0.3); }
body[data-hero] .site-header:not(.is-stuck) .icon-btn:hover { background: rgba(255, 253, 248, 0.14); }
body[data-hero] .site-header:not(.is-stuck) .nav-toggle { border-color: rgba(250, 247, 239, 0.3); color: var(--cream); }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  flex: none;
}

.brand__mark {
  width: 46px;
  height: 46px;
  flex: none;
}

.brand__text { display: grid; line-height: 1.05; }

.brand__name {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--forest-900);
  transition: color 0.3s var(--ease);
}

.brand__tag {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-top: 0.3rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.2vw, 2rem);
}

.nav__link {
  position: relative;
  font-size: 0.83rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
  padding-block: 0.4rem;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 100%;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease);
}

.nav__link:hover::after,
.nav__link[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav__link:hover,
.nav__link[aria-current="page"] { color: var(--forest-900); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex: none;
}

.icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--forest-800);
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease),
    transform 0.25s var(--ease), color 0.3s var(--ease);
}
.icon-btn:hover { background: rgba(19, 37, 28, 0.06); border-color: var(--line-strong); }
.icon-btn:active { transform: scale(0.95); }

.cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  display: inline-grid;
  place-items: center;
  border-radius: var(--pill);
  background: var(--clay);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 800;
  line-height: 1;
  border: 2px solid var(--cream);
  transform: scale(0);
  transition: transform 0.25s var(--ease);
}
.cart-count.is-visible { transform: scale(1); }
body[data-hero] .site-header:not(.is-stuck) .cart-count { border-color: var(--forest-900); }

.header-cta { display: inline-flex; }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--forest-800);
}

/* Mobile drawer nav */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  grid-template-rows: auto 1fr;
  background: var(--forest-900);
  color: var(--cream);
  padding: 1.1rem var(--gutter) 2rem;
  transform: translateY(-100%);
  visibility: hidden;
  transition: transform 0.45s var(--ease), visibility 0.45s;
}
.mobile-nav.is-open { transform: translateY(0); visibility: visible; }
.mobile-nav__top { display: flex; align-items: center; justify-content: space-between; }
.mobile-nav__links { display: grid; align-content: center; gap: 0.35rem; margin-top: 2rem; }
.mobile-nav__links a {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 8vw, 2.6rem);
  padding-block: 0.55rem;
  border-bottom: 1px solid rgba(250, 247, 239, 0.12);
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
}
.mobile-nav__links a span {
  font-family: var(--font-sans);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  color: var(--sage);
  opacity: 0.7;
}
.mobile-nav__foot { margin-top: 2rem; display: grid; gap: 0.8rem; font-size: 0.8rem; color: var(--sage); }
.mobile-nav .icon-btn { color: var(--cream); border-color: rgba(250, 247, 239, 0.3); }
.mobile-nav .brand__name { color: var(--cream); }
.mobile-nav .brand__tag { color: rgba(250, 247, 239, 0.6); }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  min-height: min(94vh, 880px);
  display: flex;
  align-items: flex-end;
  padding-top: calc(var(--header-h) + 3rem);
  padding-bottom: clamp(2.5rem, 6vw, 4.5rem);
  color: var(--cream);
  isolation: isolate;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("../img/hero.jpg");
  background-size: cover;
  background-position: center 42%;
  transform: scale(1.04);
  animation: heroZoom 18s var(--ease) forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }

body[data-hero] .hero__bg {
  background-image: image-set(url("../img/hero.jpg") 1x);
}

@media (max-width: 720px) {
  body[data-hero] .hero__bg,
  .hero__bg { background-image: url("../img/hero-mobile.jpg"); background-position: center 45%; }
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(9, 26, 18, 0.62) 0%, rgba(9, 26, 18, 0.18) 35%, rgba(9, 26, 18, 0.72) 100%),
    linear-gradient(90deg, rgba(9, 26, 18, 0.78) 0%, rgba(9, 26, 18, 0.38) 52%, rgba(9, 26, 18, 0.02) 100%);
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: end;
  gap: 2rem;
}

.hero__content { max-width: 640px; }

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.42rem 0.9rem 0.42rem 0.5rem;
  border: 1px solid rgba(250, 247, 239, 0.28);
  border-radius: var(--pill);
  background: rgba(9, 26, 18, 0.22);
  backdrop-filter: blur(8px);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(250, 247, 239, 0.9);
}
.hero__badge b {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--clay);
  color: #fff;
  font-size: 0.6rem;
}

.hero h1 {
  font-size: clamp(2.7rem, 6.4vw, 5rem);
  margin-top: 1.4rem;
  letter-spacing: -0.035em;
  line-height: 0.99;
  text-wrap: balance;
}
.hero h1 em {
  font-style: italic;
  font-weight: 300;
  color: var(--sage);
}

.hero__sub {
  margin-top: 1.5rem;
  max-width: 44ch;
  font-size: clamp(0.98rem, 1.4vw, 1.08rem);
  color: rgba(250, 247, 239, 0.82);
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.6rem;
  margin-top: 2.1rem;
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  color: rgba(250, 247, 239, 0.72);
}
.hero__meta span { display: inline-flex; align-items: center; gap: 0.45rem; }
.hero__meta svg { color: var(--sage); opacity: 0.9; }

.hero__aside {
  justify-self: end;
  align-self: end;
  width: min(300px, 100%);
  padding: 1.35rem 1.4rem;
  border-radius: var(--radius);
  background: rgba(250, 247, 239, 0.1);
  border: 1px solid rgba(250, 247, 239, 0.22);
  backdrop-filter: blur(14px);
  display: grid;
  gap: 0.95rem;
  font-size: 0.78rem;
  color: rgba(250, 247, 239, 0.9);
}
.hero__aside h2 {
  font-family: var(--font-sans);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(250, 247, 239, 0.58);
}
.hero__aside-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(250, 247, 239, 0.14);
}
.hero__aside-row strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
}
.hero__aside-row span { color: rgba(250, 247, 239, 0.6); font-size: 0.72rem; }

/* Bottom quick facts */
.facts {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.facts__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.fact {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  padding: 1.55rem clamp(1rem, 2vw, 1.9rem);
  border-left: 1px solid var(--line);
}
.fact:first-child { border-left: 0; padding-left: 0; }
.fact__icon {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--sage-soft);
  color: var(--forest-700);
}
.fact h3 {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}
.fact p {
  font-size: 0.76rem;
  color: var(--ink-mute);
  margin-top: 0.15rem;
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   Product card
   -------------------------------------------------------------------------- */

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.6rem);
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease),
    border-color 0.4s var(--ease);
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: transparent;
}

.product-card__media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--sand);
}
.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.product-card:hover .product-card__media img { transform: scale(1.05); }

.badge {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.34rem 0.7rem;
  border-radius: var(--pill);
  background: rgba(250, 247, 239, 0.94);
  color: var(--forest-800);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
}
.badge--clay { background: var(--clay); color: #fff; }
.badge--forest { background: var(--forest-800); color: var(--cream); }

.unit-tag {
  position: absolute;
  bottom: 0.8rem;
  left: 0.8rem;
  padding: 0.28rem 0.6rem;
  border-radius: var(--pill);
  background: rgba(11, 36, 26, 0.7);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  backdrop-filter: blur(4px);
}

.product-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1.1rem 1.15rem 1.2rem;
  flex: 1;
}

.product-card__cat {
  font-size: 0.59rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--moss);
}

.product-card__title {
  font-family: var(--font-display);
  font-size: 1.14rem;
  font-weight: 550;
  line-height: 1.22;
  letter-spacing: -0.015em;
}
.product-card__title a:hover { color: var(--clay); }

.product-card__desc {
  font-size: 0.78rem;
  color: var(--ink-mute);
  line-height: 1.55;
}

.product-card__foot {
  margin-top: auto;
  padding-top: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
}

.price {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.price__value {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--forest-800);
}
.price__unit {
  font-size: 0.62rem;
  color: var(--ink-mute);
  letter-spacing: 0.03em;
  margin-top: 0.2rem;
}

.add-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  color: var(--forest-800);
  transition: background 0.25s var(--ease), color 0.25s var(--ease),
    border-color 0.25s var(--ease), transform 0.2s var(--ease);
}
.add-btn:hover { background: var(--forest-800); color: var(--cream); border-color: var(--forest-800); }
.add-btn:active { transform: scale(0.92); }
.add-btn span { display: none; }

.product-card--soldout .product-card__media img { filter: grayscale(0.7); opacity: 0.7; }

/* --------------------------------------------------------------------------
   Story / split sections
   -------------------------------------------------------------------------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(2rem, 6vw, 5.5rem);
}
.split--media-right { direction: rtl; }
.split--media-right > * { direction: ltr; }

.split__media {
  position: relative;
}
.split__media .frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 4.4;
  background: var(--sand);
}
.split__media .frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.split__media .frame--wide { aspect-ratio: 4 / 3; }

.split__float {
  position: absolute;
  right: -1.2rem;
  bottom: -1.6rem;
  width: min(230px, 62%);
  padding: 1.1rem 1.2rem;
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.split__float .big {
  font-family: var(--font-display);
  font-size: 1.9rem;
  line-height: 1;
  color: var(--forest-800);
}
.split__float p {
  font-size: 0.7rem;
  color: var(--ink-mute);
  margin-top: 0.4rem;
  line-height: 1.45;
  letter-spacing: 0.01em;
}

.split__content h2 {
  font-size: clamp(1.95rem, 3.7vw, 3rem);
  margin-top: 0.7rem;
  max-width: 17ch;
}
.split__content > p {
  margin-top: 1.25rem;
  color: var(--ink-soft);
  max-width: 48ch;
}

.feature-list {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.8rem;
}
.feature-list li {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  font-size: 0.88rem;
  color: var(--ink-soft);
}
.feature-list svg {
  flex: none;
  margin-top: 0.28rem;
  color: var(--forest-600);
}
.feature-list strong { color: var(--ink); font-weight: 700; }

/* --------------------------------------------------------------------------
   Villa feature (dark)
   -------------------------------------------------------------------------- */

.villa-feature {
  position: relative;
  background: var(--forest-900);
  color: var(--cream);
  overflow: hidden;
}
.villa-feature::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(70% 80% at 85% 0%, rgba(201, 154, 60, 0.14), transparent 60%);
  pointer-events: none;
}
.villa-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
  position: relative;
}
.villa-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 5 / 4;
}
.villa-media img { width: 100%; height: 100%; object-fit: cover; }
.villa-media__badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.4rem 0.85rem;
  border-radius: var(--pill);
  background: rgba(11, 36, 26, 0.68);
  border: 1px solid rgba(250, 247, 239, 0.25);
  backdrop-filter: blur(6px);
  font-size: 0.62rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  font-weight: 700;
}
.villa-content h2 {
  font-size: clamp(2rem, 4vw, 3.3rem);
  margin-top: 0.7rem;
  max-width: 15ch;
}
.villa-content > p {
  color: rgba(250, 247, 239, 0.72);
  margin-top: 1.1rem;
  max-width: 44ch;
  font-size: 0.94rem;
}
.villa-amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.42rem 0.8rem;
  border-radius: var(--pill);
  border: 1px solid rgba(250, 247, 239, 0.2);
  background: rgba(250, 247, 239, 0.05);
  font-size: 0.72rem;
  color: rgba(250, 247, 239, 0.88);
}
.villa-price {
  display: flex;
  align-items: flex-end;
  gap: 0.6rem;
  margin-top: 1.8rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(250, 247, 239, 0.16);
}
.villa-price strong {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 500;
  line-height: 1;
}
.villa-price span { font-size: 0.76rem; color: rgba(250, 247, 239, 0.55); padding-bottom: 0.3rem; }
.villa-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.6rem; }

/* --------------------------------------------------------------------------
   Steps
   -------------------------------------------------------------------------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 3rem);
  counter-reset: step;
}
.step { position: relative; padding-top: 1.6rem; border-top: 1px solid var(--line-strong); }
.step__num {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--clay);
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 0.55rem;
}
.step h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}
.step p { font-size: 0.86rem; color: var(--ink-mute); max-width: 32ch; }

/* --------------------------------------------------------------------------
   Gallery
   -------------------------------------------------------------------------- */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 116px;
  gap: 0.9rem;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--sand);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.4rem 1.1rem 0.9rem;
  background: linear-gradient(to top, rgba(9, 26, 18, 0.72), transparent);
  color: var(--cream);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.gallery-item:hover figcaption { opacity: 1; transform: none; }
.gallery-item--a { grid-column: span 5; grid-row: span 3; }
.gallery-item--b { grid-column: span 4; grid-row: span 2; }
.gallery-item--c { grid-column: span 3; grid-row: span 2; }
.gallery-item--d { grid-column: span 3; grid-row: span 2; }
.gallery-item--e { grid-column: span 4; grid-row: span 2; }

/* --------------------------------------------------------------------------
   Testimonials
   -------------------------------------------------------------------------- */

.quote-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: 1.1rem;
}
.quote {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.stars { display: flex; gap: 2px; color: var(--gold); }
.quote blockquote {
  font-family: var(--font-display);
  font-size: 1.02rem;
  line-height: 1.5;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.quote__author {
  margin-top: auto;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.72rem;
}
.avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--forest-800);
  color: var(--sage);
  font-size: 0.72rem;
  font-weight: 700;
  flex: none;
}
.quote__author b { display: block; font-size: 0.78rem; font-weight: 700; }
.quote__author span { color: var(--ink-mute); }

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */

.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--forest-900);
  color: var(--cream);
  border-radius: var(--radius-lg);
  padding: clamp(2.2rem, 5vw, 3.8rem);
  display: grid;
  grid-template-columns: 1.4fr auto;
  align-items: center;
  gap: 2rem;
}
.cta-band::after {
  content: "";
  position: absolute;
  right: -10%;
  top: -40%;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 154, 60, 0.22), transparent 65%);
  pointer-events: none;
}
.cta-band h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  max-width: 18ch;
  margin-top: 0.6rem;
}
.cta-band p {
  color: rgba(250, 247, 239, 0.7);
  margin-top: 0.8rem;
  font-size: 0.9rem;
  max-width: 46ch;
}
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 0.7rem; position: relative; z-index: 1; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  background: #081b13;
  color: rgba(250, 247, 239, 0.66);
  padding-top: clamp(3rem, 6vw, 4.5rem);
  font-size: 0.82rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 0.8fr 1fr;
  gap: 2rem;
  padding-bottom: 2.8rem;
}
.footer-brand .brand { margin-bottom: 1rem; }
.footer-brand .brand__name { color: var(--cream); }
.footer-brand .brand__tag { color: rgba(250, 247, 239, 0.45); }
.footer-brand p { max-width: 34ch; line-height: 1.7; }
.footer-social { display: flex; gap: 0.5rem; margin-top: 1.3rem; }
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(250, 247, 239, 0.2);
  display: grid;
  place-items: center;
  color: rgba(250, 247, 239, 0.8);
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
.footer-social a:hover { background: var(--cream); color: var(--forest-900); }

.footer-col h3 {
  font-family: var(--font-sans);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(250, 247, 239, 0.42);
  margin-bottom: 1rem;
}
.footer-col li + li { margin-top: 0.55rem; }
.footer-col a:hover { color: var(--cream); }

.footer-contact li { display: grid; gap: 0.1rem; }
.footer-contact span { color: rgba(250, 247, 239, 0.4); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; }
.footer-contact li + li { margin-top: 0.9rem; }

.footer-bottom {
  border-top: 1px solid rgba(250, 247, 239, 0.1);
  padding-block: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.72rem;
  color: rgba(250, 247, 239, 0.42);
}
.footer-bottom nav { display: flex; gap: 1.2rem; }
.footer-bottom a:hover { color: var(--cream); }

/* --------------------------------------------------------------------------
   Page header (inner pages)
   -------------------------------------------------------------------------- */

.page-head {
  position: relative;
  padding-block: clamp(3rem, 7vw, 5.5rem) clamp(2.5rem, 5vw, 4rem);
  background: var(--forest-900);
  color: var(--cream);
  overflow: hidden;
  isolation: isolate;
}
.page-head::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("../img/hutan.jpg");
  background-size: cover;
  background-position: center 35%;
  opacity: 0.34;
}
.page-head::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, rgba(8, 27, 19, 0.94) 0%, rgba(8, 27, 19, 0.6) 60%, rgba(8, 27, 19, 0.35) 100%);
}
.page-head h1 {
  font-size: clamp(2.3rem, 5.2vw, 3.9rem);
  margin-top: 0.8rem;
  max-width: 20ch;
}
.page-head p {
  margin-top: 1rem;
  max-width: 52ch;
  color: rgba(250, 247, 239, 0.75);
  font-size: 0.95rem;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: rgba(250, 247, 239, 0.55);
  flex-wrap: wrap;
}
.breadcrumb a:hover { color: var(--cream); }
.breadcrumb span[aria-current] { color: rgba(250, 247, 239, 0.9); }

.crumb-bar {
  padding-block: 0.95rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.72rem;
}
.crumb-bar .breadcrumb { color: var(--ink-mute); }
.crumb-bar .breadcrumb a:hover { color: var(--clay); }
.crumb-bar .breadcrumb span[aria-current] { color: var(--ink); }

/* --------------------------------------------------------------------------
   Catalog
   -------------------------------------------------------------------------- */

.catalog-bar {
  position: sticky;
  top: var(--header-h);
  z-index: 30;
  background: rgba(250, 247, 239, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  padding-block: 0.85rem;
}
.catalog-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.filter-group { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.filter {
  padding: 0.5rem 0.95rem;
  border-radius: var(--pill);
  border: 1px solid var(--line);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ink-soft);
  transition: all 0.25s var(--ease);
  white-space: nowrap;
}
.filter:hover { border-color: var(--line-strong); background: var(--paper); }
.filter.is-active {
  background: var(--forest-800);
  border-color: var(--forest-800);
  color: var(--cream);
}
.filter small { opacity: 0.55; margin-left: 0.25rem; font-size: 0.66rem; }

.catalog-tools { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; }

.search-box {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.48rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  background: var(--paper);
  color: var(--ink-mute);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.search-box:focus-within {
  border-color: var(--forest-600);
  box-shadow: 0 0 0 3px rgba(33, 87, 60, 0.1);
}
.search-box input {
  border: 0;
  background: none;
  width: 148px;
  font-size: 0.75rem;
  outline: none;
}
.search-box input::placeholder { color: #9aa79d; }
.select-wrap { position: relative; }
.select-wrap select {
  appearance: none;
  padding: 0.5rem 2.1rem 0.5rem 0.9rem;
  border-radius: var(--pill);
  border: 1px solid var(--line);
  background: var(--paper);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ink-soft);
  cursor: pointer;
}
.select-wrap::after {
  content: "";
  position: absolute;
  right: 0.9rem;
  top: 50%;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid var(--ink-mute);
  border-bottom: 1.5px solid var(--ink-mute);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}

.catalog-result {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.4rem;
  font-size: 0.78rem;
  color: var(--ink-mute);
  flex-wrap: wrap;
}
.catalog-result strong { color: var(--ink); font-weight: 700; }

.product-grid--catalog { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.empty-state {
  text-align: center;
  padding: 4rem 1rem;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  color: var(--ink-mute);
}
.empty-state h3, .empty-state h1 { font-size: 1.4rem; color: var(--ink); margin-bottom: 0.5rem; }

/* --------------------------------------------------------------------------
   Product detail
   -------------------------------------------------------------------------- */

.detail {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.detail__media { position: sticky; top: calc(var(--header-h) + 24px); }
.detail__img {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 4.3;
  background: var(--sand);
}
.detail__img img { width: 100%; height: 100%; object-fit: cover; }
.detail__thumbs { display: flex; gap: 0.6rem; margin-top: 0.7rem; }
.detail__thumbs button {
  width: 76px;
  height: 76px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--line);
  opacity: 0.65;
  transition: opacity 0.25s var(--ease), border-color 0.25s var(--ease);
}
.detail__thumbs button.is-active { opacity: 1; border-color: var(--forest-700); }
.detail__thumbs img { width: 100%; height: 100%; object-fit: cover; }

.detail__cat { font-size: 0.64rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 800; color: var(--moss); }
.detail h1 {
  font-size: clamp(2.1rem, 4.2vw, 3.3rem);
  margin-top: 0.6rem;
  letter-spacing: -0.025em;
}
.detail__rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.7rem;
  font-size: 0.75rem;
  color: var(--ink-mute);
}
.detail__price {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  margin-top: 1.2rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--line);
}
.detail__price strong {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 500;
  color: var(--forest-800);
}
.detail__price span { font-size: 0.8rem; color: var(--ink-mute); }
.detail__desc { margin-top: 1.2rem; color: var(--ink-soft); font-size: 0.92rem; }

.spec-list { display: grid; gap: 0; margin-top: 1.4rem; }
.spec-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.82rem;
}
.spec-list span:first-child { color: var(--ink-mute); }
.spec-list span:last-child { font-weight: 600; text-align: right; }

.buy-row {
  display: flex;
  gap: 0.7rem;
  align-items: stretch;
  margin-top: 1.6rem;
  flex-wrap: wrap;
}
.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line-strong);
  border-radius: var(--pill);
  overflow: hidden;
  flex: none;
}
.qty button {
  width: 42px;
  height: 46px;
  display: grid;
  place-items: center;
  color: var(--ink-soft);
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.qty button:hover { background: var(--sand); color: var(--ink); }
.qty input {
  width: 44px;
  height: 46px;
  border: 0;
  text-align: center;
  font-weight: 700;
  font-size: 0.9rem;
  background: transparent;
  -moz-appearance: textfield;
  appearance: textfield;
}
.qty input::-webkit-outer-spin-button,
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.buy-row .btn { flex: 1 1 180px; }
.buy-note { margin-top: 0.8rem; font-size: 0.72rem; color: var(--ink-mute); display: flex; gap: 0.4rem; align-items: center; }

.assurance {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
  margin-top: 1.6rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
}
.assurance div { display: grid; justify-items: start; gap: 0.35rem; font-size: 0.7rem; line-height: 1.4; color: var(--ink-soft); }
.assurance svg { color: var(--forest-600); }

.accordion { margin-top: 1.8rem; border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary {
  list-style: none;
  cursor: pointer;
  padding: 1rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.84rem;
  font-weight: 700;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
  content: "+";
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--ink-mute);
  transition: transform 0.3s var(--ease);
}
.accordion details[open] summary::after { transform: rotate(45deg); }
.accordion .accordion__body { padding-bottom: 1.1rem; font-size: 0.85rem; color: var(--ink-soft); }
.accordion .accordion__body p + p { margin-top: 0.6rem; }
.accordion .accordion__body ul { display: grid; gap: 0.35rem; margin-top: 0.5rem; }
.accordion .accordion__body li { padding-left: 1rem; position: relative; }
.accordion .accordion__body li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--moss);
}

/* --------------------------------------------------------------------------
   Cart drawer
   -------------------------------------------------------------------------- */

.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(8, 27, 19, 0.5);
  backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s;
}
.drawer-backdrop.is-open { opacity: 1; visibility: visible; }

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  width: min(430px, 100%);
  background: var(--cream);
  display: flex;
  flex-direction: column;
  transform: translateX(102%);
  visibility: hidden;
  transition: transform 0.45s var(--ease), visibility 0.45s;
  box-shadow: -30px 0 60px -30px rgba(8, 27, 19, 0.5);
}
.drawer.is-open { transform: none; visibility: visible; }

.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 1.3rem;
  border-bottom: 1px solid var(--line);
  flex: none;
}
.drawer__head h2 { font-size: 1.3rem; display: flex; align-items: baseline; gap: 0.5rem; }
.drawer__head h2 span { font-family: var(--font-sans); font-size: 0.7rem; font-weight: 600; color: var(--ink-mute); letter-spacing: 0.02em; }

.drawer__body { flex: 1; overflow-y: auto; padding: 1.1rem 1.3rem; }

.cart-item {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 0.9rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
}
.cart-item:first-child { padding-top: 0; }
.cart-item__img {
  width: 78px;
  height: 92px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--sand);
}
.cart-item__img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item__top { display: flex; justify-content: space-between; gap: 0.6rem; align-items: flex-start; }
.cart-item h3 { font-size: 0.92rem; font-family: var(--font-display); font-weight: 550; line-height: 1.25; }
.cart-item h3 a:hover { color: var(--clay); }
.cart-item__meta { font-size: 0.68rem; color: var(--ink-mute); margin-top: 0.15rem; }
.cart-item__bottom { display: flex; align-items: center; justify-content: space-between; margin-top: 0.55rem; gap: 0.6rem; }
.cart-item__price { font-size: 0.8rem; font-weight: 700; color: var(--forest-800); }
.remove-btn { color: var(--ink-mute); display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; }
.remove-btn:hover { color: var(--clay); background: var(--clay-soft); }

.qty--sm { border-radius: var(--pill); }
.qty--sm button { width: 28px; height: 28px; }
.qty--sm input { width: 32px; height: 28px; font-size: 0.76rem; }

.drawer__foot {
  flex: none;
  border-top: 1px solid var(--line);
  padding: 1.2rem 1.3rem 1.4rem;
  background: var(--paper);
}
.drawer__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.82rem;
  color: var(--ink-mute);
  margin-bottom: 0.35rem;
}
.drawer__row--total {
  font-size: 0.9rem;
  color: var(--ink);
  margin: 0.7rem 0 1rem;
  padding-top: 0.7rem;
  border-top: 1px dashed var(--line-strong);
}
.drawer__row--total strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--forest-800);
}
.drawer__note { font-size: 0.68rem; color: var(--ink-mute); text-align: center; margin-top: 0.65rem; line-height: 1.5; }
.drawer__empty { text-align: center; padding: 3.5rem 1rem; color: var(--ink-mute); }
.drawer__empty svg { margin: 0 auto 1rem; color: var(--sand-deep); }
.drawer__empty h3 { font-size: 1.3rem; color: var(--ink); margin-bottom: 0.4rem; }
.drawer__empty p { font-size: 0.8rem; margin-bottom: 1.2rem; }

/* --------------------------------------------------------------------------
   Forms & checkout
   -------------------------------------------------------------------------- */

.checkout-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(1.6rem, 4vw, 3.5rem);
  align-items: start;
}

.form-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.3rem, 3vw, 2rem);
}
.form-card + .form-card { margin-top: 1.1rem; }

.form-section-title {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  margin-bottom: 1.2rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--line);
}
.form-section-title i {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--forest-800);
  color: var(--cream);
  font-size: 0.65rem;
  font-style: normal;
  display: grid;
  place-items: center;
  flex: none;
}

.field { display: grid; gap: 0.35rem; margin-bottom: 0.95rem; }
.field label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--ink-soft);
}
.field label .req { color: var(--clay); }
.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 0.78rem 0.95rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--cream);
  font-size: 0.85rem;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field input::placeholder,
.field textarea::placeholder { color: #9aa79d; }
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--forest-600);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(33, 87, 60, 0.12);
}
.field textarea { min-height: 90px; resize: vertical; }
.field small { font-size: 0.67rem; color: var(--ink-mute); }
.field--error input,
.field--error textarea { border-color: #b23b2e; background: #fdf3f1; }
.field-error { font-size: 0.68rem; color: #b23b2e; display: none; }
.field--error .field-error { display: block; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }

.radio-group { display: grid; gap: 0.55rem; }
.radio-card {
  position: relative;
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
  font-size: 0.82rem;
}
.radio-card:hover { background: var(--cream); }
.radio-card input { position: absolute; opacity: 0; pointer-events: none; }
.radio-card__dot {
  flex: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1.5px solid var(--line-strong);
  margin-top: 0.15rem;
  display: grid;
  place-items: center;
  transition: border-color 0.2s var(--ease);
}
.radio-card__dot::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--forest-700);
  transform: scale(0);
  transition: transform 0.2s var(--ease);
}
.radio-card input:checked ~ .radio-card__dot { border-color: var(--forest-700); }
.radio-card input:checked ~ .radio-card__dot::after { transform: scale(1); }
.radio-card:has(input:checked) { border-color: var(--forest-700); background: rgba(33, 87, 60, 0.05); }
.radio-card b { display: block; font-size: 0.82rem; }
.radio-card span { color: var(--ink-mute); font-size: 0.72rem; }

.summary {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
}
.summary h2 { font-size: 1.25rem; margin-bottom: 1rem; }
.summary__items { display: grid; gap: 0.8rem; margin-bottom: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.summary__item { display: grid; grid-template-columns: 52px 1fr auto; gap: 0.7rem; align-items: center; font-size: 0.78rem; }
.summary__item img { width: 52px; height: 60px; object-fit: cover; border-radius: 8px; }
.summary__item b { display: block; font-weight: 700; line-height: 1.3; }
.summary__item small { color: var(--ink-mute); font-size: 0.68rem; }
.summary__item span { font-weight: 700; white-space: nowrap; font-size: 0.76rem; }
.summary__row { display: flex; justify-content: space-between; font-size: 0.78rem; color: var(--ink-mute); margin-bottom: 0.4rem; }
.summary__row--total {
  margin-top: 0.8rem;
  padding-top: 0.8rem;
  border-top: 1px dashed var(--line-strong);
  font-size: 0.86rem;
  color: var(--ink);
}
.summary__row--total strong {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--forest-800);
  font-weight: 600;
}
.summary__note {
  margin-top: 1rem;
  padding: 0.75rem 0.85rem;
  border-radius: var(--radius-sm);
  background: var(--sage-soft);
  font-size: 0.7rem;
  line-height: 1.55;
  color: var(--forest-700);
}
.summary .btn { margin-top: 1rem; }

.payment-note {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  margin-top: 1rem;
  font-size: 0.68rem;
  color: var(--ink-mute);
  line-height: 1.55;
}
.payment-note svg { flex: none; margin-top: 0.1rem; color: var(--forest-600); }

.checkout-done {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 0.8rem;
  padding: clamp(2rem, 5vw, 3rem);
  margin-top: 1.2rem;
  border: 1px solid rgba(33, 87, 60, 0.22);
  border-radius: var(--radius);
  background: var(--sage-soft);
}
.checkout-done svg { color: var(--forest-700); }
.checkout-done h2 { font-size: 1.5rem; }
.checkout-done p { font-size: 0.85rem; color: var(--ink-soft); max-width: 44ch; }
.checkout-done .btn { margin-top: 0.4rem; }

/* Forms on contact page */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(1.6rem, 5vw, 4rem); align-items: start; }
.contact-info { display: grid; gap: 1.4rem; }
.contact-info__item { display: flex; gap: 0.9rem; align-items: flex-start; }
.contact-info__icon {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--sage-soft);
  color: var(--forest-700);
}
.contact-info h3 { font-family: var(--font-sans); font-size: 0.82rem; font-weight: 800; margin-bottom: 0.2rem; }
.contact-info p, .contact-info a { font-size: 0.84rem; color: var(--ink-soft); line-height: 1.6; }
.contact-info a:hover { color: var(--clay); }

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 16 / 11;
  background: var(--sage-soft);
  margin-top: 1.4rem;
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }

/* --------------------------------------------------------------------------
   Villa page
   -------------------------------------------------------------------------- */

.villa-hero {
  position: relative;
  min-height: 76vh;
  display: flex;
  align-items: flex-end;
  padding-top: clamp(4rem, 9vw, 7rem);
  padding-bottom: clamp(2.5rem, 6vw, 4.5rem);
  color: var(--cream);
  isolation: isolate;
  overflow: hidden;
}
.villa-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("../img/villa.jpg") center 55% / cover no-repeat;
}
.villa-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(8, 27, 19, 0.86), rgba(8, 27, 19, 0.35) 65%, rgba(8, 27, 19, 0.15)),
    linear-gradient(0deg, rgba(8, 27, 19, 0.65), transparent 45%);
}
.villa-hero h1 { font-size: clamp(2.5rem, 5.5vw, 4.4rem); margin-top: 1rem; max-width: 16ch; }
.villa-hero p { margin-top: 1rem; max-width: 46ch; color: rgba(250, 247, 239, 0.8); }

.villa-specs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.villa-spec { padding: 1.4rem 1.2rem; border-left: 1px solid var(--line); }
.villa-spec:first-child { border-left: 0; padding-left: 0; }
.villa-spec strong { display: block; font-family: var(--font-display); font-size: 1.5rem; font-weight: 500; }
.villa-spec span { font-size: 0.7rem; color: var(--ink-mute); letter-spacing: 0.06em; text-transform: uppercase; }

.amenity-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.amenity {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  padding: 1.1rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.amenity svg { flex: none; color: var(--forest-600); margin-top: 0.1rem; }
.amenity b { display: block; font-size: 0.82rem; margin-bottom: 0.15rem; }
.amenity p { font-size: 0.74rem; color: var(--ink-mute); line-height: 1.5; }

.booking-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.booking-card h2 { font-size: 1.4rem; margin-bottom: 0.3rem; }
.booking-card > p { font-size: 0.76rem; color: var(--ink-mute); margin-bottom: 1rem; }
.booking-card .price { margin-bottom: 1rem; }
.booking-card .price__value { font-size: 1.7rem; }

/* --------------------------------------------------------------------------
   Toast
   -------------------------------------------------------------------------- */

.toast-stack {
  position: fixed;
  left: 50%;
  bottom: 1.5rem;
  transform: translateX(-50%);
  z-index: 150;
  display: grid;
  gap: 0.5rem;
  width: min(420px, calc(100vw - 2rem));
  pointer-events: none;
}
.toast {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.8rem 1rem;
  background: var(--forest-900);
  color: var(--cream);
  border-radius: var(--pill);
  font-size: 0.78rem;
  box-shadow: var(--shadow);
  animation: toastIn 0.35s var(--ease) both;
}
.toast svg { flex: none; color: var(--sage); }
.toast.is-out { animation: toastOut 0.3s var(--ease) both; }
@keyframes toastIn { from { opacity: 0; transform: translateY(14px); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(10px); } }

/* --------------------------------------------------------------------------
   Reveal on scroll
   -------------------------------------------------------------------------- */

/* Animasi hanya aktif bila JavaScript berjalan (aman tanpa JS) */
.js-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.js-reveal [data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .js-reveal [data-reveal] { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1080px) {
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .product-grid--catalog { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__aside { display: none; }
  .facts__grid { grid-template-columns: repeat(2, 1fr); }
  .fact:nth-child(odd) { border-left: 0; padding-left: 0; }
  .fact:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-contact { grid-column: 1 / -1; }
  .footer-contact ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.9rem 2rem; }
  .footer-contact li + li { margin-top: 0; }
  .checkout-grid { grid-template-columns: 1fr; }
  .summary { position: static; }
  .detail { grid-template-columns: 1fr; }
  .detail__media { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .nav, .header-cta { display: none; }
  .product-grid:not(.product-grid--catalog) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav-toggle { display: inline-flex; }
  .hero { min-height: 88svh; }
  .split, .villa-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .split--media-right { direction: ltr; }
  .split__media { order: -1; }
  .split__float { right: 0.8rem; bottom: -1.2rem; }
  .villa-media { order: -1; }
  .gallery-grid { grid-auto-rows: 92px; }
  .gallery-item--a { grid-column: span 7; grid-row: span 3; }
  .gallery-item--b { grid-column: span 5; grid-row: span 2; }
  .gallery-item--c { grid-column: span 5; grid-row: span 2; }
  .gallery-item--d { grid-column: span 6; grid-row: span 2; }
  .gallery-item--e { grid-column: span 6; grid-row: span 2; }
  .cta-band { grid-template-columns: 1fr; }
  .villa-specs { grid-template-columns: repeat(2, 1fr); }
  .villa-spec:nth-child(3) { border-left: 0; padding-left: 0; }
  .villa-spec:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .amenity-grid { grid-template-columns: repeat(2, 1fr); }
  .info-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 1.5rem; }
  .step { padding-top: 1.2rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .site-header__inner { gap: 0.7rem; }
  .header-actions > a.icon-btn { display: none; }
  .brand__mark { width: 40px; height: 40px; }
  .brand__name { font-size: 1.02rem; }
  .brand__tag { font-size: 0.53rem; letter-spacing: 0.18em; }
  .announce .container span:last-child { display: none; }
  .product-grid, .product-grid--catalog { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-card__body { padding: 0.85rem 0.9rem 1rem; }
  .product-card__title { font-size: 1rem; }
  .price__value { font-size: 0.96rem; }
  .product-card__foot { flex-wrap: wrap; }
  .add-btn { width: 100%; border-radius: var(--pill); height: 34px; gap: 0.3rem; }
  .add-btn span { display: inline; font-size: 0.7rem; font-weight: 700; }
  .hero h1 { font-size: clamp(2.4rem, 10vw, 3.4rem); }
  .hero__meta { gap: 0.35rem 1rem; }
  .section-head { grid-template-columns: 1fr; align-items: start; }
  .gallery-item figcaption { opacity: 1; transform: none; }
  .villa-specs { grid-template-columns: 1fr 1fr; }
  .amenity-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .footer-contact ul { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .assurance { grid-template-columns: 1fr; gap: 0.7rem; }
  .assurance div { grid-template-columns: auto 1fr; align-items: center; gap: 0.55rem; }
  .buy-row .btn { flex: 1 1 100%; }
  .buy-row .qty { flex: 1 1 100%; justify-content: space-between; }
  .detail__thumbs button { width: 62px; height: 62px; }
  .catalog-bar { top: 0; position: static; }
  .catalog-bar__inner { gap: 0.7rem; }
  .filter-group { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 0.2rem; width: 100%; scrollbar-width: none; }
  .filter-group::-webkit-scrollbar { display: none; }
}

@media (max-width: 460px) {
  .hero { min-height: 92svh; }
  .hero__actions .btn { flex: 1 1 100%; }
  .facts__grid { grid-template-columns: 1fr; }
  .fact { border-left: 0 !important; padding-left: 0 !important; }
  .fact + .fact { border-top: 1px solid var(--line); }
  .villa-actions .btn { flex: 1 1 100%; }
  .split__float { position: static; width: 100%; margin-top: 0.9rem; }
  .detail__price { flex-wrap: wrap; }
  .product-grid, .product-grid--catalog { grid-template-columns: 1fr; }
  .product-card { flex-direction: row; }
  .product-card__media { width: 42%; aspect-ratio: 4 / 4.6; flex: none; }
  .product-card__foot { flex-wrap: nowrap; }
  .add-btn { width: 36px; height: 36px; }
  .add-btn span { display: none; }
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 200px; }
  .gallery-item { grid-column: auto !important; grid-row: auto !important; }
}

/* Print */
@media print {
  .site-header, .announce, .drawer, .drawer-backdrop, .toast-stack, .site-footer, .catalog-bar { display: none !important; }
  body { background: #fff; }
}
