/* Archive */
.products-grid {
    display: grid;
    grid-template-columns: 300px auto;
    gap: 30px;
    align-items: flex-start;
}

ul.products {
    list-style: none;
    margin: 0;
    padding: 0;
}

ul.products.columns-4 {
    gap: clamp(5px, calc(0.3125rem + ((1vw - 7.67px) * 1.2005)), 15px);
}

.products .product {
    overflow: hidden;
    border-radius: 6px;
    padding: 15px;
    background-color: #fff;
    position: relative;
    display: flex;
    flex-direction: column;
}

@media (min-width:1100px) {
    .products .product:hover {
        box-shadow: #00000010 0px 5px 10px 0px;
    }
}

.products .product a {
    text-decoration: none;
    color: inherit;
    font-size: 12px;
    line-height: 1.4;
    color: var(--overlay-60);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    display: block;
}

.products .columns-5,
.products .columns-6,
.products .columns-7,
.products .columns-8 {
    gap: clamp(5px, calc(0.3125rem + ((1vw - 7.67px) * 1.2005)), 15px);
}

.products .product h2 {
    font-size: 14px;
    color: var(--black-color);
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-image-wrapper {
    position: relative;
}


.products .product .product-image-wrapper img.attachment-woocommerce_thumbnail,
.products .product img.woocommerce-placeholder.wp-post-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    background-color: #fff;
    aspect-ratio: 11/8;
    margin-bottom: 15px;
    display: block;
}

.list-table-item-actions .action-button,
.products .product .button {
    font-size: 0;
    line-height: 0;
    background: url(../../images/cart-white.svg) no-repeat center;
    background-size: 20px;
    background-color: var(--blue-button);
    height: 40px !important;
    width: 40px;
    border-radius: 4px;
}

@media (min-width:1100px) {

    .list-table-item-actions .action-button:hover,
    .products .product .button:hover {
        background-color: var(--blue-button-hover);
    }
}

.product-archive-short-description h1 {
    font-size: 25px;
    color: var(--black-color);
}

.product-archive-short-description h2 {
    font-size: 20px;
    color: var(--black-color);
}

.product-archive-short-description h3 {
    font-size: 18px;
    color: var(--black-color);
}

.product-archive-short-description h4 {
    font-size: 16px;
    color: var(--black-color);
}

.product-archive-short-description .related-content {
    margin-bottom: 40px;
    /* display: none; */
}

@media (max-width:768px) {
    ul.products.columns-4 {
        gap: 10px;
    }
}

/* ACTION WRAPPER */

.products .product-actions-wrapper {
    display: flex;
    justify-content: space-between;
    padding-top: 20px;
    margin-top: auto;
}

small.woocommerce-price-suffix {
    display: block;
}

