/*=============== TIENDA SE CHIP - ESTILOS PRINCIPALES ===============*/
/*
  Archivo: tienda-styles.css
  Descripción: Estilos de la tienda integrados con el diseño de Se Chip
  Autor: Se Chip Development Team
  Fecha: 2025-01-16
*/

/*=============== IMPORTAR ESTILOS BASE DE SE CHIP ===============*/
/* Los estilos de navbar y variables ya están cargados desde los archivos principales */

/*=============== VARIABLES ADICIONALES PARA LA TIENDA ===============*/
:root {
  /* Colores de la tienda */
  --tienda-primary: var(--first-color);
  --tienda-secondary: hsl(142, 60%, 55%);
  --tienda-accent: hsl(210, 90%, 50%);
  --tienda-success: hsl(142, 70%, 45%);
  --tienda-danger: hsl(0, 70%, 55%);
  --tienda-warning: hsl(45, 90%, 55%);
  --tienda-info: hsl(200, 70%, 50%);
  
  /* Colores de fondo */
  --tienda-bg-light: hsl(0, 0%, 98%);
  --tienda-bg-white: hsl(0, 0%, 100%);
  --tienda-bg-gray: hsl(0, 0%, 95%);
  
  /* Colores de texto */
  --tienda-text-dark: var(--title-color);
  --tienda-text-medium: var(--text-color);
  --tienda-text-light: hsl(210, 10%, 60%);
  
  /* Bordes */
  --tienda-border-color: hsl(0, 0%, 88%);
  --tienda-border-radius: 12px;
  --tienda-border-radius-sm: 8px;
  --tienda-border-radius-lg: 16px;
  
  /* Sombras */
  --tienda-shadow-sm: 0 2px 8px hsla(230, 75%, 32%, .08);
  --tienda-shadow: 0 4px 16px hsla(230, 75%, 32%, .12);
  --tienda-shadow-lg: 0 8px 32px hsla(230, 75%, 32%, .15);
  
  /* Espaciado */
  --tienda-spacing-xs: 0.5rem;
  --tienda-spacing-sm: 1rem;
  --tienda-spacing-md: 1.5rem;
  --tienda-spacing-lg: 2rem;
  --tienda-spacing-xl: 3rem;
  
  /* Transiciones */
  --tienda-transition: all 0.3s ease;
  --tienda-transition-fast: all 0.2s ease;
  
  /* Z-index */
  --z-tienda-base: 1;
  --z-tienda-dropdown: 100;
  --z-tienda-sticky: 200;
  --z-tienda-modal: 1000;
  --z-tienda-toast: 2000;
}

/*=============== NAVBAR ADICIONAL - BOTÓN FAVORITOS ===============*/
.nav__favorites {
  font-size: 1.25rem;
}

/*=============== REDISEÑO PÁGINA PRINCIPAL - 6 SECCIONES ===============*/

/* ============= SECCIÓN 1: SLIDER HERO ============= */
.hero-slider-section {
  position: relative;
  height: 100vh;
  min-height: 500px;
  overflow: hidden;
}

.hero-slider {
  position: relative;
  height: 100%;
  width: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.slide.active {
  opacity: 1;
}

.slide-content {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide-video, .slide-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, hsla(230, 75%, 15%, 0.7), hsla(230, 75%, 15%, 0.4));
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide-text {
  text-align: center;
  color: white;
  max-width: 600px;
  padding: 0 2rem;
}

.slide-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.slide-description {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.slide-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: rgb(40, 121, 254);
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  transition: var(--transition);
  box-shadow: 0 4px 20px hsla(230, 75%, 32%, 0.3);
}

.slide-btn:hover {
  background: var(--first-color-alt);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px hsla(230, 75%, 32%, 0.4);
}

.slider-indicators {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 1rem;
}

.indicator {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.122);
  cursor: pointer;
  transition: var(--transition);
}

.indicator.active, .indicator:hover {
  background: black;
}

/* ============= SECCIÓN 2: MOSAICOS CATEGORÍAS REDISEÑO ============= */
.categorias-mosaicos-section {
  padding: 0;
  background: #f8f9fa;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
}

.mosaicos-container {
  width: 100%;
  max-width: none;
  padding: 0;
  margin: 0;
}

.mosaicos-grid {
  display: grid;
  grid-template-columns: 2fr 2fr 2fr 2fr;
  grid-template-rows: repeat(2, 350px);
  gap: 18px;
  width: 100%;
  padding: 20px;
}

/* Posicionamiento según el esquema exacto */
/* Cuadrado 1 - Superior izquierda (más grande) */
.mosaico.grande {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
}

