/* ==========================================================================
   RentZim Theme - Consolidated CSS
   Version: 2026.04 - Clean, No Conflicts
   ========================================================================== */

/* ── Root Variables ─────────────────────────────────────────────────────── */
:root {
    --rz-green: #0a7c3a;
    --rz-green-dark: #065f46;
    --rz-green-light: #e8f5e9;
    --rz-slate: #0f172a;
    --rz-text: #111827;
    --rz-muted: #64748b;
    --rz-bg: #f8fafc;
    --rz-card: #ffffff;
    --rz-border: #e5e7eb;
    --rz-radius: 16px;
    --rz-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    --rz-shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.12);
    --rz-transition: all 0.25s ease;
    --rz-max-width: 1280px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--rz-bg);
    color: var(--rz-text);
    line-height: 1.6;
    margin: 0;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ── Container ─────────────────────────────────────────────────────────── */
.rz-container {
    width: min(var(--rz-max-width), 96%);
    margin-inline: auto;
    padding-inline: 1.5rem;
}

/* ── Buttons ───────────────────────────────────────────────────────────── */
.rz-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--rz-transition);
    cursor: pointer;
    gap: 8px;
}

.rz-btn-primary {
    background: var(--rz-green);
    color: white;
    border: none;
}

.rz-btn-primary:hover {
    background: var(--rz-green-dark);
    transform: translateY(-2px);
}

.rz-btn-outline {
    border: 2px solid var(--rz-green);
    color: var(--rz-green);
    background: transparent;
}

.rz-btn-outline:hover {
    background: var(--rz-green);
    color: white;
}

.rz-btn-ghost {
    display: inline-flex;
    align-items: center;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    background: transparent;
    transition: all 0.18s ease;
}

.rz-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.6);
    color: #fff;
}

/* ── Header (Glass Premium) ────────────────────────────────────────────── */
.rz-header {
    position: sticky;
    top: 0;
    z-index: 999;
    width: 100%;
    backdrop-filter: blur(14px);
    background: rgba(10, 124, 58, 0.85);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
}

.rz-header.scrolled {
    background: rgba(10, 124, 58, 0.97);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.rz-header-inner {
    width: 100%;
    max-width: 100%;
    padding: 0 32px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.rz-header-left {
    display: flex;
    align-items: center;
}

.rz-logo img {
    height: 42px;
    width: auto;
}

.rz-logo .rz-logo-text {
    font-size: 26px;
    font-weight: 800;
    color: white;
    text-decoration: none;
}

.rz-nav {
    display: flex;
    justify-content: center;
    flex: 1;
}

.rz-menu {
    display: flex;
    gap: 32px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.rz-menu a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: color 0.2s;
}

.rz-menu a:hover {
    color: #e8f5e9;
}

.rz-header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.rz-user-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    padding: 8px 14px;
    border-radius: 40px;
    cursor: pointer;
    color: white;
    font-weight: 500;
}

.rz-user-btn img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
}

.rz-user-dropdown-wrapper {
    position: relative;
}

.rz-user-dropdown {
    position: absolute;
    right: 0;
    top: 55px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s ease;
    z-index: 1000;
}

.rz-user-dropdown-wrapper:hover .rz-user-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.rz-user-dropdown a {
    display: block;
    padding: 12px 20px;
    text-decoration: none;
    color: #334155;
    transition: background 0.15s;
}

.rz-user-dropdown a:hover {
    background: #f8fafc;
}

.rz-logout-link {
    color: #dc2626 !important;
}

.rz-burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.rz-burger span {
    width: 25px;
    height: 2px;
    background: white;
    transition: 0.3s;
}

.rz-mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background: #0a7c3a;
    z-index: 9999;
    transition: left 0.3s ease;
    padding-top: 80px;
}

.rz-mobile-menu.open {
    left: 0;
}

/* ── Hero Section (Premium) ────────────────────────────────────────────── */
.rz-hero {
    position: relative;
    min-height: 88vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    background: linear-gradient(rgba(5, 18, 10, 0.55), rgba(5, 18, 10, 0.7)),
                url('/wp-content/uploads/hero-apartment.jpg') center/cover no-repeat;
    overflow: hidden;
}

.rz-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 75% 15%, rgba(134, 239, 172, 0.18), transparent 55%);
    pointer-events: none;
}

.rz-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 860px;
    margin: 0 auto;
    padding: 80px 20px;
}

.rz-hero-inner h1 {
    font-size: clamp(2.4rem, 5.5vw, 4rem);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -0.5px;
    margin: 0 0 20px;
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
}

