:root {
    --font-main: 'Figtree', 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --primary-blue: #2F55B7;
    --primary-blue-hover: #2448A0;
    --dark-navy: #070E35;
    --light-blue: #EAF2FF;
    --background: #FFFFFF;
    --section-bg: #F7F8FC;
    --border: #E3E7F0;
    --text-main: #111A44;
    --text-muted: #7A8499;
    --text-secondary: #7A8499;
    --wa-green: #22C55E;
    --wa-green-hover: #16A34A;
    --success-badge: #DCFCE7;
    --info-badge: #EAF2FF;
    --warning-badge: #FEF3C7;
    --error-badge: #FEE2E2;
    --price-color: #111A44;
    --pink-badge: #ffe4f0;
    --shadow-sm: 0 10px 24px rgba(17, 26, 68, 0.06);
    --shadow-md: 0 16px 34px rgba(17, 26, 68, 0.10);
    --shadow-lg: 0 22px 50px rgba(17, 26, 68, 0.14);
    --radius-lg: 24px;
    --radius-md: 18px;
    --radius-sm: 12px;
    --transition: all .2s ease;
    --listing-fixed-header-offset: 72px;
    --listing-fixed-header-gap: 0px;
    --listing-fixed-header-height: 64px;
    --listing-fixed-header-actions-width: 208px;
    --detail-sticky-offset: 74px;
    --detail-subnav-height: 58px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-main);
    background: var(--background);
    color: var(--text-main);
    font-size: 15px;
    line-height: 1.5;
    letter-spacing: -0.01em;
    -webkit-font-smoothing: antialiased;
    text-rendering: geometricPrecision;
}

body.page-home {
    background: #ffffff;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

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

button {
    cursor: pointer;
    border: 0;
    background: transparent;
}

input,
select,
textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #fff;
    color: var(--text-main);
    transition: var(--transition);
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 4px rgba(47, 85, 183, 0.12);
}

textarea {
    resize: vertical;
}

.site-main {
    min-height: calc(100vh - 80px);
}

.container {
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto;
}

.narrow {
    width: min(820px, calc(100% - 32px));
}

.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }

h1,
h2,
h3,
h4 {
    line-height: 1.2;
    margin: 0 0 0.7rem;
}

p {
    margin: 0 0 1rem;
    color: var(--text-secondary);
}

.ph,
.ph-fill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    vertical-align: middle;
    color: currentColor;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    background: rgba(47, 85, 183, 0.09);
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 0.82rem;
    margin-bottom: 1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0.86rem 1.1rem;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: -0.01em;
    border: 1px solid transparent;
    transition: var(--transition);
}

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

.btn:active {
    transform: translateY(0);
}

.btn-lg {
    padding: 1rem 1.3rem;
}

.btn-block {
    width: 100%;
}

.btn-primary {
    background: var(--primary-blue);
    color: #fff;
    box-shadow: var(--shadow-sm);
}

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

.btn-outline {
    border-color: var(--border);
    color: var(--text-main);
    background: #fff;
}

.btn-outline:hover,
.btn-light:hover {
    border-color: rgba(47, 85, 183, 0.3);
    background: var(--light-blue);
}

.btn-light {
    border-color: var(--border);
    background: var(--section-bg);
    color: var(--text-main);
}

.btn-danger {
    background: #ef4444;
    color: #fff;
}

.btn-danger:hover {
    background: #dc2626;
}

.btn-whatsapp {
    background: var(--wa-green);
    color: #fff;
}

.btn-whatsapp:hover {
    background: var(--wa-green-hover);
}

.btn-icon {
    min-width: 42px;
    min-height: 42px;
    padding: 0;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #fff;
}

.alert {
    padding: 0.95rem 1rem;
    border-radius: 14px;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    transition: opacity .3s ease, transform .3s ease;
    opacity: 1;
    transform: translateY(0);
}

.alert.is-hiding {
    opacity: 0;
    transform: translateY(-14px);
}

.flash-toast-host {
    position: fixed;
    top: 18px;
    right: 18px;
    left: auto;
    z-index: 2600;
    display: flex;
    justify-content: flex-end;
    pointer-events: none;
    padding: 0;
}

.flash-toast {
    width: min(460px, calc(100vw - 36px));
    margin: 0;
    border-radius: 12px;
    border-width: 1px;
    box-shadow: 0 10px 24px rgba(15, 34, 92, 0.16);
    animation: toastDropIn .24s ease both;
    pointer-events: auto;
    text-align: left;
    color: #111a44;
    overflow: hidden;
    padding: 0;
}

@keyframes toastDropIn {
    from {
        opacity: 0;
        transform: translateY(-18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.alert-success {
    background: #ffffff;
    border-color: #dbe4f3;
    color: #111a44;
}

.alert-error {
    background: #ffffff;
    border-color: #dbe4f3;
    color: #111a44;
}

.alert-warning {
    background: #ffffff;
    border-color: #dbe4f3;
    color: #111a44;
}

.flash-toast-card {
    display: grid;
    grid-template-columns: 46px 1fr 26px;
    gap: 11px;
    align-items: center;
    padding: 12px 14px 11px;
}

.flash-toast-icon {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 30% 30%, #3a82ff 0%, #2f6df2 70%);
    color: #1f62e6;
    box-shadow: 0 0 0 6px #edf3ff;
    font-size: 1.05rem;
}
.flash-toast-icon i { color: #fff; }

.flash-toast-copy {
    min-width: 0;
}

.flash-toast-title {
    display: block;
    font-size: 0.95rem;
    font-weight: 800;
    color: #1a2c5f;
    line-height: 1.2;
    margin-bottom: 1px;
}

.flash-toast-message {
    margin: 0;
    font-size: 0.8rem;
    color: #5b6d95;
    line-height: 1.35;
}

.flash-toast-close {
    width: 26px;
    height: 26px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #7b8fb6;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.flash-toast-close i {
    font-size: 1rem;
}

.flash-toast-close:hover {
    background: #edf3ff;
    color: #2f55b7;
}

.flash-toast-progress {
    display: block;
    height: 2px;
    width: 100%;
    border-radius: 0;
    background: linear-gradient(90deg, #2f6df2 0%, #5a8bff 100%);
    transform-origin: left center;
    animation: flashProgress 1s linear forwards;
}

@keyframes flashProgress {
    from { transform: scaleX(1); }
    to { transform: scaleX(0); }
}

.navbar-wrapper {
    position: sticky;
    top: 0;
    z-index: 1100;
    isolation: isolate;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid rgba(227, 231, 240, 0.92);
}

.navbar-wrapper::after {
    display: none;
}

.navbar {
    padding: 0;
    background: transparent;
    backdrop-filter: none;
    transition: var(--transition);
}

.navbar.scrolled,
.navbar-solid {
    box-shadow: none;
}

.page-listing .navbar.scrolled,
.page-listing .navbar-solid {
    box-shadow: none;
    border-bottom: 1px solid rgba(17, 26, 68, 0.08);
}

.page-listing .navbar {
    background: transparent;
    border-bottom: 0;
    backdrop-filter: none;
}

.page-listing .listing-fixed-header {
    background: #FFFFFF;
    border-bottom: 1px solid #E3E7F0;
    box-shadow: none;
}

.navbar-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    min-height: 74px;
    padding: 0;
    border-radius: 0;
    border: 0;
    background: transparent;
    backdrop-filter: none;
    box-shadow: none;
}

.page-listing .navbar-inner {
    background: transparent;
    box-shadow: none;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    color: var(--dark-navy);
}

.brand-logo-full {
    display: block;
    width: auto;
    height: 90px;
    object-fit: contain;
}

.brand-logo-scrolled {
    display: none;
}

.navbar-wrapper.is-scrolled .brand-public .brand-logo-default {
    display: none;
}

.navbar-wrapper.is-scrolled .brand-public .brand-logo-scrolled {
    display: block;
}

.brand-mark {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 0;
    box-shadow: none;
    overflow: hidden;
}

.brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.nav-menu,
.nav-links,
.nav-actions {
    display: flex;
    align-items: center;
}

.nav-menu {
    flex: 1;
    min-width: 0;
    justify-content: space-between;
    gap: 20px;
}

.nav-links {
    gap: 10px;
    padding: 0;
    border-radius: 0;
    border: 0;
    background: transparent;
}

.nav-actions {
    gap: 10px;
}

.nav-links a {
    color: var(--text-secondary);
    font-weight: 800;
    min-height: 40px;
    padding: 0 12px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    transition: color .2s ease, background .2s ease, box-shadow .2s ease;
}

.nav-links a:hover {
    color: var(--primary-blue);
    background: rgba(238, 244, 255, 0.62);
}

.nav-links a.active {
    color: var(--primary-blue);
    background: transparent;
    box-shadow: none;
}

@media (min-width: 769px) {
    @keyframes homepageNavbarReveal {
        from {
            opacity: 0;
            transform: translate3d(0, -18px, 0) scale(0.985);
        }

        to {
            opacity: 1;
            transform: translate3d(0, 0, 0) scale(1);
        }
    }

    .page-home .navbar-wrapper {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        border-bottom-color: transparent;
        background: transparent;
        box-shadow: none;
        backdrop-filter: none;
        transform: translate3d(0, 0, 0);
        transition: background .32s ease, border-color .32s ease, transform .32s ease;
    }

    .page-home .navbar-wrapper::after {
        content: '';
        display: block;
        position: absolute;
        left: 0;
        right: 0;
        bottom: -1px;
        height: 20px;
        pointer-events: none;
        opacity: 0;
        box-shadow: 0 10px 26px rgba(10, 21, 58, 0.12);
        transition: opacity .22s ease;
    }

    .page-home .navbar-wrapper.is-scrolled {
        background: rgba(255, 255, 255, 0.98);
        border-bottom-color: rgba(227, 231, 240, 0.96);
        transform: translate3d(0, 0, 0);
    }

    .page-home .navbar-wrapper.is-scrolled::after {
        opacity: 1;
    }

    .page-home .navbar {
        opacity: 1;
        transform: translateY(0);
        will-change: transform, opacity;
        transition: padding .32s ease, background .32s ease, transform .32s ease, opacity .32s ease, border-color .32s ease;
    }

    .page-home .navbar.scrolled {
        padding: 0;
        background: rgba(255, 255, 255, 0.98);
        border-bottom: 1px solid rgba(227, 231, 240, 0.96);
        box-shadow: none;
        backdrop-filter: none;
        animation: none;
    }

    .page-home .navbar.scrolled .navbar-inner {
        min-height: 74px;
        padding: 0;
        background: transparent;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        backdrop-filter: none;
    }

    .page-home .hero-banner-inner {
        width: min(1200px, calc(100% - 32px));
        margin: 0 auto;
        min-height: 420px;
        padding: calc(24px + 74px) 0 20px;
    }

    .page-home .hero-banner {
        background-position:
            center,
            center center,
            center;
        background-size:
            cover,
            cover,
            cover;
    }

    .page-home .hero-content {
        max-width: 700px;
        justify-content: flex-start;
    }

    .page-home .hero-search {
        width: min(100%, 592px);
        margin-bottom: 0;
    }

    .page-home .navbar .nav-actions {
        flex: 0 0 auto;
        gap: 8px;
        padding: 6px 10px;
        border: 1px solid transparent;
        border-radius: 18px;
        min-height: 56px;
        box-sizing: border-box;
        transform: translateX(-6px);
        transition: transform .38s ease, background .38s ease, box-shadow .38s ease, border-color .38s ease;
    }

    .page-home .navbar:not(.scrolled) .nav-actions {
        border: 1px solid rgba(255, 255, 255, 0.24);
        background: linear-gradient(135deg, rgba(10, 21, 58, 0.44) 0%, rgba(255, 255, 255, 0.32) 100%);
        box-shadow: 0 16px 34px rgba(7, 14, 53, 0.18);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
    }

    .page-home .navbar:not(.scrolled) .brand,
    .page-home .navbar:not(.scrolled) .nav-links a,
    .page-home .navbar:not(.scrolled) .auth-link {
        color: #FFFFFF;
        text-shadow: 0 1px 8px rgba(7, 14, 53, 0.24);
    }

    .page-home .navbar:not(.scrolled) .brand-public .brand-copy small {
        color: rgba(255, 255, 255, 0.76);
    }

    .page-home .navbar:not(.scrolled) .nav-links a:hover,
    .page-home .navbar:not(.scrolled) .nav-links a.active {
        color: #FFFFFF;
        background: rgba(255, 255, 255, 0.12);
    }

    .page-home .navbar:not(.scrolled) .auth-link:hover {
        color: #FFFFFF;
    }

    .page-home .navbar:not(.scrolled) .auth-nav {
        min-height: 42px;
        padding: 0 4px 0 2px;
        color: #FFFFFF;
    }

    .page-home .navbar:not(.scrolled) .auth-user-pill {
        border-color: rgba(255, 255, 255, 0.24);
        background: rgba(255, 255, 255, 0.12);
        color: #FFFFFF;
        box-shadow: none;
    }

    .page-home .navbar:not(.scrolled) .nav-wishlist-link {
        color: #2F55B7;
        background: rgba(255, 255, 255, 0.88);
        border-color: #2F55B7;
        box-shadow: none;
    }

    .page-home .navbar:not(.scrolled) .nav-wishlist-link:hover,
    .page-home .navbar:not(.scrolled) .nav-wishlist-link.active {
        color: #2F55B7;
        background: #EEF4FF;
        border-color: #2F55B7;
    }

    .page-home .navbar:not(.scrolled) .nav-actions .btn.btn-outline {
        color: #FFFFFF;
        background: rgba(255, 255, 255, 0.08);
        border-color: rgba(255, 255, 255, 0.24);
    }

    .page-home .navbar:not(.scrolled) .nav-actions .btn.btn-outline:hover {
        background: rgba(255, 255, 255, 0.16);
        border-color: rgba(255, 255, 255, 0.32);
    }

    .page-home .navbar:not(.scrolled) .nav-actions .btn.btn-primary {
        background: #FFFFFF;
        color: var(--primary-blue);
        box-shadow: 0 14px 24px rgba(8, 18, 52, 0.16);
    }

    .page-home .navbar:not(.scrolled) .nav-actions .btn.btn-primary:hover {
        background: #EEF4FF;
    }
}

@media (max-width: 768px) {
    .page-home .navbar-wrapper {
        transform: translate3d(0, 0, 0);
        transition: transform .26s ease, background .26s ease, border-color .26s ease;
    }

    .page-home .navbar-wrapper::after {
        content: '';
        display: block;
        position: absolute;
        left: 0;
        right: 0;
        bottom: -1px;
        height: 14px;
        pointer-events: none;
        opacity: 0;
        box-shadow: 0 8px 18px rgba(17, 26, 68, 0.10);
        transition: opacity .18s ease;
    }

    .page-home .navbar-wrapper.is-scrolled {
        background: rgba(255, 255, 255, 0.98);
        border-bottom-color: rgba(227, 231, 240, 0.96);
        transform: translate3d(0, 0, 0);
    }

    .page-home .navbar-wrapper.is-scrolled::after {
        opacity: 1;
    }

    .page-home .navbar {
        transition: transform .26s ease, background .26s ease, border-color .26s ease, opacity .26s ease;
    }

    .page-home .navbar.scrolled {
        animation: none;
        background: rgba(255, 255, 255, 0.98);
        border-bottom: 1px solid rgba(227, 231, 240, 0.96);
        box-shadow: none;
        backdrop-filter: none;
    }
}

.auth-nav {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 42px;
    padding: 0;
    border-radius: 0;
    border: 0;
    background: transparent;
    color: #111A44;
    font-weight: 700;
}

.auth-nav span {
    display: none;
}

.auth-link {
    border: none;
    background: transparent;
    color: #111A44;
    font-weight: 800;
    cursor: pointer;
    min-height: 40px;
    padding: 0 4px;
    border-radius: 0;
    transition: color .2s ease, background .2s ease, box-shadow .2s ease;
}

.auth-link:hover {
    color: #2F55B7;
    background: transparent;
    box-shadow: none;
}

.auth-user-pill {
    height: 42px;
    min-height: 42px;
    padding: 0 14px;
    border-radius: 999px;
    background: #F7F8FC;
    border: 1px solid #E3E7F0;
    color: #111A44;
    display: inline-flex;
    align-items: center;
    font-weight: 800;
    white-space: nowrap;
    box-sizing: border-box;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(227, 231, 240, 0.9);
    border-radius: 12px;
    background: #FFFFFF;
    box-shadow: none;
}

.mobile-menu-toggle span {
    width: 18px;
    height: 2px;
    background: var(--dark-navy);
    border-radius: 99px;
}

.hero-section {
    padding: 0;
    background: linear-gradient(135deg, #264db0 0%, #17357f 52%, #0f1d56 100%);
    position: relative;
    z-index: 200;
    overflow: visible;
}

.hero-grid {
    display: block;
}

.page-home .hero-banner {
    --hero-banner-bg-image: url('../img/hero-banner-bg.png');
    --hero-banner-people-image: url('../img/hero-banner-people.svg');
}

.hero-banner {
    position: relative;
    width: 100%;
    overflow: visible;
    background-image:
        linear-gradient(96deg, rgba(8, 25, 78, 0.985) 0%, rgba(20, 52, 148, 0.92) 36%, rgba(78, 130, 226, 0.40) 68%, rgba(118, 169, 245, 0.12) 100%),
        var(--hero-banner-bg-image, none),
        linear-gradient(180deg, #264db0 0%, #16357d 100%);
    background-position:
        center,
        center center,
        center;
    background-repeat: no-repeat;
    background-size:
        cover,
        cover,
        cover;
}

.hero-banner-people-mask {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

@keyframes heroPeopleFloat {
    0% {
        transform: translate3d(0, 0, 0);
    }

    50% {
        transform: translate3d(0, -6px, 0);
    }

    100% {
        transform: translate3d(0, 0, 0);
    }
}

.hero-banner-people {
    position: absolute;
    right: max(16px, calc((100vw - 1200px) / 2 + 16px));
    bottom: -250px;
    width: clamp(520px, 46vw, 700px);
    height: clamp(680px, 94%, 780px);
    z-index: 0;
    pointer-events: none;
    background-image: var(--hero-banner-people-image, none);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: right bottom;
    animation: heroPeopleFloat 3.6s ease-in-out infinite;
}

.hero-banner-inner {
    position: relative;
    z-index: 3;
    min-height: 440px;
    padding: 28px clamp(28px, 4vw, 52px) 52px;
}

.hero-layout {
    display: block;
}

.hero-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(circle at 16% 22%, rgba(146, 185, 255, 0.18), transparent 0 30%),
        radial-gradient(circle at 84% 18%, rgba(187, 215, 255, 0.14), transparent 0 24%);
    pointer-events: none;
}


.hero-content {
    position: relative;
    z-index: 1;
}

.hero-content {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: min(60vw, 760px);
}

.hero-content .eyebrow {
    background: rgba(255, 255, 255, 0.12);
    color: #FFFFFF;
}

.hero-content h1,
.hero-content p {
    color: #FFFFFF;
}

.hero-content h1 {
    font-size: clamp(2.2rem, 3.7vw, 3.9rem);
    max-width: 700px;
    margin-bottom: 10px;
    letter-spacing: -0.04em;
    line-height: 1.04;
}

.hero-content p {
    max-width: 620px;
    font-size: 0.98rem;
    color: rgba(255, 255, 255, 0.86);
    margin-bottom: 0;
}

.HomepagePromotional {
    position: relative;
    z-index: 1;
    width: 100%;
}

.homepage-promotional-shell {
    position: relative;
    z-index: 20;
    margin-top: 0;
    padding: 24px 0 12px;
}

.HomepagePromotional__content {
    overflow: hidden;
    border-radius: 30px;
    border: 1px solid rgba(47, 85, 183, 0.12);
    background:
        radial-gradient(circle at top right, rgba(118, 155, 244, 0.2), transparent 28%),
        linear-gradient(135deg, #0f2a6d 0%, #173b92 42%, #234dab 100%);
    box-shadow: 0 18px 36px rgba(10, 21, 58, 0.12);
}

.HomepagePromotional__track {
    display: flex;
    transition: transform .72s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

@keyframes homepagePromoMarquee {
    from {
        transform: translate3d(0, 0, 0);
    }

    to {
        transform: translate3d(-50%, 0, 0);
    }
}

.HomepagePromotional__slide {
    position: relative;
    flex: 0 0 100%;
    min-width: 100%;
    min-height: 184px;
    color: #FFFFFF;
    overflow: hidden;
    background:
        linear-gradient(120deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0) 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0) 100%);
}

.HomepagePromotional__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.HomepagePromotional__slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(95deg, rgba(9, 18, 48, 0.75) 0%, rgba(14, 35, 89, 0.48) 42%, rgba(22, 52, 121, 0.2) 100%);
    z-index: 0;
}

.HomepagePromotional__copy {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 12px;
    min-height: 100%;
    padding: 28px 32px;
    align-content: center;
}

.HomepagePromotional__eyebrow {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    min-height: 28px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    text-transform: uppercase;
}

.HomepagePromotional__copy strong {
    max-width: 860px;
    font-size: clamp(1.35rem, 2vw, 2.3rem);
    line-height: 1.12;
    letter-spacing: -0.03em;
}

.HomepagePromotional__copy small {
    display: block;
    max-width: 900px;
    font-size: 0.98rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.82);
}

.HomepagePromotional__cta {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 0.9rem;
    font-weight: 800;
    transition: background .2s ease, transform .2s ease;
}

.HomepagePromotional__cta::after {
    content: "→";
    font-size: 1rem;
}

.HomepagePromotional__slide:hover .HomepagePromotional__cta,
.HomepagePromotional__slide.is-active .HomepagePromotional__cta {
    background: rgba(255, 255, 255, 0.24);
    transform: translateX(2px);
}

.HomepagePromotional__dot {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 16px;
}

.HomepagePromotional__dot button {
    width: 10px;
    height: 10px;
    padding: 0;
    border-radius: 999px;
    border: 0;
    background: rgba(255, 255, 255, 0.28);
    transition: width .22s ease, background .22s ease, transform .22s ease;
}

.HomepagePromotional__dot button.active {
    width: 28px;
    background: #FFFFFF;
}

.hero-search,
.listing-searchbar {
    background: #fff;
    border: 1px solid rgba(47, 85, 183, 0.08);
    border-radius: 24px;
    padding: 18px;
    box-shadow: var(--shadow-sm);
}

.hero-search {
    display: block;
    margin: 22px 0 18px;
    padding: 4px;
    border: 1px solid rgba(255, 255, 255, 0.58);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 14px 34px rgba(7, 14, 53, 0.16);
    position: relative;
    z-index: 220;
    transition: none;
}

.hero-search.is-hero-dropdown-open {
    margin-bottom: 0;
}

.hero-search-main {
    display: grid;
    grid-template-columns: 182px minmax(0, 1fr);
    gap: 0;
    align-items: center;
    background: #F6F7FB;
    border: 1px solid #DFE5F1;
    border-radius: 11px;
    min-height: 40px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88);
    position: relative;
    z-index: 221;
    overflow: visible;
}

.hero-search-type,
.hero-search-keyword {
    min-width: 0;
    position: relative;
}

.hero-search-type {
    z-index: 80;
    display: flex;
    width: 100%;
    align-self: stretch;
    border-radius: 10px 0 0 10px;
    overflow: visible;
    isolation: isolate;
}

.hero-search-type::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    width: 1px;
    height: 22px;
    background: #D8DDE8;
    transform: translateY(-50%);
    pointer-events: none;
}

.hero-type-trigger {
    width: 100%;
    display: flex;
    min-height: 34px;
    justify-content: space-between;
    border-radius: 10px 0 0 10px;
    border: 0;
    gap: 8px;
    padding: 0 12px 0 14px;
    font-size: 0.98rem;
    font-weight: 600;
    color: #70799A;
    background: transparent;
    box-shadow: none;
}

.hero-type-trigger-value {
    flex: 1 1 auto;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding-right: 4px;
    font-size: 1rem;
    line-height: 1.2;
}

.hero-type-dropdown {
    position: absolute;
    width: min(540px, calc(100vw - 32px));
    min-width: 0;
    max-width: none;
    box-sizing: border-box;
    top: calc(100% + 12px);
    left: 0;
    border: 1px solid #DCE4F4;
    border-radius: 22px;
    box-shadow: 0 16px 34px rgba(10, 21, 58, 0.16);
    overflow: visible;
    transform: none;
    z-index: 9999;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease, visibility .2s ease;
    will-change: opacity;
}

.hero-type-dropdown.show,
.hero-type-dropdown.is-open,
.hero-type-dropdown.open {
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
}

.hero-type-panel {
    padding: 18px;
}

.hero-type-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.hero-type-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
    min-height: 112px;
    padding: 16px 14px;
    border: 1px solid #D8E0F0;
    border-radius: 18px;
    background: #FFFFFF;
    color: #111A44;
    text-align: left;
    cursor: pointer;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.hero-type-card:hover {
    transform: translateY(-2px);
    border-color: rgba(47, 85, 183, 0.4);
    box-shadow: 0 10px 22px rgba(17, 26, 68, 0.1);
}

.hero-type-card.is-selected {
    border-color: #2F55B7;
    background: #EEF4FF;
    box-shadow: 0 10px 22px rgba(47, 85, 183, 0.14);
}

.hero-type-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: linear-gradient(135deg, #EAF2FF 0%, #DDE8FF 100%);
    color: #2F55B7;
    font-size: 20px;
    flex: 0 0 42px;
}

.hero-type-card.is-selected .hero-type-card-icon {
    background: linear-gradient(135deg, #2F55B7 0%, #17357F 100%);
    color: #FFFFFF;
}

.hero-type-card-copy {
    display: grid;
    gap: 5px;
}

.hero-type-card-copy strong {
    font-size: 0.98rem;
    line-height: 1.25;
}

.hero-type-card-copy small {
    color: #62708F;
    font-size: 0.8rem;
}

.hero-type-footer {
    display: flex;
    justify-content: flex-end;
    margin-top: 14px;
}

.hero-type-clear {
    border: 0;
    background: transparent;
    color: #2F55B7;
    font-weight: 700;
    cursor: pointer;
    padding: 6px 0;
}

.hero-type-clear:hover {
    color: #17357F;
}

.hero-search-type .filter-trigger.active {
    background: transparent;
    border: 0;
    box-shadow: none;
}

.hero-search-type .filter-trigger.active .hero-type-trigger-value {
    color: #1A2258;
}

.hero-type-trigger.has-selection .hero-type-trigger-value {
    color: #1A2258;
    font-weight: 800;
}

.hero-keyword-shell {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 6px 0 12px;
    border: 0;
    background: transparent;
    border-radius: 0 10px 10px 0;
}

.hero-keyword-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #7F88A7;
    font-size: 18px;
    flex: 0 0 18px;
}

.hero-keyword-input-wrap {
    position: relative;
    flex: 1;
    min-width: 0;
    min-height: 40px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-keyword-input-wrap.is-typing,
.hero-keyword-input-wrap.has-value,
.hero-keyword-input-wrap.is-typing.has-value {
    border-radius: 0;
}

.hero-keyword-shell input {
    width: 100%;
    min-width: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    position: relative;
    z-index: 2;
    min-height: 100%;
    padding: 0;
    font-size: 1.12rem;
    font-weight: 650;
    line-height: 1.45;
    color: #1A2258;
    caret-color: #1A2258;
}

.hero-keyword-input-wrap.is-typing input,
.hero-keyword-shell input:focus {
    font-size: 1.12rem;
    line-height: 1.45;
}

.hero-keyword-rotating {
    position: absolute;
    inset: 0;
    display: block;
    overflow: hidden;
    color: #949BB0;
    pointer-events: none;
    transition: opacity .18s ease, visibility .18s ease;
    z-index: 1;
}

.hero-keyword-input-wrap:focus-within .hero-keyword-rotating,
.hero-keyword-input-wrap.is-typing .hero-keyword-rotating,
.hero-keyword-input-wrap.has-value .hero-keyword-rotating,
.hero-keyword-rotating.is-hidden {
    opacity: 0;
    visibility: hidden;
}

.hero-keyword-rotating-item {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    display: flex;
    align-items: center;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.98rem;
    font-weight: 600;
    line-height: 1.3;
    transform: translateY(-50%);
    opacity: 1;
    transition: transform .56s cubic-bezier(0.22, 1, 0.36, 1), opacity .56s ease;
}

.hero-keyword-rotating-item.is-next {
    transform: translateY(calc(-50% + 28px));
    opacity: 0;
}

.hero-keyword-rotating.is-animating .hero-keyword-rotating-item.is-current {
    transform: translateY(calc(-50% - 28px));
    opacity: 0;
}

.hero-keyword-rotating.is-animating .hero-keyword-rotating-item.is-next {
    transform: translateY(-50%);
    opacity: 1;
}

.hero-keyword-rotating.is-resetting .hero-keyword-rotating-item {
    transition: none !important;
}

.hero-keyword-rotating.is-resetting .hero-keyword-rotating-item.is-current {
    transform: translateY(-50%);
    opacity: 1;
}

.hero-keyword-rotating.is-resetting .hero-keyword-rotating-item.is-next {
    transform: translateY(calc(-50% + 28px));
    opacity: 0;
}

.search-submit {
    display: flex;
    align-items: stretch;
    flex: 0 0 auto;
    padding-left: 4px;
}

.hero-search .search-submit .btn {
    min-width: 120px;
    min-height: 32px;
    border-radius: 8px;
    box-shadow: none;
    margin: 0;
    padding: 0 15px;
    font-size: 0.9rem;
    font-weight: 800;
}

.hero-search-submit-btn {
    white-space: nowrap;
    transform: none !important;
}

.hero-search-submit-btn:hover,
.hero-search-submit-btn:active {
    transform: none !important;
    box-shadow: none;
}

.hero-type-trigger:hover,
.hero-type-trigger:focus-visible {
    background: transparent;
    color: #1A2258;
}

.hero-type-trigger:hover .hero-type-trigger-value,
.hero-type-trigger:focus-visible .hero-type-trigger-value,
.hero-type-trigger:hover .filter-button-icon,
.hero-type-trigger:focus-visible .filter-button-icon {
    color: #1A2258;
}

.hero-search .filter-button-icon {
    color: #1A2258;
    width: 12px;
    height: 12px;
    flex: 0 0 12px;
}

.hero-search .filter-button-icon svg,
.hero-search .filter-button-icon i {
    font-size: 14px;
}

.summary-card strong,
.stat-card strong,
.price-row {
    color: var(--price-color);
}

.quick-chips,
.preset-chips,
.facility-chips,
.active-filter-chips,
.quick-links-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.chip,
.mini-chip,
.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 999px;
    transition: var(--transition);
}

.chip {
    padding: 0.75rem 1rem;
    background: #fff;
    border: 1px solid var(--border);
    font-weight: 600;
}

.chip:hover,
.mini-chip:hover,
.badge:hover {
    transform: translateY(-1px);
}

.chip.active {
    background: rgba(47, 85, 183, 0.08);
    border-color: rgba(47, 85, 183, 0.2);
    color: var(--primary-blue);
}

.stats-section,
.listing-preview,
.content-section,
.cta-section,
.listing-results-section,
.detail-main,
.detail-footer-links {
    padding: 32px 0 64px;
}

.stats-grid,
.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.stat-card,
.summary-card,
.panel-card,
.info-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 22px;
    box-shadow: var(--shadow-sm);
}

.stat-card strong,
.summary-card strong {
    display: block;
    font-size: 1.8rem;
    margin-bottom: 6px;
}

.stat-card span,
.summary-card span {
    color: var(--text-secondary);
}

.community-stats-section {
    padding: 32px 0;
    background: transparent;
}

.community-stats-container {
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto;
    min-height: 150px;
    display: grid;
    grid-template-columns: 1.15fr repeat(4, minmax(0, 1fr));
    align-items: stretch;
    gap: 14px;
    padding: 24px 28px;
    border-radius: 24px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.72) 0%, rgba(255, 255, 255, 0.56) 100%),
        radial-gradient(circle at 1px 1px, rgba(37, 99, 235, 0.14) 1px, transparent 0);
    background-size: auto, 16px 16px;
    border: 1px solid rgba(148, 163, 184, 0.34);
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.08), inset 0 0 0 1px rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(8px);
    overflow: hidden;
    position: relative;
}

