/**
 * Styles pets (liste + single) — ne touche PAS au header Elementor.
 */

.ava-pets-list {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 16px 48px;
  box-sizing: border-box;
  color: #2a3854;
}

.ava-pets-list .blocs_filtre > h3 {
  font-size: 28px;
  margin-bottom: 24px;
}

/* Search & Filter — desktop */
.ava-pets-list .searchandfilter {
  margin-bottom: 40px;
}

.ava-pets-list .searchandfilter ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  width: 100%;
}

.ava-pets-list .searchandfilter ul li {
  flex: 1 1 160px;
  background: #fff;
  box-shadow: 0px 4px 19px rgba(42, 56, 84, 0.12);
  border-radius: 40px;
  position: relative;
  padding: 0;
  margin: 0;
}

.ava-pets-list .searchandfilter select {
  color: #2a3854;
  font-weight: bold;
  padding: 15px 40px 15px 24px;
  width: 100%;
  background: transparent;
  border: 0;
  border-radius: 40px;
  appearance: none;
  cursor: pointer;
  box-sizing: border-box;
}

.ava-pets-list .searchandfilter select:focus {
  outline: 4px solid #0dc0b9;
}

.ava-pets-list .searchandfilter input[type="submit"] {
  background-color: #0dc0b9;
  padding: 12px 24px;
  color: #fff;
  border-radius: 40px;
  text-transform: uppercase;
  font-weight: bold;
  border: 0;
  width: 100%;
  cursor: pointer;
  box-shadow: 0px 4px 19px rgba(0, 207, 199, 0.5);
}

.ava-pets-list .searchandfilter input[type="submit"]:hover {
  background-color: #08b8ad;
}

/* Grille animaux */
.ava-pets-list .filtre {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media screen and (min-width: 640px) {
  .ava-pets-list .filtre {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}

@media screen and (min-width: 1092px) {
  .ava-pets-list .filtre {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
  }
}

.ava-pets-list .filtre > a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.ava-pets-list .filtre .bloc_filtre {
  background: #fff;
  box-shadow: 0px 4px 19px rgba(42, 56, 84, 0.12);
  transition: box-shadow ease 300ms;
  border-radius: 30px;
  overflow: hidden;
}

.ava-pets-list .filtre .bloc_filtre:hover {
  box-shadow: 0px 4px 10px rgba(42, 56, 84, 0.2);
}

.ava-pets-list .filtre .image_pets {
  height: 280px;
  border-radius: 30px 30px 0 0;
  background-size: cover;
  background-position: center;
}

@media screen and (min-width: 1092px) {
  .ava-pets-list .filtre .image_pets {
    height: 320px;
  }
}

.ava-pets-list .filtre .informations_pets {
  padding: 16px 24px 20px;
}

.ava-pets-list .filtre .informations_pets .info_prenom {
  font-weight: bold;
  color: #2a3854;
  font-size: 18px;
  margin: 0 0 4px;
}

.ava-pets-list .filtre .informations_pets .info_age {
  color: #7f8898;
  margin: 0;
}

.ava-pets-list .filtre .informations_pets .info_sexe {
  float: right;
  margin-top: -28px;
}

.ava-pets-list .filtre .informations_pets .info_sexe img {
  height: 24px;
  width: 24px;
}

.ava-pets-list .empty {
  text-align: center;
  padding: 40px 16px;
}

.ava-pets-list .empty span {
  display: block;
  color: #7f8898;
  margin-top: 8px;
}

.ava-pets-list .button_ajout {
  text-align: center;
  margin-top: 32px;
}

.ava-pets-list .button_ajout .load-more {
  cursor: pointer;
  text-transform: uppercase;
  font-weight: bold;
  background-color: #0dc0b9;
  box-shadow: 0px 4px 19px rgba(0, 207, 199, 0.5);
  border: none;
  color: #fff;
  padding: 12px 28px;
  border-radius: 40px;
}

.ava-pets-list .button_ajout .load-more:hover {
  background-color: #08b8ad;
}

/* ——— Single ——— */
.ava-pets-single {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 16px 64px;
  box-sizing: border-box;
  color: #2a3854;
}

.ava-pets-single .container_pets .pets {
  margin-top: 24px;
  display: flex;
  gap: 40px;
  position: relative;
}

@media screen and (max-width: 1091px) {
  .ava-pets-single .container_pets .pets {
    flex-direction: column;
    gap: 0;
  }
}

.ava-pets-single #carousel_pets {
  width: 50%;
}

@media screen and (max-width: 1091px) {
  .ava-pets-single #carousel_pets {
    width: 100%;
  }
}

.ava-pets-single #carousel_pets .carousel img,
.ava-pets-single #carousel_pets .img_slider {
  width: 100%;
  border-radius: 30px;
  margin-bottom: 5%;
  display: block;
}

@media screen and (max-width: 1091px) {
  .ava-pets-single #carousel_pets .carousel img,
  .ava-pets-single #carousel_pets .img_slider {
    border-radius: 0;
  }

  .ava-pets-single .presentation {
    background-color: #ffffff;
    border-radius: 30px;
    margin-top: -12%;
    z-index: 1;
    position: relative;
    padding: 24px 5%;
  }
}

.ava-pets-single .presentation h1 {
  font-size: 48px;
  margin: 0 0 8px;
  line-height: 1.15;
}

@media screen and (max-width: 768px) {
  .ava-pets-single .presentation h1 {
    font-size: 32px;
  }
}

.ava-pets-single .presentation h2 {
  font-size: 28px;
  margin: 0 0 24px;
  font-weight: 500;
}

.ava-pets-single .infos_pets {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-bottom: 24px;
}

.ava-pets-single .infos_pets .info_pets p {
  display: flex;
  align-items: center;
  font-weight: bold;
  font-size: 18px;
  margin: 0;
}

.ava-pets-single .infos_pets .info_pets span img {
  height: 28px;
  width: 28px;
  margin-right: 10px;
}

.ava-pets-single .button_adopter {
  margin-top: 24px;
}

.ava-pets-single .button_adopter a {
  display: inline-block;
  color: #ffffff;
  font-weight: bold;
  text-transform: uppercase;
  background-color: #0dc0b9;
  padding: 16px 48px;
  border-radius: 40px;
  box-shadow: 0px 4px 19px rgba(0, 207, 199, 0.5);
  text-decoration: none;
  transition: box-shadow ease 300ms;
}

.ava-pets-single .button_adopter a:hover {
  box-shadow: 0px 4px 19px #00cfc7;
}

.ava-pets-single .button_adopter a.red {
  background-color: #e04546;
  box-shadow: 0px 4px 19px rgba(224, 70, 70, 0.5);
}

.ava-pets-single .button_adopter a.red:hover {
  box-shadow: 0px 4px 19px #e04646;
}

.ava-pets-single .content_pets {
  margin-top: 48px;
}

.ava-pets-single .content_pets .histoire,
.ava-pets-single .content_pets .comportement {
  margin-bottom: 40px;
}

.ava-pets-single .content_pets h3 {
  font-size: 28px;
  margin-bottom: 16px;
}

.ava-pets-single #carousel_pets .slick-dots {
  bottom: -8px;
}

.ava-pets-single #carousel_pets .slick-dots button:before {
  font-size: 14px;
}
