/* 888Devouv Affiliator Hub: Dark Editorial Sportstyle system (R1-R6 + RL1-RL3).
   Shared 1:1 between affiliator.888devouv.com and Dashboard888 (#affiliator). */

@font-face {
  font-family: "Inter";
  src: url("/shoes/vendor/fonts/Inter-Variable.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}

.af8-page,
.af8-root,
dialog.af8-dialog {
  --af-canvas: #070709;
  --af-surface: #121318;
  --af-raised: #1b1d25;
  --af-inset: #0b0c10;
  --af-line: rgba(232, 235, 242, 0.13);
  --af-line-mid: rgba(232, 235, 242, 0.22);
  --af-line-strong: #6c7486;
  --af-text: #f5f6f8;
  --af-secondary: #c5cad6;
  --af-muted: #9ca3b2;
  --af-crimson: #c8102e;
  --af-crimson-text: #ff6b81;
  --af-crimson-wash: rgba(200, 16, 46, 0.18);
  --af-mint: #8ef0c5;
  --af-mint-bg: #0f241c;
  --af-mint-border: #38966f;
  --af-ice: #8fd0ff;
  --af-ice-bg: #102030;
  --af-ice-border: #3a75a4;
  --af-amber: #f7cb77;
  --af-amber-bg: #291f0e;
  --af-amber-border: #8f6b29;
  --af-radius-card: 18px;
  --af-radius-inner: 12px;
  --af-pill: 999px;
  --af-font: "Inter", "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--af-text);
  font-family: var(--af-font);
  line-height: 1.55;
}

.af8-page {
  margin: 0;
  background-color: var(--af-canvas);
  color-scheme: dark;
  -webkit-text-size-adjust: 100%;
}

.af8-root *,
dialog.af8-dialog * {
  box-sizing: border-box;
}

.af8-root [hidden],
dialog.af8-dialog [hidden] {
  display: none !important;
}

.af8-root :is(a[href], button, summary, label[for]),
dialog.af8-dialog :is(a[href], button, summary) {
  cursor: pointer;
}

.af8-root input[type="search"] {
  cursor: text;
}

.af8-root :disabled,
dialog.af8-dialog :disabled {
  cursor: not-allowed;
}

.af8-root :is(a, button, summary, input):focus-visible,
dialog.af8-dialog :is(a, button, summary):focus-visible {
  outline: 2px solid var(--af-ice);
  outline-offset: 3px;
}

.af8-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.af8-skip {
  position: absolute;
  left: 16px;
  top: -120px;
  z-index: 60;
  padding: 10px 18px;
  border-radius: var(--af-pill);
  background: var(--af-crimson);
  color: #ffffff;
  font-weight: 680;
  text-decoration: none;
}

.af8-skip:focus {
  top: 12px;
}

.af8-shell {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 24px 60px;
}

.af8-root.is-embedded .af8-shell {
  max-width: 100%;
  padding: 0 0 36px;
}

/* Sticky Top Navigation & Scroll-Spy Bar */
.af8-topbar {
  position: sticky;
  top: 0;
  z-index: 55;
  background: rgba(7, 7, 9, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--af-line);
  margin: 0 -24px 28px;
  padding: 10px 24px;
}

.af8-root.is-embedded .af8-topbar {
  position: sticky;
  top: 76px;
  z-index: 48;
  margin: 0 0 22px;
  padding: 10px 16px;
  border: 1px solid var(--af-line-mid);
  border-radius: var(--af-radius-card);
  background: rgba(18, 19, 24, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.af8-topbar-inner {
  max-width: 1360px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.af8-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--af-text);
  text-decoration: none;
  min-height: 44px;
  flex-shrink: 0;
}

.af8-brand-logo {
  height: 24px;
  width: auto;
  display: block;
  object-fit: contain;
}

.af8-brand-sep {
  width: 1px;
  height: 16px;
  background: var(--af-line-mid);
}

.af8-brand-sub {
  font-size: 13px;
  font-weight: 780;
  letter-spacing: 0.06em;
  color: var(--af-text);
}

.af8-jump {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  max-width: 100%;
  padding: 5px;
  border-radius: var(--af-pill);
  background: var(--af-inset);
  border: 1px solid var(--af-line);
  scrollbar-width: none;
}

.af8-jump a:focus-visible {
  outline-offset: -2px;
}

.af8-jump::-webkit-scrollbar {
  display: none;
}

.af8-jump a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 6px 14px;
  border-radius: var(--af-pill);
  border: 1px solid transparent;
  color: var(--af-secondary);
  text-decoration: none;
  font-size: 13px;
  font-weight: 650;
  white-space: nowrap;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.af8-jump a:hover {
  color: var(--af-text);
  background: rgba(255, 255, 255, 0.05);
}

.af8-jump a[aria-current="true"] {
  background: linear-gradient(180deg, #dc1b38 0%, #ad0c25 100%);
  border-color: #f03a56;
  color: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.af8-top-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

/* Section Layout & Scroll Offset */
.af8-section {
  scroll-margin-top: 96px;
  margin-bottom: 48px;
}

.af8-root.is-embedded .af8-section {
  scroll-margin-top: 152px;
}

.af8-section:last-child {
  margin-bottom: 0;
}

.af8-sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.af8-index-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 720;
  color: var(--af-crimson-text);
  font-variant-numeric: tabular-nums;
  margin-bottom: 6px;
}

.af8-index-kicker::before {
  content: "";
  width: 14px;
  height: 2px;
  background: var(--af-crimson-text);
  border-radius: 2px;
}

.af8-sec-title {
  margin: 0;
  font-size: clamp(22px, 2.25vw, 29px);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.025em;
  color: var(--af-text);
}

.af8-sec-lead {
  margin: 8px 0 0;
  max-width: 66ch;
  color: var(--af-secondary);
  font-size: 15px;
}

/* Unified Dimensional Pill Button System (R1-A: all buttons share pill geometry & balanced sizing) */
.af8-btn,
.af8-close-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 10px 20px;
  border-radius: var(--af-pill);
  border: 1px solid var(--af-line-strong);
  background: linear-gradient(180deg, #252834 0%, #171922 100%);
  color: var(--af-text);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 4px 14px rgba(0, 0, 0, 0.22);
  font-family: inherit;
  font-size: 14px;
  font-weight: 680;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  touch-action: manipulation;
  transition: background 160ms ease, border-color 160ms ease, transform 140ms ease, box-shadow 160ms ease;
}

.af8-btn:hover:not(:disabled),
.af8-close-btn:hover:not(:disabled) {
  background: linear-gradient(180deg, #2e3240 0%, #1d202b 100%);
  border-color: #98a1b5;
  transform: translateY(-1px);
}

.af8-btn:active:not(:disabled),
.af8-close-btn:active:not(:disabled) {
  transform: translateY(0);
}

.af8-btn:disabled,
.af8-close-btn:disabled {
  opacity: 0.55;
  transform: none;
}

.af8-btn-primary {
  background: linear-gradient(180deg, #dc1b38 0%, #ad0c25 100%);
  border-color: #f03a56;
  color: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.34), 0 8px 22px rgba(200, 16, 46, 0.3);
}

.af8-btn-primary:hover:not(:disabled) {
  background: linear-gradient(180deg, #ea2240 0%, #bd0f2a 100%);
  border-color: #ff6b81;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.42), 0 10px 26px rgba(200, 16, 46, 0.38);
}

.af8-btn-wa {
  background: linear-gradient(180deg, #173d2f 0%, #0e261d 100%);
  border-color: #3ca177;
  color: var(--af-mint);
  box-shadow: inset 0 1px 0 rgba(142, 240, 197, 0.24), 0 6px 18px rgba(0, 0, 0, 0.26);
}

.af8-btn-wa:hover:not(:disabled) {
  background: linear-gradient(180deg, #1d4b3a 0%, #123125 100%);
  border-color: #65cfa2;
}

.af8-btn-sm {
  min-height: 40px;
  padding: 8px 16px;
  font-size: 13px;
}

.af8-btn svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

/* Quiet status line for pending external links (not disguised as a mismatched button) */
.af8-note-status {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 560;
  color: var(--af-amber);
}

.af8-note-status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--af-amber);
  flex-shrink: 0;
}

/* Section 1: Asymmetric Hero + True 4:5 Cover Frame (D3-A) + 4-Step Runway */
.af8-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.38fr) minmax(260px, 340px);
  gap: 28px;
  align-items: center;
  background: var(--af-surface);
  border: 1px solid var(--af-line);
  border-radius: var(--af-radius-card);
  padding: 28px;
}

.af8-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  min-width: 0;
}

.af8-hero-heading {
  margin: 0;
  font-size: clamp(26px, 2.9vw, 37px);
  font-weight: 820;
  line-height: 1.16;
  letter-spacing: -0.03em;
  color: var(--af-text);
}

.af8-hero-desc {
  margin: 14px 0 0;
  font-size: 15.5px;
  color: var(--af-secondary);
  max-width: 58ch;
}

.af8-hero-action-stack {
  display: grid;
  gap: 12px;
}

.af8-cta-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: 644px;
}

.af8-cta-pair .af8-btn {
  width: 100%;
  padding: 10px 16px;
  white-space: nowrap;
}

.af8-hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding-top: 16px;
  border-top: 1px solid var(--af-line);
  margin: 0;
  list-style: none;
}

.af8-hero-facts li {
  font-size: 13.5px;
  color: var(--af-secondary);
}

.af8-hero-facts strong {
  color: var(--af-text);
  font-variant-numeric: tabular-nums;
}

.af8-hero-showcase {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 340px;
  justify-self: end;
  background: var(--af-inset);
  border: 1px solid var(--af-line);
  border-radius: var(--af-radius-inner);
  overflow: hidden;
}

.af8-hero-media {
  appearance: none;
  border: 0;
  padding: 0;
  margin: 0;
  position: relative;
  aspect-ratio: 4 / 5;
  width: 100%;
  background: #0d0e12;
  display: block;
  overflow: hidden;
  cursor: pointer;
}

.af8-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 220ms ease;
}