.community-stats-container::before {
    content: "";
    position: absolute;
    left: -20px;
    bottom: -28px;
    width: 130px;
    height: 130px;
    background: rgba(255, 255, 255, 0.52);
    border-radius: 50%;
}

.community-info {
    position: relative;
    z-index: 2;
}

.community-info h2 {
    margin: 0 0 10px;
    font-size: 20px;
    line-height: 1.12;
    font-weight: 800;
    color: #0b1b46;
    letter-spacing: -0.3px;
}

.community-info p {
    margin: 0;
    max-width: 180px;
    font-size: 12px;
    line-height: 1.5;
    color: #68738a;
}

.small-line {
    display: block;
    width: 42px;
    height: 3px;
    margin-top: 14px;
    border-radius: 999px;
    background: #f59e0b;
}

.stat-box {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 58px 1fr;
    align-items: center;
    gap: 14px;
    min-height: 122px;
    height: 100%;
    padding: 16px 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(148, 163, 184, 0.34);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.07);
    transition: 0.25s ease;
}

.stat-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.12);
}

.stat-icon {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    font-size: 22px;
}

.stat-icon i {
    font-style: normal;
}

.stat-box-verified .stat-icon {
    background: linear-gradient(135deg, #1e3a8a, #1d4ed8);
    color: #ffffff;
}

.stat-box-room .stat-icon {
    background: linear-gradient(135deg, #0f766e, #0ea5a4);
    color: #ffffff;
}

.stat-box-owner .stat-icon {
    background: linear-gradient(135deg, #7c3aed, #6366f1);
    color: #ffffff;
}

.stat-box-seeker .stat-icon {
    background: linear-gradient(135deg, #b45309, #f59e0b);
    color: #ffffff;
}

.stat-content strong {
    display: block;
    font-size: 28px;
    line-height: 1;
    font-weight: 800;
    color: #07143c;
}

.stat-content h3 {
    margin: 4px 0 4px;
    font-size: 13px;
    line-height: 1.2;
    font-weight: 800;
    color: #0b1b46;
}

.stat-content p {
    margin: 0;
    font-size: 11.5px;
    line-height: 1.45;
    color: #6b7280;
}

.community-illustration {
    position: relative;
    z-index: 2;
    height: 110px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.community-illustration img {
    max-width: 100%;
    max-height: 120px;
    object-fit: contain;
}

@media (max-width: 992px) {
    .community-stats-container {
        grid-template-columns: 1fr 1fr;
    }

    .community-info,
    .community-illustration {
        grid-column: span 2;
    }
}

@media (max-width: 600px) {
    .community-stats-container {
        width: min(100% - 28px, 1180px);
        grid-template-columns: 1fr;
        padding: 22px;
    }

    .community-info,
    .community-illustration {
        grid-column: auto;
    }

    .stat-box {
        grid-template-columns: 54px 1fr;
    }

    .community-info p {
        max-width: 100%;
    }
}

.section-head,
.dashboard-head,
.panel-head,
.listing-headline,
.detail-price-row,
.gallery-actions,
.modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.listing-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.listing-grid.view-list {
    grid-template-columns: 1fr;
}

.kos-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.kos-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.kos-thumb {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.kos-thumb img,
.detail-gallery img,
.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.kos-card:hover .kos-thumb img,
.detail-gallery .gallery-item:hover img,
.gallery-card:hover img {
    transform: scale(1.06);
}

.thumb-overlay-actions,
.thumb-count {
    position: absolute;
    z-index: 2;
}

.thumb-overlay-actions {
    top: 12px;
    right: 12px;
    display: flex;
    gap: 8px;
}

.icon-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 24px rgba(7, 17, 58, 0.14);
}

.thumb-count {
    left: 12px;
    bottom: 12px;
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    background: rgba(7, 17, 58, 0.72);
    color: #fff;
    font-size: 0.82rem;
}

.kos-card-body {
    padding: 20px;
}

.badge-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 12px;
}

.badge-row-main {
    display: flex;
    flex-wrap: nowrap;
    gap: 6px;
    min-width: 0;
    flex: 1 1 auto;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.badge-row-main::-webkit-scrollbar {
    display: none;
}

.badge {
    min-height: 30px;
    padding: 0 10px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: -0.005em;
    border: 1px solid transparent;
    white-space: nowrap;
    line-height: 1;
}

.badge-blue,
.badge-info {
    background: #F3F7FF;
    border-color: #DCE5F6;
    color: #0E1545;
}

.badge-pink {
    background: #FDEAF3;
    border-color: #F3D6E3;
    color: #8F2C61;
}

.badge-warning {
    background: var(--warning-badge);
    color: #92400e;
}

.badge-danger {
    background: var(--error-badge);
    color: #b91c1c;
}

.badge-success {
    background: var(--success-badge);
    color: #166534;
}

.badge-light,
.badge-muted {
    background: #F8FAFD;
    border-color: #E0E6F2;
    color: #445074;
}

.badge-icon {
    width: 16px;
    height: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 16px;
}

.badge-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.badge-menu {
    position: relative;
    flex: 0 0 auto;
}

.badge-menu-trigger {
    width: 34px;
    height: 30px;
    border: 1px solid #DCE5F6;
    border-radius: 8px;
    background: #FFFFFF;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: #445074;
    transition: background .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease;
}

.badge-menu-trigger span {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: currentColor;
    display: block;
}

.badge-menu-trigger:hover,
.badge-menu-trigger.active {
    background: #F8FAFD;
    border-color: #C9D7F2;
    color: #0E1545;
}

.badge-menu-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    min-width: 132px;
    padding: 6px;
    border: 1px solid #E3E7F0;
    border-radius: 10px;
    background: #FFFFFF;
    box-shadow: 0 12px 24px rgba(17, 26, 68, 0.12);
    opacity: 0;
    transform: translateY(-4px);
    pointer-events: none;
    transition: opacity .18s ease, transform .18s ease;
    z-index: 15;
}

.badge-menu-dropdown.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.badge-menu-item {
    width: 100%;
    min-height: 36px;
    padding: 0 10px;
    border-radius: 8px;
    background: transparent;
    color: #111A44;
    font-size: 13px;
    font-weight: 700;
    text-align: left;
}

.badge-menu-item:hover {
    background: #F8FAFD;
    color: #2F55B7;
}

.price-row {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.price-row span {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 600;
}

.price-row.large {
    font-size: 2rem;
}

.kos-card h3 a:hover {
    color: var(--primary-blue);
}

.address-text,
.distance-text,
.availability-text,
.meta-rating {
    font-size: 0.94rem;
    margin-bottom: 12px;
}

.mini-chip {
    padding: 0.45rem 0.8rem;
    background: var(--section-bg);
    border: 1px solid var(--border);
    font-size: 0.82rem;
    font-weight: 600;
}

.owner-inline,
.owner-card {
    display: flex;
    align-items: center;
    gap: 12px;
}

.owner-initial {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(47, 85, 183, 0.12), rgba(47, 85, 183, 0.3));
    color: var(--primary-blue);
    display: grid;
    place-items: center;
    font-weight: 800;
    overflow: hidden;
}

.owner-initial.lg {
    width: 58px;
    height: 58px;
    font-size: 1.1rem;
}

.owner-initial img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.owner-inline span,
.owner-card span {
    display: block;
    color: var(--text-secondary);
    font-size: 0.88rem;
}

.card-bottom,
.card-actions,
.list-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.listing-top-section {
    padding: 28px 0 16px;
    background: linear-gradient(180deg, var(--light-blue), #fff);
}

.listing-searchbar {
    display: flex;
    align-items: center;
    gap: 14px;
}

.listing-search-input {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    padding: 0 14px;
    border: 1px solid var(--border);
    border-radius: 16px;
}

.listing-search-input input {
    border: 0;
    padding-left: 0;
    box-shadow: none;
}

.muted-icon {
    background: var(--section-bg);
}

.filter-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 18px;
}

.toolbar-left,
.view-toggle {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.dropdown-wrapper {
    position: relative;
}

.filter-toggle,
.view-btn {
    padding: 0.84rem 1rem;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #fff;
    font-weight: 700;
    color: var(--text-main);
    transition: var(--transition);
}

.filter-toggle:hover,
.view-btn:hover,
.view-btn.active,
.filter-toggle-primary {
    border-color: rgba(47, 85, 183, 0.22);
    background: var(--light-blue);
    color: var(--primary-blue);
}

.filter-toggle-primary {
    background: var(--primary-blue);
    color: #fff;
}

.filter-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    min-width: 320px;
    max-width: 760px;
    padding: 0;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
    z-index: 50;
}

.filter-dropdown.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.large-panel {
    width: min(760px, 85vw);
}

.filter-panel {
    padding: 20px;
}

.filter-actions,
.form-actions,
.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 20px;
}

.facility-group {
    margin-top: 18px;
}

.checkbox-grid,
.radio-list,
.form-row,
.detail-list-grid,
.contact-lines,
.about-grid,
.auth-layout,
.detail-admin-grid {
    display: grid;
    gap: 16px;
}

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

.checkbox-grid label,
.radio-list label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0.8rem 0.9rem;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #fff;
}

.checkbox-grid input,
.radio-list input {
    width: auto;
}

.listing-headline {
    margin-top: 22px;
    align-items: flex-start;
}

.modal-overlay {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 24px;
    background: rgba(7, 17, 58, 0.56);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease, visibility .2s ease;
    z-index: 120;
}

.modal-overlay.open {
    opacity: 1;
    visibility: visible;
}

.modal-card {
    width: min(860px, 100%);
    max-height: 90vh;
    overflow: auto;
    background: #fff;
    border-radius: 28px 28px 0 0;
    padding: 24px;
    box-shadow: var(--shadow-lg);
    transform: translateY(30px);
    transition: transform .2s ease;
}

.modal-overlay.open .modal-card {
    transform: translateY(0);
}

.modal-close {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--section-bg);
    font-size: 1.5rem;
}

.empty-state {
    background: #fff;
    border: 1px dashed var(--border);
    border-radius: 24px;
    padding: 48px 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.empty-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    background: var(--light-blue);
    margin: 0 auto 14px;
}

.empty-icon .ph,
.empty-icon .ph-fill {
    font-size: 28px;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 28px;
}

.pagination a {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: #fff;
}

.pagination a.active {
    background: var(--primary-blue);
    color: #fff;
    border-color: var(--primary-blue);
}

.detail-subnav {
    position: sticky;
    top: 74px;
    z-index: 90;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid rgba(226, 230, 240, 0.7);
    backdrop-filter: blur(12px);
}

.detail-subnav-inner {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    padding: 14px 0;
}

.detail-subnav a {
    white-space: nowrap;
    color: var(--text-secondary);
    font-weight: 700;
}

.detail-subnav a:hover {
    color: var(--primary-blue);
}

.detail-hero {
    padding: 26px 0;
    background: var(--section-bg);
}

.detail-gallery {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-auto-rows: 220px;
    gap: 14px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 22px;
}

.gallery-item-large {
    grid-row: span 2;
}

.detail-layout {
    display: grid;
    grid-template-columns: 1.5fr 0.75fr;
    gap: 28px;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin: 26px 0;
}

.detail-panel {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 24px;
    margin-bottom: 18px;
    box-shadow: var(--shadow-sm);
}

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

.detail-list-grid div,
.contact-lines div {
    padding: 0.8rem 0.95rem;
    border-radius: 14px;
    background: var(--section-bg);
}

.detail-list-grid strong,
.contact-lines strong {
    display: block;
    margin-bottom: 4px;
}

.detail-address {
    font-size: 1rem;
}

.sticky-card {
    position: sticky;
    top: 120px;
}

.contact-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 22px;
    box-shadow: var(--shadow-md);
}

