/* ─────────────────────────────────────────────────────────────────────
   SURGE common — shared primitives loaded on EVERY page from theme.liquid.
   Buttons, chips, badges, inputs, product cards, pagination, breadcrumbs,
   trust strips, generic accordion. Section-specific layouts live in
   assets/sections/<name>.css.
   ───────────────────────────────────────────────────────────────────── */

/* ── Page H1 default (sections that label a page) ────────────────────── */
.section-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--text-3xl);
  letter-spacing: var(--tracking-display);
  line-height: var(--leading-tight);
  color: var(--color-text);
  margin: 0 0 var(--space-3) 0;
}
@media (max-width: 768px) {
  .section-title { font-size: var(--text-2xl); }
}

/* ── Buttons ──────────────────────────────────────────────────────────
   .btn — base; combine with .btn--primary / .btn--secondary / .btn--ghost /
   .btn--accent / .btn--full. Sizes: .btn--sm / .btn--lg. */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 14px 22px;
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  cursor: pointer;
  text-decoration: none;
  transition: background var(--transition-fast), color var(--transition-fast),
              border-color var(--transition-fast), transform var(--transition-fast);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:disabled, .btn[aria-disabled="true"] {
  opacity: 0.5; cursor: not-allowed; transform: none;
}

.btn--sm { padding: 9px 14px; font-size: var(--text-sm); border-radius: var(--radius-sm); }
.btn--lg { padding: 16px 28px; font-size: var(--text-md); }
.btn--full { width: 100%; }

.btn--primary {
  background: var(--color-primary);
  color: var(--color-primary-text);
  border-color: var(--color-primary);
}
.btn--primary:hover { background: #000; border-color: #000; color: #FFF; }

.btn--secondary {
  background: var(--color-bg);
  color: var(--color-text);
  border-color: var(--color-text);
}
.btn--secondary:hover { background: var(--color-text); color: var(--color-bg); }

.btn--ghost {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-border);
}
.btn--ghost:hover { background: var(--color-surface); border-color: var(--color-text); }

.btn--accent {
  background: var(--color-accent);
  color: #FFF;
  border-color: var(--color-accent);
}
.btn--accent:hover { background: #B5161F; border-color: #B5161F; }

/* Text-link CTA (used by editorial / gallery moments) */
.btn--link {
  background: transparent;
  padding: 0;
  border: none;
  color: var(--color-text);
  font-weight: 600;
  border-radius: 0;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}
.btn--link:hover { transform: none; color: var(--color-accent); }

/* ── Pills / chips (filter chips, color swatches, size chips) ────────── */
.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 8px 14px;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  line-height: 1;
  color: var(--color-text);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}
.chip:hover { border-color: var(--color-text); }
.chip.is-active {
  background: var(--color-primary);
  color: var(--color-primary-text);
  border-color: var(--color-primary);
}
.chip[aria-disabled="true"], .chip:disabled {
  opacity: 0.45; cursor: not-allowed;
  text-decoration: line-through;
}
.chip--sm { padding: 6px 10px; font-size: var(--text-xs); }
.chip--removable {
  background: var(--color-surface);
  font-size: var(--text-xs);
}
.chip--removable .chip__x {
  width: 14px; height: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; background: transparent;
  font-size: 11px; line-height: 1; color: var(--color-text-muted);
}
.chip--removable:hover .chip__x { color: var(--color-accent); }

/* Color swatch (square or round) — variant swatches on cards */
.swatch {
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}
.swatch:hover { transform: scale(1.1); }
.swatch.is-active {
  box-shadow: 0 0 0 2px var(--color-bg), 0 0 0 3px var(--color-text);
}
.swatch--lg { width: 28px; height: 28px; }
.swatch__count {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-left: var(--space-1);
  align-self: center;
}

/* ── Badges (NEW, BESTSELLER, % OFF) ─────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  line-height: 1;
  border-radius: var(--radius-xs);
}
.badge--new       { background: var(--color-text); color: var(--color-bg); }
.badge--bestseller { background: #1A1A1A; color: #FFF; }
.badge--sale      { background: var(--color-accent); color: #FFF; }
.badge--soft      { background: var(--color-surface); color: var(--color-text); }

/* ── Inputs (newsletter, pincode, search) ────────────────────────────── */
.input {
  display: inline-flex;
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.4;
  color: var(--color-text);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: border-color var(--transition-fast);
}
.input:focus {
  outline: none;
  border-color: var(--color-text);
}
.input::placeholder { color: var(--color-text-soft); }

