#main_content {
  background-color: #f1f1f1;
}

.btn--success {
  background-color: var(--color-success);
  color: var(--color-text-inverse);
}

.btn--success:hover {
  background-color: #388E3C;
  color: var(--color-text-inverse);
}

.btn--warning {
  background-color: var(--color-warning);
  color: var(--color-text);
}

.btn--warning:hover {
  background-color: #FF8F00;
  color: var(--color-text);
}

.ui-dialog.ui-dialog {
  z-index: calc(var(--z-modal, 300) + 100) !important;
}

.ui-dialog.ui-dialog ~ .ui-widget-overlay {
  z-index: calc(var(--z-modal, 300) + 99) !important;
}

body:has(.ui-dialog) .ui-widget-overlay {
  z-index: calc(var(--z-modal, 300) + 99) !important;
}

#open_contact_ajax {
  background: #f0f0f0 !important;
  opacity: 1;
}

.btn.open_contact_call_button {
  display: none;
}

.btn.open_contact_qr {
  display: inline-block;
}

a.open_contact_contact {
  font-size: 24px;
  display: inline-block;
  text-decoration: none;
  background: #fff;
  border: 1px solid #25d325;
  padding: 6px;
  border-radius: 8px;
  font-weight: bold;
  padding-right: 17px;
  word-wrap: break-word;
  max-width: 100%;
}

#open_contact_ajax.oc {
  background: var(--color-surface) !important;
  padding: var(--space-5) var(--space-5) var(--space-4);
  font-family: var(--font-family);
  color: #0f172a;
  text-align: left;
}

.oc .oc-note {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  background: #ecfdf3;
  color: #14532d;
  font-size: var(--font-size-sm);
  line-height: 1.45;
}

.oc .oc-note svg {
  flex: none;
  width: 20px;
  height: 20px;
  color: #16a34a;
}

.oc .oc-note--warn {
  background: #fff7e6;
  color: #7a4b00;
}

.oc .oc-note--warn svg {
  color: #f59e0b;
}

.oc .oc-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  min-height: 53px;
  margin-top: var(--space-3);
  padding: var(--space-3) var(--space-5);
  border: 0;
  border-radius: 10px;
  background: #1fa855;
  box-shadow: 0 3px 12px rgba(31, 168, 85, 0.35);
  color: #fff;
  text-align: center;
  text-decoration: none;
  transition: background var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
}

.oc .oc-contact:hover,
.oc .oc-contact:focus-visible {
  background: #1a9449;
  box-shadow: 0 4px 16px rgba(31, 168, 85, 0.45);
  color: #fff;
  text-decoration: none;
  outline: none;
}

.oc .oc-contact:focus-visible {
  box-shadow: 0 0 0 3px #fff, 0 0 0 5px #1fa855;
}

.oc .oc-contact:active {
  transform: scale(0.99);
}

.oc .oc-contact__icon {
  flex: none;
  display: grid;
  place-items: center;
  color: #fff;
}

.oc .oc-contact__icon svg {
  width: 20px;
  height: 20px;
}

.oc .oc-contact__icon--img img {
  width: 22px;
  height: 22px;
  filter: brightness(0) invert(1);
}

.oc .oc-contact__value {
  min-width: 0;
  font-size: 1.375rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.01em;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}

.oc .oc-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: var(--space-2);
  margin-top: var(--space-3);
}

.oc .oc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 44px;
  margin: 0;
  padding: 0 var(--space-4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: #fff;
  color: #0f172a;
  font-family: inherit;
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
}

.oc .oc-btn:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #0f172a;
  text-decoration: none;
}

.oc .oc-btn:focus-visible {
  outline: 2px solid var(--color-secondary);
  outline-offset: 2px;
}

.oc .oc-btn svg {
  flex: none;
  width: 18px;
  height: 18px;
  color: var(--color-secondary);
}

.oc .oc-btn--call,
.oc .oc-btn--call:hover {
  background: #16a34a;
  border-color: #16a34a;
  color: #fff;
}

.oc .oc-btn--call svg {
  color: #fff;
}

.oc .oc-btn.is-done {
  background: #f0fdf4;
  border-color: #86efac;
  color: #15803d;
}

.oc .oc-btn.is-done svg {
  color: #16a34a;
}

.oc .oc-btn--mobile {
  display: none;
}

.oc .oc-qr {
  display: flex;
  justify-content: center;
  margin-top: var(--space-3);
  padding: var(--space-4);
  border: 1px dashed var(--color-border-dark);
  border-radius: var(--radius-lg);
  background: #fff;
}

.oc .oc-qr img {
  display: block;
  width: 180px;
  height: 180px;
}

.oc .oc-report {
  margin-top: var(--space-4);
  padding-top: var(--space-3);
  border-top: 1px solid var(--color-border-light);
  text-align: center;
}

.oc .oc-report__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 6px 10px;
  border: 0;
  border-radius: var(--radius-sm);
  background: none;
  color: var(--color-text-secondary);
  font-family: inherit;
  font-size: var(--font-size-sm);
  cursor: pointer;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.oc .oc-report__btn svg {
  flex: none;
  width: 16px;
  height: 16px;
  color: var(--color-danger);
}

.oc .oc-report__btn:hover {
  background: #fef2f2;
  color: var(--color-danger);
}

@media only screen and (max-width: 768px) {
  #open_contact_ajax.oc {
    padding: var(--space-4);
  }

  .oc .oc-btn--mobile {
    display: inline-flex;
  }

  .oc .oc-btn--pc {
    display: none;
  }
}

#abuse_form.ab {
  padding: var(--space-5);
  font-family: var(--font-family);
  color: #0f172a;
  font-size: var(--font-size-sm);
  line-height: 1.45;
}

.ab .ab-note {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
}

.ab .ab-note svg {
  flex: none;
  width: 20px;
  height: 20px;
}

.ab .ab-note--warn {
  background: #fef2f2;
  color: #7f1d1d;
}

.ab .ab-note--warn svg {
  color: var(--color-danger);
}

.ab .ab-note--info {
  margin-top: var(--space-4);
  background: #eff6ff;
  color: #1e3a8a;
}

.ab .ab-note--info svg {
  color: var(--color-secondary);
}

.ab .ab-lead {
  margin: var(--space-4) 0 var(--space-3);
  color: var(--color-text-secondary);
}

.ab .ab-options {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.ab .ab-option {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  position: relative;
  margin: 0;
  padding: var(--space-3);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: #fff;
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  cursor: pointer;
  transition: border-color var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-fast);
}

.ab .ab-option:hover {
  border-color: #93c5fd;
  background: #f8fbff;
  box-shadow: 0 6px 16px -12px rgba(25, 118, 210, 0.6);
}

.ab .ab-option:focus-within {
  outline: 2px solid var(--color-secondary);
  outline-offset: 2px;
}

.ab .ab-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.ab .ab-option > span {
  order: 2;
  flex: 1 1 auto;
  min-width: 0;
}

.ab .ab-option__icon {
  order: 1;
  flex: none;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background: #eff6ff;
  color: var(--color-secondary);
  font-style: normal;
}

.ab .ab-option__icon svg {
  width: 20px;
  height: 20px;
}

.ab .ab-option--danger .ab-option__icon {
  background: #fef2f2;
  color: var(--color-danger);
}

.ab .ab-option--danger:hover {
  border-color: #fca5a5;
  background: #fffafa;
  box-shadow: 0 6px 16px -12px rgba(211, 47, 47, 0.6);
}

.ab .ab-option__arrow {
  order: 3;
  flex: none;
  display: grid;
  color: var(--color-text-muted);
  font-style: normal;
  transition: transform var(--transition-fast), color var(--transition-fast);
}

.ab .ab-option__arrow svg {
  width: 20px;
  height: 20px;
}

.ab .ab-option:hover .ab-option__arrow {
  color: var(--color-secondary);
  transform: translateX(2px);
}

.ab .ab-chosen {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--color-border-light);
}

.ab .ab-chosen:empty {
  display: none;
}

.ab .ab-chosen__label {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold);
  line-height: 1.25;
}

.ab .ab-chosen.is-danger .ab-option__icon {
  background: #fef2f2;
  color: var(--color-danger);
}

.ab .ab-field {
  display: block;
  margin: 0;
  font-weight: normal;
}

.ab .ab-field + .ab-counter + .ab-field {
  margin-top: var(--space-4);
}

.ab .ab-field__label {
  display: block;
  margin-bottom: var(--space-2);
  font-weight: var(--font-weight-semibold);
}

.ab .ab-field textarea,
.ab .ab-field input {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: var(--space-3);
  border: 1px solid var(--color-border-dark);
  border-radius: var(--radius-md);
  background: #fff;
  color: #0f172a;
  font-family: inherit;
  font-size: var(--font-size-base);
  line-height: 1.45;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.ab .ab-field textarea {
  min-height: 120px;
  resize: vertical;
}

.ab .ab-field textarea:focus,
.ab .ab-field input:focus {
  border-color: var(--color-secondary);
  box-shadow: 0 0 0 3px rgba(25, 118, 210, 0.15);
  outline: none;
}

.ab .ab-counter {
  margin-top: var(--space-1);
  color: var(--color-text-muted);
  font-size: var(--font-size-xs);
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.ab .ab-counter.is-ok {
  color: #15803d;
}

.ab .ab-recaptcha {
  margin-top: var(--space-4);
}

@media only screen and (max-width: 768px) {
  #abuse_form.ab {
    padding: var(--space-4);
  }
}


#listing-block {
  padding: 0px;
}

.word-break-all {
  word-break: break-word;
}

a.ad_searches_link {
display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    padding: var(--space-1) var(--space-2);
    border: 1px solid rgba(25, 118, 210, 0.25);
    border-radius: var(--radius-md);
    background: rgba(25, 118, 210, 0.06);
    color: var(--color-secondary);
    font-family: var(--font-family);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-medium);
    cursor: pointer;
    transition: all 0.15s;
    white-space: normal;
    max-width: 100%;
}

.one_credit {
  font-size: 18px;
  font-weight: bold;
  padding: 10px;
  text-align: center;
  text-decoration: underline;
  text-underline-offset: 7px;
  text-decoration-color: red;
}

.ad_searches_link:before {
  content: "";
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  background: currentColor;
  -webkit-mask: url("/template/images/svg/search.svg") center / contain no-repeat;
  mask: url("/template/images/svg/search.svg") center / contain no-repeat;
}

