/* ==========================================================================
   Culinex — main stylesheet
   Terang secara default, mode gelap via [data-theme="dark"] (tombol di header).
   Foto produk berlatar putih selalu ditaruh di "plate" terang agar tetap rapi.
   ========================================================================== */

/* ---------- Font (self-hosted, subset latin) ---------- */
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../fonts/manrope.woff2) format("woff2"); }

:root {
	--bg: #f6f2ea;
	--bg-tint: #efe9de;
	--surface: #fffdf9;
	--plate: #ffffff;
	--plate-edge: #ebe5d9;
	--ink: #1c1b18;
	--ink-2: #4b4740;
	--muted: #878074;
	--line: #e2dacb;
	--line-strong: #cfc5b3;
	--gold: #a07a38;
	--gold-2: #c4a061;
	--gold-soft: rgba(160, 122, 56, .1);
	--on-ink: #f6f1e7;
	--statement-bg: #1c1b18;
	--statement-ink: #f1ebdf;
	--statement-muted: #a9a294;
	--success: #2f7d3a;
	--danger: #b8352f;
	--warn: #b5672a;
	--wa: #1f8f4e;
	--shadow: 0 1px 2px rgba(28, 27, 24, .04), 0 12px 32px -12px rgba(28, 27, 24, .14);
	--shadow-lg: 0 30px 60px -20px rgba(28, 27, 24, .28);

	--sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
	--radius: 4px;
	--radius-lg: 10px;
	--container: 1240px;
	--ease: cubic-bezier(.2, .7, .2, 1);
	color-scheme: light;
}

:root[data-theme="dark"] {
	--bg: #121110;
	--bg-tint: #191816;
	--surface: #1c1b19;
	--plate: #f2eee6;
	--plate-edge: #2c2a26;
	--ink: #eee8dc;
	--ink-2: #c3bbad;
	--muted: #8d8679;
	--line: #2d2a26;
	--line-strong: #403c36;
	--gold: #cba862;
	--gold-2: #dcbf84;
	--gold-soft: rgba(203, 168, 98, .12);
	--on-ink: #141311;
	--statement-bg: #0b0a09;
	--statement-ink: #eee8dc;
	--statement-muted: #8d8679;
	--success: #5fb36b;
	--danger: #e0665f;
	--warn: #e09a5c;
	--shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 32px -12px rgba(0, 0, 0, .6);
	--shadow-lg: 0 30px 60px -20px rgba(0, 0, 0, .7);
	color-scheme: dark;
}

