/* ============================================================
   iTech Design System — monochrome + sky accent
   Prototype stylesheet. Plain CSS, no build step.
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
    --ink: #0a0a0a;
    --ink-2: #202429;
    --paper: #ffffff;
    --surface: #f4f6f7;
    --surface-2: #eef1f3;
    --line: #e4e7e9;
    --line-strong: #c9ced3;
    --muted: #6b7178;
    --muted-dark: #51575e;

    --accent: #8fd8f8;
    --accent-strong: #4db8ec;
    --accent-deep: #0e7bb8;
    --accent-soft: #e8f7fe;

    --danger: #d1483b;
    --wish: #e11d48;

    --radius-s: 12px;
    --radius-m: 18px;
    --radius-l: 24px;
    --radius-pill: 999px;

    --shadow-1:
        0 1px 2px rgba(10, 10, 10, 0.05),
        0 8px 24px -14px rgba(10, 10, 10, 0.18);
    --shadow-2:
        0 2px 4px rgba(10, 10, 10, 0.06),
        0 18px 40px -20px rgba(10, 10, 10, 0.28);
    --shadow-float:
        0 4px 12px rgba(10, 10, 10, 0.1),
        0 24px 48px -20px rgba(10, 10, 10, 0.3);

    --font-display:
        "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
    --container: 1280px;
    --gutter: clamp(16px, 4vw, 28px);
    --header-h: 76px;
    --section-space: clamp(64px, 7vw, 112px);

    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-snap: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Reset & base ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 24px);
}

body {
    margin: 0;
    font-family: var(--font-display);
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: var(--accent-deep);
    text-decoration: none;
    transition: color 160ms var(--ease-out);
}

a:hover {
    color: var(--ink);
}

button,
input,
select,
textarea {
    font: inherit;
    color: inherit;
}

button {
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
}

ul,
ol,
dl {
    margin: 0;
    padding: 0;
    list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    line-height: 1.16;
    letter-spacing: -0.03em;
    font-weight: 800;
    text-wrap: balance;
}

p {
    margin: 0;
}

address {
    font-style: normal;
}

::selection {
    background: var(--accent);
    color: var(--ink);
}

:focus-visible {
    outline: 2px solid var(--accent-deep);
    outline-offset: 2px;
}

/* Scrollbars */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--line-strong) transparent;
}
*::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}
*::-webkit-scrollbar-thumb {
    background: var(--line-strong);
    border-radius: 8px;
    border: 2px solid var(--paper);
}
*::-webkit-scrollbar-track {
    background: transparent;
}

/* ---------- Layout utilities ---------- */
.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.section {
    padding-block: var(--section-space);
}

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: clamp(28px, 4vw, 44px);
}

.section-title {
    font-size: clamp(1.55rem, 2.6vw, 2.1rem);
}

.section-sub {
    color: var(--muted);
    margin-top: 8px;
    max-width: 56ch;
}

.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;
}

.js .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition:
        opacity 620ms var(--ease-out),
        transform 620ms var(--ease-out);
}
.js .reveal.is-visible {
    opacity: 1;
    transform: none;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 8px;
    z-index: 200;
    background: var(--ink);
    color: #fff;
    padding: 10px 18px;
    border-radius: var(--radius-pill);
}
.skip-link:focus {
    left: 8px;
}

/* ---------- Buttons & forms ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    height: 48px;
    padding: 0 26px;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 15px;
    border: 1px solid transparent;
    transition:
        transform 160ms var(--ease-out),
        background 160ms var(--ease-out),
        border-color 160ms var(--ease-out),
        box-shadow 160ms var(--ease-out);
    white-space: nowrap;
}

.btn:active {
    transform: scale(0.97);
}

.btn-dark {
    background: var(--accent);
    color: var(--ink);
}
.btn-dark:hover {
    background: var(--accent-strong);
    color: var(--ink);
}
/* Membership band sudah berwarna accent: tombol utama pakai biru tua agar kontras */
.membership-actions .btn-dark {
    background: var(--accent-deep);
    color: #fff;
}
.membership-actions .btn-dark:hover {
    background: #0a5f8f;
    color: #fff;
}

.btn-accent {
    background: var(--accent);
    color: var(--ink);
}
.btn-accent:hover {
    background: var(--accent-strong);
    color: var(--ink);
}

.btn-ghost {
    background: transparent;
    color: var(--accent-deep);
    border-color: var(--line-strong);
}
.btn-ghost:hover {
    border-color: var(--accent-deep);
    background: var(--accent-soft);
    color: var(--accent-deep);
}

.btn-light {
    background: #fff;
    color: var(--accent-deep);
}
.btn-light:hover {
    background: var(--surface);
    color: var(--accent-deep);
}

.btn-outline-light {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.55);
}
.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: #fff;
    color: #fff;
}

.btn-lg {
    height: 56px;
    padding: 0 34px;
    font-size: 16px;
}

.btn-sm {
    height: 38px;
    padding: 0 18px;
    font-size: 13.5px;
}

.btn-block {
    width: 100%;
}

.btn[disabled] {
    opacity: 0.5;
    pointer-events: none;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    font-size: 14.5px;
    color: var(--ink);
    border-bottom: 1.5px solid var(--line-strong);
    padding-bottom: 2px;
    transition:
        border-color 160ms var(--ease-out),
        color 160ms var(--ease-out);
}
.text-link:hover {
    border-color: var(--ink);
    color: var(--ink);
}

.pill-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    border-radius: var(--radius-pill);
    background: var(--surface);
    font-weight: 600;
    font-size: 14px;
    color: var(--ink);
    transition:
        background 160ms var(--ease-out),
        border-color 160ms var(--ease-out);
    border: 1px solid transparent;
}
.pill-link:hover {
    background: var(--accent-soft);
    border-color: var(--accent);
    color: var(--ink);
}

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 11px;
    border-radius: var(--radius-pill);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
}
.badge-dark {
    background: var(--ink);
    color: #fff;
}
.badge-accent {
    background: var(--accent);
    color: var(--ink);
}
.badge-soft {
    background: var(--accent-soft);
    color: var(--accent-deep);
}
.badge-outline {
    border: 1px solid var(--line-strong);
    color: var(--muted-dark);
    background: transparent;
}
.badge-updated {
    background: var(--accent-deep);
    color: #fff;
}
.badge-danger {
    background: var(--danger);
    color: #fff;
}

/* Form fields */
.field {
    display: grid;
    gap: 7px;
}
.field label {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--muted-dark);
}
.field input,
.field select,
.field textarea {
    height: 48px;
    padding: 0 16px;
    border: 1.5px solid var(--line-strong);
    border-radius: var(--radius-s);
    background: #fff;
    transition:
        border-color 160ms var(--ease-out),
        box-shadow 160ms var(--ease-out);
    width: 100%;
}
.field textarea {
    height: auto;
    padding-block: 12px;
    resize: vertical;
}
.field input::placeholder,
.field textarea::placeholder {
    color: #9aa0a6;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--accent-deep);
    box-shadow: 0 0 0 3px rgba(14, 123, 184, 0.14);
}

/* ---------- Announcement bar ---------- */
.announcement {
    background: var(--ink);
    color: #fff;
    font-size: 13.5px;
    height: 38px;
}
.announcement-inner {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 100%;
}
.announcement-track {
    position: relative;
    flex: 1;
    overflow: hidden;
    height: 100%;
}
.announcement-item {
    position: absolute;
    inset: 0 auto 0 0;
    display: flex;
    align-items: center;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    opacity: 0;
    transform: translateY(8px);
    transition:
        opacity 320ms var(--ease-out),
        transform 320ms var(--ease-out);
    pointer-events: none;
}
.announcement-item.is-active {
    opacity: 1;
    transform: none;
}
.announcement-arrow {
    color: rgba(255, 255, 255, 0.75);
    display: grid;
    place-items: center;
    padding: 6px;
    border-radius: 8px;
    transition:
        background 150ms var(--ease-out),
        color 150ms var(--ease-out);
}
.announcement-arrow:hover {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
}
.announcement-locale {
    color: rgba(255, 255, 255, 0.65);
    font-size: 12.5px;
    padding-left: 12px;
    border-left: 1px solid rgba(255, 255, 255, 0.22);
    white-space: nowrap;
}

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 120;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
    transition: box-shadow 220ms var(--ease-out);
}
.site-header.is-scrolled {
    box-shadow: 0 6px 24px -18px rgba(10, 10, 10, 0.35);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    height: var(--header-h);
}

.brand {
    display: inline-flex;
    flex-direction: column;
    line-height: 1;
    flex-shrink: 0;
}
.brand-logo {
    display: block;
    width: auto;
    height: 30px;
    max-width: 110px;
    object-fit: contain;
    align-self: flex-start;
}
.mobile-menu .brand-logo {
    height: 28px;
}
.brand-logo--plate {
    height: 24px;
    padding: 5px 9px;
    background: #fff;
    border-radius: 8px;
    box-sizing: content-box;
}
.brand-word {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.045em;
    color: var(--ink);
}
.brand-dot {
    display: inline-block;
    width: 9px;
    height: 9px;
    margin-left: 2px;
    border-radius: 50%;
    background: var(--accent-strong);
    vertical-align: 4px;
}
.brand-sub {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--muted);
    margin-top: 3px;
}
.brand-light .brand-word {
    color: #fff;
}

.primary-nav {
    display: flex;
    gap: 6px;
    align-items: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}
.nav-link {
    position: relative;
    padding: 9px 15px;
    font-weight: 600;
    font-size: 15px;
    color: var(--ink);
    border-radius: var(--radius-pill);
    transition:
        background 160ms var(--ease-out),
        color 160ms var(--ease-out);
}
.nav-link::after {
    content: "";
    position: absolute;
    left: 15px;
    right: 15px;
    bottom: 3px;
    height: 2px;
    border-radius: 2px;
    background: var(--accent-strong);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 200ms var(--ease-out);
}
.nav-link:hover {
    background: var(--surface);
}
.nav-link:hover::after,
.nav-link.is-active::after {
    transform: scaleX(1);
}
.nav-link.is-active {
    color: var(--ink);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}
.store-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    font-size: 14px;
    padding: 10px 14px;
    border-radius: var(--radius-pill);
    color: var(--ink);
    transition: background 160ms var(--ease-out);
}
.store-link:hover {
    background: var(--surface);
}
.icon-button {
    position: relative;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    color: var(--ink);
    transition:
        background 160ms var(--ease-out),
        color 160ms var(--ease-out);
}
.icon-button:hover {
    background: var(--surface);
    color: var(--ink);
}
.cart-count {
    position: absolute;
    top: 2px;
    right: 0;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: var(--radius-pill);
    background: var(--accent-deep);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    display: grid;
    place-items: center;
}
.menu-toggle {
    display: none;
}

/* ---------- Search overlay ---------- */
.search-overlay {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(10, 10, 10, 0.4);
    backdrop-filter: blur(4px);
    display: grid;
    place-items: start center;
    padding: 9vh var(--gutter) 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 240ms var(--ease-out);
}
.search-overlay.is-open {
    opacity: 1;
    pointer-events: auto;
}
.search-overlay-inner {
    width: 100%;
    max-width: 720px;
    background: #fff;
    border-radius: var(--radius-l);
    padding: 50px 24px 24px;
    box-shadow: var(--shadow-float);
    position: relative;
    transform: translateY(-14px);
    transition: transform 260ms var(--ease-snap);
}
.search-overlay.is-open .search-overlay-inner {
    transform: none;
}
.search-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--surface);
    color: var(--ink);
    cursor: pointer;
}
.search-close:hover {
    background: var(--surface);
    color: var(--ink);
}
.search-form {
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1.5px solid var(--line-strong);
    border-radius: var(--radius-pill);
    padding: 6px 6px 6px 18px;
    transition:
        border-color 160ms var(--ease-out),
        box-shadow 160ms var(--ease-out);
}
.search-form:focus-within {
    border-color: var(--accent-deep);
    box-shadow: 0 0 0 3px rgba(14, 123, 184, 0.14);
}
.search-form > svg {
    color: var(--muted);
    flex-shrink: 0;
}
.search-form input {
    flex: 1;
    border: none;
    outline: none;
    height: 44px;
    background: transparent;
}

