/* ORDER SUCCESS */

.flash-container:has(.order-success) {
    width: 100%;
    padding: 34px 20px;
    display: flex;
    justify-content: center;
}

.order-success {
    width: min(100%, 620px);
    padding: 42px 32px;
    text-align: center;
    background: #fffdf9;
    border: 1px solid #eadfd3;
    border-radius: 20px;
    box-shadow: 0 12px 36px rgba(61, 48, 43, .08);
}

.order-success-icon {
    width: 66px;
    height: 66px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #edf2e8;
    border: 1px solid #dce6d3;
}

.order-success-icon svg {
    width: 31px;
    height: 31px;
    fill: none;
    stroke: #627b50;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.order-success-eyebrow {
    display: block;
    margin-bottom: 10px;
    color: #9b7864;
    font-size: 10px;
    letter-spacing: 3px;
}

.order-success h2 {
    margin: 0 0 14px;
    color: #49372f;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(30px, 5vw, 42px);
    font-weight: 600;
}

.order-success-message {
    margin: 0 0 10px;
    color: #49372f;
    font-size: 15px;
    font-weight: 600;
}

.order-success-note {
    margin: 0 auto 25px;
    max-width: 420px;
    color: #806e64;
    font-size: 13px;
    line-height: 1.7;
}

.order-success-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 25px;
    border-radius: 24px;
    background: #75452e;
    color: #fffdf9;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: background .2s ease, transform .2s ease;
}

.order-success-button:hover {
    background: #593522;
    transform: translateY(-1px);
}

@media (max-width: 600px) {
    .flash-container:has(.order-success) {
        padding: 22px 14px;
    }

    .order-success {
        padding: 32px 20px;
    }
}
