

.navbar{
    display:flex;
    align-items: center;
    padding:20px;
}
nav{
    flex:1;
    text-align:right;
}
nav ul{
    display:inline-block;
    list-style-type: none;
}
nav ul li{
    display:inline-block;
    margin-right: 20px;
}
nav ul li a{
    text-decoration: none;
    color: var(--nav-a);
    font-weight: 600;
}
nav ul li a:hover{
    color:var(--nav-hover);
    opacity: 0.7;
}

body{
    font-family: 'poppins','sans-serif';
    background-color: var(--primary-color);
}
.logo{
    position:relative;
    height: 40px;
    padding:0px;
    margin:0px;
    left:0%;
    width: 110px;
    border-color: rgb(24, 123, 180);

}
.row{
    display: flex;
    align-items:center;
    flex-wrap: wrap;
    justify-content: space-around;
}
.col-2{
    flex-basis: 50%;
    min-width: 300px;   
}

.col-2 h1{
  color:var(--dropbtn);
    padding-top:60px;
    font-size: 50px;
    line-height: 60px;
    margin:25px 0;
    font-weight: 600;
}
.btn{
    display:inline-block;
    background:var(--nav-hover);
    color:#fff;
    padding: 8px 30px;
    margin: 30px 0;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
      font-size: 18px;
      font-weight: bold;
    transition: background-color 0.3s;  
}
.btn:hover{
background:var(--btn-hover);
opacity: 0.7;
}
.explore-img {
  display: block;
  width: 600px; /* Set the image width as desired */
  height: 400px;
  margin-top: 20px;
  margin-left: 20px; /* Space between button and image */
  position: absolute;
  top: 50%;
  right: -70px; /* Adjust the value to position the image on the right side of the button */
  transform: translateY(-50%); /* Vertically center the image */
  border-radius: 8px; /* Rounded corners */
}

.header.row{
    margin-top: 90px;
}

.dropdown {
    position: relative;
    display: inline-block;
  }

  .dropbtn {
    background-color:transparent;/* Change as needed */
    color:var(--dropbtn);   /* Change as needed */
    padding : 10px;
    font-size: 16px;
    border: none;
    cursor: pointer;
  }

  .dropdown-content {
    display: none;
    position: absolute;
    background-color:var(--primary-color);
    min-width: 160px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
  }

  .dropdown-content a {
    color: var(--dropbtn);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    align-items: center;
  }

  .dropdown-content a:hover {
    background-color: #f1f1f1;
  }

  .dropdown:hover .dropdown-content {
    display: block;
  }

  .dropdown:hover .dropbtn {
    color:#ff523b;
    opacity: 0.7;
  }
  .nested-dropdown {
    position: relative;
  }

  .nested-dropdown-content {
    display: none;
    position: absolute;
    left: 100%;
    top: 0;
    min-width: 160px;
    background-color: var(--primary-color);
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
  }

  .nested-dropdown:hover .nested-dropdown-content {
    display: block;
  }
  .imgbtn:hover{
background-color: #ff523b;
  }

 .category{
    margin:70px 0;
 }
 .col-3{
    flex-basis: 30%;
    min-width: 250px;
    margin-bottom: 30px;
 }
