/* ---------- header: dropdown button, mega menu, account, language ---------- */
.gnav-bar{position:relative}
button.gnav-item{font:inherit;font-size:14px;background:none;border:0;cursor:pointer;color:#2c2c2c}
.gnav-cd svg{transition:transform .2s}
.gnav-cd[aria-expanded="true"] svg{transform:rotate(180deg)}
.gnav-logo{color:#eb1000}
.gnav-logo .dmark{display:block}
.gnav-logo span{font-size:17px;font-weight:800;letter-spacing:.2px;color:#eb1000}
.gnav-right{gap:12px}
.gnav-lang,.gnav-apps{width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:50%;color:#2c2c2c}
.gnav-lang:hover,.gnav-apps:hover{background:#ebebeb}
.acct{display:flex;align-items:center;justify-content:center}
.acct-av{width:32px;height:32px;border-radius:50%;background:#3b63fb;color:#fff;font-weight:700;font-size:14px;display:flex;align-items:center;justify-content:center}
#authslot{position:relative;display:flex;align-items:center}
.acct-menu{position:absolute;right:0;top:44px;width:260px;background:#fff;border:1px solid #e1e1e1;border-radius:10px;box-shadow:0 10px 28px rgba(0,0,0,.16);padding:8px;z-index:80}
.acct-menu[hidden]{display:none}
.acct-who{padding:10px 12px 12px;border-bottom:1px solid #eee;margin-bottom:6px}
.acct-who b{display:block;font-size:15px}.acct-who span{font-size:13px;color:#6e6e6e;word-break:break-all}
.acct-menu a,.acct-menu button{display:block;width:100%;text-align:left;padding:10px 12px;border-radius:6px;font-size:14px}
.acct-menu a:hover,.acct-menu button:hover{background:#f5f5f5}

/* mega menu: Shop for / Featured products / Online tools / promo card */
.mega{position:absolute;left:0;right:0;top:64px;background:#f2f2f2;box-shadow:0 12px 24px rgba(0,0,0,.12);z-index:70}
.mega[hidden]{display:none}
.mega-in{max-width:1140px;margin:0 auto;padding:40px 24px 56px;display:grid;grid-template-columns:240px 255px 220px 258px;gap:0 72px;align-items:start}
.mc h5{font-size:14px;line-height:20px;font-weight:400;color:#2c2c2c;padding-bottom:6px;margin-bottom:14px;border-bottom:1px solid #d5d5d5;width:240px;max-width:100%}
.mi{display:flex;gap:12px;align-items:flex-start;padding:5px 0;margin-bottom:8px}
.mi .picon{border-radius:6px;margin-top:2px}
.mi b{display:block;font-size:14px;line-height:20px;font-weight:400;color:#2c2c2c}
.mi i{display:block;font-style:normal;font-size:12px;line-height:18px;color:#6e6e6e}
.mi:hover b{text-decoration:underline}
.mc .btn.small{margin-top:10px;height:34px;font-size:14px;padding:0 15px;border-width:0;display:inline-flex}
.mlink{display:inline-block;margin-top:6px;color:#3b63fb;font-size:14px}
.mlink:hover{text-decoration:underline}
.mt{display:block;font-size:14px;line-height:20px;padding:6px 0;color:#2c2c2c}
.mt:hover{text-decoration:underline}
.mpromo{background:#000;color:#fff;padding:20px;min-height:322px;display:flex;flex-direction:column;justify-content:flex-end;gap:14px}
.mp-art{flex:1;display:flex;align-items:center;justify-content:center}
.mp-art svg{width:96px;height:96px}
.mpromo p{font-size:14px;line-height:21px;font-weight:700}
.mpromo .btn{align-self:flex-start;height:34px;font-size:14px;padding:0 16px;border-width:0}
.mega-bar{background:#f8f8f8;border-top:1px solid #e1e1e1;display:flex;align-items:center;gap:20px;padding:0 max(24px,calc((100% - 1140px)/2 + 24px));height:64px;font-size:14px}
.mega-bar a{display:flex;align-items:center;gap:10px;color:#2c2c2c}
.mega-bar a:hover span,.mega-bar a:hover{text-decoration:underline}
.mega-bar i{font-style:normal;color:#bdbdbd}
.mega-bar .dmark{width:22px;height:22px}

/* mobile menu drawer */
.mobmenu{display:none;position:fixed;left:0;right:0;top:0;bottom:0;padding-top:84px;background:#fff;z-index:49;overflow:auto;-webkit-overflow-scrolling:touch}
.mobmenu.open{display:block}
.mobmenu>a,.macc-h{display:flex;justify-content:space-between;align-items:center;width:100%;padding:17px 20px;border-bottom:1px solid #e1e1e1;font-size:17px;font-weight:700;color:#2c2c2c;text-align:left;background:none;border-left:0;border-right:0;border-top:0;font-family:inherit;cursor:pointer}
.macc-h svg{transition:transform .2s}
.macc.open .macc-h svg{transform:rotate(180deg)}
.macc-b{display:none;background:#f8f8f8;padding:6px 20px 14px;border-bottom:1px solid #e1e1e1}
.macc.open .macc-b{display:block}
.macc-b h6{font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:#6e6e6e;margin:14px 0 4px}
.macc-b a{display:block;padding:10px 0;font-size:16px;color:#2c2c2c}
.mob-tools{display:flex;justify-content:space-between;gap:12px;padding:18px 20px 40px}
.mob-tools button,.mob-tools a{display:inline-flex;align-items:center;gap:8px;font-size:15px;font-weight:700;border:1px solid #909090;border-radius:20px;padding:8px 16px;background:#fff}
body.menu-lock{overflow:hidden}

/* ---------- cookie permission banner (first visit) ---------- */
.ckb{position:fixed;left:0;right:0;bottom:0;z-index:900;background:#fff;border-top:1px solid #d5d5d5;box-shadow:0 -6px 24px rgba(0,0,0,.14)}
.ckb[hidden]{display:none}
.ckb-in{max-width:1200px;margin:0 auto;padding:20px 24px;display:flex;align-items:center;gap:32px}
.ckb-t{flex:1;min-width:0}
.ckb-t b{display:block;font-size:18px;line-height:24px;color:#2c2c2c;margin-bottom:4px}
.ckb-t p{font-size:14px;line-height:20px;color:#4b4b4b}
.ckb-t a{color:#0265dc;text-decoration:underline}
.ckb-b{display:flex;gap:12px;flex:none}
.ckb-btn{height:32px;padding:0 18px;border-radius:16px;font-size:14px;font-weight:700;border:2px solid #2c2c2c;background:#fff;color:#2c2c2c;cursor:pointer;white-space:nowrap}
.ckb-btn.blue{background:#3b63fb;border-color:#3b63fb;color:#fff}
.ckb-btn:hover{background:#2c2c2c;color:#fff}.ckb-btn.blue:hover{background:#274dea;border-color:#274dea}
body.has-ckb .totop{bottom:150px}

/* ---------- language dialog (reuses the cookie dialog shell) ---------- */
.lg{height:min(560px,calc(100vh - 74px))}
.lg-note{font-size:14px;line-height:20px;color:#6e6e6e;margin-bottom:18px}
.lg-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.lg-opt{display:flex;flex-direction:column;align-items:flex-start;gap:2px;text-align:left;padding:12px 14px;border:1px solid #d5d5d5;border-radius:8px;background:#fff;cursor:pointer;font-family:inherit}
.lg-opt b{font-size:16px;color:#2c2c2c}.lg-opt span{font-size:12px;color:#6e6e6e}
.lg-opt:hover{border-color:#3b63fb}
.lg-opt.on{border:2px solid #3b63fb;background:#f3f6ff;padding:11px 13px}
.tr-note{position:fixed;left:50%;bottom:24px;transform:translateX(-50%);background:#2c2c2c;color:#fff;padding:10px 18px;border-radius:20px;font-size:14px;z-index:1200;box-shadow:0 6px 18px rgba(0,0,0,.3)}
html[dir=rtl] body{direction:rtl}

@media (max-width:1200px){.mega-in{grid-template-columns:220px 240px 180px 220px;gap:0 40px}}
@media (max-width:900px){
  .mega{display:none!important}
  .ckb-in{flex-direction:column;align-items:stretch;gap:14px;padding:16px}
  .ckb-b{flex-wrap:wrap}
  .lg-grid{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:600px){
  .ckb-b{display:grid;grid-template-columns:1fr 1fr;gap:10px}.ckb-b .ckb-btn:first-child{grid-column:1/-1}.ckb-btn{height:40px;width:100%}.ckb-in{padding:14px 16px}.ckb-t b{font-size:16px}.ckb-t p{font-size:13px;line-height:18px}
  .lg-grid{grid-template-columns:1fr}
  body.has-ckb .totop{bottom:230px}
}
