/*
 Theme Name:     NUTS MOTORS
 Theme URI:      https://www.sevenlab.fr
 Description:    NUTS MOTORS
 Author:         Seven Lab
 Author URI:     https://www.sevenlab.fr
 Template:       Divi
 Version:        1.0.0
*/
 

/* -------------------------------------------------------
    Couleurs:
*/

:root{
    --jaune: #FAE820;
    --rouge: #DB030C;
}
/* -------------------------------------------------------
    TYPOS:
font-family: "changa", sans-serif;
font-weight: 400;
font-style: normal;
*/

/* -------------------------------------------------------
    CUSTOM:
*/

body{
    font-family: "changa", sans-serif;
    font-weight: 400;
    font-style: normal;
}

h1{
    color: white;
    font-weight: 700;
    font-size: 48px;
}
h4{
    font-weight: 700;
    font-size: 24px !important;
}

#bg-video {
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
}

.overlayvideo{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 100%);
}

.woocommerce-loop-product__title,
.product-name{
    color: white;
    font-weight: 700;
    font-size: 24px !important;
    text-align: center;
    padding: 0;
}

.woocommerce ul.products li.product .price, .woocommerce-page ul.products li.product .price, .woocommerce ul.products li.product .price del, .woocommerce-page ul.products li.product .price del,
.product-price{
    text-align: center;
    font-size: 19px !important;
    color: white !important;
}

.woocommerce-Price-amount,
th.label{
    font-size: 19px !important;
    color: white !important;
    line-height: 34px !important;
}

.woocommerce div.product form.cart .variations td,
.woocommerce-Price-amount, th.label{
    display: block !important;
}

.reset_variations{
    color: var(--rouge);
}

.woocommerce .woocommerce-error, .woocommerce .woocommerce-info, .woocommerce .woocommerce-message{
    background: var(--rouge);
}

.woocommerce-error, .woocommerce-info, .woocommerce-message{
    margin: 0;
}

.woocommerce-message a.button.wc-forward,
.woocommerce-message a.button.wc-forward:hover{
    background: var(--rouge);
    color: white;
}

.woocommerce div.product div.images .woocommerce-product-gallery__wrapper .zoomImg{
    background-color: #000000;
}

.cart_totals h2,
.shop_table.cart thead,
body.woocommerce-checkout .wc-block-components-product-metadata__description{
    display: none;
}

#add_payment_method table.cart img, .woocommerce-cart table.cart img, .woocommerce-checkout table.cart img{
    width: 100px;
}

.entry-content table:not(.variations){
    border: none !important;
}

.shop_table .product-subtotal .woocommerce-Price-amount{
    font-weight: 700;
    color: var(--jaune) !important;
}

.shop_table .product-name a,
.shop_table th,
.et_pb_wc_description p{
    font-size: 19px !important;
    color: white !important;
}

.shop_table .product-name .variation{
    color: var(--jaune);
}

.woocommerce-cart-form__cart-item{
    border-top: 1px solid white !important;
    border-bottom: 1px solid white !important;

}

.product-quantity .quantity input.qty,
.woocommerce .product-quantity .quantity input.qty:focus,
.woocommerce-page .product-quantity .quantity input.qty:focus{
    background-color: transparent;
    color: white;
    font-size: 19px;
}

.woocommerce .quantity input.qty, .woocommerce-page .quantity input.qty, .woocommerce #content .quantity input.qty, .woocommerce-page #content .quantity input.qty, .woocommerce-cart table.cart td.actions .coupon .input-text, .woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .et_pb_wc_cart_totals .select2-container--default .select2-selection--single, .et_pb_wc_checkout_billing .select2-container--default .select2-selection--single, .et_pb_wc_checkout_shipping .select2-container--default .select2-selection--single{
    padding: 12px !important;
}

.includes_tax{
    display: block;
    color: white;
}

tfoot td{
    color: white;
    font-size: 19px;
}

mark{
    background: var(--jaune);
    padding:  5px 10px;
}

.woocommerce-checkout #main-content,
.woocommerce-account #main-content,
.woocommerce-cart #main-content{
    background-color: #000000 !important;
    background-image: url('/wp-content/themes/sevenlab/img/fond_nuts.svg');
    background-repeat: repeat;
    background-size: 120px 50px;
    min-height: 80svh;
}

.cart_item small,
small.preco{
    color: var(--jaune) !important;
}

