/* Thamarat chrome overlay: drawer + footer, for the pages built outside the crop build.
   Same rules as the chrome-final zip. Nothing here touches page content. */

/* --- the drawer must sit above the page's own bottom call bar --- */
.drawer{z-index:9999}

/* --- drawer panel: half the viewport, anchored by language --- */
.drawer__panel{width:50vw;max-width:none;height:100dvh;overflow-y:auto;padding:14px 18px 30px;box-shadow:-18px 0 40px rgba(0,0,0,.28);gap:4px}
html[dir="rtl"] .drawer__panel{left:auto;right:0}
html[dir="ltr"] .drawer__panel{right:auto;left:0}

/* --- top bar with a clear close button --- */
.drawer__top{position:sticky;top:0;z-index:3;background:var(--green-900,#0C3524);padding:6px 0 10px;margin-bottom:8px;border-bottom:1px solid rgba(255,255,255,.10)}
.drawer__top .brand__name{font-size:1.05rem;letter-spacing:0}
.drawer .burger{width:44px;height:44px;min-height:44px;border:1px solid rgba(251,247,236,.42);border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:none;color:#FBF7EC}
.drawer .burger svg{width:20px;height:20px;flex:none}

/* --- items: no underlines, no borders, roomy rows --- */
.drawer a{border:0;border-bottom:0;border-radius:10px;padding:13px 12px;font-size:1rem;letter-spacing:0;text-decoration:none;min-height:50px}
.drawer a+a{margin-top:2px}
.drawer a:active{background:rgba(255,255,255,.07)}
.drawer a.sub{padding:8px 12px;padding-inline-start:34px;font-size:.95rem;color:rgba(251,247,236,.86);position:relative;min-height:44px}
.drawer a.sub::before{content:"";position:absolute;inset-inline-start:18px;top:50%;width:8px;height:1px;background:rgba(251,247,236,.45)}

/* --- tools group --- */
.dgrp>summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;min-height:50px;padding:13px 12px;border-radius:10px;font-size:1rem;color:#FBF7EC}
.dgrp>summary::-webkit-details-marker{display:none}
.dgrp>summary::after{content:"";width:8px;height:8px;border-inline-end:1.5px solid rgba(251,247,236,.55);border-block-end:1.5px solid rgba(251,247,236,.55);transform:rotate(45deg);transition:transform .2s;margin-inline-start:10px;flex:none}
.dgrp[open]>summary::after{transform:rotate(-135deg)}
.dgrp[open]>summary{color:var(--gold-2,#E4CB94)}
.dgrp>summary:active{background:rgba(255,255,255,.07)}

/* --- bottom buttons stay in reach while the list scrolls --- */
.drawer__cta{margin-top:auto;padding-top:12px;padding-bottom:4px;gap:10px;position:sticky;bottom:0;z-index:2;background:#0C3524}
.drawer__cta::before{content:"";position:absolute;inset-inline:0;top:-26px;height:26px;background:linear-gradient(to bottom,rgba(12,53,36,0),#0C3524);pointer-events:none}
.drawer__cta .btn{min-height:48px;height:auto;padding:12px 16px;font-size:.98rem;gap:8px;width:100%;justify-content:center;white-space:normal;text-align:center;line-height:1.25}
.chrome-bar-hidden{visibility:hidden !important}
.drawer__cta .btn svg{width:20px;height:20px;flex:none}

/* --- footer: the contact column duplicates the bottom bar --- */
.foot-col:has(a[href^="tel:"]){display:none}

/* --- dash on the first line, clear of wrapped text (Sherif 17:32) --- */
.drawer a.sub::before{top:21px;inset-inline-start:15px;width:7px}
/* --- English drawer: nothing wraps at 390 (Sherif 17:32) --- */
html[dir="ltr"] .drawer__panel{width:58vw;padding:12px 14px 28px}
html[dir="ltr"] .drawer a{font-size:.95rem;padding:12px 10px;letter-spacing:0;gap:6px}
html[dir="ltr"] .dgrp>summary{font-size:.95rem;padding:12px 10px;gap:6px}
html[dir="ltr"] .drawer a.sub{font-size:.86rem;padding:8px 10px;padding-inline-start:26px;min-height:44px}
html[dir="ltr"] .drawer a.sub::before{inset-inline-start:12px;width:6px}
html[dir="ltr"] .drawer__cta .btn{font-size:.9rem;padding:12px 10px;gap:7px}