/* ---------- Mobile menu ---------- */
.menu-scrim {
    position: fixed;
    inset: 0;
    z-index: 180;
    background: rgba(10, 10, 10, 0.45);
    backdrop-filter: blur(3px);
    opacity: 0;
    transition: opacity 240ms var(--ease-out);
}
.menu-scrim.is-open {
    opacity: 1;
}
.mobile-menu {
    position: fixed;
    inset: 0 auto 0 0;
    width: min(360px, 92vw);
    z-index: 190;
    background: #fff;
    display: flex;
    flex-direction: column;
    transform: translateX(-100%);
    transition: transform 320ms var(--ease-snap);
    box-shadow: var(--shadow-float);
    border-right: 1px solid var(--line);
}
.mobile-menu.is-open {
    transform: none;
}
.mobile-menu-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px var(--gutter);
    border-bottom: 1px solid var(--line);
}
.mobile-menu-nav {
    padding: 12px var(--gutter);
    display: grid;
}
.mobile-menu-nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 4px;
    font-size: 17px;
    font-weight: 700;
    color: var(--ink);
    border-bottom: 1px solid var(--line);
}
.mobile-menu-nav a.is-active {
    color: var(--accent-deep);
}
.mobile-menu-section {
    padding: 18px var(--gutter) 0;
    overflow-y: auto;
}
.mobile-menu-label {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
}
.mobile-cat-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px 16px;
    padding-block: 12px 20px;
}
.mobile-cat-list a {
    padding: 7px 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--muted-dark);
}
.mobile-menu-foot {
    margin-top: auto;
    padding: 20px var(--gutter) calc(20px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    display: grid;
    gap: 14px;
    background: var(--surface);
}

/* ---------- Mobile toolbar (bottom) ---------- */
.mobile-toolbar {
    display: none;
}
@media (max-width: 900px) {
    .mobile-toolbar {
        position: fixed;
        inset: auto 0 0 0;
        z-index: 120;
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        align-items: center;
        background: #fff;
        border-top: 1px solid var(--line);
        padding-bottom: env(safe-area-inset-bottom);
        box-shadow: 0 -8px 24px rgba(10, 10, 10, 0.06);
    }
    .mobile-toolbar-item {
        position: relative;
        display: grid;
        justify-items: center;
        gap: 3px;
        padding: 9px 4px 8px;
        color: var(--muted-dark);
        background: none;
        border: 0;
        cursor: pointer;
        font: inherit;
        transition: color 180ms var(--ease-out);
    }
    .mobile-toolbar-item.is-active,
    .mobile-toolbar-item:hover {
        color: var(--ink);
    }
    .mobile-toolbar-item.is-active::before {
        content: "";
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 26px;
        height: 3px;
        border-radius: 0 0 3px 3px;
        background: var(--accent-strong);
    }
    .mobile-toolbar-label {
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 0.01em;
        line-height: 1.1;
    }
    .mobile-toolbar-icon-wrap {
        position: relative;
        display: grid;
        place-items: center;
    }
    .mobile-toolbar-icon-wrap .cart-count {
        position: absolute;
        top: -6px;
        right: -9px;
        min-width: 16px;
        height: 16px;
        padding: 0 4px;
        font-size: 10px;
        border: 1.5px solid #fff;
    }
    /* Keep fixed UI clear of the bottom toolbar. */
    body {
        padding-bottom: calc(60px + env(safe-area-inset-bottom));
    }
    .back-to-top {
        bottom: calc(74px + env(safe-area-inset-bottom));
    }
    .toast {
        bottom: calc(124px + env(safe-area-inset-bottom));
    }
    .mobile-menu-foot {
        padding-bottom: calc(20px + env(safe-area-inset-bottom));
    }
}

/* ---------- Hero slider ---------- */
.hero {
    position: relative;
    overflow: hidden;
    background: var(--ink);
    min-height: 0;
}
.hero-track {
    display: flex;
    transition: transform 700ms var(--ease-snap);
    will-change: transform;
}
.hero-slide {
    flex: 0 0 100%;
    position: relative;
    min-height: clamp(560px, 74vh, 780px);
    display: flex;
    align-items: center;
    overflow: hidden;
}
.hero-media {
    position: absolute;
    inset: 0;
}
.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.03);
    transition: transform 8s var(--ease-out);
}
.is-active .hero-media img {
    transform: scale(1);
}
.hero-media::after {
    content: none;
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(10, 10, 10, 0.62) 0%,
        rgba(10, 10, 10, 0.28) 48%,
        rgba(10, 10, 10, 0.05) 100%
    );
}
.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    color: #fff;
    max-width: 620px;
    padding: 0;
}
.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    background: rgba(10, 10, 10, 0.42);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 22px;
}
.hero-kicker .badge-accent {
    padding: 3px 9px;
    font-size: 11px;
}
.hero-title {
    font-size: clamp(2.4rem, 5.2vw, 4rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.02;
    text-wrap: balance;
}
.hero-copy {
    margin-top: 18px;
    font-size: clamp(1rem, 1.4vw, 1.14rem);
    color: rgba(255, 255, 255, 0.86);
    max-width: 48ch;
}
.hero-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 32px;
    flex-wrap: wrap;
}
.hero-swipe {
    display: flex;
    gap: 12px;
    margin-top: 42px;
    align-items: center;
}
.hero-swipe-item {
    min-width: 76px;
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.72);
}
.hero-swipe-item strong {
    display: block;
    font-size: 14px;
    color: #fff;
}

.hero-controls {
    position: absolute;
    bottom: 26px;
    left: 0;
    right: 0;
    z-index: 3;
}
.hero-controls-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.hero-dots {
    display: flex;
    gap: 8px;
}
.hero-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    padding: 0;
    transition:
        width 240ms var(--ease-out),
        background 240ms var(--ease-out);
}
.hero-dot.is-active {
    width: 28px;
    border-radius: 6px;
    background: var(--accent);
}
.hero-nav {
    display: flex;
    gap: 8px;
}
.hero-nav button {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: #fff;
    display: grid;
    place-items: center;
    transition:
        background 160ms var(--ease-out),
        transform 160ms var(--ease-out);
    backdrop-filter: blur(6px);
}
.hero-nav button:hover {
    background: #fff;
    color: var(--ink);
    transform: translateY(-2px);
}

/* ---------- Category rail ---------- */
.category-rail {
    padding-block: clamp(40px, 5vw, 72px) 20px;
}
.category-rail-head {
    text-align: center;
    margin-bottom: clamp(28px, 4vw, 44px);
}
.category-rail-head h2 {
    font-size: clamp(1.55rem, 2.6vw, 2.1rem);
}
.category-rail-head p {
    color: var(--muted);
    margin-top: 8px;
}
.category-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 10px;
}
.category-item {
    display: grid;
    justify-items: center;
    gap: 12px;
    padding: 18px 8px 14px;
    border-radius: var(--radius-m);
    transition: background 180ms var(--ease-out);
    text-align: center;
}
.category-item:hover {
    background: var(--surface);
}
.category-thumb {
    width: 96px;
    height: 96px;
    border-radius: var(--radius-s);
    background: transparent;
    display: grid;
    place-items: center;
    overflow: hidden;
    transition: transform 240ms var(--ease-out);
}
.category-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.category-item:hover .category-thumb {
    transform: translateY(-4px);
}
.category-name {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--ink);
    position: relative;
}
.category-name::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -5px;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: var(--accent-strong);
    transform: translateX(-50%) scaleX(0);
    transition: transform 200ms var(--ease-out);
}
.category-item:hover .category-name::after {
    transform: translateX(-50%) scaleX(1);
}
.category-count {
    font-size: 12px;
    color: var(--muted);
}

/* ---------- Feature strip ---------- */
.pyramid-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}
.pyramid-grid .category-item {
    justify-items: stretch;
    text-align: left;
    padding: 14px;
    background: var(--surface);
}
.pyramid-grid .category-thumb {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-s);
}
.pyramid-grid .category-name {
    display: block;
    margin-top: 12px;
}
.pyramid-grid .category-count {
    display: block;
    margin-top: 4px;
    line-height: 1.45;
}
.brand-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
}
.brand-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 12px;
    min-height: 132px;
    border: 1px solid var(--line);
    border-radius: var(--radius-m);
    background: #fff;
    text-align: center;
    color: var(--ink);
    transition:
        border-color 180ms var(--ease-out),
        background 180ms var(--ease-out),
        transform 180ms var(--ease-out);
}
.brand-tile img {
    max-width: 100%;
    max-height: 108px;
    width: auto;
    height: auto;
    object-fit: contain;
}
.brand-tile .brand-name {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--ink);
}
.brand-tile:hover {
    border-color: var(--accent);
    background: var(--accent-soft);
    color: var(--ink);
    transform: translateY(-2px);
}

/* ---------- Product cards ---------- */
.product-scroller {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(230px, 1fr);
    gap: 18px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 8px;
    scrollbar-width: none;
}
.product-scroller::-webkit-scrollbar {
    display: none;
}

.product-card {
    scroll-snap-align: start;
    position: relative;
    display: grid;
    gap: 12px;
}
.product-media {
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: var(--radius-m);
    background: var(--surface);
    overflow: hidden;
}
.product-media > a.product-link {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 12%;
}
.product-media > a.product-link .asset-svg {
    width: 100%;
    height: 100%;
}
.product-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 420ms var(--ease-out);
}
.product-card:hover .product-media img,
.product-card:hover .product-media .asset-svg {
    transform: scale(1.045);
}
.product-media .asset-svg {
    transition: transform 420ms var(--ease-out);
}
.product-wish {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 3;
}
.product-badges,
.product-quickadd {
    z-index: 3;
}
.product-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    display: grid;
    gap: 6px;
    justify-items: start;
}
.product-wish {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: var(--muted-dark);
    display: grid;
    place-items: center;
    box-shadow: var(--shadow-1);
    opacity: 0;
    transform: translateY(-4px);
    transition:
        opacity 180ms var(--ease-out),
        transform 180ms var(--ease-out),
        color 180ms var(--ease-out);
}
.product-card:hover .product-wish,
.product-wish:focus-visible {
    opacity: 1;
    transform: none;
}
.product-wish:hover,
.product-wish.is-active {
    color: var(--accent-deep);
}
.product-wish.is-active,
.product-wish.is-active:hover {
    color: var(--wish);
}
.product-wish.is-active svg {
    fill: var(--wish);
}
.wish-btn.is-active {
    color: var(--wish);
    border-color: var(--wish);
}
.wish-btn.is-active svg {
    fill: var(--wish);
}
.product-quickadd {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 2;
    height: 46px;
    border-radius: var(--radius-pill);
    background: var(--accent);
    color: var(--ink);
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    backdrop-filter: blur(6px);
    opacity: 0;
    transform: translateY(10px);
    transition:
        opacity 200ms var(--ease-out),
        transform 200ms var(--ease-out),
        background 160ms var(--ease-out);
}
.product-card:hover .product-quickadd,
.product-quickadd:focus-visible {
    opacity: 1;
    transform: none;
}
.product-quickadd:hover {
    background: var(--accent-strong);
    color: var(--ink);
}
.product-info {
    display: grid;
    gap: 5px;
}
.product-cat {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--accent-deep);
}
.product-name {
    font-size: 14.5px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--ink);
    letter-spacing: 0;
}
.product-name a {
    color: inherit;
}
.product-name:hover a {
    color: var(--accent-deep);
}
.product-rating {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12.5px;
    color: var(--muted);
}
.product-rating svg {
    color: var(--accent-strong);
    fill: var(--accent-strong);
}
.product-price-row {
    display: flex;
    align-items: baseline;
    gap: 9px;
    flex-wrap: wrap;
}
.price {
    font-size: 16px;
    font-weight: 800;
    letter-spacing: -0.01em;
    font-variant-numeric: tabular-nums;
}
.price-old {
    font-size: 13px;
    color: var(--muted);
    text-decoration: line-through;
    font-variant-numeric: tabular-nums;
}
.price-disc {
    font-size: 12px;
    font-weight: 800;
    color: #fff;
    background: var(--danger);
    padding: 2px 8px;
    border-radius: var(--radius-pill);
}

/* ---------- Tab section (kategori/brand) ---------- */
.tab-nav {
    display: inline-flex;
    gap: 4px;
    padding: 5px;
    background: var(--surface);
    border-radius: var(--radius-pill);
}
.tab-btn {
    padding: 11px 22px;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 14.5px;
    color: var(--muted-dark);
    transition:
        background 180ms var(--ease-out),
        color 180ms var(--ease-out),
        box-shadow 180ms var(--ease-out);
}
.tab-btn.is-active {
    background: #fff;
    color: var(--ink);
    box-shadow: var(--shadow-1);
}
.tab-panel {
    display: none;
}
.tab-panel.is-active {
    display: block;
    animation: fadeUp 320ms var(--ease-out) both;
}
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
}

