/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Playfair Display', serif;
    color: #333;
    background: #f9f9f9;
    line-height: 1.6;
}

/* ---------------- Navbar ---------------- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 10%;
    background: #111;
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ffce54;
    /* Gold */
    cursor: pointer;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
}

.nav-links li a {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    transition: 0.3s;
}

.nav-links li a:hover,
.nav-links li a.active {
    color: #ffce54;
}

/* Hamburger menu (mobile) */
.menu-toggle {
    display: none;
    font-size: 2rem;
    cursor: pointer;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 70px;
        right: -100%;
        display: none;
        flex-direction: column;
        background: #111;
        width: 100%;
        /* text-align: center; */
        padding: 15px 10%;
        transition: 0.3s;
    }

    .nav-links.active {
        right: 0;
        display: block;
    }

    .menu-toggle {
        display: block;
    }
}


/* Container */
.container {
    max-width: 1200px;
    margin: auto;
    padding: 40px 20px;
}

/* Cart Section */
.cart-section h1 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 40px;
}

/* Layout */
.cart-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

/* Cart Items */
.cart-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    padding: 20px;
    position: relative;
    transition: transform 0.2s ease;
}

.cart-item:hover {
    transform: translateY(-3px);
}

.cart-item img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 10px;
}

.item-details {
    flex: 1;
}

.item-details h3 {
    font-size: 1.2rem;
    margin: 0;
}

.item-details .desc {
    font-size: 0.9rem;
    color: #777;
    margin: 5px 0;
}

.item-details .price {
    font-size: 1rem;
    font-weight: 500;
    color: #444;
}

.quantity {
    display: flex;
    align-items: center;
    margin-top: 10px;
}

.quantity button {
    border: none;
    background: #eee;
    padding: 6px 12px;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 6px;
}

.quantity input {
    width: 50px;
    text-align: center;
    margin: 0 5px;
    padding: 6px;
    border: 1px solid #ddd;
    border-radius: 6px;
}

.remove {
    border: none;
    background: transparent;
    font-size: 1.2rem;
    color: #999;
    cursor: pointer;
    position: absolute;
    top: 15px;
    right: 15px;
}

/* Empty Cart Message */
.cart-empty {
    text-align: center;
    height: 100%;
    padding: 60px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.cart-empty p {
    font-size: 1.3rem;
    color: #555;
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
    /* Premium font */
}

/* Continue Shopping Button */
.cart-empty .btn-continue {
    display: inline-block;
    padding: 12px 28px;
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.cart-empty .btn-continue:hover {
    background: linear-gradient(135deg, #1e2a36, #2c3e50);
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* Summary */
.cart-summary {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    padding: 25px;
    height: fit-content;
}

.cart-summary h2 {
    margin-bottom: 20px;
    font-size: 1.6rem;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 1rem;
}

.summary-line.total {
    font-weight: 600;
    font-size: 1.1rem;
    border-top: 1px solid #eee;
    padding-top: 10px;
}

.checkout-btn {
    margin-top: 20px;
    width: 100%;
    padding: 14px;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, #0d1b2a, #1b263b);
    color: #fff;
    cursor: pointer;
    transition: background 0.3s ease;
}

.checkout-btn:hover {
    background: linear-gradient(135deg, #1b263b, #0d1b2a);
}

/* Responsive */
@media (max-width: 900px) {
    .cart-layout {
        grid-template-columns: 1fr;
    }

    .cart-summary {
        margin-top: 20px;
    }
}

.billing-section {
    margin: 40px auto;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.billing-section h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
}

.billing-section .form-group {
    margin-bottom: 15px;
}

.billing-section label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
}

.billing-section input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
}

.billing-section .checkout-btn {
    width: 100%;
    background: #2c3e50;
    color: #fff;
    padding: 12px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1rem;
    margin-top: 10px;
    transition: background 0.3s ease;
}

.billing-section .checkout-btn:hover {
    background: #1a242f;
}

.required {
    color: red;
}


/* Footer */
.footer {
    background: #111;
    color: #fff;
    padding: 50px 10% 20px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-col h3,
.footer-col h4 {
    margin-bottom: 15px;
    color: #ffce54;
    /* Gold accent */
}

.footer-col p,
.footer-col ul li a {
    color: #bbb;
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-col a {
    color: #bbb;
    font-size: 0.95rem;
    line-height: 1.6;
    text-decoration: none;
    display: block;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a {
    text-decoration: none;
    transition: 0.3s;
}

.footer-col ul li a:hover {
    color: #fff;
}

.socials a {
    display: inline-block;
    margin-right: 15px;
    color: #ffce54;
    text-decoration: none;
    transition: 0.3s;
}

.socials a:hover {
    color: #fff;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #333;
    padding-top: 15px;
    font-size: 0.9rem;
    color: #bbb;
}