/* 1.2.16: quiet, compact navigation. Loaded after the existing shop styles. */
.site-header .ast-primary-header-bar {
  background:#fff!important; box-shadow:none!important;
  backdrop-filter:none; -webkit-backdrop-filter:none;
}
.site-header .site-logo-img + .ast-site-title-wrap { display:none; }
.site-header .custom-logo-link img { width:220px; max-width:100%; height:auto; }
.site-header .site-primary-header-wrap { min-height:84px; padding-inline:0!important; }
.site-header .ast-primary-header-bar .ast-builder-grid-row {
  width:calc(100% - 64px); max-width:1240px!important; gap:24px;
}
.site-header .main-header-menu > .menu-item > .menu-link {
  min-height:84px; padding-inline:12px!important; font-size:14px!important;
  font-weight:600!important; letter-spacing:0; white-space:nowrap;
}
.site-header .main-header-menu > .menu-item > .menu-link:after { bottom:19px; }
.site-header .main-header-menu > .mwe3d-nav-upload { margin-left:14px; }
.site-header .main-header-menu > .mwe3d-nav-upload > .menu-link {
  min-height:44px!important; height:auto; padding:12px 16px!important;
  border:1px solid #d7dde2!important; border-radius:5px;
  background:#fff!important; color:#18212b!important; box-shadow:none!important;
  display:flex!important; align-items:center; gap:12px; transform:none!important;
}
.site-header .main-header-menu > .mwe3d-nav-upload > .menu-link:hover,
.site-header .main-header-menu > .mwe3d-nav-upload.current-menu-item > .menu-link {
  background:#fff4ee!important; border-color:#c44518!important; color:#92320f!important;
}
.site-header .mwe3d-nav-upload .menu-link > span { color:#b73d12; }
.site-header .main-header-menu > .mwe3d-nav-account > .menu-link { color:#59636d!important; }
.site-header .main-header-menu .sub-menu { border-radius:6px!important; min-width:230px!important; }
.site-header .main-header-menu .sub-menu .menu-link { font-size:14px!important; font-weight:500!important; }
.site-header a:focus-visible,.site-header button:focus-visible,
.mwe3d-breadcrumbs a:focus-visible,.ast-breadcrumbs a:focus-visible {
  outline:2px solid #b73d12!important; outline-offset:4px; border-radius:3px;
}
.site-header .menu-toggle { min-width:44px; min-height:44px; }
.mwe3d-breadcrumb-bar,.ast-breadcrumbs-wrapper {
  background:#f7f8fa!important; border-bottom:1px solid #e3e7eb!important;
  box-shadow:none!important;
}
.mwe3d-breadcrumbs {
  min-height:48px; padding-block:10px; flex-wrap:wrap; gap:8px;
  white-space:normal; overflow:visible; font-size:13px; line-height:1.5;
  font-weight:500; letter-spacing:0; color:#55616c;
}
.mwe3d-breadcrumbs a { color:#485560!important; }
.mwe3d-breadcrumbs .current { color:#26323c; overflow:visible; overflow-wrap:anywhere; }
.mwe3d-breadcrumb-sep { color:#77838d; }
body .ast-breadcrumbs-wrapper .ast-breadcrumbs {
  font-size:13px!important; line-height:1.6; font-weight:500; letter-spacing:0;
  color:#26323c; padding-block:12px!important;
}
body .ast-breadcrumbs-wrapper .ast-breadcrumbs a { color:#485560!important; }
body .ast-breadcrumbs-wrapper .trail-items { white-space:normal; overflow-wrap:anywhere; }
body.mwe3d-uploader:not(.woocommerce-page):not(.woocommerce) .ast-breadcrumbs-wrapper { display:none!important; }
body.mwe3d-uploader .mwe3d-breadcrumb-bar .mwe3d-shell {
  width:calc(100% - 64px); max-width:1240px; margin-inline:auto;
}
@media(min-width:1101px) {
  .site-header .main-header-menu { flex-wrap:nowrap; }
  .site-header .main-header-menu > .mwe3d-nav-account { margin-left:6px; }
}
@media(min-width:1101px) and (max-width:1240px) {
  .site-header .custom-logo-link img { width:190px; }
  .site-header .main-header-menu > .menu-item > .menu-link { padding-inline:9px!important; font-size:13px!important; }
  .site-header .main-header-menu > .mwe3d-nav-upload { margin-left:6px; }
}
@media(max-width:1100px) {
  .site-header { position:relative; top:auto!important; }
  .site-header .site-primary-header-wrap { min-height:76px; }
  .site-header .ast-primary-header-bar .ast-builder-grid-row { width:calc(100% - 32px); gap:16px; }
  .site-header .custom-logo-link img { width:200px; }
  .ast-header-break-point .site-header .main-header-menu > .menu-item > .menu-link {
    min-height:48px!important; white-space:normal; padding:12px 20px!important; font-size:15px!important;
  }
  .ast-header-break-point .site-header .main-header-menu > .mwe3d-nav-upload { margin:12px 20px 20px!important; }
  .ast-header-break-point .site-header .main-header-menu > .mwe3d-nav-upload > .menu-link { padding-inline:16px!important; }
  .ast-header-break-point .site-header .main-header-menu .sub-menu { min-width:0!important; width:auto; }
  .mwe3d-breadcrumbs { font-size:13px; min-height:44px; }
  body.mwe3d-uploader .mwe3d-breadcrumb-bar .mwe3d-shell { width:calc(100% - 32px); }
}
@media(prefers-reduced-motion:reduce) {
  .site-header a,.site-header a:after { transition:none!important; }
}
