@import url('https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,100..900;1,100..900&display=swap');
/* =============================================
   1. RESET & VARIABLES
   ============================================= */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary:        #0d696c;
	--primarybutton:        #0d696c;
	--primarybuttonhover:   #0a5052;
	
	--light:          #afc4c638;
	--fon:            #a0c3c636;
	--primary-text:   #0C2D30;
	--brand-light:    #AFC4C6;  
    --green:          #303A3B;
	
    --primary-dark:   #367c7b;

    --primary-light:  #6a9470;
    --primary-bg:     #eef4ef;
    --secondary:      #2c3542;
    --secondary-light:#3d4f63;
    --gold:           #f5b342;
    --gold-light:     #f5ecd0;

    --surface:        #ffffff;
    --border:         #d4dcd4;
    --text:           #222b22;
    --text-muted:     #677a67;
    --white:          #ffffff;
    --danger:         #d94b3a;
    --danger-dark:    #b33829;
    --shadow:      0 1px 4px rgba(0,0,0,0.08);
    --shadow:         0 2px 12px rgba(0,0,0,0.10);
    --shadow-lg:      0 8px 32px rgba(0,0,0,0.14);
    --radius:         6px;
    --transition:     0.25s ease;
}

/* =============================================
   2. BASE
   ============================================= */
html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', Arial, sans-serif;
    font-size: 15px;
    line-height: 1.65;
    color: var(--text);
    background: var(--light);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
    background-color: #f4f9fd;
    position: relative;
    background-image: radial-gradient(#e2e8f0 1px, transparent 1px);
    background-size: 20px 20px;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition);
}
a:hover { color: var(--primarybuttonhover); }

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol { list-style: none; }

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

input, select, textarea {
    font-family: inherit;
    font-size: inherit;
}

/* =============================================
   3. LAYOUT
   ============================================= */
.container {
    max-width: 95%;
	margin: 0 auto;
}

.main-content {
    flex: 1;
    min-height: 0;
}

.section {
    padding: 56px 0;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
    gap: 16px;
}

.section-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--green);
    position: relative;
    padding-left: 14px;
}

.section-header h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    bottom: 4px;
    width: 4px;
    background: var(--primary);
    border-radius: 2px;
}

/* =============================================
   4. HEADER
   ============================================= */

/* Sticky wrapper: top bar + header + search panel */
.site-top-wrapper {
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* ── Top bar ─────────────────────────────────── */
.top-bar {
    background: #ffffff;
    border-bottom: 1px solid #e4eaed;
	padding: 7px 35px;
}

.top-bar-inner {
    display: flex;
    align-items: center;
    height: 40px;
    gap: 16px;
}

.top-bar-address {
    font-size: 0.93rem;
    color: #555;
    white-space: nowrap;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 5px;
}

.top-bar-address i {
    color: var(--primary);
    font-size: 0.85rem;
}

.top-bar-nav {
    flex: 1;
    display: flex;
    justify-content: left;
    overflow: hidden;
}

.top-bar-nav ul {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.top-bar-nav a {
    padding: 4px 10px;
    color: #444;
    font-size: 0.98rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 4px;
    white-space: nowrap;
    transition: background var(--transition), color var(--transition);
}

.top-bar-nav a:hover {
    color: var(--primary);
}

/* ── Language switcher ───────────────────────── */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-shrink: 0;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 3px 9px;
    border: 1.5px solid #dde4e8;
    border-radius: 4px;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    background: #f5f7f8;
    color: #444;
    text-decoration: none;
    transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.lang-btn:hover {
    background: var(--primary-bg);
    color: var(--primary);
    border-color: var(--primary);
}

.lang-btn.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.lang-flag {
    font-size: 1rem;
    line-height: 1;
}

/* ── Main header ─────────────────────────────── */
.site-header {
    background: var(--primary);
    box-shadow: var(--shadow);
	padding: 5px 35px;
}

/* ── Search toggle button (full header height) ─ */
/* ── Header right group (fav + search + user-area) ─ */
.header-right-group {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

/* ── Header action buttons (Favorites & Search) ─ */
.header-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.12);
    border: 2px solid rgba(255, 255, 255, 0.18);
    color: #fff;
    font-size: 0.93rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 8px;
    text-decoration: none;
    white-space: nowrap;
    transition: background var(--transition), border-color var(--transition);
    font-family: inherit;
    line-height: 1;
}

.header-action-btns {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 15px;
    color: #fff;
    font-size: 1.53rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    transition: background var(--transition), border-color var(--transition);
    font-family: inherit;
    line-height: 1;
}
.header-action-btns-chat {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 10px;
    color: #fff;
    font-size: 1.53rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    transition: background var(--transition), border-color var(--transition);
    font-family: inherit;
    line-height: 1;
}
.header-action-btns-chat:hover {
	color: #fff;
}
.header-action-btns:hover {
	color: #fff;
}

.header-action-btn:hover,
.header-action-btn[aria-expanded="true"] {
    background: rgba(255, 255, 255, 0.26);
    border-color: rgba(255, 255, 255, 0.36);
    color: #fff;
    text-decoration: none;
}

.header-action-btn i {
    font-size: 1.05rem;
}

/* search-toggle-btn now just uses header-action-btn */
.search-toggle-btn {
    /* styles provided by .header-action-btn */
}

/* ── Sliding search panel ────────────────────── */
.header-search-panel {
    background: #fff;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.35s ease, padding 0.35s ease;
	box-shadow: 0px 0px 20px rgb(75 85 89 / 30%);
}

.header-search-panel.open {
    max-height: 100px;
    padding: 30px 0;
}

.search-panel-inner {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.search-panel-select {
    flex: 1;
    min-width: 160px;
    padding: 9px 32px 9px 12px;
    border: 1.5px solid #cdd8e0;
    border-radius: var(--radius);
    font-size: 0.9rem;
    color: #333;
    background-color: #f7fafb;
    cursor: pointer;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23507154' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 12px 8px;
    transition: border-color var(--transition), box-shadow var(--transition);
    font-family: inherit;
}

.search-panel-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(80, 113, 84, 0.15);
    outline: none;
}

.search-panel-btn {
    padding: 9px 28px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: var(--radius);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background var(--transition);
    white-space: nowrap;
    font-family: inherit;
    display: flex;
    align-items: center;
    gap: 6px;
}

.search-panel-btn:hover {
    background: var(--primarybuttonhover);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 24px;
    height: 80px;
}

.site-logo {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.5px;
    white-space: nowrap;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.site-logo:hover { color: var(--primarybuttonhover); }

.site-logo .logo-icon {
    font-size: 1.4rem;
    line-height: 1;
}

.main-navigation { flex: 1; }

.main-navigation ul {
    display: flex;
    align-items: center;
    gap: 10px;
	justify-content: end;
}

.main-navigation a {
    display: block;
    padding: 8px 12px;
    border-radius: var(--radius);
    color: var(--white);
    font-size: 0.93rem;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    transition: background var(--transition), color var(--transition);
    position: relative;
}

.main-navigation a:hover {
    color: var(--white);
	background: var(--primarybuttonhover);
    border-color: var(--primarybuttonhover);
	border-radius: var(--radius);
}

.main-navigation a.active {
    background: var(--primary-bg);
    color: var(--primary);
    font-weight: 600;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
    flex-shrink: 0;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 6px;
    cursor: pointer;
    background: none;
    border: none;
}

.mobile-menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--green);
    border-radius: 2px;
    transition: all var(--transition);
}

/* =============================================
   5. USER DROPDOWN
   ============================================= */
.user-area {
    position: relative;
}

.user-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: var(--radius);
    background: var(--primary-bg);
    border: 1px solid var(--border);
    cursor: pointer;
    transition: background var(--transition), border-color var(--transition);
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--green);
}

.user-trigger:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.user-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    flex-shrink: 0;
}

.user-dropdown {
    position: relative;
}

.user-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 260px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 8px 0;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
}

.user-dropdown:hover .user-dropdown-menu,
.user-dropdown.open .user-dropdown-menu,
.user-dropdown.show .user-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-dropdown-menu a,
.user-dropdown-menu button {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 16px;
    font-size: 0.88rem;
    color: var(--text);
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    transition: background var(--transition), color var(--transition);
    text-align: left;
}

.user-dropdown-menu a:hover,
.user-dropdown-menu button:hover {
    background: var(--primary-bg);
    color: var(--primary);
}

.user-dropdown-menu .dropdown-divider {
    height: 1px;
    background: var(--border);
    margin: 6px 12px;
}

.user-dropdown-menu .dropdown-header {
    padding: 10px 16px 8px;
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: default;
}

.user-dropdown-menu .dropdown-header:hover {
    background: none;
    color: var(--primary);
}

/* Dropdown header: name + role badge */
.user-dropdown-menu .dropdown-header {
    padding: 12px 16px 10px;
    border-bottom: 1px solid var(--border);
    cursor: default;
    font-size: 0.88rem;
}

.dropdown-user-name {
    display: block;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 4px;
}

.dropdown-role {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 10px;
    letter-spacing: 0.02em;
}

.dropdown-role.role-admin {
    background: #fdebd0;
    color: #b7770d;
}

.dropdown-role.role-mod {
    background: #d6eaf8;
    color: #1a5276;
}

.dropdown-role.role-agent {
    background: var(--primary-bg);
    color: var(--primarybuttonhover);
}

/* Dropdown item accent/danger */
.user-dropdown-menu a.dropdown-item-accent {
    color: var(--primary);
    font-weight: 600;
    background: var(--primary-bg);
}

.user-dropdown-menu a.dropdown-item-accent:hover {
    background: #ddeedd;
    color: var(--primarybuttonhover);
}

.user-dropdown-menu a.dropdown-item-danger {
    color: var(--danger);
}

.user-dropdown-menu a.dropdown-item-danger:hover {
    background: #fdf0ef;
    color: var(--danger-dark);
}

.nav-highlight a {
    background: #073f41;
    color: #ffffff !important;
    border: 2px solid #073f41;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 600;
}

.nav-highlight a:hover {
    background: #072f31;
    color: #ffffff !important;
	border: 2px solid #073f41;
	font-weight:600;
}

/* User avatar mini in header button */
.user-avatar-mini {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--white);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
}

.dropdown-arrow {
    font-size: 0.75rem;
    opacity: 0.9;
	color: #fff;
	margin-left: 7px;
}

/* =============================================
   6. BUTTONS
   ============================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 10px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid transparent;
    text-decoration: none;
    transition: background var(--transition), color var(--transition),
                border-color var(--transition), box-shadow var(--transition),
                transform var(--transition);
    white-space: nowrap;
    line-height: 1.3;
}

.btn:active { transform: scale(0.97); }

.btn-primary {
    background: var(--primarybutton);
    color: var(--white);
    border-color: var(--primarybutton);
}
.btn-primary:hover {
    background: var(--primarybuttonhover);
    border-color: var(--primarybuttonhover);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(80,113,84,0.35);
}

.btn-outline {
    background: transparent;
    color: var(--primarybutton);
    border: 1px solid var(--primarybutton);
}
.btn-outline:hover {
    background: var(--primarybutton);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(80,113,84,0.25);
}

.btn-secondary {
    background: var(--primary);
    color: #fff !important;
    border-color: var(--primary);
}
.btn-secondary:hover {
    background: var(--primarybuttonhover);
    border-color: var(--primarybuttonhover);
    color: var(--white);
}

.btn-danger {
    background: var(--danger);
    color: var(--white);
    border-color: var(--danger);
}
.btn-danger:hover {
    background: var(--danger-dark);
    border-color: var(--danger-dark);
    color: var(--white);
}

.btn-gold {
    background: #e6b01c;
    color: #242323;
    border-color: #dba81b;
}
.btn-gold:hover {
    background: #e6b01c;
    border-color: #dba81b;
    color: #242323;
    box-shadow: 0 4px 16px rgba(201,168,76,0.35);
}

.btn-sm {
    padding: 6px 14px;
    font-size: 0.82rem;
    border-radius: 6px;
}

.btn-block {
    display: flex;
    width: 100%;
}

.btn-promote {
    background: linear-gradient(135deg, #ff7e2f, #ff5a1f);
    color: var(--white);
    border-color: transparent;
    box-shadow: 0 2px 8px rgba(255,90,31,0.3);
}
.btn-promote:hover {
    background: linear-gradient(135deg, #ff5a1f, #e04010);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(255,90,31,0.45);
}

.btn-light {
    background: var(--light);
    color: var(--green);
    border-color: var(--border);
}
.btn-light:hover {
    background: var(--border);
    color: var(--green);
}

/* =============================================
   7. HERO SECTION
   ============================================= */
.hero {
    background: linear-gradient(135deg, #2c3542 0%, #3d5941 50%, var(--primary) 100%);
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    margin-bottom: 40px;
}

.hero-content h1 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 14px;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.hero-content p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.82);
    max-width: 560px;
    margin: 0 auto 0;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 28px;
    flex-wrap: wrap;
}

.hero-stat {
    text-align: center;
    color: var(--white);
}

.hero-stat strong {
    display: block;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--gold);
    line-height: 1;
}

.hero-stat span {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.7);
    margin-top: 4px;
    display: block;
}

/* =============================================
   8. SEARCH FORM
   ============================================= */
.search-form {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 24px;
    position: relative;
    z-index: 2;
}

.search-form-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: flex-end;
}

.search-form-row .form-group {
    flex: 1;
    min-width: 160px;
    margin-bottom: 0;
}

.search-form-row .btn {
    flex-shrink: 0;
    height: 44px;
    padding: 0 24px;
}

.advanced-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    font-size: 0.85rem;
    color: var(--primary);
    cursor: pointer;
    font-weight: 500;
    padding: 4px 0;
    background: none;
    border: none;
    font-family: inherit;
}

