.magd-original-wrapper {
    display: none !important;
}

.magd-original-field {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.magd-widget,
.magd-widget * {
    box-sizing: border-box;
}

.magd-widget {
    position: relative;
    width: 100%;
    max-width: 420px;
    margin: 16px 0 28px;
    z-index: 30;
    font-family: inherit;
}

.magd-trigger {
    appearance: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 62px;
    padding: 10px 14px;
    border: 1px solid #222 !important;
    border-radius: 12px !important;
    background: #fff !important;
    color: #222 !important;
    text-align: left;
    cursor: pointer;
    box-shadow: none !important;
}

.magd-trigger:hover,
.magd-trigger:focus,
.magd-trigger:focus-visible {
    background: #fff !important;
    color: #222 !important;
    outline: none;
    box-shadow: 0 0 0 2px rgba(0,0,0,.08) !important;
}

.magd-trigger-copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.magd-trigger-label {
    margin-bottom: 3px;
    font-size: 11px;
    line-height: 1.2;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .02em;
}

.magd-trigger-value {
    font-size: 15px;
    line-height: 1.25;
    font-weight: 400;
    text-transform: none;
}

.magd-chevron {
    width: 10px;
    height: 10px;
    margin: 0 5px 5px 15px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform .18s ease, margin .18s ease;
    flex: 0 0 auto;
}

.magd-widget.is-open .magd-chevron {
    margin-top: 6px;
    margin-bottom: 0;
    transform: rotate(225deg);
}

.magd-menu {
    position: absolute;
    top: calc(100% - 1px);
    left: 0;
    width: 100%;
    padding: 13px 15px;
    border: 1px solid #dedede;
    border-radius: 0 0 12px 12px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(0,0,0,.16);
    z-index: 9999;
}

.magd-widget.is-open .magd-trigger {
    border-radius: 12px !important;
}

.magd-option-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 72px;
    padding: 8px 0;
}

.magd-option-row + .magd-option-row {
    border-top: 1px solid #ededed;
}

.magd-option-copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.magd-option-copy strong {
    margin: 0 0 3px;
    color: #222;
    font-size: 16px;
    line-height: 1.25;
    font-weight: 600;
}

.magd-option-copy span {
    color: #333;
    font-size: 15px;
    line-height: 1.25;
}

.magd-stepper {
    display: grid;
    grid-template-columns: 34px 28px 34px;
    align-items: center;
    flex: 0 0 auto;
    text-align: center;
}

.magd-step {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    min-width: 34px;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: #f2f2f2 !important;
    color: #222 !important;
    font-family: Arial, sans-serif;
    font-size: 23px;
    line-height: 1;
    font-weight: 300;
    cursor: pointer;
    box-shadow: none !important;
}

.magd-step:hover:not(:disabled),
.magd-step:focus-visible:not(:disabled) {
    background: #e7e7e7 !important;
    outline: none;
}

.magd-step:disabled {
    color: #bdbdbd !important;
    background: #f4f4f4 !important;
    cursor: not-allowed;
    opacity: .75;
}

.magd-number {
    color: #222;
    font-size: 15px;
    line-height: 1;
    font-weight: 400;
}

@media (max-width: 520px) {
    .magd-widget {
        max-width: none;
    }

    .magd-menu {
        padding-left: 14px;
        padding-right: 14px;
    }

    .magd-option-row {
        gap: 12px;
    }
}
