.checkout_popup {
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(6px);
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 125;
    visibility: hidden;
    transform: scale(0);
    opacity: 0;
    transition: all 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
}

.checkout_popup.opened {
    visibility: visible;
    transform: scale(1);
    opacity: 1;
}

.checkout_popup .checkout_popup__wrapper {
    background: #fff;
    border-radius: 1rem;
    max-height: 90%;
    width: clamp(20em, 95%, 50em);
    overflow-y: scroll;
    overflow-x: clip;
    -ms-overflow-style: none;
    scrollbar-width: none;
    margin: 0 auto;
    font-size: 1.2em;
    padding: 10px;
}

.checkout_popup .checkout_popup__wrapper::-webkit-scrollbar {
    display: none;
}

.checkout_popup .icon {
    display: inline-block;
    width: 2em;
    height: 2em;
    stroke-width: 0;
    stroke: currentColor;
    fill: currentColor;
    margin-bottom: 5px;
}

.checkout_popup .icon.big-icon {
    width: 2.5em;
    height: 2.5em;
}

.checkout_popup__close {
    width: 2em;
    height: 2em;
}

.checkout_popup button {
    background: none;
    color: inherit;
    border: none;
    padding: 0;
    font: inherit;
    cursor: pointer;
    outline: inherit;
    font-size: 2rem;
}

.checkout_popup svg {
    font-size: 18px;
    color: inherit;
    fill: currentColor;
    stroke: currentColor;
}
.checkout_popup form {
    display: grid;
    justify-items: center;
    margin-bottom: 25px;
}

.checkout_popup h2 {
    font-size: 3rem;
    font-weight: bold;
}

.checkout_popup input,
.checkout_popup textarea,
.checkout_popup select {
    font-size: 2rem;
}

.checkout_popup .inputs {
    display: grid;
    gap: 10px;
    margin: 0.5rem 0;
    align-items: start;
}

.checkout_popup .input-row {
    display: flex;
    justify-content: center;
    align-items: center;
}

.checkout_popup .input-row > * + * {
    margin-right: 0.5em;
}

.checkout_popup .input-box {
    position: relative;
}

.checkout_popup input[type="tel"] {
    text-align: left;
    direction: ltr;
}

.checkout_popup .input-box .prefix {
    position: absolute;
    display: block;
    right: 7px;
    top: 8px;
    z-index: 9;
    font-size: 2rem;
    /* Adding these properties to ensure the prefix doesn't overlap with text */
    white-space: nowrap;
    pointer-events: none; /* Allows clicking through the prefix to the input */
}

/* Add a class for inputs with prefix to control padding */
.checkout_popup .input-box input,
.checkout_popup .input-box textarea {
    transition: padding 0.2s ease; /* Smooth transition for padding changes */
}

.checkout_popup .actions button[type="reset"] svg,
.checkout_popup .actions button[type="reset"] i {
    background: black;
    color: white;
    border-radius: 50%;
    margin: 0 0.2em;
    width: 1.25em;
    height: 1.25em;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.checkout_popup .hour-select {
    min-width: 15rem;
    text-align: center;
}

.checkout_popup .actions button[type="reset"] {
    padding: 0 0.25em;
    margin: 0 0 0 1em;
}

.checkout_popup .actions .goto-checkout {
    padding: 0.5em 1em;
    background: #1fc917;
    border-radius: 20px;
    color: white;
    font-weight: bold;
}

#checkout-payment-select #cart_form {
    width: 100%;
    max-height: 700px;
    overflow-y: scroll;
}

.upsell-continue {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
}

#upsell-continue {
    left: 50%;
    transform: translate(-50%, -50%);
    position: fixed;
}