/* =========================================================================
   QivoPos — Smart POS Solutions
   Design System / Global Stylesheet
   ------------------------------------------------------------------------
   Brand: black · white · dark navy · electric blue · light gray
   Author-editable tokens live in :root below.
   ========================================================================= */

/* ---------- Design Tokens ------------------------------------------------ */
:root {
  /* Brand colors */
  --navy-900: #070b1a;
  --navy-800: #0b1024;
  --navy-700: #0f1b3d;
  --navy-600: #16224d;
  --blue-600: #1e4fd6;   /* electric blue - primary */
  --blue-500: #2563eb;
  --blue-400: #3b82f6;
  --blue-300: #60a5fa;
  --ink-900: #0b1220;    /* near-black text */
  --ink-700: #1f2937;
  --ink-500: #475569;
  --ink-400: #64748b;
  --ink-300: #94a3b8;
  --gray-100: #f4f6fa;
  --gray-150: #eef2f7;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --white: #ffffff;
  --green-600: #16a34a;
  --red-600: #dc2626;
  --amber-500: #f59e0b;

  /* Semantic */
  --bg: #ffffff;
  --bg-soft: var(--gray-100);
  --text: var(--ink-900);
  --text-muted: var(--ink-500);
  --border: var(--gray-200);
  --primary: var(--blue-600);
  --primary-hover: #1a44bd;

  /* Typography */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --fs-hero: clamp(2.1rem, 5vw, 3.6rem);
  --fs-h1: clamp(1.9rem, 3.5vw, 2.8rem);
  --fs-h2: clamp(1.5rem, 2.8vw, 2.1rem);
  --fs-h3: clamp(1.15rem, 2vw, 1.4rem);

  /* Layout */
  --container: 1200px;
  --container-wide: 1320px;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(15,23,42,.06);
  --shadow-sm: 0 2px 8px rgba(15,23,42,.06);
  --shadow-md: 0 10px 28px -10px rgba(15,23,42,.18);
  --shadow-lg: 0 30px 60px -22px rgba(15,23,42,.28);
  --shadow-blue: 0 14px 30px -10px rgba(30,79,214,.45);

  /* Motion */
  --ease: cubic-bezier(.22,.61,.36,1);
  --dur: .28s;

  /* Header height (for sticky offsets) */
  --header-h: 68px;
  --announce-h: 40px;
}

/* ---------- Reset -------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, picture, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul, ol { list-style: none; padding: 0; }
input, select, textarea, button { font-family: inherit; font-size: 1rem; }
h1, h2, h3, h4 { line-height: 1.18; font-weight: 800; letter-spacing: -0.02em; color: var(--ink-900); }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
p { color: var(--ink-700); }
:focus-visible { outline: 3px solid var(--blue-300); outline-offset: 2px; border-radius: 4px; }

/* ---------- Utilities ---------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 20px; }
.container-wide { max-width: var(--container-wide); }
.section { padding: clamp(48px, 7vw, 96px) 0; }
.section-sm { padding: clamp(36px, 5vw, 64px) 0; }
.bg-soft { background: var(--bg-soft); }
.bg-navy { background: var(--navy-800); color: #dbe4ff; }
.bg-navy h1, .bg-navy h2, .bg-navy h3 { color: #fff; }
.center { text-align: center; }
.muted { color: var(--text-muted); }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--primary); margin-bottom: 14px;
}
.eyebrow.on-dark { color: var(--blue-300); }
.section-head { max-width: 720px; margin: 0 auto clamp(32px,4vw,48px); text-align: center; }
.section-head p { font-size: 1.05rem; color: var(--text-muted); margin-top: 12px; }
.lead { font-size: 1.15rem; color: var(--text-muted); }
.mt-1{margin-top:8px}.mt-2{margin-top:16px}.mt-3{margin-top:24px}.mt-4{margin-top:32px}
.hidden { display: none !important; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 1000; background: var(--navy-800);
  color: #fff; padding: 12px 18px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Buttons ------------------------------------------------------ */
.btn {
  --btn-bg: var(--primary); --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 24px; border: 1px solid transparent; border-radius: var(--radius-pill);
  background: var(--btn-bg); color: var(--btn-fg); font-weight: 700; font-size: .98rem;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur) var(--ease);
  white-space: nowrap; text-align: center;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-blue); background: var(--primary-hover); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; }
