/* =========================================================
   ROOT
========================================================= */

:root {

    --bg: #09090b;

    --panel: #111116;

    --panel-2: #18181f;

    --panel-3: #202028;

    --text: #f4f4f5;

    --muted: #a1a1aa;

    --line: rgba(
        255,
        255,
        255,
        .09
    );

    --line-strong: rgba(
        255,
        255,
        255,
        .15
    );

    --accent: #d4af37;

    --accent-light: #f1d36e;

    --accent-hover: #e3c65b;

    --danger: #ef4444;

    --success: #22c55e;

    --warning: #eab308;

    --radius: 16px;

    --container: 1240px;

}


/* =========================================================
   RESET
========================================================= */

*,
*::before,
*::after {

    box-sizing: border-box;

}


html {

    min-width: 320px;

    min-height: 100%;

    background:
        var(--bg);

    color-scheme:
        dark;

    scroll-behavior:
        smooth;

}


body {

    min-height: 100vh;

    margin: 0;

    background:

        radial-gradient(
            circle at top,
            rgba(
                212,
                175,
                55,
                .08
            ),
            transparent 34%
        ),

        var(--bg);

    color:
        var(--text);

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

    font-size: 15px;

    line-height: 1.5;

    overflow-x: hidden;

}


img,
video {

    max-width: 100%;

}


img {

    border: 0;

}


button,
input,
select,
textarea {

    font: inherit;

}


button {

    color: inherit;

}


a {

    color: inherit;

}


::selection {

    background:
        rgba(
            212,
            175,
            55,
            .28
        );

    color: #fff;

}


/* =========================================================
   CONTAINER
========================================================= */

.container {

    width: min(
        calc(100% - 32px),
        var(--container)
    );

    margin-inline: auto;

}


/* =========================================================
   HEADER
========================================================= */

.site-header {

    position: sticky;

    top: 0;

    z-index: 1000;

    background:
        rgba(
            9,
            9,
            11,
            .94
        );

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

    backdrop-filter:
        blur(18px);

    -webkit-backdrop-filter:
        blur(18px);

}


.header-inner {

    width: min(
        calc(100% - 32px),
        var(--container)
    );

    min-height: 76px;

    margin-inline: auto;

    display: flex;

    align-items: center;

    gap: 24px;

}


/* =========================================================
   LOGO
========================================================= */

.logo {

    display: flex;

    align-items: center;

    flex:
        0 0 auto;

    text-decoration: none;

    outline: none;

}


.site-logo {

    display: block;

    width: auto;

    height: 64px;

    max-width: 150px;

    object-fit: contain;

    object-position:
        center;

    transition:
        transform .2s ease,
        opacity .2s ease,
        filter .2s ease;

}


.logo:hover .site-logo {

    transform:
        scale(1.025);

    filter:
        brightness(1.06);

}


.logo:focus-visible {

    border-radius:
        8px;

    outline:
        2px solid
        var(--accent);

    outline-offset:
        3px;

}


/* =========================================================
   NAVIGATION
========================================================= */

.main-nav {

    margin-left: auto;

    display: flex;

    align-items: center;

    gap: 6px;

}


.main-nav > a {

    padding:
        9px 11px;

    border-radius:
        9px;

    text-decoration: none;

    color:
        #d4d4d8;

    transition:
        background .15s ease,
        color .15s ease,
        border-color .15s ease;

}


.main-nav > a:hover {

    background:
        rgba(
            255,
            255,
            255,
            .06
        );

    color: #fff;

}


.main-nav .nav-accent {

    background:
        var(--accent);

    color:
        #111;

    font-weight:
        700;

}


.main-nav .nav-accent:hover {

    background:
        var(--accent-hover);

    color:
        #000;

}


.main-nav .nav-admin {

    color:
        #f1d36e;

}


/* =========================================================
   LOGOUT
========================================================= */

.nav-logout-form {

    margin: 0;

}


.nav-link-button {

    appearance: none;

    border: 0;

    padding:
        9px 11px;

    border-radius:
        9px;

    background:
        transparent;

    color:
        #d4d4d8;

    cursor: pointer;

    font: inherit;

    transition:
        background .15s ease,
        color .15s ease;

}


.nav-link-button:hover {

    background:
        rgba(
            255,
            255,
            255,
            .06
        );

    color: #fff;

}


/* =========================================================
   MOBILE MENU
========================================================= */

.mobile-menu-btn {

    display: none;

    margin-left: auto;

    width: 42px;

    height: 42px;

    border:
        1px solid var(--line);

    border-radius:
        10px;

    background:
        var(--panel);

    color: #fff;

    cursor: pointer;

    font-size: 21px;

}


/* =========================================================
   MAIN
========================================================= */

.site-main {

    min-height:
        calc(
            100vh - 220px
        );

}


/* =========================================================
   GLOBAL CARD
========================================================= */

.card {

    background:
        linear-gradient(
            180deg,
            var(--panel),
            #0e0e13
        );

    border:
        1px solid var(--line);

    border-radius:
        var(--radius);

    overflow: hidden;

}


