@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

* {
 font-family: "Montserrat", sans-serif !important;
  }
  
  .hero-section {
  min-height: 200px;
  display: flex;
  align-items: center;
  position: relative;
}

.hero-section img {
  height: 450px;
  object-fit: cover;
}
  
  .text-orange {
    color: #e66b00;
  }
  .carousel-caption {
  color: white;
  max-width: 1200px;
  border-radius: 0.5rem;
}

.carousel-caption h2 {
  font-size: 2rem;
}

.carousel-caption p {
  font-size: 1.1rem;
}

/* Estilos personalizados para btn-outline-primary */
.btn-outline-primary {
  color: white !important;
  border-color: #b3b3b3 !important;
  background-color: #b3b3b3 !important;
  border-radius: 0 !important;
}

.btn-outline-primary:hover {
  color: #fff !important;
  background-color: #ff9835 !important;
  border-color: #ff9835 !important;
  border-radius: 0 !important;
}

.btn-outline-primary:focus {
  color: #fff !important;
  background-color: #ff9835 !important;
  border-color: #ff9835 !important;
  box-shadow: 0 0 0 0.2rem rgba(255, 152, 53, 0.25) !important;
}

.btn-outline-primary.active {
  color: #fff !important;
  background-color: #ff9835 !important;
  border-color: #ff9835 !important;
}

/* Estilos personalizados para btn-outline-secondary (subcategorías) */
.btn-outline-secondary {
  color: #6c757d !important;
  border-color: #6c757d !important;
  background-color: transparent !important;
  border-radius: 0 !important;
}

.btn-outline-secondary:hover {
  color: #fff !important;
  background-color: #ff9835 !important;
  border-color: #ff9835 !important;
  border-radius: 0 !important;
}

.btn-outline-secondary:focus {
  color: #fff !important;
  background-color: #ff9835 !important;
  border-color: #ff9835 !important;
  box-shadow: 0 0 0 0.2rem rgba(255, 152, 53, 0.25) !important;
}

.btn-outline-secondary.active {
  color: #fff !important;
  background-color: #ff9835 !important;
  border-color: #ff9835 !important;
}

/* Estilos para todas las clases de botones - sin border-radius */
.btn {
  border-radius: 0 !important;
}

.btn-sm {
  border-radius: 0 !important;
}

.btn-lg {
  border-radius: 0 !important;
}

.btn-primary {
  border-radius: 0 !important;
}

.btn-secondary {
  border-radius: 0 !important;
}

.btn-success {
  border-radius: 0 !important;
}

.btn-danger {
  border-radius: 0 !important;
}

.btn-warning {
  border-radius: 0 !important;
}

.btn-info {
  border-radius: 0 !important;
}

.btn-light {
  border-radius: 0 !important;
}

.btn-dark {
  border-radius: 0 !important;
}

/* Estilos para botones de acción (Ver detalle, Ver productos, etc.) */
.btn-primary {
  background-color: #ff9835 !important;
  border-color: #ff9835 !important;
  color: white !important;
}

.btn-primary:hover {
  background-color: #e68a2e !important;
  border-color: #e68a2e !important;
  color: white !important;
}

.btn-primary:focus {
  background-color: #ff9835 !important;
  border-color: #ff9835 !important;
  box-shadow: 0 0 0 0.2rem rgba(255, 152, 53, 0.25) !important;
}

/* Estilos para botones secundarios (PDF, etc.) */
.btn-outline-secondary {
  color: #b3b3b3 !important;
  border-color: #b3b3b3 !important;
  background-color: transparent !important;
}

.btn-outline-secondary:hover {
  color: white !important;
  background-color: #b3b3b3 !important;
  border-color: #b3b3b3 !important;
}

.btn-outline-secondary:focus {
  color: white !important;
  background-color: #b3b3b3 !important;
  border-color: #b3b3b3 !important;
  box-shadow: 0 0 0 0.2rem rgba(179, 179, 179, 0.25) !important;
}

/* Estilos para botones de descargar PDF (rojo) */
.btn-success {
  background-color: #dc3545 !important;
  border-color: #dc3545 !important;
  color: white !important;
}

