.object-fit-cover {
  object-fit: cover;
}

.category-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #212529;
  text-align: center;
  margin-bottom: 0;
}

.category-card {
  border: 2px solid #f1f1f1;
  padding: 16px;
  transition: all 0.3s ease;
  background: #fff;
}

.category-card img {
  height: 250px;
  object-fit: cover;
}

.category-card:hover {
  transform: translateY(-6px);
  border-color: #ffc107;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.product-card-parent {
  width: 20%;
}

.product-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.hover-up {
  cursor: pointer;
}

.social-icon img {
  height: 32px;
  width: 32px;
  object-fit: cover;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.social-icon:hover img {
  transform: scale(1.1);
  opacity: 0.8;
}

.search-box-parent {
  margin-bottom: 15px;
  padding: 0 10px;
}

.hoverable-card-parent {
  padding: 10px;
}

.hoverable-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hoverable-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.gradient-badge {
  background: linear-gradient(45deg, #0d47a1, #1976d2);
  color: #fff;
  font-size: 0.75rem;
  padding: 0.4em 0.75em;
}

.product-page-title {
  margin-bottom: 10px;
}

.section-title-custom {
    margin-bottom: 10px;
}

.product-name {
  padding: 2px 10px;
}

.category-card-parent {
  width: 25%;
}

.hero-swiper {
  height: 260px;
}

.slider-image {
  height: 260px;
}

section, .section {
  padding-bottom: 0;
}

/* Mobile view (xs/sm) */
@media (max-width: 576px) {
  .hero-swiper {
    height: 140px;
  }

  .slider-image {
    height: 140px;
  }

  .slider-parent {
    padding: 0 10px;
  }

  .hero {
    padding-top: 70px;
    padding-bottom: 0 !important;
  }

  .category-card {
    padding: 5px;
  }

  .category-card img {
    height: 150px;
    object-fit: cover;
  }

  .category-title {
    font-size: 16px;
    font-weight: 600;
    color: #212529;
    text-align: center;
    margin-bottom: 0;
  }

  .product-page-title {
    margin-bottom: 0;
  }

  .py-5 {
    padding-top: 1rem !important;
    padding-bottom: 0;
  }

  .container {
    padding-left: 5px;
    padding-right: 5px;
  }

  .search-box-parent {
    margin-bottom: 2px;
    padding: 4px;
  }

  .hoverable-card-parent {
    padding: 0 2px;
  }

  .product-card-parent {
    width: 50%;
    margin-bottom: 5px;
  }

  .section-title-custom {
    margin-bottom: 0;
  }

  section, .section {
    padding-bottom: 0;
  }

  .mb-5 {
    margin-bottom: 0 !important;
  }

  .product-name {
    padding: 0 5px;
  }

  .category-card-parent {
    width: 50%;
  }

  .header .header-container {
    margin-left: 0;
    margin-right: 0;
    padding: 10px 5px 10px 4px;
  }

  .footer .footer-about .logo {
    margin-bottom: 0 !important;
  }

  .footer .footer-links ul li {
    padding: 5px 0 !important;
  }

  .footer .footer-links {
      margin-bottom: 0 !important;
  }

  .product-details-parent {
    padding: 0 4px;
  }

  .header .logo img {
    max-height: 40px;
    margin-right: 8px;
    border-radius: 5px;
  }

  .footer .footer-about .logo img {
    max-height: 80px;
    margin-right: 6px;
  }
}