/* Mobile layout for the archived storefront. */
.ls-mobile-nav,
.ls-mobile-request,
.ls-mobile-catalog,
.ls-mobile-tags {
  display: none;
}

@media screen and (max-width: 819px) {
  .header640.ls-mobile-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 6px 10px;
    height: auto;
    box-sizing: border-box;
    padding: 8px 10px 0;
  }
  .ls-mobile-header::after,
  .ls-mobile-header .hbtns640,
  #lsn-launch.ls-has-mobile-launcher {
    display: none;
  }
  .header640.ls-mobile-header .logo640 {
    float: none;
    justify-self: start;
    margin: 0;
  }
  .ls-mobile-header .logo640 img {
    display: block;
    max-width: 100%;
    height: auto;
  }
  .ls-mobile-request {
    display: block;
    min-height: 44px;
    padding: 6px 10px;
    border: 1px solid #173e61;
    border-radius: 6px;
    background: #fff;
    color: #173e61;
    font: 600 13px/1.25 Arial, sans-serif;
  }
  .ls-mobile-nav {
    position: relative;
    z-index: 25;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-column: 1 / -1;
    margin: 0;
  }
  .ls-mobile-nav .ls-mobile-link,
  .ls-mobile-nav-menu > summary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    min-height: 44px;
    padding: 0 2px;
    border-top: 1px solid #dce5ef;
    box-sizing: border-box;
    color: #174469;
    font: 600 13px/1.25 Arial, sans-serif;
    text-decoration: none;
  }
  .ls-mobile-nav summary,
  .ls-mobile-catalog summary,
  .ls-mobile-tags summary {
    cursor: pointer;
  }
  .ls-mobile-nav summary::-webkit-details-marker {
    display: none;
  }
  .ls-mobile-nav summary::after {
    content: '';
    width: 5px;
    height: 5px;
    border: solid currentColor;
    border-width: 0 1px 1px 0;
    transform: rotate(45deg) translateY(-2px);
  }
  .ls-mobile-nav-menu[open] > summary,
  .ls-mobile-nav .ls-mobile-link:hover {
    background: #eef5fb;
  }
  .ls-mobile-nav-links {
    position: absolute;
    inset-inline: 0;
    padding: 4px 10px;
    border: 1px solid #dce5ef;
    background: #fff;
    box-shadow: 0 4px 12px #173e6126;
  }
  .ls-mobile-nav-links a {
    display: block;
    padding: 10px 4px;
    color: #174469;
    font: 14px/1.5 Arial, sans-serif;
  }
  .ls-mobile-nav .cart-count {
    color: #914200;
  }

  .underheader640:has(.ls-mobile-search) {
    height: auto;
    padding: 8px 10px;
  }
  .ls-mobile-search {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 6px;
    margin: 0;
  }
  .underheader640 .ls-mobile-search input {
    min-width: 0;
    height: 44px;
    padding: 0 10px;
    background: #fff;
    font-size: 16px;
  }
  .ls-mobile-search button {
    padding: 0 12px;
    border: 0;
    border-radius: 4px;
    background: #173e61;
    color: #fff;
    font: 600 14px Arial, sans-serif;
  }

  .ls-mobile-catalog,
  .ls-mobile-tags {
    display: block;
    margin: 0 0 12px;
  }
  .ls-mobile-catalog > summary,
  .ls-mobile-tags > summary {
    padding: 11px 12px;
    border: 1px solid #dce5ef;
    border-radius: 6px;
    background: #f4f8fb;
    color: #174469;
    font: 600 15px/1.4 Arial, sans-serif;
  }
  .ls-mobile-catalog .cat640 {
    margin: 6px 0 0;
  }
  .ls-mobile-catalog .cat640 li > span {
    display: flex;
    align-items: stretch;
    height: auto;
    min-height: 44px;
    padding: 0 !important;
    cursor: auto;
  }
  .ls-mobile-catalog .cat640 li > span > a {
    flex: 1;
    min-width: 0;
    padding: 10px !important;
    overflow-wrap: anywhere;
  }
  .ls-mobile-catalog .cat640 li > ul {
    display: none;
  }
  .ls-mobile-catalog .cat640 li.ls-mobile-expanded > ul {
    display: block;
    padding-inline-start: 10px;
  }
  .ls-mobile-subcategories {
    flex: 0 0 44px;
    min-height: 44px;
    border: 0;
    border-left: 1px solid #dce5ef;
    background: #f4f8fb;
    color: #174469;
    cursor: pointer;
  }
  .ls-mobile-subcategories::after {
    display: inline-block;
    width: 7px;
    height: 7px;
    border: solid currentColor;
    border-width: 0 2px 2px 0;
    content: '';
    transform: rotate(45deg);
  }
  .ls-mobile-subcategories[aria-expanded="true"]::after {
    transform: rotate(225deg);
  }
  .nav-hotties:has(.ls-mobile-tags) > ul.aux {
    display: none;
  }
  .ls-mobile-tags > .tags {
    padding: 8px;
    overflow-wrap: anywhere;
  }
  .page .breadcrumbs {
    overflow-wrap: anywhere;
  }

  #page-content .category_page > h1 {
    height: auto;
    padding: 10px 12px;
    border: 0;
    box-shadow: none;
    background: #ff9e38;
    color: #302011;
    line-height: 1.3;
  }
  #page-content .category_page > h1 > span {
    position: static;
    float: none;
    width: auto;
    height: auto;
    min-height: 0;
    padding: 0;
    background: none !important;
    color: inherit;
    font: 600 19px/1.3 Arial, sans-serif;
    text-shadow: none !important;
    text-transform: none;
    overflow-wrap: anywhere;
  }
  #page-content .category_page > h1 > .backlink:not([href]) {
    display: none;
  }
  #page-content .category_page .product-gallery {
    max-width: 100%;
  }

  table.table.product-list:has(td.prdesc) {
    width: 100%;
    table-layout: fixed;
  }
  table.table.product-list td.prdesc {
    overflow-wrap: anywhere;
  }
  table.table.product-list td.prdesc .nowrap {
    white-space: normal;
  }
  .woocommerce input:not([type="checkbox"]):not([type="radio"]),
  .woocommerce select,
  .woocommerce textarea,
  .archive-request input,
  .archive-request textarea {
    font-size: 16px;
  }
  #ls-cookie-panel {
    max-height: calc(100dvh - 24px);
    box-sizing: border-box;
    overflow: auto;
  }
}