/* =========================================================
   FORMS
========================================================= */

.input,
.select,
.textarea {

    width: 100%;

    min-height: 46px;

    padding:
        11px 13px;

    border:
        1px solid var(--line);

    border-radius:
        11px;

    outline: none;

    background:
        #111116;

    color:
        #fff;

    transition:
        border-color .15s ease,
        box-shadow .15s ease,
        background .15s ease;

}


.input::placeholder,
.textarea::placeholder {

    color:
        #696973;

}


.textarea {

    min-height:
        130px;

    resize: vertical;

}


.input:hover,
.select:hover,
.textarea:hover {

    border-color:
        rgba(
            255,
            255,
            255,
            .15
        );

}


.input:focus,
.select:focus,
.textarea:focus {

    border-color:
        rgba(
            212,
            175,
            55,
            .75
        );

    box-shadow:
        0 0 0 3px
        rgba(
            212,
            175,
            55,
            .10
        );

}


/* =========================================================
   BUTTONS
========================================================= */

.btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-height: 44px;

    gap: 7px;

    padding:
        9px 15px;

    border:
        1px solid var(--line);

    border-radius:
        11px;

    background:
        var(--panel-2);

    color: #fff;

    text-decoration: none;

    cursor: pointer;

    font-weight: 600;

    transition:
        background .15s ease,
        border-color .15s ease,
        transform .15s ease;

}


.btn:hover {

    border-color:
        rgba(
            255,
            255,
            255,
            .18
        );

    background:
        #22222b;

}


.btn:active {

    transform:
        translateY(1px);

}


.btn-primary {

    background:
        var(--accent);

    border-color:
        var(--accent);

    color:
        #111;

}


.btn-primary:hover {

    background:
        var(--accent-hover);

    border-color:
        var(--accent-hover);

    color: #050505;

}


.btn-danger {

    border-color:
        rgba(
            239,
            68,
            68,
            .40
        );

    color:
        #fecaca;

    background:
        rgba(
            239,
            68,
            68,
            .10
        );

}


/* =========================================================
   FLASH
========================================================= */

.flash {

    margin:
        18px 0;

    padding:
        12px 14px;

    border-radius:
        12px;

    border:
        1px solid var(--line);

}


.flash-success {

    background:
        rgba(
            34,
            197,
            94,
            .08
        );

    border-color:
        rgba(
            34,
            197,
            94,
            .30
        );

}


.flash-error {

    background:
        rgba(
            239,
            68,
            68,
            .08
        );

    border-color:
        rgba(
            239,
            68,
            68,
            .30
        );

}


.flash-warning {

    background:
        rgba(
            234,
            179,
            8,
            .07
        );

    border-color:
        rgba(
            234,
            179,
            8,
            .25
        );

}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {

    margin-top:
        50px;

    padding:
        36px 0 20px;

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

    background:
        #070709;

    color:
        var(--muted);

}


.footer-grid {

    display: flex;

    justify-content:
        space-between;

    align-items:
        flex-start;

    gap: 30px;

}


.footer-brand {

    max-width:
        420px;

}


.footer-brand p {

    margin:
        8px 0 0;

}


.footer-logo {

    color:
        var(--accent);

    font-size:
        19px;

    font-weight:
        900;

    letter-spacing:
        -.4px;

}


.footer-links {

    display: flex;

    flex-wrap: wrap;

    gap: 12px;

}


.footer-links a {

    text-decoration: none;

}


.footer-links a:hover {

    color: #fff;

}


.footer-bottom {

    margin-top:
        30px;

    padding-top:
        15px;

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

    text-align: center;

    font-size:
        13px;

}


/* =========================================================
   AUTH
========================================================= */

.auth-section {

    width: min(
        calc(100% - 24px),
        520px
    );

    margin:
        45px auto 70px;

}


.auth-card {

    padding:
        26px;

    border:
        1px solid var(--line);

    border-radius:
        20px;

    background:
        linear-gradient(
            180deg,
            rgba(
                24,
                24,
                31,
                .98
            ),
            rgba(
                14,
                14,
                19,
                .98
            )
        );

    box-shadow:
        0 25px 70px
        rgba(
            0,
            0,
            0,
            .25
        );

}


.auth-heading {

    margin-bottom:
        22px;

}


.auth-heading h1 {

    margin:
        0 0 7px;

    font-size:
        28px;

    line-height:
        1.2;

}


.auth-heading p {

    margin: 0;

    color:
        var(--muted);

}


.auth-form {

    display: grid;

    gap: 16px;

}


.form-group {

    display: grid;

    gap: 7px;

}


.form-group > span {

    font-weight:
        600;

}


.form-group small {

    color:
        var(--muted);

    font-size:
        12px;

}


.checkbox-row {

    display: flex;

    align-items:
        flex-start;

    gap: 10px;

    color:
        #d4d4d8;

    line-height:
        1.4;

}


.checkbox-row input {

    width:
        18px;

    height:
        18px;

    flex:
        0 0 auto;

    margin-top:
        2px;

}


.checkbox-row a,
.auth-bottom a,
.auth-links a {

    color:
        var(--accent);

}


