/* AutoHarbor / CCI global light theme.
 * This layer changes presentation only. Dynamic queries, filters, templates,
 * links and Elementor document structures remain unchanged.
 */
:root{
  --ah-light-bg:#fff;
  --ah-light-alt:#f7f8f8;
  --ah-light-panel:#fff;
  --ah-light-text:#111;
  --ah-light-muted:#60676b;
  --ah-light-line:#e5e7e8;
  --ah-light-green:#8fe600;
  --ah-light-green-dark:#5f9f00;
  --ah-light-shadow:0 2px 12px rgba(17,24,39,.045);
}

/* Every public page now follows the homepage palette. */
body:not(.wp-admin){background:var(--ah-light-bg)!important;color:var(--ah-light-text)!important}
body:not(.wp-admin) #page,
body:not(.wp-admin) #content,
body:not(.wp-admin) main,
body:not(.wp-admin) .site-main,
body:not(.wp-admin) .elementor-location-single,
body:not(.wp-admin) .elementor-location-single>.elementor-element{background:var(--ah-light-bg)!important}
body:not(.wp-admin) h1,body:not(.wp-admin) h2,body:not(.wp-admin) h3,body:not(.wp-admin) h4,
body:not(.wp-admin) .elementor-heading-title{color:var(--ah-light-text)!important}
body:not(.wp-admin) p{color:var(--ah-light-muted)}
body:not(.wp-admin) a:focus-visible,body:not(.wp-admin) button:focus-visible,body:not(.wp-admin) input:focus-visible,body:not(.wp-admin) select:focus-visible{outline:2px solid var(--ah-light-green-dark);outline-offset:2px}

