/* ============================================
   BLOOMIA — Profile Page Styles
   Single column layout, gallery carousel,
   params grid, services checklist, map, sticky CTA
   ============================================ */

/* --- Back Link --- */
.profile__back {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  color: #807D86;
  padding: 12px 0 8px;
  transition: color 0.2s;
}

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

.profile__back:hover {
  color: #F50057;
}

/* --- Profile Container --- */
.profile {
  background: #FFFFFF;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  margin-bottom: 24px;
}

/* --- Gallery --- */
.profile__gallery {
  position: relative;
}

.profile__photo-main {
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #F0F0F0;
}

.profile__photo-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 769px) {
  .profile {
    display: grid;
    grid-template-columns: 400px 1fr;
  }

  .profile__gallery {
    position: sticky;
    top: 0;
    align-self: start;
  }

  .profile__photo-main {
    aspect-ratio: 3 / 4;
    max-height: none;
  }

  .profile__info {
    padding-top: 8px;
    overflow-y: auto;
  }
}

.profile__thumbs {
  display: flex;
  gap: 8px;
  padding: 12px 16px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.profile__thumbs::-webkit-scrollbar {
  display: none;
}

.profile__thumb {
  flex-shrink: 0;
  width: 60px;
  height: 80px;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.2s;
  opacity: 0.6;
}

.profile__thumb.is-active {
  border-color: #F50057;
  opacity: 1;
}

.profile__thumb:hover {
  opacity: 1;
}

.profile__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- Header --- */
.profile__header {
  padding: 20px 20px 0;
}

.profile__name {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 24px;
  color: #0F0F27;
  line-height: 1.3;
}

.profile__age {
  font-weight: 400;
  color: #807D86;
  font-size: 20px;
}

.profile__price {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 22px;
  color: #F50057;
  margin-top: 8px;
}

.profile__stats {
  display: flex;
  gap: 16px;
  margin-top: 8px;
}

.profile__stat {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: #807D86;
}

.profile__stat svg {
  width: 16px;
  height: 16px;
}

/* --- Contact --- */
.profile__contact {
  padding: 16px 20px;
}

.profile__messengers {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.profile__messenger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 500;
  background: #F7F7F7;
  transition: all 0.15s;
}

.profile__messenger--tg { color: #2196F3; }
.profile__messenger--wa { color: #4CAF50; }
.profile__messenger--vb { color: #7C4DFF; }

.profile__messenger:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* --- Locations --- */
.profile__locations {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  padding: 0 20px 12px;
  font-size: 13px;
  color: #807D86;
}

.profile__locations svg {
  width: 16px;
  height: 16px;
  color: #F50057;
  flex-shrink: 0;
}

.profile__location-link {
  color: #F50057;
}

.profile__location-link:hover {
  text-decoration: underline;
}

.profile__location-sep {
  margin: 0 2px;
}

/* --- Parameters (2 columns) --- */
.profile__params {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: #F0F0F0;
  margin: 0 20px 16px;
  border-radius: 20px;
  overflow: hidden;
}

.profile__param-row {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 16px;
  background: #FFFFFF;
  text-decoration: none;
}

.profile__param-row--link:hover .profile__param-value {
  color: #F50057;
}

.profile__param-label {
  font-size: 11px;
  color: #807D86;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.profile__param-value {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: #0F0F27;
  transition: color 0.2s;
}

.profile__param-row--accent .profile__param-value {
  color: #F50057;
}

/* --- Section Titles --- */
.profile__section-title {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: #0F0F27;
  margin-bottom: 12px;
}

/* --- Description --- */
.profile__desc {
  padding: 0 20px 20px;
}

.profile__desc-text {
  font-size: 14px;
  color: #807D86;
  line-height: 1.7;
}

/* --- Services (2 columns, check/cross) --- */
.profile__services {
  padding: 0 20px 20px;
}

.profile__services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.profile__service {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #B0ADB5;
  padding: 6px 0;
}

.profile__service svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.profile__service--active {
  color: #0F0F27;
}

.profile__service--active svg {
  color: #4CAF50;
}

/* --- Extra Tags --- */
.profile__tags-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.profile__extra-tag {
  display: inline-block;
  padding: 6px 14px;
  background: #F7F7F7;
  border-radius: 50px;
  font-size: 13px;
  color: #0F0F27;
}

/* --- Map --- */
.profile__map-section {
  padding: 0 20px 20px;
}

.profile__map {
  width: 100%;
  height: 280px;
  border-radius: 20px;
  overflow: hidden;
  background: #F0F0F0;
}

@media (min-width: 769px) {
  .profile__map {
    height: 360px;
  }
}

/* --- Vote (profile level) --- */
.profile__vote {
  padding: 0 20px 20px;
}

/* --- Similar --- */
.similar {
  margin: 24px 0;
}

.similar__title {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: #0F0F27;
  margin-bottom: 16px;
}

.similar__scroll {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 8px;
}

.similar__scroll::-webkit-scrollbar {
  display: none;
}

.similar__scroll .card {
  flex-shrink: 0;
  width: 300px;
}

@media (max-width: 480px) {
  .similar__scroll .card {
    width: 260px;
  }
}

/* --- Sticky CTA (mobile) --- */
.profile__sticky-cta {
  display: none;
  position: fixed;
  bottom: 64px;
  left: 0;
  right: 0;
  padding: 8px 16px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-top: 1px solid #E8E8E8;
  z-index: 90;
}

.profile__sticky-cta.is-visible {
  display: block;
}

@media (min-width: 769px) {
  .profile__sticky-cta {
    display: none !important;
  }
}