.advanced-toggle:hover { color: var(--primarybuttonhover); }

.advanced-fields {
    display: none;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.advanced-fields.open { display: block; }

.search-page-form {
    background: var(--white);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow);
    margin-bottom: 24px;
    border: 1px solid var(--border);
}

/* =============================================
   9. LISTING CARDS
   ============================================= */
.listings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 15px;
}

.listing-card {
	height: 295px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    position: relative;
}

.listing-card:hover {
    border-color: rgba(80,113,84,0.2);
}

.listing-card-img {
    height: 145px;
    position: relative;
    background: var(--light);
}

.listing-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.listing-card:hover .listing-card-img img {
    transform: scale(1.00);
}

.listing-card-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-bg);
    color: var(--primary-light);
    font-size: 3rem;
}

.deal-badge {
    position: absolute;
	background: var(--primary);
    color: #fff;
    top: 12px;
    left: 12px;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    z-index: 2;
}

.deal-badge--sale {
    background: var(--primary);
    color: var(--white);
}

.deal-badge--rent {
    background: #22863a;
    color: var(--white);
}

.deal-badge--buy {
    background: var(--green);
    color: var(--white);
}

.favorite-btn {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
	color: #367c7b;
    border-radius: 50%;
    background: rgba(255,255,255,0.92);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: var(--shadow);
    transition: background var(--transition), transform var(--transition);
    z-index: 3;
    backdrop-filter: blur(4px);
}

.favorite-btn:hover {
    background: var(--white);
}

.favorite-btn.active { color: var(--primary); }

.listing-card-body {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.listing-price {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.3px;
    line-height: 1.2;
}

.listing-price-sub {
    font-size: 0.78rem;
    color: var(--primary);
    font-weight: 400;
    margin-top: 1px;
}

.listing-title {
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--text);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.listing-meta {
    font-size: 0.8rem;
    color: var(--primary);
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    align-items: center;
    margin-top: 2px;
	padding-top: 7px;
    border-top: 1px solid #c4c4c4;
}

.listing-meta-item {
    display: flex;
    align-items: center;
    gap: 3px;
}

/* =============================================
   10. AGENT BADGE
   ============================================= */
.agent-eurasia-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #e9be0f;
    color: #202020;
    border: 1px solid #e9be0f;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 5px 20px;
    border-radius: 20px;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

/* Badges row inside listing card image */
.listing-card-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 5px;
    z-index: 3;
}
.listing-card-badges .deal-badge,
.listing-card-badges .listing-badge {
    position: static;
}
.listing-card-badges .badge-vips {
    position: static;
}

/* Short description in similar listing cards */
.listing-card-desc {
    font-size: 0.8rem;
    color: var(--text-secondary, #666);
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
}

.listing-card-agent {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid var(--border);
}

.listing-card-agent-name {
    font-size: 0.8rem;
    color: var(--primary);
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* =============================================
   11. LISTING DETAIL
   ============================================= */
.listing-detail {
    padding: 32px 0 48px;
}

.listing-detail-header h1 {
    font-size: clamp(1.3rem, 3vw, 1.9rem);
    font-weight: 800;
    color: var(--green);
    margin-bottom: 8px;
    line-height: 1.3;
}

.listing-detail-price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.5px;
    margin: 12px 0;
}

.listing-detail-price-per {
    font-size: 1rem;
    color: var(--primary);
    font-weight: 400;
}

.listing-detail-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 28px;
    align-items: start;
    margin-top: 24px;
}

.gallery {
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--green);
}

.gallery-main {
    position: relative;
    height: 440px;
    overflow: hidden;
    background: #1a1a1a;
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-counter {
    position: absolute;
    bottom: 14px;
    right: 14px;
    background: rgba(0,0,0,0.6);
    color: var(--white);
    font-size: 0.8rem;
    padding: 4px 10px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.85);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: var(--shadow);
    transition: background var(--transition);
    z-index: 5;
    backdrop-filter: blur(4px);
}

.gallery-nav:hover { background: var(--white); }
.gallery-nav--prev { left: 12px; }
.gallery-nav--next { right: 12px; }

.gallery-thumbs {
    display: flex;
    gap: 4px;
    padding: 6px;
    background: rgba(0,0,0,0.25);
    overflow-x: auto;
}

.gallery-thumb {
    width: 72px;
    height: 52px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    opacity: 0.65;
    transition: opacity var(--transition);
    flex-shrink: 0;
    border: 2px solid transparent;
}

.gallery-thumb.active,
.gallery-thumb:hover { opacity: 1; border-color: var(--white); }

.listing-description {
    background: var(--white);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    margin-top: 20px;
}

.listing-description h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--green);
    margin-bottom: 12px;
}

.listing-description p {
    color: var(--text);
    line-height: 1.75;
    white-space: pre-line;
}

.listing-props {
    background: var(--white);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    margin-top: 20px;
}

.listing-props h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--green);
    margin-bottom: 16px;
}

.props-table {
    width: 100%;
    border-collapse: collapse;
}

.props-table tr {
    border-bottom: 1px solid var(--border);
}

.props-table tr:last-child { border-bottom: none; }

.props-table td {
    padding: 10px 0;
    font-size: 0.9rem;
    vertical-align: top;
}

.props-table td:first-child {
    color: var(--primary);
    width: 45%;
    font-weight: 500;
}

.props-table td:last-child {
    color: var(--text);
    font-weight: 600;
}

.contact-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    padding: 24px;
    position: sticky;
    top: 80px;
}

.contact-card-agent {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border);
}

.contact-card-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--primary-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--primary);
    flex-shrink: 0;
    overflow: hidden;
}

.contact-card-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-card-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
}

.contact-card-role {
    font-size: 0.8rem;
    color: var(--primary);
    margin-top: 2px;
}

.contact-card-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* =============================================
   11b. LISTING DETAIL — REDESIGN (krisha-style)
   ============================================= */

/* Container */
.ld-container { padding-top: 20px; padding-bottom: 60px; }

/* Lightbox */
.ld-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.92);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}
.ld-lightbox--open { display: flex; }
.ld-lightbox__img {
    max-width: 90vw;
    max-height: 88vh;
    border-radius: 8px;
    box-shadow: 0 4px 32px rgba(0,0,0,0.6);
}
.ld-lightbox__nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.15);
    color: #fff;
    border: none;
    font-size: 2rem;
    padding: 8px 18px;
    cursor: pointer;
    border-radius: 6px;
    z-index: 10000;
    transition: background 0.2s;
}
.ld-lightbox__nav:hover { background: rgba(255,255,255,0.3); }
.ld-lightbox__nav--prev { left: 16px; }
.ld-lightbox__nav--next { right: 16px; }
.ld-lightbox__close {
    position: fixed;
    top: 16px;
    right: 20px;
    background: none;
    color: #fff;
    border: none;
    font-size: 2.2rem;
    cursor: pointer;
    z-index: 10000;
    line-height: 1;
}
.ld-lightbox__counter {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 0.95rem;
    background: rgba(0,0,0,0.5);
    padding: 4px 14px;
    border-radius: 12px;
}

/* Breadcrumb */
.ld-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    font-size: 0.82rem;
    color: var(--primary);
    margin-bottom: 14px;
}
.ld-breadcrumb a { color: var(--primary-text); text-decoration: none; }
.ld-breadcrumb a:hover { color: var(--primary-text); }
.ld-breadcrumb__sep { color: var(--border); margin: 0 2px; }
.ld-breadcrumb__current { color: var(--text); font-weight: 500; }

/* Title row */
.ld-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}
.ld-title {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 800;
    color: var(--green);
    line-height: 1.3;
    margin: 0 0 6px;
}
.ld-address {
    font-size: 0.9rem;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 5px;
}
.ld-address i { color: var(--primary-text); }
.ld-title-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    margin-top: 4px;
}
.ld-views-badge,
.ld-date-badge {
    font-size: 0.78rem;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

/* Main layout */
.ld-layout {
	display: flex;
    width:100%;
    gap: 24px;
    align-items: start;
}
.ld-left{
	width:70%;
}
/* Gallery grid (krisha-style) */
.ld-gallery {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 4px;
    border-radius: var(--radius);
    overflow: hidden;
    background: #1a1a1a;
}
.ld-gallery__main {
    position: relative;
    grid-column: 1;
    grid-row: 1 / 3;
    height: 472px;
    overflow: hidden;
}
.ld-gallery__main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}
.ld-gallery__main:hover img { transform: scale(1.02); }
.ld-gallery__deal-badge.deal-badge--inline {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 3;
}
.ld-gallery__promo-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    z-index: 3;
    text-transform: uppercase;
}
.ld-gallery__promo-badge--vip {
    background: linear-gradient(135deg, var(--gold), #b5893a);
    color: #fff;
}
.ld-gallery__promo-badge--top {
    background: linear-gradient(135deg, var(--primary), #3d5941);
    color: #fff;
}

.ld-gallery__grid {
    grid-column: 2;
    grid-row: 1 / 3;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 4px;
    height: 472px;
}
.ld-gallery__grid-item {
    position: relative;
    overflow: hidden;
    height: 235px;
}
.ld-gallery__grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}
.ld-gallery__grid-item:hover img { transform: scale(1.04); }
.ld-gallery__grid-item--more .ld-gallery__grid-more-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    gap: 6px;
    pointer-events: none;
}
.ld-gallery__grid-item--more .ld-gallery__grid-more-overlay i { font-size: 1.6rem; }

.ld-gallery__empty {
    grid-column: 1 / -1;
    height: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #bee8dc;
    color: var(--primary);
    font-size: 3rem;
    gap: 10px;
}
.ld-gallery__empty span { font-size: 0.95rem; }

.ld-gallery__all-btn {
    position: absolute;
    bottom: 14px;
    right: 14px;
    background: rgba(255,255,255,0.92);
    border: none;
    border-radius: 8px;
    padding: 7px 14px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--green);
    box-shadow: var(--shadow);
    transition: background 0.2s;
    z-index: 4;
    backdrop-filter: blur(4px);
}
.ld-gallery__all-btn:hover { background: #fff; }

/* Single-image gallery: stretch main photo full width */
.ld-gallery--single .ld-gallery__main {
    grid-column: 1 / -1;
}

/* Fill gallery grid for fewer than 4 side images */
.ld-gallery__grid--1 .ld-gallery__grid-item {
    grid-column: 1 / -1;
    grid-row: 1 / -1;
    height: auto;
}
.ld-gallery__grid--2 .ld-gallery__grid-item {
    grid-column: 1 / -1;
    height: auto;
}
.ld-gallery__grid--3 .ld-gallery__grid-item:nth-child(3) {
    grid-column: 1 / -1;
    height: auto;
}

/* Quick characteristic chips */
.ld-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 16px 0 4px;
}
.ld-chip {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 10px 16px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 80px;
    box-shadow: var(--shadow);
}
.ld-chip__label {
    font-size: 0.72rem;
    color: var(--primary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.ld-chip__value {
    font-size: 1rem;
    font-weight: 700;
    color: var(--green);
}

/* Section card */
.ld-section {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px 24px;
    box-shadow: var(--shadow);
}
.ld-section__title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--green);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Description */
/* ~3 lines at line-height 1.75 ≈ 4.5em */
.ld-description__text {
    color: var(--text);
    line-height: 1.75;
    max-height: 7.3em;
    overflow: hidden;
    transition: max-height 0.4s ease;
    white-space: pre-line;
}
.ld-description__text--expanded { max-height: 600em; }
.ld-description__toggle {
    background: none;
    border: none;
    color: var(--primary);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    padding: 8px 0 0;
    display: flex;
    align-items: center;
    gap: 4px;
}
.ld-description__toggle:hover { color: var(--primarybuttonhover); }

/* Properties rows */
.ld-props { display: flex; flex-direction: column; }
.ld-props__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    gap: 12px;
}
.ld-props__row:last-child { border-bottom: none; }
.ld-props__key {
    font-size: 0.88rem;
    color: var(--primary);
    font-weight: 500;
    flex: 0 0 auto;
    min-width: 40%;
}
.ld-props__val {
    font-size: 0.88rem;
    color: var(--text);
    font-weight: 600;
    text-align: right;
}

/* Floor plan */
.ld-floor-plan {
    max-width: 100%;
    border-radius: 8px;
    border: 1px solid var(--border);
    cursor: zoom-in;
}

/* Stats */
.ld-stats__boxes {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

/* Reviews */
.ld-reviews__list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; }
.ld-review-card {
    background: var(--light);
    border-radius: 8px;
    padding: 16px;
    border: 1px solid var(--border);
}
.ld-review-card__header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}
.ld-review-card__stars { color: #f39c12; }
.ld-review-card__date { color: var(--primary-text); font-size: 0.8rem; margin-left: auto; }
.ld-review-card__text { margin: 0; color: var(--text); line-height: 1.6; }
.ld-reviews__empty { color: var(--primary-text); font-size: 0.9rem; }
.ld-reviews__login-prompt { margin-top: 12px; font-size: 0.9rem; color: var(--primary-text);font-weight: 700; }
.ld-review-form {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}
.ld-review-form__title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--green);
    margin-bottom: 14px;
}

/* RIGHT SIDEBAR */
.ld-right { position: sticky; width:30%; top: 180px; }
.ld-sidebar-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

/* Price block */
.ld-price-block {
    padding: 20px 20px 16px;
    border-bottom: 1px solid var(--border);
    position: relative;
}
.ld-price-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
}
.ld-btn-fav-price {
    flex-shrink: 0;
    background: none;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 6px 10px;
    cursor: pointer;
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.2s;
    white-space: nowrap;
    margin-top: 2px;
}
.ld-btn-fav-price:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: #5071540a;
}
.ld-btn-fav-price.ld-btn-fav--active {
    border-color: var(--primary);
    color: var(--primary);
    background: #5071540a;
}
.ld-btn-fav-price.ld-btn-fav--active i { color: #507154; }
.ld-price {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--green);
    line-height: 1.15;
    letter-spacing: -0.5px;
}
.ld-price-per {
    font-size: 0.85rem;
    color: var(--primary);
    margin-top: 4px;
    font-weight: 500;
}