body.woocommerce-checkout,
body.woocommerce-account{
    background-color: #000000;
}

.wc-block-components-checkout-step--with-step-number .wc-block-components-checkout-step__title::before,
.wc-block-components-checkout-step--with-step-number .wc-block-components-checkout-step__title,
.wc-block-components-order-summary-item__description,
.wc-block-components-order-summary__button-text,
.wc-block-formatted-money-amount,
.wc-block-components-checkout-step__description,
.wc-block-components-checkbox__label,
.wc-block-checkout__terms,
.wc-block-components-panel__button > .wc-block-components-panel__button-icon,
.wc-block-components-totals-item,
.wc-block-components-checkout-step__heading-content,
.woocommerce-account h2,
.woocommerce-account .woocommerce form .form-row label,
.woocommerce-LostPassword a{
    color: white !important;
}

.wc-block-components-checkout-step__description,
.wc-block-components-order-summary-item__description,
.wc-block-components-checkbox__label,
.wc-block-checkout__terms,
.wc-block-components-totals-item,
.wc-block-components-checkout-step__heading-content,
.woocommerce-account .woocommerce form .form-row label,
.woocommerce-LostPassword a{
    font-size: 16px !important;
}

.wc-block-components-checkout-step--with-step-number .wc-block-components-checkout-step__title::before,
.wc-block-components-checkout-step--with-step-number .wc-block-components-checkout-step__title,
.wc-block-components-order-summary__button-text{
    font-size: 25px !important;
}

.wc-block-components-notice-banner.is-error,
.wc-block-components-notice-banner.is-error > svg{
    background-color: var(--rouge) !important;
    font-size: 16px !important;
    color: white !important;
}

.wc-block-components-checkout-return-to-cart-button,
.wc-block-components-totals-coupon-link{
    color: var(--jaune) !important;
    font-size: 16px !important;
}

.woocommerce-LostPassword a:hover{
    text-decoration: underline;
}

.wc-block-checkout__terms a,
.wc-block-components-checkout-step__heading-content a{
    color: var(--jaune) !important;
}

.wc-block-checkout__terms a:hover,
.wc-block-components-checkout-step__heading-content a{
    text-decoration: underline;
}

.wp-element-button, .wp-block-button__link,
.woocommerce-form-login__submit,
.woocommerce-form-register__submit{
    background-color: var(--jaune) !important;
    color: #000000 !important;
    font-size: 19px !important;
}

.woocommerce form.checkout_coupon, .woocommerce form.login, .woocommerce form.register{
    border: none !important;
}

.woocommerce form .form-row .required{
    display: none !important;
}

#customer_login input{
    background-color: transparent !important;
    border: 1px solid rgba(255,255,255,0.5) !important;
}

#customer_login .u-column2 p{
    color: var(--jaune) !important;
    font-size: 16px !important;
}

#customer_login .u-column2 .woocommerce-privacy-policy-text p,
#customer_login .u-column2 .woocommerce-privacy-policy-text a{
    color: white !important;
}

#customer_login .u-column2 .woocommerce-privacy-policy-text a:hover{
    text-decoration: underline;
}

#rememberme{
    transform: scale(2);
}

.woocommerce-form__label-for-checkbox span{
    margin-left: 10px !important;
}

.woocommerce .woocommerce-form-login .woocommerce-form-login__rememberme{
    display: block !important;
}

.woocommerce-form-login__rememberme{
    margin-bottom: 20px;
}

.woocommerce-order{
    color: white;
    font-size: 19px !important;
}

.woocommerce-order .woocommerce-order-details__title,
.woocommerce-order .woocommerce-column__title{
    color: white !important;
}

.flex-container-filtres {
    display: flex;
    justify-content: space-between;
}

.flex-container-filtres .flex-item {
    flex: 1;
    margin: 0px;
    padding: 0px;
    text-align: center;
    color: white;
    font-size: 30px;
    font-weight: 700;
    cursor: pointer;
}

.flex-container-filtres .flex-item.active::after,
.flex-container-filtres .flex-item:hover::after{
    content: '';
    display: block;
    height: 2px;
    width: 100%;
    background: var(--jaune);
    margin-top: 10px;
}

.flex-container-social {
    display: flex;
    justify-content: space-between;
    width: 40%;
}

.flex-container-social .flex-item {
    flex: 0 1 auto;
    margin: 0px;
    padding: 0px;
}

