@import url("tokens.css");

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

html {
  font-size: 16px;
}

body {
  margin: 0;
  font-family: var(--mr-font);
  font-size: var(--mr-font-size);
  font-weight: 400;
  line-height: var(--mr-line-height);
  color: var(--mr-text);
  background-color: var(--mr-bg);
  background-image: var(--mr-texture);
  background-repeat: repeat;
}

a {
  color: var(--mr-gold);
  text-decoration: none;
}
a:hover {
  color: var(--mr-gold-dark);
  text-decoration: underline;
}

img {
  max-width: 100%;
  vertical-align: middle;
}

.container,
.site-container,
.filter-container {
  max-width: var(--mr-container);
  margin: 0 auto;
  padding-left: 15px;
  padding-right: 15px;
  box-sizing: border-box;
}

/* —— Header (MR navbar-inverse) —— */
.site-header {
  background: var(--mr-header-bg);
  min-height: 50px;
}

.header-bar {
  max-width: var(--mr-container);
  margin: 0 auto;
  padding: 10px 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: nowrap;
}

.navbar-header {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  flex: 1 1 auto;
  min-width: 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  background: transparent;
  text-decoration: none;
}
.logo:hover {
  opacity: 0.95;
}
.logo picture,
.logo img {
  display: block;
  background: transparent;
}
.logo img {
  height: 52px;
  width: auto;
  max-width: min(260px, 55vw);
}

.nav-tabs.btn-group {
  display: inline-flex;
  align-items: stretch;
  margin: 0;
}

.nav-tab {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  font-size: var(--mr-btn-size);
  font-weight: 700;
  line-height: var(--mr-btn-line);
  color: var(--mr-gold);
  border: 1px solid var(--mr-border);
  text-decoration: none;
  background: var(--mr-nav-idle);
}
.nav-tab:first-child {
  border-radius: var(--mr-radius) 0 0 var(--mr-radius);
}
.nav-tab:last-child {
  margin-left: -1px;
  border-radius: 0 var(--mr-radius) var(--mr-radius) 0;
}
.nav-tab.selected {
  background: var(--mr-nav-active);
  position: relative;
}
.nav-tab.selected::after {
  content: "";
  position: absolute;
  left: 14px;
  bottom: -6px;
  border: 6px solid transparent;
  border-top-color: var(--mr-nav-active);
}
.nav-tab:hover {
  text-decoration: none;
  filter: brightness(1.06);
}

.header-nav-buttons {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.btn-header {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mr-font);
  font-size: var(--mr-signin-size);
  line-height: 32px;
  color: var(--mr-text);
  border-radius: var(--mr-radius);
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}
.btn-header .ico {
  flex-shrink: 0;
  opacity: 0.95;
}

.btn-lang {
  padding: 0 14px;
  min-height: 34px;
  background: var(--mr-nav-idle);
  border: 1px solid #333333;
}

.btn-sign-in {
  padding: 0 14px;
  min-height: 34px;
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.35);
}
.btn-sign-in:hover,
.btn-lang:hover {
  color: var(--mr-text);
  text-decoration: none;
  border-color: var(--mr-border-input);
}

@media (max-width: 767px) {
  .container,
  .site-container,
  .filter-container,
  .header-bar {
    padding-left: 15px;
    padding-right: 15px;
  }

  .filters {
    overflow-x: hidden;
  }

  .filter-row {
    max-width: 100%;
  }

  .header-bar {
    flex-direction: column;
    align-items: stretch;
    padding-top: 6px;
  }
  .header-nav-buttons {
    order: -1;
    justify-content: flex-end;
    width: 100%;
  }
  .navbar-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
  }
  .nav-tabs.btn-group {
    width: 100%;
  }
  .nav-tab {
    flex: 1 1 50%;
    justify-content: center;
  }
}

/* —— Filters (MR listings-search-form) —— */
.filters {
  padding: 10px 0;
  background: rgba(0, 0, 0, 0.22);
  border-bottom: 1px solid rgba(0, 0, 0, 0.35);
}

.filter-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  align-items: stretch;
}

.field-dark,
.field-btn {
  font-family: var(--mr-font);
  font-size: var(--mr-btn-size);
  line-height: var(--mr-btn-line);
  color: var(--mr-text-input);
  border: 1px solid var(--mr-border-input);
  border-radius: var(--mr-radius);
  min-height: 34px;
  box-sizing: border-box;
}

.field-btn,
.field-dark {
  background: linear-gradient(rgb(34, 34, 34), rgb(51, 51, 51));
}

.field-category {
  padding: 6px 12px;
  cursor: pointer;
  white-space: nowrap;
}
.field-category .caret {
  margin-left: 4px;
  font-size: 11px;
}

