/* ==========================================================================
   NTech Computers — storefront stylesheet
   Design language: airy light-blue storefront, crisp white cards,
   blue primary action, orange "sale" accents. No frameworks.
   ========================================================================== */

/* ----------------------------- Design tokens ----------------------------- */
:root {
  --blue-50:  #eef4ff;
  --blue-100: #dbe7ff;
  --blue-200: #bfd4ff;
  --blue-500: #2f6bf3;
  --blue-600: #1d55d8;
  --blue-700: #1743ad;

  --orange:   #ff7a00;
  --orange-50:#fff3e6;
  --green:    #16a34a;
  --green-50: #e9f9ef;
  --red:      #dc2626;
  --red-50:   #fdecec;
  --amber:    #d97706;
  --amber-50: #fef6e7;
  --violet-50:#f2eefe;
  --violet:   #7c3aed;

  --ink:      #101828;
  --ink-2:    #344054;
  --muted:    #667085;
  --muted-2:  #98a2b3;
  --line:     #e7ecf3;
  --line-2:   #eef2f8;
  --surface:  #ffffff;
  --canvas:   #ffffff;
  --canvas-2: #f7f9fc;

  --radius-sm: 8px;
  --radius:    12px;
  --radius-lg: 18px;
  --radius-pill: 999px;

  --shadow-xs: 0 1px 2px rgba(16, 24, 40, .05);
  --shadow-sm: 0 1px 3px rgba(16, 24, 40, .07), 0 1px 2px rgba(16, 24, 40, .04);
  --shadow-md: 0 6px 18px rgba(16, 24, 40, .07);
  --shadow-lg: 0 18px 46px rgba(16, 24, 40, .12);

  --header-h: 72px;
  --container: 1240px;

  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-head: 'Plus Jakarta Sans', 'Inter', -apple-system, 'Segoe UI', sans-serif;
}

/* -------------------------------- Reset ---------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
}

img, svg, video { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5 { font-family: var(--font-head); margin: 0; line-height: 1.18; letter-spacing: -.02em; }
p { margin: 0; }
figure { margin: 0; }

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

.visually-hidden {
  position: absolute !important;
  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; top: -60px; left: 12px; z-index: 999;
  background: var(--ink); color: #fff;
  padding: 10px 16px; border-radius: var(--radius-sm);
  transition: top .2s ease;
}
.skip-link:focus { top: 12px; }

/* ------------------------------- Layout ---------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}

.section { padding: 46px 0; }
.section--tight { padding: 30px 0; }
.section--alt { background: var(--canvas-2); }

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}

.section-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
}
.section-title span { color: var(--blue-500); }

.section-sub {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13.5px;
}

.section-tools {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.arrow-group { display: flex; gap: 8px; }
.arrow-btn {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 50%;
  color: var(--ink-2);
  transition: .18s ease;
}
.arrow-btn:hover { border-color: var(--blue-500); color: var(--blue-500); background: var(--blue-50); }
.arrow-btn[disabled] { opacity: .35; cursor: not-allowed; }

/* ------------------------------- Buttons --------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .02em;
  transition: .18s ease;
  white-space: nowrap;
}

.btn--primary { background: var(--blue-500); color: #fff; box-shadow: 0 4px 12px rgba(47, 107, 243, .25); }
.btn--primary:hover { background: var(--blue-600); transform: translateY(-1px); }

.btn--ghost { background: #fff; border-color: var(--line); color: var(--ink-2); }
.btn--ghost:hover { border-color: var(--blue-200); color: var(--blue-600); background: var(--blue-50); }

.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #1f2937; }

.btn--white { background: #fff; color: var(--blue-600); }
.btn--white:hover { background: #f1f5ff; }

.btn--sm { padding: 8px 14px; font-size: 12px; }
.btn--lg { padding: 14px 28px; font-size: 14px; }
.btn--block { width: 100%; }
.btn[disabled], .btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }

.btn-arrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue-500);
}
.btn-arrow:hover { gap: 12px; }

/* ------------------------------ Top bar ---------------------------------- */
.topbar {
  background: #f7f9fc;
  border-bottom: 1px solid var(--line-2);
  font-size: 12px;
  color: var(--muted);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 38px;
  flex-wrap: wrap;
}
.topbar-group { display: flex; align-items: center; gap: 20px; }
.topbar-item { display: inline-flex; align-items: center; gap: 6px; }
.topbar-item i { color: var(--blue-500); font-size: 13px; }
.topbar a:hover { color: var(--blue-600); }