.af8-hero-media:hover img {
  transform: scale(1.018);
}

.af8-hero-caption {
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  border-top: 1px solid var(--af-line);
  margin-top: auto;
}

.af8-hero-caption-meta {
  min-width: 0;
}

.af8-hero-caption-meta strong {
  display: block;
  font-size: 14px;
  color: var(--af-text);
}

.af8-hero-caption-meta span {
  font-size: 12.5px;
  color: var(--af-muted);
}

/* 4-Step Runway Strip */
.af8-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  align-items: stretch;
}

.af8-step {
  background: var(--af-surface);
  border: 1px solid var(--af-line);
  border-radius: var(--af-radius-card);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
}

.af8-step-num {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--af-crimson-text);
  font-variant-numeric: tabular-nums;
  margin-bottom: 6px;
}

.af8-step h3 {
  margin: 0 0 6px;
  font-size: 15.5px;
  font-weight: 740;
  color: var(--af-text);
}

.af8-step p {
  margin: 0;
  font-size: 13.5px;
  color: var(--af-secondary);
}

/* Section 2: Product Spec Sheet & Anti-Misclaim Ledger */
.af8-product-split {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: 20px;
  align-items: stretch;
}

.af8-panel {
  background: var(--af-surface);
  border: 1px solid var(--af-line);
  border-radius: var(--af-radius-card);
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.af8-panel-title {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 760;
  color: var(--af-text);
}

.af8-panel-sub {
  margin: 0 0 18px;
  font-size: 14px;
  color: var(--af-secondary);
}

.af8-spec-list {
  margin: 0 0 20px;
  display: grid;
  gap: 10px;
  flex: 1;
}

.af8-spec-row {
  padding: 12px 14px;
  border-radius: var(--af-radius-inner);
  background: var(--af-inset);
  border: 1px solid var(--af-line);
}

.af8-spec-row dt {
  font-size: 12px;
  font-weight: 660;
  color: var(--af-muted);
  margin-bottom: 2px;
}

.af8-spec-row dd {
  margin: 0;
}

.af8-spec-row dd strong {
  display: block;
  font-size: 15px;
  color: var(--af-text);
  margin-bottom: 2px;
}

.af8-spec-row dd span {
  font-size: 13.5px;
  color: var(--af-secondary);
}

.af8-rules-stack {
  display: grid;
  gap: 10px;
}

/* High-specificity reset so Dashboard888 legacy #contentgrowth details/summary never leak */
.af8-root details.af8-rule-item {
  background: var(--af-inset);
  border: 1px solid var(--af-line);
  border-radius: var(--af-radius-inner);
  padding: 12px 14px;
  margin: 0;
}

.af8-root details.af8-rule-item[open] {
  border-color: var(--af-line-strong);
}

.af8-root details.af8-rule-item > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 14px;
  font-weight: 670;
  line-height: 1.4;
  color: var(--af-text);
  list-style: none;
  min-height: 36px;
}

