/* Scoped child-theme header styles. */
#header .comodo-promo{background:#000;color:#fff;min-height:38px;display:flex;align-items:center;justify-content:center;padding:7px 16px;font-size:20px;line-height:24px;font-weight:700}
#header .comodo-service-bar{background:#ffeadc;color:#111}
#header .comodo-service-inner{max-width:1440px;margin:auto;padding:4px 36px;display:flex;align-items:center;gap:24px;min-height:26px;font-size:12px;line-height:18px}
#header .comodo-help{color:inherit;font-weight:700;white-space:nowrap}
#header .comodo-reviews{display:flex;align-items:center;gap:4px;margin-left:70px}
#header .comodo-reviews p{margin:0}
#header .comodo-stars{color:#ffc928;font-size:20px;letter-spacing:-2px;white-space:nowrap}
#header .comodo-delivery{margin-left:auto;text-align:right}
#header .comodo-desktop-header .header-top{background:#fff;color:#111;padding:0}
#header .comodo-main{display:grid;grid-template-columns:minmax(0,1fr) 220px minmax(0,1fr);align-items:center;gap:20px;width:100%;max-width:1440px;min-height:62px;padding:10px 16px;margin:auto}
#header .comodo-navigation{display:flex;align-items:center;min-width:0;gap:10px}
#header .comodo-navigation .container{padding:0;width:auto}
#header .comodo-navigation #iqitmegamenu-horizontal{width:auto}
#header .comodo-navigation .cbp-hrmenu>ul{display:flex;flex-wrap:wrap;margin:0}
#header .comodo-navigation .cbp-hrmenu>ul>li>a{color:#000;font-size:15px;font-weight:700;padding:8px}
#header .comodo-logo{text-align:center;min-width:0}
#header .comodo-logo img{width:auto;max-width:220px;max-height:54px;height:auto}
#header .comodo-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px;min-width:0}
#header .comodo-search{flex:1 1 255px;max-width:255px;min-width:80px}
#header .comodo-search .search-widget{width:100%;max-width:none;margin:0}
#header .comodo-search .form-search-control,#header .comodo-search input[type="text"],#header .comodo-search input[type="search"]{background:#eaf0f2;color:#111;border:0;border-radius:30px;min-height:36px;height:36px;padding:6px 42px 6px 16px}
#header .comodo-search .search-btn{background:transparent;border:0;color:#111}
#header .comodo-actions #ps-shoppingcart-wrapper{padding:0;flex:0 0 auto}
#header .comodo-actions .header-btn-w{padding:0}
#header .comodo-actions .header-cart-btn{color:#333}
#header .comodo-actions .header-cart-btn>.icon{font-size:26px}
#header .comodo-actions .header-cart-btn .info-wrapper{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
#header .comodo-account{display:inline-flex;color:#333;padding:5px 0;flex-shrink:0}
#header .comodo-extra{grid-column:1/-1}
#header .comodo-extra:empty{display:none}
#header .comodo-service-bar a:focus-visible,#header .comodo-desktop-header a:focus-visible,#header .comodo-desktop-header button:focus-visible,#header .comodo-desktop-header input:focus-visible{outline:2px solid #ff7900;outline-offset:3px}
@media(max-width:1199px){
#header .comodo-main{gap:12px;grid-template-columns:minmax(0,1fr) 200px minmax(0,1fr)}
#header .comodo-logo img{max-width:200px}
#header .comodo-reviews{margin-left:20px}
#header .comodo-service-inner{padding-inline:16px;gap:16px}
#header .comodo-navigation .cbp-hrmenu>ul>li>a{padding-inline:6px;font-size:14px}
}
@media(max-width:767px){
#header .comodo-promo{min-height:32px;font-size:16px;padding:4px 12px}
#header .comodo-service-inner{flex-wrap:wrap;justify-content:center;gap:2px 16px;padding:5px 12px;font-size:11px}
#header .comodo-reviews{margin-left:0}
#header .comodo-delivery{width:100%;margin-left:0;text-align:center}
}


/* Desktop trigger handled by ps_atidamobilemenu's existing click proxy. */
#header .comodo-menu-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 28px;
  width: 28px;
  min-height: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #555;
  cursor: pointer;
}
#header .comodo-menu-trigger:hover { color: #ff7900; }


/* Editable promotion: Iqit HTML widget on displayBanner. */
#header .header-banner.comodo-promo { flex-direction: column; gap: 6px; }
#header .comodo-promo .block-iqithtmlandbanners-html {
  flex: none; width: 100%; max-width: 100%; margin: 0; padding: 0;
  border: 0; background: transparent; color: inherit;
}
#header .comodo-promo .block-title { display: none !important; }
#header .comodo-promo .block-content {
  display: block !important; height: auto !important; visibility: visible;
  margin: 0; padding: 0; color: inherit; text-align: center;
}
#header .comodo-promo .rte-content {
  color: inherit; font-size: inherit; font-weight: inherit; line-height: inherit;
  text-align: center; overflow-wrap: anywhere;
}
#header .comodo-promo .rte-content p { margin: 0; }
#header .comodo-promo .rte-content a { color: inherit; text-decoration: underline; }
#header .comodo-promo a:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* Remove Warehouse's outer top spacing when the editable promo is present. */
#main-page-content:has(> #header > .comodo-promo) {
  margin-top: 0;
}

