/* ============================================================
   COSMETIC NEKRAS — REVISED COLORS & ENHANCED FONTS
   - Блок каталога 1: #rec2491541801
   - Блок каталога 2: #rec2491293531
   ============================================================ */
#rec2491541801 .js-product-edition-option[data-edition-option-id="Количество"] {
    display: none !important;
}
/* ---------- 1. CSS-ПЕРЕМЕННЫЕ ---------- */
#rec2491541801 {
  --co-cream: #f5f1e8;
  --co-milk: #faf7f2;
  --co-clay: #a68f7c;
  --co-herb: #6b8e5c;
  --co-wood: #5c4a3d;
  --co-accent: #8b6f47;
  
  --co-text: var(--co-wood);
  --co-muted: #888888;
  --co-old-price: #a0958d;
  --co-card-bg: rgba(250, 247, 242, 0.95);
  --co-card-border: rgba(92, 74, 61, 0.12);
  --co-card-shadow: 0 15px 35px rgba(92, 74, 61, 0.08);
  --co-card-shadow-hover: 0 20px 45px rgba(92, 74, 61, 0.16);
  --co-radius: 32px;
  --co-radius-sm: 50px;
  --co-gap: 25px;
  --co-transition: 0.35s ease;
  
  background-color: var(--co-cream) !important;
  padding-top: 80px !important;
  padding-bottom: 80px !important;
  position: relative;
  overflow: hidden;
}

/* ---------- 2. ЗАГОЛОВОК И ПОДЗАГОЛОВОК (Шрифт увеличен) ---------- */
#rec2491541801 .t-section__title {
  font-family: var(--t-headline-font, sans-serif);
  font-size: clamp(2.6rem, 4.5vw, 3.8rem) !important; /* Увеличено */
  font-weight: 800;
  color: var(--co-wood) !important;
  line-height: 1.15;
  margin-bottom: 15px !important;
  text-align: center;
}

#rec2491541801 .t-section__descr {
  font-family: var(--t-text-font, sans-serif);
  font-size: clamp(1.2rem, 1.8vw, 1.35rem) !important; /* Увеличено */
  color: var(--co-wood) !important;
  opacity: 0.8;
  text-align: center;
  max-width: 580px;
  margin: 0 auto 50px auto !important;
}

/* ---------- 3. СЕТКА ТОВАРОВ ---------- */
#rec2491541801 .t-catalog__card-list {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: var(--co-gap) !important;
  --t-catalog-col-gap: 25px !important;
  --t-catalog-row-gap: 25px !important;
}

#rec2491541801 .t-catalog__card-list::before,
#rec2491541801 .t-catalog__card-list::after {
  display: none !important;
}

/* ---------- 4. КАРТОЧКА ТОВАРА (GLASSMORPHISM) ---------- */
#rec2491541801 .t-catalog__card {
  background: var(--co-card-bg) !important;
  backdrop-filter: blur(15px) !important;
  -webkit-backdrop-filter: blur(15px) !important;
  border: 1px solid var(--co-card-border) !important;
  box-shadow: var(--co-card-shadow) !important;
  border-radius: var(--co-radius) !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  position: relative !important;
  overflow: hidden !important;
  transition: box-shadow var(--co-transition) !important;
  float: none !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  
  opacity: 0;
  transform: translateY(40px);
  animation: coCardAppear 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

#rec2491541801 .t-catalog__card:hover {
  box-shadow: var(--co-card-shadow-hover) !important;
}

#rec2491541801 .t-catalog__card:nth-child(1) { animation-delay: 0.15s; }
#rec2491541801 .t-catalog__card:nth-child(2) { animation-delay: 0.3s; }
#rec2491541801 .t-catalog__card:nth-child(3) { animation-delay: 0.45s; }
#rec2491541801 .t-catalog__card:nth-child(4) { animation-delay: 0.6s; }

@keyframes coCardAppear {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- 5. ИЗОБРАЖЕНИЕ ---------- */
#rec2491541801 .t-catalog__card__imgwrapper {
  width: 100% !important;
  aspect-ratio: 3 / 4 !important;
  background: var(--co-milk) !important;
  overflow: hidden !important;
  position: relative !important;
  margin: 0 !important;
  border-radius: 0 !important;
  padding-bottom: 0 !important;
}

#rec2491541801 .t-catalog__card__imgwrapper_3-4 {
  padding-bottom: 0 !important;
}

#rec2491541801 .t-catalog__card__bgimg {
  width: 100% !important;
  height: 100% !important;
  background-size: cover !important;
  background-position: center !important;
  transition: transform 0.5s ease !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
}