.col-3 img{
    padding-top: 100px;
    width: 100%;
}
.small-container{
    max-width: 1080px;
    margin: auto;
    padding-left: 25px;
    padding-right: 25px;
}
.col-4{
    flex-basis:25px;
    padding:10px;
    min-width:  200px;
    margin-bottom: 50px;
    transition: transform 0.5s;

}
.col-4 img{
    width:100%;
}
.tittle{
    text-align: center;
    margin: 0 auto 80px;
    position:relative;
    line-height:60px;
    color:var(--tittle); 
}
.tittle::after{
content:'';
background:#ff523b;
width:80px;
height:5px;
border-radius:5px;
position:absolute;
bottom:0;
left:50%;
transform:translateX(-50%);
}
h4{
    color:var(--tittle);
    font-weight: normal;
}
.col-4 p{
font-size: 14px;
}
.col-4:hover{
    transform: translateY(-5px);
}
/* Container Styling */
.offer-container {
    background-color: radial-gradient(#fff,#ffd6d6);
    max-width: 1200px;
    margin: auto;
    padding: 20px;
  }
  
  /* Row Flex Layout */
  .row1 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
  }
  
  /* Column Styling */
  .col-5 {
    flex: 1;
    padding: 20px;
  }
  
  /* Image Styling */
  .offer-img {
    width: 50%;
    height: 50%;
    border-radius: 10px;
    box-shadow: 0px 4px 8px #0000001a;
  }
  .offer-img:hover{
    transform: translatey(5px);
  }
  .col-5 p:hover{
    color: #ff523b;
  }
  .col-5 h1:hover{
    color: #ff523b;
  }
  .col-5 small:hover{
    color: #d48f3f;
  }
  /* Text Styling */
  .col-5 p {
    font-weight: bold;
    color: var(--tittle);
    font-size: 1rem;
    margin-bottom: 10px;
  }
  .col-5 .offer-img{
    padding:50px;
  }
  
  .col-5 h1 {
    font-size: 2.5rem;
    color: var(--col5-h1);
    margin: 0;
  }
  
  .col-5 small {
    display: block;
    margin-top: 15px;
    line-height: 1.6;
    color: var(--col5-small);
    font-size: 1rem;
  }
  
  /* Responsive Styling */
  @media (max-width: 768px) {
    .row {
      flex-direction: column;
      text-align: center;
    }
  
    .col-5 h1 {
      font-size: 2rem;
    }
  
    .col-5 small {
      font-size: 0.9rem;
    }
    .explore-img{
      display: none;
    }
  }
  
.superior {
  color: green; 
  font-weight: bold;
  margin-left: 5px;
  opacity: 0; /* Initially hidden */
  transition: opacity 0.3s ease; /* Smooth hover transition */
}


.nested-dropdown-content a:hover .superior {
  opacity: 1; 
}
.brands{
  margin: 100px auto;
}
.col-6{
  width: 165px;
}
.col-6 img{
  width:100%;
  cursor:pointer;
}
/*---Footer---*/
.footer{
  background: var(--footer-bck);
  color: var(--col5-small);
  font-size: 14px;
  padding: 60px 0 20px;
}
.footer p{
  padding-left: 10px;
  color:var(--footer-clr);
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
  font-weight: 600;
}
.footer h3{
  padding-left: 10px;
  color:var(--footer-h3);
  margin-bottom: 20px;
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
  font-weight: 700;
}
.footer-col-1,.footer-col-2,.footer-col-3,.footer-col-4{
  min-width: 250px;
  margin-bottom: 20px;
}
.footer-col-1{
  flex-basis: 30%;
}
.footer-col-2{
  flex:1;
  text-align: center;
}
.footer-col-2 img{
  padding-left: 10px;
  width:180px;
  margin-bottom:20px;
}
.footer-col-3,.footer-col-4{
  flex-basis: 12%;
  text-align: center;
}
.footer-col-3 ul li a{
  text-decoration: none;
  color:var(--footer-col3);
}
.footer-col-4 ul li a{
  text-decoration: none;
  color:var(--footer-col3);
}
ul{
  list-style-type: none;
}
.applogo{
  margin-top:20px;
}
.applogo img{
  padding-left: 10px;
width:140px;
}
.footer hr{
  border: none;
  background: var(--footer-col3);
  height: 1px;
  margin:20px 0;
}
.copyright{
  text-align: center;
}
.menubtn{
margin-left: 20px;
display: none;
}
/*----Media query for menu----*/
@media only screen and (max-width: 800px) {
  nav ul {
    position: absolute;
    top: 70px;
    left: 0;
    background: var(--col5-h1);
    width: 100%;
    overflow:hidden;
    transition: max-height 0.5s;
  }
  nav ul li{
    display: block;
    margin-right: 50px;
    margin-top: 10px;
    margin-bottom: 10px;
  }
  nav ul li a{
    color:var(--primary-color);
  }
  .menubtn{
    display: block;
    cursor: pointer;
  }
  .dropdown a{
    color:var(--primary-color);
    text-align: right;
  }
  .dropdown-content a{
    color: #ff523b;
  }
  .explore-img{
    display: none;
  }
}
/*--all products*/
.row02{
  justify-content: space-between;
  margin:100px auto 50px;
}
select{
  border:1px solid #ff523b;
  padding:5px;
}
select:focus{
  outline:none;
}
.pagebtn{
  margin:0 auto 80px;
}
.pagebtn span{
  display:inline-block;
  border: 1px solid #ff523b;
  margin-left: 10px;
  width:30px;
  height:30px;
  text-align: centre;
  line-height: 40px;
  cursor: pointer;
}
.pagebtn span:hover{
  background: #ff523b;
  color:#fff;
}
/* Search Bar Styles */
.search-container {
  text-align: center;
  margin: 20px 0;
}

