.phone-warning,
.phone-brand,
.phone-header-icon,
.phone-sku,
.phone-support {
  display: none;
}

.header-search-row {
  display: contents;
}

@media (max-width: 767px) {
  .age-notice { display: none; }

  .masthead {
    --header-red: #900906;
    top: 0;
    background: white;
    color: #292929;
    border: 0;
    color-scheme: light;
  }

  .phone-warning {
    display: grid;
    min-height: 3.6875rem;
    align-items: start;
    padding: 0.4375rem 4px 0.625rem;
    text-align: center;
    background: #8f0a07;
    color: white;
    font: 500 0.875rem/1.2rem var(--sans);
  }

  .phone-warning p {
    margin: 0 auto;
    max-width: 650px;
  }

  .phone-warning strong { font-weight: 650; }
  .phone-warning .icon {
    width: 0.85rem;
    height: 0.85rem;
    vertical-align: -0.08rem;
    margin-right: 1px;
  }

  .masthead .nav-shell {
    width: 100%;
    display: grid;
    grid-template-columns: 50px minmax(0, 1fr) 72px;
    grid-template-rows: minmax(56px, auto) minmax(70px, auto);
    align-items: center;
    gap: 0;
    min-height: 0;
    padding: 0;
  }

  .masthead .menu-toggle {
    grid-area: 1 / 1;
    justify-self: end;
    margin: 0;
    display: inline-grid;
    place-items: center;
  }

  .masthead .phone-header-icon { display: block; }
  .masthead .desktop-header-icon,
  .masthead .desktop-nav,
  .masthead .brand-mark,
  .masthead .brand-type,
  .masthead .cart-word { display: none; }

  .masthead .menu-toggle .icon {
    width: 28px;
    height: 24px;
    stroke-width: 1.6;
    stroke-linecap: square;
  }

  .masthead .brand-lockup {
    grid-area: 1 / 2;
    justify-self: start;
    min-height: 44px;
    max-width: calc(100% - 5px);
    margin-left: 5px;
  }

  .masthead .phone-brand,
  .phone-brand img {
    display: block;
    width: auto;
    max-width: 100%;
  }

  .phone-brand img {
    height: 49px;
    object-fit: contain;
    object-position: left center;
  }

  .masthead .cart-button {
    grid-area: 1 / 3;
    justify-self: end;
    display: grid;
    place-items: center;
    justify-content: center;
    position: relative;
    margin: 0 14px 0 0;
    min-width: 44px;
    height: 44px;
    padding: 0;
  }

  .masthead .cart-button .icon {
    width: 26px;
    height: 28px;
    stroke-width: 1.1;
  }

  .masthead #cart-count {
    position: absolute;
    inset: 0 -3px auto auto;
    min-width: 17px;
    min-height: 17px;
    padding: 1px 3px;
    border: 0;
    border-radius: 12px;
    background: var(--header-red);
    color: white;
    line-height: 1;
  }
  .masthead #cart-count[data-empty="true"] { display: none; }

  .header-search-row {
    grid-area: 2 / 1 / 3 / -1;
    align-self: stretch;
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 49px;
    align-items: center;
    gap: 3px;
    padding: 0 12px 2px 3px;
    border-top: 1px solid #e2e2e2;
    background: white;
  }

  .masthead .phone-sku,
  .masthead .phone-support {
    display: grid;
    place-items: center;
    min-height: 44px;
    padding: 0;
  }

  .phone-sku .icon { width: 30px; height: 20px; }
  .phone-support .icon {
    width: 35px;
    height: 35px;
    padding: 6px;
    border-radius: 50%;
    color: white;
    background: #248739;
    stroke-width: 1.8;
  }

  .masthead .search-box {
    display: grid;
    grid-area: auto;
    grid-template-columns: minmax(0, 1fr) 44px;
    align-items: center;
    gap: 6px;
    margin: 0;
    width: 100%;
    background: transparent;
    border: 0;
    outline: 0;
  }

  .masthead .search-box input {
    order: 0;
    width: 100%;
    height: 42px;
    padding: 0 14px 0 clamp(12px, 6vw, 24px);
    border: 1px solid var(--header-red);
    border-radius: 21px;
    color: #333;
    background: white;
    font-size: 1rem;
  }

  .masthead .search-box input::placeholder {
    color: #686868;
    font-size: .8125rem;
    font-style: italic;
    opacity: 1;
  }

  .masthead .search-box input:focus-visible {
    outline: 2px solid var(--header-red);
    outline-offset: 1px;
  }

  .masthead .search-box button {
    width: 44px;
    height: 44px;
    border: 1px solid transparent;
    border-radius: 50%;
    padding: 0;
    background: var(--header-red) padding-box;
    color: white;
  }

  .masthead .search-box .icon {
    width: 20px;
    height: 20px;
    stroke-width: 1.25;
  }

  #departments, #support { scroll-margin-top: calc(3.6875rem + 131px); }

  #modal[data-view="menu"] {
    position: fixed;
    inset: 0 auto 0 0;
    margin: 0;
    width: min(370px, calc(100% - 48px));
    max-width: none;
    height: 100dvh;
    max-height: none;
    padding: max(18px, env(safe-area-inset-top)) 18px max(24px, env(safe-area-inset-bottom));
    border: 0;
    border-radius: 0;
    background: white;
    color: #282828;
    color-scheme: light;
  }

  #modal[data-view="menu"] .modal-head { align-items: center; margin: 0; }
  #modal[data-view="menu"] .modal-head h2 { font-size: 2rem; }
  #modal[data-view="menu"] .modal-head .icon-button { border: 0; }
  #modal[data-view="menu"] .mobile-menu { margin-top: 14px; }
  #modal[data-view="menu"] .mobile-menu a,
  #modal[data-view="menu"] summary {
    min-height: 48px;
    padding: 12px 2px;
    border-bottom: 1px solid #e6e6e6;
    font-size: .94rem;
    line-height: 1.45;
  }
  #modal[data-view="menu"] summary { cursor: pointer; }
  #modal[data-view="menu"] details[open] summary { color: #900906; }
  #modal[data-view="menu"] details a { padding-left: 16px; font-size: .88rem; }
  #modal[data-view="menu"] .button-primary { background: #900906; color: white; }
}
