.search-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.search-input {
    width: 100%;
    min-height: 3rem;
    padding: 0.8rem 1rem;
    border: 1px solid var(--platea-ghost-border);
    border-radius: 1rem;
    background: var(--platea-surface-container-low);
    color: var(--platea-text-primary);
    font-size: 0.95rem;
    font-family: var(--platea-font-ui);
    outline: none;
    transition: background 0.2s ease, box-shadow 0.2s ease;
}

.search-input:focus {
    background: var(--platea-surface-container-high);
    box-shadow: 0 0 0 0.18rem rgba(186, 158, 255, 0.14);
}

.search-input-error {
    box-shadow: 0 0 0 0.18rem rgba(255, 124, 124, 0.15);
}

.search-error-msg {
    color: #ff9b9b;
    font-size: 0.8rem;
}

.search-form {
    width: 100%;
    font-family: var(--platea-font-ui);
}

.search-form-navbar {
    position: relative;
    width: 100%;
    --navbar-search-height: 2.78rem;
    --navbar-search-panel-top: 7rem;
    transition: width 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.search-form-bar {
    position: relative;
    width: 100%;
}

.search-form-shell {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0;
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    padding: 0;
    border-radius: 999px;
    overflow: visible;
    border: 1px solid transparent;
    background: transparent;
    box-shadow: none;
    transition: background 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, padding 0.22s ease;
}

.search-form-navbar.search-form-expanded .search-form-shell {
    gap: 0.2rem;
    padding: 0.16rem;
    background: rgba(255, 255, 255, 0.055);
    border-color: rgba(255, 255, 255, 0.11);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.04),
        0 12px 28px rgba(0, 0, 0, 0.22);
}

.search-form-navbar.search-form-expanded .search-form-shell:hover,
.search-form-navbar.search-form-expanded .search-form-shell:focus-within {
    border-color: rgba(186, 158, 255, 0.18);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 14px 32px rgba(0, 0, 0, 0.28),
        0 8px 24px rgba(132, 85, 239, 0.10);
}

.search-form-query {
    display: flex;
    align-items: center;
    gap: 0.58rem;
    flex: 1 1 auto;
    min-width: 0;
    min-height: var(--navbar-search-height);
    padding: 0 0.9rem;
    border-radius: 999px;
    background: transparent;
    transition: background 0.2s ease, box-shadow 0.2s ease, padding 0.22s ease;
}

.search-form-query-panel {
    min-height: 2.72rem;
    padding: 0 0.86rem;
    border: 1px solid transparent;
    border-radius: 0.92rem;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.02) 100%),
        rgba(255, 255, 255, 0.01);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.04),
        0 0 0 1px rgba(255, 255, 255, 0.03);
}

.search-form-query-panel:focus-within {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%),
        rgba(255, 255, 255, 0.02);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 0 0 1px rgba(186, 158, 255, 0.12),
        0 10px 22px rgba(132, 85, 239, 0.14);
    transform: translateY(-1px);
}

.search-form-location-field {
    grid-column: 1 / -1;
}

.search-form-combobox {
    position: relative;
    width: 100%;
}

.search-form-combobox-dropdown {
    position: absolute;
    top: calc(100% + 0.45rem);
    left: 0;
    z-index: 18;
    width: 100%;
    max-height: calc(5 * 2.15rem + 0.84rem);
    padding: 0.42rem;
    border-radius: 0.95rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        radial-gradient(circle at top right, rgba(186, 158, 255, 0.14) 0%, rgba(186, 158, 255, 0) 36%),
        linear-gradient(180deg, rgba(20, 18, 25, 0.96) 0%, rgba(11, 11, 14, 0.98) 100%);
    box-shadow:
        0 18px 36px rgba(0, 0, 0, 0.42),
        0 10px 20px rgba(132, 85, 239, 0.14);
    overflow-x: hidden;
    overflow-y: auto;
}

.search-form-combobox-dropdown[hidden] {
    display: none;
}

.search-form-combobox-options {
    margin: 0;
    padding: 0;
    list-style: none;
}

.search-form-combobox-item {
    margin: 0;
    padding: 0;
}