.af8-root details.af8-rule-item > summary::-webkit-details-marker {
  display: none;
}

.af8-rule-head {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.af8-caret {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--af-muted);
  transition: transform 160ms ease, color 160ms ease;
}

.af8-root details[open] > summary .af8-caret {
  transform: rotate(180deg);
  color: var(--af-text);
}

.af8-root details.af8-rule-item > p {
  margin: 10px 0 0;
  padding-top: 10px;
  border-top: 1px solid var(--af-line);
  font-size: 13.5px;
  color: var(--af-secondary);
}

.af8-tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: var(--af-pill);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  border: 1px solid var(--af-line-strong);
  background: var(--af-raised);
  color: var(--af-text);
  white-space: nowrap;
  flex-shrink: 0;
}

.af8-tag-wajib {
  background: var(--af-mint-bg);
  border-color: var(--af-mint-border);
  color: var(--af-mint);
}

.af8-tag-hindari {
  background: var(--af-amber-bg);
  border-color: var(--af-amber-border);
  color: var(--af-amber);
}

.af8-tag-bebas {
  background: var(--af-ice-bg);
  border-color: var(--af-ice-border);
  color: var(--af-ice);
}

/* Section 3: Raw Video Banner + Swipeable 4:5 Shoe Catalog */
.af8-raw-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 20px 24px;
  margin-bottom: 18px;
  border-radius: var(--af-radius-card);
  background: var(--af-surface);
  border: 1px solid var(--af-line-mid);
}

