/* ==========================================================================
   Payung Geulis Sanggar Kinanti — Tasikmalaya
   Cream, kayu, sage, dan aksen emas. Nudge tokens live on :root.
   ========================================================================== */

:root {
  /* Nudge tokens */
  --site-bg: #f7f1e6;
  --site-fg: #2f2a22;
  --site-accent: #6b4a2f;
  --site-on-accent: #fbf7ee;
  --site-surface: #fdf9f1;
  --site-muted: #756c5d;
  --site-border: #e4d9c5;
  --site-font: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --site-radius: 4px;
  --site-space: 1;
  --site-type: 1;
  --site-motion: 1;

  /* Derived palette */
  --ivory: var(--site-surface);
  --ivory-deep: #f2eadb;
  --sand: #ebe0cc;
  --wood-deep: #46301f;
  --gold: #b08d57;
  --gold-deep: #8a6b3d;
  --gold-wash: rgba(176, 141, 87, 0.12);
  --gold-line: rgba(176, 141, 87, 0.36);
  --sage: #818f77;
  --sage-deep: #5f6d57;
  --sage-wash: rgba(129, 143, 119, 0.14);
  --ink: var(--site-fg);
  --ink-soft: #453c30;
  --muted: var(--site-muted);
  --line: var(--site-border);
  --line-strong: #d6c8b0;
  --white: #fffdf8;
  --success: #1f6b4a;
  --success-soft: #eaf4ee;
  --danger: #a63f35;
  --danger-soft: #fbeeec;
  --warning: #8a6420;
  --warning-soft: #fbf3e2;

  /* Type */
  --font-display: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --font-body: var(--site-font);
  --fs-body: calc(1rem * var(--site-type));
  --fs-small: calc(0.8125rem * var(--site-type));
  --fs-lead: calc(1.0625rem * var(--site-type));
  --fs-h3: calc(1.35rem * var(--site-type));
  --fs-h2: calc(clamp(1.85rem, 3.2vw, 2.75rem) * var(--site-type));
  --fs-h1: calc(clamp(2.4rem, 5vw, 4.35rem) * var(--site-type));

  /* Layout */
  --container: 1220px;
  --gutter: calc(24px * var(--site-space));
  --section-y: calc(clamp(64px, 8vw, 112px) * var(--site-space));
  --header-h: 78px;
  --radius: var(--site-radius);
  --radius-card: calc(var(--site-radius) + 2px);

  --shadow-xs: 0 1px 2px rgba(32, 32, 29, 0.04);
  --shadow-sm: 0 1px 2px rgba(32, 32, 29, 0.04), 0 12px 28px -22px rgba(32, 32, 29, 0.24);
  --shadow-md: 0 2px 4px rgba(32, 32, 29, 0.03), 0 24px 60px -34px rgba(32, 32, 29, 0.28);
  --shadow-lg: 0 40px 90px -50px rgba(32, 32, 29, 0.4);

  --dur-fast: calc(150ms * var(--site-motion));
  --dur: calc(280ms * var(--site-motion));
  --dur-slow: calc(720ms * var(--site-motion));
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --hairline: 1px solid var(--line);
}

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

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

body {
  margin: 0;
  background: var(--site-bg);
  color: var(--site-fg);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.68;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

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

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

button { cursor: pointer; }

h1, h2, h3, h4, h5, p, ul, ol, figure, blockquote {
  margin: 0;
}

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

::selection {
  background: var(--gold-wash);
  color: var(--site-fg);
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

[hidden] { display: none !important; }

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 3000;
  padding: 12px 18px;
  background: var(--site-fg);
  color: var(--site-bg);
  border-radius: var(--radius);
  font-size: var(--fs-small);
  transition: top var(--dur-fast);
}
.skip-link:focus { top: 16px; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

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

/* --------------------------------------------------------------------------
   Typography helpers
   -------------------------------------------------------------------------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--gold-deep);
  font-size: calc(0.6875rem * var(--site-type));
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  line-height: 1.4;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--gold-line);
}
.eyebrow--center { justify-content: center; }
.eyebrow--center::before { display: none; }

.section-title {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--site-fg);
}

.section-lead {
  max-width: 58ch;
  margin-top: 16px;
  color: var(--muted);
  font-size: var(--fs-lead);
  font-weight: 300;
  line-height: 1.75;
}

.section {
  padding-block: var(--section-y);
}
.section--tight { padding-block: calc(var(--section-y) * 0.62); }
.section--ivory { background: var(--ivory); }
.section--sand { background: var(--ivory-deep); }
.section--bordered { border-top: var(--hairline); }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: calc(44px * var(--site-space));
}
.section-head > div { max-width: 720px; }
.section-head--center {
  display: block;
  text-align: center;
  max-width: 760px;
  margin-inline: auto;
}
.section-head--center .section-lead { margin-inline: auto; }

/* --------------------------------------------------------------------------
   Buttons & links
   -------------------------------------------------------------------------- */

.btn {
  --btn-bg: var(--site-fg);
  --btn-fg: var(--site-bg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 12px 26px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: calc(0.78125rem * var(--site-type));
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background var(--dur-fast), color var(--dur-fast), border-color var(--dur-fast), transform var(--dur-fast), box-shadow var(--dur-fast);
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn:active { transform: translateY(0); }
.btn svg { width: 17px; height: 17px; flex: none; }

.btn--primary:hover { background: var(--gold-deep); color: var(--site-on-accent); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--site-fg);
  border-color: var(--line-strong);
}
.btn--ghost:hover {
  border-color: var(--gold);
  color: var(--gold-deep);
  background: var(--gold-wash);
}

.btn--gold {
  --btn-bg: var(--gold);
  --btn-fg: var(--site-on-accent);
}
.btn--gold:hover { background: var(--gold-deep); }

.btn--light {
  --btn-bg: var(--site-bg);
  --btn-fg: var(--site-fg);
  border-color: var(--site-bg);
}
.btn--light:hover { background: var(--ivory); border-color: var(--ivory); }

.btn--whatsapp {
  --btn-bg: var(--success);
  --btn-fg: #ffffff;
}
.btn--whatsapp:hover { background: #18573c; }

.btn--danger {
  --btn-bg: transparent;
  --btn-fg: var(--danger);
  border-color: rgba(166, 63, 53, 0.35);
}
.btn--danger:hover { background: var(--danger-soft); border-color: var(--danger); }

.btn--small {
  min-height: 40px;
  padding: 8px 18px;
  font-size: calc(0.6875rem * var(--site-type));
}
.btn--block { width: 100%; }
.btn[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-text {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 2px;
  border: 0;
  border-bottom: 1px solid transparent;
  background: none;
  color: var(--gold-deep);
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: border-color var(--dur-fast);
}
.btn-text:hover { border-bottom-color: var(--gold); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--site-fg);
  font-size: calc(0.75rem * var(--site-type));
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 7px;
  transition: color var(--dur-fast), border-color var(--dur-fast);
}
.link-arrow svg { width: 16px; height: 16px; transition: transform var(--dur-fast); }
.link-arrow:hover { color: var(--gold-deep); border-color: var(--gold); }
.link-arrow:hover svg { transform: translateX(4px); }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: color-mix(in srgb, var(--site-bg) 92%, transparent);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: var(--hairline);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: none;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--gold-line);
  border-radius: 50%;
  color: var(--gold-deep);
  background: linear-gradient(160deg, var(--white), var(--ivory));
  transition: transform var(--dur) var(--ease), border-color var(--dur);
}
.brand-mark svg { width: 25px; height: 25px; }
.brand:hover .brand-mark { transform: rotate(-6deg); border-color: var(--gold); }
.brand-copy { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name {
  font-family: var(--font-display);
  font-size: calc(1.4rem * var(--site-type));
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--site-fg);
}
.brand-sub {
  margin-top: 3px;
  color: var(--muted);
  font-size: calc(0.625rem * var(--site-type));
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}
.site-nav a {
  position: relative;
  padding: 8px 0;
  color: var(--ink-soft);
  font-size: calc(0.8125rem * var(--site-type));
  font-weight: 500;
  letter-spacing: 0.045em;
  transition: color var(--dur-fast);
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.site-nav a:hover,
.site-nav a.is-active { color: var(--site-fg); }
.site-nav a:hover::after,
.site-nav a.is-active::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 12px; }

.cart-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  font-size: calc(0.75rem * var(--site-type));
  font-weight: 600;
  letter-spacing: 0.05em;
  transition: border-color var(--dur-fast), background var(--dur-fast), color var(--dur-fast);
}
.cart-link svg { width: 18px; height: 18px; }
.cart-link:hover { border-color: var(--gold); color: var(--gold-deep); background: var(--gold-wash); }
.cart-count {
  display: inline-grid;
  place-items: center;
  min-width: 21px;
  height: 21px;
  padding-inline: 5px;
  border-radius: 20px;
  background: var(--site-fg);
  color: var(--site-bg);
  font-size: 0.6875rem;
  font-weight: 700;
  line-height: 1;
}
.cart-count.is-empty { background: var(--line); color: var(--muted); }

.menu-toggle {
  display: none;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: transparent;
}
.menu-toggle svg { width: 20px; height: 20px; }
.menu-toggle .menu-close { display: none; }
.menu-toggle[aria-expanded="true"] .menu-open { display: none; }
.menu-toggle[aria-expanded="true"] .menu-close { display: block; }

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

.hero {
  position: relative;
  overflow: hidden;
  padding-block: calc(clamp(52px, 7vw, 96px) * var(--site-space)) calc(clamp(60px, 8vw, 110px) * var(--site-space));
  background:
    radial-gradient(900px 480px at 88% -10%, rgba(169, 132, 69, 0.07), transparent 65%),
    linear-gradient(180deg, var(--site-bg), var(--ivory) 140%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 24px;
  border: 1px solid rgba(169, 132, 69, 0.14);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  align-items: center;
  gap: clamp(36px, 6vw, 84px);
}
.hero-content { position: relative; z-index: 2; }
.hero-title {
  font-family: var(--font-display);
  font-size: var(--fs-h1);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--site-fg);
  max-width: 13ch;
}
.hero-title em {
  font-style: italic;
  color: var(--gold-deep);
}
.hero-lead {
  max-width: 48ch;
  margin-top: 24px;
  color: var(--muted);
  font-size: var(--fs-lead);
  font-weight: 300;
  line-height: 1.8;
}
.hero-actions { margin-top: 34px; }
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 40px;
  padding-top: 24px;
  border-top: var(--hairline);
}
.hero-meta li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-right: 22px;
  margin-right: 22px;
  border-right: 1px solid var(--line);
  color: var(--muted);
  font-size: calc(0.6875rem * var(--site-type));
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.hero-meta li:last-child { border-right: 0; padding-right: 0; margin-right: 0; }
.hero-meta li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

