/* Best Shoe Bot — product screen carousel + How it works page (2026-12-04). Loaded after polish.css. */

/* ---------- Screen carousel (product hero) ---------- */
.bsb-shots { position: relative; width: 100%; }
.bsb-shots-stage {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0b0c0e;
}
.bsb-shots-stage .bsb-shot {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transform: scale(1.012);
  transition: opacity .55s ease, transform .8s ease;
  pointer-events: none;
}
.bsb-shots-stage .bsb-shot.is-active { opacity: 1; transform: none; pointer-events: auto; }
.bsb-shots-stage img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.bsb-shots-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-top: 1px solid rgba(255, 255, 255, .07);
  background: rgba(14, 15, 18, .92);
}
.bsb-shots-tabs { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.bsb-shots-tab {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, .1);
  background: transparent;
  color: #a1a6b3;
  font: 600 12px/1 "Inter", system-ui, sans-serif;
  letter-spacing: .01em;
  padding: 7px 11px;
  border-radius: 999px;
  cursor: pointer;
  transition: color .2s, border-color .2s, background .2s;
}
.bsb-shots-tab:hover { color: #fff; border-color: rgba(255, 255, 255, .22); }
.bsb-shots-tab[aria-selected="true"] { color: #0b0c0e; background: #c2e755; border-color: #c2e755; }
.bsb-shots-tab:focus-visible, .bsb-shots-arrow:focus-visible { outline: 2px solid #c2e755; outline-offset: 2px; }
.bsb-shots-arrow {
  appearance: none;
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .12);
  background: transparent;
  cursor: pointer;
  position: relative;
  transition: border-color .2s, background .2s;
}
.bsb-shots-arrow::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  border-top: 2px solid #e6e8ee;
  border-right: 2px solid #e6e8ee;
  transform: translate(-65%, -50%) rotate(45deg);
}
.bsb-shots-arrow.prev::before { transform: translate(-35%, -50%) rotate(-135deg); }
.bsb-shots-arrow:hover { border-color: #c2e755; background: rgba(194, 231, 85, .08); }
@media (max-width: 640px) {
  .bsb-shots-bar { padding: 8px; }
  .bsb-shots-tab { padding: 6px 9px; font-size: 11px; }
  .bsb-shots-arrow { width: 28px; height: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .bsb-shots-stage .bsb-shot { transition: none; transform: none; }
}

/* ---------- How it works page ---------- */
.hiw { display: grid; gap: clamp(56px, 8vw, 104px); }
.hiw-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(64px, 9vw, 120px); }
.hiw-step {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  scroll-margin-top: 110px;
}
.hiw-step:nth-child(even) .hiw-copy { order: 2; }
.hiw-num {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 700 13px/1 "JetBrains Mono", ui-monospace, monospace;
  letter-spacing: .08em;
  color: #c2e755;
  text-transform: uppercase;
}
.hiw-num::after { content: ""; width: 36px; height: 1px; background: rgba(194, 231, 85, .5); }
.hiw-copy h2 {
  margin: 14px 0;
  font: 700 clamp(26px, 3vw, 38px)/1.08 "Inter Tight", "Inter", sans-serif;
  letter-spacing: -.02em;
  color: #fff;
}
.hiw-copy p { margin: 0 0 18px; color: #b8bcc6; font-size: 17px; line-height: 1.6; }
.hiw-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.hiw-points li { position: relative; padding-left: 26px; color: #d7dae1; font-size: 15px; line-height: 1.5; }
.hiw-points li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .38em;
  width: 12px;
  height: 7px;
  border-left: 2px solid #c2e755;
  border-bottom: 2px solid #c2e755;
  transform: rotate(-45deg);
}
.hiw-optional {
  display: inline-block;
  margin-left: 8px;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .14);
  color: #a1a6b3;
  font: 600 11px/1.2 "Inter", sans-serif;
  letter-spacing: .04em;
  text-transform: uppercase;
  vertical-align: middle;
}
.hiw-shot {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .09);
  background: #0b0c0e;
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .85), 0 0 0 1px rgba(194, 231, 85, .04);
}
.hiw-shot-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.hiw-shot-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .14); }
.hiw-shot-bar span { margin-left: 8px; color: #8b909c; font: 500 12px/1 "JetBrains Mono", monospace; }
.hiw-shot img { display: block; width: 100%; height: auto; }
.hiw-shot figcaption { padding: 10px 14px; border-top: 1px solid rgba(255, 255, 255, .07); color: #8b909c; font-size: 13px; }
.hiw-toc { display: flex; flex-wrap: wrap; gap: 8px; }
.hiw-toc a {
  padding: 8px 13px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .1);
  color: #d7dae1;
  font: 600 13px/1 "Inter", sans-serif;
  text-decoration: none;
  transition: border-color .2s, color .2s;
}
.hiw-toc a:hover { border-color: #c2e755; color: #fff; }
.hiw-toc a span { color: #c2e755; margin-right: 6px; font-family: "JetBrains Mono", monospace; }
.hiw-ready {
  border-radius: 20px;
  border: 1px solid rgba(194, 231, 85, .22);
  background: linear-gradient(180deg, rgba(194, 231, 85, .06), rgba(194, 231, 85, 0) 70%), #0f1013;
  padding: clamp(26px, 4vw, 44px);
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(20px, 4vw, 56px);
}
.hiw-ready h2 { margin: 0 0 10px; font: 700 clamp(24px, 2.6vw, 32px)/1.1 "Inter Tight", sans-serif; color: #fff; letter-spacing: -.02em; }
.hiw-ready > div > p { margin: 0; color: #b8bcc6; line-height: 1.6; }
.hiw-ready .hiw-points { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 28px; align-content: center; }
@media (max-width: 900px) {
  .hiw-step, .hiw-ready { grid-template-columns: 1fr; }
  .hiw-step:nth-child(even) .hiw-copy { order: 0; }
  .hiw-ready .hiw-points { grid-template-columns: 1fr; }
}

/* The theme styles every <button>: keep the carousel controls compact. */
.bsb-shots button.bsb-shots-tab {
  font-size: 12px !important;
  line-height: 1 !important;
  padding: 7px 11px !important;
  min-height: 0 !important;
  height: auto !important;
  width: auto !important;
  letter-spacing: .01em !important;
  box-shadow: none !important;
}
.bsb-shots button.bsb-shots-arrow { padding: 0 !important; min-height: 0 !important; box-shadow: none !important; }
@media (max-width: 640px) {
  .bsb-shots button.bsb-shots-tab { font-size: 11px !important; padding: 6px 8px !important; }
  .bsb-shots-tabs { gap: 4px; flex-wrap: nowrap; }
}
@media (max-width: 380px) {
  .bsb-shots-tabs { flex-wrap: wrap; }
}
@media (max-width: 640px) {
  .bsb-shots button.bsb-shots-arrow { display: none !important; }
  .bsb-shots-bar { justify-content: center; }
}