.auth-submit {

    width: 100%;

    margin-top:
        5px;

    min-height:
        50px;

    font-size:
        16px;

}


.auth-bottom {

    padding-top:
        13px;

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

    text-align: center;

    color:
        var(--muted);

}


.auth-links {

    text-align: center;

}


/* =========================================================
   HOME HERO
========================================================= */

.home-hero {

    position: relative;

    padding:
        58px 0 42px;

    overflow: hidden;

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

}


.home-hero::before {

    content: "";

    position: absolute;

    width:
        520px;

    height:
        520px;

    top:
        -320px;

    left:
        50%;

    transform:
        translateX(-50%);

    border-radius:
        50%;

    background:
        rgba(
            212,
            175,
            55,
            .12
        );

    filter:
        blur(100px);

    pointer-events:
        none;

}


.home-hero-inner {

    position: relative;

    z-index: 1;

    display: grid;

    grid-template-columns:
        minmax(
            0,
            1.35fr
        )
        minmax(
            280px,
            .65fr
        );

    align-items:
        center;

    gap:
        45px;

}


.home-eyebrow {

    margin-bottom:
        13px;

    color:
        var(--accent);

    font-size:
        12px;

    font-weight:
        800;

    letter-spacing:
        1.7px;

}


.home-hero h1 {

    max-width:
        720px;

    margin: 0;

    font-size:
        clamp(
            38px,
            6vw,
            72px
        );

    line-height:
        .99;

    letter-spacing:
        -2.5px;

}


.home-hero h1 span {

    display: block;

    color:
        var(--accent);

}


.home-hero-copy > p {

    max-width:
        570px;

    margin:
        20px 0 0;

    color:
        var(--muted);

    font-size:
        clamp(
            15px,
            2vw,
            18px
        );

}


.hero-actions {

    display: flex;

    flex-wrap: wrap;

    gap:
        10px;

    margin-top:
        26px;

}


.hero-info-card {

    padding:
        8px;

    border:
        1px solid var(--line);

    border-radius:
        20px;

    background:
        rgba(
            17,
            17,
            22,
            .84
        );

    box-shadow:
        0 30px 80px
        rgba(
            0,
            0,
            0,
            .25
        );

}


.hero-stat {

    display: flex;

    align-items: center;

    justify-content:
        space-between;

    gap:
        20px;

    min-height:
        75px;

    padding:
        12px 16px;

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

}


.hero-stat:last-child {

    border-bottom: 0;

}


.hero-stat strong {

    color:
        var(--accent);

    font-size:
        21px;

}


.hero-stat span {

    color:
        var(--muted);

    text-align:
        right;

    font-size:
        13px;

}


/* =========================================================
   CATALOG
========================================================= */

.catalog-section {

    padding:
        38px 0 10px;

}


.catalog-toolbar {

    display: flex;

    align-items:
        flex-end;

    justify-content:
        space-between;

    gap:
        20px;

    margin-bottom:
        18px;

}


.section-kicker {

    color:
        var(--accent);

    font-size:
        11px;

    font-weight:
        800;

    letter-spacing:
        1.5px;

}


.catalog-toolbar h2 {

    margin:
        4px 0 0;

    font-size:
        clamp(
            25px,
            4vw,
            36px
        );

    letter-spacing:
        -1px;

}


.filter-reset-link {

    color:
        var(--muted);

    text-decoration:
        none;

    font-size:
        13px;

}


.filter-reset-link:hover {

    color:
        #fff;

}


/* =========================================================
   FILTERS
========================================================= */

.catalog-filters {

    padding:
        16px;

    border:
        1px solid var(--line);

    border-radius:
        18px;

    background:
        rgba(
            17,
            17,
            22,
            .84
        );

}


.filter-main-row {

    display: grid;

    grid-template-columns:
        minmax(
            220px,
            1.5fr
        )
        minmax(
            150px,
            .7fr
        )
        minmax(
            150px,
            .7fr
        )
        minmax(
            170px,
            .7fr
        );

    gap:
        10px;

}


.filter-field {

    display: grid;

    gap: 6px;

}


.filter-field label,
.filter-range-title {

    color:
        var(--muted);

    font-size:
        12px;

    font-weight:
        600;

}


.filter-extra-row {

    display: grid;

    grid-template-columns:
        1fr
        1.2fr
        auto
        auto;

    align-items:
        end;

    gap:
        10px;

    margin-top:
        12px;

}


.filter-range {

    display: grid;

    gap:
        6px;

}


.filter-range > div {

    display: grid;

    grid-template-columns:
        1fr
        1fr;

    gap:
        7px;

}


.verified-filter {

    display: flex;

    align-items:
        center;

    gap:
        8px;

    min-height:
        46px;

    padding:
        0 13px;

    border:
        1px solid var(--line);

    border-radius:
        11px;

    background:
        #111116;

    cursor:
        pointer;

    white-space:
        nowrap;

}


.verified-filter input {

    position:
        absolute;

    opacity:
        0;

    pointer-events:
        none;

}


