/* ===== Pink Prokat — каталог товаров ===== */
.t-store {
  --pk-text: #20131b;
  --pk-muted: #6f5f68;
  --pk-pink: #fe0092;
  --pk-pink-dark: #d9007f;
  --pk-line: rgba(32, 19, 27, .08);
  --pk-ease: cubic-bezier(.22, 1, .36, 1);
}

/* Карточка */
.t-store .t-store__card.t-align_center { text-align: left; }
.t-store .t-store__card { margin-bottom: 0; }
.t-store .t-store__card-list > .t-store__grid-separator { margin-bottom: 44px !important; }
.t-store .t-store__card > a { display: block; border-radius: 22px; }
.t-store .t-store__card > a:focus-visible { outline: 3px solid rgba(254, 0, 146, .45); outline-offset: 3px; }

.t-store .t-store__card__imgwrapper {
  padding-bottom: 133.33% !important;
  border-radius: 22px;
  overflow: hidden;
  background: #f7f2f5;
  transform: translateZ(0);
  box-shadow: 0 0 0 rgba(112, 20, 76, 0);
  transition: box-shadow .8s var(--pk-ease), transform .8s var(--pk-ease);
}
.t-store .t-store__card__imgwrapper::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(32, 19, 27, .07);
  pointer-events: none;
}
.t-store .t-store__card__bgimg {
  background-position: center center;
  transition: transform 1.2s var(--pk-ease), opacity .7s ease !important;
}
.t-store .t-store__card:hover .t-store__card__imgwrapper {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -30px rgba(112, 20, 76, .38);
}
.t-store .t-store__card:hover .t-store__card__bgimg { transform: scale(1.04); }

.t-store .t-store__card__textwrapper { padding-top: 16px; }
.t-store .t-store__card__title {
  font-family: var(--t-headline-font), Arial, sans-serif;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -.01em;
  color: var(--pk-text);
  text-align: left;
  transition: color .4s ease;
}
.t-store .t-store__card:hover .t-store__card__title { color: var(--pk-pink-dark); }

.t-store .t-store__card__price-wrapper { margin-top: 10px; text-align: left; }
.t-store .t-store__card__price {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  padding: 5px 12px;
  border-radius: 999px;
  background: #fff0f7;
}
.t-store .t-store__card__price-value {
  font-family: var(--t-headline-font), Arial, sans-serif;
  font-size: 16px;
  font-weight: 800;
  color: var(--pk-pink-dark);
}
.t-store .t-store__card__price-currency { font-size: 13px; color: var(--pk-muted); }

/* Метки «Эксклюзив», «Ручная работа» */
.t-store .t-store__card__mark-wrapper { top: 12px !important; right: auto !important; left: 12px !important; z-index: 3; }
.t-store .t-store__card__mark {
  width: auto !important;
  height: auto !important;
  min-width: 0 !important;
  padding: 6px 12px !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, .94) !important;
  color: #d9007f !important;
  box-shadow: 0 8px 20px -10px rgba(112, 20, 76, .35);
  font-family: var(--t-headline-font), Arial, sans-serif;
  font-size: 12px !important;
  font-weight: 700;
  line-height: 1.2 !important;
  white-space: nowrap;
}

/* Появление карточек */
@keyframes pk-card-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.t-store .t-store__card-list > .t-store__card { animation: pk-card-in .8s var(--pk-ease) backwards; }
.t-store .t-store__card-list > .t-store__card:nth-child(3n+2) { animation-delay: .06s; }
.t-store .t-store__card-list > .t-store__card:nth-child(3n) { animation-delay: .12s; }

/* Поиск */
.t-store .t-store__filter__input {
  height: 46px;
  width: 280px;
  max-width: 100%;
  padding: 0 44px 0 18px;
  border: 1px solid var(--pk-line);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 10px 26px -18px rgba(112, 20, 76, .3);
  font-family: var(--t-text-font), Arial, sans-serif;
  font-size: 15px;
  color: var(--pk-text);
  transition: border-color .4s ease, box-shadow .5s var(--pk-ease);
}
.t-store .t-store__filter__input:focus { outline: none; border-color: rgba(254, 0, 146, .4); box-shadow: 0 0 0 4px rgba(254, 0, 146, .12); }
.t-store .t-store__search-icon { right: 18px !important; left: auto !important; }
.t-store .t-store__search-wrapper::after,
.t-store .t-store__search-wrapper::before { display: none !important; }