/* Cuadrado 2 - Inferior izquierda (más grande) */
.mosaico.mediano:nth-of-type(2) {
  grid-column: 1 / 2;
  grid-row: 2 / 3;
}

/* Rectángulo vertical central - Más angosto, ocupa 2 filas */
.mosaico.pequeno:nth-of-type(3) {
  grid-column: 2 / 3;
  grid-row: 1 / 3;
}

/* Cuadrado 4 - Superior derecha (más grande) */
.mosaico.mediano:nth-of-type(4) {
  grid-column: 3 / 4;
  grid-row: 1 / 2;
}

/* Cuadrado 5 - Superior derecha (más grande) */
.mosaico.pequeno:nth-of-type(5) {
  grid-column: 4 / 5;
  grid-row: 1 / 2;
}

/* Rectángulo horizontal - Inferior derecha */
.mosaico.rectangular {
  grid-column: 3 / 5;
  grid-row: 2 / 3;
}

/* Estilos base de mosaicos */
.mosaico {
  position: relative;
  overflow: hidden;
  border-radius: 0;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  background: #fff;
}

.mosaico:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.mosaico-image-bg {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.4s ease;
}

.mosaico:hover .mosaico-image-bg {
  transform: scale(1.05);
}

.mosaico-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.mosaico:hover .mosaico-overlay {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.2));
}

.mosaico-text {
  text-align: center;
  background: rgba(255, 255, 255, 0.9);
  padding: 10px;
  border-radius: 6px;
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0);
  transform: translateY(10px);
  opacity: 0.9;
  transition: all 0.3s ease;
}

.mosaico:hover .mosaico-text {
  transform: translateY(0);
  opacity: 1;
  color: white;
  background: rgb(40, 121, 254);
}

.mosaico-text h3 {
  margin: 0 0 5px 0;
  font-size: 1.2rem;
  font-weight: 700;
}

.mosaico-text p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-color);
  opacity: 0.8;
}

/* Responsive para mosaicos */
@media screen and (max-width: 1140px) {
  .mosaicos-grid {
    display: grid;
    grid-template-columns: 2fr 2fr 2fr 2fr;
    grid-template-rows: repeat(2, 200px);
    gap: 18px;
    width: 100%;
    padding: 20px;
  }
}

@media screen and (max-width: 768px) {
  .mosaicos-grid {
    grid-template-columns: repeat(2, 2fr);
    grid-template-rows: repeat(4, 300px);
    gap: 18px;
    padding: 20px;
  }
  
  /* Reposicionar para móvil - stack vertical */
  .mosaico.grande {
    grid-column: 1 / 1;
    grid-row: 1 / 2;
  }
  
  .mosaico.mediano:nth-of-type(2) {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
  }

  .mosaico.rectangular {
    grid-column: 1 / 3;
    grid-row: 2 / 2;
  }
  
  .mosaico.pequeno:nth-of-type(3) {
    grid-column: 2 / 3;
    grid-row: 3 / 5;
  }
  
  .mosaico.mediano:nth-of-type(4) {
    grid-column: 1 / 1;
    grid-row: 3 / 4;
  }
  
  .mosaico.pequeno:nth-of-type(5) {
    grid-column: 1 / 1;
    grid-row: 4 / 4;
  }
  
  .mosaico-text h3 {
    font-size: 1rem;
  }
  
  .mosaico-text p {
    font-size: 0.8rem;
  }
}

/* ============= SECCIÓN 3: BEST SELLER - PRODUCTOS DESTACADOS ============= */
.best-seller-section {
  padding: 4rem 0;
  background: #fff;
}

.best-seller-header {
  text-align: center;
  margin-bottom: 3rem;
}

.best-seller-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--title-color);
  margin-bottom: 0.5rem;
  letter-spacing: 2px;
}

.best-seller-subtitle {
  font-size: 0.9rem;
  color: var(--text-color);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0;
}

.best-seller-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* Tarjeta de producto Best Seller */
.best-seller-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  position: relative;
}

.best-seller-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

/* Badge de estado */
.product-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  z-index: 2;
}

.product-badge.new {
  background: #007bff;
  color: white;
}

.product-badge.sale {
  background: #dc3545;
  color: white;
}

.product-badge.promo {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  animation: pulse-badge 2s ease-in-out infinite;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

@keyframes pulse-badge {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
  }
}

/* Countdown timer */
.product-countdown {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 0.5rem;
  border-radius: 8px;
  font-size: 0.75rem;
  z-index: 2;
}

