:root {
    --aff-primary: #0166f8;
    --aff-primary-hover: #0056d6;
    --aff-primary-dark: #0047b8;

    --aff-primary-soft: #eef5ff;
    --aff-primary-soft-2: #f5f9ff;

    --aff-text: #101828;
    --aff-text-secondary: #475467;
    --aff-muted: #667085;
    --aff-soft-text: #98a2b3;

    --aff-border: #e4e7ec;
    --aff-border-dark: #d0d5dd;

    --aff-background: #f8fafc;
    --aff-surface: #ffffff;

    --aff-dark: #0b1220;

    --aff-success: #12b76a;
    --aff-success-soft: #ecfdf3;

    --aff-warning: #f79009;
    --aff-warning-soft: #fffaeb;

    --aff-danger: #f04438;
    --aff-danger-soft: #fef3f2;

    --container: 1240px;

    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 18px;

    --ease-smooth: cubic-bezier(0.22, 1, 0.36, 1);

    --shadow-card:
            0 1px 3px rgba(16, 24, 40, 0.04),
            0 1px 2px rgba(16, 24, 40, 0.03);

    --shadow-popover:
            0 16px 40px rgba(16, 24, 40, 0.12);
}


/*
|--------------------------------------------------------------------------
| Global Reset
|--------------------------------------------------------------------------
*/

*,
*::before,
*::after {
    box-sizing: border-box;

    /*
     * Remove browser tap / long press highlight globally
     */
    -webkit-tap-highlight-color: transparent !important;
}

html {
    scroll-behavior: smooth;

    -webkit-tap-highlight-color: transparent;
}

html,
body {
    width: 100%;

    margin: 0;
    padding: 0;
}

body {
    background: var(--aff-surface);

    color: var(--aff-text);

    font-family:
            Inter,
            -apple-system,
            BlinkMacSystemFont,
            "Segoe UI",
            Roboto,
            Helvetica,
            Arial,
            sans-serif;

    font-size: 15px;
    font-weight: 400;
    line-height: 1.6;

    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.menu-open {
    overflow: hidden;
}


/*
|--------------------------------------------------------------------------
| Global Interaction
|--------------------------------------------------------------------------
|
| Browser-ის default tap/hold ეფექტს ვთიშავთ მთლიან UI-ზე.
|
*/

body,
body * {
    -webkit-tap-highlight-color: transparent !important;
}

a,
button {
    -webkit-tap-highlight-color: transparent !important;
}


/*
|--------------------------------------------------------------------------
| Links
|--------------------------------------------------------------------------
*/

a {
    color: inherit;

    text-decoration: none;
}


/*
|--------------------------------------------------------------------------
| Form Elements
|--------------------------------------------------------------------------
*/

button,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;

    -webkit-appearance: none;
    appearance: none;
}


/*
|--------------------------------------------------------------------------
| Images
|--------------------------------------------------------------------------
*/

img {
    max-width: 100%;
}


/*
|--------------------------------------------------------------------------
| Container
|--------------------------------------------------------------------------
*/

.container {
    width: min(
            calc(100% - 40px),
            var(--container)
    );

    margin: 0 auto;
}


/*
|--------------------------------------------------------------------------
| Typography
|--------------------------------------------------------------------------
*/

h1,
h2,
h3,
h4,
p {
    margin-top: 0;
}

h1,
h2,
h3,
h4 {
    color: var(--aff-text);
}

h1 {
    font-weight: 650;
}

h2,
h3,
h4 {
    font-weight: 600;
}

p,
li {
    font-weight: 400;
}

.section-title {
    margin: 0 0 13px;

    font-size: clamp(30px, 4vw, 40px);
    font-weight: 600;
    line-height: 1.15;

    letter-spacing: -0.035em;
}

.section-description {
    max-width: 720px;

    margin: 0;

    color: var(--aff-muted);

    font-size: 16px;
    font-weight: 400;
    line-height: 1.7;
}

.section-head {
    margin-bottom: 36px;

    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 30px;
}

.section-head-content {
    max-width: 760px;
}

.text-primary {
    color: var(--aff-primary);
}

.text-link {
    color: var(--aff-primary);

    display: inline-flex;
    align-items: center;

    gap: 6px;

    font-size: 14px;
    font-weight: 500;

    transition: color 0.18s ease;
}

