:root {
  --verde-principal: #2e8b57;
  --verde-hover: #267349;
  --verde-claro: #e8f5e8;
  --beige-natural: #f8f6f2;
  --texto-oscuro: #2c3e50;
  --texto-suave: #5d6d7e;
  --borde-suave: #e0e0e0;
  --sombra-suave: 0 4px 12px rgba(46, 139, 87, 0.08);
  --sombra-hover: 0 8px 25px rgba(46, 139, 87, 0.15);
}

.swiper-slide {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  min-height: 350px;
  padding: 20px 15px;
  background:#eeeeee;
  border-radius: 16px;
  box-shadow: var(--sombra-suave);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: 1px solid var(--borde-suave);
  position: relative;
  overflow: hidden;
}

.swiper-slide::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--verde-principal), var(--verde-claro));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.swiper-slide:hover::before {
  transform: scaleX(1);
}

.swiper-slide:hover {
  transform: translateY(-8px);
  box-shadow: var(--sombra-hover);
}

.mySwiper img {
  max-height: 225px;
  width: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto 15px auto;
  border-radius: 12px;
  transition: transform 0.3s ease;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
}

.swiper-slide:hover img {
  transform: scale(1.05);
}

.swiper-button-next,
.swiper-button-prev {
  color: #e10600 !important; /* rojo intenso */

}

.swiper-button-next,
.swiper-button-prev {
  width: 28px !important;
  height: 28px !important;
}

.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 0.7rem !important;
}

.swiper-button-next,
.swiper-button-prev {
  width: 32px !important;
  height: 32px !important;
  color: white !important;
  background: linear-gradient(145deg, #2ecc71, #1e8449);
  border-radius: 50%;
  box-shadow: 
    0 4px 10px rgba(0, 0, 0, 0.4),
    0 0 10px rgba(46, 204, 113, 0.6);
  transition: all 0.3s ease;
}

.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 0.8rem !important;
  font-weight: bold;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  transform: scale(1.1);
  box-shadow: 
    0 6px 15px rgba(0, 0, 0, 0.5),
    0 0 15px rgba(46, 204, 113, 0.9);
}


@media (max-width: 768px) {
  .btn-custom {
    min-width: 140px !important;
    max-width: 160px !important;
    padding: 9px 1rem !important;
    font-size: 0.7rem !important;
  }
  
  .btn-custom.btn-secondary {
    min-width: 150px !important;
    max-width: 170px !important;
    font-size: 0.65rem !important;
    padding: 8px 0.9rem !important;
  }
}

.swiper.mySwiper {
  padding-left: 35px;
  padding-right: 35px;
}

.swiper.mySwiper .swiper-wrapper {
  margin: 25 -25px;
}

.swiper-slide h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--texto-oscuro);
  margin: 8px 0 5px 0;
  line-height: 1.3;
  text-transform: lowercase;
}

.swiper-slide h3::first-letter {
  text-transform: uppercase;
}

.swiper-slide p {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--verde-principal);
  margin: 0 0 15px 0;
  position: relative;
  display: inline-block;
}

.swiper-slide p::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 25%;
  right: 25%;
  height: 2px;
  background: var(--verde-claro);
  border-radius: 2px;
}

.btn-custom {
    width: auto !important;
    min-width: 120px;
    max-width: 150px;
    padding: 8px 1rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.7rem;
    letter-spacing: 0.2px;
    transition: all 0.3s ease;
    border: none;
    text-transform: uppercase;
    margin: 0 auto;
    display: block;
    text-align: center;
    white-space: nowrap;
    line-height: 1.2;
}

.btn-custom.btn-success {
    background: var(--verde-principal);
    color: white;
    box-shadow: 0 2px 8px rgba(46, 139, 87, 0.25);
}

.btn-custom.btn-success:hover {
    background: var(--verde-hover);
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(46, 139, 87, 0.35);
}

.btn-custom.btn-secondary {
    background: var(--verde-claro);
    color: var(--texto-suave);
    cursor: not-allowed;
    border: 1px solid var(--borde-suave);
    min-width: 130px;
    font-size: 0.65rem;
    padding: 7px 0.8rem;
}

@media (max-width: 768px) {
  .btn-custom {
    min-width: 110px;
    padding: 6px 0.8rem;
    font-size: 0.65rem;
  }
  
  .btn-custom.btn-secondary {
    min-width: 120px;
    font-size: 0.6rem;
    padding: 5px 0.7rem;
  }
}