.field-city {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex: 0 1 180px;
  min-width: 140px;
}
.field-city .field-ico {
  position: absolute;
  left: 9px;
  color: var(--mr-text-dim);
  pointer-events: none;
}
.field-city input {
  width: 100%;
  padding: 6px 10px 6px 29px;
  border: 1px solid rgba(0, 0, 0, 0);
  border-radius: var(--mr-radius);
  background: transparent;
  color: var(--mr-text-input);
  font: inherit;
  min-height: 34px;
}
.field-city {
  background: linear-gradient(rgb(34, 34, 34), rgb(51, 51, 51));
  border: 1px solid var(--mr-border-input);
  border-radius: var(--mr-radius);
}

.field-group-price {
  display: inline-flex;
  align-items: stretch;
}
.field-aed {
  padding: 6px 28px 6px 10px;
  border-radius: var(--mr-radius) 0 0 var(--mr-radius);
  border-right: 0;
  cursor: pointer;
  appearance: none;
  background: linear-gradient(rgb(34, 34, 34), rgb(51, 51, 51))
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath fill='%23ccc' d='M0 0l5 6 5-6z'/%3E%3C/svg%3E")
    no-repeat right 8px center;
}
.field-price {
  width: 72px;
  padding: 6px 10px;
  border-radius: 0 var(--mr-radius) var(--mr-radius) 0;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(rgb(34, 34, 34), rgb(51, 51, 51));
  color: var(--mr-text-input);
  font: inherit;
}
.field-price::placeholder {
  color: var(--mr-text-dim);
}

.field-services {
  flex: 1 1 120px;
  min-width: 120px;
  max-width: 200px;
  padding: 6px 24px 6px 10px;
  cursor: default;
  background: linear-gradient(rgb(34, 34, 34), rgb(51, 51, 51))
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath fill='%23ccc' d='M0 0l5 6 5-6z'/%3E%3C/svg%3E")
    no-repeat right 8px center;
}

.field-more {
  width: 40px;
  padding: 0;
  font-size: 18px;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
  color: var(--mr-text-input);
}

.field-search.search-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: var(--mr-btn-size);
  line-height: var(--mr-btn-line);
  font-weight: 400;
  color: var(--mr-text-dark);
  padding: 6px 12px 6px 10px;
  border: 1px solid var(--mr-gold-border);
  border-radius: var(--mr-radius);
  cursor: pointer;
  background: linear-gradient(var(--mr-gold), var(--mr-gold-dark));
  white-space: nowrap;
  min-height: 34px;
}
.field-search.search-btn:hover {
  filter: brightness(1.04);
}
.field-search .search-ico {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  display: block;
}
.field-search .search-label {
  line-height: 1;
}
.field-search .search-arrow {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  margin-left: 1px;
  display: block;
  opacity: 0.9;
}

@media (max-width: 991px) {
  .filter-row {
    flex-wrap: wrap;
  }
  .field-services {
    max-width: none;
    flex: 1 1 45%;
  }
  .field-search {
    flex: 1 1 auto;
  }
}

/* —— Breadcrumbs —— */
.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0 0 10px;
  padding: 0;
  list-style: none;
  font-size: 12px;
  line-height: 1.4;
  color: var(--mr-text-dim);
}
.breadcrumbs li + li::before {
  content: "›";
  margin-right: 6px;
  color: var(--mr-text-dim);
}
.breadcrumbs a {
  color: var(--mr-gold);
  text-decoration: none;
}
.breadcrumbs a:hover {
  text-decoration: underline;
}
.breadcrumbs [aria-current="page"] {
  color: var(--mr-text);
}

/* —— Layout —— */
.page-body {
  padding-top: 10px;
  padding-bottom: 40px;
}

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--mr-sidebar);
  gap: 15px;
  align-items: start;
}

@media (max-width: 991px) {
  .layout {
    grid-template-columns: 1fr;
  }
}

.intro h1 {
  margin: 0 0 12px;
  font-size: var(--mr-h1-size);
  font-weight: var(--mr-h1-weight);
  line-height: var(--mr-h1-line);
  color: var(--mr-text);
}

.intro p {
  margin: 0 0 16px;
  color: var(--mr-text);
  font-size: var(--mr-font-size);
  line-height: var(--mr-line-height);
}
.intro p a {
  color: var(--mr-gold);
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}
.service-tags a {
  display: inline-block;
  margin: 0 8px 8px 0;
  font-size: var(--mr-font-size);
  color: var(--mr-gold);
  text-decoration: none;
}
.service-tags a:hover {
  text-decoration: underline;
}

/* —— Listing cards (MR listing-li) —— */
.listings {
  list-style: none;
  margin: 0;
  padding: 0;
}