.text-link:hover {
    color: var(--aff-primary-hover);
}


/*
|--------------------------------------------------------------------------
| Buttons
|--------------------------------------------------------------------------
*/

.btn {
    min-height: 46px;

    padding: 0 20px;

    border: 1px solid transparent;
    border-radius: var(--radius-sm);

    background: transparent;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    font-size: 14px;
    font-weight: 500;

    -webkit-tap-highlight-color: transparent;

    transition:
            background-color 0.2s ease,
            border-color 0.2s ease,
            color 0.2s ease,
            transform 0.2s var(--ease-smooth),
            box-shadow 0.2s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: var(--aff-primary);

    color: #ffffff;

    box-shadow:
            0 4px 12px rgba(1, 102, 248, 0.14);
}

.btn-primary:hover {
    background: var(--aff-primary-hover);
}

.btn-secondary {
    border-color: var(--aff-border);

    background: #ffffff;

    color: var(--aff-text);
}

.btn-secondary:hover {
    border-color: var(--aff-border-dark);

    background: var(--aff-background);
}

.btn-soft {
    background: var(--aff-primary-soft);

    color: var(--aff-primary);
}

.btn-white {
    border-color: rgba(255, 255, 255, 0.28);

    background: #ffffff;

    color: var(--aff-primary);
}

.btn-white-outline {
    border-color: rgba(255, 255, 255, 0.36);

    background: transparent;

    color: #ffffff;
}


/*
|--------------------------------------------------------------------------
| Header
|--------------------------------------------------------------------------
*/

.site-header {
    position: sticky;
    top: 0;

    z-index: 500;

    border-bottom: 1px solid #eaecf0;

    background: rgba(255, 255, 255, 0.97);

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.nav-wrap {
    min-height: 74px;

    display: flex;
    align-items: center;

    gap: 42px;
}


/*
|--------------------------------------------------------------------------
| Brand
|--------------------------------------------------------------------------
*/

.brand {
    display: flex;
    align-items: center;

    flex: 0 0 auto;

    -webkit-tap-highlight-color: transparent;
}

.brand img {
    width: 142px;
    height: auto;

    display: block;
}


/*
|--------------------------------------------------------------------------
| Desktop Navigation
|--------------------------------------------------------------------------
*/

.nav-main {
    margin-right: auto;

    display: flex;
    align-items: center;

    gap: 30px;
}

.nav-link {
    position: relative;

    padding: 27px 0 25px;

    color: #475467;

    font-size: 14px;
    font-weight: 400;
    line-height: 1;

    letter-spacing: -0.01em;

    -webkit-tap-highlight-color: transparent;
}

.nav-link:hover {
    color: #475467;
}

.nav-link.active {
    color: var(--aff-primary);
}

.nav-link.active::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: -1px;

    height: 2px;

    border-radius: 2px 2px 0 0;

    background: var(--aff-primary);
}


/*
|--------------------------------------------------------------------------
| Desktop Actions
|--------------------------------------------------------------------------
*/

.nav-actions {
    display: flex;
    align-items: center;

    gap: 10px;

    flex: 0 0 auto;
}

.signin-link {
    padding: 12px 8px;

    color: #475467;

    font-size: 14px;
    font-weight: 400;

    letter-spacing: -0.01em;
}

.signin-link:hover {
    color: #475467;
}

.nav-join {
    min-height: 42px;

    padding-left: 17px;
    padding-right: 17px;

    border-radius: 8px;

    font-size: 13px;
    font-weight: 500;
}


/*
|--------------------------------------------------------------------------
| Account / Profile
|--------------------------------------------------------------------------
*/

.account-menu {
    position: relative;

    flex: 0 0 auto;
}

.account-menu-trigger {
    min-height: 42px;

    padding: 5px 9px 5px 5px;

    border: 1px solid var(--aff-border);
    border-radius: 9px;

    outline: none;

    background: #ffffff;

    color: var(--aff-text-secondary);

    display: flex;
    align-items: center;

    gap: 8px;

    font-size: 13px;
    font-weight: 400;

    appearance: none;
    -webkit-appearance: none;

    -webkit-tap-highlight-color: transparent;

    transition:
            background-color 0.16s ease,
            border-color 0.16s ease,
            color 0.16s ease,
            box-shadow 0.16s ease;
}

.account-menu-trigger:hover {
    background: var(--aff-background);

    border-color: var(--aff-border-dark);

    color: var(--aff-text);
}