.contact-note {
    font-size: 0.88rem;
    margin-top: 14px;
}

.map-embed iframe {
    width: 100%;
    min-height: 360px;
    border: 0;
    border-radius: 20px;
}

.map-fallback {
    background: var(--section-bg);
    border-radius: 20px;
    padding: 22px;
}

.quick-links-grid {
    gap: 14px;
}

.quick-links-grid a {
    padding: 1rem 1.1rem;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
}

.simple-hero {
    padding: 70px 0 30px;
    background: linear-gradient(180deg, var(--light-blue), #fff);
}

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

.about-hero-minimal {
    padding: 70px 0 34px;
    background:
        radial-gradient(120% 90% at 100% 0%, rgba(47, 85, 183, 0.12) 0%, rgba(47, 85, 183, 0) 56%),
        linear-gradient(180deg, #F5F8FF 0%, #FFFFFF 100%);
}

.about-hero-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 24px;
    align-items: start;
}

.about-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #3E4E79;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.about-kicker::before {
    content: "";
    width: 26px;
    height: 1px;
    background: #9FB2DD;
    border-radius: 999px;
}

.about-hero-copy h1 {
    margin-top: 14px;
    margin-bottom: 14px;
    font-size: clamp(1.85rem, 2.8vw, 2.5rem);
    line-height: 1.2;
}

.about-hero-copy p {
    color: #536085;
    max-width: 68ch;
}

.about-hero-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.about-hero-metrics {
    display: grid;
    gap: 12px;
}

.about-metric-card {
    border: 1px solid #DFE7F4;
    border-radius: 16px;
    background: #FFFFFF;
    padding: 14px 16px;
    box-shadow: 0 8px 24px rgba(20, 37, 84, 0.06);
}

.about-metric-card strong {
    display: block;
    margin-bottom: 5px;
    color: #122047;
}

.about-metric-card span {
    color: #556286;
    font-size: 0.95rem;
    line-height: 1.5;
}

.about-section-clean {
    padding: 12px 0 44px;
}

.about-section-head {
    margin-bottom: 18px;
}

.about-section-head h2 {
    margin-bottom: 6px;
}

.about-section-head p {
    color: #5A6688;
    max-width: 72ch;
}

.about-value-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.about-value-card {
    border: 1px solid #E0E7F5;
    border-radius: 16px;
    padding: 18px;
    background: #FFFFFF;
    box-shadow: 0 8px 24px rgba(20, 37, 84, 0.05);
}

.about-value-card h3 {
    margin-bottom: 8px;
    color: #152650;
    font-size: 1.03rem;
}

.about-value-card p {
    margin: 0;
    color: #5A6688;
}

.about-workflow {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 16px;
}

.about-workflow-copy,
.about-limit-card {
    border: 1px solid #E0E7F5;
    border-radius: 16px;
    background: #FFFFFF;
    padding: 20px;
    box-shadow: 0 8px 24px rgba(20, 37, 84, 0.05);
}

.about-workflow-copy h2,
.about-limit-card h3 {
    margin-bottom: 10px;
}

.about-workflow-copy p,
.about-limit-card p {
    color: #586486;
}

.about-workflow-list {
    margin: 14px 0 0;
    padding-left: 18px;
    color: #2E3A5F;
    display: grid;
    gap: 8px;
}

.auth-section {
    padding: 52px 0 72px;
    background: linear-gradient(180deg, var(--light-blue), #fff);
}

.auth-layout {
    grid-template-columns: 1fr minmax(320px, 460px);
    align-items: center;
}

.auth-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 28px;
    padding: 28px;
    box-shadow: var(--shadow-md);
}

.auth-footnote {
    margin-top: 16px;
    font-size: 0.95rem;
}

.auth-modal-open {
    overflow: hidden;
}

.auth-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(7, 14, 53, 0.55);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .25s ease;
}

.auth-modal-overlay.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.auth-modal-overlay.mode-login {
    background: rgba(17, 26, 68, 0.42);
}

.auth-modal-overlay.mode-register {
    background: rgba(17, 26, 68, 0.42);
}

.auth-modal-card {
    position: relative;
    width: min(920px, 100%);
    min-height: 620px;
    max-height: 92vh;
    margin: auto;
    background: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 24px 70px rgba(7, 14, 53, 0.28);
    display: grid;
    grid-template-columns: 40% 60%;
    overflow: hidden;
    transform: translateY(18px) scale(.98);
    opacity: 0;
    transition: transform .25s ease, opacity .25s ease;
}

.auth-modal-overlay.show .auth-modal-card {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.auth-modal-illustration {
    background: linear-gradient(180deg, #EEF4FF 0%, #F7F8FC 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 28px;
    position: relative;
    overflow: hidden;
}

.auth-illustration-scene {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 320px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 18px;
}

.auth-illustration-sun {
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: #FFE8A3;
    top: 16%;
    left: 50%;
    transform: translateX(-50%);
}

.auth-illustration-building {
    position: relative;
    z-index: 1;
    border-radius: 20px 20px 8px 8px;
    background: linear-gradient(180deg, #6E8EE8 0%, #2F55B7 100%);
    box-shadow: 0 20px 40px rgba(47, 85, 183, 0.2);
}

.auth-illustration-building::before {
    content: "";
    position: absolute;
    inset: 18px 16px;
    border-radius: 12px;
    background:
        linear-gradient(90deg, rgba(255,255,255,0.78) 0 18%, transparent 18% 28%, rgba(255,255,255,0.78) 28% 46%, transparent 46% 56%, rgba(255,255,255,0.78) 56% 74%, transparent 74% 84%, rgba(255,255,255,0.78) 84% 100%),
        linear-gradient(180deg, rgba(255,255,255,0.94) 0 16%, transparent 16% 28%, rgba(255,255,255,0.94) 28% 44%, transparent 44% 56%, rgba(255,255,255,0.94) 56% 72%, transparent 72% 84%, rgba(255,255,255,0.94) 84% 100%);
    opacity: .7;
}

.auth-illustration-building-left,
.auth-illustration-building-right {
    width: 92px;
    height: 220px;
}

.auth-illustration-building-main {
    width: 140px;
    height: 300px;
}

.auth-modal-content {
    padding: 46px 36px 28px;
    overflow-y: auto;
}

.auth-modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    color: #111A44;
    font-size: 26px;
    font-weight: 800;
    cursor: pointer;
    z-index: 5;
}

.auth-title {
    font-size: 24px;
    font-weight: 900;
    color: #111A44;
    margin: 0 0 18px;
}

.auth-feedback {
    margin-bottom: 16px;
    padding: 12px 14px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.55;
}

.auth-feedback-error {
    background: rgba(236, 92, 84, 0.12);
    border: 1px solid rgba(236, 92, 84, 0.2);
    color: #B42318;
}

.auth-feedback-success {
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.18);
    color: #15803D;
}

.auth-role-tabs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    background: #F7F8FC;
    border-radius: 8px;
    padding: 4px;
    margin-bottom: 16px;
}

.login-tabs {
    grid-template-columns: repeat(3, 1fr);
}

.auth-role-option {
    position: relative;
    cursor: pointer;
}

.auth-role-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.auth-role-option span {
    height: 44px;
    border-radius: 6px;
    color: #111A44;
    font-size: 14px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .2s ease;
}

.auth-role-option input:checked + span {
    background: #FFFFFF;
    color: #2F55B7;
    box-shadow: 0 4px 14px rgba(17, 26, 68, 0.1);
}

.auth-form-row.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.auth-field,
.auth-phone-field {
    height: 48px;
    border: 1px solid #E3E7F0;
    border-radius: 8px;
    background: #FFFFFF;
    display: flex;
    align-items: center;
    margin-bottom: 16px;
    overflow: hidden;
    transition: all .2s ease;
}

.auth-field:focus-within,
.auth-phone-field:focus-within {
    border-color: #2F55B7;
    box-shadow: 0 0 0 3px rgba(47, 85, 183, 0.1);
}

.auth-field input,
.auth-phone-field input {
    width: 100%;
    border: none;
    outline: none;
    padding: 0 18px;
    color: #111A44;
    font-size: 15px;
    background: transparent;
}

.auth-field input::placeholder,
.auth-phone-field input::placeholder {
    color: #A0A7BA;
}

.phone-prefix {
    height: 100%;
    padding: 0 14px;
    background: #EEF4FF;
    color: #2F55B7;
    font-weight: 800;
    display: flex;
    align-items: center;
    border-right: 1px solid #E3E7F0;
}

.auth-password-wrapper .toggle-password {
    width: 44px;
    height: 100%;
    border: none;
    background: transparent;
    color: #111A44;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 44px;
}

.auth-password-wrapper .toggle-password svg {
    width: 18px;
    height: 18px;
    display: block;
}

.owner-note {
    background: #EEF4FF;
    color: #111A44;
    border: 1px solid #D8E5FF;
    border-radius: 8px;
    padding: 12px 14px;
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 16px;
}

.auth-submit {
    width: 100%;
    height: 48px;
    border: none;
    border-radius: 8px;
    background: #2F55B7;
    color: #FFFFFF;
    font-weight: 900;
    cursor: pointer;
    transition: all .2s ease;
}

.auth-submit:hover {
    background: #2448A0;
    transform: translateY(-1px);
}

.auth-switch {
    text-align: center;
    color: #111A44;
    margin: 18px 0;
}

.auth-switch button,
.auth-inline-button {
    border: none;
    background: transparent;
    color: #2F55B7;
    font-weight: 900;
    cursor: pointer;
    padding: 0;
}

.auth-terms {
    text-align: center;
    color: #7A8499;
    font-size: 12px;
    line-height: 1.6;
    margin-top: 40px;
}

.auth-terms a,
.auth-assist a {
    color: #2F55B7;
    font-weight: 800;
    text-decoration: none;
}

.auth-assist {
    margin-top: 18px;
    display: flex;
    justify-content: center;
    gap: 8px;
    font-size: 13px;
    color: #7A8499;
    flex-wrap: wrap;
}

.auth-assist-admin {
    margin-top: 10px;
}

.auth-login-panel {
    display: none;
}

.auth-modal-overlay.mode-login .auth-register-panel {
    display: none;
}

.auth-modal-overlay.mode-login .auth-login-panel {
    display: block;
}

.auth-modal-overlay.mode-register .auth-register-panel {
    display: block;
}

.dashboard-body {
    background: var(--section-bg);
    overflow: hidden;
}

.dashboard-layout {
    min-height: 100vh;
    height: 100vh;
    display: grid;
    grid-template-columns: 280px 1fr;
    background: #F3F6FC;
}

.dashboard-sidebar {
    min-height: 100vh;
    height: 100vh;
    background: #F9FBFF;
    border-right: 1px solid #DCE5F3;
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
    overflow: hidden;
}

