/*
 * ============================================================
 *  TechMart.in — Global Stylesheet
 *  File: assets/css/styles.css
 *
 *  Extracted from index-final-claude.html
 *  Add page-specific overrides at the bottom.
 * ============================================================
 */

*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;}
body{font-family:Arial,Helvetica,sans-serif;background:#f5f6fa;}
a{text-decoration:none;color:inherit;}
ul{list-style:none;}
button{cursor:pointer;border:none;font-family:inherit;background:none;}
img{display:block;}
/* ══════ HEADER ══════ */

/* ══════ HEADER ══════ *//* ══════ HEADER ══════ */
.header{
  background:#1d3342;
  color:#fff;
  display:flex;align-items:center;
  padding:10px 18px;
  gap:14px;
  position:sticky;top:0;z-index:900;
  border-bottom:2px solid #ff7a1a;
}

/* ── Logo (bigger) ── */
.logo{display:flex;align-items:center;gap:11px;cursor:pointer;white-space:nowrap;flex-shrink:0;}
.logo-mark-svg{width:38px;height:30px;display:block;transition:filter .2s;}
.logo:hover .logo-mark-svg{filter:drop-shadow(0 0 7px rgba(255,122,26,.6));}
.logo-mark-t{fill:#fff;}
.logo-mark-c{fill:#ff7a1a;}
.logo-wordmark{font-size:24px;font-weight:900;letter-spacing:1.2px;color:#fff;text-transform:uppercase;}
.logo-c{color:#ff7a1a;}

/* ── Location ── */
.header-location{display:flex;align-items:center;gap:6px;cursor:pointer;padding:5px 8px;border-radius:4px;white-space:nowrap;flex-shrink:0;transition:background .15s;}
.header-location:hover{background:rgba(255,255,255,.08);}
.header-location-icon{font-size:15px;color:#ff7a1a;}
.header-location-text{display:flex;flex-direction:column;line-height:1.25;}
.header-location-text small{color:#9a9a9a;font-size:11px;}
.header-location-text strong{font-size:13px;color:#fff;}

/* ── Search (pill-shaped, with category dropdown) ── */
.search-container{flex:1;display:flex;height:40px;border-radius:20px;overflow:hidden;min-width:200px;background:#fff;box-shadow:0 0 0 1px rgba(255,122,26,.3);transition:box-shadow .15s;}
.search-container:focus-within{box-shadow:0 0 0 2px #ff7a1a;}
.search-category{background:#f3f3f3;border:none;padding:0 10px;font-size:12px;color:#333;width:64px;cursor:pointer;border-right:1px solid #dcdcdc;outline:none;}
.search-input{flex:1;border:none;padding:0 14px;font-size:14px;outline:none;color:#111;background:#fff;}
.search-btn{width:44px;background:#ff7a1a;border:none;font-size:16px;color:#0a0a0a;cursor:pointer;border-radius:20px;margin:2px;transition:background .15s;}
.search-btn:hover{background:#ff8f3d;}

/* ── Language ── */
.header-lang{display:flex;align-items:center;gap:5px;font-size:13px;font-weight:bold;cursor:pointer;padding:6px 8px;border-radius:4px;white-space:nowrap;flex-shrink:0;transition:background .15s;}
.header-lang:hover{background:rgba(255,255,255,.08);}
.header-lang img{width:20px;border-radius:2px;}

/* ── Notification bell ── */
.header-notif{position:relative;display:flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:50%;cursor:pointer;transition:background .15s;flex-shrink:0;}
.header-notif:hover{background:rgba(255,255,255,.08);}
.header-notif i{font-size:18px;color:#fff;}
.notif-count{position:absolute;top:1px;right:1px;background:#ff7a1a;color:#0a0a0a;font-size:10px;font-weight:700;min-width:15px;height:15px;border-radius:8px;display:flex;align-items:center;justify-content:center;padding:0 3px;}

/* ── Account ── */
.header-account{cursor:pointer;white-space:nowrap;padding:6px 8px;border-radius:4px;line-height:1.25;flex-shrink:0;position:relative;transition:background .15s;}
.header-account:hover{background:rgba(255,255,255,.08);}
.header-account small{display:block;font-size:11px;color:#9a9a9a;}
.header-account strong{font-size:13px;color:#fff;}

.header-account-dropdown{padding-bottom:12px;margin-bottom:-12px;}
.header-account-menu{display:none;position:absolute;top:100%;right:0;background:#fff;border-radius:6px;box-shadow:0 10px 28px rgba(0,0,0,.35);min-width:160px;padding:6px 0;z-index:950;}
.header-account-dropdown:hover .header-account-menu{display:block;}
.header-account-menu a{display:block;padding:9px 16px;font-size:13px;color:#1a1a1a;font-weight:500;white-space:nowrap;transition:background .12s,color .12s;}
.header-account-menu a:hover{background:#fff3e9;color:#e6660a;}

/* ── Returns & Orders ── */
.header-returns{cursor:pointer;white-space:nowrap;padding:6px 8px;border-radius:4px;line-height:1.25;flex-shrink:0;transition:background .15s;}
.header-returns:hover{background:rgba(255,255,255,.08);}
.header-returns small{display:block;font-size:11px;color:#9a9a9a;}
.header-returns strong{font-size:13px;color:#fff;}

/* ── Cart ── */
.header-cart{display:flex;align-items:center;gap:5px;font-size:13px;font-weight:bold;cursor:pointer;padding:6px 8px;border-radius:4px;white-space:nowrap;position:relative;flex-shrink:0;color:#fff;transition:background .15s;}
.header-cart:hover{background:rgba(255,255,255,.08);}
.header-cart i{font-size:26px;color:#fff;}
.cart-count{position:absolute;top:0;left:20px;background:#ff7a1a;color:#0a0a0a;font-size:11px;font-weight:bold;min-width:18px;height:18px;border-radius:9px;display:flex;align-items:center;justify-content:center;padding:0 3px;}



/* ══════ NAVBAR ══════ */
.navbar{background:#1d3342;display:flex;align-items:center;padding:0 18px;min-height:38px;}
.navbar-all{display:flex;align-items:center;gap:6px;color:#fff;font-size:13px;font-weight:bold;cursor:pointer;padding:8px 10px;border-radius:3px;white-space:nowrap;margin-right:8px;}
.navbar-all:hover{outline:1px solid #fff;}
.nav-links{display:flex;align-items:center;overflow-x:auto;scrollbar-width:none;}
.nav-links::-webkit-scrollbar{display:none;}
.nav-links li a{color:#fff;font-size:13px;padding:9px 10px;display:block;border-radius:3px;white-space:nowrap;}
.nav-links li a:hover{outline:1px solid #fff;}
.nav-links li a.orange{color:#febd69;font-weight:bold;}

/* ══════ HERO LAYOUT ══════ */
.hero-section{
  max-width:1400px;
  margin:16px auto;
  padding:0 12px;
  display:flex;
  gap:14px;
  /* sidebar will stretch to match right column */
  align-items:stretch;
}

/* ══════════════════════════════════════════════════
   SIDEBAR
   
   Strategy: one outer box (clips overflow).
   Inside: a "stage" div that is 3× wide and slides
   left/right. Each "screen" is 1/3 of the stage.
   This is the most reliable approach — no absolute
   positioning conflicts, no z-index issues.
   
   Stage positions:
     level 0 (root)  → translateX(0)
     level 1 (L2)    → translateX(-33.333%)
     level 2 (L3)    → translateX(-66.666%)
══════════════════════════════════════════════════ */
.sidebar{
  width:280px;
  flex-shrink:0;
  background:#1d3342;
  border-radius:8px;
  /* stretch to full height of right column */
  display:flex;
  flex-direction:column;
}

/* The clipping window */
.sb-clip{
  flex:1;                 /* fills sidebar height */
  overflow:hidden;        /* CLIPS the stage */
  border-radius:8px;
  position:relative;
}

/* The sliding stage — 3 screens wide */
.sb-stage{
  display:flex;
  width:300%;            /* 3 screens */
  height:100%;
  transform:translateX(0);
  transition:transform .3s cubic-bezier(.4,0,.2,1);
  will-change:transform;
}

/* Each screen = 1/3 of stage = 1 full sidebar width.
   FIX: overflow changed from hidden → visible-but-clipped-by-child.
   The screen itself must NOT clip vertically anymore, because
   .sb-screen-inner now needs to scroll internally when a
   category has more subcategories than fit in the sidebar's
   height (e.g. Computers has 21 subcategories). Horizontal
   clipping is still handled by .sb-clip on the parent. */
.sb-screen{
  width:33.333%;
  flex-shrink:0;
  height:100%;
  display:flex;
  flex-direction:column;
  overflow:hidden;       /* clips horizontally; inner div scrolls vertically */
}

/* Items fill the screen evenly, scroll if they don't fit.
   FIX: this used to be two separate rule blocks (one setting
   flex/display, another added later for overflow) — merged
   into a single source of truth here. */
.sb-screen-inner{
  flex:1;
  display:flex;
  flex-direction:column;
  overflow-y:auto;
  overflow-x:hidden;
  scrollbar-width:thin;
  scrollbar-color:rgba(255,255,255,.25) transparent;
}
.sb-screen-inner::-webkit-scrollbar{width:5px;}
.sb-screen-inner::-webkit-scrollbar-thumb{background:rgba(255,255,255,.25);border-radius:3px;}
.sb-screen-inner::-webkit-scrollbar-track{background:transparent;}

/* ── Back bar (top of L2/L3 screens) ── */
.sb-backbar{
  display:flex;align-items:center;gap:10px;
  padding:11px 15px;
  background:rgba(0,0,0,.3);
  cursor:pointer;
  border-bottom:1px solid rgba(255,255,255,.12);
  flex-shrink:0;
  transition:background .15s;
}
.sb-backbar:hover{background:rgba(0,0,0,.45);}
.sb-backbar i{font-size:11px;color:rgba(255,255,255,.65);}
.sb-backbar .bk-title{font-size:13px;font-weight:700;color:#fff;}

/* ── L1 row ──
   FIX: rows now self-size via padding instead of relying on
   JS to calculate and inject pixel heights. This is what was
   breaking Level 2 (and L1/L3): equalizeRows() could run
   before content existed, or race against window resize,
   leaving rows collapsed to 0px height. min-height is a
   safety floor; flex:0 0 auto means rows sit at their natural
   content height and do NOT stretch to fill leftover sidebar
   space — that stretching is what caused the huge gaps between
   short lists (e.g. "Server & Components" with only 6 items
   inside a tall sidebar matched to the slider's height). */
.sb-l1{
  display:flex;align-items:center;gap:11px;
  padding:11px 14px;
  min-height:40px;
  flex:0 0 auto;
  color:#fff;
  font-size:13px;font-weight:500;
  cursor:pointer;
  border-bottom:1px solid rgba(255,255,255,.07);
  transition:background .15s;
  user-select:none;
}
.sb-l1:hover,.sb-l1.active-row{background:rgba(255,255,255,.13);}
.sb-l1 .r-icon{width:20px;text-align:center;font-size:13px;opacity:.85;flex-shrink:0;}
.sb-l1 .r-label{flex:1;}
.sb-l1 .r-arrow{font-size:10px;opacity:.5;flex-shrink:0;}

/* ── L2 row ──
   FIX: same self-sizing approach. flex:0 0 auto (not flex:1)
   is the key change here — flex-grow:1 was making every row
   stretch to consume equal leftover space whenever a category
   had few subcategories relative to the sidebar's height,
   producing the large gaps between "Rack Servers" / "NAS
   Storage" etc. seen in Server & Components. */
.sb-l2{
  display:flex;align-items:center;justify-content:space-between;
  padding:11px 15px;
  min-height:40px;
  flex:0 0 auto;
  color:rgba(255,255,255,.85);
  font-size:13px;
  cursor:pointer;
  border-bottom:1px solid rgba(255,255,255,.06);
  transition:background .15s;
}
.sb-l2:hover,.sb-l2.active-row{background:rgba(255,255,255,.11);color:#fff;}
.sb-l2 .r-arrow{font-size:10px;opacity:.4;}

/* ── L3 row ──
   FIX: same flex:0 0 auto fix applied for consistency. */
.sb-l3{
  display:flex;align-items:center;gap:9px;
  padding:9px 15px 9px 18px;
  min-height:36px;
  flex:0 0 auto;
  color:rgba(255,255,255,.75);
  font-size:12.5px;
  cursor:pointer;
  border-bottom:1px solid rgba(255,255,255,.05);
  transition:all .15s;
}
.sb-l3:hover{background:rgba(255,255,255,.09);color:#febd69;}
.sb-l3 .dot{width:5px;height:5px;border-radius:50%;background:rgba(255,255,255,.35);flex-shrink:0;}
.sb-l3:hover .dot{background:#febd69;}

/* ══════ HERO RIGHT ══════ */
.hero-right{flex:1;display:flex;flex-direction:column;gap:14px;min-width:0;}

/* ══════ SLIDER ══════ */
.slider-wrap{position:relative;border-radius:8px;overflow:hidden;background:#0d1520;height:320px;}
.slide{position:absolute;inset:0;display:flex;align-items:center;justify-content:flex-end;padding-right:60px;opacity:0;transition:opacity .7s ease;pointer-events:none;}
.slide.active{opacity:1;pointer-events:all;}
.slide-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;}
.slide-overlay{position:absolute;inset:0;background:linear-gradient(to left,rgba(0,0,0,.68) 28%,rgba(0,0,0,.1) 65%,transparent);}
.slide-content{position:relative;z-index:2;text-align:right;max-width:420px;}
.slide-eyebrow{font-size:11px;font-weight:700;letter-spacing:1.4px;text-transform:uppercase;color:#febd69;margin-bottom:6px;}
.slide-title{font-size:36px;font-weight:900;color:#fff;line-height:1.1;margin-bottom:8px;text-shadow:0 2px 12px rgba(0,0,0,.6);}
.slide-title .accent{color:#febd69;}
.slide-badge{display:inline-block;background:#1a5fa8;color:#fff;font-size:12px;font-weight:700;padding:5px 14px;border-radius:4px;margin-bottom:14px;}
.slide-btn{background:#febd69;color:#111;font-size:13px;font-weight:700;padding:9px 22px;border-radius:4px;display:inline-flex;align-items:center;gap:6px;cursor:pointer;transition:background .2s,transform .1s;}
.slide-btn:hover{background:#f3a847;transform:translateY(-1px);}
.slide-affirm{font-size:11px;color:rgba(255,255,255,.55);margin-top:8px;}
.slider-arrow{position:absolute;top:50%;transform:translateY(-50%);background:rgba(0,0,0,.45);color:#fff;width:36px;height:36px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:15px;cursor:pointer;z-index:10;border:none;transition:background .2s;}
.slider-arrow:hover{background:rgba(0,0,0,.75);}
.slider-arrow.prev{left:12px;}.slider-arrow.next{right:12px;}
.slider-dots{position:absolute;bottom:11px;left:50%;transform:translateX(-50%);display:flex;gap:7px;z-index:10;}
.slider-dot{width:7px;height:7px;border-radius:50%;background:rgba(255,255,255,.38);cursor:pointer;border:none;transition:background .2s,transform .2s;}
.slider-dot.active{background:#febd69;transform:scale(1.3);}

/* ══════ PRODUCT CARDS ══════ */
.products-row{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;}

.pcard{background:#fff;border-radius:8px;overflow:hidden;display:flex;flex-direction:column;cursor:pointer;transition:box-shadow .22s,transform .22s;position:relative;}
.pcard:hover{box-shadow:0 6px 22px rgba(0,0,0,.15);transform:translateY(-3px);}

.pcard-ribbon{position:absolute;top:10px;left:0;color:#fff;font-size:10px;font-weight:700;padding:3px 8px 3px 10px;border-radius:0 3px 3px 0;z-index:2;line-height:1.4;}
.pcard-wish{position:absolute;top:8px;right:8px;z-index:2;background:#fff;border:1px solid #e0e0e0;width:28px;height:28px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:13px;color:#bbb;transition:all .2s;cursor:pointer;}
.pcard-wish:hover,.pcard-wish.wished{color:#e53935;border-color:#e53935;}
.pcard-img{background:#fff;display:flex;align-items:center;justify-content:center;padding:18px 14px;height:165px;overflow:hidden;}
.pcard-img img{max-height:130px;max-width:100%;object-fit:contain;transition:transform .3s;}
.pcard:hover .pcard-img img{transform:scale(1.06);}
.pcard-body{padding:12px 12px 14px;display:flex;flex-direction:column;flex:1;gap:5px;}
.pcard-brand{font-size:10px;font-weight:700;color:#1a5fa8;text-transform:uppercase;letter-spacing:.4px;}
.pcard-name{font-size:12.5px;font-weight:600;color:#111;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
.pcard-stars{display:flex;align-items:center;gap:4px;}
.pcard-stars .st{color:#e67e00;font-size:12px;letter-spacing:-1px;}
.pcard-stars .rc{font-size:11px;color:#888;}
.pcard-price-row{display:flex;align-items:baseline;gap:7px;margin-top:2px;}
.pcard-price{font-size:18px;font-weight:800;color:#cc0000;}
.pcard-price sup{font-size:11px;vertical-align:super;}
.pcard-was{font-size:11px;color:#aaa;text-decoration:line-through;}
.pcard-save{font-size:10px;font-weight:700;color:#1a7a3a;background:#e6f4ea;padding:1px 5px;border-radius:3px;}
.pcard-ship{font-size:11px;color:#1a7a3a;font-weight:600;display:flex;align-items:center;gap:4px;margin-top:1px;}
.pcard-btn{margin-top:auto;padding-top:10px;}
.pcard-btn button{width:100%;background:#febd69;color:#111;font-size:12.5px;font-weight:700;padding:9px 0;border-radius:5px;border:none;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:6px;transition:background .2s,transform .1s;}
.pcard-btn button:hover{background:#f3a847;transform:translateY(-1px);}
.pcard-btn button:active{transform:scale(.97);}

/* ══════ RESPONSIVE ══════ */
@media(max-width:1100px){.products-row{grid-template-columns:repeat(3,1fr);}}
@media(max-width:900px){.hero-section{flex-direction:column;}.sidebar{width:100%;min-height:300px;}}
@media(max-width:640px){.header{flex-wrap:wrap;}.search-container{width:100%;order:3;}.header-lang,.header-account,.header-orders{display:none;}.products-row{grid-template-columns:repeat(2,1fr);}.slide-title{font-size:24px;}.slider-wrap{height:220px;}}

/* ══════════════════════════════════════════════════════
   OFFER BANNER SECTION
   Layout (3-column):
   Col A: 1 tall hero banner   (spans 2 rows)
   Col B: 1 wide top + 2 small bottom (2 rows)
   Col C: 1 tall photo banner  (spans 2 rows)
   Reusable via data-attributes; driven by JS config.
══════════════════════════════════════════════════════ */
.offer-section{
  max-width:1400px;
  margin:0 auto 28px;
  padding:0 12px;
}
.offer-section-title{
  font-size:20px;font-weight:800;color:#111;
  margin-bottom:14px;
  display:flex;align-items:center;gap:10px;
}
.offer-section-title::after{
  content:'';flex:1;height:2px;
  background:linear-gradient(to right,#dde1ec,transparent);
}

/* The grid */
.offer-grid{
  display:grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  grid-template-rows: 235px 235px;
  gap:10px;
}

/* ── Base banner card ── */
.ob{
  position:relative;
  border-radius:12px;
  overflow:hidden;
  cursor:pointer;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  transition:transform .25s,box-shadow .25s;
  background:#c8d4e8;    /* fallback while img loads */
  text-decoration:none;
}
.ob:hover{
  transform:scale(1.015);
  box-shadow:0 8px 28px rgba(0,0,0,.22);
  z-index:2;
}

/* Background image */
.ob-img{
  position:absolute;inset:0;
  width:100%;height:100%;
  object-fit:cover;
  transition:transform .4s ease;
}
.ob:hover .ob-img{ transform:scale(1.06); }

/* Gradient overlay — direction depends on class */
.ob::after{
  content:'';
  position:absolute;inset:0;
  pointer-events:none;
}
.ob-dark::after{
  background:linear-gradient(to top,rgba(0,0,0,.55) 0%,rgba(0,0,0,.1) 60%,transparent 100%);
}
.ob-light::after{
  background:linear-gradient(to bottom,rgba(255,255,255,.88) 0%,rgba(255,255,255,.55) 55%,transparent 100%);
}
/* Specific tint overlays for col-B small cards */
.ob-tint-blue::after { background:rgba(12,40,100,.42); }
.ob-tint-teal::after { background:rgba(0,80,100,.38); }

/* Content box sits above overlay (z-index) */
.ob-body{
  position:relative;z-index:2;
  padding:20px 22px 22px;
}
/* Light-themed cards → dark text */
.ob-light .ob-body{ padding:22px 22px 14px; }

.ob-eyebrow{
  font-size:12px;font-weight:700;
  letter-spacing:.3px;
  margin-bottom:5px;
  line-height:1.3;
}
.ob-dark  .ob-eyebrow{ color:rgba(255,255,255,.8); }
.ob-light .ob-eyebrow{ color:#333; }
.ob-tint-blue .ob-eyebrow,.ob-tint-teal .ob-eyebrow{ color:rgba(255,255,255,.85); }

.ob-headline{
  font-weight:900;
  line-height:1.2;
  margin-bottom:10px;
}
.ob-dark  .ob-headline{ color:#fff; font-size:22px; }
.ob-light .ob-headline{ color:#111; font-size:18px; }
.ob-tint-blue .ob-headline,.ob-tint-teal .ob-headline{ color:#fff; font-size:17px; }

/* Shop now link */
.ob-link{
  display:inline-flex;align-items:center;gap:5px;
  font-size:13px;font-weight:700;
  border-bottom:1.5px solid currentColor;
  padding-bottom:1px;
  transition:gap .2s;
  width:fit-content;
}
.ob:hover .ob-link{ gap:8px; }
.ob-dark  .ob-link{ color:#fff; }
.ob-light .ob-link{ color:#0046be; }
.ob-tint-blue .ob-link,.ob-tint-teal .ob-link{ color:#fff; }

/* ── Grid placement helpers ── */
.ob-span-rows { grid-row: span 2; }

/* Col C: content at top-right corner */
.ob-top-right .ob-body{
  justify-self:flex-start;
  align-self:flex-start;
  padding:22px 22px 0;
}
/* Flip gradient for col C */
.ob-top-right::after{
  background:linear-gradient(to bottom,rgba(0,0,0,.62) 0%,rgba(0,0,0,.2) 50%,transparent 100%);
}

/* ── Responsive ── */

/* explicit placement so col-B bottom two cards sit in row-2, cols 2-3 */
.ob-col-a        { grid-column: 1; grid-row: 1 / span 2; }
.ob-col-b-top    { grid-column: 2 / span 2; grid-row: 1; }
.ob-col-b-bot-left  { grid-column: 2; grid-row: 2; }
.ob-col-b-bot-right { grid-column: 3; grid-row: 2; }
.ob-col-c        { grid-column: 4; grid-row: 1 / span 2; }

@media(max-width:1100px){
  .offer-grid{
    grid-template-columns:1fr 1fr;
    grid-template-rows:240px 200px 200px;
    height:auto;
  }
  .ob-span-rows{ grid-row:span 1; }
  .ob-col-c{ display:none; }
}
@media(max-width:640px){
  .offer-grid{
    grid-template-columns:1fr;
    grid-template-rows:repeat(4,220px);
    height:auto;
  }
  .ob-col-b-top{ grid-column:span 1; }
}

/* ══════════════════════════════════════════════════
   PRODUCT CAROUSEL
══════════════════════════════════════════════════ */
.pcar-section{
  background:#fff;
  border-top:1px solid #e8eaf0;
  border-bottom:1px solid #e8eaf0;
  padding:24px 0 28px;
  margin-bottom:8px;
}
.pcar-wrap{ max-width:1400px; margin:0 auto; padding:0 12px; }

.pcar-header{
  display:flex; align-items:baseline; gap:16px;
  margin-bottom:18px;
}
.pcar-title{
  font-size:22px; font-weight:900; color:#0a1f5c;
  line-height:1.2;
}
.pcar-see-more{
  font-size:13px; font-weight:700; color:#0a1f5c;
  display:flex; align-items:center; gap:2px;
  white-space:nowrap;
  transition:color .15s;
}
.pcar-see-more:hover{ color:#e67e00; }

/* Arrow buttons */
.pcar-btn{
  position:absolute; top:50%; transform:translateY(-50%);
  width:38px; height:38px; border-radius:50%;
  background:#fff; border:1px solid #d0d4e0;
  box-shadow:0 2px 10px rgba(0,0,0,.12);
  display:flex; align-items:center; justify-content:center;
  font-size:14px; color:#333; z-index:4;
  cursor:pointer; transition:all .2s;
  flex-shrink:0;
}
.pcar-btn:hover{ background:#0a1f5c; color:#fff; border-color:#0a1f5c; }
.pcar-btn:disabled{ opacity:.35; pointer-events:none; }

.pcar-outer{
  position:relative;
}
.pcar-btn-prev{ left:-16px; }
.pcar-btn-next{ right:-16px; }

/* Track */
.pcar-track{
  display:flex;
  gap:0;
  overflow-x:auto;
  scroll-behavior:smooth;
  scrollbar-width:none;
  /* slightly inset so arrows don't overlap */
  padding:4px 2px 8px;
  -webkit-overflow-scrolling:touch;
}
.pcar-track::-webkit-scrollbar{ display:none; }

/* Individual product card */
.pc{
  flex-shrink:0;
  width:200px;
  display:flex;
  flex-direction:column;
  padding:12px 10px 14px;
  border-right:1px solid #f0f0f0;
  cursor:pointer;
  transition:background .15s;
  position:relative;
}
.pc:last-child{ border-right:none; }
.pc:hover{ background:#fafbff; }

/* Badge top-right */
.pc-badge{
  position:absolute; top:8px; right:8px;
  font-size:10px; font-weight:700;
  padding:2px 7px; border-radius:3px;
  line-height:1.5; z-index:2;
}
.pc-badge-select{ background:#1a5fa8; color:#fff; }
.pc-badge-sale{
  background:#cc0000; color:#fff;
  font-size:11px; padding:2px 8px;
  border-radius:3px;
}

/* Image */
.pc-img{
  width:100%; height:150px;
  display:flex; align-items:center; justify-content:center;
  margin-bottom:12px; overflow:hidden;
}
.pc-img img{
  max-width:100%; max-height:140px;
  object-fit:contain;
  transition:transform .3s;
}
.pc:hover .pc-img img{ transform:scale(1.06); }

/* Stars */
.pc-stars{ display:flex; align-items:center; gap:4px; margin-bottom:6px; }
.pc-stars .s{ color:#e67e00; font-size:13px; letter-spacing:-1px; }
.pc-stars .n{ font-size:11px; color:#888; }

/* Name */
.pc-name{
  font-size:12.5px; font-weight:500; color:#111;
  line-height:1.4; margin-bottom:8px;
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical;
  overflow:hidden;
}

/* Save badge */
.pc-save{
  display:inline-block; background:#cc0000; color:#fff;
  font-size:10.5px; font-weight:700; padding:2px 7px;
  border-radius:3px; margin-bottom:5px; width:fit-content;
}

/* Price */
.pc-price-row{ display:flex; align-items:baseline; gap:6px; }
.pc-price{
  font-size:20px; font-weight:900; color:#111;
}
.pc-price sup{ font-size:12px; vertical-align:super; }
.pc-price sub{ font-size:13px; }
.pc-was{ font-size:11.5px; color:#aaa; text-decoration:line-through; }

/* Play icon (video indicator from reference) */
.pc-play{
  position:absolute; bottom:52px; right:10px;
  width:28px; height:28px; border-radius:50%;
  background:#0a1f5c; color:#fff;
  display:flex; align-items:center; justify-content:center;
  font-size:10px;
}

/* ══════════════════════════════════════════════════
   BRAND SCROLL
══════════════════════════════════════════════════ */
.brand-section{
  background:#fff;
  border-top:1px solid #e8eaf0;
  padding:24px 0 28px;
  margin-bottom:8px;
}
.brand-wrap{ max-width:1400px; margin:0 auto; padding:0 12px; }
.brand-header{
  display:flex; align-items:baseline; gap:16px;
  margin-bottom:18px;
}
.brand-title{
  font-size:22px; font-weight:900; color:#0a1f5c;
}

.brand-outer{ position:relative; }
.brand-prev{ left:-16px; }
.brand-next{ right:-16px; }

.brand-track{
  display:flex;
  gap:10px;
  overflow-x:auto;
  scroll-behavior:smooth;
  scrollbar-width:none;
  padding:4px 2px 4px;
  -webkit-overflow-scrolling:touch;
}
.brand-track::-webkit-scrollbar{ display:none; }

.brand-card{
  flex-shrink:0;
  width:155px; height:78px;
  border:1px solid #e8eaf0;
  border-radius:8px;
  display:flex; align-items:center; justify-content:center;
  padding:10px 14px;
  cursor:pointer;
  transition:border-color .2s, box-shadow .2s, transform .2s;
  background:#fff;
}
.brand-card:hover{
  border-color:#0a1f5c;
  box-shadow:0 3px 12px rgba(10,31,92,.12);
  transform:translateY(-2px);
}
.brand-card img{
  max-width:100%; max-height:44px;
  object-fit:contain; filter:grayscale(20%);
  transition:filter .2s;
}
.brand-card:hover img{ filter:grayscale(0%); }

/* brand text fallback */
.brand-text{
  font-size:15px; font-weight:800; color:#333;
  text-align:center; letter-spacing:-.3px;
  user-select:none;
}

/* ══════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════ */
.site-footer{
  background:#0a1433;
  color:#c5cbe0;
  font-size:13px;
  margin-top:8px;
}

.footer-inner{
  max-width:1400px; margin:0 auto;
  padding:0 20px;
}

/* Top columns */
.footer-top{ padding:44px 0 36px; }
.footer-top .footer-inner{
  display:grid;
  grid-template-columns:1.6fr 1fr 1fr 1fr 1fr;
  gap:32px;
}

/* Brand col */
.fc-logo{
  font-size:24px; font-weight:900;
  color:#ff9900; letter-spacing:-1px;
  margin-bottom:12px;
}
.fc-logo span{ color:#fff; }
.fc-logo em{ font-style:normal; font-size:13px; color:#c5cbe0; }
.fc-tagline{ font-size:12.5px; line-height:1.7; color:#8892a8; margin-bottom:16px; }

/* Social icons */
.fc-social{ display:flex; gap:10px; }
.fc-social a{
  width:32px; height:32px; border-radius:50%;
  background:rgba(255,255,255,.07);
  display:flex; align-items:center; justify-content:center;
  color:#c5cbe0; font-size:13px;
  transition:background .2s, color .2s;
}
.fc-social a:hover{ background:#ff9900; color:#fff; }

/* Column headings */
.fc-title{
  font-size:13px; font-weight:800;
  color:#fff; text-transform:uppercase;
  letter-spacing:.6px; margin-bottom:14px;
  padding-bottom:8px;
  border-bottom:1px solid rgba(255,255,255,.07);
}

/* Links */
.fc-links li{ margin-bottom:8px; }
.fc-links a{
  color:#8892a8; font-size:12.5px;
  transition:color .15s, padding-left .15s;
  display:block;
}
.fc-links a:hover{ color:#ff9900; padding-left:4px; }

/* Newsletter strip */
.footer-nl{
  background:#0d1d45;
  border-top:1px solid rgba(255,255,255,.07);
  border-bottom:1px solid rgba(255,255,255,.07);
  padding:18px 0;
}
.footer-nl-inner{
  display:flex; align-items:center;
  justify-content:space-between; gap:24px;
  flex-wrap:wrap;
}
.footer-nl-copy{ line-height:1.5; }
.footer-nl-copy strong{ display:block; color:#fff; font-size:14px; margin-bottom:2px; }
.footer-nl-copy span{ font-size:12px; color:#8892a8; }
.footer-nl-form{
  display:flex; gap:0; border-radius:5px;
  overflow:hidden; flex-shrink:0;
  box-shadow:0 0 0 1px rgba(255,255,255,.1);
}
.footer-nl-form input{
  border:none; padding:10px 16px;
  font-size:13px; outline:none;
  min-width:260px; background:#fff; color:#111;
}
.footer-nl-form button{
  background:#ff9900; color:#111;
  font-size:13px; font-weight:700;
  padding:0 20px; border:none; cursor:pointer;
  transition:background .2s;
  white-space:nowrap;
}
.footer-nl-form button:hover{ background:#e68900; }

/* Bottom bar */
.footer-bottom{ padding:16px 0; }
.footer-bottom-inner{
  display:flex; align-items:center;
  justify-content:space-between; gap:16px;
  flex-wrap:wrap;
}
.footer-copy{ font-size:12px; color:#5a6380; }
.footer-legal{ display:flex; gap:16px; flex-wrap:wrap; }
.footer-legal a{ font-size:12px; color:#5a6380; transition:color .15s; }
.footer-legal a:hover{ color:#ff9900; }
.footer-pay{ display:flex; gap:6px; flex-wrap:wrap; }
.pay-chip{
  background:rgba(255,255,255,.07);
  color:#8892a8; font-size:10px; font-weight:700;
  padding:3px 8px; border-radius:4px;
  border:1px solid rgba(255,255,255,.1);
  letter-spacing:.3px;
}

/* ── Footer Responsive ── */
@media(max-width:1000px){
  .footer-top .footer-inner{ grid-template-columns:1fr 1fr 1fr; }
  .footer-nl-inner{ flex-direction:column; align-items:flex-start; }
}
@media(max-width:640px){
  .footer-top .footer-inner{ grid-template-columns:1fr 1fr; }
  .footer-bottom-inner{ flex-direction:column; align-items:flex-start; gap:10px; }
  .footer-nl-form input{ min-width:180px; }
  .pcar-btn-prev{ left:-10px; }
  .pcar-btn-next{ right:-10px; }
}

/* ══════════════════════════════════════
   SECONDARY NAV
══════════════════════════════════════ */
.secondary-nav{background:#fff;border-bottom:2px solid #e8eaf0;position:sticky;top:101px;z-index:850;box-shadow:0 1px 4px rgba(0,0,0,.06);}
.secondary-nav-inner{max-width:1400px;margin:0 auto;padding:0 18px;display:flex;align-items:center;height:44px;overflow-x:auto;scrollbar-width:none;}
.secondary-nav-inner::-webkit-scrollbar{display:none;}
.sn-item{display:flex;align-items:center;gap:6px;padding:0 14px;height:44px;font-size:13px;font-weight:600;color:#222;white-space:nowrap;cursor:pointer;border-bottom:2px solid transparent;transition:color .15s,border-color .15s;flex-shrink:0;position:relative;}
.sn-item:hover{color:#0a1f5c;border-bottom-color:#0a1f5c;}
.sn-item.active{color:#0a1f5c;border-bottom-color:#e67e00;}
.sn-item i.sn-icon{font-size:14px;color:#888;}
.sn-item:hover i.sn-icon,.sn-item.active i.sn-icon{color:#0a1f5c;}
.sn-arrow{font-size:9px;opacity:.5;margin-left:2px;}
.sn-divider{width:1px;height:22px;background:#e8eaf0;flex-shrink:0;margin:0 4px;}
.sn-dropdown{display:none;position:absolute;top:44px;left:0;background:#fff;border:1px solid #e8eaf0;border-radius:0 0 8px 8px;box-shadow:0 6px 20px rgba(0,0,0,.1);min-width:190px;padding:6px 0;z-index:9999;}
.sn-item:hover .sn-dropdown{display:block;}
.sn-dropdown a{display:block;padding:9px 18px;font-size:13px;color:#222;font-weight:500;transition:background .15s,color .15s;}
.sn-dropdown a:hover{background:#f5f6fa;color:#0a1f5c;}

/* sticky offset corrections */
.navbar{position:sticky;top:62px;z-index:890;}


  /* everything scoped under .tmpromo so it can't touch your other CSS */
    .tmpromo{
      --tmp-navy:#0a1f5c;
      --tmp-navy-2:#0c2a7a;
      --tmp-dark:#131921;
      --tmp-orange:#ff9900;
      --tmp-purple:#6d68f0;
      --tmp-radius:14px;
      width:100%;
      max-width:100%;
      margin:26px 0;
      padding:0 32px;
      box-sizing:border-box;
    }
    .tmpromo *{ box-sizing:border-box; }

    .tmpromo-grid{
      display:grid;
      grid-template-columns:1.35fr 1fr 1.15fr 1.2fr;
      grid-auto-rows:1fr;
      gap:16px;
    }
    /* row spans */
    .tmpromo-hero{ grid-row:span 2; }
    .tmpromo-student{ grid-row:span 2; }

    .tmpromo-tile{
      position:relative;
      border-radius:var(--tmp-radius);
      overflow:hidden;
      min-height:200px;
      display:flex;
      text-decoration:none;
      color:#fff;
      background:var(--tmp-navy);
      box-shadow:0 4px 14px rgba(10,20,45,.10);
      transition:transform .18s ease, box-shadow .18s ease;
      isolation:isolate;
    }
    .tmpromo-tile:hover{
      transform:translateY(-3px);
      box-shadow:0 12px 28px rgba(10,20,45,.20);
    }

    /* shop-now pill */
    .tmpromo-shop{
      display:inline-flex; align-items:center; gap:7px;
      font-size:12px; font-weight:800; letter-spacing:.6px;
      text-transform:uppercase; color:#fff;
      border-bottom:2px solid var(--tmp-orange);
      padding-bottom:3px; width:max-content;
    }
    .tmpromo-shop i{ font-size:10px; color:var(--tmp-orange); }

    /* ── HERO: AI PC Store ── */
    .tmpromo-hero{
      flex-direction:column; justify-content:flex-start;
      background:linear-gradient(160deg,#0a1f5c 0%,#0c2a7a 55%,#123 100%);
      padding:26px 24px 0;
    }
    .tmpromo-hero h2{
      font-size:clamp(30px,3.4vw,46px); line-height:1.02; font-weight:900;
      letter-spacing:-.5px; margin:0 0 16px; text-transform:uppercase;
    }
    .tmpromo-hero .tmpromo-shop{ margin-bottom:18px; }
    .tmpromo-hero-img{
      margin-top:auto; width:100%; height:52%;
      background:linear-gradient(180deg,rgba(10,20,45,0),rgba(10,20,45,.35)),
                 url('https://images.unsplash.com/photo-1587202372634-32705e3bf49c?w=640&q=80') center/cover;
      border-radius:10px 10px 0 0;
    }

    /* ── laurel promo tiles (Lowest Price / Best Sellers) ── */
    .tmpromo-laurel{
      flex-direction:column; align-items:center; justify-content:center;
      text-align:center; gap:6px; padding:22px 18px;
      background:
        radial-gradient(circle at 50% 40%, rgba(255,255,255,.05), transparent 60%),
        var(--tmp-navy);
    }
    .tmpromo-laurel .kicker{
      font-size:11px; font-weight:800; letter-spacing:2px; opacity:.85;
      text-transform:uppercase;
    }
    .tmpromo-laurel h3{
      font-size:clamp(22px,2.4vw,30px); font-weight:900; line-height:1.02;
      text-transform:uppercase; margin:2px 0 10px; letter-spacing:-.3px;
    }
    .tmpromo-laurel .wreath{ position:absolute; inset:0; display:flex; align-items:center; justify-content:space-between; padding:0 14px; pointer-events:none; }
    .tmpromo-laurel .wreath i{ font-size:52px; color:var(--tmp-orange); opacity:.85; }
    .tmpromo-laurel .wreath i:last-child{ transform:scaleX(-1); }
    .tmpromo-laurel .trophy{ color:var(--tmp-orange); font-size:20px; margin-bottom:4px; }
    .tmpromo-laurel .inner{ position:relative; z-index:1; display:flex; flex-direction:column; align-items:center; }

    /* ── STUDENT store ── */
    .tmpromo-student{
      flex-direction:column; justify-content:center; align-items:center;
      text-align:center; padding:0; background:#fff; color:var(--tmp-dark);
    }
    .tmpromo-student .band{ width:100%; height:16px; background:var(--tmp-orange); }
    .tmpromo-student .mid{
      flex:1; width:100%; display:flex; flex-direction:column;
      align-items:center; justify-content:center; gap:2px; padding:18px;
      background:
        radial-gradient(circle at 50% 12%, rgba(109,104,240,.18), transparent 55%),
        #fff;
    }
    .tmpromo-student .pre{ font-size:19px; font-weight:600; color:var(--tmp-dark); }
    .tmpromo-student .big1{ font-size:clamp(30px,3.2vw,42px); font-weight:900; color:var(--tmp-orange); line-height:1; }
    .tmpromo-student .big2{ font-size:clamp(30px,3.2vw,42px); font-weight:900; color:var(--tmp-dark); line-height:1; margin-bottom:12px; }
    .tmpromo-student .tmpromo-shop{ color:var(--tmp-dark); }
    .tmpromo-student .tmpromo-shop i{ color:var(--tmp-dark); }

    /* ── right promos (Select / Refreshed) ── */
    .tmpromo-select{
      flex-direction:column; justify-content:center; padding:22px 24px;
      background:linear-gradient(135deg,#0a1f5c,#3a1c8c);
    }
    .tmpromo-select .title{ font-size:clamp(18px,1.9vw,24px); font-weight:900; letter-spacing:.5px; }
    .tmpromo-select .title b{ color:var(--tmp-orange); }
    .tmpromo-select p{ font-size:13px; line-height:1.45; opacity:.92; margin:8px 0 14px; max-width:60%; }

    .tmpromo-refresh{
      flex-direction:column; justify-content:flex-end; padding:20px 24px;
      background:
        linear-gradient(0deg, rgba(10,20,45,.92), rgba(10,20,45,.35)),
        url('https://images.unsplash.com/photo-1591799264318-7e6ef8ddb7ea?w=640&q=80') center/cover;
      min-height:170px;
    }
    .tmpromo-refresh .rtitle{ font-size:14px; font-weight:600; opacity:.9; }
    .tmpromo-refresh .rbig{ font-size:clamp(22px,2.3vw,30px); font-weight:900; margin:2px 0 4px; }
    .tmpromo-refresh .rbig span{ color:var(--tmp-orange); font-style:italic; }
    .tmpromo-refresh .rsub{ font-size:12px; letter-spacing:3px; text-transform:uppercase; opacity:.8; margin-bottom:12px; }

    /* ── responsive ── */
    @media (max-width:1000px){
      .tmpromo-grid{ grid-template-columns:1fr 1fr; }
      .tmpromo-hero, .tmpromo-student{ grid-row:span 1; }
      .tmpromo-hero{ grid-column:span 2; min-height:260px; }
      .tmpromo-hero-img{ height:180px; }
      .tmpromo-student{ grid-column:span 2; min-height:220px; }
    }
    @media (max-width:560px){
      .tmpromo-grid{ grid-template-columns:1fr; }
      .tmpromo-hero, .tmpromo-student{ grid-column:span 1; }
    }