.account-menu-trigger:focus {
    outline: none;
}

.account-menu-trigger:focus-visible {
    border-color: rgba(1, 102, 248, 0.32);

    outline: none;

    box-shadow:
            0 0 0 3px rgba(1, 102, 248, 0.05);
}

.account-menu-trigger:active {
    background: var(--aff-background);

    border-color: var(--aff-border-dark);

    color: var(--aff-text);
}

.account-menu.open .account-menu-trigger {
    background: var(--aff-primary-soft-2);

    border-color: rgba(1, 102, 248, 0.28);

    color: var(--aff-text);
}


/*
|--------------------------------------------------------------------------
| Avatar
|--------------------------------------------------------------------------
*/

.account-avatar {
    width: 30px;
    height: 30px;

    flex: 0 0 30px;

    border-radius: 50%;

    background: var(--aff-primary-soft);

    color: var(--aff-primary);

    display: inline-flex;
    align-items: center;
    justify-content: center;

    font-size: 12px;
    font-weight: 600;
}

.account-menu-name {
    max-width: 130px;

    overflow: hidden;

    text-overflow: ellipsis;
    white-space: nowrap;
}

.account-menu-trigger svg {
    width: 15px;
    height: 15px;

    flex: 0 0 auto;

    color: var(--aff-muted);

    transform: rotate(0deg);

    transition:
            transform 0.28s var(--ease-smooth);
}

.account-menu.open .account-menu-trigger svg {
    transform: rotate(180deg);
}


/*
|--------------------------------------------------------------------------
| Account Dropdown
|--------------------------------------------------------------------------
*/

.account-menu-dropdown {
    width: 250px;

    position: absolute;

    top: calc(100% + 8px);
    right: 0;

    z-index: 900;

    padding: 8px;

    border: 1px solid var(--aff-border);
    border-radius: 10px;

    background: #ffffff;

    box-shadow: var(--shadow-popover);

    opacity: 0;
    visibility: hidden;

    pointer-events: none;

    transform:
            translateY(-8px)
            scale(0.98);

    transform-origin: top right;

    transition:
            opacity 0.22s ease,
            transform 0.3s var(--ease-smooth),
            visibility 0s linear 0.3s;
}

.account-menu.open .account-menu-dropdown {
    opacity: 1;

    visibility: visible;

    pointer-events: auto;

    transform:
            translateY(0)
            scale(1);

    transition:
            opacity 0.22s ease,
            transform 0.3s var(--ease-smooth),
            visibility 0s linear 0s;
}

.account-menu-info {
    padding: 10px 10px 12px;
}

.account-menu-info strong {
    display: block;

    margin-bottom: 2px;

    overflow: hidden;

    color: var(--aff-text);

    font-size: 13px;
    font-weight: 500;

    text-overflow: ellipsis;
    white-space: nowrap;
}

.account-menu-info span {
    display: block;

    overflow: hidden;

    color: var(--aff-muted);

    font-size: 11px;

    text-overflow: ellipsis;
    white-space: nowrap;
}

.account-menu-separator {
    height: 1px;

    margin: 5px 0;

    background: var(--aff-border);
}

.account-menu-item {
    width: 100%;
    min-height: 38px;

    padding: 0 10px;

    border: 0;
    border-radius: 7px;

    outline: 0;

    background: transparent;

    color: var(--aff-text-secondary);

    display: flex;
    align-items: center;

    font-size: 12px;
    font-weight: 400;

    text-align: left;

    appearance: none;
    -webkit-appearance: none;

    transition:
            background-color 0.14s ease,
            color 0.14s ease;
}

.account-menu-item:hover {
    background: var(--aff-background);

    color: var(--aff-text);
}

.account-menu-dropdown form {
    margin: 0;
}

.account-menu-logout {
    cursor: pointer;

    color: #b42318;
}

.account-menu-logout:hover {
    background: #fef3f2;

    color: #b42318;
}


/*
|--------------------------------------------------------------------------
| Mobile Header Actions
|--------------------------------------------------------------------------
*/

.mobile-header-actions {
    margin-left: auto;

    display: none;
    align-items: center;

    gap: 6px;
}

.mobile-account-menu {
    position: relative;
}

.mobile-profile-trigger {
    min-height: 42px;

    padding: 4px 7px 4px 4px;

    gap: 6px;

    background: #ffffff;
}

