/*
Theme Name: SP7 Pro Elementor
Theme URI: https://sp7autotyres.ae/
Author: SP7 Auto Tyres
Description: Elementor-ready classic theme with shared header/footer, editable menus, blog templates and original SP7 visuals.
Version: 5.0.0
Requires PHP: 7.4
Text Domain: sp7-pro
*/
body{margin:0;background:#fff;color:#16181a} .sp7-editor-area{min-height:35vh} .sp7-editor-area:empty{min-height:0} .sp7-pro-blog{max-width:1160px;margin:0 auto;padding:65px 22px} .sp7-pro-blog h1{font-size:clamp(2rem,5vw,4rem)} .sp7-post-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:24px} .sp7-post-card{background:#18181b;border:1px solid #343439;padding:22px} .sp7-post-card a{color:#fff} .sp7-post-card img{max-width:100%;height:auto} .sp7-pro-blog p{line-height:1.7} .sp7-entry-content img{max-width:100%;height:auto} .sp7-entry-content a{color:#ef3747} .sp7-pro-blog .pagination a{color:#fff} nav.SiteHeader-module_deskNav_X9Ihb ul{display:flex;gap:24px;align-items:center;margin:0;padding:0;list-style:none} nav.SiteHeader-module_deskNav_X9Ihb li{list-style:none} nav.SiteHeader-module_deskNav_X9Ihb a{color:inherit;text-decoration:none;font-weight:600} nav.SiteHeader-module_deskNav_X9Ihb a:hover{color:#e21c2a} #mobile-nav a{color:#151515!important} .sp7-pro-blog h1,.sp7-pro-blog h2{color:#fff} @media(max-width:1000px){nav.SiteHeader-module_deskNav_X9Ihb ul{display:none}}

.SiteFooter-module_links_oVEHw ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}.SiteFooter-module_links_oVEHw li{list-style:none}.SiteFooter-module_links_oVEHw a{color:inherit;text-decoration:none}