/* Contact actions */
.ld-contact-actions {
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-bottom: 1px solid var(--border);
}
.ld-btn-phone {
    width: 100%;
    justify-content: center;
    font-size: 1rem;
    padding: 13px 16px;
    border-radius: 10px;
    font-weight: 700;
    letter-spacing: 0.01em;
    display: flex;
    align-items: center;
    gap: 8px;
}
.ld-btn-phone--revealed.btn-primary {
    background: var(--primarybutton);
    border-color: var(--primarybutton);
}
.ld-btn-chat {
    width: 100%;
    justify-content: center;
    font-size: 0.92rem;
    padding: 11px 16px;
    border-radius: 10px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}
.ld-btn-fav {
    width: 100%;
    background: none;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 10px 16px;
    cursor: pointer;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s;
}
.ld-btn-fav:hover {
    border-color: #e05252;
    color: #e05252;
    background: #fff5f5;
}
.ld-btn-fav--active {
    border-color: #e05252;
    color: #e05252;
    background: #fff5f5;
}
.ld-btn-fav--active i { color: #e05252; }

/* Seller info */
.ld-seller {
    padding: 15px 20px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
}
.ld-seller__avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--primary-bg);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}
.ld-seller__info { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.ld-seller__name { font-size: 0.95rem; font-weight: 700; color: var(--text); }
.ld-seller__role { font-size: 0.78rem; color: var(--primary-text); }
.ld-seller__profile-link { font-size: 0.78rem; color: var(--primary-text); }
.ld-seller__profile-link:hover { color: var(--primarybuttonhover); }
.ld-seller__email {
    font-size: 0.78rem;
    color: var(--primary);
    word-break: break-all;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Owner management links */
.ld-owner-actions {
    padding: 14px 20px;
}

/* Similar listings */
.ld-similar { margin-top: 48px; }
.ld-similar__header { margin-bottom: 18px; }
.ld-similar__title {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--green);
}
.ld-hot-offers { display: flex; flex-direction: column; gap: 10px; }
.ld-hot-offers__title {
    font-size: 1rem;
    font-weight: 800;
    color: var(--green);
    margin-bottom: 4px;
}

/* =============================================
   12. SIDEBAR WIDGET
   ============================================= */
.sidebar-widget {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    padding: 20px;
    margin-bottom: 20px;
}

.sidebar-widget-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--green);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-bg);
}

/* =============================================
   13. FORMS
   ============================================= */
.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.form-group label .required {
    color: var(--danger);
    margin-left: 2px;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="tel"],
input[type="url"],
input[type="search"],
input[type="date"],
select,
textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.9rem;
    color: var(--text);
    background: var(--white);
    transition: border-color var(--transition), box-shadow var(--transition);
    appearance: none;
    -webkit-appearance: none;
    line-height: 1.5;
	border-radius: 5px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
input[type="search"]:focus,
input[type="date"]:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(80,113,84,0.15);
    background: var(--white);
}

input::placeholder,
textarea::placeholder {
    color: var(--primary);
    opacity: 0.7;
}

select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23677a67' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
    cursor: pointer;
}

textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.65;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0px 25px;
}

.form-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 32px 36px;
    border: 1px solid var(--border);
    width: 100%;
}

.form-cards {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 32px 36px;
    border: 1px solid var(--border);
	max-width:400px;
    margin: 0 auto;
}

.form-card-wide {
    max-width: 680px;
}

.form-section-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--green);
    margin: 24px 0 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--primary-bg);
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-footer-link {
    text-align: center;
    margin-top: 18px;
    font-size: 0.88rem;
    color: var(--primary);
}

.form-footer-link a {
    color: var(--primary);
    font-weight: 600;
}

.form-hint {
    font-size: 0.78rem;
    color: var(--primary);
    margin-top: 4px;
}

.form-error {
    font-size: 0.78rem;
    color: var(--danger);
    margin-top: 4px;
}

.form-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--green);
    margin-bottom: 6px;
    text-align: center;
}

.form-subtitle {
    text-align: center;
    color: var(--primary);
    font-size: 0.9rem;
    margin-bottom: 24px;
}

/* =============================================
   14. ALERTS
   ============================================= */
.alert {
    padding: 14px 18px;
    border-radius: var(--radius);
    font-size: 0.9rem;
    margin-bottom: 18px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    border-left: 4px solid transparent;
    line-height: 1.5;
}

.alert-error {
    background: #fdf2f2;
    color: #a72828;
    border-left-color: var(--danger);
}

.alert-success {
    background: var(--primary-bg);
    color: var(--primarybuttonhover);
    border-left-color: var(--primary);
}

.alert-info {
    background: #eef4fb;
    color: #1e4a80;
    border-left-color: #3b82f6;
}

.alert-warning {
    background: var(--gold-light);
    color: #7a5c10;
    border-left-color: var(--gold);
}

/* =============================================
   15. TABLES
   ============================================= */
.table-wrapper {
    overflow-x: auto;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

/* Listings filter tabs */
.listings-filter-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.listings-filter-tab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 24px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-muted);
    background: var(--white);
    border: 1px solid var(--border);
    text-decoration: none;
    transition: all var(--transition);
    cursor: pointer;
}

.listings-filter-tab:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.listings-filter-tab.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.listings-filter-tab .tab-count {
    background: rgba(0,0,0,0.15);
    border-radius: 12px;
    padding: 1px 7px;
    font-size: 0.75rem;
    font-weight: 700;
}

.listings-filter-tab.active .tab-count {
    background: rgba(255,255,255,0.25);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    font-size: 0.88rem;
}

.data-table th {
    background: var(--green);
    color: var(--white);
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.data-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
    color: var(--text);
}

.data-table tr:last-child td { border-bottom: none; }

.data-table tr:hover td { background: var(--primary-bg); }

.data-table th:first-child { border-radius: var(--radius) 0 0 0; }
.data-table th:last-child  { border-radius: 0 var(--radius) 0 0; }

/* =============================================
   16. BADGES / STATUS
   ============================================= */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    white-space: nowrap;
}

.badge-active {
    background: #dcfce7;
    color: #166534;
}

.badge-inactive {
    background: #f3f4f6;
    color: #4b5563;
}

.badge-sold {
    background: #dbeafe;
    color: #1e40af;
}

.badge-pending {
    background: var(--gold-light);
    color: #92400e;
}

.badge-rejected {
    background: #fee2e2;
    color: #991b1b;
}

.badge-primary {
    background: var(--primary-bg);
    color: var(--primarybuttonhover);
}

/* =============================================
   17. PAGINATION
   ============================================= */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 24px 0;
    flex-wrap: wrap;
}

.page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
    border-radius: var(--radius);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--green);
    text-decoration: none;
    background: var(--white);
    border: 1.5px solid var(--border);
    transition: all var(--transition);
    cursor: pointer;
}

.page-link:hover {
    background: var(--primary-bg);
    border-color: var(--primary);
    color: var(--primary);
}

.page-link.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    pointer-events: none;
}

.page-link.disabled {
    opacity: 0.4;
    pointer-events: none;
}

/* =============================================
   18. IMAGE UPLOAD
   ============================================= */
.image-upload-area {
    border: 2px dashed var(--border);
    border-radius: var(--radius);
    padding: 32px;
    text-align: center;
    cursor: pointer;
    transition: border-color var(--transition), background var(--transition);
    background: var(--light);
    position: relative;
}

.image-upload-area:hover,
.image-upload-area.dragover {
    border-color: var(--primary);
    background: var(--primary-bg);
}

.image-upload-area input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
}

.image-upload-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
    opacity: 0.6;
}

.image-upload-text {
    font-size: 0.9rem;
    color: var(--primary);
}

.image-upload-text strong { color: var(--primary-text); }

.image-preview-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 10px;
    margin-top: 14px;
}

.image-preview-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4/3;
    background: var(--light);
    border: 1px solid var(--border);
}

.image-preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.remove-image {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(0,0,0,0.65);
    color: var(--white);
    border: none;
    cursor: pointer;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition);
    z-index: 2;
}

.remove-image:hover { background: var(--danger); }

/* =============================================
   19. DASHBOARD / ACCOUNT LAYOUT
   ============================================= */
.dashboard-layout {
    display: flex;
    flex-direction: row;
    min-height: calc(100vh - 64px);
    align-items: stretch;
}

.account-sidebar {
    width: 64px;
    background: var(--primary);
    color: var(--white);
    position: sticky;
    top: 64px;
    height: calc(100vh - 64px);
    overflow: hidden;
    transition: width 0.3s cubic-bezier(0.4,0,0.2,1);
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    z-index: 100;
    border-right: 1px solid rgba(255,255,255,0.06);
}

.account-sidebar:hover {
    width: 240px;
    box-shadow: 4px 0 20px rgba(0,0,0,0.18);
}

.sidebar-logo-mini {
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    gap: 10px;
    overflow: hidden;
    flex-shrink: 0;
    min-height: 58px;
}

.sidebar-logo-mini .logo-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
    width: 24px;
    text-align: center;
    line-height: 1;
}

.sidebar-logo-mini .logo-text {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--white);
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.2s ease 0s;
}

.account-sidebar:hover .sidebar-logo-mini .logo-text {
    opacity: 1;
    transition: opacity 0.25s ease 0.1s;
}

.sidebar-nav {
    padding: 12px 0;
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
}

.sidebar-nav::-webkit-scrollbar { width: 3px; }
.sidebar-nav::-webkit-scrollbar-track { background: transparent; }
.sidebar-nav::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 2px; }

.sidebar-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: rgba(255,255,255,0.72);
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    transition: background var(--transition), color var(--transition);
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    border-left: 3px solid transparent;
    position: relative;
}

.sidebar-nav-item:hover {
    background: rgba(255,255,255,0.08);
    color: var(--white);
}

.sidebar-nav-item.active {
    background: var(--primarybuttonhover);
    color: var(--white);
    border-left-color: var(--primary-light);
    font-weight: 600;
}

.sidebar-nav-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
    width: 24px;
    text-align: center;
    line-height: 1;
}

.sidebar-nav-text {
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.15s ease 0s;
}

.account-sidebar:hover .sidebar-nav-text {
    opacity: 1;
    transition: opacity 0.25s ease 0.12s;
}

.sidebar-nav-section {
    padding: 16px 20px 6px;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.3);
    white-space: nowrap;
    overflow: hidden;
    opacity: 0;
    height: 0;
    transition: opacity 0.2s ease, height 0.2s ease;
}

.account-sidebar:hover .sidebar-nav-section {
    opacity: 1;
    height: auto;
}

.sidebar-bottom {
    padding: 12px 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    flex-shrink: 0;
}

.dashboard-content {
    flex: 1;
    padding: 28px 32px;
    min-width: 0;
    overflow-x: auto;
}

/* Sidebar unread badge */
.sidebar-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    background: #e74c3c;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    border-radius: 10px;
    margin-left: 6px;
}

/* =============================================
   20. ADMIN STATS
   ============================================= */
.admin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 28px;
}

.stat-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    border-top: 3px solid var(--primary);
    transition: box-shadow var(--transition), transform var(--transition);
}

.stat-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.stat-card--gold { border-top-color: var(--gold); }
.stat-card--danger { border-top-color: var(--danger); }
.stat-card--secondary { border-top-color: var(--green); }
.stat-card--blue { border-top-color: #3b82f6; }

.stat-number {
    font-size: 1.65rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    letter-spacing: -1px;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--primary);
    margin-top: 6px;
    font-weight: 500;
}

.stat-trend {
    font-size: 0.75rem;
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 3px;
}

.stat-trend--up { color: #166534; }
.stat-trend--down { color: var(--danger); }

/* =============================================
   21. ADMIN SECTION
   ============================================= */
.admin-section {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    margin-bottom: 24px;
    overflow: hidden;
}

.admin-section-header {
    background: var(--green);
    color: var(--white);
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.admin-section-header h3 {
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.admin-section-body {
    padding: 20px;
}

.admin-page {
    max-width: 100%;
}

.admin-page-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--green);
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* =============================================
   22. PAGE TITLE
   ============================================= */
.page-title {
    font-size: 25px;
    font-weight: 800;
    color: var(--green);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.page-titlehome {
    font-size: 14px;
    font-weight: 800;
    color: var(--green);
    margin-bottom: 6px;
    display: flex;
	justify-content: space-between;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.page-title i{
	color: var(--primary);
}

.page-subtitle {
    font-size: 0.9rem;
    color: var(--primary);
    margin-bottom: 24px;
}

.page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.page-headerss {
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.page-headerss h1 i {
    color: var(--primary);
    font-size: 32px;
}

/* =============================================
   23. EMPTY STATE
   ============================================= */
.empty-state {
    text-align: center;
    padding: 56px 24px;
    color: var(--primary);
}

.empty-state-icon {
    font-size: 3.5rem;
    margin-bottom: 16px;
    opacity: 0.45;
}

.empty-state h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--green);
    margin-bottom: 8px;
}

.empty-state p {
    font-size: 0.9rem;
    max-width: 360px;
    margin: 0 auto 20px;
    line-height: 1.65;
}

/* =============================================
   24. BREADCRUMB
   ============================================= */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 0.83rem;
    color: var(--primary);
    margin-bottom: 18px;
    padding: 10px 0;
}

.breadcrumb a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition);
}

.breadcrumb a:hover { color: var(--primary-text); }

.breadcrumb-sep {
    opacity: 0.45;
    font-size: 0.75rem;
}