.rz-hero-inner p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255, 255, 255, 0.88);
    max-width: 580px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

/* ── Search Card (Glass) ───────────────────────────────────────────────── */
.rz-search-card {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 28px 72px rgba(0, 0, 0, 0.22);
    width: 100%;
    max-width: 820px;
    margin: 0 auto;
    animation: rzFadeUp 0.55s ease both;
}

@keyframes rzFadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.rz-type-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f1f5f9;
}

.rz-type-tab {
    appearance: none;
    padding: 6px 15px;
    border-radius: 30px;
    border: 1.5px solid #e2e8f0;
    background: #fff;
    color: #475569;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.18s ease;
}

.rz-type-tab:hover {
    border-color: var(--rz-green);
    color: var(--rz-green);
    background: #f0fdf4;
}

.rz-type-tab--active {
    background: var(--rz-green);
    border-color: var(--rz-green);
    color: #fff;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(10, 124, 58, 0.28);
}

.rz-search-fields {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 14px;
}

.rz-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.rz-field label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--rz-green);
    display: flex;
    align-items: center;
    gap: 5px;
}

.rz-select {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    font-size: 14px;
    color: #1e293b;
    background: #fff;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    cursor: pointer;
    transition: border-color 0.18s ease;
}

.rz-select:focus {
    outline: none;
    border-color: var(--rz-green);
    box-shadow: 0 0 0 3px rgba(10, 124, 58, 0.12);
}

.rz-search-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 20px;
    background: linear-gradient(135deg, #0a7c3a, #16a34a);
    color: #fff;
    border: none;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(10, 124, 58, 0.32);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    margin-top: 8px;
}

.rz-search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 36px rgba(10, 124, 58, 0.42);
    background: linear-gradient(135deg, #0a7c3a, #15803d);
}

.rz-scroll {
    margin-top: 32px;
    font-size: 22px;
    opacity: 0.55;
    animation: rzBounce 1.8s ease-in-out infinite;
}

@keyframes rzBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(9px); }
}

/* ── Trust Section ─────────────────────────────────────────────────────── */
.rzh-trust {
    padding: 80px 0;
    background: #fff;
}

.rzh-trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.rzh-trust-card {
    background: var(--rz-bg);
    border-radius: 20px;
    padding: 28px 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.rzh-trust-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--rz-shadow-lg);
}

.rzh-trust-icon {
    font-size: 32px;
    margin-bottom: 12px;
}

.rzh-trust-card h4 {
    margin: 8px 0 6px;
    font-size: 16px;
    font-weight: 700;
    color: var(--rz-slate);
}

.rzh-trust-card p {
    font-size: 13px;
    color: var(--rz-muted);
    margin: 0;
}

/* ── Featured Properties ───────────────────────────────────────────────── */
.rzh-section {
    padding: 80px 0;
}

.rzh-section--alt {
    background: var(--rz-bg);
}

.rzh-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.rzh-section-head--center {
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.rzh-section-title {
    font-size: clamp(1.8rem, 4vw, 2.2rem);
    font-weight: 800;
    margin: 0 0 8px;
    color: var(--rz-slate);
}

.rzh-section-sub {
    color: var(--rz-muted);
    font-size: 15px;
    margin: 0;
}

.rzh-see-all {
    color: var(--rz-green);
    font-weight: 600;
    text-decoration: none;
    font-size: 14px;
}

.rzh-see-all:hover {
    text-decoration: underline;
}

.rzh-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 28px;
}

.rzh-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--rz-shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--rz-border);
}

.rzh-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--rz-shadow-lg);
    border-color: #d1fae5;
}

.rzh-card__thumb {
    display: block;
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--rz-bg);
}

.rzh-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.rzh-card:hover .rzh-card__thumb img {
    transform: scale(1.04);
}

.rzh-card__body {
    padding: 18px 20px 20px;
}

.rzh-card__location {
    font-size: 12px;
    color: var(--rz-muted);
    margin: 0 0 6px;
}

.rzh-card__title {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 10px;
}

.rzh-card__title a {
    color: var(--rz-slate);
    text-decoration: none;
}

.rzh-card__title a:hover {
    color: var(--rz-green);
}

.rzh-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13px;
    color: var(--rz-muted);
    margin-bottom: 14px;
}

.rzh-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--rz-border);
    padding-top: 14px;
}

.rzh-card__price {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--rz-green);
}

.rzh-card__price-per {
    font-size: 12px;
    font-weight: 400;
    color: var(--rz-muted);
}

