/*
Theme name: Red Room Escort
*/

body {
  background-color: #02293d;
  color: white;
}

.rr-price-convert {
  white-space: nowrap;
}

.custom-img {
  margin: 0 auto;
  object-fit: cover;
}

html,
body {
  min-height: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body > main {
  flex: 1 0 auto;
}

.rr-city-picker > summary::-webkit-details-marker {
  display: none;
}

.rr-city-picker > summary {
  list-style: none;
}

.rr-city-panel {
  z-index: 80;
  width: min(420px, calc(100vw - 32px));
  max-height: calc(100vh - 104px);
  overflow: auto;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 8px;
  background: #0e181b;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .35);
}

.rr-city-picker-desktop .rr-city-panel {
  position: fixed;
  top: 78px;
  right: 16px;
  bottom: 16px;
  max-height: none;
}

.rr-city-picker-desktop .rr-city-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rr-city-picker-mobile .rr-city-panel {
  width: min(92vw, 360px);
}

.rr-city-picker-desktop {
  margin-right: 24px;
  flex: 0 0 auto;
}

.rr-city-picker-desktop > summary {
  padding-right: 4px;
}

.rr-city-panel-head {
  position: sticky;
  top: -12px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: -12px -12px 10px;
  padding: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, .10);
  background: #0e181b;
}

.rr-city-panel-title {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
}

.rr-city-panel-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 7px;
  color: rgba(255, 255, 255, .82);
  background: rgba(255, 255, 255, .04);
  cursor: pointer;
}

.rr-city-panel-close:hover,
.rr-city-panel-close:focus-visible {
  border-color: rgba(253, 0, 58, .65);
  color: #fff;
  background: rgba(253, 0, 58, .14);
}

.rr-city-country + .rr-city-country {
  margin-top: 8px;
}

.rr-city-country > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 38px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: 7px;
  color: #fff;
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

.rr-city-country > summary::-webkit-details-marker {
  display: none;
}

.rr-city-country > summary::after {
  content: '›';
  color: #b50202;
  font-size: 20px;
  line-height: 1;
}

.rr-city-country[open] > summary::after {
  transform: rotate(90deg);
}

.rr-city-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 6px;
  padding-top: 8px;
}

.rr-city-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 38px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 7px;
  color: rgba(255, 255, 255, .88);
  text-decoration: none;
  background: rgba(255, 255, 255, .03);
  line-height: 1.2;
}

.rr-city-list a span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.rr-city-list a:hover,
.rr-city-list a:focus-visible,
.rr-city-list a.is-current {
  border-color: rgba(253, 0, 58, .8);
  color: #fff;
  background: rgba(253, 0, 58, .14);
}

.rr-city-list small {
  color: rgba(255, 255, 255, .55);
  font-size: 11px;
}

@media (max-width: 480px) {
  .rr-city-list {
    grid-template-columns: 1fr;
  }
}

.rr-casting-overlap {
  margin-right: -12px;
}

.rr-casting-z-1 {
  z-index: 1;
}

.rr-casting-z-2 {
  z-index: 2;
}

.rr-casting-z-10 {
  z-index: 10;
}

#progress-fill {
  background: linear-gradient(90deg, #ff596e, #be0000);
}

.rr-field-invalid-group {
  border: 1px solid #ef4444;
  padding: 8px;
}

.rr-field-invalid {
  border-color: #ef4444 !important;
}

.rr-nav-ink-accent {
  background: #b50202;
}

.rr-bg-accent {
  background: #b50202;
}

.rr-text-accent {
  color: #b50202;
}

.rr-tab-accent {
  border-color: #b50202;
  color: #b50202;
}

.rr-card-accent-badge {
  border-color: #b50202;
  color: #b50202;
}

.rr-faq-accent-border {
  border-left-color: #b50202;
}

