/* Estilos mejorados para las cards */
.product-card {
  transition: all 0.3s ease;
  height: 120%;
  display: flex;
  flex-direction: column;
  margin-top: 5px;
  margin-bottom: 15px;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.product-image {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-image img {
  max-height: 150%;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.card-body {
  padding: 12px !important;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card-title {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.6em;
}

.card-title a {
  color: #333;
  text-decoration: none;
}

.card-title a:hover {
  color: #ffa700;
}
/* ============ ESTILOS PARA PRECIOS ============ */
.price-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 8px 0;
}

.current-price {
  font-size: 1.1rem;
  font-weight: 700;
  color: #d32f2f;
  display: inline-block;
}

.original-price {
  font-size: 0.9rem;
  color: #6c757d;
  text-decoration: line-through;
  display: inline-block;
}

.discount-percentage {
  font-size: 0.85rem;
  font-weight: 600;
  color: white;
  background-color: #d32f2f;
  padding: 2px 6px;
  border-radius: 10px;
  display: inline-block;
}

/* Versión compacta para móviles */
@media (max-width: 767.98px) {
  .price-container {
    gap: 5px;
  }

  .current-price {
    font-size: 1rem;
  }

  .original-price {
    font-size: 0.8rem;
  }

  .discount-percentage {
    font-size: 0.75rem;
    padding: 1px 4px;
  }
}

.current-price {
  font-size: 1.1rem;
  font-weight: 700;
  color: #d32f2f;
}

.discount-badge {
  font-size: 0.75rem;
  padding: 2px 6px;
  background: #d32f2f;
  color: white;
  border-radius: 3px;
  margin-left: 5px;
}

.stock-info {
  font-size: 0.8rem;
  color: #28a745;
  margin-bottom: 10px;
}

.product-actions {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.btn-add-to-cart {
  padding: 6px 12px;
  font-size: 0.85rem;
  background: #ffa700;
  color: white;
  border: none;
  border-radius: 4px;
}

.btn-action-group {
  display: flex;
  gap: 5px;
}

.btn-action {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 50%;
}

/* Badges de estado */
.status-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  font-size: 0.7rem;
  padding: 3px 8px;
  z-index: 2;
}

/* Responsive */
@media (max-width: 767.98px) {
  .col-xs-5 {
    flex: 0 0 50%;
    max-width: 50%;
  }

  .product-image {
    height: 200px !important;
  }

  .card-title {
    font-size: 0.85rem;
  }

  .current-price {
    font-size: 1rem;
  }
}
.stats-container {
  display: flex;
  gap: 15px;
  align-items: center;
  font-family: "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.visitas-widget,
.clock-widget {
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #ffa700 0%, #ffa700 100%);
  border-radius: 12px;
  padding: 12px 20px;
  color: white;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  min-width: 180px;
}

.visitas-widget:hover,
.clock-widget:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.visitas-icon,
.clock-icon {
  font-size: 24px;
  margin-right: 15px;
  background: rgba(255, 249, 249, 0.2);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.visitas-content,
.clock-content {
  display: flex;
  flex-direction: column;
}

.visitas-count,
.digital-clock {
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
}

.visitas-label,
.clock-label {
  font-size: 12px;
  opacity: 0.9;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 3px;
}

.digital-clock {
  font-family: "Courier New", monospace;
  letter-spacing: 2px;
}

/* Animación para el contador */
@keyframes pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }

  100% {
    transform: scale(1);
  }
}

.visitas-count {
  animation: pulse 2s infinite;
}

/* Responsive */
@media (max-width: 768px) {
  .stats-container {
    flex-direction: column;
    align-items: flex-start;
  }

  .visitas-widget,
  .clock-widget {
    width: 100%;
    justify-content: flex-start;
  }
}
/* Responsive */
@media (max-width: 767.98px) {
  .col-xs-5 {
    flex: 0 0 50%;
    max-width: 50%;
  }

  .product-image {
    height: 200px !important;
  }

  .card-title {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.6em;
  }

  .current-price {
    font-size: 1rem;
  }
}
.stats-container {
  display: flex;
  gap: 15px;
  align-items: center;
  font-family: "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

/*estilo para reloj y contador de visitas*/
.stats-container {
  display: flex;
  gap: 15px;
  align-items: center;
  font-family: "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}
.visitas-widget,
.clock-widget {
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #ffa700 0%, #ffa700 100%);
  border-radius: 12px;
  padding: 12px 20px;
  color: white;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  min-width: 180px;
}
.visitas-widget:hover,
.clock-widget:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}
.visitas-icon,
.clock-icon {
  font-size: 24px;
  margin-right: 15px;
  background: rgba(255, 249, 249, 0.2);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.visitas-content,
.clock-content {
  display: flex;
  flex-direction: column;
}
.visitas-count,
.digital-clock {
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
}
.visitas-label,
.clock-label {
  font-size: 12px;
  opacity: 0.9;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 3px;
}
.digital-clock {
  font-family: "Courier New", monospace;
  letter-spacing: 2px;
}
/* Animación para el contador */
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}
.visitas-count {
  animation: pulse 2s infinite;
}
/* Responsive */
@media (max-width: 768px) {
  .stats-container {
    flex-direction: column;
    align-items: flex-start;
  }
  .visitas-widget,
  .clock-widget {
    width: 100%;
    justify-content: flex-start;
  }
}
.unavailable-badge {
  position: relative;
  display: inline-block;
  margin: 15px 0;
}
.unavailable-content {
  position: relative;
  z-index: 2;
  padding: 5px 10px;
  background-color: #ffa700;
  color: white;
  font-weight: bold;
  border-radius: 30px;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 1px;
  box-shadow: 0 4px 20px rgba(255, 59, 48, 0.4);
  transform: scale(0);
  animation: zoomIn 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}
.unavailable-pulse {
  position: absolute;
  width: 100%;
  height: 100%;
  background: inherit;
  border-radius: inherit;
  top: 0;
  left: 0;
  z-index: 1;
  opacity: 0.6;
  animation: pulse 2s infinite;
}
@keyframes zoomIn {
  to {
    transform: scale(1);
  }
}
@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }
  70% {
    transform: scale(1.4);
    opacity: 0;
  }
  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}
.fly-icon {
  position: absolute;
  z-index: 9999;
  font-size: 22px;
  animation: flyToCart 1s ease-in-out forwards;
  color: #28a745;
  pointer-events: none;
}
@keyframes flyToCart {
  0% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
  100% {
    transform: translateY(-120px) translateX(180px) scale(0.3);
    opacity: 0;
  }
}
.hover-effect-dato {
  transition: all 0.3s ease;
  border-radius: 10px;
  background: white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.03);
}
.hover-effect-dato:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  border-color: rgba(78, 84, 200, 0.2);
}
.service-icon img {
  transition: transform 0.5s ease;
}
.hover-effect:hover .service-icon img {
  transform: scale(1.1) rotate(-5deg);
}
.service-content h3 {
  color: #333;
  transition: color 0.3s ease;
}
.hover-effect:hover .service-content h3 {
  color: #4e54c8;
}
.footer-shipping {
  background: linear-gradient(to right, #f9f9ff, #f0f2ff);
  border-radius: 15px;
  overflow: hidden;
}
@media (max-width: 767px) {
  .service-card {
    margin-bottom: 20px;
  }
}
.footer-static-middle {
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.link-hover {
  color: #666;
  transition: all 0.3s ease;
}
.link-hover:hover {
  color: #4e54c8;
  padding-left: 5px;
}
.social-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: transform 0.3s ease;
}
.social-icon:hover {
  transform: translateY(-3px);
}
.bg-twitter {
  background-color: #1da1f2;
}
.bg-facebook {
  background-color: #3b5998;
}
.bg-instagram {
  background: linear-gradient(
    45deg,
    #405de6,
    #5851db,
    #833ab4,
    #c13584,
    #e1306c,
    #fd1d1d
  );
}
.bg-youtube {
  background-color: #ffa700;
}
.bg-linkedin {
  background-color: #0077b5;
}
.subscribe-form .form-control {
  border-radius: 30px 0 0 30px;
}
.subscribe-form .btn {
  border-radius: 0 30px 30px 0;
}
/* WhatsApp Float */
.whatsapp-float {
  position: fixed;
  bottom: 10px;
  left: 30px;
  z-index: 100;
}
.btn-whatsapp {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  color: white;
  font-size: 24px;
  border: none;
  box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
  transition: all 0.3s ease;
}
.btn-whatsapp:hover {
  transform: scale(1.1) rotate(10deg);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}
.whatsapp-icon i {
  font-size: 48px;
}
#whatsappModal .modal-content {
  border-radius: 15px;
}
.oferta-descuento {
  position: relative;
  animation: destello 1.5s infinite, zoom 0.5s ease-in-out;
}
/* Efecto de destello */
@keyframes destello {
  0% {
    color: #ffa700;
    box-shadow: 0 0 10px #ffa700, 0 0 20px #ffa700;
  }
  50% {
    color: #ffff00;
    box-shadow: 0 0 20px #ffff00, 0 0 30px #ffff00;
  }
}
/* Efecto de zoom */
@keyframes zoom {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }

  100% {
    transform: scale(1);
  }
}
/* Estilos para el sticker "Nuevo" */
.position-relative {
  position: relative;
}
.new-sticker {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1;
}

