/* ==========================================================================
   Zano Storefront — core stylesheet
   Satu basis komponen untuk semua desain. Tampilan tiap desain diatur lewat
   variabel di themes/{atelier|noir|blossom}.css.
   ========================================================================== */

/* ---------- 1. Token (nilai bawaan; ditimpa file tema) ---------- */

:root {
    --zf-ink: #141414;
    --zf-ink-2: #3b3936;
    --zf-muted: #7a756e;
    --zf-line: #e9e3da;
    --zf-line-strong: #d8d0c4;
    --zf-bg: #ffffff;
    --zf-surface: #ffffff;
    --zf-soft: #f8f5f0;
    --zf-sand: #efe8de;
    --zf-accent: #b3261e;
    --zf-accent-ink: #ffffff;
    --zf-accent-soft: #fbe9e7;
    --zf-gold: #a8823f;
    --zf-success: #2f7d4f;
    --zf-success-soft: #e7f3ec;
    --zf-warning: #b7791f;
    --zf-warning-soft: #fbf1e1;

    --zf-font-sans: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
    --zf-font-display: "Playfair Display", Georgia, "Times New Roman", serif;
    --zf-display-weight: 600;
    --zf-display-transform: none;
    --zf-display-tracking: -.01em;

    --zf-radius-sm: 3px;
    --zf-radius: 6px;
    --zf-radius-lg: 12px;
    --zf-radius-btn: 6px;
    --zf-radius-media: 6px;
    --zf-border-w: 1px;

    --zf-shadow: 0 10px 30px rgba(20, 20, 20, .06);
    --zf-shadow-lg: 0 20px 50px rgba(20, 20, 20, .12);
    --zf-ease: cubic-bezier(.2, .7, .2, 1);

    --zf-btn-tracking: .14em;
    --zf-btn-transform: uppercase;
    --zf-btn-weight: 600;
    --zf-label-tracking: .08em;
    --zf-label-transform: uppercase;
    --zf-eyebrow-tracking: .22em;

    --zf-announce-bg: var(--zf-ink);
    --zf-announce-fg: #f1ece4;
    --zf-header-bg: rgba(255, 255, 255, .96);
    --zf-header-fg: var(--zf-ink);
    --zf-header-line: var(--zf-line);
    --zf-footer-bg: var(--zf-ink);
    --zf-footer-fg: #cfc8bd;
    --zf-footer-muted: #a39b8f;
    --zf-footer-title: #ffffff;
    --zf-section-soft: var(--zf-soft);
    --zf-hero-bg: var(--zf-ink);
    --zf-hero-overlay: linear-gradient(180deg, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, .55) 100%);
    --zf-hero-overlay-wide: linear-gradient(90deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .15) 55%, rgba(0, 0, 0, 0) 100%);
    --zf-card-bg: transparent;
    --zf-card-pad: 0;
    --zf-card-border: transparent;
    --zf-card-media-bg: var(--zf-soft);
    --zf-tag-bg: rgba(255, 255, 255, .92);
    --zf-tag-fg: var(--zf-ink);

    --zf-gutter: 16px;
    --zf-header-h: 68px;
    --zf-bottom-nav-h: 0px;
    --zf-container: 1320px;

    /* Variabel lama yang masih dibaca style inline beberapa halaman */
    --primary-color: var(--zf-accent);
    --dark-color: var(--zf-ink);
}

@media (min-width: 768px) {
    :root { --zf-gutter: 28px; --zf-header-h: 76px; }
}

/* ---------- 2. Dasar ---------- */

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

html {
    overflow-x: hidden;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

html, body { min-height: 100%; }

body.zf-body {
    margin: 0;
    font-family: var(--zf-font-sans);
    font-size: 15px;
    line-height: 1.6;
    color: var(--zf-ink-2);
    background: var(--zf-bg);
    overflow-x: clip;
    padding-bottom: var(--zf-bottom-nav-h);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.zf-body h1, .zf-body h2, .zf-body h3, .zf-body h4, .zf-body h5, .zf-body h6 {
    margin: 0;
    font-family: var(--zf-font-sans);
    color: var(--zf-ink);
    font-weight: 600;
    line-height: 1.25;
}
.zf-body h1 { font-size: clamp(30px, 5vw, 48px); }
.zf-body h2 { font-size: clamp(26px, 4vw, 36px); }
.zf-body h3 { font-size: clamp(22px, 3vw, 28px); }
.zf-body h4 { font-size: 20px; }
.zf-body h5 { font-size: 17px; }
.zf-body h6 { font-size: 15px; }

.zf-body p { margin: 0 0 14px; font-family: var(--zf-font-sans); color: var(--zf-ink-2); }

.zf-body ul, .zf-body ol { margin: 0; padding: 0; }

.zf-body img, .zf-body video, .zf-body iframe { max-width: 100%; }
.zf-body img { vertical-align: middle; }

.zf-body a { color: inherit; text-decoration: none; transition: color .2s ease; }
.zf-body a:hover { color: var(--zf-accent); text-decoration: none; }

.zf-body button { font-family: inherit; }

.zf-body :focus { outline: none; }
.zf-body :focus-visible { outline: 2px solid var(--zf-accent); outline-offset: 2px; }

.zf-body ::selection { background: var(--zf-ink); color: #fff; }

.zf-body ::placeholder { color: #a8a199; font-weight: 400; opacity: 1; letter-spacing: 0; text-transform: none; }

html.zf-locked, html.zf-locked body { overflow: hidden; }

.zf-skip-link {
    position: absolute;
    left: 12px;
    top: -60px;
    z-index: 100000;
    background: var(--zf-ink);
    color: #fff !important;
    padding: 10px 16px;
    border-radius: var(--zf-radius);
}
.zf-skip-link:focus { top: 12px; }

.zf-muted { color: var(--zf-muted) !important; }

.zf-sr-only {
    position: absolute !important;
    width: 1px; height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

/* ---------- 3. Layout ---------- */

.zf-container,
.zf-body main > section > .container,
.zf-body main > div > .container {
    width: 100%;
    max-width: var(--zf-container);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--zf-gutter);
    padding-right: var(--zf-gutter);
}

.zf-body main .container-fluid { padding-left: var(--zf-gutter); padding-right: var(--zf-gutter); }

.zf-body .row { margin-left: -8px; margin-right: -8px; }
.zf-body .row > [class*="col"] { padding-left: 8px; padding-right: 8px; }
@media (min-width: 992px) {
    .zf-body .row { margin-left: -12px; margin-right: -12px; }
    .zf-body .row > [class*="col"] { padding-left: 12px; padding-right: 12px; }
}

.zf-body .spad { padding-top: 56px; padding-bottom: 56px; }
@media (min-width: 992px) { .zf-body .spad { padding-top: 80px; padding-bottom: 80px; } }
@media (max-width: 767px) {
    .zf-body main > section:first-child:not(.zf-hero):not(.zf-greet) { padding-top: 32px; }
}

/* Latar section lama (pastel/gradien) diseragamkan */
.zf-body [class*="section-bg-"] { background: var(--zf-bg) !important; }
.zf-body .section-pattern-overlay { position: relative; }
.zf-body .section-pattern-overlay::before,
.zf-body .section-pattern-overlay::after { display: none !important; }

.zf-section { padding: 52px 0; }
.zf-section--tight { padding: 40px 0 24px; }
.zf-section--soft { background: var(--zf-section-soft); }
@media (min-width: 992px) {
    .zf-section { padding: 84px 0; }
    .zf-section--tight { padding: 64px 0 32px; }
}

/* Gambar latar via data-setbg (dipasang oleh storefront.js) */
.zf-body .set-bg { background-repeat: no-repeat; background-size: cover; background-position: top center; }

/* ---------- 4. Tipografi komponen ---------- */

.zf-eyebrow,
.zf-body .store-subtitle {
    display: inline-block;
    font-family: var(--zf-font-sans);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: var(--zf-eyebrow-tracking);
    text-transform: uppercase;
    color: var(--zf-accent);
    margin-bottom: 10px;
}
.zf-eyebrow--light { color: rgba(255, 255, 255, .85) !important; }

.zf-title,
.zf-body .store-title-main {
    font-family: var(--zf-font-display) !important;
    font-weight: var(--zf-display-weight);
    font-size: clamp(26px, 4.2vw, 40px);
    line-height: 1.15;
    color: var(--zf-ink);
    margin: 0 0 10px;
    letter-spacing: var(--zf-display-tracking);
    text-transform: var(--zf-display-transform);
}
.zf-body .store-title-main::after { display: none; }

.zf-lead,
.zf-body .store-description {
    font-size: 15px;
    color: var(--zf-muted);
    max-width: 560px;
    margin: 0;
}

.zf-body .store-header { margin-bottom: 18px; text-align: center; }
.zf-body .store-header .store-description { margin-left: auto; margin-right: auto; }

.zf-body .store-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin: 0 auto 32px;
    max-width: 160px;
}
.zf-body .store-divider::before,
.zf-body .store-divider::after { content: ""; flex: 1; height: 1px; background: var(--zf-line-strong); }
.zf-body .store-divider span,
.zf-body .store-divider span i { color: var(--zf-gold) !important; background: transparent !important; box-shadow: none !important; font-size: 12px; }
.zf-body .store-divider span::before,
.zf-body .store-divider span::after { display: none; }
@media (max-width: 767px) { .zf-body .store-divider { margin-bottom: 22px; } }

/* Judul blok sederhana (.section-title h4) */
.zf-body .section-title { margin-bottom: 28px; }
.zf-body .section-title h4,
.zf-body .related__title h5 {
    position: relative;
    display: inline-block;
    font-family: var(--zf-font-display);
    font-weight: var(--zf-display-weight);
    text-transform: var(--zf-display-transform);
    font-size: 22px;
    color: var(--zf-ink);
    padding-bottom: 8px;
}
.zf-body .section-title h4::after,
.zf-body .related__title h5::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 48px;
    height: 2px;
    background: var(--zf-accent);
}
.zf-body .related__title { margin-bottom: 24px; }

.zf-section-head { text-align: center; margin-bottom: 28px; }
.zf-section-head .zf-lead { margin: 0 auto; }
.zf-section-head--row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    text-align: left;
    flex-wrap: wrap;
}
.zf-section-head--row .zf-lead { margin: 0; }

.zf-link-arrow {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--zf-ink) !important;
    border-bottom: 1px solid var(--zf-ink);
    padding-bottom: 3px;
    white-space: nowrap;
}
.zf-link-arrow i { margin-left: 6px; transition: transform .25s var(--zf-ease); }
.zf-link-arrow:hover i { transform: translateX(4px); }

/* ---------- 5. Tombol ---------- */

.zf-btn,
.zf-body .primary-btn,
.zf-body .site-btn,
.zf-body .cart-btn,
.zf-body .btn-checkout-premium,
.zf-body .btn-fashion-dark,
.zf-body .btn-fashion-outline,
.zf-body .btn-fashion-search,
.zf-body .btn-discover-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 12px 28px;
    font-family: var(--zf-font-sans);
    font-size: 13px;
    font-weight: var(--zf-btn-weight);
    letter-spacing: var(--zf-btn-tracking);
    text-transform: var(--zf-btn-transform);
    line-height: 1.2;
    border-radius: var(--zf-radius-btn);
    border: var(--zf-border-w) solid var(--zf-ink);
    background: var(--zf-ink);
    color: #fff !important;
    cursor: pointer;
    transition: background .25s ease, color .25s ease, border-color .25s ease, transform .25s var(--zf-ease), box-shadow .25s ease;
    box-shadow: none;
    animation: none;
    text-decoration: none !important;
    white-space: nowrap;
}

.zf-btn:hover,
.zf-body .primary-btn:hover,
.zf-body .site-btn:hover,
.zf-body .cart-btn:hover,
.zf-body .btn-checkout-premium:hover,
.zf-body .btn-fashion-dark:hover,
.zf-body .btn-fashion-search:hover {
    background: var(--zf-accent);
    border-color: var(--zf-accent);
    color: var(--zf-accent-ink) !important;
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, .14);
}

.zf-btn:disabled,
.zf-body .site-btn:disabled,
.zf-body button:disabled { opacity: .6; cursor: not-allowed; transform: none; box-shadow: none; }

.zf-btn--outline,
.zf-body .btn-fashion-outline { background: transparent; color: var(--zf-ink) !important; }
.zf-btn--outline:hover,
.zf-body .btn-fashion-outline:hover { background: var(--zf-ink); border-color: var(--zf-ink); color: #fff !important; box-shadow: none; }

.zf-btn--light,
.zf-body .btn-discover-more { background: #fff; border-color: #fff; color: var(--zf-ink) !important; }
.zf-btn--light:hover,
.zf-body .btn-discover-more:hover { background: var(--zf-ink); border-color: var(--zf-ink); color: #fff !important; box-shadow: none; }

.zf-btn--ghost-light { background: transparent; border-color: rgba(255, 255, 255, .8); color: #fff !important; }
.zf-btn--ghost-light:hover { background: #fff; border-color: #fff; color: var(--zf-ink) !important; box-shadow: none; }

.zf-btn--dark { background: var(--zf-ink); }
.zf-btn--sm { min-height: 40px; padding: 9px 18px; font-size: 12px; }
.zf-btn--block { display: flex; width: 100%; }

/* ---------- 6. Form ---------- */

.zf-body input[type="text"],
.zf-body input[type="email"],
.zf-body input[type="tel"],
.zf-body input[type="password"],
.zf-body input[type="number"],
.zf-body input[type="search"],
.zf-body input[type="date"],
.zf-body select,
.zf-body textarea,
.zf-body .form-control,
.zf-body .input-fashion,
.zf-body .input-fashion-minimal,
.zf-body .textarea-fashion,
.zf-body .custom-select-glam {
    font-family: var(--zf-font-sans);
    font-size: 16px; /* 16px mencegah zoom otomatis di iOS */
    color: var(--zf-ink);
    background-color: var(--zf-surface);
    border: var(--zf-border-w) solid var(--zf-line-strong);
    border-radius: var(--zf-radius);
    min-height: 48px;
    padding: 11px 14px;
    width: 100%;
    max-width: 100%;
    box-shadow: none;
    transition: border-color .2s ease, box-shadow .2s ease;
    text-transform: none;
    letter-spacing: 0;
}
.zf-body textarea, .zf-body .textarea-fashion { min-height: 110px; }

.zf-body input:focus,
.zf-body select:focus,
.zf-body textarea:focus,
.zf-body .form-control:focus,
.zf-body .input-fashion:focus,
.zf-body .input-fashion-minimal:focus {
    border-color: var(--zf-ink) !important;
    box-shadow: 0 0 0 3px rgba(20, 20, 20, .08) !important;
    outline: none;
}

.zf-body input[type="checkbox"],
.zf-body input[type="radio"] { accent-color: var(--zf-ink); width: 18px; height: 18px; min-height: 0; }

.zf-body label,
.zf-body .form-label-premium,
.zf-body .summary-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: var(--zf-label-tracking);
    text-transform: var(--zf-label-transform);
    color: var(--zf-ink-2);
}

@media (min-width: 768px) {
    .zf-body input, .zf-body select, .zf-body textarea, .zf-body .form-control { font-size: 15px; }
}

/* Checkout: blok input lama */
.zf-body .checkout__form__input p { color: var(--zf-ink-2); font-weight: 500; margin-bottom: 8px; }
.zf-body .checkout__form__input p span { color: var(--zf-accent); }
.zf-body .checkout__form__input input,
.zf-body .checkout__form__input textarea { margin-bottom: 18px; }

.zf-body .alert { border-radius: var(--zf-radius); border: 0; }

/* ---------- 7. Announcement bar ---------- */

.zf-announce { background: var(--zf-announce-bg); color: var(--zf-announce-fg); font-size: 12px; letter-spacing: .06em; overflow: hidden; }
.zf-announce__track { display: flex; justify-content: center; gap: 40px; padding: 8px var(--zf-gutter); white-space: nowrap; }
.zf-announce__track span { display: inline-flex; align-items: center; gap: 8px; }
.zf-announce__track i { color: var(--zf-gold); }
@media (max-width: 767px) {
    .zf-announce__track { justify-content: flex-start; animation: zf-marquee 22s linear infinite; width: max-content; }
}
@keyframes zf-marquee { from { transform: translateX(0); } to { transform: translateX(-55%); } }

/* ---------- 8. Header ---------- */

.zf-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: var(--zf-header-bg);
    color: var(--zf-header-fg);
    backdrop-filter: saturate(160%) blur(10px);
    -webkit-backdrop-filter: saturate(160%) blur(10px);
    border-bottom: var(--zf-border-w) solid var(--zf-header-line);
    transition: box-shadow .25s ease;
}
.zf-header.is-scrolled { box-shadow: 0 6px 24px rgba(20, 20, 20, .06); }

.zf-header__inner {
    max-width: 1440px;
    margin: 0 auto;
    height: var(--zf-header-h);
    padding: 0 var(--zf-gutter);
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 12px;
}

.zf-logo { display: inline-flex; align-items: center; }
.zf-logo img { height: 34px; width: auto; object-fit: contain; mix-blend-mode: multiply; }

.zf-nav ul { display: flex; justify-content: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.zf-nav a {
    position: relative;
    display: block;
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--zf-header-fg) !important;
}
.zf-nav a::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 4px;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s var(--zf-ease);
}
.zf-nav a:hover::after, .zf-nav a.is-active::after { transform: scaleX(1); }

.zf-header__actions { display: flex; align-items: center; justify-content: flex-end; gap: 4px; }

.zf-icon-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--zf-header-fg) !important;
    font-size: 18px;
    cursor: pointer;
    transition: background .2s ease;
}
.zf-icon-btn:hover { background: rgba(127, 127, 127, .12); }

