/*=========================================
            Checkout Section
=========================================*/

.checkout-section{

    padding:120px 0;

    background:#f8f5f1;

}

.checkout-wrapper{

    width:92%;

    max-width:1500px;

    margin:auto;

    display:grid;

    grid-template-columns:1.5fr .9fr;

    gap:45px;

    align-items:start;

}

/*=========================================
            Left Side
=========================================*/

.checkout-left{

    display:flex;

    flex-direction:column;

}

/*=========================================
            Breadcrumb
=========================================*/

.checkout-breadcrumb{

    display:flex;

    align-items:center;

    gap:12px;

    margin-bottom:30px;

    font-size:15px;

}

.checkout-breadcrumb a{

    color:#666;

    text-decoration:none;

    transition:.3s;

}

.checkout-breadcrumb a:hover{

    color:#f36b2a;

}

.checkout-breadcrumb strong{

    color:#f36b2a;

}

/*=========================================
            Heading
=========================================*/

.checkout-heading{

    margin-bottom:35px;

}

.checkout-heading h2{

    font-size:52px;

    font-family:Georgia,serif;

    font-weight:400;

    color:#2d2d2d;

    margin-bottom:18px;

}

.checkout-heading p{

    color:#666;

    font-size:17px;

    line-height:1.9;

    max-width:720px;

}

/*=========================================
            Form Card
=========================================*/

.checkout-card{

    background:#fff;

    border-radius:26px;

    padding:40px;

    margin-bottom:30px;

    box-shadow:0 15px 40px rgba(0,0,0,.06);

    transition:.35s;

}

.checkout-card:hover{

    transform:translateY(-4px);

    box-shadow:0 25px 50px rgba(0,0,0,.08);

}

.checkout-card h3{

    font-size:30px;

    font-family:Georgia,serif;

    font-weight:400;

    margin-bottom:28px;

    color:#222;

}

/*=========================================
            Form Layout
=========================================*/

.form-row{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:20px;

}

.form-group{

    margin-bottom:22px;

}

.form-group label{

    display:block;

    font-size:15px;

    color:#444;

    margin-bottom:10px;

    font-weight:600;

}

/*=========================================
            Inputs
=========================================*/

.form-group input,

.form-group textarea{

    width:100%;

    padding:16px 18px;

    border:1px solid #e8e3dc;

    border-radius:14px;

    background:#fff;

    font-size:15px;

    color:#444;

    outline:none;

    transition:.35s;

}

.form-group textarea{

    resize:none;

}

.form-group input:focus,

.form-group textarea:focus{

    border-color:#f36b2a;

    box-shadow:0 0 0 5px rgba(243,107,42,.08);

}

.form-group input::placeholder,

.form-group textarea::placeholder{

    color:#999;

}

/*=========================================
            Right Side
=========================================*/

.checkout-right{

    position:sticky;

    top:120px;

}

/*=========================================
            Summary Box
=========================================*/

.summary-box{

    background:#ffffff;

    border-radius:28px;

    padding:35px;

    box-shadow:0 18px 45px rgba(0,0,0,.08);

    transition:.35s;

}

.summary-box:hover{

    transform:translateY(-5px);

    box-shadow:0 25px 60px rgba(0,0,0,.12);

}

.summary-box h3{

    font-size:30px;

    font-family:Georgia,serif;

    font-weight:400;

    color:#2b2b2b;

    margin-bottom:30px;

}

/*=========================================
            Donation Item
=========================================*/

.summary-item{

    display:flex;

    align-items:flex-start;

    gap:18px;

    margin-bottom:28px;

}

.summary-image{

    width:110px;

    min-width:110px;

    height:110px;

    border-radius:18px;

    overflow:hidden;

    box-shadow:0 10px 25px rgba(0,0,0,.08);

}

.summary-image img{

    width:100%;

    height:100%;

    object-fit:cover;

    transition:.5s;

}

.summary-box:hover .summary-image img{

    transform:scale(1.08);

}

.summary-details{

    flex:1;

}

.summary-details h4{

    font-size:24px;

    font-family:Georgia,serif;

    font-weight:400;

    color:#2d2d2d;

    margin-bottom:12px;

}

.summary-details p{

    color:#666;

    font-size:15px;

    line-height:1.8;

}

/*=========================================
            Price
=========================================*/

.summary-price,

.summary-total{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin:22px 0;

}

.summary-price span,

.summary-total span{

    color:#666;

    font-size:17px;

}

.summary-price strong{

    color:#2b2b2b;

    font-size:24px;

}

.summary-total h2{

    color:#f36b2a;

    font-size:34px;

    font-family:Georgia,serif;

    font-weight:500;

}

.summary-box hr{

    border:none;

    height:1px;

    background:#ece8e2;

    margin:25px 0;

}

/*=========================================
            Pay Button
=========================================*/