.ad_searches_link:after {
  color: var(--color-text-secondary);
  font-weight: var(--font-weight-normal);
}

.container a.ad_searches_link:hover {
  background: rgba(25, 118, 210, 0.12);
  border-color: var(--color-secondary);
}


.ad_searches_links {
  text-align: left;
  margin: 0 0 var(--space-4);
  font-size: 13px;
  display: flex;
  flex-direction: column;
}

.ad_searches_links .links {
  text-align: left;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);  
}


.ad_searches_links .link_title {
  font-size: 18px;
  letter-spacing: 0.5px;
  padding-bottom: 3px;
  margin-bottom: 3px;
  text-align: left;
  flex-shrink: 0;
  display: block;
  padding: 0;
  width: 100%;
}

a img {
  border: none;
}


.contacts_wrapper {
  display: table;
  float: left;
  margin-bottom: 10px;
  word-wrap: normal;
  word-break: break-word;
  font-size: 16px;
  margin-left: -15px;
  padding-left: 15px;
  padding-right: 35px;
}

.contacts_wrapper.has_agents {
  display: block;
  float: none;
  margin-bottom: 10px;
  margin-left: -15px;
  padding-left: 15px;
  padding-right: 0px;
}

.contact_row {
  display: table-row;
  margin-bottom: 5px;
}


/*new contacts_wrapper*/

#message_form {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.contacts_wrapper_flex {
  display: flex;
  word-wrap: normal;
  word-break: break-word;
  font-size: 16px;
  padding-left: 15px;
  padding-right: 35px;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
  /*background: #e8f4ff;*/
  padding: 5px 0;
}

.contact_row_flex {
  padding: 0 15px 0px 0;
  flex: 0 1 auto;
  min-width: 200px;
  max-width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 5px;
}

.contact_row_flex a {
  color: black;
}

.agent_row_flex {
  background: white;
  margin: 10px 0px 10px 0px;
  padding: 10px;
  flex: 1 0 auto;
}

.contacts_wrapper_flex .agent_row_flex:last-of-type {
  flex: 1 1 auto;
}


.fa.mail_icon_flex {
  font-size: 16px;
  /* position: absolute; */
  /* bottom: 10px; */
  /* left: 60px; */
  background: white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-content: center;
  padding: 7px;
  flex-wrap: wrap;
  color: #5cb85c;
  font-weight: bold;
  align-items: center;
  line-height: 1;
  margin: 3px 2px;
  text-shadow: none;
}

.fa.green {
  font-size: 16px;
  color: #1fd51f;
  margin-left: 1px;
}


.contacts_wraper {
  width: 100%;
}

.contacts_wraper_fixed {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: var(--z-modal, 300);
  display: flex;
  box-sizing: border-box;
  padding-top: 5vh;
  background: rgba(0, 0, 0, 0.4);
  flex-direction: column;
  transition: background-color .28s ease;
  justify-content: flex-end;
  overflow: hidden;
}

.contacts_wraper_close {
  display: none;
}


.banner-bottom {
  text-align: center;
  padding-bottom: 30px;
  padding-top: 10px;
  /*border-top: 1px solid gray;*/
}

.show-more {
  overflow-y: hidden;
  padding-left: 5px;
  margin-top: 5px;
  margin-bottom: 20px;
}

.show-more a,
.show-more a:hover {
  text-decoration: none;
  font-size: 12px;
  color: #727272;
}

.ads-block-title {
  overflow-y: hidden;
  padding-left: 6px;
}

.block-ads {
  margin-left: 289px;
  overflow: hidden;
}

.main-ads {
  margin-left: auto;
  margin-right: auto;
  border-bottom: 1px solid #dadada;

}

.ads-table {
  display: table-cell;
}

#main_image_a {
  width: 100%;
  position: relative;
  overflow: hidden;
  text-align: center;
  vertical-align: middle;
  display: block;
  margin-top: 0;
}

#main_image_a_flex {
  height: 100%;
  position: relative;
  overflow: hidden;
  text-align: center;
  vertical-align: middle;
  display: flex;
  flex-direction: column;
  margin-top: 0;
}

#main_image_img {
  width: 100%;
  display: block;
  text-align: center;
  vertical-align: middle;
  border: 0px;
  top: 0px;
  bottom: 0px;
  left: 0px;
  right: 0px;
  margin: auto;
}

#main_image_img_flex {
  height: 100%;
  display: block;
  text-align: center;
  vertical-align: middle;
  border: 0px;
  margin: auto;
}


article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
summary {
  display: block;
}

a.watchlist_in_image {
  position: absolute;
  right: var(--space-2);
  top: var(--space-2);
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, .9);
  box-shadow: var(--shadow-sm);
  color: var(--color-text);
  cursor: pointer;
  transition: background var(--transition-fast), color var(--transition-fast);
}

a.watchlist_in_image svg {
  width: 22px;
  height: 22px;
}

a.watchlist_in_image:hover {
  background: var(--color-surface);
  color: var(--color-primary);
}

a.watchlist_in_image_selected,
a.watchlist_in_image_selected:hover {
  background: var(--color-primary);
  color: #fff;
}


#tcontainer {
  margin-bottom: 3px;
  padding-right: 0;
  padding-left: 0;
}

#allparams {
  padding-left: 0;
  display: table;
}

#allparams>.obqva-block:first-child {
  padding-left: 0;
  padding-right: 0;
}

#mainicons {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-4);
}

#slider {
  text-align: center;
}

#active label a {
  color: #337ab7;
  cursor: pointer;
  text-decoration: none;
  margin-left: 5px;
  display: inline-block;
  border: solid 3px rgba(255, 255, 255, 0.7);
}

a {
  color: #000000;
  cursor: pointer;
}

.new-row-phone {
  display: none;
}

.Lobster {
  font-family: 'Lobster';
  font-size: 30px;
}

.ubuntu {
  font-size: var(--font-size-sm);
  font-weight: bold;
}

.small-headline {
  font-family: Gill Sans, Verdana;
  font-size: 11px;
  line-height: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: bold;
}

.title {
  display: block;

}

.ads-icons {
  display: none;
}


.theme-color1 {
  /* background-color: #f0f8ff; */
  /*background-color: #fff3e0;*/
}

.theme-color2 {
  background-color: #f7f7f7;
}

.theme-title {
  background: #000;
  /* Old browsers */
  background: rgba(0, 0, 0, 0.6);
}

.big-info h1 {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
    color: var(--color-text);
    margin: 0 0 var(--space-2) 0;
    line-height: var(--line-height-tight);
    margin-top: var(--space-4);
}

.big-info h2 {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-bold);
    color: var(--color-text);
    margin: 0 0 var(--space-2) 0;
    line-height: var(--line-height-tight);
}

.obqva-block {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  margin-bottom: var(--space-4);
}

.big-info h1 {
}


.big-image {
  max-height: 500px;
}

.errormsg {
  border: 3px solid #a40000;
  border-radius: 3px;
  background: #ff0000;
  margin: 10px;
  padding: 10px;
  color: white;
}

.icon-contacts {
  width: 25px;
  height: 25px;
  margin: 3px 6px 3px 0px;
}

.icon-contacts-flex {
  width: 25px;
  height: 27px;
  margin: 3px 6px 3px 6px;
}


.icon-contacts.big {
  width: 40px;
  height: 40px;
  margin: 2px 6px 2px 0px;
}

.contacts {
  font-size: 18px;
}

.contacts td {
  padding-bottom: 1px;
}

.contacts td img {
  margin-bottom: 2px;
}

.personal-message {
  min-height: 95px;
}

.icon-action {
  display: inline-block;
  width: 40px;
  height: 35px;
  padding-left: 7px;
  padding-right: 7px;
  overflow: visible !important;
  opacity: 0.8;
}

.icon-action svg {
  width: 100%;
  height: 100%;
}

i.icon-action {
  font-size: 26px;
  padding: 0px 15px 0px 19px;
  color: black;
  display: block;
  width: 59px;
  height: 26px;
}


.apv-action-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-2) var(--space-3);
  border: 1px solid rgba(25, 118, 210, 0.25);
  border-radius: var(--radius-md);
  background: rgba(25, 118, 210, 0.06);
  color: var(--color-secondary);
  font-family: var(--font-family);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-medium);
  cursor: pointer;
  transition: all 0.15s;
  white-space: nowrap;
}

.apv-action-btn:hover {
  background: rgba(25, 118, 210, 0.12);
  border-color: var(--color-secondary);
}

.apv-action-btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.apv-action-btn i {
  width: 16px;
  text-align: center;
  flex-shrink: 0;
}

.apv-action-btn.disabled {
  opacity: .3;
}


.action-buttons {
  height: 40px;
  /*border: solid 3px #fff;*/
  /*border-left: solid 8px #000;*/
}


.action-buttons:hover {
  height: 40px;
  /*border-left: solid 8px #000;*/
}


.action-buttons td:nth-child(2) {
  width: 100%;
  padding-right: 10px;
  border: none;
  font-size: 14px;
}


.more-info {
  display: table;
  padding: var(--space-4);
  margin: 0 0 var(--space-4);
}

.more-info .ubuntu {
  padding-top: 0;
}

.more-info>div {
  display: table-cell;
}


.more-info:first-child {
  display: inline;
}

.more-info .show-comments {
  display: inline-block;
  padding: 0;
  margin-top: 4px;
  color: blue;
  cursor: pointer;
}

.more-info p {
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  line-height: var(--line-height-relaxed);
}


#collapsecomments {
  overflow: hidden;
}


.contacts-all {
  display: table;
  table-layout: fixed;
  width: 100%;
  /*padding-left: 15px;*/
}

.arrow-down {
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid #fff;
  padding: 0 !important;
  display: inline !important;
  position: relative;
  top: 10px;
  left: 5px;
}

/*BEGIN btn ripple*/
.mybtn {
  position: relative;

  /*display: block;*/
  /*margin: 30px auto;*/
  padding: 0;

  overflow: hidden;

  border-width: 0;
  outline: none;
  border-radius: 2px;
  -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, .6);
  box-shadow: 0 1px 4px rgba(0, 0, 0, .6);

  background-color: #2ecc71;
  color: #ecf0f1;

  -webkit-transition: background-color .3s;

  transition: background-color .3s;
}

.mybtn:hover,
.mybtn:focus {
  background-color: #27ae60;
}

.mybtn>* {
  position: relative;
}