.zf-cart-count {
    position: absolute;
    top: 4px;
    right: 2px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    display: none;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: var(--zf-accent);
    color: var(--zf-accent-ink);
    font-size: 10px;
    font-style: normal;
    font-weight: 700;
    line-height: 1;
}

.zf-header__burger { display: none; }
.zf-burger { display: inline-flex; flex-direction: column; gap: 5px; width: 20px; }
.zf-burger span { display: block; height: 1.5px; background: currentColor; border-radius: 2px; }
.zf-burger span:nth-child(2) { width: 70%; }

.zf-account__trigger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 44px;
    padding: 0 10px 0 6px;
    border: 1px solid var(--zf-line);
    border-radius: 999px;
    background: var(--zf-surface);
    color: var(--zf-ink);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
}
.zf-account__trigger img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.zf-account__trigger i { color: var(--zf-muted); }

.zf-account__menu {
    min-width: 250px;
    padding: 8px;
    margin-top: 10px !important;
    border: 1px solid var(--zf-line);
    border-radius: var(--zf-radius-lg);
    box-shadow: var(--zf-shadow-lg);
    background: var(--zf-surface);
}
.zf-account__menu .dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 12px;
    border-radius: var(--zf-radius);
    font-size: 14px;
    color: var(--zf-ink-2);
    background: none;
    width: 100%;
    border: 0;
    text-align: left;
}
.zf-account__menu .dropdown-item i { width: 18px; color: var(--zf-muted); }
.zf-account__menu .dropdown-item:hover { background: var(--zf-soft); color: var(--zf-ink); }
.zf-account__logout { color: var(--zf-accent) !important; }
.zf-account__head { display: flex; gap: 12px; align-items: center; padding: 10px 12px 12px; }
.zf-account__head img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.zf-account__head strong { display: block; color: var(--zf-ink); font-size: 14px; line-height: 1.3; }

.zf-badge {
    display: inline-block;
    margin-top: 4px;
    padding: 2px 8px;
    border-radius: 999px;
    background: var(--zf-sand);
    color: var(--zf-ink-2);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.zf-badge--gold { background: #f3e8d2; color: #7a5a1f; }

@media (max-width: 1199px) {
    .zf-nav a { padding: 10px; font-size: 12px; }
    .zf-account__name { display: none; }
}

@media (max-width: 991px) {
    :root { --zf-bottom-nav-h: calc(64px + env(safe-area-inset-bottom)); }
    .zf-header__inner { grid-template-columns: 1fr auto 1fr; }
    .zf-header__burger { display: inline-flex; justify-self: start; }
    .zf-nav { display: none; }
    .zf-logo { justify-self: center; }
    .zf-hide-sm { display: none; }
}

/* Banner pratinjau desain (hanya terlihat oleh admin) */
.zf-preview-bar {
    position: relative;
    z-index: 1031;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px 14px;
    padding: 8px var(--zf-gutter);
    background: #1f3b73;
    color: #fff;
    font-size: 13px;
}
.zf-preview-bar form { margin: 0; }
.zf-preview-bar a, .zf-preview-bar button {
    color: #fff !important;
    background: rgba(255, 255, 255, .14);
    border: 0;
    border-radius: 999px;
    padding: 5px 12px;
    font-size: 12px;
    cursor: pointer;
}

/* ---------- 9. Pencarian ---------- */

.zf-search { position: fixed; inset: 0; z-index: 1060; background: rgba(20, 20, 20, .45); opacity: 0; transition: opacity .25s ease; }
.zf-search.is-open { opacity: 1; }
.zf-search__panel {
    background: var(--zf-surface);
    padding: 18px var(--zf-gutter) 24px;
    max-height: 100%;
    overflow-y: auto;
    transform: translateY(-16px);
    transition: transform .3s var(--zf-ease);
}
.zf-search.is-open .zf-search__panel { transform: none; }
.zf-search__bar {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1.5px solid var(--zf-ink);
    padding-bottom: 6px;
}
.zf-search__bar > i { color: var(--zf-muted); font-size: 18px; }
.zf-search__bar .zf-icon-btn { color: var(--zf-ink) !important; }
.zf-body .zf-search__bar input {
    flex: 1;
    border: 0 !important;
    box-shadow: none !important;
    font-family: var(--zf-font-display);
    text-transform: var(--zf-display-transform);
    font-size: clamp(20px, 3vw, 28px);
    padding: 8px 0;
    min-height: 0;
    background: transparent;
}
.zf-search__hint { max-width: 820px; margin: 8px auto 0; font-size: 12px; color: var(--zf-muted); }
.zf-search__results { max-width: 820px; margin: 12px auto 0; }
.zf-search__state { padding: 18px 0; color: var(--zf-muted); }
.zf-search__item { display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--zf-line); }
.zf-search__item img { width: 56px; height: 72px; object-fit: cover; border-radius: var(--zf-radius-sm); background: var(--zf-soft); }
.zf-search__name { display: block; font-weight: 500; color: var(--zf-ink); text-transform: capitalize; }
.zf-search__meta { font-size: 12px; color: var(--zf-muted); }
.zf-search__price { font-weight: 600; color: var(--zf-ink); white-space: nowrap; }

.zf-spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid var(--zf-line-strong);
    border-top-color: var(--zf-ink);
    border-radius: 50%;
    vertical-align: -2px;
    animation: zf-spin .7s linear infinite;
}
@keyframes zf-spin { to { transform: rotate(360deg); } }

/* ---------- 10. Drawer & overlay ---------- */

.zf-overlay { position: fixed; inset: 0; z-index: 1050; background: rgba(20, 20, 20, .45); opacity: 0; transition: opacity .25s ease; }
.zf-overlay.is-open { opacity: 1; }

.zf-drawer {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 1055;
    width: min(86vw, 360px);
    background: var(--zf-surface);
    display: flex;
    flex-direction: column;
    transform: translateX(-100%);
    transition: transform .3s var(--zf-ease);
    overflow-y: auto;
    padding-bottom: env(safe-area-inset-bottom);
}
.zf-drawer.is-open { transform: none; }
.zf-drawer .zf-icon-btn { color: var(--zf-ink) !important; }
.zf-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--zf-line); }
.zf-drawer__head img { height: 30px; width: auto; mix-blend-mode: multiply; }
.zf-drawer__user { display: flex; gap: 12px; align-items: center; padding: 16px; background: var(--zf-soft); }
.zf-drawer__user img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.zf-drawer__user strong { display: block; color: var(--zf-ink); }
.zf-drawer__nav { display: flex; flex-direction: column; padding: 8px 0; }
.zf-drawer__nav a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    font-family: var(--zf-font-display);
    font-weight: var(--zf-display-weight);
    text-transform: var(--zf-display-transform);
    font-size: 20px;
    color: var(--zf-ink) !important;
    border-bottom: 1px solid var(--zf-line);
}
.zf-drawer__nav a i { color: var(--zf-muted); font-size: 16px; }
.zf-drawer__nav a.is-active { color: var(--zf-accent) !important; }
.zf-drawer__foot { margin-top: auto; padding: 18px 20px 24px; display: flex; flex-direction: column; gap: 10px; }
.zf-drawer__foot > a:not(.zf-btn) { display: flex; gap: 10px; align-items: center; padding: 6px 0; color: var(--zf-ink-2); }

/* ---------- 11. Bottom nav (HP) ---------- */

.zf-bottom-nav { display: none; }
@media (max-width: 991px) {
    .zf-bottom-nav {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1040;
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        height: var(--zf-bottom-nav-h);
        padding-bottom: env(safe-area-inset-bottom);
        background: var(--zf-header-bg);
        border-top: 1px solid var(--zf-header-line);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }
    .zf-bottom-nav a, .zf-bottom-nav button {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3px;
        border: 0;
        background: none;
        color: var(--zf-muted) !important;
        font-size: 10px;
        font-weight: 500;
        letter-spacing: .04em;
        padding: 0;
    }
    .zf-bottom-nav i { font-size: 19px; }
    .zf-bottom-nav .is-active { color: var(--zf-header-fg) !important; }
    .zf-bottom-nav .zf-cart-count { top: 6px; right: calc(50% - 22px); }
}

/* ---------- 12. Slider (pengganti carousel pihak ketiga) ---------- */

.zf-slider { position: relative; }
.zf-slider__track {
    --per-view: 2;
    --gap: 12px;
    --peek: 24px;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - var(--peek) - (var(--per-view) - 1) * var(--gap)) / var(--per-view));
    gap: var(--gap);
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
}
.zf-slider__track::-webkit-scrollbar { display: none; }
.zf-slider__track > * { scroll-snap-align: start; min-width: 0; }
@media (min-width: 768px) { .zf-slider__track { --per-view: 3; --gap: 16px; --peek: 0px; } }
@media (min-width: 1200px) { .zf-slider__track { --gap: 20px; } }

.zf-slider__nav {
    position: absolute;
    top: 38%;
    z-index: 3;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: var(--zf-surface);
    box-shadow: 0 6px 20px rgba(0, 0, 0, .12);
    color: var(--zf-ink);
    font-size: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: opacity .2s ease, transform .2s ease;
}
.zf-slider__nav:hover { transform: scale(1.06); }
.zf-slider__nav[disabled] { opacity: 0; pointer-events: none; }
.zf-slider__nav--prev { left: -10px; }
.zf-slider__nav--next { right: -10px; }
@media (max-width: 767px) { .zf-slider__nav { display: none; } }

/* ---------- 13. Hero ---------- */

.zf-hero { position: relative; background: var(--zf-hero-bg); overflow: hidden; }
.zf-hero__track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 100%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
}
.zf-hero__track::-webkit-scrollbar { display: none; }
.zf-hero__slide {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: clamp(460px, 78vh, 720px);
    background-size: cover;
    background-position: center 30%;
    color: #fff;
    scroll-snap-align: start;
}
.zf-hero__slide::before { content: ""; position: absolute; inset: 0; background: var(--zf-hero-overlay); }
.zf-hero__content { position: relative; z-index: 2; padding-top: 48px; padding-bottom: 64px; }
.zf-hero__title {
    font-family: var(--zf-font-display) !important;
    font-weight: var(--zf-display-weight) !important;
    text-transform: var(--zf-display-transform);
    letter-spacing: var(--zf-display-tracking);
    color: #fff !important;
    font-size: clamp(34px, 7vw, 72px) !important;
    line-height: 1.05 !important;
    max-width: 12ch;
    margin: 0 0 14px;
    text-shadow: 0 2px 30px rgba(0, 0, 0, .2);
}
.zf-hero__text { color: rgba(255, 255, 255, .88) !important; font-size: 16px; max-width: 460px; margin-bottom: 26px; }
.zf-hero__cta { display: flex; flex-wrap: wrap; gap: 10px; }
.zf-hero__badge {
    position: absolute;
    z-index: 2;
    right: var(--zf-gutter);
    top: 24px;
    width: 92px;
    height: 92px;
    border-radius: 50%;
    background: var(--zf-accent);
    color: var(--zf-accent-ink);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1;
    box-shadow: var(--zf-shadow-lg);
}
.zf-hero__badge span { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; }
.zf-hero__badge strong { font-family: var(--zf-font-display); font-size: 30px; margin-top: 4px; }

