/* SKU Compare widget. Reuses the theme's own CSS custom properties
   (--bg-2/--ink/--ink-2/--accent/--line, defined in the theme's main.css
   :root) so it stays in sync with the site's design tokens. */

.ab-skc { display: flex; flex-direction: column; }

.skc-piece {
  padding: 44px 0;
  border-top: 1px solid rgba(245,244,241,.11);
}
.skc-piece:first-child { padding-top: 0; border-top: none; }
.skc-piece[hidden] { display: none; }

.skc-more-wrap { display: flex; justify-content: center; margin-top: 32px; }
.skc-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent, #FF5A1F);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 16px 34px;
  font-family: "Onest", system-ui, sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .02em;
  cursor: pointer;
  transition: background .25s var(--ease, ease), transform .25s var(--ease, ease);
}
.skc-more:hover { background: var(--accent-hot, #FF7A3D); transform: translateY(-1px); }
.skc-more-count { opacity: .85; font-variant-numeric: tabular-nums; }

.skc-head { margin-bottom: 18px; }
.skc-sku {
  font-family: "Onest", system-ui, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent, #FF5A1F);
}

.skc-diptych {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.skc-diptych figure { margin: 0; }
.skc-diptych a { display: block; border-radius: var(--r-card, 20px); overflow: hidden; }
.skc-diptych img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: var(--bg-2, #131315);
}
.skc-diptych figcaption {
  margin-top: 8px;
  font-family: "Onest", system-ui, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.skc-ref figcaption { color: var(--ink-2, #a8a6a0); }
.skc-hero figcaption { color: var(--accent, #FF5A1F); }

.skc-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 8px;
}
.skc-strip figure { margin: 0; }
.skc-strip a { display: block; border-radius: var(--r-card, 20px); overflow: hidden; }
.skc-strip img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: var(--bg-2, #131315);
}

@media (max-width: 640px) {
  .skc-diptych { grid-template-columns: 1fr; }
  .skc-strip { grid-template-columns: 1fr 1fr; }
}
