
.v3-profile-main {
  max-width: 1400px;
  margin: 30px auto 20px;
  padding: 0px 5px 0;
}


.pm-hero {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  margin-bottom: 0;
  height: 70svh;
  background: #1a1a22;
  max-width: 900px;
  left: 50%;
  transform: translateX(-50%);
}

.pm-hero__blur-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(2px) brightness(0.65) saturate(1.7);
  transform: scale(1.08);
  pointer-events: none;
}

/* Аватар-обгортка — виходить за межі hero вниз */
.pm-avatar-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  margin-top: -300px;
  z-index: 5;
}

.pm-avatar {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #121217;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.7);
  display: block;
  background: #1c1c24;
}

/* Зелена крапка "online" */
.pm-avatar-wrap .pm-online-dot {
  position: absolute;
  bottom: 8px;
  right: calc(50% - 64px + 6px);
  width: 18px;
  height: 18px;
  background: var(--green);
  border-radius: 50%;
  border: 3px solid #121217;
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.7);
}

/* ================================================================
   КАРТКА-ПРОФІЛЬ
================================================================ */
.pm-card {
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 24px;
  padding: 28px 0;
  margin-top: 0;
  overflow: hidden;
}

/* ================================================================
   ІМ'Я + БЕЙДЖ
================================================================ */
.pm-identity {
  text-align: center;
  padding: 18px 20px 0;
}

.pm-name {
  font-size: 26px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 10px;
  letter-spacing: 0.3px;
}

.pm-name .pm-age-badge {
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.07);
  border-radius: 20px;
  padding: 3px 10px;
  margin-left: 8px;
  vertical-align: middle;
}

.pm-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.pm-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 20px;
}

.pm-badge--verified {
  background: linear-gradient(135deg, #5231f8, #872ef2);
  color: #fff;
}

.pm-badge--available {
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.4);
  color: #22c55e;
}

.pm-badge svg {
  flex-shrink: 0;
}

.pm-location {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 0;
}

.pm-location span {
  margin-right: 4px;
}

/* ================================================================
   КНОПКИ ДІЙ (WhatsApp / Telegram / Fav)
================================================================ */
.pm-actions {
  display: flex;
  gap: 10px;
  padding: 20px 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.pm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: "Philosopher", sans-serif;
  font-size: 15px;
  font-weight: 700;
  padding: 12px 22px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition:
    opacity 0.2s,
    transform 0.15s;
  white-space: nowrap;
  letter-spacing: 0.5px;
}

.pm-btn:active {
  transform: scale(0.96);
}

.pm-btn--wa {
 color: #fff;
    box-shadow: 0 4px 18px rgba(37, 211, 102, 0.35);
    background: linear-gradient(135deg, #084d0d 0%, #2ef252 100%);
  flex: 1;
  min-width: 140px;
  max-width: 200px;
}

.pm-btn--tg {
    color: #fff;
    box-shadow: 0 4px 18px rgba(34, 158, 217, 0.35);
    background: var(--gradient-purple);
  flex: 1;
  min-width: 140px;
  max-width: 200px;
}

.pm-btn:hover {
  opacity: 0.88;
}

/* ================================================================
   МЕТАДАНІ — 2×2 СІТКА
================================================================ */
.pm-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(255, 255, 255, 0.06);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin: 0 10px;
  border-radius: 14px;
  overflow: hidden;
}

.pm-meta-cell {
  background: #16161d;
  padding: 16px 20px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.pm-meta-cell__icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 16px;
}

.pm-meta-cell__text {
  min-width: 0;
}

