/* =========================================================
   Storefront — mobile-first, Bootstrap 5 based.
   Brand colours come from Settings (primary_color / secondary_color)
   via --brand / --brand-2 set in the layout.
========================================================= */
:root {
    --brand: #2d277c;
    --brand-2: #973081;
    --ink: #14142b;
    --ink-2: #3f3f5a;
    --muted: #6b6b80;
    --line: #e7e7ef;
    --surface: #ffffff;
    --bg: #f6f6fa;
    --soft: #f1f0f8;
    --success: #0f8a4a;
    --danger: #c42b2b;
    --radius: 14px;
    --radius-sm: 10px;
    --shadow: 0 1px 2px rgba(20, 20, 43, .04), 0 6px 20px rgba(20, 20, 43, .06);
    --header-h: 64px;
    --bs-body-font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --bs-link-color-rgb: 45, 39, 124;
}

html { scroll-behavior: smooth; }
body {
    font-family: var(--bs-body-font-family);
    color: var(--ink);
    background: var(--bg);
    font-size: 15px;
    -webkit-font-smoothing: antialiased;
    padding-bottom: 64px; /* bottom nav */
}
@media (min-width: 768px) { body { padding-bottom: 0; } }
body.bare { padding-bottom: 0; }

a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-2); }
h1, h2, h3, h4, h5 { font-weight: 700; letter-spacing: -.01em; color: var(--ink); }
.text-muted { color: var(--muted) !important; }
.text-accent { color: var(--brand-2) !important; }
.text-success { color: var(--success) !important; }
img { max-width: 100%; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand) 45%, transparent); outline-offset: 2px; }
.skip-link { position: absolute; z-index: 2000; background: #fff; padding: 8px 12px; }

/* ---------- Buttons ---------- */
.btn { border-radius: 10px; font-weight: 600; padding: .55rem 1rem; }
.btn-lg { padding: .8rem 1.4rem; border-radius: 12px; }
.btn-brand { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn-brand:hover, .btn-brand:focus { background: color-mix(in srgb, var(--brand) 85%, #000); border-color: transparent; color: #fff; }
.btn-accent { background: var(--brand-2); border-color: var(--brand-2); color: #fff; }
.btn-accent:hover { background: color-mix(in srgb, var(--brand-2) 85%, #000); color: #fff; }
.btn-outline-brand { border: 1.5px solid var(--brand); color: var(--brand); background: #fff; }
.btn-outline-brand:hover { background: var(--brand); color: #fff; }
.btn-soft { background: var(--soft); color: var(--brand); border: 0; }
.btn-soft:hover { background: color-mix(in srgb, var(--brand) 12%, #fff); color: var(--brand); }
.btn[disabled], .btn.disabled { opacity: .55; }

/* ---------- Announcement + header ---------- */
.announce { background: var(--ink); color: #e8e8f3; font-size: 12.5px; padding: 7px 0; }
.site-header { background: #fff; position: sticky; top: 0; z-index: 1030; border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 12px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 800; font-size: 1.15rem; white-space: nowrap; }
.brand:hover { color: var(--ink); }
.brand-mark { width: 34px; height: 34px; border-radius: 10px; display: inline-grid; place-items: center; color: #fff; font-size: 1rem;
    background: linear-gradient(135deg, var(--brand), var(--brand-2)); }
.icon-btn { position: relative; display: inline-flex; align-items: center; gap: 6px; height: 42px; min-width: 42px; justify-content: center;
    border: 0; background: transparent; border-radius: 12px; color: var(--ink); font-size: 1.3rem; padding: 0 8px; }
.icon-btn:hover { background: var(--soft); color: var(--brand); }
.header-actions { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.cart-count { position: absolute; top: 3px; right: 1px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; font-size: 11px;
    line-height: 18px; font-weight: 700; text-align: center; color: #fff; background: var(--brand-2); }

.search-form { position: relative; flex: 1; max-width: 640px; align-items: center; background: var(--soft); border-radius: 12px;
    border: 1.5px solid transparent; padding: 4px 4px 4px 14px; transition: border-color .15s, background .15s; }
.search-form:focus-within { background: #fff; border-color: var(--brand); }
.search-form > .bi-search { color: var(--muted); margin-right: 8px; }
.search-form input { flex: 1; border: 0; background: transparent; outline: none; height: 36px; min-width: 0; font-size: 14.5px; }
.search-mobile { display: flex; margin: 0 0 10px; }
.suggest-box { position: absolute; top: calc(100% + 6px); left: 0; right: 0; background: #fff; border-radius: 12px; box-shadow: var(--shadow);
    border: 1px solid var(--line); z-index: 50; overflow: hidden; }
.suggest-box a { display: flex; align-items: center; gap: 10px; padding: 8px 12px; color: var(--ink); font-size: 14px; }
.suggest-box a:hover, .suggest-box a.active { background: var(--soft); }
.suggest-box img { width: 40px; height: 40px; border-radius: 8px; object-fit: cover; background: var(--soft); }

.cat-nav { border-top: 1px solid var(--line); }
.cat-nav-link { display: inline-block; padding: 10px 12px; color: var(--ink-2); font-size: 14px; font-weight: 500; background: none; border: 0; }
.cat-nav-link:hover { color: var(--brand); }
.mega { width: 720px; border-radius: var(--radius); }
.mega-title { display: block; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.mega-link { display: block; color: var(--muted); padding: 3px 0; font-size: 14px; }
.mega-link:hover { color: var(--brand); }

/* ---------- Drawer ---------- */
.drawer { max-width: 320px; }
.drawer-account { display: flex; align-items: center; gap: 10px; padding: 14px; border-radius: 12px; background: var(--soft); color: var(--ink); font-weight: 600; margin-bottom: 16px; }
.drawer-account i { font-size: 1.6rem; color: var(--brand); }
.drawer-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 18px 4px 8px; }
.drawer-group summary { padding: 11px 6px; font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; }
.drawer-group summary::after { content: '\F282'; font-family: bootstrap-icons; color: var(--muted); transition: transform .2s; }
.drawer-group[open] summary::after { transform: rotate(180deg); }
.drawer-group a { display: block; padding: 8px 18px; color: var(--ink-2); }
.drawer-link { display: flex; align-items: center; gap: 12px; padding: 11px 6px; color: var(--ink); }
.drawer-link i { color: var(--brand); width: 20px; }

/* ---------- Bottom nav (mobile) ---------- */
.bottom-nav { position: fixed; bottom: 0; left: 0; right: 0; z-index: 1035; background: #fff; border-top: 1px solid var(--line);
    display: grid; grid-template-columns: repeat(5, 1fr); padding: 6px 0 calc(6px + env(safe-area-inset-bottom)); }
.bottom-nav a, .bottom-nav button { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 11px;
    color: var(--muted); background: none; border: 0; padding: 2px 0; }
.bottom-nav i { font-size: 1.25rem; }
.bottom-nav .active { color: var(--brand); font-weight: 700; }
.bottom-nav .cart-count { top: -3px; right: calc(50% - 22px); }

/* ---------- Layout helpers ---------- */
.site-main { min-height: 50vh; }
.section { padding-top: 28px; padding-bottom: 28px; }
@media (min-width: 992px) { .section { padding-top: 40px; padding-bottom: 40px; } }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.section-head h2 { font-size: 1.3rem; margin: 0; }
@media (min-width: 992px) { .section-head h2 { font-size: 1.6rem; } }
.section-head a { font-weight: 600; font-size: 14px; white-space: nowrap; }
.surface { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.surface-pad { padding: 18px; }
@media (min-width: 768px) { .surface-pad { padding: 24px; } }
.eyebrow { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--brand-2); }
.page-title { font-size: 1.45rem; margin-bottom: 4px; }
@media (min-width: 992px) { .page-title { font-size: 1.9rem; } }
.breadcrumb { font-size: 13px; margin-bottom: 10px; }
.breadcrumb a { color: var(--muted); }

/* ---------- Hero ---------- */
.hero { padding-top: 16px; }
.hero .carousel { border-radius: 18px; overflow: hidden; }
.hero-slide { position: relative; min-height: 220px; background-size: cover; background-position: center; display: flex; align-items: center; }
@media (min-width: 768px) { .hero-slide { min-height: 380px; } }
.hero-slide::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 10, 30, .55), rgba(10, 10, 30, .05) 70%); }
.hero-copy { position: relative; color: #fff; padding: 28px 24px; max-width: 560px; }
@media (min-width: 768px) { .hero-copy { padding: 48px 56px; } }
.hero-copy h1, .hero-copy h2 { color: #fff; font-size: 1.6rem; font-weight: 800; margin-bottom: 8px; }
@media (min-width: 768px) { .hero-copy h1, .hero-copy h2 { font-size: 2.6rem; } }
.hero-copy p { opacity: .9; margin-bottom: 18px; }
.hero .carousel-indicators [data-bs-target] { width: 8px; height: 8px; border-radius: 50%; }

.promo-card { position: relative; display: block; border-radius: var(--radius); overflow: hidden; min-height: 150px; background-size: cover; background-position: center; color: #fff; }
.promo-card::before { content: ''; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(0, 0, 0, .45), transparent 70%); }
.promo-card > div { position: relative; padding: 20px; }
.promo-card h3 { color: #fff; font-size: 1.2rem; margin-bottom: 4px; }
.promo-card:hover { color: #fff; transform: translateY(-2px); transition: transform .2s; }

/* Category tiles */
.cat-scroller { display: grid; grid-auto-flow: column; grid-auto-columns: 92px; gap: 12px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
.cat-scroller::-webkit-scrollbar { display: none; }
@media (min-width: 992px) { .cat-scroller { grid-auto-flow: row; grid-template-columns: repeat(7, 1fr); grid-auto-columns: unset; } }
.cat-tile { text-align: center; color: var(--ink); font-size: 13px; font-weight: 600; }
.cat-tile .ph { aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--soft); margin-bottom: 8px; border: 3px solid #fff; box-shadow: var(--shadow); }
.cat-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.cat-tile:hover img { transform: scale(1.06); }

/* ---------- Product card ---------- */
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 768px) { .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1200px) { .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; } }
.product-grid.cols-5 { }
@media (min-width: 1400px) { .product-grid.cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.product-row { display: grid; grid-auto-flow: column; grid-auto-columns: 46%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: thin; }
.product-row > * { scroll-snap-align: start; }
@media (min-width: 768px) { .product-row { grid-auto-columns: 31%; } }
@media (min-width: 1200px) { .product-row { grid-auto-columns: calc(25% - 15px); gap: 20px; } }

.p-card { position: relative; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; height: 100%;
    transition: transform .18s ease, box-shadow .18s ease; }
.p-card:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(20, 20, 43, .1); }
.p-media { position: relative; display: block; aspect-ratio: 1; background: var(--soft); overflow: hidden; }
.p-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.p-card:hover .p-media img { transform: scale(1.04); }
.p-badges { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.badge-off { background: var(--success); color: #fff; font-weight: 700; font-size: 11px; padding: 4px 7px; border-radius: 6px; }
.badge-new { background: var(--brand); color: #fff; font-weight: 700; font-size: 11px; padding: 4px 7px; border-radius: 6px; }
.badge-oos { position: absolute; inset: auto 0 0 0; background: rgba(20, 20, 43, .78); color: #fff; text-align: center; font-size: 12px; font-weight: 700; padding: 6px; }
.wish-btn { position: absolute; top: 8px; right: 8px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92);
    display: grid; place-items: center; color: var(--ink-2); box-shadow: 0 2px 8px rgba(0, 0, 0, .08); font-size: 1rem; }
.wish-btn:hover { color: var(--brand-2); }
.wish-btn.on { color: #e11d48; }
.wish-btn.on .bi-heart::before { content: '\F415'; }
.p-body { padding: 10px 12px 12px; display: flex; flex-direction: column; flex: 1; gap: 4px; }
@media (min-width: 768px) { .p-body { padding: 12px 14px 14px; } }
.p-brand { font-size: 11.5px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.p-name { font-size: 14px; font-weight: 600; color: var(--ink); line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.p-name:hover { color: var(--brand); }
.p-rating { font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 4px; }
.rating-pill { background: var(--success); color: #fff; font-weight: 700; border-radius: 5px; padding: 1px 6px; font-size: 11.5px; }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 4px; }
.price .now { font-size: 1.05rem; font-weight: 800; color: var(--ink); }
.price .mrp { font-size: 12.5px; color: var(--muted); text-decoration: line-through; }
.price .off { font-size: 12.5px; color: var(--success); font-weight: 700; }
.p-cta { margin-top: 8px; }
.p-cta .btn { width: 100%; padding: .45rem .5rem; font-size: 13.5px; }
.stars { color: #f59e0b; letter-spacing: 1px; }

/* ---------- Listing ---------- */
.listing-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.filters { position: sticky; top: calc(var(--header-h) + 60px); }
.filter-block { border-bottom: 1px solid var(--line); padding: 14px 0; }
.filter-block:last-child { border-bottom: 0; }
.filter-block h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 10px; }
.filter-block .form-check { margin-bottom: 6px; font-size: 14px; }
.swatch { width: 26px; height: 26px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line); display: inline-block; }
.chip-check { display: inline-flex; }
.chip-check input { position: absolute; opacity: 0; }
.chip-check span { display: inline-flex; align-items: center; gap: 6px; border: 1.5px solid var(--line); border-radius: 999px; padding: 4px 11px; font-size: 13px; cursor: pointer; background: #fff; }
.chip-check input:checked + span { border-color: var(--brand); color: var(--brand); background: var(--soft); font-weight: 600; }
.chip-check input:focus-visible + span { outline: 3px solid color-mix(in srgb, var(--brand) 40%, transparent); }
.active-filters a { display: inline-flex; align-items: center; gap: 6px; background: var(--soft); color: var(--brand); padding: 4px 10px; border-radius: 999px; font-size: 13px; margin: 0 6px 6px 0; }
.empty-state { text-align: center; padding: 48px 16px; }
.empty-state i { font-size: 3rem; color: color-mix(in srgb, var(--brand) 35%, #fff); }
.pagination .page-link { border-radius: 10px !important; margin: 0 3px; border: 0; color: var(--ink); background: #fff; box-shadow: var(--shadow); }
.pagination .active .page-link { background: var(--brand); color: #fff; }

/* ---------- Product page ---------- */
.gallery-main { position: relative; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.gallery-thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; }
.gallery-thumbs button { flex: 0 0 64px; height: 64px; border-radius: 10px; overflow: hidden; border: 2px solid transparent; padding: 0; background: #fff; }
.gallery-thumbs button.active { border-color: var(--brand); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pdp-title { font-size: 1.35rem; line-height: 1.3; }
@media (min-width: 992px) { .pdp-title { font-size: 1.75rem; } }
.pdp-price .now { font-size: 1.8rem; font-weight: 800; }
.pdp-price .mrp { font-size: 1rem; }
.pdp-price .off { font-size: 1rem; }
.opt-group { margin-top: 16px; }
.opt-group .label { font-size: 13px; font-weight: 700; margin-bottom: 8px; }
.opt-btn { border: 1.5px solid var(--line); background: #fff; border-radius: 10px; padding: 7px 14px; font-weight: 600; font-size: 14px; margin: 0 6px 6px 0; min-width: 48px; }
.opt-btn.active { border-color: var(--brand); color: var(--brand); background: var(--soft); }
.opt-btn.unavailable { color: #a3a3b5; text-decoration: line-through; border-style: dashed; }
.opt-color { width: 40px; height: 40px; border-radius: 50%; padding: 0; min-width: 0; border-width: 3px; }
.opt-color.active { box-shadow: 0 0 0 2px var(--brand); border-color: #fff; background: none; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; }
.qty button { border: 0; background: none; width: 38px; height: 42px; font-size: 1.1rem; color: var(--ink); }
.qty input { width: 44px; border: 0; text-align: center; font-weight: 700; outline: none; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qty-sm button { width: 30px; height: 32px; }
.qty-sm input { width: 34px; font-size: 14px; }
.buy-bar { display: flex; gap: 10px; margin-top: 18px; }
.buy-bar .btn { flex: 1; }
@media (max-width: 767.98px) {
    .buy-bar.sticky-mobile { position: fixed; left: 0; right: 0; bottom: 60px; background: #fff; padding: 10px 12px; margin: 0; z-index: 1020; box-shadow: 0 -6px 20px rgba(0, 0, 0, .08); }
}
@media (max-width: 767.98px) {
    .buy-bar.sticky-mobile .btn { font-size: 15px; padding: .7rem .5rem; white-space: nowrap; }
    body.has-buybar { padding-bottom: 140px; }
}
.filter-block input[type=number] { min-width: 0; padding-left: .5rem; padding-right: .3rem; }
.stock-note { font-size: 13.5px; font-weight: 600; }
.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li { display: flex; gap: 10px; padding: 8px 0; font-size: 14px; }
.info-list i { color: var(--brand); font-size: 1.1rem; }
.pin-check { display: flex; gap: 8px; }
.pin-check input { max-width: 170px; }
.desc-content { line-height: 1.7; color: var(--ink-2); }
.desc-content img { border-radius: 10px; }
.spec-table th { width: 38%; color: var(--muted); font-weight: 600; background: var(--soft); }
.rating-bars .bar { height: 7px; border-radius: 4px; background: var(--line); overflow: hidden; }
.rating-bars .bar span { display: block; height: 100%; background: var(--success); }
.review { border-bottom: 1px solid var(--line); padding: 14px 0; }
.verified { font-size: 12px; color: var(--success); font-weight: 600; }
.star-input { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.star-input input { position: absolute; opacity: 0; }
.star-input label { font-size: 1.7rem; color: #d1d1dc; cursor: pointer; }
.star-input input:checked ~ label, .star-input label:hover, .star-input label:hover ~ label { color: #f59e0b; }
.star-input input:focus-visible + label { outline: 2px solid var(--brand); border-radius: 4px; }

/* ---------- Cart / checkout ---------- */
.cart-item { display: grid; grid-template-columns: 84px 1fr; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cart-item:last-child { border-bottom: 0; }
@media (min-width: 768px) { .cart-item { grid-template-columns: 104px 1fr auto; } }
.cart-item img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; background: var(--soft); }
.cart-item .name { font-weight: 600; color: var(--ink); }
.cart-item .meta { font-size: 13px; color: var(--muted); }
.cart-item .issue { font-size: 13px; color: var(--danger); font-weight: 600; }
.link-btn { background: none; border: 0; padding: 0; font-size: 13px; color: var(--muted); font-weight: 600; }
.link-btn:hover { color: var(--danger); }
.summary-row { display: flex; justify-content: space-between; padding: 6px 0; font-size: 14.5px; }
.summary-row.total { border-top: 1px dashed var(--line); margin-top: 8px; padding-top: 12px; font-size: 1.1rem; font-weight: 800; }
.summary-sticky { position: sticky; top: calc(var(--header-h) + 60px); }
.coupon-form { display: flex; gap: 8px; }
.coupon-form input { text-transform: uppercase; }
.applied-coupon { display: flex; align-items: center; justify-content: space-between; background: color-mix(in srgb, var(--success) 10%, #fff); border: 1px dashed var(--success); color: var(--success); border-radius: 10px; padding: 8px 12px; font-weight: 600; font-size: 14px; }
.free-ship-meter { background: var(--soft); border-radius: 10px; padding: 10px 12px; font-size: 13px; }
.free-ship-meter .progress { height: 6px; margin-top: 6px; }
.free-ship-meter .progress-bar { background: var(--success); }

.steps { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--muted); font-weight: 600; margin-bottom: 18px; overflow-x: auto; white-space: nowrap; }
.steps .s { display: inline-flex; align-items: center; gap: 6px; }
.steps .s b { width: 24px; height: 24px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--line); color: var(--ink-2); font-size: 12px; }
.steps .s.done b, .steps .s.now b { background: var(--brand); color: #fff; }
.steps .s.now { color: var(--ink); }
.steps .sep { flex: 0 0 24px; height: 2px; background: var(--line); }

.choice { display: block; position: relative; border: 1.5px solid var(--line); border-radius: 12px; padding: 14px 14px 14px 46px; cursor: pointer; background: #fff; margin-bottom: 10px; }
.choice input { position: absolute; left: 16px; top: 17px; }
.choice:has(input:checked) { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 4%, #fff); }
.choice.disabled { opacity: .55; cursor: not-allowed; }
.choice .title { font-weight: 700; }
.choice .sub { font-size: 13.5px; color: var(--muted); }

/* ---------- Account ---------- */
.account-nav a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; color: var(--ink-2); font-weight: 500; }
.account-nav a i { color: var(--muted); }
.account-nav a.active, .account-nav a:hover { background: var(--soft); color: var(--brand); }
.account-nav a.active i { color: var(--brand); }
.account-tabs { display: flex; gap: 6px; overflow-x: auto; margin-bottom: 14px; scrollbar-width: none; }
.account-tabs a { white-space: nowrap; padding: 7px 14px; border-radius: 999px; background: #fff; color: var(--ink-2); font-size: 14px; font-weight: 600; box-shadow: var(--shadow); }
.account-tabs a.active { background: var(--brand); color: #fff; }
.order-card { display: block; color: var(--ink); padding: 14px 16px; border-bottom: 1px solid var(--line); }
.order-card:last-child { border-bottom: 0; }
.order-card:hover { background: #fcfcff; color: var(--ink); }
.order-thumbs { display: flex; gap: 6px; }
.order-thumbs img { width: 48px; height: 48px; object-fit: cover; border-radius: 8px; background: var(--soft); }
.status-pill { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.status-pill.primary { background: color-mix(in srgb, var(--brand) 12%, #fff); color: var(--brand); }
.status-pill.success { background: #e5f6ed; color: var(--success); }
.status-pill.warning { background: #fff4dc; color: #a15c00; }
.status-pill.secondary { background: #eeeef3; color: #55556b; }
.status-pill.dark { background: #e6e6ee; color: #2b2b3c; }
.timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.timeline li { position: relative; padding: 0 0 18px 34px; }
.timeline li::before { content: ''; position: absolute; left: 11px; top: 22px; bottom: 0; width: 2px; background: var(--line); }
.timeline li:last-child::before { display: none; }
.timeline .dot { position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--line); color: #fff; font-size: 12px; }
.timeline li.done .dot { background: var(--success); }
.timeline li.done::before { background: var(--success); }
.timeline li.current .dot { background: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 20%, transparent); }
.timeline .t { font-weight: 700; font-size: 14px; }
.timeline .d { font-size: 12.5px; color: var(--muted); }
.addr-card { border: 1.5px solid var(--line); border-radius: 12px; padding: 14px; height: 100%; background: #fff; }
.addr-card.default { border-color: var(--brand); }

/* ---------- Auth ---------- */
.auth-wrap { max-width: 440px; margin: 28px auto; }
.auth-card { padding: 26px 22px; }
@media (min-width: 768px) { .auth-card { padding: 34px 32px; } }
.form-control, .form-select { border-radius: 10px; border: 1.5px solid var(--line); padding: .6rem .8rem; }
.form-control:focus, .form-select:focus { border-color: var(--brand); box-shadow: 0 0 0 .2rem color-mix(in srgb, var(--brand) 15%, transparent); }
.form-label { font-weight: 600; font-size: 13.5px; margin-bottom: 5px; }
.divider { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 13px; margin: 18px 0; }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--line); }

/* ---------- Trust + footer ---------- */
.trust-strip { background: #fff; border-top: 1px solid var(--line); padding: 22px 0; margin-top: 32px; }
.trust-item { display: flex; gap: 12px; align-items: center; justify-content: center; }
@media (min-width: 768px) { .trust-item { justify-content: flex-start; } }
.trust-item i { font-size: 1.6rem; color: var(--brand); }
.trust-item strong { display: block; font-size: 14px; }
.trust-item span { display: block; font-size: 12.5px; color: var(--muted); }
@media (max-width: 575.98px) { .trust-item { flex-direction: column; gap: 4px; text-align: center; } }
.site-footer { background: #12122a; color: #b9b9cf; padding: 40px 0 20px; font-size: 14px; }
.site-footer a { color: #d6d6e6; }
.site-footer a:hover { color: #fff; }
.site-footer .brand { color: #fff; }
.footer-title { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 12px; }
.site-footer .col-6 a, .site-footer .col-lg-2 a { display: block; padding: 4px 0; }
.social a { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, .08); margin-right: 6px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 28px; padding-top: 16px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 13px; }

/* ---------- Toasts / misc ---------- */
.toast-container { bottom: 72px; left: 50%; transform: translateX(-50%); z-index: 1090; width: min(420px, 94vw); }
@media (min-width: 768px) { .toast-container { bottom: 20px; left: auto; right: 20px; transform: none; } }
.toast { border: 0; border-radius: 12px; box-shadow: 0 10px 30px rgba(0, 0, 0, .18); }
.toast.ok { background: var(--ink); color: #fff; }
.toast.err { background: var(--danger); color: #fff; }
.toast a { color: #fff; font-weight: 700; text-decoration: underline; }
.btn-loading { position: relative; color: transparent !important; pointer-events: none; }
.btn-loading::after { content: ''; position: absolute; left: 50%; top: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px; border: 2px solid #fff;
    border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
.btn-outline-brand.btn-loading::after, .btn-soft.btn-loading::after { border-color: var(--brand); border-right-color: transparent; }
@keyframes spin { to { transform: rotate(360deg); } }
.skeleton { background: linear-gradient(90deg, #eee 25%, #f6f6f6 50%, #eee 75%); background-size: 200% 100%; animation: sk 1.2s infinite; border-radius: 8px; }
@keyframes sk { to { background-position: -200% 0; } }
.flash { border-radius: 12px; }
.prose { line-height: 1.75; color: var(--ink-2); }
.prose h2, .prose h3 { margin-top: 1.4em; }
.faq .accordion-button { font-weight: 600; }
.faq .accordion-button:not(.collapsed) { color: var(--brand); background: var(--soft); box-shadow: none; }
.success-icon { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 16px; font-size: 2.2rem; color: #fff; background: var(--success); }
.pending-icon { background: #f59e0b; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

@media print {
    .announce, .site-header, .bottom-nav, .site-footer, .trust-strip, .no-print { display: none !important; }
    body { background: #fff; padding: 0; }
}
