/* =========================================================
   Konveksi Sport — stylesheet tunggal (publik + panel admin)
   Tema: putih bersih + oranye/merah atletik.
   Variabel --accent & --accent-2 diisi dari Pengaturan.
   ========================================================= */

:root {
  --accent: #FF5A1F;
  --accent-2: #E11D2E;
  --ink: #14161A;
  --ink-2: #2A2F38;
  --body: #4A5058;
  --muted: #6B7280;
  --line: #E7E9EE;
  --line-2: #EFF1F4;
  --paper: #FFFFFF;
  --soft: #F6F7F9;
  --soft-2: #FBF7F4;
  --ok: #12805C;
  --ok-soft: #E6F6EF;
  --warn: #9A5B00;
  --warn-soft: #FFF3DE;
  --info: #1D4ED8;
  --info-soft: #E8EEFF;
  --danger: #C2182B;
  --danger-soft: #FDECEE;
  --radius: 18px;
  --radius-lg: 26px;
  --shadow-sm: 0 1px 2px rgba(16, 20, 28, .05), 0 8px 24px -18px rgba(16, 20, 28, .30);
  --shadow-md: 0 2px 6px rgba(16, 20, 28, .05), 0 22px 48px -28px rgba(16, 20, 28, .34);
  --wrap: 1120px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; letter-spacing: -.028em; font-weight: 800; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
svg.ico { width: 1.15em; height: 1.15em; flex: 0 0 auto; }
.muted { color: var(--muted); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.nowrap { white-space: nowrap; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 22px; }

/* ---------- Tombol ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .82rem 1.35rem; border-radius: 999px; border: 1px solid transparent;
  font-weight: 700; font-size: .95rem; line-height: 1.15; cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease, color .16s ease;
  white-space: nowrap; text-align: center;
}
.btn svg.ico { width: 1.1em; height: 1.1em; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  box-shadow: 0 10px 26px -12px color-mix(in srgb, var(--accent) 75%, transparent);
  box-shadow: 0 10px 26px -12px rgba(225, 29, 46, .55);
}
.btn-primary:hover { box-shadow: 0 16px 32px -14px rgba(225, 29, 46, .6); }
.btn-ghost { background: #fff; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: #D3D7DE; background: #FCFCFD; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #22262E; }
.btn-wa { background: #22A45D; color: #fff; }
.btn-wa:hover { background: #1B8E4F; }
.btn-danger-ghost { background: #fff; border-color: #F3D3D7; color: var(--danger); }
.btn-danger-ghost:hover { background: var(--danger-soft); }
.btn-lg { padding: 1rem 1.7rem; font-size: 1rem; }
.btn-sm { padding: .6rem 1rem; font-size: .86rem; }
.btn-xs { padding: .42rem .72rem; font-size: .78rem; gap: .35rem; border-radius: 10px; }
.btn-block { width: 100%; }

/* ---------- Header publik ---------- */
.site-head {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-head.is-stuck { border-bottom-color: var(--line); box-shadow: 0 10px 30px -24px rgba(16, 20, 28, .5); }
.head-in { display: flex; align-items: center; gap: 18px; min-height: 74px; }
.brand { display: inline-flex; align-items: center; gap: 11px; min-width: 0; }
.brand-img { height: 40px; width: auto; border-radius: 8px; }
.brand-img.sm { height: 34px; }
.brand-mark {
  display: inline-grid; place-items: center; width: 40px; height: 40px; flex: 0 0 40px;
  border-radius: 12px; color: #fff; font-weight: 800; font-size: 1.15rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 8px 18px -10px rgba(225, 29, 46, .7);
}
.brand-mark.sm { width: 34px; height: 34px; flex-basis: 34px; font-size: 1rem; border-radius: 10px; }
.brand-text { display: flex; flex-direction: column; min-width: 0; }
.brand-text strong { font-size: 1.02rem; font-weight: 800; letter-spacing: -.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand-sub { font-size: .72rem; color: var(--muted); letter-spacing: .02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav > a {
  padding: .55rem .8rem; border-radius: 10px; font-size: .92rem; font-weight: 600; color: var(--ink-2);
}
.nav > a:hover { background: var(--soft); color: var(--ink); }
.nav > a.is-active { color: var(--accent); }
.nav-wa { display: none; }
.head-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line);
  background: #fff; align-items: center; justify-content: center; cursor: pointer;
}
.nav-toggle .nav-toggle-close { display: none; }
.site-head.nav-open .nav-toggle .nav-toggle-open { display: none; }
.site-head.nav-open .nav-toggle .nav-toggle-close { display: inline-flex; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: 40px 0; }
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(760px 420px at 88% -10%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 70%),
    radial-gradient(620px 380px at 4% 8%, rgba(255, 196, 160, .30), transparent 72%),
    linear-gradient(180deg, #FFFDFB, #FFFFFF 62%);
}
.hero-in { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); gap: 54px; align-items: center; padding-block: 18px 46px; }
.hero-copy { min-width: 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem; margin-bottom: 18px;
  font-size: .76rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-2);
  background: #fff; border: 1px solid var(--line); padding: .45rem .9rem; border-radius: 999px;
}
.eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent); }
.hero-title { font-size: clamp(2.25rem, 4.9vw, 3.45rem); letter-spacing: -.038em; line-height: 1.05; }
.hl {
  font-style: normal;
  background: linear-gradient(100deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-lead { margin-top: 20px; font-size: 1.05rem; color: var(--body); max-width: 34rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-note { display: flex; align-items: center; gap: .5rem; margin-top: 16px; font-size: .84rem; color: var(--muted); }
.hero-note svg.ico { color: var(--accent); }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px; padding-top: 24px; border-top: 1px dashed var(--line); }
.hero-points li { display: flex; align-items: center; gap: .45rem; font-size: .87rem; font-weight: 600; color: var(--ink-2); }
.hero-points svg.ico { color: var(--accent); }

.hero-media { position: relative; min-width: 0; }
.hero-frame {
  position: relative; overflow: hidden; border-radius: 32px; border: 1px solid #F0E4DC;
  background: linear-gradient(160deg, #FFF6F1, #FFE6D9);
  box-shadow: var(--shadow-md);
}
.hero-frame img { width: 100%; height: auto; aspect-ratio: 640 / 760; object-fit: cover; }
.hero-sticker {
  position: absolute; left: -14px; bottom: 88px; z-index: 2;
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .7rem 1rem; border-radius: 14px; transform: rotate(-5deg);
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff;
  font-size: .78rem; font-weight: 800; letter-spacing: .02em; text-transform: uppercase;
  box-shadow: 0 18px 30px -18px rgba(225, 29, 46, .85);
}
.hero-chip {
  position: absolute; right: -8px; top: 26px; z-index: 2;
  display: flex; align-items: center; gap: .7rem; padding: .7rem .95rem .7rem .7rem;
  background: #fff; border-radius: 16px; border: 1px solid var(--line); box-shadow: var(--shadow-md);
}
.hero-chip-ico { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: var(--soft-2); color: var(--accent); }
.hero-chip span:last-child { display: flex; flex-direction: column; line-height: 1.25; }
.hero-chip strong { font-size: .86rem; }
.hero-chip small { font-size: .72rem; color: var(--muted); }

.cat-strip { display: flex; flex-wrap: wrap; gap: 10px; padding-block: 18px 46px; }
.cat-chip {
  display: inline-flex; align-items: center; gap: .45rem; padding: .55rem .95rem;
  border-radius: 999px; border: 1px solid var(--line); background: #fff;
  font-size: .84rem; font-weight: 600; color: var(--ink-2); min-height: 38px;
}
.cat-chip svg.ico { width: 1em; height: 1em; color: var(--accent); }
.cat-chip:hover { border-color: #D6DAE1; background: #FCFCFD; }
.cat-chip.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.cat-chip.is-on svg.ico { color: #fff; }
.cat-chip-all { border-style: dashed; }

/* ---------- Bagian umum ---------- */
.sec { padding-block: 76px; }
.sec-tight { padding-block: 34px 68px; }
.sec-soft { background: var(--soft); }
.sec-dark { background: #0F1116; color: #fff; }
.sec-head { max-width: 42rem; }
.sec-head-center { margin-inline: auto; text-align: center; }
.kicker {
  display: inline-flex; align-items: center; gap: .55rem; margin-bottom: 14px;
  font-size: .74rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-2);
}
.kicker-bar { width: 22px; height: 3px; border-radius: 99px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
.kicker-light { color: #FFD9C9; }
.kicker-light .kicker-bar { background: #fff; }
.sec-title { font-size: clamp(1.65rem, 3.4vw, 2.55rem); letter-spacing: -.034em; }
.sec-lead { margin-top: 12px; color: var(--body); font-size: 1rem; max-width: 44rem; }
.sec-dark .sec-lead { color: #B9BEC8; }
.sec-cta { margin-top: 34px; display: flex; justify-content: center; }
.split-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 32px; }
.split-head .sec-head { margin-bottom: 0; }

/* ---------- Kartu produk ---------- */
.p-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 32px; }
.p-card {
  display: flex; flex-direction: column; min-width: 0;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.p-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #DDE1E7; }
.p-card-media { position: relative; display: block; aspect-ratio: 4 / 3; background: var(--soft); overflow: hidden; }
.p-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.p-card:hover .p-card-media img { transform: scale(1.03); }
.p-card-empty { display: grid; place-items: center; height: 100%; color: #C3C8D0; }
.p-card-empty svg.ico { width: 54px; height: 54px; }
.p-badge {
  position: absolute; left: 14px; top: 14px; z-index: 2;
  padding: .32rem .7rem; border-radius: 999px; background: var(--ink); color: #fff;
  font-size: .7rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
}
.p-badge-lg { font-size: .78rem; padding: .4rem .85rem; }
.p-card-body { display: flex; flex-direction: column; gap: 8px; padding: 20px 20px 22px; flex: 1; }
.p-cat { font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-2); }
.p-name { font-size: 1.1rem; letter-spacing: -.02em; }
.p-name a:hover { color: var(--accent-2); }
.p-excerpt { font-size: .88rem; color: var(--muted); }
.p-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line-2); }
.p-price { font-weight: 800; font-size: 1rem; letter-spacing: -.01em; }
.p-price small { font-weight: 600; font-size: .72rem; color: var(--muted); }
.p-price-ask { color: var(--muted); font-weight: 700; font-size: .9rem; }
.p-link { display: inline-flex; align-items: center; gap: .3rem; font-size: .84rem; font-weight: 700; color: var(--accent-2); }
.p-link svg.ico { width: 1em; height: 1em; transition: transform .16s ease; }
.p-link:hover svg.ico { transform: translateX(3px); }

.empty-card {
  margin-top: 32px; padding: 46px 26px; text-align: center;
  border: 1px dashed #DADFE6; border-radius: var(--radius-lg); background: linear-gradient(180deg, #FCFCFD, #FFF);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.empty-ico { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 18px; background: var(--soft-2); color: var(--accent); margin-bottom: 4px; }
.empty-ico svg.ico { width: 28px; height: 28px; }
.empty-card h3 { font-size: 1.25rem; }
.empty-card p { color: var(--muted); max-width: 34rem; font-size: .94rem; }
.empty-card .btn { margin-top: 10px; }
.empty-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 12px; }

/* ---------- Keunggulan ---------- */
.why-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.why-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; min-width: 0; transition: border-color .18s ease, box-shadow .18s ease;
}
.why-card:hover { border-color: #DCE0E6; box-shadow: var(--shadow-sm); }
.why-ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 14%, #fff), color-mix(in srgb, var(--accent-2) 12%, #fff)); color: var(--accent-2); margin-bottom: 16px; }
.why-ico svg.ico { width: 22px; height: 22px; }
.why-card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.why-card p { font-size: .92rem; color: var(--body); }

/* ---------- Proses ---------- */
.flow-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 34px; counter-reset: step; }
.flow-step { position: relative; min-width: 0; padding: 24px 22px; border-radius: var(--radius); background: var(--soft-2); border: 1px solid #F3E7DE; }
.flow-num {
  display: inline-grid; place-items: center; width: 42px; height: 42px; margin-bottom: 16px;
  border-radius: 12px; background: #fff; border: 1px solid #F0DED3; color: var(--accent-2);
  font-weight: 800; font-size: .92rem; letter-spacing: .02em;
}
.flow-step h3 { font-size: 1.02rem; margin-bottom: 8px; }
.flow-step p { font-size: .88rem; color: var(--body); }

/* ---------- Galeri ---------- */
.gal-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 30px; }
.gal-item {
  position: relative; padding: 0; border: 0; border-radius: 16px; overflow: hidden;
  background: #1B1F27; cursor: zoom-in; aspect-ratio: 1 / 1; min-width: 0;
}
.gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease, opacity .3s ease; }
.gal-item:hover img { transform: scale(1.05); opacity: .88; }
.gal-zoom {
  position: absolute; right: 10px; bottom: 10px; display: grid; place-items: center;
  width: 34px; height: 34px; border-radius: 10px; background: rgba(255, 255, 255, .92); color: var(--ink);
  opacity: 0; transform: translateY(4px); transition: opacity .2s ease, transform .2s ease;
}
.gal-item:hover .gal-zoom, .gal-item:focus-visible .gal-zoom { opacity: 1; transform: translateY(0); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 120; display: grid; place-items: center;
  background: rgba(10, 12, 16, .88); padding: 24px; backdrop-filter: blur(6px);
}
.lightbox[hidden] { display: none; }
.lb-fig { margin: 0; max-width: min(1040px, 94vw); max-height: 88vh; display: flex; flex-direction: column; gap: 12px; align-items: center; }
.lb-fig img { max-width: 100%; max-height: 78vh; object-fit: contain; border-radius: 14px; background: #14161A; }
.lb-fig figcaption { color: #E7E9EE; font-size: .9rem; text-align: center; }
.lb-close {
  position: absolute; top: 20px; right: 20px; width: 46px; height: 46px; border-radius: 50%;
  border: 0; background: rgba(255, 255, 255, .14); color: #fff; display: grid; place-items: center; cursor: pointer;
}
.lb-close:hover { background: rgba(255, 255, 255, .24); }

/* ---------- Testimoni ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 32px; }
.testi-card {
  margin: 0; padding: 24px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); display: flex; flex-direction: column; gap: 14px; min-width: 0;
}
.testi-stars { display: flex; gap: 3px; color: #F5A623; }
.testi-stars svg.ico { width: 16px; height: 16px; }
.testi-card blockquote { margin: 0; font-size: .95rem; color: var(--ink-2); }
.testi-card figcaption { display: flex; align-items: center; gap: 11px; margin-top: auto; padding-top: 8px; }
.testi-card figcaption span { display: flex; flex-direction: column; line-height: 1.3; }
.testi-card figcaption strong { font-size: .88rem; }
.testi-card figcaption small { font-size: .76rem; color: var(--muted); }
.testi-ava { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex: 0 0 40px; }
.testi-ini { display: grid; place-items: center; background: var(--soft-2); color: var(--accent-2); font-weight: 800; }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 44px; align-items: start; }
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item { border: 1px solid var(--line); border-radius: 14px; background: #fff; overflow: hidden; }
.faq-item[open] { border-color: #E0D3CB; box-shadow: var(--shadow-sm); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 20px; cursor: pointer; list-style: none;
  font-weight: 700; font-size: .96rem; letter-spacing: -.01em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-plus { position: relative; width: 22px; height: 22px; flex: 0 0 22px; border-radius: 50%; background: var(--soft); }
.faq-plus::before, .faq-plus::after {
  content: ""; position: absolute; inset: 50% 5px auto 5px; height: 2px; border-radius: 2px; background: var(--ink-2);
}
.faq-plus::after { transform: rotate(90deg); transition: transform .2s ease; }
.faq-item[open] .faq-plus::after { transform: rotate(0); }
.faq-item[open] .faq-plus { background: var(--soft-2); }
.faq-body { padding: 0 20px 20px; }
.faq-body p { font-size: .92rem; color: var(--body); }

/* ---------- Form pesanan ---------- */
.order-sec { background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 92%, #000), var(--accent-2)); color: #fff; position: relative; overflow: hidden; }
.order-sec::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(700px 380px at 88% 0%, rgba(255, 255, 255, .18), transparent 70%);
  pointer-events: none;
}
.order-in { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 44px; align-items: start; position: relative; }
.order-copy .sec-title { color: #fff; }
.order-copy .sec-lead { color: rgba(255, 255, 255, .88); }
.order-points { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; }
.order-points li { display: flex; align-items: center; gap: .55rem; font-size: .92rem; color: #fff; }
.order-points svg.ico { color: #fff; opacity: .85; }
.order-wa { margin-top: 26px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .25); display: flex; flex-direction: column; gap: 6px; }
.order-wa span { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: rgba(255, 255, 255, .75); }
.order-wa a { display: inline-flex; align-items: center; gap: .5rem; font-weight: 800; font-size: 1.1rem; }
.order-wa svg.ico { width: 22px; height: 22px; }

.order-form {
  background: #fff; color: var(--ink); border-radius: var(--radius-lg);
  padding: 28px; box-shadow: 0 30px 60px -30px rgba(20, 10, 8, .55); min-width: 0;
}
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form-grid-1 { grid-template-columns: minmax(0, 1fr); }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field-half { min-width: 0; }
.field-full { grid-column: 1 / -1; }
.field label, .field > .label { font-size: .82rem; font-weight: 700; color: var(--ink-2); }
.req { color: var(--danger); }
.field input[type="text"], .field input[type="tel"], .field input[type="email"],
.field input[type="password"], .field input[type="search"], .field input[type="number"],
.field input[type="url"], .field select, .field textarea {
  width: 100%; padding: .78rem .9rem; border-radius: 12px; border: 1px solid #DFE3E9;
  background: #fff; color: var(--ink); font: inherit; font-size: .93rem; line-height: 1.45;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { resize: vertical; min-height: 84px; }
.field input[type="color"] { width: 46px; height: 46px; padding: 3px; border: 1px solid #DFE3E9; border-radius: 12px; background: #fff; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: color-mix(in srgb, var(--accent) 70%, #fff);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 14%, transparent);
}
.field input::placeholder, .field textarea::placeholder { color: #A6ADB8; }
.hint { font-size: .76rem; color: var(--muted); }
.hint code { background: var(--soft); padding: .1rem .3rem; border-radius: 5px; font-size: .92em; }
.hint a { color: var(--accent-2); font-weight: 700; }
.form-note { display: flex; align-items: flex-start; gap: .45rem; margin-top: 12px; font-size: .76rem; color: var(--muted); line-height: 1.5; }
.form-note svg.ico { margin-top: .15rem; color: var(--ok); }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; }
.form-err { display: flex; gap: .6rem; padding: 14px 16px; border-radius: 12px; background: var(--danger-soft); border: 1px solid #F6C9CE; color: #8D1420; font-size: .85rem; margin-bottom: 16px; }
.form-err ul { list-style: disc; padding-left: 1.1rem; }
.form-pick { display: flex; align-items: center; gap: .5rem; padding: .6rem .8rem; border-radius: 10px; background: var(--soft-2); font-size: .84rem; margin-bottom: 14px; }
.form-pick svg.ico { color: var(--accent); }

/* ---------- Halaman dalam ---------- */
.page-head { padding-block: 34px 8px; }
.crumb { display: flex; flex-wrap: wrap; gap: .4rem; font-size: .8rem; color: var(--muted); }
.crumb a:hover { color: var(--accent-2); }
.crumb span { color: #B9BFC8; }
.page-title { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-top: 14px; }
.page-lead { margin-top: 10px; color: var(--body); max-width: 44rem; }
.page-head-sm { padding-block: 26px 0; }
.filter-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.search-form { display: flex; gap: 8px; align-items: center; }
.search-form input[type="search"] {
  padding: .62rem .9rem; border-radius: 999px; border: 1px solid var(--line); font: inherit; font-size: .88rem; min-width: 190px;
}
.filter-info { margin-top: 18px; font-size: .84rem; color: var(--muted); }
.filter-info a { color: var(--accent-2); font-weight: 700; }

.detail-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 44px; align-items: start; }
.detail-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--soft); border: 1px solid var(--line); aspect-ratio: 1 / 1; display: grid; place-items: center; }
.detail-media img { width: 100%; height: 100%; object-fit: cover; }
.detail-empty { color: #C3C8D0; }
.detail-empty svg.ico { width: 84px; height: 84px; }
.detail-title { font-size: clamp(1.7rem, 3.6vw, 2.4rem); margin-top: 8px; }
.detail-excerpt { margin-top: 12px; color: var(--body); }
.detail-price { display: flex; align-items: baseline; gap: .5rem; margin-top: 18px; }
.detail-price strong { font-size: 1.75rem; letter-spacing: -.03em; }
.detail-price .price-note { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 700; }
.price-ask { font-size: 1.15rem !important; color: var(--ink-2); }
.detail-features { display: grid; gap: 9px; margin-top: 22px; padding: 20px; border-radius: 16px; background: var(--soft); }
.detail-features li { display: flex; align-items: flex-start; gap: .55rem; font-size: .9rem; }
.detail-features svg.ico { color: var(--ok); margin-top: .15rem; }
.detail-desc { margin-top: 22px; display: flex; flex-direction: column; gap: 12px; color: var(--body); font-size: .95rem; }
.detail-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.detail-note { display: flex; align-items: flex-start; gap: .45rem; margin-top: 14px; font-size: .78rem; color: var(--muted); }
.detail-note svg.ico { margin-top: .15rem; }

/* ---------- Sukses ---------- */
.sukses-wrap { display: flex; justify-content: center; }
.sukses-card {
  width: 100%; max-width: 560px; text-align: center; padding: 40px 30px;
  border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); background: #fff;
}
.sukses-ico { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); margin-bottom: 16px; }
.sukses-ico svg.ico { width: 30px; height: 30px; }
.sukses-card h1 { font-size: clamp(1.4rem, 3.4vw, 1.9rem); }
.sukses-lead { margin-top: 10px; color: var(--body); font-size: .94rem; }
.sukses-detail { margin: 24px 0; display: grid; gap: 8px; text-align: left; padding: 18px; background: var(--soft); border-radius: 14px; }
.sukses-detail div { display: flex; gap: 12px; font-size: .88rem; }
.sukses-detail dt { flex: 0 0 110px; color: var(--muted); }
.sukses-detail dd { margin: 0; font-weight: 600; }
.sukses-note { margin-top: 14px; font-size: .82rem; color: var(--muted); }
.sukses-back { display: inline-flex; align-items: center; gap: .4rem; margin-top: 22px; font-size: .88rem; font-weight: 700; color: var(--ink-2); }
.sukses-back svg.ico { transform: rotate(180deg); }

/* ---------- Footer ---------- */
.site-foot { background: #0F1116; color: #C9CED8; padding-block: 56px 26px; margin-top: 0; }
.foot-in { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr) minmax(0, 1fr); gap: 40px; }
.brand-foot .brand-text strong { color: #fff; }
.foot-about { margin-top: 14px; font-size: .88rem; color: #9BA2AE; max-width: 26rem; }
.foot-soc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.foot-soc a { display: inline-flex; align-items: center; gap: .4rem; padding: .45rem .8rem; border-radius: 999px; border: 1px solid #262A33; font-size: .8rem; color: #D6DAE1; }
.foot-soc a:hover { background: #191C23; border-color: #333843; }
.foot-col h3 { color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.foot-col ul { display: flex; flex-direction: column; gap: 9px; font-size: .88rem; }
.foot-col a:hover { color: #fff; }
.foot-contact li { display: flex; align-items: flex-start; gap: .55rem; color: #AEB5C0; }
.foot-contact svg.ico { margin-top: .18rem; color: #7E8794; }
.foot-bottom {
  margin-top: 40px; padding-top: 20px; border-top: 1px solid #22262E;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px;
  font-size: .78rem; color: #7E8794;
}
.foot-note { max-width: 46rem; }
.foot-login a { color: #AEB5C0; }
.foot-login a:hover { color: #fff; }

/* =========================================================
   PANEL ADMIN
   ========================================================= */
.admin-body { background: var(--soft); }
.admin-shell { display: flex; min-height: 100dvh; }
.admin-side {
  flex: 0 0 262px; width: 262px; height: 100dvh; position: sticky; top: 0;
  display: flex; flex-direction: column; overflow: hidden;
  background: #101318; color: #C7CDD7; border-right: 1px solid #1D222B;
}
.admin-brand { flex: 0 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 18px 16px; border-bottom: 1px solid #1C212A; }
.brand-admin { color: #fff; }
.brand-admin .brand-text strong { color: #fff; }
.brand-admin .brand-sub { color: #8C94A1; }
.side-close { display: none; width: 36px; height: 36px; border-radius: 10px; border: 1px solid #2A303A; background: transparent; color: #C7CDD7; place-items: center; }
.admin-nav { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 14px 10px 8px; scrollbar-width: thin; scrollbar-color: #2A303A transparent; }
.nav-group { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: #6E7684; padding: .9rem .8rem .4rem; }
.nav-item {
  display: flex; align-items: center; gap: .65rem; padding: .62rem .75rem; border-radius: 10px;
  font-size: .89rem; font-weight: 600; color: #C0C7D2; margin-bottom: 2px;
}
.nav-item svg.ico { width: 18px; height: 18px; color: #7D8592; }
.nav-item:hover { background: #191D24; color: #fff; }
.nav-item:hover svg.ico { color: #fff; }
.nav-item.is-active { background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 90%, #000), var(--accent-2)); color: #fff; box-shadow: 0 10px 24px -16px rgba(225, 29, 46, .9); }
.nav-item.is-active svg.ico { color: #fff; }
.nav-count { margin-left: auto; min-width: 22px; height: 22px; padding-inline: 6px; border-radius: 999px; background: #fff; color: var(--accent-2); font-size: .72rem; font-weight: 800; display: grid; place-items: center; }
.admin-side-foot { flex: 0 0 auto; padding: 10px 12px 16px; border-top: 1px solid #1C212A; display: flex; flex-direction: column; gap: 4px; }
.side-action { display: flex; align-items: center; gap: .6rem; padding: .6rem .7rem; border-radius: 10px; font-size: .85rem; font-weight: 600; color: #B4BBC6; }
.side-action:hover { background: #191D24; color: #fff; }
.admin-backdrop { display: none; }

.admin-main { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.admin-top {
  position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: 14px;
  padding: 14px 26px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.top-toggle { display: none; width: 42px; height: 42px; border-radius: 11px; border: 1px solid var(--line); background: #fff; align-items: center; justify-content: center; }
.top-title { min-width: 0; }
.top-title h1 { font-size: 1.22rem; letter-spacing: -.025em; }
.top-title p { font-size: .8rem; color: var(--muted); margin-top: 2px; }
.top-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.top-user { display: inline-flex; align-items: center; gap: .4rem; font-size: .82rem; color: var(--muted); padding-right: 6px; }
.admin-content { flex: 1 1 auto; padding: 22px 26px 48px; display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.admin-content > * { min-width: 0; }

/* Pesan flash */
.flash { display: flex; align-items: flex-start; gap: .6rem; padding: 13px 16px; border-radius: 12px; font-size: .87rem; border: 1px solid transparent; }
.flash svg.ico { margin-top: .15rem; }
.flash a { font-weight: 700; text-decoration: underline; }
.flash-ok { background: var(--ok-soft); border-color: #C3E9DB; color: #0C5C43; }
.flash-err { background: var(--danger-soft); border-color: #F4C7CD; color: #96182A; }
.flash-warn { background: var(--warn-soft); border-color: #F5DEB6; color: #7A4A00; }

/* KPI */
.kpi-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.kpi-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.kpi {
  display: flex; flex-direction: column; gap: 2px; min-width: 0;
  padding: 18px; border-radius: 16px; background: #fff; border: 1px solid var(--line);
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}
a.kpi:hover { border-color: #D8DCE3; box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.kpi-ico { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--soft-2); color: var(--accent-2); margin-bottom: 8px; }
.kpi-ico svg.ico { width: 17px; height: 17px; }
.k-label { display: flex; align-items: center; font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.k-value { font-size: 1.5rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.2; }
.k-sub { font-size: .76rem; color: var(--muted); }

/* Panel */
.panel { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px; min-width: 0; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.panel-head h2 { display: flex; align-items: center; gap: .5rem; font-size: 1rem; letter-spacing: -.015em; }
.panel-head h2 svg.ico { color: var(--accent-2); width: 18px; height: 18px; }
.panel-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.panel-empty { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 34px 20px; text-align: center; color: var(--muted); font-size: .9rem; }
.panel-empty svg.ico { width: 30px; height: 30px; color: #C1C7D0; }
.panel-empty p { max-width: 40rem; }
.panel-note { margin-top: 14px; padding: 14px; border-radius: 12px; background: var(--soft); font-size: .82rem; color: var(--body); display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.grid-main { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, .95fr); gap: 20px; align-items: start; }

/* Tabel */
.table-wrap { width: 100%; overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; font-size: .87rem; }
.tbl th {
  text-align: left; font-size: .72rem; letter-spacing: .09em; text-transform: uppercase;
  color: var(--muted); font-weight: 700; padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap;
}
.tbl td { padding: 12px; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl strong { font-weight: 700; }
.cell-sub { display: block; font-size: .76rem; color: var(--muted); font-weight: 500; }
.cell-slug { color: var(--muted); font-size: .8rem; overflow-wrap: anywhere; }
.cell-note { max-width: 260px; font-size: .82rem; color: var(--body); overflow-wrap: anywhere; }
.col-thumb { width: 64px; }
.tbl-thumb { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; overflow: hidden; background: var(--soft); color: #B7BEC8; }
.tbl-thumb img { width: 100%; height: 100%; object-fit: cover; }
.col-actions { width: 1%; white-space: nowrap; }
.row-actions { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; }
.icon-btn { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; border: 1px solid var(--line); background: #fff; color: var(--ink-2); cursor: pointer; }
.icon-btn:hover { background: var(--soft); }
.icon-btn svg.ico { width: 15px; height: 15px; }
.move-btns { display: flex; gap: 4px; }
.inline-select select { padding: .35rem .5rem; border-radius: 8px; border: 1px solid var(--line); font-size: .78rem; background: #fff; }

/* Pill */
.pill { display: inline-flex; align-items: center; padding: .24rem .6rem; border-radius: 999px; font-size: .72rem; font-weight: 700; letter-spacing: .01em; background: var(--soft); color: var(--ink-2); white-space: nowrap; }
.pill-ok { background: var(--ok-soft); color: var(--ok); }
.pill-warn { background: var(--warn-soft); color: var(--warn); }
.pill-info { background: var(--info-soft); color: var(--info); }
.pill-muted { background: #F0F1F4; color: var(--muted); }

/* Progress & checklist */
.progress { height: 8px; border-radius: 999px; background: var(--soft); overflow: hidden; margin-bottom: 16px; }
.progress span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); transition: width .4s ease; }
.check-list { display: flex; flex-direction: column; gap: 10px; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; padding: 13px; border-radius: 12px; border: 1px solid var(--line); }
.check-list li.is-done { background: #FBFDFC; border-color: #E3EFE9; }
.check-ico { display: grid; place-items: center; width: 28px; height: 28px; flex: 0 0 28px; border-radius: 9px; background: var(--soft-2); color: var(--accent-2); }
.check-list li.is-done .check-ico { background: var(--ok-soft); color: var(--ok); }
.check-ico svg.ico { width: 15px; height: 15px; }
.check-body { flex: 1 1 auto; min-width: 0; }
.check-body strong { font-size: .9rem; }
.check-body p { font-size: .8rem; color: var(--muted); }
.check-list .btn { flex: 0 0 auto; }
.check-edit { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; color: var(--muted); }
.check-edit:hover { background: var(--soft); color: var(--ink); }
.quick-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.quick { display: flex; flex-direction: column; gap: 2px; padding: 14px; border-radius: 12px; border: 1px solid var(--line); min-width: 0; }
.quick:hover { border-color: #D8DCE3; background: #FCFCFD; }
.quick span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--soft-2); color: var(--accent-2); margin-bottom: 6px; }
.quick span svg.ico { width: 16px; height: 16px; }
.quick strong { font-size: .86rem; }
.quick small { font-size: .74rem; color: var(--muted); }

/* Tab */
.tabs { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 12px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.tab {
  display: inline-flex; align-items: center; gap: .4rem; padding: .55rem .85rem; border-radius: 10px;
  border: 1px solid transparent; background: transparent; color: var(--muted); font-size: .84rem; font-weight: 700;
  cursor: pointer; white-space: nowrap; flex: 0 0 auto;
}
.tab svg.ico { width: 15px; height: 15px; }
.tab:hover { background: var(--soft); color: var(--ink); }
.tab.is-active { background: var(--ink); color: #fff; }
.tab-panel { min-width: 0; }
.tab-desc { font-size: .85rem; color: var(--muted); margin-bottom: 16px; }
.tabs-sm { display: flex; gap: 4px; background: var(--soft); padding: 3px; border-radius: 10px; max-width: 100%; overflow-x: auto; }
.tab-sm { padding: .4rem .7rem; border-radius: 8px; font-size: .78rem; font-weight: 700; color: var(--muted); white-space: nowrap; flex: 0 0 auto; }
.tab-sm.is-active { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }

/* Form admin */
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .85rem; }
.lines-preview { display: flex; flex-direction: column; gap: 4px; font-size: .74rem; color: var(--muted); }
.lines-preview span { display: block; padding: .25rem .45rem; border-radius: 6px; background: var(--soft); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.form-foot .hint { max-width: 40rem; }
.form-foot-col { flex-direction: column; align-items: stretch; border-top: 0; padding-top: 0; margin-top: 14px; }
.image-field { grid-column: 1 / -1; }
.img-row { display: flex; gap: 12px; align-items: flex-start; }
.img-preview { display: grid; place-items: center; width: 92px; height: 92px; flex: 0 0 92px; border-radius: 12px; border: 1px dashed #D6DBE2; background: var(--soft); color: #B7BEC8; overflow: hidden; }
.img-preview img { width: 100%; height: 100%; object-fit: cover; }
.img-preview.has-img { border-style: solid; border-color: var(--line); }
.img-fields { flex: 1 1 auto; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.file-btn {
  display: inline-flex; align-items: center; gap: .4rem; align-self: flex-start;
  padding: .5rem .8rem; border-radius: 9px; border: 1px solid var(--line); background: #fff;
  font-size: .8rem; font-weight: 700; cursor: pointer; position: relative; overflow: hidden;
}
.file-btn input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.file-btn:hover { background: var(--soft); }
.switch { display: inline-flex; align-items: center; gap: .55rem; font-size: .85rem; font-weight: 600; cursor: pointer; }
.switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.switch-ui { width: 40px; height: 23px; border-radius: 999px; background: #D5DAE1; position: relative; transition: background .18s ease; flex: 0 0 40px; }
.switch-ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 17px; height: 17px; border-radius: 50%; background: #fff; transition: transform .18s ease; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); }
.switch input:checked + .switch-ui { background: var(--accent); }
.switch input:checked + .switch-ui::after { transform: translateX(17px); }
.switch input:focus-visible + .switch-ui { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Warna */
.color-presets { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.color-preset { display: inline-flex; align-items: center; gap: .5rem; padding: .5rem .8rem; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: .8rem; font-weight: 600; cursor: pointer; }
.color-preset:hover { border-color: #D3D8DF; }
.color-preset.is-on { border-color: var(--ink); box-shadow: 0 0 0 2px rgba(20, 22, 26, .08); }
.cp-dots { display: inline-flex; gap: 2px; }
.cp-dots i { width: 12px; height: 12px; border-radius: 50%; display: block; }
.color-input { display: flex; gap: 8px; align-items: center; }
.color-input input[type="text"] { flex: 1 1 auto; font-family: ui-monospace, monospace; text-transform: uppercase; }

/* Pratinjau brand */
.brand-preview { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.bp-head { display: flex; align-items: center; gap: 10px; padding: 16px; background: #fff; border-bottom: 1px solid var(--line); }
.bp-title { font-size: .8rem; font-weight: 700; color: var(--muted); }
.bp-body { padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--soft); }
.bp-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.bp-chip { font-size: .76rem; color: var(--muted); }

/* Galeri admin */
.gal-admin { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.gal-admin-item { margin: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; min-width: 0; }
.gal-admin-item.is-off { opacity: .55; }
.ga-media { aspect-ratio: 1 / 1; background: var(--soft); display: grid; place-items: center; color: #B7BEC8; }
.ga-media img { width: 100%; height: 100%; object-fit: cover; }
.gal-admin-item figcaption { padding: 10px; display: flex; flex-direction: column; gap: 8px; }
.gal-admin-item strong { font-size: .8rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Testimoni admin */
.testi-admin { display: flex; flex-direction: column; gap: 10px; }
.testi-admin-item { border: 1px solid var(--line); border-radius: 12px; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.testi-admin-item.is-off { opacity: .6; }
.ta-head { display: flex; align-items: center; gap: 10px; }
.ta-head img, .ta-ini { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; flex: 0 0 38px; }
.ta-ini { display: grid; place-items: center; background: var(--soft-2); color: var(--accent-2); font-weight: 800; }
.ta-head div { display: flex; flex-direction: column; min-width: 0; }
.ta-head strong { font-size: .87rem; }
.ta-head small { font-size: .75rem; color: var(--muted); }
.ta-head .pill { margin-left: auto; }
.ta-msg { font-size: .85rem; color: var(--body); }

/* Danger zone */
.danger-zone { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 18px; border: 1px solid #F3D3D7; border-radius: 14px; background: #FFFBFC; }
.danger-zone strong { font-size: .9rem; color: #96182A; }
.danger-zone p { font-size: .8rem; color: var(--muted); }

/* Daftar data */
.data-list { display: flex; flex-direction: column; gap: 2px; }
.data-list li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: .55rem 0; border-bottom: 1px dashed var(--line); font-size: .85rem; }
.data-list li:last-child { border-bottom: 0; }
.copy-box { padding: .65rem .8rem; border-radius: 10px; background: var(--soft); border: 1px dashed var(--line); overflow-wrap: anywhere; font-size: .82rem; }
.note-list { display: flex; flex-direction: column; gap: 10px; font-size: .85rem; color: var(--body); }
.note-list li { position: relative; padding-left: 1.1rem; }
.note-list li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.note-list a { color: var(--accent-2); font-weight: 700; }

/* ---------- Auth ---------- */
.auth-body { background: var(--soft); }
.auth-wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); min-height: 100dvh; }
.auth-visual {
  position: relative; overflow: hidden; color: #fff; padding: 48px;
  background: linear-gradient(150deg, color-mix(in srgb, var(--accent) 88%, #000), var(--accent-2) 70%, #7A0E1B);
  display: flex; align-items: center;
}
.auth-visual::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 400px at 80% 10%, rgba(255, 255, 255, .18), transparent 70%); }
.auth-visual-in { position: relative; max-width: 30rem; display: flex; flex-direction: column; gap: 18px; }
.brand-auth { color: #fff; }
.brand-auth .brand-text strong { color: #fff; }
.brand-auth .brand-sub { color: rgba(255, 255, 255, .75); }
.brand-auth .brand-mark { background: rgba(255, 255, 255, .18); box-shadow: none; }
.auth-visual h1 { font-size: clamp(1.7rem, 3vw, 2.5rem); letter-spacing: -.035em; }
.auth-visual p { color: rgba(255, 255, 255, .82); font-size: .95rem; }
.auth-list { display: flex; flex-direction: column; gap: 10px; margin-top: 6px; }
.auth-list li { display: flex; align-items: flex-start; gap: .55rem; font-size: .9rem; color: rgba(255, 255, 255, .92); }
.auth-list svg.ico { margin-top: .12rem; }
.auth-form-side { display: grid; place-items: center; padding: 40px 24px; background: #fff; }
.auth-form { width: 100%; max-width: 380px; display: flex; flex-direction: column; gap: 14px; }
.auth-logo { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; }
.auth-form h2 { font-size: 1.5rem; }
.auth-sub { font-size: .88rem; color: var(--muted); margin-bottom: 4px; }
.pw-wrap { position: relative; }
.pw-wrap input { padding-right: 3rem; }
.pw-toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border-radius: 8px; border: 0; background: transparent; color: var(--muted); display: grid; place-items: center; cursor: pointer; }
.pw-toggle:hover { background: var(--soft); color: var(--ink); }
.auth-back { text-align: center; font-size: .82rem; }
.auth-back a { display: inline-flex; align-items: center; gap: .35rem; color: var(--muted); }
.auth-back svg.ico { transform: rotate(180deg); }


/* ---------- Detail produk: galeri foto ---------- */
.detail-media-wrap { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.detail-media img { cursor: zoom-in; }
.detail-thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.detail-thumb {
  padding: 0; border: 2px solid var(--line); border-radius: 12px; overflow: hidden;
  background: var(--soft); cursor: pointer; aspect-ratio: 1 / 1; min-width: 0;
  transition: border-color .15s ease, transform .15s ease;
}
.detail-thumb img { width: 100%; height: 100%; object-fit: cover; }
.detail-thumb:hover { transform: translateY(-2px); }
.detail-thumb.is-on { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent); }
.detail-desc h2, .detail-desc h3, .detail-desc h4 { margin: 1.3rem 0 .5rem; letter-spacing: -.02em; }
.detail-desc h3 { font-size: 1.12rem; }
.detail-desc h4 { font-size: 1rem; }
.detail-desc ul, .detail-desc ol { margin: .4rem 0 1rem; padding-left: 1.25rem; display: flex; flex-direction: column; gap: .35rem; }
.detail-desc ul li { list-style: disc; }
.detail-desc ol li { list-style: decimal; }
.detail-desc blockquote {
  margin: 1rem 0; padding: 12px 16px; border-left: 3px solid var(--accent);
  background: var(--soft-2); border-radius: 0 10px 10px 0; color: var(--ink-2);
}
.detail-desc table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.detail-desc th, .detail-desc td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.detail-desc th { background: var(--soft); font-weight: 700; }
.detail-desc img { border-radius: 12px; margin: .5rem 0; }
.detail-desc a { color: var(--accent-2); font-weight: 600; text-decoration: underline; }
.detail-desc strong { font-weight: 800; color: var(--ink); }

/* ---------- Panel: sampul & manajer foto produk ---------- */
.cover-preview { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.cover-box {
  display: grid; place-items: center; width: 100%; aspect-ratio: 1 / 1;
  border: 1px dashed #D6DBE2; border-radius: 14px; background: var(--soft); color: #B7BEC8; overflow: hidden;
}
.cover-box.has-img { border-style: solid; border-color: var(--line); }
.cover-box img { width: 100%; height: 100%; object-fit: cover; }
.cover-box svg.ico { width: 34px; height: 34px; }

.img-manager { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.img-item {
  border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff;
  display: flex; flex-direction: column; min-width: 0;
}
.img-item.is-cover { border-color: var(--accent); box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 16%, transparent); }
.img-item-media { position: relative; aspect-ratio: 1 / 1; background: var(--soft); }
.img-item-media img { width: 100%; height: 100%; object-fit: cover; }
.img-cover-tag {
  position: absolute; left: 6px; top: 6px; padding: .18rem .45rem; border-radius: 999px;
  background: var(--ink); color: #fff; font-size: .62rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
}
.img-radio, .img-del {
  display: flex; align-items: center; gap: .38rem; padding: .45rem .55rem;
  font-size: .72rem; font-weight: 600; color: var(--ink-2); cursor: pointer;
}
.img-radio { border-bottom: 1px solid var(--line-2); }
.img-radio input, .img-del input { accent-color: var(--accent); width: 15px; height: 15px; margin: 0; flex: 0 0 15px; }
.img-del { color: var(--danger); }
.add-img-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.panel-empty-sm { padding: 22px 16px; }
.panel-empty-sm svg.ico { width: 26px; height: 26px; }
.field input[type="file"] {
  width: 100%; padding: .6rem .7rem; border: 1px dashed #D6DBE2; border-radius: 12px;
  background: var(--soft); font-size: .85rem; color: var(--ink-2); cursor: pointer;
}
.field input[type="file"]::file-selector-button {
  margin-right: .6rem; padding: .4rem .7rem; border: 1px solid var(--line); border-radius: 8px;
  background: #fff; font: inherit; font-size: .8rem; font-weight: 700; cursor: pointer;
}
.tox-tinymce { border-radius: 12px !important; border-color: #DFE3E9 !important; }


/* ---------- Header/footer: brand tanpa nama (logo saja) ---------- */
.brand-logo-only { gap: 0; }
.brand-logo-only .brand-img { height: 44px; }
.brand-logo-only .brand-mark { width: 44px; height: 44px; flex-basis: 44px; }
.brand-foot.brand-logo-only .brand-img { height: 48px; }
.brand-foot.brand-logo-only .brand-mark { width: 48px; height: 48px; flex-basis: 48px; }
.site-head .brand-logo-only { padding-block: 2px; }

/* ---------- Panel: baris pilihan (toggle) ---------- */
.toggle-list { display: flex; flex-direction: column; gap: 10px; margin: 4px 0 14px; }
.toggle-row {
  display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px;
  border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
}
.toggle-row:hover { border-color: #D6DBE2; background: #FCFCFD; }
.toggle-row input { position: absolute; opacity: 0; width: 0; height: 0; }
.toggle-text { display: flex; flex-direction: column; gap: 2px; flex: 1 1 auto; min-width: 0; order: 1; }
.toggle-text strong { font-size: .9rem; }
.toggle-text small { font-size: .78rem; color: var(--muted); }
.toggle-ui {
  order: 2; position: relative; width: 42px; height: 24px; flex: 0 0 42px; border-radius: 999px;
  background: #D5DAE1; transition: background .18s ease; margin-top: 2px;
}
.toggle-ui::after {
  content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%;
  background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .22); transition: transform .18s ease;
}
.toggle-row input:checked ~ .toggle-ui { background: var(--accent); }
.toggle-row input:checked ~ .toggle-ui::after { transform: translateX(18px); }
.toggle-row input:focus-visible ~ .toggle-ui { outline: 2px solid var(--accent); outline-offset: 2px; }
.brand-tip {
  display: flex; align-items: flex-start; gap: .55rem; padding: 12px 14px; margin-bottom: 10px;
  border-radius: 12px; background: var(--warn-soft); border: 1px solid #F5DEB6; color: #7A4A00;
  font-size: .82rem; line-height: 1.55;
}
.brand-tip svg.ico { margin-top: .12rem; flex: 0 0 auto; }
.brand-tip.is-hidden { display: none; }
.bp-head.is-logo-only { justify-content: flex-start; }

/* =========================================================
   Responsif
   ========================================================= */
@media (max-width: 1080px) {
  .nav { gap: 0; }
  .nav > a { padding-inline: .6rem; font-size: .88rem; }
  .head-cta span { display: none; }
  .head-cta { padding: .7rem; }
  .hero-in { gap: 36px; }
  .p-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .testi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gal-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .faq-wrap { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .detail-grid { gap: 30px; }
  .kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kpi-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-main { grid-template-columns: minmax(0, 1fr); }
  .foot-in { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
  .foot-col:last-child { grid-column: 1 / -1; }
  .img-manager { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .admin-side {
    position: fixed; left: 0; top: 0; bottom: 0; z-index: 90; height: 100dvh;
    transform: translateX(-102%); transition: transform .22s ease; box-shadow: 0 20px 60px rgba(0, 0, 0, .35);
  }
  .admin-side.is-open { transform: translateX(0); }
  .side-close { display: grid; }
  .admin-backdrop { display: block; position: fixed; inset: 0; background: rgba(10, 12, 16, .45); opacity: 0; pointer-events: none; transition: opacity .2s ease; z-index: 85; }
  .admin-backdrop.is-on { opacity: 1; pointer-events: auto; }
  .top-toggle { display: inline-flex; }
  .admin-top { padding: 12px 16px; }
  .admin-content { padding: 16px 16px 40px; }
  .top-user span { display: none; }
  .hero-in { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .hero-media { max-width: 520px; }
  .hero-sticker { left: 8px; bottom: 26px; }
  .hero-chip { right: 6px; top: 14px; }
  .order-in { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .detail-grid { grid-template-columns: minmax(0, 1fr); }
  .detail-media { max-width: 520px; }
  .auth-wrap { grid-template-columns: minmax(0, 1fr); }
  .auth-visual { display: none; }
  .kpi-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .img-manager { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .head-in { min-height: 64px; gap: 10px; }
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; left: 12px; right: 12px; top: calc(100% + 6px);
    display: none; flex-direction: column; align-items: stretch; gap: 2px;
    padding: 10px; border-radius: 16px; border: 1px solid var(--line);
    background: #fff; box-shadow: var(--shadow-md); margin-left: 0;
  }
  .site-head.nav-open .nav { display: flex; }
  .nav > a { padding: .8rem .9rem; border-radius: 10px; font-size: .95rem; }
  .nav > a.is-active { background: var(--soft-2); }
  .nav-wa { display: inline-flex; align-items: center; gap: .5rem; padding: .8rem .9rem; border-radius: 10px; background: var(--ink); color: #fff; font-weight: 700; font-size: .92rem; }
  .head-actions .head-cta { display: none; }
  .hero { padding-block: 22px 0; }
  .hero-title { font-size: clamp(2.05rem, 8.4vw, 2.9rem); }
  .hero-lead { font-size: .98rem; }
  .hero-actions .btn { flex: 1 1 auto; }
  .hero-points { gap: 8px 16px; }
  .hero-points li { font-size: .82rem; }
  .cat-strip { padding-block: 14px 34px; }
  .sec { padding-block: 54px; }
  .sec-tight { padding-block: 22px 48px; }
  .p-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .why-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .flow-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .testi-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .gal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .form-grid { grid-template-columns: minmax(0, 1fr); gap: 13px; }
  .order-form { padding: 20px; }
  .order-sec { padding-block: 46px; }
  .foot-in { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .foot-col:last-child { grid-column: auto; }
  .foot-bottom { flex-direction: column; align-items: flex-start; }
  .split-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .sukses-card { padding: 30px 20px; }
  .sukses-detail div { flex-direction: column; gap: 2px; }
  .kpi-grid, .kpi-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .kpi { padding: 14px; }
  .k-value { font-size: 1.3rem; }
  .panel { padding: 16px; border-radius: 15px; }
  .quick-grid { grid-template-columns: minmax(0, 1fr); }
  .gal-admin { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .img-row { flex-direction: column; }
  .img-preview { width: 100%; height: 140px; flex-basis: 140px; }
  .tbl thead { display: none; }
  .tbl, .tbl tbody, .tbl tr, .tbl td { display: block; width: 100%; }
  .tbl tr { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; margin-bottom: 10px; }
  .tbl td { border: 0; padding: 5px 0; display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
  .tbl td::before {
    content: attr(data-label); flex: 0 0 auto; font-size: .7rem; letter-spacing: .06em;
    text-transform: uppercase; color: var(--muted); font-weight: 700; padding-top: .12rem;
  }
  .tbl td[data-label=""]::before, .tbl td:not([data-label])::before { content: none; }
  .tbl td.col-actions, .tbl td.cell-actions { justify-content: flex-end; }
  .tbl td.col-actions::before, .tbl td.cell-actions::before { display: none; }
  .cell-note { max-width: none; text-align: right; }
  .danger-zone { flex-direction: column; align-items: flex-start; }
  .add-img-grid { grid-template-columns: minmax(0, 1fr); }
  .detail-thumbs { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .auth-form-side { padding: 28px 18px; align-items: start; }
}

@media (max-width: 560px) {
  .wrap { padding-inline: 18px; }
  .brand-sub { display: none; }
  .hero-sticker { font-size: .68rem; padding: .55rem .75rem; left: 4px; bottom: 18px; }
  .hero-chip { display: none; }
  .hero-title { font-size: clamp(1.95rem, 8.8vw, 2.5rem); }
  .sec-title { font-size: clamp(1.45rem, 6.4vw, 2rem); }
  .btn-lg { padding: .9rem 1.3rem; font-size: .95rem; }
  .gal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gal-zoom { display: none; }
  .search-form { width: 100%; }
  .search-form input[type="search"] { flex: 1 1 auto; min-width: 0; }
  .filter-chips { gap: 6px; }
  .cat-chip { font-size: .8rem; padding: .45rem .75rem; }
  .sukses-detail { padding: 14px; }
  .img-manager { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .toggle-row { padding: 12px 13px; gap: 10px; }
  .toggle-ui { width: 38px; height: 22px; flex-basis: 38px; }
  .toggle-ui::after { width: 16px; height: 16px; }
  .toggle-row input:checked ~ .toggle-ui::after { transform: translateX(16px); }
  .admin-top { flex-wrap: wrap; }
  .top-title h1 { font-size: 1.06rem; }
  .top-title p { display: none; }
  .top-actions .btn span.hide-sm { display: none; }
  .tabs { gap: 4px; }
  .tab { padding: .5rem .65rem; font-size: .78rem; }
}

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