/* Catálogo de productos */

.product-page .page-content {
    background: #f6f7f9;
}

.product-page-header {
    background: #fff;
    border-bottom: 1px solid #e8eaee;
    padding: 20px 0;
}

.product-page-header h1 {
    margin: 0;
    font-size: clamp(1.35rem, 3vw, 1.75rem);
    font-weight: 700;
    color: #1f2937;
}

.product-page-header p {
    margin: 6px 0 0;
    color: #6b7280;
    font-size: 14px;
}

.product-offer-banner {
    background: linear-gradient(90deg, #fff8f5 0%, #fff 100%);
    border: 1px solid #ffd4c4;
    border-radius: 10px;
    padding: 12px 16px;
    margin-bottom: 18px;
    text-align: center;
    color: #ef5730;
    font-weight: 600;
    font-size: 15px;
}

.product-catalog {
    padding: 24px 0 40px;
}

.product-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.product-filter-toggle {
    display: none;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border: 1px solid #ef5730;
    border-radius: 8px;
    background: #fff;
    color: #ef5730;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
}

.product-filter-toggle i {
    transition: transform 0.2s ease;
}

.product-filter-toggle.is-open i.fa-filter {
    transform: rotate(180deg);
}

.product-filter-clear {
    padding: 8px 12px;
    border: none;
    background: transparent;
    color: #6b7280;
    font-size: 13px;
    cursor: pointer;
    text-decoration: underline;
}

.product-filter-clear:hover {
    color: #ef5730;
}

.product-active-filter {
    font-size: 13px;
    color: #6b7280;
}

.product-active-filter strong {
    color: #1f2937;
}

.product-layout {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.product-sidebar {
    position: sticky;
    top: 90px;
}

.product-sidebar-inner {
    background: #fff;
    border: 1px solid #eceef2;
    border-radius: 12px;
    padding: 16px;
}

.product-sidebar-inner h4 {
    margin: 0 0 12px;
    font-size: 15px;
    font-weight: 700;
    color: #1f2937;
}

.product-categories {
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-height: 60vh;
    overflow-y: auto;
}

.product-categories .itemTipoProductoLabel {
    display: block;
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    background: #fafafa;
    color: #374151;
    font-size: 13px;
    text-decoration: none !important;
    transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.product-categories .itemTipoProductoLabel:hover,
.product-categories .itemTipoProductoLabel.selected {
    border-color: #ef5730;
    background: #fff8f5;
    color: #ef5730;
}

.product-main {
    min-width: 0;
}

.product-loading {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px 20px;
    color: #6b7280;
}

.product-featured {
    padding-top: 0;
    padding-bottom: 48px;
}

.product-featured-grid {
    margin-top: 8px;
}

.verMasList {
    text-align: center;
    margin: 28px 0 0;
}

.verMasList .site-button,
.verMasList .home-btn {
    cursor: pointer;
    border: none;
}

.listProductsNotFound {
    grid-column: 1 / -1;
    text-align: center;
    padding: 48px 20px;
    color: #6b7280;
    font-size: 15px;
}

@media (max-width: 991px) {
    .product-filter-toggle {
        display: inline-flex;
    }

    .product-layout {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .product-sidebar {
        position: static;
        display: none;
        margin-bottom: 16px;
    }

    .product-sidebar.is-open {
        display: block;
    }

    .product-sidebar-inner {
        box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    }

    .product-categories {
        max-height: none;
    }
}

@media (min-width: 992px) {
    .product-sidebar {
        display: block !important;
    }
}
