/* =========================================================
   Sky Hub shop — 1:1 vanilla port (tutorlink.pro/shop)
   Styles every skh-* class rendered by js/skyhub-shop.js.
   ========================================================= */

body.shop-page {
  background: #F6FAFF;
}

.skh-shop {
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 24px 140px;
}

/* ── Header ── */
.skh-header { text-align: center; margin-bottom: 36px; }

.skh-header-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 28px;
  padding: 0 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(15, 23, 42, 0.1);
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(51, 65, 85, 0.92);
}
.skh-header-pill i { color: #0EA5E9; font-size: 11px; }

.skh-title {
  margin: 22px 0 0;
  font-family: var(--font-display, sans-serif);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.95;
  font-size: clamp(2.6rem, 7vw, 5rem);
  color: rgba(15, 23, 42, 0.95);
}
.skh-title-accent {
  background: linear-gradient(135deg, #22BDFF, #8B5CF6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.skh-sub {
  max-width: 560px;
  margin: 18px auto 0;
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.6;
  color: rgba(71, 85, 105, 0.92);
}

/* ── FTC banner slot ── */
.skh-ftc-slot { max-width: 720px; margin: 0 auto 8px; }

/* ── Success banner ── */
.skh-success-banner {
  max-width: 720px;
  margin: 0 auto 16px;
  padding: 13px 18px;
  border-radius: 14px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #065F46;
  font-size: 13.5px;
}
.skh-success-banner i { color: #10B981; margin-right: 4px; }
.skh-success-banner a { color: #047857; font-weight: 700; text-decoration: none; }
.skh-success-banner a:hover { text-decoration: underline; }
.skh-success-banner.hidden { display: none; }

/* ── Segmented toggle (sticky) ── */
.skh-segbar-wrap {
  position: sticky;
  top: 72px;
  z-index: 30;
  margin: 26px auto 48px;
  max-width: 640px;
  padding: 0 6px;
}
.skh-segbar {
  display: flex;
  gap: 4px;
  padding: 6px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 10px 40px -16px rgba(15, 23, 42, 0.3);
}
.skh-seg {
  flex: 1;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  font-family: var(--font-body, sans-serif);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: rgba(100, 116, 139, 0.92);
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
  white-space: nowrap;
}
.skh-seg:hover { color: rgba(15, 23, 42, 0.95); }
.skh-seg.active {
  background: #0F172A;
  color: #fff;
  box-shadow: 0 4px 14px -4px rgba(15, 23, 42, 0.45);
}
@media (max-width: 560px) {
  .skh-seg span { display: none; }
  .skh-seg { font-size: 15px; }
}

/* ── View container — spacing formerly provided by the segbar ── */
.skh-view { margin-top: 40px; }

/* ── Error strip ── */
.skh-error {
  max-width: 640px;
  margin: 0 auto 24px;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(244, 63, 94, 0.08);
  border: 1px solid rgba(244, 63, 94, 0.25);
  color: #BE123C;
  font-size: 13px;
}
.skh-error.hidden { display: none; }

/* ── Section heads ── */
.skh-section-head { margin-bottom: 24px; }
.skh-eyebrow {
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(100, 116, 139, 0.9);
  margin-bottom: 8px;
}
.skh-eyebrow-sky { color: #0284C7; }
.skh-h2 {
  font-family: var(--font-display, sans-serif);
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: rgba(15, 23, 42, 0.95);
  margin: 0;
}
.skh-blurb {
  max-width: 640px;
  margin: 0 0 36px;
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.6;
  color: rgba(71, 85, 105, 0.92);
}

/* ── Card grids ── */
.skh-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 900px) { .skh-grid-3 { grid-template-columns: 1fr; } }

/* ── Product / bundle cards ── */
.skh-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(15, 23, 42, 0.09);
  overflow: hidden;
  transition: transform 0.25s cubic-bezier(0.34, 1.4, 0.64, 1), border-color 0.2s ease, box-shadow 0.2s ease;
}
.skh-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -18px rgba(15, 23, 42, 0.18);
}
.skh-card-best {
  border-color: rgba(56, 189, 248, 0.5);
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.25), 0 14px 34px -16px rgba(2, 132, 199, 0.25);
}

.skh-card-badge {
  position: absolute;
  top: -1px;
  left: 24px;
  transform: translateY(-50%);
  height: 24px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
}

.skh-card-name {
  font-size: 15px;
  font-weight: 700;
  color: rgba(15, 23, 42, 0.95);
  margin-top: 6px;
}
.skh-card-price {
  display: flex;
  align-items: baseline;
  gap: 5px;
  margin-top: 10px;
}
.skh-card-amount {
  font-family: var(--font-display, sans-serif);
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: rgba(15, 23, 42, 0.95);
}
.skh-card-unit {
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 12px;
  color: rgba(100, 116, 139, 0.9);
}
.skh-card-desc {
  margin: 12px 0 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: rgba(71, 85, 105, 0.92);
}
.skh-card-feats {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.skh-card-feats li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(51, 65, 85, 0.95);
}
.skh-card-feats li i { font-size: 12px; flex-shrink: 0; }

.skh-buy {
  margin-top: 22px;
  height: 48px;
  border: 0;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body, sans-serif);
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  transition: filter 0.15s ease, transform 0.1s ease;
}
.skh-buy:hover { filter: brightness(1.07); }
.skh-buy:active { transform: scale(0.98); }
.skh-buy:disabled { opacity: 0.6; cursor: default; }