.rzh-card__cta {
    font-size: 13px;
    font-weight: 600;
    color: var(--rz-green);
    text-decoration: none;
}

/* ── How It Works Steps ────────────────────────────────────────────────── */
.rzh-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 48px;
}

.rzh-step {
    text-align: center;
    padding: 28px 20px;
    background: #fff;
    border-radius: 20px;
    border: 1px solid var(--rz-border);
    transition: box-shadow 0.3s ease;
}

.rzh-step:hover {
    box-shadow: var(--rz-shadow-lg);
}

.rzh-step__icon-wrap {
    position: relative;
    display: inline-block;
    margin-bottom: 16px;
}

.rzh-step__icon {
    font-size: 42px;
}

.rzh-step__num {
    position: absolute;
    top: -8px;
    right: -12px;
    background: var(--rz-green);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 20px;
}

.rzh-step__title {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 10px;
    color: var(--rz-slate);
}

.rzh-step__desc {
    font-size: 14px;
    color: var(--rz-muted);
    line-height: 1.6;
    margin: 0;
}

.rzh-steps-ctas {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ── Landlord CTA ──────────────────────────────────────────────────────── */
.rzh-landlord-cta {
    background: linear-gradient(135deg, #052e16 0%, #0a3d1f 50%, #0f172a 100%);
    padding: 80px 0;
}

.rzh-landlord-cta__inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 60px;
    align-items: center;
}

.rzh-landlord-cta__title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    color: #fff;
    margin: 0 0 16px;
}

.rzh-landlord-cta__sub {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 24px;
    line-height: 1.6;
}

.rzh-landlord-cta__bullets {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
}

.rzh-landlord-cta__bullets li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 12px;
    font-size: 14px;
}

.rzh-stat-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 28px 36px;
    text-align: center;
    margin-bottom: 16px;
}

.rzh-stat-card:last-child {
    margin-bottom: 0;
}

.rzh-stat-card__num {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: #86efac;
    line-height: 1.1;
}

.rzh-stat-card__label {
    display: block;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 6px;
}

/* ── Amenities Grid ────────────────────────────────────────────────────── */
.rzh-amenity-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.rzh-amenity-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px 12px;
    background: #fff;
    border: 1px solid var(--rz-border);
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.rzh-amenity-tile:hover {
    border-color: var(--rz-green);
    background: #f0fdf4;
    transform: translateY(-2px);
}

.rzh-amenity-tile__icon {
    font-size: 28px;
}

.rzh-amenity-tile__label {
    font-size: 13px;
    font-weight: 600;
    color: var(--rz-slate);
    text-align: center;
}

/* ── Footer ────────────────────────────────────────────────────────────── */
.rz-footer {
    background: #0d1f13;
    color: #cbd5e1;
    margin-top: auto;
}

.rz-footer-cta {
    background: linear-gradient(135deg, #0a7c3a, #16a34a);
    padding: 48px 20px;
    text-align: center;
}

.rz-footer-cta h2 {
    color: #fff;
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    font-weight: 700;
    margin: 0 0 20px;
}

.rz-btn-white {
    display: inline-block;
    background: #fff;
    color: #0a7c3a;
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}

.rz-btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.rz-footer-top {
    padding: 60px 20px 40px;
}

.rz-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}

.rz-footer-logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 12px;
}

.rz-footer-desc {
    color: #94a3b8;
    line-height: 1.7;
    margin: 0 0 20px;
    max-width: 280px;
}

.rz-social {
    display: flex;
    gap: 12px;
}

.rz-social a {
    font-size: 20px;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.15s;
}

.rz-social a:hover {
    opacity: 1;
}

.rz-footer-col h4 {
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 16px;
}

.rz-footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.rz-footer-col ul li {
    margin-bottom: 10px;
}

.rz-footer-col ul li a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.15s;
}

.rz-footer-col ul li a:hover {
    color: #fff;
}

.rz-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px;
}

.rz-footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.rz-footer-bottom p {
    margin: 0;
    color: #64748b;
    font-size: 13px;
}

.rz-footer-bottom a {
    color: #94a3b8;
    text-decoration: none;
}

.rz-footer-bottom a:hover {
    color: #fff;
}

