.woocommerce-shop {
    .footer-wrapper,
    #wrapper,
    .wapper-breadcrumb,
    #main {
        background: #f5f8fa;
    }
    .shop-page-title.category-page-title.page-title {
        display: none;
    }
    .shop-container {
        .wapper-sort {
            margin-top: 55px;
            margin-bottom: 32px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            .sort-heading {
                color: #333;
                font-size: 32px;
                font-style: normal;
                font-weight: 700;
                line-height: normal;
                flex: 1 0 0;
            }
            .custom-sort-btns {
                display: flex;
                align-items: center;
                gap: 8px;
                .sort-label {
                    margin-right: 8px;
                    margin-bottom: 0;
                    color: #000;
                    font-size: 18px;
                    font-style: normal;
                    font-weight: 400;
                    line-height: normal;
                    width: max-content;
                    flex-shrink: 0;
                }
                .sort-btn {
                    position: relative;
                    overflow: hidden;
                    display: flex;
                    flex-shrink: 0;
                    padding: 10px 34px 9px 34px;
                    justify-content: center;
                    align-items: center;
                    border-radius: 30px;
                    border: 1px solid #626262;
                    background: #fff;
                    color: #626262;
                    font-size: 18px;
                    font-style: normal;
                    font-weight: 400;
                    line-height: normal;
                }
                .sort-btn.active {
                    color: #2385d5;
                    border-radius: 30px;
                    border: 1px solid #2385d5;
                    background: #fff;
                }
                .sort-btn.active::before {
                    content: "";
                    position: absolute;
                    background: #2385d5;
                    width: 48.444px;
                    height: 22.572px;
                    transform: rotate(47.575deg);
                    flex-shrink: 0;
                    right: -16px;
                    top: -4px;
                }
                .sort-btn.active::after {
                    content: "";
                    position: absolute;
                    z-index: 1;
                    background-image: url(./images/check.svg);
                    background-repeat: no-repeat;
                    background-size: contain;
                    width: 8px;
                    height: 6px;
                    flex-shrink: 0;
                    top: 10px;
                    right: 5px;
                }
            }
        }
    }
    .woocommerce-pagination .nav-pagination {
        margin-bottom: 100px;
    }
}
.product {
    .btn-primary {
        color: #fff;
        font-size: 16px;
        font-style: normal;
        font-weight: 700;
        line-height: normal;
        margin-top: 24px !important;
    }
    .add_to_cart_button.added {
        display: flex !important;
    }
    .added_to_cart.wc-forward {
        display: none;
    }
    .name.product-title a {
        color: #282828 !important;
        font-size: 16px;
        font-style: normal;
        font-weight: 700;
        line-height: 1.43; /* 143.75% */
    }
    .price-wrapper .price span.amount {
        color: #2385d5;
        font-size: 16px;
        font-style: normal;
        font-weight: 700;
        line-height: 1.43; /* 143.75% */
    }
}
.single.single-product {
    .footer-wrapper,
    #wrapper,
    .wapper-breadcrumb,
    #main {
        background: #f5f8fa;
    }
}
.product .product-container {
    .woocommerce-breadcrumb.breadcrumbs {
        display: none;
    }
    .product-title.product_title.entry-title {
        color: #2d2d2d;
        font-size: 24px;
        font-style: normal;
        font-weight: 700;
        line-height: 1.37; /* 137.5% */
    }
    .product-main {
        padding-top: 0;
        .wapper-product-main {
            border-radius: 20px;
            background: #fff;
            padding: 26px;
            padding-bottom: 46px;
            display: flex;
            gap: 30px;
        }
        .product-images {
            border-radius: 16px;
            overflow: hidden;
            box-shadow: 0 1px 10px 0 rgba(0, 0, 0, 0.12);
        }
        .flickity-button.flickity-prev-next-button {
            display: flex;
            align-items: center;
            justify-content: center;
            .flickity-button-icon {
                position: unset;
                transform: none;
            }
        }
        .product-attributes {
            display: none;
        }
        .custom-infor {
            .code-product {
                color: #393939;
                font-size: 18px;
                font-style: normal;
                font-weight: 300;
                line-height: normal;
            }
            .infor-line {
                background: #e1e1e1;
                height: 1px;
                width: 100%;
                margin-bottom: 16px;
            }
            .custom-attributes-list {
                display: flex;
                flex-direction: column;
                gap: 20px;
                margin-bottom: 16px;
            }
            .custom-attributes-title {
                color: #232323;
                font-size: 20px;
                font-style: normal;
                font-weight: 700;
                line-height: 1.3;
                margin-bottom: 16px;
            }
            .custom-attributes-box {
                display: flex;
                gap: 12px;
                flex-wrap: wrap;
            }
            .custom-attributes-item {
                border-radius: 12px;
                border: 1px solid #2384d4;
                background: #fff;
                padding: 7px 45px 7px 46px;
                color: #2384d4;
                font-size: 18px;
                font-style: normal;
                font-weight: 400;
                line-height: 1.44;
                cursor: pointer;
                transition: all 0.3s;
            }
            .custom-attributes-item.active {
                border-radius: 6px;
                background: #2384d4;
                border: 1px solid transparent;
                color: #fff;
            }
            .custom-control-warpper {
                display: flex;
                align-items: center;
                gap: 12px;
                .custom-control-btn {
                    cursor: pointer;
                    width: 36px;
                    height: 36px;
                    border-radius: 8px;
                    border: 1px solid #2384d4;
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    border-radius: 8px;
                    border: 1px solid #2384d4;
                    color: #2384d4;
                    font-size: 20px;
                    font-style: normal;
                    font-weight: 400;
                    line-height: normal;
                }
                .custom-control-btncount input {
                    text-align: center;
                    display: flex;
                    width: 88px;
                    min-width: 88px;
                    height: 36px;
                    padding: 9px 0;
                    justify-content: center;
                    align-items: center;
                    flex-shrink: 0;
                    color: #2384d4;
                    font-size: 20px;
                    font-style: normal;
                    font-weight: 300;
                    line-height: normal;
                    border-radius: 8px;
                    border: 1px solid #2384d4;
                    margin-bottom: 0;
                }
            }
            .custom-control {
                margin-bottom: 16px;
            }
            .custom-btn {
                width: max-content;
                cursor: pointer;
                margin-bottom: 16px;
            }
            .product-short-description p {
                margin-bottom: 0;
                color: #393939;
                font-size: 16px;
                font-style: normal;
                font-weight: 300;
                line-height: 1.56; /* 156.25% */
            }
        }
    }
    .detail-infor {
        position: relative;
        display: flex;
        gap: 44px;
        border-radius: 20px;
        background: #fff;
        height: 598px;
        overflow: hidden;
        padding: 28px 20px;
        .detail-infor-aside {
            width: 238px;
            .detail-infor-aside-item {
                display: flex;
                padding: 19px 20px 18px 20px;
                align-items: center;
                border-bottom: 1px solid rgba(0, 0, 0, 0.06);
                margin-bottom: 4px;
                color: #646464;
                font-size: 18px;
                font-style: normal;
                font-weight: 400;
                line-height: normal;
                cursor: pointer;
                transition: all 0.3s;
            }
            .detail-infor-aside-item:last-child {
                border-bottom: none;
            }
            .detail-infor-aside-item:hover,
            .detail-infor-aside-item.active {
                border-radius: 10px;
                background: #dff1ff;
                color: #2592eb;
                font-weight: 700;
            }
        }
        .detail-content {
            flex: 1 0 0;
            padding-bottom: 100px;
            strong {
                color: #434343;
                font-size: 20px;
                font-style: normal;
                font-weight: 700;
                line-height: normal;
            }
        }
        .detail-infor-more {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            width: 100%;
            height: 70px;
            background: rgba(253, 253, 253, 0.95);
            display: flex;
            align-items: center;
            justify-content: center;
            .detail-infor-btn {
                cursor: pointer;
                display: flex;
                align-items: center;
                gap: 8px;
                color: #535353;
                font-size: 16px;
                font-style: normal;
                font-weight: 500;
                line-height: 1.43; /* 143.75% */
                svg {
                    width: 14px;
                    height: 7px;
                    flex-shrink: 0;
                }
            }
        }
    }
    .product-footer {
        margin-top: 48px;
        .product-section {
            border-top: none;
        }
        .product-section-title {
            text-align: center;
            color: #333;
            font-size: 32px;
            font-style: normal;
            font-weight: 700;
            line-height: normal;
        }
        .slider-nav-reveal .flickity-prev-next-button.next,
        .slider-nav-reveal .flickity-prev-next-button.previous {
            height: 20px;
            transform: translateY(-50%) !important;
            top: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: none;
            .flickity-button-icon {
                margin: 0;
                position: unset;
                transform: translate(0, 0);
            }
        }
    }
}