.mobile-profile-trigger:hover {
    background: var(--aff-background);
}

.mobile-profile-trigger .account-avatar {
    width: 30px;
    height: 30px;

    flex-basis: 30px;
}

.mobile-profile-trigger svg {
    width: 14px;
    height: 14px;
}

.mobile-profile-text {
    font-size: 13px;
    font-weight: 400;

    white-space: nowrap;
}

.mobile-account-dropdown {
    top: calc(100% + 9px);
    right: 0;

    width: min(280px, calc(100vw - 28px));

    max-width: calc(100vw - 28px);
}


/*
|--------------------------------------------------------------------------
| Hamburger
|--------------------------------------------------------------------------
*/

.mobile-menu-button {
    width: 42px;
    height: 42px;

    margin: 0;
    padding: 0;

    border: 1px solid transparent;
    border-radius: 8px;

    outline: none;

    background: transparent;

    display: none;
    align-items: center;
    justify-content: center;

    position: relative;

    -webkit-tap-highlight-color: transparent;

    transition:
            background-color 0.18s ease;
}

.mobile-menu-button:hover {
    border-color: transparent;

    background: var(--aff-background);
}

.mobile-menu-button:focus,
.mobile-menu-button:active {
    border-color: transparent;

    outline: none;
}

.mobile-menu-button span {
    width: 18px;
    height: 2px;

    position: relative;

    display: block;

    border-radius: 3px;

    background: #344054;

    transition:
            background-color 0.18s ease;
}

.mobile-menu-button span::before,
.mobile-menu-button span::after {
    content: "";

    width: 18px;
    height: 2px;

    position: absolute;
    left: 0;

    display: block;

    border-radius: 3px;

    background: #344054;

    transition:
            top 0.32s var(--ease-smooth),
            transform 0.32s var(--ease-smooth);
}

.mobile-menu-button span::before {
    top: -6px;
}

.mobile-menu-button span::after {
    top: 6px;
}

.mobile-menu-button.active span {
    background: transparent;
}

.mobile-menu-button.active span::before {
    top: 0;

    transform: rotate(45deg);
}

.mobile-menu-button.active span::after {
    top: 0;

    transform: rotate(-45deg);
}


/*
|--------------------------------------------------------------------------
| Mobile Navigation
|--------------------------------------------------------------------------
*/

.mobile-menu {
    display: grid;

    grid-template-rows: 0fr;

    background: #ffffff;

    border-top: 1px solid transparent;

    opacity: 0;

    transform: translateY(-8px);

    visibility: hidden;

    pointer-events: none;

    transition:
            grid-template-rows 0.38s var(--ease-smooth),
            opacity 0.26s ease,
            transform 0.38s var(--ease-smooth),
            border-color 0.26s ease,
            visibility 0s linear 0.38s;
}

.mobile-menu.active {
    grid-template-rows: 1fr;

    border-top-color: var(--aff-border);

    opacity: 1;

    transform: translateY(0);

    visibility: visible;

    pointer-events: auto;

    transition:
            grid-template-rows 0.38s var(--ease-smooth),
            opacity 0.26s ease,
            transform 0.38s var(--ease-smooth),
            border-color 0.26s ease,
            visibility 0s linear 0s;
}

.mobile-menu-clip {
    min-height: 0;

    overflow: hidden;
}

.mobile-menu-inner {
    width: min(
            calc(100% - 28px),
            var(--container)
    );

    margin: 0 auto;

    padding-top: 0;
    padding-bottom: 0;

    opacity: 0;

    transform: translateY(-6px);

    transition:
            padding 0.38s var(--ease-smooth),
            opacity 0.24s ease,
            transform 0.38s var(--ease-smooth);
}

.mobile-menu.active .mobile-menu-inner {
    padding-top: 14px;
    padding-bottom: 22px;

    opacity: 1;

    transform: translateY(0);
}

.mobile-menu .nav-link {
    width: 100%;

    padding: 13px 2px;

    border-bottom: 1px solid #f2f4f7;

    display: block;

    color: #344054;

    font-size: 14px;
    font-weight: 400;
}

.mobile-menu .nav-link:last-of-type {
    border-bottom: 0;
}

.mobile-menu .nav-link.active {
    color: var(--aff-primary);
}

