* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Georgia', serif;
}

body {
    background-color: #f5f0eb;
    color: #2c2c2c;
    width: 100%;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #0b1d3a; /* Navy Blue Color */
    padding: 15px 30px;
    color: #f5f0eb;
}

.navbar .logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #f5f0eb; /* Elegant Beige Color */
}


.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 20px;
}

.nav-links a {
    color: #f5f0eb;
    text-decoration: none;
    font-weight: 500;
}

.nav-links a:hover {
    color: #d4af37; /* Gold accent on hover */
}

/* My Cart Button Styling */
.btn-cart {
    background-color: #d4af37;
    color: #0b1d3a;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    transition: background-color 0.3s;
}

.btn-cart:hover {
    background-color: #f5f0eb;
    color: #0b1d3a;
}


/* Hero Section (Soft Beige) */
.hero {
    text-align: center;
    padding: 60px 20px;
    background-color: #f5f0eb;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero h1 {
    font-size: 2.8rem;
    color: #0b1d3a;
    margin-bottom: 10px;
}

.hero p {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 25px;
}


.btn {
    background-color: #d4af37;
    color: #1a1a1a;
    border: none;
    padding: 12px 28px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    border-radius: 4px;
    transition: 0.3s;
}

.btn:hover {
    background-color: #b89428;
}

/* Categories Section (Navy Blue Portion Below) */
.categories-section {
    width: 100%;
    padding: 50px 20px 70px 20px;
    text-align: center;
    background-color: #0b1d3a;
}

.categories-section h2 {
    font-size: 2.4rem;
    margin-bottom: 35px;
    color: #d4af37;
    letter-spacing: 1px;
}

.category-container {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    max-width: 1100px;
    margin: 0 auto;
}

.category-card {
    background-color: #f5f0eb;       /* Beige Background (waisa hi rakha hai) */
    border: 2px solid #d4af37;        /* Luxury Golden Margin/Border */
    padding: 30px 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    border-color: #b89628;            /* Hover par thoda dark golden effect (optional) */
}


.card-icon {
    font-size: 3rem;
    margin-bottom: 12px;
}

.category-card h3 {
    margin-bottom: 8px;
    color: #0b1d3a;
    font-size: 1.4rem;
}

.category-card p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 18px;
}

.btn-category {
    background-color: #0b1d3a;
    color: #d4af37;
    border: 1px solid #d4af37;
    padding: 9px 18px;
    font-size: 0.85rem;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

.btn-category:hover {
    background-color: #d4af37;
    color: #0b1d3a;
}
/* Hero Badge / Gold Box with Navy Border & Beige Text */
.hero-badge {
    display: inline-block;
    background-color: #d4af37;      /* Luxury Gold Background */
    color: #f5f0eb;                 /* Soft Beige Text */
    border: 2px solid #0b1d3a;      /* Navy Blue Border/Margin Box */
    padding: 8px 18px;              /* Inside spacing */
    border-radius: 6px;             /* Slight rounded corners */
    font-weight: 600;
    font-size: 0.95rem;
    margin-top: 15px;
    letter-spacing: 0.5px;
}
/* Shopping Cart Sidebar & Overlay */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 999;
}

.cart-overlay.active {
    display: block;
}

.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 350px;
    height: 100%;
    background-color: #f5f0eb;
    box-shadow: -4px 0 15px rgba(0,0,0,0.2);
    z-index: 1000;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
    padding: 20px;
}

.cart-sidebar.active {
    right: 0;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #d4af37;
    padding-bottom: 10px;
}

.cart-header h3 {
    color: #0b1d3a;
    margin: 0;
}

.close-cart-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #0b1d3a;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    margin-top: 20px;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 10px;
    border: 1px solid #d4af37;
}

.cart-item-details h4 {
    margin: 0 0 5px 0;
    font-size: 0.95rem;
    color: #0b1d3a;
}

