

/*==========================================
CHECKOUT
==========================================*/

.checkout-section{

    padding:140px 0 100px;

    background:#fafafa;

    min-height:100vh;

}

.container{

    width:min(1200px,90%);

    margin:auto;

}

/*==========================================
TITLE
==========================================*/

.checkout-title{

    text-align:center;

    font-family:"Cormorant Garamond",serif;

    font-size:64px;

    font-weight:500;

    color:#111;

    margin-bottom:70px;

}

/*==========================================
LAYOUT
==========================================*/

.checkout-layout{

    display:grid;

    grid-template-columns:1.5fr .9fr;

    gap:45px;

    align-items:start;

}

/*==========================================
FORM
==========================================*/

.checkout-form{

    background:#fff;

    border-radius:24px;

    padding:45px;

    box-shadow:0 12px 40px rgba(0,0,0,.05);

}

.checkout-form h2{

    font-size:28px;

    margin-bottom:35px;

    font-weight:500;

    color:#111;

}

.input-group{

    margin-bottom:24px;

}

.input-group label{

    display:block;

    margin-bottom:10px;

    font-size:15px;

    font-weight:500;

    color:#444;

}

.input-group input,

.input-group textarea{

    width:100%;

    border:1px solid #ddd;

    border-radius:16px;

    padding:16px 18px;

    font-size:15px;

    background:#fff;

    transition:.3s;

    box-sizing:border-box;

}

.input-group textarea{

    resize:none;

    height:130px;

}

.input-group input:focus,

.input-group textarea:focus{

    outline:none;

    border-color:#C8A96A;

    box-shadow:0 0 0 4px rgba(200,169,106,.12);

}

/*==========================================
SUMMARY
==========================================*/

.checkout-summary{

    position:sticky;

    top:120px;

    background:#fff;

    border-radius:24px;

    padding:35px;

    box-shadow:0 12px 40px rgba(0,0,0,.05);

}

.checkout-summary h2{

    font-size:28px;

    margin-bottom:30px;

    font-weight:500;

    color:#111;

}

/*==========================================
PRODUCTS
==========================================*/

#checkoutItems{

    display:flex;

    flex-direction:column;

    gap:20px;

    margin-bottom:30px;

}

.checkout-product{

    display:flex;

    align-items:center;

    gap:16px;

}

.checkout-product img{

    width:82px;

    height:82px;

    object-fit:cover;

    border-radius:14px;

}

.checkout-product-info{

    flex:1;

}

.checkout-product-info h4{

    font-size:17px;

    margin-bottom:6px;

    color:#111;

}

.checkout-product-info p{

    font-size:14px;

    color:#777;

}

/*==========================================
TOTAL
==========================================*/

.checkout-total{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:22px 0;

    border-top:1px solid #eee;

    border-bottom:1px solid #eee;

    margin-bottom:30px;

}

.checkout-total span{

    font-size:18px;

    color:#444;

}

.checkout-total strong{

    font-size:30px;

    color:#111;

}

/*==========================================
BUTTON
==========================================*/

.place-order{

    width:100%;

    height:58px;

    border:none;

    border-radius:50px;

    background:#111;

    color:#fff;

    font-size:13px;

    letter-spacing:2px;

    cursor:pointer;

    transition:.35s;

}

.place-order:hover{

    background:#C8A96A;

    color:#111;

}

/*==========================================
MOBILE
==========================================*/

@media(max-width:992px){

.checkout-layout{

    grid-template-columns:1fr;

}

.checkout-summary{

    position:static;

}

}

@media(max-width:768px){

.checkout-section{

    padding:110px 0 70px;

}

.checkout-title{

    font-size:42px;

    margin-bottom:45px;

}

.checkout-form,

.checkout-summary{

    padding:25px;

    border-radius:20px;

}

.checkout-form h2,

.checkout-summary h2{

    font-size:23px;

}

.input-group{

    margin-bottom:18px;

}

.input-group input,

.input-group textarea{

    padding:14px 16px;

}

.checkout-product img{

    width:70px;

    height:70px;

}

.checkout-total strong{

    font-size:24px;

}

.place-order{

    height:54px;

    font-size:12px;

}

}

/*==========================================
CHECKOUT HERO
==========================================*/

.checkout-hero{

    padding:140px 0 80px;

    background:#fff;

    text-align:center;

    border-bottom:1px solid #efefef;

}

.checkout-subtitle{

    display:inline-block;

    color:#C8A96A;

    font-size:13px;

    letter-spacing:3px;

    text-transform:uppercase;

    margin-bottom:18px;

}

.checkout-hero h1{

    font-family:"Cormorant Garamond",serif;

    font-size:70px;

    font-weight:500;

    color:#111;

    margin-bottom:18px;

}

.checkout-hero p{

    max-width:560px;

    margin:auto;

    color:#777;

    font-size:17px;

    line-height:1.8;

    margin-bottom:30px;

}

.checkout-breadcrumb{

    display:flex;

    justify-content:center;

    align-items:center;

    gap:12px;

    font-size:15px;

}

.checkout-breadcrumb a{

    color:#666;

    text-decoration:none;

    transition:.3s;

}

.checkout-breadcrumb a:hover{

    color:#C8A96A;

}

.checkout-breadcrumb strong{

    color:#111;

    font-weight:500;

}

.checkout-breadcrumb span{

    color:#bbb;

}

/*==========================================
MOBILE
==========================================*/

@media(max-width:768px){

.checkout-hero{

    padding:110px 0 60px;

}

.checkout-subtitle{

    font-size:11px;

    letter-spacing:2px;

}

.checkout-hero h1{

    font-size:44px;

    line-height:1.15;

    margin-bottom:14px;

}

.checkout-hero p{

    width:90%;

    font-size:15px;

    margin-bottom:24px;

}

.checkout-breadcrumb{

    font-size:13px;

    gap:8px;

}

}

.checkout-product{

    display:flex;

    align-items:center;

    justify-content:space-between;

    gap:16px;

    padding:18px 0;

    border-bottom:1px solid #eee;

}

.checkout-product:last-child{

    border:none;

}

.checkout-product img{

    width:78px;

    height:78px;

    object-fit:cover;

    border-radius:14px;

}

.checkout-product-info{

    flex:1;

}

.checkout-product-info h4{

    margin-bottom:8px;

    color:#111;

    font-size:17px;

}

.checkout-product-info p{

    color:#777;

    font-size:14px;

    margin:4px 0;

}

.checkout-product strong{

    font-size:18px;

    color:#111;

}