.mybtn span {
  display: block;
  padding: 7px 24px;
}

.mybtn:before {
  content: "";

  position: absolute;
  top: 50%;
  left: 50%;

  display: block;
  width: 0;
  padding-top: 0;

  border-radius: 100%;

  background-color: rgba(236, 240, 241, .3);

  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.mybtn:active:before {
  width: 120%;
  padding-top: 120%;

  -webkit-transition: width .2s ease-out, padding-top .2s ease-out;

  transition: width .2s ease-out, padding-top .2s ease-out;
}

.mybtn.orange {
  background-color: #e67e22;
}

.mybtn.orange:hover,
.mybtn.orange:focus {
  background-color: #d35400;
}

.mybtn.red {
  background-color: #e74c3c;
}

.mybtn.red:hover,
.mybtn.red:focus {
  background-color: #c0392b;
}

.mybtn.blue {
  background-color: #283593;
}

.mybtn.blue:hover,
.mybtn.blue:focus {
  background-color: #1a237e;
  color: yellow;
}

/*END mybtn ripple*/


.advertise-info {
  font-size: 14px;
}

/*Galery photos BEGIN*/
.clear-fix {
  clear: both;
}

/* Not so important */
.images {
  padding-top: 3px;
  padding-bottom: 3px;
  text-align: center;
  white-space: nowrap;
  overflow-x: auto;
  overflow-y: hidden;

}


/*
.images:hover {
    white-space: normal;
 
}

.images:hover #thumbscroll {
    position: inherit;
}
*/


.images .image {
  /*margin: auto 1.5em;*/
  display: inline-block;
  margin: 4px;
  /*float: left;*/
  -webkit-box-shadow: 1px 1px 3px darkgray;
  box-shadow: 1px 1px 3px darkgray;
  /** Interesting part starts here */
  font-size: 0;
  text-align: center;
  /*width: 120px;*/
  /*height: 90px;*/
  max-width: 100px;
  height: 75px;
  /*	overflow: hidden;*/
}

.images .image img {
  display: inline-block;
  vertical-align: middle;
  max-height: 100%;
  max-width: 100%;
}

.images .image:before {
  content: "";
  display: inline-block;
  vertical-align: middle;
  height: 100%;
}

#thumbscroll {
  position: relative;
  -webkit-transform: translateZ(0);
  -webkit-transition: all 500ms ease-out;
  transition: all 500ms ease-out;
}

#headerlg {
  text-align: center;
  display: none;
}

.ads-params {
  padding-bottom: 4px;

}

.ads-params-table {
  display: flex;
  flex-direction: column;
  font-size: var(--font-size-sm);
}

.ads-params-table>.ads-params-row:first-of-type {
  padding-top: 0;
}

.ads-params-row {
  display: flex;
  align-items: center;
  padding: var(--space-3) var(--space-4);
  font-size: var(--font-size-sm);
  border-bottom: 1px solid var(--color-border-light);
  align-items: center;
}

.ads-params-row:nth-child(even) {
  background: var(--color-bg);
}

.ads-params-cell {
  padding-left: 6px;
}

/* Value-клетката расте до края на реда — иначе сяда на content size
   и съдържание като мини-календара спира легендата да пада отдясно.
   min-width:0 позволява на текста да wrap-ва (стандартен flex gotcha) */
.ads-params-cell:not(.ads-param-title) {
  flex: 1 1 auto;
  min-width: 0;
}

.ads-param-title {
  width: 170px;
  flex-shrink: 0;
  color: var(--color-text-secondary);
  font-weight: var(--font-weight-medium);
}

.ads-param-title .param-help{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  margin: -2px 0 -2px 6px;
  border-radius: 50%;
  vertical-align: middle;
  color: var(--color-secondary);
  text-decoration: none;
  transition: color .15s;
}

.ads-param-title .param-help:hover{
  color: var(--color-secondary-dark);
}

.ads-param-title .param-help svg{
  width: 17px;
  height: 17px;
}

@media (max-width: 768px){
  .ads-param-title .param-help{
    width: 30px;
    height: 30px;
    margin: -6px 0 -6px 6px;
  }

  .ads-param-title .param-help svg{
    width: 20px;
    height: 20px;
  }
}

.multi-value-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
}

.ads-params-multi {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #1F2733;
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  line-height: 1.2;
}

.ads-params-multi:before {
  content: '';
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #1F6FD8 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 13l5.5 5.5L20.5 5.5'/%3E%3C/svg%3E") center / 70% 70% no-repeat;
}


.ads-params-single {
  overflow-wrap: anywhere;
  color: var(--color-text);
  font-weight: var(--font-weight-semibold);  
  display: flex;
  align-items: center;
  gap: 2px;
}

.ads-promo-badge {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-left: 10px;
}

.ads-promo-badge--link {
  padding: 0;
  border: 0;
  background: none;
  font-family: inherit;
  cursor: pointer;
}

.ads-promo-badge--link .promo-badge {
  transition: filter 0.15s;
}

.ads-promo-badge--link:hover .promo-badge {
  filter: brightness(1.1);
}

.ads-promo-badge--link:focus-visible {
  outline: 2px solid var(--color-secondary);
  outline-offset: 2px;
  border-radius: 4px;
}

button.promo-badge {
  padding: 0;
  border: 0;
  font-family: inherit;
  cursor: pointer;
  transition: background-color 0.15s, box-shadow 0.15s, filter 0.15s;
}

button.promo-badge:focus-visible {
  outline: 2px solid var(--color-secondary);
  outline-offset: 2px;
}

.promo-badge.promo-badge--promote {
  --promo-badge-bg: #fff;
  box-sizing: border-box;
  align-items: center;
  gap: 8px;
  height: 22px;
  padding: 0 10px;
  border: 1.5px solid #1f6fd8;
  border-radius: 4px;
  color: #1f6fd8;
}

.promo-badge.promo-badge--promote .promo-badge__icon {
  padding: 0;
  background: none;
  color: inherit;
}

.promo-badge.promo-badge--promote .promo-badge__icon svg {
  width: 10px;
  height: 10px;
}

.promo-badge.promo-badge--promote .promo-badge__label {
  padding: 0;
  font-size: 12px;
  font-weight: 800;
}

.promo-badge.promo-badge--promote:hover {
  --promo-badge-bg: #eef4fd;
}

.promo-badge--fbvip:hover {
  filter: brightness(1.1);
}

.promo-badge--fbvip {
  position: relative;
  overflow: hidden;
}

.promo-badge--fbvip::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(255, 255, 255, 0) 38%, rgba(255, 255, 255, .55) 50%, rgba(255, 255, 255, 0) 62%);
  transform: translateX(-100%);
  animation: fbvip-shine 3s ease-in-out infinite;
  pointer-events: none;
}

@keyframes fbvip-shine {
  0% { transform: translateX(-100%); }
  55%, 100% { transform: translateX(100%); }
}

@media (prefers-reduced-motion: reduce) {
  .promo-badge--fbvip::after {
    animation: none;
    display: none;
  }
}

.fvip {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: var(--space-4) var(--space-5);
  font-family: var(--font-family);
  color: var(--color-text);
}

.fvip__preview {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.fvip__preview .adc {
  width: 100%;
}

.fvip__body {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  min-width: 0;
}

.fvip__title {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  line-height: 1.2;
}

.fvip__lead,
.fvip__note {
  margin: 0;
}

.fvip__lead {
  font-size: var(--font-size-base);
  color: var(--color-text-secondary);
}

.fvip__steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: fvip-step;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  font-size: var(--font-size-sm);
}

.fvip__steps li {
  counter-increment: fvip-step;
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.fvip__steps li::before {
  content: counter(fvip-step);
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: var(--radius-full);
  background: rgba(8, 102, 255, 0.1);
  color: #0866FF;
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-bold);
}

.fvip__note {
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
}

.fvip__actions {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
}

.fvip__share {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  width: 100%;
  padding: var(--space-3) var(--space-5);
  border: 0;
  border-radius: var(--radius-md);
  background: #0866FF;
  color: #fff;
  font-family: inherit;
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-bold);
  cursor: pointer;
  transition: background-color 0.15s;
}

.fvip__share:hover {
  background: #0757d9;
}

.fvip__share svg {
  width: 18px;
  height: 18px;
}

.fvip__decline {
  padding: var(--space-1) var(--space-3);
  border: 0;
  background: none;
  color: #000;
  font-family: inherit;
  font-size: var(--font-size-sm);
  text-decoration: underline;
  cursor: pointer;
}

.fvip__decline:hover {
  text-decoration: none;
}

.fvip__share:focus-visible,
.fvip__decline:focus-visible {
  outline: 2px solid #0866FF;
  outline-offset: 2px;
}

@media screen and (max-width: 560px) {
  .fvip {
    grid-template-columns: 120px 1fr;
    gap: var(--space-3);
  }

  .fvip__title {
    font-size: var(--font-size-lg);
  }
}

.ads-params-price-title {
  font-size: 16px;
  font-weight: normal;
}

.ads-params-price {
  font-size: 26px;
  color: var(--color-text);
  font-weight: var(--font-weight-semibold);
  text-align: left;
}

.ads-params-price-sub {
  font-size: 14px;
  color: black;
  font-weight: normal;
  white-space: nowrap;
}

.ads-params-note {
  font-size: 13px;
  color: var(--color-text-secondary);
}

.ads-params-note a {
  color: var(--color-secondary);
  text-decoration: underline;
}

.ads-loc-pin {
  display: inline-flex;
  vertical-align: -0.18em;
  flex-shrink: 0;
  margin-right: 2px;
  color: var(--color-text-secondary);
}

.ads-loc-pin svg {
  width: 1.05em;
  height: 1.05em;
}

.ads-loc-map {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin-top: 4px;
  color: var(--color-secondary);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  line-height: 1.3;
  text-decoration: none;
}

.ads-loc-map:hover {
  text-decoration: underline;
}

.ads-loc-map svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.ads-map-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-secondary);
  line-height: 1.2;
  text-decoration: none;
}

.ads-map-link:hover {
  text-decoration: underline;
}

.ads-map-link-pin {
  width: 1.05em;
  height: 1.05em;
  flex-shrink: 0;
  background: url(/template/images/svg/map-pin-color.svg) center / contain no-repeat;
}


.modal-title {
  font-size: 20px;
  font-weight: bold;
}