.hero-visual { position: relative; }
.hero-frame {
  position: relative;
  overflow: hidden;
  border-radius: 50% 50% var(--radius-card) var(--radius-card) / 24% 24% var(--radius-card) var(--radius-card);
  border: 1px solid var(--gold-line);
  background: var(--white);
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 4.6;
}
.hero-frame::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: inherit;
  pointer-events: none;
}
.hero-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
}
.hero-badge {
  position: absolute;
  left: -26px;
  bottom: 34px;
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 250px;
  padding: 16px 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm);
}
.hero-badge .num {
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1;
  color: var(--gold-deep);
}
.hero-badge .label {
  color: var(--muted);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.5;
  text-transform: uppercase;
}
.hero-seal {
  position: absolute;
  top: 18px;
  right: -14px;
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--gold-line);
  color: var(--gold-deep);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-style: italic;
  text-align: center;
  line-height: 1.3;
  letter-spacing: 0.04em;
  box-shadow: var(--shadow-sm);
}
.hero-frame--settings { display: block; }
.hero-frame--settings .photo-placeholder { min-height: 100%; }
.hero-caption {
  position: relative;
  z-index: 2;
  max-width: 40ch;
  margin-top: 16px;
  padding-left: 18px;
  border-left: 1px solid var(--gold-line);
  color: var(--muted);
  font-size: 0.75rem;
  font-style: italic;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Value strip
   -------------------------------------------------------------------------- */

.value-strip {
  border-block: var(--hairline);
  background: var(--site-bg);
}
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.value-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 30px clamp(18px, 3vw, 40px);
  border-right: var(--hairline);
}
.value-item:first-child { padding-left: 0; }
.value-item:last-child { border-right: 0; padding-right: 0; }
.value-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--gold-line);
  color: var(--gold-deep);
  background: var(--ivory);
}
.value-icon svg { width: 26px; height: 26px; }
.value-item h3 {
  font-size: calc(0.9375rem * var(--site-type));
  font-weight: 600;
  letter-spacing: 0.01em;
}
.value-item p {
  margin-top: 5px;
  color: var(--muted);
  font-size: var(--fs-small);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Product cards
   -------------------------------------------------------------------------- */

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: calc(26px * var(--site-space));
}
.product-grid--catalog { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.product-grid--related { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.product-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--site-bg);
  border: var(--hairline);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: border-color var(--dur), transform var(--dur) var(--ease), box-shadow var(--dur);
}
.product-card:hover {
  border-color: var(--gold-line);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.product-media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3.35;
  overflow: hidden;
  background: var(--ivory-deep);
}
.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease);
}
.product-card:hover .product-media img { transform: scale(1.045); }
.photo-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 100%;
  min-height: 190px;
  padding: 22px;
  text-align: center;
  background:
    radial-gradient(circle at 30% 22%, rgba(176, 141, 87, 0.16), transparent 58%),
    repeating-linear-gradient(135deg, rgba(107, 74, 47, 0.045) 0 1px, transparent 1px 11px),
    var(--ivory-deep);
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.6;
}
.photo-placeholder svg { width: 34px; height: 34px; color: var(--gold); opacity: 0.9; }
.photo-placeholder span { color: var(--ink-soft); font-weight: 600; letter-spacing: 0.02em; }
.photo-placeholder small { max-width: 32ch; font-size: 0.6875rem; color: var(--muted); }
.photo-placeholder--large { min-height: 440px; gap: 14px; }
.photo-placeholder--large svg { width: 54px; height: 54px; }
.photo-placeholder--large span { font-family: var(--font-display); font-size: 1.5rem; font-weight: 500; }
.photo-placeholder--hero { min-height: 100%; }
.frame-img .photo-placeholder { height: 100%; min-height: 100%; }
.product-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 11px;
  background: color-mix(in srgb, var(--site-bg) 90%, transparent);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 20px;
  color: var(--ink-soft);
  backdrop-filter: blur(8px);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.product-tag--quote { color: var(--gold-deep); }
.product-stock {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 5px 10px;
  border-radius: 20px;
  background: rgba(32, 32, 29, 0.72);
  color: #fff;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  backdrop-filter: blur(6px);
}
.product-stock.is-empty { background: rgba(166, 63, 53, 0.9); }

.product-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 22px 22px 20px;
}
.product-kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 7px;
  color: var(--gold-deep);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}
.product-kicker::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}
.product-name {
  font-family: var(--font-display);
  font-size: calc(1.5rem * var(--site-type));
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0;
}
.product-name a:hover { color: var(--gold-deep); }
.product-desc {
  margin-top: 8px;
  color: var(--muted);
  font-size: var(--fs-small);
  line-height: 1.68;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}
.spec-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--ivory);
  color: var(--ink-soft);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.product-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-top: auto;
  padding-top: 18px;
}
.product-price {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.product-price .label {
  color: var(--muted);
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.product-price .value {
  color: var(--site-fg);
  font-size: calc(1.0625rem * var(--site-type));
  font-weight: 700;
  letter-spacing: -0.01em;
}
.product-price .value.is-quote {
  font-family: var(--font-display);
  font-size: calc(1.1875rem * var(--site-type));
  font-weight: 600;
  color: var(--gold-deep);
}
.product-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex: none;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--site-fg);
  background: var(--site-bg);
  transition: background var(--dur-fast), color var(--dur-fast), border-color var(--dur-fast), transform var(--dur-fast);
}
.product-cta svg { width: 18px; height: 18px; }
.product-cta:hover { background: var(--site-fg); color: var(--site-bg); border-color: var(--site-fg); transform: rotate(-8deg); }
.product-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}
.product-actions .btn {
  min-width: 0;
  min-height: 42px;
  padding: 9px 10px;
  font-size: calc(0.625rem * var(--site-type));
  letter-spacing: 0.06em;
}
.product-actions .btn svg { width: 15px; height: 15px; }
.product-actions .btn[disabled] { opacity: 0.55; }

/* Card skeleton */
.product-card.is-skeleton { pointer-events: none; }
.skeleton-line,
.skeleton-media {
  position: relative;
  overflow: hidden;
  background: var(--ivory-deep);
}
.skeleton-line::after,
.skeleton-media::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.65), transparent);
  animation: shimmer 1.5s infinite;
}
@keyframes shimmer { to { transform: translateX(100%); } }
.skeleton-media { aspect-ratio: 4 / 3.35; }
.skeleton-line { height: 12px; border-radius: 10px; margin: 12px 22px 0; }
.skeleton-line:first-of-type { margin-top: 22px; width: 30%; }
.skeleton-line:nth-of-type(2) { width: 60%; height: 18px; }
.skeleton-line:nth-of-type(3) { width: 85%; }

