/* Search Page Filters CSS */

/* Base Layout */
.flex_container {
    display: flex;
    width: 100%;
}

.flex_item_left {
    width: 260px;
    background: #383D40;
    color: white;
    font-weight: 100;
    min-height: 100vh;
    z-index: 1001;
}

.flex_item_left.hidden {
    position: absolute;
    z-index: 1001;
    left: -280px;
    transition: ease 0.3s all;
}

@media only screen and (max-width: 900px) {
    .flex_item_left {
        position: fixed;
        z-index: 1001;
        left: -280px;
        transition: ease 0.3s all;
        top: 0;
        height: 100vh;
        overflow-y: auto;
    }
}

.flex_item_left.show {
    left: 0;
}

/* Filter Toggle Button (Mobile) */
.filter-toggle {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    background: #f1633b;
    color: white;
    border: none;
    border-radius: 50px;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(241, 99, 59, 0.4);
    transition: all 0.3s ease;
    align-items: center;
    gap: 8px;
}

.filter-toggle svg {
    width: 20px;
    height: 20px;
}

.filter-toggle:hover {
    background: #d94f2a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(241, 99, 59, 0.5);
}

.filter-toggle.active {
    background: #d94f2a;
}

.filter-toggle.scrolled {
    bottom: 20px;
}

@media only screen and (max-width: 900px) {
    .filter-toggle {
        display: flex;
    }
}

/* Filter Overlay (Mobile) */
.filter-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.filter-overlay.show {
    display: block;
    opacity: 1;
}

body.filter-open {
    overflow: hidden;
}

/* Filter Header */
.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 10px;
    border-bottom: 1px solid #4a5054;
}

.filter-header h3 {
    margin: 0;
    padding: 0;
    opacity: 1;
    font-size: 14px;
    font-weight: 600;
}

.filter-close {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.filter-close:hover {
    opacity: 1;
}

@media only screen and (max-width: 900px) {
    .filter-close {
        display: block;
    }
}

/* Clear All Button */
.clear-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin: 8px 10px;
    padding: 5px 10px;
    background: transparent;
    color: #aaa;
    border: 1px solid #555;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.2s ease;
}

.clear-all-btn:hover {
    background: rgba(241, 99, 59, 0.1);
    border-color: #f1633b;
    color: #f1633b;
}

.clear-all-btn svg {
    width: 12px;
    height: 12px;
}

/* IMDb styling */
.movie-widget ul li .imdb {
    font-size: 10px;
    display: inline-block;
    padding-left: 30px;
    margin-left: 10px;
    width: 30px;
    background: url("../images/imdb-small.png") no-repeat 0px center;
    background-size: 24px auto;
}

/* Right side content */
.flex_item_right {
    flex: 1;
    min-width: 0; /* Prevent flex item from overflowing */
    overflow: hidden;
}

.flex_item_right .movie {
    margin: 5px;
    background-size: cover;
    padding-top: 145%;
    position: relative;
    overflow: hidden;
}

.flex_item_right .movie .overlay {
    position: absolute;
    height: 49px;
    width: 100%;
    background: rgba(97, 176, 186, 0.9);
    z-index: 0;
    opacity: 0;
    transition: ease 0.2s all;
    bottom: -10%;
    display: flex;
    flex-direction: column;
}

.flex_item_right .movie .overlay .title {
    padding: 4px 10px 0 10px;
    background: #59a1aa;
    box-shadow: 1px 2px 5px -4px rgba(0, 0, 0, 0.44);
    position: relative;
}

.flex_item_right .movie .overlay .title .imdb {
    position: absolute;
    width: 30px;
    height: 20px;
    top: 0;
    right: 0;
}

.flex_item_right .movie .overlay .title a {
    color: white;
    font-weight: 500;
}

.flex_item_right .movie .overlay .genres {
    padding: 2px 10px 0 10px;
    font-weight: 100;
    font-size: 0.7em;
    color: white;
}

.flex_item_right .movie .overlay .buttons {
    width: 100%;
    height: 48px;
    background: rgba(89, 161, 170, 0.4);
    box-shadow: -2px 2px 5px -4px rgba(0, 0, 0, 0.44);
    display: flex;
    padding: 4px 10px 0 10px;
    align-self: flex-end;
    text-align: center;
}

.flex_item_right .movie .overlay .buttons .bttn {
    flex: 1;
    width: 40px;
    height: 40px;
    background-size: 40px auto;
    justify-content: space-between;
}

.flex_item_right .movie .overlay .buttons .bttn:hover {
    opacity: 0.8;
}

