/* ==========================================================================
   Toko Sinar Jaya — tampilan editorial
   Palet: krem hangat, hijau tua, aksen emas. Tipografi: serif untuk judul,
   sans geometris untuk teks. Semua gaya lama tetap dipertahankan kelasnya.
   ========================================================================== */

:root {
    --cream: #f4f2e9;
    --cream-2: #eeebdd;
    --paper: #fffdf6;
    --ink: #2a332b;
    --muted: #7d8678;
    --line: #ded9c7;
    --line-soft: #ebe7d9;

    --green: #2f4a37;
    --green-deep: #22362a;
    --green-soft: #e7ecdf;
    --green-tint: #eef2e6;

    --amber: #b08d4f;
    --amber-dark: #8f7238;
    --gold: #b08d4f;
    --red: #a33b2b;
    --blue: #46697d;
    --navy: #2f4a37;
    --navy-2: #22362a;

    --radius: 3px;
    --radius-lg: 4px;
    --shadow: 0 1px 2px rgba(42, 51, 43, .04);
    --shadow-soft: 0 18px 40px rgba(42, 51, 43, .08);

    --serif: "Playfair Display", "Iowan Old Style", Georgia, "Times New Roman", serif;
    --sans: "Manrope", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    font-family: var(--sans);
    color: var(--ink);
    background: var(--cream);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: none; }
h1, h2, h3 { color: var(--ink); line-height: 1.15; margin: 0 0 .5rem; font-family: var(--serif); font-weight: 500; }
h1 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
h2 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); }
h3 { font-size: 1.1rem; }
img { max-width: 100%; }
code { background: var(--green-tint); padding: .1rem .35rem; border-radius: 2px; font-size: .85em; }
strong { font-weight: 700; }

.container { width: min(1240px, 92vw); margin: 0 auto; }
.container-narrow { width: min(520px, 94vw); margin: 0 auto; }
.main { min-height: 60vh; padding-bottom: 0; }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1.25rem; }
.mb-1 { margin-bottom: .75rem; }
.muted { color: var(--muted); }
.small { font-size: .82rem; }
.center { text-align: center; }
.text-right { text-align: right; }
.plain-list { margin: .25rem 0; padding-left: 1.1rem; }
.small-list li { margin-bottom: .35rem; font-size: .88rem; }
.inline-form { display: inline-flex; gap: .5rem; align-items: center; margin: 0; }

