
/* ===========================
   HERO/SLIDER PRINCIPAL (home)
=========================== */
.hero-section {
  background:linear-gradient(135deg,var(--primary-color),var(--secondary-color));
  color:#fff;padding:80px 0;position:relative;overflow:hidden;
}
.hero-section::before {
  content:'';position:absolute;top:0;left:0;right:0;bottom:0;
  background:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="3" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="80" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
  animation:float 20s infinite linear;
}
@keyframes float {0%{transform:translateY(0);}50%{transform:translateY(-20px);}100%{transform:translateY(0);}}
.hero-section .carousel-item { min-height:420px; display:flex; align-items:center;}
.hero-section .hero-slide-1 { background:linear-gradient(135deg,#EE285B,#534fb5); color:#fff;}
.hero-section .hero-slide-2 { background:linear-gradient(135deg,#A259F7,#FFD600); color:#302757;}
.hero-section .hero-slide-3 { background:linear-gradient(135deg,#06D6A0,#FE5F55); color:#fff;}
.hero-section .display-4, .hero-section h4, .hero-section h1 { color:inherit; }

/* ===========================
   MOSAICO DE CATEGORÍAS (home)
=========================== */
.categorias-grid img, .categorias-slider img {
  border-radius:1rem;box-shadow:0 2px 8px #534fb533;transition:.22s;
}
.categorias-grid img:hover, .categorias-slider img:hover {
  transform:scale(1.04) rotate(-2deg);
}


/* ===========================
   SLIDER HERO - SHIPPING CARD
   (Usado en los slides del hero de la home)
=========================== */
.shipping-card {
  background: #fff;
  border-radius: 20px;
  padding: 2.5rem 1.5rem;
  box-shadow: 0 10px 30px rgba(238,40,91,0.10);
  transition: transform 0.3s, box-shadow 0.3s;
  border: none;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.shipping-card:hover {
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 20px 40px rgba(238,40,91,0.14);
}
.shipping-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
  font-size: 2rem;
  color: #fff;
}
@media (max-width: 991.98px) {
  .shipping-card { padding: 1.5rem 0.7rem; }
  .shipping-icon { width: 60px; height: 60px; font-size: 1.5rem; }
}

/* ===========================
   CATEGORÍAS TIPO BANNER-CARD
   (para mosaico de categorías con fondo colorido, imagen y texto)
=========================== */

.category-banner-card {
  min-height: 190px;
  border-radius: 1.2rem;
  overflow: hidden;
  box-shadow: 0 8px 32px 0 rgba(238,40,91,0.12);
  transition: box-shadow .22s, transform .18s;
  position: relative;
  display: flex;
  align-items: end;
  background: var(--light-bg);
  cursor: pointer;
}
.category-banner-card:hover {
  box-shadow: 0 16px 48px 0 rgba(238,40,91,0.18);
  transform: translateY(-6px) scale(1.03);
  text-decoration: none;
}

/* Overlay para imagen de fondo (cuando se use un <img> en background) */
.category-banner-card > img {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.30;
  z-index: 0;
  pointer-events: none;
}
.category-banner-card .p-4,
.category-banner-card .category-banner-content {
  position: relative;
  z-index: 2;
  width: 100%;
}
.category-banner-card h3 {
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.14);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: .5rem;
  letter-spacing: .5px;
  transition: color 0.18s;
}
.category-banner-card p {
  color: #FFD600;
  font-weight: 600;
  margin-bottom: .7rem;
  font-size: 1.05rem;
}
.category-banner-card .badge {
  background: rgba(255,255,255,0.22) !important;
  color: #fff !important;
  font-weight: 600;
  font-size: .98rem;
  border-radius: 1.2rem;
  box-shadow: none;
  padding: 0.7em 1.2em;
  transition: background 0.2s, color 0.2s;
}
.category-banner-card:hover .badge {
  background: var(--accent-color) !important;
  color: var(--text-dark) !important;
}

/* Overlay gradiente (para cards con imagen y overlay extra) */
.category-banner-card .overlay-gradient {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: 1;
  pointer-events: none;
  border-radius: 1.2rem;
}

/* Responsive: banners apilados y cómodos en mobile */
@media (max-width: 767.98px) {
  .category-banner-card {
    min-height: 120px;
    margin-bottom: 1.2rem;
    border-radius: .8rem;
    flex-direction: column;
    align-items: flex-end;
  }
  .category-banner-card h3 { font-size: 1.12rem; }
  .category-banner-card .badge { font-size: .92rem; }
}

.category-banner-card {
  border-radius: 0.7rem !important;
  min-height: 110px;
  box-shadow: 0 8px 32px 0 rgba(238,40,91,0.10);
  transition: box-shadow .22s, transform .18s;
  position: relative;
  display: flex;
  align-items: center;
  cursor: pointer;
}
.category-banner-card:hover {
  box-shadow: 0 16px 48px 0 rgba(238,40,91,0.18);
  transform: translateY(-4px) scale(1.02);
  text-decoration: none;
}
.category-banner-card h4, .category-banner-card h5 {
  font-weight: 700;
  margin-bottom: .3rem;
  letter-spacing: .2px;
}
.category-banner-card button.btn {
  font-weight: 600;
  border: none;
}
@media (max-width: 767.98px) {
  .category-banner-card { min-height: 75px; }
  .category-banner-card h4, .category-banner-card h5 { font-size: 1rem; }
}

.category-banner-card {
  border-radius: 0.7rem !important;
  min-height: 110px;
  box-shadow: 0 8px 32px 0 rgba(238,40,91,0.10);
  transition: box-shadow .22s, transform .18s;
  position: relative;
  display: flex;
  align-items: center;
  cursor: pointer;
  overflow: hidden;
}
.category-bg-img {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}
.category-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: 1;
  pointer-events: none;
  /* Puedes personalizar el color/alpha según categoría */
}
.category-banner-card .position-relative {
  z-index: 2;
}
.category-banner-card:hover {
  box-shadow: 0 16px 48px 0 rgba(238,40,91,0.18);
  transform: translateY(-4px) scale(1.02);
  text-decoration: none;
}

.benefit-card {
  border-radius: .8rem;
  background: #fff;
  transition: transform 0.18s, box-shadow 0.18s;
}
.benefit-card:hover {
  box-shadow: 0 10px 32px 0 rgba(238,40,91,0.10);
  transform: translateY(-3px) scale(1.04);
}