.mobile-menu .nav-link.active::after {
    display: none;
}

.mobile-actions {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 10px;

    margin-top: 18px;
}


/*
|--------------------------------------------------------------------------
| Tags
|--------------------------------------------------------------------------
*/

.tag-row {
    display: flex;

    gap: 7px;

    flex-wrap: wrap;
}

.tag {
    min-height: 27px;

    padding: 3px 9px;

    border: 1px solid var(--aff-border);
    border-radius: 6px;

    background: #ffffff;

    color: var(--aff-text-secondary);

    display: inline-flex;
    align-items: center;

    font-size: 11px;
    font-weight: 500;
}

.tag-primary {
    border-color: transparent;

    background: var(--aff-primary-soft);

    color: var(--aff-primary);
}

.tag-success {
    border-color: transparent;

    background: var(--aff-success-soft);

    color: #067647;
}

.tag-warning {
    border-color: transparent;

    background: var(--aff-warning-soft);

    color: #b54708;
}

.verified {
    padding: 4px 8px;

    border-radius: 6px;

    background: var(--aff-primary-soft);

    color: var(--aff-primary);

    font-size: 10px;
    font-weight: 500;

    white-space: nowrap;
}


/*
|--------------------------------------------------------------------------
| Shared Filters
|--------------------------------------------------------------------------
*/

.filter-control,
.filter-popover {
    width: 100%;

    min-width: 0;
}

.filter-control-label {
    margin: 0 0 10px;

    display: block;

    color: var(--aff-muted);

    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
}


/*
|--------------------------------------------------------------------------
| Filter Chips
|--------------------------------------------------------------------------
*/

.filter-chip-list {
    width: 100%;

    display: flex;
    align-items: center;

    gap: 8px;

    flex-wrap: wrap;
}

.filter-chip {
    min-height: 36px;

    padding: 0 13px;

    border: 1px solid var(--aff-border);
    border-radius: 8px;

    background: #ffffff;

    color: var(--aff-text-secondary);

    display: inline-flex;
    align-items: center;
    justify-content: center;

    font-size: 12px;
    font-weight: 400;
    line-height: 1;

    white-space: nowrap;

    appearance: none;
    -webkit-appearance: none;

    transition:
            border-color 0.16s ease,
            background-color 0.16s ease,
            color 0.16s ease;
}

.filter-chip:hover {
    border-color: var(--aff-border-dark);
}

.filter-chip.active {
    border-color: rgba(1, 102, 248, 0.22);

    background: var(--aff-primary-soft);

    color: var(--aff-primary);
}


/*
|--------------------------------------------------------------------------
| Filter Panel
|--------------------------------------------------------------------------
*/

.filter-panel {
    display: grid;

    grid-template-rows: 0fr;

    margin-bottom: 0;

    opacity: 0;

    transform: translateY(-8px);

    visibility: hidden;

    pointer-events: none;

    transition:
            grid-template-rows 0.4s var(--ease-smooth),
            margin-bottom 0.4s var(--ease-smooth),
            opacity 0.26s ease,
            transform 0.4s var(--ease-smooth),
            visibility 0s linear 0.4s;
}

.filter-panel.open {
    grid-template-rows: 1fr;

    margin-bottom: 24px;

    opacity: 1;

    transform: translateY(0);

    visibility: visible;

    pointer-events: auto;

    transition:
            grid-template-rows 0.4s var(--ease-smooth),
            margin-bottom 0.4s var(--ease-smooth),
            opacity 0.26s ease,
            transform 0.4s var(--ease-smooth),
            visibility 0s linear 0s;
}

.filter-panel-clip {
    min-height: 0;

    overflow: hidden;
}

.filter-panel.open .filter-panel-clip {
    overflow: visible;
}

.filter-card {
    padding: 28px;

    border: 1px solid var(--aff-border);
    border-radius: var(--radius);

    background: #ffffff;

    opacity: 0;

    transform: translateY(-8px);

    transition:
            opacity 0.28s ease,
            transform 0.4s var(--ease-smooth);
}

.filter-panel.open .filter-card {
    opacity: 1;

    transform: translateY(0);
}


/*
|--------------------------------------------------------------------------
| Filter Layout
|--------------------------------------------------------------------------
*/

.filter-layout {
    width: 100%;

    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 28px 32px;
}

.filter-wide {
    grid-column: 1 / -1;
}