.flex_item_right .movie .overlay .buttons .bttn:before {
    background-repeat: no-repeat;
    background-position: -40px center;
}

.flex_item_right .movie .overlay .buttons .bttn.wannasee:before {
    background: url("../images/icon-wannasee.png") no-repeat 0px center;
}

.flex_item_right .movie .overlay .buttons .bttn.notsee:before {
    background: url("../images/icon-notsee.png") no-repeat 0px center;
}

.flex_item_right .movie .overlay .buttons .bttn.seen:before {
    background: url("../images/icon-seen.png") no-repeat 0px center;
}

.flex_item_right .movie .overlay .buttons .bttn.trailer:before {
    background-image: url("../images/icon-trailer.png");
}

.flex_item_right .movie .overlay .buttons .bttn a {
    color: white;
    font-weight: 500;
    line-height: 2.2em;
    text-decoration: none;
}

.flex_item_right .movie:hover .overlay {
    opacity: 1;
    z-index: 1000;
    bottom: 0%;
}

/* Filter sections */
.filter {
    padding: 8px 12px;
    margin-bottom: 5px;
    background-color: #43494D;
}

.filter select {
    margin: 5px 0;
    width: 100%;
    color: #C9CDCE;
    background: #53585B;
    border: none;
    height: 36px;
    font-weight: 300;
    font-size: 14px;
    padding: 0 10px;
    border-radius: 4px;
    cursor: pointer;
}

.filter select:hover {
    background: #5a6165;
}

#filters h3 {
    margin-block-start: 0;
    margin-block-end: 0;
    padding: 5px 0;
    font-weight: 300;
    font-size: 11px;
    letter-spacing: .1em;
    opacity: 0.6;
    margin-left: 0;
    text-transform: uppercase;
}

.nomatch {
    display: none;
}

.match {
    display: block;
}

.checkbox_tegund {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Checkbox containers */
.container {
    display: block;
    position: relative;
    padding-left: 35px;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    color: lightgrey;
    width: 100%;
    border-bottom: 1px solid #484E51;
    line-height: 30px;
    font-size: 13px;
    height: 30px;
    transition: background 0.2s ease;
}

.container:hover {
    background: rgba(255, 255, 255, 0.05);
}

.container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 6px;
    left: 9px;
    height: 16px;
    width: 16px;
    background-color: #4A5054;
    border-radius: 2px;
}

.container:hover input ~ .checkmark {
    background-color: #4F5558;
}

.container input:checked ~ .checkmark {
    background-color: #61B0BA;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.container input:checked ~ .checkmark:after {
    display: block;
}

.container .checkmark:after {
    top: 4px;
    left: 4px;
    width: 8px;
    height: 8px;
    border-radius: 2px;
    background: #86CDD6;
}

/* Provider logos in checkboxes */
.container--provider {
    padding-left: 35px;
    display: flex;
    align-items: center;
    height: 36px;
    line-height: 36px;
}

.container--provider .provider-logo {
    width: 20px;
    height: 20px;
    object-fit: contain;
    margin-right: 8px;
    opacity: 0.8;
    filter: brightness(0) invert(1);
}

.container--provider:hover .provider-logo {
    opacity: 1;
}

.container--provider .checkmark {
    top: 10px;
}

/* Used filters display */
.used-filters {
    padding: 10px 15px;
    background: #f5f5f5;
    border-bottom: 1px solid #e0e0e0;
}

.used-filters ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.used-filters ul li {
    display: none;
    background: #61B0BA;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    cursor: pointer;
    transition: background 0.2s;
}

.used-filters ul li:hover {
    background: #4a9aa3;
}

.used-filters ul li.countent-items {
    background: #383D40;
    cursor: default;
}

.used-filters ul li.countent-items:hover {
    background: #383D40;
}

/* Movie Card Styles */
.movieholder {
    position: relative;
    width: 100%;
}

.movieholder .tooltip_templates {
    display: none;
}

.movie-card {
    display: block;
    text-decoration: none;
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.movie-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.movie-card:hover .movie-card__poster-img {
    transform: scale(1.05);
}

.movie-card__poster {
    position: relative;
    width: 100%;
    padding-top: 150%; /* 2:3 aspect ratio */
    background-color: #2a2a2a;
    overflow: hidden;
}

.movie-card__poster-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease;
}

