.store-coupon-filters {
    margin: 0 0 16px;
    padding: 10px 14px 10px;
    border: 1px solid #e7ecf2;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 2px 8px -2px rgba(15, 23, 42, 0.04), 0 1px 3px rgba(15, 23, 42, 0.02);
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.store-coupon-filters:hover {
    border-color: #d8e0ea;
    box-shadow: 0 4px 14px -2px rgba(15, 23, 42, 0.06);
}

.store-coupon-filters[hidden],
.store-coupon-filters [hidden],
.coupons-list [hidden] {
    display: none !important;
}

/* Reset button */
.store-coupon-filters__reset-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    height: 25px;
    padding: 0 9px;
    margin-left: auto;
    border: 1px solid #fecaca;
    border-radius: 9999px;
    background: #ffffff;
    color: #dc2626;
    font: inherit;
    font-size: 11.5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.16s ease;
    white-space: nowrap;
}

.store-coupon-filters__reset-btn:hover {
    background: #fef2f2;
    border-color: #f87171;
    color: #b91c1c;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(220, 38, 38, 0.08);
}

/* Linhas de Filtro (Filtrar por, Tipo, Etiquetas) */
.store-coupon-filters__row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 7px;
}

.store-coupon-filters__row:last-child {
    margin-bottom: 0;
}

.store-coupon-filters__row-label {
    flex: 0 0 76px;
    color: #454b54;
    font-size: 12.5px;
    font-weight: 700;
    user-select: none;
}

/* Rodapé com contagem */
.store-coupon-filters__footer {
    margin-top: 6px;
    padding-top: 5px;
    border-top: 1px solid #f8fafc;
}

.store-coupon-filters__found {
    font-size: 11.5px;
    color: #64748b;
}

.store-coupon-filters__found span[data-filter-count-visible] {
    color: #0f172a;
    font-weight: 700;
}

/* Segmented Control (Formato) */
.store-coupon-filters__segmented {
    display: inline-flex;
    align-items: center;
    background: #f1f5f9;
    padding: 2.5px;
    border-radius: 9px;
    gap: 2px;
    border: 1px solid #e2e8f0;
}

.store-coupon-filters__segment {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    height: 27px;
    padding: 0 11px;
    border: 1px solid transparent;
    border-radius: 7px;
    background: transparent;
    color: #475569;
    font: inherit;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.16s ease;
    user-select: none;
    white-space: nowrap;
}

.store-coupon-filters__segment i {
    font-size: 11px;
    opacity: 0.75;
}

.store-coupon-filters__segment:hover {
    color: #0f172a;
    background: rgba(255, 255, 255, 0.6);
}

.store-coupon-filters__segment[aria-pressed="true"] {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.04);
    color: #0284c7;
    font-weight: 700;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08), 0 1px 2px rgba(15, 23, 42, 0.04);
}

.store-coupon-filters__segment[aria-pressed="true"] i {
    opacity: 1;
    color: #0284c7;
}

.store-coupon-filters__segment[aria-pressed="true"] .store-coupon-filters__badge {
    background: #e0f2fe;
    color: #0284c7;
    border-color: rgba(2, 132, 199, 0.2);
}

/* Chips / Pílulas (Tipo & Etiquetas) */
.store-coupon-filters__pills {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    flex: 1;
}

.store-coupon-filters__pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 27px;
    padding: 0 10px;
    border: 1px solid #e2e8f0;
    border-radius: 9999px;
    background: #ffffff;
    color: #334155;
    font: inherit;
    font-size: 11.5px;
    font-weight: 500;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    transition: all 0.18s cubic-bezier(0.4, 0, 0.2, 1);
    user-select: none;
    white-space: nowrap;
}

.store-coupon-filters__pill:hover:not([hidden]) {
    border-color: #cbd5e1;
    background: #f8fafc;
    color: #0f172a;
    transform: translateY(-1px);
    box-shadow: 0 3px 6px -1px rgba(15, 23, 42, 0.08), 0 1px 2px rgba(15, 23, 42, 0.04);
}

.store-coupon-filters__pill:active:not([hidden]) {
    transform: translateY(0);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}

.store-coupon-filters__pill:focus-visible {
    outline: 2px solid #0284c7;
    outline-offset: 1px;
}

