.products-page-container {
    padding-top: 100px;
    padding-bottom: 4rem;
}

.search-and-filters {
    background-color: #FFFBF2;
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: 0 5px 20px rgba(29, 29, 58, 0.05);
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: center;
    border: 1px solid rgba(29, 29, 58, 0.1);
}

.search-bar {
    flex-grow: 1;
    min-width: 250px;
}

.search-bar input,
.filters select {
    width: 100%;
    padding: 0.8rem 1.2rem;
    border: 2px solid rgba(29, 29, 58, 0.2);
    border-radius: 25px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background-color: #FFFBF2;
    color: #1D1D3A;
}

.search-bar input:focus,
.filters select:focus {
    outline: none;
    border-color: #1573D4;
    box-shadow: 0 0 0 4px rgba(21, 115, 212, 0.2);
}

.filters {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.filters > div {
    flex-grow: 1;
}

/* Botón verde para agregar al carrito */
.btn-add-cart {
    background-color: #4CAF50; /* verde */
    color: #fff;
    border: none;
    padding: 0.6rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.btn-add-cart:hover {
    background-color: #45A049;
}

.btn-add-cart:disabled {
    background-color: #ccc;
    color: #666;
    cursor: not-allowed;
}
.product-description {
    max-height: 4.5em; /* 3 líneas aprox */
    overflow: hidden;
    transition: max-height 0.3s ease;
    text-align: justify;
}

.product-description.expanded {
    max-height: none;
}

.read-more-btn {
    display: inline-block;
    margin-top: 0.4rem;
    background: none;
    border: none;
    color: #007bff;
    font-weight: bold;
    cursor: pointer;
    padding: 0;
}