/* --------------------------------------------------------------------------
   Editorial / story
   -------------------------------------------------------------------------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 7vw, 96px);
  align-items: center;
}
.split--reverse .split-media { order: 2; }

.split-media { position: relative; }
.frame-img {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-card);
  border: 1px solid var(--line);
  background: var(--ivory);
}
.frame-img img { width: 100%; height: 100%; object-fit: cover; }
.frame-img--tall { aspect-ratio: 4 / 5; }
.frame-img--wide { aspect-ratio: 4 / 3.4; }
.frame-img--arch {
  border-radius: 160px 160px var(--radius-card) var(--radius-card);
  aspect-ratio: 4 / 4.8;
}
.media-note {
  position: absolute;
  right: -18px;
  bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 158px;
  padding: 18px 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm);
}
.media-note strong {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 500;
  line-height: 1;
  color: var(--gold-deep);
}
.media-note span {
  color: var(--muted);
  font-size: 0.6875rem;
  line-height: 1.45;
}

.story-panel {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 30px;
  min-height: 470px;
  padding: clamp(30px, 4vw, 50px);
  border: 1px solid var(--gold-line);
  border-radius: 160px 160px var(--radius-card) var(--radius-card);
  background:
    radial-gradient(circle at 50% 20%, rgba(176, 141, 87, 0.16), transparent 62%),
    repeating-linear-gradient(135deg, rgba(107, 74, 47, 0.045) 0 1px, transparent 1px 12px),
    var(--ivory-deep);
  color: var(--gold-deep);
}
.story-panel::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(176, 141, 87, 0.24);
  border-radius: 150px 150px var(--radius-card) var(--radius-card);
  pointer-events: none;
}
.story-panel svg {
  position: relative;
  z-index: 1;
  width: min(86%, 340px);
  height: auto;
  margin-inline: auto;
}
.story-panel > div {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
  text-align: center;
}
.story-panel span {
  color: var(--muted);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.story-panel strong {
  color: var(--wood-deep);
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 500;
  line-height: 1.1;
}
.story-panel em {
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-style: italic;
}

.story-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3vw, 2.65rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.015em;
}
.story-copy {
  margin-top: 18px;
  color: var(--muted);
  font-weight: 300;
  line-height: 1.85;
}
.pull-quote {
  margin-top: 30px;
  padding: 22px 0 22px 24px;
  border-left: 1px solid var(--gold);
  color: var(--ink-soft);
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  font-style: italic;
  line-height: 1.5;
}
.stat-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 34px;
  padding-top: 26px;
  border-top: var(--hairline);
}
.stat-row strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 600;
  line-height: 1.1;
  color: var(--site-fg);
}
.stat-row span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   Collections
   -------------------------------------------------------------------------- */

.collection-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: calc(24px * var(--site-space));
}
.collection-card {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: 430px;
  border-radius: var(--radius-card);
  border: var(--hairline);
  background: var(--ivory);
}
.collection-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease);
}
.collection-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 38%, rgba(20, 19, 16, 0.72));
}
.collection-card > div:last-child {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 28px;
  color: #fff;
}
.collection-card span {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.8;
}
.collection-card h3 {
  margin-top: 5px;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.1;
}
.collection-card p {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.82);
  font-size: var(--fs-small);
  line-height: 1.55;
}
.collection-card:hover img { transform: scale(1.06); }
.collection-visual {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background-color: var(--sand);
  transition: transform var(--dur-slow) var(--ease);
}
.collection-visual span {
  position: absolute;
  top: 34px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(70, 48, 31, 0.22);
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 4.4rem);
  font-style: italic;
  letter-spacing: -0.03em;
  white-space: nowrap;
}
.collection-visual--bunga {
  background-color: #efe1cb;
  background-image:
    radial-gradient(circle at 26% 28%, rgba(176, 141, 87, 0.55) 0 4px, transparent 5px),
    radial-gradient(circle at 70% 22%, rgba(129, 143, 119, 0.5) 0 5px, transparent 6px),
    radial-gradient(circle at 44% 48%, rgba(138, 107, 61, 0.42) 0 3px, transparent 4px),
    radial-gradient(circle at 78% 58%, rgba(176, 141, 87, 0.4) 0 6px, transparent 7px),
    radial-gradient(circle at 22% 66%, rgba(129, 143, 119, 0.38) 0 4px, transparent 5px),
    radial-gradient(circle at 58% 76%, rgba(138, 107, 61, 0.34) 0 5px, transparent 6px),
    repeating-linear-gradient(120deg, rgba(107, 74, 47, 0.05) 0 1px, transparent 1px 14px);
}
.collection-visual--awan {
  background-color: #e7dcc6;
  background-image:
    radial-gradient(circle at 50% 100%, transparent 30%, rgba(107, 74, 47, 0.14) 31% 33%, transparent 34%),
    radial-gradient(circle at 50% 100%, transparent 30%, rgba(107, 74, 47, 0.1) 31% 33%, transparent 34%);
  background-size: 96px 58px, 96px 58px;
  background-position: 0 0, 48px 29px;
}
.collection-visual--kawung {
  background-color: #e3ddce;
  background-image:
    radial-gradient(ellipse 42% 26% at 50% 50%, transparent 62%, rgba(70, 48, 31, 0.16) 63% 70%, transparent 71%),
    radial-gradient(circle at 0 0, transparent 24%, rgba(70, 48, 31, 0.12) 25% 31%, transparent 32%),
    radial-gradient(circle at 100% 100%, transparent 24%, rgba(70, 48, 31, 0.12) 25% 31%, transparent 32%);
  background-size: 72px 72px, 36px 36px, 36px 36px;
  background-position: 0 0, 0 0, 0 0;
}
.collection-card:hover .collection-visual { transform: scale(1.04); }

/* --------------------------------------------------------------------------
   Process
   -------------------------------------------------------------------------- */

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: var(--hairline);
  margin-top: calc(48px * var(--site-space));
  counter-reset: step;
}
.process-step {
  position: relative;
  padding: 32px 30px 0 0;
  border-right: var(--hairline);
}
.process-step:last-child { border-right: 0; }
.process-step + .process-step { padding-left: 30px; }
.step-num {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1rem;
  font-style: italic;
  letter-spacing: 0.08em;
}
.process-step h3 {
  font-family: var(--font-display);
  font-size: calc(1.35rem * var(--site-type));
  font-weight: 600;
  line-height: 1.2;
}
.process-step p {
  margin-top: 10px;
  color: var(--muted);
  font-size: var(--fs-small);
  line-height: 1.72;
}

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

.cta-band {
  position: relative;
  overflow: hidden;
  padding-block: calc(clamp(68px, 8vw, 108px) * var(--site-space));
  background: #1d1d1a;
  color: #f7f5f0;
  text-align: center;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 22px;
  border: 1px solid rgba(216, 195, 160, 0.22);
  pointer-events: none;
}
.cta-band::after {
  content: "";
  position: absolute;
  width: 560px;
  height: 560px;
  right: -180px;
  top: -260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(169, 132, 69, 0.25), transparent 68%);
  pointer-events: none;
}
.cta-band .container { position: relative; z-index: 1; }
.cta-band .eyebrow { color: #d8c3a0; }
.cta-band .eyebrow::before { background: #d8c3a0; }
.cta-band h2 {
  max-width: 20ch;
  margin-inline: auto;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.015em;
}
.cta-band p:not(.eyebrow) {
  max-width: 58ch;
  margin: 18px auto 0;
  color: rgba(247, 245, 240, 0.72);
  font-weight: 300;
}
.cta-band .btn-row { justify-content: center; }
.cta-band .btn--ghost {
  --btn-fg: #f7f5f0;
  border-color: rgba(247, 245, 240, 0.35);
}
.cta-band .btn--ghost:hover {
  background: rgba(247, 245, 240, 0.08);
  border-color: #d8c3a0;
  color: #f7f5f0;
}

/* --------------------------------------------------------------------------
   Page hero / breadcrumb
   -------------------------------------------------------------------------- */

.page-hero {
  position: relative;
  padding-block: calc(clamp(44px, 5.5vw, 74px) * var(--site-space)) 0;
  background:
    radial-gradient(760px 320px at 92% 0%, rgba(169, 132, 69, 0.06), transparent 70%),
    var(--site-bg);
}
.page-hero .container {
  padding-bottom: calc(clamp(36px, 4vw, 54px) * var(--site-space));
  border-bottom: var(--hairline);
}
.page-hero h1 {
  margin-top: 2px;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.4vw, 3.6rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.breadcrumb a:hover { color: var(--gold-deep); }
.breadcrumb .sep { color: var(--line-strong); }
.breadcrumb [aria-current] { color: var(--site-fg); }

/* --------------------------------------------------------------------------
   Catalog toolbar & filters
   -------------------------------------------------------------------------- */

.catalog-toolbar {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.search-field {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 240px;
}
.search-field > svg {
  position: absolute;
  left: 16px;
  width: 18px;
  height: 18px;
  color: var(--muted);
  pointer-events: none;
}
.search-field input {
  width: 100%;
  height: 50px;
  padding: 0 44px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--site-bg);
  font-size: var(--fs-small);
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}
.search-field input::placeholder { color: #9a958b; }
.search-field input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-wash);
}
.search-clear {
  position: absolute;
  right: 10px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--ivory-deep);
  color: var(--muted);
}
.search-clear:hover { background: var(--sand); color: var(--site-fg); }

.select-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.select-wrap select {
  appearance: none;
  min-width: 176px;
  height: 50px;
  padding: 0 42px 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--site-bg);
  font-size: var(--fs-small);
  cursor: pointer;
  transition: border-color var(--dur-fast);
}
.select-wrap select:focus { outline: none; border-color: var(--gold); }
.select-wrap svg {
  position: absolute;
  right: 14px;
  width: 16px;
  height: 16px;
  color: var(--muted);
  pointer-events: none;
}

