@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
    --green: green;
    --black: #130f40;
    --light-color: #666;
    --border: .1rem solid rgba(0, 0, 0, 1);
    --box-shadow: 0 .1rem 1rem rgb(255, 0, 0);
    --outline: .1rem solid rgba(0, 0, 0, 1);
    --orange: #FF7518;
}


* {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    border: none;
    text-decoration: none;
    transition: all .2s linear;
}

html {
    font-size: 62.5%;
    overflow-x: hidden;
    scroll-behavior: smooth;
    scroll-padding: 7rem;
}

body {
    background: white;
}
/* Base styles for the header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 5%;
    background: rgb(0, 0, 0);
    box-shadow: var(--box-shadow);
    z-index: 1000;
    flex-wrap: wrap;
}

/* Logo styles */
.logo img {
    max-width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    background: black;
    transition: background 0.3s ease;
}

.logo img:hover {
    background: white;
}

/* Navbar styles */
.header .Navbar {
    display: flex;
    align-items: center;
    gap: 1rem; /* Space between links */
    flex-wrap: wrap;
}

.header .Navbar a {
    font-size: 1.8rem;
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.header .Navbar a:hover {
    color: var(--orange);
}

/* Icons container */
.header .icons {
    display: flex;
    gap: 1rem;
}

.header .icons div {
    height: 4rem;
    width: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.header .icons div:hover {
    background: var(--orange);
}

/* Menu button (hidden by default, shown on smaller screens) */
#menu-btn {
    display: none;
    font-size: 2rem;
    cursor: pointer;
}

/* Search form styles */
.header .search-form {
    position: absolute;
    top: 100%;
    right: -110%;
    width: 80%;
    max-width: 400px;
    height: 4rem;
    background: #fff;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    box-shadow: var(--box-shadow);
    transition: right 0.3s ease;
}

.header .search-form.active {
    right: 2rem;
}

.header .search-form input {
    flex: 1;
    font-size: 1.6rem;
    padding: 0 1rem;
    border: none;
    outline: none;
    color: var(--orange);
}

.header .search-form label {
    font-size: 2rem;
    margin-right: 1rem;
    color: var(--orange);
    cursor: pointer;
}

/* Responsive styles */
@media (max-width: 768px) {
    .header {
        padding: 1rem 2%;
        justify-content: space-between;
    }

    .header .Navbar {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        display: none; /* Hidden by default */
    }

    .header .Navbar.active {
        display: flex; /* Shown when menu is toggled */
    }

    #menu-btn {
        display: block; /* Shown on small screens */
    }

    .header .icons {
        gap: 0.5rem;
    }

    .header .icons div {
        height: 3.5rem;
        width: 3.5rem;
        font-size: 1.8rem;
    }
}


.shopping-cart {
    position: absolute;
    top: 100%;
    right: 2rem;
    width: 80%; /* Adjust width as needed */
    background: #fff;
    border-radius: .5rem;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    padding: 1rem;
    z-index: 999; /* Keep it above other elements */
    max-width: 350px;
    display: none;
}

.cart-items .box {
    margin: 1rem 0; /* Add space above and below each item */
    padding: 1rem; /* Existing padding */
    display: flex; /* Keep existing flex layout */
    align-items: center; /* Center items vertically */
    justify-content: space-between; /* Space between elements */
    background: var(--orange); /* Existing background */
    border-radius: .5rem; /* Existing border radius */
}
.box {
    padding: 1rem; /* Reduced padding for compactness */
    display: flex;
    align-items: center; /* Center items vertically */
    justify-content: space-between; /* Space between elements */
    background: var(--orange);
    border-radius: .5rem;
}

.box:last-child {
    border-bottom: none; /* Remove divider from last item */
}

.box img {
    width: 50px; /* Set a fixed size for cart images */
    height: 50px; /* Maintain aspect ratio */
    border-radius: .5rem; /* Rounded corners */
    object-fit: cover; /* Maintain aspect ratio */
}
.content {
    flex: 1;
    margin-left: 1rem; /* Space between image and text */
}

.content h3 {
    font-size: 1.2rem; /* Smaller font for product name */
    margin-bottom: .5rem; /* Space between name and price */
}

.total {
    font-weight: bold; /* Make total bold */
    font-size: 1.4rem; /* Slightly larger font */
    text-align: right; /* Align to the right */
    margin-bottom: 1rem; /* Space before button */
}

