.amouroi-ec-order-status-page {
    display: grid;
    min-height: 58vh;
    place-items: center;
    padding: 70px 22px;
    color: #2d2925;
    background: #f8f5ef;
}

.amouroi-ec-order-status-card {
    width: min(100%, 680px);
    padding: 52px 30px;
    border: 1px solid #e1d8cc;
    background: #fffdf9;
    box-shadow: 0 18px 50px rgba(83, 65, 48, .07);
    text-align: center;
}

.amouroi-ec-order-status-card .amouroi-ec-kicker {
    justify-content: center;
}

.amouroi-ec-order-status-mark {
    display: grid;
    width: 64px;
    height: 64px;
    place-items: center;
    margin: 26px auto 18px;
    border-radius: 50%;
    color: #fffdf9;
    background: #806d5d;
    font-size: 30px;
}

.amouroi-ec-order-status-mark.is-cancelled {
    color: #806d5d;
    background: #e9dfd4;
}

.amouroi-ec-order-status-card h1 {
    margin: 0 0 16px;
    font-size: clamp(28px, 5vw, 48px);
    font-weight: 500;
}

.amouroi-ec-order-status-lead,
.amouroi-ec-order-status-card [data-amouroi-order-status-message] {
    max-width: 520px;
    margin: 0 auto;
    color: #716960;
    line-height: 1.85;
}

.amouroi-ec-order-number {
    margin: 22px 0;
    font-size: 14px;
}

.amouroi-ec-order-status-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    margin-top: 30px;
}

.amouroi-ec-order-status-actions .amouroi-ec-primary-button {
    width: auto;
    min-width: 220px;
}

.amouroi-ec-order-status-actions > a:not(.amouroi-ec-primary-button) {
    color: #5e5044;
    text-decoration: underline;
    font-size: 13px;
}

@media (max-width: 620px) {
    .amouroi-ec-order-status-page {
        padding: 42px 14px;
    }

    .amouroi-ec-order-status-card {
        padding: 38px 20px;
    }

    .amouroi-ec-order-status-actions {
        flex-direction: column;
        gap: 16px;
    }

    .amouroi-ec-order-status-actions .amouroi-ec-primary-button {
        width: 100%;
    }
}

/* AMOUROI VOGUE STYLE: 完了・未完了状態を英字主見出しと日本語ガイドで統一します。 */
.amouroi-ec-order-status-page,
.amouroi-ec-order-status-page *,
.amouroi-ec-order-status-page *::before,
.amouroi-ec-order-status-page *::after {
    box-sizing: border-box;
}

.amouroi-ec-order-status-page {
    --aec-status-ink: #171717;
    --aec-status-muted: #77736d;
    --aec-status-paper: #f6f2eb;
    --aec-status-card: #fffdf9;
    --aec-status-accent: #a88b72;
    background: radial-gradient(circle at 50% 12%, #fffdf9 0, var(--aec-status-paper) 52%, #eee8df 100%);
    color: var(--aec-status-ink);
    font-family: "Helvetica Neue", "Hiragino Kaku Gothic ProN", "Yu Gothic", YuGothic, Arial, sans-serif;
    min-height: clamp(560px, 72vh, 820px);
}

.amouroi-ec-order-status-card {
    background: var(--aec-status-card);
    border-color: rgba(23, 23, 23, .13);
    box-shadow: 0 24px 70px rgba(64, 49, 35, .08);
    max-width: 820px;
    min-width: 0;
    overflow: clip;
    padding: clamp(42px, 7vw, 86px) clamp(22px, 7vw, 86px);
    width: min(100%, 820px);
}

.amouroi-ec-order-status-card h1 {
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin: 0 0 24px;
    min-width: 0;
    text-align: center;
    word-break: keep-all;
}

.amouroi-ec-status-heading-en {
    color: var(--aec-status-ink);
    font-family: "Cormorant Garamond", "Times New Roman", "Yu Mincho", YuMincho, serif;
    font-size: clamp(36px, 6vw, 72px);
    font-weight: 500;
    letter-spacing: -.035em;
    line-height: .98;
    max-width: 100%;
    min-width: 0;
    overflow-wrap: normal;
    text-wrap: balance;
    white-space: normal;
    width: 100%;
}

.amouroi-ec-status-heading-ja {
    color: var(--aec-status-muted);
    font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", YuGothic, sans-serif;
    font-size: clamp(14px, 2vw, 20px);
    font-weight: 400;
    letter-spacing: .08em;
    line-height: 1.6;
    max-width: 100%;
    min-width: 0;
    white-space: nowrap;
}

.amouroi-ec-order-status-lead,
.amouroi-ec-order-status-message {
    display: flex;
    flex-direction: column;
    gap: 7px;
    max-width: 560px;
    text-align: center;
}

.amouroi-ec-status-lead-en,
.amouroi-ec-status-message-en {
    color: var(--aec-status-accent);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .15em;
    line-height: 1.5;
    text-transform: uppercase;
}

.amouroi-ec-order-status-lead > span:not(.amouroi-ec-status-lead-en),
.amouroi-ec-order-status-message > span:not(.amouroi-ec-status-message-en) {
    color: var(--aec-status-muted);
    font-size: 13px;
    line-height: 1.9;
    word-break: keep-all;
}

.amouroi-ec-order-status-message {
    border-top: 1px solid rgba(23, 23, 23, .12);
    margin-top: 30px;
    padding-top: 22px;
}

.amouroi-ec-order-status-actions {
    gap: 26px;
    margin-top: 34px;
}

.amouroi-ec-order-status-actions .amouroi-ec-primary-button {
    align-items: center;
    background: var(--aec-status-ink);
    border-color: var(--aec-status-ink);
    display: inline-flex;
    flex-direction: column;
    gap: 3px;
    justify-content: center;
    min-height: 64px;
    padding: 13px 20px;
    position: relative;
    padding-right: 44px;
    text-align: center;
    white-space: nowrap;
}

.amouroi-ec-order-status-actions .amouroi-ec-action-arrow {
    position: absolute;
    right: 17px;
    top: 50%;
    transform: translateY(-50%);
}

.amouroi-ec-order-status-actions .amouroi-ec-primary-button > span:first-child,
.amouroi-ec-order-status-actions > a:not(.amouroi-ec-primary-button) > span:first-child {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .12em;
}

.amouroi-ec-order-status-actions a small {
    color: inherit;
    display: block;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: .04em;
    line-height: 1.35;
}

.amouroi-ec-order-status-actions > a:not(.amouroi-ec-primary-button) {
    align-items: center;
    display: inline-flex;
    flex-direction: column;
    gap: 3px;
    letter-spacing: 0;
    text-decoration: none;
    white-space: nowrap;
}

@media (max-width: 620px) {
    .amouroi-ec-order-status-card {
        padding: 42px 20px 46px;
    }

    .amouroi-ec-status-heading-en {
        font-size: clamp(24px, 7vw, 34px);
        letter-spacing: -.05em;
    }

    .amouroi-ec-status-heading-ja {
        font-size: 13px;
        letter-spacing: .06em;
    }

    .amouroi-ec-order-status-lead > span:not(.amouroi-ec-status-lead-en),
    .amouroi-ec-order-status-message > span:not(.amouroi-ec-status-message-en) {
        font-size: 12px;
    }

    .amouroi-ec-order-status-actions {
        gap: 18px;
    }
}