/* ------------------------------- Header ---------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--line-2);
  transition: box-shadow .2s ease;
}
.site-header.is-stuck { box-shadow: 0 8px 26px rgba(16, 24, 40, .08); }

.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: var(--header-h);
}

.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-mark {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--blue-500), #6d9bff);
  color: #fff;
  font-size: 19px;
  box-shadow: 0 6px 14px rgba(47, 107, 243, .3);
}
.brand-name {
  display: block;
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.1;
}
.brand-name em { font-style: normal; color: var(--blue-500); }
.brand-tag {
  display: block;
  font-size: 10px;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-weight: 600;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-inline: auto;
}
.primary-nav > a,
.nav-dropdown-toggle {
  position: relative;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  padding: 8px 0;
  background: none;
  border: 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.primary-nav > a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--blue-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}
.primary-nav > a:hover, .nav-dropdown-toggle:hover { color: var(--blue-600); }
.primary-nav > a:hover::after, .primary-nav > a.is-active::after { transform: scaleX(1); }
.primary-nav > a.is-active { color: var(--blue-600); font-weight: 600; }

.nav-dropdown { position: relative; }
.nav-dropdown-toggle i { font-size: 11px; transition: transform .2s ease; }
.nav-dropdown.is-open .nav-dropdown-toggle i { transform: rotate(180deg); }

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: -18px;
  width: 290px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 10px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: .2s ease;
}
.nav-dropdown.is-open .nav-dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 10px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--ink-2);
}
.nav-dropdown-menu a i { color: var(--blue-500); font-size: 14px; }
.nav-dropdown-menu a:hover { background: var(--blue-50); color: var(--blue-700); }
.nav-dropdown-all {
  grid-column: 1 / -1;
  margin-top: 6px;
  border-top: 1px solid var(--line-2);
  padding-top: 10px !important;
  font-weight: 600;
  color: var(--blue-600) !important;
}

.header-search {
  position: relative;
  width: 260px;
  flex-shrink: 0;
}
.header-search i {
  position: absolute;
  left: 14px; top: 50%;
  transform: translateY(-50%);
  color: var(--muted-2);
  font-size: 15px;
}
.header-search input {
  width: 100%;
  height: 42px;
  padding: 0 16px 0 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: #f8fafc;
  font-size: 13.5px;
  transition: .2s ease;
}
.header-search input::placeholder { color: var(--muted-2); }
.header-search input:focus {
  outline: none;
  background: #fff;
  border-color: var(--blue-200);
  box-shadow: 0 0 0 4px var(--blue-50);
}

.header-actions { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.icon-btn {
  position: relative;
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border: 0;
  background: transparent;
  border-radius: var(--radius-sm);
  color: var(--ink-2);
  font-size: 18px;
  transition: .18s ease;
}
.icon-btn:hover { background: var(--blue-50); color: var(--blue-600); }
.cart-count[hidden] { display: none !important; }
.cart-count {
  position: absolute;
  top: 4px; right: 3px;
  min-width: 18px; height: 18px;
  padding: 0 5px;
  display: grid; place-items: center;
  background: var(--orange);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  border-radius: var(--radius-pill);
  border: 2px solid #fff;
}

.header-search-toggle { display: none; }

/* ------------------------------- Hero ------------------------------------ */
.hero {
  position: relative;
  background:
    radial-gradient(1100px 420px at 78% 12%, #e8f0ff 0%, rgba(232, 240, 255, 0) 62%),
    linear-gradient(180deg, #eef4ff 0%, #f8fbff 72%, #ffffff 100%);
  overflow: hidden;
}
.hero::before,
.hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 107, 243, .14), rgba(47, 107, 243, 0) 68%);
  pointer-events: none;
}
.hero::before { width: 420px; height: 420px; right: -80px; top: -120px; }
.hero::after { width: 320px; height: 320px; left: -110px; bottom: -140px; }

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: center;
  gap: 48px;
  padding: 54px 0 46px;
  z-index: 1;
}