.btn {
    display: inline-block; /* Make it a block element */
    padding: .5rem 1rem; /* Padding around text */
    background: var(--orange); /* Use existing color */
    color: #fff; /* Text color */
    border-radius: .5rem; /* Rounded corners */
    text-align: center; /* Center text */
    transition: background 0.3s; /* Smooth hover transition */
}

.btn:hover {
    background: black;
    content: white; 
}
.login-form {
    display: none; /* Hidden by default */
    position: absolute; /* Use absolute positioning */
    top: 100%; /* Position below the header */
    right: 2rem; /* Position from the right */
    width: 80%; /* Set width */
    background: #fff; /* Background color */
    border-radius: .5rem; /* Rounded corners */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); /* Shadow effect */
    padding: 1rem; /* Padding around content */
    z-index: 999; /* Ensure it's above other elements */
}
.login-form h2 {
    margin-bottom: 1rem;
}

.login-form label {
    display: block;
    margin: .5rem 0 .2rem;
}

.login-form input {
    width: 100%;
    padding: .5rem;
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: .3rem;
}

.login-form button {
    width: 100%;
    padding: .5rem;
    border: none;
    border-radius: .3rem;
    background: var(--orange);
    color: #fff;
    cursor: pointer;
}

.login-form button:hover {
    background: black; 
    color: white;
}




/*section*/

section{
    padding: 1rem 9%;
    display: flex;
}

.home{
    display: flex;
    justify-content: center;
    background-position: center;
    background-color: var(--orange);
    background-size: cover;
    padding-top: 22rem;
    padding-bottom: 3rem;
    
}
.home .content1{
    text-align: center;
   
    width: 60rem;
}

    .home .content1 h3{
        color: black;
        font-size: 2%;
    }
    .home .content1 h3{
        color: black;
        font-size: 2rem;


    }
    .home .content1 p{
        color: black;
        font-size: 1.7rem;
        padding:  1rem 0;
        line-height: 1.8;


    }
    .home .content1 .btn{
        color: black;
        font-size: 2rem;
        background-color: white;
        transition: background 0.3s;
        


    }
    .home .content1 .btn:hover{
        background: black;
        color: white;

    }
   

    .features {
        display: flex;                
        flex-direction: column; 
        align-items: center;          
        padding: 1rem; /* Top padding */
        padding-bottom: 1.6rem; /* Adjust bottom padding to your preference */
        text-align: center; 
         
        
    }
  
    
    .heading {
        padding: 2rem 0;
        font-size: 2.5rem;
        color: black;
    }
    
    .heading span {
        background-color: var(--orange);
        display: inline-block;
        padding: .5rem 3rem;
        clip-path: polygon(100% 0, 93% 50%, 100% 99%, 0% 100%, 7% 50%, 0% 0%);
    }
    
    
        .box-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 1.5rem; 
            margin-top: 20px; /* Reduced margin-top */
            width: 100%; 
            max-width: 1200px; 
            text-align: center;
        }
        
        

  
    .box2 {
        padding: 1rem; /* Increase padding for better spacing */
        display: flex; /* Keep using flex for layout */
        flex-direction: column; /* Stack elements vertically */
        justify-content: center; /* Center content vertically */
        align-items: center; /* Center items horizontally */
        height: auto; /* Allow height to adjust based on content */
        color: #fff;
        background: black;
        border-radius: 2rem;
    }
    
    .box2 img {
        width: 100%; /* Make image take full width of the box */
        height: auto; /* Maintain aspect ratio */
        max-height: 150px; /* Set a max height to control image size */
        object-fit: cover; /* Cover the box area without stretching */
        margin-bottom: 10px; /* Space below image */
        border-radius: 2rem;
    }
    .features .box-container .box2:hover{
        background: #FF7518;
    }
.features .box2 .box2 h3{
    font-size: 2.5rem;
    line-height: 1.8;
    color: var(white);
}
.features .box2 .box2 h3 p{
    font-size: 2.5rem;
    line-height: 1.8;
    color: white;
}





/*Product section*/
.products {
    padding: 5rem; /* Keep reduced padding */
    text-align: center;
    position: relative;
    margin: 20px 0; /* Adjusted top and bottom margins to reduce space */
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Align items at the start */
    min-height: auto; /* Set to auto to minimize height */
    overflow: hidden; /* Prevent margin collapse */
}
.products .left {
    padding: 1rem;
    background-color: white;
}

.products .right {
    padding: 20px;
    display: flex; /* Use flexbox for product alignment */
    justify-content: center; /* Center products */
    overflow: hidden; /* Hide overflow for better control */
}

