.product_item_title {
    font-size: 14px;
    height: 49px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.custom-button {
    border: none;
    background: var(--floens-base, #c7844f);
    color: #fff;
    font-size: 12px;
    cursor: pointer;
    padding: 9px 0;
    text-align: center;
}
.enquireBtn {
    background-color: #2a4e72;
    border-radius: 27px;
    outline-color: unset;
    outline-style: solid;
    width: 65%;
    border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.addToCartBtn {
background-color: #fff;
  border: 1.5px solid var(--floens-orange, #c7844f);
  border-radius: 2% !important;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--floens-orange, #c7844f);
  outline: none !important;
}
.label,
span.discount {
    position: absolute;
    right: 7px;
    z-index: 2;
    background: #d94f4f;
    color: #fff !important;
    padding: 2px 8px;
    border-radius: 18px;
    text-transform: capitalize;
    font-size: 10px;
}
.stars {
    font-size: 10px;
    line-height: 0;
}
.label {
    top: 7px;
}

.product_item_image {
    width: 100%;
    aspect-ratio: 1/1;
    overflow: hidden;
    position: relative;
    /* The tile stays square while the render inside is shown whole, so the
       letterboxing round a non-square photo reads as part of the tile rather
       than as a gap. Matches .mpb-img-container elsewhere in the theme. */
    background: var(--mbp-blue-soft, #eef5fa);
}
/* Owl Carousel wraps every <img> in .owl-stage-outer > .owl-stage > .owl-item,
   so the image's parent is a wrapper with no height of its own. A height:100%
   against an indefinite height resolves to auto, the image falls back to its
   natural aspect, and a 400x2000 render stands ~1250px tall inside this square
   overflow:hidden tile — losing its top and bottom. object-fit cannot help
   there, because with an auto height there is no box to fit the picture into.
   Handing the whole wrapper chain the tile's height makes the image's 100%
   definite again, which is what object-fit needs to do its job. */
.product_item_image .owl-stage-outer,
.product_item_image .owl-stage,
.product_item_image .owl-item {
    height: 100%;
}
/* .owl-carousel .owl-item img (0,2,1) outranks a bare .product_item_image img,
   so the carousel case is matched at the same weight and wins on order —
   owl.carousel.min.css is loaded before this file. */
.product_item_image .owl-item img,
.product_item_image img {
    width: 100%;
    height: 100%;
    /* contain, not cover: cover filled the square by cropping the photo, which
       cuts the product itself — a tapware render loses its spout, a tall mirror
       loses its frame. The whole product has to be visible on the card. */
    object-fit: contain;
    object-position: center;
    display: block;
}
.product-image {
    height: 300px;
}
.product_item_content {
    border: none;
    padding: 0.24px 17px 20px !important;
}
.product-carousel .owl-item {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 235px;
    background: #f9f9f9;
}
.product-carousel .owl-item img {
    width: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
    margin-top: 0;
}
@media screen and (min-width: 900px) {
    .custom-button {
        padding: 4px 0;
    }
}
@media screen and (max-width: 769px) {
    .custom-button {
        padding: 4px 0;
    }
}
@media screen and (max-width: 480px) {
    .addToCartBtn i {
        font-size: 12px !important;
    }
    span.discount,
    span.label {
        padding: 1px 6px;
        font-size: 8px !important;
    }
    .product_item_title {
        font-size: 12px;
    }
    .app_logo {
        width: 77px;
        height: auto;
    }
    .product_item_image {
        height: 165px;
    }
    .page-header__title {
        font-size: 20px;
    }
    .product_item_content {
        padding: 0.24px 8px 8px !important;
        margin-top: 0 !important;
    }
    .product_item_price {
        margin-bottom: 12px;
    }
    span.discount {
        top: 26px;
    }
    .product-carousel .owl-item {
        height: 153px;
        margin-top: 2px;
    }
    .product-carousel .owl-item img {
        margin: 0;
    }
}
