/* Reset */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family: 'Segoe UI', sans-serif;
    background:#f8f9fb;
    color:#333;
    line-height:1.6;
}

.container{
    width:90%;
    max-width:1400px;
    margin:auto;
}

/* Topbar */
.topbar{
    background:#111;
    color:#fff;
    padding:10px 0;
    font-size:14px;
}

.topbar .container{
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.topbar .right{
    display:flex;
    gap:20px;
}

/* Breadcrumb */
.breadcrumb-wrap{
    background:#fff;
    border-bottom:1px solid #eee;
    padding:15px 0;
}

.breadcrumb{
    font-size:14px;
    color:#666;
}

/* Hero */
.page-hero{
    padding:50px 0;
    background:linear-gradient(135deg,#111,#333);
    color:#fff;
    text-align:center;
}

.page-hero h1{
    font-size:42px;
    margin-bottom:10px;
}

.page-hero p{
    opacity:.9;
}

.steps{
    display:flex;
    justify-content:center;
    gap:20px;
    margin-top:30px;
    flex-wrap:wrap;
}

.step{
    background:rgba(255,255,255,.15);
    padding:12px 20px;
    border-radius:30px;
}

.step.active{
    background:#d4af37;
    color:#000;
}

/* Layout */
.checkout-layout{
    display:grid;
    grid-template-columns:2fr 1fr;
    gap:30px;
    padding:40px 0;
}

/* Panel */
.panel{
    background:#fff;
    border-radius:16px;
    box-shadow:0 5px 20px rgba(0,0,0,.06);
    overflow:hidden;
}

.panel-head{
    padding:25px;
    border-bottom:1px solid #eee;
}

.panel-head h2{
    margin-bottom:5px;
}

/* Sections */
.form-section{
    padding:30px;
    border-bottom:1px solid #f1f1f1;
}

.section-label{
    display:flex;
    gap:15px;
    margin-bottom:25px;
}

.section-label b{
    width:40px;
    height:40px;
    border-radius:50%;
    background:#d4af37;
    color:#fff;
    display:flex;
    justify-content:center;
    align-items:center;
}

/* Grid */
.grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:20px;
}

.field{
    display:flex;
    flex-direction:column;
}

.field.full{
    grid-column:1/-1;
}

.field label{
    font-weight:600;
    margin-bottom:8px;
}

.field input,
.field select,
.field textarea{
    padding:14px;
    border:1px solid #ddd;
    border-radius:10px;
    font-size:15px;
    transition:.3s;
}

.field input:focus,
.field select:focus,
.field textarea:focus{
    outline:none;
    border-color:#d4af37;
    box-shadow:0 0 0 3px rgba(212,175,55,.15);
}

textarea{
    min-height:120px;
    resize:vertical;
}

/* Checkbox */
.checkline{
    display:flex;
    align-items:center;
    gap:10px;
    margin-top:20px;
    font-size:14px;
}

/* Delivery & Payment */
.delivery-options,
.payment-options{
    display:flex;
    flex-direction:column;
    gap:15px;
}

.option{
    display:flex;
    justify-content:space-between;
    align-items:center;
    border:2px solid #eee;
    border-radius:12px;
    padding:18px;
    cursor:pointer;
    transition:.3s;
}

.option.active{
    border-color:#d4af37;
    background:#fffdf5;
}

.option-left{
    display:flex;
    align-items:flex-start;
    gap:15px;
}

.option-price{
    font-weight:700;
    color:#d4af37;
}

.radio{
    margin-top:5px;
}

/* Secure Box */
.secure-box{
    background:#f5fff6;
    border:1px solid #d6f3d9;
    border-radius:10px;
    padding:15px;
    margin-top:20px;
    display:flex;
    gap:10px;
    align-items:center;
}

/* Summary */
.summary{
    position:sticky;
    top:20px;
}

.summary-body{
    padding:25px;
}

.summary h2{
    margin-bottom:20px;
}

.mini-item{
    display:flex;
    align-items:center;
    gap:12px;
    margin-bottom:15px;
    padding-bottom:15px;
    border-bottom:1px solid #eee;
}

.mini-item img{
    width:70px;
    height:70px;
    object-fit:cover;
    border-radius:8px;
}

.mini-item h3{
    font-size:15px;
}

.mini-item p{
    color:#777;
    font-size:13px;
}

.mini-price{
    margin-left:auto;
    font-weight:700;
}

/* Coupon */
.coupon{
    display:flex;
    gap:10px;
    margin:20px 0;
}

.coupon input{
    flex:1;
    padding:12px;
    border:1px solid #ddd;
    border-radius:10px;
}

/* Summary Rows */
.summary-row{
    display:flex;
    justify-content:space-between;
    margin-bottom:12px;
}

.summary-row.total{
    border-top:2px solid #eee;
    margin-top:15px;
    padding-top:15px;
    font-size:20px;
}

/* Buttons */
.btn{
    border:none;
    cursor:pointer;
    border-radius:10px;
    padding:14px 24px;
    font-weight:600;
    transition:.3s;
}

.btn.gold{
    background:#d4af37;
    color:#fff;
}

.btn.gold:hover{
    background:#c39a22;
}

.btn.dark{
    background:#111;
    color:#fff;
}

.place-order{
    width:100%;
    margin-top:20px;
    font-size:16px;
}

/* Payments */
.payments{
    display:flex;
    justify-content:center;
    gap:10px;
    flex-wrap:wrap;
    margin-top:20px;
}

.pay{
    border:1px solid #ddd;
    padding:6px 12px;
    border-radius:6px;
    background:#fafafa;
}

.policy{
    margin-top:15px;
    font-size:13px;
    color:#666;
    text-align:center;
}

/* Advisor */
.advisor{
    margin-top:20px;
    background:#111;
    color:#fff;
    padding:25px;
    border-radius:16px;
}

/* Newsletter */
.newsletter{
    background:#111;
    color:#fff;
    padding:50px 0;
    margin-top:50px;
    position:relative;
}

.newsletter .container{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:20px;
}

.newsletter input{
    padding:14px;
    min-width:280px;
    border:none;
    border-radius:8px;
}

.newsletter button{
    background:#d4af37;
    color:#fff;
    border:none;
    padding:14px 20px;
    border-radius:8px;
    cursor:pointer;
}

/* Responsive */
@media(max-width:992px){

    .checkout-layout{
        grid-template-columns:1fr;
    }

    .summary{
        position:static;
    }

    .grid{
        grid-template-columns:1fr;
    }

    .topbar .container,
    .newsletter .container{
        flex-direction:column;
        text-align:center;
    }
}

@media(max-width:576px){

    .page-hero h1{
        font-size:28px;
    }

    .steps{
        gap:10px;
    }

    .form-section{
        padding:20px;
    }

    .summary-body{
        padding:20px;
    }
}