.admin-sidebar {
    background: linear-gradient(180deg, #FCFDFF 0%, #F4F7FF 100%);
}

.sidebar-top {
    padding: 22px 20px;
    border-bottom: 1px solid #DCE5F3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.sidebar-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.admin-sidebar .sidebar-brand .brand-logo-full {
    max-width: 150px;
    height: auto;
}

.sidebar-user {
    padding: 1rem;
    border-radius: 18px;
    background: var(--light-blue);
    margin-bottom: 24px;
}

.sidebar-user span {
    display: block;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.sidebar-nav {
    flex: 1;
    min-height: 0;
    padding: 16px 12px;
    padding-bottom: 132px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    overflow-y: auto;
}

.sidebar-nav a {
    display: flex;
    align-items: center;
    min-height: 46px;
    padding: 0 14px;
    border-radius: 10px;
    color: #1E2D57;
    font-size: 14.5px;
    font-weight: 700;
    text-decoration: none;
    transition: all .2s ease;
    position: relative;
    gap: 10px;
}

.sidebar-nav a i {
    font-size: 1.3rem;
    width: 24px;
    flex: 0 0 24px;
    display: inline-flex;
    justify-content: center;
}

.sidebar-search-home-icon {
    position: relative;
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.sidebar-search-home-icon .ph-magnifying-glass {
    font-size: 1.3rem;
    line-height: 1;
}

.sidebar-search-home-icon .ph-house-simple {
    position: absolute;
    font-size: 0.68rem;
    line-height: 1;
    transform: translate(-1px, 1px);
}

.sidebar-nav a span {
    white-space: nowrap;
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
    background: #EAF1FF;
    color: #2C4EA8;
}

.sidebar-nav a.active::before {
    content: "";
    position: absolute;
    left: -12px;
    top: 8px;
    bottom: 8px;
    width: 4px;
    border-radius: 0 999px 999px 0;
    background: #2C4EA8;
}

.sidebar-account {
    margin-top: 0;
    flex-shrink: 0;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 5;
    padding: 14px 12px 18px;
    background: #F8FBFF;
    border-top: 1px solid #DCE5F3;
}

.admin-sidebar .sidebar-account {
    background: linear-gradient(180deg, rgba(252, 253, 255, 0.98) 0%, #EEF4FF 100%);
    box-shadow: 0 -8px 20px rgba(20, 37, 84, 0.08);
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
}

.sidebar-account {
    position: relative;
}

.sidebar-account-card {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    padding: 10px;
    border: 1px solid #D6E1F2;
    border-radius: 14px;
    background: #F4F8FF;
}

.sidebar-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #D6E3FF;
    color: #2C4EA8;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.sidebar-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.sidebar-account-info strong {
    display: block;
    color: #1B2A53;
    font-size: 14px;
    font-weight: 900;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-account-info span {
    display: block;
    color: #6F7C98;
    font-size: 12px;
    margin-top: 2px;
}

.sidebar-account-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    margin-left: auto;
}

.sidebar-account-icon-btn {
    width: 34px;
    height: 34px;
    border: 1px solid #D6E1F2;
    border-radius: 9px;
    background: #FFFFFF;
    color: #5F6E8E;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
    transition: all .2s ease;
    flex: 0 0 34px;
}

.sidebar-account-icon-btn i {
    font-size: 1rem;
}

.sidebar-account-icon-btn:hover {
    background: #EAF1FF;
    color: #2C4EA8;
    border-color: #C8D9FF;
}

.sidebar-account-toggle {
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 8px;
    background: #FFFFFF;
    color: #111A44;
    cursor: pointer;
}

.sidebar-account-menu {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 84px;
    background: #FFFFFF;
    border: 1px solid #E3E7F0;
    border-radius: 12px;
    box-shadow: 0 14px 34px rgba(17, 26, 68, 0.16);
    padding: 8px;
    z-index: 20;
}

.sidebar-account-menu button,
.sidebar-account-menu a {
    width: 100%;
    min-height: 38px;
    border: none;
    background: transparent;
    color: #111A44;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    padding: 0 10px;
    border-radius: 8px;
    cursor: pointer;
}

.sidebar-account-menu button:hover,
.sidebar-account-menu a:hover {
    background: #EEF4FF;
    color: #2F55B7;
}

.sidebar-inline-toggle {
    width: 40px;
    height: 40px;
    border: 1px solid #E3E7F0;
    border-radius: 10px;
    background: #FFFFFF;
    color: #111A44;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.sidebar-inline-toggle i {
    font-size: 1.35rem;
}

body.admin-sidebar-collapsed .dashboard-layout {
    grid-template-columns: 88px 1fr;
}

html.preload-admin-collapsed body.dashboard-body .dashboard-layout {
    grid-template-columns: 88px 1fr;
}

body.admin-sidebar-collapsed .sidebar-nav a {
    justify-content: center;
    padding: 0 8px;
    gap: 0;
}

html.preload-admin-collapsed body.dashboard-body .sidebar-nav a {
    justify-content: center;
    padding: 0 8px;
    gap: 0;
}

body.admin-sidebar-collapsed .sidebar-nav a::before {
    left: -10px;
}

body.admin-sidebar-collapsed .sidebar-account-info,
body.admin-sidebar-collapsed .sidebar-account-menu,
body.admin-sidebar-collapsed .sidebar-account-toggle,
body.admin-sidebar-collapsed .admin-sidebar .sidebar-brand .brand-logo-full {
    display: none;
}

html.preload-admin-collapsed body.dashboard-body .sidebar-account-info,
html.preload-admin-collapsed body.dashboard-body .sidebar-account-menu,
html.preload-admin-collapsed body.dashboard-body .sidebar-account-toggle,
html.preload-admin-collapsed body.dashboard-body .admin-sidebar .sidebar-brand .brand-logo-full {
    display: none;
}

body.admin-sidebar-collapsed .sidebar-nav a > span:last-child {
    display: none;
}

html.preload-admin-collapsed body.dashboard-body .sidebar-nav a > span:last-child {
    display: none;
}

body.admin-sidebar-collapsed .sidebar-search-home-icon {
    display: inline-flex;
}

html.preload-admin-collapsed body.dashboard-body .sidebar-search-home-icon {
    display: inline-flex;
}

body.admin-sidebar-collapsed .sidebar-top {
    justify-content: center;
    padding-left: 0;
    padding-right: 0;
    gap: 0;
}

html.preload-admin-collapsed body.dashboard-body .sidebar-top {
    justify-content: center;
    padding-left: 0;
    padding-right: 0;
    gap: 0;
}

body.admin-sidebar-collapsed .sidebar-account-card {
    grid-template-columns: 1fr;
    justify-items: center;
}

html.preload-admin-collapsed body.dashboard-body .sidebar-account-card {
    grid-template-columns: 1fr;
    justify-items: center;
}

body.admin-sidebar-collapsed .sidebar-top .sidebar-brand,
html.preload-admin-collapsed body.dashboard-body .sidebar-top .sidebar-brand {
    display: none;
}

.dashboard-content {
    padding: 30px;
    font-size: 15.5px;
    height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
}

.dashboard-head {
    margin-bottom: 20px;
}

.dashboard-head-actions {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.dashboard-stats {
    margin-bottom: 20px;
    grid-template-columns: 1.1fr repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.pemilik-dashboard-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.dashboard-stats .stat-card {
    border-radius: 18px;
    padding: 18px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.stat-card-featured {
    grid-row: span 2;
    background: linear-gradient(145deg, #2f55b7 0%, #1d3f9c 100%);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 18px;
    padding: 22px 20px;
}

.stat-featured-head {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.stat-featured-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 900;
    flex: 0 0 auto;
}

.stat-featured-icon .ph-bed {
    color: #ffffff;
    font-weight: 900;
}

.stat-card-featured .stat-card-title {
    font-size: 1.06rem;
    font-weight: 800;
    line-height: 1.25;
    opacity: 0.98;
}

.stat-card-featured strong {
    color: #ffffff;
    font-size: 3.6rem;
    line-height: 1;
    margin: 10px 0 8px;
    letter-spacing: -0.02em;
}

.stat-card-featured .stat-trend-row span:last-child {
    color: rgba(255, 255, 255, 0.88);
}

.stat-card-modern {
    display: grid;
    grid-template-columns: 48px 1fr;
    grid-template-rows: auto auto;
    column-gap: 12px;
    row-gap: 8px;
    align-items: start;
}

.stat-card-modern .stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: #edf3ff;
    color: #2f55b7;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    grid-row: span 2;
}

.stat-card-modern .stat-body span {
    display: block;
    font-size: 0.84rem;
    color: #67748f;
    margin-bottom: 4px;
}

.stat-card-modern .stat-body strong {
    font-size: 2rem;
    line-height: 1;
    margin: 0;
}

.stat-trend-row {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.trend-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.78rem;
    font-weight: 900;
    line-height: 1;
    padding: 6px 10px;
    border-radius: 999px;
}

.trend-up {
    color: #16a34a;
    background: #e6fbef;
    border: 1px solid #a7eec7;
}

.trend-down {
    color: #dc2626;
    background: #ffedf0;
    border: 1px solid #ffc7cf;
}

.stat-trend-row .trend-badge.trend-up,
.stat-trend-row .trend-badge.trend-up * {
    color: #16a34a !important;
}

.stat-trend-row .trend-badge.trend-down,
.stat-trend-row .trend-badge.trend-down * {
    color: #dc2626 !important;
}

.trend-flat {
    color: #667085;
    background: #f2f4f7;
    border: 1px solid #e4e7ec;
}

.stat-trend-row span:last-child {
    font-size: 0.8rem;
    color: #6b7894;
}

.dashboard-panels {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.dashboard-content {
    transition: opacity .2s ease, transform .2s ease;
}

body.admin-nav-loading .dashboard-content {
    opacity: 0.45;
    transform: translateY(4px);
    pointer-events: none;
}

.panel-card {
    margin-bottom: 20px;
}

.dashboard-panels .panel-card {
    margin-bottom: 0;
}

.panel-scroll {
    display: flex;
    flex-direction: column;
    min-height: 470px;
}

.panel-scroll .panel-head {
    flex: 0 0 auto;
    align-items: center;
    margin-bottom: 12px;
}

.panel-scroll .panel-head .btn {
    align-self: center;
}

.panel-scroll .table-wrap {
    flex: 1;
    min-height: 0;
    overflow: auto;
    border-radius: 14px;
    border: 1px solid #e9edf6;
}

.panel-scroll .data-table {
    min-width: 640px;
}

.panel-scroll .data-table thead th {
    position: sticky;
    top: 0;
    z-index: 2;
    background: #ffffff;
}

.panel-scroll-rows-5 {
    min-height: auto;
}

.panel-scroll-rows-5 .table-wrap {
    max-height: 355px;
}

.admin-table-panel {
    gap: 0;
}

.admin-status-select {
    min-width: 128px;
    height: 38px;
    padding: 0 38px 0 12px;
    border-radius: 10px;
    border: 1px solid #d7e1f2;
    background-color: #ffffff;
    color: #182a58;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
}

.admin-status-select:focus {
    border-color: #2f55b7;
    box-shadow: 0 0 0 3px rgba(47, 85, 183, 0.12);
}

body.dashboard-body .dashboard-content select,
body.dashboard-body .dashboard-content .inline-form select,
body.dashboard-body .dashboard-content .form-inline select {
    -webkit-appearance: none;
    appearance: none;
    min-height: 40px;
    border-radius: 11px;
    border: 1px solid #d7e1f2;
    background-color: #ffffff;
    background-image:
        linear-gradient(45deg, transparent 50%, #5671af 50%),
        linear-gradient(135deg, #5671af 50%, transparent 50%);
    background-position:
        calc(100% - 16px) calc(50% - 2px),
        calc(100% - 11px) calc(50% - 2px);
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
    color: #182a58;
    font-size: 13px;
    font-weight: 700;
    padding: 0 32px 0 12px;
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

body.dashboard-body .dashboard-content select:hover {
    border-color: #bdcbea;
    background-color: #fbfdff;
}

body.dashboard-body .dashboard-content select:focus {
    border-color: #2f55b7;
    box-shadow: 0 0 0 3px rgba(47, 85, 183, 0.12);
}

body.dashboard-body .dashboard-content select:active {
    border-color: #2f55b7;
    box-shadow: 0 0 0 3px rgba(47, 85, 183, 0.1);
}

body.dashboard-body .dashboard-content select option {
    background: #ffffff;
    color: #172554;
    font-size: 13px;
    font-weight: 600;
}

body.dashboard-body .dashboard-content select option:checked {
    background: #eaf2ff;
    color: #1e3a8a;
    font-weight: 700;
}

.admin-native-select-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.admin-select {
    position: relative;
    width: 100%;
    min-width: 128px;
}

.admin-select-trigger {
    width: 100%;
    min-height: 40px;
    border-radius: 11px;
    border: 1px solid #d7e1f2;
    background: #ffffff;
    color: #182a58;
    padding: 0 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-size: 13px;
    font-weight: 700;
    text-align: left;
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.admin-select-trigger:hover {
    border-color: #bdcbea;
    background: #fbfdff;
}

.admin-select.is-open .admin-select-trigger {
    border-color: #2f55b7;
    box-shadow: 0 0 0 3px rgba(47, 85, 183, 0.12);
}

.admin-select-trigger-icon {
    color: #5671af;
    font-size: 0.95rem;
    line-height: 1;
}

.admin-select-list {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 6px);
    background: #ffffff;
    border: 1px solid #d7e1f2;
    border-radius: 11px;
    box-shadow: 0 14px 32px rgba(17, 26, 68, 0.18);
    padding: 6px;
    z-index: 70;
    max-height: 232px;
    overflow-y: auto;
}

.admin-select-option {
    width: 100%;
    min-height: 34px;
    border-radius: 8px;
    border: none;
    background: transparent;
    color: #182a58;
    padding: 0 10px;
    text-align: left;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.admin-select-option:hover {
    background: #eff5ff;
    color: #2347a8;
}

.admin-select-option.is-selected {
    background: #e8f1ff;
    color: #1f44a3;
    font-weight: 700;
}

.admin-status-save-wrap {
    display: flex;
    justify-content: flex-end;
    padding-top: 12px;
}

.admin-status-save-wrap .btn {
    min-width: 148px;
}

.table-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.admin-table-actions {
    flex-wrap: nowrap;
    gap: 10px;
}

.admin-table-actions .btn {
    flex: 1 1 0;
    min-width: 86px;
    justify-content: center;
}

.admin-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 98px;
    border: 1px solid transparent;
    font-weight: 800;
}

.admin-action-btn i {
    font-size: 14px;
    line-height: 1;
}

.admin-action-edit {
    color: #1d4ed8;
    background: #e8f0ff;
    border-color: #bfd4ff;
}

.admin-action-edit:hover {
    background: #dbe9ff;
}

.admin-action-password {
    color: #7c3aed;
    background: #f1e9ff;
    border-color: #dac7ff;
}

.admin-action-password:hover {
    background: #e8dbff;
}

.admin-action-photo {
    color: #0f766e;
    background: #e6f8f6;
    border-color: #b7ece7;
}

.admin-action-photo:hover {
    background: #d9f2ef;
}

.admin-action-delete {
    color: #b91c1c;
    background: #ffe8e8;
    border-color: #ffc3c3;
}

.admin-action-delete:hover {
    background: #ffdede;
}

.admin-data-table th,
.admin-data-table td {
    vertical-align: middle;
}

.admin-data-table {
    width: 100%;
}

.admin-data-table th,
.admin-data-table td {
    padding-left: 10px;
    padding-right: 10px;
}

.admin-data-table th {
    text-align: center;
}

.btn-sm {
    height: 36px;
    padding: 0 11px;
    font-size: 12.5px;
}

.admin-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(7, 14, 53, 0.5);
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.admin-modal-overlay.show {
    display: flex;
}

.admin-modal {
    width: min(520px, 100%);
    background: #FFFFFF;
    border: 1px solid #e6ecf7;
    border-radius: 16px;
    box-shadow: 0 18px 48px rgba(7, 14, 53, 0.24);
    overflow: hidden;
}

.admin-modal-head {
    padding: 18px 22px;
    border-bottom: 1px solid #E3E7F0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.admin-modal-head h3 {
    margin: 0;
    color: #111A44;
    font-size: 18px;
    font-weight: 900;
}

.admin-modal-body {
    padding: 22px;
}

.admin-modal .form-group label {
    display: block;
    margin: 0 0 8px;
    color: #334268;
    font-size: 13px;
    font-weight: 700;
}

.admin-modal .form-group input {
    height: 44px;
    border-radius: 12px;
    border: 1px solid #d8e2f2;
    background: #fff;
}

.admin-modal .form-group input:focus {
    border-color: #2f55b7;
    box-shadow: 0 0 0 3px rgba(47, 85, 183, 0.12);
}

.admin-modal-actions {
    padding: 16px 22px;
    border-top: 1px solid #E3E7F0;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.profile-upload-preview {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
    padding: 12px;
    border-radius: 12px;
    background: #f7faff;
    border: 1px solid #e4ecfb;
}

.profile-preview-avatar {
    width: 74px;
    height: 74px;
    border-radius: 50%;
    background: #DDE7FF;
    color: #2F55B7;
    font-size: 22px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.profile-preview-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.table-wrap {
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th,
.data-table td {
    padding: 16px 14px;
    text-align: left;
    border-bottom: 1px solid var(--border);
    vertical-align: top;
}

.data-table th {
    font-size: 0.82rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.data-table td small {
    display: block;
    color: var(--text-secondary);
}

@media (max-width: 1240px) {
    .panel-scroll {
        min-height: 420px;
    }
}

@media (max-width: 900px) {
    .dashboard-content {
        padding: 20px;
    }

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

    .pemilik-dashboard-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .stat-card-featured {
        grid-column: span 2;
        grid-row: auto;
    }
}

@media (max-width: 640px) {
    .dashboard-stats {
        grid-template-columns: 1fr;
    }

    .pemilik-dashboard-stats {
        grid-template-columns: 1fr;
    }

    .stat-card-featured {
        grid-column: auto;
    }

    .panel-scroll {
        min-height: 380px;
    }
}

.table-actions,
.inline-form,
.form-inline {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.form-grid {
    display: grid;
    gap: 18px;
}

.form-row.two-col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-row.three-col {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.form-row.four-col {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.compact-form {
    gap: 12px;
}

.compact-form .panel-head h2 {
    margin: 0;
}

.compact-form .form-row {
    gap: 12px;
}

.compact-form .form-actions {
    margin-top: 8px;
}

.form-group label {
    display: block;
    font-size: 0.86rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gallery-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.gallery-card img {
    aspect-ratio: 4 / 3;
}

.gallery-card-body {
    padding: 14px;
}

.upload-preview {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: 14px;
}

.preview-thumb {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: #fff;
}

.preview-thumb img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

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

.site-footer {
    background: var(--dark-navy);
    color: #fff;
    margin-top: 32px;
}

.site-footer p,
.site-footer a {
    color: rgba(255, 255, 255, 0.76);
}

.site-footer a:hover {
    color: #fff;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 24px;
    padding: 56px 0 28px;
}

.footer-grid h4 {
    margin-bottom: 12px;
}

.footer-grid a {
    display: block;
    margin-bottom: 10px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 18px 0;
}

.footer-brand {
    color: #fff;
    margin-bottom: 1rem;
}

.footer-brand .brand-logo-full {
    height: 150px;
}

.footer-logo-custom {
    height: 150px;
    width: auto;
    transform: translateY(-30px);
}

.back-to-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--primary-blue);
    color: #fff;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 110;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.skeleton {
    position: relative;
    overflow: hidden;
    background: #eef2f7;
}

.skeleton::after {
    content: '';
    position: absolute;
    inset: 0;
    transform: translateX(-100%);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.7), transparent);
    animation: shimmer 1.4s infinite;
}

.reveal-section,
.reveal-card {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .45s ease, transform .45s ease;
}

.revealed {
    opacity: 1;
    transform: translateY(0);
}

@keyframes shimmer {
    100% {
        transform: translateX(100%);
    }
}

@media (max-width: 1180px) {
    .detail-layout,
    .auth-layout,
    .detail-admin-grid {
        grid-template-columns: 1fr;
    }

    .hero-banner {
        min-height: 0;
        background-size:
            cover,
            cover,
            cover;
    }

    .hero-banner-inner {
        min-height: 0;
        padding: 32px 24px;
    }

    .hero-layout {
        display: block;
    }

    .hero-content {
        max-width: none;
    }

    .HomepagePromotional {
        width: 100%;
    }

    .homepage-promotional-shell {
        margin-top: 0;
    }

    .listing-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .stats-grid,
    .summary-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

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

@media (max-width: 992px) {
    .hero-section {
        padding-bottom: 0;
    }

    .hero-layout {
        display: block;
    }

    .hero-search.is-hero-dropdown-open {
        margin-bottom: 0;
    }

    .hero-search-main {
        grid-template-columns: 1fr;
        gap: 8px;
        border: 0;
        border-radius: 15px;
        background: transparent;
        box-shadow: none;
    }

    .hero-search-type::after {
        display: none;
    }

    .hero-search-type,
    .hero-search-keyword {
        border-radius: 14px;
        overflow: visible;
    }

    .hero-type-trigger {
        min-height: 46px;
        border-right: 0;
        border-radius: 14px;
        font-size: 1rem;
    }

    .hero-keyword-shell {
        flex-wrap: wrap;
        min-height: 46px;
        border: 1px solid #DFE5F1;
        border-radius: 14px;
        padding: 8px 12px 10px;
        background: #F6F7FB;
    }

    .hero-keyword-input-wrap {
        min-height: 32px;
        flex: 1 1 calc(100% - 34px);
    }

    .hero-keyword-shell input,
    .hero-keyword-rotating-item {
        font-size: 1.02rem;
    }

    .search-submit {
        width: 100%;
        padding-left: 0;
    }

    .hero-search .search-submit .btn {
        width: 100%;
        min-height: 42px;
        border-radius: 10px;
    }

    .hero-banner {
        background-size:
            cover,
            cover,
            cover;
        background-position:
            center,
            center center,
            center;
    }

    .hero-banner-inner {
        padding: 26px 20px 24px;
    }

    .homepage-promotional-shell {
        margin-top: 0;
        padding-top: 20px;
    }

    .HomepagePromotional__content {
        border-radius: 24px;
    }

    .HomepagePromotional__slide {
        min-height: 168px;
    }

    .hero-search .search-submit .btn {
        width: 100%;
    }

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

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

    .dashboard-sidebar {
        position: relative;
        height: auto;
        border-right: 0;
        border-bottom: 1px solid var(--border);
    }

    .stats-grid,
    .dashboard-stats,
    .summary-grid,
    .about-grid,
    .gallery-grid,
    .upload-preview {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .detail-gallery {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: 200px;
    }

    .gallery-item-large {
        grid-column: 1 / -1;
        grid-row: span 1;
    }
}

@media (max-width: 1100px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: calc(100% + 12px);
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        padding: 18px 16px 20px;
        border-radius: 22px;
        border: 1px solid rgba(227, 231, 240, 0.92);
        background: rgba(255, 255, 255, 0.98);
        box-shadow: 0 22px 42px rgba(17, 26, 68, 0.12);
        transform: translateY(-12px);
        opacity: 0;
        visibility: hidden;
        transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
    }

    .nav-menu.open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-links,
    .nav-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .nav-links {
        padding: 0;
        background: transparent;
        border: 0;
        gap: 8px;
    }

    .nav-links a {
        min-height: 46px;
        padding: 0 16px;
        background: #F8F9FD;
    }

    .nav-links a.active {
        box-shadow: none;
        background: #EEF4FF;
    }

    .about-hero-grid,
    .about-workflow {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 1100px) {
    .dashboard-layout {
        grid-template-columns: 1fr;
        position: relative;
    }

    .dashboard-sidebar.admin-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: min(86vw, 320px);
        height: 100vh;
        z-index: 1035;
        border-right: 1px solid var(--border);
        border-bottom: 0;
        transform: translateX(-108%);
        transition: transform .28s ease;
        box-shadow: 0 24px 56px rgba(15, 23, 42, 0.24);
    }

    body.admin-sidebar-open .dashboard-sidebar.admin-sidebar {
        transform: translateX(0);
    }

    .dashboard-content {
        min-width: 0;
    }

    body.admin-sidebar-open::before {
        content: "";
        position: fixed;
        inset: 0;
        background: rgba(15, 23, 42, 0.34);
        z-index: 1030;
    }
}

@media (max-width: 768px) {

    .hero-section {
        padding-bottom: 0;
    }

    .hero-search.is-hero-dropdown-open {
        margin-bottom: 0;
    }

    .hero-banner {
        background-image:
            linear-gradient(180deg, rgba(14, 31, 88, 0.96) 0%, rgba(37, 74, 176, 0.9) 100%),
            var(--hero-banner-bg-image, none),
            linear-gradient(180deg, #264db0 0%, #16357d 100%);
    }

    .hero-banner-people {
        right: 16px;
        bottom: -10px;
        width: clamp(220px, 56vw, 340px);
        height: clamp(240px, 54%, 320px);
        background-size: contain;
        background-position: right bottom;
        opacity: 0.9;
    }


    .hero-banner-inner {
        padding: 20px 16px 18px;
        gap: 18px;
    }

    .hero-layout {
        display: block;
    }

    .hero-search {
        padding: 8px;
        border-radius: 18px;
    }

    .hero-search-main {
        gap: 8px;
    }

    .hero-type-trigger,
    .hero-keyword-shell,
    .hero-search .search-submit .btn {
        min-height: 44px;
        border-radius: 14px;
    }

    .hero-keyword-shell {
        gap: 10px;
        padding: 8px 12px 10px;
    }

    .hero-type-trigger {
        font-size: 0.98rem;
    }

    .hero-keyword-shell input,
    .hero-keyword-rotating-item {
        font-size: 1rem;
    }

    .hero-type-dropdown {
        width: min(100%, calc(100vw - 32px));
    }

    .hero-type-grid {
        grid-template-columns: 1fr;
    }

    .HomepagePromotional__content {
        border-radius: 20px;
    }

    .homepage-promotional-shell {
        margin-top: 0;
        padding-bottom: 6px;
    }

    .HomepagePromotional__slide {
        min-height: 158px;
    }

    .HomepagePromotional__copy {
        gap: 8px;
        padding: 20px 16px;
    }

    .HomepagePromotional__copy strong {
        font-size: 1.08rem;
    }

    .HomepagePromotional__copy small {
        font-size: 0.84rem;
    }

    .HomepagePromotional__cta {
        min-height: 36px;
        font-size: 0.82rem;
    }

    .HomepagePromotional__dot {
        margin-top: 12px;
    }

    .filter-toolbar,
    .listing-headline,
    .section-head,
    .dashboard-head,
    .panel-head,
    .detail-price-row,
    .card-bottom {
        flex-direction: column;
        align-items: stretch;
    }

    .listing-searchbar {
        flex-wrap: wrap;
    }

    .listing-grid,
    .stats-grid,
    .dashboard-stats,
    .summary-grid,
    .about-grid,
    .about-value-grid,
    .gallery-grid,
    .upload-preview,
    .footer-grid,
    .checkbox-grid,
    .form-row.two-col,
    .form-row.three-col,
    .form-row.four-col {
        grid-template-columns: 1fr;
    }

    .listing-grid.view-list .kos-card {
        display: block;
    }

    .facilities-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .kos-card-listable {
        transition: opacity .2s ease, transform .2s ease;
    }

    .form-actions,
    .filter-actions,
    .modal-actions {
        flex-direction: column;
    }

    .detail-subnav {
        top: 0;
    }

    .modal-overlay {
        padding: 12px;
    }

    .about-hero-minimal {
        padding-top: 56px;
    }

    .about-hero-actions .btn {
        width: 100%;
    }
}

@media (min-width: 769px) {
    .listing-grid.view-list .kos-card-listable {
        display: grid;
        grid-template-columns: 320px 1fr;
        align-items: stretch;
    }

    .listing-grid.view-list .kos-thumb {
        aspect-ratio: auto;
        min-height: 100%;
    }
}

/* Listing + detail page visual refinement */
.badge-dark {
    background: rgba(7, 17, 58, 0.76);
    color: #fff;
}

.badge-success-soft {
    background: rgba(220, 252, 231, 0.92);
    color: #166534;
}

.listing-top-section {
    padding: 28px 0 18px;
    background:
        radial-gradient(circle at top left, rgba(47, 85, 183, 0.12), transparent 22%),
        linear-gradient(180deg, var(--light-blue), #fff);
}

.listing-shell {
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(47, 85, 183, 0.08);
    border-radius: 32px;
    padding: 26px;
    box-shadow: var(--shadow-md);
}

.listing-hero-copy {
    margin-bottom: 18px;
}

.listing-hero-copy h1 {
    font-size: clamp(1.9rem, 3vw, 3rem);
    margin-bottom: 0.8rem;
}

.listing-meta-inline,
.detail-title-actions,
.detail-trust-inline,
.detail-highlight-pills,
.detail-location-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.listing-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.7rem 0.95rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(47, 85, 183, 0.12);
    color: var(--text-secondary);
    font-weight: 600;
}

.listing-pill strong {
    color: var(--primary-blue);
}

.listing-searchbar.elevated {
    padding: 16px;
    border-radius: 28px;
    background: linear-gradient(180deg, #fff, rgba(255, 255, 255, 0.94));
}

.focusable-search {
    transition: var(--transition);
}

.focusable-search:focus-within {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 4px rgba(47, 85, 183, 0.1);
}

.search-icon {
    font-size: 1.25rem;
    color: var(--primary-blue);
}

.search-copy {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.search-copy label {
    font-size: 0.76rem;
    font-weight: 700;
    color: var(--text-secondary);
    margin-top: 2px;
}

.listing-search-submit {
    min-width: 136px;
}

.filter-toolbar {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid rgba(226, 230, 240, 0.9);
}

.filter-toggle.is-open {
    border-color: rgba(47, 85, 183, 0.22);
    background: var(--light-blue);
    color: var(--primary-blue);
}

.listing-headline-copy h2 {
    margin-bottom: 0.45rem;
}

.clear-chip {
    background: var(--dark-navy);
    color: #fff;
    border-color: var(--dark-navy);
}

.thumb-gradient {
    position: absolute;
    inset: auto 0 0 0;
    height: 45%;
    background: linear-gradient(180deg, rgba(7, 17, 58, 0) 0%, rgba(7, 17, 58, 0.68) 100%);
    z-index: 1;
}

.thumb-badges {
    position: absolute;
    left: 12px;
    top: 12px;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    max-width: calc(100% - 120px);
}

.top-badges {
    margin-bottom: 10px;
}

.card-price {
    margin-bottom: 12px;
}

.card-title {
    font-size: 1.12rem;
    margin-bottom: 0.55rem;
}

.rating-line {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.rating-score {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 800;
    color: #f59e0b;
}

.rating-meta {
    color: var(--text-secondary);
    font-size: 0.92rem;
}

.card-insight-row {
    display: grid;
    gap: 2px;
    margin: 10px 0 14px;
}

.listing-card-footer {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(226, 230, 240, 0.9);
}

.listing-grid.is-transitioning {
    pointer-events: none;
}

.listing-grid.is-transitioning .kos-card-listable {
    opacity: 0.55;
    transform: translateY(4px);
}

.listing-grid.view-list {
    gap: 18px;
}

.listing-grid.view-list .kos-card-listable .kos-card-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.listing-grid.view-list .listing-card-footer {
    margin-top: 18px;
}

.listing-grid.view-list .card-actions {
    flex-wrap: wrap;
}

.listing-grid.view-list .card-insight-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.detail-subnav a.is-active {
    color: var(--primary-blue);
}

.detail-subnav a.is-active::after {
    content: '';
    display: block;
    height: 2px;
    border-radius: 999px;
    background: var(--primary-blue);
    margin-top: 6px;
}

.detail-hero-shell {
    display: grid;
    gap: 18px;
}

.detail-header-card {
    background:
        radial-gradient(circle at top right, rgba(47, 85, 183, 0.12), transparent 32%),
        #fff;
    border: 1px solid rgba(47, 85, 183, 0.08);
    border-radius: 30px;
    padding: 26px;
    box-shadow: var(--shadow-md);
}

.detail-title-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
}

.detail-title-row h1 {
    font-size: clamp(2rem, 3vw, 3rem);
    margin-bottom: 0.7rem;
}

.hero-price-row {
    align-items: flex-end;
    margin-top: 6px;
}

.gallery-actions {
    justify-content: flex-end;
    align-items: center;
}

.gallery-count-label {
    color: var(--text-secondary);
    font-weight: 600;
}

.detail-overview-panel {
    margin-top: 2px;
}

.location-summary-card {
    padding: 18px;
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff, #f8faff);
    border: 1px solid var(--border);
    margin-bottom: 18px;
}

.summary-grid {
    margin: 10px 0 24px;
}

.summary-card {
    position: relative;
    overflow: hidden;
}

.summary-card::before {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: linear-gradient(180deg, var(--primary-blue), #7ea0f4);
}

.facility-detail-group + .facility-detail-group {
    margin-top: 18px;
}

.contact-card {
    background:
        linear-gradient(180deg, rgba(47, 85, 183, 0.08), transparent 24%),
        #fff;
    border: 1px solid rgba(47, 85, 183, 0.1);
    border-radius: 28px;
}

.contact-card-topline {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary-blue);
    font-weight: 800;
    margin-bottom: 12px;
}

.contact-lines {
    margin: 18px 0;
}

.contact-lines div {
    background: rgba(246, 247, 251, 0.92);
}

.quick-links-grid a:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.modal-body {
    display: grid;
    gap: 4px;
}

@media (max-width: 768px) {
    .listing-shell,
    .detail-header-card {
        padding: 20px;
        border-radius: 24px;
    }

    .detail-title-row,
    .gallery-actions {
        flex-direction: column;
        align-items: stretch;
    }
}

/* Public listing/property UI overrides */
body {
    background: var(--background);
    color: var(--text-main);
}

.navbar-wrapper {
    top: 0;
}

.navbar {
    padding: 0;
    background: transparent;
    border-bottom: 0;
}

.navbar.scrolled,
.navbar-solid {
    box-shadow: none;
}

.brand-public .brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-public .brand-copy small {
    font-size: 0.7rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.brand-public .brand-text {
    letter-spacing: -0.02em;
}

.nav-links a {
    font-size: 0.95rem;
}

.nav-actions .btn {
    height: 42px;
    min-height: 34px;
    padding-block: 0;
    padding-inline: 16px;
    border-radius: 12px;
    line-height: 1;
    box-sizing: border-box;
}

.top-search,
.filter-bar,
.listing-summary,
.view-toggle-wrap {
    margin-bottom: 16px;
}

.top-search-form {
    display: grid;
    grid-template-columns: 1fr 48px;
    gap: 12px;
}

.top-search-field {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 48px;
    padding: 0 16px;
    border-radius: 8px;
    border: 1px solid #C9D0E2;
    background: #fff;
    transition: all .2s ease;
}

.top-search-field:focus-within {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 4px rgba(47, 85, 183, 0.10);
}

.top-search-icon {
    color: var(--text-secondary);
    font-size: 1rem;
}

.top-search-field input {
    border: 0;
    padding: 0;
    box-shadow: none;
    background: transparent;
}

.top-search-bookmark {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--text-main);
    font-size: 1rem;
    transition: all .2s ease;
}

.top-search-bookmark:hover,
.subnav-action-btn:hover,
.image-action-btn:hover {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
    background: var(--light-blue);
}

.sr-only-submit {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.filter-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}

.filter-bar-left,
.filter-bar-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-toggle {
    min-height: 48px;
    padding: 14px 18px;
    border-radius: 8px;
    background: #F8F9FD;
    border: 1px solid transparent;
    color: var(--text-main);
    font-weight: 700;
    box-shadow: none;
}

.filter-toggle span {
    color: var(--text-secondary);
    margin-left: 4px;
}

.filter-toggle:hover,
.filter-toggle.is-open {
    background: #fff;
    border-color: var(--primary-blue);
}

.filter-toggle-primary {
    background: #F8F9FD;
    color: var(--text-main);
}

.filter-dropdown {
    top: calc(100% + 10px);
    border-radius: 10px;
    border: 1px solid var(--border);
    box-shadow: 0 18px 34px rgba(17, 26, 68, 0.12);
}

.price-dropdown {
    width: 420px;
}

.type-dropdown,
.sort-dropdown {
    width: 240px;
}

.facility-dropdown {
    width: 640px;
    max-height: 640px;
}

.facility-panel {
    padding: 0;
}

.facility-panel-body {
    max-height: 490px;
    overflow-y: auto;
    padding: 18px 20px 4px;
}

.facility-panel-body::-webkit-scrollbar {
    width: 8px;
}

.facility-panel-body::-webkit-scrollbar-thumb {
    background: #cfd7e8;
    border-radius: 999px;
}

.filter-panel-title {
    padding: 18px 20px 0;
}

.filter-panel.compact-panel {
    padding: 12px;
}

.option-list {
    display: grid;
    gap: 4px;
}

.option-item {
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 8px;
    padding: 12px 12px;
    transition: all .2s ease;
}

.option-item:hover {
    background: var(--section-bg);
}

.option-item input {
    width: auto;
}

.input-prefix {
    display: grid;
    grid-template-columns: 44px 1fr;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.input-prefix span {
    display: grid;
    place-items: center;
    color: var(--text-secondary);
    font-weight: 700;
    background: var(--section-bg);
    min-height: 46px;
}

.input-prefix input {
    border: 0;
    border-radius: 0;
    min-height: 46px;
}

.sticky-actions {
    position: sticky;
    bottom: 0;
    background: #fff;
    padding: 16px 20px;
    border-top: 1px solid var(--border);
    margin-top: 0;
}

.listing-summary {
    display: grid;
    gap: 8px;
}

.listing-summary-copy h1 {
    font-size: clamp(1.8rem, 2.5vw, 2.25rem);
    margin-bottom: 4px;
}

.listing-summary-copy p,
.filter-label {
    font-size: 0.95rem;
}

.active-filter-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    flex-wrap: wrap;
}

.view-toggle-wrap {
    display: flex;
    justify-content: flex-end;
}

.view-toggle {
    width: min(100%, 220px);
    background: var(--section-bg);
    border-radius: 10px;
    padding: 4px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
}

.view-btn {
    min-height: 42px;
    background: transparent;
    border: 0;
    border-radius: 8px;
    font-weight: 700;
}

.view-btn.active {
    background: #fff;
    box-shadow: 0 4px 14px rgba(17, 26, 68, 0.08);
}

.listing-results-section {
    padding-top: 8px;
}

.kos-grid {
    gap: 18px;
}

.kos-card {
    border-radius: 8px;
    border-color: var(--border);
    box-shadow: 0 6px 18px rgba(17, 26, 68, 0.06);
}

.kos-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 34px rgba(17, 26, 68, 0.10);
}

.kos-card-image {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--section-bg);
}

.kos-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all .2s ease;
}

.kos-card:hover .kos-card-image img {
    transform: scale(1.04);
}

.card-image-overlay {
    position: absolute;
    inset: auto 0 0 0;
    height: 42%;
    background: linear-gradient(180deg, rgba(17, 26, 68, 0), rgba(17, 26, 68, 0.6));
}

.image-floating-actions {
    position: absolute;
    top: 14px;
    right: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.image-action-btn {
    width: 38px;
    height: 38px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    color: #4A5678;
    border: 1px solid rgba(227, 231, 240, 0.92);
    box-shadow: 0 10px 18px rgba(17, 26, 68, 0.12);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.image-action-btn svg {
    width: 18px;
    height: 18px;
    display: block;
}

.image-action-btn i {
    font-size: 19px;
    line-height: 1;
}

.image-action-btn[data-share-button] {
    color: #111A44;
}

.image-action-btn:hover {
    transform: translateY(-1px);
    background: #FFFFFF;
    color: #111A44;
    border-color: rgba(210, 218, 233, 0.96);
    box-shadow: 0 12px 20px rgba(17, 26, 68, 0.16);
}

.image-action-btn.active {
    color: #2F55B7;
    background: #FFFFFF;
    border-color: rgba(47, 85, 183, 0.2);
}

.image-action-btn.is-favorite {
    background: #FFFFFF;
    color: #E11D48;
    border-color: rgba(225, 29, 72, 0.18);
    box-shadow: 0 12px 22px rgba(17, 26, 68, 0.16);
}

.image-action-btn.is-favorite i {
    font-size: 20px;
}

.image-count-badge {
    position: absolute;
    right: 12px;
    bottom: 12px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(17, 26, 68, 0.78);
    color: #fff;
    font-size: 0.74rem;
    font-weight: 700;
}

.image-count-badge .ph,
.image-count-badge .ph-fill {
    font-size: 16px;
}

.kos-card-body {
    padding: 16px;
}

.badge {
    border-radius: 999px;
    font-size: 0.72rem;
}

.price-row {
    font-size: 1.4rem;
    margin-bottom: 8px;
}

.card-title {
    font-size: 1.05rem;
}

.address-text,
.card-description,
.distance-text,
.availability-text,
.rating-meta {
    color: var(--text-secondary);
}

.card-description {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 44px;
    margin-bottom: 12px;
}

.facility-chip,
.facility-chips .mini-chip {
    padding: 7px 10px;
    background: #F3F6FB;
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: -0.005em;
    color: var(--text-main);
}

.facility-chip,
.kostFacilitiesHighlight div,
.facility-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.facility-chip i,
.kostFacilitiesHighlight i,
.facility-item i {
    font-size: 18px;
    line-height: 1;
    color: currentColor;
    flex: 0 0 auto;
}

.facilities-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 28px;
}

.facility-item {
    color: #111A44;
    font-size: 14px;
    font-weight: 600;
}

.facility-item i {
    width: 24px;
    height: 24px;
    font-size: 24px;
}

.card-meta-stack {
    display: grid;
    gap: 4px;
    margin-bottom: 14px;
}

.kos-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
}

.detail-subnav {
    position: sticky;
    top: var(--detail-sticky-offset);
    z-index: 1080;
    background: rgba(255, 255, 255, 0.98);
    border-top: 1px solid rgba(227, 231, 240, 0.9);
    border-bottom: 1px solid rgba(227, 231, 240, 0.94);
    backdrop-filter: blur(10px);
}

.detail-subnav-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 58px;
}

.detail-subnav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.subnav-action-btn {
    min-height: 38px;
    padding: 8px 13px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.82rem;
    transition: all .2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.subnav-action-btn:hover {
    border-color: rgba(47, 85, 183, 0.24);
    color: var(--primary-blue);
    background: #f5f8ff;
}

.detail-subnav-inner {
    display: flex;
    align-items: center;
    gap: 16px;
    overflow-x: auto;
    padding: 8px 0;
    scrollbar-width: none;
}

.detail-subnav-inner::-webkit-scrollbar {
    display: none;
}

.detail-subnav a {
    white-space: nowrap;
    color: #4f5f85;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 8px 2px;
}

.detail-subnav a:hover {
    color: var(--primary-blue);
}

.detail-subnav a.is-active {
    color: var(--primary-blue);
}

.detail-subnav a.is-active::after {
    margin-top: 4px;
}

.detail-hero[id],
.detail-main [id] {
    scroll-margin-top: calc(var(--detail-sticky-offset) + var(--detail-subnav-height) + 16px);
}

.detail-gallery-wrap {
    display: grid;
    gap: 12px;
}

.detail-gallery {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 300px;
}

.gallery-item {
    border-radius: 8px;
}

.detail-info-head {
    margin-bottom: 24px;
}

.detail-content {
    display: grid;
    gap: 18px;
}

.detail-title-block {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin: 8px 0 22px;
}

.detail-title-block h1 {
    font-size: clamp(2rem, 3vw, 2.8rem);
    margin-bottom: 10px;
    line-height: 1.15;
}

.detail-info-head .badge-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    margin-bottom: 14px;
}

.detail-info-head .badge-row .badge {
    min-height: 34px;
    padding: 0 13px;
    border-radius: 999px;
    border: 1px solid transparent;
    background: #f3f6fb;
    color: #233057;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0;
}

.detail-info-head .badge-row .badge-info {
    background: #eef4ff;
    border-color: #d6e2ff;
    color: #2a4c9e;
}

.detail-info-head .badge-row .badge-light,
.detail-info-head .badge-row .badge-muted {
    background: #f7f8fb;
    border-color: #e5e9f2;
    color: #4f5f85;
}

.detail-layout {
    grid-template-columns: minmax(0, 1.35fr) 340px;
    gap: 24px;
}

.summary-card {
    border-radius: 8px;
    padding: 18px 16px;
}

.detail-panel {
    border-radius: 8px;
    box-shadow: 0 8px 22px rgba(17, 26, 68, 0.06);
    padding: 24px;
    margin-bottom: 0;
}

.detail-panel .panel-head h2 {
    margin-bottom: 12px;
}

.detail-location-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 4px 0 14px;
}

.location-note {
    margin-bottom: 12px;
    line-height: 1.65;
    color: var(--text-secondary);
}

.detail-map-card {
    border: 1px solid rgba(17, 26, 68, 0.1);
    box-shadow: 0 10px 24px rgba(17, 26, 68, 0.06);
    overflow: hidden;
}

.map-embed iframe,
.map-fallback {
    border-radius: 8px;
}

.detail-map-card iframe {
    min-height: 340px;
}

.detail-map-meta {
    margin-top: 12px;
    border: 1px solid rgba(17, 26, 68, 0.08);
}

.detail-map-meta strong {
    display: block;
    margin-bottom: 8px;
}

.detail-map-meta p {
    margin-bottom: 14px;
    color: var(--text-secondary);
}

.detail-sidebar {
    position: relative;
}

.detail-sidebar .sticky-card {
    top: calc(var(--detail-sticky-offset) + var(--detail-subnav-height) + 16px);
}

.contact-card {
    border-radius: 18px;
    padding: 22px;
    border: 1px solid rgba(47, 85, 183, 0.14);
    background:
        linear-gradient(180deg, rgba(47, 85, 183, 0.08), rgba(47, 85, 183, 0.02) 26%, #ffffff 70%);
    box-shadow: 0 16px 34px rgba(17, 26, 68, 0.1);
}

.contact-card-topline {
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #3b5eb6;
    font-weight: 800;
    margin-bottom: 8px;
}

.contact-card .price-row.large {
    font-size: clamp(1.7rem, 2.5vw, 2rem);
    line-height: 1.1;
    margin-bottom: 14px;
}

.contact-card .price-row.large span {
    font-size: 0.92rem;
    color: #5f6f96;
}

.contact-card .owner-card {
    align-items: center;
    gap: 12px;
    padding: 11px 12px;
    border-radius: 12px;
    border: 1px solid rgba(17, 26, 68, 0.08);
    background: rgba(255, 255, 255, 0.85);
}

.contact-card .owner-card strong {
    display: block;
    line-height: 1.25;
}

.contact-card .owner-card span {
    color: #5f6f96;
    font-size: 0.83rem;
}

.contact-card .contact-lines {
    margin: 14px 0 16px;
    display: grid;
    gap: 8px;
}

.contact-card .contact-lines div {
    border: 1px solid rgba(17, 26, 68, 0.08);
    border-radius: 10px;
    background: #f8faff;
    padding: 10px 12px;
}

.contact-card .contact-lines strong {
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #5f6f96;
    margin-bottom: 3px;
}

.contact-card .btn {
    min-height: 46px;
    border-radius: 10px;
}

.contact-card .btn + .btn {
    margin-top: 8px;
}

.contact-card .btn-whatsapp {
    min-height: 48px;
}

.contact-note {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px dashed rgba(17, 26, 68, 0.16);
    color: #5f6f96;
    line-height: 1.6;
}

.site-footer {
    background: var(--dark-navy);
    margin-top: 56px;
}

.footer-top {
    padding: 0 0 22px;
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(430px, 2.2fr) repeat(3, minmax(150px, 1fr));
    gap: 24px;
    padding-top: 40px;
}

.footer-grid .footer-column:not(.footer-brand-column) {
    padding-left: 24px;
}

.footer-column h4 {
    color: #fff;
}

.footer-copy,
.footer-note {
    max-width: 320px;
}

.footer-note {
    font-size: 0.9rem;
}

.footer-contact-team {
    margin-top: 14px;
}

.footer-contact-team h4 {
    margin-bottom: 8px;
    color: #fff;
}

.footer-contact-team p {
    margin: 0 0 4px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 0.93rem;
}

.footer-socials {
    display: flex;
    gap: 10px;
    margin-top: 14px;
}

.footer-socials a,
.footer-back-top {
    width: 40px;
    height: 40px;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #fff;
    background: transparent;
    transition: transform 0.22s ease, background-color 0.22s ease, border-color 0.22s ease;
}

.footer-socials a i {
    font-size: 1.1rem;
    line-height: 1;
}

.footer-socials a:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.32);
    transform: translateY(-2px);
}

.footer-back-top {
    width: auto;
    padding: 0 16px;
    border-radius: 999px;
    margin-top: 6px;
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-credits {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    margin-top: 12px;
    padding-top: 12px;
    padding-bottom: 4px;
    text-align: center;
}

.footer-credits p {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.78);
}

.filter-modal {
    align-items: center;
}

.filter-modal-card {
    width: min(560px, 100%);
    border-radius: 8px;
    max-height: 90vh;
    padding: 0;
}

.filter-modal-card .modal-head {
    padding: 20px 20px 0;
}

.filter-modal-card .modal-body {
    max-height: calc(90vh - 72px);
    overflow-y: auto;
    padding: 0 20px 20px;
}

@media (max-width: 1180px) {
    .detail-layout {
        grid-template-columns: 1fr 320px;
    }

    .kos-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 992px) {
    .kos-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .detail-gallery {
        grid-auto-rows: 240px;
    }
}

@media (max-width: 768px) {
    .top-search-form {
        grid-template-columns: 1fr 48px;
    }

    .filter-bar,
    .filter-bar-left,
    .filter-bar-right,
    .detail-subnav-bar,
    .detail-title-block,
    .kos-card-footer,
    .footer-bottom-inner {
        flex-direction: column;
        align-items: stretch;
    }

    .view-toggle-wrap {
        justify-content: stretch;
    }

    .view-toggle {
        width: 100%;
    }

    .price-dropdown,
    .type-dropdown,
    .sort-dropdown,
    .facility-dropdown {
        width: min(100vw - 32px, 640px);
    }

    .detail-subnav-actions {
        justify-content: flex-start;
    }

    .detail-subnav-bar {
        flex-direction: row;
        align-items: center;
        flex-wrap: wrap;
        gap: 8px;
        min-height: 0;
        padding: 8px 0;
    }

    .detail-subnav-inner {
        width: 100%;
        padding: 0;
    }

    .detail-subnav-actions {
        width: 100%;
    }

    .detail-content {
        gap: 14px;
    }

    .detail-panel {
        padding: 18px;
    }

    .detail-location-summary {
        gap: 8px;
    }

    .detail-map-card iframe {
        min-height: 260px;
    }

    .detail-gallery {
        display: flex;
        overflow-x: auto;
        gap: 10px;
        scroll-snap-type: x mandatory;
    }

    .detail-gallery .gallery-item {
        min-width: 88%;
        height: 240px;
        scroll-snap-align: start;
    }

    .kos-grid,
    .listing-grid {
        grid-template-columns: 1fr;
    }
}

/* Fixed compact listing search header */
.listing-page {
    background: #FFFFFF;
}

.listing-normal-header {
    background: #FFFFFF;
    padding: 8px 24px 16px;
    border-bottom: 1px solid #E3E7F0;
}

.listing-search-row {
    display: grid;
    grid-template-columns: 1fr 44px;
    gap: 10px;
    align-items: center;
    margin-top: 12px;
}

.listing-search-box {
    height: 48px;
    border: 1px solid #C9D0E2;
    border-radius: 8px;
    display: flex;
    align-items: center;
    background: white;
    padding: 0 14px;
    gap: 10px;
}

.listing-search-box input,
.fixed-search-box input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 15px;
    color: #111A44;
    padding: 0;
    background: transparent;
    box-shadow: none;
}

.listing-search-box:focus-within,
.fixed-search-box:focus-within {
    border-color: #2F55B7;
    box-shadow: 0 0 0 3px rgba(47, 85, 183, 0.12);
}

.listing-search-icon {
    color: #7A8499;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.listing-search-icon .ph,
.listing-search-icon .ph-fill {
    font-size: 20px;
}

.listing-search-submit-btn {
    height: 34px;
    border: none;
    background: #2F55B7;
    color: #FFFFFF;
    font-weight: 700;
    border-radius: 6px;
    padding: 0 14px;
    transition: all .2s ease;
}

.listing-search-submit-btn:hover {
    background: #2448A0;
}

.listing-filter-row {
    margin: 18px 0 22px;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
}

.filter-left,
.filter-right,
.srp-filter-left,
.srp-filter-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-left,
.srp-filter-left {
    flex: 1 1 auto;
    min-width: 0;
}

.filter-right,
.srp-filter-right {
    flex: 0 0 auto;
    margin-left: auto;
    justify-content: flex-end;
}

.dropdown-wrapper {
    position: relative;
    display: inline-flex;
}

.filter-trigger,
.open-filter-modal-btn,
.save-search-btn,
.srp-filter-btn {
    height: 48px;
    padding: 0 18px;
    border: none;
    background: #F8F9FD;
    color: #111A44;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: -0.01em;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all .2s ease;
    white-space: nowrap;
}

.filter-button-icon {
    width: 16px;
    height: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 16px;
}

.filter-button-icon svg,
.filter-button-icon i {
    width: 100%;
    height: 100%;
    display: block;
    font-size: 20px;
}

.save-search-btn {
    width: 44px;
    justify-content: center;
    padding: 0;
}

.save-search-btn svg,
.save-search-btn i {
    width: 18px;
    height: 18px;
    display: block;
    font-size: 18px;
    transition: transform .2s ease;
}

.save-search-btn.is-saved {
    background: #FFFFFF;
    color: #2F55B7;
    box-shadow: inset 0 0 0 1px #2F55B7, 0 4px 14px rgba(47, 85, 183, .1);
}

.save-search-btn.is-saved svg,
.save-search-btn.is-saved i {
    transform: translateY(-1px);
}

.nav-wishlist-link {
    height: 42px;
    padding: 0 18px;
    border-radius: 10px;
    border: 1px solid #2F55B7;
    color: #111A44;
    background: #FFFFFF;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    line-height: 1;
    transition: color .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.nav-wishlist-link svg {
    width: 16px;
    height: 16px;
    display: block;
    flex: 0 0 auto;
}

.nav-wishlist-link:hover,
.nav-wishlist-link.active {
    color: #2F55B7;
    background: #EEF4FF;
    border-color: #2F55B7;
    box-shadow: 0 8px 18px rgba(47, 85, 183, 0.08);
}

.mobile-folder-btn svg {
    width: 20px;
    height: 20px;
    display: block;
}

.wishlist-hero {
    padding: 28px 0 12px;
    background: linear-gradient(180deg, rgba(238, 244, 255, 0.9) 0%, rgba(255, 255, 255, 0.98) 100%);
}

.wishlist-hero-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.wishlist-eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    background: #EEF4FF;
    color: #2F55B7;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.02em;
    margin-bottom: 14px;
}

.wishlist-heading {
    margin: 0 0 8px;
    font-size: 34px;
    line-height: 1.15;
    color: #111A44;
}

.wishlist-subheading {
    margin: 0;
    max-width: 620px;
    color: #7A8499;
    font-size: 16px;
}

.wishlist-section {
    padding: 14px 0 48px;
}

.wishlist-shell {
    display: grid;
    gap: 24px;
}

.wishlist-tabs {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.wishlist-tab {
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid #E3E7F0;
    border-radius: 999px;
    background: #FFFFFF;
    color: #111A44;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    transition: all .2s ease;
}

.wishlist-tab:hover,
.wishlist-tab.is-active {
    color: #2F55B7;
    border-color: rgba(47, 85, 183, 0.18);
    background: #EEF4FF;
}

.wishlist-panel {
    display: none;
    gap: 22px;
}

.wishlist-panel.is-active {
    display: grid;
}

.wishlist-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.wishlist-card {
    background: #FFFFFF;
    border: 1px solid #E3E7F0;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(17, 26, 68, 0.06);
    display: flex;
    flex-direction: column;
}

.wishlist-card-media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: linear-gradient(135deg, #DCE7FF 0%, #F5F8FF 100%);
}

.wishlist-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wishlist-card-body {
    display: grid;
    gap: 10px;
    padding: 18px;
}

.wishlist-card-price {
    margin: 0;
    color: #111A44;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.2;
}

.wishlist-card-price span {
    color: #7A8499;
    font-size: 15px;
    font-weight: 700;
}

.wishlist-card-title {
    margin: 0;
    color: #111A44;
    font-size: 18px;
    line-height: 1.3;
}

.wishlist-card-title a {
    color: inherit;
    text-decoration: none;
}

.wishlist-card-location,
.wishlist-card-meta {
    margin: 0;
    color: #7A8499;
    font-size: 14px;
}

.wishlist-card-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 6px;
}

.wishlist-card-actions .btn {
    min-height: 42px;
}

.wishlist-card-actions .btn-outline {
    color: #2F55B7;
    border-color: rgba(47, 85, 183, 0.2);
}

.wishlist-empty {
    display: grid;
    justify-items: center;
    gap: 14px;
    padding: 54px 20px;
    width: min(100%, 760px);
    margin: 0 auto;
    border: 1px solid #E3E7F0;
    border-radius: 24px;
    background: #FFFFFF;
    text-align: center;
}

.wishlist-empty[hidden] {
    display: none !important;
}

.wishlist-empty h2 {
    margin: 0;
    color: #111A44;
    font-size: 28px;
}

.wishlist-empty p {
    margin: 0;
    max-width: 520px;
    color: #7A8499;
    font-size: 15px;
    line-height: 1.7;
}

.wishlist-empty-illustration {
    width: 174px;
    color: #2F55B7;
}

.wishlist-empty-illustration svg {
    width: 100%;
    height: auto;
    display: block;
}

.saved-search-list {
    display: grid;
    gap: 16px;
}

.saved-search-card {
    display: grid;
    gap: 14px;
    padding: 22px;
    border: 1px solid #E3E7F0;
    border-radius: 18px;
    background: #FFFFFF;
    box-shadow: 0 10px 26px rgba(17, 26, 68, 0.05);
}

.saved-search-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.saved-search-title {
    margin: 0 0 8px;
    color: #111A44;
    font-size: 20px;
    font-weight: 800;
}

.saved-search-meta {
    margin: 0;
    color: #7A8499;
    font-size: 14px;
}

.saved-search-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.wishlist-board {
    padding: 28px 0 56px;
    background: #FFFFFF;
}

.wishlist-head-simple {
    margin-bottom: 4px;
}

.wishlist-heading {
    margin: 0;
    font-size: 56px;
    line-height: 1.05;
    color: #132B6B;
    letter-spacing: -0.04em;
}

.wishlist-shell {
    gap: 20px;
}

.wishlist-tabs-line {
    gap: 0;
    border-bottom: 1px solid #E3E7F0;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    flex-wrap: nowrap;
}

.wishlist-tabs-line::-webkit-scrollbar {
    display: none;
}

.wishlist-tabs-line .wishlist-tab {
    min-height: 52px;
    padding: 0 26px 0 0;
    border: none;
    border-bottom: 3px solid transparent;
    border-radius: 0;
    background: transparent;
    color: #7A8499;
    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;
    flex: 0 0 auto;
}

.wishlist-tabs-line .wishlist-tab:hover,
.wishlist-tabs-line .wishlist-tab.is-active {
    background: transparent;
    color: #2F55B7;
    border-color: #2F55B7;
}

.wishlist-stream {
    display: grid;
    gap: 26px;
}

.wishlist-group {
    display: grid;
    gap: 14px;
}

.wishlist-group-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #7A8499;
    font-size: 14px;
    font-weight: 600;
}

.wishlist-group-label::before {
    content: "";
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 50% 50%, #FFFFFF 0 26%, transparent 27% 100%),
        linear-gradient(90deg, transparent 20%, #94A3C5 20% 32%, transparent 32% 68%, #94A3C5 68% 80%, transparent 80% 100%);
    box-shadow: inset 0 0 0 1.6px #94A3C5;
}

.wishlist-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.wishlist-card-market {
    border: 1px solid #E7EBF4;
    border-radius: 18px;
    box-shadow: 0 14px 28px rgba(17, 26, 68, 0.08);
}

.wishlist-card-market .wishlist-card-media {
    aspect-ratio: 0.86;
    background: linear-gradient(145deg, #EDF3FF 0%, #F7FAFF 100%);
}

.wishlist-card-placeholder {
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 28% 26%, rgba(47, 85, 183, 0.16), transparent 0 20%),
        linear-gradient(145deg, #EDF3FF 0%, #F8FAFF 100%);
}

.wishlist-card-media-actions {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    gap: 8px;
}

.wishlist-media-icon {
    width: 36px;
    height: 36px;
    padding: 0;
    border: 1px solid rgba(227, 231, 240, 0.92);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.98);
    color: #7A8499;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .2s ease;
}

.wishlist-media-icon:hover,
.wishlist-media-icon.is-favorite {
    color: #E4507B;
    border-color: rgba(228, 80, 123, 0.18);
    box-shadow: 0 10px 20px rgba(17, 26, 68, 0.08);
}

.wishlist-media-icon svg {
    width: 18px;
    height: 18px;
    display: block;
}

.wishlist-card-market .wishlist-card-body {
    gap: 12px;
    padding: 16px;
}

.wishlist-card-badges {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
    overflow: hidden;
}

.wishlist-mini-chip {
    min-height: 30px;
    padding: 0 12px;
    border-radius: 10px;
    background: #F4F7FE;
    color: #3556AF;
    font-size: 13px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

.wishlist-card-market .wishlist-card-price {
    font-size: 20px;
    line-height: 1.2;
}

.wishlist-card-market .wishlist-card-title {
    font-size: 17px;
    line-height: 1.35;
}

.wishlist-card-market .wishlist-card-location {
    font-size: 14px;
    line-height: 1.55;
}

.wishlist-card-feature-box {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 14px 14px 12px;
    border-radius: 12px;
    background: #F6F8FD;
}

.wishlist-feature-item {
    color: #41506F;
    font-size: 14px;
    line-height: 1.45;
}

.wishlist-feature-item::before {
    content: "◉";
    margin-right: 8px;
    color: #7C8DB4;
    font-size: 9px;
    vertical-align: middle;
}

.wishlist-card-description {
    margin: 0;
    color: #7A8499;
    font-size: 14px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.wishlist-card-lower {
    display: grid;
    gap: 6px;
    margin-top: auto;
}

.wishlist-card-owner,
.wishlist-card-update,
.wishlist-card-market .wishlist-card-meta {
    margin: 0;
    color: #8894AE;
    font-size: 13px;
    line-height: 1.5;
}

.wishlist-card-market .wishlist-card-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 10px;
    margin-top: 2px;
}

.wishlist-card-market .wishlist-card-actions .btn {
    min-height: 44px;
    border-radius: 12px;
    padding: 0 14px;
    justify-content: center;
    font-weight: 800;
}

.wishlist-card-market .wishlist-card-actions .btn.btn-light {
    grid-column: 1 / -1;
}

.wishlist-card-market .btn-whatsapp {
    background: #22C55E;
    color: #FFFFFF;
    border: none;
}

.wishlist-card-market .btn-whatsapp:hover {
    background: #18B653;
}

.saved-search-list {
    gap: 18px;
}

.saved-search-card {
    border-radius: 16px;
    box-shadow: 0 12px 24px rgba(17, 26, 68, 0.06);
}

@media (max-width: 1024px) {
    .wishlist-heading {
        font-size: 44px;
    }

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

.chevron-icon {
    transition: transform .2s ease;
    transform-origin: center;
}

.filter-trigger:hover,
.open-filter-modal-btn:hover,
.save-search-btn:hover,
.srp-filter-btn:hover,
.filter-trigger.active,
.open-filter-modal-btn.active,
.srp-filter-btn.active {
    background: #EEF4FF;
    color: #2F55B7;
}

.filter-trigger.active,
.srp-filter-btn.active {
    background: #FFFFFF;
    border: 1px solid #2F55B7;
    box-shadow: 0 4px 14px rgba(47, 85, 183, .12);
}

.filter-trigger.active .chevron-icon {
    transform: rotate(180deg);
}

.filter-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: #FFFFFF;
    border: 1px solid #E3E7F0;
    border-radius: 10px;
    box-shadow: 0 12px 32px rgba(17, 26, 68, .14);
    z-index: 1300;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: all .18s ease;
}

.filter-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.price-dropdown {
    width: 420px;
}

.type-dropdown {
    width: 180px;
}

.sort-dropdown {
    width: 220px;
    right: 0;
    left: auto;
}

.facility-dropdown {
    width: 680px;
    max-height: 620px;
    overflow: hidden;
    left: 0;
}

.filter-panel {
    padding: 18px;
    background: #FFFFFF;
}

.compact-panel .filter-actions {
    margin-top: 10px;
}

.facility-panel {
    padding: 0;
    display: flex;
    flex-direction: column;
    max-height: 620px;
}

.filter-panel-title {
    padding: 20px 24px 10px;
    border-bottom: 1px solid #E3E7F0;
}

.filter-panel-title h3 {
    margin: 0;
    font-size: 18px;
    color: #111A44;
}

.facility-panel-body {
    padding: 18px 24px;
    overflow-y: auto;
    max-height: 470px;
}

.facility-group {
    margin-bottom: 24px;
}

.facility-group:last-child {
    margin-bottom: 0;
}

.facility-group h4 {
    font-size: 15px;
    font-weight: 800;
    color: #111A44;
    margin-bottom: 14px;
}

.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 42px;
}

.checkbox-grid label {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #111A44;
    font-size: 15px;
    cursor: pointer;
}

.checkbox-grid input {
    width: 16px;
    height: 16px;
    accent-color: #2F55B7;
}

.option-list {
    display: flex;
    flex-direction: column;
    padding: 6px;
}

.option-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 8px;
    cursor: pointer;
    color: #111A44;
    transition: background .2s ease, color .2s ease;
}

.option-item:hover {
    background: #F8F9FD;
}

.option-item input {
    width: 16px;
    height: 16px;
    accent-color: #2F55B7;
    margin: 0;
}

.option-item:has(input:checked) {
    background: #EEF4FF;
    color: #2F55B7;
    font-weight: 700;
}

.option-item span {
    color: inherit;
}

.form-row.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.input-prefix {
    display: flex;
    align-items: center;
    height: 48px;
    border: 1px solid #E3E7F0;
    border-radius: 8px;
    overflow: hidden;
    background: #FFFFFF;
}

.input-prefix span {
    height: 100%;
    padding: 0 14px;
    display: flex;
    align-items: center;
    background: #F7F8FC;
    color: #111A44;
    font-weight: 700;
}

.input-prefix input {
    flex: 1;
    border: none;
    outline: none;
    padding: 0 12px;
    font-size: 15px;
    min-height: 100%;
    box-shadow: none;
}

.preset-chips {
    margin-top: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.mini-chip {
    border: none;
    background: #F7F8FC;
    color: #111A44;
    border-radius: 8px;
    padding: 9px 12px;
    font-size: 14px;
    cursor: pointer;
}

.mini-chip:hover,
.mini-chip.selected {
    background: #EEF4FF;
    color: #2F55B7;
}

.filter-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    margin-top: 16px;
    border-top: 1px solid #E3E7F0;
}

.sticky-actions {
    position: sticky;
    bottom: 0;
    background: #FFFFFF;
    padding: 16px 24px;
    border-top: 1px solid #E3E7F0;
    box-shadow: 0 -8px 18px rgba(17, 26, 68, .06);
    margin-top: auto;
}

.filter-actions .btn.btn-primary,
.sticky-actions .btn.btn-primary {
    background: #2F55B7;
    color: #FFFFFF;
    border-radius: 8px;
    font-weight: 800;
    padding: 12px 20px;
    border: none;
}

.filter-actions .btn.btn-primary:hover,
.sticky-actions .btn.btn-primary:hover {
    background: #2448A0;
}

.filter-actions .btn.btn-light,
.sticky-actions .btn.btn-light {
    background: #FFFFFF;
    color: #2F55B7;
    border: none;
    font-weight: 700;
    box-shadow: none;
}

.listing-summary-row {
    margin-top: 18px;
}

.listing-summary-row h1 {
    font-size: 22px;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -0.02em;
    color: #111A44;
    margin: 0 0 8px;
}

.listing-summary-row p {
    font-size: 15px;
    font-weight: 500;
    color: #7A8499;
    margin: 0;
}

.active-filter-chips {
    display: flex;
    align-items: center;
    gap: 10px;
    overflow-x: auto;
    scrollbar-width: none;
    margin-top: 14px;
}

.active-filter-chips::-webkit-scrollbar {
    display: none;
}

.active-filter-chip {
    height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    background: #F8F9FD;
    color: #111A44;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: -0.005em;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.view-toggle-row {
    margin-top: 16px;
    background: #F7F8FC;
    border-radius: 8px;
    padding: 4px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.view-toggle-btn {
    height: 36px;
    border: none;
    background: transparent;
    border-radius: 6px;
    color: #111A44;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: -0.01em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    transition: all .2s ease;
}

.view-toggle-btn.active {
    background: #FFFFFF;
    box-shadow: 0 4px 14px rgba(17, 26, 68, 0.12);
}

.listing-fixed-header {
    position: fixed;
    top: calc(var(--listing-fixed-header-offset) - 1px);
    left: 0;
    right: 0;
    z-index: 1090;
    background: #FFFFFF;
    border-bottom: 1px solid #E3E7F0;
    box-shadow: 0 8px 24px rgba(17, 26, 68, 0.12);
    padding: 8px 0;
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition: transform .25s ease, opacity .25s ease;
}

.listing-fixed-header.show {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.listing-fixed-header .fixed-search-inner {
    position: relative;
    display: flex;
    align-items: center;
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto;
    padding-right: calc(var(--listing-fixed-header-actions-width) + 12px);
    min-height: 46px;
    gap: 12px;
}

.fixed-search-box {
    width: 100%;
    min-width: 0;
    height: 46px;
    border: 1px solid #C9D0E2;
    border-radius: 8px;
    background: #FFFFFF;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 12px;
    opacity: 0;
    transform: translateY(8px) scale(.985);
    transition: opacity .24s ease .04s, transform .24s ease .04s;
}

.fixed-search-box input {
    flex: 1;
    border: none;
    outline: none;
    color: #111A44;
    font-size: 15px;
    min-width: 0;
}

.fixed-search-submit {
    height: 34px;
    padding: 0 16px;
    border: none;
    border-radius: 7px;
    background: #2F55B7;
    color: #FFFFFF;
    font-weight: 700;
    cursor: pointer;
}

.fixed-search-actions {
    position: absolute;
    right: 0;
    top: 50%;
    height: 46px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding-left: 28px;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, #FFFFFF 28%, #FFFFFF 100%);
    opacity: 0;
    transform: translate3d(28px, -50%, 0);
    transition: opacity .28s ease .08s, transform .28s ease .08s;
}

.listing-fixed-header.show .fixed-search-actions {
    opacity: 1;
    transform: translate3d(0, -50%, 0);
}

.listing-fixed-header.show .fixed-search-box {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
}

.fixed-action-btn {
    height: 46px;
    border: none;
    background: #F8F9FD;
    color: #111A44;
    border-radius: 8px;
    padding: 0 16px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(17, 26, 68, 0.04);
    transition: all .2s ease;
}

.fixed-action-btn:hover {
    background: #EEF4FF;
    color: #2F55B7;
}

.fixed-action-btn:active {
    transform: scale(.98);
}

body.has-fixed-search .listing-content {
    padding-top: 0;
}

.listing-fixed-header .filter-dropdown,
.listing-normal-header .filter-dropdown {
    z-index: 1300;
}

.filter-right .filter-dropdown {
    left: auto;
    right: 0;
}

.modal-overlay.filter-modal {
    z-index: 2000;
}

.listing-results-section {
    padding-top: 20px;
}

.listing-results-section .kos-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.listing-results-section .kos-card {
    background: #FFFFFF;
    border: 1px solid #E3E7F0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(17,26,68,.06);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.listing-results-section .kos-card-image {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.listing-results-section .kos-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.listing-results-section .kos-card-body {
    padding: 14px;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    gap: 0;
}

.listing-results-section .kos-card-content {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    gap: 6px;
}

.listing-results-section .kos-card-price {
    font-size: 24px;
    line-height: 1.14;
    font-weight: 900;
    letter-spacing: -0.02em;
    color: #111A44;
    margin-bottom: 2px;
}

.listing-results-section .kos-card-title {
    font-size: 16px;
    line-height: 1.28;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: #111A44;
    margin-bottom: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: calc(1.28em * 2);
}

.listing-results-section .kos-card-location {
    font-size: 14px;
    line-height: 1.35;
    font-weight: 500;
    color: #7A8499;
    margin-bottom: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: calc(1.35em * 2);
}

.listing-results-section .badge-row {
    gap: 8px;
    margin-bottom: 8px;
}

.listing-results-section .badge-row-main {
    gap: 8px;
}

.listing-results-section .badge-row-main .badge {
    min-height: 34px;
    padding: 0 12px;
    border-radius: 8px;
    gap: 6px;
    background: #F4F8FF;
    border-color: #D8E3F5;
    color: #223466;
    box-shadow: none;
}

.listing-results-section .badge-row-main .badge-pink,
.listing-results-section .badge-row-main .badge-info,
.listing-results-section .badge-row-main .badge-light,
.listing-results-section .badge-row-main .badge-muted {
    background: #F4F8FF;
    border-color: #D8E3F5;
    color: #223466;
}

.listing-results-section .badge-row-main .badge-icon {
    width: 15px;
    height: 15px;
    flex-basis: 15px;
}

.listing-results-section .badge-menu-trigger {
    width: 34px;
    height: 34px;
    border-radius: 8px;
}

.listing-results-section .kos-card-footer {
    display: block;
    padding: 12px 14px 14px;
    margin-top: auto;
    border-top: 1px solid #EEF0F6;
    background: #FFFFFF;
}

.listing-results-section .owner-inline {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-width: 0;
    margin-bottom: 12px;
}

.listing-results-section .owner-inline > div {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.listing-results-section .owner-initial {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    font-size: 17px;
    flex: 0 0 52px;
}

.listing-results-section .owner-inline strong {
    display: block;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #111A44;
}

.listing-results-section .owner-inline span {
    font-size: 14px;
    font-weight: 500;
    color: #7A8499;
}

.listing-results-section .owner-updated {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 4px;
    color: #9AA2B6;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.2;
}

.listing-results-section .owner-updated svg,
.listing-results-section .owner-updated i {
    width: 12px;
    height: 12px;
    flex: 0 0 12px;
    font-size: 12px;
}

.listing-results-section .card-actions {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 44px;
    gap: 8px;
    align-items: stretch;
    clear: both;
}

.listing-results-section .facility-chips {
    display: grid;
    gap: 8px;
    min-width: 0;
    margin-bottom: 8px;
    position: relative;
    z-index: 2;
}

.listing-results-section .facility-chip-row {
    min-width: 0;
    padding: 8px 10px;
    border-radius: 8px;
    background: #F7F8FC;
    border: 1px solid #ECEFF5;
}

.listing-results-section .facility-chip-list {
    display: grid;
    grid-auto-flow: column;
    grid-template-rows: repeat(2, minmax(0, 1fr));
    grid-auto-columns: max-content;
    gap: 8px 10px;
    align-items: stretch;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 2px;
}

.listing-results-section .facility-chip-list::-webkit-scrollbar {
    display: none;
}

.listing-results-section .facility-chip {
    min-width: 0;
    max-width: 220px;
    min-height: 22px;
    padding: 0;
    border-radius: 0;
    background: transparent;
    border: 0;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #27355F;
    white-space: nowrap;
}

.listing-results-section .facility-chip-icon {
    width: 14px;
    height: 14px;
    flex: 0 0 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.listing-results-section .facility-chip-icon svg,
.listing-results-section .facility-chip-icon i {
    width: 100%;
    height: 100%;
    display: block;
    font-size: 16px;
}

.listing-results-section .facility-chip-label {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.listing-results-section .rating-line {
    gap: 6px;
    margin-bottom: 0;
}

.listing-results-section .card-description {
    margin-bottom: 0;
    line-height: 1.42;
    min-height: calc(1.42em * 2);
    -webkit-line-clamp: 2;
    line-clamp: 2;
}

.listing-results-section .card-meta-stack {
    gap: 4px;
    margin-bottom: 6px;
}

@media (min-width: 901px) {
    .listing-results-section .listing-grid.view-list {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .listing-results-section .listing-grid.view-list .kos-card {
        display: grid;
        grid-template-columns: 328px minmax(0, 1fr);
        align-items: stretch;
        min-height: 292px;
        border-radius: 16px;
        box-shadow: 0 8px 22px rgba(17, 26, 68, 0.08);
    }

    .listing-results-section .listing-grid.view-list .kos-card-image {
        height: 100%;
        aspect-ratio: auto;
        min-height: 100%;
    }

    .listing-results-section .listing-grid.view-list .kos-card-image img {
        height: 100%;
    }

    .listing-results-section .listing-grid.view-list .kos-card-body {
        padding: 14px 18px 14px 20px;
        display: grid;
        grid-template-columns: 1fr;
        grid-template-areas:
            "content"
            "footer";
        gap: 10px;
        align-items: start;
    }

    .listing-results-section .listing-grid.view-list .kos-card-content {
        grid-area: content;
        justify-content: flex-start;
        gap: 5px;
        min-width: 0;
    }

    .listing-results-section .listing-grid.view-list .badge-row {
        margin-bottom: 2px;
        align-items: flex-start;
    }

    .listing-results-section .listing-grid.view-list .badge-row-main {
        overflow: visible;
        gap: 6px;
    }

    .listing-results-section .listing-grid.view-list .kos-card-title,
    .listing-results-section .listing-grid.view-list .kos-card-location {
        min-height: auto;
    }

    .listing-results-section .listing-grid.view-list .facility-chip-row {
        width: min(100%, 520px);
        padding: 8px 10px;
        border-radius: 10px;
    }

    .listing-results-section .listing-grid.view-list .facility-chip-list {
        grid-template-rows: 1fr;
        gap: 6px 10px;
    }

    .listing-results-section .listing-grid.view-list .card-description {
        min-height: 0;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        color: #66738F;
    }

    .listing-results-section .listing-grid.view-list .card-meta-stack {
        margin-top: 2px;
        margin-bottom: 0;
        padding-top: 0;
    }

    .listing-results-section .listing-grid.view-list .kos-card-footer {
        grid-area: footer;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        width: 100%;
        margin: 0;
        padding: 10px 0 0;
        border-top: 1px solid #EEF0F6;
        border-left: 0;
        background: transparent;
        align-self: auto;
    }

    .listing-results-section .listing-grid.view-list .owner-inline {
        flex: 1 1 auto;
        align-items: center;
        gap: 10px;
        min-width: 0;
        margin-bottom: 0;
    }

    .listing-results-section .listing-grid.view-list .owner-inline > div {
        display: grid;
        gap: 1px;
        min-width: 0;
    }

    .listing-results-section .listing-grid.view-list .owner-updated {
        margin-bottom: 0;
        gap: 4px;
        font-size: 11px;
        white-space: nowrap;
    }

    .listing-results-section .listing-grid.view-list .owner-inline strong {
        font-size: 14px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .listing-results-section .listing-grid.view-list .owner-inline span {
        font-size: 12px;
    }

    .listing-results-section .listing-grid.view-list .owner-initial {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
        font-size: 14px;
    }

    .listing-results-section .listing-grid.view-list .card-actions {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 6px;
        width: auto;
        flex: 0 0 auto;
        margin-top: 0;
    }

    .listing-results-section .listing-grid.view-list .card-actions .btn {
        min-height: 36px;
    }

    .listing-results-section .listing-grid.view-list .btn-phone-pill {
        width: auto;
        min-width: 0;
        height: 36px;
        padding: 0 12px;
        gap: 6px;
    }

    .listing-results-section .listing-grid.view-list .btn-phone-pill .btn-action-icon {
        width: 18px;
        height: 18px;
        flex-basis: 18px;
    }

    .listing-results-section .listing-grid.view-list .btn-phone-pill .btn-action-label {
        font-size: 11px;
    }

    .listing-results-section .listing-grid.view-list .btn-contact-icon {
        width: 36px;
        min-width: 36px;
        height: 36px;
    }

    .listing-results-section .listing-grid.view-list .btn-detail {
        grid-column: auto;
        width: auto;
        min-width: 82px;
        height: 36px;
        min-height: 36px;
        padding: 0 12px;
    }

    .listing-results-section .listing-grid.view-list .image-count-badge {
        right: 14px;
        bottom: 14px;
    }
}

@media (min-width: 901px) and (max-width: 1179px) {
    .listing-results-section .listing-grid.view-list .kos-card {
        grid-template-columns: 320px minmax(0, 1fr);
    }
}

.listing-results-section .card-actions .btn {
    min-height: 40px;
    border-radius: 8px;
}

.btn-action-icon {
    display: inline-flex;
    width: 22px;
    height: 22px;
    align-items: center;
    justify-content: center;
    line-height: 1;
    flex: 0 0 22px;
}

.btn-action-icon svg,
.btn-action-icon i {
    width: 100%;
    height: 100%;
    display: block;
    font-size: 20px;
}

.btn-action-label {
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.listing-results-section .availability-text {
    margin: 0;
}

.availability-status {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.availability-status.is-available {
    background: rgba(34, 197, 94, 0.12);
    color: #15803D;
}

.availability-status.is-full {
    background: rgba(239, 68, 68, 0.12);
    color: #B91C1C;
}

.listing-results-section .btn-contact-icon {
    width: 44px;
    min-width: 44px;
    height: 40px;
    padding: 0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.listing-results-section .btn-phone-pill .btn-action-icon,
.listing-results-section .btn-contact-icon .btn-action-icon {
    width: 22px;
    height: 22px;
    flex-basis: 22px;
}

.listing-results-section .btn-phone-pill .btn-action-icon i,
.listing-results-section .btn-contact-icon .btn-action-icon i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.listing-results-section .btn-phone-pill .ph-phone,
.listing-results-section .btn-contact-icon .ph-whatsapp-logo {
    transform: translateY(0);
}

.listing-results-section .btn-contact-icon .ph-whatsapp-logo {
    font-size: 28px;
}

.listing-results-section .btn-contact-icon .btn-action-label {
    display: none;
}

.listing-results-section .btn-phone-pill {
    width: 100%;
    min-width: 0;
    height: 40px;
    padding: 0 12px;
    gap: 8px;
    color: #111A44;
    background: #FFFFFF;
    border-color: #D9DEEA;
    box-shadow: 0 1px 0 rgba(17, 26, 68, 0.02);
    border-radius: 8px;
    justify-content: center;
    overflow: hidden;
}

.listing-results-section .btn-phone-pill .btn-action-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
}

.listing-results-section .btn-detail {
    grid-column: 1 / -1;
    width: 100%;
    height: 38px;
    min-height: 34px;
    padding: 0 14px;
    justify-content: center;
    color: #2F55B7;
    background: #FFFFFF;
    border-color: rgba(47, 85, 183, 0.18);
    font-size: 13px;
    font-weight: 800;
    border-radius: 8px;
}

.listing-results-section .btn-detail:hover {
    background: #EEF4FF;
    color: #2448A0;
    border-color: rgba(47, 85, 183, 0.28);
}

.listing-results-section .btn-whatsapp {
    background: #22C55E;
    color: #FFFFFF;
    border-radius: 10px;
    height: 42px;
    padding: 0 14px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.listing-results-section .btn-whatsapp .btn-action-icon {
    width: 22px;
    height: 22px;
    flex-basis: 22px;
}

.listing-results-section .listing-grid.view-grid .kos-card-footer {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch;
    justify-content: flex-start;
    gap: 10px;
    margin-top: 10px;
    padding: 10px 0 0;
    border-top: 1px solid #EEF0F6;
    background: transparent;
}

.listing-results-section .listing-grid.view-grid .kos-card-footer.kos-card-footer-stacked {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
}

.listing-results-section .listing-grid.view-grid .owner-inline {
    flex: 0 0 auto !important;
    align-items: center;
    gap: 8px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin-bottom: 0;
}

.listing-results-section .listing-grid.view-grid .kos-card-footer.kos-card-footer-stacked > .owner-inline {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
}

.listing-results-section .listing-grid.view-grid .owner-inline > div {
    display: grid;
    gap: 1px;
    flex: 1 1 auto;
    min-width: 0;
}

.listing-results-section .listing-grid.view-grid .owner-initial {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
    font-size: 14px;
}

.listing-results-section .listing-grid.view-grid .owner-inline strong {
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.listing-results-section .listing-grid.view-grid .owner-inline > div > span:last-child {
    display: none;
}

.listing-results-section .listing-grid.view-grid .owner-updated {
    margin-bottom: 0;
    gap: 4px;
    font-size: 11px;
    white-space: nowrap;
    overflow: hidden;
}

.listing-results-section .listing-grid.view-grid .owner-updated span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.listing-results-section .listing-grid.view-grid .card-actions {
    display: grid;
    flex: 0 0 auto !important;
    grid-template-columns: minmax(0, 1fr) 44px;
    grid-auto-rows: minmax(36px, auto);
    align-items: stretch;
    justify-content: stretch;
    gap: 6px;
    width: 100%;
    max-width: 100%;
    margin-top: 0;
}

.listing-results-section .listing-grid.view-grid .kos-card-footer.kos-card-footer-stacked > .card-actions {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
}

.listing-results-section .listing-grid.view-grid .card-actions .btn {
    min-height: 36px;
    border-radius: 8px;
}

.listing-results-section .listing-grid.view-grid .btn-phone-pill,
.listing-results-section .listing-grid.view-grid .btn-contact-icon {
    height: 36px;
}

.listing-results-section .listing-grid.view-grid .btn-phone-pill {
    grid-column: 1;
    width: 100%;
    min-width: 0;
    padding: 0 12px;
    gap: 8px;
}

.listing-results-section .listing-grid.view-grid .btn-phone-pill .btn-action-label {
    display: inline-block;
}

.listing-results-section .listing-grid.view-grid .btn-contact-icon {
    grid-column: 2;
    width: 44px;
    min-width: 44px;
    padding: 0;
}

.listing-results-section .listing-grid.view-grid .btn-detail {
    grid-column: 1 / -1;
    width: 100%;
    min-width: 0;
    height: 36px;
    min-height: 36px;
    padding: 0 12px;
}

@media (max-width: 1320px) {
    .listing-results-section .kos-card-footer {
        padding: 12px 14px 14px;
    }

    .listing-results-section .owner-inline {
        width: 100%;
    }

    .listing-results-section .card-actions {
        grid-template-columns: minmax(0, 1fr) 44px;
    }

    .listing-results-section .btn-phone-pill {
        grid-column: 1;
    }

    .listing-results-section .btn-whatsapp {
        grid-column: 2;
    }

    .listing-results-section .btn-detail {
        min-width: 0;
        padding: 0 12px;
        grid-column: 1 / -1;
        width: 100%;
    }

    .listing-results-section .facility-chip {
        max-width: 104px;
    }

    .listing-results-section .listing-grid.view-grid .kos-card-footer {
        gap: 8px;
    }

    .listing-results-section .listing-grid.view-grid .owner-initial {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
    }

    .listing-results-section .listing-grid.view-grid .btn-detail {
        min-width: 64px;
        padding: 0 10px;
        font-size: 12px;
    }
}

@media (max-width: 1024px) {
    .listing-results-section .card-actions {
        grid-template-columns: minmax(0, 1fr) 44px;
    }

    .listing-results-section .btn-phone-pill {
        grid-column: 1;
    }

    .listing-results-section .btn-phone-pill .btn-action-label {
        display: inline-block;
    }

    .listing-results-section .btn-whatsapp {
        grid-column: 2;
    }

    .listing-results-section .btn-detail {
        width: 100%;
        grid-column: 1 / -1;
    }

    .listing-results-section .listing-grid.view-grid .owner-updated {
        display: none;
    }
}

@media (max-width: 900px) {
    .listing-results-section .kos-card-footer {
        padding: 12px 14px 14px;
    }

    .listing-results-section .card-actions {
        grid-template-columns: minmax(0, 1fr) 44px;
        grid-auto-rows: minmax(40px, auto);
    }

    .listing-results-section .btn-phone-pill {
        width: 100%;
    }

    .listing-results-section .btn-phone-pill .btn-action-label {
        display: inline-block;
    }

    .listing-results-section .btn-whatsapp {
        width: 44px;
        min-width: 44px;
        padding: 0;
    }

    .listing-results-section .btn-detail {
        grid-column: 1 / -1;
        width: 100%;
    }

    .listing-results-section .listing-grid.view-grid .kos-card-footer {
        display: block;
        padding: 12px 0 0;
    }

    .listing-results-section .listing-grid.view-grid .owner-inline {
        margin-bottom: 10px;
    }

    .listing-results-section .listing-grid.view-grid .owner-inline > div > span:last-child {
        display: block;
    }

    .listing-results-section .listing-grid.view-grid .card-actions {
        display: grid;
        width: 100%;
        grid-template-columns: minmax(0, 1fr) 44px;
        gap: 8px;
    }

    .listing-results-section .listing-grid.view-grid .btn-phone-pill {
        width: 100%;
        min-width: 0;
        height: 40px;
        padding: 0 12px;
        gap: 8px;
    }

    .listing-results-section .listing-grid.view-grid .btn-phone-pill .btn-action-label {
        display: inline-block;
    }

    .listing-results-section .listing-grid.view-grid .btn-contact-icon {
        width: 44px;
        min-width: 44px;
        height: 40px;
    }

    .listing-results-section .listing-grid.view-grid .btn-detail {
        grid-column: 1 / -1;
        width: 100%;
        min-width: 0;
        height: 38px;
        min-height: 34px;
    }
}

.mobile-topbar,
.mobile-nav-panel {
    display: none;
}

@media (max-width: 768px) {
    .auth-modal-overlay {
        padding: 0;
        align-items: flex-end;
    }

    .auth-modal-card {
        width: 100%;
        min-height: auto;
        max-height: 94vh;
        grid-template-columns: 1fr;
        border-radius: 16px 16px 0 0;
    }

    .auth-modal-illustration {
        display: none;
    }

    .auth-modal-content {
        padding: 42px 18px 24px;
    }

    .auth-title {
        font-size: 21px;
    }

    .auth-form-row.two-col {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .auth-role-tabs,
    .login-tabs {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .auth-role-option span {
        height: 42px;
    }

    .mobile-auth-nav {
        justify-content: center;
        width: 100%;
        padding: 8px 0;
    }

    .wishlist-board {
        padding: 18px 0 40px;
    }

    .wishlist-heading {
        font-size: 34px;
    }

    .wishlist-tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
        scrollbar-width: none;
    }

    .wishlist-tabs::-webkit-scrollbar {
        display: none;
    }

    .wishlist-tab {
        min-height: 44px;
        padding: 0 18px 0 0;
        flex: 0 0 auto;
    }

    .wishlist-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .wishlist-card-body,
    .saved-search-card {
        padding: 16px;
    }

    .wishlist-card-price {
        font-size: 18px;
    }

    .wishlist-card-title {
        font-size: 16px;
    }

    .wishlist-group {
        gap: 12px;
    }

    .wishlist-card-market .wishlist-card-media {
        aspect-ratio: 1.02;
    }

    .wishlist-card-market .wishlist-card-actions {
        grid-template-columns: 1fr;
    }

    .wishlist-card-market .wishlist-card-actions .btn.btn-light {
        grid-column: auto;
    }

    .wishlist-empty {
        padding: 40px 18px;
        border-radius: 18px;
    }

    .wishlist-empty h2 {
        font-size: 22px;
    }

    .saved-search-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .listing-normal-header,
    .listing-fixed-header {
        padding-left: 12px;
        padding-right: 12px;
    }

    .listing-filter-row {
        margin: 14px 0 18px;
        gap: 0;
        overflow: hidden;
        position: relative;
    }

    .filter-left,
    .srp-filter-left {
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-right: 92px;
        gap: 8px;
    }

    .filter-left::-webkit-scrollbar,
    .srp-filter-left::-webkit-scrollbar {
        display: none;
    }

    .filter-right,
    .srp-filter-right {
        position: absolute;
        right: 0;
        top: 0;
        height: 100%;
        display: flex;
        align-items: center;
        gap: 8px;
        padding-left: 22px;
        background: linear-gradient(90deg, rgba(255,255,255,0) 0%, #FFFFFF 22%, #FFFFFF 100%);
        z-index: 5;
    }

    .filter-trigger,
    .open-filter-modal-btn,
    .srp-filter-btn {
        height: 36px;
        padding: 0 12px;
        font-size: 13px;
    }

    .srp-sort-btn,
    .srp-filter-modal-btn {
        width: 38px;
        padding: 0;
    }

    .srp-sort-btn .filter-button-label,
    .srp-filter-modal-btn .filter-button-label {
        display: none;
    }

    .listing-search-row {
        grid-template-columns: 1fr 38px;
        gap: 8px;
        margin-top: 10px;
    }

    .listing-search-box {
        height: 34px;
        padding: 0 10px;
        border-radius: 7px;
    }

    .listing-search-box input {
        font-size: 14px;
    }

    .listing-search-submit-btn {
        height: 28px;
        padding: 0 12px;
        border-radius: 6px;
        font-size: 13px;
    }

    .save-search-btn {
        width: 38px;
        height: 34px;
        border-radius: 7px;
        padding: 0;
    }

    .save-search-btn svg {
        width: 16px;
        height: 16px;
    }

    .listing-summary-row h1 {
        font-size: 18px;
        margin-bottom: 6px;
    }

    .listing-summary-row p {
        font-size: 14px;
    }

    .active-filter-chip {
        height: 32px;
        padding: 0 12px;
        font-size: 11px;
    }

    .view-toggle-row {
        margin-top: 12px;
    }

    .view-toggle-btn {
        height: 32px;
        font-size: 12px;
    }

    .desktop-navbar {
        display: none;
    }

    .mobile-topbar {
        height: 56px;
        display: grid;
        grid-template-columns: 44px 1fr 44px;
        align-items: center;
        padding: 0 14px;
        background: #FFFFFF;
        backdrop-filter: none;
        border-bottom: 1px solid rgba(227, 231, 240, 0.92);
        position: sticky;
        top: 0;
        z-index: 1000;
        box-shadow: none;
    }

    .mobile-menu-btn,
    .mobile-folder-btn {
        width: 36px;
        height: 36px;
        border: 1px solid #E3E7F0;
        border-radius: 10px;
        background: #FFFFFF;
        color: #111A44;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 17px;
        box-shadow: none;
    }

.mobile-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.mobile-logo img {
    width: 96px;
    height: auto;
    display: block;
}

    .mobile-nav-panel {
        position: sticky;
        top: 56px;
        z-index: 999;
        display: none;
        flex-direction: column;
        gap: 14px;
        padding: 16px 14px 18px;
        background: #FFFFFF;
        border-bottom: 1px solid #E3E7F0;
        border-radius: 0;
        box-shadow: 0 12px 24px rgba(17, 26, 68, 0.08);
    }

    .mobile-nav-panel.open {
        display: flex;
    }

    .mobile-nav-panel .nav-links,
    .mobile-nav-panel .nav-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .mobile-nav-panel .nav-links {
        gap: 8px;
    }

    .mobile-nav-panel .nav-actions {
        gap: 10px;
    }

    .listing-results-section .kos-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .filter-dropdown {
        position: fixed;
        left: 12px !important;
        right: 12px !important;
        top: 120px;
        width: auto !important;
        max-width: none;
        z-index: 2000;
    }

    .facility-dropdown {
        max-height: 70vh;
    }

    .facility-panel-body {
        max-height: 52vh;
        overflow-y: auto;
    }

    .checkbox-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .listing-fixed-header {
        padding: 8px 0;
    }

    .listing-fixed-header .fixed-search-inner {
        width: calc(100% - 24px);
        padding-right: calc(var(--listing-fixed-header-actions-width) + 8px);
        min-height: 38px;
    }

    .fixed-search-box {
        height: 38px;
        border-radius: 7px;
    }

    .fixed-search-submit {
        display: none;
    }

    .fixed-search-actions {
        height: 38px;
        gap: 6px;
        padding-left: 24px;
        background: linear-gradient(90deg, rgba(255,255,255,0) 0%, #FFFFFF 30%, #FFFFFF 100%);
    }

    .listing-fixed-header .dropdown-wrapper {
        min-width: 0;
    }

    .fixed-action-btn,
    .listing-fixed-header .filter-trigger,
    .listing-fixed-header .open-filter-modal-btn {
        width: 38px;
        height: 38px;
        min-width: 38px;
        padding: 0;
        justify-content: center;
        border-radius: 8px;
        gap: 0;
    }

    .fixed-action-btn span:first-child {
        display: none;
    }

    .listing-fixed-header .filter-button-icon {
        width: 16px;
        height: 16px;
        flex-basis: 16px;
    }
}

@media (max-width: 1200px) {
    .listing-results-section .kos-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .listing-results-section .kos-grid.view-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .listing-results-section .kos-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .listing-results-section .kos-grid.view-list {
        grid-template-columns: 1fr;
    }

    .listing-results-section .listing-grid.view-list {
        gap: 16px;
    }

    .listing-results-section .listing-grid.view-list .kos-card {
        display: grid;
        grid-template-columns: 280px minmax(0, 1fr);
        min-height: 0;
    }

    .listing-results-section .listing-grid.view-list .kos-card-image {
        aspect-ratio: auto;
        min-height: 100%;
    }

    .listing-results-section .listing-grid.view-list .kos-card-body {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-areas:
            "content"
            "footer";
        gap: 14px;
        padding: 16px;
    }

    .listing-results-section .listing-grid.view-list .kos-card-footer {
        padding: 14px 0 0;
        border-left: 0;
        border-top: 1px solid #EEF0F6;
        background: transparent;
    }
}

@media (max-width: 480px) {
    .listing-results-section .kos-grid.view-list {
        grid-template-columns: 1fr;
    }

    .listing-results-section .listing-grid.view-list .kos-card {
        display: block;
    }

    .listing-results-section .listing-grid.view-list .kos-card-image {
        aspect-ratio: 4 / 3;
        min-height: 0;
    }

    .listing-results-section .listing-grid.view-list .kos-card-body {
        display: flex;
        padding: 10px;
        gap: 0;
    }

    .listing-results-section .listing-grid.view-list .kos-card-footer {
        padding: 10px 0 0;
    }

    .listing-results-section .kos-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .listing-results-section .kos-card-body {
        padding: 10px;
    }

    .listing-results-section .kos-card-price {
        font-size: 18px;
        line-height: 1.12;
        margin-bottom: 6px;
    }

    .listing-results-section .kos-card-title {
        font-size: 13px;
        line-height: 1.24;
        min-height: calc(1.24em * 2);
    }

    .listing-results-section .kos-card-location {
        font-size: 12px;
        line-height: 1.3;
        min-height: calc(1.3em * 2);
    }

    .listing-results-section .facility-chip {
        font-size: 11px;
        font-weight: 700;
        padding: 5px 8px;
        max-width: 88px;
    }

    .listing-results-section .badge {
        min-height: 28px;
        padding: 0 9px;
        font-size: 10.5px;
        gap: 5px;
    }

    .listing-results-section .badge-icon {
        width: 12px;
        height: 12px;
        flex-basis: 12px;
    }

    .listing-results-section .badge-menu-trigger {
        width: 30px;
        height: 28px;
    }

    .listing-results-section .badge-row-main .badge {
        min-height: 30px;
        padding: 0 10px;
        border-radius: 7px;
    }

    .listing-results-section .facility-chip-row {
        padding: 7px 9px;
    }

    .listing-results-section .card-description {
        display: none;
    }

    .listing-results-section .kos-card-footer {
        padding: 10px;
    }

    .listing-results-section .owner-inline {
        display: none;
    }

    .listing-results-section .card-actions {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .listing-results-section .card-actions .btn {
        width: 100%;
        min-height: 34px;
        justify-content: center;
        padding: 0 10px;
        font-size: 12px;
        font-weight: 800;
    }

    .listing-results-section .btn-detail {
        display: none;
    }

    .listing-results-section .btn-phone-pill {
        display: none;
    }

    .listing-results-section .btn-contact-icon {
        width: 100%;
        min-width: 0;
        height: 34px;
        border-radius: 8px;
    }

    .listing-results-section .btn-contact-icon .btn-action-label {
        display: inline;
    }

    .listing-results-section .facility-chips {
        gap: 8px;
        margin-bottom: 8px;
    }

    .listing-results-section .facility-more-btn {
        min-width: 30px;
        height: 28px;
        padding: 0 8px;
        font-size: 14px;
    }

    .listing-results-section .facility-popover {
        padding: 10px;
        border-radius: 10px;
    }

.listing-results-section .btn-phone {
        display: none;
    }
}

/* Global mobile hardening */
@media (max-width: 768px) {
    .navbar-wrapper {
        position: sticky;
        top: 0;
        z-index: 2200;
        overflow: visible;
    }

    .mobile-topbar {
        position: sticky;
        top: 0;
        z-index: 2202;
    }

    .mobile-nav-panel {
        position: fixed;
        top: 56px;
        left: 0;
        right: 0;
        z-index: 2201;
        display: block;
        max-height: calc(100dvh - 56px);
        overflow-y: auto;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-8px);
        transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
    }

    .mobile-nav-panel.open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    body.mobile-menu-open {
        overflow: hidden;
    }

    body.mobile-menu-open .listing-fixed-header {
        opacity: 0 !important;
        pointer-events: none !important;
        transform: translateY(-120%) !important;
    }

    .dashboard-body {
        overflow: auto;
    }

    .dashboard-layout {
        min-height: 100dvh;
        height: auto;
        grid-template-columns: 1fr;
    }

    .dashboard-sidebar {
        position: relative;
        min-height: 0;
        height: auto;
        overflow: visible;
    }

    .sidebar-nav {
        padding-bottom: 18px;
    }

    .sidebar-account {
        position: static;
        margin-top: 10px;
        padding: 10px 0 0;
        border-top: 0;
        background: transparent;
        box-shadow: none;
    }

    .dashboard-content {
        height: auto;
        min-height: 0;
        overflow: visible;
        padding: 16px 14px 22px;
    }

    .panel-scroll,
    .table-wrap {
        overflow-x: auto;
    }

    .data-table {
        min-width: 680px;
    }

    .form-row.two-col,
    .form-row.three-col,
    .form-row.four-col,
    .stats-grid,
    .dashboard-stats,
    .summary-grid,
    .about-grid,
    .gallery-grid,
    .upload-preview {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 34px 0 18px;
    }

    .footer-bottom-inner {
        display: grid;
        gap: 6px;
    }
}

@media (max-width: 480px) {
    .container {
        width: min(100% - 20px, 1200px);
    }

    .mobile-topbar {
        padding: 0 10px;
        grid-template-columns: 40px 1fr 40px;
        height: 52px;
    }

    .mobile-nav-panel {
        top: 52px;
        max-height: calc(100dvh - 52px);
        padding-left: 10px;
        padding-right: 10px;
    }

    .mobile-menu-btn,
    .mobile-folder-btn {
        width: 34px;
        height: 34px;
    }

    .dashboard-content {
        padding: 14px 10px 18px;
    }
}
