html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: 'Rubik', sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: linear-gradient(160deg, #ffffff 0%, #e5ccfa 50%, #c2a3e8 100%);
  background-size: cover;
  background-attachment: fixed;
}



.dog-detail-section {
  padding: 140px 60px 60px;
}



.dog-detail-box {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 40px;
  padding: 40px;
  box-shadow: 0 0 20px rgba(116, 101, 228, 0.2),
    0 0 40px rgba(187, 177, 230, 0.3),
    inset 0 0 30px rgba(116, 101, 228, 0.1);
  backdrop-filter: blur(14px);
  max-width: 1400px;
  margin: auto;
  border: 1px solid rgba(255, 255, 255, 0.7);
}



.dog-detail-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  margin-bottom: 40px;
  padding: 0 60px;
}

.dog-main-photo img {
  width: 100%;
  max-width: 500px;
  border-radius: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.dog-info {
  max-width: 500px;
  font-size: 18px;
}

.dog-info h1 {
  font-size: 36px;
  margin-bottom: 20px;
}

.dog-status {
  margin-top: 15px;
  font-weight: bold;
  padding: 6px 12px;
  border-radius: 20px;
  display: inline-block;
  color: #fff;
}

.dog-status.available {
  background: #28a745;
}

.dog-status.reserved {
  background: #dc3545;
}

.dog-status.sold {
  background: #ffc107;
}

.dog-price {
  margin-top: 10px;
  font-size: 20px;
  font-weight: 600;
  color: #000000;
}



/* Галлерея */
.dog-gallery-box {
  display: flex;
  align-items: center;
  position: relative;
  gap: 20px;
  margin-top: 30px;
}

.gallery-btn {
  background: rgba(255, 255, 255, 0.4);
  border: none;
  border-radius: 50%;
  padding: 10px;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: background 0.2s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.gallery-btn:hover {
  background: rgba(255, 255, 255, 0.7);
}

.gallery-btn svg {
  width: 24px;
  height: 24px;
  fill: #333;
  display: block;
}

.gallery-btn.left {
  margin-right: -10px;
}

.gallery-btn.right {
  margin-left: -10px;
}

.dog-gallery-scroll {
  overflow: hidden;
  width: 100%;
}


.dog-gallery-scroll {
  overflow-x: auto;   /* разрешаем горизонтальный скролл */
  overflow-y: hidden; /* вертикальный убираем */
  width: 100%;
  -webkit-overflow-scrolling: touch; /* плавность на iOS */
  scrollbar-width: none;  /* убираем полоску скролла в Firefox */
}
.dog-gallery-scroll::-webkit-scrollbar {
  display: none; /* убираем полоску в Chrome/Safari */
}


.dog-gallery {
  display: flex;
  gap: 20px;
  transition: transform 0.3s ease;
  padding: 10px;
}

.dog-gallery img {
  height: 300px;
  border-radius: 20px;
  cursor: pointer;
  transition: transform 0.2s ease;
  will-change: transform;
}

.dog-gallery img:hover {
  transform: scale(1.02);
  z-index: 2;
  position: relative;
}



/* Фуллскрин */
.fullscreen-preview {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
}

.fullscreen-preview img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 20px;
  box-shadow: 0 0 20px black;
}

.close-preview {
  position: absolute;
  top: 20px;
  right: 40px;
  font-size: 40px;
  color: white;
  cursor: pointer;
  z-index: 1000;
}




.about-puppy {
  margin-top: 50px;
  padding: 0 60px;
}


.gallery-mob-btns {
  display: none;
}

@media (max-width: 900px) {

  .gallery-btn {
    display: none;
  }

  .gallery-mob-btns .gallery-btn {
    display: flex;
  }

  .dog-detail-section {
    padding: 100px 20px 60px;
  }

  .dog-detail-box {
    padding: 20px;
  }

  .dog-detail-wrapper {
    padding: 0;
    gap: 0;
  }

  .dog-gallery-box {
    display: flex;
    flex-direction: column;
  }

  .dog-gallery img {
    height: 200px;
  }


  .gallery-mob-btns {
    display: flex;
    gap: 50px
  }

  .about-puppy {
    padding: 0;
  }
}