.input-group {
  display: flex;
  gap: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-bg);
}
.input-group:focus-within { border-color: var(--color-text); }
.input-group .input {
  flex: 1; border: none; background: transparent;
}
.input-group .btn {
  border-radius: 0; padding: 12px 18px; flex: 0 0 auto;
}

/* ─────────────────────────────────────────────────────────────────────
   PRODUCT CARD — canonical, prototype-faithful.
   Used by every grid on every page (bestsellers, deals, collection,
   related, recently-viewed). Emitted by snippets/product-card.liquid.
   Mirrors /tmp/theme-mocks/mobile-home.html lines 56-99 + 405-435.
   ───────────────────────────────────────────────────────────────────── */
.product-card {
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
  border: 1px solid #EEEEEE;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  font-family: var(--font-body);
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.product-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px -10px rgba(0,0,0,0.18);
}

/* ── Thumb (square image with absolute-positioned overlays) ─────── */
.product-thumb {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #F4F4F5;
  overflow: hidden;
}
.product-thumb img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}

/* corner badge (top-left): Bestseller, New Launch, % OFF, etc. */
.corner-badge {
  position: absolute; top: 10px; left: 10px;
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 4px;
  z-index: 2;
}
.corner-badge--red   { background: var(--color-accent);   color: #FFFFFF; }
.corner-badge--blue  { background: var(--color-accent-2); color: #FFFFFF; }
.corner-badge--dark  { background: #0A0A0A;               color: #FFFFFF; }
.corner-badge--green { background: var(--color-success);  color: #FFFFFF; }

/* heart wishlist button (top-right) */
.heart-btn {
  position: absolute; top: 10px; right: 10px;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  border: 0; padding: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.18);
  z-index: 2;
  transition: transform var(--transition-fast);
}
.heart-btn:hover { transform: scale(1.06); }
.heart-btn[data-in-wishlist] svg {
  fill: var(--color-accent);
  stroke: var(--color-accent);
}

/* in-stock pill (bottom-left of thumb), shown only when product is in stock */
.thumb-stock {
  position: absolute; bottom: 8px; left: 8px;
  display: inline-flex; align-items: center; gap: 4px;
  background: rgba(255,255,255,0.95);
  color: #0A0A0A;
  font-size: 10px; font-weight: 600;
  padding: 3px 7px;
  border-radius: 4px;
  z-index: 2;
}
.thumb-stock::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--color-success);
}

/* red countdown ribbon (bottom of thumb), shown on deals */
.countdown-ribbon {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: rgba(255,59,48,0.95);
  color: #FFFFFF;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.04em;
  padding: 6px 10px;
  display: flex; justify-content: space-between; align-items: center;
  z-index: 2;
}

/* ── Body (content under thumb) ──────────────────────────────────── */
.product-card__inner {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-card__vendor {
  font-size: 11px;
  font-weight: 500;
  color: #6B7280;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.product-card__title {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.25;
  color: #0A0A0A;
  margin-top: 4px;
  letter-spacing: -0.01em;
}

.spec-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

/* color swatches row */
.product-swatches {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
}
.swatch {
  width: 14px; height: 14px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px rgba(0,0,0,0.12);
}
.swatch-plus {
  font-size: 11px;
  font-weight: 600;
  color: #6B7280;
  line-height: 1;
  padding-left: 2px;
}

/* price row */
.product-card__price-row {
  margin-top: auto;
  padding-top: 12px;
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-variant-numeric: tabular-nums;
}
.product-card__price {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
  color: #0A0A0A;
}
.product-card__mrp {
  font-size: 12px;
  color: #9CA3AF;
  text-decoration: line-through;
}
.product-card__off {
  margin-left: auto;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 4px;
}
.product-card__off--green { background: rgba(22,163,74,0.10); color: var(--color-success); }
.product-card__off--red   { background: rgba(255,59,48,0.10); color: var(--color-accent); }

/* rating line under price */
.product-card__rating {
  font-size: 11px;
  color: #6B7280;
  margin-top: 6px;
  font-variant-numeric: tabular-nums;
}
.product-card__rating::before {
  content: '★ ';
  color: var(--color-star);
}

/* ── Product grid (used on home grids + collection page) ─────────────── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-5) var(--space-4);
}
.product-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1024px) {
  .product-grid    { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .product-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .product-grid, .product-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4) var(--space-3); }
  .product-card__name { font-size: var(--text-sm); }
}

/* ── Pagination ──────────────────────────────────────────────────────── */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-2);
  padding-top: var(--space-6);
}
.pagination__link, .pagination__current {
  display: inline-flex;
  align-items: center; justify-content: center;
  min-width: 38px; height: 38px;
  padding: 0 12px;
  font-size: var(--text-sm); font-weight: 500;
  color: var(--color-text);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-bg);
  cursor: pointer;
}
.pagination__current {
  background: var(--color-primary); color: var(--color-primary-text);
  border-color: var(--color-primary); cursor: default;
}
.pagination__link:hover { border-color: var(--color-text); }
.pagination__link.is-disabled { opacity: 0.4; pointer-events: none; }
.pagination__ellipsis { color: var(--color-text-muted); padding: 0 4px; }

