@font-face {
    font-family: 'Montserrat', sans-serif;
    src: url(../fonts/futura-std/FuturaStdMedium.otf);
}

/* @font-face {
    font-family: 'Montserrat', sans-serif;
    font-style: bold;
    src: url(../fonts/futura-std/FuturaStdCondensedBold.otf);
} */

#step_header {
    margin-top: 100px;
}

#step_content {
    margin-bottom: 45px;
    position: relative;
    z-index: 4;
}

#step_content .title {
    color: #FFF;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.125rem;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    margin-bottom: 45px;
}

#step_header, #step_content {
    font-family: 'Montserrat', sans-serif;
}

html {
    font-size: 14px;
}

#input_dimensions_content, #input_angles_content {
    position: relative;
}

.input_container input {
    width: 32px;
    -webkit-appearance: none;
    appearance: none;
    border: none;
    color: #FFFFFF;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    text-align: center;
    -moz-appearance: textfield;
}

.input_container input:focus-visible {
    outline: none;
}

.input_container:has(input:focus-visible) {
    border: 1px solid #FFE1B8;
}

/* Inverser les images des formes (noir -> blanc) sur fond sombre */
/* #input_dimensions_content canvas {
    filter: invert(1);
} */

.input_container input::-webkit-inner-spin-button,
.input_container input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.input_container .icone {
    color: #D0D0D0;
    font-family: 'Montserrat', sans-serif;
    font-size: .875rem;
}

.input_container:has(input:disabled) {
    opacity: 0.4;
    pointer-events: none;
}

.input_container {
    background: #141413;
    border: 1px solid #242424;
    border-radius: 8px;
    padding: 12px 16px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.rectangle_bassin_arc_cote_1, .rectangle_cote_1, .rectangle_bassin_cote_1, .rectangle_arc_cote_1 {
    position: absolute;
    top: 295px;
    left: 134px;
}

.rectangle_bassin_arc_cote_2 {
    position: absolute;
    top: 45px;
    left: 459px;
}

.rectangle_cote_2 {
    position: absolute;
    top: 45px;
    left: 564px;
}

.rectangle_bassin_cote_2, .rectangle_arc_cote_2 {
    position: absolute;
    top: 45px;
    left: 484px;
}

.rectangle_bassin_arc_cote_3 {
    position: absolute;
    top: 130px;
    left: 617px;
}

.rectangle_bassin_cote_3 {
    position: absolute;
    top: 117px;
    left: 666px;
}

.rectangle_arc_cote_3 {
    position: absolute;
    top: 117px;
    left: 680px;
}

.rectangle_arc_cote_4 {
    top: 454px;
    position: absolute;
    left: 680px;
}

.rectangle_bassin_cote_7 {
    top: 454px;
    position: absolute;
    left: 666px;
}


.rectangle_bassin_arc_cote_4 {
    position: absolute;
    top: 127px;
    left: 750px;
}

.rectangle_bassin_cote_4 {
    position: absolute;
    top: 112px;
    left: 820px;
}

.rectangle_bassin_arc_cote_5 {
    position: absolute;
    top: 173px;
    left: 865px;
}

.rectangle_bassin_cote_5 {
    position: absolute;
    top: 292px;
    left: 969px;
}

.rectangle_bassin_arc_arc_h {
    position: absolute;
    top: 258px;
    left: 849px;
}

.rectangle_arc_arc_h {
    position: absolute;
    top: 268px;
    left: 822px;
}

.rectangle_bassin_arc_arc_l {
    position: absolute;
    top: 289px;
    left: 989px;
}

.rectangle_arc_arc_l {
    position: absolute;
    top: 289px;
    left: 984px;
}

.rectangle_bassin_arc_cote_6 {
    position: absolute;
    top: 401px;
    left: 866px;
}

.rectangle_bassin_arc_cote_8 {
    position: absolute;
    top: 450px;
    left: 617px;
}

.button_angle {
    border: none;
    background: transparent;
}

.button_angle:focus {
    outline: none;
}

.button_angle.active svg > path {
    stroke: rgba(255,255,255,0.7) !important;
}

.angle_container > input {
    visibility: hidden;
}

.angle_container > label {
    margin: 0;
    height: 90px;
}

.angle_droit {
    position: absolute;
    top: -88px;
    left: 0px;
}

.angle_arrondi {
    position: absolute;
    top: -29px;
    left: 58px;
}

.rectangle_bassin_arc_angle_1, .rectangle_angle_1, .rectangle_bassin_angle_1, .rectangle_arc_angle_1 {
    position: absolute;
    top: 97px;
    left: 224px;
}

.rectangle_bassin_arc_angle_2 {
    position: absolute;
    top: 97px;
    left: 668px;
}

.rectangle_angle_2 {
    position: absolute;
    top: 97px;
    left: 890px;
}

.rectangle_bassin_angle_2 {
    position: absolute;
    top: 97px;
    left: 727px;
}

.rectangle_arc_angle_2 {
    position: absolute;
    top: 97px;
    left: 739px;
}

.rectangle_bassin_arc_angle_3 {
    position: absolute;
    top: 155px;
    left: 679px;
}

.rectangle_angle_3 {
    position: absolute;
    top: 476px;
    left: 891px;
}

.rectangle_bassin_angle_3 {
    position: absolute;
    top: 134px;
    left: 738px;
}

.rectangle_bassin_arc_angle_4 {
    position: absolute;
    top: 166px;
    left: 793px;
}

.rectangle_bassin_angle_4 {
    position: absolute;
    top: 146px;
    left: 890px;
}

.rectangle_bassin_arc_angle_5 {
    position: absolute;
    top: 412px;
    left: 794px;
}

.rectangle_bassin_angle_5 {
    position: absolute;
    top: 426px;
    left: 891px;
}

.rectangle_bassin_arc_angle_6 {
    position: absolute;
    top: 423px;
    left: 681px;
}

.rectangle_bassin_angle_6 {
    position: absolute;
    top: 437px;
    left: 738px;
}

.rectangle_bassin_arc_angle_7 {
    position: absolute;
    top: 479px;
    left: 670px;
}

.rectangle_bassin_angle_7 {
    position: absolute;
    top: 475px;
    left: 728px;
}

.rectangle_arc_angle_3 {
    position: absolute;
    top: 475px;
    left: 740px;
}

.rectangle_bassin_arc_angle_8 {
    position: absolute;
    top: 478px;
    left: 223px;
}

.rectangle_angle_4, .rectangle_bassin_angle_8, .rectangle_arc_angle_4 {
    position: absolute;
    top: 476px;
    left: 224px;
}

.checked .cercle {
    stroke: #FFE1B8;
}

.checked path {
    stroke: #FFE1B8;
}

.bordures_option {
    max-width: 300px;
}

.bordures_option .title, .finitions_option .title, .title_option {
    font-size: 1.4286rem;
    line-height: 24px;
    color: black;
    font-weight: 650;
    margin-bottom: 15px;
}

.bordures_option .texte, .finitions_option .texte {
    color: black;
    font-size: .8571rem;
    line-height: 18px;
    font-weight: 400;
}

.bordures_option .texte {
    margin-bottom: 46px;
}

.bordures_option img {
    margin-top: 63px;
    margin-bottom: 15px;
}

.finitions_option .radio_option_2 {
    gap: 0;
}

.step_forme .input_forme_content {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}

.step_material .input_material_content {
    display: grid;
    grid-template-columns: repeat(3, 30%);
    justify-content: center;
    gap: 25px;
}

.bordures_option label {
    flex-grow: 1;
}

.bordures_option label input, .radio_option input {
    display: none;
}

.bordures_option label:has(input:checked), .radio_option:has(input:checked) {
    border-color: #867762;
    background-color: #443626;
}

.bordures_option label:has(input:checked) .input_title, .radio_option:has(input:checked) .input_title {
    color: #FFE1B8;
}

.bordures_option label:first-of-type {
    margin-top: 0px;
}

.bordures_option .input_title, .radio_option .input_title {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    color: #FFFFFF;
    font-weight: 500;
    line-height: 24px;
    text-align: center;
    display: block;
    margin-bottom: 16px;
}

.bordures_option select, .step_entree select {
    border: 1px solid #D0D5DD;
    border-radius: 8px;
    padding: 8px;
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    background: url("data:image/svg+xml,<svg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'><path d='M5 7.5L10 12.5L15 7.5' stroke='rgba(102, 112, 133, 1)' stroke-width='1.66667' stroke-linecap='round' stroke-linejoin='round'/></svg>") no-repeat;
    background-position: calc(100% - 0.75rem) center !important;
    padding-right: 3rem !important;
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
}

#step_bordures .step_bordures_content {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

#step_content .footer .button_prev,  #step_content .footer .button_next, .button_search {
    padding: 16px 24px;
    font-size: 1rem;
    font-weight: 500;
    line-height: 24px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border-radius: 8px;
    box-shadow: 0px 0px 45px 0px rgba(0,0,0,0.5);
    border: none;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
}

#step_content .footer .button_prev {
    background-color: #3B3B3B;
    color: white;
}

#step_content .footer .button_prev path {
    fill: white
}

#step_content .footer .button_next, .button_search {
    background-color: #FFE1B8;
    color: #0D0D0D;
}

#step_content .footer .button_next path {
    fill: #0D0D0D
}

#step_content .footer {
    display: flex;
    flex-direction: row;
    justify-content: end;
    margin-top: 45px;
    margin-bottom: 15px;
    gap: 12px;
    margin-left: 18px;
    margin-right: 18px;
}

#step_header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 30px;
}

#step_header .title-configurateur {
    font-weight: 700;
    font-size: 2.5714rem;
    line-height: 43px;
    color: white;
}

#steps_breadcrumb {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 0 24px;
    gap: 12px;
}

#steps_breadcrumb .step_num_container {
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    gap: 4px;
    flex: 0 0 auto;
}

