/* LDB Filters — color swatches widget */
.widget_ldb_color_base .ldb-color-base-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
    gap: 8px 6px;
}
.widget_ldb_color_base .ldb-color-swatch {
    margin: 0;
    padding: 0;
}
.widget_ldb_color_base .ldb-color-swatch > a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 6px 2px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: 11px;
    line-height: 1.2;
    color: #333;
    text-decoration: none;
    text-align: center;
    transition: border-color .15s ease, background .15s ease, transform .1s ease;
}
.widget_ldb_color_base .ldb-color-swatch > a:hover {
    border-color: #ccc;
    background: #fafafa;
    transform: translateY(-1px);
}
.widget_ldb_color_base .ldb-color-swatch.is-active > a {
    border-color: var(--porto-primary-color, #0088cc);
    background: rgba(0, 136, 204, 0.06);
}
.widget_ldb_color_base .ldb-color-swatch .swatch {
    display: inline-block;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    box-shadow: 0 1px 2px rgba(0,0,0,0.08);
    flex: 0 0 auto;
}
.widget_ldb_color_base .ldb-color-swatch.is-active .swatch {
    box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--porto-primary-color, #0088cc);
}
.widget_ldb_color_base .ldb-color-swatch .label {
    display: block;
    font-weight: 500;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}
.widget_ldb_color_base .ldb-color-swatch .count {
    display: block;
    font-size: 10px;
    color: #999;
}
.widget_ldb_color_base .ldb-color-reset {
    margin: 10px 0 0 0;
    text-align: right;
    font-size: 12px;
}
.widget_ldb_color_base .ldb-color-reset a {
    color: var(--porto-primary-color, #0088cc);
    text-decoration: none;
}
.widget_ldb_color_base .ldb-color-reset a:hover {
    text-decoration: underline;
}

/* LDB Filters — attribute list widgets (tamanho, material, etc.) */
.widget_ldb_tamanho .ldb-attr-list,
.widget_ldb_material .ldb-attr-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.widget_ldb_tamanho .ldb-attr-item,
.widget_ldb_material .ldb-attr-item {
    margin: 0;
}
.widget_ldb_tamanho .ldb-attr-item > a,
.widget_ldb_material .ldb-attr-item > a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 10px;
    border: 1px solid #e3e3e3;
    border-radius: 6px;
    background: #fff;
    font-size: 12px;
    color: #444;
    text-decoration: none;
    line-height: 1.2;
    transition: border-color .15s ease, background .15s ease, color .15s ease;
}
.widget_ldb_tamanho .ldb-attr-item > a:hover,
.widget_ldb_material .ldb-attr-item > a:hover {
    border-color: var(--porto-primary-color, #0088cc);
    color: var(--porto-primary-color, #0088cc);
}
.widget_ldb_tamanho .ldb-attr-item.is-active > a,
.widget_ldb_material .ldb-attr-item.is-active > a {
    background: var(--porto-primary-color, #0088cc);
    border-color: var(--porto-primary-color, #0088cc);
    color: #fff;
}
.widget_ldb_tamanho .ldb-attr-item .count,
.widget_ldb_material .ldb-attr-item .count {
    color: #999;
    font-size: 11px;
}
.widget_ldb_tamanho .ldb-attr-item.is-active .count,
.widget_ldb_material .ldb-attr-item.is-active .count {
    color: rgba(255,255,255,0.8);
}
.widget_ldb_material .ldb-attr-list {
    flex-direction: column;
    gap: 4px;
}
.widget_ldb_material .ldb-attr-item > a {
    width: 100%;
    justify-content: space-between;
}
.widget_ldb_tamanho .ldb-attr-reset,
.widget_ldb_material .ldb-attr-reset {
    margin: 8px 0 0 0;
    font-size: 12px;
    text-align: right;
}
.widget_ldb_tamanho .ldb-attr-reset a,
.widget_ldb_material .ldb-attr-reset a {
    color: var(--porto-primary-color, #0088cc);
    text-decoration: none;
}

/* LDB Filters — force readable text (override Porto/theme inheritance) */
.widget_ldb_color_base .ldb-color-swatch > a,
.widget_ldb_color_base .ldb-color-swatch > a:hover,
.widget_ldb_color_base .ldb-color-swatch > a:focus,
.widget_ldb_color_base .ldb-color-swatch .label,
.widget_ldb_color_base .ldb-color-swatch .count,
.widget_ldb_tamanho .ldb-attr-item > a,
.widget_ldb_tamanho .ldb-attr-item > a:hover,
.widget_ldb_tamanho .ldb-attr-item .label,
.widget_ldb_material .ldb-attr-item > a,
.widget_ldb_material .ldb-attr-item > a:hover,
.widget_ldb_material .ldb-attr-item .label {
    color: #333 !important;
}
.widget_ldb_color_base .ldb-color-swatch .count,
.widget_ldb_tamanho .ldb-attr-item .count,
.widget_ldb_material .ldb-attr-item .count {
    color: #888 !important;
}
.widget_ldb_tamanho .ldb-attr-item.is-active > a,
.widget_ldb_tamanho .ldb-attr-item.is-active > a:hover,
.widget_ldb_material .ldb-attr-item.is-active > a,
.widget_ldb_material .ldb-attr-item.is-active > a:hover,
.widget_ldb_tamanho .ldb-attr-item.is-active .label,
.widget_ldb_tamanho .ldb-attr-item.is-active .count,
.widget_ldb_material .ldb-attr-item.is-active .label,
.widget_ldb_material .ldb-attr-item.is-active .count {
    color: #fff !important;
}

/* LDB Filters — Categorias com "Ver mais" */
.widget_product_categories .product-categories li.ldb-cat-hidden {
    display: none !important;
}
.widget_product_categories .product-categories.ldb-cat-expanded li.ldb-cat-hidden {
    display: list-item !important;
}
.widget_product_categories .ldb-cat-toggle {
    display: block;
    margin: 10px 0 0 0;
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #e3e3e3;
    border-radius: 6px;
    background: #fafafa;
    font-size: 12px;
    font-weight: 500;
    color: #333;
    text-align: center;
    cursor: pointer;
    transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.widget_product_categories .ldb-cat-toggle:hover {
    background: var(--porto-primary-color, #0088cc);
    border-color: var(--porto-primary-color, #0088cc);
    color: #fff;
}
.widget_product_categories .ldb-cat-toggle-label { pointer-events: none; }

/* LDB Filters — bumped text sizes (override earlier rules) */
.widget_ldb_color_base .ldb-color-base-list {
    grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)) !important;
    gap: 10px 8px !important;
}
.widget_ldb_color_base .ldb-color-swatch > a {
    font-size: 13px !important;
    gap: 6px !important;
    padding: 8px 4px !important;
}
.widget_ldb_color_base .ldb-color-swatch .label {
    font-size: 13px !important;
    font-weight: 600 !important;
}
.widget_ldb_color_base .ldb-color-swatch .count {
    font-size: 12px !important;
}
.widget_ldb_color_base .ldb-color-swatch .swatch {
    width: 34px !important;
    height: 34px !important;
}
.widget_ldb_tamanho .ldb-attr-item > a,
.widget_ldb_material .ldb-attr-item > a {
    font-size: 14px !important;
    padding: 8px 14px !important;
    gap: 6px !important;
}
.widget_ldb_tamanho .ldb-attr-item .label,
.widget_ldb_material .ldb-attr-item .label {
    font-size: 14px !important;
    font-weight: 500 !important;
}
.widget_ldb_tamanho .ldb-attr-item .count,
.widget_ldb_material .ldb-attr-item .count {
    font-size: 12px !important;
}
.widget_ldb_color_base .ldb-color-reset,
.widget_ldb_tamanho .ldb-attr-reset,
.widget_ldb_material .ldb-attr-reset {
    font-size: 13px !important;
}
/* Ver mais categorias — maior */
.widget_product_categories .ldb-cat-toggle {
    font-size: 13px !important;
    padding: 10px 14px !important;
}
