/* ══════════════════════════════════════════════════════════════════
   SmartPrice Compare — Idealo-Inspired Frontend CSS
   ══════════════════════════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --spc-primary:    #e8590c;
  --spc-primary-h:  #c94b09;
  --spc-green:      #2ea84e;
  --spc-green-h:    #238a3f;
  --spc-red:        #d0021b;
  --spc-blue:       #0070c9;
  --spc-border:     #e3e3e3;
  --spc-bg:         #ffffff;
  --spc-bg-page:    transparent;
  --spc-bg-soft:    #f9f9f9;
  --spc-text:       #1a1a1a;
  --spc-muted:      #666666;
  --spc-muted2:     #999999;
  --spc-radius:     4px;
  --spc-shadow:     0 1px 4px rgba(0,0,0,.08);
  --spc-shadow-md:  0 2px 10px rgba(0,0,0,.10);
  --spc-font:       'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.spc *, .spc *::before, .spc *::after { box-sizing: border-box; }

.spc {
  font-family: var(--spc-font);
  color: var(--spc-text);
  background: var(--spc-bg-page);
  max-width: 100%;
  margin: 0 auto;
  padding: 12px 10px 32px;
  font-size: 13px;
  line-height: 1.4;
}

/* ── Layout ──────────────────────────────────────────────────────── */
.spc-layout {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.spc-main {
  flex: 1;
  min-width: 0;
}

.spc-sidebar {
  flex: 0 0 218px;
  position: sticky;
  top: 70px;
}

/* ── Section ─────────────────────────────────────────────────────── */
.spc-section {
  background: var(--spc-bg);
  border: 1px solid var(--spc-border);
  border-radius: var(--spc-radius);
  margin-bottom: 8px;
  overflow: hidden;
}

.spc-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--spc-border);
  background: var(--spc-bg);
}

.spc-section-title {
  font-size: 14px;
  font-weight: 700;
  margin: 0;
  color: var(--spc-text);
  display: flex;
  align-items: center;
  gap: 8px;
}

.spc-count-badge {
  background: var(--spc-bg-soft);
  color: var(--spc-muted);
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 20px;
  border: 1px solid var(--spc-border);
}

.spc-empty {
  text-align: center;
  padding: 40px 20px;
  color: var(--spc-muted);
  font-size: 13px;
}

/* ════════════════════════════════════════════════════════════════════
   HERO — product header
   ════════════════════════════════════════════════════════════════════ */
.spc-hero {
  display: flex;
  gap: 20px;
  background: var(--spc-bg);
  border: 1px solid var(--spc-border);
  border-radius: var(--spc-radius);
  padding: 18px 20px;
  margin-bottom: 8px;
  align-items: flex-start;
}