.countdown-numbers {
  display: flex;
  gap: 0.25rem;
  margin-top: 0.25rem;
}

.countdown-item {
  text-align: center;
  min-width: 20px;
}

.countdown-value {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
}

.countdown-label {
  display: block;
  font-size: 0.6rem;
  opacity: 0.8;
}

/* Imagen del producto */
.product-image-container {
  position: relative;
  width: 100%;
  height: 250px;
  overflow: hidden;
  background: #f8f9fa;
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.best-seller-card:hover .product-image {
  transform: scale(1.05);
}

/* Contenido del producto */
.product-content {
  padding: 1.5rem;
}

.product-brand {
  font-size: 0.75rem;
  color: var(--text-color);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
}

.product-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--title-color);
  margin-bottom: 1rem;
  line-height: 1.4;
}

.product-price {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.price-current {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--title-color);
}

.price-current.promo-active {
  color: #dc3545;
  font-size: 1.5rem;
}

.price-original {
  font-size: 1rem;
  color: var(--text-color);
  text-decoration: line-through;
  opacity: 0.7;
}

.price-discount {
  background: #dc3545;
  color: white;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* Opciones flexibles del producto */
.product-options {
  margin-bottom: 1.5rem;
}

.product-options-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.option-summary-chip {
  display: inline-flex;
  align-items: center;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  padding: 0.25rem 0.6rem;
  font-size: 0.78rem;
  color: #475569;
  background: #f8fafc;
}

.option-group {
  margin-bottom: 1rem;
}

.option-label {
  font-size: 0.85rem;
  color: var(--text-color);
  margin-bottom: 0.5rem;
  display: block;
}

.option-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* Opciones de color */
.color-option {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid #e0e0e0;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.color-option:hover,
.color-option.active {
  border-color: var(--title-color);
  transform: scale(1.1);
}

.color-option.active::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  text-shadow: 0 0 2px rgba(0,0,0,0.5);
}

/* Opciones de texto (tallas, capacidades, etc.) */
.text-option {
  padding: 0.4rem 0.8rem;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  background: white;
  color: var(--text-color);
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s ease;
  min-width: 40px;
  text-align: center;
}

.text-option:hover,
.text-option.active {
  border-color: var(--title-color);
  background: var(--title-color);
  color: white;
}

.product-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
}

.wishlist-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(40, 121, 254, 0.4);
  background: white;
  color: rgb(40, 121, 254);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1.1rem;
}

.wishlist-btn:hover {
  background: rgba(40, 121, 254, 0.1);
  transform: translateY(-2px);
}

.wishlist-btn:active {
  transform: translateY(0);
}

.wishlist-btn.favorito-activo,
.wishlist-btn.favorito-activo:hover {
  background: rgba(255, 71, 133, 0.15);
  border-color: rgba(255, 71, 133, 0.6);
  color: #ff4785;
}

.wishlist-btn.favorito-activo i {
  color: #ff2e75;
}

/* Botón de agregar al carrito */
.add-to-cart-btn {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgb(40, 121, 254);
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.add-to-cart-btn:hover {
  background: var(--first-color-alt);
  transform: translateY(-2px);
}

.add-to-cart-btn:active {
  transform: translateY(0);
}

/* Responsive */
@media screen and (max-width: 1024px) {
  .best-seller-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
  
  .best-seller-title {
    font-size: 2rem;
  }
  
  .product-image-container {
    height: 200px;
  }
  
  .product-content {
    padding: 1rem;
  }
}

@media screen and (max-width: 768px) {
  .best-seller-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media screen and (max-width: 480px) {
  .best-seller-grid {
    grid-template-columns: 1fr;
  }
  
  .countdown-numbers {
    flex-direction: column;
  }
}

.productos-destacados-section {
  background: var(--tienda-bg-gray);
}

.productos-nuevos-section {
  background: white;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
}

.ver-todos-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--first-color);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}

.ver-todos-btn:hover {
  color: var(--first-color-alt);
}

.productos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.producto-card {
  background: white;
  border-radius: var(--tienda-border-radius);
  padding: 1.5rem;
  box-shadow: var(--tienda-shadow-sm);
  transition: var(--transition);
  cursor: pointer;
}

.producto-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--tienda-shadow);
}

.producto-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--tienda-border-radius-sm);
  margin-bottom: 1rem;
}

.producto-info h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--title-color);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.producto-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--first-color);
  margin-bottom: 1rem;
}

.producto-buttons {
  display: flex;
  gap: 0.5rem;
}