.zf-hero__dots {
    position: absolute;
    z-index: 3;
    left: 0;
    right: 0;
    bottom: 22px;
    display: flex;
    justify-content: center;
    gap: 8px;
}
.zf-hero__dots button {
    width: 28px;
    height: 3px;
    padding: 0;
    border: 0;
    border-radius: 2px;
    background: rgba(255, 255, 255, .45);
    cursor: pointer;
    transition: background .2s ease, width .2s ease;
}
.zf-hero__dots button.is-active { background: #fff; width: 44px; }

@media (min-width: 992px) {
    .zf-hero__slide { align-items: center; }
    .zf-hero__slide::before { background: var(--zf-hero-overlay-wide); }
    .zf-hero__badge { top: auto; bottom: 48px; right: 48px; width: 120px; height: 120px; }
    .zf-hero__badge strong { font-size: 40px; }
}

/* ---------- 14. Kategori ---------- */
/* Struktur: .zf-cat > .zf-cat__media(img) + .zf-cat__no + .zf-cat__label(strong, small, em).
   Bawaan = mosaik foto dengan label di atas gambar; tiap desain menata ulang sepenuhnya. */

.zf-cats { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
.zf-cats--1 { --zf-cat-cols: 1; } .zf-cats--2 { --zf-cat-cols: 2; } .zf-cats--3 { --zf-cat-cols: 3; }
.zf-cats--4 { --zf-cat-cols: 4; } .zf-cats--5 { --zf-cat-cols: 5; } .zf-cats--6 { --zf-cat-cols: 6; }
.zf-cat {
    position: relative;
    isolation: isolate;
    display: block;
    overflow: hidden;
    border-radius: var(--zf-radius-media);
    background: var(--zf-sand);
    aspect-ratio: 3 / 4;
    color: #fff !important;
}
.zf-cat__media { position: absolute; inset: 0; z-index: -2; display: block; overflow: hidden; background: var(--zf-sand); }
.zf-cat__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--zf-ease), filter .5s ease; }
.zf-cat::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, .58) 100%); transition: opacity .4s ease, background .4s ease; }
.zf-cat__no { position: absolute; top: 12px; left: 14px; font-size: 12px; font-weight: 700; letter-spacing: .14em; opacity: .9; }
.zf-cat__label { position: absolute; left: 16px; right: 16px; bottom: 14px; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.zf-cat__label strong {
    display: block;
    font-family: var(--zf-font-display);
    font-weight: var(--zf-display-weight);
    text-transform: var(--zf-display-transform);
    font-size: clamp(18px, 2.4vw, 26px);
    line-height: 1.15;
}
.zf-cat__label small { display: none; font-size: 12.5px; line-height: 1.4; opacity: .85; }
.zf-cat__label em { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; font-style: normal; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; opacity: .9; }
.zf-cat__label em i { transition: transform .3s var(--zf-ease); }
.zf-cat:hover .zf-cat__media img { transform: scale(1.06); }
.zf-cat:hover .zf-cat__label em i { transform: translateX(5px); }
.zf-cat:focus-visible { outline-offset: 3px; }
.zf-cats--1 { grid-template-columns: 1fr; }
.zf-cats--1 .zf-cat { aspect-ratio: 16 / 9; }
.zf-cats--3 .zf-cat--feature, .zf-cats--5 .zf-cat--feature { grid-column: span 2; aspect-ratio: 16 / 10; }
@media (min-width: 768px) {
    .zf-cats { grid-template-columns: repeat(4, 1fr); gap: 16px; }
    .zf-cats--2 { grid-template-columns: repeat(2, 1fr); }
    .zf-cats--2 .zf-cat { aspect-ratio: 4 / 3; }
    .zf-cats--3 { grid-template-columns: repeat(3, 1fr); }
    .zf-cats--3 .zf-cat--feature { grid-column: auto; aspect-ratio: 3 / 4; }
    .zf-cats--5 { grid-template-columns: repeat(6, 1fr); }
    .zf-cats--5 .zf-cat { grid-column: span 2; }
    .zf-cats--5 .zf-cat--feature { grid-column: span 2; aspect-ratio: 3 / 4; }
    .zf-cats--5 .zf-cat:nth-child(n+4) { grid-column: span 3; aspect-ratio: 16 / 9; }
    .zf-cats--6 { grid-template-columns: repeat(3, 1fr); }
    .zf-cats--6 .zf-cat { aspect-ratio: 4 / 3; }
}
@media (max-width: 767px) {
    .zf-cats { gap: 10px; }
    .zf-cat__label { left: 12px; right: 12px; bottom: 12px; }
    .zf-cat__label em { font-size: 10px; letter-spacing: .1em; }
}

/* ---------- 15. Editorial + slider ---------- */

.zf-feature-row { display: grid; grid-template-columns: 1fr; gap: 20px; }
.zf-feature-row__slider { min-width: 0; }
.zf-editorial {
    display: none;
    position: relative;
    border-radius: var(--zf-radius-media);
    overflow: hidden;
    background-size: cover;
    background-position: center;
    min-height: 420px;
    color: #fff !important;
}
.zf-editorial::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, .55) 100%); }
.zf-editorial__inner { position: absolute; left: 22px; right: 22px; bottom: 22px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.zf-editorial__inner strong {
    font-family: var(--zf-font-display);
    font-weight: var(--zf-display-weight);
    text-transform: var(--zf-display-transform);
    font-size: 34px;
    line-height: 1.1;
    margin-bottom: 8px;
}
@media (min-width: 992px) {
    .zf-feature-row { grid-template-columns: 300px minmax(0, 1fr); gap: 28px; }
    .zf-feature-row--reverse { grid-template-columns: minmax(0, 1fr) 300px; }
    .zf-editorial { display: block; }
}

/* ---------- 16. Kartu produk ---------- */

.zf-body .product__item,
.zf-body .product__item:hover {
    position: relative;
    margin-bottom: 28px;
    background: var(--zf-card-bg);
    border: var(--zf-border-w) solid var(--zf-card-border);
    border-radius: var(--zf-radius-media);
    padding: var(--zf-card-pad);
    box-shadow: none;
    overflow: visible;
    transform: none;
}

.zf-card__media,
.zf-body .product__item:not(.zf-card) .product__item__pic {
    position: relative;
    overflow: hidden;
    border-radius: var(--zf-radius-media);
    background-color: var(--zf-card-media-bg);
}

.zf-body .product__item__pic { display: block; position: relative; overflow: hidden; height: auto !important; aspect-ratio: 3 / 4; background-size: cover; background-position: center; }
.zf-card__img { display: block; position: relative; aspect-ratio: 3 / 4; }
.zf-card__img-tag {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .8s var(--zf-ease);
}
.zf-card:hover .zf-card__img-tag { transform: scale(1.04); }

.zf-card__tag,
.zf-body .product__item__pic .label {
    position: absolute;
    left: 10px;
    top: 10px;
    z-index: 2;
    padding: 4px 9px;
    border-radius: var(--zf-radius-sm);
    background: var(--zf-tag-bg);
    color: var(--zf-tag-fg);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.zf-card__quick {
    position: absolute;
    z-index: 3;
    left: 10px;
    right: 10px;
    bottom: 10px;
    min-height: 42px;
    border: 0;
    border-radius: var(--zf-radius-btn);
    background: rgba(20, 20, 20, .92);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity .25s ease, transform .3s var(--zf-ease), background .2s ease;
}
.zf-card:hover .zf-card__quick, .zf-card__quick:focus-visible { opacity: 1; transform: none; }
.zf-card__quick:hover { background: var(--zf-accent); color: var(--zf-accent-ink); }

@media (hover: none), (max-width: 767px) {
    .zf-card__quick {
        opacity: 1;
        transform: none;
        left: auto;
        right: 8px;
        bottom: 8px;
        width: 40px;
        height: 40px;
        min-height: 40px;
        border-radius: 50%;
        background: #fff;
        color: var(--zf-ink);
        box-shadow: 0 4px 14px rgba(0, 0, 0, .12);
    }
    .zf-card__quick span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}

/* Aksi hover kartu lama (.product__hover) */
.zf-body .product__hover {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 12px;
    z-index: 3;
    display: flex;
    justify-content: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .25s ease, transform .3s var(--zf-ease);
}
.zf-body .product__item:hover .product__hover,
.zf-body .product__hover:focus-within { opacity: 1; transform: none; }
.zf-body .product__hover li a,
.zf-body .product__hover li button {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: var(--zf-ink) !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .12);
    font-size: 16px;
}
.zf-body .product__hover li a:hover { background: var(--zf-ink); color: #fff !important; }
@media (hover: none) { .zf-body .product__hover { opacity: 1; transform: none; } }

/* Chip varian di kartu */
.zf-body .card-variant-overlay { position: absolute; left: 8px; right: 56px; bottom: 8px; z-index: 2; }
.zf-body .card-variant-boxes {
    display: flex;
    gap: 4px;
    padding: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .88);
    backdrop-filter: blur(4px);
    overflow: hidden;
    width: max-content;
    max-width: 100%;
}
.zf-body .card-vbox {
    position: relative;
    width: 26px;
    height: 26px;
    min-width: 26px;
    padding: 0;
    border: 1.5px solid var(--zf-line);
    border-radius: 50%;
    overflow: hidden;
    background: #fff;
    cursor: pointer;
}
.zf-body .card-vbox img { width: 100%; height: 100%; object-fit: cover; display: block; }
.zf-body .card-vbox.card-vbox-text { width: auto; border-radius: 999px; padding: 0 7px; display: inline-flex; align-items: center; }
.zf-body .card-vbox-text-label { font-size: 9px; font-weight: 700; color: var(--zf-ink-2); white-space: nowrap; line-height: 1; }
.zf-body .card-vbox.active, .zf-body .card-vbox:hover { border-color: var(--zf-ink); }
.zf-card:hover .card-variant-overlay { opacity: 0; pointer-events: none; }
@media (hover: none), (max-width: 767px) {
    .zf-card:hover .card-variant-overlay { opacity: 1; pointer-events: auto; }
    .zf-body .card-vbox:nth-child(n+4) { display: none; }
    .zf-body .card-vbox { width: 22px; height: 22px; min-width: 22px; }
}

.zf-body .product__item__text { padding: 12px 2px 0; text-align: left; }
.zf-body .product__item__text h6,
.zf-card__title { margin: 0 0 4px; font-size: 14px; font-weight: 500; line-height: 1.4; }
.zf-body .product__item__text h6 a,
.zf-card__title a {
    color: var(--zf-ink) !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-transform: none;
    font-weight: 500;
    font-size: inherit;
}
.zf-card__meta { display: block; font-size: 12px; color: var(--zf-muted); margin-bottom: 2px; }
.zf-body .product__price,
.zf-card__price { font-size: 15px; font-weight: 600; color: var(--zf-ink); letter-spacing: .01em; }

/* Rating bintang statis (bukan dari ulasan nyata) tidak ditampilkan */
.zf-body .product__item__text .rating,
.zf-body .product__details__text > .rating,
.zf-body .qv-rating { display: none !important; }

@media (max-width: 767px) {
    .zf-body .product__item { margin-bottom: 22px; }
    .zf-body .product__item__text h6, .zf-card__title { font-size: 13px; }
    .zf-body .product__price, .zf-card__price { font-size: 14px; }
}

/* Skeleton */
.zf-skeleton-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 768px) { .zf-skeleton-row { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
@media (max-width: 767px) { .zf-skeleton-row .zf-skeleton-card:nth-child(3) { display: none; } }
.zf-skeleton-card { margin-bottom: 24px; }
.zf-skeleton,
.zf-body .skeleton-pic,
.zf-body .skeleton-line,
.zf-body .skeleton-pill {
    border-radius: var(--zf-radius);
    background: linear-gradient(90deg, var(--zf-sand) 0%, var(--zf-soft) 50%, var(--zf-sand) 100%);
    background-size: 200% 100%;
    animation: zf-shimmer 1.4s ease-in-out infinite;
}
.zf-skeleton--img, .zf-body .skeleton-pic { aspect-ratio: 3 / 4; }
.zf-skeleton--line, .zf-body .skeleton-line { height: 12px; margin-top: 12px; width: 80%; }
.zf-skeleton--short, .zf-body .skeleton-line.sm { width: 40%; }
.zf-body .skeleton-line.md { width: 60%; }
.zf-body .skeleton-line.lg { width: 85%; }
.zf-body .skeleton-pill { width: 96px; height: 36px; border-radius: 999px; }
.zf-body .skeleton-pill-container { display: flex; justify-content: center; gap: 10px; margin-bottom: 20px; flex-wrap: wrap; }
@keyframes zf-shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }

/* Filter kategori (pills) */
.zf-body .zano-filter-container { display: flex; justify-content: flex-start; margin-bottom: 8px; width: 100%; }
.zf-body .filter__controls,
.zf-body .custom-filter-pills {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 8px;
    overflow-x: auto;
    max-width: 100%;
    margin: 0 0 20px;
    padding: 2px 2px 10px;
    list-style: none;
    scrollbar-width: none;
    text-align: left;
}
.zf-body .filter__controls::-webkit-scrollbar { display: none; }
.zf-body .filter__controls li {
    flex: 0 0 auto;
    margin: 0;
    padding: 9px 18px;
    border: var(--zf-border-w) solid var(--zf-line-strong);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--zf-ink-2);
    background: var(--zf-surface);
    cursor: pointer;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.zf-body .filter__controls li::after { display: none; }
.zf-body .filter__controls li:hover { border-color: var(--zf-ink); color: var(--zf-ink); }
.zf-body .filter__controls li.active { background: var(--zf-ink); border-color: var(--zf-ink); color: #fff; }
@media (min-width: 768px) {
    .zf-body .filter__controls { justify-content: center; flex-wrap: wrap; }
    .zf-body .zano-filter-container { justify-content: center; }
}
.zf-body .mix.is-hidden { display: none !important; }
.zf-body .mix.is-entering { animation: zf-fade-up .35s var(--zf-ease) both; }
@keyframes zf-fade-up { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- 17. Footer ---------- */

.zf-footer { background: var(--zf-footer-bg); color: var(--zf-footer-fg); }
.zf-footer__values { border-bottom: 1px solid rgba(255, 255, 255, .08); }
.zf-values { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 16px; padding-top: 32px; padding-bottom: 32px; }
.zf-value { display: flex; gap: 12px; align-items: flex-start; }
.zf-value i { font-size: 20px; color: var(--zf-gold); width: 24px; flex: 0 0 24px; margin-top: 2px; }
.zf-value strong { display: block; color: var(--zf-footer-title); font-weight: 500; font-size: 14px; }
.zf-value span { display: block; font-size: 12px; color: var(--zf-footer-muted); line-height: 1.5; }
@media (min-width: 992px) { .zf-values { grid-template-columns: repeat(4, 1fr); padding-top: 40px; padding-bottom: 40px; } }

.zf-footer__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 16px; padding-top: 40px; padding-bottom: 32px; }
.zf-footer__brand { grid-column: 1 / -1; }
.zf-footer__brand img { height: 38px; width: auto; filter: var(--zf-footer-logo-filter, brightness(0) invert(1)); opacity: .95; margin-bottom: 14px; }
.zf-footer__brand p { color: var(--zf-footer-muted) !important; font-size: 14px; max-width: 360px; margin: 0; }
.zf-footer__col h4 { color: var(--zf-footer-title) !important; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 14px; font-family: var(--zf-font-sans); }
.zf-footer__col a { display: block; padding: 5px 0; color: var(--zf-footer-fg) !important; font-size: 14px; }
.zf-footer__col a:hover { color: var(--zf-footer-title) !important; }
@media (min-width: 768px) {
    .zf-footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr; padding-top: 56px; }
    .zf-footer__brand { grid-column: auto; }
}
.zf-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px;
    padding-top: 18px;
    padding-bottom: 22px;
    border-top: 1px solid rgba(255, 255, 255, .08);
    font-size: 12px;
    color: var(--zf-footer-muted);
}
.zf-footer__pay i { color: var(--zf-gold); margin-right: 6px; }

/* ---------- 18. Modal & dialog ---------- */

