/* ===== PHX glass mobile header =====
   Applies from the first paint: gated on html.mobile-header-active (set by Journal in the server HTML),
   so the old header never flashes. phx-mh.js only adds the drop-down panel. */
@media (max-width:1023px){
html.mobile-header-active body{padding-top:104px}
html.mobile-header-active.route-common-home body{padding-top:0}
html.mobile-header-active.route-common-home .phx-hero{padding-top:110px!important}

html.mobile-header-active .mobile-header{position:fixed!important;top:10px;left:10px;right:10px;z-index:1000;border-radius:18px;
  background:rgba(255,255,255,.66);-webkit-backdrop-filter:blur(18px) saturate(170%);backdrop-filter:blur(18px) saturate(170%);
  border:1px solid rgba(255,255,255,.6);box-shadow:0 10px 30px rgba(15,23,42,.16);color:#0f172a;transition:background .35s,border-color .35s,color .35s}

/* announcement strip (pure CSS so it is there on first paint) */
html.mobile-header-active .mobile-header::before{content:"Black Friday Deals\2002\00B7\2002Secure Checkout\2002\00B7\2002Trusted Brands";display:block;height:28px;line-height:28px;text-align:center;
  font:600 8.5px/28px Montserrat,Poppins,system-ui,sans-serif;letter-spacing:.03em;text-transform:uppercase;white-space:nowrap;overflow:hidden;padding:0 10px;
  border-bottom:1px solid rgba(15,23,42,.08);opacity:.9}

html.mobile-header-active .mobile-header .mobile-top-bar{display:none!important}
html.mobile-header-active .mobile-header .mobile-bar{position:relative!important;top:auto!important;background:transparent!important;box-shadow:none!important;
  height:56px!important;min-height:0!important;transform:none!important;width:auto!important;display:flex!important;align-items:center;padding:0 6px 0 0!important}

/* logo: centred in the space between the menu button and the icons */
html.mobile-header-active .mobile-header .mobile-logo-wrapper{position:static!important;order:0;flex:1 1 auto;min-width:0;height:56px!important;display:flex;align-items:center;justify-content:center;width:auto!important;max-width:none!important;padding:0!important;margin:0 4px 0 48px!important;transform:none!important}
html.mobile-header-active .mobile-header #logo,html.mobile-header-active .mobile-header #logo a{height:56px!important;width:auto!important;display:flex;align-items:center;justify-content:center;padding:0!important;margin:0!important}
html.mobile-header-active .mobile-header #logo img{max-height:35px!important;max-width:100%!important;width:auto!important;height:auto!important}

/* right icons */
html.mobile-header-active .mobile-header .mobile-bar-group{margin-left:0!important;flex:0 0 auto;height:56px!important;display:flex;align-items:center;position:static!important}
html.mobile-header-active .mobile-header .mobile-bar-group > div,html.mobile-header-active .mobile-header .mobile-bar-group > a,
html.mobile-header-active .mobile-header .mobile-bar-group .dropdown-toggle,
html.mobile-header-active .mobile-header .mobile-bar-group #cart,html.mobile-header-active .mobile-header .mobile-bar-group #search{height:56px!important;width:36px!important;min-width:0!important;background:transparent!important;box-shadow:none!important;border-radius:0!important;display:flex!important;align-items:center;justify-content:center}
html.mobile-header-active .mobile-header .mobile-bar-group a,
html.mobile-header-active .mobile-header .mobile-bar-group .dropdown-toggle,
html.mobile-header-active .mobile-header .mobile-bar-group i{color:inherit!important}
html.mobile-header-active .mobile-header .mobile-bar-group i::before,html.mobile-header-active .mobile-header .mobile-bar-group a::before,
html.mobile-header-active .mobile-header .mobile-bar-group button::before{color:inherit!important}

/* Journal's own menu button becomes the hamburger (left) */
html.mobile-header-active .mobile-header .mobile-bar-group > .menu-trigger{position:absolute!important;left:2px;top:0;width:46px!important;height:56px!important;cursor:pointer}
html.mobile-header-active .mobile-header .mobile-bar-group > .menu-trigger::before,
html.mobile-header-active .mobile-header .mobile-bar-group > .menu-trigger::after{content:""!important;position:absolute;left:13px;top:27px;width:20px;height:2px;border-radius:2px;background:currentColor!important;
  font-size:0!important;color:inherit!important;transition:transform .3s,box-shadow .3s}
html.mobile-header-active .mobile-header .mobile-bar-group > .menu-trigger::before{box-shadow:0 -6px 0 currentColor,0 6px 0 currentColor}
html.mobile-header-active .mobile-header .mobile-bar-group > .menu-trigger::after{opacity:0}
html.phx-mh-open .mobile-header .mobile-bar-group > .menu-trigger::before{box-shadow:none;transform:rotate(45deg)}
html.phx-mh-open .mobile-header .mobile-bar-group > .menu-trigger::after{opacity:1;transform:rotate(-45deg)}

/* open state */
html.phx-mh-open .mobile-header{background:rgba(246,248,251,.82)!important;border-color:rgba(255,255,255,.7)!important;color:#0f172a!important;
  -webkit-backdrop-filter:blur(26px) saturate(170%);backdrop-filter:blur(26px) saturate(170%)}
html.phx-mh-open .mobile-header::before{border-bottom-color:rgba(15,23,42,.08)!important}
html.phx-mh-open .mobile-header #logo img{filter:none!important}
html.phx-mh-open body{overflow:hidden}

/* panel */
.phx-mh-panel{display:none}
html.phx-mh-open .phx-mh-panel{display:block;max-height:calc(100vh - 112px);max-height:calc(100dvh - 112px);overflow-y:auto;-webkit-overflow-scrolling:touch;
  padding:8px 20px 22px;border-top:1px solid rgba(15,23,42,.08);animation:phxMhIn .28s ease both;font-family:Poppins,system-ui,sans-serif}
@keyframes phxMhIn{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}
.phx-mh-big a{display:block;padding:9px 0;font:700 22px/1.25 Poppins,system-ui,sans-serif;letter-spacing:-.01em;color:#0f172a!important;text-decoration:none}
.phx-mh-big a em{font-style:normal;font-size:10px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#fff;background:#dc2626;border-radius:20px;padding:3px 8px;margin-left:8px;vertical-align:4px}
.phx-mh-sep{height:1px;background:rgba(15,23,42,.10);margin:10px 0 0}
.phx-mh-acc{border-bottom:1px solid rgba(15,23,42,.10)}
.phx-mh-acc>button{width:100%;display:flex;align-items:center;justify-content:space-between;background:transparent;border:0;padding:17px 0;
  font:700 17px/1.2 Poppins,system-ui,sans-serif;color:#0f172a;text-align:left;cursor:pointer}
.phx-mh-acc>button svg{width:16px;height:16px;transition:transform .25s;flex:0 0 16px}
.phx-mh-acc.is-open>button svg{transform:rotate(180deg)}
.phx-mh-sub{display:none;padding:0 0 12px}
.phx-mh-acc.is-open .phx-mh-sub{display:block}
.phx-mh-sub a{display:block;padding:9px 0;font-size:14.5px;color:#334155!important;text-decoration:none}
.phx-mh-sub a.is-all{font-weight:700;color:#0f172a!important}
.phx-mh-promo{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:18px 0 8px}
.phx-mh-promo a{position:relative;display:flex;flex-direction:column;justify-content:flex-end;height:120px;border-radius:12px;padding:12px;overflow:hidden;color:#fff!important;text-decoration:none;
  background:radial-gradient(160px 120px at 85% 0%,rgba(37,99,235,.65),transparent 70%),linear-gradient(160deg,#0b1220,#111c33)}
.phx-mh-promo a:nth-child(2){background:radial-gradient(160px 120px at 85% 0%,rgba(234,179,8,.55),transparent 70%),linear-gradient(160deg,#0b1220,#1c1a14)}
.phx-mh-promo small{font-size:9.5px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;opacity:.8}
.phx-mh-promo b{font-size:17px;line-height:1.15;margin-top:4px}
.phx-mh-promo i{font-style:normal;font-size:11.5px;margin-top:6px;opacity:.85}
.phx-mh-foot{margin-top:8px}
.phx-mh-foot a{display:flex;justify-content:space-between;align-items:center;padding:14px 0;border-bottom:1px solid rgba(15,23,42,.10);font-size:15px;font-weight:600;color:#0f172a!important;text-decoration:none}
.phx-mh-foot a::after{content:"\203A";font-size:20px;opacity:.5}
}
@media (min-width:1024px){.phx-mh-panel{display:none!important}}
