:root {
    --ORANGE: #EA560C;
    --BLUE: #425c70;
}

/* background: linear-gradient(to right, #a25bdd, #4637a5); */

.acf-content {
    h2 {
        text-align: center;
    }
}

.accordeon {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 32px;
    color: white;

    .active {
        .menu-toggle {
            transform: rotate(180deg);
        }

        .text-block {
            max-height: 500px;
            transition: max-height 0.3s ease-in;
        }
    }

    .menu-toggle {
        transition: transform 0.3s ease-out;

        path {
            stroke: white;
        }
    }

    .single {
        border-radius: 8px;
        border: 1px solid #D9D9D9;
        padding: 16px;
        display: flex;
        flex-direction: column;
    }

    .spec-title {
        font-family: Prompt;
        font-size: 16px;
        font-weight: 700;
        text-transform: uppercase;
    }

    .text-block {
        transition: max-height 0.3s ease-out;
        max-height: 0;
        overflow: hidden;
        font-family: Figtree;
        font-weight: 400;
    }

    .top {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
}

.blue {
    background: linear-gradient(180deg, #6EC9E6 0%, #29BCDA 50%, #00AFCE 100%);
}

.bg-slider {
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    height: 650px;

    .align {
        display: flex;
    }

    .bg-text-orange,
    .bg-text-white {
        padding: 0 8px;
        font-family: Prompt;
        font-size: 24px;
        width: fit-content;
    }

    .bg-text-orange {
        background: var(--ORANGE, #EA560C);
        color: white;
    }

    .bg-text-white {
        background: white;
        color: var(--ORANGE, #EA560C);
    }

    .content-image {
        width: 300px;
        margin-right: auto;
        margin-left: auto;
        display: flex;
        align-items: flex-end;

        img {
            height: auto;
        }
    }

    .content-slider {
        display: flex;
        flex-direction: column-reverse;
        gap: 50px;
        justify-content: center;
    }

    .content-text {
        display: flex;
        flex-direction: column;
        width: fit-content;
        gap: 32px;
        max-width: 500px;
        margin: auto;
        padding-top: 2rem;
    }

    img {
        max-width: 100%;
    }

    .space-text {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }
}

.btn-custom-orange,
.woocommerce button[type=submit] {
    border-radius: 8px !important;
    background: var(--ORANGE, #EA560C) !important;
    padding: 12px 16px !important;
    width: 100%;
}

.category-post {
    border-radius: 8px;
    padding: 24px;
    background-color: white;
    color: var(--BLUE);
    width: 185px;

    a {
        color: var(--BLUE);
    }

    p {
        font-weight: bold;
        text-align: center;
        font-size: 20px;
        font-family: Prompt;
    }

    ul {
        list-style: none;
        padding: 0;
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin-top: 24px;

    }
}

.flex-radio {
    display: flex;
    align-items: center;
    gap: 24px;
    margin: 14px 0;

    .checked {
        background-color: var(--ORANGE, #EA560C);
        color: white;
        font-weight: bold !important;
    }

    .custom-radio {
        padding: 12px 20px;
        border: 1px solid var(--ORANGE, #EA560C);
        border-radius: 20px;
        font-family: Figtree;
        font-size: 16px;
        font-weight: 400;
        display: flex;
        align-items: center;
        cursor: pointer;
    }
}

.font-bold {
    font-weight: bold;
}

.grid-form, .grid-contact {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 40px;

    label {
        font-family: Figtree;
        font-size: 16px;
        font-weight: 400;
        color: #405d6e;
        margin-bottom: 12px;
    }

    textarea {
        width: 100%;
        border: none;
        padding: 8px;
        margin-top: 6px;
        height: 100px;
    }
}

.green {
    background: linear-gradient(180deg, #ADD570 0%, #A5D05F 50%, #9CCB50 100%);
}

.grid-posts {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 60px;
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;

    .excerpt-post {
        font-weight: 400;
        font-size: 16px;
        color: white;
    }

    .title-post {
        font-family: Prompt;
        font-weight: 700;
        font-size: 24px;
        color: white;
        margin-top: 16px;
        margin-bottom: 8px;
    }

    img {
        max-width: 100%;
    }
}

.h-full {
    height: 100%;
}

.hidden,
button[name='update_cart'] {
    display: none !important;
}

.account {
    .woocommerce {
        display: flex;
        justify-content: center;
        flex-direction: column;
        flex-wrap: wrap;

        &::after,
        &::before {
            content: none !important;
        }

        .woocommerce-notices-wrapper {
            width: 75%;
        }
    }

    .wc-block-components-notice-banner {

        &.is-error {

            p,
            strong {
                color: black !important;
            }
        }
    }

    .woocommerce-EditAccountForm fieldset legend {
        position: static !important;
    }

    .woocommerce-MyAccount-content {
        a {
            color: var(--ORANGE);
        }

        address,
        strong {
            color: white !important;
        }

        p:not([class]):first-child {
            background-color: var(--ORANGE);
        }

        >p:first-of-type {
            background-color: var(--ORANGE);
            padding: 1rem;
            border-radius: 4px;
            margin-bottom: 2rem;

            a {
                color: white;
                float: right;
            }
        }

        .wc-block-components-notice-banner {
            &.is-info {
                background-color: var(--ORANGE);
                color: white;
                padding: 1rem !important;
                border-radius: 4px;
                border: none !important;
            }

            a {
                color: white !important;
            }
        }

        .woocommerce-Addresses {
            display: flex;
            flex-direction: column;
            gap: 1rem;
            margin-top: 16px;

            &::after,
            &::before {
                content: none !important;
            }
        }
    }

    .woocommerce-MyAccount-navigation {
        li {
            padding: 1rem !important;
        }
    }
}



.purple {
    background: linear-gradient(180deg, #8670AE 0%, #7961A4 50%, #6C529C 100%);
}

.return-to-shop {
    width: 100%;

    .wc-backward {
        background-color: var(--ORANGE, #EA560C) !important;
        color: white !important;
        border-radius: 8px !important;
        padding: 12px 16px !important;
        text-align: center !important;
        border-radius: 4px;
        width: 200px;
        border: none;
        cursor: pointer;
        transition-duration: 300ms;

        &:hover {
            background-color: white;
            color: var(--ORANGE, #EA560C);
        }
    }
}

.splide {
    border-bottom: 28px solid #EA560C;
}

.splide__pagination {
    gap: 10px;
    bottom: 16px !important;
}

.splide__pagination__page.is-active {
    background: white !important;
    transform: none !important;
}

.splide__pagination__page,
.splide__pagination__page.is-active {
    width: 16px !important;
    height: 16px !important;
    margin: 0 !important;
    opacity: 1 !important;
}

.splide__pagination__page {
    border: 3px solid white !important;
    background: transparent !important;
}

.strange-category-post {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 20px;
    list-style: none;
    padding: 0;

    li {
        border: 1px solid white;
        padding: 32px 20px;
        transition-duration: 300ms;
        color: white;

        &:hover {
            transform: scale(1.05);
        }


        a {
            color: white;
        }

        h3 {
            margin-top: 16px;
            margin-bottom: 8px;
        }
    }
}

.strange-container {
    width: 100%;
}

.strange-scroll {
    display: none;
}

.sub-menu {
    padding-left: 16px;
}

.variations {
    width: 100%;

    .label {
        text-align: left;

        label {
            font-size: 16px;
            font-weight: 400;
            font-family: Figtree;
            color: white;
        }
    }

    .pa_pack {
        margin-top: 1rem;
        margin-bottom: 2rem !important;
    }
}

.woocommerce-checkout-payment p {
    font-size: 16px;
    font-weight: 400;
    color: white !important;
}

form.single-cart {
    display: flex;
    margin-top: 2rem;
    gap: 1rem;

    input {
        margin-right: 0 !important;
        width: 20px !important;
    }

    label {
        color: white !important;
    }

    .single_add_to_cart_button {
        align-items: center;
        max-width: 300px;
    }
}

form.woocommerce-checkout {
    .col-1 {
        width: 100% !important;
    }

    .col2-set {
        flex-direction: column;
        width: 100% !important;
    }

    button.button {
        margin-top: 1rem;
    }
}

.woocommerce-form-coupon-toggle {
    .showcoupon {
        color: var(--ORANGE);
    }
}

.woocommerce form.woocommerce-ResetPassword.lost_reset_password {
    background: transparent !important;
}



.woocommerce-page .oxy-woo-cart table.cart td.actions .coupon {
    flex-direction: column;

    .button {
        color: white;
        border-radius: 4px !important;
    }

    .input-text {
        width: 100% !important;
        margin-bottom: 12px;
    }
}

.woocommerce-product-details__short-description p,
.woocommerce table.shop_table td,
.checkout_coupon p {
    color: white !important;
}

.woocommerce button[type=submit],
.woocommerce-product-gallery__wrapper {
    border: none !important;
}

.woocommerce table.shop_table,
.col2-set,
.woocommerce-EditAccountForm,
.woocommerce form.login,
.woocommerce form.woocommerce-ResetPassword.lost_reset_password,
.woocommerce-form-coupon,
.woocommerce .woocommerce-address-fields {
    border-top: 1px solid white !important;
}

.checkout_coupon {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    gap: 1rem;

    button {
        color: white !important;
        align-items: center;
    }

    .form-row {
        width: 100% !important;
        float: none;
        margin: 0 !important;
    }
}

.woocommerce-page table.cart .product-thumbnail {
    display: block !important;
    padding: 12px 20px !important;
    width: 100%;

    &::before {
        content: none !important;
    }
}

.woocommerce-form a {
    color: var(--ORANGE) !important;
}

.product_price .woocommerce-Price-amount {
    color: white !important;
    font-family: "Prompt";
    font-size: 48px !important;
}

.wpcf7 input {
    width: 100%;
    border: none;
    padding: 8px;
    margin-top: 6px;
}

.wpcf7-submit {
    background-color: var(--ORANGE, #EA560C);
    color: white;
    border-radius: 10px;
    padding: 16px !important;
    /* box shadow black avec opacité à 30% */
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.3);
    text-align: center;
    cursor: pointer;
    transition-duration: 300ms;

    &:hover {
        background-color: white;
        color: var(--ORANGE, #EA560C);
    }
}

.custom-class-no-pack,
.custom-class-none,
.reset_variations,
.woocommerce-variation {
    display: none !important;
}

@media (min-width: 640px) {
    .strange-container {
        max-width: 640px;
    }
}

@media (min-width: 768px) {

    .account {
        .woocommerce {
            flex-direction: row;
        }

        .woocommerce-MyAccount-content {
            width: 64% !important;

            .woocommerce-Addresses {
                flex-direction: row;
            }
        }

        .woocommerce-MyAccount-navigation {
            width: 33% !important;
            margin-right: 2rem;
        }
    }

    .bg-slider {
        height: auto;

        .content-image {
            margin: 0;
        }

        .content-slider {
            flex-direction: row;
        }

        .content-text {
            padding: 2rem 0;
            margin: 0;
        }
    }

    .cart .woocommerce {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;

        .cart-collaterals {
            width: 30% !important;

            .cart_totals {
                width: 100% !important;
                float: none !important;
            }
        }

        .woocommerce-cart-form {
            width: 66.66% !important;
        }

        .woocommerce-notices-wrapper {
            width: 100%;
        }
    }

    .checkout_coupon {
        flex-direction: row;

        .form-row {
            width: 47% !important;
        }

        p:first-child {
            width: 100%;
        }
    }

    .grid-form, .grid-contact {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px;
    }

    .grid-form {
        div:last-child {
            grid-column: span 2 / span 2;
        }
    }

    .grid-contact {
        div:nth-last-child(-n+2) {
            grid-column: span 2 / span 2;
        }
    }

    .grid-posts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-top: 28px;
    }

    .strange-category-post {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .strange-container {
        max-width: 768px;
    }

    .strange-scroll-code {
        position: relative;
        display: flex;
        flex-direction: column;
        z-index: 100;
        width: 300px;
        position: fixed;
        right: 2rem;
        bottom: 2rem;
        transition: opacity 0.3s ease-out, visibility 0.3s ease-out;

        &.hide {
            opacity: 0;
            visibility: hidden;
        }

        &.collapsed {
            .arrow-opening {
                bottom: 0px;
                right: 0px;
                top: auto;
                left: auto;
                width: 40px;
            }

            .strange-scroll {
                opacity: 0;
                visibility: hidden;
            }
        }

        .arrow-opening {
            transition-duration: 300ms;
            width: 24px;
            position: absolute;
            top: -10px;
            left: -10px;
            background-color: var(--ORANGE, #EA560C);
            border-radius: 9999px;
            color: white;
            padding: 4px;
            cursor: pointer;
            transition: all 0.3s ease;
            z-index: 1000;
        }

        .strange-scroll {
            background-color: white;
            border-radius: 10px;
            padding: 20px 24px;
            display: flex;
            flex-direction: column;
            gap: 10px;
            width: 300px;
            box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.3);
            text-align: center;
            transition: all 0.3s ease;

            a {
                background-color: var(--ORANGE, #EA560C);
                color: white;
                padding: 10px 16px;
                border-radius: 10px;
                font-size: 20px;
                font-weight: 500;
                box-shadow: 10px 10px 0px #dedcdb;
                width: 100%;
                display: flex;
                align-items: center;
                justify-content: space-between;

                &::after {
                    content: url('data:image/svg+xml,<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg"><rect width="20" height="20" rx="10" fill="white"/><path fill-rule="evenodd" clip-rule="evenodd" d="M16.3538 9.64663C16.4474 9.74038 16.5 9.86746 16.5 9.99996C16.5 10.1325 16.4474 10.2595 16.3538 10.3533L11.6958 15.02C11.6497 15.0677 11.5945 15.1059 11.5335 15.1321C11.4725 15.1583 11.4069 15.1721 11.3405 15.1728C11.2742 15.1734 11.2083 15.1607 11.1469 15.1356C11.0854 15.1105 11.0295 15.0734 10.9826 15.0265C10.9356 14.9796 10.8985 14.9238 10.8733 14.8623C10.8481 14.8009 10.8354 14.7351 10.836 14.6687C10.8365 14.6023 10.8503 14.5367 10.8765 14.4756C10.9026 14.4146 10.9407 14.3594 10.9884 14.3133L14.7938 10.5006L4.00044 10.508C3.86783 10.5081 3.74059 10.4556 3.64669 10.362C3.5528 10.2683 3.49995 10.1412 3.49977 10.0086C3.4996 9.87602 3.55211 9.74877 3.64575 9.65488C3.73939 9.56098 3.8665 9.50814 3.99911 9.50796L14.7951 9.50129L10.9878 5.68663C10.94 5.64048 10.902 5.58529 10.8758 5.52428C10.8496 5.46326 10.8359 5.39765 10.8353 5.33126C10.8348 5.26487 10.8475 5.19903 10.8726 5.1376C10.8978 5.07616 10.9349 5.02035 10.9819 4.97343C11.0289 4.9265 11.0847 4.8894 11.1462 4.86429C11.2076 4.83918 11.2735 4.82656 11.3399 4.82717C11.4063 4.82778 11.4719 4.8416 11.5329 4.86783C11.5939 4.89407 11.649 4.93218 11.6951 4.97996L16.3538 9.64663Z" fill="%23EA560C"/></svg>');
                    display: block;
                    width: 20px;
                    height: 20px;
                }
            }

            p {
                font-weight: 800;
                font-size: 18px;
                color: #425c70;
            }
        }
    }
}

@media (min-width: 1024px) {
    .bg-slider {

        .bg-text-orange,
        .bg-text-white {
            font-size: 28px;
        }

        .content-image {
            width: 350px;
        }

        .content-text {
            padding: 3rem 0;
        }
    }

    .category-post {
        width: 225px;
    }

    .strange-category-post {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .strange-container {
        max-width: 1024px;
    }

    form.woocommerce-checkout {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;

        .final-checkout {
            width: 40%;

            .sticky {
                position: sticky;
                top: 200px;
            }

            table.shop_table {
                width: 100%;
            }
        }

        .col2-set {
            width: 55% !important;

            .col-2 {
                float: none;
                width: auto !important;
            }
        }

        .woocommerce-NoticeGroup-checkout {
            width: 100%;
        }
    }
}

@media (min-width: 1280px) {
    .bg-slider {
        height: 550px;

        .content-image {
            width: auto;
        }

        .content-text {
            padding: 4rem 0;
        }
    }

    .grid-posts {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .strange-category-post {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .strange-container {
        max-width: 1280px;
    }

    .splide__pagination {
        bottom: 24px !important;
    }

    .splide__pagination__page,
    .splide__pagination__page.is-active {
        width: 24px !important;
        height: 24px !important;
    }

    .woocommerce-page .oxy-woo-cart table.cart td.actions .coupon {
        flex-direction: row;

        .input-text {
            margin-bottom: 0px;
        }
    }
}

@media (min-width: 1536px) {
    .bg-slider {

        .bg-text-orange,
        .bg-text-white {
            font-size: 36px;
        }

        .content-text {
            padding: 5rem 0;
        }
    }

    /* .strange-container {
        max-width: 1536px;
    } */
}