:root {
    --swiper-navigation-size: 1.5rem !important;
    --swiper-theme-color: var(--font-primary) !important;
}

.swiper-scrollbar-drag {
    background: var(--primary);
}

#product h1,
#product .h1,
#product h2,
#product .h2 {
    color: var(--font-primary);
    margin: 0;
}

h1,
.h1 {
    text-transform: none;
    font-size: 2rem;

}

#product #wrapper .container,
#product #wrapper .row {
    margin: 0 auto;
    padding: 0;
}

#product #content {
    max-width: 100%;
}

#product .product-container,
#product section .product-content {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: flex-start;
}

#product .product-container section {
    padding: 0;
}

#product section.product-content div,
#product section.product-content section {
    margin: 0;
    padding: 0;
    color: var(--font-primary);
}

#product section.product-content .product-reference {
    margin: 0 0 .75rem 0;
    font-size: .9rem;
}

#product #product-add2cart {
    min-height: 42px;
}

#product .product-information .product-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#product .sales_prices {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
}

#product .sales_prices.d-none {
    display: none;
}

#product #wrapper .sales_prices .sale_price {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    line-height: 1.2;
    gap: .5rem 0;
    padding: .75rem;
    border: 1px solid var(--secondary);
    cursor: pointer;
    box-shadow: var(--box-shadow);
    transition: all .3s ease;
}

#product #wrapper .sales_prices .sale_price.selected {
    background: var(--tertiary);
    border-color: var(--primary);
    box-shadow: none;
}

#product .sales_prices .h3 {
    text-transform: none;
    font-weight: 600;
    font-size: 1.1rem;
}

#product .sales_prices .prices {
    display: flex;
    flex-direction: column;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
}

#product .sales_prices .prices span {
    font-size: .8rem;
    font-weight: 400;
    color: var(--primary);
}

#product .sales_prices .btn {
    width: 100%;
}

#product .sales_prices .selected .btn {
    background: var(--font-primary);
}

#product section.product-content .group-products {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    align-items: center;
    margin: 1.5rem 0;
}

#product .group-products .h2 {
    width: 100%;
    text-align: center;
    text-transform: none;
    padding: .5rem;
    background: #f9f9f9;
    font-size: 1.1rem;
    font-weight: 600;
}

#product .group-products .h2 span {
    color: var(--primary);
    font-size: 1rem;
}

#product .group-products .link {
    padding: .5rem .75rem;
    background: var(--tertiary);
    color: var(--font-primary);
    text-decoration: none;
    line-height: 1.2;
    transition: all .3s ease;
    font-size: .9rem;

    &:hover {
        color: var(--bg);
        background: var(--primary);
    }
}

#product section .product-content div.free-shipping {
    display: flex;
    gap: 1rem;
    align-items: center;
    color: var(--primary);
    background: var(--tertiary);
    padding: 1rem;
}

#product .free-shipping svg {
    max-width: 2.25rem;
    fill: var(--primary);
}

#product .free-shipping p,
#product .shipping-delivery p {
    margin: 0;
    font-size: .9rem;
    line-height: 1.3;
    color: var(--font-primary);
}

#product .free-shipping *,
#product .free-shipping p {
    color: var(--primary);
}


#product #volume-discounts {
    background: #f9f9f9;
    padding: 1.5rem;
}

#product #volume-discounts .row {
    margin: 0;
}

#product #volume-discounts .h3 {
    margin-bottom: 1rem;
}

#product #volume-discounts .remain {
    margin-top: 1rem;
}

#product .product-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

#product .product-benefits div.col-lg-4 {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    background: #f9f9f9;
    padding: 1rem;
}

#product .product-benefits p {
    text-align: center;
    color: var(--font-primary);
    margin: 0;
    line-height: 1.2;
}

#product .product-benefits p span {
    color: var(--primary);
    cursor: pointer;
    text-decoration: underline;
}

#product #product-description {
    background: #f9f9f9;
}

#product #product-description * {
    color: var(--font-primary);
    font-size: .952rem;
    line-height: 1.2;
}

#product #product-description h3 {
    font-size: 1.25rem;
}

#product #product-description ul {
    list-style: initial;
    margin-left: 1.5rem;
}

#product #product-description ul li {
    margin-bottom: .25rem;
}



#product .datasheet .inner {
    display: flex;
    flex-wrap: wrap;
    font-size: .925rem;
    line-height: 1.1;
}

