/* =====================================================================
   Spornation revamp — home + header/footer components.
   Brand colors come ONLY from the admin theme variables:
     --primary-color   = red accent   (Admin → Web Settings → Primary Colour)
     --secondary-color = dark ink/CTA  (Admin → Web Settings → Secondary Colour)
     --font-color      = text on accent (Font Colour)
   Neutral UI chrome (borders / wells / muted text) is centralized below so
   it can be retuned in one place. No hardcoded brand hex.
   ===================================================================== */
:root {
    --sn-ink:        var(--secondary-color, #1a1a1a);
    --sn-accent:     var(--primary-color, #e31b23);
    --sn-on-accent:  var(--font-color, #ffffff);
    --sn-border:     #eaeaea;
    --sn-well:       #f5f5f6;
    --sn-muted:      #6b7280;
    --sn-muted-2:    #9aa0a6;
    --sn-pill-bg:    #f6f6f6;
    --sn-pill-bg-h:  #ececec;
}

/* Bootstrap 4 reboot adds `a:hover { text-decoration: underline }` globally.
   Re-assert none on hover/focus for all Spornation interactive elements. */
.sn-link:hover, .sn-link:focus,
.sn-btn-dark:hover, .sn-btn-dark:focus,
.sn-btn-outline:hover, .sn-btn-outline:focus,
.sn-brand:hover, .sn-brand:focus,
.sn-store-btn:hover, .sn-store-btn:focus,
.sn-deliver:hover, .sn-deliver:focus,
.sn-icon-btn:hover, .sn-icon-btn:focus,
.sn-userpill:hover, .sn-userpill:focus,
.sn-tab:hover, .sn-tab:focus,
.sn-social a:hover, .sn-social a:focus,
.sn-foot-col ul a:hover, .sn-foot-col ul a:focus,
.sn-mobile-links a:hover, .sn-mobile-links a:focus,
.sn-subnav__link:hover, .sn-subnav__link:focus,
.sn-rating-inline:hover, .sn-rating-inline:focus,
.sn-buy-btn:hover, .sn-buy-btn:focus,
.sn-wish-btn:hover, .sn-wish-btn:focus,
.sn-clear:hover, .sn-filter-toggle:hover,
.sn-ads-empty-cta:hover, .sn-ads-empty-cta:focus,
.sn-card .sn-name a:hover, .sn-card .sn-name a:focus,
.sn-ads-gear-name a:hover, .sn-ads-gear-name a:focus,
.sn-ads-seller-name a:hover, .sn-ads-seller-name a:focus
{ text-decoration: none; }

/* ---------- Section heading row ---------- */
.sn-section { margin-top: 3rem; }
.sn-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.75rem; flex-wrap: wrap; }
.sn-head .sn-title { font-weight: 900; letter-spacing: -.5px; color: var(--sn-ink); margin: 0; line-height: 1.1; }
.sn-head .sn-sub { color: var(--sn-muted); font-size: 1rem; font-weight: 500; margin: .35rem 0 0; }
.sn-eyebrow .sn-title { text-transform: uppercase; letter-spacing: .14em; font-size: 1.5rem; }
.sn-link { display: inline-flex; align-items: center; gap: .4rem; font-weight: 900; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--sn-accent) !important; text-decoration: none; white-space: nowrap; }
.sn-link:hover { opacity: .82; }

/* ---------- Product card ---------- */
.sn-card { background: var(--bs-body-bg, #fff); border: 1px solid var(--sn-border); border-radius: 16px; padding: 20px; height: 100%; display: flex; flex-direction: column; gap: 16px; transition: box-shadow .2s ease, transform .2s ease; }
.sn-card:hover { box-shadow: 0 10px 30px rgba(0, 0, 0, .08); transform: translateY(-2px); }
.sn-thumb { position: relative; background: var(--sn-well); border-radius: 12px; aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; padding: 22px; overflow: hidden; }
.sn-thumb img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 10px; }
.sn-thumb > a:not(.sn-fav) { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
/* Rounded inner image for the legacy seller-listing grids (/sellers) */
.fig_seller_image, .product-list-image, .seller-image-container img { border-radius: 10px; }
.sn-fav { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, .92); color: var(--sn-ink); border: 0; z-index: 3; box-shadow: 0 1px 4px rgba(0, 0, 0, .08); }
.sn-fav .fa-heart, .sn-fav.active { color: var(--sn-accent); }
.sn-badge { position: absolute; left: 12px; bottom: 12px; z-index: 3; font-size: 9px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; padding: 3px 8px; border-radius: 4px; color: var(--sn-on-accent); }
.sn-badge--seller { background: var(--sn-ink); }
.sn-badge--sale { background: var(--sn-accent); }
.sn-card .sn-name { font-weight: 900; font-size: .9rem; color: var(--sn-ink); margin: 0; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.sn-card .sn-name a { color: inherit; text-decoration: none; }
.sn-card .sn-name a:hover { color: var(--sn-accent); }
.sn-rate { display: flex; align-items: center; gap: .45rem; font-size: .7rem; color: var(--sn-muted); }
.sn-rate .sn-stars { display: inline-flex; gap: 1px; }
.sn-rate .sn-stars i { color: #ffba00; font-size: .72rem; }
.sn-price { display: flex; align-items: baseline; gap: .5rem; }
.sn-price .sn-now { font-weight: 900; font-size: 1.1rem; color: var(--sn-ink); }
.sn-price .sn-was { font-size: .76rem; color: var(--sn-muted-2); text-decoration: line-through; }
.sn-swatches { display: flex; gap: 6px; min-height: 16px; }
.sn-swatches span { width: 16px; height: 16px; border-radius: 50%; border: 1px solid #fff; box-shadow: 0 0 0 1px var(--sn-border); }
.sn-cta { margin-top: auto; }
.sn-meta { display: flex; flex-direction: column; gap: 14px; flex: 1; }
.sn-btn-dark { display: flex; width: 100%; align-items: center; justify-content: center; gap: .5rem; background: var(--sn-ink); color: var(--sn-on-accent); border: 0; border-radius: 12px; padding: 13px 14px; font-weight: 900; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: opacity .15s ease; }
.sn-btn-dark:hover { color: var(--sn-on-accent); opacity: .9; }

/* ---------- Brand tiles ---------- */
.sn-brand { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .65rem; background: var(--bs-body-bg, #fff); border: 1px solid var(--sn-border); border-radius: 16px; padding: 26px 16px; height: 100%; text-decoration: none; transition: border-color .2s ease, box-shadow .2s ease; }
.sn-brand:hover { border-color: var(--sn-pill-bg-h); box-shadow: 0 6px 20px rgba(0, 0, 0, .05); }
.sn-brand img { height: 120px; width: auto; max-width: 85%; object-fit: contain; border-radius: 12px; }
.sn-brand span { font-size: .62rem; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; color: var(--sn-muted); text-align: center; }

/* ---------- Service card (style_services) ---------- */
.sn-svc { position: relative; background: var(--bs-body-bg, #fff); border: 1px solid var(--sn-border); border-radius: 16px; overflow: hidden; height: 100%; display: flex; flex-direction: column; transition: box-shadow .2s ease, transform .2s ease; }
.sn-svc:hover { box-shadow: 0 10px 30px rgba(0, 0, 0, .08); transform: translateY(-2px); }
.sn-svc-img { position: relative; aspect-ratio: 16 / 9; background-size: cover; background-position: center; background-color: var(--sn-well); }
.sn-svc-img::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .2); }
.sn-top-rated { position: absolute; top: 12px; left: 12px; z-index: 2; background: var(--sn-accent); color: var(--sn-on-accent); font-size: 8px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; padding: 3px 8px; border-radius: 4px; }
.sn-svc-body { padding: 24px; display: flex; flex-direction: column; gap: 16px; flex: 1; }
.sn-svc-name { font-weight: 900; font-size: .9rem; letter-spacing: .05em; text-transform: uppercase; color: var(--sn-ink); margin: 0; line-height: 1.4; }
.sn-svc-desc { font-size: .78rem; color: var(--sn-muted); margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sn-btn-outline { margin-top: auto; display: flex; align-items: center; justify-content: center; border: 2px solid var(--sn-ink); border-radius: 8px; padding: 10px; font-weight: 900; font-size: .65rem; letter-spacing: .1em; text-transform: uppercase; color: var(--sn-ink); text-decoration: none; transition: background .15s ease, color .15s ease; }
.sn-btn-outline:hover { background: var(--sn-ink); color: var(--sn-on-accent); }

/* ---------- Promo band ---------- */
.sn-promo { position: relative; background: var(--sn-well); border-radius: 15px; overflow: hidden; display: flex; align-items: center; min-height: 150px; }
.sn-promo-text { padding: 1.75rem 2.5rem; max-width: 60%; }
.sn-promo-text h3 { font-weight: 900; font-style: italic; margin: 0 0 .35rem; line-height: 1.05; color: var(--sn-ink); }
.sn-promo-text h3 .accent { color: var(--sn-accent); }
.sn-promo-text p { margin: 0; font-size: .9rem; color: var(--sn-muted); }
.sn-promo-img { margin-left: auto; align-self: stretch; min-height: 150px; background-size: cover; background-position: center; border-radius: 0 15px 15px 0; flex: 0 0 38%; }
@media (max-width: 767px) { .sn-promo-text { max-width: 100%; } .sn-promo-img { display: none; } }

/* ---------- App download band ---------- */
.sn-app { position: relative; border-radius: 32px; overflow: hidden; background: #161616; }
.sn-app-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .5; }
.sn-app-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, #000 0%, rgba(0, 0, 0, .15) 45%, rgba(0, 0, 0, 0) 75%); }
.sn-app-inner { position: relative; z-index: 2; display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; padding: 4rem 5rem; min-height: 460px; }
.sn-app-copy { flex: 1 1 460px; }
.sn-app-copy h2 { font-weight: 900; color: #fff; line-height: 1.05; letter-spacing: -2px; margin: 0 0 1.25rem; font-size: clamp(2.25rem, 5vw, 3.75rem); }
.sn-app-copy p { color: rgba(255, 255, 255, .8); font-size: 1.25rem; line-height: 1.6; font-weight: 500; margin: 0 0 2rem; max-width: 34rem; }
.sn-store-row { display: flex; gap: 1rem; flex-wrap: wrap; }
.sn-store-btn { display: inline-flex; align-items: center; gap: .75rem; height: 60px; padding: 0 24px; background: var(--sn-accent); color: var(--sn-on-accent); border-radius: 10px; text-decoration: none; transition: opacity .15s ease; }
.sn-store-btn:hover { color: var(--sn-on-accent); opacity: .92; }
.sn-store-btn i { font-size: 1.7rem; }
.sn-store-btn small { display: block; font-size: .75rem; line-height: 1.1; font-weight: 500; opacity: .9; }
.sn-store-btn b { display: block; font-size: 1rem; line-height: 1.2; font-weight: 700; }
.sn-app-img { flex: 1 1 360px; align-self: stretch; display: flex; align-items: flex-end; justify-content: center; }
.sn-app-img img { max-width: 100%; max-height: 520px; margin-bottom: -4rem; }
@media (max-width: 991px) {
    .sn-app-inner { padding: 2.5rem; min-height: 0; }
    .sn-app-copy h2 { font-size: clamp(2rem, 8vw, 2.75rem); }
    .sn-app-img { display: none; }
}

/* =====================================================================
   Header
   ===================================================================== */
.sn-header { background: var(--bs-body-bg, #fff); border-bottom: 1px solid #f2f2f2; }
.sn-header-row { display: flex; align-items: center; gap: 1.25rem; padding: .9rem 0; }
.sn-logo img { max-height: 40px; width: auto; }

/* Deliver-to pill */
.sn-deliver { display: inline-flex; align-items: center; gap: .55rem; background: none; border: 0; padding: .35rem .5rem; border-radius: 12px; color: var(--sn-ink); text-decoration: none; cursor: pointer; }
.sn-deliver:hover { background: var(--sn-pill-bg); }
.sn-deliver > i { font-size: 1.2rem; color: var(--sn-accent); }
.sn-deliver .sn-deliver-txt { display: flex; flex-direction: column; line-height: 1; text-align: start; }
.sn-deliver .sn-deliver-txt small { font-size: .58rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; color: var(--sn-muted); }
.sn-deliver .sn-deliver-txt b { font-size: .85rem; font-weight: 700; color: var(--sn-ink); }
.sn-divider { width: 1px; height: 32px; background: #f0f0f0; }

/* Inline search */
.sn-search { flex: 1 1 auto; min-width: 0; max-width: 480px; }
.sn-search .select2-container { width: 100% !important; }
.sn-search .select2-container--default .select2-selection--single,
.sn-search .form-control { height: 42px; border: 1px solid #dfdede; border-radius: 10px; }

/* Right cluster icons */
.sn-actions { display: flex; align-items: center; gap: .35rem; margin-inline-start: auto; }
.sn-icon-btn { position: relative; width: 42px; height: 42px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; color: var(--sn-ink); background: none; border: 0; text-decoration: none; font-size: 1.2rem; }
.sn-icon-btn:hover { background: var(--sn-pill-bg); color: var(--sn-ink); }
.sn-icon-btn .badge { position: absolute; top: 4px; inset-inline-end: 4px; background: var(--sn-accent) !important; color: var(--sn-on-accent); font-size: .6rem; min-width: 16px; height: 16px; line-height: 16px; padding: 0 4px; border-radius: 999px; }
.sn-userpill { display: inline-flex; align-items: center; gap: .5rem; padding: .3rem .55rem; border-radius: 10px; text-decoration: none; color: var(--sn-ink); }
.sn-userpill:hover { background: var(--sn-pill-bg); color: var(--sn-ink); }
.sn-userpill .sn-avatar { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; border: 1px solid var(--sn-border); background: var(--sn-well); display: inline-flex; align-items: center; justify-content: center; color: var(--sn-muted); }
.sn-userpill .sn-uname { font-weight: 800; font-size: .8rem; line-height: 1; }

/* Suppress Bootstrap dropdown caret where we use our own / none */
.no-caret.dropdown-toggle::after { display: none; }

/* Mobile offcanvas nav links */
.sn-mobile-links a { display: block; padding: .7rem 0; font-weight: 800; font-size: .9rem; color: var(--sn-ink); text-decoration: none; border-bottom: 1px solid var(--sn-border); transition: color .15s ease, border-color .15s ease; }
#sn-mobile-nav .sn-mobile-links a:hover,
#sn-mobile-nav .sn-mobile-links a:focus { color: var(--sn-ink) !important; border-bottom-color: var(--sn-accent); }

/* Nav pills row */
.sn-nav { display: flex; align-items: center; gap: .5rem; padding: .25rem 0 .9rem; flex-wrap: wrap; }
.sn-tab { display: inline-flex; align-items: center; gap: .4rem; padding: .5rem 1.25rem; border-radius: 999px; background: var(--sn-pill-bg); color: var(--sn-ink); font-weight: 900; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; white-space: nowrap; border: 0; transition: background .15s ease, color .15s ease; }
.sn-tab:hover { background: var(--sn-pill-bg-h); color: var(--sn-ink); }
.sn-tab.active { background: var(--sn-ink); color: var(--sn-on-accent); }
.sn-tab.active:hover { color: var(--sn-on-accent); }
.sn-nav .dropdown-menu { border-radius: 12px; }

/* =====================================================================
   Footer
   ===================================================================== */
.sn-footer { background: #1a1a1a; color: #b0b0b0; }
.sn-footer .sn-foot-inner { padding: 4.5rem 0 2.5rem; }
.sn-footer .sn-foot-logo img { max-height: 38px; width: auto; margin-bottom: 1.25rem; }
.sn-footer .sn-foot-desc { color: #b0b0b0; font-size: .9rem; line-height: 1.65; max-width: 24rem; }
.sn-social { display: flex; gap: 1rem; margin-top: 1.25rem; }
.sn-social a { width: 40px; height: 40px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); color: #fff; text-decoration: none; font-size: 1.05rem; transition: background .15s ease; }
.sn-social a:hover { background: rgba(255, 255, 255, .14); border-color: var(--sn-accent); color: var(--sn-accent); }
.sn-foot-col h4 { color: #fff; font-size: 1rem; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; margin: 0 0 1.5rem; white-space: nowrap; }
.sn-foot-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 1rem; }
.sn-foot-col ul a { color: #b0b0b0; font-size: .9rem; font-weight: 700; text-decoration: none; transition: color .15s ease; }
.sn-foot-col ul a:hover { color: #fff; }
.sn-foot-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 2rem; margin-top: 3rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.sn-foot-bottom .sn-copy { color: #666; font-size: .7rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; margin: 0; }
.sn-pay { display: flex; align-items: center; gap: 1.4rem; opacity: .45; }
.sn-pay i { font-size: 2rem; color: #fff; }

/* =====================================================================
   Sponsorships listing
   ===================================================================== */
.sn-listing-head { padding: 2.5rem 0 1.5rem; }
.sn-listing-head h1 { font-weight: 900; letter-spacing: -1px; color: var(--sn-ink); margin: 0 0 .35rem; }
.sn-listing-head p { color: var(--sn-muted); margin: 0; }
.sn-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.sn-empty { text-align: center; padding: 4rem 1rem; color: var(--sn-muted); }

/* =====================================================================
   Product listing page (flat grid + Spornation filter sidebar)
   ===================================================================== */
:root {
    --sn-muted-strong: #999;
    --sn-field:        #f9f9f9;
    --sn-field-border: #f2f2f2;
    --sn-star:         #ffba00;
}

/* ---- Listing results header + sort ---- */
.sn-results { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.sn-results .sn-results-title { font-weight: 800; letter-spacing: -1px; text-transform: uppercase; color: var(--sn-ink); margin: 0; line-height: 1.1; }
.sn-results .sn-results-sub { color: #666; font-size: .875rem; font-weight: 500; margin: .35rem 0 0; }
.sn-results .sn-results-sub b { color: var(--sn-ink); }
.sn-sort { display: flex; align-items: center; gap: 1rem; }
.sn-sort > label { font-weight: 900; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--sn-muted-strong); margin: 0; white-space: nowrap; }
.sn-sort .form-select, .sn-sort select { min-width: 160px; height: 42px; line-height: 1.2; padding: .5rem 2.25rem .5rem .9rem; background-color: #f7f7f8; border: 1px solid var(--sn-border); border-radius: 12px; font-weight: 700; font-size: .875rem; color: var(--sn-ink); }
.sn-filter-toggle { display: inline-flex; align-items: center; gap: .4rem; font-weight: 800; color: var(--sn-ink); text-decoration: none; }

/* ---- New-arrival badge (dark) — sale badge already exists ---- */
.sn-badge--new { background: var(--sn-ink); }

/* ---- Card eyebrow + italic listing name ---- */
.sn-prod-eyebrow { font-weight: 900; font-size: .625rem; letter-spacing: .1em; text-transform: uppercase; color: var(--sn-muted-strong); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.sn-card .sn-name--listing { font-style: italic; text-transform: uppercase; }

/* ---- Filter card ---- */
.sn-filter { background: var(--bs-body-bg, #fff); border: 1px solid var(--sn-border); border-radius: 15px; padding: 32px; display: flex; flex-direction: column; gap: 2rem; box-shadow: 0 1px 3px rgba(0, 0, 0, .07); }
.sn-filter-head { display: flex; align-items: center; justify-content: space-between; }
.sn-filter-head h2 { font-weight: 700; font-size: 1.125rem; color: var(--sn-ink); margin: 0; }
.sn-clear { background: none; border: 0; padding: 0; font-weight: 900; font-size: .625rem; letter-spacing: .1em; text-transform: uppercase; color: var(--sn-accent); text-decoration: none; cursor: pointer; }
.sn-clear:hover { opacity: .8; color: var(--sn-accent); }
.sn-fsec { display: flex; flex-direction: column; gap: 1rem; }
.sn-fsec > h3 { font-weight: 900; font-size: .625rem; letter-spacing: .14em; text-transform: uppercase; color: var(--sn-muted-strong); margin: 0; }

/* ---- Checkbox rows (brand / generic attribute) ---- */
.sn-check-list { display: flex; flex-direction: column; gap: .75rem; max-height: 260px; overflow: auto; }
.sn-check { display: flex; align-items: center; gap: 12px; margin: 0; cursor: pointer; }
.sn-check input { position: absolute; opacity: 0; width: 0; height: 0; }
.sn-check .sn-box { flex: 0 0 auto; width: 20px; height: 20px; border: 1px solid #767676; border-radius: 5px; display: inline-flex; align-items: center; justify-content: center; transition: background .12s ease, border-color .12s ease; }
.sn-check .sn-box::after { content: ""; width: 10px; height: 6px; border-left: 2px solid var(--sn-on-accent); border-bottom: 2px solid var(--sn-on-accent); transform: rotate(-45deg) translateY(-1px); opacity: 0; }
.sn-check input:checked + .sn-box { background: var(--sn-accent); border-color: var(--sn-accent); }
.sn-check input:checked + .sn-box::after { opacity: 1; }
.sn-check .sn-check-txt { font-size: .875rem; color: #666; }
.sn-check input:checked ~ .sn-check-txt { color: var(--sn-ink); font-weight: 500; }

/* ---- Price range ---- */
.sn-range { display: flex; flex-direction: column; gap: 1.5rem; }
.sn-range .sn-track-wrap { position: relative; height: 24px; }
.sn-range .sn-track { position: absolute; top: 9px; left: 0; right: 0; height: 6px; background: #f2f2f2; border-radius: 999px; }
.sn-range input[type=range] { position: absolute; top: 0; left: 0; width: 100%; height: 24px; margin: 0; background: none; pointer-events: none; -webkit-appearance: none; appearance: none; }
.sn-range input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: auto; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 2px solid var(--sn-accent); box-shadow: 0 2px 4px rgba(0, 0, 0, .15); cursor: pointer; }
.sn-range input[type=range]::-moz-range-thumb { pointer-events: auto; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 2px solid var(--sn-accent); box-shadow: 0 2px 4px rgba(0, 0, 0, .15); cursor: pointer; }
.sn-range input[type=range]::-moz-range-track { background: none; }
.sn-minmax { display: flex; align-items: center; gap: 10px; }
.sn-minmax .sn-mm { flex: 1; background: var(--sn-field); border: 1px solid var(--sn-field-border); border-radius: 12px; padding: 8px 10px; text-align: center; }
.sn-minmax .sn-mm small { display: block; font-weight: 900; font-size: .56rem; letter-spacing: .04em; text-transform: uppercase; color: var(--sn-muted-strong); }
.sn-minmax .sn-mm input { width: 100%; border: 0; background: none; text-align: center; font-weight: 900; font-size: .875rem; color: var(--sn-ink); outline: none; }
.sn-minmax .sn-mm input::-webkit-outer-spin-button, .sn-minmax .sn-mm input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.sn-range-hint { margin: 0; font-size: .68rem; color: var(--sn-muted); }

/* ---- Size buttons ---- */
.sn-size-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.sn-size-grid input { position: absolute; opacity: 0; width: 0; height: 0; }
.sn-size-btn { display: flex; align-items: center; justify-content: center; height: 40px; border: 1px solid var(--sn-border); border-radius: 8px; font-weight: 700; font-size: .75rem; color: #000; cursor: pointer; margin: 0; transition: all .12s ease; }
.sn-size-grid input:checked + .sn-size-btn { background: color-mix(in srgb, var(--sn-accent) 12%, #fff); border: 2px solid var(--sn-accent); color: var(--sn-accent); font-weight: 900; }

/* ---- Color swatches ---- */
.sn-swatch-row { display: flex; flex-wrap: wrap; gap: 12px; }
.sn-swatch-row input { position: absolute; opacity: 0; width: 0; height: 0; }
.sn-swatch { width: 32px; height: 32px; border-radius: 50%; background: var(--sw, #ccc); border: 1px solid var(--sn-border); cursor: pointer; margin: 0; display: inline-block; transition: box-shadow .12s ease; }
.sn-swatch-row input:checked + .sn-swatch { box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--sn-accent); }
.sn-swatch-chip { display: inline-flex; align-items: center; padding: 6px 12px; border: 1px solid var(--sn-border); border-radius: 999px; font-size: .75rem; color: #666; cursor: pointer; margin: 0; }
.sn-swatch-row input:checked + .sn-swatch-chip { border-color: var(--sn-accent); color: var(--sn-accent); font-weight: 700; }

/* ---- Rating radios ---- */
.sn-rate-list { display: flex; flex-direction: column; gap: .75rem; }
.sn-rate-opt { display: flex; align-items: center; gap: 12px; margin: 0; cursor: pointer; }
.sn-rate-opt input { position: absolute; opacity: 0; width: 0; height: 0; }
.sn-rate-opt .sn-radio { flex: 0 0 auto; width: 20px; height: 20px; border: 1px solid var(--sn-accent); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; }
.sn-rate-opt .sn-radio::after { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--sn-accent); opacity: 0; }
.sn-rate-opt input:checked + .sn-radio::after { opacity: 1; }
.sn-rate-opt .sn-rate-stars i { color: var(--sn-star); font-size: .8rem; }
.sn-rate-opt .sn-rate-txt { font-weight: 700; font-size: .75rem; color: var(--sn-ink); margin-inline-start: 4px; }

/* ---- Apply button (reuses .sn-btn-dark) full width ---- */
.sn-filter .sn-btn-dark { letter-spacing: .12em; }

/* =====================================================================
   Ads — video feed page (/ads). Centered stage + featured panel below.
   Brand colour via --sn-accent / --sn-ink; neutral stage chrome is literal
   (black is neutral, not a brand colour).
   ===================================================================== */

/* ---- "Ads" nav pill (highlighted, accent + NEW badge) ---- */
.sn-tab--ads { background: var(--sn-accent); color: var(--sn-on-accent); }
.sn-tab--ads:hover { background: var(--sn-accent); color: var(--sn-on-accent); opacity: .9; }
.sn-tab--ads.active { background: var(--sn-accent); color: var(--sn-on-accent); }
.sn-tab--ads.active:hover { color: var(--sn-on-accent); }
.sn-tab--ads .uil { font-size: .95rem; }
.sn-tab-new { background: var(--sn-ink); color: var(--sn-on-accent); font-size: .55rem; font-weight: 900; letter-spacing: .1em; padding: 1px 5px; border-radius: 999px; line-height: 1.4; }

/* ---- Stage ---- */
.sn-ads-stage { position: relative; box-sizing: border-box; background: #0b0b0b; padding: 24px 1rem; min-height: calc(100vh - 140px); min-height: calc(100dvh - 140px); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.25rem; }
.sn-ads-live { position: absolute; top: 1.1rem; right: 1.25rem; display: inline-flex; align-items: center; gap: .4rem; background: rgba(255,255,255,.08); color: var(--sn-accent); font-size: .62rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; }
.sn-ads-live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--sn-accent); box-shadow: 0 0 0 0 var(--sn-accent); animation: sn-ads-pulse 1.6s infinite; }
@keyframes sn-ads-pulse { 0% { box-shadow: 0 0 0 0 rgba(227,27,35,.5); } 70% { box-shadow: 0 0 0 7px rgba(227,27,35,0); } 100% { box-shadow: 0 0 0 0 rgba(227,27,35,0); } }

/* ---- Player viewport (frame + overlay nav) ---- */
.sn-ads-viewport { position: relative; width: fit-content; max-width: 94vw; }
.sn-ads-frame { position: relative; aspect-ratio: 9 / 16; width: auto; max-width: 94vw; height: min(800px, calc(100vh - 210px), calc(94vw * 16 / 9)); height: min(800px, calc(100dvh - 210px), calc(94vw * 16 / 9)); background: #000; border-radius: 22px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,.55); }
.sn-ads-media, .sn-ads-media video, .sn-ads-media img, .sn-ads-media iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.sn-ads-media video, .sn-ads-media img { object-fit: cover; background: #000; }
.sn-ads-media video { cursor: pointer; }

.sn-ads-overlay { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.25rem 1.1rem 1.4rem; z-index: 2; background: linear-gradient(0deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,.35) 55%, rgba(0,0,0,0) 100%); pointer-events: none; }
.sn-ads-creator { display: flex; align-items: center; gap: .55rem; margin-bottom: .55rem; }
.sn-ads-avatar { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; border: 2px solid var(--sn-accent); }
.sn-ads-name { color: #fff; font-weight: 800; font-size: .85rem; }
.sn-ads-title { color: #fff; font-weight: 900; font-style: italic; text-transform: uppercase; letter-spacing: .01em; line-height: 1.12; font-size: 1.25rem; margin: 0 0 .4rem; }
.sn-ads-desc { color: rgba(255,255,255,.82); font-size: .82rem; line-height: 1.45; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

.sn-ads-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(255,255,255,.25); z-index: 3; }
.sn-ads-bar { display: block; height: 100%; width: 0; background: var(--sn-accent); transition: width .15s linear; }
.sn-ads-progress.indeterminate .sn-ads-bar { width: 35%; animation: sn-ads-indet 1.4s infinite ease-in-out; transition: none; }
@keyframes sn-ads-indet { 0% { margin-left: -35%; } 100% { margin-left: 100%; } }

.sn-ads-mute { position: absolute; top: 12px; left: 12px; z-index: 4; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(0,0,0,.5); color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.sn-ads-mute:hover { background: rgba(0,0,0,.7); }

.sn-ads-nav { position: absolute; right: 12px; z-index: 4; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(0,0,0,.45); color: #fff; font-size: 1.35rem; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: background .15s ease; }
.sn-ads-nav:hover { background: rgba(0,0,0,.65); }
.sn-ads-prev { top: 50%; transform: translateY(-118%); }
.sn-ads-next { top: 50%; transform: translateY(18%); }

/* ---- In-frame error overlays ---- */
.sn-ads-err { position: absolute; inset: 0; z-index: 5; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 1.5rem; gap: .8rem; }
.sn-ads-err-playback { background: #fff; }
.sn-ads-err-unavailable { background: #111; }
.sn-ads-err-icon { width: 64px; height: 64px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 1.6rem; background: rgba(227,27,35,.12); color: var(--sn-accent); }
.sn-ads-err-icon.dark { background: rgba(255,255,255,.1); color: rgba(255,255,255,.85); }
.sn-ads-err-title { font-weight: 900; text-transform: uppercase; letter-spacing: .02em; color: var(--sn-ink); margin: 0; font-size: 1.05rem; }
.sn-ads-err-title.light { color: #fff; }
.sn-ads-err-desc { color: var(--sn-muted); font-size: .82rem; margin: 0; max-width: 22rem; }
.sn-ads-err-desc.light { color: rgba(255,255,255,.7); }
.sn-ads-err-actions { display: flex; gap: .6rem; margin-top: .3rem; flex-wrap: wrap; justify-content: center; }
.sn-ads-err-btn { border: 0; border-radius: 10px; padding: 11px 20px; font-weight: 900; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.sn-ads-err-btn.dark { background: var(--sn-ink); color: var(--sn-on-accent); }
.sn-ads-err-btn.accent { background: var(--sn-accent); color: var(--sn-on-accent); }

/* =====================================================================
   Product details revamp — sticky sub-nav, specifications, reviews.
   ===================================================================== */
:root {
    --sn-verified:     #00a63e;                 /* semantic "verified" green (not a brand color) */
    --sn-star:         #ffba00;
    --sn-primary-pale: color-mix(in srgb, var(--sn-accent) 9%, #fff);
}

/* ---------- Sticky section sub-nav ---------- */
.sn-subnav-wrap { position: sticky; top: 0; z-index: 30; background: var(--bs-body-bg, #fff); border-bottom: 1px solid var(--sn-border); }
.sn-subnav { display: flex; gap: 8px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.sn-subnav .nav-item { list-style: none; }
.sn-subnav__link { display: inline-block; padding: 14px 18px; font-weight: 900; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--sn-muted); text-decoration: none; border-bottom: 3px solid transparent; cursor: pointer; }
.sn-subnav__link:hover { color: var(--sn-ink); }
.sn-subnav__link.active { color: var(--sn-ink); border-bottom-color: var(--sn-accent); }

/* ---------- Specifications ---------- */
.sn-spec-section { margin-bottom: 2.5rem; }
.sn-spec-heading { font-style: italic; font-weight: 900; font-size: 1.25rem; line-height: 1.4; letter-spacing: -.02em; text-transform: uppercase; color: var(--sn-ink); margin: 0 0 1rem; }
.sn-spec-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.sn-spec-card { background: var(--sn-well); border: 1px solid var(--sn-border); border-radius: 16px; padding: 24px; }
.sn-spec-card__title { font-weight: 900; font-size: .875rem; letter-spacing: .1em; text-transform: uppercase; color: var(--sn-ink); margin: 0 0 .5rem; }
.sn-spec-card__body { font-size: .875rem; line-height: 1.65; color: var(--sn-muted); margin: 0; }
.sn-spec-highlight { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--sn-border); border-radius: 16px; overflow: hidden; }
.sn-spec-highlight__cell { padding: 32px 16px; text-align: center; border-right: 1px solid var(--sn-border); }
.sn-spec-highlight__cell:last-child { border-right: 0; }
.sn-spec-highlight__eyebrow { font-weight: 900; font-size: .625rem; letter-spacing: .1em; text-transform: uppercase; color: var(--sn-muted-2); margin-bottom: .35rem; }
.sn-spec-highlight__value { font-weight: 900; font-size: 1.125rem; color: var(--sn-ink); }
.sn-spec-table { width: 100%; border: 1px solid var(--sn-border); border-radius: 16px; border-collapse: separate; border-spacing: 0; overflow: hidden; }
.sn-spec-table tr:nth-child(odd) { background: var(--sn-well); }
.sn-spec-table th, .sn-spec-table td { padding: 16px 32px; text-align: start; vertical-align: top; border-bottom: 1px solid var(--sn-border); }
.sn-spec-table tr:last-child th, .sn-spec-table tr:last-child td { border-bottom: 0; }
.sn-spec-table th { width: 34%; font-weight: 900; font-size: .75rem; letter-spacing: .05em; text-transform: uppercase; color: var(--sn-ink); }
.sn-spec-table td { font-weight: 500; font-size: .875rem; color: var(--sn-muted); }
.sn-spec-bullets { list-style: none; margin: 0; padding: 24px 28px; background: var(--sn-primary-pale); border: 1px solid color-mix(in srgb, var(--sn-accent) 18%, #fff); border-radius: 16px; }
.sn-spec-bullets li { position: relative; padding-inline-start: 20px; margin-bottom: .65rem; font-size: .875rem; color: var(--sn-muted); }
.sn-spec-bullets li:last-child { margin-bottom: 0; }
.sn-spec-bullets li::before { content: ""; position: absolute; inset-inline-start: 0; top: .5rem; width: 6px; height: 6px; border-radius: 50%; background: var(--sn-accent); }
@media (max-width: 767px) {
    .sn-spec-cards, .sn-spec-highlight { grid-template-columns: 1fr; }
    .sn-spec-highlight__cell { border-right: 0; border-bottom: 1px solid var(--sn-border); }
}

/* ---------- Reviews: summary + distribution ---------- */
.sn-review-summary { display: flex; gap: 2.5rem; flex-wrap: wrap; background: var(--sn-well); border-radius: 24px; padding: 40px; margin-bottom: 1.5rem; }
.sn-review-summary__score { flex: 0 0 auto; min-width: 200px; text-align: center; padding-inline-end: 2.5rem; border-inline-end: 1px solid var(--sn-border); }
.sn-review-summary__avg { font-style: italic; font-weight: 900; font-size: 4.5rem; line-height: 1; color: var(--sn-ink); }
.sn-review-summary__stars i { color: var(--sn-star); font-size: 1.1rem; }
.sn-review-summary__based { font-weight: 900; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--sn-ink); margin-top: .75rem; }
.sn-review-summary__recommend { font-weight: 700; font-size: .75rem; color: var(--sn-muted); margin-top: .25rem; }
.sn-rating-bars { flex: 1 1 320px; display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.sn-rating-bar { display: flex; align-items: center; gap: 16px; }
.sn-rating-bar__label { flex: 0 0 56px; font-weight: 900; font-size: .72rem; letter-spacing: .04em; text-transform: uppercase; color: var(--sn-ink); }
.sn-rating-bar__track { flex: 1; height: 12px; background: #fff; border-radius: 999px; overflow: hidden; }
.sn-rating-bar__fill { display: block; height: 100%; background: var(--sn-accent); border-radius: 999px; }
.sn-rating-bar__pct { flex: 0 0 40px; text-align: end; font-weight: 700; font-size: .72rem; color: var(--sn-muted-2); }

/* ---------- Reviews: filter / sort ---------- */
.sn-review-filter { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 16px 0 24px; border-bottom: 1px solid var(--sn-border); margin-bottom: 1.5rem; }
.sn-review-filter__btn { background: var(--sn-well); color: var(--sn-ink); border: 0; border-radius: 8px; padding: 8px 22px; font-weight: 900; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.sn-review-filter__btn.is-active { background: var(--sn-ink); color: var(--sn-on-accent); }
.sn-review-filter__rating { width: auto; border: 1px solid var(--sn-border); border-radius: 8px; padding: 8px 16px; font-weight: 700; font-size: .82rem; margin-inline-start: auto; }

/* ---------- Reviews: card extras ---------- */
.sn-review-card__title { font-weight: 700; font-size: 1.125rem; letter-spacing: -.01em; text-transform: uppercase; color: var(--sn-ink); margin: .25rem 0 .5rem; }
.sn-verified-badge { display: inline-flex; align-items: center; gap: 4px; font-weight: 900; font-size: .625rem; letter-spacing: .05em; text-transform: uppercase; color: var(--sn-verified); margin: 2px 0; }
.sn-review-actions { display: flex; gap: 1.5rem; align-items: center; margin-top: 1rem; }
.sn-helpful-btn, .sn-report-btn { background: none; border: 0; padding: 0; font-weight: 900; font-size: .72rem; letter-spacing: .02em; color: var(--sn-muted-2); cursor: pointer; }
.sn-helpful-btn:hover, .sn-report-btn:hover { color: var(--sn-ink); }
.sn-helpful-btn.is-voted { color: var(--sn-accent); }

/* ---------- Buy box: stock badge + out-of-stock size (markup-ready) ---------- */
.sn-stock-badge { display: inline-flex; align-items: center; gap: 8px; font-weight: 900; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; padding: 6px 14px; border: 1px solid var(--sn-border); border-radius: 12px; }
.sn-stock-badge--limited { color: var(--sn-ink); }
.sn-stock-badge--limited::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #00c950; }
.sn-stock-badge--out { color: var(--sn-muted-2); }
.sn-prod-eyebrow { font-style: italic; font-weight: 900; font-size: .875rem; letter-spacing: .18em; text-transform: uppercase; color: var(--sn-accent); }
.sn-size-btn--oos { opacity: .45; pointer-events: none; position: relative; text-decoration: line-through; }
.sn-swatch--oos { opacity: .45; pointer-events: none; text-decoration: line-through; }

/* =====================================================================
   Product details — ROUND 2: top sub-nav slide panes + buy-box redesign
   ===================================================================== */
/* ---- Slide panes (one section visible at a time) ---- */
.sn-pane { display: none; }
.sn-pane.is-active { display: block; animation: sn-fade .22s ease; }
@keyframes sn-fade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

/* ---- Sub-nav, now a top sticky bar (overrides Round 1) ---- */
.sn-subnav-wrap { position: sticky; top: 0; z-index: 40; background: var(--bs-body-bg, #fff); border-bottom: 1px solid var(--sn-border); }
.sn-subnav { display: flex; gap: 8px; list-style: none; margin: 0; padding: 0; flex-wrap: nowrap; overflow-x: auto; -ms-overflow-style: none; scrollbar-width: none; }
.sn-subnav::-webkit-scrollbar { height: 0; }
.sn-subnav .nav-item { list-style: none; }
.sn-subnav__link { display: inline-block; padding: 16px 18px; font-weight: 900; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--sn-muted); text-decoration: none; border-bottom: 3px solid transparent; cursor: pointer; white-space: nowrap; }
.sn-subnav__link:hover { color: var(--sn-ink); }
.sn-subnav__link.active { color: var(--sn-ink); border-bottom-color: var(--sn-accent); }

/* ---- Buy box header ---- */
.sn-buybox-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .35rem; }
.sn-rating-inline { display: inline-flex; align-items: center; gap: .3rem; font-size: .85rem; color: var(--sn-ink); text-decoration: none; white-space: nowrap; }
.sn-rating-inline i { color: var(--sn-star); }
.sn-rating-inline:hover { color: var(--sn-ink); opacity: .85; }
.sn-prod-title { font-weight: 800; font-size: 2rem; line-height: 1.15; letter-spacing: -.02em; text-transform: uppercase; color: var(--sn-ink); margin: 0 0 .4rem; }
.sn-prod-price { display: flex; align-items: baseline; gap: .6rem; margin: .85rem 0; }
.sn-prod-cur { font-weight: 900; font-size: 1.9rem; color: var(--sn-ink); }
.sn-prod-old { font-weight: 700; font-size: 1.05rem; color: var(--sn-muted-2); text-decoration: line-through; }
.sn-attr-head { font-weight: 900; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--sn-ink); margin: 1.25rem 0 .55rem; }

/* ---- Color swatches (square + selection ring) ---- */
.sn-swatch { display: inline-block; width: 46px; height: 46px; border-radius: 14px; border: 1px solid var(--sn-border); cursor: pointer; margin: 0; padding: 0; }
.sn-swatch input { position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none; }
.sn-swatch.active, .sn-swatch:has(input:checked) { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--sn-accent); border-color: transparent; }
.sn-swatch.sn-swatch--oos { opacity: .4; pointer-events: none; }

/* ---- Size cells ---- */
.sn-size-btn { display: inline-flex; align-items: center; justify-content: center; min-width: 64px; height: 48px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--sn-border); background: #fff; font-weight: 700; font-size: .9rem; color: var(--sn-ink); cursor: pointer; margin: 0; transition: border-color .15s, background .15s, color .15s; }
.sn-size-btn input { position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none; }
.sn-size-btn:hover { border-color: var(--sn-ink); }
.sn-size-btn.active, .sn-size-btn:has(input:checked) { border: 2px solid var(--sn-accent); background: var(--sn-primary-pale); color: var(--sn-accent); }
.sn-size-btn.sn-size-btn--oos { opacity: .5; pointer-events: none; color: var(--sn-muted-2); text-decoration: none; }
.sn-size-btn.sn-size-btn--oos::after { content: ""; position: absolute; left: 8%; right: 8%; top: 50%; height: 1px; background: var(--sn-muted-2); transform: rotate(-16deg); }

/* ---- CTAs ---- */
.sn-buybox-cta { display: flex; flex-direction: column; gap: 12px; margin-top: 1.5rem; max-width: 480px; }
.sn-buy-btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; width: 100%; height: 56px; border: 0; border-radius: 12px; background: var(--sn-accent); color: var(--sn-on-accent); font-weight: 900; font-size: 1rem; text-transform: none; text-decoration: none; cursor: pointer; transition: opacity .15s; }
.sn-buy-btn:hover { color: var(--sn-on-accent); opacity: .92; }
.sn-buy-btn[disabled], .sn-buy-btn:disabled { opacity: .5; cursor: not-allowed; }
.sn-wish-btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; width: 100%; height: 56px; border: 2px solid var(--sn-ink); border-radius: 12px; background: #fff; color: var(--sn-ink); font-size: 1rem; cursor: pointer; text-decoration: none; }
.sn-wish-btn:hover { color: var(--sn-ink); }
.sn-wish-label { font-family: var(--bs-body-font-family, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif) !important; font-weight: 900; }
.sn-cta-mini { display: flex; gap: 10px; }
.sn-cta-mini .btn { flex: 1; }
.sn-load-more-btn { display: inline-flex; align-items: center; gap: .4rem; border: 1px solid var(--sn-border); border-radius: 10px; padding: 11px 24px; background: #fff; font-weight: 700; font-size: .9rem; color: var(--sn-ink); cursor: pointer; }
.sn-load-more-btn:hover { border-color: var(--sn-ink); }

/* ---- Stock badge: overlay on the gallery column (col-* is position:relative) ---- */
.sn-stock-badge { position: absolute; left: 24px; bottom: 24px; z-index: 5; display: inline-flex; align-items: center; gap: 8px; font-weight: 900; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; padding: 7px 14px; border: 1px solid var(--sn-border); border-radius: 12px; background: rgba(255, 255, 255, .85); backdrop-filter: blur(6px); }
.sn-stock-badge--limited { color: var(--sn-ink); }
.sn-stock-badge--limited::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #00c950; }
.sn-stock-badge--out { color: var(--sn-muted-2); }

@media (max-width: 991px) {
    .sn-buybox-cta { max-width: none; }
    .sn-prod-title { font-size: 1.6rem; }
}

/* =====================================================================
   Product details — ROUND 3: custom Gallery View lightbox
   ===================================================================== */
body.sn-gallery-lock { overflow: hidden; }
.sn-gallery { position: fixed; inset: 0; z-index: 1080; display: none; flex-direction: column; gap: 16px; background: rgba(10, 10, 10, .97); padding: 24px 48px; }
.sn-gallery.is-open { display: flex; }
.sn-gallery__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; flex: 0 0 auto; }
.sn-gallery__eyebrow { font-style: italic; font-weight: 900; font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--sn-accent); }
.sn-gallery__title { font-weight: 900; font-size: 1.1rem; letter-spacing: -.01em; text-transform: uppercase; color: #fff; margin-top: .15rem; }
.sn-gallery__close { width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .08); color: #fff; font-size: 1.5rem; line-height: 1; cursor: pointer; flex: 0 0 auto; }
.sn-gallery__close:hover { background: rgba(255, 255, 255, .18); }
.sn-gallery__body { flex: 1 1 auto; display: flex; align-items: center; justify-content: center; gap: 1.5rem; min-height: 0; }
.sn-gallery__nav { width: 56px; height: 56px; flex: 0 0 56px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .08); color: #fff; font-size: 1.4rem; cursor: pointer; }
.sn-gallery__nav:hover { background: rgba(255, 255, 255, .18); }
.sn-gallery__stage { flex: 0 1 640px; align-self: stretch; max-height: 100%; background: #f1f1f2; border-radius: 24px; display: flex; align-items: center; justify-content: center; padding: 28px; overflow: hidden; box-shadow: 0 0 60px rgba(227, 27, 35, .12); }
.sn-gallery__img { max-width: 100%; max-height: 100%; object-fit: contain; }
.sn-gallery__thumbs { flex: 0 0 auto; display: flex; gap: 14px; justify-content: center; padding-top: 4px; overflow-x: auto; }
.sn-gallery__thumb { width: 84px; height: 84px; flex: 0 0 84px; border-radius: 12px; border: 2px solid transparent; background: rgba(255, 255, 255, .06); padding: 6px; cursor: pointer; }
.sn-gallery__thumb img { width: 100%; height: 100%; object-fit: contain; }
.sn-gallery__thumb.is-active { border-color: var(--sn-accent); }
@media (max-width: 767px) {
    .sn-gallery { padding: 16px; }
    .sn-gallery__body { gap: .5rem; }
    .sn-gallery__nav { width: 40px; height: 40px; flex-basis: 40px; }
    .sn-gallery__thumb { width: 60px; height: 60px; flex-basis: 60px; }
}
.sn-ads-err-btn.ghost { background: rgba(255,255,255,.12); color: #fff; }

/* ---- Loading skeleton ---- */
.sn-ads-skeleton { display: flex; flex-direction: column; align-items: center; gap: .8rem; }
.sn-ads-skel-frame { aspect-ratio: 9 / 16; width: auto; max-width: 94vw; height: min(800px, calc(100vh - 210px), calc(94vw * 16 / 9)); height: min(800px, calc(100dvh - 210px), calc(94vw * 16 / 9)); border-radius: 22px; background: linear-gradient(100deg, #1a1a1a 30%, #262626 50%, #1a1a1a 70%); background-size: 200% 100%; animation: sn-ads-shimmer 1.3s infinite; }
.sn-ads-skel-line { width: min(80vw, 340px); height: 14px; border-radius: 6px; background: linear-gradient(100deg, #1a1a1a 30%, #262626 50%, #1a1a1a 70%); background-size: 200% 100%; animation: sn-ads-shimmer 1.3s infinite; }
.sn-ads-skel-line.short { width: min(55vw, 220px); }
@keyframes sn-ads-shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* ---- Empty state ---- */
.sn-ads-empty { width: min(92vw, 560px); background: #fff; border: 1px solid var(--sn-border); border-radius: 18px; padding: 3rem 2rem; text-align: center; display: flex; flex-direction: column; align-items: center; gap: .9rem; }
.sn-ads-empty-icon { width: 84px; height: 84px; border-radius: 50%; background: var(--sn-well); color: var(--sn-muted-2); display: inline-flex; align-items: center; justify-content: center; font-size: 2rem; }
.sn-ads-empty-title { font-weight: 900; text-transform: uppercase; color: var(--sn-ink); margin: 0; }
.sn-ads-empty-desc { color: var(--sn-muted); font-size: .9rem; margin: 0; max-width: 26rem; }
.sn-ads-empty-cta { margin-top: .6rem; background: var(--sn-accent); color: var(--sn-on-accent); border-radius: 10px; padding: 12px 26px; font-weight: 900; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; }
.sn-ads-empty-cta:hover { color: var(--sn-on-accent); opacity: .92; }

/* ---- Featured gear & services (current clip's linked product) ---- */
.sn-ads-gear-section { margin-top: 2.5rem; margin-bottom: 1rem; }
.sn-ads-gear-card { display: flex; align-items: center; gap: 1rem; background: var(--bs-body-bg, #fff); border: 1px solid var(--sn-border); border-radius: 16px; padding: 16px; }
.sn-ads-gear-thumb { flex: 0 0 auto; width: 92px; height: 92px; border-radius: 12px; background: var(--sn-well); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.sn-ads-gear-thumb img { max-width: 100%; max-height: 100%; object-fit: contain; }
.sn-ads-gear-info { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: .35rem; }
.sn-ads-gear-eyebrow { font-size: .62rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; color: var(--sn-muted); }
.sn-ads-gear-eyebrow.is-service { color: var(--sn-accent); }
.sn-ads-gear-name { font-weight: 900; font-size: .95rem; color: var(--sn-ink); margin: 0; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.sn-ads-gear-name a { color: inherit; text-decoration: none; }
.sn-ads-gear-name a:hover { color: var(--sn-accent); }
.sn-ads-gear-price { display: flex; align-items: baseline; gap: .5rem; }
.sn-ads-gear-price .sn-now { font-weight: 900; font-size: 1.05rem; color: var(--sn-ink); }
.sn-ads-gear-price .sn-was { font-size: .76rem; color: var(--sn-muted-2); text-decoration: line-through; }
.sn-ads-gear-cta { flex: 0 0 auto; }
.sn-ads-gear-cta .sn-btn-dark { width: auto; padding: 12px 22px; }
@media (max-width: 575px) {
    .sn-ads-gear-card { flex-wrap: wrap; }
    .sn-ads-gear-cta { width: 100%; }
    .sn-ads-gear-cta .sn-btn-dark { width: 100%; }
}

/* ---- Ads: seller "Visit Store" card (mirrors the gear card) ---- */
.sn-ads-seller-section { margin-top: 1.5rem; }
.sn-ads-seller-card { display: flex; align-items: center; gap: 1rem; background: var(--bs-body-bg, #fff); border: 1px solid var(--sn-border); border-radius: 16px; padding: 16px; }
.sn-ads-seller-thumb { flex: 0 0 auto; width: 64px; height: 64px; border-radius: 50%; background: var(--sn-well); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.sn-ads-seller-thumb img { width: 100%; height: 100%; object-fit: cover; }
.sn-ads-seller-info { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: .25rem; }
.sn-ads-seller-eyebrow { font-size: .62rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; color: var(--sn-muted); }
.sn-ads-seller-name { font-weight: 900; font-size: 1rem; color: var(--sn-ink); margin: 0; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.sn-ads-seller-name a { color: inherit; text-decoration: none; }
.sn-ads-seller-name a:hover { color: var(--sn-accent); }
.sn-ads-seller-cta { flex: 0 0 auto; }
.sn-ads-seller-cta .sn-btn-dark { width: auto; padding: 12px 22px; }
@media (max-width: 575px) {
    .sn-ads-seller-card { flex-wrap: wrap; }
    .sn-ads-seller-cta { width: 100%; }
    .sn-ads-seller-cta .sn-btn-dark { width: 100%; }
}

/* ============================================================
   Hero slider — show the WHOLE image (like the offers band),
   never crop, and stop the neighbouring slide bleeding in.
   Overrides the fixed 500px cover-box rules that live in the
   minified, SERVED eshop-bundle-main.css (custom.css is NOT
   loaded on the front-end, so editing it does nothing).
   ============================================================ */
.slider .swiper-slide-container .slide-img,
.slider .swiper-slide-container .slide-img > a,
.slider .swiper-slide-container .slide-img picture {
    display: block;
    width: 100%;
    max-width: 100% !important;
    height: auto !important;
    max-height: none !important;
}
.slider .swiper-slide-container .slide-img img {
    display: block;
    width: 100% !important;
    height: auto !important;          /* keep aspect ratio -> whole image, like offers */
    object-fit: fill !important;      /* neutralise .image-fit cover (moot at height:auto, safety) */
}
/* Kill the horizontal wrapper padding that shifts slides and reveals the
   previous slide (0 10px …!important LTR / 0 … 10px!important RTL).
   Keep bottom room for the pagination bullets. Slider-scoped only. */
.slider .swiper-slide-container .swiper-wrapper {
    padding-top: 0 !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
    padding-bottom: 35px !important;
}

/* ============================================================
   Storefront horizontal-overflow guard.
   The theme's guard (body{overflow-x:hidden;width:100%}) lives in custom.css,
   which is NOT served on the modern front-end, so the storefront body had no
   guard and off-screen elements (notably the fixed mobile filter offcanvas)
   let the RTL page scroll/shift sideways. `clip` (not `hidden`) keeps overflow-y
   `visible` -> no scroll container -> does NOT break the sticky product-detail
   sub-nav (.sn-subnav).
   ============================================================ */
body { overflow-x: clip; }

/* The mobile filter drawer is a position:fixed, off-screen offcanvas that stays
   in the DOM on desktop (its display:none rule also lived only in custom.css),
   producing RTL horizontal overflow / the rightward page shift. Hide it at >=lg,
   where the desktop aside sidebar is shown and its trigger is d-lg-none. It stays
   available below 992px, where it is the actual filter drawer. */
@media (min-width: 992px) { #offcanvas-category { display: none; } }

/* ============================================================
   Bootstrap overflow utilities - RTL restore.

   `.overflow-auto` / `.overflow-hidden` / `.overflow-scroll` / `.overflow-visible`
   are defined ONLY in css/eshop-bundle-main.css. In Arabic, include-css.php loads
   css/rtl/eshop-bundle-main.css INSTEAD of it, and that build ships none of them -
   so all ~21 uses of these classes across the modern views silently do nothing in
   RTL, while working fine in English.

   On the product detail page that removed containment from the long description
   (`.description.overflow-auto`, which holds seller-pasted size-chart tables) and
   from the related-products swiper (`.container.overflow-hidden` plus
   `.mySwiper4.overflow-hidden`, whose wrapper is force-set to dir="rtl"), letting
   them overhang and shift the whole page sideways in Arabic only.

   spornation.css is loaded in BOTH directions and AFTER both bundles, so defining
   them here restores RTL without touching the vendor bundles. In LTR these are
   byte-identical to the bundle's own rules, so nothing changes there.

   NOTE: the bundle's `.overflow-height{height:530px}` is deliberately NOT mirrored -
   it is a theme layout class, not an overflow utility, and forcing a height in RTL
   where it currently has none would be a visual change rather than a fix.
   ============================================================ */
.overflow-auto    { overflow: auto    !important; }
.overflow-hidden  { overflow: hidden  !important; }
.overflow-scroll  { overflow: scroll  !important; }
.overflow-visible { overflow: visible !important; }