.new-badge {
  display: inline-block;
  background-color: #4b6cb7;
  color: white;
  padding: 3px 8px;
  font-weight: bold;
  font-size: 12px;
  border-radius: 4px;
}
.new-text {
  position: relative;
  z-index: 2;
  display: inline-block;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  letter-spacing: 1px;
}
.new-pulse {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  animation: pulseGlow 2s infinite;
  opacity: 0;
  z-index: 1;
}
/* Animaciones */
@keyframes stickerBounce {
  0% {
    transform: scale(0) rotate(0deg);
    opacity: 0;
  }

  80% {
    transform: scale(1.1) rotate(5deg);
  }

  100% {
    transform: scale(1) rotate(5deg);
    opacity: 1;
  }
}
@keyframes pulseGlow {
  0% {
    transform: scale(0.5);
    opacity: 0;
  }

  50% {
    opacity: 0.5;
  }

  100% {
    transform: scale(2);
    opacity: 0;
  }
}

/* Efecto hover */
.product-image:hover .new-badge {
  animation: badgeShake 0.5s ease-in-out;
}

@keyframes badgeShake {
  0%,
  100% {
    transform: rotate(5deg);
  }

  25% {
    transform: rotate(10deg);
  }

  75% {
    transform: rotate(0deg);
  }
}

