/* Красивые "мигающие" (пульсирующие) кнопки "Забронировать" в карточках
   комнат на главной, плюс кнопка-ссылка "Смотреть все комнаты" под блоком. */

#rooms .room-card button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgb(166, 76, 54);
  color: rgb(255, 248, 237);
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.01em;
  box-shadow: 0 0 0 0 rgba(166, 76, 54, 0.55);
  animation: loft-book-pulse 2.4s ease-in-out infinite;
  transition: transform 0.15s ease, background 0.15s ease;
}

#rooms .room-card button:hover {
  background: rgb(184, 88, 64);
  transform: translateY(-1px);
}

#rooms .room-card button svg {
  transition: transform 0.15s ease;
}

#rooms .room-card button:hover svg {
  transform: translateX(3px);
}

@keyframes loft-book-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(166, 76, 54, 0.55);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(166, 76, 54, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(166, 76, 54, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  #rooms .room-card button {
    animation: none;
  }
}

.loft-view-all-rooms-wrap {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.loft-view-all-rooms {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  border: 1.5px solid rgb(166, 76, 54);
  color: rgb(166, 76, 54);
  font-family: Manrope, sans-serif;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  background: transparent;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.loft-view-all-rooms:hover {
  background: rgb(166, 76, 54);
  color: rgb(255, 248, 237);
  transform: translateY(-1px);
}

.loft-view-all-rooms svg {
  transition: transform 0.15s ease;
}

.loft-view-all-rooms:hover svg {
  transform: translateX(3px);
}

@media (max-width: 640px) {
  .loft-view-all-rooms-wrap {
    margin-top: 28px;
  }
}