.btn-cart, .btn-details {
  flex: 1;
  padding: 0.75rem;
  border: none;
  border-radius: var(--tienda-border-radius-sm);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-cart {
  background: var(--first-color);
  color: white;
}

.btn-cart:hover {
  background: var(--first-color-alt);
}

.btn-details {
  background: transparent;
  color: var(--first-color);
  border: 2px solid var(--first-color);
}

.btn-details:hover {
  background: var(--first-color);
  color: white;
}

/* ============= SECCIÓN 4: CINTA PROMOCIONES ============= */
.promociones-cinta-section {
  padding: 3rem 0;
  background: var(--first-color);
  color: white;
}

.promociones-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.promocion-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-align: left;
}

.promocion-image {
  width: 60px;
  height: 60px;
  background: hsla(0, 0%, 100%, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.promocion-image i {
  font-size: 1.5rem;
  color: white;
}

.promocion-content h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.promocion-content p {
  opacity: 0.9;
  font-size: 0.9rem;
}

/* ============= SECCIÓN 6: CTA ============= */
.tienda-cta-section {
  padding: 4rem 0;
  background: linear-gradient(135deg, var(--title-color), var(--first-color));
  color: white;
  text-align: center;
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta-text {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}

.cta-btn.primary {
  background: white;
  color: var(--first-color);
}

.cta-btn.primary:hover {
  background: var(--tienda-bg-gray);
  transform: translateY(-2px);
}

.cta-btn.secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.cta-btn.secondary:hover {
  background: white;
  color: var(--first-color);
}

/* ============= RESPONSIVE ============= */
@media screen and (max-width: 768px) {
  .slide-title {
    font-size: 2rem;
  }
  
  .slide-description {
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .categorias-mosaicos-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
  }
  
  .categoria-mosaico {
    padding: 2rem 1rem;
  }
  
  .section-header {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
}

@media screen and (max-width: 480px) {
  .hero-slider-section {
    height: 50vh;
    min-height: 400px;
  }
  
  .slide-text {
    padding: 0 1rem;
  }
  
  .slide-title {
    font-size: 1.5rem;
  }
  
  .categorias-mosaicos-grid {
    grid-template-columns: 1fr;
  }
  
  .promociones-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .promocion-card {
    flex-direction: column;
    text-align: center;
  }
}

/* ============= NOTIFICACIONES TOAST ============= */
.toast-container {
  position: fixed;
  top: 100px;
  right: 20px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 20px hsla(0, 0%, 0%, 0.15);
  transform: translateX(400px);
  transition: all 0.3s ease;
  max-width: 350px;
  border-left: 4px solid var(--first-color);
}

.toast.show {
  transform: translateX(0);
}

.toast.error {
  border-left-color: #e74c3c;
  color: #c0392b;
}

.toast.success {
  border-left-color: #27ae60;
  color: #229954;
}

.toast i {
  font-size: 1.2rem;
}

/* ============= SECCIÓN 4: PUBLICIDAD PROMOCIONAL ============= */
.publicidad-section {
  padding: 0;
  background: #f8f9fa;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
}

.publicidad-container {
  width: 100%;
  max-width: none;
  padding: 0;
  margin: 0;
}

.publicidad-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  width: 100%;
}

/* Estilos base de publicidad */
.publicidad-card {
  position: relative;
  overflow: hidden;
  border-radius: 0;
  cursor: pointer;
  height: 300px;
  transition: all 0.4s ease;
}

.publicidad-card:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.publicidad-image-bg {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.4s ease;
}

.publicidad-card:hover .publicidad-image-bg {
  transform: scale(1.1);
}

.publicidad-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.2));
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.publicidad-card:hover .publicidad-overlay {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.3));
}

.publicidad-text {
  text-align: center;
  color: white;
  padding: 20px;
  transform: translateY(10px);
  opacity: 0.9;
  transition: all 0.3s ease;
}

.publicidad-card:hover .publicidad-text {
  transform: translateY(0);
  opacity: 1;
}

.publicidad-text h3 {
  margin: 0 0 10px 0;
  font-size: 1.8rem;
  font-weight: 700;
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  letter-spacing: 1px;
}

