@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');

body {
    font-family: 'Montserrat', sans-serif; 
}

.title {
    color: #007bff !important; 
    text-align: center;
}

.products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
    gap: 20px;
    padding: 20px;
}

.product-card {
    border: 3px solid #e7e165;
    border-radius: 10px;;
    padding: 15px;
    text-align: center;
    background-color: #8abbe7;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); 
}

.product-card img {
    max-width: 100%;
    border-radius: 8px;
}

.product-card h3 {
    font-size: 1.2em;
    margin: 10px 0;
}

.product-card p {
    margin: 5px 0;
    color: #555;
}

.product-card .buy-button {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 15px;
    background-color: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.product-card .buy-button:hover {
    background-color: #0056b3;
}

.navbar {
    display: flex;
    justify-content: center; 
    align-items: center;
    background-color: #007bff; 
    padding: 10px 20px;
}

.navbar ul {
    list-style: none; 
    margin: 0;
    padding: 0;
    display: flex; 
}

.navbar li {
    margin: 0 15px; 
}

.navbar a {
    color: #fff; 
    text-decoration: none;
    margin: 0 15px; 
    font-weight: 700;
}

.navbar a:hover {
    text-decoration: underline; 
}

footer {
    background-color: #007bff; 
    color: #fff; 
    text-align: center;
    padding: 15px 20px;
}

footer a {
    color: #fff; 
    text-decoration: none;
    font-weight: 700;
}

footer a:hover {
    text-decoration: underline; 
}

/* Contacto */
.contact-form {
    border: 2px solid #007bff;
    padding: 20px;
    margin: 20px auto;
    width: 50%;
    border-radius: 5px;
}
.contact-form label {
    display: block;
    margin-bottom: 5px;
}
.contact-form input, .contact-form textarea {
    width: 90%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
}
.contact-form button {
    background-color: #007bff;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
}
.contact-form button:hover {
    background-color: #3692f4;
}

/*about*/
.about {
    padding-left: 2em;
    padding-right: 2em;
    background-color: #007bff;
    
}
iframe {
    width: 100%;
    height: 500px;
    border: none;
    border-radius: 10px;
}

/* Detalle de Producto */
.product-detail {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 1000px;
    margin: 40px auto;
    padding: 20px;
    border: 1px solid #eee;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.product-detail img {
    max-width: 50%;
    flex: 1 1 350px; /* Base más pequeña para la imagen */
    object-fit: cover;
    border-radius: 8px;
}

.product-detail .product-info {
    flex: 1 1 500px; /* Base más grande para la información */
}

.product-detail h2 {
    font-size: 2em;
    color: #333;
    margin-top: 0;
}

.product-detail .price {
    font-size: 1.5em;
    color: #007bff;
    margin: 10px 0;
}

.product-detail .description {
    font-size: 1em;
    line-height: 1.6;
    color: #555;
}

.product-detail .back-button {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 25px;
    background-color: #6c757d;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    text-align: center;
}

.product-detail .back-button:hover {
    background-color: #5a6268;
}