.filter-group {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 16px 0 20px;
  border-top: var(--hairline);
}
.filter-block {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.filter-label {
  color: var(--muted);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}
.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chip {
  min-height: 36px;
  padding: 7px 15px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--site-bg);
  color: var(--ink-soft);
  font-size: 0.75rem;
  font-weight: 500;
  transition: background var(--dur-fast), color var(--dur-fast), border-color var(--dur-fast);
}
.chip:hover { border-color: var(--gold-line); color: var(--gold-deep); }
.chip.is-active {
  background: var(--site-fg);
  border-color: var(--site-fg);
  color: var(--site-bg);
}

.catalog-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0 26px;
  border-top: var(--hairline);
}
.result-count {
  color: var(--muted);
  font-size: var(--fs-small);
}
.result-count strong { color: var(--site-fg); font-weight: 700; }

.empty-state {
  padding: 70px 24px;
  text-align: center;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-card);
  background: var(--ivory);
  color: var(--muted);
}
.empty-state svg { display: block; width: 40px; height: 40px; margin: 0 auto 16px; color: var(--gold); }
.empty-state h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--site-fg);
}
.empty-state p { max-width: 44ch; margin: 8px auto 22px; font-size: var(--fs-small); }

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

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(36px, 6vw, 80px);
  align-items: start;
}
.detail-media { position: sticky; top: calc(var(--header-h) + 24px); }
.detail-media .frame-img {
  aspect-ratio: 4 / 4.3;
  border-radius: var(--radius-card);
}
.detail-media .frame-img img { object-fit: cover; }
.detail-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
}
.detail-thumb {
  flex: 0 0 78px;
  width: 78px;
  height: 78px;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ivory);
  opacity: 0.7;
  transition: opacity var(--dur-fast), border-color var(--dur-fast);
}
.detail-thumb img { width: 100%; height: 100%; object-fit: cover; }
.detail-thumb:hover { opacity: 1; }
.detail-thumb.is-active { opacity: 1; border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold); }

.detail-panel { padding-top: 6px; }
.detail-title {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 3.8vw, 3.1rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.detail-sub {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.detail-price-block {
  margin-top: 26px;
  padding-block: 22px;
  border-block: var(--hairline);
}
.detail-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
}
.detail-price .label {
  color: var(--muted);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.detail-price .value {
  color: var(--site-fg);
  font-size: calc(1.6rem * var(--site-type));
  font-weight: 700;
  letter-spacing: -0.02em;
}
.detail-price .value.is-quote {
  font-family: var(--font-display);
  font-size: calc(1.55rem * var(--site-type));
  font-weight: 600;
  color: var(--gold-deep);
}
.detail-price-note {
  margin-top: 8px;
  color: var(--muted);
  font-size: var(--fs-small);
  line-height: 1.6;
}
.detail-desc {
  margin-top: 22px;
  color: var(--muted);
  font-weight: 300;
  line-height: 1.82;
}

.variant-group { margin-top: 28px; }
.variant-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.variant-head .label {
  color: var(--ink-soft);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.variant-head .hint {
  color: var(--muted);
  font-size: 0.6875rem;
}
.variant-options {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}
.variant-option {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  min-width: 118px;
  padding: 12px 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--site-bg);
  text-align: left;
  transition: border-color var(--dur-fast), background var(--dur-fast), box-shadow var(--dur-fast);
}
.variant-option strong {
  font-size: 0.8125rem;
  font-weight: 600;
}
.variant-option span {
  color: var(--muted);
  font-size: 0.6875rem;
}
.variant-option:hover { border-color: var(--gold-line); }
.variant-option.is-active {
  border-color: var(--gold);
  background: var(--gold-wash);
  box-shadow: inset 0 0 0 1px var(--gold);
}
.variant-option[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
  text-decoration: line-through;
}

.qty-row {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 26px;
}
.qty-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  overflow: hidden;
}
.qty-control button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 46px;
  border: 0;
  background: var(--site-bg);
  font-size: 1.1rem;
  transition: background var(--dur-fast);
}
.qty-control button:hover { background: var(--ivory); }
.qty-control button:disabled { opacity: 0.35; cursor: not-allowed; }
.qty-control input {
  width: 52px;
  height: 46px;
  border: 0;
  border-inline: 1px solid var(--line);
  background: var(--site-bg);
  text-align: center;
  font-weight: 600;
  appearance: textfield;
}
.qty-control input::-webkit-outer-spin-button,
.qty-control input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-stock {
  color: var(--muted);
  font-size: var(--fs-small);
}
.qty-stock strong { color: var(--site-fg); }

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}
.detail-actions .btn { flex: 1; min-width: 190px; }

.detail-facts {
  display: grid;
  gap: 0;
  margin-top: 32px;
  border-top: var(--hairline);
}
.detail-fact {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: 16px;
  padding: 13px 0;
  border-bottom: var(--hairline);
  font-size: var(--fs-small);
}
.detail-fact dt {
  color: var(--muted);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.detail-fact dd { margin: 0; color: var(--ink-soft); }

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

.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.75fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
.cart-list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: var(--hairline);
}
.cart-list-head h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
}
.cart-list-head span { color: var(--muted); font-size: var(--fs-small); }

.cart-item {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) auto;
  gap: 20px;
  padding: 22px 0;
  border-bottom: var(--hairline);
}
.cart-thumb {
  overflow: hidden;
  width: 110px;
  height: 110px;
  border: var(--hairline);
  border-radius: var(--radius);
  background: var(--ivory);
}
.cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-thumb--empty { display: block; }
.cart-thumb .photo-placeholder {
  min-height: 100%;
  gap: 4px;
  padding: 8px;
}
.cart-thumb .photo-placeholder svg { width: 20px; height: 20px; }
.cart-thumb .photo-placeholder span { font-size: 0.5625rem; letter-spacing: 0; }
.cart-thumb .photo-placeholder small { display: none; }
.cart-info { min-width: 0; }
.cart-info h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.2;
}
.cart-info h3 a:hover { color: var(--gold-deep); }
.cart-variant {
  margin-top: 5px;
  color: var(--muted);
  font-size: var(--fs-small);
}
.cart-unit {
  margin-top: 8px;
  color: var(--ink-soft);
  font-size: var(--fs-small);
  font-weight: 600;
}
.cart-unit.is-quote { color: var(--gold-deep); font-weight: 500; }
.cart-unit .note {
  display: block;
  max-width: 46ch;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.6875rem;
  font-weight: 400;
  line-height: 1.5;
}
.cart-item-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
}
.cart-item-total {
  font-weight: 700;
  font-size: var(--fs-lead);
  white-space: nowrap;
}
.cart-item-total.is-quote {
  color: var(--gold-deep);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
}
.cart-remove {
  padding: 4px 0;
  border: 0;
  border-bottom: 1px solid transparent;
  background: none;
  color: var(--muted);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.cart-remove:hover { color: var(--danger); border-color: var(--danger); }
.cart-item .qty-control button { width: 34px; height: 36px; }
.cart-item .qty-control input { width: 40px; height: 36px; }

.cart-summary {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  padding: 28px;
  background: var(--ivory);
  border: var(--hairline);
  border-radius: var(--radius-card);
}
.cart-summary h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
}
.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  color: var(--muted);
  font-size: var(--fs-small);
}
.summary-row strong { color: var(--site-fg); font-weight: 600; }
.summary-row.is-quote strong { color: var(--gold-deep); font-weight: 500; }
.summary-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin-top: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--line-strong);
}
.summary-total span {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.summary-total strong {
  font-size: calc(1.4rem * var(--site-type));
  font-weight: 700;
  letter-spacing: -0.02em;
}
.quote-notice {
  margin-top: 16px;
  padding: 13px 15px;
  border: 1px solid rgba(169, 132, 69, 0.28);
  border-radius: var(--radius);
  background: #fffdf8;
  color: #6d5729;
  font-size: 0.75rem;
  line-height: 1.6;
}
.quote-notice strong { display: block; margin-bottom: 3px; font-weight: 700; }
.cart-summary .btn { margin-top: 20px; }
.summary-note {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.6875rem;
  line-height: 1.6;
  text-align: center;
}
.cart-empty {
  padding: 72px 24px;
  text-align: center;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-card);
  background: var(--ivory);
}
.cart-empty svg { display: block; width: 52px; height: 52px; margin: 0 auto 18px; color: var(--gold); }
.cart-empty h2 {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 600;
}
.cart-empty p { max-width: 42ch; margin: 8px auto 24px; color: var(--muted); font-size: var(--fs-small); }

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.contact-card {
  padding: 25px 26px;
  border: var(--hairline);
  border-radius: var(--radius-card);
  background: var(--site-bg);
}
.contact-card + .contact-card { margin-top: 14px; }
.contact-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.contact-card p {
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: var(--fs-small);
  line-height: 1.7;
}
.contact-card a { border-bottom: 1px solid var(--line-strong); }
.contact-card a:hover { color: var(--gold-deep); border-color: var(--gold); }
.contact-form {
  padding: clamp(24px, 4vw, 40px);
  background: var(--ivory);
  border: var(--hairline);
  border-radius: var(--radius-card);
}
.contact-form h2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 600;
}
.contact-form > p {
  margin-top: 6px;
  color: var(--muted);
  font-size: var(--fs-small);
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label {
  color: var(--ink-soft);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--site-bg);
  font-size: var(--fs-small);
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-wash);
}
.field-hint { color: var(--muted); font-size: 0.6875rem; }
.form-actions { margin-top: 22px; }
.form-note {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.6875rem;
  line-height: 1.55;
}

