@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&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");

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-thumb {
  background-color: var(--maincolor);
  border-radius: 10px;
}

::-webkit-scrollbar-track {
  background-color: #fff3e3;
}

::selection {
  color: #fff;
  background-color: var(--maincolor);
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

:root {
  --maincolor: #b88e2f;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", serif;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: black;
}

header {
  width: 100%;
  min-height: 82px;
  background-color: transparent;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  position: sticky;
  top: 0px;
  z-index: 1000;
  backdrop-filter: blur(10px);
  box-shadow: 0px -5px 20px 0px #0000002d;
}

header {
  width: 100%;
  height: 9vh;
  background-color: transparent;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  position: sticky;
  top: 0px;
  z-index: 1000;
  backdrop-filter: blur(10px);
  box-shadow: 0px -5px 20px 0px #0000002d;
}

header img {
  width: 170px;
  height: auto;
  cursor: pointer;
}

nav {
  padding: 0 20%;
}

nav ul {
  display: flex;
}

header li a {
  font-size: 1.1rem;
  font-weight: 500;
  padding: 10px 25px;
  position: relative;
}

header li a::after {
  content: "";
  display: block;
  height: 4px;
  width: 0;
  background-color: var(--maincolor);
  position: absolute;
  left: 5px;
  bottom: 0;
  transition: 0.4s;
  filter: drop-shadow(0px 3px 15px var(--sec-color));
}

header li a:hover::after {
  width: 90%;
}

header li a:hover {
  color: var(--maincolor);
}

#header-icons {
  width: 10%;
  display: flex;
  justify-content: space-evenly;
  cursor: pointer;
  position: relative;
}

.icons {
  cursor: pointer;
}

#header-icons #counter {
  display: inline-block;
  position: absolute;
  top: -80%;
  right: 12%;
  color: var(--maincolor);
  line-height: 2;
}

#header-icons #fav-counter {
  display: inline-block;
  position: absolute;
  top: -80%;
  right: 32%;
  color: var(--maincolor);
  line-height: 2;
}

#header-icons .icons:hover {
  transition: 0.3s;
  transform: scale(1.3);
}

header .bars {
  background: transparent;
  border: none;
  outline: none;
}

header .baricon {
  display: none;
  background-color: transparent;
  font-size: 28px;
  cursor: pointer;
}

#sidebar {
  width: 40%;
  height: 100vh;
  border: none;
  background: #ffffff33;
  backdrop-filter: blur(10px);
  box-shadow: 3px 0px 12px 0px #000000a7;
  color: #fff;
  margin-left: auto;
  overflow: hidden;
}

#sidebar button {
  width: 25px;
  height: 25px;
  font-size: 18px;
  margin: 10px 15px;
  border: none;
  background-color: transparent;
  cursor: pointer;
}

#sidebar ul {
  display: flex;
  flex-direction: column;
  align-items: center;
}

#sidebar ul li {
  padding: 50px;
}

#sidebar ul a {
  font-size: 25px;
  color: var(--maincolor);
  text-shadow: 0px 0px 10px #0000001f;
}

#sidebar .sidebar-icons {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  cursor: pointer;
}

#sidebar .sidebar-icons .icons {
  padding: 20px;
}

#sidebar .sidebar-icons .icons:hover {
  transition: 0.3s;
  transform: scale(1.3);
}

.search-box {
  position: absolute;
  left: -100%;
  top: 100%;
  width: 100%;
  height: 100%;
  display: flex;
  background: #ffffff;
  box-shadow: -2px 1px 6px 0 #0000003d;
  align-items: center;
  padding: 0 30px;
  transition: 0.5s ease-in-out;
  gap: 5px;
}

.search-box input {
  width: 100%;
  border: none;
  outline: none;
  height: 50px;
  color: #333;
  font-size: 1.25rem;
  background: transparent;
  border-bottom: 1px solid rgba(0, 0, 0, 0.5);
}

.primary-btn {
  color: white;
  background-color: var(--maincolor);
  border: none;
  outline: none;
  cursor: pointer;
  border-radius: 5px;
}

.secondry-btn {
  color: var(--maincolor);
  background-color: transparent;
  border: 1px var(--maincolor) solid;
  outline: none;
  border-radius: 5px;
  cursor: pointer;
}

.scroll-up {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1550;
  color: white;
  background-color: var(--maincolor);
  font-size: 20px;
  padding: 8px 13px;
  border-radius: 50%;
  border: 1px solid var(--maincolor);
  animation: btn-float 2.5s infinite paused;
}

@keyframes btn-float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }

  100% {
    transform: translateY(0px);
  }
}

.scroll-up:hover {
  color: var(--maincolor);
  background-color: white;
  animation-play-state: running;
}
.fa-cart-shopping.animated {
  animation: cart 0.4s;
}
@keyframes cart {
  0% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(10px);
  }
  50% {
    transform: translateX(0);
  }
  75% {
    transform: translateX(-10px);
  }
  100% {
    transform: translateX(0);
  }
}

.fa-heart.animate {
  animation: heart 2s;
}
@keyframes heart {
  0% {
    color: red;
  }
  100% {
    color: black;
  }
}

@media (max-width: 450px) {
  header img {
    width: 140px;
  }
}
