/*************ESTILOS HOME****************/

/*///////////MATERIALES + DESTACADOS /////////////*/
.product-badge {
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-new {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.product-card-modern {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  overflow: hidden;
  position: relative;
  height: 100%;
}

.product-card-modern:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

/* Imagen del producto */
.product-image-container {
  position: relative;
  overflow: hidden;
  background: #f8f9fa;
}

.product-image-wrapper {
  position: relative;
  padding-top: 75%;
  /* Ratio 4:3 */
  overflow: hidden;
}

.product-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card-modern:hover .product-image {
  transform: scale(1.05);
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 80%;
  height: 80%;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, 0.03) 100%
  );
}

/* Contenido del producto */
.product-content {
  padding: 20px;
}

.product-meta-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.product-brand {
  font-size: 0.875rem;
  color: #667eea;
  font-weight: 600;
}

.product-category {
  font-size: 0.75rem;
  color: #6c757d;
  background: #f8f9fa;
  padding: 4px 8px;
  border-radius: 12px;
}

.product-title {
  margin-bottom: 12px;
}

.product-title a {
  color: #2d3748;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  line-height: 1.4;
  transition: color 0.2s ease;
}

.product-title a:hover {
  color: #667eea;
}

/* Especificaciones */
.product-specs {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.spec-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #6c757d;
  font-size: 0.8rem;
}

.spec-item i {
  width: 16px;
  color: #667eea;
}

/* Footer del producto */
.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.price-section {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.current-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: #2d3748;
}

.original-price {
  font-size: 0.875rem;
  color: #a0aec0;
  text-decoration: line-through;
}

.add-to-cart-btn {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.add-to-cart-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.login-to-buy-btn {
  background: #f7fafc;
  color: #4a5568;
  border: 1px solid #e2e8f0;
  padding: 10px 16px;
  border-radius: 25px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
  font-size: 0.875rem;
}

.login-to-buy-btn:hover {
  background: #edf2f7;
  color: #2d3748;
}

/* Estado de stock */
.product-stock-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  color: #48bb78;
}

.stock-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.in-stock {
  background: #48bb78;
}

/*************CATALOGO ***************/
/* Estilos base para la sección */
.catalogo-hero {
  background: linear-gradient(135deg, #111 0%, #171a1c 100%);
  position: relative;
  overflow: hidden;
}

.catalogo-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(230, 85, 64, 0.2),
    transparent
  );
}

.catalogo-wrapper {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

/* Banner container */
.catalogo-banner {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  background: #fff;
}

.catalogo-banner:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15);
}

.catalogo-banner-link {
  text-decoration: none;
  display: block;
  color: inherit;
}

/* Imagen del banner */
.catalogo-image {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.catalogo-banner:hover .catalogo-image {
  transform: scale(1.03);
}

/* Overlay y contenido */
.catalogo-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0.5) 50%,
    rgba(0, 0, 0, 0.2) 100%
  );
  display: flex;
  align-items: center;
  padding: 3rem;
}

.catalogo-content {
  max-width: 600px;
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Badge */
.catalogo-badge {
  margin-bottom: 1.5rem;
}

.badge-text {
  background: linear-gradient(135deg, #e66b5a 0%, #cf3c27 100%);
  padding: 8px 20px;
  border-radius: 25px;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(230, 85, 64, 0.4);
}

/* Título */
.catalogo-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.1;
}

.year-highlight {
  color: #e65540;

  position: relative;
}

.year-highlight::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(135deg, #e65540 0%, #ab2f1d 100%);
  border-radius: 2px;
}

/* Descripción */
.catalogo-description {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  font-weight: 300;
}

/* CTA Button */
.catalogo-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: 15px 30px;
  border-radius: 50px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
  margin-bottom: 2rem;
}

.catalogo-cta:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateX(10px);
}

.cta-text {
  font-size: 1.125rem;
  font-weight: 600;
}

.cta-icon {
  font-size: 1.25rem;
  transition: transform 0.3s ease;
}

.catalogo-cta:hover .cta-icon {
  transform: translateX(5px);
}

/* Meta información */
.catalogo-meta {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  opacity: 0.8;
}

.meta-item i {
  color: #e65540;
}

/* Indicador de scroll */
.scroll-indicator {
  text-align: center;
  margin-top: 2rem;
}

.scroll-arrow {
  width: 30px;
  height: 30px;
  border-right: 2px solid #e65540;
  border-bottom: 2px solid #e65540;
  transform: rotate(45deg);
  animation: bounce 2s infinite;
  margin: 0 auto;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: rotate(45deg) translateY(0);
  }

  40% {
    transform: rotate(45deg) translateY(-10px);
  }

  60% {
    transform: rotate(45deg) translateY(-5px);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .catalogo-overlay {
    padding: 2rem;
  }

  .catalogo-title {
    font-size: 2.5rem;
  }

  .catalogo-description {
    font-size: 1.125rem;
  }

  .catalogo-image {
    height: 400px;
  }

  .catalogo-meta {
    flex-direction: column;
    gap: 1rem;
  }

  .catalogo-cta {
    padding: 12px 24px;
  }
}

@media (max-width: 480px) {
  .catalogo-overlay {
    padding: 1.5rem;
  }

  .catalogo-title {
    font-size: 2rem;
  }

  .catalogo-image {
    height: 300px;
  }
}
