/* V5.7 — Header only: logo | search | navigation. Preserve REVIEWCONGTY fidelity. */
.header{margin:0!important;padding:0!important;background:#fff!important}
.header .header-in{
  display:grid!important;
  grid-template-columns:minmax(116px,160px) minmax(230px,1fr) max-content max-content;
  align-items:center!important;
  gap:clamp(9px,1.05vw,16px)!important;
  height:64px!important;
  min-height:64px!important;
  padding-top:0!important;padding-bottom:0!important;
}
.header-in>.logo,.header-in>.custom-logo-link{grid-column:1;grid-row:1;margin:0!important;justify-self:start;white-space:nowrap;max-width:160px;min-width:0}
.header-in .custom-logo{width:auto!important;height:auto!important;max-width:153px!important;max-height:42px!important;object-fit:contain}
.header-in .header-search{grid-column:2;grid-row:1;display:flex!important;align-items:center;justify-self:stretch;width:100%!important;min-width:0!important;max-width:none!important;flex:none!important;margin:0!important}
.header-in .header-search input{height:36px;min-width:0;width:100%;font-size:12px}
.header-in .header-search button{flex-shrink:0}
.header-in .nav{grid-column:3;grid-row:1;display:flex;align-items:center;min-width:0;align-self:center!important;justify-self:end;white-space:nowrap;margin:0}
.header-in .nav .mkrc-menu{height:auto!important;gap:clamp(8px,.8vw,13px)!important;align-items:center!important;flex-wrap:nowrap}
.header-in .nav .mkrc-menu>li{align-items:center;height:43px}
.header-in .nav .mkrc-menu>li>a{font-size:12px!important;line-height:1.3!important;padding:0!important;height:100%;display:flex;align-items:center;white-space:nowrap}
.header-in .nav .mkrc-menu>li.menu-item-has-children>a{padding-right:20px!important}
.header-in .nav .mkrc-menu>li>.mkrc-subtoggle{width:15px!important;height:15px!important;font-size:12px!important;right:0;top:calc(50% - 1px)}
.header-in .header-actions{grid-column:4;grid-row:1;justify-self:end;display:flex!important;align-items:center;gap:0!important;margin:0!important}
.header-in .header-actions .btn{white-space:nowrap;font-size:11px!important;min-height:34px!important;padding:7px 10px!important;border-color:#f0d4bf!important}
.header-in .mobile-toggle{display:none!important;grid-row:1;justify-self:end;align-items:center;justify-content:center;width:38px;height:38px;border:1px solid #f7dec9;border-radius:8px;color:#d55a10;background:#fff7f0}
.header-in .mobile-toggle .icon{height:19px;width:19px}
.mkrc-mobile-account{padding:12px 14px;border-top:1px solid #f4e6d9}
.mkrc-mobile-account a{display:flex;align-items:center;gap:9px;font-size:13px;font-weight:600;color:#ba5216}
.mkrc-mobile-account svg{height:17px;width:17px}
/* Switch the full navigation to the existing compact drawer before items collide. */
@media(max-width:1140px){
  .header .header-in{grid-template-columns:minmax(118px,160px) minmax(180px,1fr) max-content max-content;gap:12px!important}
  .header-in .nav{display:none!important}
  .header-in .header-actions{grid-column:3}
  .header-in .mobile-toggle{display:flex!important;grid-column:4}
}
@media(max-width:760px){
  .header .header-in{grid-template-columns:minmax(92px,126px) minmax(0,1fr) 38px;gap:9px!important;height:58px!important;min-height:58px!important}
  .header-in .header-actions{display:none!important}
  .header-in .mobile-toggle{grid-column:3}
  .header-in .header-search{grid-column:2}
  .header-in .custom-logo{max-width:122px!important;max-height:37px!important}
  .header-in>.logo{font-size:18px!important;letter-spacing:-.6px!important}
  .header-in .header-search input{font-size:11px;height:34px}
}
@media(max-width:380px){
  .header .header-in{grid-template-columns:minmax(86px,108px) minmax(0,1fr) 36px;gap:6px!important}
  .header-in .custom-logo{max-width:104px!important;max-height:32px!important}
  .header-in>.logo{font-size:16px!important}
  .header-in .header-search input{font-size:10px}
}
