/**
 * 2024 DMConcept
 *
 * NOTICE OF LICENSE
 *
 * This file is licenced under the Software License Agreement.
 * With the purchase or the installation of the software in your application
 * you accept the licence agreement
 *
 * @author    DMConcept <support@dmconcept.fr>
 * @copyright 2024 DMConcept
 * @license   Commercial license (You can not resell or redistribute this software.)
 *
 */

:root {
    --reuz-text: #1f1f1f;
    --reuz-muted: #6a6a6a;
    --reuz-border: #e3e3e3;
    --reuz-accent: #1e884b;
    --reuz-pill-bg: #fff1e6;
    --reuz-pill-text: #f0832a;
    --reuz-bg-dark: #000000;
    --cyup-bg-choice: #212529;
    --cyup-primary-main: #1f1f1f;
}

body {
    font-family: Montserrat, sans-serif;
}


#product:not(.update-cyup-cart) #configurator .cyup--addCart__button:not(.add-to-quote) {
    display: none;
}

#configurator-loader-container {
    overflow-x: hidden;
}

#configurator-loader-wrapper {
    height: 300px;
    width: 100%;
    display: grid;
    place-items: center;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 2px 2px 10px 0 #bfc6cc;
    margin-block-end: 20px;
    padding: 0 0 10px;
}

#configurator-loader-inside-wrapper {
    color: #566ffb;
    font-size: 1.3rem;
    line-height: 1.8rem;
    text-align: center;
}

#configurator-loader {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: inline-block;
    border-top: 5px solid #222542;
    border-right: 5px solid transparent;
    box-sizing: border-box;
    animation: configurator-loader-rotation 1s linear infinite;
}

#configurator-loader::after {
    content: '';
    box-sizing: border-box;
    position: absolute;
    left: 0;
    top: 0;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border-left: 5px solid #566ffb;
    border-bottom: 5px solid transparent;
    animation: configurator-loader-rotation 0.5s linear infinite reverse;
}

#configurator-loader.mini {
    width: 32px;
    height: 32px;
}

#configurator-loader.mini::after {
    width: 32px;
    height: 32px;
}

@keyframes configurator-loader-rotation {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

#configurator.no-prices .cyup--cart__info__total,
#configurator.no-prices .cyup--displayPrice,
body:not(.update-cyup-cart) #configurator.no-prices .cyup--addCart__button:not(.add-to-quote) {
    display: none;
}

#configurator.no-prices .cyup--addCart__button.add-to-quote {
    margin-top: 0 !important;
}

#configurator .tabNav {
    display: none;
}

/*
 * Override Cyup CSS
 */
#product.layout-content-only #wrapper>.container:first-child {
    display: none;
}

#product.layout-content-only #inner-wrapper {
    padding: unset;
    margin: unset;
}

#configurator {
    background-color: unset;
    font-family: "Barlow", sans-serif;
}

.cyup--app {
    gap: 24px;
    background-color: white;
    height: 100vh;
}

.cyup--app.compact {
    gap: 24px;
    background-color: white;
    height: 89vh;
    flex-direction: row;
}

.reuz-bg-dark {
    background-color: var(--reuz-bg-dark);
}

.modal .modal-dialog {
    max-width: 56rem;
    max-height: 93vh;
}

/* Header noir */
.modal .modal-header {
    color: #fff;
}

.modal .modal-content .modal-p {
    color: #ffffffb3 !important;
    font-size: 0.75rem;
    line-height: 1rem;
}

.modal .modal-header h3 {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.75rem;
    margin: 0 0 4px;
    padding: 10px 0 0;
}

/* Bouton close blanc */
.modal .btn-close {
    border-radius: 0;
    position: absolute;
    right: 15px;
    top: 15px;
}

/* Espacement général */
.modal .modal-content {
    background-color: #2d3748;
    border: none;
    height: 100%;
    overflow-y: auto;
}

.cyup--configurator__content {
    min-width: 0;
}

.cyup--step {
    width: 100%;
    margin: 0 0 10px 0;
    text-align: left;
}

