/**
 * London Premium v85
 * Immediate Selection mobile rail: exactly one complete product per swipe.
 */

@media (max-width: 720px) {
  html body.home .site .lp-home-product-carousel {
    overflow: hidden !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  html body.home .site .lp-home-product-carousel > [data-lp-reveal]:last-child,
  html body.home .site .lp-home-product-carousel .woocommerce {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow: visible !important;
  }

  /* Important: use a flex rail instead of the WooCommerce/grid column rules. */
  html body.home .site .lp-home-product-carousel .woocommerce ul.products,
  html body.home .site .lp-home-product-carousel .woocommerce ul.products.columns-2,
  html body.home .site .lp-home-product-carousel .woocommerce ul.products.columns-3,
  html body.home .site .lp-home-product-carousel .woocommerce ul.products.columns-4 {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 34px 0 0 !important;
    padding: 0 18px 16px !important;
    gap: 16px !important;
    box-sizing: border-box !important;

    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior-x: contain !important;
    scroll-snap-type: x mandatory !important;
    scroll-padding-left: 18px !important;
    scroll-padding-right: 18px !important;
    scrollbar-width: none !important;
    touch-action: pan-x pan-y !important;
  }

  html body.home .site .lp-home-product-carousel .woocommerce ul.products::-webkit-scrollbar {
    width: 0 !important;
    height: 0 !important;
    display: none !important;
  }

  /* One card = the full usable mobile width. Never allow WooCommerce's 50%/column widths. */
  html body.home .site .lp-home-product-carousel .woocommerce ul.products > li.product,
  html body.home .site .lp-home-product-carousel .woocommerce ul.products > li.product.lp-product-card,
  html body.home .site .lp-home-product-carousel .woocommerce ul.products[class*="columns-"] > li.product,
  html body.home .site .lp-home-product-carousel .woocommerce ul.products[class*="columns-"] > li.product.lp-product-card {
    flex: 0 0 100% !important;
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    float: none !important;
    clear: none !important;
    grid-column: auto !important;
    box-sizing: border-box !important;
    scroll-snap-align: start !important;
    scroll-snap-stop: always !important;
  }

  html body.home .site .lp-home-product-carousel .lp-product-card__media {
    width: 100% !important;
    aspect-ratio: 1 / 1.03 !important;
    min-height: 0 !important;
  }

  html body.home .site .lp-home-product-carousel .lp-product-card__content {
    width: 100% !important;
    min-height: 154px !important;
    padding: 21px 20px 24px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  html body.home .site .lp-home-product-carousel .woocommerce-loop-product__title,
  html body.home .site .lp-home-product-carousel .woocommerce-loop-product__title a {
    width: 100% !important;
    max-width: 100% !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
  }
}

@media (max-width: 390px) {
  html body.home .site .lp-home-product-carousel .woocommerce ul.products,
  html body.home .site .lp-home-product-carousel .woocommerce ul.products[class*="columns-"] {
    padding-left: 14px !important;
    padding-right: 14px !important;
    gap: 14px !important;
    scroll-padding-left: 14px !important;
    scroll-padding-right: 14px !important;
  }
}