/* Home desktop: equal space between search, service bar and the hero banner. */
@media (min-width: 1024px) {
  body#index:has(#header .comodo-main) #wrapper {
    padding-top: 0;
  }
}

/* Mobile header: native controls retained, Atida is the only menu trigger. */
@media (max-width: 1023px) {
  #header #desktop-header { display: none !important; }
  #header #mobile-header { display: block !important; }
  #mobile-header .mobile-main-bar { padding: 0; }
  #header .comodo-service-bar { display: block; }
  #mobile-header .col-mobile-btn-menu { display: none !important; }
  #header .comodo-promo {
    min-height: 56px; padding: 12px; font-size: 20px; line-height: 26px;
  }
  #header #mobile-header,
  #header #mobile-header-sticky,
  #mobile-header .mobile-main-bar { background: #ff6900; color: #fff; }
  #mobile-header #mobile-header-sticky { padding: 0; }
  #mobile-header .container { width: 100%; max-width: none; padding: 0 10px; }
  #mobile-header .row-mobile-header {
    display: flex; flex-wrap: nowrap; gap: 0;
    min-height: 60px; padding: 4px 0; margin: 0;
  }
  #mobile-header .psamm.psamm-in-mobile-header { flex: 0 0 36px; order: 0; }
  #mobile-header .psamm.psamm-in-mobile-header .psamm-trigger {
    width: 36px; height: 44px; gap: 5px; border-radius: 0;
  }
  #mobile-header .psamm.psamm-in-mobile-header .psamm-trigger span {
    width: 26px; height: 2px; border-radius: 0; background: #fff;
  }
  #mobile-header .col-mobile-logo {
    order: 1; flex: 1 1 auto; min-width: 0; padding: 0;
    text-align: left !important;
  }
  #mobile-header .col-mobile-logo a { display: inline-block; max-width: 100%; }
  #mobile-header .col-mobile-logo img {
    content: url("../img/comodo-logo-white.png");
    display: block; width: clamp(140px, 33vw, 200px); max-width: 100%;
    height: auto; max-height: 44px; object-fit: contain;
  }
  #mobile-header #mobile-btn-search { order: 2; margin-left: auto; }
  #mobile-header .col-mobile-btn-account { order: 3; }
  #mobile-header .col-mobile-btn-cart { order: 4; }
  #mobile-header .col-mobile-btn { flex: 0 0 36px; width: 36px; padding: 0; }
  #mobile-header .col-mobile-btn .m-nav-btn {
    display: flex; align-items: center; justify-content: flex-end;
    width: 36px; min-height: 44px; padding: 0; color: #fff; background: none;
  }
  #mobile-header .m-nav-btn > span { display: none; }
  #mobile-header .m-nav-btn > .fa {
    position: relative; display: block; width: 25px; height: 25px; color: #fff;
  }
  #mobile-header .m-nav-btn > .fa::before {
    content: ""; display: block; width: 100%; height: 100%;
    background: center / contain no-repeat;
  }
  #mobile-header .m-nav-btn > .fa-search::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='white' stroke-width='1.8'%3E%3Ccircle cx='13' cy='13' r='10'/%3E%3Cpath d='m20 20 10 10'/%3E%3C/svg%3E");
  }
  #mobile-header .m-nav-btn > .fa-user::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='white' stroke-width='1.6'%3E%3Ccircle cx='16' cy='9' r='7'/%3E%3Cpath d='M3 31v-3a13 13 0 0 1 26 0v3'/%3E%3C/svg%3E");
  }
  #mobile-header .m-nav-btn > .fa-shopping-bag::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='white' stroke-width='1.5'%3E%3Cpath d='M3 11h26l-1 17a3 3 0 0 1-3 3H7a3 3 0 0 1-3-3Z'/%3E%3Cpath d='M10 15V8a6 6 0 0 1 12 0v7'/%3E%3C/svg%3E");
  }
  #mobile-header .cart-products-count-btn {
    top: -7px; right: -6px; background: #fff; color: #ff6900;
  }
  #mobile-header .m-nav-btn:focus-visible,
  #mobile-header .psamm-trigger:focus-visible { outline: 2px solid white; outline-offset: 2px; }
}
@media (max-width: 359px) {
  #mobile-header .container { padding-inline: 6px; }
  #mobile-header .row-mobile-header { gap: 0; }



}