#rec2491541801 .t-catalog__card:hover .t-catalog__card__bgimg {
  transform: scale(1.04) !important;
}

/* ---------- 6. БЕЙДЖ "СКИДКА" (Шрифт увеличен) ---------- */
#rec2491541801 .t-catalog__card::before {
  content: "Скидка";
  position: absolute;
  top: 15px;
  left: 15px;
  z-index: 2;
  background: var(--co-herb);
  color: #ffffff;
  padding: 6px 16px;
  border-radius: var(--co-radius-sm);
  font-size: 0.95rem; /* Увеличено */
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 10px rgba(92, 74, 61, 0.15);
  pointer-events: none;
}

/* ---------- 7. КОНТЕНТ КАРТОЧКИ ---------- */
#rec2491541801 .t-catalog__card__wrap_txt-and-btns {
  padding: 24px 20px 20px !important;
  display: flex !important;
  flex-direction: column !important;
  flex-grow: 1 !important;
  box-sizing: border-box !important;
}

#rec2491541801 .t-catalog__card__wrap_txt-and-opts {
  display: flex !important;
  flex-direction: column !important;
  flex-grow: 1 !important;
}

/* ---------- 8. НАЗВАНИЕ ТОВАРА (Шрифт увеличен) ---------- */
#rec2491541801 .t-catalog__card__title {
  font-family: var(--t-headline-font, sans-serif);
  font-size: 1.25rem !important; /* Увеличено */
  font-weight: 700;
  color: var(--co-wood) !important;
  line-height: 1.3;
  min-height: 2.6em;
  margin: 0 0 12px 0 !important;
}

/* ---------- 9. АРТИКУЛ (Шрифт увеличен) ---------- */
#rec2491541801 .t-catalog__card__sku {
  font-size: 0.9rem !important; /* Увеличено */
  color: var(--co-clay) !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px !important;
  order: -1;
  font-weight: 600;
}

/* ---------- 10. ЦЕНЫ (Шрифт увеличен) ---------- */
#rec2491541801 .t-catalog__card__price-wrapper {
  display: flex !important;
  align-items: baseline !important;
  gap: 10px !important;
  margin-top: auto !important;
  margin-bottom: 20px !important;
  flex-wrap: wrap !important;
}

#rec2491541801 .t-catalog__card__price {
  font-weight: 800 !important;
  color: var(--co-wood) !important;
}

#rec2491541801 .t-catalog__card__price_old {
  color: var(--co-old-price) !important;
  text-decoration: line-through !important;
}

#rec2491541801 .t-catalog__card__price-currency {
  font-size: inherit !important;
  color: inherit !important;
}

/* ---------- 11. КНОПКИ (Увеличен шрифт) ---------- */
#rec2491541801 .t-catalog__card__btns-wrapper {
  margin-top: 0 !important;
}

#rec2491541801 .t-catalog__prod__quantity {
  border-radius: var(--co-radius-sm) !important;
  border: 1px solid var(--co-card-border) !important;
  background: var(--co-milk) !important;
}

#rec2491541801 .t-catalog__prod__quantity__minus-wrapper,
#rec2491541801 .t-catalog__prod__quantity__plus-wrapper {
  transition: background-color 0.2s ease !important;
}

#rec2491541801 .t-catalog__prod__quantity__minus-wrapper:hover,
#rec2491541801 .t-catalog__prod__quantity__plus-wrapper:hover {
  background-color: var(--co-cream) !important;
}

#rec2491541801 .t-catalog__prod__quantity-input {
  color: var(--co-wood) !important;
  font-weight: 700 !important;
  font-size: 1.15rem !important; /* Увеличено */
}

/* Кнопка "В корзину" */
#rec2491541801 .t-catalog__card__btn.t-btnflex_type_button {
  background-color: var(--co-herb) !important;
  color: #ffffff !important;
  border-radius: var(--co-radius-sm) !important;
  font-family: var(--t-headline-font, sans-serif) !important;
  font-weight: 700 !important;
  font-size: 1.05rem !important; /* Увеличено */
  padding: 12px 20px !important;
  transition: background-color 0.25s ease, transform 0.2s ease !important;
  border: none !important;
  box-shadow: none !important;
  text-align: center !important;
}

#rec2491541801 .t-catalog__card__btn.t-btnflex_type_button:hover {
  background-color: var(--co-wood) !important;
  transform: translateY(-1px) !important;
}

