/* =========================
   SECCIÓN OFERTAS ACTIVAS
========================= */
.offers-section{
  padding: 80px 0;
  background: #fff;
  position: relative;
  z-index: 2;
}

.offers-header{
  text-align: center;
  margin-bottom: 36px;
}

.offers-header h2{
  font-size: 2.3rem;
  font-weight: 800;
  color: #2c2c2c;
  margin-bottom: 10px;
}

.offers-header p{
  font-size: 1rem;
  color: #666;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
}

/* CATEGORÍAS */
.offers-categories-wrap{
  display: flex;
  justify-content: center;
  margin: 28px 0 30px;
}

.offers-categories{
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

.category-card{
  border: none;
  background: #fff;
  border-radius: 20px;
  padding: 14px 16px;
  width: 130px;
  min-height: 112px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0,0,0,0.07);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.category-card:hover{
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(0,0,0,0.11);
}

.category-icon{
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff4cc;
  color: #d4a900;
  font-size: 1.2rem;
}

.category-label{
  font-size: 0.92rem;
  font-weight: 700;
  color: #222;
  text-align: center;
  line-height: 1.2;
}

.category-card.active{
  background: #ffd200;
}

.category-card.active .category-icon{
  background: rgba(255,255,255,0.35);
  color: #222;
}

/* GRID OFERTAS */
.offers-cards-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.offer-card{
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.offer-card:hover{
  transform: translateY(-6px);
  box-shadow: 0 22px 45px rgba(0,0,0,0.14);
}

.offer-card img{
  width: 100%;
  display: block;
  height: auto;
}

.offer-card.is-hidden{
  display: none !important;
}

.offers-actions{
  display: flex;
  justify-content: center;
  margin-top: 35px;
}

.offers-more-btn{
  border: none;
  background: #ffd200;
  color: #2c2c2c;
  font-weight: 700;
  font-size: 0.98rem;
  padding: 14px 26px;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(0,0,0,0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.2;
}
@media (max-width: 575px){
  .offers-more-btn{
    width: 100%;
    max-width: 320px;
    min-height: 58px;
    margin: 0 auto;
  }
}

.offers-more-btn:hover{
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(0,0,0,0.16);
}

/* Tablet */
@media (max-width: 991px){
  .offers-section{
    padding: 72px 0;
  }

  .offers-categories-wrap{
    justify-content: flex-start;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 14px 8px;
    margin: 24px -14px 26px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .offers-categories-wrap::-webkit-scrollbar{
    display: none;
  }

  .offers-categories{
    flex-wrap: nowrap;
    justify-content: flex-start;
    min-width: max-content;
    gap: 12px;
    padding-right: 14px;
  }

  .category-card{
    flex: 0 0 auto;
    width: 108px;
    min-height: 98px;
    padding: 12px 12px;
  }

  .offers-cards-grid{
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

/* Móvil */
@media (max-width: 575px){
  .offers-section{
    padding: 72px 0;
    overflow: hidden;
  }

  .offers-header{
    margin-bottom: 28px;
  }

  .offers-header h2{
    font-size: 1.8rem;
  }

  .offers-header p{
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .offers-categories-wrap{
    padding: 0 12px 8px;
    margin: 22px -12px 24px;
  }

  .category-card{
    width: 96px;
    min-height: 90px;
    border-radius: 16px;
    padding: 10px 10px;
  }

  .category-icon{
    width: 40px;
    height: 40px;
    border-radius: 12px;
    font-size: 1rem;
  }

  .category-label{
    font-size: 0.78rem;
    line-height: 1.15;
  }

  .offers-cards-grid{
    display: grid;
    grid-template-columns: 1fr !important;
    gap: 18px;
  }

  .offer-card{
    width: 100%;
    max-width: 100%;
    border-radius: 18px;
  }

  .offer-card img{
    width: 100%;
    height: auto;
    display: block;
  }

  .offers-more-btn{
    width: 100%;
    max-width: 320px;
    min-height: 58px;
    margin: 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.2;
  }
}
.offers-cards-grid .offer-card{
  min-width: 0;
}

/* MENSAJE SIN OFERTAS */
.offers-empty{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #fff;
  border-radius: 24px;
  padding: 42px 24px;
  box-shadow: 0 14px 34px rgba(0,0,0,0.07);
  max-width: 760px;
  margin: 10px auto 0;
}

.offers-empty[hidden]{
  display: none !important;
}

.offers-empty-icon{
  width: 74px;
  height: 74px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff4cc;
  color: #d4a900;
  font-size: 2rem;
  margin-bottom: 18px;
}

.offers-empty h3{
  font-size: 1.8rem;
  font-weight: 800;
  color: #222;
  margin-bottom: 10px;
}

.offers-empty p{
  font-size: 1rem;
  color: #666;
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto 22px;
}

.offers-empty-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  padding: 14px 24px;
  border-radius: 999px;
  background: #ffd200;
  color: #222;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 12px 24px rgba(0,0,0,0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.offers-empty-btn:hover{
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(0,0,0,0.16);
}

@media (max-width: 575px){
  .offers-empty{
    padding: 34px 18px;
    border-radius: 20px;
  }

  .offers-empty-icon{
    width: 62px;
    height: 62px;
    font-size: 1.6rem;
  }

  .offers-empty h3{
    font-size: 1.45rem;
  }

  .offers-empty p{
    font-size: 0.95rem;
  }

  .offers-empty-btn{
    width: 100%;
    max-width: 260px;
  }
}