.btn-success:hover {
  background-color: #c82333 !important;
  border-color: #bd2130 !important;
  color: white !important;
}

.btn-success:focus {
  background-color: #dc3545 !important;
  border-color: #dc3545 !important;
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
}

/* Estilos para botones de PDF adicional (rojo más claro) */
.btn-info {
  background-color: #e74c3c !important;
  border-color: #e74c3c !important;
  color: white !important;
}

.btn-info:hover {
  background-color: #c0392b !important;
  border-color: #a93226 !important;
  color: white !important;
}

.btn-info:focus {
  background-color: #e74c3c !important;
  border-color: #e74c3c !important;
  box-shadow: 0 0 0 0.2rem rgba(231, 76, 60, 0.25) !important;
}

/* Estilos para las tarjetas de categorías */
.category-card {
  transition: all 0.3s ease;
  padding: 15px;
  border-radius: 8px;
  cursor: pointer;
}

.category-card:hover {
  transform: translateY(-5px);
}

.category-card img {
  transition: all 0.3s ease;
  border-radius: 6px;
}

.category-card:hover img {
  transform: scale(1.05);
}

.category-card h6 {
  transition: color 0.3s ease;
  margin-top: 10px;
}

.category-card:hover h6 {
  color: #ff9835 !important;
}

/* Estilos para las tarjetas de productos */
.card {
  transition: all 0.3s ease;
  cursor: pointer;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12) !important;
}
/* 
.card img {
  transition: all 0.3s ease;
  overflow: hidden;
  margin: 12px;
} */

/* .card:hover img {
  transform: scale(1.02);
} */

/* Asegurar que las imágenes no sobresalgan del card */
.card-img-top {
  overflow: hidden !important;
  border-top-left-radius: 0 !important;
  border-top-right-radius: 0 !important;
  padding: 12px; /* Espacio interno en vez de margen en la imagen */
}

.card-img-top img {
  width: 100%;
  height: auto;
  display: block;
}

.card-body {
  transition: all 0.3s ease;
}

.card:hover .card-title {
  color: #ff9835 !important;
}

/* --- Detalle de producto: imagen y detalles alineados y de igual tamaño --- */
.detalle-img-container {
  width: 100%;
  max-width: 500px;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  margin: 0 auto 24px auto;
}
.detalle-img-container img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}
@media (min-width: 992px) {
  .detalle-img-container, .detalle-info-container {
    min-height: 350px;
  }
}
.detalle-info-container {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .carousel-caption {
    max-width: 90%;
    left: 5% !important;
    right: 5% !important;
    padding: 1rem 0.5rem !important;
    bottom: 0.5rem !important;
    border-radius: 0.5rem;
    text-align: left;
  }
  .carousel-caption h2 {
    font-size: 1.2rem;
    line-height: 1.2;
  }
  .carousel-caption p {
    font-size: 0.95rem;
    line-height: 1.2;
  }
  .carousel-caption .btn {
    font-size: 0.95rem;
    padding: 0.3rem 0.8rem;
  }
}

