@media (min-width: 1512px) {
    .container {
        width: 1512px;
        max-width: 100%;
    }
}

body {
    font-family: 'Inter', sans-serif;
}

#wrapper {
    padding-top: 0;
}

.categimg-banner,
.breadcrumb,
.todrop {
    display: none;
}

.block-category.categ-banner {
    padding: 35px 65px;
    padding-bottom: 21px;
    margin-bottom: 0;
    border-top: 1px solid #DDDDDD;
    min-height: auto;
}

.categ-content {
    margin-top: 0;
}

.card-block h1 {
    font-size: 30px !important;
    font-weight: 600;
    color: #000;
    line-height: 1;
}
#category-description {
    max-width: 978px;
    margin-top: 0;
    line-height: 1;
}
#category-description p,
.total-products-header h6 {
    margin: 0 !important;
    font-size: 18px;
    font-weight: 400;
    color: #000 !important;
}

.total-products-header {
    padding: 0 65px;
    padding-bottom: 35px;
    border-bottom: 1px solid #DDDDDD;
}
.total-products-header h6 {
    font-size: 16px;
}



.sort-by-row {
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 17px;
    padding: 35px 65px;
}
.products-sort-order {
    padding: 0;
    justify-content: flex-start;
}
.products-sort-order .select-title {
    display: flex;
    align-items: end;
    gap: 14px;
    width: auto;
    background: rgba(188, 202, 215, 0.36);
    border: 0;
    border-radius: 30px;
    font-size: 23px;
    color: #C0C0C0;
    padding: 10px 20px;
    font-style: italic;
}
.sort-text {
    font-size: 25px;
    font-weight: 600;
    line-height: 1;
    margin: 0;
    color: #000;
}


#js-product-list {
    padding: 0 45px;
}
.products.grid {
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-gap: 26px;
}
.productlist .contentproduct {
    border-radius: 4px;
    background: #F4F3F3;
    height: 100%;
}
.productlist .thumbnailproduct {
    text-align: center;
}
.productlist .thumbnailproduct img {
    /*border-radius: 4px;*/
    /*max-width: 230px;*/
    border-radius: 0;
}

