/* Oud Al Ajwa site-wide responsive navigation; no changes to theme templates */
.oaic3-mobile-root{display:none}
@media(max-width:900px){
 html{scroll-padding-bottom:90px}
 body{padding-bottom:calc(64px + env(safe-area-inset-bottom,0px))!important;overflow-x:clip}
 body.oaic3-drawer-open{overflow:hidden!important}
 .oaic3-mobile-root{display:block;font-family:inherit}
 .oaic3-bottom-nav{position:fixed;inset:auto 0 0 0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));height:calc(62px + env(safe-area-inset-bottom,0px));padding:2px 7px env(safe-area-inset-bottom,0px);background:#fffaf3;border-top:1px solid #dec9a8;box-shadow:0 -3px 18px #172e4320;z-index:99990}
 .oaic3-dock-link{appearance:none;border:0;background:transparent;position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;text-decoration:none!important;color:#173553!important;min-height:48px;min-width:0;font:600 11px/1.2 system-ui,sans-serif;letter-spacing:.1px;cursor:pointer;padding:4px 1px}
 .oaic3-dock-link svg{height:22px;width:22px;flex-shrink:0}
 .oaic3-cart-count{position:absolute;top:1px;left:calc(50% + 8px);background:#925809;color:#fff;font-size:10px;font-weight:700;min-width:16px;height:16px;padding:1px 4px;border-radius:99px;display:inline-flex;justify-content:center;align-items:center}
 .oaic3-drawer-backdrop{position:fixed;inset:0;background:#08152699;z-index:99991}
 .oaic3-drawer-backdrop[hidden]{display:none!important}
 .oaic3-drawer{position:fixed;right:0;top:0;bottom:0;width:min(88vw,360px);background:#fffaf3;z-index:99992;box-shadow:-10px 0 35px #0003;transform:translateX(105%);transition:transform .23s ease;display:flex;flex-direction:column;visibility:hidden;overflow-y:auto;overscroll-behavior:contain;padding-bottom:env(safe-area-inset-bottom,0px)}
 body.oaic3-drawer-open .oaic3-drawer{transform:translateX(0);visibility:visible}
 .oaic3-drawer-top{min-height:76px;border-bottom:1px solid #e9d9c4;padding:16px 16px 16px 22px;display:flex;align-items:center;justify-content:space-between;gap:8px;color:#173553}
 .oaic3-drawer-top strong{font:600 18px/1.3 Georgia,serif}
 .oaic3-menu-close{appearance:none;background:#f1e4d4;border:0;border-radius:12px;color:#173553;display:grid;place-items:center;min-width:44px;min-height:44px;cursor:pointer}
 .oaic3-drawer-links{display:flex;flex-direction:column;padding:12px}
 .oaic3-drawer-links a{min-height:50px;display:flex;align-items:center;justify-content:space-between;gap:10px;border-radius:9px;padding:12px 14px;text-decoration:none!important;color:#173553!important;font:600 15px/1.3 system-ui,sans-serif}
 .oaic3-drawer-links a:hover,.oaic3-drawer-links a:focus-visible{background:#f1e4d4}
 .oaic3-bottom-nav :focus-visible,.oaic3-drawer :focus-visible{outline:3px solid #173553;outline-offset:2px}
 /* Only suppress the detected desktop menu; JS adds this class after confirming it is a multi-link header nav. */
 .oaic3-hide-desktop-menu{display:none!important}
 /* Keep header logo visible, and prevent menu items from forcing extra width. */
 .site-header,.site-header .container,header.site-header,.site-branding{max-width:100%;min-width:0}
 .woocommerce .woocommerce-cart-form,.woocommerce .cart-collaterals,.woocommerce-checkout .woocommerce{max-width:100%}
 .woocommerce table.shop_table{max-width:100%}
 .woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,.woocommerce form .form-row select{max-width:100%;min-height:44px}
 .woocommerce-checkout .col2-set .col-1,.woocommerce-checkout .col2-set .col-2{float:none!important;width:100%!important;max-width:100%!important}
 .woocommerce .cart-collaterals .cart_totals{float:none!important;width:100%!important;max-width:100%!important}
 .woocommerce .woocommerce-cart-form{overflow-x:auto;-webkit-overflow-scrolling:touch}
 .woocommerce-cart .wc-proceed-to-checkout a.checkout-button,.woocommerce-checkout #place_order{min-height:48px;white-space:normal}
}
@media(max-width:600px){
 body.woocommerce-page div.product div.images,body.woocommerce-page div.product div.summary{float:none!important;width:100%!important;max-width:100%!important;margin-left:0!important;margin-right:0!important}
 .woocommerce div.product form.cart .button{min-height:46px}
 .woocommerce table.shop_table td,.woocommerce table.shop_table th{overflow-wrap:anywhere}
}
@media(prefers-reduced-motion:reduce){.oaic3-drawer{transition:none!important}}
