:root {
    --bg: #eaf3ff;
    --bg-deep: #d5e7ff;
    --surface: rgba(255, 255, 255, 0.78);
    --surface-strong: #ffffff;
    --surface-soft: rgba(244, 249, 255, 0.9);
    --border: rgba(38, 95, 191, 0.14);
    --border-strong: rgba(38, 95, 191, 0.26);
    --text: #123052;
    --muted: #6883a6;
    --accent: #2563d8;
    --accent-strong: #1c4eaf;
    --accent-soft: #61b1ff;
    --teal: #1b8db0;
    --shadow: 0 24px 60px rgba(28, 78, 175, 0.12);
    --shadow-soft: 0 14px 36px rgba(28, 78, 175, 0.08);
    --radius-xl: 30px;
    --radius-lg: 22px;
    --radius-md: 16px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: "Manrope", "Segoe UI", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 0% 10%, rgba(97, 177, 255, 0.28), transparent 24%),
        radial-gradient(circle at 100% 0%, rgba(37, 99, 216, 0.18), transparent 22%),
        linear-gradient(180deg, #f5f9ff 0%, var(--bg) 36%, var(--bg-deep) 100%);
    min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
p { line-height: 1.65; }
h1, h2, h3 { letter-spacing: -0.03em; margin: 0; }

.page-glow {
    position: fixed;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    filter: blur(90px);
    pointer-events: none;
    z-index: 0;
}

.page-glow-one {
    left: -70px;
    top: 70px;
    background: rgba(97, 177, 255, 0.32);
}

.page-glow-two {
    right: -90px;
    top: 240px;
    background: rgba(37, 99, 216, 0.16);
}

.site-header, .site-footer, .page-shell {
    width: min(1220px, calc(100% - 2rem));
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.site-header { padding: 1rem 0 0; }

.topbar, .content-card, .pricing-card, .stat-card, .quick-card, .auth-card, .map-card, .map-placeholder, .admin-table-shell {
    background: var(--surface);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
}

.topbar {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.2rem;
    align-items: center;
    padding: 1rem 1.2rem;
    border-radius: var(--radius-xl);
    background: rgba(255,255,255,0.68);
}

.brand {
    display: flex;
    gap: 0.95rem;
    align-items: center;
}

.logo-mark {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, var(--accent), var(--accent-soft));
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.25);
}

.brand-link {
    font-size: 1.45rem;
    font-weight: 800;
}

.brand-tag {
    margin: 0.18rem 0 0;
    color: var(--muted);
    font-size: 0.92rem;
    max-width: 28ch;
}

.menu-toggle {
    display: none;
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    border: 0;
    padding: 0;
    gap: 4px;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-soft);
}

.menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: #fff;
    border-radius: 999px;
}

.location-bar {
    display: grid;
    grid-template-columns: repeat(4, minmax(105px, 1fr)) auto;
    gap: 0.7rem;
    align-items: center;
}

.inline-form,
.stacked-actions {
    display: flex;
    gap: 0.7rem;
    flex-wrap: wrap;
}

input, textarea, select {
    width: 100%;
    border-radius: 16px;
    border: 1px solid var(--border);
    background: rgba(255,255,255,0.92);
    padding: 0.88rem 0.95rem;
    font: inherit;
    color: var(--text);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: rgba(37, 99, 216, 0.52);
    box-shadow: 0 0 0 4px rgba(97, 177, 255, 0.18);
}

button, .button-link {
    border: 0;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    color: #fff;
    font-weight: 800;
    padding: 0.9rem 1.15rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 14px 28px rgba(37, 99, 216, 0.22);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

button:hover, .button-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 32px rgba(37, 99, 216, 0.24);
}