.verified-check {

    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        center;

    width:
        20px;

    height:
        20px;

    border:
        1px solid
        rgba(
            255,
            255,
            255,
            .2
        );

    border-radius:
        6px;

    color:
        transparent;

    background:
        rgba(
            255,
            255,
            255,
            .04
        );

}


.verified-filter
input:checked
+ .verified-check {

    color:
        #111;

    border-color:
        var(--accent);

    background:
        var(--accent);

    font-weight:
        900;

}


.filter-submit {

    min-width:
        125px;

}


.mobile-filter-toggle {

    display:
        none;

}


/* =========================================================
   CATEGORY TABS
========================================================= */

.category-tabs {

    display: flex;

    gap:
        7px;

    margin:
        17px 0 13px;

    overflow-x:
        auto;

    scrollbar-width:
        none;

}


.category-tabs::-webkit-scrollbar {

    display:
        none;

}


.category-tabs a {

    flex:
        0 0 auto;

    padding:
        9px 15px;

    border:
        1px solid var(--line);

    border-radius:
        999px;

    background:
        rgba(
            255,
            255,
            255,
            .025
        );

    color:
        #d4d4d8;

    text-decoration:
        none;

    font-size:
        13px;

    transition:
        .15s ease;

}


.category-tabs a:hover {

    border-color:
        rgba(
            212,
            175,
            55,
            .45
        );

}


.category-tabs a.active {

    border-color:
        var(--accent);

    background:
        rgba(
            212,
            175,
            55,
            .12
        );

    color:
        #f5dc7a;

}


/* =========================================================
   CATALOG META
========================================================= */

.catalog-meta {

    display: flex;

    align-items:
        center;

    justify-content:
        space-between;

    gap:
        15px;

    margin:
        16px 0 12px;

    color:
        var(--muted);

    font-size:
        13px;

}


.catalog-meta strong {

    color:
        #fff;

}


/* =========================================================
   LISTING GRID
========================================================= */

.listing-grid {

    display: grid;

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

    gap:
        16px;

}


.listing-card {

    min-width:
        0;

    overflow:
        hidden;

    border:
        1px solid var(--line);

    border-radius:
        17px;

    background:
        linear-gradient(
            180deg,
            #15151b,
            #0e0e12
        );

    transition:
        transform .18s ease,
        border-color .18s ease,
        box-shadow .18s ease;

}


@media (
    hover: hover
)
and (
    pointer: fine
) {

    .listing-card:hover {

        transform:
            translateY(-4px);

        border-color:
            rgba(
                255,
                255,
                255,
                .16
            );

        box-shadow:
            0 22px 45px
            rgba(
                0,
                0,
                0,
                .32
            );

    }

}


.listing-card-vip {

    border-color:
        rgba(
            212,
            175,
            55,
            .60
        );

    box-shadow:
        inset 0 0 0 1px
        rgba(
            212,
            175,
            55,
            .08
        );

}


.listing-card-premium {

    border-color:
        rgba(
            228,
            198,
            91,
            .90
        );

    box-shadow:
        0 0 25px
        rgba(
            212,
            175,
            55,
            .08
        );

}


.listing-card-glamour {

    outline:
        1px solid
        rgba(
            229,
            132,
            255,
            .28
        );

    outline-offset:
        3px;

}


/* =========================================================
   LISTING PHOTO
========================================================= */

.listing-photo {

    position:
        relative;

    display:
        block;

    width:
        100%;

    aspect-ratio:
        4 / 5;

    overflow:
        hidden;

    background:
        #101014;

    text-decoration:
        none;

}


.listing-photo img {

    width:
        100%;

    height:
        100%;

    display:
        block;

    object-fit:
        cover;

    transition:
        transform .3s ease;

}


@media (
    hover: hover
)
and (
    pointer: fine
) {

    .listing-card:hover
    .listing-photo img {

        transform:
            scale(1.025);

    }

}


.listing-photo::after {

    content: "";

    position:
        absolute;

    left:
        0;

    right:
        0;

    bottom:
        0;

    height:
        28%;

    background:
        linear-gradient(
            transparent,
            rgba(
                0,
                0,
                0,
                .5
            )
        );

    pointer-events:
        none;

}


/* =========================================================
   BADGES
========================================================= */

.listing-badges {

    position:
        absolute;

    z-index:
        2;

    top:
        10px;

    left:
        10px;

    right:
        10px;

    display:
        flex;

    flex-wrap:
        wrap;

    gap:
        5px;

}


.badge {

    display:
        inline-flex;

    align-items:
        center;

    min-height:
        25px;

    padding:
        4px 8px;

    border-radius:
        8px;

    backdrop-filter:
        blur(8px);

    font-size:
        10px;

    font-weight:
        900;

    letter-spacing:
        .45px;

}


.badge-premium {

    background:
        linear-gradient(
            135deg,
            #ffe58a,
            #c99e27
        );

    color:
        #18130a;

}


.badge-vip {

    background:
        rgba(
            212,
            175,
            55,
            .92
        );

    color:
        #111;

}


