/* ═══════════════════════════════════════
   ORDER SUCCESS PAGE
═══════════════════════════════════════ */

.order-success-page {
    background: #f7f5f2;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    font-family: 'DM Sans', system-ui, sans-serif;
}

.order-success-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 24px;
    padding: 3rem 2.5rem;
    max-width: 480px;
    width: 100%;
    text-align: center;
    animation: successFadeUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
    box-shadow: 0 20px 60px rgba(0,0,0,.07);
}

@keyframes successFadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Animated checkmark ── */
.order-success-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 2rem;
}

.checkmark {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: block;
    stroke-width: 2.5;
    stroke: #1a1a1a;
    stroke-miterlimit: 10;
}

.checkmark-circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 2;
    stroke: #1a1a1a;
    fill: none;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) 0.2s forwards;
}

.checkmark-check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

@keyframes stroke {
    100% {
        stroke-dashoffset: 0;
    }
}

/* ── Text ── */
.order-success-label {
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #aaa;
    margin-bottom: 0.5rem;
}

.order-success-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 2rem;
    font-weight: 400;
    color: #1a1a1a;
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.order-success-sub {
    font-size: 14px;
    color: #888;
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
}

/* ── Detail rows ── */
.order-success-details {
    background: #f9f9f7;
    border: 0.5px solid #e5e5e5;
    border-radius: 14px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 14px;
    text-align: left;
}

.order-detail-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

    .order-detail-row i {
        font-size: 13px;
        color: #aaa;
        width: 16px;
        flex-shrink: 0;
    }

    .order-detail-row div {
        display: flex;
        flex-direction: column;
        gap: 2px;
    }

.detail-label {
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #aaa;
}

.detail-value {
    font-size: 13px;
    font-weight: 500;
    color: #1a1a1a;
    font-family: 'Courier New', monospace;
    letter-spacing: 0.06em;
}

/* ── CTA button ── */
.order-success-btn {
    display: inline-block;
    width: 100%;
    padding: 15px;
    background: #1a1a1a;
    color: #fff;
    border: none;
    border-radius: 100px;
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.15s;
}

    .order-success-btn:hover {
        opacity: 0.75;
        color: #fff;
    }

/* ── Responsive ── */
@media (max-width: 480px) {
    .order-success-card {
        padding: 2rem 1.25rem;
    }

    .order-success-title {
        font-size: 1.6rem;
    }
}
