:root {
    --navy: #2c476b;
    --leaf: #4caf50;
    --bg-light: #f4f7f4;
    --text: #333;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text);
}

.promo-bar {
    background: var(--navy);
    color: white;
    text-align: center;
    padding: 8px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* FIXED NAVBAR */
nav {
    display: grid;
    grid-template-columns: 1fr 300px 1fr;
    align-items: center;
    padding: 1% 6%;
    background: white;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: lightgrey solid 1px;
}

.logo {
    text-align: left;
    grid-column: 1;
}

nav h1 {
    font-family: 'Playfair Display', serif;
    color: var(--navy);
    margin: 0;
    white-space: nowrap;
    grid-column: 2;
}

@media (max-width: 650px) {
    nav h1 {
        display: none;
    }

    .nav-icons{
        gap: 1rem;
    }
}

@media (max-width: 900px) {
    nav h1 {
        font-size: 1.3rem;
    }
}

@media (min-width: 900px) {
    nav h1 {
        font-size: 1.8rem;
    }

        .nav-icons{
        gap: 1.6rem;
    }
}


nav span {
    color: var(--leaf);
}

.nav-icons {
    display: flex;
    justify-content: flex-end;
    font-size: 1.3rem;
    grid-column: 3;
}

.nav-icons a {
    color: var(--navy);
    text-decoration: none;
}


footer {
    background: #111;
    color: #999;
    padding: 60px 8% 20px;
    margin-top: 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.btn {
    background: var(--leaf);
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    display: inline-block;
    transition: 0.3s;
    border: none;
}

@media (max-width: 900px) {
    nav {
        grid-template-columns: 1fr 1fr;
    }

    .nav-links {
        display: none;
    }
}

/* Cart Drawer Styles */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    /* Hidden by default */
    width: 70%;
    height: 100%;
    background: white;
    z-index: 2000;
    transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    flex-direction: column;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
}

.cart-drawer.open {
    right: 0;
}

.drawer-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.drawer-header h3 {
    font-family: 'Playfair Display';
    color: var(--navy);
}

#closeCart {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--navy);
}

.drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

/* Cart Item Styling */
.cart-product-card {
    display: grid;
    grid-template-columns: 80px 1fr auto;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
    align-items: center;
}

.cart-product-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
}

.cart-quantity-controls {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: fit-content;
}

.cart-qty-btn {
    padding: 5px 10px;
    background: none;
    border: none;
    cursor: pointer;
}

.cart-qty-input {
    width: 30px;
    text-align: center;
    border: none;
    font-weight: 600;
}

.order-summary {
    margin-top: 20px;
    background: var(--bg-light);
    padding: 20px;
    border-radius: 10px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.summary-row.total {
    border-top: 1px solid #ddd;
    padding-top: 10px;
    font-weight: 700;
    color: var(--navy);
}

.btn-checkout {
    width: 100%;
    text-align: center;
    margin-top: 15px;
}

/* Mobile Responsive */
@media (max-width: 900px) {
    .cart-drawer {
        width: 95%;
    }
}


.cart-login-now-btn {
    width: auto;
    padding: 10px;
    /* height: 45px; */
    flex-grow: 1;
    background: green;
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

/* Add this to your CSS file */
.footer-bottom a:hover {
    color: #0077b5 !important; /* LinkedIn Blue */
    text-decoration: underline;
}

.whatsapp-fixed-button {
    /* Key properties for fixed position and placement */
    position: fixed; /* Makes the element stay in place even when scrolling */
    bottom: 20px;    /* Positions the element 20 pixels from the bottom edge of the viewport */
    right: 20px;     /* Positions the element 20 pixels from the right edge of the viewport */

    /* Optional styling for appearance (adjust as needed) */
    z-index: 1000;   /* Ensures the button is above most other elements */
    width: 60px;     /* Set a fixed size for the container */
    height: 60px;
    border-radius: 50%; /* Makes it circular */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Adds a subtle shadow */
    display: flex; /* To center the icon if it's inside */
    justify-content: center;
    align-items: center;
    background-color: #25D366; /* WhatsApp brand color */
}