/* breadcrumb سطح ۲+ — چپ‌چین (متمایز از page-hero-breadcrumb وسط‌چین) */
.list-product-page-header__breadcrumb {
  display: flex;
  width: 100%;
  justify-content: flex-start;
}

.list-product-page-header__breadcrumb .breadcrumb {
  justify-content: flex-start;
  margin-bottom: 0;
}

.list-product-page-header__breadcrumb-list .breadcrumb-item,
.list-product-page-header__breadcrumb-list .breadcrumb-item a {
  color: #666;
}

.list-product-page-header__breadcrumb-list .breadcrumb-item + .breadcrumb-item::before {
  color: #666;
}

/* هدر لیست محصول — همان چیدمان page-hero (مثل صفحه فروشگاه‌ها) */
.list-product-page-header picture img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.header-pages {
  background-size: cover;
  width: 100%;
  background-position: center;
}

.header-pages::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: transparent;
  width: 100%;
}

.breadcrumb .breadcrumb-item,
.breadcrumb .breadcrumb-item a {
  color: #666 !important;
}

.breadcrumb-item + .breadcrumb-item::before {
  color: #666 !important;
}

.list-product-packaging__img {
  display: block;
  object-fit: contain;
}

/* کارت‌های استاتیک زیر دسته (۳ در هر ردیف — col-lg-4) */
.list-product-feature-card {
  background: #fff;
  border: 1px solid #e8e6e1 !important;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.list-product-feature-card__img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.list-product-feature-card__body {
  padding: 24px 28px 28px;
}

.list-product-feature-card__title {
  line-height: 1.25;
}

.list-product-feature-card__subtitle {
  line-height: 1.4;
}

.list-product-feature-card__list {
  padding-right: 1.25rem;
  color: #444;
  line-height: 1.2;
}

.list-product-feature-card__list li + li {
  margin-top: 0.35rem;
}

.list-product-feature-card__recommend {
  font-size: 14px;
  color: #444;
  line-height: 1.6;
}

.list-product .header-list .number-list p {
  color: #7c7b7a;
}

.list-product .list-empty-message {
  color: #333;
}

.list-product .header-list .search-list input {
  background: unset !important;
  border: 0 !important;
  border-bottom: 2px solid #000 !important;
  border-radius: 0 !important;
  padding: 0 !important;
}

.list-product .header-list .search-list input::placeholder {
  font-size: 18px;
  font-family: PeydaLight;
  color: #aeadab;
  margin-bottom: 12px !important;
}

.custom-search {
  background: transparent;
  position: relative;
  z-index: 2;
}

.list-product-cats {
  --list-cat-circle-size: 120px;
}

/* .list-product-cat-card {
  padding-top: 24px;
} */

.list-product-cat-card__circle {
  width: 100%;
  aspect-ratio: 1/1;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.list-product-cat-card__circle::before {
  content: "";
  width: var(--list-cat-circle-size);
  height: var(--list-cat-circle-size);
  background: #ffffff;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.list-product-cat-card__circle img {
  width: 50%;
  max-height: 180px;
  object-fit: contain;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 25px 20px rgba(0, 0, 0, 0.15));
  transition: 0.35s;
}

.list-product-cat-card:hover .list-product-cat-card__circle img {
  transform: rotate(-10deg);
}

.list-product-cat-card:hover .list-product-cat-card__title {
  color: #8d0f27 !important;
}

.list-product-cat-card__title {
  margin-top: 8px !important;
  color: #111;
  font-weight: 800;
}

.link-product img {
  border-radius: 25px;
}

.link-product:hover h3 {
  color: #8d0f27 !important;
  transition: 0.5s;
}

.link-product .img-wrapper {
  overflow: hidden;
  border-radius: 25px;
}

.link-product .img-wrapper img {
  transition: transform 0.4s ease;
}

.link-product:hover .img-wrapper img {
  transform: scale(1.1);
}

.description .box-description {
  position: relative;
}

.box-description .text-content {
  overflow: hidden;
  transition: max-height 0.5s ease;
}

.box-description .fade-overlay {
  position: absolute;
  bottom: 30px;
  left: 0;
  width: 100%;
  height: 200px;
  background: linear-gradient(to top, #f8f7f4, rgb(255 255 255 / 0%));
  display: none;
  pointer-events: none;
}

.box-description .btn-more,
.box-description .btn-less {
  display: none;
  margin-top: 5px;
  border: none;
  cursor: pointer;
}

.form-control:focus {
  background-color: unset !important;
}

@media (min-width: 768px) and (max-width: 992px) {
  .header-pages {
    padding-top: 100px;
  }

  .link-product h3 {
    font-size: 14px !important;
  }
}

@media (min-width: 576px) and (max-width: 768px) {
  .header-pages {
    padding-top: 100px;
  }

  .header-list {
    justify-content: unset;
    flex-direction: column;
  }

  .header-list .number-list {
    margin-right: auto;
    margin-top: 13px;
  }

  .link-product h3 {
    font-size: 14px !important;
  }
}

@media (max-width: 576px) {
  .breadcrumb .breadcrumb-item,
  .breadcrumb .breadcrumb-item a {
    font-size: 14px !important;
  }

  .header-list {
    justify-content: unset;
    flex-direction: column;
  }

  .header-list .number-list {
    margin-right: auto;
    margin-top: 13px;
  }

  .link-product h3 {
    font-size: 12px !important;
  }
}
