.cart-page {
    padding: 40px 20px;
    max-width: 900px;
    margin: auto;
    background-color: #ffffff;
}

.cart-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
}

.cart-table th,
.cart-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #ddd;
    text-align: center;
}

.cart-table input[type="number"] {
    width: 60px;
    padding: 6px;
    text-align: center;
}

.delete-btn {
    background-color: #ff4d4d;
    color: white;
    border: none;
    padding: 6px 10px;
    border-radius: 4px;
    cursor: pointer;
}

.delete-btn:hover {
    background-color: #d60000;
}

.cart-summary {
    text-align: right;
    font-size: 18px;
}

.checkout-btn {
    margin-top: 10px;
    padding: 12px 20px;
    background-color: #28a745;
    color: white;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.checkout-btn:hover {
    background-color: #1e7e34;
}

footer {
    text-align: center;
    padding: 15px;
    background-color: #333;
    color: white;
}


/* Header styling */

header {
    background: linear-gradient(90deg, #0b4f8a 60%, #1976d2 100%);
    padding: 32px 0 24px 0;
    color: white;
    text-align: center;
    box-shadow: 0 4px 16px rgba(11, 79, 138, 0.12);
    border-bottom-left-radius: 18px;
    border-bottom-right-radius: 18px;
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 0;
    margin: 0;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    padding: 8px 0;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 8px 12px;
    transition: color 0.2s, background 0.2s, box-shadow 0.2s;
}

nav a.login-btn {
    background-color: #ffffff;
    color: #0b4f8a;
    border-radius: 5px;
    transition: background-color 0.2s;
}

nav a.login-btn:hover {
    background-color: #e0e0e0;
}

.cart-product {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cart-product img {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #eee;
}

.cart-product .desc {
    color: #666;
    font-size: 0.98em;
}

@media (max-width: 700px) {
    .cart-product img {
        width: 40px;
        height: 40px;
    }
    .cart-table th,
    .cart-table td {
        padding: 7px 4px;
        font-size: 0.96em;
    }
    .cart-summary {
        font-size: 1em;
    }
}

.cart-btn {
    background-color: #ff9800;
    color: white;
    padding: 6px 14px;
    border-radius: 5px;
    font-weight: bold;
}

.cart-btn:hover {
    background-color: #e68900;
}

footer {
    text-align: center;
    padding: 20px 0;
    background: linear-gradient(90deg, #0b4f8a 60%, #1976d2 100%);
    color: white;
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
    box-shadow: 0 -4px 16px rgba(11, 79, 138, 0.12);
    font-size: 0.9rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.social-icons {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.social-icons img {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: #fff;
    transition: transform 0.2s;
}

.social-icons img:hover {
    transform: scale(1.15) rotate(-6deg);
    box-shadow: 0 2px 8px #2222;
}

@media (max-width: 800px) {
    .footer-cols {
        flex-direction: column;
        gap: 18px;
    }
    .footer-col {
        min-width: unset;
    }
}

.cart-btn {
    background-color: #ff9800;
    color: white;
    padding: 6px 14px;
    border-radius: 5px;
    font-weight: bold;
}

.cart-btn:hover {
    background-color: #e68900;
}