:root {
    --lmo-ink: #121212;
    --lmo-primary: #0d71b9;
    --lmo-accent: #ffad00;
    --lmo-surface: #ffffff;
    --lmo-radius: 20px;
}

.lmo-checkout-form,
.lmo-account {
    border: 0;
    border-radius: var(--lmo-radius);
    padding: 40px 36px;
    background: var(--lmo-surface);
    color: var(--lmo-ink);
    box-shadow: 0 12px 32px rgba(18, 18, 18, 0.08);
}

.lmo-button {
    display: inline-block;
    border: 2px solid var(--lmo-ink);
    border-radius: 100px;
    background: transparent;
    color: var(--lmo-ink);
    padding: 10px 25px;
    text-decoration: none;
    cursor: pointer;
    font-weight: 700;
    transition: all 0.2s ease;
}

.lmo-button:hover {
    background: var(--lmo-accent);
    border-color: var(--lmo-accent);
    color: var(--lmo-ink);
}

.lmo-checkout-wrap {
    max-width: 1500px;
    margin: 48px auto;
    font-family: Roboto, Arial, sans-serif;
}

.lmo-checkout-form {
    display: grid;
    gap: 16px;
}

.lmo-checkout-heading {
    text-align: center;
}

.lmo-eyebrow {
    display: block;
    color: var(--lmo-primary);
    font-size: 0.75rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 800;
    margin-bottom: 8px;
}

.lmo-checkout-form h2 {
    margin: 0 0 8px;
    font-family: Archivo, Roboto, Arial, sans-serif;
    font-size: 42px;
    line-height: 1.05;
    font-weight: 900;
    color: var(--lmo-ink);
}

.lmo-order-summary {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
    padding: 18px 20px;
    border: 1px solid rgba(18, 18, 18, 0.12);
    border-radius: 12px;
    background: #fafafa;
}

.lmo-order-summary div {
    display: grid;
    gap: 4px;
}

.lmo-order-summary span {
    font-size: 0.9rem;
    color: #5d6268;
    line-height: 1.45;
}

.lmo-customer-details {
    display: grid;
    gap: 10px;
    padding: 24px;
    border-radius: 14px;
    background: #f5f6f7;
}

.lmo-customer-details h3,
.lmo-payment-heading h3 {
    margin: 0 0 4px;
    font-family: Archivo, Roboto, Arial, sans-serif;
    font-size: 22px;
    font-weight: 900;
    color: var(--lmo-ink);
}

.lmo-checkout-form label {
    font-weight: 700;
    color: var(--lmo-ink);
}

.lmo-checkout-form input:not([type="checkbox"]),
.lmo-checkout-form select {
    width: 100%;
    box-sizing: border-box;
    padding: 14px;
    border: 1px solid rgba(18, 18, 18, 0.25);
    border-radius: 8px;
    font-size: 1rem;
    margin-bottom: 6px;
    background: #ffffff;
    color: var(--lmo-ink);
}

.lmo-checkout-form button {
    margin-top: 2px;
    background: var(--lmo-primary);
    border-color: var(--lmo-primary);
    color: #ffffff;
    padding: 14px 28px;
    justify-self: center;
}

.lmo-checkout-form button:hover {
    background: var(--lmo-accent);
    border-color: var(--lmo-accent);
    color: var(--lmo-ink);
}

.lmo-check {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    margin: 8px 0;
    font-weight: 400 !important;
}

.lmo-check input[type="checkbox"] {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

.lmo-check__box {
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
    margin-top: 6px;
    box-sizing: border-box;
    border: 1px solid #6b7075;
    border-radius: 3px;
    background: #ffffff;
}

.lmo-check input[type="checkbox"]:checked + .lmo-check__box {
    border-color: var(--lmo-primary);
    background: var(--lmo-primary);
}

.lmo-check input[type="checkbox"]:checked + .lmo-check__box::after {
    display: block;
    width: 4px;
    height: 8px;
    margin: 2px 0 0 5px;
    border: solid #ffffff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    content: "";
}

.lmo-check input[type="checkbox"]:focus-visible + .lmo-check__box {
    outline: 2px solid rgba(13, 113, 185, 0.45);
    outline-offset: 2px;
}

.lmo-check__text {
    line-height: 1;
    margin-top:1px;
}

.lmo-form-message {
    min-height: 1.5em;
    color: #a33;
}

.lmo-payment-heading {
    display: none;
    border-top: 1px solid rgba(18, 18, 18, 0.12);
    padding-top: 20px;
}

.lmo-payment-heading p {
    margin: 0;
    color: #5d6268;
}

.lmo-embedded-checkout {
    min-height: 20px;
    margin-top: 0;
}

.lmo-success {
    padding: 24px;
    border-radius: var(--lmo-radius);
    background: #eef8f0;
    border-left: 5px solid #2f8f46;
}

.lmo-success-popup {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(15, 35, 52, .58);
    border: 0;
    border-radius: 0;
}

.lmo-success-popup.is-dismissed {
    display: none;
}

.lmo-success-popup__card {
    position: relative;
    width: min(460px, 100%);
    box-sizing: border-box;
    padding: 38px 32px 32px;
    text-align: center;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .22);
}

.lmo-success-popup__close {
    position: absolute;
    top: 12px;
    right: 14px;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: #f1f5f7;
    color: #526676;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.lmo-success-popup__icon {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: #e7f6eb;
    color: #2f8f46;
    font-size: 32px;
    font-weight: 800;
}

.lmo-success-popup__card h2 {
    margin: 0 0 10px;
}

.lmo-success-popup__card p {
    margin: 0;
    color: #5d6268;
    line-height: 1.6;
}

.lmo-success-popup__button {
    min-width: 140px;
    margin-top: 24px;
    padding: 12px 22px;
    border: 0;
    border-radius: 8px;
    background: #0d71b9;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

.lmo-success h2 {
    font-family: Archivo, Roboto, Arial, sans-serif;
}

@media (max-width: 760px) {
    .lmo-checkout-form {
        padding: 28px 22px;
    }

    .lmo-checkout-form h2 {
        font-size: 34px;
    }

    .lmo-order-summary {
        align-items: flex-start;
        flex-direction: column;
    }
}
