*{
    box-sizing:border-box;
}

body{
    margin:0;
    font-family:Arial, sans-serif;
    background:#f4f6fb;
    color:#071733;
}

/* HEADER */
.cart-topbar{
    max-width:1320px;
    height:72px;
    margin:14px auto 0;
    padding:0 34px;
    background:#001631;
    border-radius:12px 12px 0 0;
    display:flex;
    align-items:center;
    gap:38px;
    color:white;
}

.cart-logo a{
    text-decoration:none;
    color:white;
    font-size:34px;
    font-weight:900;
    letter-spacing:-1px;
}

.cart-logo span{
    color:#ff9700;
}

.cart-search{
    flex:1;
    max-width:660px;
    height:44px;
    background:white;
    border-radius:6px;
    overflow:hidden;
    display:flex;
}

.cart-search select{
    width:110px;
    border:none;
    border-right:1px solid #e5e7eb;
    padding:0 14px;
    color:#667085;
    outline:none;
    background:white;
}

.cart-search input{
    flex:1;
    border:none;
    outline:none;
    padding:0 16px;
    font-size:14px;
}

.cart-icons{
    margin-left:auto;
    display:flex;
    align-items:center;
    gap:26px;
}

.cart-icons a{
    color:white;
    text-decoration:none;
    font-size:22px;
    position:relative;
}

.cart-count{
    position:absolute;
    top:-10px;
    right:-12px;
    width:20px;
    height:20px;
    border-radius:50%;
    background:#ff9700;
    color:white;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:12px;
    font-weight:900;
}

/* PAGE */
.cart-page{
    max-width:1320px;
    margin:0 auto 40px;
    padding:34px 36px 50px;
    background:#f7f8fb;
    display:grid;
    grid-template-columns:1fr 390px;
    gap:20px;
    border-radius:0 0 12px 12px;
    box-shadow:0 16px 40px rgba(8,20,50,.08);
}

.cart-left,
.cart-right{
    min-width:0;
}

.cart-title-row{
    display:flex;
    align-items:center;
    gap:18px;
    margin-bottom:22px;
}

.cart-title-row h1{
    margin:0;
    font-size:26px;
    color:#071733;
}

.cart-title-row span{
    color:#7b8798;
    font-size:14px;
}

/* CART ITEMS */
#cartItems{
    background:white;
    border-radius:12px;
    overflow:hidden;
    box-shadow:0 8px 24px rgba(8,20,50,.05);
}

.cart-item{
    display:grid;
    grid-template-columns:95px 1fr 90px 112px 110px 34px;
    align-items:center;
    gap:16px;
    padding:22px 24px;
    border-bottom:1px solid #edf0f5;
    background:white;
}

.cart-item:last-child{
    border-bottom:none;
}

.cart-item img{
    width:74px;
    height:74px;
    object-fit:contain;
}

.cart-item h3{
    margin:0 0 6px;
    font-size:15px;
    color:#071733;
    line-height:1.35;
}

.cart-item p,
.cart-item small{
    margin:0;
    color:#7b8798;
    font-size:13px;
}

.cart-price{
    font-size:14px;
    font-weight:900;
    color:#071733;
}

.cart-price small{
    display:block;
    margin-top:4px;
    color:#7b8798;
    font-weight:400;
}

/* QUANTITY */
.qty-control,
.quantity-control{
    display:flex;
    align-items:center;
    justify-content:center;
    height:38px;
    border:1px solid #e1e6ef;
    border-radius:6px;
    overflow:hidden;
    width:106px;
}

.qty-control button,
.quantity-control button{
    width:34px;
    height:38px;
    border:none;
    background:#f8fafc;
    color:#071733;
    font-size:17px;
    font-weight:800;
    cursor:pointer;
}

.qty-control span,
.quantity-control span,
.qty-value{
    width:36px;
    text-align:center;
    font-size:14px;
    font-weight:800;
    color:#071733;
}

.cart-line-total,
.item-total{
    font-size:14px;
    font-weight:900;
    color:#071733;
    text-align:right;
}

.remove-btn,
.delete-btn{
    width:30px;
    height:30px;
    border:none;
    background:transparent;
    color:#071733;
    font-size:18px;
    cursor:pointer;
}

/* CONTINUE */
.continue-shopping{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    margin-top:18px;
    height:46px;
    padding:0 24px;
    background:white;
    border:1px solid #e3e8f0;
    border-radius:8px;
    color:#071733;
    text-decoration:none;
    font-weight:800;
    box-shadow:0 8px 20px rgba(8,20,50,.04);
}

/* SUMMARY */
.cart-right{
    align-self:start;
}

.summary-card{
    background:white;
    border-radius:12px;
    padding:26px 24px;
    box-shadow:0 8px 24px rgba(8,20,50,.06);
    position:sticky;
    top:20px;
}

.summary-card h2{
    margin:0 0 24px;
    font-size:18px;
    color:#071733;
}

.summary-row{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:12px 0;
    color:#071733;
    font-size:14px;
}

.summary-row span:last-child{
    font-weight:700;
}

.summary-divider{
    height:1px;
    background:#edf0f5;
    margin:12px 0;
}

.summary-total{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin:20px 0 24px;
    font-size:20px;
    font-weight:900;
    color:#071733;
}

.checkout-btn{
    width:100%;
    height:58px;
    background:#ff9700;
    color:white;
    border-radius:8px;
    display:flex;
    align-items:center;
    justify-content:center;
    text-decoration:none;
    font-size:14px;
    font-weight:900;
    letter-spacing:.2px;
}

.secure-box{
    margin-top:22px;
    display:flex;
    align-items:center;
    gap:12px;
}

.secure-icon{
    width:32px;
    height:32px;
    border-radius:50%;
    background:#fff4e5;
    display:flex;
    align-items:center;
    justify-content:center;
}

.secure-box b{
    display:block;
    font-size:13px;
    color:#071733;
}

.secure-box small{
    display:block;
    margin-top:3px;
    font-size:12px;
    color:#7b8798;
}

/* EMPTY CART */
.empty-cart{
    background:white;
    border-radius:12px;
    padding:40px;
    text-align:center;
    color:#7b8798;
}

/* RESPONSIVE */
@media(max-width:1000px){
    .cart-page{
        grid-template-columns:1fr;
    }

    .summary-card{
        position:static;
    }
}

@media(max-width:760px){
    .cart-topbar{
        height:auto;
        flex-direction:column;
        align-items:stretch;
        padding:20px;
        gap:16px;
    }

    .cart-search{
        max-width:none;
        width:100%;
    }

    .cart-icons{
        margin-left:0;
        justify-content:flex-end;
    }

    .cart-page{
        padding:24px 16px 36px;
    }

    .cart-item{
        grid-template-columns:70px 1fr;
        gap:12px;
    }

    .cart-price,
    .qty-control,
    .quantity-control,
    .cart-line-total,
    .item-total,
    .remove-btn,
    .delete-btn{
        grid-column:2;
        text-align:left;
    }
}

.account-iframe {
    width: 100%;
    height: 760px;
    border: none;
    border-radius: 18px;
    background: #fff;
}
html, body, button, input, select, textarea {
    font-family: "Segoe UI", "Noto Sans", Arial, sans-serif !important;
}