.product-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.products .product .product-price {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.products .product del,
.products .product del bdi {
    font-size: 10px;
    color: var(--overlay-30);
}

.products .product p.price {
    line-height: 1;
}

.products .product ins {
    display: block;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    text-transform: none;
}

.products .product bdi,
.products .product .price-prefix {
    font-size: 14px;
    font-weight: bold;
}

.products .product .woocommerce-price-suffix {
    font-size: 10px;
}

.products .product button.add-to-list {
    padding: 10px;
    height: 40px;
    width: 40px;
}

@media (min-width:1100px) {
    .products .product button.add-to-list:hover {
        background-color: var(--black-button-hover);
        fill: var(--white-color);
    }
}

.products .product .add-to-list svg {
    width: 21px;
}

.products .product a.added_to_cart {
    display: none;
}

/* Energy wrapper */
.energy-class-wrapper {
    display: flex;
    position: relative;
    height: 30px;
    align-items: center;
}


/* Selling point */
.product-selling-point {
    border-top: var(--disabled-button) 1px solid;
    position: relative;
    left: -15px;
    width: calc(100% + 30px);
    padding: 15px 15px 0px 15px;
    font-size: 12px;
    color: var(--overlay-60);
    display: flex;
    gap: 6px;
}

.product-selling-point::before {
    display: block;
    width: 13px;
    height: auto;
    background: url("../../images/check.svg") no-repeat center;
    background-size: 18px;
    content: " ";
}

@media (max-width:768px) {
    .product-selling-point {
        padding-top: 10px;
    }
}

/* Pagination */
.woocommerce nav.woocommerce-pagination {
    margin-top: 30px;
}

.woocommerce nav.woocommerce-pagination ul {
    border: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    list-style: none;
}

.woocommerce nav.woocommerce-pagination ul li {
    border: none;
}

.woocommerce nav.woocommerce-pagination ul li a {
    padding: 15px 20px;
    background: var(--white-color);
    font-weight: 600;
    border-radius: 4px;
    display: block;
    text-decoration: none;
    color: inherit;
}

@media (min-width:1100px) {
    .woocommerce nav.woocommerce-pagination ul li a:hover {
        color: var(--white-color);
        background-color: var(--blue-button-hover);
    }
}

.woocommerce nav.woocommerce-pagination ul li span.page-numbers.current {
    padding: 15px 20px;
    cursor: not-allowed;
}

.woocommerce nav.woocommerce-pagination ul li span {
    display: flex;
    align-items: center;
    height: 100%;
    background: var(--white-color);
    font-weight: 600;
    padding: 15px 20px !important;
    border-radius: 4px;
    cursor: not-allowed;
}

.woocommerce nav.woocommerce-pagination ul li a.next.page-numbers,
.woocommerce nav.woocommerce-pagination ul li a.prev.page-numbers {
    font-size: 0;
    height: 100%;
    width: 50px;
    transition: .1s all;
}

.woocommerce nav.woocommerce-pagination ul li a.next.page-numbers {
    background: url(../../images/chevron-right.svg) no-repeat center;
    background-size: 15px;
    background-color: white;
}

.woocommerce nav.woocommerce-pagination ul li a.prev.page-numbers {
    background: url(../../images/chevron-left.svg) no-repeat center;
    background-size: 15px;
    background-color: white;
}

.woocommerce nav.woocommerce-pagination ul li a.next.page-numbers:hover {
    background: url(../../images/chevron-right-white.svg) no-repeat center;
    background-color: var(--blue-button-hover);
    background-size: 15px;
}

.woocommerce nav.woocommerce-pagination ul li a.prev.page-numbers:hover {
    background: url(../../images/chevron-left-white.svg) no-repeat center;
    background-color: var(--blue-button-hover);
    background-size: 15px;
}



@media (max-width:768px) {

    .woocommerce nav.woocommerce-pagination ul li a,
    .woocommerce nav.woocommerce-pagination ul li span,
    .woocommerce nav.woocommerce-pagination ul li span.page-numbers.current {
        padding: 8px 12px !important;
        font-size: 14px;
    }

    .woocommerce nav.woocommerce-pagination ul {
        gap: 5px;
    }

    .woocommerce nav.woocommerce-pagination ul li a.next.page-numbers,
    .woocommerce nav.woocommerce-pagination ul li a.prev.page-numbers {
        width: 35px;
        background-size: 12px;
    }
}

/* Archive general */
.product-archive-short-description a,
.product-archive-description a {
    text-decoration: none;
    color: var(--blue-button);
}

@media (min-width:1100px) {

    .product-archive-short-description a:hover,
    .product-archive-description a:hover {
        color: var(--blue-button-hover);
        text-decoration: underline;
    }
}

/* Archive short description */
.archive h1 {
    font-size: 25px;
}

.product-archive-short-description {
    color: var(--overlay-60);
    margin-bottom: 20px;
}

/* Archive description */
.product-archive-description {
    background-color: #fff;
    color: var(--overlay-60);
    padding: 80px 0px;
}

.product-archive-description h2 {
    color: var(--black-color);
    font-size: 30px;
}

.term-description h1,
.term-description h2,
.term-description h3,
.term-description h4,
.term-description h5,
.term-description h6 {
    font-size: inherit;
    font-size: 16px;
}

.toggle-container.text-container.disabled .toggle_btn {
    display: none;
}

.toggle-container.text-container.disabled .text-content:not(.active) {
    -webkit-mask-image: unset;
    mask-image: unset;
}

/* Popular categories */


.popular-categories {
    display: flex;
    gap: 10px;
    margin-bottom: 40px;
    overflow: hidden;
    flex-wrap: wrap;
    position: relative;

}

.popular-categories-wrapper h4 {
    color: var(--overlay-60);
}

.popular-category a .popular-category-title {
    font-size: 16px;
    color: var(--black-color);
    background-color: var(--white-color);
    padding: 15px 20px;
    border-radius: 4px;
    font-weight: bold;
    transition: .1s all;
}

@media (min-width:1100px) {
    .popular-category a .popular-category-title:hover {
        background-color: var(--black-button);
        color: var(--white-color);
    }

    .popular-category:hover {
        box-shadow: #00000010 0px 5px 10px 0px;
    }
}

.popular-category a {
    text-decoration: none;
}

@media (max-width:768px) {
    .popular-categories-wrapper {
        margin-bottom: 30px;
    }
}

/* COL */
@media (max-width:1450px) and (min-width: 1101px) {
    .products.columns-4 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width:900px) {
    .products.columns-4 {
        grid-template-columns: repeat(2, 1fr);
        gap: 5px;
    }

    .products .product {
        padding: 10px;
    }

    .products .product h2 {
        margin-bottom: 3px;
    }

    .products-grid {
        grid-template-columns: 100%;
    }

    .products .product-actions-wrapper {
        padding-top: 5px;
    }

    .product-actions span,
    .products .product .button {
        width: auto;
        margin-left: auto;
    }

    .popular-categories {
        display: flex;
        gap: 10px;
        margin-bottom: 10px;
        overflow-x: auto;
        flex-wrap: nowrap;
        position: relative;
        white-space: nowrap;
        -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, 1) 95%, rgba(255, 255, 255, 0) 100%);
        mask-image: linear-gradient(90deg, rgba(0, 0, 0, 1) 95%, rgba(255, 255, 255, 0) 100%);
    }

    .popular-categories::-webkit-scrollbar {
        height: 7px;
        margin-top: 10px;
    }

    .popular-categories::-webkit-scrollbar-track {
        background: var(--site-background-color);
    }

    .popular-categories::-webkit-scrollbar-thumb {
        background: #E2E7EA;
        border-radius: 5px
    }

    .popular-categories::-webkit-scrollbar-thumb:hover {
        background: #cfd5d9;
    }
}

