@keyframes slideInFromLeft {
  0% {
    transform: translateX(-100%);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideInFromRight {
  0% {
    transform: translateX(100%);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

.animateToLeft {
  animation: 1s ease-out 0s 1 slideInFromLeft;
}

.animateToRight {
  animation: 1s ease-out 0s 1 slideInFromRight;
}

.fondo-encuesta {
  padding-top: 60px;
}

.div_all_content_body {
  min-height: 1000px;
  height: 100%;
}

.wp-block-cover .wp-block-cover__inner-container,
.wp-block-cover-image .wp-block-cover__inner-container {
  top: -130px;
}

.wp-block-cover.alignwide.is-light {
  min-height: 100% !important;
}

.texto-encuesta {
  margin-top: 45px;
}

.selector-sector {
  justify-self: center;
  align-self: center;
  margin: 40px 0px;
  width: 25%;
}

.sector-select {
  font-family: Philosopher;
  font-style: normal;
  font-size: 24px;
}

.selector-label {
  display: flex;
  gap: 5px;
  cursor: pointer;
  justify-content: space-between;
  border-bottom: 1px solid black;
}

.arrow {
  transition: transform 0.3s ease;
}

/* Contenedor del select */
.custom-select {
  position: relative;
  width: 100%;
  font-family: Philosopher;
  user-select: none;
}

/* Caja visible */
.custom-select-trigger {
  font-size: 16px;
  font-weight: 600;
  color: #000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2px;
}

/* Opciones */
.custom-options {
  position: absolute;
  overflow-y: scroll;
  height: 250px;
  top: 110%;
  left: 0;
  right: 0;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  display: none;
  flex-direction: column;
  z-index: 100;
}

.custom-select.open .custom-options {
  display: flex;
}

.custom-option {
  padding: 12px 16px;
  font-size: 16px;
  cursor: pointer;
  border-bottom: 1px solid #eee;
  transition: background 0.2s;
}

.custom-option:last-child {
  border-bottom: none;
}

.custom-option:hover {
  background: #f5f5f5;
}

.custom-option.selected {
  font-weight: bold;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 40px, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.grid-title{
  width: 100%;
  margin-top: 20px;
  display: none;
  justify-self: center;
}

.grid-title img{
  justify-self: center;
}

.grid-regalos {
  display: none;
  grid-template-columns: repeat(2, 1fr);
  align-items: start;
  margin: 60px 0px;
}

.grid-regalos.grid-visible {
  display: grid;
  animation: fadeInUp 1s ease-in-out;
}

.grid-item {
  display: flex;
  align-items: center;
  justify-content: center;
  column-gap: 30px;
}

.grid-item:nth-child(2n) {
  margin-top: 200px;
}

.item-img {
  display: flex;
  justify-content: center;
  width: 320px;
  height: 320px;
}

.item-img img {
  height: 100%;
  object-fit: contain;
}

.item-info {
  display: flex;
  max-width: 256px;
  flex-direction: column;
  row-gap: 25px;
}

.btnElegir {
  font-size: 16px;
  font-family: Philosopher;
  font-weight: 700;
  background: #567042;
  color: #fff;
  border: none;
  box-shadow: 0px 2.89px 2.89px 0px #6B6B6B40;
  border-radius: 14px;
  width: 130px;
  height: 30px;
  transition: transform 0.3s ease;
}

.btnElegir:hover {
  transform: scale(1.3);
  cursor: pointer;
}

.footer-regalo{
  display: none;
  justify-self: center;
  align-content: center;
  text-align: center;
  font-weight: bold;
  font-size: 15px;
  position: fixed;
  color: #fff;
  background: rgba(35, 63, 14, 0.8);
  box-shadow: 0px -4px 10px 0px #00000040;
  border-radius: 20px 20px 0px 0px;
  width: 65%;
  height: 75px;
  bottom: 0;
  padding: 15px;
}

.swal-img-padding {
  padding: 15px;
}

@media (max-width: 767px) {
  .selector-sector {
    align-self: center;
    padding: 5px;
    width: 100%;
  }

  .sector-select {
    padding-left: 5px;
    font-size: 20px;
  }

  .grid-regalos {
    grid-template-columns: repeat(1, 1fr);
    align-items: center;
    row-gap: 15px;
  }

  .grid-item {
    column-gap: 10px;
  }

  .grid-item:nth-child(2n) {
    margin-top: unset;
  }

  .item-info {
    max-width: 150px;
  }

  .item-img {
    width: 200px;
    height: 200px;
  }

  .footer-regalo{
    width: 95%;
    padding: 10px;
    font-size: 12px;
    height: 80px;
  }
}