.zf-body .modal { z-index: 1070; }
.zf-body .modal-backdrop { z-index: 1065; }
.zf-body .modal-content { border: 0; border-radius: var(--zf-radius-lg); overflow: hidden; box-shadow: var(--zf-shadow-lg); background: var(--zf-surface); }
.zf-body .modal-header { border-bottom: 1px solid var(--zf-line); }
.zf-body .modal-footer { border-top: 1px solid var(--zf-line); }
@media (max-width: 575px) {
    .zf-body .modal-dialog { margin: 0; max-width: 100%; min-height: 100%; display: flex; align-items: flex-end; }
    .zf-body .modal-content { border-radius: 16px 16px 0 0; max-height: 92vh; overflow-y: auto; width: 100%; }
    .zf-body .modal.fade .modal-dialog { transform: translateY(40px); }
    .zf-body .modal.show .modal-dialog { transform: none; }
}

/* Modal varian lama (.elegant-modal) */
.zf-body .elegant-modal { border-radius: var(--zf-radius-lg); border: 1px solid var(--zf-line); box-shadow: var(--zf-shadow-lg); color: var(--zf-ink-2); }
.zf-body .elegant-header { background: var(--zf-soft); border-bottom: 1px solid var(--zf-line); color: var(--zf-ink); font-weight: 600; }
.zf-body .elegant-footer { justify-content: center; padding: 1rem 2rem; border-top: 0; }
.zf-body .elegant-close { position: absolute; right: 1rem; top: 1rem; font-size: 1.5rem; color: var(--zf-ink); background: transparent; border: 0; opacity: .7; }

/* Lightbox gambar (pengganti plugin popup) */
.zf-lightbox {
    position: fixed;
    inset: 0;
    z-index: 100060;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(10, 10, 10, .88);
    opacity: 0;
    transition: opacity .2s ease;
}
.zf-lightbox.is-open { opacity: 1; }
.zf-lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: var(--zf-radius); }
.zf-lightbox button { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .15); color: #fff; font-size: 20px; cursor: pointer; }

.swal2-container { z-index: 100001 !important; }
.swal2-popup { font-family: var(--zf-font-sans) !important; border-radius: var(--zf-radius-lg) !important; }
.swal2-styled.swal2-confirm { background: var(--zf-ink) !important; border-radius: var(--zf-radius-btn) !important; }

/* ---------- 19. Kartu konten & status ---------- */

.zf-body .summary-card,
.zf-body .profile-content-card,
.zf-body .step-card,
.zf-body .order-card-premium,
.zf-body .store-card {
    border: var(--zf-border-w) solid var(--zf-line) !important;
    border-radius: var(--zf-radius-lg) !important;
    box-shadow: none !important;
    background: var(--zf-surface);
}
.zf-body .summary-card { box-shadow: var(--zf-shadow) !important; position: sticky; top: calc(var(--zf-header-h) + 16px); padding: 28px; }
.zf-body .summary-title {
    display: block;
    font-family: var(--zf-font-display);
    font-weight: var(--zf-display-weight);
    text-transform: var(--zf-display-transform);
    letter-spacing: 0;
    font-size: 22px;
    color: var(--zf-ink);
    border-bottom: 1px solid var(--zf-line);
    padding-bottom: 14px;
    margin-bottom: 20px;
}

.zf-body .status-badge-premium { display: inline-block; border-radius: 999px; padding: 5px 12px; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.zf-body .status-paid { background: var(--zf-success-soft) !important; color: var(--zf-success) !important; }
.zf-body .status-pending { background: var(--zf-warning-soft) !important; color: var(--zf-warning) !important; }
.zf-body .status-failed { background: var(--zf-accent-soft) !important; color: var(--zf-accent) !important; }

.zf-body .table-responsive,
.zf-body .shop__cart__table { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.zf-empty { text-align: center; padding: 48px 16px; }
.zf-empty > i { font-size: 34px; color: var(--zf-line-strong); margin-bottom: 14px; display: block; }
.zf-empty h5 { font-family: var(--zf-font-display); font-weight: var(--zf-display-weight); text-transform: var(--zf-display-transform); font-size: 22px; margin-bottom: 6px; }
.zf-empty p { color: var(--zf-muted); margin-bottom: 18px; }

.zf-order-code { font-family: var(--zf-font-display); font-size: 18px; margin: 0; color: var(--zf-ink); word-break: break-all; }
.zf-order-store { border: 1px solid var(--zf-line); border-radius: var(--zf-radius); margin-top: 10px; }
.zf-order-store__head { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; padding: 10px 14px; background: var(--zf-soft); font-size: 12px; font-weight: 600; letter-spacing: .06em; }
.zf-order-line { display: flex; justify-content: space-between; gap: 12px; padding: 10px 14px; border-top: 1px solid var(--zf-line); font-size: 14px; }
.zf-order-line strong { white-space: nowrap; color: var(--zf-ink); }
.zf-order-total { font-weight: 600; color: var(--zf-ink); }

/* ---------- 20. Toko (daftar butik) ---------- */

.zf-body .store-card { display: block; height: 100%; overflow: hidden; transition: transform .3s var(--zf-ease), box-shadow .3s ease; }
.zf-body .store-card:hover { transform: translateY(-4px); box-shadow: var(--zf-shadow) !important; }
.zf-body .store-image-wrapper { position: relative; display: block; overflow: hidden; }
.zf-body .store-image { display: block; width: 100%; aspect-ratio: 16 / 10; height: auto; object-fit: cover; transition: transform .6s var(--zf-ease); }
.zf-body .store-card:hover .store-image { transform: scale(1.05); }
.zf-body .store-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to top, rgba(0, 0, 0, .55), transparent);
    opacity: 0;
    transition: opacity .3s ease;
}
.zf-body .store-card:hover .store-overlay { opacity: 1; }
.zf-body .store-content { padding: 16px; text-align: center; }
.zf-body .store-title {
    font-family: var(--zf-font-display);
    font-weight: var(--zf-display-weight);
    text-transform: var(--zf-display-transform);
    font-size: 19px;
    color: var(--zf-ink);
    margin-bottom: 12px;
    line-height: 1.35;
}
.zf-body .store-badge,
.zf-body .store-badge-vip {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 11px;
    border-radius: 999px;
    background: rgba(20, 20, 20, .72);
    color: #fff;
    font-size: 12px;
}
.zf-body .store-badge-vip { background: rgba(47, 125, 79, .85); }
.zf-body .store-badge-vip i { color: #ffd76a; }

/* ---------- 21. Keranjang ---------- */

.zf-body .shop__cart__table table { width: 100%; }
.zf-body .cart__product__item { display: flex; align-items: center; gap: 14px; }
.zf-body .cart__product__item img { width: 72px; height: 96px; object-fit: cover; border-radius: var(--zf-radius); background: var(--zf-soft); flex: 0 0 72px; }
.zf-body .cart__product__item__title h6 { font-size: 14px; font-weight: 500; text-transform: capitalize; margin-bottom: 4px; }
.zf-body .cart__product__item__title small { color: var(--zf-muted); font-size: 12px; }
.zf-body .cart__price--mobile { display: none; }
.zf-body .cart-remove-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--zf-line);
    background: var(--zf-surface);
    color: var(--zf-muted);
    cursor: pointer;
}
.zf-body .cart-remove-btn:hover { border-color: var(--zf-accent); color: var(--zf-accent); }

.zf-body .pro-qty {
    display: inline-flex;
    align-items: center;
    height: 42px;
    border: var(--zf-border-w) solid var(--zf-line-strong);
    border-radius: var(--zf-radius-btn);
    overflow: hidden;
    background: var(--zf-surface);
    width: auto;
}
.zf-body .pro-qty .qtybtn {
    width: 38px;
    height: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: transparent;
    color: var(--zf-ink);
    font-size: 16px;
    cursor: pointer;
    float: none;
    user-select: none;
}
.zf-body .pro-qty .qtybtn:hover { background: var(--zf-soft); }
.zf-body .pro-qty input {
    width: 44px !important;
    min-height: 0 !important;
    height: 100%;
    border: 0 !important;
    box-shadow: none !important;
    text-align: center;
    padding: 0 !important;
    font-size: 15px;
    font-weight: 600;
    background: transparent;
}

@media (max-width: 767px) {
    .zf-body .shop__cart__table thead { display: none; }
    .zf-body .shop__cart__table table,
    .zf-body .shop__cart__table tbody { display: block !important; width: 100%; }
    .zf-body .shop__cart__table tbody tr {
        position: relative;
        display: grid;
        grid-template-columns: 24px 1fr auto;
        grid-template-areas: "sel prod prod" ".   qty  total";
        gap: 10px;
        align-items: center;
        padding: 14px 0;
        border-bottom: 1px solid var(--zf-line);
    }
    .zf-body .shop__cart__table td { display: block; padding: 0 !important; border: 0 !important; width: auto !important; }
    .zf-body .shop__cart__table .cart__select { grid-area: sel; align-self: start; padding-top: 4px !important; }
    .zf-body .shop__cart__table .cart__product__item { grid-area: prod; padding-right: 40px !important; }
    .zf-body .shop__cart__table .cart__price { display: none; }
    .zf-body .shop__cart__table .cart__quantity { grid-area: qty; }
    .zf-body .shop__cart__table .cart__total { grid-area: total; font-weight: 600; color: var(--zf-ink); text-align: right; }
    .zf-body .shop__cart__table .cart__close { position: absolute; top: 12px; right: 0; }
    .zf-body .cart__price--mobile { display: block; font-weight: 600; color: var(--zf-ink); margin-top: 4px; font-size: 14px; }
    .zf-body .summary-card { position: static; padding: 22px !important; }
}

/* ---------- 22. Detail produk ---------- */

.zf-body .product__details__pic__item img { width: 100%; border-radius: var(--zf-radius-lg); aspect-ratio: 3 / 4; object-fit: cover; background: var(--zf-soft); }
.zf-body .product__details__text h3 {
    font-family: var(--zf-font-display);
    font-weight: var(--zf-display-weight);
    text-transform: var(--zf-display-transform);
    font-size: clamp(24px, 3.4vw, 34px);
    line-height: 1.2;
}
.zf-body .product__details__text h3 span { display: block; margin-top: 6px; font-family: var(--zf-font-sans); font-size: 12px; letter-spacing: .1em; color: var(--zf-muted); text-transform: uppercase; }
.zf-body .product__details__price { font-family: var(--zf-font-sans); font-size: 24px; font-weight: 600; color: var(--zf-ink); margin: 12px 0 16px; }
.zf-body .product__details__price .old-price { color: var(--zf-muted); font-weight: 400; font-size: 16px; text-decoration: line-through; margin-left: 10px; }
.zf-body .store-selection-card,
.zf-body .variant-selection-card { border: 1px solid var(--zf-line); border-radius: var(--zf-radius-lg); background: var(--zf-surface); box-shadow: none; padding: 16px 18px; margin-bottom: 16px; }
.zf-body .product__details__button { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 20px; }
.zf-body .product__details__button .quantity { display: flex; align-items: center; gap: 10px; margin: 0; }
.zf-body .product__details__button .add-to-cart-form { flex: 1 1 220px; }
.zf-body .product__details__button .cart-btn { width: 100%; }
.zf-body .variant-item.active { border-color: var(--zf-ink) !important; }
.zf-body .product__details__widget { margin: 0; padding: 0; }
.zf-body .product__details__widget li { color: var(--zf-ink-2); }
.zf-body .product__details__tab { margin-top: 32px; padding-top: 0; }
.zf-body .nav-tabs { border-bottom: 1px solid var(--zf-line); flex-wrap: nowrap; overflow-x: auto; }
.zf-body .nav-tabs .nav-link { white-space: nowrap; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--zf-muted); border: 0; }
.zf-body .nav-tabs .nav-link.active { color: var(--zf-ink); border-bottom: 2px solid var(--zf-ink); background: none; }
@media (max-width: 991px) { .zf-body .product__details__text { margin-top: 24px; } }

/* ---------- 23. Checkout ---------- */

.zf-body .checkout__form .card { border: 1px solid var(--zf-line); border-radius: var(--zf-radius-lg); }
.zf-body .checkout__order { background: var(--zf-soft); padding: 28px; border-radius: var(--zf-radius-lg); }
.zf-body .checkout__order h5 { border-bottom: 1px solid var(--zf-line); padding-bottom: 12px; margin-bottom: 18px; }
.zf-body .checkout__order .site-btn { width: 100%; }
.zf-body .checkout__order__product,
.zf-body .checkout__order__total { border-bottom: 1px solid var(--zf-line); padding-bottom: 14px; margin-bottom: 16px; }
.zf-body .checkout__order__product ul li,
.zf-body .checkout__order__total ul li { list-style: none; display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; color: var(--zf-ink-2); }
.zf-body .checkout__order__total ul li span { color: var(--zf-ink); font-weight: 600; }
.zf-body .checkout__order__widget label { display: flex; gap: 10px; align-items: center; font-size: 14px; text-transform: none; letter-spacing: 0; cursor: pointer; margin-bottom: 12px; }
.zf-body .coupon__link {
    display: block;
    background: var(--zf-soft);
    border-top: 2px solid var(--zf-accent);
    border-radius: 0 0 var(--zf-radius) var(--zf-radius);
    padding: 12px 16px;
    margin-bottom: 32px;
    color: var(--zf-ink-2);
    font-size: 14px;
}
.zf-body .shipping-selector { min-height: 48px; }
@media (max-width: 991px) { .zf-body .checkout__order { margin-top: 24px; } }

/* ---------- 24. Lacak pesanan ---------- */

.zf-body .zf-track-form { display: grid; gap: 10px; }
.zf-body .zf-track-form__fields { display: grid; gap: 10px; }
.zf-body .zf-track-form .input-fashion { padding-right: 14px !important; }
.zf-body .zf-track-form .btn-fashion-search { position: static !important; width: 100%; height: auto; transform: none; }
.zf-track-form__hint { font-size: 13px; color: var(--zf-muted) !important; margin: 4px 0 0; }
.zf-track-form__error { font-size: 13px; color: var(--zf-accent) !important; margin: 0; }
@media (min-width: 768px) {
    .zf-body .zf-track-form { grid-template-columns: 1fr auto; align-items: start; }
    .zf-body .zf-track-form__fields { grid-template-columns: 1fr 1fr; }
    .zf-body .zf-track-form .btn-fashion-search { width: auto; }
    .zf-track-form__hint, .zf-track-form__error { grid-column: 1 / -1; }
}

/* ---------- 25. Hasil pembayaran ---------- */

