/* C:\xampp\htdocs\RedaStatico\public_html\assets\css\ProductCard.css */

/* Contêiner para os cartões */
.product-card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Cartão individual */
.product-card {
    flex: 1 1 300px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    margin: 10px;
    min-height: 450px;
}

.product-card:hover {
    transform: the;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2)
}

.product-image {
    width: 100%;
    padding-top: 60%;
    position: relative;
    overflow: hidden;
}

.product-image img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.product-details {
    padding: 1rem;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
}

.product-title-card {
    font-size: 1.2rem;
    color: #BB0606;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    word-break: break-word;
    text-overflow: ellipsis;
    margin-bottom: 0.5rem;
    height: 3rem;
}

.product-description {
    font-size: 0.9rem;
    color: #666;
    flex-grow: 1;
    margin-bottom: 1rem;
}

.product-button {
    background-color: #BB0606;
    color: #fff;
    border: none;
    padding: 0.5rem 1rem;
    cursor: pointer;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
    max-width: 100%;
    box-sizing: border-box;
}

.product-button:hover {
    background-color: #BB060680;
}

.chevron-icon {
    width: 15px;
    height: 15px;
    margin-left: 5px;
}