.button-link.muted {
    background: linear-gradient(135deg, var(--teal), #187190);
}

.site-nav {
    margin-top: 0.9rem;
    padding: 0.2rem 0;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.site-nav-links,
.site-nav-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    align-items: center;
}

.site-nav a {
    padding: 0.78rem 0.92rem;
    border-radius: 14px;
    color: var(--muted);
    font-weight: 700;
    transition: background 0.2s ease, color 0.2s ease;
}

.site-nav a:hover,
.site-nav a.active {
    background: rgba(37, 99, 216, 0.1);
    color: var(--accent-strong);
}

.nav-cta {
    box-shadow: 0 12px 24px rgba(37, 99, 216, 0.18);
}

.nav-drawer {
    display: none;
}

.admin-shell-page .page-shell {
    width: min(1320px, calc(100% - 2rem));
}

.member-shell-page .page-shell {
    width: min(1320px, calc(100% - 2rem));
}

.admin-shell {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 1.2rem;
    align-items: start;
}

.admin-sidebar {
    position: sticky;
    top: 1rem;
    border-radius: 26px;
    padding: 1.1rem;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.94), rgba(239, 246, 255, 0.88));
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
    display: grid;
    gap: 0.95rem;
}

.admin-sidebar-head h2 {
    margin: 0.3rem 0 0.45rem;
}

.admin-sidebar-head p {
    margin: 0;
    color: var(--muted);
    font-size: 0.93rem;
}

.admin-nav-group {
    display: grid;
    gap: 0.45rem;
    padding-top: 0.2rem;
    border-top: 1px solid rgba(37, 99, 216, 0.08);
}

.admin-nav-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--muted);
    font-weight: 800;
}

.admin-nav-group a {
    padding: 0.9rem 1rem;
    border-radius: 16px;
    font-weight: 700;
    color: var(--text);
    background: rgba(37, 99, 216, 0.04);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.admin-nav-group a:hover,
.admin-nav-group a.active {
    background: rgba(37, 99, 216, 0.1);
    color: var(--accent-strong);
    border-color: rgba(37, 99, 216, 0.12);
}

.admin-nav-group a.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    bottom: 10px;
    width: 4px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--accent), var(--accent-soft));
}

.admin-nav-group-utility a {
    background: rgba(27, 141, 176, 0.05);
}

.admin-sidebar-note {
    padding: 1rem;
    border-radius: 20px;
    background: rgba(18, 48, 82, 0.04);
    border: 1px solid rgba(37, 99, 216, 0.1);
}

.admin-sidebar-note strong {
    display: block;
    margin-bottom: 0.35rem;
}

.admin-sidebar-note p {
    margin: 0;
    color: var(--muted);
    font-size: 0.92rem;
}

.admin-main {
    display: grid;
    gap: 1rem;
}

.member-shell {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 1.2rem;
    align-items: start;
}

.member-sidebar {
    position: sticky;
    top: 1rem;
    border-radius: 26px;
    padding: 1.1rem;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.94), rgba(239, 246, 255, 0.88));
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
    display: grid;
    gap: 0.95rem;
}

.member-sidebar-head h2 {
    margin: 0.3rem 0 0.45rem;
}

.member-sidebar-head p {
    margin: 0;
    color: var(--muted);
    font-size: 0.93rem;
}

.member-nav-group {
    display: grid;
    gap: 0.45rem;
    padding-top: 0.2rem;
    border-top: 1px solid rgba(37, 99, 216, 0.08);
}

.member-nav-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--muted);
    font-weight: 800;
}

.member-nav-group a {
    padding: 0.9rem 1rem;
    border-radius: 16px;
    font-weight: 700;
    color: var(--text);
    background: rgba(37, 99, 216, 0.04);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.member-nav-group a:hover,
.member-nav-group a.active {
    background: rgba(37, 99, 216, 0.1);
    color: var(--accent-strong);
    border-color: rgba(37, 99, 216, 0.12);
}

.member-nav-group a.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    bottom: 10px;
    width: 4px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--accent), var(--accent-soft));
}

.member-nav-group-utility a {
    background: rgba(27, 141, 176, 0.05);
}

.member-sidebar-note {
    padding: 1rem;
    border-radius: 20px;
    background: rgba(18, 48, 82, 0.04);
    border: 1px solid rgba(37, 99, 216, 0.1);
}

.member-sidebar-note strong {
    display: block;
    margin-bottom: 0.35rem;
}

.member-sidebar-note p {
    margin: 0;
    color: var(--muted);
    font-size: 0.92rem;
}

.member-main {
    display: grid;
    gap: 1rem;
}

.member-page-intro {
    padding: 0.25rem 0 0.35rem;
}

.member-page-intro h1 {
    margin: 0.3rem 0 0.45rem;
    font-size: clamp(2rem, 3vw, 3rem);
}