.badge-verified {

    border:
        1px solid
        rgba(
            96,
            220,
            160,
            .35
        );

    background:
        rgba(
            14,
            80,
            55,
            .8
        );

    color:
        #bdf8dc;

}


.glamour-label {

    position:
        absolute;

    z-index:
        2;

    right:
        10px;

    bottom:
        10px;

    padding:
        4px 8px;

    border-radius:
        7px;

    background:
        rgba(
            61,
            20,
            71,
            .84
        );

    color:
        #f4c6ff;

    font-size:
        9px;

    font-weight:
        900;

    letter-spacing:
        .7px;

}


/* =========================================================
   LISTING BODY
========================================================= */

.listing-body {

    padding:
        13px;

}


.listing-title-row {

    display:
        flex;

    align-items:
        flex-start;

    justify-content:
        space-between;

    gap:
        10px;

}


.listing-name {

    display:
        block;

    min-width:
        0;

    color:
        #fff;

    text-decoration:
        none;

    font-size:
        18px;

    font-weight:
        800;

    line-height:
        1.25;

    overflow-wrap:
        anywhere;

}


.listing-name span {

    color:
        var(--muted);

    font-size:
        13px;

    font-weight:
        500;

}


.listing-location {

    display:
        flex;

    flex-wrap:
        wrap;

    gap:
        5px;

    margin-top:
        4px;

    color:
        var(--muted);

    font-size:
        12px;

}


.listing-category {

    flex:
        0 0 auto;

    padding:
        4px 7px;

    border:
        1px solid var(--line);

    border-radius:
        7px;

    color:
        #c9c9cf;

    font-size:
        10px;

}


.listing-subtitle {

    margin-top:
        10px;

    min-height:
        19px;

    overflow:
        hidden;

    color:
        #d4d4d8;

    font-size:
        13px;

    white-space:
        nowrap;

    text-overflow:
        ellipsis;

}


/* =========================================================
   LISTING PRICE
========================================================= */

.listing-price {

    display:
        grid;

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

    gap:
        7px;

    margin-top:
        12px;

}


.listing-price > div {

    min-width:
        0;

    padding:
        8px 9px;

    border:
        1px solid var(--line);

    border-radius:
        10px;

    background:
        rgba(
            255,
            255,
            255,
            .025
        );

}


.listing-price span {

    display:
        block;

    color:
        var(--muted);

    font-size:
        10px;

}


.listing-price strong {

    display:
        block;

    margin-top:
        2px;

    overflow:
        hidden;

    color:
        #f1d36e;

    font-size:
        13px;

    white-space:
        nowrap;

    text-overflow:
        ellipsis;

}


/* =========================================================
   LISTING FOOTER
========================================================= */

.listing-footer {

    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

    gap:
        9px;

    margin-top:
        12px;

    padding-top:
        10px;

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

    color:
        var(--muted);

    font-size:
        11px;

}


.listing-footer a {

    color:
        var(--accent);

    text-decoration:
        none;

    white-space:
        nowrap;

}


/* =========================================================
   EMPTY CATALOG
========================================================= */

.catalog-empty {

    padding:
        70px 20px;

    border:
        1px dashed
        rgba(
            255,
            255,
            255,
            .13
        );

    border-radius:
        18px;

    text-align:
        center;

    background:
        rgba(
            255,
            255,
            255,
            .015
        );

}


.catalog-empty-icon {

    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        center;

    width:
        68px;

    height:
        68px;

    margin-bottom:
        14px;

    border:
        1px solid
        rgba(
            212,
            175,
            55,
            .3
        );

    border-radius:
        50%;

    color:
        var(--accent);

    font-weight:
        900;

}


.catalog-empty h3 {

    margin:
        0 0 7px;

}


.catalog-empty p {

    max-width:
        470px;

    margin:
        0 auto 20px;

    color:
        var(--muted);

}


.catalog-empty .btn {

    margin:
        3px;

}


/* =========================================================
   PAGINATION
========================================================= */

.catalog-pagination {

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    flex-wrap:
        wrap;

    gap:
        6px;

    margin:
        28px 0 8px;

}


.catalog-pagination a {

    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        center;

    min-width:
        39px;

    height:
        39px;

    padding:
        0 9px;

    border:
        1px solid var(--line);

    border-radius:
        10px;

    background:
        var(--panel);

    color:
        #fff;

    text-decoration:
        none;

}


.catalog-pagination a:hover {

    border-color:
        rgba(
            212,
            175,
            55,
            .45
        );

}


.catalog-pagination a.active {

    border-color:
        var(--accent);

    background:
        var(--accent);

    color:
        #111;

    font-weight:
        800;

}


.catalog-pagination span {

    color:
        var(--muted);

}


/* =========================================================
   18+ NOTICE
========================================================= */

.catalog-notice {

    display:
        flex;

    align-items:
        flex-start;

    gap:
        12px;

    margin-top:
        30px;

    padding:
        14px;

    border:
        1px solid var(--line);

    border-radius:
        13px;

    color:
        var(--muted);

    font-size:
        12px;

}