/* ── Breadcrumbs ─────────────────────────────────────────────────────── */
.breadcrumbs {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  padding: var(--space-3) 0;
}
.breadcrumbs__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
}
.breadcrumbs__item {
  display: inline-flex;
  align-items: center;
}
.breadcrumbs a {
  color: var(--color-text-muted);
  text-decoration: none;
}
.breadcrumbs a:hover { color: var(--color-text); }
.breadcrumbs__link { color: inherit; }
.breadcrumbs__sep {
  display: inline-flex;
  align-items: center;
  padding: 0 6px;
  opacity: 0.5;
  user-select: none;
}
.breadcrumbs__current { color: var(--color-text); }

/* ── Trust strip (4-item icon row used on home + PDP) ────────────────── */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-4);
  padding: var(--space-5) 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.trust-strip__item {
  display: flex; align-items: center; gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text);
}
.trust-strip__item svg {
  width: 22px; height: 22px; color: var(--color-text);
  flex: 0 0 auto;
}
@media (max-width: 768px) {
  .trust-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); }
}

/* ── Generic accordion (used by PDP description / FAQ) ───────────────── */
.accordion__item {
  border-top: 1px solid var(--color-border);
}
.accordion__item:last-of-type { border-bottom: 1px solid var(--color-border); }
.accordion__btn {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--space-4) 0;
  background: transparent; border: 0;
  font-family: var(--font-body); font-size: var(--text-md); font-weight: 600;
  color: var(--color-text); cursor: pointer;
  text-align: left;
}
.accordion__btn[aria-expanded="true"] .accordion__chev { transform: rotate(180deg); }
.accordion__chev { transition: transform var(--transition-base); }
.accordion__panel {
  padding: 0 0 var(--space-5) 0;
  font-size: var(--text-base);
  line-height: var(--leading-loose);
  color: var(--color-text-muted);
}
.accordion__panel[hidden] { display: none; }

/* ── Skeleton image bg (for slow-loading Unsplash / merchant images) ──── */
.img-bg { background: var(--color-surface); }

/* ── Cart drawer (slide-in from right, hidden by default) ────────────── */
cart-drawer,
.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 110;
  pointer-events: none;
  display: block;
  overflow: hidden;
}
.cart-drawer__overlay {
  position: absolute;
  inset: 0;
  background: rgba(15,15,15,0.45);
  opacity: 0;
  transition: opacity 240ms ease;
  pointer-events: none;
}
.cart-drawer__panel {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 420px; max-width: 90vw;
  background: var(--color-bg);
  color: var(--color-text);
  box-shadow: -16px 0 32px rgba(15,15,15,0.16);
  transform: translateX(100%);
  transition: transform 280ms cubic-bezier(0.2, 0.7, 0.2, 1);
  display: flex; flex-direction: column;
  pointer-events: auto;
}
.cart-drawer--open                  { pointer-events: auto; }
.cart-drawer--open .cart-drawer__overlay { opacity: 1; pointer-events: auto; }
.cart-drawer--open .cart-drawer__panel   { transform: translateX(0); }

