/*
 * BSO Website Styles
 * Refactored to match the official BSO mobile application design language.
 * Mobile-first. All existing functionality (cart, wishlist, search, filters,
 * pricing modes, WhatsApp ordering, local catalog editor) is preserved;
 * only the presentation layer was redesigned.
 */

:root{
  --primary:#0073bd;
  --primary-dark:#005a9e;
  --primary-light:#00aeef;
  --primary-soft:#e6f0f9;
  --accent:#00a651;
  --accent-dark:#007d3c;
  --accent-soft:#e6f5ed;
  --whatsapp:#20b75a;
  --ink:#1b2a30;
  --muted:#7c8b91;
  --line:#e7edf0;
  --surface:#f5f7f8;
  --white:#fff;
  --danger:#e0294d;
  --shadow-card:0 2px 10px rgba(20,40,50,.06);
  --shadow-pop:0 10px 30px rgba(20,40,50,.12);
  --radius-card:16px;
  --radius-pill:999px;
  --radius-ctl:12px;
  --header-h:60px;
  --bottom-nav-h:64px;

  /* Premium B2B dark/navy + glass foundation (Phase 1) — additive, used by
     the hero now and available for later page reskins. Existing light-theme
     tokens above are untouched. */
  --bg-navy:#0b1b2b;
  --bg-graphite:#111820;
  --surface-navy-1:#16283c;
  --surface-navy-2:#1e3a54;
  --glass-fill:rgba(255,255,255,.06);
  --glass-fill-strong:rgba(255,255,255,.12);
  --glass-border:rgba(255,255,255,.14);
  --text-hi:#f4f8fb;
  --text-mid:rgba(244,248,251,.72);
  --text-lo:rgba(244,248,251,.5);
  --gold:#d9b66a;
  --shadow-glass:0 20px 60px rgba(0,0,0,.35);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  background:var(--surface);
  color:var(--ink);
  font-family:"IBM Plex Sans Arabic",Tahoma,Arial,sans-serif;
  line-height:1.6;
  -webkit-tap-highlight-color:transparent;
}
button,input,select,textarea{font:inherit}
button{cursor:pointer}
a{color:inherit;text-decoration:none}
img{max-width:100%}
.container{width:min(1180px,calc(100% - 32px));margin-inline:auto}
.plain-button{border:0;background:none;padding:0}

/* ============ MOBILE SEARCH TOGGLE ============ */
.mobile-search-toggle{display:none}

