*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    background:#020914;
    color:#fff;
    font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
    line-height:1.6;
    overflow-x:hidden;
}

img{
    max-width:100%;
    display:block;
}

a{
    text-decoration:none;
    color:inherit;
}

button,
input{
    font-family:inherit;
}
/*======================================
        NAVBAR
======================================*/
.navbar{
    border-bottom:1px solid #172238;
    background:#050d18;
    padding: 15px 0;
    top: 0;
    z-index: 1000;
    position: fixed;
    width: 100%;
}
.nav-container{
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    margin: 0 auto;
    padding: 0 45px;
}
.nav-container h1{
    font-size: 1.8rem;
    font-family: system-ui;
    font-weight: 700;
    letter-spacing: 9px;
    color: white;
}
.nav-container span{
    color:#1677ff;
}
.nav-menu{
    display: flex;
    list-style: none;
    gap: 30px;
}
.nav-menu a{
    text-decoration: none;
    text-transform: capitalize;
    color: white;
    font-size: 1.2rem;
    font-weight: 500;
    border-bottom: 2px solid transparent;
    transition:all 0.3s ease ;
    padding: 8px ;
    letter-spacing: 1px;
    border-radius: 4px;
}
.nav-menu a:hover{
    color:#1680ff;
    border-bottom: 2px solid #1677ff;
    transform: translateY(4px);
    background: #6d7174;
}
.nav-menu a.active{
    color:#1680ff;
   border-bottom: 2px solid #1677ff;
}
.nav-menu a:active{
    font-size: 1.6rem;
}
/*======================================
        SEARCH
======================================*/
.search input{
    width:320px;
    padding:15px 18px;
    border-radius:10px;
    border:2px solid #243247;
    background:#111b2b;
    color:white;
}
.search input:focus{
    border-color:#1677ff;
    box-shadow:0 0 0 3px rgba(22,119,255,.15);
}
/* =========================
   SEARCH RESULTS
========================= */

.search {
    position: relative;
}

.search-results {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 100%;
    max-height: 400px;
    overflow-y: auto;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.18);
    border: 1px solid #e5e7eb;
    z-index: 9999;
    display: none;
}

/* Individual result */

.search-result {
    display: block;
    padding: 14px 16px;
    text-decoration: none;
    color: #111827;
    border-bottom: 1px solid #eeeeee;
    transition: background 0.2s ease;
}

.search-result:last-child {
    border-bottom: none;
}

.search-result:hover {
    background: #f5f8ff;
}

.search-result strong {
    display: block;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
}

.search-result small {
    display: block;
    color: #6b7280;
    font-size: 13px;
}

/* No result */

.no-results {
    padding: 18px;
    text-align: center;
    color: #6b7280;
    font-size: 14px;
}
.search-result {
    display: flex;
    align-items: center;
    gap: 12px;
}

.search-result img {
    width: 100px;
    height: 60px;
    object-fit: contain;
    border-radius: 8px;
    background: #f5f5f5;
    flex-shrink: 0;
}

.search-result-info {
    min-width: 0;
}

.search-result-info strong {
    margin-bottom: 3px;
}

.search-result-info small {
    margin-bottom: 3px;
}

.search-result-info span {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #1677ff;
}
/*======================================
      HAMBURGER
======================================*/
.hamburger{
    display:none;
    width:32px;
    cursor:pointer;
}
.bar{
    display:block;
    height:3px;
    margin:6px 0;
    background:#fff;
    border-radius:5px;
    transition:.3s;
}
/*=====================================
        HERO
======================================*/
.hero-images{
    max-width:1400px;
    margin:110px auto 40px;
    border-radius:14px;
    overflow:hidden;
    border:1px solid #223248;
    box-shadow:0 10px 35px rgba(0,0,0,.35);
}
.hero-images img{
    width:100%;
    height:700px;
    object-fit:cover;
}

/* ===== NEW PREMIUM TOP FILTER BAR ===== */
.premium-filter-bar {
    background: #0d1117;
    padding: 20px;
    border-radius: 14px;
    border: 1px solid #21262d;
    max-width: 1400px;
    margin: 30px auto;
}

