@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;

      --white: #fff;
      --black: #222;
      --green: #6cbe02;
      --grey1: #f0f0f0;
      --grey2: #e9d7d3;
}


* {
    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;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    background: black;
    box-shadow: var(--box-shadow);
    z-index: 10;
    flex-wrap: wrap;
    min-height: 4rem;
    position: relative;
    
}
.header .Navbar {
    .header .Navbar {
      display: flex;

        flex-direction: row; /* Stack navbar items vertically on small screens */
        align-items: flex-start; /* Align to start */
        width: 100%; /* Full width */
    }
}
.header .Navbar a {
    /* Size of the text */
    margin: 0 1rem; /* Spacing between items */
    color: white;
    font-size: 2rem;
    margin: 0 1rem;
    color: white;
    transition: color 0.3s; 

}

.logo img {
    max-width: 100px; 
    height: 100px; 
    border-radius: 50%; 
    object-fit: cover;
    background: black;
}

.logo img:hover {
    background: white;
}

.header .Navbar {
    display: flex;
}

.header .Navbar a {
    font-size: 2rem;
    margin: 0 1rem;
    color: white;
}

.header .Navbar a:hover {
    color: var(--orange);
}

.lol {
    color: white;
    font-size: 2rem;
}

.lol:hover {
    color: var(--orange);
}

.header .icons {
    display: flex;
    gap: 1rem; /* Space between icons */
}

.header .icons div {
    height: 4.5rem;
    width: 4.5rem;
    line-height: 4.5rem; 
    border-radius: .5rem;
    color: rgb(255, 255, 255);
    font-size: 2.5rem;
    text-align: center;
    cursor: pointer;
}

.header .icons div:hover {
    background: var(--orange);
}

#menu-btn {
    display: none;
}
.header .search-form{
    position: absolute;
    top: 100%;
    right:  -110%;
  
    width: 80%;
    height:  4.5rem;
    background: #fff;
    border-radius: .5rem;
    overflow: hidden;
    display: flex;
    align-items: center;
    box-shadow:var(--box-shadow);
    max-width: 400px;

}
.header .search-form.active{

    right: 2rem;
}
.header .search-form input{
    height: 100%;
    width: 100%;
    text-transform: none;
    font-size: 1.6rem;
    color: var(--orange);
    padding: 0 1.5rem;
    
}
.header .search-form label{
    font-size: 2.2rem;
    right: 1.1rem;
    color: var(--orange);
    cursor: pointer;
}

.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;
}




/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700&display=swap');



/* Icons */

.icon {
  cursor: pointer;
  font-size: 2.5rem;
  padding: 0 1rem;
  color: black;
  position: relative;
}

.icon:not(:last-child) {
  margin-right: 0.5rem;
}

.icon span {
  position: absolute;
  top: 3px;
  right: -3px;
  background-color: var(--orange);
  color: var(--white);
  border-radius: 50%;
  font-size: 1.3rem;
  height: 2rem;
  width: 2rem;
  justify-content: center;
}

@media only screen and (max-width: 768px) {
  .nav-list {
    position: fixed;
    top: 12%;
    left: -35rem;
    flex-direction: column;
    align-items: flex-start;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.2);
    background-color: white;
    height: 100%;
    width: 0%;
    max-width: 35rem;
    z-index: 100;
    transition: all 300ms ease-in-out;
  }

  .nav-list.open {
    left: 0;
    width: 100%;
  }

  .nav-list .nav-item {
    margin: 0 0 1rem 0;
    width: 100%;
  }

  .nav-list .nav-link {
    font-size: 2rem;
    color: var(--orange);
  }

  .nav-center .hamburger {
    display: block;
    color: var(--orange);
    font-size: 3rem;
  }

  .icons {
    display: none;
  }

  .nav-list .icons {
    display: flex;
  }

  .top-nav ul {
    display: none;
  }

  .top-nav div {
    justify-content: center;
    height: 3rem;
  }
}
.icon:hover{
  background: var(--orange);
}





/* New Arrivals */
.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: var(--orange);
  margin-bottom: 1rem;
}

.product-info a {
  font-size: 1.5rem;
  display: block;
  margin-bottom: 1rem;
  transition: all 300ms ease;
  color: black ;
}

.product-info a:hover {
  color: var(--orange);
}

.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(--orange);
  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;
  }
}




/* All Products */
.all-products {
  display: flex;
  flex-direction: column;
  align-items: center; /* Center content horizontally */
  padding: 20px; /* Add some padding */
}
.section .top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4rem;
}

.all-products .top select {
  font-family: 'Poppins', sans-serif;
  width: 20rem;
  padding: 1rem;
  border: 1px solid #ccc;
  appearance: none;
  outline: none;
}

form {
  position: relative;
  display: flex;
  z-index: 1;
}

form span {
  position: absolute;
  top: 50%;
  right: 1rem;
  transform: translateY(-50%);
  font-size: 2rem;
  z-index: 0;
}

@media only screen and (max-width: 768px) {
  .all-products .top select {
    width: 15rem;
  }
}

/* Pagination */
.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;
}



/* Product Details */

.product-detail .details {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 7rem;
}

.product-detail .left {
  display: flex;
  flex-direction: column;
}

.product-detail .left .main {
  text-align: center;
  background-color: #f6f2f1;
  margin-bottom: 2rem;
  height: 45rem;
}

.product-detail .left .main img {
  object-fit: cover;
  height: 100%;
  width: 100%;
}

.product-detail .right span {
  display: inline-block;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.product-detail .right h1 {
  font-size: 4rem;
  line-height: 1.2;
  margin-bottom: 2rem;
}

.product-detail .right .price {
  font-size: 600;
  font-size: 2rem;
  color: var(--orange);
  margin-bottom: 2rem;
}

.product-detail .right div {
  display: inline-block;
  position: relative;
  z-index: -1;
}

.product-detail .right select {
  font-family: 'Poppins', sans-serif;
  width: 20rem;
  padding: 0.7rem;
  border: 1px solid #ccc;
  appearance: none;
  outline: none;
}

.product-detail form {
  margin-bottom: 2rem;
  z-index: 0;
}

.product-detail form span {
  position: absolute;
  top: 50%;
  right: 1rem;
  transform: translateY(-50%);
  font-size: 2rem;
  z-index: 0;
}

.product-detail .form {
  margin-bottom: 3rem;
}

.product-detail .form input {
  padding: 0.8rem;
  text-align: center;
  width: 3.5rem;
  margin-right: 2rem;
}

.product-detail .form .addCart {
  background: var(--green);
  padding: 0.8rem 4rem;
  color: #fff;
  border-radius: 3rem;
}

.product-detail h3 {
  text-transform: uppercase;
  margin-bottom: 2rem;
}

@media only screen and (max-width: 996px) {
  .product-detail .left {
    width: 30rem;
    height: 45rem;
  }

  .product-detail .details {
    gap: 3rem;
  }
}

@media only screen and (max-width: 650px) {
  .product-detail .details {
    grid-template-columns: 1fr;
  }

  .product-detail .right {
    margin-top: 1rem;
  }

  .product-detail .left {
    width: 100%;
    height: 45rem;
  }

  .product-detail .details {
    gap: 3rem;
  }
}















/*footer*/
.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;
}


@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;
  }
}