/* --- Elemen label kecil khas editorial --- */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .7rem;
    color: var(--muted);
    font-size: .66rem;
    font-weight: 600;
    letter-spacing: .2em;
    text-transform: uppercase;
}
.eyebrow::before {
    content: "";
    width: 34px;
    height: 1px;
    background: currentColor;
    opacity: .55;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    background: transparent;
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: .72rem 1.35rem;
    font-family: var(--sans);
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .04em;
    cursor: pointer;
    transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.btn:hover { border-color: var(--green); color: var(--green); text-decoration: none; }
.btn-primary { background: var(--green); border-color: var(--green); color: #f7f5ec; }
.btn-primary:hover { background: var(--green-deep); border-color: var(--green-deep); color: #fff; transform: translateY(-1px); }
.btn-ghost { background: transparent; border-color: transparent; padding-left: 0; padding-right: 0; }
.btn-ghost:hover { border-color: transparent; }
.btn-sm { padding: .45rem .9rem; font-size: .74rem; }
.btn-block { display: flex; width: 100%; margin-top: .6rem; }
.btn-link {
    background: none; border: 0; color: var(--green); cursor: pointer;
    font-family: var(--sans); font-size: .82rem; padding: 0;
}
.btn-link.danger { color: var(--red); }
.btn-link:hover { text-decoration: underline; }

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--ink);
    border-bottom: 1px solid transparent;
    padding-bottom: .15rem;
}
.link-arrow:hover { border-color: var(--green); color: var(--green); }
.link-arrow svg { width: 14px; height: 14px; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
    background: var(--paper);
    border-bottom: 1px solid var(--line-soft);
    position: sticky;
    top: 0;
    z-index: 40;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.2rem;
    padding: .9rem 0;
    flex-wrap: nowrap;
}
.brand { display: flex; align-items: center; gap: .7rem; color: var(--ink); }
.brand-mark {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: var(--cream);
    color: var(--green);
    font-family: var(--serif);
    font-size: .95rem;
    letter-spacing: .02em;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-family: var(--serif); font-size: 1.22rem; font-weight: 500; letter-spacing: .01em; }
.brand-text small {
    color: var(--muted);
    font-size: .62rem;
    letter-spacing: .13em;
    text-transform: uppercase;
    margin-top: .15rem;
    white-space: nowrap;
}

.nav { display: flex; align-items: center; gap: 1.3rem; flex-wrap: nowrap; }
.nav a {
    color: var(--muted);
    font-size: .8rem;
    font-weight: 500;
    letter-spacing: .02em;
    padding: .3rem 0;
    white-space: nowrap;
    border-bottom: 1px solid transparent;
    transition: color .15s ease, border-color .15s ease;
}
.nav a:hover, .nav a.active { color: var(--ink); border-color: var(--green); }
.nav a.active { font-weight: 600; }
.nav-admin {
    border: 1px solid var(--line);
    border-color: var(--line) !important;
    padding: .25rem .7rem !important;
    border-radius: 999px;
    font-size: .68rem !important;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.inline-form .btn-link { color: var(--muted); }

.header-tools { display: flex; align-items: center; gap: .9rem; flex: none; }
.search-field {
    display: flex;
    align-items: center;
    gap: .5rem;
    border: 1px solid var(--line);
    background: var(--paper);
    border-radius: var(--radius);
    padding: .42rem .55rem .42rem .65rem;
    width: 190px;
    flex: none;
}
.search-field svg { width: 15px; height: 15px; color: var(--muted); flex: none; }
.search-input {
    border: 0;
    background: transparent;
    font-family: var(--sans);
    font-size: .8rem;
    color: var(--ink);
    width: 100%;
    outline: none;
}
.search-input::placeholder { color: #a7ad9f; }
.search-key {
    border: 1px solid var(--line);
    border-radius: 3px;
    color: var(--muted);
    font-size: .68rem;
    line-height: 1;
    padding: .22rem .38rem;
}
.tool-link {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    color: var(--ink);
    font-size: .8rem;
    font-weight: 500;
    white-space: nowrap;
}
.tool-link svg { width: 16px; height: 16px; }
.tool-link:hover { color: var(--green); }
.cart-count {
    display: inline-grid;
    place-items: center;
    min-width: 20px;
    height: 20px;
    padding: 0 .28rem;
    border-radius: 999px;
    background: var(--green);
    color: #f7f5ec;
    font-size: .66rem;
    font-weight: 700;
    margin-left: .1rem;
}

/* ==========================================================================
   Alerts
   ========================================================================== */
.alert {
    border-radius: var(--radius);
    padding: .8rem 1rem;
    margin: .9rem 0;
    font-size: .86rem;
    border: 1px solid;
    background: var(--paper);
}
.alert-success { background: #eef2e6; border-color: #cfdcc0; color: #35502c; }
.alert-error { background: #f9ece7; border-color: #e5c6bb; color: #7b2c1c; }
.alert-info { background: #eef1ec; border-color: #d4dcd0; color: #35502c; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
    background: var(--cream);
    border-bottom: 1px solid var(--line-soft);
    padding: clamp(2.4rem, 5vw, 4.4rem) 0 clamp(2.2rem, 4vw, 3.4rem);
}
.hero-inner {
    display: grid;
    grid-template-columns: 1.02fr .98fr;
    gap: clamp(1.5rem, 4vw, 3.5rem);
    align-items: center;
}
.hero-copy .eyebrow { margin-bottom: 1.1rem; }
.hero h1 {
    font-size: clamp(2.4rem, 4.9vw, 4rem);
    line-height: 1.04;
    letter-spacing: -.015em;
    margin: 0 0 1.15rem;
    max-width: 16ch;
}
.hero h1 em {
    display: block;
    font-style: italic;
    font-weight: 400;
    color: var(--green);
}
.lead {
    color: #5f6a5c;
    font-size: .97rem;
    line-height: 1.75;
    max-width: 44ch;
    margin: 0 0 1.6rem;
}
.hero-actions { display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; margin-bottom: 1.9rem; }
.hero-proof { display: flex; align-items: center; gap: 1.6rem; flex-wrap: wrap; }
.avatar-stack { display: flex; align-items: center; }
.avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid var(--cream);
    background: var(--green-tint);
    color: var(--green);
    display: grid;
    place-items: center;
    font-size: .66rem;
    font-weight: 700;
    margin-left: -9px;
}
.avatar:first-child { margin-left: 0; }
.proof-text { display: flex; flex-direction: column; line-height: 1.35; }
.proof-text strong { font-size: .8rem; font-weight: 600; }
.proof-text span { font-size: .72rem; color: var(--muted); }
.hero-rating { display: flex; align-items: center; gap: .5rem; font-size: .76rem; color: var(--muted); }
.hero-rating .stars { color: var(--amber); }

.hero-visual { position: relative; display: grid; place-items: center; min-height: 380px; }
.cover-frame {
    position: relative;
    width: min(100%, 460px);
    aspect-ratio: 1;
    border-radius: 50%;
    background:
        radial-gradient(circle at 50% 45%, #fbfaf1 0%, #f1efe2 52%, #eae7d6 100%);
    display: grid;
    place-items: center;
    overflow: hidden;
}
.cover-frame::after {
    content: "";
    position: absolute;
    inset: 12%;
    border: 1px solid rgba(47, 74, 55, .12);
    border-radius: 50%;
}
.cover-frame img {
    position: relative;
    z-index: 1;
    width: 58%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 24px 40px rgba(42, 51, 43, .16);
}
.float-card {
    position: absolute;
    z-index: 2;
    background: var(--paper);
    border: 1px solid var(--line-soft);
    border-radius: 4px;
    box-shadow: var(--shadow-soft);
    padding: .65rem .9rem;
    display: flex;
    align-items: center;
    gap: .6rem;
    font-size: .74rem;
    max-width: 210px;
}
.float-card svg { width: 16px; height: 16px; color: var(--green); flex: none; }
.float-card strong { display: block; font-size: .76rem; font-weight: 600; }
.float-card span { color: var(--muted); font-size: .68rem; }
.float-card--left { left: -14px; bottom: 16%; }
.float-card--right { right: -18px; top: 22%; }
.hero-index {
    position: absolute;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    gap: .7rem;
    font-size: .62rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--muted);
}
.hero-index span {
    display: inline-block;
    width: 54px;
    height: 1px;
    background: var(--line);
}

/* Kotak statistik lama tetap didukung */
.hero-stats { display: grid; gap: .8rem; }
.stat-card {
    background: rgba(255, 255, 255, .55);
    border: 1px solid var(--line-soft);
    border-radius: var(--radius);
    padding: .85rem 1.05rem;
    display: flex;
    flex-direction: column;
}
.stat-card strong { font-family: var(--serif); font-size: 1.4rem; color: var(--green); }
.stat-card span { color: var(--muted); font-size: .8rem; }

/* ==========================================================================
   Trust bar
   ========================================================================== */
.trust-bar {
    background: var(--paper);
    border-bottom: 1px solid var(--line-soft);
    padding: 1.15rem 0;
}
.trust-inner {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.6rem;
    align-items: center;
}
.trust-item { display: flex; align-items: center; gap: .65rem; }
.trust-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid var(--line);
    display: grid;
    place-items: center;
    color: var(--green);
    flex: none;
}
.trust-icon svg { width: 15px; height: 15px; }
.trust-item strong { display: block; font-size: .76rem; font-weight: 600; line-height: 1.35; }
.trust-item span { font-size: .68rem; color: var(--muted); line-height: 1.45; display: block; }
.trust-cta {
    border-left: 1px solid var(--line-soft);
    padding-left: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: .1rem;
}
.trust-cta small {
    font-size: .64rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--muted);
}
.trust-cta strong { font-family: var(--serif); font-size: 1.1rem; font-weight: 500; }

/* ==========================================================================
   Sections
   ========================================================================== */
.section { margin-top: clamp(2.6rem, 5vw, 4.2rem); }
.section:last-child { margin-bottom: 3rem; }
.section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}
.section-head .eyebrow { margin-bottom: .8rem; }
.section-title {
    font-size: clamp(1.85rem, 3.2vw, 2.7rem);
    line-height: 1.1;
    margin: 0 0 .55rem;
}
.section-title em { font-style: italic; font-weight: 400; color: var(--green); }
.section-sub {
    color: var(--muted);
    font-size: .84rem;
    line-height: 1.7;
    max-width: 52ch;
    margin: 0;
}
.section-aside { display: flex; align-items: center; gap: .8rem; font-size: .78rem; color: var(--muted); }

.page-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1.2rem;
    margin: 2.2rem 0 1.4rem;
    flex-wrap: wrap;
}
.page-head h1 { margin-bottom: .35rem; }
.page-head h1 em { font-style: italic; font-weight: 400; color: var(--green); }
.page-head .lead { margin: .55rem 0 0; font-size: .88rem; }
.page-actions { display: flex; gap: .6rem; align-items: center; flex-wrap: wrap; }
.breadcrumb { margin: 1.6rem 0 .8rem; font-size: .76rem; color: var(--muted); letter-spacing: .04em; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--green); }

