/* Reset some default browser styles */

body{
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}

/* Navigation Bar */
nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    background-color: #f8f8f8;
    box-shadow: 0 4px 8px rgb(254, 254, 254);
    flex-wrap: wrap; /* Allow wrapping for smaller screens */
}

.logo img {
    height: 60px;
    width: auto;
    object-fit: contain;
    display: block;
    border-radius: 50px;
    margin-top: 5px;
}

/* Search Bar */
.search-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-grow: 1; /* Expand to occupy available space */
    max-width: 400px;
    margin: 0 20px;
    margin-top: 8px;
    position: relative;
    transition: max-width 0.3s ease; /* Smooth resizing */
    /* Hide overflowing content (input field) */
}

.search-bar img {
    height: 30px;
    cursor: pointer;
}

.search-bar input {
    flex-grow: 1;
    padding: 6px 12px;
    font-size: 14px;
    border: 1px solid #ddd;
    border-radius: 20px; /* Rounded corners */
    outline: none;
    transition: width 0.3s ease; /* Smooth resizing */
    width: 100%; /* Full width initially */
}
/* Suggestions Dropdown */
.suggestions-list {
    position: absolute; /* Position relative to the search bar */
    top: 100%; /* Directly below the search bar */
    left: 0;
    width: 100%; /* Same width as the search bar */
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-height: 150px; /* Limit height for long lists */
    overflow-y: auto; /* Scroll if content exceeds height */
    z-index: 1000; /* Ensure it stays above other elements */
    margin: 0;
    padding: 0;
    list-style: none;
    display: none; /* Hidden by default */
}

.suggestions-list li {
    padding: 8px 10px;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out;
    font-size: 14px;
    border-bottom: 1px solid #f0f0f0;
}

.suggestions-list li:hover {
    background-color: #f8f8f8;
}

.suggestions-list li:last-child {
    border-bottom: none; /* Remove border for the last item */
}

@media (max-width: 768px) {
    .search-bar {
        max-width: 300px; /* Shrink bar to show only the icon */
    }

    .search-bar.expanded {
        max-width: 100%; /* Expand when clicked */
    }

    .search-bar.expanded input {
        width: 100%; /* Show input field */
        opacity: 1; /* Make input visible */
        pointer-events: auto; /* Enable interactions */
    }
}


@media (max-width: 480px) {
    .logo img {
        height: 30px;
    }

    .nav-links {
        gap: 10px;
    }
}

/* Navigation Links */
.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
    margin: 0;
    padding: 0;
}

.nav-links li {
    display: inline-block;
}