/*START Comment*/
.coment-header {
  font-size: 18px;
  cursor: pointer;
  /*margin: 0 2%;*/
  /*width: 96%;*/
}

.reviewbar {
  width: 100%;
  position: relative;
}

.reviewbar a {
  font-size: 14px;
  font-weight: normal;

}

.answer {
  width: 100%;
  margin: 5px 0px;
  padding: 10px;
  padding-top: 13px;
  position: relative;
  border-radius: var(--radius-md);
  /*background-color: #f5f5f5;*/
}

.answer-by-owner {
  background: var(--color-bg);
  margin-left: 3%;
  width: 97%;
}

.answer-date {
  font-size: 12px;
  color: #333;
  padding-left: 10px;
  float: right;
  margin-top: -8px;
  position: absolute;
  right: 5px;
  top: 10px;
}

.tab-nav>li>a::after {
  background: #21527d none repeat scroll 0% 0%;
  color: #fff;
}

.tab-pane {}

.tab-content {}


.card {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: flex-end;
  gap: 4px;
}

.card textarea {
  flex-grow: 1;
  min-height: 40px;
  padding: var(--space-2) var(--space-3);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);  
}

input:focus, select:focus, .card textarea:focus {
  background-color: unset;
}

/*START more user ads*/

.more-user-ads {
  --adc-min: 190px;
}

.more-user-ads a:hover {
  text-decoration: none;
}

#more_recomended_ads {
  max-height: 470px;
}

.shape {
  border-style: solid;
  border-width: 0 70px 40px 0;
  float: right;
  height: 0px;
  width: 0px;
  /* IE 9 */
  /* Opera 10.5 */
  -webkit-transform: rotate(360deg);
  /* Safari and Chrome */
  transform: rotate(360deg);
}

.offer {
  background: #fff;
  border: 1px solid #ddd;
  -webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  margin: 0;
  overflow: hidden;
  height: 120px;
  width: 290px;
  display: inline-block;
  position: relative;
}

.shape {
  border-color: rgba(255, 255, 255, 0) #d9534f rgba(255, 255, 255, 0) rgba(255, 255, 255, 0);
}

.offer-default {
  border-color: #999999;
}

.offer-default .shape {
  border-color: transparent #999999 transparent transparent;
}

.offer-success {
  border-color: #5cb85c;
}

.offer-success .shape {
  border-color: transparent #5cb85c transparent transparent;
}

.offer-danger {
  border-color: #d9534f;
}

.offer-danger .shape {
  border-color: transparent #d9534f transparent transparent;
}

.offer-primary {
  border-color: #428bca;
}

.offer-primary .shape {
  border-color: transparent #428bca transparent transparent;
}

.shape-text {
  color: #fff;
  font-size: 12px;
  font-weight: bold;
  position: relative;
  right: -40px;
  top: 2px;
  white-space: nowrap;
  /* IE 9 */
  /* Opera 10.5 */
  -webkit-transform: rotate(30deg);
  /* Safari and Chrome */
  transform: rotate(30deg);
}

.offer-content {
  padding: 3px 0 0 0;
  display: inline-block;

}

.offer-price {
  font-size: 16px;
  margin: 5px 0;
}

.lead {
  font-size: 15px;
  margin: 0 10px 0 10px;
  position: absolute;
  bottom: 5px;
  line-height: normal;
}

/*END more user ads*/

/* agents */

.agent_row {
  background: white;
  margin: 10px 0px 10px 0px;
  width: 100%;
  padding: 10px;
  display: table-row;
}

.agent_left {
  width: 100px;
  vertical-align: top;
  display: table-cell;
}

.agent_right {
  padding-left: 15px;
  display: table-cell;
}

.agent_img {
  width: 100px;
  height: 100px;
  border: 10px solid #f0f0f0 !important;
  border-radius: 50% !important;
  background: white;
}

.agent_right .contact_value {
  font-size: 18px;
  float: none;
  line-height: normal;
}

.agent_right .contact_info {
  font-size: 13px;
  clear: both;
}

.agent_right {
  vertical-align: top;
}

.agent_right .contact_info {
  color: gray;
}

.agent_right .contact_phone_ads {
  display: inline-block;
  font-size: 12px;
  color: gray;
}


.agent_right .contact_phone img {
  line-height: 20px;
  height: 20px;
}

/* end of agents */


div.first_price_float {
  float: right;
  font-size: 15px;
  font-weight: normal;
  line-height: 32px;
}


.comment_warning {
  color: orange;
  padding-bottom: 2px;
}

.showcomments {
  display: none;
  color: blue;
  cursor: pointer;
}

.showcomments.hiddenCommentsForm {
  display: block;
}

.reviewbar.hiddenCommentsForm {
  display: none;
}

.indicativeyear {
  font-size: smaller;
  font-weight: normal;
}

.validuntil {
  color: var(--color-text-secondary);
  padding: 0 var(--space-3);
}

.ad-inactive-notice {
  margin: var(--space-2) 0;
  padding: var(--space-3) var(--space-4);
  border: 1px solid rgba(255, 160, 0, 0.35);
  border-radius: var(--radius-md);
  background: rgba(255, 160, 0, 0.08);
  color: var(--color-text);
}

.ad-inactive-notice--archived {
  border-color: var(--color-border);
  background: var(--color-bg-light-gray);
}

.ad-inactive-notice__msg {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  font-size: var(--font-size-sm);
}

.ad-inactive-notice__msg svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--color-warning);
}

.ad-inactive-notice--archived .ad-inactive-notice__msg svg {
  color: var(--color-text-secondary);
}

.ad-inactive-notice__label {
  margin: var(--space-3) 0 var(--space-2);
  color: var(--color-text-secondary);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-medium);
}

.ad-inactive-notice .ad_searches_links {
  margin: 0;
}


/*START Main ads conainer media*/
@media only screen and (min-width : 1671px) {
  .main-ads {
    width: 1332px;
  }
}

@media only screen and (max-width : 1670px) {
  .main-ads {
    width: 1142px;
  }
}

@media only screen and (max-width : 1480px) {
  .main-ads {
    width: 952px;
  }
}

@media only screen and (max-width : 1290px) {
  .main-ads {
    width: 762px;
  }
}

@media only screen and (max-width : 1100px) {
  .main-ads {
    width: 572px;
  }
}

@media only screen and (max-width : 910px) {
  .main-ads {
    width: 382px;
  }
}

@media only screen and (max-width : 768px) {


  .ads-params-single {
    display: inline;
  }

  .btn.open_contact_call_button {
    display: inline-block;
  }

  .btn.open_contact_qr {
    display: none;
  }

  .agent_row {
    display: block;
  }

  .agent_left {
    display: block;
    width: 100%;
    text-align: center;
  }

  .agent_right {
    display: block;
    padding-left: 0px;
  }

  .agent_right .contact_info,
  .agent_right .contact_value {
    text-align: center;
  }

  .agent_img {
    width: 200px;
    height: 200px;
  }

  .main-ads {
    width: 100%;
  }

  .ads-table {
    display: block;
  }
}

/*END Main ads conainer media*/


@media only screen and (max-width : 1250px) {
  .ads-param-title {
    white-space: normal;
  }
}


/* Medium Devices, Desktops */
@media only screen and (max-width : 992px) {
  .action-buttons td:nth-child(2) {
    font-size: 14px;
  }
}


/* Medium Devices, Desktops */
@media only screen and (max-width : 992px) {
  .action-buttons td:nth-child(2) {
    font-size: 14px;
  }

}