.member-page-intro p {
    margin: 0;
    color: var(--muted);
    max-width: 70ch;
}

.member-section {
    border-radius: 24px;
    padding: 1.2rem;
    background: rgba(255,255,255,0.82);
    border: 1px solid rgba(37, 99, 216, 0.08);
    box-shadow: var(--shadow-soft);
}

.section-subheading {
    margin: 0 0 0.9rem;
}

.section-subheading h2 {
    margin: 0 0 0.3rem;
    font-size: 1.2rem;
}

.section-subheading p {
    margin: 0;
    color: var(--muted);
}

.form-stack {
    display: grid;
    gap: 1rem;
}

.form-grid {
    display: grid;
    gap: 1rem;
}

.muted-copy {
    color: var(--muted);
    margin: 0;
}

.seller-form-shell {
    display: grid;
    gap: 1rem;
}

.seller-aside {
    display: grid;
    gap: 1rem;
    align-content: start;
}

.seller-note {
    padding: 1rem;
    border-radius: 20px;
    background: rgba(18, 48, 82, 0.04);
    border: 1px solid rgba(37, 99, 216, 0.1);
}

.seller-note strong {
    display: block;
    margin-bottom: 0.35rem;
}

.seller-note p {
    margin: 0;
    color: var(--muted);
}

.seller-history {
    display: grid;
    gap: 0.8rem;
}

.admin-page-intro {
    padding: 0.25rem 0 0.35rem;
}

.admin-page-intro h1 {
    margin: 0.3rem 0 0.45rem;
    font-size: clamp(2rem, 3vw, 3rem);
}

.admin-page-intro p {
    margin: 0;
    color: var(--muted);
    max-width: 70ch;
}

.admin-section {
    border-radius: 24px;
    padding: 1.2rem;
    background: rgba(255,255,255,0.82);
    border: 1px solid rgba(37, 99, 216, 0.08);
    box-shadow: var(--shadow-soft);
}

.admin-section.content-card,
.admin-section.admin-table-shell {
    padding: 1.15rem;
}

.admin-section.admin-table-shell {
    padding: 0;
}

.page-shell {
    padding: 1.45rem 0 3rem;
}

.hero {
    padding: 1rem 0 0.6rem;
}

.hero-discovery {
    display: grid;
    grid-template-columns: 1.12fr 0.88fr;
    gap: 2rem;
}

.hero-discovery-open {
    align-items: center;
}

.hero-copy {
    padding: 0.9rem 0;
}

.eyebrow {
    display: inline-flex;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--accent-strong);
    font-weight: 800;
}

.hero h1 {
    font-size: clamp(2.7rem, 4.8vw, 5.2rem);
    line-height: 0.95;
    margin: 0.55rem 0 0.9rem;
    max-width: 10ch;
}

.hero-copy p {
    max-width: 60ch;
    color: var(--muted);
    font-size: 1.02rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 1.2rem;
}

.hero-visual {
    display: grid;
    gap: 1rem;
    align-content: start;
}

.hero-map-panel {
    min-height: 340px;
    border-radius: 32px;
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(225, 238, 255, 0.95), rgba(244, 249, 255, 0.92));
    border: 1px solid rgba(37, 99, 216, 0.12);
    box-shadow: 0 30px 70px rgba(28, 78, 175, 0.14);
}

.hero-map-panel-open {
    min-height: 380px;
}

.hero-map-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(37, 99, 216, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37, 99, 216, 0.06) 1px, transparent 1px);
    background-size: 36px 36px;
    mask-image: radial-gradient(circle at center, #000 60%, transparent 100%);
}

.hero-pin {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 0.8rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.95);
    color: var(--accent-strong);
    font-weight: 800;
    box-shadow: var(--shadow-soft);
}

.hero-pin::before {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-soft));
    box-shadow: 0 0 0 5px rgba(37, 99, 216, 0.12);
}

.hero-pin-one { top: 56px; left: 48px; }
.hero-pin-two { top: 150px; right: 70px; }
.hero-pin-three { bottom: 56px; left: 120px; }

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(8px);
}

.hero-orb-one {
    width: 140px;
    height: 140px;
    background: rgba(97, 177, 255, 0.25);
    right: 40px;
    top: 28px;
}

.hero-orb-two {
    width: 100px;
    height: 100px;
    background: rgba(37, 99, 216, 0.18);
    left: 20px;
    bottom: 30px;
}