.pay-btn{

    width:100%;

    border:none;

    cursor:pointer;

    background:#f36b2a;

    color:#fff;

    font-size:18px;

    font-weight:600;

    border-radius:60px;

    padding:18px;

    transition:.35s;

    box-shadow:0 12px 28px rgba(243,107,42,.25);

}

.pay-btn:hover{

    background:#5b180d;

    transform:translateY(-4px);

    box-shadow:0 18px 40px rgba(0,0,0,.15);

}

/*=========================================
            Payment Note
=========================================*/

.payment-note{

    display:flex;

    align-items:center;

    gap:12px;

    margin-top:25px;

    padding:16px 18px;

    border-radius:14px;

    background:#fff7ef;

    color:#666;

    font-size:15px;

    line-height:1.7;

}

.payment-note i{

    color:#28a745;

    font-size:20px;

}

/*=========================================
            Hover Effects
=========================================*/

.checkout-card,

.summary-box{

    transition:

        transform .35s ease,

        box-shadow .35s ease;

}

.checkout-card:hover,

.summary-box:hover{

    transform:translateY(-5px);

}

.summary-item:hover .summary-details h4{

    color:#f36b2a;

    transition:.3s;

}
/*=========================================
            Desktop Large
=========================================*/

@media (max-width:1400px){

    .checkout-wrapper{

        grid-template-columns:1.35fr .9fr;

        gap:35px;

    }

    .checkout-heading h2{

        font-size:46px;

    }

}

/*=========================================
            Laptop
=========================================*/

@media(max-width:1200px){

    .checkout-wrapper{

        grid-template-columns:1fr 420px;

        gap:30px;

    }

    .checkout-card{

        padding:30px;

    }

    .checkout-heading h2{

        font-size:40px;

    }

    .summary-box{

        padding:28px;

    }

}

/*=========================================
            Tablet
=========================================*/

@media(max-width:992px){

    .checkout-wrapper{

        grid-template-columns:1fr;

    }

    .checkout-right{

        position:relative;

        top:0;

        order:-1;

    }

    .summary-box{

        margin-bottom:35px;

    }

    .checkout-heading h2{

        font-size:36px;

    }

}

/*=========================================
            Mobile
=========================================*/

@media(max-width:768px){

    .checkout-section{

        padding:70px 0;

    }

    .checkout-wrapper{

        width:94%;

    }

    .checkout-breadcrumb{

        flex-wrap:wrap;

        gap:8px;

        font-size:14px;

    }

    .checkout-heading{

        margin-bottom:25px;

    }

    .checkout-heading h2{

        font-size:30px;

    }

    .checkout-heading p{

        font-size:15px;

    }

    .checkout-card{

        padding:22px;

        border-radius:20px;

    }

    .checkout-card h3{

        font-size:24px;

        margin-bottom:22px;

    }

    .form-row{

        grid-template-columns:1fr;

        gap:0;

    }

    .form-group{

        margin-bottom:18px;

    }

    .form-group input,

    .form-group textarea{

        padding:14px 16px;

        font-size:15px;

    }

    .summary-item{

        flex-direction:column;

        align-items:center;

        text-align:center;

    }

    .summary-image{

        width:100%;

        height:220px;

    }

    .summary-details h4{

        font-size:24px;

    }

    .summary-price strong{

        font-size:22px;

    }

    .summary-total h2{

        font-size:30px;

    }

    .pay-btn{

        font-size:17px;

        padding:16px;

    }

    .payment-note{

        font-size:14px;

        align-items:flex-start;

    }

}

/*=========================================
            Small Mobile
=========================================*/

@media(max-width:480px){

    .checkout-wrapper{

        width:95%;

    }

    .checkout-heading h2{

        font-size:26px;

    }

    .checkout-card{

        padding:18px;

    }

    .checkout-card h3{

        font-size:22px;

    }

    .summary-box{

        padding:20px;

        border-radius:20px;

    }

    .summary-image{

        height:180px;

    }

    .summary-details h4{

        font-size:22px;

    }

    .summary-details p{

        font-size:14px;

    }

    .summary-price span,

    .summary-total span{

        font-size:15px;

    }

    .summary-total h2{

        font-size:26px;

    }

    .pay-btn{

        font-size:16px;

    }

}

/*=========================================
            Animations
=========================================*/

.checkout-card,

.summary-box{

    animation:fadeUp .7s ease forwards;

}

@keyframes fadeUp{

    from{

        opacity:0;

        transform:translateY(40px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

.summary-image img{

    animation:floatImage 6s ease-in-out infinite;

}

@keyframes floatImage{

    0%{

        transform:translateY(0);

    }

    50%{

        transform:translateY(-6px);

    }

    100%{

        transform:translateY(0);

    }

}

.pay-btn{

    position:relative;

    overflow:hidden;

}

.pay-btn::before{

    content:"";

    position:absolute;

    top:0;

    left:-120%;

    width:120%;

    height:100%;

    background:linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,.35),
        transparent
    );

    transition:.7s;

}

.pay-btn:hover::before{

    left:120%;

}