.filter-actions {
    margin-top: 30px;

    padding-top: 20px;

    border-top: 1px solid var(--aff-border);

    display: flex;
    align-items: center;

    gap: 10px;
}


/*
|--------------------------------------------------------------------------
| Filter Popover
|--------------------------------------------------------------------------
*/

.filter-popover {
    position: relative;

    z-index: 20;
}

.filter-popover.open {
    z-index: 600;
}

.filter-popover-trigger {
    width: 100%;
    height: 44px;

    padding: 0 13px;

    border: 1px solid var(--aff-border);
    border-radius: 8px;

    background: #ffffff;

    color: var(--aff-text-secondary);

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 12px;

    font-size: 13px;
    font-weight: 400;
    line-height: 1;

    text-align: left;

    appearance: none;
    -webkit-appearance: none;

    transition:
            border-color 0.22s ease,
            box-shadow 0.22s ease;
}

.filter-popover-trigger:hover {
    border-color: var(--aff-border-dark);
}

.filter-popover.open .filter-popover-trigger {
    border-color: rgba(1, 102, 248, 0.38);

    box-shadow:
            0 0 0 3px rgba(1, 102, 248, 0.055);
}

.filter-popover-trigger-text {
    min-width: 0;

    overflow: hidden;

    text-overflow: ellipsis;

    white-space: nowrap;
}

.filter-popover-trigger svg {
    width: 16px;
    height: 16px;

    flex: 0 0 auto;

    color: var(--aff-muted);

    transform: rotate(0deg);

    transition:
            transform 0.32s var(--ease-smooth);
}

.filter-popover.open .filter-popover-trigger svg {
    transform: rotate(180deg);
}


/*
|--------------------------------------------------------------------------
| Filter Popover Menu
|--------------------------------------------------------------------------
*/

.filter-popover-menu {
    width: 100%;

    min-width: 240px;
    max-height: 330px;

    position: absolute;

    top: calc(100% + 8px);
    left: 0;

    z-index: 700;

    padding: 8px;

    border: 1px solid var(--aff-border);
    border-radius: 10px;

    background: #ffffff;

    box-shadow: var(--shadow-popover);

    opacity: 0;
    visibility: hidden;

    pointer-events: none;

    transform:
            translateY(-10px)
            scale(0.975);

    transform-origin: top center;

    transition:
            opacity 0.26s ease,
            transform 0.34s var(--ease-smooth),
            visibility 0s linear 0.34s;
}

.filter-popover.open .filter-popover-menu {
    opacity: 1;

    visibility: visible;

    pointer-events: auto;

    transform:
            translateY(0)
            scale(1);

    transition:
            opacity 0.26s ease,
            transform 0.34s var(--ease-smooth),
            visibility 0s linear 0s;
}


/*
|--------------------------------------------------------------------------
| Popover Search
|--------------------------------------------------------------------------
*/

.filter-popover-search {
    width: 100%;
    height: 40px;

    margin-bottom: 7px;

    padding: 0 10px;

    border: 1px solid var(--aff-border);
    border-radius: 7px;

    background: #ffffff;

    display: flex;
    align-items: center;

    gap: 8px;
}

.filter-popover-search svg {
    width: 15px;
    height: 15px;

    flex: 0 0 auto;

    color: var(--aff-soft-text);
}

.filter-popover-search input {
    min-width: 0;

    flex: 1;

    border: 0;
    outline: 0;

    background: transparent;

    color: var(--aff-text);

    font-size: 12px;
    font-weight: 400;
}

.filter-popover-search input::placeholder {
    color: var(--aff-soft-text);
}


/*
|--------------------------------------------------------------------------
| Popover Options
|--------------------------------------------------------------------------
*/

.filter-popover-options {
    max-height: 245px;

    overflow-y: auto;

    overscroll-behavior: contain;
}

.filter-popover-option {
    width: 100%;
    min-height: 38px;

    padding: 0 10px;

    border: 0;
    border-radius: 7px;

    background: transparent;

    color: var(--aff-text-secondary);

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 10px;

    font-size: 12px;
    font-weight: 400;

    text-align: left;

    appearance: none;
    -webkit-appearance: none;

    transition:
            background-color 0.15s ease,
            color 0.15s ease;
}

.filter-popover-option:hover {
    background: var(--aff-background);
}