/* Small Devices, Tablets */
@media only screen and (max-width : 768px) {
  body {
    font-size: 16px;
    margin: 0;
  }

  .ubuntu {
    font-size: 21px;
  }

  .publisher {
    margin-bottom: 10px;
  }


  .contacts_wrapper {
    margin-right: 0px;
    padding-right: 0px;
  }

  .avatar_container {
    text-align: center;
  }


  #ad_actions_wrapper {
    position: fixed;
    bottom: 0px;
    width: 100%;
    z-index: 100000;
    box-shadow: 0px 6px 10px 10px rgb(0 0 0 / 32%);
  }


  :root {
    --ap-bar-h: 68px;
  }

  body {
    padding-bottom: calc(var(--ap-bar-h) + env(safe-area-inset-bottom));
  }

  #mainicons {
    display: none;
    background-color: #ffffff;
    padding: 0 0 5px 0;
    margin: 0;
    border-radius: 0;
  }


  #actions_row {
    background-color: #f0f8ff;
    transition: background-color 0.2s;
  }

  .ad_actions_wrapper_open #actions_row {
    background-color: #ffffff;
  }


  #actions_row_flex,
  #own_row_flex {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    box-sizing: content-box;
    height: 48px;
    padding: 6px 8px calc(6px + env(safe-area-inset-bottom));
    margin: 0;
    background: transparent;
    pointer-events: none;
  }

  #actions_row_flex {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    padding-top: 14px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, #fff 100%);
  }

  #own_row_flex {
    position: relative;
    grid-template-columns: 1fr;
    padding-bottom: 6px;
    margin-bottom: calc(var(--ap-bar-h) + env(safe-area-inset-bottom));
  }

  .ad_actions_wrapper_open #own_row_flex {
    display: none;
  }

  #own_row_flex img {
    position: absolute;
    top: -160px;
    width: 200px;
  }

  #actions_row_flex>.btn,
  #own_row_flex>.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-sizing: border-box;
    min-width: 0;
    margin: 0;
    padding: 0 8px;
    font-size: 16px;
    line-height: 1.2;
    white-space: nowrap;
    border: 3px solid #fff;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3), 0 1px 3px rgba(0, 0, 0, 0.2);
    pointer-events: auto;
  }

  #actions_row_flex>.btn svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
  }

  #actions_row_flex>.btn>span {
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .ad_actions_wrapper_open #actions_row_flex>.btn--secondary {
    box-shadow: inset 0 3px 6px rgba(0, 0, 0, 0.25), 0 4px 14px rgba(0, 0, 0, 0.3), 0 1px 3px rgba(0, 0, 0, 0.2);
  }

  body:has(.contacts_wraper_fixed) #actions_row_flex>.btn--success {
    box-shadow: inset 0 3px 6px rgba(0, 0, 0, 0.25), 0 4px 14px rgba(0, 0, 0, 0.3), 0 1px 3px rgba(0, 0, 0, 0.2);
  }


  #apv_actions_wrapper_flex {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: calc(var(--z-modal, 300) + 1);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: background-color .28s ease;
  }

  #apv_actions_wrapper_flex.ad_actions_wrapper_open {
    top: 0;
    padding-top: 5vh;
    background: rgba(0, 0, 0, 0.4);
  }

  #apv_actions_wrapper_flex.ap-sheet-closing,
  .contacts_wraper_fixed.ap-sheet-closing {
    background: transparent;
  }


  .ad_actions_wrapper_open .ap-sheet,
  .contacts_wraper_fixed .ap-sheet {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    flex: 0 1 auto;
    min-height: 0;
    background: #fff;
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    animation: ap-sheet-in .28s ease;
  }

  .ap-sheet-closing .ap-sheet {
    animation: ap-sheet-out .28s ease forwards;
  }

  @keyframes ap-sheet-in {
    from {
      transform: translateY(100%);
    }
  }

  @keyframes ap-sheet-out {
    to {
      transform: translateY(100%);
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .ad_actions_wrapper_open .ap-sheet,
    .contacts_wraper_fixed .ap-sheet {
      animation: none;
    }
  }

  .ad_actions_wrapper_open .ap-sheet__head,
  .contacts_wraper_fixed .ap-sheet__head {
    display: block;
    flex: 0 0 auto;
    padding: 0 16px 12px;
    text-align: center;
    background: #fff;
    touch-action: none;
  }

  .ap-sheet__grip {
    display: block;
    width: 88px;
    height: 25px;
    margin: 0 auto;
    cursor: pointer;
  }

  .ap-sheet__grip::before {
    content: "";
    display: block;
    width: 40px;
    height: 5px;
    margin: 10px auto 0;
    border-radius: 3px;
    background: #c4c4c4;
  }

  .ap-sheet__title {
    display: block;
    color: var(--color-text);
    font-size: 18px;
    font-weight: bold;
    line-height: 1.3;
  }

  .ad_actions_wrapper_open .ap-sheet .contacts_wraper_items,
  .contacts_wraper_fixed .ap-sheet .contacts_wraper_items {
    flex: 1 1 auto;
    min-height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    overflow: auto;
    overscroll-behavior: contain;
  }

  .contacts_wraper_fixed .ap-sheet .contacts_wraper_items {
    padding: 0 var(--space-4) calc(var(--space-4) + var(--ap-bar-h) + env(safe-area-inset-bottom));
  }


  #apv_actions_wrapper_flex.ad_actions_wrapper_open #mainicons {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin: 0;
    padding: 4px 12px calc(12px + var(--ap-bar-h) + env(safe-area-inset-bottom));
    border: 0;
    border-radius: 0;
    background: #fff;
  }

  #mainicons .apv-action-btn {
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    min-height: 84px;
    padding: 10px 8px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: #fff;
    color: var(--color-text);
    font-size: 14px;
    line-height: 1.25;
    text-align: center;
    white-space: normal;
  }

  #mainicons .apv-action-btn:active {
    border-color: var(--color-secondary);
    background: rgba(25, 118, 210, 0.08);
  }

  #mainicons .apv-action-btn svg {
    width: 24px;
    height: 24px;
    margin: 0;
    color: var(--color-secondary);
  }

  #mainicons .apv-action-btn:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    flex-direction: row;
    min-height: 56px;
  }

  #mainicons .apv-action-btn.disabled {
    opacity: 1;
    background: #f7f7f7;
    color: var(--color-text-muted);
  }

  #mainicons .apv-action-btn.disabled svg {
    color: inherit;
  }


  .contacts_wraper {
    margin-left: 0;
    padding: 15px 0;
    /* background: #dff0ff; */

  }

  .contacts_wraper.contacts_wraper_fixed {
    padding: 5vh 0 0;
  }

  .contacts.header {
    background: none;
  }


  .contacts_wrapper_flex {
    padding: 15px 10px 10px 10px;
  }

  .contacts_wraper.contacts_wraper_fixed .publisher {
    display: none;
  }

  .ad_searches_links {
    display: block;
  }


  .phone-icon.white {
    background: white;
    color: #5cb85c;
    text-shadow: none;
  }


  #tcontainer {
    padding-right: 0;
    box-shadow: 0px 7px 5px rgb(0 0 0 / 20%);
    z-index: 1;
    margin-bottom: 0;
  }

  .ads-icons {
    display: block;
  }

  .big-img {
    padding: 0;
    margin-right: 0;
  }

  #headerlg {
    display: block;
  }

  .big-info  {
    /*text-align: center;*/
    overflow: hidden;
    vertical-align: middle;
    margin-top: 7px;
  }

  .big-info h1 {
    padding: 12px 8px 12px 8px;
    text-align: center;
  }

  .big-info h2 {
    padding: 0 8px;
    text-align: center;
  }

  .obqva-block {

  }

  .Lobster {
    font-size: 28px;
  }

  .icon-action {
    padding-left: 0;
    width: 45px;
    height: 45px;
    padding-right: 10px;
    margin-left: 10px;
  }


  .icon-action-small {
    vertical-align: bottom;
  }

  img.icon-action-small {
    padding-left: 0;
    width: 30px;
    height: 30px;
    padding-right: 0;
    vertical-align: bottom;
  }

  span.icon-action-small {
    font-size: 25px;
  }

  .action-buttons {
    height: 40px;
    /*border-top: solid 1px #eee;*/
    padding: 7px;
  }

  .action-buttons td:nth-child(2) {
    width: 100%;
    font-size: 16px;
  }

  .apv-action-btn {
    display: flex;
    margin: 0;
    box-shadow: none;
    background-color: white;
    border-radius: 0;
    font-size: var(--font-size-base);
  }

  .small-headline {
    text-align: center;
    font-size: 11px;
    line-height: 11px;
    text-transform: uppercase;
    letter-spacing: 0px;
    font-weight: normal;
  }

  .ads-params-table {
    display: block;
    text-align: left;
    max-width: 100%;
  }

  .ads-params-table>div:nth-of-type(even) {
    background: -webkit-gradient(linear, left top, right top, from(#f0f8ff), to(#ffffff));
    background: linear-gradient(to right, #f1f1f1, #ffffff)
  }


  .ads-params-row {
    display: block;
    /*margin-top: 3px;*/
    padding-top: 9px;
    padding-bottom: 9px;
    padding-right: 6px;
    overflow: hidden !important;
    text-overflow: ellipsis;
    padding-left: 6px;
    border-bottom: 1px solid #e0e0e0;
  }

  .multi-value-row {
    display: inline-block;
  }

  .ads-params-cell {

  }

  .ads-param-title {
    padding-right: 0;
    padding-left: 0;
    white-space: normal;
    background-color: inherit;
    font-size: 15px;
    border-bottom: none;
    float: right;
    color: rgb(0 0 0 / 52%);
    margin-left: 20px;
    margin-top: -4px;
    text-align: right;
  }

  .multi-value-row {

  }

  .ads-params-multi {
    margin: 0 14px 6px 0;
  }

  .personal-message {
    border-right: none;
    min-height: auto;
  }


  .contacts {
    border-left: none;
  }

  .coment-header {
    margin: 0;
  }

  .no-padding>[class*='col-'] {
    padding-left: 0;
    padding-right: 0;
  }

  .new-row-phone {
    display: block;
  }

  .banner-bottom {
    padding: 0;
    padding-top: 10px;
    margin: 20px 0 50px 0;
  }

  .ads-params-price {
    font-size: 23px;
  }


  .more-user-ads {
    --adc-min: 55vw;
  }

  div.ad_block_rklm {
    width: 58%;
    white-space: normal;
    display: inline-block;
    float: none;
  }

  .offer {
    margin-top: 5px;

  }

  .labelform {
    display: none;
  }

  .modal-title {
    font-size: 15px;
  }

  .more-info {
    clear: both;
    display: block;
  }

  .more-info>div {
    display: block;
  }


  .more-info .ubuntu {
    padding: 0 0 10px;
  }

  .more-info p {
    padding: 10px 0 2px;
  }

  .more-info .show-comments {
    margin: 0;
  }

  #collapsecomments {
    padding: 10px;
  }

  #collapsecomments:empty {
    padding: 0;
  }

  .languages {
    position: absolute;
    left: 0;
    bottom: -22px;
    z-index: 2;
    margin: 0;
  }

  .languages img {
    height: 24px !important;
  }

  .languages #realestates-icon,
  .languages #topescort-icon {
    display: none;
  }

  .images .image {
    margin: 4px;
    max-width: 160px;
    height: 120px;
  }

  .indicativeyear {
    display: block;
    text-align: left;
    color: rgb(0 0 0 / 52%);
  }


  /*START comments    */
  .reviewbar {
    width: 100%;
    margin: 0;
    font-size: 14px;
    margin-bottom: 3px;
    padding-left: 6px;
    padding-top: 20px;
  }

  .answer {
    padding-top: 20px;
    margin: 5px 10px;
  }

  /*END comments    */


  /*START more ads*/
  .block-ads {
    margin-left: 0;
  }

  /*END more ads*/
}


@media only screen and (max-width : 350px) {

  img.icon-action-small {
    width: 25px;
    height: 25px;
  }

  .hidden-under350px {
    display: none;
  }

}

/* Custom, iPhone Retina */
@media only screen and (max-width : 320px) {

  .images .image {
    margin: 4px;
    max-width: 152px;
    height: 114px;
  }

  .icon-contacts {
    margin-right: 5px;
    margin-bottom: 4px;
  }

  .contacts {
    font-size: 20px;
  }

  .padding-sm {
    margin-left: 10px;
    margin-right: 10px;
  }

  .help-block {
    font-size: 14px;
  }
}

/*below was inline*/
.spacer-30 {
  content: '';
  padding-left: 30px !important;
}


.info {
  color: #fff;
  margin: 0 0 5px;
  font-weight: normal;
  font-size: 22px;
  font-style: normal;
}

#adv_zone_bottom_wrap {
  margin-top: 10px;
  width: 100%;
  height: 90px;
  padding: 0;
  overflow: hidden;
  position: relative;
}

#adv_zone_bottom_iframe {
  width: 728px;
  /*height: 90px;*/
  position: absolute;
  -ms-transform: scale(0.25);
  -moz-transform: scale(0.25);
  -o-transform: scale(0.25);
  -webkit-transform: scale(0.25);
  transform: scale(0.25);
  left: 0px;
  top: 0px;
  right: 0px;
  bottom: 0px;
  border: 0;
  -ms-transform-origin: 0 0;
  -moz-transform-origin: 0 0;
  -o-transform-origin: 0 0;
  -webkit-transform-origin: 0 0;
  transform-origin: 0 0;
}