.movie-card__trailer {
    position: absolute !important;
    bottom: 8px !important;
    right: 8px !important;
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    min-height: 32px !important;
    max-width: 32px !important;
    max-height: 32px !important;
    padding: 0 !important;
    margin: 0 !important;
    background: rgba(241, 99, 59, 0.95) !important;
    border: none !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    color: white !important;
    transition: all 0.2s ease !important;
    z-index: 10 !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3) !important;
    font-size: 0 !important; /* Hide any text */
    line-height: 1 !important;
    text-indent: -9999px; /* Extra insurance to hide text */
    overflow: hidden !important;
}

.movie-card__trailer:hover {
    background: #d94f2a !important;
    transform: scale(1.1) !important;
}

.movie-card__trailer svg {
    margin-left: 2px !important;
    width: 14px !important;
    height: 14px !important;
    flex-shrink: 0 !important;
    text-indent: 0 !important;
}

.movie-card__rating {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #f5c518;
    color: #000;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 6px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.movie-card__rating-logo {
    width: 28px;
    height: 14px;
    background: url('/wp-content/themes/kvikmyndir/images/imdb-logo.png') no-repeat center;
    background-size: contain;
}

/* Poster gradient overlay for provider icons */
.movie-card__poster-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 100%);
    pointer-events: none;
    z-index: 1;
}

/* Streaming provider icons */
.movie-card__providers {
    position: absolute;
    bottom: 10px;
    left: 8px;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    max-width: calc(100% - 50px);
    z-index: 2;
}

.movie-card__provider {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background-size: 22px auto;
    background-repeat: no-repeat;
    background-position: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.4);
    transition: transform 0.2s ease;
    cursor: pointer;
}

.movie-card__provider:hover {
    transform: scale(1.1);
}

.movie-card__provider--netflix {
    background-image: url('/wp-content/themes/kvikmyndir/images/netflix.png');
    background-color: #000;
    background-size: 24px auto;
}

.movie-card__provider--disneyplus {
    background-image: url('/wp-content/themes/kvikmyndir/images/logodisneyplus-dark.svg');
    background-color: #0e1c36;
    background-size: 26px auto;
}

.movie-card__provider--siminn {
    background-image: url('/wp-content/themes/kvikmyndir/images/logo-siminn2.png');
    background-color: #fff;
    background-size: 26px auto;
}

.movie-card__provider--ruv {
    background-image: url('/wp-content/themes/kvikmyndir/images/logo-ruv2.png');
    background-color: #fff;
    background-size: 26px auto;
}

.movie-card__provider--viaplay {
    background-color: #6b3fa0;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.movie-card__provider--viaplay::after {
    content: 'V';
}

.movie-card__provider--prime {
    background-image: url('/wp-content/themes/kvikmyndir/images/logo-prime-video.svg');
    background-color: #00A8E1;
    background-size: 28px auto;
}

.movie-card__provider--crunchyroll {
    background-image: url('/wp-content/themes/kvikmyndir/images/logo-crunchyroll.svg');
    background-color: #F47521;
    background-size: 28px auto;
}

.movie-card__provider--zee5 {
    background-image: url('/wp-content/themes/kvikmyndir/images/logo-zee5.svg');
    background-color: #8230C6;
    background-size: 28px auto;
}

.movie-card__info {
    padding: 8px 10px;
    background: #fff;
    height: 52px; /* Fixed height for consistent cards */
    box-sizing: border-box;
}

.movie-card__title {
    font-size: 12px;
    font-weight: 600;
    color: #222;
    line-height: 1.3;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 32px; /* Fixed height for 2 lines */
}

.movie-card__year {
    font-size: 11px;
    color: #666;
    margin-top: 2px;
}

/* Grid layout - override the SCSS grid */
#showcontent.tegund_list {
    display: grid !important;
    grid-template-columns: repeat(6, 1fr) !important;
    gap: 12px !important;
    padding: 12px !important;
}

@media (max-width: 1780px) {
    #showcontent.tegund_list {
        grid-template-columns: repeat(6, 1fr) !important;
    }
}

@media (max-width: 1530px) {
    #showcontent.tegund_list {
        grid-template-columns: repeat(5, 1fr) !important;
    }
}

@media (max-width: 1290px) {
    #showcontent.tegund_list {
        grid-template-columns: repeat(4, 1fr) !important;
    }
}

@media (max-width: 1040px) {
    #showcontent.tegund_list {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (max-width: 770px) {
    #showcontent.tegund_list {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 500px) {
    #showcontent.tegund_list {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
        padding: 8px !important;
    }

    .movie-card__info {
        padding: 6px 8px;
    }

    .movie-card__title {
        font-size: 11px;
    }

    .movie-card__year {
        font-size: 10px;
    }
}