.hero-inline-points {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 1.25rem;
}

.hero-inline-points span {
    padding: 0.5rem 0.78rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.72);
    border: 1px solid rgba(37, 99, 216, 0.08);
    color: var(--accent-strong);
    font-weight: 700;
    font-size: 0.9rem;
}

.hero-note-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
}

.hero-floating-note,
.hero-stat-note {
    padding: 1rem 1.05rem;
    border-radius: 22px;
    background: rgba(255,255,255,0.9);
    border: 1px solid rgba(37, 99, 216, 0.12);
    box-shadow: var(--shadow-soft);
}

.hero-floating-note strong,
.hero-stat-note strong {
    display: block;
    margin-bottom: 0.3rem;
}

.hero-floating-note p,
.hero-stat-note p {
    margin: 0;
    color: var(--muted);
}

.section {
    margin-top: 2.4rem;
}

.section-band {
    padding: 1.25rem 0 0.4rem;
    position: relative;
}

.section-band::before {
    content: '';
    position: absolute;
    inset: 0 -2rem;
    border-radius: 40px;
    background: linear-gradient(180deg, rgba(255,255,255,0.42), rgba(255,255,255,0.08));
    z-index: -1;
}

.section-band-soft {
    padding: 1rem 0 0.2rem;
}

.page-hero {
    display: grid;
    gap: 0.75rem;
    border-radius: 30px;
    padding: 1rem 0 0.5rem;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.0), rgba(241, 248, 255, 0.0));
    border: 0;
    box-shadow: none;
}

.page-hero h1 {
    font-size: clamp(2.2rem, 3.8vw, 4rem);
    line-height: 0.96;
}

.page-hero p {
    margin: 0;
    color: var(--muted);
    max-width: 68ch;
}

.page-panel-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    margin-top: 1rem;
}

.page-panel {
    padding: 1rem 1.05rem;
    border-radius: 22px;
    background: rgba(255,255,255,0.7);
    border: 1px solid rgba(37, 99, 216, 0.09);
}

.page-panel strong {
    display: block;
    margin-bottom: 0.35rem;
}

.content-stack {
    display: grid;
    gap: 1rem;
}

.article-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.article-card {
    padding: 1.15rem;
    border-radius: 24px;
    background: rgba(255,255,255,0.7);
    border: 1px solid rgba(37, 99, 216, 0.07);
    box-shadow: 0 14px 30px rgba(28, 78, 175, 0.06);
}

.article-card h2 {
    margin: 0 0 0.45rem;
    font-size: 1.18rem;
}

.article-card p {
    margin: 0;
    color: var(--muted);
}

.auth-shell {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 1rem;
    align-items: stretch;
}

.auth-main-card {
    padding: 1.35rem;
}

.auth-side-card {
    display: grid;
    gap: 1rem;
    align-content: start;
    padding: 1.35rem;
}

.auth-side-card ul {
    margin: 0;
    padding-left: 1.15rem;
    color: var(--muted);
}

.auth-side-card li + li {
    margin-top: 0.45rem;
}

.auth-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: end;
    margin-bottom: 1rem;
}

.section-heading p {
    margin: 0.45rem 0 0;
    color: var(--muted);
    max-width: 56ch;
}

.browse-heading h1 {
    font-size: clamp(2rem, 3vw, 3rem);
}

.browse-hero {
    grid-template-columns: 1fr;
    gap: 1rem;
}

.browse-filters-open {
    align-items: center;
    display: grid;
    grid-template-columns: 170px repeat(3, minmax(0, 1fr)) auto;
    gap: 0.7rem;
    padding: 0.9rem 1rem;
    border-radius: 22px;
    background: rgba(255,255,255,0.66);
    border: 1px solid rgba(37, 99, 216, 0.08);
}

.browse-single-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
    gap: 1rem;
    align-items: start;
}

.browse-single-main .listing-card {
    min-height: 100%;
}

.browse-single-aside {
    display: grid;
    gap: 1rem;
}

.card-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(245px, 1fr));
}

.discovery-grid {
    grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
}

.listing-card,
.content-card,
.pricing-card,
.auth-card,
.map-card,
.quick-card,
.stat-card {
    border-radius: 24px;
    padding: 1.15rem;
}

