/* Glonuo mobile product grid. Only marked product lists, only on small screens.
   Does not touch header, search, navigation, main slider or the reference VUSE category. */
@media screen and (max-width: 767px) {
  body.glnt-mpg-enabled .glnt-mpg-grid {
    box-sizing: border-box !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 18px 12px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
    padding: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    transform: none !important;
    -webkit-transform: none !important;
    position: relative !important;
    float: none !important;
    align-items: stretch !important;
    align-content: start !important;
  }

  body.glnt-mpg-enabled .glnt-mpg-grid > .list-col-item,
  body.glnt-mpg-enabled .glnt-mpg-grid > li.product,
  body.glnt-mpg-enabled .glnt-mpg-grid > .product,
  body.glnt-mpg-enabled .glnt-mpg-grid > .product-grid-item,
  body.glnt-mpg-enabled .glnt-mpg-grid > .swiper-slide,
  body.glnt-mpg-enabled .glnt-mpg-grid > .owl-item,
  body.glnt-mpg-enabled .glnt-mpg-grid > .slick-slide {
    box-sizing: border-box !important;
    grid-column: auto !important;
    display: block !important;
    width: auto !important;
    max-width: 100% !important;
    min-width: 0 !important;
    flex: none !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    clear: none !important;
    position: relative !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    transform: none !important;
    -webkit-transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  body.glnt-mpg-enabled .glnt-mpg-grid > * > .item-product,
  body.glnt-mpg-enabled .glnt-mpg-grid > .item-product,
  body.glnt-mpg-enabled .glnt-mpg-grid > li.product,
  body.glnt-mpg-enabled .glnt-mpg-grid > .product-grid-item {
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    transform: none !important;
  }

  body.glnt-mpg-enabled .glnt-mpg-grid .product-thumb,
  body.glnt-mpg-enabled .glnt-mpg-grid .product-image,
  body.glnt-mpg-enabled .glnt-mpg-grid .product-image-link,
  body.glnt-mpg-enabled .glnt-mpg-grid .woocommerce-LoopProduct-link {
    box-sizing: border-box !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  body.glnt-mpg-enabled .glnt-mpg-grid .product-thumb img,
  body.glnt-mpg-enabled .glnt-mpg-grid .product-image img,
  body.glnt-mpg-enabled .glnt-mpg-grid img.wp-post-image,
  body.glnt-mpg-enabled .glnt-mpg-grid img.attachment-woocommerce_thumbnail {
    display: block !important;
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
  }

  body.glnt-mpg-enabled .glnt-mpg-grid .product-info,
  body.glnt-mpg-enabled .glnt-mpg-grid .product-title,
  body.glnt-mpg-enabled .glnt-mpg-grid .product-price,
  body.glnt-mpg-enabled .glnt-mpg-grid .product-price > *,
  body.glnt-mpg-enabled .glnt-mpg-grid .woocommerce-loop-product__title,
  body.glnt-mpg-enabled .glnt-mpg-grid .price {
    box-sizing: border-box !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow-wrap: anywhere !important;
    white-space: normal !important;
  }

  body.glnt-mpg-enabled .glnt-mpg-grid h2.woocommerce-loop-product__title,
  body.glnt-mpg-enabled .glnt-mpg-grid .product-title,
  body.glnt-mpg-enabled .glnt-mpg-grid .product-title a {
    font-size: 13px !important;
    line-height: 1.4 !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
  }

  body.glnt-mpg-enabled .glnt-mpg-grid .price,
  body.glnt-mpg-enabled .glnt-mpg-grid .product-price {
    font-size: 14px !important;
    line-height: 1.45 !important;
    height: auto !important;
  }

  body.glnt-mpg-enabled .glnt-mpg-grid .button,
  body.glnt-mpg-enabled .glnt-mpg-grid .add_to_cart_button,
  body.glnt-mpg-enabled .glnt-mpg-grid .glnt-stock-notify,
  body.glnt-mpg-enabled .glnt-mpg-grid a[class*="stok"] {
    box-sizing: border-box !important;
    max-width: 100% !important;
    white-space: normal !important;
    text-align: center !important;
    overflow-wrap: anywhere !important;
    font-size: 12px !important;
  }

  /* Carousel shell only when it has explicitly been recognized as a product grid. */
  body.glnt-mpg-enabled .glnt-mpg-grid-shell {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
  }
}