.af8-raw-copy {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.af8-raw-copy h3 {
  margin: 0;
  font-size: 16.5px;
  font-weight: 760;
  color: var(--af-text);
}

.af8-raw-copy p {
  margin: 0;
  font-size: 14px;
  color: var(--af-secondary);
  max-width: 64ch;
}

.af8-catalog-toolbar {
  background: var(--af-surface);
  border: 1px solid var(--af-line);
  border-radius: var(--af-radius-card);
  padding: 18px 20px;
  margin-bottom: 18px;
  display: grid;
  gap: 14px;
}

.af8-toolbar-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.af8-cat-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.af8-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 42px;
  padding: 7px 15px;
  border-radius: var(--af-pill);
  border: 1px solid var(--af-line-strong);
  background: var(--af-inset);
  color: var(--af-secondary);
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 660;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  touch-action: manipulation;
  transition: background 150ms ease, color 150ms ease, border-color 150ms ease;
}

.af8-chip:hover {
  background: var(--af-raised);
  color: var(--af-text);
  border-color: #98a1b5;
}

.af8-chip[aria-pressed="true"] {
  background: linear-gradient(180deg, #dc1b38 0%, #ad0c25 100%);
  border-color: #f03a56;
  color: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.af8-search-field {
  flex: 1 1 260px;
  max-width: 380px;
}

.af8-field-label {
  display: block;
  font-size: 12.5px;
  font-weight: 660;
  color: var(--af-secondary);
  margin-bottom: 6px;
}

.af8-input {
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
  border-radius: var(--af-radius-inner);
  border: 1px solid var(--af-line-strong);
  background: var(--af-inset);
  color: var(--af-text);
  font-family: inherit;
  font-size: 14.5px;
  transition: border-color 150ms ease, background-color 150ms ease;
}

.af8-input:hover {
  border-color: #98a1b5;
  background: #101218;
}

.af8-input::placeholder {
  color: var(--af-muted);
}

.af8-brand-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 4px 8px;
  scrollbar-width: thin;
}

.af8-brand-strip .af8-chip {
  min-height: 38px;
  padding: 6px 13px;
  font-size: 13px;
}

.af8-status-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 13.5px;
  color: var(--af-secondary);
  font-variant-numeric: tabular-nums;
}

