.custom-padding-fancybox .header-product-detail {
    position: absolute;
    display: block;
    top: 5px;
}

.custom-padding-fancybox {
    padding-left: 15px !important;
    padding-right: 15px !important;
}

.custom-padding-fancybox .width-content-fancybox {
    width: 100% !important;
}

#popup_product_detail .custom-margin {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}
.custom-padding-fancybox .size-img {
    height: 600px;
}
.custom-padding-fancybox .image {
    max-width: 100%;
    height: 100%;
    width: 100%;
    object-fit: contain;
}

.custom-padding-fancybox .img-detail {
    width: 70px !important;
    height: 70px !important;
    cursor: pointer;
}

.custom-padding-fancybox .img-detail img {
    max-width: 100%;
    object-fit: cover;
}

.slick-prev,
.slick-next {
    color: #7e7e7e !important;
}
.slick-prev:before,
.slick-next:before {
    color: #7e7e7e !important;
}

.info-product .price-category {
    position: relative;
}
.info-product .detail-product-icons {
    position: absolute;
    top: -5px;
    right: 0;
}
.info-product .variant-product .btn-variant {
    min-width: 70px;
    margin-right: 10px;
    margin-bottom: 10px;
    background: rgba(129, 129, 129, 0.5);
    color: white;
}

.info-product .variant-product .btn-variant:hover {
    background-color: #017ee9;
    color: white;
}

.info-product .variant-product .choosed {
    background-color: #017ee9;
    color: white;
}

.info-product .size-product .btn-size {
    min-width: 70px;
    margin-right: 10px;
    margin-bottom: 10px;
    background: rgba(129, 129, 129, 0.5);
    color: white;
}

.info-product .size-product .btn-size:hover {
    background-color: #017ee9;
    color: white;
}

.info-product .size-product .choosed {
    background-color: #017ee9;
    color: white;
}

.info-product .quantity-product .padding-custom-info-product {
    height: 40px;
}

.info-product .quantity-product button {
    background: unset;
    height: 100%;
    width: 40px;
    text-align: center;
    color: #292a31;
}
.info-product .quantity-product button i {
    -webkit-text-stroke: 0.5px black;
}
.info-product .quantity-product .plus {
    border-top-left-radius: 40px;
    border-bottom-left-radius: 40px;
}
.info-product .quantity-product .minus {
    border-top-right-radius: 40px;
    border-bottom-right-radius: 40px;
}

.info-product .quantity-product input {
    text-align: center;
    height: 100%;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.info-product .quantity-product input::-webkit-outer-spin-button,
.info-product .quantity-product input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.info-product .submit-product button {
    background: linear-gradient(96.13deg, #048afd -48.42%, #ff00ff 157.13%);
    color: white;
}

.info-product .padding-custom-info-product {
    padding-left: 3rem;
}

.product-wrapper .product-price {
    position: relative;
}

.product-wrapper .product-price .a-detail-product {
    position: absolute;
    display: block;
    right: 0;
    top: 5px;
    font-size: 14px;
}

.slick-track .slick-current {
    opacity: 0.5;
}

.div-frame {
    top: 0;
}

.div-frame .fa-cube {
    font-size: 25px;
    color: gray;
}

.div-frame .div-icon-pause {
    height: 50%;
    width: 50%;
    background-color: rgba(100, 98, 98, 0.5);
}

.poi_product_content .product-wrapper .product-description {
    max-height: 150px;
    overflow-y: auto;
}

.box-content .simplebar-horizontal,
.box-content .simplebar-vertical {
    display: none;
}
.product-content .product-description::-webkit-scrollbar {
    width: 2px;
    background-color: #f5f5f5;
}
.product-content .product-description::-webkit-scrollbar-thumb {
    background-color: gray;
    border: 1px solid gray;
    border-radius: 10px;
}

.info-product .description-product::-webkit-scrollbar {
    width: 2px;
    background-color: #f5f5f5;
}
.info-product .description-product::-webkit-scrollbar-thumb {
    background-color: gray;
    border: 1px solid gray;
    border-radius: 10px;
}

.product-love .like-item {
    font-weight: 900;
    color: red;
}

.custom-font-size {
    font-size: 20px;
}

.info-product .warning-background {
    background-color: antiquewhite;
}
/* Media */



.g_product_similar{
    display: flex;
    margin-top: 10px;
}

.item_product_similar{
    position: relative;
    width: 200px;
    height: 100px;
    margin: 0 10px;
    cursor: pointer;
}

.item_product_similar .layer{
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background: #0000005e;
}

.item_product_similar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.item_product_similar span{
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: #ffffff;
}

.g_product_similar .slick-track .slick-current{
    opacity: 1;
}

.g_url_product{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: 60%;
}

.g_url_detail_product{
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    min-width: 100%;
}

.g_url_ar{
    display: flex;
    width: 100%;
    gap: 10px;
}

.g_url_detail_product a{
    background: linear-gradient(136.85deg, #86BFA3 3.19%, #005934 97.19%) !important;
    padding: 5px 10px;
    color: #ffffff !important;
    border-radius: 5px;
    text-decoration: none !important;
    width: 100%;
    text-align: center;
}

.g_url_ar a{
    background: linear-gradient(136.85deg, #86BFA3 3.19%, #005934 97.19%) !important;
    padding: 5px 10px;
    color: #ffffff !important;
    border-radius: 5px;
    text-decoration: none !important;
    text-align: center;
    width: 50%;
}
.quantity-item-cart {
    top: -10px;
    right: 15px;
    height: max-content;
    min-width: 20px;
    max-width: max-content;
    text-align: center;
}

@media only screen and (max-width: 600px) {
    .custom-padding-fancybox .size-img {
        height: 250px;
    }
    .info-product .padding-custom-info-product {
        padding-left: 0;
    }

    .g_url_ar{
        flex-direction: column;
    }

    .g_url_ar a{
        width: 100%;
    }
}

@media only screen and (max-width: 1140px) {
    .g_url_product{
        width: 80%;
    }
}

@media only screen and (max-width: 960px) {
    .g_url_product{
        width: 100%;
    }
}

@media only screen and (max-width: 480px) {
    .custom-padding-fancybox .size-img {
        height: 250px;
    }

    .info-product .padding-custom-info-product {
        padding-left: 0;
    }

    .link-product a img {
        width: 20px;
    }

    .variant-product .btn-variant {
        min-width: 50px !important;
    }

    .size-product .btn-size {
        min-width: 50px !important;
    }
    .fancybox-slide .default-padding{
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

@media only screen and (min-width: 768px) {
    .link-product a img {
        width: 23px;
    }
    .custom-padding-fancybox .size-img {
        height: 450px;
    }
}

@media only screen and (min-width: 1024px) {
    .link-product a img {
        width: 35px;
    }
    .custom-padding-fancybox .size-img {
        height: 450px;
    }
}

@media only screen and (min-width: 1367px) {
    .info-product .description-product {
        max-height: 200px;
        overflow: auto;
    }
}

@media only screen and (min-width: 1368px) {
    .info-product .description-product {
        max-height: 200px;
        overflow: auto;
    }

    .custom-padding-fancybox .size-img {
        height: 600px;
    }
}