.listing-card {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  gap: 12px;
  margin: 0 0 20px;
  padding: 16px;
  position: relative;
  max-width: 100%;
  box-sizing: border-box;
}

.listing-card.listing-spot {
  background: var(--mr-gold-tint);
}

.listing-card.listing-standard {
  background: transparent;
  padding: 0 0 16px;
}

@media (min-width: 992px) {
  .listing-card {
    margin: 0 8px 20px 0;
  }
  .listing-card.listing-standard {
    padding: 0 8px 16px 0;
  }
}

.listing-card .photo-col {
  flex: 0 0 var(--mr-listing-img-w);
}
.listing-card .img-wrapper.premium,
.listing-card .img-wrapper.standard,
.listing-card .img-wrapper.mini {
  padding: 3px;
}

.listing-card .img-wrapper.premium,
.listing-card .img-wrapper.standard {
  display: inline-block;
}

.listing-card.listing-spot .image-wrapper img {
  box-sizing: border-box;
  border: 2px solid var(--mr-photo-border);
}

.listing-card.listing-standard .image-wrapper img {
  box-sizing: border-box;
  border: 1px solid var(--mr-photo-border-standard);
}

.listing-card .main-photo {
  width: var(--mr-listing-img-w);
  height: var(--mr-listing-img-h);
  object-fit: cover;
  display: block;
}

.thumbs {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 0 0 70px;
}
.thumbs .img-wrapper.mini .image-wrapper img {
  width: var(--mr-thumb-w);
  height: 58px;
  object-fit: cover;
  display: block;
}

.listing-body {
  flex: 1 1 240px;
  min-width: 200px;
}

.listing-body h2 {
  margin: 0 0 8px;
  font-size: var(--mr-h2-listing);
  font-weight: 500;
  line-height: 1.2;
}
.listing-body h2 a {
  color: var(--mr-text);
  text-decoration: none;
}
.listing-body h2 a:hover {
  color: var(--mr-gold);
  text-decoration: none;
}

.listing-meta {
  font-size: var(--mr-font-size);
  color: var(--mr-text-muted);
  margin: 0 0 8px;
}

.listing-desc {
  font-size: var(--mr-font-size);
  line-height: var(--mr-line-height);
  color: var(--mr-text);
  margin: 0 0 12px;
}

.contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: center;
  font-size: var(--mr-font-size);
  line-height: var(--mr-btn-line);
}
.contact-row a:not(.btn-contact) {
  color: var(--mr-gold);
}

.btn-contact {
  display: inline-block;
  padding: 6px 12px;
  font-size: var(--mr-btn-size);
  font-weight: 700;
  line-height: var(--mr-btn-line);
  color: var(--mr-gold) !important;
  background: var(--mr-card-bg);
  border: 1px solid var(--mr-border);
  border-radius: var(--mr-radius);
  text-decoration: none !important;
}
.btn-contact:hover {
  color: var(--mr-gold) !important;
  filter: brightness(1.08);
  text-decoration: none !important;
}

/* —— Verified photo corner (bottom-left, on image) —— */
.img-wrapper.premium,
.img-wrapper.mini {
  display: inline-block;
}

.image-wrapper {
  position: relative;
  display: inline-block;
}

.verified-image {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(to right top, var(--mr-gold) 1%, #c3931f 50%, transparent 51%);
}

.verified-image.small {
  width: 28px;
  height: 28px;
}

.verified-image.premium {
  width: 40px;
  height: 40px;
}

.verified-check {
  position: absolute;
  bottom: 3px;
  left: 4px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  color: var(--mr-text-dark);
}

.verified-image.premium .verified-check {
  bottom: 5px;
  left: 6px;
  font-size: 17px;
}

.verified-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

/* —— Sidebar (MR stream-sidebar) —— */
.stream-sidebar {
  position: relative;
}

.stream-sidebar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 20px 0 10px;
  padding: 0 0 0 10px;
}

.subscribe-btn-wrapper {
  flex-shrink: 0;
  margin: 0;
}

.btn-subscribe {
  display: inline-block;
  padding: 3px 10px;
  font-size: var(--mr-btn-size);
  line-height: var(--mr-btn-line);
  font-weight: 400;
  color: var(--mr-text-dark);
  background: linear-gradient(var(--mr-gold), var(--mr-gold-dark));
  border: 1px solid var(--mr-gold-border);
  border-radius: var(--mr-radius);
  text-decoration: none !important;
}
.btn-subscribe:hover {
  filter: brightness(1.04);
  text-decoration: none !important;
}
.btn-subscribe .ico-news {
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-right: 4px;
  vertical-align: -2px;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4 4h16v2H4zm0 4h10v2H4zm0 4h16v2H4zm0 4h10v2H4z'/%3E%3C/svg%3E")
    center / contain no-repeat;
}