/* ── Responsive ────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .rzh-trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .rzh-amenity-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .rzh-steps {
        grid-template-columns: repeat(2, 1fr);
    }
    .rzh-landlord-cta__inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 900px) {
    .rz-nav {
        display: none;
    }
    .rz-burger {
        display: flex;
    }
    .rz-header-inner {
        padding: 0 20px;
        height: 64px;
    }
}

@media (max-width: 768px) {
    .rz-hero-inner {
        padding: 60px 16px;
    }
    .rz-search-fields {
        grid-template-columns: 1fr;
    }
    .rz-type-tabs {
        justify-content: center;
    }
    .rzh-trust-grid {
        grid-template-columns: 1fr 1fr;
    }
    .rzh-amenity-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .rzh-section {
        padding: 60px 0;
    }
    .rzh-section-head {
        flex-direction: column;
        align-items: flex-start;
    }
    .rz-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 560px) {
    .rzh-card-grid {
        grid-template-columns: 1fr;
    }
    .rzh-steps {
        grid-template-columns: 1fr;
    }
    .rzh-amenity-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .rz-footer-grid {
        grid-template-columns: 1fr;
    }
    .rz-footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .rz-hero {
        min-height: 75vh;
    }
    .rz-hero-inner h1 {
        font-size: clamp(1.7rem, 8vw, 2.2rem);
    }
    .rzh-trust-grid {
        grid-template-columns: 1fr;
    }
}

/* ================= ELITE ARCHIVE UI ================= */

.rz-archive-layout{
display:grid;
grid-template-columns:280px 1fr;
gap:30px;
align-items:start;
}

/* Sidebar */
.rz-archive-sidebar{
position:sticky;
top:100px;
background:rgba(255,255,255,0.85);
backdrop-filter:blur(14px);
padding:25px;
border-radius:16px;
box-shadow:0 20px 60px rgba(0,0,0,0.08);
}

.rz-filter-group{
margin-bottom:18px;
}

.rz-filter-group label{
font-size:13px;
font-weight:600;
color:#64748b;
display:block;
margin-bottom:6px;
}

.rz-filter-group input,
.rz-filter-group select{
width:100%;
padding:12px;
border-radius:10px;
border:1px solid #e5e7eb;
}

.rz-filter-btn{
width:100%;
background:#0a7c3a;
color:white;
padding:14px;
border-radius:12px;
border:none;
font-weight:700;
margin-top:10px;
cursor:pointer;
}

.rz-clear-filters{
display:block;
text-align:center;
margin-top:12px;
font-size:13px;
color:#64748b;
}

/* Grid */
.rz-properties-grid{
display:grid;
grid-template-columns:repeat(auto-fill,minmax(280px,1fr));
gap:25px;
}

/* Card */
.rz-property-card{
border-radius:18px;
overflow:hidden;
background:white;
box-shadow:0 10px 30px rgba(0,0,0,0.06);
transition:all .35s ease;
}

.rz-property-card:hover{
transform:translateY(-10px);
box-shadow:0 25px 60px rgba(0,0,0,0.15);
}

/* Image */
.rz-card-image{
position:relative;
overflow:hidden;
}

.rz-card-image img{
width:100%;
height:220px;
object-fit:cover;
transition:transform .5s ease;
}

.rz-property-card:hover img{
transform:scale(1.08);
}

/* Overlay */
.rz-card-overlay{
position:absolute;
inset:0;
background:linear-gradient(to top, rgba(0,0,0,.7), transparent);
}

/* Price */
.rz-card-price{
position:absolute;
bottom:12px;
left:12px;
background:#0a7c3a;
color:white;
padding:8px 14px;
border-radius:10px;
font-weight:700;
box-shadow:0 10px 25px rgba(0,0,0,0.3);
}

/* Boosted */
.rz-card-badge{
position:absolute;
top:12px;
left:12px;
background:#f59e0b;
color:white;
padding:6px 12px;
border-radius:30px;
font-size:12px;
font-weight:700;
box-shadow:0 8px 20px rgba(0,0,0,0.2);
}

/* Favorite */
.rz-card-fav{
position:absolute;
top:12px;
right:12px;
background:white;
border:none;
border-radius:50%;
width:38px;
height:38px;
cursor:pointer;
box-shadow:0 8px 20px rgba(0,0,0,0.2);
}

/* Body */
.rz-card-body{
padding:16px;
}

.rz-card-title{
font-size:17px;
font-weight:700;
margin-bottom:6px;
}

.rz-card-location{
color:#64748b;
font-size:14px;
margin-bottom:10px;
}

.rz-card-meta{
display:flex;
gap:15px;
font-size:13px;
color:#475569;
}

/* Header */
.rz-results-header{
display:flex;
justify-content:space-between;
align-items:center;
margin-bottom:20px;
}

.rz-results-header select{
padding:10px;
border-radius:10px;
border:1px solid #e5e7eb;
}