/* Gallery */
.spc-gallery {
  flex: 0 0 140px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.spc-gallery-main-wrap {
  border: 1px solid var(--spc-border);
  border-radius: var(--spc-radius);
  overflow: hidden;
  background: #fff;
  width: 140px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.spc-gallery-main {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
}

.spc-no-img {
  font-size: 3rem;
  text-align: center;
  color: #ccc;
  line-height: 140px;
}

.spc-thumbs {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}

.spc-thumb {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border: 1px solid var(--spc-border);
  border-radius: 3px;
  cursor: pointer;
  background: #fff;
  padding: 2px;
  transition: border-color .15s;
}

.spc-thumb:hover, .spc-thumb.active {
  border-color: var(--spc-primary);
}

/* Hero info */
.spc-hero-info {
  flex: 1;
  min-width: 0;
}

.spc-brand {
  font-size: 11px;
  color: var(--spc-muted);
  margin-bottom: 4px;
  display: block;
}

.spc-title {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 8px;
  color: var(--spc-text);
}

.spc-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 10px;
}

.spc-chip {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: var(--spc-bg-soft);
  border: 1px solid var(--spc-border);
  border-radius: 3px;
  font-size: 11px;
  color: #444;
  padding: 2px 7px;
}

.spc-chip b { color: var(--spc-muted); font-weight: 600; }

/* Hero offer count */
.spc-hero-offer-count {
  font-size: 13px;
  color: var(--spc-muted);
  margin-bottom: 10px;
}

.spc-hero-offer-count strong {
  color: var(--spc-text);
  font-weight: 700;
}

/* Price callout */
.spc-hero-price-box {
  flex: 0 0 240px;
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.spc-price-callout {
  width: 100%;
}

.spc-chart-container {
  position: relative;
  width: 100%;
  height: 110px;
  margin-bottom: 12px;
}

.spc-price-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  width: 100%;
}

.spc-price-actions .spc-btn-outline {
  width: 100%;
  justify-content: center;
  align-items: center;
  gap: 6px;
}

.spc-price-label {
  font-size: 11px;
  color: var(--spc-muted);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 2px;
}

.spc-price-big {
  font-size: 24px;
  font-weight: 800;
  color: var(--spc-text);
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 3px;
}

.spc-price-was {
  font-size: 13px;
  color: var(--spc-muted);
  text-decoration: line-through;
  font-weight: 400;
}

.spc-price-range {
  font-size: 11px;
  color: var(--spc-muted);
  margin-bottom: 3px;
}

.spc-lowest-label {
  font-size: 11px;
  color: var(--spc-muted);
}

.spc-green { color: var(--spc-green) !important; }
.spc-red   { color: var(--spc-red) !important; }

.spc-badge-best {
  display: inline-block;
  background: var(--spc-green);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 3px;
  margin-left: 5px;
  text-transform: uppercase;
}

/* Action buttons */
.spc-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.spc-btn-primary {
  display: inline-block;
  background: var(--spc-green);
  color: #fff;
  font-family: var(--spc-font);
  font-weight: 700;
  font-size: 13px;
  padding: 9px 20px;
  border-radius: 3px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background .15s;
  white-space: nowrap;
}

.spc-btn-primary:hover {
  background: var(--spc-green-h);
  color: #fff;
  text-decoration: none;
}

.spc-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #fff;
  color: var(--spc-muted);
  font-family: var(--spc-font);
  font-weight: 600;
  font-size: 12px;
  padding: 8px 14px;
  border-radius: 3px;
  border: 1px solid var(--spc-border);
  cursor: pointer;
  text-decoration: none;
  transition: all .15s;
}

.spc-btn-outline:hover, .spc-btn-outline.active {
  border-color: var(--spc-primary);
  color: var(--spc-primary);
}

.spc-heart { font-size: 14px; }

/* ── Sort / filter bar ───────────────────────────────────────────── */
.spc-filter-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 0;
  border-bottom: 2px solid var(--spc-border);
  padding: 0 16px;
}

.spc-filter-tab {
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  color: var(--spc-muted);
  font-family: var(--spc-font);
  font-size: 13px;
  font-weight: 600;
  padding: 10px 16px;
  cursor: pointer;
  margin-bottom: -2px;
  transition: all .15s;
}

.spc-filter-tab.active {
  border-bottom-color: var(--spc-primary);
  color: var(--spc-primary);
}

.spc-filter-tab:hover {
  color: var(--spc-text);
}

.spc-sort-bar {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--spc-muted);
  flex-wrap: wrap;
}

.spc-sort-bar > span {
  font-size: 12px;
  color: var(--spc-muted);
  margin-right: 4px;
}

.spc-sort-btn {
  background: #fff;
  border: 1px solid var(--spc-border);
  color: var(--spc-muted);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 3px;
  cursor: pointer;
  transition: all .15s;
  font-family: var(--spc-font);
}

.spc-sort-btn.active {
  background: var(--spc-primary);
  color: #fff;
  border-color: var(--spc-primary);
}

.spc-sort-btn:hover:not(.active) {
  border-color: #aaa;
  color: var(--spc-text);
}

/* ── Variations ──────────────────────────────────────────────────── */
.spc-variations-section { padding: 14px 16px; }

.spc-var-group {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.spc-var-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--spc-muted);
  min-width: 45px;
}