/* ---------- Editorial banners ---------- */
.editorial-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 18px;
}
.editorial-card {
    position: relative;
    border-radius: var(--radius-l);
    overflow: hidden;
    min-height: 360px;
    display: flex;
    align-items: flex-end;
    background: var(--surface);
    isolation: isolate;
}
.editorial-media {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 40px;
}
.editorial-media .asset-svg {
    width: 100%;
    max-width: 460px;
    height: auto;
    opacity: 0.24;
}
.editorial-card.is-sky .editorial-media .asset-svg {
    opacity: 0.5;
}
.editorial-card.is-dark {
    background: var(--ink);
    color: #fff;
}
.editorial-card:hover .editorial-media .asset-svg {
    transform: scale(1.03);
}
.editorial-media .asset-svg {
    transition: transform 600ms var(--ease-out);
}
.editorial-card.is-sky {
    background: var(--accent);
}
.editorial-body {
    position: relative;
    z-index: 2;
    padding: 34px;
    width: 100%;
}
.editorial-card.is-dark .editorial-body {
    color: #fff;
}
.editorial-card h3 {
    font-size: clamp(1.3rem, 2vw, 1.7rem);
    max-width: 16ch;
}
.editorial-card p {
    margin-top: 8px;
    max-width: 42ch;
}
.editorial-card .btn,
.editorial-card .text-link {
    margin-top: 18px;
}

/* ---------- Membership band ---------- */
.membership {
    margin-top: 28px;
    background:
        radial-gradient(
            120% 160% at 85% -20%,
            rgba(255, 255, 255, 0.5) 0%,
            rgba(255, 255, 255, 0) 55%
        ),
        var(--accent);
    border-radius: var(--radius-l);
    overflow: hidden;
}
.membership-inner {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 40px;
    padding: clamp(30px, 5vw, 64px);
}
.membership-title {
    font-size: clamp(1.6rem, 3vw, 2.3rem);
}
.membership-copy {
    margin-top: 10px;
    color: rgba(10, 10, 10, 0.78);
    max-width: 46ch;
}
.membership-actions {
    display: flex;
    gap: 12px;
    margin-top: 26px;
    flex-wrap: wrap;
}
.membership-points {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}
.point-card {
    background: rgba(255, 255, 255, 0.7);
    border-radius: var(--radius-m);
    padding: 20px 16px;
    text-align: center;
}
.point-card strong {
    display: block;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.02em;
}
.point-card span {
    font-size: 12.5px;
    font-weight: 600;
    color: rgba(10, 10, 10, 0.72);
}

/* ---------- Breadcrumb ---------- */
.crumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    padding-block: 18px 0;
    color: var(--muted);
}
.crumbs a {
    color: var(--muted);
}
.crumbs a:hover {
    color: var(--ink);
}
.crumbs .is-current {
    color: var(--ink);
    font-weight: 700;
}
.crumbs svg {
    color: var(--line-strong);
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
    padding-block: clamp(30px, 5vw, 56px);
    margin-block: 12px 22px;
    background: linear-gradient(
        180deg,
        var(--accent-soft) 0%,
        var(--paper) 100%
    );
    border-bottom: 1px solid var(--line);
}
.page-hero h1 {
    font-size: clamp(1.9rem, 3.6vw, 2.9rem);
}
.page-hero p {
    color: var(--muted);
    margin-top: 10px;
    max-width: 58ch;
}
.page-hero-actions {
    display: flex;
    gap: 10px;
    margin-top: 22px;
    flex-wrap: wrap;
}

/* ---------- PLP: filter & grid ---------- */
.shop-layout {
    display: grid;
    grid-template-columns: 264px 1fr;
    gap: 36px;
    align-items: start;
    padding-block: 34px var(--section-space);
}
.filter-panel {
    position: sticky;
    top: calc(var(--header-h) + 20px);
    display: grid;
    gap: 26px;
}
.filter-group {
    display: grid;
    gap: 12px;
}
.filter-group > h3 {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink);
}
.filter-options {
    display: grid;
    gap: 4px;
}
.filter-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 10px;
    font-size: 14px;
    color: var(--muted-dark);
    cursor: pointer;
    transition: background 150ms var(--ease-out);
}
.filter-option:hover {
    background: var(--surface);
}
.filter-option.is-active {
    background: var(--accent-soft);
    color: var(--ink);
    font-weight: 700;
}
.filter-option input {
    accent-color: var(--accent-deep);
    width: 16px;
    height: 16px;
}
.filter-option .count {
    margin-left: auto;
    color: var(--muted);
    font-size: 12.5px;
}
.filter-clear {
    font-size: 13px;
    font-weight: 700;
    color: var(--accent-deep);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: fit-content;
}

.empty-state {
    text-align: center;
    padding: 64px 20px;
    display: grid;
    gap: 8px;
    justify-items: center;
}
.empty-state-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--surface);
    display: grid;
    place-items: center;
    color: var(--muted);
    margin-bottom: 8px;
}
.empty-state h2 {
    font-size: 20px;
}
.empty-state p {
    color: var(--muted);
    font-size: 14.5px;
}
.empty-state .btn {
    margin-top: 14px;
}

.shop-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}
.shop-result {
    font-size: 14px;
    color: var(--muted);
}
.shop-result strong {
    color: var(--ink);
}
.shop-tools {
    display: flex;
    align-items: center;
    gap: 10px;
}
.shop-filters-toggle {
    display: none;
}
.is-open-mobile {
    display: grid !important;
}
.select {
    position: relative;
}
.select select {
    appearance: none;
    height: 44px;
    padding: 0 40px 0 16px;
    border: 1.5px solid var(--line-strong);
    border-radius: var(--radius-pill);
    background: #fff;
    font-weight: 600;
    font-size: 14px;
    color: var(--ink);
    cursor: pointer;
}
.select::after {
    content: "";
    position: absolute;
    right: 18px;
    top: 50%;
    width: 8px;
    height: 8px;
    border-right: 1.5px solid var(--muted-dark);
    border-bottom: 1.5px solid var(--muted-dark);
    transform: translateY(-65%) rotate(45deg);
    pointer-events: none;
}
.chip-filter {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 22px;
}
.chip {
    padding: 9px 16px;
    border-radius: var(--radius-pill);
    border: 1.5px solid var(--line-strong);
    background: #fff;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--muted-dark);
    transition:
        border-color 160ms var(--ease-out),
        background 160ms var(--ease-out),
        color 160ms var(--ease-out);
}
.chip:hover {
    border-color: var(--ink);
    color: var(--ink);
}
.chip.is-active {
    background: var(--ink);
    border-color: var(--ink);
    color: #fff;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px 18px;
}
.product-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}
.product-grid-5 {
    grid-template-columns: repeat(5, 1fr);
}
.product-grid .product-wish {
    opacity: 0;
}
.product-grid .product-card:hover .product-wish,
.product-grid .product-wish:focus-visible {
    opacity: 1;
}

.pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-top: 44px;
}
.page-link {
    min-width: 44px;
    height: 44px;
    padding: 0 8px;
    display: grid;
    place-items: center;
    border: 1.5px solid var(--line-strong);
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 14px;
    color: var(--muted-dark);
    transition:
        border-color 160ms var(--ease-out),
        background 160ms var(--ease-out),
        color 160ms var(--ease-out);
}
.page-link:hover {
    border-color: var(--ink);
}
.page-link.is-active {
    background: var(--ink);
    border-color: var(--ink);
    color: #fff;
}
.page-link.is-gap {
    min-width: 20px;
    padding: 0 2px;
    border-color: transparent;
    background: transparent;
    color: var(--muted);
    font-weight: 600;
    pointer-events: none;
}

/* ---------- PDP ---------- */
.pdp-layout {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(28px, 5vw, 64px);
    padding-block: 30px var(--section-space);
    align-items: start;
}
.gallery {
    display: grid;
    gap: 14px;
}
.gallery-main {
    aspect-ratio: 1 / 1;
    border-radius: var(--radius-l);
    background: var(--surface);
    overflow: hidden;
    position: relative;
}
.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}
.gallery-thumb {
    aspect-ratio: 1 / 1;
    border-radius: var(--radius-s);
    overflow: hidden;
    border: 2px solid transparent;
    background: var(--surface);
    padding: 0;
    transition: border-color 160ms var(--ease-out);
}
.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.gallery-thumb.is-active {
    border-color: var(--accent-deep);
}
.gallery-badges {
    position: absolute;
    top: 16px;
    left: 16px;
    display: grid;
    gap: 8px;
    z-index: 2;
}

.pdp-info {
    display: grid;
    gap: 20px;
}
.pdp-cat {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent-deep);
}
.pdp-title {
    font-size: clamp(1.6rem, 3vw, 2.3rem);
    letter-spacing: -0.035em;
}
.pdp-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 13.5px;
    color: var(--muted);
}
.pdp-meta .product-rating {
    color: var(--ink);
}
.pdp-price-block {
    display: flex;
    align-items: baseline;
    gap: 14px;
    flex-wrap: wrap;
    padding-block: 6px;
    border-block: 1px solid var(--line);
}
.pdp-price {
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
}
.pdp-desc {
    color: var(--muted-dark);
    max-width: 58ch;
}
.option-row {
    display: grid;
    gap: 10px;
}
.option-label {
    font-size: 13.5px;
    font-weight: 800;
    color: var(--ink);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.option-label span:last-child {
    font-weight: 600;
    color: var(--muted);
}
.swatches {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.swatch {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border: 1.5px solid var(--line-strong);
    border-radius: var(--radius-pill);
    font-size: 13.5px;
    font-weight: 600;
    background: #fff;
    transition:
        border-color 160ms var(--ease-out),
        background 160ms var(--ease-out);
}
.swatch:hover {
    border-color: var(--ink);
}
.swatch.is-active {
    border-color: var(--ink);
    background: var(--surface);
}
.swatch-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--muted);
    border: 1px solid var(--line-strong);
}
.qty-row {
    display: flex;
    gap: 12px;
    align-items: stretch;
    flex-wrap: wrap;
}
.qty {
    display: inline-flex;
    align-items: center;
    border: 1.5px solid var(--line-strong);
    border-radius: var(--radius-pill);
    overflow: hidden;
}
.qty button,
.qty input {
    width: 44px;
    height: 52px;
    border: none;
    background: #fff;
    display: grid;
    place-items: center;
    text-align: center;
    font-weight: 700;
}
.qty button {
    transition: background 150ms var(--ease-out);
}
.qty button:hover {
    background: var(--surface);
}
.qty input {
    border-inline: 1.5px solid var(--line);
    width: 56px;
    -moz-appearance: textfield;
}
.qty input::-webkit-outer-spin-button,
.qty input::-webkit-inner-spin-button {
    -webkit-appearance: none;
}
.pdp-actions {
    display: grid;
    gap: 10px;
    grid-template-columns: 1fr auto;
}
.accordion {
    display: grid;
    gap: 10px;
    margin-top: 24px;
}
.acc-item {
    border: 1px solid var(--line);
    border-radius: var(--radius-s);
    overflow: hidden;
    background: #fff;
}
.acc-head {
    width: 100%;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-weight: 700;
    font-size: 15px;
    text-align: left;
}
.acc-head svg {
    transition: transform 240ms var(--ease-out);
    color: var(--muted);
}
.acc-item.is-open .acc-head svg {
    transform: rotate(180deg);
}
.acc-body {
    display: none;
    padding: 0 20px 18px;
    color: var(--muted-dark);
    font-size: 14.5px;
}
.acc-item.is-open .acc-body {
    display: block;
}

.pdp-specs {
    display: grid;
    gap: 8px;
}
.spec-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
    font-size: 14.5px;
}
.spec-row dt {
    color: var(--muted);
}
.spec-row dd {
    margin: 0;
    font-weight: 700;
    text-align: right;
}

/* ---------- Cart & checkout ---------- */
.cart-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 36px;
    padding-block: 30px var(--section-space);
    align-items: start;
}
.cart-items {
    display: grid;
    gap: 14px;
}
.cart-item {
    display: grid;
    grid-template-columns: 104px 1fr auto;
    gap: 18px;
    align-items: center;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius-m);
    background: #fff;
}
.cart-item img {
    width: 104px;
    height: 104px;
    object-fit: cover;
    border-radius: var(--radius-s);
    background: var(--surface);
}
.cart-item-name {
    font-weight: 700;
    font-size: 15.5px;
    color: var(--ink);
}
.cart-item-spec {
    font-size: 13px;
    color: var(--muted);
    margin-top: 3px;
}
.cart-item-right {
    display: grid;
    gap: 12px;
    justify-items: end;
}
.cart-item-price {
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}
.cart-remove {
    color: var(--muted);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    font-weight: 700;
}
.cart-remove:hover {
    color: var(--danger);
}