.cyup--step__header {
    justify-content: flex-start;
}

.cyup--step__header .cyup--displayPrice {
    display: none;
}

.cyup--step__header__infos {
    border-left: 6px solid #c9151b;
    padding-left: 10px;
    border-radius: 0;
}

.cyup--step__header__decorative {
    display: none;
}

.cyup--entry__details-info {
    margin: 0;
    padding: 0;
}

.cyup--entry__title,
.cyup--entry__details-info p {
    padding: 10px 0px;
    font-size: 14px;
    color: #000000;
    font-family: "Open Sans", sans-serif;
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
}

.cyup--step__header__infos__title {
    font-size: 1.25rem;
    font-weight: 800;
    text-transform: none;
}

.cyup--step__header__infos span:last-child,
.cyup--entry>span {
    display: none;
}

.cyup--entry {
    margin-bottom: 12px;
    padding: 0 1.5rem;
}

.cyup--entry__details-info h5 {
    text-align: center;
    color: black;
    padding: 5px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-top: 13px;
}

/* 2 per line for product cards */
.options-wrapper:has(.cyup--option__image) {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.cyup--option__image {
    width: 95%;
    margin: 0 auto;
}

.choice .options-wrapper:has(.cyup--option__image) {
    display: flex;
    justify-content: center;
}

.choice .cyup--option__image__title {
    font-weight: 600;
    color: #000000;
    font-size: 16px !important;
    font-family: "Open Sans", sans-serif;
}

.choice .cyup--option {
    width: 24%;
}

.cyup--entry__input {
    border-radius: 0;
}

.choice-visu .cyup--option {
    padding: 18px;
    border: solid 2px var(--reuz-border);
}

.choice-visu .cyup--option:hover {
    border-color: var(--cyup-bg-choice);
}

.choice-visu .cyup--option:has(input[type="radio"]:checked) {
    border-color: var(--cyup-bg-choice);
}

.cyup--option__radio__input {
    cursor: pointer;
}

.cyup--dropbox__input {
    border-radius: 0;
    background-color: #e3e3e35d;
}

.options-wrapper {
    gap: 10px;
}

.cyup--dropbox__fileUpload:hover {
    background-color: var(--cyup-bg-choice);
}

.cyup--option__image__label {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 18px;
    background-color: #ffffff;
    border: 2px solid var(--reuz-border);
    padding: 16px 49px 16px 16px;
    min-height: 120px;
    height: 100%;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02);
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.cyup--option__image__label:hover {
    border-color: var(--cyup-bg-choice);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.cyup--option__image__label::after {
    content: "";
    position: absolute;
    top: 16px;
    right: 16px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid #d0d0d0;
    background: #ffffff;
    box-sizing: border-box;
}

.cyup--option__image__label::before {
    content: "";
    position: absolute;
    top: 16px;
    right: 16px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}

.cyup--option__image__label:has(.checked)::after {
    border-color: var(--cyup-bg-choice);
    background: var(--cyup-bg-choice);
}

.wrapper_modal h2,
.cyup--variant-modal__product-subtitle {
    display: none;
}

.choice .cyup--option__image__label:has(.checked)::before,
.choice .cyup--option__image__label::after {
    display: none;
}

.cyup--option__image__label:has(.checked)::before {
    background-color: transparent;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 16px 16px;
}

.cyup--variant-modal__submit {
    font-size: 0 !important;
}

.cyup--variant-modal__submit::before {
    content: "Valider la sélection";
    font-size: 1rem;
}

.logo-ecocup {
    max-width: 200px;
    width: 100%;
}

.container-img {
    margin-top: 5px;
    padding: 5px;
}

.cyup--option__image__label:has(.checked) {
    border-color: var(--cyup-bg-choice);
}

.choice .cyup--option__image__illustration {
    width: 60px;
    height: 60px;
    background: #f6f6f6;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.choice .cyup--option__image__picture {
    width: 85%;
    height: 90%;
}

.cyup--option__image__picture {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border: 0;
    border-radius: 0;
}

.cyup--option__image__illustration.checked .cyup--option__image__picture {
    border: 0;
}

.cyup--option__image__marked,
.cyup--zoom {
    display: none;
}

.cyup--option__image__description {
    align-items: flex-start;
    text-align: left;
    max-width: none;
    color: var(--reuz-muted);
    display: flex;
    flex-wrap: wrap;
}

.cyup--tab {
    min-height: 70vh;
    max-height: 70vh;
    overflow: auto;
}

/* Container des boutons */
.cyup--tab__control {
    display: flex;
    gap: 0;
    width: 99%;
    position: absolute;
    bottom: 0 !important;
    padding: 15px;
    justify-content: flex-start;
}

/* Reset et base commune */
.cyup--tab__control button {
    flex: 1;
    padding: 30px 0px;
    font-size: 0;
    font-weight: 600;
    border: 2px solid #000;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Bouton Précédent */
.cyup--tab__control__previous {
    background: #f5f5f5 !important;
    color: #000 !important;
    border-right-width: 1px;
    border-color: var(--reuz-border) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0 !important;
}

.cyup--tab__control__previous::before {
    content: "\2192";
    font-size: 18px;
    margin-right: 8px;
    display: inline-block;
    transform: rotate(180deg);
}

.cyup--tab__control__previous::after {
    content: "Retour";
    font-size: 18px;font-weight: 500 !important;text-transform: none;
}

/* Bouton Suivant/Continuer */
.cyup--tab__control__next {
    background: linear-gradient(to right, #28af60 50%, #000 50%);
    background-size: 200% 100%;
    background-position: right;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0 !important;
    transition: background-position 0.4s ease;
    border: 0 !important;
}
/*
.cyup--addCart__button, .cyup--tab__control__next, .cyup--tab__control__previous{font-size: 18px !important;font-weight:500 !important;}
.cyup--addCart__button::first-letter, .cyup--tab__control__next::first-letter{text-transform:uppercase;}*/

.cyup--tab__control__next:hover {
    background-position: left;
}


.cyup--tab__control__next::before {
    content: "Continuer";
    font-size: 18px;font-weight: 500;text-transform: none;
}

.cyup--tab__control__next::after {
    content: "\2192";
    font-size: 18px;
    margin-left: 8px;font-weight: 500 !important;text-transform: none;
}

/* Bouton désactivé */
.cyup--tab__control__next:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #ccc !important;
    border-color: #ccc !important;
}

.cyup--tab__control__next:disabled::before,
.cyup--tab__control__next:disabled::after {
    color: #666;
}

.cyup--tab__control__next:disabled:hover {
    background: #ccc !important;
}

.cyup--tab__control button:only-child {
    border-right-width: 2px;
}

body:has(.tabNav .tabName:last-child.selected) .cyup--tab__control__previous:only-child {
    flex: 0 0 50%;
}

.cyup--option__radio__label {
    cursor: pointer;
}

.cyup--option__radio__label.checked {
    color: var(--cyup-bg-choice);
}

.cyup--option__image__description .cyup--option__image__title {
    order: 1;
    width: 90%;
}

.cyup--option__variant__description-text {
    color: rgb(107 114 128);
    font-size: 12px;
    font-family: "Open Sans", sans-serif;
    margin: 8px 0 0;
}

.cyup--option__image__description .cyup--option__variant__description-text,
.cyup--option__image__description .cyup--option__image__description-text {
    order: 3;
}

.cyup--option__image__description .cyup--quantity {
    order: 2;
}

.cyup--option__image__description>span {
    order: 4;
}

.cyup--option__image__description {
    min-height: 96px;
}

.cyup--option__image__title {
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    letter-spacing: 0;
    color: #1a1a1a;
    margin: 0 0 4px;
}

.modal-content,
.modal-header {
    border-radius: 0;
}

#configurator .wrapper_modal {
    background-color: #ffffff;
    border-radius: 0px;
    padding: 22px 22px 16px 22px;
    /*max-width: 600px;*/
    /* 03/03/2026 */
    min-width: 95%;
    width: min(92vw, 720px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    margin: 0 !important;
    font-family: "Montserrat", sans-serif;
    z-index: 10000;
}

#help-modal-wrapper {
    position: fixed;
    inset: 0;
    align-items: center;
    justify-content: center;
    display: flex;
    margin: 0;
    transform: none;
}

#configurator .wrapper_modal_xclosebtn {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    background: transparent;
    color: #1f1f1f;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    outline: var(--cyup-bg-choice);
}

.cyup--variant-modal {
    display: flex;
    flex-direction: column;
    gap: 14px;
    font-size: 14px;
}

.cyup--variant-modal__title {
    font-size: 1.35rem;
    font-weight: 700;
    margin: 0;
}

.cyup--variant-modal__product-title {
    font-size: 1.25rem;
    font-weight: 700;
    text-align: center;
    position: relative;
    top: -6px;
    padding: 0 25px;
    font-family: "Open Sans", sans-serif;
}

.cyup--variant-modal__product-subtitle {
    color: var(--reuz-muted);
    font-size: 0.95rem;
    text-align: center;
    margin: 0 0 4px 0;
}

.cyup--variant-modal__group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cyup--variant-modal__group-title {
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin: 0 0 5px;

}

.cyup--variant-modal__group-count {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--reuz-muted);
    text-transform: none;
    display: none;
}

