/*
Theme Name: Dating Balkan
Description: Dating Balkan WordPress tema za upoznavanje i društvene funkcije.
Author: Dating Balkan
Version: 1.3.0
Text Domain: dating-balkan
*/

.db-home-main {
    padding: 24px 0 12px;
}

.db-section {
    margin-bottom: 24px;
}

.db-section-subtitle {
    margin: 0 0 12px;
    font-size: 18px;
    font-weight: 800;
    color: #333;
}

.db-empty-text {
    color: #9aa0ad;
    font-size: 14px;
}

.db-mb-24 {
    margin-bottom: 24px;
}

.db-divider {
    border: 0;
    border-top: 1px solid #ececf3;
    margin: 22px 0;
}

.db-hero-guest {
    position: relative;
    min-height: calc(100vh - 70px);
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: -70px;
}

.db-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: #000;
}

.db-hero-bg-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    height: 100%;
    opacity: 0.4;
    filter: blur(10px);
}

.db-hero-bg-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.db-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(114, 50, 242, 0.5), rgba(0,0,0,0.85));
}

.db-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    padding: 20px;
    max-width: 850px;
    background: transparent;
    box-shadow: none;
}

.db-hero-title {
    font-size: clamp(32px, 8vw, 65px);
    font-weight: 900;
    line-height: 1.08;
    margin-bottom: 18px;
    text-shadow: 0 4px 15px rgba(0,0,0,0.4);
}

.db-hero-text {
    font-size: clamp(16px, 4vw, 22px);
    opacity: 0.95;
    margin: 0 auto 28px;
    max-width: 640px;
}

.db-hero-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.db-hero-btn-primary,
.db-hero-btn-secondary {
    min-width: 220px;
}

.db-online-stories::-webkit-scrollbar,
.db-ads-tabs::-webkit-scrollbar {
    display: none;
}

.db-story-link {
    text-decoration: none;
    text-align: center;
    flex-shrink: 0;
    width: 80px;
}

.db-story-avatar-wrap {
    position: relative;
    width: 75px;
    height: 75px;
    margin: 0 auto 8px;
    padding: 3px;
    border-radius: 50%;
    background: linear-gradient(45deg, #2ecc71, #7232f2);
}

.db-story-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid #fff;
    object-fit: cover;
    display: block;
}

.db-story-online-dot {
    position: absolute;
    bottom: 2px;
    right: 5px;
    width: 15px;
    height: 15px;
    background: #2ecc71;
    border: 3px solid #fff;
    border-radius: 50%;
}

.db-story-name {
    display: block;
    font-size: 12px;
    color: #333;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.db-zodiac-fallback-card {
    background: #f4f0ff;
    padding: 22px;
    border-radius: 24px;
    text-align: center;
    border: 2px dashed #7232f2;
    overflow: hidden;
}

.db-zodiac-icon {
    font-size: 38px;
    margin-bottom: 10px;
}

.db-zodiac-title {
    margin: 0 0 10px;
    color: #111;
    font-weight: 800;
}

.db-zodiac-text {
    color: #666;
    margin: 0 0 18px;
}

.db-zodiac-match-card {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 28px;
    padding: 22px;
    color: #fff;
    position: relative;
    overflow: hidden;
    border: 1px solid #7232f2;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.db-zodiac-glow {
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 80px;
    opacity: 0.08;
}

.db-zodiac-match-inner {
    display: flex;
    align-items: center;
    gap: 18px;
    position: relative;
    z-index: 2;
    flex-wrap: wrap;
}

.db-zodiac-user-photo-wrap {
    position: relative;
}

.db-zodiac-user-photo {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #7232f2;
}