/* Pontos de status com glow temático suave */
.store-coupon-filters__dot {
    width: 7.5px;
    height: 7.5px;
    border-radius: 50%;
    flex-shrink: 0;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.store-coupon-filters__pill:hover .store-coupon-filters__dot {
    transform: scale(1.2);
}

.store-coupon-filters__dot--verde {
    background: #10b981;
    box-shadow: 0 0 0 2.5px rgba(16, 185, 129, 0.2), 0 0 6px rgba(16, 185, 129, 0.35);
}

.store-coupon-filters__dot--laranja {
    background: #f97316;
    box-shadow: 0 0 0 2.5px rgba(249, 115, 22, 0.2), 0 0 6px rgba(249, 115, 22, 0.35);
}

.store-coupon-filters__dot--azul {
    background: #3b82f6;
    box-shadow: 0 0 0 2.5px rgba(59, 130, 246, 0.2), 0 0 6px rgba(59, 130, 246, 0.35);
}

.store-coupon-filters__dot--amarelo {
    background: #eab308;
    box-shadow: 0 0 0 2.5px rgba(234, 179, 8, 0.2), 0 0 6px rgba(234, 179, 8, 0.35);
}

.store-coupon-filters__dot--preto {
    background: #0f172a;
    box-shadow: 0 0 0 2.5px rgba(15, 23, 42, 0.2), 0 0 6px rgba(15, 23, 42, 0.35);
}

/* Estados Ativos das Pílulas */
.store-coupon-filters__pill[data-filter-color="all"][aria-pressed="true"] {
    border-color: #0284c7;
    background: #e0f2fe;
    color: #0369a1;
    font-weight: 700;
    box-shadow: 0 2px 8px -1px rgba(2, 132, 199, 0.25), 0 1px 3px rgba(2, 132, 199, 0.15);
}

.store-coupon-filters__pill--verde[aria-pressed="true"] {
    border-color: #10b981;
    background: #ecfdf5;
    color: #065f46;
    font-weight: 700;
    box-shadow: 0 2px 8px -1px rgba(16, 185, 129, 0.25), 0 1px 3px rgba(16, 185, 129, 0.15);
}

.store-coupon-filters__pill--verde[aria-pressed="true"] .store-coupon-filters__badge {
    background: #d1fae5;
    color: #047857;
    border-color: rgba(16, 185, 129, 0.25);
}

.store-coupon-filters__pill--laranja[aria-pressed="true"] {
    border-color: #f97316;
    background: #fff7ed;
    color: #9a3412;
    font-weight: 700;
    box-shadow: 0 2px 8px -1px rgba(249, 115, 22, 0.25), 0 1px 3px rgba(249, 115, 22, 0.15);
}

.store-coupon-filters__pill--laranja[aria-pressed="true"] .store-coupon-filters__badge {
    background: #ffedd5;
    color: #c2410c;
    border-color: rgba(249, 115, 22, 0.25);
}

.store-coupon-filters__pill--azul[aria-pressed="true"] {
    border-color: #3b82f6;
    background: #eff6ff;
    color: #1e40af;
    font-weight: 700;
    box-shadow: 0 2px 8px -1px rgba(59, 130, 246, 0.25), 0 1px 3px rgba(59, 130, 246, 0.15);
}

.store-coupon-filters__pill--azul[aria-pressed="true"] .store-coupon-filters__badge {
    background: #dbeafe;
    color: #1d4ed8;
    border-color: rgba(59, 130, 246, 0.25);
}

.store-coupon-filters__pill--amarelo[aria-pressed="true"] {
    border-color: #eab308;
    background: #fefce8;
    color: #854d0e;
    font-weight: 700;
    box-shadow: 0 2px 8px -1px rgba(234, 179, 8, 0.25), 0 1px 3px rgba(234, 179, 8, 0.15);
}

.store-coupon-filters__pill--amarelo[aria-pressed="true"] .store-coupon-filters__badge {
    background: #fef08a;
    color: #713f12;
    border-color: rgba(234, 179, 8, 0.25);
}

.store-coupon-filters__pill--preto[aria-pressed="true"] {
    border-color: #0f172a;
    background: #0f172a;
    color: #ffffff;
    font-weight: 700;
    box-shadow: 0 2px 8px -1px rgba(15, 23, 42, 0.25), 0 1px 3px rgba(15, 23, 42, 0.15);
}

.store-coupon-filters__pill--tag[aria-pressed="true"] {
    border-color: #0d6efd;
    background: #eff6ff;
    color: #1d4ed8;
    font-weight: 700;
    box-shadow: 0 2px 8px -1px rgba(13, 110, 253, 0.25), 0 1px 3px rgba(13, 110, 253, 0.15);
}

.store-coupon-filters__pill--tag[aria-pressed="true"] .store-coupon-filters__tag-icon {
    color: #1d4ed8;
}

.store-coupon-filters__pill--tag[aria-pressed="true"] .store-coupon-filters__badge {
    background: #dbeafe;
    color: #1e40af;
    border-color: rgba(13, 110, 253, 0.25);
}

.store-coupon-filters__tag-icon {
    font-size: 11px;
    color: #94a3b8;
    transition: color 0.16s ease;
}

.store-coupon-filters__tag-img {
    width: 14px;
    height: 14px;
    object-fit: contain;
    flex-shrink: 0;
    vertical-align: middle;
}

/* Micro-badges numéricos proporcionais e legíveis */
.store-coupon-filters__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 17px;
    height: 17px;
    padding: 0 5px;
    border-radius: 9999px;
    background: #f1f5f9;
    color: #475569;
    font-family: inherit;
    font-size: 10.5px;
    font-weight: 600;
    line-height: 1;
    margin-left: 2px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: background 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}