/* Mobile */
@media(max-width:900px){
.rz-archive-layout{
grid-template-columns:1fr;
}

.rz-archive-sidebar{
position:relative;
top:auto;
}
}

/* ================= FINAL ARCHIVE FIX ================= */

/* Main layout */
.rz-archive-main {
    width: 100%;
}

/* Hero bar */
.rz-hero-bar {
    background: linear-gradient(135deg,#052e16,#0f172a);
    color: white;
    padding: 60px 0 40px;
    text-align: center;
}

.rz-hero-bar h1 {
    font-size: 2.4rem;
    margin-bottom: 10px;
}

.rz-hero-bar p {
    opacity: .8;
}

/* Card link fix */
.rz-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

/* Ensure cards fill grid */
.rz-property-card {
    width: 100%;
}

/* Fix container spacing */
.rz-archive-page {
    padding-bottom: 60px;
}

/* Pagination */
.pagination,
.page-numbers {
    margin-top: 40px;
    display: flex;
    gap: 8px;
    justify-content: center;
}

.page-numbers a,
.page-numbers span {
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    text-decoration: none;
    color: #334155;
}

.page-numbers .current {
    background: #0a7c3a;
    color: white;
    border-color: #0a7c3a;
}

/* No results */
.rz-no-results {
    text-align: center;
    padding: 80px 20px;
}

/* Fix weird narrow layout bug */
.rz-archive-layout {
    width: 100%;
}

/* ================= ARCHIVE PAGE FIXES ================= */

/* Hero section */
.rz-archive-hero {
    background: linear-gradient(135deg, #052e16 0%, #0f172a 100%);
    color: white;
    padding: 60px 0 50px;
    text-align: center;
    margin-bottom: 40px;
}

.rz-archive-hero h1 {
    font-size: 2.5rem;
    margin: 0 0 10px;
    font-weight: 800;
}

.rz-archive-hero p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin: 0;
}

/* Main layout - FIX NARROW ISSUE */
.rz-archive-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    align-items: start;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Sidebar */
.rz-archive-sidebar {
    background: white;
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 100px;
}

.rz-archive-sidebar h3 {
    font-size: 1.3rem;
    margin: 0 0 20px;
    color: #0f172a;
}

.rz-filter-group {
    margin-bottom: 20px;
}

.rz-filter-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    margin-bottom: 6px;
}

.rz-filter-group select,
.rz-filter-group input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-size: 14px;
    background: white;
    transition: border-color 0.2s;
}

.rz-filter-group select:focus,
.rz-filter-group input:focus {
    outline: none;
    border-color: #0a7c3a;
}

.rz-filter-btn {
    width: 100%;
    background: #0a7c3a;
    color: white;
    padding: 14px;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    margin-top: 10px;
    transition: background 0.2s;
}

.rz-filter-btn:hover {
    background: #065f46;
}

.rz-clear-filters {
    display: block;
    text-align: center;
    margin-top: 15px;
    font-size: 13px;
    color: #64748b;
    text-decoration: none;
}

.rz-clear-filters:hover {
    color: #0a7c3a;
}

/* Results Header */
.rz-results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
    flex-wrap: wrap;
    gap: 15px;
}

.rz-results-header h2 {
    font-size: 1.3rem;
    margin: 0;
    color: #0f172a;
}

.rz-results-header select {
    padding: 10px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 14px;
    background: white;
    cursor: pointer;
}

/* Properties Grid - FIXED */
.rz-properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 28px;
}

/* Property Card */
.rz-property-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.rz-property-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.rz-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

/* Card Image */
.rz-card-image {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #f1f5f9;
}

.rz-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.rz-property-card:hover .rz-card-image img {
    transform: scale(1.05);
}

.rz-card-no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-size: 48px;
    background: #f1f5f9;
    color: #94a3b8;
}

.rz-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
}