.publicidad-text p {
  margin: 0;
  font-size: 1rem;
  color: white;
  opacity: 0.9;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Responsive para publicidad */
@media screen and (max-width: 1024px) {
  .publicidad-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .publicidad-card {
    height: 250px;
  }
  
  .publicidad-text h3 {
    font-size: 1.5rem;
  }
  
  .publicidad-text p {
    font-size: 0.9rem;
  }
}

@media screen and (max-width: 768px) {
  .publicidad-grid {
    grid-template-columns: 1fr;
  }
  
  .publicidad-card {
    height: 200px;
  }
  
  .publicidad-text h3 {
    font-size: 1.3rem;
  }
  
  .publicidad-text p {
    font-size: 0.8rem;
  }
}

@media screen and (max-width: 480px) {
  .publicidad-card {
    height: 180px;
  }
  
  .publicidad-text {
    padding: 15px;
  }
  
  .publicidad-text h3 {
    font-size: 1.1rem;
  }
}

/* ============= UTILIDADES ADICIONALES ============= */
.precio-anterior {
  text-decoration: line-through;
  color: var(--tienda-text-light);
  font-size: 0.9rem;
  margin-right: 0.5rem;
}

/* ============= AJUSTES LAYOUT GENERAL ============= */
.tienda-page {
  padding-top: calc(var(--header-height));
  background: var(--tienda-bg-light);
}

/*=============== LAYOUT GENERAL DE LA TIENDA ===============*/
.tienda-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--tienda-spacing-md);
}

.tienda-section {
  padding: var(--tienda-spacing-xl) 0;
}

.tienda-page {
  min-height: 100vh;
  background-color: var(--tienda-bg-light);
  padding-top: calc(var(--header-height) + 2rem);
}

/*=============== BREADCRUMB (MIGAS DE PAN) ===============*/
.tienda-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 0;
  font-size: 0.875rem;
  color: var(--tienda-text-light);
}

.tienda-breadcrumb a {
  color: var(--tienda-text-light);
  text-decoration: none;
  transition: var(--tienda-transition-fast);
}

.tienda-breadcrumb a:hover {
  color: var(--tienda-primary);
}

.tienda-breadcrumb .separator {
  color: var(--tienda-border-color);
}

.tienda-breadcrumb .current {
  color: var(--tienda-text-dark);
  font-weight: 600;
}

/*=============== GRID DE PRODUCTOS ===============*/
.productos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--tienda-spacing-md);
  margin-top: var(--tienda-spacing-lg);
}

/*=============== TARJETA DE PRODUCTO ===============*/
.producto-card {
  background: var(--tienda-bg-white);
  border-radius: var(--tienda-border-radius);
  overflow: hidden;
  box-shadow: var(--tienda-shadow-sm);
  transition: var(--tienda-transition);
  display: flex;
  flex-direction: column;
  position: relative;
  cursor: pointer;
}

.producto-card:hover {
  box-shadow: var(--tienda-shadow-lg);
  transform: translateY(-4px);
}

/* Badges del producto */
.producto-badges {
  position: absolute;
  top: var(--tienda-spacing-sm);
  left: var(--tienda-spacing-sm);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  z-index: 2;
}

.producto-badge {
  padding: 0.375rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  width: fit-content;
}

.producto-badge.nuevo {
  background: linear-gradient(135deg, var(--tienda-info), #4facfe);
  color: white;
}

.producto-badge.descuento {
  background: linear-gradient(135deg, var(--tienda-danger), #ff6b6b);
  color: white;
}

.producto-badge.destacado {
  background: linear-gradient(135deg, var(--tienda-warning), #ffd93d);
  color: #333;
}

/* Imagen del producto */
.producto-imagen-container {
  position: relative;
  width: 100%;
  padding-top: 75%; /* Aspect ratio 4:3 */
  overflow: hidden;
  background: var(--tienda-bg-gray);
}

.producto-imagen {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.producto-card:hover .producto-imagen {
  transform: scale(1.08);
}

/* Botones rápidos */
.producto-quick-actions {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  gap: 0.5rem;
  opacity: 0;
  transition: var(--tienda-transition);
}

.producto-card:hover .producto-quick-actions {
  opacity: 1;
}

.quick-action-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: white;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.25rem;
  color: var(--tienda-text-dark);
  box-shadow: var(--tienda-shadow);
  transition: var(--tienda-transition-fast);
}

.quick-action-btn:hover {
  background: var(--tienda-primary);
  color: white;
  transform: scale(1.1);
}

/* Contenido del producto */
.producto-content {
  padding: var(--tienda-spacing-md);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.producto-categoria {
  font-size: 0.75rem;
  color: var(--tienda-primary);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
}

.producto-titulo {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--tienda-text-dark);
  margin-bottom: 0.5rem;
  line-height: 1.4;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}

.producto-descripcion {
  font-size: 0.875rem;
  color: var(--tienda-text-light);
  line-height: 1.5;
  margin-bottom: 1rem;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  flex: 1;
}

/* Precio y stock */
.producto-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: var(--tienda-spacing-sm);
  border-top: 1px solid var(--tienda-border-color);
}

.producto-precio {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.precio-actual {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--tienda-primary);
}

.precio-anterior {
  font-size: 0.875rem;
  color: var(--tienda-text-light);
  text-decoration: line-through;
}

.producto-stock {
  font-size: 0.75rem;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-weight: 600;
}

.producto-stock.disponible {
  background: hsla(142, 70%, 45%, 0.1);
  color: var(--tienda-success);
}

.producto-stock.agotado {
  background: hsla(0, 70%, 55%, 0.1);
  color: var(--tienda-danger);
}

.producto-stock.pocas-unidades {
  background: hsla(45, 90%, 55%, 0.1);
  color: var(--tienda-warning);
}

/*=============== BOTÓN AGREGAR AL CARRITO ===============*/
.btn-agregar-carrito {
  width: 100%;
  padding: 0.875rem 1.5rem;
  background: linear-gradient(135deg, var(--tienda-primary), var(--tienda-secondary));
  color: white;
  border: none;
  border-radius: var(--tienda-border-radius-sm);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: var(--tienda-transition-fast);
  box-shadow: 0 4px 12px hsla(142, 70%, 45%, 0.3);
}

.btn-agregar-carrito:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px hsla(142, 70%, 45%, 0.4);
}

.btn-agregar-carrito:active {
  transform: translateY(0);
}

.btn-agregar-carrito:disabled {
  background: var(--tienda-bg-gray);
  color: var(--tienda-text-light);
  cursor: not-allowed;
  box-shadow: none;
}

/*=============== FILTROS Y ORDENAMIENTO ===============*/
.tienda-filters {
  background: var(--tienda-bg-white);
  border-radius: var(--tienda-border-radius);
  padding: var(--tienda-spacing-md);
  box-shadow: var(--tienda-shadow-sm);
  margin-bottom: var(--tienda-spacing-lg);
}

.filters-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--tienda-spacing-md);
}