#steps_breadcrumb .step_name {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 1.5;
    text-align: center;
    color: #FFE1B8;
    display: none;
}

#steps_breadcrumb .step_num {
    border-radius: 20px;
    height: 29px;
    width: 29px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #0d0d0d;
    position: relative;
}

#steps_breadcrumb .step_num_container.valide .step_num {
    background-color: #D0D0D0;
    color: #0d0d0d;
}

#steps_breadcrumb .step_num_container.valide .step_name {
    display: none;
}

#steps_breadcrumb .step_num_container.actif .step_num {
    background-color: #FFE1B8;
    color: #0d0d0d;
}

#steps_breadcrumb .step_num_container.actif .step_name {
    color: #FFE1B8;
    display: block;
}

#steps_breadcrumb .step_num_container.disable .step_num {
    background-color: #3b3b3b;
    color: #0d0d0d;
}

#steps_breadcrumb .step_num_container.disable .step_name {
    display: none;
}

#steps_breadcrumb .step_num_container:not(:last-child) .step_num:after {
    display: none;
}

.step_forme .title, .step_entree .title, .step_sortie .title, .step_quantite .title, .step_material .title {
    text-align: center;
    margin-top: 16px;
    margin-bottom: 24px;
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: white;
    line-height: 1.4;
}

/* Carte forme */
.step_forme label.radio_option {
    background: #242424;
    border: 2px solid #3b3b3b;
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: none;
}

.step_forme label.radio_option:has(input:checked) {
    background: #443626;
    border-color: #867762;
}

.step_forme label.radio_option img {
    max-height: 80px;
    opacity: 0.6;
    margin: 0;
}

.step_forme label.radio_option:has(input:checked) img {
    opacity: 0.8;
}

#step_content input[type=number]::after {
    content: 'm';
    color: red;
}

.step_errors {
    padding-left: 50px;
    padding-right: 50px;
    margin-top: 15px;
    font-size: medium;
    color: white;
    background-color: #FFE1B8;
    padding-top: 15px;
    padding-bottom: 15px;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 15px;
    flex-grow: 1;
}

#step_form_content {
    margin-top: 56px;
    margin-left: 18px;
    margin-right: 18px;
}

.number_container {
    position: relative;
    width: fit-content;
    display: flex;
    align-items: end;
    flex-grow: 1;
}

.number_container .minus, .number_container .add {
    height: 29px;
    width: 29px;
    border-radius: 50%;
    border: 0.5px #979797 solid;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    background-color: white;
}

.number_container .minus {
    left: 0px;
}

.number_container .add {
    right: 0px;
}

.number_container input {
    padding-left: 25px;
    padding-right: 25px;
    margin-left: 15px;
    margin-right: 15px;
    width: 80px;
    height: 29px;
    appearance: none;
    border: 0.5px #979797 solid;
    text-align: center;
    color: #FFE1B8;
}

.number_container input:focus-visible {
    outline: none;
}

.number_container .minus.actif path {
    fill-opacity: 1;
}

.quantity_item {
    display: flex;
    flex-direction: row;
    justify-content: center;
    background: white;
    border-radius: 5px;
    border: 0.5px #3b3b3b solid;
    padding: 14px;
}

.quantity_item img {
    margin-top: 20px;
    margin-bottom: 20px;
}

.quantity_item .title {
    font-weight: 650;
    font-size: 1rem;
    color: black;
    text-align: center;
}

.step_special_piece_content {
    display: flex;
    flex-direction: row;
    gap: 20px;
}

.step_special_piece_content .quantity_items_container {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    width: 100%;
}

.quantity_item .options .radio_option .input_title {
    font-size: .7143rem;
}

.quantity_item .options .radio_option {
    padding-left: 5px;
    padding-right: 5px;
    margin-left: 0px;
    margin-bottom: 0px;
    margin-top: 0px;
    margin-right: 0px;
}

.quantity_item .options .radio_option img {
    margin-top: 0px;
    margin-bottom: 5px;
}

.quantity_item .options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 50px;
    margin-right: 5px;
}

.piece_container {
   display: flex;
   flex-direction: column;
   align-items: center;
   flex-grow: 1;
}

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

.image {
    text-align: center;
}

.options_container {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.no_arc_options_container {
    background: white;
    padding-top: 14px;
    border-radius: 5px;
    padding-bottom: 14px;
    padding-left: 10px;
    padding-right: 10px;
    border: 0.5px #3b3b3b solid;
    display: flex;
    flex-direction: column;
}

.no_arc_options_container .boolean {
    display: flex;
    align-items: start;
    justify-content: space-between;
}

.no_arc_options_container .boolean .title {
    font-size: 1rem;
    color: black;
    font-weight: 650;
    line-height: 1.2rem;
    flex: 1 1 70%;
}

.no_arc_options_container .boolean .switch_container {
    flex: 1 1 30%;
    text-align: end;
}

.switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 28px;
}
  
/* Hide default HTML checkbox */
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
  
/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #3b3b3b;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
    box-shadow: 0px 1px 2px 0px rgba(16,24,40,0.06);
}
  
.switch input:checked + .slider {
    background-color: #FFE1B8;
}
  
.switch input:focus + .slider {
    box-shadow: 0 0 1px #FFE1B8;
}
  
.switch input:checked + .slider:before {
    -webkit-transform: translateX(20px);
    -ms-transform: translateX(20px);
    transform: translateX(20px);
}
  
/* Rounded sliders */
.switch_container .slider.round {
    border-radius: 14px;
}
  
.switch_container .slider.round:before {
    border-radius: 50%;
}

.no_arc_item {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.no_arc_item .image {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.radio_option_2 {
    border-radius: 5px;
    border: 0.5px #3b3b3b solid;
    padding-top: 13px;
    padding-bottom: 13px;
    padding-left: 10px;
    padding-right: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 0px;
    flex: 1 1 0;
    gap: 20px;
    background-color: white;
}

.radio_option_2 .input, .radio_option_3 .input {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    accent-color: #FFE1B8;
}

.radio_option_2 img {
    flex-grow: 1;
}

.radio_option_2 .title {
    font-size: 12px;
    font-weight: 650;
    color: black;
}

.no_arc_item .options_container {
    display: flex;
    flex-direction: row;
    gap: 10px;
    margin-top: 20px;
}

.piece_container .all_border {
    border-radius: 4px;
    background-color: #F3F3F3;
    text-align: center;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 4px;
    padding-bottom: 4px;
    font-size: 12px;
    font-weight: 600;
    color: #BEBEBE;
    line-height: 20px;
}

.piece_container .image {
    flex-grow: 1;
}

#step_devis {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    width: 100%;
}

.devis_title {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #FFFFFF;
    text-align: center;
}

.devis_price_card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #141413;
    border: 1px solid #3b3b3b;
    border-radius: 24px;
    padding: 24px;
    width: 100%;
    max-width: 400px;
    text-align: center;
}

.devis_price {
    font-family: 'Cormorant Garamond', serif;
    font-size: 64px;
    font-weight: 600;
    color: #FFE1B8;
    line-height: 1;
}

.devis_price_label {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #FFFFFF;
    margin-top: 8px;
    line-height: 1.4;
}

.gold_star {
    color: #FFE1B8;
}

.devis_note {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 400;
    font-style: italic;
    color: #FFFFFF;
    line-height: 1.4;
    max-width: 400px;
    width: 100%;
}

.note_container .note {
    color: white;
    font-size: .875rem;
}

.note_container .text {
    color: white;
    font-size: 1rem;
    font-weight: 500;
}

.note_container a {
    color: #FFE1B8 !important;
}

.placed_options_list {
    margin-bottom: 24px;
}

/* Tableau devis */
.devis_table_wrap {
    width: 100%;
    max-width: 400px;
}

.devis_table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid #565658;
    border-radius: 16px;
    overflow: hidden;
    color: #FFFFFF;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
}

.devis_table thead {
    background: #242424;
}

.devis_table thead th {
    padding: 8px 24px;
    font-weight: 600;
    text-align: left;
    line-height: 1;
    white-space: nowrap;
}

.devis_table tbody tr:nth-child(odd) {
    background: #3b3b3b;
}

.devis_table tbody tr:nth-child(even) {
    background: #242424;
}

.devis_table tbody td {
    padding: 11px 24px;
    font-weight: 300;
    line-height: 16px;
    border-top: 1px solid #565658;
}

/* Totaux devis */
.devis_total_card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #242424;
    border: 1px solid #565658;
    border-radius: 16px;
    padding: 16px 24px;
    width: 100%;
    max-width: 400px;
    color: #FFFFFF;
    font-family: 'Montserrat', sans-serif;
}

.devis_total_label {
    font-size: 14px;
    font-weight: 400;
}

.devis_total_value {
    font-size: 18px;
    font-weight: 600;
}

/* Récapitulatif des options positionnées dans le devis */
.devis_options_recap {
    width: 100%;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #3b3b3b;
}

.devis_options_recap .title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 25px;
    color: #FFFFFF;
    display: block;
    font-family: 'Montserrat', sans-serif;
}

.devis_plan_container {
    display: flex;
    flex-direction: row;
    gap: 30px;
    align-items: flex-start;
}

.devis_plan_visual {
    position: relative;
    flex: 0 0 45%;
    max-width: 500px;
    background: #141413;
    border: 1px solid #3b3b3b;
    border-radius: 8px;
    padding: 15px;
}

.devis_plan_image {
    width: 100%;
    height: auto;
    display: block;
}

.devis_placed_options {
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    pointer-events: none;
}

.devis_option_marker {
    position: absolute;
    width: 28px;
    height: 28px;
    background: #FFE1B8;
    border: 2px solid white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translate(-50%, -50%);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    cursor: default;
    pointer-events: auto;
}

.devis_option_marker .marker_number {
    color: white;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
}

.devis_options_legend {
    flex: 1;
    min-width: 0;
}