/* SP7 2.1 — restore original design typography when Elementor global styles are enabled. */
body .sp7-editor-area{color:var(--ink,#16181a);background:#fff;font-family:var(--font-body,"Barlow",sans-serif)}
body .sp7-editor-area .elementor-widget-html,body .sp7-editor-area .elementor-widget-container{color:inherit}
body .sp7-editor-area :is(.TyreServices-module_tyres_KxePF,.Services-module_services_){color:var(--ink,#16181a)}
body .sp7-editor-area .TyreServices-module_tyres_KxePF{background:var(--surface,#f4f4f5);color:var(--ink,#16181a)}
body .sp7-editor-area .TyreServices-module_tyres_KxePF :is(h1,h2,h3,h4,.sectionTitle,.TyreServices-module_title_gfAO9,.TyreServices-module_checklist_isVdM,.TyreServices-module_cardName_1lYGM){color:#16181a!important;font-family:var(--font-heading,"Barlow Condensed",sans-serif)}
body .sp7-editor-area .TyreServices-module_tyres_KxePF :is(.TyreServices-module_lede_B-DWE,.TyreServices-module_cardDesc_B-0aT){color:#505156!important}
body .sp7-editor-area .TyreServices-module_tyres_KxePF .TyreServices-module_cta_-742x,body .sp7-editor-area .TyreServices-module_tyres_KxePF .TyreServices-module_cta_-742x :is(h1,h2,h3,p,span){color:#fff!important}
body .sp7-editor-area .TyreServices-module_tyres_KxePF .TyreServices-module_cta_-742x .btn--light{color:#16181a!important}
body .sp7-editor-area .TyreServices-module_tyres_KxePF .kicker{color:var(--color-accent,#d8232a)!important}
body .sp7-editor-area .TyreServices-module_tyres_KxePF .TyreServices-module_card_4Jv5c{background:#fff;color:#16181a}
body .sp7-editor-area .section:not([class*="dark"]):not([class*="Dark"]){font-family:var(--font-body,"Barlow",sans-serif)}
body .sp7-editor-area .sectionTitle{font-family:var(--font-heading,"Barlow Condensed",sans-serif);font-style:italic;font-weight:600;line-height:1.02}
body .sp7-editor-area .kicker{font-family:var(--font-heading,"Barlow Condensed",sans-serif);color:var(--color-accent,#d8232a)}
body .sp7-editor-area .shell{width:100%;max-width:var(--shell-max,1280px)}
body .sp7-editor-area .elementor-element:has(>.elementor-widget-container>main),body .sp7-editor-area .elementor-widget-html:has(main){width:100%;max-width:none}
body .sp7-editor-area .elementor-widget-html .elementor-widget-container{margin:0;padding:0}

/* v3: isolate imported site styles from Elementor's global heading/text styles */
.sp7-editor-area {width:100%;max-width:none;margin:0;padding:0;overflow:clip;--ink:#16181a;--surface:#f4f4f5;--font-heading:"Barlow Condensed",sans-serif;--font-body:"Barlow",sans-serif}
.sp7-editor-area .elementor,.sp7-editor-area .e-con,.sp7-editor-area .e-con-inner,.sp7-editor-area .elementor-widget-wrap,.sp7-editor-area .elementor-widget-html,.sp7-editor-area .elementor-widget-container{max-width:none;min-width:0}
.sp7-editor-area .elementor-widget-html,.sp7-editor-area .elementor-widget-html>.elementor-widget-container{width:100%;margin:0;padding:0}
.sp7-editor-area .elementor-widget-html :is(h1,h2,h3,h4,h5,h6){font-family:var(--font-heading)!important;font-weight:600;line-height:1.08;margin-top:0}
.sp7-editor-area .elementor-widget-html :is(p,li){font-family:var(--font-body)}
.sp7-editor-area .elementor-widget-html .TyreServices-module_tyres_KxePF :is(h1,h2,h3,h4,h5,h6,.sectionTitle,.TyreServices-module_title_gfAO9,.TyreServices-module_checklist_isVdM,.TyreServices-module_checklist_isVdM li){color:#16181a!important}
.sp7-editor-area .elementor-widget-html .TyreServices-module_tyres_KxePF .TyreServices-module_cta_-742x :is(h1,h2,h3,h4,h5,h6,p,li,span){color:#fff!important}
.sp7-editor-area .elementor-widget-html .TyreServices-module_tyres_KxePF .kicker{color:#d8232a!important}
.sp7-editor-area .elementor-widget-html .TyreServices-module_tyres_KxePF :is(.TyreServices-module_lede_B-DWE,.TyreServices-module_cardDesc_B-0aT){color:#4f5155!important}
.sp7-editor-area .elementor-widget-html .TyreServices-module_tyres_KxePF .TyreServices-module_card_4Jv5c :is(h2,h3,h4){color:#16181a!important}
.sp7-editor-area .elementor-widget-html .TyreServices-module_tyres_KxePF .btn--light{color:#16181a!important}
.sp7-editor-area .elementor-widget-html .TyreServices-module_tyres_KxePF .TyreServices-module_cta_-742x .btn--light{color:#16181a!important}
.sp7-editor-area .elementor-widget-html :is(.Hero-module_hero_EOciA,.About-module_about_,.SiteFooter-module_footer_) :is(h1,h2,h3,h4){color:#fff}
.sp7-editor-area .elementor-widget-html .shell{max-width:var(--shell-max,1280px);margin-left:auto;margin-right:auto}
.sp7-editor-area .elementor-widget-html img{height:auto;max-width:100%}
.sp7-editor-area .elementor-widget-html .Hero-module_backdrop_e8ypO{height:100%;max-width:none}
/* Shared navigation stays in one place, managed through Appearance > Menus. */
nav.SiteHeader-module_deskNav_X9Ihb ul.sp7-pro-menu{display:flex;align-items:center;gap:clamp(12px,1.5vw,24px);margin:0;padding:0;list-style:none}
nav.SiteHeader-module_deskNav_X9Ihb ul.sp7-pro-menu li{margin:0;padding:0;list-style:none}
nav.SiteHeader-module_deskNav_X9Ihb ul.sp7-pro-menu a{display:inline-flex;align-items:center;white-space:nowrap;font-family:var(--font-heading);font-size:15px;text-transform:uppercase;letter-spacing:.03em;font-weight:600;color:inherit}
nav.SiteHeader-module_deskNav_X9Ihb ul.sp7-pro-menu a:hover{color:#d8232a}
/* Fix default WordPress / Elementor page margins and accidental overflow */
body.elementor-page .sp7-editor-area .elementor-section-wrap,body.elementor-page .sp7-editor-area .elementor{width:100%}
.sp7-editor-area .elementor-widget-html .elementor-widget-container>main{display:block;width:100%}
.sp7-pro-blog{color:#16181a}.sp7-pro-blog :is(h1,h2,h3){color:#16181a}.sp7-pro-blog a{color:#d8232a}
@media(max-width:1024px){nav.SiteHeader-module_deskNav_X9Ihb ul.sp7-pro-menu{display:none}}
@media(max-width:767px){.sp7-editor-area .elementor-widget-html .shell{padding-left:16px;padding-right:16px}.sp7-editor-area .elementor-widget-html :is(h1,h2,h3){overflow-wrap:break-word}}

/* SP7 v4 — sticky navigation, accessible mobile menu, and reliable hero controls. */
header.SiteHeader-module_header_6cO89{position:sticky!important;top:0!important;z-index:9990!important;isolation:isolate;background:#fff;box-shadow:0 3px 18px rgba(0,0,0,.1)}
body.admin-bar header.SiteHeader-module_header_6cO89{top:32px!important}
@media(max-width:782px){body.admin-bar header.SiteHeader-module_header_6cO89{top:46px!important}}
header.SiteHeader-module_header_6cO89 .SiteHeader-module_headerInner_4matI{position:relative}
header.SiteHeader-module_header_6cO89 button.SiteHeader-module_burger_4firz{cursor:pointer;align-items:center;justify-content:center;min-width:44px;min-height:44px;border-radius:4px}
header.SiteHeader-module_header_6cO89 button.SiteHeader-module_burger_4firz:focus-visible{outline:3px solid #d8232a;outline-offset:3px}
.sp7-mobile-nav[hidden]{display:none!important}
.sp7-mobile-nav{position:absolute;top:100%;left:0;right:0;z-index:9999;background:#111216;color:#fff;box-shadow:0 18px 30px rgba(0,0,0,.28);padding:12px clamp(16px,5vw,32px) 22px;max-height:calc(100dvh - 90px);overflow-y:auto}
.sp7-mobile-nav ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:0}
.sp7-mobile-nav li{list-style:none;margin:0;border-bottom:1px solid rgba(255,255,255,.13)}
.sp7-mobile-nav a{display:block;padding:14px 6px;color:#fff!important;text-decoration:none!important;font-family:'Barlow Condensed',sans-serif;font-weight:700;font-size:18px;letter-spacing:.045em;text-transform:uppercase;line-height:1.3;transition:color .15s,background .15s}
.sp7-mobile-nav a:hover,.sp7-mobile-nav a:focus-visible{color:#ff4651!important;background:rgba(255,255,255,.05)}
.sp7-mobile-nav ul.sub-menu{padding-left:16px;border-left:2px solid #d8232a}
@media(min-width:1025px){.sp7-mobile-nav{display:none!important}}
section.Hero-module_hero_EOciA{position:relative;isolation:isolate}
section.Hero-module_hero_EOciA .Hero-module_backdrop_e8ypO{position:absolute;inset:0;width:100%;height:100%!important;max-width:none!important;object-fit:cover}
section.Hero-module_hero_EOciA button[aria-label^="Slide "]{cursor:pointer;min-width:12px;min-height:12px;touch-action:manipulation}
section.Hero-module_hero_EOciA button[aria-label^="Slide "]:focus-visible{outline:2px solid #fff;outline-offset:5px}
@media(prefers-reduced-motion:reduce){section.Hero-module_hero_EOciA .Hero-module_backdrop_e8ypO{transition:none!important}}

/* SP7 v5: fully editable Elementor header/footer templates */
.sp7-el-header{position:sticky;top:0;z-index:99990;background:#fff;box-shadow:0 4px 20px #0002;font-family:Barlow,sans-serif}
body.admin-bar .sp7-el-header{top:32px}
.sp7-el-topbar{background:#101114;color:#eee;padding:7px max(18px,calc((100vw - 1200px)/2));gap:12px;font-size:12px}
.sp7-el-topbar .elementor-widget-text-editor{width:auto!important;max-width:100%}
.sp7-el-topbar p{margin:0!important}
.sp7-el-topbar a{color:#fff;text-decoration:none}
.sp7-el-header-row{min-height:88px;padding:12px 24px;gap:18px;flex-wrap:nowrap!important}
.sp7-el-brand img{width:115px;max-height:72px;object-fit:contain}
.sp7-el-nav .elementor-icon-list-items{display:flex!important;flex-wrap:wrap;align-items:center;justify-content:center;gap:16px}
.sp7-el-nav .elementor-icon-list-item{margin:0!important;padding:0!important}
.sp7-el-nav .elementor-icon-list-text{color:#17181b!important;font-family:'Barlow Condensed',sans-serif;font-size:16px;font-weight:700;text-transform:uppercase;letter-spacing:.03em}
.sp7-el-nav a:hover .elementor-icon-list-text{color:#d8232a!important}
.sp7-el-header .elementor-button,.sp7-el-footer .elementor-button{background:#d8232a!important;color:#fff!important;border-radius:3px;font-family:'Barlow Condensed',sans-serif;font-size:15px;font-weight:700;letter-spacing:.04em;padding:14px 20px}
.sp7-el-header .elementor-button:hover,.sp7-el-footer .elementor-button:hover{background:#a91921!important}
.sp7-el-mobile-toggle,.sp7-el-mobile-nav{display:none!important}
.sp7-el-burger{display:flex;flex-direction:column;justify-content:center;gap:5px;width:46px;height:44px;border:1px solid #ddd;border-radius:4px;background:#fff;cursor:pointer;padding:10px}
.sp7-el-burger span{height:2px;width:100%;background:#18181b;display:block}
.sp7-el-footer{background:#111215;color:#e9e9e9;padding:60px 24px 0}
.sp7-el-footer-grid{display:grid!important;grid-template-columns:1.35fr 1fr 1fr 1.3fr;gap:30px}
.sp7-el-footer-col{min-width:0!important;width:auto!important}
.sp7-el-footer-col img{max-width:150px;object-fit:contain}
.sp7-el-footer h3{font-family:'Barlow Condensed',sans-serif;color:#fff!important;font-size:24px;font-weight:800;text-transform:uppercase}
.sp7-el-footer p,.sp7-el-footer a,.sp7-el-footer .elementor-widget-text-editor{color:#c9c9cb!important;font-size:15px;line-height:1.85}
.sp7-el-footer a{text-decoration:none}.sp7-el-footer a:hover{color:#ed3440!important}
.sp7-el-footer-bottom{border-top:1px solid #363638;margin-top:35px;padding:20px 0;text-align:center}
.sp7-el-footer-bottom p{margin:0}
@media(max-width:1024px){.sp7-el-nav,.sp7-el-cta{display:none!important}.sp7-el-mobile-toggle{display:flex!important;width:auto!important;margin-left:auto}.sp7-el-header-row{min-height:75px;justify-content:space-between}.sp7-el-mobile-nav.is-open{display:block!important;background:#151619;border-top:3px solid #d8232a;padding:12px 22px 22px}.sp7-el-mobile-nav .elementor-icon-list-items{display:flex!important;flex-direction:column;gap:0}.sp7-el-mobile-nav .elementor-icon-list-item{width:100%;border-bottom:1px solid #333!important;padding:0!important}.sp7-el-mobile-nav .elementor-icon-list-item a{display:block!important;padding:13px 5px!important}.sp7-el-mobile-nav .elementor-icon-list-text{font-family:'Barlow Condensed',sans-serif;font-weight:700;font-size:17px;text-transform:uppercase;color:#fff!important}.sp7-el-footer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:782px){body.admin-bar .sp7-el-header{top:46px}}
@media(max-width:640px){.sp7-el-topbar{display:none!important}.sp7-el-header-row{padding:10px 16px}.sp7-el-footer{padding:38px 20px 0}.sp7-el-footer-grid{grid-template-columns:1fr;gap:25px}.sp7-el-footer-col{width:100%!important}}
/* Sticky positioning belongs on the outer builder wrapper, not only its child. */
#masthead:has(.sp7-el-header),.hfe-site-header:has(.sp7-el-header),.elementor-location-header:has(.sp7-el-header),header:has(> .sp7-el-header){position:sticky!important;top:0!important;z-index:99990!important}
body.admin-bar #masthead:has(.sp7-el-header),body.admin-bar .hfe-site-header:has(.sp7-el-header),body.admin-bar .elementor-location-header:has(.sp7-el-header){top:32px!important}
@media(max-width:782px){body.admin-bar #masthead:has(.sp7-el-header),body.admin-bar .hfe-site-header:has(.sp7-el-header),body.admin-bar .elementor-location-header:has(.sp7-el-header){top:46px!important}}
