/**
 * Bruo Product Archive Styles
 */

/* ========================================
   WRAPPER
======================================== */

.bpa-archive-wrapper {
    width: 100%;
}

/* ========================================
   TOOLBAR
======================================== */

.bpa-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    margin-bottom: 16px;
    border-bottom: 1px solid #e5e7eb;
}

.bpa-toolbar-info {
    font-size: 13px;
    color: #6b7280;
}

.bpa-toolbar-count {
    font-weight: 500;
}

.bpa-toolbar-views {
    display: flex;
    gap: 4px;
    background: #f3f4f6;
    padding: 3px;
    border-radius: 6px;
}

.bpa-toolbar .bpa-view-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 30px;
    border: none !important;
    background: transparent !important;
    border-radius: 4px;
    cursor: pointer;
    color: #9ca3af !important;
    transition: all 0.15s ease;
}

.bpa-toolbar .bpa-view-btn:hover {
    color: #6b7280 !important;
}

.bpa-toolbar .bpa-view-btn.is-active {
    background: #fff !important;
    color: #1f2937 !important;
    box-shadow: 0 1px 2px rgba(0,0,0,0.06);
}

.bpa-toolbar .bpa-view-btn .fi {
    font-size: 16px;
    color: #9ca3af !important;
    line-height: 1;
}

.bpa-toolbar .bpa-view-btn:hover .fi {
    color: #6b7280 !important;
}

.bpa-toolbar .bpa-view-btn.is-active .fi {
    color: #1f2937 !important;
}

/* ========================================
   GRID LAYOUT
======================================== */

.bpa-products-grid {
    display: grid;
    grid-template-columns: repeat(var(--bpa-cols, 4), 1fr);
    gap: var(--bpa-gap, 16px);
}

@media screen and (max-width: 1024px) {
    .bpa-products-grid {
        grid-template-columns: repeat(var(--bpa-cols-tablet, 2), 1fr);
    }
}

@media screen and (max-width: 767px) {
    .bpa-products-grid {
        grid-template-columns: repeat(var(--bpa-cols-mobile, 1), 1fr);
    }
}

/* ========================================
   PRODUCT CARD — SHARED (GRID)
======================================== */

.bpa-product-card {
    border-radius: 8px;
    background: #fff;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.bpa-product-card:hover {
    border-color: #d1d5db;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.bpa-card-inner {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: inherit;
    overflow: visible;
    height: 100%;
    position: relative;
}

/* Product Link */
a.bpa-product-link,
a.bpa-product-link:hover,
a.bpa-product-link:focus,
a.bpa-product-link:active,
a.bpa-product-link:visited {
    display: block;
    text-decoration: none !important;
    color: inherit;
}

a.bpa-product-link *,
a.bpa-product-link:hover * {
    text-decoration: none !important;
}

/* Product Image */
.bpa-products-grid .bpa-product-image {
    background-color: #f9fafb;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.bpa-products-grid .bpa-product-image img {
    max-width: 100%;
    max-height: 100%;
    width: auto !important;
    height: auto !important;
    object-fit: contain;
    padding: 8px;
    box-sizing: border-box;
}

/* Backwards compat: old background-image thumb */
.bpa-thumb {
    aspect-ratio: 1 / 1;
    background-color: #f9fafb;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-origin: content-box;
    padding: 12px;
    box-sizing: border-box;
    flex-shrink: 0;
}

/* Product Info */
.bpa-product-info {
    padding: 12px 14px 12px;
}

.bpa-products-grid .bpa-product-info {
    border-top: 1px solid #e5e7eb;
}

.bpa-products-list .bpa-product-info {
    border-top: none;
}

