/* ==========================================================================
   Binzo Shop: customer site skin (header, footer, drawers, tab bar, home)
   Plain CSS, loaded on every customer page. No logic.
   Light by default; dark when the phone/PC is in dark mode, on redesigned pages
   (body.bzs-page) so pages not redesigned yet never mix light and dark.
   ========================================================================== */

:root {
    --s-bg: #f5f3ef;
    --s-surface: #ffffff;
    --s-surface-2: #faf8f5;
    --s-line: #e8e2da;
    --s-line-soft: #f0ebe5;
    --s-text: #17130f;
    --s-sub: #625a52;
    --s-faint: #978e85;
    --s-accent: rgb(var(--prime-color, 217 97 32));
    --s-accent-soft: rgb(var(--prime-color, 217 97 32) / 0.1);
    --s-accent-ring: rgb(var(--prime-color, 217 97 32) / 0.22);
    --s-ink: #17120e;
    --s-on-ink: #f6efe8;
    --s-ok: #1f8a5b;
    --s-shadow: 0 1px 2px rgb(23 18 14 / 0.04), 0 8px 24px -14px rgb(23 18 14 / 0.18);
    --s-radius: 16px;
    --s-radius-sm: 11px;
    --s-display: "Bricolage Grotesque", Manrope, system-ui, sans-serif;
    --s-body: Manrope, system-ui, sans-serif;
    --s-head-h: 64px;
    --s-tab-h: 64px;
}

@media (prefers-color-scheme: dark) {
    body.bzs-page {
        --s-bg: #0f0d0b;
        --s-surface: #1a1714;
        --s-surface-2: #211d19;
        --s-line: #2e2823;
        --s-line-soft: #26211c;
        --s-text: #f3eee8;
        --s-sub: #b9afa5;
        --s-faint: #8a8077;
        --s-accent-soft: rgb(var(--prime-color, 217 97 32) / 0.16);
        --s-ink: #f3eee8;
        --s-on-ink: #17120e;
        --s-shadow: 0 1px 2px rgb(0 0 0 / 0.3), 0 10px 30px -14px rgb(0 0 0 / 0.6);
        color-scheme: dark;
    }
}

body.bzs-page { background: var(--s-bg) !important; color: var(--s-text); font-family: var(--s-body); }
body.bzs-page > main { background: transparent; }
.bzs-wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .bzs-wrap { padding: 0 24px; } }

.bzs-ico { width: 20px; height: 20px; flex-shrink: 0; }

.bzs-iconbtn {
    display: inline-grid; place-items: center; width: 40px; height: 40px; flex-shrink: 0;
    border-radius: 12px; color: var(--s-text); background: transparent; border: 1px solid transparent;
    transition: background-color .15s, border-color .15s;
}
.bzs-iconbtn:hover { background: var(--s-surface-2); border-color: var(--s-line); }
.bzs-only-mob { display: inline-grid; }
@media (min-width: 1024px) { .bzs-only-mob { display: none !important; } }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
header.bzs-header {
    position: sticky !important; z-index: 40 !important; width: 100%;
    background: color-mix(in srgb, var(--s-surface) 92%, transparent) !important;
    -webkit-backdrop-filter: saturate(1.5) blur(14px); backdrop-filter: saturate(1.5) blur(14px);
    box-shadow: none !important; border-bottom: 1px solid var(--s-line);
    color: var(--s-text); font-family: var(--s-body); padding: 0 !important;
}