#search-bar {
  width: 50%;
  padding: 10px;
  font-size: 16px;
  border-radius: 5px;
  border: 1px solid #ccc;
}
.add-to-cart {
  background-color: #ff523b;
  color: white;
  padding: 10px;
  font-size: 14px;
  border: none;
  cursor: pointer;
  margin-top: 10px;
  border-radius: 5px;
}

.add-to-cart:hover {
  background-color: #ff523b;
}
/*media query for less than 600 px screen size*/
@media only screen and (max-width: 600px){
  .row{
    text-align: center;
  }
  .col-2,.col-3,.col-4{
    flex-basis: 10%;
  }
  .explore-img{
    display: none;
  }
}
.category-link {
  display: none;
}
.user-login-link,
.seller-login-link {
  display: none;
}
/* Hide dropdown and add a separate category page link for smaller screens */
@media only screen and (max-width: 800px) {
  .dropdown {
    display: none; /* Hide the dropdown */
  }
  .category-link {
    display: block;
    text-align: center;
    background-color: #ff523b;
    color: #fff;
    padding: 10px 20px;
    margin: 20px auto;
    width: 200px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
  }
  .category-link:hover {
    background-color: #ff6f5b;
  }
}
@media only screen and (max-width: 800px) {
  .login-dropdown {
    display: none; /* Hide dropdown */
  }
  .user-login-link,
  .seller-login-link {
    display: block;
    text-align: center;
    background-color: #ff523b;
    color: #fff;
    padding: 10px 20px;
    margin: 10px auto;
    width: 200px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
  }
  .user-login-link:hover,
  .seller-login-link:hover {
    background-color: #ff6f5b;
  }
}
:root{
  --primary-color:#edf2fc;
  --secondary-color:#212121;
  --nav-a:#000;
  --nav-hover:#ff523b;
--btn-hover:#ff523b;
--dropbtn:#000;
--tittle:#555;
--col5-h1:#333;
--col5-small:#666;
--footer-bck:#000;
--footer-clr:#8a8a8a;
--footer-h3:#fff;
--footer-col3:#656565;
}
.dark-theme{
  --primary-color:#000;
  --secondary-color:#212121;
  --nav-a:#fff;
  --nav-hover:#ff523b;
--btn-hover:#ff523b;
--dropbtn:#fff;
--tittle:#edf2fc;
--col5-h1:#edf2fc;
--col5-small:#edf2fc;
--footer-bck:#edf2fc;
--footer-clr:#000;
--footer-h3:#000;
--footer-col3:#000;
}
#theme{
  cursor: pointer;
}
/* Default styling for the icon box (hidden on the right side initially) */
.icon-box {
  position: fixed;
  right: -80px; /* Initially hidden off the screen */
  top: 50%;
  transform: translateY(-50%);
  background-color:transparent;
  padding: 10px;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  transition: right 0.3s ease;
}

.icon-box.active {
  right: 0; /* Show the box when active */
}

.icon-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.toggle-button {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  padding: 10px;
}

.toggle-button img {
  width: 40px;
  height: 40px;
  transform: rotate(180deg); /* Rotate the arrow icon */
  transition: transform 0.3s ease;
}

.icon-box img {
  margin: 10px 0;
  cursor: pointer;
}

body.dark-theme {
  background-color: #2d2d2d;
  color: #fff;
}

/* Optional: Add styling for other parts of your website */
