.lady-gallery {
  padding: 5px 10px;
  text-align: center;
}

.lady-gallery h2 {
  font-size: 24px;
  color: #c89b3c;
  margin-bottom: 24px;
}

.ladies-scroll {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  gap: 2px;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
  padding: 0 10px;
}

.lady-background {
  background: #fff;
  padding: 10px 20px;
  box-sizing: border-box;
}

@media (max-width: 1024px) {
  #lady-gallery,
  .lady-scroll {
    margin-top: 50px; /* отступ для верхнего меню */
  }
}

@media (max-width: 1199px) {
  .ladies-scroll {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }
}

@media (max-width: 991px) {
  .ladies-scroll {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

@media (max-width: 767px) {
  .ladies-scroll {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 279px) {
  .ladies-scroll {
    grid-template-columns: 1fr;
  }
}




.card {
  background: transparent;
  max-height: 300px;
  border-radius: 8px;
  box-shadow: none;
  text-align: center;
  padding: 0;
}

.card img {
  width: 100%;
  max-height: 300px;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
}

/*
.card img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}
*/
.card .name {
  display: none;
}

.gprogile__gallery {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
}

@media (max-width: 1199px) {
  .gprogile__gallery {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 991px) {
  .gprogile__gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 767px) {
  .gprogile__gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 279px) {
  .gprogile__gallery {
    grid-template-columns: repeat(1, 1fr);
  }
}

.gprogile__gallery-item a {
  display: block;
  position: relative;
  padding-top: 150%;
  background-size: cover;
  background-position: center;
  border-radius: 0.6rem;
}

.gprogile__gallery-blurred a {
  display: block;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  filter: blur(5px);
  position: relative;
  border-radius: 8px;
  cursor: pointer;
}

.gprogile__gallery-blurred::after {
  content: 'Register to unlock';
  position: absolute;
  bottom: 10px;
  left: 10px;
  padding: 4px 10px;
  background: rgba(0,0,0,0.5);
  color: #fff;
  font-size: 13px;
  border-radius: 4px;
}




/* Блок профиля */
.profile-section {
  margin: 0;
  position: relative;
  z-index: 2;
}

.profile-block {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
  padding: 10px 20px 20px;         /* верхний отступ отодвигает контент вниз */
  max-width: 1200px;
  margin: 0 auto;
  background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, #fff 40px); /* прозрачный верх */
  border-radius: 0 0 12px 12px;
  box-shadow: none;
  position: relative;
}

/* 🔹 Сам аватар выходит за границу блока */
.profile-avatar {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background-size: cover;
  background-position: center 10%;
  background-repeat: no-repeat;
  background-color: #eee; /* fallback-заливка */
  box-shadow: 0 2px 6px rgba(255,255,255,0.6);
  border: 3px solid #fff;
  position: absolute;
  top: -30px;
  left: 20px;
  z-index: 3;
}

@media (max-width: 1300px) {
  .profile-avatar {
    width: 15rem;
    height: 15rem;
  }
}

@media (max-width: 1100px) {
  .profile-avatar {
    width: 12rem;
    height: 12rem;
  }
}

@media (max-width: 767px) {
  .profile-avatar {
    width: 10rem;
    height: 10rem;
    top: -60px;
  }
}

@media (max-width: 450px) {
  .profile-avatar {
    width: 8rem;
    height: 8rem;
    margin-left: 1.9rem;
    border: 0.4rem solid #fff;
    background-position: top !important;
  }
}


.profile-content {
  flex: 1;
  padding-top: 1px;
  margin-left: 180px;
   
}

.profile-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start; /* ← выравнивание по верхнему краю */
  margin-bottom: 1.6rem;
}

.profile-main {
  display: flex;
  flex-direction: column;
}

.profile-id {
  font-size: 1.6rem;
  color: #252525;
  margin-bottom: 1.6rem;
  text-align: right;        /* ← выравнивание вправо */
}


.profile-name {
  font-size: 1.8rem;
  margin: 0 0 8px;
}
.profile-location {
  font-size: 16px;
  color: #666;
  display: block;
  margin-bottom: 10px;
}

.profile-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.gb-btn {
  background: #fff;
  color: #3fd598;
  font-weight: bold;
  padding: 10px 16px;
  border-radius: 20px;
  font-size: 14px;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: background 0.2s ease, transform 0.1s ease, color 0.2s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.gb-btn:hover {
  background: #3fd598;
  color: #fff;
  transform: translateY(-2px);
}

/* LIVE CHAT — в обычном состоянии */
.gb-btn--chat {
  background: #fb3c6c;
  color: #fff;
}

/* LIVE CHAT — при наведении — становится как остальные */
.gb-btn--chat:hover {
  background: #3fd598;
  color: #fff;
}

/* просмотр фото - карусель*/

.preview-modal {
  border-radius: 10px;
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(0, 0, 0, 0.8);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preview-content {
  position: relative;
  width: 90vw;
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: all;
  overflow: hidden;
}

.preview-main {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}


#preview-image {
  margin: 10px auto 0;
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 10px;
  object-fit: contain;
  display: block;
  z-index: 1;
}


/* 🔹 Боковые миниатюры */
.preview-side {
  width: 150px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 40px; /* отступ слева и справа */
}

.preview-thumb-side {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  opacity: 1;
  transition: transform 0.2s, opacity 0.2s;
}

.preview-thumb-side:hover {
  opacity: 1;
  transform: scale(1.05);
}

.preview-nav {
  position: absolute;
  bottom: -50px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.preview-nav button {
  background: #fff;
  border: none;
  padding: 6px 12px;
  font-size: 16px;
  cursor: pointer;
  border-radius: 4px;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.4);
}

.preview-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
}

/* 🔹 Show More карточка */
.card.with-overlay {
  position: relative;
  overflow: hidden;
}

.card.with-overlay .show-more-link {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 12px;
  text-align: center;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-weight: bold;
  font-size: 16px;
  text-decoration: none;
  transition: background 0.3s;
}

.card.with-overlay .show-more-link:hover {
  background: rgba(0, 0, 0, 0.8);
}

/* 🔹 Старые миниатюры (если используешь) */
.preview-thumbnails {
  display: none;
}

/* 🔹 Адаптация под мобильные экраны */
@media (max-width: 767px) {
  .preview-content {
    flex-direction: column;
    width: 100vw;
    height: 100vh;
    padding: 0;
    box-shadow: none;
    border-radius: 0;
    gap: 12px;
  }

  .preview-side {
    width: 50px;
    height: 50px;
  }

  .preview-content img#preview-image {
    max-width: 100vw;
    max-height: 70vh;
  }

  .preview-nav {
    bottom: 20px;
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .preview-nav button {
    padding: 8px 16px;
    font-size: 16px;
  }
}

.nav-button {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.5);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 70%;
  border: none;
  padding: 0;
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  text-indent: -9999px;
  transition: background-color 0.2s, transform 0.2s;
}

.nav-button:hover {
  background-color: rgba(0, 0, 0, 0.6);
  transform: translateY(-50%) scale(1.05);
}

.nav-left {
  left: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='white' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M15 6l-6 6 6 6'/%3E%3C/svg%3E");
}

.nav-right {
  right: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='white' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E");
}


.nav-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.6);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='white' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M18 6L6 18M6 6l12 12' stroke='white' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 60%;
  border: none;
  cursor: pointer;
  z-index: 3;
  text-indent: -9999px;
  transition: background-color 0.2s, transform 0.2s;
}

.nav-close:hover {
  background-color: rgba(0, 0, 0, 0.6);
  transform: scale(1.05);
}


