/* PublicProc design: catalog.
   Каталог лотів, фільтр, картка, секції головної. Компонентні блоки дослівно зі styles.css верстки (номери рядків у коментарях), свої — з префіксом pp-.
   Світлий вигляд карток: у верстці лише .lot-mini-card.lot-mini-card-light (882 і далі), тут ще html.pp-cards-light — його ставить скрипт у head, щоб картки не блимали. */

/* ==========================================================================
   1. Заголовок розділу, перемикач, типи аукціону
   ========================================================================== */
/* Від кінця hero до першого елемента 48 px (index.html, object.html): лише власний відступ елемента, без загального відступу контенту */
.pp-public.pp-catalog .pp-content {
  padding-top: 0;
}

.pp-public.pp-catalog .pp-content > .alert {
  margin-top: 20px;
}

@media (min-width: 992px) {
  .pp-public.pp-registry .pp-content {
    padding-top: 48px;
  }
}

.pp-catalog-title {
  margin-top: 3rem;
}

/* Назви напрямків довші за демо «мала приватизація»: 66 px їх ламали б на три рядки */
.pp-catalog-title--long {
  font-size: 40px;
  letter-spacing: 3px;
  padding-bottom: 20px;
}

/* Auctions and objects checker (1581-1614) */
.switcher-panel {
  width: 100%;
  height: 45px;
  background-color: #ffffff;
  border-radius: 20px;
  display: flex;
  box-shadow: 0px 3px 9.7px 0.3px rgba(0, 0, 0, 0.3);
}

.switcher-panel a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50%;
  border-radius: 20px;
  font-family: "e-UkraineRegularName", sans-serif;
  font-size: 20px;
  color: rgb(29, 29, 27);
  line-height: 1.2;
  font-weight: 400;
}

.switcher-panel a:hover {
  text-decoration: none;
}

.switcher-panel a.active {
  background-color: var(--pp-plum);
  border: 1px solid rgb(255, 255, 255);
  background-image: none;
  color: rgb(255, 255, 255);
}

/* Типи аукціону (1545-1560): у верстці button, тут посилання */
.filter__auction-type {
  gap: 8px 0;
}

.filter__auction-type .btn,
.filter__auction-type .btn:focus {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  border-radius: 0 !important;
  border: 1px solid transparent !important;
  background: transparent !important;
  color: #803b82;
  box-shadow: none;
  text-align: center;
}

.filter__auction-type .btn:hover,
.filter__auction-type .btn.active {
  background: #ffffff !important;
  border: 1px solid #803b82 !important;
  color: #803b82 !important;
}

/* ==========================================================================
   2. Фільтр (index.html:683-862)
   ========================================================================== */
/* .select-primary .select__header, 543: тінь менша, ніж у текстового поля */
.filter-wrapper .filter__form .select2-selection {
  box-shadow: 0px 1px 4.95px 0.05px rgba(0, 0, 0, 0.3);
}

.filter-wrapper .filter__form .form-control {
  margin-top: 0 !important;
}

.filter-wrapper .filter__form label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  color: rgb(29, 29, 27);
  white-space: normal;
}

/* Поля в сітці: 3 колонки, як col-lg-4 верстки, далі 2, на телефоні 1. app\widgets\ActiveField кожне поле обгортає у flex-1 min-width pr-2 */
.pp-filter-grid,
.pp-filter-extra {
  display: flex;
  flex-wrap: wrap;
  margin-left: -5px;
  margin-right: -5px;
}

.pp-filter-extra {
  margin: 0;
}

/* Проміжок між рядами сітки, коли полів більше, ніж влазить у ряд (2 колонки до 992 px, 1 на телефоні, «Автор» у кабінеті) */
.pp-filter-grid {
  row-gap: 0.75rem;
}

.pp-filter-grid > [class*="field-"] {
  flex: 1 1 calc(33.333% - 1px) !important;
  min-width: 0 !important;
  margin-bottom: 0 !important;
  padding: 0 5px !important;
}

.pp-filter-extra > [class*="field-"],
.pp-filter-extra > .direction-filters {
  flex: 1 1 calc(50% - 1px) !important;
  min-width: 0 !important;
  margin-bottom: 1rem !important;
  padding: 0 5px !important;
}

.pp-filter-extra > .direction-filters {
  flex-basis: 100% !important;
}

.filter-wrapper .filter__form > [class*="field-"] {
  min-width: 0 !important;
  margin-top: 1rem;
  padding: 0 !important;
}

.filter-wrapper .filter__form .select2-container {
  width: 100% !important;
  margin-top: 0;
}

/* Select2 множинний у вигляді SELECT PRIMARY верстки: стрілка і підпис по центру (538-568) */
.filter-wrapper .filter__form .select2-selection--multiple {
  padding: 8px 44px 8px 18px !important;
  background-image: url("/design/images/icon/dropdown-arrow-down.svg") !important;
  background-repeat: no-repeat !important;
  background-position: right 8px top 7px !important;
  background-size: 30px 30px !important;
}

.filter-wrapper .filter__form .select2-selection--multiple .select2-search--inline .select2-search__field {
  height: 29px;
  padding: 3px 0 0; /* Select2 рендерить тут textarea, текст не центрується сам */
  line-height: 22px;
  font-family: "Montserrat-Regular", sans-serif;
  font-size: 16px;
  font-weight: 600;
}