.bzs-strip { display: none; background: var(--s-ink); color: var(--s-on-ink); }
@media (min-width: 1024px) { .bzs-strip { display: block; } }
.bzs-strip__row { display: flex; align-items: center; justify-content: space-between; height: 36px; font-size: 12.5px; }
.bzs-strip__links { display: flex; gap: 22px; }
.bzs-strip__links a, .bzs-strip__app { display: inline-flex; align-items: center; gap: 7px; font-weight: 650; opacity: .88; color: inherit; }
.bzs-strip__links a:hover, .bzs-strip__app:hover { opacity: 1; }
.bzs-strip .bzs-ico { width: 15px; height: 15px; }
.bzs-strip__proxy { color: #ffb991 !important; opacity: 1 !important; }
body.bzs-page .bzs-strip__proxy { color: var(--s-accent) !important; }

.bzs-head { display: flex; align-items: center; gap: 10px; height: var(--s-head-h); }
.bzs-logo { display: flex; align-items: center; flex-shrink: 0; margin-right: 4px; }
.bzs-logo img { height: 30px; width: auto; max-width: 150px; object-fit: contain; }
@media (min-width: 1024px) { .bzs-logo img { height: 34px; max-width: 170px; } .bzs-head { gap: 18px; } }

/* Category menus */
.bzs-catnav { display: none; }
@media (min-width: 1180px) { .bzs-catnav { display: block; } }
.bzs-catnav__list { display: flex; gap: 2px; }
.bzs-catnav__item { position: relative; }
.bzs-catnav__btn {
    display: inline-flex; align-items: center; gap: 5px; height: 40px; padding: 0 12px; border-radius: 10px;
    font-size: 13.5px; font-weight: 700; color: var(--s-text); white-space: nowrap;
}
.bzs-catnav__btn .bzs-ico { width: 15px; height: 15px; opacity: .55; }
.bzs-catnav__btn:hover { background: var(--s-accent-soft); color: var(--s-accent); }
.bzs-menu {
    min-width: 270px; max-height: 70vh; overflow-y: auto; padding: 8px; z-index: 60;
    background: var(--s-surface); border: 1px solid var(--s-line); border-radius: 14px; box-shadow: var(--s-shadow);
}
.bzs-menu__item { display: flex; align-items: center; gap: 11px; padding: 8px 10px; border-radius: 10px; font-size: 13.5px; font-weight: 600; color: var(--s-text); }
.bzs-menu__item img { width: 32px; height: 32px; border-radius: 8px; object-fit: cover; background: var(--s-surface-2); }
.bzs-menu__item:hover { background: var(--s-surface-2); color: var(--s-accent); }

/* Search */
.bzs-search { flex: 1; min-width: 0; position: relative; }
.bzs-search__pc { display: none; position: relative; }
.bzs-search__mob { display: block !important; position: relative; }
.bzs-search__toggle { display: none !important; }
@media (min-width: 768px) { .bzs-search__pc { display: block; } .bzs-search__mob { display: none !important; } }
.bzs-searchbox { position: relative; }
.bzs-searchbox .bzs-ico { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--s-faint); pointer-events: none; }
.bzs-searchbox input {
    width: 100%; height: 42px; padding: 0 14px 0 40px; border-radius: 999px;
    border: 1px solid var(--s-line); background: var(--s-surface-2); color: var(--s-text);
    font-size: 14px; font-weight: 550; outline: none; transition: border-color .15s, box-shadow .15s, background-color .15s;
}
.bzs-searchbox input::placeholder { color: var(--s-faint); }
.bzs-searchbox input:focus { border-color: var(--s-accent); background: var(--s-surface); box-shadow: 0 0 0 4px var(--s-accent-ring); }
.bzs-suggest {
    position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 70; padding: 6px;
    background: var(--s-surface); border: 1px solid var(--s-line); border-radius: 14px; box-shadow: var(--s-shadow);
    max-height: 60vh; overflow-y: auto;
}
.bzs-suggest:empty { display: none; }
.bzs-suggest__group { margin: 6px 8px 4px; font-size: 10.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--s-faint); }
.bzs-suggest__item { display: flex; align-items: center; gap: 11px; padding: 8px 10px; border-radius: 10px; font-size: 13.5px; font-weight: 600; color: var(--s-text); }
.bzs-suggest__item img { width: 32px; height: 32px; border-radius: 8px; object-fit: cover; }
.bzs-suggest__item:hover { background: var(--s-surface-2); }

/* Phones: search gets its own full-width row */
@media (max-width: 767px) {
    .bzs-head { flex-wrap: wrap; height: auto; padding-top: 10px; padding-bottom: 10px; row-gap: 10px; }
    .bzs-search { order: 10; flex: 1 1 100%; }
    .bzs-head__actions { margin-left: auto; }
}

.bzs-head__actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

/* Wallet pill */
.bzs-wallet {
    display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 4px 0 11px; border-radius: 999px;
    background: var(--s-accent-soft); color: var(--s-text); font-size: 13.5px; font-weight: 800; white-space: nowrap;
}
.bzs-wallet > .bzs-ico { width: 18px; height: 18px; color: var(--s-accent); }
.bzs-wallet__amt { font-variant-numeric: tabular-nums; }
.bzs-wallet__add {
    display: grid; place-items: center; width: 32px; height: 32px; border-radius: 999px;
    background: var(--s-accent); color: #fff; transition: transform .1s, filter .15s;
}
.bzs-wallet__add .bzs-ico { width: 16px; height: 16px; }
.bzs-wallet__add:hover { filter: brightness(.95); }
.bzs-wallet__add:active { transform: scale(.94); }

/* Account / login */
.bzs-avatar-btn { display: inline-grid; place-items: center; border-radius: 999px; }
.bzs-avatar {
    display: grid; place-items: center; width: 40px; height: 40px; border-radius: 999px;
    background: var(--s-ink); color: var(--s-on-ink); font-size: 13px; font-weight: 800; letter-spacing: .02em;
}
.bzs-avatar .bzs-ico { width: 18px; height: 18px; }
.bzs-login-btn {
    display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 16px; border-radius: 999px;
    background: var(--s-ink); color: var(--s-on-ink); font-size: 13.5px; font-weight: 800;
}
.bzs-login-btn .bzs-ico { width: 18px; height: 18px; }
@media (max-width: 480px) { .bzs-login-btn span { display: none; } .bzs-login-btn { width: 40px; padding: 0; justify-content: center; } }