/* Price Badge */
.rz-card-price {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: #0a7c3a;
    color: white;
    padding: 6px 14px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.rz-card-price span {
    font-size: 11px;
    font-weight: 400;
    margin-left: 2px;
}

/* Boosted Badge */
.rz-card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
    color: white;
    padding: 4px 12px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Favorite Button */
.rz-card-fav {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.rz-card-fav:hover {
    transform: scale(1.1);
    background: white;
}

/* Card Body */
.rz-card-body {
    padding: 18px;
}

.rz-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 6px;
    color: #0f172a;
}

.rz-card-location {
    font-size: 13px;
    color: #64748b;
    margin: 0 0 12px;
}

.rz-card-meta {
    display: flex;
    gap: 16px;
    font-size: 13px;
    color: #475569;
    padding-top: 10px;
    border-top: 1px solid #f1f5f9;
}

/* Pagination */
.rz-pagination {
    margin-top: 50px;
    text-align: center;
}

.rz-pagination .page-numbers {
    display: inline-flex;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
    justify-content: center;
}

.rz-pagination .page-numbers li {
    margin: 0;
}

.rz-pagination .page-numbers a,
.rz-pagination .page-numbers span {
    display: inline-block;
    padding: 10px 16px;
    border-radius: 10px;
    text-decoration: none;
    background: white;
    border: 1px solid #e2e8f0;
    color: #334155;
    font-weight: 500;
    transition: all 0.2s;
}

.rz-pagination .page-numbers a:hover {
    background: #f8fafc;
    border-color: #0a7c3a;
    color: #0a7c3a;
}

.rz-pagination .page-numbers .current {
    background: #0a7c3a;
    border-color: #0a7c3a;
    color: white;
}

/* No Results */
.rz-no-results {
    text-align: center;
    padding: 80px 20px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.rz-no-results-icon {
    font-size: 64px;
    display: block;
    margin-bottom: 20px;
    opacity: 0.5;
}

.rz-no-results h3 {
    font-size: 1.3rem;
    margin: 0 0 10px;
    color: #0f172a;
}

.rz-no-results p {
    color: #64748b;
    margin-bottom: 25px;
}

/* Mobile */
@media (max-width: 900px) {
    .rz-archive-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .rz-archive-sidebar {
        position: static;
    }
    
    .rz-properties-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

@media (max-width: 640px) {
    .rz-properties-grid {
        grid-template-columns: 1fr;
    }
    
    .rz-results-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .rz-archive-hero h1 {
        font-size: 1.8rem;
    }
}
/* ================= FULL WIDTH OVERRIDES ================= */

html body .rz-container {
    max-width: 100%;
    width: 100%;
    padding-left: 40px;
    padding-right: 40px;
    margin-left: 0;
    margin-right: 0;
    box-sizing: border-box;
}

html body .rz-archive-layout {
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding: 0 40px;
}

html body .rz-archive-layout,
html body .rz-properties-grid,
html body .rzh-card-grid,
html body .rzh-steps,
html body .rzh-amenity-grid,
html body .rzh-trust-grid {
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
}

html body .rz-header-inner {
    max-width: 100%;
    padding-left: 40px;
    padding-right: 40px;
    margin-left: 0;
    margin-right: 0;
}

html body .rz-footer-top,
html body .rz-footer-bottom,
html body .rz-footer-grid {
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding-left: 40px;
    padding-right: 40px;
    box-sizing: border-box;
}

html body .rzh-trust,
html body .rzh-section {
    padding-left: 40px;
    padding-right: 40px;
}

html body .rzh-trust-grid,
html body .rzh-card-grid {
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
}

html body .rz-hero-inner {
    max-width: 100%;
    padding: 80px 40px;
    margin: 0;
}

@media (max-width: 768px) {
    html body .rz-container,
    html body .rz-archive-layout,
    html body .rz-header-inner,
    html body .rz-footer-top,
    html body .rz-footer-bottom,
    html body .rzh-trust,
    html body .rzh-section,
    html body .rz-hero-inner {
        padding-left: 16px;
        padding-right: 16px;
    }
}

/* ================= PREMIUM SUBMIT FORM ================= */

.rz-form-premium{
max-width:900px;
margin:auto;
display:flex;
flex-direction:column;
gap:30px;
}

.rz-form-section{
background:white;
padding:25px;
border-radius:16px;
box-shadow:0 10px 30px rgba(0,0,0,0.08);
}

.rz-form-section h2{
margin-bottom:15px;
font-size:20px;
}

.rz-grid-2{
display:grid;
grid-template-columns:1fr 1fr;
gap:15px;
}

.rz-field label{
display:block;
font-weight:600;
margin-bottom:5px;
}

.rz-field input{
width:100%;
padding:12px;
border-radius:10px;
border:1px solid #ddd;
}

/* Amenities */
.rz-amenities{
display:flex;
flex-wrap:wrap;
gap:10px;
}

.rz-amenities label{
background:#f1f5f9;
padding:8px 14px;
border-radius:20px;
cursor:pointer;
}

/* Boost */
.rz-boost-box{
background:#fff7ed;
border:1px solid #fed7aa;
}

/* Button */
.rz-submit-btn{
background:linear-gradient(135deg,#0a7c3a,#16a34a);
color:white;
padding:16px;
border:none;
border-radius:12px;
font-weight:700;
font-size:16px;
cursor:pointer;
}

.rz-submit-btn:hover{
transform:translateY(-2px);
}

/* Message */
#rz-form-message{
margin-top:10px;
font-weight:600;
}

/* ===== RentZim Premium Pages ===== */

.rz-page {
  max-width: 1100px;
  margin: auto;
  padding: 60px 20px;
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
}

.rz-hero {
  text-align: center;
  margin-bottom: 60px;
}

.rz-hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 15px;
}

.rz-hero p {
  font-size: 1.15rem;
  color: #64748b;
  max-width: 600px;
  margin: auto;
}

.rz-grid {
  display: grid;
  gap: 25px;
}

.rz-grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.rz-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 25px;
  transition: all .25s ease;
}

.rz-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.1);
}