.db-zodiac-badge {
    position: absolute;
    bottom: -5px;
    right: -5px;
    background: #fff;
    border-radius: 50%;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.db-zodiac-content {
    flex: 1;
    min-width: 220px;
}

.db-zodiac-overline {
    margin: 0;
    font-size: 12px;
    text-transform: uppercase;
    color: #8f68ff;
    font-weight: 800;
    letter-spacing: 1px;
}

.db-zodiac-name {
    margin: 5px 0;
    font-size: 24px;
}

.db-zodiac-name span {
    font-weight: 400;
    opacity: 0.7;
    font-size: 16px;
}

.db-zodiac-copy {
    margin: 0;
    font-size: 14px;
    opacity: 0.85;
    font-style: italic;
}

.db-zodiac-btn {
    white-space: nowrap;
}

.db-spark-card {
    background: #fff;
    border-radius: 24px;
    padding: 20px;
    border: 1px solid #f0f0f0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.db-spark-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.db-spark-icon {
    background: #ff4d6d;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.db-spark-title {
    margin: 0;
    font-size: 20px;
    font-weight: 800;
}

.db-spark-question {
    font-size: 17px;
    color: #444;
    margin-bottom: 18px;
    font-weight: 700;
}

.db-spark-options {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.db-spark-vote-btn {
    flex: 1;
    min-width: 180px;
    padding: 14px;
    border-radius: 14px;
    border: 2px solid #f0f0f0;
    background: #fff;
    cursor: pointer;
    font-weight: 700;
    transition: 0.3s;
}

.db-spark-result-text {
    font-size: 14px;
    color: #666;
    margin-bottom: 14px;
}

.db-spark-users {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 8px;
}

.db-spark-user-link {
    text-decoration: none;
    flex-shrink: 0;
    text-align: center;
    width: 60px;
}

.db-spark-user-avatar {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ff4d6d;
}

.db-spark-user-name {
    display: block;
    font-size: 10px;
    color: #333;
    margin-top: 5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.db-refresh-btn {
    background: none;
    border: none;
    color: #ff4d6d;
    font-size: 12px;
    cursor: pointer;
    text-decoration: underline;
    padding: 0;
    margin-top: 10px;
}

.db-city-tags {
    margin-bottom: 4px;
}

.db-city-chip {
    background: #fff;
    border: 1px solid #7232f2;
    color: #7232f2;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: 0.25s;
}

.db-city-chip:hover {
    background: #7232f2;
    color: #fff;
}

.db-filter-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    inset: 0;
    background: rgba(0,0,0,0.6);
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    padding: 16px;
}

.db-filter-modal-box {
    background: #fff;
    width: 100%;
    max-width: 420px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0,0,0,0.2);
    position: relative;
}

.db-filter-close {
    position: absolute;
    right: 18px;
    top: 10px;
    font-size: 28px;
    cursor: pointer;
    color: #333;
}

.db-filter-form {
    padding: 34px 24px 24px;
}

.db-filter-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid #f0f0f0;
}

.db-filter-row span {
    font-weight: 500;
}

.db-filter-row select {
    border: none;
    font-weight: 700;
    background: none;
    cursor: pointer;
    color: #7232f2;
    width: auto;
    min-width: 120px;
    text-align: right;
    box-shadow: none;
}

.db-filter-row input[type="text"] {
    border: none;
    text-align: right;
    font-weight: 600;
    outline: none;
    width: 160px;
    box-shadow: none;
    padding: 0;
}

.db-age-range {
    display: flex;
    align-items: center;
    gap: 5px;
}

.db-age-range input {
    width: 54px;
    border: 1px solid #eee;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    padding: 8px;
}

.db-filter-row-checkbox {
    border-bottom: 0;
}

.db-filter-row-checkbox input {
    width: 20px;
    height: 20px;
    accent-color: #7232f2;
}

.db-filter-submit {
    width: 100%;
    background: #111;
    color: white;
    border: none;
    padding: 16px;
    border-radius: 18px;
    margin-top: 18px;
    font-weight: bold;
    cursor: pointer;
}

.db-ads-section {
    padding: 34px 0 26px;
    border-top: 1px solid #f0f0f0;
    margin-top: 28px;
}

