/* =====================================================
   THANK YOU PAGE CSS
   PART 1: BASE + LAYOUT + SUCCESS CARD + INFO + PRODUCTS
===================================================== */

:root{
    --ty-primary:#0d6efd;
    --ty-primary2:#0aa2ff;
    --ty-green:#16a34a;
    --ty-dark:#111827;
    --ty-text:#334155;
    --ty-muted:#64748b;
    --ty-bg:#eef7ff;
    --ty-soft:#f8fafc;
    --ty-border:#e5e7eb;
    --ty-danger:#dc2626;
    --ty-orange:#f97316;
    --ty-shadow:0 18px 45px rgba(15,23,42,.10);
}

*{
    box-sizing:border-box;
}

body{
    font-family:'Hind Siliguri',sans-serif;
    background:linear-gradient(135deg,#eef7ff,#f8fafc);
    color:var(--ty-dark);
    overflow-x:hidden;
}

.thank-you-page{
    width:100%;
    padding:42px 12px 28px;
    background:linear-gradient(135deg,#eef7ff,#f8fafc);
}

.thank-you-container{
    width:100%;
    max-width:980px;
    margin:0 auto;
}

.thank-success-card{
    background:#fff;
    border-radius:28px;
    border:1px solid #e8eef5;
    box-shadow:var(--ty-shadow);
    overflow:hidden;
}

.thank-success-header{
    background:linear-gradient(135deg,#16a34a,#22c55e);
    color:#fff;
    padding:36px 24px 34px;
    text-align:center;
    position:relative;
    overflow:hidden;
}

.thank-success-header::before{
    content:'';
    position:absolute;
    width:220px;
    height:220px;
    border-radius:50%;
    background:rgba(255,255,255,.12);
    top:-100px;
    left:-70px;
}

.thank-success-header::after{
    content:'';
    position:absolute;
    width:180px;
    height:180px;
    border-radius:50%;
    background:rgba(255,255,255,.10);
    right:-70px;
    bottom:-80px;
}

.thank-success-icon{
    position:relative;
    z-index:2;
    width:86px;
    height:86px;
    background:#fff;
    color:var(--ty-green);
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:48px;
    margin:0 auto 16px;
    box-shadow:0 12px 30px rgba(0,0,0,.18);
}

.thank-success-header h2{
    position:relative;
    z-index:2;
    margin:0 0 10px;
    font-size:30px;
    font-weight:900;
    line-height:1.35;
}

.thank-success-header p{
    position:relative;
    z-index:2;
    max-width:660px;
    margin:0 auto;
    font-size:16px;
    line-height:1.7;
    opacity:.95;
}

.thank-card-body{
    padding:26px;
}

.thank-info-box,
.thank-products{
    background:var(--ty-soft);
    border:1px solid var(--ty-border);
    border-radius:20px;
    padding:20px;
    margin-bottom:18px;
}

.thank-info-box h5,
.thank-products h5{
    display:flex;
    align-items:center;
    gap:8px;
    margin:0 0 16px;
    color:var(--ty-primary);
    font-size:19px;
    font-weight:900;
}

.thank-info-row{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
    padding:12px 0;
    border-bottom:1px dashed #d6dee8;
}

.thank-info-row:last-child{
    border-bottom:none;
}

.thank-info-row span{
    color:var(--ty-muted);
    font-size:14px;
    font-weight:700;
}

.thank-info-row strong{
    color:var(--ty-dark);
    font-size:15px;
    font-weight:900;
    text-align:right;
    word-break:break-word;
}

.thank-product-item{
    display:flex;
    align-items:center;
    gap:13px;
    background:#fff;
    border:1px solid #eef0f3;
    border-radius:17px;
    padding:12px;
    margin-bottom:11px;
    box-shadow:0 5px 16px rgba(15,23,42,.04);
}

.thank-product-item:last-child{
    margin-bottom:0;
}

.thank-product-img-wrap{
    width:66px;
    height:66px;
    border-radius:14px;
    background:#fff;
    border:1px solid #e5e7eb;
    overflow:hidden;
    flex-shrink:0;
    display:flex;
    align-items:center;
    justify-content:center;
}

.thank-product-img-wrap img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.thank-product-info{
    flex:1;
    min-width:0;
}

.thank-product-info h6{
    margin:0 0 5px;
    color:var(--ty-dark);
    font-size:15px;
    line-height:1.45;
    font-weight:900;
    word-break:break-word;
}

.thank-product-info small{
    color:var(--ty-muted);
    font-size:13px;
    font-weight:700;
}

.thank-product-price{
    color:var(--ty-danger);
    font-size:15px;
    font-weight:900;
    white-space:nowrap;
}

@media(max-width:768px){
    .thank-you-page{
        padding:28px 10px 22px;
    }

    .thank-success-card{
        border-radius:22px;
    }

    .thank-success-header{
        padding:30px 16px 28px;
    }

    .thank-success-icon{
        width:76px;
        height:76px;
        font-size:42px;
    }

    .thank-success-header h2{
        font-size:24px;
    }

    .thank-success-header p{
        font-size:15px;
    }

    .thank-card-body{
        padding:18px;
    }

    .thank-info-box,
    .thank-products{
        padding:16px;
        border-radius:17px;
    }

    .thank-info-row{
        flex-direction:column;
        align-items:flex-start;
        gap:4px;
    }

    .thank-info-row strong{
        text-align:left;
    }
}

@media(max-width:576px){
    .thank-product-item{
        align-items:flex-start;
        gap:10px;
        padding:10px;
    }

    .thank-product-img-wrap{
        width:58px;
        height:58px;
        border-radius:12px;
    }

    .thank-product-info h6{
        font-size:14px;
    }

    .thank-product-info small{
        font-size:12px;
    }

    .thank-product-price{
        font-size:13px;
        min-width:58px;
        text-align:right;
    }
}
/* =====================================================
   THANK YOU PAGE CSS
   PART 2: NOTE + SUPPORT + ACTIONS + FOOTER + RESPONSIVE
===================================================== */

.thank-note-box{
    background:#fff7ed;
    border-left:5px solid var(--ty-orange);
    border-radius:18px;
    padding:17px 18px;
    color:#7c2d12;
    margin-bottom:18px;
}

.thank-note-box strong{
    display:flex;
    align-items:center;
    gap:8px;
    font-size:16px;
    font-weight:900;
    margin-bottom:8px;
}

.thank-note-box p{
    margin:0;
    font-size:14px;
    line-height:1.8;
    font-weight:600;
}

.thank-support-box{
    background:#eff6ff;
    border:1px solid #dbeafe;
    border-radius:20px;
    padding:17px;
    display:flex;
    align-items:center;
    gap:14px;
    margin-bottom:20px;
}

.thank-support-icon{
    width:52px;
    height:52px;
    border-radius:50%;
    background:linear-gradient(135deg,var(--ty-primary),var(--ty-primary2));
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:26px;
    flex-shrink:0;
}

.thank-support-box strong{
    display:block;
    color:var(--ty-dark);
    font-size:15px;
    font-weight:900;
    margin-bottom:4px;
}

.thank-support-box small{
    display:block;
    color:var(--ty-muted);
    font-size:13px;
    line-height:1.5;
    font-weight:600;
}

.thank-actions{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:14px;
    flex-wrap:wrap;
    margin:22px 0 18px;
}

.thank-btn-shop,
.thank-btn-whatsapp{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:9px;
    border-radius:999px;
    padding:13px 26px;
    font-size:15px;
    font-weight:900;
    text-decoration:none;
    transition:.25s;
}

.thank-btn-shop{
    background:linear-gradient(135deg,var(--ty-primary),var(--ty-primary2));
    color:#fff!important;
    box-shadow:0 10px 22px rgba(13,110,253,.25);
}

.thank-btn-whatsapp{
    background:#22c55e;
    color:#fff!important;
    box-shadow:0 10px 22px rgba(34,197,94,.24);
}

.thank-btn-shop:hover,
.thank-btn-whatsapp:hover{
    transform:translateY(-2px);
    color:#fff!important;
}

.thank-blessing{
    text-align:center;
    color:#be123c;
    font-size:15px;
    font-weight:900;
    margin:10px 0 0;
}

.thank-blessing i{
    color:#e11d48;
    margin-right:5px;
}

.thank-footer-text{
    text-align:center;
    margin:18px 0 0;
    color:#64748b;
    font-size:13px;
    font-weight:700;
}

/* Header/Footer included page safety */
.thank-you-page + .tsr-footer{
    margin-top:0;
}

/* Small animation */
.thank-success-icon{
    animation:thankPop .55s ease;
}

@keyframes thankPop{
    0%{
        transform:scale(.65);
        opacity:0;
    }
    70%{
        transform:scale(1.08);
        opacity:1;
    }
    100%{
        transform:scale(1);
    }
}

/* =========================
   RESPONSIVE PART 2
========================= */
@media(max-width:768px){
    .thank-support-box{
        align-items:flex-start;
        padding:15px;
        border-radius:17px;
    }

    .thank-support-icon{
        width:46px;
        height:46px;
        font-size:23px;
    }

    .thank-actions{
        gap:10px;
    }

    .thank-btn-shop,
    .thank-btn-whatsapp{
        width:100%;
        padding:13px 18px;
    }
}

@media(max-width:576px){
    .thank-note-box{
        padding:15px;
        border-radius:15px;
    }

    .thank-note-box strong{
        font-size:15px;
    }

    .thank-note-box p{
        font-size:13px;
    }

    .thank-support-box{
        gap:10px;
    }

    .thank-support-box strong{
        font-size:14px;
    }

    .thank-support-box small{
        font-size:12px;
    }

    .thank-blessing{
        font-size:14px;
    }

    .thank-footer-text{
        font-size:12px;
    }
}

/* =====================================================
   END OF THANK YOU PAGE CSS
===================================================== */