/* ============================================================
   InventorPro Store — Storefront Design System
   "Apple Store" direction: pure white / #f5f5f7 fields, large
   confident type set in the system font, generous whitespace,
   a slim dark utility nav, and one signature device motif that
   recurs everywhere a laptop needs to be represented.
   ============================================================ */

/* Font: system stack only (no external font request) — see --s-font below.
   This also matches the brief: the storefront should render in the
   same system UI font Apple's own store uses. */

:root{
  --s-bg:        #ffffff;
  --s-bg-soft:   #f5f5f7;
  --s-bg-soft-2: #ebebed;
  --s-ink:       #1d1d1f;
  --s-ink-soft:  #6e6e73;
  --s-line:      rgba(0,0,0,.09);
  --s-line-soft: rgba(0,0,0,.06);

  --s-accent:      #1d5ee8;
  --s-accent-dark: #1448c0;
  --s-accent-soft: #eef3fd;

  --s-dark:    #0b0d12;
  --s-dark-2:  #15171d;

  --s-grade-a: #1d8a4c;
  --s-grade-a-bg: #e9f7ee;
  --s-grade-b: #b6790a;
  --s-grade-b-bg: #fdf3e2;
  --s-grade-c: #5b5b60;
  --s-grade-c-bg: #ececee;

  --s-radius-sm: 12px;
  --s-radius:    18px;
  --s-radius-lg: 26px;

  --s-shadow:    0 1px 2px rgba(0,0,0,.04), 0 12px 28px rgba(0,0,0,.06);
  --s-shadow-lg: 0 24px 60px rgba(0,0,0,.14);

  --s-font: -apple-system, BlinkMacSystemFont, 'Inter', 'SF Pro Display', 'Segoe UI', Helvetica, Arial, sans-serif;
  --s-mono: ui-monospace, 'SF Mono', 'Fira Mono', Consolas, monospace;

  --s-ease: cubic-bezier(.4,0,.2,1);
  --s-nav-h: 52px;
}

*,*::before,*::after{ box-sizing:border-box; }
html,body{ margin:0; padding:0; }
body{
  font-family: var(--s-font);
  color: var(--s-ink);
  background: var(--s-bg);
  -webkit-font-smoothing: antialiased;
  font-size: 17px;
  line-height: 1.47;
}
a{ color: inherit; text-decoration: none; }
img,svg{ display:block; max-width:100%; }
button{ font-family: inherit; }
ul{ list-style:none; margin:0; padding:0; }
h1,h2,h3,h4,p{ margin:0; }

::selection{ background: var(--s-accent-soft); color: var(--s-accent-dark); }