.rz-icon {
  font-size: 28px;
  margin-bottom: 10px;
}

.rz-btn {
  display: inline-block;
  padding: 14px 28px;
  background: #0a7c3a;
  color: #fff;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  margin-top: 15px;
}

.rz-btn:hover {
  background: #065f46;
}

.rz-section {
  margin-top: 60px;
}

.rz-faq {
  border-bottom: 1px solid #e5e7eb;
  padding: 15px 0;
}

.rz-faq strong {
  display: block;
  margin-bottom: 5px;
}

@media(max-width:768px){
  .rz-page {
    padding: 40px 15px;
  }
}

.rz-clean {
  all: unset;
}

/* 🔥 FORCE YOUR DESIGN TO WIN */

.rz-content .rz-custom-page {
  all: unset;
  display: block;
}

/* Restore your layout */

.rz-custom-page {
  max-width: 1100px;
  margin: auto;
  padding: 60px 20px;
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
}

.rz-custom-page .rz-grid {
  display: grid;
  gap: 25px;
}

.rz-custom-page .rz-grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.rz-custom-page .rz-card {
  background: #fff;
  border-radius: 16px;
  padding: 25px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* ===== 🔥 ISOLATE FROM WORDPRESS ===== */

.rz-content > .rz-ui {
  all: initial;
  display: block;
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Restore layout */

.rz-ui .rz-page {
  max-width: 1100px;
  margin: auto;
  padding: 60px 20px;
}

.rz-ui .rz-hero {
  text-align: center;
  margin-bottom: 50px;
}

.rz-ui .rz-grid {
  display: grid;
  gap: 25px;
}

.rz-ui .rz-grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.rz-ui .rz-card {
  background: #fff;
  border-radius: 16px;
  padding: 25px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.rz-ui .rz-faq {
  border-bottom: 1px solid #e5e7eb;
  padding: 15px 0;
}

/* ── Landlord CTA ── */
.rzh-landlord-cta { padding: 60px 0; }

.rzh-landlord-cta__inner {
    background: #0d2218;
    border-radius: 20px;
    padding: 64px 56px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.rzh-landlord-cta__inner::before {
    content: '';
    position: absolute;
    top: -80px; right: -80px;
    width: 320px; height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(29,158,117,0.18) 0%, transparent 70%);
    pointer-events: none;
}

.rzh-landlord-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #1d9e75;
    border: 1px solid rgba(29,158,117,0.3);
    border-radius: 100px;
    padding: 4px 12px;
    margin-bottom: 20px;
}

.rzh-landlord-cta__title {
    font-size: 38px;
    font-weight: 600;
    color: #f0ede6;
    line-height: 1.15;
    margin: 0 0 16px;
}
.rzh-landlord-cta__title em {
    font-style: italic;
    color: #1d9e75;
}

.rzh-landlord-cta__sub {
    font-size: 15px;
    color: rgba(240,237,230,0.55);
    line-height: 1.65;
    margin: 0 0 28px;
}

.rzh-landlord-cta__bullets {
    list-style: none;
    margin: 0 0 36px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.rzh-landlord-cta__bullets li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: rgba(240,237,230,0.75);
}
.rzh-bullet-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #1d9e75;
    flex-shrink: 0;
}

/* Feature cards (right column) */
.rzh-landlord-cta__right {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.rzh-feature-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 14px;
    padding: 18px 20px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
}
.rzh-feature-icon {
    width: 38px; height: 38px;
    border-radius: 10px;
    background: rgba(29,158,117,0.12);
    border: 1px solid rgba(29,158,117,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 16px;
}
.rzh-feature-text h4 {
    font-size: 14px;
    font-weight: 500;
    color: #f0ede6;
    margin: 0 0 3px;
}
.rzh-feature-text p {
    font-size: 12.5px;
    color: rgba(240,237,230,0.45);
    margin: 0;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .rzh-landlord-cta__inner {
        grid-template-columns: 1fr;
        padding: 40px 28px;
        gap: 36px;
    }
    .rzh-landlord-cta__title { font-size: 28px; }
}

/* RentZim Frontend Styles */

/* Favorite Button */
.rz-fav-btn {
    background: none;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    padding: 8px 16px;
    transition: all 0.3s ease;
}

.rz-fav-btn:hover {
    background: #fee2e2;
    border-color: #ef4444;
    transform: scale(1.05);
}

.rz-fav-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Views Counter */
.rz-views {
    display: inline-block;
    font-size: 14px;
    color: #64748b;
    margin-left: 10px;
}

/* Chat Modal */
#rz-chat-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.rz-chat-box {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 350px;
    height: 500px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.rz-chat-header {
    background: #3b82f6;
    color: white;
    padding: 12px 16px;
    font-weight: bold;
    border-bottom: 1px solid #e2e8f0;
}

.rz-chat-header button {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    padding: 0 8px;
}

.rz-chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    background: #f8fafc;
}

.rz-msg {
    margin-bottom: 12px;
    padding: 8px 12px;
    border-radius: 8px;
    max-width: 80%;
}

.rz-msg-other {
    background: #e2e8f0;
    margin-right: auto;
}

.rz-msg-own {
    background: #3b82f6;
    color: white;
    margin-left: auto;
}

.rz-msg strong {
    font-size: 12px;
    display: block;
    margin-bottom: 4px;
}

.rz-msg p {
    margin: 4px 0;
    word-wrap: break-word;
}

.rz-msg small {
    font-size: 10px;
    opacity: 0.7;
    display: block;
    margin-top: 4px;
}

.rz-no-messages {
    text-align: center;
    color: #94a3b8;
    padding: 20px;
}

#rz-chat-input {
    border: 1px solid #e2e8f0;
    padding: 12px;
    margin: 8px;
    border-radius: 8px;
    resize: vertical;
    font-family: inherit;
}

