/* EBDAA global UX v1 — header polish, footer layout, typography (loaded after final-ux.css on every page) */
:root{--ebf-line:#ffffff1f;--ebf-soft:#ffffff0a;--ebf-red:#b7242d;--ebf-red-l:#ff747b;--ebf-gold:#e3c27a;--ebf-num:"Rubik Local",Arial,"Helvetica Neue",sans-serif}

/* ---------- typography: Latin figures and short Latin strings in Rubik Medium (Arabic keeps its own face) ---------- */
.desktop-phone,.footer-contact a[href^="tel:"] span,.hours dd,.contact-details a[dir=ltr],.price,.product-price,[data-price],.quote-header-badge,.language-switch a{font-family:var(--ebf-num);font-weight:500;font-variant-numeric:lining-nums;letter-spacing:.01em}
.footer-contact address .footer-address span,.footer-contact a[href^="mailto:"] span{font-family:var(--ebf-num);font-weight:400;letter-spacing:.005em}

/* ---------- header ---------- */
.mobile-header{background:#1d1d1ff2;border-bottom:1px solid var(--ebf-line)}
.mobile-header-row{gap:10px}
.mobile-header-actions{gap:8px}
.icon-button,.quote-header-cart{border:1px solid #ffffff26;border-radius:12px;background:var(--ebf-soft);transition:border-color .15s,background-color .15s,transform .15s}
.icon-button:hover,.quote-header-cart:hover{border-color:#ffffff55;background:#ffffff12}
.header-whatsapp{background:#17824a;border-color:#17824a;box-shadow:0 6px 16px #0b5a3040}
.header-whatsapp:hover{background:#1c9556;border-color:#1c9556}
.language-switch{background:var(--ebf-soft);border:1px solid var(--ebf-line);border-radius:12px;padding:3px!important;gap:2px}
.language-switch a{border:0;border-radius:9px;min-height:34px}
.language-switch a[aria-current]{background:#b7242d38;box-shadow:inset 0 0 0 1px #ff747b66}
.language-switch img{border:0;border-radius:3px;box-shadow:0 0 0 1px #ffffff2e}
.desktop-phone{display:inline-flex;align-items:center;gap:8px;height:42px;padding:0 14px;border:1px solid #ffffff26;border-radius:12px;background:var(--ebf-soft);color:#fff;font-size:15px}
.desktop-phone:before{content:"";width:16px;height:16px;flex:none;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff9aa0' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2A19.8 19.8 0 0 1 3.09 4.18 2 2 0 0 1 5.08 2h3a2 2 0 0 1 2 1.72c.12.96.35 1.9.69 2.79a2 2 0 0 1-.45 2.11L9.05 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.89.34 1.83.57 2.79.69A2 2 0 0 1 22 16.92Z'/%3E%3C/svg%3E") center/contain no-repeat}
.desktop-header .icon-button,.desktop-header .quote-header-cart{height:42px}
.desktop-header .header-whatsapp{width:42px}
@media(min-width:980px) and (max-width:1499px){.desktop-phone{font-size:0!important;gap:0;width:42px;padding:0;justify-content:center}.desktop-phone:before{margin:0}}
@media(min-width:980px) and (max-width:1199px){.desktop-header .mobile-brand img{width:140px!important;height:auto}.desktop-header .quote-header-label{display:none}.desktop-header .quote-header-cart{min-width:44px;padding-inline:8px}.language-switch a{min-width:28px!important}#desktop-menu a{font-size:13px!important;padding:8px 4px!important}#desktop-menu a.msl-nav-link{font-size:12.5px!important;padding-inline:9px!important}#desktop-menu a.msl-nav-link:before{display:none}.desktop-v3 .desktop-header{padding-inline:14px!important;gap:8px}.desktop-header .mobile-header-actions{gap:5px}}
@media(min-width:980px) and (max-width:1279px){#desktop-menu a{font-size:13.5px!important;padding:10px 5px!important}.desktop-v3 .desktop-header{gap:10px}}
@media(min-width:980px){
 .desktop-v3 .desktop-header{height:84px;gap:14px}
 .desktop-header #desktop-menu{gap:2px;margin-inline:auto;flex:0 1 auto}
 #desktop-menu a{font-size:15px;font-weight:600;padding:10px 8px;white-space:nowrap;border-radius:10px;border-bottom:0;color:#ececec}
 html:is([lang=tr],[lang=en],[lang=de],[lang=fr]) #desktop-menu a{font-weight:500;font-size:14px;padding:10px 6px}
 html:is([lang=tr],[lang=en],[lang=de],[lang=fr]) .desktop-header .mobile-header-actions{gap:6px}
 #desktop-menu a:hover{background:var(--ebf-soft);color:#fff}
 .desktop-header nav>a:after{inset-inline:10px;bottom:3px}
 #desktop-menu a[aria-current]{color:#ff8e95;background:#b7242d1f}
}
/* Masal entry (AR/TR only): small gold pill with an envelope */
#desktop-menu a.msl-nav-link,#mobile-menu a.msl-nav-link{display:inline-flex!important;align-items:center;gap:7px;font-size:14px!important;padding-inline:12px!important;color:#f1d894!important;font-weight:600!important;border:1px solid #8e6d2c99!important;border-radius:999px!important;background:#b8924a1f!important;padding-block:6px!important}
#desktop-menu a.msl-nav-link:hover,#mobile-menu a.msl-nav-link:hover{background:#b8924a33!important}
#desktop-menu a.msl-nav-link:before,#mobile-menu a.msl-nav-link:before{content:"";width:16px;height:16px;flex:none;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e3c27a' stroke-width='1.8' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3 7 9 6 9-6'/%3E%3C/svg%3E") center/contain no-repeat}
#desktop-menu a.msl-nav-link:after{display:none!important}
/* mobile menu */
#mobile-menu{padding:10px 16px 18px}
#mobile-menu a{position:relative;min-height:50px;padding-inline:14px 40px;font-size:16px;border-bottom:1px solid #ffffff14;border-radius:10px}
#mobile-menu a:after{content:"";position:absolute;inset-inline-end:14px;top:50%;width:8px;height:8px;border-top:2px solid #ffffff55;border-inline-end:2px solid #ffffff55;transform:translateY(-50%) rotate(45deg)}
html[dir=rtl] #mobile-menu a:after{transform:translateY(-50%) rotate(-135deg)}
#mobile-menu a.msl-nav-link{margin:10px 0 2px;width:auto;align-self:flex-start;padding-inline:16px!important;min-height:44px}
#mobile-menu a.msl-nav-link:after{display:none}
.language-switch a{flex:0 0 auto}

/* ---------- footer (structure is built by footer-v4.js into .ebf-* blocks) ---------- */
.site-footer{padding:44px 24px 22px;background:#141414;border-top:1px solid var(--ebf-line)}
.site-footer .footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr 1fr;gap:34px 38px;align-items:start}
.site-footer .footer-grid>section,.site-footer .footer-grid>nav,.site-footer .footer-grid>div{min-width:0}
.ebf-brandcol{display:flex;flex-direction:column;gap:14px}
.ebf-brandcol .footer-brand p{margin:10px 0 0;max-width:340px}
.ebf-brandcol .footer-contact h2,.ebf-brandcol .footer-social h2{display:none}
.ebf-brandcol .footer-contact address{gap:2px}
.ebf-brandcol .footer-contact a{min-height:34px;padding-block:4px;font-size:14px}
.ebf-brandcol .footer-social>div{display:flex;flex-wrap:wrap;gap:8px}
.ebf-brandcol .footer-social a{min-height:40px;padding:6px 12px;border:1px solid var(--ebf-line);border-radius:12px;background:var(--ebf-soft)}
.ebf-brandcol .footer-social a:hover{border-color:#ffffff55}
.ebf-brandcol .footer-social img{filter:none}
.ebf-col{min-width:0}
.ebf-col>summary{list-style:none;cursor:default;font-size:16px;font-weight:700;line-height:1.5;color:#fff;margin:0 0 12px;padding:0}
.ebf-col>summary::-webkit-details-marker{display:none}
.ebf-col>summary:after{content:"";display:block;width:22px;height:2px;background:#bc303b;margin-top:8px}
.ebf-col ul{list-style:none;margin:0;padding:0;display:grid;gap:2px}
.ebf-col li{margin:0}
.ebf-col a,.ebf-col .footer-cookie-settings{display:flex;align-items:center;min-height:36px;padding:5px 0;color:#d7d7d9;font-size:14.5px;line-height:1.5;text-decoration:none}
.ebf-col a:hover,.ebf-col .footer-cookie-settings:hover{color:#ff858e}
.ebf-col .footer-cookie-settings{background:none;border:0;font:inherit;cursor:pointer;text-align:start;width:100%;font-size:14.5px;padding:5px 0}
.ebf-col .ebf-masal{color:#f1d894;font-weight:600}
.ebf-col .ebf-masal:hover{color:#ffe6aa}
.site-footer .footer-bottom{margin-top:30px;padding-top:18px;padding-inline-end:0;min-height:0;border-top:1px solid var(--ebf-line);text-align:center}
.site-footer .footer-bottom p{font-size:12.5px;color:#a3a3a8}
@media(min-width:980px){.site-footer .footer-bottom{padding-inline-end:230px;text-align:start}}
@media(min-width:980px) and (max-width:1199px){.site-footer .footer-grid{grid-template-columns:1.3fr 1fr 1fr 1fr 1fr;gap:26px 22px}}
@media(max-width:979px){
 .site-footer{padding:30px 18px calc(var(--footer-cta-height,72px) + 22px)}
 .site-footer .footer-grid{grid-template-columns:1fr;gap:6px}
 .ebf-brandcol{margin-bottom:16px}
 .ebf-col{border-top:1px solid var(--ebf-line)}
 .ebf-col>summary{display:flex;align-items:center;justify-content:space-between;cursor:pointer;margin:0;padding:15px 2px;min-height:52px}
 .ebf-col>summary:after{width:9px;height:9px;margin:0 4px;background:none;border-bottom:2px solid #ffffff77;border-inline-end:2px solid #ffffff77;transform:rotate(45deg);transition:transform .2s}
 .ebf-col[open]>summary:after{transform:rotate(-135deg)}
 .ebf-col ul{padding:0 2px 14px}
 .ebf-col a,.ebf-col .footer-cookie-settings{min-height:42px;font-size:15px}
 .site-footer .footer-bottom{margin-top:22px}
}