.listing-card {
    padding: 1.05rem 1.05rem 1.1rem;
    background: rgba(255,255,255,0.56);
    border: 1px solid rgba(37, 99, 216, 0.08);
    border-radius: 22px;
    box-shadow: 0 12px 26px rgba(28, 78, 175, 0.05);
    transition: transform 0.22s ease, opacity 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.listing-card:hover {
    transform: translateY(-2px);
    opacity: 0.98;
    box-shadow: 0 18px 34px rgba(28, 78, 175, 0.09);
    border-color: rgba(37, 99, 216, 0.14);
}

.listing-card-head {
    display: grid;
    gap: 0.5rem;
    margin-bottom: 0.65rem;
}

.listing-chip-row {
    display: flex;
    gap: 0.45rem;
    flex-wrap: wrap;
}

.listing-badge {
    display: inline-flex;
    padding: 0.36rem 0.68rem;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 800;
}

.listing-badge.day {
    background: rgba(37, 99, 216, 0.1);
    color: var(--accent-strong);
}

.listing-badge.feature {
    background: rgba(27, 141, 176, 0.12);
    color: #136e89;
}

.listing-kicker {
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 700;
}

.listing-card-link {
    display: grid;
    gap: 0.4rem;
}

.listing-card-primary {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: start;
}

.listing-suburb {
    font-size: clamp(1.6rem, 2.3vw, 2rem);
    line-height: 0.94;
}

.listing-region {
    margin: 0;
    color: var(--muted);
    font-weight: 700;
}

.listing-arrow {
    color: var(--accent-strong);
    font-weight: 800;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    white-space: nowrap;
    padding-top: 0.35rem;
}

.listing-time-block {
    display: grid;
    gap: 0.18rem;
    margin-top: 0.8rem;
}

.listing-time-block strong {
    font-size: 0.9rem;
    color: var(--muted);
}

.listing-time-block span {
    color: var(--accent-strong);
    font-weight: 800;
    font-size: 1.05rem;
}

.listing-status {
    margin: 0.6rem 0 0;
    color: var(--muted);
    font-size: 0.92rem;
}

.empty-state {
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(180deg, rgba(244, 249, 255, 0.55), rgba(234, 243, 255, 0.42));
    border-radius: 24px;
    padding: 1.2rem;
}

.filter-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-bottom: 1rem;
}

.filter-strip span {
    padding: 0.48rem 0.8rem;
    border-radius: 999px;
    background: rgba(37, 99, 216, 0.08);
    border: 1px solid rgba(37, 99, 216, 0.14);
    color: var(--accent-strong);
    font-weight: 700;
}

.map-shell {
    display: grid;
    grid-template-columns: 1.55fr 0.85fr;
    gap: 1rem;
}

.map-placeholder {
    min-height: 500px;
    border-radius: 28px;
    display: grid;
    place-items: center;
    overflow: hidden;
    position: relative;
}

.leaflet-container {
    width: 100%;
    min-height: 500px;
    border-radius: 28px;
}

.map-sidebar {
    display: grid;
    gap: 1rem;
    align-content: start;
}

.content-card,
.auth-card,
.pricing-card,
.quick-card,
.stat-card,
.admin-table-shell {
    background: rgba(255,255,255,0.84);
}

.admin-table-shell {
    padding: 0;
    overflow: hidden;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(255,255,255,0.88);
}

.data-table th,
.data-table td {
    padding: 1rem;
    border-bottom: 1px solid rgba(37, 99, 216, 0.1);
    text-align: left;
    vertical-align: top;
}

.data-table th {
    background: rgba(37, 99, 216, 0.05);
    color: var(--accent-strong);
    font-size: 0.9rem;
}

.flash {
    padding: 0.95rem 1rem;
    border-radius: 18px;
    margin-bottom: 1rem;
    font-weight: 700;
}

.flash.success {
    background: rgba(28, 170, 122, 0.12);
    border: 1px solid rgba(28, 170, 122, 0.2);
    color: #0f7150;
}

.flash.error,
.form-errors {
    background: rgba(199, 77, 112, 0.1);
    border: 1px solid rgba(199, 77, 112, 0.18);
    border-radius: 18px;
    padding: 1rem;
}