.db-ads-tab {
    background: #fff;
    border: 1px solid #eee;
    color: #666;
    padding: 8px 18px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: 0.25s;
}

.db-ads-tab.active {
    background: #7232f2;
    color: #fff;
    border-color: #7232f2;
}

.db-match-overlay {
    display: none;
    position: fixed;
    z-index: 99999;
    inset: 0;
    background: rgba(0,0,0,0.95);
    backdrop-filter: blur(15px);
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding: 20px;
}

.db-match-overlay-box {
    max-width: 500px;
    width: 100%;
}

.db-match-title {
    font-size: clamp(34px, 7vw, 55px);
    margin-bottom: 10px;
    animation: heartbeat 1.5s infinite;
    font-weight: 900;
    letter-spacing: -2px;
}

.db-match-text {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 34px;
}

.db-match-avatars {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 36px;
}

.db-match-avatar {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
}

.db-match-avatar-me {
    border: 4px solid #7232f2;
    z-index: 2;
    box-shadow: 0 0 30px rgba(114, 50, 242, 0.5);
}

.db-match-avatar-other {
    border: 4px solid #fff;
    margin-left: -34px;
    z-index: 1;
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
}

.db-match-btn {
    display: block;
    width: 100%;
    margin-bottom: 18px;
}

.db-match-close-btn {
    background: none;
    border: none;
    color: #aaa;
    cursor: pointer;
    font-size: 14px;
    text-decoration: underline;
    font-weight: 600;
}

@media (max-width: 768px) {
    .db-home-main {
        padding: 18px 0 8px;
    }

    .db-hero-guest {
        min-height: calc(100svh - 60px);
        margin-top: -60px;
    }

    .db-hero-bg-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .db-zodiac-match-inner {
        align-items: flex-start;
    }

    .db-zodiac-btn {
        width: 100%;
        justify-content: center;
    }

    .db-spark-options {
        flex-direction: column;
    }

    .db-spark-vote-btn {
        min-width: 100%;
    }

    .db-filter-row {
        flex-direction: column;
        align-items: stretch;
    }

    .db-filter-row select,
    .db-filter-row input[type="text"] {
        width: 100%;
        text-align: left;
    }

    .db-age-range {
        justify-content: flex-start;
    }

    .db-match-avatar {
        width: 110px;
        height: 110px;
    }
}

