/* =====================================================================
   Normalize product photos across all carousels on the home page.
   Each card gets a consistent square (or circular for style-two)
   container with object-fit:contain so every image fits cleanly.
   ===================================================================== */

/* Carousel 1 — product-style-four (top New Arrivals) */
.axil-product.product-style-four {
    background: transparent;
    border: none !important;
    box-shadow: none !important;
}
.axil-product.product-style-four .thumbnail {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    border: none !important;
    box-shadow: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
}
.axil-product.product-style-four .thumbnail::before,
.axil-product.product-style-four .thumbnail::after { display: none !important; }
.axil-product.product-style-four .thumbnail > a {
    display: block; width: 100%; height: 100%;
    position: relative; background: #ffffff;
}
.axil-product.product-style-four .thumbnail img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: contain; padding: 22px;
    background: #ffffff;
    transition: opacity .35s ease, transform .45s ease;
}
.axil-product.product-style-four .thumbnail .hover-img { opacity: 0; }
.axil-product.product-style-four:hover .thumbnail .hover-img { opacity: 1; }
.axil-product.product-style-four:hover .thumbnail img:not(.hover-img) { opacity: 0; }

/* Carousel 2 — product-style-two (bottom New Arrivals).
   Theme uses a CIRCULAR thumbnail with hover-action shown OUTSIDE
   the thumbnail (sibling of .inner inside .product-content).
   The circle has a soft gray fill so products stand out. */
.axil-product.product-style-two {
    background: transparent;
    border: none !important;
    box-shadow: none !important;
}
.axil-product.product-style-two .thumbnail {
    position: relative;
    background: transparent;
    border: none !important;
    box-shadow: none !important;
    overflow: visible;
}
.axil-product.product-style-two .thumbnail > a {
    display: block;
    background: #f4f5f7;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
}
.axil-product.product-style-two .thumbnail img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain;
    padding: 28px;
    background: transparent;
    transition: transform .45s ease;
    position: static !important;
    inset: auto !important;
    mix-blend-mode: multiply;
}
.axil-product.product-style-two:hover .thumbnail img {
    transform: scale(1.04);
}

/* Best Sellers — product-style-seven */
.axil-product.product-style-seven .thumbnail {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background: #ffffff;
}
.axil-product.product-style-seven .thumbnail > a {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #ffffff;
    position: relative;
}
.axil-product.product-style-seven .thumbnail img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    padding: 18px !important;
    background: #ffffff;
    transition: transform .45s ease;
}
.axil-product.product-style-seven:hover .thumbnail img {
    transform: scale(1.04);
}

/* Explore + shop-sidebar — product-style-one */
.axil-product.product-style-one {
    background: transparent;
    border: none !important;
    box-shadow: none !important;
}
.axil-product.product-style-one .thumbnail {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #f0f1f3;
    box-shadow: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
}
.axil-product.product-style-one .thumbnail::before,
.axil-product.product-style-one .thumbnail::after { display: none !important; }
.axil-product.product-style-one .thumbnail > a {
    display: block; width: 100%; height: 100%;
    position: relative; background: #ffffff;
}
.axil-product.product-style-one .thumbnail img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    padding: 22px;
    background: #ffffff;
    transition: transform .45s ease;
}
.axil-product.product-style-one:hover .thumbnail img {
    transform: scale(1.04);
}

/* Badge — pulled inside the thumbnail for all card styles */
.axil-product .label-block,
.axil-product .label-block.label-right,
.axil-new-arrivals-product-area .label-block,
.axil-new-arrivals-product-area .label-block.label-right {
    position: absolute !important;
    top: 14px !important;
    right: 14px !important;
    left: auto !important;
    bottom: auto !important;
    z-index: 3 !important;
}
.axil-product .product-badget {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    white-space: nowrap;
    display: inline-block;
}

.axil-product .product-hover-action { z-index: 2; }

.axil-product .product-content { background: transparent; }
.axil-product .product-content .inner {
    text-align: center;
    padding-top: 14px;
    background: transparent;
}
.axil-product .product-content .title {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 576px) {
    .axil-product.product-style-four .thumbnail img,
    .axil-product.product-style-two .thumbnail img,
    .axil-product.product-style-seven .thumbnail img,
    .axil-product.product-style-one .thumbnail img {
        padding: 14px !important;
    }
}