.pm-meta-cell__label {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.pm-meta-cell__value {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pm-meta-cell__value.pm-price {
  color: var(--accent);
  font-size: 16px;
}

/* ================================================================
   ПАРАМЕТРИ (висота, вага, груди, волосся)
================================================================ */
.pm-params {
  padding: 22px 20px 0;
}

.pm-section-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.pm-params-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

@media (max-width: 480px) {
  .pm-params-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

.pm-param-box {
  background: #1c1c24;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 12px;
  text-align: center;
}

.pm-param-box__label {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.pm-param-box__value {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}

/* ================================================================
   ЦІНИ
================================================================ */
.pm-rates {
  padding: 22px 10px 0;
}

.pm-rates-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

@media (min-width: 480px) {
  .pm-rates-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pm-rate-box {
  background: #1c1c24;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 14px 12px;
  cursor: pointer;
  transition:
    border-color 0.2s,
    background 0.2s;
  text-align: center;
  user-select: none;
}

.pm-rate-box:hover {
  border-color: rgba(177, 2, 86, 0.4);
}

.pm-rate-box.active {
  border-color: var(--accent);
  background: rgba(177, 2, 86, 0.1);
}

.pm-rate-box__dur {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.pm-rate-box__price {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}

.pm-rate-box__price small {
  font-size: 11px;
  font-weight: 400;
  color: var(--text-muted);
  margin-left: 2px;
}

/* ================================================================
   ОПИС
================================================================ */
.pm-about {
  padding: 22px 10px 0;
}

.pm-about__text {
  font-size: 15px;
  color: #bbb;
  line-height: 1.65;
  background: #1c1c24;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 16px;
  margin: 0;
  font-style: italic;
}

/* ================================================================
   ЛІЧИЛЬНИК ПЕРЕГЛЯДІВ
================================================================ */
.pm-views {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.05);
  padding: 4px 10px;
  border-radius: 20px;
  margin-top: 10px;
}

/* ================================================================
   ФОТО-ГРИД (3 колонки, масонрі-вигляд)
================================================================ */
.pm-photo-section {
  margin-top: 12px;
  padding: 0 10px;
}

.pm-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

@media (max-width: 480px) {
  .pm-photo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.pm-photo-item {
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 3/4;
  cursor: pointer;
  position: relative;
  background: #1c1c24;
}

/* Перше фото — ширше (займає 2 колонки) */
.pm-photo-item:first-child {
  grid-column: span 2;
  aspect-ratio: 2/2;
}

.pm-photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.pm-photo-item:hover img {
  transform: scale(1.04);
}

.pm-photo-item:hover::after {
  opacity: 1;
}

/* Лічильник зайвих фото на останньому видимому */
.pm-photo-item--more::before {
  content: attr(data-more);
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  z-index: 2;
  border-radius: 14px;
}

/* ================================================================
   ВІДЕО
================================================================ */
.pm-video-section {
  padding: 0 20px;
  margin-top: 22px;
}

.pm-video-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

@media (min-width: 480px) {
  .pm-video-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.pm-video-box {
  border-radius: 16px;
  overflow: hidden;
  background: #1c1c24;
  border: 1px solid rgba(255, 255, 255, 0.06);
  max-height: 500px;
}

.pm-video-box video {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 16px;
}

/* ================================================================
   МОДАЛКА ГАЛЕРЕЇ
================================================================ */
.v3-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.93);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.v3-modal-close {
  position: absolute;
  top: 18px;
  right: 22px;
  font-size: 34px;
  color: #fff;
  cursor: pointer;
  line-height: 1;
  opacity: 0.7;
  transition: opacity 0.2s;
  z-index: 10;
}

.v3-modal-close:hover {
  opacity: 1;
}

.v3-modal-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 20px;
  max-width: 100vw;
  max-height: 100vh;
}

#v3FullImg {
  max-width: min(90vw, 700px);
  max-height: 88vh;
  border-radius: 16px;
  object-fit: contain;
  display: block;
}

.v3-modal-nav {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  font-size: 26px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s;
  position: absolute;
  top: 50%;
  left: 5px;
  transform: translateY(-50%);
}
.v3-modal-nav.v3-next {
  left: auto;
  right: 5px;
}
.v3-modal-nav:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* ================================================================
   СЛАЙДЕР "Available Models"
================================================================ */
.v3-related-section {
  max-width: 1400px;
  margin: 32px auto 0;
  padding: 0 10px;
}

.v3-related-title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.v3-slider-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}

.v3-slider-track {
  display: flex;
  gap: 10px;
  overflow-x: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  flex: 1;
}

.v3-slide-item {
  flex: 0 0 140px;
  scroll-snap-align: start;
}

.v3-slider-btn {
  background: linear-gradient(135deg, #a855f7 0%, #6366f1 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #fff;
  transition: background 0.2s;
  position: absolute;
  z-index: 10;
}
.v3-slider-next {
  right: 0;
}

.v3-slider-btn:hover {
  background: rgba(255, 255, 255, 0.72);
  color: #000;
}

/* ================================================================
   КОЛАЖ
================================================================ */
.v3-collage-wrapper {
  width: 100%;
  padding: 40px 0 190px;
  overflow: hidden;
  max-width: 1400px;
  margin: 0 auto;
}

.v3-collage-container {
  position: relative;
  width: 100%;
  height: 600px;
}

.v3-collage-item {
  position: absolute;
  cursor: pointer;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  transition: transform 0.22s;
  animation: collage-float linear infinite alternate;
  width: var(--d-w);
  top: var(--d-t);
  left: var(--d-l);
  aspect-ratio: 2/3;
}

.v3-collage-item:hover {
  transform: scale(1.05);
}

.v3-collage-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@keyframes collage-float {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-10px);
  }
}

@media (max-width: 599px) {
  .v3-collage-item {
    width: var(--m-w) !important;
    top: var(--m-t) !important;
    left: var(--m-l) !important;
  }

  .v3-collage-wrapper {
    padding: 24px 0 60px;
  }
}

/* ================================================================
   PULSE ANIMATION (кнопки контакту)
================================================================ */
@keyframes highlight-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(177, 2, 86, 0.5);
  }
  70% {
    box-shadow: 0 0 0 14px rgba(177, 2, 86, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(177, 2, 86, 0);
  }
}

.highlight-pulse {
  animation: highlight-pulse 1.8s ease-out 1;
}

/* ================================================================
   CARD-MODEL (слайдери — старий стиль залишаємо сумісним)
================================================================ */
.card-model {
  cursor: pointer;
  border-radius: 14px;
  overflow: hidden;
  flex: 0 0 140px;
  transition: transform 0.22s;
}

.card-model:hover {
  transform: translateY(-3px);
}

.card-image-box {
  position: relative;
  width: 100%;
  aspect-ratio: 3/4;
  background: #1c1c24;
  border-radius: 14px;
  overflow: hidden;
}

.card-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 14px;
}

.card-name-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.82) 0%, transparent 100%);
  padding: 28px 8px 8px;
  display: flex;
  justify-content: space-between;
  gap: 2px;
}

.model-name {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.model-price {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.75);
}

.model-price-aed {
  font-size: 10px;
  opacity: 0.7;
}

.badge-views {
  position: absolute;
  bottom: 27px;
  right: 8px;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  border-radius: 20px;
  padding: 3px 8px;
  font-size: 11px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 4px;
}

.card-favorite {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 3;
  cursor: pointer;
}

.no-photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #555;
  font-size: 13px;
  background: #1c1c24;
}