/* Кнопка «Загрузить ещё» */
.t-store .t-store__load-more-btn {
  border-radius: 999px !important;
  background: linear-gradient(135deg, #fe0092 0%, #ff4fb5 100%) !important;
  color: #fff !important;
  border: 0 !important;
  box-shadow: 0 16px 36px -14px rgba(254, 0, 146, .55);
  transition: transform .6s var(--pk-ease), box-shadow .6s var(--pk-ease);
}
.t-store .t-store__load-more-btn:hover { transform: translateY(-3px); }

/* Телефон: два товара в ряд */
@media (max-width: 640px) {
  .t-store .t-store__card-list { display: flex; flex-wrap: wrap; margin: 0 -5px; row-gap: 0 !important; column-gap: 0 !important; }
  .t-store .t-store__card-list > .t-store__grid-separator { display: none; }
  .t-store .t-store__mobile-two-columns .t-store__card-list { margin: 0; }
  .t-store .t-store__card-list > .t-store__card {
    width: 50% !important;
    max-width: none;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 0 5px !important;
    margin-bottom: 26px !important;
  }
  .t-store .t-store__card__imgwrapper { border-radius: 16px; }
  .t-store .t-store__card > a { border-radius: 16px; }
  .t-store .t-store__card__textwrapper { padding-top: 10px; }
  .t-store .t-store__card__title { font-size: 14px; line-height: 1.3; }
  .t-store .t-store__card__price-wrapper { margin-top: 6px; }
  .t-store .t-store__card__price { padding: 4px 9px; }
  .t-store .t-store__card__price-value { font-size: 14px; }
  .t-store .t-store__card__price-currency { font-size: 11px; }
  .t-store .t-store__card__mark-wrapper { top: 8px !important; left: 8px !important; }
  .t-store .t-store__card__mark { padding: 4px 9px !important; font-size: 11px !important; }
  .t-store .t-store__card:hover .t-store__card__imgwrapper { transform: none; box-shadow: none; }
  .t-store .t-store__card-list > .t-store__card:nth-child(n) { animation-delay: 0s; }
  .t-store .t-store__card-list > .t-store__card:nth-child(2n) { animation-delay: .06s; }
}

/* ===== Шапка категорий (вместо чёрной плашки) ===== */
.t-rec[data-record-type="758"][data-bg-color="#121212"],
.t-rec[data-record-type="128"][data-bg-color="#121212"] { background: #fff4f9 !important; }
.t-rec[data-record-type="128"][data-bg-color="#121212"] { background: linear-gradient(180deg, #fff4f9 0%, #fff4f9 70%, #ffffff 100%) !important; }
.t-rec[data-record-type="758"][data-bg-color="#121212"] .t-menu__link-item { color: #20131b !important; font-weight: 400 !important; }
.t-rec[data-record-type="758"][data-bg-color="#121212"] .t-menu__link-item:hover { color: #d9007f !important; }
.t-rec[data-record-type="758"][data-bg-color="#121212"] .t758__link-item_active { color: #6f5f68 !important; }
.t-rec[data-record-type="758"][data-bg-color="#121212"] .t758__breadcrumb-divider { color: #c9b8c1 !important; }
.t-rec[data-record-type="128"][data-bg-color="#121212"] .t120__title,
.t-rec[data-record-type="128"][data-bg-color="#121212"] .t120__title * {
  color: #20131b !important;
  font-family: var(--t-headline-font), Arial, sans-serif;
  font-weight: 800 !important;
  letter-spacing: -.035em;
  line-height: 1.05 !important;
}
.t-rec[data-record-type="128"][data-bg-color="#121212"] .t120__title > div { font-size: clamp(32px, 4.2vw, 54px) !important; }
.t-rec[data-record-type="128"][data-bg-color="#121212"] .t120__descr,
.t-rec[data-record-type="128"][data-bg-color="#121212"] .t120__descr * { color: #4f4249 !important; font-weight: 400 !important; }
.t-rec[data-record-type="128"][data-bg-color="#121212"] .t120__descr > div { font-size: 17px !important; line-height: 1.65; max-width: 80ch; }
@media (max-width: 640px) {
  .t-rec[data-record-type="128"][data-bg-color="#121212"] .t120__descr > div { font-size: 15px !important; }
}

@media (prefers-reduced-motion: reduce) {
  .t-store .t-store__card,
  .t-store .t-store__card * { animation: none !important; transition-duration: .01ms !important; }
}