.filters-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--tienda-text-dark);
}

.filter-group {
  margin-bottom: var(--tienda-spacing-md);
}

.filter-group-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--tienda-text-medium);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.filter-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filter-option {
  padding: 0.5rem 1rem;
  border: 1px solid var(--tienda-border-color);
  border-radius: 20px;
  background: transparent;
  color: var(--tienda-text-medium);
  cursor: pointer;
  transition: var(--tienda-transition-fast);
  font-size: 0.875rem;
}

.filter-option:hover {
  border-color: var(--tienda-primary);
  color: var(--tienda-primary);
}

.filter-option.active {
  background: var(--tienda-primary);
  border-color: var(--tienda-primary);
  color: white;
}

/*=============== ORDENAMIENTO ===============*/
.sort-container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sort-select {
  padding: 0.625rem 1rem;
  border: 1px solid var(--tienda-border-color);
  border-radius: var(--tienda-border-radius-sm);
  background: var(--tienda-bg-white);
  color: var(--tienda-text-dark);
  font-size: 0.875rem;
  cursor: pointer;
  transition: var(--tienda-transition-fast);
}

.sort-select:hover,
.sort-select:focus {
  border-color: var(--tienda-primary);
  outline: none;
}

/*=============== PAGINACIÓN ===============*/
.tienda-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: var(--tienda-spacing-xl);
  padding: var(--tienda-spacing-md) 0;
}

.pagination-btn {
  width: 40px;
  height: 40px;
  border: 1px solid var(--tienda-border-color);
  border-radius: var(--tienda-border-radius-sm);
  background: var(--tienda-bg-white);
  color: var(--tienda-text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--tienda-transition-fast);
  font-weight: 600;
}

.pagination-btn:hover:not(:disabled) {
  border-color: var(--tienda-primary);
  color: var(--tienda-primary);
  background: hsla(142, 70%, 45%, 0.05);
}

.pagination-btn.active {
  background: var(--tienda-primary);
  border-color: var(--tienda-primary);
  color: white;
}

.pagination-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/*=============== RESPONSIVE ===============*/
@media screen and (max-width: 768px) {
  .productos-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: var(--tienda-spacing-sm);
  }
  
  .producto-titulo {
    font-size: 0.938rem;
  }
  
  .producto-descripcion {
    font-size: 0.813rem;
  }
  
  .precio-actual {
    font-size: 1.25rem;
  }
  
  .tienda-filters {
    padding: var(--tienda-spacing-sm);
  }
}

@media screen and (max-width: 480px) {
  .productos-grid {
    grid-template-columns: 1fr;
  }
  
  .producto-quick-actions {
    opacity: 1; /* Siempre visibles en móvil */
  }
}