@media (max-width: 768px) {

    .product-actions span,
    .products .product .button {
        width: 35px;
        height: 35px !important;
        padding: 0;
        background-size: 18px;
    }

    span.woocommerce-Price-currencySymbol {
        font-size: 10px;
        position: relative;
        line-height: 1;
        margin-left: 2px;
    }

    .popular-category:last-of-type {
        margin-right: 60px;
    }
}


/* Upsells */
section.up-sells.upsells ul.products.columns-5 {
    display: flex;
    gap: clamp(5px, calc(0.3125rem + ((1vw - 7.67px) * 1.2005)), 15px);
}

select.orderby {
    border: solid 1px var(--border-color);
    padding: 10px;
    border-radius: 4px;
    height: 100%;
    font-size: 16px;
    background: url("data:image/svg+xml,<svg height='10px' width='10px' viewBox='0 0 16 16' fill='%23000000' xmlns='http://www.w3.org/2000/svg'><path d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/></svg>") no-repeat;
    background-position: calc(100% - 0.75rem) center !important;
    -moz-appearance: none !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    padding-right: 2rem !important;
    background-color: #fff;
    margin-left: auto;
    color: #121212;
}

select.orderby:focus-visible,
select.orderby:focus-within,
select.orderby:focus {
    outline-color: var(--blue-color);
}

form.woocommerce-ordering {
    display: flex;
    padding-bottom: 10px;
}

@media (max-width:767px) {
    select.orderby {
        width: 100%;
    }
}