/* Opções com contagem 0: visual suave e limpo, sem escurecer */
.store-coupon-filters__pill--zero {
    border-color: #e2e8f0;
    color: #64748b;
    background: #ffffff;
}

.store-coupon-filters__pill--zero:hover {
    border-color: #cbd5e1;
    color: #1e293b;
    background: #f8fafc;
}

.store-coupon-filters__pill--zero .store-coupon-filters__badge {
    background: #f8fafc;
    color: #94a3b8;
    border-color: #e2e8f0;
}

.store-coupon-filters__pill--zero .store-coupon-filters__dot,
.store-coupon-filters__pill--zero .store-coupon-filters__tag-icon {
    opacity: 0.65;
}

.store-coupon-filters__segment--zero {
    color: #94a3b8;
}

/* Estado Vazio na Lista de Cupons */
.store-coupon-filters__empty {
    list-style: none;
    padding: 30px 16px;
    text-align: center;
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
    background: #ffffff;
    margin: 14px 0;
}

.store-coupon-filters__empty-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.store-coupon-filters__empty-icon {
    font-size: 28px;
    color: #94a3b8;
}

.store-coupon-filters__empty-text {
    font-size: 13.5px;
    font-weight: 600;
    color: #475569;
    margin: 0;
}

.store-coupon-filters__empty-reset {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
    padding: 7px 16px;
    background: #0284c7;
    color: #ffffff;
    border: none;
    border-radius: 7px;
    font: inherit;
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.18s ease;
}

.store-coupon-filters__empty-reset:hover {
    background: #0369a1;
}

/* Responsividade Mobile - Otimizado para Smartphones */
@media (max-width: 768px) {
    .store-coupon-filters {
        padding: 9px 11px 9px;
        border-radius: 12px;
        margin-bottom: 12px;
    }

    .store-coupon-filters__header {
        padding-bottom: 6px;
        margin-bottom: 7px;
    }

    .store-coupon-filters__title {
        font-size: 12.5px;
    }

    .store-coupon-filters__count-badge {
        font-size: 11px;
        padding: 2px 7px;
    }

    .store-coupon-filters__reset-btn {
        display: flex;
        justify-content: center;
        width: 100%;
        min-height: 40px;
        height: auto;
        margin: 7px 0 0;
        padding: 8px 12px;
        border-color: #dbe4ee;
        border-radius: 9px;
        background: #f8fafc;
        color: #334155;
        font-size: 13px;
        font-weight: 700;
    }

    .store-coupon-filters__reset-btn i {
        color: #0284c7;
    }

    .store-coupon-filters__reset-btn:active {
        background: #e0f2fe;
        transform: none;
    }

    /* Formato em tela cheia no mobile para facilitar o toque */
    .store-coupon-filters__row--format {
        display: block;
        margin-bottom: 8px;
    }

    .store-coupon-filters__row--format .store-coupon-filters__row-label {
        display: none;
    }

    .store-coupon-filters__segmented {
        width: 100%;
        display: flex;
        padding: 2.5px;
    }

    .store-coupon-filters__segment {
        flex: 1;
        justify-content: center;
        padding: 0 4px;
        height: 31px;
        font-size: 12px;
    }

    /* Linhas Tipo e Etiquetas com rótulo e swipe horizontal suave */
    .store-coupon-filters__row--type,
    .store-coupon-filters__row--tags {
        display: flex;
        align-items: center;
        gap: 8px;
        margin-bottom: 6px;
    }

    .store-coupon-filters__row-label {
        flex: 0 0 auto;
        font-size: 11px;
        color: #64748b;
    }

    .store-coupon-filters__pills {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 2px;
        scrollbar-width: none;
    }

    .store-coupon-filters__pills::-webkit-scrollbar {
        display: none;
    }

    .store-coupon-filters__pill {
        flex-shrink: 0;
        height: 28px;
        padding: 0 10px;
        font-size: 11.5px;
    }
}