.spc-var-chips { display: flex; gap: 6px; flex-wrap: wrap; }

.spc-var-chip {
  background: #fff;
  border: 1px solid var(--spc-border);
  color: var(--spc-text);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 3px;
  cursor: pointer;
  transition: all .15s;
  font-family: var(--spc-font);
}

.spc-var-chip:hover, .spc-var-chip.active {
  border-color: var(--spc-primary);
  color: var(--spc-primary);
  background: #fff8f5;
}

/* ════════════════════════════════════════════════════════════════════
   OFFER TABLE — Idealo-style rows
   ════════════════════════════════════════════════════════════════════ */

/* Table header */
.spc-offers-header {
  display: grid;
  grid-template-columns: 280px 1fr 160px 110px 140px 110px;
  gap: 0;
  padding: 8px 16px;
  background: var(--spc-bg-soft);
  border-bottom: 1px solid var(--spc-border);
  font-size: 11px;
  font-weight: 600;
  color: var(--spc-muted);
  text-transform: uppercase;
  letter-spacing: .04em;
}

.spc-offers-list {
  display: flex;
  flex-direction: column;
}

.spc-offer-card {
  background: #fff;
  border-bottom: 1px solid var(--spc-border);
  transition: background .12s;
  position: relative;
}

.spc-offer-card:last-child { border-bottom: none; }

.spc-offer-card:hover { background: #fafafa; }

.spc-offer-card.spc-best-card {
  background: #fbfff8;
}

.spc-best-strip {
  background: var(--spc-green);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 3px 16px;
}

/* Row grid */
.spc-offer-inner {
  display: grid;
  grid-template-columns: 280px 1fr 160px 110px 140px 110px;
  gap: 0;
  align-items: center;
  padding: 14px 16px;
  min-height: 80px;
}

/* Store cell */
.spc-offer-store {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  padding-right: 12px;
}

.spc-store-logo-wrap {
  background: var(--spc-bg-soft);
  border: 1px solid var(--spc-border);
  border-radius: 3px;
  padding: 4px 8px;
  min-height: 34px;
  min-width: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 110px;
}

.spc-store-logo-wrap img {
  max-height: 28px;
  max-width: 100px;
  object-fit: contain;
  display: block;
}

.spc-store-icon {
  width: 80px;
  height: 34px;
  border-radius: 3px;
  background: var(--spc-bg-soft);
  border: 1px solid var(--spc-border);
  color: var(--spc-text);
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: .03em;
}

.spc-store-name {
  font-size: 11px;
  color: var(--spc-muted);
  margin-top: 2px;
}

.spc-store-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 2px;
}

.spc-stars {
  font-size: 10px;
  color: #e6a817;
  letter-spacing: 1px;
}

.spc-rating-score {
  font-size: 11px;
  font-weight: 700;
  color: var(--spc-text);
}

.spc-rating-count {
  font-size: 10px;
  color: var(--spc-muted2);
}

/* Product title cell */
.spc-offer-title-cell {
  padding: 0 12px;
}

.spc-offer-title-link {
  font-size: 12px;
  font-weight: 600;
  color: #0a5a9c;
  text-decoration: none;
  line-height: 1.4;
  display: block;
  margin-bottom: 4px;
}

.spc-offer-title-link:hover {
  text-decoration: underline;
  color: #0a5a9c;
}

.spc-offer-meta {
  font-size: 11px;
  color: var(--spc-muted);
  line-height: 1.4;
}

/* Payment cell */
.spc-offer-payment {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
  align-items: center;
  padding: 0 8px;
}

.spc-pay-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f5f5f5;
  border: 1px solid #ddd;
  border-radius: 2px;
  padding: 2px 5px;
  font-size: 9px;
  font-weight: 700;
  color: #444;
  height: 18px;
  white-space: nowrap;
}

/* Shipping cell */
.spc-offer-shipping {
  padding: 0 8px;
}

.spc-ship {
  font-size: 12px;
  color: var(--spc-green);
  font-weight: 600;
  margin-bottom: 2px;
}