.cart-drawer__header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid var(--color-border);
}
.cart-drawer__title {
  font-family: var(--font-heading);
  font-size: var(--text-md);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0;
}
.cart-drawer__close {
  width: 32px; height: 32px;
  background: transparent; border: 0; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  color: inherit;
}
.cart-drawer__body {
  flex: 1;
  padding: 16px 22px;
  overflow-y: auto;
}
.cart-drawer__empty {
  display: flex; flex-direction: column; align-items: center;
  gap: var(--space-4);
  padding: var(--space-8) 0;
  text-align: center;
}
.cart-drawer__empty p {
  font-size: var(--text-md);
  color: var(--color-text-muted);
}
.cart-drawer__item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: var(--space-3);
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--color-border-soft);
}
.cart-drawer__item-img {
  width: 72px; height: 96px; object-fit: cover;
  border-radius: var(--radius-sm);
  background: var(--color-surface);
}
.cart-drawer__item-title { font-size: var(--text-sm); font-weight: 600; margin: 0; }
.cart-drawer__item-variant { font-size: var(--text-xs); color: var(--color-text-muted); margin: 2px 0 0 0; }
.cart-drawer__footer {
  padding: 16px 22px;
  border-top: 1px solid var(--color-border);
}

/* ──────────────────────────────────────────────────────────────────────
   SURGE ELECTRONICS PRIMITIVES — added in SURGE-1 (foundation).
   Reusable atoms shared across home / collection / PDP. Section-specific
   layouts in assets/sections/*.css consume these. Prototype-locked.
   ────────────────────────────────────────────────────────────────────── */

/* Spec chip — small tabular-numeral pill that lives on product cards,
   PDP hero rows, comparison cells. Two variants for the two canvases. */