.devis_options_legend .legend_title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #FFFFFF;
}

.legend_table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #242424;
    border: 1px solid #565658;
    border-radius: 16px;
    overflow: hidden;
    color: #FFFFFF;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
}

.legend_table thead {
    background: #242424;
}

.legend_table th,
.legend_table td {
    padding: 11px 16px;
    text-align: left;
    border-top: 1px solid #565658;
    font-size: 13px;
}

.legend_table thead th {
    border-top: none;
    font-weight: 600;
    color: #FFFFFF;
    padding: 8px 16px;
}

.legend_table tbody tr:nth-child(odd) {
    background: #3b3b3b;
}

.legend_table tbody tr:nth-child(even) {
    background: #242424;
}

.legend_number {
    width: 30px;
    text-align: center;
    font-weight: 700;
    color: #FFE1B8;
}

.legend_name {
    max-width: 200px;
}

.legend_position {
    white-space: nowrap;
    color: rgba(255,255,255,0.7);
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
}

.legend_dimensions {
    white-space: nowrap;
    color: rgba(255,255,255,0.7);
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
}

/* ========================================
   DEVIS - SECTION CREDENCE
   ======================================== */

.devis_credence_recap {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #3b3b3b;
}

.devis_credence_recap .title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 25px;
    color: #FFFFFF;
    display: block;
    font-family: 'Montserrat', sans-serif;
}

.devis_credence_container {
    display: flex;
    flex-direction: row;
    gap: 30px;
    align-items: flex-start;
}

.devis_credence_visual {
    position: relative;
    flex: 0 0 45%;
    max-width: 500px;
    background: #141413;
    border: 1px solid #3b3b3b;
    border-radius: 8px;
    padding: 20px;
}

.credence_shape_container {
    position: relative;
}

.credence_shape_image {
    width: 100%;
    height: auto;
    display: block;
    opacity: 0.6;
}

.credence_cotes_overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.credence_cote_indicator {
    position: absolute;
    background: #FFE1B8;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translate(-50%, -50%);
}

/* Positionnement des indicateurs par forme - Rectangle */
.credence_shape_container.rectangle .credence_cote_indicator.cote_1 { top: 45%; left: 0%; }
.credence_shape_container.rectangle .credence_cote_indicator.cote_2 { top: 0%; left: 50%; }
.credence_shape_container.rectangle .credence_cote_indicator.cote_3 { top: 45%; left: 100%; }
.credence_shape_container.rectangle .credence_cote_indicator.cote_4 { top: 95%; left: 50%; }

.credence_shape_container.rectangle.ilot .credence_cote_indicator.cote_1 { top: 24%; left: 0%; }
.credence_shape_container.rectangle.ilot .credence_cote_indicator.cote_2 { top: 0%; left: 50%; }
.credence_shape_container.rectangle.ilot .credence_cote_indicator.cote_3 { top: 24%; left: 100%; }
.credence_shape_container.rectangle.ilot .credence_cote_indicator.cote_4 { top: 100%; left: 50%; }

/* Rectangle avec îlot */
.credence_shape_container.rectangle.ilot .credence_cote_indicator.cote_ilot_1 { top: 83%; left: 14%; }
.credence_shape_container.rectangle.ilot .credence_cote_indicator.cote_ilot_2 { top: 68%; left: 50%; }
.credence_shape_container.rectangle.ilot .credence_cote_indicator.cote_ilot_3 { top: 83%; left: 86%; }
.credence_shape_container.rectangle.ilot .credence_cote_indicator.cote_ilot_4 { top: 88%; left: 50%; }

/* Découpe en L */
.credence_shape_container.decoupe_l .credence_cote_indicator.cote_1 { top: 23%; left: 0%; }
.credence_shape_container.decoupe_l .credence_cote_indicator.cote_2 { top: 0%; left: 51%; }
.credence_shape_container.decoupe_l .credence_cote_indicator.cote_3 { top: 40%; left: 100%; }
.credence_shape_container.decoupe_l .credence_cote_indicator.cote_4 { top: 100%; left: 80%; }
.credence_shape_container.decoupe_l .credence_cote_indicator.cote_5 { top: 67%; left: 57%; }
.credence_shape_container.decoupe_l .credence_cote_indicator.cote_6 { top: 43%; left: 29%; }

/* Découpe en L avec îlot - côtés principaux */
.credence_shape_container.decoupe_l.ilot .credence_cote_indicator.cote_1 { top: 18%; left: 44%; }
.credence_shape_container.decoupe_l.ilot .credence_cote_indicator.cote_2 { top: 0%; left: 73%; }
.credence_shape_container.decoupe_l.ilot .credence_cote_indicator.cote_3 { top: 30%; left: 100%; }
.credence_shape_container.decoupe_l.ilot .credence_cote_indicator.cote_4 { top: 80%; left: 88%; }
.credence_shape_container.decoupe_l.ilot .credence_cote_indicator.cote_5 { top: 57%; left: 76%; }
.credence_shape_container.decoupe_l.ilot .credence_cote_indicator.cote_6 { top: 35%; left: 60%; }
/* Découpe en L avec îlot - côtés îlot */
.credence_shape_container.decoupe_l.ilot .credence_cote_indicator.cote_ilot_1 { top: 83%; left: 0%; }
.credence_shape_container.decoupe_l.ilot .credence_cote_indicator.cote_ilot_2 { top: 63%; left: 26%; }
.credence_shape_container.decoupe_l.ilot .credence_cote_indicator.cote_ilot_3 { top: 83%; left: 52%; }
.credence_shape_container.decoupe_l.ilot .credence_cote_indicator.cote_ilot_4 { top: 100%; left: 26%; }

/* Découpe en U */
.credence_shape_container.decoupe_u .credence_cote_indicator.cote_1 { top: 45%; left: 0%; }
.credence_shape_container.decoupe_u .credence_cote_indicator.cote_2 { top: 0%; left: 50%; }
.credence_shape_container.decoupe_u .credence_cote_indicator.cote_3 { top: 45%; left: 100%; }
.credence_shape_container.decoupe_u .credence_cote_indicator.cote_4 { top: 100%; left: 87%; }
.credence_shape_container.decoupe_u .credence_cote_indicator.cote_5 { top: 65%; left: 73%; }
.credence_shape_container.decoupe_u .credence_cote_indicator.cote_6 { top: 44%; left: 50%; }
.credence_shape_container.decoupe_u .credence_cote_indicator.cote_7 { top: 65%; left: 26%; }
.credence_shape_container.decoupe_u .credence_cote_indicator.cote_8 { top: 100%; left: 18%; }

/* Découpe en U avec îlot - côtés principaux */
.credence_shape_container.decoupe_u.ilot .credence_cote_indicator.cote_1 { top: 24%; left: 0%; }
.credence_shape_container.decoupe_u.ilot .credence_cote_indicator.cote_2 { top: 0%; left: 50%; }
.credence_shape_container.decoupe_u.ilot .credence_cote_indicator.cote_3 { top: 24%; left: 100%; }
.credence_shape_container.decoupe_u.ilot .credence_cote_indicator.cote_4 { top: 53%; left: 87%; }
.credence_shape_container.decoupe_u.ilot .credence_cote_indicator.cote_5 { top: 38%; left: 74%; }
.credence_shape_container.decoupe_u.ilot .credence_cote_indicator.cote_6 { top: 24%; left: 50%; }
.credence_shape_container.decoupe_u.ilot .credence_cote_indicator.cote_7 { top: 38%; left: 27%; }
.credence_shape_container.decoupe_u.ilot .credence_cote_indicator.cote_8 { top: 53%; left: 13%; }
/* Découpe en U avec îlot - côtés îlot */
.credence_shape_container.decoupe_u.ilot .credence_cote_indicator.cote_ilot_1 { top: 85%; left: 16%; }
.credence_shape_container.decoupe_u.ilot .credence_cote_indicator.cote_ilot_2 { top: 71%; left: 50%; }
.credence_shape_container.decoupe_u.ilot .credence_cote_indicator.cote_ilot_3 { top: 85%; left: 84%; }
.credence_shape_container.decoupe_u.ilot .credence_cote_indicator.cote_ilot_4 { top: 100%; left: 50%; }

/* Découpe en T */
.credence_shape_container.decoupe_t .credence_cote_indicator.cote_1 { top: 22%; left: 0%; }
.credence_shape_container.decoupe_t .credence_cote_indicator.cote_2 { top: 0%; left: 50%; }
.credence_shape_container.decoupe_t .credence_cote_indicator.cote_3 { top: 22%; left: 100%; }
.credence_shape_container.decoupe_t .credence_cote_indicator.cote_4 { top: 44%; left: 82%; }
.credence_shape_container.decoupe_t .credence_cote_indicator.cote_5 { top: 65%; left: 64%; }
.credence_shape_container.decoupe_t .credence_cote_indicator.cote_6 { top: 100%; left: 50%; }
.credence_shape_container.decoupe_t .credence_cote_indicator.cote_7 { top: 65%; left: 36%; }
.credence_shape_container.decoupe_t .credence_cote_indicator.cote_8 { top: 44%; left: 17%; }