.iframe-300x250 {
  height: 250px;
  padding: 0;
  overflow: hidden;
}


.action-buttons:hover img,
.action-buttons:hover i {
  transition: All .2s ease;
  -webkit-transition: All .2s ease;
  -moz-transition: All .2s ease;
  -o-transition: All .2s ease;
}

.action-buttons:hover img,
.action-buttons:hover i {
  -ms-transform: scale(1.20);
  -moz-transform: scale(1.20);
  -o-transform: scale(1.20);
  -webkit-transform: scale(1.20);
  transform: scale(1.20);
}

/* facebook google+ tweeter font*/
@font-face {
  font-family: 'FontAwesome';
  src: url('/template/fonts/fontawesome-webfont.eot?v=4.5.0');
  src: url('/template/fonts/fontawesome-webfont.eot?#iefix&v=4.5.0') format('embedded-opentype'), url('/template/fonts/fontawesome-webfont.woff2?v=4.5.0') format('woff2'), url('/template/fonts/fontawesome-webfont.woff?v=4.5.0') format('woff'), url('/template/fonts/fontawesome-webfont.ttf?v=4.5.0') format('truetype'), url('/template/fonts/fontawesome-webfont.svg?v=4.5.0#fontawesomeregular') format('svg');
  font-weight: normal;
  font-style: normal
}

.fa,
.fa-share-alt {
  display: inline-block;
  font: normal normal normal 14px/1 FontAwesome;
  font-size: inherit;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale
}

.fa-twitter:before {
  content: "\f099"
}

.fa-facebook-f:before,
.fa-facebook:before {
  content: "\f09a"
}

.fa-google-plus:before {
  content: "\f0d5"
}

.fa-share-alt:before {
  content: "\f1e0";
}


.blinking_promote {
  animation-name: blinking_promote_animation;
  animation-duration: 1s;
  animation-iteration-count: infinite;
}

@keyframes blinking_promote_animation {
  0% {
    opacity: 1
  }

  40% {
    opacity: 1
  }

  50% {
    opacity: 0
  }

  60% {
    opacity: 1
  }

  100% {
    opacity: 1
  }
}


.lo-min-hide-mobile {
  min-height: 200px;
  min-width: 350px;
}

.inpreview-image-4k {
  height: 30px;
  position: absolute;
  right: 2px;
  bottom: 2px;
  pointer-events: none;
}

.inpreview-image-4k-small {
  height: 14px;
  position: absolute;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

ol.nbc_ol .nbc_obqva {
  font-weight: bold;
}

ol.nbc_ol .nbc_obqva br {
  display: none;
}


ol.nbc_ol .nbc_sledobqva {
  width: 60px;
  display: inline-block;
}

@media screen and (max-width:768px) {

  .lo-min-hide-mobile {
    min-height: 2px;
    width: 100%;
  }

  .hide-on-mobile {
    display: none;
  }

  ol.nbc_ol {
    white-space: nowrap;
    width: 100%;
    display: block;
    overflow-x: auto;
  }

  ol.nbc_ol .nbc_obqva {
    margin: 6px 0 1px 0;
    line-height: 28px;
  }

  ol.nbc_ol .nbc_obqva br {
    display: initial;
  }


}

@media print {
  span#span_bc_rub {
    display: inline !important;
  }

  div.images {
    white-space: normal !important;
  }

  .personal-message,
  .contacts {
    border: none;
  }

  .more-info {
    display: inline;
  }

  .more-info+div {
    display: inline;
  }

  #main_image_img {
    padding-right: 5px;
  }

}


/*START  New Contacts*/
.phone-icon {
  font-size: 25px;
  background: #1fd51f;
  border-radius: 50%;
  display: inline-flex;
  justify-content: center;
  align-content: center;
  padding: 14px;
  flex-wrap: wrap;
  color: white;
  width: 25px;
  height: 25px;
  font-size: 20px;
  margin: 3px 6px 3px 6px;

}

.avatar_container {
  float: left;
  margin-right: 10px;
  max-width: 150px;
}


.contact_phone .contact_phone_view {
  padding: 8.5px;
  top: 0px;
  bottom: 0px;
  background: #1fd51f;
  color: white;
  position: absolute;
  right: 0px;
}


.contact_phone {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-3);
    border: none;
    border-radius: var(--radius-md);
    background: var(--color-success);
    color: #fff;
    cursor: pointer;
    transition: background 0.15s;
}

.contact_phone:hover {
  background: #388E3C;
  color: #fff;
}

.contact_phone:hover img {
  filter: invert(100%);
}

.contacts-all-flex {
  display: flex;
  /*width: 100%;*/
  /*background: #f1f8ff;*/
  /*padding-left: 15px;*/
}

.contacts-all-flex .contacts,
.contacts-all-flex .personal-message {
  border: none;
}

.contacts-all-flex .icon-contacts {
  margin: 3px 6px 3px 6px;
}


/* ============================================
   fm_calendar inside ad_preview dialog
   Dialog wrapper styles are in base.css (.ui-dialog--new)
   ============================================ */

/* Override base.css: calendar needs zero content padding */
.ui-dialog--new .ui-dialog-content:has(#fm_calendar_wrapper_ad) {
	padding: 0 !important;
}

.info-bullet {
	margin-top: 10px;
}

/* ---- Calendar wrapper inside dialog ---- */
#fm_calendar_wrapper_ad {
	background: #fff;
	padding: 0;
}

#fm_calendar_wrapper_ad .fm_calendar_wrapper_back {
	background: #fff !important;
	padding: var(--space-5) var(--space-4) var(--space-4) !important;
	position: relative;
	overflow: visible;
}

#fm_calendar_wrapper_ad .fm_calendar_wrapper_back::before {
	content: none !important;
}

#fm_calendar_wrapper_ad .fm_calendar_wrapper {
	width: 100%;
	margin: 0;
	background: none;
	overflow: visible;
}

/* ---- Search card — single column, each field on its own row ---- */
#fm_calendar_wrapper_ad .fm_calendar {
	display: flex !important;
	flex-direction: column;
	gap: var(--space-3);
	width: 100%;
	max-width: 100%;
	background: #fff;
	border-radius: 0;
	padding: 0;
	box-shadow: none;
	text-align: left;
	overflow: visible;
}

#fm_calendar_wrapper_ad .fm_calendar > .fm_flex-break {
	display: none;
}

/* Hide "Престой" days counter - not needed in new design */
#fm_calendar_wrapper_ad #fm_calendar_row_days {
	display: none !important;
}

#fm_calendar_wrapper_ad .fm_calendar_row {
	display: block !important;
	margin: 0 !important;
	width: 100% !important;
	min-width: 0;
	max-width: 100%;
	flex: unset !important;
	flex-basis: unset !important;
	float: none !important;
}

#fm_calendar_wrapper_ad .fm_calendar_row:not(:first-child) {
	margin: 0 !important;
}

/* Override fm_calendar.css mobile rules that force dates side-by-side */
#fm_calendar_wrapper_ad #fm_calendar_date_from,
#fm_calendar_wrapper_ad #fm_calendar_date_to {
	width: 100% !important;
	display: block !important;
	float: none !important;
	margin: 0 !important;
}

/* ---- Labels ---- */
#fm_calendar_wrapper_ad .fm_calendar_title {
	padding-left: 2px;
	color: var(--color-text);
	font-size: var(--font-size-sm);
	font-weight: var(--font-weight-bold);
	text-shadow: none;
	margin-bottom: var(--space-1);
}

/* ---- Inputs & selects ---- */
#fm_calendar_wrapper_ad .fm_calendar .form-control,
#fm_calendar_wrapper_ad .fm_calendar input[type="text"],
#fm_calendar_wrapper_ad .fm_calendar input.fm_calendar_date,
#fm_calendar_wrapper_ad .fm_calendar select.fm_calendar_select,
#fm_calendar_wrapper_ad .fm_calendar select#km,
#fm_calendar_wrapper_ad .fm_calendar #city_or_region,
#fm_calendar_wrapper_ad .fm_calendar #nsht_search {
	border: 1.5px solid var(--color-border) !important;
	border-radius: var(--radius-md) !important;
	background: #fff !important;
	color: var(--color-text) !important;
	transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

#fm_calendar_wrapper_ad .fm_calendar .form-control:focus,
#fm_calendar_wrapper_ad .fm_calendar input[type="text"]:focus,
#fm_calendar_wrapper_ad .fm_calendar input.fm_calendar_date:focus,
#fm_calendar_wrapper_ad .fm_calendar select.fm_calendar_select:focus,
#fm_calendar_wrapper_ad .fm_calendar select#km:focus,
#fm_calendar_wrapper_ad .fm_calendar #city_or_region:focus,
#fm_calendar_wrapper_ad .fm_calendar #nsht_search:focus {
	outline: none;
	border-color: var(--color-secondary) !important;
	box-shadow: 0 0 0 3px rgba(25, 118, 210, 0.1) !important;
}

/* Location field + km dropdown side by side */
#fm_calendar_wrapper_ad .fm_calendar #city_or_region {
	width: calc(100% - 88px) !important;
}

#fm_calendar_wrapper_ad .fm_calendar #locationkm {
	margin-left: var(--space-2);
}

/* Persons select full width */
#fm_calendar_wrapper_ad #ncal_persons {
	max-width: none;
	width: 100%;
}

/* ---- Search button row ---- */
#fm_calendar_wrapper_ad .fm_calendar > .fm_calendar_row:last-child {
	display: flex !important;
	gap: var(--space-2);
	align-items: stretch;
}

#fm_calendar_wrapper_ad .fm_calendar #ncal_button,
#fm_calendar_wrapper_ad .fm_calendar #ncal_button.btn {
	flex: 1 1 auto !important;
	width: 100% !important;
	margin: 0 !important;
	background: var(--color-primary) !important;
	border: none !important;
	border-radius: var(--radius-md);
	font-weight: var(--font-weight-bold);
	font-family: inherit;
	color: #fff !important;
	min-height: 44px;
	transition: background var(--transition-fast);
}

#fm_calendar_wrapper_ad .fm_calendar #ncal_button:hover {
	background: var(--color-primary-dark) !important;
}

