.festival-page { background: var(--C8, #f4f7f5); }

.festival-hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at 50% -20%, var(--C3), transparent 42%),
        radial-gradient(circle at 15% 85%, rgba(246, 196, 83, 0.28), transparent 35%),
        radial-gradient(circle at 85% 75%, var(--C3), transparent 38%),
        linear-gradient(160deg, var(--C1) 0%, #06382c 52%, #021610 100%);
    background:
        radial-gradient(circle at 50% -20%, color-mix(in srgb, var(--C3) 45%, transparent), transparent 42%),
        radial-gradient(circle at 15% 85%, color-mix(in srgb, #f6c453 28%, transparent), transparent 35%),
        radial-gradient(circle at 85% 75%, color-mix(in srgb, var(--C3) 32%, transparent), transparent 38%),
        linear-gradient(160deg, var(--C1) 0%, #06382c 52%, #021610 100%);
    padding: 3.5rem 0 3rem;
}

.festival-hero__backdrop {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
    contain: paint;
    transform: translateZ(0);
}

.festival-hero__glow {
    position: absolute;
    left: 50%;
    bottom: -35%;
    width: min(920px, 120vw);
    height: 280px;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(255, 255, 255, 0.14), transparent 68%);
    animation: festGlowPulse 7s ease-in-out infinite;
}

.festival-hero__shine {
    position: absolute;
    top: -40%;
    right: -20%;
    bottom: -40%;
    left: -20%;
    inset: -40% -20%;
    background: conic-gradient(from 200deg at 50% 50%, transparent 0deg, rgba(255, 255, 255, 0.06) 40deg, transparent 80deg);
    animation: festShineSpin 22s linear infinite;
    opacity: 0.7;
}

.festival-hero__particles {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    inset: 0;
}

.fest-particle {
    position: absolute;
    display: block;
    border-radius: 999px;
    opacity: 0.55;
    animation: festParticleFloat linear infinite;
}

.fest-particle--1 { width: 8px; height: 8px; left: 12%; top: 18%; background: #fde68a; animation-duration: 14s; }
.fest-particle--2 { width: 6px; height: 6px; left: 78%; top: 22%; background: #86efac; animation-duration: 11s; animation-delay: -3s; }
.fest-particle--3 { width: 10px; height: 10px; left: 88%; top: 58%; background: rgba(255, 255, 255, 0.85); animation-duration: 16s; animation-delay: -5s; }
.fest-particle--4 { width: 5px; height: 5px; left: 22%; top: 68%; background: #fcd34d; animation-duration: 12s; animation-delay: -2s; }
.fest-particle--5 { width: 7px; height: 7px; left: 48%; top: 12%; background: #6ee7b7; animation-duration: 13s; animation-delay: -7s; }
.fest-particle--6 { width: 4px; height: 14px; left: 65%; top: 44%; border-radius: 2px; background: rgba(255, 255, 255, 0.45); animation-duration: 10s; animation-delay: -4s; }
.fest-particle--7 { width: 9px; height: 9px; left: 8%; top: 42%; background: #fbbf24; animation-duration: 15s; animation-delay: -6s; }
.fest-particle--8 { width: 6px; height: 6px; left: 92%; top: 78%; background: #a7f3d0; animation-duration: 12s; animation-delay: -8s; }

@keyframes festGlowPulse {
    0%, 100% { opacity: 0.75; transform: translateX(-50%) scale(1); }
    50% { opacity: 1; transform: translateX(-50%) scale(1.06); }
}

@keyframes festShineSpin {
    to { transform: rotate(360deg); }
}

@keyframes festParticleFloat {
    0% { transform: translate3d(0, 0, 0) rotate(0deg); opacity: 0.2; }
    15% { opacity: 0.75; }
    50% { transform: translate3d(12px, -28px, 0) rotate(180deg); opacity: 0.55; }
    85% { opacity: 0.7; }
    100% { transform: translate3d(-8px, -52px, 0) rotate(360deg); opacity: 0.15; }
}

.festival-hero__inner {
    position: relative;
    z-index: 1;
    isolation: isolate;
}

.festival-hero__content {
    max-width: 44rem;
    margin-inline: auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.festival-hero__bg-icons {
    position: absolute;
    top: -8%;
    right: -4%;
    bottom: -8%;
    left: -4%;
    inset: -8% -4%;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
    -webkit-mask-image: radial-gradient(ellipse 78% 68% at 50% 42%, transparent 0%, transparent 38%, #000 72%);
    mask-image: radial-gradient(ellipse 78% 68% at 50% 42%, transparent 0%, transparent 38%, #000 72%);
}

.fest-bg-icon {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.92);
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    animation: festBgIconDrift var(--fest-drift-dur, 14s) ease-in-out infinite;
    animation-delay: var(--fest-drift-delay, 0s);
    transform: translate3d(0, 0, 0) rotate(var(--fest-rot, 0deg));
}

.fest-bg-icon--sm {
    width: 2.15rem;
    height: 2.15rem;
    font-size: 0.95rem;
}
.fest-bg-icon--md {
    width: 2.85rem;
    height: 2.85rem;
    font-size: 1.2rem;
}
.fest-bg-icon--lg {
    width: 3.65rem;
    height: 3.65rem;
    font-size: 1.55rem;
}
.fest-bg-icon--xl {
    width: 5rem;
    height: 5rem;
    font-size: 2.05rem;
}

.fest-bg-icon--ghost {
    opacity: 0.2;
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.06);
    box-shadow: none;
    filter: blur(0.6px);
    backdrop-filter: blur(2px);
}
.fest-bg-icon--soft {
    opacity: 0.42;
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.09);
    filter: blur(0.25px);
    backdrop-filter: blur(4px);
}

.fest-bg-icon--1 { inset-inline-start: 5%; top: 10%; color: #93c5fd; --fest-drift-dur: 16s; --fest-drift-delay: -1s; --fest-rot: -8deg; }
.fest-bg-icon--2 { inset-inline-end: 7%; top: 14%; color: #fcd34d; --fest-drift-dur: 13s; --fest-drift-delay: -4s; --fest-rot: 6deg; }
.fest-bg-icon--3 { inset-inline-start: 10%; top: 38%; color: #86efac; --fest-drift-dur: 11s; --fest-drift-delay: -2s; --fest-rot: 4deg; }
.fest-bg-icon--4 { inset-inline-end: 9%; top: 34%; color: #fda4af; --fest-drift-dur: 15s; --fest-drift-delay: -6s; --fest-rot: -5deg; }
.fest-bg-icon--5 { inset-inline-start: 3%; bottom: 18%; color: #fde68a; --fest-drift-dur: 12s; --fest-drift-delay: -3s; --fest-rot: 10deg; }
.fest-bg-icon--6 { inset-inline-end: 5%; bottom: 22%; color: #f9a8d4; --fest-drift-dur: 14s; --fest-drift-delay: -7s; --fest-rot: -12deg; }
.fest-bg-icon--7 { inset-inline-start: 18%; top: 6%; color: rgba(255, 255, 255, 0.75); --fest-drift-dur: 10s; --fest-drift-delay: -5s; --fest-rot: 8deg; }
.fest-bg-icon--8 { inset-inline-end: 16%; bottom: 10%; color: #6ee7b7; --fest-drift-dur: 17s; --fest-drift-delay: -8s; --fest-rot: -6deg; }
.fest-bg-icon--9 { inset-inline-start: 14%; bottom: 8%; color: #fcd34d; --fest-drift-dur: 13s; --fest-drift-delay: -9s; --fest-rot: 5deg; }
.fest-bg-icon--10 { inset-inline-end: 12%; top: 8%; color: #c4b5fd; --fest-drift-dur: 18s; --fest-drift-delay: -2.5s; --fest-rot: -10deg; }
.fest-bg-icon--11 { inset-inline-start: 6%; top: 58%; color: #fbbf24; --fest-drift-dur: 11s; --fest-drift-delay: -6.5s; --fest-rot: 14deg; }
.fest-bg-icon--12 { inset-inline-end: 8%; top: 52%; color: #7dd3fc; --fest-drift-dur: 12s; --fest-drift-delay: -4.5s; --fest-rot: -7deg; }

@keyframes festBgIconDrift {
    0%, 100% {
        transform: translate3d(0, 0, 0) rotate(var(--fest-rot, 0deg));
    }
    33% {
        transform: translate3d(6px, -10px, 0) rotate(calc(var(--fest-rot, 0deg) + 4deg));
    }
    66% {
        transform: translate3d(-5px, -6px, 0) rotate(calc(var(--fest-rot, 0deg) - 3deg));
    }
}

.festival-kicker {
    display: inline-flex;
    margin: 0 0 0.85rem;
    padding: 0.32rem 0.85rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(6px);
    letter-spacing: 0.02em;
    font-size: 0.82rem;
    font-weight: 700;
}

.festival-title {
    font-size: clamp(1.85rem, 4vw, 2.85rem);
    font-weight: 900;
    margin: 0 0 0.65rem;
    line-height: 1.25;
    text-wrap: balance;
}

.festival-summary {
    max-width: 36rem;
    color: rgba(255, 255, 255, 0.88);
    margin: 0 0 1.35rem;
    line-height: 1.75;
    font-size: 1.02rem;
}

.festival-countdown {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.85rem;
    width: 100%;
}

.festival-phase {
    margin: 0;
    font-weight: 700;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.92);
}

.festival-count {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.55rem;
}

.festival-count__cell {
    min-width: 4.5rem;
    padding: 0.5rem 0.5rem 0.42rem;
    border-radius: 0.95rem;
    background: rgba(0, 0, 0, 0.26);
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(8px);
    text-align: center;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease;
}

.festival-count__cell.is-tick {
    animation: festCountSecTick 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes festCountSecTick {
    0% { transform: scale(1); box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18); }
    40% { transform: scale(1.03); box-shadow: 0 12px 30px rgba(253, 224, 71, 0.12); }
    100% { transform: scale(1); box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18); }
}

.festival-count__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.2rem;
    width: 1.65rem;
    height: 1.65rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(253, 224, 71, 0.95);
    font-size: 0.85rem;
    opacity: 0.92;
}

.festival-count__cell:nth-child(2) .festival-count__icon { color: #93c5fd; }
.festival-count__cell:nth-child(3) .festival-count__icon { color: #86efac; }
.festival-count__cell:nth-child(4) .festival-count__icon { color: #fcd34d; }

.festival-count b {
    display: block;
    color: #fff;
    font-size: 1.55rem;
    font-weight: 800;
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
}

.festival-count span {
    display: block;
    margin-top: 0.15rem;
    font-size: 0.72rem;
    opacity: 0.82;
}

.festival-hero.is-ended,
.festival-hero.is-paused {
    filter: saturate(0.78);
}

.festival-hero.is-ended .festival-hero__shine,
.festival-hero.is-ended .fest-particle,
.festival-hero.is-ended .fest-bg-icon,
.festival-hero.is-paused .festival-hero__shine,
.festival-hero.is-paused .fest-particle,
.festival-hero.is-paused .fest-bg-icon {
    animation-play-state: paused;
    opacity: 0.25;
}

.festival-hero.is-paused .festival-phase {
    max-width: 36rem;
    line-height: 1.65;
}

.festival-hero.is-upcoming .festival-kicker {
    background: rgba(251, 191, 36, 0.22);
    background: color-mix(in srgb, #fbbf24 22%, rgba(255, 255, 255, 0.08));
    border-color: rgba(251, 191, 36, 0.35);
    border-color: color-mix(in srgb, #fbbf24 35%, rgba(255, 255, 255, 0.2));
}

.festival-stage { padding: 1.35rem 0 2.5rem; }

.fest-listing-toolbar {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    margin-bottom: 1.1rem;
    padding: 0.75rem 0.85rem;
    border-radius: 1rem;
    background: var(--C8, #f4f7f5);     background: color-mix(in srgb, var(--C8, #f4f7f5) 55%, #fff);
    border: 1px solid rgba(5,42,20, 0.18);     border: 1px solid color-mix(in srgb, var(--C6) 18%, transparent);
}

.fest-listing-toolbar__main {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
}

.fest-listing-toolbar__search {
    position: relative;
    flex: 1 1 auto;
    min-width: 0;
}

.fest-listing-toolbar__search-icon {
    position: absolute;
    right: 0.85rem;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.55;
    pointer-events: none;
    font-size: 1.05rem;
}

.fest-listing-toolbar__input {
    padding-right: 2.35rem;
    border-radius: 999px;
    min-height: 2.65rem;
}

.fest-listing-toolbar__actions {
    display: flex;
    flex-direction: row;
    gap: 0.45rem;
    align-items: stretch;
    width: 100%;
}

.fest-listing-toolbar__sort {
    flex: 1 1 0;
    min-width: 0;
    min-height: 2.65rem;
    border-radius: 999px;
}

.fest-listing-toolbar__filter-btn {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    min-height: 2.65rem;
    border-radius: 999px;
    padding-inline: 0.95rem;
    white-space: nowrap;
}

.fest-listing-toolbar--busy {
    pointer-events: none;
    opacity: 0.88;
}

.fest-listing-toolbar__search.is-pending .fest-listing-toolbar__input {
    border-color: var(--bs-border-color);     border-color: color-mix(in srgb, var(--C3) 55%, var(--bs-border-color));
}

.fest-listing-results {
    position: relative;
}

#festListingResults.category-products-loading-host { position: relative; isolation: isolate; }

#festListingResults.category-products-loading-host .site-loader-spinner { display: none !important; }

#festListingResults.category-products-loading-host.loading::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    inset: 0;
    z-index: 4;
    display: block;
    background: var(--loader-overlay);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border-radius: inherit;
    pointer-events: none;
}

:root[data-bs-theme="dark"] #festListingResults.category-products-loading-host.loading::before {
    background: var(--loader-overlay-dark);
}

#festListingResults.category-products-loading-host .category-products-loader,
#festListingResults.category-products-loading-host .fest-listing-loader {
    display: none;
    pointer-events: none;
}

#festListingResults.category-products-loading-host.loading .category-products-loader,
#festListingResults.category-products-loading-host.loading .fest-listing-loader {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    pointer-events: none;
    margin: 0;
    padding: 0 0.75rem;
    box-sizing: border-box;
    top: var(--fest-loader-sticky-top, var(--category-loader-sticky-top, 12px));
}

#festListingResults.category-products-loading-host.loading #festProductsContainer {
    position: relative;
    z-index: 1;
    pointer-events: none;
}

.fest-listing-sheet[hidden] {
    display: none !important;
}

.fest-listing-sheet {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    inset: 0;
    z-index: 1080;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.fest-listing-sheet__backdrop {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.fest-listing-sheet__panel {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 32rem;
    max-height: min(85vh, 520px);
    margin: 0 auto;
    padding: 1rem 1.1rem 1.25rem;
    border-radius: 1.25rem 1.25rem 0 0;
    background: var(--bs-body-bg, #fff);
    box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.18);
    overflow: auto;
}

.fest-listing-sheet__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
}

.fest-listing-sheet__title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
}

.fest-listing-sheet__body {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin-bottom: 1rem;
}

.fest-listing-filter .form-check-label {
    font-weight: 600;
}

body.fest-listing-sheet-open {
    overflow: hidden;
}

@media (min-width: 768px) {
    .fest-listing-toolbar {
        padding: 0.8rem 1rem;
    }

    .fest-listing-toolbar__main {
        flex-direction: row;
        align-items: center;
        gap: 0.65rem;
    }

    .fest-listing-toolbar__search {
        flex: 1 1 16rem;
    }

    .fest-listing-toolbar__actions {
        flex: 0 0 auto;
        width: auto;
        min-width: 15.5rem;
    }

    .fest-listing-toolbar__sort {
        flex: 1 1 9.5rem;
        max-width: 11.5rem;
    }

    .fest-listing-sheet {
        align-items: center;
        padding: 1rem;
    }

    .fest-listing-sheet__panel {
        border-radius: 1.25rem;
        max-height: min(80vh, 480px);
    }
}

.festival-stage__title {
    font-size: 1.15rem;
    font-weight: 800;
    margin: 0 0 1rem;
    text-align: center;
}

.festival-empty, .festival-missing { color: var(--C6); }

.festival-products-grid {
    width: 100%;
    margin-inline: 0;
}

@media (min-width: 1200px) {
    .festival-products-grid > .festival-product-col {
        flex: 0 0 20%;
        max-width: 20%;
    }
}

:root[data-bs-theme="dark"] .festival-hero {
    background:
        radial-gradient(circle at 50% -15%, var(--C3), transparent 40%),
        radial-gradient(circle at 18% 88%, rgba(180, 83, 9, 0.12), transparent 34%),
        linear-gradient(165deg, #020806 0%, #031912 48%, #000000 100%);
    background:
        radial-gradient(circle at 50% -15%, color-mix(in srgb, var(--C3) 22%, transparent), transparent 40%),
        radial-gradient(circle at 18% 88%, color-mix(in srgb, #b45309 12%, transparent), transparent 34%),
        linear-gradient(165deg, #020806 0%, #031912 48%, #000000 100%);
    color: rgba(255, 255, 255, 0.94);
}

:root[data-bs-theme="dark"] .festival-hero__glow {
    opacity: 0.35;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.07), transparent 68%);
}

:root[data-bs-theme="dark"] .festival-hero__shine {
    opacity: 0.35;
}

:root[data-bs-theme="dark"] .fest-particle {
    opacity: 0.35;
}

:root[data-bs-theme="dark"] .festival-count__cell {
    background: rgba(0, 0, 0, 0.55);
    border-color: rgba(255, 255, 255, 0.1);
}

:root[data-bs-theme="dark"] .festival-page {
    background: var(--C8, #0b1411);
}

/* موبایل: کم‌کردن لایه‌های blur/mask/scale هم‌زمان — منبع لرزش هیرو */
@media (max-width: 767.98px) {
    .festival-hero__shine {
        animation: none;
        opacity: 0.28;
    }

    .festival-hero__glow {
        animation: festGlowPulseMobile 8s ease-in-out infinite;
        width: 100%;
        max-width: 520px;
    }

    .fest-particle {
        animation: none;
        opacity: 0.35;
    }

    .festival-hero__bg-icons {
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        inset: 0;
        -webkit-mask-image: none;
        mask-image: none;
    }

    .fest-bg-icon {
        animation: none;
        filter: none;
        backdrop-filter: none;
        transform: rotate(var(--fest-rot, 0deg));
    }

    .fest-bg-icon--ghost { opacity: 0.16; }
    .fest-bg-icon--soft { opacity: 0.32; }

    .fest-bg-icon--11,
    .fest-bg-icon--12,
    .fest-bg-icon--7 {
        display: none;
    }

    .festival-kicker {
        backdrop-filter: none;
        background: rgba(255, 255, 255, 0.12);
    }

    .festival-count__cell {
        backdrop-filter: none;
        background: rgba(0, 0, 0, 0.38);
    }

    .festival-count__cell.is-tick {
        animation: festCountSecTickMobile 0.45s ease;
    }
}

@keyframes festGlowPulseMobile {
    0%, 100% { opacity: 0.72; transform: translateX(-50%); }
    50% { opacity: 0.9; transform: translateX(-50%); }
}

@keyframes festCountSecTickMobile {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.82; }
}

@media (min-width: 768px) {
    .fest-bg-icon {
        will-change: transform;
    }
}

@media (max-width: 575.98px) {
    .festival-hero { padding: 2.4rem 0 2rem; }
    .fest-bg-icon--xl { width: 3.65rem; height: 3.65rem; font-size: 1.55rem; }
    .fest-bg-icon--lg { width: 2.85rem; height: 2.85rem; font-size: 1.2rem; }
    .festival-count__cell { min-width: 3.55rem; padding-inline: 0.35rem; }
    .festival-count b { font-size: 1.35rem; }
    .festival-count__icon { width: 1.45rem; height: 1.45rem; font-size: 0.75rem; }
}

@media (prefers-reduced-motion: reduce) {
    .festival-hero__glow,
    .festival-hero__shine,
    .fest-particle,
    .fest-bg-icon,
    .festival-count__cell.is-tick {
        animation: none !important;
    }
}

.festival-products-grid .product-card-fest-quota {
    position: absolute;
    z-index: 4;
    left: 50%;
    bottom: 0.55rem;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.28rem;
    max-width: calc(100% - 1rem);
    margin: 0;
    padding: 0.22rem 0.62rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 800;
    line-height: 1.35;
    white-space: nowrap;
    pointer-events: none;
    color: var(--on-accent, var(--C2));
    background: rgba(41,74,65, 0.78);     background: color-mix(in srgb, var(--C1) 78%, transparent);
    border: 1px solid var(--C3);     border: 1px solid color-mix(in srgb, var(--C3) 42%, rgba(255, 255, 255, 0.22));
    box-shadow:
        0 6px 18px rgba(41, 74, 65, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);
    box-shadow:
        0 6px 18px color-mix(in srgb, var(--C1) 35%, transparent),
        inset 0 1px 0 color-mix(in srgb, #fff 18%, transparent);
    backdrop-filter: blur(6px);
}
.festival-products-grid .product-card-fest-quota .ti {
    font-size: 0.82em;
    opacity: 0.95;
}
.festival-products-grid .product-card-fest-quota.is-low {
    background: var(--C1);     background: color-mix(in srgb, var(--C3) 72%, var(--C1));
    border-color: var(--C3);     border-color: color-mix(in srgb, var(--C3) 55%, rgba(255, 255, 255, 0.2));
}
.festival-products-grid .product-card-fest-quota.is-empty {
    color: var(--C2);     color: color-mix(in srgb, var(--C6) 92%, var(--C2));
    background: var(--C1);     background: color-mix(in srgb, var(--financial-out, #dc3545) 82%, var(--C1));
    border-color: rgba(220,53,69, 0.45);     border-color: color-mix(in srgb, var(--financial-out, #dc3545) 45%, transparent);
}
@media (max-width: 575.98px) {
    .festival-products-grid .product-card-fest-quota {
        bottom: 0.4rem;
        padding: 0.16rem 0.48rem;
        font-size: 0.62rem;
    }
}