.zf-result { padding: 56px 0 72px; }
.zf-result__card { max-width: 560px; margin: 0 auto; text-align: center; padding: 40px 24px; border: 1px solid var(--zf-line); border-radius: var(--zf-radius-lg); background: var(--zf-surface); }
.zf-result__icon { width: 72px; height: 72px; margin: 0 auto 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 30px; }
.zf-result__icon--success { background: var(--zf-success-soft); color: var(--zf-success); }
.zf-result__icon--pending { background: var(--zf-warning-soft); color: var(--zf-warning); }
.zf-result__icon--failed { background: var(--zf-accent-soft); color: var(--zf-accent); }
.zf-result__card h1 { font-family: var(--zf-font-display) !important; font-weight: var(--zf-display-weight); text-transform: var(--zf-display-transform); font-size: clamp(26px, 4vw, 34px); margin-bottom: 10px; }
.zf-result__meta { display: grid; gap: 8px; margin: 22px 0; padding: 16px; background: var(--zf-soft); border-radius: var(--zf-radius); text-align: left; font-size: 14px; }
.zf-result__meta div { display: flex; justify-content: space-between; gap: 12px; }
.zf-result__meta span { color: var(--zf-muted); }
.zf-result__meta strong { color: var(--zf-ink); word-break: break-all; text-align: right; }
.zf-result__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

/* ---------- 27. Umpan balik interaksi ---------- */

.zf-btn:active,
.zf-body .cart-btn:active,
.zf-body .site-btn:active,
.zf-icon-btn:active,
.zf-card__quick:active,
.zf-card__fav:active { transform: scale(.96); }

.zf-body .is-loading { position: relative; color: transparent !important; pointer-events: none; }
.zf-body .is-loading::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 18px;
    height: 18px;
    margin: -9px 0 0 -9px;
    border: 2px solid rgba(255, 255, 255, .45);
    border-top-color: #fff;
    border-radius: 50%;
    animation: zf-spin .7s linear infinite;
}

.zf-cart-count.is-bump,
[data-wishlist-count].is-bump { animation: zf-bump .45s var(--zf-ease); }
@keyframes zf-bump { 0% { transform: scale(1); } 40% { transform: scale(1.45); } 100% { transform: scale(1); } }

.zf-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    margin-left: 6px;
    border-radius: 999px;
    background: var(--zf-accent);
    color: var(--zf-accent-ink);
    font-size: 11px;
    font-weight: 700;
}

/* Toast */
.zf-toast-host {
    position: fixed;
    z-index: 100003;
    left: 50%;
    bottom: calc(var(--zf-bottom-nav-h) + 16px);
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: max-content;
    max-width: calc(100vw - 32px);
    pointer-events: none;
}
.zf-toast {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: var(--zf-radius-btn);
    background: var(--zf-ink);
    color: #fff;
    font-size: 14px;
    box-shadow: var(--zf-shadow-lg);
    opacity: 0;
    transform: translateY(12px);
    transition: opacity .25s ease, transform .3s var(--zf-ease);
    pointer-events: auto;
}
.zf-toast.is-in { opacity: 1; transform: none; }
.zf-toast i { color: var(--zf-accent); }
.zf-toast a { color: #fff !important; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; margin-left: 4px; }

/* ---------- 28. Favorit ---------- */

.zf-card__fav,
.zf-fav-btn {
    position: absolute;
    z-index: 3;
    top: 8px;
    right: 8px;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .92);
    color: var(--zf-ink);
    font-size: 17px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .1);
    transition: color .2s ease, transform .2s var(--zf-ease);
}
.zf-card__fav:hover, .zf-fav-btn:hover { color: var(--zf-accent); }
.zf-card__fav.is-active, .zf-fav-btn.is-active { color: var(--zf-accent); }
.zf-card__fav.is-pop, .zf-fav-btn.is-pop { animation: zf-bump .4s var(--zf-ease); }
.zf-fav-btn { position: static; flex: 0 0 44px; width: 44px; height: 44px; border: 1px solid var(--zf-line); box-shadow: none; }

.zf-wish-count { background: var(--zf-ink); color: #fff; }
[data-wishlist-page] .zf-wishlist-empty { display: none; }
[data-wishlist-page].is-empty .zf-wishlist-empty { display: block; }

/* ---------- 29. Mini-cart ---------- */

.zf-minicart { position: fixed; inset: 0; z-index: 1075; background: rgba(20, 20, 20, .45); opacity: 0; transition: opacity .25s ease; }
.zf-minicart.is-open { opacity: 1; }
.zf-minicart__panel {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(420px, 100%);
    display: flex;
    flex-direction: column;
    background: var(--zf-surface);
    transform: translateX(100%);
    transition: transform .32s var(--zf-ease);
    padding-bottom: env(safe-area-inset-bottom);
}
.zf-minicart.is-open .zf-minicart__panel { transform: none; }
.zf-minicart__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--zf-line); }
.zf-minicart__head h2 {
    font-family: var(--zf-font-display);
    font-weight: var(--zf-display-weight);
    text-transform: var(--zf-display-transform);
    font-size: 22px;
}
.zf-minicart__head h2 span { font-family: var(--zf-font-sans); font-size: 14px; color: var(--zf-muted); }
.zf-minicart__head .zf-icon-btn { color: var(--zf-ink) !important; }
.zf-minicart__list,
.zf-body .zf-minicart__list { flex: 1; overflow-y: auto; list-style: none; margin: 0; padding: 8px 18px; }
.zf-minicart__item { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--zf-line); }
.zf-minicart__item img { width: 64px; height: 84px; object-fit: cover; border-radius: var(--zf-radius); background: var(--zf-soft); }
.zf-minicart__item strong { display: block; font-size: 14px; font-weight: 600; color: var(--zf-ink); text-transform: capitalize; line-height: 1.35; }
.zf-minicart__item span { display: block; font-size: 12px; color: var(--zf-muted); }
.zf-minicart__item em { display: inline-flex; align-items: center; gap: 4px; margin-top: 4px; font-style: normal; font-size: 11px; font-weight: 700; color: var(--zf-success); }
.zf-minicart__item b { font-size: 14px; color: var(--zf-ink); white-space: nowrap; }
.zf-minicart__item.is-new { animation: zf-highlight 1.6s ease; }
@keyframes zf-highlight { 0%, 40% { background: var(--zf-soft); } 100% { background: transparent; } }
.zf-minicart__empty { display: none; flex: 1; flex-direction: column; align-items: center; justify-content: center; color: var(--zf-muted); gap: 8px; }
.zf-minicart__empty i { font-size: 32px; color: var(--zf-line-strong); }
.zf-minicart.is-empty .zf-minicart__empty { display: flex; }
.zf-minicart.is-empty .zf-minicart__list,
.zf-minicart.is-empty .zf-minicart__total,
.zf-minicart.is-empty [data-minicart-checkout],
.zf-minicart.is-empty .zf-minicart__note { display: none; }
.zf-minicart__foot { padding: 16px 18px 20px; border-top: 1px solid var(--zf-line); display: grid; gap: 10px; background: var(--zf-surface); }
.zf-minicart__total { display: flex; justify-content: space-between; align-items: baseline; font-size: 15px; }
.zf-minicart__total strong { font-size: 20px; color: var(--zf-ink); }
.zf-minicart__note { margin: 0 !important; font-size: 12px; color: var(--zf-muted) !important; }
.zf-minicart__row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

/* ---------- 30. Sapaan member ---------- */

.zf-greet { background: var(--zf-soft); border-bottom: 1px solid var(--zf-line); }
.zf-greet__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; padding-bottom: 14px; }
.zf-greet__hello { display: flex; align-items: center; gap: 12px; }
.zf-greet__hello strong { display: block; font-family: var(--zf-font-display); font-weight: var(--zf-display-weight); text-transform: var(--zf-display-transform); font-size: 20px; color: var(--zf-ink); line-height: 1.2; }
.zf-greet__hello span { font-size: 13px; color: var(--zf-muted); }
.zf-greet__wave { font-size: 26px; display: inline-block; animation: zf-wave 1.6s ease 1; transform-origin: 70% 70%; }
@keyframes zf-wave { 0%, 60%, 100% { transform: rotate(0); } 10%, 30% { transform: rotate(14deg); } 20%, 40% { transform: rotate(-8deg); } }
.zf-greet__chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; max-width: 100%; }
.zf-greet__chips::-webkit-scrollbar { display: none; }
.zf-greet__chip {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    border: 1px solid var(--zf-line-strong);
    border-radius: 999px;
    background: var(--zf-surface);
    color: var(--zf-ink) !important;
    font-size: 13px;
    font-weight: 500;
}
.zf-greet__chip:hover { border-color: var(--zf-ink); }
.zf-greet__chip i { color: var(--zf-muted); }
.zf-greet__chip.is-hot { border-color: var(--zf-accent); color: var(--zf-accent) !important; }
.zf-greet__chip.is-hot i { color: var(--zf-accent); }
.zf-greet__chip .zf-pill { margin-left: 0; }

/* ---------- 31. Langkah belanja ---------- */

.zf-steps { display: flex; justify-content: center; list-style: none; margin: 0 auto 32px; padding: 0; max-width: 560px; }
.zf-steps__item { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; font-size: 12px; color: var(--zf-muted); }
.zf-steps__item::before {
    content: "";
    position: absolute;
    top: 17px;
    left: -50%;
    width: 100%;
    height: 2px;
    background: var(--zf-line);
    z-index: 0;
}
.zf-steps__item:first-child::before { display: none; }
.zf-steps__item.is-done::before, .zf-steps__item.is-current::before { background: var(--zf-ink); }
.zf-steps__dot {
    position: relative;
    z-index: 1;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--zf-surface);
    border: 2px solid var(--zf-line-strong);
    color: var(--zf-muted);
    font-size: 14px;
}
.zf-steps__item.is-done .zf-steps__dot { background: var(--zf-ink); border-color: var(--zf-ink); color: #fff; }
.zf-steps__item.is-current .zf-steps__dot { border-color: var(--zf-accent); color: var(--zf-accent); box-shadow: 0 0 0 5px var(--zf-accent-soft); }
.zf-steps__item.is-current { color: var(--zf-ink); font-weight: 600; }

/* ---------- 32. Detail produk: stok & bar beli ---------- */

.zf-body .product__details__text > .d-flex { gap: 12px; }
.zf-stock-hint { margin: 10px 0 0 !important; font-size: 13px; color: var(--zf-muted) !important; }
.zf-stock-hint i { margin-right: 4px; }
.zf-stock-hint.is-low { color: var(--zf-warning) !important; font-weight: 600; }
.zf-stock-hint.is-ok { color: var(--zf-success) !important; }

.zf-buybar { display: none; }
@media (max-width: 991px) {
    .zf-buybar {
        position: fixed;
        left: 0;
        right: 0;
        bottom: var(--zf-bottom-nav-h);
        z-index: 1035;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 10px var(--zf-gutter);
        background: var(--zf-surface);
        border-top: 1px solid var(--zf-line);
        box-shadow: 0 -8px 24px rgba(0, 0, 0, .06);
        transform: translateY(110%);
        transition: transform .3s var(--zf-ease);
    }
    .zf-buybar.is-visible { transform: none; }
    .zf-buybar__info { min-width: 0; }
    .zf-buybar__info strong { display: block; font-size: 13px; color: var(--zf-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .zf-buybar__info span { font-size: 15px; font-weight: 700; color: var(--zf-ink); }
}

/* ---------- 33. Terakhir dilihat ---------- */

.zf-recent[hidden] { display: none !important; }
.zf-recent .product__item { margin-bottom: 0; }

/* ---------- 34. Ringkasan checkout ---------- */

.zf-body #checkout-product-list .list-group-item.zf-co-item {
    display: grid;
    grid-template-columns: 52px 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 12px 16px;
}
.zf-co-item img { width: 52px; height: 68px; object-fit: cover; border-radius: var(--zf-radius-sm); background: var(--zf-soft); }
.zf-co-item__name { font-weight: 600; font-size: 14px; color: var(--zf-ink); text-transform: capitalize; line-height: 1.35; }
.zf-co-item__total { font-weight: 600; color: var(--zf-ink); white-space: nowrap; }

@media (prefers-reduced-motion: reduce) {
    .zf-greet__wave, .zf-minicart__item.is-new { animation: none; }
}

/* Tombol kartu versi tautan (produk terkait) */
.zf-body a.zf-card__quick { color: #fff !important; }
@media (hover: none), (max-width: 767px) { .zf-body a.zf-card__quick { color: var(--zf-ink) !important; } }
.zf-body .product__hover li button { cursor: pointer; }
.zf-body .product__hover li button.is-active { color: var(--zf-accent) !important; }

/* Saran pencarian */
.zf-body input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; display: none; }
.zf-search__suggest { max-width: 820px; margin: 16px auto 0; display: grid; gap: 18px; }
.zf-search__suggest[hidden] { display: none; }
.zf-search__group > span { display: block; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--zf-muted); margin-bottom: 8px; }
.zf-search__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.zf-search__chips button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    border: 1px solid var(--zf-line-strong);
    border-radius: 999px;
    background: var(--zf-surface);
    color: var(--zf-ink);
    font-size: 13px;
    cursor: pointer;
}
.zf-search__chips button i { color: var(--zf-muted); }
.zf-search__chips button.is-clear { border-style: dashed; color: var(--zf-muted); }

/* ---------- 35. Sentuhan visual bersama (semua desain) ---------- */

/* Muncul halus saat di-scroll. Kelas dipasang storefront.js; memakai properti `translate`
   (bukan transform) agar efek hover/lift milik tiap desain tetap berjalan. */
@keyframes zf-reveal { from { opacity: 0; translate: 0 22px; } to { opacity: 1; translate: none; } }
.zf-reveal-on .zf-reveal { opacity: 0; }
.zf-reveal-on .zf-reveal.is-revealed { animation: zf-reveal .75s var(--zf-ease) var(--zf-reveal-delay, 0ms) both; }

/* Hero: latar perlahan mendekat & teks naik bergantian saat slide aktif */
.zf-hero__slide { overflow: hidden; isolation: isolate; }
.zf-hero__slide::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: inherit;
    background-size: cover;
    transform: scale(1.06);
    transition: transform 8s linear;
}
.zf-hero__slide.is-active::after { transform: scale(1); }
.zf-hero__content > * { transition: opacity .7s ease, translate .8s var(--zf-ease); }
[data-zf-ready-zfhero] .zf-hero__slide:not(.is-active) .zf-hero__content > * { opacity: 0; translate: 0 18px; }
.zf-hero__slide.is-active .zf-hero__content > :nth-child(2) { transition-delay: .08s; }
.zf-hero__slide.is-active .zf-hero__content > :nth-child(3) { transition-delay: .16s; }
.zf-hero__slide.is-active .zf-hero__content > :nth-child(4) { transition-delay: .24s; }
@keyframes zf-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }
.zf-hero__badge { animation: zf-float 4.5s ease-in-out infinite; }
.zf-hero__text { text-shadow: 0 1px 12px rgba(0, 0, 0, .18); }
@media (max-width: 575px) {
    .zf-hero__content { padding-bottom: 56px; }
    .zf-hero__text { font-size: 14.5px; margin-bottom: 20px; }
    .zf-hero__cta .zf-btn { flex: 1 1 auto; min-width: 0; padding-left: 18px; padding-right: 18px; }
    .zf-hero__badge { width: 76px; height: 76px; top: 16px; }
    .zf-hero__badge strong { font-size: 24px; }
}