/* Підказки фільтра світлі й тонкі, щоб не виглядали введеним значенням (у верстці були темні й жирні) */
.filter-wrapper .filter__form .select2-selection--multiple .select2-search__field::placeholder {
  color: var(--pp-text-placeholder) !important;
  font-weight: 400;
  opacity: 1;
}

.filter-wrapper .filter__form .select2-selection--multiple .select2-selection__choice {
  margin: 2px 4px 2px 0;
}

.filter-wrapper .filter__form .select2-selection--multiple .select2-selection__clear {
  display: none;
}

.filter-border {
  border: 1px solid rgb(135, 135, 135);
}

.filter__search {
  position: relative;
}

.filter__search input,
.pp .pp-reg-page .filter__search input {
  height: 45px;
  border-radius: 20px;
  background-color: rgb(255, 255, 255);
}

.filter__search input {
  width: 100%;
  box-shadow: 0px 3px 9.7px 0.3px rgba(0, 0, 0, 0.3);
  border: none;
  padding: 12px 80px 12px 25px;
  font-size: 15px;
  font-weight: 500;
  color: rgb(95, 95, 95);
}

.filter__search input::placeholder {
  font-size: 15px;
  font-family: var(--pp-font-light);
  font-weight: 400;
  color: var(--pp-text-placeholder);
}

.filter__search input:focus {
  outline: none;
}

.filter__search button {
  position: absolute;
  right: 2px;
  top: 2px;
  width: 66px;
  height: 42px !important;
  min-height: 42px !important;
  padding: 0;
  border: none;
  border-radius: 0;
  border-top-right-radius: 22px;
  border-bottom-right-radius: 22px;
  background-color: rgb(102, 51, 134);
}

.filter__search button img {
  display: block;
  margin: 0 auto;
}

.filter__search button:focus {
  box-shadow: none;
}

.pp-filter-search-field {
  margin: 0;
}

.pp-filter-search-field .invalid-feedback:empty,
.pp-filter-search-field .help-block:empty {
  display: none;
}

/* Кнопка-кошик: у верстці це квадратний .btn-danger Bootstrap (379) */
.btn.clean-fields-btn {
  flex: 0 0 auto;
  width: 51px;
  min-width: 48px;
  height: 45px;
  padding: 0;
  border-radius: 0.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pp-filter-region [class*="field-"],
.pp-filter-region .form-group {
  min-width: 0 !important;
  margin-bottom: 0 !important;
  padding: 0 !important;
}

.pp-filter-tools {
  justify-content: flex-end;
}

.pp-filter-tools .btn-transparent {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

#dodatkovi-parametry-poshuku label {
  font-size: 14px;
}

/* ==========================================================================
   3. Блоки кабінету (cabinet.html:1833-1898)
   ========================================================================== */
.pp-cabinet-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.pp-cabinet-links .btn {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  margin: 0 !important;
  padding: 6px 16px !important;
  border: 1px solid #878787 !important;
  border-radius: 22px !important;
  background: transparent;
  color: rgb(29, 29, 27) !important;
  box-shadow: none;
  font-size: 14px;
}

.pp-cabinet-links .btn img {
  width: 20px;
  height: 20px;
}

.pp-cabinet-links .btn .ml-3 {
  margin-left: 0 !important;
  font-size: 14px;
}

.pp-cabinet-links .btn:hover,
.pp-cabinet-links .btn.active {
  background: linear-gradient(0deg, rgb(136, 67, 180) 0%, rgb(102, 51, 134) 100%) !important;
  border-color: rgb(227, 227, 227) !important;
  color: #fff !important;
}

.pp-cabinet-links .btn:hover .text-white,
.pp-cabinet-links .btn:hover span {
  color: #fff !important;
}

.create-procedure-block {
  margin-top: 16px;
}

/* 662-694 */
.create-procedure-select {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 47px;
  padding: 0 0 0 18px;
  border-radius: 20px;
  background-color: #ffffff;
  box-shadow: 0px 1px 4.95px 0.05px rgba(0, 0, 0, 0.3);
}

.create-procedure-select__title {
  font-family: "Montserrat-Regular", sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: rgb(29, 29, 27);
}

.create-procedure-select .dropdown,
.create-procedure-select .btn-group {
  flex: 0 0 32%;
  width: 32%;
}

.create-procedure-select .dropdown > .btn {
  position: relative;
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 47px;
  margin: 0 !important;
  border: 1px solid #fff !important;
  border-radius: 22px !important;
  background: var(--pp-g-pink) !important;
  color: #fff !important;
  box-shadow: none;
}

.create-procedure-select .dropdown > .btn .fa {
  color: #fff;
}

.create-procedure-select .dropdown > .btn::after {
  display: none;
}

.create-procedure-select .dropdown-menu {
  max-height: 60vh;
  max-width: calc(100vw - 30px);
  overflow-y: auto;
  border: 0;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0px 1px 4.95px 0.05px rgba(0, 0, 0, 0.3);
}

.filter-rozsylka {
  display: none;
  margin-top: 24px;
}

.filter-rozsylka.active {
  display: flex;
}

.rozsylka-title {
  font-family: "e-UkraineLight", sans-serif;
  font-size: 20px;
  font-weight: 400;
  color: #803B82;
  padding-bottom: 10px;
  border-bottom: 2px solid #803B82;
}

/* Модалка підписки (cabinet.html:26283-26307, styles.css:4997) */
#subscription-modal .pp-subscription-text {
  font-family: "e-UkraineLight", sans-serif;
  font-size: 16px;
  color: rgb(29, 29, 27);
}