#product .datasheet .h2 {
    width: 100%;
    margin-bottom: 1.5rem;
}

#product .datasheet .col {
    padding: .75rem 0;
    border-top: 1px solid var(--secondary);
}



#product .datasheet strong {
    font-size: 1rem;
    font-weight: 600;
}

#product .datasheet a {
    color: var(--primary);
    text-decoration: underline;

}

#product .product-categories {
    background: #f9f9f9;
}

#product .product-content .h2 {
    margin-bottom: 1rem;
}


.subcategories {
    border: none;
    margin: .5rem 0 1.5rem 0;
}

.subcategories ul.subcategories-list {
    width: 100%;
    /* overflow: hidden; */
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 0.75rem;
    margin: 0;
    padding: 0.75rem 0.5rem;
}

/* .subcategories ul.subcategories-list.swiper-wrapper {
    overflow: initial;
} */



.subcategories ul.subcategories-list li {
    min-width: fit-content;
    max-width: fit-content;
    margin: 0;
    padding: 0;
}

.subcategories ul.subcategories-list .subcategory-name {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: 0;
    padding: 0.5rem 1rem;
    gap: 1rem;
    text-align: center;
    text-transform: none;
    font-weight: 500;
    color: var(--primary);
    background: var(--bg);
    border: 1px solid var(--secondary);
    box-shadow: 0 0.25rem 0.5rem var(--secondary);
    text-decoration: none;
    transition: all 0.3s ease;

    &:hover {
        color: var(--primary);
        background: var(--tertiary);
        border-color: var(--primary);
        box-shadow: 0 0.25rem 0.5rem var(--tertiary);
    }
}

#product .product-upsells .h2 {
    margin-bottom: 1rem;
}

#product .product-upsells .swiper .product {
    padding: 0;
}

#product #modal-add2cart {
    position: fixed;
    z-index: 100;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--tertiary);
    -webkit-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.11);
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.11);
}

#product #modal-add2cart .inner {
    max-width: 1400px;
    width: 100%;
    margin: auto;
    padding: .75rem 0;
    display: flex;
    gap: .5rem 0;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

#product #modal-add2cart .inner .image {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 0;
}

#product #modal-add2cart .inner .image img {
    width: auto;
    max-height: 75px;
    margin: auto;
}

#product #modal-add2cart .inner .h2 {
    text-transform: none;
    margin-top: .25rem;
    font-size: 1.15rem;
}

#product #modal-add2cart .inner .product-discounts {
    display: none;
}

/* #product #modal-add2cart .inner .product-quantity {
    align-items: center;
    width: 100%;

    &::after {
        display: none;
    }
} */

#product #modal-add2cart .inner .current-price,
#product #modal-add2cart .inner .unit-price {
    display: flex;
    flex-direction: column;
    font-size: 1.5rem;
}

#product #modal-add2cart .inner .unit-price {
    font-size: .825rem;
}

#product #modal-add2cart .inner .prices span {
    color: var(--primary);
    line-height: 1.1;
}

#product #modal-add2cart .inner .prices .current-price-value {
    color: var(--font-primary);
}

#product #modal-add2cart .inner .product-quantity .btn-primary {
    width: 100%;
}


.swiper {
    position: initial;
}

@media screen and (min-width: 576px) {}

@media screen and (min-width: 768px) {

    #product .product-container .col-md-6 {
        max-width: calc(50% - .75rem);
        padding: 0;
    }


}

@media screen and (min-width: 992px) {
    #product section .product-content .col-lg-6 {
        max-width: calc(50% - .75rem);
        padding: 0;
    }

    #product .product-benefits div.col-lg-4 {
        max-width: calc(33.33% - .7rem);
    }

    #product #modal-add2cart .inner {
        padding: 1rem 0;
    }

    #product #modal-add2cart .inner .h2 {
        font-size: 1.25rem;
    }

}

@media screen and (min-width: 1200px) {

    #product #product-description,
    #product .datasheet,
    #product .product-categories,
    #product .product-upsells {
        padding: 2rem 0;
    }
}

@media screen and (min-width: 1400px) {
    #product #wrapper {
        padding: 0;
    }

    #product #wrapper .container {
        width: 100%;
    }

    #product #wrapper .product-container {
        width: 1400px;
        margin: auto;
    }

    #product .breadcrumb,
    #product #wrapper section .inner {
        padding: 0 calc((100% - 1400px) / 2);
    }



}