.IBLOCK_SECTION{display:none}
/* /add/ page visual layer. Bitrix form names/actions/handlers stay untouched. */
.add-page {
  --add-ink: #241b3a;
  --add-muted: #756d89;
  --add-soft: #f7f3ff;
  --add-border: #d8d2e4;
  --add-border-strong: rgba(36, 27, 58, 0.54);
  --add-purple: #7c3aed;
  --add-purple-dark: #6d28d9;
  --add-card: #ffffff;
  padding: 34px 0 88px;
  color: var(--add-ink);
  font-family: "Manrope", "Helvetica Neue", Arial, sans-serif;
}

.add-page *,
.add-page *::before,
.add-page *::after {
  box-sizing: border-box;
}

.add-page__container {
  width: min(1280px, calc(100vw - 64px));
  margin: 0 auto;
}

.add-page__message {
  margin: 0 0 18px;
}

.add-page__title {
  margin: 0 0 24px;
  color: var(--add-ink);
  font-size: clamp(40px, 4vw, 58px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.055em;
}

.add-page__hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(360px, 470px) minmax(0, 1fr);
  align-items: center;
  min-height: 380px;
  margin: 0 0 32px;
  padding: 34px;
  border-radius: 24px;
  overflow: hidden;
  background: #a98cff url("images/heroherohero.png") center / cover no-repeat;
  box-shadow: 0 26px 70px rgba(36, 27, 58, 0.14);
}

.add-page__hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(36, 27, 58, 0.18), rgba(36, 27, 58, 0.04) 42%, transparent 70%);
  pointer-events: none;
}

.add-page__hero-card {
  position: relative;
  z-index: 1;
  width: min(430px, 100%);
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 20px 54px rgba(36, 27, 58, 0.18);
}

.add-page__hero-title {
  margin: 0 0 10px;
  color: var(--add-ink);
  font-size: 32px;
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.add-page__hero-text {
  margin: 0 0 20px;
  color: var(--add-muted);
  font-size: 16px;
  font-weight: 650;
  line-height: 24px;
}

.add-page__city-label {
  display: block;
  margin: 0 0 8px;
  color: var(--add-ink);
  font-size: 14px;
  font-weight: 850;
  line-height: 20px;
}

.add-page__city-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.add-page__city-search .snimu-title-search,
.add-page__city-search .snimu-search-form,
.add-page__city-search .snimu-search-form__field {
  width: 100%;
  margin: 0;
  padding: 0;
}

.add-page__city-search .home-search__form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  width: 100%;
}

.add-page__city-search .snimu-title-search__hidden {
  display: none;
}

.add-page__city-input,
.add-page__city-button,
.add-page__city-search .home-search__input,
.add-page__city-search .home-search__submit {
  height: 54px;
  border-radius: 14px;
  font: inherit;
}

.add-page__city-input,
.add-page__city-search .home-search__input {
  width: 100%;
  min-width: 0;
  padding: 0 18px;
  border: 1px solid var(--add-border);
  background: #ffffff;
  color: var(--add-ink);
  font-size: 16px;
  font-weight: 650;
  outline: none;
}

.add-page__city-search .home-search__input {
  padding-right: 48px;
}

.add-page__city-input:focus,
.add-page__city-search .home-search__input:focus {
  border-color: var(--add-purple);
  box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.12);
}

.add-page__city-button,
.add-page__city-search .home-search__submit {
  min-width: 138px;
  padding: 0 19px;
  border: 0;
  background: var(--add-purple);
  color: #ffffff;
  font-size: 16px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 14px 32px rgba(124, 58, 237, 0.25);
}

.add-page__city-search .home-search__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.add-page__city-search .home-search__submit-icon {
  display: none;
}

.add-page__city-search .closeico {
  position: absolute;
  top: 50%;
  right: 16px;
  left: auto;
  display: flex;
  width: 22px;
  height: 22px;
  transform: translateY(-50%);
  align-items: center;
  justify-content: center;
}

