/* PublicProc design: registry */
/* Реєстр і приватизація: списки (object.html), таблиці кабінету, картки об'єктів.
   Блоки з рядками — дослівно зі styles.css верстки, номери в коментарях. */

/* ==========================================================================
   Hero: на сторінці об'єктів слайдер прихований (object.html:600)
   ========================================================================== */
.pp-public.pp-registry .hero__slider,
.pp-public.pp-route-lease-requests-index .hero__slider,
.pp-public.pp-route-contracts-index .hero__slider,
.pp-public.pp-route-actions-index .hero__slider {
  display: none !important;
}

/* ==========================================================================
   Перемикач «Аукціони | Перелік об'єктів» (1581-1614)
   ========================================================================== */
.pp-reg-switcher.switcher-panel {
  width: 100%;
  height: 45px;
  margin-bottom: 48px;
  background-color: #ffffff;
  border-radius: 20px;
  display: flex;
  box-shadow: 0px 3px 9.7px 0.3px rgba(0, 0, 0, 0.3);
}

.pp-reg-switcher.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;
}

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

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

.pp-cabinet .pp-reg-switcher.switcher-panel {
  margin-top: 8px;
  margin-bottom: 24px;
}

/* ==========================================================================
   Рядок пошуку (1681-1723)
   ========================================================================== */
.pp-reg-page .filter__search {
  position: relative;
}

.pp-reg-page .filter__search input {
  width: 100%;
  border-radius: 22px;
  background-color: rgba(255, 255, 255, 0.702);
  box-shadow: 0px 3px 9.7px 0.3px rgba(0, 0, 0, 0.3);
  height: 48px;
  border: none;
  padding: 20px 80px 20px 25px;
  font-size: 15px;
  font-weight: 500;
  color: rgb(95, 95, 95);
}

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

.pp-reg-page .filter__search input:focus {
  outline: none;
}

.pp-reg-page .filter__search button {
  position: absolute;
  right: 1px;
  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);
}

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

.pp-reg-page .filter__search button img {
  max-height: 100%;
}

/* Ліва межа заголовних елементів збігається з бічним фільтром (колонка сітки верстки) */
@media (min-width: 992px) {
  .pp-reg-page > .pp-reg-switcher.switcher-panel,
  .pp-reg-page .filter__form > .pp-reg-switcher.switcher-panel,
  .pp-reg-page .filter__search,
  .pp-reg-page .filter__form > h1.font-grotesque {
    width: calc(100% + 15px);
    margin-left: -15px;
  }
}

.pp-reg-page .filter__form > h1.font-grotesque {
  margin-bottom: 52px !important;
}

.pp-reg-page--table .object__block {
  margin-top: 16px;
}

/* ==========================================================================
   Бічний фільтр (3000-3055, 2021, 2663-2688, 2819)
   ========================================================================== */
.object__sidebar {
  border-radius: 6px;
  background-color: rgb(255, 255, 255);
  box-shadow: 0px 7px 16.74px 1.26px rgba(0, 0, 0, 0.15);
  height: fit-content;
  padding-bottom: 12px;
}

.object__sidebar .nav-tabs {
  display: block;
  padding: 0;
  border: none;
  background: transparent;
}

.object__sidebar .nav-tabs .nav-item {
  width: 100%;
  margin: 0;
  max-width: none;
}

.object__sidebar .nav-tabs .nav-link {
  display: block;
  width: 100%;
  min-height: 0;
  margin: 0;
  padding: 8px 4px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  color: rgb(29, 29, 27);
  cursor: pointer;
  border: 2px solid transparent;
  border-radius: 0;
  background: transparent;
  text-align: start;
  text-transform: none;
}

.object__sidebar .nav-item + .nav-item {
  margin-top: 10px;
}

.object__sidebar .nav-tabs .nav-item + .nav-item .nav-link:not(.pp-reg-kinds__sub) {
  margin-left: 0;
}

.object__sidebar .nav-tabs .nav-link.active {
  color: rgb(141, 52, 136);
  border: 2px solid rgb(141, 52, 136);
  background-color: #d8d8d8;
  border-radius: 0 !important;
}