.breadcrumb-current {
    color: var(--text);
    font-weight: 500;
}

/* =============================================
   25. FOOTER
   ============================================= */
.site-footer {
    background: #1c1d1c;
    color: rgba(255,255,255,0.75);
}

.footer-main {
    padding: 52px 0 36px;
}

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}


.footer-logo {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 14px;
    text-decoration: none;
}

.footer-logo:hover { color: var(--primary-light); }

.footer-description {
    font-size: 0.85rem;
    line-height: 1.75;
    color: rgba(255,255,255,0.6);
    margin-bottom: 18px;
    max-width: 280px;
}

.footer-social {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    text-decoration: none;
    transition: background var(--transition), color var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}


.footer-links h4 {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 14px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.footer-links a {
    font-size: 0.86rem;
    color: rgba(255,255,255,0.62);
    text-decoration: none;
    transition: color var(--transition);
}

.footer-links a:hover { color: var(--white); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 18px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.45);
}

.footer-bottom-links {
    display: flex;
    gap: 16px;
}

.footer-bottom-links a {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.45);
    text-decoration: none;
    transition: color var(--transition);
}

.footer-bottom-links a:hover { color: rgba(255,255,255,0.85); }

/* =============================================
   26. PROMO BADGES
   ============================================= */
.promo-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.promo-badges {
    position: absolute;
    top: 15px;
    right: 15px;
    align-items: center;
    gap: 3px;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.promo-badge--vip {
    background: linear-gradient(135deg, var(--gold), #e8b83a);
    color: #2c1a00;
}

.promo-badge--top {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: var(--white);
}

.promo-badge--urgent {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: var(--white);
}

.promo-badge--highlight {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    color: var(--white);
}

/* =============================================
   27. PROMOTED LISTING CARDS
   ============================================= */
.listing-card--vip {
    border-color: var(--gold);
    box-shadow: 0 2px 12px rgba(201,168,76,0.2);
}

.listing-card--vip .listing-card-img::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.listing-card--top {
    border-color: #3b82f6;
    box-shadow: 0 2px 12px rgba(59,130,246,0.15);
}

.listing-card--highlighted {
    border-color: #8b5cf6;
    box-shadow: 0 2px 12px rgba(139,92,246,0.15);
}

.promo-badges-row {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    margin-bottom: 4px;
}

/* =============================================
   28. PROMOTION PAGE
   ============================================= */
.promo-tabs {
    display: flex;
    gap: 0;
    border-bottom: 2px solid var(--border);
    margin-bottom: 28px;
}

.promo-tab {
    padding: 12px 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    white-space: nowrap;
    background: none;
    border-top: none;
    border-left: none;
    border-right: none;
    font-family: inherit;
    transition: color var(--transition), border-color var(--transition);
}

.promo-tab:hover { color: var(--primary-text); }

.promo-tab.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.promo-type-section {
    margin-bottom: 36px;
}

.promo-type-section h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--green);
    margin-bottom: 4px;
}

.promo-type-desc {
    font-size: 0.86rem;
    color: var(--primary);
    margin-bottom: 18px;
}

.promo-packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 14px;
}

.promo-package-card {
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.promo-package-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.promo-package-card.selected {
    border-color: var(--primary);
    background: var(--primary-bg);
    box-shadow: 0 0 0 3px rgba(80,113,84,0.2);
}

.promo-package-card--vip { border-top: 4px solid var(--gold); }
.promo-package-card--vip.selected { border-color: var(--gold); background: var(--gold-light); }

.promo-package-duration {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--green);
    margin-bottom: 6px;
}

.promo-package-price {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 8px;
    line-height: 1.1;
}

.promo-package-price-currency {
    font-size: 0.9rem;
    font-weight: 400;
}

.promo-package-desc {
    font-size: 0.78rem;
    color: var(--primary);
}

/* ── Wallet bar ── */
.promo-wallet-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: #f0f6ff;
    border-radius: var(--radius);
    padding: 14px 20px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.promo-wallet-balance { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }

/* ── Active promotion block ── */
.promo-active-block {
    background: #eaf7ef;
    border: 1px solid #a9dfbf;
    border-radius: var(--radius);
    padding: 18px 20px;
    margin-bottom: 24px;
}
.promo-active-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 12px;
}
.promo-active-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
}
.promo-active-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }

/* ── Countdown ── */
.promo-active-countdown {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}
.promo-countdown-label { font-weight: 600; color: #1a7a3d; }
.promo-countdown-time  { font-size: 1rem; font-weight: 700; color: #1a5276; letter-spacing: 0.03em; }
.promo-countdown-expires { font-size: 0.8rem; color: var(--text-muted); }

/* ── Progress bar ── */
.promo-progress-bar {
    height: 6px;
    background: #c8e6c9;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
}
.promo-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #27ae60, #2ecc71);
    border-radius: 4px;
    transition: width 0.5s ease;
}
.promo-autorenew-note {
    margin: 4px 0 0;
    font-size: 0.84rem;
    color: #1a7a3d;
}

/* ── Tab active dot ── */
.promo-tab-active-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #27ae60;
    margin-left: 5px;
    vertical-align: middle;
}

/* ── Type header inside section ── */
.promo-type-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
}
.promo-type-header h2 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--green);
    margin: 0 0 2px;
}
.promo-type-header p {
    font-size: 0.86rem;
    color: var(--text-muted);
    margin: 0;
}
.promo-type-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
    background: var(--primary-bg);
    color: var(--primary);
}
.promo-type-icon--vip       { background: var(--gold-light); color: #8a6400; }
.promo-type-icon--top       { background: #dbeafe;           color: #1d4ed8; }
.promo-type-icon--urgent    { background: #fee2e2;           color: #b91c1c; }
.promo-type-icon--highlight { background: #ede9fe;           color: #6d28d9; }

/* ── Type-colored top borders ── */
.promo-package-card--top       { border-top: 4px solid #3b82f6; }
.promo-package-card--urgent    { border-top: 4px solid #ef4444; }
.promo-package-card--highlight { border-top: 4px solid #8b5cf6; }

/* ── Best value badge ── */
.promo-best-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: linear-gradient(135deg, #f97316, #ef4444);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 20px;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.promo-package-card--best {
    box-shadow: 0 0 0 2px #f97316;
}

/* ── Price per day ── */
.promo-package-ppd {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

/* ── Auto-renew label ── */
.promo-autorenew-label {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
    font-size: 0.87rem;
    cursor: pointer;
}

/* ── Activate button full width ── */
.promo-activate-btn { width: 100%; }

/* ── No-photo warning for Горячие (highlight) tab ── */
.promo-no-photo-alert {
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.promo-add-photo-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    color: var(--primary);
    text-decoration: underline;
    white-space: nowrap;
}
.promo-add-photo-link:hover { color: var(--primary-dark); }

/* ── Blocked package (no image required) ── */
.promo-package-card--blocked {
    opacity: 0.65;
    pointer-events: auto;
}

/* ── Preview section (collapsible) ── */
.promo-preview-section {
    margin-top: 36px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}
.promo-preview-summary {
    padding: 14px 20px;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--primary);
    cursor: pointer;
    list-style: none;
    background: var(--primary-bg);
    display: flex;
    align-items: center;
    gap: 8px;
    user-select: none;
}
.promo-preview-summary::-webkit-details-marker { display: none; }
.promo-preview-summary::before {
    content: '▶';
    font-size: 0.7rem;
    transition: transform var(--transition);
    display: inline-block;
}
details[open] .promo-preview-summary::before { transform: rotate(90deg); }

.promo-preview-cards {
    display: flex;
    gap: 16px;
    padding: 20px;
    overflow-x: auto;
    scrollbar-width: thin;
}
.promo-preview-cards::-webkit-scrollbar { height: 4px; }
.promo-preview-cards::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }

.promo-example-wrap {
    flex-shrink: 0;
    width: 220px;
}
.promo-example-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 6px;
    color: var(--text-muted);
}
.promo-example-label--vip       { color: #8a6400; }
.promo-example-label--top       { color: #1d4ed8; }
.promo-example-label--urgent    { color: #b91c1c; }
.promo-example-label--highlight { color: #6d28d9; }

/* =============================================
   29. CREATE LISTING PAGE
   ============================================= */
.create-listing-page {
    padding: 28px 50px 48px;
}

.create-listing-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    padding: 28px 32px;
    margin-bottom: 20px;
}

.create-listing-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--green);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary-bg);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* =============================================
   CREATE LISTING – REDESIGNED FORM
   ============================================= */
.cl-page-header {
    display: flex;
    align-items: baseline;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.cl-page-header h1 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--green);
    margin: 0;
}

.cl-required-note {
    font-size: 0.82rem;
    color: var(--primary);
    margin: 0;
}

.cl-required-star {
    color: var(--danger);
    font-weight: 700;
}

.cl-quota-bar {
    background: #f0f6ff;
    border-radius: 6px;
    padding: 10px 14px;
    margin-bottom: 16px;
    font-size: 0.88rem;
    color: #1a5276;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Card sections */
.cl-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    padding: 24px 28px 20px;
    margin-bottom: 16px;
}

.cl-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--green);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-bg);
    display: flex;
    align-items: center;
    gap: 8px;
}

.cl-field-hint {
    font-size: 0.8rem;
    color: var(--primary);
    opacity: 0.85;
    margin-top: 5px;
    display: block;
}

/* Price input with currency symbol */
.cl-price-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.cl-price-currency {
    position: absolute;
    left: 12px;
    font-weight: 700;
    color: var(--green);
    font-size: 1rem;
    pointer-events: none;
}

.cl-price-input {
    padding-left: 28px !important;
}

.cl-price-input.cl-input-invalid,
input.cl-input-invalid,
select.cl-input-invalid {
    border-color: var(--danger) !important;
}

.cl-chip-group.cl-input-invalid {
    border: 1px solid var(--danger);
    border-radius: 6px;
    padding: 4px;
}

/* Input with suffix (м², etc.) */
.cl-input-suffix-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.cl-input-suffix-wrap input {
    padding-right: 44px !important;
}

.cl-input-suffix {
    position: absolute;
    right: 12px;
    font-size: 0.82rem;
    color: var(--primary);
    pointer-events: none;
	padding-right: 6px;
}

/* Room picker buttons */
.cl-rooms-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 8px;
}

.cl-room-btn {
    min-width: 45px;
    height: 45px;
    padding: 9px 10px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    background: var(--white);
    color: var(--green);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: border-color var(--transition), background var(--transition), color var(--transition);
}

.cl-room-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.cl-room-btn.active {
    border-color: var(--primary);
    background: var(--primary);
    color: #fff;
}

.cl-rooms-input {
    margin-top: 4px;
}

/* Rooms + Area inline row — equal 2-column grid */
.cl-rooms-area-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 25px;
}

/* Price & characteristics rows */
.cl-params-row-1,
.cl-params-row-2 {
    margin-bottom: 15px;
}
.cl-params-row-1 .form-group,
.cl-params-row-2 .form-group {
    margin-bottom: 0;
}

.cl-area-compact .cl-input-suffix-wrap input {
    width: 100%;
}

/* 3-column form row (floor / total floors / year built) */
.form-row--3col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0 25px;
}

/* Oblast / District location selects */
.cl-location-select {
    width: 100%;
}

/* Map */
.cl-map-label {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--green);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.cl-map-canvas {
    width: 100%;
    height: 340px;
    border-radius: var(--radius);
    border: 1.5px solid var(--border);
    background: #e8ece8;
}

.cl-map-coords {
    margin-top: 8px;
    font-size: 0.82rem;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 5px;
}

.cl-map-reset-btn {
    margin-top: 8px;
    display: none;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border: 1.5px solid var(--danger);
    border-radius: var(--radius);
    background: transparent;
    color: var(--danger);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: background var(--transition), color var(--transition);
}

.cl-map-reset-btn:hover {
    background: var(--danger);
    color: #fff;
}

/* Photo motivation banner */
.cl-photo-motivation {
    background: #fffbe6;
    border: 1px solid #ffe58f;
    border-radius: 6px;
    padding: 8px 14px;
    font-size: 0.85rem;
    color: #856404;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Submit row */
.cl-submit-row {
    margin-top: 8px;
    margin-bottom: 32px;
}

.cl-submit-btn {
    width: 100%;
    padding: 14px;
    font-size: 1rem;
}

@media (max-width: 600px) {
    .cl-card { padding: 18px 16px; }
    .cl-map-canvas { height: 260px; }
    .cl-page-header { flex-direction: column; gap: 4px; }
    .cl-rooms-area-row { grid-template-columns: 1fr; }
    .form-row--3col { grid-template-columns: 1fr 1fr; }
    .cl-params-row-1 .col,
    .cl-params-row-2 .col { flex: 0 0 50%; max-width: 50%; }
}

@media (max-width: 400px) {
    .form-row--3col { grid-template-columns: 1fr; }
    .cl-params-row-1 .col,
    .cl-params-row-2 .col { flex: 0 0 100%; max-width: 100%; }
}

/* =============================================
   30. CHAT STYLES
   ============================================= */
.chat-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    height: calc(100vh - 64px);
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.chat-sidebar {
    border-right: 1px solid var(--border);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    background: var(--white);
}

.chat-sidebar-header {
    padding: 18px 16px 14px;
    border-bottom: 1px solid var(--border);
    font-size: 1rem;
    font-weight: 700;
    color: var(--green);
    flex-shrink: 0;
    position: sticky;
    top: 0;
    background: var(--white);
    z-index: 2;
}

.chat-list { flex: 1; overflow-y: auto; }

.chat-list-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    cursor: pointer;
    border-bottom: 1px solid var(--border);
    border-left: 3px solid transparent;
    transition: background var(--transition), border-color var(--transition);
    color: var(--text);
    text-decoration: none;
}