.search-form-combobox-option {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 2.15rem;
    padding: 0.45rem 0.62rem;
    border: none;
    border-radius: 0.7rem;
    background: transparent;
    color: var(--platea-text-primary);
    font-size: 0.83rem;
    font-family: var(--platea-font-ui);
    text-align: left;
    cursor: pointer;
    transition: background 0.16s ease, color 0.16s ease;
}

.search-form-combobox-option:hover,
.search-form-combobox-option:focus,
.search-form-combobox-option.is-active {
    background: rgba(186, 158, 255, 0.14);
    color: #fff;
    outline: none;
}

.search-form-combobox-empty {
    margin: 0;
    padding: 0.58rem 0.62rem;
    color: var(--platea-text-soft);
    font-size: 0.8rem;
}

.search-form-query:focus-within {
    background: transparent;
    box-shadow: none;
}

.search-form-query,
.search-form-filter-toggle,
.search-form-inline-submit {
    position: relative;
    z-index: 12;
}

.search-form-icon,
.search-form-filter-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: rgba(247, 242, 255, 0.56);
}

.search-form-query .search-form-input,
.search-form-query select.search-form-input {
    min-height: auto;
    padding: 0;
    border: none !important;
    border-radius: 0;
    background: transparent !important;
    color: var(--platea-text-primary) !important;
    box-shadow: none;
}

.search-form-query .search-form-input:focus,
.search-form-query select.search-form-input:focus {
    background: transparent !important;
    box-shadow: none;
}

.search-form-input::placeholder {
    color: rgba(247, 242, 255, 0.46);
}

.search-form-details {
    position: static;
    display: flex;
    width: 0;
    min-width: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateX(0.35rem) scale(0.96);
    transition: width 0.24s ease, opacity 0.18s ease, transform 0.22s ease;
}

.search-form-navbar.search-form-expanded .search-form-details {
    width: var(--navbar-search-height);
    overflow: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0) scale(1);
}

.search-form-inline-search {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    flex: 0 0 var(--navbar-search-height);
    min-width: 0;
    width: var(--navbar-search-height);
    transition: flex-basis 0.28s cubic-bezier(0.2, 0.8, 0.2, 1), width 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.search-form-navbar.search-form-expanded .search-form-inline-search {
    flex: 1 1 auto;
    width: 100%;
}

.search-form-query-navbar {
    min-width: 0;
    justify-content: space-between;
    gap: 0;
    padding: 0;
}

.search-form-navbar.search-form-expanded .search-form-query-navbar {
    gap: 0.5rem;
    padding: 0 0.26rem 0 0.78rem;
}

.search-form-filter-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.28rem;
    min-height: var(--navbar-search-height);
    min-width: var(--navbar-search-height);
    padding: 0;
    border-radius: 999px;
    border: none;
    background: transparent;
    color: var(--platea-text-muted);
    cursor: pointer;
    user-select: none;
    white-space: nowrap;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.search-form-filter-label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.search-form-filter-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.28rem;
    min-height: 1.28rem;
    padding: 0 0.28rem;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(248, 160, 16, 0.92) 0%, rgba(231, 148, 0, 0.92) 100%);
    color: #17120b;
    font-size: 0.64rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    box-shadow: 0 8px 18px rgba(248, 160, 16, 0.16);
}

.search-form-filter-count.is-empty,
.search-form-active-filters-count.is-empty {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(247, 242, 255, 0.54);
    box-shadow: none;
}

.search-form-details-active .search-form-filter-toggle,
.search-form-details-open .search-form-filter-toggle,
.search-form-filter-toggle:hover,
.search-form-filter-toggle:focus {
    color: var(--platea-text-primary);
    background: rgba(186, 158, 255, 0.10);
    transform: translateY(-1px);
}

.search-form .search-form-submit,
.search-form .search-form-reset {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.65rem;
    padding: 0 1rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    white-space: nowrap;
}

.search-form .search-form-submit {
    border: none;
}

.search-form-inline-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: var(--navbar-search-height);
    min-width: var(--navbar-search-height);
    height: var(--navbar-search-height);
    padding: 0;
    border: 1px solid transparent;
    border-radius: 999px;
    background: transparent;
    color: rgba(247, 242, 255, 0.76);
    cursor: pointer;
    transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.search-form-inline-submit .search-form-icon svg {
    width: 1.25rem;
    height: 1.25rem;
}