.spc-ship.has-cost {
  color: var(--spc-text);
}

.spc-delivery {
  font-size: 11px;
  color: var(--spc-muted);
  line-height: 1.4;
}

.spc-avail {
  font-size: 11px;
  font-weight: 600;
  margin-top: 2px;
}

.spc-avail.in  { color: var(--spc-green); }
.spc-avail.out { color: var(--spc-red); }

/* Price cell */
.spc-offer-price-block {
  text-align: right;
  padding: 0 12px;
}

.spc-offer-price {
  font-size: 20px;
  font-weight: 800;
  color: var(--spc-text);
  display: block;
  line-height: 1.1;
}

.spc-offer-price.best {
  color: var(--spc-text);
}

.spc-vat-note {
  font-size: 10px;
  color: var(--spc-muted2);
  display: block;
  margin-top: 1px;
}

.spc-offer-was {
  font-size: 11px;
  color: var(--spc-muted);
  text-decoration: line-through;
  display: block;
}

.spc-offer-total-price {
  font-size: 11px;
  color: var(--spc-muted);
  margin-top: 2px;
  white-space: nowrap;
}

/* CTA cell */
.spc-offer-cta {
  text-align: center;
  padding: 0 0 0 8px;
}

.spc-cta-btn {
  display: inline-block;
  background: var(--spc-green);
  color: #fff;
  font-family: var(--spc-font);
  font-weight: 700;
  font-size: 12px;
  padding: 9px 12px;
  border-radius: 3px;
  text-decoration: none;
  transition: background .15s;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  width: 100%;
  text-align: center;
}

.spc-cta-btn:hover {
  background: var(--spc-green-h);
  color: #fff;
  text-decoration: none;
}

.spc-cta-btn.primary {
  background: var(--spc-green);
  color: #fff;
}

.spc-cta-disabled {
  font-size: 11px;
  color: #aaa;
  display: block;
  text-align: center;
}

.spc-offer-details-link {
  display: block;
  font-size: 10px;
  color: var(--spc-muted);
  text-decoration: none;
  text-align: center;
  margin-top: 5px;
}

.spc-offer-details-link:hover {
  text-decoration: underline;
  color: #0a5a9c;
}

/* ── History chart ───────────────────────────────────────────────── */
.spc-history-section { display: block; }

.spc-stats-row {
  display: flex;
  gap: 1px;
  flex-wrap: wrap;
  background: var(--spc-border);
  margin-bottom: 16px;
  border: 1px solid var(--spc-border);
  border-radius: var(--spc-radius);
  overflow: hidden;
}

.spc-stat-box {
  flex: 1;
  min-width: 100px;
  background: var(--spc-bg);
  padding: 14px 16px;
  text-align: center;
}

.spc-stat-box .label {
  font-size: 10px;
  color: var(--spc-muted);
  text-transform: uppercase;
  letter-spacing: .05em;
  display: block;
  margin-bottom: 4px;
}

.spc-stat-box .val {
  font-size: 15px;
  font-weight: 800;
  color: var(--spc-text);
  display: block;
}

.spc-stat-box .val.green { color: var(--spc-green); }
.spc-stat-box .val.red   { color: var(--spc-red); }

.spc-chart-wrap {
  position: relative;
  height: 200px;
  padding: 0 16px 16px;
  width: 100%;
}

.spc-chart-wrap canvas, .spc-price-callout canvas {
  width: 100% !important;
  height: 100% !important;
}

/* ── Price alert ─────────────────────────────────────────────────── */
.spc-alert-section { 
  background: transparent; 
  border: none; 
  box-shadow: none; 
  margin-bottom: 0; 
}

.spc-alert-form {
  display: flex;
  align-items: center;
  gap: 15px;
  background: #fff;
  padding: 12px 16px;
  border: 1px solid var(--spc-border);
  border-radius: var(--spc-radius);
  width: 100%;
}

.spc-alert-fields-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
}

