/* Estilos Generales */
body {
    font-family: 'Poppins', sans-serif;
}

/* Barra Superior */
.top-bar {
    background: #0092CB;
    color: white;
    padding: 8px 0;
    font-size: 14px;
}

.top-bar .social-icons a {
    color: white;
    margin-right: 12px;
    text-decoration: none;
    font-size: 16px;
}

.top-bar .top-links a {
    color: white;
    margin-left: 15px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.top-bar .top-links a:hover {
    color: #0092CB;
}

/* Navbar Principal */
.navbar {
    border-bottom: 2px solid #f1f1f1;
    padding: 15px 0;
}

.search-bar {
    flex-grow: 1;
    max-width: 500px;
    margin: 0 auto;
}

.search-bar input {
    border-radius: 25px 0 0 25px;
    border: 1px solid #ccc;
    padding: 8px 15px;
}

.search-bar button {
    border-radius: 0 25px 25px 0;
    padding: 8px 15px;
}

/* Botones de Ingreso y Cotización */
.btn-outline-primary {
    border-radius: 20px;
    padding: 8px 15px;
    font-weight: bold;
    transition: all 0.3s ease-in-out;
}

.btn-outline-primary:hover {
    background-color: #0092CB;
    color: white;
}

.btn-dark {
    border-radius: 20px;
    padding: 8px 15px;
    font-weight: bold;
}

/* Menú de Categorías */
/* Estilos del menú de categorías */
.category-menu {
    background: #222;
    padding: 12px 0;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

/* Enlaces del menú con Montserrat */
.category-menu .nav-link {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    text-transform: uppercase;
    color: white;
    margin: 0 15px;
    font-weight: bold;
    position: relative;
    transition: all 0.3s ease;
}

/* Efecto hover en los enlaces */
.category-menu .nav-link:hover {
    color: #0092CB;
}

/* Subrayado animado en hover */
.category-menu .nav-link::after {
    content: "";
    display: block;
    width: 0%;
    height: 3px;
    background: #0092CB;
    transition: width 0.3s ease-in-out;
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
}

.category-menu .nav-link:hover::after {
    width: 100%;
}

/* Aplicar Montserrat a los títulos */
h1, h2, h3, .categoria-nombre {
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
}

/* Aplicar Open Sans a los subtítulos */
p, .categoria-titulo {
    font-family: 'Open Sans', sans-serif;
    font-weight: normal;
}





footer {
    background: #ffffff;
    color: #000000;
    padding: 40px 20px;
    font-family: Arial, sans-serif;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: auto;
}

.footer-section {
    width: 22%;
    min-width: 250px;
}

.footer-section h3 {
    color: #0092CB;
    margin-bottom: 15px;
    font-size: 18px;
    text-transform: uppercase;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin: 8px 0;
}

.footer-section a {
    text-decoration: none;
    color: #000000;
    transition: all 0.3s ease;
}

.footer-section a:hover {
    color: #0092CB;
    text-decoration: underline;
}

.download-link {
    display: inline-block;
    background: #0092CB;
    color: #ffffff;
    padding: 8px 12px;
    border-radius: 5px;
    font-weight: bold;
    margin-top: 10px;
}

.download-link:hover {
    background: #000000;
    color: #fff;
}

.social-links {
    display: flex;
    flex-direction: column;
}
        
.social-links a {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 16px;
}

.social-links i {
    font-size: 20px;
    color: #0092CB;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    font-size: 14px;
    background: #222;
    margin-top: 20px;
    padding: 15px;
    width: 100%;
}



/* Estilos generales */
body {
    background-color: #f8f9fa;
    font-family: 'Open Sans', sans-serif;
}

/* Contenedor de las tarjetas */
.row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

/* Tarjetas de productos */
.product-card {
    background: white;
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    max-width: 280px; /* Para que todas las tarjetas tengan el mismo ancho */
}

/* Efecto hover en las tarjetas */
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.15);
}

/* Imágenes */
.product-card img {
    width: 100%;
    max-height: 180px;
    object-fit: contain; /* Ajusta la imagen sin recortarla */
    border-radius: 8px;
    display: block;
    margin: 0 auto;
}

/* Títulos */
.product-card h5 {
    font-size: 16px;
    margin-top: 10px;
    font-weight: bold;
    color: #333;
}

/* Descripción */
.product-card p {
    font-size: 14px;
    color: #666;
    flex-grow: 1;
    padding: 5px 10px;
}

/* Botón de cotización */
.cotizar-btn {
    width: 100%;
    background: #0092CB;
    color: white;
    font-weight: bold;
    border-radius: 8px;
    padding: 10px;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

/* Icono del carrito */
.cotizar-btn i {
    font-size: 16px;
}

/* Hover del botón */
.cotizar-btn:hover {
    background: #007ba7;
    transform: scale(1.05);
}

/* Diseño responsivo */
@media (min-width: 992px) {
    .col-md-3 {
        flex: 0 0 22%;
        max-width: 22%;
    }
}

@media (max-width: 991px) {
    .col-md-3 {
        flex: 0 0 45%;
        max-width: 45%;
    }
}

@media (max-width: 576px) {
    .col-md-3 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}