.meta-row {
    display: flex;
    align-items: center;
    gap: .9rem;
    flex-wrap: wrap;
    color: var(--muted);
    font-size: .76rem;
}

/* Tabs koleksi */
.collection-tabs {
    display: flex;
    align-items: center;
    gap: 1.6rem;
    border-bottom: 1px solid var(--line);
    margin: 0 0 1.6rem;
    flex-wrap: wrap;
}
.tab {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .7rem 0;
    font-size: .8rem;
    color: var(--muted);
    border-bottom: 1px solid transparent;
    margin-bottom: -1px;
}
.tab:hover { color: var(--ink); }
.tab.is-active { color: var(--ink); font-weight: 600; border-color: var(--green); }
.tab .count { color: var(--muted); font-size: .72rem; }

/* ==========================================================================
   Grid & cards
   ========================================================================== */
.grid { display: grid; gap: 1.35rem; }
.grid > * { min-width: 0; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }

.card {
    background: var(--paper);
    border: 1px solid var(--line-soft);
    border-radius: var(--radius);
    padding: 1.3rem;
    box-shadow: none;
    min-width: 0;
}

/* Kartu produk */
.product-card {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: transparent;
    border: 0;
}
.product-card .thumb {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1.05;
    background: linear-gradient(170deg, #f7f5ea, #eae7d8);
    border: 1px solid var(--line-soft);
    border-radius: 3px;
    overflow: hidden;
}
.product-card .thumb::after {
    content: "";
    position: absolute;
    inset: 18%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, .85), rgba(255, 255, 255, 0) 70%);
    pointer-events: none;
}
.product-card .thumb img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .35s ease;
}
.product-card:hover .thumb img { transform: scale(1.03); }
.product-card .card-body {
    padding: .85rem .15rem 0;
    display: flex;
    flex-direction: column;
    gap: .18rem;
    flex: 1;
}
.card-kicker {
    font-size: .64rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--muted);
}
.card-title { font-size: 1.02rem; margin: .12rem 0 0; font-family: var(--serif); font-weight: 500; }
.card-title a { color: var(--ink); }
.card-title a:hover { color: var(--green); }
.card-meta {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: .6rem;
    margin-top: .45rem;
}
.price { color: var(--ink); font-weight: 700; font-size: .93rem; font-family: var(--sans); }
.price-lg { font-family: var(--serif); font-size: 2rem; font-weight: 500; color: var(--green); margin: .5rem 0 .2rem; }
.price-row { display: flex; justify-content: space-between; align-items: center; gap: .5rem; margin-top: auto; padding-top: .6rem; }
.card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .6rem;
    margin-top: .65rem;
    padding-top: .55rem;
    border-top: 1px solid var(--line-soft);
    font-size: .7rem;
    color: var(--muted);
}
.availability { display: inline-flex; align-items: center; gap: .35rem; }
.availability::before {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #7f9469;
    display: inline-block;
}
.availability.is-out::before { background: var(--red); }
.quick-add {
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border: 1px solid var(--line);
    border-radius: 3px;
    color: var(--ink);
    font-size: 1rem;
    line-height: 1;
    transition: .15s ease;
}
.quick-add:hover { background: var(--green); border-color: var(--green); color: #f7f5ec; }
.level-tag {
    position: absolute;
    top: .55rem;
    right: .55rem;
    z-index: 2;
    background: var(--green);
    color: #f7f5ec;
    font-size: .58rem;
    font-weight: 700;
    letter-spacing: .12em;
    padding: .2rem .5rem;
    border-radius: 2px;
}
.level-sd { background: #3f5f3f; }
.level-smp { background: #46697d; }
.level-sma { background: #8f7238; }
.level-umum { background: #6f7468; }
.card-flag {
    position: absolute;
    top: .55rem;
    left: .55rem;
    z-index: 2;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: .16rem .55rem;
    font-size: .62rem;
    font-weight: 600;
    color: var(--ink);
}
.stock-flag {
    position: absolute;
    right: .6rem;
    bottom: .6rem;
    z-index: 2;
    font-size: .58rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #8b907f;
}

.rating-line { display: flex; align-items: center; gap: .35rem; font-size: .76rem; }
.stars { color: var(--amber); font-weight: 700; }

/* ==========================================================================
   Chips & badges
   ========================================================================== */
.chip-row { display: flex; flex-wrap: wrap; gap: .45rem; }
.chip {
    display: inline-flex;
    align-items: center;
    background: var(--paper);
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: .28rem .8rem;
    font-size: .74rem;
    font-weight: 500;
}
.chip-link:hover { background: var(--green); color: #f7f5ec; border-color: var(--green); }
.chip-predicted { background: var(--green-tint); border-color: #d4dfc4; color: #35502c; }
.chip-sold { background: #f7f1e2; border-color: #e5d9bd; color: #7a5f22; }
.badge {
    display: inline-block;
    border-radius: 999px;
    padding: .16rem .6rem;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .04em;
}
.badge-pending { background: #f7f1e2; color: #7a5f22; }
.badge-processed { background: #eaf0f3; color: #3a5b6c; }
.badge-completed { background: var(--green-tint); color: #35502c; }
.badge-cancelled { background: #f9ece7; color: #7b2c1c; }

/* Note bar di bawah judul rekomendasi */
.note-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background: var(--green-tint);
    border: 1px solid #dde5d2;
    border-radius: var(--radius);
    padding: .6rem .9rem;
    font-size: .74rem;
    color: #45573c;
    margin-bottom: 1.2rem;
}
.note-bar-text { display: inline-flex; align-items: center; gap: .5rem; }
.note-bar-text svg { width: 14px; height: 14px; flex: none; }
.note-badge {
    font-size: .6rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--muted);
}

/* ==========================================================================
   Forms
   ========================================================================== */
.form-card h2 { margin-top: 0; }
.field-label {
    display: block;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--muted);
    margin: .9rem 0 .35rem;
}
.input {
    width: 100%;
    padding: .62rem .75rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    font-size: .88rem;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
}
.input:focus { outline: 2px solid rgba(47, 74, 55, .18); border-color: var(--green); }
.input-qty { width: 90px; }
.input-inline { display: inline-block; width: auto; min-width: 130px; }
.field-error { color: var(--red); font-size: .8rem; margin: .3rem 0 0; }
.check-row { display: flex; align-items: center; gap: .5rem; font-size: .86rem; margin-top: .9rem; color: var(--ink); }
.form-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 1.2rem; align-items: start; }
.variant-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .6rem; }
.variant-cell .input { text-align: center; }
.preview-img { max-height: 130px; border-radius: var(--radius); margin-top: .6rem; border: 1px solid var(--line); }
.auth-card h1 { margin-bottom: .2rem; }

.filter-bar {
    display: flex;
    gap: .6rem;
    flex-wrap: wrap;
    align-items: center;
    background: var(--paper);
    border: 1px solid var(--line-soft);
    border-radius: var(--radius);
    padding: .8rem;
    margin-bottom: 1.6rem;
}
.filter-bar .input {
    width: auto;
    min-width: 150px;
    flex: 1;
    background: var(--cream);
    border-color: transparent;
}
.filter-bar .input:focus { background: var(--paper); }
.filter-inline .input { width: auto; }
.filter-panel summary {
    cursor: pointer;
    list-style: none;
    font-size: .76rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--ink);
}

/* ==========================================================================
   Product detail
   ========================================================================== */
.product-detail {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: clamp(1.4rem, 3vw, 2.8rem);
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}
.product-media {
    background: linear-gradient(170deg, #f7f5ea, #eae7d8);
    border: 1px solid var(--line-soft);
    border-radius: 3px;
    overflow: hidden;
}
.product-media img { width: 100%; display: block; aspect-ratio: 1 / 1; object-fit: cover; }
.product-media .uniform-art { aspect-ratio: 1 / 1; height: auto; }
.product-info { display: flex; flex-direction: column; }
.product-desc { color: #5f6a5c; white-space: pre-line; font-size: .9rem; line-height: 1.75; }
.size-options { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: .3rem; }
.size-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 62px;
    padding: .5rem .6rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    cursor: pointer;
    background: var(--paper);
    transition: .12s;
}
.size-option input { position: absolute; opacity: 0; pointer-events: none; }
.size-option span { font-weight: 700; color: var(--ink); }
.size-option small { color: var(--muted); font-size: .7rem; }
.size-option:hover { border-color: var(--green); }
.size-option input:checked + span { color: var(--green); }
.size-option:has(input:checked) { border-color: var(--green); background: var(--green-tint); box-shadow: 0 0 0 1px var(--green) inset; }
.size-option.disabled { opacity: .45; cursor: not-allowed; }
.qty-row { display: flex; align-items: center; gap: .9rem; margin-top: 1.1rem; flex-wrap: wrap; }
.review-list { display: grid; gap: .8rem; }
.review-item { background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: .95rem 1.1rem; }
.review-head { display: flex; gap: .7rem; align-items: baseline; flex-wrap: wrap; }

/* ==========================================================================
   Cart & checkout
   ========================================================================== */
.cart-layout { display: grid; grid-template-columns: 1.8fr 1fr; gap: 1.4rem; align-items: start; }
.cart-items { display: grid; gap: .8rem; }
.cart-item { display: grid; grid-template-columns: 76px 1.6fr auto auto; gap: 1rem; align-items: center; }
.cart-item img { width: 76px; height: 60px; object-fit: contain; border-radius: 3px; background: var(--cream-2); }
.cart-item .uniform-art { width: 76px; height: 60px; border-radius: 3px; }
.cart-item-info { display: flex; flex-direction: column; }
.qty-form { display: flex; gap: .45rem; align-items: center; }
.cart-item-end { display: flex; flex-direction: column; align-items: flex-end; gap: .4rem; }
.cart-summary { position: sticky; top: 92px; }
.summary-row { display: flex; justify-content: space-between; gap: .8rem; padding: .5rem 0; border-bottom: 1px dashed var(--line); font-size: .86rem; }
.summary-row:last-of-type { border-bottom: 0; }
.summary-total { font-size: 1rem; font-weight: 700; }

/* ==========================================================================
   Tables
   ========================================================================== */
.table-wrap {
    overflow-x: auto;
    background: var(--paper);
    border: 1px solid var(--line-soft);
    border-radius: var(--radius);
}
.table-wrap.card { padding: 0; }
.table { width: 100%; border-collapse: collapse; font-size: .86rem; }
.table th, .table td {
    text-align: left;
    padding: .82rem 1.05rem;
    border-bottom: 1px solid var(--line-soft);
    vertical-align: middle;
}
.table th {
    background: var(--cream);
    color: var(--muted);
    font-size: .64rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .14em;
    border-bottom: 1px solid var(--line);
    white-space: nowrap;
}
.table tbody tr:hover { background: #faf8ee; }
.table tbody tr:last-child td { border-bottom: 0; }
/* Beri napas di sisi kiri/kanan tabel agar tidak menempel ke tepi kartu. */
.table th:first-child, .table td:first-child { padding-left: 1.4rem; }
.table th:last-child, .table td:last-child { padding-right: 1.4rem; }
.table td strong { font-weight: 600; }
.table tbody td { color: var(--ink); }
.table-foot {
    display: flex;
    align-items: center;
    gap: .8rem;
    flex-wrap: wrap;
    padding: .85rem 1.4rem;
    border-top: 1px solid var(--line-soft);
    background: var(--paper);
}
.cell-product { display: flex; align-items: center; gap: .6rem; }
.cell-product img { width: 42px; height: 34px; object-fit: contain; border-radius: 3px; background: var(--cream-2); }
.cell-product .uniform-art { width: 42px; height: 34px; flex: none; border-radius: 3px; }
.cell-actions { display: flex; gap: .55rem; align-items: center; white-space: nowrap; }
.review-cell { max-width: 320px; white-space: normal; }
.nowrap { white-space: nowrap; }
.stock-pill {
    display: inline-block;
    background: var(--green-tint);
    border-radius: 3px;
    padding: .06rem .3rem;
    font-size: .67rem;
    margin: 0 .1rem .15rem 0;
    color: #35502c;
    white-space: nowrap;
}
.stock-pill.out { background: #f9ece7; color: var(--red); }
/* Paginasi */
.pager { display: flex; align-items: center; flex-wrap: wrap; gap: .35rem; font-size: .78rem; color: var(--muted); }
.pager-info { margin-right: auto; font-size: .76rem; }
.pager-step, .pager-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 .6rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
    color: var(--ink);
    font-size: .76rem;
    font-weight: 600;
}
.pager-step:hover, .pager-num:hover { border-color: var(--green); color: var(--green); }
.pager-num.is-active { background: var(--green); border-color: var(--green); color: #f7f5ec; }
.pager-step.is-disabled { opacity: .42; }
.row-form { display: flex; gap: .5rem; }
.row-form .input-qty { padding: .38rem .55rem; font-size: .84rem; }
.row-form .btn-sm { padding: .36rem .85rem; }

/* ==========================================================================
   Admin shell — editorial
   ========================================================================== */
.admin-body { background: var(--cream); }
.admin-shell {
    display: grid;
    grid-template-columns: 258px minmax(0, 1fr);
    min-height: 100vh;
    background: linear-gradient(90deg, var(--paper) 258px, var(--cream) 258px);
}

.admin-sidebar {
    position: sticky;
    top: 0;
    align-self: start;
    height: 100vh;
    overflow-y: auto;
    background: var(--paper);
    border-right: 1px solid var(--line);
    padding: 1.5rem 1rem 1.2rem;
    display: flex;
    flex-direction: column;
    gap: .15rem;
}
.admin-brand {
    display: flex;
    align-items: center;
    gap: .65rem;
    padding: 0 .45rem 1.1rem;
    margin-bottom: .7rem;
    border-bottom: 1px solid var(--line-soft);
}
.admin-brand .brand-mark { width: 38px; height: 38px; font-size: .86rem; }
.admin-brand .brand-text strong { font-family: var(--serif); font-size: 1.02rem; font-weight: 500; color: var(--ink); }
.admin-brand .brand-text small { font-size: .57rem; letter-spacing: .17em; }
.admin-brand:hover .brand-text strong { color: var(--green); }

.admin-nav { display: flex; flex-direction: column; gap: .1rem; flex: 1; }
.admin-nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    padding: .5rem .7rem;
    border-radius: 3px;
    border-left: 2px solid transparent;
    color: #5f6a5c;
    font-size: .82rem;
    font-weight: 500;
    transition: background .15s ease, color .15s ease;
}
.admin-nav a:hover { background: var(--green-tint); color: var(--ink); }
.admin-nav a.active { background: var(--green); color: #f7f5ec; border-left-color: var(--green-deep); }
.sidebar-label {
    font-size: .58rem;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--muted);
    margin: 1.1rem .7rem .35rem;
}
.admin-sidebar-foot {
    border-top: 1px solid var(--line-soft);
    margin-top: 1.3rem;
    padding: .9rem .7rem 0;
    display: flex;
    flex-direction: column;
    gap: .55rem;
    font-size: .78rem;
}
.admin-sidebar-foot a { color: var(--ink); }
.admin-sidebar-foot a:hover { color: var(--green); }
.admin-sidebar-foot .btn-link { font-size: .78rem; color: var(--muted); text-align: left; }

.admin-content { min-width: 0; display: flex; flex-direction: column; }
.admin-topbar {
    position: sticky;
    top: 0;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .9rem clamp(1.1rem, 2.4vw, 2.2rem);
    background: rgba(244, 242, 233, .94);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid var(--line-soft);
}
.admin-topbar-title { display: flex; flex-direction: column; gap: .1rem; }
.admin-topbar-title .eyebrow { font-size: .58rem; }
.admin-topbar-title .eyebrow::before { width: 22px; }
.admin-topbar-title strong { font-family: var(--serif); font-size: 1rem; font-weight: 500; }
.admin-topbar-tools { display: flex; align-items: center; gap: 1rem; font-size: .78rem; flex: none; }
.admin-user { display: flex; align-items: center; gap: .5rem; color: var(--ink); }
.admin-user .avatar { width: 28px; height: 28px; margin: 0; border-color: var(--line-soft); }
.admin-topbar-tools .btn-link { color: var(--muted); }

.admin-main { padding: clamp(1.4rem, 2.6vw, 2.2rem) clamp(1.1rem, 2.4vw, 2.2rem) 3rem; flex: 1; }
.admin-main h1, .admin-main h2 { font-family: var(--serif); }
.admin-main .page-head { margin-top: 0; }
.admin-main .page-head h1 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); }
.admin-main .page-head p { margin: 0; font-size: .84rem; }

.admin-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin: 2.2rem 0 1rem;
    flex-wrap: wrap;
}
.admin-section-head h2 { margin: 0; font-size: 1.3rem; }
.admin-section-head p { margin: .25rem 0 0; font-size: .78rem; color: var(--muted); }
.admin-section-head .eyebrow { margin-bottom: .5rem; }

/* Kartu statistik */
.stat-grid { align-items: stretch; }
.stat {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: .1rem;
    background: var(--paper);
    border: 1px solid var(--line-soft);
    border-radius: var(--radius);
    padding: 1.1rem 1.25rem 1rem;
    overflow: hidden;
}
.stat::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--green);
    opacity: .5;
}
.stat-kicker {
    font-size: .61rem;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--muted);
}
.stat strong, .stat-value {
    font-family: var(--serif);
    font-size: 2.05rem;
    font-weight: 500;
    color: var(--ink);
    line-height: 1.15;
    margin-top: .3rem;
}
.stat-note { font-size: .72rem; color: var(--muted); }

.panel-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: .9rem;
    flex-wrap: wrap;
}
.panel-head h2 { margin: 0; font-size: 1.16rem; }
.panel-head p { margin: .2rem 0 0; font-size: .76rem; color: var(--muted); }

.status-line {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-size: .74rem;
    font-weight: 600;
    color: #35502c;
}
.status-line::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #7f9469;
}
.status-line.is-off { color: var(--red); }
.status-line.is-off::before { background: var(--red); }

