/* Miranda Mobili - griglia categorie mobile, esclusivamente body#category. */
@media (max-width: 767.98px) {
  body#category.mm-category-grid {
    overflow-x: hidden !important;
  }

  body#category.mm-category-grid #products {
    width: 100% !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
  }

  body#category.mm-category-grid #products .products,
  body#category.mm-category-grid #products .products.row {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    column-gap: 2px !important;
    row-gap: 8px !important;
    align-items: start !important;
    position: relative !important;
    left: 50% !important;
    width: calc(100vw + 8px) !important;
    max-width: none !important;
    margin-right: 0 !important;
    margin-left: calc(-50vw - 4px) !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
    box-sizing: border-box !important;
  }

  body#category.mm-category-grid #products .product-miniature,
  body#category.mm-category-grid #products .product-miniature.col-xs-6,
  body#category.mm-category-grid #products .product-miniature.col-sm-6,
  body#category.mm-category-grid #products .product-miniature.col-md-4,
  body#category.mm-category-grid #products .product-miniature.col-lg-3 {
    float: none !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body#category.mm-category-grid #products .product-miniature .thumbnail-container {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    background: #fff !important;
    box-shadow: none !important;
  }

  body#category.mm-category-grid #products .product-miniature .product-thumbnail {
    display: block !important;
    position: relative !important;
    width: 100% !important;
    aspect-ratio: 2 / 3 !important;
    height: auto !important;
    margin: 0 !important;
    overflow: hidden !important;
    background: #f5f4f2 !important;
  }

  body#category.mm-category-grid #products .product-miniature .product-thumbnail img,
  body#category.mm-category-grid #products .product-miniature img.product-image {
    display: block !important;
    position: static !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    margin: 0 !important;
    object-fit: cover !important;
    object-position: center !important;
    transform: none !important;
  }

  body#category.mm-category-grid #products .product-miniature .product-description {
    display: block !important;
    position: relative !important;
    top: auto !important;
    bottom: auto !important;
    left: auto !important;
    width: 100% !important;
    height: 78px !important;
    min-height: 78px !important;
    margin: 0 !important;
    padding: 10px 8px 0 !important;
    overflow: hidden !important;
    background: #fff !important;
    text-align: left !important;
    box-sizing: border-box !important;
  }

  body#category.mm-category-grid #products .product-miniature .product-title {
    display: block !important;
    width: 100% !important;
    height: 20px !important;
    margin: 0 !important;
    padding: 0 80px 0 0 !important;
    overflow: hidden !important;
    color: #1c1c1c !important;
    font-size: 14px !important;
    font-weight: 750 !important;
    text-shadow: 0 0 0.2px currentColor !important;
    line-height: 20px !important;
    text-align: left !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
  }

  body#category.mm-category-grid #products .product-miniature .product-title a {
    display: block !important;
    overflow: hidden !important;
    color: inherit !important;
    font: inherit !important;
    line-height: inherit !important;
    text-align: left !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  body#category.mm-category-grid #products .product-miniature .product-price-and-shipping {
    display: flex !important;
    position: absolute !important;
    top: 10px !important;
    right: 8px !important;
    z-index: 2 !important;
    align-items: center !important;
    justify-content: flex-end !important;
    width: 76px !important;
    height: 20px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    color: #1c1c1c !important;
    font-size: 13px !important;
    font-weight: 750 !important;
    text-shadow: 0 0 0.2px currentColor !important;
    line-height: 20px !important;
    text-align: right !important;
    white-space: nowrap !important;
  }

  body#category.mm-category-grid #products .product-miniature .product-price,
  body#category.mm-category-grid #products .product-miniature .regular-price,
  body#category.mm-category-grid #products .product-miniature .price {
    font-size: inherit !important;
    font-weight: inherit !important;
    line-height: inherit !important;
    white-space: nowrap !important;
  }

  body#category.mm-category-grid #products .product-miniature .product-description-short {
    display: -webkit-box !important;
    width: 100% !important;
    height: 38px !important;
    margin: 5px 0 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    color: #222 !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 19px !important;
    text-align: left !important;
    text-overflow: ellipsis !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
  }

  body#category.mm-category-grid #products .product-miniature .product-description-short p {
    display: contents !important;
    margin: 0 !important;
  }

  body#category.mm-category-grid #products .product-miniature .highlighted-informations,
  body#category.mm-category-grid #products .product-miniature .product-flags,
  body#category.mm-category-grid #products .product-miniature .variant-links {
    box-sizing: border-box !important;
  }

  body#category.mm-category-grid #products .product-miniature .highlighted-informations {
    position: static !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 8px !important;
    overflow: hidden !important;
    background: #fff !important;
    box-shadow: none !important;
  }

  body#category.mm-category-grid #products .product-miniature .quick-view {
    display: none !important;
  }
}