/* --------------------------------------------------------------------------
   About page
   -------------------------------------------------------------------------- */

.about-hero {
  position: relative;
  overflow: hidden;
  padding-block: calc(clamp(56px, 7vw, 96px) * var(--site-space));
  background: var(--ivory);
  border-bottom: var(--hairline);
}
.about-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}
.about-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.8vw, 4rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.02em;
}
.about-hero p {
  max-width: 54ch;
  margin-top: 20px;
  color: var(--muted);
  font-weight: 300;
  line-height: 1.85;
}
.about-hero .frame-img { aspect-ratio: 4 / 4.6; border-radius: 50% 50% var(--radius-card) var(--radius-card) / 20% 20% var(--radius-card) var(--radius-card); }

.timeline {
  position: relative;
  margin-top: calc(46px * var(--site-space));
  padding-left: 30px;
  border-left: 1px solid var(--line-strong);
}
.timeline-item {
  position: relative;
  padding: 0 0 34px 26px;
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: -36px;
  top: 6px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 2px solid var(--site-bg);
  background: var(--gold);
  box-shadow: 0 0 0 1px var(--gold);
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item span {
  color: var(--gold-deep);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-style: italic;
}
.timeline-item h3 {
  margin-top: 3px;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
}
.timeline-item p {
  margin-top: 6px;
  color: var(--muted);
  font-size: var(--fs-small);
  line-height: 1.75;
}

.care-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: calc(40px * var(--site-space));
}
.care-card {
  padding: 26px;
  border: var(--hairline);
  border-radius: var(--radius-card);
  background: var(--site-bg);
}
.care-card .num {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1rem;
  font-style: italic;
}
.care-card h3 {
  margin-top: 10px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
}
.care-card p {
  margin-top: 7px;
  color: var(--muted);
  font-size: var(--fs-small);
  line-height: 1.7;
}

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

.site-footer {
  background: var(--ivory);
  border-top: var(--hairline);
}
.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 0.7fr));
  gap: 40px;
  padding-block: calc(56px * var(--site-space)) calc(44px * var(--site-space));
}
.footer-brand p {
  max-width: 36ch;
  margin-top: 16px;
  color: var(--muted);
  font-size: var(--fs-small);
  line-height: 1.7;
}
.footer-brand .btn { margin-top: 20px; }
.brand--footer .brand-mark { background: var(--site-bg); }
.footer-col h3 {
  margin-bottom: 16px;
  color: var(--site-fg);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}
.footer-col a,
.footer-col p {
  display: block;
  margin-bottom: 9px;
  color: var(--muted);
  font-size: var(--fs-small);
  line-height: 1.6;
}
.footer-col a:hover { color: var(--gold-deep); }
.footer-contact a { color: var(--ink-soft); font-weight: 600; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-block: 20px;
  border-top: var(--hairline);
  color: var(--muted);
  font-size: 0.6875rem;
  letter-spacing: 0.03em;
}

/* --------------------------------------------------------------------------
   Floating WhatsApp
   -------------------------------------------------------------------------- */

.wa-float {
  position: fixed;
  right: clamp(14px, 2.2vw, 26px);
  bottom: clamp(14px, 2.2vw, 26px);
  z-index: 1800;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 19px 12px 15px;
  border-radius: 999px;
  background: var(--success);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  box-shadow: 0 16px 34px -18px rgba(20, 48, 34, 0.75);
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease), background var(--dur-fast);
}
.wa-float:hover {
  transform: translateY(-2px);
  background: #18573c;
  color: #fff;
  box-shadow: 0 20px 38px -18px rgba(20, 48, 34, 0.8);
}
.wa-float svg { width: 20px; height: 20px; flex: none; }

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

.toast-region {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 2600;
  display: flex;
  flex-direction: column;
  gap: 9px;
  width: min(360px, calc(100vw - 32px));
  pointer-events: none;
}
.toast {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 17px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--success);
  border-radius: var(--radius);
  background: var(--site-bg);
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity var(--dur), transform var(--dur) var(--ease);
}
.toast.is-visible { opacity: 1; transform: translateY(0); }
.toast strong {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--site-fg);
}
.toast span { color: var(--muted); font-size: var(--fs-small); line-height: 1.5; }
.toast--error { border-left-color: var(--danger); }

/* --------------------------------------------------------------------------
   Reveal animation
   -------------------------------------------------------------------------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}
[data-reveal].is-revealed { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* --------------------------------------------------------------------------
   Admin — shell, login, dashboard
   -------------------------------------------------------------------------- */

.admin-body { background: var(--ivory); }
.admin-shell {
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
  min-height: 100vh;
}
.admin-sidebar {
  position: sticky;
  top: 0;
  align-self: start;
  display: flex;
  flex-direction: column;
  height: 100vh;
  padding: 26px 18px 20px;
  background: var(--site-bg);
  border-right: var(--hairline);
  overflow-y: auto;
}
.admin-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 8px 22px;
  border-bottom: var(--hairline);
}
.admin-brand .brand-mark { width: 38px; height: 38px; }
.admin-brand .brand-mark svg { width: 22px; height: 22px; }
.admin-brand .brand-name { font-size: 1.2rem; }
.admin-brand .brand-sub { font-size: 0.55rem; }
.admin-nav {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: 18px;
}
.admin-nav button {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  padding: 11px 12px;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 500;
  text-align: left;
  transition: background var(--dur-fast), color var(--dur-fast);
}
.admin-nav button svg { width: 18px; height: 18px; flex: none; }
.admin-nav button:hover { background: var(--ivory); color: var(--site-fg); }
.admin-nav button.is-active {
  background: var(--site-fg);
  color: var(--site-bg);
}
.admin-nav button .nav-badge {
  margin-left: auto;
  padding: 1px 7px;
  border-radius: 20px;
  background: var(--gold-wash);
  color: var(--gold-deep);
  font-size: 0.625rem;
  font-weight: 700;
}
.admin-nav button.is-active .nav-badge { background: rgba(255, 255, 255, 0.18); color: #fff; }
.admin-sidebar-foot {
  margin-top: auto;
  padding-top: 18px;
  border-top: var(--hairline);
}
.admin-user {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  margin-bottom: 8px;
}
.admin-avatar {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 50%;
  background: var(--gold-wash);
  color: var(--gold-deep);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
}
.admin-user-meta { min-width: 0; }
.admin-user-meta strong {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.admin-user-meta span { color: var(--muted); font-size: 0.625rem; }
.admin-logout {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: transparent;
  color: var(--muted);
  font-size: 0.75rem;
}
.admin-logout:hover { color: var(--danger); border-color: rgba(166, 63, 53, 0.4); }
.admin-logout svg { width: 16px; height: 16px; }

.admin-main {
  min-width: 0;
  padding: 26px clamp(20px, 3.5vw, 46px) 60px;
}
.admin-topbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-bottom: 22px;
  margin-bottom: 26px;
  border-bottom: var(--hairline);
}
.admin-topbar h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 600;
  line-height: 1.1;
}
.admin-topbar p {
  margin-top: 5px;
  color: var(--muted);
  font-size: var(--fs-small);
}
.admin-topbar-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.login-screen {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 28px;
  background:
    radial-gradient(700px 420px at 80% -10%, rgba(169, 132, 69, 0.12), transparent 65%),
    linear-gradient(180deg, var(--site-bg), var(--ivory));
}
.login-card {
  width: min(440px, 100%);
  padding: clamp(28px, 4vw, 44px);
  background: var(--site-bg);
  border: var(--hairline);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-md);
}
.login-card .brand { margin-bottom: 26px; }
.login-card h1 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.1;
}
.login-card > p {
  margin-top: 8px;
  color: var(--muted);
  font-size: var(--fs-small);
  line-height: 1.6;
}
.login-card .field { margin-top: 16px; }
.login-card .btn { margin-top: 22px; }
.login-note {
  margin-top: 18px;
  padding-top: 16px;
  border-top: var(--hairline);
  color: var(--muted);
  font-size: 0.6875rem;
  line-height: 1.6;
}
.login-error {
  margin-top: 16px;
  padding: 10px 13px;
  border: 1px solid rgba(166, 63, 53, 0.28);
  border-radius: var(--radius);
  background: var(--danger-soft);
  color: var(--danger);
  font-size: 0.75rem;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}