.nav-links a {
    text-decoration: none;
    font-size: 16px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links img {
    height: 30px;
    transition: transform 0.3s ease-in-out;
}

.nav-links a:hover {
   font-weight: bolder;
   transition: transform 1s ease-in-out;
}

.Icon:hover {
    transform: scale(1.2);
    cursor: pointer;
}
/* coupon Section */
.coupon-container {
    text-align: center;
    margin: 20px auto; 
    margin-top: 8px;
}
.coupon-container img {
    max-width: 100%; /* Ensure the image is responsive */
    width: 98%;
    height: 120px;
    border: 2px solid #ddd; /* Optional: Add a border for better visual */
    border-radius: 8px; /* Optional: Rounded corners */
    box-shadow: 6px 6px 6px  rgba(0, 0, 0, 0.2); /* Optional: Add shadow */
}

/* Categories container styling */
.categories-container {
    display: flex; /* Use flexbox for a single row */
    justify-content: space-between; /* Distribute items evenly */
    align-items: center; /* Align items vertically in the center */
    gap: 10px; /* Add space between items */
    padding: 20px; /* Add padding around the container */
    overflow: hidden; /* Ensure no overflow or scrollbar */
}

/* Individual category item */
.grid-category {
    flex: 1 1 auto; /* Items will shrink to fit the available space */
    text-align: center; /* Center align text and images */
    max-width: 120px; /* Maximum width for larger screens */
    min-width: 50px; /* Minimum width to ensure items don't collapse too much */
    cursor: pointer; /* Indicate interactivity */
}

/* Styling for images */
.Product-image img {
    width: 100%; /* Images take the full width of their container */
    height: 100%; /* Maintain aspect ratio */
    transition: transform 0.2s ease-in-out; /* Smooth hover animation */
}

/* Hover effect to enlarge the image */
.Product-image img:hover {
    transform: scale(1.1); /* Enlarge the image by 10% */
}

/* Styling for names under images */
.name {
    margin-top: 10px; /* Space between the image and name */
    font-size: 1.2px; /* Make font size shrink with viewport width */
    color: #333;
    word-wrap: break-word; /* Prevent text overflow */
}

/* Ensuring images shrink responsively without breaking into new rows */
@media (max-width: 1200px) {
    .grid-category {
        max-width: 100px; /* Reduce max width for smaller screens */
    }
}

@media (max-width: 768px) {
    .grid-category {
        max-width: 80px; /* Further shrink max width */
    }
    .name {
        font-size: 2px;
        ; /* Adjust font size for smaller screens */
    }
}

@media (max-width: 480px) {
    .grid-category {
        max-width: 60px; /* Keep all items visible without horizontal scroll */
    }
    .name {
        font-size: 1px; /* Further reduce font size */
    }
}


/* Styling for names under images */
.name {
    margin-top: 15px; /* Add space between the image and name */
    font-size: 16px;
    font-weight: bold;
    color: #333;
}

.slider{
    width: 1480px;
    max-width: 100vw;
    height: 350px;
    margin:auto;
    position: relative;
    overflow: hidden;
    margin-left: 20px;
    margin-right: 20px;
    display: flex;
    margin-top: 20px;
    margin-bottom: 10px;
    flex-shrink: 1;
}

.list{
    display: flex;
    position: absolute;
    top:0;
    left:0;
    height:100%;
    width: max-content;
    transition: 0.3s ease;
}
.item{
    padding-right: 2px;
    max-width: 100%;
}
.list img{
    width: 1480px;
    flex-shrink: 1;
    max-width: 100%;
    height: 100%;
    object-fit: cover;
    margin: 0;
    padding: 0;
    z-index: 1;
    display: flex;
}
.buttons {
    position: absolute;
    top: 50%;
    width: 100%;
    max-width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    z-index: 10;
}

.buttons button{
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #fff5;
    color: #ffffff;
    border: none;
    font-family: monospace;
    font-weight: bold;
}

@media  screen and (max-width:1468px){
    .slider{
        height: 270px;
        width: 96%;
    }
    .list img{
        width: 96vw;
    }
    .buttons{
        width: 96%;  
    }
    .buttons button{
        width: 50px;
        height: 50px;

    }
}
@media  screen and (max-width:1268px){
    .slider{
        height: 230px;
        width: 96%;
    }
    .list img{
        width: 96vw;
    }
    .buttons{
        width: 100%;  
    }
    .buttons button{
        width: 45px;
        height: 45px;

    }
}
@media  screen and (max-width:1068px){
    .slider{
        height: 200px;
        width: 95%;
    }
    .list img{
        width: 93vw;
    }
    .buttons{
        width: 100%;  
    }
    .buttons button{
        width: 30px;
        height: 30px;

    }
}
@media  screen and (max-width:868px){
    .slider{
        height: 190px;
        width: 95%;
    }
    .list img{
        width: 93vw;
    }
    .buttons{
        width: 100%;  
    }
    .buttons button{
        width: 30px;
        height: 30px;

    }
}
@media  screen and (max-width:768px){
    .slider{
        height: 180px;
        width: 95%;
    }
    .list img{
        width: 93vw;
    }
    .buttons{
        width: 100%;  
    }
    .buttons button{
        width: 25px;
        height: 25px;

    }
}
@media  screen and (max-width:600px){
    .slider{
        height: 110px;
        width: 100%;
    }
    .list img{
        width: 93vw;
    }
}
/* products slider Container */
.product-slider-container {
    position: relative;
    width: 1480px;
    max-width: 100%;
    margin: 20px auto;
    padding: 0px;
    overflow: hidden;
    z-index: 10;
    margin-top: 30px;
    margin-left: 20px;
    margin-right: 20px;
  }
  
  .product-slider-container h2 {
    font-size: 1.5em;
    margin-bottom: 10px;
    text-align: left;
  }
  
  /* Product Slider */
  .product-slider {
    display: flex;
    overflow: hidden;
    scroll-behavior: smooth;
   
  }
  .product-list {
    display: flex;
    gap: 10px;
    transition: transform 0.5s ease-in-out;
  }
  
  /* Product Card */
  .product-card {
    flex: 0 0 calc(100% / 5); /* 5 cards per row on larger screens */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    background: #efebeb;
    text-align: center;
    padding: 10px;
    text-decoration: none;
    transition: transform 0.3s ease;
  }
  .product-card a{
    text-decoration: none;
  }
  
  .product-card img {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
    border-radius: 5%;
  }
  
  .product-card h3 {
    font-size: 1em;
    margin: 5px 0;
    font-weight: bold;
  }
  
  .product-card p {
    font-size: 0.9em;
    margin: 5px 0;
  }
  
  .product-card .original-price {
    text-decoration: line-through;
    color: gray;
  }
  
  .product-card .discount {
    color: #f90;
  }
  
  .product-card button {
    margin-top: 10px;
    padding: 8px 12px;
    font-size: 0.9em;
    color: #fff;
    background-color: #464545;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    
  }
  
  .product-card:hover {
    transform: scale(1.05);
  }
  
  /* Navigation Buttons */
  .prev-btn, .next-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 100;
    max-width: 100vw;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(82, 81, 81, 0.341);
    color: #ffffff;
    border: none;
    font-family: monospace;
    font-weight: bold;
  }
  
  .prev-btn {
    left: 0px;
  }
  
  .next-btn {
    right: 0px;
  }
  
  @media  screen and (max-width:1468px){
    .product-slider-container{
        height: 100%;
        width: 96%;
    }
    
    .buttons{
        width: 96%;  
    }
    .product-card{
        flex: 0 0 calc(100% / 4);
    }
}
@media  screen and (max-width:1268px){
    .product-slider-container{
        height: 520px;
        width: 96%;
    }
    
    .buttons{
        width: 100%;  
    }
    .product-card{
        flex: 0 0 calc(100% / 4);
    }
}
@media  screen and (max-width:1068px){
    .product-slider-container{
        height: 440px;
        width: 95%;
    }
    .buttons{
        width: 100%;  
    }
    .product-card{
        flex: 0 0 calc(100% / 4);
    }
}
@media  screen and (max-width:868px){
    .product-slider-container{
        height: 400px;
        width: 95%;
    }
    .buttons{
        width: 100%;  
    }
    .product-card{
        flex: 0 0 calc(100% / 4);
    }
}
@media  screen and (max-width:768px){
    .product-slider-container{
        height: 430px;
        width: 95%;
    }
    .buttons{
        width: 100%;  
    }
    .product-card{
        flex: 0 0 calc(100% / 4);
    }
}
@media  screen and (max-width:600px){
    .product-slider-container{
        height: 400px;
        width: 100%;
    }
    .buttons{
        width: 95%;  
    }
    .product-card{
        flex: 0 0 calc(100% / 4);
    }
}