.chat-list-item:hover { background: var(--primary-bg); color: var(--text); }
.chat-list-item.active { background: var(--primary-bg); border-left-color: var(--primary-text); color: var(--text); }

.chat-list-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--green);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 600;
    flex-shrink: 0;
    overflow: hidden;
}

.chat-list-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.chat-list-info { flex: 1; min-width: 0; }

.chat-list-name {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.chat-list-preview {
    font-size: 0.78rem;
    color: var(--primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 2px;
}

.chat-list-time {
    font-size: 0.72rem;
    color: var(--primary);
    flex-shrink: 0;
    align-self: flex-start;
    margin-top: 2px;
}

.chat-unread-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    flex-shrink: 0;
}

.chat-main {
    display: flex;
    flex-direction: column;
    min-height: 0;
    background: var(--light);
}

.chat-main-header {
    padding: 14px 20px;
    border-bottom: 1px solid var(--border);
    background: var(--white);
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chat-msg {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    max-width: 70%;
}

.chat-msg.mine {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.chat-msg.theirs {
    align-self: flex-start;
}

.chat-msg-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--green);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
}

.chat-msg-bubble {
    padding: 10px 14px;
    border-radius: 16px;
    font-size: 0.88rem;
    line-height: 1.55;
    max-width: 100%;
    word-break: break-word;
}

.chat-msg.mine .chat-msg-bubble {
    background: var(--primary);
    color: var(--white);
    border-bottom-right-radius: 4px;
}

.chat-msg.theirs .chat-msg-bubble {
    background: var(--white);
    color: var(--text);
    border-bottom-left-radius: 4px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.chat-msg-time {
    font-size: 0.68rem;
    color: var(--primary);
    flex-shrink: 0;
    margin-bottom: 2px;
}

.chat-msg.mine .chat-msg-time { text-align: right; }

.chat-input-area {
    padding: 14px 16px;
    border-top: 1px solid var(--border);
    background: var(--white);
    display: flex;
    gap: 10px;
    align-items: flex-end;
    flex-shrink: 0;
}

.chat-input-area textarea {
    flex: 1;
    min-height: 42px;
    max-height: 120px;
    resize: none;
    border-radius: 2px;
    padding: 10px 16px;
    font-size: 0.9rem;
    border: 1.5px solid var(--border);
    background: var(--light);
}

.chat-input-area textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(80,113,84,0.12);
    background: var(--white);
}

.chat-send-btn {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    padding: 0;
    border-radius: 50%;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-thread-listing {
    font-size: 0.82rem;
    color: var(--primary);
    margin-top: 2px;
}

.chat-thread-listing a {
    color: var(--primary);
    text-decoration: none;
}

.chat-thread-listing a:hover {
    text-decoration: underline;
}

.chat-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 9px;
    background: var(--primary);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 700;
    margin-left: 6px;
    vertical-align: middle;
}

.chat-empty {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    color: var(--primary);
    text-align: center;
}

/* =============================================
   31. SEARCH SUBSCRIPTIONS
   ============================================= */
.subscriptions-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.sub-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px 20px;
    display: flex;
	justify-content: space-between;
    align-items: center;
    gap: 16px;
    box-shadow: var(--shadow);
    transition: box-shadow var(--transition);
}

.sub-card-header{
	display: flex;
    align-items: center;
    gap: 20px;
}

.sub-card:hover { box-shadow: var(--shadow); }

.sub-card-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: var(--primary-bg);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
}

.sub-card-info { flex: 1; min-width: 0; }

.sub-card-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 6px;
}

.sub-card-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.filter-tag {
    background: var(--primary-bg);
    border: 1px solid rgba(80,113,84,0.2);
    border-radius: 20px;
    padding: 3px 10px;
    font-size: 0.78rem;
    color: var(--primarybuttonhover);
    font-weight: 500;
}

.sub-card-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

/* =============================================
   32. LISTING STATS
   ============================================= */
.stat-box {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 12px 16px;
    text-align: center;
    min-width: 80px;
}

/* =============================================
   33. NAV BADGE
   ============================================= */
.nav-badge {
    background: var(--danger);
    color: var(--white);
    font-size: 0.68rem;
    border-radius: 10px;
    padding: 1px 6px;
    font-weight: 700;
    vertical-align: middle;
    margin-left: 3px;
    line-height: 1.4;
    display: inline-block;
}
.nav-badges {
    position: relative;
    right: -9px;
    top: -11px;
    background: var(--danger);
    color: var(--white);
    font-size: 0.68rem;
    border-radius: 10px;
    padding: 1px 6px;
    font-weight: 700;
    vertical-align: middle;
    margin-left: -18px;
    line-height: 1.4;
    display: inline-block;
}

/* =============================================
   34. PASSWORD TOGGLE
   ============================================= */
.password-wrapper {
    position: relative;
}

.password-wrapper input {
    padding-right: 44px;
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: var(--primary);
    font-size: 1rem;
    padding: 4px;
    line-height: 1;
    transition: color var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.password-toggle:hover { color: var(--primary-text); }

/* =============================================
   35. GALLERY MAIN (nav overlap)
   ============================================= */
.gallery-main .gallery-nav--prev { left: 12px; }
.gallery-main .gallery-nav--next { right: 12px; }

/* =============================================
   ADDITIONAL UTILITIES & COMPONENTS
   ============================================= */

/* Card generic */
.card {
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid #7e9a8157;
    box-shadow: var(--shadow);
}

.card-body { padding: 20px; }
.card-header {
    padding: 20px 5px 10px 5px;
    border-bottom: 1px solid var(--border);
    font-weight: 700;
    color: var(--green);
}

/* Tabs */
.tabs {
    display: flex;
    gap: 0;
    border-bottom: 2px solid var(--border);
    margin-bottom: 24px;
    overflow-x: auto;
}

.tab {
    padding: 11px 18px;
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--primary);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    white-space: nowrap;
    background: none;
    border-top: none;
    border-left: none;
    border-right: none;
    font-family: inherit;
    transition: color var(--transition), border-color var(--transition);
}

.tab:hover { color: var(--primary-text); }

.tab.active {
    color: var(--primary-text);
    border-bottom-color: var(--primary);
}

/* My listings table / list */
.my-listing-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    border-bottom: 1px solid var(--border);
    transition: background var(--transition);
    background: var(--white);
}

.my-listing-row:last-child { border-bottom: none; }
.my-listing-row:hover { background: var(--primary-bg); }

.my-listing-img {
    width: 80px;
    height: 60px;
    border-radius: var(--radius);
    object-fit: cover;
    flex-shrink: 0;
    background: var(--light);
    overflow: hidden;
}

.my-listing-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.my-listing-info { flex: 1; min-width: 0; }

.my-listing-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 4px;
}

.my-listing-meta {
    font-size: 0.78rem;
    color: var(--primary);
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.my-listing-price {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary);
    flex-shrink: 0;
}

.my-listing-actions {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

/* Wallet / Balance */
.balance-card {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
    color: var(--white);
    border-radius: var(--radius);
    padding: 28px;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
}

.balance-card::after {
    content: '₸';
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 8rem;
    font-weight: 900;
    opacity: 0.06;
    pointer-events: none;
}

.balance-amount {
    font-size: 2.4rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 6px;
}

.balance-label {
    font-size: 0.85rem;
    opacity: 0.75;
}

/* Transaction list */
.transaction-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.transaction-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 13px 16px;
    border-bottom: 1px solid var(--border);
    background: var(--white);
    transition: background var(--transition);
}

.transaction-row:last-child { border-bottom: none; }
.transaction-row:hover { background: var(--primary-bg); }

.transaction-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.transaction-icon--in { background: #dcfce7; color: #166534; }
.transaction-icon--out { background: #fee2e2; color: #991b1b; }

.transaction-info { flex: 1; min-width: 0; }

.transaction-desc {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text);
}

.transaction-date {
    font-size: 0.76rem;
    color: var(--primary);
    margin-top: 2px;
}

.transaction-amount {
    font-size: 0.95rem;
    font-weight: 700;
    flex-shrink: 0;
}

.transaction-amount--in { color: #166534; }
.transaction-amount--out { color: var(--danger); }

/* Map */
#map, .listing-map {
    width: 100%;
    height: 400px;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
}

/* Notification / Info chips */
.chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 500;
    background: var(--primary-bg);
    color: var(--primarybuttonhover);
    border: 1px solid rgba(80,113,84,0.2);
}

/* Loading spinner */
.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Overlay */
.overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 900;
    display: none;
    backdrop-filter: blur(2px);
}

.overlay.open { display: block; }

/* Tooltip */
.tooltip-wrapper { position: relative; display: inline-block; }

/* Default tooltip position: top (above element) */
.tooltip-text {
    position: absolute;
    bottom: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--green);
    color: var(--white);
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 4px;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: opacity var(--transition);
    z-index: 9999;
}

.tooltip-wrapper:hover .tooltip-text { opacity: 1; }

/* Tooltip position variants via data-tooltip-pos attribute */
.tooltip-wrapper[data-tooltip-pos="top"] .tooltip-text {
    bottom: calc(100% + 6px);
    top: auto;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
}

.tooltip-wrapper[data-tooltip-pos="bottom"] .tooltip-text {
    top: calc(100% + 6px);
    bottom: auto;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
}

.tooltip-wrapper[data-tooltip-pos="left"] .tooltip-text {
    right: calc(100% + 8px);
    left: auto;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
}

.tooltip-wrapper[data-tooltip-pos="right"] .tooltip-text {
    left: calc(100% + 8px);
    right: auto;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
}

/* Rating stars */
.rating-stars {
    display: inline-flex;
    gap: 2px;
    font-size: 0.9rem;
    color: var(--gold);
}

/* Divider */
.divider {
    border: none;
    border-top: 1px solid var(--border);
    margin: 20px 0;
}

/* Profile page */
.profile-header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 0px;
    background: var(--white);
    border-radius: var(--radius);
    margin-bottom: 24px;
}

.profile-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--primary-bg);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    flex-shrink: 0;
    overflow: hidden;
    border: 3px solid var(--primary-bg);
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-info { flex: 1;margin-left: 15px; }

.profile-name {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--green);
    margin-bottom: 4px;
}

.profile-role {
    font-size: 0.82rem;
    color: var(--primary);
}

