.product-grid,
.top-picks-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(1, 1fr);
    gap: 30px;
    width: 68%;
    row-gap: 30px;
}

.top-picks-box {
    padding: 30px;
    background-color: rgb(240 247 253);
    margin-bottom: 20px;
    margin-top: 30px;
    border-radius: 15px;
}

.top-picks-grid {
    padding: 10px 0px;
}

.product {
    min-height: 200px;
    z-index: 180;
    transition: all 0.3s ease;
    opacity: 1;
    transform: scale(1);
    background-color: #fff;
    text-align: center;
    font-size: 36px;
    -moz-border-radius: 8px;
    border-radius: 8px;
}

.clickable-product-area {
    cursor: pointer;
    z-index: 188;
    height: 100%;
    border: 1px solid #ececec;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
}

.detail-button {
    top: -50px;
    left: 10px;
    position: relative;
    margin-top: 5px;
}

.detail-button button {
    float: left;
    width: 45%;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.07em;
    margin-top: 5px;
    height: 24px;
    background-color: #f9f9f9;
}

.product-title {
    margin-top: 5px;
    margin-bottom: 12px;
    text-align: left;
    font-size: 16px;
    line-height: 22px;
    font-weight: 500;
}

.product-info {
    padding: 5px 12px;
    /* min-height: 100px; */
}

.price {
    text-align: left;
    width: 100%;
    color: #597387;
    font-size: 16px;
    float: left;
    font-weight: 400;
    font-style: normal;
}

.product-image {
    min-height: 130px;
    background-position: center !important;
    -webkit-border-radius: 6px 6px 0px 0px;
    -moz-border-radius: 6px 6px 0px 0px;
    border-radius: 6px 6px 0px 0px;
    background-repeat: no-repeat;
    background-size: cover;
}

#noResultAlert {
    text-align: center;
    font-size: 25px;
}

.product-image img {
    min-height: 170px;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    border-radius: 15px 15px 0px 0px;
}

#searchInput {
    border-radius: 15px;
    width: 100%;
}

.categorySelect {
    font-size: 14px !important;
    background-color: #f9f9f9;
    line-height: 1px;
    margin-right: 14px;
    padding: 10px !important;
}

.product.hide {
    opacity: 0;
    transform: scale(0);
    pointer-events: none;
}

.btns {
    cursor: pointer;
}

.buy-button,
.added-to-cart {
    position: absolute;
    right: 10px;
    bottom: 5px;
}

.buy-button {
    /*width: 81px;
    height: 41px;
    background-size: cover;
    background-image: url('/wp-content/uploads/2023/06/btn-add.png'); */
    width: 40px;
    height: 40px;
    background-size: cover;
    background-image: url('/wp-content/uploads/2023/06/deselect.png');
}

.added-to-cart,
.delete-from-cart {
    cursor: pointer;
    display: none;
    width: 40px;
    height: 40px;
    background-size: cover;
    transition: background-image 0.3s ease;
}

.added-to-cart {
    background-image: url('/wp-content/uploads/2023/06/checked.png');
}

.attr-selected {
    border: 2px solid #40d491;
}

.delete-from-cart {
    cursor: pointer;
    position: absolute;
    left: 10px;
    top: 130px;
    background-image: url('/wp-content/uploads/2023/06/remove.png');
}

.bottom-mini-cart {
    height: 350px;
    width: 100%;
    display: none;
}

.price-bottom {
    position: absolute;
    bottom: 0;
    margin-bottom: 8px;

}

#cart-item-message {
    text-align: center;
    margin: 17px auto;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
}

.item-tags-box {
    position: absolute;
    left: 10px;
    top: 10px;
}

.item-tags {
    float: left;
    height: 19px;
    /* width: 43%; */
    margin-right: 12px;
    padding: 0px 8px;
    text-transform: uppercase;
    background-color: #3080B6;
    color: #ffffff;
    border-radius: 5px;
    font-weight: 700;
    font-size: 12px;
    text-align: center;
}

/** popup recap */
.recapPopup {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 80%;
    background: #ffffff;
    border: 1px solid #ccc;
    padding: 20px;
    text-align: center;
    height: 50%;
    border-radius: 15px;
    transition: opacity 0.5s 0.5s, visibility 0s 1s, z-index 0s 1s;
}

.close {
    position: absolute;
    top: 5px;
    right: 10px;
    cursor: pointer;
    z-index: 9999;
}

