/*==========================================
CHECKOUT PAGE
==========================================*/

.checkout-page{

max-width:1400px;
margin:40px auto;

}

.checkout-top{

display:flex;
align-items:center;
gap:25px;

background:#fff;

padding:30px;

border-radius:28px;

box-shadow:0 15px 35px rgba(0,0,0,.08);

margin-bottom:35px;

}

.checkout-top-icon{

width:90px;
height:90px;

border-radius:24px;

display:flex;
align-items:center;
justify-content:center;

background:linear-gradient(135deg,#2563eb,#3b82f6);

color:#fff;

font-size:44px;

flex-shrink:0;

}

.checkout-top h1{

margin:0;

font-size:42px;

font-weight:800;

color:#111827;

}

.checkout-top p{

margin-top:10px;

font-size:17px;

color:#64748b;

}

/*==========================================
GRID
==========================================*/

.checkout-grid{

display:grid;

grid-template-columns:1.3fr .7fr;

gap:30px;

}

/*==========================================
CARD
==========================================*/

.checkout-card{

background:#fff;

padding:30px;

border-radius:24px;

box-shadow:0 15px 35px rgba(0,0,0,.08);

}

.checkout-card-title{

display:flex;

align-items:center;

gap:12px;

margin-bottom:30px;

font-size:28px;

font-weight:800;

color:#111827;

}

.checkout-card-title i{

font-size:30px;

color:#2563eb;

}

/*==========================================
PRODUCT
==========================================*/

.checkout-product{

display:flex;

gap:20px;

padding-bottom:25px;

margin-bottom:25px;

border-bottom:1px solid #edf2f7;

}

.checkout-product:last-child{

margin-bottom:0;

}

.checkout-product-image{

width:120px;
height:120px;

border-radius:18px;

overflow:hidden;

background:#f8fafc;

flex-shrink:0;

}

.checkout-product-image img{

width:100%;
height:100%;

object-fit:cover;

}

.checkout-product-info{

flex:1;

}

.checkout-product-info h3{

margin:0 0 20px;

font-size:20px;

color:#111827;

}

.checkout-product-line{

display:flex;

justify-content:space-between;

margin-bottom:10px;

font-size:15px;

}

.checkout-product-line span{

display:flex;

align-items:center;

gap:8px;

color:#64748b;

}

.checkout-product-line i{

color:#2563eb;

}

.checkout-product-line strong{

font-weight:700;

}

.checkout-product-line.total{

margin-top:15px;

padding-top:15px;

border-top:1px dashed #dbe4ee;

font-size:18px;

}

.checkout-product-line.total strong{

color:#2563eb;

}

/*==========================================
TOTAL
==========================================*/

.checkout-total{

margin-top:35px;

padding:22px;

border-radius:20px;

background:linear-gradient(135deg,#2563eb,#3b82f6);

display:flex;

justify-content:space-between;

align-items:center;

font-size:22px;

font-weight:700;

color:#fff;

}
/*==================================================
FORM
==================================================*/

.checkout-form{

display:flex;
flex-direction:column;

}

.checkout-form label{

display:flex;
align-items:center;
gap:12px;

font-size:15px;
font-weight:700;

margin-bottom:10px;
margin-top:18px;

color:#111827;

}

.checkout-form label i{

width:42px;
height:42px;

display:flex;
align-items:center;
justify-content:center;

border-radius:14px;

background:#eff6ff;

color:#2563eb;

font-size:18px;

}

.checkout-form input,
.checkout-form textarea{

width:100%;

padding:16px 18px;

border:2px solid #e5e7eb;

border-radius:16px;

font-size:16px;

transition:.25s;

background:#fff;

box-sizing:border-box;

}

.checkout-form textarea{

resize:vertical;

min-height:150px;

}

.checkout-form input:focus,
.checkout-form textarea:focus{

outline:none;

border-color:#2563eb;

box-shadow:0 0 0 5px rgba(37,99,235,.12);

}

/*==================================================
INFO
==================================================*/

.checkout-info{

margin:30px 0;

display:flex;
flex-direction:column;
gap:15px;

}

.checkout-info-item{

display:flex;
align-items:center;
gap:12px;

padding:15px;

border-radius:16px;

background:#f8fafc;

font-size:15px;

}

.checkout-info-item i{

color:#2563eb;

font-size:20px;

width:28px;

text-align:center;

}

/*==================================================
BUTTON
==================================================*/

.checkout-btn{

margin-top:10px;

height:62px;

display:flex;
align-items:center;
justify-content:center;
gap:10px;

font-size:18px;
font-weight:700;

border-radius:18px;

transition:.25s;

}

.checkout-btn:hover{

transform:translateY(-3px);

box-shadow:0 18px 35px rgba(37,99,235,.35);

}

/*==================================================
SUCCESS
==================================================*/

.checkout-success{

background:#fff;

padding:60px;

border-radius:30px;

text-align:center;

box-shadow:0 15px 35px rgba(0,0,0,.08);

}

.checkout-success-icon{

width:120px;
height:120px;

margin:0 auto 30px;

border-radius:50%;

display:flex;
align-items:center;
justify-content:center;

background:#22c55e;

color:#fff;

font-size:60px;

}

.checkout-success h2{

font-size:40px;

margin-bottom:20px;

color:#16a34a;

}

.checkout-success p{

font-size:17px;

color:#64748b;

margin-bottom:10px;

}

/*==================================================
ERROR
==================================================*/

.checkout-error{

display:flex;
align-items:center;
gap:15px;

padding:18px 22px;

border-radius:18px;

background:#fef2f2;

border-left:5px solid #dc2626;

margin-bottom:25px;

font-weight:700;

color:#dc2626;

}

.checkout-error i{

font-size:24px;

}
/*==================================================
MOBILE
==================================================*/

@media(max-width:992px){

.checkout-grid{

grid-template-columns:1fr;

}

.checkout-right{

order:-1;

}

}

@media(max-width:768px){

.checkout-page{

margin:15px auto;

}

.checkout-top{

padding:18px;

gap:15px;

border-radius:20px;

margin-bottom:20px;

}

.checkout-top-icon{

width:65px;
height:65px;

font-size:30px;

border-radius:18px;

}

.checkout-top h1{

font-size:28px;

line-height:1.2;

}

.checkout-top p{

font-size:14px;

margin-top:6px;

}

.checkout-card{

padding:18px;

border-radius:18px;

}

.checkout-card-title{

font-size:22px;

margin-bottom:20px;

}

.checkout-card-title i{

font-size:24px;

}

/*============================*/

.checkout-product{

flex-direction:column;

gap:15px;

padding-bottom:18px;

margin-bottom:18px;

}

.checkout-product-image{

width:100%;
height:220px;

}

.checkout-product-image img{

border-radius:14px;

}

.checkout-product-info h3{

font-size:17px;

margin-bottom:12px;

line-height:1.4;

}

.checkout-product-line{

font-size:14px;

}

.checkout-product-line.total{

font-size:17px;

}

/*============================*/

.checkout-total{

font-size:18px;

padding:18px;

border-radius:18px;

}

/*============================*/

.checkout-form label{

font-size:14px;

margin-top:16px;

}

.checkout-form label i{

width:36px;
height:36px;

font-size:16px;

}

.checkout-form input,
.checkout-form textarea{

padding:14px;

font-size:15px;

border-radius:14px;

}

.checkout-form textarea{

min-height:120px;

}

.checkout-btn{

height:56px;

font-size:17px;

border-radius:16px;

}

/*============================*/

.checkout-info{

gap:10px;

}

.checkout-info-item{

padding:12px;

font-size:14px;

}

/*============================*/

.checkout-success{

padding:30px 20px;

border-radius:20px;

}

.checkout-success-icon{

width:85px;
height:85px;

font-size:42px;

margin-bottom:20px;

}

.checkout-success h2{

font-size:28px;

}

.checkout-success p{

font-size:15px;

}

.checkout-error{

padding:14px;

font-size:14px;

border-radius:14px;

}

}

/*==================================================
PHONE 480
==================================================*/

@media(max-width:480px){

.checkout-top{

flex-direction:column;

text-align:center;

}

.checkout-top-icon{

margin-bottom:10px;

}

.checkout-total{

flex-direction:column;

gap:10px;

text-align:center;

}

.checkout-btn{

width:100%;

}

.checkout-product-image{

height:180px;

}

.checkout-card-title{

justify-content:center;

}

}
/*==================================================
BUTTON
==================================================*/

.btn{

display:inline-flex;
align-items:center;
justify-content:center;
gap:10px;

padding:15px 28px;

background:linear-gradient(135deg,#2563eb,#3b82f6);

color:#fff;

font-size:16px;
font-weight:700;

border:none;

border-radius:16px;

cursor:pointer;

text-decoration:none;

transition:.25s;

box-shadow:0 10px 25px rgba(37,99,235,.25);

}

.btn:hover{

transform:translateY(-3px);

box-shadow:0 20px 40px rgba(37,99,235,.35);

}

.btn:active{

transform:scale(.98);

}

.btn i{

font-size:18px;

}

/*==================================================
SCROLLBAR
==================================================*/

.checkout-page::-webkit-scrollbar{

width:8px;

}

.checkout-page::-webkit-scrollbar-thumb{

background:#2563eb;

border-radius:20px;

}

.checkout-page::-webkit-scrollbar-track{

background:#edf2f7;

}

/*==================================================
ANIMATION
==================================================*/

.checkout-card,
.checkout-top,
.checkout-success{

animation:fadeUp .35s ease;

}

@keyframes fadeUp{

from{

opacity:0;
transform:translateY(20px);

}

to{

opacity:1;
transform:none;

}

}

/*==================================================
IMAGE HOVER
==================================================*/

.checkout-product-image{

transition:.3s;

}

.checkout-product:hover .checkout-product-image{

transform:scale(1.04);

}

/*==================================================
PRICE
==================================================*/

.checkout-total strong{

font-size:28px;

}

.checkout-product-line.total strong{

font-size:22px;

}

/*==================================================
SUCCESS BUTTON
==================================================*/

.checkout-success .btn{

margin-top:25px;

padding:18px 40px;

font-size:18px;

}

/*==================================================
EMPTY CART
==================================================*/

.checkout-empty{

padding:70px;

text-align:center;

background:#fff;

border-radius:30px;

box-shadow:0 15px 35px rgba(0,0,0,.08);

}

.checkout-empty i{

font-size:80px;

color:#2563eb;

margin-bottom:20px;

display:block;

}

.checkout-empty h2{

font-size:34px;

margin-bottom:15px;

}

.checkout-empty p{

color:#64748b;

font-size:17px;

margin-bottom:30px;

}