/* ==========================================================================
   Dashboard widgets
   ========================================================================== */
.bar-chart { display: grid; gap: .45rem; }
.bar-row { display: grid; grid-template-columns: 34px 1fr 84px; align-items: center; gap: .5rem; font-size: .74rem; }
.bar-label { color: var(--muted); font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; }
.bar-track { background: var(--cream-2); border-radius: 2px; height: 9px; overflow: hidden; }
.bar-fill { height: 100%; background: linear-gradient(90deg, var(--green), #81976d); }
.bar-value { text-align: right; color: var(--muted); font-variant-numeric: tabular-nums; }
.rank-list { margin: 0; padding: 0; list-style: none; counter-reset: rank; }
.rank-list li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: .5rem 0;
    border-bottom: 1px solid var(--line-soft);
    font-size: .84rem;
    counter-increment: rank;
}
.rank-list li:last-child { border-bottom: 0; }
.rank-list li span::before {
    content: counter(rank, decimal-leading-zero);
    font-family: var(--serif);
    color: var(--muted);
    font-size: .76rem;
    margin-right: .6rem;
}
.dist-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: .5rem; }
.dist-item { background: var(--cream); border: 1px solid var(--line-soft); border-radius: 3px; padding: .55rem .4rem; text-align: center; }
.dist-item strong { display: block; font-family: var(--serif); font-size: 1.05rem; font-weight: 500; color: var(--ink); }
.dist-item span { font-size: .72rem; color: var(--muted); }
.category-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: .8rem;
    padding: .8rem 1rem;
    margin-bottom: .6rem;
    flex-wrap: wrap;
}
.category-form { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; flex: 1; }