/* Découpe en T avec îlot - côtés principaux */
.credence_shape_container.decoupe_t.ilot .credence_cote_indicator.cote_1 { top: 57%; left: 0%; }
.credence_shape_container.decoupe_t.ilot .credence_cote_indicator.cote_2 { top: 46%; left: 50%; }
.credence_shape_container.decoupe_t.ilot .credence_cote_indicator.cote_3 { top: 57%; left: 100%; }
.credence_shape_container.decoupe_t.ilot .credence_cote_indicator.cote_4 { top: 69%; left: 82%; }
.credence_shape_container.decoupe_t.ilot .credence_cote_indicator.cote_5 { top: 84%; left: 64%; }
.credence_shape_container.decoupe_t.ilot .credence_cote_indicator.cote_6 { top: 100%; left: 50%; }
.credence_shape_container.decoupe_t.ilot .credence_cote_indicator.cote_7 { top: 84%; left: 36%; }
.credence_shape_container.decoupe_t.ilot .credence_cote_indicator.cote_8 { top: 69%; left: 17%; }
/* Découpe en T avec îlot - côtés îlot */
.credence_shape_container.decoupe_t.ilot .credence_cote_indicator.cote_ilot_1 { top: 14%; left: 0%; }
.credence_shape_container.decoupe_t.ilot .credence_cote_indicator.cote_ilot_2 { top: 0%; left: 50%; }
.credence_shape_container.decoupe_t.ilot .credence_cote_indicator.cote_ilot_3 { top: 14%; left: 100%; }
.credence_shape_container.decoupe_t.ilot .credence_cote_indicator.cote_ilot_4 { top: 28%; left: 50%; }

.devis_credence_legend {
    flex: 1;
    min-width: 0;
}

.devis_credence_legend .legend_title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #FFFFFF;
}

/* Tableau des options sur les crédences */
.credence_options_table td {
    vertical-align: middle;
}

.credence_options_table .cote_name {
    display: block;
    font-weight: 600;
    color: #FFFFFF;
}

.credence_options_table .cote_longueur {
    display: block;
    font-size: 11px;
    color: #FFE1B8;
    margin-top: 2px;
}

.credence_legend_notes {
    margin-top: 15px;
    padding: 12px 15px;
    background: #141413;
    border-left: 3px solid #FFE1B8;
    border-radius: 0 4px 4px 0;
}

.credence_legend_notes p {
    margin: 0 0 5px 0;
    font-size: 12px;
    color: rgba(255,255,255,0.6);
}

.credence_legend_notes p:last-child {
    margin-bottom: 0;
}

.devis_credence_legend .no_options {
    color: rgba(255,255,255,0.5);
    font-style: italic;
    padding: 20px;
    background: #141413;
    border-radius: 16px;
    border: 1px solid #3b3b3b;
    text-align: center;
}

.legend_cote {
    font-weight: 600;
    color: #FFE1B8;
}

.legend_options {
    font-size: 12px;
    color: #666;
}

.flexbox-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.switch_container.flexbox-row {
    gap: 12px;
    align-items: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: rgba(255,255,255,0.7);
}

.switch_container.flexbox-row .switch {
    margin: 0;
}

#point_vente_map {
    min-height: 500px;
    margin-bottom: 60px;
}

#point_vente .title-section {
    margin-bottom: 60px;
}

#point_vente_form {
    margin-bottom: 60px;
    text-align: center;
    display: flex;
    gap: 15px;
    align-items: center;
    justify-content: center;
}

#point_vente_form label {
    margin: 0;
}

#point_vente_form input {
    min-width: 50px;
    min-height: 44px;
    text-align: center;
}

/* Plan */
.format_type_container {
    display: flex;
    margin-top: 36px;
    gap: 40px;
    margin-left: 50px;
    margin-right: 50px;
}

.decoupe_u_cote_1 {
    position: absolute;
    top: 227px;
    left: 216px;
}
.radio_option_3 .title {
    color: black;
    font-size: 20px;
    font-weight: 650;
    line-height: 24px;
    margin-top: 15px;
    margin-bottom: 34px;
    display: flex;
    flex-direction: column;
}

.radio_option_3 {
    border-radius: 5px;
    border: 0.5px #3b3b3b solid;
    padding-top: 13px;
    padding-bottom: 13px;
    padding-left: 10px;
    padding-right: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 0px;
    background-color: white;
    flex: 1 1 0;
}

.radio_option_3 .note {
    font-size: 12px;
    line-height: 18px;
    font-weight: 400;
    color: black;
    margin-top: 40px;
    margin-bottom: 11px;
}

.radio_option_3 .note_bottom {
    flex-grow: 1;
    display: flex;
    align-items: end;
}

.radio_option_3:has(input:checked) {
    background-color: #242424;
    border-color: #FFE1B8;
}

.step_entree select {
    width: 90%;
    background-color: white;
}

.step_sortie .hauteur_container {
    display: flex;
    width: 60%;
    margin: auto;
    margin-top: 27px;
}

.step_sortie .radio_option {
    padding: 15px;
}

.step_sortie .radio_option .title {
    font-size: 16.8px;
    font-weight: 650;
    color:black;
    line-height: 20px;
    margin:0px;
}

.step_sortie .radio_option:has(input:checked) {
    border-color: #FFE1B8;
}

.step_sortie .radio_option:has(input:checked) .title {
    color: #FFE1B8 !important;
}

.step_sortie .format_container {
    gap: 20px;
    width: 70%;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
}

.step_sortie .radio_option_2  {
    gap: 0;
}

.step_sortie .radio_option_2 .title {
    margin-top: 0px;
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 20px;
    font-weight: 400;
}

.step_sortie .radio_option_2:has(input:checked) {
    background-color: #242424 !important;
    border-color: #FFE1B8 !important;
}

.quantite_container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 37px;
    color: black;
}

.quantite_container .input_group {
    display: flex;
    flex-direction: column;
    margin-top: 20px;
    color:black;
}

.quantite_container .input_group .title {
    font-weight: 400;
    font-size: 20px;
    line-height: 24px;
    margin-bottom: 15px;
    margin-top: 0px;
}

.quantite_container .input_group .note {
    font-weight: 400;
    font-size: 14px;
    line-height: 17px;
    margin-top: 6px;
    text-align: center;
}

.quantite_container .liaison {
    font-weight: 650;
    font-size: 20px;
    line-height: 24px;
}

.quantite_container input {
    border: 1px solid #D0D5DD;
    border-radius: 8px;
    text-align: center;
    font-size: 20px;
}

.input_add {
    margin-top: 10px;
    display: none;
}

.input_add label {
    border: none;
}

.input_add input[type='number'] {
    text-align: center;
    width: 100%;
    border: 1px solid #D0D5DD;
    border-radius: 8px;
}

@media (max-width: 992px) {
    .step_material .input_material_content {
        grid-template-columns: 1fr !important;
    }

    .check_forme_container img {
        max-width: 100%;
        height: auto;
    }


    #input_dimensions_content {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    #step_header {
        margin-top: 50px;
    }

    #input_dimensions_content canvas {
        order: -1;
    }

    #input_dimensions_content .input_container {
        position: static !important;
        top: auto !important;
        left: auto !important;
        width: 100%;
        box-sizing: border-box;
        justify-content: space-between;
        gap: 8px;
    }

    #input_dimensions_content .input_container input {
        flex: 1;
        min-width: 0;
    }

    #input_dimensions_content .mobile-label {
        color: #D0D0D0;
        font-family: 'Montserrat', sans-serif;
        font-size: 13px;
        font-weight: 500;
        white-space: nowrap;
        min-width: 0;
    }

    #step_header {
        flex-wrap: wrap;
        justify-content: center;
    }

    .title-configurateur {
        text-align: center;
    }

    #steps_breadcrumb {
        gap: 0;
        margin-top: 25px;
        flex-grow: 1;
    }

    .step_forme .input_forme_content {
        grid-template-columns: repeat(1, 100%);
        justify-items: center;
    }

    .step_forme label.radio_option {
        max-width: none;
        width: 100%;
    }

    .step_forme .input_forme_content {
        gap: 0px 40px;
    }

    #step_bordures .step_bordures_content {
        grid-template-columns: repeat(1, 100%);
        justify-items: center;
    }

    .bordures_option {
        width: 100%;
    }

    .step_special_piece_content {
        flex-wrap: wrap;
    }
    
    .no_arc_options_container {
        width: 100%;
        gap: 10px;
    }

    .plan_dropzone {
        height: 400px;
    }

    .plan_dropzone .plan_background {
        max-width: 100% !important;
        max-height: 100% !important;
    }

    .radio_option_2 img {
        flex-grow: unset;
    }

    .step_special_piece_content .quantity_items_container {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }

    .devis_price {
        font-size: 48px;
    }

    .devis_table_wrap {
        overflow-x: auto;
    }

    /* Responsive devis options recap */
    .devis_plan_container {
        flex-direction: column;
    }

    .devis_plan_visual {
        flex: none;
        width: 100%;
        max-width: none;
    }

    .devis_options_legend {
        width: 100%;
    }

    /* Responsive devis credence recap */
    .devis_credence_container {
        flex-direction: column;
    }

    .devis_credence_visual {
        flex: none;
        width: 100%;
        max-width: none;
    }

    .devis_credence_legend {
        width: 100%;
    }

    .legend_table {
        font-size: 11px;
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .legend_table thead,
    .legend_table tbody {
        display: table;
        width: 100%;
        min-width: 500px;
    }

    .legend_table th {
        padding: 8px 6px;
        white-space: nowrap;
    }

    .legend_table td {
        padding: 8px 6px;
        white-space: normal;
        word-break: break-word;
    }

    .legend_name {
        max-width: 120px;
    }

    #step_content .footer {
        flex-wrap: wrap;
    }

    #step_content .footer button, #step_content .footer span {
        width: 100%;
    }

    .format_type_container {
        flex-wrap: wrap;
    }

    .format_type_container {
        gap: 20px;
        margin-left: 0;
        margin-right: 0;
    }

    .step_sortie .hauteur_container {
        flex-wrap: wrap;
    }

    .step_sortie .format_container {
        grid-template-columns: repeat(2, 1fr);
    }

    .quantite_container {
        flex-direction: column;
    }
}

.bordures_option label img {
    max-width: 100%;
}



.decoupe_u_cote_2 {
    position: absolute;
    top: 50px;
    left: 550px;
}

.decoupe_u_cote_3 {
    position: absolute;
    top: 227px;
    left: 901px;
}

.decoupe_u_cote_4 {
    position: absolute;
    top: 450px;
    left: 766px;
}

.decoupe_u_cote_5 {
    position: absolute;
    top: 325px;
    left: 617px;
}