.filter-popover-option.selected {
    background: var(--aff-primary-soft);

    color: var(--aff-primary);
}

.filter-option-check {
    display: none;

    color: var(--aff-primary);

    font-size: 11px;
    font-weight: 500;
}

.filter-popover-option.selected .filter-option-check {
    display: inline-block;
}


/*
|--------------------------------------------------------------------------
| Footer
|--------------------------------------------------------------------------
*/

.site-footer {
    padding: 72px 0 28px;

    background: var(--aff-dark);

    color: #ffffff;
}

.footer-grid {
    display: grid;

    grid-template-columns:
        1.6fr repeat(4, 1fr);

    gap: 46px;
}

.footer-brand img {
    width: 138px;

    filter:
            brightness(0)
            invert(1);
}

.footer-brand p {
    max-width: 300px;

    margin: 20px 0 0;

    color: #98a2b3;

    font-size: 13px;
    font-weight: 400;
}

.footer-column h4 {
    margin: 0 0 18px;

    color: #ffffff;

    font-size: 12px;
    font-weight: 500;

    letter-spacing: 0.08em;

    text-transform: uppercase;
}

.footer-column a {
    display: block;

    margin: 10px 0;

    color: #98a2b3;

    font-size: 13px;
    font-weight: 400;

    transition: color 0.18s ease;
}

.footer-column a:hover {
    color: #ffffff;
}

.footer-bottom {
    margin-top: 54px;

    padding-top: 22px;

    border-top: 1px solid rgba(255, 255, 255, 0.1);

    display: flex;
    justify-content: space-between;

    gap: 24px;

    color: #667085;

    font-size: 12px;
    font-weight: 400;
}


/*
|--------------------------------------------------------------------------
| Tablet
|--------------------------------------------------------------------------
*/

@media (max-width: 1050px) {

    .footer-grid {
        grid-template-columns:
            1.4fr repeat(2, 1fr);
    }

    .footer-brand {
        grid-row: span 2;
    }

}


/*
|--------------------------------------------------------------------------
| Mobile Header / Navigation
|--------------------------------------------------------------------------
*/

@media (max-width: 900px) {

    .nav-wrap {
        min-height: 68px;

        gap: 10px;
    }

    .nav-main,
    .nav-actions {
        display: none;
    }

    .mobile-header-actions {
        display: flex;
    }

    .mobile-menu-button {
        display: flex;
    }

    .brand {
        margin-right: auto;
    }

    .brand img {
        width: 128px;
    }

}


/*
|--------------------------------------------------------------------------
| Tablet Filters
|--------------------------------------------------------------------------
*/

@media (max-width: 850px) {

    .filter-layout {
        grid-template-columns: 1fr;
    }

    .filter-wide {
        grid-column: auto;
    }

}


/*
|--------------------------------------------------------------------------
| Mobile
|--------------------------------------------------------------------------
*/

@media (max-width: 650px) {

    .container {
        width: min(
                calc(100% - 28px),
                var(--container)
        );
    }

    .section-head {
        align-items: flex-start;

        flex-direction: column;

        margin-bottom: 28px;
    }

    .filter-chip-list {
        gap: 7px;
    }

    .filter-chip {
        min-height: 35px;

        padding: 0 11px;
    }

    .filter-card {
        padding: 20px;
    }

    .filter-actions {
        align-items: stretch;

        flex-direction: column;
    }

    .filter-actions .btn {
        width: 100%;
    }


    /*
    |--------------------------------------------------------------------------
    | Mobile Filter Dropdown
    |--------------------------------------------------------------------------
    */

    .filter-popover-menu {
        position: fixed;

        top: auto;

        left: 14px;
        right: 14px;
        bottom: 14px;

        width: auto;

        max-height: 60vh;

        border-radius: 14px;

        z-index: 1000;

        transform:
                translateY(30px)
                scale(0.98);

        transform-origin: bottom center;
    }

    .filter-popover.open .filter-popover-menu {
        transform:
                translateY(0)
                scale(1);
    }

    .filter-popover-options {
        max-height: calc(60vh - 70px);
    }


    /*
    |--------------------------------------------------------------------------
    | Footer
    |--------------------------------------------------------------------------
    */

    .footer-grid {
        grid-template-columns: 1fr 1fr;

        gap: 34px 24px;
    }

    .footer-brand {
        grid-column: 1 / -1;

        grid-row: auto;
    }

    .footer-bottom {
        flex-direction: column;
    }

}


