/* Shared desktop navigation and page-width tokens. Mobile/tablet intentionally unchanged. */
@media (min-width:1101px){
 :root{--mom-desktop-width:1280px;--mom-nav-height:66px;}
 .main-header,.catalog-header,.app-topbar{background:#24080ff5!important;border-top:0!important;border-bottom:1px solid #79313b!important;box-shadow:none!important;backdrop-filter:blur(16px)}
 .main-header .header-inner,.catalog-header .header-row,.app-topbar .app-topbar-row{width:min(var(--mom-desktop-width),calc(100% - 48px))!important;height:var(--mom-nav-height)!important;min-height:var(--mom-nav-height)!important;margin-inline:auto!important;padding:0!important;display:flex!important;align-items:center!important;gap:18px!important;}
 .main-header .brand,.catalog-header .brand,.app-topbar .app-brand{display:flex!important;align-items:center!important;gap:10px!important;margin:0 auto 0 0!important;flex:0 0 auto!important;min-width:180px!important;color:#fff!important;text-decoration:none!important;}
 .main-header .brand .backend-logo,.catalog-header .brand img,.app-topbar .app-brand img{width:43px!important;height:43px!important;max-width:43px!important;max-height:43px!important;object-fit:contain!important;border-radius:8px!important;background:#fff!important;}
 .main-header .brand-name,.catalog-header .brand strong,.app-topbar .app-brand-copy strong{display:block!important;font-family:Inter,ui-sans-serif,system-ui,-apple-system,'Segoe UI',sans-serif!important;font-size:16px!important;font-weight:800!important;letter-spacing:-.035em!important;line-height:1.08!important;white-space:nowrap!important;color:#fff!important;}
 .main-header .brand small,.catalog-header .brand small,.app-topbar .app-brand-copy small{display:block!important;font-family:Inter,ui-sans-serif,system-ui,sans-serif!important;font-size:9px!important;font-weight:500!important;letter-spacing:0!important;line-height:1.3!important;margin-top:3px!important;color:#dabbba!important;text-transform:none!important;}
 .main-header .desktop-nav,.catalog-header .nav,.app-topbar .app-desktop-nav{display:flex!important;align-items:center!important;justify-content:center!important;gap:5px!important;margin:0!important;flex:0 1 auto!important;}
 .main-header .desktop-nav a,.catalog-header .nav a,.app-topbar .app-desktop-nav a{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:37px!important;white-space:nowrap!important;padding:8px 11px!important;border-radius:9px!important;font-family:Inter,ui-sans-serif,system-ui,-apple-system,'Segoe UI',sans-serif!important;font-size:12px!important;font-weight:700!important;letter-spacing:0!important;line-height:1.2!important;color:#f3dedd!important;background:transparent!important;box-shadow:none!important;text-decoration:none!important;}
 .main-header .desktop-nav a.active,.main-header .desktop-nav a:hover,.catalog-header .nav a.active,.catalog-header .nav a:hover,.app-topbar .app-desktop-nav a.active,.app-topbar .app-desktop-nav a:hover{background:linear-gradient(180deg,#a82b3d,#711c29)!important;color:#fff!important;}
 .main-header .header-actions,.catalog-header .header-row>.app-desktop-utility,.app-topbar .app-top-actions{flex:0 0 auto!important;align-items:center!important;gap:7px!important;}
 .main-header .header-actions{margin:0!important;}
 .main-header .header-actions .app-icon-btn,.catalog-header .app-icon-btn,.app-topbar .app-icon-btn{width:40px!important;height:40px!important;}
 .main-header .header-actions .app-profile-btn,.catalog-header .app-profile-btn,.app-topbar .app-profile-btn{border:1px solid #a4434d!important;border-radius:50%!important;background:#6a1926!important;}
 .catalog-header .header-search{width:190px!important;height:39px!important;flex:0 1 190px!important;}
 .app-topbar .app-desktop-search{width:190px!important;flex:0 1 190px!important;}
 .app-shell,.catalog-header .shell,.catalog-main>.shell,.hero .shell,.main-header .container,.home-intro .container{max-width:var(--mom-desktop-width)!important;}
 .app-page>.app-shell{width:min(var(--mom-desktop-width),calc(100% - 48px))!important;}
 .catalog-header .header-row{max-width:var(--mom-desktop-width)!important;}
 .catalog-main>.shell,.hero .shell{width:min(var(--mom-desktop-width),calc(100% - 48px))!important;}
}

/* DESKTOP NAV LOCK v3: centered nav independent of varying right tools. */
@media (min-width:1101px){
 :root{--mom-nav-height:max(10vh,84px);}
 .main-header .header-inner,.catalog-header .header-row,.app-topbar .app-topbar-row{
  position:relative!important;width:min(1480px,calc(100% - 64px))!important;max-width:none!important;
  min-height:var(--mom-nav-height)!important;height:var(--mom-nav-height)!important;
  display:flex!important;align-items:center!important;gap:10px!important;
 }
 .main-header .brand,.catalog-header .brand,.app-topbar .app-brand{margin:0!important;min-width:180px!important;max-width:230px!important;flex:0 0 auto!important;}
 .main-header .desktop-nav,.catalog-header .nav,.app-topbar .app-desktop-nav{
  position:absolute!important;left:50%!important;top:50%!important;transform:translate(-50%,-50%)!important;
  margin:0!important;width:max-content!important;white-space:nowrap!important;z-index:2!important;
  display:flex!important;align-items:center!important;justify-content:center!important;gap:5px!important;
 }
 .main-header .header-actions,.app-topbar .app-top-actions{margin-left:auto!important;display:flex!important;align-items:center!important;gap:9px!important;flex:0 0 auto!important;}
 .catalog-header .header-search{margin-left:auto!important;flex:0 0 182px!important;width:182px!important;}
 .main-header .mom-home-search{height:40px;width:182px;min-width:0;display:flex;align-items:center;gap:6px;border:1px solid #6c2b35;border-radius:10px;background:#3a1119;padding:0 11px;color:#ffe5e2;}
 .main-header .mom-home-search input{width:100%;min-width:0;border:0;outline:0;background:transparent;color:#fff;font-size:12px;}
 .main-header .mom-home-search input::placeholder{color:#bda3a4;}
 .app-topbar .app-desktop-search{width:182px!important;flex:0 0 182px!important;}
 .main-header .brand-name,.catalog-header .brand strong,.app-topbar .app-brand-copy strong{font-size:16px!important;}
 .main-header .desktop-nav a,.catalog-header .nav a,.app-topbar .app-desktop-nav a{font-size:12px!important;min-height:38px!important;}
}
@media (min-width:1101px) and (max-width:1370px){
 .main-header .desktop-nav a,.catalog-header .nav a,.app-topbar .app-desktop-nav a{padding:7px 8px!important;font-size:11px!important;}
 .main-header .mom-home-search,.catalog-header .header-search,.app-topbar .app-desktop-search{width:145px!important;flex-basis:145px!important;}
 .main-header .header-inner,.catalog-header .header-row,.app-topbar .app-topbar-row{width:calc(100% - 40px)!important;}
}

/* Navbar polish v4: same branding and feedback on all desktop page types. */
@media (min-width:1101px){
 .main-header .brand,.catalog-header .brand,.app-topbar .app-brand{max-width:260px!important;min-width:0!important;gap:10px!important}
 .main-header .brand-name,.catalog-header .brand strong,.app-topbar .app-brand-copy strong{min-width:0!important;font-size:15px!important;line-height:1.2!important;max-width:215px!important;overflow:hidden!important;text-overflow:ellipsis!important}
 .main-header .brand-name strong{display:block!important;line-height:1.2!important;font-size:15px!important;font-weight:800!important;white-space:nowrap!important;color:#fff!important;overflow:hidden!important;text-overflow:ellipsis!important}
 .main-header .brand small,.catalog-header .brand small,.app-topbar .app-brand-copy small{font-size:10px!important;line-height:1.25!important;color:#dec0bf!important;max-width:215px!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
 .main-header .desktop-nav a,.catalog-header .nav a,.app-topbar .app-desktop-nav a{border:1px solid transparent!important;background:transparent!important;position:relative!important;overflow:hidden!important;transition:background .22s ease,border-color .22s ease,box-shadow .22s ease,transform .22s ease,color .22s ease!important;animation:none!important;transform:none!important}
 .main-header .desktop-nav a:hover,.catalog-header .nav a:hover,.app-topbar .app-desktop-nav a:hover{transform:translateY(-2px)!important;background:#6b1a2a!important;border-color:#ae3b4d!important;box-shadow:0 8px 20px #0005!important;color:#fff!important}
 .main-header .desktop-nav a.active,.catalog-header .nav a.active,.app-topbar .app-desktop-nav a.active{background:linear-gradient(135deg,#b52c41,#721b2e)!important;color:#fff!important;border-color:#b64959!important;box-shadow:inset 0 1px #ffffff16,0 5px 15px #10030666!important}
 .main-header .desktop-nav a:active,.catalog-header .nav a:active,.app-topbar .app-desktop-nav a:active{transform:translateY(1px) scale(.97)!important}
 .main-header .header-actions :is(.cart-toggle,.app-icon-btn,.public-notification-button),.catalog-header :is(.app-icon-btn,.public-notification-button),.app-topbar :is(.app-icon-btn,.public-notification-button){transition:transform .2s ease,background .2s ease,box-shadow .2s ease,color .2s ease!important}
 .main-header .header-actions :is(.cart-toggle,.app-icon-btn,.public-notification-button):hover,.catalog-header :is(.app-icon-btn,.public-notification-button):hover,.app-topbar :is(.app-icon-btn,.public-notification-button):hover{transform:translateY(-2px)!important;background:#64202b!important;box-shadow:0 6px 18px #0004!important}
 .main-header .header-actions :is(.cart-toggle,.app-icon-btn,.public-notification-button):active,.catalog-header :is(.app-icon-btn,.public-notification-button):active,.app-topbar :is(.app-icon-btn,.public-notification-button):active{transform:scale(.94)!important}
 .main-header .brand .backend-logo{display:block!important;position:static!important}
 .main-header .brand-name{display:block!important}
}
@media (prefers-reduced-motion:reduce){.main-header .desktop-nav a,.catalog-header .nav a,.app-topbar .app-desktop-nav a,.main-header .header-actions *, .catalog-header .app-icon-btn,.app-topbar .app-icon-btn{transition:none!important;animation:none!important}}

/* Logo-only refinement: transparent, larger image with no badge/tile background. */
.main-header .brand .backend-logo,
.catalog-header .brand img,
.app-topbar .app-brand img{
  width:54px!important;height:54px!important;
  max-width:54px!important;max-height:54px!important;
  object-fit:contain!important;object-position:center!important;
  background:transparent!important;border:0!important;border-radius:0!important;
  box-shadow:none!important;padding:0!important;
  clip-path:none!important;
}
@media (min-width:1101px){
 .main-header .brand .backend-logo,.catalog-header .brand img,.app-topbar .app-brand img{
   width:62px!important;height:62px!important;max-width:62px!important;max-height:62px!important;
 }
}
@media (max-width:650px){
 .main-header .brand .backend-logo,.catalog-header .brand img,.app-topbar .app-brand img{
   width:49px!important;height:49px!important;max-width:49px!important;max-height:49px!important;
 }
}

/* 2026-10-16: Larger logo only. Keep navbar text, spacing and controls unchanged. */
.main-header .brand .backend-logo,
.catalog-header .brand > img,
.app-topbar .app-brand > img {
  display:block!important; flex:0 0 auto!important;
  width:72px!important;height:72px!important;max-width:none!important;max-height:none!important;
  min-width:72px!important;min-height:72px!important;
  object-fit:contain!important;object-position:center!important;
  background:none!important;border:0!important;border-radius:0!important;
  box-shadow:none!important;padding:0!important;margin:0!important;
  clip-path:none!important;filter:none!important;opacity:1!important;
}
@media (min-width:1101px) {
  .main-header .brand .backend-logo,.catalog-header .brand > img,.app-topbar .app-brand > img {
    width:82px!important;height:82px!important;min-width:82px!important;min-height:82px!important;
  }
}
@media (max-width:650px) {
  .main-header .brand .backend-logo,.catalog-header .brand > img,.app-topbar .app-brand > img {
    width:64px!important;height:64px!important;min-width:64px!important;min-height:64px!important;
  }
}

/* Keep the entire logo within each header during initial render and after load. */
.main-header .brand .backend-logo,.catalog-header .brand > img,.app-topbar .app-brand > img {width:auto!important;height:auto!important;min-width:0!important;min-height:0!important;max-width:min(100px,20vw)!important;max-height:48px!important;object-fit:contain!important;flex:0 1 auto!important}
@media(min-width:1101px){.main-header .brand .backend-logo,.catalog-header .brand > img,.app-topbar .app-brand > img{max-width:100px!important;max-height:64px!important}}
[hidden]{display:none!important}
