/* 10.3.1 — shared storefront rhythm and interaction states.
   Loaded after the legacy storefront layer; merchant design variables still win. */
:root {
    color-scheme: dark;
    --nt-space-section: clamp(48px, 7vw, 88px);
    --nt-focus: #a7c7ff;
}
html { scroll-padding-top: 120px; }
#ntRateListTitle { scroll-margin-top: 40px; }
body { text-rendering: optimizeLegibility; }
body :where(a, button, input, select, textarea, summary):focus-visible {
    outline: 3px solid var(--nt-focus) !important;
    outline-offset: 4px;
}
[hidden] { display: none !important; }
button, input, textarea, select { font: inherit; }
input, select, textarea { color-scheme: dark; }
body .nt-btn {
    min-height: 46px;
    line-height: 1.35;
    text-align: center;
    transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease;
}
body .nt-btn--primary { box-shadow: 0 5px 20px rgba(255, 77, 22, .13); }
body .nt-btn--disabled, body .nt-btn[aria-disabled="true"] {
    opacity: .65; cursor: not-allowed; box-shadow: none;
}
body .nt-hero-v6 {
    padding-top: clamp(136px, 13vw, 182px) !important;
    padding-bottom: 72px !important;
    min-height: auto !important;
}
body .nt-hero-v6__grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr) !important;
    align-items: center;
    gap: clamp(32px, 5vw, 80px) !important;
}
body .nt-hero-v6__copy { min-width: 0; max-width: 760px; }
body .nt-hero-v6 .nt-display-title {
    margin: 24px 0 20px !important;
    font-size: clamp(2.8rem, 5.35vw, 5rem) !important;
    font-weight: 780;
    letter-spacing: -.055em !important;
    line-height: 1.06 !important;
    text-transform: none !important;
    text-wrap: balance;
}
body .nt-display-title > span { display: block; }
body .nt-hero-v6 .nt-display-title__accent {
    margin-top: .12em;
    font-size: inherit !important;
    line-height: inherit !important;
    -webkit-text-stroke: 0 !important;
    -webkit-text-fill-color: var(--primary-color, #ff4d16) !important;
    color: var(--primary-color, #ff4d16) !important;
}
body .nt-hero-v6__lead {
    max-width: 55ch !important;
    color: var(--text-muted, #b8bac3);
    font-size: 16px !important;
    line-height: 1.75 !important;
}
.nt-hero-starting { margin-top: 14px; font-size: 14px; font-weight: 650; }
body .nt-hero-v6__actions { margin-top: 28px !important; flex-wrap: wrap; gap: 12px; }
body .nt-technical-kicker { font-size: 11px !important; line-height: 1.6; letter-spacing: .12em; }
body .nt-hero-v6__visual { min-width: 0; min-height: 0 !important; }
body .nt-hero-signal {
    width: 100%; max-width: 440px; margin-inline: auto;
    border: 1px solid rgba(255,255,255,.14);
    box-shadow: 0 24px 64px rgba(0,0,0,.22);
    transform: none !important;
}
body .nt-hero-scroll { display: none; }
body .nt-section { padding-block: var(--nt-space-section) !important; }
body .nt-section-heading { gap: 24px; margin-bottom: 28px !important; }
body .nt-section-heading h2 { font-size: clamp(1.85rem, 3.4vw, 3rem) !important; line-height: 1.15 !important; letter-spacing: -.04em; }
body .nt-section-heading__aside p { font-size: 14px !important; line-height: 1.7 !important; max-width: 54ch; }
body .nt-rate-grid { gap: 18px !important; align-items: stretch; }
body .nt-rate-card, body .nt-product-card-v6 {
    min-width: 0; display: flex; flex-direction: column;
    border-radius: 20px !important;
    border: 1px solid rgba(255,255,255,.1);
    box-shadow: 0 4px 16px rgba(0,0,0,.1);
    overflow: hidden;
}
body .nt-rate-card:hover, body .nt-product-card-v6:hover {
    border-color: rgba(255,255,255,.25) !important;
    transform: none !important;
}
body .nt-rate-card__media { position: relative; aspect-ratio: 1.6; height: auto !important; min-height: 0 !important; }
body .nt-rate-card__media img { position: absolute; inset: 0; width: 100% !important; height: 100% !important; padding: 6px; object-fit: contain; }
body .nt-rate-card__copy h3, body .nt-product-card-v6__body h3 { font-size: 19px !important; line-height: 1.3 !important; overflow-wrap: anywhere; }
body .nt-rate-card__copy p, body .nt-product-card-v6__body > p { display: block !important; color: var(--text-muted, #b8bac3); font-size: 13px !important; line-height: 1.65 !important; }
body .nt-product-card-v6__body { flex: 1; display: flex; flex-direction: column; min-width: 0; }
body .nt-product-card-v6__price-row { margin-top: auto; padding-top: 18px; }
body .nt-rate-card__price { margin-top: auto; padding-top: 18px; }
body .nt-rate-card__price strong, body .nt-product-card-v6__price strong { font-variant-numeric: tabular-nums; font-size: 25px !important; line-height: 1.3; }
body .nt-rate-card__actions, body .nt-product-card-v6__actions { margin-top: 18px; }
body .nt-rate-card__actions--commerce { display: flex !important; flex-direction: column; gap: 8px; min-height: 100px; justify-content: flex-start; }
body .nt-rate-card__actions--commerce .nt-btn { width: 100%; }
body .nt-rate-card__actions--commerce .nt-btn, body .nt-product-card-v6__actions--commerce .nt-btn { min-height: 46px !important; padding: 10px 12px !important; font-size: 12px !important; white-space: normal; }
body .nt-rate-card__price small, body .nt-rate-card__category { font-size: 10px !important; }
body .nt-rate-filter { flex-wrap: wrap; gap: 8px; }
body .nt-rate-filter a, body [data-nt-currency-switcher] button { min-height: 40px; }
body .nt-rate-note { font-size: 12px; line-height: 1.65; }
body .nt-product-card-v6__status { font-size: 11px; background: #121820; }
body .nt-product-card-v6__status.is-available { color: #9ce8c6; }
body .nt-product-card-v6__status.is-unavailable { color: #ffc0b6; }
body .nt-live-search-results { top: calc(100% + 8px) !important; }
body .nt-live-search-result { min-height: 76px; }
body .nt-live-search-result__copy span { font-size: 12px; }
body .nt-live-search-result__price { font-size: 13px; }
body .nt-support-form-card-v84 input, body .nt-support-form-card-v84 select,
body .nt-support-form-card-v84 textarea { min-height: 46px; font-size: 16px; }
@media (max-width: 980px) {
    body .nt-hero-v6__grid { grid-template-columns: minmax(0,1fr) !important; gap: 36px !important; }
    body .nt-hero-v6__copy { max-width: 740px; }
    body .nt-hero-v6__visual { width: 100%; }
    body .nt-hero-signal { max-width: none; }
    body .nt-hero-orbit { display: none; }
    body .nt-section-heading--split { align-items: flex-start; flex-direction: column; }
    body .nt-rate-grid { grid-template-columns: repeat(2,minmax(0,1fr)) !important; }
}
@media (max-width: 600px) {
    html { scroll-padding-top: 100px; }
    body .nt-hero-v6 { padding-top: 122px !important; padding-bottom: 44px !important; }
    body .nt-hero-v6 .nt-display-title { font-size: clamp(2.25rem, 9.4vw, 3.4rem) !important; }
    body .nt-hero-v6__lead { font-size: 15px !important; }
    body .nt-hero-v6__actions { display: grid !important; grid-template-columns: 1fr; }
    body .nt-hero-v6__actions .nt-btn { width: 100%; min-height: 48px; }
    body .nt-hero-currency { flex-wrap: wrap; row-gap: 10px; }
    body .nt-rate-grid { gap: 12px !important; }
    body .nt-rate-card { padding: 16px !important; }
    body .nt-rate-card__number { display: none; }
    body .nt-rate-card__copy h3 { font-size: 17px !important; }
    body .nt-rate-card__price strong { font-size: 23px !important; }
    body .nt-product-card-v6__price-row { flex-wrap: wrap; gap: 8px; }
    body .nt-consent { bottom: calc(12px + env(safe-area-inset-bottom)); max-height: 75dvh; overflow-y: auto; }
}
@media (max-width: 420px) {
    body .nt-rate-grid { grid-template-columns: minmax(0,1fr) !important; }
    body .nt-shop-results-v84 ul.products, body .nt-product-grid--catalog,
    body .nt-related-products-v92__grid { grid-template-columns: minmax(0,1fr) !important; }
    body .nt-rate-card__media { aspect-ratio: 1.9; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto !important; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    [data-nt-reveal] { opacity: 1 !important; transform: none !important; }
}