.summary {
    position: sticky;
    top: calc(var(--header-h) + 20px);
    background: var(--surface);
    border-radius: var(--radius-l);
    padding: 26px;
    display: grid;
    gap: 16px;
}
.summary h2 {
    font-size: 18px;
}
.summary-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 14.5px;
    color: var(--muted-dark);
}
.summary-row strong {
    color: var(--ink);
    font-variant-numeric: tabular-nums;
}
.summary-total {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    border-top: 1px solid var(--line-strong);
    padding-top: 16px;
    font-weight: 800;
    font-size: 18px;
}
.voucher {
    display: flex;
    gap: 8px;
}
.voucher input {
    flex: 1;
    height: 46px;
    padding: 0 16px;
    border: 1.5px solid var(--line-strong);
    border-radius: var(--radius-pill);
    background: #fff;
}
.voucher input:focus {
    outline: none;
    border-color: var(--accent-deep);
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 36px;
    padding-block: 30px var(--section-space);
    align-items: start;
}
.checkout-form {
    display: grid;
    gap: 16px;
}
.form-card {
    border: 1px solid var(--line);
    border-radius: var(--radius-l);
    padding: 26px;
    display: grid;
    gap: 20px;
    background: #fff;
}
.form-card h2 {
    font-size: 18px;
}
.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
.form-grid .span-2 {
    grid-column: span 2;
}
.pay-options {
    display: grid;
    gap: 8px;
}
.pay-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border: 1.5px solid var(--line-strong);
    border-radius: var(--radius-s);
    cursor: pointer;
    font-weight: 600;
    font-size: 14.5px;
    transition:
        border-color 150ms var(--ease-out),
        background 150ms var(--ease-out);
}
.pay-option:hover {
    border-color: var(--ink);
}
.pay-option.is-active {
    border-color: var(--accent-deep);
    background: var(--accent-soft);
}
.pay-option input {
    accent-color: var(--accent-deep);
}

/* ---------- Auth ---------- */
.auth-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border: 1.5px solid var(--line-strong);
    border-radius: var(--radius-pill);
    padding: 4px;
}
.auth-tabs button {
    padding: 10px;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 14px;
    color: var(--muted);
}
.auth-tabs button.is-active {
    background: var(--ink);
    color: #fff;
}
.auth-panel {
    display: none;
    grid-template-columns: 1fr;
    gap: 16px;
}
.auth-panel.is-active {
    display: grid;
}
.check-line {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13.5px;
    color: var(--muted-dark);
}
.check-line input {
    accent-color: var(--accent-deep);
    margin-top: 3px;
}
.auth-divider {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--muted);
    font-size: 13px;
}
.auth-divider::before,
.auth-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--line);
}
.auth-help {
    text-align: center;
    font-size: 14px;
    color: var(--muted);
}
.auth-help a {
    font-weight: 700;
}

/* ---------- Account ---------- */
.account-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 36px;
    padding-block: 34px var(--section-space);
    align-items: start;
}
.account-nav {
    position: sticky;
    top: calc(var(--header-h) + 20px);
    display: grid;
    gap: 4px;
}
.account-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: var(--radius-s);
    font-weight: 600;
    font-size: 14.5px;
    color: var(--muted-dark);
    transition:
        background 150ms var(--ease-out),
        color 150ms var(--ease-out);
}
.account-nav a:hover {
    background: var(--surface);
    color: var(--ink);
}
.account-nav a.is-active {
    background: var(--ink);
    color: #fff;
}
.account-nav a.is-active svg {
    color: var(--accent);
}
.account-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-bottom: 22px;
    margin-bottom: 26px;
    border-bottom: 1px solid var(--line);
}
.avatar {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--accent);
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 20px;
    color: var(--ink);
}
.stat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 30px;
}
.stat-card {
    background: var(--surface);
    border-radius: var(--radius-m);
    padding: 20px;
    display: grid;
    gap: 6px;
}
.stat-card strong {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.02em;
}
.stat-card span {
    font-size: 13px;
    color: var(--muted);
    font-weight: 600;
}

.address-card {
    border: 1px solid var(--line);
    border-radius: var(--radius-m);
    padding: 24px;
    background: #fff;
    max-width: 620px;
}
.address-card-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}
.address-card p {
    color: var(--muted-dark);
    font-size: 14px;
}
.address-card-actions {
    display: flex;
    gap: 20px;
    margin-top: 16px;
}

/* ---------- Tables (account + admin preview) ---------- */
.table-wrap {
    border: 1px solid var(--line);
    border-radius: var(--radius-m);
    overflow: hidden;
    background: #fff;
    overflow-x: auto;
}
table.tbl {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    min-width: 640px;
}
.tbl th {
    text-align: left;
    padding: 13px 18px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--muted);
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    white-space: nowrap;
}
.tbl td {
    padding: 15px 18px;
    border-bottom: 1px solid var(--line);
    vertical-align: middle;
}
.tbl tr:last-child td {
    border-bottom: none;
}
.tbl tr:hover td {
    background: #fafbfc;
}
.tbl .num {
    font-variant-numeric: tabular-nums;
    font-weight: 700;
}
.tbl a.tbl-link {
    color: var(--ink);
    font-weight: 700;
}
.tbl a.tbl-link:hover {
    color: var(--accent-deep);
}

/* ---------- Promo ---------- */
.promo-hero {
    background: var(--ink);
    color: #fff;
    border-radius: var(--radius-l);
    padding: clamp(34px, 6vw, 72px);
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 36px;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.promo-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
        80% 140% at 90% 110%,
        rgba(143, 216, 248, 0.55) 0%,
        rgba(10, 10, 10, 0) 60%
    );
    pointer-events: none;
}
.promo-hero h1 {
    font-size: clamp(1.9rem, 4vw, 3rem);
    position: relative;
    z-index: 2;
}
.promo-hero p {
    color: rgba(255, 255, 255, 0.78);
    margin-top: 12px;
    max-width: 48ch;
    position: relative;
    z-index: 2;
}
.promo-hero .promo-tag {
    position: relative;
    z-index: 2;
    display: inline-block;
    margin-bottom: 18px;
}
.countdown {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(4, auto);
    gap: 10px;
    justify-content: center;
}
.countdown-cell {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-s);
    padding: 14px 18px;
    text-align: center;
    min-width: 74px;
}
.countdown-cell strong {
    display: block;
    font-size: 26px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}
.countdown-cell span {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
}

/* ---------- Support ---------- */
.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    counter-reset: step;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.info-cell {
    border: 1px solid var(--line);
    border-radius: var(--radius-m);
    padding: 22px;
    background: #fff;
    display: grid;
    gap: 8px;
}
.info-cell svg {
    color: var(--accent-deep);
}
.info-cell h3 {
    font-size: 15.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.info-cell h3 svg {
    color: var(--accent-deep);
}
.info-cell p {
    font-size: 13.5px;
    color: var(--muted);
}
@media (max-width: 1080px) {
    .info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 620px) {
    .info-grid {
        grid-template-columns: 1fr;
    }
}
.step-card {
    border: 1px solid var(--line);
    border-radius: var(--radius-m);
    padding: 26px 22px;
    display: grid;
    gap: 10px;
    background: #fff;
    position: relative;
}
.step-card::before {
    counter-increment: step;
    content: "0" counter(step);
    position: absolute;
    top: 20px;
    right: 22px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--accent-deep);
}
.step-card svg {
    color: var(--ink);
}
.step-card h3 {
    font-size: 16px;
}
.step-card p {
    font-size: 13.5px;
    color: var(--muted);
}
.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.bundle-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.bundle-card {
    border: 1px solid var(--line);
    border-radius: var(--radius-m);
    overflow: hidden;
    background: #fff;
    transition:
        border-color 180ms var(--ease-out),
        box-shadow 180ms var(--ease-out);
}
.bundle-card:hover {
    border-color: var(--line-strong);
    box-shadow: var(--shadow-1);
}
.bundle-media {
    aspect-ratio: 16 / 10;
    background: var(--surface);
}
.bundle-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.bundle-body {
    padding: 20px;
    display: grid;
    gap: 8px;
    justify-items: start;
}
.bundle-body h3 {
    font-size: 17px;
}
.bundle-body p {
    font-size: 13.5px;
    color: var(--muted);
}
.bundle-body .btn {
    margin-top: 6px;
}
@media (max-width: 1080px) {
    .bundle-grid {
        grid-template-columns: 1fr;
    }
    .bundle-media {
        aspect-ratio: 21 / 8;
    }
}
.contact-card {
    border: 1px solid var(--line);
    border-radius: var(--radius-m);
    padding: 26px;
    display: grid;
    gap: 12px;
    background: #fff;
}
.contact-card svg {
    color: var(--accent-deep);
}
.contact-card h3 {
    font-size: 16px;
}
.contact-card p {
    color: var(--muted);
    font-size: 13.5px;
}
.contact-card a {
    font-weight: 800;
    color: var(--ink);
}

/* ---------- Footer ---------- */
.site-footer {
    background: var(--accent-deep);
    color: #e9ebec;
}
.footer-main {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-block: clamp(44px, 6vw, 72px) 36px;
}
.footer-brand {
    display: grid;
    gap: 14px;
    align-content: start;
}
.footer-brand p {
    color: rgba(233, 235, 236, 0.72);
    max-width: 30ch;
}
.footer-brand address,
.footer-brand > a {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: rgba(233, 235, 236, 0.72);
    font-size: 13.5px;
}
.footer-brand svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--accent);
}
.footer-col {
    display: grid;
    gap: 11px;
    align-content: start;
}
.footer-col h3 {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 6px;
}
.footer-col a {
    color: rgba(233, 235, 236, 0.72);
    font-size: 14px;
    width: fit-content;
    position: relative;
}
.footer-col a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width 200ms var(--ease-out);
}
.footer-col a:hover {
    color: #fff;
}
.footer-col a:hover::after {
    width: 100%;
}
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    padding-block: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 13px;
    color: rgba(233, 235, 236, 0.6);
}
.footer-socials {
    display: flex;
    gap: 8px;
}
.footer-socials a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: rgba(233, 235, 236, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.16);
    transition:
        background 160ms var(--ease-out),
        color 160ms var(--ease-out);
}
.footer-socials a:hover {
    background: var(--accent);
    color: var(--ink);
}
.footer-legal {
    display: flex;
    gap: 18px;
}
.footer-legal a {
    color: rgba(233, 235, 236, 0.6);
}
.footer-legal a:hover {
    color: #fff;
}
.footer-payments {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-block: 0 26px;
}
.footer-payments span {
    padding: 5px 12px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 6px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: rgba(233, 235, 236, 0.7);
}

/* ---------- Back to top & toast ---------- */
.back-to-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 90;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--ink);
    color: #fff;
    display: grid;
    place-items: center;
    box-shadow: var(--shadow-float);
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
    transition:
        opacity 220ms var(--ease-out),
        transform 220ms var(--ease-out),
        background 160ms var(--ease-out);
}
.back-to-top svg {
    transform: rotate(90deg);
}
.back-to-top.is-visible {
    opacity: 1;
    transform: none;
    pointer-events: auto;
}
.back-to-top:hover {
    background: var(--accent-deep);
}