.sg-spec-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.01em;
  font-feature-settings: 'tnum' 1;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.sg-spec-chip--light { background: var(--color-surface-2); color: #18181B; border: 1px solid var(--color-border); }
.sg-spec-chip--dark  { background: rgba(255,255,255,0.06); color: #E4E4E7; border: 1px solid rgba(255,255,255,0.08); }

/* Horizontal row of spec chips with consistent gap (use on cards + hero) */
.sg-spec-row { display: flex; flex-wrap: wrap; gap: 6px; }

/* Section heading H2 (used by every section). Light + dark variants. */
.sg-h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: clamp(28px, 3.4vw, 38px);
  line-height: 1.05;
}
.sg-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.sg-eyebrow--dark { color: var(--ink-dark-2); }

/* Dot separator — used in promo strips, breadcrumbs */
.sg-dot-sep::before { content: "·"; padding: 0 10px; color: var(--ink-dark-2); }

/* Red CTA button — primary action across the storefront */
.sg-btn-red {
  background: var(--color-accent);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 14px 22px;
  border-radius: var(--radius-sm);
  border: 0;
  box-shadow: 0 8px 28px -8px rgba(255, 59, 48, 0.55);
  cursor: pointer;
  transition: background var(--transition-fast);
  display: inline-flex; align-items: center; gap: 8px;
}
.sg-btn-red:hover { background: #ff2618; }

/* Ghost button on dark canvas */
.sg-btn-ghost-dark {
  color: #fff;
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.02);
  padding: 13px 22px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
  transition: background var(--transition-fast);
}
.sg-btn-ghost-dark:hover { background: rgba(255,255,255,0.05); }

/* Made-in-India / trust ribbon background (gradient blue) */
.sg-ribbon-blue { background: linear-gradient(90deg, #0052D4 0%, #0066FF 35%, #1E90FF 100%); }

/* Hero radial backdrop — red + blue washes on canvas-dark */
.sg-grid-bg-radial {
  background:
    radial-gradient(60% 80% at 70% 50%, rgba(255,59,48,0.18) 0%, rgba(255,59,48,0) 60%),
    radial-gradient(40% 60% at 20% 30%, rgba(0,102,255,0.10) 0%, rgba(0,0,0,0) 60%),
    var(--canvas-dark);
}

/* Product card — Surge electronics variant. Replaces Avenu's .linen-card.
   Used by featured-collection, related-products, deals-tabs, and the
   product-card snippet. */
.sg-card {
  background: #fff;
  border: 1px solid var(--color-border-soft);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.sg-card:hover { transform: translateY(-2px); box-shadow: 0 10px 30px -10px rgba(0,0,0,0.18); }
.sg-card__media {
  aspect-ratio: 1 / 1;
  background: radial-gradient(110% 80% at 30% 20%, #2a2a2a 0%, #0a0a0a 70%);
  position: relative;
  overflow: hidden;
}
.sg-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sg-card__badge {
  position: absolute; top: 10px; left: 10px;
  font-size: 10px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 4px 8px; border-radius: var(--radius-sm);
  color: #fff;
}
.sg-card__badge--red  { background: var(--color-accent); }
.sg-card__badge--blue { background: var(--color-accent-2); }
.sg-card__badge--ink  { background: var(--color-primary); }
.sg-card__heart {
  position: absolute; top: 10px; right: 10px;
  width: 32px; height: 32px; border-radius: 999px;
  background: rgba(255,255,255,0.92);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.18);
  border: 0; cursor: pointer;
}
.sg-card__stock-chip {
  position: absolute; bottom: 10px; left: 10px;
  background: rgba(255,255,255,0.95); color: var(--color-text);
  padding: 4px 8px; border-radius: var(--radius-sm);
  font-size: 11px; font-weight: 600;
}
.sg-card__body { padding: 16px; display: flex; flex-direction: column; flex: 1; gap: 8px; }
.sg-card__vendor { font-size: 11px; color: var(--color-text-muted); font-weight: 500; }
.sg-card__title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  line-height: 1.25;
  color: var(--color-text);
}
.sg-card__swatches { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.sg-swatch {
  width: 14px; height: 14px; border-radius: 999px;
  box-shadow: inset 0 0 0 1.5px rgba(0,0,0,0.12);
  display: inline-block;
}
.sg-swatch-plus { font-size: 11px; color: var(--color-text-muted); font-weight: 600; line-height: 1; }
.sg-card__price-row { display: flex; align-items: baseline; gap: 8px; margin-top: auto; padding-top: 4px; }
.sg-card__price {
  font-family: var(--font-heading); font-weight: 700; font-size: 18px;
  font-feature-settings: 'tnum' 1; font-variant-numeric: tabular-nums;
}
.sg-card__compare {
  color: var(--color-text-soft); font-size: 12px;
  text-decoration: line-through;
  font-feature-settings: 'tnum' 1; font-variant-numeric: tabular-nums;
}
.sg-card__off {
  margin-left: auto;
  background: rgba(22, 163, 74, 0.10); color: var(--color-success);
  font-size: 11px; font-weight: 600;
  padding: 2px 6px; border-radius: var(--radius-sm);
  font-feature-settings: 'tnum' 1; font-variant-numeric: tabular-nums;
}
.sg-card__rating {
  font-size: 11px; color: var(--color-text-muted);
  font-feature-settings: 'tnum' 1; font-variant-numeric: tabular-nums;
}

/* Countdown ribbon — sits at the bottom of card media on deal cards */
.sg-countdown {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: rgba(255,59,48,0.95);
  color: #fff;
  font-size: 11px; font-weight: 600; letter-spacing: 0.04em;
  padding: 6px 10px;
  display: flex; justify-content: space-between; align-items: center;
  font-feature-settings: 'tnum' 1; font-variant-numeric: tabular-nums;
}

/* Device tile — light card with centered SVG icon + label + count */
.sg-device-tile {
  background: #fff;
  border: 1px solid #ECECEC;
  border-radius: 14px;
  padding: 22px 16px;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  text-decoration: none; color: inherit;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.sg-device-tile:hover { border-color: var(--color-primary); transform: translateY(-2px); }
.sg-device-tile svg { color: var(--color-primary); }
.sg-device-tile__name { font-family: var(--font-heading); font-weight: 600; font-size: 15px; }
.sg-device-tile__count { font-size: 11px; color: var(--color-text-muted); font-feature-settings: 'tnum' 1; font-variant-numeric: tabular-nums; }

/* Tech-edu icon — dark card with subtle gradient (Tech Education strip) */
.sg-edu-icon {
  width: 60px; height: 60px; border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
}

/* Hotspot — numbered red dot for the exploded-view feature section */
.sg-hotspot {
  width: 28px; height: 28px; border-radius: 999px;
  background: var(--color-accent); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-weight: 700; font-size: 14px;
  box-shadow: 0 0 0 6px rgba(255,59,48,0.18), 0 8px 22px -6px rgba(255,59,48,0.55);
}

/* Press mark — wordmark grid for media logos */
.sg-press-mark {
  font-family: var(--font-heading);
  font-weight: 700;
  color: #9CA3AF;
  letter-spacing: 0.06em;
  text-align: center;
}

/* Newsletter input on light canvas */
.sg-nl-input {
  background: transparent;
  color: var(--color-text);
  border: 1px solid #D4D4D8;
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  outline: none;
  font-size: 14px;
  font-family: var(--font-body);
}
.sg-nl-input:focus { border-color: var(--color-primary); }

/* Star colour helper */
.sg-star { color: var(--color-star); }

/* Image fallback — when an <img> 404s the parent gets this class */
.sg-img-fallback { background: linear-gradient(135deg, #1f1f1f, #0a0a0a 60%); }
