/*
Theme Name: Auto Sales 1 — Design
Template: autosales1-2026
Version: 1.4.1
Description: Design layer for the autosales1-2026 theme. Presentation only; all content and features come from the parent theme. Roll back by activating the parent theme.
Author: 1 Stop
*/

/* ==========================================================================
   Auto Sales 1: design layer 1.4.0
   Presentation only. No wording, links or content order change.
   Mirrors the cr1stop.com 3.1/3.2 design pass, in Auto Sales 1's own colours.
   ========================================================================== */

/* ---- Footer: one finished dark band, disclosures and resources included -- */
.as1-footer { padding-bottom: 0; }
.as1-footer-grid { grid-template-columns: 1.4fr 1fr 1fr; padding-bottom: 2rem; }
.as1-footer-legal { border-top: 1px solid rgba(255,255,255,.08); padding: 1.25rem 0 1.5rem; font-size: .85rem; color: #8b919c; }
body > #customer-reporting-notice,
body > .ost-resources { margin: 0 !important; background: #0b0d10; color: #aab0bb; font-size: .88rem; }
body > #customer-reporting-notice { padding: 1.25rem 1rem .25rem !important; }
body > .ost-resources { padding: .5rem 1rem 1.75rem !important; gap: .5rem 1.25rem !important; }
body > #customer-reporting-notice a,
body > .ost-resources a { color: #d9dce2; text-decoration: none; }
body > #customer-reporting-notice a:hover,
body > .ost-resources a:hover { color: #ff8a8f; text-decoration: underline; }

/* ---- Language switcher: off the page content, into the footer band ------ */
.gtranslate_wrapper { display: flex; justify-content: center; background: #0b0d10; padding: .5rem 1rem .75rem; }
.gtranslate_wrapper .gt_switcher_wrapper { position: static !important; display: flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: 6px 12px; background: transparent; color: #aab0bb; border: 0; box-shadow: none; padding: 0; max-width: 100%; }
.gtranslate_wrapper .gt_switcher_wrapper::before { margin: 0; color: #aab0bb; font: 500 14px/1.4 var(--as1-body, "Barlow", system-ui, sans-serif); }
.gtranslate_wrapper .gt_switcher_wrapper .gt_selector { min-height: 44px; font: 15px var(--as1-body, "Barlow", system-ui, sans-serif); border-radius: 8px; }

/* ---- Visit / message section: matched panels ----------------------------- */
.as1-visit { align-items: start; border-top: 4px solid var(--as1-red, #d7262e); }

/* ---- Phone: keep the last footer links clear of the pinned bar ----------- */
@media (max-width: 900px) {
	body > .ost-resources:last-of-type { padding-bottom: calc(5.5rem + env(safe-area-inset-bottom)) !important; }
	.as1-footer-grid { grid-template-columns: 1fr 1fr; }
	.as1-footer-grid > div:first-child { grid-column: 1 / -1; }
}
