/*==================================
ORDER SUCCESS HERO
==================================*/

.order-success-section{

    padding:70px 0 40px;

}

.order-success-card{

    background:#fff;

    border-radius:30px;

    padding:60px;

    text-align:center;

    box-shadow:0 15px 45px rgba(0,0,0,.06);

}

.success-icon{

    width:110px;
    height:110px;

    margin:0 auto 30px;

    border-radius:50%;

    background:#28c76f;

    color:#fff;

    display:flex;
    align-items:center;
    justify-content:center;

    font-size:48px;

    box-shadow:0 15px 35px rgba(40,199,111,.30);

}

.order-success-card h1{

    font-size:48px;

    font-weight:700;

    color:#222;

    margin:15px 0;

}

.success-description{

    max-width:700px;

    margin:0 auto 40px;

    color:#666;

    font-size:18px;

    line-height:1.8;

}

.success-info{

    display:flex;

    justify-content:center;

    gap:25px;

    margin-bottom:45px;

    flex-wrap:wrap;

}

.success-info-box{

    min-width:220px;

    background:#f8faf8;

    border:1px solid #ececec;

    border-radius:18px;

    padding:22px;

}

.success-info-box small{

    display:block;

    color:#777;

    margin-bottom:8px;

    text-transform:uppercase;

    letter-spacing:1px;

    font-size:12px;

}

.success-info-box strong{

    display:block;

    font-size:20px;

    color:#222;

    font-weight:700;

}

.success-buttons{

    display:flex;

    justify-content:center;

    gap:20px;

    flex-wrap:wrap;

}

.continue-shopping-btn{

    height:56px;

    padding:0 35px;

    display:inline-flex;

    align-items:center;

    gap:10px;

    background:#8AA08B;

    color:#fff;

    border-radius:50px;

    text-decoration:none;

    font-weight:600;

    transition:.3s;

}

.continue-shopping-btn:hover{

    background:#708a71;

    color:#fff;

    text-decoration:none;

    transform:translateY(-2px);

}

.view-order-btn{

    height:56px;

    padding:0 35px;

    display:inline-flex;

    align-items:center;

    gap:10px;

    border:2px solid #8AA08B;

    color:#8AA08B;

    border-radius:50px;

    text-decoration:none;

    font-weight:600;

    transition:.3s;

}

.view-order-btn:hover{

    background:#8AA08B;

    color:#fff;

    text-decoration:none;

}

/*==========================
MOBILE
==========================*/

@media (max-width:768px){

    .order-success-card{

        padding:35px 25px;

    }

    .order-success-card h1{

        font-size:34px;

    }

    .success-description{

        font-size:16px;

    }

    .success-icon{

        width:85px;
        height:85px;

        font-size:38px;

    }

    .success-info{

        gap:15px;

    }

    .success-info-box{

        width:100%;

    }

    .success-buttons{

        flex-direction:column;

    }

    .continue-shopping-btn,
    .view-order-btn{

        width:100%;
        justify-content:center;

    }

}









/*=========================================
ORDER DETAILS
=========================================*/

.order-details-section{

    padding:40px 0 80px;

}

.order-card{

    background:#fff;

    border-radius:30px;

    padding:45px;

    box-shadow:0 15px 45px rgba(0,0,0,.06);

}

.order-header{

    display:flex;

    justify-content:space-between;

    align-items:flex-start;

    gap:40px;

    padding-bottom:35px;

    border-bottom:1px solid #ececec;

    margin-bottom:35px;

}

.invoice-logo{

    height:55px;

    margin-bottom:20px;

}

.order-header h3{

    font-size:34px;

    font-weight:700;

    color:#222;

    margin-bottom:10px;

}

.order-header p{

    color:#777;

    font-size:16px;

    margin:0;

}

.order-address{

    text-align:right;

}

.order-address h5{

    font-size:22px;

    font-weight:700;

    margin:15px 0 10px;

}

.order-address p{

    color:#666;

    line-height:1.8;

    margin:0;

}



/*=========================================
ORDER INFO BOXES
=========================================*/

.order-info-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:20px;

    margin-bottom:40px;

}

.order-info-box{

    background:#f8faf8;

    border:1px solid #ececec;

    border-radius:18px;

    padding:22px;

}

.order-info-box small{

    display:block;

    color:#888;

    text-transform:uppercase;

    letter-spacing:1px;

    font-size:12px;

    margin-bottom:8px;

}

.order-info-box strong{

    display:block;

    font-size:18px;

    font-weight:700;

    color:#222;

    word-break:break-word;

}

.status-success{

    color:#28a745 !important;

}



/*=========================================
PRODUCT TABLE
=========================================*/

.order-table{

    margin-bottom:35px;

}

.order-table thead th{

    background:#f8faf8;

    border:none;

    padding:18px;

    font-size:14px;

    font-weight:700;

    text-transform:uppercase;

    letter-spacing:1px;

}

.order-table tbody td{

    vertical-align:middle;

    padding:22px 18px;

    border-top:1px solid #ececec;

}

.order-table tbody strong{

    font-size:18px;

    font-weight:700;

}



/*=========================================
TOTAL SECTION
=========================================*/

.order-total-section{

    width:360px;

    margin-left:auto;

}

.total-row{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:14px 0;

    border-bottom:1px solid #ececec;

}

.total-row span{

    color:#666;

    font-size:16px;

}

.total-row strong{

    font-size:18px;

    font-weight:700;

}

.total-row.grand{

    margin-top:10px;

}

.total-row.grand span{

    font-size:22px;

    font-weight:700;

    color:#222;

}

.total-row.grand strong{

    font-size:28px;

    color:#8AA08B;

}



/*=========================================
FOOTER
=========================================*/

.invoice-footer{

    margin-top:50px;

    padding-top:25px;

    border-top:1px solid #ececec;

    text-align:center;

    color:#666;

    font-size:17px;

}

.invoice-footer i{

    color:#8AA08B;

    margin-right:8px;

}



/*=========================================
MOBILE
=========================================*/

@media (max-width:992px){

    .order-header{

        flex-direction:column;

    }

    .order-address{

        text-align:left;

    }

    .order-info-grid{

        grid-template-columns:repeat(2,1fr);

    }

    .order-total-section{

        width:100%;

    }

}

@media (max-width:768px){

    .order-card{

        padding:25px;

        border-radius:20px;

    }

    .order-header h3{

        font-size:28px;

    }

    .order-info-grid{

        grid-template-columns:1fr;

    }

    .order-table{

        min-width:650px;

    }

    .invoice-logo{

        height:45px;

    }

}