#pa_taille {
    /* Add your styles here */
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    padding: 0.375rem 0.75rem;
    border-radius: 0.25rem;
}

.wc-block-components-checkout-step__content{
    color: white;
}

.woocommerce-products {
    display: flex;
    flex-wrap: wrap;
    gap: 16px; /* Espace entre les produits */
}

.product-item {
    flex: 0 1 calc(25% - 16px);
    box-sizing: border-box;
    margin-bottom: 16px;
}

.product-image {
    position: relative;
    width: 100%;
}

.product-image img {
    width: 100%;
    height: auto;
}

.product-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 99%;
    background-color: var(--rouge);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-image:hover::before {
    opacity: 0.5;
}

.product-image::after {
    content: '\e07a'; /* \54 loupe */
    font-family: 'ETmodules' !important; /* Make sure the Divi font is loaded */
    font-size: 3em; /* Adjust the size as needed */
    color: var(--jaune);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-image:hover::after {
    opacity: 1;
}

#matomo-opt-out{
    border: 1px solid white;
    padding: 20px;
}

.wc-block-components-title,
label{
    color: white !important;
}

.wc-block-components-address-form__phone > label{
    color: black !important;
}

.woocommerce-shipping-destination,
.wc-block-components-totals-coupon{
    color: white;
}

.wc-block-components-address-card__edit,
.shipping-calculator-button{
    color: var(--jaune);
}

#packlink-drop-off-picker{
    border: none !important;
    background: var(--jaune) !important;
    color: black !important;
}

/*** Responsive Styles Large Desktop And Above ***/
@media all and (min-width: 1405px) {

}
 
/*** Responsive Styles Standard Desktop Only ***/
@media all and (min-width: 1100px) and (max-width: 1405px) {

}

@media (min-width:981px){

}

/*** Responsive Styles Tablet And Below ***/
@media all and (max-width: 980px) {
    .flex-container-menu {
        display: flex;
        justify-content: space-between;
    }

    /*.flex-container-menu .flex-item {*/
    /*    flex: 1;*/
    /*}*/

    .et_pb_image_0 .et_pb_image_wrap{
        margin: 0 auto;
        width: 60%;
        bottom: -50px;
    }

    .flex-container-filtres .flex-item{
        font-size: 16px;
    }

    .product-name{
        font-size: 18px !important;
        height: auto;
    }

    .woocommerce-Price-amount,
    th.label {
        font-size: 16px !important;
        line-height: 18px !important;
    }

    footer .et_pb_text_inner{
        text-align: center;
    }

    .flex-container-social{
        margin: 0 auto;
    }

    .single-product h1{
        font-size: 40px;
    }

    .shop_table .product-name a,
    .shop_table th,
    .et_pb_wc_description p{
        font-size: 14px !important;
    }

    .et_pb_wc_description,
    .et_pb_wc_add_to_cart{
        width: 100% !important;
    }

    .woocommerce-checkout #main-content,
    .woocommerce-account #main-content,
    .woocommerce-cart #main-content{
        min-height: 100svh !important;
    }

    .woocommerce-cart .et_pb_section_0{
        height: initial !important;
        padding: 0 !important;
    }

    .woocommerce-cart .product-remove{
        display: none !important;
    }

    .et_pb_wc_cart_products_0 table.shop_table tr td, .et_pb_wc_cart_products_0 table.shop_table th{
        border: none !important;
    }

    .woocommerce #content table.cart .product-thumbnail, .woocommerce table.cart .product-thumbnail, .woocommerce-page #content table.cart .product-thumbnail, .woocommerce-page table.cart .product-thumbnail{
        display: initial !important;
    }

    .woocommerce-cart-form__cart-item,
    .shop_table{
        color: white;
    }

    .product-thumbnail::before{
        display: none !important;
    }

    .woocommerce-cart table.cart img{
        width: 50% !important;
    }

    .product-item {
        flex: 0 1 calc(50% - 16px);
    }

    .woocommerce table.shop_table td{
        border-top: none !important;
    }

    .woocommerce table.shop_table tr{
        border-top: 1px solid white !important;
    }

}
 
/*** Responsive Styles Tablet Only ***/
@media all and (min-width: 768px) and (max-width: 980px) {

}
 
/*** Responsive Styles Smartphone Only ***/
@media all and (max-width: 767px) {

}
 
/*** Responsive Styles Smartphone Portrait ***/
@media all and (max-width: 479px) {

}