/* Loading, Empty, and Error States */
.af8-state-box {
  background: var(--af-surface);
  border: 1px solid var(--af-line-strong);
  border-radius: var(--af-radius-card);
  padding: 32px 24px;
  text-align: center;
}

.af8-state-box h3 {
  margin: 0 0 8px;
  font-size: 18px;
  color: var(--af-text);
}

.af8-state-box p {
  margin: 0 auto 18px;
  max-width: 50ch;
  font-size: 14.5px;
  color: var(--af-secondary);
}

/* Swipeable 4:5 Slide Stage + Clean [ <  1 / 10  > ] Stepper Bar Below Photo (R4-A, R5-A, RG1-A, RG4-A) */
.af8-stage-block {
  display: flex;
  flex-direction: column;
  background: var(--af-inset);
  border-bottom: 1px solid var(--af-line);
}

.af8-stage-modal {
  background: transparent;
  border-bottom: 0;
}

.af8-carousel-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  touch-action: pan-x pan-y;
  scrollbar-width: none;
  background: #08090c;
  user-select: none;
}

.af8-stage-card .af8-carousel-track {
  cursor: pointer;
}

.af8-carousel-track::-webkit-scrollbar {
  display: none;
}

@media (prefers-reduced-motion: no-preference) {
  .af8-carousel-track {
    scroll-behavior: smooth;
  }
}

.af8-carousel-slide {
  flex: 0 0 100%;
  scroll-snap-align: center;
  aspect-ratio: 4 / 5;
  display: grid;
  place-items: center;
  overflow: hidden;
  position: relative;
}

.af8-carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  transition: transform 220ms ease;
}

.af8-stage-card .af8-carousel-track:hover .af8-carousel-slide img {
  transform: scale(1.018);
}

.af8-stage-modal .af8-carousel-track {
  border-radius: var(--af-radius-inner);
  border: 1px solid var(--af-line);
}

.af8-stage-modal .af8-carousel-slide img {
  object-fit: contain;
}

.af8-slide-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 12px 14px;
  background: #0e1016;
  border-top: 1px solid var(--af-line);
}

.af8-stage-modal .af8-slide-bar {
  background: transparent;
  border-top: 0;
  padding: 14px 0 6px;
}