.add-page__city-search .closeico svg {
  display: block;
  width: 18px;
  height: 18px;
  fill: #322744;
}

.add-page__city-input:hover,
.add-page__city-button:hover,
.add-page__city-search .home-search__submit:hover {
  background: var(--add-purple-dark);
}

.add-page__city-input:hover,
.add-page__city-search .home-search__input:hover {
  background: #ffffff;
}

.add-page__city-search .snimu-title-search__results,
.add-page__city-search .snimu-title-search-results {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 20;
  overflow: hidden;
  border: 1px solid var(--add-border);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(33, 24, 51, 0.14);
}

.add-page__city-note {
  margin-top: 10px;
  color: var(--add-muted);
  font-size: 13px;
  font-weight: 650;
  line-height: 18px;
}

.add-page__hero-decor {
  display: none;
}

.add-page__hero-mini {
  position: absolute;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 2px 12px;
  width: 245px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 20px 50px rgba(36, 27, 58, 0.14);
  backdrop-filter: blur(8px);
}

.add-page__hero-mini--primary {
  top: 12px;
  right: 72px;
}

.add-page__hero-mini--secondary {
  top: 104px;
  right: 245px;
}

.add-page__hero-mini--accent {
  right: 34px;
  bottom: 8px;
}

.add-page__hero-mini-icon {
  display: inline-flex;
  grid-row: span 2;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: #f0eaff;
  color: var(--add-purple);
  font-size: 22px;
  font-weight: 900;
}

.add-page__hero-mini-title {
  color: var(--add-ink);
  font-size: 16px;
  font-weight: 900;
  line-height: 20px;
}

.add-page__hero-mini-text {
  color: var(--add-muted);
  font-size: 13px;
  font-weight: 650;
  line-height: 18px;
}

.add-page__layout {
  display: flex;
  grid-template-columns: minmax(0, 1fr) 350px;
  align-items: start;
  gap: 30px;
}

.add-page__form-card,
.add-page__sections {
  border: 1px solid rgba(36, 27, 58, 0.12);
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #fcfaff 100%);
  box-shadow: 0 20px 58px rgba(36, 27, 58, 0.075);
}

.add-page__form-card {
  padding: 30px;
}

.add-page__form-head {
  margin: 0 0 20px;
}