#rz-send-message {
    margin: 0 8px 8px 8px;
    padding: 10px;
    background: #3b82f6;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
}

#rz-send-message:hover {
    background: #2563eb;
}

/* Contact Button */
.rz-contact-btn {
    background: #10b981;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    transition: background 0.3s ease;
}

.rz-contact-btn:hover {
    background: #059669;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .rz-chat-box {
        width: 100%;
        height: 100%;
        bottom: 0;
        right: 0;
        border-radius: 0;
    }
}

/* Mobile Menu Base Styles */
.rz-mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 80%;
    max-width: 400px;
    height: 100%;
    z-index: 9999;
    background: #fff;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    visibility: visible;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
}

.rz-mobile-menu.is-open {
    transform: translateX(0);
}

/* Close button styles */
.rzh-drawer__close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
}

/* Overlay */
#rz-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 9998;
}

/* Mobile menu list styles */
.rz-mobile-menu-list {
    list-style: none;
    padding: 60px 20px 20px;
    margin: 0;
}

.rz-mobile-menu-list li {
    margin-bottom: 15px;
}

.rz-mobile-menu-list a {
    text-decoration: none;
    font-size: 18px;
    color: #333;
    display: block;
    padding: 10px 0;
}

/* Burger button styles */
.rz-burger {
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

/* Body overflow hidden when menu open */
body.menu-open {
    overflow: hidden;
}

/* ── Mobile Menu Structure ── */
.rz-mobile-menu-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.15);
}

.rz-mobile-close {
    background: rgba(255,255,255,0.15);
    border: none;
    border-radius: 8px;
    padding: 8px;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rz-mobile-menu-list {
    list-style: none;
    margin: 0;
    padding: 16px;
}

.rz-mobile-menu-list li a {
    display: block;
    padding: 12px 16px;
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    border-radius: 8px;
    transition: background 0.2s;
}

.rz-mobile-menu-list li a:hover {
    background: rgba(255,255,255,0.12);
}

.rz-mobile-menu-footer {
    padding: 16px 20px;
    border-top: 1px solid rgba(255,255,255,0.15);
    margin-top: auto;
}

.rz-mobile-logout {
    display: block;
    text-align: center;
    margin-top: 12px;
    color: rgba(255,255,255,0.7);
    font-size: 14px;
}

#rz-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 9998;
    backdrop-filter: blur(2px);
}

#rz-menu-overlay[hidden] { display: none; }