 .cart-container {
    background: #fff;
    padding: 30px;
    border-radius: 5px;
    
    box-shadow: 0px 2px 10px rgba(0,0,0,0.08);
}

.cart-item {
    border-bottom: 1px solid #eee;
    padding: 15px 0;
    display: flex;
    align-items: center;
}

.cart-item:last-child { border-bottom: none; }

.cart-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 2px;
}

.item-info { flex: 1; margin-left: 20px; }

.item-title {
    font-size: 16px;
    font-weight: 600;
}

.item-weight {
    font-size: 13px;
    color: #777;
}

.qty-input {
    width: 60px;
    text-align: center;
}

.remove-btn {
    color: #ff4444;
    font-size: 20px;
    cursor: pointer;
}

.total-box {
    text-align: right;
    padding-top: 20px;
}

.btn-checkout {
    background: #00A859;
    color: #fff;
    padding: 12px 25px;
    border-radius: 6px;
}
a.button.btn-proceed-checkout {
    padding: 12px 10px;
    font-size: 18px;
    
    font-weight: normal;
}
a.button.btn-proceed-checkout {
    background: #d3523d;
    border: none;
    color: #fff;
}

a.button.btn-proceed-checkout:hover {
    background: #fc4176;
    color: #fff;
}
a.button {
    display: inline-block;
    font-size: 14px;
    border-width: 1px;
    text-align: center;
    color: #333;
    font-weight: normal;
    transition: all 0.3s linear;
    -moz-transition: all 0.3s linear;
    -webkit-transition: all 0.3s linear;
    border-style: solid;
    border-radius: 0px;
    border-color: #fc4176 !important;
}
.data-table {
    border: 1px solid #E5E5E5;
    border-spacing: 0;
    text-align: left;
    width: 100%;
    font-size: 12px;
}
#shopping-cart-table {
    border: none;
}
.cart-table-wrapper {
    width: 100%;
    overflow-x: auto;
}

.cart-item-row {
    display: grid;
    grid-template-columns: 80px 1fr 80px 90px 50px;
    gap: 15px;
    padding: 18px 0;
    border-bottom: 1px solid #eee;
    align-items: center;
    min-width: 600px; /* enables horizontal scroll */
}

.cart-col-img img {
    width: 75px;
    height: 75px;
    object-fit: cover;
    border-radius: 8px;
}

.item-title {
    font-size: 16px;
    font-weight: 600;
}

.item-weight {
    font-size: 13px;
    color: #777;
}

.qty-input {
    width: 65px;
    text-align: center;
    padding: 5px;
    border-radius: 1px;
    border: 1px solid #ccc;
}

.cart-col-subtotal strong {
    font-size: 16px;
    color: #222;
}

.remove-btn {
    font-size: 20px;
    color: #e74c3c;
    cursor: pointer;
}

.remove-btn:hover {
    opacity: 0.7;
}

/* Toast Notification */
#cart-toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #00A859;
    color: #fff;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 15px;
    display: none;
    animation: fadeInOut 2s ease;
    z-index: 9999;
}

@keyframes fadeInOut {
    0% { opacity: 0; transform: translateY(10px); }
    10% { opacity: 1; transform: translateY(0); }
    90% { opacity: 1; }
    100% { opacity: 0; transform: translateY(10px); }
}

.cart-buttons {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

/* Desktop: side by side */
.cart-buttons a {
    flex: 1;
    text-align: center;
    padding: 14px 0;
    font-size: 16px;
    border-radius: 1px !important;
}

/* Continue Shopping */
.btn-cart-secondary {
    background: #f1f1f1;
    border: 1px solid #ccc !important;
    color: #333 !important;
}

/* Checkout Button */
.btn-cart-primary {
    background: #d3523d !important;
    border: none !important;
    color: #fff !important;
}

/* Hover */
.btn-cart-primary:hover {
    background: #fc4176 !important;
}
.btn-cart-secondary:hover {
    background: #e5e5e5;
}

/* Mobile: full width stacked */
@media (max-width: 576px) {
    .cart-buttons {
        flex-direction: column;
    }

    .cart-buttons a {
        width: 100%;
        font-size: 18px;
        padding: 15px 0;
    }
}

/* Overlay */
.confirm-popup-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 99999;
}

.confirm-popup-box {
    background: #fff;
    padding: 20px 25px;
    text-align: center;
    width: 300px;
    border-radius: 8px;
}


/* Buttons */
.popup-buttons {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.popup-btn {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    cursor: pointer;
}

.popup-btn.cancel {
    background: #ccc;
}

.popup-btn.delete {
    background: #e74c3c;
    color: #fff;
}

/* Animation */
@keyframes popupFade {
    from { opacity: 0; transform: scale(0.95); }
    to   { opacity: 1; transform: scale(1); }
}