.heading {
    padding-bottom: 2rem;
    font-size: 3rem;
    color: black;
    margin-bottom: 2rem;
    text-align: center;
}

.product-slider {
    max-width: 100%; /* Ensure slider doesn't overflow */
    margin: auto;
}

.wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.box2 {
    flex: 1 0 250px; /* Allow boxes to grow and shrink */
    margin: 0 10px; /* Space between boxes */
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
}

.box2:hover {
    background: var(--orange);
}

.box2 img {
    max-width: 100%; /* Ensure image doesn't overflow the box */
    height: auto; /* Maintain aspect ratio */
    border-radius: 1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
}

.box2 h3 {
    font-size: 1.8rem; /* Reduce size for better readability */
    margin: 0.5rem 0;
}

.box2 p {
    font-size: 1.4rem; /* Reduce font size for better layout */
    color: black; /* Change color for better contrast */
}

.box2 .btn {
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background-color: var(--orange);
    color: white;
    border-radius: 0.5rem;
    transition: background 0.3s;
    font-size: 1.4rem; /* Adjust button font size */
}

.box2 .btn:hover {
    background: black;
    color: white;
}

#prev, #next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--orange);
    color: white;
    padding: 1rem 2rem;
    border: none;
    cursor: pointer;
    border-radius: 0.5rem;
}

#prev {
    left: 0;
}

#next {
    right: 0;
}

#prev:hover, #next:hover {
    background-color: var(--orange);
}


