/* Тема «Амири»: подключается после /assets/css/styles.css и переопределяет цвета и картинки */

.theme-amiri {
  --color-text: #3a2b2d;
  --color-green: #3f2a2e;
  --amiri-brown: #3f2a2e;
  --amiri-brown-2: #5b4246;
  --amiri-mint: #a9d8d4;
  --amiri-mint-light: #e3f1ef;
  --amiri-peach: #f1d8ca;
  --amiri-green: #1e7b56;
}

/* Подсказки у крайних карточек не должны давать горизонтальный скролл */
.theme-amiri .main {
  overflow-x: clip;
}

/* Кнопки */
.theme-amiri .button:active {
  background: var(--amiri-brown-2);
}

/* Логотип */
.theme-amiri .logo__img {
  display: block;
  width: 190px;
  height: auto;
}
.theme-amiri .header-mobile__logo .logo__img {
  width: 170px;
}
@media screen and (max-width: 768px) {
  .theme-amiri .logo__img {
    width: 150px;
  }
}

/* Паттерн с лапками в мятной гамме */
.theme-amiri .section-pattern {
  background: url("/assets/amiri/images/amiri-pattern.png");
  background: image-set(url("/assets/amiri/images/amiri-pattern.webp") type("image/webp"), url("/assets/amiri/images/amiri-pattern.png") type("image/png"));
}
.theme-amiri .section__block {
  background: var(--amiri-mint-light);
}

/* Первый экран */
.theme-amiri .hero__block::before {
  background: linear-gradient(90deg, #fbeee6 0%, rgba(251, 238, 230, 0.85) 35%, rgba(251, 238, 230, 0) 100%);
}
.theme-amiri .hero__eyebrow {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amiri-green);
}
.theme-amiri .hero__img {
  bottom: 30px;
  right: 40px;
  max-height: calc(100% - 60px);
  width: auto;
}
@media screen and (max-width: 768px) {
  .theme-amiri .hero__block {
    padding-bottom: 300px;
  }
  .theme-amiri .hero__img {
    bottom: 16px;
    right: auto;
    max-height: 270px;
  }
}

/* Карточки товаров: вертикальные пачки целиком */
.theme-amiri .product-card__img-wrapper {
  background: linear-gradient(180deg, #f3f8f7 0%, #e7f0ee 100%);
}
.theme-amiri .product-card__img--contain {
  object-fit: contain;
}

/* Отзывы: пока без отзывов */
.theme-amiri .reviews__empty {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
.theme-amiri .reviews__empty-text {
  max-width: 720px;
  font-size: 18px;
  line-height: 140%;
}

/* Фото в блоках с паттерном */
.theme-amiri .benefits__img {
  left: 24px;
  max-height: calc(100% - 24px);
  width: auto;
}
@media screen and (max-width: 1024px) {
  .theme-amiri .benefits__img {
    left: 50%;
    max-height: none;
    width: 100%;
    max-width: 230px;
  }
}
.theme-amiri .callback__img {
  right: 0;
  max-height: 100%;
  width: auto;
  border-bottom-right-radius: 24px;
}
@media screen and (max-width: 1024px) {
  .theme-amiri .callback__img {
    right: auto;
    border-radius: 0;
    max-height: none;
    width: 100%;
    max-width: 230px;
  }
}

/* Рекомендации по кормлению */
.feeding__block {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.feeding__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 16px;
}
.feeding-card {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.feeding-card__title {
  font-size: 20px;
  font-weight: 600;
  line-height: 120%;
}
.feeding-card__text {
  font-size: 14px;
  line-height: 140%;
  opacity: 0.8;
}
.feeding-table__wrap {
  overflow-x: auto;
}
.feeding-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 4px;
  font-size: 15px;
  text-align: center;
}
.feeding-table thead th {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--amiri-brown-2);
  padding: 0 8px 8px;
  vertical-align: bottom;
}
.feeding-table tbody th,
.feeding-table tbody td {
  padding: 10px 8px;
  background: var(--amiri-mint-light);
}
.feeding-table tbody th {
  font-weight: 400;
  text-align: left;
  border-radius: 8px 0 0 8px;
  white-space: nowrap;
}
.feeding-table tbody td {
  font-weight: 600;
}
.feeding-table tbody td:last-child {
  border-radius: 0 8px 8px 0;
}
.feeding-table tbody tr:nth-child(even) th,
.feeding-table tbody tr:nth-child(even) td {
  background: #f6fbfa;
}

.feeding-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.feeding-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}
.feeding-step__bowl {
  width: 88px;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 6px solid var(--amiri-green);
  background: conic-gradient(#e0a24a 0 var(--share), #7a5a3c var(--share) 100%);
  box-shadow: inset 0 0 0 4px #fff;
}
.feeding-step__percent {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.feeding-step__day {
  font-size: 18px;
  padding: 6px 20px;
  border: 2px solid var(--amiri-brown);
  border-radius: 12px;
}
@media screen and (max-width: 1024px) {
  .feeding__grid {
    grid-template-columns: 1fr;
  }
}
@media screen and (max-width: 768px) {
  .feeding__block {
    padding: 12px;
  }
  .feeding-card {
    padding: 16px;
  }
  .feeding-table {
    font-size: 13px;
  }
  .feeding-table thead th {
    font-size: 10px;
    padding: 0 4px 6px;
  }
  .feeding-table tbody th,
  .feeding-table tbody td {
    padding: 8px 4px;
  }
  .feeding-steps {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 24px;
  }
  .feeding-step__bowl {
    width: 64px;
    border-width: 5px;
  }
  .feeding-step__day {
    font-size: 15px;
    padding: 4px 12px;
  }
}
