.model-profile {
  background: #fafafa;
  min-height: 100vh;
  padding: 20px 20px 120px;
}

.profile-container {
  max-width: 1200px;
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  font-size: 14px;
  color: #666;
}

.breadcrumb a {
  color: #666;
  text-decoration: none;
}

.breadcrumb a:hover {
  color: #dc2626;
}

.profile-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 10px;
  /* Уменьшили отступ */
}

.verified-badge {
  background: #007bff;
  color: white;
  padding: 5px 12px;
  border-radius: 15px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  margin-top: 8px;
}

.model-title {
  font-size: 28px;
  font-weight: 700;
  margin: 0;
  color: #333;
}

.model-date {
  color: #999;
  font-size: 14px;
  margin-left: auto;
}

.photo-slider-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto 40px;
  border-radius: 8px;
  overflow: visible;
  padding: 0 80px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.photo-slider {
  position: relative;
  width: 400px;
  height: 550px;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.slider-track {
  display: flex;
  transition: transform 0.5s ease;
  height: 100%;
  width: 100%;
}

.slide {
  min-width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.side-preview {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100px;
  height: 150px;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  opacity: 0.6;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.side-preview::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.4);
  z-index: 1;
  transition: all 0.3s ease;
}

.side-preview:hover {
  opacity: 0.9;
  transform: translateY(-50%) scale(1.05);
}

.side-preview:hover::before {
  background: rgba(255, 255, 255, 0.1);
}

.side-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.prev-preview {
  left: 20px;
}

.next-preview {
  right: 20px;
}

.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.7);
  color: white;
  border: none;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  font-weight: bold;
  z-index: 15;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-nav:hover {
  background: rgba(220, 38, 38, 0.8);
  transform: translateY(-50%) scale(1.1);
}

.slider-prev {
  left: 40px;
  opacity: 0.5;
}

.slider-next {
  right: 40px;
  opacity: 0.5;
}

.photo-counter {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 6px 12px;
  border-radius: 15px;
  font-size: 12px;
  font-weight: 500;
  z-index: 10;
  opacity: 0.5;
}

.video-in-about {
  margin-top: 30px;
  background: #000;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  border: 2px solid #dc2626;
}

.video-player {
  width: 100%;
  height: auto;
  border-radius: 6px;
}

.video-placeholder {
  position: relative;
  width: 100%;
  height: 300px;
  background: linear-gradient(135deg, #333, #555);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: white;
}

.video-play-btn {
  background: rgba(220, 38, 38, 0.9);
  color: white;
  border: none;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  margin-bottom: 10px;
  transition: all 0.3s ease;
}

.video-play-btn:hover {
  background: #991b1b;
  transform: scale(1.1);
}

.video-text {
  text-align: center;
}

.video-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 5px;
}

.watch-video-btn {
  background: #dc2626;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 5px;
  font-weight: 600;
  margin-top: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 14px;
}

.watch-video-btn:hover {
  background: #991b1b;
}

.info-sections {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 50px;
  margin-bottom: 60px;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}
.info-sections > *:last-child {
  /* Эта команда говорит: начнись с 1-й линии сетки и закончись на последней */
  grid-column: 1 / -1;

  /* Чтобы он не вылезал за края родителя */
  width: 100%;
  box-sizing: border-box;
}

.about-section {
  background: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.about-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #333;
  text-transform: uppercase;
  border-bottom: 2px solid #dc2626;
  padding-bottom: 10px;
}

.about-text {
  line-height: 1.8;
  color: #555;
  font-size: 15px;
}

.info-grid {
  display: grid;
  gap: 30px;
}

.info-block {
  background: white;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 15px;
}

.info-block-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #333;
  text-transform: uppercase;
  border-bottom: 2px solid #dc2626;
  padding-bottom: 8px;
}

.stats-grid {
  display: grid;
  gap: 12px;
}

.stat-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}

.stat-label {
  color: #666;
  font-size: 14px;
}

.stat-value {
  color: #333;
  font-weight: 600;
}

.rates-grid {
  display: grid;
  gap: 8px;
}