.freedelivstick-container{
    text-align: center;
    margin: 50px auto; 
}
.freedelivstick-container img {
    max-width: 100%; /* Ensure the image is responsive */
    width: 98%;
    height: 80px;
    border-radius: 8px; /* Optional: Rounded corners */
}
.made-in-india-container{
    text-align: center;
    margin: 15px auto; 
    height: 140px;
    width: 45%;
}
.made-in-india-container img {
    width: 98%;
    height: 100%;
    flex-shrink: 1;
    border-radius: 8px; /* Optional: Rounded corners */
}
/* Responsive adjustments */
@media (max-width: 1024px) {
    .made-in-india-container img {
        flex: 0 0 calc(50% - 20px); /* 2 cards per row */
    }
}

@media (max-width: 600px) {
    .made-in-india-container img {
        flex: 0 0 100%; /* 1 card per row */
    }
}
/* Container for services */
.service-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin: 50px auto;
    max-width: 1480px;
    padding: 10px;
}

/* Individual product card */
.service-product {
    position: relative;
    width: 100vw;
    flex: 1; /* 4 cards per row with a gap */
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
/* Image styling */
.service-product img {
    width: 100%;
    height: 100%; /* Fixed height for images */
    object-fit: cover;
}

/* Text container */
.product-text {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    color: #fff;
    background: rgba(0, 0, 0, 0.6); /* Semi-transparent background */
    padding: 10px;
    text-align: center;
}

/* Headings and Button */
.product-text h3 {
    margin: 0;
    font-size: 18px;
    font-weight: bold;
}

.product-text p {
    margin: 5px 0;
    font-size: 16px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .winter-product {
        flex: 0 0 calc(50% - 20px); /* 2 cards per row */
    }
}

@media (max-width: 600px) {
    .winter-product {
        flex: 0 0 100%; /* 1 card per row */
    }
}



/* Login Form Styles */
.login-container {
    width: 100%;
    max-width: 400px;
    margin: 50px auto;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #f9f9f9;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.login-container h1 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #333;
}

.login-container p {
    font-size: 14px;
    color: #666;
    margin-top: 15px;
}

.login-container p a {
    color: #007bff;
    text-decoration: none;
}

.login-container p a:hover {
    text-decoration: underline;
}

.login-container form {
    margin-top: 20px;
}

.login-container label {
    display: block;
    text-align: left;
    font-size: 14px;
    font-weight: bold;
    color: #555;
    margin-bottom: 5px;
}

.login-container input {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
}

.login-container input:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.3);
}