.quick-links,
.stats-grid,
.pricing-grid,
.grid-two,
.grid-three,
.grid-four,
.admin-split,
.stat-grid {
    display: grid;
    gap: 1rem;
}

.quick-links {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.quick-card {
    min-height: 120px;
    display: flex;
    align-items: end;
    font-weight: 800;
}

.stats-grid { grid-template-columns: repeat(4, 1fr); }
.pricing-grid { grid-template-columns: repeat(2, 1fr); }
.grid-two { grid-template-columns: repeat(2, 1fr); }
.grid-three { grid-template-columns: repeat(3, 1fr); }
.grid-four { grid-template-columns: repeat(4, 1fr); }
.stat-grid { grid-template-columns: repeat(2, 1fr); }

.stats-grid .stat-card {
    min-height: 126px;
    display: grid;
    gap: 0.35rem;
    align-content: end;
}

.stats-grid .stat-card strong {
    font-size: clamp(1.85rem, 2vw, 2.4rem);
    line-height: 1;
}

.stats-grid .stat-card span {
    color: var(--muted);
    font-weight: 700;
}

.checkbox-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.checkbox-row {
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.checkbox-row input { width: auto; }

.narrow {
    width: min(920px, 100%);
}

.site-footer {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.6rem 0 2.6rem;
    color: var(--muted);
}

.footer-links {
    display: flex;
    gap: 0.9rem;
    flex-wrap: wrap;
}

@media (max-width: 980px) {
    .hero-discovery,
    .map-shell,
    .auth-shell,
    .hero-note-row,
    .browse-single-layout,
    .grid-two,
    .grid-three,
    .grid-four,
    .pricing-grid,
    .stats-grid,
    .admin-split,
    .seller-form-shell {
        grid-template-columns: 1fr;
    }

    .location-bar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .section-heading {
        flex-direction: column;
        align-items: start;
    }

    .admin-shell {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        position: static;
        gap: 0.8rem;
    }

    .member-shell {
        grid-template-columns: 1fr;
    }

    .member-sidebar {
        position: static;
        gap: 0.8rem;
    }
}

@media (max-width: 760px) {
    .site-header, .site-footer, .page-shell {
        width: min(100% - 1rem, 100%);
    }

    .topbar {
        grid-template-columns: auto auto;
        align-items: start;
    }

    .menu-toggle {
        display: inline-flex;
        justify-self: end;
    }

    .location-bar {
        grid-column: 1 / -1;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .site-nav {
        display: none;
    }

    .nav-drawer {
        display: block;
        position: fixed;
        inset: 0 0 0 auto;
        width: min(84vw, 360px);
        transform: translateX(105%);
        transition: transform 0.28s ease;
        padding: 1rem;
        z-index: 15;
        pointer-events: none;
    }

    .nav-drawer-inner {
        height: 100%;
        border-radius: 24px 0 0 24px;
        background: rgba(250, 253, 255, 0.96);
        border-left: 1px solid var(--border);
        box-shadow: var(--shadow);
        padding: 1.2rem;
        display: grid;
        gap: 0.65rem;
        align-content: start;
    }

    .nav-drawer a {
        padding: 0.95rem 1rem;
        border-radius: 16px;
        font-weight: 700;
        color: var(--text);
        background: rgba(37, 99, 216, 0.04);
    }

    .nav-drawer a.active {
        background: rgba(37, 99, 216, 0.1);
        color: var(--accent-strong);
    }

    body.drawer-open .nav-drawer {
        transform: translateX(0);
        pointer-events: auto;
    }

    .hero {
        padding: 0.4rem 0 0.4rem;
    }

    .hero h1 {
        font-size: 2.65rem;
        max-width: none;
    }

    .hero-map-panel {
        min-height: 230px;
    }

    .browse-filters-open {
        grid-template-columns: 1fr;
    }

    .hero-pin {
        font-size: 0.82rem;
    }

    .hero-pin-one { top: 34px; left: 26px; }
    .hero-pin-two { top: 100px; right: 34px; }
    .hero-pin-three { bottom: 36px; left: 70px; }

    .leaflet-container,
    .map-placeholder {
        min-height: 380px;
    }

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

@media (max-width: 460px) {
    .location-bar {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 2.25rem;
    }

    .listing-suburb {
        font-size: 1.35rem;
    }
}