#fm_calendar_wrapper_ad .fm_calendar #ncal_button:disabled,
#fm_calendar_wrapper_ad .fm_calendar #ncal_button.disabled {
	background: var(--color-primary-light) !important;
	opacity: 0.5;
	color: #fff !important;
}

/* Map icon button */
#fm_calendar_wrapper_ad .fm_calendar_row img[src*="map_icon"] {
	width: 42px;
	border: 1.5px solid var(--color-border);
	border-radius: var(--radius-md);
	padding: 4px;
	background: #fff;
	filter: grayscale(0.15);
	transition: all var(--transition-fast);
}

#fm_calendar_wrapper_ad .fm_calendar_row img[src*="map_icon"]:hover {
	border-color: var(--color-secondary);
	background: rgba(25, 118, 210, 0.04);
	filter: grayscale(0);
}

/* ---- Location hints dropdown ---- */
#fm_calendar_wrapper_ad .city_or_region_info {
	font-size: var(--font-size-sm);
	min-width: auto;
	padding: var(--space-2) var(--space-3);
}

#fm_calendar_wrapper_ad .city_or_region_info div {
	font-size: var(--font-size-sm);
}

#fm_calendar_wrapper_ad #city_or_region_results {
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-lg);
	border: 1px solid var(--color-border);
	z-index: 10;
}


#textareapersonalmsg[disabled] {
  background: white;
}

/* ============================================
   Private-message block — общ визуален език за:
   - .pm-guest (нелогнат потребител)
   - .pm-active (логнат + разрешени съобщения, обвива етикет + #message_form)
   - .pm-guest--disabled (деактивирани съобщения)
   ============================================ */
.pm-guest,
.pm-active {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-4);
  background: var(--color-bg-light-gray);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.pm-guest__head,
.pm-active__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.pm-guest__title,
.pm-active__title {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text);
  line-height: var(--line-height-tight);
}

.pm-guest__title .fa,
.pm-active__title .fa {
  color: var(--color-text-secondary);
  font-size: 1.05em;
}

/* в pm-active формата вече е директно дете на контейнера —
   gap-ът на флекс контейнера дава отстояние между title и form */
.pm-active #message_form {
  margin: 0;
}

.pm-field {
  display: block;
  width: 100%;
  min-height: 88px;
  padding: var(--space-3) var(--space-4);
  background: #fff;
  border: 1px solid var(--color-border-dark);
  border-radius: var(--radius-md);
  box-shadow: none;
  color: var(--color-text);
  font-family: var(--font-family);
  font-size: var(--font-size-sm);
  line-height: var(--line-height-normal);
  resize: vertical;
}

.pm-field::placeholder {
  color: #a79b82;
  opacity: 1;
}

.pm-field:focus {
  outline: none;
  background: #fff;
  border-color: #1f1f1f;
}

.pm-cv {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  min-width: 0;
  max-width: 500px;
}

.pm-cv__label {
  margin: 0;
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  color: var(--color-text);
}

.pm-cv__row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  min-width: 0;
}

.pm-cv__select {
  flex: 1 1 180px;
  min-width: 0;
  height: 36px;
  padding: 0 var(--space-3);
  background-color: #fff;
  border: 1px solid var(--color-border-dark);
  border-radius: var(--radius-md);
  color: var(--color-text);
  font-family: var(--font-family);
  font-size: var(--font-size-sm);
  text-overflow: ellipsis;
}

.pm-cv__select:focus {
  outline: none;
  border-color: #1f1f1f;
}

.pm-guest__btn svg {
  width: 1.1em;
  height: 1.1em;
  flex-shrink: 0;
}


.pm-guest__req {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--font-size-xs);
  color: var(--color-text-secondary);
  white-space: nowrap;
}

.ap-name-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-3);
}

.ap-since {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 2px var(--space-3) 2px 2px;
  background: #e6f4ea;
  border-radius: var(--radius-full);
  color: #1e7b34;
  font-size: var(--font-size-sm);
  font-weight: normal;
  line-height: 1.2;
  white-space: nowrap;
}

.ap-since__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #1e7b34;
  color: #fff;
  flex-shrink: 0;
}

.ap-since__icon svg {
  width: 12px;
  height: 12px;
}

.pm-guest__preview {
  min-height: 72px;
  padding: var(--space-3) var(--space-4);
  background: var(--color-bg-dark-gray);
  border: 1px solid var(--color-border-dark);
  border-radius: var(--radius-md);
  color: #a79b82;
  font-family: var(--font-family);
  font-size: var(--font-size-sm);
  line-height: var(--line-height-normal);
  user-select: none;
  pointer-events: none;
}

.pm-guest__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.pm-guest__btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-md);
  font-family: var(--font-family);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  line-height: 1;
  text-decoration: none;
  transition: background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
  cursor: pointer;
  min-height: 36px;
}

.pm-guest__btn .fa {
  font-size: 1em;
}

.pm-guest__btn--primary {
  background: #1f1f1f;
  border: 1px solid #1f1f1f;
  color: #fff;
}

.pm-guest__btn--primary:hover,
.pm-guest__btn--primary:focus {
  background: #000;
  border-color: #000;
  color: #fff;
  text-decoration: none;
}

.pm-guest__btn--secondary {
  background: #fff;
  border: 1px solid #d9d2c1;
  color: var(--color-text);
}

.pm-guest__btn--secondary:hover,
.pm-guest__btn--secondary:focus {
  background: #faf6ec;
  border-color: #bfb59d;
  color: var(--color-text);
  text-decoration: none;
}

.pm-guest__note {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--font-size-xs);
  color: var(--color-text-secondary);
  line-height: var(--line-height-normal);
}

.pm-guest__note .fa {
  color: var(--color-text-muted);
}

@media (max-width: 480px) {
  .pm-guest__btn {
    flex: 1 1 auto;
    justify-content: center;
  }
}

/* ============================================
   Мини-календар за наличност (calendar/calendar.php → getSmallCalendar)
   Същият визуален език като .ui-datepicker--new в base.css —
   тъмен header, кръгли prev/next, pill-чета за дните
   ============================================ */
.minicalendar {
  display: inline-block;
  box-sizing: border-box;
  width: 100%;
  max-width: 280px;
  font-family: var(--font-family);
  font-size: var(--font-size-sm);
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  vertical-align: top;
}

.minicalendar * {
  box-sizing: border-box;
}

/* Header — тъмна лента, копира .ui-datepicker--new header-а */
.minicalendar-title {
  position: relative;
  background: var(--color-text);
  color: #fff;
  text-align: center;
  padding: var(--space-3) var(--space-4);
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-base);
  line-height: 1.4;
  text-shadow: none;
}

/* Кръгли prev/next бутони (PHP-то им слага inline left/right в px) */
.minicalendar-title button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  padding: 0;
  margin: 0;
  border: none;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-base);
  line-height: 1;
  transition: background var(--transition-fast);
}

.minicalendar-title button:hover {
  background: rgba(255, 255, 255, 0.2);
}

.minicalendar-title button:disabled {
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.3);
  cursor: not-allowed;
}

/* Дни от седмицата — uppercase muted, като в datepicker-а */
.dayofweeks-name {
  color: var(--color-text-muted);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-semibold);
  text-transform: uppercase;
  line-height: 28px;
}

.minicalendar-body {
  clear: both;
  padding: var(--space-2) var(--space-3) var(--space-3);
  text-align: center;
}

.minicalendar-week {
  display: flex;
  width: 100%;
}

.minicalendar-day {
  flex: 1 1 14.2857%;
  width: 14.2857%;
  position: relative;
  padding: 1px;
  margin: 0;
  border: none;
  color: var(--color-text);
  line-height: 1;
}

.minicalendar-weekends {
  color: var(--color-primary);
}

/* Самият pill за деня — вътрешният div носи цвета на наличност */
.minicalendar-daytype {
  margin: 0;
  padding: 6px 0;
  border-radius: var(--radius-md);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  transition: background var(--transition-fast);
}

/* Избран период — рамка като .ui-state-active */
.minicalendar-selectedday {
  font-weight: var(--font-weight-bold);
}

.minicalendar-selectedday .minicalendar-daytype {
  outline: 2px solid var(--color-text);
  outline-offset: -2px;
}

/* Днешният ден — болднат */
.minicalendar-today .minicalendar-daytype {
  font-weight: var(--font-weight-bold);
}

/* Минали дни — заглушени */
.minicalendar-pastday {
  opacity: 0.55;
}

.minicalendar-pastday .minicalendar-daytype {
  background: var(--color-border-light);
  color: var(--color-text-muted);
  font-weight: var(--font-weight-normal);
}

/* Дни от друг месец */
.minicalendar-othermonth {
  opacity: 0.5;
  font-weight: var(--font-weight-normal);
}

/* Състояния на наличност — по-меки тонове, в духа на новия дизайн */
.minicalendar-busyday {
  background: #fde0e0;
  color: #b71c1c;
}

.minicalendar-dayavailable {
  background: #d8f0d8;
  color: #1b5e20;
}

.minicalendar-unknownday {
  background: var(--color-border-light);
  color: var(--color-text-secondary);
}

/* Полу-зает (вечерно заето) — диагонален градиент с меките цветове */
.minicalendar-busyday-evening {
  background: linear-gradient(110deg, #d8f0d8 0%, #d8f0d8 60%, #fde0e0 70%, #fde0e0 100%);
  color: var(--color-text);
}

.minicalendar-note {
  font-style: italic;
  padding: var(--space-1) var(--space-3);
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
}

/* Легенда — извън картата, отдясно на десктоп, под нея на мобилно */
.minicalendar-legend {
  display: inline-block;
  vertical-align: top;
  margin-top: var(--space-3);
  margin-left: var(--space-4);
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  text-align: left;
}

.minicalendar-legend > div {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-1);
  line-height: 1.6;
}

.minicalendar-legend > div > span {
  display: inline-block;
  width: 22px;
  height: 14px;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  /* HTML-ът от PHP слага &nbsp;-чарове вътре в swatch-а — крием ги */
  overflow: hidden;
  font-size: 0;
  line-height: 0;
}

/* Swatch за "избрани дати" в легендата — бял pill с тъмна рамка */
.minicalendar-legend .minicalendar-selectedday {
  outline: 2px solid var(--color-text);
  outline-offset: -2px;
  background: var(--color-surface);
  font-weight: var(--font-weight-normal);
  opacity: 1;
}