.object__sidebar .nav-tabs .nav-link.active:hover {
  background-color: #d8d8d8;
}

.object__sidebar .nav-tabs .nav-link:hover {
  color: rgb(141, 52, 136);
  border: 2px solid rgb(141, 52, 136);
  background-color: transparent;
  border-radius: 0 !important;
}

.object__sidebar .nav-tabs .nav-item .nav-link.pp-reg-kinds__sub {
  width: calc(100% - 12px);
  margin-left: 12px;
  font-size: 14px;
}

.pp-reg-kinds summary {
  padding: 4px 2px;
  font-size: 15px;
  font-weight: 700;
  color: rgb(29, 29, 27);
  cursor: pointer;
}

.pp-reg-kinds + .pp-reg-kinds {
  margin-top: 10px;
}

.pp-reg-kinds > .nav {
  margin-top: 8px;
}

.object__sidebar .collapse-block {
  display: flex;
  border: 1px solid rgb(255, 255, 255);
  background-color: rgb(218, 218, 218);
  box-shadow: 0px 1px 4.95px 0.05px rgba(0, 0, 0, 0.3);
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  color: rgb(141, 52, 136);
  min-height: 38px;
  font-size: 15px;
  padding-left: 12px;
}

.object__sidebar .collapse-block__title {
  padding: 4px 2px 4px 0;
  line-height: 1.2;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.object__block .collapse-btn {
  flex: 0 0 49px;
  width: 49px;
  padding: 0;
  border-top-right-radius: 20px;
  border: none;
  background-color: rgb(140, 51, 135);
}

.object__block .collapse-btn img {
  width: 20px;
  transform: rotate(0deg);
  transition: transform 0.15s;
}

/* Значок дивиться вниз; відкритий блок: стрілка вгору (2682) */
.object__block .collapse-btn.active img {
  transform: rotate(180deg);
}

.pp-reg-block-body {
  padding: 20px 6px 6px;
}

.pp-reg-block-body--checks .pp-reg-check + .pp-reg-check {
  margin-top: 16px;
}

.pp-reg-block-body--checks label {
  font-size: 16px;
  line-height: 1.5;
  color: rgb(29, 29, 27);
}

.filter__form .object__sidebar input[type="text"] {
  border-radius: 20px;
  background-color: rgb(255, 255, 255);
  box-shadow: 0px 3px 9.7px 0.3px rgba(0, 0, 0, 0.3);
  width: 100%;
  height: 45px;
  border: none;
  outline: none;
  padding: 12px 25px;
  font-size: 15px;
  font-weight: 500;
  color: rgb(95, 95, 95);
}

.filter__form .object__sidebar input[type="text"]::placeholder {
  color: var(--pp-text-placeholder);
  font-family: var(--pp-font-light);
  font-weight: 400;
}

.object__sidebar input[type=checkbox] {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  min-width: 24px;
  border-radius: 4px;
  box-shadow: 0px 3px 9.7px 0.3px rgba(0, 0, 0, 0.3);
}

.pp-reg-sidebar-actions {
  gap: 8px;
  margin-top: 24px;
  padding: 0 4px 8px;
}

.pp-reg-sidebar-actions .btn {
  flex: 1 1 50%;
  min-height: 45px;
  padding: 6px 8px;
  white-space: nowrap;
}

.object__sidebar-search {
  width: 23px;
  height: 22px;
}

/* ==========================================================================
   Картки (3056-3150, 3286-3340)
   ========================================================================== */
.object__tab-wrapper {
  position: relative;
}

.object__cards {
  position: relative;
}

.cards-count {
  position: absolute;
  width: 100%;
  top: -35px;
  left: 0;
  font-size: 16px;
  font-weight: 500;
  color: rgb(29, 29, 27);
}

.pp-reg-select {
  height: 25px;
  padding: 0 4px 0 8px;
  border: 1px solid #000;
  border-radius: 8px;
  background-color: transparent;
  font-size: 14px;
  color: rgb(29, 29, 27);
  max-width: 190px;
}

.mini-card {
  border-radius: 6px;
  background-color: rgb(255, 255, 255);
  box-shadow: 0px 2px 4.95px 0.05px rgba(0, 0, 0, 0.3);
}

/* 16.11: «непропорційно великий шрифт» — картки реєстру й ІП за шкалою картки лота (лист 14.11): назва 18, ціна 26, текст 14 */
.mini-card__text {
  margin-bottom: 0;
  font-family: "e-UkraineLight", sans-serif;
  font-size: 14px;
  color: rgb(29, 29, 27);
  overflow-wrap: anywhere;
}

.mini-card .word-accent {
  font-family: "e-UkraineLight", sans-serif;
  font-size: 14px;
  font-weight: 600;
}

.mini-card__id {
  display: block;
  font-weight: 700;
  color: #007bff;
  overflow-wrap: anywhere;
}

.mini-card__id a {
  color: #007bff;
}

.mini-card__title {
  margin-bottom: 0;
  font-family: "e-UkraineLight", sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.2;
  color: rgb(29, 29, 27);
  overflow-wrap: anywhere;
}

.mini-card__title a {
  color: inherit;
}

/* object-fit: реальні фото різних пропорцій (design-system.md §2.9) */
.mini-card__img {
  display: block;
  width: 100%;
  aspect-ratio: 243 / 185;
  object-fit: cover;
}

.mini-card__underprice {
  font-size: 16px;
  font-weight: 500;
  text-transform: uppercase;
  color: rgb(29, 29, 27);
  text-align: center;
}

.pp-card-addresses > summary {
  display: inline-block;
  color: rgb(141, 52, 136);
  font-weight: 600;
  cursor: pointer;
}

.mini-card__price-block {
  border-top: 1px solid #838996;
  width: 100%;
  height: 100%;
  padding-top: 4px;
}

.mini-card__auc-datetext {
  font-size: 14px;
  font-weight: 500;
  color: rgb(29, 29, 27);
}

.mini-card__price {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.2;
  color: rgb(141, 52, 136);
  text-align: center;
}

.mini-card__price-note {
  font-size: 14px;
  color: rgb(112, 111, 111);
}

.mini-card__auc-date {
  display: block;
  background-color: rgb(255, 255, 255);
  font-size: 17px;
  color: rgb(29, 29, 27);
  font-weight: 400;
  white-space: nowrap;
}

.mini-card__status {
  display: none;
  background-color: #D8D8D8;
  padding: 8px;
}

.mini-card__status.active {
  display: flex;
}

.mini-card__status-img {
  width: 35px;
  height: 35px;
}

.mini-card__status-text {
  width: 70%;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  color: rgb(29, 29, 27);
}

.mini-card__undertitle {
  font-size: 14px;
  font-weight: 500;
  color: rgb(112, 111, 111);
}

.mini-card__btns {
  gap: 8px;
  margin-top: 12px;
}

.mini-card__btns:empty {
  display: none;
}

.mini-card__btns .btn {
  margin: 0;
  flex: 0 1 auto;
}

/* ==========================================================================
   Адаптив бічного фільтра (5360-5435, 5957-6020)
   ========================================================================== */
.object-show-sidebar-btn {
  display: none;
}

.blur-layer {
  display: none;
}

@media (max-width: 1200px) {
  .mini-card__price {
    font-size: 22px;
  }
}

@media (max-width: 991.98px) {
  .object__sidebar {
    position: absolute;
    z-index: 100;
    transform: translateX(-100%);
    transition: all .3s;
    border-radius: 0px;
  }

  .object__sidebar.active {
    transform: translateX(0);
    transition: all .3s;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    overflow-y: scroll;
  }

  .object__sidebar.make-it-fixed {
    position: fixed;
    top: 0;
    left: 0;
  }

  .object__content.blured,
  .header__wrapper.blured,
  .footer.blured {
    filter: blur(4px);
  }

  .object__sidebar.active ~ .blur-layer {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    background-color: transparent;
    z-index: 98;
  }

  .object-show-sidebar-btn {
    display: block;
    position: absolute;
    width: 60px;
    height: 60px;
    padding: 0;
    background-color: #69287d;
    color: #ffffff;
    right: -44px;
    top: 50px;
    z-index: 100;
    font-size: 32px;
    line-height: 1;
    border: 2px solid #ffffff;
    border-radius: 50%;
    transition: all .3s;
  }

  .object__sidebar.active .object-show-sidebar-btn {
    position: absolute;
    right: 5px;
    transform: rotate(180deg);
  }

  .object__sidebar .nav-tabs .nav-link {
    width: 90%;
  }

  body.stop-scroll {
    overflow: hidden;
  }

  .pp-reg-page .filter__form > h1.font-grotesque {
    margin-bottom: 16px !important;
  }

  .cards-count {
    position: static;
    flex-wrap: wrap;
    gap: 6px 8px;
    margin-bottom: 12px;
  }

  .cards-to-show {
    margin-left: auto;
  }
}

@media (max-width: 768px) {
  .pp-reg-page .filter__search input::placeholder {
    font-size: 0;
  }
}

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

  .pp-reg-switcher.switcher-panel {
    margin-bottom: 8px;
  }

  .object__sidebar .nav-tabs .nav-link {
    width: 85%;
  }

  .mini-card__auc-date {
    width: 100%;
  }

  .mini-card__underprice,
  .mini-card__price {
    text-align: left;
  }

  .pp-reg-select {
    max-width: 130px;
  }
}

