/* Product Categories Element Styles */

.product-categories-wrapper {
  width: 100%;
  max-width: 100%;
  position: relative;
  margin-bottom: 40px;
  padding: 0 15px;
}

/* Header */
.product-categories-header {
  margin-bottom: 30px;
}

.product-categories-heading {
  font-size: 28px;
  font-weight: 700;
  color: #168BEF;
  text-align: left;
  position: relative;
  display: inline-block;
  margin-bottom: 0;
}

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

/* Categories Slider Container */
.product-categories-slider {
  display: flex;
  overflow: hidden;
  gap: 20px;
  padding: 5px;
  transition: transform 0.5s ease;
}

/* Category Item */
.product-category-item {
  min-width: calc(20% - 16px);
  flex: 0 0 calc(20% - 16px);
  background-color: #ffffff;
  border: 3px solid #168BEF;
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

/* Category Link */
.product-category-link {
  display: block;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

/* Category Image */
.product-category-image {
  height: 180px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  transition: all 0.5s ease;
}

.product-category-no-image {
  background-color: #f7f7f7;
}

.product-category-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0);
  transition: background-color 0.3s ease;
}

.product-category-item:hover .product-category-image {
  transform: scale(1.05);
}

.product-category-item:hover .product-category-overlay {
  background-color: rgba(22, 139, 239, 0.2);
}

/* Category Contact Info */
.product-category-contact {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 8px 10px;
  font-size: 12px;
  opacity: 0;
  transform: translateY(100%);
  transition: all 0.3s ease;
}

.product-category-item:hover .product-category-contact {
  opacity: 1;
  transform: translateY(0);
}

.product-category-phone,
.product-category-website {
  display: flex;
  align-items: center;
  margin-bottom: 2px;
}

.product-category-phone i,
.product-category-website i {
  margin-right: 6px;
  font-size: 10px;
  color: #168BEF;
}

/* Category Title */
.product-category-title-wrapper {
  padding: 15px 10px;
  text-align: center;
}

.product-category-title {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  margin: 0;
  color: #333333;
  transition: color 0.3s ease;
}

.product-category-item:hover .product-category-title {
  color: #168BEF;
}

/* Navigation Arrows */
.product-categories-navigation {
  display: flex;
  justify-content: space-between;
  position: absolute;
  top: 50%;
  left: -15px;
  right: -15px;
  transform: translateY(-50%);
  z-index: 5;
  pointer-events: none;
}

.product-categories-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.8);
  border: 1px solid #168BEF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  pointer-events: auto;
  color: #168BEF;
}

.product-categories-arrow:hover {
  background-color: #168BEF;
  color: #ffffff;
}

.product-categories-arrow i {
  font-size: 14px;
}

.product-categories-prev {
  margin-left: 5px;
}

.product-categories-next {
  margin-right: 5px;
}

/* Responsive Styles */
@media (max-width: 1200px) {
  .product-category-item {
    min-width: calc(25% - 15px);
    flex: 0 0 calc(25% - 15px);
  }
}

@media (max-width: 992px) {
  .product-category-item {
    min-width: calc(33.333% - 14px);
    flex: 0 0 calc(33.333% - 14px);
  }
}

@media (max-width: 768px) {
  .product-category-item {
    min-width: calc(50% - 10px);
    flex: 0 0 calc(50% - 10px);
  }
  
  .product-categories-heading {
    font-size: 24px;
  }
  
  .product-category-image {
    height: 160px;
  }
  
  .product-categories-navigation {
    top: 110px;
  }
}

@media (max-width: 576px) {
  .product-category-item {
    min-width: 100%;
    flex: 0 0 100%;
  }
  
  .product-categories-heading {
    font-size: 22px;
  }
  
  .product-category-image {
    height: 200px;
  }
  
  .product-categories-arrow {
    width: 30px;
    height: 30px;
  }
}

/* Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.product-category-item {
  animation: fadeIn 0.5s ease forwards;
  opacity: 0;
}

.product-category-item:nth-child(1) { animation-delay: 0.1s; }
.product-category-item:nth-child(2) { animation-delay: 0.2s; }
.product-category-item:nth-child(3) { animation-delay: 0.3s; }
.product-category-item:nth-child(4) { animation-delay: 0.4s; }
.product-category-item:nth-child(5) { animation-delay: 0.5s; }
.product-category-item:nth-child(6) { animation-delay: 0.6s; }
.product-category-item:nth-child(7) { animation-delay: 0.7s; }
.product-category-item:nth-child(8) { animation-delay: 0.8s; }
.product-category-item:nth-child(9) { animation-delay: 0.9s; }
.product-category-item:nth-child(10) { animation-delay: 1.0s; } 