/* Bundle specifics */
.skh-bundle-glow {
  position: absolute;
  top: -64px;
  right: -64px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  filter: blur(48px);
  opacity: 0.4;
  pointer-events: none;
}
.skh-bundle-icon {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 17px;
  margin-bottom: 14px;
}
.skh-bundle-note {
  margin-top: 4px;
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ── Full Service ── */
.skh-fs-wrap { margin-top: 32px; }
.skh-fs {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.15);
  background: linear-gradient(135deg, #0F172A, #1E293B);
  color: #fff;
}
.skh-fs-grid {
  padding: clamp(28px, 4vw, 40px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}
@media (max-width: 800px) { .skh-fs-grid { grid-template-columns: 1fr; } }

.skh-fs-kicker {
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #FCD34D;
  margin-bottom: 8px;
}
.skh-fs-title {
  font-family: var(--font-display, sans-serif);
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: clamp(1.8rem, 3.6vw, 2.7rem);
  margin: 0;
}
.skh-fs-copy {
  margin: 12px 0 0;
  max-width: 440px;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(203, 213, 225, 0.95);
}
.skh-fs-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 20px;
}
.skh-fs-price span {
  font-family: var(--font-display, sans-serif);
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.skh-fs-price small { font-size: 14px; color: rgba(148, 163, 184, 0.95); }

.skh-fs-btn {
  margin-top: 20px;
  height: 48px;
  padding: 0 26px;
  border: 0;
  border-radius: 14px;
  background: #fff;
  color: #0F172A;
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.1s ease;
}
.skh-fs-btn:hover { background: #F1F5F9; }
.skh-fs-btn:active { transform: scale(0.98); }
.skh-fs-btn:disabled { opacity: 0.6; cursor: default; }

.skh-fs-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.skh-fs-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: rgba(226, 232, 240, 0.95);
}
.skh-fs-check {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.2);
  color: #6EE7B7;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
}

/* ── Segment shortcuts (All view bottom) ── */
.skh-shortcuts {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 760px) { .skh-shortcuts { grid-template-columns: 1fr; } }
.skh-shortcut {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(15, 23, 42, 0.09);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s cubic-bezier(0.34, 1.4, 0.64, 1);
}
.skh-shortcut:hover { border-color: rgba(56, 189, 248, 0.5); transform: translateY(-2px); }
.skh-shortcut-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 13px;
  background: rgba(56, 189, 248, 0.14);
  color: #0284C7;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
}
.skh-shortcut-meta { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.skh-shortcut-meta strong { font-size: 14.5px; color: rgba(15, 23, 42, 0.95); }
.skh-shortcut-meta small { font-size: 12px; color: rgba(100, 116, 139, 0.9); }
.skh-shortcut-arrow { color: rgba(148, 163, 184, 0.9); transition: transform 0.2s ease; }
.skh-shortcut:hover .skh-shortcut-arrow { transform: translateX(2px); }

/* ══════════════════════════════════════════════════════════
   Thumbnail builder
   ══════════════════════════════════════════════════════════ */
.skh-tb {
  border-radius: 24px;
  border: 1px solid rgba(15, 23, 42, 0.09);
  background: rgba(255, 255, 255, 0.8);
  overflow: hidden;
}

.skh-tb-head {
  padding: 28px 32px 20px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.07);
}
.skh-tb-head-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.skh-tb-tip {
  max-width: 260px;
  padding: 12px 16px;
  border-radius: 13px;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.25);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.skh-tb-tip strong { font-size: 11px; color: rgba(15, 23, 42, 0.95); }