.decoupe_u_cote_6 {
    position: absolute;
    top: 192px;
    left: 571px;
}

.decoupe_u_cote_7 {
    position: absolute;
    top: 325px;
    left: 505px;
}

.decoupe_u_cote_8 {
    position: absolute;
    top: 450px;
    left: 372px;
}

.decoupe_t_cote_1 {
    position: absolute;
    top: 165px;
    left: 240px;
}

.decoupe_t_cote_2 {
    position: absolute;
    top: 45px;
    left: 561px;
}

.decoupe_t_cote_3 {
    position: absolute;
    top: 165px;
    left: 877px;
}

.decoupe_t_cote_4 {
    position: absolute;
    top: 195px;
    left: 731px;
}

.decoupe_t_cote_5 {
    position: absolute;
    top: 314px;
    left: 704px;
}

.decoupe_t_cote_6 {
    position: absolute;
    top: 442px;
    left: 570px;
}

.decoupe_t_cote_7 {
    position: absolute;
    top: 314px;
    left: 420px;
}

.decoupe_t_cote_8 {
    position: absolute;
    top: 195px;
    left: 409px;
}

.decoupe_l_cote_1 {
    position: absolute;
    top: 170px;
    left: 315px;
}

.decoupe_l_cote_2 {
    position: absolute;
    top: 44px;
    left: 559px;
}

.decoupe_l_cote_3 {
    position: absolute;
    top: 266px;
    left: 804px;

}

.decoupe_l_cote_4 {
    position: absolute;
    top: 468px;
    left: 669px;
}

.decoupe_l_cote_5 {
    position: absolute;
    top: 344px;
    left: 516px;
}

.decoupe_l_cote_6 {
    position: absolute;
    top: 202px;
    left: 487px;
}

.plan_rectangle_cote_1 {
    position: absolute;
    top: 213px;
    left: 230px;
}

.plan_rectangle_cote_2 {
    position: absolute;
    top: 45px;
    left: 559px;
}

.ilot.plan_rectangle_cote_1 {
    position: absolute;
    top: 174px;
    left: 314px;
}

.ilot.plan_rectangle_cote_2 {
    position: absolute;
    top: 45px;
    left: 559px;
}

.plan_rectangle_ilot_1 {
    position: absolute;
    top: 398px;
    left: 362px;
}

.plan_rectangle_ilot_2 {
    position: absolute;
    top: 305px;
    left: 562px;
}

.ilot.decoupe_l_cote_1 {
    position: absolute;
    top: 151px;
    left: 457px;
}

.ilot.decoupe_l_cote_2 {
    position: absolute;
    top: 54px;
    left: 684px;
}

.ilot.decoupe_l_cote_3 {
    position: absolute;
    top: 254px;
    left: 895px;
}

.ilot.decoupe_l_cote_4 {
    position: absolute;
    top: 425px;
    left: 777px;
}

.ilot.decoupe_l_cote_5 {
    position: absolute;
    top: 302px;
    left: 636px;
}

.ilot.decoupe_l_cote_6 {
    position: absolute;
    top: 189px;
    left: 622px;
}

.decoupe_l_ilot_1 {
    position: absolute;
    top: 389px;
    left: 224px;
}

.decoupe_l_ilot_2 {
    position: absolute;
    top: 289px;
    left: 432px;
}

.ilot.decoupe_t_cote_1 {
    position: absolute;
    top: 302px;
    left: 336px;
}

.ilot.decoupe_t_cote_2 {
    position: absolute;
    top: 224px;
    left: 558px;
}

.ilot.decoupe_t_cote_3 {
    position: absolute;
    top: 302px;
    left: 783px;
}

.ilot.decoupe_t_cote_4 {
    position: absolute;
    top: 311px;
    left: 660px;
}

.ilot.decoupe_t_cote_5 {
    position: absolute;
    top: 401px;
    left: 665px;
}

.ilot.decoupe_t_cote_6 {
    position: absolute;
    top: 492px;
    left: 565px;
}

.ilot.decoupe_t_cote_7 {
    position: absolute;
    top: 401px;
    left: 453px;
}

.ilot.decoupe_t_cote_8 {
    position: absolute;
    top: 310px;
    left: 464px;
}

.decoupe_t_ilot_1 {
    position: absolute;
    top: 140px;
    left: 336px;
}

.decoupe_t_ilot_2 {
    position: absolute;
    top: 52px;
    left: 558px;
}

.ilot.decoupe_u_cote_1 {
    position: absolute;
    top: 187px;
    left: 327px;
}

.ilot.decoupe_u_cote_2 {
    position: absolute;
    top: 50px;
    left: 561px;
}

.ilot.decoupe_u_cote_3 {
    position: absolute;
    top: 187px;
    left: 793px;
}

.ilot.decoupe_u_cote_4 {
    position: absolute;
    top: 317px;
    left: 683px;
}

.ilot.decoupe_u_cote_5 {
    position: absolute;
    top: 237px;
    left: 683px;
}

.ilot.decoupe_u_cote_6 {
    position: absolute;
    top: 148px;
    left: 567px;
}

.ilot.decoupe_u_cote_7 {
    position: absolute;
    top: 237px;
    left: 442px;
}

.ilot.decoupe_u_cote_8 {
    position: absolute;
    top: 315px;
    left: 442px;
}

.decoupe_u_ilot_1 {
    position: absolute;
    top: 405px;
    left: 384px;
}

.decoupe_u_ilot_2 {
    position: absolute;
    top: 488px;
    left: 561px;
}

.radio_option_container {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-bottom: 24px;
    color: #D0D0D0;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.25rem;
    border-radius: 16px;
    border: 1px solid #3B3B3B;
    background: #242424;
    padding: 32px 36px;
}

.radio_option_container input {
    display: none;
}

.radio_option_container:has(input:checked) {
    border-color: #FFE1B8;
    background-color: #443626;
}

.radio_option_container:has(input:checked) span {
    color: #FFE1B8;
}

.radio_option_container span {
    margin-left: 5px;
    margin-right: 5px;
}

.checkbox {
    height: 28px;
    width: 28px;
    border: 1px solid #565658;
    border-radius: 4px;
    background: #141413;
}

.checkbox:has(input:checked) {
    background: url("../img/checkmark.svg") no-repeat;
    background-position: center;
    background-color: #443626;
    border-color: #FFE1B8;
}

.checkbox input {
    opacity: 0;
}

.check_forme_container {
    position: relative;
}

.check_rectangle_cote_1 {
    position: absolute;
    top: 100px;
    left: -13px;
}

.check_rectangle_cote_2 {
    position: absolute;
    top: -13px;
    left: 250px;
}

.check_rectangle_cote_3 {
    position: absolute;
    top: 100px;
    left: 490px;
}

.check_rectangle_cote_4 {
    position: absolute;
    top: 228px;
    left: 250px;
}

.check_decoupe_l_cote_1 {
    position: absolute;
    top: 65px;
    left: -13px;
}

.check_decoupe_l_cote_2 {
    position: absolute;
    top: -13px;
    left: 170px;
}

.check_decoupe_l_cote_3 {
    position: absolute;
    top: 140px;
    left: 342px;
}

.check_decoupe_l_cote_4 {
    position: absolute;
    top: 335px;
    left: 270px;
}

.check_decoupe_l_cote_5 {
    position: absolute;
    top: 235px;
    left: 190px;
}

.check_decoupe_l_cote_6 {
    position: absolute;
    top: 140px;
    left: 90px;
}

.check_decoupe_u_cote_1 {
    position: absolute;
    top: 145px;
    left: -13px;
}

.check_decoupe_u_cote_2 {
    position: absolute;
    top: -13px;
    left: 255px;
}

.check_decoupe_u_cote_3 {
    position: absolute;
    top: 145px;
    left: 520px;
}

.check_decoupe_u_cote_4 {
    position: absolute;
    top: 305px;
    left: 450px;
}

.check_decoupe_u_cote_5 {
    position: absolute;
    top: 215px;
    left: 380px;
}

.check_decoupe_u_cote_6 {
    position: absolute;
    left: 255px;
    top: 125px;
}

.check_decoupe_u_cote_7 {
    position: absolute;
    top: 215px;
    left: 125px;
}

.check_decoupe_u_cote_8 {
    position: absolute;
    top: 305px;
    left: 60px;
}

.check_decoupe_t_cote_1 {
    position: absolute;
    left: -13px;
    top: 55px;
}

.check_decoupe_t_cote_2 {
    position: absolute;
    top: -13px;
    left: 240px;
}

.check_decoupe_t_cote_3 {
    position: absolute;
    left: 490px;
    top: 55px;
}

.check_decoupe_t_cote_4 {
    position: absolute;
    top: 125px;
    left: 405px;
}

.check_decoupe_t_cote_5 {
    position: absolute;
    top: 210px;
    left: 308px;
}

.check_decoupe_t_cote_6 {
    position: absolute;
    top: 305px;
    left: 240px;
}

.check_decoupe_t_cote_7 {
    position: absolute;
    top: 210px;
    left: 170px;
}

.check_decoupe_t_cote_8 {
    position: absolute;
    top: 125px;
    left: 75px;
}

.check_rectangle_cote_1_ilot {
    position: absolute;
    left: -13px;
    top: 70px;
}

.check_rectangle_cote_2_ilot {
    position: absolute;
    top: -13px;
    left: 165px;
}

.check_rectangle_cote_3_ilot {
    position: absolute;
    left: 330px;
    top: 70px;
}

.check_rectangle_cote_4_ilot {
    position: absolute;
    top: 150px;
    left: 165px;
}

.check_rectangle_cote_ilot_1_ilot {
    position: absolute;
    left: 35px;
    top: 290px;
}

.check_rectangle_cote_ilot_2_ilot {
    position: absolute;
    top: 238px;
    left: 165px;
}

