/* Visual product selection inside the mobile navigation. */
@media (max-width: 768px) {
  .mobile-content-head { margin-bottom: 14px; }

  .mobile-product-view {
    padding: 12px 4% 128px;
    background: #fff;
    overflow-x: clip;
    overscroll-behavior-x: none;
    touch-action: pan-y;
  }

  .mobile-product-view .mobile-back {
    position: relative;
    z-index: 3;
    top: auto;
    left: auto;
    width: fit-content;
    max-width: 100%;
    min-height: 44px;
    margin: 0 0 12px;
    padding: 0 14px 0 10px;
    border: 1px solid #e2e2e7;
    border-radius: 999px;
    background: #f5f5f7;
    color: #1d1d1f;
    font-size: 13.5px;
    font-weight: 750;
    letter-spacing: -.01em;
    gap: 7px;
    display: inline-flex;
    align-items: center;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .mobile-product-view .mobile-back span { font-size: 16px; line-height: 1; }

  .mobile-category-hero {
    position: relative;
    width: 100%;
    height: auto;
    max-height: 180px;
    aspect-ratio: 16 / 9;
    padding: 0;
    margin: 0 0 14px;
    border: 1px solid rgba(7, 26, 54, .08);
    border-radius: 14px;
    overflow: hidden;
    background: #eef1f4;
    box-shadow: none;
  }

  .mobile-category-hero:empty {
    display: none;
  }

  .mobile-category-hero::after {
    content: none;
  }

  .mobile-category-hero img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    margin: 0;
    display: block;
    object-fit: cover;
    object-position: center;
    transform: none;
  }

  .mobile-category-hero figcaption {
    display: none;
  }

  .mobile-product-view > .section-kicker,
  .mobile-product-view > h2,
  .mobile-product-view > p { margin-left: 2px; margin-right: 2px; }

  .mobile-product-view > .section-kicker {
    margin-top: 0;
    color: #86868b;
    font-size: 10px;
    letter-spacing: .12em;
  }

  .mobile-product-view > h2 {
    margin-top: 6px;
    margin-bottom: 6px;
    color: #1d1d1f;
    font-size: 22px;
    line-height: 1.15;
    letter-spacing: -.03em;
  }

  .mobile-product-view > p {
    margin: 0;
    color: #6e6e73;
    font-size: 13px;
    line-height: 1.45;
  }

  .mobile-product-view #mobile-product-list {
    margin-top: 16px;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 14px;
    align-content: start;
  }

  .mobile-product-view #mobile-product-list li {
    min-width: 0;
    min-height: 0;
    height: auto;
  }

  .mobile-product-view #mobile-product-list li a,
  .mobile-product-view #mobile-product-list .nav-product-tile {
    position: relative;
    min-height: 0;
    height: auto;
    padding: 0;
    border: 1px solid rgba(7, 26, 54, .1);
    border-radius: 14px;
    background: #fff;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    overflow: hidden;
    text-decoration: none;
    box-shadow: none;
    transition: transform .22s cubic-bezier(.22, 1, .36, 1), box-shadow .22s ease, border-color .22s ease;
  }

  .mobile-product-view #mobile-product-list li a:active {
    transform: translateY(-2px);
    background: #fff;
    border-color: rgba(7, 26, 54, .2);
    box-shadow: 0 14px 32px rgba(7, 26, 54, .12);
  }

  .mobile-product-view #mobile-product-list .product-tile-media {
    position: relative;
    width: 100%;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: 1 / 1;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: transparent;
    flex: 0 0 auto;
  }

  .mobile-product-view #mobile-product-list .product-tile-media:not(:has(img)) {
    min-height: 160px;
    background: linear-gradient(145deg, #f3f6f9 0%, #e8edf3 100%);
  }

  .mobile-product-view #mobile-product-list .product-image-slot {
    position: absolute;
    inset: 0;
    display: block;
    background:
      linear-gradient(135deg, transparent 46%, rgba(255, 255, 255, .55) 50%, transparent 54%),
      linear-gradient(180deg, #f6f6f8 0%, #eeeef1 100%);
  }

  .mobile-product-view #mobile-product-list .product-tile-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    margin: 0;
    display: block;
    object-fit: cover;
    object-position: center;
    background: transparent;
  }

  .mobile-product-view #mobile-product-list .product-tile-media:has(img) .product-image-slot {
    display: none;
  }

  .mobile-product-view #mobile-product-list .product-tile-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 10px;
    padding: 14px 16px 16px;
    flex: 0 0 auto;
    min-height: 0;
    min-width: 0;
    background: #fff;
  }

  .mobile-product-view #mobile-product-list .product-tile-copy h3 {
    margin: 0;
    color: #0f172a;
    font-size: 16px;
    font-weight: 750;
    letter-spacing: -.02em;
    line-height: 1.3;
  }

  .mobile-product-view #mobile-product-list .nav-product-badges {
    position: absolute;
    z-index: 3;
    top: 10px;
    right: 10px;
    max-width: 88px;
    justify-content: flex-end;
    pointer-events: none;
    gap: 4px;
  }

  .mobile-product-view #mobile-product-list .catalog-product-badge {
    width: 44px;
    height: 44px;
  }

  .mobile-product-view #mobile-product-list .product-tile-cta {
    display: none !important;
  }

  .mobile-view-all-products {
    min-height: 78px;
    margin: 16px 0 0;
    padding: 18px 18px;
    border: 0;
    border-radius: 14px;
    background: #1d1d1f;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    text-decoration: none;
    box-shadow: none;
    transition: background .2s ease, transform .18s ease;
  }

  .mobile-view-all-products:hover { background: #000; }
  .mobile-view-all-products:active { transform: scale(.985); }

  .mobile-view-all-products > span {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .mobile-view-all-products small {
    color: rgba(255, 255, 255, .58);
    font-size: 13px;
    font-weight: 550;
    letter-spacing: -.01em;
    text-transform: none;
  }

  .mobile-view-all-products strong {
    max-width: none;
    font-size: 17px;
    font-weight: 750;
    line-height: 1.25;
    letter-spacing: -.025em;
  }

  .mobile-view-all-products > i {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border-radius: 50%;
    background: #fff;
    color: #1d1d1f;
    display: grid;
    place-items: center;
    font-size: 18px;
    font-style: normal;
  }

  .mobile-product-assistant {
    margin: 14px 0 10px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .mobile-assistant-support {
    min-height: 96px;
    padding: 20px 18px;
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 16px;
    background: #f5f5f7;
    color: #1d1d1f;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    text-decoration: none;
    transition: background .18s ease, transform .18s ease;
  }

  .mobile-assistant-support:active {
    background: #ececef;
    transform: scale(.985);
  }

  .mobile-assistant-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .mobile-assistant-copy strong {
    color: #1d1d1f;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -.02em;
  }

  .mobile-assistant-phone {
    margin: 0;
    padding: 0;
    min-height: 0;
    border-radius: 0;
    background: transparent;
    color: #1d1d1f;
    display: block;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -.04em;
    line-height: 1;
    font-variant-numeric: tabular-nums;
  }

  .mobile-assistant-copy small {
    color: #6e6e73;
    font-size: 13px;
    font-weight: 550;
    letter-spacing: -.01em;
  }

  .mobile-assistant-dial {
    width: 56px;
    height: 56px;
    flex: 0 0 56px;
    border-radius: 50%;
    background: #1d1d1f;
    color: #fff;
    display: grid;
    place-items: center;
    box-shadow: none;
  }

  .mobile-assistant-dial svg {
    width: 24px;
    height: 24px;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .mobile-assistant-live { display: none; }
}

@media (max-width: 360px) {
  .mobile-product-view { padding-inline: 4%; }
  .mobile-product-view #mobile-product-list { gap: 12px; }
  .mobile-product-view #mobile-product-list .product-tile-copy h3 { font-size: 15px; }
  .mobile-view-all-products { min-height: 72px; padding: 16px; }
  .mobile-view-all-products small { font-size: 12px; }
  .mobile-view-all-products strong { font-size: 16px; }
  .mobile-assistant-support { min-height: 88px; padding: 18px 16px; }
  .mobile-assistant-copy strong { font-size: 15px; }
  .mobile-assistant-phone { font-size: 26px; }
  .mobile-assistant-dial { width: 52px; height: 52px; flex-basis: 52px; }
  .mobile-category-hero { max-height: 150px; }
}
