/* ═══════════════════════════════════════════════════
   SG Products Widget v2.0  —  frontend.css
   Covers: Slider, Related, Category Grid,
           Hero Banner, Stats Counter, Product Card
═══════════════════════════════════════════════════ */

/* Note: Montserrat & Open Sans loaded via wp_enqueue_style in class-sg-elementor.php if needed */

/* ── Tokens (on every root widget) ──────────────────── */
.sgpw-section,
.sgpw-cat-section,
.sgpw-hero,
.sgpw-stats,
.sgpw-product-card-wrap {
  --r:   var(--wcdd-primary, #D42B2B);
  --r2:  var(--wcdd-primary-hover, #b52020);
  --n:   var(--wcdd-dark, #0d1b2a);
  --n2:  #162535;
  --wh:  #ffffff;
  --off: #f7f5f1;
  --off2:#f0ede8;
  --bor: #e4e0d9;
  --txt: #1e2d3d;
  --dim: #7a8898;
  --grn: #22c55e;
  --f1:  'Montserrat', sans-serif;
  --f2:  'Open Sans', sans-serif;
  --ease: cubic-bezier(.4,0,.2,1);
  --spring: cubic-bezier(.34,1.56,.64,1);
}

.sgpw-section *,.sgpw-cat-section *,.sgpw-hero *,.sgpw-stats *,.sgpw-product-card-wrap *,
.sgpw-section *::before,.sgpw-section *::after { box-sizing: border-box; }

/* ── Shared animations ───────────────────────────────── */
@keyframes sgpw-up   { from{opacity:0;transform:translateY(20px)} to{opacity:1;transform:none} }
@keyframes sgpw-blink{ 0%,100%{opacity:1} 50%{opacity:.25} }
@keyframes sgpw-count{ from{opacity:0;transform:translateY(10px)} to{opacity:1;transform:none} }
@keyframes sgpw-spin { to{transform:rotate(360deg)} }

/* ════════════════════════════════════════════════════
   SHARED HEADER
════════════════════════════════════════════════════ */
.sgpw-header {
  display:flex; align-items:flex-end; justify-content:space-between;
  gap:24px; flex-wrap:wrap;
  max-width:1320px; margin:0 auto 44px;
  padding:0 56px;
  animation:sgpw-up .5s var(--ease) both;
}
.sgpw-eyebrow {
  display:flex; align-items:center; gap:8px;
  font-size:10px; font-weight:600; letter-spacing:.22em; text-transform:uppercase;
  color:var(--r); margin-bottom:10px; font-family:var(--f1);
}
.sgpw-eyebrow-dot {
  width:6px; height:6px; border-radius:50%; background:var(--r);
  animation:sgpw-blink 2s ease infinite; flex-shrink:0;
}
.sgpw-title {
  font-family:var(--f1); font-size:clamp(22px,2.6vw,36px);
  font-weight:900; color:var(--n); line-height:1.1; margin:0 0 6px;
  letter-spacing:-.02em;
}
.sgpw-sub { font-size:13px; font-weight:300; color:var(--dim); line-height:1.6; margin:0; font-family:var(--f2); }
.sgpw-header-right { display:flex; align-items:center; gap:14px; flex-wrap:wrap; }
.sgpw-see-all {
  display:inline-flex; align-items:center; gap:8px;
  font-family:var(--f1); font-size:11.5px; font-weight:800; letter-spacing:.04em;
  color:#fff; background:var(--n); padding:12px 22px; border-radius:8px;
  text-decoration:none; transition:background .2s,transform .15s; white-space:nowrap;
}
.sgpw-see-all svg { transition:transform .2s; }
.sgpw-see-all:hover { background:var(--r); transform:translateY(-2px); color:#fff; }
.sgpw-see-all:hover svg { transform:translateX(3px); }

/* ════════════════════════════════════════════════════
   SHARED PRODUCT CARD
════════════════════════════════════════════════════ */
.sgpw-card {
  flex:0 0 calc(25% - 14px); min-width:230px; max-width:300px;
  scroll-snap-align:start; border-radius:18px;
  background:#fff; border:1px solid var(--bor);
  overflow:hidden; display:flex; flex-direction:column;
  transition:box-shadow .3s var(--ease),transform .3s var(--ease),border-color .3s;
  animation:sgpw-up .45s var(--ease) both;
  box-shadow:0 2px 10px rgba(0,0,0,.05);
}
.sgpw-card:hover {
  box-shadow:0 16px 48px rgba(13,27,42,.13),0 0 0 1px rgba(212,43,43,.18);
  transform:translateY(-6px); border-color:rgba(212,43,43,.25);
}

/* Image zone */
.sgpw-card-img-wrap {
  position:relative; aspect-ratio:1/1; background:linear-gradient(135deg,#f8fafc,#f0f4f8);
  overflow:hidden; display:block; text-decoration:none;
  flex-shrink:0;
}
.sgpw-card-img-wrap img {
  width:100%; height:100%; object-fit:contain; padding:24px;
  display:block; transition:transform .5s var(--ease),opacity .25s;
}
.sgpw-card:hover .sgpw-card-img-wrap img { transform:scale(1.06); }

/* Hover overlay */
.sgpw-card-overlay {
  position:absolute; inset:0;
  background:linear-gradient(0deg,rgba(13,27,42,.7) 0%,rgba(13,27,42,.2) 100%);
  display:flex; align-items:flex-end; justify-content:center;
  padding:16px;
  opacity:0; transition:opacity .3s var(--ease);
}
.sgpw-card:hover .sgpw-card-overlay { opacity:1; }
.sgpw-quick-btn {
  display:inline-flex; align-items:center; gap:7px;
  background:#fff; color:var(--n); font-family:var(--f1);
  font-size:10.5px; font-weight:800; letter-spacing:.05em;
  padding:11px 22px; border-radius:100px;
  transform:translateY(10px); transition:transform .28s var(--spring);
  white-space:nowrap; box-shadow:0 6px 20px rgba(0,0,0,.2);
}
.sgpw-card:hover .sgpw-quick-btn { transform:translateY(0); }

/* Badges */
.sgpw-badge {
  position:absolute; z-index:4;
  font-family:var(--f1); font-size:9px; font-weight:900;
  letter-spacing:.06em; text-transform:uppercase; color:#fff;
  padding:4px 11px; border-radius:30px;
}
.sgpw-badge-new  { top:12px; left:12px; background:var(--r); box-shadow:0 3px 12px rgba(212,43,43,.4); }
.sgpw-badge-sale { top:12px; left:12px; background:#f59e0b; box-shadow:0 3px 12px rgba(245,158,11,.35); }
.sgpw-badge-new  + .sgpw-badge-sale { left:auto; right:12px; }
.sgpw-badge-date { top:12px; right:12px; background:rgba(13,27,42,.75); backdrop-filter:blur(8px); font-size:8px; font-weight:700; letter-spacing:.04em; color:rgba(255,255,255,.85); }
.sgpw-badge-new + .sgpw-badge-sale + .sgpw-badge-date,
.sgpw-badge-sale ~ .sgpw-badge-date { top:40px; }

/* Card body */
.sgpw-card-body { padding:16px 16px 16px; display:flex; flex-direction:column; gap:6px; flex:1; border-top:1px solid var(--bor); }
.sgpw-card-cat {
  font-size:9px; font-weight:700; letter-spacing:.14em; text-transform:uppercase;
  color:var(--r); text-decoration:none; font-family:var(--f1);
  transition:opacity .15s;
}
.sgpw-card-cat:hover { opacity:.75; }
.sgpw-card-name {
  font-family:var(--f1); font-size:13.5px; font-weight:800; color:var(--n);
  line-height:1.35; text-decoration:none; display:-webkit-box;
  -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;
  flex:1; transition:color .18s; letter-spacing:-.01em;
}
.sgpw-card-name-lg { font-size:16px; }
.sgpw-card-name:hover { color:var(--r); }
.sgpw-card-short-desc { font-size:11.5px; color:var(--dim); line-height:1.55; font-family:var(--f2); margin-top:2px; }
.sgpw-card-sku { font-size:9.5px; color:var(--dim); font-family:var(--f1); letter-spacing:.05em; }

/* Rating */
.sgpw-card-rating { display:flex; align-items:center; gap:4px; }
.sgpw-stars { display:flex; align-items:center; gap:1px; }
.sgpw-card-rating-ct { font-size:10px; color:var(--dim); font-family:var(--f2); }

/* Price */
.sgpw-card-footer { display:flex; align-items:center; justify-content:space-between; gap:8px; margin-top:2px; }
.sgpw-card-price { font-family:var(--f1); font-size:15px; font-weight:900; color:var(--n); letter-spacing:-.01em; }
.sgpw-card-price .woocommerce-Price-amount { color:var(--r); }
.sgpw-card-price del .woocommerce-Price-amount { color:var(--dim); font-size:11px; font-weight:600; text-decoration:line-through; }
.sgpw-card-price-lg { font-size:18px; }

/* Stock */
.sgpw-card-stock { display:flex; align-items:center; gap:5px; font-size:10px; font-weight:600; font-family:var(--f1); letter-spacing:.04em; }
.sgpw-stock-dot { width:5px; height:5px; border-radius:50%; flex-shrink:0; }
.sgpw-stock-in  { color:var(--grn); }
.sgpw-stock-in  .sgpw-stock-dot { background:var(--grn); }
.sgpw-stock-out { color:var(--dim); }
.sgpw-stock-out .sgpw-stock-dot { background:var(--bor); }

/* Divider / Actions */
.sgpw-card-body > .sgpw-card-footer + .sgpw-card-actions { border-top:1px solid var(--bor); padding-top:10px; margin-top:4px; }
.sgpw-card-actions { display:flex; align-items:center; gap:7px; margin-top:auto; padding-top:10px; border-top:1px solid var(--bor); }
.sgpw-btn-devis {
  flex:1; display:inline-flex; align-items:center; justify-content:center; gap:6px;
  background:var(--n); border:1.5px solid var(--n); color:#fff;
  font-family:var(--f1); font-size:9px; font-weight:800; letter-spacing:.04em;
  padding:9px 12px; border-radius:9px; text-decoration:none;
  transition:all .2s; white-space:nowrap;
  box-shadow:0 2px 8px rgba(13,27,42,.15);
}
.sgpw-btn-devis:hover { background:var(--r); border-color:var(--r); box-shadow:0 4px 14px rgba(212,43,43,.3); transform:translateY(-1px); }
.sgpw-btn-arrow {
  width:36px; height:36px; border-radius:9px; border:1.5px solid var(--bor);
  background:transparent; display:flex; align-items:center; justify-content:center;
  color:var(--dim); text-decoration:none; transition:all .18s; flex-shrink:0;
}
.sgpw-btn-arrow:hover { background:var(--r); border-color:var(--r); color:#fff; transform:translateY(-1px); }

/* Horizontal card */
.sgpw-card-h { flex-direction:row; max-width:100%; min-width:0; }
.sgpw-card-img-h { aspect-ratio:unset; width:200px; min-width:200px; border-bottom:none; border-right:1px solid var(--bor); }

/* Featured card */
.sgpw-card-featured .sgpw-card-img-wrap { aspect-ratio:4/3; }
.sgpw-card-featured .sgpw-card-img-wrap img { padding:32px; }

/* Empty state */
.sgpw-empty { padding:60px 24px; text-align:center; color:var(--dim); }
.sgpw-empty svg { margin:0 auto 16px; display:block; }
.sgpw-empty p { font-size:13px; max-width:360px; margin:0 auto; line-height:1.6; font-family:var(--f2); }

/* ════════════════════════════════════════════════════
   SLIDER SECTION
════════════════════════════════════════════════════ */
.sgpw-section { font-family:var(--f2); background:var(--wh); padding:80px 0 88px; position:relative; }
.sgpw-section::before {
  content:''; position:absolute; top:0; left:0; right:0; height:280px;
  background:var(--off); clip-path:polygon(0 0,100% 0,100% 68%,0 100%);
  z-index:0; pointer-events:none;
}
.sgpw-slider-zone { position:relative; z-index:2; }
.sgpw-fade-l,.sgpw-fade-r { position:absolute; top:0; bottom:0; width:80px; z-index:4; pointer-events:none; }
.sgpw-fade-l { left:0; background:linear-gradient(to right,#fff 0%,rgba(255,255,255,0) 100%); }
.sgpw-fade-r { right:0; background:linear-gradient(to left,#fff 0%,rgba(255,255,255,0) 100%); }

.sgpw-track {
  display:flex; gap:18px; overflow-x:auto; scroll-behavior:smooth;
  scroll-snap-type:x mandatory; -webkit-overflow-scrolling:touch;
  padding:10px 56px 28px; scrollbar-width:none; -ms-overflow-style:none;
}
.sgpw-track::-webkit-scrollbar { display:none; }

/* Cols via CSS var */
.sgpw-track[data-cols] .sgpw-card { flex:0 0 calc(var(--sgpw-cols,25%) - 14px); }

.sgpw-arrow {
  position:absolute; top:50%; transform:translateY(-58%); z-index:6;
  width:46px; height:46px; border-radius:50%; background:#fff;
  border:1.5px solid var(--bor); cursor:pointer;
  display:flex; align-items:center; justify-content:center; color:var(--n);
  box-shadow:0 4px 20px rgba(0,0,0,.11); transition:all .2s; padding:0;
}
.sgpw-arrow:hover { background:var(--r); border-color:var(--r); color:#fff; box-shadow:0 6px 24px rgba(212,43,43,.3); transform:translateY(-58%) scale(1.06); }
.sgpw-arrow-prev { left:8px; }
.sgpw-arrow-next { right:8px; }

.sgpw-dots { display:flex; justify-content:center; gap:7px; margin-top:20px; position:relative; z-index:2; }
.sgpw-dot { height:6px; width:6px; border-radius:4px; background:var(--bor); cursor:pointer; border:none; padding:0; transition:width .25s,background .25s; }
.sgpw-dot.active { width:22px; background:var(--r); }

.sgpw-strip {
  position:relative; z-index:2; max-width:1320px; margin:28px auto 0;
  padding:20px 56px 0; border-top:1px solid var(--bor);
  display:flex; align-items:center; gap:10px; flex-wrap:wrap;
}
.sgpw-strip-live { display:flex; align-items:center; gap:6px; }
.sgpw-strip-live-dot { width:6px; height:6px; border-radius:50%; background:var(--grn); animation:sgpw-blink 2s ease infinite; }
.sgpw-strip-live-lbl { font-family:var(--f1); font-size:9px; font-weight:800; letter-spacing:.12em; text-transform:uppercase; color:var(--grn); }
.sgpw-strip-sep { width:1px; height:14px; background:var(--bor); }
.sgpw-strip-text { font-family:var(--f1); font-size:11px; font-weight:600; color:var(--dim); }
.sgpw-strip-text strong { color:var(--n); }

/* Grid layout (for related products grid mode) */
.sgpw-grid {
  display:grid;
  grid-template-columns:repeat(var(--sgpw-grid-cols,4), 1fr);
  gap:20px; padding:0 56px;
}
.sgpw-grid .sgpw-card { flex:unset; min-width:0; max-width:none; scroll-snap-align:unset; }

/* ════════════════════════════════════════════════════
   CATEGORY GRID
════════════════════════════════════════════════════ */
.sgpw-cat-section { font-family:var(--f2); padding:72px 0 80px; position:relative; }
.sgpw-cat-grid {
  display:grid;
  grid-template-columns:repeat(var(--sgpw-cat-cols,4), 1fr);
  gap:20px; max-width:1320px; margin:0 auto; padding:0 56px;
}

/* Category card */
.sgpw-cat-card {
  display:flex; flex-direction:column; border-radius:16px;
  background:#fff; border:1.5px solid var(--bor);
  overflow:hidden; text-decoration:none;
  transition:border-color .22s,transform .22s,box-shadow .22s;
  animation:sgpw-up .45s var(--ease) both;
}
.sgpw-cat-card:hover { border-color:var(--r); transform:translateY(-4px); box-shadow:0 12px 40px rgba(212,43,43,.12); }

.sgpw-cat-card-img {
  position:relative; aspect-ratio:var(--sgpw-cat-ratio,4/3);
  background:var(--off); overflow:hidden;
}
.sgpw-cat-card-img img { width:100%; height:100%; object-fit:cover; display:block; transition:transform .5s var(--ease); }
.sgpw-cat-card:hover .sgpw-cat-card-img img { transform:scale(1.08); }
.sgpw-cat-card-img::after {
  content:''; position:absolute; inset:0;
  background:rgba(13,27,42,.52); opacity:0;
  transition:opacity .25s; pointer-events:none;
}
.sgpw-cat-card:hover .sgpw-cat-card-img::after { opacity:1; }
.sgpw-cat-card-overlay {
  position:absolute; inset:0; display:flex; align-items:center; justify-content:center;
  opacity:0; transition:opacity .25s; z-index:2;
}
.sgpw-cat-card:hover .sgpw-cat-card-overlay { opacity:1; }
.sgpw-cat-card-cta {
  display:inline-flex; align-items:center; gap:7px;
  background:#fff; color:var(--n); font-family:var(--f1);
  font-size:11px; font-weight:800; padding:10px 20px;
  border-radius:100px; transform:translateY(8px);
  transition:transform .25s var(--spring);
  box-shadow:0 4px 18px rgba(0,0,0,.15);
}
.sgpw-cat-card:hover .sgpw-cat-card-cta { transform:none; }

.sgpw-cat-card-body { padding:14px 16px 16px; }
.sgpw-cat-card-name { display:block; font-family:var(--f1); font-size:13px; font-weight:800; color:var(--n); margin-bottom:4px; transition:color .18s; }
.sgpw-cat-card:hover .sgpw-cat-card-name { color:var(--r); }
.sgpw-cat-card-desc { display:block; font-size:11.5px; color:var(--dim); line-height:1.5; margin-bottom:6px; }
.sgpw-cat-card-count { font-family:var(--f1); font-size:10px; font-weight:700; color:var(--r); letter-spacing:.04em; }

/* Pills */
.sgpw-cat-pill {
  display:flex; align-items:center; gap:10px; padding:12px 16px;
  background:#fff; border:1.5px solid var(--bor); border-radius:100px;
  text-decoration:none; transition:all .2s; animation:sgpw-up .4s var(--ease) both;
}
.sgpw-cat-pill img { width:32px; height:32px; object-fit:cover; border-radius:50%; flex-shrink:0; }
.sgpw-cat-pill:hover { border-color:var(--r); background:rgba(212,43,43,.04); transform:translateY(-2px); }
.sgpw-cat-pill-name { font-family:var(--f1); font-size:12px; font-weight:700; color:var(--n); flex:1; }
.sgpw-cat-pill-count { font-family:var(--f1); font-size:10px; font-weight:700; color:var(--r); background:rgba(212,43,43,.08); padding:2px 8px; border-radius:20px; }

/* ════════════════════════════════════════════════════
   HERO BANNER
════════════════════════════════════════════════════ */
.sgpw-hero {
  position:relative; background:var(--n); overflow:hidden;
  min-height:540px; display:flex; align-items:center;
}
.sgpw-hero-overlay { position:absolute; inset:0; z-index:1; pointer-events:none; }
/* Full layout: bg-image */
.sgpw-hero-full { background-size:cover; background-position:center; }
.sgpw-hero-inner {
  position:relative; z-index:2;
  max-width:1320px; margin:0 auto;
  padding:60px 56px;
  display:grid; gap:64px;
  align-items:center; width:100%;
}
.sgpw-hero-split .sgpw-hero-inner,
.sgpw-hero-product .sgpw-hero-inner { grid-template-columns:1fr 1fr; }
.sgpw-hero-full .sgpw-hero-inner   { grid-template-columns:1fr; max-width:700px; }

.sgpw-hero-tag {
  display:inline-flex; align-items:center;
  background:var(--r); color:#fff; font-family:var(--f1);
  font-size:9px; font-weight:800; letter-spacing:.18em; text-transform:uppercase;
  padding:5px 14px; border-radius:4px; margin-bottom:16px;
}
.sgpw-hero-heading {
  font-family:var(--f1); font-size:clamp(28px,3.5vw,54px);
  font-weight:900; color:#fff; line-height:1.05; letter-spacing:-.025em;
  margin:0 0 16px;
}
.sgpw-hero-desc { font-size:15px; color:rgba(255,255,255,.65); line-height:1.7; margin-bottom:32px; font-family:var(--f2); max-width:480px; }
.sgpw-hero-btns { display:flex; flex-wrap:wrap; gap:12px; margin-bottom:32px; }
.sgpw-hero-btn {
  display:inline-flex; align-items:center; gap:8px;
  font-family:var(--f1); font-size:12px; font-weight:800; letter-spacing:.06em; text-transform:uppercase;
  padding:14px 28px; border-radius:10px; text-decoration:none;
  transition:all .2s; white-space:nowrap;
}
.sgpw-hero-btn svg { transition:transform .2s; }
.sgpw-hero-btn:hover svg { transform:translateX(3px); }
.sgpw-hero-btn-primary { background:var(--r); color:#fff; box-shadow:0 4px 20px rgba(212,43,43,.35); }
.sgpw-hero-btn-primary:hover { background:var(--r2); color:#fff; transform:translateY(-2px); }
.sgpw-hero-btn-secondary { background:rgba(255,255,255,.12); color:#fff; border:1.5px solid rgba(255,255,255,.3); }
.sgpw-hero-btn-secondary:hover { background:rgba(255,255,255,.2); color:#fff; }
.sgpw-hero-btn-ghost { background:transparent; color:rgba(255,255,255,.8); border:1.5px solid rgba(255,255,255,.2); }
.sgpw-hero-btn-ghost:hover { color:#fff; border-color:rgba(255,255,255,.5); background:rgba(255,255,255,.08); }

.sgpw-hero-badges { display:flex; flex-wrap:wrap; gap:12px; }
.sgpw-hero-badge {
  display:flex; align-items:center; gap:6px;
  background:rgba(255,255,255,.07); border:1px solid rgba(255,255,255,.12);
  color:rgba(255,255,255,.7); font-family:var(--f1);
  font-size:10.5px; font-weight:600; padding:7px 14px; border-radius:100px;
}
.sgpw-hero-badge svg { color:var(--r); }

/* Hero media/product */
.sgpw-hero-media { display:flex; align-items:center; justify-content:center; }
.sgpw-hero-media img { max-height:420px; width:auto; object-fit:contain; border-radius:16px; box-shadow:0 24px 80px rgba(0,0,0,.35); animation:sgpw-up .6s .15s var(--ease) both; }

.sgpw-hero-product {}
.sgpw-hero-product-inner {
  display:flex; flex-direction:column; background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12); border-radius:20px;
  overflow:hidden; text-decoration:none;
  transition:background .2s,border-color .2s; animation:sgpw-up .6s .15s var(--ease) both;
}
.sgpw-hero-product-inner:hover { background:rgba(255,255,255,.1); border-color:rgba(255,255,255,.25); }
.sgpw-hero-product-img { position:relative; background:rgba(255,255,255,.08); padding:24px; text-align:center; }
.sgpw-hero-product-img img { max-height:280px; width:auto; margin:0 auto; object-fit:contain; }
.sgpw-hero-product-info { padding:18px 20px 20px; }
.sgpw-hero-product-cat { display:block; font-family:var(--f1); font-size:9px; font-weight:700; letter-spacing:.16em; text-transform:uppercase; color:rgba(255,255,255,.5); margin-bottom:6px; }
.sgpw-hero-product-name { display:block; font-family:var(--f1); font-size:14px; font-weight:800; color:#fff; margin-bottom:10px; }
.sgpw-hero-product-price { font-family:var(--f1); font-size:20px; font-weight:900; color:var(--r); }
.sgpw-hero-product-price del { color:rgba(255,255,255,.35); font-size:14px; font-weight:600; }

/* ════════════════════════════════════════════════════
   STATS COUNTER
════════════════════════════════════════════════════ */
.sgpw-stats {
  display:flex; align-items:stretch;
  max-width:1320px; margin:0 auto;
  padding:60px 56px; gap:0;
  font-family:var(--f1); background:var(--n);
}
.sgpw-stats-grid { flex-wrap:wrap; gap:24px; }
.sgpw-stats-cards { flex-wrap:wrap; gap:16px; }

.sgpw-stat {
  display:flex; align-items:center; gap:16px;
  flex:1; min-width:140px; padding:8px 0;
  animation:sgpw-count .5s var(--ease) both;
}
.sgpw-stat-icon { font-size:28px; line-height:1; flex-shrink:0; }
.sgpw-stat-body { display:flex; flex-direction:column; gap:2px; }
.sgpw-stat-num-wrap { display:flex; align-items:baseline; gap:2px; }
.sgpw-stat-num { font-size:clamp(28px,3.5vw,44px); font-weight:900; color:var(--r); line-height:1; }
.sgpw-stat-suffix { font-size:clamp(20px,2.5vw,30px); font-weight:900; color:var(--r); }
.sgpw-stat-label { font-size:13px; font-weight:700; color:#fff; letter-spacing:.02em; }
.sgpw-stat-desc { font-size:11px; font-weight:400; color:rgba(255,255,255,.45); margin-top:1px; font-family:var(--f2); }
.sgpw-stat-sep { width:1px; background:rgba(255,255,255,.1); margin:0 32px; align-self:stretch; flex-shrink:0; }

/* Cards mode */
.sgpw-stat-card {
  background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.1);
  border-radius:14px; padding:24px 20px; flex:1; min-width:160px;
  display:flex; align-items:flex-start; gap:14px;
  transition:background .2s,border-color .2s;
}
.sgpw-stat-card:hover { background:rgba(255,255,255,.1); border-color:rgba(212,43,43,.4); }
.sgpw-stats-cards .sgpw-stat { flex:unset; padding:0; }

/* ════════════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════════════ */
@media (max-width:1100px) {
  .sgpw-card { flex:0 0 calc(33.33% - 13px) !important; }
  .sgpw-cat-grid { grid-template-columns:repeat(3,1fr) !important; }
}
@media (max-width:900px) {
  .sgpw-hero-split .sgpw-hero-inner,
  .sgpw-hero-product .sgpw-hero-inner { grid-template-columns:1fr; }
  .sgpw-hero-media,.sgpw-hero-product { display:none; }
  .sgpw-stats { flex-wrap:wrap; }
  .sgpw-stat-sep { display:none; }
  .sgpw-grid { grid-template-columns:repeat(3,1fr) !important; padding:0 24px; }
}
@media (max-width:780px) {
  .sgpw-header,.sgpw-strip { padding:0 24px; }
  .sgpw-track  { padding:10px 24px 24px; }
  .sgpw-card   { flex:0 0 calc(50% - 10px) !important; min-width:0; }
  .sgpw-hero-inner { padding:40px 24px; }
  .sgpw-hero-heading { font-size:clamp(24px,7vw,40px); }
  .sgpw-cat-grid { grid-template-columns:repeat(2,1fr) !important; padding:0 24px; }
  .sgpw-stats  { padding:40px 24px; }
  .sgpw-grid   { grid-template-columns:repeat(2,1fr) !important; }
}
@media (max-width:520px) {
  .sgpw-card   { flex:0 0 85% !important; }
  .sgpw-section { padding:56px 0 64px; }
  .sgpw-fade-l,.sgpw-fade-r { width:24px; }
  .sgpw-cat-grid { grid-template-columns:repeat(2,1fr) !important; gap:12px; }
  .sgpw-grid   { grid-template-columns:1fr !important; }
}