.check_rectangle_cote_ilot_3_ilot {
    position: absolute;
    top: 290px;
    left: 282px;
}

.check_rectangle_cote_ilot_4_ilot {
    position: absolute;
    top: 353px;
    left: 165px;
}

.check_decoupe_l_cote_1_ilot {
    position: absolute;
    top: 50px;
    left: 225px;
}

.check_decoupe_l_cote_2_ilot {
    position: absolute;
    top: -13px;
    left: 390px;
}

.check_decoupe_l_cote_3_ilot {
    position: absolute;
    top: 120px;
    left: 528px;
}

.check_decoupe_l_cote_4_ilot {
    position: absolute;
    top: 284px;
    left: 465px;
}

.check_decoupe_l_cote_5_ilot {
    position: absolute;
    top: 200px;
    left: 400px;
}

.check_decoupe_l_cote_6_ilot {
    position: absolute;
    top: 115px;
    left: 318px;
}

.check_decoupe_l_cote_ilot_1_ilot {
    position: absolute;
    top: 290px;
    left: -13px;
}

.check_decoupe_l_cote_ilot_2_ilot {
    position: absolute;
    top: 223px;
    left: 124px;

}

.check_decoupe_l_cote_ilot_3_ilot {
    position: absolute;
    top: 290px;
    left: 270px;
}

.check_decoupe_l_cote_ilot_4_ilot {
    position: absolute;
    top: 355px;
    left: 124px;
}

.check_decoupe_t_cote_1_ilot {
    position: absolute;
    top: 198px;
    left: -13px;
}

.check_decoupe_t_cote_2_ilot {
    position: absolute;
    top: 156px;
    left: 147px;
}

.check_decoupe_t_cote_3_ilot {
    position: absolute;
    top: 198px;
    left: 303px;
}

.check_decoupe_t_cote_4_ilot {
    position: absolute;
    top: 241px;
    left: 245px;
}

.check_decoupe_t_cote_5_ilot {
    position: absolute;
    top: 300px;
    left: 189px;
}

.check_decoupe_t_cote_6_ilot {
    position: absolute;
    top: 353px;
    left: 146px;
}

.check_decoupe_t_cote_7_ilot {
    position: absolute;
    top: 300px;
    left: 103px;
}

.check_decoupe_t_cote_8_ilot {
    position: absolute;
    top: 241px;
    left: 47px;
}

.check_decoupe_t_cote_ilot_1_ilot {
    position: absolute;
    top: 41px;
    left: -13px;
}

.check_decoupe_t_cote_ilot_2_ilot {
    position: absolute;
    top: -13px;
    left: 147px;
}

.check_decoupe_t_cote_ilot_3_ilot {
    position: absolute;
    top: 41px;
    left: 303px;
}

.check_decoupe_t_cote_ilot_4_ilot {
    position: absolute;
    top: 91px;
    left: 147px;
}

.check_decoupe_u_cote_1_ilot {
    position: absolute;
    top: 88px;
    left: -13px;
}

.check_decoupe_u_cote_2_ilot {
    position: absolute;
    top: -13px;
    left: 154px;
}

.check_decoupe_u_cote_3_ilot {
    position: absolute;
    top: 88px;
    left: 314px;
}

.check_decoupe_u_cote_4_ilot {
    position: absolute;
    top: 184px;
    left: 276px;
}

.check_decoupe_u_cote_5_ilot {
    position: absolute;
    top: 127px;
    left: 230px;
}

.check_decoupe_u_cote_6_ilot {
    position: absolute;
    top: 75px;
    left: 154px;
}

.check_decoupe_u_cote_7_ilot {
    position: absolute;
    top: 127px;
    left: 77px;
}

.check_decoupe_u_cote_8_ilot {
    position: absolute;
    top: 184px;
    left: 36px;
}

.check_decoupe_u_cote_ilot_1_ilot {
    position: absolute;
    top: 300px;
    left: 40px;
}

.check_decoupe_u_cote_ilot_2_ilot {
    position: absolute;
    top: 248px;
    left: 154px;
}

.check_decoupe_u_cote_ilot_3_ilot {
    position: absolute;
    top: 300px;
    left: 264px;
}

.check_decoupe_u_cote_ilot_4_ilot {
    position: absolute;
    left: 154px;
    top: 353px;
}

.plan_options_container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-column-gap: 40px;
    grid-row-gap: 50px;
}

.number_option {
    height: 44px;
    text-align: center;
    border: 1px solid #D0D5DD;
    border-radius: 8px;
}

.base_texte {
    color: black;
}

.step_container {
    display: flex;
    flex-direction: column;
    gap: 64px;
}

.step_data_container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.finitions_option_title {
    display: flex;
    flex-direction: column;
    margin-right: 20px;
}

.finitions_option_title .texte {
    margin: 0px;
}

.finitions_option_choice {
    display: flex;
    flex-grow: 1;
    gap: 10px;
}

.radio_option_container .texte_option {
    flex-grow: 1;
    text-align: center;
}

.gap-10 {
    gap: 10px;
}

.flex-grow-1 {
    flex-grow: 1;
}

.d-flex {
    display: flex;
}

.align-items-center {
    align-items: center;
}

.justify-content-center {
    justify-content: center;
}

.flex-column {
    flex-direction: column;
}

.mb-5 {
    margin-bottom: 15px;
}

.input_material_content img {
    max-height: 80px;
}

.step_material .material_option .radio_option .material_texture {
    width: 100%;
    height: 100%;
    background-repeat: repeat;
    background-size: 200px 200px;
    border-radius: 28px;
    min-height: 150px;
}

.step_material .material_option .radio_option .input_title {
    position: absolute;
    bottom: 12px;
    left: 16px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 18px;
    color: #FFFFFF;
    text-shadow: 0 1px 6px rgba(0,0,0,0.6);
    margin: 0;
    z-index: 2;
}

.step_material .material_option .radio_option input[type="radio"] {
    display: none;
}

/* ========================================
   STEP MATERIAL - PLAN & VASQUE DESIGN
   ======================================== */

.step_material .input_material_content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.step_material .material_option {
    display: flex;
    flex-direction: column;
    background: #242424;
    border: 2px solid #3b3b3b;
    border-radius: 36px;
    padding: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
    overflow: hidden;
}

.step_material .material_option.selected,
.step_material .material_option:has(input[name="material"]:checked) {
    border-color: #FFE1B8 !important;
    box-shadow: none;
}

.step_material .material_option .radio_option {
    position: relative;
    overflow: hidden;
}

.step_material .material_selectors {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px 16px;
    border-top: none;
    margin-top: 0;
}

.step_material .material_selectors.disabled {
    display: none;
}

.step_material .material_selector {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.step_material .material_selector .selector_label {
    display: none;
}

.step_material .material_selector .selector_options {
    display: flex;
    gap: 0;
    background: #1a1a1a;
    border: 1px solid #3B3B3B;
    border-radius: 40px;
    padding: 12px 16px;
    flex-wrap: nowrap;
}

.step_material .material_selector .selector_option {
    flex: 1;
    text-align: center;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 36px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
    margin-bottom: 0px;
}

.step_material .material_selector .selector_option span {
    display: block;
    padding: 8px 16px;
    border-radius: 36px;
    color: rgba(255,255,255,0.5);
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    transition: all 0.2s ease;
}

.step_material .material_selector .selector_option:hover span {
    color: rgba(255,255,255,0.8);
}

.step_material .material_selector .selector_option:has(input:checked) {
    background: transparent;
    border: none;
}

.step_material .material_selector .selector_option:has(input:checked) span {
    background: #443626;
    border: 1px solid #867762;
    color: #FFE1B8;
}

.step_material .material_selector .selector_option input {
    display: none;
}

/* ========================================
   STEP OPTIONS - DRAG & DROP
   ======================================== */

.palette_title {
    font-size: 1.286rem;
    font-weight: 650;
    color: black;
}

.palette_subtitle {
    font-size: 0.857rem;
    color: #666;
    margin-bottom: 10px;
}

/* Options draggables */
.draggable_option, .draggable_credence_option {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 24px;
    background: #242424;
    border: 1px solid #3B3B3B;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #D0D0D0;
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.25rem; /* 125% */
}

.draggable_option:hover,
.draggable_credence_option:hover {
    border-color: #565658;
}

.draggable_option.dragging,
.draggable_credence_option.dragging {
    opacity: 0.5;
    cursor: grabbing;
}

.draggable_option .option_top,
.draggable_credence_option .option_top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.draggable_option .option_icon,
.draggable_credence_option .option_icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.draggable_option .option_icon svg,
.draggable_credence_option .option_icon svg {
    max-width: 40px;
    max-height: 40px;
}

.draggable_option .option_icon svg rect,
.draggable_option .option_icon svg path,
.draggable_option .option_icon svg line,
.draggable_option .option_icon svg circle,
.draggable_credence_option .option_icon svg rect,
.draggable_credence_option .option_icon svg path,
.draggable_credence_option .option_icon svg line,
.draggable_credence_option .option_icon svg circle {
    stroke: #FFFFFF !important;
}

.draggable_option .option_label,
.draggable_credence_option .option_label {
    flex-grow: 1;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    line-height: 1.4;
    color: #FFFFFF;
}

.draggable_option .option_drag_hint {
    display: none;
}

.btn_add_option, .btn_add_credence_option {
    width: 100%;
    padding: 12px 20px;
    background: #FFE1B8;
    color: #0d0d0d;
    border: none;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: opacity 0.2s ease;
    display: flex;
    flex-direction: row;
    gap: 8px;
    align-items: center;
    justify-content: center;
}

.btn_add_option:hover, .btn_add_credence_option:hover {
    opacity: 0.9;
}

/* Zone de drop */
.options_plan_container {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}


.plan_dropzone {
    position: relative;
    border-radius: 8px;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    overflow: hidden;
}

.plan_dropzone.drag-over {
    border-color: #FFE1B8;
    background: #FFFFFF5F5;
    box-shadow: inset 0 0 20px rgba(206, 17, 38, 0.1);
}

.plan_dropzone .plan_background {
    max-width: 90%;
    max-height: 350px;
    object-fit: contain;
    pointer-events: none;
}

/* Container des options placées */
.placed_options_container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

/* Option placée sur le plan */
.placed_option {
    position: absolute;
    /* Taille définie par JS en fonction des dimensions */
    min-width: 20px;
    min-height: 20px;
    /* Le coin bas-gauche est le point de référence (origine bas-gauche comme le plan) */
    transform: translate(0%, -100%);
    background: rgba(255, 225, 184, 0.15);
    border: 2px solid #FFE1B8;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: auto;
    transition: box-shadow 0.2s ease, background 0.2s ease;
    z-index: 10;
    box-sizing: border-box;
}

.placed_option:hover {
    background: rgba(206, 17, 38, 0.25);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    z-index: 20;
}

.placed_option:active {
    cursor: move;
}

.placed_option.dragging {
    background: rgba(206, 17, 38, 0.3);
    box-shadow: 0 6px 16px rgba(0,0,0,0.25);
    z-index: 30;
}

.placed_option.dragging .placed_option_remove,
.placed_option.dragging .placed_option_tooltip {
    display: none !important;
}

.placed_option_icon {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2px;
    box-sizing: border-box;
}

.placed_option_icon svg {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
}

.placed_option_remove {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #FFE1B8;
    color: white;
    border: none;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.placed_option:hover .placed_option_remove {
    opacity: 1;
}

.placed_option_tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #242424;
    color: #FFFFFF;
    border: 1px solid #3b3b3b;
    padding: 6px 12px;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    margin-bottom: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.placed_option:hover .placed_option_tooltip {
    opacity: 1;
    visibility: visible;
}

.summary_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px !important;
}

.summary_header .title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem !important;
    font-weight: 400 !important;
    color: #FFFFFF;
    margin-bottom: 0px !important;
}

