/* Abu Kamel Store -- design polish. CSS-only, loaded via mu-plugin so it
   survives regardless of active theme. Built on the site's existing navy
   (#10163F) identity -- see novamira design record 'abu-kamel-store'. */
:root{ --ak-accent:#10163f; --ak-accent-dark:#0a0e2b; --ak-radius:4px; }
html, body{ max-width:100%; overflow-x:hidden; }
*, *::before, *::after{ box-sizing:border-box; }
img, svg, video, iframe, table{ max-width:100%; height:auto; }
table{ display:block; overflow-x:auto; }
.search-submit, .header-search .btn-search, .header-search button[type="submit"],
.woocommerce a.button, .woocommerce button.button, .woocommerce #respond input#submit,
.woocommerce input.button, .single_add_to_cart_button, .add_to_cart_button,
.mf-button, .btn-primary{
  background-color:var(--ak-accent) !important; border-color:var(--ak-accent) !important;
  color:#fff !important; border-radius:var(--ak-radius); transition:background-color .2s ease, opacity .2s ease;
}
.search-submit:hover, .header-search .btn-search:hover, .header-search button[type="submit"]:hover,
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce #respond input#submit:hover,
.woocommerce input.button:hover, .single_add_to_cart_button:hover, .add_to_cart_button:hover,
.mf-button:hover, .btn-primary:hover{
  background-color:var(--ak-accent-dark) !important; border-color:var(--ak-accent-dark) !important;
}
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible,
.woocommerce-input-wrapper input:focus{ outline:2px solid var(--ak-accent); outline-offset:2px; }
.woocommerce ul.products li.product, .products .product-item, .product-small{
  border-radius:var(--ak-radius); transition:box-shadow .2s ease, transform .2s ease;
}
.woocommerce ul.products li.product:hover, .products .product-item:hover, .product-small:hover{
  box-shadow:0 6px 18px rgba(16,22,63,.10); transform:translateY(-2px);
}
@media (max-width:767px){
  .vc_row, .wpb_row{ margin-left:0 !important; margin-right:0 !important; }
  .vc_column_container{ padding-left:10px !important; padding-right:10px !important; }
  .container, .site-content, .site-header .container{ padding-left:12px; padding-right:12px; }
  .site-header .header-search{ width:100%; }
  .site-header .logo img{ max-height:40px; width:auto; }
  .site-header .header-icon, .site-header .header-search .btn-search,
  .main-navigation .menu-toggle, .mf-navigation-mobile .navigation-icon{ min-height:44px; min-width:44px; }
  .woocommerce ul.products, .products{ grid-template-columns:repeat(2,1fr) !important; }
  h1{ font-size:1.6em; } h2{ font-size:1.4em; }
}
/* ---------- Mobile header hardening (fixes oversized/misplaced logo
   and missing navy background, seen specifically in RTL/Arabic mode
   once the theme's rtl.css mobile-header path renders for the first
   time) ---------- */
@media (max-width:767px){
  .site-header,
  .site-header .header-main,
  .site-header .header-mobile-v2,
  .site-header.minimized .header-main{
    background-color:#10163f !important;
  }
  .site-header .header-logo{
    width:auto !important;
    max-width:150px !important;
    display:inline-block !important;
  }
  .site-header .header-logo img,
  .site-header .logo img{
    max-height:40px !important;
    width:auto !important;
    height:auto !important;
  }
  .site-header .header-search,
  .site-header .products-search{
    background:transparent !important;
  }
}