/* Hero halaman (banner New Arrival) — lebih pendek dari hero beranda */
.zf-hero--page .zf-hero__slide { min-height: clamp(300px, 48vh, 480px); }
.zf-hero--page .zf-hero__title { font-size: clamp(30px, 5.2vw, 56px) !important; }
.zf-hero--page + .spad { padding-top: 48px; }

/* Tile editorial: zoom latar halus */
.zf-editorial { transition: transform .5s var(--zf-ease), box-shadow .5s ease; isolation: isolate; }
.zf-editorial::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: inherit;
    background-size: cover;
    background-position: center;
    transition: transform 1.2s var(--zf-ease);
}
.zf-editorial:hover::after { transform: scale(1.06); }

/* Kartu toko & etalase: bingkai, tinggi seragam, tombol overlay */
.zf-body .store-card {
    display: flex;
    flex-direction: column;
    background: var(--zf-surface);
    border: var(--zf-border-w) solid var(--zf-line);
    border-radius: var(--zf-radius-lg);
    box-shadow: 0 6px 18px rgba(20, 20, 20, .04);
}
.zf-body .store-image-wrapper { border-radius: var(--zf-radius-lg) var(--zf-radius-lg) 0 0; background: var(--zf-sand); }
.zf-body .store-image { aspect-ratio: 4 / 3; }
.zf-body .store-content { flex: 1; display: flex; flex-direction: column; justify-content: space-between; gap: 6px; padding: 18px 18px 20px; }
.zf-body .store-title { margin-bottom: 8px; }
.zf-body .store-overlay { align-items: flex-end; padding-bottom: 22px; background: linear-gradient(to top, rgba(0, 0, 0, .6), rgba(0, 0, 0, 0) 60%); }
.zf-body .store-overlay .primary-btn { min-height: 42px; padding: 10px 22px; background: #fff; border-color: #fff; color: var(--zf-ink) !important; transform: translateY(10px); transition: transform .35s var(--zf-ease), background .2s ease, color .2s ease; }
.zf-body .store-card:hover .store-overlay .primary-btn { transform: none; }
.zf-body .store-overlay .primary-btn:hover { background: var(--zf-accent); border-color: var(--zf-accent); color: var(--zf-accent-ink) !important; }
.zf-body .store-content .btn { border-radius: var(--zf-radius-btn) !important; font-weight: 600; letter-spacing: .08em; font-size: 12px; padding: 8px 22px; }
.zf-body .store-content .btn-outline-dark { border-color: var(--zf-line-strong); color: var(--zf-ink); }
.zf-body .store-content .btn-outline-dark:hover,
.zf-body .store-content .btn-dark { background: var(--zf-ink); border-color: var(--zf-ink); color: #fff; }
.zf-body .store-content .btn-dark:hover { background: var(--zf-accent); border-color: var(--zf-accent); }
@media (hover: none) {
    .zf-body .store-overlay { opacity: 1; background: linear-gradient(to top, rgba(0, 0, 0, .35), rgba(0, 0, 0, 0) 45%); }
    .zf-body .store-overlay .primary-btn { display: none; }
}
@media (max-width: 575px) {
    .zf-body .store .row > [class*="col"],
    .zf-body .etalase-main-content .row > [class*="col"] { margin-bottom: 20px !important; }
    .zf-body .store-title { font-size: 17px; }
}

/* ---------- 36. Grosir VIP di keranjang & checkout ---------- */

.zf-wholesale-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    width: fit-content;
    margin: 4px 0 2px;
    padding: 3px 9px;
    border-radius: 999px;
    background: linear-gradient(135deg, #fff4d6, #ffe7b3);
    color: #8a5a00;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .02em;
    line-height: 1.4;
}
.zf-wholesale-badge i { color: #c98a00; }
.zf-co-item__was { color: var(--zf-muted); font-size: 12px; margin-right: 2px; }
.zf-co-alert {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 14px;
    padding: 12px 14px;
    border-radius: var(--zf-radius);
    border: 1px solid #f3c7c3;
    background: #fff4f3;
    color: #8a1c14;
    font-size: 13px;
}
.zf-co-alert i { margin-top: 2px; }
.zf-co-alert ul { margin: 4px 0 6px 16px; padding: 0; list-style: disc; }
.zf-co-alert a { font-weight: 700; text-decoration: underline; color: inherit !important; }
.zf-co-alert--info { border-color: #cfe0f5; background: #f2f7fd; color: #1d4b7a; }

/* ---------- 37. Elemen kejutan: kotak kejutan, confetti, kilau ---------- */

.zf-gift {
    position: fixed;
    z-index: 1030;
    right: 16px;
    bottom: calc(var(--zf-bottom-nav-h) + 16px);
    display: flex;
    flex-direction: row-reverse;
    align-items: flex-start;
}
.zf-gift__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px 6px 6px;
    border: 0;
    border-radius: 999px;
    background: var(--zf-surface, #fff);
    color: var(--zf-ink);
    font-family: var(--zf-font-sans);
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 12px 30px rgba(20, 20, 20, .16), 0 0 0 1px var(--zf-line);
    cursor: pointer;
    transition: transform .25s var(--zf-ease), box-shadow .25s ease;
}
.zf-gift__btn:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(20, 20, 20, .2), 0 0 0 1px var(--zf-line); }
.zf-gift__icon {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--zf-accent), var(--zf-gold));
    color: #fff;
    font-size: 16px;
}
.zf-gift__btn:hover .zf-gift__icon i { animation: zf-gift-hop .6s var(--zf-ease); }
.zf-gift__hide {
    position: relative;
    z-index: 1;
    margin: -6px -10px 0 0;
    width: 22px;
    height: 22px;
    border: 0;
    border-radius: 50%;
    background: var(--zf-ink);
    color: #fff;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
    opacity: .75;
}
.zf-gift__hide:hover { opacity: 1; }
.zf-gift.is-nudging .zf-gift__btn { animation: zf-gift-wiggle 1.2s ease 1; }
@keyframes zf-gift-hop { 40% { transform: translateY(-5px) rotate(-12deg); } 70% { transform: translateY(0) rotate(8deg); } }
@keyframes zf-gift-wiggle { 0%, 100% { transform: rotate(0); } 15% { transform: rotate(-6deg); } 30% { transform: rotate(5deg); } 45% { transform: rotate(-4deg); } 60% { transform: rotate(3deg); } 75% { transform: rotate(-1deg); } }
@media (max-width: 575px) { .zf-gift__label { display: none; } .zf-gift__btn { padding: 6px; } }

.zf-gift-panel {
    position: fixed;
    inset: 0;
    z-index: 1080;
    display: grid;
    place-items: center;
    padding: 16px;
    background: rgba(20, 20, 20, .5);
    opacity: 0;
    transition: opacity .25s ease;
}
.zf-gift-panel.is-open { opacity: 1; }
.zf-gift-card {
    position: relative;
    width: min(420px, 100%);
    padding: 26px 22px 22px;
    border-radius: var(--zf-radius-lg);
    background: var(--zf-surface, #fff);
    color: var(--zf-ink);
    text-align: center;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .3);
    transform: translateY(16px) scale(.97);
    transition: transform .35s var(--zf-ease);
}
.zf-gift-panel.is-open .zf-gift-card { transform: none; }
.zf-gift-card__close { position: absolute; top: 10px; right: 12px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: var(--zf-soft); font-size: 20px; line-height: 1; cursor: pointer; }
.zf-gift-card__stage { display: grid; place-items: center; height: 150px; transition: height .4s var(--zf-ease), opacity .3s ease; }
.zf-gift-panel.is-revealed .zf-gift-card__stage { height: 0; opacity: 0; overflow: hidden; }
.zf-giftbox { position: relative; width: 104px; height: 96px; }
.zf-giftbox__body {
    position: absolute;
    left: 6px;
    right: 6px;
    bottom: 0;
    height: 66px;
    border-radius: 8px;
    background:
        linear-gradient(90deg, transparent 42%, var(--zf-gold) 42%, var(--zf-gold) 58%, transparent 58%),
        var(--zf-accent);
}
.zf-giftbox__lid {
    position: absolute;
    left: 0;
    right: 0;
    top: 14px;
    height: 24px;
    border-radius: 6px;
    background-color: var(--zf-ink);
    background:
        linear-gradient(90deg, transparent 42%, var(--zf-gold) 42%, var(--zf-gold) 58%, transparent 58%),
        color-mix(in srgb, var(--zf-accent) 82%, #000);
    transform-origin: 20% 100%;
}
.zf-giftbox__lid::before,
.zf-giftbox__lid::after {
    content: "";
    position: absolute;
    top: -16px;
    width: 26px;
    height: 18px;
    border: 5px solid var(--zf-gold);
    border-radius: 50% 50% 0 50%;
}
.zf-giftbox__lid::before { left: 24px; transform: rotate(-20deg); }
.zf-giftbox__lid::after { right: 24px; transform: rotate(110deg); }
.zf-gift-panel.is-opening .zf-giftbox { animation: zf-gift-shake .5s ease infinite; }
.zf-gift-panel.is-revealed .zf-giftbox__lid { animation: zf-lid-pop .6s var(--zf-ease) forwards; }
@keyframes zf-gift-shake { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-5deg); } 75% { transform: rotate(5deg); } }
@keyframes zf-lid-pop { to { transform: translate(-20px, -70px) rotate(-35deg); opacity: 0; } }
.zf-gift-card__result:empty { display: none; }
.zf-gift-panel.is-revealed .zf-gift-card__result > * { animation: zf-reveal .5s var(--zf-ease) both; }
.zf-gift-card__eyebrow { display: block; margin-bottom: 12px; font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--zf-accent); }
.zf-gift-card__product { display: flex; gap: 14px; align-items: center; padding: 10px; border-radius: var(--zf-radius); background: var(--zf-soft); text-align: left; color: var(--zf-ink) !important; }
.zf-gift-card__product img { width: 92px; height: 112px; flex: 0 0 92px; object-fit: cover; border-radius: var(--zf-radius-sm, 6px); background: var(--zf-sand); }
.zf-gift-card__product small { display: block; color: var(--zf-muted); font-size: 12px; }
.zf-gift-card__product strong { display: block; margin-top: 6px; font-size: 18px; font-weight: 800; color: var(--zf-accent); }
.zf-gift-card .zf-gift-card__title { margin: 0; font-family: var(--zf-font-display); font-weight: var(--zf-display-weight); text-transform: var(--zf-display-transform); font-size: 22px; line-height: 1.2; color: var(--zf-ink); }
.zf-gift-card__text { color: var(--zf-muted); }
.zf-gift-card__voucher { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; padding: 6px 12px; border-radius: 999px; background: var(--zf-accent-soft); color: var(--zf-accent) !important; font-size: 13px; font-weight: 700; }
.zf-gift-card__actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 16px; }
.zf-gift-card__actions .zf-btn { flex: 1 1 140px; }

.zf-confetti { position: fixed; z-index: 100010; width: 0; height: 0; pointer-events: none; }
.zf-confetti i {
    position: absolute;
    width: 8px;
    height: 12px;
    border-radius: 2px;
    animation: zf-confetti 1.1s cubic-bezier(.15, .7, .3, 1) forwards;
}
@keyframes zf-confetti {
    0% { transform: translate(0, 0) rotate(0); opacity: 1; }
    100% { transform: translate(var(--dx), calc(var(--dy) + 140px)) rotate(var(--rot)); opacity: 0; }
}

.zf-shine {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    border-radius: inherit;
    background: radial-gradient(circle at var(--zf-mx, 50%) var(--zf-my, 50%), rgba(255, 255, 255, .38), rgba(255, 255, 255, 0) 42%);
    mix-blend-mode: soft-light;
    opacity: 0;
    transition: opacity .3s ease;
}
:hover > .zf-shine { opacity: 1; }

/* ---------- 38. Favorit (wishlist) ---------- */

/* Fitur dimatikan admin: semua tombol & tautan favorit hilang */
[data-wishlist="off"] [data-wishlist-toggle],
[data-wishlist="off"] [data-wishlist-count],
[data-wishlist="off"] .zf-wish-link { display: none !important; }

.zf-heart-burst { position: fixed; z-index: 100010; width: 0; height: 0; pointer-events: none; }
.zf-heart-burst i { position: absolute; left: -6px; top: -6px; font-size: 13px; color: var(--zf-accent); animation: zf-heart-fly .8s cubic-bezier(.2, .7, .3, 1) forwards; }
.zf-heart-burst i:nth-child(even) { color: #ff8fab; font-size: 10px; }
@keyframes zf-heart-fly { 0% { transform: translate(0, 0) scale(.4); opacity: 1; } 100% { transform: translate(var(--dx), var(--dy)) scale(1.1); opacity: 0; } }
[data-wishlist-toggle].is-pop i { animation: zf-heart-pop .4s var(--zf-ease); }
@keyframes zf-heart-pop { 40% { transform: scale(1.45); } 100% { transform: scale(1); } }

.zf-wl { background: var(--zf-bg); }
.zf-wl__hero {
    padding: 44px 0 30px;
    background-color: var(--zf-soft);
    background: radial-gradient(circle at 12% 0%, color-mix(in srgb, var(--zf-accent) 14%, transparent), transparent 45%), var(--zf-soft);
    border-bottom: 1px solid var(--zf-line);
}
.zf-wl__eyebrow { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--zf-accent); }
.zf-wl .zf-wl__title { margin: 6px 0 8px; font-family: var(--zf-font-display); font-weight: var(--zf-display-weight); text-transform: var(--zf-display-transform); font-size: clamp(32px, 5vw, 52px); color: var(--zf-ink); }
.zf-wl__lead { max-width: 560px; color: var(--zf-ink-2); margin: 0; }
.zf-wl__lead a { color: var(--zf-accent) !important; font-weight: 700; text-decoration: underline; }
.zf-wl__summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 22px; }
.zf-wl__summary div { padding: 12px 14px; border-radius: var(--zf-radius); background: var(--zf-surface); border: 1px solid var(--zf-line); }
.zf-wl__summary b { display: block; font-size: 20px; font-weight: 800; color: var(--zf-ink); line-height: 1.2; }
.zf-wl__summary span { font-size: 12px; color: var(--zf-muted); }
.zf-wl__summary div.is-hot { border-color: var(--zf-success); background: var(--zf-success-soft); }
.zf-wl__summary div.is-hot b { color: var(--zf-success); }
.zf-wl__body { padding-top: 22px; padding-bottom: 56px; }
.zf-wl__toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; }
.zf-wl__sort { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: 13px; color: var(--zf-muted); }
.zf-wl__sort select { height: 38px; padding: 0 12px; border: 1px solid var(--zf-line-strong); border-radius: var(--zf-radius-btn); background: var(--zf-surface); color: var(--zf-ink); font-weight: 600; }
.zf-wl__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (min-width: 768px) { .zf-wl__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } }
@media (min-width: 1100px) { .zf-wl__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; } }