.af8-step-btn {
  width: 44px;
  height: 38px;
  border-radius: var(--af-pill);
  border: 1px solid var(--af-line-strong);
  background: linear-gradient(180deg, #252834 0%, #171922 100%);
  color: var(--af-text);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
  display: inline-grid;
  place-items: center;
  padding: 0;
  touch-action: manipulation;
  transition: background 150ms ease, border-color 150ms ease, color 150ms ease;
}

.af8-step-btn:hover:not(:disabled) {
  background: linear-gradient(180deg, #dc1b38 0%, #ad0c25 100%);
  border-color: #f03a56;
  color: #ffffff;
}

.af8-step-btn:disabled {
  opacity: 0.35;
}

.af8-step-btn svg {
  width: 18px;
  height: 18px;
}

.af8-step-indicator {
  min-width: 64px;
  text-align: center;
  font-size: 13.5px;
  font-weight: 760;
  color: var(--af-text);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

/* 4:5 Shoe Catalog Grid */
.af8-shoe-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.af8-shoe-card {
  display: flex;
  flex-direction: column;
  background: var(--af-surface);
  border: 1px solid var(--af-line);
  border-radius: var(--af-radius-card);
  overflow: hidden;
  min-width: 0;
  transition: border-color 160ms ease;
}

.af8-shoe-card:hover {
  border-color: var(--af-line-strong);
}

.af8-shoe-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.af8-shoe-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.af8-shoe-title {
  margin: 0;
  font-size: 16px;
  font-weight: 760;
  line-height: 1.3;
  color: var(--af-text);
  overflow-wrap: anywhere;
}

.af8-shoe-title-btn {
  appearance: none;
  background: transparent;
  border: 0;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition: color 150ms ease;
}

.af8-shoe-title-btn:hover {
  color: var(--af-crimson-text);
}

.af8-shoe-size {
  margin: 0;
  font-size: 12.5px;
  color: var(--af-muted);
  font-variant-numeric: tabular-nums;
}

.af8-shoe-actions {
  margin-top: auto;
  padding-top: 8px;
  display: grid;
  gap: 12px;
}

.af8-shoe-actions .af8-btn {
  width: 100%;
  min-height: 44px;
  padding: 9px 14px;
  font-size: 13px;
}

/* Native Modal <dialog> Carousel Studio */
dialog.af8-dialog:modal {
  overscroll-behavior: contain;
}

dialog.af8-dialog::backdrop {
  overflow: hidden;
  overscroll-behavior: contain;
  background: rgba(4, 4, 6, 0.84);
  backdrop-filter: blur(4px);
}

dialog.af8-dialog {
  width: min(1040px, calc(100vw - 24px));
  max-height: calc(100dvh - 24px);
  margin: auto;
  padding: 0;
  border: 1px solid var(--af-line-strong);
  border-radius: var(--af-radius-card);
  background: var(--af-surface);
  color: var(--af-text);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.68);
}

dialog.af8-dialog[open] {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(310px, 0.96fr);
}

.af8-studio-stage {
  background: var(--af-inset);
  border-right: 1px solid var(--af-line);
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.af8-studio-stage-inner {
  width: 100%;
  max-width: 450px;
  margin: 0 auto;
}

.af8-studio-info {
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow-y: auto;
  min-width: 0;
}

.af8-studio-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.af8-studio-title {
  margin: 6px 0 0;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--af-text);
}

.af8-dl-box {
  background: var(--af8-inset, var(--af-inset));
  border: 1px solid var(--af-line);
  border-radius: var(--af-radius-inner);
  padding: 18px;
  display: grid;
  gap: 12px;
}

.af8-dl-box .af8-btn {
  width: 100%;
}

.af8-dl-meta {
  margin: 0;
  font-size: 13px;
  color: var(--af-secondary);
  font-variant-numeric: tabular-nums;
}

.af8-dl-feedback {
  margin: 0;
  min-height: 18px;
  font-size: 13px;
  font-weight: 650;
  color: var(--af-mint);
}

.af8-pair-box {
  background: var(--af-inset);
  border: 1px solid var(--af-line);
  border-radius: var(--af-radius-inner);
  padding: 16px;
  display: grid;
  gap: 10px;
}

.af8-pair-box h3 {
  margin: 0;
  font-size: 13.5px;
  font-weight: 740;
  color: var(--af-crimson-text);
}

.af8-pair-hook {
  margin: 0;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--af-text);
}

.af8-pair-caption {
  margin: 0;
  font-size: 13px;
  color: var(--af-secondary);
  white-space: pre-line;
}

.af8-pair-box .af8-btn {
  width: 100%;
}

/* Section 4: Custom Dark Dropdown (R3-A) + Equal-Height Clean Hook Cards (R6-A) */
.af8-guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 20px;
  align-items: stretch;
}

