/* Ranger-specific content and local review states.
   Shared layout, typography and breakpoints live in the approved Everest CSS. */
.ui-icon{display:block;width:var(--arrow-size,24px);height:var(--arrow-size,24px);flex:0 0 var(--arrow-size,24px);object-fit:contain;filter:invert(23%) sepia(48%) saturate(2020%) hue-rotate(169deg) brightness(90%) contrast(105%)}
.btn-blue .ui-icon,.text-link.light .ui-icon,.hero-explore .ui-icon{filter:brightness(0) invert(1)}
.header-cta .ui-icon{width:var(--arrow-size,24px);height:var(--arrow-size,24px);flex-basis:var(--arrow-size,24px)}
.btn-white .ui-icon{filter:invert(23%) sepia(48%) saturate(2020%) hue-rotate(169deg) brightness(90%) contrast(105%)}
.experience-v2 .experience-panel .ui-icon{position:static;inset:auto;width:var(--arrow-size,24px);height:var(--arrow-size,24px);max-width:none;flex:0 0 var(--arrow-size,24px);object-fit:contain;object-position:center;transform:none}
footer .footer-inner img.ui-icon{width:var(--arrow-size,24px);height:var(--arrow-size,24px)}
.btn>span:not([aria-hidden]){font:inherit;line-height:inherit}
.hero-explore .ui-icon{width:19px;height:19px;flex-basis:19px}
.hero-equivalent>strong{white-space:normal}
.selection-check{display:block;width:13px;height:13px;opacity:0;filter:invert(23%) sepia(48%) saturate(2020%) hue-rotate(169deg) brightness(90%) contrast(105%)}
.version-option[aria-checked=true] .selection-check{opacity:1}
@media(min-width:1001px){.model-tabs{grid-template-columns:repeat(4,minmax(0,1fr))}}