/* Легенда: inline-block винаги — стои отдясно ако има място,
   и пада под календара по естествен flow когато няма */
@media all and (max-width: 768px) {
  .minicalendar {
    max-width: none;
  }

  .minicalendar-legend {
    margin-left: 0;
  }
}

@media only screen and (min-width : 993px) {
  .ads-params-table {
    font-size: var(--font-size-base);
  }

  .ads-params-row {
    padding: 5px var(--space-4);
    font-size: var(--font-size-base);
  }

  .ads-params-cell {
    padding-left: 0;
  }

  .ads-param-title {
    width: 210px;
    min-width: min-content;
    padding-right: var(--space-3);
    font-size: 15px;
    font-weight: var(--font-weight-normal);
  }

  .ads-params-single {
    font-weight: var(--font-weight-medium);
  }

  .ads-params-price {
    font-size: 24px;
  }

  .ads-params-price-sub {
    font-size: 15px;
  }

  .ads-params-note,
  .indicativeyear {
    font-size: var(--font-size-sm);
  }

  .indicativeyear {
    color: var(--color-text-secondary);
  }

  .multi-value-row {
    gap: 6px;
  }

  .ads-params-multi {
    padding: 2px 8px;
    font-size: var(--font-size-sm);
    border-color: var(--color-border-dark);
  }

  .validuntil {
    padding: 0 var(--space-4);
  }

  .ubuntu {
    font-size: var(--font-size-base);
  }

  .more-info p {
    font-size: var(--font-size-base);
  }

  .apv-action-btn {
    font-size: var(--font-size-sm);
  }

  a.ad_searches_link {
    font-size: var(--font-size-sm);
  }

  .pm-guest__req {
    font-size: var(--font-size-sm);
  }
}

@media only screen and (max-width : 992px) {
  .ads-params-table {
    font-size: 17px;
  }

  .ads-params-row {
    padding-left: var(--space-4);
    padding-right: var(--space-4);
    font-size: 17px;
  }

  .ads-param-title {
    width: auto;
    max-width: 50%;
    margin-top: 0;
  }

  .ads-params-single img {
    vertical-align: middle;
  }

  .ads-params-price {
    font-size: 24px;
  }

  .ads-params-price-sub {
    font-size: 15px;
  }

  .ads-params-note,
  .indicativeyear {
    font-size: var(--font-size-sm);
  }

  .ubuntu {
    font-size: var(--font-size-lg);
  }

  .more-info p {
    font-size: var(--font-size-base);
  }

  a.ad_searches_link {
    font-size: 13px;
  }

  .pm-guest__req {
    font-size: var(--font-size-sm);
  }
}

.rnw {
  --rnw-ink: #1b1f27;
  --rnw-muted: #6b7280;
  --rnw-line: #e3e6ec;
  --rnw-card: #f5f6f8;
  --rnw-blue: #1f6fd8;
  --rnw-blue-dark: #1a5fc0;
  --rnw-blue-soft: #f5f9ff;
  --rnw-ok: #2e7d32;
  --rnw-danger: #c62828;
  --rnw-link: #1a5fd0;
  color: var(--rnw-ink);
  font-size: 14px;
  line-height: 1.45;
  text-align: left;
}

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

.rnw a,
.rnw a:visited {
  color: var(--rnw-link);
}

.rnw-notice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 18px 0;
  padding: 14px 16px;
  border-radius: 12px;
  background: #FFF4E5;
  color: #7A4A07;
  font-size: 15px;
  line-height: 1.5;
}

.rnw-notice b {
  font-weight: 700;
}

.rnw-notice-icon {
  display: flex;
  flex: 0 0 auto;
  margin-top: 2px;
  color: #B45309;
}

.rnw-notice-icon svg {
  width: 18px;
  height: 18px;
}

.rnw-info {
  margin-top: 6px;
  font-size: 13px;
}

.rnw-lead {
  margin: 0 0 12px 0;
  color: #1F2733;
  font-size: 17px;
  font-weight: 700;
}

.rnw-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rnw-opt {
  position: relative;
  border: 1.5px solid var(--rnw-line);
  border-radius: 12px;
  background: var(--rnw-card);
  transition: border-color 0.15s, background-color 0.15s;
}

.rnw-opt:hover {
  border-color: #c9ced6;
}

.rnw-opt.is-selected {
  border-color: var(--rnw-blue);
  background: var(--rnw-blue-soft);
}

.rnw-opt:has(input:focus-visible) {
  outline: 2px solid var(--rnw-blue);
  outline-offset: 2px;
}

.rnw-opt-head {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 62px;
  margin: 0;
  padding: 11px 14px 11px 12px;
  cursor: pointer;
  font-weight: normal;
}

.rnw-opt-head input[type=radio] {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  opacity: 0;
  pointer-events: none;
}

.rnw-opt-icon {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  color: #4b5260;
  transition: background-color 0.15s, color 0.15s;
}

.rnw-opt-icon svg {
  width: 18px;
  height: 18px;
}

.rnw-opt.is-selected .rnw-opt-icon {
  background: var(--rnw-blue);
  color: #fff;
}

.rnw-opt-body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.rnw-opt-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
}

.rnw-opt-sub {
  font-size: 13px;
  color: var(--rnw-muted);
}

.rnw-opt-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 4px;
}

.rnw-opt-price {
  flex: none;
  font-size: 15px;
  font-weight: 800;
  white-space: nowrap;
}

.rnw-opt-price--free {
  color: var(--rnw-ok);
}

.rnw-form {
  margin: 0;
}

.rnw-panel {
  margin: 0 14px 0 64px;
  padding: 10px 0 12px 0;
  border-top: 1px solid var(--rnw-line);
}

.rnw-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  padding: 4px 0;
}

.rnw-k {
  flex: 0 0 130px;
  font-size: 13px;
  color: var(--rnw-muted);
}

.rnw-v {
  flex: 1 1 auto;
  min-width: 0;
}

.rnw-off {
  color: var(--rnw-danger);
}

.rnw-period {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.rnw-period input[type=text] {
  height: 34px;
  margin: 0;
  padding: 0 8px;
  border: 1px solid #d4d8df;
  border-radius: 8px;
  background: #fff;
  font: inherit;
  color: var(--rnw-ink);
}

.rnw-period input[type=text]:focus {
  border-color: var(--rnw-blue);
  outline: none;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--rnw-blue) 18%, transparent);
}

.rnw-days {
  width: 56px;
  text-align: right;
}

.rnw-date {
  width: 112px;
}

.rnw-err:empty {
  display: none;
}

.rnw-err {
  margin-top: 4px;
  font-size: 13px;
  color: var(--rnw-danger);
}

.rnw-balance {
  margin-top: 6px;
  font-size: 13px;
  color: var(--rnw-muted);
}

.rnw-balance b {
  color: var(--rnw-ink);
}

.rnw-note {
  margin-top: 8px;
  font-size: 13px;
}

.rnw-note summary {
  color: var(--rnw-link);
  cursor: pointer;
}

.rnw-note p {
  margin: 6px 0 0 0;
  font-size: 12px;
  color: var(--rnw-muted);
}

.rnw-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 48px;
  margin-top: 16px;
  padding: 0 16px;
  border: none;
  border-radius: 14px;
  background: var(--rnw-blue);
  color: #fff;
  font-family: inherit;
  font-size: 17px;
  font-weight: 800;
  cursor: pointer;
  transition: background-color 0.15s, opacity 0.15s;
}

.rnw-cta svg {
  width: 20px;
  height: 20px;
}

.rnw-cta:hover {
  background: var(--rnw-blue-dark);
}

.rnw-cta:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  background: var(--rnw-blue);
}

.rnw-foot {
  margin-top: 12px;
  font-size: 13px;
}

.rnw-foot ul {
  display: flex;
  gap: 16px;
  margin: 0 0 4px 0;
  padding: 0;
  list-style: none;
}

.rnw-status {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 18px 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--rnw-card);
  font-size: 15px;
}

.rnw-status b {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.rnw-status-icon {
  display: flex;
  flex: 0 0 auto;
  margin-top: 2px;
  color: var(--rnw-blue);
}

.rnw-status-icon svg {
  width: 18px;
  height: 18px;
}

.rnw-status-sub {
  display: block;
  color: var(--rnw-muted);
  font-size: 13px;
}

.rnw-status--off {
  background: #FDECEC;
}

.rnw-status--off .rnw-status-icon,
.rnw-status--off .rnw-status-sub {
  color: var(--rnw-danger);
}

.rnw-lead--center {
  text-align: center;
}

.rnw-pills {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
  gap: 8px;
}

.rnw .rnw-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-height: 72px;
  padding: 12px 8px;
  border: 1.5px solid var(--rnw-line);
  border-radius: 12px;
  background: var(--rnw-card);
  color: var(--rnw-ink);
  text-align: center;
  text-decoration: none;
  transition: border-color 0.15s, background-color 0.15s, color 0.15s, opacity 0.15s;
}

.rnw .rnw-pill:hover {
  border-color: var(--rnw-blue);
  background: var(--rnw-blue-soft);
}

.rnw .rnw-pill:focus-visible {
  outline: 2px solid var(--rnw-blue);
  outline-offset: 2px;
}

.rnw-pill-days {
  font-size: 18px;
  font-weight: 700;
  white-space: nowrap;
}

.rnw-pill-date {
  color: var(--rnw-muted);
  font-size: 13px;
  font-weight: 300;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.rnw .rnw-pill.is-selected {
  border-color: var(--rnw-blue);
  background: var(--rnw-blue);
  color: #fff;
}

.rnw-pill.is-selected .rnw-pill-date {
  color: rgba(255, 255, 255, 0.85);
}

.rnw-pills.is-busy {
  pointer-events: none;
}

.rnw-pills.is-busy .rnw-pill:not(.is-selected) {
  opacity: 0.45;
}

@media (max-width: 480px) {
  .rnw-opt-head {
    gap: 10px;
    padding-right: 12px;
  }

  .rnw-opt-title {
    font-size: 15px;
  }

  .rnw-panel {
    margin-left: 12px;
    margin-right: 12px;
  }

  .rnw-k {
    flex-basis: 100%;
  }

  .rnw-pills {
    grid-template-columns: repeat(auto-fit, minmax(92px, 1fr));
    gap: 6px;
  }

  .rnw-pill-days {
    font-size: 16px;
  }

  .rnw-pill-date {
    font-size: 12px;
  }
}