/*=============== ANIMACIONES ===============*/
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.producto-card {
  animation: fadeInUp 0.4s ease forwards;
}

.producto-card:nth-child(1) { animation-delay: 0.05s; }
.producto-card:nth-child(2) { animation-delay: 0.1s; }
.producto-card:nth-child(3) { animation-delay: 0.15s; }
.producto-card:nth-child(4) { animation-delay: 0.2s; }
.producto-card:nth-child(5) { animation-delay: 0.25s; }
.producto-card:nth-child(6) { animation-delay: 0.3s; }

/*=============== MODAL CARRITO ===============*/
.carrito-modal {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  z-index: 2000;
  transition: right 0.4s ease;
  pointer-events: none;
}

.carrito-modal.active {
  right: 0;
  pointer-events: all;
}

.carrito-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: hsla(230, 75%, 15%, 0.6);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.3s ease;
  cursor: pointer;
}

.carrito-modal.active .carrito-overlay {
  opacity: 1;
}

.carrito-sidebar {
  position: absolute;
  top: 0;
  right: 0;
  width: min(450px, 90%);
  height: 100vh;
  background-color: var(--tienda-bg-white);
  box-shadow: -4px 0 24px hsla(230, 75%, 32%, .15);
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.carrito-modal.active .carrito-sidebar {
  transform: translateX(0);
}

/* Contenido del carrito */
#listaCarrito {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: var(--tienda-spacing-md);
}

.carrito-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: var(--tienda-spacing-md);
  border-bottom: 2px solid var(--tienda-border-color);
  margin-bottom: var(--tienda-spacing-md);
}

.carrito-header h3 {
  font-size: var(--h3-font-size);
  color: var(--tienda-text-dark);
  margin: 0;
}

.btn-text {
  background: none;
  border: none;
  color: var(--tienda-danger);
  font-size: var(--small-font-size);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem;
  transition: opacity 0.3s;
}

.btn-text:hover {
  opacity: 0.7;
}

/* Items del carrito */
.carrito-items {
  flex: 1;
  overflow-y: auto;
  margin-bottom: var(--tienda-spacing-md);
}

.carrito-item {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: var(--tienda-spacing-sm);
  padding: var(--tienda-spacing-md);
  background-color: var(--tienda-bg-light);
  border-radius: var(--tienda-border-radius);
  margin-bottom: var(--tienda-spacing-sm);
  transition: transform 0.3s;
}

.carrito-item:hover {
  transform: translateX(-4px);
}

.item-imagen {
  width: 80px;
  height: 80px;
  border-radius: var(--tienda-border-radius-sm);
  overflow: hidden;
  background-color: var(--tienda-bg-white);
}

.item-imagen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.item-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.25rem;
}

.item-nombre {
  font-size: var(--normal-font-size);
  font-weight: var(--font-semi-bold);
  color: var(--tienda-text-dark);
  margin: 0;
  line-height: 1.4;
}

.item-variante {
  font-size: var(--smaller-font-size);
  color: var(--tienda-text-light);
}

.item-precio {
  font-size: var(--small-font-size);
  font-weight: var(--font-semi-bold);
  color: var(--tienda-primary);
  margin: 0;
}

.item-cantidad {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  grid-column: 2;
}

.cantidad-btn {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--tienda-bg-white);
  border: 1px solid var(--tienda-border-color);
  border-radius: var(--tienda-border-radius-sm);
  cursor: pointer;
  transition: all 0.3s;
}

.cantidad-btn:hover {
  background-color: var(--tienda-primary);
  color: white;
  border-color: var(--tienda-primary);
}

.cantidad-input {
  width: 50px;
  height: 32px;
  text-align: center;
  border: 1px solid var(--tienda-border-color);
  border-radius: var(--tienda-border-radius-sm);
  font-size: var(--small-font-size);
  font-weight: var(--font-semi-bold);
}

.item-subtotal {
  grid-column: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.5rem;
}

.subtotal-precio {
  font-size: var(--normal-font-size);
  font-weight: var(--font-bold);
  color: var(--tienda-text-dark);
  margin: 0;
}

.btn-eliminar {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: hsla(0, 70%, 55%, 0.1);
  border: none;
  border-radius: var(--tienda-border-radius-sm);
  color: var(--tienda-danger);
  cursor: pointer;
  transition: all 0.3s;
}

.btn-eliminar:hover {
  background-color: var(--tienda-danger);
  color: white;
}

/* Carrito vacío */
.carrito-vacio {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--tienda-spacing-xl);
  color: var(--tienda-text-light);
}