.swiper-slide::after {
  content: "♻";
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(46, 139, 87, 0.1);
  color: var(--verde-principal);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.swiper-slide:hover::after {
  opacity: 1;
}

@media (max-width: 768px) {
  .swiper-slide {
    min-height: 300px;
    padding: 15px 12px;
  }
  
  .mySwiper img {
    max-height: 170px;
    margin-bottom: 12px;
  }
  
  .swiper-slide h3 {
    font-size: 1rem;
  }
  
  .swiper-slide p {
    font-size: 1.1rem;
  }
  
  .btn-custom {
    min-width: 140px;
    padding: 10px 1.5rem;
    font-size: 0.85rem;
  }
  
  .btn-custom.btn-secondary {
    min-width: 150px;
  }
}

.mySwiper img {
  opacity: 0;
  animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.btn-custom.btn-secondary {
    background: #f8f9fa !important;
    color: #6c757d !important;
    border: 1px solid #dee2e6 !important;
}

.swiper-slide p {
    color: #000000 !important;
}

.swiper.mySwiperNoDest {
  padding-left: 35px;   
  padding-right: 35px;
}

.swiper.mySwiperNoDest .swiper-wrapper {
  margin: 25 -25px;      
}

.swiper-slide {
  padding: 20px 15px;    
}

.swiper.mySwiperResultados {
  padding-left: 35px;   
  padding-right: 35px;
}

.swiper.swiper.mySwiperResultados .swiper-wrapper {
  margin: 25 -25px;      
}

.swiper-slide {
  padding: 20px 15px;    
}



.destacado {
  font-family: 'Poppins', sans-serif;
  font-size: 27px;
  font-weight: 600;
  text-align: left;
  margin: 1.25rem 0 1.25rem 3.75rem;
  display: inline-block;
  padding-bottom: 0.3125rem;
  margin-left: 60px;
  background: linear-gradient(135deg, #218838 0%, #A8B89B 50%, #8cda9b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  text-shadow: 0px 2px 4px rgba(138, 155, 104, 0.15);
  line-height: 1.3;
  letter-spacing: -0.01em;
  position: relative;
}

.destacado::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 50%;
  height: 1.5px;
  background: linear-gradient(90deg, #218838, #ffffff);
  border-radius: 2px;
  opacity: 0.6;
}

.vendido {
  font-family: 'Poppins', sans-serif;
  font-size: 27px;
  font-weight: 600;
  text-align: left;
  margin: 1.25rem 0 1.25rem 3.125rem;
  display: inline-block;
  margin-left: 60px;
  background: linear-gradient(135deg, #4A7C59 0%, #8A9B68 50%, #C9D6B2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  text-shadow: 0px 2px 4px rgba(74, 124, 89, 0.15);
  line-height: 1.3;
  letter-spacing: -0.01em;
  position: relative;
}

.vendido::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 60%;
  height: 2px;
  background: linear-gradient(90deg, #218838, #ffffff);
  border-radius: 2px;
  opacity: 0.8;
}

@media (max-width: 768px) {
  .vendido {
    margin: 1.25rem 0 1.25rem 1.5rem;
    font-size: 1.75rem;
    text-align: center;
    display: block;
  }
  
  .vendido::after {
    left: 50%;
    transform: translateX(-50%);
    width: 40%;
  }
}

@media (max-width: 480px) {
  .vendido {
    margin: 1rem auto;
    font-size: 1.6rem;
  }
  
  .vendido::after {
    width: 30%;
  }
}



#tituloResultados {
  font-family: 'Poppins', sans-serif;
  font-size: 2.2rem;
  font-weight: 600;
  text-align: center;
  margin: 2rem 0;
  padding: 1.5rem 0;
  background: linear-gradient(135deg, #4A7C59 0%, #6B8E6B 50%, #8A9B68 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  text-shadow: 0px 2px 4px rgba(74, 124, 89, 0.15);
  line-height: 1.3;
  letter-spacing: -0.01em;
  position: relative;
}

#tituloResultados::after {
  content: '';
  position: absolute;
  bottom: 0.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 40%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #4A7C59, transparent);
  border-radius: 2px;
  opacity: 0.7;
}

@keyframes aparecerSuave {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#tituloResultados {
  animation: aparecerSuave 0.6s ease-out;
}

@media (max-width: 768px) {
  #tituloResultados {
    font-size: 1.9rem;
    margin: 1.5rem 0;
    padding: 1rem 0;
  }
  
  #tituloResultados::after {
    width: 60%;
    bottom: 0.25rem;
  }
}

@media (max-width: 480px) {
  #tituloResultados {
    font-size: 1.7rem;
    margin: 1rem 0;
    padding: 0.8rem 1rem;
  }
  
  #tituloResultados::after {
    width: 70%;
  }
}

.swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: #ccc;       
  display: inline-block;
  border-radius: 50%;
  margin: 0 4px;
  cursor: pointer;
}
.swiper-pagination-bullet.active-bullet {
  background: #00cc44;    
}


/* Forzar modo claro en todo el sitio */
:root {
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  body, html {
    background-color: #ffffff !important; 
    color: #000000 !important;         
  }
}


/*AmpliarImagem*/
.zoom-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.7);
  display: flex; justify-content: center; align-items: center;
  z-index: 9999;
}

.zoom-content {
  position: relative;
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  max-width: 90%;
  max-height: 90%;
  overflow: auto;
  text-align: center;
}

.zoomed-img {
  max-width: 100%;
  max-height: 70vh;
  margin-bottom: 10px;
}

.close-zoom {
  position: absolute;
  top: 10px; right: 10px;
  font-size: 1.5rem;
  cursor: pointer;
}

.destacado {
  margin-bottom: 20px;
}

.swiper-slide img {
  cursor: pointer;
  border-radius: 5px;
}

.swiper-slide h3, .swiper-slide p {
  margin: 5px 0;
}

.btn-agregar {
  margin-top: 5px;
}

.zoom-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.zoom-content {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  position: relative;
  max-width: 90%;
  max-height: 90%;
  overflow-y: auto;
}

.zoomed-img {
  max-width: 100%;
  max-height: 400px;
  margin-bottom: 15px;
}

.close-zoom {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  color: #333;
}

.zoom-content button {
  margin-top: 10px;
}
.zoom-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.zoom-content {
  position: relative;
  background: #fff;
  padding: 15px;
  border-radius: 10px;
  max-width: 90%;
  max-height: 90%;
  text-align: center;
  overflow: hidden;
}

.zoomed-img {
  max-width: 100%;
  max-height: 70vh;
  margin-bottom: 10px;
}
.close-zoom {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 2.5rem;
  font-weight: bold;
  color: #fff;
  cursor: pointer;
  z-index: 10000;
  background: rgba(0,0,0,0.5);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.zoom-price {
  font-size: 1.6rem;
  font-weight: 600;
  color: #000000;
}