.stat-card {
  padding: 20px 21px;
  background: var(--site-bg);
  border: var(--hairline);
  border-radius: var(--radius-card);
}
.stat-card .label {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.stat-card .label svg { width: 14px; height: 14px; color: var(--gold); }
.stat-card .value {
  margin-top: 9px;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.01em;
}
.stat-card .hint {
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.6875rem;
  line-height: 1.5;
}

.panel {
  background: var(--site-bg);
  border: var(--hairline);
  border-radius: var(--radius-card);
  overflow: hidden;
}
.panel + .panel { margin-top: 20px; }
.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 20px 22px;
  border-bottom: var(--hairline);
}
.panel-head h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
}
.panel-head p { margin-top: 3px; color: var(--muted); font-size: 0.75rem; }
.panel-body { padding: 22px; }
.panel-body--flush { padding: 0; }

.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.75fr);
  gap: 20px;
  align-items: start;
}

.report-bars { display: flex; flex-direction: column; gap: 14px; }
.report-bar .report-bar-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
  font-size: 0.75rem;
}
.report-bar .report-bar-head span { color: var(--muted); }
.report-bar .report-bar-head strong { font-weight: 600; }
.report-bar .track {
  height: 7px;
  border-radius: 8px;
  background: var(--ivory-deep);
  overflow: hidden;
}
.report-bar .fill {
  height: 100%;
  border-radius: 8px;
  background: linear-gradient(90deg, var(--gold), var(--gold-deep));
}

.table-wrap { overflow-x: auto; }
table.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-small);
}
.admin-table th {
  padding: 11px 16px;
  border-bottom: var(--hairline);
  background: var(--ivory);
  color: var(--muted);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-align: left;
  text-transform: uppercase;
  white-space: nowrap;
}
.admin-table td {
  padding: 13px 16px;
  border-bottom: var(--hairline);
  vertical-align: middle;
}
.admin-table tr:last-child td { border-bottom: 0; }
.admin-table tbody tr:hover { background: #fdfcf9; }
.table-product {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 210px;
}
.table-product img {
  width: 48px;
  height: 48px;
  flex: none;
  border-radius: var(--radius);
  border: var(--hairline);
  object-fit: cover;
  background: var(--ivory);
}
.table-product strong { display: block; font-weight: 600; line-height: 1.3; }
.table-product span { color: var(--muted); font-size: 0.6875rem; }
.table-actions { display: flex; gap: 6px; justify-content: flex-end; }
.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--site-bg);
  color: var(--muted);
  transition: color var(--dur-fast), border-color var(--dur-fast), background var(--dur-fast);
}
.icon-btn svg { width: 16px; height: 16px; }
.icon-btn:hover { color: var(--site-fg); border-color: var(--line-strong); background: var(--ivory); }
.icon-btn.is-danger:hover { color: var(--danger); border-color: rgba(166, 63, 53, 0.4); background: var(--danger-soft); }

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}
.status-pill::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}
.status-pill--baru { background: var(--warning-soft); color: var(--warning); }
.status-pill--dihubungi { background: #eef2f7; color: #40566f; }
.status-pill--dikonfirmasi { background: #eef0fb; color: #4d4a8c; }
.status-pill--selesai { background: var(--success-soft); color: var(--success); }
.status-pill--dibatalkan { background: var(--danger-soft); color: var(--danger); }
.status-pill--active { background: var(--success-soft); color: var(--success); }
.status-pill--inactive { background: var(--ivory-deep); color: var(--muted); }

.admin-table select {
  min-width: 128px;
  padding: 7px 10px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--site-bg);
  font-size: 0.75rem;
}
.admin-table select:focus { outline: none; border-color: var(--gold); }

.admin-empty {
  padding: 46px 20px;
  text-align: center;
  color: var(--muted);
  font-size: var(--fs-small);
}
.admin-empty strong {
  display: block;
  margin-bottom: 5px;
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--site-fg);
}