/* ---------- Dasar ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font: 400 15.5px/1.65 var(--sans);
	-webkit-font-smoothing: antialiased;
	transition: background-color .3s, color .3s;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--gold); }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.12; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.screen-reader-text, .cx-hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }

.cx-container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.cx-skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--on-ink); padding: 8px 14px; z-index: 100; }
.cx-skip:focus { left: 8px; }

.cx-icon { width: 1.15em; height: 1.15em; flex: none; vertical-align: -0.2em; }

.cx-eyebrow {
	font: 600 11.5px/1.4 var(--sans);
	letter-spacing: .22em;
	text-transform: uppercase;
	color: var(--gold);
	margin: 0 0 14px;
	display: flex;
	align-items: center;
	gap: 12px;
}
.cx-eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.cx-section__head--center .cx-eyebrow, .cx-empty .cx-eyebrow { justify-content: center; }

.cx-only-dark { display: none; }
[data-theme="dark"] .cx-only-dark { display: inline-flex; }
[data-theme="dark"] .cx-only-light { display: none; }

/* ---------- Tombol ---------- */
.cx-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 46px; padding: 0 22px;
	border: 1px solid transparent; border-radius: var(--radius);
	font: 600 13.5px/1 var(--sans); letter-spacing: .04em;
	cursor: pointer; white-space: nowrap;
	transition: background-color .25s var(--ease), color .25s, border-color .25s, transform .25s var(--ease), box-shadow .25s;
}
.cx-btn:active { transform: translateY(1px); }
.cx-btn--lg { min-height: 54px; padding: 0 28px; font-size: 14px; }
.cx-btn--block { width: 100%; }
.cx-btn--ink { background: var(--ink); color: var(--bg); }
.cx-btn--ink:hover { background: var(--gold); color: #fff; }
.cx-btn--gold { background: var(--gold); color: #fff; }
.cx-btn--gold:hover { background: var(--gold-2); color: #1c1b18; }
.cx-btn--ghost { border-color: var(--line-strong); background: transparent; color: var(--ink); }
.cx-btn--ghost:hover { border-color: var(--ink); color: var(--ink); }
.cx-btn--wa { background: var(--wa); color: #fff; }
.cx-btn--wa:hover { background: #187a42; color: #fff; }
.cx-btn[disabled], .cx-btn.is-disabled { opacity: .45; pointer-events: none; }
.cx-btn.is-loading { position: relative; color: transparent !important; pointer-events: none; }
.cx-btn.is-loading::after { content: ""; position: absolute; width: 18px; height: 18px; border: 2px solid var(--bg); border-right-color: transparent; border-radius: 50%; animation: cx-spin .7s linear infinite; }
@keyframes cx-spin { to { transform: rotate(360deg); } }

.cx-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 13.5px; letter-spacing: .04em; border-bottom: 1px solid var(--line-strong); padding-bottom: 4px; }
.cx-link .cx-icon { transition: transform .25s var(--ease); }
.cx-link:hover .cx-icon { transform: translateX(4px); }
.cx-link--small { font-size: 12px; border: 0; }

.cx-iconbtn {
	display: inline-grid; place-items: center; position: relative;
	width: 42px; height: 42px; border-radius: 50%;
	background: transparent; border: 0; cursor: pointer; color: var(--ink);
	transition: background-color .2s;
}
.cx-iconbtn:hover { background: var(--gold-soft); color: var(--ink); }
.cx-iconbtn .cx-icon { width: 20px; height: 20px; }

/* ---------- Badge ---------- */
.cx-badge { display: inline-flex; align-items: center; padding: 4px 9px; border-radius: 99px; font: 700 10.5px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; background: var(--ink); color: var(--bg); }
.cx-badge--sale { background: var(--gold); color: #fff; }
.cx-badge--muted { background: var(--bg-tint); color: var(--muted); border: 1px solid var(--line); }

/* ---------- Topbar & header ---------- */
.cx-topbar { background: var(--statement-bg); color: var(--statement-muted); font-size: 12px; letter-spacing: .03em; }
.cx-topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 36px; }
.cx-topbar__inner > * { display: inline-flex; align-items: center; gap: 7px; }
.cx-topbar a:hover { color: var(--gold-2); }

.cx-header {
	position: sticky; top: 0; z-index: 50;
	background: color-mix(in srgb, var(--bg) 88%, transparent);
	backdrop-filter: saturate(1.4) blur(14px);
	-webkit-backdrop-filter: saturate(1.4) blur(14px);
	border-bottom: 1px solid var(--line);
}
.cx-header__inner { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.cx-brand { display: inline-flex; align-items: center; gap: 12px; }
.cx-brand img { width: var(--cx-logo, 44px); height: var(--cx-logo, 44px); object-fit: contain; }
.cx-brand__text { display: flex; flex-direction: column; line-height: 1; }
.cx-brand__text strong { font: 600 26px/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; }
.cx-brand__text small { font-size: 9.5px; letter-spacing: .32em; text-transform: uppercase; color: var(--gold); margin-top: 4px; }
.cx-brand:hover { color: var(--ink); }

.cx-nav { margin-left: auto; display: flex; align-items: center; gap: 24px; }
.cx-nav__list { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.cx-nav__list a { display: block; padding: 10px 14px; font-size: 14px; font-weight: 500; position: relative; }
.cx-nav__list a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.cx-nav__list a:hover::after, .cx-nav__list .current-menu-item > a::after, .cx-nav__list .current_page_item > a::after { transform: scaleX(1); }
.cx-nav__list .sub-menu { display: none; }
.cx-nav__wa { display: none; }
.cx-header__actions { display: flex; align-items: center; gap: 2px; }
.cx-cartbtn__count { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; background: var(--gold); color: #fff; font: 700 10.5px/18px var(--sans); text-align: center; }
.cx-cartbtn.is-bump .cx-cartbtn__count { animation: cx-bump .5s var(--ease); }
@keyframes cx-bump { 40% { transform: scale(1.35); } }
.cx-menubtn { display: none; }

.cx-search { border-top: 1px solid var(--line); background: var(--surface); }
.cx-search__form { display: flex; align-items: center; gap: 14px; padding-top: 14px; padding-bottom: 14px; }
.cx-search__form input { flex: 1; border: 0; background: transparent; font-size: 18px; padding: 10px 0; outline: none; }

/* ---------- Plate (wadah foto produk) ---------- */
.cx-plate {
	position: relative;
	background: var(--plate);
	border: 1px solid var(--plate-edge);
	border-radius: var(--radius-lg);
	overflow: hidden;
	display: grid; place-items: center;
}
.cx-plate__img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }

/* ---------- Hero ---------- */
.cx-hero { padding: 72px 0 96px; position: relative; overflow: hidden; }
/* Foto dekoratif lokal: palet ini tetap terbaca pada mode terang maupun gelap. */
.cx-hero, .cx-pagehead:not(.cx-pagehead--compact) {
	--ink: #fff8ed;
	--ink-2: #e6dfd3;
	--muted: #d0c6b7;
	--gold: #e3bf7d;
	--gold-2: #f0d29c;
	--on-ink: #211c16;
	--line: rgba(255, 248, 237, .24);
	--line-strong: rgba(255, 248, 237, .4);
	color: var(--ink);
	background-color: #211e19;
	background-image: linear-gradient(90deg, rgba(20, 18, 15, .92), rgba(20, 18, 15, .7) 48%, rgba(20, 18, 15, .25)), url('../img/kitchen-banner.webp');
	background-size: cover;
	background-position: center;
}
.cx-hero .cx-btn--ink { color: #211c16; }
.cx-hero .cx-btn--ghost { background: rgba(20, 18, 15, .35); }
.cx-hero .cx-btn--ghost:hover { background: rgba(227, 191, 125, .16); }
.cx-hero::before { content: ""; position: absolute; inset: auto -10% -40% 40%; height: 80%; background: radial-gradient(closest-side, var(--gold-soft), transparent); pointer-events: none; }
.cx-hero__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; position: relative; }
.cx-hero__title { font: 500 clamp(46px, 6.4vw, 88px)/.98 var(--sans); letter-spacing: -.015em; margin-bottom: 26px; }
.cx-hero__text { font-size: 17px; color: var(--ink-2); max-width: 30em; margin-bottom: 34px; }
.cx-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 52px; }
.cx-hero__facts { display: grid; grid-template-columns: repeat(3, auto); gap: 32px; margin: 0; padding-top: 28px; border-top: 1px solid var(--line); justify-content: start; }
.cx-hero__facts dt { font: 600 24px/1 var(--sans); color: var(--gold); margin-bottom: 6px; }
.cx-hero__facts dd { margin: 0; font-size: 12.5px; color: var(--muted); }

.cx-hero__stage { position: relative; }
.cx-hero__plate { aspect-ratio: 1 / 1.02; box-shadow: var(--shadow-lg); background: radial-gradient(120% 90% at 30% 20%, #fff, #f3eee4); }
[data-theme="dark"] .cx-hero__plate { background: radial-gradient(120% 90% at 30% 20%, #faf7f1, #e6dfd2); }
.cx-hero__ring { position: absolute; width: 74%; aspect-ratio: 1; border: 1px solid rgba(160, 122, 56, .35); border-radius: 50%; }
.cx-hero__ring::after { content: ""; position: absolute; inset: 9%; border: 1px dashed rgba(160, 122, 56, .25); border-radius: 50%; }
.cx-hero__knife { position: absolute; width: 90%; left: 5%; transform-origin: center; mix-blend-mode: multiply; }
.cx-hero__knife .cx-plate__img { height: auto; mix-blend-mode: normal; }
.cx-hero__knife--1 { top: 22%; transform: rotate(-24deg); animation: cx-float 9s ease-in-out infinite; }
.cx-hero__knife--2 { top: 44%; transform: rotate(-24deg) translateX(6%); animation: cx-float 9s ease-in-out -3s infinite; }
.cx-hero__knife--3 { top: 63%; transform: rotate(-24deg) translateX(-4%); width: 76%; left: 12%; animation: cx-float 9s ease-in-out -6s infinite; }
@keyframes cx-float { 50% { translate: 0 -8px; } }
.cx-hero__tag { position: absolute; padding: 8px 14px; background: rgba(255, 255, 255, .9); border: 1px solid #e6dfd2; border-radius: 99px; font-size: 11.5px; font-weight: 600; letter-spacing: .06em; color: #4b4740; box-shadow: 0 8px 20px -10px rgba(0, 0, 0, .2); }
.cx-hero__tag::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #a07a38; margin-right: 8px; vertical-align: 1px; }
.cx-hero__tag--a { top: 9%; right: 8%; }
.cx-hero__tag--b { bottom: 8%; left: 7%; }

/* ---------- Section ---------- */
.cx-section { padding: 96px 0; }
.cx-section--tint { background: var(--bg-tint); }
.cx-section--flush { padding-top: 24px; }
.cx-section--catalog { padding-top: 32px; }
.cx-section__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 44px; }
.cx-section__head--center { flex-direction: column; align-items: center; text-align: center; }
.cx-section__title { font: 500 clamp(32px, 4vw, 50px)/1.05 var(--sans); letter-spacing: -.01em; }

/* ---------- Kategori ---------- */
.cx-cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.cx-cat { display: block; }
.cx-cat__plate { aspect-ratio: 4 / 3; padding: 18px; transition: box-shadow .35s var(--ease), border-color .35s; }
.cx-cat__plate .cx-plate__img { transition: transform .6s var(--ease); }
.cx-cat:hover .cx-cat__plate { box-shadow: var(--shadow); border-color: var(--gold-2); }
.cx-cat:hover .cx-plate__img { transform: scale(1.05) rotate(-3deg); }
.cx-cat__body { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 16px 2px 0; }
.cx-cat__body h3 { font: 600 22px/1.2 var(--sans); }
.cx-cat__body span { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.cx-cat:hover h3 { color: var(--gold); }

/* ---------- Kartu produk ---------- */
.cx-grid-products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 22px; }
.cx-card { position: relative; }
.cx-card__link { display: flex; flex-direction: column; height: 100%; }
.cx-card__link:hover { color: inherit; }
.cx-card__plate { aspect-ratio: 5 / 4; padding: 18px; transition: box-shadow .35s var(--ease), border-color .35s; }
.cx-card__plate .cx-plate__img { transition: transform .6s var(--ease); }
.cx-card:hover .cx-card__plate { box-shadow: var(--shadow); border-color: var(--gold-2); }
.cx-card:hover .cx-card__plate .cx-plate__img { transform: scale(1.06) translateX(2%); }
.cx-card__badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; }
.cx-card__body { padding: 16px 2px 0; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.cx-card__cat { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin: 0; }
.cx-card__title { font: 600 21px/1.18 var(--sans); transition: color .2s; }
.cx-card:hover .cx-card__title { color: var(--gold); }
.cx-card__meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 6px; }
.cx-card__variants { font-size: 12px; color: var(--muted); margin: 0; }

.cx-price { font-weight: 600; font-size: 15px; display: inline-flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.cx-price ins { text-decoration: none; }
.cx-price del { color: var(--muted); font-weight: 400; font-size: .86em; }
.cx-price small { font-weight: 400; color: var(--muted); font-size: .82em; }
.cx-price--ask { color: var(--gold); font-size: 13.5px; letter-spacing: .02em; }

.cx-dots { display: inline-flex; }
.cx-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--dot); box-shadow: 0 0 0 2px var(--bg), inset 0 0 0 1px rgba(0, 0, 0, .12); margin-left: -3px; flex: none; }
:root[data-theme="dark"] .cx-dot, :root[data-theme="dark"] .cx-haccp__swatch, :root[data-theme="dark"] .cx-swatch { box-shadow: 0 0 0 2px var(--bg), inset 0 0 0 1px rgba(255, 255, 255, .28); }
:root[data-theme="dark"] .cx-swatch.is-active { box-shadow: 0 0 0 2px var(--bg), 0 0 0 3.5px var(--gold); }
.cx-section--tint .cx-dot { box-shadow: 0 0 0 2px var(--bg-tint), inset 0 0 0 1px rgba(0, 0, 0, .12); }

/* ---------- Statement (blok gelap) ---------- */
.cx-statement { background: var(--statement-bg); color: var(--statement-ink); padding: 104px 0; }
.cx-statement__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 72px; }
.cx-statement__title { font: 500 clamp(36px, 4.6vw, 62px)/1.04 var(--sans); }
.cx-statement__title em { color: var(--gold-2); }
.cx-statement__list { list-style: none; margin: 0; padding: 0; }
.cx-statement__list li { display: grid; grid-template-columns: 56px 1fr; gap: 12px; padding: 26px 0; border-top: 1px solid rgba(255, 255, 255, .12); }
.cx-statement__list li:last-child { border-bottom: 1px solid rgba(255, 255, 255, .12); }
.cx-statement__list span { font: 500 22px/1.3 var(--sans); color: var(--gold-2); }
.cx-statement__list h3 { font: 600 22px/1.3 var(--sans); margin-bottom: 6px; }
.cx-statement__list p { margin: 0; color: var(--statement-muted); font-size: 14.5px; }
.cx-statement .cx-eyebrow { color: var(--gold-2); }

/* ---------- HACCP ---------- */
.cx-haccp { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: center; }
.cx-haccp__intro p:last-child { color: var(--ink-2); max-width: 28em; margin-top: 18px; }
.cx-haccp__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.cx-haccp__list a { display: grid; grid-template-columns: 30px 82px 1fr 18px; align-items: center; gap: 10px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cx-haccp__list strong { font: 600 19px/1 var(--sans); }
.cx-haccp__list span:not(.cx-haccp__swatch) { font-size: 13px; color: var(--muted); }
.cx-haccp__list .cx-icon { opacity: 0; transform: translateX(-6px); transition: .25s var(--ease); color: var(--gold); }
.cx-haccp__list a:hover .cx-icon { opacity: 1; transform: none; }
.cx-haccp__swatch { width: 22px; height: 22px; border-radius: 50%; background: var(--dot); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15); }

/* ---------- Features ---------- */
.cx-features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cx-features--3 { grid-template-columns: repeat(3, 1fr); }
.cx-feature { padding: 30px 26px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.cx-feature > .cx-icon { width: 30px; height: 30px; color: var(--gold); margin-bottom: 22px; }
.cx-feature h3 { font: 600 22px/1.2 var(--sans); margin-bottom: 10px; }
.cx-feature p { margin: 0; color: var(--ink-2); font-size: 14px; }

/* ---------- Page head & breadcrumb ---------- */
.cx-pagehead { padding: 56px 0 44px; border-bottom: 1px solid var(--line); }
.cx-pagehead:not(.cx-pagehead--compact) { padding: 64px 0 60px; background-position: center 58%; }
.cx-pagehead--compact { padding: 36px 0 28px; border: 0; }
.cx-pagehead__title { font: 500 clamp(38px, 5vw, 66px)/1.02 var(--sans); letter-spacing: -.01em; max-width: 16em; }
.cx-pagehead__text { margin: 18px 0 0; color: var(--ink-2); max-width: 40em; font-size: 16.5px; }
.cx-crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 12.5px; color: var(--muted); margin-bottom: 22px; }
.cx-crumbs a:hover { color: var(--gold); }
.cx-crumbs span[aria-current] { color: var(--ink-2); }

.cx-steps { display: flex; gap: 0; list-style: none; padding: 0; margin: 0 0 22px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); counter-reset: s; }
.cx-steps li { counter-increment: s; display: flex; align-items: center; }
.cx-steps li::before { content: counter(s); display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line-strong); margin-right: 8px; font-size: 11px; letter-spacing: 0; }
.cx-steps li + li::after { content: none; }
.cx-steps li:not(:last-child)::after { content: ""; width: 32px; height: 1px; background: var(--line-strong); margin: 0 12px; }
.cx-steps .is-active { color: var(--ink); font-weight: 600; }
.cx-steps .is-active::before { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.cx-steps .is-done::before { content: "✓"; background: var(--gold); border-color: var(--gold); color: #fff; }

/* ---------- Katalog ---------- */
.cx-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 18px; }
.cx-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cx-chip { padding: 9px 16px; border: 1px solid var(--line-strong); border-radius: 99px; font-size: 13px; font-weight: 500; transition: .2s; }
.cx-chip:hover { border-color: var(--ink); color: var(--ink); }
.cx-chip.is-active { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.cx-select select { appearance: none; border: 1px solid var(--line-strong); background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23878074' stroke-width='1.5'%3E%3Cpath d='m1 1 5 5 5-5'/%3E%3C/svg%3E") no-repeat right 14px center; border-radius: var(--radius); padding: 10px 40px 10px 14px; font-size: 13.5px; cursor: pointer; }
.cx-colorfilter { display: flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding: 16px 0 26px; border-bottom: 1px solid var(--line); margin-bottom: 28px; flex-wrap: wrap; }
.cx-colorfilter > span { margin-right: 6px; }
.cx-swatch { width: 24px; height: 24px; border-radius: 50%; background: var(--dot); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15); transition: transform .2s; }
.cx-swatch:hover { transform: scale(1.12); }
.cx-swatch.is-active { box-shadow: 0 0 0 2px var(--bg), 0 0 0 3.5px var(--gold); }
.cx-count { font-size: 13px; color: var(--muted); margin-bottom: 20px; }
.cx-pagination { margin-top: 56px; display: flex; justify-content: center; gap: 6px; }
.cx-pagination .page-numbers { display: inline-grid; place-items: center; min-width: 42px; height: 42px; border: 1px solid var(--line); border-radius: var(--radius); font-size: 14px; }
.cx-pagination .current { background: var(--ink); color: var(--bg); border-color: var(--ink); }

.cx-empty { text-align: center; padding: 72px 20px; max-width: 520px; margin: 0 auto; }
.cx-empty > .cx-icon { width: 44px; height: 44px; color: var(--gold); margin: 0 auto 18px; display: block; }
.cx-empty h2 { font: 500 32px/1.1 var(--sans); margin-bottom: 10px; }
.cx-empty p { color: var(--ink-2); margin-bottom: 26px; }
.cx-empty--page { padding: 120px 20px; }
.cx-empty--page .cx-pagehead__title { margin: 0 auto 16px; }

/* ---------- Detail produk ---------- */
.cx-product { padding: 32px 0 96px; }
.cx-product__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: start; }
.cx-gallery { position: sticky; top: 100px; }
.cx-gallery__main { aspect-ratio: 1 / .82; padding: 36px; }
.cx-gallery__main .cx-plate__img { transition: opacity .25s; }
.cx-gallery__main .cx-plate__img.is-swapping { opacity: 0; }
.cx-gallery__badge { position: absolute; top: 18px; left: 18px; }
.cx-gallery__thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 12px; }
.cx-gallery__thumb { aspect-ratio: 1; padding: 8px; cursor: pointer; transition: border-color .2s; }
.cx-gallery__thumb.is-active, .cx-gallery__thumb:hover { border-color: var(--gold); }

.cx-buy__title { font: 500 clamp(36px, 4vw, 52px)/1.04 var(--sans); margin-bottom: 10px; }
.cx-buy__sku { font-size: 15px; color: var(--muted); letter-spacing: .06em; margin-bottom: 22px; }
.cx-buy__sku span { display: inline-block; font: 700 20px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--ink); letter-spacing: .02em; padding: 2px 6px; margin-left: 2px; border-radius: 4px; }
.cx-buy__sku span.is-changed { animation: cx-sku-flash 1.2s ease-out; }
@keyframes cx-sku-flash { from { background: color-mix(in srgb, var(--gold) 35%, transparent); } to { background: transparent; } }
@media (prefers-reduced-motion: reduce) { .cx-buy__sku span.is-changed { animation: none; } }
.cx-buy__price { padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cx-buy__price .cx-price { font: 600 30px/1 var(--sans); }
.cx-buy__price .cx-price del { font-size: 20px; }
.cx-buy__price .cx-price--ask { font-size: 26px; }
.cx-buy__price .cx-badge { margin-left: 10px; vertical-align: 6px; }
.cx-buy__tax { font-size: 12.5px; color: var(--muted); margin: 10px 0 0; }
.cx-buy__excerpt { margin-top: 22px; color: var(--ink-2); }
.cx-buy__form { margin-top: 26px; display: grid; gap: 22px; }
.cx-attr { border: 0; padding: 0; margin: 0; min-width: 0; }
.cx-attr legend { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; padding: 0; }
.cx-attr legend strong { color: var(--ink); letter-spacing: .04em; text-transform: none; font-size: 14px; margin-left: 4px; }
.cx-attr__options { display: flex; flex-wrap: wrap; gap: 8px; }
.cx-opt { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--surface); cursor: pointer; font-size: 14px; font-weight: 500; transition: .2s; }
.cx-opt .cx-dot { margin: 0; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15); }
.cx-opt:hover { border-color: var(--ink); }
.cx-opt[aria-pressed="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.cx-opt.is-unavailable { opacity: .5; }
.cx-opt.is-soldout { opacity: .45; text-decoration: line-through; }
.cx-stock { margin: 0; font-size: 13.5px; display: flex; align-items: center; gap: 8px; min-height: 1em; }
.cx-stock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.cx-stock:empty::before { content: none; }
.cx-stock.is-in { color: var(--success); }
.cx-stock.is-low { color: var(--warn); }
.cx-stock.is-out { color: var(--danger); }
.cx-buy__row { display: flex; gap: 12px; }
.cx-buy__add { flex: 1; }
.cx-qty { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--surface); }
.cx-qty button { width: 42px; height: 52px; border: 0; background: transparent; cursor: pointer; font-size: 18px; color: var(--ink-2); }
.cx-qty button:hover { color: var(--gold); }
.cx-qty input { width: 46px; border: 0; background: transparent; text-align: center; font-weight: 600; -moz-appearance: textfield; }
.cx-qty input::-webkit-inner-spin-button, .cx-qty input::-webkit-outer-spin-button { -webkit-appearance: none; }
.cx-qty--sm button { width: 32px; height: 38px; font-size: 16px; }
.cx-qty--sm input { width: 34px; font-size: 14px; }
.cx-buy__trust { list-style: none; margin: 28px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line); display: grid; gap: 12px; font-size: 13.5px; color: var(--ink-2); }
.cx-buy__trust li { display: flex; align-items: center; gap: 12px; }
.cx-buy__trust .cx-icon { color: var(--gold); width: 20px; height: 20px; }

.cx-product__details { display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; margin-top: 88px; padding-top: 56px; border-top: 1px solid var(--line); }
.cx-product__details h2 { font: 500 34px/1.1 var(--sans); margin-bottom: 20px; }
.cx-specs h3 { font: 600 20px/1.2 var(--sans); margin: 32px 0 12px; }
.cx-specs dl { margin: 0; }
.cx-specs dl div { display: grid; grid-template-columns: 40% 1fr; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.cx-specs dt { color: var(--muted); }
.cx-specs dd { margin: 0; font-weight: 500; }
.cx-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.cx-table th { text-align: left; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; padding: 10px 8px 10px 0; border-bottom: 1px solid var(--line-strong); }
.cx-table td { padding: 11px 8px 11px 0; border-bottom: 1px solid var(--line); }
.cx-table code { font-size: 13.5px; font-weight: 700; color: var(--ink); }

/* ---------- Prose ---------- */
.cx-prose { max-width: 720px; color: var(--ink-2); }
.cx-prose h2, .cx-prose h3 { color: var(--ink); font-family: var(--sans); margin: 1.6em 0 .6em; }
.cx-prose h2:first-child { margin-top: 0; }
.cx-prose a { color: var(--gold); border-bottom: 1px solid currentColor; }
.cx-lead { font: 500 26px/1.35 var(--sans); color: var(--ink); }
.cx-prose-list { max-width: 760px; }
.cx-post { padding: 28px 0; border-bottom: 1px solid var(--line); }
.cx-post h2 { font: 500 30px/1.15 var(--sans); margin-bottom: 10px; }

/* ---------- Keranjang ---------- */
.cx-cart { display: grid; grid-template-columns: 1fr 400px; gap: 48px; align-items: start; }
/* Keranjang kosong: ringkasan disembunyikan, pesan kosong memakai lebar penuh agar tepat di tengah. */
.cx-cart:has(> .cx-summary[hidden]) { grid-template-columns: 1fr; }
.cx-line { display: grid; grid-template-columns: 120px 1fr auto; gap: 22px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); }
.cx-line:first-child { border-top: 1px solid var(--line); }
.cx-line__img { aspect-ratio: 1; padding: 10px; }
.cx-line__name { font: 600 21px/1.2 var(--sans); display: block; margin-bottom: 4px; }
.cx-line__meta { font-size: 13px; color: var(--muted); margin: 0 0 12px; }
.cx-line__unit { font-size: 13.5px; }
.cx-line__unit del { color: var(--muted); margin-right: 6px; }
.cx-line__side { display: flex; flex-direction: column; align-items: end; gap: 12px; }
.cx-line__total { font-weight: 700; font-size: 16px; }
.cx-line__row { display: flex; align-items: center; gap: 14px; }
.cx-remove { border: 0; background: none; cursor: pointer; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; padding: 6px 0; }
.cx-remove:hover { color: var(--danger); }
.cx-skeleton { height: 140px; border-radius: var(--radius-lg); background: linear-gradient(90deg, var(--bg-tint), var(--surface), var(--bg-tint)); background-size: 200% 100%; animation: cx-shimmer 1.2s infinite; margin-bottom: 14px; }
@keyframes cx-shimmer { to { background-position: -200% 0; } }

.cx-summary { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; }
.cx-summary--sticky { position: sticky; top: 100px; }
.cx-summary h2 { font: 500 28px/1.1 var(--sans); margin-bottom: 20px; }
.cx-coupon { display: flex; gap: 8px; }
.cx-coupon input { flex: 1; min-width: 0; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--bg); padding: 0 14px; text-transform: uppercase; letter-spacing: .08em; }
.cx-coupon__msg { font-size: 12.5px; margin: 8px 0 0; min-height: 1em; }
.cx-coupon__msg.is-ok { color: var(--success); }
.cx-coupon__msg.is-error { color: var(--danger); }
.cx-totals { margin: 18px 0 22px; font-size: 14px; }
.cx-totals div { display: flex; justify-content: space-between; gap: 16px; padding: 7px 0; }
.cx-totals dt { color: var(--ink-2); }
.cx-totals dd { margin: 0; font-weight: 600; text-align: right; }
.cx-totals .muted { font-size: 12.5px; padding: 3px 0 3px 12px; border-left: 2px solid var(--line); }
.cx-totals .muted dt, .cx-totals .muted dd { color: var(--muted); font-weight: 500; }
.cx-totals .total { border-top: 1px solid var(--line-strong); margin-top: 10px; padding-top: 16px; }
.cx-totals .total dt { color: var(--ink); font-weight: 600; }
.cx-totals .total dd { font: 600 26px/1 var(--sans); }
.cx-totals .quote dd { color: var(--gold); font: 600 15px/1.3 var(--sans); }
.cx-summary .cx-btn + .cx-btn { margin-top: 10px; }
.cx-note { font-size: 12.5px; color: var(--muted); margin: 12px 0 0; }

