/**
 * London Premium v86
 * Immediate Selection: reliable one-card mobile carousel.
 * Loaded after v85 so legacy WooCommerce grid rules cannot split the rail.
 */

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

  html body.home #page.site .lp-home-product-carousel .lp-v18-section-head {
    width: auto !important;
    margin-left: 28px !important;
    margin-right: 28px !important;
  }

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

  html body.home #page.site .lp-home-product-carousel .woocommerce ul.products,
  html body.home #page.site .lp-home-product-carousel .woocommerce ul.products[class*="columns-"] {
    --lp-carousel-edge: 18px;
    --lp-carousel-gap: 18px;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    grid-template-columns: none !important;
    grid-auto-flow: unset !important;
    grid-auto-columns: unset !important;
    grid-auto-rows: unset !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 34px 0 0 !important;
    padding: 0 var(--lp-carousel-edge) 8px !important;
    gap: var(--lp-carousel-gap) !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-inline: var(--lp-carousel-edge) !important;
    scrollbar-width: none !important;
    touch-action: pan-x pan-y !important;
    list-style: none !important;
  }

  html body.home #page.site .lp-home-product-carousel .woocommerce ul.products::before,
  html body.home #page.site .lp-home-product-carousel .woocommerce ul.products::after {
    display: none !important;
    content: none !important;
  }

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

  html body.home #page.site .lp-home-product-carousel .woocommerce ul.products > li.product,
  html body.home #page.site .lp-home-product-carousel .woocommerce ul.products[class*="columns-"] > li.product,
  html body.home #page.site .lp-home-product-carousel .woocommerce ul.products > li.product.lp-product-card {
    float: none !important;
    clear: none !important;
    flex-grow: 0 !important;
    flex-shrink: 0 !important;
    /* JS writes the exact pixel basis after measuring the viewport. */
    flex-basis: calc(100% - 36px) !important;
    width: calc(100% - 36px) !important;
    min-width: calc(100% - 36px) !important;
    max-width: calc(100% - 36px) !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    scroll-snap-align: start !important;
    scroll-snap-stop: always !important;
  }

  html body.home #page.site .lp-home-product-carousel .lp-product-card__media {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 1 / 1.04 !important;
    overflow: hidden !important;
  }

  html body.home #page.site .lp-home-product-carousel .lp-product-card__image,
  html body.home #page.site .lp-home-product-carousel .lp-product-card__image > img,
  html body.home #page.site .lp-home-product-carousel .lp-product-card__image-secondary,
  html body.home #page.site .lp-home-product-carousel .lp-product-card__image-secondary img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
  }

  html body.home #page.site .lp-home-product-carousel .lp-product-card__content {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    height: 188px !important;
    min-height: 188px !important;
    max-height: 188px !important;
    padding: 22px 21px 24px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  html body.home #page.site .lp-home-product-carousel .woocommerce-loop-product__title {
    margin: 12px 0 0 !important;
  }

  html body.home #page.site .lp-home-product-carousel .woocommerce-loop-product__title,
  html body.home #page.site .lp-home-product-carousel .woocommerce-loop-product__title a {
    display: -webkit-box !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    font-size: clamp(25px, 7.2vw, 30px) !important;
    line-height: 1.04 !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
  }

  html body.home #page.site .lp-home-product-carousel .lp-product-card__price,
  html body.home #page.site .lp-home-product-carousel .price {
    margin-top: auto !important;
  }

  html body.home #page.site .lp-home-product-carousel .lp-v86-carousel-nav {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 14px !important;
    width: 100% !important;
    margin: 18px 0 0 !important;
    padding: 0 18px !important;
    box-sizing: border-box !important;
  }

  html body.home #page.site .lp-home-product-carousel .lp-v86-carousel-arrow {
    display: inline-grid !important;
    place-items: center !important;
    width: 44px !important;
    min-width: 44px !important;
    height: 44px !important;
    min-height: 44px !important;
    padding: 0 !important;
    border: 1px solid rgba(201,166,87,.6) !important;
    border-radius: 999px !important;
    background: transparent !important;
    color: #f7f2e8 !important;
    box-shadow: none !important;
    cursor: pointer !important;
    transition: opacity .2s ease, background-color .2s ease, color .2s ease !important;
  }

  html body.home #page.site .lp-home-product-carousel .lp-v86-carousel-arrow svg {
    width: 17px !important;
    height: 17px !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 1.7 !important;
  }

  html body.home #page.site .lp-home-product-carousel .lp-v86-carousel-arrow:disabled {
    opacity: .28 !important;
    cursor: default !important;
  }

  html body.home #page.site .lp-home-product-carousel .lp-v86-carousel-status {
    min-width: 58px !important;
    color: #c9a657 !important;
    font: 700 10px/1.2 Manrope, Arial, sans-serif !important;
    letter-spacing: .16em !important;
    text-align: center !important;
  }
}

@media (max-width: 390px) {
  html body.home #page.site .lp-home-product-carousel .lp-v18-section-head {
    margin-left: 22px !important;
    margin-right: 22px !important;
  }

  html body.home #page.site .lp-home-product-carousel .lp-product-card__content {
    height: 180px !important;
    min-height: 180px !important;
    max-height: 180px !important;
  }
}

@media (min-width: 721px) {
  html body.home #page.site .lp-home-product-carousel .lp-v86-carousel-nav {
    display: none !important;
  }
}