/* Product Title */
.bpa-products-grid .bpa-product-title,
.bpa-products-grid .bpa-product-title a {
    font-size: 13px !important;
    font-weight: 500;
    color: #1f2937;
    margin: 0 0 6px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bpa-product-title a,
.bpa-product-title a:hover,
.bpa-product-title a:visited {
    color: inherit;
    text-decoration: none !important;
}

/* Product Price */
.bpa-product-price {
    font-size: 14px;
    color: #1f2937;
    line-height: 1.4;
    font-weight: 600;
}

.bpa-product-price del {
    opacity: 0.45;
    font-weight: 400;
}

.bpa-product-price ins {
    text-decoration: none;
    font-weight: 700;
}

/* Price override for grid cards */
.bpa-products-grid .bpa-product-price .bruo-price-dual {
    align-items: flex-start;
}

.bpa-products-grid .bpa-product-price .bruo-price-brutto {
    font-size: 15px;
}

.bpa-products-grid .bpa-product-price .bruo-price-netto {
    font-size: 12px;
    margin-top: -2px;
    text-align: left;
}

/* Product bottom row: price left, cart button right */
.bpa-products-grid .bpa-product-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

/* Cart icon button in grid — hidden until hover */
.bpa-products-grid .bpa-product-actions {
    padding: 0;
    margin: 0;
    flex-shrink: 0;
    opacity: 0;
    transition: opacity 0.15s ease;
}

.bpa-products-grid .bpa-product-card:hover .bpa-product-actions {
    opacity: 1;
}

.bpa-products-grid .bpa-product-actions a.bpa-add-to-cart,
.bpa-products-grid .bpa-product-actions a.bpa-add-to-cart:visited,
.bpa-products-grid .bpa-product-actions a.bpa-add-to-cart:focus,
.bpa-products-grid .bpa-product-actions a.bpa-add-to-cart:active {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 34px !important;
    height: 34px !important;
    padding: 0 !important;
    font-size: 0 !important;
    color: #003450 !important;
    background: #fff !important;
    border: 1.5px solid #003450 !important;
    border-radius: 4px !important;
    cursor: pointer;
    transition: all 0.15s ease;
    text-decoration: none !important;
    box-sizing: border-box;
}

.bpa-products-grid .bpa-product-actions a.bpa-add-to-cart:hover {
    background: #e8f4fa !important;
    color: #003450 !important;
}

.bpa-products-grid .bpa-product-actions a.bpa-add-to-cart .fi {
    font-size: 14px !important;
    color: #003450 !important;
    line-height: 1;
}

/* Loading spinner */
.bpa-products-grid .bpa-product-actions a.bpa-add-to-cart.loading .fi {
    display: none !important;
}

.bpa-products-grid .bpa-product-actions a.bpa-add-to-cart.loading::after {
    content: '';
    width: 14px;
    height: 14px;
    border: 2px solid #003450;
    border-top-color: transparent;
    border-radius: 50%;
    animation: bpa-spin 0.6s linear infinite;
}

@keyframes bpa-spin {
    to { transform: rotate(360deg); }
}

/* After add — green check */
.bpa-products-grid .bpa-product-actions .added_to_cart {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 34px !important;
    height: 34px !important;
    padding: 0 !important;
    font-size: 0 !important;
    color: #10b981 !important;
    background: #fff !important;
    border: 1.5px solid #10b981 !important;
    border-radius: 4px !important;
    text-decoration: none !important;
}

.bpa-products-grid .bpa-product-actions .added_to_cart::before {
    content: "\e430";
    font-family: 'uicons-bold-rounded' !important;
    font-size: 14px !important;
    font-style: normal;
    color: #10b981 !important;
}

.bpa-products-grid .bpa-product-actions .added_to_cart:hover {
    background: #ecfdf5 !important;
}

.bpa-products-grid .bpa-product-actions a.bpa-add-to-cart.added {
    display: none !important;
}

/* List view keeps full-width button */
.bpa-products-list .bpa-product-actions {
    padding: 4px 14px 14px;
    margin-top: auto;
}

.bpa-products-list a.bpa-add-to-cart,
.bpa-products-list a.bpa-add-to-cart:visited {
    display: block;
    width: 100%;
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    color: #fff;
    background-color: #003450;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    text-decoration: none !important;
    line-height: 1.4;
    box-sizing: border-box;
}

.bpa-products-list a.bpa-add-to-cart:hover {
    background-color: #004a6e;
    color: #fff;
    text-decoration: none !important;
}

/* ========================================
   LIST LAYOUT
======================================== */

.bpa-products-list .bpa-product-card {
    border: none;
    box-shadow: none;
    border-radius: 0;
    border-bottom: 1px solid #e5e7eb;
}

.bpa-products-list .bpa-product-card:hover {
    box-shadow: none;
    border-color: #e5e7eb;
}

.bpa-products-list .bpa-product-card:last-child {
    border-bottom: none;
}

.bpa-products-list .bpa-product-card + .bpa-product-card {
    margin-top: 0;
}

.bpa-card-list .bpa-card-inner {
    flex-direction: row;
    align-items: stretch;
}

.bpa-card-list .bpa-thumb-link {
    flex: 0 0 160px;
    display: block;
}

.bpa-card-list .bpa-thumb {
    aspect-ratio: 4 / 3;
    width: 100%;
    height: 100%;
    background-color: #f9fafb;
}

.bpa-card-list .bpa-product-body {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    gap: 20px;
    min-width: 0;
}

.bpa-card-list .bpa-product-info {
    flex: 1;
    padding: 0;
    min-width: 0;
}

.bpa-card-list .bpa-product-title {
    -webkit-line-clamp: unset;
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 6px 0;
}

/* Category */
.bpa-product-category {
    display: block;
    font-size: 11px;
    font-weight: 500;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

/* Description */
.bpa-product-description {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.5;
    margin-top: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Aside (price + button in list) */
.bpa-card-list .bpa-product-aside {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    align-self: stretch;
    border-left: 1px solid #f0f0f0;
    padding-left: 20px;
    gap: 10px;
    min-width: 140px;
}

.bpa-card-list .bpa-product-price {
    font-size: 16px;
    font-weight: 700;
    white-space: nowrap;
}

.bpa-product-price .bruo-price-netto {
    text-align: right;
}

.bpa-card-list a.bpa-add-to-cart {
    width: auto;
    white-space: nowrap;
    padding: 8px 20px;
}

/* ========================================
   LIST — RESPONSIVE (mobile vertical)
======================================== */

@media screen and (max-width: 767px) {
    .bpa-card-list .bpa-card-inner {
        flex-direction: column;
    }

    .bpa-card-list .bpa-thumb-link {
        flex: none;
        width: 100%;
    }

    .bpa-card-list .bpa-thumb {
        aspect-ratio: 4 / 3;
        height: auto;
    }

    .bpa-card-list .bpa-product-body {
        flex-direction: column;
        align-items: flex-start;
        padding: 12px;
        gap: 12px;
    }

    .bpa-card-list .bpa-product-aside {
        align-items: flex-start;
        width: 100%;
        min-width: 0;
        border-left: none;
        padding-left: 0;
    }

    .bpa-card-list a.bpa-add-to-cart {
        width: 100%;
    }
}

/* ========================================
   PAGINATION — NUMBERED
======================================== */

.bpa-pagination-wrapper {
    margin-top: 28px;
    display: flex;
    justify-content: center;
}

.bpa-pagination {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: center;
}

.bpa-pagination a,
.bpa-pagination .bpa-page-current {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 6px;
    text-decoration: none !important;
    transition: all 0.15s ease;
    box-sizing: border-box;
}

.bpa-pagination a {
    color: #374151;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
}

.bpa-pagination a:hover {
    background: #f3f4f6;
    border-color: #d1d5db;
    color: #1f2937;
    text-decoration: none !important;
}

.bpa-pagination .bpa-page-current {
    color: #fff;
    background: #1f2937;
    border: 1px solid #1f2937;
    cursor: default;
}

/* ========================================
   PAGINATION — LOAD MORE
======================================== */

.bpa-load-more-wrapper {
    text-align: center;
}

.bpa-load-more {
    display: inline-block;
    padding: 10px 28px;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.15s ease;
    line-height: 1.4;
}

.bpa-load-more:hover {
    background: #f3f4f6;
    border-color: #d1d5db;
    color: #1f2937;
}

.bpa-load-more:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.bpa-load-more.bpa-loading {
    pointer-events: none;
    opacity: 0.6;
}

/* ========================================
   LOADING STATE
======================================== */

.bpa-archive-wrapper.bpa-loading-replace {
    opacity: 0.4;
    pointer-events: none;
    transition: opacity 0.15s ease;
}

/* View switch loader */
.bpa-view-loader {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 0;
}

.bpa-view-spinner {
    width: 32px;
    height: 32px;
    border: 3px solid #e5e7eb;
    border-top-color: #003450;
    border-radius: 50%;
    animation: bpa-spin 0.6s linear infinite;
}

@keyframes bpa-spin {
    to { transform: rotate(360deg); }
}

/* ========================================
   FILTERS WIDGET
======================================== */

.bpa-filters-wrapper {
    width: 100%;
    background: #ffffff;
    border: 1px solid #e4e4e7;
    border-radius: 8px;
    padding: 0;
    box-sizing: border-box;
    overflow: hidden;
}

.bpa-filters-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: #fafafa;
    border-bottom: 1px solid #e4e4e7;
    font-size: 13px;
    font-weight: 600;
    color: #1a1a1a;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.bpa-filters-header svg {
    color: #a1a1aa;
    flex-shrink: 0;
}

/* ---- Filter section ---- */
.bpa-filter-section {
    margin: 0;
    padding: 14px 16px;
    border-bottom: 1px solid #f0f0f0;
}

.bpa-filter-section:last-of-type {
    border-bottom: none;
}

/* ---- Section heading (collapsible) ---- */
.bpa-filter-label {
    font-size: 11px;
    font-weight: 600;
    color: #a1a1aa;
    margin: 0 0 10px 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    user-select: none;
    transition: color 0.15s ease;
}

.bpa-filter-label:hover {
    color: #3f3f46;
}

.bpa-filter-label::after {
    content: '';
    display: block;
    width: 10px;
    height: 10px;
    flex-shrink: 0;
    background: currentColor;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat center;
    mask-size: contain;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat center;
    -webkit-mask-size: contain;
    transition: transform 0.2s ease;
}

.bpa-filter-section.is-collapsed .bpa-filter-label {
    margin-bottom: 0;
}

.bpa-filter-section.is-collapsed .bpa-filter-label::after {
    transform: rotate(-90deg);
}

.bpa-filter-section .bpa-filter-body {
    transition: max-height 0.25s ease, opacity 0.2s ease;
    overflow: hidden;
}

.bpa-filter-section.is-collapsed .bpa-filter-body {
    max-height: 0 !important;
    opacity: 0;
    margin: 0;
    padding: 0;
}

/* ---- Search input ---- */
.bpa-filter-search-input {
    width: 100%;
    padding: 8px 10px !important;
    font-size: 13px !important;
    font-weight: 400;
    color: #1a1a1a;
    border: 1px solid #e4e4e7 !important;
    border-radius: 6px !important;
    background: #fafafa;
    box-sizing: border-box;
    transition: border-color 0.15s ease;
    line-height: 1em !important;
}

.bpa-filter-search-input::placeholder {
    color: #a1a1aa;
}

.bpa-filter-search-input:focus {
    outline: none !important;
    border-color: #003450 !important;
    background: #ffffff;
    box-shadow: none !important;
}

/* ---- Checkbox list ---- */
.bpa-filter-checkboxes {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-height: 220px;
    overflow-y: auto;
    margin: 0;
    padding: 0;
}

.bpa-filter-checkboxes::-webkit-scrollbar {
    width: 3px;
}

.bpa-filter-checkboxes::-webkit-scrollbar-track {
    background: transparent;
}

.bpa-filter-checkboxes::-webkit-scrollbar-thumb {
    background: #d4d4d8;
    border-radius: 3px;
}

.bpa-checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #3f3f46;
    cursor: pointer;
    line-height: 1.4;
    padding: 5px 0;
    border-radius: 0;
    transition: color 0.15s ease;
    user-select: none;
}

.bpa-checkbox-label:hover {
    color: #1a1a1a;
    background: none;
}

.bpa-checkbox-label input[type="checkbox"] {
    -webkit-appearance: none;
    appearance: none;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    border: 1.5px solid #d4d4d8;
    border-radius: 3px;
    background: #fff;
    cursor: pointer;
    transition: all 0.15s ease;
    position: relative;
}

.bpa-checkbox-label input[type="checkbox"]:checked {
    background: #003450;
    border-color: #003450;
}

.bpa-checkbox-label input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    top: 1px;
    left: 4px;
    width: 4px;
    height: 8px;
    border: solid #fff;
    border-width: 0 1.5px 1.5px 0;
    transform: rotate(45deg);
}