.skh-tb-tip span { font-size: 11.5px; color: rgba(71, 85, 105, 0.92); }
@media (max-width: 700px) { .skh-tb-tip { display: none; } }

/* Step rail */
.skh-tb-rail {
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.skh-tb-rail-item {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
}
.skh-tb-rail-item.is-last { flex: none; }
.skh-tb-rail-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
}
.skh-tb-rail-btn:disabled { cursor: default; }
.skh-tb-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  background: rgba(15, 23, 42, 0.08);
  color: rgba(100, 116, 139, 0.95);
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.skh-tb-dot.active {
  background: #0EA5E9;
  color: #fff;
  box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.25);
}
.skh-tb-dot.done { background: #10B981; color: #fff; }
.skh-tb-rail-label {
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.95);
}
.skh-tb-rail-label.active { color: rgba(15, 23, 42, 0.95); }
@media (max-width: 560px) { .skh-tb-rail-label { display: none; } }
.skh-tb-rail-line {
  flex: 1;
  height: 1px;
  background: rgba(15, 23, 42, 0.1);
}
.skh-tb-rail-line.done { background: #34D399; }

/* Step body */
.skh-tb-body {
  padding: 28px 32px;
  min-height: 300px;
}
.skh-tb-h3 { font-size: 18px; font-weight: 700; color: rgba(15, 23, 42, 0.95); margin: 0; }
.skh-tb-sub { font-size: 13.5px; color: rgba(100, 116, 139, 0.92); margin: 4px 0 20px; }
.skh-dim { color: rgba(148, 163, 184, 0.9); }

/* Step 0 — styles */
.skh-tb-styles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
@media (max-width: 900px) { .skh-tb-styles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .skh-tb-styles { grid-template-columns: 1fr; } }
.skh-tb-style {
  text-align: left;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s cubic-bezier(0.34, 1.4, 0.64, 1);
  display: flex;
  flex-direction: column;
}
.skh-tb-style:hover { border-color: rgba(56, 189, 248, 0.5); transform: translateY(-2px); }
.skh-tb-style.on {
  border-color: #38BDF8;
  background: rgba(56, 189, 248, 0.08);
  box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.3);
}
.skh-tb-style-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(56, 189, 248, 0.14);
  color: #0284C7;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  margin-bottom: 12px;
}
.skh-tb-style-name {
  font-size: 14px;
  font-weight: 700;
  color: rgba(15, 23, 42, 0.95);
  display: flex;
  align-items: center;
  gap: 6px;
}
.skh-tb-style-name i { color: #0EA5E9; font-size: 12px; }
.skh-tb-style-desc { font-size: 12px; color: rgba(100, 116, 139, 0.9); margin-top: 4px; line-height: 1.45; }

/* Step 1 — bases */
.skh-tb-bases {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
@media (max-width: 1000px) { .skh-tb-bases { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .skh-tb-bases { grid-template-columns: repeat(2, 1fr); } }
.skh-tb-base {
  position: relative;
  text-align: left;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s cubic-bezier(0.34, 1.4, 0.64, 1);
}
.skh-tb-base:hover { border-color: rgba(56, 189, 248, 0.5); transform: translateY(-2px); }
.skh-tb-base.on {
  border-color: #38BDF8;
  background: rgba(56, 189, 248, 0.08);
  box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.3);
}
.skh-tb-pop {
  position: absolute;
  top: -10px;
  left: 14px;
  height: 20px;
  padding: 0 8px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: #22BDFF;
  color: #fff;
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.skh-tb-base-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}
.skh-tb-base-row strong { font-size: 14px; color: rgba(15, 23, 42, 0.95); }
.skh-tb-base-row em { font-style: normal; font-size: 18px; font-weight: 800; color: rgba(15, 23, 42, 0.95); }
.skh-tb-base ul { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.skh-tb-base li { display: flex; align-items: center; gap: 6px; font-size: 12px; color: rgba(71, 85, 105, 0.92); }
.skh-tb-base li i { font-size: 10px; color: #0EA5E9; flex-shrink: 0; }

/* Step 2 — addons + qty */
.skh-tb-addons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (max-width: 640px) { .skh-tb-addons { grid-template-columns: 1fr; } }
.skh-tb-addon {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: rgba(255, 255, 255, 0.6);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.skh-tb-addon:hover { border-color: rgba(56, 189, 248, 0.5); }
.skh-tb-addon.on {
  border-color: #38BDF8;
  background: rgba(56, 189, 248, 0.08);
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.3);
}
.skh-tb-check {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  border-radius: 6px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: #fff;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.skh-tb-check.on { background: #0EA5E9; border-color: #0EA5E9; }
.skh-tb-addon-meta { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.skh-tb-addon-meta strong { font-size: 13.5px; color: rgba(15, 23, 42, 0.95); }
.skh-tb-addon-meta small { font-size: 12px; color: rgba(100, 116, 139, 0.9); }
.skh-tb-addon-price { font-size: 14px; font-weight: 800; color: rgba(15, 23, 42, 0.95); flex-shrink: 0; }

.skh-tb-qty {
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.1);
}
.skh-tb-qty-meta { display: flex; flex-direction: column; gap: 1px; }
.skh-tb-qty-meta strong { font-size: 13.5px; color: rgba(15, 23, 42, 0.95); }
.skh-tb-qty-meta small { font-size: 12px; color: rgba(100, 116, 139, 0.9); }
.skh-tb-qty-controls { display: flex; align-items: center; gap: 12px; }
.skh-tb-qty-controls button {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: transparent;
  color: rgba(71, 85, 105, 0.95);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}
.skh-tb-qty-controls button:hover { background: rgba(15, 23, 42, 0.05); }
.skh-tb-qty-controls button:disabled { opacity: 0.4; cursor: default; }
.skh-tb-qty-controls span {
  min-width: 32px;
  text-align: center;
  font-size: 16px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: rgba(15, 23, 42, 0.95);
}

/* Step 3 — review */
.skh-tb-notes {
  width: 100%;
  border-radius: 13px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.7);
  font-family: var(--font-body, sans-serif);
  font-size: 13.5px;
  color: rgba(15, 23, 42, 0.95);
  padding: 12px;
  resize: none;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.skh-tb-notes:focus {
  border-color: #38BDF8;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.18);
}
.skh-tb-notes::placeholder { color: rgba(148, 163, 184, 0.9); }
.skh-tb-notes-count {
  text-align: right;
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 10px;
  color: rgba(148, 163, 184, 0.9);
  margin-top: 4px;
}

.skh-tb-review {
  margin-top: 16px;
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  overflow: hidden;
}
.skh-tb-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  font-size: 13px;
  color: rgba(51, 65, 85, 0.95);
}
.skh-tb-row + .skh-tb-row { border-top: 1px solid rgba(15, 23, 42, 0.06); }
.skh-tb-row span:last-child { font-weight: 600; color: rgba(15, 23, 42, 0.95); font-variant-numeric: tabular-nums; }
.skh-tb-row-save span { color: #059669 !important; }
.skh-tb-row-total span:first-child { font-size: 15px; font-weight: 800; color: rgba(15, 23, 42, 0.95); }
.skh-tb-row-total span:last-child { font-size: 18px; font-weight: 800; }
.skh-tb-row-total s { font-size: 13px; font-weight: 600; color: rgba(148, 163, 184, 0.9); margin-right: 6px; }
.skh-tb-row-total small { font-size: 12px; font-weight: 600; color: rgba(100, 116, 139, 0.9); }

/* Builder footer */
.skh-tb-foot {
  border-top: 1px solid rgba(15, 23, 42, 0.07);
  background: rgba(255, 255, 255, 0.85);
}
.skh-tb-billing {
  padding: 16px 32px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.skh-tb-billing-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.05);
  border: 1px solid rgba(15, 23, 42, 0.07);
}
.skh-tb-billing-toggle button {
  height: 32px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-size: 12.5px;
  font-weight: 600;
  color: rgba(100, 116, 139, 0.92);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.skh-tb-billing-toggle button:hover { color: rgba(51, 65, 85, 0.95); }
.skh-tb-billing-toggle button.on {
  background: #fff;
  color: rgba(15, 23, 42, 0.95);
  box-shadow: 0 2px 8px -2px rgba(15, 23, 42, 0.18);
}
.skh-save20 {
  height: 16px;
  padding: 0 6px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.14);
  color: #047857;
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.skh-save20.on { background: #10B981; color: #fff; }
.skh-tb-billing-hint { font-size: 12px; color: rgba(100, 116, 139, 0.92); }

.skh-tb-foot-row {
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.skh-tb-total-wrap { display: flex; align-items: center; gap: 16px; }
.skh-tb-back {
  background: transparent;
  border: 0;
  font-size: 13px;
  font-weight: 600;
  color: rgba(100, 116, 139, 0.92);
  cursor: pointer;
}
.skh-tb-back:hover { color: rgba(15, 23, 42, 0.95); }
.skh-tb-total-label {
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(100, 116, 139, 0.92);
}
.skh-tb-total {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: rgba(15, 23, 42, 0.95);
  font-variant-numeric: tabular-nums;
}
.skh-tb-total s { font-size: 14px; font-weight: 600; color: rgba(148, 163, 184, 0.9); margin-right: 6px; }
.skh-tb-total small { font-size: 13px; font-weight: 600; color: rgba(100, 116, 139, 0.9); }

.skh-tb-next {
  height: 48px;
  padding: 0 28px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, #22BDFF, #0AA1E7);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: filter 0.15s ease, transform 0.1s ease;
  white-space: nowrap;
}
.skh-tb-next:hover { filter: brightness(1.07); }
.skh-tb-next:active { transform: scale(0.98); }
.skh-tb-next:disabled { opacity: 0.5; cursor: default; }

/* Spinner */
@keyframes skhSpin { to { transform: rotate(360deg); } }
.skh-spin { animation: skhSpin 0.8s linear infinite; }

/* ══════════════════════════════════════════════════════════
   Custom buy page (buy.html)
   ══════════════════════════════════════════════════════════ */
.skh-buy-title { font-size: clamp(2.2rem, 5.5vw, 4rem) !important; }

/* Header removed from buy.html — the grid IS the page. Scoped to
   body.buy-page with hard values so no other sheet (style.css shorthand
   resets, perf clamps, stale caches) can re-break the layout:
   • content always clears the fixed nav
   • grid is centered with a sane max width — no left-hugging, no dead
     right gutter on wide screens
   • flat clean background (the aurora layers were removed from the page) */
body.buy-page { background: #F6FAFF !important; }
body.buy-page main.skh-shop,
body.buy-page main#main.skh-shop {
  /* A global #main rule turns main into a centering inline-flex with a
     fixed height — the order grid (taller than that height) center-spilled
     out BOTH ends, clipping "YOUR ORDER" under the nav. Force a normal
     block page. */
  display: block !important;
  height: auto !important;
  min-height: 100vh !important;
  width: auto !important;
  margin: 0 !important;
  padding: 132px 24px 96px !important;
  max-width: none !important;
}
body.buy-page .skh-buy-grid {
  max-width: 900px !important;
  margin: 0 auto !important;
  gap: 18px !important;
}
/* Keep the payment card in view while the summary scrolls on long orders. */
body.buy-page .skh-buy-pay { position: sticky; top: 104px; }
/* Trust strip centered under the summary column */
body.buy-page .skh-buy-trust { justify-content: center; }
/* Error strip + empty state match the grid width */
body.buy-page .skh-error { max-width: 900px; }
@media (max-width: 860px) {
  body.buy-page main.skh-shop { padding-top: 116px !important; }
  body.buy-page .skh-buy-pay { position: static; }
}

.skh-buy-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 20px;
  max-width: 980px;
  margin: 40px auto 0;
  align-items: start;
}
@media (max-width: 860px) { .skh-buy-grid { grid-template-columns: 1fr; } }
.skh-buy-grid.hidden { display: none; }

.skh-buy-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(15, 23, 42, 0.09);
  border-radius: 20px;
  padding: 22px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03), 0 12px 32px -18px rgba(15, 23, 42, 0.14);
}

.skh-buy-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.skh-buy-edit {
  font-size: 12.5px;
  font-weight: 600;
  color: #0284C7;
  text-decoration: none;
}
.skh-buy-edit:hover { text-decoration: underline; }

/* Reuse .skh-tb-row inside the buy card; rows get a divider container */
#skh-buy-lines { border-top: 1px solid rgba(15, 23, 42, 0.06); margin-top: 6px; }
#skh-buy-lines .skh-tb-row { padding-left: 2px; padding-right: 2px; }
#skh-buy-lines .skh-tb-row + .skh-tb-row { border-top: 1px solid rgba(15, 23, 42, 0.05); }

.skh-buy-notes {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 13px;
  background: rgba(56, 189, 248, 0.07);
  border: 1px solid rgba(56, 189, 248, 0.22);
  font-size: 12.5px;
  line-height: 1.5;
  color: rgba(51, 65, 85, 0.95);
  white-space: pre-wrap;
}
.skh-buy-notes strong {
  display: block;
  font-size: 10.5px;
  font-family: var(--font-mono, ui-monospace, monospace);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(2, 132, 199, 0.92);
  margin-bottom: 4px;
}

.skh-buy-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 14px;
  padding: 0 6px;
}
.skh-buy-trust span {
  font-size: 12px;
  color: rgba(100, 116, 139, 0.92);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.skh-buy-trust i { color: #0EA5E9; font-size: 11px; }

/* Account chip */
.skh-buy-account {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 14px 0;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(16, 185, 129, 0.07);
  border: 1px solid rgba(16, 185, 129, 0.25);
}
.skh-buy-account img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
}
.skh-buy-account > i.fa-circle-check { color: #10B981; margin-left: auto; }
.skh-buy-account > i.fa-user-lock { color: #B45309; font-size: 16px; }
.skh-buy-account.is-signed-out {
  background: rgba(245, 158, 11, 0.08);
  border-color: rgba(245, 158, 11, 0.3);
}
.skh-buy-account-meta { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.skh-buy-account-meta small { font-size: 10.5px; color: rgba(100, 116, 139, 0.9); }
.skh-buy-account-meta strong { font-size: 13.5px; color: rgba(15, 23, 42, 0.95); }
.skh-buy-signin {
  font-size: 12.5px;
  font-weight: 700;
  color: #B45309;
  text-decoration: none;
  white-space: nowrap;
}
.skh-buy-signin:hover { text-decoration: underline; }

.skh-buy-discount-note {
  margin: 0 0 12px;
  padding: 10px 14px;
  border-radius: 12px;
  background: linear-gradient(90deg, rgba(34, 189, 255, 0.1), rgba(139, 92, 246, 0.08));
  border: 1px solid rgba(34, 189, 255, 0.25);
  font-size: 12.5px;
  color: rgba(51, 65, 85, 0.95);
}
.skh-buy-discount-note.hidden { display: none; }

/* First-order discount opt-in toggle */
.skh-buy-ftc {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 12px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: rgba(255, 255, 255, 0.7);
  transition: border-color 0.18s ease, background 0.18s ease;
}
.skh-buy-ftc.hidden { display: none; }
.skh-buy-ftc.is-on {
  border-color: rgba(34, 189, 255, 0.45);
  background: linear-gradient(90deg, rgba(34, 189, 255, 0.12), rgba(139, 92, 246, 0.09));
}
.skh-ftc-main { display: flex; align-items: center; gap: 11px; flex: 1; min-width: 0; }
.skh-ftc-gift { font-size: 20px; line-height: 1; filter: saturate(1.1); }
.skh-ftc-text { display: flex; flex-direction: column; min-width: 0; }
.skh-ftc-text strong { font-size: 13.5px; color: rgba(15, 23, 42, 0.95); }
.skh-ftc-text small { font-size: 11.5px; color: rgba(100, 116, 139, 0.95); margin-top: 1px; }
.skh-buy-ftc.is-on .skh-ftc-text strong { color: #0369A1; }

/* iOS-style switch */
.skh-ftc-switch {
  flex: 0 0 auto;
  width: 46px;
  height: 27px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.18);
  cursor: pointer;
  position: relative;
  transition: background 0.2s ease;
}
.skh-ftc-switch.is-on { background: linear-gradient(180deg, #22BDFF, #0AA1E7); }
.skh-ftc-knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 21px;
  height: 21px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.3);
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.skh-ftc-switch.is-on .skh-ftc-knob { transform: translateX(19px); }
.skh-ftc-switch:focus-visible { outline: 2px solid rgba(34, 189, 255, 0.6); outline-offset: 2px; }

.skh-buy-pay-btn {
  width: 100%;
  justify-content: center;
}
.skh-buy-fineprint {
  margin: 12px 0 0;
  font-size: 11.5px;
  line-height: 1.5;
  color: rgba(100, 116, 139, 0.9);
}

/* Empty state */
.skh-buy-empty {
  max-width: 480px;
  margin: 48px auto 0;
  text-align: center;
  padding: 40px 28px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(15, 23, 42, 0.08);
}
.skh-buy-empty.hidden { display: none; }
.skh-buy-empty i {
  font-size: 30px;
  color: rgba(56, 189, 248, 0.8);
  margin-bottom: 12px;
}
.skh-buy-empty strong {
  display: block;
  font-family: var(--font-display, sans-serif);
  font-size: 19px;
  color: rgba(15, 23, 42, 0.95);
  margin-bottom: 4px;
}
.skh-buy-empty p { font-size: 13.5px; color: rgba(100, 116, 139, 0.92); margin: 0 0 18px; }
.skh-buy-empty .skh-tb-next { display: inline-flex; text-decoration: none; }

/* Builder responsive */
@media (max-width: 640px) {
  .skh-tb-head, .skh-tb-body { padding-left: 18px; padding-right: 18px; }
  .skh-tb-billing, .skh-tb-foot-row { padding-left: 18px; padding-right: 18px; }
  .skh-shop { padding-top: 104px; }
}