/* One white Global Header across Home, Inventory, Single, Blog, News and pages. */
html body:not(.wp-admin)>.elementor-62,
html body:not(.wp-admin) .elementor-location-header{
  position:relative!important;inset:auto!important;top:auto!important;left:auto!important;
  z-index:50!important;width:100%!important;min-height:84px!important;
  background:#fff!important;border-bottom:1px solid var(--ah-light-line)!important;
  box-shadow:0 1px 6px rgba(17,24,39,.035)!important;transform:none!important;
}
html body:not(.wp-admin) .ah-global-header{background:#fff!important;border:0!important}
html body:not(.wp-admin) .ah-main-menu a{color:#111!important}
html body:not(.wp-admin) .ah-main-menu a:hover,
html body:not(.wp-admin) .ah-main-menu .current-menu-item>a{color:var(--ah-light-green-dark)!important}
html body:not(.wp-admin) .ah-global-header .elementor-widget-button:nth-last-child(2) .elementor-button{
  background:#fff!important;color:#111!important;border-color:#cfd4d7!important;box-shadow:none!important
}
html body:not(.wp-admin) .ah-global-header .elementor-widget-button:last-child .elementor-button{
  background:var(--ah-light-green)!important;color:#071007!important;border-color:var(--ah-light-green)!important;box-shadow:none!important
}
html body:not(.wp-admin) .ah-menu-toggle{background:#fff!important;color:#111!important;border-color:#cfd4d7!important}
html body:not(.wp-admin) .ah-main-menu>ul>li>.sub-menu{background:#fff!important;border-color:var(--ah-light-line)!important;box-shadow:0 12px 28px rgba(17,24,39,.12)!important}
html body:not(.wp-admin) .ah-main-menu .sub-menu a{color:#222!important}

/* Internal-page hero: same bright export context and readable left column. */
body:not(.home):not(.single-ah_vehicle) .ah-page-hero{
  background-image:linear-gradient(90deg,rgba(255,255,255,.98) 0%,rgba(255,255,255,.9) 34%,rgba(255,255,255,.22) 68%,rgba(255,255,255,.04)),url('images/hero-port-cars-light.png')!important;
  background-color:#eef6fb!important;background-position:center 58%!important;background-size:cover!important;
  border-bottom:1px solid #edf0f1!important
}
body:not(.home):not(.single-ah_vehicle) .ah-page-hero h1{color:#111!important;text-shadow:none!important}
body:not(.home):not(.single-ah_vehicle) .ah-page-hero p{color:#444b50!important}
body:not(.home):not(.single-ah_vehicle) .ah-page-hero .ah-eyebrow,
body:not(.home):not(.single-ah_vehicle) .ah-page-hero small{color:var(--ah-light-green-dark)!important}
body:not(.home) .ah-inventory-breadcrumb,body:not(.home) .ah-vehicle-breadcrumb{color:#697176!important}
body:not(.home) .ah-inventory-breadcrumb a,body:not(.home) .ah-vehicle-breadcrumb a{color:#30373b!important}
body:not(.home) .ah-inventory-breadcrumb a:hover,body:not(.home) .ah-vehicle-breadcrumb a:hover{color:var(--ah-light-green-dark)!important}

/* Shared internal sections and content cards. */
body:not(.home) .ah-main-content{background:#fff!important}
body:not(.home) .ah-panel,body:not(.home) .ah-search-panel,body:not(.home) .ah-results aside,
body:not(.home) .ah-post-card,body:not(.home) .ah-news,body:not(.home) .ah-contact-grid>.ah-panel{
  background:#fff!important;border-color:var(--ah-light-line)!important;color:#111!important;box-shadow:var(--ah-light-shadow)!important
}
body:not(.home) .ah-section-head>a,body:not(.home) .ah-btn-outline{
  background:#fff!important;color:#111!important;border-color:#cfd4d7!important
}
body:not(.home) .ah-btn,body:not(.home) .elementor-button,body:not(.home) .wpforms-submit{
  background:var(--ah-light-green)!important;color:#071007!important;border-color:var(--ah-light-green)!important;box-shadow:none!important
}

/* Inventory search, filters, toolbar and vehicle cards. */
body.page-id-52 .ah-inventory,body.page-id-52 .ah-main-content,body.page-id-52 .ah-results{background:#fff!important;color:#111!important}
body.page-id-52 .ah-inventory-search,body.page-id-52 .ah-search-panel,body.page-id-52 .ah-results aside,
body.page-id-52 .ah-inventory-benefits,body.page-id-52 .ah-inventory-cta{
  background:#fff!important;border-color:var(--ah-light-line)!important;box-shadow:var(--ah-light-shadow)!important
}
body.page-id-52 input,body.page-id-52 select,body.page-id-52 .ah-sort-wrap,
body.page-id-52 .ah-view-toggle button{
  background-color:#fff!important;color:#111!important;border-color:#cfd4d7!important
}
body.page-id-52 input::placeholder{color:#767d81!important;opacity:1}
body.page-id-52 select option{background:#fff!important;color:#111!important}
body.page-id-52 select option:checked{background:#eaf8d7!important;color:#3f6e00!important}
body.page-id-52 .ah-active-filters{border-color:var(--ah-light-line)!important;color:#62696e!important}
body.page-id-52 .ah-active-filters span{background:#f2f4f4!important;color:#30373b!important;border-color:#dfe3e5!important}
body.page-id-52 .ah-results aside h3,body.page-id-52 .ah-results aside h4,
body.page-id-52 .ah-results aside label,body.page-id-52 .ah-result-toolbar,
body.page-id-52 .ah-results main>h2{color:#111!important}
body.page-id-52 .ah-filter-group{border-color:var(--ah-light-line)!important}
body.page-id-52 .ah-filter-group label{color:#4f575c!important}
body.page-id-52 .ah-reset-all{background:#fff!important;color:#111!important;border-color:#aeb6ba!important}
body.page-id-52 .ah-vehicle-card{background:#fff!important;border-color:var(--ah-light-line)!important;box-shadow:var(--ah-light-shadow)!important}
body.page-id-52 .ah-card-img{background-color:#f7f8f8!important}
body.page-id-52 .ah-card-body h3,body.page-id-52 .ah-card-body h3 a{color:#111!important}
body.page-id-52 .ah-card-body p{color:#61696e!important}
body.page-id-52 .ah-price-row strong{color:#111!important}
body.page-id-52 .ah-price-row small{color:var(--ah-light-green-dark)!important}
body.page-id-52 .ah-pagination .page-numbers{background:#fff!important;color:#111!important;border-color:#cfd4d7!important}
body.page-id-52 .ah-pagination .current{background:var(--ah-light-green)!important;color:#071007!important;border-color:var(--ah-light-green)!important}
body.page-id-52 .ah-inventory-benefits article{background:#fff!important;border-color:var(--ah-light-line)!important}
body.page-id-52 .ah-inventory-benefits strong{color:#111!important}
body.page-id-52 .ah-inventory-benefits span,body.page-id-52 .ah-inventory-cta p{color:#62696e!important}

/* The formal Single Vehicle template keeps its structure and lightbox logic. */
body.single-ah_vehicle,body.single-ah_vehicle .ah-main-content{background:#fff!important;color:#111!important}
body.single-ah_vehicle .ah-detail-formal{color:#111!important}
body.single-ah_vehicle .ah-formal-summary{background:#fff!important;color:#111!important}
body.single-ah_vehicle .ah-formal-summary h1,body.single-ah_vehicle .ah-formal-summary label,
body.single-ah_vehicle .ah-formal-summary strong,body.single-ah_vehicle .ah-formal-summary b{color:#111!important}
body.single-ah_vehicle .ah-formal-summary p,body.single-ah_vehicle .ah-formal-status span{color:#62696e!important}
body.single-ah_vehicle .ah-formal-status b{background:#eff9df!important;color:#4a7c00!important;border:1px solid #cfe8aa!important}
body.single-ah_vehicle .ah-formal-quick-specs{border-color:var(--ah-light-line)!important}
body.single-ah_vehicle .ah-formal-quick-specs span{border-color:var(--ah-light-line)!important}
body.single-ah_vehicle .ah-formal-quick-specs small{color:#737b80!important}
body.single-ah_vehicle .ah-formal-quick-specs b{color:#111!important}
body.single-ah_vehicle .ah-detail-formal>.ah-panel{background:#fff!important;border-color:var(--ah-light-line)!important;box-shadow:var(--ah-light-shadow)!important}
body.single-ah_vehicle .ah-formal-specifications>div{border-color:var(--ah-light-line)!important}
body.single-ah_vehicle .ah-formal-specifications span{border-color:var(--ah-light-line)!important}
body.single-ah_vehicle .ah-formal-specifications small{color:#6a7277!important}
body.single-ah_vehicle .ah-formal-specifications b{color:#111!important}
body.single-ah_vehicle .ah-formal-photo-grid img,body.single-ah_vehicle .ah-main-photo>img,body.single-ah_vehicle .ah-thumbs img{background:#f1f3f4!important}
body.single-ah_vehicle .ah-formal-calculator{background:#f7f8f8!important}
body.single-ah_vehicle .ah-formal-calculator h2,body.single-ah_vehicle .ah-formal-calculator strong{color:#111!important}
body.single-ah_vehicle .ah-formal-calculator small,body.single-ah_vehicle .ah-formal-calculator em{color:#62696e!important}
body.single-ah_vehicle .ah-formal-calculator>a{background:#fff!important;border-color:#9bd83f!important;color:#111!important}
body.single-ah_vehicle .ah-formal-related-grid>a{background:#fff!important;border-color:var(--ah-light-line)!important;box-shadow:var(--ah-light-shadow)!important}
body.single-ah_vehicle .ah-formal-related-grid h3{color:#111!important}
body.single-ah_vehicle .ah-formal-related-grid p{color:#62696e!important}
body.single-ah_vehicle .ah-formal-related-grid strong,body.single-ah_vehicle .ah-formal-section-head>a{color:var(--ah-light-green-dark)!important}
/* Full-screen image viewing intentionally remains dark for contrast. */
body.single-ah_vehicle .ah-vehicle-lightbox{background:rgba(0,0,0,.95)!important;color:#fff!important}

/* Blog, News, About and Contact. */
body.page-id-53 .ah-post-card,body.page-id-54 .ah-news-list,
body.page-id-55 .ah-panel,body.page-id-56 .ah-panel{background:#fff!important;border-color:var(--ah-light-line)!important}
body.page-id-53 .ah-post-card h3,body.page-id-53 .ah-post-card h3 a,
body.page-id-54 .ah-news-list h3,body.page-id-54 .ah-news-list h3 a{color:#111!important}
body.page-id-53 .ah-post-card p,body.page-id-54 .ah-news-list p{color:#62696e!important}
body.page-id-53 .ah-post-card time,body.page-id-54 .ah-news-list time{color:#7a8287!important}
body.page-id-53 .ah-post-card small,body.page-id-53 .ah-post-card>div>a:last-child,
body.page-id-54 .ah-news-list small,body.page-id-54 .ah-news-list article>a{color:var(--ah-light-green-dark)!important}
body.page-id-54 .ah-news-list,body.page-id-54 .ah-news-list article{border-color:var(--ah-light-line)!important}
body.page-id-55 .ah-panel p,body.page-id-56 .ah-panel p{color:#62696e!important}
body.page-id-56 .wpforms-container input,body.page-id-56 .wpforms-container textarea,body.page-id-56 .wpforms-container select{
  background:#fff!important;border-color:#cfd4d7!important;color:#111!important
}
body.page-id-56 .wpforms-container input::placeholder,body.page-id-56 .wpforms-container textarea::placeholder{color:#7a8287!important}
body.page-id-56 .wpforms-container label{color:#222!important}

/* One white Global Footer across the complete site. */
body:not(.wp-admin) .ah-footer{background:#fff!important;border-top:1px solid var(--ah-light-line)!important;color:#111!important}
body:not(.wp-admin) .ah-footer .ah-logo{color:#111!important}
body:not(.wp-admin) .ah-footer-grid h4{color:#343a3e!important}
body:not(.wp-admin) .ah-footer-grid p,body:not(.wp-admin) .ah-footer-grid a{color:#555d62!important}
body:not(.wp-admin) .ah-footer-grid a:hover,body:not(.wp-admin) .ah-copyright a:hover{color:var(--ah-light-green-dark)!important}
body:not(.wp-admin) .ah-social a{background:#fff!important;color:#111!important;border-color:#d8dcdf!important}
body:not(.wp-admin) .ah-social img{filter:brightness(0)!important}
body:not(.wp-admin) .ah-copyright{border-color:var(--ah-light-line)!important;color:#72797e!important}
body:not(.wp-admin) .ah-copyright a{color:#555d62!important}

@media(max-width:820px){
  html body:not(.wp-admin) .ah-main-menu.open{background:#fff!important;border-bottom:1px solid var(--ah-light-line)!important;box-shadow:0 10px 25px rgba(17,24,39,.08)!important}
  body:not(.home):not(.single-ah_vehicle) .ah-page-hero{background-position:62% 58%!important}
  body.single-ah_vehicle .ah-formal-top{gap:24px!important}
}
@media(max-width:560px){
  html body:not(.wp-admin)>.elementor-62,html body:not(.wp-admin) .elementor-location-header{min-height:70px!important}
  body:not(.home):not(.single-ah_vehicle) .ah-page-hero{background-position:64% bottom!important;background-size:auto 100%!important}
  body.single-ah_vehicle .ah-main-content{padding-top:22px!important}
}

/* Inventory search controls: match the white primary search field. */
body.page-id-52 .ah-search-selects label{
  background:#fff!important;border:1px solid #cfd4d7!important;border-radius:3px!important
}
body.page-id-52 .ah-search-selects label small,
body.page-id-52 .ah-search-selects label>span{color:#555d62!important}
body.page-id-52 .ah-search-selects label select{
  background:#fff!important;color:#111!important;border:0!important;box-shadow:none!important
}
body.page-id-52 .ah-reset-top{
  display:flex!important;align-items:center!important;justify-content:center!important;
  min-height:52px!important;padding:0 14px!important;background:var(--ah-light-green)!important;
  color:#071007!important;border:1px solid var(--ah-light-green)!important;border-radius:3px!important;
  font-size:14px!important;font-weight:800!important;line-height:1!important;text-decoration:none!important
}