.hero-copy { max-width: 520px; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(47, 107, 243, .1);
  color: var(--blue-700);
  border-radius: var(--radius-pill);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero-eyebrow i { font-size: 13px; }

.hero-title {
  font-size: clamp(34px, 4.4vw, 52px);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.06;
  color: var(--ink);
}
.hero-title span { color: var(--blue-500); display: block; }

.hero-sub {
  margin-top: 18px;
  font-size: 15.5px;
  color: var(--muted);
  max-width: 430px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 34px;
  margin-top: 40px;
  padding-top: 26px;
  border-top: 1px solid rgba(47, 107, 243, .14);
  flex-wrap: wrap;
}
.hero-stat strong {
  display: block;
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 800;
  color: var(--ink);
}
.hero-stat span { font-size: 12px; color: var(--muted); }

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 400px;
}
.hero-visual-glow {
  position: absolute;
  inset: 8% 6%;
  background: radial-gradient(circle at 50% 45%, rgba(47, 107, 243, .18), transparent 62%);
  filter: blur(6px);
}
.hero-device {
  position: relative;
  width: min(100%, 470px);
  border-radius: 30px;
  box-shadow: 0 30px 60px rgba(23, 67, 173, .18), 0 2px 0 rgba(255, 255, 255, .8) inset;
  animation: floaty 7s ease-in-out infinite;
}
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.hero-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, .94);
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-2);
  backdrop-filter: blur(8px);
  animation: floaty 6s ease-in-out infinite;
}
.hero-chip i { color: var(--blue-500); font-size: 16px; }
.hero-chip small { display: block; font-size: 10.5px; color: var(--muted); font-weight: 500; }
.hero-chip--a { top: 12%; left: 0; }
.hero-chip--b { bottom: 16%; right: 0; animation-delay: 1.4s; }
.hero-chip--c { top: 46%; right: -2%; animation-delay: 2.2s; }

.hero-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding-bottom: 30px;
}
.hero-dots { display: flex; gap: 8px; }
.hero-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: 0;
  background: var(--blue-200);
  transition: .2s ease;
}
.hero-dot.is-active { width: 24px; border-radius: var(--radius-pill); background: var(--blue-500); }

/* ---------------------------- Feature tiles ------------------------------ */
.feature-tiles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding: 8px 0 6px;
}
.feature-tile {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xs);
  transition: .2s ease;
}
.feature-tile:hover {
  border-color: var(--blue-200);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.feature-tile-icon {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 14px;
  font-size: 20px;
  flex-shrink: 0;
}
.feature-tile-icon--orange { background: var(--orange-50); color: var(--orange); }
.feature-tile-icon--blue   { background: var(--blue-50); color: var(--blue-500); }
.feature-tile-icon--violet { background: var(--violet-50); color: var(--violet); }
.feature-tile-icon--amber  { background: var(--amber-50); color: var(--amber); }

.feature-tile-body { min-width: 0; display: flex; flex-direction: column; }
.feature-tile-title { display: block; font-size: 14.5px; font-weight: 700; color: var(--ink); }
.feature-tile-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 3px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--muted);
}
.feature-tile:hover .feature-tile-link { color: var(--blue-500); }

/* ------------------------------- Pills ----------------------------------- */
.pills { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.pill {
  padding: 7px 15px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  background: transparent;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
  transition: .18s ease;
}
.pill:hover { color: var(--blue-600); background: var(--blue-50); }
.pill.is-active {
  background: var(--blue-500);
  border-color: var(--blue-500);
  color: #fff;
  box-shadow: 0 4px 10px rgba(47, 107, 243, .25);
}

/* --------------------------- Product showcase ---------------------------- */
.showcase {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) 290px;
  gap: 18px;
  align-items: start;
}
.showcase--plain { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: .22s ease;
}
.product-card:hover {
  border-color: var(--blue-200);
  box-shadow: 0 16px 34px rgba(16, 24, 40, .1);
  transform: translateY(-3px);
}