/* Efecto para productos nuevos recientes (opcional) */
.new-recent {
  background: linear-gradient(135deg, #ffa700 0%, #ff4b2b 100%);
}

.new-recent .new-pulse {
  background: rgba(255, 255, 255, 0.4);
}
/* Estilos mejorados para el sticker */
.position-relative {
  position: relative;
}

.oferta-content {
  display: inline-block;
  background-color: #ff0000;
  color: white;
  padding: 3px 8px;
  font-weight: bold;
  font-size: 12px;
  border-radius: 4px;
}

.oferta-text {
  position: relative;
  z-index: 2;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  display: inline-block;
  transform: rotate(-1deg);
}

.oferta-ribbon {
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 10px;
  background: rgba(0, 0, 0, 0.1);
  clip-path: polygon(0 0, 100% 0, 95% 100%, 5% 100%);
}

.oferta-dots {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(
    rgba(255, 255, 255, 0.3) 1px,
    transparent 1px
  );
  background-size: 5px 5px;
  opacity: 0.5;
}

/* Animaciones mejoradas */
@keyframes stickerEntrance {
  0% {
    transform: scale(0) rotate(45deg);
    opacity: 0;
  }

  100% {
    transform: scale(1) rotate(15deg);
    opacity: 1;
  }
}

@keyframes pulse {
  0% {
    transform: rotate(15deg) scale(1);
    box-shadow: 0 4px 20px rgba(255, 58, 58, 0.5);
  }

  50% {
    transform: rotate(15deg) scale(1.05);
    box-shadow: 0 6px 25px rgba(255, 58, 58, 0.7);
  }

  100% {
    transform: rotate(15deg) scale(1);
    box-shadow: 0 4px 20px rgba(255, 58, 58, 0.5);
  }
}

/* Efecto hover */
.lg-image:hover .oferta-sticker {
  animation: pulseFast 0.8s infinite, shake 0.5s ease-in-out;
}

@keyframes pulseFast {
  0% {
    transform: rotate(15deg) scale(1);
  }

  50% {
    transform: rotate(15deg) scale(1.1);
  }

  100% {
    transform: rotate(15deg) scale(1);
  }
}

@keyframes shake {
  0%,
  100% {
    transform: rotate(15deg);
  }

  25% {
    transform: rotate(20deg);
  }

  75% {
    transform: rotate(10deg);
  }
}
.modern-ad-container {
  margin: 20px 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.ad-carousel {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  border-radius: 12px;
}

.ad-slide {
  scroll-snap-align: start;
  flex-shrink: 0;
  width: 100%;
  position: relative;
}

.ad-link {
  display: block;
  position: relative;
}

.ad-image {
  width: 100%;
  height: auto;
  max-height: 300px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.ad-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, #ffa700, transparent);
  padding: 0px;
  color: white;
  text-align: center;
  transition: all 0.3s ease;
}

.ad-cta {
  font-size: 1.2rem;
  font-weight: 600;
  display: inline-block;
  padding: 8px 20px;
  background-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.ad-link:hover .ad-image {
  transform: scale(1.03);
}

.ad-link:hover .ad-cta {
  background-color: rgba(255, 255, 255, 0.3);
}

/* Ocultar scrollbar pero mantener funcionalidad */
.ad-carousel::-webkit-scrollbar {
  display: none;
}

/* Responsive */
@media (max-width: 768px) {
  .ad-cta {
    font-size: 1rem;
    padding: 6px 15px;
  }

  .ad-overlay {
    padding: 15px;
  }
}
/*BANNER PUBLI DE CADA PRODUCCTO*/
/* Estilos base (compartidos) */
.featured-product-section {
  position: relative;
  margin: 20px 0;
}

.featured-product-container {
  max-width: 100%;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.featured-product-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.featured-product-image {
  width: 100%;
  height: 100%;
  display: block;
}

.featured-product-overlay {
  position: absolute;
  left: 0;
  right: 0;
  color: white;
  transition: all 0.3s ease;
}

.featured-product-content {
  position: relative;
}

.featured-badge {
  display: inline-block;
  background: #ffa700;
  color: white;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 8px;
}

.featured-button {
  background: white;
  color: #ffa700;
  border: none;
  padding: 8px 16px;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.featured-button:hover {
  background: #f8f9fa;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

/* Versión Desktop */
.desktop-overlay {
  bottom: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  padding: 20px;
}

.desktop-overlay .featured-title {
  font-size: 1.8rem;
  margin-bottom: 12px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* Versión Móvil */
.mobile-overlay {
  bottom: 10px;
  right: 10px;
  left: auto;
  width: auto;
  background: rgba(0, 0, 0, 0.6);
  padding: 10px;
  border-radius: 8px;
  display: none; /* Oculto por defecto */
}

.mobile-overlay .featured-product-content {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-overlay .featured-button {
  padding: 6px 12px;
  font-size: 14px;
}

/* Efecto de brillo (solo desktop) */
.desktop-overlay::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transition: 0.5s;
}

.desktop-overlay:hover::before {
  left: 100%;
}

/* Responsive: Cambio entre versiones */
@media (max-width: 768px) {
  .desktop-overlay {
    display: none;
  }

  .mobile-overlay {
    display: block;
  }

  .featured-product-image {
    margin-top: 5px;
    max-height: 500px;
    object-fit: cover;
  }
}

@media (min-width: 769px) {
  .mobile-overlay {
    display: none;
  }

  .desktop-overlay {
    display: block;
  }

  .featured-product-image {
    max-height: 700px;
  }
}
/*para imagenes public*/
.fade-banner-img {
  position: absolute;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  width: 100%;
  height: auto;
}

.fade-banner-img.active {
  opacity: 1;
  z-index: 1;
}
.fade-banner-container {
  position: relative;
  overflow: hidden;
}
.fade-banner-img.active {
  animation: zoomIn 3s ease-in-out;
}

@keyframes zoomIn {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.05);
  }
}
.fade-banner-img {
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}
/*netamente publicidaad*/

/*estilios nuevos para cambiar de tienda*/
.slider-container {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.single-slide {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 480px;
  overflow: hidden;
}

.slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.5s ease;
}

.slider-content-wrapper {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  padding: 40px;
  box-sizing: border-box;
}

.slider-content {
  position: relative;
  color: white;
  max-width: 450px;
  padding: 25px;
  border-radius: 8px;

  backdrop-filter: blur(5px);
  z-index: 2;

  margin-left: 20px;
  margin-bottom: 8px;
  background: rgba(61, 23, 80, 0.4);
}

.slide-badge {
  display: inline-block;
  background: linear-gradient(to right, #ffa700, #ffa700);
  color: white;
  padding: 6px 15px;
  border-radius: 30px;
  font-size: 13px;
  margin-bottom: 15px;
  font-weight: bold;
  box-shadow: 0 4px 10px rgba(255, 61, 61, 0.3);
}

.slide-title {
  font-size: 1.8rem;
  margin-bottom: 15px;
  line-height: 1.3;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.slide-price {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 0.2rem;
}

.slide-price span {
  display: block;
}

.featured-price-box {
  min-height: 80px;
  /* espacio suficiente para todos los elementos */
}

.price-regular {
  text-decoration: line-through;
  opacity: 0.7;
  margin-right: 10px;
  font-size: 1rem;
  display: inline-block;
}

.price-sale {
  color: #ffdd57;
  font-size: 1.4rem;
  font-weight: bold;
  display: inline-block;
  text-shadow: 1px 1px 2px rgba(255, 250, 250, 0.5);
}

.slide-button {
  display: inline-block;
  padding: 10px 25px;
  background: linear-gradient(to right, #ffa700, #ffa700);
  color: white;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  box-shadow: 0 4px 15px rgba(255, 61, 61, 0.4);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 13px;
}

.slide-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 61, 61, 0.6);
  background: linear-gradient(to right, #ffa700, #ffa700);
  color: #204142;
}

.slider-progress {
  position: absolute;
  bottom: 30px;
  left: 0;
  width: 100%;
  z-index: 5;
  display: flex;
  justify-content: center;
}

.slider-progress .progress {
  height: 3px;
  background: rgba(255, 255, 255, 0.2);
  width: 200px;
  border-radius: 3px;
  overflow: hidden;
}

.slider-progress .progress:after {
  content: "";
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(to right, #ffa700, #ffa700);
  animation: progress 5s linear;
}

@keyframes progress {
  0% {
    width: 0;
  }

  100% {
    width: 100%;
  }
}

/* Responsive Styles */
@media (max-width: 992px) {
  .slider-content {
    max-width: 380px;
    padding: 20px;
    margin-left: 30px;
    margin-bottom: 50px;
  }

  .slide-title {
    font-size: 1.6rem;
  }

  .price-sale {
    font-size: 1.3rem;
  }
}

@media (max-width: 768px) {
  .single-slide {
    height: 70vh;
  }

  .slider-content-wrapper {
    justify-content: center;
  }

  .slider-content {
    max-width: 90%;
    width: 45%;
    margin: 0 auto 30px auto;
    background: rgba(61, 23, 80, 0.4);
    /* color #204142 con 80% opacidad */
  }

  .slide-title {
    font-size: 1rem;
  }

  .slide-price {
    margin-bottom: 15px;
  }

  .price-regular {
    font-size: 0.9rem;
  }

  .price-sale {
    font-size: 1.1rem;
  }

  .slide-button {
    padding: 8px 10px;
    font-size: 8px;
  }
}

@media (max-width: 576px) {
  .single-slide {
    height: 60vh;
    min-height: 400px;
  }

  .slider-content {
    margin-left: 5px;
    padding: 5px;
    margin-bottom: 12px;
  }

  .slide-title {
    font-size: 0.8rem !important;
    margin-bottom: 5px;
  }

  .slide-badge {
    padding: 5px 12px;
    font-size: 8px;
    margin-bottom: 10px;
  }

  .slider-progress {
    bottom: 20px;
  }
}

.text-truncate-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  /* Fuerza 2 líneas como máximo */
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 3em;
  /* Reserva espacio para 2 líneas */
  line-height: 1.5em;
  /* Ajusta según tu fuente */
}

.product-image {
  position: relative;
  overflow: hidden;
}

/*texto para el dia 09/05/2025*/
.agotado-diagonal-badge {
  position: absolute;
  top: 30%;
  left: 40%;
  transform: translate(-40%, -40%) rotate(-35deg);
  z-index: 10;
  pointer-events: none;
}

.agotado-diagonal-badge span {
  font-size: 1.5rem;
  font-weight: bold;
  color: #ffa700;
  text-shadow: 1px 1px 3px #ffa700;
  letter-spacing: 2px;
  background: transparent;
  padding: 5px 10px;
  border: 2px solid #ffa700;
  border-radius: 5px;
  animation: destello 1.5s infinite alternate;
}

@keyframes destello {
  0% {
    opacity: 1;
    text-shadow: 1px 1px 3px rgba(255, 77, 79, 0.5);
  }

  100% {
    opacity: 0.7;
    text-shadow: 2px 2px 6px rgba(255, 77, 79, 0.9);
  }
}

/* Animación suave de brillo */
@keyframes glowBadge {
  0%,
  100% {
    box-shadow: 0 0 10px #204142, 0 0 20px #204142;
  }

  50% {
    box-shadow: 0 0 14px #204142, 0 0 30px #204142;
  }
}

.entrega-rapida-badge {
  background: linear-gradient(135deg, #ffa700, #204142);
  color: white;
  padding: 4px 10px;
  border-radius: 15px;
  font-size: 0.5rem;
  font-weight: 500;
  width: fit-content;
  margin: 5px 0 10px 0;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.1);
  animation: pulseEntrega 2.5s infinite ease-in-out;
  transition: transform 0.2s ease;
}

.entrega-rapida-badge:hover {
  transform: scale(1.03);
}

@keyframes pulseEntrega {
  0%,
  100% {
    box-shadow: 0 0 4px #ffa700;
  }

  50% {
    box-shadow: 0 0 10px #ffa700;
  }
}

.slide-price {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 0.2rem;
}

.slide-price span {
  display: block;
}

/* Asegura alineación horizontal */
.categoria-swiper .swiper-wrapper {
  display: flex;
  align-items: center;
}

/* Evita que los botones se expandan a ancho completo */
.categoria-swiper .swiper-slide {
  width: auto;
  flex-shrink: 0;
}

.slide-price {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 0.2rem;
}

.slide-price span {
  display: block;
}

/* Estilos para móviles - 2 tarjetas por fila */
@media (max-width: 767.98px) {
  /* Contenedor principal del carrusel */
  #li-new-product .product-active.owl-carousel,
  #li-bestseller-product .product-active.owl-carousel,
  #li-featured-product .product-active.owl-carousel {
    display: flex !important;
    flex-wrap: nowrap !important;
    margin: 1 -5px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    padding-bottom: 10px !important;
  }

  /* Columna del producto */
  #li-new-product .product-active .col-lg-12,
  #li-bestseller-product .product-active .col-lg-12,
  #li-featured-product .product-active .col-lg-12 {
    flex: 0 0 50% !important;
    max-width: 50% !important;
    padding: 0 5px !important;
    scroll-snap-align: start !important;
    flex-shrink: 0 !important;
  }

  /* Tarjeta del producto */
  #li-new-product .product-card,
  #li-bestseller-product .product-card,
  #li-featured-product .product-card {
    height: 100%;
    width: 100%;
    margin-bottom: 0;
    margin-top: 5px;
    margin-bottom: 5px;
    margin-left: 5px;
  }

  /* Imagen */
  #li-new-product .product-image,
  #li-bestseller-product .product-image,
  #li-featured-product .product-image {
    height: 210px;
  }

  #li-new-product .product-image img,
  #li-bestseller-product .product-image img,
  #li-featured-product .product-image img {
    height: 100%;
    width: 100%;
    object-fit: contain;
  }

  /* Body de la tarjeta */
  #li-new-product .card-body,
  #li-bestseller-product .card-body,
  #li-featured-product .card-body {
    padding: 8px;
  }

  /* Título */
  #li-new-product .card-title,
  #li-bestseller-product .card-title,
  #li-featured-product .card-title {
    font-size: 0.8rem;
    min-height: 2.4em;
    line-height: 1.3;
    margin-bottom: 1px;
  }

  /* Rating y badges */
  #li-new-product .entrega-rapida-badge span,
  #li-bestseller-product .entrega-rapida-badge span,
  #li-featured-product .entrega-rapida-badge span,
  #li-new-product .rating-box,
  #li-bestseller-product .rating-box,
  #li-featured-product .rating-box {
    font-size: 0.5rem;
  }

  /* Precio */
  #li-new-product .h6.font-weight-bold,
  #li-bestseller-product .h6.font-weight-bold,
  #li-featured-product .h6.font-weight-bold {
    font-size: 0.9rem;
  }

  /* Botones */
  #li-new-product .btn-group .btn,
  #li-bestseller-product .btn-group .btn,
  #li-featured-product .btn-group .btn {
    padding: 0.25rem;
    font-size: 0.7rem;
  }

  #li-new-product .btn-group .btn i,
  #li-bestseller-product .btn-group .btn i,
  #li-featured-product .btn-group .btn i {
    font-size: 0.8rem;
  }

  #li-new-product .btn-ligth,
  #li-bestseller-product .btn-ligth,
  #li-featured-product .btn-ligth {
    padding: 0.25rem 0.5rem;
    font-size: 0.7rem;
    margin-right: 3px;
  }

  /* Badges pequeños */
  #li-new-product .agotado-diagonal-badge,
  #li-bestseller-product .agotado-diagonal-badge,
  #li-featured-product .agotado-diagonal-badge {
    font-size: 0.6rem;
    padding: 2px 5px;
  }

  #li-new-product .new-sticker .oferta-text,
  #li-bestseller-product .new-sticker .oferta-text,
  #li-featured-product .new-sticker .oferta-text,
  #li-new-product .new-sticker .new-text,
  #li-bestseller-product .new-sticker .new-text,
  #li-featured-product .new-sticker .new-text {
    font-size: 0.6rem;
  }

  /* Fix para Owl Carousel */
  #li-new-product .owl-stage-outer,
  #li-bestseller-product .owl-stage-outer,
  #li-featured-product .owl-stage-outer,
  #li-new-product .owl-stage,
  #li-bestseller-product .owl-stage,
  #li-featured-product .owl-stage,
  #li-new-product .owl-item,
  #li-bestseller-product .owl-item,
  #li-featured-product .owl-item {
    display: contents;
  }
}