.rate-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #eee;
}

.rate-duration {
  color: #666;
  font-size: 14px;
}

.rate-amount {
  color: #dc2626;
  font-weight: 600;
  font-size: 16px;
}

.contact-section {
  background: linear-gradient(45deg, #dc2626, #991b1b);
  color: white;
  border-radius: 8px;
  text-align: center;
  margin-bottom: 10px;
  margin-top: 10px;
}

.contact-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.contact-main-btn {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: none;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  margin-bottom: 0;
}

.contact-main-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

.contact-dropdown {
  background: rgba(0, 0, 0, 0.9);
  border-radius: 8px;
  padding: 15px;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  height: 0;
  overflow: hidden;
}

.contact-dropdown.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  height: auto;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 14px;
}

.contact-item:hover {
  color: #dc2626;
}

.recommendations {
  margin-top: 5px;
}

.recommendations h2 {
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 40px;
  color: #333;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Плавающие кнопки */
.floating-buttons {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  padding: 15px;
  border-top: 1px solid #eee;
}

.floating-buttons-container {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  gap: 12px;
}

.floating-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  color: #fff;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.floating-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.floating-telegram {
  background: #0088cc;
}

.floating-whatsapp {
  background: #25d366;
}

.banner-link {
  display: block;
  width: 100%;
  text-align: center;
  margin-top: 20px;
}

