/*
Theme Name: Candelice
Theme URI: https://dimitrifiacre.com/
Template: hello-elementor
Author: Dimitri Fiacre
Author URI: https://dimitrifiacre.com/
Version: 1.0.0.1718113826
Updated: 2024-06-11 15:50:26

*/

/* AJOUTER CLASS CUSTOM A CHAQUE BLOC ET APPELER CES CLASS DE BLOCS ICI PLUTOT QUE DE PRENDRE LES CLASS DE BASE DE WOOCOMMERCE */

#wpadminbar {
    opacity: 0.5;
}

* {
    font-family: 'Lexend', sans-serif;
}

a {
    color: var(--e-global-color-primary);
}

a:hover {
    color: var(--e-global-color-primary);
    /* text-decoration: underline!important; */
}

h1, h2, h3, h4, h5, h6 {
    font-family: "quincy-cf", Sans-serif!important;
}

.woocommerce form .form-row .required, .elementor-mark-required .elementor-field-label:after {
    color: #BF1818!important;
    font-weight: 500!important;
    padding: 0px!important;
}

.form-row label {
    font-size: 1rem!important;
}

button.alt {
    color: var(--e-global-color-text)!important;
    background-color: var(--e-global-color-primary)!important;
    border-radius: 9999px!important;
    transition: .3s ease!important;
}

button.alt:hover {
    background-color: #F78672!important;
}

button:focus, input:focus {
    outline: none!important;
}

.product-description div div div, .product-description div div div div, .product-description p {
    padding: 0!important;
    margin: 0!important;
}

.product-price .price {
    margin: 0!important;
    padding: 6px 0;
}

@media screen and (min-width: 768px) {
    .product-price .price {
        padding: 0;
    }
}

/* SELECT VARIANTS */
.product-addtocart .variations {
    margin-bottom: 1.5rem!important;
}

.product-addtocart .variations tr {
    display: flex;
    flex-direction: column;
}

.product-addtocart .variations .label {
    padding: 0;
    text-align: left;
    font-size: 1rem;
}

.product-addtocart .variations .value {
    padding: 0;
    margin-top: 6px;
}

.cta--custom .elementor-button-link, .cta--custom button {
    height: 44px!important;
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
}

input {
    height: 44px;
    padding: 12px 18px!important;
    color: var(--e-global-color-text);
    background-color: var(--e-global-color-7c01c2c);
    border: var(--e-global-color-7c01c2c)!important;
    border-radius: 100px!important;
}

input, textarea {
    font-size: 1rem!important;
    font-family: "Lexend", Sans-serif!important;
}

input::placeholder, textarea::placeholder {
    opacity: 1!important;
    color: var(--e-global-color-d4a3c1e)!important;
}

input:focus, textarea:focus {
    color: inherit!important;
}

.elementor-field-group .elementor-field-textual:focus, .input-text:focus {
    box-shadow: inset 0 0 0 1.5px #A6A6A6!important;
}

.elementor-search-form__input:focus {
    color: var(--e-global-color-411f5da)!important;
}

textarea {
    padding: 12px 18px!important;
    border-radius: 22px!important;
    min-height: 160px!important;
}

label {
    cursor: pointer;
}

select {
    height: 44px;
    width: 289.5px;
    min-width: auto!important;
    padding: 10px 18px;
    cursor: pointer;
    background-image: url("http://candelice.local/wp-content/uploads/2024/06/ChevronDown.svg");
    background-position: calc(100% - 18px);
    background-repeat: no-repeat;
    color: var(--e-global-color-text)!important;
    background-color: var(--e-global-color-7c01c2c);
    border: var(--e-global-color-7c01c2c);
    border-radius: 100px;
    -webkit-appearance: none;
    -moz-appearance: none;
}

select option:hover:before {
    background: red;
}

select:focus {
    outline: none;
}

.woocommerce-ordering select {
    width: 320px;
}

/* WOOCOMMERCE MESSAGE ALERT */
.woocommerce-message {
    border: none;
    background: #D9EFE5;
    color: #476255;
    border-radius: 8px;
    display: flex!important;
    flex-direction: column-reverse;
}

.woocommerce-message::before {
    color: #476255;
    content: "\e904";
}

.woocommerce-message a {
    background: transparent!important;
    color: #476255!important;
    padding: 1px 0!important;
    display: flex!important;
    align-items: center;
    gap: 6px;
}

.woocommerce-message a::after {
    content: "\e913";
    font-family: "icomoon" !important;
    font-size: 22px;
}

.woocommerce-error {
    border: none;
    background-color: #F4D9D9;
    color: #BF1818;
    border-radius: 8px;
}

.woocommerce-error::before {
    color: #BF1818;
    content: "\e911";
}

.woocommerce-info {
    border: none;
    background-color: var(--e-global-color-7c01c2c);
    color: var(--e-global-color-d4a3c1e);
    border-radius: 8px;
}

.woocommerce-info::before {
    color: var(--e-global-color-d4a3c1e);
    content: "\e912";
}

.woocommerce-error::before, .woocommerce-info::before, .woocommerce-message::before {
    font-family: "icomoon" !important;
    top: 0.7rem!important;
    left: 0.95em!important;
    font-size: 22px;
}

/* EN STOCK */
.product-addtocart .stock.in-stock {
    display: none;
}


/* INPUT QUANTITE */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type=number] {
  -moz-appearance: textfield;
}

.quantity {
    height: 44px;
    display: flex;
}

.quantity button {
    /* background-color: var(--e-global-color-7c01c2c)!important; */
    color: var(--e-global-color-text)!important;
    width: auto;
    padding: 12px 18px!important;
    font-size: 22px;
    line-height: 22px;
    margin: 0!important;
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
}