.login-container .btn {
    width: 100%;
    padding: 10px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.login-container .btn:hover {
    background-color: #0056b3;
}

.login-container .error-message {
    color: red;
    font-size: 14px;
    margin-bottom: 15px;
}
/* =========================
   Register Page Styles
========================= */
#register-page .register-container {
    width: 100%;
    max-width: 400px;
    margin: 50px auto;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #f9f9f9;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

#register-page .register-container h1 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #333;
}

#register-page .register-container label {
    display: block;
    text-align: left;
    font-size: 14px;
    font-weight: bold;
    color: #555;
    margin-bottom: 5px;
}

#register-page .register-container input {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
}

#register-page .register-container input:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.3);
}

#register-page .register-container .btn {
    width: 100%;
    padding: 10px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#register-page .register-container .btn:hover {
    background-color: #0056b3;
}


/* Footer container styling */
.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    background-color: #f9f9f9;
    padding: 20px 40px;
    border-top: 1px solid #ddd;
    font-family: Arial, sans-serif;
}

.footer-section {
    flex: 1;
    margin: 0 10px;
}

.footer-section h4 {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 5px;
}

.footer-section ul li a {
    text-decoration: none;
    color: #555;
    font-size: 14px;
}

.footer-section ul li a:hover {
    text-decoration: underline;
    color: #000;
}
body{
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}
/* Copyright styling */
.footer-copyright {
    width: 100%; /* Full-width row below the sections */
    text-align: center;
    font-size: 14px;
    color: #777;
    margin-top: 20px;
    border-top: 1px solid #ddd; /* Optional top border for separation */
    padding-top: 10px;
    padding-bottom: 20px;
}