.search-form-navbar.search-form-expanded .search-form-inline-submit {
    width: 2.18rem;
    min-width: 2.18rem;
    height: 2.18rem;
    border-color: transparent;
    background: transparent;
}

.search-form-inline-submit:hover,
.search-form-inline-submit:focus {
    color: var(--platea-text-primary);
    border-color: transparent;
    background: transparent;
    box-shadow: none;
    transform: translateY(-1px);
    outline: none;
}

.search-form-navbar.search-form-expanded .search-form-inline-submit:hover,
.search-form-navbar.search-form-expanded .search-form-inline-submit:focus {
    border-color: rgba(186, 158, 255, 0.22);
    background: rgba(186, 158, 255, 0.12);
    box-shadow: 0 10px 24px rgba(132, 85, 239, 0.14);
}

.search-form-navbar .search-form-query-navbar .search-form-input {
    flex: 0 1 0;
    width: 0;
    min-width: 0;
    opacity: 0;
    pointer-events: none;
    transform: translateX(0.35rem);
    transition: flex-basis 0.24s ease, opacity 0.18s ease, transform 0.22s ease;
}

.search-form-navbar.search-form-expanded .search-form-query-navbar .search-form-input {
    flex: 1 1 auto;
    width: auto;
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
}

.search-form-navbar:not(.search-form-has-active-filters) .search-form-filter-toggle {
    gap: 0;
    padding: 0;
}

.search-form .search-form-submit-panel {
    min-width: 10.8rem;
    background: linear-gradient(135deg, var(--platea-primary) 0%, var(--platea-primary-dim) 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.14),
        0 14px 28px rgba(132, 85, 239, 0.2);
}

.search-form .search-form-reset {
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: var(--platea-text-primary);
}

.search-form .search-form-reset:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.12);
    opacity: 1;
}

.search-form .search-form-reset:disabled {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.05);
    color: var(--platea-text-soft);
    cursor: default;
    opacity: 0.6;
    box-shadow: none;
}

.search-form .search-form-reset:disabled:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.05);
}

.search-form-backdrop {
    position: fixed;
    inset: 0;
    z-index: 8;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    background: rgba(8, 8, 11, 0.34);
    transition: opacity 0.2s ease, visibility 0s linear 0.2s;
}

.search-form-panel {
    position: absolute;
    top: calc(100% + 0.7rem);
    right: 0;
    left: auto;
    z-index: 14;
    width: min(31rem, calc(100vw - 2rem));
    max-width: calc(100vw - 2rem);
    padding: 1.2rem;
    border-radius: 1.55rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-0.45rem) scale(0.985);
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        radial-gradient(circle at top right, rgba(186, 158, 255, 0.18) 0%, rgba(186, 158, 255, 0) 32%),
        radial-gradient(circle at bottom left, rgba(248, 160, 16, 0.1) 0%, rgba(248, 160, 16, 0) 24%),
        linear-gradient(180deg, rgba(20, 18, 25, 0.88) 0%, rgba(11, 11, 14, 0.95) 100%);
    box-shadow:
        0 28px 56px rgba(0, 0, 0, 0.44),
        0 16px 30px rgba(132, 85, 239, 0.14);
    transition: opacity 0.2s ease, transform 0.24s ease, visibility 0s linear 0.24s;
}

.search-form-details-open .search-form-backdrop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: opacity 0.2s ease;
}

.search-form-details-open .search-form-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    transition: opacity 0.2s ease, transform 0.24s ease;
}

.search-form-panel-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.8rem;
}

.search-form-panel-kicker,
.search-form-active-filters-kicker,
.search-form-label {
    margin: 0;
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.search-form-panel-title {
    margin: 0;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    line-height: 1;
    text-transform: uppercase;
    color: rgba(186, 158, 255, 0.92);
}

.search-form-panel-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.1rem;
    height: 2.1rem;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--platea-text-muted);
    cursor: pointer;
    transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.search-form-panel-close:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-1px);
}

.search-form-error {
    margin-top: 0.9rem;
    color: #ffadad;
    font-size: 0.88rem;
    line-height: 1.5;
}

.search-form-grid {
    display: grid;
    gap: 0.8rem;
    margin-top: 0.75rem;
}