.toast {
    position: fixed;
    left: 50%;
    bottom: 28px;
    transform: translate(-50%, 80px);
    z-index: 300;
    background: var(--accent-deep);
    color: #fff;
    padding: 14px 22px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 14.5px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow-float);
    opacity: 0;
    transition:
        transform 320ms var(--ease-snap),
        opacity 320ms var(--ease-out);
    pointer-events: none;
}
.toast.is-visible {
    transform: translate(-50%, 0);
    opacity: 1;
}
.toast svg {
    color: #fff;
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
    .category-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .product-grid,
    .product-grid-4,
    .product-grid-5 {
        grid-template-columns: repeat(2, 1fr);
    }
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .editorial-grid {
        grid-template-columns: 1fr;
    }
    .footer-main {
        grid-template-columns: 1.4fr 1fr 1fr;
    }
    .shop-layout {
        grid-template-columns: 220px 1fr;
        gap: 24px;
    }
    .steps {
        grid-template-columns: repeat(2, 1fr);
    }
    .stat-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .memberstrip-grid {
        grid-template-columns: 1fr;
    }
    .pyramid-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .brand-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .store-link,
    .hide-mobile {
        display: none;
    }
    .menu-toggle {
        display: grid;
    }
    .primary-nav {
        display: none;
    }
    .header-inner {
        gap: 12px;
    }
    .pdp-layout,
    .cart-layout,
    .checkout-grid,
    .account-layout {
        grid-template-columns: 1fr;
    }
    /* PDP mobile: qty + wishlist sebaris, tombol keranjang full-width di bawah */
    .qty-row {
        flex-wrap: wrap;
        gap: 10px;
    }
    .qty-row .qty {
        order: 1;
        flex: 0 0 auto;
    }
    .qty-row .wish-btn {
        order: 2;
        flex: 0 0 48px;
        width: 48px;
        height: 48px;
        padding: 0;
        border-radius: var(--radius-pill);
    }
    .qty-row [data-pdp-add] {
        order: 3;
        flex: 0 0 100%;
        width: 100%;
        height: 52px;
        margin-top: 2px;
        padding: 0 18px;
        font-size: 15px;
        white-space: nowrap;
    }
    /* Kartu produk mobile: quick-add jadi ikon keranjang di pojok kiri gambar */
    .product-card .product-quickadd {
        left: 10px;
        right: auto;
        bottom: 10px;
        width: 40px;
        height: 40px;
        padding: 0;
        gap: 0;
        font-size: 0;
        border-radius: 50%;
        opacity: 1;
        transform: none;
    }
    .product-card .product-quickadd svg {
        width: 18px;
        height: 18px;
    }
    .product-card .product-quickadd.is-out {
        width: auto;
        height: 30px;
        padding: 0 10px;
        font-size: 11px;
        border-radius: var(--radius-pill);
    }
    /* Account nav: grid so every item is visible (4 per row). */
    .account-nav {
        position: static;
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
        padding-bottom: 10px;
        margin-bottom: 2px;
    }
    .account-nav a {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 6px;
        min-height: 66px;
        padding: 12px 6px;
        font-size: 12.5px;
        font-weight: 700;
        line-height: 1.2;
        text-align: center;
        border: 1px solid var(--line);
        background: #fff;
        border-radius: var(--radius-m);
    }
    .account-nav a svg {
        flex-shrink: 0;
    }
    .account-nav a:hover {
        background: var(--surface);
        color: var(--ink);
    }
    .account-nav a.is-active {
        background: var(--ink);
        color: #fff;
        border-color: var(--ink);
    }
    .account-nav a.is-active svg {
        color: var(--accent);
    }
    .filter-panel {
        position: static;
    }
    .shop-layout {
        grid-template-columns: 1fr;
    }
    .shop-filters-toggle {
        display: inline-flex;
    }
    .filter-panel {
        display: none;
    }
    .filter-panel.is-open-mobile {
        display: grid;
        padding-bottom: 20px;
        border-bottom: 1px solid var(--line);
    }
    .membership-inner {
        grid-template-columns: 1fr;
    }
    .membership-points {
        max-width: 520px;
    }
    .promo-hero {
        grid-template-columns: 1fr;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-flow: row;
        overflow-x: auto;
    }
    .feature-grid {
        grid-template-columns: 1fr 1fr;
        gap: 6px;
    }
    .feature-item {
        padding: 8px;
        gap: 10px;
    }
    .feature-icon {
        width: 40px;
        height: 40px;
    }
    .product-grid,
    .product-grid-4,
    .product-grid-5 {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px 12px;
    }
    .hero-slide {
        min-height: 560px;
    }
    .hero-content {
        max-width: 100%;
    }
    .announcement-locale {
        display: none;
    }
    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
    .footer-brand {
        grid-column: span 2;
    }
    .footer-col a,
    .footer-contact a,
    .footer-contact address {
        overflow-wrap: anywhere;
    }
    .form-grid {
        grid-template-columns: 1fr;
    }
    .form-grid .span-2 {
        grid-column: span 1;
    }
    .cart-item {
        grid-template-columns: 84px 1fr;
    }
    .cart-item img {
        width: 84px;
        height: 84px;
    }
    .cart-item-right {
        grid-column: span 2;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    .steps {
        grid-template-columns: 1fr;
    }
    .brand-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .brand-tile img {
        max-height: 88px;
    }
    .pyramid-grid {
        grid-template-columns: 1fr;
    }
    .pdp-actions {
        grid-template-columns: 1fr;
    }
    .qty-row .qty button,
    .qty-row .qty input {
        width: 40px;
        height: 48px;
        font-size: 15px;
    }
    .qty-row .qty input {
        width: 48px;
    }
    .trust-row {
        grid-template-columns: 1fr;
    }
    .section-head {
        flex-direction: column;
        align-items: flex-start;
    }
    /* Membership: kartu poin jadi satu kolom agar tidak mampat */
    .membership {
        margin-top: 20px;
    }
    .membership-inner {
        padding: 24px 20px;
        gap: 22px;
    }
    .membership-points {
        grid-template-columns: 1fr;
        gap: 8px;
        max-width: none;
    }
    .point-card {
        display: flex;
        align-items: baseline;
        justify-content: space-between;
        gap: 12px;
        padding: 14px 16px;
        text-align: left;
    }
    .point-card strong {
        font-size: 18px;
    }
    .point-card span {
        font-size: 12px;
        text-align: right;
    }

    /* Tab status pesanan: grid 3 kolom x 2 baris */
    .tab-nav--orders {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        width: 100%;
        gap: 4px;
        border-radius: var(--radius-m);
    }
    .tab-nav--orders .tab-btn {
        padding: 10px 6px;
        font-size: 13px;
        text-align: center;
    }

    /* Search overlay mobile */
    .search-overlay {
        padding: 12px 12px 0;
        align-items: start;
    }
    .search-overlay-inner {
        max-width: none;
        padding: 54px 16px 16px;
        border-radius: var(--radius-m);
    }
    .search-form {
        gap: 8px;
        padding: 5px 5px 5px 14px;
    }
    .search-form input {
        min-width: 0;
        height: 42px;
        font-size: 16px;
    }
    .search-form .btn {
        flex: none;
        height: 42px;
        padding: 0 16px;
        font-size: 14px;
    }
    .search-close {
        top: 8px;
        right: 8px;
        width: 36px;
        height: 36px;
    }

    /* Toast di mobile: full-width dengan margin, teks bisa 2 baris rapi */
    .toast {
        left: 12px;
        right: 12px;
        bottom: calc(170px + env(safe-area-inset-bottom));
        width: auto;
        transform: translateY(80px);
        border-radius: var(--radius-m);
        padding: 12px 16px;
        font-size: 13.5px;
        line-height: 1.35;
        justify-content: center;
        text-align: center;
        margin: 0 20px;
    }
    .toast.is-visible {
        transform: none;
    }
}

@media (max-width: 430px) {
    /* Breadcrumb: boleh wrap jadi 2 baris, separator jadi slash */
    .crumbs {
        flex-wrap: wrap;
        row-gap: 4px;
    }
    .crumbs li {
        display: inline-flex;
        align-items: center;
        min-width: 0;
    }
    .crumbs li:has(> svg) {
        display: none;
    }
    .crumbs li svg {
        display: none;
    }
    .crumbs li:not(:last-child)::after {
        content: "/";
        margin-left: 8px;
        color: var(--line-strong);
    }
    .crumbs a,
    .crumbs .is-current {
        overflow-wrap: anywhere;
    }
    .membership-actions .btn {
        flex: 1 1 100%;
    }
    .footer-main {
        grid-template-columns: 1fr;
        gap: 26px;
    }
    .footer-brand {
        grid-column: auto;
    }
}

@media (max-width: 400px) {
    .product-grid,
    .product-grid-4,
    .product-grid-5 {
        grid-template-columns: 1fr 1fr;
        gap: 14px 10px;
    }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .hero-media {
        transform: none !important;
    }
    .category-item:hover .category-thumb {
        transform: none;
    }
}

/* ============================================================
   Parity & layout fixes (storefront)
   ============================================================ */

/* ---------- Notification drawer ---------- */
.notif-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(380px, 100vw);
    background: #fff;
    border-left: 1px solid var(--line);
    z-index: 300;
    transform: translateX(102%);
    transition: transform 320ms var(--ease-out);
    display: flex;
    flex-direction: column;
}
.notif-drawer.is-open {
    transform: translateX(0);
}
.notif-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--line);
}
.notif-title {
    font-weight: 800;
    font-size: 17px;
}
.notif-scrim {
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 10, 0.45);
    z-index: 290;
}
.notif-list {
    list-style: none;
    margin: 0;
    padding: 8px 0;
    overflow-y: auto;
    flex: 1;
}
.notif-item {
    display: flex;
    gap: 12px;
    padding: 14px 20px;
    border-bottom: 1px solid var(--line);
}
.notif-item-icon {
    flex: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--accent-soft);
    color: var(--accent-deep);
    display: grid;
    place-items: center;
}
.notif-item strong {
    font-size: 14px;
    display: block;
}
.notif-item p {
    font-size: 13px;
    color: var(--muted);
    margin: 2px 0;
}
.notif-item time {
    font-size: 11.5px;
    color: var(--muted);
}
.notif-item.is-unread {
    background: var(--accent-soft);
}
.notif-drawer-foot {
    padding: 14px 20px;
    border-top: 1px solid var(--line);
}
.notif-list-page {
    display: grid;
    gap: 10px;
}
.notif-list-page .notif-item {
    border: 1px solid var(--line);
    border-radius: var(--radius-m);
}

/* ---------- Cart item layout fix ---------- */
.cart-item {
    grid-template-columns: 112px minmax(0, 1fr) auto;
}
.cart-item-media {
    display: block;
    width: 112px;
    height: 112px;
    border-radius: var(--radius-s);
    overflow: hidden;
    background: var(--surface);
}
.cart-item-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.cart-item-info {
    min-width: 0;
}

/* ---------- Filter check / price (PLP) ---------- */
.filter-check {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: var(--radius-s);
    cursor: pointer;
    transition: background 160ms var(--ease-out);
}
.filter-check:hover {
    background: var(--surface);
}
.filter-check input {
    accent-color: var(--accent-deep);
    width: 16px;
    height: 16px;
    flex: none;
}
.filter-check span {
    font-size: 14px;
}
.filter-check small {
    margin-left: auto;
    color: var(--muted);
    font-size: 12px;
}
.filter-subhead {
    display: block;
    margin: 10px 6px 2px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
}
.price-inputs {
    display: flex;
    align-items: flex-end;
    gap: 8px;
}
.price-inputs .field {
    flex: 1;
}
.price-inputs input {
    width: 100%;
    padding: 10px 12px;
    border: 1.5px solid var(--line);
    border-radius: var(--radius-s);
    font-size: 14px;
}
.price-sep {
    padding-bottom: 12px;
    color: var(--muted);
}
.price-slider {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 12px;
}
.price-slider input[type="range"] {
    width: 100%;
    accent-color: var(--accent-deep);
}
.filter-keyword {
    width: 100%;
    padding: 11px 12px;
    border: 1.5px solid var(--line);
    border-radius: var(--radius-s);
    font-size: 14px;
}
.filter-actions {
    display: grid;
    gap: 10px;
    padding-top: 6px;
}
.filter-clear {
    justify-self: center;
}

/* ---------- PDP variant row ---------- */
.variant-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius-m);
    background: var(--surface);
    margin: 18px 0;
}
.variant-cell {
    display: grid;
    gap: 2px;
}
.variant-cell .option-label {
    font-size: 11.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--muted);
}
.variant-cell strong {
    font-size: 14px;
}

