
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 90%;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header-wrapper {
    background: transparent;
    position: relative; 
    min-height: 80px;
    padding-left: 40px;
    padding-right: 40px;
}

.header {
    background: #fff;
    border-bottom-left-radius: 25px;
    border-bottom-right-radius: 25px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
    max-width: 1600px;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 30px;
}

/* Logo Styles */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 100px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-img {
    max-width: 160%;
    max-height: 110%;
    object-fit: contain;
}



/* Navigation Styles */
.nav-list {
    display: flex;
    list-style: none;
    gap: 35px;
    margin: 0;
    padding: 0;
}

.nav-link {
    text-decoration: none;
    color: #051769;
    font-weight: 500;
    font-size: 13px;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
    text-transform: uppercase;
    position: relative;
}

.nav-link:hover {
    color: #4ECDC4;
}

.nav-link.active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 2px;
    background-color: #051769;
    border-radius: 2px;
}
/* Header Actions */
.header-actions {
    display: flex;
    gap: 8px;
}

.action-btn {
    background: none;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #081a4b;
    cursor: pointer;
    transition: all 0.3s ease;
}

.action-btn:hover {
    background: #f5f5f5;
    color: #4ECDC4;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    transition: all 0.3s ease;
}
.cart-btn.cart-active i {
  color: #2f9abb; /* change icon color */
  animation: glow 1.5s infinite alternate;
}

@keyframes glow {
  from {
    text-shadow: 0 0 5px #3eaeca, 0 0 10px #59bec5, 0 0 15px #6392a5;
  }
  to {
    text-shadow: 0 0 5px #3eaeca, 0 0 10px #59bec5, 0 0 15px #5dbadf;
  }
}

.user-btn.user-active i {
    color: #2f9abb; /* change icon color when active */
    animation: glow 1.5s infinite alternate;
}

@keyframes glow {
    0% { text-shadow: 0 0 5px #2f9abb; }
    50% { text-shadow: 0 0 15px #2f9abb; }
    100% { text-shadow: 0 0 5px #2f9abb; }
}


/* Responsive Design */

@media (max-width: 768px) {
    .header-wrapper {
        /* padding: 10px 15px 0; */
        min-height: 60px;
    }
    
    .header-container {
        padding: 15px 20px;
    }
    
    .nav {
        position: fixed;
        top: 0;
        right: 0;                     /* always start at right edge */
        width: 280px;                 /* or 75vw, 80vw etc. */
        height: 100%;
        background: #bee5eb;
        box-shadow: -4px 0 20px rgba(0,0,0,0.18);
        transform: translateX(100%);  /* hidden by default */
        transition: transform 0.35s ease;
        z-index: 1000;
        padding: 90px 25px 30px;
        display: flex;                /* important */
        flex-direction: column;
    }

    .nav.active {
        transform: translateX(0);     /* slide in */
    }

    .nav-list {
        flex-direction: column;
        gap: 20px;
    }

    .nav-link {
        font-size: 16px;
        color: #2C3E50;
    }

    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
        z-index: 1100;
    }

    .mobile-menu-toggle span {
        width: 25px;
        height: 3px;
        background: #333;
        border-radius: 2px;
        transition: 0.3s;
    }

    /* Animate toggle (X icon) */
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
    
}

@media (max-width: 480px) {
    .header-wrapper {
        padding: 8px 10px 0;
        min-height: 50px;
    }
    
    .header-container {
        padding: 12px 15px;
    }
    
    .logo-title {
        font-size: 16px;
    }
    
    .logo-subtitle {
        font-size: 8px;
    }
    
   
}

/* Tablet Styles */
@media (max-width: 1024px) and (min-width: 769px) {
    .header-wrapper {
        padding: 12px 18px 0;
        min-height: 70px;
    }
    
    .nav-list {
        gap: 25px;
    }
    
    .nav-link {
        font-size: 12px;
    }
    
  
}

/* sign in icon */
.user-menu {
    position: absolute;
    top: 60px;
    right: 10px;
    background: #fff;
    padding: 15px 20px;
    border-radius: 10px;
    display: none;
    box-shadow: 0 5px 25px rgba(0,0,0,0.15);
    width: 180px;
    z-index: 9999;
}

.user-menu a,
.user-menu p {
    display: block;
    padding: 8px 0;
    color: #333;
    font-size: 15px;
    text-decoration: none;
    border-bottom: 1px solid #eee;
}

.user-menu a:last-child {
    border-bottom: none;
}

.logout-btn {
    color: #d9534f;
    font-weight: bold;
}


.search-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.65);
    /* backdrop-filter: blur(6px); */
    /* -webkit-backdrop-filter: blur(6px); */
    z-index: 9999;
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding-top: 90px;
}

.search-box {
    width: 90%;
    max-width: 780px;
    background: white;
    border-radius: 999px;
    padding: 8px 18px;
    box-shadow: 0 12px 50px rgba(0,0,0,0.28);
    display: flex;
    align-items: center;
}

#liveSearch {
    flex: 1;
    border: none;
    outline: none;
    font-size: 1.15rem;
    padding: 12px 16px;
    color: #222;
}

.search-close {
    background: none;
    border: none;
    font-size: 2.4rem;
    color: #777;
    cursor: pointer;
    padding: 0 12px;
}

.search-close:hover {
    color: #c0392b;
}

/* ────────────────────────────────────────
   Highlight style for matched text
───────────────────────────────────────── */
.search-highlight {
    background-color: #fff176;
    padding: 2px 4px;
    border-radius: 3px;
    font-weight: 500;
}

/* Optional: dim non-matching areas slightly */
body.search-active main,
body.search-active section,
body.search-active .container {
    opacity: 0.92;
    transition: opacity 0.4s;
}