.masthead{
  --brand-blue:var(--shop-blue,#114DA4);
  --brand-gold:#ffcc25;
  color:#182f50;
  background:white;
  border-bottom:1px solid #cdced0;
  box-shadow:0 2px 5px #0002;
}
.masthead-utility{background:white}
.masthead-utility-inner,.masthead .masthead-inner,.masthead-navigation{
  width:min(1180px,calc(100% - 40px));
  margin-inline:auto;
}
.masthead-utility-inner{
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  gap:25px;
  align-items:center;
  min-height:55px;
}
.masthead-support,.masthead-social,.masthead .shop-social-links{display:flex;align-items:center}
.masthead-support{gap:9px;font-size:.875rem;font-weight:750;color:#162e49}
.masthead-support svg{width:21px;height:21px;fill:var(--support-phone-green);stroke:none}
.masthead-support a{color:var(--support-phone-green);text-decoration:none;font-size:1.18rem;font-weight:800;white-space:nowrap}
.masthead-support a:hover{text-decoration:underline}
.masthead-social{gap:8px;padding:0 12px;border-inline:1px solid #ddd;font-size:.75rem}
.masthead .shop-social-links{gap:2px}
.masthead .shop-social-links a{width:27px;height:35px;border:0;color:var(--shop-blue,#114DA4)}
.masthead .masthead-social .shop-social-links svg{width:24px;height:24px}
.masthead-primary{
  border-block:5px solid var(--brand-gold);
  background:linear-gradient(105deg,#215b9d,#184a87 65%,#123b71);
  color:white;
}
.masthead .masthead-inner{
  display:grid;
  grid-template-columns:34% 32% minmax(0,1fr);
  align-items:center;
  gap:0;
  grid-template-rows:90px;
  height:90px;
  min-height:0;
  padding:0;
}
.masthead .brand-lockup{
  display:flex;
  align-items:center;
  position:relative;
  z-index:2;
  gap:9px;
  width:max-content;
  max-width:98%;
  height:100%;
  text-decoration:none;
}
.masthead-hero-logo{
  display:block;
  flex:none;
  width:124px;
  height:124px;
  background:white;
  border-radius:50%;
  box-shadow:0 3px 10px #0004;
  object-fit:cover;
}
.brand-signature{min-width:0;width:202px;text-align:right}
.masthead .brand-lockup .official-logo{display:block;width:100%;height:auto;background:transparent;filter:url(#whiteWordmark)}
.masthead .brand-tagline{display:block;width:100%;margin:1px 0 0;color:#fff;overflow:visible;--rain-ink:#bceaff;--cursor:4%}
.masthead .brand-tagline svg{display:block;width:100%;height:auto;fill:currentColor;stroke:none;font:600 16px/1 var(--shop-font)}
.masthead .brand-tagline .terminal-caret{height:58%}
.masthead .brand-tagline .terminal-caret{margin-left:var(--cursor)}
.masthead-search{
  display:flex;
  align-items:center;
  width:100%;
  min-width:0;
  height:44px;
  padding-inline:11px 4px;
  border-radius:24px;
  background:white;
  color:var(--brand-blue);
}
.masthead-search:focus-within{outline:2px solid var(--brand-gold);outline-offset:2px}
.masthead-search select{appearance:auto;width:7ch;max-width:30%;padding:0;border:0;background:transparent;color:var(--brand-blue);font-weight:600;font-family:inherit;font-size:.82rem}
.masthead-search select:has(option:checked:not(:first-child)){width:13ch}
.masthead-search input{flex:1;min-width:0;height:100%;padding:4px 8px;border:0;background:transparent;color:#142d49;font:inherit;font-size:.9rem;outline:none}
.masthead-search button{display:grid;place-items:center;width:40px;height:40px;flex:none;border:0;border-radius:50%;background:transparent;color:var(--brand-blue)}
.masthead-search button svg{width:22px;height:22px;stroke-width:2.4}
.masthead-search button:hover{background:#edf5ff}
.masthead .head-actions{justify-self:end;gap:14px;margin:0}
.masthead-account{--account-gold:#fcd02f}
.masthead #accountButton{padding:0 16px 0 0;color:#fff;border-right:1px solid #ffffff66;border-radius:0}
.masthead #accountButton svg{width:24px;height:24px;fill:currentColor;stroke:none}
.masthead .account-copy{display:grid;gap:2px;text-align:right;font-family:Cabin,Arial,Helvetica,sans-serif;letter-spacing:0}
.account-copy small{color:white;font-size:13px;font-weight:400;line-height:15px}
.account-copy strong{color:var(--account-gold);font-size:15px;font-weight:700;line-height:15px}
.masthead #bagBtn:not(.bag-docked){background:transparent;color:white;--bag-surface:#164681}
.masthead #bagBtn.bag-docked{background:white;color:#142b45}
.masthead #count{background:var(--brand-gold);color:#142b45}
.masthead :is(.brand-lockup,#accountButton,#bagBtn):focus-visible{outline:2px solid var(--brand-gold);outline-offset:2px}
.masthead-navigation{position:relative}
.masthead .shop-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:center;gap:0;height:54px;margin:0;padding:0}
.masthead .shop-nav button{
  display:flex;
  align-items:center;
  justify-content:center;
  position:relative;
  width:100%;
  min-height:44px;
  padding:0 5px;
  color:var(--brand-blue);
  font:700 1rem/20px var(--shop-font);
  letter-spacing:.03em;
  text-transform:uppercase;
}
.masthead .shop-nav button::before{content:"";position:absolute;left:0;top:50%;height:24px;border-left:1px solid #ddd;transform:translateY(-50%)}
.masthead .shop-nav{background:linear-gradient(#ddd,#ddd) right center/1px 24px no-repeat}
.masthead .shop-nav button:is(:hover,[aria-expanded="true"]){color:#0074c6}
.masthead .shop-nav #navPersonalize{gap:8px}
.masthead .shop-nav #navPersonalize:hover{text-decoration:none}
.nav-personalize-label{
  display:grid;
  justify-items:start;
  gap:.25em;
  font:800 1rem/1 var(--shop-font);
  letter-spacing:-.015em;
  white-space:nowrap;
}
.nav-personalize-label > :last-child{
  font-size:max(.5rem,.67em);
  font-weight:700;
  letter-spacing:.13em;
}
.nav-personalize-icon{
  position:relative;
  flex:none;
  width:1.27em;
  height:1em;
  font-size:39px;
  color:var(--brand-blue);
}
.nav-personalize-case{
  position:absolute;
  top:.07em;
  left:.17em;
  width:.57em;
  height:.87em;
  border:max(1px,.045em) solid currentColor;
  border-radius:.14em;
  background:linear-gradient(145deg,#f8fcff,#e5f1fe);
  box-shadow:.05em .04em 0 #2362ac36;
  transform:rotate(-13deg);
}
.nav-personalize-case::before,
.nav-personalize-face::before,
.nav-personalize-face::after,
.nav-personalize-pencil::before,
.nav-personalize-pencil::after{
  content:"";
  position:absolute;
}
.nav-personalize-case::before{
  top:.055em;
  left:.055em;
  width:.22em;
  height:.22em;
  border:1px solid currentColor;
  border-radius:.07em;
  background:radial-gradient(circle at 31% 32%,currentColor 0 19%,transparent 23%),
    radial-gradient(circle at 70% 69%,currentColor 0 17%,transparent 22%);
}
.nav-personalize-face{
  position:absolute;
  bottom:.145em;
  left:50%;
  width:.35em;
  height:.29em;
  transform:translateX(-50%);
}
.nav-personalize-face::before{
  top:.045em;
  left:.06em;
  width:max(1px,.065em);
  aspect-ratio:1;
  border-radius:50%;
  background:currentColor;
  box-shadow:.165em 0 currentColor;
}
.nav-personalize-face::after{
  inset:auto .055em 0;
  height:.12em;
  border:max(1px,.04em) solid currentColor;
  border-top:0;
  border-radius:0 0 55% 55% / 0 0 100% 100%;
  transform-origin:left center;
}
.nav-personalize-pencil{
  position:absolute;
  top:.62em;
  left:.69em;
  width:.71em;
  height:.18em;
  border-radius:0 .055em .055em 0;
  background:linear-gradient(#ffeb9c 0 24%,var(--brand-gold) 24% 74%,#ce890c 74%);
  box-shadow:0 .035em .055em #183b6855;
  transform:rotate(-47deg);
  transform-origin:left center;
}
.nav-personalize-pencil::before{
  inset:0 auto 0 -.18em;
  width:.19em;
  background:linear-gradient(90deg,#243750 0 30%,#eac088 30%);
  clip-path:polygon(0 50%,100% 0,100% 100%);
}
.nav-personalize-pencil::after{
  inset:0 0 0 auto;
  width:.16em;
  border-radius:0 .055em .055em 0;
  background:linear-gradient(90deg,#e6eef6 0 38%,#dc7667 38%);
}
@media(prefers-reduced-motion:no-preference){
  #navPersonalize:is(:hover,:focus-visible) .nav-personalize-face::before{animation:personalize-eyes .15s .15s ease-out both}
  #navPersonalize:is(:hover,:focus-visible) .nav-personalize-face::after{animation:personalize-smile .25s .3s ease-out both}
  #navPersonalize:is(:hover,:focus-visible) .nav-personalize-pencil{animation:personalize-pencil .65s ease-in-out both}
  @keyframes personalize-eyes{
    from{opacity:0}
    to{opacity:1}
  }
  @keyframes personalize-smile{
    from{transform:scaleX(0)}
    to{transform:scaleX(1)}
  }
  @keyframes personalize-pencil{
    0%,100%{transform:rotate(-47deg)}
    22%{transform:translate(-.34em,.04em) rotate(-43deg)}
    47%{transform:translate(-.18em,-.13em) rotate(-50deg)}
    72%{transform:translate(0,-.22em) rotate(-42deg)}
  }
}
.collections-drawer{
  position:fixed;inset:0 auto 0 0;margin:0;padding:0;
  width:min(420px,92vw);max-width:none;height:100%;height:100dvh;max-height:none;
  border:0;border-radius:0;background:#fff;color:#182f50;box-shadow:8px 0 28px #10294724;
}
.collections-drawer[open]{display:flex;flex-direction:column}
.collections-drawer::backdrop{background:rgb(10 30 55 / 48%);backdrop-filter:none}
html:has(.collections-drawer[open]){overflow:hidden}
.collections-drawer-head{
  display:flex;align-items:center;justify-content:space-between;flex:none;
  padding:8px 12px 8px 20px;background:var(--brand-blue);border-bottom:3px solid var(--brand-gold);color:#fff;
}
.collections-drawer-head h2{margin:0;font:700 1.25rem/1.25 var(--shop-font)}
.collections-drawer-head button{display:grid;place-items:center;width:44px;height:44px;border:0;background:transparent;color:inherit}
.collections-drawer-head svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2}
#collectionGroups{display:block;flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:0 20px max(20px,env(safe-area-inset-bottom))}
#collectionGroups section{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:12px;padding:16px 0 10px;border-bottom:1px solid #dce4ed}
#collectionGroups h3{grid-column:1/-1;margin:0 0 3px;color:var(--brand-blue);font:700 1rem/1.35 var(--shop-font)}
#collectionGroups a{display:flex;align-items:center;min-height:44px;padding:5px 0;color:#20354c;text-decoration:none;font:400 1rem/1.3 Cabin,Arial,sans-serif;overflow-wrap:anywhere}
#collectionGroups a:is(:hover,:focus-visible){color:var(--brand-blue);text-decoration:underline}
@media(prefers-reduced-motion:no-preference){
  .collections-drawer[open]{animation:open-collections .2s ease-out}
  @keyframes open-collections{from{transform:translateX(-100%)}to{transform:translateX(0)}}
}
@media(max-width:1000px){
  .masthead .masthead-inner{grid-template-columns:36% 33% 1fr}
  .masthead-hero-logo{width:99px;height:99px}
  .brand-signature{width:175px}
  .masthead .brand-lockup{max-width:96%;gap:6px}
}
.masthead-utility-inner{grid-template-columns:auto minmax(0,1fr) auto;gap:15px;min-height:54px}
.masthead .masthead-support{gap:10px;font:700 14px/20px Cabin,Arial,sans-serif;color:#000}
.masthead-support svg{width:20px;height:20px}
.masthead-support a{font:700 19px/20px var(--shop-font)}
.masthead-chevron{margin-left:6px;font:700 16px/20px Cabin,Arial,sans-serif}
.masthead-hours{width:fit-content;color:#6e6e6e;font:400 12px/20px Cabin,Arial,sans-serif;text-decoration:none}
.masthead-hours:hover{text-decoration:underline}
.masthead-social{height:38px;padding-inline:20px;gap:6px;color:#6e6e6e;font:400 12px/36px Cabin,Arial,sans-serif}
.masthead .masthead-social .shop-social-links{gap:0}
.masthead .masthead-social .shop-social-links a{height:36px;width:29px;border:0;background:transparent;color:var(--brand-blue)}
.masthead-account{display:flex;align-items:center;gap:8px}
.masthead-account .account-copy a{color:inherit;text-decoration:none}
.masthead-account .account-copy a:hover{text-decoration:underline}

.masthead-support .support-label strong{text-transform:uppercase}
.masthead .head-actions .masthead-search-toggle{display:none}

@media(min-width:601px) and (max-width:940px){
  .masthead .masthead-inner{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr) auto;gap:12px;height:76px;grid-template-rows:76px}
  .masthead-hero-logo{width:94px;height:94px}
  .masthead-account .account-copy{display:none}
  .masthead .head-actions{grid-area:1/3;gap:4px}
}
@media(max-width:750px){
  .masthead-utility-inner,.masthead .masthead-inner,.masthead-navigation{width:calc(100% - 20px)}
  .masthead-utility-inner{grid-template-columns:minmax(0,1fr) auto;gap:8px;padding-block:6px}
  .masthead .masthead-support{gap:5px;line-height:1.3;flex-wrap:wrap}
  .masthead-support .support-prefix,.masthead-chevron,.masthead-social>span{display:none}
  .masthead-support .support-label strong{text-transform:none}
  .masthead-support a{font-size:clamp(.9375rem,3.75vw,1.125rem)}
  .masthead-support svg{width:17px;height:17px}
  .masthead-hours{display:none}
  .masthead-social{grid-area:1/2;padding:0;height:auto;border:0}
  .masthead .masthead-social .shop-social-links a{width:30px;height:36px}
  .masthead .masthead-social .shop-social-links svg{width:21px;height:21px}
  .masthead-primary{border-width:3px}
  .masthead-account .account-copy{display:none}
  .masthead #accountButton{width:44px;height:44px;padding:0;border:0}
  .masthead-search input{font-size:1rem}
  .masthead .shop-nav{height:auto;min-height:48px}
  .masthead .shop-nav button{min-height:48px;white-space:normal;padding:4px;font-size:clamp(.71875rem,2.7vw,.875rem);line-height:1.2;letter-spacing:.01em}
  .masthead .shop-nav #navPersonalize{gap:clamp(3px,1vw,8px)}
  .nav-personalize-label{font-size:clamp(.5625rem,2.5vw,1rem)}
  .nav-personalize-icon{font-size:clamp(1.3125rem,6vw,39px)}
  .masthead #browseThemes{gap:4px}
}
@media(max-width:600px){
  .masthead .masthead-inner{height:auto;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:clamp(58px,16vw,72px);padding:0;gap:0 4px}
  .masthead .brand-lockup{width:100%;max-width:100%;gap:clamp(4px,1.3vw,8px)}
  .masthead-hero-logo{width:clamp(72px,19vw,90px);height:auto;aspect-ratio:1}
  .brand-signature{width:clamp(112px,36vw,180px)}
  .masthead .head-actions{grid-area:1/2;gap:0}
  .masthead .head-actions .masthead-search-toggle:not([hidden]){display:inline-flex;width:44px;height:44px;background:transparent;color:white}
  .masthead-search-toggle svg{fill:none;stroke:currentColor;stroke-width:2}
  .masthead-search-toggle:focus-visible{outline:2px solid var(--brand-gold)}
  .masthead #bagBtn:not(.bag-docked){width:44px;min-width:44px;height:44px}
  .masthead-search{grid-area:2/1/3/-1;margin:9px 0 8px}
  .masthead-inner:has(.masthead-search-toggle:not([hidden])[aria-expanded="false"]) .masthead-search{display:none}
  .masthead .bag-slot{min-width:44px}
}
@media(max-width:359px){
  .masthead .masthead-support{display:grid;grid-template-columns:auto 1fr;gap:0 5px}
  .masthead-support svg{grid-row:span 2}
  .masthead-navigation{width:100%}
  .masthead .shop-nav button{padding-inline:2px}
  .masthead #browseThemes{gap:3px}
}

#collectionGroups h3 a {color:var(--brand-blue);font:inherit}
#collectionGroups details {align-self:start}
#collectionGroups summary {cursor:pointer;padding:12px 0}
#collectionGroups details > a, #collectionGroups details > details {margin-left:.75rem}