.catalog-notice strong {

    flex:
        0 0 auto;

    padding:
        3px 6px;

    border-radius:
        5px;

    background:
        rgba(
            212,
            175,
            55,
            .12
        );

    color:
        var(--accent);

}


/* =========================================================
   ADD LISTING / DASHBOARD
========================================================= */

.form-page,
.dashboard-page {

    padding:
        38px 0 20px;

}


.form-page-head {

    display:
        flex;

    align-items:
        flex-end;

    justify-content:
        space-between;

    gap:
        25px;

    margin-bottom:
        24px;

}


.form-page-head h1 {

    margin:
        5px 0 5px;

    font-size:
        clamp(
            29px,
            5vw,
            44px
        );

    letter-spacing:
        -1.3px;

}


.form-page-head p {

    max-width:
        600px;

    margin:
        0;

    color:
        var(--muted);

}


/* =========================================================
   LISTING FORM
========================================================= */

.listing-form {

    display:
        grid;

    gap:
        15px;

    max-width:
        1050px;

}


.form-card {

    padding:
        22px;

    border:
        1px solid var(--line);

    border-radius:
        18px;

    background:
        linear-gradient(
            180deg,
            rgba(
                24,
                24,
                31,
                .9
            ),
            rgba(
                14,
                14,
                19,
                .9
            )
        );

}


.form-card-title {

    display:
        flex;

    align-items:
        flex-start;

    gap:
        13px;

    margin-bottom:
        20px;

}


.form-step {

    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        center;

    flex:
        0 0 auto;

    width:
        38px;

    height:
        38px;

    border:
        1px solid
        rgba(
            212,
            175,
            55,
            .35
        );

    border-radius:
        10px;

    background:
        rgba(
            212,
            175,
            55,
            .08
        );

    color:
        var(--accent);

    font-size:
        11px;

    font-weight:
        900;

}


.form-card-title h2 {

    margin:
        0;

    font-size:
        20px;

}


.form-card-title p {

    margin:
        3px 0 0;

    color:
        var(--muted);

    font-size:
        12px;

}


.form-grid {

    display:
        grid;

    gap:
        12px;

    margin-bottom:
        13px;

}


.form-grid-2 {

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

}


.form-grid-3 {

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

}


.field-help {

    color:
        var(--muted);

    font-size:
        11px;

}


/* =========================================================
   MONEY
========================================================= */

.money-field {

    position:
        relative;

}


.money-field .input {

    padding-right:
        52px;

}


.money-field > span {

    position:
        absolute;

    top:
        50%;

    right:
        13px;

    transform:
        translateY(-50%);

    color:
        var(--muted);

    font-size:
        11px;

    pointer-events:
        none;

}


/* =========================================================
   PHOTO UPLOAD
========================================================= */

.photo-upload-box {

    position:
        relative;

    min-height:
        180px;

    display:
        flex;

    flex-direction:
        column;

    align-items:
        center;

    justify-content:
        center;

    padding:
        25px;

    border:
        1px dashed
        rgba(
            212,
            175,
            55,
            .38
        );

    border-radius:
        15px;

    background:
        rgba(
            212,
            175,
            55,
            .025
        );

    text-align:
        center;

    cursor:
        pointer;

    transition:
        .15s ease;

}


.photo-upload-box:hover {

    border-color:
        var(--accent);

    background:
        rgba(
            212,
            175,
            55,
            .055
        );

}


.photo-upload-box input {

    position:
        absolute;

    width:
        1px;

    height:
        1px;

    overflow:
        hidden;

    opacity:
        0;

}


.photo-upload-icon {

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    width:
        48px;

    height:
        48px;

    margin-bottom:
        10px;

    border-radius:
        50%;

    background:
        var(--accent);

    color:
        #111;

    font-size:
        28px;

    font-weight:
        300;

}


.photo-upload-box strong {

    font-size:
        15px;

}


.photo-upload-box span {

    margin-top:
        5px;

    color:
        var(--muted);

    font-size:
        11px;

}


/* =========================================================
   FORM SUBMIT
========================================================= */

.form-submit-panel {

    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

    gap:
        25px;

    padding:
        18px;

    border:
        1px solid
        rgba(
            212,
            175,
            55,
            .22
        );

    border-radius:
        16px;

    background:
        rgba(
            212,
            175,
            55,
            .04
        );

}


.form-submit-panel strong {

    display:
        block;

}


.form-submit-panel span {

    display:
        block;

    margin-top:
        3px;

    color:
        var(--muted);

    font-size:
        12px;

}


.form-big-button {

    min-width:
        190px;

    min-height:
        50px;

}


/* =========================================================
   MY LISTINGS
========================================================= */

.my-listings-grid {

    display:
        grid;

    gap:
        13px;

}


.my-listing-card {

    display:
        grid;

    grid-template-columns:
        180px
        minmax(
            0,
            1fr
        );

    overflow:
        hidden;

    border:
        1px solid var(--line);

    border-radius:
        16px;

    background:
        var(--panel);

}


.my-listing-photo {

    position:
        relative;

    min-height:
        220px;

    overflow:
        hidden;

    background:
        #0d0d11;

}