.rr-line-border-top {
  border-top: 5px solid var(--rr-line-color, #b50202);
}

.rr-line-border-left {
  border-left: 5px solid var(--rr-line-color, #b50202);
}

.rr-line-ring {
  border-color: var(--rr-line-color, #b50202);
}

.rr-line-dot {
  background-color: var(--rr-line-color, #b50202);
}

.rr-line-color-da1e4c { --rr-line-color: #DA1E4C; }
.rr-line-color-ef161e { --rr-line-color: #EF161E; }
.rr-line-color-0078bf { --rr-line-color: #0078BF; }
.rr-line-color-e31e24 { --rr-line-color: #E31E24; }
.rr-line-color-82c2c1 { --rr-line-color: #82C2C1; }
.rr-line-color-a1b3d4 { --rr-line-color: #A1B3D4; }
.rr-line-color-009b48 { --rr-line-color: #009B48; }
.rr-line-color-44b85c { --rr-line-color: #44B85C; }
.rr-line-color-168e44 { --rr-line-color: #168E44; }
.rr-line-color-ffd500 { --rr-line-color: #FFD500; }
.rr-line-color-f58231 { --rr-line-color: #F58231; }
.rr-line-color-d6083b { --rr-line-color: #D6083B; }
.rr-line-color-79443b { --rr-line-color: #79443B; }
.rr-line-color-8b4513 { --rr-line-color: #8B4513; }
.rr-line-color-ea7125 { --rr-line-color: #EA7125; }
.rr-line-color-e12023 { --rr-line-color: #E12023; }
.rr-line-color-d5a72b { --rr-line-color: #D5A72B; }
.rr-line-color-b1d332 { --rr-line-color: #B1D332; }
.rr-line-color-167abc { --rr-line-color: #167ABC; }
.rr-line-color-0078c9 { --rr-line-color: #0078C9; }
.rr-line-color-009a49 { --rr-line-color: #009A49; }
.rr-line-color-de629b { --rr-line-color: #DE629B; }
.rr-line-color-8a8a8a { --rr-line-color: #8A8A8A; }
.rr-line-color-009640 { --rr-line-color: #009640; }
.rr-line-color-a1a1a1 { --rr-line-color: #A1A1A1; }
.rr-line-color-943e90 { --rr-line-color: #943E90; }
.rr-line-color-95c160 { --rr-line-color: #95C160; }
.rr-line-color-000099 { --rr-line-color: #000099; }
.rr-line-color-00bfff { --rr-line-color: #00BFFF; }
.rr-line-color-702785 { --rr-line-color: #702785; }
.rr-line-color-ff0000 { --rr-line-color: #FF0000; }
.rr-line-color-009900 { --rr-line-color: #009900; }
.rr-line-color-b51235 { --rr-line-color: #b50202; }
.rr-line-color-b50202 { --rr-line-color: #B50202; }

/* City filter in geo navigation. */
.rr-geo-nav .rr-geo-city.is-city-filter-hidden,
.rr-geo-nav .rr-geo-country.is-country-filter-hidden {
  display: none;
}

.rr-city-sections__group.is-collapsed .rr-city-sections__list {
  display: none;
}

.rr-geo-nav details.rr-geo-country > summary {
  list-style: none;
}

.rr-geo-nav details.rr-geo-country > summary::-webkit-details-marker {
  display: none;
}

@media (min-width: 768px) {
  .rr-geo-nav details.rr-geo-country > .rr-geo-cities {
    display: flex !important;
  }
}

@media (max-width: 767px) {
  .rr-geo-nav .rr-geo-head > div {
    position: relative;
    padding-right: 1.25rem;
    cursor: pointer;
  }

  .rr-geo-nav .rr-geo-head > div::after {
    content: '';
    position: absolute;
    right: 0.25rem;
    top: 0.35rem;
    width: 8px;
    height: 8px;
    border-right: 2px solid #b50202;
    border-bottom: 2px solid #b50202;
    transform: rotate(45deg);
    transition: transform 0.16s ease;
  }

  .rr-geo-nav.is-panel-collapsed .rr-geo-head {
    margin-bottom: 0;
  }

  .rr-geo-nav.is-panel-collapsed .rr-geo-head > div::after {
    transform: rotate(-45deg);
  }

  .rr-geo-nav.is-panel-collapsed .rr-geo-search-wrap,
  .rr-geo-nav.is-panel-collapsed .rr-geo-groups,
  .rr-geo-nav.is-panel-collapsed .rr-geo-empty {
    display: none !important;
  }

  .rr-geo-nav details.rr-geo-country[open].is-collapsed .rr-geo-cities {
    display: flex;
  }

  .rr-geo-nav details.rr-geo-country[open].is-collapsed .rr-geo-country-arrow {
    transform: rotate(45deg) translateY(-2px);
  }

  .rr-city-sections__group {
    padding: 0.75rem;
    overflow: hidden;
  }

  .rr-city-sections__group-head {
    position: relative;
    padding-right: 1.25rem;
    margin-bottom: 0.6rem;
    cursor: pointer;
  }

  .rr-city-sections__group-head::after {
    content: '';
    position: absolute;
    right: 0.15rem;
    top: 0.75rem;
    width: 8px;
    height: 8px;
    border-right: 2px solid #b50202;
    border-bottom: 2px solid #b50202;
    transform: rotate(45deg);
    transition: transform 0.16s ease;
    pointer-events: none;
  }

  .rr-city-sections__group.is-collapsed .rr-city-sections__group-head::after {
    transform: rotate(-45deg);
  }

  .rr-city-sections__group-head a {
    position: relative;
    z-index: 1;
  }
}

@media (max-width: 767px) {
  .rr-vacancy-table-scroll {
    display: block;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
  }

  .rr-vacancy-table-scroll > table,
  .rr-vacancy-table-scroll > figure.wp-block-table {
    width: max-content !important;
    min-width: 100% !important;
    max-width: none !important;
    margin-right: 0;
    margin-left: 0;
  }

  .rr-vacancy-table-scroll > figure.wp-block-table > table {
    width: max-content !important;
    min-width: 100% !important;
    max-width: none !important;
  }

  .rr-vacancy-table-scroll th,
  .rr-vacancy-table-scroll td {
    min-width: 140px;
    white-space: nowrap;
    word-break: normal;
    overflow-wrap: normal;
  }

  .content.table-scroll {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
  }

  .content.table-scroll table,
  .content.table-scroll figure.wp-block-table {
    width: max-content !important;
    min-width: 100% !important;
    max-width: none !important;
  }

  .content.table-scroll th,
  .content.table-scroll td {
    min-width: 140px;
    white-space: nowrap;
    word-break: normal;
    overflow-wrap: normal;
  }
}

/* Vacancy SEO tables */
.rr-vacancy-content,
.rr-vacancy-table-scroll {
  min-width: 0;
  max-width: 100%;
}

.rr-vacancy-table-scroll {
  box-sizing: border-box;
  display: block;
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
}

.rr-vacancy-table-scroll > table,
.rr-vacancy-table-scroll > figure.wp-block-table,
.rr-vacancy-table-scroll > figure.wp-block-table > table {
  width: max-content !important;
  min-width: 100% !important;
  max-width: none !important;
  table-layout: auto !important;
}

.rr-vacancy-table-scroll > figure.wp-block-table {
  display: block;
  margin-right: 0;
  margin-left: 0;
  overflow: visible;
}

.rr-vacancy-table-scroll th,
.rr-vacancy-table-scroll td {
  min-width: 140px;
  white-space: nowrap;
  word-break: normal;
  overflow-wrap: normal;
}

/* Mobile viewport/header width guard */
html,
body {
  width: 100%;
  max-width: 100%;
}

body {
  margin: 0;
}

.rr-site-header,
.rr-site-header-shell,
.rr-site-header-row {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
}

.rr-site-header {
  flex: 0 0 auto;
}

/* Single vacancy mobile overflow guard */
.rr-vacancy-page,
.rr-vacancy-page * {
  box-sizing: border-box;
}

.rr-vacancy-page {
  overflow-x: clip;
}

.rr-vacancy-page,
.rr-vacancy-page > *,
.rr-vacancy-page section,
.rr-vacancy-page div,
.rr-vacancy-page nav,
.rr-vacancy-page ol,
.rr-vacancy-page li {
  min-width: 0;
}

.rr-vacancy-page [aria-label="Breadcrumb"] {
  max-width: 100%;
  overflow: hidden;
}

.rr-vacancy-page [aria-label="Breadcrumb"] ol {
  align-items: flex-start;
}

.rr-vacancy-page [aria-label="Breadcrumb"] li,
.rr-vacancy-page [aria-label="Breadcrumb"] a,
.rr-vacancy-page [aria-label="Breadcrumb"] span,
.rr-vacancy-title {
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: normal;
  white-space: normal;
}

.rr-vacancy-page [aria-label="Breadcrumb"] span {
  display: inline;
}

@media (max-width: 639.98px) {
  .rr-vacancy-page {
    padding-left: 16px;
    padding-right: 16px;
  }

  .rr-vacancy-page [aria-label="Breadcrumb"] ol {
    line-height: 1.35;
  }

  .rr-vacancy-title {
    font-size: 22px;
    line-height: 1.15;
  }

  .rr-vacancy-page > .bg-white {
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* Vacancy SEO table bottom spacing */
.rr-vacancy-content .rr-vacancy-table-scroll {
  margin-bottom: 15px !important;
}

/* Фильтр города (Filters.tsx): тёмный текст на светлом, отступы. 05.11.2026 */
form.filters{display:flex;flex-wrap:wrap;align-items:center;gap:10px 12px;margin:28px 0 24px;color:#111}
form.filters select{height:44px;min-width:150px;padding:0 36px 0 14px;border:1px solid #d4d4d4;border-radius:8px;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23111' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 14px center;color:#111;font-size:15px;line-height:42px;-webkit-appearance:none;appearance:none;cursor:pointer}
form.filters select:focus{outline:none;border-color:#b50202;box-shadow:0 0 0 2px rgba(181,2,2,.15)}
form.filters .filters-check{display:inline-flex;align-items:center;gap:8px;height:44px;padding:0 6px;color:#111;font-size:15px;cursor:pointer}
form.filters .filters-check input{width:18px;height:18px;accent-color:#b50202;cursor:pointer}
form.filters .btn-gold{height:44px;padding:0 26px;align-self:center}
form.filters .filters-reset{color:#b50202;font-size:14px;text-decoration:underline;text-underline-offset:3px}
form.filters .filters-reset:hover{text-decoration:none}
@media (max-width:640px){form.filters select{flex:1 1 calc(50% - 6px);min-width:0}form.filters .btn-gold{flex:1 1 100%}}
/* body — flex: без этого main растягивается под таблицу из SEO-текста и на телефоне страница шире экрана */
body>main{width:100%;min-width:0}
/* Блок «Фильтры по городам» на страницах разделов (/prostitutki/…): поля страницы уже есть, вторые поля обёртки сужали блок; отступ до карточек */
main.px-4 div:has(> .rr-geo-nav){padding-left:0;padding-right:0}
main.px-4 .rr-geo-nav{margin-bottom:36px}

/* лайтбокс анкеты: крестик справа и над фото, клик по фону закрывает (06.11.2026) */
#lb{z-index:10000}
#lb-overlay{background:rgba(0,0,0,.9)}
#lb-close{position:absolute;top:16px;right:20px;left:auto;z-index:10;width:44px;height:44px;display:inline-flex;align-items:center;justify-content:center;padding:0 0 3px;border:0;border-radius:9999px;background:rgba(255,255,255,.16);color:#fff;font:400 34px/1 Arial,Helvetica,sans-serif;cursor:pointer}
#lb-close:hover{background:rgba(255,255,255,.3)}
#lb-overlay+div,#lb .swiper{pointer-events:none}
#lb .swiper-slide img,#lb .swiper-button-prev,#lb .swiper-button-next,#lb .swiper-pagination{pointer-events:auto}
#lb .swiper-slide img{max-width:100vw;max-height:100vh;object-fit:contain}

/* оценка в форме отзыва: ряд звёзд вместо выпадающего списка (06.11.2026); рамка — как у поля имени */
.review-stars{display:inline-flex;flex-direction:row-reverse;justify-content:center;align-items:center;gap:4px;flex:0 0 auto;box-sizing:border-box;padding:0 12px;border:1px solid #d1d5db;border-radius:8px;background:#fff}
.review-stars input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
.review-stars label{display:flex;align-items:center;justify-content:center;width:24px;height:24px;color:#d4d4d4;font:400 24px/1 Arial,Helvetica,sans-serif;cursor:pointer;transition:color .15s,transform .15s}
.review-stars label>span[aria-hidden]{display:block;line-height:24px}
.review-stars .review-stars-t{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.review-stars input:checked~label{color:#b50202}
.review-stars:hover label,.review-stars:hover input:checked~label{color:#d4d4d4}
.review-stars:hover input+label:hover,.review-stars:hover label:hover~label{color:#e11d48}
.review-stars label:hover{transform:scale(1.25)}
.review-stars input:focus-visible+label{outline:2px solid #b50202;outline-offset:2px;border-radius:4px}
@media (max-width:480px){.review-row{flex-wrap:wrap}.review-stars{order:-1;flex-basis:100%;min-height:43px}}

/* кнопка «Открыть <имя> в Telegram» на анкете — открывает бота на этой девушке (06.11.2026) */
.rr-tg-open{position:relative;display:flex;align-items:center;justify-content:center;gap:12px;width:100%;min-height:54px;padding:10px 20px;box-sizing:border-box;border-radius:10px;background:linear-gradient(135deg,#3cb6ef 0%,#229ed9 55%,#1b86bd 100%);color:#fff;font-size:18px;font-weight:600;line-height:1.2;text-decoration:none;box-shadow:0 6px 18px rgba(34,158,217,.35),inset 0 1px 0 rgba(255,255,255,.25);transition:transform .15s ease,box-shadow .15s ease,filter .15s ease}
.rr-tg-open:hover{color:#fff;transform:translateY(-2px);filter:brightness(1.06);box-shadow:0 10px 26px rgba(34,158,217,.45),inset 0 1px 0 rgba(255,255,255,.25)}
.rr-tg-open:active{transform:translateY(0);box-shadow:0 4px 12px rgba(34,158,217,.35)}
.rr-tg-open:focus-visible{outline:2px solid #fff;outline-offset:-5px}
.rr-tg-open-ic{display:inline-grid;place-items:center;flex:none;width:32px;height:32px;border-radius:50%;background:#fff;color:#229ed9;box-shadow:0 2px 6px rgba(0,0,0,.12);transition:transform .2s ease}
.rr-tg-open-ic svg{display:block;width:18px;height:18px;margin-left:-2px}
.rr-tg-open:hover .rr-tg-open-ic{transform:rotate(-12deg) scale(1.06)}
@media (max-width:400px){.rr-tg-open{font-size:16px;gap:10px;padding:10px 14px}}

/* кнопки связи на анкете: 1, 2 или 3 — делят ширину поровну (06.11.2026; в теме было жёстко 3 колонки) */
.rr-profile-contact-grid{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr)}
@media (max-width:430px){.rr-profile-contact-grid{grid-auto-flow:row;grid-template-columns:1fr}}

/* кнопки связи на анкете: один размер и вес шрифта, одна высота (06.11.2026); у надписи кнопки бота тема
   задавала свои 22px через span — берёт размер кнопки */
#book-now-btn,.rr-profile-contact-btn,.rr-tg-open{min-height:52px;font-size:19px;font-weight:600;line-height:1.2}
.rr-tg-open span{font-size:inherit;font-weight:inherit}
@media (max-width:400px){#book-now-btn,.rr-profile-contact-btn,.rr-tg-open{font-size:18px}}
