/* MOBILE BANNERS 1400x600 */

@media (max-width: 767px) {

  /* Banner containers */
  .section-hero,
  .section-hero .embla__slide,
  .section-carousel .embla__slide,
  .main-slider .swiper-slide,
  .home-slider .swiper-slide,
  .banner-slider .swiper-slide,
  .hero-slider .swiper-slide {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: 1400 / 600 !important;
    overflow: hidden !important;
  }

  /* Banner links */
  .section-hero .embla__slide > a,
  .section-carousel .embla__slide > a,
  .main-slider .swiper-slide > a,
  .home-slider .swiper-slide > a,
  .banner-slider .swiper-slide > a {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
  }

  /* Banner picture */
  .section-hero picture,
  .section-carousel .embla__slide picture,
  .main-slider picture,
  .home-slider picture,
  .banner-slider picture,
  .hero-slider picture {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
  }

  /* Banner images */
  .section-hero picture img,
  .section-carousel .embla__slide picture img,
  .main-slider .swiper-slide img,
  .home-slider .swiper-slide img,
  .banner-slider .swiper-slide img,
  .hero-slider .swiper-slide img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    aspect-ratio: 1400 / 600 !important;
    object-fit: contain !important;
    object-position: center !important;
  }

  /* Product cards */
  [data-product-card] {
    background: #FFFFFF !important;
    border: 1px solid #FBE0E7 !important;
    border-radius: 12px !important;
    padding: 8px !important;
    overflow: hidden !important;
  }

  /* Product images */
  [data-product-card] > a:first-of-type {
    display: block !important;
    width: 100% !important;
    overflow: hidden !important;
    border-radius: 9px !important;
  }

  [data-product-card] > a:first-of-type img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: contain !important;
  }

  /* Product names */
  [data-product-card] h3 {
    color: #242424 !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1.6 !important;
  }

  /* Product buttons */
  [data-product-card] [data-add-to-cart],
  [data-product-card] [data-open-quick-view] {
    background: #FF7897 !important;
    border-color: #FF7897 !important;
    color: #FFFFFF !important;
    border-radius: 8px !important;
    width: 100% !important;
    padding: 10px 5px !important;
    font-size: 12px !important;
  }
}

/* EASY BEAUTY | Out of stock products last */

/* Zid Growth / Vitrin */
[data-grid-root] > [data-product-card]:has(
  [data-notify-me-trigger]
) {
  order: 9999 !important;
}

/* Other Zid product grids */
:is(
  .products-grid,
  .product-grid,
  .products-list,
  .product-list,
  .products-container,
  .products-row,
  .row
) > :is(
  .col,
  [class*="col-"],
  .product-card,
  .product-item,
  .product-grid-item,
  .product-list-item,
  li
):has(
  [data-notify-me-trigger],
  .btn-product-card-out-of-stock,
  .out-of-stock,
  .sold-out,
  [data-in-stock="false"]
) {
  order: 9999 !important;
}