/* Scentus 3.1.1: full-screen-safe RTL mobile drawer. */
@media (max-width: 1050px) {
  html.sn-drawer-locked, body.sn-drawer-locked { overflow: hidden !important; }
  .sn-masthead .sn-masthead-mobile { position: static !important; }
  .sn-masthead .sn-masthead-mobile[open]::before {
    content: "" !important;
    display: block !important;
    position: fixed !important;
    inset: 0 !important;
    background: rgba(10, 20, 28, .58) !important;
    backdrop-filter: blur(3px);
    z-index: 1299 !important;
    pointer-events: auto !important;
  }
  .sn-masthead .sn-masthead-mobile > nav,
  .sn-masthead .sn-masthead-mobile[open] > nav {
    /* Physical inset avoids RTL inset-inline:right collision. */
    position: fixed !important;
    inset: 0 0 0 auto !important;
    top: 0 !important; right: 0 !important; bottom: 0 !important; left: auto !important;
    width: min(360px, 90vw) !important;
    max-width: 90vw !important;
    min-width: 0 !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    border: 0 !important;
    border-radius: 22px 0 0 22px !important;
    background: #fff !important;
    box-shadow: -20px 0 65px rgba(11,22,33,.26) !important;
    overflow: hidden !important;
    direction: rtl !important;
    text-align: right !important;
    z-index: 1301 !important;
    float: none !important;
    transform: translateX(105%) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: transform .32s cubic-bezier(.2,.72,.2,1), opacity .25s, visibility .25s !important;
  }
  .sn-masthead .sn-masthead-mobile[open] > nav {
    transform: translateX(0) !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
  .sn-masthead .sn-masthead-mobile:not([open]) > nav { display: none !important; }
  .sn-masthead .sn-masthead-mobile > summary {
    min-height: 42px !important;
    border-radius: 12px !important;
    background: #fff7e8 !important;
    border: 1px solid #edd4a0 !important;
    color: #26333b !important;
  }
  .sn-drawer-top {
    flex: 0 0 auto;
    display: flex !important; align-items: center; justify-content: space-between; gap: 8px;
    padding: 20px 18px 18px;
    background: linear-gradient(125deg, #fff8e9, #fff 75%);
    border-bottom: 1px solid #f0e8da;
  }
  .sn-drawer-brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
  .sn-drawer-brand img { display: block; width: 72px; height: 48px; object-fit: contain; }
  .sn-drawer-brand div { display:flex; flex-direction:column; line-height:1.6; min-width:0; }
  .sn-drawer-brand strong { color:#24323e; font-size:14px; font-weight:800; }
  .sn-drawer-brand small { color:#79848b; font-size:10px; }
  .sn-masthead .sn-masthead-mobile .sn-drawer-close {
    flex: 0 0 36px; width:36px; height:36px; border-radius:11px;
    background:#fff !important; color:#29333e !important; border:1px solid #e9e1d3 !important;
    display:grid; place-items:center; cursor:pointer; font-size:27px; line-height:1;
  }
  .sn-drawer-caption { flex:0 0 auto; padding:17px 22px 7px; color:#a47e2e; font-size:11px; font-weight:800; }
  .sn-masthead .sn-masthead-mobile .sn-drawer-scroll {
    flex: 1 1 auto; min-height:0; overflow-y:auto; overflow-x:hidden;
    padding: 0 14px 14px; overscroll-behavior: contain;
    scrollbar-width: thin; scrollbar-color: #d6b978 transparent;
  }
  .sn-masthead .sn-masthead-mobile .sn-drawer-scroll > ul,
  .sn-masthead .sn-masthead-mobile .sn-drawer-scroll .sn-masthead-links {
    display:block !important; width:100% !important; padding:0 !important; margin:0 !important; list-style:none !important;
  }
  .sn-masthead .sn-masthead-mobile .sn-drawer-scroll li { display:block !important; width:100% !important; margin:3px 0 !important; }
  .sn-masthead .sn-masthead-mobile .sn-drawer-scroll a {
    display:flex !important; width:100% !important; min-height:45px !important;
    align-items:center; text-align:right; padding:10px 15px !important; margin:0 !important;
    border:1px solid transparent !important; border-radius:12px !important;
    color:#293944 !important; background:transparent !important;
    font-size:13px !important; font-weight:750 !important; line-height:1.65 !important;
    overflow-wrap:anywhere; transition:background .2s, color .2s, transform .2s;
  }
  .sn-masthead .sn-masthead-mobile .sn-drawer-scroll a::before {
    content:""; width:6px; height:6px; border-radius:50%; background:#d7a64d;
    margin-left:12px; flex:0 0 6px; opacity:.65;
  }
  .sn-masthead .sn-masthead-mobile .sn-drawer-scroll .current-menu-item > a,
  .sn-masthead .sn-masthead-mobile .sn-drawer-scroll a:hover,
  .sn-masthead .sn-masthead-mobile .sn-drawer-scroll a:focus-visible {
    background:#fff5e4 !important; border-color:#f1dfb8 !important; color:#805b15 !important;
    transform:translateX(-2px);
  }
  .sn-masthead .sn-masthead-mobile .sn-drawer-scroll ul.sub-menu,
  .sn-masthead .sn-masthead-mobile .sn-drawer-scroll ul.children {
    display:block !important; position:static !important;
    width:100% !important; box-shadow:none !important;
    border:0 !important; border-right:2px solid #e9c982 !important;
    padding:0 12px 0 0 !important; margin:5px 0 8px !important;
  }
  .sn-masthead .sn-masthead-mobile .sn-drawer-scroll ul.sub-menu a { min-height:38px !important; font-size:12px !important; }
  .sn-masthead .sn-masthead-mobile .sn-drawer-scroll .sn-nav-news-link { border-top:1px solid #eee !important; margin-top:10px !important; }
  .sn-drawer-bottom {
    flex:0 0 auto; background:#f8f9fa; border-top:1px solid #edf0f2;
    display:flex; flex-direction:column; gap:8px; padding:15px 20px 21px;
    color:#677780; font-size:11px; text-align:center;
  }
  .sn-masthead .sn-masthead-mobile .sn-drawer-bottom a {
    display:block !important; width:100%; padding:11px 14px !important;
    border-radius:12px !important; background:linear-gradient(110deg,#eac575,#dba74d) !important;
    color:#263542 !important; font-weight:800 !important; text-align:center !important;
  }
  .sn-masthead .sn-masthead-mobile .sn-drawer-bottom a::before { display:none !important; }
}
@media (max-width:360px) {
  .sn-drawer-top { padding:16px 12px !important; }
  .sn-drawer-brand strong { font-size:12px !important; }
  .sn-drawer-brand img { width:60px !important; }
}
@media (prefers-reduced-motion: reduce) {
  .sn-masthead .sn-masthead-mobile > nav { transition:none !important; }
}