.btn_clear_all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #FFE1B8;
    background: #443626;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: none;
    border: none;
}

.btn_clear_all:hover {
    background: #5a4a38;
    color: #FFE1B8;
}

.btn_clear_all svg {
    width: 16px;
    height: 16px;
    order: 1;
}

.btn_clear_all svg {
    flex-shrink: 0;
}

.summary_items {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.summary_empty {
    color: rgba(255,255,255,0.5);
    font-style: italic;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
}

.summary_group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: #242424;
    border: 1px solid #3b3b3b;
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 24px;
}

.summary_group:last-child {
    margin-bottom: 0;
}

.summary_group_header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.summary_group_header .summary_icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.summary_group_header .summary_icon svg {
    max-width: 36px;
    max-height: 36px;
}

.summary_group_header .summary_icon svg rect,
.summary_group_header .summary_icon svg path,
.summary_group_header .summary_icon svg line,
.summary_group_header .summary_icon svg circle {
    stroke: #FFFFFF !important;
}

.summary_item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.summary_item_info {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #FFE1B8;
}

.btn_modify {
    background: #FFE1B8;
    color: #0d0d0d;
    border: none;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: .875rem;
    font-weight: 500;
    padding: 8px 12px;
    cursor: pointer;
    transition: opacity 0.2s ease;
    flex-shrink: 0;
}

.btn_modify:hover {
    opacity: 0.9;
}

/* Sections par côté (crédence summary) */
.summary_cote_section {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid #3b3b3b;
}

.summary_cote_section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.summary_cote_title {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #FFE1B8;
    margin-bottom: 12px;
}

/* Barre schématique du côté */
.summary_cote_bar_wrap {
    margin-bottom: 16px;
    padding: 0;
}

.summary_cote_bar {
    position: relative;
    height: 59px;
    background: #3b3b3b;
    border: 1px solid #d0d0d0;
    border-radius: 4px;
}

.summary_cote_icon {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 37px;
    height: 37px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.summary_cote_icon svg {
    max-width: 34px;
    max-height: 34px;
}

.summary_cote_icon svg rect,
.summary_cote_icon svg path,
.summary_cote_icon svg line,
.summary_cote_icon svg circle {
    stroke: #FFFFFF !important;
}

.summary_label {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #FFFFFF;
    line-height: 1.4;
    flex: 1;
}

.summary_count {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #FFE1B8;
    white-space: nowrap;
}

/* ========================================
   MODAL DIMENSIONS
   ======================================== */
.option_modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal_overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
}

.modal_content {
    position: relative;
    background: #1a1a1a;
    border: 1px solid #3b3b3b;
    border-radius: 16px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    padding: 32px 24px;
}

.modal_header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 0 24px;
    border-bottom: none;
    gap: 12px;
}

.modal_title {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #FFE1B8;
    line-height: 1.4;
}

.modal_close {
    display: none;
}

.modal_body {
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.modal_field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.modal_field label {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: rgba(255,255,255,0.7);
    margin-bottom: 0;
}

.zone_selector {
    display: flex;
    gap: 12px;
}

.zone_radio {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    color: #FFFFFF;
    font-weight: 500;
}

.zone_radio input[type="radio"] {
    accent-color: #FFE1B8;
}

.summary_zone_tag {
    display: inline-block;
    padding: 1px 6px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    background: rgba(255, 225, 184, 0.15);
    color: #FFE1B8;
    margin-right: 4px;
}

.modal_field .dimension_input,
.modal_field .position_input {
    padding: 12px 16px;
    background: #141413;
    border: 1px solid #242424;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    color: #FFFFFF;
    transition: border-color 0.2s ease;
    margin-bottom: 0;
}

.modal_field .dimension_input:focus,
.modal_field .position_input:focus {
    outline: none;
    border-color: #FFE1B8;
}

.modal_field .dimension_input.error,
.modal_field .position_input.error {
    border-color: #ff6b6b;
    background: rgba(255,107,107,0.05);
}

.modal_field .dimension_input::placeholder,
.modal_field .position_input::placeholder {
    color: #3b3b3b;
}

.modal_field .field_hint {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    color: rgba(255,255,255,0.5);
}

.modal_section {
    margin-bottom: 0;
}

.section_title {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 12px;
}

.position_fields {
    display: flex;
    gap: 16px;
}

.position_fields .modal_field {
    flex: 1;
}

.modal_footer {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 24px 0 0;
    border-top: none;
}

.btn_confirm {
    width: 100%;
    padding: 12px 24px;
    background: #FFE1B8;
    border: none;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: #0d0d0d;
    cursor: pointer;
    transition: opacity 0.2s ease;
    order: -1;
}

.btn_confirm:hover {
    opacity: 0.9;
}

.btn_cancel {
    width: 100%;
    padding: 16px 24px;
    background: #333333;
    border: none;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: #FFFFFF;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.btn_cancel:hover {
    opacity: 0.9;
}

/* ========================================
   INDICATEUR DE RÉFÉRENCE (coin bas-gauche du plan)
   ======================================== */
.reference_indicator {
    position: absolute;
    width: 30px;
    height: 30px;
    z-index: 5;
    pointer-events: none;
    /* Position et transform définis par JS */
}

.reference_indicator::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 0;
    border-left: 12px solid #FFE1B8;
    border-top: 12px solid transparent;
}

.reference_indicator::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 20px;
    height: 1px;
    background: #FFE1B8;
}

.ref_label {
    position: absolute;
    bottom: 2px;
    left: 14px;
    font-size: 10px;
    color: #FFE1B8;
    font-weight: bold;
    white-space: nowrap;
}

/* Indicateur pour le plan principal (rouge) */
.reference_plan::before {
    border-left-color: #FFE1B8;
}

.reference_plan::after {
    background: #FFE1B8;
}

.reference_plan .ref_label {
    color: #FFE1B8;
}

/* Indicateur pour l'îlot (bleu) */
.reference_ilot::before {
    border-left-color: #2563EB;
}

.reference_ilot::after {
    background: #2563EB;
}

.reference_ilot .ref_label {
    color: #2563EB;
}

/* ========================================
   SECTIONS MODAL (Position + Dimensions)
   ======================================== */
.modal_section {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #3b3b3b;
}

.modal_section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.section_title {
    font-weight: 600;
    margin-bottom: 12px;
    color: #FFFFFF;
    font-size: 0.857rem;
}

.position_fields {
    display: flex;
    gap: 15px;
}

.position_fields .modal_field {
    flex: 1;
}

.position_input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #3b3b3b;
    border-radius: 6px;
    font-size: 0.929rem;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.position_input:focus {
    outline: none;
    border-color: #FFE1B8;
}

.position_input.error {
    border-color: #FFE1B8;
    background: #FFFFFF5F5;
}

/* ========================================
   RESPONSIVE OPTIONS
   ======================================== */
@media (max-width: 900px) {
    .options_main_container {
        flex-direction: column;
    }

    .palette_title,
    .palette_subtitle {
        width: 100%;
    }
}

@media (max-width: 600px) {
    /* La taille des options placées est gérée par JS en fonction de l'échelle */

    .modal_content {
        margin: 20px;
        max-width: calc(100% - 40px);
    }
}

/* ========================================
   CREDENCE OPTIONS - DRAG & DROP
   ======================================== */

/* Palette d'options - dans la colonne gauche */
.credence_palette {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
}

/* Zones de drop - masquées visuellement, gardées dans le DOM pour le JS */
.credence_dropzones {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    margin-left: 30px;
}

.credence_dropzone {
    background: #F8F8F8;
    border: 2px dashed #D0D0D0;
    border-radius: 8px;
    padding: 15px;
    transition: all 0.2s ease;
}

.credence_dropzone.drag-over {
    border-color: #FFE1B8;
    background: #FFFFFF5F5;
    border-style: solid;
}

.dropzone_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.dropzone_header .cote_name {
    font-weight: 600;
    font-size: 0.929rem;
    color: #FFFFFF;
}

