
    @import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=DM+Sans:wght@300;400;500;600&display=swap');

    :root {
        --green-deep:   #0a6640;
        --green-mid:    #14a85e;
        --green-bright: #22d47a;
        --green-glow:   rgba(34, 212, 122, 0.18);
        --gold:         #f5c842;
        --bg:           #f4f9f6;
        --white:        #ffffff;
        --ink:          #0d1f16;
        --ink-soft:     #4a6358;
        --border:       rgba(20, 168, 94, 0.15);
    }

    * { margin: 0; padding: 0; box-sizing: border-box; }

    body { font-family: 'DM Sans', sans-serif; background: var(--bg); min-height: 100vh; overflow-x: hidden; }

    .success-bg {
        position: fixed; inset: 0; z-index: 0;
        background:
            radial-gradient(ellipse 80% 60% at 10% 10%, rgba(34,212,122,0.13) 0%, transparent 60%),
            radial-gradient(ellipse 60% 80% at 90% 90%, rgba(20,168,94,0.10) 0%, transparent 55%),
            var(--bg);
        pointer-events: none;
    }

    .orb { position: fixed; border-radius: 50%; filter: blur(60px); opacity: 0.35; animation: drift 10s ease-in-out infinite alternate; pointer-events: none; z-index: 0; }
    .orb-1 { width: 380px; height: 380px; background: var(--green-bright); top: -120px; left: -100px; animation-delay: 0s; }
    .orb-2 { width: 260px; height: 260px; background: var(--green-mid); bottom: -80px; right: -80px; animation-delay: -4s; }
    .orb-3 { width: 180px; height: 180px; background: var(--gold); top: 50%; left: 60%; animation-delay: -7s; opacity: 0.15; }

    @keyframes drift {
        from { transform: translate(0, 0) scale(1); }
        to   { transform: translate(30px, 20px) scale(1.06); }
    }

    .success-page { position: relative; z-index: 1; min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 3rem 1.5rem; }

    .success-card {
        background: var(--white); border-radius: 28px; padding: 3.5rem 3rem;
        max-width: 640px; width: 100%;
        box-shadow: 0 4px 6px rgba(0,0,0,0.03), 0 20px 60px rgba(10,102,64,0.10), 0 0 0 1px var(--border);
        text-align: center;
        animation: riseIn 0.7s cubic-bezier(.22,1,.36,1) both;
    }

    @keyframes riseIn {
        from { opacity: 0; transform: translateY(40px) scale(0.97); }
        to   { opacity: 1; transform: translateY(0) scale(1); }
    }

    .check-wrap { position: relative; width: 96px; height: 96px; margin: 0 auto 2rem; }

    .check-ring {
        position: absolute; inset: 0; border-radius: 50%;
        background: linear-gradient(135deg, var(--green-mid), var(--green-bright));
        box-shadow: 0 0 0 12px var(--green-glow);
        display: flex; align-items: center; justify-content: center;
        animation: popIn 0.55s cubic-bezier(.22,1,.36,1) 0.3s both;
    }

    @keyframes popIn {
        from { opacity: 0; transform: scale(0.4); }
        to   { opacity: 1; transform: scale(1); }
    }

    .check-ring svg { width: 46px; height: 46px; stroke: white; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; fill: none; }
    .check-ring svg path { stroke-dasharray: 60; stroke-dashoffset: 60; animation: drawCheck 0.45s ease-out 0.75s forwards; }

    @keyframes drawCheck { to { stroke-dashoffset: 0; } }

    .pulse-ring { position: absolute; inset: -10px; border-radius: 50%; border: 2px solid var(--green-bright); opacity: 0; animation: pulseOut 2s ease-out 1s infinite; }

    @keyframes pulseOut {
        0%   { opacity: 0.7; transform: scale(1); }
        100% { opacity: 0; transform: scale(1.55); }
    }

    .success-eyebrow { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--green-mid); margin-bottom: 0.6rem; animation: fadeUp 0.5s ease 0.9s both; }
    .success-title { font-family: 'Playfair Display', serif; font-size: clamp(2rem, 5vw, 2.8rem); font-weight: 900; color: var(--ink); line-height: 1.15; margin-bottom: 1rem; animation: fadeUp 0.5s ease 1s both; }
    .success-title span { background: linear-gradient(120deg, var(--green-deep), var(--green-bright)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
    .success-message { font-size: 1.0625rem; color: var(--ink-soft); line-height: 1.7; max-width: 460px; margin: 0 auto 2rem; animation: fadeUp 0.5s ease 1.1s both; }

    @keyframes fadeUp {
        from { opacity: 0; transform: translateY(16px); }
        to   { opacity: 1; transform: translateY(0); }
    }

    .detail-strip { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2.25rem; animation: fadeUp 0.5s ease 1.2s both; }
    .detail-pill { display: inline-flex; align-items: center; gap: 0.45rem; background: var(--green-glow); border: 1px solid var(--border); border-radius: 100px; padding: 0.45rem 1rem; font-size: 0.875rem; font-weight: 500; color: var(--green-deep); }
    .detail-pill i { font-size: 0.8rem; color: var(--green-mid); }

    .summary-box { background: linear-gradient(135deg, #f0faf5, #e8f6ee); border: 1px solid var(--border); border-radius: 16px; padding: 1.5rem 1.75rem; margin-bottom: 2.25rem; text-align: left; animation: fadeUp 0.5s ease 1.25s both; }
    .summary-box-title { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green-mid); margin-bottom: 1rem; }
    .summary-row { display: flex; justify-content: space-between; align-items: flex-start; padding: 0.55rem 0; border-bottom: 1px solid var(--border); font-size: 0.9375rem; gap: 1rem; }
    .summary-row:last-child { border-bottom: none; padding-bottom: 0; }
    .summary-row .label { color: var(--ink-soft); font-weight: 400; white-space: nowrap; }
    .summary-row .value { color: var(--ink); font-weight: 600; text-align: right; }
    .summary-row .value.amount { font-family: 'Playfair Display', serif; font-size: 1.1rem; color: var(--green-deep); }

    /* Order items inside summary */
    .order-items-block { padding: 0.55rem 0; border-bottom: 1px solid var(--border); }
    .order-items-label { font-size: 0.9375rem; color: var(--ink-soft); margin-bottom: 0.5rem; }
    .order-item-row { display: flex; justify-content: space-between; align-items: center; padding: 0.3rem 0; font-size: 0.875rem; }
    .order-item-row .item-name { color: var(--ink); font-weight: 600; }
    .order-item-row .item-price { color: var(--ink-soft); }

    .divider { display: flex; align-items: center; gap: 1rem; margin-bottom: 2rem; animation: fadeUp 0.5s ease 1.3s both; }
    .divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
    .divider span { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); white-space: nowrap; }

    .cta-group { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; animation: fadeUp 0.5s ease 1.35s both; }

    .btn { display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.85rem 1.75rem; border-radius: 100px; font-family: 'DM Sans', sans-serif; font-size: 0.9375rem; font-weight: 600; text-decoration: none; transition: all 0.25s ease; cursor: pointer; border: none; }
    .btn-primary { background: linear-gradient(135deg, var(--green-deep), var(--green-mid)); color: white; box-shadow: 0 4px 20px rgba(10,102,64,0.25); }
    .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(10,102,64,0.35); color: white; text-decoration: none; }
    .btn-outline { background: transparent; color: var(--green-deep); border: 2px solid var(--border); }
    .btn-outline:hover { background: var(--green-glow); border-color: var(--green-mid); transform: translateY(-2px); color: var(--green-deep); text-decoration: none; }

    .footer-note { margin-top: 2rem; font-size: 0.8125rem; color: var(--ink-soft); animation: fadeUp 0.5s ease 1.4s both; }
    .footer-note a { color: var(--green-mid); font-weight: 600; text-decoration: none; }
    .footer-note a:hover { text-decoration: underline; }

    .confetti-wrap { position: fixed; inset: 0; pointer-events: none; z-index: 999; overflow: hidden; }
    .confetti-piece { position: absolute; top: -20px; border-radius: 2px; animation: confettiFall linear forwards; }

    @keyframes confettiFall {
        0%   { transform: translateY(0) rotate(0deg); opacity: 1; }
        80%  { opacity: 1; }
        100% { transform: translateY(100vh) rotate(720deg); opacity: 0; }
    }

    @media (max-width: 560px) {
        .success-card { padding: 2.5rem 1.5rem; }
        .cta-group { flex-direction: column; }
        .btn { justify-content: center; }
    }