@charset "UTF-8";
/*----------------------------------------------------------------------
treatmentGallery-wrapp
----------------------------------------------------------------------*/
.treatmentGallery-wrapp .treatment-filters {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  background-color: #f8f9fa;
  padding: 20px;
  border-radius: 5px;
}
@media (max-width: 768px) {
  .treatmentGallery-wrapp .treatment-filters {
    flex-direction: column;
  }
}
.treatmentGallery-wrapp .treatment-filters .filter-container {
  width: 100%;
}
.treatmentGallery-wrapp .treatment-filters .filter-container .filter-description {
  margin-bottom: 15px;
}
.treatmentGallery-wrapp .treatment-filters .filter-container .filter-description p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-textLight);
}
.treatmentGallery-wrapp .treatment-filters .filter-container .filter-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
@media (max-width: 768px) {
  .treatmentGallery-wrapp .treatment-filters .filter-container .filter-options {
    justify-content: center;
  }
}
.treatmentGallery-wrapp .treatment-filters .filter-container .filter-options .btn-filter {
  background-color: #fff;
  color: var(--color-text);
  border: 1px solid var(--color-borderLight);
  padding: 8px 15px;
  border-radius: 20px;
  transition: all 0.3s ease;
}
.treatmentGallery-wrapp .treatment-filters .filter-container .filter-options .btn-filter:hover {
  background-color: var(--color-hover);
}
.treatmentGallery-wrapp .treatment-filters .filter-container .filter-options .btn-filter.active {
  background-color: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}
.treatmentGallery-wrapp .treatment-gallery {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-bottom: 30px;
}
.treatmentGallery-wrapp .treatment-gallery .treatment-item {
  display: flex;
  background-color: #fff;
  border: 1px solid var(--color-borderLight);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.treatmentGallery-wrapp .treatment-gallery .treatment-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
@media (max-width: 992px) {
  .treatmentGallery-wrapp .treatment-gallery .treatment-item {
    flex-direction: column;
  }
}
.treatmentGallery-wrapp .treatment-gallery .treatment-item .treatment-images {
  display: flex;
  flex-direction: row;
  min-width: 300px;
}
@media (max-width: 992px) {
  .treatmentGallery-wrapp .treatment-gallery .treatment-item .treatment-images {
    width: 100%;
    min-width: auto;
  }
}
@media screen and (max-width: 576px) {
  .treatmentGallery-wrapp .treatment-gallery .treatment-item .treatment-images {
    flex-direction: column;
  }
}
.treatmentGallery-wrapp .treatment-gallery .treatment-item .treatment-images .image-container {
  position: relative;
  height: 300px;
  width: 300px;
  overflow: hidden;
  cursor: zoom-in;
}
.treatmentGallery-wrapp .treatment-gallery .treatment-item .treatment-images .image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.treatmentGallery-wrapp .treatment-gallery .treatment-item .treatment-images .image-container img:hover {
  transform: scale(1.05);
}
.treatmentGallery-wrapp .treatment-gallery .treatment-item .treatment-images .image-container .image-label {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: rgba(0, 0, 0, 0.7);
  color: #fff;
  padding: 5px 10px;
  border-radius: 15px;
  font-size: 0.75rem;
  z-index: 1;
}
.treatmentGallery-wrapp .treatment-gallery .treatment-item .treatment-images .image-container.before {
  border-bottom: 1px solid var(--color-borderLight);
}
@media screen and (max-width: 768px) {
  .treatmentGallery-wrapp .treatment-gallery .treatment-item .treatment-images .image-container {
    width: 50%;
  }
}
@media screen and (max-width: 576px) {
  .treatmentGallery-wrapp .treatment-gallery .treatment-item .treatment-images .image-container {
    width: 100%;
    height: 200px;
  }
}
.treatmentGallery-wrapp .treatment-gallery .treatment-item .treatment-details {
  flex: 1;
  padding: 20px;
}
.treatmentGallery-wrapp .treatment-gallery .treatment-item .treatment-details .treatment-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 15px;
}
.treatmentGallery-wrapp .treatment-gallery .treatment-item .treatment-details .treatment-meta {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 15px;
  gap: 10px;
}
.treatmentGallery-wrapp .treatment-gallery .treatment-item .treatment-details .treatment-meta .meta-item {
  display: flex;
  align-items: center;
  margin-left: 20px;
  color: var(--color-textLight);
  font-size: 0.9rem;
}
.treatmentGallery-wrapp .treatment-gallery .treatment-item .treatment-details .treatment-meta .meta-item .meta-label {
  display: flex;
  align-items: center;
  margin-left: 5px;
}
.treatmentGallery-wrapp .treatment-gallery .treatment-item .treatment-details .treatment-meta .meta-item .meta-label i {
  margin-left: 5px;
  color: var(--color-primary);
}
.treatmentGallery-wrapp .treatment-gallery .treatment-item .treatment-details .treatment-meta .meta-item .meta-value {
  font-weight: 500;
}
.treatmentGallery-wrapp .treatment-gallery .treatment-item .treatment-details .treatment-description {
  color: var(--color-textLight);
  line-height: 1.8;
  text-align: justify;
  margin-bottom: 0;
}
.treatmentGallery-wrapp .treatment-pagination {
  margin: 40px 0;
}
.treatmentGallery-wrapp .treatment-pagination .pagination .page-item .page-link {
  color: var(--color-text);
  border-color: var(--color-borderLight);
}
.treatmentGallery-wrapp .treatment-pagination .pagination .page-item .page-link:focus {
  box-shadow: 0 0 0 0.25rem var(--color-primaryAlpha);
}
.treatmentGallery-wrapp .treatment-pagination .pagination .page-item.active .page-link {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}
.treatmentGallery-wrapp .treatment-pagination .pagination .page-item.disabled .page-link {
  color: var(--color-textLight);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .treatmentGallery-wrapp .treatment-item .treatment-images .image-container {
    height: 180px;
  }
  .treatmentGallery-wrapp .treatment-item .treatment-details .treatment-meta {
    flex-direction: column;
    gap: 5px;
  }
  .treatmentGallery-wrapp .treatment-item .treatment-details .treatment-meta .meta-item {
    margin-left: 0;
  }
}
@media (max-width: 576px) {
  .treatmentGallery-wrapp .treatment-filters .filter-options {
    flex-direction: column;
  }
  .treatmentGallery-wrapp .treatment-filters .filter-options .btn-filter {
    width: 100%;
    text-align: center;
  }
  .treatmentGallery-wrapp .treatment-item .treatment-images .image-container {
    height: 150px;
    /* در بخش استایل‌های تصویر در .image-container */
  }
  .treatmentGallery-wrapp .treatment-item .treatment-images .image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    /* استایل برای حالت زوم شده */
  }
  .treatmentGallery-wrapp .treatment-item .treatment-images .image-container img:hover {
    transform: scale(1.05);
  }
  .treatmentGallery-wrapp .treatment-item .treatment-images .image-container img.zoomed {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: auto;
    height: auto;
    max-width: 90%;
    max-height: 90%;
    z-index: 9999;
    object-fit: contain;
    cursor: zoom-out;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  }
  .treatmentGallery-wrapp .treatment-item .treatment-details {
    padding: 15px;
  }
  .treatmentGallery-wrapp .treatment-item .treatment-details .treatment-title {
    font-size: 1.1rem;
  }
}
/* Add this outside of the main class to handle body when an image is zoomed */
body.has-zoomed-image {
  overflow: hidden;
}