/* ---------- Editorial / bundle media images ---------- */
.editorial-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.bundle-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ---------- Kategori two-pane ---------- */
.cat-browser {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 28px;
    align-items: start;
}
.cat-sidebar {
    position: sticky;
    top: 96px;
    display: grid;
    gap: 6px;
}
.cat-tab {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border: 1px solid transparent;
    border-radius: var(--radius-m);
    background: transparent;
    cursor: pointer;
    width: 100%;
    text-align: left;
    transition:
        background 160ms var(--ease-out),
        border-color 160ms var(--ease-out);
}
.cat-tab:hover {
    background: var(--surface);
}
.cat-tab.is-active {
    background: var(--accent-soft);
    border-color: var(--accent);
}
.cat-tab-thumb {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-s);
    overflow: hidden;
    background: #fff;
    flex: none;
}
.cat-tab-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.cat-tab-name {
    font-size: 14px;
    font-weight: 700;
    flex: 1;
}
.cat-tab-count {
    font-size: 12px;
    color: var(--muted);
}
.cat-content {
    min-width: 0;
}
.cat-search {
    display: flex;
    gap: 10px;
    margin-bottom: 24px;
}
.cat-search input {
    flex: 1;
    padding: 12px 14px;
    border: 1.5px solid var(--line);
    border-radius: var(--radius-s);
    font-size: 14px;
}
.cat-panel {
    display: none;
}
.cat-panel.is-active {
    display: block;
    animation: catFade 320ms var(--ease-out);
}
@keyframes catFade {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}
.cat-panel-head {
    margin-bottom: 18px;
}
.cat-panel-head h2 {
    font-size: clamp(1.4rem, 2.4vw, 1.9rem);
}
.cat-panel-head p {
    color: var(--muted);
    margin-top: 4px;
}
.cat-subgrid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
    margin-bottom: 20px;
}
.cat-subcard {
    display: grid;
    gap: 8px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius-m);
    background: #fff;
    transition:
        transform 240ms var(--ease-out),
        box-shadow 240ms var(--ease-out);
}
.cat-subcard:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(10, 10, 10, 0.06);
}
.cat-subcard-media {
    aspect-ratio: 1 / 1;
    border-radius: var(--radius-s);
    background: transparent;
    overflow: hidden;
}
.cat-subcard-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.cat-subcard-name {
    font-size: 14px;
    font-weight: 700;
}
.cat-subcard-count {
    font-size: 12px;
    color: var(--muted);
}

/* ---------- Auth: split layout ---------- */
.auth-page {
    padding-block: clamp(22px, 3.4vw, 52px);
    background-image:
        radial-gradient(
            circle at 12% 8%,
            var(--accent-soft) 0,
            transparent 38%
        ),
        radial-gradient(
            circle at 92% 92%,
            var(--accent-soft) 0,
            transparent 34%
        );
}
.auth-page .container {
    max-width: 1520px;
}
.auth-shell {
    display: grid;
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
    min-height: 620px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 28px;
    box-shadow: 0 40px 80px -48px rgba(10, 10, 10, 0.4);
}
.auth-aside {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 44px;
    padding: clamp(30px, 4vw, 58px);
    color: #fff;
    background-color: var(--ink);
    background-image: linear-gradient(
        160deg,
        rgba(143, 216, 248, 0.16) 0%,
        rgba(10, 10, 10, 0) 46%
    );
}
.auth-eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--accent);
}
.auth-aside-copy h1 {
    margin-top: 14px;
    font-size: clamp(1.75rem, 2.5vw, 2.5rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: #fff;
}
.auth-aside-copy > p {
    margin-top: 16px;
    max-width: 40ch;
    font-size: 14.5px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.7);
}
.auth-benefits {
    display: grid;
    gap: 14px;
    margin-top: 30px;
    padding: 0;
    list-style: none;
}
.auth-benefits li {
    display: flex;
    gap: 11px;
    align-items: center;
}
.auth-benefits li svg {
    flex-shrink: 0;
    color: var(--accent);
}
.auth-benefits li span {
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.72);
}
.auth-aside-foot {
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.52);
}
.auth-aside-foot a {
    color: var(--accent);
}

.auth-main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 22px;
    padding: clamp(28px, 4vw, 58px);
}
.auth-main-head {
    max-width: 560px;
}
.auth-main-head h2 {
    font-size: clamp(1.5rem, 2.1vw, 2rem);
    letter-spacing: -0.03em;
}
.auth-main-head p {
    margin-top: 7px;
    font-size: 14.5px;
    color: var(--muted);
}
.auth-main .auth-tabs {
    width: min(360px, 100%);
}
.auth-panel-narrow {
    width: min(520px, 100%);
}
.auth-main .auth-panel {
    gap: 18px;
}
.auth-main .auth-grid {
    gap: 16px 18px;
}

@media (max-width: 960px) {
    .auth-shell {
        grid-template-columns: 1fr;
        min-height: 0;
    }
    .auth-aside {
        gap: 26px;
    }
    .auth-aside-copy h1 {
        font-size: 1.7rem;
    }
    .auth-benefits {
        grid-template-columns: 1fr 1fr;
        gap: 14px 20px;
        margin-top: 24px;
    }
    .auth-aside-foot {
        display: none;
    }
}
@media (max-width: 620px) {
    .auth-shell {
        border-radius: 20px;
    }
    .auth-aside {
        padding: 26px 22px;
    }
    .auth-benefits {
        grid-template-columns: 1fr;
    }
    .auth-main {
        padding: 26px 20px 34px;
    }
    .auth-main .auth-grid {
        grid-template-columns: 1fr;
    }
    .auth-main .auth-grid .span-2 {
        grid-column: auto;
    }
    .auth-main .auth-tabs {
        width: 100%;
    }
}
.required {
    color: var(--danger);
}
.field-hint {
    display: block;
    font-size: 11.5px;
    color: var(--muted);
    font-weight: 400;
}
.auth-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.auth-grid .span-2 {
    grid-column: span 2;
}

/* ---------- Responsive for new sections ---------- */
@media (max-width: 1024px) {
    .cat-browser {
        grid-template-columns: 1fr;
    }
    .cat-sidebar {
        position: static;
        display: flex;
        overflow-x: auto;
        gap: 8px;
        padding-bottom: 8px;
    }
    .cat-tab {
        flex: 0 0 auto;
        width: auto;
    }
    .cat-tab-count {
        display: none;
    }
    .cat-subgrid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 640px) {
    .cat-subgrid {
        grid-template-columns: repeat(2, 1fr);
    }
    .cart-item {
        grid-template-columns: 88px minmax(0, 1fr);
    }
    .cart-item-media {
        width: 88px;
        height: 88px;
    }
    .auth-grid {
        grid-template-columns: 1fr;
    }
    .auth-grid .span-2 {
        grid-column: auto;
    }
    .variant-row {
        grid-template-columns: 1fr;
    }
    .price-inputs {
        flex-direction: column;
        align-items: stretch;
    }
    .price-sep {
        display: none;
    }
}

/* ---------- Accessibility fixes (detector findings) ---------- */
:root {
    --accent-deep: #0b6696;
    --danger: #a93a2e;
}
input::placeholder,
textarea::placeholder {
    color: #5c626b;
    opacity: 1;
}
.field input::placeholder,
.field textarea::placeholder {
    color: #5c626b;
}
.brand-sub {
    font-size: 11px;
}
.editorial-card.is-sky .editorial-body {
    color: #0a0a0a;
}
.editorial-card.is-sky .editorial-body h3 {
    color: #0a0a0a;
}
.editorial-card.is-sky .editorial-body p {
    color: #33383f;
}
.editorial-card.is-sky .text-link {
    color: #0a0a0a;
}
.hero-media::after {
    background: linear-gradient(
        90deg,
        rgba(10, 10, 10, 0.8) 0%,
        rgba(10, 10, 10, 0.52) 45%,
        rgba(10, 10, 10, 0.16) 100%
    );
}
.hero-content h1,
.hero-content p,
.hero-swipe-item {
    text-shadow: 0 1px 3px rgba(10, 10, 10, 0.4);
}
.filter-group > h2 {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink);
}

/* ---------- Filter bar (horizontal, di atas grid) ---------- */
.shop-toolbar {
    margin: 8px 0 22px;
}
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius-m);
    background: #fff;
}
.filter-bar .select {
    flex: 1 1 180px;
    min-width: 150px;
}
.filter-bar .select select {
    width: 100%;
    height: 44px;
}
.filter-price {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 0 1 auto;
}
.filter-price input {
    width: 116px;
    height: 44px;
    padding: 0 12px;
    border: 1.5px solid var(--line-strong);
    border-radius: var(--radius-s);
    font-size: 14px;
    background: #fff;
}
.filter-bar .filter-keyword {
    flex: 1 1 180px;
    height: 44px;
    padding: 0 12px;
    border: 1.5px solid var(--line-strong);
    border-radius: var(--radius-s);
    font-size: 14px;
}
.filter-bar .btn {
    height: 44px;
}
.filter-bar .filter-clear {
    white-space: nowrap;
}
@media (max-width: 900px) {
    .filter-bar {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
    .filter-bar .select,
    .filter-bar .filter-keyword {
        flex: none;
    }
    .filter-price {
        grid-column: span 2;
        justify-content: flex-start;
    }
    .filter-price input {
        flex: 1;
        width: auto;
    }
    .filter-bar .btn,
    .filter-bar .filter-clear {
        grid-column: span 1;
    }
}

/* ---------- Auth: input lebih besar + file input rapi ---------- */
.auth-main .field input,
.auth-main .field select,
.auth-main .field textarea {
    height: 50px;
    font-size: 15px;
}
.auth-main .field textarea {
    height: auto;
}
/* ---------- File drop upload ---------- */
.file-drop {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 52px;
    padding: 10px 14px;
    border: 1.5px dashed var(--line-strong);
    border-radius: var(--radius-s);
    background: var(--surface);
    cursor: pointer;
    transition:
        border-color 180ms var(--ease-out),
        background-color 180ms var(--ease-out);
}
.file-drop:hover {
    border-color: var(--accent-strong);
    background: var(--accent-soft);
}
.file-drop > input[type="file"] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    opacity: 0;
    cursor: pointer;
}
.file-drop-body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    min-width: 0;
    pointer-events: none;
}
.file-drop-row {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 700;
}
.file-drop-row svg {
    color: var(--accent-deep);
    flex-shrink: 0;
}
.file-drop-name {
    font-size: 12px;
    color: var(--muted);
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.file-drop.has-file {
    border-style: solid;
    border-color: var(--accent-strong);
    background: var(--accent-soft);
}

/* ---------- Order detail (user) ---------- */
.order-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.order-detail-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 28px;
    align-items: start;
    padding-block: 0 var(--section-space);
}
.order-item {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
}
.order-item:last-child {
    border-bottom: none;
}
.order-item-media {
    width: 96px;
    height: 96px;
    border-radius: var(--radius-s);
    overflow: hidden;
    background: var(--surface);
}
.order-item-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.order-item-name {
    font-weight: 700;
    font-size: 14.5px;
}
.order-item-spec {
    color: var(--muted);
    font-size: 13px;
    margin-top: 2px;
}
.order-item-price {
    display: flex;
    gap: 10px;
    margin-top: 8px;
    font-weight: 800;
    font-size: 14px;
}
.order-item-qty {
    color: var(--muted);
    font-weight: 500;
}
.timeline {
    list-style: none;
    margin-top: 16px;
    display: grid;
}
.timeline li {
    display: flex;
    gap: 12px;
    position: relative;
    padding-bottom: 20px;
}
.timeline li::before {
    content: "";
    position: absolute;
    left: 14px;
    top: 30px;
    bottom: 0;
    width: 2px;
    background: var(--line);
}
.timeline li:last-child::before {
    display: none;
}
.timeline-dot {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid var(--line);
    background: #fff;
    display: grid;
    place-items: center;
    color: var(--muted);
    flex: none;
    z-index: 1;
}
.timeline li.is-done .timeline-dot {
    border-color: var(--accent-deep);
    background: var(--accent-soft);
    color: var(--accent-deep);
}
.timeline li.is-current .timeline-dot {
    border-color: var(--accent);
    background: var(--accent);
    color: var(--ink);
}
.timeline li strong {
    display: block;
    font-size: 14px;
}
.timeline li p {
    color: var(--muted);
    font-size: 12.5px;
    margin-top: 2px;
}
@media (max-width: 900px) {
    .order-detail-layout {
        grid-template-columns: 1fr;
    }
}

/* ---------- Multi-select dropdown (filter) ---------- */
.msel {
    position: relative;
    flex: 1 1 190px;
    min-width: 160px;
}
.msel-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    height: 44px;
    padding: 0 14px;
    border: 1.5px solid var(--line-strong);
    border-radius: var(--radius-s);
    background: #fff;
    cursor: pointer;
    font-size: 14px;
    color: var(--ink);
}
.msel-btn svg {
    margin-left: auto;
    flex: none;
    transition: transform 160ms var(--ease-out);
}
.msel.is-open .msel-btn svg {
    transform: rotate(180deg);
}
.msel-label {
    color: var(--muted);
    font-size: 12.5px;
}
.msel-value {
    font-weight: 700;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.msel-menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    z-index: 40;
    width: min(280px, calc(100vw - 24px));
    max-height: 320px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-m);
    box-shadow: 0 18px 40px rgba(10, 10, 10, 0.12);
    padding: 10px;
    display: none;
}
.msel.is-open .msel-menu {
    display: block;
}
.msel-menu .filter-subhead {
    margin-top: 10px;
}
.msel-menu .filter-subhead:first-child {
    margin-top: 0;
}