.filter-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
.filter-top h3 {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
}
.filter-top h3::before { content: "⚖️"; }
.filter-top span { font-size: 13px; color: #8b949e; }

.premium-filter-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr) 200px; /* Desktop: 4 filters + buttons */
    gap: 15px;
    align-items: end;
}

.premium-filter-box {
  background: #161b22;
  border: 1px solid #30363d;
  border-radius: 12px;
  padding: 12px 14px;
  transition: 0.3s;
}
.premium-filter-box:hover { 
  border-color: #1677ff; 
  transform: translateY(-2px);
}

.premium-filter-box label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #8b949e;
    margin-bottom: 8px;
    font-weight: 600;
}

.premium-filter-box select {
    width: 100%;
    background: #0d1117;
    border: 1px solid #30363d;
    border: none;
    color: #c9d1d9;
    font-size: 14px;
    font-weight: 700;
    padding: 10px 12px;
    border-radius: 8px;
    outline: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%238b949e' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right center;
    padding-right: 20px;
    transition: all 0.3s ease;
}
.premium-filter-bar select:hover{
    border-color: #1677ff;
    background-color: #161b22;

}
.premium-filter-bar select:focus{
    border-color: #1677ff;
    box-shadow: 0 0 0 3px rgba(22, 119, 255, .2);

}

/* Dropdown ke options ka color - Chrome/Edge */
.premium-filter-box select option {
  background: #161b22;
  color: #c9d1d9;
  padding: 10px;
  font-weight: 500;
  border: 2px solid #1677ff;
}

.premium-filter-box select option:hover,
.premium-filter-box select option:checked {
  background: #1677ff ;
  color: #fff;
}

/* Buttons */
.filter-btns {
    display: flex;
    gap: 10px;
}
.btn-apply, .btn-reset {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    height: 52px;
    transition: 0.3s;
}
.btn-apply {
    background: #238636;
    color: #fff;
    transition: all 0.3s ease;
}
.btn-apply:hover { background: #0de835; color: black; }
.btn-reset {
    background: #21262d;
    color: #c9d1d9;
    border: 1px solid #30363d;
}
.btn-reset:hover { background: #30363d; }

/* Hide old sidebar and mobile filter btn */
.sidebar, .mobile-filter-btn { display: none !important; }
/*=====================================
        PRODUCTS GRID
======================================*/
.products-grid{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(260px,1fr));
    gap:28px;
    align-items:start;
    margin: 0 auto;
    max-width: 1200px;
    min-height: 400px;
    padding-bottom: 100px;
}
/*======================================
        PRODUCT CARD
======================================*/
.product-card{
    background:#111b2b;
    border:1px solid #243247;
    border-radius:14px;
    overflow:hidden;
    transition:.35s ease;
    display:flex;
    flex-direction:column;
  box-shadow: 0 4px 20px rgba(10,37,64,0.8);
}
.product-card:hover{
    transform:translateY(-8px);
    border-color:#005fe0;
    box-shadow:0 15px 35px rgba(22,119,255,.25);
}
.rating{
    color:#ffc400;
    margin-bottom:20px;
}
/*======================================
        PRODUCT IMAGE
======================================*/
.product-img{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding:25px;
    overflow: hidden;
    text-align:center;
}
.product-img img{
    width:100%;
    height:100%;
    object-fit:cover;
    margin:auto;
    transition:.35s;
}
.product-card:hover .product-img img{
    transform:scale(1.08);
}
/*======================================
        BADGE
======================================*/
.badge{
    position:absolute;
  top: 2px;
  left: 10px;
  background: rgb(132, 245, 132); 
  color: #243247;
  padding: 4px 11px;
  border-radius: 6px;
  font-size: 17px;
  font-weight: 800;
}
.badge.hot{
    background:#ff4d4f;
}
/*======================================
        PRODUCT INFO
======================================*/
.product-info{
    padding:20px;
    display:flex;
    flex-direction:column;
    flex:1;
}
.product-title{
    font-size:20px;
    font-weight:700;
    margin-bottom:8px;
    color:#fff;
}
.product-specs{
    font-size:14px;
    color:#b8c2d0;
    line-height:1.7;
    margin-bottom:5px;
}
/*======================================
        PRICE
======================================*/
.price-box{
    margin-bottom:18px;
}
.price{
    font-size:24px;
    font-weight:700;
    color:#4da3ff;
}
.price span{
    margin-top:5px;
    color:#8f99a8;
    font-size:20px;
    text-decoration:line-through;
}
/*======================================
        BUTTON
======================================*/
.btn-buy{
    margin-top:auto;
    display:block;
    text-align:center;
    background:#1677ff;
    color:#fff;
    padding:11px;
    border-radius:10px;
    font-size:16px;
    font-weight:700;
    transition:.3s;
}
.btn-buy:hover{
    background:#005fe0;
    transform:translateY(-2px);
}
/*======================================
        NO RESULT
======================================*/
#no-results{
    grid-column:1/-1;
    text-align:center;
    padding:20px 10px;
    color:#9ca3af;
    font-size:16px;
    font-weight:600;
    display: none;
    margin: 0;
    min-height: 0;
}
/*=====================================
        DESKTOP LAYOUT FIX
======================================*/