/* Заголовок модалки громад: base.css фарбує .modal-title у колір тексту, а смуга віджета темна (hromadymap.css) */
.hromady-map-dialog .modal-title {
  color: #fff;
}

/* ==========================================================================
   4. Рядок над картками: сортування і перемикач вигляду
   ========================================================================== */
.pp-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 16px;
}

.pp-sort {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: rgb(29, 29, 27);
}

.pp-sort a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 4px 14px;
  border: 1px solid #878787;
  border-radius: 22px;
  color: rgb(29, 29, 27);
  line-height: 1.2;
}

.pp-sort a:hover {
  background-image: none;
  background-color: var(--pp-plum);
  border-color: rgb(227, 227, 227);
  color: #fff;
  text-decoration: none;
}

.pp-sort a.asc,
.pp-sort a.desc {
  background-image: none;
  background-color: var(--pp-plum);
  border-color: #fff;
  color: #fff;
}

/* Стрілка — спільна SVG з base.css; тут лише напрямок: asc ↑, desc ↓ */
.pp-sort a.asc::after {
  margin-left: 8px;
  transform: rotate(180deg);
}

.pp-sort a.desc::after {
  margin-left: 8px;
  transform: none;
}

.pp-toolbar__right {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-left: auto;
}

.pp-toolbar__export {
  color: #6c90e0;
  text-decoration: underline;
}

