/*
Theme Name: Bw GiftXtore
Theme URI: https://giftxtore.bzotech.com/intro/
Author: BZOTech
Author URI: https://bzotech.com/
Description: GiftXtore is a clean beautiful WordPress theme for selling Jewelry Diamond, Jewelry Gemstone, Fashion Jewelry, Earrings, Necklace and so on.
Version: 1.7.3
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Copyright: 2024 BZOTech Theme. All rights reserved.
Tags: custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, post-formats, sticky-post, threaded-comments, block-styles, blog, news
Text Domain: bw-giftxtore
*/

/* Product Item Rounded Corners */
.shop-grid-product-item-,
.item-grid-product-,
.item-product {
    border-radius: 20px;
}

.shop-grid-product-item- .product-thumb,
.item-grid-product- .product-thumb,
.item-product .product-thumb {
    border-radius: 20px 20px 0 0;
    overflow: hidden;
}

/* Product hover animations */
.product-thumb-link.translate-thumb {
    display: block;
    position: relative;
    overflow: hidden;
}

.product-thumb-link.translate-thumb img {
    display: block;
    width: 100%;
    height: auto;
}

.translate-thumb img.image-hover {
    display: none;
}

/* Base image quality settings */
img.high-quality-image,
.product-thumb img,
.product-thumb-link img[src$=".webp"],
.item-product img[src$=".webp"] {
    image-rendering: auto;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center;
    background-color: #fff;
}

/* Base image styles */
img {
    max-width: 100%;
    height: auto;
    image-rendering: auto;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* High quality image specific styles */
img.high-quality-image,
.product-thumb img,
.product-thumb-link img[src$=".webp"],
.item-product img[src$=".webp"] {
    image-rendering: auto;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center;
    will-change: transform;
}

/* Remove all media queries that affect image rendering */
@media screen and (-webkit-min-device-pixel-ratio: 0) {
    img,
    .product-thumb img,
    .product-thumb-link img {
        image-rendering: auto;
    }
}

/* Hide mini cart quantity on mobile */
@media screen and (max-width: 767px) {
    html body .mini-cart-content.mini-cart-dropdown- .product-mini-cart .item-info-cart .product-info .mini-cart-qty,
    html body .mini-cart-content.mini-cart-dropdown- .list-mini-cart-item .mini-cart-qty,
    html body .mini-cart-content.mini-cart-dropdown- .mini-cart-qty,
    html body .product-mini-cart .item-info-cart .product-info .mini-cart-qty,
    html body .item-info-cart .product-info .mini-cart-qty,
    html body .product-info .mini-cart-qty,
    html body div.mini-cart-qty,
    html body .mini-cart-qty,
    html body [class*="mini-cart-dropdown-"] .mini-cart-qty {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        height: 0 !important;
        width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
        position: absolute !important;
        pointer-events: none !important;
        clip: rect(0 0 0 0) !important;
        -webkit-transform: scale(0) !important;
        transform: scale(0) !important;
        max-height: 0 !important;
        min-height: 0 !important;
        font-size: 0 !important;
        line-height: 0 !important;
        border: 0 !important;
    }
}

/* Hide mini cart dropdown on mobile */
@media screen and (max-width: 767px) {
    html body .mini-cart-content.mini-cart-dropdown-,
    html body div.mini-cart-content.mini-cart-dropdown- {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
    }
}

.wc-block-components-checkbox #checkbox-control-1 {
    opacity: 1 !important;
    width: 40px !important;
    height: 20px !important;
    border-radius: 20px !important;
    background-color: #ccc !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
}

.wc-block-components-checkbox #checkbox-control-1::before {
    content: "" !important;
    position: absolute !important;
    width: 18px !important;
    height: 18px !important;
    background-color: white !important;
    border-radius: 50% !important;
    left: 1px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    transition: all 0.3s ease !important;
}

.wc-block-components-checkbox #checkbox-control-1:checked {
    background-color: #2e2e2e !important;
}

.wc-block-components-checkbox #checkbox-control-1:checked::before {
    transform: translate(21px, -50%) !important;
}

.wc-block-components-checkbox__mark {
    display: none !important;
}