/* ==========================================================================
   SUBLIMATION PAGE — Page-specific styles
   Scoped to .sbl-* classes only. Does not override valtor.css globals.
   ========================================================================== */

.sbl-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  min-height: 480px;   /* prevent excess vertical space */
}
/* Hero section — tighter bottom padding so no gap before next section */
.sbl-hero { padding-bottom: 60px !important; }

.sbl-hero-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 2.35/1;
  border-radius: var(--r8);
  overflow: hidden;
  background: var(--dark2);
  box-shadow: var(--shadow-xl);
}
.sbl-hero-img-wrap img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
/* Cards — 800×600 px — fixed height image slot */
.sbl-cat-img {
  display: block;
  width: 100%;
  height: 220px;          /* fixed height — prevents tall portrait rendering */
  object-fit: cover;
  object-position: center 30%;
  background: #111;
}
/* ── Product category grid ─────────────────────────────────────────────── */
.sbl-cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
/* Force all stagger children in this grid visible immediately —
   IntersectionObserver may not fire for items below the fold on first paint */
.sbl-cat-grid > * {
  opacity: 1 !important;
  transform: none !important;
}
.sbl-cat-card {
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: var(--r8);
  overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.sbl-cat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,.5);
  border-color: rgba(200,16,46,.35);
}
.sbl-cat-card__body { padding: 18px 20px 20px; }
.sbl-cat-card__title {
  font-family: var(--ff-d); font-size: 1.05rem; font-weight: 700;
  text-transform: uppercase; color: var(--white); margin-bottom: 6px;
}
.sbl-cat-card__desc { font-size: .8rem; color: var(--text-d); line-height: 1.55; margin-bottom: 14px; }

/* ── Why choose — icon cards ───────────────────────────────────────────── */
.sbl-why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}
.sbl-why-card {
  background: var(--dark2);
  border: 1px solid var(--border);
  border-left: 3px solid var(--red);
  border-radius: var(--r8);
  padding: 22px 20px;
  display: flex; align-items: flex-start; gap: 14px;
}
.sbl-why-icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  background: rgba(200,16,46,.1);
  border-radius: var(--r4);
  display: flex; align-items: center; justify-content: center;
  color: var(--red);
}
.sbl-why-card__title { font-size: .88rem; font-weight: 700; color: var(--white); margin-bottom: 4px; }
.sbl-why-card__desc  { font-size: .78rem; color: var(--text-d); line-height: 1.5; }

/* ── Customisation two-column list ─────────────────────────────────────── */
.sbl-custom-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 32px;
}
.sbl-custom-item {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: .85rem; color: var(--text); line-height: 1.55; padding: 8px 0;
  border-bottom: 1px solid var(--border);
}
.sbl-custom-item svg { flex-shrink: 0; color: var(--red); margin-top: 2px; }

/* ── Process steps — reuse existing process pattern ────────────────────── */
.sbl-process {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0;
  position: relative;
}
.sbl-process::before {
  content: '';
  position: absolute;
  top: 28px; left: 14%; right: 14%;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--red) 0, var(--red) 8px, transparent 8px, transparent 16px);
}
.sbl-step {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; padding: 0 6px; position: relative; z-index: 1;
}
.sbl-step__num {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--dark2); border: 2px solid var(--red);
  font-family: var(--ff-d); font-size: 1.4rem; font-weight: 800;
  color: var(--red); display: flex; align-items: center; justify-content: center;
  margin-bottom: 12px; flex-shrink: 0;
}
.sbl-step__title { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--white); margin-bottom: 4px; }
.sbl-step__desc  { font-size: .68rem; color: var(--text-d); line-height: 1.5; }

/* ── Artwork guidelines box ────────────────────────────────────────────── */
.sbl-art-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.sbl-art-item {
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: var(--r8);
  padding: 18px 20px;
  display: flex; align-items: flex-start; gap: 12px;
}
.sbl-art-item__icon { flex-shrink: 0; color: var(--gold); margin-top: 2px; }
.sbl-art-item__title { font-size: .82rem; font-weight: 700; color: var(--white); margin-bottom: 3px; }
.sbl-art-item__text  { font-size: .77rem; color: var(--text-d); line-height: 1.55; }

/* ── Who we supply tags ─────────────────────────────────────────────────── */
.sbl-supply-grid {
  display: flex; flex-wrap: wrap; gap: 10px;
}
.sbl-supply-tag {
  display: flex; align-items: center; gap: 8px;
  background: var(--dark2); border: 1px solid var(--border);
  border-radius: var(--r-full); padding: 10px 18px;
  font-size: .8rem; font-weight: 600; color: rgba(255,255,255,.85);
  transition: border-color .2s, color .2s;
}
.sbl-supply-tag svg { color: var(--red); }
.sbl-supply-tag:hover { border-color: rgba(200,16,46,.5); color: var(--white); }

/* ── FAQ accordion ──────────────────────────────────────────────────────── */
/* Uses existing .faq-item / .faq-q / .faq-a pattern from valtor.css */

/* ── Sublimation explanation block ─────────────────────────────────────── */
.sbl-explain {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.sbl-explain__visual {
  border-radius: var(--r8);
  overflow: hidden;
  background: linear-gradient(135deg, #0d1117 0%, #1a1a2e 60%, #0f3460 100%);
  aspect-ratio: 4/3;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.sbl-explain__visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.sbl-explain__points { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }
.sbl-explain__point {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: .85rem; color: var(--text); line-height: 1.55;
}
.sbl-explain__point strong { color: rgba(255,255,255,.9); }

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .sbl-hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .sbl-hero-img-wrap { aspect-ratio: 2.5/1; }
  .sbl-process {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }
  .sbl-process::before { display: none; }
  .sbl-explain { grid-template-columns: 1fr; }
  .sbl-explain__visual { aspect-ratio: 16/7; }
  .sbl-art-grid { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .sbl-process { grid-template-columns: repeat(2, 1fr); }
  .sbl-custom-grid { grid-template-columns: 1fr; }
  .sbl-cat-grid  { grid-template-columns: 1fr; }
  .sbl-why-grid  { grid-template-columns: 1fr; }
}