.bpa-checkbox-label input[type="checkbox"]:focus-visible {
    box-shadow: 0 0 0 2px rgba(0, 52, 80, 0.15);
}

.bpa-filter-count {
    color: #d4d4d8;
    font-size: 11px;
    margin-left: auto;
    font-weight: 400;
}

/* ---- Price range inputs + slider ---- */
.bpa-price-slider-wrap {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bpa-price-inputs {
    display: flex;
    align-items: center;
    gap: 6px;
}

.bpa-price-field {
    flex: 1;
    display: flex;
    align-items: center;
    border: 1px solid #e4e4e7;
    border-radius: 6px;
    background: #fafafa;
    overflow: hidden;
    transition: border-color 0.15s ease;
}

.bpa-price-field:focus-within {
    border-color: #003450;
    background: #fff;
}

.bpa-filter-price-min,
.bpa-filter-price-max {
    flex: 1;
    padding: 7px 8px !important;
    font-size: 13px !important;
    font-weight: 400;
    color: #1a1a1a;
    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-sizing: border-box;
    min-width: 0;
    line-height: 1em !important;
    outline: none !important;
    box-shadow: none !important;
}

.bpa-filter-price-min::placeholder,
.bpa-filter-price-max::placeholder {
    color: #a1a1aa;
}

/* Hide number input spinners */
.bpa-filter-price-min::-webkit-inner-spin-button,
.bpa-filter-price-min::-webkit-outer-spin-button,
.bpa-filter-price-max::-webkit-inner-spin-button,
.bpa-filter-price-max::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.bpa-filter-price-min,
.bpa-filter-price-max {
    -moz-appearance: textfield;
}

.bpa-price-unit {
    color: #a1a1aa;
    font-size: 11px;
    font-weight: 500;
    padding-right: 8px;
    flex-shrink: 0;
}

.bpa-price-separator {
    color: #d4d4d8;
    font-size: 14px;
    flex-shrink: 0;
    font-weight: 300;
}

/* ---- Custom dual range slider ---- */
.bpa-range-slider {
    position: relative;
    height: 28px;
    display: flex;
    align-items: center;
    user-select: none;
    touch-action: none;
    margin: 0 9px;
}

.bpa-range-track {
    position: absolute;
    left: 0;
    right: 0;
    height: 4px;
    background: #e4e4e7;
    border-radius: 2px;
}

.bpa-range-fill {
    position: absolute;
    height: 100%;
    background: #003450;
    border-radius: 2px;
    left: 0;
    width: 100%;
}

.bpa-range-thumb {
    position: absolute;
    width: 18px;
    height: 18px;
    background: #ffffff;
    border: 2px solid #003450;
    border-radius: 50%;
    cursor: grab;
    z-index: 2;
    top: 50%;
    transform: translate(-50%, -50%);
    transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.bpa-range-thumb:hover {
    box-shadow: 0 0 0 5px rgba(0, 52, 80, 0.08);
}

.bpa-range-thumb.is-dragging {
    cursor: grabbing;
    box-shadow: 0 0 0 6px rgba(0, 52, 80, 0.12);
    transform: translate(-50%, -50%) scale(1.1);
}

/* ---- Sorting select ---- */
.bpa-filter-sort-select {
    width: 100%;
    padding: 8px 32px 8px 10px;
    font-size: 13px;
    font-weight: 400;
    color: #1a1a1a;
    border: 1px solid #e4e4e7;
    border-radius: 6px !important;
    background: #fafafa url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5L6 7.5L9 4.5' stroke='%23a1a1aa' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E") right 10px center no-repeat;
    box-sizing: border-box;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    transition: border-color 0.15s ease;
}

.bpa-filter-sort-select:focus {
    outline: none;
    border-color: #003450;
    box-shadow: none;
}

/* ---- Attribute groups ---- */
.bpa-filter-attribute + .bpa-filter-attribute {
    margin-top: 0;
}

/* ---- Action buttons ---- */
.bpa-filter-actions {
    display: flex;
    margin: 0;
    padding: 12px 16px;
    border-top: 1px solid #f0f0f0;
}

.bpa-filter-reset {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 9px 16px;
    font-size: 12px;
    font-weight: 600;
    color: #dc2626;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.15s ease;
    letter-spacing: 0.02em;
}

.bpa-filter-reset:hover {
    color: #b91c1c;
    background: #fee2e2;
    border-color: #fca5a5;
}

.bpa-filter-reset:active {
    transform: scale(0.98);
}

/* ---- No results message ---- */
.bpa-no-results {
    text-align: center;
    padding: 60px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.bpa-no-results svg {
    margin-bottom: 4px;
    opacity: 0.6;
}

.bpa-no-results p {
    font-size: 15px;
    font-weight: 600;
    color: #3f3f46;
    margin: 0;
}

.bpa-no-results span {
    font-size: 13px;
    color: #a1a1aa;
}

/* ---- Mobile toggle button ---- */
.bpa-filters-mobile-toggle {
    display: none;
}

/* ========================================
   FILTERS — RESPONSIVE
======================================== */

@media screen and (max-width: 767px) {
    .bpa-filters-wrapper {
        padding: 0;
        border: none;
        box-shadow: none;
        background: transparent;
    }

    .bpa-filters-mobile-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        width: 100%;
        padding: 12px 16px;
        font-family: 'Poppins', sans-serif;
        font-size: 14px;
        font-weight: 600;
        color: #fff;
        background: var(--ast-global-color-0, #046bd2);
        border: none;
        border-radius: 6px;
        cursor: pointer;
        transition: background-color 0.2s ease;
    }

    .bpa-filters-mobile-toggle:hover {
        background: var(--ast-global-color-1, #045cb4);
    }

    .bpa-filters-mobile-toggle-icon {
        display: inline-block;
        width: 0;
        height: 0;
        border-left: 5px solid transparent;
        border-right: 5px solid transparent;
        border-top: 5px solid #fff;
        transition: transform 0.25s ease;
    }

    .bpa-filters-open .bpa-filters-mobile-toggle-icon {
        transform: rotate(180deg);
    }

    .bpa-filters-collapsible {
        display: none;
        background: #fff;
        border: 1px solid #e5e7eb;
        border-radius: 8px;
        padding: 18px;
        margin-top: 10px;
        box-sizing: border-box;
    }

    .bpa-filter-checkboxes {
        max-height: 160px;
    }

    .bpa-filter-section {
        margin-bottom: 18px;
        padding-bottom: 18px;
    }
}