.spc-alert-label {
  font-weight: 600;
  font-size: 13px;
  color: var(--spc-text);
  white-space: nowrap;
}

.spc-alert-submit {
  padding: 8px 16px;
  border-color: var(--spc-text);
  color: var(--spc-text);
  white-space: nowrap;
}

.spc-alert-section > .spc-section-head { background: #f2fced; border-bottom-color: #cde8c0; }

.spc-alert-inner { padding: 16px; max-width: 640px; }

.spc-alert-inner p {
  font-size: 13px;
  color: var(--spc-muted);
  margin: 0 0 10px;
}

.spc-alert-current {
  font-size: 13px;
  color: var(--spc-green) !important;
  font-weight: 600;
}

.spc-alert-fields {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.spc-input {
  flex: 1;
  min-width: 160px;
  border: 1px solid var(--spc-border);
  border-radius: 3px;
  padding: 9px 12px;
  font-size: 13px;
  font-family: var(--spc-font);
  transition: border-color .15s;
  background: #fff;
}

.spc-input:focus {
  outline: none;
  border-color: var(--spc-green);
  box-shadow: 0 0 0 2px rgba(46,168,78,.15);
}

.spc-alert-msg {
  font-size: 12px;
  margin-top: 8px;
  padding: 6px 10px;
  border-radius: 3px;
}

/* ── Specs ───────────────────────────────────────────────────────── */
.spc-specs-table { overflow: hidden; }

.spc-spec-row {
  display: flex;
  align-items: flex-start;
  padding: 9px 16px;
  border-bottom: 1px solid var(--spc-border);
  gap: 0;
}

.spc-spec-row:last-child { border-bottom: none; }
.spc-spec-row:nth-child(even) { background: var(--spc-bg-soft); }

.spc-spec-label {
  font-size: 12px;
  color: var(--spc-muted);
  font-weight: 600;
  flex: 0 0 160px;
  padding-right: 12px;
}

.spc-spec-val {
  font-size: 12px;
  color: var(--spc-text);
}

/* ── Description ─────────────────────────────────────────────────── */
.spc-description {
  font-size: 13px;
  line-height: 1.7;
  color: #333;
  padding: 16px;
}

/* ── Related products ────────────────────────────────────────────── */
.spc-related-slider {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 1px;
  background: var(--spc-border);
}

.spc-related-card {
  background: #fff;
  transition: background .12s;
  padding: 10px;
}

.spc-related-card:hover { background: var(--spc-bg-soft); }

.spc-related-img-wrap {
  display: block;
  background: #fff;
  aspect-ratio: 1;
  overflow: hidden;
  margin-bottom: 8px;
}

.spc-related-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform .25s;
}

.spc-related-img-wrap:hover img { transform: scale(1.05); }

.spc-no-img-sm {
  width: 100%;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: #ccc;
}

.spc-related-info { }

.spc-related-title {
  font-size: 12px;
  font-weight: 500;
  color: #0a5a9c;
  text-decoration: none;
  display: block;
  margin-bottom: 4px;
  line-height: 1.4;
}

.spc-related-title:hover { text-decoration: underline; }

.spc-related-price {
  font-size: 13px;
  font-weight: 700;
  color: var(--spc-text);
}

/* ════════════════════════════════════════════════════════════════════
   SIDEBAR — Idealo-style
   ════════════════════════════════════════════════════════════════════ */
.spc-sidebar-card {
  background: var(--spc-bg);
  border: 1px solid var(--spc-border);
  border-radius: var(--spc-radius);
  margin-bottom: 10px;
  overflow: hidden;
}

.spc-sidebar-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--spc-text);
  margin: 0;
  padding: 11px 14px;
  border-bottom: 1px solid var(--spc-border);
  background: var(--spc-bg-soft);
}

.spc-top-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.spc-top-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-bottom: 1px solid var(--spc-border);
  transition: background .12s;
  text-decoration: none;
  cursor: pointer;
}

.spc-top-item:last-child { border-bottom: none; }
.spc-top-item:hover { background: var(--spc-bg-soft); }