@media screen and (max-width: 849px) {
    .woocommerce-shop {
        .col {
            padding: 0;
        }
        .shop-container {
            .wapper-sort {
                flex-direction: column;
                position: sticky;
                top: 0px;
                z-index: 10;
                background: #f5f8fa;
                margin-top: 0;
                padding-top: 40px;
                .sort-heading {
                    padding: 0 16px;
                }
                .custom-sort-btns {
                    width: 100%;
                    overflow: hidden;
                    overflow-x: auto;
                    padding: 0 16px;
                    padding-bottom: 4px;
                }
            }
            .products {
                padding-left: 16px !important;
                padding-right: 16px !important;
            }
        }
    }
    .product {
        .custom-item-product .btn-primary {
            font-size: 13px;
            padding-left: 0;
            padding-right: 0;
        }
    }
    .product .product-container {
        .product-main {
            .wapper-product-main {
                padding: 26px 16px;
                flex-direction: column;
            }
            .product-info {
                padding: 0;
            }
        }
        .detail-infor {
            flex-direction: column;
            padding: 28px 0px;
            .detail-infor-aside {
                width: 100%;
                display: flex;
                align-items: center;
                overflow: hidden;
                overflow-x: auto;
                flex-shrink: 0;
                padding: 0 20px;
                .detail-infor-aside-item {
                    flex-shrink: 0;
                }
            }
            .detail-content {
                padding: 0 20px;
                padding-bottom: 100px;
            }
        }
    }
}