/* ---------- Price dual-range slider ---------- */
.price-filter {
    flex: 0 1 300px;
    min-width: 220px;
    display: grid;
    gap: 6px;
}
.price-filter-label {
    font-size: 12.5px;
    color: var(--muted);
    font-weight: 700;
}
.price-slider {
    display: grid;
    grid-template-columns: 1fr;
    position: relative;
}
.price-slider input[type="range"] {
    grid-area: 1 / 1;
    width: 100%;
    height: 20px;
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    pointer-events: none;
    margin: 0;
}
.price-slider input[type="range"]::-webkit-slider-runnable-track {
    height: 4px;
    border-radius: 2px;
    background: var(--line);
}
.price-slider input[type="range"]::-moz-range-track {
    height: 4px;
    border-radius: 2px;
    background: var(--line);
}
.price-slider input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    pointer-events: auto;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--accent-deep);
    border: 2px solid #fff;
    margin-top: -6px;
    box-shadow: 0 1px 3px rgba(10, 10, 10, 0.25);
    cursor: pointer;
}
.price-slider input[type="range"]::-moz-range-thumb {
    pointer-events: auto;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--accent-deep);
    border: 2px solid #fff;
    box-shadow: 0 1px 3px rgba(10, 10, 10, 0.25);
    cursor: pointer;
}
.price-filter-value {
    font-size: 13px;
    font-weight: 700;
    color: var(--ink);
}

@media (max-width: 900px) {
    .msel {
        min-width: 0;
    }
    .price-filter {
        grid-column: span 2;
        min-width: 0;
    }
    .price-slider input[type="range"] {
        width: 100%;
    }
}

/* ---------- Product page: spacing before footer ---------- */
.produk-container {
    padding-bottom: clamp(48px, 6vw, 80px);
}
.page-produk .pagination {
    margin-top: 40px;
}

/* ---------- PDP tabs (Description / Additional Information) ---------- */
.pdp-tabs {
    margin-top: 26px;
    border-top: 1px solid var(--line);
}
.pdp-tabs-nav {
    display: flex;
    gap: 24px;
    border-bottom: 1px solid var(--line);
}
.pdp-tab {
    border: none;
    background: transparent;
    padding: 12px 2px;
    font-size: 14px;
    font-weight: 700;
    color: var(--muted);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
}
.pdp-tab.is-active {
    color: var(--ink);
    border-bottom-color: var(--accent-deep);
}
.pdp-tab-panel {
    display: none;
    padding: 18px 2px;
    font-size: 14.5px;
    line-height: 1.7;
    color: var(--muted-dark);
}
.pdp-tab-panel.is-active {
    display: block;
}
.pdp-info-table {
    display: grid;
    gap: 10px;
    max-width: 480px;
}
.pdp-info-table > div {
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 12px;
    padding-bottom: 8px;
    border-bottom: 1px dashed var(--line);
    font-size: 14px;
}
.pdp-info-table dt {
    color: var(--muted);
}
.pdp-info-table dd {
    font-weight: 700;
    color: var(--ink);
}

/* ---------- Quick links (home) ---------- */
.quick-links {
    padding-block: var(--section-space);
}
.quick-links + .section {
    padding-top: 0;
}
.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
}
.quick-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px 10px;
    border-radius: var(--radius-m);
    background: var(--surface);
    border: 1px solid transparent;
    transition:
        transform 220ms var(--ease-out),
        box-shadow 220ms var(--ease-out),
        background 220ms var(--ease-out);
}
.quick-link:hover {
    background: #fff;
    border-color: var(--line);
    transform: translateY(-3px);
    box-shadow: 0 12px 26px rgba(10, 10, 10, 0.06);
}
.quick-link-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #fff;
    color: var(--ink);
}
.quick-link-icon.is-red {
    background: #ffe6e0;
    color: #c4472f;
}
.quick-link-icon.is-blue {
    background: #e2f2fe;
    color: #1c74b8;
}
.quick-link-icon.is-gray {
    background: #eceff2;
    color: #5a6470;
}
.quick-link-icon.is-gold {
    background: #fdf0d2;
    color: #b07a13;
}
.quick-link-icon.is-envelope {
    background: #e8e6fb;
    color: #5a4fbf;
}
.quick-link-label {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--ink);
}
@media (max-width: 768px) {
    .quick-links-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
    .quick-link {
        padding: 14px 6px;
    }
    .quick-link-icon {
        width: 42px;
        height: 42px;
    }
    .quick-link-label {
        font-size: 12px;
    }
}
@media (max-width: 480px) {
    .quick-links-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ---------- Price slider refined ---------- */
.price-slider {
    position: relative;
    display: block;
    height: 24px;
}
.price-slider-track {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 4px;
    margin-top: -2px;
    border-radius: 2px;
    background: var(--line);
    overflow: hidden;
}
.price-slider-fill {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--accent-deep);
    border-radius: 2px;
}
.price-slider input[type="range"] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 24px;
    margin: 0;
    background: transparent;
    -webkit-appearance: none;
    appearance: none;
    pointer-events: none;
}
.price-slider input[type="range"]::-webkit-slider-runnable-track {
    height: 24px;
    background: transparent;
}
.price-slider input[type="range"]::-moz-range-track {
    height: 24px;
    background: transparent;
}
.price-slider input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    pointer-events: auto;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--accent-deep);
    border: 2px solid #fff;
    margin-top: 4px;
    box-shadow: 0 1px 4px rgba(10, 10, 10, 0.28);
    cursor: pointer;
}
.price-slider input[type="range"]::-moz-range-thumb {
    pointer-events: auto;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--accent-deep);
    border: 2px solid #fff;
    box-shadow: 0 1px 4px rgba(10, 10, 10, 0.28);
    cursor: pointer;
}

/* ---------- Mobile: home pyramid grid 2 columns ---------- */
@media (max-width: 768px) {
    .pyramid-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ---------- Storefront modal (address) ---------- */
.modal {
    position: fixed;
    inset: 0;
    z-index: 320;
    display: none;
}
.modal.is-open {
    display: grid;
    place-items: center;
    padding: 16px;
}
.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 10, 0.5);
}
.modal-card {
    position: relative;
    z-index: 1;
    width: min(560px, 100%);
    max-height: 88vh;
    overflow-y: auto;
    background: #fff;
    border-radius: var(--radius-l);
    box-shadow: 0 24px 60px rgba(10, 10, 10, 0.24);
}
.modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px;
    border-bottom: 1px solid var(--line);
}
.modal-head h2 {
    font-size: 1.2rem;
}
.modal-body {
    padding: 20px 22px;
    display: grid;
    gap: 14px;
}
.modal-foot {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 16px 22px;
    border-top: 1px solid var(--line);
}

/* ---------- Checkout (production structure) ---------- */
.recipient-box {
    border-top: 1px solid var(--line);
    padding: 12px 0 0;
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.6;
}
.recipient-note {
    color: var(--muted);
    font-size: 13px;
}
.recipient-label {
    color: var(--muted);
    margin-top: 8px;
}
.recipient-address {
    color: var(--muted);
    font-size: 13.5px;
    margin-top: 4px;
}
.recipient-box .badge {
    margin-top: 10px;
    display: inline-flex;
    cursor: pointer;
}
.dropshipper-fields {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px dashed var(--line-strong);
}
.review-table {
    min-width: 0;
}
.review-table th,
.review-table td {
    padding: 10px 12px;
}
.review-qty {
    color: var(--muted);
    font-weight: 500;
    margin-left: 6px;
}
.review-table tbody tr th {
    font-weight: 600;
    color: var(--muted);
    text-align: left;
}
.review-total th,
.review-total td {
    border-top: 1px solid var(--line);
    font-size: 15px;
}
.redeem-box {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
}
.redeem-label {
    font-size: 13.5px;
    font-weight: 700;
}
.redeem-options {
    display: flex;
    gap: 18px;
    margin-top: 8px;
    font-size: 14px;
}
.redeem-options label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.checkout-policy {
    font-size: 12px;
    color: var(--muted);
    margin: 14px 0;
    line-height: 1.6;
}

/* ---------- Checkout: courier services ---------- */
.service-list {
    display: grid;
    gap: 8px;
}
.service-option {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border: 1.5px solid var(--line);
    border-radius: var(--radius-s);
    cursor: pointer;
    transition:
        border-color 160ms var(--ease-out),
        background 160ms var(--ease-out);
}
.service-option:hover {
    border-color: var(--line-strong);
}
.service-option:has(input:checked) {
    border-color: var(--accent-deep);
    background: var(--accent-soft);
}
.service-option input {
    accent-color: var(--accent-deep);
}
.service-info {
    display: grid;
    gap: 2px;
}
.service-info strong {
    font-size: 14px;
}
.service-info small {
    font-size: 12px;
    color: var(--muted);
}
.service-price {
    font-weight: 800;
    font-size: 14px;
    white-space: nowrap;
}
.field select {
    -webkit-appearance: none;
    appearance: none;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236b7178' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}
.field select:focus,
.field select:focus-visible,
.field select:active {
    outline: none;
    border-color: var(--accent-deep);
    box-shadow: 0 0 0 3px rgba(14, 123, 184, 0.14);
}
.service-option input[type="radio"] {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    padding: 0;
    border: 2px solid var(--line-strong);
    border-radius: 50%;
    background: #fff;
    display: grid;
    place-items: center;
    margin: 0;
    cursor: pointer;
    outline: none;
    box-shadow: none;
}
.service-option input[type="radio"]::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-deep);
    transform: scale(0);
    transition: transform 120ms var(--ease-out);
}
.service-option input[type="radio"]:checked {
    border-color: var(--accent-deep);
}
.service-option input[type="radio"]:checked::before {
    transform: scale(1);
}
.service-option input[type="radio"]:focus,
.service-option input[type="radio"]:focus-visible {
    outline: none;
    box-shadow: none;
}
.service-option input[type="radio"]:focus-visible {
    box-shadow: 0 0 0 3px rgba(14, 123, 184, 0.18);
}

/* ---------- Checkout: order review ---------- */
.checkout-summary {
    position: sticky;
    top: calc(var(--header-h) + 20px);
}
.review-items {
    display: grid;
    margin-bottom: 14px;
}
.review-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    padding: 11px 0;
    border-bottom: 1px solid var(--line);
    font-size: 13.5px;
}
.review-item:first-child {
    border-top: 1px solid var(--line);
}
.review-item-name a {
    font-weight: 600;
    color: var(--ink);
}
.review-item-name small {
    color: var(--muted);
    margin-left: 6px;
}
.review-item strong {
    white-space: nowrap;
}
.review-totals {
    display: grid;
    gap: 8px;
}
.review-totals .summary-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 13.5px;
}
.review-grand {
    margin-top: 16px;
}

/* ---------- Badges & special tabs spacing ---------- */
.badge-po {
    background: #fdf0d2;
    color: #8a5a00;
}
.special-tabs .tab-panel {
    padding-top: 28px;
}

/* ---------- Payment success ---------- */
.success-banner {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    padding: clamp(22px, 4vw, 34px);
    border-radius: var(--radius-l);
    background: var(--accent-soft);
    border: 1px solid var(--accent);
}
.success-icon {
    flex: none;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--accent-deep);
    color: #fff;
    display: grid;
    place-items: center;
}
.success-banner h1 {
    font-size: clamp(1.4rem, 2.6vw, 1.9rem);
}
.success-banner p {
    color: var(--muted-dark);
    margin-top: 6px;
    max-width: 62ch;
}
.success-order {
    margin-top: 10px;
    font-size: 14px;
}
.order-shipping {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
}

/* ---------- Pre-order payment ---------- */
.dp-box {
    display: grid;
    gap: 8px;
    margin-top: 12px;
}
.dp-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px dashed var(--line);
    font-size: 14px;
}
.dp-row:last-child {
    border-bottom: none;
}