.spc-top-rank {
  flex: 0 0 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--spc-bg-soft);
  border: 1px solid var(--spc-border);
  color: var(--spc-muted);
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.spc-top-item:nth-child(1) .spc-top-rank { background: #ffd700; border-color: #e0bc00; color: #6b4f00; }
.spc-top-item:nth-child(2) .spc-top-rank { background: #c0c0c0; border-color: #a8a8a8; color: #555; }
.spc-top-item:nth-child(3) .spc-top-rank { background: #cd7f32; border-color: #b56a28; color: #fff; }

.spc-top-item img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  flex-shrink: 0;
  border: 1px solid var(--spc-border);
  border-radius: 2px;
  background: #fff;
  padding: 2px;
}

.spc-top-info { flex: 1; min-width: 0; }

.spc-top-name {
  font-size: 11px;
  font-weight: 600;
  color: #0a5a9c;
  text-decoration: none;
  display: block;
  line-height: 1.35;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.spc-top-name:hover { text-decoration: underline; }

.spc-top-price {
  font-size: 11px;
  color: var(--spc-muted);
  margin-top: 1px;
}

.spc-top-price strong {
  color: var(--spc-text);
  font-weight: 700;
}

/* ════════════════════════════════════════════════════════════════════
   RESPONSIVE — Fluid Layout
   ════════════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .spc-offers-header {
    grid-template-columns: 200px 1fr 140px 100px 120px 100px;
  }
  .spc-offer-inner {
    grid-template-columns: 200px 1fr 140px 100px 120px 100px;
  }
}

@media (max-width: 960px) {
  .spc-layout {
    flex-direction: column-reverse;
  }
  .spc-sidebar {
    flex: none;
    width: 100%;
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .spc-hero-price-box {
    flex: none;
    width: 100%;
    align-items: flex-start;
    text-align: left;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px dashed var(--spc-border);
  }
  .spc-price-actions { justify-content: flex-start; max-width: 240px; }
  
  .spc-offers-header { display: none; }
  .spc-offer-inner {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
    gap: 12px;
    padding: 16px;
  }
  .spc-offer-title-cell { grid-column: 1 / 3; padding: 0; }
  .spc-offer-store { grid-column: 1; grid-row: 2; border-right: 1px solid var(--spc-border); }
  .spc-offer-price-block { grid-column: 2; grid-row: 2; text-align: right; padding-left: 12px; }
  .spc-offer-shipping { grid-column: 1; grid-row: 3; padding-top: 8px; }
  .spc-offer-cta { grid-column: 2; grid-row: 3; padding-top: 8px; }
  .spc-offer-payment { display: none; }
}

@media (max-width: 640px) {
  .spc { padding: 8px 5px; }
  .spc-hero { flex-direction: column; padding: 15px; }
  .spc-gallery { flex: none; width: 100%; max-width: 300px; margin: 0 auto; }
  .spc-gallery-main-wrap { width: 100%; height: 220px; }
  .spc-sidebar { grid-template-columns: 1fr; }
  
  .spc-alert-form { flex-direction: column; align-items: stretch; gap: 12px; }
  .spc-alert-fields-wrap { flex-direction: column; align-items: stretch; }
  .spc-alert-label { margin-bottom: 5px; }
  
  .spc-offer-inner {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto auto;
  }
  .spc-offer-title-cell { grid-column: 1; grid-row: 1; }
  .spc-offer-store { grid-column: 1; grid-row: 2; border: none; padding-bottom: 10px; border-bottom: 1px solid var(--spc-bg-soft); }
  .spc-offer-price-block { grid-column: 1; grid-row: 3; text-align: left; padding: 10px 0; }
  .spc-offer-shipping { grid-column: 1; grid-row: 4; padding-bottom: 12px; }
  .spc-offer-cta { grid-column: 1; grid-row: 5; }
}

/* ── Utility ─────────────────────────────────────────────────────── */
.spc-divider {
  height: 1px;
  background: var(--spc-border);
  margin: 0;
}