.af8-guide-card {
  background: var(--af-surface);
  border: 1px solid var(--af-line);
  border-radius: var(--af-radius-card);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.af8-guide-card h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 760;
  color: var(--af-text);
}

.af8-guide-card p {
  margin: 0;
  font-size: 13.5px;
  color: var(--af-secondary);
}

.af8-guide-card ol {
  margin: 4px 0 0;
  padding-left: 18px;
  display: grid;
  gap: 6px;
  font-size: 13.5px;
  color: var(--af-secondary);
}

.af8-hook-controls {
  background: var(--af-surface);
  border: 1px solid var(--af-line);
  border-radius: var(--af-radius-card);
  padding: 18px 20px;
  margin-bottom: 16px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: end;
}

/* Custom Dark Dropdown (zero OS light-grey arrow box) */
.af8-dd {
  position: relative;
}

.af8-dd-btn {
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
  border-radius: var(--af-radius-inner);
  border: 1px solid var(--af-line-strong);
  background: var(--af-inset);
  color: var(--af-text);
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 560;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  text-align: left;
  transition: border-color 150ms ease, background-color 150ms ease, box-shadow 150ms ease;
}

.af8-dd-btn:hover {
  background: #131620;
  border-color: #9ba3b5;
}

.af8-dd-btn[aria-expanded="true"] {
  background: #151824;
  border-color: var(--af-crimson-text);
  box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.18);
}

.af8-dd-val {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.af8-dd-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 30;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: #161822;
  border: 1px solid #7f889c;
  border-radius: var(--af-radius-inner);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.68);
  display: grid;
  gap: 3px;
}

.af8-dd-opt {
  width: 100%;
  min-height: 40px;
  padding: 8px 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--af-secondary);
  font-family: inherit;
  font-size: 14px;
  font-weight: 560;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  text-align: left;
  transition: background-color 120ms ease, color 120ms ease;
}

.af8-dd-opt:hover {
  background: #232736;
  color: #ffffff;
}

.af8-dd-opt[aria-selected="true"] {
  background: var(--af-crimson-wash);
  color: #ffffff;
  font-weight: 700;
}

.af8-dd-check {
  width: 16px;
  height: 16px;
  color: var(--af-crimson-text);
  flex-shrink: 0;
}

/* Equal-height clean Hook Cards without nested box-inside-box clutter (R6-A) */
.af8-hook-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.af8-hook-card {
  background: var(--af-surface);
  border: 1px solid var(--af-line);
  border-radius: var(--af-radius-card);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  transition: border-color 160ms ease;
}

.af8-hook-card:hover {
  border-color: var(--af-line-mid);
}

.af8-hook-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.af8-hook-title {
  margin: 0;
  font-size: 13.5px;
  font-weight: 660;
  color: var(--af-muted);
  font-variant-numeric: tabular-nums;
}

.af8-hook-quote {
  margin: 0;
  font-size: 17px;
  font-weight: 750;
  line-height: 1.4;
  color: var(--af-text);
  flex: 1;
}

.af8-root details.af8-hook-details {
  margin: 6px 0 2px;
  padding: 14px 0 6px;
  border: 0;
  border-top: 1px solid var(--af-line);
  border-radius: 0;
  background: transparent;
}

.af8-root details.af8-hook-details > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 670;
  line-height: 1.4;
  color: var(--af-ice);
  list-style: none;
  min-height: 36px;
}

.af8-root details.af8-hook-details > summary::-webkit-details-marker {
  display: none;
}

.af8-root details.af8-hook-details > summary:hover {
  color: #b8e2ff;
}

.af8-hook-details-body {
  margin-top: 10px;
  padding: 14px;
  background: var(--af-inset);
  border: 1px solid var(--af-line);
  border-radius: var(--af-radius-inner);
  display: grid;
  gap: 10px;
  font-size: 13.5px;
  color: var(--af-secondary);
}

