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;
}






.litters-container {
  display: flex;
  padding: 160px 100px 60px 100px;
  gap: 60px;
  align-items: flex-start;
}

.litter-sidebar {
  width: 260px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 32px;
  padding: 24px;
  box-shadow:
    0 0 12px rgba(187, 177, 230, 0.2),
    inset 0 0 30px rgba(116, 101, 228, 0.05);
}

.litter-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.litter-item {
  padding: 12px 18px;
  font-size: 18px;
  font-weight: 500;
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--black);
  transition: all 0.2s ease-in-out;
}


.litter-item:hover {
  background: linear-gradient(135deg, #bba5f5, #a78bdc);
  color: white;
  box-shadow: 0 4px 14px rgba(116, 101, 228, 0.3);
}

.litter-item.active {
  background: linear-gradient(135deg, #bba5f5, #a78bdc);
  color: white;
  box-shadow: 0 4px 14px rgba(116, 101, 228, 0.3);
}

.litter-details {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.litter-block {
  display: none;
  animation: fadeIn 0.3s ease-in-out;
}

.litter-block.active {
  display: block;
}

.litter-block h2 {
  font-size: 36px;
  font-weight: 700;
  font-family: "Montserrat";
  margin-top: 0;
  margin-bottom: 20px;
}


.puppies-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}




.parents {
  display: flex;
  gap: 40px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.card-box {
  width: 450px;
  height: 300px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 28px;
  backdrop-filter: blur(18px);
  padding: 10px;
  text-align: center;
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.05),
    0 4px 24px rgba(0, 0, 0, 0.1),
    inset 0 0 12px rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.card-box:hover {
  transform: translateY(-4px);
}

.card-box img {
  width: 100%;
  height: 100%;
  border-radius: 18px;
  object-fit: cover;

}

.card-box .label {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Montserrat';
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  backdrop-filter: blur(2px);
  box-shadow:
    0 4px 20px rgba(116, 101, 228, 0.15),
    inset 0 0 10px rgba(255, 255, 255, 0.05);
  width: 80%;
  text-align: center;
}




.block-title {
  font-size: 26px;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  margin: 0 0 20px;
  text-align: center;
  color: var(--black);
}

.parents-wrapper,
.puppies-wrapper {
  /* width: 100%; */
  margin-top: 30px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 30px;
  padding: 30px 40px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(16px);
}

.parents,
.puppies-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

/* СТЕКЛЯННЫЕ статус-лейблы */
.status-tag {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 6px 8px;
  font-size: 10px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  border-radius: 99px;
  backdrop-filter: blur(2px);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4), 0 4px 10px rgba(0, 0, 0, 0.08);
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
}

/* Цвет текста */
.card-box.available .status-tag {
  color: #3bb273;
  /* свежий зелёный */
}

.card-box.reserved .status-tag {
  color: #d75c5c;
  /* мягкий красный */
}




@media (max-width: 900px) {

  .litters-container {
    flex-direction: column;
    padding: 100px 20px 60px 20px;
  }

  .litter-sidebar {
    box-sizing: border-box;
    width: 100%;
  }

  .litter-block h2 {
    font-size: 28px;
    text-align: center;
  }
  
  .parents-wrapper, .puppies-wrapper {
    padding: 30px 20px;
  }

  .card-box {
    width: 100%;
    height: 250px;
  }

}