/* ==================================== */
/* 0. Configurações Globais (Mantidas) */
/* ==================================== */
body {
    background-color: #ffffff;
    margin: 0;
    padding: 0;
    overflow-y: auto !important;
    overflow-x: hidden;
    /* Adicionando fonte base mais moderna e limpa, se necessário */
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.page-header-protocolos {
    background-color: #ffffff;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    border-bottom: none !important;
    min-height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 20px;
}

.header-content {
    margin: 0 !important;
    padding: 0 !important;
}

.header-content h1 {
    margin-top: 5px !important;
    margin-bottom: 0 !important;
    font-size: 2.0rem;
    font-weight: 400;
    color: #333333;
    letter-spacing: 2px;
}

.page-header-protocolos p.subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-top: 10px;
}

.products-section {
    background-color: #ffffff;
    margin-top: 0 !important;
    padding-top: 0 !important;
    border-top: none !important;
    padding: 20px 0;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    justify-items: stretch;
    padding: 0;
}

.product-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 15px;
    background-color: #fff;
    border-radius: 0px;
    border: none;
    transition: transform 0.3s, box-shadow 0.3s;
    justify-content: space-between;
    min-height: 420px;
}

.product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.08);
}

.product-image-container {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.product-img {
    max-width: 100%;
    max-height: 100%;
    height: auto;
}

.product-title {
    font-size: 17px;
    font-weight: 600;
    color: #333;
    margin: 5px 0 10px;
    min-height: 40px;
    overflow: hidden;
}

.product-rating {
    color: #ed8a19;
    font-size: 1rem;
    margin-bottom: 10px;
    font-weight: bold;
}

.product-price {
    font-size: 14px;
    color: #999;
    text-decoration: none;
    margin: 0;
}

.product-installments {
    font-size: 1rem;
    color: #333;
    margin: 5px 0 15px;
    line-height: 1.2;
}

.installment-value {
    font-weight: 800;
    font-size: 1.3rem;
    color: #c7733b;
}

.add-to-cart-btn {
    background-color: #555B49;
    color: #fff;
    border: none;
    padding: 12px 20px;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
    border-radius: 4px;
    width: 100%;
}

.add-to-cart-btn:hover {
    background-color: #C78C44;
}

@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .header-content h1 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
        padding: 0 10px;
    }

    .page-header-protocolos {
        padding: 20px 10px;
    }

    .header-content h1 {
        font-size: 1.6rem;
    }
}