/*
Theme Name: Kinsaya
Theme URI: https://github.com/elementor/hello-theme/
Description: Thème enfant de Hello Elementor par IPSO
Author: IPSO
Author URI: https://www.studioipso.fr
Template: hello-elementor
Version: 1.0
Text Domain: hello-elementor-child
*/

/* Header */
:is(.scroll-down, .scroll-up) .site-header {
    background-color: #f9b000;
}

/* Single Product */
.product-images .woocommerce-product-gallery {
    margin-bottom: 0 !important;
}

.product-images .woocommerce-product-gallery__image img {
    padding: 25px;
}

.product-images .flex-control-nav img {
    padding: 15px;
}

@media screen and (max-width: 767px) {
    .product-images .woocommerce-product-gallery__image img {
        padding: 15px;
    }
    
    .product-images .flex-control-nav img {
        padding: 5px;
    }
}

.product-add-to-cart .quantity input {
    min-width: 80px;
    border-color: #eee;
    border-radius: unset;
}

.product-add-to-cart .single_add_to_cart_button {
    font-family: "Oswald", Sans-serif;
    font-size: 15px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    line-height: 1em !important;
    color: var( --e-global-color-secondary ) !important;
    background-color: var( --e-global-color-primary ) !important;
    border-radius: unset !important;
    padding: 1em 2em 1.1em 2em !important;
}
.product-add-to-cart .single_add_to_cart_button:hover {
    background-color: #e6a100 !important;
}

.product-add-to-cart .variations {
    border: 1px solid #eee !important;
    border-spacing: 15px;
    border-collapse: separate;
}

.product-add-to-cart .variations :is(th, td) {
    background: unset;
    padding: 0;
}

.product-add-to-cart .variations th.label {
    text-align: left;
    line-height: 2.5em !important;
}

.product-add-to-cart .variations .reset_variations {
    display: none;
}

.product-add-to-cart .woocommerce-variation-price .price {
    display: block;
    margin-bottom: 15px;
    color: #000 !important;
    font-weight: 700;
}


/* Notice wrapper */
.woocommerce-message,
.woocommerce-error,
.woocommerce-info {
    background: #fafafa;
    border-color: #000;
    font-family: "Poppins", Sans-serif;
    font-size: 16px;
}

.woocommerce-message::before,
.woocommerce-error::before,
.woocommerce-info::before {
    color: #000;
}

.woocommerce-message .button,
.woocommerce-error .button,
.woocommerce-info .button {
    font-family: "Oswald", Sans-serif;
    font-size: 15px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    line-height: 1em !important;
    color: #fff !important;
    background-color: var( --e-global-color-secondary ) !important;
    border-radius: unset !important;
    padding: 1em 2em 1.1em 2em !important;
}

.woocommerce form .form-row .required {
    color: #f9b000 !important;
}

/* Panier */
.woocommerce-cart-form .shop_table .quantity input {
    padding: 5px !important;
    border-radius: unset !important;
    font-family: 'Poppins', sans-serif !important;
    font-weight: 400 !important;
}

.woocommerce-cart-form .shop_table .product-subtotal {
    min-width: 100px !important;
}

.woocommerce-cart-form .shop_table .amount * {
    font-family: 'Poppins', sans-serif !important;
    font-weight: 400 !important;
}

.includes_tax .amount {
    font-weight: initial !important;
    color: inherit !important;
    font-size: inherit !important;
}


/* My account */
.woocommerce-MyAccount-navigation .woocommerce-MyAccount-navigation-link a {
    text-align: center !important;
}

.woocommerce-MyAccount-content .woocommerce-orders-table .woocommerce-orders-table__cell-order-number a {
    font-family: 'Oswald';
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
}

.woocommerce-MyAccount-content a.edit {
    font-family: "Poppins" !important;
}

.woocommerce-MyAccount-content .woocommerce-orders-table__cell-order-actions {
    display: flex !important;
    gap: 5px !important;
}

/* Order details */
.woocommerce-table--order-details tfoot :is(th, td) {
    color: #000 !important;
    font-size: 16px;
}

.elementor-widget-woocommerce-my-account .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .woocommerce-MyAccount-content mark {
    font-weight: 700;
    color: #000 !important;
}

/* Country */
.woocommerce-billing-fields #billing_country_field .woocommerce-input-wrapper * {
    font-weight: 400 !important;
    font-size: 16px;
    color: #000;
}

/* Payment box */
#payment .wc_payment_methods {
    display: flex;
    flex-direction: column;
    gap: .8em;
}

#payment li .payment_box {
    background-color: #fff !important;
}


/* WP Forms */
.wpforms-container .wpforms-field {
    padding: 10px 0 !important;
}


.wpforms-field-container .wpforms-field-label {
    margin-bottom: 1em;
    font-size: 17px;
    color: #000;
    font-family: "Oswald";
    font-weight: 700 !important;
    text-transform: uppercase;
} 

.wpforms-field-container .wpforms-field-label .wpforms-required-label {
    color: var(--e-global-color-primary) !important;
}

.wpforms-field-container .wpforms-field input,
.wpforms-field-container .wpforms-field textarea {
    padding: .8em;
    max-width: 100% !important;
    color: #000;
    font-size: 16px;
    font-family: 'Poppins' !important;
    border-radius: unset;
    border: unset;
    background: #fafafa;
}

.wpforms-field-container .wpforms-field input:focus,
.wpforms-field-container .wpforms-field textarea:focus {
    outline: 1px solid var(--e-global-color-primary) !important;
}

.wpforms-field-container .wpforms-field-gdpr-checkbox ul {
    padding-left: 0;
    list-style: none;
    color: #fff;
    font-size: 1em;
}

.wpforms-container .wpforms-field-label-inline {
    color: #7f7c79;
    font-size: 15px;
    font-weight: 300 !important;
}

.wpforms-container .wpforms-required-label {
    color: #fff !important;
}


.wpforms-submit-container {
    margin-top: 1.5em;
    text-align: right;
}

.wpforms-submit-container .wpforms-submit {
    line-height: 1;
    cursor: pointer;
    border: unset;
}

.wpforms-container label.wpforms-error,
.wpforms-container em.wpforms-error {
    color: red !important;
    font-size: .7em !important;
}

.wpforms-container .wpforms-field input.wpforms-error,
.wpforms-container .wpforms-field input.user-invalid,
.wpforms-container .wpforms-field textarea.wpforms-error,
.wpforms-container .wpforms-field textarea.user-invalid,
.wpforms-container .wpforms-field select.wpforms-error,
.wpforms-container .wpforms-field select.user-invalid {
    border: 1px solid red !important;
}

.wpforms-confirmation-container {
    padding: 1em 2em !important;
    color: #000 !important;
    font-weight: 400 !important;
    border: 1px solid #eee !important;
    border-radius: unset !important;
}

.wpforms-confirmation-container p:first-of-type {
    margin-top: 0 !important;
}

.wpforms-confirmation-container p:last-of-type {
    margin-bottom: 0 !important;
}