/* Overlay für das Pop-up */
.mwd-wc-lieferland-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* 50% schwarzes Overlay */
    z-index: 9998;
}

.mwd-wc-lieferland-popup {
    position: fixed;
    top: 30%;
    left: 50vw;
    transform: translate(-50%, -50%);
    background: white;
    padding: 20px;
    border: 1px solid #ccc;
    z-index: 10000;
    width: 400px;
    max-width: 90vw;
}

.select2-container {
    z-index: 10001 !important;
}

.mwd-wc-lieferland-popup h2 {
    margin-top: 0;
}
.mwd-popup-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#mwd-wc-lieferland-country {
    flex-grow: 1;
    margin-right: 10px;
}

.mwd-popup-wrapper select,
.mwd-popup-wrapper button {
    height: 40px; /* Gleiche Höhe für Dropdown und Button */
    line-height: 40px; /* Vertikale Zentrierung des Textes */
    padding: 0 15px; /* Innere Abstände für das Dropdown */
    font-size: 16px; /* Schriftgröße */
    border-radius: 5px; /* Abgerundete Ecken */
}

/* Höhe des Select2-Containers anpassen */
.select2-container .select2-selection--single {
    height: 40px !important; /* Gleiche Höhe wie der Button */
    display: flex;
    align-items: center;
    border-radius: 5px;
}

/* Text im Select2-Dropdown vertikal zentrieren */
.select2-container .select2-selection--single .select2-selection__rendered {
    line-height: 40px !important; /* Vertikale Zentrierung des Textes */
}

/* Dropdown-Pfeil vertikal zentrieren */
.select2-container .select2-selection--single .select2-selection__arrow {
    height: 40px !important;
    display: flex;
    align-items: center;
}

#mwd-wc-lieferland-submit {
    padding: 0 20px;
    background-color: #D10011;
    color: white;
    border: none;
    cursor: pointer;
    margin-left: 15px;
    margin-top: 3px;
    position: relative;
    min-width: 65px;
}

#mwd-wc-lieferland-submit:hover {
    background-color: #620009;
}

/* Spinner-Styling */
.mwd-spinner {
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 0.8s linear infinite;
    display: inline-block;
    position: absolute;
    left: 50%;
    top: 50%;
    margin-left: -10px;
    margin-top: -10px;
}

.price,
.uc_price,
.total_price {
   position: relative;
}
.price *,
.uc_price *,
.total_price *{
    filter: blur(4px);
    transition: all 0.3s ease-in-out;
    opacity: 0.7;
    position: relative;
}
.price.calculated *,
.uc_price.calculated *,
.total_price.calculated * {
    filter: blur(0);
    opacity: 1;
}

.price::before,
.uc_price::before,
.total_price::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: white;
    transform: translateY(-50%);
    border-radius: 5px;
    z-index: 2;
}

.price::after,
.uc_price::after,
.total_price::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 10px;
    height: 2px;
    background-color: #D10011;
    transform: translateY(-50%);
    animation: move 0.8s ease-in-out infinite alternate;
    border-radius: 5px;
    z-index: 3;
}
.archive .price::before,
.archive .price::after,
.uc_price::before,
.uc_price::after {
    margin-left: calc(50% - 25px);
}

@keyframes move {
    0% {
        left: 0;
    }
    100% {
        left: calc(50px - 10px);
    }
}


.price.calculated:before,
.price.calculated:after,
.uc_price.calculated:before,
.uc_price.calculated:after,
.total_price.calculated:before,
.total_price.calculated:after {
    display: none
}


@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