/* Categories Section */
.categories {
    padding: 5rem 9%;
    text-align: center;
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.categories .left {
    margin-bottom: 2rem;
}

.categories .heading {
    font-size: 3rem;
    margin-bottom: 2rem;
    color: black;
}

.categories .heading span {
    color: black; /* Assuming --orange is a color in your CSS variables */
}

.categories .right {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.category-box {
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    max-width: 300px;
    width: 100%; /* Full width */
}

.category-box:hover {
    transform: translateY(-10px); /* Hover effect with lift */
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.category-box img {
    width: 100%; /* Make sure images are responsive */
    height: auto; /* Maintain aspect ratio */
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.category-box h3 {
    font-size: 1.8rem;
    margin: 1rem 0;
    color: #333;
}

.category-box p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 1.5rem;
}

.category-box .btn {
    padding: 0.75rem 1.5rem;
    background-color: var(--orange);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
    font-size: 1.4rem;
    text-decoration: none;
}

.category-box .btn:hover {
    background-color: var(--orange) /* Darker color on hover */
}


/*shop*/

.title {
    text-align: center;
    margin-bottom: 5rem;
  }
  
  .title h1 {
    font-size: 3rem;
    text-transform: uppercase;
    margin-bottom: 1rem;
    font-weight: 500;
  }
  
  .product-center {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 120rem;
    margin: 0 auto;
    padding: 0 2rem;
  }
  
  .product-item {
    position: relative;
    width: 27rem;
    margin: 10px;
    margin-bottom: 3rem;
  }

  
  .product-thumb img {
    width: 100%;
    height: 31rem;
    object-fit: cover;
    transition: all 500ms linear;
  }
  
  .product-info {
    padding: 1rem;
    text-align: center;
  }
  
  .product-info span {
    display: inline-block;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 1rem;
  }
  
  .product-info a {
    font-size: 1.5rem;
    display: block;
    margin-bottom: 1rem;
    transition: all 300ms ease;
  }
  
  .product-info a:hover {
    color: var(--green);
  }
  
  .product-item .icons {
    position: absolute;
    left: 50%;
    top: 35%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
  }
  
  .product-item .icons li {
    background-color: var(--white);
    text-align: center;
    padding: 1rem 1.5rem;
    font-size: 2.3rem;
    cursor: pointer;
    transition: 300ms ease-out;
    transform: translateY(20px);
    visibility: hidden;
    opacity: 0;
  }
  
  .product-item .icons li:first-child {
    transition-delay: 0.1s;
  }
  
  .product-item .icons li:nth-child(2) {
    transition-delay: 0.2s;
  }
  
  .product-item .icons li:nth-child(3) {
    transition-delay: 0.3s;
  }
  
  .product-item:hover .icons li {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }
  
  .product-item .icons li:not(:last-child) {
    margin-right: 0.5rem;
  }
  
  .product-item .icons li:hover {
    background-color: var(--green);
    color: var(--white);
  }
  
  .product-item .overlay {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    width: 100%;
  }
  
  .product-item .overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    visibility: hidden;
    opacity: 0;
    transition: 300ms ease-out;
  }
  
  .product-item:hover .overlay::after {
    visibility: visible;
    opacity: 1;
  }
  
  .product-item:hover .product-thumb img {
    transform: scale(1.1);
  }
  
  .product-item .discount {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: var(--green);
    padding: 0.5rem 1rem;
    color: var(--white);
    border-radius: 2rem;
    font-size: 1.5rem;
  }
  
  @media only screen and (max-width: 567px) {
    .product-center {
      max-width: 100%;
      padding: 0 1rem;
    }
  
    .product-item {
      width: 40%;
      margin-bottom: 3rem;
    }
  
    .product-thumb img {
      height: 20rem;
    }
  
    .product-item {
      margin-right: 2rem;
    }
  
    .product-item .icons li {
      padding: 0.5rem 1rem;
      font-size: 1.8rem;
    }
  }



/*footer*/


/* Footer Styling */
.footer {
    background-color: #333;
    color: white;
    padding: 3rem 1.5rem;
    position: relative;
    font-family: Arial, sans-serif;
}

.footer .container {
    max-width: 1200px;
    margin: auto;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer-column {
    flex: 1 1 200px;
    margin-bottom: 2rem;
    padding: 0 1rem;
}

.footer-column h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.footer-column p,
.footer-column ul {
    font-size: 1.4rem;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 0.8rem;
}

.footer-column ul li a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column ul li a:hover {
    color: var(--orange); /* Assuming --orange is a color in your CSS variables */
}

.social-links {
    display: flex;
    justify-content: flex-start;
    gap: 15px; /* Space between icons */
}

.social-links a {
    display: inline-block;
    transition: transform 0.3s;
}

.social-links img {
    width: 32px;
    height: 32px;
}

.social-links a:hover {
    transform: scale(1.1); /* Slight zoom-in on hover */
}

/* Copyright Section */
.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    font-size: 1.2rem;
    padding-top: 2rem;
    border-top: 1px solid #555;
}

.footer-bottom p {
    margin: 0;
}

/*categories*/
.Navbar {
    display: flex;
    gap: 20px;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: black;
    min-width: 200px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    padding: 10px;
}

.dropdown-content a {
    color: var(--orange);
    padding: 8px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: black;
}

/* Subcategories Styling */
.dropdown-sub {
    position: relative;
    padding: 5px 0;
}

.dropdown-subcontent {
    display: none;
    padding-left: 20px;
}

.dropdown-sub:hover .dropdown-subcontent {
    display: block;
}

/* Show dropdown when active */
.dropdown.active .dropdown-content {
    display: block;
}



/* Responsive Footer Styles */
@media (max-width: 768px) {
    /* Styles for small devices */
    .footer-links {
        flex-direction: column;
        align-items: center;
    }
    
    /* More styles */
}

@media (min-width: 768px) and (max-width: 1024px) {
    /* Styles for medium devices */
    .footer-column {
        flex: 1 1 45%;
    }
    
    /* More styles */
}







@media (max-width: 768px) {
    .footer-links {
        flex-direction: column;
        align-items: center;
    }

    .footer-column {
        margin-bottom: 2rem;
        text-align: center;
        padding: 0;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .footer-column {
        flex: 1 1 45%; /* Two columns per row */
    }
}

/* Copyright Section */
.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    font-size: 1.2rem;
    padding-top: 2rem;
    border-top: 1px solid #555;
}

.footer-bottom p {
    margin: 0;
}




/*admin panel */
.admin-container {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 240px;
    background-color:var(--orange);
    color: #fff;
    padding: 20px;
}

.sidebar .logo {
    text-align: center;
    margin-bottom: 30px;
}

.sidebar h2 {
    color: #fff;
}

.sidebar nav a {
    display: block;
    padding: 15px;
    color: #fff;
    text-decoration: none;
    margin: 5px 0;
}

.sidebar nav a.active, .sidebar nav a:hover {
    background-color: #27ae60;
}

.main-content {
    flex-grow: 1;
    padding: 20px;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 1px solid #ddd;
}

.admin-header .search-bar input {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 300px;
}

.admin-header .btn {
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.admin-header .btn-light {
    background-color: #f0f0f0;
}

.admin-header .btn-primary {
    background-color: #27ae60;
    color: #fff;
}

.product-form {
    background-color: #fff;
    padding: 20px;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.image-preview {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.image-preview img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border: 1px solid #ddd;
    border-radius: 4px;
}


.product-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.product-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    width: 100%;
    max-width: 500px;
}

.product-image img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    margin-right: 15px;
}

.product-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
}

.product-info h3 {
    margin: 0;
}

.btn-danger {
    background-color: #ff4d4d;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 5px;
    cursor: pointer;
}

.btn-danger:hover {
    background-color: #ff3333;
}

.pagination {
    display: flex;
    align-items: center;
    padding: 10px;
    justify-content: center;
    margin-top: 20px;
  
  }
  
  .pagination span {
    display: inline-block;
    padding: 1rem 1.5rem;
    border: 1px solid var(--orange);
    font-size: 1.8rem;
    margin-bottom: 2rem;
    cursor: pointer;
    transition: all 300ms ease-in-out;
  }
  
  .pagination span:hover {
    border: 1px solid var(--orange);
    background-color: var(--orange);
    color: #fff;
  }



  .modal {
    display: none; 
    position: fixed; 
    z-index: 1; 
    padding-top: 100px; 
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4); 
}
.modal-content {
    background-color: white;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 500px;
    text-align: center;
}
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}
.close:hover, .close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}
  