/* Ціль дотику */
@media (max-width: 768px) {
  .pp-reg-select {
    height: 32px;
  }
}

/* ==========================================================================
   Кабінет: список у білому блоці (.content-wrapper 2965, .cabinet-simple-title 3958, cabinet.html:22070)
   ========================================================================== */
.pp-cabinet .registry-object-index,
.pp-cabinet .registry-asset-index,
.pp-cabinet .registry-announcement-index,
.pp-cabinet .registry-redemption-index,
.pp-cabinet .contract-index {
  --pp-field-bg: var(--pp-gray-200);
  margin-bottom: 24px;
  padding: 20px;
  border-radius: 10px;
  background-color: rgb(255, 255, 255);
  box-shadow: 0px 2px 4.95px 0.05px rgba(0, 0, 0, 0.3);
}

.pp-cabinet .registry-object-index > h1.font-grotesque,
.pp-cabinet .registry-asset-index > h1.font-grotesque,
.pp-cabinet .registry-announcement-index > h1.font-grotesque,
.pp-cabinet .registry-redemption-index > h1.font-grotesque,
.pp-cabinet .contract-index > h1.font-grotesque {
  margin: 0 0 16px !important;
  padding: 0;
  border: 0;
  font-size: 21px;
  color: rgb(29, 29, 27) !important;
}