.cyup--dropbox label {
    width: 100%;
}

.cyup--variant-modal__group-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    border-radius: 0;
}

.cyup--variant-modal__option.is-selected,
.cyup--variant-modal__option {
    border-radius: 0;
}

.cyup--variant-modal__option:hover,
.cyup--entry__input:focus-within {
    border-color: var(--cyup-bg-choice);
}

.cyup--option__radio__label input[type="radio"]:checked {
    border-color: var(--cyup-bg-choice);
    background-color: var(--cyup-bg-choice);
}

.cyup--variant-modal__option {
    border: 1.5px solid #e3e3e3;
    padding: 10px 16px;
    background: #ffffff;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
}

.cyup--variant-modal__option.is-selected {
    background: var(--cyup-bg-choice);
    border-color: var(--cyup-bg-choice);
    color: #ffffff;
}

.cyup--variant-modal__option--image {
    padding: 0px;
    width: 48px;
    height: 48px;
    border: 1px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cyup--variant-modal__option-thumb {
    border-radius: 50%;
    border: 1.5px solid #d6d6d6;
    display: inline-block;
}

.cyup--variant-modal__option--image.is-selected {
    background: #ffffff;
    border-color: #d6d6d6;
}

.cyup--variant-modal__option--image.is-selected .cyup--variant-modal__option-thumb {
    border-color: var(--cyup-bg-choice);
}

.choice .cyup--option__image__illustration.checked .cyup--option__image__marked {
    top: 90px;
    left: 88px;
}

.cyup--option__image__illustration.checked .cyup--option__image__marked {
    background-color: var(--cyup-bg-choice);
    display: none;
}

.cyup--tab__control button {
    background-color: var(--cyup-bg-choice);
}

.cyup--variant-modal__submit {
    margin-top: 6px;
    background: var(--cyup-bg-choice);
    border: none;
    border-radius: 0;
    padding: 14px;
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cyup--variant-modal__submit:hover {
    background: color-mix(in srgb, var(--cyup-bg-choice) 90%, #000);
}

.cyup--variant-modal__hint {
    text-align: center;
    color: var(--reuz-muted);
    font-size: 0.9rem;
}

.debug {
    display: none;
}

@media (max-width: 900px) {
    .options-wrapper:has(.cyup--option__image) {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .tabNav ol {
        width: 80% !important;
    }

    .cyup--entry__details-search {
        max-width: 100%;
    }
}

.cyup--option__image .cyup--quantity {
    margin: 0;
}

.cyup--option__image__illustration .cyup--displayPrice {
    bottom: -30px;
}

span.cyup--displayPrice__sign {
    font-size: 10px;
}

span.cyup--displayPrice__value {
    font-size: 12px;
}

/*
.cyup--entry__details-tags {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 1.25rem;
}


.cyup--entry__details-tag {
    width: 40px;
    height: 40px;
    border-radius: 50%;

    cursor: pointer;
    border: 1px solid #e3e3e3;
    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 0;
    line-height: 0;

    position: relative;

    transition:
        background-color 0.2s ease,
        transform 0.15s ease;
}*/

.cyup--help_btn,
.cyup--displayPrice.contained,
.cyup--dropbox__fileUpload,
.cyup_description_icon {
    background-color: var(--cyup-bg-choice);
}

.cyup--help {
    display: none;
}

.cyup--cart.detailed {
    display: none;
}

/*
.cyup--entry__details-tag.is-active,
.cyup--entry__details-tag:hover {
    border-color: var(--cyup-bg-choice);
}

.cyup--entry__details-tag.is-active:hover {
    background-color: #000 !important;
}

.cyup--entry__details-tag:hover {
    background-color: white !important;
}


.cyup--entry__details-tag.is-active {
    background-color: #000000;
}


.cyup--entry__details-tag::before {
    content: "";
    width: 18px;
    height: 18px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    filter: grayscale(100%) brightness(0.4);
    background-image: url("img/all.svg");
}


.cyup--entry__details-tag.tag-ecocup::before {
    background-image: url("img/ecocup.svg");
}

.cyup--entry__details-tag.tag-gobelet-rutilisable::before {
    background-image: url("img/goblet.svg");
}


.cyup--entry__details-tag.is-active::before {
    filter: brightness(0) invert(1);
}


.cyup--entry__details-tag:not(.is-active):hover {
    background-color: #e6e6e6;
}


.cyup--entry__details-tag::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%) translateY(4px);

    background: #ffffff;
    color: #1a1a1a;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    z-index: 10;

    padding: 10px 10px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);

    opacity: 0;
    pointer-events: none;

    transition:
        opacity 0.15s ease,
        transform 0.15s ease;
}


.cyup--entry__details-tag:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}
*/

.cyup--entry__details-tag--recap::before {
    content: "";
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    background: url("./devis.svg") no-repeat center / contain;
}

.cyup--entry__details-tag--recap {
    margin-right: 25px;
}

.cyup--cart__info {
    padding: 0;
    flex-direction: row;
    width: 100%;
    box-sizing: border-box;
}

.cyup--cart__info .cyup--addCart {
    flex: 1;
}

.tabNav:has(li.tabName:last-child.selected)~* .cyup--cart.compact,
body:has(.tabNav li.tabName:last-child.selected) .cyup--cart.compact {
    display: block;
    position: absolute;
    padding: 0;
    border: 0;
    bottom: 20px;
    right: 0px;
    border-radius: 0;
    box-shadow: none;
    width: 48%;
}

.cyup--addCart__button {
    background-color: #000000;
    width: 94%;
    padding: 31px;
    border-radius: 0;
    display: flex;
    justify-content: center;
}

.cyup--addCart__button:hover {
    background-color: #28af60;
}

.cyup--cart.compact {
    position: absolute;
    display: none;
}

body:has(.tabNav li.tabName:last-child.selected) .cyup--cart__items,
body:has(.tabNav li.tabName:last-child.selected) .cyup--cart__info__title,
body:has(.tabNav li.tabName:last-child.selected) .cyup--cart__info__total,
body:has(.tabNav li.tabName:last-child.selected) .cyup--cart__info__recapBtn {
    display: none !important;
}

.choice .cyup--option__image__label {
    flex-direction: column;
    align-items: center;
    padding: 18px;
    justify-content: space-evenly;
}

.choice .cyup--option__image__description {
    padding: 0;
    min-height: 0;
}

.modal-body {
    padding: 0;
    background-color: white;
}

.tabName {
    background-color: inherit;
    color: var(--cyup-bg-choice);
}

.tabName:first-child,
.tabNav ol .tabName:first-child,
.tabNav ol .tabName:last-child {
    border-radius: 0;
}

.tabName:not(.selected) {
    background-color: inherit;
    color: #333;
}

.tabNav ol .tabName+.tabName {
    border-left: 0 !important;
}

.tabNav {
    padding: 0;
    border-bottom: 1px solid var(--reuz-border, #e3e3e3);
}

.cyup_description_content p {
    margin: 0;
}

.modal-header .btn-close {
    margin: 0;
    background-color: white !important;
    opacity: initial;
    font-size: small;
    padding: 13px;
}

/* ── Reset de la liste ── */
.tabNav ol {
    list-style: none;
    margin: 0 auto;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    counter-reset: step;
    width: 46%;
}

/* ── Chaque étape (thème clair : fond clair, texte/cercles foncés) ── */
.tabNav .tabName {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    position: relative;
    color: rgba(0, 0, 0, 0.45);
    font-size: 12px;
    font-family: sans-serif;
    counter-increment: step;
    min-width: 80px;
}

/* ── Ligne entre les étapes ── */
.tabNav .tabName+.tabName::before {
    content: "";
    position: absolute;
    top: 40px;
    right: calc(50% + 35px);
    left: calc(-50% + 35px);
    height: 2px;
    background-color: #d0d0d0;
    z-index: 0;
}

/* ── Cercle + numéro ── */
.tabNav .tabName::after {
    content: counter(step);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 99999px;
    border: 2px solid #c4c4c4;
    background-color: #fff;
    color: #555;
    font-size: 14px;
    font-weight: 600;
    order: -1;
    position: relative;
    z-index: 1;
}

.tabNav .tabName.selected {
    color: #111;
    font-weight: 600;
}

.tabNav .tabName.selected::after {
    background-color: var(--cyup-bg-choice);
    border-color: var(--cyup-bg-choice);
    color: #fff;
}

.tabNav .tabName.done+.tabName::before {
    background-color: #b8b8b8;
}

.tabNav .tabName:has(~ .tabName.selected)::after {
    content: "✓";
    background-color: var(--cyup-bg-choice);
    border-color: var(--cyup-bg-choice);
    color: #fff;
}

.cyup--entry__input {
    display: inline-block;
    width: 100%;
}

.cyup--entry__input_field[type="date"] {
    width: 100%;
    padding: 9px 12px 10px 40px;
    font-size: 14px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #9ca3af;
    background-color: #fff;
    cursor: pointer;
    height: 100%;
}

.cyup--entry__input_field[type="date"]:hover {
    background-color: #ff9500;
    color: white !important;
}

.cyup--entry__input:hover {
    border-color: var(--cyup-bg-choice);
}

.cyup--entry__input_field[type="date"]::-webkit-calendar-picker-indicator {
    position: absolute;
    background: none;
    cursor: pointer;
    opacity: 0.5;
    left: 0;
}

.cyup--entry__date .cyup--entry__input:after {
    left:12px;
}

/* Firefox */
.cyup--entry__input_field[type="date"]::-moz-calendar-picker-indicator {
    position: absolute;
    left: 12px;
    cursor: pointer;
    opacity: 0.5;
}

.cyup--entry__input_field[type="date"]:valid {
    color: #374151;
}

.cyup--entry__input_field[type="date"]:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.cyup--variant-modal__quantity {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
}

.cyup--variant-modal__quantity-label {
    font-size: 14px;
    font-weight: 700;
    color: #374151;
    text-transform: uppercase;

}

.cyup--variant-modal__quantity-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    border: 0;
}

.cyup--variant-modal__quantity-btn {
    width: 35px;
    height: 35px;
    border: 1px solid #d1d5db;
    border-radius: 50%;
    background-color: #fff;
    font-size: 18px;
    font-weight: 400;
    color: #6b7280;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.cyup--variant-modal__quantity-btn:hover:not(:disabled) {
    background-color: #f9fafb;
    border-color: #9ca3af;
}

.cyup--variant-modal__quantity-btn:active:not(:disabled) {
    background-color: #f3f4f6;
}

.cyup--variant-modal__quantity-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.cyup--variant-modal__quantity-input {
    width: 100%;
    height: 44px;
    padding: 0 16px;
    border: 1px solid #d1d5db;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    color: #111827;
    background-color: #fff;
}

.cyup--variant-modal__quantity-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Supprimer les flèches des inputs number */
.cyup--variant-modal__quantity-input::-webkit-outer-spin-button,
.cyup--variant-modal__quantity-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.cyup--variant-modal__quantity-input[type="number"] {
    -moz-appearance: textfield;
}

.cyup--option__product-ref::before {
    content: "Réf:";
    padding: 0 3px 0 0;
}

.cyup--option__product-ref:not(:empty) {
    display: block;
    color: #4b5563;
    background-color: #f6f6f6;
    padding: 4px 8px;
    font-size: 12px;
    font-family: "Open Sans", sans-serif;
}

.cyup--quantity {
    display: inherit;
    border: inherit;
}

.cyup_description {
    background-color: transparent;
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0;
}

.cyup_description_content p {
    color: #6b7280 !important;
    text-align: center !important;
    font-size: 14px;
    font-family: "Open Sans", sans-serif;
}

.cyup_description .cyup_description_icon {
    display: none;
}

.cyup--step__details {
    margin-top: 5px;
}

.cyup--tab__description h2 {
    text-align: center;
    padding: 25px 0 0 0;
    margin: 0;
    font-size: 19px;
    font-weight: 700;
    font-family: Montserrat, sans-serif;
}

/* Styles pour le récapitulatif des produits */
.cyup--recap-products {
    margin-top: 10px;
    padding: 0 24px;
}

.cyup--recap-products h5 {
    margin: 0 0 15px 0;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    color: #333;
    letter-spacing: 0.5px;
}

.cyup--recap-products__count {
    font-weight: 400;
    color: #666;
}

.cyup--recap-products__list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cyup--recap-products__item {
    border: 2px solid var(--reuz-border);
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.2s ease;
}

.cyup--recap-products__item:hover {
    background: #f0f0f0;
    border-color: #d0d0d0;
}

.cyup--recap-products__number {
    font-size: 14px;
    font-weight: 600;
    color: #666;
    min-width: 30px;
}

.cyup--recap-products__info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.cyup--recap-products__name {
    font-size: 15px;
    font-weight: 600;
    color: #000;
}

.cyup--recap-products__details {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.cyup--recap-products__quantity {
    font-size: 13px;
    color: #666;
    font-weight: 500;
}

.cyup--recap-products__ref,
.cyup--recap-products__variant {
    font-size: 13px;
    color: #888;
}

.cyup--recap-products__price {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-left: auto;
}

.cyup--recap-products__edit {
    display: none;
}

.cyup--recap-products__edit:hover {
    background: #f5f5f5;
    border-color: #999;
}

.cyup--recap-products__edit svg {
    width: 16px;
    height: 16px;
    color: #666;
}

.cyup--recap-products__summary {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 2px solid #e5e5e5;
}

.cyup--recap-products__summary-line {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 14px;
    color: #666;
}

.cyup--recap-products__summary-line strong {
    color: #000;
    font-weight: 600;
}

.cyup--recap-products__summary-total {
    font-size: 16px;
    font-weight: 600;
    color: #000;
    padding-top: 12px;
    margin-top: 8px;
    border-top: 1px solid #e5e5e5;
}

.cyup--recap-products__summary-total strong {
    font-size: 18px;
}

.cyup--entry__details-search {
    max-width: 50%;
}

.cyup--product-card__desc h1 {
    font-size: 12px !important;
    font-weight: normal !important;
}

@media (max-width: 500px) {
    .choice .cyup--option {
        width: 100%;
    }

    .cyup--entry__details-search {
        max-width: 100%;
    }
}

.cyup--cart.compact .cyup--quantity {
    display: none
}

.cyup--inline-card__qty .cyup--quantity__btn--active {
    background-color: var(--reuz-text);
    color: #fff;
}

.cyup--inline-card__qty .cyup--quantity__btn--active:hover {
    background-color: var(--reuz-muted);
    color: #fff;
}

.cyup--quantity__btn:hover {
    color: var(--reuz-text);
    font-weight: bolder;
}