/* Misc helpers */
.text-primary { color: var(--primary) !important; }
.text-secondary { color: var(--secondary) !important; }
.text-muted { color: var(--primary) !important; }
.text-danger { color: var(--danger) !important; }
.text-gold { color: var(--gold) !important; }
.text-center { text-align: center !important; }
.text-right { text-align: right !important; }
.font-bold { font-weight: 700 !important; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-8 { gap: 8px; }
.gap-16 { gap: 16px; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.w-100 { width: 100%; }

/* =============================================
   36. MEDIA QUERIES
   ============================================= */

/* Large – 1200px */
@media (max-width: 1200px) {
    .footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
    .listing-detail-layout {
        grid-template-columns: 1fr 300px;
    }
    .ld-layout {
        grid-template-columns: 1fr 300px;
    }
}

/* Medium – 992px */
@media (max-width: 992px) {
    .section { padding: 40px 0; }

    .listing-detail-layout {
        grid-template-columns: 1fr;
    }

    .ld-layout {
        grid-template-columns: 1fr;
    }
    .ld-right {
        position: static;
        order: -1;
    }

    .contact-card {
        position: static;
        margin-top: 20px;
    }

    .chat-layout {
        grid-template-columns: 1fr;
        height: auto;
    }

    .chat-sidebar { max-height: 280px; }

    .footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
    }

    .admin-stats {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

/* Tablet – 768px */
@media (max-width: 768px) {
    /* Header / top-bar */
    .top-bar-address { display: none; }
    .top-bar-nav { justify-content: flex-start; overflow-x: auto; }
    .top-bar-nav ul { gap: 0; }
    .top-bar-nav a { font-size: 0.78rem; padding: 3px 7px; }
    .lang-switcher { margin-left: auto; }

    .header-inner { position: relative; }

    .header-right-group { gap: 4px; }
    .header-action-btn span { display: none; }
    .header-action-btn { padding: 10px 12px; }

    .search-panel-inner { flex-direction: column; gap: 8px; }
    .search-panel-select { min-width: unset; width: 100%; }
    .search-panel-btn { width: 100%; justify-content: center; }
    .header-search-panel.open { max-height: 300px; }

    /* Dashboard — sidebar becomes top nav */
    .dashboard-layout {
        flex-direction: column;
    }

    .account-sidebar {
        width: 100%;
        height: auto;
        position: static;
        flex-direction: row;
        overflow-x: auto;
        overflow-y: hidden;
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.08);
    }

    .account-sidebar:hover {
        width: 100%;
        box-shadow: none;
    }

    .sidebar-logo-mini { display: none; }

    .sidebar-nav {
        display: flex;
        flex-direction: row;
        padding: 0;
        overflow-x: auto;
        overflow-y: hidden;
        flex: 1;
    }

    .sidebar-nav-item {
        padding: 12px 14px;
        flex-direction: column;
        gap: 3px;
        align-items: center;
        min-width: 64px;
        border-left: none;
        border-bottom: 3px solid transparent;
    }

    .sidebar-nav-item.active {
        border-left: none;
        border-bottom-color: var(--primary-light);
    }

    .sidebar-nav-text {
        font-size: 0.68rem;
        opacity: 1;
    }

    .account-sidebar:hover .sidebar-nav-text { opacity: 1; }

    .sidebar-nav-section { display: none; }

    .sidebar-bottom { display: none; }

    .dashboard-content {
        padding: 18px 16px;
    }

    /* Listings */
    .listings-grid {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }

    /* Gallery */
    .gallery-main { height: 280px; }

    /* New listing detail gallery – tablet */
    .ld-gallery {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    .ld-gallery__main {
        grid-column: 1;
        grid-row: 1;
        height: 280px;
    }
    .ld-gallery__grid {
        grid-column: 1;
        grid-row: 2;
        grid-template-rows: 1fr;
        height: 120px;
        grid-template-columns: repeat(4, 1fr);
    }
    .ld-gallery__grid-item { height: 120px; }

    .ld-title-row { flex-direction: column; gap: 6px; }
    .ld-title-meta { flex-direction: row; }

    /* Hero */
    .hero { padding: 48px 0 36px; }

    .hero-stats { gap: 24px; }

    /* Search form */
    .search-form-row {
        flex-direction: column;
    }

    .search-form-row .form-group { min-width: unset; }

    /* Footer */
    .footer-inner { grid-template-columns: 1fr; gap: 24px; }
    .footer-bottom { flex-direction: column; text-align: center; gap: 10px; }

    /* Tables */
    .data-table td:nth-child(n+4) { display: none; }
    .data-table th:nth-child(n+4) { display: none; }

    /* Section header */
    .section-header {
        flex-wrap: wrap;
        gap: 10px;
    }

    /* Chat */
    .chat-layout { grid-template-columns: 1fr; height: auto; }
    .chat-sidebar { max-height: 250px; }
    .chat-main { min-height: 400px; }
    .chat-messages { max-height: 320px; }
}

/* Mobile – 480px */
@media (max-width: 480px) {
    .container { padding: 0 14px; }

    .listings-grid { grid-template-columns: 1fr; gap: 12px; }

    .hero-content h1 { font-size: 1.5rem; }
    .hero { padding: 36px 0 28px; }

    .form-card { padding: 22px 18px; }

    .listing-detail-price { font-size: 1.5rem; }

    .gallery-main { height: 220px; }

    .gallery-thumbs { display: none; }

    /* New listing detail – mobile */
    .ld-gallery__main { height: 220px; }
    .ld-gallery__grid { display: none; }
    .ld-chips { gap: 8px; }
    .ld-chip { padding: 8px 12px; }
    .ld-price { font-size: 1.4rem; }

    .page-title { font-size: 1.2rem; }

    .admin-stats { grid-template-columns: 1fr 1fr; }

    .dashboard-content { padding: 14px 12px; }

    .create-listing-card { padding: 18px 16px; }

    .promo-packages-grid { grid-template-columns: 1fr 1fr; }

    .user-trigger .user-name { display: none; }

    .footer-social a { width: 32px; height: 32px; }

    .hero-stats { flex-direction: row; gap: 16px; justify-content: center; }
    .hero-stat strong { font-size: 1.3rem; }
}

/* Extra small – 360px */
@media (max-width: 360px) {
    .listings-grid { grid-template-columns: 1fr; }
    .admin-stats { grid-template-columns: 1fr; }
    .promo-packages-grid { grid-template-columns: 1fr; }
    .btn { padding: 9px 14px; font-size: 0.85rem; }
}

/* =============================================
   FILTER CONSTRUCTOR – Krisha.kz-style
   ============================================= */

/* ── Container ─────────────────────────────── */
.krisha-filter {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    margin-bottom: 24px;
}

/* ── Tabs ──────────────────────────────────── */
.kf-tabs {
    display: flex;
    gap: 0;
    border-bottom: 2px solid var(--green);
    background: var(--green);
    padding: 0 20px;
	margin-bottom: 15px;
}

.kf-tab {
    padding: 22px 22px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #f1f1f170;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    cursor: pointer;
}
.kf-tab:hover  { color: #f1f1f170; }
.kf-tab.active { color: #edaa14; border-bottom-color: #edaa14; font-weight: 600; }

/* ── Sections ──────────────────────────────── */
.kf-section { padding: 10px 10px 10px 20px; }
.kf-section--header { background: var(--light); border-bottom: 1px solid var(--border); }
.kf-section--footer { background: var(--light); border-top: 1px solid var(--border); }
.kf-section-title { font-size: 0.78rem; text-transform: uppercase; color: var(--primary-text); letter-spacing: 0.06em; margin-bottom: 10px; }
.photo{
	margin-left: 10px;
}
.photo .kf-label{
	display:none;
	width: 0px;
}

.agent{
	margin-left: -100px;
}

.agent .kf-label{
	display:none;
	width: 0px;
}

.hozyain{
	margin-left: -30px;
}

.hozyain .kf-label{
	display:none;
	width: 0px;
}

/* ── Rows ──────────────────────────────────── */
.kf-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: flex-end;
    margin-bottom: 12px;
}
.kf-row:last-child { margin-bottom: 0; }

/* ── Column widths (bootstrap-like, 12-col) ─ */
.kf-col   { flex: 1 1 auto; min-width: 0; }
.kf-col-1  { flex: 0 0 calc(8.333% - 12px);  max-width: calc(8.333% - 12px); }
.kf-col-2  { flex: 0 0 calc(16.666% - 12px); max-width: calc(16.666% - 12px); }
.kf-col-3  { flex: 0 0 calc(25% - 12px);     max-width: calc(25% - 12px); }
.kf-col-4  { flex: 0 0 calc(33.333% - 12px); max-width: calc(33.333% - 12px); }
.kf-col-5  { flex: 0 0 calc(41.666% - 12px); max-width: calc(41.666% - 12px); }
.kf-col-6  { flex: 0 0 calc(50% - 12px);     max-width: calc(50% - 12px); }
.kf-col-7  { flex: 0 0 calc(58.333% - 12px); max-width: calc(58.333% - 12px); }
.kf-col-8  { flex: 0 0 calc(66.666% - 12px); max-width: calc(66.666% - 12px); }
.kf-col-9  { flex: 0 0 calc(75% - 12px);     max-width: calc(75% - 12px); }
.kf-col-10 { flex: 0 0 calc(83.333% - 12px); max-width: calc(83.333% - 12px); }
.kf-col-11 { flex: 0 0 calc(91.666% - 12px); max-width: calc(91.666% - 12px); }
.kf-col-12 { flex: 0 0 100%; max-width: 100%; }

/* ── Labels & inputs ───────────────────────── */
.kf-label {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.kf-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}
.kf-label-row .kf-label {
    margin-bottom: 0;
}
.kf-rd-reset-link {
    font-size: 0.75rem;
    color: var(--primary);
    text-decoration: none;
    white-space: nowrap;
}
.kf-rd-reset-link:hover {
    text-decoration: underline;
}

.kf-input,
.kf-select {
    width: 100%;
    padding: 5px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.9rem;
    color: var(--text);
    background: var(--surface);
    transition: border-color var(--transition), box-shadow var(--transition);
    appearance: none;
    -webkit-appearance: none;
}
.kf-input:focus, .kf-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(80,113,84,.15);
}
.kf-select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M0 0l6 8 6-8z' fill='%23677a67'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 32px; }

/* ── Range field ───────────────────────────── */
.kf-range {
    display: flex;
    align-items: center;
    gap: 8px;
}
.kf-range .kf-input { flex: 1; }
.kf-range-sep { color: var(--primary-text); font-size: 1rem; flex-shrink: 0; }

/* ── Rooms selector ────────────────────────── */
.kf-rooms {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.kf-room-btn {
    padding: 8px 18px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
    background: var(--surface);
    cursor: pointer;
    transition: all var(--transition);
    line-height: 1;
}
.kf-room-btn:hover  { border-color: var(--primary-text); color: var(--primary-text); }
.kf-room-btn.active { background: var(--primary); border-color: #4d7252; color: #fff; }

/* ── Button group ──────────────────────────── */
.kf-button-group { display: flex; flex-wrap: wrap; gap: 6px; }
.kf-btn-group-item {
    padding: 7px 14px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text);
    background: var(--surface);
    cursor: pointer;
    transition: all var(--transition);
}
.kf-btn-group-item:hover  { border-color: var(--primary-text); color: var(--primary-text); }
.kf-btn-group-item.active { background: var(--primary); border-color: var(--primary-text); color: #fff; }

/* ── Radio group ───────────────────────────── */
.kf-radio-group { display: flex; flex-wrap: wrap; gap: 10px; }
.kf-radio-label { display: flex; align-items: center; gap: 5px; font-size: 0.88rem; cursor: pointer; }

/* ── Checkbox ──────────────────────────────── */
.kf-checkbox-label {
    display: flex;
    align-items: center;
    gap: 1px;
    font-size: 0.9rem;
    cursor: pointer;
    background: var(--bg, #fff);
    border: 1.5px solid var(--border, #ddd);
    border-radius: 20px;
    padding: 4px 10px;
    transition: border-color 0.15s, background 0.15s;
    justify-content: center;
}
.kf-checkbox-label input[type=checkbox] { display: none; }
.kf-checkbox-label:has(input:checked) {
    background: var(--primary, #1e3c72);
    border-color: var(--primary, #1e3c72);
    color: #fff;
}
.kf-checkbox-label:hover { border-color: var(--primary, #1e3c72); }

/* ── Multiselect ───────────────────────────── */
.kf-multiselect { display: flex; flex-wrap: wrap; gap: 8px; }
.kf-multiselect-item {
    display: inline-flex; align-items: center; gap: 5px;
    font-size: 0.88rem; cursor: pointer;
    background: var(--bg, #fff);
    border: 1.5px solid var(--border, #ddd);
    border-radius: 20px;
    padding: 5px 12px;
    transition: border-color 0.15s, background 0.15s;
    user-select: none;
}
.kf-multiselect-item input[type=checkbox] { display: none; }
.kf-multiselect-item:has(input:checked),
.kf-multiselect-item--active {
    background: var(--primary, #1e3c72);
    border-color: var(--primary, #1e3c72);
    color: #fff;
}
.kf-multiselect-item:hover { border-color: var(--primary, #1e3c72); }

/* ── Region → District cascading selectors ──────── */
.kf-region-district { display: flex; flex-direction: column; gap: 6px; }
.kf-region-district .kf-select { width: 100%; }
.kf-rd-district-panel { display: flex; flex-direction: column; gap: 6px; }
.kf-rd-back-btn {
    display: none;
}

/* ── Footer ────────────────────────────────── */
.kf-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px 20px;
    background: var(--green);
    border-top: 1px solid var(--green);
	margin-top: 20px;
}
.kf-footer-left, .kf-footer-right { display: flex; gap: 8px; align-items: center; }
.kf-footer-center { flex: 1; display: flex; justify-content: center; }

.kf-btn-submit {
    padding: 10px 28px;
    background: #507154;
    color: #ffffff;
    border: none;
    border-radius: var(--radius);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background var(--transition);
    display: flex;
    align-items: center;
    gap: 7px;
    border-radius: var(--radius);
}
.kf-btn-submit:hover { background: #507154; color: #ffffff;}
.kf-count { font-weight: 700; }

.kf-btn-toggle-more,
.kf-btn-clear {
    padding: 8px 16px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.85rem;
    color: var(--primary);
    background: var(--surface);
    cursor: pointer;
    transition: all var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
}
.kf-btn-toggle-more:hover,
.kf-btn-clear:hover { border-color: var(--primary-text); color: var(--primary-text); }

.kf-view-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 14px;
    background: #507154;
    border: 1.5px solid #507154;
    border-radius: var(--radius);
    font-size: 0.85rem;
    color: #ffffff;
    text-decoration: none;
    transition: all var(--transition);
}
.kf-view-btn:hover  { border-color: #507154; color: #ffffff; }
.kf-view-btn.active { background: #303a3b; border-color: var(--green); color: #fff; }

/* ── Responsive ────────────────────────────── */
@media (max-width: 768px) {
    .kf-col-1, .kf-col-2, .kf-col-3, .kf-col-4,
    .kf-col-5, .kf-col-6, .kf-col-7, .kf-col-8,
    .kf-col-9, .kf-col-10, .kf-col-11 { flex: 0 0 100%; max-width: 100%; }
    .kf-footer { flex-direction: column; align-items: stretch; }
    .kf-footer-left, .kf-footer-center, .kf-footer-right { justify-content: center; }
    .kf-tabs { padding: 0 10px; flex-wrap: wrap; }
    .kf-tab { padding: 10px 14px; font-size: 0.85rem; }
    .kf-section { padding: 12px 14px; }
}

/* =============================================
   LISTING PAGE ENHANCEMENTS
   ============================================= */

/* ── Back button + topbar ─────────────────── */
.ld-topbar {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}
.ld-topbar .ld-breadcrumb {
    margin-bottom: 0;
    flex: 1;
}
.ld-back-btn {
    display: inline-flex;
    align-items: end;
    gap: 6px;
    padding: 6px 14px;
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: 8px;
    color: var(--green);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: background var(--transition), border-color var(--transition), color var(--transition), box-shadow var(--transition);
    flex-shrink: 0;
}
.ld-back-btn:hover {
    background: var(--primary-bg);
    border-color: var(--brand-light);
    color: var(--primary);
    box-shadow: 0 2px 8px rgba(80,113,84,0.12);
}
.ld-back-btn i {
    font-size: 0.8rem;
}

/* ── Characteristics 3-column grid ─────────── */
.ld-props-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}
.ld-prop-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    background: var(--fon);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 14px 14px 12px;
    transition: box-shadow var(--transition), border-color var(--transition);
}
.ld-prop-card:hover {
    border-color: var(--primary);
    box-shadow: 0 2px 10px rgba(80,113,84,0.10);
}
.ld-prop-card__icon {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 2px;
}
.ld-prop-card__label {
    font-size: 0.78rem;
    color: var(--primary-text);
    font-weight: 500;
    line-height: 1.3;
}
.ld-prop-card__value {
    font-size: 0.92rem;
    color: var(--green);
    font-weight: 700;
    line-height: 1.3;
}
@media (max-width: 600px) {
    .ld-props-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 380px) {
    .ld-props-grid {
        grid-template-columns: 1fr;
    }
}

/* ── Report (complaint) button ──────────────── */
.ld-report {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
}
.ld-report-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: transparent;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    padding: 8px 16px;
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: color var(--transition), border-color var(--transition), background var(--transition);
}
.ld-report-btn:hover {
    color: var(--danger, #e74c3c);
    border-color: var(--danger, #e74c3c);
    background: #fff5f5;
}
.ld-report-btn i {
    font-size: 0.95rem;
}

/* ── Complaint modal ────────────────────────── */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.50);
    backdrop-filter: blur(3px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 16px;
}
.modal-overlay--open {
    display: flex;
}
.claim-modal {
    position: relative;
    background: var(--white);
    border-radius: 14px;
    padding: 32px 28px 24px;
    width: 100%;
    max-width: 580px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.18);
    animation: claimModalIn 0.22s ease;
}
@keyframes claimModalIn {
    from { opacity: 0; transform: translateY(-18px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}
.claim-modal h2 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--green);
    margin: 0 0 20px;
    padding-right: 28px;
    line-height: 1.3;
}
.modal-close {
    position: absolute;
    top: 14px;
    right: 18px;
    font-size: 1.5rem;
    color: var(--primary);
    cursor: pointer;
    line-height: 1;
    transition: color var(--transition);
    user-select: none;
}
.modal-close:hover { color: var(--green); }

/* ── Radio list in complaint form ───────────── */
.claim-modal-form__reasons {
    display: flex;
    flex-direction: column;
    gap: 0px;
    margin-bottom: 0px;
}
.kr-radio {
    display: flex;
    align-items: center;
}
.kr-radio input[type="radio"] {
    display: none;
}
.kr-radio-control {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 14px;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.88rem;
    color: var(--text);
    transition: border-color var(--transition), background var(--transition), color var(--transition);
    width: 100%;
    user-select: none;
}
.kr-radio-control::before {
    content: '';
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2px solid var(--border);
    border-radius: 50%;
    flex-shrink: 0;
    transition: border-color var(--transition), background var(--transition);
    background: var(--white);
}
.kr-radio input[type="radio"]:checked + .kr-radio-control {
    border-color: var(--primary);
    background: var(--primary-bg);
    color: var(--primary);
    font-weight: 600;
}
.kr-radio input[type="radio"]:checked + .kr-radio-control::before {
    border-color: var(--primary);
    background: var(--primary);
    box-shadow: inset 0 0 0 3px var(--white);
}
.kr-radio-control:hover {
    border-color: var(--primary);
    background: var(--primary-bg);
}

/* ── Textarea in complaint form ─────────────── */
.claim-modal-form__input {
    margin-bottom: 16px;
}
.claim-modal-form__input .ui-input {
    width: 100%;
    padding: 10px 13px;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    font-size: 0.88rem;
    font-family: inherit;
    color: var(--text);
    background: var(--white);
    resize: vertical;
    min-height: 90px;
    transition: border-color var(--transition), box-shadow var(--transition);
    box-sizing: border-box;
}
.claim-modal-form__input .ui-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(80,113,84,0.12);
}

/* ── Footer of complaint form ───────────────── */
.claim-modal-form__footer {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.claim-modal-form__note {
    font-size: 0.78rem;
    color: var(--primary);
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 520px) {
    .claim-modal {
        padding: 24px 16px 20px;
    }
}

/* ── Agent profile button (full-width in sidebar) ─────────────── */
.ld-seller__info { flex: 1; min-width: 0; width: 100%; }
.ld-seller__agent-btn {
    font-size: 0.82rem;
    width: 300px;
    margin: 0 auto;
	margin-bottom: 15px;
}

/* ── Listing map block ────────────────────────────────────────── */
.ld-map-wrapper {
    position: relative;
    height: 140px;
    border-radius: 10px;
}
#ld-map {
    width: 100%;
    height: 100%;
}
.ld-map-toggle-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 993;
    padding: 5px 12px;
    background: var(--white);
    color: var(--primary);
    border: 1.5px solid var(--primary);
    border-radius: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    transition: background var(--transition), color var(--transition);
}
.ld-map-toggle-btn:hover {
    background: var(--primary);
    color: var(--white);
}


/* =============================================
   Profile page tabs
   ============================================= */
.profile-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    border-bottom: 2px solid var(--border);
    padding-bottom: 0;
}

.profile-tab-btn {
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    padding: 10px 20px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    margin-bottom: -2px;
    border-radius: 4px 4px 0 0;
    transition: color var(--transition), border-color var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
}

.profile-tab-btn:hover {
    color: var(--primary);
}

.profile-tab-btn.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
    background: var(--primary-bg);
}

.profile-tab-content {
    display: none;
}

.profile-tab-content.active {
    display: block;
}
.leaflet-left {
    left: 0;
    z-index: 993 !important;
}

.leaflet-bottom {
    bottom: 0;
    z-index: 993 !important;
}

/* ============================================================
   CHIP-STYLE SELECTORS (Krisha-style)
   ============================================================ */
.cl-chip-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 6px;
}

.cl-chip {
    display: inline-flex;
    align-items: center;
    padding: 7px 16px;
    border: 1.5px solid var(--border, #dde0e6);
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text, #333);
    background: #fff;
    user-select: none;
    transition: border-color .15s, background .15s, color .15s;
    line-height: 1.3;
}

.cl-chip input[type="radio"],
.cl-chip input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.cl-chip:hover {
    border-color: var(--primary, #2563eb);
    color: #ffffff;
    border: 2px solid #000;
	background: #507154;
}

.cl-chip--active,
.cl-chip input[type="radio"]:checked ~ *,
.cl-chip input[type="checkbox"]:checked ~ * {
    /* handled via JS class toggle */
}

.cl-chip--active {
    background: #507154;
    border-color: var(--primary, #2563eb);
    color: #fdfffd;
}

.cl-chip-label {
    font-size: 0.87rem;
    font-weight: 600;
    color: var(--text-secondary, #666);
    margin-bottom: 6px;
    margin-top: 4px;
}

/* Category chips — wide layout with icon + subtitle */
.cl-chip-group--categories {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 6px;
}

.cl-chip--cat {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 14px 20px;
    min-width: 250px;
    text-align: center;
    border-radius: 12px;
    border: 2px solid var(--border, #dde0e6);
    cursor: pointer;
    background: #fff;
    transition: border-color .15s, background .15s, color .15s;
    user-select: none;
    color: var(--text, #333);
}

.cl-chip--cat input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.cl-chip--cat i {
    font-size: 1.5rem;
    margin-bottom: 2px;
    color: #507154;
}

.cl-chip--cat .cl-chip-main {
    font-weight: 600;
    font-size: 0.95rem;
}

.cl-chip--cat .cl-chip-sub {
    font-size: 0.75rem;
    opacity: 0.7;
}

.cl-chip--cat:hover {
    border-color: #507154;
    background: #343834;
}

.cl-chip--cat.cl-chip--active {
    background: #507154;
    border-color: #507154;
    color: #fff;
}

.cl-chip--cat.cl-chip--active i {
    color: #fff;
}

.cl-attr-block {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--border, #eee);
}

/* Responsive 3-column row inside attribute blocks */
.cl-attrs-row {
    display: flex;
    gap: 0px;
    flex-wrap: wrap;
    margin-bottom: 0;
}
.cl-attrs-row .cl-attr-col {
    flex: 1 1 calc(33.333% - 12px);
    min-width: 140px;
}
@media (max-width: 700px) {
    .cl-attrs-row .cl-attr-col { flex: 0 0 100%; }
}

/* ============================================================
   PROMOTION CHECKOUT PAGE
   ============================================================ */
.promo-checkout-page {
    max-width: 960px;
    padding: 32px 16px 48px;
}

.promo-checkout-header {
    text-align: center;
    margin-bottom: 24px;
}

.promo-checkout-header h1 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.promo-checkout-sub {
    color: var(--text-secondary, #666);
    font-size: 0.95rem;
}

/* Mini listing preview */
.promo-mini-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #fff;
    border: 1px solid var(--border, #dde0e6);
    border-radius: 10px;
    padding: 14px 18px;
    margin-bottom: 28px;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
}

.promo-mini-card__img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}

.promo-mini-card__noimg {
    width: 80px;
    height: 60px;
    background: var(--bg-secondary, #f3f4f6);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #bbb;
    font-size: 1.6rem;
    flex-shrink: 0;
}

.promo-mini-card__title {
    font-weight: 600;
    font-size: 0.97rem;
    margin-bottom: 6px;
}

.promo-mini-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--text-secondary, #666);
}

.promo-mini-card__price {
    font-weight: 700;
    color: var(--primary, #2563eb);
    font-size: 0.95rem;
}

/* Packages grid */
.promo-packages-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 20px;
    align-items: start;
}

@media (max-width: 768px) {
    .promo-packages-grid {
        grid-template-columns: 1fr;
    }
}

.promo-pkg-card {
    position: relative;
    background: #fff;
    border: 2px solid var(--border, #dde0e6);
    border-radius: 14px;
    padding: 28px 22px 22px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
}

.promo-pkg-card--featured {
    border-color: #e53e3e;
    box-shadow: 0 4px 24px rgba(229, 62, 62, .15);
}

.promo-pkg-badge {
    position: absolute;
    top: -12px;
    right: 16px;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
    color: #fff;
}

.promo-pkg-badge--save { background: #22c55e; }
.promo-pkg-badge--hot  { background: #e53e3e; }

.promo-pkg-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #fff;
}

.promo-pkg-icon--green { background: #22c55e; }
.promo-pkg-icon--red   { background: #e53e3e; }
.promo-pkg-icon--gray  { background: #9ca3af; }

.promo-pkg-title {
    font-weight: 700;
    font-size: 1.05rem;
}

.promo-pkg-features {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.88rem;
    color: var(--text-secondary, #555);
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.promo-pkg-features li i {
    color: #22c55e;
    margin-right: 5px;
}

.promo-pkg-price-wrap {
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
}

.promo-pkg-old-price {
    text-decoration: line-through;
    color: #aaa;
    font-size: 0.9rem;
}

.promo-pkg-price {
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--primary, #2563eb);
}

.promo-pkg-price--big {
    font-size: 1.4rem;
    color: #e53e3e;
}

.promo-pkg-btn {
    width: 100%;
    justify-content: center;
    padding: 10px 16px;
    font-size: 0.95rem;
    font-weight: 600;
}

.promo-pkg-btn--weekly  { background: #22c55e; border-color: #22c55e; color: #fff; }
.promo-pkg-btn--weekly:hover { background: #16a34a; }
.promo-pkg-btn--monthly { background: #e53e3e; border-color: #e53e3e; color: #fff; }
.promo-pkg-btn--monthly:hover { background: #c53030; }
.promo-pkg-btn--basic   { background: var(--primary, #2563eb); color: #fff; }

/* Basic plan */
.promo-pkg-basic-sub {
    font-size: 0.83rem;
    color: var(--text-secondary, #666);
    margin-top: -6px;
}

.promo-pkg-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.promo-pkg-no-services {
    font-size: 0.85rem;
    color: #aaa;
}

.promo-basic-svc {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 6px 8px;
    border-radius: 6px;
    border: 1px solid var(--border, #eee);
    font-size: 0.87rem;
    transition: border-color .15s, background .15s;
}

.promo-basic-svc:hover { border-color: var(--primary, #2563eb); }
.promo-basic-svc--checked {
    background: var(--primary-bg, #eff6ff);
    border-color: var(--primary, #2563eb);
}

.promo-basic-svc__name { flex: 1; }
.promo-basic-svc__price { font-weight: 600; color: var(--primary, #2563eb); }

.promo-pkg-balance {
    font-size: 0.83rem;
    color: var(--text-secondary, #666);
    padding: 8px 10px;
    background: var(--bg-secondary, #f9fafb);
    border-radius: 6px;
}

.promo-pkg-topup-link {
    margin-left: 6px;
    color: var(--primary, #2563eb);
    text-decoration: none;
    font-weight: 600;
}

.promo-pkg-nopromo-wrap {
    text-align: center;
    margin-top: 4px;
}

.promo-nopromo-link {
    background: none;
    border: none;
    color: var(--text-secondary, #888);
    font-size: 0.85rem;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 2px;
    padding: 4px 0;
}

.promo-nopromo-link:hover { color: var(--text, #333); }

/* ============================================================
   LISTING SUCCESS PAGE
   ============================================================ */
.listing-success-page {
    max-width: 640px;
    padding: 40px 16px 60px;
    text-align: center;
	margin: 0 auto;
}

.ls-success-banner {
    margin-bottom: 32px;
}

.ls-success-icon {
    font-size: 3.5rem;
    color: #22c55e;
    margin-bottom: 14px;
}

.ls-success-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.ls-success-desc {
    color: var(--text-secondary, #666);
    line-height: 1.6;
    font-size: 0.97rem;
}

.ls-promo-applied {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 14px;
    padding: 8px 18px;
    background: #f0fdf4;
    border: 1px solid #86efac;
    border-radius: 20px;
    color: #16a34a;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Preview card on success page */
.ls-preview-card {
    display: flex;
    gap: 16px;
    background: #fff;
    border: 1px solid var(--border, #dde0e6);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 24px;
    text-align: left;
    box-shadow: 0 2px 12px rgba(0,0,0,.07);
}

.ls-preview-card__img {
    width: 120px;
    min-height: 90px;
    object-fit: cover;
    flex-shrink: 0;
}

.ls-preview-card__noimg {
    width: 120px;
    min-height: 90px;
    background: var(--bg-secondary, #f3f4f6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #bbb;
    flex-shrink: 0;
}

.ls-preview-card__body {
    padding: 14px 16px 14px 4px;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.ls-preview-card__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.ls-badge {
    font-size: 0.75rem;
    padding: 2px 9px;
    border-radius: 10px;
    font-weight: 600;
}

.ls-badge--type   { background: #e0e7ff; color: #3730a3; }
.ls-badge--deal   { background: #dcfce7; color: #166534; }
.ls-badge--status { background: #fef3c7; color: #92400e; }

.ls-preview-card__title {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
}

.ls-preview-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--text-secondary, #666);
}

.ls-preview-card__price {
    font-weight: 700;
    color: var(--primary, #2563eb);
}

/* Timer */
.ls-timer-block {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #fffbeb;
    border: 1px solid #fcd34d;
    border-radius: 10px;
    padding: 14px 20px;
    margin-bottom: 28px;
    text-align: left;
}

.ls-timer-icon {
    font-size: 1.8rem;
    color: #f59e0b;
    flex-shrink: 0;
}

.ls-timer-label {
    font-size: 0.83rem;
    color: var(--text-secondary, #666);
}

.ls-timer-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: #92400e;
}

/* Action buttons */
.ls-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.ls-btn-cabinet, .ls-btn-new {
    padding: 12px 24px;
    font-size: 0.95rem;
}

@media (max-width: 480px) {
    .ls-preview-card { flex-direction: column; }
    .ls-preview-card__img, .ls-preview-card__noimg { width: 100%; min-height: 160px; }
    .ls-preview-card__body { padding: 14px; }
}

/* =============================================
   MY LISTING DETAIL PAGE (my-listing-detail.php)
   ============================================= */

.mld-header { align-items: flex-start; flex-wrap: wrap; gap: 12px; }
.mld-heading { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.mld-back-btn { white-space: nowrap; }
.mld-archive-btn { background: #fff3f3; border: 1px solid #f5c6c6; color: #c0392b; }
.mld-archive-btn:hover { background: #ffe0e0; border-color: #e74c3c; color: #e74c3c; }
.mld-services-col { position: sticky; top: 16px; }

.mld-layout {
    display: grid;
    grid-template-columns: 100%;
    gap: 24px;
    align-items: flex-start;
}

/* Gallery */
.mld-gallery { border-radius: var(--radius); overflow: hidden; background: #f0f2f5; margin-bottom: 16px; }
.mld-gallery__main { position: relative; width: 100%; height: 280px; overflow: hidden; }
.mld-gallery__main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mld-gallery__empty {
    height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 2rem;
    gap: 8px;
}
.mld-gallery__thumbs { display: flex; gap: 4px; padding: 4px; overflow-x: auto; }
.mld-gallery__thumb { width: 72px; height: 52px; border-radius: 4px; overflow: hidden; cursor: pointer; opacity: 0.65; transition: opacity var(--transition); flex-shrink: 0; border: 2px solid transparent; }
.mld-gallery__thumb.active, .mld-gallery__thumb:hover { opacity: 1; border-color: var(--primary); }
.mld-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

.mld-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
}
.mld-badge--vip  { background: #b8860b; color: #fff; }
.mld-badge--top  { background: var(--primary); color: #fff; }
.mld-badge--urgent { background: #e74c3c; color: #fff; }

/* Info card */
.mld-info-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 16px;
}
.mld-info-card__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.mld-price { font-size: 1.5rem; font-weight: 800; color: var(--primary); }
.mld-status { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.mld-promo-expiry { font-size: 0.8rem; color: var(--text-muted); }
.mld-address { color: var(--text-muted); font-size: 0.88rem; margin-bottom: 12px; }
.mld-address i { margin-right: 5px; color: var(--primary); }
.mld-props { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.mld-prop {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #f4f6f9;
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 0.82rem;
    color: var(--text);
}
.mld-prop i { color: var(--primary); }
.mld-description { font-size: 0.88rem; color: #000; line-height: 1.55; }

/* Stats card */
.mld-stats-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 16px;
}
.mld-card-title { font-size: 0.95rem; font-weight: 700; margin: 0 0 14px; color: var(--text); }
.mld-card-title i { color: var(--primary); margin-right: 6px; }
.mld-stats-row { display: flex; gap: 16px; }
.mld-stat { flex: 1; text-align: center; }
.mld-stat__num { font-size: 1.5rem; font-weight: 800; color: var(--primary); }
.mld-stat__label { font-size: 0.78rem; color: var(--text-muted); }

/* Right side */
.mld-wallet-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 12px 16px;
    margin-bottom: 12px;
}

/* Active promo block */
.mld-active-promo {
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    border-radius: var(--radius);
    padding: 14px 16px;
    margin-bottom: 14px;
}
.mld-active-promo__header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; font-size: 0.88rem; }
.mld-active-promo__countdown { font-size: 0.85rem; color: var(--text); margin-bottom: 8px; }
.mld-progress-bar { background: #dbeafe; border-radius: 6px; height: 6px; overflow: hidden; }
.mld-progress-fill { background: var(--primary); height: 6px; transition: width 0.3s; }

/* Promo section */
.mld-promo-section {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    margin-bottom: 14px;
}
.mld-promo-section__title {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--text-muted);
    margin-bottom: 12px;
}

/* Package card */
.mld-pkg-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 12px 14px;
    margin-bottom: 10px;
    transition: border-color var(--transition), box-shadow var(--transition);
    position: relative;
}
.mld-pkg-card:hover { border-color: var(--primary); box-shadow: 0 2px 10px rgba(0,0,0,0.07); }
.mld-pkg-card__body { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 10px; }
.mld-pkg-icon { font-size: 1.5rem; width: 38px; flex-shrink: 0; text-align: center; padding-top: 2px; }
.mld-pkg-info { flex: 1; min-width: 0; }
.mld-pkg-name { font-weight: 700; font-size: 0.9rem; color: var(--text); margin-bottom: 2px; }
.mld-pkg-hint { font-size: 0.78rem; color: var(--text-muted); }
.mld-pkg-btn { width: 100%; justify-content: center; font-size: 0.85rem; padding: 8px 12px; }
.mld-pkg-btn--fire { background: linear-gradient(135deg, #ff7a18, #e97900); color: #fff; border: none; }
.mld-pkg-btn--fire:hover { opacity: 0.9; }
.mld-pkg-btn--blue { background: linear-gradient(135deg, #4a6cf7, #3551d5); color: #fff; border: none; }
.mld-pkg-btn--blue:hover { opacity: 0.9; }
.mld-pkg-card--disabled { opacity: 0.6; }
.mld-pkg-card--disabled:hover { border-color: var(--border); box-shadow: none; }
.mld-pkg-active-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.93);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px;
    border-radius: var(--radius);
    z-index: 2;
    text-align: center;
}
.mld-pkg-active-overlay__icon { font-size: 1.4rem; color: #e97900; margin-bottom: 8px; }
.mld-pkg-active-overlay__text { margin: 0; font-size: 0.82rem; line-height: 1.5; color: var(--text); }

/* Package tooltip */
.mld-pkg-tooltip {
    display: none;
    position: absolute;
    right: calc(100% + 10px);
    left: auto;
    top: 50%;
    transform: translateY(-50%);
    background: #1e2a3a;
    color: #fff;
    border-radius: 8px;
    padding: 12px 14px;
    font-size: 0.8rem;
    line-height: 1.5;
    z-index: 100;
    min-width: 360px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.18);
    pointer-events: none;
}
.mld-pkg-tooltip__title { font-weight: 700; margin-bottom: 8px; font-size: 0.85rem; }
.mld-pkg-tooltip ul { margin: 0; padding: 0; list-style: none; }
.mld-pkg-tooltip li { margin-bottom: 4px; }
.mld-pkg-tooltip__price { margin-top: 10px; font-weight: 700; font-size: 1rem; color: #7dd3fc; }
.mld-pkg-card:hover .mld-pkg-tooltip { display: block; }

/* Service list */
.mld-services-list { display: flex; flex-direction: column; gap: 10px; }
.mld-service-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: border-color var(--transition);
}
.mld-service-item:hover { border-color: var(--primary); }
.mld-service-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}
.mld-service-icon--top    { background: #fff7ed; color: #e97900; }
.mld-service-icon--hot    { background: #fff1f2; color: #e74c3c; }
.mld-service-icon--extend { background: #f0fdf4; color: #16a34a; }
.mld-service-icon--urgent { background: #fffbeb; color: #d97706; }
.mld-service-info { flex: 1; min-width: 0; }
.mld-service-name { font-size: 0.88rem; font-weight: 600; color: var(--text); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.mld-service-price { font-size: 0.8rem; font-weight: 700; color: var(--primary); background: var(--primary-bg); padding: 1px 8px; border-radius: 10px; }
.mld-service-price--free { color: #16a34a; background: #dcfce7; }
.mld-service-hint { font-size: 0.77rem; color: var(--text-muted); margin-top: 2px; line-height: 1.4; }
.mld-svc-btn { background: var(--white); border: 1px solid var(--border); color: var(--text); flex-shrink: 0; }
.mld-svc-btn:hover { border-color: var(--primary); color: var(--primary); }
.mld-service-item--disabled { opacity: 0.65; }
.mld-service-item--disabled:hover { border-color: var(--border); }
.mld-service-nophoto-msg { font-size: 0.8rem; color: var(--text-muted); line-height: 1.4; margin-top: 2px; }
.mld-service-nophoto-msg a { color: var(--primary); text-decoration: underline; }

/* Responsive */
@media (max-width: 1100px) {
    .mld-layout { grid-template-columns: 1fr 380px; }
    .mld-layout .mld-services-col { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
    .mld-layout { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .mld-gallery__main { height: 200px; }
    .mld-stats-row { gap: 8px; }
    .mld-pkg-tooltip { min-width: 160px; font-size: 0.75rem; }
}
.but{
	display:flex;
}




/* ============================================
   NEW COMPACT ORDER CARD STYLES
   ============================================ */

.order-card {
	padding:15px;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgb(0 0 0 / 14%);
    border: 1px solid #dfdede;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 205px;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Animated border effect */
.order-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(1, 122, 114, 0.1), transparent);
    transition: left 0.6s ease;
    pointer-events: none;
    z-index: 1;
}

/* Decorative dots pattern in top-right */
.order-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 80px;
    height: 80px;
    background-image: radial-gradient(circle, rgba(1, 122, 114, 0.15) 1px, transparent 1px);
    background-size: 8px 8px;
    border-radius: 0 10px 0 0;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 2;
}

.order-card:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

/* Activate dots pattern on hover */
.order-card:hover::after {
    opacity: 1;
}

/* Animate the shine effect on hover */
.order-card:hover::before {
    left: 100%;
}

.order-card p{
	font-size: 0.89rem;
	color:#545252;
	padding: 0px 15px;
}

/* Header with title and price */
.card-header-compact {
    padding: 0.6rem 0.75rem 0.3rem 0.75rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.75rem;
    border-bottom: 1px solid #f5f5f5;
    position: relative;
    z-index: 3;
	margin-bottom: 10px;
}

.card-title-wrapper {
    flex: 1;
    display: flex;
    gap: 0.5rem;
    align-items: flex-start;
}

.order-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
    line-height: 1.4;
    flex: 1;
    word-break: break-word;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
	padding-right: 0.4rem;
}

.badge-near {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: #ff9800;
    color: white;
    border-radius: 50%;
    font-size: 0.65rem;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgb(255 182 107 / 30%);
    animation: pulse-dot 2s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.badge-price {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: #36a1a5;
    color: white;
    border-radius: 50%;
    font-size: 0.75rem;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgb(54 161 165 / 35%);
    animation: pulse-dot 2s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.badge-near::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: shimmer 2s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { 
        transform: scale(1) opacity(0); 
    }
    50% { 
        transform: scale(1.2) opacity(1); 
    }
}

.card-price {
    display: flex;
    align-items: baseline;
    gap: 0.2rem;
    white-space: nowrap;
}

.price-text {
    font-size: 1.16rem;
    font-weight: 700;
    color: var(--primary);
}

.price-textt {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
	margin-top:-5px;
}

.price-currency {
    font-size: 1rem;
    color: #101010;
}

/* Description */
.card-description {
    padding: 10px 0px;
    font-size: 0.895rem;
    line-height: 1.5;
    color: #555;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
}

/* Info chips */
.card-info-chips {
    padding: 0 0.5rem 0rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.info-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.6rem;
    background: #f8f9fa;
    border-radius: 6px;
    font-size: 0.75rem;
    color: #555;
    flex-shrink: 0;
    cursor: default;
}

.info-chip i {
    font-size: 0.7rem;
    color: var(--primary);
}

.info-chip span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 290px;
}

/* Footer with user info */
.card-footer-compact {
    padding: 0.80rem 0.75rem 0.6rem 0.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
	border-top: 1px solid #f5f5f5;
    gap: 0.75rem;
    margin-top: auto;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    min-width: 0;
}

.user-ratings {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 30px;
    width: fit-content;
}

.user-ratings i {
    color: #f5b342;
    font-size: 12px;
}

.user-info img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e9ecef;
    flex-shrink: 0;
}

.user-detail {
    display: flex;
    flex-direction: row;
    gap: 0.75rem;
    align-items: center;
    min-width: 0;
    flex: 1;
}

.user-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: #1a1a1a;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-orders {
    font-size: 0.75rem;
    color: #888;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    white-space: nowrap;
    flex-shrink: 0;
}

.user-orders i {
    font-size: 0.7rem;
    color: var(--primary);
}

/* Action button */
.btn-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.btn-more i {
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

/* Pulsing glow effect on button */
.btn-more::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    z-index: 0;
}

.btn-more:hover {
    background: #018f85;
    box-shadow: 0 4px 12px rgba(1, 122, 114, 0.3);
    transform: translateX(2px);
}

.btn-more:hover i {
    transform: translateX(2px) scale(1.1);
}

.btn-more:hover::before {
    animation: pulse-glow 0.6s ease-out;
}

@keyframes pulse-glow {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}