.pp-cabinet .registry-object-index .grid-view,
.pp-cabinet .registry-asset-index .grid-view,
.pp-cabinet .registry-announcement-index .grid-view,
.pp-cabinet .registry-redemption-index .grid-view,
.pp-cabinet .contract-index .grid-view {
  margin-bottom: 0;
  padding: 0;
  border-radius: 0;
  background-color: transparent;
  box-shadow: none;
}

.pp-cabinet .registry-object-index > hr.bg-secondary,
.pp-cabinet .registry-asset-index > hr.bg-secondary {
  display: none;
}

/* Кнопки-пігулки першої колонки (.cabinet-btn 3452, .btn-transparent 368): «Подати заяву» в макеті теж прозора */
.registry-object-index .table tbody td:first-child .btn.btn-success,
.contract-index .table tbody td:first-child .btn.btn-success {
  border: 1px solid #878787;
  background-color: transparent;
  background-image: none;
  color: rgb(29, 29, 27);
}

.registry-object-index .table tbody td:first-child .btn.btn-success:hover,
.contract-index .table tbody td:first-child .btn.btn-success:hover {
  background-image: linear-gradient(90deg, #8843b4, #663386);
  color: rgb(255, 255, 255);
}

/* Кнопка «Оновити дані» в першій колонці: іконка без підпису, не квадрат */
.registry-object-index .table tbody td:first-child > a.refresh-btn {
  display: inline-block;
  margin: 6px 0 0 8px;
}

/* ==========================================================================
   Картка об'єкта (lot-page.html: білий блок, колапс-блоки, ключ/значення)
   ========================================================================== */
.real-estate-view,
.vehicle-view,
.other-property-view,
.joint-property-complex-view,
.registry-asset-view,
.announcement-view,
.redemption-view,
.contract-view {
  --pp-field-bg: var(--pp-gray-200);
  margin-bottom: 40px;
  padding: 24px 30px 30px;
  border-radius: 6px;
  background-color: rgb(255, 255, 255);
  box-shadow: 0px 2px 4.95px 0.05px rgba(0, 0, 0, 0.3);
}

.pp-reg-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.pp-reg-actions .btn {
  margin: 0;
}

.pp-reg-actions > a:not(.btn) .fa,
.pp-reg-actions > a.btn:not([class*="btn-"]) .fa,
.pp-reg-actions > a.btn.btn-lg .fa {
  color: var(--pp-purple-th);
  font-size: 20px;
}

.pp-reg-actions > a.btn.btn-lg {
  min-height: 0;
  padding: 0 8px;
}

/* Заголовки розділів: .info-title 3152 */
.real-estate-view h2:not(.font-grotesque),
.real-estate-view h3,
.vehicle-view h2:not(.font-grotesque),
.vehicle-view h3,
.other-property-view h2:not(.font-grotesque),
.other-property-view h3,
.joint-property-complex-view h2:not(.font-grotesque),
.joint-property-complex-view h3,
.registry-asset-view h2:not(.font-grotesque),
.registry-asset-view h3,
.announcement-view h2:not(.font-grotesque),
.announcement-view h3,
.redemption-view h2:not(.font-grotesque),
.redemption-view h3,
.contract-view h2:not(.font-grotesque),
.contract-view h3 {
  margin-bottom: 12px;
  padding-bottom: 4px;
  border-bottom: 2px solid rgb(178, 178, 178);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.2;
  color: rgb(87, 87, 86);
}

@media (max-width: 767.98px) {
  .registry-asset-view h2:not(.font-grotesque),
  .announcement-view h2:not(.font-grotesque),
  .redemption-view h2:not(.font-grotesque) {
    margin-top: 20px;
  }
}

.registry-asset-view .col-12 > h2.font-grotesque {
  margin-bottom: 12px;
  padding-bottom: 4px;
  border-bottom: 2px solid rgb(178, 178, 178);
  font-size: 18px;
  color: rgb(87, 87, 86) !important;
}

.real-estate-view hr,
.vehicle-view hr,
.other-property-view hr,
.joint-property-complex-view hr,
.registry-asset-view hr,
.announcement-view hr,
.redemption-view hr,
.contract-view hr {
  border-top: 1px solid rgb(178, 178, 178);
  background-color: transparent !important;
}

/* DetailView: рядки ключ/значення як .mini-card__text + .word-accent */
.real-estate-view p.row.my-3,
.vehicle-view p.row.my-3,
.other-property-view p.row.my-3,
.joint-property-complex-view p.row.my-3,
.registry-asset-view p.row.my-3,
.announcement-view p.row.my-3,
.redemption-view p.row.my-3,
.contract-view p.row.my-3 {
  padding: 10px 0;
  font-family: "e-UkraineLight", sans-serif;
  font-size: 16px;
  line-height: 1.35;
  color: rgb(29, 29, 27);
}

.real-estate-view p.row.my-3 > .opacity-7,
.vehicle-view p.row.my-3 > .opacity-7,
.other-property-view p.row.my-3 > .opacity-7,
.joint-property-complex-view p.row.my-3 > .opacity-7,
.registry-asset-view p.row.my-3 > .opacity-7,
.announcement-view p.row.my-3 > .opacity-7,
.redemption-view p.row.my-3 > .opacity-7,
.contract-view p.row.my-3 > .opacity-7 {
  font-family: "e-UkraineLight", sans-serif;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.25;
  color: rgb(29, 29, 27);
  overflow-wrap: break-word;
}

.real-estate-view p.row.my-3 > span:last-child,
.vehicle-view p.row.my-3 > span:last-child,
.other-property-view p.row.my-3 > span:last-child,
.joint-property-complex-view p.row.my-3 > span:last-child,
.registry-asset-view p.row.my-3 > span:last-child,
.announcement-view p.row.my-3 > span:last-child,
.redemption-view p.row.my-3 > span:last-child,
.contract-view p.row.my-3 > span:last-child {
  overflow-wrap: anywhere;
}

@media (min-width: 576px) {
  .real-estate-view p.row.my-3 > .opacity-7,
  .vehicle-view p.row.my-3 > .opacity-7,
  .other-property-view p.row.my-3 > .opacity-7,
  .joint-property-complex-view p.row.my-3 > .opacity-7,
  .registry-asset-view p.row.my-3 > .opacity-7,
  .announcement-view p.row.my-3 > .opacity-7,
  .redemption-view p.row.my-3 > .opacity-7,
  .contract-view p.row.my-3 > .opacity-7 {
    flex: 0 0 42%;
    max-width: 42%;
  }

  .real-estate-view p.row.my-3 > span:last-child,
  .vehicle-view p.row.my-3 > span:last-child,
  .other-property-view p.row.my-3 > span:last-child,
  .joint-property-complex-view p.row.my-3 > span:last-child,
  .registry-asset-view p.row.my-3 > span:last-child,
  .announcement-view p.row.my-3 > span:last-child,
  .redemption-view p.row.my-3 > span:last-child,
  .contract-view p.row.my-3 > span:last-child {
    flex: 0 0 58%;
    max-width: 58%;
  }
}

/* Вузька бічна колонка деталей: підпис над значенням, інакше слово підпису не вміщається в 42% */
@media (min-width: 768px) {
  .announcement-view .col-md-4 p.row.my-3 > .opacity-7,
  .redemption-view .col-md-4 p.row.my-3 > .opacity-7,
  .announcement-view .col-md-4 p.row.my-3 > span:last-child,
  .redemption-view .col-md-4 p.row.my-3 > span:last-child {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* Колапс-блоки: у в'юхах на смузі лишились mx-3 і синій колір від старого дизайну */
.real-estate-view a.btn-collapse,
.vehicle-view a.btn-collapse,
.other-property-view a.btn-collapse,
.joint-property-complex-view a.btn-collapse,
.registry-asset-view a.btn-collapse,
.announcement-view a.btn-collapse,
.redemption-view a.btn-collapse,
.contract-view a.btn-collapse {
  margin-left: 0 !important;
  margin-right: 0 !important;
  color: var(--pp-purple-th) !important;
  overflow-wrap: anywhere;
}

.real-estate-view a.btn-collapse + .collapse,
.vehicle-view a.btn-collapse + .collapse,
.other-property-view a.btn-collapse + .collapse,
.joint-property-complex-view a.btn-collapse + .collapse,
.registry-asset-view a.btn-collapse + .collapse,
.announcement-view a.btn-collapse + .collapse,
.redemption-view a.btn-collapse + .collapse,
.contract-view a.btn-collapse + .collapse {
  box-shadow: none;
}

/* Банківські рахунки: колонка col-lg-9 всередині половинної колонки занадто вузька для ключ/значення */
.announcement-view .p-3.pb-5.d-flex,
.redemption-view .p-3.pb-5.d-flex {
  padding: 0 !important;
}

.announcement-view .p-3.pb-5.d-flex > .col-lg-9,
.redemption-view .p-3.pb-5.d-flex > .col-lg-9 {
  flex: 0 0 100%;
  max-width: 100%;
  padding: 0 15px;
}

/* Галерея об'єкта приватизації: стрічка мініатюр .lot__slider 2123, object-fit як у .mini-card__img */
.registry-asset-view .lot-images {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
  margin: 0 0 16px;
}

.registry-asset-view .lot-images > .col {
  position: relative;
  margin: 0 !important;
  padding: 0 !important;
  height: 185px;
  max-width: none;
  overflow: hidden;
  border-radius: 8px;
}

.registry-asset-view .lot-images img.lot-image {
  display: block;
  width: 100% !important;
  max-width: none;
  height: 100% !important;
  border-radius: 8px;
  object-fit: cover;
}

.registry-asset-view .lot-images .main-layer {
  top: 0;
  left: 0;
  width: 100% !important;
  max-width: none;
  height: 100% !important;
  margin: 0 !important;
}

@media (max-width: 576px) {
  .real-estate-view,
  .vehicle-view,
  .other-property-view,
  .joint-property-complex-view,
  .registry-asset-view,
  .announcement-view,
  .redemption-view,
  .contract-view {
    padding: 16px;
  }

  .pp-cabinet .registry-object-index,
  .pp-cabinet .registry-asset-index,
  .pp-cabinet .registry-announcement-index,
  .pp-cabinet .registry-redemption-index,
  .pp-cabinet .contract-index {
    padding: 12px;
  }

  /* Вкладки заходять одна на одну, текст другої не має ховатись під першою */
  .redemption-view .nav-tabs .nav-item + .nav-item .nav-link {
    padding-left: 28px;
    font-size: 13px;
  }

  /* Довга назва об'єкта не займає весь перший екран */
  .pp-public.pp-route-assets-view .hero__title--long {
    font-size: 20px;
  }
}

/* ==========================================================================
   Кабінет на телефоні: зміст на першому екрані, а не стовпець кнопок
   ========================================================================== */
.pp-cabinet .registry-asset-search form.filters-text {
  white-space: normal !important;
}

@media (max-width: 768px) {
  .pp-cabinet .registry-object-index > section.filters:not(:has(.dropdown-menu)),
  .pp-cabinet .registry-asset-index > section.filters:not(:has(.dropdown-menu)) {
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    gap: 6px;
    overflow-x: auto;
    padding-bottom: 6px;
  }

  /* Головна дія замовника: перша в смузі, а не за межею екрана. */
  .pp-cabinet .registry-asset-index > section.filters a[href$="/assets/create"] {
    order: -1;
  }

  .pp-cabinet .registry-object-index > section.filters .btn,
  .pp-cabinet .registry-asset-index > section.filters .btn {
    flex: 0 0 auto;
    margin: 0 !important;
    min-height: 36px;
    padding: 4px 14px !important;
    font-size: 13px;
  }

  .pp-cabinet .registry-asset-search form.filters-text > div {
    flex: 1 1 100% !important;
    width: 100%;
    max-width: 100%;
    padding-right: 0 !important;
  }
}

@media (max-width: 576px) {
  .registry-object-index .table tbody td:first-child,
  .registry-asset-index .table tbody td:first-child,
  .registry-announcement-index .table tbody td:first-child,
  .registry-redemption-index .table tbody td:first-child,
  .contract-index .table tbody td:first-child {
    min-width: 150px;
    width: 150px;
    padding-left: 6px;
    padding-right: 6px;
  }

  .registry-object-index .table tbody td:first-child .btn,
  .registry-asset-index .table tbody td:first-child .btn,
  .registry-announcement-index .table tbody td:first-child .btn,
  .registry-redemption-index .table tbody td:first-child .btn,
  .contract-index .table tbody td:first-child .btn {
    min-width: 0;
    padding: 8px 6px;
    font-size: 13px;
    line-height: 1.2;
  }
}

/* «Додати дію»: ButtonDropdown ставить .btn на обгортку, а .btn верстки має overflow:hidden і обрізав би випадайку */
.pp-cabinet .registry-object-index > .btn.dropdown {
  overflow: visible;
  min-height: 0;
  margin-bottom: 16px;
  padding: 0;
  border-radius: 22px;
}

.pp-cabinet .registry-object-index > .btn.dropdown > .btn {
  min-height: 45px;
  padding: 0 20px;
  border: 0;
  background: transparent;
  color: rgb(255, 255, 255);
  box-shadow: none;
}

.pp-cabinet .registry-object-index > .btn.dropdown > .btn .fa {
  color: inherit;
}

/* Заголовок «Аукціони» ланцюжка ІП */
.announcement-view > .row > .col-12 > h3 {
  margin-top: 24px;
}