/* === Dating Balkan povezani napredni filteri 2026-08-07 === */
#filterModal{align-items:flex-start!important;padding:54px 18px 30px!important;overflow-y:auto!important}
#filterModal .filter-modal-card{width:min(620px,100%)!important;max-width:620px!important;max-height:none!important;overflow:visible!important;padding:30px 36px 26px!important;border-radius:28px!important;background:#fff!important;box-shadow:0 28px 90px rgba(29,23,52,.22)!important}
#filterModal .filter-modal-head{padding-right:45px!important;margin-bottom:18px!important}
#filterModal .filter-modal-head h3{font-size:34px!important;line-height:1.1!important;margin:6px 0 0!important}
#filterModal #closeModal{width:46px!important;height:46px!important;display:flex!important;align-items:center!important;justify-content:center!important;border-radius:50%!important;background:#f6f6f8!important;color:#4b5563!important;font-size:32px!important;line-height:1!important;top:20px!important;right:20px!important}
#filterModal .filter-section-title{display:flex!important;align-items:center!important;gap:12px!important;margin:10px 0 6px!important;padding:13px 15px!important;background:linear-gradient(135deg,#faf8ff,#f6f2ff)!important;border:1px solid #ece4ff!important;border-radius:16px!important}
#filterModal .filter-section-title>span{width:36px!important;height:36px!important;display:flex!important;align-items:center!important;justify-content:center!important;border-radius:12px!important;background:#fff!important;font-size:18px!important}
#filterModal .filter-section-title b{display:block!important;font-size:14px!important;color:#251b37!important}
#filterModal .filter-section-title small{display:block!important;margin-top:2px!important;color:#9388a6!important;font-size:11px!important}
#filterModal .filter-row{min-height:72px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:22px!important;border-bottom:1px solid #efedf4!important;padding:10px 0!important}
#filterModal .filter-row>span{font-weight:800!important;color:#181827!important;font-size:15px!important}
#filterModal .filter-row select,#filterModal .filter-row input[type=text],#filterModal .filter-row input[type=number]{width:min(250px,52%)!important;min-height:48px!important;border:1px solid #e4e1ea!important;background:#fafbfc!important;border-radius:14px!important;padding:0 14px!important;font-size:14px!important;font-weight:700!important;color:#242331!important;outline:none!important;box-shadow:none!important}
#filterModal .filter-row select:focus,#filterModal .filter-row input:focus{border-color:#a77df4!important;box-shadow:0 0 0 4px rgba(114,50,242,.09)!important}
#filterModal .age-range-wrap{display:flex!important;align-items:center!important;gap:9px!important}
#filterModal .age-range-wrap input,#filterModal .age-range-wrap select{width:92px!important;min-width:92px!important}
#filterModal input[type=checkbox]{appearance:none!important;-webkit-appearance:none!important;width:23px!important;height:23px!important;border:2px solid #cfd2db!important;border-radius:7px!important;background:#fff!important;display:inline-grid!important;place-content:center!important;cursor:pointer!important}
#filterModal input[type=checkbox]:checked{background:#7232f2!important;border-color:#7232f2!important}
#filterModal input[type=checkbox]:checked:after{content:'✓'!important;color:#fff!important;font-size:14px!important;font-weight:900!important}
.filter-count-badge{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 5px;margin-left:4px;border-radius:999px;background:#7232f2;color:#fff;font-size:11px;line-height:1}.filter-count-badge[hidden]{display:none!important}
#filterModal .advanced-filter-toggle{width:100%!important;min-height:58px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:15px!important;margin:14px 0 0!important;padding:0 16px!important;border:1px solid #e6dcfa!important;border-radius:16px!important;background:linear-gradient(135deg,#faf7ff,#f5efff)!important;color:#5d2fc7!important;font-size:14px!important;font-weight:900!important;cursor:pointer!important;box-shadow:none!important}
#filterModal .advanced-toggle-left{display:flex!important;align-items:center!important;gap:9px!important}#filterModal .advanced-toggle-left i{font-style:normal!important;font-size:18px!important}
#filterModal .advanced-toggle-right{display:flex!important;align-items:center!important;gap:7px!important;color:#8d75bd!important;font-size:12px!important}
#filterModal .advanced-filter-toggle.open .advanced-toggle-right b{transform:rotate(180deg)!important}
#filterModal .advanced-filters-panel{display:none!important;border:0!important;padding-top:12px!important}#filterModal .advanced-filters-panel.open{display:block!important}
#filterModal .filter-help{margin:5px 0 8px!important;padding:10px 12px!important;border-radius:12px!important;background:#fff8e9!important;color:#8a6b24!important;font-size:11px!important;text-align:left!important}
#filterModal .filter-stack{padding:17px 0!important;border-bottom:1px solid #efedf4!important}.filter-stack-label{display:block!important;margin-bottom:12px!important;font-size:15px!important;font-weight:800!important}
#filterModal .filter-chip-grid{display:flex!important;flex-wrap:wrap!important;gap:8px!important}#filterModal .filter-chip-grid label{margin:0!important;cursor:pointer!important}#filterModal .filter-chip-grid input{position:absolute!important;opacity:0!important}
#filterModal .filter-chip-grid span{display:inline-flex!important;align-items:center!important;min-height:34px!important;padding:0 12px!important;border-radius:999px!important;border:1px solid #e4e1ea!important;background:#fff!important;color:#5d5966!important;font-size:12px!important;font-weight:750!important}
#filterModal .filter-chip-grid input:checked+span{border-color:#bfa7f8!important;background:#f2ebff!important;color:#6728d4!important}
#filterModal .filter-actions{position:sticky!important;bottom:0!important;z-index:10!important;display:grid!important;grid-template-columns:1fr 1.45fr!important;gap:10px!important;margin-top:18px!important;padding:14px 0 0!important;background:#fff!important}
#filterModal .filter-actions .btn{width:100%!important;min-height:54px!important;border-radius:15px!important;font-size:14px!important;font-weight:900!important}.filter-reset-btn{background:#f3f1f7!important;color:#625d6b!important;border:0!important}
#filterModal .filter-actions .btn-dark{background:#171f2e!important;color:#fff!important}
@media(max-width:640px){#filterModal{padding:15px 8px!important}#filterModal .filter-modal-card{padding:24px 18px 20px!important;border-radius:22px!important}#filterModal .filter-modal-head h3{font-size:28px!important}#filterModal .filter-row{align-items:flex-start!important;flex-direction:column!important;gap:8px!important;padding:14px 0!important}#filterModal .filter-row select,#filterModal .filter-row input[type=text],#filterModal .filter-row input[type=number]{width:100%!important}#filterModal .filter-row-check{flex-direction:row!important;align-items:center!important}#filterModal .age-range-wrap{width:100%!important}#filterModal .age-range-wrap input,#filterModal .age-range-wrap select{width:calc(50% - 14px)!important;min-width:0!important}#filterModal .filter-actions{grid-template-columns:1fr!important}}


/* === FILTER MODAL RESPONSIVE TABS FINAL 2026-08-07 === */
body.filter-modal-open{overflow:hidden!important}
#filterModal{
    display:none;
    position:fixed!important;
    inset:0!important;
    z-index:999999!important;
    background:rgba(19,23,34,.58)!important;
    backdrop-filter:blur(8px)!important;
    -webkit-backdrop-filter:blur(8px)!important;
    align-items:center!important;
    justify-content:center!important;
    padding:20px!important;
    overflow:hidden!important;
}
#filterModal .filter-modal-card{
    position:relative!important;
    width:min(680px,100%)!important;
    max-width:680px!important;
    height:min(780px,calc(100vh - 40px))!important;
    max-height:calc(100vh - 40px)!important;
    margin:0!important;
    padding:0!important;
    overflow:hidden!important;
    background:#fff!important;
    border-radius:28px!important;
    box-shadow:0 30px 90px rgba(12,17,29,.28)!important;
}
#filterModal #filterForm{
    height:100%!important;
    display:flex!important;
    flex-direction:column!important;
    min-height:0!important;
}
#filterModal .filter-modal-head{
    flex:0 0 auto!important;
    padding:28px 70px 14px 30px!important;
    margin:0!important;
}
#filterModal .filter-modal-head h3{
    margin:4px 0 7px!important;
    font-size:32px!important;
    line-height:1.1!important;
    color:#151927!important;
}
#filterModal .filter-modal-head p{
    margin:0!important;
    color:#8a91a2!important;
    font-size:13px!important;
    line-height:1.45!important;
}
#filterModal .filter-close{
    position:absolute!important;
    top:20px!important;
    right:20px!important;
    z-index:20!important;
    width:44px!important;
    height:44px!important;
    display:grid!important;
    place-items:center!important;
    border:0!important;
    border-radius:50%!important;
    background:#f3f4f7!important;
    color:#4d5565!important;
    font-size:28px!important;
    line-height:1!important;
    cursor:pointer!important;
}
#filterModal .filter-tabs{
    flex:0 0 auto!important;
    display:grid!important;
    grid-template-columns:1fr 1fr!important;
    gap:8px!important;
    margin:0 30px 14px!important;
    padding:5px!important;
    border-radius:16px!important;
    background:#f3f4f7!important;
}
#filterModal .filter-tab{
    min-height:48px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:8px!important;
    border:0!important;
    border-radius:12px!important;
    background:transparent!important;
    color:#737b8d!important;
    font-size:14px!important;
    cursor:pointer!important;
}
#filterModal .filter-tab.active{
    background:#fff!important;
    color:#6f35df!important;
    box-shadow:0 4px 15px rgba(49,32,89,.10)!important;
}
#filterModal .filter-panels{
    flex:1 1 auto!important;
    min-height:0!important;
    overflow:hidden!important;
}
#filterModal .filter-panel{
    display:none!important;
    height:100%!important;
    overflow-y:auto!important;
    padding:0 30px 18px!important;
    scrollbar-width:thin!important;
}
#filterModal .filter-panel.active{display:block!important}
#filterModal .filter-section-intro{
    display:flex!important;
    align-items:center!important;
    gap:12px!important;
    margin:0 0 8px!important;
    padding:13px 15px!important;
    border:1px solid #eee9fb!important;
    border-radius:16px!important;
    background:linear-gradient(135deg,#fcfbff,#f8f5ff)!important;
}
#filterModal .filter-section-intro>span{
    flex:0 0 38px!important;
    width:38px!important;
    height:38px!important;
    display:grid!important;
    place-items:center!important;
    border-radius:12px!important;
    background:#fff!important;
    font-size:18px!important;
    box-shadow:0 3px 10px rgba(40,20,80,.06)!important;
}
#filterModal .filter-section-intro b{
    display:block!important;
    font-size:14px!important;
    color:#272b37!important;
}
#filterModal .filter-section-intro small{
    display:block!important;
    margin-top:2px!important;
    color:#969cac!important;
    font-size:11px!important;
}
#filterModal .filter-row{
    min-height:70px!important;
    display:grid!important;
    grid-template-columns:minmax(170px,1fr) minmax(190px,250px)!important;
    align-items:center!important;
    gap:18px!important;
    padding:10px 0!important;
    border-bottom:1px solid #eff0f4!important;
}
#filterModal .filter-row>label{
    margin:0!important;
    font-size:15px!important;
    font-weight:800!important;
    color:#222735!important;
}
#filterModal .filter-row select,
#filterModal .filter-row input[type=text],
#filterModal .filter-row input[type=number]{
    width:100%!important;
    min-width:0!important;
    height:48px!important;
    box-sizing:border-box!important;
    border:1px solid #e1e4ea!important;
    border-radius:14px!important;
    background:#fafbfc!important;
    padding:0 14px!important;
    color:#222735!important;
    font:inherit!important;
    font-size:14px!important;
    font-weight:700!important;
    outline:none!important;
    box-shadow:none!important;
}
#filterModal .filter-row select:focus,
#filterModal .filter-row input:focus{
    border-color:#9b73ef!important;
    box-shadow:0 0 0 4px rgba(114,50,242,.09)!important;
}
#filterModal .filter-range{
    display:grid!important;
    grid-template-columns:1fr auto 1fr!important;
    align-items:center!important;
    gap:9px!important;
}
#filterModal .filter-check-row{
    min-height:70px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:18px!important;
    padding:10px 0!important;
    border-bottom:1px solid #eff0f4!important;
    cursor:pointer!important;
}
#filterModal .filter-check-row span{display:block!important}
#filterModal .filter-check-row b{
    display:block!important;
    color:#222735!important;
    font-size:15px!important;
}
#filterModal .filter-check-row small{
    display:block!important;
    margin-top:3px!important;
    color:#9aa0af!important;
    font-size:11px!important;
}
#filterModal input[type=checkbox]{
    appearance:none!important;
    -webkit-appearance:none!important;
    flex:0 0 24px!important;
    width:24px!important;
    height:24px!important;
    margin:0!important;
    border:2px solid #cfd3dd!important;
    border-radius:7px!important;
    background:#fff!important;
    display:grid!important;
    place-items:center!important;
    cursor:pointer!important;
}
#filterModal input[type=checkbox]:checked{
    border-color:#7435ed!important;
    background:#7435ed!important;
}
#filterModal input[type=checkbox]:checked:after{
    content:'✓'!important;
    color:#fff!important;
    font-size:14px!important;
    font-weight:900!important;
}
#filterModal .filter-note{
    margin:8px 0 4px!important;
    padding:10px 12px!important;
    border-radius:12px!important;
    background:#fff8e8!important;
    color:#80631d!important;
    font-size:11px!important;
    line-height:1.4!important;
}
#filterModal .filter-stack{
    padding:16px 0!important;
    border-bottom:1px solid #eff0f4!important;
}
#filterModal .filter-stack-label{
    display:block!important;
    margin-bottom:11px!important;
    color:#222735!important;
    font-size:15px!important;
    font-weight:800!important;
}
#filterModal .filter-chips{
    display:flex!important;
    flex-wrap:wrap!important;
    gap:8px!important;
}
#filterModal .filter-chip{cursor:pointer!important}
#filterModal .filter-chip input{
    position:absolute!important;
    opacity:0!important;
    pointer-events:none!important;
}
#filterModal .filter-chip span{
    display:inline-flex!important;
    align-items:center!important;
    min-height:36px!important;
    padding:0 12px!important;
    border:1px solid #e2e4ea!important;
    border-radius:999px!important;
    background:#fff!important;
    color:#656b79!important;
    font-size:12px!important;
    font-weight:700!important;
}
#filterModal .filter-chip input:checked+span{
    border-color:#b89bf6!important;
    background:#f2ebff!important;
    color:#6c2bd9!important;
}
#filterModal .filter-actions{
    flex:0 0 auto!important;
    display:grid!important;
    grid-template-columns:1fr 1.45fr!important;
    gap:10px!important;
    padding:14px 30px 24px!important;
    margin:0!important;
    border-top:1px solid #eff0f4!important;
    background:#fff!important;
}
#filterModal .filter-actions button{
    min-height:52px!important;
    border:0!important;
    border-radius:14px!important;
    font:inherit!important;
    font-size:14px!important;
    font-weight:900!important;
    cursor:pointer!important;
}
#filterModal .filter-reset-btn{
    background:#f3f4f7!important;
    color:#656c79!important;
}
#filterModal .filter-apply-btn{
    background:#17202f!important;
    color:#fff!important;
}
.filter-count-badge{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-width:20px!important;
    height:20px!important;
    padding:0 5px!important;
    margin-left:4px!important;
    border-radius:999px!important;
    background:#7232f2!important;
    color:#fff!important;
    font-size:11px!important;
}
.filter-count-badge[hidden]{display:none!important}