/* Admin modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2200;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(24, 23, 20, 0.45);
  backdrop-filter: blur(3px);
  animation: fade-in var(--dur-fast) ease;
}
@keyframes fade-in { from { opacity: 0; } }
.modal-card {
  width: min(760px, 100%);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  background: var(--site-bg);
  border: var(--hairline);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-lg);
  animation: modal-in var(--dur) var(--ease);
}
@keyframes modal-in { from { opacity: 0; transform: translateY(14px) scale(0.99); } }
.modal-card--sm { width: min(440px, 100%); }
.modal-head {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: var(--site-bg);
  border-bottom: var(--hairline);
}
.modal-head h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
}
.modal-head .icon-btn { border: 0; }
.modal-body { padding: 24px; }
.modal-foot {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
  padding: 18px 24px;
  border-top: var(--hairline);
  background: var(--ivory);
}

.variant-editor {
  margin-top: 22px;
  border: var(--hairline);
  border-radius: var(--radius);
  overflow: hidden;
}
.variant-editor-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 15px;
  background: var(--ivory);
  border-bottom: var(--hairline);
}
.variant-editor-head strong {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.variant-rows { display: flex; flex-direction: column; }
.variant-row {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr) 96px 92px 38px;
  gap: 9px;
  align-items: center;
  padding: 10px 12px;
  border-bottom: var(--hairline);
}
.variant-row:last-child { border-bottom: 0; }
.variant-row select,
.variant-row input {
  width: 100%;
  height: 38px;
  padding: 0 9px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--site-bg);
  font-size: 0.75rem;
}
.variant-row select:focus,
.variant-row input:focus { outline: none; border-color: var(--gold); }
.variant-price {
  color: var(--gold-deep);
  font-size: 0.6875rem;
  font-weight: 600;
  line-height: 1.35;
}
.variant-price.is-quote { color: var(--muted); font-weight: 500; }
.variant-row .icon-btn { width: 32px; height: 32px; }

.upload-zone {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 210px;
  padding: 20px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  background: var(--ivory);
  text-align: center;
  overflow: hidden;
  transition: border-color var(--dur-fast), background var(--dur-fast);
}
.upload-zone:hover,
.upload-zone.is-drag { border-color: var(--gold); background: #fdfbf6; }
.upload-zone img {
  width: 100%;
  max-height: 280px;
  object-fit: cover;
  border-radius: var(--radius);
}
.upload-placeholder { color: var(--muted); font-size: var(--fs-small); line-height: 1.6; }
.upload-placeholder svg { margin: 0 auto 10px; color: var(--gold); width: 30px; height: 30px; }
.upload-placeholder strong { display: block; color: var(--site-fg); font-weight: 600; }
.upload-zone input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
.upload-status {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.6875rem;
  text-align: center;
}
.upload-status.is-error { color: var(--danger); }
.label-optional {
  color: var(--muted);
  font-weight: 400;
  font-size: 0.6875rem;
}
.upload-zone--compact { min-height: 96px; margin-top: 10px; }
.photo-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(112px, 1fr));
  gap: 10px;
  margin-bottom: 10px;
}
.photo-item {
  position: relative;
  margin: 0;
  aspect-ratio: 1;
  overflow: hidden;
  border: var(--hairline);
  border-radius: var(--radius);
  background: var(--ivory);
}
.photo-item img { width: 100%; height: 100%; object-fit: cover; }
.photo-badge {
  position: absolute;
  top: 7px;
  left: 7px;
  padding: 3px 8px;
  border-radius: 2px;
  background: rgba(70, 48, 31, 0.86);
  color: #fbf7ee;
  font-size: 0.5938rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.photo-action {
  position: absolute;
  left: 7px;
  bottom: 7px;
  padding: 4px 8px;
  border: 0;
  border-radius: 2px;
  background: rgba(251, 247, 238, 0.92);
  color: var(--wood-deep);
  font-size: 0.625rem;
  font-weight: 600;
  cursor: pointer;
}
.photo-remove {
  position: absolute;
  top: 7px;
  right: 7px;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(70, 48, 31, 0.86);
  color: #fbf7ee;
  cursor: pointer;
}
.photo-remove svg { width: 13px; height: 13px; }
.photo-empty {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px;
  margin-bottom: 10px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  background: var(--ivory);
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.55;
}
.photo-empty svg { width: 24px; height: 24px; flex: none; color: var(--gold); }
.table-photo-empty {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: none;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  background: var(--ivory);
  color: var(--gold);
}
.table-photo-empty svg { width: 20px; height: 20px; }
.settings-card--wide { grid-column: 1 / -1; }
.hero-upload {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 220px;
  margin-top: 16px;
  overflow: hidden;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  background: var(--ivory);
}
.hero-upload img { width: 100%; max-height: 320px; object-fit: cover; }
.hero-upload .photo-empty { margin: 0; border: 0; background: transparent; justify-content: center; text-align: center; flex-direction: column; }
.hero-upload input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.check-row {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 16px;
  font-size: var(--fs-small);
}
.check-row input { width: 17px; height: 17px; accent-color: var(--gold); }

.settings-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}
.settings-card {
  padding: 22px;
  background: var(--site-bg);
  border: var(--hairline);
  border-radius: var(--radius-card);
}
.settings-card h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
}
.settings-card > p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.6;
}
.settings-card .field { margin-top: 14px; }
.settings-card .btn { margin-top: 18px; }

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

@media (max-width: 1080px) {
  .site-nav { gap: 24px; }
  .hero-inner { gap: 44px; }
  .hero-badge { left: 0; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-grid--catalog { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-grid { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dashboard-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  :root { --header-h: 68px; }
  .menu-toggle { display: grid; }
  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    z-index: 999;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 24px 20px;
    background: var(--site-bg);
    border-bottom: var(--hairline);
    box-shadow: var(--shadow-md);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--dur), transform var(--dur) var(--ease), visibility var(--dur);
  }
  .site-nav.is-open { opacity: 1; transform: none; visibility: visible; }
  .site-nav a {
    padding: 13px 0;
    border-bottom: var(--hairline);
    font-size: 0.9375rem;
  }
  .site-nav a::after { display: none; }
  .site-nav a.is-active { color: var(--gold-deep); }
  .cart-link-label { display: none; }
  .cart-link { padding: 8px 10px; }
  body.nav-open { overflow: hidden; }

  .hero { padding-block: 44px 64px; }
  .hero::before { inset: 14px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-title { max-width: 16ch; }
  .hero-visual { max-width: 520px; margin-inline: auto; width: 100%; }
  .hero-frame { aspect-ratio: 4 / 4.2; }
  .hero-badge { left: 8px; bottom: 18px; }
  .hero-seal { right: 4px; }

  .value-grid { grid-template-columns: 1fr; }
  .value-item { border-right: 0; border-bottom: var(--hairline); padding: 20px 0; }
  .value-item:last-child { border-bottom: 0; }
  .value-item:first-child { padding-left: 0; }

  .section-head { flex-direction: column; align-items: flex-start; }

  .split { grid-template-columns: 1fr; }
  .split--reverse .split-media { order: 0; }
  .media-note { right: 12px; bottom: 12px; }
  .story-panel { min-height: 420px; }
  .hero-caption { max-width: none; }

  .collection-grid { grid-template-columns: 1fr; }
  .collection-card { min-height: 340px; }

  .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-step { border-right: 0; border-bottom: var(--hairline); padding: 26px 20px 26px 0; }
  .process-step + .process-step { padding-left: 20px; }
  .process-step:nth-child(2) { padding-left: 20px; }
  .process-step:nth-child(3) { padding-left: 0; }
  .process-step:last-child { border-bottom: 0; }

  .detail-grid { grid-template-columns: 1fr; }
  .detail-media { position: static; }
  .detail-media .frame-img { aspect-ratio: 4 / 3.6; }

  .cart-layout { grid-template-columns: 1fr; }
  .cart-summary { position: static; }

  .contact-layout { grid-template-columns: 1fr; }
  .about-hero-grid { grid-template-columns: 1fr; }
  .about-hero .frame-img { aspect-ratio: 4 / 3.6; }

  .care-grid { grid-template-columns: 1fr; }

  .admin-shell { grid-template-columns: 1fr; }
  .admin-sidebar {
    position: static;
    height: auto;
    padding: 16px;
    border-right: 0;
    border-bottom: var(--hairline);
  }
  .admin-brand { padding-bottom: 14px; }
  .admin-nav {
    flex-direction: row;
    overflow-x: auto;
    gap: 5px;
    margin-top: 12px;
    padding-bottom: 3px;
  }
  .admin-nav button { width: auto; white-space: nowrap; padding: 9px 13px; }
  .admin-sidebar-foot {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
    padding-top: 12px;
  }
  .admin-user { margin-bottom: 0; flex: 1; }
  .admin-logout { width: auto; }
  .admin-main { padding: 20px 16px 50px; }
}

@media (max-width: 640px) {
  :root { --gutter: 18px; }
  .header-inner { gap: 12px; }
  .brand-sub { display: none; }
  .brand-name { font-size: 1.2rem; }
  .brand-mark { width: 36px; height: 36px; }
  .brand-mark svg { width: 21px; height: 21px; }

  .hero { padding-top: 34px; }
  .hero-title { max-width: none; }
  .hero-lead { font-size: 1rem; }
  .hero-actions .btn { flex: 1; min-width: 145px; }
  .hero-meta { gap: 12px; flex-direction: column; }
  .hero-meta li { border-right: 0; padding-right: 0; margin-right: 0; }
  .hero-badge { position: static; margin-top: 14px; max-width: none; }
  .hero-seal { display: none; }
  .hero-caption { margin-top: 12px; font-size: 0.6875rem; }

  .story-panel {
    min-height: 360px;
    padding: 28px 24px;
    border-radius: 120px 120px var(--radius-card) var(--radius-card);
  }
  .story-panel::after { border-radius: 112px 112px var(--radius-card) var(--radius-card); }
  .collection-visual span { top: 26px; font-size: 2.8rem; }

  .wa-float { padding: 11px 15px 11px 13px; font-size: 0.75rem; }
  .wa-float svg { width: 18px; height: 18px; }

  .section-head { margin-bottom: 30px; }
  .section-title { font-size: clamp(1.7rem, 7vw, 2.2rem); }

  .product-grid,
  .product-grid--catalog { grid-template-columns: 1fr; }
  .product-body { padding: 18px; }
  .product-name { font-size: 1.4rem; }

  .catalog-toolbar { flex-direction: column; align-items: stretch; }
  .catalog-toolbar .select-wrap,
  .catalog-toolbar .select-wrap select { width: 100%; }
  .filter-group { align-items: flex-start; flex-direction: column; gap: 14px; }
  .filter-block { width: 100%; }
  .filter-block--inline { justify-content: space-between; }

  .process-grid { grid-template-columns: 1fr; }
  .process-step,
  .process-step + .process-step,
  .process-step:nth-child(3) { padding: 22px 0; }

  .cart-item {
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 15px;
  }
  .cart-thumb { width: 84px; height: 84px; }
  .cart-item-side {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding-top: 4px;
  }
  .cart-summary { padding: 22px; }

  .detail-actions .btn { width: 100%; }
  .variant-option { flex: 1; min-width: calc(50% - 5px); }

  .footer-top { grid-template-columns: 1fr; gap: 28px; padding-block: 40px 30px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .toast-region { right: 12px; bottom: 12px; }

  .stat-grid { grid-template-columns: 1fr; }
  .settings-grid { grid-template-columns: 1fr; }
  .variant-row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 74px;
    grid-template-areas:
      "material size remove"
      "stock price price";
  }
  .variant-row .v-material { grid-area: material; }
  .variant-row .v-size { grid-area: size; }
  .variant-row .v-stock { grid-area: stock; }
  .variant-row .v-price { grid-area: price; }
  .variant-row .v-remove { grid-area: remove; justify-self: end; }
  .modal-body { padding: 18px; }
  .modal-foot { padding: 14px 18px; }
  .admin-topbar { align-items: flex-start; }
}

/* --------------------------------------------------------------------------
   Category collections, custom design, and reference images
   -------------------------------------------------------------------------- */

