:root { --navy-deep: #071424; --success: #15803d; }
html { scroll-padding-top: 90px; }
[hidden] { display: none !important; }
:where(a, button, input, summary, [tabindex]):focus-visible { outline: 3px solid #b88d12; outline-offset: 4px; }
.sfp-menu-toggle { display: none; }
.page:has(> .sfp-mobile-header) { overflow: clip; }
.sfp-mobile-header { position: sticky; top: 0; z-index: 50; width: 100%; background: #fff; }
.sfp-mobile-header > .shell { display: flex; align-items: center; justify-content: flex-start; width: 100%; max-width: none; margin: 0; padding: 14px 24px; gap: 36px; }
.sfp-mobile-header > .shell > nav { display: flex; flex: 1; min-width: 0; justify-content: flex-start; gap: 24px; }
.sfp-mobile-header > .shell > .button, .sfp-mobile-header > .shell > nav > .button { margin-left: auto; flex-shrink: 0; }
.sfp-mobile-header .brand-wordmark { letter-spacing: 0; }
.sfp-mobile-menu { border-top: 1px solid #e2e8f0; padding: 12px 24px 20px; background: #fff; }
.sfp-mobile-menu a, .sfp-mobile-menu [aria-disabled] { display: flex; align-items: center; min-height: 48px; padding: 12px; color: #1f2a44; font-size: 14px; font-weight: 700; border-radius: 4px; }
.sfp-mobile-menu a:hover { background: #f5f7fa; }
.sfp-mobile-menu [aria-disabled] { color: #8490a0; }
.buyer-guide { padding: 72px 0; border-top: 1px solid #e2e8f0; background: #fff; }
.buyer-guide h2 { margin: 0 0 18px; font-size: 36px; line-height: 1.15; }
.buyer-guide-intro { max-width: 720px; margin: 0 0 30px; color: #526174; font-size: 16px; line-height: 1.7; }
.buyer-guide-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 36px; }
.buyer-guide details { border-top: 1px solid #e2e8f0; padding: 0; }
.buyer-guide summary { display: list-item; padding: 20px 8px 20px 0; color: #142033; font-weight: 700; line-height: 1.5; cursor: pointer; }
.buyer-guide details p { margin: 0 0 22px; color: #526174; font-size: 14px; line-height: 1.7; }
.model-purpose { margin: 0 0 18px; color: #526174; font-size: 13px; line-height: 1.65; }
.model-preparation { display: block; margin-top: 9px; color: #526174; font-size: 12px; line-height: 1.65; }
.model-preparation strong { color: #1f2a44; }
.model-summary { margin: 8px 0 10px; color: #526174; font-size: 12px; line-height: 1.65; }
.checkout-drawer, .diagnostic-modal, .preview-modal { max-height: 100dvh; }
.checkout-drawer { visibility: hidden; box-shadow: none; }
body.drawer-open .checkout-drawer { visibility: visible; box-shadow: -24px 0 60px rgba(7,20,36,0.22); }
.drawer-body, .diagnostic-modal-body { min-height: 0; overscroll-behavior: contain; }
.checkout-drawer .drawer-price, .checkout-drawer .upsell-price strong { letter-spacing: 0; }
.checkout-drawer .drawer-header > div { min-width: 0; }
.checkout-drawer .drawer-label { overflow-wrap: anywhere; }
.checkout-drawer .drawer-close { flex: 0 0 auto; width: 44px; height: 44px; }
.checkout-drawer .drawer-list { display: grid; padding: 0; margin: 0; list-style: none; }
.checkout-drawer .drawer-list li { display: flex; gap: 10px; align-items: start; }
.checkout-drawer .check { flex: 0 0 18px; text-align: center; color: #b88d12; }
.checkout-drawer .checkout-card, .checkout-drawer .confirmation-card, .checkout-drawer .upsell-card { border: 1px solid #e2e8f0; border-radius: 8px; margin: 0; }
.checkout-drawer .mini-row { margin: 0; padding: 0; border: 0; }
.checkout-drawer .field { margin: 0; }
.checkout-drawer .apple-pay { margin: 0; }
.checkout-drawer .upsell-price strong span { color: inherit; font-size: inherit; text-decoration: none; }
.checkout-drawer .upsell-price strong small { font-size: 13px; }
@media (max-width: 980px) {
  .sfp-mobile-header { position: sticky; top: 0; z-index: 50; background: #fff; }
  .sfp-mobile-header > .shell { display: flex; justify-content: space-between; min-height: 72px; gap: 12px; padding: 14px 20px; }
  .sfp-mobile-header > .shell > nav, .sfp-mobile-header > .shell > .button { display: none; }
  .sfp-mobile-header .sfp-menu-toggle { display: inline-grid !important; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; padding: 10px; border: 1px solid #e2e8f0; border-radius: 6px; background: #fff; color: #071424; cursor: pointer; }
  .sfp-menu-toggle svg { width: 22px; height: 22px; }
  .sfp-mobile-menu { max-height: calc(100dvh - 72px); overflow-y: auto; }
}
@media (max-width: 680px) {
  .buyer-guide { padding: 52px 0; }
  .buyer-guide-grid { grid-template-columns: 1fr; }
  .buyer-guide h2 { font-size: 30px; }
  .hero-actions .button, .hero .actions .button { width: 100%; min-height: 48px; }
  .library-model .model-buy, summary { min-height: 44px; }
  .stack-card .stack-top { flex-direction: column; gap: 6px; }
  .stack-card { min-height: 0; }
  .stack-card .button { margin-top: 20px; }
  .model-library input, input, select, textarea { font-size: 16px; }
  .checkout-drawer .field input { font-size: 16px; }
  .checkout-drawer .field-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .checkout-drawer .summary-row { flex-direction: column; align-items: start; gap: 12px; }
  .checkout-drawer .mini-row { align-items: start; }
  .checkout-drawer .confirmation-meta strong { max-width: 65%; overflow-wrap: anywhere; }
  .checkout-drawer .confirmation-dismiss { min-height: 44px; text-align: left; }
  .model-collage { min-height: 380px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