:focus-visible{
  outline: 2px solid var(--s-accent);
  outline-offset: 2px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce){
  *{ animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

/* ============================================================
   UTILITY LAYOUT
   ============================================================ */
.s-wrap{ max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.s-eyebrow{ font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--s-accent); }
.s-section{ padding: 88px 0; }
.s-section.tight{ padding: 56px 0; }
.s-section.soft{ background: var(--s-bg-soft); }
.s-section.dark{ background: var(--s-dark); color: #f5f5f7; }
.s-center{ text-align:center; }
.s-headline{ font-size: clamp(34px, 5vw, 60px); font-weight: 650; letter-spacing: -.025em; line-height: 1.05; }
.s-headline.lg{ font-size: clamp(40px, 6vw, 72px); }
.s-sub{ font-size: 19px; color: var(--s-ink-soft); line-height: 1.5; margin-top: 14px; max-width: 560px; }
.s-section.dark .s-sub{ color: rgba(245,245,247,.66); }
.s-section.dark .s-ink-soft, .s-section.dark .s-meta{ color: rgba(245,245,247,.6); }
.s-h2{ font-size: clamp(28px, 3.6vw, 40px); font-weight: 650; letter-spacing: -.02em; }
.s-mt-8{ margin-top: 8px; } .s-mt-12{ margin-top: 12px; } .s-mt-16{ margin-top: 16px; } .s-mt-24{ margin-top: 24px; } .s-mt-32{ margin-top: 32px; } .s-mt-48{ margin-top: 48px; }

.s-cta-row{ display:flex; align-items:center; justify-content:center; gap: 24px; flex-wrap: wrap; }

/* ============================================================
   BUTTONS / LINKS
   ============================================================ */
.s-btn{
  display:inline-flex; align-items:center; justify-content:center; gap: 8px;
  height: 44px; padding: 0 22px; border-radius: 999px;
  font-size: 15px; font-weight: 500; cursor:pointer; border: 1px solid transparent;
  transition: transform .15s var(--s-ease), background .15s var(--s-ease), border-color .15s var(--s-ease), color .15s var(--s-ease);
  white-space: nowrap;
}
.s-btn:active{ transform: scale(.97); }
.s-btn-primary{ background: var(--s-accent); color: #fff; }
.s-btn-primary:hover{ background: var(--s-accent-dark); }
.s-btn-primary:disabled{ background: var(--s-bg-soft-2); color: var(--s-ink-soft); cursor: not-allowed; }
.s-btn-light{ background: #fff; color: var(--s-ink); border-color: rgba(0,0,0,.12); }
.s-btn-light:hover{ background: var(--s-bg-soft); }
.s-btn-ghost-dark{ background: rgba(255,255,255,.08); color:#fff; border-color: rgba(255,255,255,.22); }
.s-btn-ghost-dark:hover{ background: rgba(255,255,255,.16); }
.s-btn-block{ width:100%; }
.s-btn-sm{ height: 36px; padding: 0 16px; font-size: 13.5px; }

.s-link-arrow{
  display:inline-flex; align-items:center; gap:6px;
  font-size: 16px; font-weight: 500; color: var(--s-accent);
  transition: gap .15s var(--s-ease);
}
.s-link-arrow:hover{ gap: 10px; text-decoration: underline; }
.s-link-arrow svg{ width:14px; height:14px; }

/* ============================================================
   NAV (slim, dark, Apple-style)
   ============================================================ */
.s-nav{
  position: sticky; top:0; z-index: 500;
  height: var(--s-nav-h);
  background: rgba(11,13,18,.82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.s-nav-inner{
  max-width: 1180px; margin:0 auto; padding: 0 24px; height:100%;
  display:flex; align-items:center; gap: 8px;
}
.s-nav-brand{
  display:flex; align-items:center; gap:8px;
  font-size: 14.5px; font-weight: 600; color:#fff; letter-spacing:-.01em; flex-shrink:0;
}
.s-nav-mark{ width:20px; height:20px; border-radius:5px; background:#fff; display:flex; align-items:center; justify-content:center; }
.s-nav-mark svg{ width:13px; height:13px; }
.s-nav-links{ display:flex; align-items:center; gap: 26px; margin: 0 auto; }
.s-nav-links a{
  font-size: 12.5px; color: rgba(255,255,255,.78); font-weight: 400; padding: 4px 2px;
  border-bottom: 1px solid transparent; transition: color .15s, border-color .15s;
}
.s-nav-links a:hover, .s-nav-links a.active{ color:#fff; }
.s-nav-actions{ display:flex; align-items:center; gap: 16px; flex-shrink:0; }
.s-nav-icon-btn{
  display:flex; align-items:center; justify-content:center;
  width: 30px; height:30px; background:none; border:none; cursor:pointer;
  color: rgba(255,255,255,.85); position:relative;
}
.s-nav-icon-btn:hover{ color:#fff; }
.s-nav-icon-btn svg{ width:16px; height:16px; }
.s-login-btn{
  display:inline-flex; align-items:center; justify-content:center;
  height: 30px; padding: 0 13px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.1); color: #fff;
  font-size: 12.5px; font-weight: 600; white-space: nowrap;
  transition: background .15s var(--s-ease), border-color .15s var(--s-ease);
}
.s-login-btn:hover{ background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.34); }
.s-bag-count{
  position:absolute; top:-3px; right:-5px;
  background: var(--s-accent); color:#fff; font-size: 9.5px; font-weight:700;
  min-width:14px; height:14px; border-radius:999px;
  display:flex; align-items:center; justify-content:center; padding:0 3px;
}
.s-nav-search{ display:flex; align-items:center; gap:6px; background: rgba(255,255,255,.1); border-radius:999px; padding: 0 10px; height:30px; }
.s-nav-search input{
  background:none; border:none; outline:none; color:#fff; font-size: 12.5px; width: 120px;
}
.s-nav-search input::placeholder{ color: rgba(255,255,255,.5); }
.s-nav-search svg{ width:13px; height:13px; color: rgba(255,255,255,.6); flex-shrink:0; }
.s-nav-burger{ display:none; background:none; border:none; color:#fff; cursor:pointer; padding:4px; }

.s-topbar{
  background: var(--s-dark-2); color: rgba(255,255,255,.86);
  font-size: 12px; text-align:center; padding: 7px 14px;
}
.s-topbar a{ color:#fff; font-weight:600; }

@media (max-width: 860px){
  .s-nav-links{ display:none; }
  .s-login-btn{ display:none; }
  .s-nav-burger{ display:flex; }
}

/* ============================================================
   DEVICE ART (signature laptop motif)
   ============================================================ */
.s-device{ filter: drop-shadow(0 30px 36px rgba(0,0,0,.16)); }
.s-device .screen-glow{ transition: opacity .3s; }

/* ============================================================
   HERO
   ============================================================ */
.s-hero{
  background: linear-gradient(180deg, var(--s-bg-soft) 0%, var(--s-bg-soft) 60%, var(--s-bg) 100%);
  padding: 84px 0 0;
  overflow: hidden;
}
.s-hero-copy{ text-align:center; max-width: 720px; margin: 0 auto; }
.s-hero-stage{ margin-top: 48px; display:flex; justify-content:center; }
.s-hero-stage .s-device{ width: min(560px, 84vw); }
.s-hero-meta{
  display:flex; gap: 10px; justify-content:center; flex-wrap:wrap; margin-top: 28px;
}
.s-hero-meta span{
  font-size: 12.5px; font-weight: 600; color: var(--s-ink-soft);
  background: #fff; border: 1px solid var(--s-line); border-radius: 999px; padding: 6px 13px;
}

/* ============================================================
   CATEGORY TILES
   ============================================================ */
.s-cat-grid{ display:grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.s-cat-card{
  position:relative; border-radius: var(--s-radius-lg); overflow:hidden;
  background: var(--s-bg-soft); padding: 32px 28px; min-height: 280px;
  display:flex; flex-direction:column; justify-content:space-between;
  transition: transform .25s var(--s-ease), box-shadow .25s var(--s-ease);
}
.s-cat-card:hover{ transform: translateY(-4px); box-shadow: var(--s-shadow); }
.s-cat-card .s-cat-art{ position:absolute; right: 6px; bottom: -6px; width: 58%; opacity:.95; }
.s-cat-card h3{ font-size: 23px; font-weight: 650; letter-spacing:-.01em; position:relative; z-index:1; }
.s-cat-card p{ font-size: 13.5px; color: var(--s-ink-soft); margin-top: 4px; position:relative; z-index:1; }
.s-cat-card .s-link-arrow{ position:relative; z-index:1; margin-top: 14px; }
.s-cat-card.dark{ background: var(--s-dark); color:#f5f5f7; }
.s-cat-card.dark p{ color: rgba(245,245,247,.6); }

@media (max-width: 860px){ .s-cat-grid{ grid-template-columns: 1fr; } }

/* ============================================================
   GRADE CHIP — the signature recurring element
   ============================================================ */
.s-grade{
  display:inline-flex; align-items:center; gap: 7px;
  font-size: 11.5px; font-weight: 700; padding: 4px 9px 4px 7px;
  border-radius: 999px; letter-spacing: .01em;
}
.s-grade .bars{ display:flex; align-items:flex-end; gap: 2px; height: 9px; }
.s-grade .bars i{ display:block; width: 3px; border-radius: 1px; background: currentColor; opacity: .28; }
.s-grade .bars i:nth-child(1){ height: 4px; }
.s-grade .bars i:nth-child(2){ height: 6.5px; }
.s-grade .bars i:nth-child(3){ height: 9px; }
.s-grade.grade-a{ background: var(--s-grade-a-bg); color: var(--s-grade-a); }
.s-grade.grade-a .bars i{ opacity: 1; }
.s-grade.grade-b{ background: var(--s-grade-b-bg); color: var(--s-grade-b); }
.s-grade.grade-b .bars i:nth-child(1), .s-grade.grade-b .bars i:nth-child(2){ opacity: 1; }
.s-grade.grade-c{ background: var(--s-grade-c-bg); color: var(--s-grade-c); }
.s-grade.grade-c .bars i:nth-child(1){ opacity: 1; }

/* ============================================================
   PRODUCT CARD
   ============================================================ */
.s-product-grid{ display:grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.s-product-card{
  background: #fff; border: 1px solid var(--s-line); border-radius: var(--s-radius);
  padding: 22px 18px 18px; cursor:pointer; transition: box-shadow .2s var(--s-ease), transform .2s var(--s-ease), border-color .2s;
  display:flex; flex-direction:column;
}
.s-product-card:hover{ box-shadow: var(--s-shadow); transform: translateY(-3px); border-color: rgba(0,0,0,.14); }
.s-product-media{ height: 132px; display:flex; align-items:center; justify-content:center; }
.s-product-media .s-device{ width: 100%; max-width: 168px; }
.s-product-eyebrow{ font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--s-ink-soft); margin-top: 10px; }
.s-product-title{ font-size: 15.5px; font-weight: 600; margin-top: 2px; letter-spacing: -.005em; }
.s-product-specs{ font-size: 12.5px; color: var(--s-ink-soft); margin-top: 4px; line-height: 1.4; min-height: 34px; }
.s-product-foot{ display:flex; align-items:center; justify-content:space-between; margin-top: 14px; }
.s-product-price{ font-size: 16px; font-weight: 650; }
.s-product-strike{ font-size: 12.5px; color: var(--s-ink-soft); text-decoration: line-through; margin-right: 5px; }
.s-product-tags{ display:flex; gap: 6px; margin-top: 10px; flex-wrap: wrap; }
.s-tag{ font-size: 11px; font-weight: 600; color: var(--s-accent); background: var(--s-accent-soft); border-radius: 999px; padding: 3px 8px; }
.s-tag.warn{ color: var(--s-grade-b); background: var(--s-grade-b-bg); }
.s-add-bag{
  margin-top: 12px; height: 36px; border-radius: 999px; border: 1px solid var(--s-line);
  background: var(--s-bg-soft); font-size: 13px; font-weight: 600; cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.s-add-bag:hover{ background: var(--s-ink); color:#fff; border-color: var(--s-ink); }

@media (max-width: 1024px){ .s-product-grid{ grid-template-columns: repeat(3,1fr); } }
@media (max-width: 760px){ .s-product-grid{ grid-template-columns: repeat(2,1fr); } }
@media (max-width: 480px){ .s-product-grid{ grid-template-columns: 1fr 1fr; gap:10px; } .s-product-card{ padding:14px 12px 14px; } }

/* ============================================================
   FILTER BAR (shop page)
   ============================================================ */
.s-filterbar{
  display:flex; align-items:center; gap: 10px; flex-wrap: wrap;
  padding: 18px 0; border-bottom: 1px solid var(--s-line);
}
.s-filterbar .s-pillselect{ position:relative; }
.s-pillselect select{
  appearance:none; height: 38px; padding: 0 30px 0 14px;
  border-radius: 999px; border: 1px solid var(--s-line);
  background: #fff; font-size: 13.5px; font-weight: 500; color: var(--s-ink); cursor:pointer;
}
.s-pillselect::after{
  content:''; position:absolute; right: 13px; top:50%; width:7px; height:7px;
  border-right: 1.5px solid var(--s-ink-soft); border-bottom: 1.5px solid var(--s-ink-soft);
  transform: translateY(-65%) rotate(45deg); pointer-events:none;
}
.s-filterbar .s-search{ flex:1; min-width: 180px; display:flex; align-items:center; gap:8px; background: var(--s-bg-soft); border-radius:999px; height:38px; padding: 0 14px; }
.s-filterbar .s-search input{ border:none; background:none; outline:none; font-size: 13.5px; width:100%; }
.s-filterbar .s-search svg{ width:14px; height:14px; color: var(--s-ink-soft); flex-shrink:0; }
.s-result-count{ font-size: 13px; color: var(--s-ink-soft); margin: 18px 0 6px; }

/* ============================================================
   ACCOUNT
   ============================================================ */
.s-account-grid{ display:grid; grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr); gap: 16px; }
.s-account-panel{
  background: #fff; border: 1px solid var(--s-line); border-radius: var(--s-radius);
  padding: 22px; box-shadow: 0 1px 2px rgba(0,0,0,.03);
}
.s-account-head{ display:flex; justify-content:space-between; align-items:flex-start; gap: 16px; margin-bottom: 18px; }
.s-account-label{ display:block; font-size: 12px; font-weight: 700; color: var(--s-ink-soft); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 4px; }
.s-account-head strong{ display:block; font-size: 22px; letter-spacing: -.01em; }
.s-account-row{
  display:flex; justify-content:space-between; gap: 16px;
  padding: 13px 0; border-top: 1px solid var(--s-line-soft);
  font-size: 14px;
}
.s-account-row span{ color: var(--s-ink-soft); }
.s-account-row strong{ text-align:right; }
.s-account-actions{ display:flex; flex-direction:column; gap: 10px; margin-top: 18px; }
@media (max-width: 820px){
  .s-account-grid{ grid-template-columns: 1fr; }
  .s-account-head, .s-account-row{ flex-direction:column; }
  .s-account-row strong{ text-align:left; }
}

/* ============================================================
   GRADE EXPLAINER (signature section)
   ============================================================ */
.s-grade-explainer{ display:grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items:center; }
.s-grade-rows{ display:flex; flex-direction:column; gap: 14px; margin-top: 28px; }
.s-grade-row{
  display:flex; align-items:flex-start; gap: 14px;
  padding: 16px 18px; background: #fff; border: 1px solid var(--s-line); border-radius: var(--s-radius);
}
.s-grade-row p{ font-size: 14px; color: var(--s-ink-soft); margin-top: 4px; line-height: 1.5; }
@media (max-width: 900px){ .s-grade-explainer{ grid-template-columns: 1fr; gap: 32px; } }

/* ============================================================
   BRAND STRIP
   ============================================================ */
.s-brand-strip{ display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap: 28px; }
.s-brand-strip a{ font-size: 22px; font-weight: 650; letter-spacing:-.01em; color: var(--s-ink-soft); transition: color .15s; }
.s-brand-strip a:hover{ color: var(--s-ink); }

/* ============================================================
   OFFER BANNER
   ============================================================ */
.s-offer{
  border-radius: var(--s-radius-lg);
  background: linear-gradient(120deg, #0b0d12, #16243f 60%, #1448c0);
  color:#fff; padding: 56px 56px; display:flex; align-items:center; justify-content:space-between; gap: 24px; flex-wrap: wrap;
}
.s-offer h3{ font-size: clamp(24px,3vw,32px); font-weight: 650; letter-spacing:-.01em; max-width: 520px; }
@media (max-width: 760px){ .s-offer{ padding: 36px 28px; } }

/* ============================================================
   TRUST STRIP
   ============================================================ */
.s-trust-grid{ display:grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.s-trust-item{ text-align:center; padding: 8px 12px; }
.s-trust-item .ico{ width: 40px; height:40px; margin:0 auto 14px; color: var(--s-accent); }
.s-trust-item h4{ font-size: 15.5px; font-weight: 650; }
.s-trust-item p{ font-size: 13px; color: var(--s-ink-soft); margin-top: 5px; line-height: 1.45; }
@media (max-width: 760px){ .s-trust-grid{ grid-template-columns: repeat(2,1fr); } }

/* ============================================================
   FOOTER
   ============================================================ */
.s-footer{ background: var(--s-bg-soft); border-top: 1px solid var(--s-line); padding-top: 56px; }
.s-footer-grid{ display:grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: 28px; padding-bottom: 36px; }
.s-footer-grid h5{ font-size: 12px; font-weight: 700; color: var(--s-ink-soft); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 14px; }
.s-footer-grid li{ margin-bottom: 9px; }
.s-footer-grid a{ font-size: 13.5px; color: var(--s-ink); }
.s-footer-grid a:hover{ text-decoration: underline; }
.s-footer-bottom{
  border-top: 1px solid var(--s-line); padding: 18px 0 28px;
  display:flex; justify-content:space-between; align-items:center; gap: 12px; flex-wrap: wrap;
  font-size: 12px; color: var(--s-ink-soft);
}
.s-footer-bottom a{ color: var(--s-ink-soft); }
@media (max-width: 900px){ .s-footer-grid{ grid-template-columns: 1fr 1fr; } }

/* ============================================================
   BREADCRUMB
   ============================================================ */
.s-crumb{ font-size: 12.5px; color: var(--s-ink-soft); padding: 18px 0 0; }
.s-crumb a{ color: var(--s-ink-soft); }
.s-crumb a:hover{ color: var(--s-ink); text-decoration: underline; }
.s-crumb span.sep{ margin: 0 6px; opacity: .5; }

/* ============================================================
   PDP
   ============================================================ */
.s-pdp{ display:grid; grid-template-columns: 1.1fr 1fr; gap: 64px; padding: 28px 0 90px; align-items:flex-start; }
.s-pdp-stage{ position: sticky; top: calc(var(--s-nav-h) + 24px); background: var(--s-bg-soft); border-radius: var(--s-radius-lg); padding: 48px; display:flex; align-items:center; justify-content:center; min-height: 420px; }
.s-pdp-stage .s-device{ width: 88%; max-width: 360px; }
.s-pdp-info h1{ font-size: clamp(28px,3.4vw,38px); font-weight: 650; letter-spacing:-.02em; }
.s-pdp-price{ font-size: 24px; font-weight: 650; margin-top: 10px; }
.s-pdp-badges{ display:flex; gap:8px; margin-top: 14px; flex-wrap:wrap; }
.s-pdp-note{ font-size: 14px; color: var(--s-ink-soft); margin-top: 18px; line-height: 1.55; }
.s-qty{ display:flex; align-items:center; gap:0; border:1px solid var(--s-line); border-radius:999px; width: max-content; margin-top: 22px; }
.s-qty button{ width: 38px; height: 38px; background:none; border:none; font-size:17px; cursor:pointer; color: var(--s-ink); }
.s-qty span{ min-width: 34px; text-align:center; font-weight:600; font-size:14px; }
.s-pdp-actions{ display:flex; gap: 10px; margin-top: 18px; flex-wrap:wrap; }
.s-accordion{ margin-top: 36px; border-top: 1px solid var(--s-line); }
.s-acc-item{ border-bottom: 1px solid var(--s-line); }
.s-acc-head{
  width:100%; display:flex; align-items:center; justify-content:space-between;
  padding: 16px 0; background:none; border:none; cursor:pointer; font-size: 15px; font-weight: 600; color: var(--s-ink);
}
.s-acc-head svg{ width:13px; height:13px; transition: transform .2s; flex-shrink:0; }
.s-acc-item.open .s-acc-head svg{ transform: rotate(180deg); }
.s-acc-body{ display:none; padding: 0 0 18px; font-size: 14px; color: var(--s-ink-soft); line-height:1.6; }
.s-acc-item.open .s-acc-body{ display:block; }
.s-specs-table{ width:100%; border-collapse: collapse; }
.s-specs-table tr{ border-bottom: 1px solid var(--s-line-soft); }
.s-specs-table td{ padding: 7px 0; font-size: 13.5px; }
.s-specs-table td:first-child{ color: var(--s-ink-soft); width: 42%; }

@media (max-width: 900px){
  .s-pdp{ grid-template-columns: 1fr; gap: 28px; }
  .s-pdp-stage{ position: static; min-height: 280px; padding: 28px; }
}

/* ============================================================
   RELATED CAROUSEL
   ============================================================ */
.s-related-scroll{ display:flex; gap: 16px; overflow-x:auto; padding-bottom: 6px; scrollbar-width: thin; }
.s-related-scroll .s-product-card{ min-width: 230px; flex-shrink:0; }

/* ============================================================
   CART
   ============================================================ */
.s-cart-layout{ display:grid; grid-template-columns: 1.5fr 1fr; gap: 48px; align-items:flex-start; padding: 8px 0 90px; }
.s-cart-line{ display:flex; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--s-line); align-items:center; }
.s-cart-line .s-device{ width: 92px; }
.s-cart-line-info{ flex:1; min-width:0; }
.s-cart-line-title{ font-size: 16px; font-weight: 600; }
.s-cart-line-meta{ font-size: 12.5px; color: var(--s-ink-soft); margin-top: 4px; }
.s-cart-line-price{ font-size: 16px; font-weight: 650; white-space:nowrap; }
.s-cart-remove{ background:none; border:none; color: var(--s-ink-soft); cursor:pointer; font-size: 13px; margin-top: 6px; }
.s-cart-remove:hover{ color: #c0271d; text-decoration: underline; }
.s-summary{ background: var(--s-bg-soft); border-radius: var(--s-radius); padding: 26px; position: sticky; top: calc(var(--s-nav-h) + 24px); }
.s-summary h3{ font-size: 18px; font-weight: 650; margin-bottom: 18px; }
.s-summary-row{ display:flex; justify-content:space-between; font-size: 14px; color: var(--s-ink-soft); padding: 7px 0; }
.s-summary-row.total{ font-size: 18px; font-weight: 650; color: var(--s-ink); border-top: 1px solid var(--s-line); margin-top: 8px; padding-top: 14px; }
.s-promo{ display:flex; gap:8px; margin: 16px 0; }
.s-promo input{ flex:1; height:40px; border-radius: 999px; border:1px solid var(--s-line); padding: 0 16px; font-size: 13.5px; outline:none; }
.s-promo input:focus{ border-color: var(--s-accent); }
.s-empty{ text-align:center; padding: 90px 0; }
.s-empty .s-device{ width: 160px; margin: 0 auto 24px; opacity:.5; }

@media (max-width: 900px){ .s-cart-layout{ grid-template-columns:1fr; } .s-summary{ position:static; } }

/* ============================================================
   CHECKOUT
   ============================================================ */
.s-checkout-layout{ display:grid; grid-template-columns: 1.4fr 1fr; gap: 48px; padding: 8px 0 90px; align-items:flex-start; }
.s-form-group{ margin-bottom: 16px; }
.s-form-group label{ display:block; font-size: 12.5px; font-weight: 600; color: var(--s-ink-soft); margin-bottom: 6px; }
.s-form-group input, .s-form-group select{
  width:100%; height: 44px; border: 1px solid var(--s-line); border-radius: var(--s-radius-sm);
  padding: 0 14px; font-size: 14.5px; font-family: var(--s-font); outline:none; background:#fff; color: var(--s-ink);
}
.s-form-group input:focus, .s-form-group select:focus{ border-color: var(--s-accent); box-shadow: 0 0 0 3px var(--s-accent-soft); }
.s-form-row-2{ display:grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.s-checkout-section{ padding: 26px 0; border-bottom: 1px solid var(--s-line); }
.s-checkout-section:first-child{ padding-top: 0; }
.s-checkout-section h3{ font-size: 17px; font-weight: 650; margin-bottom: 16px; }
.s-pay-note{
  display:flex; gap:10px; align-items:flex-start; background: var(--s-accent-soft); color: var(--s-accent-dark);
  border-radius: var(--s-radius-sm); padding: 13px 15px; font-size: 13px; line-height: 1.5;
}
.s-pay-note svg{ width:16px; height:16px; flex-shrink:0; margin-top:1px; }
.s-confirm{ text-align:center; padding: 70px 0 100px; max-width: 460px; margin: 0 auto; }
.s-confirm .check{
  width: 64px; height:64px; border-radius:50%; background: var(--s-grade-a-bg); color: var(--s-grade-a);
  display:flex; align-items:center; justify-content:center; margin: 0 auto 22px;
}
.s-confirm .check svg{ width: 28px; height:28px; }

@media (max-width: 900px){ .s-checkout-layout{ grid-template-columns:1fr; } }

/* ============================================================
   TOAST
   ============================================================ */
.s-toast{
  position: fixed; bottom: 22px; left: 50%; transform: translate(-50%, 12px);
  background: var(--s-dark); color:#fff; padding: 12px 20px; border-radius: 999px;
  font-size: 13.5px; font-weight: 500; box-shadow: var(--s-shadow-lg);
  opacity:0; pointer-events:none; transition: all .25s var(--s-ease); z-index: 900;
}
.s-toast.show{ opacity:1; transform: translate(-50%, 0); }

/* ============================================================
   MOBILE NAV DRAWER
   ============================================================ */
.s-mobile-nav{
  position: fixed; inset:0; z-index: 600; background: var(--s-dark);
  display:flex; flex-direction:column; padding: 20px 24px;
  transform: translateY(-100%); transition: transform .25s var(--s-ease); opacity:0;
}
.s-mobile-nav.open{ transform: translateY(0); opacity:1; }
.s-mobile-nav-top{ display:flex; justify-content:space-between; align-items:center; height: var(--s-nav-h); }
.s-mobile-nav-top button{ background:none; border:none; color:#fff; cursor:pointer; }
.s-mobile-nav a{ display:block; font-size: 24px; font-weight:600; color:#fff; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.1); }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.s-reveal{ opacity:0; transform: translateY(18px); transition: opacity .6s var(--s-ease), transform .6s var(--s-ease); }
.s-reveal.in{ opacity:1; transform: translateY(0); }

/* ============================================================
   ADMIN SYNC NOTE
   ============================================================ */
.s-sync-note{ font-size: 11.5px; color: var(--s-ink-soft); }