.cx-mini-lines { list-style: none; margin: 0 0 6px; padding: 0; max-height: 360px; overflow: auto; }
.cx-mini-lines li { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.cx-mini-lines__img { aspect-ratio: 1; padding: 4px; border-radius: var(--radius); }
.cx-mini-lines a { font-weight: 600; display: block; line-height: 1.3; }
.cx-mini-lines small { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }

/* ---------- Checkout ---------- */
.cx-checkout { display: grid; grid-template-columns: 1fr 420px; gap: 48px; align-items: start; }
.cx-fieldset { border: 0; padding: 0 0 34px; margin: 0 0 34px; border-bottom: 1px solid var(--line); min-width: 0; }
.cx-fieldset legend { display: flex; align-items: center; gap: 12px; font: 500 26px/1.1 var(--sans); padding: 0; margin-bottom: 22px; }
.cx-fieldset legend span { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold); font: 600 13px/1 var(--sans); }
.cx-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.cx-fields__full { grid-column: 1 / -1; }
.cx-check + .cx-fields { margin-top: 20px; }
.cx-field { display: flex; flex-direction: column; gap: 7px; }
.cx-field > span { font-size: 12.5px; font-weight: 600; color: var(--ink-2); letter-spacing: .02em; }
.cx-field em { color: var(--gold); font-style: normal; }
.cx-field input, .cx-field textarea, .cx-field select { width: 100%; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--surface); padding: 13px 14px; font-size: 15px; transition: border-color .2s, box-shadow .2s; }
.cx-field input:focus, .cx-field textarea:focus, .cx-field select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-soft); }
.cx-field.is-invalid input, .cx-field.is-invalid textarea { border-color: var(--danger); }
.cx-field__error { color: var(--danger); font-size: 12px; min-height: 0; }
.cx-field__error:empty { display: none; }
/* Select dengan pencarian (checkout: provinsi, kota / kabupaten). */
.cx-combo { position: relative; }
.cx-combo__native { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.cx-combo__btn { width: 100%; text-align: left; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23878074' stroke-width='1.5'%3E%3Cpath d='m1 1 5 5 5-5'/%3E%3C/svg%3E") no-repeat right 14px center; padding: 13px 40px 13px 14px; font-size: 15px; cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: border-color .2s, box-shadow .2s; }
.cx-combo__btn.is-placeholder { color: var(--muted); }
.cx-combo__btn:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-soft); }
.cx-combo__btn:disabled { cursor: not-allowed; opacity: .6; }
.cx-field.is-invalid .cx-combo__btn { border-color: var(--danger); }
.cx-combo__panel { position: absolute; z-index: 30; top: calc(100% + 6px); left: 0; right: 0; background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius); box-shadow: var(--shadow); padding: 8px; }
.cx-field .cx-combo__search { padding: 10px 12px; font-size: 14px; }
.cx-combo__list { list-style: none; margin: 6px 0 0; padding: 0; max-height: 260px; overflow-y: auto; }
.cx-combo__list li { padding: 9px 10px; border-radius: var(--radius); font-size: 14.5px; cursor: pointer; }
.cx-combo__list li.is-active { background: var(--gold-soft); }
.cx-combo__list .cx-combo__none { color: var(--muted); cursor: default; }
.cx-check { display: flex; gap: 12px; align-items: center; cursor: pointer; font-size: 14.5px; }
.cx-check input, .cx-paymethod input { width: 18px; height: 18px; accent-color: var(--gold); flex: none; }
.cx-paymethod { display: flex; gap: 14px; align-items: flex-start; padding: 20px; border: 1px solid var(--gold); border-radius: var(--radius-lg); background: var(--gold-soft); cursor: pointer; }
.cx-paymethod > span { display: flex; flex-direction: column; gap: 6px; }
.cx-paymethod small { color: var(--ink-2); font-size: 13px; }
.cx-banks { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 4px; }
.cx-banks__item { padding: 4px 10px; border: 1px solid var(--line-strong); border-radius: var(--radius); font-size: 11.5px; font-weight: 700; letter-spacing: .08em; background: var(--surface); }