.stream-title {
  margin: 0;
  padding: 0;
  font-size: var(--mr-aside-title);
  font-weight: 500;
  line-height: 19.8px;
  flex: 1 1 auto;
  min-width: 0;
}
.stream-title a {
  color: var(--mr-gold);
  text-decoration: none;
}
.stream-title a:hover {
  text-decoration: underline;
}

.activity-stream {
  list-style: none;
  margin: 0 0 10px;
  padding: 0;
}

.activity-stream > li {
  padding: 10px 0 10px 10px;
}

.activity-row::after {
  content: "";
  display: table;
  clear: both;
}

.headline.h3 {
  margin: 0 0 5px;
  font-size: var(--mr-btn-size);
  font-weight: 500;
  line-height: 15.4px;
  color: var(--mr-text);
}

.headline.h3 a {
  color: var(--mr-gold);
  text-decoration: none;
}
.headline.h3 a:hover {
  text-decoration: underline;
}

.ico-heart {
  float: right;
  display: block;
  width: 14px;
  height: 14px;
  margin: 0 0 0 5px;
  background: rgb(100, 100, 100);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 21s-7-4.7-9.2-8.8C1.1 9.2 3.2 6 6.5 6c1.7 0 3.3.9 4 2.3.7-1.4 2.3-2.3 4-2.3 3.3 0 5.4 3.2 3.7 6.2C19 16.3 12 21 12 21z'/%3E%3C/svg%3E")
    center / contain no-repeat;
}

.activity-record .photo {
  float: left;
  margin: 0 10px 5px 0;
}

.image-wrapper img {
  display: block;
  width: 60px;
  height: 60px;
  object-fit: cover;
}

.review-description p {
  margin: 0;
  font-size: 11.9px;
  line-height: 17.85px;
  color: var(--mr-text);
}

.activity-content {
  overflow: hidden;
}

/* —— SEO + footer —— */
.seo-blocks {
  margin-top: 24px;
  font-size: var(--mr-font-size);
  line-height: var(--mr-line-height);
  color: var(--mr-text-muted);
}
.seo-blocks h2 {
  font-size: var(--mr-aside-title);
  font-weight: 500;
  color: var(--mr-text);
}

.site-footer {
  margin-top: 32px;
  padding: 20px 0;
  background: rgba(0, 0, 0, 0.35);
  font-size: var(--mr-font-size);
  color: var(--mr-text-dim);
  border-top: 1px solid var(--mr-border);
}
.site-footer a {
  color: var(--mr-gold);
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-bottom: 10px;
}

/* —— 18+ age gate (MR-style) —— */
body.age-gate-open {
  overflow: hidden;
}

body.age-gate-open .site-header,
body.age-gate-open .filters,
body.age-gate-open .page-body,
body.age-gate-open .site-footer {
  filter: blur(4px);
}

.age-gate {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
}

.age-gate[hidden] {
  display: none !important;
}

.age-gate__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
}

.age-gate__panel {
  position: relative;
  max-width: 520px;
  width: 100%;
  background: #2a2a2a;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  color: var(--mr-text);
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

.age-gate__brand {
  padding: 20px 24px 10px;
  text-align: center;
}
.age-gate__brand img {
  max-width: min(240px, 85vw);
  height: auto;
}

.age-gate__title {
  margin: 0;
  padding: 8px 24px 0;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.25;
  text-align: center;
}

.age-gate__lead,
.age-gate__text {
  margin: 12px 0 0;
  padding: 0 24px;
  font-size: 14px;
  line-height: 1.45;
  text-align: center;
  color: var(--mr-text);
}

.age-gate__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 16px;
  padding: 20px 24px 16px;
}

.age-gate__yes {
  font-family: var(--mr-font);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--mr-text-dark);
  padding: 10px 22px;
  border: 1px solid var(--mr-gold-border);
  border-radius: 24px;
  cursor: pointer;
  background: linear-gradient(var(--mr-gold), var(--mr-gold-dark));
}
.age-gate__yes:hover {
  filter: brightness(1.05);
}

.age-gate__no {
  font-size: 14px;
  color: var(--mr-gold);
  text-decoration: underline;
}
.age-gate__no:hover {
  color: var(--mr-gold-dark);
}

.age-gate__legal {
  padding: 14px 20px 18px;
  background: rgba(0, 0, 0, 0.28);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.age-gate__legal p {
  margin: 0;
  font-size: 11px;
  line-height: 1.45;
  color: var(--mr-text-dim);
  text-align: center;
}