/* Кнопка "Подробнее" */
#rec2491541801 .t-catalog__card__btn.t-btnflex_type_button2 {
  background-color: #ffffff !important;
  color: var(--co-wood) !important;
  border: 1.5px solid var(--co-wood) !important;
  border-radius: var(--co-radius-sm) !important;
  font-family: var(--t-headline-font, sans-serif) !important;
  font-weight: 700 !important;
  font-size: 1.05rem !important; /* Увеличено */
  padding: 12px 20px !important;
  transition: background-color 0.25s ease, color 0.25s ease !important;
  text-align: center !important;
}

#rec2491541801 .t-catalog__card__btn.t-btnflex_type_button2:hover {
  background-color: var(--co-wood) !important;
  color: #ffffff !important;
}

/* ---------- 12. ПОПАП (Шрифт увеличен) ---------- */
#rec2491541801 .t-popup__container {
  background-color: var(--co-milk) !important;
  border-radius: var(--co-radius) !important;
  overflow: hidden !important;
}

#rec2491541801 .t-catalog__prod-popup__name {
  font-family: var(--t-headline-font, sans-serif);
  font-size: 1.65rem !important; /* Увеличено */
  font-weight: 700;
  color: var(--co-wood);
}

#rec2491541801 .t-catalog__prod-popup__price {
  font-size: 1.65rem !important; /* Увеличено */
  font-weight: 800 !important;
  color: var(--co-wood) !important;
}

#rec2491541801 .t-catalog__prod-popup__price_old {
  font-size: 1.2rem !important; /* Увеличено */
  color: var(--co-old-price) !important;
  text-decoration: line-through !important;
}

#rec2491541801 .t-catalog__prod-popup__btn {
  background-color: var(--co-herb) !important;
  color: #ffffff !important;
  border-radius: var(--co-radius-sm) !important;
  font-weight: 700 !important;
  font-size: 1.1rem !important; /* Увеличено */
  transition: all 0.25s ease !important;
}

#rec2491541801 .t-catalog__prod-popup__btn:hover {
  background-color: var(--co-wood) !important;
}

/* ---------- 13. АДАПТИВ ---------- */
@media (max-width: 1024px) {
  #rec2491541801 .t-catalog__card-list {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
  }
}

@media (max-width: 580px) {
  #rec2491541801 {
    padding-top: 50px !important;
    padding-bottom: 50px !important;
  }
  
  #rec2491541801 .t-catalog__card-list {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  
  #rec2491541801 .t-section__title {
    font-size: clamp(1.9rem, 5.2vw, 2.5rem) !important;
  }
  
  #rec2491541801 .t-catalog__card__title {
    min-height: auto;
  }
}

/* ---------- 14. СКРЫВАЕМ ЛИШНИЕ ЭЛЕМЕНТЫ TILDA ---------- */
#rec2491541801 .t-catalog__grid-separator,
#rec2491541801 .t-catalog__card-preloader,
#rec2491541801 .t-catalog__filter-wrapper,
#rec2491541801 .js-catalog-parts-select-container {
  display: none !important;
}

/* ============================================================
   COSMETIC NEKRAS — T1291 CATALOG (#rec2491293531)
   ============================================================ */

/* ---------- 1. CSS-ПЕРЕМЕННЫЕ ---------- */
#rec2491293531 {
  --co-cream: #f5f1e8;
  --co-milk: #faf7f2;
  --co-herb: #6b8e5c;
  --co-wood: #5c4a3d;
}

/* ---------- 2. КАРТОЧКА ТОВАРА ---------- */
#rec2491293531 .t-catalog__card {
  border-radius: 32px !important;
  overflow: hidden !important;
  background: rgba(250, 247, 242, 0.95) !important;
  box-shadow: 0 15px 35px rgba(92, 74, 61, 0.08) !important;
  transition: box-shadow 0.35s ease !important;
  border: 1px solid rgba(92, 74, 61, 0.12) !important;
}

#rec2491293531 .t-catalog__card:hover {
  box-shadow: 0 20px 45px rgba(92, 74, 61, 0.16) !important;
}

/* ---------- 3. ИЗОБРАЖЕНИЕ ---------- */
#rec2491293531 .t-catalog__card__imgwrapper {
  border-radius: 0 !important;
}

#rec2491293531 .t-catalog__card__img {
  transition: transform 0.5s ease !important;
}

#rec2491293531 .t-catalog__card:hover .t-catalog__card__img {
  transform: scale(1.04) !important;
}

