.wg-atc-wrapper {
    background-color: #FFFFFF;
    width: 100%;
    padding: 16px;
    padding-bottom: 24px;
}
.wg-atc-wrapper .wg-atc-container {
    background: #1E1E1E;
    border-radius: 14px;
    display: flex;
    align-items: center;
    height: 64px;
    width: 100%;
    padding: 8px;
    justify-content: space-between;
    cursor: pointer;
}

#confirmVariant {
    background: #1E1E1E !important;
    border-radius: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 64px;
    width: 100%;
    padding: 8px;
    border: none;
    font-size: 17px;
    font-weight: 700;
    text-align: center;
    color: white;
    margin-bottom: 16px;

}

.wg-atc-wrapper .minus,
.wg-atc-wrapper .plus {
    height: 48px;
    width: 48px;
    border-radius: 6px;
    border: none;
    background-color: #FFFFFF !important;
    position: relative;
}
.wg-atc-wrapper .minus svg,
.wg-atc-wrapper .plus svg {
    top: 50%;
    left: 50%;
    position: absolute;
    translate: -50% -50%;
}

.wg-atc-wrapper .plus {
    margin-left: 6px;
}
.wg-atc-wrapper .quantity {
    display: flex;
    align-items: center;

}

.wg-atc-wrapper .quantity_input {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;

    padding: 0;
    margin-left: 16px;
    background-color: transparent;
    font-weight: 700;
    font-size: 17px;
    color: #FFFFFF;
    display: inline;
    border: none;
    height: 100%;
}

.wg-atc-wrapper .pass_placeholder {
    background-color: transparent;
    font-weight: 700;
    font-size: 17px;
    color: #FFFFFF;
}

.wg-atc-wrapper .price {
    display: flex;
    justify-content: end;
    align-items: center;
}

.wg-atc-wrapper .price .price_eur {
    font-size: 17px;
    font-weight: 700;
    color: #B3B3B3;

}

.wg-atc-wrapper .price svg {
    margin-right: 16px;
    margin-left: 8px;
}

/* Modal container */
.wg-modal {
    position: fixed; /* Stay in place */
    z-index: 1000; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: hidden; /* Prevent scroll */
    background-color: rgba(0, 0, 0, 0.6); /* Black background with opacity */
    opacity: 0;
    pointer-events: none; /* Disable interactions when hidden */
    transition: opacity 0.3s ease-out; /* Smooth transition for modal appearance */
    backdrop-filter: blur(3px); /* Blur effect */
    font-family: "Inter";
}

.wg-modal * {
    font-family: "Inter";
}



/* Modal content box */
.wg-modal-content {
    position: absolute;
    background-color: #fff;
    margin: auto;
    padding: 20px;
    border-radius: 8px;
    transform: translateY(100%); /* Initial position off-screen */
    transition: transform 0.3s ease-out; /* Smooth transition for sliding up */
    bottom: 0;
    width: 100%;
    border-radius: 8px 8px 0px 0px;
    overflow: hidden;
}

.wg-modal-content label input[type="checkbox"]#insurance-checkbox {
    border: solid 2px #1E1E1E;
    border-radius: 5px;
    height: 18px;
    width: 18px;
    border-radius: 3px;
    appearance: none;
    background-color: transparent;
    cursor: pointer;
}

.wg-modal-content label input[type="checkbox"]#insurance-checkbox:checked {
    background-color: #1E1E1E;
}

.wg-modal-content label input[type="checkbox"]#insurance-checkbox:checked:after {
    content: '';
    display: block;
    width: 6px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    margin-left: 4px;
    margin-top: 1px;
}

.wg-modal-content label > div {
    height: 18px;
}

.wg-modal-content label {
    display: flex;
    gap: 12px;
    padding-left: 8px;
    font-family: Inter;
    font-size: 13px;
    font-weight: 600;
    line-height: 20px;
    text-align: left;
    align-items: center;
    max-width: 90%;
}

/* When the modal is displayed */
.wg-modal.show {
    opacity: 1;
    pointer-events: auto; /* Enable interactions */
}

.wg-modal.show .wg-modal-content {
    transform: translateY(0); /* Slide up to the final position */
}

/* Details */
.details_toggle {
    color: #757575;
    font-size: 13px;
    font-weight: 600;
    line-height: 20px;
    text-align: left;
    margin-left: 38px;
    margin-top: 8px;
}


.details_inner {
    display: flex;
    gap: 16px;
    flex-direction: column;
    font-size: 13px;
    font-weight: 600;
    line-height: 20px;
    text-align: left;
    color: #757575;
    padding-left: 8px;

}

.details_inner .details_advantages {
    display: flex;
    gap: 4px;
    flex-direction: column;
}

.details_advantage {
    color: #1E1E1E;
    display: flex;
    align-items: center;
    gap: 5px;
}

.details_advantage.g {
    color: #009951;
}

.details {
    overflow: hidden;
}

.details_inner {
    height: 0;
    overflow: hidden;
    transition: height 0.3s ease-out;
}

.details_inner.expanded {
    height: auto; /* This is set in JS after the transition ends */
}

.details_toggle {
    cursor: pointer;
    transition: opacity 0.3s ease-out;
    opacity: 1;
}

.details_toggle.expanded {
    opacity: 0;
    pointer-events: none;
}



/**
  * Calendar thumb
  */

  .variant_header {
    position: relative;
    background-color: white;
    height: 48px;
    border-bottom: 0.5px solid rgba(0, 0, 0, .4);
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin: -20px -20px;
    margin-bottom: 20px;

}

.variant_thumb {
    width: 36px;
    height: 5px;
    margin-top: 10px;
    background-color: #C7C7CC;
    border-radius: 9999px;
}

@media (min-width: 768px) {
    .variant_header {
        display: none;
    }

    #productMainContainer {
        transition: opacity 0.3s ease-out;
        opacity: 1;
    }
    #productMainContainer.fade {
        opacity: 0;
    }
    
}