@media(max-width:700px){
    #filterModal{
        padding:0!important;
        align-items:stretch!important;
    }
    #filterModal .filter-modal-card{
        width:100%!important;
        max-width:none!important;
        height:100dvh!important;
        max-height:100dvh!important;
        border-radius:0!important;
    }
    #filterModal .filter-modal-head{
        padding:22px 62px 12px 18px!important;
    }
    #filterModal .filter-modal-head h3{font-size:27px!important}
    #filterModal .filter-modal-head p{font-size:12px!important}
    #filterModal .filter-close{
        top:14px!important;
        right:14px!important;
        width:42px!important;
        height:42px!important;
    }
    #filterModal .filter-tabs{
        margin:0 18px 12px!important;
    }
    #filterModal .filter-panel{
        padding:0 18px 16px!important;
    }
    #filterModal .filter-row{
        grid-template-columns:1fr!important;
        gap:8px!important;
        min-height:0!important;
        padding:14px 0!important;
    }
    #filterModal .filter-row>label{
        font-size:14px!important;
    }
    #filterModal .filter-check-row{
        min-height:64px!important;
    }
    #filterModal .filter-actions{
        grid-template-columns:1fr 1fr!important;
        padding:12px 18px calc(14px + env(safe-area-inset-bottom))!important;
    }
}
@media(max-width:420px){
    #filterModal .filter-actions{
        grid-template-columns:1fr!important;
    }
}