.my-listing-photo img {

    width:
        100%;

    height:
        100%;

    display:
        block;

    object-fit:
        cover;

}


.listing-status {

    position:
        absolute;

    top:
        10px;

    left:
        10px;

    padding:
        5px 8px;

    border-radius:
        8px;

    backdrop-filter:
        blur(8px);

    font-size:
        10px;

    font-weight:
        800;

}


.status-published {

    background:
        rgba(
            20,
            110,
            68,
            .9
        );

    color:
        #c5f6dc;

}


.status-pending {

    background:
        rgba(
            160,
            118,
            16,
            .9
        );

    color:
        #ffedaa;

}


.status-rejected {

    background:
        rgba(
            150,
            42,
            42,
            .9
        );

    color:
        #ffd0d0;

}


.status-archived {

    background:
        rgba(
            65,
            65,
            73,
            .9
        );

    color:
        #ddd;

}


.my-listing-content {

    padding:
        18px;

}


.my-listing-head {

    display:
        flex;

    justify-content:
        space-between;

    gap:
        20px;

}


.my-listing-head h2 {

    margin:
        0;

    font-size:
        22px;

}


.my-listing-head h2 span {

    color:
        var(--muted);

    font-size:
        13px;

    font-weight:
        500;

}


.my-listing-head p {

    margin:
        5px 0 0;

    color:
        var(--muted);

}


.my-plan {

    height:
        fit-content;

    padding:
        4px 7px;

    border:
        1px solid
        rgba(
            212,
            175,
            55,
            .3
        );

    border-radius:
        7px;

    color:
        var(--accent);

    font-size:
        9px;

    font-weight:
        900;

}


.my-listing-stats {

    display:
        grid;

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

    gap:
        9px;

    margin-top:
        18px;

}


.my-listing-stats > div {

    padding:
        9px 10px;

    border:
        1px solid var(--line);

    border-radius:
        10px;

    background:
        rgba(
            255,
            255,
            255,
            .02
        );

}


.my-listing-stats span {

    display:
        block;

    color:
        var(--muted);

    font-size:
        10px;

}


.my-listing-stats strong {

    display:
        block;

    margin-top:
        2px;

    font-size:
        13px;

}


.my-listing-actions {

    display:
        flex;

    flex-wrap:
        wrap;

    gap:
        7px;

    margin-top:
        17px;

    padding-top:
        14px;

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

}


.my-listing-actions form {

    margin:
        0;

}


/* =========================================================
   DASHBOARD EMPTY
========================================================= */

.dashboard-empty {

    max-width:
        700px;

    padding:
        70px 25px;

    border:
        1px dashed
        rgba(
            255,
            255,
            255,
            .14
        );

    border-radius:
        17px;

    text-align:
        center;

}


.dashboard-empty h2 {

    margin:
        0 0 8px;

}


.dashboard-empty p {

    max-width:
        450px;

    margin:
        0 auto 20px;

    color:
        var(--muted);

}


/* =========================================================
   LARGE TABLET
========================================================= */

@media (
    max-width: 1100px
) {

    .listing-grid {

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

    }


    .filter-main-row {

        grid-template-columns:
            1fr
            1fr;

    }


    .filter-extra-row {

        grid-template-columns:
            1fr
            1fr;

    }


    .filter-submit {

        width:
            100%;

    }

}


/* =========================================================
   TABLET / NAVIGATION
========================================================= */

@media (
    max-width: 900px
) {

    .mobile-menu-btn {

        display:
            inline-flex;

        align-items:
            center;

        justify-content:
            center;

    }


    .main-nav {

        position:
            absolute;

        left:
            16px;

        right:
            16px;

        top:
            calc(
                100% + 8px
            );

        display:
            none;

        padding:
            10px;

        flex-direction:
            column;

        align-items:
            stretch;

        border:
            1px solid var(--line);

        border-radius:
            14px;

        background:
            #101014;

        box-shadow:
            0 24px 60px
            rgba(
                0,
                0,
                0,
                .5
            );

    }


    .main-nav.open {

        display:
            flex;

    }


    .main-nav > a {

        padding:
            11px 12px;

    }


    .nav-logout-form {

        width:
            100%;

    }


    .nav-link-button {

        width:
            100%;

        text-align:
            left;

        padding:
            11px 12px;

    }

}


/* =========================================================
   SMALL TABLET
========================================================= */

@media (
    max-width: 760px
) {

    .home-hero {

        padding:
            35px 0 28px;

    }


    .home-hero-inner {

        grid-template-columns:
            1fr;

        gap:
            25px;

    }


    .hero-info-card {

        display:
            grid;

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

    }


    .hero-stat {

        display:
            block;

        min-height:
            auto;

        border-bottom:
            0;

        border-right:
            1px solid var(--line);

        text-align:
            center;

    }


    .hero-stat:last-child {

        border-right:
            0;

    }


    .hero-stat span {

        display:
            block;

        margin-top:
            3px;

        text-align:
            center;

    }


    .listing-grid {

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

        gap:
            10px;

    }


    .catalog-filters {

        padding:
            12px;

    }

}