.zf-wl-card { position: relative; display: flex; flex-direction: column; border-radius: var(--zf-radius-lg); background: var(--zf-surface); border: 1px solid var(--zf-line); overflow: hidden; transition: transform .3s var(--zf-ease), box-shadow .3s ease, opacity .28s ease; }
.zf-wl-card:hover { transform: translateY(-4px); box-shadow: 0 18px 36px rgba(20, 20, 20, .08); }
.zf-wl-card.is-leaving { opacity: 0; transform: scale(.94); }
.zf-wl-card.is-out .zf-wl-card__media img { filter: grayscale(.85); opacity: .75; }
.zf-wl-card__media { position: relative; display: block; aspect-ratio: 4 / 5; background: var(--zf-sand); overflow: hidden; }
.zf-wl-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--zf-ease); }
.zf-wl-card:hover .zf-wl-card__media img { transform: scale(1.05); }
.zf-wl-card__drop { position: absolute; left: 10px; bottom: 10px; padding: 5px 10px; border-radius: 999px; background: var(--zf-success); color: #fff; font-size: 11px; font-weight: 800; box-shadow: 0 6px 14px rgba(0, 0, 0, .15); animation: zf-float 3s ease-in-out infinite; }
.zf-wl-card__remove { position: absolute; top: 10px; right: 10px; z-index: 2; display: grid; place-items: center; width: 38px; height: 38px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .95); color: var(--zf-accent); font-size: 16px; box-shadow: 0 4px 12px rgba(0, 0, 0, .12); cursor: pointer; }
.zf-wl-card__body { flex: 1; display: flex; flex-direction: column; gap: 4px; padding: 12px 14px 14px; }
.zf-wl-card__body small { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--zf-muted); }
.zf-wl-card__name { font-weight: 700; color: var(--zf-ink) !important; line-height: 1.35; }
.zf-wl-card__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; }
.zf-wl-card__price strong { font-size: 17px; font-weight: 800; color: var(--zf-ink); }
.zf-wl-card__price del { font-size: 12px; color: var(--zf-muted); }
.zf-wl-card__stock { font-size: 12px; color: var(--zf-success); font-weight: 600; }
.zf-wl-card__stock.is-out { color: var(--zf-muted); }
.zf-wl-card__cta { margin-top: auto; width: 100%; }
.zf-wl-card.is-loading { min-height: 320px; padding: 12px; gap: 10px; }
.zf-wl-card.is-loading span, .zf-wl-card.is-loading i { display: block; border-radius: var(--zf-radius); background: linear-gradient(90deg, var(--zf-sand), var(--zf-soft), var(--zf-sand)); background-size: 200% 100%; animation: zf-shimmer 1.2s linear infinite; }
.zf-wl-card.is-loading span { aspect-ratio: 4 / 5; }
.zf-wl-card.is-loading i { height: 14px; width: 70%; }
@keyframes zf-shimmer { to { background-position: -200% 0; } }

.zf-wl__empty { display: none; text-align: center; padding: 40px 16px; }
.zf-wl.is-empty .zf-wl__empty { display: block; }
.zf-wl.is-empty .zf-wl__toolbar { display: none; }
.zf-wl .zf-wl__empty h2 { margin: 18px 0 6px; font-size: 22px; color: var(--zf-ink); }
.zf-wl__empty p { max-width: 400px; margin: 0 auto 18px; color: var(--zf-muted); }
.zf-wl__empty-art { position: relative; display: grid; place-items: center; width: 104px; height: 104px; margin: 0 auto; border-radius: 50%; background: var(--zf-accent-soft); color: var(--zf-accent); font-size: 40px; }
.zf-wl__empty-art i { animation: zf-heart-beat 1.8s ease-in-out infinite; }
.zf-wl__empty-art span { position: absolute; width: 9px; height: 9px; border-radius: 50%; background: var(--zf-gold); animation: zf-float 3s ease-in-out infinite; }
.zf-wl__empty-art span:nth-of-type(1) { top: 4px; right: 10px; }
.zf-wl__empty-art span:nth-of-type(2) { bottom: 12px; left: -4px; animation-delay: .6s; background: var(--zf-accent); }
.zf-wl__empty-art span:nth-of-type(3) { top: 30px; left: 0; width: 6px; height: 6px; animation-delay: 1.2s; }
@keyframes zf-heart-beat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.18); } 30% { transform: scale(1); } 45% { transform: scale(1.12); } }
@media (max-width: 767px) {
    .zf-wl__summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .zf-wl__hero { padding: 30px 0 22px; }
}

/* ---------- 39. Ulasan produk ---------- */

