/* Existing footer text, links and destinations are retained. */
.ake-footer-ready{background:linear-gradient(135deg,#082333,#123f4b)!important;color:#e0edf0!important;border-top:3px solid #49baad;font-family:AKE-Yekan,Tahoma,sans-serif;direction:rtl}
.ake-footer-ready .main-footer{max-width:1240px!important;margin:auto;display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:28px;padding:30px 24px!important}
.ake-footer-ready .ake-footer-identity{grid-column:1/-1;width:100%!important;border-bottom:1px solid #ffffff25;padding-bottom:22px}
.ake-footer-ready .ake-footer-identity>.elementor-widget-wrap{display:grid!important;grid-template-columns:90px 1fr;gap:22px!important;align-items:center;padding:0!important}
.ake-footer-ready .ake-footer-identity .elementor-widget{margin:0!important;width:100%!important}
.ake-footer-ready .ake-footer-identity .wd-image img{width:86px;height:86px;object-fit:contain;background:#fff;border-radius:16px;padding:8px}
.ake-footer-ready .ake-footer-identity p{text-align:right!important;font-size:14px!important;line-height:1.9!important;color:#c3d9df!important;margin:0!important;max-width:900px}
.ake-footer-ready .ake-footer-identity .elementor-widget-wd_social_buttons{display:none}
.ake-footer-ready .elementor-8588{min-width:0}
.ake-footer-ready .elementor-8588>.elementor-top-section{margin:0!important;padding:0!important;background:none!important;width:100%!important;left:auto!important;right:auto!important}
.ake-footer-ready .elementor-8588>.elementor-top-section>.elementor-container{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 16px!important}
.ake-footer-ready .elementor-top-column{width:100%!important;min-width:0}
.ake-footer-ready .elementor-top-column>.elementor-widget-wrap{padding:0!important}
.ake-footer-ready .ake-footer-services{grid-column:1/-1}
.ake-footer-ready .ake-footer-services .sub-sub-menu{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 12px}
.ake-footer-ready ul{list-style:none!important;margin:0!important;padding:0!important}
.ake-footer-ready .mega-menu-list>li>a{font-size:16px!important;font-weight:700!important;color:#fff!important;display:block!important;margin:0 0 9px!important;padding:0 0 8px!important;border-bottom:1px solid #ffffff26;line-height:1.6!important}
.ake-footer-ready .sub-sub-menu a{font-size:13px!important;color:#c1d6dd!important;line-height:1.6!important;display:flex!important;align-items:center;min-height:42px;padding:7px 0!important;overflow-wrap:anywhere}
.ake-footer-ready .sub-sub-menu a:hover{color:#71e4d6!important}
.ake-footer-ready a:focus-visible,.ake-brand-filters button:focus-visible{outline:3px solid #67e2d4!important;outline-offset:3px}
.ake-footer-ready .copyrights-wrapper{border-top:1px solid #ffffff22;background:#061d29!important;padding:14px 22px!important;color:#b1cbd2!important}
.ake-footer-ready .copyrights-wrapper *{font-size:12px!important;line-height:1.8!important;color:#b1cbd2!important;text-align:center!important}
#ake-footer-brands{min-width:0;padding:20px;background:#ffffff08;border:1px solid #ffffff20;border-radius:20px;align-self:start;font-family:inherit}
#ake-footer-brands .ake-footer-kicker{font-size:10px;letter-spacing:2px;color:#72dece;margin-bottom:8px}
#ake-footer-brands h2{font-size:23px!important;line-height:1.5;color:#fff!important;margin:0 0 6px!important}
#ake-footer-brands p{font-size:13px;color:#bed4dc;margin:0 0 15px;line-height:1.7}
.ake-brand-filters{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:14px}
.ake-brand-filters[hidden]{display:none}
.ake-brand-filters button{border:1px solid #ffffff30;background:none;color:#d5e8ec;border-radius:8px;font:inherit;font-size:12px;min-height:38px;padding:6px 11px;cursor:pointer}
.ake-brand-filters button[aria-pressed=true]{background:#69d9c9;color:#082e39;border-color:#69d9c9}
.ake-footer-logo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.ake-footer-logo{display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:0;padding:10px 6px 7px;border:1px solid #e5eef0;background:#fff!important;border-radius:10px;box-shadow:0 5px 10px #00152118;text-decoration:none!important;transition:transform .18s}
.ake-footer-logo:hover{transform:translateY(-2px)}
.ake-footer-logo[hidden]{display:none!important}
.ake-logo-art{height:36px;width:100%;display:flex;align-items:center;justify-content:center;margin-bottom:5px}
.ake-logo-art img,.ake-logo-art svg{max-width:100%!important;width:auto!important;height:auto!important;max-height:36px!important;object-fit:contain}
.ake-footer-logo>span:last-child{font-family:Arial,sans-serif;font-size:10px;font-weight:600;text-align:center;color:#284556;line-height:1.3;overflow-wrap:anywhere}
.ake-all-brands{display:flex;align-items:center;justify-content:space-between;gap:8px;background:#61d2c0;color:#082f39!important;font-weight:700;font-size:13px;border-radius:10px;padding:12px;margin:15px 0 10px;text-decoration:none!important;line-height:1.8}
.ake-footer-brand-note{display:block;font-size:10px;line-height:1.8;color:#a9c4cd}
.ake-logos-relocated{display:none!important}
@media(max-width:767px){
 .ake-footer-ready .main-footer{display:flex!important;flex-direction:column;padding:24px 16px!important;gap:24px}
 .ake-footer-ready .ake-footer-identity>.elementor-widget-wrap{grid-template-columns:62px 1fr;gap:12px!important}
 .ake-footer-ready .ake-footer-identity .wd-image img{width:62px;height:62px;border-radius:12px;padding:5px}
 .ake-footer-ready .ake-footer-identity p{font-size:12px!important;line-height:1.85!important}
 .ake-footer-ready .elementor-8588>.elementor-top-section>.elementor-container{gap:18px 14px!important}
 .ake-footer-ready .mega-menu-list>li>a{font-size:15px!important}
 .ake-footer-ready .sub-sub-menu a{font-size:12px!important;min-height:42px}
 #ake-footer-brands{padding:16px}
 #ake-footer-brands h2{font-size:21px!important}
 .ake-footer-logo-grid{gap:6px}
 .ake-footer-logo{padding:8px 5px 6px}
 .ake-logo-art{height:31px}
 .ake-logo-art img,.ake-logo-art svg{max-height:31px!important}
 .ake-brand-filters button{min-height:40px;padding:6px 9px}
 .ake-footer-ready .copyrights-wrapper{padding:14px 16px 160px!important}
}
@media(prefers-reduced-motion:reduce){.ake-footer-logo{transition:none}.ake-footer-logo:hover{transform:none}}

.ake-footer-ready .elementor-8588>.elementor-top-section>.elementor-container{width:100%!important;max-width:100%!important;min-width:0!important;transform:none!important}
.ake-footer-ready .elementor-8588>.elementor-top-section{transform:none!important}
.ake-footer-logo[aria-label="سایت رسمی Flender"] .ake-logo-art,.ake-footer-logo[aria-label="سایت رسمی Mecc Alte"] .ake-logo-art{background:#173d4b;border-radius:5px;padding:4px}

.ake-footer-ready .elementor-8588>.elementor-top-section{min-width:0!important;max-width:100%!important;box-sizing:border-box!important}

.ake-footer-logo[aria-label="سایت رسمی Caterpillar"] .ake-logo-art,.ake-footer-logo[aria-label="سایت رسمی Marelli Motori"] .ake-logo-art{background:#173d4b;border-radius:5px;padding:4px}
.ake-footer-in-view #alvand-contact-bridge{grid-template-columns:repeat(6,34px)!important;gap:6px!important;left:100px!important;bottom:26px!important}
.ake-footer-in-view #alvand-contact-bridge a{width:34px!important;height:34px!important}
.ake-footer-in-view #alvand-contact-bridge svg,.ake-footer-in-view #alvand-contact-bridge img{width:22px!important;height:22px!important}
@media(max-width:767px){
 .ake-footer-in-view #alvand-contact-bridge{grid-template-columns:repeat(6,30px)!important;gap:5px!important;left:12px!important;bottom:calc(142px + env(safe-area-inset-bottom))!important}
 .ake-footer-in-view #alvand-contact-bridge a{width:30px!important;height:30px!important}
 .ake-footer-in-view #alvand-contact-bridge svg,.ake-footer-in-view #alvand-contact-bridge img{width:20px!important;height:20px!important}
 .ake-footer-in-view #alvand-market{bottom:calc(142px + env(safe-area-inset-bottom))!important}
}

.ake-footer-menu summary{font-size:16px;font-weight:700;color:#fff;padding:0 0 8px;line-height:1.6;border-bottom:1px solid #ffffff26;margin-bottom:9px;list-style:none;cursor:pointer}
.ake-footer-menu summary::-webkit-details-marker{display:none}
.ake-brand-more{width:100%;min-height:40px;font:inherit;font-size:12px;color:#d5eceb;background:#ffffff0d;border:1px solid #ffffff30;border-radius:8px;margin-top:10px;cursor:pointer}
.ake-brand-more[hidden]{display:none}
.ake-footer-in-view #alvand-contact-bridge{grid-template-rows:34px!important}
.ake-footer-in-view #alvand-contact-bridge a{grid-column:auto!important;grid-row:auto!important;min-width:34px!important;min-height:34px!important}
@media(max-width:767px){
 .ake-footer-menu summary{font-size:14px;min-height:42px;display:flex;align-items:center;justify-content:space-between}
 .ake-footer-menu summary:after{content:'+';color:#71dfce;font-size:21px}
 .ake-footer-menu[open] summary:after{content:'−'}
 .ake-footer-in-view #alvand-contact-bridge{grid-template-rows:30px!important}
 .ake-footer-in-view #alvand-contact-bridge a{min-width:30px!important;min-height:30px!important}
}

.ake-footer-contact-slot{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;padding-top:12px;border-top:1px solid #ffffff20;direction:ltr}
.ake-footer-in-view .ake-footer-contact-slot #alvand-contact-bridge,.ake-footer-in-view .ake-footer-contact-slot #alvand-market{position:static!important;margin:0!important}
.ake-footer-contact-slot:empty{display:none}

.ake-footer-in-view .ake-footer-contact-slot #alvand-market{position:relative!important;bottom:auto!important;right:auto!important;left:auto!important}

.ake-footer-in-view .ake-footer-contact-slot #am-panel{position:fixed!important;right:22px!important;left:auto!important;bottom:90px!important}
@media(max-width:767px){.ake-footer-in-view .ake-footer-contact-slot #am-panel{right:14px!important;bottom:calc(160px + env(safe-area-inset-bottom,0px))!important}}

#ake-footer-brands [hidden]{display:none!important}
.ake-brand-search-row{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:8px;margin-bottom:10px}
.ake-brand-search-row label{display:block;min-width:0;margin:0;font-size:10px;color:#bed4dc}
.ake-brand-search-row label>span{display:block;margin-bottom:5px}
#ake-footer-brands .ake-brand-search,#ake-footer-brands .ake-brand-other{width:100%;min-width:0;height:40px;border:1px solid #ffffff35;border-radius:8px;background:#123643;color:#e3f0f2;font:inherit;font-size:12px;padding:6px 9px;box-sizing:border-box}
#ake-footer-brands .ake-brand-search::placeholder{color:#a3bcc4;opacity:1}
#ake-footer-brands .ake-brand-other option{background:#123643;color:#fff}
#ake-footer-brands .ake-brand-count{font-size:11px;margin:0 0 12px;color:#b9d4d9}
.ake-brand-pagination{display:flex;gap:6px;margin-top:10px}
.ake-brand-pagination button{flex:1;min-height:42px;border:1px solid #ffffff30;border-radius:8px;background:#ffffff0d;color:#d5eceb;cursor:pointer;font:inherit;font-size:12px;margin:0}
.ake-brand-empty{grid-column:1/-1;padding:20px 0;text-align:center}
.ake-logo-dark{background:#173d4b;border-radius:5px;padding:4px}
.ake-logo-unavailable{color:#274653;font:bold 10px Arial,sans-serif;text-align:center;overflow-wrap:anywhere;line-height:1.2}
.ake-brand-search:focus-visible,.ake-brand-other:focus-visible,.ake-brand-pagination button:focus-visible{outline:3px solid #67e2d4;outline-offset:2px}
@media(max-width:767px){.ake-brand-search-row{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr)}.ake-brand-filters button{font-size:11px;padding:6px 8px}}

/* Official Marathon artwork has a padded canvas; fit its visible mark. */
.ake-footer-logo[data-brand-id="213"] .ake-logo-art{overflow:hidden}
.ake-footer-logo[data-brand-id="213"] .ake-logo-art img{transform:scale(2.8)}

/* Keep the existing emergency link clear of the catalog while in the footer. */
.ake-footer-in-view .ake-footer-contact-slot #alvand-emergency-call{position:relative!important;left:auto!important;right:auto!important;bottom:auto!important;margin:0!important;flex-shrink:0}
@media(max-width:767px){
 .ake-footer-contact-slot{display:grid;grid-template-columns:auto minmax(0,1fr);gap:14px;direction:ltr}
 .ake-footer-contact-slot #alvand-emergency-call{grid-column:1;grid-row:1;justify-self:start}
 .ake-footer-contact-slot #alvand-market{grid-column:2;grid-row:1;justify-self:end;max-width:100%}
 .ake-footer-contact-slot #alvand-contact-bridge{grid-column:1/-1;grid-row:2;justify-self:center}
}
