/* Page-only presentation: kit pricing, stock and cart remain in the shared engine. */
body#ready-race {
  --ready-bg: #f5f7f6;
  --ready-surface: #ffffff;
  --ready-text: #17221e;
  --ready-muted: #53645d;
  --ready-line: #d8e1dc;
  --ready-accent: #087b4a;
  --ready-selected: #edf8f2;
  background: var(--ready-bg);
  color: var(--ready-text);
  padding-top: 0 !important;
}
html.dark-theme body#ready-race,
body#ready-race.dark-theme {
  --ready-bg: #101514;
  --ready-surface: #18211e;
  --ready-text: #f2f6f3;
  --ready-muted: #b2c2b9;
  --ready-line: #33433a;
  --ready-accent: #79e8ae;
  --ready-selected: #21372b;
}
#ready-race #main-content { padding-top: var(--ready-header-space, 112px); }
#ready-race .ready-race-hero {
  position: relative;
  display: flex;
  align-items: center;
  isolation: isolate;
  min-height: 330px !important;
  height: auto !important;
  margin: 0;
  padding: 48px max(32px, calc((100% - 1320px) / 2));
  border: 0;
  border-radius: 0;
  background: #101514;
  overflow: hidden;
}
#ready-race .ready-race-hero > img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover;
  object-position: center 48%;
  border: 0 !important;
  border-radius: 0 !important;
  opacity: 1;
  z-index: -2;
}
#ready-race .ready-race-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 13, 10, .94), rgba(5, 13, 10, .72) 38%, rgba(5, 13, 10, .08) 78%);
  z-index: -1;
  transform: none;
}
#ready-race .ready-race-hero::after { display: none; }
#ready-race .ready-race-hero-copy { position: relative; inset: auto; width: 100%; max-width: 660px; margin: 0; padding: 0; }
#ready-race .ready-race-hero-copy > span { color: #f4d747; font-size: 12px; letter-spacing: 0; }
#ready-race .ready-race-hero h1 { margin: 14px 0; color: #fff; font-size: 48px !important; line-height: 1.06; letter-spacing: 0; text-transform: none; }
#ready-race .ready-race-hero p { max-width: 440px; margin: 0; color: #e4ece7; font-size: 16px; line-height: 1.6; font-weight: 500; }
#ready-race .hero-actions { margin-top: 24px; gap: 10px; }
#ready-race .hero-actions .button { min-height: 44px; border-radius: 6px; padding: 12px 20px; font-size: 13px; text-transform: none; box-shadow: none; }
#ready-race .hero-actions .primary { background: #f2d547 !important; color: #172019 !important; border: 1px solid #f2d547; }
#ready-race .hero-actions .secondary { background: rgba(12, 22, 17, .72) !important; color: #fff !important; border: 1px solid #809388; }
#ready-race .ready-kits-section { padding: 32px max(32px, calc((100% - 1320px) / 2)) 72px !important; background: var(--ready-bg); }
#ready-race .section-title { margin: 0 0 22px; padding: 0; }
#ready-race .section-title > span { color: var(--ready-accent) !important; font-size: 11px; letter-spacing: 0; }
#ready-race .section-title h2 { margin: 8px 0; color: var(--ready-text); font-size: 28px; line-height: 1.2; letter-spacing: 0; text-transform: none; }
#ready-race .section-title p { margin: 0; color: var(--ready-muted); font-size: 14px; font-weight: 500; }
#ready-race .sr-ready-clean { width: 100% !important; max-width: none; margin: 0 !important; padding: 0 !important; }
#ready-race .sr-ready-style-grid { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)) !important; grid-auto-flow: row !important; gap: 14px !important; padding: 0 !important; margin: 0 !important; overflow: visible !important; }
#ready-race .sr-ready-style-card {
  min-height: 154px !important;
  height: 154px;
  padding: 22px !important;
  border: 1px solid #64716a !important;
  border-radius: 8px !important;
  box-shadow: none !important;
  transform: none !important;
  background: #101514 !important;
}
#ready-race .sr-ready-style-card::before { inset: 0 !important; border: 0 !important; border-radius: 0 !important; background: linear-gradient(0deg, rgba(4, 11, 8, .85), rgba(4, 11, 8, .06)) !important; }
#ready-race .sr-ready-style-card::after { display: none !important; }
#ready-race .sr-ready-style-image { inset: 0 !important; opacity: 1 !important; }
#ready-race .sr-ready-style-copy { gap: 6px; padding: 0 !important; }
#ready-race .sr-ready-style-card strong { font-size: 26px !important; line-height: 1.1 !important; color: #fff !important; letter-spacing: 0; }
#ready-race .sr-ready-style-card small { color: #edf2ee !important; font-size: 12px !important; line-height: 1.4 !important; font-weight: 500 !important; }
#ready-race .sr-ready-style-card.is-active { border-color: #f2d547 !important; box-shadow: inset 0 -4px #f2d547 !important; }
#ready-race .ready-race-filters { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; padding: 22px 0; }
#ready-race .ready-race-platforms { display: flex; padding: 4px; background: var(--ready-surface); border: 1px solid var(--ready-line); border-radius: 6px; }
#ready-race .ready-race-platforms button { min-width: 62px; min-height: 38px; padding: 7px 12px; border: 0; border-radius: 3px; color: var(--ready-muted); background: transparent; font: 700 12px Inter, sans-serif; cursor: pointer; }
#ready-race .ready-race-platforms button[aria-pressed="true"] { color: var(--ready-text); background: var(--ready-selected); box-shadow: inset 0 -2px var(--ready-accent); }
#ready-race .ready-race-stock-filter { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; color: var(--ready-muted); font-size: 13px; cursor: pointer; }
#ready-race .ready-race-stock-filter input { width: 18px; height: 18px; margin: 0; accent-color: #087b4a; }
#ready-race .ready-race-count { margin-left: auto; color: var(--ready-muted); font-size: 12px; white-space: nowrap; }
#ready-race .ready-race-selection { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(350px, 1fr); gap: 28px; align-items: start; }
#ready-race .sr-ready-kit-grid-clean { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)) !important; grid-auto-flow: row !important; grid-auto-columns: auto !important; gap: 12px !important; margin: 0 !important; padding: 0 !important; overflow: visible !important; align-items: stretch; }
#ready-race .sr-ready-kit-card-clean { display: flex; flex-direction: column; gap: 10px; min-height: 0 !important; min-width: 0; padding: 12px !important; background: var(--ready-surface) !important; color: var(--ready-text); border: 1px solid var(--ready-line) !important; border-radius: 8px !important; box-shadow: none !important; transform: none !important; text-align: left; overflow: hidden; }
#ready-race .sr-ready-kit-card-clean.is-active { background: var(--ready-selected) !important; border-color: var(--ready-accent) !important; box-shadow: inset 0 0 0 1px var(--ready-accent) !important; }
#ready-race .sr-ready-kit-card-clean:hover { border-color: var(--ready-accent) !important; }
#ready-race .sr-ready-kit-card-images { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 64px; gap: 3px !important; width: 100%; height: 132px; background: #fff; border-radius: 4px; overflow: hidden; align-content: center; }
#ready-race .sr-ready-kit-card-images > span { min-width: 0; height: 64px; min-height: 0; padding: 3px; border: 0; border-radius: 0; background: #fff; }
#ready-race .sr-ready-kit-card-images img { width: 100%; height: 100%; object-fit: contain; }
#ready-race .sr-ready-kit-card-clean > strong { color: var(--ready-text) !important; font-size: 13px !important; line-height: 1.4; font-weight: 750; }
#ready-race .sr-ready-kit-card-clean > small { color: var(--ready-muted) !important; font-size: 11px !important; line-height: 1.4; font-weight: 500; }
#ready-race .sr-ready-kit-card-clean > b { margin-top: auto; padding-top: 4px; color: var(--ready-accent) !important; font-size: 16px !important; line-height: 1.3; }
#ready-race .sr-ready-kit-tag { padding: 4px 7px; font-size: 10px; }
#ready-race .sr-ready-kit-stock-alert { width: 100%; padding: 8px; margin: 0; border-radius: 4px; }
#ready-race .sr-ready-kit-stock-alert strong { font-size: 10px; line-height: 1.4; text-transform: none; }
#ready-race .sr-ready-kit-stock-alert small { font-size: 10px; font-weight: 500; line-height: 1.4; }
#ready-race .sr-ready-expanded-clean { position: sticky; top: calc(var(--ready-header-height, 112px) + 16px); margin: 0; padding: 0 0 24px 24px; border: 0; border-left: 1px solid var(--ready-line); border-radius: 0; background: none; overflow: visible; box-shadow: none; scroll-margin-top: calc(var(--ready-header-height, 112px) + 20px); }
#ready-race .ready-race-detail-label { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; color: var(--ready-accent); font-size: 11px; text-transform: uppercase; font-weight: 800; }
#ready-race .ready-race-detail-label button { display: none; }
#ready-race .sr-ready-expanded-head { display: flex; flex-direction: column; align-items: stretch; gap: 20px; padding: 0 0 18px; border-bottom: 1px solid var(--ready-line); }
#ready-race .sr-ready-expanded-head > div > span:not(.sr-ready-kit-tags) { display: none; }
#ready-race .sr-ready-expanded-head h3 { margin: 0 0 12px; color: var(--ready-text); font-size: 26px; line-height: 1.2; letter-spacing: 0; text-transform: none; overflow-wrap: anywhere; }
#ready-race .sr-ready-expanded-head p { margin-top: 12px; color: var(--ready-muted); font-size: 13px; line-height: 1.55; font-weight: 500; }
#ready-race .sr-ready-expanded-price { display: grid; gap: 4px; white-space: normal; }
#ready-race .sr-ready-expanded-price small { font-size: 12px; color: var(--ready-muted); font-weight: 500; }
#ready-race .sr-ready-expanded-price strong { font-size: 29px; color: var(--ready-accent); line-height: 1.2; }
#ready-race .sr-ready-expanded-items { display: grid; grid-template-columns: 1fr; gap: 0; padding: 0; }
#ready-race .sr-ready-expanded-item { display: grid; grid-template-columns: 72px minmax(0, 1fr); grid-template-rows: auto; gap: 14px; align-items: center; min-height: 0; padding: 14px 0; border: 0; border-bottom: 1px solid var(--ready-line); border-radius: 0; background: none; color: var(--ready-text); overflow: visible; }
#ready-race .sr-ready-expanded-item-image { display: block; width: 72px; height: 72px; padding: 4px; border-radius: 4px; background: #fff; }
#ready-race .sr-ready-expanded-item img { width: 100%; height: 100%; object-fit: contain; border-radius: 0; }
#ready-race .sr-ready-expanded-item small { font-size: 10px; color: var(--ready-accent); font-weight: 700; }
#ready-race .sr-ready-expanded-item strong { margin-top: 5px; color: var(--ready-text); font-size: 12px; line-height: 1.45; text-transform: none; }
#ready-race .sr-ready-expanded-item p { display: none; }
#ready-race a.sr-ready-expanded-item:hover strong { text-decoration: underline; text-underline-offset: 3px; }
#ready-race .sr-ready-actions-clean { display: grid; gap: 10px; padding: 20px 0 0; }
#ready-race .sr-ready-action-clean { width: 100%; min-height: 48px; padding: 13px 16px; border-radius: 6px; font-size: 13px; text-align: center; text-transform: none; box-shadow: none; }
#ready-race .sr-ready-action-clean.primary { background: #f2d547; color: #172019; border: 1px solid #f2d547; }
#ready-race .sr-ready-action-clean.secondary { background: transparent; color: var(--ready-text); border: 1px solid var(--ready-line); }
#ready-race .sr-ready-stock-alert-clean { margin: 16px 0; border-radius: 6px; padding: 12px; }
#ready-race .sr-ready-stock-alert-clean strong { font-size: 12px; line-height: 1.4; text-transform: none; }
#ready-race .sr-ready-stock-alert-clean p { font-size: 12px; line-height: 1.5; font-weight: 500; }
#ready-race .ready-race-empty { grid-column: 1 / -1; padding: 40px 0; color: var(--ready-text); }
#ready-race .ready-race-empty h3 { font-size: 20px; }
#ready-race .ready-race-empty p { font-size: 14px; color: var(--ready-muted); }
#ready-race .ready-race-empty button { min-height: 44px; padding: 10px 18px; background: var(--ready-surface); color: var(--ready-text); border: 1px solid var(--ready-line); border-radius: 6px; font: inherit; cursor: pointer; }
#ready-race .ready-race-help { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 32px; margin-top: 40px; border-top: 1px solid var(--ready-line); }
#ready-race .ready-race-help h2 { margin: 0 0 8px; font-size: 20px; line-height: 1.3; color: var(--ready-text); text-transform: none; }
#ready-race .ready-race-help p { margin: 0; font-size: 13px; line-height: 1.6; color: var(--ready-muted); }
#ready-race .ready-race-help .button { flex-shrink: 0; min-height: 44px; padding: 12px 18px; border: 1px solid var(--ready-line); border-radius: 6px; background: var(--ready-surface); color: var(--ready-text); font-size: 12px; text-transform: none; }
#ready-race #escolher-kit { scroll-margin-top: var(--ready-header-height, 112px); }
#ready-race :is(.sr-ready-clean, .ready-race-help, .hero-actions) :is(button, a, input):focus-visible { outline: 3px solid var(--ready-accent); outline-offset: 3px; }
@media (min-width: 1760px) {
  #ready-race .sr-ready-kit-grid-clean { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
}
@media (min-width: 761px) {
  #ready-race .mobile-menu-floating { display: none !important; }
}
@media (min-width: 981px) {
  #ready-race .ready-kits-section { padding-inline: max(64px, calc((100% - 1320px) / 2)) !important; }
  #ready-race .cart-fab,
  #ready-race .speedrace-mobile-whatsapp { right: 8px !important; width: 44px !important; min-width: 44px !important; height: 44px !important; padding: 0 !important; box-shadow: none !important; }
  #ready-race .speedrace-mobile-whatsapp { bottom: 82px !important; }
  #ready-race .cart-fab > span,
  #ready-race .speedrace-mobile-whatsapp > span { display: none !important; }
  #ready-race .cart-fab #cart-count { position: absolute; top: -6px; right: -3px; min-width: 20px; height: 20px; padding: 2px; font-size: 10px; }
}
@media (max-width: 1100px) {
  #ready-race .ready-race-selection { grid-template-columns: minmax(0, 1fr) minmax(300px, .8fr); gap: 20px; }
  #ready-race .sr-ready-kit-grid-clean { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  #ready-race .sr-ready-expanded-clean { padding-left: 20px; }
}
@media (min-width: 761px) and (max-width: 980px) {
  #ready-race.mobile-menu-open .site-header > nav {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    position: fixed !important;
    inset: 12px 12px auto auto !important;
    width: 360px !important;
    max-width: calc(100% - 24px) !important;
    max-height: calc(100dvh - 24px) !important;
    overflow-y: auto !important;
    padding: 60px 24px 24px !important;
    background: var(--ready-surface) !important;
    border: 1px solid var(--ready-line) !important;
    border-radius: 8px !important;
    box-shadow: 0 16px 60px #0006;
  }
  #ready-race.mobile-menu-open .site-header > nav * { visibility: visible !important; }
  #ready-race.mobile-menu-open .mobile-menu-close { display: grid !important; place-items: center; position: absolute !important; top: 12px !important; right: 12px !important; width: 40px !important; height: 40px !important; opacity: 1 !important; pointer-events: auto !important; color: var(--ready-text); background: var(--ready-bg); border: 1px solid var(--ready-line); border-radius: 4px; }
  #ready-race.mobile-menu-open .mobile-menu-strip { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)) !important; position: static !important; width: 100% !important; height: auto !important; opacity: 1 !important; pointer-events: auto !important; overflow: visible !important; gap: 8px; }
  #ready-race.mobile-menu-open .mobile-menu-strip > * { width: 100% !important; min-width: 0 !important; pointer-events: auto !important; }
  #ready-race.mobile-menu-open .mobile-theme-toggle { display: grid !important; }
}
@media (max-width: 980px) {
  #ready-race #main-content { padding-top: var(--ready-header-space, 0px); }
  #ready-race .ready-race-hero { min-height: 282px !important; padding: 32px 20px; }
  #ready-race .ready-race-hero::before { background: linear-gradient(90deg, rgba(5, 13, 10, .92), rgba(5, 13, 10, .48)); }
  #ready-race .ready-race-hero > img { object-position: 63% center; }
  #ready-race .ready-race-hero h1 { font-size: 34px !important; max-width: 300px; }
  #ready-race .ready-race-hero p { font-size: 14px; max-width: 290px; }
  #ready-race .hero-actions { display: flex; flex-wrap: wrap; margin-top: 20px; }
  #ready-race .hero-actions .button { width: auto; flex: 1 1 auto; padding: 12px; font-size: 12px; }
  #ready-race .ready-kits-section { padding: 26px 16px 64px !important; }
  #ready-race .section-title { margin-bottom: 18px; }
  #ready-race .section-title > span { font-size: 10px; }
  #ready-race .section-title h2 { font-size: 24px; }
  #ready-race .section-title p { font-size: 13px; line-height: 1.5; }
  #ready-race .sr-ready-style-grid { gap: 8px !important; }
  #ready-race .sr-ready-style-card { height: 116px; min-height: 116px !important; padding: 12px 8px !important; border-radius: 6px !important; }
  #ready-race .sr-ready-style-card strong { font-size: 16px !important; text-transform: none; }
  #ready-race .sr-ready-style-card small { display: none; }
  #ready-race .ready-race-filters { gap: 8px 12px; padding: 18px 0; }
  #ready-race .ready-race-platforms { width: 100%; }
  #ready-race .ready-race-platforms button { flex: 1; min-width: 0; min-height: 40px; }
  #ready-race .ready-race-stock-filter { font-size: 12px; min-height: 36px; }
  #ready-race .ready-race-selection { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  #ready-race .sr-ready-kit-grid-clean { gap: 10px !important; }
  #ready-race .sr-ready-kit-card-clean { padding: 9px !important; gap: 9px; }
  #ready-race .sr-ready-kit-card-images { height: 108px; grid-auto-rows: 51px; }
  #ready-race .sr-ready-kit-card-images > span { height: 51px; padding: 2px; }
  #ready-race .sr-ready-kit-card-clean > strong { font-size: 12px !important; }
  #ready-race .sr-ready-kit-card-clean > small { font-size: 10px !important; }
  #ready-race .sr-ready-kit-card-clean > b { font-size: 14px !important; }
  #ready-race .sr-ready-expanded-clean { position: static; padding: 24px 0 0; border-left: 0; border-top: 2px solid var(--ready-accent); scroll-margin-top: 92px; }
  #ready-race .ready-race-detail-label button { display: block; padding: 10px 0 10px 12px; min-height: 44px; border: 0; background: transparent; color: var(--ready-muted); text-decoration: underline; font: 500 12px Inter, sans-serif; cursor: pointer; }
  #ready-race .sr-ready-expanded-head h3 { font-size: 24px; }
  #ready-race .sr-ready-expanded-head { gap: 16px; }
  #ready-race .sr-ready-expanded-price strong { font-size: 28px; }
  #ready-race .ready-race-help { flex-direction: column; align-items: start; gap: 18px; }
  #ready-race #escolher-kit { scroll-margin-top: 78px; }
}
@media (prefers-reduced-motion: reduce) {
  #ready-race .sr-ready-clean * { transition: none !important; scroll-behavior: auto !important; }
}
