/* =====================================================================
   Brand landing pages ({slug}.nineone1.pk and brands' own domains).
   Colours and heading font come from the brand (CSS variables set inline).
   ===================================================================== */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('/assets/fonts/inter-var.woff2') format('woff2'); }
:root { --ink: #111; --muted: #6b6b6b; --line: #e8e8e8; --soft: #f5f5f5; --sale: #d0312d; --radius: 14px; --wrap: 1280px; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 15px/1.55 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif; color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; }
body.bs-lock { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { font-family: var(--heading-font); font-weight: var(--heading-weight); letter-spacing: var(--heading-spacing); margin: 0; line-height: 1.15; }
.bs-wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 36px; }
.ic { width: 20px; height: 20px; flex-shrink: 0; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ── Announcement bar (scrolls) ── */
.bs-announce { background: #0d0d0d; color: #fff; font-size: 13px; font-weight: 600; height: 40px; overflow: hidden; display: flex; align-items: center; }
.bs-announce__track { display: flex; gap: 64px; white-space: nowrap; padding-left: 100%; animation: bsMarquee 28s linear infinite; }
.bs-announce__track span { display: inline-flex; align-items: center; gap: 10px; }
.bs-announce__track span::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--brand-contrast-dot, #fff); opacity: .7; }
@keyframes bsMarquee { to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) { .bs-announce__track { animation: none; padding-left: 24px; } }

/* ── Header: search | logo | bag, then the menu ── */
.bs-head { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid var(--line); }
.bs-head__bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 84px; }
.bs-head__left, .bs-head__right { display: flex; align-items: center; gap: 6px; }
.bs-head__right { justify-content: flex-end; }
.bs-iconbtn { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 12px; border: 0; border-radius: 12px; background: none; font-size: 15px; font-weight: 500; color: #333; }
.bs-iconbtn:hover { background: var(--soft); }
.bs-iconbtn--round { width: 42px; padding: 0; justify-content: center; position: relative; }
.bs-bagcount { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--brand); color: var(--brand-ink); font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; }
.bs-bagcount[hidden] { display: none; }
.bs-logo { display: flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--heading-font); font-weight: var(--heading-weight); font-size: 24px; letter-spacing: var(--heading-spacing); }
.bs-logo img { height: 52px; width: auto; max-width: 180px; object-fit: contain; }
.bs-nav { display: flex; justify-content: center; gap: 4px; overflow-x: auto; scrollbar-width: none; padding: 0 0 10px; }
.bs-nav::-webkit-scrollbar { display: none; }
.bs-nav a { padding: 6px 10px; border-radius: 8px; font-size: 15px; font-weight: 500; color: #333; white-space: nowrap; }
.bs-nav a:hover { background: var(--soft); color: var(--ink); }
.bs-search { display: none; padding: 0 0 14px; }
.bs-search.is-open { display: block; }
.bs-search__box { display: flex; align-items: center; gap: 10px; max-width: 640px; margin: 0 auto; height: 46px; padding: 0 16px; border-radius: 999px; background: var(--soft); }
.bs-search__box input { flex: 1; border: 0; outline: 0; background: none; font: inherit; font-size: 15px; }

/* ── Hero slider ── */
.bs-hero { padding: 20px 0 0; }
.bs-hero__frame { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--brand); aspect-ratio: 16 / 7; min-height: 360px; }
.bs-hero__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility .8s; }
.bs-hero__slide.is-on { opacity: 1; visibility: visible; }
.bs-hero__slide img { width: 100%; height: 100%; object-fit: cover; }
.bs-hero__slide::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,.12) 45%, rgba(0,0,0,0) 70%); }
.bs-hero__slide--plain::after { display: none; }
.bs-hero__copy { position: absolute; z-index: 1; left: 64px; bottom: 64px; max-width: 520px; color: #fff; }
.bs-hero__copy h1, .bs-hero__copy h2 { font-size: clamp(32px, 4.6vw, 60px); text-shadow: 0 2px 24px rgba(0,0,0,.18); }
.bs-hero__copy p { margin: 12px 0 0; font-size: clamp(15px, 1.5vw, 18px); opacity: .95; }
.bs-hero__copy .bs-btn { margin-top: 24px; }
.bs-hero__plain { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; background: radial-gradient(120% 120% at 20% 0%, var(--accent) 0%, var(--brand) 62%); color: var(--brand-ink); padding: 32px; }
.bs-hero__plain img { width: 96px; height: 96px; object-fit: contain; border-radius: 22px; background: #fff; padding: 12px; margin: 0 auto 18px; box-shadow: 0 12px 32px rgba(0,0,0,.18); }
.bs-hero__plain h1 { font-size: clamp(36px, 5.4vw, 72px); }
.bs-hero__plain p { margin: 12px auto 26px; max-width: 560px; font-size: 18px; opacity: .9; }
.bs-hero__dots { position: absolute; z-index: 2; left: 0; right: 0; bottom: 20px; display: flex; justify-content: center; gap: 8px; }
.bs-hero__dots button { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 99px; background: rgba(255,255,255,.55); transition: width .3s, background .3s; }
.bs-hero__dots button.is-on { width: 26px; background: #fff; }
.bs-hero__arrow { position: absolute; z-index: 2; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border: 0; border-radius: 50%; background: rgba(255,255,255,.88); display: grid; place-items: center; box-shadow: 0 4px 16px rgba(0,0,0,.12); }
.bs-hero__arrow--prev { left: 18px; }
.bs-hero__arrow--next { right: 18px; }

/* ── Buttons ── */
.bs-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 26px; border: 0; border-radius: 999px; background: var(--brand); color: var(--brand-ink); font-size: 15px; font-weight: 600; transition: transform .15s ease, box-shadow .15s ease, opacity .15s; }
.bs-btn:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(0,0,0,.16); }
.bs-btn:disabled { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }
.bs-btn--light { background: #fff; color: #111; }
.bs-btn--outline { background: #fff; color: #111; box-shadow: inset 0 0 0 1px #d6d6d6; height: 46px; }
.bs-btn--outline:hover { box-shadow: inset 0 0 0 1px #111; transform: none; }
.bs-btn--block { width: 100%; }

/* ── Sections ── */
.bs-section { padding: 72px 0 0; }
.bs-section__title { text-align: center; font-size: 26px; text-transform: uppercase; letter-spacing: .02em; margin-bottom: 28px; }
.bs-section__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.bs-section__head .bs-section__title { margin: 0; text-align: left; }
.bs-arrows { display: flex; gap: 8px; }
.bs-arrows button { width: 38px; height: 38px; border-radius: 50%; border: 1px solid #d6d6d6; background: #fff; display: grid; place-items: center; }
.bs-arrows button:hover { border-color: #111; }
.bs-more { display: flex; justify-content: center; margin-top: 30px; }

/* Rows that scroll sideways (New arrivals, Best sellers, Sale) */
.bs-row { position: relative; }
.bs-row__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 72px) / 4); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; }
.bs-row__track::-webkit-scrollbar { display: none; }
.bs-row__track > * { scroll-snap-align: start; }
.bs-row__nav { position: absolute; top: 38%; width: 46px; height: 46px; border-radius: 50%; border: 0; background: #fff; box-shadow: 0 4px 18px rgba(0,0,0,.14); display: grid; place-items: center; z-index: 2; }
.bs-row__nav--prev { left: -18px; }
.bs-row__nav--next { right: -18px; }
.bs-row__nav[disabled] { opacity: 0; pointer-events: none; }

/* Tabs (shop by category) */
.bs-tabs { display: flex; justify-content: center; gap: 22px; margin: -6px 0 28px; overflow-x: auto; scrollbar-width: none; }
.bs-tabs::-webkit-scrollbar { display: none; }
.bs-tabs button { border: 0; background: none; padding: 6px 2px 10px; font-size: 15px; font-weight: 500; color: var(--muted); border-bottom: 2px solid transparent; white-space: nowrap; }
.bs-tabs button.is-on { color: var(--ink); font-weight: 600; border-bottom-color: var(--ink); }
.bs-tabpanel[hidden] { display: none; }

/* Grid */
.bs-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 24px; }
.bs-empty { padding: 48px; text-align: center; color: var(--muted); border: 1px dashed #ddd; border-radius: var(--radius); }

/* ── Product card ── */
.bs-card { min-width: 0; }
.bs-card__media { position: relative; display: block; aspect-ratio: 3 / 4.2; border-radius: 12px; overflow: hidden; background: var(--accent); }
.bs-card__media img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .6s ease, opacity .4s ease; }
.bs-card__media .bs-card__alt { position: absolute; inset: 0; opacity: 0; }
.bs-card:hover .bs-card__media img:first-child { transform: scale(1.04); }
.bs-card:hover .bs-card__alt { opacity: 1; }
.bs-tag { position: absolute; top: 12px; left: 12px; z-index: 1; padding: 4px 9px; border-radius: 6px; background: var(--sale); color: #fff; font-size: 12px; font-weight: 700; }
.bs-tag--muted { background: rgba(17,17,17,.82); }
.bs-card__info { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; padding-top: 14px; align-items: start; }
.bs-card__price { font-size: 17px; font-weight: 600; }
.bs-card__price.is-sale { color: var(--sale); }
.bs-card__was { grid-column: 1; color: #8a8a8a; font-size: 14px; text-decoration: line-through; }
.bs-card__title { grid-column: 1; font-size: 13px; color: #555; letter-spacing: .01em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bs-card__title b { font-weight: 500; color: #777; margin-right: 6px; }
.bs-card__add { grid-column: 2; grid-row: 1 / span 3; width: 42px; height: 42px; border-radius: 50%; border: 1px solid #d6d6d6; background: #fff; display: grid; place-items: center; transition: border-color .15s, background .15s; }
.bs-card__add:hover { border-color: var(--ink); background: var(--soft); }
.bs-card__add:disabled { opacity: .35; cursor: not-allowed; }
.bs-badge-ship { grid-column: 1; justify-self: start; margin-top: 6px; display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 6px; background: var(--brand); color: var(--brand-ink); font-size: 11px; font-weight: 700; font-style: italic; }

/* ── Story ── */
.bs-story { margin-top: 80px; background: var(--accent); padding: 72px 0; }
.bs-story .bs-wrap { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; }
.bs-story__img { aspect-ratio: 4 / 5; border-radius: var(--radius); background: var(--brand) center / cover no-repeat; }
.bs-story h2 { font-size: clamp(28px, 3.4vw, 42px); margin-bottom: 18px; }
.bs-story p { white-space: pre-line; color: #333; font-size: 16px; margin: 0; }

/* ── Why buy here ── */
.bs-trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 64px 0 0; }
.bs-trust div { display: flex; gap: 12px; align-items: flex-start; padding: 18px; border-radius: var(--radius); background: var(--soft); }
.bs-trust svg { width: 26px; height: 26px; color: var(--brand); flex-shrink: 0; }
.bs-trust strong { display: block; font-size: 14px; }
.bs-trust span { color: var(--muted); font-size: 13px; }

/* ── Footer ── */
.bs-foot { margin-top: 80px; background: #f4f4f4; padding: 48px 0 28px; font-size: 14px; color: #444; }
.bs-foot__cols { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; }
.bs-foot__logo { width: 84px; height: 84px; border-radius: 50%; background: #111 center / contain no-repeat; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 26px; overflow: hidden; }
.bs-foot__logo img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.bs-foot h3 { font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 500; letter-spacing: 0; text-transform: none; color: #8a8a8a; margin-bottom: 12px; }
.bs-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.bs-foot li { display: flex; align-items: center; gap: 8px; }
.bs-foot a:hover { color: var(--ink); text-decoration: underline; }
.bs-social { display: flex; gap: 10px; flex-wrap: wrap; }
.bs-social a { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: #fff; }
.bs-social a:hover { text-decoration: none; transform: translateY(-1px); }
.bs-pay { display: flex; gap: 8px; flex-wrap: wrap; }
.bs-pay span { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px; border-radius: 6px; background: #fff; border: 1px solid #e2e2e2; font-size: 12px; font-weight: 600; color: #333; }
.bs-foot__base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 36px; padding-top: 20px; border-top: 1px solid #e2e2e2; font-size: 13px; color: #888; }

/* WhatsApp button */
.bs-wa { position: fixed; right: 24px; bottom: 24px; z-index: 45; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 26px rgba(37, 211, 102, .45); transition: transform .2s; }
.bs-wa:hover { transform: scale(1.06); }

/* ── Panels: quick view, bag, checkout ── */
.bs-overlay { position: fixed; inset: 0; z-index: 60; background: rgba(0, 0, 0, .45); opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
.bs-overlay.is-on { opacity: 1; visibility: visible; }
.bs-drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 70; width: min(440px, 100%); background: #fff; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .3s ease; box-shadow: -12px 0 40px rgba(0,0,0,.12); }
.bs-drawer.is-on { transform: translateX(0); }
.bs-drawer__hd { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.bs-drawer__hd h2 { font-family: 'Inter', sans-serif; font-size: 18px; font-weight: 600; letter-spacing: 0; text-transform: none; }
.bs-drawer__bd { flex: 1; overflow-y: auto; padding: 8px 22px; }
.bs-drawer__ft { padding: 18px 22px 22px; border-top: 1px solid var(--line); }
.bs-close { width: 38px; height: 38px; border: 0; border-radius: 50%; background: var(--soft); display: grid; place-items: center; }
.bs-line { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.bs-line img { width: 72px; height: 96px; object-fit: cover; object-position: top; border-radius: 8px; background: var(--accent); }
.bs-line__name { font-weight: 600; font-size: 14px; }
.bs-line__var { color: var(--muted); font-size: 13px; }
.bs-qty { display: inline-flex; align-items: center; margin-top: 8px; border: 1px solid #d6d6d6; border-radius: 999px; height: 34px; }
.bs-qty button { width: 32px; height: 32px; border: 0; background: none; font-size: 16px; }
.bs-qty span { min-width: 24px; text-align: center; font-weight: 600; font-size: 14px; }
.bs-line__price { text-align: right; font-weight: 600; font-size: 14px; }
.bs-line__remove { display: block; margin-top: 8px; border: 0; background: none; color: var(--muted); font-size: 12px; text-decoration: underline; padding: 0; }
.bs-sum { display: flex; justify-content: space-between; font-size: 15px; margin-bottom: 6px; }
.bs-sum--total { font-size: 18px; font-weight: 700; margin: 10px 0 16px; }
.bs-note { color: var(--muted); font-size: 12.5px; margin: 0 0 14px; }

/* Quick view */
.bs-modal { position: fixed; z-index: 70; left: 50%; top: 50%; width: min(980px, calc(100% - 32px)); max-height: calc(100vh - 48px); transform: translate(-50%, -48%) scale(.98); opacity: 0; visibility: hidden; transition: transform .25s ease, opacity .25s, visibility .25s; background: #fff; border-radius: 18px; overflow: hidden; display: grid; grid-template-columns: 1.05fr 1fr; box-shadow: 0 24px 80px rgba(0,0,0,.25); }
.bs-modal.is-on { opacity: 1; visibility: visible; transform: translate(-50%, -50%) scale(1); }
.bs-qv__gallery { background: var(--accent); display: grid; grid-template-rows: 1fr auto; min-height: 0; }
.bs-qv__main { min-height: 0; overflow: hidden; }
.bs-qv__main img { width: 100%; height: 100%; max-height: calc(100vh - 140px); object-fit: cover; object-position: top; }
.bs-qv__thumbs { display: flex; gap: 8px; padding: 10px; overflow-x: auto; }
.bs-qv__thumbs button { flex: 0 0 56px; height: 72px; padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; background: none; }
.bs-qv__thumbs button.is-on { border-color: var(--ink); }
.bs-qv__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.bs-qv__info { padding: 32px 32px 28px; overflow-y: auto; display: flex; flex-direction: column; gap: 16px; position: relative; }
.bs-qv__info .bs-close { position: absolute; top: 16px; right: 16px; }
.bs-qv__brand { font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.bs-qv__title { font-size: 26px; padding-right: 40px; }
.bs-qv__price { font-size: 22px; font-weight: 700; }
.bs-qv__price.is-sale { color: var(--sale); }
.bs-qv__price s { font-size: 16px; color: #8a8a8a; font-weight: 500; margin-left: 8px; }
.bs-opt__label { font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.bs-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.bs-chips button { min-width: 48px; height: 40px; padding: 0 14px; border-radius: 10px; border: 1px solid #d6d6d6; background: #fff; font-weight: 500; font-size: 14px; }
.bs-chips button.is-on { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); font-weight: 600; }
.bs-chips button:disabled { color: #bbb; text-decoration: line-through; cursor: not-allowed; }
.bs-qv__meta { color: var(--muted); font-size: 13px; }
.bs-qv__err { color: var(--sale); font-size: 13px; min-height: 18px; }

/* Checkout */
.bs-checkout { position: fixed; inset: 0; z-index: 80; background: #fff; overflow-y: auto; overflow-x: hidden; transform: translateY(100%); transition: transform .35s ease; }
.bs-checkout__side { position: relative; }
.bs-checkout__side::after { content: ''; position: absolute; top: 0; bottom: 0; left: 100%; width: 50vw; background: var(--soft); }
.bs-checkout.is-on { transform: translateY(0); }
.bs-checkout__bar { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; height: 68px; padding: 0 24px; background: #fff; border-bottom: 1px solid var(--line); }
.bs-checkout__grid { max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: 1.25fr 1fr; gap: 0; min-height: calc(100vh - 68px); }
.bs-checkout__form { padding: 32px 40px 48px 24px; }
.bs-checkout__side { padding: 32px 24px 48px 40px; background: var(--soft); border-left: 1px solid var(--line); }
.bs-checkout h3 { font-family: 'Inter', sans-serif; font-size: 17px; font-weight: 650; letter-spacing: 0; text-transform: none; margin: 26px 0 12px; }
.bs-checkout h3:first-child { margin-top: 0; }
.bs-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.bs-field { display: flex; flex-direction: column; gap: 5px; }
.bs-field--full { grid-column: 1 / -1; }
.bs-field label { font-size: 13px; font-weight: 500; color: #333; }
.bs-field input, .bs-field textarea { height: 48px; padding: 0 14px; border: 1px solid #d2d2d2; border-radius: 10px; font: inherit; font-size: 15px; background: #fff; transition: border-color .15s, box-shadow .15s; }
.bs-field input:focus { outline: 0; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(17,17,17,.08); }
.bs-field input[aria-invalid=true] { border-color: var(--sale); }
.bs-field .bs-err { color: var(--sale); font-size: 12.5px; }
.bs-methods { border: 1px solid #d2d2d2; border-radius: 12px; overflow: hidden; }
.bs-method { border-top: 1px solid #e3e3e3; }
.bs-method:first-child { border-top: 0; }
.bs-method > label { display: flex; align-items: center; gap: 12px; padding: 16px; cursor: pointer; font-weight: 500; }
.bs-method > label input { width: 18px; height: 18px; accent-color: var(--ink); }
.bs-method > label small { margin-left: auto; color: var(--muted); font-size: 13px; font-weight: 400; }
.bs-method__more { display: none; padding: 0 16px 16px 46px; font-size: 14px; color: #444; }
.bs-method.is-on { background: #fafafa; }
.bs-method.is-on .bs-method__more { display: block; }
.bs-bankbox { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; padding: 12px 14px; border-radius: 10px; background: #fff; border: 1px solid #e3e3e3; margin-bottom: 12px; font-size: 14px; }
.bs-bankbox dt { color: var(--muted); }
.bs-bankbox dd { margin: 0; font-weight: 600; word-break: break-all; }
.bs-upload { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px dashed #c8c8c8; border-radius: 10px; background: #fff; cursor: pointer; font-size: 14px; }
.bs-upload input { display: none; }
.bs-check { display: flex; gap: 10px; align-items: center; margin-top: 14px; font-size: 14px; color: #444; }
.bs-check input { width: 17px; height: 17px; accent-color: var(--ink); }
.bs-formerr { margin: 16px 0 0; padding: 12px 14px; border-radius: 10px; background: #fdecea; color: #8e1b14; font-size: 14px; }
.bs-formerr[hidden] { display: none; }
.bs-hp { position: absolute; left: -9999px; }
.bs-sumline { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; }
.bs-sumline__img { position: relative; }
.bs-sumline__img img { width: 64px; height: 80px; object-fit: cover; object-position: top; border-radius: 8px; background: #fff; border: 1px solid var(--line); }
.bs-sumline__img b { position: absolute; top: -8px; right: -8px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: #6b6b6b; color: #fff; font-size: 12px; line-height: 22px; text-align: center; }
.bs-secure { display: flex; gap: 8px; align-items: center; margin-top: 18px; color: var(--muted); font-size: 12.5px; }
.bs-done { max-width: 560px; margin: 0 auto; padding: 56px 24px 80px; text-align: center; }
.bs-done__icon { width: 72px; height: 72px; margin: 0 auto 18px; border-radius: 50%; background: #e8f6ee; color: #1a7f4b; display: grid; place-items: center; }
.bs-done h2 { font-size: 30px; margin-bottom: 8px; }
.bs-done p { color: #555; }
.bs-done .bs-bankbox { text-align: left; margin: 20px 0; }

.bs-toast { position: fixed; left: 50%; bottom: 28px; z-index: 90; transform: translate(-50%, 20px); padding: 12px 18px; border-radius: 999px; background: #111; color: #fff; font-size: 14px; font-weight: 500; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; }
.bs-toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ── Responsive ── */
@media (max-width: 1100px) {
  .bs-row__track { grid-auto-columns: calc((100% - 48px) / 3); }
  .bs-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bs-trust { grid-template-columns: repeat(2, 1fr); }
  .bs-foot__cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .bs-modal { grid-template-columns: 1fr; overflow-y: auto; }
  .bs-qv__main img { max-height: 58vh; }
  .bs-checkout__grid { grid-template-columns: 1fr; }
  .bs-checkout__side { order: -1; border-left: 0; border-bottom: 1px solid var(--line); padding: 20px 20px 24px; }
  .bs-checkout__side::after { display: none; }
  .bs-checkout__form { padding: 24px 20px 48px; }
  .bs-story .bs-wrap { grid-template-columns: 1fr; gap: 28px; }
  .bs-story__img { aspect-ratio: 16 / 10; }
}
@media (max-width: 640px) {
  body { font-size: 14px; }
  .bs-wrap { padding: 0 16px; }
  .bs-head__bar { height: 64px; }
  .bs-iconbtn .bs-iconbtn__label { display: none; }
  .bs-logo { font-size: 19px; }
  .bs-logo img { height: 40px; max-width: 130px; }
  .bs-nav { justify-content: flex-start; }
  .bs-hero { padding-top: 12px; }
  .bs-hero__frame { aspect-ratio: 4 / 5; min-height: 0; }
  .bs-hero__copy { left: 22px; right: 22px; bottom: 44px; }
  .bs-hero__arrow { display: none; }
  .bs-section { padding-top: 48px; }
  .bs-section__title { font-size: 21px; margin-bottom: 20px; }
  .bs-row__track { grid-auto-columns: 72%; gap: 14px; }
  .bs-row__nav { display: none; }
  .bs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 12px; }
  .bs-card__price { font-size: 15px; }
  .bs-card__add { width: 36px; height: 36px; }
  .bs-trust { grid-template-columns: 1fr; padding-top: 40px; }
  .bs-story { margin-top: 56px; padding: 48px 0; }
  .bs-foot { margin-top: 56px; }
  .bs-foot__cols { grid-template-columns: 1fr; gap: 24px; }
  .bs-fields { grid-template-columns: 1fr; }
  .bs-qv__info { padding: 24px 20px; }
  .bs-qv__title { font-size: 22px; }
  .bs-wa { right: 16px; bottom: 16px; width: 54px; height: 54px; }
}