.cx-alert { display: flex; gap: 14px; padding: 16px 18px; border-radius: var(--radius-lg); margin-bottom: 26px; font-size: 14px; }
.cx-alert p { margin: 4px 0 0; color: var(--ink-2); }
.cx-alert > .cx-icon { width: 24px; height: 24px; flex: none; }
.cx-alert--error { background: color-mix(in srgb, var(--danger) 10%, transparent); color: var(--danger); border: 1px solid color-mix(in srgb, var(--danger) 30%, transparent); }
.cx-alert--quote { background: color-mix(in srgb, var(--wa) 9%, transparent); border: 1px solid color-mix(in srgb, var(--wa) 30%, transparent); }
.cx-alert--quote > .cx-icon { color: var(--wa); }

/* ---------- Halaman pesanan ---------- */
.cx-order { display: grid; grid-template-columns: 1fr 420px; gap: 48px; align-items: start; }
.cx-track { display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; margin: 0 0 32px; padding: 0; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.cx-track li { display: flex; flex-direction: column; gap: 10px; position: relative; }
.cx-track li::before { content: ""; position: absolute; top: 14px; left: 30px; right: 0; height: 1px; background: var(--line-strong); }
.cx-track li:last-child::before { content: none; }
.cx-track span { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; background: var(--bg); position: relative; }
.cx-track span .cx-icon { width: 14px; height: 14px; opacity: 0; }
.cx-track .is-done { color: var(--ink); }
.cx-track .is-done span { background: var(--gold); border-color: var(--gold); color: #fff; }
.cx-track .is-done span .cx-icon { opacity: 1; }
.cx-track .is-done::before { background: var(--gold); }
.cx-paybox { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); margin-bottom: 24px; }
.cx-paybox h2 { font: 500 26px/1.1 var(--sans); margin-bottom: 18px; }
.cx-paybox__amount { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 18px 20px; background: var(--gold-soft); border-radius: var(--radius); margin: 0; }
.cx-paybox__amount span { font-size: 13px; color: var(--ink-2); }
.cx-paybox__amount strong { font: 600 30px/1 var(--sans); margin-right: auto; }
.cx-paybox__banks { list-style: none; margin: 16px 0 0; padding: 0; }
.cx-paybox__banks li { display: grid; grid-template-columns: 110px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cx-paybox__bank { font-weight: 700; letter-spacing: .08em; font-size: 13px; }
.cx-paybox__no { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 17px; letter-spacing: .04em; }
.cx-paybox__no small { display: block; font-family: var(--sans); font-size: 12px; color: var(--muted); letter-spacing: 0; }
.cx-copy { border: 1px solid var(--line-strong); background: var(--surface); border-radius: var(--radius); padding: 7px 12px; font-size: 12px; font-weight: 600; cursor: pointer; }
.cx-copy:hover { border-color: var(--gold); color: var(--gold); }
.cx-copy.is-copied { background: var(--success); border-color: var(--success); color: #fff; }
.cx-order__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 32px; }
.cx-order__info { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; font-size: 14px; color: var(--ink-2); }
.cx-order__info h3 { font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; font-weight: 600; }
.cx-track-form { max-width: 460px; display: grid; gap: 18px; }

/* ---------- Tentang & kontak ---------- */
.cx-split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.cx-split__media { position: relative; min-height: 420px; }
.cx-split__plate { position: absolute; padding: 28px; aspect-ratio: 4 / 3; box-shadow: var(--shadow); }
.cx-split__plate--1 { width: 78%; top: 0; right: 0; }
.cx-split__plate--2 { width: 64%; bottom: 0; left: 0; }
.cx-numbers { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.cx-numbers strong { display: block; font: 500 54px/1 var(--sans); color: var(--gold-2); margin-bottom: 12px; }
.cx-numbers span { color: var(--statement-muted); font-size: 14px; }
.cx-contact { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start; }
.cx-contact__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cx-contact__card { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); font-size: 14px; color: var(--ink-2); }
.cx-contact__card > .cx-icon { width: 24px; height: 24px; color: var(--gold); margin-bottom: 14px; }
.cx-contact__card h3 { font: 600 21px/1.2 var(--sans); color: var(--ink); margin-bottom: 8px; }
.cx-contact__card p { margin: 0 0 10px; }
.cx-contact__form { display: grid; gap: 16px; padding: 32px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.cx-contact__form h2 { font: 500 30px/1.1 var(--sans); }
.cx-contact__form .cx-note { margin: -8px 0 6px; }

/* ---------- Footer ---------- */
.cx-footer { background: var(--statement-bg); color: var(--statement-muted); font-size: 14px; }
.cx-footer a:hover { color: var(--gold-2); }
.cx-footer__cta { display: flex; justify-content: space-between; align-items: center; gap: 32px; padding: 72px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.cx-footer__cta h2 { font: 500 clamp(32px, 4vw, 52px)/1.05 var(--sans); color: var(--statement-ink); }
.cx-footer__cta .cx-eyebrow { color: var(--gold-2); }
.cx-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 48px; padding: 64px 0; }
.cx-footer__brand img { width: 72px; height: 72px; object-fit: contain; margin-bottom: 20px; }
.cx-footer__brand p { max-width: 26em; }
.cx-footer h3 { font: 600 11.5px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--statement-ink); margin-bottom: 20px; }
.cx-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.cx-footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.cx-footer__contact .cx-icon { color: var(--gold-2); margin-top: 4px; }
.cx-footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 24px 0; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 12.5px; }
.cx-footer__social { display: flex; gap: 18px; }

/* ---------- Drawer, toast, WA float ---------- */
.cx-drawer { position: fixed; inset: 0; z-index: 90; }
.cx-drawer__backdrop { position: absolute; inset: 0; background: rgba(10, 10, 9, .45); animation: cx-fade .3s; }
.cx-drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: var(--bg); display: flex; flex-direction: column; box-shadow: var(--shadow-lg); animation: cx-slide .35s var(--ease); }
@keyframes cx-fade { from { opacity: 0; } }
@keyframes cx-slide { from { transform: translateX(100%); } }
.cx-drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.cx-drawer__head h2 { font: 500 28px/1 var(--sans); }
.cx-drawer__body { flex: 1; overflow: auto; padding: 8px 24px; }
.cx-drawer__body .cx-mini-lines { max-height: none; }
.cx-drawer__body .cx-empty { padding: 48px 0; }
.cx-drawer__foot { padding: 20px 24px 24px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.cx-drawer__foot .cx-note { margin: 0 0 6px; }
.cx-drawer__sum { display: flex; justify-content: space-between; align-items: baseline; }
.cx-drawer__sum strong { font: 600 24px/1 var(--sans); }
.cx-toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 95; background: var(--ink); color: var(--bg); padding: 12px 20px; border-radius: 99px; font-size: 13.5px; box-shadow: var(--shadow-lg); animation: cx-up .3s var(--ease); max-width: calc(100% - 32px); }
@keyframes cx-up { from { opacity: 0; transform: translate(-50%, 12px); } }
.cx-wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 12px 28px -8px rgba(31, 143, 78, .6); transition: transform .25s var(--ease); }
.cx-wa-float:hover { transform: scale(1.08); color: #fff; }
.cx-wa-float .cx-icon { width: 28px; height: 28px; }
body.single-cx_product .cx-wa-float, body.page-template-checkout .cx-wa-float { display: none; }

/* ---------- Responsif ---------- */
@media (max-width: 1100px) {
	.cx-grid-products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.cx-features { grid-template-columns: repeat(2, 1fr); }
	.cx-footer__grid { grid-template-columns: 1fr 1fr; }
	.cx-cart, .cx-checkout, .cx-order { grid-template-columns: 1fr 360px; gap: 32px; }
}

@media (max-width: 900px) {
	.cx-menubtn { display: inline-grid; }
	.cx-nav {
		position: fixed; inset: 0 0 0 auto; width: min(340px, 86vw); z-index: 60;
		flex-direction: column; align-items: stretch; gap: 20px;
		background: var(--bg); padding: 88px 24px 24px;
		box-shadow: var(--shadow-lg);
		transform: translateX(100%); transition: transform .35s var(--ease);
	}
	.cx-nav.is-open { transform: none; }
	.cx-nav__list { flex-direction: column; }
	.cx-nav__list a { font: 500 26px/1.2 var(--sans); padding: 12px 0; border-bottom: 1px solid var(--line); }
	.cx-nav__list a::after { content: none; }
	.cx-nav__wa { display: inline-flex; }
	/* backdrop-filter membuat header jadi containing block elemen fixed — matikan di mobile. */
	.cx-header { background: var(--bg); backdrop-filter: none; -webkit-backdrop-filter: none; }
	body.cx-nav-open { overflow: hidden; }
	body.cx-nav-open .cx-header { z-index: 70; }
	body.cx-nav-open::after { content: ""; position: fixed; inset: 0; background: rgba(10, 10, 9, .4); z-index: 55; }
	.cx-nav { visibility: hidden; transition: transform .35s var(--ease), visibility 0s .35s; }
	.cx-nav.is-open { visibility: visible; transition: transform .35s var(--ease); }
	.cx-header__actions { margin-left: auto; position: relative; z-index: 61; }

	.cx-hero { padding: 40px 0 64px; }
	.cx-hero, .cx-pagehead:not(.cx-pagehead--compact) {
		background-image: linear-gradient(90deg, rgba(20, 18, 15, .9), rgba(20, 18, 15, .72)), url('../img/kitchen-banner-mobile.webp');
		background-position: 65% center;
	}
	.cx-pagehead:not(.cx-pagehead--compact) { padding: 40px 0; }
	.cx-hero__grid, .cx-statement__grid, .cx-haccp, .cx-product__grid, .cx-product__details, .cx-split, .cx-contact { grid-template-columns: 1fr; gap: 40px; }
	.cx-hero__stage { max-width: 520px; width: 100%; margin: 0 auto; }
	.cx-gallery { position: static; }
	.cx-cart, .cx-checkout, .cx-order { grid-template-columns: 1fr; }
	.cx-summary--sticky { position: static; }
	.cx-section { padding: 72px 0; }
	.cx-statement { padding: 72px 0; }
	.cx-split__media { min-height: 340px; }
}

@media (max-width: 640px) {
	body { font-size: 15px; }
	.cx-container { padding: 0 16px; }
	.cx-topbar__inner > span:first-child { display: none; }
	.cx-topbar__inner { justify-content: center; }
	.cx-header__inner { min-height: 64px; gap: 12px; }
	.cx-brand img { width: calc(var(--cx-logo, 44px) * .86); height: calc(var(--cx-logo, 44px) * .86); }
	.cx-brand__text strong { font-size: 21px; }
	.cx-brand__text small { font-size: 8px; letter-spacing: .26em; }
	.cx-iconbtn { width: 38px; height: 38px; }
	.cx-hero__facts { grid-template-columns: repeat(3, 1fr); gap: 14px; }
	.cx-hero__facts dt { font-size: 20px; }
	.cx-hero__actions .cx-btn { flex: 1; padding: 0 16px; }
	.cx-hero__tag { font-size: 10px; padding: 6px 10px; }
	.cx-grid-products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; }
	.cx-card__plate { padding: 12px; }
	.cx-card__title { font-size: 17px; }
	.cx-card__meta { flex-direction: column; align-items: flex-start; gap: 6px; }
	.cx-price { font-size: 13.5px; }
	.cx-section__head { flex-direction: column; align-items: flex-start; margin-bottom: 28px; }
	.cx-haccp__list { grid-template-columns: 1fr; }
	.cx-cats { grid-template-columns: 1fr 1fr; gap: 14px; }
	.cx-cat__plate { padding: 10px; }
	.cx-cat__body { flex-direction: column; gap: 2px; padding-top: 10px; }
	.cx-cat__body h3 { font-size: 18px; }
	.cx-hero__plate { aspect-ratio: 1 / .8; }
	.cx-features, .cx-features--3, .cx-numbers, .cx-contact__cards, .cx-order__info { grid-template-columns: 1fr; }
	.cx-fields { grid-template-columns: 1fr; }
	.cx-footer__cta { flex-direction: column; align-items: flex-start; padding: 56px 0; }
	.cx-footer__grid { grid-template-columns: 1fr; gap: 32px; padding: 48px 0; }
	.cx-line { grid-template-columns: 84px 1fr; gap: 14px; }
	.cx-line__side { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; }
	.cx-buy__row { flex-direction: column; }
	.cx-qty { align-self: flex-start; }
	.cx-gallery__main { padding: 18px; }
	.cx-paybox { padding: 20px; }
	.cx-paybox__banks li { grid-template-columns: 1fr auto; }
	.cx-paybox__bank { grid-column: 1 / -1; }
	.cx-track { font-size: 10.5px; }
	.cx-steps { font-size: 10.5px; letter-spacing: .08em; }
	.cx-steps li:not(:last-child)::after { width: 14px; margin: 0 6px; }
	.cx-colorfilter > span { width: 100%; }
	.cx-toolbar { flex-direction: column; flex-wrap: nowrap; align-items: stretch; } /* nowrap: kolom yang wrap melebar mengikuti isi (baris kategori) dan halaman bisa digeser ke samping. */
	.cx-chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 0 16px 4px; scrollbar-width: none; }
	.cx-chip { white-space: nowrap; }
	.cx-select select { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