.btn-lg { padding: 16px 32px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-secondary { --btn-bg: var(--navy-800); --btn-fg: #fff; }
.btn-secondary:hover { background: var(--navy-700); }
.btn-outline {
  --btn-bg: transparent; --btn-fg: var(--ink-900);
  border-color: var(--gray-300); box-shadow: none;
}
.btn-outline:hover { background: var(--gray-100); box-shadow: var(--shadow-sm); border-color: var(--gray-300); color: var(--ink-900); }
.btn-ghost-light {
  --btn-bg: rgba(255,255,255,.08); --btn-fg: #fff; border-color: rgba(255,255,255,.25);
}
.btn-ghost-light:hover { background: rgba(255,255,255,.16); box-shadow: none; }
.btn-white { --btn-bg:#fff; --btn-fg: var(--navy-800); }
.btn-white:hover { background:#f1f5ff; box-shadow: var(--shadow-md); }
.btn[disabled], .btn.is-loading { opacity: .7; pointer-events: none; }
.btn.is-loading::after {
  content: ""; width: 16px; height: 16px; border: 2px solid rgba(255,255,255,.5);
  border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Badges & Pills ---------------------------------------------- */
.badge {
  display: inline-flex; align-items: center; gap: 6px; font-size: .72rem; font-weight: 800;
  letter-spacing: .04em; text-transform: uppercase; padding: 5px 10px; border-radius: var(--radius-pill);
}
.badge-sale { background: var(--red-600); color: #fff; }
.badge-deal { background: linear-gradient(135deg, var(--blue-600), var(--blue-400)); color:#fff; }
.badge-soft { background: #eaf0ff; color: var(--blue-600); }
.badge-stock { background: #e7f8ee; color: var(--green-600); }
.badge-stock.out { background:#fdeaea; color: var(--red-600); }
.pill { display:inline-flex; align-items:center; gap:8px; padding:8px 14px; border-radius: var(--radius-pill);
  background:#fff; border:1px solid var(--border); font-size:.9rem; font-weight:600; color: var(--ink-700); }

/* ---------- Announcement Bar -------------------------------------------- */
.announce {
  background: linear-gradient(90deg, var(--navy-800), var(--navy-600));
  color: #eaf0ff; font-size: .86rem; font-weight: 600; text-align: center;
  padding: 9px 16px; letter-spacing: .01em;
}
.announce strong { color:#fff; }
.announce .sep { opacity:.45; margin: 0 10px; }

/* ---------- Header ------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(9,13,28,.92); backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.header-inner { display: flex; align-items: center; gap: 22px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand img { height: 38px; width: auto; border-radius: 8px; }
.brand .brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand .brand-name { color:#fff; font-weight: 800; font-size: 1.15rem; letter-spacing: -.01em; }
.brand .brand-tag { color: var(--blue-300); font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; margin-top:3px; }
.main-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.main-nav a {
  color: #c7d2fe; font-weight: 600; font-size: .93rem; padding: 9px 12px; border-radius: 8px;
  transition: color var(--dur), background var(--dur); position: relative;
}
.main-nav a:hover, .main-nav a[aria-current="page"] { color:#fff; background: rgba(255,255,255,.07); }
.header-actions { display: flex; align-items: center; gap: 8px; margin-left: 8px; }
.icon-btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 12px; background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1); color:#fff; transition: background var(--dur);
}
.icon-btn:hover { background: rgba(255,255,255,.14); }
.icon-btn svg { width: 20px; height: 20px; }
.cart-count {
  position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px;
  background: var(--blue-500); color:#fff; font-size: .7rem; font-weight: 800; border-radius: 999px;
  display: flex; align-items: center; justify-content: center; border: 2px solid var(--navy-900);
}
.cart-count.hidden { display: none !important; }
.nav-toggle { display: none; }

/* Mobile nav drawer */
.mobile-nav {
  position: fixed; inset: 0; z-index: 200; visibility: hidden; pointer-events: none;
}
.mobile-nav .overlay { position: absolute; inset: 0; background: rgba(4,7,18,.6); opacity: 0; transition: opacity var(--dur); }
.mobile-nav .panel {
  position: absolute; top: 0; right: 0; height: 100%; width: min(86vw, 340px);
  background: var(--navy-800); padding: 22px; transform: translateX(100%);
  transition: transform var(--dur) var(--ease); display: flex; flex-direction: column; gap: 6px; overflow-y:auto;
}
.mobile-nav.open { visibility: visible; pointer-events: auto; }
.mobile-nav.open .overlay { opacity: 1; }
.mobile-nav.open .panel { transform: translateX(0); }
.mobile-nav a { color:#dbe4ff; font-weight:600; padding: 13px 12px; border-radius: 10px; }
.mobile-nav a:hover { background: rgba(255,255,255,.07); color:#fff; }
.mobile-nav .close { align-self: flex-end; background:none; border:none; color:#fff; padding:6px; }
.mobile-nav .close svg { width: 26px; height: 26px; }

/* ---------- Hero --------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(90% 120% at 85% -10%, rgba(37,99,235,.18), transparent 55%),
    linear-gradient(180deg, var(--navy-900), var(--navy-800));
  color: #dbe4ff;
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center;
  padding: clamp(44px, 6vw, 88px) 0;
}
.hero h1 { color:#fff; font-size: var(--fs-hero); }
.hero .hero-copy p { color:#b9c4e6; font-size: 1.12rem; margin-top: 18px; max-width: 34em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 22px 34px; margin-top: 34px; }
.hero-stats .stat { display: flex; flex-direction: column; }
.hero-stats .stat b { color:#fff; font-size: 1.25rem; }
.hero-stats .stat span { color: var(--blue-300); font-size: .82rem; }
.hero-media { position: relative; }
.hero-media img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.hero-media .float-card {
  position: absolute; background: rgba(255,255,255,.96); color: var(--ink-900);
  border-radius: 14px; padding: 12px 16px; box-shadow: var(--shadow-lg); font-weight: 700; font-size: .9rem;
  display:flex; align-items:center; gap:10px;
}
.hero-media .float-card svg { width: 22px; height: 22px; color: var(--green-600); }
.hero-media .fc-1 { left: -14px; bottom: 26px; }
.hero-media .fc-2 { right: -10px; top: 24px; }
.hero-trust { display:flex; flex-wrap:wrap; gap: 10px 22px; margin-top: 26px; color:#9fb0e6; font-size:.85rem; }
.hero-trust span { display:inline-flex; align-items:center; gap:8px; }
.hero-trust svg { width:16px; height:16px; color: var(--blue-300); }

/* ---------- Product Cards ----------------------------------------------- */
.grid-products {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 24px;
}
.product-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column; position: relative;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur);
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: #dbe4ff; }
.product-card .thumb {
  position: relative; aspect-ratio: 4/3; background: linear-gradient(160deg, #f7f9fc, #eef2f7);
  display:flex; align-items:center; justify-content:center; overflow:hidden;
}
.product-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.product-card:hover .thumb img { transform: scale(1.05); }
.product-card .card-badges { position: absolute; top: 12px; left: 12px; display:flex; flex-direction:column; gap:6px; z-index:2; }
.product-card .card-cat { font-size:.72rem; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color: var(--blue-500); }
.product-card .card-body { padding: 18px; display: flex; flex-direction: column; flex: 1; gap: 8px; }
.product-card h3 { font-size: 1.12rem; }
.product-card h3 a:hover { color: var(--primary); }
.product-card .card-desc { color: var(--text-muted); font-size: .92rem; flex: 1; }
.product-card .card-foot { display:flex; align-items:center; justify-content:space-between; gap: 12px; margin-top: 6px; }
.product-card .card-actions { display: grid; grid-template-columns: 1fr auto; gap: 10px; margin-top: 12px; }

/* Price display */
.price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price .now { font-size: 1.35rem; font-weight: 800; color: var(--ink-900); }
.price .was { font-size: .95rem; color: var(--ink-400); text-decoration: line-through; }
.price .save { font-size: .72rem; font-weight: 800; color: var(--green-600); background:#e7f8ee; padding:3px 8px; border-radius:999px; }
.price-lg .now { font-size: 2.1rem; }
.price-lg .was { font-size: 1.15rem; }

/* ---------- Feature Cards ----------------------------------------------- */
.grid-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.feature-card {
  background:#fff; border:1px solid var(--border); border-radius: var(--radius);
  padding: 26px; transition: transform var(--dur) var(--ease), box-shadow var(--dur);
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature-card .fi {
  width: 50px; height: 50px; border-radius: 12px; display:flex; align-items:center; justify-content:center;
  background: linear-gradient(135deg, #e8efff, #dbe4ff); color: var(--blue-600); margin-bottom: 16px;
}
.feature-card .fi svg { width: 26px; height: 26px; }
.feature-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.feature-card p { color: var(--text-muted); font-size: .95rem; }

/* Business type cards */
.grid-biz { display:grid; grid-template-columns: repeat(auto-fit, minmax(150px,1fr)); gap: 16px; }
.biz-card {
  background:#fff; border:1px solid var(--border); border-radius: var(--radius); padding: 22px 16px;
  text-align:center; transition: transform var(--dur) var(--ease), box-shadow var(--dur), border-color var(--dur);
}
.biz-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color:#dbe4ff; }
.biz-card .bi { width:44px; height:44px; margin: 0 auto 12px; color: var(--blue-600);
  display:flex;align-items:center;justify-content:center;background:#eef3ff;border-radius:12px; }
.biz-card .bi svg { width:24px;height:24px; }
.biz-card b { display:block; font-size:.98rem; color: var(--ink-900); }

/* ---------- Connectivity band ------------------------------------------- */
.connectivity {
  background: linear-gradient(180deg, var(--navy-800), var(--navy-900)); color:#dbe4ff;
}
.conn-grid { display:grid; grid-template-columns: repeat(4,1fr); gap: 22px; margin-top: 34px; }
.conn-item { text-align:center; padding: 22px 14px; border:1px solid rgba(255,255,255,.1); border-radius: var(--radius);
  background: rgba(255,255,255,.03); transition: transform var(--dur) var(--ease), background var(--dur); }
.conn-item:hover { transform: translateY(-4px); background: rgba(255,255,255,.06); }
.conn-item .ci { width:54px;height:54px;margin:0 auto 12px;border-radius:14px;display:flex;align-items:center;justify-content:center;
  background: rgba(37,99,235,.18); color: var(--blue-300); }
.conn-item .ci svg { width:28px;height:28px; }
.conn-item b { color:#fff; display:block; font-size:1.05rem; }
.conn-item span { font-size:.85rem; color:#9fb0e6; }

/* ---------- Sale / Promo band ------------------------------------------- */
.promo {
  background:
    radial-gradient(80% 140% at 10% 0%, rgba(37,99,235,.3), transparent 50%),
    linear-gradient(120deg, var(--navy-800), #131a3a);
  color:#fff; border-radius: var(--radius-lg); overflow:hidden; position:relative;
}
.promo-grid { display:grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items:center; padding: clamp(28px,4vw,52px); }
.promo h2 { color:#fff; }
.promo .deals { display:flex; flex-direction:column; gap:14px; margin-top:22px; }
.promo .deal { display:flex; align-items:center; justify-content:space-between; gap:16px; background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12); border-radius:14px; padding:16px 18px; }
.promo .deal b { display:block; color:#fff; }
.promo .deal .deal-price { text-align:right; }
.promo .deal .deal-price .was { color:#93a3cc; text-decoration:line-through; font-size:.85rem; }
.promo .deal .deal-price .now { color:#fff; font-weight:800; font-size:1.3rem; }
.promo-media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); }

/* ---------- CTA band ----------------------------------------------------- */
.cta-band {
  text-align:center; background:
   radial-gradient(70% 120% at 50% 0%, rgba(37,99,235,.22), transparent 60%),
   linear-gradient(180deg, var(--navy-800), var(--navy-900));
  color:#fff; border-radius: var(--radius-lg);
  padding: clamp(40px, 6vw, 72px) 24px;
}
.cta-band h2 { color:#fff; }
.cta-band p { color:#b9c4e6; max-width: 620px; margin: 14px auto 0; font-size:1.08rem; }
.cta-band .btns { display:flex; gap:14px; justify-content:center; flex-wrap:wrap; margin-top: 28px; }

/* ---------- Trust strip -------------------------------------------------- */
.trust-strip { display:grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); gap: 18px; }
.trust-item { display:flex; align-items:center; gap:12px; padding: 16px 18px; background:#fff; border:1px solid var(--border);
  border-radius: var(--radius); font-weight:600; color: var(--ink-700); font-size:.95rem; }
.trust-item .ti { width:40px;height:40px;flex:none;border-radius:10px;display:flex;align-items:center;justify-content:center;
  background:#eef3ff;color:var(--blue-600); }
.trust-item .ti svg { width:22px;height:22px; }

/* ---------- Newsletter --------------------------------------------------- */
.newsletter { background: var(--navy-800); color:#dbe4ff; border-radius: var(--radius-lg); padding: clamp(30px,4vw,52px); }
.newsletter-grid { display:grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items:center; }
.newsletter h2 { color:#fff; }
.newsletter form { display:flex; gap:10px; flex-wrap:wrap; }
.newsletter input[type=email] { flex:1; min-width: 220px; padding: 14px 16px; border-radius: var(--radius-pill);
  border:1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.08); color:#fff; }
.newsletter input::placeholder { color:#9fb0e6; }
.newsletter .consent { display:flex; gap:10px; align-items:flex-start; margin-top:14px; font-size:.82rem; color:#9fb0e6; }
.newsletter .consent input { margin-top:4px; }

/* ---------- Breadcrumbs -------------------------------------------------- */
.breadcrumbs { font-size:.85rem; color: var(--ink-400); padding: 18px 0; display:flex; gap:8px; flex-wrap:wrap; align-items:center; }
.breadcrumbs a:hover { color: var(--primary); }
.breadcrumbs .sep { color: var(--gray-300); }

/* ---------- Page hero (interior) ---------------------------------------- */
.page-hero { background: linear-gradient(180deg, var(--navy-900), var(--navy-800)); color:#dbe4ff; padding: clamp(40px,6vw,72px) 0; }
.page-hero h1 { color:#fff; max-width: 18ch; }
.page-hero p { color:#b9c4e6; margin-top:14px; max-width: 60ch; font-size:1.08rem; }

/* ---------- Product Detail Page ----------------------------------------- */
.pdp { display:grid; grid-template-columns: 1.05fr 1fr; gap: 44px; align-items:start; padding-top: 8px; }
.gallery .main-img {
  position: relative; aspect-ratio: 4/3; background: linear-gradient(160deg,#f7f9fc,#eef2f7);
  border:1px solid var(--border); border-radius: var(--radius-lg); overflow:hidden; cursor: zoom-in;
}
.gallery .main-img img { width:100%; height:100%; object-fit: cover; transition: transform .4s var(--ease); }
.gallery .main-img.zoomed img { transform: scale(1.8); cursor: zoom-out; }
.gallery .thumbs { display:flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.gallery .thumbs button {
  width: 76px; height: 66px; border-radius: 10px; overflow:hidden; border:2px solid var(--border); background:#fff; padding:0;
  transition: border-color var(--dur);
}
.gallery .thumbs button.active { border-color: var(--primary); }
.gallery .thumbs img { width:100%; height:100%; object-fit: cover; }
.pdp-info h1 { font-size: clamp(1.6rem,3vw,2.2rem); }
.pdp-info .sub { color: var(--text-muted); font-size:1.05rem; margin-top:6px; }
.pdp-info .rating { display:flex; align-items:center; gap:8px; margin-top:12px; color: var(--ink-400); font-size:.88rem; }
.pdp-info .rating .stars { color: var(--amber-500); letter-spacing:2px; }
.pdp-price { margin: 18px 0; }
.pdp-purchase { display:flex; flex-direction: column; gap:14px; margin-top: 8px;
  border:1px solid var(--border); border-radius: var(--radius); padding: 20px; background: #fff; }
.qty { display:flex; align-items:center; gap: 0; border:1px solid var(--gray-300); border-radius: var(--radius-pill); overflow:hidden; width: max-content; }
.qty button { width: 42px; height: 44px; background:#fff; border:none; font-size:1.2rem; color: var(--ink-700); }
.qty button:hover { background: var(--gray-100); }
.qty input { width: 52px; height: 44px; text-align:center; border:none; border-inline:1px solid var(--gray-200); -moz-appearance:textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance:none; margin:0; }
.pdp-buy-row { display:flex; gap: 12px; flex-wrap: wrap; align-items:center; }
.pdp-buy-row .btn { flex: 1; min-width: 160px; }
.pdp-meta { display:flex; flex-direction:column; gap:10px; margin-top: 6px; font-size:.9rem; color: var(--ink-500); }
.pdp-meta .row { display:flex; align-items:center; gap:10px; }
.pdp-meta svg { width:18px; height:18px; color: var(--blue-500); flex:none; }
.pay-icons { display:flex; align-items:center; gap:8px; flex-wrap:wrap; margin-top:4px; }
.pay-icons img, .pay-icons .pay-chip { height: 26px; }
.pay-chip { display:inline-flex;align-items:center;padding:4px 8px;border:1px solid var(--border);border-radius:6px;
  font-size:.72rem;font-weight:800;color:var(--ink-500);background:#fff; }

/* PDP content sections */
.pdp-sections { margin-top: clamp(40px,5vw,64px); display:grid; grid-template-columns: 1fr; gap: clamp(28px,4vw,44px); }
.pdp-block h2 { font-size: 1.5rem; margin-bottom: 16px; }
.spec-table { width:100%; border-collapse: collapse; border:1px solid var(--border); border-radius: var(--radius); overflow:hidden; }
.spec-table th, .spec-table td { text-align:left; padding: 13px 16px; border-bottom:1px solid var(--border); font-size:.94rem; }
.spec-table th { width: 38%; background: var(--gray-100); color: var(--ink-700); font-weight:700; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom:none; }
.check-list { display:grid; grid-template-columns: repeat(auto-fit,minmax(260px,1fr)); gap:12px 24px; }
.check-list li { display:flex; gap:10px; align-items:flex-start; color: var(--ink-700); }
.check-list li svg { width:20px; height:20px; color: var(--green-600); flex:none; margin-top:2px; }
.box-list { display:grid; grid-template-columns: repeat(auto-fit,minmax(180px,1fr)); gap:14px; }
.box-list .box-item { background:#fff;border:1px solid var(--border);border-radius:var(--radius);padding:16px;display:flex;gap:12px;align-items:center; }
.box-list .box-item .n { width:32px;height:32px;flex:none;border-radius:8px;background:#eef3ff;color:var(--blue-600);display:flex;align-items:center;justify-content:center;font-weight:800; }
.note-confirm { font-size:.82rem; color: var(--amber-500); font-style: italic; }

/* ---------- FAQ Accordion ------------------------------------------------ */
.faq { max-width: 820px; margin: 0 auto; display:flex; flex-direction:column; gap: 12px; }
.faq-item { border:1px solid var(--border); border-radius: var(--radius); background:#fff; overflow:hidden; }
.faq-item summary, .faq-q {
  list-style:none; cursor:pointer; padding: 18px 20px; font-weight:700; color: var(--ink-900);
  display:flex; align-items:center; justify-content:space-between; gap:14px; font-size:1.02rem;
}
.faq-item summary::-webkit-details-marker { display:none; }
.faq-item summary .chev { transition: transform var(--dur); flex:none; color: var(--blue-500); }
.faq-item[open] summary .chev { transform: rotate(180deg); }
.faq-item .faq-a { padding: 0 20px 20px; color: var(--text-muted); }

/* ---------- Forms -------------------------------------------------------- */
.form-card { background:#fff; border:1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(22px,3vw,34px); box-shadow: var(--shadow-sm); }
.form-grid { display:grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.field { display:flex; flex-direction:column; gap:6px; }
.field label { font-weight:600; font-size:.9rem; color: var(--ink-700); }
.field label .req { color: var(--red-600); }
.field input, .field select, .field textarea {
  width:100%; padding: 12px 14px; border:1px solid var(--gray-300); border-radius: var(--radius-sm);
  background:#fff; color: var(--ink-900); transition: border-color var(--dur), box-shadow var(--dur);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline:none; border-color: var(--blue-400); box-shadow: 0 0 0 3px rgba(37,99,235,.15);
}
.field textarea { min-height: 130px; resize: vertical; }
.field .err { color: var(--red-600); font-size:.8rem; display:none; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--red-600); }
.field.invalid .err { display:block; }
.form-note { font-size:.82rem; color: var(--ink-400); margin-top: 4px; }
.form-status { margin-top: 14px; padding: 14px 16px; border-radius: var(--radius-sm); font-weight:600; display:none; }
.form-status.ok { display:block; background:#e7f8ee; color: var(--green-600); border:1px solid #b9ebcd; }
.form-status.bad { display:block; background:#fdeaea; color: var(--red-600); border:1px solid #f6cccc; }
/* honeypot */
.hp-field { position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }

/* ---------- Cart Drawer -------------------------------------------------- */
.cart-drawer { position: fixed; inset:0; z-index: 300; visibility:hidden; pointer-events:none; }
.cart-drawer .overlay { position:absolute; inset:0; background: rgba(4,7,18,.55); opacity:0; transition: opacity var(--dur); }
.cart-drawer .panel {
  position:absolute; top:0; right:0; height:100%; width: min(94vw, 420px); background:#fff;
  transform: translateX(100%); transition: transform var(--dur) var(--ease); display:flex; flex-direction:column; box-shadow: var(--shadow-lg);
}
.cart-drawer.open { visibility:visible; pointer-events:auto; }
.cart-drawer.open .overlay { opacity:1; }
.cart-drawer.open .panel { transform: translateX(0); }
.cart-head { display:flex; align-items:center; justify-content:space-between; padding: 18px 20px; border-bottom:1px solid var(--border); }
.cart-head h3 { font-size:1.15rem; }
.cart-head .close { background:none;border:none;color:var(--ink-500);padding:6px; }
.cart-head .close svg { width:24px;height:24px; }
.cart-items { flex:1; overflow-y:auto; padding: 8px 20px; }
.cart-line { display:grid; grid-template-columns: 64px 1fr auto; gap:14px; padding: 16px 0; border-bottom:1px solid var(--border); }
.cart-line .cl-img { width:64px; height:64px; border-radius:10px; overflow:hidden; background: var(--gray-100); border:1px solid var(--border); }
.cart-line .cl-img img { width:100%;height:100%;object-fit:cover; }
.cart-line .cl-name { font-weight:700; font-size:.92rem; color: var(--ink-900); }
.cart-line .cl-name a:hover { color: var(--primary); }
.cart-line .cl-price { font-size:.82rem; color: var(--ink-500); margin-top:2px; }
.cart-line .cl-price .was { text-decoration:line-through; color: var(--ink-300); margin-left:6px; }
.cart-line .cl-controls { display:flex; align-items:center; gap:10px; margin-top:8px; }
.cart-line .qty-mini { display:flex; align-items:center; border:1px solid var(--gray-300); border-radius:999px; overflow:hidden; }
.cart-line .qty-mini button { width:28px; height:28px; background:#fff; border:none; color: var(--ink-700); }
.cart-line .qty-mini button:hover { background: var(--gray-100); }
.cart-line .qty-mini span { min-width:26px; text-align:center; font-size:.85rem; font-weight:700; }
.cart-line .remove { background:none; border:none; color: var(--ink-400); font-size:.78rem; text-decoration:underline; }
.cart-line .remove:hover { color: var(--red-600); }
.cart-line .cl-right { text-align:right; }
.cart-line .cl-total { font-weight:800; color: var(--ink-900); }
.cart-upsell { padding: 14px 20px; background: var(--gray-100); border-top:1px solid var(--border); }
.cart-upsell h4 { font-size:.82rem; text-transform:uppercase; letter-spacing:.06em; color: var(--ink-500); margin-bottom:10px; }
.cart-upsell .up-item { display:flex; align-items:center; gap:10px; padding:8px 0; }
.cart-upsell .up-item img { width:40px;height:40px;border-radius:8px;object-fit:cover;border:1px solid var(--border); }
.cart-upsell .up-item .up-name { flex:1; font-size:.85rem; font-weight:600; }
.cart-upsell .up-item button { font-size:.78rem; font-weight:700; color: var(--primary); background:none; border:1px solid var(--blue-300); border-radius:999px; padding:5px 12px; }
.cart-upsell .up-item button:hover { background:#eef3ff; }
.cart-foot { padding: 18px 20px; border-top:1px solid var(--border); background:#fff; }
.cart-foot .line { display:flex; justify-content:space-between; font-size:.92rem; color: var(--ink-600); margin-bottom:8px; }
.cart-foot .line.total { font-size:1.15rem; font-weight:800; color: var(--ink-900); border-top:1px dashed var(--border); padding-top:12px; }
.cart-foot .ship-note { font-size:.8rem; color: var(--ink-400); }
.cart-foot .secure { display:flex; align-items:center; justify-content:center; gap:8px; margin-top:10px; font-size:.8rem; color: var(--ink-400); }
.cart-foot .secure svg { width:16px; height:16px; color: var(--green-600); }
.cart-empty { text-align:center; padding: 60px 24px; color: var(--ink-400); }
.cart-empty svg { width: 56px; height:56px; color: var(--gray-300); margin: 0 auto 16px; }

/* ---------- Cart / Checkout pages --------------------------------------- */
.cart-layout { display:grid; grid-template-columns: 1.6fr 1fr; gap: 32px; align-items:start; }
.cart-table { width:100%; }
.cart-row { display:grid; grid-template-columns: 90px 1fr auto; gap:18px; padding: 20px 0; border-bottom:1px solid var(--border); align-items:center; }
.cart-row .cr-img { width:90px;height:90px;border-radius:12px;overflow:hidden;background:var(--gray-100);border:1px solid var(--border); }
.cart-row .cr-img img { width:100%;height:100%;object-fit:cover; }
.summary-card { background:#fff; border:1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; position: sticky; top: calc(var(--header-h) + 16px); box-shadow: var(--shadow-sm); }
.summary-card h3 { font-size:1.2rem; margin-bottom:16px; }
.summary-card .line { display:flex; justify-content:space-between; margin-bottom:10px; color: var(--ink-600); }
.summary-card .line.total { border-top:1px solid var(--border); padding-top:14px; margin-top:6px; font-size:1.3rem; font-weight:800; color: var(--ink-900); }
.summary-card .btn { margin-top: 16px; }

/* ---------- Success / status pages -------------------------------------- */
.status-page { max-width: 720px; margin: 0 auto; text-align:center; }
.status-icon { width: 84px; height:84px; margin: 0 auto 22px; border-radius: 50%; display:flex; align-items:center; justify-content:center; }
.status-icon.ok { background:#e7f8ee; color: var(--green-600); }
.status-icon.warn { background:#fef3e2; color: var(--amber-500); }
.status-icon.err { background:#fdeaea; color: var(--red-600); }
.status-icon svg { width:44px; height:44px; }
.order-box { text-align:left; background:#fff; border:1px solid var(--border); border-radius: var(--radius); padding: 24px; margin-top: 28px; }
.order-box .line { display:flex; justify-content:space-between; padding:8px 0; border-bottom:1px solid var(--border); }
.order-box .line:last-child { border-bottom:none; }

/* ---------- Legal / prose ------------------------------------------------ */
.prose { max-width: 820px; margin: 0 auto; }
.prose h2 { font-size:1.5rem; margin: 32px 0 12px; }
.prose h3 { font-size:1.15rem; margin: 22px 0 8px; }
.prose p, .prose li { color: var(--ink-700); margin-bottom: 12px; }
.prose ul { list-style: disc; padding-left: 22px; margin-bottom: 16px; }
.prose ul li { margin-bottom: 6px; }
.prose .placeholder { background:#fff8e6; border:1px dashed var(--amber-500); color:#8a6100; padding:12px 16px; border-radius:8px; font-weight:600; }
.prose .updated { color: var(--ink-400); font-size:.9rem; }

/* ---------- Toolbar (shop filters) -------------------------------------- */
.shop-toolbar { display:flex; flex-wrap:wrap; gap: 14px; align-items:center; justify-content:space-between; margin-bottom: 24px; }
.shop-filters { display:flex; gap:8px; flex-wrap:wrap; }
.filter-chip { padding:8px 16px; border-radius:999px; border:1px solid var(--gray-300); background:#fff; font-weight:600; font-size:.88rem; color: var(--ink-600); transition: all var(--dur); }
.filter-chip:hover { border-color: var(--blue-300); }
.filter-chip.active { background: var(--navy-800); color:#fff; border-color: var(--navy-800); }
.shop-tools-right { display:flex; gap:10px; align-items:center; flex-wrap:wrap; }
.search-box { display:flex; align-items:center; gap:8px; border:1px solid var(--gray-300); border-radius:999px; padding: 8px 14px; background:#fff; }
.search-box svg { width:18px; height:18px; color: var(--ink-400); }
.search-box input { border:none; outline:none; width: 180px; }
.sort-select { padding: 9px 14px; border:1px solid var(--gray-300); border-radius:999px; background:#fff; font-weight:600; color: var(--ink-700); }
.no-results { text-align:center; padding: 60px 0; color: var(--ink-400); }

/* ---------- Toast -------------------------------------------------------- */
.toast-wrap { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 500; display:flex; flex-direction:column; gap:10px; }
.toast { background: var(--navy-800); color:#fff; padding: 13px 18px; border-radius: 12px; box-shadow: var(--shadow-lg);
  display:flex; align-items:center; gap:12px; font-weight:600; font-size:.92rem; opacity:0; transform: translateY(12px);
  transition: opacity var(--dur), transform var(--dur); }
.toast.show { opacity:1; transform: translateY(0); }
.toast svg { width:20px; height:20px; color: var(--blue-300); flex:none; }
.toast a { color: var(--blue-300); text-decoration: underline; }

/* ---------- Sticky mobile add-to-cart ----------------------------------- */
.sticky-buy { position: fixed; left:0; right:0; bottom:0; z-index: 90; background:#fff; border-top:1px solid var(--border);
  padding: 10px 16px; display:none; align-items:center; justify-content:space-between; gap:12px; box-shadow: 0 -6px 20px rgba(15,23,42,.1); }
.sticky-buy .sb-price .now { font-size:1.15rem; font-weight:800; }
.sticky-buy .sb-price .was { text-decoration:line-through; color:var(--ink-400); font-size:.8rem; margin-left:6px; }
.sticky-buy .btn { flex:0 0 auto; }

/* ---------- Back to top -------------------------------------------------- */
.to-top { position: fixed; right: 18px; bottom: 18px; z-index: 80; width: 46px; height:46px; border-radius: 50%;
  background: var(--navy-800); color:#fff; border:none; display:flex; align-items:center; justify-content:center;
  opacity:0; pointer-events:none; transition: opacity var(--dur), transform var(--dur); box-shadow: var(--shadow-md); }
.to-top.show { opacity:1; pointer-events:auto; }
.to-top:hover { transform: translateY(-3px); }
.to-top svg { width:22px;height:22px; }

/* ---------- Footer ------------------------------------------------------- */
.site-footer { background: var(--navy-900); color:#9fb0e6; padding-top: clamp(44px,5vw,68px); margin-top: clamp(48px,6vw,88px); }
.footer-grid { display:grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand img { height: 42px; border-radius:8px; margin-bottom: 14px; }
.footer-brand p { color:#8291bd; font-size:.92rem; max-width: 30ch; }
.footer-brand .tag { color: var(--blue-300); font-size:.72rem; letter-spacing:.16em; text-transform:uppercase; margin-top:10px; }
.footer-col h4 { color:#fff; font-size:.82rem; letter-spacing:.08em; text-transform:uppercase; margin-bottom:14px; }
.footer-col a { display:block; padding: 6px 0; color:#9fb0e6; font-size:.92rem; transition: color var(--dur); }
.footer-col a:hover { color:#fff; }
.footer-badges { display:flex; flex-wrap:wrap; gap:14px; margin-top: 18px; }
.footer-badge { display:flex; align-items:center; gap:8px; font-size:.82rem; color:#b9c4e6; }
.footer-badge svg { width:16px; height:16px; color: var(--blue-300); }
.footer-bottom { border-top:1px solid rgba(255,255,255,.08); margin-top: 36px; padding: 22px 0; display:flex; flex-wrap:wrap; gap:12px;
  align-items:center; justify-content:space-between; font-size:.85rem; color:#7683ab; }
.footer-bottom a:hover { color:#fff; }

/* ---------- Fade-in on scroll ------------------------------------------- */
/* Only hide-then-reveal when JS is active (avoids invisible content with JS off) */
.js .reveal { opacity:0; transform: translateY(22px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity:1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  * { animation-duration:.001ms !important; transition-duration:.001ms !important; scroll-behavior:auto !important; }
  .reveal { opacity:1; transform:none; }
}

/* ---------- Responsive --------------------------------------------------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; max-width: 560px; }
  .promo-grid, .newsletter-grid { grid-template-columns: 1fr; }
  .pdp { grid-template-columns: 1fr; }
  .cart-layout { grid-template-columns: 1fr; }
  .summary-card { position: static; }
  .conn-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .main-nav, .header-actions .desktop-only { display:none; }
  .nav-toggle { display:inline-flex; }
  .header-inner { gap: 12px; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .sticky-buy.enabled { display:flex; }
  body.has-sticky-buy { padding-bottom: 76px; }
}
@media (max-width: 520px) {
  .conn-grid { grid-template-columns: 1fr; }
  .grid-biz { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-cta .btn, .cta-band .btns .btn { width: 100%; }
  .product-card .card-actions { grid-template-columns: 1fr; }
}