/* Responsive Footer Styles */
@media (max-width: 768px) {
    .footer-links {
        flex-direction: column;
        align-items: center;
    }

    .footer-column {
        margin-bottom: 2rem;
        text-align: center;
        padding: 0;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .footer-column {
        flex: 1 1 45%; /* Two columns per row */
    }
}




/* NEWS START */

























/* Responsive Layouts */
@media (min-width: 768px) {
    .category-box {
        flex: 1 0 45%; /* 2 categories per row on medium screens */
        max-width: 45%;
    }
}

@media (min-width: 1024px) {
    .category-box {
        flex: 1 0 30%; /* 3 categories per row on larger screens */
        max-width: 30%;
    }
}






/* Media Queries */
@media (max-width: 768px) {
    .footer-section {
        flex: 1 1 100%;
        margin-bottom: 30px;
    }

    .newsletter-form input {
        width: 100%;
        margin-bottom: 10px;
    }

    .newsletter-form button {
        width: 100%;
    }
}






.modal {
            display: none; 
            position: fixed; 
            z-index: 1; 
            padding-top: 100px; 
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0,0,0,0.4); 
        }
        .modal-content {
            background-color: white;
            margin: auto;
            padding: 20px;
            border: 1px solid #888;
            width: 80%;
            max-width: 500px;
            text-align: center;
        }
        .close {
            color: #aaa;
            float: right;
            font-size: 28px;
            font-weight: bold;
        }
        .close:hover, .close:focus {
            color: black;
            text-decoration: none;
            cursor: pointer;
        }


        .fa-truck {
            /* Add styles to match other icons, adjust as needed */
            font-size: 24px; /* Adjust the size */
            margin-left: 15px; /* Spacing between icons */
            cursor: pointer; /* Change cursor to pointer */
        }



   













/*responsive*/

@media (max-width: 991px) {
    .header .Navbar {
        flex-direction: column; /* Stack links vertically on smaller screens */
        width: 100%; /* Full width */
        display: none; /* Initially hide */
        align-items: center; /* Center items in the column layout */
    }
    section{
        padding: 2rem;
    }

    .header .Navbar.active {
        display: flex; /* Show navbar when active */
    }

    .header .Navbar a {
        margin: 1rem 0; /* Vertical spacing */
        font-size: 1.8rem; /* Smaller font size */
    }
    #menu-btn{
        display: block;
    }


@media (max-width: 450px) {
    html {
        font-size: 50%; /* Adjust font size for smaller screens */
    }
    html{
        font-size: 2.5rem;


    }

@media (min-width: 768px) {
    .header .Navbar {
        top: 110%;
        display: flex;
        position: absolute;
        width: 30rem;
        right: 2rem;
        box-shadow: #fff;
        border-radius: .5rem;
        background: white ;

         
    }
}
}
}

@media (max-width: 1024px) {
    html {
        font-size: 50%; /* Adjust font size for smaller screens */
    }
   
}

@media (max-width: 768px) {
    .box img {
        width: 40px; /* Smaller images on mobile */
        height: 40px; /* Maintain aspect ratio */
    }
    .total {
        font-size: 1.2rem; /* Adjust total font size */
    }
}

@media (max-width: 450px) {
    .box img {
        width: 30px; /* Even smaller images on very small screens */
        height: 30px;
    }
    .total {
        font-size: 1rem; /* Further adjust total font size */
    }
}