.af8-copy-block {
  margin: 0;
  padding: 12px;
  background: var(--af-surface);
  border: 1px solid var(--af-line);
  border-radius: 8px;
  color: var(--af-text);
  white-space: pre-line;
}

.af8-hook-actions {
  margin-top: auto;
  padding-top: 8px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.af8-hook-actions .af8-btn {
  width: 100%;
  padding: 10px 14px;
  font-size: 13.5px;
}

/* Section 5: Official Channels & Contacts */
.af8-channels-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.af8-channel-card {
  background: var(--af-surface);
  border: 1px solid var(--af-line);
  border-radius: var(--af-radius-card);
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}

.af8-channel-card h3 {
  margin: 8px 0 6px;
  font-size: 17px;
  font-weight: 760;
  color: var(--af-text);
}

.af8-channel-card p {
  margin: 0;
  font-size: 13.5px;
  color: var(--af-secondary);
}

.af8-channel-card .af8-btn {
  width: 100%;
}

.af8-footer {
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px solid var(--af-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--af-muted);
}

.af8-footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--af-secondary);
  font-weight: 600;
}

.af8-footer-brand img {
  height: 16px;
  width: auto;
  display: block;
}

.af8-toast {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%) translateY(16px);
  z-index: 80;
  padding: 10px 18px;
  border-radius: var(--af-pill);
  background: #f5f6f8;
  color: #070709;
  font-size: 13.5px;
  font-weight: 700;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.af8-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Multi-band Responsive Reflow */
@media (max-width: 1160px) {
  .af8-shoe-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .af8-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .af8-channels-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .af8-hero,
  .af8-product-split,
  dialog.af8-dialog[open] {
    grid-template-columns: 1fr;
  }
  .af8-hero-showcase {
    max-width: 380px;
    justify-self: center;
  }
  .af8-guide-grid,
  .af8-hook-controls,
  .af8-hook-grid {
    grid-template-columns: 1fr;
  }
  .af8-root.is-embedded .af8-topbar {
    top: 68px;
  }
  .af8-studio-stage {
    border-right: 0;
    border-bottom: 1px solid var(--af-line);
  }
  dialog.af8-dialog {
    max-height: calc(100dvh - 16px);
    overflow-y: auto;
  }
  .af8-studio-info {
    overflow-y: visible;
  }
}

@media (max-width: 680px) {
  .af8-shell {
    padding: 0 16px 44px;
  }
  .af8-topbar {
    margin: 0 -16px 20px;
    padding: 8px 16px;
  }
  .af8-topbar-inner {
    gap: 8px 12px;
  }
  .af8-brand {
    min-height: 38px;
  }
  .af8-brand-logo {
    height: 20px;
  }
  .af8-top-actions .af8-btn {
    min-height: 38px;
    padding: 7px 14px;
    font-size: 13px;
  }
  .af8-jump {
    order: 3;
    flex: 1 1 100%;
    gap: 4px;
  }
  .af8-jump a {
    min-height: 36px;
    padding: 6px 12px;
    font-size: 12.5px;
  }
  .af8-section {
    scroll-margin-top: 112px;
  }
  .af8-hero,
  .af8-panel,
  .af8-hook-card,
  .af8-channel-card {
    padding: 18px 16px;
  }
  .af8-cta-pair {
    grid-template-columns: 1fr;
    max-width: none;
  }
  .af8-cta-pair .af8-btn {
    white-space: normal;
  }
  .af8-shoe-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .af8-shoe-actions-sub {
    grid-template-columns: 1fr;
  }
  .af8-steps,
  .af8-channels-grid {
    grid-template-columns: 1fr;
  }
  .af8-search-field {
    max-width: none;
    flex-basis: 100%;
  }
}

@media (max-width: 480px) {
  .af8-shoe-grid,
  .af8-hook-actions {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .af8-root *,
  dialog.af8-dialog *,
  .af8-toast {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}
