/* ─── Public Profile View Page ─────────────────────────────────────── */

/* ─── Photos Panel ────────────────────────────────────────────────── */
.profile-photos-panel {
  position: sticky;
  top: 5rem;
}

.main-photo-container {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 1rem;
  overflow: hidden;
  background: #F5F0EA;
  border: 1px solid #EBE2D6;
}

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

.no-photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #C4B8A6;
}

.photo-thumbs {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.photo-thumb {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.5rem;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color 0.2s ease, opacity 0.2s ease;
  padding: 0;
  background: none;
}

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

.photo-thumb:hover {
  border-color: #D4A017;
}

.photo-thumb--active {
  border-color: #8B2842;
}

.profile-id-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  margin-top: 0.75rem;
  padding: 0.5rem 0.75rem;
  background: #FAF8F5;
  border: 1px solid #EBE2D6;
  border-radius: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #D4A017;
  letter-spacing: 0.02em;
}

/* ─── Gender Tag ──────────────────────────────────────────────────── */
.gender-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.625rem;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: 1rem;
}

.gender-tag--male {
  background: #DBEAFE;
  color: #1D4ED8;
}

.gender-tag--female {
  background: #FCE7F3;
  color: #BE185D;
}

/* ─── Info Chips ──────────────────────────────────────────────────── */
.info-chip {
  background: #FAF8F5;
  border: 1px solid #EBE2D6;
  border-radius: 0.625rem;
  padding: 0.625rem 0.75rem;
}

.info-chip__label {
  display: block;
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #8E7E6A;
  margin-bottom: 0.125rem;
}

.info-chip__value {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #3A3228;
}

/* ─── Detail Sections ─────────────────────────────────────────────── */
.detail-section {
  background: white;
  border: 1px solid #EBE2D6;
  border-radius: 0.875rem;
  padding: 1.25rem;
}

.detail-section__title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1rem;
  font-weight: 600;
  color: #3A3228;
  margin-bottom: 0.875rem;
  padding-bottom: 0.625rem;
  border-bottom: 1px solid #F0EBE3;
}

.detail-section__title i {
  color: #D4A017;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .detail-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.detail-item {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.detail-item__label {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #8E7E6A;
}

.detail-item__value {
  font-size: 0.8125rem;
  font-weight: 500;
  color: #3A3228;
}

/* ─── CTA Card ────────────────────────────────────────────────────── */
.cta-card {
  background: linear-gradient(135deg, #FDF2F4 0%, #FAF8F5 100%);
  border: 1px solid #EBE2D6;
  border-radius: 1rem;
  padding: 1.5rem;
}

.btn-primary--sm {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 1.25rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: white;
  background: linear-gradient(135deg, #8B2842, #6E2038);
  border-radius: 0.5rem;
  transition: all 0.25s ease;
  text-decoration: none;
}

.btn-primary--sm:hover {
  background: linear-gradient(135deg, #A83250, #8B2842);
  transform: translateY(-1px);
}

.btn-outline--sm {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 1.25rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #6E604A;
  border: 1px solid #DDD5C8;
  border-radius: 0.5rem;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-outline--sm:hover {
  background: #FAF8F5;
  border-color: #C4B8A6;
}

/* ─── Mobile Adjustments ──────────────────────────────────────────── */
@media (max-width: 1023px) {
  .profile-photos-panel {
    position: static;
    max-width: 20rem;
    margin: 0 auto;
  }
}
