/* ================= CORE STYLES ================= */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Montserrat',sans-serif;
}
body{
    min-height:vh;
    overflow-x:hidden;
}
:root{
    --brand-dark:#062c43;
    --brand-blue:#0b6fae;
    --bg-light: #f8f8f8;
}

/* ================= LOADER ================= */
#loader {
    position:fixed;
    inset:0;
    background:#000;
    z-index:3000;
    display:flex;
    align-items:center;
    justify-content:center;
    transition:opacity 1s ease;
}
#loader.hidden { opacity:0; pointer-events:none; }

/* ================= TOP HEADER ================= */
.top-header{
    background:var(--brand-dark);
    color:#fff;
    font-size:11px;
}
.top-container{
    max-width:1400px;
    margin:auto;
    padding:6px 20px;
    display:grid;
    grid-template-columns:1fr 1fr 1fr;
    align-items:center;
}
.top-right{ justify-self:end; display:flex; gap:14px; }
.top-right a{color:#fff}

/* ================= MAIN HEADER ================= */
header{
    position:sticky;
    top:0;
    background:#fff;
    z-index:999;
    transition:.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:0 4px 16px rgba(0,0,0,.08);
}
.nav-container{
    max-width:1400px;
    margin:auto;
    padding:15px 17px;
    display:grid;
    grid-template-columns:auto 1fr auto;
    align-items:center;
    transition:.4s cubic-bezier(0.4, 0, 0.2, 1);
}

header.shrink .nav-container{ padding:4px 20px; }
header.shrink .logo img{ height:45px; }
header.shrink .logo span{ font-size:18px; }

.logo{
    display:flex;
    align-items:center;
    gap:10px;
    text-decoration: none;
    white-space: nowrap;
}
.logo img{ height:55px; transition:.4s ease; width: auto; }
.logo span{
    font-weight:600;
    color:var(--brand-dark);
    transition:.4s ease;
    font-size: 18px;
    display: inline-block;
}

/* ================= DESKTOP NAV ================= */
nav ul{
    list-style:none;
    display:flex;
    justify-content:center;
    gap:32px;
}
nav ul li{
    font-size:12px;
    font-weight:500;
    cursor:pointer;
    color:var(--brand-dark);
    padding:20px 0;
    display: flex;
    align-items: center;
    gap: 5px;
}
nav ul li:hover{color:var(--brand-blue);}
nav ul li i.fa-chevron-down { font-size: 10px; transition: transform 0.3s ease; }
nav ul li:hover i.fa-chevron-down { transform: rotate(180deg); }

/* ================= FULL WIDTH MEGA MENU (DESKTOP) ================= */
@media(min-width:901px){
  /* .mega-menu{
        position:absolute; top:100%; left:0; right:0; background:#fff;
        opacity:0; visibility:hidden; transform:translateY(20px);
        transition:.35s ease; box-shadow:0 25px 45px rgba(0,0,0,.18);
        z-index:998; padding: 40px 0; border-top: 1px solid #eee;
    }
	*/
	
	.mega-menu {
        position:absolute; 
        top:100%; 
        left:0; 
        right:0; 
        
        /* --- UPDATE HERE --- */
        background: rgba(255, 255, 255, 0.85); /* 0.85 matlab 85% transparent */
        backdrop-filter: blur(1px);          /* Piche ka content blur dikhega */
        -webkit-backdrop-filter: blur(10px);   /* Safari support ke liye */
        /* ------------------- */

        opacity:0; 
        visibility:hidden; 
        transform:translateY(20px);
        transition:.35s ease; 
        box-shadow:0 25px 45px rgba(0,0,0,.1); /* Shadow thodi halki kar di */
        z-index:998; 
        padding: 40px 0; 
        border-top: 1px solid rgba(0,0,0,0.05);
    }
	
    nav ul li:hover > .mega-menu{ opacity:1; visibility:visible; transform:translateY(0); }

    .mega-grid-shop {
        max-width: 1400px; margin: auto; padding: 0 20px;
        display: grid; grid-template-columns: 160px 160px 160px 160px 1fr; gap: 20px;
    }
    .mega-col h4 { font-size: 13px; margin-bottom: 20px; color: #999; font-weight: 600; text-transform: uppercase; }
    .mega-col a { display: block; text-decoration: none; color: var(--brand-dark); font-size: 13px; padding: 7px 0; transition: 0.3s; }
    .mega-col a:hover { color: var(--brand-blue); padding-left: 5px; }

    .trend-section { border-left: 1px solid #eee; padding-left: 30px; overflow: hidden; }
    .trend-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; }
    .trend-header h4 { font-size: 14px; color: #333; margin: 0; text-transform: none; }
    .slider-controls { display: flex; align-items: center; gap: 12px; font-size: 12px; color: #888; }
    .slider-controls i { cursor: pointer; padding: 5px; }
    .trend-slider-container { width: 420px; overflow: hidden; }
    .trend-track { display: flex; transition: transform 0.5s ease; gap: 20px; }
    .trend-item { min-width: 180px; text-decoration: none; color: inherit; }
    .img-box-trend { background: var(--bg-light); border-radius: 12px; padding: 15px; margin-bottom: 10px; }
    .img-box-trend img { width: 100%; mix-blend-mode: multiply; }
    .trend-item h5 { font-size: 13px; margin-bottom: 4px; }
    .trend-item span { font-size: 12px; color: #666; font-weight: 600; }

    .mega-container{
        max-width:1400px; margin:auto; padding:0 20px;
        display:grid; grid-template-columns:repeat(4,1fr); gap:30px;
    }
    .product{ text-align:center; position: relative; }
    .product-img-box { position: relative; overflow: hidden; border-radius: 12px; }
    .product img{ width:100%; display: block; transition:.4s; }
    .product-overlay {
        position: absolute; inset: 0; background: rgba(0,0,0,0.3);
        display: flex; align-items: center; justify-content: center;
        opacity: 0; transition: 0.3s;
    }
    .product-btn {
        background: #fff; color: #000; padding: 8px 16px;
        font-size: 12px; font-weight: 600; text-decoration: none;
        border-radius: 4px; transform: translateY(15px); transition: 0.3s;
    }
    .product:hover img{ transform:scale(1.08); }
    .product:hover .product-overlay { opacity: 1; }
    .product:hover .product-btn { transform: translateY(0); }
    .product h5{ margin-top:12px; color:var(--brand-dark); font-weight:500; }
    .product p{ font-size:13px; color:#666; }

    /* New Bundle Menu Desktop */
    .bundle-menu{
        position:absolute; top:100%; left:65%; transform:translateX(-50%) translateY(20px);
        width:220px; background:#FFF; opacity:0; visibility:hidden; transition:.3s;
        box-shadow:0 20px 40px rgba(0,0,0,.15); border-radius:10px; padding:15px 0; z-index:998;
        border-top: 3px solid var(--brand-blue);
    }
    nav ul li:hover > .bundle-menu { opacity:1; visibility:visible; transform:translateX(-50%) translateY(0); }
    .bundle-menu a{ display:block; padding:10px 20px; font-size:13px; color:var(--brand-dark); text-decoration:none; transition:.3s; font-weight: 500;}
    .bundle-menu a:hover{background:#f5f7f9; color:var(--brand-blue); padding-left: 25px;}
}

/* ================= ICONS ================= */
.icons{ display:flex; gap:18px; align-items: center; }
.icon-wrap{ position:relative; }
.cart-count{
    position:absolute; top:-6px; right:-8px; background:#e63946; color:#fff; font-size:11px;
    width:18px; height:18px; display:flex; align-items:center; justify-content:center; border-radius:50%;
}
.icons i{ font-size:16px; cursor:pointer; color:var(--brand-dark); transition: 0.3s; }
.icons i:hover{ color:var(--brand-blue); }

.mobile-toggle { display: none; font-size: 20px; cursor: pointer; color: var(--brand-dark); }

/* ================= MOBILE SIDEBAR ================= */
.mobile-sidebar {
    position: fixed; top: 0; left: -100%; width: 300px; height: 100%;
    background: #fff; z-index: 2000; transition: 0.4s ease;
    overflow: hidden;
}
.mobile-sidebar.active { left: 0; }

.sidebar-wrapper {
    display: flex; width: 600px; height: 100%;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.sidebar-wrapper.view-sub { transform: translateX(-300px); }

.menu-panel { width: 300px; height: 100%; padding: 25px; overflow-y: auto; }

.sidebar-header {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 30px; border-bottom: 1px solid #eee; padding-bottom: 15px;
}
.mobile-nav-links { list-style: none; }
.mobile-nav-links li {
    padding: 15px 0; border-bottom: 1px solid #f9f9f9;
    font-weight: 500; color: var(--brand-dark); font-size: 15px;
    display: flex; justify-content: space-between; align-items: center; cursor: pointer;
}
.mobile-nav-links li i { font-size: 12px; color: #ccc; }

/* Custom Mobile Submenu Styles */
.mobile-shop-links h4 { font-size: 12px; color: #999; text-transform: uppercase; margin: 20px 0 10px 0; }
.mobile-shop-links a { display: block; text-decoration: none; color: var(--brand-dark); font-size: 14px; padding: 8px 0; border-bottom: 1px solid #f9f9f9; }

/* Mobile Trend Fixes */
.mobile-trend-container { margin-top: 10px; background: var(--bg-light); padding: 8px; border-radius: 5px; position: relative; }
#mobileTrendCount { font-size: 10px; color: #999; font-weight: 600; margin-left: 5px; }

.mobile-trend-track { display: flex; transition: 0.4s ease; gap: 15px; width: fit-content; }
.mobile-trend-overflow { overflow: hidden; width: 100%; }
.mobile-trend-item { min-width: 140px; text-decoration: none; color: inherit; }
.mobile-trend-item img { width: 100%; border-radius: 8px; mix-blend-mode: multiply; }

.mobile-sub-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 10px; }
.mobile-sub-item { text-align: center; text-decoration: none; color: inherit; }
.mobile-sub-item img { width: 100%; border-radius: 10px; aspect-ratio: 1/1; object-fit: cover; margin-bottom: 8px; }
.mobile-sub-item h5 { font-size: 13px; color: var(--brand-dark); font-weight: 600; }
.mobile-sub-item p { font-size: 11px; color: #777; margin-top: 2px; }

.back-btn {
    display: flex; align-items: center; gap: 10px; color: var(--brand-blue);
    font-weight: 600; cursor: pointer; padding-bottom: 15px; margin-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.sidebar-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 1500; display: none; }
.sidebar-overlay.active { display: block; }

/* ================= SEARCH PANEL ================= */
.search-overlay{ position:fixed; inset:0; background:rgba(0,0,0,.5); opacity:0; visibility:hidden; z-index:1100; transition:.4s; }
.search-overlay.active{ opacity:1; visibility:visible; }
.search-panel{overflow-y: auto; position:fixed; top:0; right:-100%; width:400px; height:100vh; background:#fff; z-index:1200; transition:.4s; padding:30px; }
.search-panel.active{ right:0; }
.search-header{ display:flex; justify-content:space-between; align-items:center; margin-bottom:20px; }
.search-panel input{ width:100%; padding:14px; border:1px solid #ccc; border-radius:8px; }

.searched-keywords-list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin-top: 15px; }
.searched-keywords-list a { 
    text-decoration: none; color: #555; font-size: 13px; 
    padding: 5px 12px; background: #f1f1f1; border-radius: 20px; transition: 0.3s;
}
.searched-keywords-list a:hover { background: var(--brand-blue); color: #fff; }

/* ================= HERO SECTION ================= */
.hero{ position: relative; width: 100%; height: 85vh; overflow: hidden; }
.slide{ position:absolute; inset:0; opacity:0; transform: scale(1.1); transition: 1s ease, transform 6s ease; }
.slide.active{ opacity:1; transform: scale(1); z-index:1; }
.slide img{ width:100%; height:100%; object-fit:cover; }
.hero-content{ position:absolute; inset:0; display:flex; align-items:center; justify-content:center; text-align:center; z-index:5; }
.hero-content .box{ background:rgba(0,0,0,0.45); padding:30px 40px; color:#fff; border-radius:6px; }
.hero-content h1{ font-size:48px; margin-bottom:15px; }
.hero-content a{ display:inline-block; padding:12px 28px; background:#fff; color:#000; text-decoration:none; font-weight:bold; border-radius:4px; }
.dots{ position:absolute; bottom:25px; left:50%; transform:translateX(-50%); display:flex; gap:10px; z-index:10; }
.dots span{ width:12px; height:12px; border-radius:50%; background:rgba(255,255,255,0.5); cursor:pointer; }
.dots span.active{ background:#fff; transform:scale(1.3); }

/* ================= RESPONSIVE ================= */
@media(max-width:900px){
    .top-container { grid-template-columns: 1fr; text-align: center; }
    .top-right, .top-container div:first-child { display: none; }
    .nav-container { grid-template-columns: 1fr auto 1fr; padding: 12px 15px; }
    .logo { grid-column: 2; justify-self: center; gap: 6px; }
    .logo img { height: 35px; }
    .logo span { font-size: 15px; }
    .mobile-toggle { display: block; grid-column: 1; justify-self: start; }
    .icons { grid-column: 3; justify-self: end; gap: 12px; }
    nav { display: none; }
    .hero { height: 70vh; }
    .hero-content h1 { font-size: 30px; }
    .search-panel { width: 100%; }
}

/* ===== SEARCH MOST SEARCHED PRODUCTS ===== */
.search-products{
    display:flex;
    flex-direction:column;
    gap:14px;
    margin-top:15px;
}

.search-product-item{
    display:flex;
    gap:12px;
    text-decoration:none;
    color:#000;
    padding:10px;
    border-radius:10px;
    transition:.3s;
    border:1px solid #eee;
}

.search-product-item:hover{
    background:#f7f7f7;
}

.search-product-item img{
    width:60px;
    height:60px;
    object-fit:contain;
    background:#f5f5f5;
    border-radius:8px;
}

.search-product-item h5{
    font-size:14px;
    margin-bottom:2px;
    font-weight:600;
}

.search-product-item p{
    font-size:12px;
    color:#777;
    margin-bottom:4px;
}

.search-product-item span{
    font-size:13px;
    font-weight:600;
    color:#0b6fae;
}




 
.footer {
            background: #fff;
            border-top: 1px solid var(--border-color);
            color: var(--brand-dark);
            padding-top: 40px;
        }

        .footer-container {
            max-width: 1400px;
            margin: auto;
            padding: 0 20px;
            display: grid;
            grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
            gap: 30px;
        }

        /* --- Brand Section --- */
        .footer-brand {
            display: flex;
            flex-direction: column;
            gap: 15px;
        }

        .logo-box {
            display: flex;
            align-items: center;
            gap: 12px;
            text-decoration: none; /* No underline on logo */
        }

        .logo-box img {
            height: 45px;
            width: auto;
        }

        .logo-box span {
            font-size: 22px;
            font-weight: 700;
            color: var(--brand-dark);
            letter-spacing: 1px;
        }

        .footer-brand p {
            font-size: 14px;
            line-height: 1.6;
            color: var(--text-gray);
        }

        /* --- Link Columns --- */
        .footer-col h4 {
            font-size: 14px;
            text-transform: uppercase;
            margin-bottom: 20px;
            font-weight: 700;
            color: var(--brand-dark);
        }

        .footer-col ul {
            list-style: none;
        }

        .footer-col ul li {
            margin-bottom: 10px;
        }

        .footer-col ul li a {
            text-decoration: none; /* No underline on links */
            color: var(--text-gray);
            font-size: 14px;
            transition: 0.3s ease;
            display: inline-block;
        }

        .footer-col ul li a:hover {
            color: var(--brand-blue);
            transform: translateX(8px);
        }

        /* --- Newsletter --- */
        .newsletter-box h4 {
            font-size: 14px;
            text-transform: uppercase;
            margin-bottom: 15px;
            font-weight: 700;
        }

        .promo-text {
            font-size: 13px;
            color: var(--brand-blue);
            font-weight: 600;
            margin-bottom: 5px;
            display: block;
        }

        .newsletter-form {
            display: flex;
            gap: 5px;
            margin: 15px 0;
        }

        .newsletter-form input {
            flex: 1;
            padding: 12px;
            border: 1px solid #ddd;
            border-radius: 5px;
            outline: none;
            font-size: 13px;
        }

        .newsletter-form button {
            background: var(--brand-dark);
            color: #fff;
            border: none;
            padding: 0 20px;
            border-radius: 5px;
            cursor: pointer;
            font-weight: 600;
            transition: 0.3s;
        }

        .newsletter-form button:hover {
            background: var(--brand-blue);
        }

        /* --- Social & Payments --- */
        .social-icons {
            display: flex;
            gap: 12px;
        }

        .social-icons a {
            width: 38px;
            height: 38px;
            background: var(--bg-light);
            color: var(--brand-dark);
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            transition: 0.3s;
            border: 1px solid var(--border-color);
            text-decoration: none; /* !!! REMOVED UNDERLINE !!! */
        }

        .social-icons a:hover {
            background: var(--brand-blue);
            color: #fff;
            transform: translateY(-4px);
            text-decoration: none;
        }

        .payment-icons {
            display: flex;
            gap: 15px;
            font-size: 24px;
            color: #ccc;
            margin-top: 15px;
        }

        /* --- Bottom Bar --- */
        .footer-bottom {
            margin-top: 40px;
            padding: 20px 0;
            border-top: 1px solid var(--border-color);
            background: var(--bg-light);
        }

        .bottom-flex {
            max-width: 1400px;
            margin: auto;
            padding: 0 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 13px;
            color: #888;
        }

        /* ================= MOBILE OPTIMIZATION ================= */
        @media (max-width: 768px) {
            .footer-container {
                display: grid;
                grid-template-columns: repeat(2, 1fr);
                text-align: center;
                gap: 40px 15px;
            }

            .footer-brand, .newsletter-box {
                grid-column: span 2;
                display: flex;
                flex-direction: column;
                align-items: center;
            }

            .footer-col {
                grid-column: span 1;
            }

            .logo-box, .social-icons, .newsletter-form, .payment-icons {
                justify-content: center;
            }

            .newsletter-form {
                width: 100%;
                max-width: 320px;
            }

            .bottom-flex {
                flex-direction: column;
                gap: 10px;
            }
        }