/* =========================================================
   FORMS MOBILE
========================================================= */

@media (
    max-width: 700px
) {

    .form-page,
    .dashboard-page {

        padding-top:
            24px;

    }


    .form-page-head {

        align-items:
            flex-start;

        flex-direction:
            column;

        gap:
            14px;

    }


    .form-page-head .btn {

        width:
            100%;

    }


    .form-card {

        padding:
            15px;

        border-radius:
            14px;

    }


    .form-grid-2,
    .form-grid-3 {

        grid-template-columns:
            1fr;

    }


    .form-submit-panel {

        align-items:
            stretch;

        flex-direction:
            column;

    }


    .form-big-button {

        width:
            100%;

    }


    .my-listing-card {

        grid-template-columns:
            115px
            minmax(
                0,
                1fr
            );

    }


    .my-listing-photo {

        min-height:
            190px;

    }


    .my-listing-content {

        padding:
            12px;

    }


    .my-listing-head h2 {

        font-size:
            17px;

    }


    .my-listing-head p {

        font-size:
            11px;

    }


    .my-listing-stats {

        grid-template-columns:
            1fr;

    }


    .my-listing-stats > div {

        display:
            flex;

        align-items:
            center;

        justify-content:
            space-between;

    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (
    max-width: 600px
) {

    .container,
    .header-inner {

        width:
            calc(
                100% - 20px
            );

    }


    .header-inner {

        min-height:
            66px;

    }


    .site-logo {

        height:
            54px;

        max-width:
            120px;

    }


    .site-footer {

        margin-top:
            32px;

    }


    .footer-grid {

        flex-direction:
            column;

    }


    .footer-links {

        flex-direction:
            column;

        gap:
            7px;

    }


    .auth-section {

        width:
            calc(
                100% - 16px
            );

        margin:
            22px auto 40px;

    }


    .auth-card {

        padding:
            18px;

        border-radius:
            15px;

    }


    .auth-heading h1 {

        font-size:
            24px;

    }

}


/* =========================================================
   CATALOG MOBILE
========================================================= */

@media (
    max-width: 560px
) {

    .home-hero h1 {

        letter-spacing:
            -1.5px;

    }


    .hero-actions {

        display:
            grid;

        grid-template-columns:
            1fr
            1fr;

    }


    .hero-actions .btn {

        width:
            100%;

    }


    .hero-info-card {

        grid-template-columns:
            1fr;

    }


    .hero-stat {

        display:
            flex;

        border-right:
            0;

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

        text-align:
            left;

    }


    .hero-stat span {

        margin:
            0;

        text-align:
            right;

    }


    .catalog-section {

        padding-top:
            25px;

    }


    .catalog-toolbar {

        align-items:
            center;

        margin-bottom:
            12px;

    }


    .catalog-toolbar h2 {

        font-size:
            25px;

    }


    .filter-reset-link {

        font-size:
            12px;

    }


    .filter-main-row,
    .filter-extra-row {

        grid-template-columns:
            1fr;

    }


    .filter-range > div {

        grid-template-columns:
            1fr
            1fr;

    }


    .verified-filter {

        width:
            100%;

    }


    .listing-grid {

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

        gap:
            8px;

    }


    .listing-card {

        border-radius:
            12px;

    }


    .listing-body {

        padding:
            9px;

    }


    .listing-name {

        font-size:
            15px;

    }


    .listing-name span {

        display:
            block;

        margin-top:
            1px;

        font-size:
            11px;

    }


    .listing-category {

        display:
            none;

    }


    .listing-subtitle {

        margin-top:
            7px;

        font-size:
            11px;

    }


    .listing-price {

        grid-template-columns:
            1fr;

        margin-top:
            8px;

    }


    .listing-price >
    div:nth-child(2) {

        display:
            none;

    }


    .listing-price strong {

        font-size:
            12px;

    }


    .listing-footer {

        font-size:
            9px;

    }


    .listing-footer a {

        font-size:
            10px;

    }


    .badge {

        padding:
            3px 5px;

        font-size:
            8px;

    }


    .catalog-meta {

        font-size:
            11px;

    }


    .catalog-notice {

        font-size:
            11px;

    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (
    max-width: 420px
) {

    .my-listing-card {

        grid-template-columns:
            1fr;

    }


    .my-listing-photo {

        aspect-ratio:
            16 / 9;

        min-height:
            0;

    }

}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (
    max-width: 360px
) {

    body {

        font-size:
            14px;

    }


    .container,
    .header-inner {

        width:
            calc(
                100% - 14px
            );

    }


    .site-logo {

        height:
            48px;

        max-width:
            105px;

    }


    .btn {

        padding:
            8px 11px;

    }


    .auth-card {

        padding:
            14px;

    }


    .auth-heading h1 {

        font-size:
            22px;

    }


    .listing-grid {

        gap:
            6px;

    }


    .listing-body {

        padding:
            7px;

    }


    .listing-name {

        font-size:
            14px;

    }


    .listing-location {

        font-size:
            10px;

    }


    .listing-price > div {

        padding:
            6px 7px;

    }

}