.collection-grid--five {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}
.collection-grid--five .collection-card { min-height: 350px; border-radius: 18px; }
.collection-grid--five .collection-card > div:last-child { padding: 20px; }
.collection-grid--five .collection-card h3 { font-size: 1.45rem; }
.collection-grid--five .collection-card p { font-size: 0.75rem; }
.collection-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.collection-card:hover .collection-visual img { transform: scale(1.05); }
.collection-visual img { transition: transform var(--dur-slow) var(--ease); }

.home-contact {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}
.home-contact p { margin: 0; color: rgba(255, 255, 255, 0.82); font-size: 0.8125rem; line-height: 1.7; }
.home-contact a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.home-contact strong { color: #fff; letter-spacing: 0.04em; }

.quote-sub { display: block; margin-top: 4px; font-size: 0.6875rem; color: var(--muted); font-weight: 400; letter-spacing: 0; }
.design-static {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.65;
}
.custom-reminder {
  margin: 12px 0 0;
  padding: 10px 14px;
  border-left: 2px solid var(--gold);
  background: var(--ivory);
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.6;
}

.custom-panel {
  display: grid;
  gap: 14px;
  margin-top: 16px;
  padding: 18px;
  border: var(--hairline);
  border-radius: 14px;
  background: var(--ivory);
}
.custom-field { display: grid; gap: 6px; }
.custom-field .label,
.custom-field label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg);
}
.custom-field textarea,
.custom-field input[type="text"] {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--fg);
  font: inherit;
  font-size: 0.8125rem;
  resize: vertical;
}
.custom-field input[type="file"] {
  font-size: 0.75rem;
  color: var(--muted);
}
.custom-field textarea:focus,
.custom-field input[type="text"]:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(176, 141, 87, 0.16);
}
.req {
  display: inline-block;
  margin-left: 4px;
  padding: 1px 5px;
  border-radius: 4px;
  background: rgba(176, 141, 87, 0.16);
  color: var(--gold-deep);
  font-size: 0.5625rem;
  letter-spacing: 0.08em;
}
.field-help { color: var(--muted); font-size: 0.6875rem; line-height: 1.55; }
.custom-preview { margin-top: 4px; }
.custom-preview figure { margin: 0; display: grid; gap: 8px; justify-items: start; }
.custom-preview img {
  width: 100%;
  max-width: 260px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 10px;
  border: var(--hairline);
  background: var(--sand);
}
.custom-preview-empty {
  display: grid;
  place-items: center;
  min-height: 90px;
  padding: 14px;
  border: 1px dashed var(--line);
  border-radius: 10px;
  color: var(--muted);
  font-size: 0.75rem;
  text-align: center;
}
.link-remove {
  border: 0;
  background: none;
  padding: 0;
  color: var(--danger, #a03a2b);
  font-size: 0.75rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.cart-design { margin: 4px 0 0; font-size: 0.75rem; color: var(--muted); }
.cart-design strong { color: var(--fg); }
.cart-unit.is-quote { color: var(--gold-deep); font-weight: 600; }
.cart-custom {
  margin-top: 10px;
  padding: 10px 12px;
  border-left: 2px solid var(--gold);
  background: var(--ivory);
  border-radius: 0 8px 8px 0;
  font-size: 0.75rem;
  line-height: 1.6;
}
.cart-custom p { margin: 0 0 3px; color: var(--muted); }
.cart-custom p:last-child { margin-bottom: 0; }
.cart-custom-note strong { color: var(--fg); }
.cart-custom-meta.is-warning { color: #a03a2b; }
.cart-reference {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  color: var(--gold-deep);
  font-weight: 600;
  text-decoration: none;
}
.cart-reference img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 6px;
  border: var(--hairline);
}
.cart-reference:hover { text-decoration: underline; text-underline-offset: 3px; }

.order-buyer {
  margin-bottom: 6px;
  padding: 12px 14px;
  border: var(--hairline);
  border-radius: 10px;
  background: var(--ivory);
}
.order-buyer strong { display: block; font-size: 0.625rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-deep); }
.order-buyer p { margin: 4px 0 0; font-size: 0.875rem; color: var(--fg); }
.order-buyer .order-buyer-note { color: var(--muted); font-size: 0.75rem; }
.order-custom {
  margin-top: 10px;
  padding: 10px 12px;
  border-left: 2px solid var(--gold);
  background: var(--ivory);
  border-radius: 0 8px 8px 0;
  font-size: 0.75rem;
  line-height: 1.6;
}
.order-custom p { margin: 0 0 4px; color: var(--muted); }
.order-custom p span { display: inline-block; min-width: 74px; color: var(--fg); font-weight: 700; }
.order-reference {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
  color: var(--gold-deep);
  font-weight: 600;
  text-decoration: none;
}
.order-reference img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 8px;
  border: var(--hairline);
}
.order-reference:hover { text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 1200px) {
  .collection-grid--five { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .collection-grid--five { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .collection-grid--five .collection-card { min-height: 300px; }
}
@media (max-width: 640px) {
  .collection-grid--five { grid-template-columns: 1fr; }
  .collection-grid--five .collection-card { min-height: 240px; }
  .custom-panel { padding: 14px; }
  .cart-reference img { width: 40px; height: 40px; }
  .order-reference img { width: 52px; height: 52px; }
  .order-custom p span { display: block; min-width: 0; }
}

/* ==========================================================================
   Pilihan warna & motif payung
   ========================================================================== */

.color-swatch,
.product-swatch,
.inline-swatch {
  display: inline-block;
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--swatch, #d8cdb8);
  border: 1px solid rgba(47, 42, 34, 0.18);
  box-shadow: inset 0 0 0 2px rgba(255, 253, 248, 0.55);
  vertical-align: middle;
}
.inline-swatch {
  width: 13px;
  height: 13px;
  margin-right: 5px;
  box-shadow: none;
}
.color-swatch.is-empty {
  border-style: dashed;
  background: transparent;
}

/* Kartu katalog */
.product-colors {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 10px;
}
.product-swatch {
  width: 16px;
  height: 16px;
  box-shadow: none;
}
.product-colors-more {
  font-size: 0.6875rem;
  color: var(--muted);
  font-weight: 600;
}
.product-colors-label {
  margin-left: 4px;
  font-size: 0.6875rem;
  color: var(--muted);
}

/* Detail produk */
.color-options {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
  gap: 9px;
}
.color-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 13px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--site-bg);
  text-align: left;
  transition: border-color var(--dur-fast), background var(--dur-fast), box-shadow var(--dur-fast);
}
.color-option:hover { border-color: var(--gold-line); }
.color-option.is-active {
  border-color: var(--gold);
  background: var(--gold-wash);
  box-shadow: inset 0 0 0 1px var(--gold);
}
.color-option .color-swatch {
  width: 26px;
  height: 26px;
}
.color-option-copy {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}
.color-option-copy strong {
  font-size: 0.8125rem;
  font-weight: 600;
}
.color-option-copy small {
  font-size: 0.6875rem;
  color: var(--muted);
  line-height: 1.35;
}
.color-note,
.motif-note {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 0.75rem;
  line-height: 1.6;
}
.color-note {
  background: var(--gold-wash);
  border: 1px solid var(--gold-line);
  color: var(--gold-deep);
}
.motif-note {
  background: var(--sage-wash);
  border: 1px solid rgba(129, 143, 119, 0.3);
  color: var(--sage-deep);
}

/* Keranjang */
.cart-color-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
}
.cart-color-note {
  margin-top: 5px;
  color: var(--gold-deep);
  font-size: 0.6875rem;
  line-height: 1.55;
}

/* Dashboard admin */
.table-color {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
}
.check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 16px;
}
.color-select-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.color-select-row .color-swatch {
  width: 30px;
  height: 30px;
}
.color-select-row select { flex: 1; }
.color-photo-panel {
  margin-top: 22px;
  padding-top: 18px;
  border-top: var(--hairline);
}
.color-photo-panel .field-hint { margin-top: 4px; }
.color-photo-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  margin-top: 10px;
}
.color-photo-row select { width: 100%; }

@media (max-width: 640px) {
  .color-options { grid-template-columns: 1fr; }
  .check-grid { grid-template-columns: 1fr; }
  .color-photo-row { grid-template-columns: 1fr; gap: 6px; }
}