.product-media {
  position: relative;
  display: block;
  background: var(--canvas-2);
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.product-media img {
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 14px;
  transition: transform .4s ease;
}
.product-card:hover .product-media img { transform: scale(1.06); }

.product-badges { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 9px;
  border-radius: 5px;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: #fff;
  background: var(--blue-500);
}
.badge--sale { background: var(--orange); }
.badge--out { background: var(--ink-2); }
.badge--new { background: var(--green); }

.wish-btn {
  position: absolute;
  top: 10px; right: 10px;
  width: 32px; height: 32px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .94);
  border-radius: 50%;
  color: var(--muted);
  font-size: 14px;
  transition: .18s ease;
  z-index: 2;
}
.wish-btn:hover { color: var(--red); border-color: #fecaca; background: #fff; }
.wish-btn.is-on { color: var(--red); border-color: #fecaca; }

.product-body { padding: 14px 15px 15px; display: flex; flex-direction: column; gap: 6px; flex: 1; }

.product-brand {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.product-name {
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink);
  letter-spacing: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 38px;
}
.product-name:hover { color: var(--blue-600); }

.product-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.stock-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10.5px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
}
.stock-pill::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.stock-pill--in  { color: var(--green); background: var(--green-50); }
.stock-pill--low { color: var(--amber); background: var(--amber-50); }
.stock-pill--out { color: var(--red); background: var(--red-50); }

.product-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 10px;
}
.price-row { display: flex; align-items: baseline; gap: 7px; flex-wrap: wrap; }
.price { font-family: var(--font-head); font-size: 16px; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.price--was { font-size: 12px; font-weight: 500; color: var(--muted-2); text-decoration: line-through; }

.add-btn {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink-2);
  font-size: 16px;
  transition: .18s ease;
  flex-shrink: 0;
}
.add-btn:hover { background: var(--blue-500); border-color: var(--blue-500); color: #fff; }
.add-btn[disabled] { opacity: .45; cursor: not-allowed; }
.add-btn[disabled]:hover { background: #fff; border-color: var(--line); color: var(--ink-2); }

/* ------------------------------ Promo card ------------------------------- */
.promo-card {
  position: relative;
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
  padding: 26px 24px;
  border-radius: var(--radius);
  background:
    radial-gradient(420px 260px at 82% 8%, rgba(255, 255, 255, .3), transparent 68%),
    linear-gradient(160deg, #4f8bff 0%, #2f6bf3 46%, #1743ad 100%);
  color: #fff;
  overflow: hidden;
  box-shadow: 0 18px 38px rgba(23, 67, 173, .26);
}
.promo-card::after {
  content: '';
  position: absolute;
  inset: auto -30% -40% -10%;
  height: 62%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .22), transparent 66%);
}
.promo-eyebrow {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  opacity: .82;
}
.promo-title {
  font-family: var(--font-head);
  font-size: 25px;
  font-weight: 800;
  line-height: 1.14;
  margin-top: 10px;
}
.promo-price {
  margin-top: 12px;
  font-size: 13px;
  opacity: .9;
}
.promo-price strong { font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.promo-media { position: relative; margin: 18px 0; display: grid; place-items: center; }
.promo-media img {
  width: 100%;
  max-width: 230px;
  border-radius: 18px;
  box-shadow: 0 16px 30px rgba(8, 30, 80, .28);
}
.promo-card .btn { align-self: flex-start; position: relative; z-index: 2; }

.promo-card--soft {
  background: linear-gradient(160deg, #eef4ff 0%, #dbe7ff 100%);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--blue-100);
}
.promo-card--soft .promo-eyebrow { color: var(--blue-600); opacity: 1; }
.promo-card--soft .promo-price { color: var(--muted); }

/* --------------------------- Category tiles ------------------------------ */
.category-tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.category-tile {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 22px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-height: 150px;
  overflow: hidden;
  transition: .2s ease;
}
.category-tile:hover { border-color: var(--blue-200); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.category-tile-body { position: relative; z-index: 1; max-width: 58%; }
.category-tile-title { font-family: var(--font-head); font-size: 17px; font-weight: 700; }
.category-tile-from { font-size: 12px; color: var(--muted); margin-top: 4px; }
.category-tile .btn-arrow { margin-top: 14px; font-size: 10px; }
.category-tile-img {
  width: 150px;
  align-self: flex-end;
  margin-bottom: -14px;
  filter: drop-shadow(0 12px 20px rgba(16, 24, 40, .12));
}

/* ------------------------------- Trust row ------------------------------- */
.trust-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding: 34px 0;
  border-top: 1px solid var(--line-2);
}
.trust-item { display: flex; align-items: flex-start; gap: 13px; }
.trust-icon {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--blue-50);
  color: var(--blue-500);
  font-size: 18px;
  flex-shrink: 0;
}
.trust-title { font-size: 13.5px; font-weight: 700; }
.trust-text { font-size: 12px; color: var(--muted); margin-top: 2px; }

/* ------------------------------- Footer ---------------------------------- */
.site-footer {
  margin-top: 20px;
  background: #0b1220;
  color: #c6d0e0;
  padding: 52px 0 0;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
}
.site-footer .brand-name { color: #fff; }
.site-footer .brand-tag { color: #7f8ca6; }
.footer-blurb { margin-top: 16px; font-size: 13px; line-height: 1.7; color: #93a0b8; max-width: 320px; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, .07);
  color: #d6dfef;
  transition: .18s ease;
}
.footer-social a:hover { background: var(--blue-500); color: #fff; }

.footer-links h2,
.footer-contact h2 {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 16px;
}
.footer-links a { display: block; font-size: 13px; color: #93a0b8; padding: 5px 0; transition: .15s ease; }
.footer-links a:hover { color: #fff; padding-left: 4px; }
.footer-contact p { display: flex; gap: 10px; font-size: 13px; color: #93a0b8; margin-bottom: 12px; line-height: 1.6; }
.footer-contact i { color: var(--blue-500); font-size: 15px; margin-top: 2px; }
.footer-contact a:hover { color: #fff; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0 26px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  font-size: 12px;
  color: #7f8ca6;
  flex-wrap: wrap;
}
.footer-payments { display: flex; gap: 8px; flex-wrap: wrap; }
.payment-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, .06);
  font-size: 11px;
  color: #b9c4d6;
}

/* ------------------------------- Toasts ---------------------------------- */
.toast-stack {
  position: fixed;
  right: 20px; bottom: 20px;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 340px;
}
.toast {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 13px 15px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 3px solid var(--blue-500);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  font-size: 13px;
  color: var(--ink-2);
  animation: toast-in .28s ease;
}
.toast i { color: var(--blue-500); font-size: 16px; margin-top: 1px; }
.toast--success { border-left-color: var(--green); }
.toast--success i { color: var(--green); }
.toast--error { border-left-color: var(--red); }
.toast--error i { color: var(--red); }
.toast--warn { border-left-color: var(--amber); }
.toast--warn i { color: var(--amber); }
.toast.is-hiding { animation: toast-out .22s ease forwards; }

@keyframes toast-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes toast-out { to { opacity: 0; transform: translateX(20px); } }

/* ------------------------------ Back to top ------------------------------ */
.back-to-top {
  position: fixed;
  right: 20px; bottom: 20px;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 50%;
  color: var(--ink-2);
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: .22s ease;
  z-index: 900;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--blue-500); color: #fff; border-color: var(--blue-500); }
.toast-stack:not(:empty) ~ .back-to-top { bottom: 96px; }

/* ------------------------------ Breadcrumbs ------------------------------ */
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--muted);
  padding: 18px 0;
  flex-wrap: wrap;
}
.breadcrumbs a:hover { color: var(--blue-600); }
.breadcrumbs i { font-size: 9px; color: var(--muted-2); }
.breadcrumbs [aria-current] { color: var(--ink-2); font-weight: 500; }

/* ------------------------------- Page head ------------------------------- */
.page-head {
  background: linear-gradient(180deg, #f4f8ff 0%, #ffffff 100%);
  border-bottom: 1px solid var(--line-2);
  padding: 34px 0 30px;
}
.page-head h1 { font-size: clamp(24px, 3vw, 33px); font-weight: 800; }
.page-head p { color: var(--muted); margin-top: 8px; max-width: 620px; }

/* ------------------------------ Empty state ------------------------------ */
.empty-state {
  text-align: center;
  padding: 64px 20px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: var(--canvas-2);
}
.empty-icon {
  width: 66px; height: 66px;
  margin: 0 auto 18px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--muted-2);
  font-size: 26px;
}
.empty-state h2 { font-size: 19px; margin-bottom: 8px; }
.empty-state p { color: var(--muted); font-size: 14px; max-width: 420px; margin: 0 auto 20px; }

/* ------------------------------ Responsive ------------------------------- */
@media (max-width: 1180px) {
  .showcase { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .promo-card { grid-row: span 1; grid-column: 1 / -1; min-height: 210px; flex-direction: row; align-items: center; }
  .promo-card .promo-media { margin: 0; width: 200px; }
  .promo-card .btn { align-self: center; }
  .header-search { width: 210px; }
  .primary-nav { gap: 18px; }
}

@media (max-width: 991px) {
  .primary-nav, .header-search { display: none; }
  .header-search-toggle { display: grid; }
  .hero-inner { grid-template-columns: 1fr; gap: 30px; padding: 40px 0 34px; }
  .hero-copy { max-width: 100%; }
  .hero-visual { min-height: 320px; order: -1; }
  .hero-device { max-width: 420px; }
  .hero-stats { gap: 24px; }
  .feature-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .showcase { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .category-tiles { grid-template-columns: 1fr; }
  .trust-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 30px; }
}

@media (max-width: 640px) {
  .container { padding-inline: 16px; }
  .section { padding: 34px 0; }
  .hero-chip { display: none; }
  .feature-tiles { grid-template-columns: 1fr; }
  .showcase { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .product-body { padding: 11px 12px 12px; }
  .product-name { font-size: 12.5px; min-height: 35px; }
  .price { font-size: 14.5px; }
  .add-btn { width: 32px; height: 32px; font-size: 14px; }
  .section-title { font-size: 19px; }
  .trust-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .topbar-group--right { display: none; }
}