/* ---------- 4. ЦЕНЫ (Шрифт увеличен) ---------- */
#rec2491293531 .t-catalog__card__price {
  color: var(--co-wood) !important;
  font-weight: 800 !important;
}

#rec2491293531 .t-catalog__card__price_old {
  color: #a0958d !important;
}

/* ---------- 5. КНОПКИ ---------- */

/* "В корзину" */
#rec2491293531 .t-btnflex.t-btnflex_type_button {
  color: #ffffff !important;
  background-color: var(--co-herb) !important;
  border-style: none !important;
  border-radius: 50px !important;
  font-weight: 700 !important;
  font-size: 1.05rem !important; /* Увеличено */
  transition: background-color 0.25s ease !important;
}

#rec2491293531 .t-btnflex.t-btnflex_type_button:hover {
  background-color: var(--co-wood) !important;
}

/* "Подробнее" */
#rec2491293531 .t-btnflex.t-btnflex_type_button2 {
  color: var(--co-wood) !important;
  background-color: #ffffff !important;
  border: 1.5px solid var(--co-wood) !important;
  border-radius: 50px !important;
  font-weight: 700 !important;
  font-size: 1.05rem !important; /* Увеличено */
  transition: background-color 0.25s ease, color 0.25s ease !important;
}

#rec2491293531 .t-btnflex.t-btnflex_type_button2:hover {
  background-color: var(--co-wood) !important;
  color: #ffffff !important;
}

/* ---------- 6. САЙДБАР ---------- */
#rec2491293531 .t-catalog__sidebar {
  border-radius: 28px !important;
  background: var(--co-milk) !important;
  box-shadow: 0 15px 35px rgba(92, 74, 61, 0.08) !important;
  border: 1px solid rgba(92, 74, 61, 0.1) !important;
}

/* ---------- 7. ПОИСК ---------- */
#rec2491293531 .t-catalog__search-wrapper {
  border-radius: 50px !important;
  border-color: rgba(92, 74, 61, 0.15) !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

#rec2491293531 .t-catalog__search-wrapper:focus-within {
  border-color: var(--co-herb) !important;
  box-shadow: 0 0 0 3px rgba(107, 142, 92, 0.2) !important;
}

/* ---------- 8. СОРТИРОВКА ---------- */
#rec2491293531 .t-catalog__sort-select-wrapper {
  border-radius: 50px !important;
  border-color: rgba(92, 74, 61, 0.15) !important;
}

/* ---------- 9. ЧЕКБОКСЫ ---------- */
#rec2491293531 .t-checkbox:checked + .t-checkbox__indicator {
  background-color: var(--co-herb) !important;
  border-color: var(--co-herb) !important;
}

/* ---------- 10. ПАГИНАЦИЯ ---------- */
#rec2491293531 .t-catalog__pagination__item {
  border-radius: 12px !important;
  transition: all 0.2s ease !important;
  color: var(--co-wood) !important;
  font-size: 1.05rem !important; /* Увеличено */
}

#rec2491293531 .t-catalog__pagination__item:hover {
  border-color: var(--co-herb) !important;
  color: var(--co-herb) !important;
}

#rec2491293531 .t-catalog__pagination__item_active {
  background-color: var(--co-herb) !important;
  color: #ffffff !important;
  border-color: var(--co-herb) !important;
}

/* ---------- 11. КНОПКА "ЗАГРУЗИТЬ ЕЩЁ" ---------- */
#rec2491293531 .t-catalog__load-more-btn {
  background-color: var(--co-herb) !important;
  color: #ffffff !important;
  border-radius: 50px !important;
  font-weight: 700 !important;
  font-size: 1.1rem !important; /* Увеличено */
  transition: background-color 0.25s ease !important;
}

#rec2491293531 .t-catalog__load-more-btn:hover {
  background-color: var(--co-wood) !important;
}

/* ---------- 12. ПОПАП ---------- */
#rec2491293531 .t-popup__container {
  border-radius: 36px !important;
  background-color: var(--co-milk) !important;
}

#rec2491293531 .t-catalog__prod-popup__price {
  color: var(--co-wood) !important;
  font-weight: 800 !important;
  font-size: 1.65rem !important; /* Увеличено */
}

#rec2491293531 .t-catalog__prod-popup__btn {
  background-color: var(--co-herb) !important;
  color: #ffffff !important;
  border-radius: 50px !important;
  font-weight: 700 !important;
  font-size: 1.1rem !important; /* Увеличено */
}

#rec2491293531 .t-catalog__prod-popup__btn:hover {
  background-color: var(--co-wood) !important;
}

html {
  scroll-behavior: smooth;
}