/* 3458-3486 */
.dark-light-mode__background {
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  background-color: #367BB4;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0px 2px 4.95px 0.05px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}

.dark-light-mode__background:focus-visible {
  outline: 2px solid #663386;
  outline-offset: 2px;
}

.dark-light-mode__img {
  display: block;
  background-image: url(/design/images/cabinet/icons/sun-icon.png);
  width: 30px;
  height: 30px;
  background-position: 0 0;
  background-repeat: no-repeat;
  background-size: cover;
}

html.pp-cards-light .dark-light-mode__background {
  background-color: #7169AA;
}

html.pp-cards-light .dark-light-mode__img {
  background-image: url(/design/images/cabinet/icons/moon-icon.png);
}

/* ==========================================================================
   5. Картка лота (870-985, 2086-2115, 2222-2383)
   ========================================================================== */
.lot-mini-card {
  position: relative;
  height: auto;
  opacity: 1;
  z-index: 1;
  transition: all .3s;
  background: var(--pp-navy);
  box-shadow: 0 8px 28px rgba(30, 25, 55, 0.25);
  border-radius: 14px;
  /* Шрифти картки — за листом замовника 14.11 (макети M1 і M2): скрізь Montserrat 400/500/600/700, розміри в правилах нижче */
  font-family: var(--pp-font-card);
}

.lot-mini-card ul {
  margin: 0;
  list-style: none;
}

.lot-mini-card p {
  margin-bottom: 0;
}

.lot-mini-card img {
  max-width: 100%;
  display: block;
}

:is(.lot-mini-card.lot-mini-card-light, html.pp-cards-light .lot-mini-card) {
  background: #ffffff;
  box-shadow: 0 8px 28px rgba(60, 40, 80, 0.16);
}

.lot-mini-card__img {
  position: relative;
  border: 0;
  border-radius: 10px;
  overflow: hidden;
  height: 100%;
  min-height: 255px;
  background: #fff;
}

/* Демофото верстки однакових пропорцій, справжні ні: без object-fit вони б розтягнулись, а висота картки залежала б від фото */
.lot-mini-card__img img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lot-mini-card__info {
  border-right: 1px solid #4c4d7a;
  padding-right: 5px;
  padding-bottom: 8px;
  height: 100%;
}

:is(.lot-mini-card.lot-mini-card-light, html.pp-cards-light .lot-mini-card) .lot-mini-card__info {
  border-right: 1px solid #eee7f0;
}

/* «Санкційне майно» (організатор) і опис: 13 px, 400 */
.lot-mini-card__info p {
  font-family: var(--pp-font-card);
  font-size: 13px;
  font-weight: 400;
  color: #d3d0ea;
  overflow-wrap: anywhere;
}

/* Назва лота: 18 px, 600 */
.lot-mini-card__info .lot-mini-card__info-title {
  font-family: var(--pp-font-card);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  color: #ffffff;
}

/* Підпис «Ідентифікатор аукціону»: 12 px, 400; сам ID — у .lot-mini-card__id-text */
.lot-mini-card__info .lot-mini-card__info-auctionid {
  font-size: 12px;
}

:is(.lot-mini-card.lot-mini-card-light, html.pp-cards-light .lot-mini-card) .lot-mini-card__info p {
  color: #655b6e;
}

:is(.lot-mini-card.lot-mini-card-light, html.pp-cards-light .lot-mini-card) .lot-mini-card__info .lot-mini-card__info-title {
  color: #2a2233;
}

/* 945: у верстці прив'язка до порядку абзаців, тут абзац буває не в кожному лоті */
/* Число в описі — розміром опису, насиченість як у значень дат і номера лота */
.lot-mini-card__info .pp-lot-min-bids span {
  color: var(--pp-m2-accent);
  font-weight: 500;
}

:is(.lot-mini-card.lot-mini-card-light, html.pp-cards-light .lot-mini-card) .lot-mini-card__info .pp-lot-min-bids span {
  color: var(--pp-plum);
}

/* ID аукціону: 14 px, 600 */
.lot-mini-card__id-text {
  font-family: var(--pp-font-card);
  color: var(--pp-m2-accent);
  font-size: 14px;
  font-weight: 600;
}

:is(.lot-mini-card.lot-mini-card-light, html.pp-cards-light .lot-mini-card) .lot-mini-card__id-text {
  color: #8a4a8e;
}

.lot-mini-card__id-text:hover {
  color: #ffffff;
  text-decoration: underline;
  cursor: pointer;
}

:is(.lot-mini-card.lot-mini-card-light, html.pp-cards-light .lot-mini-card) .lot-mini-card__id-text:hover {
  color: #8a4a8e;
}

.favourite svg {
  cursor: pointer;
}

.favourite svg polygon {
  stroke: #823983;
}

.lot-mini-card .lot-sidebar {
  max-height: 530px;
  height: 100%;
  position: relative;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

/* «СТАРТОВА ЦІНА ЛОТА»: 11 px, 400, великими, з розрядкою */
.lot-mini-card .lot-sidebar__main-title {
  font-family: var(--pp-font-card);
  font-size: 11px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #d3d0ea;
  margin-top: 16px;
  display: block;
  text-align: center;
  border-bottom: 1px solid #4c4d7a;
  padding-bottom: 10px;
}

:is(.lot-mini-card.lot-mini-card-light, html.pp-cards-light .lot-mini-card) .lot-sidebar__main-title {
  border-bottom: 1px solid #eee7f0;
  color: #655b6e;
}

/* Ціна: 26 px, 700 */
.lot-mini-card .lot-sidebar__main-price {
  font-family: var(--pp-font-card);
  font-size: 26px;
  font-weight: 700;
  color: #fff;
  display: block;
  padding-left: 0;
}

:is(.lot-mini-card.lot-mini-card-light, html.pp-cards-light .lot-mini-card) .lot-sidebar__main-price {
  color: var(--pp-navy);
}

/* Дати: підписи 12 px, 400; значення 12 px, 500 */
.lot-mini-card .lot-sidebar__item-dates {
  position: relative;
  font-family: var(--pp-font-card);
  padding-left: 0;
  color: #e6e3f4;
  font-size: 12px;
  font-weight: 400;
}

.lot-mini-card .lot-sidebar__item-dates p {
  color: #e6e3f4;
}

.lot-mini-card .lot-sidebar__item-dates .lot-mini-card__date {
  font-weight: 500;
}

:is(.lot-mini-card.lot-mini-card-light, html.pp-cards-light .lot-mini-card) .lot-sidebar__item-dates,
:is(.lot-mini-card.lot-mini-card-light, html.pp-cards-light .lot-mini-card) .lot-sidebar__item-dates p {
  color: #2a2233;
}

/* Іконку годинника біля дат прибрано (погоджено 11.11) */

.lot-mini-card .lot-sidebar__item .lot-sidebar__item-dates {
  color: #e6e3f4;
  display: block;
}

.lot-mini-card__location {
  position: relative;
  display: inline-flex;
  align-items: center;
  /* Локація: 13 px, 400 */
  font-family: var(--pp-font-card);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.2;
  color: #ffffff;
}

.lot-mini-card__location::before {
  content: url("/design/images/cabinet/icons/location-white.svg");
  flex: 0 0 auto;
  margin: 0 8px 0 -34px;
  height: 30px;
}

:is(.lot-mini-card.lot-mini-card-light, html.pp-cards-light .lot-mini-card) .lot-mini-card__location::before {
  content: url("/design/images/cabinet/icons/location-purple.svg");
}

/* Іконку карти України прибрано (погоджено 11.11), іконку локації залишено */

:is(.lot-mini-card.lot-mini-card-light, html.pp-cards-light .lot-mini-card) .lot-mini-card__location {
  color: #2a2233;
}

.lot-mini-card__location-block {
  border-top: 1px solid #4c4d7a;
  padding-top: 10px;
  padding-bottom: 10px;
}

:is(.lot-mini-card.lot-mini-card-light, html.pp-cards-light .lot-mini-card) .lot-mini-card__location-block {
  border-top: 1px solid #eee7f0;
}

/* «Номер лота»: 13 px, 400; сам номер: 500 */
.lot-mini-card__location-lot-number {
  font-family: var(--pp-font-card);
  font-size: 13px;
  font-weight: 400;
  color: #d3d0ea;
}

.lot-mini-card__location-lot-number .lot-mini-card__id-text {
  font-size: 13px;
  font-weight: 500;
}

:is(.lot-mini-card.lot-mini-card-light, html.pp-cards-light .lot-mini-card) .lot-mini-card__location-lot-number {
  color: #655b6e;
}

/* «Усі аукціони цього замовника»: 13 px, 500. Посилання на інструкцію в описі — як опис, 400 */
.lot-mini-card__location-link {
  font-family: var(--pp-font-card);
  font-size: 13px;
  font-weight: 500;
  color: var(--pp-m2-accent);
  text-decoration: underline;
}

.lot-mini-card__info .lot-mini-card__location-link {
  font-weight: 400;
}

:is(.lot-mini-card.lot-mini-card-light, html.pp-cards-light .lot-mini-card) .lot-mini-card__location-lot-number .lot-mini-card__id-text,
:is(.lot-mini-card.lot-mini-card-light, html.pp-cards-light .lot-mini-card) .lot-mini-card__location-link {
  color: var(--pp-plum);
}

.lot-mini-card__location-link:hover {
  color: #ffffff;
}

:is(.lot-mini-card.lot-mini-card-light, html.pp-cards-light .lot-mini-card) .lot-mini-card__location-link:hover {
  color: var(--pp-plum-dark);
}

/* Кнопки картки: «+ Створити заявку на участь» (.btn-green) і «Детальніше».
   !important у hover «Детальніше» — бо main.css має .btn-primary:hover { background: … !important } */
.lot-mini-card .lot-sidebar .btn {
  font-family: var(--pp-font-card);
  font-size: 15px;
  font-weight: 600;
}

.lot-mini-card .btn.btn-green,
.lot-mini-card .btn.btn-green:focus {
  border-color: transparent;
  background: #b0558f;
  color: #ffffff;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
}

.lot-mini-card .btn.btn-green:hover,
.lot-mini-card .btn.btn-green:not(:disabled):not(.disabled):active {
  border-color: transparent;
  background: #9c4a80;
  color: #ffffff;
}

.lot-mini-card .btn.btn-show-more-card-info {
  border: 1.5px solid #d3d0ea;
  background: transparent;
  color: #ffffff;
}

.lot-mini-card .btn.btn-show-more-card-info:hover,
.lot-mini-card .btn.btn-show-more-card-info:focus {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.1) !important;
  color: #ffffff;
}

:is(.lot-mini-card.lot-mini-card-light, html.pp-cards-light .lot-mini-card) .btn.btn-green,
:is(.lot-mini-card.lot-mini-card-light, html.pp-cards-light .lot-mini-card) .btn.btn-green:focus {
  background: var(--pp-plum);
  box-shadow: 0 3px 10px rgba(123, 63, 134, 0.3);
}

:is(.lot-mini-card.lot-mini-card-light, html.pp-cards-light .lot-mini-card) .btn.btn-green:hover,
:is(.lot-mini-card.lot-mini-card-light, html.pp-cards-light .lot-mini-card) .btn.btn-green:not(:disabled):not(.disabled):active {
  background: var(--pp-plum-dark);
}

:is(.lot-mini-card.lot-mini-card-light, html.pp-cards-light .lot-mini-card) .btn.btn-show-more-card-info {
  border-color: var(--pp-rose);
  background: #ffffff;
  color: var(--pp-rose);
}

:is(.lot-mini-card.lot-mini-card-light, html.pp-cards-light .lot-mini-card) .btn.btn-show-more-card-info:hover,
:is(.lot-mini-card.lot-mini-card-light, html.pp-cards-light .lot-mini-card) .btn.btn-show-more-card-info:focus {
  border-color: var(--pp-rose);
  background: #f7eef4 !important;
  color: var(--pp-rose);
}

/* Зірка: обробник main.js міняє дві img; спрайт із двох кольорів, бо img не перефарбувати CSS-ом (2094-2110). Гість: та сама зірка відкриває вхід */
.starToggler,
.pp-star-guest {
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.starToggler img,
.pp-star-guest img {
  width: 30px;
  height: 30px;
  object-fit: none;
  object-position: left center;
}

:is(.lot-mini-card.lot-mini-card-light, html.pp-cards-light .lot-mini-card) .starToggler img,
:is(.lot-mini-card.lot-mini-card-light, html.pp-cards-light .lot-mini-card) .pp-star-guest img {
  object-position: right center;
}

/* Зірка гостя: ціль дотику 32 px на вузькому екрані, як у .starToggler (cabinet.css) */
@media (max-width: 991.98px) {
  body.pp .pp-star-guest {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    min-height: 32px;
  }
}

/* Статуси (2409-2641). У верстці плашка абсолютна над кольоровим блоком із запасом під неї: справжні назви статусів бувають утричі довші, тож вона в потоці */
.lot-mini-card .edit-button {
  display: none;
  position: relative;
  font-size: 13px;
  color: rgb(29, 29, 27);
  background-color: rgb(218, 218, 218);
  padding: 15px 20px;
  cursor: pointer;
  text-align: center;
}

.lot-mini-card .edit-button.active {
  display: flex;
  align-items: center;
  width: calc(100% + 7px);
  min-height: 62px;
  margin-left: -7px;
  border-radius: 8px;
}

.lot-mini-card .edit-button.active::after {
  content: "";
  position: absolute;
  bottom: -11px;
  left: 50%;
  width: 0px;
  height: 0px;
  border-style: solid;
  border-width: 12px 10px 0 10px;
  border-color: #e0e52e transparent transparent transparent;
  transform: rotate(0deg) translateX(-50%);
}

.lot-mini-card .edit-button img {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

/* Плашка статусу: 14 px, 600 */
.lot-mini-card .edit-button .lot-sidebar__edit-subtitle {
  display: block;
  padding: 0 30px;
  color: #fff;
  font-family: var(--pp-font-card);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
  width: 100%;
}

.lot-mini-card .edit-button.editable {
  background-image: linear-gradient(135deg, #b3dfa1 0%, #f0e703 74%);
}

/* «Прийняття заяв»: темна картка — приглушена фіолетова плашка, світла — лавандова */
.lot-mini-card .edit-button.accepting-applications {
  background-image: none;
  background-color: #5e4a7e;
}

.lot-mini-card .edit-button.active.accepting-applications::after {
  border-color: #5e4a7e transparent transparent transparent;
}

:is(.lot-mini-card.lot-mini-card-light, html.pp-cards-light .lot-mini-card) .edit-button.accepting-applications {
  background-color: #f1e6f1;
}

:is(.lot-mini-card.lot-mini-card-light, html.pp-cards-light .lot-mini-card) .edit-button.active.accepting-applications::after {
  border-top-color: #f1e6f1;
}

:is(.lot-mini-card.lot-mini-card-light, html.pp-cards-light .lot-mini-card) .edit-button.accepting-applications .lot-sidebar__edit-subtitle {
  color: #5e2f66;
}

/* Іконка статусу — біла PNG; на світлій плашці робимо її темною */
:is(.lot-mini-card.lot-mini-card-light, html.pp-cards-light .lot-mini-card) .edit-button.accepting-applications img {
  filter: brightness(0);
  opacity: 0.7;
}

.lot-mini-card .edit-button.auction {
  background-image: linear-gradient(30deg, rgb(56, 119, 208) 0%, rgb(217, 51, 135) 100%);
}

.lot-mini-card .edit-button.active.auction::after {
  border-color: #7C60AD transparent transparent transparent;
}

.lot-mini-card .edit-button.perevirka-dokumentiv-uchasnykiv,
.lot-mini-card .edit-button.ochikuetsya-opublikuvannya-protokolu,
.lot-mini-card .edit-button.ochikuetsya-pidpysannya-dogovoru,
.lot-mini-card .edit-button.ochikuetsya-splata-do-budzhetu {
  background-image: linear-gradient(30deg, rgb(125, 124, 135) 0%, rgb(97, 105, 116) 100%);
  padding: 10px 20px;
}

.lot-mini-card .edit-button.auction-zaversheno-ochikuetsya-vykonannya-dogovoru {
  background-image: linear-gradient(30deg, rgb(125, 124, 135) 0%, rgb(97, 105, 116) 100%);
  padding: 10px 8px;
}

.lot-mini-card .edit-button.ochikuetsya-informaciya {
  background-image: linear-gradient(30deg, rgb(125, 124, 135) 0%, rgb(97, 105, 116) 100%);
  padding: 8px 20px;
}

.lot-mini-card .edit-button.active.perevirka-dokumentiv-uchasnykiv::after,
.lot-mini-card .edit-button.active.ochikuetsya-opublikuvannya-protokolu::after,
.lot-mini-card .edit-button.active.ochikuetsya-pidpysannya-dogovoru::after,
.lot-mini-card .edit-button.active.ochikuetsya-splata-do-budzhetu::after,
.lot-mini-card .edit-button.active.auction-zaversheno-ochikuetsya-vykonannya-dogovoru::after,
.lot-mini-card .edit-button.active.ochikuetsya-informaciya::after {
  border-color: #73747E transparent transparent transparent;
}

.lot-mini-card .edit-button.active.perevirka-dokumentiv-uchasnykiv .lot-sidebar__edit-subtitle,
.lot-mini-card .edit-button.active.ochikuetsya-opublikuvannya-protokolu .lot-sidebar__edit-subtitle,
.lot-mini-card .edit-button.active.ochikuetsya-pidpysannya-dogovoru .lot-sidebar__edit-subtitle,
.lot-mini-card .edit-button.active.ochikuetsya-splata-do-budzhetu .lot-sidebar__edit-subtitle,
.lot-mini-card .edit-button.active.auction-zaversheno-ochikuetsya-vykonannya-dogovoru .lot-sidebar__edit-subtitle {
  font-size: 15px;
}

.lot-mini-card .edit-button.active.ochikuetsya-informaciya .lot-sidebar__edit-subtitle {
  font-size: 13px;
}

.lot-mini-card .edit-button.auction-ne-vidbuvsya,
.lot-mini-card .edit-button.auction-vidmineno,
.lot-mini-card .edit-button.auction-zaversheno,
.lot-mini-card .edit-button.auction-zupyneno {
  background-image: linear-gradient(30deg, rgb(66, 66, 66) 0%, rgb(1, 1, 1) 100%);
}

.lot-mini-card .edit-button.active.auction-ne-vidbuvsya::after,
.lot-mini-card .edit-button.active.auction-vidmineno::after,
.lot-mini-card .edit-button.active.auction-zaversheno::after,
.lot-mini-card .edit-button.active.auction-zupyneno::after {
  border-color: #272727 transparent transparent transparent;
}

/* Сторінкова навігація під картками */
.single-lot .summary {
  margin-top: 16px;
  font-size: 14px;
  color: rgb(29, 29, 27);
}

/* ==========================================================================
   6. Менеджери, партнери (817-824, 1729-1816)
   ========================================================================== */
/* Головна гостя: контейнер прибирається, щоб секції йшли на всю ширину; вміст списку у власному контейнері */
.pp-public.pp-home .pp-content {
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
}

.pp-public.pp-home .pp-content > .alert {
  max-width: 1110px;
  margin-left: auto;
  margin-right: auto;
}

.pp-public .pp-home-catalog {
  width: 100%;
  margin: 0 auto;
  padding: 0 15px;
}

@media (min-width: 576px) { .pp-public .pp-home-catalog { max-width: 540px; } }
@media (min-width: 768px) { .pp-public .pp-home-catalog { max-width: 720px; } }
@media (min-width: 992px) { .pp-public .pp-home-catalog { max-width: 960px; } }
@media (min-width: 1200px) { .pp-public .pp-home-catalog { max-width: 1140px; } }

.info__wrapper {
  position: relative;
  padding-bottom: 400px;
  background-image: url(/design/images/bgs/home-page/bg-main-middle.webp);
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.info__wrapper ul {
  margin-left: 0;
  margin-right: 0;
  background-color: transparent;
  list-style: none;
}

.our-managers {
  padding-top: 15%;
}

.our-managers li {
  padding: 25px 25px 20px 25px;
  border-radius: 6px;
  background-color: rgba(255, 255, 255, 0.102);
  box-shadow: 4.684px 5.202px 6.86px 0.14px rgba(61, 60, 60, 0.2);
  max-width: 250px;
  margin-top: 20px;
}

.our-managers li img {
  width: 170px;
  height: 180px;
  filter: grayscale(1);
  /* Фото менеджер завантажує сам (квадрат 400×400), рамка верстки 170×180: без спотворення */
  object-fit: cover;
}

.our-managers li span {
  max-width: 100%;
  text-align: center;
  overflow-wrap: anywhere;
}

.our-managers li.manager-filler {
  height: 0;
  margin-top: 0;
  padding-top: 0;
  padding-bottom: 0;
  visibility: hidden;
}

/* Завантажене фото 400×400: у модалці та сама рамка 170×180, що й на картці (на телефоні у верстці розмір не задано) */
.modal-managers .manager__img {
  flex: 0 0 auto;
  width: 170px;
  height: 180px;
  object-fit: cover;
}

.modal-managers .manager span,
.modal-managers .manager a {
  overflow-wrap: anywhere;
}

.our-managers li span {
  font-size: 18px;
  color: rgb(255, 255, 255);
  line-height: 1.2;
}

.our-managers li a {
  font-size: 14px;
  text-decoration: underline;
  color: #fff;
}

.manager__title,
.manager__category,
.manager__tel1,
.manager__tel2,
.manager__email {
  display: none;
}

.modal-managers .manager {
  list-style: none;
}

.modal-managers .manager__name {
  font-size: 19px;
  font-weight: 500;
  color: rgb(117, 50, 110);
}

.modal-managers .manager__tel1,
.modal-managers .manager__tel2 {
  color: rgb(117, 50, 110);
}

.modal-managers .manager__title {
  font-weight: 500;
}

.modal-managers .manager__title,
.modal-managers .manager__category,
.modal-managers .manager__tel1,
.modal-managers .manager__tel2,
.modal-managers .manager__email {
  display: block;
}

.our-partners {
  margin-top: 110px;
}

/* Жоден менеджер не ввімкнув показ картки: партнери стають першим розділом під хвилею фону */
.our-partners--first {
  margin-top: 0;
  padding-top: 15%;
}

.our-partners ul {
  margin-top: 80px;
}

.our-partners li img {
  width: 250px;
}

.our-partners li p {
  font-family: "e-UkraineLight", sans-serif;
  font-size: 16px;
  color: rgb(255, 255, 255);
  line-height: 1.2;
}

/* ==========================================================================
   7. Контакти (1820-1984, 1202-1212)
   ========================================================================== */
.contacts {
  margin-bottom: 200px;
}

.contacts .contacts__nav-info {
  font-size: 13px;
  line-height: 1.2;
  color: rgb(130, 54, 140);
}

.contacts__login .btn {
  padding: 6px 12px;
}

.contacts__info {
  font-family: "e-UkraineLight", sans-serif;
}

.contacts .contacts__info-title {
  font-size: 18px;
  font-weight: 500;
  color: rgb(29, 29, 27);
  line-height: 1.2;
}

.contacts .contacts__info-text {
  font-size: 18px;
  color: rgb(29, 29, 27);
  line-height: 1.2;
}

.contacts .contacts__info-phone {
  font-size: 18px;
  color: rgb(29, 29, 27);
  line-height: 1.2;
}

.contacts .contacts__info-phone:hover {
  color: rgb(130, 54, 140);
}

.contacts__info-email,
.contacts__info-email:hover {
  color: rgb(130, 54, 140);
  text-decoration: underline;
}

.contacts__form {
  position: relative;
  max-width: 425px;
  width: 100%;
  padding: 22px;
  border: 2px solid #fff;
  border-radius: 10px;
  box-shadow: 0px 3px 9.7px 0.3px rgba(0, 0, 0, 0.3);
  background-color: rgb(198, 198, 198);
}

.contacts__form input,
.contacts__form textarea {
  width: 100%;
  background-color: #fff;
  border: none;
  font-size: 12px;
}

.contacts__form input {
  height: 36px;
  border-radius: 22px;
  padding: 12px 60px 12px 30px;
}

.contacts__form textarea {
  display: block;
  border-radius: 10px;
  resize: none;
  height: 84px !important;
  padding: 12px 30px 12px 30px;
}

.contacts__form input::placeholder,
.contacts__form textarea::placeholder {
  font-size: 15px;
  font-weight: 500;
  color: rgb(94, 94, 94);
}

.contacts__form input:focus,
.contacts__form textarea:focus {
  outline: none;
}

.contacts__form .contacts__form-side-icon {
  position: absolute;
  right: 2px;
  top: 2px;
  width: 46px;
  height: 32px;
  border: none;
  border-top-right-radius: 22px;
  border-bottom-right-radius: 22px;
  background-color: rgb(102, 51, 134);
}

.contacts__form-inputblock {
  position: relative;
}

.contacts__form input.warning-border,
.contacts__form textarea.warning-border {
  box-shadow: var(--pp-sh-warning);
}

.contacts__form-btn {
  min-width: 195px;
  padding: 12px 0;
}

.contacts__info-social img {
  width: 40px;
  height: 40px;
  transition: all .3s;
}

.contacts__info-social img:hover {
  transform: scale(1.3);
  transition: all .3s;
}

/* Пастка для ботів: не display:none, такі поля боти пропускають */
.pp-contact-form__trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.pp-contact-form__status:empty {
  display: none;
}

.pp-contact-form__status.pp-contact-form__status--ok {
  color: #1d1d1b;
  font-size: 14px;
}

/* У верстці фон лишається на всіх ширинах лише тут (.home-page .footer__wrapper): контакти на світлому, «усі напрямки» на хвилі */
.pp-public.pp-home .footer__wrapper {
  background-color: transparent;
  background-image: url(/design/images/bgs/home-page/bg-main-bottom.webp);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: 0 300px;
}

/* ==========================================================================
   8. Адаптив (5100-6143)
   ========================================================================== */
@media (max-width: 1200px) {
  .pp-catalog-title--long {
    font-size: 36px;
    padding-bottom: 15px;
  }

  .contacts__form {
    max-width: 358px;
  }
}

/* Типи аукціону до 992 px у рядок із перенесенням: у в'юсі flex-column flex-lg-row */
@media (max-width: 991.98px) {
  .filter__auction-type {
    flex-direction: row !important;
    flex-wrap: wrap;
    gap: 4px;
  }

  .filter__auction-type .btn,
  .filter__auction-type .btn:focus {
    flex: 1 1 auto;
    width: auto;
    padding-right: 10px;
    padding-left: 10px;
  }
}

@media (max-width: 992px) {
  .pp-filter-grid > [class*="field-"] {
    flex-basis: calc(50% - 1px) !important;
  }

  .lot-mini-card__info {
    border-right: none;
    padding-right: 5px;
    height: 100%;
  }

  :is(.lot-mini-card.lot-mini-card-light, html.pp-cards-light .lot-mini-card) .lot-mini-card__info {
    border-right: none;
  }

  .lot-mini-card .edit-button.active {
    width: 100%;
    margin-left: 0;
  }

  .lot-mini-card__id-text,
  .lot-mini-card__location-link {
    color: var(--pp-m2-accent);
  }

  .our-partners li p {
    display: none;
  }

  .info__wrapper {
    padding-top: 170px;
  }
}

@media (max-width: 768px) {
  /* .auction-lot-page .title-secondary, 5656 */
  .pp-catalog-title,
  .pp-catalog-title--long {
    font-size: 30px;
    letter-spacing: 1px;
  }

  .filter__search input::placeholder {
    font-size: 0;
  }

  .our-partners ul {
    margin-top: 20px;
  }

  .lot-mini-card__img {
    min-height: 0;
  }

  .lot-mini-card__img img {
    position: static;
    height: auto;
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 660px) {
  .lot-mini-card__location-block {
    padding-top: 20px;
  }
}

@media (max-width: 576px) {
  /* Перший екран телефона — фільтр, а не стовпець із п'яти кнопок типів */
  .filter__auction-type {
    margin-top: 8px !important;
    padding: 8px 0 !important;
  }

  .filter__auction-type .btn,
  .filter__auction-type .btn:focus {
    flex: 1 1 calc(50% - 4px);
    width: auto;
    min-height: 36px;
    padding: 6px 8px;
    font-size: 13px;
  }

  /* .auction-lot-page .title-secondary, 6029 */
  .pp-catalog-title,
  .pp-catalog-title--long {
    font-size: 20px;
  }

  .pp-filter-grid > [class*="field-"],
  .pp-filter-extra > [class*="field-"] {
    flex-basis: 100% !important;
  }

  .create-procedure-select {
    padding: 0;
  }

  .create-procedure-select .dropdown,
  .create-procedure-select .btn-group {
    flex: 1 1 100%;
    width: 100%;
  }

  .rozsylka-title {
    font-size: 16px;
  }

  .info__wrapper {
    margin-top: 20px;
    padding-top: 0;
    padding-bottom: 0;
    background-image: none;
    background: linear-gradient(90deg, #9737a1, #653182, #2d2e5c);
  }

  .our-managers {
    padding-top: 5%;
  }

  .our-managers li {
    max-width: 100%;
  }

  .our-partners {
    margin-top: 20px;
  }

  .our-partners--first {
    margin-top: 0;
    padding-top: 5%;
  }

  .contacts {
    margin-bottom: 40px;
  }

  .contacts__info-text {
    font-family: "e-UkraineLight", sans-serif;
  }

  .nav-item.contacts__login {
    width: 100%;
  }
}

@media (max-width: 470px) {
  .switcher-panel a {
    font-size: 15px;
  }
}