.carrito-vacio i {
  font-size: 4rem;
  color: var(--tienda-text-light);
  margin-bottom: var(--tienda-spacing-md);
  opacity: 0.5;
}

.carrito-vacio h3 {
  color: var(--tienda-text-dark);
  margin-bottom: var(--tienda-spacing-sm);
}

.carrito-vacio p {
  margin-bottom: var(--tienda-spacing-lg);
}

/* Totales */
.carrito-totales {
  padding: var(--tienda-spacing-md);
  background-color: var(--tienda-bg-light);
  border-radius: var(--tienda-border-radius);
  margin-bottom: var(--tienda-spacing-md);
}

.total-row {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  font-size: var(--normal-font-size);
  color: var(--tienda-text-medium);
}

.total-final {
  border-top: 2px solid var(--tienda-border-color);
  margin-top: var(--tienda-spacing-sm);
  padding-top: var(--tienda-spacing-sm);
  font-size: var(--h3-font-size);
  font-weight: var(--font-bold);
  color: var(--tienda-text-dark);
}

/* Acciones del carrito */
.carrito-acciones {
  display: flex;
  gap: var(--tienda-spacing-sm);
}

.btn-primary,
.btn-secondary {
  flex: 1;
  padding: 1rem;
  border: none;
  border-radius: var(--tienda-border-radius);
  font-size: var(--normal-font-size);
  font-weight: var(--font-semi-bold);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.3s;
}

.btn-primary {
  background-color: var(--tienda-primary);
  color: white;
}

.btn-primary:hover {
  background-color: hsl(230, 70%, 50%);
  transform: translateY(-2px);
  box-shadow: var(--tienda-shadow);
}

.btn-secondary {
  background-color: transparent;
  border: 2px solid var(--tienda-border-color);
  color: var(--tienda-text-dark);
}

.btn-secondary:hover {
  background-color: var(--tienda-bg-light);
}

/*=============== NOTIFICACIONES (TOASTS) ===============*/
.toast-container {
  position: fixed;
  top: 100px;
  right: 20px;
  z-index: 1100000;
  display: flex;
  flex-direction: column;
  gap: var(--tienda-spacing-sm);
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: center;
  gap: var(--tienda-spacing-sm);
  padding: 1rem 1.5rem;
  background-color: white;
  border-radius: var(--tienda-border-radius);
  box-shadow: var(--tienda-shadow-lg);
  min-width: 300px;
  max-width: 400px;
  transform: translateX(calc(100% + 40px));
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: all;
}

.toast.show {
  transform: translateX(0);
  opacity: 1;
}

.toast i {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.toast span {
  flex: 1;
  font-size: var(--normal-font-size);
  color: var(--tienda-text-dark);
}

.toast-success {
  border-left: 4px solid var(--tienda-success);
}

.toast-success i {
  color: var(--tienda-success);
}

.toast-error {
  border-left: 4px solid var(--tienda-danger);
}

.toast-error i {
  color: var(--tienda-danger);
}

.toast-info {
  border-left: 4px solid var(--tienda-info);
}

.toast-info i {
  color: var(--tienda-info);
}

.toast-warning {
  border-left: 4px solid #f0ad4e;
  color: #b9770e;
}

.toast-warning i {
  color: #f0ad4e;
}

/*=============== MENSAJE SIN PRODUCTOS ===============*/
.no-productos {
  grid-column: 1 / -1;
  text-align: center;
  padding: var(--tienda-spacing-xl) var(--tienda-spacing-md);
  color: var(--tienda-text-light);
}

.no-productos i {
  font-size: 4rem;
  margin-bottom: var(--tienda-spacing-md);
  opacity: 0.5;
}

.no-productos h3 {
  color: var(--tienda-text-dark);
  margin-bottom: var(--tienda-spacing-sm);
}

.no-productos p {
  color: var(--tienda-text-medium);
}

/*=============== RESPONSIVE CARRITO ===============*/
@media screen and (max-width: 480px) {
  .carrito-sidebar {
    width: 100%;
  }
  
  .carrito-item {
    grid-template-columns: 60px 1fr;
    gap: var(--tienda-spacing-sm);
  }
  
  .item-imagen {
    width: 60px;
    height: 60px;
  }
  
  .item-cantidad {
    grid-column: 1 / -1;
    justify-content: flex-start;
    margin-top: var(--tienda-spacing-sm);
  }
  
  .item-subtotal {
    grid-column: 2;
    grid-row: 1;
  }
  
  .toast {
    min-width: calc(100vw - 40px);
  }
  
  .toast-container {
    right: 20px;
    left: 20px;
  }
}