.bndl-overlay {
    transition: opacity 0.5s 0.5s, visibility 0s 1s, z-index 0s 1s;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

/** DETAIL POPUP **/
.noscroll {
    overflow: hidden;
}

/** popup recap */

.detail-popup {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 35%;
    background: #ffffff;
    border: 1px solid #ccc;
    /* padding: 20px; */
    text-align: center;
    height: 80%;
    border-radius: 4px;
    transition: opacity 0.5s 0.5s, visibility 0s 1s, z-index 0s 1s;
}

.detail-popup-content {
    height: 100%;
}

.details-content {
    overflow-y: scroll;
    height: 65%;
    padding: 0px 25px;
}

.bndl-detail-overlay {
    transition: opacity 0.5s 0.5s, visibility 0s 1s, z-index 0s 1s;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.details-loader {
    position: absolute;
    top: 0;
    right: 0;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background:
        radial-gradient(farthest-side, #405162 94%, #0000) top/8px 8px no-repeat,
        conic-gradient(#0000 30%, #405162);
    -webkit-mask: radial-gradient(farthest-side, #0000 calc(100% - 8px), #000 0);
    animation: s3 1s infinite linear;
}

@keyframes s3 {
    100% {
        transform: rotate(1turn)
    }
}

/** CAROUSEL POPUP DETAILS */
.carousel-container {
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
    height: 220px;
    user-select: none;
}

.carousel {
    display: flex;
    transition: transform 0.3s ease-in-out;
}

/** /end carousel **/

/** -- END POPUP DETAIL */

.recap-mini-cart-item {
    font-size: 15px;
    border-radius: 10px;
    border: 1px solid #ececec;
    margin-bottom: 10px;
}

.btn-bndl-info img {
    cursor: pointer;
    width: 25px;
    position: fixed;
    margin-left: 5px;
}

/** MOBILE **/

@media (max-width: 572px) {
    .col-sm-12 {
        width: 100%;
    }

    .bndl-detail-overlay {
        transition: opacity 0.5s 0.5s, visibility 0s 1s, z-index 0s 1s;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgb(0 0 0 / 50%);
    }

    .col-xs-12 {
        width: 100%;
    }

    #cartItems {
        display: none;
    }

    #cart-item-recap {
        display: block !important;
    }

    .product-grid,
    .top-picks-grid {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        grid-template-rows: repeat(1, 1fr);
        gap: 25px;
        width: 100%;
    }

    .row div[class*=col-lg-] {
        padding: 5px 0px 10px 0px;
    }

    /*.product {
        min-height: 244px;
    }*/
    

    .mini-cart-left {
        background-color: #fbfbfb;
    }

    #cart-item-recap {
        display: block !important;
        text-align: center;
        font-size: 19px;
        font-weight: 800;
        padding: 6px;
    }

    .adch-labels {
        min-width: 100px;
        line-height: 1;
        font-size: 17px;
        margin-top: 6px;
    }

    .categorySelect {
        margin-right: -8px;
    }

    /* new layout 2024 */
   
    .product {
        min-height: 102px; /* before 200px */
    }

    /*
    .product-image {
        min-height: 140px;
        }*/

    .product-image {
        float: left;
        width: 35%;
		min-height: 100px;
        background-position: center center;
        background-size: cover;
        -webkit-border-radius: 6px 6px 6px 0px;
        -moz-border-radius: 6px 6px 6px 6px;
        border-radius: 6px 6px 6px 6px;
    }

    .product-info {
        padding: 5px 12px;
        float: left;
        width: 65%;
    }

    .item-tags-box {
        width: 62%;
        right: 0;
        height: auto;
        bottom: 35px;
        top: auto;
        left: auto;
    }

    .item-tags {
        float: left;
        height: 13px;
        font-size: 10px;
    }

    .detail-button {
        bottom: 5px;
        right: -10px;
        top: auto;
        left: auto;
        position: absolute;
        width: 65%;
    }

    .detail-button button {
        float: left;
        width: 50%;
        font-size: 10px;
        font-weight: 500;
        margin-top: 5px;
        height: 24px;
    }

    .buy-button,
    .added-to-cart {
        top: auto;
    }

    /** end edit new layout 2024 */

    .product-title {
        margin-bottom: 5px;
        font-size: 14px;
        line-height: 17px;
    }

    .detail-text-mobile {

        font-weight: 500;
        font-size: 16px;
        text-align: left;
    }



    /** DETAILS POPUP */
    .detail-popup {
        width: 95%;
    }

    .carousel-container {
        height: 100px;
    }
}