:where([class^="ri-"])::before {
  content: "\f3c2";
}
body {
  font-family: "Montserrat", sans-serif;
  scroll-behavior: smooth;
}
.hero-section {
  background-image: linear-gradient(
      to right,
      rgba(255, 255, 255, 0.9) 40%,
      rgba(255, 255, 255, 0.1) 100%
    ),
    url("assets/img/hero.jpg");
  background-size: cover;
  background-position: center;
}
.search-input:focus {
  outline: none;
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}
.scroll-animation {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.scroll-animation.active {
  opacity: 1;
  transform: translateY(0);
}
.back-to-top {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.custom-checkbox {
  position: relative;
  cursor: pointer;
}
.custom-checkbox input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}
.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 20px;
  width: 20px;
  background-color: #fff;
  border: 2px solid #ccc;
  border-radius: 4px;
}
.custom-checkbox:hover input ~ .checkmark {
  border-color: #2e7d32;
}
.custom-checkbox input:checked ~ .checkmark {
  background-color: #2e7d32;
  border-color: #2e7d32;
}
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}
.custom-checkbox input:checked ~ .checkmark:after {
  display: block;
}
.custom-checkbox .checkmark:after {
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
