.catalog-header {
    padding: 15px 0;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.catalog-header .breadcrumb {
    font-size: 12px;
    color: var(--text-gray);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.catalog-header .breadcrumb span {
    margin: 0 5px;
}

.catalog-header .breadcrumb a:hover {
    color: var(--primary);
    text-decoration: underline;
}

.catalog-title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.catalog-title h1 {
    font-size: 28px;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.result-count {
    font-size: 14px;
    color: var(--text-gray);
}

.sort-options select {
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    color: var(--text-dark);
    background-color: white;
    cursor: pointer;
}

.main-content {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

@media (max-width: 991px) {
    .main-content {
        grid-template-columns: 1fr;
    }
}

.produtos-page .sidebar {
    background-color: var(--bg-white);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    height: fit-content;
}

.filter-section {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #eeeeee;
}

.filter-section:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.filter-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark);
    text-transform: uppercase;
    margin-bottom: 15px;
    display: block;
}

.filter-list li {
    margin-bottom: 10px;
}

.filter-checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    color: var(--text-gray);
}

.filter-checkbox:hover {
    color: var(--primary);
}

.filter-checkbox input {
    margin-right: 10px;
    accent-color: var(--primary);
    width: 16px;
    height: 16px;
}

.price-inputs {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.price-input-group {
    position: relative;
    flex: 1;
}

.price-currency {
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    color: var(--text-gray);
}

.price-field {
    width: 100%;
    padding: 6px 6px 6px 25px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 13px;
}

.color-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
}

.color-filter-option {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    user-select: none;
    padding: 2px;
    border-radius: 9999px;
    position: relative;
}

.color-filter-input {
    /* Esconde o checkbox sem remover acessibilidade (a marcação continua funcionando) */
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
}

.color-option {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    display: inline-block;
}

.color-option:hover {
    transform: scale(1.1);
    box-shadow: 0 0 0 2px var(--primary);
}

.color-option.color-option-branco {
    border-color: #0f172a;
    border-width: 2px;
}

.color-filter-option .color-filter-input:checked + .color-option {
    box-shadow: 0 0 0 2px var(--primary);
    transform: scale(1.08);
}

.apply-filters-btn {
    width: 100%;
    background-color: var(--accent);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    cursor: pointer;
    margin-top: 10px;
    transition: background-color 0.2s;
}

.apply-filters-btn:hover {
    background-color: var(--accent-dark);
}

.clear-filters {
    display: block;
    text-align: center;
    margin-top: 10px;
    font-size: 12px;
    color: var(--text-gray);
    text-decoration: underline;
    cursor: pointer;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
}

@media (min-width: 321px) and (max-width: 577px) {
    .products-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 578px) and (max-width: 767px) {
    .products-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) and (max-width: 991px) {
    .products-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .products-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1200px) {
    .products-grid { grid-template-columns: repeat(4, 1fr); }
}

.produtos-page .product-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.3s, transform 0.2s;
    display: flex;
    flex-direction: column;
    position: relative;
}

.produtos-page .product-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transform: translateY(-2px);
    border-color: #cccccc;
}

.card-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 8px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 3px;
    z-index: 10;
}

.badge-new {
    background-color: #e8f5e9;
    color: #2e7d32;
}

.badge-best {
    background-color: #e3f2fd;
    color: #1565c0;
}

.badge-promo {
    background-color: #fff3e0;
    color: #e65100;
}

.card-image {
    height: 200px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    border-bottom: 1px solid #f0f0f0;
}

.card-image img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.3s;
}

.produtos-page .product-card:hover .card-image img {
    transform: scale(1.05);
}

.card-content {
    padding: 15px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.card-brand {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-gray);
    text-transform: uppercase;
    margin-bottom: 5px;
}

.card-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
    line-height: 1.3;
    height: 38px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.card-specs {
    font-size: 11px;
    color: var(--text-gray);
    margin-bottom: 15px;
}

.card-specs p {
    margin-bottom: 2px;
}

.card-specs strong {
    color: var(--text-dark);
}

.card-actions {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.produtos-page .btn-outline {
    background-color: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.2s;
    text-align: center;
}

.produtos-page .btn-outline:hover {
    background-color: rgba(0, 74, 153, 0.05);
}

.btn-solid {
    background-color: var(--accent);
    border: 1px solid var(--accent);
    color: white;
    padding: 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.2s;
    text-align: center;
}

.btn-solid:hover {
    background-color: var(--accent-dark);
    border-color: var(--accent-dark);
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    margin-top: 30px;
}

.page-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    background-color: white;
    color: var(--text-dark);
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.2s;
    cursor: pointer;
}

.page-link:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.page-link.active {
    background-color: var(--primary);
    color: white;
    border-color: var(--primary);
}

.produtos-page .cta-banner {
    background: linear-gradient(135deg, var(--primary), #1e293b);
    color: white;
    padding: 30px 0;
    border-top: 4px solid var(--accent);
}

.produtos-page .cta-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    text-align: center;
}

@media (min-width: 992px) {
    .produtos-page .cta-content {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.produtos-page .cta-text {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cta-icon {
    background: rgba(255,255,255,0.1);
    padding: 15px;
    border-radius: 50%;
    display: flex;
}

.produtos-page .cta-text h3 {
    font-size: 20px;
    margin-bottom: 5px;
}

.produtos-page .cta-text p {
    color: #ccc;
    font-size: 14px;
}

.cta-buttons {
    display: flex;
    gap: 15px;
}

.produtos-page .btn-whatsapp {
    background-color: #25D366;
    color: white;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.2s, background-color 0.2s;
}

.produtos-page .btn-whatsapp:hover {
    background-color: #128c7e;
    transform: translateY(-2px);
    color: white;
}

.produtos-page .btn-email {
    background-color: white;
    color: var(--primary);
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 700;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: none;
}

.produtos-page .btn-email:hover {
    background-color: #f1f5f9;
    transform: translateY(-2px);
    color: var(--primary-dark);
}

/* REMOVED: media max-width 1024px handled elsewhere */

.filter-section input[type="range"] {
    width: 100%;
    margin-bottom: 10px;
}

.search-container.search-marca {
    margin-bottom: 10px;
}

.search-container.search-marca .search-input {
    padding: 6px 10px;
    font-size: 12px;
}
.filter-list-marca .filter-checkbox {
    gap: 8px;
}

.marca-filter-logo {
    width: 26px;
    height: 26px;
    object-fit: contain;
    border-radius: 6px;
}

.marca-filter-nome {
    line-height: 1.2;
}

.color-option.color-white { background-color: #fff; }
.color-option.color-black { background-color: #000; }
.color-option.color-red { background-color: #ef4444; }
.color-option.color-blue { background-color: #3b82f6; }
.color-option.color-yellow { background-color: #eab308; }
.color-option.color-green { background-color: #22c55e; }
.color-option.color-orange { background-color: #f97316; }
.color-option.color-purple { background-color: #a855f7; }

.card-badge.badge-premium {
    background-color: #f3e5f5;
    color: #7b1fa2;
}

.pagination-ellipsis {
    padding: 0 5px;
    color: #999;
}

.cta-support-icon {
    color: var(--accent);
    font-size: 32px;
}