/* Tablets (3 productos) */
@media (min-width: 768px) and (max-width: 991.98px) {
  #li-new-product .product-active .col-lg-12,
  #li-bestseller-product .product-active .col-lg-12,
  #li-featured-product .product-active .col-lg-12 {
    flex: 0 0 33.333%;
    max-width: 33.333%;
  }
}

/* Estilos generales para videos de youtube */
.video-showcase-section {
  padding: 60px 0;
  background: #f9f9f9;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Encabezado */
.section-header {
  margin-bottom: 50px;
}

.section-title {
  font-size: 2.5rem;
  color: #333;
  position: relative;
  display: inline-block;
  margin-bottom: 15px;
  font-weight: 700;
}

.highlight-text {
  color: #ffa700;
}

.title-decoration {
  width: 80px;
  height: 3px;
  background: linear-gradient(to right, #ffa700, #ff8a9d);
  margin: 15px auto;
}

.section-subtitle {
  color: #777;
  font-size: 1.1rem;
  margin-top: 10px;
}

/* Galería de videos */
.video-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

/* Tarjeta de video */
.video-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

/* Miniaturas */
.video-thumbnail {
  position: relative;
  padding-top: 56.25%;
  /* Relación 16:9 */
  overflow: hidden;
  cursor: pointer;
}

.thumbnail-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.video-card:hover .thumbnail-image {
  transform: scale(1.05);
}

/* Botón de play */
.play-button-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(215, 23, 132, 0.3);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.video-thumbnail:hover .play-button-overlay {
  opacity: 1;
}

.play-icon {
  width: 60px;
  height: 60px;
  background: rgba(215, 23, 132, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.video-thumbnail:hover .play-icon {
  transform: scale(1.1);
}

/* Contenedor del iframe (inicialmente oculto) */
.video-iframe-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: black;
  display: none;
  z-index: 10;
}

.video-iframe-container iframe {
  width: 100%;
  height: 100%;
}

.close-video {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  font-size: 1.5rem;
  border-radius: 50%;
  cursor: pointer;
  z-index: 11;
  transition: all 0.3s ease;
}

.close-video:hover {
  background: #ffa700;
}

/* Información del video */
.video-info {
  padding: 20px;
}

.video-title {
  font-size: 1.2rem;
  color: #333;
  margin-bottom: 15px;
  font-weight: 600;
}

.product-link-btn {
  display: inline-flex;
  align-items: center;
  color: #ffa700;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.product-link-btn i {
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.product-link-btn:hover {
  color: #a51265;
}

.product-link-btn:hover i {
  transform: translateX(5px);
}

/* Mensaje cuando no hay videos */
.no-videos-message {
  text-align: center;
  grid-column: 1 / -1;
  color: #777;
  padding: 30px;
  font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }

  .video-gallery {
    grid-template-columns: 1fr;
  }
}

/* Animación de carga */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.video-card {
  animation: fadeIn 0.5s ease forwards;
}

.video-card:nth-child(1) {
  animation-delay: 0.1s;
}

.video-card:nth-child(2) {
  animation-delay: 0.2s;
}

.video-card:nth-child(3) {
  animation-delay: 0.3s;
}
.tiktok-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.tiktok-card:hover .card-hover-effect {
  opacity: 1;
}

.tiktok-link-btn:hover {
  background: linear-gradient(to right, #20d8e8, #e91e63) !important;
  box-shadow: 0 5px 15px rgba(254, 44, 85, 0.2);
}

.view-more-btn:hover {
  background: #fe2c55;
  color: white !important;
}

.view-more-btn:hover svg {
  fill: white;
}

/* Efectos hover para mejorar la interacción */
.featured-link:hover .featured-image {
  transform: scale(1.05);
}

.featured-button:hover {
  background: #f8f8f8 !important;
  transform: translateX(5px);
}

.promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.promo-card:hover img {
  transform: scale(1.1);
}

.promo-button:hover {
  background: #f8f8f8 !important;
  transform: translateX(5px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .featured-image {
    min-height: 300px !important;
  }

  .featured-title {
    font-size: 22px !important;
  }

  .featured-button {
    padding: 10px 20px !important;
    font-size: 14px !important;
  }

  .section-title {
    font-size: 24px !important;
  }
}
/* Efectos hover */
.modern-product-img:hover img {
  transform: scale(1.05);
}

.modern-view-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Animación para los badges */
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.modern-discount-badge,
.modern-new-badge,
.modern-used-badge {
  animation: pulse 2s infinite;
}

/* Responsive design */
@media (max-width: 992px) {
  .col-lg-4 {
    margin-bottom: 30px;
  }

  .modern-product-img img {
    height: 150px !important;
  }
}

@media (max-width: 768px) {
  .modern-header h2 {
    font-size: 20px !important;
  }

  .modern-product-title {
    font-size: 14px !important;
  }

  .modern-price-box div {
    font-size: 18px !important;
  }
}

/* Animaciones */
@keyframes pulse {
  0% {
    transform: scale(0.95);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.4;
  }
  100% {
    transform: scale(0.95);
    opacity: 0.7;
  }
}

@keyframes float {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
  100% {
    transform: translateY(0);
  }
}

/* Efectos hover */
.trending-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(215, 23, 132, 0.15);
}

.trending-card:hover .product-image {
  transform: scale(1.1);
}

.trending-card:hover .image-overlay {
  background: rgba(215, 23, 132, 0.03);
}

.view-button:hover {
  transform: translateX(5px);
  box-shadow: 0 5px 15px rgba(215, 23, 132, 0.3);
}

.prev-btn:hover,
.next-btn:hover {
  transform: scale(1.1);
}

/* Responsive design */
@media (max-width: 768px) {
  .section-header {
    flex-direction: column;
    align-items: flex-start !important;
  }

  .section-controls {
    margin-top: 20px;
  }

  .trending-card {
    margin: 0 10px;
  }
}

/* Animaciones */
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Efectos hover */
.buy-button:hover {
  background: #ffa700!important;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(215, 23, 132, 0.6);
}

.slider-prev:hover,
.slider-next:hover {
  background: rgba(215, 23, 132, 0.7) !important;
  transform: scale(1.1);
}

/* Transiciones para el contenido del slide */
.slide-content {
  animation: fadeIn 0.8s ease-out;
}

/* Responsive design */
@media (max-width: 992px) {
  .slide-content {
    padding: 20px !important;
  }

  .product-title {
    font-size: 24px !important;
  }

  .sale-price {
    font-size: 24px !important;
  }

  .buy-button {
    padding: 10px 20px !important;
    font-size: 14px !important;
  }
}

@media (max-width: 768px) {
  .slide-background {
    padding-top: 70% !important; /* Más alto en móviles */
  }

  .product-title {
    font-size: 20px !important;
  }

  .price-container {
    flex-direction: column;
    align-items: flex-start !important;
  }

  .original-price {
    margin-bottom: 5px !important;
    margin-right: 0 !important;
  }

  .slider-controls {
    bottom: 10px !important;
  }
}

@media (max-width: 576px) {
  .slide-background {
    padding-top: 100% !important; /* Relación 1:1 en móviles pequeños */
  }

  .slide-content {
    padding: 15px !important;
    text-align: center;
  }

  .discount-badge {
    margin: 0 auto 15px !important;
    display: table !important;
  }

  .price-container {
    align-items: center !important;
  }
}
/* Animaciones */
@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Efectos hover */
.buy-button:hover {
  background: #ffa700!important;
  transform: translateY(-3px) !important;
  box-shadow: 0 5px 15px rgba(215, 23, 132, 0.5);
}

/* Responsive design */
@media (max-width: 1200px) {
  .slide-content-container {
    width: 50% !important;
  }

  .slide-content {
    padding: 25px !important;
  }

  .product-title {
    font-size: 24px !important;
  }
}

@media (max-width: 992px) {
  .modern-hero-slider {
    height: 400px !important;
  }

  .slide-content-container {
    width: 60% !important;
    padding-right: 3% !important;
  }
}

@media (max-width: 768px) {
  .slide-content-container {
    width: 100% !important;
    right: 0 !important;
    left: 0 !important;
    padding: 0 20px !important;
    justify-content: center !important;
  }

  .slide-content {
    max-width: 100% !important;
    padding: 20px !important;
    text-align: center;
  }

  .original-price {
    display: inline-block !important;
    margin-bottom: 0 !important;
  }
}

@media (max-width: 576px) {
  .modern-hero-slider {
    height: 350px !important;
  }

  .product-title {
    font-size: 20px !important;
  }

  .sale-price {
    font-size: 24px !important;
  }

  .buy-button {
    padding: 10px 20px !important;
    font-size: 14px !important;
  }
}