.add-page__form-title,
.add-page__sections-title {
  margin: 0;
  color: var(--add-ink);
  font-size: 26px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.add-page__form-text,
.add-page__sections-text {
  margin: 8px 0 0;
  color: var(--add-muted);
  font-size: 15px;
  font-weight: 650;
  line-height: 22px;
}

.add-page__selected-section {
  margin: 0 0 24px;
  padding: 16px 18px;
  border: 1px solid rgba(124, 58, 237, 0.22);
  border-radius: 18px;
  background: #f7f3ff;
}

.add-page__selected-label {
  margin: 0 0 4px;
  color: var(--add-muted);
  font-size: 13px;
  font-weight: 800;
  line-height: 18px;
}

.add-page__selected-value {
  color: var(--add-ink);
  font-size: 17px;
  font-weight: 900;
  line-height: 22px;
}

.add-page__selected-hint {
  margin-top: 5px;
  color: var(--add-muted);
  font-size: 13px;
  font-weight: 650;
  line-height: 18px;
}

.add-page-form {
  width: 100%;
  margin: 0;
  padding: 0;
  color: var(--add-ink);
  font: inherit;
}

.add-page-form > .data-table {
  width: 100% !important;
  margin: 0 !important;
  border: 0 !important;
  border-collapse: separate !important;
  border-spacing: 0;
  background: transparent !important;
}

.add-page-form > .data-table thead {
  display: none;
}

.add-page-form > .data-table tbody {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 24px;
}

.add-page-form__row {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 8px;
}

.add-page-form__row--section {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

.add-page-form__row--property-PREVIEW_TEXT,
.add-page-form__row--property-520,
.add-page-form__row--photos {
  grid-column: 1 / -1;
}

.add-page-form > .data-table td {
  display: block;
  width: auto !important;
  min-width: 0;
  padding: 0 !important;
  border: 0 !important;
  color: var(--add-ink);
  font-size: 15px;
  font-weight: 800;
  line-height: 20px;
  vertical-align: top;
}

.add-page-form .starrequired {
  margin-left: 4px;
  color: var(--add-purple);
}

.add-page-form input[type="text"],
.add-page-form input[type="number"],
.add-page-form select,
.add-page-form textarea {
  width: 100% !important;
  min-height: 56px;
  padding: 0 18px;
  border: 1px solid var(--add-border);
  border-radius: 14px;
  background: #ffffff;
  color: var(--add-ink);
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  box-shadow: none;
  outline: none;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease;
}

.add-page-form textarea {
  min-height: 158px;
  padding-top: 15px;
  padding-bottom: 15px;
  resize: vertical;
}

.add-page-form select {
  padding-right: 44px;
  appearance: none;
  -webkit-appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #4f4663 50%),
    linear-gradient(135deg, #4f4663 50%, transparent 50%);
  background-position:
    calc(100% - 24px) 50%,
    calc(100% - 15px) 50%;
  background-size: 9px 9px, 9px 9px;
  background-repeat: no-repeat;
}

.add-page-form select[multiple] {
  min-height: 150px;
  padding: 12px 16px;
  overflow: auto;
  background-image: none;
}

.add-page-form input[type="text"]:focus,
.add-page-form input[type="number"]:focus,
.add-page-form select:focus,
.add-page-form textarea:focus {
  border-color: var(--add-purple);
  box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.12);
}

.add-page-form__row--photos > td:first-child::after {
  content: "Добавьте несколько фото объекта. Поддерживаются JPG, PNG.";
  display: block;
  margin-top: 4px;
  color: var(--add-muted);
  font-size: 13px;
  font-weight: 650;
  line-height: 18px;
}

.add-page-form__row--photos > td:last-child {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.add-page-form input[type="hidden"] {
  display: none;
}

.add-page-form input[type="file"] {
  display: block;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 10px;
  border: 1px solid var(--add-border);
  border-radius: 14px;
  background: #ffffff;
  color: var(--add-muted);
  font-size: 13px;
  font-weight: 650;
  line-height: 20px;
}

.add-page-form input[type="file"]::file-selector-button {
  min-height: 38px;
  margin-right: 10px;
  padding: 0 13px;
  border: 1px solid var(--add-border);
  border-radius: 10px;
  background: #ffffff;
  color: var(--add-ink);
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.add-page-form input[type="file"]::file-selector-button:hover {
  border-color: var(--add-purple);
}

.add-page-form small {
  display: block;
  margin-top: 7px;
  color: var(--add-muted);
  font-size: 13px;
  font-weight: 550;
  line-height: 18px;
}

.add-page-form tfoot {
  display: block;
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid rgba(36, 27, 58, 0.12);
}

.add-page-form tfoot tr,
.add-page-form tfoot td {
  display: flex !important;
  width: 100% !important;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
}

.add-page-form input[type="submit"],
.add-page-form input[type="button"] {
  width: 300px !important;
  max-width: 100%;
  min-height: 58px;
  padding: 0 32px;
  border: 0;
  border-radius: 16px;
  background: var(--add-purple);
  color: #ffffff;
  font-size: 17px;
  font-weight: 900;
  line-height: 24px;
  cursor: pointer;
  box-shadow: 0 16px 36px rgba(124, 58, 237, 0.25);
}

.add-page-form input[type="submit"]:hover,
.add-page-form input[type="button"]:hover {
  background: var(--add-purple-dark);
}

.add-page__sidebar {
  position: sticky;
  top: 24px;
	max-width:400px;
}

.add-page__sections {
  max-height: calc(100vh - 120px);
  padding: 22px;
  overflow: auto;
}

.add-page__sections-title {
  font-size: 24px;
}

.add-page__sections-text {
  margin-bottom: 18px;
}

.add-page__section-groups {
  display: grid;
  gap: 14px;
}

.add-page__section-group {
  padding: 14px;
  border: 1px solid rgba(36, 27, 58, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
}

.add-page__section-group-title {
  margin: 0 0 10px;
  color: var(--add-ink);
  font-size: 16px;
  font-weight: 900;
  line-height: 20px;
}

.add-page__section-list {
  display: grid;
  gap: 6px;
}

.add-page__section-link {
  display: flex;
  width: 100%;
  min-height: 38px;
  align-items: center;
  justify-content: flex-start;
  padding: 8px 10px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--add-ink);
  font: inherit;
  font-size: 14px;
  font-weight: 750;
  line-height: 20px;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
}

.add-page__section-link:hover {
  background: var(--add-soft);
  color: var(--add-purple-dark);
}

.add-page__section-link.is-active {
  background: var(--add-purple);
  color: #ffffff;
  box-shadow: 0 10px 26px rgba(124, 58, 237, 0.24);
}

.add-page__section-link--level-3,
.add-page__section-link--level-4 {
  padding-left: 22px;
  font-weight: 650;
}

.add-page__sections-empty {
  color: var(--add-muted);
  font-size: 15px;
  font-weight: 600;
  line-height: 22px;
}

@media (max-width: 1023.98px) {
  .site-header {
    height: 67px !important;
    min-height: 67px !important;
    background: rgba(255, 255, 255, 0.94) !important;
    border-bottom: 1px solid #ddd !important;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.1) !important;
    overflow: hidden !important;
  }

  .site-header__inner {
    display: none !important;
  }

  .site-header__mobile {
    display: grid !important;
    grid-template-columns: 32px minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 14px !important;
    width: 100% !important;
    height: 64px !important;
    padding: 0 16px !important;
    box-sizing: border-box !important;
  }

  .site-header__mobile-toggle,
  .site-header__mobile-action {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 2px !important;
    min-width: 0 !important;
    height: 40px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: #322744 !important;
    font-family: Manrope, "Helvetica Neue", Arial, sans-serif !important;
    text-decoration: none !important;
  }

  .site-header__mobile-toggle {
    width: 32px !important;
  }

  .site-header__mobile-actions {
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
    height: 40px !important;
  }

  .site-header__mobile-toggle-icon,
  .site-header__mobile-action-icon {
    display: block !important;
    width: 24px !important;
    height: 24px !important;
    flex: 0 0 24px !important;
    color: #322744 !important;
    line-height: 0 !important;
  }

  .site-header__mobile-toggle-icon svg,
  .site-header__mobile-action-icon svg {
    display: block !important;
    width: 24px !important;
    height: 24px !important;
    fill: none !important;
    stroke: #322744 !important;
    stroke-width: 1.2px !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
  }

  .site-header__mobile-toggle-icon path,
  .site-header__mobile-action-icon path,
  .site-header__mobile-action-icon circle {
    fill: none !important;
    stroke: #322744 !important;
    stroke-width: 1.2px !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
  }

  .site-header__mobile-toggle-label,
  .site-header__mobile-action-label {
    display: block !important;
    color: #322744 !important;
    font-size: 10px !important;
    font-weight: 500 !important;
    line-height: 14px !important;
    white-space: nowrap !important;
  }

  .site-header__mobile-logo {
    display: flex !important;
    align-items: baseline !important;
    justify-content: center !important;
    min-width: 0 !important;
    color: #7a3ffc !important;
    text-decoration: none !important;
  }

  .site-header__mobile-logo .brand-wordmark {
    display: block !important;
    color: #7a3ffc !important;
    font-size: 30px !important;
    font-weight: 900 !important;
    line-height: 30px !important;
    letter-spacing: -0.055em !important;
  }
}

@media (max-width: 1023.98px) {
  .add-page {
    padding-top: 28px;
  }

  .add-page__container {
    width: calc(100vw - 40px);
  }

  .add-page__hero {
    grid-template-columns: 1fr;
    min-height: 370px;
    padding: 24px;
  }

  .add-page__hero-decor {
    display: none;
  }

  .add-page__layout {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .add-page__sidebar {
    order: -1;
    position: static;
    width: 100%;
  }

  .add-page__content {
    width: 100%;
  }

  .add-page__sections {
    max-height: none;
  }
}

@media (max-width: 767px) {
  .add-page {
    padding: 22px 0 54px;
  }

  .add-page__container {
    width: calc(100vw - 32px);
  }

  .add-page__title {
    margin-bottom: 18px;
    font-size: 34px;
    line-height: 1.04;
  }

  .add-page__hero {
    min-height: 390px;
    padding: 16px;
    border-radius: 18px;
  }

  .add-page__hero-card {
    width: 100%;
    padding: 20px;
    border-radius: 18px;
  }

  .add-page__hero-title {
    font-size: 28px;
  }

  .add-page__hero-text {
    font-size: 15px;
    line-height: 22px;
  }

  .add-page__city-row {
    grid-template-columns: 1fr;
  }

  .add-page__city-search .home-search__form {
    grid-template-columns: 1fr;
  }

  .add-page__city-input,
  .add-page__city-button,
  .add-page__city-search .home-search__input,
  .add-page__city-search .home-search__submit {
    height: 54px;
  }

  .add-page__form-card,
  .add-page__sections {
    border-radius: 18px;
  }

  .add-page__form-card {
    padding: 20px;
  }

  .add-page__form-title,
  .add-page__sections-title {
    font-size: 24px;
  }

  .add-page__form-text,
  .add-page__sections-text {
    font-size: 15px;
    line-height: 22px;
  }

  .add-page-form > .data-table tbody {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .add-page-form__row--property-PREVIEW_TEXT,
  .add-page-form__row--property-520,
  .add-page-form__row--photos {
    grid-column: auto;
  }

  .add-page-form input[type="text"],
  .add-page-form input[type="number"],
  .add-page-form select,
  .add-page-form textarea {
    min-height: 54px;
    padding-right: 16px;
    padding-left: 16px;
    border-radius: 13px;
  }

  .add-page-form select[multiple] {
    min-height: 150px;
  }

  .add-page-form textarea {
    min-height: 150px;
  }

  .add-page-form__row--photos > td:last-child {
    grid-template-columns: 1fr;
  }

  .add-page-form tfoot tr,
  .add-page-form tfoot td {
    display: block !important;
  }

  .add-page-form input[type="submit"],
  .add-page-form input[type="button"] {
    width: 100% !important;
    min-height: 56px;
  }

  .add-page__sections {
    padding: 18px;
  }
}

/* Lower /add/ flow: section selector + grouped Bitrix form. */
.add-page__layout {
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
}

.add-page__form-card {
  padding: 28px 30px 30px;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.add-page__form-card.is-changing {
  opacity: 0.55;
  transform: translateY(8px);
}

.add-page__form-head {
  margin-bottom: 18px;
}

.add-page__selected-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 24px;
  padding: 14px 16px;
  border-color: #e7ddff;
  border-radius: 14px;
  background: #f8f4ff;
}

.add-page__selected-copy {
  min-width: 0;
}

.add-page__selected-label {
  margin: 0 0 3px;
  font-size: 12px;
  line-height: 16px;
}

.add-page__selected-value {
  font-size: 16px;
  line-height: 21px;
}

.add-page__selected-hint {
  margin-top: 3px;
  font-size: 12px;
  line-height: 17px;
}

.add-page__selected-change {
  flex: 0 0 auto;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid rgba(124, 58, 237, 0.28);
  border-radius: 999px;
  background: #ffffff;
  color: var(--add-purple-dark);
  font: inherit;
  font-size: 13px;
  font-weight: 850;
  line-height: 18px;
  cursor: pointer;
}

.add-page__selected-change:hover {
  border-color: var(--add-purple);
  background: #f1eaff;
}

.add-page-form > .data-table tbody {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px 18px;
}

.add-page-form__section {
  display: block;
  grid-column: 1 / -1;
  min-width: 0;
  margin-top: 10px;
  padding-top: 24px;
  border-top: 1px solid #eee8f6;
}

.add-page-form__section:first-child,
.add-page-form__section--main {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.add-page-form__section > td {
  display: block !important;
}

.add-page-form__section-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.add-page-form__section-number {
  display: inline-flex;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #f1eaff;
  color: var(--add-purple);
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
}

.add-page-form__section-copy h3 {
  margin: 0;
  color: var(--add-ink);
  font-size: 20px;
  font-weight: 900;
  line-height: 24px;
  letter-spacing: -0.02em;
}

.add-page-form__section-copy p {
  margin: 4px 0 0;
  color: var(--add-muted);
  font-size: 14px;
  font-weight: 650;
  line-height: 20px;
}

.add-page-form__row {
  grid-column: span 3;
  gap: 7px;
}

.add-page-form__row--property-NAME,
.add-page-form__row--property-PREVIEW_TEXT,
.add-page-form__row--property-516,
.add-page-form__row--property-519,
.add-page-form__row--photos {
  grid-column: 1 / -1;
}

.add-page-form__row--property-520,
.add-page-form__row--property-496,
.add-page-form__row--property-513 {
  grid-column: span 2;
}

.add-page-form > .data-table td {
  font-size: 14px;
  line-height: 19px;
}

.add-page-form input[type="text"],
.add-page-form input[type="number"],
.add-page-form select,
.add-page-form textarea {
  min-height: 52px;
  padding-right: 16px;
  padding-left: 16px;
  border-radius: 13px;
  font-size: 15px;
  line-height: 22px;
}

.add-page-form textarea {
  min-height: 160px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.add-page-form__row--photos {
  padding: 18px;
  border: 1px solid #eee8f6;
  border-radius: 18px;
  background: #fcfaff;
}

.add-page-form__row--photos > td:first-child::after {
  content: "Добавьте несколько фото объекта. Поддерживаются JPG, PNG.";
}

.add-page-form__row--photos > td:last-child {
  gap: 10px;
}

.add-page-photo-upload {
  display: block;
  grid-column: 1 / -1;
  width: 100%;
}

.add-page-photo-upload__card {
  position: relative;
  display: grid;
  min-height: 112px;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  padding: 22px 24px;
  border: 1px dashed #ddd6eb;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--add-ink);
  cursor: pointer;
  transition: border-color 0.16s ease, background-color 0.16s ease, box-shadow 0.16s ease;
}

.add-page-photo-upload__card:hover {
  border-color: rgba(124, 58, 237, 0.42);
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(36, 27, 58, 0.07);
}

.add-page-photo-upload__card--camera {
  cursor: default;
}

.add-page-photo-upload__icon {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  color: #4b2c79;
}

.add-page-photo-upload__icon svg {
  display: block;
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.add-page-photo-upload__copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.add-page-photo-upload__title {
  color: var(--add-muted);
  font-size: 15px;
  font-weight: 900;
  line-height: 20px;
}

.add-page-photo-upload__text,
.add-page-photo-upload__meta {
  color: var(--add-muted);
  font-size: 13px;
  font-weight: 650;
  line-height: 18px;
}

.add-page-photo-upload__input {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  opacity: 0 !important;
  cursor: pointer !important;
}

.add-page-form input[type="file"] {
  min-height: 60px;
  padding: 9px;
  border-radius: 13px;
  background: #ffffff;
}

.add-page-form tfoot {
  width: 100%;
  margin-top: 28px;
  padding-top: 18px;
  background: rgba(255, 255, 255, 0.92);
  border-top-color: #eee8f6;
}

.add-page-form tfoot tr,
.add-page-form tfoot td {
  width: 100% !important;
}

.add-page-form tfoot td::before {
  content: "Проверьте данные перед сохранением";
  display: block;
  margin-right: auto;
  color: var(--add-muted);
  font-size: 13px;
  font-weight: 650;
  line-height: 18px;
}

.add-page-form input[type="submit"],
.add-page-form input[type="button"] {
  width: 300px !important;
  min-height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

.add-page__sections {
  max-height: calc(100vh - 120px);
  padding: 20px;
  border-radius: 22px;
}

.add-page__sections-title {
  font-size: 22px;
}

.add-page__sections-text {
  margin-bottom: 16px;
  font-size: 14px;
  line-height: 20px;
}

.add-page__city-tabs {
  display: none;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
}

.add-page__city-tab {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid #eee8f6;
  border-radius: 999px;
  background: #ffffff;
  color: var(--add-ink);
  font: inherit;
  font-size: 13px;
  font-weight: 850;
  line-height: 18px;
  cursor: pointer;
}

.add-page__city-tab:hover,
.add-page__city-tab.is-active {
  border-color: rgba(124, 58, 237, 0.35);
  background: #f1eaff;
  color: var(--add-purple-dark);
}

.add-page__section-groups {
  display: block;
}

.add-page__section-group {
  display: none;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.add-page__section-group.is-active {
  display: grid;
  gap: 16px;
}

.add-page__section-cluster {
  padding: 14px;
  border: 1px solid rgba(36, 27, 58, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
}

.add-page__section-group-title {
  margin-bottom: 8px;
  color: var(--add-muted);
  font-size: 13px;
  font-weight: 900;
  line-height: 18px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.add-page__section-link {
  position: relative;
  min-height: 40px;
  padding: 9px 36px 9px 10px;
}

.add-page__section-link::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 14px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(124, 58, 237, 0.22);
  transform: translateY(-50%) scale(0);
  transition: transform 0.16s ease, background-color 0.16s ease;
}

.add-page__section-link.is-active::after {
  background: #ffffff;
  transform: translateY(-50%) scale(1);
}

@media (max-width: 1023.98px) {
  .add-page__layout {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .add-page__sidebar {
    order: -1;
  }

  .add-page__sections {
    max-height: none;
  }
}

@media (max-width: 767px) {
  .add-page__form-card {
    padding: 20px;
  }

  .add-page__selected-section {
    flex-direction: column;
    align-items: stretch;
  }

  .add-page__selected-change {
    width: 100%;
  }

  .add-page-form > .data-table tbody {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .add-page-form__section,
  .add-page-form__row,
  .add-page-form__row--property-520,
  .add-page-form__row--property-496,
  .add-page-form__row--property-513 {
    grid-column: 1 / -1;
  }

  .add-page-form__section {
    margin-top: 8px;
    padding-top: 22px;
  }

  .add-page-form__row--photos {
    padding: 14px;
  }

  .add-page-form__row--photos > td:last-child {
    grid-template-columns: 1fr;
  }

  .add-page-photo-upload__card {
    min-height: 104px;
    padding: 18px;
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .add-page-form tfoot tr,
  .add-page-form tfoot td {
    display: grid !important;
    gap: 12px;
    justify-content: stretch !important;
    grid-template-columns: 1fr !important;
  }

  .add-page-form tfoot td::before {
    margin: 0;
  }

  .add-page-form input[type="submit"],
  .add-page-form input[type="button"] {
    width: 100% !important;
  }
}
.title-poisk{
padding: 20px 0;
    margin: 0;
    margin-left: 0 !important;}