.empresa-container {
  max-width: 800px;
  margin: 40px auto 60px auto;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #555;
  background: #fff;
  padding: 30px 40px;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.empresa-title {
  color: #ffa726;
}
.empresa-container b, .empresa-container strong {
  color: #333;
}
.empresa-container .empresa-section-title {
  font-weight: 700;
  margin-top: 18px;
  margin-bottom: 6px;
  color: #333;
}
.empresa-container ul {
  margin: 0 0 0 18px;
  padding: 0;
}
.empresa-container li {
  margin-bottom: 4px;
}
@media (max-width: 600px) {
  .empresa-container {
    padding: 18px 8px;
  }
  .empresa-title {
    font-size: 2rem;
  }
}

.container .empresa-title {
  color: #ffa726;
}
.container .empresa-title ~ *,
.container .empresa-title ~ * * {
  color: #666666;
}

.contacto-title {
  color: #ffa726;
}
.contacto-texto, .contacto-texto * {
  color: #666666 !important;
}
.contacto-btn {
  background: #ffa726;
  color: #fff;
  border: none;
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 1px;
  transition: background 0.2s;
}
.contacto-btn:hover, .contacto-btn:focus {
  background: #ff9800;
  color: #fff;
}
.contacto-input {
  border: 1px solid #e0e0e0;
  color: #666666;
  font-size: 1rem;
  background: #fff;
  border-radius: 0;
}
.contacto-input::placeholder {
  color: #bdbdbd;
  opacity: 1;
}

.novedades-title {
  color: #ffa726;
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 32px;
  margin-left: 40px;
  font-family: 'Montserrat', Arial, sans-serif;
}
.novedad-card {
  background: #ededed;
  border-radius: 0;
  padding: 32px 40px 32px 40px;
  margin: 0 auto 40px auto;
  max-width: 1000px;
  border: none;
}
.novedad-titulo {
  font-size: 2rem;
  font-weight: 700;
  color: #222;
  font-family: 'Montserrat', Arial, sans-serif;
}
.novedad-desc {
  color: #222;
  font-size: 1.1rem;
}
.novedad-det {
  color: #222;
  font-size: 1rem;
}
.novedad-img {
  max-width: 110px;
  max-height: 260px;
}
.novedad-video {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}
@media (max-width: 768px) {
  .novedades-title {
    font-size: 2rem;
    margin-left: 10px;
  }
  .novedad-card {
    padding: 18px 8px;
  }
  .novedad-img {
    max-width: 80px;
  }
  .novedad-video {
    max-width: 100%;
  }
}

/* Estilos del buscador */
.form-control {
  border-radius: 0 !important;
  border: 1px solid #ddd;
  box-shadow: none;
  transition: border-color 0.2s ease;
}

.form-control:focus {
  border-color: #ffa726;
  box-shadow: 0 0 0 0.2rem rgba(255, 167, 38, 0.25);
}

.btn-outline-secondary {
  border-radius: 0 !important;
  border: 1px solid #ddd;
  color: #666;
  background: #fff;
  transition: all 0.2s ease;
}

.btn-outline-secondary:hover {
  background: #ffa726;
  border-color: #ffa726;
  color: #fff;
}

/* Autocompletado */
.autocomplete-suggestions {
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  border-radius: 0;
  margin-top: 2px;
  border: 1px solid #ddd;
  background: #fff;
}

.autocomplete-suggestions a {
  border-bottom: 1px solid #f0f0f0;
  transition: background 0.2s ease;
}

.autocomplete-suggestions a:last-child {
  border-bottom: none;
}

.autocomplete-suggestions a:hover {
  background: #f8f9fa !important;
}

.autocomplete-suggestions img {
  border-radius: 0 !important;
}

/* Responsive */
@media (max-width: 768px) {
  .navbar .form-control {
    font-size: 14px;
    padding: 8px 12px;
  }
  
  .navbar .btn-outline-secondary {
    padding: 8px 12px;
    font-size: 14px;
  }
  
  .autocomplete-suggestions {
    max-height: 200px;
  }
  
  .autocomplete-suggestions a {
    padding: 8px 10px;
  }
  
  .autocomplete-suggestions img {
    width: 30px !important;
    height: 30px !important;
  }
}

/* Solo móviles reales */
@media (max-width: 576px) {
  .autocomplete-suggestions {
    position: fixed !important;
    top: auto !important;
    left: 10px !important;
    right: 10px !important;
    width: auto !important;
    z-index: 9999 !important;
  }
}

/* Buscador móvil */
.d-lg-none .d-flex {
  width: 100%;
}

.d-lg-none .form-control {
  flex: 1;
  margin-right: 8px;
}

.d-lg-none .btn-outline-secondary {
  flex-shrink: 0;
}

@media (max-width: 576px) {
  .navbar .d-flex {
    width: 100%;
    margin-top: 10px;
  }
  
  .navbar .form-control {
    flex: 1;
  }
}

.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  border-radius: 50%;
  transition: box-shadow 0.2s;
}
.whatsapp-float:hover {
  box-shadow: 0 8px 16px rgba(0,0,0,0.3);
  filter: brightness(1.1);
}
