section.container:has(> .ui-card.order-form--complete) {
    padding-top: 0;
    background: #fff;
    min-height: calc(100vh - env(safe-area-inset-top));
    display: flex;
    align-items: center;
}

.ui-card.order-form.order-form--complete {
    padding: 0;
    border: none;
    width: 100%;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.order-complete {
    text-align: center;
    background: #fff;
    padding: 36px 20px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-wrap: anywhere;
}

.order-complete__owl {
    display: block;
    width: clamp(8rem, 32vw, 11rem);
    height: clamp(8rem, 32vw, 11rem);
    margin: 0 auto 1.25rem;
    object-fit: contain;
}

.order-complete__title {
    margin: 0 0 14px 0;
    font-size: 1.35rem;
    line-height: 1.3;
    color: #2e7d32;
    font-weight: 700;
}

.order-complete__text {
    margin: 0 auto 12px auto;
    max-width: 440px;
    font-size: 0.95rem;
    line-height: 1.65;
    color: #555;
    overflow-wrap: anywhere;
}

.order-complete__ref {
    margin: 0 auto 24px auto;
    max-width: 440px;
    font-size: 0.95rem;
    line-height: 1.4;
    color: #1a1a1a;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.order-complete__ref[hidden] {
    display: none !important;
}

.order-complete__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-height: 48px;
    padding: 0.8rem 1.9rem;
    border: none;
    border-radius: 999px;
    background: #1a1a1a;
    color: #fff;
    font-family: var(--font-family);
    font-size: 1.05rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    text-decoration: none;
    box-sizing: border-box;
    cursor: pointer;
    transition: background-color 0.22s ease, transform 0.12s ease;
    -webkit-tap-highlight-color: transparent;
    transform: none;
}

.order-complete__btn:hover,
.order-complete__btn:focus-visible {
    background: #333;
    color: #fff;
    transform: none;
}

.order-complete__btn:active {
    background: #333;
    color: #fff;
    transform: translateY(1px);
}

.order-complete--success {
    animation: orderSuccessFade 0.55s ease-out both;
}

.order-complete--success .order-complete__owl {
    animation: orderSuccessIcon 0.55s ease-out both;
}

@keyframes orderSuccessFade {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes orderSuccessIcon {
    from {
        opacity: 0;
        transform: scale(0.92);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@media (max-width: 360px) {
    .order-complete {
        padding: 30px 14px;
    }

    .order-complete__title {
        font-size: 1.2rem;
    }
}

@media (min-width: 720px) {
    section.container:has(> .ui-card.order-form--complete) {
        max-width: 36rem;
        margin-left: auto;
        margin-right: auto;
        padding-top: 2rem;
        padding-bottom: 3rem;
    }

    .ui-card.order-form.order-form--complete {
        width: 100%;
        margin: 0;
        border: 1px solid #eee;
        border-radius: 18px;
        overflow: hidden;
        box-shadow: 0 1px 2px rgba(44, 38, 32, 0.04), 0 8px 24px rgba(44, 38, 32, 0.05);
    }

    .order-complete {
        padding: 48px 36px;
    }
}