.quantity .minus {
    border-radius: 50px 0 0 50px!important;
}

.quantity .plus {
    border-radius: 0 50px 50px 0!important;
}

.quantity .input-text {
    width: 30px!important;
    padding: 0!important;
    border-radius: 0!important;
    font-weight: 600;
    box-shadow: none!important;
}

.product-addtocart .single_add_to_cart_button {
    height: 44px;
    width: 400px;
    display: flex!important;
    align-items: center;
    padding: 12px 18px;
    justify-content: center;
}

.product-img .flex-control-nav li img {
    opacity: 1!important;
    border-radius: 12px;
}

.product-img .woocommerce-product-gallery .flex-viewport {
    border-radius: 16px;
}

.product-img img.flex-active {
    border: 2px solid #f0725c!important;
}

.product-img .woocommerce-product-gallery__trigger {
    width: 44px!important;
    height: 44px!important;
    background: rgb(0 0 0 / 40%)!important;
}

.product-img .woocommerce-product-gallery__trigger::before {
    width: 10px!important;
    height: 10px!important;
    top: 14px!important;
    left: 14px!important;
    border-color: #fff!important;
}

.product-img .woocommerce-product-gallery__trigger::after {
    width: 2px!important;
    height: 8px!important;
    top: 24px!important;
    left: 26px!important;
    background: #fff!important;
}

.product-img .woocommerce-product-gallery {
    margin: 0!important;
}

/* MODAL IMG */
.pswp__img {
    border-radius: 16px;
}

.pswp__caption {
    display: none;
}

/* SLIDER PRODUCTS */
.slider-products .woocommerce-loop-product__buttons {
    display: none;
}

.slider-products ul.products {
    display: flex!important;
    overflow: auto;
}

.slider-products li.product.type-product {
    width: 250px !important;
    min-width: 250px;
}

@media screen and (min-width: 768px) {
    .slider-products li.product.type-product {
        width: 300px !important;
        min-width: 300px;
    }
}

/* PASSWORD INPUT */
.show-password-input {
    right: 1.125rem!important;
}

.show-password-input::after {
    font-family: "icomoon"!important;
    content: "\e90c"!important;
    font-size: 24px;
    color: var(--e-global-color-text)!important;
}

.show-password-input.display-password::after {
    content: "\e90b"!important;
}

.button.wc-backward {
    background: var(--e-global-color-10ef997)!important;
    color: var(--e-global-color-411f5da)!important;
    border-radius: 9999px!important;
    transition: .3s ease!important;
    padding: 12px 24px!important;
}

/* LOGIN PAGE */
.woocommerce form.checkout_coupon, .woocommerce form.login, .woocommerce form.register {
    border-radius: 8px !important;
    border: 1.5px solid var(--e-global-color-7c01c2c)!important;
    padding: 24px!important;
    gap: 12px;
    display: flex;
    flex-direction: column;
}

.woocommerce-form-login__submit, .woocommerce-form-register__submit {
    width: 100%!important;
}

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

.woocommerce-form__label-for-checkbox {
    display: flex!important;
    gap: 12px;
    align-items: center;
    line-height: normal!important;
    user-select: none;
}

.woocommerce-form__label-for-checkbox span {
    font-size: 1rem;
}

input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    height: 20px!important;
    width: 20px!important;
    min-width: 20px;
    border-radius: 4px !important;
    cursor: pointer;
    display: flex!important;
    justify-content: center;
    align-items: center;
    padding: 0px !important;
}

input[type="checkbox"]:active, input[type="checkbox"]:focus-visible {
    box-shadow: inset 0 0 0 1.5px #A6A6A6;
    outline: none;
}

input[type="checkbox"]:after {
    font-family: "icomoon";
    content: "\e90d";
    font-size: 20px;
    margin: 1px 0 0 1px;
    color: var(--e-global-color-411f5da)!important;
    display: none;
}

input[type="checkbox"]:checked:after {
    display: flex;
}

input[type="checkbox"]:checked:active, input[type="checkbox"]:checked:focus-visible {
    box-shadow: inset 0 0 0 1.5px var(--e-global-color-8e52d66);
    outline: none;
}

input[type="checkbox"]:checked {
    background: var(--e-global-color-primary);
}

.woocommerce-LostPassword.lost_password a {
    color: var(--e-global-color-text)!important;
    font-weight: 600;
    text-decoration: underline;
}

.woocommerce-password-strength {
    background: transparent!important;
    border-color: transparent!important;
    font-weight: 400!important;
    text-align: left;
    padding: 0px!important;
    margin-top: 12px;
}

.woocommerce-password-strength.short, .woocommerce-password-strength.bad, .stock.out-of-stock {
    color: #BF1818!important;
}

.woocommerce-password-strength.good {
    color: #DE9434;
}

.woocommerce-password-strength.strong {
    color: #476255;
}

/* FOOTER NEWSLETTER */
.elementor-message.elementor-message-danger::before {
    content: "\e911"!important;
    font-family: "icomoon" !important;
}

/* HEADING UNDERLINE */
.title--underline:after {
    content: "";
    background: url("http://candelice.local/wp-content/uploads/2024/07/underline_heading.svg") no-repeat center / cover;
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    width: 131px;
    height: 7px;
    bottom: -14px;
}

@media only screen and (max-width: 1024px) {
    .title--underline:after {
        width: 76px;
        height: 5px;
        bottom: -10px;
    }
}

p {
    line-height: 1.3rem!important;
}