/* Recommendation callout */
.callout { background: var(--green-tint); border-color: #dde5d2; }
.callout ol { margin: .4rem 0 0; }

/* Empty state */
.empty-state {
    background: var(--paper);
    border: 1px dashed var(--line);
    border-radius: var(--radius);
    padding: 2.6rem 1.5rem;
    text-align: center;
    color: var(--muted);
}
.empty-state .btn { margin-top: .8rem; }

/* ==========================================================================
   CTA banner
   ========================================================================== */
.cta-banner {
    background: var(--green);
    color: #eef1e4;
    border-radius: 3px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 2rem;
    align-items: center;
    padding: clamp(2rem, 4vw, 3.2rem);
    margin: clamp(2.6rem, 5vw, 4rem) 0 0;
    position: relative;
}
.cta-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 78% 30%, rgba(255, 255, 255, .07), transparent 45%),
        radial-gradient(circle at 20% 90%, rgba(255, 255, 255, .05), transparent 40%);
    pointer-events: none;
}
.cta-copy { position: relative; z-index: 1; }
.cta-copy .eyebrow { color: #c3cdb4; margin-bottom: 1rem; }
.cta-copy .eyebrow::before { background: #c3cdb4; }
.cta-copy h2 {
    color: #f7f5ec;
    font-size: clamp(1.8rem, 3.2vw, 2.6rem);
    line-height: 1.12;
    margin: 0 0 .9rem;
    max-width: 20ch;
}
.cta-copy h2 em { font-style: italic; font-weight: 400; color: #dfe4cf; display: block; }
.cta-copy p { color: #c9d2bd; font-size: .85rem; line-height: 1.75; max-width: 40ch; margin: 0 0 1.5rem; }
.cta-copy .btn { background: #f7f5ec; border-color: #f7f5ec; color: var(--green-deep); }
.cta-copy .btn:hover { background: #fff; color: var(--green-deep); }
.cta-media { position: relative; z-index: 1; display: grid; place-items: center; }
.cta-media img {
    width: 88%;
    max-width: 320px;
    transform: rotate(-3deg);
    border-radius: 4px;
    box-shadow: 0 24px 40px rgba(0, 0, 0, .28);
}
.cta-media .uniform-art {
    width: 88%;
    max-width: 320px;
    aspect-ratio: 4 / 3;
    height: auto;
    transform: rotate(-3deg);
    border-radius: 4px;
    box-shadow: 0 24px 40px rgba(0, 0, 0, .28);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    background: var(--cream);
    border-top: 1px solid var(--line);
    color: var(--muted);
    margin-top: clamp(2.6rem, 5vw, 4rem);
}
.footer-inner {
    display: grid;
    grid-template-columns: 1.1fr 1.2fr auto auto;
    gap: 1.6rem;
    padding: 2.2rem 0;
    align-items: center;
}
.footer-brand { display: flex; align-items: center; gap: .7rem; }
.footer-brand .brand-text strong { font-family: var(--serif); font-size: 1.05rem; color: var(--ink); }
.footer-brand .brand-text small { font-size: .6rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.footer-note { font-size: .78rem; line-height: 1.7; margin: 0; max-width: 40ch; }
.footer-links { display: flex; flex-direction: column; gap: .35rem; }
.footer-links a { color: var(--muted); font-size: .78rem; }
.footer-links a:hover { color: var(--green); }
.footer-meta { font-size: .72rem; text-align: right; line-height: 1.8; }
.footer-admin { display: inline-flex; align-items: center; gap: .4rem; font-size: .74rem; color: var(--ink); }
.footer-admin:hover { color: var(--green); }

/* Star input */
.star-input { display: flex; gap: .2rem; margin: .3rem 0 .6rem; }
.star-input .star { position: relative; cursor: pointer; font-size: 1.6rem; color: var(--line); }
.star-input .star input { position: absolute; opacity: 0; }
.star-input .star span { transition: .1s; }
.star-input .star.hovered span { color: var(--amber); }
.star-input .star input:checked ~ span { color: var(--amber); }
.star-input .star:has(input:checked) span { color: var(--amber); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1240px) {
    .header-inner { flex-wrap: wrap; }
    .header-tools { width: 100%; justify-content: space-between; }
    .search-field { width: auto; flex: 1; }
}

@media (max-width: 1280px) {
    .grid-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .search-field { width: 168px; }
    .nav { gap: 1rem; }
    .nav a { font-size: .76rem; }
}

@media (max-width: 1100px) {
    .grid-4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .footer-inner { grid-template-columns: 1fr 1fr; }
    .footer-meta { text-align: left; }
}

@media (max-width: 1000px) {
    .trust-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .trust-cta { border-left: 0; padding-left: 0; }
}

@media (max-width: 1080px) {
    .admin-shell { grid-template-columns: 1fr; }
    .admin-sidebar {
        position: static;
        height: auto;
        overflow: visible;
        border-right: 0;
        border-bottom: 1px solid var(--line);
        padding: .95rem 1.1rem;
    }
    .admin-brand { padding: 0 0 .8rem; margin-bottom: .5rem; }
    .admin-nav { flex-direction: row; flex-wrap: wrap; gap: .25rem; }
    .admin-nav a { border-left: 0; padding: .38rem .65rem; }
    .sidebar-label { display: none; }
    .admin-sidebar-foot { flex-direction: row; align-items: center; justify-content: space-between; margin-top: .7rem; padding-top: .7rem; }
    .admin-topbar { position: static; }
    .admin-shell { background: var(--cream); }
    .admin-main .table { min-width: 760px; }
    .admin-topbar-tools .tool-link, .admin-topbar-tools form { display: none; }
}

@media (max-width: 640px) {
    .admin-topbar-tools .admin-user span { display: none; }
    .admin-main { padding-bottom: 2rem; }
}

@media (max-width: 900px) {
    .header-inner { flex-wrap: wrap; }
    .nav { flex-wrap: wrap; }
    .header-tools { flex-wrap: wrap; flex: 1; justify-content: flex-end; }
    .hero-inner { grid-template-columns: 1fr; }
    .hero h1 { max-width: none; }
    .hero-visual { min-height: 320px; order: -1; }
    .float-card--left { left: 4%; bottom: 8%; }
    .float-card--right { right: 0; top: 8%; }
    .cta-banner { grid-template-columns: 1fr; }
    .cta-media { order: -1; }
    .cta-media img { max-width: 240px; }
    .cta-media .uniform-art { max-width: 240px; }
    .product-detail, .cart-layout, .form-grid, .grid-2 { grid-template-columns: 1fr; }
    .grid-4, .grid-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cart-summary { position: static; }
}

@media (max-width: 760px) {
    .header-inner { gap: .8rem; }
    .search-field { min-width: 0; flex: 1; order: 3; width: 100%; }
    .header-tools { flex-wrap: wrap; }
    .cart-item { grid-template-columns: 60px 1fr; }
    .cart-item-end { align-items: flex-start; grid-column: span 2; }
    .qty-form { grid-column: span 2; }
    .variant-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .footer-inner { grid-template-columns: 1fr; }
    .trust-inner { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
    .grid-4, .grid-5 { grid-template-columns: 1fr; }
    .nav { gap: 1rem; }
    .filter-bar .input { min-width: 100%; }
    .section-head { align-items: flex-start; }
}

/* ==========================================================================
   Ilustrasi seragam (SVG)
   ========================================================================== */
.uniform-art {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    width: 100%;
    height: 100%;
    padding: 7%;
    overflow: hidden;
    background: linear-gradient(170deg, #f7f5ea, #eae7d8);
    color: var(--muted);
}
.uniform-art .art-halo {
    position: absolute;
    inset: 8%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, .92), rgba(255, 255, 255, 0) 68%);
}
.uniform-art .uniform-svg {
    position: relative;
    z-index: 1;
    display: block;
    width: 76%;
    height: auto;
    max-height: 72%;
    transition: transform .35s ease;
}
.uniform-art .art-level {
    position: relative;
    z-index: 1;
    font-size: .56rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--muted);
    white-space: nowrap;
}
.uniform-art-compact { padding: 3%; gap: 0; }
.uniform-art-compact .uniform-svg { width: 100%; max-height: 100%; }
.uniform-art-compact .art-level { display: none; }

.product-card .thumb .uniform-art { position: absolute; inset: 0; height: auto; }
.product-card:hover .thumb .uniform-svg { transform: scale(1.04); }

.cover-frame .uniform-art {
    width: 68%;
    height: auto;
    aspect-ratio: 1 / 1;
    padding: 5%;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 45%, #fbfaf1 0%, #f1efe2 52%, #eae7d6 100%);
    box-shadow: 0 24px 40px rgba(42, 51, 43, .16);
}
.cover-frame .uniform-art .uniform-svg { width: 88%; }
.cover-frame .uniform-art .art-level { display: none; }

/* Foto unggahan admin menggantikan ilustrasi dan mengisi bingkai yang sama. */
.uniform-art-photo,
.uniform-art-photo.uniform-art-compact { padding: 0; background: var(--cream-2); }
.uniform-art-photo .uniform-photo {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
}
.cover-frame .uniform-art-photo {
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    padding: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

@media (max-width: 760px) {
    .cart-item .uniform-art { width: 60px; height: 48px; }
}

/* ==========================================================================
   Katalog multi-merk & varian warna (gaya marketplace)
   ========================================================================== */
.card-brand-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .4rem;
    flex-wrap: wrap;
}
.brand-pill {
    display: inline-flex;
    align-items: center;
    padding: .12rem .5rem;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--cream);
    font-size: .62rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #4a5a46;
    white-space: nowrap;
}
a.brand-pill:hover { background: var(--green); color: #f7f5ec; border-color: var(--green); }
.product-brand-row {
    display: flex;
    align-items: center;
    gap: .6rem;
    flex-wrap: wrap;
    margin-bottom: .25rem;
}
.color-dots {
    display: flex;
    align-items: center;
    gap: .28rem;
    flex-wrap: wrap;
    margin-top: .4rem;
}
.color-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1px solid rgba(38, 58, 51, .28);
    display: inline-block;
    vertical-align: middle;
    flex: none;
}
.color-more { font-size: .66rem; color: var(--muted); }
.color-dots-label { font-size: .66rem; color: var(--muted); margin-left: .1rem; }

.picker-block { margin-bottom: .5rem; }
.picker-value { color: var(--ink); text-transform: none; letter-spacing: 0; }
.color-options {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
    margin-top: .4rem;
}
.color-option {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .4rem .65rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
    cursor: pointer;
    font-size: .8rem;
    transition: .12s;
}
.color-option input { position: absolute; opacity: 0; pointer-events: none; }
.color-option:hover { border-color: var(--green); }
.color-option:has(input:checked) {
    border-color: var(--green);
    background: var(--green-tint);
    box-shadow: 0 0 0 1px var(--green) inset;
}
.color-option.is-out { opacity: .45; cursor: not-allowed; }
.color-option:has(input:disabled) { cursor: not-allowed; }
.color-option small { color: var(--muted); font-size: .68rem; }
.color-swatch {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 1px solid rgba(38, 58, 51, .28);
    flex: none;
}
.size-option.is-hidden { display: none; }
.is-hidden { display: none; }

.variant-table-wrap { overflow-x: auto; margin-top: .6rem; }
.variant-table th, .variant-table td { padding: .4rem; }
.variant-table .input { min-width: 64px; text-align: center; }
.variant-color-check { margin-top: 0; font-size: .8rem; }

@media (max-width: 640px) {
    .color-option small { display: none; }
}