.banner-image {
  width: 95%;
  max-width: 600px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .model-profile {
    padding: 15px 15px 120px;
  }

  .info-sections {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .side-preview {
    display: none !important;
  }

  .photo-slider-container {
    padding: 0 15px;
    height: 600px;
    /* Увеличили высоту для мобильных */
    max-width: 100%;
    overflow: hidden;
  }

  .photo-slider {
    width: 100%;
    max-width: 450px;
    /* Увеличили размер для мобильных */
    height: 100%;
    /* Увеличили высоту */
    margin: 0 auto;
  }

  .slider-nav {
    width: 50px;
    height: 50px;
    font-size: 20px;
    background: rgba(0, 0, 0, 0.8);
  }

  .slider-prev {
    left: 10px;
  }

  .slider-next {
    right: 10px;
  }

  .photo-counter {
    top: 15px;
    right: 15px;
    font-size: 13px;
    padding: 8px 12px;
  }

  .profile-header {
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
  }

  .model-date {
    margin-left: 0;
  }

  .model-title {
    font-size: 24px;
  }

  .breadcrumb {
    margin-bottom: 15px;
  }

  .floating-btn {
    font-size: 15px;
    padding: 14px 12px;
  }
}

@media (max-width: 480px) {
  .photo-slider-container {
    padding: 0 0px;
    height: 100%;
  }

  .photo-slider {
    max-width: 400px;
    height: 100%;
  }

  .slider-nav {
    width: 45px;
    height: 45px;
    font-size: 18px;
  }

  .slider-prev {
    left: 8px;
  }

  .slider-next {
    right: 8px;
  }

  .floating-buttons {
    padding: 12px;
  }

  .floating-btn {
    font-size: 14px;
    padding: 12px 8px;
  }
}

@media (max-width: 360px) {
  .photo-slider-container {
    padding: 0 0px;
    height: 100%;
  }

  .photo-slider {
    max-width: 350px;
    height: 450px;
  }

  .slider-nav {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .slider-prev {
    left: 5px;
  }

  .slider-next {
    right: 5px;
  }
}

/* Контейнер контактов внутри карточки */
.model-contacts {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  gap: 8px;
  z-index: 5;
}

/* Кнопки контактов в стиле сайта */
.model-contact-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: white;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
  clip-path: polygon(
    0 0,
    calc(100% - 8px) 0,
    100% 8px,
    100% 100%,
    8px 100%,
    0 calc(100% - 8px)
  );
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

.model-contact-btn svg {
  width: 20px;
  height: 20px;
  fill: white;
  /* белые очертания иконок */
  z-index: 1;
}

/* Telegram */
.telegram-contact {
  background: linear-gradient(45deg, #3b82f6, #1d4ed8);
  box-shadow: 0 0 15px rgba(59, 130, 246, 0.3);
}

.telegram-contact:hover {
  background: linear-gradient(45deg, #1d4ed8, #3b82f6);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 0 25px rgba(59, 130, 246, 0.5);
}

/* WhatsApp */
.whatsapp-contact {
  background: linear-gradient(45deg, #10b981, #059669);
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.3);
}

.whatsapp-contact:hover {
  background: linear-gradient(45deg, #059669, #10b981);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 0 25px rgba(16, 185, 129, 0.5);
}

/* Для мобильных чуть меньше */
@media (max-width: 768px) {
  .model-contact-btn {
    width: 34px;
    height: 34px;
  }

  .model-contact-btn svg {
    width: 18px;
    height: 18px;
  }
}

.model-price {
  position: absolute;
  right: 12px;
  color: #fff;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-family: "Cinzel", serif;
}

/* Modal Styles */
.photo-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 10000;
  display: none;
  opacity: 0;
  transition: all 0.3s ease;
}

.photo-modal.show {
  display: flex;
  opacity: 1;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.modal-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2;
  padding: 20px;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 48px;
  height: 48px;
  background: rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
}

.modal-close:hover {
  background: rgba(220, 38, 38, 0.8);
  border-color: #dc2626;
  transform: scale(1.1) rotate(90deg);
  box-shadow: 0 4px 20px rgba(220, 38, 38, 0.5);
}

.modal-content {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-image-container {
  width: 100%;
  height: calc(100% - 120px);
  /* Space for thumbnails */
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.modal-image-container img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 10px 50px rgba(0, 0, 0, 0.7);
  transition: all 0.3s ease;
}

/* Modal Navigation */
.modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 60px;
  height: 60px;
  background: rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 5;
}

.modal-nav:hover {
  background: rgba(220, 38, 38, 0.8);
  border-color: #dc2626;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 4px 20px rgba(220, 38, 38, 0.5);
}

.modal-prev {
  left: 30px;
}

.modal-next {
  right: 30px;
}

/* Modal Counter */
.modal-counter {
  position: absolute;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 10px 20px;
  border-radius: 25px;
  font-size: 16px;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.2);
  z-index: 5;
  top: -5px;
  left: 53px;
}

/* Modal Thumbnails */
.modal-thumbnails {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  max-width: 90%;
  overflow-x: auto;
  padding: 10px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 12px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.modal-thumbnails::-webkit-scrollbar {
  display: none;
}

.thumbnail {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.thumbnail:hover {
  border-color: rgba(255, 255, 255, 0.5);
  transform: scale(1.05);
}

.thumbnail.active {
  border-color: #dc2626;
  box-shadow: 0 0 15px rgba(220, 38, 38, 0.5);
}

.thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Make main slider clickable */
.slide {
  cursor: pointer;
  transition: all 0.3s ease;
}

.slide:hover {
  transform: scale(1.02);
}

.slide img {
  transition: all 0.3s ease;
}

.slide:hover img {
  filter: brightness(1.1);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .modal-container {
    padding: 0px;
  }

  .modal-close {
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
  }

  .modal-image-container {
    height: calc(100% - 80px);
  }

  .modal-image-container img {
    max-width: 95%;
    max-height: 95%;
  }

  .modal-nav {
    width: 50px;
    height: 50px;
  }

  .modal-prev {
    left: 15px;
  }

  .modal-next {
    right: 15px;
  }

  .modal-thumbnails {
    bottom: 15px;
    max-width: 95%;
    padding: 8px;
    gap: 8px;
  }

  .thumbnail {
    width: 50px;
    height: 50px;
  }

  .modal-counter {
    padding: 8px 16px;
    font-size: 14px;
    top: 3px;
    left: 29px;
    margin-left: 10px;
    margin-top: 10px;
  }
}

@media (max-width: 480px) {
  .modal-nav {
    width: 44px;
    height: 44px;
    opacity: 0.5;
  }

  .modal-thumbnails {
    gap: 6px;
  }

  .thumbnail {
    width: 44px;
    height: 44px;
  }
}
