@import url('https://fonts.googleapis.com/css2?family=Pacifico&family=Quicksand:wght@400;600&display=swap');

body {
  font-family: 'Quicksand', sans-serif;
  background-color: #F5F3FF;
  color: #4C1D95;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

.font-cursive {
  font-family: 'Pacifico', cursive;
}

#searchInput.show {
  display: inline-block !important;
}

#scrollTopBtn {
  position: fixed;
  bottom: 40px;
  right: 40px;
  background-color: #7C3AED;
  color: white;
  border: none;
  padding: 12px 16px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  display: none;
  box-shadow: 0 4px 8px rgba(124, 58, 237, 0.4);
  z-index: 1000;
}

#scrollTopBtn:hover {
  background-color: #5B21B6;
}

#productGrid > div {
  transition: 0.5s ease;
}
#productGrid > div:hover {
  transform: scale(1.05);
}

#productGrid img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 1rem;
}

#review .grid > div {
  transition: 0.4s ease;
}
#review .grid > div:hover {
  transform: scale(1.05);
}

.gallery-img {
  height: 250px;
  object-fit: cover;
  border-radius: 1rem;
  transition: 0.5s ease;
}
.gallery-img:hover {
  transform: scale(1.1);
}


#contact form input,
#contact form textarea {
  border: 1px solid #D8B4FE;
  border-radius: 1rem;
  padding: 1rem;
}

@media (max-width: 640px) {


  header {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 1rem;
  }

  nav {
    display: none !important;
  }

  #searchInput {
    width: 130px !important;
  }


  #productGrid,
  #review .grid,
  .gallery-grid,
  #blog .grid {
    grid-template-columns: 1fr !important;
  }

  .gallery-img {
    height: 180px !important;
  }

  #productGrid img {
    height: 180px;
  }
  #emailInput{
    width: 100px;
  }
}


@media (min-width: 640px) and (max-width: 1023px) {

  #productGrid,
  #review .grid,
  .gallery-grid,
  #blog .grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .gallery-img,
  #productGrid img {
    height: 220px !important;
  }

  #searchInput {
    width: 180px;
  }
}


@media (min-width: 1024px) {

  #productGrid {
    grid-template-columns: repeat(4, 1fr) !important;
  }

  #review .grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }

  .gallery-grid {
    grid-template-columns: repeat(4, 1fr) !important;
  }

  #blog .grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

html, body {
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

* {
  box-sizing: border-box;
}

section, header, footer {
  max-width: 100%;
  overflow-x: hidden;
}
 