/* ============ HEADER ============ */
.site-header{position:sticky;top:0;z-index:30;background:var(--white);border-bottom:1px solid var(--line)}
.header-inner{min-height:var(--header-h);display:flex;align-items:center;gap:14px}
.brand{display:flex;align-items:center;gap:10px;color:var(--ink)}
.brand-logo{height:32px;width:auto;display:block;object-fit:contain}
.brand-copy{display:flex;flex-direction:column;line-height:1.2}
.brand-copy strong{font-size:13px}
.brand-copy small{color:var(--muted);font-size:11px}
.desktop-nav{display:none}
.search-wrap{position:relative;flex:1;min-width:0}
.header-search{display:flex;align-items:center;gap:8px;flex:1;min-width:0;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-pill);padding:0 14px}
.header-search span{color:var(--muted);font-size:16px}
.header-search input{width:100%;border:0;outline:0;background:transparent;padding:10px 0;min-width:0;color:var(--ink);font-size:14px}
.search-suggestions{position:absolute;top:calc(100% + 6px);inset-inline:0;z-index:35;background:var(--white);border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow-pop);overflow:hidden;display:none}
.search-suggestions.visible{display:block}
.search-suggestions button{display:flex;align-items:center;gap:10px;width:100%;border:0;background:none;padding:10px 14px;text-align:start;font-size:13px;color:var(--ink);border-bottom:1px solid var(--line)}
.search-suggestions button:last-child{border-bottom:0}
.search-suggestions button:hover,.search-suggestions button:active{background:var(--surface)}
.search-suggestions .suggestion-thumb{width:32px;height:32px;border-radius:8px;background:var(--surface);object-fit:contain;flex-shrink:0;padding:2px}
.search-suggestions .suggestion-text{display:flex;flex-direction:column;gap:2px;min-width:0;flex:1}
.search-suggestions .suggestion-text strong{font-size:12.5px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.search-suggestions .suggestion-text small{color:var(--muted);font-size:11px}
.search-suggestions .suggestion-empty{padding:14px;text-align:center;color:var(--muted);font-size:12.5px}
.search-suggestions .suggestion-more{justify-content:center;color:var(--primary-dark);font-weight:700}
.header-actions{display:flex;align-items:center;gap:6px;flex-shrink:0}
.account-type{border:1px solid var(--line);background:var(--white);border-radius:var(--radius-pill);padding:7px 14px;font-size:12px;font-weight:700;color:var(--primary-dark)}
.icon-button{position:relative;border:0;background:none;width:38px;height:38px;border-radius:50%;display:grid;place-items:center;font-size:19px;color:var(--ink)}
.icon-button:active{background:var(--surface)}
.counter{position:absolute;inset-block-start:0;inset-inline-start:0;display:grid;place-items:center;min-width:17px;height:17px;padding:0 4px;border-radius:var(--radius-pill);background:var(--primary);color:#fff;font-size:10px;font-weight:700;border:2px solid var(--white)}

/* ============ VIEW SWITCHING ============ */
.view{display:none;min-height:60vh}
.view.active{display:block}
body{padding-bottom:var(--bottom-nav-h)}
/* intro takes over the whole page: hide the normal site chrome while it's showing */
body.intro-active{padding-bottom:0}
body.intro-active .site-header,
body.intro-active .site-footer,
body.intro-active .mobile-nav,
body.intro-active .toast{display:none}

/* ============ PAGE TITLE ============ */
.page-title{display:flex;justify-content:space-between;align-items:center;padding:18px 0 14px}
.page-title h1{margin:0;font-size:22px;font-weight:800}
.page-title span{display:none}
.page-title p{margin:4px 0 0;color:var(--muted);font-size:13px}

/* ============ HOME: HERO SLIDER ============ */
.hero-wrap{padding-top:10px}
.hero-slider{position:relative;border-radius:var(--radius-card);overflow:hidden;background:linear-gradient(135deg,#eaf8fc,#dff3f8);box-shadow:var(--shadow-card)}
.hero-slides{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;-ms-overflow-style:none}
.hero-slides::-webkit-scrollbar{display:none}
.hero-slide{flex:0 0 100%;scroll-snap-align:start;display:block;border:0;padding:0;margin:0;background:none;cursor:pointer;line-height:0;transition:.15s}
.hero-slide:active{transform:scale(.99)}
.hero-slide img{width:100%;height:100%;display:block;aspect-ratio:5/2;object-fit:cover}
.hero-dots{display:flex;justify-content:center;gap:6px;padding:10px 0 2px}
.hero-dots span{width:6px;height:6px;border-radius:50%;background:var(--line);cursor:pointer}
.hero-dots span.active{background:var(--primary);width:16px;border-radius:4px;transition:.2s}
.hero-note{display:none}
.hero-arrow{display:none;position:absolute;top:50%;transform:translateY(-50%);z-index:5;border:0;width:40px;height:40px;border-radius:50%;background:rgba(255,255,255,.82);font-size:20px;place-items:center;cursor:pointer;box-shadow:0 2px 8px rgba(0,0,0,.15);color:var(--ink);transition:.15s}
.hero-arrow:hover{background:#fff;transform:translateY(-50%) scale(1.08)}
.hero-arrow-prev{inset-inline-end:12px}
.hero-arrow-next{inset-inline-start:12px}

/* ============ INTRO / SPLASH SCREEN ============ */
.intro-screen{display:flex;align-items:center;justify-content:center;min-height:calc(100vh - var(--header-h) - var(--bottom-nav-h));padding:32px 0;background:linear-gradient(180deg,var(--primary-soft) 0%,var(--surface) 60%)}
.intro-inner{display:flex;flex-direction:column;align-items:center;gap:22px;max-width:520px;text-align:center}
.intro-brand{display:flex;flex-direction:column;align-items:center;gap:4px}
.intro-logo{width:96px;height:96px;object-fit:contain;border-radius:22px;background:var(--white);box-shadow:var(--shadow-pop);padding:12px}
.intro-brand h1{margin:8px 0 0;font-size:26px;font-weight:800;color:var(--primary-dark)}
.intro-brand p{margin:0;color:var(--muted);font-size:13px;letter-spacing:.5px}
.intro-hero{width:100%;padding-top:0}
.intro-desc{margin:0;color:var(--ink);font-size:14px;line-height:1.8;max-width:420px}
.intro-enter{max-width:280px;padding:14px 22px;font-size:14.5px;box-shadow:var(--shadow-pop)}
@media (min-width:820px){
  .intro-logo{width:120px;height:120px}
  .intro-brand h1{font-size:32px}
  .intro-desc{font-size:15px}
}

/* Mobile: collapse search to icon, show overlay on toggle */
@media(max-width:680px){
  .mobile-search-toggle{display:grid}
  .search-wrap{position:fixed;inset:0;z-index:55;background:var(--white);padding:12px 16px;display:none;flex-direction:column}
  body.search-open .search-wrap{display:flex}
  body.search-open .site-header{z-index:56}
  .search-wrap .header-search{border-radius:14px}
  .search-wrap .search-suggestions{position:static;border:0;border-radius:0;box-shadow:none;margin-top:6px}
  .header-inner{flex-wrap:nowrap}
  .header-actions{gap:2px}
  .header-actions .icon-button{width:34px;height:34px;font-size:17px}
  .account-type{padding:6px 10px;font-size:11px}
}

/* ============ BUTTONS ============ */
.button{border:1px solid transparent;border-radius:var(--radius-ctl);padding:10px 18px;font-weight:700;font-size:13px;transition:.15s}
.button.primary{background:var(--primary);color:#fff}
.button.primary:hover{background:var(--primary-dark)}
.button.primary:active{background:var(--primary-dark)}
.button[data-add]{background:linear-gradient(135deg,var(--accent) 0%,var(--accent-dark) 100%);color:#fff}
.button[data-add]:hover,.button[data-add]:active{background:linear-gradient(135deg,var(--accent-dark) 0%,#005e2c 100%)}
.button.secondary{background:var(--white);border-color:var(--line);color:var(--ink)}
.button.secondary:active{background:var(--surface)}
.button.whatsapp{background:var(--whatsapp);color:#fff}
.button.wide{width:100%;display:flex;align-items:center;justify-content:center;gap:6px}
.button:active{transform:scale(.98)}
/* Glass / ghost variants for dark (navy) surfaces such as the hero. */
.button.glass{background:var(--glass-fill-strong);border-color:var(--glass-border);color:var(--text-hi);backdrop-filter:blur(8px)}
.button.glass:hover{background:rgba(255,255,255,.18)}
.button.ghost{background:transparent;border-color:var(--glass-border);color:var(--text-hi)}
.button.ghost:hover{background:var(--glass-fill)}

/* ============ REUSABLE UTILITIES (Phase 1 foundation) ============ */
.glass-card{background:var(--glass-fill);border:1px solid var(--glass-border);border-radius:var(--radius-card);box-shadow:var(--shadow-glass);backdrop-filter:blur(14px)}
.badge{display:inline-flex;align-items:center;gap:6px;padding:4px 12px;border-radius:var(--radius-pill);font-size:12px;font-weight:700;line-height:1.4;border:1px solid transparent}
.badge--success{background:var(--accent-soft);color:var(--accent-dark);border-color:rgba(0,166,81,.25)}
.badge--pending{background:#fff4e0;color:#9a6a00;border-color:rgba(214,158,0,.3)}
.badge--danger{background:#fdeaee;color:var(--danger);border-color:rgba(224,41,77,.25)}
.badge--info{background:var(--primary-soft);color:var(--primary-dark);border-color:rgba(0,115,189,.22)}
.badge--glass{background:var(--glass-fill);color:var(--text-hi);border-color:var(--glass-border);backdrop-filter:blur(8px)}

/* Consistent input focus ring across the public frontend (additive; existing
   inputs kept outline:0 with no visible focus state before). */
#app input:focus,#app select:focus,#app textarea:focus,.header-search input:focus{border-color:var(--primary);box-shadow:0 0 0 3px var(--primary-soft)}
.text-button{border:0;background:none;color:var(--primary-dark);font-weight:700;padding:8px 0}

/* ============ HOME STACK / SECTIONS ============ */
.home-stack{padding-block:18px 24px}
.trust-grid{display:none}
.content-section{margin-top:26px}
.section-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}
.section-heading h2{margin:0;font-size:18px;font-weight:800}
.section-heading span{display:none}
.section-heading button,.section-more{border:0;background:none;color:var(--primary);font-size:13px;font-weight:700;display:flex;align-items:center;gap:4px}
.section-more::before{content:"‹";font-size:16px}

/* ============ WHY BSO ============ */
.why-bso-section{background:#0a1628;padding-block:40px}
.why-bso-head{text-align:center;margin-bottom:28px}
.why-bso-head h2{margin:0 0 8px;font-size:22px;font-weight:800;color:#fff}
.why-bso-head p{margin:0;font-size:13px;color:rgba(255,255,255,.65)}
.why-bso-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
.why-bso-card{background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.1);border-radius:var(--radius-card);padding:20px 16px;display:flex;flex-direction:column;align-items:flex-start;gap:12px}
.why-bso-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:50%;background:#0073bd;font-size:22px;flex-shrink:0}
.why-bso-card strong{font-size:14px;font-weight:800;color:#fff;line-height:1.3}
.why-bso-card p{margin:0;font-size:12px;color:rgba(255,255,255,.65);line-height:1.7}

/* ============ BRANDS / CATEGORIES ============ */
.brand-rail,.category-rail{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(86px,1fr);overflow-x:auto;gap:10px;padding-bottom:4px;scrollbar-width:none}
.brand-rail::-webkit-scrollbar,.category-rail::-webkit-scrollbar{display:none}
.brand-card{background:var(--white);border:1px solid var(--line);border-radius:14px;padding:12px 8px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:6px;transition:transform .2s,box-shadow .2s,border-color .2s}
.brand-card:hover{transform:translateY(-2px);box-shadow:0 6px 20px rgba(20,40,50,.1);border-color:var(--brand-color,var(--line))}
.brand-logo-box{display:grid;place-items:center;width:48px;height:48px;border-radius:50%;background:#fff;border:1px solid var(--line);transition:background .2s,border-color .2s}
.brand-card:hover .brand-logo-box{border-color:var(--brand-color,var(--primary))}
.brand-logo-box .brand-logo{width:70%;height:70%;object-fit:contain}
.brand-fallback{display:grid;place-items:center;width:100%;height:100%;color:var(--brand-color,var(--primary));font-weight:800;font-size:16px;transition:color .2s}
.brand-card b{font-size:11px;font-weight:700;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.category-chip{background:var(--white);border:1px solid var(--line);border-radius:14px;padding:14px 8px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:6px;font-weight:700;font-size:11px}
.category-chip span{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:var(--primary-soft);color:var(--primary);font-size:16px}
.category-chip span svg{width:18px;height:18px}

/* ============ PRODUCT GRID / CARDS ============ */
.product-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:stretch}
.product-rail{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(150px,46%);overflow-x:auto;gap:12px;padding-top:6px;padding-bottom:8px;scrollbar-width:none}
.product-rail::-webkit-scrollbar{display:none}
.product-card{position:relative;background:var(--white);border:1px solid var(--line);border-radius:var(--radius-card);overflow:hidden;display:flex;flex-direction:column;height:100%;box-shadow:var(--shadow-card);transition:transform .22s,box-shadow .22s,border-color .22s}
.product-card:hover{transform:translateY(-4px);box-shadow:0 14px 36px rgba(20,40,50,.13),0 0 0 2px var(--brand-color,var(--primary));border-color:var(--brand-color,var(--primary))}
.product-image{position:relative;height:200px;background:#ffffff;display:flex;align-items:center;justify-content:center;overflow:hidden;padding:12px;cursor:pointer}
.product-image img{width:160px;height:160px;object-fit:contain;object-position:center;flex-shrink:0}
.product-status{position:absolute;inset-block-start:8px;inset-inline-start:8px;display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:var(--accent-soft);color:var(--accent);font-size:13px;box-shadow:0 2px 6px rgba(26,166,74,.18)}
.favorite-button{position:absolute;inset-block-start:8px;inset-inline-end:8px;width:30px;height:30px;border:0;border-radius:50%;background:var(--white);box-shadow:0 2px 6px rgba(20,40,50,.12);font-size:15px;color:var(--muted);display:grid;place-items:center}
.favorite-button.active{color:var(--danger)}
.product-body{padding:12px 14px 14px;display:flex;flex-direction:column;gap:7px;flex:1;justify-content:space-between}
.product-brand{display:inline-flex;align-self:flex-start;padding:3px 10px;border-radius:var(--radius-pill);background:color-mix(in srgb,var(--brand-color,var(--primary)) 12%,white);color:var(--brand-color,var(--primary-dark));font-size:10px;font-weight:700;letter-spacing:.2px}
.product-body h3{margin:0;font-size:13px;line-height:1.45;font-weight:800;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:38px;cursor:pointer}
.product-benefit{margin:0;font-size:11px;line-height:1.4;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.product-price{display:flex;align-items:baseline;gap:4px;margin-top:auto}
.product-price strong{font-size:16px;color:var(--ink);font-weight:800}
.product-card .add-button{margin-top:auto;min-height:40px;font-size:12px;display:flex;align-items:center;justify-content:center;gap:5px;border-radius:25px;background:linear-gradient(135deg,var(--accent) 0%,var(--accent-dark) 100%)}
.product-card .add-button:hover,.product-card .add-button:active{background:linear-gradient(135deg,var(--accent-dark) 0%,#0e6b2d 100%)}
.add-button span{display:grid;place-items:center;width:17px;height:17px;border-radius:50%;background:rgba(255,255,255,.3);font-size:13px;line-height:1}

/* ============ EMPTY STATES ============ */
.empty-state{display:none;text-align:center;padding:60px 20px;color:var(--muted)}
.empty-state.visible{display:block}
.empty-state>span{display:grid;place-items:center;margin:0 auto 16px;width:90px;height:90px;border-radius:50%;background:var(--white);font-size:38px;color:var(--primary);box-shadow:var(--shadow-card)}
.empty-state h2{margin:0 0 6px;font-size:16px}
.empty-state p{margin:0 auto 18px;max-width:320px;font-size:13px}

/* ============ PRODUCTS / FILTERS PAGE ============ */
.page-layout{padding-block:6px 24px}
.filters{background:var(--white);border:1px solid var(--line);border-radius:var(--radius-card);padding:14px;margin-bottom:14px;display:grid;grid-template-columns:1fr 1fr;gap:10px}
.filters h2{display:none}
.filters label{display:flex;flex-direction:column;gap:5px;font-size:12px;font-weight:700;color:var(--muted)}
.filters input,.filters select,.order-panel input,.order-panel textarea,.contact-form input,.contact-form textarea,.account-content input,.account-content select,.track-order-form input,.auth-form input,.auth-form select{width:100%;border:1px solid var(--line);background:var(--surface);border-radius:10px;padding:9px 12px;outline:0;font-size:13px;color:var(--ink)}
.filters input:focus,.filters select:focus,input:focus,select:focus,textarea:focus{border-color:var(--primary);background:var(--white)}
textarea{min-height:90px;resize:vertical}
.filters .wide{grid-column:1/-1}
.catalog-content{min-width:0}

/* ============ PRODUCT DETAILS ============ */
.detail-page{padding-block:6px 40px}
.detail-breadcrumb{display:flex;align-items:center;gap:6px;padding:10px 0 16px;font-size:12px;color:var(--muted)}
.detail-breadcrumb button{color:var(--primary);font-weight:700}
.detail-breadcrumb span:last-child{color:var(--ink);font-weight:700}
.detail-card{display:flex;flex-direction:column;gap:16px;background:var(--white);border-radius:var(--radius-card);padding:16px;box-shadow:var(--shadow-card)}
.detail-image{display:grid;place-items:center;padding:20px;background:var(--surface);border-radius:12px;aspect-ratio:1/1}
.detail-image img{max-width:100%;max-height:100%;object-fit:contain}
.detail-brand-badge{display:inline-flex;align-self:flex-start;padding:4px 12px;border-radius:var(--radius-pill);background:color-mix(in srgb,var(--brand-color,var(--primary)) 12%,white);color:var(--brand-color,var(--primary-dark));font-size:11px;font-weight:700;margin-bottom:4px}
.detail-copy h1{margin:4px 0 12px;font-size:20px;font-weight:800;line-height:1.4}
.detail-price{display:flex;align-items:baseline;gap:8px;margin-bottom:16px}
.detail-price strong{font-size:26px;color:var(--ink);font-weight:800}
.detail-price span{font-size:12px;color:var(--muted);font-weight:600}
.detail-actions{display:flex;flex-direction:column;gap:10px}
.detail-qty{display:flex;align-items:center;width:fit-content;border:1px solid var(--line);border-radius:12px;overflow:hidden}
.detail-qty button{border:0;background:var(--surface);padding:10px 18px;font-size:18px;font-weight:700;color:var(--ink)}
.detail-qty button:hover{background:var(--line)}
.detail-qty input{border:0;border-inline:1px solid var(--line);width:54px;text-align:center;font-size:16px;font-weight:700;padding:10px 0;background:var(--white);color:var(--ink);-moz-appearance:textfield;outline:0}
.detail-qty input::-webkit-outer-spin-button,.detail-qty input::-webkit-inner-spin-button{-webkit-appearance:none}
.detail-qty input:focus{border-inline:1px solid var(--line);background:var(--white)}
.detail-cta{display:flex;gap:8px}
.detail-cta .button{flex:1;min-height:46px;font-size:14px}
.detail-fav-btn{flex-shrink:0;width:46px;border:1px solid var(--line);background:var(--white);border-radius:12px;font-size:20px;display:grid;place-items:center;color:var(--muted)}
.detail-fav-btn.active{color:var(--danger);border-color:var(--danger)}
.detail-tabs-wrap{margin-top:20px;background:var(--white);border-radius:var(--radius-card);overflow:hidden;box-shadow:var(--shadow-card)}
.detail-tabs{display:flex;border-bottom:2px solid var(--line)}
.detail-tabs button{flex:1;border:0;background:none;padding:14px 8px;font-size:13px;font-weight:700;color:var(--muted);border-bottom:2px solid transparent;margin-bottom:-2px}
.detail-tabs button.active{color:var(--primary);border-bottom-color:var(--primary)}
.detail-panel{display:none;padding:20px;font-size:13px;color:#4a5b62;line-height:1.8}
.detail-panel.active{display:block}
.detail-panel p{margin:0 0 12px}
.detail-panel p:last-child{margin-bottom:0}
.detail-benefits{list-style:none;margin:0 0 16px;padding:0;display:flex;flex-direction:column;gap:8px}
.detail-benefits li{position:relative;padding-inline-start:22px;font-size:13px;font-weight:600;color:var(--ink)}
.detail-benefits li::before{content:"✓";position:absolute;inset-inline-start:0;top:0;color:var(--accent);font-weight:800}
.detail-panel-note{color:var(--muted);font-size:11px;background:var(--surface);border-radius:8px;padding:10px 12px}
.detail-info-list{margin:0}
.detail-info-list>div{display:flex;justify-content:space-between;align-items:center;padding:10px 0;border-bottom:1px solid var(--line)}
.detail-info-list>div:last-child{border-bottom:0}
.detail-info-list dt{color:var(--muted);font-size:12px;font-weight:700}
.detail-info-list dd{margin:0;font-size:13px;font-weight:700;color:var(--ink)}
.detail-related{margin-top:24px}
.button-row{display:flex;gap:10px;flex-wrap:wrap}
.button-row .button{flex:1;min-width:120px}

/* ============ BRANDS GRID PAGE ============ */
.narrow-page{padding-block:6px 24px}
.brands-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}

/* ============ CART ============ */
.cart-layout{padding-block:6px 24px;display:flex;flex-direction:column;gap:16px}
.cart-main{min-width:0}
.cart-item{display:grid;grid-template-columns:64px 1fr auto;gap:10px;align-items:center;padding:10px;border:1px solid var(--line);border-radius:14px;background:var(--white);margin-bottom:8px}
.cart-item img{width:64px;height:64px;object-fit:contain;background:var(--surface);border-radius:10px}
.cart-item>div:nth-child(2){display:flex;flex-direction:column;gap:4px;min-width:0}
.cart-item>div:nth-child(2) strong{font-size:12.5px;line-height:1.4}
.cart-item>div:nth-child(2) small{color:var(--primary-dark);font-weight:700;font-size:12px}
.quantity{display:flex;align-items:center;gap:6px;grid-column:2;justify-self:start}
.quantity button{border:1px solid var(--line);background:var(--white);border-radius:8px;width:26px;height:26px;font-size:14px}
.remove-item{border:0;background:none;color:var(--danger);font-size:11px;font-weight:700;grid-row:1;grid-column:3}
.order-panel{background:var(--white);border:1px solid var(--line);border-radius:var(--radius-card);padding:16px}
.order-panel-heading{margin-bottom:12px}
.order-panel-heading>span{color:var(--primary-dark);font-size:11px;font-weight:800}
.order-panel-heading h2{margin:3px 0;font-size:17px}
.order-panel-heading p{margin:0;color:var(--muted);font-size:12px}
.order-panel label{display:flex;flex-direction:column;gap:5px;margin-bottom:10px;font-size:12px;font-weight:700}
.order-panel label em{color:var(--danger);font-style:normal}
.order-panel label small{color:var(--muted);font-weight:400}
.order-total{display:flex;justify-content:space-between;align-items:center;background:var(--surface);border-radius:10px;padding:12px 14px;margin:4px 0 12px;font-size:14px}
.order-total strong{font-size:18px}
.order-assurance{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin-top:10px;color:var(--muted);font-size:10px}

/* ============ CONTACT ============ */
.contact-layout{padding-block:6px 24px;display:flex;flex-direction:column;gap:18px}
.contact-copy h1{font-size:20px;font-weight:800}
.contact-copy p{font-size:13px;color:var(--muted)}
.contact-copy>span{color:var(--primary-dark);font-weight:700;font-size:12px}
.contact-cards{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:14px}
.contact-cards>*{display:flex;flex-direction:column;gap:4px;padding:14px;border:1px solid var(--line);border-radius:14px;background:var(--white);font-size:12px}
.contact-cards b{font-size:13px}
.contact-form{background:var(--white);border:1px solid var(--line);border-radius:var(--radius-card);padding:16px}
.contact-form h2{margin:0 0 12px;font-size:16px}
.contact-form label{display:flex;flex-direction:column;gap:5px;margin-bottom:10px;font-size:12px;font-weight:700}

/* ============ ACCOUNT PAGE ============ */
.account-layout{padding-block:6px 24px;display:flex;flex-direction:column;gap:16px}
.account-sidebar{display:flex;align-items:center;gap:14px;background:var(--white);border:1px solid var(--line);border-radius:var(--radius-card);padding:16px;text-align:start}
.account-avatar{display:grid;place-items:center;width:54px;height:54px;flex-shrink:0;border-radius:50%;background:var(--primary);color:#fff;font-weight:800;font-size:14px;margin:0}
.account-sidebar h2{margin:0;font-size:15px}
.account-sidebar p{margin:2px 0 4px;color:var(--muted);font-size:12px}
.account-sidebar span{display:inline-block;background:var(--surface);border-radius:var(--radius-pill);padding:3px 10px;font-size:11px;font-weight:700;color:var(--primary-dark)}
.account-content{background:var(--white);border:1px solid var(--line);border-radius:var(--radius-card);padding:16px}
.account-content h1{margin:0 0 12px;font-size:17px}
.account-content label{display:flex;flex-direction:column;gap:5px;margin-bottom:10px;font-size:12px;font-weight:700}
.account-content small{display:block;color:var(--muted);margin:8px 0 12px;font-size:11px}
.account-menu{display:flex;flex-direction:column;gap:8px}
.account-menu-item{display:flex;align-items:center;justify-content:space-between;background:var(--white);border:1px solid var(--line);border-radius:14px;padding:14px 16px;font-weight:700;font-size:13px;width:100%;text-align:start;color:var(--ink)}
.account-menu-item .menu-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:var(--primary-soft);color:var(--primary);font-size:15px}
.account-menu-item.danger .menu-icon{background:#fdecef;color:var(--danger)}

/* ============ AUTH PAGES ============ */
.auth-layout{padding-block:24px 40px;max-width:420px;margin-inline:auto}
.auth-logo{text-align:center;margin-bottom:24px}
.auth-logo-img{height:64px;width:auto;display:block;margin:0 auto}
.auth-logo p{margin:6px 0 0;color:var(--muted);font-size:13px}
.auth-form{background:var(--white);border:1px solid var(--line);border-radius:var(--radius-card);padding:20px}
.auth-form h1{margin:0 0 16px;font-size:19px;font-weight:800}
.auth-form label{display:flex;flex-direction:column;gap:5px;margin-bottom:12px;font-size:12px;font-weight:700}
.auth-toggle{display:flex;gap:8px;margin-bottom:14px}
.auth-toggle button{flex:1;border:1px solid var(--line);background:var(--surface);border-radius:10px;padding:10px;font-weight:700;font-size:13px;color:var(--muted)}
.auth-toggle button.active{background:var(--primary-soft);border-color:var(--primary);color:var(--primary-dark)}
.auth-form .button{margin-top:6px}
.auth-switch{text-align:center;margin-top:16px;font-size:13px;color:var(--muted)}
.auth-switch a,.auth-switch button{color:var(--primary);font-weight:800;border:0;background:none}
.auth-note{margin-top:12px;font-size:11px;color:var(--muted);background:var(--surface);border-radius:10px;padding:10px 12px;text-align:center}
.auth-intro{margin:-4px 0 16px;font-size:12.5px;line-height:1.7;color:var(--muted)}

/* ============ PHASE 3: AUTH & ACCOUNT — navy/glass theme ============ */
/* Scoped to the three auth/account views only; other (light) views untouched. */
[data-view="login"],[data-view="register"],[data-view="account"]{
  background:var(--bg-navy);
  background-image:radial-gradient(120% 70% at 50% -10%,rgba(0,174,239,.16) 0%,transparent 55%),radial-gradient(90% 60% at 50% 120%,rgba(0,0,0,.5) 0%,transparent 60%);
  color:var(--text-hi);
  min-height:100dvh;
  padding-top:0;
}
/* On auth/account views the light header + bottom nav are hidden so the
   full-screen navy/glass layout is uninterrupted. */
body.auth-view .site-header{display:none}
body.auth-view .mobile-nav{display:none}
[data-view="login"] .auth-logo p,[data-view="register"] .auth-logo p{color:var(--text-mid)}
[data-view="login"] .auth-intro,[data-view="register"] .auth-intro{color:var(--text-mid)}
/* glass form card */
[data-view="login"] .auth-form,[data-view="register"] .auth-form{background:var(--glass-fill);border:1px solid var(--glass-border);border-radius:var(--radius-card);box-shadow:var(--shadow-glass);backdrop-filter:blur(14px)}
[data-view="login"] .auth-form h1,[data-view="register"] .auth-form h1{color:var(--text-hi)}
[data-view="login"] .auth-form label,[data-view="register"] .auth-form label{color:var(--text-mid)}
/* dark glass inputs across auth + account */
[data-view="login"] .auth-form input,
[data-view="register"] .auth-form input,
[data-view="register"] .auth-form select,
[data-view="account"] .account-content input,
[data-view="account"] .account-content select{background:var(--surface-navy-2);border-color:var(--glass-border);color:var(--text-hi)}
[data-view="login"] .auth-form input::placeholder,[data-view="register"] .auth-form input::placeholder{color:var(--text-lo)}
/* Dark-glass select: strip the native chrome, draw a custom chevron on the
   start (RTL-left) side, and force readable dark-navy options with light text. */
[data-view="register"] .auth-form select,
[data-view="account"] .account-content select{
  appearance:none;-webkit-appearance:none;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23A9C2D6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='m6 9 6 6 6-6'/></svg>");
  background-repeat:no-repeat;background-position:left 12px center;background-size:16px;
  padding-inline-start:38px;
}
[data-view="register"] .auth-form select option,
[data-view="account"] .account-content select option{background:var(--surface-navy-1);color:var(--text-hi)}
[data-view="register"] .auth-form select:focus,
[data-view="account"] .account-content select:focus{border-color:var(--primary-light);box-shadow:0 0 0 3px rgba(0,174,239,.18)}
/* note / switch */
[data-view="register"] .auth-note{background:var(--glass-fill);border:1px solid var(--glass-border);color:var(--text-mid)}
[data-view="login"] .auth-switch,[data-view="register"] .auth-switch{color:var(--text-mid)}
[data-view="login"] .auth-switch button,[data-view="register"] .auth-switch button{color:var(--primary-light)}
/* account cards */
[data-view="account"] .account-sidebar,
[data-view="account"] .account-content,
[data-view="account"] .account-menu-item{background:var(--glass-fill);border:1px solid var(--glass-border);color:var(--text-hi);box-shadow:var(--shadow-glass)}
[data-view="account"] .account-sidebar h2{color:var(--text-hi)}
[data-view="account"] .account-sidebar p{color:var(--text-mid)}
[data-view="account"] .account-content h1{color:var(--text-hi)}
[data-view="account"] .account-content label{color:var(--text-mid)}
[data-view="account"] .account-content small{color:var(--text-lo)}
[data-view="account"] .account-menu-item .menu-icon{background:var(--glass-fill-strong);color:var(--primary-light)}
[data-view="account"] .account-menu-item.danger .menu-icon{background:rgba(224,41,77,.18);color:#ff6b85}
/* account status pill */
.account-status{display:inline-block;margin-top:6px;padding:3px 12px;border-radius:var(--radius-pill);font-size:11px;font-weight:700;background:var(--glass-fill);border:1px solid var(--glass-border);color:var(--text-mid)}
.account-status.is-approved{background:var(--accent-soft);border-color:rgba(0,166,81,.3);color:var(--accent-dark)}

/* ============ PLACEHOLDER PAGES ============ */
.placeholder-tabs{display:flex;gap:8px;overflow-x:auto;padding-bottom:6px;scrollbar-width:none}
.placeholder-tabs::-webkit-scrollbar{display:none}
.placeholder-tabs button{flex-shrink:0;border:1px solid var(--line);background:var(--white);border-radius:var(--radius-pill);padding:9px 16px;font-size:12px;font-weight:700;color:var(--muted)}
.placeholder-tabs button.active{background:var(--primary);border-color:var(--primary);color:#fff}

/* ============ ORDER TRACKING (customer-facing) ============ */
.track-order-page{padding-block:6px 24px}
.track-order-form{background:var(--white);border:1px solid var(--line);border-radius:var(--radius-card);padding:16px;display:flex;flex-direction:column;gap:12px;margin-top:8px}
.track-order-form label{display:flex;flex-direction:column;gap:5px;font-size:12px;font-weight:700}
.track-order-form label em{color:var(--danger);font-style:normal}
.track-order-hint{color:var(--muted);font-size:12px;margin:10px 2px 18px}
.order-status{display:inline-flex;align-items:center;padding:4px 10px;border-radius:var(--radius-pill);font-size:11px;font-weight:700;white-space:nowrap}
.order-status-pending{background:#fff4e0;color:#a8650f}
.order-status-approved{background:#e7f0ff;color:#1d4fa3}
.order-status-preparing{background:#eef0ff;color:#4338ad}
.order-status-out-for-delivery{background:#e7f7ec;color:var(--accent-dark)}
.order-status-delivered{background:var(--accent-soft);color:var(--accent-dark)}
.order-status-cancelled{background:#fdecef;color:var(--danger)}
.order-detail-card{display:none;margin-top:4px}
.order-detail-card.visible{display:flex;flex-direction:column;gap:12px}

/* Track result components */
.track-header{background:var(--white);border-radius:var(--radius-card);padding:20px;box-shadow:var(--shadow-card)}
.track-header-top{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:16px}
.track-order-num{font-size:22px;font-weight:800;color:var(--ink);line-height:1.2}
.track-order-num small{display:block;font-size:12px;font-weight:400;color:var(--muted);margin-top:4px}
.track-total{text-align:end}
.track-total strong{display:block;font-size:24px;font-weight:800;color:var(--primary)}
.track-total>span{display:block;margin-top:4px}
.track-price-badge{display:inline-flex;padding:3px 10px;border-radius:var(--radius-pill);font-size:11px;font-weight:700}
.track-price-badge.retail{background:#e7f0ff;color:#1d4fa3}
.track-price-badge.wholesale{background:var(--accent-soft);color:var(--accent-dark)}
.track-meta{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding-top:14px;border-top:1px solid var(--line)}
.track-meta-item{display:flex;flex-direction:column;gap:3px}
.track-meta-item span{font-size:11px;color:var(--muted);font-weight:600}
.track-meta-item strong{font-size:13px;font-weight:700}

/* Timeline */
.track-timeline{background:var(--white);border-radius:var(--radius-card);padding:20px;box-shadow:var(--shadow-card)}
.track-timeline h3,.track-items h3{font-size:11px;font-weight:700;color:var(--muted);text-transform:uppercase;letter-spacing:.6px;margin:0 0 18px}
.tl-wrap{display:flex;flex-direction:column}
.tl-step{display:flex;gap:12px;align-items:flex-start}
.tl-dot-col{display:flex;flex-direction:column;align-items:center;flex-shrink:0}
.tl-dot{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;font-size:14px;border:2px solid var(--line);background:var(--white);color:var(--muted);z-index:1}
.tl-line{width:2px;flex:1;min-height:22px;background:var(--line);margin-block:2px}
.tl-body{padding-block:5px 18px;display:flex;flex-direction:column;gap:5px}
.tl-name{font-size:14px;font-weight:700;color:var(--muted)}
.tl-current-badge{display:inline-flex;align-self:flex-start;padding:3px 10px;border-radius:var(--radius-pill);background:var(--primary-soft);color:var(--primary);font-size:11px;font-weight:700}
.tl-step.done .tl-dot{background:var(--primary);border-color:var(--primary);color:#fff}
.tl-step.done .tl-line{background:var(--primary)}
.tl-step.done .tl-name{color:var(--ink)}
.tl-step.current .tl-dot{background:var(--primary);border-color:var(--primary);color:#fff;animation:tlPulse 1.6s ease-in-out infinite}
.tl-step.current .tl-name{color:var(--ink);font-size:15px}
@keyframes tlPulse{0%,100%{box-shadow:0 0 0 0 rgba(0,115,189,.4)}60%{box-shadow:0 0 0 8px rgba(0,115,189,0)}}
.tl-cancelled .tl-step.done .tl-dot,.tl-cancelled .tl-step.current .tl-dot{background:var(--danger);border-color:var(--danger);color:#fff}
.tl-cancelled .tl-step.done .tl-line{background:var(--danger)}
.tl-cancelled .tl-step.done .tl-name,.tl-cancelled .tl-step.current .tl-name{color:var(--danger)}
.tl-cancelled .tl-step.current .tl-dot{animation:tlPulseRed 1.6s ease-in-out infinite}
.tl-cancelled .tl-current-badge{background:#fdecef;color:var(--danger)}
@keyframes tlPulseRed{0%,100%{box-shadow:0 0 0 0 rgba(224,41,77,.4)}60%{box-shadow:0 0 0 8px rgba(224,41,77,0)}}

/* Track items */
.track-items{background:var(--white);border-radius:var(--radius-card);padding:16px 20px;box-shadow:var(--shadow-card)}
.track-item-row{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding:10px 0;border-bottom:1px solid var(--line);font-size:13px}
.track-item-name{flex:1;min-width:0}
.track-item-name strong{display:block;font-weight:700;line-height:1.4;margin-bottom:2px}
.track-item-name small{color:var(--muted);font-size:11px}
.track-item-price{text-align:end;flex-shrink:0}
.track-item-price span{display:block;font-size:11px;color:var(--muted);margin-bottom:2px}
.track-item-price strong{font-weight:800;font-size:14px}
.track-items-total{display:flex;justify-content:space-between;align-items:center;padding-top:12px;margin-top:8px;border-top:2px solid var(--line)}
.track-items-total span{font-size:13px;font-weight:700;color:var(--muted)}
.track-items-total strong{font-size:22px;font-weight:800;color:var(--ink)}

/* ============ FOOTER ============ */
.site-footer{background:#0a1628;border-top:3px solid var(--primary);color:#fff}
.footer-inner{padding-block:40px 32px}
.footer-grid{display:grid;grid-template-columns:1fr;gap:32px}
.footer-logo-wrap{display:flex;align-items:center;gap:10px;margin-bottom:14px}
.footer-logo{height:36px;width:auto;display:block;object-fit:contain}
.footer-logo-wrap strong{font-size:15px;font-weight:800;color:#fff;display:block;line-height:1.2}
.footer-logo-wrap span{font-size:11px;color:rgba(255,255,255,.5);display:block}
.footer-brand>p{color:rgba(255,255,255,.65);font-size:13px;margin:0 0 16px;line-height:1.7}
.footer-wa-btn{display:inline-flex;align-items:center;gap:8px;background:var(--accent);color:#fff;border-radius:var(--radius-pill);padding:10px 20px;font-size:13px;font-weight:700}
.footer-wa-btn:hover{background:var(--accent-dark);color:#fff}
.footer-heading{margin:0 0 12px;font-size:11px;font-weight:800;color:#fff;text-transform:uppercase;letter-spacing:.6px}
.footer-nav{display:flex;flex-direction:column}
.footer-nav button{border:0;background:none;color:rgba(255,255,255,.6);text-align:start;padding:6px 0;font-size:13px;font-weight:500;cursor:pointer}
.footer-nav button:hover{color:#fff}
.footer-link-item{display:block;color:rgba(255,255,255,.6);padding:6px 0;font-size:13px;font-weight:500;transition:color .15s}
.footer-link-item:hover{color:#fff}
.footer-contact{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
.footer-contact li{display:flex;align-items:flex-start;gap:10px;color:rgba(255,255,255,.65);font-size:13px;line-height:1.5}
.footer-bottom{border-top:1px solid rgba(255,255,255,.1);padding-block:16px}
.footer-bottom-inner{display:flex;flex-direction:column;gap:6px;text-align:center;color:rgba(255,255,255,.4);font-size:11px}

/* ============ MOBILE BOTTOM NAVIGATION ============ */
.mobile-nav{position:fixed;z-index:40;inset-inline:0;inset-block-end:0;display:grid;grid-template-columns:repeat(5,1fr);background:var(--white);border-top:1px solid var(--line);padding:6px 4px calc(6px + env(safe-area-inset-bottom));height:var(--bottom-nav-h)}
.mobile-nav button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;border:0;background:none;color:var(--muted);font-size:10px;font-weight:700}
.mobile-nav button span{font-size:19px;line-height:1}
.mobile-nav button.active{color:var(--primary)}
.mobile-cart span{position:relative}
.mobile-cart i{position:absolute;top:-7px;left:-10px;display:grid;place-items:center;min-width:16px;height:16px;padding:0 4px;border:2px solid var(--white);border-radius:var(--radius-pill);background:var(--primary);color:#fff;font:700 9px "IBM Plex Sans Arabic";font-style:normal}

/* ============ BACK TO SHOP BUTTON ============ */
.back-to-shop-btn{display:inline-flex;align-items:center;gap:6px;border:1px solid var(--glass-border);background:var(--glass-fill-strong);color:var(--primary-light);border-radius:var(--radius-pill);padding:8px 18px;font-size:13px;font-weight:700;cursor:pointer;transition:background .15s}
.back-to-shop-btn:hover{background:rgba(255,255,255,.22)}
.back-to-shop-btn::before{content:"›";font-size:16px;transform:scaleX(-1)}

/* ============ TOAST ============ */
.toast{position:fixed;z-index:60;inset-inline-start:50%;inset-block-end:calc(var(--bottom-nav-h) + 14px);transform:translate(-50%,30px);background:var(--ink);color:#fff;border-radius:12px;padding:10px 18px;opacity:0;pointer-events:none;transition:.25s;font-size:13px;max-width:90%;text-align:center}
.toast.visible{opacity:1;transform:translate(-50%,0)}

/* ===================== TABLET (min-width: 681px) ===================== */
@media(min-width:681px){
  .container{width:min(900px,calc(100% - 48px))}
  .product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .brands-grid{grid-template-columns:repeat(4,1fr)}
  .filters{grid-template-columns:repeat(3,1fr)}
  .filters .wide{grid-column:span 3}
  .contact-cards{grid-template-columns:repeat(2,1fr)}
  .footer-grid{grid-template-columns:1fr 1fr}
  .detail-card{flex-direction:row;align-items:flex-start;gap:24px}
  .detail-image{flex:0 0 300px}
  .detail-copy{flex:1;min-width:0}
  .cart-item{grid-template-columns:80px 1fr auto auto}
  .cart-item img{width:80px;height:80px}
  .quantity{grid-column:auto}
  .remove-item{grid-row:auto;grid-column:auto}
}

/* ===================== DESKTOP (min-width: 981px) ===================== */
@media(min-width:981px){
  :root{--header-h:76px;--bottom-nav-h:0px}
  body{padding-bottom:0}
  .container{width:min(1180px,calc(100% - 32px))}
  .header-inner{gap:24px}
  .brand-copy{display:flex}
  .brand-logo{height:44px}
  .desktop-nav{display:flex;gap:4px}
  .desktop-nav button{border:0;background:none;color:var(--ink);padding:9px 14px;border-radius:10px;font-weight:700;font-size:14px}
  .desktop-nav button:hover{background:var(--surface);color:var(--primary-dark)}
  .search-wrap{max-width:340px;flex:1}
  .icon-button{width:42px;height:42px;border:1px solid var(--line)}
  .mobile-nav{display:none}
  .hero-wrap{padding-top:24px}
  .hero-arrow{display:grid}
  .trust-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-top:18px}
  .trust-grid article{display:flex;align-items:center;gap:12px;padding:16px;background:var(--white);border:1px solid var(--line);border-radius:14px}
  .trust-grid b{display:grid;place-items:center;width:40px;height:40px;border-radius:10px;background:var(--primary-soft);color:var(--primary)}
  .trust-grid span{display:flex;flex-direction:column}
  .trust-grid small{color:var(--muted)}
  .content-section{margin-top:48px}
  .why-bso-section{padding-block:64px}
  .why-bso-head h2{font-size:34px}
  .why-bso-head p{font-size:15px}
  .why-bso-grid{grid-template-columns:repeat(4,1fr);gap:20px}
  .why-bso-card{padding:28px 24px}
  .why-bso-icon{width:56px;height:56px;font-size:26px}
  .why-bso-card strong{font-size:16px}
  .why-bso-card p{font-size:13px}
  .section-heading{align-items:flex-end}
  .section-heading span{display:block;color:var(--primary-dark);font-weight:700;font-size:13px}
  .section-heading h2{font-size:28px}
  .page-title span{display:block;color:var(--primary-dark);font-weight:700;font-size:13px}
  .page-title h1{font-size:30px}
  .section-more::before{display:none}
  .brand-card,.category-chip{padding:18px 10px}
  .brand-logo-box{width:52px;height:52px}
  .brand-fallback{font-size:18px}
  .brand-card b{font-size:13px;white-space:normal}
  .category-chip span{width:44px;height:44px;font-size:18px}
  .category-chip span svg{width:20px;height:20px}
  .category-chip{font-size:12px}
  .product-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
  .product-rail{grid-auto-columns:minmax(220px,260px)}
  .product-image{padding:22px}
  .product-status{width:30px;height:30px;font-size:14px}
  .favorite-button{width:36px;height:36px;font-size:17px}
  .product-body{padding:14px 16px 16px}
  .product-body h3{font-size:14px;min-height:42px}
  .product-price strong{font-size:17px}
  .add-button{min-height:42px;font-size:13px}
  .page-layout{display:grid;grid-template-columns:250px 1fr;gap:28px;padding-block:32px 60px}
  .filters{display:flex;flex-direction:column;position:sticky;top:96px;grid-template-columns:none;margin-bottom:0}
  .filters h2{display:block;margin:0 0 12px;font-size:18px}
  .filters .wide{grid-column:auto}
  .catalog-content{min-width:0}
  .detail-page{padding-block:32px 60px}
  .detail-card{padding:32px;gap:48px}
  .detail-image{flex:0 0 420px;padding:32px}
  .detail-copy h1{font-size:30px}
  .detail-price strong{font-size:32px}
  .detail-tabs-wrap{margin-top:32px}
  .detail-tabs button{font-size:14px;padding:16px 20px}
  .detail-related{margin-top:40px}
  .narrow-page{padding-block:32px 60px}
  .brands-grid{grid-template-columns:repeat(5,1fr);gap:16px}
  .cart-layout{display:grid;grid-template-columns:1fr 360px;gap:28px;padding-block:32px 60px}
  .order-panel{position:sticky;top:96px}
  .contact-layout{display:grid;grid-template-columns:1.2fr .8fr;gap:36px;padding-block:40px 60px}
  .contact-copy h1{font-size:34px}
  .account-layout{display:grid;grid-template-columns:300px 1fr;gap:24px;padding-block:32px 60px}
  .account-sidebar{flex-direction:column;text-align:center}
  .account-avatar{width:74px;height:74px;font-size:18px;margin-inline:auto}
  .auth-layout{padding-block:60px 80px}
  .track-order-page{padding-block:32px 60px;max-width:520px;margin-inline:auto}
  .footer-inner{padding-block:56px 48px}
  .footer-grid{grid-template-columns:2fr 1fr 1fr 1.5fr;gap:40px}
  .footer-logo{height:40px}
  .footer-bottom-inner{flex-direction:row;justify-content:space-between;text-align:start}
}

@media(min-width:1300px){
  .container{width:min(1260px,calc(100% - 48px))}
  .product-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
}

/* ============ OFFERS ============ */
#offersList{display:flex;flex-direction:column;gap:12px;padding-bottom:24px}
.offer-card{display:flex;gap:16px;background:var(--white);border:1px solid var(--line);border-radius:var(--radius-card);padding:16px;box-shadow:var(--shadow-card)}
.offer-badge{flex-shrink:0;width:60px;height:60px;border-radius:50%;background:var(--accent);color:#fff;display:grid;place-items:center;font-size:15px;font-weight:800;line-height:1}
.offer-body{flex:1;min-width:0}
.offer-body h3{margin:0 0 4px;font-size:15px;font-weight:700;color:var(--ink)}
.offer-body p{margin:0 0 6px;font-size:13px;color:var(--muted)}
.offer-meta{display:flex;flex-wrap:wrap;gap:8px;margin-top:4px}
.offer-meta span{font-size:11.5px;color:var(--muted);background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-pill);padding:2px 10px}
.offer-meta .offer-expiry{color:var(--danger);border-color:var(--danger);background:#fef2f5}

/* ============ NOTIFICATIONS ============ */
#notifList{display:flex;flex-direction:column;border:1px solid var(--line);border-radius:var(--radius-card);overflow:hidden;box-shadow:var(--shadow-card);background:var(--white)}
#notifList .empty-state{border:none;box-shadow:none}
.notif-item{display:flex;gap:12px;align-items:flex-start;padding:14px 16px;border-bottom:1px solid var(--line);transition:background .1s}
.notif-item:last-child{border-bottom:none}
.notif-item.unread{background:#f0f9ff}
.notif-icon{flex-shrink:0;width:38px;height:38px;border-radius:50%;background:var(--surface);display:grid;place-items:center;font-size:17px}
.notif-body{flex:1;min-width:0}
.notif-body strong{display:block;font-size:14px;font-weight:700;margin-bottom:2px;color:var(--ink)}
.notif-body p{margin:0 0 4px;font-size:13px;color:var(--muted)}
.notif-body small{font-size:11px;color:var(--muted)}
.notif-dot{flex-shrink:0;width:8px;height:8px;border-radius:50%;background:var(--primary);margin-top:6px}

/* ============ BSO HERO (carousel intro / landing) ============ */
.bso-hero{position:relative;width:100%;height:100dvh;min-height:560px;overflow:hidden;background-color:var(--bg-navy);color:var(--text-hi);transition:background-color 650ms cubic-bezier(0.4,0,0.2,1)}
/* Ambient depth: a soft top glow + graphite vignette over the navy base. */
.bso-hero::before{content:"";position:absolute;inset:0;z-index:0;pointer-events:none;background:radial-gradient(120% 80% at 50% -10%,rgba(0,174,239,.22) 0%,transparent 55%),radial-gradient(90% 70% at 50% 120%,rgba(0,0,0,.55) 0%,transparent 60%)}

.bso-hero-grain{position:absolute;inset:0;z-index:1;pointer-events:none;opacity:.35;background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/><feColorMatrix type='matrix' values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.08 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");background-size:200px 200px;background-repeat:repeat}

/* Ghost word sits low (behind the product), well below the title, at very
   low opacity so it never competes with the Arabic copy. */
.bso-hero-ghost{position:absolute;inset-inline:0;bottom:20vh;top:auto;z-index:1;display:flex;align-items:center;justify-content:center;pointer-events:none;user-select:none;font-family:"Cairo","IBM Plex Sans Arabic",Tahoma,sans-serif;font-weight:900;font-size:clamp(64px,15vw,200px);line-height:1;color:#fff;opacity:.07;letter-spacing:-.02em;white-space:nowrap;text-transform:uppercase}

.bso-hero-brand{position:absolute;top:28px;inset-inline-start:28px;display:flex;align-items:center;gap:10px;z-index:60}
.bso-hero-brand img{width:40px;height:40px;object-fit:contain;filter:drop-shadow(0 2px 8px rgba(0,0,0,.4))}
.bso-hero-brand span{font-size:12px;font-weight:600;color:rgba(255,255,255,.85);letter-spacing:.2px}

.bso-hero-stage{position:absolute;inset:0;z-index:3;pointer-events:none}
/* Floor glow beneath the centered product (sits under the z-20 center item). */
.bso-hero-stage::after{content:"";position:absolute;left:50%;bottom:4vh;width:min(70vw,620px);height:120px;transform:translateX(-50%);background:radial-gradient(closest-side,rgba(0,174,239,.28) 0%,transparent 72%);filter:blur(6px);pointer-events:none}
/* Base opacity 0 so any item not currently assigned a role (with 5 products
   only 4 roles are shown at a time) stays hidden instead of rendering
   unpositioned. Role classes below restore opacity. */
.bso-hero-item{position:absolute;left:50%;bottom:12vh;height:22vh;opacity:0;transform:translateX(-50%) scale(.9);transition:transform 650ms cubic-bezier(0.4,0,0.2,1),left 650ms cubic-bezier(0.4,0,0.2,1),opacity 650ms cubic-bezier(0.4,0,0.2,1),filter 650ms cubic-bezier(0.4,0,0.2,1);will-change:transform,filter,opacity}
.bso-hero-item img{width:100%;height:100%;object-fit:contain;object-position:bottom center;display:block;filter:drop-shadow(0 18px 30px rgba(0,0,0,.35))}

.bso-hero-item.role-center{bottom:-1vh;height:clamp(380px,62vh,620px);transform:translateX(-50%) scale(1);filter:none;opacity:1;z-index:20}
.bso-hero-item.role-left{left:28%;bottom:10vh;height:clamp(150px,25vh,280px);transform:translateX(-50%) scale(1);filter:blur(2px);opacity:.55;z-index:8}
.bso-hero-item.role-right{left:72%;bottom:10vh;height:clamp(150px,25vh,280px);transform:translateX(-50%) scale(1);filter:blur(2px);opacity:.55;z-index:8}
.bso-hero-item.role-back{bottom:12vh;height:clamp(120px,20vh,220px);transform:translateX(-50%) scale(1);filter:blur(4px);opacity:.35;z-index:5}

.bso-hero-content{position:relative;z-index:30;max-width:760px;margin:0 auto;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;text-align:center;padding:max(12vh,96px) 24px 0;pointer-events:none}
.bso-hero-content>*{position:relative;z-index:1;pointer-events:auto}
/* Soft dark scrim behind the copy so the title/subtitle stay readable over
   the ghost word and any product edge. */
.bso-hero-content::before{content:"";position:absolute;z-index:0;top:6vh;left:50%;transform:translateX(-50%);width:min(92%,720px);height:340px;pointer-events:none;background:radial-gradient(60% 60% at 50% 42%,rgba(6,16,26,.6) 0%,rgba(6,16,26,.28) 55%,transparent 78%);filter:blur(10px)}
.bso-hero-kicker{margin:0 0 14px;font-size:13px;font-weight:700;letter-spacing:.4px;color:#fff;text-transform:uppercase;text-shadow:0 4px 18px rgba(0,0,0,.35)}
.bso-hero-title{margin:0 0 18px;font-family:"Cairo","IBM Plex Sans Arabic",Tahoma,sans-serif;font-weight:800;font-size:clamp(28px,5.4vw,52px);line-height:1.22;text-shadow:0 8px 28px rgba(0,0,0,.38)}
.bso-hero-title span{display:block}
.bso-hero-sub{margin:0 0 32px;font-size:clamp(14px,2vw,17px);line-height:1.7;color:rgba(255,255,255,.85);max-width:560px;text-shadow:0 4px 20px rgba(0,0,0,.35)}

.bso-hero-actions{display:flex;flex-wrap:wrap;gap:12px;justify-content:center;width:100%;max-width:540px}
.bso-hero-actions .button{flex:1;min-width:150px;font-size:14px;padding:14px 20px}

/* Small brand chip for the current slide — never the main title. */
.bso-hero-brand-chip{position:absolute;bottom:52px;inset-inline-start:0;inset-inline-end:0;z-index:60;display:flex;justify-content:center;pointer-events:none}
.bso-hero-brand-chip span{background:var(--glass-fill);border:1px solid var(--glass-border);border-radius:var(--radius-pill);padding:4px 14px;font-size:12px;font-weight:700;letter-spacing:.4px;color:var(--text-mid);backdrop-filter:blur(8px)}

.bso-hero-dots{position:absolute;bottom:28px;inset-inline-start:0;inset-inline-end:0;z-index:60;display:flex;gap:8px;justify-content:center}
.bso-hero-dot{width:8px;height:8px;padding:0;border:none;border-radius:50%;background:rgba(255,255,255,.35);cursor:pointer;transition:background .2s,transform .2s}
.bso-hero-dot.active{background:#fff;transform:scale(1.25)}

@media(max-width:600px){
  /* Stack: title top → CTAs → product middle/bottom. Product kept small
     enough that copy and buttons are never covered. */
  .bso-hero-content{padding:max(9vh,84px) 18px 0}
  .bso-hero-actions{flex-direction:column;gap:10px}
  .bso-hero-actions .button{width:100%;padding:12px 18px}
  .bso-hero-item.role-center{height:clamp(220px,36vh,380px)}
  .bso-hero-item.role-left{left:16%;bottom:8vh;height:clamp(80px,13vh,150px)}
  .bso-hero-item.role-right{left:84%;bottom:8vh;height:clamp(80px,13vh,150px)}
  .bso-hero-item.role-back{height:clamp(70px,11vh,130px)}
  .bso-hero-brand-chip{bottom:48px}
}

@media(prefers-reduced-motion:reduce){
  .bso-hero-item{transition:none}
  .bso-hero{transition:none}
}

/* ============ ACCESSIBILITY ============ */
:focus-visible{outline:2px solid var(--primary);outline-offset:2px}
@media(prefers-reduced-motion:reduce){
  *{transition:none!important;scroll-behavior:auto!important}
}

/* ============ PHASE 4: COMMERCE — navy/glass ordering portal ============ */
/* Scoped to catalog/details/cart via body.shop-view + the three view sections.
   Home, wishlist, brands, offers, contact, notifications keep the light theme. */

/* Brighter navy→slate scope: override the dark tokens only in shop context so
   every shop-view rule below lifts at once (a premium B2B catalog, not a dark
   admin dashboard). Hero/auth/home keep the original darker tokens. */
body.shop-view,
[data-view="products"],[data-view="details"],[data-view="cart"],
[data-view="orders"],[data-view="offers"],[data-view="notifications"],[data-view="wishlist"],[data-view="contact"]{
  --bg-navy:#17304a;
  --bg-graphite:#1a3450;
  --surface-navy-1:#223b56;
  --surface-navy-2:#2a4463;
  --glass-fill:rgba(255,255,255,.14);
  --glass-fill-strong:rgba(255,255,255,.18);
  --glass-border:rgba(255,255,255,.20);
  --text-hi:#ffffff;
  --text-mid:rgba(255,255,255,.78);
  --text-lo:rgba(255,255,255,.6);
}
/* Premium slate/blue gradient page background with a soft blue glow */
[data-view="home"],[data-view="brands"],
[data-view="products"],[data-view="details"],[data-view="cart"],
[data-view="orders"],[data-view="offers"],[data-view="notifications"],[data-view="wishlist"],[data-view="contact"]{
  position:relative;
  background:linear-gradient(180deg,#1b3652 0%,#17304a 45%,#14283f 100%);
  color:var(--text-hi);
  min-height:calc(100dvh - var(--header-h));
}
[data-view="home"]::before,[data-view="brands"]::before,
[data-view="products"]::before,[data-view="details"]::before,[data-view="cart"]::before,
[data-view="orders"]::before,[data-view="offers"]::before,[data-view="notifications"]::before,[data-view="wishlist"]::before,[data-view="contact"]::before{
  content:"";position:absolute;inset-inline:0;top:0;height:340px;z-index:0;pointer-events:none;
  background:radial-gradient(120% 100% at 50% -20%,rgba(0,174,239,.20) 0%,transparent 60%)
}
[data-view="home"]>*,[data-view="brands"]>*,
[data-view="products"]>*,[data-view="details"]>*,[data-view="cart"]>*,
[data-view="orders"]>*,[data-view="offers"]>*,[data-view="notifications"]>*,[data-view="wishlist"]>*,[data-view="contact"]>*{position:relative;z-index:1}

/* --- Shared chrome darkened while shopping --- */
body.shop-view .site-header{background:var(--bg-graphite);border-bottom-color:var(--glass-border)}
body.shop-view .brand-copy strong{color:var(--text-hi)}
body.shop-view .brand-copy small{color:var(--text-mid)}
/* Field stays dark glass even when focused/open — the generic input:focus rule
   otherwise turns the header input white, and #app input:focus adds a harsh
   light ring. Keep a soft glass look with no stroke on focus. */
body.shop-view .header-search,
body.shop-view .header-search:focus-within{background:rgba(255,255,255,.10);border-color:rgba(255,255,255,.12);box-shadow:none;outline:none}
body.shop-view .header-search input,
body.shop-view .header-search input:focus{background:transparent!important;color:#fff;outline:none;box-shadow:none!important;border-color:transparent!important}
body.shop-view .header-search input::placeholder{color:rgba(255,255,255,.68)}
body.shop-view .header-search span{color:rgba(255,255,255,.82)}
/* Native clear (×) button visible on the dark field */
body.shop-view .header-search input::-webkit-search-cancel-button{filter:invert(1);opacity:.7}
body.shop-view .account-type{background:var(--glass-fill);border-color:var(--glass-border);color:var(--text-hi)}
body.shop-view .icon-button{color:var(--text-hi)}
body.shop-view .icon-button:active{background:var(--glass-fill)}
body.shop-view .desktop-nav button{color:var(--text-mid)}
body.shop-view .desktop-nav button:hover{background:var(--glass-fill);color:var(--text-hi)}
/* Dark-glass search suggestions with readable rows (base rows are dark-on-white,
   which is invisible on the navy header — override text/hover/meta here). */
body.shop-view .search-suggestions{background:rgba(20,40,63,.97);border-color:rgba(255,255,255,.18);box-shadow:0 18px 45px rgba(0,0,0,.4);color:#fff}
body.shop-view .search-suggestions button{color:#fff;border-bottom-color:rgba(255,255,255,.12)}
body.shop-view .search-suggestions button:hover,body.shop-view .search-suggestions button:active{background:rgba(255,255,255,.10)}
body.shop-view .search-suggestions .suggestion-text strong{color:#fff}
body.shop-view .search-suggestions .suggestion-text small{color:rgba(255,255,255,.72)}
body.shop-view .search-suggestions .suggestion-thumb{background:#fff}
body.shop-view .search-suggestions .suggestion-empty{color:rgba(255,255,255,.72)}
body.shop-view .search-suggestions .suggestion-more{color:var(--primary-light)}
body.shop-view .mobile-nav{background:var(--bg-graphite);border-top-color:var(--glass-border)}
body.shop-view .mobile-nav button{color:var(--text-mid)}
body.shop-view .mobile-nav button.active{color:var(--primary-light)}
@media(min-width:981px){body.shop-view .icon-button{border-color:var(--glass-border)}}

/* --- Page titles / result counts --- */
body.shop-view .page-title h1{color:var(--text-hi)}
body.shop-view .page-title p{color:var(--text-mid)}
body.shop-view .page-title span{color:var(--primary-light)}
body.shop-view #productResultCount{color:var(--text-mid)}
body.shop-view .text-button{color:var(--primary-light)}

/* --- Filters / B2B toolbar --- */
body.shop-view .filters{background:var(--glass-fill);border-color:var(--glass-border);box-shadow:0 10px 30px rgba(0,0,0,.22);padding:16px;gap:14px 12px}
body.shop-view .filters label{color:var(--text-mid)}
body.shop-view .filters input,body.shop-view .filters select{background:var(--surface-navy-2);border-color:var(--glass-border);color:var(--text-hi)}
body.shop-view .filters input:focus,body.shop-view .filters select:focus{background:var(--surface-navy-2);border-color:var(--primary-light)}
body.shop-view .filters select{appearance:none;-webkit-appearance:none;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23A9C2D6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='m6 9 6 6 6-6'/></svg>");
  background-repeat:no-repeat;background-position:left 12px center;background-size:16px;padding-inline-start:38px}
body.shop-view .filters select option{background:var(--surface-navy-1);color:var(--text-hi)}
body.shop-view .filters .button.secondary{background:var(--glass-fill-strong);border-color:var(--glass-border);color:var(--text-hi)}

/* --- Product cards: lighter slate body, soft border, white image panel kept --- */
body.shop-view .product-card{background:#223b56;border-color:rgba(255,255,255,.18);box-shadow:0 8px 22px rgba(0,0,0,.20)}
body.shop-view .product-card:hover{box-shadow:0 14px 34px rgba(0,0,0,.28),0 0 0 2px var(--brand-color,var(--primary-light));border-color:var(--brand-color,var(--primary-light))}
body.shop-view .product-body h3{color:var(--text-hi)}
body.shop-view .product-benefit{color:var(--text-mid)}
body.shop-view .product-price strong{color:#fff;font-weight:800}
body.shop-view .product-brand{background:var(--glass-fill-strong);color:var(--text-hi)}
body.shop-view .favorite-button{background:var(--glass-fill-strong);color:var(--text-mid);box-shadow:none}
body.shop-view .favorite-button.active{color:#ff6b85}
/* Cleaner, premium green add-to-cart on the brighter surface */
body.shop-view .product-card .add-button,body.shop-view .detail-cta [data-add]{box-shadow:0 6px 16px rgba(0,166,81,.28)}

/* --- Empty states on commerce views --- */
body.shop-view .empty-state{color:var(--text-mid)}
body.shop-view .empty-state>span{background:var(--glass-fill);border:1px solid var(--glass-border);color:var(--primary-light);box-shadow:none}
body.shop-view .empty-state h2{color:var(--text-hi)}
body.shop-view .empty-state .button.secondary{background:var(--glass-fill-strong);border-color:var(--glass-border);color:var(--text-hi)}

/* --- Product details --- */
body.shop-view .detail-breadcrumb{color:var(--text-mid)}
body.shop-view .detail-breadcrumb span:last-child{color:var(--text-hi)}
body.shop-view .detail-card{background:var(--glass-fill);box-shadow:var(--shadow-glass);border:1px solid var(--glass-border)}
body.shop-view .detail-image{background:#fff}
body.shop-view .detail-brand-badge{background:var(--glass-fill-strong);color:var(--text-hi)}
body.shop-view .detail-copy h1{color:var(--text-hi)}
body.shop-view .detail-price strong{color:var(--text-hi)}
body.shop-view .detail-price span{color:var(--text-mid)}
body.shop-view .detail-qty{border-color:var(--glass-border)}
body.shop-view .detail-qty button{background:var(--surface-navy-2);color:var(--text-hi)}
body.shop-view .detail-qty button:hover{background:var(--surface-navy-1)}
body.shop-view .detail-qty input{background:var(--surface-navy-2);color:var(--text-hi);border-inline-color:var(--glass-border)}
body.shop-view .detail-qty input:focus{background:var(--surface-navy-2);border-inline-color:var(--glass-border)}
body.shop-view .detail-fav-btn{background:var(--glass-fill);border-color:var(--glass-border);color:var(--text-mid)}
body.shop-view .detail-fav-btn.active{color:#ff6b85;border-color:#ff6b85}
body.shop-view .detail-tabs-wrap{background:var(--glass-fill);border:1px solid var(--glass-border);box-shadow:var(--shadow-glass)}
body.shop-view .detail-tabs{border-bottom-color:var(--glass-border)}
body.shop-view .detail-tabs button{color:var(--text-mid)}
body.shop-view .detail-tabs button.active{color:var(--primary-light);border-bottom-color:var(--primary-light)}
body.shop-view .detail-panel{color:var(--text-mid)}
body.shop-view .detail-benefits li{color:var(--text-hi)}
body.shop-view .detail-panel-note{background:var(--glass-fill);color:var(--text-mid)}
body.shop-view .detail-info-list>div{border-bottom-color:var(--glass-border)}
body.shop-view .detail-info-list dt{color:var(--text-mid)}
body.shop-view .detail-info-list dd{color:var(--text-hi)}

/* --- Cart + checkout --- */
body.shop-view .cart-item{background:var(--glass-fill);border-color:var(--glass-border)}
body.shop-view .cart-item img{background:#fff}
body.shop-view .cart-item>div:nth-child(2) strong{color:var(--text-hi)}
body.shop-view .cart-item>div:nth-child(2) small{color:var(--primary-light)}
body.shop-view .quantity button{background:var(--surface-navy-2);border-color:var(--glass-border);color:var(--text-hi)}
body.shop-view .order-panel{background:var(--glass-fill);border-color:var(--glass-border);box-shadow:var(--shadow-glass)}
body.shop-view .order-panel-heading>span{color:var(--primary-light)}
body.shop-view .order-panel-heading h2{color:var(--text-hi)}
body.shop-view .order-panel-heading p{color:var(--text-mid)}
body.shop-view .order-panel label{color:var(--text-mid)}
body.shop-view .order-panel input,body.shop-view .order-panel textarea{background:var(--surface-navy-2);border-color:var(--glass-border);color:var(--text-hi)}
body.shop-view .order-total{background:var(--surface-navy-2);color:var(--text-hi)}
body.shop-view .order-assurance{color:var(--text-mid)}

/* ============ PHASE 5: TRACK / OFFERS / NOTIFICATIONS / WISHLIST / CONTACT ============ */
/* Dark-glass inputs for track + contact forms, and keep every shop-view form
   input dark on focus (the generic input:focus turns them white otherwise). */
body.shop-view .track-order-form input,
body.shop-view .contact-form input,
body.shop-view .contact-form textarea{background:var(--surface-navy-2);border-color:var(--glass-border);color:var(--text-hi)}
body.shop-view .order-panel input:focus,body.shop-view .order-panel textarea:focus,
body.shop-view .track-order-form input:focus,
body.shop-view .contact-form input:focus,body.shop-view .contact-form textarea:focus{background:var(--surface-navy-2);border-color:var(--primary-light)}

/* --- Track order --- */
body.shop-view .track-order-form{background:var(--glass-fill);border-color:var(--glass-border);box-shadow:var(--shadow-glass)}
body.shop-view .track-order-form label{color:var(--text-mid)}
body.shop-view .track-order-hint{color:var(--text-mid)}
body.shop-view .track-header,body.shop-view .track-timeline,body.shop-view .track-items{background:var(--glass-fill);border:1px solid var(--glass-border);box-shadow:var(--shadow-glass)}
body.shop-view .track-order-num{color:var(--text-hi)}
body.shop-view .track-order-num small{color:var(--text-mid)}
body.shop-view .track-meta{border-top-color:var(--glass-border)}
body.shop-view .track-meta-item span{color:var(--text-mid)}
body.shop-view .track-meta-item strong{color:var(--text-hi)}
body.shop-view .track-timeline h3,body.shop-view .track-items h3{color:var(--text-mid)}
body.shop-view .tl-dot{background:var(--surface-navy-2);border-color:var(--glass-border);color:var(--text-mid)}
body.shop-view .tl-line{background:var(--glass-border)}
body.shop-view .tl-name{color:var(--text-mid)}
body.shop-view .tl-step.done .tl-name,body.shop-view .tl-step.current .tl-name{color:var(--text-hi)}
body.shop-view .track-items-total{border-top-color:var(--glass-border)}
body.shop-view .track-items-total span{color:var(--text-mid)}
body.shop-view .track-items-total strong{color:var(--text-hi)}

/* --- Offers --- */
body.shop-view .offer-card{background:var(--glass-fill);border-color:var(--glass-border);box-shadow:var(--shadow-glass)}
body.shop-view .offer-body h3{color:var(--text-hi)}
body.shop-view .offer-body p{color:var(--text-mid)}
body.shop-view .offer-meta span{background:var(--glass-fill-strong);border-color:var(--glass-border);color:var(--text-mid)}

/* --- Notifications --- */
body.shop-view #notifList{background:var(--glass-fill);border-color:var(--glass-border);box-shadow:var(--shadow-glass)}
body.shop-view .notif-item{border-bottom-color:var(--glass-border)}
body.shop-view .notif-item.unread{background:rgba(0,174,239,.10)}
body.shop-view .notif-icon{background:var(--glass-fill-strong)}
body.shop-view .notif-body strong{color:var(--text-hi)}
body.shop-view .notif-body p{color:var(--text-mid)}
body.shop-view .notif-body small{color:var(--text-lo)}
body.shop-view .notif-dot{background:var(--primary-light)}

/* --- Contact --- */
body.shop-view .contact-copy h1{color:var(--text-hi)}
body.shop-view .contact-copy p{color:var(--text-mid)}
body.shop-view .contact-copy>span{color:var(--primary-light)}
body.shop-view .contact-cards>*{background:var(--glass-fill);border-color:var(--glass-border);color:var(--text-hi)}
body.shop-view .contact-form{background:var(--glass-fill);border-color:var(--glass-border);box-shadow:var(--shadow-glass)}
body.shop-view .contact-form h2{color:var(--text-hi)}
body.shop-view .contact-form label{color:var(--text-mid)}

/* --- Mobile bottom nav: translucent glass, readable --- */
body.shop-view .mobile-nav{background:rgba(16,32,51,.90);backdrop-filter:blur(12px);border-top-color:rgba(255,255,255,.12)}
body.shop-view .mobile-nav button{color:var(--text-mid)}
body.shop-view .mobile-nav button.active{color:var(--primary-light)}

/* ============ PENDING REGISTRATION STATUS (auth-style navy/glass) ============ */
[data-view="pending"]{background:var(--bg-navy);background-image:radial-gradient(120% 70% at 50% -10%,rgba(0,174,239,.16) 0%,transparent 55%),radial-gradient(90% 60% at 50% 120%,rgba(0,0,0,.5) 0%,transparent 60%);color:var(--text-hi);min-height:100dvh;padding-top:0}
[data-view="pending"] .auth-logo p{color:var(--text-mid)}
.pending-card{background:var(--glass-fill);border:1px solid var(--glass-border);border-radius:var(--radius-card);box-shadow:var(--shadow-glass);backdrop-filter:blur(14px);text-align:center}
.pending-card h1{color:var(--text-hi);margin:6px 0 10px;font-size:20px}
.pending-card .auth-intro{color:var(--text-mid);text-align:center}
.pending-icon{font-size:44px;line-height:1;margin-bottom:6px}
.pending-meta{display:flex;flex-direction:column;gap:3px;margin:8px 0 12px;font-size:12px}
.pending-meta span{color:var(--text-lo);font-weight:600}
.pending-meta strong{color:var(--text-hi);font-size:14px}
.pending-status{margin-bottom:16px}
.pending-card .button{margin-top:8px}

/* ============ MY ORDERS (customer order history) ============ */
[data-view="myorders"]{position:relative;background:linear-gradient(180deg,#1b3652 0%,#17304a 45%,#14283f 100%);color:var(--text-hi);min-height:calc(100dvh - var(--header-h))}
[data-view="myorders"]::before{content:"";position:absolute;inset-inline:0;top:0;height:340px;z-index:0;pointer-events:none;background:radial-gradient(120% 100% at 50% -20%,rgba(0,174,239,.20) 0%,transparent 60%)}
[data-view="myorders"]>*{position:relative;z-index:1}
body.shop-view .my-order-card{display:block;width:100%;text-align:start;background:var(--glass-fill);border:1px solid var(--glass-border);border-radius:var(--radius-card);box-shadow:var(--shadow-glass);padding:14px 16px;margin-bottom:10px;color:var(--text-hi);transition:transform .15s,border-color .15s}
body.shop-view .my-order-card:hover{transform:translateY(-2px);border-color:var(--primary-light)}
.my-order-top{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:8px}
.my-order-top strong{font-size:14px;font-weight:800;color:var(--text-hi)}
.my-order-meta{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:12px;color:var(--text-mid)}
.my-order-meta strong{font-size:15px;color:#fff;font-weight:800}

/* ============ HOME + BRANDS unification (navy) + GPS button ============ */
body.shop-view .section-heading h2{color:var(--text-hi)}
body.shop-view .section-heading span{color:var(--primary-light)}
body.shop-view .section-heading button,body.shop-view .section-more{color:var(--primary-light)}
body.shop-view .hero-slider{background:var(--surface-navy-1);box-shadow:var(--shadow-glass)}
body.shop-view .hero-dots span{background:var(--glass-border)}
body.shop-view .hero-dots span.active{background:var(--primary-light)}
/* brand cards (home rail + brands grid) */
body.shop-view .brand-card{background:var(--glass-fill);border-color:var(--glass-border);color:var(--text-hi)}
body.shop-view .brand-card:hover{box-shadow:0 8px 22px rgba(0,0,0,.28)}
body.shop-view .brand-card b{color:var(--text-hi)}
body.shop-view .brand-logo-box{background:#fff;border-color:var(--glass-border)}
/* category chips */
body.shop-view .category-chip{background:var(--glass-fill);border-color:var(--glass-border);color:var(--text-hi)}
body.shop-view .category-chip span{background:var(--glass-fill-strong);color:var(--primary-light)}
/* trust grid (desktop) */
body.shop-view .trust-grid article{background:var(--glass-fill);border-color:var(--glass-border)}
body.shop-view .trust-grid strong{color:var(--text-hi)}
body.shop-view .trust-grid small{color:var(--text-mid)}
body.shop-view .trust-grid b{background:var(--glass-fill-strong);color:var(--primary-light)}
/* GPS locate button in checkout */
.gps-btn{width:100%;margin:-4px 0 8px;display:flex;align-items:center;justify-content:center;gap:6px}
.gps-status{display:block;font-size:11px;color:var(--muted);margin:-4px 0 10px;min-height:14px}
body.shop-view .gps-btn{background:var(--glass-fill-strong);border-color:var(--glass-border);color:var(--text-hi)}
body.shop-view .gps-status{color:var(--text-mid)}
body.shop-view .gps-status a{color:var(--primary-light);font-weight:700}

/* Mobile header */
.site-header .mobile-theme-toggle{
  display:grid;
  place-items:center;
  flex:0 0 auto;
}

@media(max-width:980px){
  .site-header .brand-copy{display:none}
  .site-header .mobile-search-toggle{display:none}
  .site-header .search-wrap{
    position:relative;
    inset:auto;
    z-index:auto;
    background:transparent;
    padding:0;
    display:block;
    flex:1;
    min-width:0;
  }
  .site-header .search-wrap .header-search{
    width:100%;
  }
  .site-header .search-wrap .search-suggestions{
    position:absolute;
    top:calc(100% + 6px);
    inset-inline:0;
    margin-top:0;
    border:1px solid var(--line);
    border-radius:14px;
    box-shadow:var(--shadow-pop);
  }
  .site-header .account-type{display:none}
  .site-header .mobile-theme-toggle{display:grid}
  .site-header .header-actions [data-route="notifications"],
  .site-header .header-actions [data-route="wishlist"],
  .site-header .header-actions [data-route="cart"]{
    display:none;
  }
}

/* ============ THEME (LIGHT/DARK) ============ */
/* Unified via html[data-theme]. Dark flips the light-mode tokens used by
   general UI. Light re-points the navy/glass tokens that auth/pending/
   shop-view already read back to light equivalents. Every override below is
   the ORIGINAL selector re-prefixed with :root[data-theme="..."], which adds
   two class-level specificity points ahead of the rule it overrides -- so
   no !important is required anywhere in this section. */
:root[data-theme="dark"]{
  --ink:#eef2f5;
  --muted:#93a3ab;
  --line:#263340;
  --surface:#0f1b26;
  --white:#16232e;
  --primary-soft:#0d2a3d;
  --accent-soft:#0d2a1f;
}
:root[data-theme="light"] body.shop-view,
:root[data-theme="light"] [data-view="login"],
:root[data-theme="light"] [data-view="register"],
:root[data-theme="light"] [data-view="account"],
:root[data-theme="light"] [data-view="pending"]{
  --bg-navy:#f5f7f8;
  --bg-graphite:#eef1f3;
  --surface-navy-1:#ffffff;
  --surface-navy-2:#f5f7f8;
  --glass-fill:rgba(0,0,0,.03);
  --glass-fill-strong:rgba(0,0,0,.06);
  --glass-border:#e7edf0;
  --text-hi:#1b2a30;
  --text-mid:#5b6a70;
  --text-lo:#7c8b91;
}

/* --- Page canvases: these views set a hardcoded dark gradient directly
   (not via --bg-navy/--bg-graphite), so the variable overrides above don't
   reach them. Re-point just the background to the light surface token. */
:root[data-theme="light"] [data-view="home"],
:root[data-theme="light"] [data-view="brands"],
:root[data-theme="light"] [data-view="products"],
:root[data-theme="light"] [data-view="details"],
:root[data-theme="light"] [data-view="cart"],
:root[data-theme="light"] [data-view="orders"],
:root[data-theme="light"] [data-view="offers"],
:root[data-theme="light"] [data-view="notifications"],
:root[data-theme="light"] [data-view="wishlist"],
:root[data-theme="light"] [data-view="contact"],
:root[data-theme="light"] [data-view="myorders"]{
  background:var(--surface);
}
:root[data-theme="light"] [data-view="myorders"] .my-order-meta strong{color:var(--ink)}

/* --- Header search + mobile nav: shop-view hardcodes these instead of
   reading --bg-graphite/--glass-* for this specific block. --- */
:root[data-theme="light"] body.shop-view .header-search,
:root[data-theme="light"] body.shop-view .header-search:focus-within{background:var(--surface);border-color:var(--line)}
:root[data-theme="light"] body.shop-view .header-search input,
:root[data-theme="light"] body.shop-view .header-search input:focus{color:var(--ink)}
:root[data-theme="light"] body.shop-view .header-search input::placeholder{color:var(--muted)}
:root[data-theme="light"] body.shop-view .header-search span{color:var(--muted)}
:root[data-theme="light"] body.shop-view .header-search input::-webkit-search-cancel-button{filter:none}
:root[data-theme="light"] body.shop-view .search-suggestions{background:var(--white);border-color:var(--line);box-shadow:var(--shadow-pop);color:var(--ink)}
:root[data-theme="light"] body.shop-view .search-suggestions button{color:var(--ink);border-bottom-color:var(--line)}
:root[data-theme="light"] body.shop-view .search-suggestions button:hover,
:root[data-theme="light"] body.shop-view .search-suggestions button:active{background:var(--surface)}
:root[data-theme="light"] body.shop-view .search-suggestions .suggestion-text strong{color:var(--ink)}
:root[data-theme="light"] body.shop-view .search-suggestions .suggestion-text small{color:var(--muted)}
:root[data-theme="light"] body.shop-view .search-suggestions .suggestion-empty{color:var(--muted)}
:root[data-theme="light"] body.shop-view .mobile-nav{background:var(--white);border-top-color:var(--line)}

/* --- Product cards + details: card body/badges are hardcoded per the
   "premium slate" comment above (not variable-driven), and both active
   favorite states use a fixed accent pink instead of --danger. --- */
:root[data-theme="light"] body.shop-view .product-card{background:var(--white);border-color:var(--line);box-shadow:var(--shadow-card)}
:root[data-theme="light"] body.shop-view .product-price strong{color:var(--ink)}
:root[data-theme="light"] body.shop-view .product-body h3{color:var(--ink)}
:root[data-theme="light"] body.shop-view .product-benefit{color:var(--muted)}
:root[data-theme="light"] body.shop-view .product-brand{color:var(--brand-color,var(--primary-dark))}
:root[data-theme="light"] body.shop-view .favorite-button.active{color:var(--danger)}
:root[data-theme="light"] body.shop-view .detail-fav-btn.active{color:var(--danger);border-color:var(--danger)}

/* --- Form select chevrons: baked into an SVG data-URI, so the arrow color
   can't follow a CSS variable -- redraw it with --muted's hex value. --- */
:root[data-theme="light"] [data-view="register"] .auth-form select,
:root[data-theme="light"] [data-view="account"] .account-content select,
:root[data-theme="light"] body.shop-view .filters select{
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%237C8B91' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='m6 9 6 6 6-6'/></svg>");
}

/* --- Account danger row: reuses the existing .badge--danger recipe
   (#fdeaee / var(--danger)) already used elsewhere in the light palette. --- */
:root[data-theme="light"] [data-view="account"] .account-menu-item.danger .menu-icon{background:#fdeaee;color:var(--danger)}

/* --- Intro theme toggle: currently has zero base styling anywhere in this
   file: minimal glass-pill treatment, reusing existing tokens. Colors are
   theme-aware via the intro-scoped variable remap below. --- */
.bso-intro-theme-toggle{display:inline-flex;align-items:center;gap:6px;background:var(--glass-fill);border:1px solid var(--glass-border);border-radius:var(--radius-pill);padding:4px;backdrop-filter:blur(8px)}
.bso-intro-theme-toggle-label{padding:0 6px;font-size:11px;font-weight:700;color:var(--text-mid)}
.bso-intro-theme-toggle-btn{border:0;background:transparent;border-radius:var(--radius-pill);padding:6px 14px;font-size:12px;font-weight:700;color:var(--text-mid)}
.bso-intro-theme-toggle-btn.active{background:var(--primary-soft);color:var(--primary-dark)}

/* --- Intro screen (splash/hero): .bso-hero reads --glass-fill/--glass-border/
   --text-mid already (shared with the toggle pill above), plus its own
   background-color/color and a few hardcoded white text colors. Scoping the
   variable remap at [data-view="intro"] covers both the hero and the toggle
   pill in one place; the hardcoded #fff/rgba text below still needs
   individual overrides since they don't reference a variable. */
:root[data-theme="light"] [data-view="intro"]{
  --glass-fill:rgba(0,0,0,.03);
  --glass-fill-strong:rgba(0,0,0,.06);
  --glass-border:#e7edf0;
  --text-mid:#5b6a70;
}
:root[data-theme="light"] [data-view="intro"] .bso-hero{background-color:var(--surface);color:var(--ink)}
:root[data-theme="light"] [data-view="intro"] .bso-hero-kicker{color:var(--ink)}
:root[data-theme="light"] [data-view="intro"] .bso-hero-sub{color:var(--muted)}
:root[data-theme="light"] [data-view="intro"] .bso-hero-brand span{color:var(--muted)}
:root[data-theme="light"] [data-view="intro"] .bso-hero-dot{background:rgba(0,0,0,.18)}
:root[data-theme="light"] [data-view="intro"] .bso-hero-dot.active{background:var(--ink)}
/* Light mode - product details */
:root[data-theme="light"] body.shop-view [data-view="details"] .detail-card,
:root[data-theme="light"] body.shop-view [data-view="details"] .detail-tabs-wrap{
  background:var(--white);
  border-color:var(--line);
  box-shadow:var(--shadow-card);
}

:root[data-theme="light"] body.shop-view [data-view="details"] .detail-brand-badge{
  background:var(--primary-soft);
  color:var(--primary-dark);
}

:root[data-theme="light"] body.shop-view [data-view="details"] .detail-copy h1,
:root[data-theme="light"] body.shop-view [data-view="details"] .detail-price strong,
:root[data-theme="light"] body.shop-view [data-view="details"] .detail-benefits li,
:root[data-theme="light"] body.shop-view [data-view="details"] .detail-info-list dd,
:root[data-theme="light"] body.shop-view [data-view="details"] .detail-breadcrumb span:last-child{
  color:var(--ink);
}

:root[data-theme="light"] body.shop-view [data-view="details"] .detail-price span,
:root[data-theme="light"] body.shop-view [data-view="details"] .detail-breadcrumb,
:root[data-theme="light"] body.shop-view [data-view="details"] .detail-tabs button,
:root[data-theme="light"] body.shop-view [data-view="details"] .detail-panel,
:root[data-theme="light"] body.shop-view [data-view="details"] .detail-panel-note,
:root[data-theme="light"] body.shop-view [data-view="details"] .detail-info-list dt{
  color:var(--muted);
}

:root[data-theme="light"] body.shop-view [data-view="details"] .detail-tabs button.active{
  color:var(--primary);
  border-bottom-color:var(--primary);
}

:root[data-theme="light"] body.shop-view [data-view="details"] .detail-qty button,
:root[data-theme="light"] body.shop-view [data-view="details"] .detail-qty input{
  background:var(--surface);
  color:var(--ink);
  border-color:var(--line);
}

:root[data-theme="light"] body.shop-view [data-view="details"] .detail-fav-btn{
  background:var(--white);
  color:var(--muted);
  border-color:var(--line);
}

:root[data-theme="light"] body.shop-view [data-view="details"] .detail-info-list > div{
  border-bottom-color:var(--line);
}
/* Light mode - wishlist, cart and notifications */
:root[data-theme="light"] [data-view="wishlist"],
:root[data-theme="light"] [data-view="cart"],
:root[data-theme="light"] [data-view="notifications"]{
  color:var(--ink);
}

/* Page titles */
:root[data-theme="light"] [data-view="wishlist"] .page-title h1,
:root[data-theme="light"] [data-view="cart"] .page-title h1,
:root[data-theme="light"] [data-view="notifications"] .page-title h1{
  color:var(--ink);
}

/* Empty states */
:root[data-theme="light"] [data-view="wishlist"] .empty-state,
:root[data-theme="light"] [data-view="cart"] .empty-state,
:root[data-theme="light"] [data-view="notifications"] .empty-state{
  color:var(--muted);
}

:root[data-theme="light"] [data-view="wishlist"] .empty-state h2,
:root[data-theme="light"] [data-view="cart"] .empty-state h2,
:root[data-theme="light"] [data-view="notifications"] .empty-state h2{
  color:var(--ink);
}

:root[data-theme="light"] [data-view="wishlist"] .empty-state p,
:root[data-theme="light"] [data-view="cart"] .empty-state p,
:root[data-theme="light"] [data-view="notifications"] .empty-state p{
  color:var(--muted);
}

/* Cart checkout panel */
:root[data-theme="light"] [data-view="cart"] .order-panel{
  background:var(--white);
  border-color:var(--line);
  color:var(--ink);
}

:root[data-theme="light"] [data-view="cart"] .order-panel-heading h2,
:root[data-theme="light"] [data-view="cart"] .order-panel label,
:root[data-theme="light"] [data-view="cart"] .order-total,
:root[data-theme="light"] [data-view="cart"] .order-total strong{
  color:var(--ink);
}

:root[data-theme="light"] [data-view="cart"] .order-panel-heading p,
:root[data-theme="light"] [data-view="cart"] .order-panel label small,
:root[data-theme="light"] [data-view="cart"] .order-assurance{
  color:var(--muted);
}

:root[data-theme="light"] [data-view="cart"] .order-panel input,
:root[data-theme="light"] [data-view="cart"] .order-panel textarea{
  background:var(--surface);
  color:var(--ink);
  border-color:var(--line);
}

/* Cart items */
:root[data-theme="light"] [data-view="cart"] .cart-item{
  background:var(--white);
  border-color:var(--line);
  color:var(--ink);
}

/* Notifications when items exist */
:root[data-theme="light"] [data-view="notifications"] #notifList{
  background:var(--white);
  border-color:var(--line);
}

:root[data-theme="light"] [data-view="notifications"] .notif-body strong{
  color:var(--ink);
}

:root[data-theme="light"] [data-view="notifications"] .notif-body p,
:root[data-theme="light"] [data-view="notifications"] .notif-body small{
  color:var(--muted);
}
/* Light mode - products page and filters */
:root[data-theme="light"] body.shop-view [data-view="products"] .page-title h1,
:root[data-theme="light"] body.shop-view [data-view="products"] .catalog-content .page-title h1{
  color:var(--ink);
}

:root[data-theme="light"] body.shop-view [data-view="products"] .filters{
  background:var(--white);
  border-color:var(--line);
  color:var(--ink);
}

:root[data-theme="light"] body.shop-view [data-view="products"] .filters h2{
  color:var(--ink);
}

:root[data-theme="light"] body.shop-view [data-view="products"] .filters label{
  color:var(--muted);
}

:root[data-theme="light"] body.shop-view [data-view="products"] .filters input,
:root[data-theme="light"] body.shop-view [data-view="products"] .filters select{
  background:var(--surface);
  color:var(--ink);
  border-color:var(--line);
}

:root[data-theme="light"] body.shop-view [data-view="products"] .filters select option{
  background:var(--white);
  color:var(--ink);
}

:root[data-theme="light"] body.shop-view [data-view="products"] .filters button,
:root[data-theme="light"] body.shop-view [data-view="products"] .filters .text-button{
  color:var(--primary);
}
/* Mobile footer - intro style */
@media(max-width:980px){

  .site-footer{
    background:var(--surface);
    border-top:1px solid var(--line);
    color:var(--ink);
  }

  .footer-inner{
    padding:24px 16px;
  }

  .footer-grid{
    display:flex;
    flex-direction:column;
    gap:16px;
  }

  .footer-grid > *{
    background:var(--white);
    border:1px solid var(--line);
    border-radius:24px;
    padding:22px 18px;
    box-shadow:var(--shadow-card);
    text-align:center;
  }

  .footer-logo-wrap{
    justify-content:center;
    flex-direction:column;
    margin-bottom:12px;
  }

  .footer-logo{
    height:58px;
  }

  .footer-logo-wrap strong{
    color:var(--ink);
    font-size:20px;
  }

  .footer-logo-wrap span,
  .footer-brand > p{
    color:var(--muted);
  }

  .footer-wa-btn{
    width:100%;
    justify-content:center;
    padding:13px 18px;
    border-radius:var(--radius-pill);
    font-size:14px;
  }

  .footer-heading{
    color:var(--ink);
    font-size:18px;
    margin-bottom:14px;
    text-transform:none;
    letter-spacing:0;
  }

  .footer-nav{
    gap:8px;
  }

  .footer-nav button,
  .footer-link-item{
    width:100%;
    padding:12px 16px;
    background:var(--surface);
    border:1px solid var(--line);
    border-radius:var(--radius-pill);
    color:var(--ink);
    text-align:center;
    font-size:14px;
    font-weight:700;
  }

  .footer-nav button:hover,
  .footer-link-item:hover{
    background:var(--primary-soft);
    color:var(--primary-dark);
  }

  .footer-contact{
    gap:10px;
  }

  .footer-contact li{
    justify-content:center;
    padding:12px 16px;
    background:var(--surface);
    border:1px solid var(--line);
    border-radius:var(--radius-pill);
    color:var(--ink);
    font-size:14px;
  }

  .footer-bottom{
    background:var(--white);
    border-top:1px solid var(--line);
  }

  .footer-bottom-inner{
    color:var(--muted);
    text-align:center;
    gap:6px;
  }
}
/* Mobile hero slider - final */
@media(max-width:980px){

  .hero-wrap{
    padding-top:20px;
  }

  .hero-slider{
    position:relative;
    overflow:visible;
    padding:0;
    margin-bottom:38px;
    background:transparent;
    border:0;
    border-radius:0;
    box-shadow:none;
  }

  .hero-slides{
    display:flex;
    overflow-x:auto;
    overflow-y:hidden;
    scroll-snap-type:x mandatory;
    scrollbar-width:none;
    background:transparent;
    border:0;
    border-radius:20px;
    box-shadow:none;
  }

  .hero-slides::-webkit-scrollbar{
    display:none;
  }

  .hero-slide{
    flex:0 0 100%;
    scroll-snap-align:start;
    overflow:hidden;
    background:transparent;
    border:0;
    border-radius:20px;
    box-shadow:none;
  }

  .hero-slide img{
    display:block;
    width:100%;
    height:auto;
    aspect-ratio:16/6.6;
    object-fit:cover;
    border:0;
    border-radius:20px;
    box-shadow:none;
  }

  .hero-dots{
    position:absolute;
    left:50%;
    bottom:-28px;
    transform:translateX(-50%);
    display:flex;
    align-items:center;
    justify-content:center;
    gap:12px;
    width:max-content;
    padding:0;
    margin:0;
    background:transparent;
    border:0;
    box-shadow:none;
    backdrop-filter:none;
  }

  .hero-dots span{
    width:10px;
    height:10px;
    border-radius:50%;
    background:#c9cfd4;
    box-shadow:none;
    cursor:pointer;
    transition:background-color .2s ease, transform .2s ease;
  }

  .hero-dots span.active{
    width:10px;
    height:10px;
    background:#13afe3;
    box-shadow:none;
    transform:scale(1.25);
  }
}
/* Hero slider visual cleanup */
@media(max-width:980px){
  .hero-slider,
  .hero-slides,
  .hero-slide,
  .hero-slide img{
    border:0;
    outline:0;
    box-shadow:none;
  }

  .hero-slider,
  .hero-slides,
  .hero-slide{
    background:transparent;
  }

  .hero-slide img{
    filter:none;
  }
}

/* Account menu final redesign */

[data-view="account"] .account-menu-section{
  margin-top:0;
  padding:0;
  background:transparent;
  border:0;
  box-shadow:none;
}

[data-view="account"] .account-menu{
  display:flex;
  flex-direction:column;
  gap:12px;
}

[data-view="account"] .account-menu-item{
  --item-accent:#128acb;
  --item-soft:rgba(18,138,203,.11);

  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;

  width:100%;
  min-height:82px;
  margin:0;
  padding:13px 15px;

  background:rgba(255,255,255,.92);
  border:1px solid rgba(213,225,232,.95);
  border-radius:22px;
  box-shadow:0 8px 22px rgba(20,45,60,.08);

  color:var(--ink);
  text-align:right;
  cursor:pointer;
  overflow:hidden;

  transition:
    transform .18s ease,
    border-color .18s ease,
    box-shadow .18s ease;
}

[data-view="account"] .account-menu-item:nth-child(2){
  --item-accent:#04a99a;
  --item-soft:rgba(4,169,154,.11);
}

[data-view="account"] .account-menu-item:nth-child(3){
  --item-accent:#e9a313;
  --item-soft:rgba(233,163,19,.13);
}

[data-view="account"] .account-menu-item:nth-child(4){
  --item-accent:#7657d6;
  --item-soft:rgba(118,87,214,.11);
}

[data-view="account"] .account-menu-item:hover,
[data-view="account"] .account-menu-item:focus-visible{
  transform:translateY(-2px);
  border-color:var(--item-accent);
  box-shadow:0 12px 28px rgba(20,45,60,.12);
  outline:none;
}

[data-view="account"] .account-menu-main{
  display:flex;
  align-items:center;
  gap:13px;
  min-width:0;
  flex:1;
}

[data-view="account"] .account-menu-item .menu-icon{
  display:grid;
  place-items:center;

  width:48px;
  height:48px;
  flex:0 0 48px;

  border-radius:16px;
  background:var(--item-soft);
  border:1px solid rgba(18,138,203,.12);
  box-shadow:none;

  color:var(--item-accent);
  font-size:21px;
  line-height:1;
}

[data-view="account"] .account-menu-copy{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:3px;
  min-width:0;
  flex:1;
}

[data-view="account"] .account-menu-copy strong{
  color:var(--ink);
  font-size:15px;
  font-weight:800;
  line-height:1.35;
}

[data-view="account"] .account-menu-copy small{
  display:block;
  margin:0;
  color:var(--muted);
  font-size:11.5px;
  font-weight:500;
  line-height:1.45;
}

[data-view="account"] .account-menu-arrow{
  display:grid;
  place-items:center;

  width:34px;
  height:34px;
  flex:0 0 34px;

  border-radius:50%;
  background:var(--surface);
  border:1px solid var(--line);

  color:var(--item-accent);
  font-size:24px;
  font-weight:800;
  line-height:1;
}

[data-view="account"] .account-menu-item.danger{
  --item-accent:#d93658;
  --item-soft:rgba(217,54,88,.11);

  background:rgba(255,248,249,.94);
  border-color:rgba(217,54,88,.16);
}

[data-view="account"] .account-menu-item.danger .menu-icon{
  background:var(--item-soft);
  color:var(--item-accent);
}

[data-view="account"] .account-menu-item.danger .account-menu-arrow{
  color:var(--item-accent);
}

:root[data-theme="dark"] [data-view="account"] .account-menu-item{
  background:rgba(14,35,52,.82);
  border-color:rgba(255,255,255,.10);
  box-shadow:0 10px 28px rgba(0,0,0,.22);
}

:root[data-theme="dark"] [data-view="account"] .account-menu-copy strong{
  color:#f4f8fb;
}

:root[data-theme="dark"] [data-view="account"] .account-menu-copy small{
  color:#9db1bf;
}

:root[data-theme="dark"] [data-view="account"] .account-menu-arrow{
  background:rgba(255,255,255,.07);
  border-color:rgba(255,255,255,.10);
}

:root[data-theme="dark"] [data-view="account"] .account-menu-item.danger{
  background:rgba(88,25,40,.28);
  border-color:rgba(255,107,133,.20);
}

@media(max-width:680px){
  [data-view="account"] .account-menu{
    gap:10px;
  }

  [data-view="account"] .account-menu-item{
    min-height:76px;
    padding:11px 13px;
    border-radius:20px;
  }

  [data-view="account"] .account-menu-item .menu-icon{
    width:44px;
    height:44px;
    flex-basis:44px;
    border-radius:14px;
    font-size:19px;
  }

  [data-view="account"] .account-menu-copy strong{
    font-size:14px;
  }

  [data-view="account"] .account-menu-copy small{
    font-size:10.5px;
  }

  [data-view="account"] .account-menu-arrow{
    width:31px;
    height:31px;
    flex-basis:31px;
    font-size:21px;
  }
}


/* Account profile and form final redesign */

/* بطاقة الاسم والحساب */
[data-view="account"] .account-sidebar{
  position:relative;
  display:grid;
  grid-template-columns:74px minmax(0,1fr);
  align-items:center;
  gap:16px;

  padding:20px;
  border-radius:26px;
  overflow:hidden;

  background:
    radial-gradient(circle at top right, rgba(0,174,239,.14), transparent 44%),
    rgba(255,255,255,.94);

  border:1px solid rgba(210,224,232,.95);
  box-shadow:0 12px 30px rgba(18,46,62,.10);
}

[data-view="account"] .account-sidebar::after{
  content:"";
  position:absolute;
  width:120px;
  height:120px;
  left:-45px;
  bottom:-55px;
  border-radius:50%;
  background:rgba(0,174,239,.06);
  pointer-events:none;
}

[data-view="account"] .account-avatar{
  width:74px;
  height:74px;
  margin:0;
  border-radius:22px;

  background:linear-gradient(145deg,#00aeef,#087bb9);
  box-shadow:0 10px 22px rgba(0,139,202,.24);

  color:#fff;
  font-size:20px;
  font-weight:900;
  letter-spacing:.5px;
}

[data-view="account"] .account-sidebar > div:last-child{
  min-width:0;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:5px;
}

[data-view="account"] .account-sidebar h2{
  margin:0;
  color:var(--ink);
  font-size:21px;
  font-weight:900;
  line-height:1.3;
}

[data-view="account"] .account-sidebar p{
  direction:ltr;
  margin:0;
  padding:5px 11px;

  border-radius:999px;
  background:var(--surface);
  border:1px solid var(--line);

  color:var(--muted);
  font-size:12px;
  font-weight:700;
  letter-spacing:.3px;
}

[data-view="account"] .account-sidebar .account-status{
  display:inline-flex;
  align-items:center;
  gap:6px;

  margin-top:2px;
  padding:6px 12px;

  border-radius:999px;
  font-size:11px;
  font-weight:800;
}

/* قسم بياناتي */
[data-view="account"] .account-content{
  position:relative;
  padding:20px;
  border-radius:26px;

  background:rgba(255,255,255,.95);
  border:1px solid rgba(210,224,232,.95);
  box-shadow:0 12px 30px rgba(18,46,62,.09);
}

[data-view="account"] .account-content h1{
  display:flex;
  align-items:center;
  gap:10px;

  margin:0 0 18px;
  color:var(--ink);
  font-size:20px;
  font-weight:900;
}

[data-view="account"] .account-content h1::before{
  content:"✎";
  display:grid;
  place-items:center;

  width:38px;
  height:38px;
  border-radius:13px;

  background:rgba(0,174,239,.11);
  color:var(--primary);
  font-size:17px;
}

[data-view="account"] .account-content label{
  display:flex;
  flex-direction:column;
  gap:7px;

  margin-bottom:13px;
  color:var(--muted);
  font-size:12px;
  font-weight:800;
}

[data-view="account"] .account-content input{
  width:100%;
  height:54px;
  padding:0 16px;

  border:1px solid var(--line);
  border-radius:16px;

  background:var(--surface);
  color:var(--ink);

  font-family:inherit;
  font-size:14px;
  font-weight:700;

  outline:none;
  transition:border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

[data-view="account"] .account-content input:focus{
  background:var(--white);
  border-color:var(--primary);
  box-shadow:0 0 0 4px rgba(0,174,239,.11);
}

[data-view="account"] .account-content .button{
  min-height:52px;
  padding-inline:24px;
  border-radius:16px;
  font-size:14px;
  font-weight:900;
  box-shadow:0 9px 20px rgba(0,139,202,.20);
}

[data-view="account"] .account-content > small{
  margin:12px 2px 0;
  padding-top:11px;

  border-top:1px solid var(--line);

  color:var(--muted);
  font-size:10.5px;
  line-height:1.6;
}

/* الوضع الداكن */
:root[data-theme="dark"] [data-view="account"] .account-sidebar,
:root[data-theme="dark"] [data-view="account"] .account-content{
  background:rgba(14,35,52,.86);
  border-color:rgba(255,255,255,.10);
  box-shadow:0 14px 34px rgba(0,0,0,.24);
}

:root[data-theme="dark"] [data-view="account"] .account-sidebar h2,
:root[data-theme="dark"] [data-view="account"] .account-content h1{
  color:#f4f8fb;
}

:root[data-theme="dark"] [data-view="account"] .account-sidebar p,
:root[data-theme="dark"] [data-view="account"] .account-content input{
  background:rgba(255,255,255,.06);
  border-color:rgba(255,255,255,.10);
}

:root[data-theme="dark"] [data-view="account"] .account-content input{
  color:#f4f8fb;
}

@media(max-width:680px){
  [data-view="account"] .account-sidebar{
    grid-template-columns:64px minmax(0,1fr);
    gap:13px;
    padding:17px;
    border-radius:22px;
  }

  [data-view="account"] .account-avatar{
    width:64px;
    height:64px;
    border-radius:19px;
    font-size:18px;
  }

  [data-view="account"] .account-sidebar h2{
    font-size:18px;
  }

  [data-view="account"] .account-content{
    padding:17px;
    border-radius:22px;
  }

  [data-view="account"] .account-content h1{
    font-size:18px;
  }

  [data-view="account"] .account-content input{
    height:52px;
  }

  [data-view="account"] .account-content .button{
    width:100%;
  }
}

/* Footer social-only redesign */

.site-footer{
  background:var(--surface);
  border-top:1px solid var(--line);
}

.footer-social-only{
  padding:22px 16px;
}

.footer-social-title{
  margin:0 0 16px;
  color:var(--ink);
  text-align:center;
  font-size:20px;
  font-weight:900;
}

.footer-social-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
  max-width:760px;
  margin:0 auto;
}

.footer-social-link{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  min-height:64px;
  padding:10px 12px;

  background:var(--white);
  border:1px solid var(--line);
  border-radius:18px;
  box-shadow:0 6px 18px rgba(20,45,60,.07);

  color:var(--ink);
  text-decoration:none;
  font-size:13px;

  transition:
    transform .18s ease,
    box-shadow .18s ease,
    border-color .18s ease;
}

.footer-social-link:hover,
.footer-social-link:focus-visible{
  transform:translateY(-2px);
  border-color:var(--social-color);
  box-shadow:0 10px 24px rgba(20,45,60,.11);
  outline:none;
}

.footer-social-icon{
  display:grid;
  place-items:center;
  width:38px;
  height:38px;
  flex:0 0 38px;

  border-radius:12px;
  background:var(--social-soft);
  color:var(--social-color);
}

.footer-social-icon svg{
  width:21px;
  height:21px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.9;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.social-facebook{
  --social-color:#1877f2;
  --social-soft:rgba(24,119,242,.11);
}

.social-facebook svg,
.social-telegram svg{
  fill:currentColor;
  stroke:none;
}

.social-instagram{
  --social-color:#d62976;
  --social-soft:rgba(214,41,118,.11);
}

.social-telegram{
  --social-color:#229ed9;
  --social-soft:rgba(34,158,217,.12);
}

.social-app{
  --social-color:#087fbd;
  --social-soft:rgba(8,127,189,.11);
}

.footer-social-link strong{
  color:var(--ink);
  font-size:13px;
  font-weight:800;
}

.site-footer .footer-bottom{
  padding:0;
  background:var(--white);
  border-top:1px solid var(--line);
}

.site-footer .footer-bottom-inner{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:8px;
  min-height:58px;
  padding:12px 16px;

  color:var(--muted);
  text-align:center;
  font-size:11px;
}

:root[data-theme="dark"] .footer-social-link,
:root[data-theme="dark"] .site-footer .footer-bottom{
  background:rgba(14,35,52,.85);
  border-color:rgba(255,255,255,.10);
}

:root[data-theme="dark"] .footer-social-link strong,
:root[data-theme="dark"] .footer-social-title{
  color:#f4f8fb;
}

@media(max-width:680px){
  .footer-social-only{
    padding:18px 16px;
  }

  .footer-social-title{
    margin-bottom:13px;
    font-size:18px;
  }

  .footer-social-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;
  }

  .footer-social-link{
    min-height:60px;
    border-radius:16px;
    padding:9px 10px;
  }

  .footer-social-icon{
    width:36px;
    height:36px;
    flex-basis:36px;
    border-radius:11px;
  }

  .site-footer .footer-bottom-inner{
    flex-direction:column;
    gap:3px;
    min-height:64px;
  }
}

/* Footer WhatsApp */
.site-footer .social-whatsapp{
  --social-color:#20b85a;
  --social-soft:rgba(32,184,90,.12);
}

.site-footer .social-whatsapp svg{
  fill:currentColor;
  stroke:none;
}

/* Why BSO light mode final */
:root[data-theme="light"] body.shop-view .why-bso-section{
  background:linear-gradient(180deg,#f5f9fc 0%,#edf4f8 100%) !important;
  color:var(--ink) !important;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}

:root[data-theme="light"] body.shop-view .why-bso-head h2{
  color:var(--ink) !important;
}

:root[data-theme="light"] body.shop-view .why-bso-head p{
  color:var(--muted) !important;
}

:root[data-theme="light"] body.shop-view .why-bso-card{
  background:var(--white) !important;
  border:1px solid var(--line) !important;
  box-shadow:0 8px 24px rgba(20,40,50,.08) !important;
  color:var(--ink) !important;
}

:root[data-theme="light"] body.shop-view .why-bso-card strong{
  color:var(--ink) !important;
}

:root[data-theme="light"] body.shop-view .why-bso-card p{
  color:var(--muted) !important;
}

:root[data-theme="light"] body.shop-view .why-bso-icon{
  background:var(--primary-soft) !important;
  color:var(--primary) !important;
  box-shadow:none !important;
}


/* Home premium background and section surfaces */
:root[data-theme="light"] body.shop-view{
  background:#eef5f8;
}

:root[data-theme="light"] body.shop-view [data-view="home"]{
  position:relative;
  isolation:isolate;

  background:
    radial-gradient(circle at 8% 6%,
      rgba(0,174,239,.13) 0,
      rgba(0,174,239,0) 330px),

    radial-gradient(circle at 92% 34%,
      rgba(0,166,81,.08) 0,
      rgba(0,166,81,0) 300px),

    radial-gradient(circle at 12% 78%,
      rgba(0,115,189,.07) 0,
      rgba(0,115,189,0) 360px),

    linear-gradient(
      180deg,
      #f8fbfc 0%,
      #f0f6f9 48%,
      #edf4f7 100%
    );
}

/* Very subtle dotted texture */
:root[data-theme="light"] body.shop-view [data-view="home"]::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  pointer-events:none;

  background-image:
    radial-gradient(
      circle,
      rgba(0,115,189,.045) 1px,
      transparent 1.3px
    );

  background-size:26px 26px;
  opacity:.65;
}

/* Give every home section its own soft surface */
:root[data-theme="light"] body.shop-view [data-view="home"] .content-section{
  margin-top:22px;
  padding:18px 14px;

  background:rgba(255,255,255,.78);
  border:1px solid rgba(215,228,235,.92);
  border-radius:26px;

  box-shadow:
    0 10px 28px rgba(25,55,70,.07),
    inset 0 1px 0 rgba(255,255,255,.85);
}

/* Slight accent beside section titles */
:root[data-theme="light"] body.shop-view [data-view="home"] .section-heading h2{
  position:relative;
  padding-inline-start:13px;
}

:root[data-theme="light"] body.shop-view [data-view="home"] .section-heading h2::before{
  content:"";
  position:absolute;
  inset-inline-start:0;
  top:18%;
  width:4px;
  height:64%;
  border-radius:999px;
  background:linear-gradient(
    180deg,
    var(--primary-light),
    var(--primary)
  );
}

/* Mobile spacing */
@media(max-width:680px){
  :root[data-theme="light"] body.shop-view [data-view="home"] .content-section{
    margin-top:18px;
    padding:16px 10px;
    border-radius:22px;
  }

  :root[data-theme="light"] body.shop-view [data-view="home"] .home-stack{
    padding-top:14px;
  }
}


/* Home hero integrated card style */
@media(max-width:980px){

  [data-view="home"] .hero-wrap{
    padding-top:20px;
  }

  [data-view="home"] .hero-slider{
    position:relative;
    overflow:hidden;

    margin-bottom:24px;
    padding:10px 10px 14px;

    background:rgba(255,255,255,.82);
    border:1px solid rgba(215,228,235,.95);
    border-radius:26px;

    box-shadow:
      0 12px 30px rgba(25,55,70,.09),
      inset 0 1px 0 rgba(255,255,255,.9);

    backdrop-filter:blur(8px);
  }

  [data-view="home"] .hero-slides{
    overflow:hidden;
    border-radius:20px;
    background:transparent;
    border:0;
    box-shadow:none;
  }

  [data-view="home"] .hero-slide,
  [data-view="home"] .hero-slide img{
    border-radius:20px;
    border:0;
    box-shadow:none;
  }

  [data-view="home"] .hero-slide img{
    aspect-ratio:16/6.4;
    object-fit:cover;
  }

  [data-view="home"] .hero-dots{
    position:static;
    transform:none;

    width:max-content;
    margin:13px auto 0;
    padding:0;

    background:transparent;
    border:0;
    box-shadow:none;
  }

  [data-view="home"] .hero-dots span{
    width:9px;
    height:9px;
    background:#cbd5da;
    box-shadow:none;
  }

  [data-view="home"] .hero-dots span.active{
    width:22px;
    height:9px;
    border-radius:999px;
    background:var(--primary-light);
    transform:none;
  }
}

/* Dark mode */
:root[data-theme="dark"] [data-view="home"] .hero-slider{
  background:rgba(14,35,52,.82);
  border-color:rgba(255,255,255,.10);
  box-shadow:0 14px 32px rgba(0,0,0,.24);
}


/* Hero slider final clean mobile fix */
@media(max-width:980px){

  [data-view="home"] .hero-wrap{
    padding-top:16px;
  }

  [data-view="home"] .hero-slider{
    position:relative;
    overflow:hidden;

    margin-bottom:0;
    padding:8px 8px 11px;

    background:rgba(255,255,255,.88);
    border:1px solid rgba(215,228,235,.92);
    border-radius:24px;

    box-shadow:none;
    backdrop-filter:none;
  }

  [data-view="home"] .hero-slides{
    display:flex;
    overflow-x:auto;
    overflow-y:hidden;

    scroll-snap-type:x mandatory;
    scrollbar-width:none;
    -ms-overflow-style:none;
    -webkit-overflow-scrolling:touch;

    border-radius:18px;
    background:transparent;
    box-shadow:none;
  }

  [data-view="home"] .hero-slides::-webkit-scrollbar{
    display:none;
  }

  [data-view="home"] .hero-slide{
    flex:0 0 100%;
    min-width:100%;

    scroll-snap-align:start;
    scroll-snap-stop:always;

    border:0;
    border-radius:18px;
    box-shadow:none;
    background:transparent;
  }

  [data-view="home"] .hero-slide img{
    display:block;
    width:100%;
    aspect-ratio:16/6.4;
    object-fit:cover;

    border:0;
    border-radius:18px;
    box-shadow:none;
  }

  [data-view="home"] .hero-dots{
    position:static;
    transform:none;

    width:max-content;
    margin:10px auto 0;
    padding:0;

    background:transparent;
    border:0;
    box-shadow:none;
  }

  [data-view="home"] .hero-dots span{
    width:9px;
    height:9px;
    background:#cbd5da;
    box-shadow:none;
  }

  [data-view="home"] .hero-dots span.active{
    width:22px;
    height:9px;
    border-radius:999px;
    background:var(--primary-light);
    transform:none;
    box-shadow:none;
  }

  /* Reduce space between slider and categories */
  [data-view="home"] .home-stack{
    padding-top:6px;
  }

  [data-view="home"] .home-stack > .content-section:first-child{
    margin-top:6px;
  }
}


/* Home page shadow cleanup */
:root[data-theme="light"] body.shop-view [data-view="home"] .hero-slider,
:root[data-theme="light"] body.shop-view [data-view="home"] .content-section{
  box-shadow:none !important;
  backdrop-filter:none !important;
  -webkit-backdrop-filter:none !important;
}

:root[data-theme="light"] body.shop-view [data-view="home"] .hero-slider{
  border-color:#dce8ed !important;
}

:root[data-theme="light"] body.shop-view [data-view="home"] .content-section{
  background:rgba(255,255,255,.90) !important;
  border-color:#dce8ed !important;
}

:root[data-theme="light"] body.shop-view [data-view="home"] .category-chip,
:root[data-theme="light"] body.shop-view [data-view="home"] .brand-card{
  box-shadow:none !important;
  border-color:#e2e9ed !important;
}

:root[data-theme="light"] body.shop-view [data-view="home"] .category-chip:hover,
:root[data-theme="light"] body.shop-view [data-view="home"] .brand-card:hover{
  box-shadow:none !important;
  transform:none !important;
}


/* Auth pages footer gap fix */
@media(max-width:980px){

  [data-view="login"],
  [data-view="register"],
  [data-view="pending"]{
    min-height:auto !important;
    padding-bottom:0 !important;
  }

  [data-view="login"] .auth-layout,
  [data-view="register"] .auth-layout,
  [data-view="pending"] .auth-layout{
    padding-top:16px !important;
    padding-bottom:24px !important;
  }

  body.auth-view .site-footer{
    margin-top:0 !important;
  }
}


/* Light auth pages - remove dark glow and shadows */
:root[data-theme="light"] [data-view="login"],
:root[data-theme="light"] [data-view="register"],
:root[data-theme="light"] [data-view="pending"]{
  background:#f5f7f8 !important;
  background-image:none !important;
}

:root[data-theme="light"] [data-view="login"] .auth-form,
:root[data-theme="light"] [data-view="register"] .auth-form,
:root[data-theme="light"] [data-view="pending"] .auth-form{
  box-shadow:none !important;
  backdrop-filter:none !important;
  -webkit-backdrop-filter:none !important;
  border-color:#dfe8ec !important;
}

:root[data-theme="light"] body.auth-view .footer-social-link{
  box-shadow:none !important;
}


/* Light auth pages - remove dark glow and shadows */
:root[data-theme="light"] [data-view="login"],
:root[data-theme="light"] [data-view="register"],
:root[data-theme="light"] [data-view="pending"]{
  background:#f5f7f8 !important;
  background-image:none !important;
}

:root[data-theme="light"] [data-view="login"] .auth-form,
:root[data-theme="light"] [data-view="register"] .auth-form,
:root[data-theme="light"] [data-view="pending"] .auth-form{
  box-shadow:none !important;
  backdrop-filter:none !important;
  -webkit-backdrop-filter:none !important;
  border-color:#dfe8ec !important;
}

:root[data-theme="light"] body.auth-view .footer-social-link{
  box-shadow:none !important;
}



/* BSO APP STORE FOOTER BUTTONS */
.social-ios{
  --social-color:#111827;
  --social-soft:rgba(17,24,39,.09);
}

.social-android{
  --social-color:#65b741;
  --social-soft:rgba(101,183,65,.12);
}

.social-ios svg,
.social-android svg{
  fill:currentColor;
  stroke:none;
}

:root[data-theme="dark"] .social-ios{
  --social-color:#f4f8fb;
  --social-soft:rgba(255,255,255,.10);
}


/* BSO NOTIFICATION ORDER CARDS V1 */
.notif-item{
  width:100%;
  margin:0;
  border:0;
  border-bottom:1px solid var(--line);
  border-radius:0;
  background:transparent;
  color:inherit;
  font:inherit;
  text-align:start;
}

.notif-item-order{
  cursor:pointer;
}

.notif-item-order:hover,
.notif-item-order:focus-visible{
  background:rgba(0,174,239,.08);
  outline:none;
}

.notif-order-row{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:8px;
  margin:8px 0 6px;
}

.notif-open-label{
  color:var(--primary);
  font-size:11px;
  font-weight:800;
}

.notif-arrow{
  display:grid;
  place-items:center;
  width:30px;
  height:30px;
  flex:0 0 30px;
  align-self:center;
  border-radius:50%;
  background:var(--primary-soft);
  color:var(--primary);
  font-size:20px;
  font-weight:900;
}

body.shop-view .notif-item-order:hover,
body.shop-view .notif-item-order:focus-visible{
  background:rgba(0,174,239,.13);
}

body.shop-view .notif-open-label{
  color:var(--primary-light);
}

body.shop-view .notif-arrow{
  background:var(--glass-fill-strong);
  color:var(--primary-light);
}

:root[data-theme="light"] [data-view="notifications"] .notif-item{
  color:var(--ink);
}

@media(max-width:680px){
  .notif-item{
    padding:13px 12px;
    gap:10px;
  }

  .notif-arrow{
    width:28px;
    height:28px;
    flex-basis:28px;
  }

  .notif-order-row{
    gap:6px;
  }
}


/* BSO AUTO SCROLL RAILS V1 */
.bso-auto-scroll-rail{
  display:block !important;
  width:100%;
  max-width:100%;
  overflow:hidden !important;
  scrollbar-width:none;
  direction:ltr;
  mask-image:linear-gradient(
    to right,
    transparent 0,
    #000 3%,
    #000 97%,
    transparent 100%
  );
  -webkit-mask-image:linear-gradient(
    to right,
    transparent 0,
    #000 3%,
    #000 97%,
    transparent 100%
  );
}

.bso-auto-scroll-rail::-webkit-scrollbar{
  display:none;
}

.bso-auto-scroll-track{
  --bso-scroll-duration:36s;
  --bso-scroll-distance:0px;

  display:flex;
  align-items:stretch;
  width:max-content;
  min-width:max-content;
  will-change:transform;
  animation:
    bsoAutoRailMove
    var(--bso-scroll-duration)
    linear
    infinite;
}

.bso-auto-scroll-group{
  display:flex;
  align-items:stretch;
  gap:12px;
  width:max-content;
  min-width:max-content;
  padding-inline-end:12px;
}

.bso-auto-scroll-group > *{
  flex:0 0 auto;
  direction:rtl;
}

.bso-auto-scroll-rail:hover .bso-auto-scroll-track,
.bso-auto-scroll-rail:focus-within .bso-auto-scroll-track{
  animation-play-state:paused;
}

@keyframes bsoAutoRailMove{
  from{
    transform:translate3d(0,0,0);
  }

  to{
    transform:translate3d(
      calc(-1 * var(--bso-scroll-distance)),
      0,
      0
    );
  }
}

@media(max-width:680px){
  .bso-auto-scroll-group{
    gap:10px;
    padding-inline-end:10px;
  }

  .bso-auto-scroll-rail{
    mask-image:linear-gradient(
      to right,
      transparent 0,
      #000 5%,
      #000 95%,
      transparent 100%
    );
    -webkit-mask-image:linear-gradient(
      to right,
      transparent 0,
      #000 5%,
      #000 95%,
      transparent 100%
    );
  }
}

@media(prefers-reduced-motion:reduce){
  .bso-auto-scroll-track{
    animation:none;
  }

  .bso-auto-scroll-rail{
    overflow-x:auto !important;
    mask-image:none;
    -webkit-mask-image:none;
  }
}


/* BSO MOBILE RAIL SWIPE V1 */
@media(max-width:680px){
  .bso-auto-scroll-rail{
    overflow-x:auto !important;
    overflow-y:hidden !important;
    touch-action:pan-x;
    -webkit-overflow-scrolling:touch;
    overscroll-behavior-inline:contain;
    scroll-behavior:auto;
    scrollbar-width:none;
  }

  .bso-auto-scroll-rail::-webkit-scrollbar{
    display:none;
  }

  .bso-auto-scroll-rail:focus-within
  .bso-auto-scroll-track{
    animation-play-state:running;
  }

  .bso-auto-scroll-rail.is-touching
  .bso-auto-scroll-track{
    animation-play-state:paused !important;
  }

  .bso-auto-scroll-group > *{
    user-select:none;
    -webkit-user-select:none;
  }
}


/* BSO LIGHT MODE GPS BUTTON V1 */
:root[data-theme="light"] body.shop-view .gps-btn,
:root[data-theme="light"] [data-view="cart"] .gps-btn{
  background:#eef6fb !important;
  border:1px solid #b9d9ea !important;
  color:#183247 !important;
  box-shadow:none !important;
}

:root[data-theme="light"] body.shop-view .gps-btn span,
:root[data-theme="light"] [data-view="cart"] .gps-btn span{
  color:#e11d48 !important;
}

:root[data-theme="light"] body.shop-view .gps-btn:hover,
:root[data-theme="light"] body.shop-view .gps-btn:focus-visible,
:root[data-theme="light"] [data-view="cart"] .gps-btn:hover,
:root[data-theme="light"] [data-view="cart"] .gps-btn:focus-visible{
  background:#dff1fa !important;
  border-color:#69bce5 !important;
  color:#10293d !important;
}

:root[data-theme="light"] body.shop-view .gps-status,
:root[data-theme="light"] [data-view="cart"] .gps-status{
  color:#526574 !important;
}

:root[data-theme="light"] body.shop-view .gps-status a,
:root[data-theme="light"] [data-view="cart"] .gps-status a{
  color:#007fbd !important;
}


/* BSO REORDER BUTTON V1 */
.my-order-summary{
  display:block;
  width:100%;
  margin:0;
  padding:0;
  border:0;
  background:transparent;
  color:inherit;
  font:inherit;
  text-align:start;
  cursor:pointer;
}

.my-order-summary:focus-visible{
  outline:2px solid var(--primary-light);
  outline-offset:5px;
  border-radius:12px;
}


/* BSO PUSH NOTIFICATION UI V1 */
.push-notification-card{
  display:flex;
  align-items:center;
  gap:14px;
  margin:0 0 16px;
  padding:15px 16px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:16px;
  background:rgba(255,255,255,.06);
}

.push-notification-icon{
  display:grid;
  place-items:center;
  width:44px;
  height:44px;
  flex:0 0 44px;
  border-radius:50%;
  background:rgba(0,174,239,.14);
  font-size:21px;
}

.push-notification-copy{
  display:flex;
  flex:1;
  min-width:0;
  flex-direction:column;
  gap:4px;
}

.push-notification-copy strong{
  color:var(--text-hi, #fff);
  font-size:14px;
  font-weight:800;
}

.push-notification-copy small{
  color:var(--text-mid, #aebdca);
  font-size:12px;
  line-height:1.6;
}

.push-notification-button{
  min-height:42px;
  min-width:140px;
  padding:9px 16px;
  border:1px solid #00aeef;
  border-radius:12px;
  background:#00aeef;
  color:#fff;
  font-family:inherit;
  font-size:13px;
  font-weight:800;
  cursor:pointer;
}

.push-notification-button:disabled{
  cursor:not-allowed;
  opacity:.6;
}

:root[data-theme="light"]
.push-notification-card{
  border-color:#d9e3ea;
  background:#fff;
  box-shadow:0 8px 24px rgba(17,45,68,.08);
}

:root[data-theme="light"]
.push-notification-copy strong{
  color:#17304a;
}

:root[data-theme="light"]
.push-notification-copy small{
  color:#607487;
}

@media(max-width:680px){
  .push-notification-card{
    display:grid;
    grid-template-columns:44px 1fr;
    gap:10px 12px;
    padding:14px;
  }

  .push-notification-button{
    grid-column:1 / -1;
    width:100%;
  }
}

/* BSO CONTACT LIGHT MODE FIX V1 */
:root[data-theme="light"] [data-view="contact"]{
  color:#17304a;
}

:root[data-theme="light"] [data-view="contact"] h1,
:root[data-theme="light"] [data-view="contact"] h2,
:root[data-theme="light"] [data-view="contact"] h3,
:root[data-theme="light"] [data-view="contact"] h4,
:root[data-theme="light"] [data-view="contact"] strong,
:root[data-theme="light"] [data-view="contact"] label{
  color:#17304a !important;
}

:root[data-theme="light"] [data-view="contact"] p,
:root[data-theme="light"] [data-view="contact"] small,
:root[data-theme="light"] [data-view="contact"] span{
  color:#607487;
}

:root[data-theme="light"] [data-view="contact"] .contact-card,
:root[data-theme="light"] [data-view="contact"] .contact-info-card,
:root[data-theme="light"] [data-view="contact"] .contact-form,
:root[data-theme="light"] [data-view="contact"] form{
  background:#ffffff !important;
  border-color:#d9e3ea !important;
  color:#17304a !important;
  box-shadow:0 10px 30px rgba(17,45,68,.08);
}

:root[data-theme="light"] [data-view="contact"] input:not([type="submit"]):not([type="button"]),
:root[data-theme="light"] [data-view="contact"] textarea,
:root[data-theme="light"] [data-view="contact"] select{
  background:#f5f8fa !important;
  border:1px solid #d7e1e8 !important;
  color:#17304a !important;
  box-shadow:none !important;
}

:root[data-theme="light"] [data-view="contact"] input::placeholder,
:root[data-theme="light"] [data-view="contact"] textarea::placeholder{
  color:#8a99a6 !important;
  opacity:1;
}

:root[data-theme="light"] [data-view="contact"] input:focus,
:root[data-theme="light"] [data-view="contact"] textarea:focus,
:root[data-theme="light"] [data-view="contact"] select:focus{
  border-color:#00aeef !important;
  outline:none;
  box-shadow:0 0 0 3px rgba(0,174,239,.12) !important;
}

:root[data-theme="light"] [data-view="contact"] a{
  color:#008bc4;
}



/* BSO OFFERS LIGHT MODE FIX V1 */
:root[data-theme="light"] [data-view="offers"]{
  color:#17304a !important;
}

:root[data-theme="light"] [data-view="offers"] h1,
:root[data-theme="light"] [data-view="offers"] h2,
:root[data-theme="light"] [data-view="offers"] h3,
:root[data-theme="light"] [data-view="offers"] .view-title,
:root[data-theme="light"] [data-view="offers"] .section-title,
:root[data-theme="light"] [data-view="offers"] .empty-state h2,
:root[data-theme="light"] [data-view="offers"] .empty-state h3,
:root[data-theme="light"] [data-view="offers"] .offers-empty h2,
:root[data-theme="light"] [data-view="offers"] .offers-empty h3{
  color:#17304a !important;
  text-shadow:none !important;
}

:root[data-theme="light"] [data-view="offers"] p,
:root[data-theme="light"] [data-view="offers"] small,
:root[data-theme="light"] [data-view="offers"] .empty-state p,
:root[data-theme="light"] [data-view="offers"] .offers-empty p{
  color:#607487 !important;
  text-shadow:none !important;
}

:root[data-theme="light"] [data-view="offers"] .empty-state,
:root[data-theme="light"] [data-view="offers"] .offers-empty{
  color:#17304a !important;
}

:root[data-theme="light"] [data-view="offers"] .empty-state-icon,
:root[data-theme="light"] [data-view="offers"] .offers-empty-icon{
  color:#00aeef !important;
}

/* BSO CONTACT INFO CARDS LIGHT FIX V2 */
:root[data-theme="light"] [data-view="contact"] .contact-grid > *,
:root[data-theme="light"] [data-view="contact"] .contact-info-grid > *,
:root[data-theme="light"] [data-view="contact"] .contact-cards > *,
:root[data-theme="light"] [data-view="contact"] .contact-methods > *,
:root[data-theme="light"] [data-view="contact"] .contact-item,
:root[data-theme="light"] [data-view="contact"] .info-item{
  color:#17304a !important;
}

:root[data-theme="light"] [data-view="contact"] .contact-grid > * strong,
:root[data-theme="light"] [data-view="contact"] .contact-grid > * h3,
:root[data-theme="light"] [data-view="contact"] .contact-grid > * h4,
:root[data-theme="light"] [data-view="contact"] .contact-grid > * span,
:root[data-theme="light"] [data-view="contact"] .contact-info-grid > * strong,
:root[data-theme="light"] [data-view="contact"] .contact-info-grid > * h3,
:root[data-theme="light"] [data-view="contact"] .contact-info-grid > * h4,
:root[data-theme="light"] [data-view="contact"] .contact-info-grid > * span,
:root[data-theme="light"] [data-view="contact"] .contact-item strong,
:root[data-theme="light"] [data-view="contact"] .contact-item h3,
:root[data-theme="light"] [data-view="contact"] .contact-item h4,
:root[data-theme="light"] [data-view="contact"] .info-item strong,
:root[data-theme="light"] [data-view="contact"] .info-item h3,
:root[data-theme="light"] [data-view="contact"] .info-item h4{
  color:#17304a !important;
  opacity:1 !important;
  text-shadow:none !important;
}

:root[data-theme="light"] [data-view="contact"] .contact-grid > * p,
:root[data-theme="light"] [data-view="contact"] .contact-grid > * small,
:root[data-theme="light"] [data-view="contact"] .contact-info-grid > * p,
:root[data-theme="light"] [data-view="contact"] .contact-info-grid > * small,
:root[data-theme="light"] [data-view="contact"] .contact-item p,
:root[data-theme="light"] [data-view="contact"] .contact-item small,
:root[data-theme="light"] [data-view="contact"] .info-item p,
:root[data-theme="light"] [data-view="contact"] .info-item small{
  color:#607487 !important;
  opacity:1 !important;
}

:root[data-theme="light"] [data-view="contact"] a strong,
:root[data-theme="light"] [data-view="contact"] a h3,
:root[data-theme="light"] [data-view="contact"] a h4{
  color:#009fd6 !important;
}

/* BSO MY ORDERS PROFESSIONAL POLISH V1 */
:root[data-theme="light"] [data-view="myorders"]{
  color:#17304a;
}

:root[data-theme="light"] [data-view="myorders"] .view-hero,
:root[data-theme="light"] [data-view="myorders"] .page-hero,
:root[data-theme="light"] [data-view="myorders"] .orders-hero{
  background:linear-gradient(
    180deg,
    rgba(0,174,239,.08) 0%,
    rgba(255,255,255,.88) 100%
  );
  border-radius:24px;
}

[data-view="myorders"] .my-order-card{
  position:relative;
  overflow:hidden;
  border-radius:24px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.06);
  box-shadow:0 18px 45px rgba(5,18,32,.16);
  padding:22px 22px 18px;
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
  transition:
    transform .18s ease,
    box-shadow .18s ease,
    border-color .18s ease;
}

[data-view="myorders"] .my-order-card::before{
  content:"";
  position:absolute;
  inset:0 auto 0 0;
  width:5px;
  background:linear-gradient(
    180deg,
    #00aeef 0%,
    #5ec6ff 100%
  );
  opacity:.95;
}

[data-view="myorders"] .my-order-card + .my-order-card{
  margin-top:18px;
}

[data-view="myorders"] .my-order-card:hover{
  transform:translateY(-2px);
  box-shadow:0 22px 50px rgba(5,18,32,.20);
  border-color:rgba(0,174,239,.26);
}

[data-view="myorders"] .my-order-summary{
  display:block;
  width:100%;
  margin:0;
  padding:0;
  border:0;
  background:transparent;
  color:inherit;
  text-align:start;
}

[data-view="myorders"] .my-order-top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
  margin-bottom:16px;
}

[data-view="myorders"] .my-order-top strong{
  color:var(--text-hi, #fff);
  font-size:18px;
  font-weight:900;
  letter-spacing:.2px;
}

[data-view="myorders"] .my-order-meta{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
  align-items:end;
  padding-top:4px;
}

[data-view="myorders"] .my-order-meta > span,
[data-view="myorders"] .my-order-meta > strong{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:56px;
  padding:10px 12px;
  border-radius:16px;
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.07);
  text-align:center;
}

[data-view="myorders"] .my-order-meta > span{
  color:var(--text-mid, #aebdca);
  font-size:14px;
  font-weight:700;
}

[data-view="myorders"] .my-order-meta > strong{
  color:var(--text-hi, #fff);
  font-size:18px;
  font-weight:900;
}

[data-view="myorders"] .badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:40px;
  padding:0 16px;
  border-radius:999px;
  font-size:14px;
  font-weight:900;
  letter-spacing:.1px;
  border:1px solid transparent;
  box-shadow:none;
}

/* BSO MY ORDERS ACTIONS CONSOLIDATED V2 */
[data-view="myorders"] .my-order-actions{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
  margin-top:18px;
  padding-top:18px;
  border-top:1px solid rgba(255,255,255,.09);
}

[data-view="myorders"] .my-order-action{
  width:100%;
  min-width:0;
  min-height:52px;
  border-radius:16px;
  font-family:inherit;
  font-size:16px;
  font-weight:900;
  cursor:pointer;
  transition:
    transform .15s ease,
    box-shadow .15s ease,
    border-color .15s ease,
    background .15s ease;
}

[data-view="myorders"] .my-order-action:active{
  transform:scale(.985);
}

[data-view="myorders"] .my-order-track{
  background:rgba(255,255,255,.08);
  color:var(--text-hi, #fff);
  border:1px solid rgba(255,255,255,.10);
}

[data-view="myorders"] .my-order-track:hover,
[data-view="myorders"] .my-order-track:focus-visible{
  background:rgba(255,255,255,.12);
  border-color:rgba(0,174,239,.28);
  box-shadow:0 10px 24px rgba(0,174,239,.12);
}

[data-view="myorders"] .my-order-reorder{
  background:linear-gradient(
    135deg,
    #0a89d0 0%,
    #00aeef 100%
  );
  color:#fff;
  border:1px solid transparent;
  box-shadow:0 12px 26px rgba(0,174,239,.22);
}

[data-view="myorders"] .my-order-reorder:hover,
[data-view="myorders"] .my-order-reorder:focus-visible{
  box-shadow:0 16px 30px rgba(0,174,239,.28);
  filter:brightness(1.03);
}

:root[data-theme="light"] [data-view="myorders"] .my-order-card{
  background:#ffffff;
  border:1px solid #dbe5eb;
  box-shadow:0 14px 34px rgba(17,45,68,.10);
}

:root[data-theme="light"] [data-view="myorders"] .my-order-card:hover{
  box-shadow:0 18px 40px rgba(17,45,68,.14);
  border-color:#bcd7e5;
}

:root[data-theme="light"] [data-view="myorders"] .my-order-top strong{
  color:#17304a;
}

:root[data-theme="light"] [data-view="myorders"] .my-order-meta > span,
:root[data-theme="light"] [data-view="myorders"] .my-order-meta > strong{
  background:#f7fafc;
  border-color:#e2eaf0;
}

:root[data-theme="light"] [data-view="myorders"] .my-order-meta > span{
  color:#607487;
}

:root[data-theme="light"] [data-view="myorders"] .my-order-meta > strong{
  color:#17304a;
}

:root[data-theme="light"] [data-view="myorders"] .my-order-actions{
  border-top-color:#e7edf1;
}

:root[data-theme="light"] [data-view="myorders"] .my-order-track{
  background:#f5f8fa;
  border-color:#dbe5eb;
  color:#17304a;
}

:root[data-theme="light"] [data-view="myorders"] .my-order-track:hover,
:root[data-theme="light"] [data-view="myorders"] .my-order-track:focus-visible{
  background:#eef7fc;
  border-color:#8ed0ef;
}

:root[data-theme="light"] [data-view="myorders"] h1,
:root[data-theme="light"] [data-view="myorders"] h2,
:root[data-theme="light"] [data-view="myorders"] h3,
:root[data-theme="light"] [data-view="myorders"] .section-title,
:root[data-theme="light"] [data-view="myorders"] .view-title{
  color:#17304a !important;
}

:root[data-theme="light"] [data-view="myorders"] .back-to-shop-btn{
  background:#f5f8fa;
  border:1px solid #dbe5eb;
  color:#00a4e4;
}

:root[data-theme="light"] [data-view="myorders"] .back-to-shop-btn:hover,
:root[data-theme="light"] [data-view="myorders"] .back-to-shop-btn:focus-visible{
  background:#eef7fc;
  border-color:#9fd7f0;
}

@media(max-width:680px){
  [data-view="myorders"] .my-order-card{
    padding:18px 16px 16px;
    border-radius:22px;
  }

  [data-view="myorders"] .my-order-top{
    flex-direction:column-reverse;
    align-items:stretch;
    gap:10px;
    margin-bottom:14px;
  }

  [data-view="myorders"] .my-order-top strong{
    font-size:17px;
  }

  [data-view="myorders"] .my-order-meta{
    grid-template-columns:1fr 1fr 1fr;
    gap:10px;
  }

  [data-view="myorders"] .my-order-meta > span,
  [data-view="myorders"] .my-order-meta > strong{
    min-height:52px;
    padding:8px 10px;
    font-size:13px;
  }

  [data-view="myorders"] .my-order-meta > strong{
    font-size:17px;
  }

  [data-view="myorders"] .my-order-actions{
    grid-template-columns:1fr 1fr;
    gap:10px;
    margin-top:16px;
    padding-top:16px;
  }

  [data-view="myorders"] .my-order-action{
    min-height:50px;
    font-size:15px;
    border-radius:15px;
  }

  [data-view="myorders"] .badge{
    align-self:flex-start;
    min-height:38px;
    font-size:13px;
  }
}


/* BSO ORDER PDF BUTTON V1 */
[data-view="myorders"] .my-order-pdf{
  border:1px solid rgba(255,255,255,.12);
  background:#17304a;
  color:#fff;
}

[data-view="myorders"] .my-order-pdf:hover,
[data-view="myorders"] .my-order-pdf:focus-visible{
  border-color:#00aeef;
  background:#214663;
  box-shadow:0 12px 26px rgba(17,45,68,.20);
}

:root[data-theme="light"]
[data-view="myorders"] .my-order-pdf{
  border-color:#17304a;
  background:#17304a;
  color:#fff;
}



/* BSO ORDER TRACKING LIGHT MODE FIX V1 */
:root[data-theme="light"] [data-view="orders"]{
  color:#17304a !important;
}

:root[data-theme="light"] [data-view="orders"] .page-title h1{
  color:#17304a !important;
  text-shadow:none !important;
}

:root[data-theme="light"] [data-view="orders"] .page-title span{
  color:#00a4e4 !important;
  text-shadow:none !important;
}

/* Search form */
:root[data-theme="light"] [data-view="orders"] .track-order-form{
  padding:18px;
  border:1px solid #dce6ec !important;
  border-radius:22px;
  background:#ffffff !important;
  box-shadow:0 14px 34px rgba(17,45,68,.10) !important;
}

:root[data-theme="light"] [data-view="orders"] .track-order-form label{
  color:#17304a !important;
  font-weight:800;
  opacity:1 !important;
}

:root[data-theme="light"] [data-view="orders"] .track-order-form em{
  color:#e0294d !important;
}

:root[data-theme="light"] [data-view="orders"] .track-order-form input{
  background:#f5f8fa !important;
  border:1px solid #d7e2e9 !important;
  color:#17304a !important;
  box-shadow:none !important;
}

:root[data-theme="light"] [data-view="orders"] .track-order-form input::placeholder{
  color:#8b9aa6 !important;
  opacity:1 !important;
}

:root[data-theme="light"] [data-view="orders"] .track-order-form input:focus{
  border-color:#00aeef !important;
  box-shadow:0 0 0 3px rgba(0,174,239,.12) !important;
}

:root[data-theme="light"] [data-view="orders"] .track-order-hint{
  color:#607487 !important;
  text-shadow:none !important;
}

/* Remove the old large glass wrapper */
:root[data-theme="light"] [data-view="orders"] #trackOrderResult{
  padding:0 !important;
  border:0 !important;
  background:transparent !important;
  box-shadow:none !important;
}

/* Result cards */
:root[data-theme="light"] [data-view="orders"] .track-header,
:root[data-theme="light"] [data-view="orders"] .track-timeline,
:root[data-theme="light"] [data-view="orders"] .track-items{
  margin-top:18px;
  padding:20px;
  border:1px solid #dce6ec !important;
  border-radius:22px;
  background:#ffffff !important;
  color:#17304a !important;
  box-shadow:0 14px 34px rgba(17,45,68,.10) !important;
}

/* Order header */
:root[data-theme="light"] [data-view="orders"] .track-order-num{
  color:#17304a !important;
  font-weight:900;
  text-shadow:none !important;
}

:root[data-theme="light"] [data-view="orders"] .track-order-num small{
  color:#718596 !important;
  opacity:1 !important;
}

:root[data-theme="light"] [data-view="orders"] .track-total strong{
  color:#008fc9 !important;
  text-shadow:none !important;
}

:root[data-theme="light"] [data-view="orders"] .track-price-badge{
  border:1px solid #cfe8db !important;
  background:#eaf7f0 !important;
  color:#00864a !important;
}

/* Customer information */
:root[data-theme="light"] [data-view="orders"] .track-meta{
  gap:10px;
}

:root[data-theme="light"] [data-view="orders"] .track-meta-item{
  padding:12px 14px;
  border:1px solid #e1e9ee !important;
  border-radius:14px;
  background:#f7fafc !important;
}

:root[data-theme="light"] [data-view="orders"] .track-meta-item span{
  color:#718596 !important;
  opacity:1 !important;
}

:root[data-theme="light"] [data-view="orders"] .track-meta-item strong{
  color:#17304a !important;
  opacity:1 !important;
  text-shadow:none !important;
}

/* Timeline */
:root[data-theme="light"] [data-view="orders"] .track-timeline h3,
:root[data-theme="light"] [data-view="orders"] .track-items h3{
  color:#17304a !important;
  font-weight:900;
  text-shadow:none !important;
}

:root[data-theme="light"] [data-view="orders"] .tl-name{
  color:#607487 !important;
  opacity:1 !important;
  text-shadow:none !important;
}

:root[data-theme="light"] [data-view="orders"] .tl-dot{
  border:2px solid #d5e0e7 !important;
  background:#eef3f6 !important;
  color:#607487 !important;
  box-shadow:none !important;
}

:root[data-theme="light"] [data-view="orders"] .tl-line{
  background:#dce6ec !important;
}

:root[data-theme="light"] [data-view="orders"] .tl-step.done .tl-dot,
:root[data-theme="light"] [data-view="orders"] .tl-step.current .tl-dot{
  border-color:#008fc9 !important;
  background:#0789c6 !important;
  color:#ffffff !important;
}

:root[data-theme="light"] [data-view="orders"] .tl-step.done .tl-line{
  background:#0789c6 !important;
}

:root[data-theme="light"] [data-view="orders"] .tl-step.done .tl-name,
:root[data-theme="light"] [data-view="orders"] .tl-step.current .tl-name{
  color:#17304a !important;
  font-weight:800;
}

:root[data-theme="light"] [data-view="orders"] .tl-step.current .tl-dot{
  box-shadow:0 0 0 7px rgba(0,174,239,.15) !important;
}

:root[data-theme="light"] [data-view="orders"] .tl-current-badge{
  border:1px solid #bee3f3 !important;
  background:#e9f7fd !important;
  color:#007dac !important;
}

/* Products */
:root[data-theme="light"] [data-view="orders"] .track-item-row{
  border-bottom:1px solid #e5edf2 !important;
}

:root[data-theme="light"] [data-view="orders"] .track-item-name strong{
  color:#17304a !important;
  opacity:1 !important;
  text-shadow:none !important;
}

:root[data-theme="light"] [data-view="orders"] .track-item-name small{
  color:#718596 !important;
  opacity:1 !important;
}

:root[data-theme="light"] [data-view="orders"] .track-item-price span{
  color:#607487 !important;
  opacity:1 !important;
}

:root[data-theme="light"] [data-view="orders"] .track-item-price strong{
  color:#17304a !important;
  opacity:1 !important;
  text-shadow:none !important;
}

:root[data-theme="light"] [data-view="orders"] .track-items-total{
  margin-top:14px;
  padding:15px 16px;
  border:1px solid #cfe8f3 !important;
  border-radius:14px;
  background:#eef8fc !important;
}

:root[data-theme="light"] [data-view="orders"] .track-items-total span{
  color:#17304a !important;
  font-weight:800;
}

:root[data-theme="light"] [data-view="orders"] .track-items-total strong{
  color:#008fc9 !important;
  opacity:1 !important;
  text-shadow:none !important;
}

/* Empty state */
:root[data-theme="light"] [data-view="orders"] #trackOrderEmpty{
  border-color:#dce6ec !important;
  background:#ffffff !important;
  color:#17304a !important;
}

:root[data-theme="light"] [data-view="orders"] #trackOrderEmpty h2{
  color:#17304a !important;
}

:root[data-theme="light"] [data-view="orders"] #trackOrderEmpty p{
  color:#607487 !important;
}

@media(max-width:680px){
  :root[data-theme="light"] [data-view="orders"] .track-order-form,
  :root[data-theme="light"] [data-view="orders"] .track-header,
  :root[data-theme="light"] [data-view="orders"] .track-timeline,
  :root[data-theme="light"] [data-view="orders"] .track-items{
    padding:16px;
    border-radius:20px;
  }

  :root[data-theme="light"] [data-view="orders"] .track-header-top{
    gap:12px;
  }

  :root[data-theme="light"] [data-view="orders"] .track-order-num{
    font-size:17px;
  }
}


/* BSO CUSTOMER CANCEL ORDER UI V1 */
.cancel-order-modal-open{
  overflow:hidden;
}

.cancel-order-modal[hidden]{
  display:none !important;
}

.cancel-order-modal{
  position:fixed;
  z-index:99999;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:20px;
  background:rgba(4,15,26,.72);
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
}

.cancel-order-dialog{
  position:relative;
  width:min(100%,460px);
  padding:27px;
  border:1px solid rgba(255,255,255,.13);
  border-radius:24px;
  background:#17304a;
  color:#fff;
  box-shadow:0 28px 80px rgba(0,0,0,.36);
}

.cancel-order-close{
  position:absolute;
  top:14px;
  left:16px;
  width:38px;
  height:38px;
  border:0;
  border-radius:50%;
  background:rgba(255,255,255,.08);
  color:#fff;
  font-size:25px;
  cursor:pointer;
}

.cancel-order-icon{
  display:grid;
  place-items:center;
  width:58px;
  height:58px;
  margin:0 auto 13px;
  border-radius:50%;
  background:rgba(231,76,60,.16);
  color:#ff776c;
  font-size:29px;
  font-weight:900;
}

.cancel-order-dialog h2{
  margin:0;
  text-align:center;
  font-size:23px;
}

.cancel-order-dialog > p{
  margin:7px 0 20px;
  color:#b7c7d4;
  text-align:center;
  font-size:13px;
}

.cancel-order-dialog label{
  display:block;
  margin-top:14px;
}

.cancel-order-dialog label > span{
  display:block;
  margin-bottom:7px;
  font-size:13px;
  font-weight:800;
}

.cancel-order-dialog label small{
  color:#9eb0bf;
  font-weight:500;
}

.cancel-order-dialog select,
.cancel-order-dialog textarea{
  width:100%;
  border:1px solid rgba(255,255,255,.14);
  border-radius:13px;
  background:rgba(255,255,255,.07);
  color:#fff;
  font-family:inherit;
  font-size:14px;
  outline:none;
}

.cancel-order-dialog select{
  min-height:49px;
  padding:0 13px;
}

.cancel-order-dialog select option{
  background:#17304a;
  color:#fff;
}

.cancel-order-dialog textarea{
  min-height:100px;
  padding:12px 13px;
  resize:vertical;
}

.cancel-order-dialog select:focus,
.cancel-order-dialog textarea:focus{
  border-color:#00aeef;
  box-shadow:0 0 0 3px rgba(0,174,239,.13);
}

.cancel-order-actions{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  margin-top:20px;
}

.cancel-order-actions button{
  min-height:49px;
  border-radius:13px;
  font-family:inherit;
  font-size:14px;
  font-weight:900;
  cursor:pointer;
}

.cancel-order-back{
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.07);
  color:#fff;
}

.cancel-order-confirm{
  border:1px solid #dc3e42;
  background:#dc3e42;
  color:#fff;
}

.cancel-order-confirm:disabled{
  cursor:not-allowed;
  opacity:.65;
}

[data-view="myorders"] .my-order-cancel{
  border:1px solid rgba(255,91,91,.38);
  background:rgba(220,62,66,.12);
  color:#ff8a86;
}

[data-view="myorders"] .my-order-cancel:hover{
  border-color:#dc3e42;
  background:#dc3e42;
  color:#fff;
}

:root[data-theme="light"] .cancel-order-dialog{
  border-color:#dce6ec;
  background:#fff;
  color:#17304a;
}

:root[data-theme="light"] .cancel-order-close{
  background:#eef3f6;
  color:#17304a;
}

:root[data-theme="light"] .cancel-order-dialog > p,
:root[data-theme="light"] .cancel-order-dialog label small{
  color:#667c8d;
}

:root[data-theme="light"] .cancel-order-dialog select,
:root[data-theme="light"] .cancel-order-dialog textarea{
  border-color:#d8e3e9;
  background:#f5f8fa;
  color:#17304a;
}

:root[data-theme="light"] .cancel-order-dialog select option{
  background:#fff;
  color:#17304a;
}

:root[data-theme="light"] .cancel-order-back{
  border-color:#d8e3e9;
  background:#f5f8fa;
  color:#17304a;
}

:root[data-theme="light"]
[data-view="myorders"] .my-order-cancel{
  border-color:#f1b9b9;
  background:#fff2f2;
  color:#c72f35;
}

@media(max-width:680px){
  .cancel-order-dialog{
    padding:23px 18px 18px;
    border-radius:22px;
  }
}


/* BSO CENTERED CART TOAST V1 */
#toast{
  position:fixed !important;
  z-index:100000 !important;
  top:auto !important;
  right:auto !important;
  left:50% !important;
  bottom:92px !important;

  width:max-content !important;
  max-width:min(90vw,430px) !important;
  margin:0 !important;
  padding:13px 20px !important;

  direction:rtl;
  text-align:center !important;
  white-space:normal;

  transform:translate(-50%,20px) !important;
  pointer-events:none;
}

#toast.visible{
  transform:translate(-50%,0) !important;
}

@media(min-width:681px){
  #toast{
    bottom:28px !important;
  }
}




/* BSO CLEAN ADD BUTTON FINAL V4 */
html body .product-card .add-button,
html body .products-grid .add-button{
  position:relative !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  flex-wrap:nowrap !important;

  width:100% !important;
  min-height:52px !important;
  padding:0 12px !important;

  border-radius:999px !important;
  white-space:nowrap !important;
  overflow:hidden !important;

  direction:rtl !important;
  text-align:center !important;
  font-size:14px !important;
  font-weight:900 !important;
  line-height:1.2 !important;
}

html body .product-card .add-button > span,
html body .products-grid .add-button > span{
  display:none !important;
  position:static !important;
}

@media(max-width:380px){
  html body .product-card .add-button,
  html body .products-grid .add-button{
    min-height:50px !important;
    padding:0 8px !important;
    font-size:13px !important;
  }
}