.cart-item-details p {
    margin: 0;
    font-size: 0.85rem;
    color: #555;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 6px;
}

.cart-item-controls button {
    background: #0b1d3a;
    color: #f5f0eb;
    border: none;
    padding: 2px 8px;
    border-radius: 4px;
    cursor: pointer;
}

.cart-item-controls .remove-btn {
    background: transparent;
    font-size: 1rem;
}

.cart-footer {
    border-top: 2px solid #d4af37;
    padding-top: 15px;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.2rem;
    font-weight: bold;
    color: #0b1d3a;
    margin-bottom: 15px;
}

.checkout-btn {
    width: 100%;
    background-color: #0b1d3a;
    color: #f5f0eb;
    border: 1px solid #d4af37;
    padding: 12px;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s;
}

.checkout-btn:hover {
    background-color: #d4af37;
    color: #0b1d3a;
}

/* Checkout Modal / Bill Generator */
.checkout-modal {
    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: 2000;
}

.checkout-content {
    background: #f5f0eb;
    padding: 25px;
    border-radius: 10px;
    width: 90%;
    max-width: 450px;
    border: 2px solid #d4af37;
    position: relative;
}

.bill-summary {
    background: #ffffff;
    padding: 15px;
    border-radius: 8px;
    margin: 15px 0;
    border: 1px dashed #0b1d3a;
}

.bill-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.bill-total-row {
    display: flex;
    justify-content: space-between;
    font-weight: bold;
    font-size: 1.1rem;
    border-top: 1px solid #ddd;
    padding-top: 8px;
    margin-top: 10px;
    color: #0b1d3a;
}

.checkout-form input {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}
/* Billing & Payment Modal Form Styles */
.checkbox-group {
    font-size: 0.88rem;
    color: #0b1d3a;
    margin: 8px 0 12px 0;
    display: flex;
    align-items: center;
}

.checkbox-group input {
    margin-right: 6px;
    cursor: pointer;
}

.payment-options {
    background: #fff;
    border: 1px solid #d4af37;
    padding: 10px;
    border-radius: 6px;
    margin-top: 10px;
    text-align: left;
}

.radio-label {
    display: block;
    font-size: 0.9rem;
    color: #333;
    margin-top: 5px;
    cursor: pointer;
}

.radio-label input {
    margin-right: 8px;
}

.checkout-modal .checkout-content {
    max-height: 90vh;
    overflow-y: auto;
}
/* Checkout Modal Fixed Layout */
.checkout-modal {
    display: none !important;
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* Modal Open hone par bilkul center mein popup ban ke aayega */
.checkout-modal.active, 
.checkout-modal[style*="display: block"], 
.checkout-modal[style*="display: flex"] {
    display: flex !important;
}
  /* Fix header background & laptop display */
header, .navbar {
    background-color: #0b1d3a;
}

/* Mobile Responsive Header Styles */
@media screen and (max-width: 768px) {
    header, nav, .navbar {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 8px 12px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .logo, header h1, header h2 {
        font-size: 0.9rem !important;
        margin: 0 !important;
        white-space: nowrap !important;
    }

    .nav-links, nav ul {
        display: flex !important;
        gap: 8px !important;
        margin: 0 !important;
        padding: 0 !important;
        list-style: none !important;
    }

    .nav-links a, nav a {
        font-size: 0.75rem !important;
        padding: 2px 4px !important;
        /* Hero section fix for mobile */
    .hero h1 {
        font-size: 1.8rem !important;
        color: #ffffff !important;
        display: block !important;
        visibility: visible !important;
    }

    .hero p {
        font-size: 1rem !important;
        color: #d4af37 !important;
    }

    .hero {
        padding: 30px 15px !important;
    }
    }

    .cart-btn, #cart-btn, button.cart {
        font-size: 0.75rem !important;
        padding: 5px 8px !important;
        white-space: nowrap !important;
    }
}