.zf-stars { display: inline-flex; gap: 2px; color: #f5a623; line-height: 1; }
.zf-stars .fa-star-o { color: #d9d3cc; }
.zf-stars--sm { font-size: 12px; }
.zf-stars--md { font-size: 15px; }
.zf-stars--lg { font-size: 20px; gap: 3px; }
.zf-rating-link { display: inline-flex; align-items: center; gap: 6px; margin: 4px 0 10px; font-size: 13px; color: var(--zf-ink) !important; }
.zf-rating-link span { color: var(--zf-muted); }
.zf-rating-link:hover span { text-decoration: underline; }
.zf-tab-count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; margin-left: 4px; padding: 0 6px; border-radius: 999px; background: var(--zf-accent); color: #fff; font-size: 11px; font-weight: 700; vertical-align: 2px; }

.zf-reviews { padding: 8px 0; font-family: var(--zf-font-sans); }
.zf-reviews__overview { display: grid; grid-template-columns: 200px 1fr; gap: 24px; align-items: center; padding: 20px; border-radius: var(--zf-radius-lg); background: var(--zf-soft); }
.zf-reviews__score { text-align: center; }
.zf-reviews__score b { display: block; font-family: var(--zf-font-display); font-size: 52px; font-weight: 800; line-height: 1; color: var(--zf-ink); }
.zf-reviews__score b.is-empty { font-size: 40px; color: var(--zf-line-strong); }
.zf-reviews__score span { display: block; margin-top: 6px; font-size: 13px; color: var(--zf-muted); }
.zf-reviews__dist { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.zf-reviews__dist li { display: grid; grid-template-columns: 38px 1fr 28px; gap: 10px; align-items: center; font-size: 13px; color: var(--zf-ink-2); }
.zf-reviews__dist li i { color: #f5a623; font-size: 11px; }
.zf-reviews__bar { height: 8px; border-radius: 999px; background: var(--zf-line); overflow: hidden; }
.zf-reviews__bar span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #f5a623, #ffc65c); }
.zf-reviews__note { margin: 16px 0; padding: 12px 14px; border-radius: var(--zf-radius); border: 1px dashed var(--zf-line-strong); font-size: 14px; color: var(--zf-ink-2); }
.zf-reviews__note a { color: var(--zf-accent) !important; font-weight: 700; text-decoration: underline; }

.zf-review-form { margin: 18px 0; padding: 18px; border-radius: var(--zf-radius-lg); border: 1px solid var(--zf-line); background: var(--zf-surface); }
.zf-review-form h3 { margin: 0 0 4px; font-size: 18px; font-weight: 700; color: var(--zf-ink); font-family: var(--zf-font-sans); }
.zf-review-form__hint { font-size: 13px; color: var(--zf-success); margin: 0 0 10px; }
.zf-review-form__error { color: #c0392b; font-size: 13px; margin: 4px 0; }
.zf-review-form textarea { width: 100%; margin-top: 10px; padding: 12px; border: 1px solid var(--zf-line-strong); border-radius: var(--zf-radius); font-size: 14px; resize: vertical; }
.zf-review-form__foot { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; }
.zf-review-form__foot small { color: var(--zf-muted); }
/* Pilih bintang: radio terbalik agar hover menyalakan bintang di kirinya */
.zf-rate { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; align-items: center; gap: 4px; margin: 0; padding: 0; border: 0; }
.zf-rate input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.zf-rate label { margin: 0; font-size: 30px; line-height: 1; color: #ddd5cc; cursor: pointer; transition: color .15s ease, transform .15s ease; }
.zf-rate label:hover, .zf-rate label:hover ~ label, .zf-rate input:checked ~ label { color: #f5a623; }
.zf-rate label:hover { transform: scale(1.15); }
.zf-rate input:focus-visible + label { outline: 2px solid var(--zf-accent); outline-offset: 2px; border-radius: 4px; }
.zf-rate__word { order: -1; margin-left: 10px; font-size: 13px; font-weight: 700; color: var(--zf-ink-2); }

.zf-reviews__list { margin-top: 10px; }
.zf-review { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--zf-line); }
.zf-review__avatar { flex: 0 0 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--zf-accent-soft); color: var(--zf-accent); font-weight: 800; }
.zf-review__main { flex: 1; min-width: 0; }
.zf-review__head { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.zf-review__head strong { color: var(--zf-ink); }
.zf-review__verified { font-size: 12px; color: var(--zf-success); }
.zf-review__meta { display: flex; align-items: center; gap: 10px; margin-top: 2px; font-size: 12px; color: var(--zf-muted); }
.zf-review__body { margin: 8px 0 0 !important; color: var(--zf-ink-2); white-space: pre-line; }
.zf-reviews__empty { padding: 30px 10px; text-align: center; color: var(--zf-muted); }
.zf-reviews__empty i { font-size: 32px; margin-bottom: 8px; }
@media (max-width: 575px) {
    .zf-reviews__overview { grid-template-columns: 1fr; gap: 14px; }
    .zf-rate label { font-size: 34px; }
}

/* ---------- 40. Quick View (semua desain) ---------- */

.zf-qv .zf-qv__dialog { max-width: 920px; }
.zf-qv .zf-qv__content {
    position: relative;
    border: 0;
    border-radius: var(--zf-radius-lg);
    overflow: hidden;
    background: var(--zf-surface, #fff);
    box-shadow: 0 40px 100px rgba(0, 0, 0, .3);
    font-family: var(--zf-font-sans);
    color: var(--zf-ink-2);
}
/* Tombol tutup: ikon X dari dua garis yang berputar; saat disentuh melebar jadi kapsul "Tutup · Esc" */
.zf-qv__close {
    --zf-x-color: var(--zf-ink);
    position: absolute;
    z-index: 5;
    top: 14px;
    right: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0;
    width: 44px;
    height: 44px;
    padding: 0 14px;
    border: 1px solid rgba(255, 255, 255, .7);
    border-radius: 999px;
    background: rgba(255, 255, 255, .78);
    color: var(--zf-ink);
    font-family: var(--zf-font-sans);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
    overflow: hidden;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .14);
    backdrop-filter: blur(10px) saturate(1.4);
    -webkit-backdrop-filter: blur(10px) saturate(1.4);
    cursor: pointer;
    transition: width .35s var(--zf-ease), background .25s ease, color .25s ease, box-shadow .25s ease, gap .35s var(--zf-ease);
}
.zf-qv__x { position: relative; order: 2; flex: 0 0 16px; width: 16px; height: 16px; }
.zf-qv__x::before,
.zf-qv__x::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 16px;
    height: 2px;
    margin-top: -1px;
    border-radius: 2px;
    background: var(--zf-x-color);
    transition: transform .45s var(--zf-ease), background .25s ease;
}
.zf-qv__x::before { transform: rotate(45deg); }
.zf-qv__x::after { transform: rotate(-45deg); }
.zf-qv__close-text { order: 1; display: inline-flex; align-items: center; gap: 6px; max-width: 0; opacity: 0; white-space: nowrap; transition: max-width .35s var(--zf-ease), opacity .2s ease; }
.zf-qv__close-text kbd {
    padding: 2px 6px;
    border-radius: 6px;
    background: rgba(255, 255, 255, .18);
    border: 1px solid rgba(255, 255, 255, .35);
    color: inherit;
    font-family: inherit;
    font-size: 10px;
    font-weight: 700;
    box-shadow: none;
}
.zf-qv__close:hover,
.zf-qv__close:focus-visible {
    --zf-x-color: #fff;
    width: 128px;
    gap: 10px;
    background: var(--zf-ink);
    color: #fff;
    box-shadow: 0 12px 28px rgba(0, 0, 0, .25);
}
.zf-qv__close:hover .zf-qv__close-text,
.zf-qv__close:focus-visible .zf-qv__close-text { max-width: 90px; opacity: 1; transition-delay: .08s; }
.zf-qv__close:hover .zf-qv__x::before,
.zf-qv__close:focus-visible .zf-qv__x::before { transform: rotate(135deg); }
.zf-qv__close:hover .zf-qv__x::after,
.zf-qv__close:focus-visible .zf-qv__x::after { transform: rotate(45deg); }
.zf-qv__close:active { transform: scale(.94); }
/* Saat modal dibuka, X "tergambar" dari tengah */
.zf-qv.show .zf-qv__x::before { animation: zf-x-draw-a .5s var(--zf-ease) .15s both; }
.zf-qv.show .zf-qv__x::after { animation: zf-x-draw-b .5s var(--zf-ease) .25s both; }
@keyframes zf-x-draw-a { from { transform: rotate(45deg) scaleX(0); } }
@keyframes zf-x-draw-b { from { transform: rotate(-45deg) scaleX(0); } }
/* Layar sentuh: tanpa hover, cukup ikon */
@media (hover: none) { .zf-qv__close-text { display: none; } }

/* Karakter tombol tutup per desain */
[data-theme="atelier"] .zf-qv__close { border-color: var(--zf-gold); background: rgba(255, 255, 255, .85); border-radius: 999px; }
[data-theme="atelier"] .zf-qv__close:hover,
[data-theme="atelier"] .zf-qv__close:focus-visible { background: var(--zf-ink); border-color: var(--zf-ink); }
[data-theme="atelier"] .zf-qv__close-text { font-family: var(--zf-font-display); font-style: italic; font-size: 14px; letter-spacing: 0; font-weight: 600; }
[data-theme="noir"] .zf-qv__close { border-radius: 0; border: 1.5px solid #0b0b0b; background: #fff; box-shadow: 4px 4px 0 var(--zf-accent); text-transform: uppercase; letter-spacing: .12em; }
[data-theme="noir"] .zf-qv__close:hover,
[data-theme="noir"] .zf-qv__close:focus-visible { --zf-x-color: #0b0b0b; background: var(--zf-accent); color: #0b0b0b; box-shadow: 4px 4px 0 #0b0b0b; }
[data-theme="noir"] .zf-qv__close-text kbd { border-radius: 0; border-color: #0b0b0b; background: transparent; }
[data-theme="blossom"] .zf-qv__close { --zf-x-color: var(--zf-accent); background: rgba(255, 255, 255, .88); border-color: var(--zf-accent-soft); box-shadow: 0 10px 24px rgba(196, 104, 124, .22); }
[data-theme="blossom"] .zf-qv__close:hover,
[data-theme="blossom"] .zf-qv__close:focus-visible { --zf-x-color: #fff; background: var(--zf-accent); }
[data-theme="classic"] .zf-qv__close:hover,
[data-theme="classic"] .zf-qv__close:focus-visible,
[data-theme="original"] .zf-qv__close:hover,
[data-theme="original"] .zf-qv__close:focus-visible { background: linear-gradient(135deg, #ca1515, #f39c12); box-shadow: 0 12px 28px rgba(202, 21, 21, .32); }
[data-theme="classic"] .zf-qv__close,
[data-theme="original"] .zf-qv__close { --zf-x-color: #ca1515; }
[data-theme="classic"] .zf-qv__close:hover,
[data-theme="classic"] .zf-qv__close:focus-visible,
[data-theme="original"] .zf-qv__close:hover,
[data-theme="original"] .zf-qv__close:focus-visible { --zf-x-color: #fff; }
.zf-qv__grid { display: grid; grid-template-columns: 1fr; }
@media (min-width: 768px) { .zf-qv__grid { grid-template-columns: 46% 54%; } }

.zf-qv__gallery { display: flex; flex-direction: column; background: var(--zf-soft); }
.zf-qv__stage { position: relative; flex: 1; min-height: 340px; overflow: hidden; }
@media (min-width: 768px) { .zf-qv__stage { min-height: 520px; } }
.zf-qv__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .16s ease, transform .6s var(--zf-ease); }
.zf-qv__img.is-swapping { opacity: .25; transform: scale(1.02); }
.zf-qv__stage:hover .zf-qv__img { transform: scale(1.03); }
.zf-qv__fav {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .94);
    color: var(--zf-ink);
    font-size: 18px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .12);
    cursor: pointer;
}
.zf-qv__fav.is-active { color: var(--zf-accent); }
.zf-qv__zoom {
    position: absolute;
    left: 14px;
    bottom: 14px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(20, 20, 20, .66);
    color: #fff !important;
    font-size: 12px;
    font-weight: 600;
    backdrop-filter: blur(6px);
}
.zf-qv__thumbs { display: flex; gap: 8px; padding: 10px; overflow-x: auto; scrollbar-width: none; background: var(--zf-surface); border-top: 1px solid var(--zf-line); }
.zf-qv__thumbs::-webkit-scrollbar { display: none; }
.zf-qv__thumbs button { flex: 0 0 56px; height: 64px; padding: 0; border: 2px solid transparent; border-radius: var(--zf-radius); overflow: hidden; background: var(--zf-sand); cursor: pointer; opacity: .7; transition: opacity .2s ease, border-color .2s ease; }
.zf-qv__thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.zf-qv__thumbs button.is-active, .zf-qv__thumbs button:hover { opacity: 1; border-color: var(--zf-accent); }

.zf-qv__info { display: flex; flex-direction: column; gap: 14px; padding: 28px 26px 24px; max-height: 86vh; overflow-y: auto; }
.zf-qv__eyebrow { font-size: 11px; font-weight: 700; letter-spacing: var(--zf-eyebrow-tracking, .2em); text-transform: uppercase; color: var(--zf-accent); }
.zf-qv .zf-qv__title {
    margin: -6px 0 0;
    padding-right: 40px;
    font-family: var(--zf-font-display);
    font-weight: var(--zf-display-weight);
    text-transform: var(--zf-display-transform);
    letter-spacing: var(--zf-display-tracking);
    font-size: clamp(24px, 3vw, 32px);
    line-height: 1.12;
    color: var(--zf-ink);
}
.zf-qv .zf-rating-link { margin: -6px 0 0; }
.zf-qv__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.zf-qv__price strong { font-size: 26px; font-weight: 800; color: var(--zf-accent); }
.zf-qv__price del { font-size: 14px; color: var(--zf-muted); }
.zf-qv__price small { flex-basis: 100%; font-size: 12px; color: var(--zf-muted); }
.zf-qv__desc { margin: 0 !important; font-size: 14px; line-height: 1.6; color: var(--zf-ink-2); }
.zf-qv__group { display: flex; flex-direction: column; gap: 8px; }
.zf-qv__label { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--zf-muted); }
.zf-qv__label b { margin-left: 6px; color: var(--zf-ink); letter-spacing: 0; text-transform: none; }
.zf-qv__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.zf-qv__chip {
    min-height: 38px;
    padding: 6px 14px;
    border: 1.5px solid var(--zf-line-strong);
    border-radius: var(--zf-radius-btn);
    background: var(--zf-surface);
    color: var(--zf-ink);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: border-color .2s ease, background .2s ease, color .2s ease;
}
.zf-qv__chip:hover { border-color: var(--zf-ink); }
.zf-qv__chip.is-active { border-color: var(--zf-ink); background: var(--zf-ink); color: #fff; }
.zf-qv__chip.is-soldout { color: var(--zf-muted); text-decoration: line-through; }
.zf-qv__stores { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 8px; }
.zf-qv__store {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    padding: 9px 12px;
    border: 1.5px solid var(--zf-line);
    border-radius: var(--zf-radius);
    background: var(--zf-surface);
    text-align: left;
    cursor: pointer;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.zf-qv__store:hover { border-color: var(--zf-line-strong); }
.zf-qv__store.is-active { border-color: var(--zf-accent); box-shadow: 0 0 0 3px var(--zf-accent-soft); }
.zf-qv__store-name { font-size: 13px; font-weight: 700; color: var(--zf-ink); }
.zf-qv__store-name i { color: var(--zf-accent); }
.zf-qv__store-meta { font-size: 11.5px; color: var(--zf-muted); }
.zf-qv__empty { margin: 0 !important; padding: 10px 12px; border-radius: var(--zf-radius); background: var(--zf-soft); font-size: 13px; color: var(--zf-muted); }
.zf-qv__select { position: absolute !important; width: 1px !important; height: 1px !important; opacity: 0; pointer-events: none; }
.zf-qv__buy { display: flex; gap: 10px; align-items: stretch; margin-top: 4px; }
.zf-qv__qty { display: inline-flex; align-items: center; height: 50px; border: 1.5px solid var(--zf-line-strong); border-radius: var(--zf-radius-btn); background: var(--zf-surface); overflow: hidden; }
.zf-qv__qty button { width: 40px; height: 100%; border: 0; background: transparent; font-size: 20px; font-weight: 700; color: var(--zf-ink); cursor: pointer; touch-action: manipulation; }
.zf-qv__qty button:hover { background: var(--zf-soft); }
.zf-qv__qty input { width: 40px; height: 100%; border: 0 !important; padding: 0 !important; background: transparent; text-align: center; font-weight: 800; font-size: 16px; }
.zf-qv__form { flex: 1; margin: 0; }
.zf-qv__add {
    width: 100%;
    height: 50px;
    border: 0;
    border-radius: var(--zf-radius-btn);
    background: var(--zf-ink);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: var(--zf-btn-tracking, .08em);
    text-transform: var(--zf-btn-transform, uppercase);
    cursor: pointer;
    transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}
.zf-qv__add:hover:not(:disabled) { background: var(--zf-accent); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0, 0, 0, .16); }
.zf-qv__add:disabled { background: var(--zf-line-strong); color: var(--zf-muted); cursor: not-allowed; }
.zf-qv__add.is-loading { opacity: .7; }
.zf-qv__perks { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 2px 0 0; padding: 12px 0 0; border-top: 1px dashed var(--zf-line-strong); font-size: 12px; color: var(--zf-muted); }
.zf-qv__perks i { color: var(--zf-success); margin-right: 4px; }
.zf-qv__more { align-self: flex-start; font-size: 13px; font-weight: 700; color: var(--zf-ink) !important; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }
.zf-qv__more i { transition: transform .2s ease; }
.zf-qv__more:hover i { transform: translateX(4px); }

/* HP: muncul sebagai lembar dari bawah */
@media (max-width: 767px) {
    .zf-qv.modal { padding: 0 !important; }
    .zf-qv .zf-qv__dialog { margin: 0; max-width: none; min-height: 100%; align-items: flex-end; }
    .zf-qv .zf-qv__content { border-radius: 22px 22px 0 0; max-height: 94vh; overflow-y: auto; }
    .zf-qv.fade .zf-qv__dialog { transform: translateY(40px); transition: transform .3s var(--zf-ease); }
    .zf-qv.show .zf-qv__dialog { transform: none; }
    .zf-qv__content::before { content: ""; position: absolute; z-index: 6; top: 8px; left: 50%; width: 44px; height: 5px; margin-left: -22px; border-radius: 999px; background: rgba(255, 255, 255, .85); }
    .zf-qv__stage { min-height: 0; aspect-ratio: 1 / 1; }
    .zf-qv__info { max-height: none; overflow: visible; padding: 20px 16px 24px; }
    .zf-qv__stores { grid-template-columns: 1fr 1fr; }
}

/* Karakter per desain */
[data-theme="noir"] .zf-qv__chip.is-active,
[data-theme="noir"] .zf-qv__store.is-active { box-shadow: 4px 4px 0 var(--zf-accent); }
[data-theme="noir"] .zf-qv__add:hover:not(:disabled) { color: #0b0b0b; }
[data-theme="blossom"] .zf-qv__chip.is-active { background: var(--zf-accent); border-color: var(--zf-accent); }
[data-theme="blossom"] .zf-qv__add { background: var(--zf-accent); }
[data-theme="classic"] .zf-qv__add,
[data-theme="original"] .zf-qv__add { background: var(--zf-accent); }
[data-theme="classic"] .zf-qv__add:hover:not(:disabled),
[data-theme="original"] .zf-qv__add:hover:not(:disabled) { background: var(--zf-ink); }
[data-theme="atelier"] .zf-qv__title { font-style: italic; font-weight: 600; }
[data-theme="original"] .zf-qv .zf-qv__content { border-radius: 20px; }

/* ---------- 41. Member Area ---------- */

.zf-member { font-family: var(--zf-font-sans); }
.zf-member-hero {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 28px;
    padding: 26px 28px;
    border-radius: var(--zf-radius-lg);
    overflow: hidden;
    isolation: isolate;
    color: var(--zf-ink);
    background-color: var(--zf-soft);
    background:
        radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--zf-gold) 28%, transparent), transparent 45%),
        radial-gradient(circle at 0% 100%, color-mix(in srgb, var(--zf-accent) 16%, transparent), transparent 50%),
        var(--zf-soft);
    border: 1px solid var(--zf-line);
}
.zf-member-hero::after { content: ""; position: absolute; z-index: -1; right: -40px; bottom: -60px; width: 220px; height: 220px; border-radius: 50%; border: 28px solid color-mix(in srgb, var(--zf-accent) 8%, transparent); }
.zf-member-hero.is-vip { color: #fff7e6; background: radial-gradient(circle at 100% 0%, rgba(243, 197, 92, .35), transparent 45%), linear-gradient(135deg, #1d1712, #3a2a1a); border-color: transparent; }
.zf-member-hero.is-vip::after { border-color: rgba(243, 197, 92, .14); }
.zf-member-hero__id { display: flex; align-items: center; gap: 18px; }
.zf-member-hero__avatar { position: relative; flex: 0 0 84px; width: 84px; height: 84px; margin: 0; border-radius: 50%; padding: 3px; background: linear-gradient(135deg, var(--zf-accent), var(--zf-gold)); cursor: pointer; }
.zf-member-hero__avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 3px solid var(--zf-surface, #fff); }
.zf-member-hero__cam { position: absolute; right: -2px; bottom: -2px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--zf-ink); color: #fff; font-size: 12px; border: 2px solid var(--zf-surface, #fff); }
.zf-member-hero__greet { font-size: 13px; opacity: .75; }
.zf-member .zf-member-hero__name { margin: 0; font-family: var(--zf-font-display); font-weight: var(--zf-display-weight); text-transform: var(--zf-display-transform); font-size: clamp(26px, 4vw, 36px); line-height: 1.1; color: inherit; }
.zf-member-hero__badge { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; padding: 4px 12px; border-radius: 999px; background: var(--zf-surface, #fff); color: var(--zf-ink-2); font-size: 12px; font-weight: 700; }
.zf-member-hero.is-vip .zf-member-hero__badge { background: linear-gradient(90deg, #f3c55c, #e8a93a); color: #2b1d0e; }
.zf-member-hero__stats { display: grid; grid-template-columns: repeat(4, minmax(96px, 1fr)); gap: 10px; }
.zf-member-hero__stats a { display: flex; flex-direction: column; padding: 12px 14px; border-radius: var(--zf-radius); background: rgba(255, 255, 255, .78); color: var(--zf-ink) !important; border: 1px solid rgba(0, 0, 0, .04); transition: transform .2s ease, box-shadow .2s ease; backdrop-filter: blur(6px); }
.zf-member-hero__stats a:hover { transform: translateY(-3px); box-shadow: 0 12px 24px rgba(0, 0, 0, .08); }
.zf-member-hero__stats b { font-size: 24px; font-weight: 800; line-height: 1.1; }
.zf-member-hero__stats span { font-size: 11.5px; color: var(--zf-muted); }
.zf-member-hero__stats a.is-hot { background: var(--zf-accent); color: #fff !important; }
.zf-member-hero__stats a.is-hot span { color: rgba(255, 255, 255, .85); }

.zf-member-nav { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 4px; padding: 10px; border-radius: var(--zf-radius-lg); background: var(--zf-surface, #fff); border: 1px solid var(--zf-line); }
.zf-member-nav a, .zf-member-nav__logout { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border: 0; border-radius: var(--zf-radius); background: transparent; color: var(--zf-ink-2) !important; font-size: 14px; font-weight: 600; text-align: left; cursor: pointer; transition: background .2s ease, color .2s ease; }
.zf-member-nav a i, .zf-member-nav__logout i { width: 18px; text-align: center; color: var(--zf-muted); }
.zf-member-nav a:hover { background: var(--zf-soft); color: var(--zf-ink) !important; }
.zf-member-nav a.is-active { background: var(--zf-ink); color: #fff !important; }
.zf-member-nav a.is-active i { color: var(--zf-gold); }
.zf-member-nav__logout { margin-top: 6px; border-top: 1px solid var(--zf-line); border-radius: 0 0 var(--zf-radius) var(--zf-radius); color: #c0392b !important; }
.zf-member-nav__logout i { color: #c0392b !important; }

.zf-member .profile-content-card { border-radius: var(--zf-radius-lg); border: 1px solid var(--zf-line); box-shadow: 0 10px 30px rgba(20, 20, 20, .04); background: var(--zf-surface, #fff); }
.zf-member .profile-content-title { font-family: var(--zf-font-display); font-weight: var(--zf-display-weight); text-transform: var(--zf-display-transform); color: var(--zf-ink); }

@media (max-width: 991px) {
    .zf-member-hero { padding: 20px; }
    .zf-member-hero__stats { width: 100%; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .zf-member-nav { position: static; flex-direction: row; overflow-x: auto; scrollbar-width: none; gap: 8px; margin-bottom: 18px; padding: 4px 2px 8px; border: 0; background: none; }
    .zf-member-nav::-webkit-scrollbar { display: none; }
    .zf-member-nav a, .zf-member-nav__logout { flex: 0 0 auto; padding: 9px 14px; border: 1px solid var(--zf-line-strong); border-radius: 999px; background: var(--zf-surface, #fff); white-space: nowrap; font-size: 13px; }
    .zf-member-nav__logout { margin-top: 0; }
}
@media (max-width: 575px) {
    .zf-member-hero__avatar { flex-basis: 64px; width: 64px; height: 64px; }
}

/* ---------- 26. Gerak minimal ---------- */

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