
/* Carbon weave and metallic performance stripes. */
.header-focus {
 background-color:#1c1d20 !important;
 background-image:linear-gradient(115deg,rgba(255,255,255,.09),transparent 55%),repeating-linear-gradient(45deg,#151619 0,#151619 3px,#292b30 3px,#292b30 6px),repeating-linear-gradient(-45deg,transparent 0,transparent 3px,rgba(0,0,0,.5) 3px,rgba(0,0,0,.5) 6px) !important;
 background-blend-mode:normal,overlay,normal;
 border-top:3px solid #aeb3ba;
}
.header-focus .header-logo-link { display:flex;align-items:center;gap:14px;border-left:0;padding-left:0; }
.header-focus .header-logo-link::before { content:'';display:block;flex:0 0 58px;height:32px;transform:skew(-22deg);background:repeating-linear-gradient(90deg,#f0f2f5 0,#aeb4bd 7px,transparent 7px,transparent 12px); }
.header-focus .header-h1 { font-size:24px !important;letter-spacing:1.5px;font-weight:900; }
nav.ap-menu { padding:0 16px; }
nav.ap-menu a,nav.ap-menu summary { padding:13px 14px;font-size:12px; }
.ap-hero {min-height:0 !important;height:170px;background-position:center 58% !important;}
.ap-hero .ap-wrap {padding:18px 24px;}
.ap-hero h1 {font-size:28px;max-width:420px;margin:4px 0 8px;line-height:1.1;}
.ap-hero p {font-size:14px;max-width:360px;margin:0 0 8px;}
.ap-hero .ap-btn {padding:9px 15px;font-size:11px;background:#c7172b;}
#inventory.ap-wrap {padding-top:18px;padding-bottom:24px;}
#inventory > h2 {font-size:25px;margin:0 0 6px;}
#inventory > p {font-size:14px;margin:0 0 14px;}
@media(max-width:600px){
.header-focus .header-h1 {font-size:19px !important;}
.header-focus .header-logo-link::before {flex-basis:38px;height:25px;}
.ap-hero {height:150px;}
.ap-hero h1 {font-size:23px;max-width:230px;}
.ap-hero p {max-width:210px;font-size:12px;}
nav.ap-menu a,nav.ap-menu summary {padding:10px 8px;font-size:11px;}
}

body .header-focus {background-image:repeating-linear-gradient(45deg,#17181b 0,#17181b 3px,#303238 3px,#303238 6px),repeating-linear-gradient(-45deg,transparent 0,transparent 3px,#0008 3px,#0008 6px) !important;background-color:#24262b !important;background-size:9px 9px !important;}
body .header-focus .header-logo-link {border-left:0 !important;}
body .ap-hero {height:130px !important;}
body .ap-hero h1 {font-size:26px !important;max-width:390px !important;margin:4px 0 6px !important;line-height:1.1 !important;}
body .ap-hero p {font-size:13px !important;margin:0 0 6px !important;}
body .ap-hero .ap-wrap {padding:12px 24px !important;}
#inventory > p {display:none;}
#inventory .archive-listing-page {padding-top:0 !important;margin-top:0 !important;}
@media(max-width:600px){body .ap-hero h1{font-size:20px !important;max-width:210px !important;}body .ap-hero {height:140px !important;}}

body .header-focus .header-container {height:72px !important;min-height:72px !important;}
body .header-focus {background-image:linear-gradient(27deg,#16171a 25%,transparent 25%),linear-gradient(207deg,#16171a 25%,transparent 25%),linear-gradient(27deg,transparent 75%,#34363c 75%),linear-gradient(207deg,transparent 75%,#34363c 75%),linear-gradient(90deg,#24262b 50%,#1c1e22 50%) !important;background-size:12px 12px !important;background-position:0 0,6px 6px,6px 6px,0 0,0 0 !important;background-blend-mode:normal !important;}
body .ap-hero {height:110px !important;}
body .ap-hero .ap-wrap {padding:8px 24px !important;}
body .ap-hero h1{font-size:24px !important;}
body .ap-hero p:first-child {display:none;}
body .ap-hero .ap-btn{padding:7px 13px !important;}
@media(max-width:600px){body .ap-hero {height:130px !important;}body .header-focus .header-container{height:auto !important;min-height:72px !important;}}

/* Refined showroom: calm charcoal surrounds and clear vehicle cards. */
body.home {background:#171b21 !important;}
body.home .ap-motors > section.ap-wrap {background:#f3f5f7 !important;color:#343b45;}
body.home .ap-motors > section.ap-wrap h2,body.home .ap-motors > section.ap-wrap h3 {color:#171b21 !important;}
body.home #inventory {background:#f5f6f8 !important;border-top:0;}
body.home #inventory .archive-listing-page_content,body.home #inventory .archive-listing-page_content h3 {color:#252b34 !important;}
body.home #inventory .stm-directory-grid-loop {background:#fff !important;border:1px solid #dce1e7;border-radius:8px;box-shadow:0 5px 18px #0000000d;overflow:hidden;}
body.home .ap-motors > section[style*='background:#f0f3f5'] {background:#e9edf2 !important;color:#343b45;}
body.home .ap-motors > section[style*='background:#f0f3f5'] h2 {color:#171b21 !important;}
body.home .ap-motors > section[style*='background:#f0f3f5'] a:not(.ap-btn) {color:#a6192d;}
body.home #specialist-services {background:linear-gradient(90deg,rgba(8,13,22,.94),rgba(8,13,22,.82)),url('https://apexgroupi.com/wp-content/uploads/2026/10/AMG-Night-Drive-Cockpit.png') center/cover no-repeat !important;color:#e2e8f0;}
body.home #specialist-services h2,body.home #specialist-services h3 {color:#fff !important;}
body.home #specialist-services .ap-features {gap:24px;}
body.home #specialist-services .ap-features > div {background:#111a25a6;border:1px solid #ffffff20;padding:20px;border-radius:6px;}
body.home .ap-panel:first-child {background:#b91c30 !important;}
body.home .ap-panel h3 {color:#fff !important;}
body.home .ap-btn {background:#bb1d31 !important;}
body.home .ap-icon {color:#b91c30 !important;}

body .header-focus .header-h1 {color:#f2f4f7 !important;font-style:italic;letter-spacing:1px;}
body .header-focus .header-phone-label,body .header-focus .header-main-phone-label {color:#f45b69 !important;}
body .header-focus {border-top:3px solid #b51d30;}
body .header-focus .header-nav,body.home nav.ap-menu {background:#b51d30 !important;}
body .header-focus .header-menu > li > a,body.home nav.ap-menu > a,body.home nav.ap-menu p > a,body.home nav.ap-menu summary {color:#fff !important;}
body.home #specialist-services h2,body.home #specialist-services h3 {color:#fff !important;}

/* Faint dashboard atmosphere in the charcoal surrounds. */
body.home {background-color:#171b21 !important;background-image:linear-gradient(rgba(17,22,30,.91),rgba(17,22,30,.91)),url('https://apexgroupi.com/wp-content/uploads/2026/10/AMG-Night-Drive-Cockpit.png') !important;background-position:center,center 38% !important;background-size:cover,cover !important;background-repeat:no-repeat !important;background-attachment:fixed !important;}
@media(max-width:768px){body.home {background-attachment:scroll !important;}}

/* Keep navigation rows above page content. */
@media(min-width:1025px){body .header-focus{height:auto !important;}body .header-focus .header-nav{position:relative !important;top:auto !important;bottom:auto !important;left:auto !important;right:auto !important;width:100%;}}
body .ap-shop-nav{display:none !important;}
body .header-focus .header-menu > li.current-menu-item > a{background:#7f1524 !important;color:#fff !important;}

body .header-focus .header-menu > li.current-menu-item{background:#7f1524 !important;}

/* Graphite, silver and burgundy finish. */
body .header-focus .header-nav,body.home nav.ap-menu {background:linear-gradient(100deg,#20252d,#303640) !important;border-bottom:3px solid #7e2135 !important;}
body .header-focus .header-menu > li > a,body.home nav.ap-menu a,body.home nav.ap-menu summary {color:#e6e9ee !important;}
body .header-focus .header-menu > li.current-menu-item,body .header-focus .header-menu > li.current-menu-item > a,body .header-focus .header-menu > li:hover > a {background:#702033 !important;color:#fff !important;}
body.home nav.ap-menu > a:hover,body.home nav.ap-menu summary:hover {background:#702033 !important;color:#fff !important;}
body .header-focus {border-top-color:#7e2135 !important;}
body .header-focus .header-phone-label,body .header-focus .header-main-phone-label {color:#d7a4b0 !important;}
body.home .ap-btn,body.home .ap-panel:first-child,body .woocommerce a.button,body .woocommerce button.button,body .woocommerce input.button {background:#702033 !important;color:#fff !important;border-radius:4px !important;}
body .woocommerce a.button:hover,body .woocommerce button.button:hover {background:#531626 !important;}
body.woocommerce,body.woocommerce-page {background:linear-gradient(rgba(19,24,32,.94),rgba(19,24,32,.94)),url('https://apexgroupi.com/wp-content/uploads/2026/10/AMG-Night-Drive-Cockpit.png') center/cover fixed no-repeat !important;}
body.woocommerce #wrapper,body.woocommerce-page #wrapper,body.woocommerce #main,body.woocommerce-page #main {background:transparent !important;}
body.woocommerce #main > .container,body.woocommerce-page #main > .container {background:#f5f6f8;border-radius:6px;padding-top:28px;padding-bottom:28px;margin-top:24px;margin-bottom:32px;}
body .ap-shop-hero {border-left-color:#702033 !important;}
body .woocommerce span.onsale {background:#702033 !important;color:#fff !important;}
body .woocommerce .price,body .woocommerce .price ins {color:#702033 !important;}
@media(max-width:768px){body.woocommerce,body.woocommerce-page{background-attachment:scroll !important;}}

body.woocommerce #mst-wrapper .mst-wrapper-inner > .container,body.woocommerce-page #mst-wrapper .mst-wrapper-inner > .container {background:#f5f6f8;border-radius:6px;margin-top:24px;margin-bottom:32px;padding-top:24px;padding-bottom:28px;}
body .ap-shop{background:#f5f6f8;border-radius:6px;margin-top:24px;margin-bottom:32px;}