/* ========================================
   Results Header - Count & Sorting
   ======================================== */
.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    flex-wrap: wrap;
    gap: 10px;
}

.results-count {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.results-count__number {
    font-size: 24px;
    font-weight: 700;
    color: #333;
}

.results-count__label {
    font-size: 14px;
    color: #666;
}

.results-sort {
    display: flex;
    align-items: center;
    gap: 8px;
}

.results-sort label {
    font-size: 13px;
    color: #666;
    white-space: nowrap;
}

.sort-dropdown {
    padding: 8px 32px 8px 12px;
    font-size: 13px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: white url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.sort-dropdown:hover {
    border-color: #61B0BA;
}

.sort-dropdown:focus {
    outline: none;
    border-color: #61B0BA;
    box-shadow: 0 0 0 3px rgba(97, 176, 186, 0.2);
}

@media (max-width: 500px) {
    .results-header {
        padding: 12px 15px;
    }

    .results-count__number {
        font-size: 20px;
    }

    .results-sort label {
        display: none;
    }
}

/* ========================================
   Active Filters Pills (Horizontal Bar)
   ======================================== */
.active-filters {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    background: #fff;
    border-bottom: 1px solid #e9ecef;
    gap: 10px;
    min-height: 52px;
}

.active-filters:empty,
.active-filters.hidden {
    display: none;
}

.active-filters__list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    flex: 1;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.active-filters__list::-webkit-scrollbar {
    display: none;
}

.filter-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: #61B0BA;
    color: white;
    font-size: 12px;
    font-weight: 500;
    border-radius: 20px;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    white-space: nowrap;
    border: none;
}

.filter-pill:hover {
    background: #4a9aa3;
    transform: scale(1.02);
}

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

.filter-pill__remove {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    transition: background 0.2s;
}

.filter-pill:hover .filter-pill__remove {
    background: rgba(255,255,255,0.5);
}

.filter-pill__remove svg {
    width: 10px;
    height: 10px;
}

.filter-pill--genre {
    background: #8b5cf6;
}

.filter-pill--genre:hover {
    background: #7c3aed;
}

.filter-pill--provider {
    background: #f59e0b;
}

.filter-pill--provider:hover {
    background: #d97706;
}

.filter-pill--year {
    background: #10b981;
}

.filter-pill--year:hover {
    background: #059669;
}

.filter-pill--imdb {
    background: #f5c518;
    color: #000;
}

.filter-pill--imdb:hover {
    background: #e4b400;
}

.active-filters__clear {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    background: transparent;
    color: #666;
    font-size: 12px;
    border: 1px solid #ddd;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.active-filters__clear:hover {
    background: #fee2e2;
    border-color: #fca5a5;
    color: #dc2626;
}

@media (max-width: 900px) {
    .active-filters {
        padding: 10px 15px;
    }

    .active-filters__list {
        flex-wrap: nowrap;
    }
}


/* ========================================
   Skeleton Loaders
   ======================================== */
@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.skeleton-card {
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.skeleton-poster {
    width: 100%;
    padding-top: 150%;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

.skeleton-info {
    padding: 12px;
}

.skeleton-title {
    height: 16px;
    width: 80%;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 4px;
    margin-bottom: 8px;
}

.skeleton-year {
    height: 12px;
    width: 40%;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 4px;
}

/* Hide old used-filters section */
.used-filters {
    display: none !important;
}

/* Empty state / Error state */
.search-help {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.search-help h2 {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.search-help p {
    font-size: 14px;
    max-width: 400px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ========================================
   No Results State
   ======================================== */
.no-results {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
}

.no-results__icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    opacity: 0.5;
}

.no-results__title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.no-results__text {
    font-size: 14px;
    color: #666;
    max-width: 300px;
    line-height: 1.5;
    margin-bottom: 20px;
}

.no-results__btn {
    background: #f1633b;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s;
}

.no-results__btn:hover {
    background: #d94f2a;
}

/* ========================================
   Load More Button
   ======================================== */
.load-more-container {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    padding: 30px 20px;
}

.load-more-btn {
    background: #f1633b;
    color: #fff;
    border: none;
    padding: 12px 40px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.load-more-btn:hover {
    background: #d94f2a;
    transform: translateY(-2px);
}

.load-more-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.load-more-btn .spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

/* ========================================
   Filter Count Badge (Mobile)
   ======================================== */
.filter-toggle .filter-toggle__count {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #fff;
    color: #f1633b;
    font-size: 11px;
    font-weight: 700;
    min-width: 20px;
    height: 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