/* Phone program chips */
.bzs-chips {
    display: flex; gap: 8px; overflow-x: auto; padding: 0 16px 10px; scrollbar-width: none;
    -webkit-mask-image: linear-gradient(90deg, #000 90%, transparent); mask-image: linear-gradient(90deg, #000 90%, transparent);
}
.bzs-chips::-webkit-scrollbar { display: none; }
.bzs-chips a, .bzs-chips button {
    display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0; height: 32px; padding: 0 12px; border-radius: 999px;
    border: 1px solid var(--s-line); background: var(--s-surface); font-size: 12.5px; font-weight: 700; color: var(--s-text);
}
.bzs-chips a .bzs-ico, .bzs-chips button .bzs-ico { width: 15px; height: 15px; color: var(--s-accent); }
.bzs-chips a.is-proxy { background: var(--s-accent); border-color: var(--s-accent); color: #fff; }
.bzs-chips a.is-proxy .bzs-ico { color: #fff; }

/* --------------------------------------------------------------------------
   Phone tab bar
   -------------------------------------------------------------------------- */
.bzs-tabbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: flex; align-items: stretch; justify-content: space-around;
    height: calc(var(--s-tab-h) + env(safe-area-inset-bottom)); padding: 6px 6px env(safe-area-inset-bottom);
    background: color-mix(in srgb, var(--s-surface) 94%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    border-top: 1px solid var(--s-line); font-family: var(--s-body);
}
@media (min-width: 1024px) { .bzs-tabbar { display: none !important; } }
.bzs-tab {
    flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
    color: var(--s-faint); font-size: 11px; font-weight: 700; border-radius: 12px; min-width: 0;
}
.bzs-tab span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bzs-tab .bzs-ico { width: 22px; height: 22px; }
.bzs-tab.is-active { color: var(--s-accent); }
.bzs-tab.is-active .bzs-ico { stroke-width: 2.1; }
.bzs-tab.bottom_auth { color: var(--s-text); }
body.bottom_nav_active { padding-bottom: calc(var(--s-tab-h) + env(safe-area-inset-bottom)); }
@media (min-width: 1024px) { body.bottom_nav_active { padding-bottom: 0; } }

/* --------------------------------------------------------------------------
   Drawers (account menu, login, categories)
   -------------------------------------------------------------------------- */
up-drawer:is(.user_sidebar_modal, .auth_drawer, .accordion) up-drawer-box {
    padding: 0 !important; width: min(380px, 92vw) !important; background: var(--s-surface) !important; color: var(--s-text);
    font-family: var(--s-body);
}
up-drawer:is(.user_sidebar_modal, .auth_drawer, .accordion) up-drawer-dismiss { display: none; }
up-drawer:is(.user_sidebar_modal, .auth_drawer, .accordion) up-drawer-backdrop { background: rgb(15 11 8 / .45); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }

/* Account menu */
.bzs-acct { display: flex; flex-direction: column; gap: 14px; padding: 18px 16px 24px; font-family: var(--s-body); color: var(--s-text); }
.bzs-acct__card { display: flex; gap: 12px; align-items: center; padding: 14px; border-radius: var(--s-radius); background: var(--s-ink); color: var(--s-on-ink); }
.bzs-acct__avatar { display: grid; place-items: center; width: 48px; height: 48px; flex-shrink: 0; border-radius: 999px; background: var(--s-accent); color: #fff; font-weight: 800; font-size: 15px; }
.bzs-acct__who { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.bzs-acct__who strong { font-size: 15px; font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bzs-acct__who > span { font-size: 12.5px; opacity: .72; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bzs-acct__level { display: flex; align-items: center; gap: 8px; margin-top: 6px; font-size: 12px; font-weight: 700; }
.bzs-acct__level > span:first-child { opacity: .7; }
.bzs-acct__levelbtn { height: 24px; padding: 0 10px; border-radius: 999px; background: rgb(255 255 255 / .14); color: inherit; font-size: 11.5px; font-weight: 800; }
.bzs-acct__levelval { padding: 2px 9px; border-radius: 999px; background: var(--s-accent); color: #fff; font-weight: 800; }
.bzs-acct__levelmore { color: inherit; text-decoration: underline; opacity: .85; }
.bzs-spin { display: inline-block; width: 10px; height: 10px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 99px; animation: bzs-spin .7s linear infinite; vertical-align: -1px; }
@keyframes bzs-spin { to { transform: rotate(360deg); } }
.bzs-acct__nav { display: flex; flex-direction: column; gap: 2px; }
.bzs-acct__link { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 12px; font-size: 14px; font-weight: 700; color: var(--s-text); transition: background-color .12s; }
.bzs-acct__link:hover { background: var(--s-surface-2); }
.bzs-acct__link:active { transform: scale(.99); }
.bzs-acct__link.has-gap { margin-bottom: 10px; position: relative; }
.bzs-acct__link.has-gap::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: -6px; height: 1px; background: var(--s-line-soft); }
.bzs-acct__ic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--s-surface-2); color: var(--s-sub); flex-shrink: 0; }
.bzs-acct__ic .bzs-ico { width: 18px; height: 18px; }
.bzs-acct__chev { margin-left: auto; width: 16px; height: 16px; color: var(--s-faint); }
.bzs-acct__link.active { background: var(--s-accent-soft); color: var(--s-accent); }
.bzs-acct__link.active .bzs-acct__ic { background: var(--s-accent); color: #fff; }
.bzs-acct__logout { color: #c2412d; margin-top: 6px; }
.bzs-acct__logout .bzs-acct__ic { background: #fbe9e5; color: #c2412d; }

/* Login panel */
.bzs-auth { display: flex; flex-direction: column; min-height: 100%; padding: 12px 18px 22px; font-family: var(--s-body); color: var(--s-text); }
.bzs-auth__bar { display: flex; justify-content: space-between; align-items: center; }
.bzs-auth__close { margin-left: auto; }
.bzs-auth__hero { text-align: center; padding: 4px 6px 18px; }
.bzs-auth__art { width: min(230px, 70%); margin: 0 auto 8px; }
.bzs-auth__title { margin: 0; font-family: var(--s-display); font-size: 23px; font-weight: 800; letter-spacing: -.02em; }
.bzs-auth__sub { margin: 6px 0 0; font-size: 13.5px; color: var(--s-sub); font-weight: 550; }
.bzs-auth__options { display: flex; flex-direction: column; gap: 10px; }
.bzs-auth__btn {
    display: flex; align-items: center; justify-content: center; gap: 10px; height: 50px; border-radius: 14px;
    font-size: 15px; font-weight: 800; transition: transform .08s, filter .15s, border-color .15s;
}
.bzs-auth__btn:active { transform: scale(.985); }
.bzs-auth__btn--google { background: var(--s-surface); border: 1.5px solid var(--s-line); color: var(--s-text); }
.bzs-auth__btn--google:hover { border-color: #c9bdb0; }
.bzs-auth__btn--email { background: var(--s-accent); color: #fff; }
.bzs-auth__btn--email:hover { filter: brightness(.95); }
.bzs-auth__mount { display: flex; flex-direction: column; gap: 10px; }
.bzs-auth__trust { display: flex; align-items: center; justify-content: center; gap: 7px; margin: auto 0 0; padding-top: 22px; font-size: 12px; color: var(--s-faint); font-weight: 600; }
.bzs-auth__trust .bzs-ico { width: 15px; height: 15px; color: var(--s-ok); }
/* Email / PIN forms that load into the login panel */
.auth_drawer form.form_mount { display: flex !important; flex-direction: column; gap: 12px; font-family: var(--s-body); }
.auth_drawer form.form_mount label { font-size: 12.5px !important; font-weight: 700; color: var(--s-sub); text-transform: capitalize; }
.auth_drawer form.form_mount input:not([type="hidden"]) {
    width: 100%; height: 48px !important; padding: 0 14px !important; border-radius: 12px !important;
    border: 1.5px solid var(--s-line) !important; background: var(--s-surface) !important; color: var(--s-text) !important; font-size: 15px !important;
}
.auth_drawer form.form_mount input:focus { outline: none; border-color: var(--s-accent) !important; box-shadow: 0 0 0 4px var(--s-accent-ring); }
.auth_drawer form.form_mount button {
    width: 100%; height: 50px; border-radius: 14px !important; background: var(--s-accent) !important; color: #fff !important;
    font-size: 15px; font-weight: 800; margin: 4px 0 0 !important; float: none !important;
}
.auth_drawer .otp_input { text-align: center; }
.auth_drawer .otp_input > p { font-size: 14px; font-weight: 700; color: var(--s-sub); margin-bottom: 12px; }
.auth_drawer .otp_input .t-flex { gap: 10px; justify-content: center; }
.auth_drawer .otp_input .t-flex > * + * { margin-left: 0 !important; }
.auth_drawer .otp_input input { width: 52px !important; height: 58px !important; padding: 0 !important; text-align: center; font-size: 22px !important; font-weight: 800; }

/* Categories drawer */
.bzs-catdrawer { display: flex; flex-direction: column; gap: 12px; padding: 14px 14px 26px; font-family: var(--s-body); color: var(--s-text); }
.bzs-catdrawer__head { display: flex; align-items: center; justify-content: space-between; }
.bzs-catdrawer__logo { height: 30px; width: auto; }
.bzs-catdrawer__quick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.bzs-catdrawer__quick a { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 6px; border-radius: 14px; background: var(--s-surface-2); border: 1px solid var(--s-line-soft); font-size: 12px; font-weight: 700; color: var(--s-text); text-align: center; }
.bzs-catdrawer__quick a .bzs-ico { color: var(--s-accent); }
.bzs-catdrawer__label { margin: 6px 4px 0; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--s-faint); }
.bzs-catdrawer__list { display: flex; flex-direction: column; gap: 4px; }
.bzs-catdrawer__cat { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 12px; border-radius: 12px; font-size: 14px; font-weight: 750; color: var(--s-text); text-align: left; }
.bzs-catdrawer__cat .bzs-ico { width: 16px; height: 16px; color: var(--s-faint); transition: transform .2s; }
.bzs-catdrawer__cat.is-open { background: var(--s-accent-soft); color: var(--s-accent); }
.bzs-catdrawer__items { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 6px 4px 10px; }
.bzs-catdrawer__items a { display: flex; align-items: center; gap: 8px; padding: 7px; border-radius: 10px; background: var(--s-surface-2); font-size: 12px; font-weight: 650; color: var(--s-text); line-height: 1.25; }
.bzs-catdrawer__items img { width: 34px; height: 34px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }

/* --------------------------------------------------------------------------
   Footer (always dark ink)
   -------------------------------------------------------------------------- */
.bzs-footer { margin-top: 48px; padding: 40px 0 26px; background: #14110e; color: #d9d0c6; font-family: var(--s-body); }
.bzs-footer__top { display: grid; gap: 26px; }
@media (min-width: 900px) { .bzs-footer__top { grid-template-columns: minmax(240px, 1fr) 2.2fr; gap: 48px; } }
.bzs-footer__logo img { height: 46px; width: auto; }
.bzs-footer__about { margin: 12px 0 0; font-size: 13px; line-height: 1.6; color: #a99f95; max-width: 320px; }
.bzs-footer__social { display: flex; gap: 8px; margin-top: 16px; }
.bzs-footer__social a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: #221d18; color: #e9e1d8; transition: background-color .15s; }
.bzs-footer__social a:hover { background: var(--s-accent); color: #fff; }
.bzs-footer__social .bzs-ico { width: 18px; height: 18px; }
.bzs-footer__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px 24px; }
.bzs-footer__col > summary { display: flex; align-items: center; justify-content: space-between; list-style: none; cursor: pointer; padding: 6px 0; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #fff; }
.bzs-footer__col > summary::-webkit-details-marker { display: none; }
.bzs-footer__col > summary .bzs-ico { width: 16px; height: 16px; opacity: .6; }
@media (min-width: 640px) { .bzs-footer__col > summary { pointer-events: none; } .bzs-footer__col > summary .bzs-ico { display: none; } }
.bzs-footer__links { display: flex; flex-direction: column; gap: 9px; padding: 6px 0 4px; }
.bzs-footer__links a { font-size: 13.5px; color: #b8aea4; font-weight: 550; }
.bzs-footer__links a:hover { color: #fff; }
@media (max-width: 639px) {
    .bzs-footer__cols { grid-template-columns: 1fr; gap: 0; }
    .bzs-footer__col { border-bottom: 1px solid #2a241f; }
    .bzs-footer__col > summary { padding: 14px 0; }
    .bzs-footer__col[open] > summary .bzs-ico { transform: rotate(180deg); }
}
.bzs-footer__trust { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 30px; padding: 18px 0; border-top: 1px solid #2a241f; border-bottom: 1px solid #2a241f; }
.bzs-footer__pay { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.bzs-footer__pay span { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #8f857b; }
.bzs-footer__pay img { height: 34px; width: auto; max-width: 100%; border-radius: 6px; }
.bzs-footer__safe img { height: 46px; width: auto; }
.bzs-footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-top: 18px; font-size: 12.5px; color: #8f857b; }
.bzs-footer__copy, .bzs-footer__copy * { color: #8f857b !important; font-size: 12.5px !important; font-weight: 550 !important; }
.bzs-footer__sister { display: inline-flex; align-items: center; gap: 7px; color: #ffb991; font-weight: 700; }
.bzs-footer__sister .bzs-ico { width: 16px; height: 16px; }

/* --------------------------------------------------------------------------
   Home
   -------------------------------------------------------------------------- */
.bzs-home { display: flex; flex-direction: column; gap: 26px; padding-top: 16px; padding-bottom: 10px; }
@media (min-width: 768px) { .bzs-home { gap: 34px; padding-top: 24px; } }

.bzs-sec__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.bzs-sec__title { margin: 0; font-family: var(--s-display); font-size: 19px; font-weight: 800; letter-spacing: -.02em; color: var(--s-text); }
@media (min-width: 768px) { .bzs-sec__title { font-size: 22px; } }
.bzs-sec__more { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 800; color: var(--s-accent); white-space: nowrap; }
.bzs-sec__more .bzs-ico { width: 15px; height: 15px; transition: transform .15s; }
.bzs-sec__more:hover .bzs-ico { transform: translateX(3px); }

/* Hero */
.bzs-hero { display: grid; gap: 12px; }
@media (min-width: 1024px) { .bzs-hero { grid-template-columns: minmax(0, 2.15fr) minmax(0, 1fr); gap: 16px; align-items: stretch; } }
.bzs-banner { border-radius: var(--s-radius); overflow: hidden; background: var(--s-surface-2); }
.bzs-banner .splide__slide { border-radius: var(--s-radius); overflow: hidden; }
.bzs-banner img { display: block; width: 100%; height: auto; aspect-ratio: 1376 / 768; object-fit: cover; }
.bzs-banner__link { display: block; }
.bzs-banner__code { width: 100%; aspect-ratio: 1376 / 768; overflow: hidden; position: relative; z-index: 1; }
.bzs-banner__code > * { max-width: 100%; }
.bzs-banner .splide__pagination { bottom: 10px; }
.bzs-banner .splide__pagination__page { width: 7px; height: 7px; margin: 0 3px; background: rgb(255 255 255 / .55); opacity: 1; transition: width .2s; }
.bzs-banner .splide__pagination__page.is-active { width: 20px; border-radius: 99px; background: #fff; transform: none; }
@media (max-width: 480px) { .bzs-banner { margin: 0 -16px; border-radius: 0; } .bzs-banner .splide__slide { border-radius: 14px; } }

.bzs-hero__side { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (min-width: 1024px) { .bzs-hero__side { grid-template-columns: 1fr; grid-template-rows: 1fr 1fr; gap: 16px; } }
.bzs-promo {
    position: relative; display: flex; align-items: center; gap: 12px; padding: 14px; overflow: hidden;
    border-radius: var(--s-radius); border: 1px solid var(--s-line); background: var(--s-surface); color: var(--s-text);
    transition: transform .15s, box-shadow .15s;
}
.bzs-promo:hover { transform: translateY(-2px); box-shadow: var(--s-shadow); }
.bzs-promo__ic { display: grid; place-items: center; width: 42px; height: 42px; flex-shrink: 0; border-radius: 13px; background: var(--s-accent-soft); color: var(--s-accent); }
.bzs-promo__txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.bzs-promo__txt b { font-size: 14.5px; font-weight: 800; }
.bzs-promo__txt small { font-size: 12px; color: var(--s-sub); font-weight: 600; line-height: 1.35; }
.bzs-promo__go { margin-left: auto; width: 18px; height: 18px; color: var(--s-faint); }
.bzs-promo--proxy { background: var(--s-ink); color: var(--s-on-ink); border-color: var(--s-ink); }
.bzs-promo--proxy .bzs-promo__ic { background: var(--s-accent); color: #fff; }
.bzs-promo--proxy .bzs-promo__txt small, .bzs-promo--proxy .bzs-promo__go { color: inherit; opacity: .7; }
.bzs-promo--proxy::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 140px; height: 140px; border-radius: 999px; border: 18px solid rgb(var(--prime-color, 217 97 32) / .22); }
@media (min-width: 1024px) { .bzs-promo { padding: 20px; align-items: flex-end; } .bzs-promo__ic { width: 48px; height: 48px; position: absolute; top: 18px; left: 20px; } .bzs-promo__txt b { font-size: 17px; } .bzs-promo__txt { padding-top: 54px; } }
@media (max-width: 480px) { .bzs-promo { flex-direction: column; align-items: flex-start; padding: 12px; gap: 8px; } .bzs-promo__go { display: none; } .bzs-promo__ic { width: 38px; height: 38px; } }

/* Quick categories */
.bzs-cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
@media (min-width: 560px) { .bzs-cats { grid-template-columns: repeat(5, 1fr); } }
@media (min-width: 900px) { .bzs-cats { grid-template-columns: repeat(9, 1fr); } }
.bzs-cat {
    display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 6px 12px;
    border-radius: var(--s-radius); background: var(--s-surface); border: 1px solid var(--s-line-soft);
    font-size: 12.5px; font-weight: 750; color: var(--s-text); text-align: center; transition: transform .15s, border-color .15s, box-shadow .15s;
}
.bzs-cat:hover { transform: translateY(-2px); border-color: var(--s-accent); box-shadow: var(--s-shadow); }
.bzs-cat:active { transform: scale(.97); }
.bzs-cat__ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--s-accent-soft); color: var(--s-accent); transition: background-color .15s, color .15s; }
.bzs-cat__ic .bzs-ico { width: 23px; height: 23px; }
.bzs-cat:hover .bzs-cat__ic { background: var(--s-accent); color: #fff; }
.bzs-cat__name { line-height: 1.2; }
.bzs-cat--proxy { background: var(--s-ink); border-color: var(--s-ink); color: var(--s-on-ink); }
.bzs-cat--proxy .bzs-cat__ic { background: var(--s-accent); color: #fff; }

/* Buy again */
.bzs-again .splide__slide { width: 260px; max-width: 80vw; margin-right: 10px; }
.bzs-again__card { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: var(--s-radius); background: var(--s-surface); border: 1px solid var(--s-line-soft); color: var(--s-text); }
.bzs-again__card img { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; flex-shrink: 0; background: var(--s-surface-2); }
.bzs-again__name { font-size: 13.5px; font-weight: 750; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bzs-again__go { margin-left: auto; width: 16px; height: 16px; color: var(--s-faint); flex-shrink: 0; }
.bzs-again__txt { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.bzs-again__tag { align-self: flex-start; font-size: 10.5px; font-weight: 800; letter-spacing: .02em; padding: 2px 7px; border-radius: 999px; background: var(--s-surface-2); color: var(--s-muted, var(--s-faint)); }
.bzs-again__tag.is-bought { background: var(--s-accent-soft); color: var(--s-accent); }
.bzs-again__card.is-viewed { border-style: dashed; }

/* Category blocks with 4 products */
.bzs-catblocks { display: grid; gap: 14px; }
@media (min-width: 640px) { .bzs-catblocks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .bzs-catblocks { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } }
.bzs-catblock { display: flex; flex-direction: column; gap: 10px; padding: 14px; border-radius: var(--s-radius); background: var(--s-surface); border: 1px solid var(--s-line-soft); }
.bzs-catblock__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: var(--s-text); }
.bzs-catblock__head h2 { margin: 0; font-family: var(--s-display); font-size: 16px; font-weight: 800; letter-spacing: -.01em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bzs-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 640px) and (max-width: 1099px) { .bzs-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.bzs-tile { display: flex; flex-direction: column; gap: 7px; color: var(--s-text); }
.bzs-tile__img { display: block; aspect-ratio: 1 / 1; border-radius: 14px; overflow: hidden; background: var(--s-surface-2); border: 1px solid var(--s-line-soft); }
.bzs-tile__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.bzs-tile:hover .bzs-tile__img img { transform: scale(1.04); }
.bzs-tile:active .bzs-tile__img { transform: scale(.98); }
.bzs-tile__name { font-size: 12.5px; font-weight: 700; line-height: 1.3; text-align: center; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; }

/* Binzo exclusive */
.bzs-excl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 768px) { .bzs-excl { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .bzs-excl { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.bzs-excl__card { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: var(--s-radius); background: var(--s-surface); border: 1px solid var(--s-line-soft); color: var(--s-text); transition: border-color .15s, transform .15s; }
.bzs-excl__card:hover { border-color: var(--s-accent); transform: translateY(-2px); }
.bzs-excl__ic { display: grid; place-items: center; width: 40px; height: 40px; flex-shrink: 0; border-radius: 12px; background: var(--s-surface-2); color: var(--s-accent); }
.bzs-excl__txt { display: flex; flex-direction: column; min-width: 0; }
.bzs-excl__txt b { font-size: 13.5px; font-weight: 800; }
.bzs-excl__txt small { font-size: 11.5px; color: var(--s-faint); font-weight: 600; }
@media (min-width: 1100px) { .bzs-excl__card { flex-direction: column; align-items: flex-start; } }

.bzs-allcta {
    display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 20px;
    border-radius: var(--s-radius); background: var(--s-accent); color: #fff; transition: filter .15s;
}
.bzs-allcta:hover { filter: brightness(.96); }
.bzs-allcta span { display: flex; flex-direction: column; gap: 2px; }
.bzs-allcta b { font-family: var(--s-display); font-size: 18px; font-weight: 800; }
.bzs-allcta small { font-size: 12.5px; opacity: .85; font-weight: 600; }
.bzs-allcta .bzs-ico { width: 26px; height: 26px; }

/* Old support bubble keeps working; keep it above the phone tab bar */
@media (max-width: 1023px) { #ConTacTlnkS > a.supportBtn { bottom: calc(var(--s-tab-h) + 14px) !important; } }

/* Redesigned pages manage their own spacing */
body.bzs-page > main { padding: 0 !important; max-width: none !important; }
/* Hero: banner full width (the slider shows a peek of the next banner), promo cards below */
@media (min-width: 1024px) {
    .bzs-hero { grid-template-columns: 1fr !important; }
    .bzs-hero__side { grid-template-columns: 1fr 1fr !important; grid-template-rows: none !important; }
    .bzs-promo { align-items: center !important; padding: 18px 20px !important; }
    .bzs-promo__ic { position: static !important; }
    .bzs-promo__txt { padding-top: 0 !important; }
}

/* --- Phone polish --- */
.bzs-suggest:not(:has(a)) { display: none !important; }
@media (max-width: 767px) {
    .bzs-head { gap: 8px; }
    .bzs-logo img { height: 26px; max-width: 118px; }
    .bzs-head__actions { gap: 6px; }
    .bzs-head__actions > .bzs-iconbtn { display: none !important; } /* app link lives in the chips row on phones */
    .bzs-wallet { height: 36px; padding-left: 9px; font-size: 13px; gap: 5px; }
    .bzs-wallet > .bzs-ico { width: 16px; height: 16px; }
    .bzs-wallet__add { width: 28px; height: 28px; }
    .bzs-avatar, .bzs-login-btn { height: 36px; width: 36px; }
    .bzs-iconbtn { width: 36px; height: 36px; }
}
/* Four products per row inside a category block on phones and tablets; 2x2 when four blocks sit side by side */
.bzs-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 8px; }
@media (min-width: 1100px) { .bzs-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 10px; } }
@media (max-width: 639px) {
    .bzs-catblock { padding: 12px; }
    .bzs-tile__img { border-radius: 11px; }
    .bzs-tile__name { font-size: 11px; }
}
.bzs-auth:not(:has(form.form_mount)) .back_btn { visibility: hidden; }

/* Dark mode details */
@media (prefers-color-scheme: dark) {
    body.bzs-page .bzs-strip { background: #070605; color: #e9e1d8; border-bottom: 1px solid #1f1a16; }
    /* The uploaded logo has dark lettering, so give it a soft light plate in dark mode */
    body.bzs-page .bzs-logo, body.bzs-page .bzs-catdrawer__logo { background: #f6f1ea; border-radius: 10px; padding: 4px 8px; }
    body.bzs-page .bzs-acct__logout .bzs-acct__ic { background: #3a1d16; }
}
.bzs-acct .bzs-acct__nav { padding: 0 !important; margin: 0 !important; } .bzs-acct .bzs-acct__link { margin-left: 0 !important; margin-right: 0 !important; padding: 10px !important; }
.bzs-footer__copy, .bzs-footer__copy * { font-family: var(--s-body) !important; text-align: left !important; }

/* ==========================================================================
   Home & header update (Nov 2026)
   ========================================================================== */
/* Phones (<768px): no logo in the header (it is in the ☰ menu), no chips row */
.bzs-chips { display: none !important; }
@media (max-width: 767px) {
    .bzs-head > .bzs-logo { display: none !important; }
    .bzs-head { padding-top: 10px; padding-bottom: 12px; }
}

/* App download button (between wallet and account; phones/tablets).
   Looks like the app-store "Download" badges people already know: black badge, green Android robot,
   small "DOWNLOAD" line and a bold "App". Same black badge in light and dark mode (with a light edge in dark). */
.bzs-appbtn {
    display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 11px 0 8px; flex-shrink: 0;
    border-radius: 11px; background: #000; color: #fff; border: 1px solid #000;
    box-shadow: 0 6px 14px -8px rgb(0 0 0 / .6);
    transition: transform .12s;
}
.bzs-appbtn__droid { width: 22px; height: 22px; color: #3ddc84; flex-shrink: 0; }
.bzs-appbtn__txt { display: flex; flex-direction: column; align-items: flex-start; line-height: 1; text-align: left; }
.bzs-appbtn__txt small { font-size: 8.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .85; }
.bzs-appbtn__txt b { margin-top: 2px; font-size: 14px; font-weight: 800; letter-spacing: .01em; }
.bzs-appbtn:active { transform: scale(.95); }
@media (max-width: 767px) { .bzs-appbtn { height: 36px; } }
@media (max-width: 340px) { .bzs-appbtn__txt small { display: none; } .bzs-appbtn { padding: 0 9px 0 7px; } }
@media (prefers-color-scheme: dark) {
    body.bzs-page .bzs-appbtn { border-color: rgb(255 255 255 / .28); box-shadow: none; }
}

/* Logo for dark mode: only shown when one is uploaded in Admin > Header */
.bzs-logo__dark { display: none; }
@media (prefers-color-scheme: dark) {
    body.bzs-page .bzs-logo.has-dark, body.bzs-page .bzs-catdrawer__brand.has-dark .bzs-catdrawer__logo { background: none !important; padding: 0 !important; }
    body.bzs-page .has-dark .bzs-logo__light { display: none; }
    body.bzs-page .has-dark .bzs-logo__dark { display: block; }
}
.bzs-catdrawer__brand { display: inline-flex; align-items: center; }
.bzs-catdrawer__brand img { height: 30px; width: auto; }
@media (prefers-color-scheme: dark) { body.bzs-page .bzs-catdrawer__brand:not(.has-dark) { background: #f6f1ea; border-radius: 10px; padding: 4px 8px; } body.bzs-page .bzs-catdrawer__brand:not(.has-dark) .bzs-catdrawer__logo { background: none; padding: 0; } }

/* Menu drawer: programs list (moved from the phone header) */
.bzs-catdrawer__quick a.is-proxy { background: var(--s-accent); border-color: var(--s-accent); color: #fff; }
.bzs-catdrawer__quick a.is-proxy .bzs-ico { color: #fff; }
.bzs-catdrawer__programs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.bzs-catdrawer__programs > * { display: flex; align-items: center; gap: 9px; padding: 11px 12px; border-radius: 13px; border: 1px solid var(--s-line-soft); background: var(--s-surface); color: var(--s-text); font-size: 13px; font-weight: 750; text-align: left; }
.bzs-catdrawer__programs .bzs-ico { width: 17px; height: 17px; color: var(--s-accent); flex-shrink: 0; }
.bzs-catdrawer__programs button { background: var(--s-ink); border-color: var(--s-ink); color: var(--s-on-ink); }
.bzs-catdrawer__programs button .bzs-ico { color: #3ddc84; }

/* Banner: one full slide on phones (no side peeks); two side by side on PC when there are 3+ */
.bzs-hero { display: block !important; }
.bzs-banner .splide__track { padding-left: 0 !important; padding-right: 0 !important; }
@media (max-width: 480px) { .bzs-banner { margin: 0 !important; border-radius: 16px !important; } .bzs-banner .splide__slide { border-radius: 16px; } }
.bzs-banner.is-two { background: none; border-radius: 0; overflow: visible; }
.bzs-banner.is-two .splide__track { border-radius: var(--s-radius); }
.bzs-banner.is-one { max-width: 920px; margin-left: auto; margin-right: auto; }
@media (min-width: 1024px) { .bzs-banner.is-two .splide__pagination { bottom: 12px; } }

/* Proxy + offers cards (now after Browse categories) */
.bzs-promos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (min-width: 768px) { .bzs-promos { gap: 16px; } }
.bzs-promos .bzs-promo { flex-direction: row !important; align-items: center !important; padding: 14px 16px !important; gap: 12px !important; }
.bzs-promos .bzs-promo__ic { position: static !important; }
.bzs-promos .bzs-promo__txt { padding-top: 0 !important; }
@media (min-width: 1024px) { .bzs-promos .bzs-promo { padding: 20px 22px !important; } .bzs-promos .bzs-promo__txt b { font-size: 17px; } }
@media (max-width: 767px) {
    .bzs-promos .bzs-promo { padding: 10px 12px !important; gap: 10px !important; min-height: 0; }
    .bzs-promos .bzs-promo__txt small { display: none; }   /* short cards on phones */
    .bzs-promos .bzs-promo__txt b { font-size: 13.5px; line-height: 1.2; }
    .bzs-promos .bzs-promo__ic { width: 34px !important; height: 34px !important; border-radius: 11px; }
    .bzs-promos .bzs-promo__ic .bzs-ico { width: 18px; height: 18px; }
    .bzs-promos .bzs-promo__go { display: block !important; width: 15px; height: 15px; }
    .bzs-promos .bzs-promo--proxy::after { width: 80px; height: 80px; right: -30px; bottom: -36px; border-width: 12px; }
}

/* Less empty space between "See 2K+ more products" and the footer */
.bzs-home { padding-bottom: 0 !important; }
body.bzs-page .bzs-footer { margin-top: 28px; }
@media (max-width: 767px) { body.bzs-page .bzs-footer { margin-top: 22px; } }
/* The old peek design shrank and faded the side banners; every visible banner is now full size */
.bzs-banner.notices .splide__slide, .bzs-banner.notices .splide__slide:not(.is-active) { transform: none !important; opacity: 1 !important; }
.bzs-catdrawer__programs button { background: #17120e !important; border-color: #2e2823 !important; color: #fff !important; }/* Phones: keep menu + wallet + app badge + account on one row, even with a large balance */
@media (max-width: 767px) {
    .bzs-head__actions { flex: 1 1 0; min-width: 0; justify-content: flex-end; }
    .bzs-wallet { min-width: 0; flex-shrink: 1; }
    .bzs-wallet__amt { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
}
@media (max-width: 400px) {
    .bzs-appbtn { padding: 0 9px 0 7px; gap: 5px; }
    .bzs-appbtn__droid { width: 20px; height: 20px; }
    .bzs-appbtn__txt small { font-size: 7.5px; }
    .bzs-appbtn__txt b { font-size: 13px; }
}
@media (max-width: 400px) {
    .bzs-wallet > .bzs-ico { display: none; }   /* room for the full balance on small phones */
    .bzs-wallet { padding-left: 11px; gap: 6px; }
    .bzs-head { gap: 6px; }
}