.products-grid{
    width:100%;
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(260px,1fr));
    gap:25px;
}
.product-card{
    width:100%;
}

/*======================================
        SMOOTH ANIMATION
======================================*/
.product-card,
.btn-buy{
    transition:all .35s ease;
}
/*======================================
        IMAGE HOVER
======================================*/
.product-img{
    overflow:hidden;
    border: 1px solid #243247;
    border-radius: 12px;
}
.product-img img{
    transition:transform .4s ease;
    border: 1px solid #243247;
    border-radius: 12px;
}
.product-card:hover img{
    transform:scale(1.08);
}

/*======================================
        BUTTON EFFECT
======================================*/
.btn-buy{
    position:relative;
    overflow:hidden;
}
.btn-buy::before{
    content:"";
    position:absolute;
    top:0;
    left:-100%;
    width:100%;
    height:100%;
    background:rgba(255,255,255,.18);
    transition:.45s;
}
.btn-buy:hover::before{
    left:100%;
}

/*======================================
        PRODUCT TITLE
======================================*/
.product-title{
    display:-webkit-box;
    -webkit-box-orient:vertical;
    overflow:hidden;
}
/*======================================
        PRICE
======================================*/
.price{
    letter-spacing:.5px;
}
.old-price{
    margin-top:6px;
}
/*======================================
        FOCUS
======================================*/
button:focus,
input:focus,
a:focus{
    outline:2px solid #1677ff;
    outline-offset:3px;
}
/*======================================
        SELECTION
======================================*/
::selection{
    background:#1677ff;
    color:#fff;
}
/*======================================
        LOADING EFFECT
======================================*/
.product-card,
.hero-images,
.premium-filter-bar{
    animation:fadeUp .6s ease;
}
@keyframes fadeUp{
    from{
        opacity:0;
        transform:translateY(40px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}

/* footer section */
.main-footer{
    display: flex;
    flex-wrap: wrap;
    gap: 80px;
    justify-content: center;
    background: #111b2b;
}
.main-footer-heading{
    display: flex;
    width: 400px;
    flex-direction: column;
    margin-bottom: 150px;
}
.main-footer-heading h3{
    font-size: 2.2rem;
    font-family: system-ui;
    font-weight: 600;
    letter-spacing: 1px;
    margin-top: 70px;
}
.main-footer-heading span{
    color: #1677ff;
}
.main-footer-heading p{
    font-size: 1.1rem;
    line-height: 30px;
    padding: 20px;
}
.use-full-link{
    display: flex;
    flex-direction: column;
}
.use-full-link h3{
    font-size: 2.2rem;
    font-family: system-ui;
    font-weight: 600;
    letter-spacing: 1px;
    margin-top: 70px;
}
.use-full-link span{
    color: #1677ff;
}
.links{
    text-decoration: none;
    list-style: none;
    font-size: 1.5rem;
    padding: 20px;
}
.links li{
    margin-bottom: 15px;
}
.links a{
    text-decoration: none;
    text-transform: capitalize;
    color: white;
    font-size: 1.3rem;
    font-weight: 500;
    border-bottom: 2px solid transparent;
    transition:all 0.3s ease ;
    padding: 8px ;
    letter-spacing: 1px;
    border-radius: 4px;
}
.links a:hover{
    color: #1677ff;
    border-bottom: 2px solid #1680ff;
    transform: translateY(4px);
    background: #6d7174;
}
.local-contact{
    display: flex;
    flex-direction: column;
}
.local-contact h3{
    font-size: 2.2rem;
    font-family: system-ui;
    font-weight: 600;
    letter-spacing: 1px;
    margin-top: 70px;
}
.local-contact span{
    color: #1677ff;
}
.contact-info-foter{
    text-decoration: none;
    list-style: none;
    font-size: 1.5rem;
    padding: 20px;
}
.contact-info-foter li{
    margin-bottom: 15px;
}
.contact-info-foter a{
    text-decoration: none;
    text-transform: capitalize;
    color: white;
    font-size: 1.3rem;
    font-weight: 500;
    border-bottom: 2px solid transparent;
    transition:all 0.3s ease ;
    padding: 8px ;
    letter-spacing: 1px;
    border-radius: 4px;
}
.contact-info-foter a:hover{
    color: #1677ff;
    border-bottom: 2px solid #1680ff;
    transform: translateY(4px);
    background: #6d7174;
}
.disclaimer{
    display: flex;
    width: 350px;
    flex-direction: column;
    margin-bottom: 50px;
}
.disclaimer h3{
    font-size: 2.2rem;
    font-family: system-ui;
    font-weight: 600;
    letter-spacing: 1px;
    margin-top: 70px;
    
}
.disclaimer p{
    font-size: 1.1rem;
    line-height: 30px;
    padding: 20px;
}
.copyright{
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
    padding: 30px;
    border-top: 2px solid #1677ff;
}
.copyright p{
    font-size: 1.4rem;
}


/*======================================
        MOBILE RESPONSIVE - 
======================================*/
@media (max-width: 1024px){
.search input{
    max-width:250px;
}
.nav-menu{
    gap:18px;
}
.hero-images{
    margin-top: 90px;
    height: 400px;
}
.hero-images img{
    height: 400px;
}
}

@media (max-width: 768px){
    body{
        padding-bottom: 80px;
    }
    /* NAVBAR MOBILE */
    .hamburger{
        display: block;
    }
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-container{
        flex-wrap:wrap;
    }
    .search{
        order:3;
        width:100%;
        margin-top:12px;
    }
    .search input{
        max-width:100%;
    }
    .hamburger{
        display:block;
    }
    .nav-menu{
        display:none;
        width:100%;
        flex-direction:column;
        align-items:flex-start;
        background:#091321;
        margin-top:15px;
        padding:15px;
        border-radius:10px;
    }
    .nav-menu.active{
        display:flex;
    }
    .nav-menu a{
        width:100%;
        padding:12px 0;
    }
    /* HERO MOBILE */
    .hero-images{
        margin: 100px 15px 20px;
        height: 200px;
        border-radius: 10px;
    }
    .hero-images img{
        height: 230px;
    }

    .premium-filter-bar {
    padding: 15px;
    margin: 30px 10px;
    }
    .premium-filter-container {
    grid-template-columns: repeat(2, 1fr) !important; /* Mobile: 2 column */
    gap: 10px;
    }
    .filter-btns { 
    grid-column: 1 / -1; /* Buttons full width */
    }
    .filter-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    }
    .btn-apply, .btn-reset {
    height: 45px;
    font-size: 13px;
    }

    /* Cards 2 Column */
    .products-grid{
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 0 12px;
        padding-bottom: 100px;
    }

    .product-img{
        padding: 10px;
    }
    .product-img img{
        width: 100%;
        height: 110px;
    }
    .product-info{
        padding: 10px;
    }
    .product-title{
        font-size: 14px;
    }
    .rating{
        font-size: 11px;
        margin-bottom: 6px;
    }
    .product-specs{
        font-size: 11px;
    }
    .price{
        font-size: 16px;
    }
    .price span{
        font-size: 11px;
    }
    .btn-buy{
        padding: 8px;
        font-size: 13px;
    }
    .badge{
        top: 111px;
        font-size: 10px;
        padding: 3px,8px;
    }
    /* BOTTOM NAV  */
    .bottom-nav{
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: #050d18;
        border-top: 1px solid #172238;
        display: flex;
        justify-content: space-around;
        padding: 8px 0;
        z-index: 1000;
    }
    .bottom-nav a{
        display: flex;
        flex-direction: column;
        align-items: center;
        font-size: 11px;
        color: #b8c2d0;
    }
    .bottom-nav a.active{
        color: #1677ff;
    }
    .bottom-nav span{
        font-size: 22px;
        margin-bottom: 3px;
    }

  /* footer section */
  .main-footer {
    gap: 0 ;
    padding: 40px 20px ;
    flex-direction: column ;
  }

  /* Har column ko card jesa feel */
  .main-footer-heading,
  .use-full-link,
  .local-contact,
  .disclaimer {
    width: 100% ;
    margin-bottom: 30px ;
    padding: 20px ;
    background: rgba(22, 119, 255, 0.05) ; /* halka blue bg */
    border: 1px solid rgba(22, 119, 255, 0.15) ;
    border-radius: 12px ;
    backdrop-filter: blur(10px) ;
  }

  /* Heading premium */
  .main-footer-heading h3,
  .use-full-link h3,
  .local-contact h3,
  .disclaimer h3 {
    font-size: 1.5rem ;
    margin-top: 0 ;
    margin-bottom: 15px ;
    letter-spacing: 0.5px ;
    position: relative ;
    padding-bottom: 10px ;
  }

  /* Heading ke neeche blue line */
  .main-footer-heading h3::after,
  .use-full-link h3::after,
  .local-contact h3::after,
  .disclaimer h3::after {
    content: '' ;
    position: absolute ;
    bottom: 0 ;
    left: 0 ;
    width: 50px ;
    height: 3px ;
    background: #1677ff ;
    border-radius: 2px ;
  }

  .main-footer-heading span,
  .use-full-link span,
  .local-contact span {
    color: #1677ff ;
  }

  /* Text chota aur clean */
  .main-footer-heading p,
  .disclaimer p {
    font-size: 0.95rem ;
    line-height: 24px ;
    padding: 0 ;
    color: #ccd2d6 ;
  }

  /* Links ko 2 column grid */
  .links,
  .contact-info-foter {
    font-size: 1rem ;
    padding: 0 ;
    display: grid ;
    grid-template-columns: 1fr 1fr ; /* 2 column */
    gap: 5px ;
  }

  .links li,
  .contact-info-foter li {
    margin-bottom: 0 ;
  }

  /* Premium link style */
  .links a,
  .contact-info-foter a {
    font-size: 0.9rem ;
    padding: 10px 12px ;
    display: block ;
    background: rgba(22, 119, 255, 0.08) ;
    border: 1px solid transparent ;
    border-radius: 8px ;
    letter-spacing: 0.1px ;
    transition: all 0.3s ease ;
  }

  /* Mobile hover = tap effect */
  .links a:active,
  .contact-info-foter a:active {
    background: #1677ff ;
    color: white ;
    transform: translateY(-2px) ;
    box-shadow: 0 4px 12px rgba(22, 119, 255, 0.3) ;
  }

  /* Copyright premium */
  .copyright {
    padding: 20px 15px ;
    text-align: center ;
  }

  .copyright p {
    font-size: 0.95rem ;
    line-height: 22px ;
  }

}
/* Desktop me bottom nav hide */
@media (min-width: 769px){
    .bottom-nav{
        display: none;
    }

}
/* small mobile navbar setup */
@media(max-width:420px){
    .navbar{
        padding-top: 10px;
        padding-bottom: 5px;
    }
    .nav-container h1{
        font-size: 1.3rem;

    }
    .search{
        margin-top: 5px;
    }
    .search input{
        padding: 8px 8px;
    }
    .bar{
        height: 2px;
    }
    .hero-images img{
        height: 200px;
    }
}

/* ========== BOHAT CHOTE PHONE 400px SE KAM Shop Category  ========== */
@media (max-width: 400px) {
  /* footer section */
  .links,
  .contact-info-foter {
    grid-template-columns: 1fr ; /* 1 column */
  }
}