
body{
    background: rgb(27 36 48) !important;
}
 .navbar{
    background-color: #161223; !important;
    }

.cart-container {
    max-width: 1100px;
    margin: 40px auto;
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin-top:120px;
    border:1px solid gray;
}

h2 {
    color: #008077;
    margin-bottom: 20px;
}

.cart-wrapper {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

/* Left side - Cart Summary */
.cart-summary {
    width: 100%;
}

/* Right side - Totals */
.cart-totals {
    width: 35%;
    background: #fdfdfd;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

th {
    text-align: left;
    padding: 10px 0;
    font-size: 15px;
    color: #2d4a69;
    border-bottom: 1px solid #ddd;
}

td {
    padding: 15px 0;
    vertical-align: middle;
    border-bottom: 1px solid #eee;
}

/* Product image */
.cart-img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
}

/* Remove button */
.remove-btn {
    color: red;
    font-size: 22px;
    cursor: pointer;
}

/* Coupon */
.coupon-box {
    display: flex;
    margin-top: 20px;
}

.coupon-box input {
    width: 65%;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ccc;
}

.coupon-box button {
    padding: 10px 20px;
    margin-left: 10px;
    border-radius: 8px;
    border: none;
    background: #d4e2ff;
    font-weight: bold;
    color: #2d4a69;
    cursor: pointer;
}

/* Buttons */
.update-cart-btn,
.checkout-btn {
    margin-top: 20px;
    width: 100%;
    padding: 14px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.update-cart-btn {
    background: #005b82;
    color: white;
}

.checkout-btn {
    background: linear-gradient(to right, #005b82, #00b7c2);
    color: white;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .cart-wrapper {
        flex-direction: column;
    }
    .cart-summary, .cart-totals {
        width: 100%;
    }
}
.empty-box {
    text-align: center;
    padding: 40px 20px;
}

.return-btn {
    display: inline-block;
    margin-top: 15px;
    background: #0073e6;
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
}

.return-btn:hover {
    background: #005bb5;
   color:white;
}
.checkout-btn a{
    color:white;
}
.remove-btn:hover 
{
    color: white !important;
background: red !important;
border-radius: 50% !important; /* perfect circle */
padding: 5px !important;
width: 25px !important;
height: 25px !important;
display: flex !important;
align-items: center !important;
justify-content: center !important;

}
.empty-box p{
    font-size:25px;
}

/* =========================
   MOBILE ONE ROW TABLE
========================= */
@media (max-width: 768px) {

    table,
    tbody,
    tr,
    td {
        display: block;
        width: 100%;
    }

    thead {
        display: none; /* hide headers */
    }
 
    tr {
        background: #fff;
        margin-bottom: 15px;
        border-radius: 10px;
        padding: 12px;
        box-shadow: 0 3px 8px rgba(0,0,0,0.08);
    }

    td {
        display: flex;
        justify-content: space-between;
        padding: 8px 0;
        font-size: 14px;
        border-bottom: 1px solid #eee;
    }

    td:last-child {
        border-bottom: none;
    }

    td::before {
        content: attr(data-label);
        font-weight: 600;
        color: #555;
    }
    .titleimg{
        margin-left: 20px;
        color: black;
    }
}

.popup-bg{
    position:fixed;top:0;left:0;right:0;bottom:0;
    background:rgba(0,0,0,0.6);
    display:flex;justify-content:center;align-items:center;
      z-index: 9999;
}
.popup-box{
    background:#fff;padding:25px;width:320px;position:relative;
    border-radius:10px;
}
.close-btn{
    position:absolute;top:10px;right:10px;
    border:none;
    color:black;padding:3px 7px;border-radius:5px;
    cursor:pointer;
}
.btn{margin-top:10px;width:100%;padding:10px;background:#0084ff;border:none;color:white;border-radius:5px;}
.popup-box input {
    width: 100%;
    padding: 8px;
    margin: 5px 0;
    border: 1px solid #ccc;
    outline: none;
    border-radius: 6px;
}