.productlist .contentinner {
    padding: 20px 20px 7px;
    justify-content: start;
    height: auto;
}
.productlist .h3.product-title {
    position: relative;
    margin-bottom: 3px;
}
.productlist .h3.product-title a {
    min-height: 40px;
    font-size: 20px;
    font-weight: 600;
    line-height: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.product-info-btn {
    /*position: absolute;*/
    /*top: -5px;*/
    /*right: -24px;*/
    padding: 0;
    background: transparent;
}

.bottom_p {
    margin-top: 10px;
    flex-direction: column;
    align-items: flex-start !important;
}
.bottom_p > div {
    margin-bottom: 10px;
}
.bottom_p .product-price-and-shipping {
    flex-direction: row;
    color: #000;
}
.bottom_p span,
.bottom_p .price {
    font-size: 15px;
    margin: 0;
}

.view-pop-up-product .product-info-btn {
    /*position: static;*/
    /*display: block;*/
    margin: 0 auto;
    text-decoration: underline;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #5e5e5e;
    transition: color 0.3s ease-out;
}
.view-pop-up-product .product-info-btn:hover {
    color: #12818E;
}
.view-pop-up-product .product-info-btn:before {
    content: "";
    width: 22px;
    height: 22px;
    display: inline-block;
    background-color: #df5507;
    -webkit-mask: url('/themes/classic-child/assets/img/info_icon.svg') no-repeat center / contain;
    mask: url('/themes/classic-child/assets/img/info_icon.svg') no-repeat center / contain;
}

.bottom_p .product-delivery {
    font-size: 1rem;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.bottom_p .product-delivery:before {
    content: "";
    width: 20px;
    height: 20px;
    display: inline-block;
    background-color: #11a500;
    border-radius: 50%;
    margin-left: 3px;
}

.bottom_p .product-install-level {
    font-size: 1rem;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.bottom_p .product-install-level:before {
    content: "✔";
    font-size: 20px;
    color: #3c3c3c;
    line-height: 1;
    display: inline-block;
    margin-left: 5px;
    min-width: 19px;
}

.bottom_p .see_btn,
.pp-configure .see_btn {
    background: #13818E;
    color: #fff;
    padding: 10px 30px;
    border-radius: 7px;
}
.bottom_p .see_btn a,
.pp-configure .see_btn a {
    padding: 0;
    font-weight: 600;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.bottom_p .see_btn a:after {
    content: "";
    width: 22px;
    height: 22px;
    display: inline-block;
    background-color: #fff;
    -webkit-mask: url('themes/classic-child/assets/img/computer-solid-full.svg') no-repeat center / contain;
    mask: url('/themes/classic-child/assets/img/computer-solid-full.svg') no-repeat center / contain;
}
.bottom_p .see_btn a:hover,
.pp-configure .see_btn a:hover {
    color: #fff !important;
}

.bottom_p .product-price-and-shipping,
.pp-price-wrapper .product-price-and-shipping {
    display: flex;
    align-items: flex-end;
}

.bottom_p .price-custom-view,
.pp-price-wrapper .price-custom-view {
    display: flex;
    align-items: flex-start;
    margin-top: 15px;
}

.bottom_p .price-custom-view-left,
.pp-price-wrapper .price-custom-view-left {
    font-size: 3rem;
    font-weight: bold;
    height: fit-content;
    min-height: 37px;
    display: flex;
    align-items: center;
}
.ease-installation-block {
    margin-top: 20px;
}
.ease-installation-block h3 {
    text-align: center;
    color: #000;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 13px;
}
.ease-installation-block .indicator,
.ease-installation-block .installation-level {
    display: flex;
    height: 13px;
    width: 18vw;
    max-width: 228px;
    background: #D9D9D9;
    border-radius: 10px;
}
.ease-installation-block .installation-level {
    height: auto;
    margin-top: 5px;
    background: transparent;
    border-radius: 0;
}
.ease-installation-block .indicator .indicator-item,
.ease-installation-block .installation-level .level-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 25%;
    border-radius: 10px;
}
.ease-installation-block .installation-level .level-item {
    opacity: 0;
    margin: 0;
    font-size: 11px;
    font-weight: 600;
    color: #000;
}
.ease-installation-block .installation-level .level-item.active {
    opacity: 1;
}

.ease-installation-block .indicator .indicator-item-1.active {
    background: #77DD77;
}
.ease-installation-block .indicator .indicator-item-2.active {
    background: #FAD02E;
}
.ease-installation-block .indicator .indicator-item-3.active {
    background: #F4A261;
}
.ease-installation-block .indicator .indicator-item-4.active {
    background: #E57373;
}
.ease-installation-block .indicator .point {
    height: 6px;
    width: 6px;
    border-radius: 6px;
    background: #636363;
}
.ease-installation-block .indicator-item.active .point {
    background: #FFFFFF;
}

/* pop-up */

.close-pop-up-btn {
    position: absolute;
    padding: 0;
    right: 14px;
    top: 14px;
    background: transparent;
}

.pop-up-block {
    overflow: auto;
    position: fixed;
    top: 0;
    right: -522px;
    bottom: 0;
    width: 522px;
    padding: 46px;
    background: #FFFFFF;
    box-shadow: 0;
    z-index: 99999;
    transition: right 0.3s ease-out;
}
.pop-up-block.show {
    right: 0;
    box-shadow: 0px 0px 0px 100vw rgba(0, 0, 0, 0.5);
}

.pop-up-container {
    overflow-y: hidden;
}

.pop-up-block .product-title {
    font-size: 25px;
    font-weight: 600;
}
.pop-up-block .product-title a,
.pop-up-block .description-content p {
    color: #000;
}
.pop-up-block .product-price-and-shipping {
    font-size: 18px;
    color: #000;
}

.pop-up-block .description-container {
    overflow-y: auto;
    max-height: 100%;
    padding-right: 30px;
    margin-right: -16px;
    scrollbar-color: #424651 #B4B8B9;
    scrollbar-width: thin;
}
.pop-up-block .description-container::-webkit-scrollbar-track {
    background: #424651 !important;
}
.pop-up-block .description-container::-webkit-scrollbar-thumb {
    background-color: #B4B8B9 !important;
}

.pop-up-block .product-images {
    margin-top: 24px;
    margin-bottom: 48px;
}
.pop-up-block .product-images img {
    width: 100%;
}

/* New popup layout */
.pp-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 6px;
}
.pp-review-link {
    display: inline-block;
    color: #3c8dbc;
    font-size: 13px;
    margin-bottom: 8px;
}
.pp-price-wrapper {
    margin: 10px 0 14px;
}
.pp-price-line {
    display: flex;
    align-items: baseline;
    gap: 6px;
}
.pp-price {
    font-size: 36px;
    font-weight: 700;
    color: #000;
}
.pp-price-suffix {
    font-size: 16px;
    color: #000;
}
.pp-payment-note {
    font-size: 13px;
    color: #000;
}
.pp-ml-note {
    font-size: 10px;
    color: #6b6b6b;
}
.pp-configure .see_btn {
    margin: 12px 0 18px;
    width: fit-content;
}
.pp-delivery-card {
    border: 1px solid #e6e6e6;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 18px;
    background: #f9f9f9;
}
.pp-delivery-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}
.pp-delivery-title:before {
    content: "";
    width: 20px;
    height: 20px;
    display: inline-block;
    border-radius: 50%;
    background-color: #000;
    -webkit-mask: url('themes/classic-child/assets/img/computer-solid-full.svg') no-repeat center / contain;
    mask: url('/themes/classic-child/assets/img/computer-solid-full.svg') no-repeat center / contain;
}
.pp-delivery-text { font-size: 13px; margin-top: 6px; }
.pp-delivery-sub { font-size: 11px; color: #6b6b6b; margin-top: 4px; }
.pp-calc-link { color: #3c8dbc; }

.pp-gallery { margin: 16px 0 10px; }
.pp-main-image img { width: 100%; border-radius: 4px; }
.pp-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 12px; }
.pp-thumbs img { width: 100%; border-radius: 4px; background: #fff; }

.pp-fallback-text { margin-top: 12px; color: #000; }

/* Mobile */

@media screen and (max-width: 1511px) {
    .products.grid {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

@media screen and (max-width: 1024px) {
    .products.grid {
        grid-template-columns: 1fr 1fr;
    }

    .productlist .thumbnailproduct img {
        width: 100%;
    }
    .contentinner .labels {
        max-width: 100%;
    }

    .bottom_p {
        width: 100%;
        align-items: center;
    }
    .productlist .h3.product-title a {
        font-size: 16px;
        min-height: auto;
    }
    .bottom_p span, .bottom_p .price {
        font-size: 14px;
    }
    .view-pop-up-product .product-info-btn {
        margin: 8px auto;
    }
    .see_btn {
        padding: 6px 22px;
    }

    .ease-installation-block {
        margin-top: 12px;
    }
    .ease-installation-block h3 {
        margin-bottom: 6px;
    }
}

@media screen and (max-width: 992px) {
    .block-category.categ-banner {
        padding-top: 20px;
        padding-bottom: 16px;
    }
    .total-products-header {
        padding-bottom: 20px;
    }

    .sort-text {
        font-size: 18px;
    }
    .products-sort-order .select-title {
        font-size: 16px;
        padding: 6px 12px;
    }
}

@media screen and (max-width: 768px) {
    .card-block h1 {
        font-size: 24px !important;
    }
    #category-description p,
    .total-products-header h6 {
        font-size: 14px !important;
    }

    .products.grid {
        grid-template-columns: 1fr;
    }

    .block-category.categ-banner,
    .total-products-header,
    .sort-by-row {
        padding-left: 12px;
        padding-right: 12px;
    }
    #js-product-list {
        padding: 0;
    }

    .contentinner {
        padding: 14px 30px 7px 12px;
    }

    .ease-installation-block .indicator,
    .ease-installation-block .installation-level {
        width: 100%;
    }

    .pop-up-block {
        right: -450px;
        width: 450px;
    }
}

@media screen and (max-width: 450px) {
    .sort-by-row {
        flex-direction: column;
        padding: 12px;
        gap: 0px
    }
    .sort-text {
        margin-bottom: 8px;
    }
    .contentinner {
        padding-right: 20px;
    }
    .product-info-btn {
        top: -15px;
        right: -20px;
    }

    .pop-up-block {
        right: -300px;
        width: 300px;
        padding: 12px;
    }
    .pop-up-block .description-container {
        padding-right: 10px;
        margin-right: -10px;
    }
    .close-pop-up-btn {
        right: 0;
        top: 0;
    }
    .pop-up-block .description-container {
        max-height: 72%;
    }
}

.d-none {
    display: none !important;
}