/* Native images contain transparent margins; fit their subject rather than crop it. */
.car-stage img{transform:translateX(-5.7%) scale(1.32);mix-blend-mode:normal}
.image-loading{position:absolute;inset:auto 10px 0;z-index:1;background:#f1f5f7ed;border-radius:5px;padding:7px 12px;font-size:14px;color:var(--muted);text-align:center}
.image-error{position:absolute;inset:20px;z-index:2;display:grid;place-content:center;text-align:center;padding:20px;background:var(--pale);border:1px solid var(--line);border-radius:8px;font-size:16px}
.image-error .text-link{justify-content:center}
.paint-black{background:#20272d}.paint-white{background:#f0f1ee}.paint-grey{background:#636b72}.paint-silver{background:#b9c0c5}.paint-red{background:#ad2434}.paint-orange{background:#cf5e1b}
.color-list[data-variant^=wildtrak] .paint-grey{background:#686d6f}
.details-spec summary .ui-icon{width:20px;height:20px;flex-basis:20px}
.detail-features-label{font-size:14px;font-weight:700;margin:8px 0}
.detail-features{padding-left:18px;font-size:14px;line-height:1.65;color:var(--muted);margin:0 0 16px}
.detail-features li+li{margin-top:5px}
.comparison>summary{font-size:16px;color:var(--ink);min-height:58px}
.comparison>summary>span{font:inherit;transform:none;color:inherit}
.comparison[open]>summary>span{transform:none}
.comparison summary small{display:block;font-size:14px;font-weight:400;line-height:1.5;color:var(--muted);margin-top:4px}
.comparison[open]>summary>.ui-icon{transform:rotate(180deg)}
.comparison-scroll{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;border:1px solid var(--line);background:white}
.comparison table{width:100%;min-width:800px;border-collapse:collapse;text-align:left;font-size:14px;line-height:1.5}
.comparison th,.comparison td{padding:14px 17px;border-bottom:1px solid var(--line)}
.comparison thead th{background:#e7eff4;font-size:15px;white-space:nowrap}
.comparison tbody th{color:var(--muted);font-weight:400}
.comparison tbody tr:nth-child(even){background:#f7f9fa}
.comparison-offers td{font-weight:700;color:var(--blue)}
.comparison .comparison-note{margin:14px 0 20px;font-size:14px}
.offer-conditions summary .ui-icon{width:20px;height:20px;flex-basis:20px}

/* Use the approved art/copy composition for the Wildtrak and XLS brochure. */
.brochure-art-label>.ui-icon{width:var(--arrow-size,24px);height:var(--arrow-size,24px)}
.brochure-art-label>#brochure-cover-label{font-size:13px;letter-spacing:.12em;line-height:1.4}
.brochure-spec{margin-top:10px}
.brochure-copy .brochure-source{font-size:14px;line-height:1.6}
/* Showroom, FAQ and footer use the shared components without an extra final banner. */
.testdrive-link{display:flex;width:fit-content;margin-top:7px}
.dealer figure img{height:auto}
.faq summary .ui-icon{width:20px;height:20px;flex-basis:20px}
footer .footer-inner>div:first-child>a{margin-top:0}
.review-footer{font-size:12px;line-height:1.6;color:#a8bfce;margin-top:20px}
.mobile-actions>.btn{width:100%}

/* Review-only form mirrors the public Everest shell and contact-field arrangement. */
.quote-selection img{aspect-ratio:1920/1064;object-fit:contain}
.quote-dialog .close-dialog{display:grid;place-items:center;padding:0}
.quote-dialog .close-dialog .ui-icon{width:20px;height:20px}
.quote-dialog .dialog-description{font-size:16px;line-height:1.6;margin-top:12px;color:var(--muted)}
.quote-dialog .selected-car>button{font-size:14px}
.full{width:100%}
#quote-form .form-field{min-width:0;margin-bottom:16px}
#quote-form label:not(.consent-label){display:block;font-size:16px;font-weight:700;line-height:1.4;margin:0 0 7px;color:var(--ink)}
#quote-form input:not([type=checkbox]),#quote-form select{width:100%;max-width:100%;min-height:50px;border:1px solid #b5c8d4;border-radius:7px;padding:10px 12px;background:white;color:var(--ink);font:16px Ford,Arial,sans-serif}
#quote-form input:focus-visible,#quote-form select:focus-visible,#quote-form button:focus-visible{outline:3px solid var(--blue);outline-offset:2px}
#quote-form input[aria-invalid=true]{border-color:#ab2525}
.contact-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:14px}
.optional-label{display:block;font-size:13px;line-height:1.5;font-weight:400;color:var(--muted);margin-top:2px;white-space:nowrap}
.required-mark{color:#ab2525}
.consent-heading{font-size:14px;font-weight:700;line-height:1.4;margin:0 0 7px}
.consent-label{display:flex;align-items:flex-start;gap:9px;font-size:14px;line-height:1.6;color:var(--ink);cursor:pointer}
.consent-label input{width:20px;height:20px;min-width:20px;margin:1px 0 0;accent-color:var(--blue)}
.field-error{color:#ab2525;font-size:14px;line-height:1.5;margin:7px 0 0}
.submit-error{padding:12px;background:#fff1f0;border-radius:6px}
#quote-submit{min-height:56px;justify-content:center;margin-top:18px;border:0;border-radius:7px;background:#124f87;font-size:17px}
#quote-submit>span{font-size:17px;font-weight:700;line-height:1.4}
#quote-submit:disabled{opacity:.7;cursor:wait}
.demo-form-note{font-size:12px;line-height:1.6;color:var(--muted);margin-top:12px}
.demo-state-tools{margin-top:16px;padding:12px;background:var(--pale);border-radius:6px}
.demo-success-notice{font-size:14px!important;color:var(--muted)}
.success-mark .ui-icon{width:24px;height:24px}
.quote-success .full{margin-top:20px;justify-content:center}
.noscript-note{padding:18px;background:var(--pale);font-size:16px}

@media(max-width:650px){
 /* Compact arrows only; button and link hit areas retain the shared sizes. */
 img.ui-icon[src$="/arrow-up-right.svg"]{--arrow-size:18px}
 .text-link img.ui-icon[src$="/arrow-up-right.svg"]{--arrow-size:16px}
 .dealer-site-link img.channel-icon[src$="/arrow-up-right.svg"],footer .footer-inner .footer-site-link img.channel-icon[src$="/arrow-up-right.svg"]{width:16px;height:16px;flex:0 0 16px}
 .dealer-phone{gap:12px}
 .testdrive-link,.dealer-site-link{gap:10px}
 .header-cta .ui-icon{display:none}
 .hero-model{font-size:18px}
 .hero-equivalent>strong{font-size:32px}
 .brochure-art-label>#brochure-cover-label{font-size:12px}
 .comparison>summary{font-size:16px;gap:14px}
 .comparison summary small{font-size:13px}
 .comparison th,.comparison td{padding:12px 15px}
 .quote-dialog .dialog-description{font-size:16px}
 .quote-dialog .selected-car strong,.quote-dialog .selected-car span,.quote-dialog .selected-car>button{font-size:14px}
 .quote-dialog .selected-car img{width:62px;height:48px}
 .testdrive-link{font-size:16px}
 .review-footer{font-size:12px}
}
@media(max-width:360px){
 .hero-equivalent>strong{font-size:28px}
}
@media(max-width:280px){.contact-row{grid-template-columns:1fr}}

/* A failed startup must never leave apparently working model/quote controls. */
.review-runtime-notice{padding:14px 18px;margin-bottom:20px;border:1px solid #b9cbd7;border-radius:6px;background:white;color:var(--ink);font-size:16px;line-height:1.6}
.review-runtime-notice a{font-weight:700;color:var(--blue)}
.version-option:disabled,[data-quote]:disabled,[data-brochure]:disabled{cursor:not-allowed;opacity:.6}

/* Direct form: stable Safari control metrics and in-page draft preservation. */
.quote-dialog #quote-title:focus{outline:none}
body.modal-open{position:fixed;top:var(--modal-scroll-offset);left:0;right:0;width:100%;overflow:hidden}
#quote-form input:not([type=checkbox]),#quote-form select{box-sizing:border-box;height:50px;min-height:50px;font-size:16px;line-height:24px}
#quote-form select{-webkit-appearance:none;appearance:none;padding:12px 42px 12px 12px;background:#fff url("assets/icons/chevron-down.svg") no-repeat right 14px center;background-size:16px 16px}
@media(max-width:650px){.quote-dialog .contact-row{grid-template-columns:minmax(0,1fr);gap:0}.quote-dialog .optional-label{display:inline;font-size:13px}.quote-dialog .dialog-content{overflow-wrap:break-word}}

/* Showroom parity with Raptor: retain mobile ratio; stretch the two-column photo. */
@media(min-width:651px){
 #tay-ninh-ford .dealer-grid{align-items:stretch}
 #tay-ninh-ford .dealer-grid>figure{min-height:0;overflow:hidden;border-radius:8px}
 #tay-ninh-ford .dealer-grid>figure>img{position:absolute;inset:0;display:block;width:100%;height:100%;aspect-ratio:auto;object-fit:cover;object-position:center}
}
.dealer address .address-map-link,footer .footer-inner .address-map-link{display:inline;margin:0;font:inherit;color:inherit;text-decoration:underline;text-underline-offset:.16em}