/*
|--------------------------------------------------------------------------
| Small Phones
|--------------------------------------------------------------------------
*/

@media (max-width: 470px) {

    .nav-wrap {
        gap: 5px;
    }

    .brand img {
        width: 118px;
    }

    .mobile-header-actions {
        gap: 4px;
    }

    .mobile-profile-trigger {
        padding: 4px 7px 4px 4px;
    }

    .mobile-profile-trigger .account-avatar {
        width: 29px;
        height: 29px;

        flex-basis: 29px;
    }

    .mobile-profile-text {
        font-size: 12px;
    }

    .mobile-menu-button {
        width: 40px;
        height: 40px;
    }

}


/*
|--------------------------------------------------------------------------
| Very Small Phones
|--------------------------------------------------------------------------
*/

@media (max-width: 380px) {

    .mobile-profile-text {
        display: none;
    }

    .mobile-profile-trigger {
        padding: 4px;

        border-radius: 9px;
    }

    .mobile-profile-trigger svg {
        display: none;
    }

}


/*
|--------------------------------------------------------------------------
| Guest Mobile Buttons
|--------------------------------------------------------------------------
*/

@media (max-width: 520px) {

    .mobile-actions {
        grid-template-columns: 1fr;
    }

}


/*
|--------------------------------------------------------------------------
| Reduced Motion
|--------------------------------------------------------------------------
*/

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;

        transition-duration: 0.01ms !important;

        scroll-behavior: auto !important;
    }

}

/*
|--------------------------------------------------------------------------
| Member Sidebar
|--------------------------------------------------------------------------
*/

.member-sidebar {
    position: sticky;
    top: 106px;
}

.member-sidebar-card {
    overflow: hidden;

    border: 1px solid var(--aff-border);
    border-radius: 12px;

    background: #ffffff;

    box-shadow: var(--shadow-card);
}


/*
|--------------------------------------------------------------------------
| Member Sidebar Account
|--------------------------------------------------------------------------
*/

.member-sidebar-account {
    padding: 18px;

    border-bottom: 1px solid var(--aff-border);

    display: flex;
    align-items: center;

    gap: 11px;
}

.member-sidebar-avatar {
    width: 38px;
    height: 38px;

    flex: 0 0 38px;

    border-radius: 50%;

    background: var(--aff-primary-soft);

    color: var(--aff-primary);

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 13px;
    font-weight: 600;
}

.member-sidebar-account-info {
    min-width: 0;
}

.member-sidebar-email {
    overflow: hidden;

    color: var(--aff-text);

    font-size: 12px;
    font-weight: 500;

    text-overflow: ellipsis;
    white-space: nowrap;
}

.member-sidebar-type {
    margin-top: 2px;

    color: var(--aff-muted);

    font-size: 11px;
    font-weight: 400;
}


/*
|--------------------------------------------------------------------------
| Member Sidebar Navigation
|--------------------------------------------------------------------------
*/

.member-sidebar-nav {
    padding: 8px;
}

.member-sidebar-link {
    width: 100%;
    min-height: 42px;

    padding: 0 10px;

    border-radius: 8px;

    color: var(--aff-text-secondary);

    display: flex;
    align-items: center;

    gap: 10px;

    font-size: 12px;
    font-weight: 400;

    -webkit-tap-highlight-color: transparent;

    transition:
            background-color 0.15s ease,
            color 0.15s ease;
}

.member-sidebar-link svg {
    width: 18px;
    height: 18px;

    flex: 0 0 18px;

    color: var(--aff-muted);

    transition: color 0.15s ease;
}

.member-sidebar-link:hover {
    background: var(--aff-background);

    color: var(--aff-text);
}

.member-sidebar-link:hover svg {
    color: var(--aff-text-secondary);
}

.member-sidebar-link.active {
    background: var(--aff-primary-soft);

    color: var(--aff-primary);
}

.member-sidebar-link.active svg {
    color: var(--aff-primary);
}

.member-sidebar-divider {
    height: 1px;

    margin: 8px 4px;

    background: var(--aff-border);
}


/*
|--------------------------------------------------------------------------
| Member Sidebar Responsive
|--------------------------------------------------------------------------
*/

@media (max-width: 900px) {

    .member-sidebar {
        display: none;
    }

}