.search-form-grid-navbar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.search-form-field {
    display: grid;
    gap: 0.34rem;
    min-width: 0;
}

.search-form-label {
    color: var(--platea-text-soft);
}

.search-form-input,
.search-form-select {
    width: 100%;
    min-width: 0;
    min-height: 2.72rem;
    padding: 0.76rem 0.88rem;
    border: 1px solid transparent !important;
    border-radius: 0.92rem;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.02) 100%) !important;
    color: var(--platea-text-primary) !important;
    font-size: 0.88rem;
    font-family: var(--platea-font-ui);
    outline: none;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.04),
        0 0 0 1px rgba(255, 255, 255, 0.03);
    transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.search-form-input:focus,
.search-form-select:focus {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 0 0 1px rgba(186, 158, 255, 0.12),
        0 10px 22px rgba(132, 85, 239, 0.14);
    transform: translateY(-1px);
}

.search-form-select {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 2.4rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1.5 1.5L6 6L10.5 1.5' stroke='%23D9CBFF' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: calc(100% - 1rem) center;
}

.search-form-select option {
    background: #111116;
    color: #fff;
}

.search-form-input-date {
    cursor: pointer;
    padding-right: 2.9rem;
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M8 2V5' stroke='white' stroke-width='1.8' stroke-linecap='round'/%3E%3Cpath d='M16 2V5' stroke='white' stroke-width='1.8' stroke-linecap='round'/%3E%3Crect x='3' y='4' width='18' height='17' rx='2.5' stroke='white' stroke-width='1.8'/%3E%3Cpath d='M3 9.5H21' stroke='white' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat calc(100% - 0.9rem) center / 1rem 1rem,
        linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.02) 100%),
        rgba(255, 255, 255, 0.02) !important;
}

.search-form-input-date:focus {
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M8 2V5' stroke='white' stroke-width='1.8' stroke-linecap='round'/%3E%3Cpath d='M16 2V5' stroke='white' stroke-width='1.8' stroke-linecap='round'/%3E%3Crect x='3' y='4' width='18' height='17' rx='2.5' stroke='white' stroke-width='1.8'/%3E%3Cpath d='M3 9.5H21' stroke='white' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat calc(100% - 0.9rem) center / 1rem 1rem,
        linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%),
        rgba(255, 255, 255, 0.03) !important;
}

.search-form-date-shell {
    position: relative;
}

.search-form-date-popover {
    position: absolute;
    top: calc(100% + 0.45rem);
    left: 0;
    z-index: 19;
    width: min(19rem, 100%);
    display: grid;
    gap: 0.75rem;
    padding: 0.9rem;
    border-radius: 1rem;
    border: 1px solid rgba(186, 158, 255, 0.18);
    background:
        radial-gradient(circle at top right, rgba(186, 158, 255, 0.14) 0%, rgba(186, 158, 255, 0) 42%),
        linear-gradient(180deg, rgba(20, 18, 25, 0.96) 0%, rgba(11, 11, 14, 0.98) 100%);
    box-shadow:
        0 18px 36px rgba(0, 0, 0, 0.42),
        0 10px 20px rgba(132, 85, 239, 0.14);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.search-form-date-popover[hidden] {
    display: none;
}

.search-form-date-toolbar {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.65rem;
}

.search-form-date-month {
    margin: 0;
    text-align: center;
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: capitalize;
}

.search-form-date-nav {
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    cursor: pointer;
    font-size: 1.05rem;
    line-height: 1;
    transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.search-form-date-nav:hover {
    background: rgba(186, 158, 255, 0.18);
    border-color: rgba(186, 158, 255, 0.42);
    transform: translateY(-1px);
}

.search-form-date-weekdays,
.search-form-date-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 0.35rem;
}

.search-form-date-weekdays span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 1.45rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    text-align: center;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.63rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-transform: uppercase;
}