.dropzone_header .cote_length {
    font-size: 0.857rem;
    color: #666;
    font-family: monospace;
}

.dropzone_bar_container {
    position: relative;
}

.credence_bar {
    position: relative;
    width: 100%;
    height: 50px;
    /* background: linear-gradient(to bottom, #E8E0D8, #D4CCC4); */
    border: 2px solid black;
    border-radius: 4px;
    overflow: visible;
}

.credence_scale {
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    color: #888;
    margin-top: 5px;
    padding: 0 2px;
    font-family: monospace;
}

/* Options placées sur la crédence */
.placed_credence_option {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 36px;
    height: 36px;
    background: rgba(206, 17, 38, 0.15);
    border: 2px solid #FFE1B8;
    border-radius: 50%;
    cursor: move;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
    z-index: 10;
}

.placed_credence_option:hover {
    background: rgba(206, 17, 38, 0.3);
}

.placed_credence_option.dragging {
    background: rgba(206, 17, 38, 0.5);
    box-shadow: 0 4px 12px rgba(206, 17, 38, 0.4);
    transform: translate(-50%, -50%) scale(1.1);
    z-index: 20;
}

.placed_credence_option .option_icon_placed {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.placed_credence_option .option_icon_placed svg {
    width: 100%;
    height: 100%;
    max-width: 22px;
    max-height: 22px;
}

.placed_credence_option .remove_btn {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 18px;
    height: 18px;
    background: #FFE1B8;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 12px;
    line-height: 1;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
}

.placed_credence_option:hover .remove_btn {
    display: flex;
}

/* Résumé */
.credence_summary {
    background: white;
    border: 1px solid #3b3b3b;
    border-radius: 8px;
    padding: 15px;
    margin-top: 20px;
    margin-left: 30px;
}

.credence_summary .summary_title {
    font-weight: 600;
    font-size: 0.929rem;
    margin-bottom: 10px;
    color: #FFFFFF;
}

.credence_summary .summary_content {
    font-size: 0.857rem;
}

.credence_summary .summary_empty {
    color: #888;
    font-style: italic;
}

.credence_summary .summary_item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #F0F0F0;
}

.credence_summary .summary_item:last-child {
    border-bottom: none;
}

.credence_summary .summary_item .item_cote {
    font-weight: 500;
}

.credence_summary .summary_item .item_count {
    color: #FFE1B8;
    font-weight: 600;
}

.credence_summary .summary_cote {
    margin-bottom: 12px;
}

.credence_summary .summary_cote:last-child {
    margin-bottom: 0;
}

.credence_summary .summary_cote_header {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #3b3b3b;
}

.credence_summary .summary_cote_header .item_cote {
    font-weight: 600;
}

.credence_summary .summary_cote_header .item_count {
    color: #FFE1B8;
    font-weight: 600;
}

.credence_summary .summary_cote_items {
    list-style: none;
    padding: 0;
    margin: 8px 0 0 0;
}

.credence_summary .summary_cote_items li {
    padding: 4px 0 4px 12px;
    font-size: 0.785rem;
    color: #555;
    border-left: 2px solid #3b3b3b;
    margin-bottom: 4px;
}

.credence_summary .summary_cote_items li:last-child {
    margin-bottom: 0;
}

/* Modal crédence */
.credence_dimension_modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.credence_dimension_modal .modal_overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.credence_dimension_modal .modal_content {
    position: relative;
    background: #1a1a1a;
    border-radius: 16px;
    width: 400px;
    max-width: 90%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    border: 1px solid #3b3b3b;
    color: #FFFFFF;
}

.credence_dimension_modal .modal_header {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 24px 20px 16px;
    border-bottom: none;
}

.credence_dimension_modal .modal_title {
    font-weight: 600;
    font-size: 1.1rem;
    color: #FFE1B8;
    text-align: center;
}

.credence_dimension_modal .modal_close {
    display: none;
}

.credence_dimension_modal .modal_errors {
    margin: 0 20px 12px;
    padding: 10px 14px;
    background: rgba(255, 68, 68, 0.12);
    border: 1px solid rgba(255, 68, 68, 0.3);
    border-radius: 8px;
    color: #ff6b6b;
    font-size: 0.813rem;
    line-height: 1.4;
}

.credence_dimension_modal .modal_field .field_error {
    display: block;
    font-size: 0.75rem;
    color: #ff6b6b;
    margin-top: 4px;
}

.credence_dimension_modal .modal_body {
    padding: 0 20px 20px;
}

.credence_dimension_modal .modal_field {
    margin-bottom: 15px;
}

.credence_dimension_modal .modal_field:last-child {
    margin-bottom: 0;
}

.credence_dimension_modal .modal_field label {
    display: block;
    font-size: 0.857rem;
    font-weight: 500;
    margin-bottom: 6px;
    color: #FFFFFF;
}

.credence_dimension_modal .modal_field input,
.credence_dimension_modal .modal_field select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #242424;
    border-radius: 8px;
    font-size: 0.929rem;
    background: #141413;
    color: #FFFFFF;
    -webkit-appearance: none;
    appearance: none;
}

.credence_dimension_modal .modal_field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23FFE1B8' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.credence_dimension_modal .modal_field input:focus,
.credence_dimension_modal .modal_field select:focus {
    outline: none;
    border-color: #FFE1B8;
}

.credence_dimension_modal .modal_field .field_hint {
    display: block;
    font-size: 0.75rem;
    color: #FFE1B8;
    margin-top: 6px;
    font-style: italic;
}

.credence_dimension_modal .modal_footer {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 10px 20px 24px;
    border-top: none;
}

.credence_dimension_modal .btn_primary {
    padding: 12px 24px;
    background: #FFE1B8;
    color: #0d0d0d;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    width: 100%;
    order: 1;
}

.credence_dimension_modal .btn_secondary {
    padding: 12px 24px;
    background: #3B3B3B;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    color: #FFFFFF;
    cursor: pointer;
    transition: background 0.2s;
    width: 100%;
    order: 2;
}

.credence_dimension_modal .btn_secondary:hover {
    background: #242424;
}

.credence_option {
    display: flex;
    flex-direction: column;
}

.credence_option label {
    color: #FFF;
    font-size: 1rem;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
}

.credence_dimension_modal .btn_primary:hover {
    background: #e6c8a0;
}

/* Responsive */
@media (max-width: 992px) {
    .credence_main_container {
        flex-direction: column;
    }

    .credence_config_column {
        width: 100%;
    }

    #step_content input[type="number"] {
        width: 100%;
    }
}

@media (max-width: 600px) {
    .credence_palette {
        padding: 10px;
    }

    .credence_bar {
        height: 40px;
    }

    .placed_credence_option {
        width: 28px;
        height: 28px;
    }
}

.credence_forme {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}


/* =====================================================
   Panier - Produit Devis (ID 38)
   Cacher les contrôles de quantité
   ===================================================== */
.cart-item[data-id-product="38"] .qty,
.cart-item[data-id-product="38"] .product-line-grid-right .input-group,
.cart-item[data-id-product="38"] .js-cart-line-product-quantity,
.cart-item[data-id-product="38"] .bootstrap-touchspin,
.cart-item[data-id-product="38"] .cart-line-product-quantity,
.cart-item[data-id-product="38"] .input-group {
    display: none !important;
}


/* ============================================
   PLAN & VASQUE - Overrides spécifiques
   ============================================ */

/* Page background */
[id^="module-ws_configurateur"] {
    background: #0d0d0d !important;
}
[id^="module-ws_configurateur"] #wrapper {
    background: transparent !important;
    border-bottom: none !important;
}
[id^="module-ws_configurateur"] #header,
[id^="module-ws_configurateur"] .header-banner,
[id^="module-ws_configurateur"] .header-nav,
[id^="module-ws_configurateur"] .header-top,
[id^="module-ws_configurateur"] .desktop-header-style-4,
[id^="module-ws_configurateur"] .pv-header {
    background: transparent !important;
}
[id^="module-ws_configurateur"] .breadcrumb {
    background: transparent !important;
}

/* Material cards */
.material_option {
    background: #242424 !important;
    border: 1px solid #3b3b3b !important;
    border-radius: 36px !important;
    padding: 10px;
}

/* Material selector pills */
.material_selector .selector_options {
    background: #1a1a1a;
    border: 1px solid #3b3b3b;
    border-radius: 40px;
    padding: 4px;
}

/* Modals */
.option_modal .modal_content,
.credence_dimension_modal .modal_content {
    background: #1a1a1a !important;
    border: 1px solid #3b3b3b !important;
    border-radius: 16px !important;
    color: #FFFFFF !important;
}
.option_modal .modal_overlay,
.credence_dimension_modal .modal_overlay {
    background: rgba(0, 0, 0, 0.7) !important;
}
.option_modal input, .option_modal select,
.credence_dimension_modal input, .credence_dimension_modal select {
    background: #141413 !important;
    border: 1px solid #242424 !important;
    border-radius: 8px !important;
    color: #FFFFFF !important;
    padding: 12px 16px !important;
}

/* Devis - cleaned up, styles now inline in main block */

/* Toggle */
.switch .slider { background: #3b3b3b !important; }
.switch input:checked + .slider { background: #FFE1B8 !important; }

/* Errors */
.step_errors {
    background: rgba(255, 107, 107, 0.1) !important;
    border: 1px solid rgba(255, 107, 107, 0.3) !important;
    border-radius: 12px !important;
    color: #ff6b6b !important;
}

/* Global form inputs */
#step_content input[type="text"],
#step_content input[type="number"],
#step_content select,
#step_content textarea {
    background: #141413 !important;
    /* border: 1px solid #242424 !important; */
    border-radius: 8px !important;
    color: #FFFFFF !important;
}
#step_content input:focus, #step_content select:focus {
    border-color: #FFE1B8 !important;
    outline: none !important;
}