/* ---------- Home: deal slider + countdown ---------- */
.deal-head {
    align-items: flex-end;
}
.deal-toolbar {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.deal-toolbar .countdown {
    gap: 6px;
    justify-content: flex-end;
}
.deal-toolbar .countdown-cell {
    background: linear-gradient(180deg, #e8f7fe 0%, #d3efff 100%);
    border: 1px solid var(--accent);
    border-radius: var(--radius-s);
    padding: 8px 12px;
    min-width: 56px;
}
.deal-toolbar .countdown-cell strong {
    font-size: 18px;
    color: var(--accent-deep);
}
.deal-toolbar .countdown-cell span {
    font-size: 11px;
    color: var(--muted-dark);
}
.deal-wrap {
    position: relative;
}
.deal-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--line-strong);
    background: #fff;
    color: var(--ink);
    display: grid;
    place-items: center;
    cursor: pointer;
    box-shadow: var(--shadow-1);
    transition: background 160ms var(--ease-out);
}
.deal-arrow:hover {
    background: var(--accent-soft);
    color: var(--accent-deep);
}
.deal-arrow-prev {
    left: -18px;
}
.deal-arrow-next {
    right: -18px;
}
.deal-slider {
    grid-auto-columns: minmax(220px, 250px);
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
    touch-action: pan-y;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
}
.deal-slider::-webkit-scrollbar {
    display: none;
}
.deal-slider.is-dragging {
    cursor: grabbing;
    scroll-snap-type: none;
}

/* ---------- Home: kategori ringkas (5 per baris) ---------- */
.pyramid-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
}
.pyramid-grid .category-item {
    justify-items: center;
    text-align: center;
    gap: 8px;
    padding: 8px 4px 6px;
    background: transparent;
    border: 1px solid transparent;
}
.pyramid-grid .category-item:hover {
    background: var(--accent-soft);
    border-color: var(--accent);
}
.pyramid-grid .category-thumb {
    width: 152px;
    height: 152px;
    aspect-ratio: auto;
    border-radius: var(--radius-s);
}
.pyramid-grid .category-name {
    margin-top: 2px;
    font-size: 13.5px;
}
.pyramid-grid .category-count {
    display: none;
}

@media (max-width: 1024px) {
    .pyramid-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .pyramid-grid .category-thumb {
        width: 132px;
        height: 132px;
    }
}
@media (max-width: 640px) {
    .deal-head {
        flex-direction: column;
        align-items: flex-start;
    }
    .deal-toolbar {
        width: 100%;
    }
    .deal-arrow {
        width: 34px;
        height: 34px;
    }
    .deal-arrow-prev {
        left: 0;
    }
    .deal-arrow-next {
        right: 0;
    }
    /* Deal cards lebih ringkas di mobile */
    .deal-slider {
        grid-auto-columns: minmax(144px, 160px);
        gap: 10px;
    }
    .deal-slider .product-card {
        gap: 8px;
    }
    .deal-slider .product-name {
        font-size: 12px;
        line-height: 1.3;
    }
    .deal-slider .price {
        font-size: 13.5px;
    }
    .deal-slider .price-old {
        font-size: 11px;
    }
    .deal-slider .badge {
        padding: 3px 7px;
        font-size: 10px;
    }
    .deal-slider .product-badges {
        top: 8px;
        left: 8px;
        gap: 4px;
    }
    /* Mobile: tambah ke keranjang jadi ikon bulat di pojok kiri bawah */
    .deal-slider .product-quickadd {
        left: 8px;
        right: auto;
        bottom: 8px;
        width: 34px;
        height: 34px;
        padding: 0;
        border-radius: 50%;
        gap: 0;
        box-shadow: var(--shadow-1);
    }
    .deal-slider .product-quickadd span {
        display: none;
    }
    .deal-slider .product-quickadd.is-out {
        right: auto;
        width: auto;
        height: 30px;
        padding: 0 10px;
        border-radius: var(--radius-pill);
        font-size: 10.5px;
    }
    .deal-slider .product-wish {
        top: 6px;
        right: 6px;
        width: 30px;
        height: 30px;
    }
    .pyramid-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }
    .pyramid-grid .category-item {
        padding: 6px 2px 4px;
    }
    .pyramid-grid .category-thumb {
        width: 104px;
        height: 104px;
    }
    .pyramid-grid .category-name {
        margin-top: 0;
        font-size: 12.5px;
    }
}

/* ---------- Produk page: 5 cards per row ---------- */
.page-produk .product-grid {
    grid-template-columns: repeat(5, 1fr);
}
@media (max-width: 1200px) {
    .page-produk .product-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
@media (max-width: 900px) {
    .page-produk .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 640px) {
    .page-produk .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
.page-link.is-disabled {
    opacity: 0.45;
    cursor: default;
    pointer-events: none;
}

/* ---------- Footer: contact + safe payments ---------- */
.footer-contact address {
    color: rgba(233, 235, 236, 0.72);
    font-style: normal;
    font-size: 13.5px;
    line-height: 1.6;
}
.footer-safe {
    gap: 12px;
}
.footer-payment-card {
    display: grid;
    gap: 10px;
    justify-items: start;
    padding: 14px;
    background: #fff;
    border-radius: var(--radius-m);
}
.footer-payment-method {
    width: 100%;
    max-width: 210px;
    border-radius: 4px;
    display: block;
}
.footer-secured {
    color: #6b7178;
    font-size: 12.5px;
    margin: 0;
}
.footer-secured-img {
    width: 150px;
    max-width: 100%;
    display: block;
}
/* ---------- Account mobile: 3-col nav + stacked tables ---------- */
@media (max-width: 640px) {
    .account-nav {
        grid-template-columns: repeat(3, 1fr);
    }

    .account-content .section-head {
        align-items: flex-start;
        flex-wrap: wrap;
        row-gap: 12px;
    }
    .account-content .section-head > div:last-child {
        flex-wrap: wrap;
        gap: 10px;
    }

    .account-content .table-wrap {
        overflow: visible;
        border: 0;
        background: none;
    }
    .account-content table.tbl {
        display: block;
        width: 100%;
        min-width: 0;
    }
    .account-content table.tbl thead {
        display: none;
    }
    .account-content table.tbl tbody {
        display: block;
    }
    .account-content table.tbl tr {
        display: block;
        margin-bottom: 10px;
        background: #fff;
        border: 1px solid var(--line);
        border-radius: var(--radius-m);
        overflow: hidden;
    }
    .account-content table.tbl tr:hover td {
        background: transparent;
    }
    .account-content table.tbl td {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 9px 14px;
        text-align: right;
    }
    .account-content table.tbl tr td:last-child {
        border-bottom: 0;
    }
    .account-content table.tbl td::before {
        content: attr(data-label);
        flex-shrink: 0;
        font-size: 12px;
        font-weight: 800;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        color: var(--muted);
        text-align: left;
    }
    .account-content .stat-grid {
        gap: 10px;
    }
    .account-content .stat-card {
        padding: 16px;
    }
    .account-content .stat-card strong {
        font-size: 22px;
    }
}

/* ---------- Special page: fullwidth tabs on mobile ---------- */
@media (max-width: 640px) {
    .special-tabs .tab-nav {
        display: flex;
        width: 100%;
    }
    .special-tabs .tab-btn {
        flex: 1 1 0;
        padding: 11px 8px;
        font-size: 14px;
        text-align: center;
    }
}

/* ---------- Production integration tweaks (redesign) ---------- */
a.product-wish {
    text-decoration: none;
}
.product-quickadd.is-out {
    background: rgba(10, 10, 10, 0.45);
    color: #fff;
    font-weight: 700;
    cursor: not-allowed;
}
@media (hover: none) {
    .product-grid .product-wish,
    .product-card .product-wish {
        opacity: 1;
        transform: none;
    }
    .product-card .product-quickadd {
        opacity: 1;
        transform: none;
    }
}

/* ---------- Warranty claim list ---------- */
.claim-list {
    display: grid;
    gap: 16px;
    padding: 22px;
}
.claim-card {
    display: grid;
    gap: 14px;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-m);
}
.claim-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}
.claim-card-title {
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
}
.claim-ticket {
    font-size: 15px;
    font-weight: 800;
    color: var(--ink);
}
.claim-date {
    font-size: 12.5px;
    color: var(--muted);
}
.claim-badge {
    display: inline-flex;
    align-items: center;
    padding: 5px 11px;
    border: 1px solid var(--line);
    border-radius: var(--radius-pill);
    background: var(--surface);
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}
.claim-badge.is-pending {
    background: #fff7e6;
    border-color: #f2d69a;
    color: #8a5a00;
}
.claim-badge.is-process {
    background: #eaf5fd;
    border-color: #b9dcf5;
    color: #0b5d8a;
}
.claim-badge.is-done {
    background: #e9f9ef;
    border-color: #b4e6c5;
    color: #126b36;
}
.claim-badge.is-reject {
    background: #fdecec;
    border-color: #f6c2c2;
    color: #9b1c1c;
}
.claim-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 24px;
    margin: 0;
}
.claim-meta-row {
    display: grid;
    grid-template-columns: 108px minmax(0, 1fr);
    gap: 8px;
    font-size: 13.5px;
}
.claim-meta-row dt {
    color: var(--muted);
    font-weight: 600;
}
.claim-meta-row dd {
    margin: 0;
    color: var(--ink);
    overflow-wrap: anywhere;
}
.claim-chip {
    display: inline-block;
    padding: 2px 9px;
    border: 1px solid var(--line);
    border-radius: var(--radius-pill);
    background: var(--surface);
    font-size: 12px;
    font-weight: 700;
}
.claim-desc {
    margin: 0;
    font-size: 13.5px;
    color: var(--ink);
    overflow-wrap: anywhere;
}
.claim-desc span {
    display: block;
    margin-bottom: 2px;
    font-weight: 600;
    color: var(--muted);
}
.claim-media {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}
.claim-media img,
.claim-memo img {
    width: auto;
    height: 64px;
    max-width: 96px;
    object-fit: cover;
    border: 1px solid var(--line);
    border-radius: 8px;
    cursor: pointer;
}
.claim-media video {
    max-width: 180px;
    border-radius: 8px;
}
.claim-memo {
    padding: 10px 12px;
    background: var(--accent-soft);
    border-left: 3px solid var(--accent);
    border-radius: 0 10px 10px 0;
    font-size: 13.5px;
    overflow-wrap: anywhere;
}
.claim-memo-label {
    display: block;
    margin-bottom: 4px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
}
.claim-card-foot {
    display: flex;
    justify-content: flex-end;
}
.claim-empty {
    padding: 48px 20px;
    text-align: center;
    color: var(--muted);
    font-size: 14px;
}
.claim-empty strong {
    display: block;
    margin-bottom: 6px;
    font-size: 16px;
    color: var(--ink);
}
.claim-empty p {
    margin: 0;
}
.claim-empty.is-error {
    color: #9b1c1c;
}

/* Claim modal */
.claim-modal-card {
    position: relative;
    z-index: 2;
    width: min(600px, 94vw);
    max-height: 90vh;
    margin: auto;
    padding: 20px 22px;
    overflow: auto;
    background: #fff;
    border-radius: 16px;
}
.claim-modal-title {
    margin: 0 0 16px;
    font-size: 18px;
}
.claim-field {
    position: relative;
    margin-bottom: 12px;
}
.claim-suggest {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 5;
    max-height: 220px;
    overflow: auto;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    box-shadow: 0 12px 30px rgba(10, 10, 10, 0.08);
}
.claim-suggest[hidden] {
    display: none;
}
.claim-suggest button {
    display: block;
    width: 100%;
    padding: 10px 12px;
    border: 0;
    border-bottom: 1px solid var(--line);
    background: none;
    font: inherit;
    font-size: 13.5px;
    text-align: left;
    cursor: pointer;
}
.claim-suggest button:last-child {
    border-bottom: 0;
}
.claim-suggest button:hover {
    background: var(--surface);
}
.claim-preview {
    margin-bottom: 6px;
}
.claim-preview img {
    max-height: 70px;
    margin: 0 6px 6px 0;
    border: 1px solid var(--line);
    border-radius: 8px;
}
.claim-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}
.claim-lightbox {
    position: fixed;
    inset: 0;
    z-index: 500;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(10, 10, 10, 0.82);
}
.claim-lightbox[hidden] {
    display: none;
}
.claim-lightbox img {
    max-width: min(920px, 94vw);
    max-height: 88vh;
    background: #fff;
    border-radius: 12px;
}
.claim-lightbox-close {
    position: absolute;
    top: 16px;
    right: 16px;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    cursor: pointer;
}
.claim-lightbox-close:hover {
    background: rgba(255, 255, 255, 0.28);
}
.admin-panel-sub {
    margin: 4px 0 0;
    font-size: 13px;
    color: var(--muted);
}

@media (max-width: 760px) {
    .claim-list {
        padding: 16px;
    }
    .claim-card {
        padding: 16px;
    }
    .claim-meta {
        grid-template-columns: 1fr;
    }
    .claim-meta-row {
        grid-template-columns: 96px minmax(0, 1fr);
    }
}