.search-form-date-day {
    min-height: 2.1rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.86rem;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.search-form-date-day:hover {
    border-color: rgba(186, 158, 255, 0.46);
    background: rgba(132, 85, 239, 0.2);
    transform: translateY(-1px);
}

.search-form-date-day-selected {
    border-color: rgba(186, 158, 255, 0.56);
    background: rgba(132, 85, 239, 0.3);
    color: #fff;
}

.search-form-date-day-empty {
    border-color: transparent;
    background: transparent;
    cursor: default;
}

.search-form-date-footer {
    display: flex;
    justify-content: flex-end;
}

.search-form-date-clear {
    border-radius: 10px;
    padding: 0.48rem 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.search-form-date-clear:hover {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.14);
    transform: translateY(-1px);
}

.search-form-check {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 0.78rem;
    min-height: 3.55rem;
    padding: 0.82rem 0.9rem;
    border-radius: 0.98rem;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.02) 100%),
        rgba(255, 255, 255, 0.02);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    cursor: pointer;
    transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.search-form-check:hover {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.03) 100%),
        rgba(255, 255, 255, 0.03);
}

.search-form-check-navbar {
    grid-column: 1 / -1;
}

.search-form-check-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.search-form-check-indicator {
    position: relative;
    width: 1.55rem;
    height: 1.55rem;
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.04);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
    transition: background 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.search-form-check-indicator::after {
    content: "";
    position: absolute;
    top: 0.32rem;
    left: 0.54rem;
    width: 0.36rem;
    height: 0.72rem;
    border: solid #17120b;
    border-width: 0 2px 2px 0;
    opacity: 0;
    transform: rotate(45deg) scale(0.8);
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.search-form-check-input:checked + .search-form-check-indicator {
    background: linear-gradient(135deg, var(--platea-secondary) 0%, var(--platea-secondary-dim) 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.18),
        0 14px 28px rgba(248, 160, 16, 0.18);
    transform: translateY(-1px);
}

.search-form-check-input:checked + .search-form-check-indicator::after {
    opacity: 1;
    transform: rotate(45deg) scale(1);
}

.search-form-check-copy {
    display: grid;
    gap: 0.18rem;
}

.search-form-check-title {
    color: var(--platea-text-primary);
    font-size: 0.84rem;
    font-weight: 700;
}

.search-form-check-meta {
    color: var(--platea-text-soft);
    font-size: 0.74rem;
    line-height: 1.45;
}

.search-form-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.55rem;
    margin-top: 0.9rem;
}

.search-form-page-shell {
    display: grid;
    gap: 0.8rem;
}

body.navbar-search-lock-scroll {
    overflow: hidden;
}

@media (max-width: 1120px) {
    .search-form-panel {
        width: min(30rem, calc(100vw - 2rem));
        max-width: calc(100vw - 2rem);
    }
}

@media (max-width: 1024px) {
    .search-form-panel {
        position: fixed;
        top: var(--navbar-search-panel-top);
        left: 1rem;
        right: 1rem;
        width: auto;
        max-width: calc(100vw - 2rem);
        max-height: calc(100vh - var(--navbar-search-panel-top) - 1rem);
        overflow-y: auto;
    }
}

@media (max-width: 768px) {
    .search-form-filter-toggle {
        padding: 0;
    }

    .search-form-grid-navbar {
        grid-template-columns: 1fr;
    }

    .search-form-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .search-form .search-form-submit-panel,
    .search-form .search-form-reset {
        width: 100%;
    }
}

@media (max-width: 560px) {
    .search-form-navbar {
        --navbar-search-height: 2.66rem;
    }

    .search-form-shell {
        gap: 0;
        padding: 0;
        border-radius: 1.2rem;
    }

    .search-form-navbar.search-form-expanded .search-form-shell {
        gap: 0.16rem;
        padding: 0.14rem;
    }

    .search-form-query {
        padding-right: 0.78rem;
        padding-left: 0.8rem;
    }

    .search-form-panel {
        top: var(--navbar-search-panel-top);
        right: 0.75rem;
        left: 0.75rem;
        padding: 1rem;
        border-radius: 1.25rem;
    }

    .search-form-panel-title {
        font-size: 1.24rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .search-form-navbar,
    .search-form-shell,
    .search-form-query,
    .search-form-details,
    .search-form-inline-search,
    .search-form-filter-toggle,
    .search-form-panel,
    .search-form-backdrop,
    .search-form-inline-submit,
    .search-form-panel-close,
    .search-form-input,
    .search-form-query-navbar .search-form-input,
    .search-form-select,
    .search-form-check,
    .search-form-check-indicator {
        transition: none;
    }
}
