/* DecorPlaats Theme — Orange & White */

:root {
    --primary-gradient: linear-gradient(135deg, #C29A74 0%, #A9784F 100%);
    --secondary-gradient: linear-gradient(135deg, #EAD8C8 0%, #D2B79D 100%);
    --success-gradient: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    --shadow-sm: 0 2px 8px rgba(169, 120, 79, 0.08);
    --shadow-md: 0 4px 16px rgba(169, 120, 79, 0.12);
    --shadow-lg: 0 8px 24px rgba(169, 120, 79, 0.20);
    --border-radius: 12px;
    --orange-50:  #FFFFFF;
    --orange-100: #FBF7F3;
    --orange-200: #EFE4DB;
    --orange-300: #E4D1C1;
    --orange-400: #D2B79D;
    --orange-500: #C29A74;
    --orange-600: #A9784F;
    --orange-700: #8C6441;
    --orange-800: #6E4D33;
    --text-dark:  #1C1917;
    --text-muted: #78716C;
    --dp-brown-dark: #4B2E13;
    --dp-brown: #8B5E3C;
    --dp-gold: #C49A6C;
    --dp-bg-soft: #FBF7F2;
    --dp-border: #EADFD5;
    --dp-text: #1F1F1F;
    --dp-muted: #77716B;
    --dp-success-bg: #E6F7EA;
    --dp-success: #198754;
}

/* =========================================================
   GENERAL
   ========================================================= */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--orange-50);
    color: var(--text-dark);
}

html, body {
    height: 100%;
}

/* =========================================================
   NAVBAR
   ========================================================= */
.navbar {
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: 1.5rem;
    letter-spacing: 0.5px;
}

.navbar-brand, .nav-link {
    font-weight: 500;
}

/* =========================================================
   HERO SECTION (legacy)
   ========================================================= */
.hero-section {
    background: var(--primary-gradient);
    color: white;
    padding: 60px 0;
    border-radius: 0 0 var(--border-radius) var(--border-radius);
    box-shadow: var(--shadow-md);
    margin-bottom: 40px;
}

.hero-section h1 {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 1rem;
}

.hero-section p {
    font-size: 1.2rem;
    opacity: 0.95;
    margin-bottom: 2rem;
}

.hero-cta {
    display: inline-flex;
    gap: 12px;
}

/* =========================================================
   CARDS
   ========================================================= */
.card {
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.card-header {
    background: linear-gradient(135deg, #FFFFFF 0%, #FBF7F3 100%);
    border-radius: var(--border-radius) var(--border-radius) 0 0 !important;
    border-bottom: 1px solid #EFE4DB !important;
}

.card-header.bg-primary {
    background: var(--primary-gradient) !important;
    color: white;
}

.card-title {
    font-weight: 600;
    color: var(--text-dark);
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 0.55rem 1.4rem;
}

.btn-primary {
    background: var(--primary-gradient);
    border: none;
    color: white;
}

.btn-primary:hover, .btn-primary:focus {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(169, 120, 79, 0.4);
    color: white;
    background: linear-gradient(135deg, #A9784F 0%, #8C6441 100%);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-success {
    background: var(--success-gradient);
    border: none;
    color: white;
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(118, 75, 162, 0.4);
    color: white;
}

.btn-outline-primary {
    color: #A9784F;
    border: 1.5px solid #C29A74;
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--primary-gradient);
    border-color: #C29A74;
    color: white;
}

.btn-outline-secondary {
    color: #78716C;
    border-color: #D6D3D1;
}

.btn-outline-secondary:hover {
    background: var(--orange-50);
    color: var(--text-dark);
    border-color: #E4D1C1;
}

/* =========================================================
   FORMS
   ========================================================= */
.form-control:focus,
.form-select:focus {
    border-color: #C29A74;
    box-shadow: 0 0 0 0.2rem rgba(169, 120, 79, 0.18);
}

.form-check-input:checked {
    background-color: #C29A74;
    border-color: #C29A74;
}

/* =========================================================
   BADGES
   ========================================================= */
.badge.bg-primary {
    background: var(--primary-gradient) !important;
}

/* =========================================================
   STAT CARDS (dashboard)
   ========================================================= */
.stat-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid #C29A74;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.stat-card .stat-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--orange-100);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #A9784F;
}

.stat-card .stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
}

.stat-card .stat-label {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* =========================================================
   BREADCRUMB
   ========================================================= */
.breadcrumb-item a {
    color: #A9784F;
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: #8C6441;
}

.breadcrumb-item.active {
    color: var(--text-muted);
}

/* =========================================================
   SEARCH / MARKET SEARCH BAR
   ========================================================= */
.market-search-bar {
    background: #ffffff;
    border-radius: 14px;
    /*box-shadow: 0 4px 20px rgba(169, 120, 79, 0.12);*/
    border: 1px solid #EFE4DB;
    padding: 0.5rem;
    overflow: hidden;
}

.market-search-bar .row {
    margin: 0;
}

.market-input-wrap {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 0.9rem;
    position: relative;
    height: 100%;
}

.market-input-wrap > i {
    color: #a0aec0;
    font-size: 1rem;
    flex-shrink: 0;
}

.market-input-wrap .form-control {
    border: none;
    box-shadow: none;
    padding: 0;
    background: transparent;
    font-size: 0.95rem;
    color: var(--text-dark);
    height: auto;
    flex: 1;
    min-width: 0;
}

.market-input-wrap .form-control:focus {
    border: none;
    box-shadow: none;
    background: transparent;
}

.market-input-wrap .form-control::placeholder {
    color: #a0aec0;
}

.market-pill-select {
    border-left: 1px solid #e8e4ff;
}

.market-chevron {
    color: #b0b8d1;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.market-category-trigger {
    border: none;
    box-shadow: none;
    background: transparent;
    padding: 0;
    font-size: 0.95rem;
    color: var(--text-dark);
    height: auto;
    text-align: left;
    cursor: pointer;
}

.market-category-trigger:focus {
    border: none;
    box-shadow: none;
}

.market-search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 1rem;
    color: var(--text-dark);
    background: transparent;
}

.market-search-input::placeholder {
    color: #A8A29E;
}

.market-search-btn {
    background: var(--primary-gradient);
    color: white;
    border: none;
    border-radius: 10px;
    padding: 0.65rem 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
    height: 100%;
    min-height: 48px;
}

.market-search-btn:hover {
    box-shadow: 0 4px 14px rgba(169, 120, 79, 0.4);
    color: white;
}

/* =========================================================
   AUTOCOMPLETE MENU (DESKTOP)
   ========================================================= */
#cityAutocompleteMenu {
    position: fixed !important;
    z-index: 1000;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    max-height: 200px;
    overflow-y: auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 0.3rem;
}

.market-autocomplete-item {
    padding: 0.6rem 0.8rem;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    font-size: 0.85rem;
    color: var(--text-dark);
    transition: background 0.15s ease;
    border: none;
    background: transparent;
    width: 100%;
    text-align: left;
}

.market-autocomplete-item:hover,
.market-autocomplete-item.is-active {
    background: #f9f7f4;
    color: #A9784F;
}

.market-autocomplete-item:last-child {
    border-bottom: none;
}

/* =========================================================
   QUICK CATEGORY SHORTCUTS
   ========================================================= */
.quick-category {
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid #EFE4DB;
    padding: 0.9rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.22s ease;
    min-height: 72px;
}

.quick-category:hover {
    background: var(--orange-100);
    border-color: #C29A74;
    color: #A9784F;
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.quick-category-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--orange-100);
    color: #A9784F;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.quick-category-shortcut {
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid #EFE4DB;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 0.86rem;
    font-weight: 600;
    transition: all 0.22s ease;
    min-height: 108px;
    gap: 0.4rem;
}

.quick-category-shortcut:hover {
    background: var(--orange-100);
    border-color: #C29A74;
    color: #A9784F;
    transform: translateY(-2px);
}

.quick-category-subtitle {
    font-size: 0.76rem;
    color: var(--text-muted);
    font-weight: 400;
}

.quick-category-title {
    font-size: 0.88rem;
    font-weight: 700;
    color: inherit;
    line-height: 1.2;
}

/* Color variants */
.quick-category-shortcut > i { font-size: 1.25rem; margin-bottom: 0.1rem; }

.quick-category-lilac  { border-color: #E4D1C1; background: #FFFFFF; color: #5b21b6; }
.quick-category-lilac:hover  { background: #FBF7F3; border-color: #7c3aed; color: #4c1d95; }

.quick-category-pink   { border-color: #fbcfe8; background: #fdf2f8; color: #9d174d; }
.quick-category-pink:hover   { background: #fce7f3; border-color: #db2777; color: #831843; }

.quick-category-beige  { border-color: #fde68a; background: #fffbeb; color: #92400e; }
.quick-category-beige:hover  { background: #fef3c7; border-color: #d97706; color: #78350f; }

.quick-category-sage   { border-color: #a7f3d0; background: #ecfdf5; color: #065f46; }
.quick-category-sage:hover   { background: #d1fae5; border-color: #059669; color: #064e3b; }

.quick-category-sky    { border-color: #F0E1D5; background: #FCF7F2; color: #8C6441; }
.quick-category-sky:hover    { background: #F8EEE5; border-color: #C29A74; color: #6E4D33; }

.quick-category-peach  { border-color: #fed7aa; background: #fff7ed; color: #9a3412; }
.quick-category-peach:hover  { background: #ffedd5; border-color: #ea580c; color: #7c2d12; }

.quick-category-mint   { border-color: #99f6e4; background: #f0fdfa; color: #134e4a; }
.quick-category-mint:hover   { background: #ccfbf1; border-color: #0d9488; color: #0f3f3c; }

.quick-category-neutral { border-color: #EFE4DB; background: #f8f7ff; color: #4c1d95; }
.quick-category-neutral:hover { background: #FBF7F3; border-color: #C29A74; color: #4c1d95; }

.quick-category-action {
    background: transparent;
    border: 1.5px dashed #E4D1C1;
    color: #C29A74;
}
.quick-category-action:hover {
    background: #FFFFFF;
    border-color: #C29A74;
    color: #A9784F;
}

/* =========================================================
   MOBILE SEARCH BAR
   ========================================================= */
.market-search-mobile {
    display: none; /* Hidden - moved to navbar */
}

.market-search-mobile-input {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 0.9rem;
    background: #ffffff;
    border: 1.5px solid #E8D9CC;
    border-radius: 24px;
    height: 48px;
}

.market-search-mobile-input i {
    color: #a0aec0;
    font-size: 1rem;
    flex-shrink: 0;
}

.market-search-mobile-input .form-control {
    border: none;
    box-shadow: none;
    padding: 0;
    background: transparent;
    font-size: 0.95rem;
    color: var(--text-dark);
    height: auto;
    flex: 1;
}

.market-search-mobile-input .form-control:focus {
    border: none;
    box-shadow: none;
    background: transparent;
}

.market-search-mobile-input .form-control::placeholder {
    color: #a0aec0;
}

/* =========================================================
   MOBILE QUICK SELECTORS (deprecated - see categories scroll)
   ========================================================= */
.market-quick-selectors {
    display: none; /* Hidden - replaced by categories-scroll */
}

.market-quick-selector {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.65rem 0.75rem;
    background: #ffffff;
    border: 1px solid #E8D9CC;
    border-radius: 12px;
    color: #5A4030;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    min-height: 60px;
}

.market-quick-selector i {
    font-size: 1.3rem;
    color: #C29A74;
    transition: all 0.2s ease;
}

.market-quick-selector span {
    text-align: center;
    line-height: 1.2;
    word-break: break-word;
}

.market-quick-selector:hover {
    background: #FDF7F2;
    border-color: #C29A74;
    box-shadow: 0 2px 8px rgba(194, 154, 116, 0.12);
}

.market-quick-selector:active {
    transform: scale(0.98);
}

/* =========================================================
   MOBILE CATEGORIES HORIZONTAL SCROLL ROW
   ========================================================= */
.market-categories-scroll {
    padding: 0 0.75rem;
    overflow: hidden;
}

.categories-scroll-wrapper {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 0.75rem;
    padding: 0.5rem 0;
    scroll-behavior: smooth;
    /* Hide scrollbar */
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.categories-scroll-wrapper::-webkit-scrollbar {
    display: none;
}

.category-scroll-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.7rem 0.8rem;
    flex: 0 0 auto;
    min-width: 85px;
    width: 85px;
    height: 90px;
    background: #ffffff;
    border: 1.5px solid #E8D9CC;
    border-radius: 12px;
    color: #5A4030;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.category-scroll-item i {
    font-size: 1.5rem;
    color: #C29A74;
    flex-shrink: 0;
}

.category-scroll-item span {
    text-align: center;
    line-height: 1.2;
    word-break: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.category-scroll-item:hover {
    background: #FDF7F2;
    border-color: #C29A74;
    box-shadow: 0 2px 8px rgba(194, 154, 116, 0.12);
    transform: translateY(-2px);
}

.category-scroll-item:active {
    transform: translateY(0);
}

.category-scroll-item--all {
    border: 2px dashed #E8D9CC;
    background: rgba(255, 255, 255, 0.6);
}

.category-scroll-item--all:hover {
    border-color: #C29A74;
    background: #FDF7F2;
}

/* =========================================================
   CATEGORY OFFCANVAS PANEL
   ========================================================= */
/* =========================================================
   AVITO-STYLE CATEGORY DRAWER
   ========================================================= */

.cat-drawer {
    width: min(540px, 100vw) !important;
    display: flex;
    flex-direction: column;
    padding: 0 !important;
}

/* Header */
.cat-drawer-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0 1.1rem;
    height: 56px;
    border-bottom: 1px solid #F0E8DF;
    flex-shrink: 0;
    background: #fff;
}

.cat-drawer-title {
    flex: 1;
    font-size: 1rem;
    font-weight: 700;
    color: #1f2937;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cat-drawer-back,
.cat-drawer-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    background: none;
    border: none;
    border-radius: 8px;
    color: #6B7280;
    font-size: 1rem;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.14s, color 0.14s;
}

.cat-drawer-back:hover,
.cat-drawer-close:hover {
    background: #FBF7F3;
    color: #C29A74;
}

/* Scrollable body */
.cat-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 0.5rem 0;
}

/* Category list */
.cat-list {
    list-style: none;
    margin: 0;
    padding: 0 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.cat-list-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    border-radius: 10px;
    padding: 0.72rem 0.75rem;
    cursor: pointer;
    transition: background 0.13s, color 0.13s;
    color: #1f2937;
}

.cat-list-item:hover {
    background: #FBF7F3;
}

.cat-list-item.is-active {
    background: #FBF7F3;
    color: #C29A74;
}

.cat-list-item.is-active .cat-list-icon {
    color: #C29A74;
    background: #F9EFE5;
}

.cat-list-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #F5F0EB;
    border-radius: 8px;
    font-size: 1.05rem;
    color: #8C6441;
    flex-shrink: 0;
    transition: background 0.13s, color 0.13s;
}

.cat-list-icon--sub {
    background: transparent;
    font-size: 1.3rem;
    color: #C29A74;
    width: 28px;
    height: 28px;
}

.cat-list-name {
    flex: 1;
    font-size: 0.88rem;
    font-weight: 500;
    line-height: 1.3;
}

.cat-list-item.is-active .cat-list-name {
    font-weight: 700;
}

.cat-list-chevron {
    font-size: 0.75rem;
    color: #C9B8A8;
    flex-shrink: 0;
}

/* Subcategory check icon */
.cat-sub-check {
    font-size: 1rem;
    color: #C29A74;
    flex-shrink: 0;
}

/* ── View B: parent row ── */
.cat-parent-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0.75rem 0.75rem 0;
    padding: 0.72rem 0.85rem;
    background: #FBF7F3;
    border: 1.5px solid #D2B79D;
    border-radius: 10px;
    cursor: default;
}

.cat-parent-name {
    flex: 1;
    font-size: 0.9rem;
    font-weight: 700;
    color: #6E4D33;
}

.cat-sub-hint {
    font-size: 0.72rem;
    color: #B0A090;
    margin: 0.4rem 1.5rem 0.1rem;
    font-style: italic;
}

/* ── View B: subcategory rows ── */
.cat-sub-list {
    list-style: none;
    margin: 0.35rem 0 0;
    padding: 0 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.cat-sub-row {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    border-radius: 9px;
    padding: 0.62rem 0.75rem;
    cursor: pointer;
    transition: background 0.13s;
    color: #1f2937;
}

.cat-sub-row:hover {
    background: #FBF7F3;
}

.cat-sub-row.is-active {
    background: #F9EFE5;
    color: #6E4D33;
}

.cat-sub-dot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #F3EDE6;
    font-size: 0.65rem;
    color: #C29A74;
    flex-shrink: 0;
    transition: background 0.13s;
}

.cat-sub-row.is-active .cat-sub-dot {
    background: #EDD5BC;
    color: #8C6441;
}

.cat-sub-name {
    flex: 1;
    font-size: 0.86rem;
    font-weight: 500;
}

.cat-sub-row.is-active .cat-sub-name {
    font-weight: 700;
}

/* Optional label */
.cat-sub-optional {
    font-size: 0.75rem;
    color: #B0A090;
    margin: 0.5rem 1.5rem 0.25rem;
    font-style: italic;
}

/* Sticky footer */
.cat-drawer-footer {
    border-top: 1px solid #F0E8DF;
    padding: 0.85rem 1.1rem;
    background: #fff;
    flex-shrink: 0;
}

.cat-continue-btn {
    display: block;
    width: 100%;
    background: linear-gradient(135deg, #C29A74 0%, #A97A5E 100%);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 0.72rem 1rem;
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.16s, box-shadow 0.16s, opacity 0.16s;
    box-shadow: 0 2px 10px rgba(169, 120, 79, 0.22);
}

.cat-continue-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #D4AB84 0%, #BD8E6E 100%);
    box-shadow: 0 4px 16px rgba(169, 120, 79, 0.32);
}

.cat-continue-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

/* Mobile: full screen */
@media (max-width: 575px) {
    .cat-drawer {
        width: 100vw !important;
        border-radius: 0 !important;
    }
}

/* =========================================================
   MOBILE FILTER DRAWER (homepage)
   ========================================================= */
.mobile-filter-drawer {
    width: 100vw !important;
    border-radius: 0 !important;
}

.mobile-filter-drawer .offcanvas-header {
    background: #ffffff;
    border-bottom: 1px solid #F0E8DF;
    padding: 1rem;
}

.mobile-filter-drawer .offcanvas-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #5A4030;
}

.mobile-filter-drawer .offcanvas-body {
    padding: 1rem;
    background: #ffffff;
}

.mobile-filter-form .filter-group {
    margin-bottom: 1.25rem;
}

.mobile-filter-form .filter-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #5A4030;
    margin-bottom: 0.5rem;
}

.mobile-filter-form .form-control,
.mobile-filter-form .form-select {
    border: 1.5px solid #E8D9CC;
    border-radius: 8px;
    padding: 0.625rem 0.75rem;
    font-size: 0.95rem;
    color: #5A4030;
}

.mobile-filter-form .form-control:focus,
.mobile-filter-form .form-select:focus {
    border-color: #C29A74;
    box-shadow: 0 0 0 0.2rem rgba(194, 154, 116, 0.15);
}

.mobile-filter-form .input-group-text {
    background: transparent;
    border: none;
    color: #C29A74;
    font-size: 1rem;
}

.price-range-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.mobile-filter-form .filter-actions {
    margin-top: 1.5rem;
}

.mobile-filter-form .btn {
    border-radius: 8px;
    font-weight: 600;
    padding: 0.625rem 1rem;
    font-size: 0.95rem;
}

.mobile-filter-form .btn-primary {
    background: linear-gradient(135deg, #C29A74 0%, #A97A5E 100%);
    border: none;
    color: white;
}

.mobile-filter-form .btn-primary:hover {
    background: linear-gradient(135deg, #D4AB84 0%, #BD8E6E 100%);
    color: white;
}

.mobile-filter-form .btn-outline-secondary {
    border: 1.5px solid #E8D9CC;
    color: #5A4030;
}

.mobile-filter-form .btn-outline-secondary:hover {
    border-color: #C29A74;
    color: #C29A74;
    background: #FDF7F2;
}

/* =========================================================
   MOBILE MENU DRAWER (navigation + account)
   ========================================================= */
.mobile-menu-drawer {
    width: 100vw !important;
    border-radius: 0 !important;
}

.mobile-menu-drawer .offcanvas-header {
    background: #ffffff;
    border-bottom: 1px solid #F0E8DF;
    padding: 1rem;
}

.mobile-menu-header {
    padding: 1rem;
}

.mobile-menu-header .offcanvas-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #5A4030;
}

.mobile-menu-body {
    padding: 0 !important;
    background: #ffffff;
}

.mobile-menu-items {
    display: flex;
    flex-direction: column;
}

.mobile-menu-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    border: none;
    background: transparent;
    color: #5A4030;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
    width: 100%;
}

.mobile-menu-item:hover {
    background: #FDF7F2;
    color: #C29A74;
}

.mobile-menu-item i {
    font-size: 1.1rem;
    min-width: 24px;
    text-align: center;
    flex-shrink: 0;
}

.mobile-menu-item span {
    flex: 1;
}

.mobile-menu-item.text-danger {
    color: #dc3545;
}

.mobile-menu-item.text-danger:hover {
    background: rgba(220, 53, 69, 0.08);
    color: #bb2d3b;
}

.mobile-menu-divider {
    margin: 0.25rem 0;
    border: none;
    border-top: 1px solid #F0E8DF;
    opacity: 1;
}

/* =========================================================
   CATEGORY FILTER TRIGGER (search/listings page sidebar)
   ========================================================= */
.cat-filter-trigger-wrap {
    width: 100%;
}

.cat-filter-trigger {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    background: #fff;
    border: 1.5px solid #E8D9CC;
    border-radius: 8px;
    padding: 0.45rem 0.75rem;
    font-size: 0.88rem;
    font-weight: 500;
    color: #5A4030;
    cursor: pointer;
    text-align: left;
    transition: border-color 0.15s, background 0.15s;
}

.cat-filter-trigger:hover {
    border-color: #C29A74;
    background: #FDF7F2;
}

.cat-filter-trigger-icon {
    font-size: 1rem;
    color: #C29A74;
    flex-shrink: 0;
}

.cat-filter-trigger span {
    flex: 1;
}

.cat-filter-trigger-chevron {
    font-size: 0.75rem;
    color: #B0A090;
    flex-shrink: 0;
}

/* =========================================================
   LISTINGS / SEARCH RESULTS PAGE
   ========================================================= */
.listings-page {
    background: var(--orange-50);
    min-height: 80vh;
}

/* Filter Sidebar */
.filter-sidebar {
    background: #fff;
    border: 1px solid #EFE4DB;
    border-radius: 16px;
    padding: 1.25rem;
    box-shadow: 0 4px 16px rgba(169, 120, 79, 0.07);
    top: 80px;
}

.filter-sidebar--mobile {
    top: unset;
}

.filter-sidebar-toprow {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 0.9rem;
    margin-bottom: 0.9rem;
    border-bottom: 1px solid #FBF7F3;
    font-size: 0.87rem;
}

.filter-clear-link {
    color: #78716C;
    text-decoration: none;
    font-size: 0.84rem;
    font-weight: 600;
}

.filter-clear-link:hover {
    color: #C29A74;
    text-decoration: underline;
}

.filter-group {
    margin-bottom: 1.1rem;
}

.filter-label {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #78716C;
    margin-bottom: 0.4rem;
}

.filter-input-group .input-group-text {
    background: var(--orange-50);
    border-color: #EFE4DB;
    color: #78716C;
    font-size: 0.88rem;
}

.filter-input-group .form-control,
.filter-select {
    border-color: #EFE4DB;
    background: var(--orange-50);
    font-size: 0.9rem;
    color: var(--text-dark);
}

.filter-input-group .form-control:focus,
.filter-select:focus {
    border-color: #C29A74;
    box-shadow: 0 0 0 0.18rem rgba(169, 120, 79, 0.18);
}

.filter-toggles {
    background: var(--orange-50);
    border: 1px dashed #EFE4DB;
    border-radius: 10px;
    padding: 0.65rem 0.8rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-toggle-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.87rem;
    color: var(--text-dark);
    cursor: pointer;
}

.filter-toggle-item .form-check-input {
    margin: 0;
    flex-shrink: 0;
}

.filter-actions .btn-outline-secondary {
    font-size: 0.87rem;
    color: #78716C;
    border-color: #EFE4DB;
}

.filter-popular-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #A8A29E;
    margin-bottom: 0.5rem;
}

.filter-popular-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.filter-popular-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.28rem 0.6rem;
    border-radius: 999px;
    border: 1px solid #EFE4DB;
    background: var(--orange-100);
    color: #6E4D33;
    text-decoration: none;
    font-size: 0.76rem;
    font-weight: 600;
    transition: background 0.18s, color 0.18s;
}

.filter-popular-chip:hover {
    background: #E4D1C1;
    color: #2d1b69;
}

/* Results Header */
.results-header {
    background: #fff;
    border: 1px solid #EFE4DB;
    border-radius: 14px;
    padding: 1rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(169, 120, 79, 0.05);
    flex-wrap: wrap;
}

.results-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.15rem;
}

.results-subtitle {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.6rem;
}

.applied-chips {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
}

.applied-chips-label {
    font-size: 0.8rem;
    color: #A8A29E;
    font-weight: 600;
}

.applied-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    background: var(--orange-100);
    border: 1px solid #EFE4DB;
    color: #6E4D33;
    border-radius: 999px;
    padding: 0.25rem 0.6rem;
    font-size: 0.78rem;
    font-weight: 600;
}

.applied-chip i {
    font-size: 0.65rem;
    color: #C29A74;
}

.chip-remove {
    color: #C29A74;
    text-decoration: none;
    margin-left: 0.2rem;
    font-size: 1rem;
    line-height: 1;
}

.chip-remove:hover {
    color: #8C6441;
}

.results-sort-form {
    min-width: 200px;
}

.results-count-text {
    font-size: 0.88rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Listing Card Grid */
.listing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.25rem;
}

.listing-card-link {
    display: block;
    color: inherit;
}

.listing-card {
    background: #fff;
    border: 1px solid #EFE4DB;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(169, 120, 79, 0.07);
    display: flex;
    flex-direction: column;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
    height: 100%;
}

.listing-card-link:hover .listing-card {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(169, 120, 79, 0.16);
}

.listing-card-img-wrap {
    position: relative;
    height: 170px;
    background: var(--orange-200);
    overflow: hidden;
}

.listing-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.listing-card:hover .listing-card-img {
    transform: scale(1.04);
}

.listing-verified-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(245, 243, 255, 0.97);
    border: 1px solid #E4D1C1;
    color: #6E4D33;
    border-radius: 999px;
    padding: 0.22rem 0.55rem;
    font-size: 0.72rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
}

.listing-qty-badge {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(28, 9, 0, 0.82);
    color: #fff;
    border-radius: 999px;
    padding: 0.22rem 0.6rem;
    font-size: 0.7rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
}

.listing-card-body {
    padding: 0.72rem 0.85rem 0.45rem;
    flex: 1;
}

.listing-category-pill {
    display: inline-block;
    background: var(--orange-100);
    color: #6E4D33;
    border: 1px solid #EFE4DB;
    border-radius: 999px;
    padding: 0.18rem 0.55rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    margin-bottom: 0.45rem;
}

.listing-card-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.3;
    margin-bottom: 0.38rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.listing-meta {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.2rem;
    flex-wrap: wrap;
}

.listing-location {
    font-size: 0.82rem;
    color: #78716C;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.listing-location i {
    color: #C29A74;
    font-size: 0.8rem;
}

.listing-rating {
    font-size: 0.82rem;
    color: #6E4D33;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.2rem;
}

.listing-rating i {
    color: #C29A74;
    font-size: 0.75rem;
}

.listing-rating-count {
    color: #A8A29E;
    font-weight: 400;
    font-size: 0.76rem;
}

.listing-seller {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding-top: 0.55rem;
    border-top: 1px solid #FBF7F3;
}

.listing-seller-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--orange-100);
    color: #A9784F;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.78rem;
    flex-shrink: 0;
}

.listing-seller-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.listing-seller-name {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.listing-seller-time {
    font-size: 0.72rem;
    color: #A8A29E;
}

.listing-card-footer {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 0.6rem 0.85rem 0.72rem;
    background: var(--orange-50);
    border-top: 1px solid #FBF7F3;
    gap: 0.5rem;
}

.listing-price {
    display: flex;
    align-items: baseline;
    gap: 0.2rem;
}

.listing-price-amount {
    font-size: 1.1rem;
    font-weight: 800;
    color: #A9784F;
    letter-spacing: -0.02em;
}

.listing-price-unit {
    font-size: 0.78rem;
    color: #A8A29E;
}

.listing-card-actions {
    display: flex;
    gap: 0.4rem;
    align-items: center;
}

.listing-btn-details {
    font-size: 0.82rem;
    padding: 0.38rem 0.75rem;
    border-radius: 8px;
    font-weight: 600;
}

.listing-btn-book {
    padding: 0.38rem 0.55rem;
    border-radius: 8px;
    font-size: 0.85rem;
    color: #A9784F;
    border: 1.5px solid #EFE4DB;
    background: transparent;
}

.listing-btn-book:hover {
    background: var(--orange-100);
    border-color: #C29A74;
    color: #8C6441;
}

/* Empty State */
.results-empty {
    background: #fff;
    border: 1px solid #EFE4DB;
    border-radius: 16px;
    padding: 3.5rem 2rem;
    text-align: center;
    box-shadow: 0 4px 16px rgba(169, 120, 79, 0.07);
}

.results-empty-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--orange-100);
    color: #C29A74;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.25rem;
}

.results-empty-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.results-empty-text {
    color: var(--text-muted);
    font-size: 0.95rem;
    max-width: 440px;
    margin: 0 auto 1.5rem;
}

.results-empty-actions {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 0.5rem;
}

/* =========================================================
   SECTION TITLES
   ========================================================= */
.market-section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
}

/* =========================================================
   HOMEPAGE MARKET HERO BANNER
   ========================================================= */
.market-hero-banner {
    border-radius: 18px;
    overflow: hidden;
    background-image: url('https://images.unsplash.com/photo-1520854221256-17451cc331bf?auto=format&fit=crop&w=1400&q=80');
    background-size: cover;
    background-position: center;
    min-height: 340px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    box-shadow: 0 12px 34px rgba(169, 120, 79, 0.18);
    position: relative;
}

.market-hero-content {
    padding: 2.5rem 2.2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: transparent;
    position: relative;
    z-index: 2;
}

.market-hero-label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #FFD89B;
    margin-bottom: 0.8rem;
}

.market-hero-content h2 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    line-height: 1.15;
    font-weight: 700;
    margin-bottom: 0.65rem;
    max-width: 18ch;
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.market-hero-content p {
    color: rgba(255, 255, 255, 0.95);
    font-size: clamp(0.95rem, 1.2vw, 1.1rem);
    line-height: 1.65;
    margin-bottom: 0.95rem;
    max-width: 62ch;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.market-hero-features {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.1rem;
}

.market-hero-feature {
    display: inline-flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.market-hero-feature i {
    color: #FFD89B;
    font-size: 1.2rem;
    margin-top: 0.05rem;
}

.market-hero-feature strong {
    display: block;
    font-size: 0.92rem;
    font-weight: 700;
    color: #FFD89B;
    line-height: 1.35;
}

.market-hero-feature span {
    display: block;
    font-size: 0.88rem;
    color: #FFE5B4;
    line-height: 1.35;
}

.market-hero-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.market-hero-actions .btn {
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.62rem 1.1rem;
    font-size: 0.9rem;
}

.market-hero-btn-primary {
    background: var(--primary-gradient);
    color: #fff;
    border: none;
    box-shadow: 0 8px 22px rgba(169, 120, 79, 0.34);
}

.market-hero-btn-primary:hover {
    color: #fff;
    background: linear-gradient(135deg, #A9784F 0%, #8C6441 100%);
}

.market-hero-btn-secondary {
    background: rgba(255, 255, 255, 0.97);
    color: #1C1917;
    border: none;
}

.market-hero-btn-secondary:hover {
    color: #1C1917;
    background: #fff;
}

.market-hero-media {
    position: relative;
    background-image: url('https://images.unsplash.com/photo-1520854221256-17451cc331bf?auto=format&fit=crop&w=1400&q=80');
    background-size: cover;
    background-position: center;
}

/* Listing card image placeholder (homepage featured) */
.listing-card-image {
    height: 180px;
    background: var(--orange-100);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #A9784F;
}

/* =========================================================
   HOMEPAGE LISTINGS SECTIONS (premium + featured)
   ========================================================= */
.home-listings-section {
    margin-bottom: 2.25rem;
}

.home-listings-head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.home-listings-head--split {
    justify-content: space-between;
}

.home-listings-title {
    font-size: clamp(1.1rem, 2.1vw, 1.1rem);
    font-weight: 500;
    color: #1C1917;
    letter-spacing: -0.01em;
}

.home-listings-viewall {
    font-size: 0.82rem;
    font-weight: 600;
    color: #8C6441;
    text-decoration: none;
    border: 1px solid #EFE4DB;
    border-radius: 999px;
    padding: 0.38rem 0.78rem;
    transition: all 0.2s ease;
}

.home-listings-viewall:hover {
    color: #6E4D33;
    border-color: #D2B79D;
    background: #FBF7F3;
}

.home-listing-link {
    display: block;
}

.home-premium-rail {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0.1rem 0.1rem 0.5rem;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.home-premium-rail::-webkit-scrollbar {
    display: none;
}

.home-premium-rail-item {
    flex: 0 0 290px;
    max-width: 2500px;
    scroll-snap-align: start;
}

.home-listing-card {
    background: #fff;
    border: 1px solid rgba(228, 209, 193, 0.75);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 3px 14px rgba(28, 25, 23, 0.06);
    display: flex;
    flex-direction: column;
    min-height: 100%;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.home-listing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(28, 25, 23, 0.1);
}

.home-listing-media {
    position: relative;
    aspect-ratio: 4 / 3.25;
    background: #F6F2EE;
    overflow: hidden;
}

.home-listing-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.home-listing-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #BFA187;
    font-size: 1.7rem;
    background: linear-gradient(135deg, #FBF7F3 0%, #F3ECE5 100%);
}

.home-listing-premium-pill {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.26rem 0.56rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: #7B5A40;
    font-size: 0.7rem;
    font-weight: 700;
    border: 1px solid rgba(228, 209, 193, 0.95);
}

.home-listing-content {
    padding: 0.9rem 0.95rem 0.75rem;
    flex: 1;
}

.home-listing-content--compact {
    padding: 0.74rem 0.9rem 0.45rem;
    flex: 0;
}

.home-listing-title {
    margin: 0 0 0.4rem;
    font-size: 0.96rem;
    font-weight: 700;
    color: #1C1917;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.home-listing-location {
    margin: 0 0 0.45rem;
    font-size: 0.78rem;
    color: #a94b00;
    display: inline-flex;
    align-items: center;
    gap: 0.28rem;
}

.home-listing-location i {
    color: #A9784F;
    font-size: 0.76rem;
}

.home-listing-description {
    margin: 0;
    color: #78716C;
    font-size: 0.8rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.35rem;
}

.home-listing-bottom {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.6rem;
    padding: 0.78rem 0.95rem 0.9rem;
    border-top: 1px solid #F5EEEA;
}

.home-listing-bottom--compact {
    padding: 0.48rem 0.9rem 0.7rem;
}

.home-listing-price {
    margin: 0;
    color: #a94b00;
    font-size: 1.08rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.home-listing-price span {
    font-size: 0.74rem;
    font-weight: 500;
    color: #A8A29E;
}

.home-listing-status {
    margin: 0;
    font-size: 0.74rem;
    font-weight: 600;
    color: #78716C;
    white-space: nowrap;
}

@media (max-width: 575px) {
    .home-premium-rail-item {
        flex-basis: 250px;
        max-width: 250px;
    }

    .home-listing-media {
        aspect-ratio: 4 / 2.6;
    }

    .home-listing-content {
        padding: 0.6rem 0.65rem 0.45rem;
    }

    .home-listing-title {
        font-size: 0.84rem;
        margin-bottom: 0.28rem;
    }

    .home-listing-location {
        font-size: 0.72rem;
        margin-bottom: 0.3rem;
    }

    .home-listing-description {
        font-size: 0.72rem;
        -webkit-line-clamp: 1;
        min-height: auto;
    }

    .home-listing-bottom {
        padding: 0.5rem 0.65rem 0.56rem;
    }

    .home-listing-price {
        font-size: 0.92rem;
    }

    .home-listing-status {
        display: none;
    }

    .listing-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    .listing-card-img-wrap {
        height: 128px;
    }

    .listing-card-body {
        padding: 0.56rem 0.65rem 0.32rem;
    }

    .listing-category-pill {
        margin-bottom: 0.32rem;
        font-size: 0.68rem;
        padding: 0.14rem 0.46rem;
    }

    .listing-card-title {
        font-size: 0.86rem;
        margin-bottom: 0.26rem;
    }

    .listing-location,
    .listing-rating {
        font-size: 0.75rem;
    }

    .listing-meta {
        margin-bottom: 0;
        gap: 0.42rem;
    }

    .listing-card-footer {
        padding: 0.5rem 0.65rem 0.56rem;
    }

    .listing-price-amount {
        font-size: 0.98rem;
    }
}

/* Listing favorites */
.listing-favorite-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 3;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.85);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: #8A7A6C;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.16s ease, box-shadow 0.16s ease, color 0.16s ease, background-color 0.16s ease;
}

.listing-favorite-btn i {
    font-size: 1rem;
    line-height: 1;
}

.listing-favorite-btn:hover {
    transform: scale(1.06);
    box-shadow: 0 5px 14px rgba(28, 25, 23, 0.16);
}

.listing-favorite-btn.is-favorite {
    color: #D24D57;
    background: rgba(255, 245, 246, 0.98);
    border-color: rgba(210, 77, 87, 0.22);
}

/* Mobile bottom navigation */
.mobile-bottom-nav {
    display: none;
}

@media (max-width: 768px) {
    body {
        padding-bottom: calc(102px + env(safe-area-inset-bottom));
    }

    .dp-footer {
        margin-bottom: calc(102px + env(safe-area-inset-bottom));
        padding-bottom: calc(18px + env(safe-area-inset-bottom));
    }

    .mobile-bottom-nav {
        --dp-nav-inactive: #383838;
        --dp-nav-active: #A9784F;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1030;
        height: 66px;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr)) auto repeat(2, minmax(0, 1fr));
        align-items: stretch;
        gap: 4px;
        padding: 6px 10px calc(8px + env(safe-area-inset-bottom));
        margin: 0;
        background: rgba(255, 255, 255, 0.98);
        border-top: 1px solid rgba(194, 154, 116, 0.3);
        border-radius: 18px 18px 0 0;
        box-shadow: 0 -8px 24px rgba(28, 25, 23, 0.10);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        transition: transform 0.26s ease, height 0.26s ease, padding 0.26s ease;
    }

    .mobile-bottom-nav__item {
        position: relative;
        display: inline-flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.26rem;
        min-height: 52px;
        text-decoration: none;
        border-radius: 13px;
        color: var(--dp-nav-inactive);
        transition: color 0.22s ease, transform 0.22s ease, background-color 0.22s ease;
        -webkit-tap-highlight-color: transparent;
        overflow: visible;
    }

    .mobile-bottom-nav__icon-wrap {
        width: 26px;
        height: 26px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        line-height: 1;
        transition: transform 0.22s ease;
    }

    .mobile-bottom-nav__item i {
        font-size: 1.28rem;
        line-height: 1;
        color: inherit;
    }

    .mobile-bottom-nav__label {
        font-size: 0.72rem;
        font-weight: 500;
        line-height: 1;
        letter-spacing: 0.01em;
        white-space: nowrap;
        text-align: center;
        color: inherit;
        transition: color 0.22s ease, opacity 0.22s ease;
    }

    .mobile-bottom-nav__item,
    .mobile-bottom-nav__item:link,
    .mobile-bottom-nav__item:visited,
    .mobile-bottom-nav__item:hover,
    .mobile-bottom-nav__item:focus,
    .mobile-bottom-nav__item:active {
        color: var(--dp-nav-inactive) !important;
    }

    .mobile-bottom-nav__item.is-active,
    .mobile-bottom-nav__item.is-active:link,
    .mobile-bottom-nav__item.is-active:visited,
    .mobile-bottom-nav__item.is-active:hover,
    .mobile-bottom-nav__item.is-active:focus,
    .mobile-bottom-nav__item.is-active:active {
        color: var(--dp-nav-active) !important;
        background: rgba(194, 154, 116, 0.10);
        transform: translateY(-1px);
    }

    .mobile-bottom-nav__item.is-active .mobile-bottom-nav__label {
        font-weight: 700;
    }

    .mobile-bottom-nav__item.is-active .mobile-bottom-nav__icon-wrap {
        animation: dpNavActivePulse 320ms ease;
        transform: translateY(-1px);
    }

    .mobile-bottom-nav__item--post {
        color: #fff !important;
        background: linear-gradient(135deg, #C29A74 0%, #A9784F 100%);
        border-radius: 12px;
        min-height: 52px;
        width: 75px;
        justify-self: center;
        margin: 0;
        /*box-shadow: 0 8px 18px rgba(169, 120, 79, 0.28);*/
        transform: none;
    }

    .mobile-bottom-nav__item--post .mobile-bottom-nav__icon-wrap {
        width: 30px;
        height: 30px;
    }

    .mobile-bottom-nav__item--post i {
        font-size: 1.34rem;
        color: #fff !important;
    }

    .mobile-bottom-nav__item--post .mobile-bottom-nav__label {
        color: #fff !important;
        font-weight: 700;
    }

    .mobile-bottom-nav__item--post.is-active {
        background: linear-gradient(135deg, #B58963 0%, #8F6442 100%);
        box-shadow: 0 10px 20px rgba(143, 100, 66, 0.32);
        transform: translateY(-1px);
    }

    .mobile-bottom-nav__item--profile .mobile-bottom-nav__label {
        line-height: 1;
    }

    .mobile-bottom-nav.mobile-bottom-nav--compact {
        height: 56px;
        padding-top: 3px;
        padding-bottom: calc(5px + env(safe-area-inset-bottom));
    }

    .mobile-bottom-nav.mobile-bottom-nav--compact .mobile-bottom-nav__item {
        gap: 0;
        min-height: 44px;
    }

    .mobile-bottom-nav.mobile-bottom-nav--compact .mobile-bottom-nav__label {
        opacity: 0;
        transform: translateY(4px);
        max-height: 0;
    }

    .mobile-bottom-nav.mobile-bottom-nav--compact .mobile-bottom-nav__item--post {
        margin-top: 0;
        min-height: 44px;
    }

    .mobile-menu-drawer {
        margin-bottom: 0;
    }

    .mobile-bottom-nav--compact + .mobile-menu-drawer {
        margin-bottom: 0;
    }

    .home-post-mini-btn,
    .floating-post-btn,
    .post-fab,
    #floatingPostButton {
        display: none !important;
    }
}

@keyframes dpNavActivePulse {
    0% {
        transform: scale(0.95);
    }
    60% {
        transform: scale(1.06);
    }
    100% {
        transform: scale(1);
    }
}

/* =========================================================
   RESPONSE
   ========================================================= */
@media (max-width: 991px) {
    .listing-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }

    .results-header {
        flex-direction: column;
        align-items: stretch;
    }

    .market-hero-banner {
        grid-template-columns: 1fr;
    }

    .market-hero-media {
        min-height: 200px;
    }

    .category-detail-content {
        max-height: 50vh;
    }

    .create-listing-page .cl-plan-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    /* ===== HERO SECTION MOBILE ===== */
    .market-hero-banner {
        display: none !important;
    }

    .market-hero-banner::before {
        content: "";
        position: absolute;
        inset: 0;
        background: transparent;
        z-index: 1;
        pointer-events: none;
    }

    .market-hero-content {
        position: relative;
        z-index: 2;
        padding: 1rem 1rem 1.2rem 1rem;
        background: transparent;
        justify-content: flex-end;
        align-items: stretch;
        min-height: auto;
        height: auto;
        flex: 1;
        display: flex;
        flex-direction: column;
    }

    .market-hero-label {
        display: none;
    }

    .market-hero-content h2 {
        font-size: 1.1rem;
        line-height: 1.15;
        margin-bottom: 0.2rem;
        max-width: 100%;
        color: #ffffff;
        font-weight: 700;
        letter-spacing: -0.01em;
        text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
    }

    .market-hero-content p {
        color: rgba(255, 255, 255, 0.98);
        font-size: 0.72rem;
        line-height: 1.25;
        margin-bottom: 0.6rem;
        max-width: 100%;
        text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    }

    .market-hero-features {
        display: flex !important;
        gap: 0.3rem;
        flex-wrap: wrap;
        margin-bottom: 0.7rem;
    }

    .market-hero-feature {
        display: inline-flex;
        align-items: flex-start;
        gap: 0.2rem;
        font-size: 0.65rem;
    }

    .market-hero-feature i {
        color: #FFD89B;
        font-size: 0.75rem;
        margin-top: 0.05rem;
        flex-shrink: 0;
    }

    .market-hero-feature strong {
        display: block;
        font-size: 0.62rem;
        font-weight: 700;
        color: #FFD89B;
        line-height: 1.2;
    }

    .market-hero-feature span {
        display: block;
        font-size: 0.58rem;
        color: rgba(255, 216, 155, 0.9);
        line-height: 1.2;
    }

    .market-hero-actions {
        width: 100%;
        display: flex;
        gap: 0.45rem;
        flex-wrap: nowrap;
        margin-top: 0.4rem;
    }

    .market-hero-actions .btn {
        border-radius: 7px;
        padding: 0.45rem 0.65rem;
        font-size: 0.75rem;
        flex: 1;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        height: 36px;
        font-weight: 600;
        letter-spacing: 0.02em;
    }

    .market-hero-actions .btn i {
        font-size: 0.68rem;
        margin-right: 0.25rem;
    }

    .market-hero-btn-primary {
        background: var(--primary-gradient);
        color: #fff;
        border: none;
        box-shadow: 0 3px 10px rgba(169, 120, 79, 0.35);
    }

    .market-hero-btn-primary:hover {
        color: #fff;
        background: linear-gradient(135deg, #A9784F 0%, #8C6441 100%);
    }

    .market-hero-btn-secondary {
        display: inline-flex !important;
        background: rgba(255, 255, 255, 0.92);
        color: #1C1917;
        border: none;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    }

    .market-hero-btn-secondary:hover {
        color: #1C1917;
        background: #fff;
    }

    .market-hero-media {
        display: none !important;
    }

    /* ===== MOBILE SEARCH BAR ===== */
    .market-search-bar {
        background: #ffffff;
        border-radius: 12px;
        border: 1px solid #EFE4DB;
        padding: 0.45rem;
        overflow: hidden;
    }

    .market-search-bar .row {
        margin: 0;
    }

    .market-search-bar .col-12 {
        display: flex;
    }

    .market-search-bar .col-6 {
        display: flex;
    }

    .market-input-wrap {
        display: flex;
        align-items: center;
        gap: 0.4rem;
        padding: 0.45rem 0.65rem;
        position: relative;
        height: 100%;
        flex: 1;
    }

    .market-input-wrap > i {
        color: #a0aec0;
        font-size: 0.85rem;
        flex-shrink: 0;
    }

    .market-input-wrap .form-control {
        border: none;
        box-shadow: none;
        padding: 0;
        background: transparent;
        font-size: 0.8rem;
        color: var(--text-dark);
        height: auto;
        flex: 1;
        min-width: 0;
    }

    .market-input-wrap .form-control:focus {
        border: none;
        box-shadow: none;
        background: transparent;
    }

    .market-input-wrap .form-control::placeholder {
        color: #a0aec0;
        font-size: 0.75rem;
    }

    .market-pill-select {
        border-left: 1px solid #e8e4ff;
    }

    .market-chevron {
        color: #b0b8d1;
        font-size: 0.7rem;
        flex-shrink: 0;
    }

    .market-category-trigger {
        border: none;
        box-shadow: none;
        background: transparent;
        padding: 0;
        font-size: 0.8rem;
        color: var(--text-dark);
        height: auto;
        text-align: left;
        cursor: pointer;
    }

    .market-category-trigger:focus {
        border: none;
        box-shadow: none;
    }

    .market-search-btn {
        background: var(--primary-gradient);
        color: white;
        border: none;
        border-radius: 8px;
        padding: 0.5rem 0.9rem;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.2s ease;
        width: 100%;
        min-height: 40px;
        font-size: 0.85rem;
    }

    .market-search-btn:hover {
        box-shadow: 0 3px 10px rgba(169, 120, 79, 0.3);
        color: white;
    }

    .market-search-btn i {
        margin-right: 0.3rem;
    }

    /* Mobile-specific autocomplete styling */
    .market-autocomplete-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #ffffff;
        border: 1px solid #e0e0e0;
        border-top: none;
        border-radius: 0 0 8px 8px;
        z-index: 1050;
        max-height: 200px;
        overflow-y: auto;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

    #mobileSearchCityAutocompleteMenu {
        position: fixed !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: 90vw !important;
        max-width: calc(100vw - 20px) !important;
        z-index: 1060 !important;
        background: #ffffff !important;
        border: 1px solid #e0e0e0 !important;
        border-radius: 8px !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
        max-height: 250px !important;
        overflow-y: auto !important;
        padding: 0.3rem !important;
        margin: 0 !important;
    }

    .market-autocomplete-item {
        padding: 0.6rem 0.8rem;
        border-bottom: 1px solid #f0f0f0;
        cursor: pointer;
        font-size: 0.8rem;
        color: var(--text-dark);
        transition: background 0.15s ease;
    }

    .market-autocomplete-item:hover,
    .market-autocomplete-item.is-active {
        background: #f9f7f4;
        color: #A9784F;
    }

    .market-autocomplete-item:last-child {
        border-bottom: none;
    }

    /* ===== BOTTOM OFFCANVAS FOR MOBILE CATEGORIES ===== */
    .offcanvas.offcanvas-bottom {
        height: 90vh !important;
        max-height: 90vh !important;
    }

    .cat-drawer-bottom {
        height: 90vh !important;
        max-height: 90vh !important;
        border-radius: 20px 20px 0 0 !important;
    }

    .cat-drawer-bottom .offcanvas-body {
        padding: 0;
        display: flex;
        flex-direction: column;
    }

    .cat-drawer-bottom .cat-drawer-header {
        border-bottom: 1px solid #EFE4DB;
        padding: 1.2rem 1.5rem;
        flex-shrink: 0;
        position: relative;
    }

    .cat-drawer-bottom .cat-drawer-title {
        font-size: 1.1rem;
        font-weight: 600;
        color: var(--text-dark);
    }

    .cat-drawer-bottom .cat-drawer-close {
        position: absolute;
        right: 1.2rem;
        top: 1.2rem;
        border: none;
        background: transparent;
        cursor: pointer;
        font-size: 1.3rem;
        color: var(--text-dark);
        padding: 0;
        width: 24px;
        height: 24px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .cat-drawer-bottom .cat-drawer-body {
        padding: 0;
        flex: 1;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .cat-drawer-bottom .cat-list {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .cat-drawer-bottom .cat-list-item {
        padding: 1.1rem 1.5rem;
        border-bottom: 1px solid #f5f5f5;
        display: flex;
        align-items: center;
        gap: 1rem;
        background: transparent;
        border: none;
        text-align: left;
        cursor: pointer;
        width: 100%;
        font-size: 0.95rem;
        color: var(--text-dark);
        transition: background 0.2s ease;
    }

    .cat-drawer-bottom .cat-list-item:active {
        background: #f0ede8;
    }

    .cat-drawer-bottom .cat-list-item:hover {
        background: #f9f7f4;
    }

    .cat-drawer-bottom .cat-list-item.is-active {
        background: #EDE1D3;
        font-weight: 600;
    }

    .cat-drawer-bottom .cat-list-icon {
        font-size: 1.4rem;
        flex-shrink: 0;
        color: #8C6441;
    }

    .cat-drawer-bottom .cat-list-name {
        flex: 1;
        font-weight: 500;
    }

    .cat-drawer-bottom .cat-list-chevron {
        color: #b0b8d1;
        font-size: 1rem;
        flex-shrink: 0;
    }

    .cat-drawer-bottom .cat-parent-row {
        padding: 1.1rem 1.5rem;
        border-bottom: 1px solid #f5f5f5;
        display: flex;
        align-items: center;
        gap: 1rem;
        cursor: pointer;
        background: #f9f7f4;
        border: none;
        width: 100%;
        font-weight: 600;
        color: var(--text-dark);
    }

    .cat-drawer-bottom .cat-parent-row i {
        flex-shrink: 0;
        margin-left: auto;
    }

    .cat-drawer-bottom .cat-sub-hint {
        font-size: 0.8rem;
        color: #999;
        padding: 0.8rem 1.5rem 0.4rem 1.5rem;
        margin: 0;
    }

    .cat-drawer-bottom .cat-sub-list {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .cat-drawer-bottom .cat-sub-row {
        padding: 1rem 1.5rem 1rem 3rem;
        border-bottom: 1px solid #f5f5f5;
        display: flex;
        align-items: center;
        gap: 0.8rem;
        background: transparent;
        border: none;
        text-align: left;
        cursor: pointer;
        width: 100%;
        font-size: 0.92rem;
        color: var(--text-dark);
        transition: background 0.2s ease;
        position: relative;
    }

    .cat-drawer-bottom .cat-sub-row:active {
        background: #f0ede8;
    }

    .cat-drawer-bottom .cat-sub-row:hover {
        background: #f9f7f4;
    }

    .cat-drawer-bottom .cat-sub-row.is-active {
        background: #EDE1D3;
        font-weight: 600;
    }

    .cat-drawer-bottom .cat-sub-check {
        display: none !important;
    }

    .cat-drawer-bottom .cat-drawer-footer {
        padding: 1rem 1.2rem;
        border-top: 1px solid #EFE4DB;
        background: #fff;
        flex-shrink: 0;
    }

    .cat-drawer-bottom .cat-continue-btn {
        background: var(--primary-gradient);
        color: white;
        border: none;
        border-radius: 8px;
        padding: 0.8rem 1.5rem;
        font-weight: 600;
        cursor: pointer;
        width: 100%;
        height: 48px;
        font-size: 0.96rem;
        transition: all 0.2s ease;
    }

    .cat-drawer-bottom .cat-continue-btn:hover:not(:disabled) {
        box-shadow: 0 4px 12px rgba(169, 120, 79, 0.3);
    }

    .cat-drawer-bottom .cat-continue-btn:disabled {
        opacity: 0.5;
        cursor: not-allowed;
    }
}

@media (max-width: 575px) {
    .listing-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
    }

    .listing-card-img-wrap {
        height: 150px;
    }

    .listing-price-amount {
        font-size: 1rem;
    }

    .quick-category {
        min-height: 64px;
        padding: 0.8rem 0.9rem;
    }

    .quick-category-shortcut {
        min-height: 96px;
    }

    .quick-category-subtitle {
        font-size: 0.75rem;
    }

    .market-search-btn {
        border-radius: 10px;
    }

    .cl-gallery {
        grid-template-columns: repeat(3, 1fr);
    }

    .cl-dropzone {
        padding: 1.75rem 1rem;
    }

    .cl-hero-title {
        font-size: 1.45rem;
    }
}

/* =========================================================
   CREATE LISTING PAGE  (cl-*)
   ========================================================= */

/* ── Page wrapper ─────────────────────────────────────────── */
.cl-page {
    background: var(--orange-50);
    min-height: 100vh;
    padding-bottom: 5rem;
}

/* ── Hero intro ───────────────────────────────────────────── */
.cl-hero {
    background: #fff;
    border-bottom: 1px solid var(--orange-200);
    padding: 2.25rem 0 2rem;
    margin-bottom: 2.5rem;
}

.cl-hero-inner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.cl-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #C29A74;
    margin-bottom: 0.55rem;
}

.cl-hero-title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin: 0 0 0.4rem;
}

.cl-hero-sub {
    font-size: 0.95rem;
    color: var(--text-muted);
    max-width: 46ch;
    margin: 0;
    line-height: 1.6;
}

/* Step tracker */
.cl-hero-steps {
    display: flex;
    align-items: center;
    gap: 0;
    flex-shrink: 0;
    padding-top: 0.25rem;
}

.cl-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

.cl-step-dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--orange-100);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
    font-weight: 700;
    border: 2px solid var(--orange-200);
}

.cl-step--active .cl-step-dot {
    background: var(--primary-gradient);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 14px rgba(169, 120, 79, 0.35);
}

.cl-step--active {
    color: #C29A74;
    font-weight: 700;
}

.cl-step--done .cl-step-dot {
    background: #10b981;
    color: #fff;
    border-color: transparent;
}

.cl-step-line {
    width: 48px;
    height: 2px;
    background: var(--orange-200);
    margin: 0 0.25rem;
    margin-bottom: 1.4rem;
    flex-shrink: 0;
}

/* ── Body layout ──────────────────────────────────────────── */
.cl-body {
    padding-bottom: 4rem;
}

/* ── Error banner ─────────────────────────────────────────── */
.cl-error-banner {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-left: 4px solid #ef4444;
    border-radius: 10px;
    padding: 1rem 1.1rem;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    color: #991b1b;
}

.cl-error-banner > i {
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
    color: #ef4444;
}

.cl-error-list {
    margin-top: 0.35rem;
    font-size: 0.85rem;
    color: #b91c1c;
}

.cl-error-close {
    background: none;
    border: none;
    color: #ef4444;
    padding: 0;
    margin-left: auto;
    cursor: pointer;
    flex-shrink: 0;
    font-size: 0.85rem;
    line-height: 1;
    margin-top: 0.15rem;
}

/* ── Form sections ────────────────────────────────────────── */
.cl-section {
    background: #fff;
    border: 1px solid var(--orange-200);
    border-radius: 16px;
    margin-bottom: 1.5rem;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(169, 120, 79, 0.06);
    transition: box-shadow 0.2s ease;
}

.cl-section:focus-within {
    box-shadow: 0 4px 24px rgba(169, 120, 79, 0.1);
}

.cl-section-head {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.4rem 1.6rem 1.2rem;
    border-bottom: 1px solid var(--orange-100);
}

.cl-section-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary-gradient);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
    font-weight: 800;
    flex-shrink: 0;
    margin-top: 0.05rem;
    box-shadow: 0 3px 10px rgba(169, 120, 79, 0.3);
}

.cl-section-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 0.15rem;
    line-height: 1.3;
}

.cl-section-sub {
    font-size: 0.83rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
}

.cl-section-body {
    padding: 1.6rem;
}

/* ── Fields ───────────────────────────────────────────────── */
.cl-field {
    margin-bottom: 1.4rem;
}

.cl-field:last-child {
    margin-bottom: 0;
}

.cl-field--optional {
    position: relative;
    background: var(--orange-50);
    border: 1px dashed var(--orange-200);
    border-radius: 10px;
    padding: 1.1rem 1.1rem 1.1rem;
    margin-top: 0.5rem;
}

.cl-optional-tag {
    position: absolute;
    top: -0.7rem;
    left: 1rem;
    background: #fff;
    border: 1px solid var(--orange-200);
    border-radius: 999px;
    padding: 0.1rem 0.6rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
}

/* ── Labels ───────────────────────────────────────────────── */
.cl-label {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.45rem;
    letter-spacing: 0.01em;
}

.cl-required {
    color: #ef4444;
    font-weight: 800;
    margin-left: 0.15rem;
}

.cl-helper {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin: 0.4rem 0 0;
    line-height: 1.5;
}

.cl-validation {
    display: block;
    font-size: 0.78rem;
    color: #ef4444;
    margin-top: 0.3rem;
    font-weight: 500;
}

/* ── Inputs ───────────────────────────────────────────────── */
.cl-input {
    display: block;
    width: 100%;
    padding: 0.7rem 0.95rem;
    font-size: 0.93rem;
    color: var(--text-dark);
    background: #fff;
    border: 1.5px solid var(--orange-200);
    border-radius: 10px;
    outline: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
    line-height: 1.5;
    appearance: none;
    -webkit-appearance: none;
}

.cl-input::placeholder {
    color: #b0b8d1;
    font-weight: 400;
}

.cl-input:focus {
    border-color: #C29A74;
    box-shadow: 0 0 0 3px rgba(169, 120, 79, 0.14);
}

.cl-input:hover:not(:focus) {
    border-color: #E4D1C1;
}

.cl-textarea {
    resize: vertical;
    min-height: 140px;
    line-height: 1.65;
    font-family: inherit;
}

/* Price input */
.cl-price-wrap {
    display: flex;
    align-items: center;
    border: 1.5px solid var(--orange-200);
    border-radius: 10px;
    overflow: hidden;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
    background: #fff;
}

.cl-price-wrap:focus-within {
    border-color: #C29A74;
    box-shadow: 0 0 0 3px rgba(169, 120, 79, 0.14);
}

.cl-price-sym {
    padding: 0 0.85rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-muted);
    background: var(--orange-50);
    border-right: 1.5px solid var(--orange-200);
    height: 100%;
    display: flex;
    align-items: center;
    align-self: stretch;
    flex-shrink: 0;
}

.cl-input--price {
    border: none;
    border-radius: 0;
    box-shadow: none !important;
    flex: 1;
}

.cl-input--price:focus {
    border: none;
    box-shadow: none !important;
}

/* Icon-prefixed input */
.cl-input-icon-wrap {
    position: relative;
}

.cl-input-icon {
    position: absolute;
    left: 0.85rem;
    top: 50%;
    transform: translateY(-50%);
    color: #b0b8d1;
    font-size: 0.9rem;
    pointer-events: none;
    transition: color 0.18s;
}

.cl-input--icon {
    padding-left: 2.4rem;
}

.cl-input-icon-wrap:focus-within .cl-input-icon {
    color: #C29A74;
}

/* Select */
.cl-select-wrap {
    position: relative;
}

.cl-select {
    cursor: pointer;
    padding-right: 2.5rem;
}

.cl-select-arrow {
    position: absolute;
    right: 0.9rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.8rem;
    color: #b0b8d1;
    pointer-events: none;
}

/* ── Toggle switch ────────────────────────────────────────── */
.cl-toggle-row {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-top: 0.75rem;
    cursor: pointer;
    user-select: none;
}

.cl-toggle {
    position: relative;
    flex-shrink: 0;
}

.cl-toggle input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.cl-toggle-track {
    display: block;
    width: 38px;
    height: 22px;
    background: #d1d5db;
    border-radius: 999px;
    transition: background 0.22s ease;
    position: relative;
}

.cl-toggle-track::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,0.22);
    transition: transform 0.22s ease;
}

.cl-toggle input:checked + .cl-toggle-track {
    background: var(--primary-gradient);
    background-color: #C29A74;
}

.cl-toggle input:checked + .cl-toggle-track::after {
    transform: translateX(16px);
}

.cl-toggle-label {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* ── Notice / info block ──────────────────────────────────── */
.cl-notice {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    border-radius: 10px;
    padding: 0.9rem 1rem;
    margin-top: 1.25rem;
}

.cl-notice-icon {
    font-size: 1.1rem;
    color: #A9784F;
    flex-shrink: 0;
    margin-top: 0.05rem;
}

.cl-notice-text {
    font-size: 0.83rem;
    color: #6E4D33;
    margin: 0;
    line-height: 1.55;
}

/* ── Photo upload ─────────────────────────────────────────── */
.cl-file-hidden {
    display: none;
}

.cl-dropzone {
    border: 2px dashed var(--orange-300);
    border-radius: 14px;
    padding: 2.5rem 2rem;
    text-align: center;
    cursor: pointer;
    background: var(--orange-50);
    transition: border-color 0.2s ease, background 0.2s ease;
}

.cl-dropzone:hover,
.cl-dropzone--drag {
    border-color: #C29A74;
    background: #FFFFFF;
}

.cl-dropzone-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--primary-gradient);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 6px 18px rgba(169, 120, 79, 0.28);
}

.cl-dropzone-title {
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.35rem;
}

.cl-dropzone-link {
    color: #C29A74;
    text-decoration: underline;
    text-underline-offset: 2px;
    font-weight: 700;
}

.cl-dropzone-meta {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.cl-dropzone-pills {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.cl-dropzone-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.72rem;
    font-weight: 600;
    color: #6E4D33;
    background: var(--orange-100);
    border: 1px solid var(--orange-200);
    border-radius: 999px;
    padding: 0.22rem 0.65rem;
}

/* ── Photo gallery grid ───────────────────────────────────── */
.cl-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 0.75rem;
}

.cl-thumb {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 1;
    border: 2px solid var(--orange-200);
    background: var(--orange-100);
}

.cl-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cl-thumb--cover {
    border-color: #C29A74;
    box-shadow: 0 0 0 3px rgba(169, 120, 79, 0.22);
}

.cl-thumb-cover-badge {
    position: absolute;
    top: 6px;
    left: 6px;
    background: var(--primary-gradient);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    border-radius: 999px;
    padding: 0.2rem 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.cl-thumb-remove {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(0,0,0,0.6);
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.18s;
}

.cl-thumb:hover .cl-thumb-remove {
    opacity: 1;
}

.cl-thumb-num {
    position: absolute;
    bottom: 5px;
    right: 6px;
    font-size: 0.65rem;
    font-weight: 700;
    color: rgba(255,255,255,0.9);
    background: rgba(0,0,0,0.45);
    border-radius: 999px;
    padding: 0.1rem 0.4rem;
}

.cl-thumb--add {
    border: 2px dashed var(--orange-300);
    background: var(--orange-50);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    cursor: pointer;
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 600;
    transition: border-color 0.18s, color 0.18s, background 0.18s;
}

.cl-thumb--add i {
    font-size: 1.2rem;
    color: #E4D1C1;
}

.cl-thumb--add:hover {
    border-color: #C29A74;
    background: #FFFFFF;
    color: #C29A74;
}

.cl-thumb--add:hover i {
    color: #C29A74;
}

/* ── Sidebar ──────────────────────────────────────────────── */
.cl-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    position: sticky;
    top: 88px;
}

.cl-tip-card {
    background: #fff;
    border: 1px solid var(--orange-200);
    border-radius: 14px;
    padding: 1.25rem;
    box-shadow: 0 2px 10px rgba(169, 120, 79, 0.06);
}

.cl-tip-card--light {
    background: var(--orange-50);
}

.cl-tip-head {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: #C29A74;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.9rem;
}

.cl-tip-head i {
    font-size: 0.95rem;
}

.cl-tip-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.cl-tip-list li {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.55;
    padding-left: 0.9rem;
    position: relative;
}

.cl-tip-list li::before {
    content: "·";
    position: absolute;
    left: 0;
    color: #C29A74;
    font-weight: 700;
}

.cl-tip-list li strong {
    color: var(--text-dark);
    font-weight: 600;
}

.cl-checklist {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.cl-check {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.cl-check i {
    color: #10b981;
    font-size: 0.9rem;
    flex-shrink: 0;
}

/* Sticky submit */
.cl-sticky-action {
    background: #fff;
    border: 1px solid var(--orange-200);
    border-radius: 14px;
    padding: 1.25rem;
    box-shadow: 0 2px 10px rgba(169, 120, 79, 0.06);
}

.cl-sticky-note {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: center;
    margin: 0.65rem 0 0;
    line-height: 1.4;
}

/* =========================================================
   AUTH LOGIN PAGE (auth-*)
   ========================================================= */
.auth-page {
    background: var(--orange-50);
    min-height: calc(100vh - 120px);
    display: flex;
    align-items: center;
}

.auth-card {
    background: #fff;
    border: 1px solid var(--orange-200);
    border-radius: 18px;
    box-shadow: var(--shadow-md);
    padding: 2rem 1.8rem;
}

.auth-card-head {
    margin-bottom: 1.25rem;
}

.auth-logo {
    width: 52px;
    height: 52px;
    margin: 0 auto 0.8rem;
    border-radius: 14px;
    background: var(--primary-gradient);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    box-shadow: 0 8px 20px rgba(169, 120, 79, 0.25);
}

.auth-logo-img {
    width: 56px;
    height: 56px;
    object-fit: contain;
    display: block;
    margin: 0 auto 0.8rem;
}

.auth-title {
    font-size: 1.55rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.auth-subtitle {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0;
}

.auth-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 700;
    color: #8C6441;
}

.auth-input {
    border-radius: 12px;
    border: 1.5px solid var(--orange-200);
    background: #fff;
    padding: 0.7rem 0.9rem;
    font-size: 0.92rem;
}

.auth-input:focus {
    border-color: #C29A74;
    box-shadow: 0 0 0 0.2rem rgba(194, 154, 116, 0.18);
}

.auth-password-wrap {
    position: relative;
}

.auth-password-wrap .auth-input {
    padding-right: 2.7rem;
}

.auth-password-toggle {
    position: absolute;
    top: 50%;
    right: 0.7rem;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    color: #8C6441;
    font-size: 1rem;
    line-height: 1;
    padding: 0.2rem;
}

.auth-check .form-check-input {
    border-color: var(--orange-300);
}

.auth-check .form-check-input:checked {
    background-color: #A9784F;
    border-color: #A9784F;
}

.auth-link {
    color: #8C6441;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.86rem;
}

.auth-link:hover {
    color: #6E4D33;
    text-decoration: underline;
}

.auth-submit {
    border-radius: 12px;
    font-weight: 700;
    padding: 0.72rem 1rem;
}

.auth-divider {
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--text-muted);
    margin: 1.2rem 0 0.9rem;
    font-size: 0.8rem;
}

.auth-divider::before,
.auth-divider::after {
    content: "";
    flex: 1;
    border-bottom: 1px solid var(--orange-200);
}

.auth-divider span {
    padding: 0 0.7rem;
}

.ld-heading-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.9rem;
    margin-bottom: 0.6rem;
}

.ld-details-card {
    background: #fff;
    border: 1px solid var(--dp-border);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(75, 46, 19, 0.08);
    padding: 20px;
    position: relative;
}

.ld-details-card + .ld-details-card {
    margin-top: 0.9rem;
}

.ld-details-card--details,
.ld-details-card--description,
.ld-details-card--specs {
    border-radius: 16px;
    box-shadow: 0 6px 18px rgba(75, 46, 19, 0.07);
}

.ld-details-card--details::before,
.ld-details-card--description::before,
.ld-details-card--specs::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    border-radius: 16px 0 0 16px;
    background: linear-gradient(180deg, var(--orange-500), var(--orange-600));
    opacity: 0.25;
}

.ld-details-head {
    padding-bottom: 12px;
}

.ld-details-title {
    font-size: clamp(1.5rem, 4.8vw, 2rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--dp-brown-dark);
    margin-bottom: 0;
}

.ld-details-price-row {
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.ld-details-price {
    margin: 0;
    display: inline-flex;
    align-items: baseline;
    gap: 0.35rem;
}

.ld-details-price-amount {
    /*font-size: clamp(1.6rem, 5.5vw, 2rem);*/
    font-weight: 800;
    color: var(--dp-brown-dark);
    line-height: 1;
}

.ld-details-price-unit {
    font-size: 0.98rem;
    color: var(--dp-muted);
}

.ld-details-availability {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.62rem;
    border-radius: 9px;
    font-size: 0.76rem;
    font-weight: 700;
    border: 1px solid #b8ebc7;
    background: var(--dp-success-bg);
    color: var(--dp-success);
}

.ld-details-availability i {
    font-size: 0.42rem;
}

.ld-details-availability.is-unavailable {
    border-color: #fecaca;
    background: #fef2f2;
    color: #991b1b;
}

.ld-details-rows {
    margin-top: 6px;
    border-top: 1px solid var(--dp-border);
    padding-top: 8px;
}

.ld-details-rows--standalone,
.ld-details-description--standalone,
.ld-details-specs--standalone {
    margin-top: 0;
    border-top: none;
    padding-top: 0;
}

.ld-details-card--price .ld-details-head {
    padding-bottom: 0;
}

.ld-details-section-title {
    margin: 0 0 0.45rem;
    font-size: 0.96rem;
    font-weight: 800;
    color: var(--dp-brown-dark);
    letter-spacing: 0.01em;
}

.ld-details-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    min-height: 44px;
    padding: 0.15rem 0;
}

.ld-details-row-left {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: #504842;
    font-size: 0.92rem;
    font-weight: 500;
}

.ld-details-row-left i {
    color: var(--dp-brown-dark);
    font-size: 0.84rem;
}

.ld-details-row-value {
    color: var(--dp-text);
    font-size: 0.88rem;
    font-weight: 400;
}

.ld-details-map-link {
    display: inline-flex;
    align-items: center;
    gap: 0.26rem;
    color: var(--dp-brown-dark);
    font-size: 0.86rem;
    text-decoration: none;
    font-weight: 500;
}

.ld-details-map-link:hover {
    color: var(--dp-brown);
}/*

.ld-details-description {
    margin-top: 6px;
    padding-top: 12px;
    border-top: 1px solid var(--dp-border);
}*/

.ld-details-description p {
    margin-bottom: 0.35rem;
    color: #4b5563;
    font-size: 0.94rem;
    line-height: 1.65;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ld-details-description p.is-expanded {
    display: block;
    overflow: visible;
}

.ld-read-more {
    border: none;
    background: transparent;
    color: var(--dp-brown-dark);
    font-size: 0.92rem;
    font-weight: 700;
    padding: 0;
}

./*ld-details-specs {
    margin-top: 10px;
    padding-top: 12px;
    border-top: 1px solid var(--dp-border);
}*/

.ld-details-specs-title {
    margin: 0 0 0.55rem;
    font-size: 1.12rem;
    font-weight: 800;
    color: var(--dp-brown-dark);
}

.ld-spec-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.7rem;
    min-height: 40px;
    padding: 0.1rem 0;
}

.ld-spec-label {
    display: inline-flex;
    align-items: center;
    gap: 0.44rem;
    color: #504842;
    font-size: 0.92rem;
    font-weight: 500;
}

.ld-spec-label i {
    color: var(--dp-brown-dark);
    font-size: 0.84rem;
}

.ld-spec-value {
    color: var(--dp-text);
    font-size: 0.92rem;
    font-weight: 400;
    text-align: right;
}

.ld-details-cta {
    margin-top: 12px;
    width: 100%;
    border: none;
    border-radius: 999px;
    min-height: 50px;
    padding: 0.75rem 1rem;
    background: var(--dp-brown-dark);
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    box-shadow: 0 6px 16px rgba(75, 46, 19, 0.24);
}

.ld-details-cta:active {
    transform: translateY(1px);
}

@media (min-width: 992px) {
    .ld-details-card {
        padding: 18px;
    }

    .ld-vinted-gallery {
        height: clamp(280px, 34vw, 390px);
        max-height: 390px;
    }

    .ld-details-title {
        font-size: 1.9rem;
    }

    /*.ld-details-price-amount {
        font-size: 1.9rem;
    }*/

    .ld-details-row-left {
        font-size: 0.88rem;
    }

    .ld-details-row-value,
    .ld-spec-value {
        font-size: 0.86rem;
    }

    .ld-details-description p {
        font-size: 0.9rem;
    }

    .ld-details-specs-title {
        font-size: 1rem;
    }
}

@media (max-width: 575.98px) {
    .ld-details-card {
        padding: 16px;
    }

    .ld-details-card + .ld-details-card {
        margin-top: 0.7rem;
    }

    .ld-details-title {
        font-size: 1.42rem;
    }
}

.ld-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0;
}

.ld-owner-actions {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.ld-owner-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border-radius: 999px;
    padding: 0.36rem 0.72rem;
    font-size: 0.78rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid;
    transition: all 0.2s ease;
    line-height: 1;
}

.ld-owner-action-btn i {
    font-size: 0.78rem;
}

.ld-owner-action-btn--edit {
    border-color: #e7ded6;
    background: #ffffff;
    color: #5b4a3c;
}

.ld-owner-action-btn--edit:hover {
    border-color: #d7c7ba;
    background: #faf6f2;
    color: #4a3a2f;
    transform: translateY(-1px);
}

.ld-owner-action-btn--delete {
    border-color: #edd5d5;
    background: #fffafa;
    color: #8b3f3f;
}

.ld-owner-action-btn--delete:hover {
    border-color: #e3bcbc;
    background: #fff2f2;
    color: #7a3535;
    transform: translateY(-1px);
}

@media (max-width: 575.98px) {
    .ld-heading-row {
        flex-direction: column;
        align-items: flex-start;
    }
}

.ld-subtitle {
    margin-bottom: 0.8rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 70ch;
}

.ld-details-card .ld-heading-row {
    margin-bottom: 0;
}

.ld-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    align-items: center;
}

.ld-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border-radius: 999px;
    border: 1px solid var(--orange-200);
    background: #fff;
    color: #6E4D33;
    font-weight: 600;
    font-size: 0.78rem;
    padding: 0.34rem 0.75rem;
}

.ld-tag--rating {
    color: #7c2d12;
}

.ld-tag--verified {
    background: #f0fdf4;
    border-color: #bbf7d0;
    color: #166534;
}

.ld-tag-meta {
    color: #9ca3af;
    font-weight: 500;
}

.ld-gallery-card {
    background: #fff;
    border: 1px solid var(--orange-200);
    border-radius: 18px;
    padding: 0.9rem;
    box-shadow: var(--shadow-sm);
}

.ld-vinted-gallery {
    display: grid;
    grid-template-columns: 1.7fr 1fr;
    gap: 0.55rem;
    height: clamp(360px, 48vw, 520px);
    max-height: 520px;
}

.ld-vinted-gallery.is-single {
    grid-template-columns: 1fr;
}

.ld-gallery-main,
.ld-gallery-tile {
    border: none;
    padding: 0;
    margin: 0;
    background: transparent;
    border-radius: 14px;
    overflow: hidden;
    cursor: zoom-in;
    position: relative;
}

.ld-gallery-main,
.ld-gallery-side {
    height: 100%;
}

.ld-gallery-main img,
.ld-gallery-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.ld-gallery-main {
    min-height: 0;
}

.ld-gallery-side {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
}

.ld-gallery-tile {
    min-height: 0;
    height: 100%;
}

.ld-gallery-more {
    position: absolute;
    inset: 0;
    background: rgba(28, 25, 23, 0.56);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 0.02em;
}

.ld-vinted-lightbox {
    position: fixed;
    inset: 0;
    z-index: 1120;
    display: none;
}

.ld-vinted-lightbox.is-open {
    display: block;
}

.ld-vinted-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 10, 0.9);
}

.ld-vinted-lightbox-stage {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 4.5rem;
}

.ld-vinted-lightbox-stage img {
    max-width: 100%;
    max-height: 92vh;
    object-fit: contain;
    border-radius: 10px;
}

.ld-vinted-lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    border: none;
    background: rgba(255, 255, 255, 0.17);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.ld-vinted-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: none;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.ld-vinted-lightbox-nav--prev {
    left: 1rem;
}

.ld-vinted-lightbox-nav--next {
    right: 1rem;
}

.ld-vinted-lightbox-counter {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    border-radius: 999px;
    padding: 0.34rem 0.78rem;
}

.ld-mobile-booking-cta {
    display: none;
}

.ld-mobile-booking-sheet {
    display: none;
}

.ld-no-scroll {
    overflow: hidden;
}

.ld-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.8rem;
}

.ld-stat-card {
    background: #fff;
    border: 1px solid var(--orange-200);
    border-radius: 14px;
    padding: 0.9rem 1rem;
}

.ld-stat-label {
    display: block;
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 0.35rem;
    font-weight: 700;
}

.ld-stat-value {
    font-size: 1.1rem;
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.25;
}

.ld-section {
    background: #fff;
    border: 1px solid var(--orange-200);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
}

.ld-section-head {
    padding: 1rem 1.2rem;
    border-bottom: 1px solid var(--orange-200);
}

.ld-section-head h2 {
    font-size: 1.05rem;
    margin: 0;
    font-weight: 700;
    color: var(--text-dark);
}

.ld-section-head--split {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.ld-section-body {
    padding: 1.2rem;
}

.ld-richtext {
    font-size: 0.96rem;
    color: #374151;
    line-height: 1.75;
}

.ld-reviews {
    display: grid;
    gap: 0.8rem;
}

.ld-review-card {
    border: 1px solid var(--orange-200);
    border-radius: 12px;
    padding: 0.9rem 1rem;
    background: #fff;
}

.ld-review-top {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.45rem;
}

.ld-review-stars {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    font-size: 0.77rem;
    color: #f59e0b;
}

.ld-empty-reviews {
    text-align: center;
    border: 1px dashed var(--orange-200);
    border-radius: 12px;
    padding: 1.5rem 1rem;
    background: var(--orange-100);
}

.ld-shell,
.ld-shell .row {
    overflow: visible;
}

.ld-sidebar {
    position: sticky !important;
    top: 76px !important;
    align-self: flex-start;
    display: grid;
    gap: 1rem;
}

.ld-booking-card,
.ld-owner-card,
.ld-trust-card {
    background: #fff;
    border: 1px solid var(--orange-200);
    border-radius: 14px;
    padding: 1rem;
    box-shadow: var(--shadow-sm);
}

.ld-booking-price span {
    font-size: 1.7rem;
    font-weight: 800;
    color: #6E4D33;
}

.ld-booking-meta {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-bottom: 0.85rem;
}

.ld-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem;
    margin-bottom: 0.7rem;
}

.ld-inline-success,
.ld-inline-error {
    border-radius: 10px;
    padding: 0.55rem 0.7rem;
    margin-bottom: 0.8rem;
    font-size: 0.82rem;
}

.ld-inline-success {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.ld-inline-error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.ld-owner-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    background: var(--primary-gradient);
}

.ld-owner-contact {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    text-decoration: none;
    font-size: 0.82rem;
    color: #6E4D33;
    margin-right: 0.55rem;
    margin-bottom: 0.2rem;
}

.ld-owner-lock {
    color: #9a3412;
    margin-top: 0.55rem;
    font-size: 0.78rem;
}

/* =========================================================
   LUXURY CARD STYLING (OWNER & PAYMENT)
   ========================================================= */

.lux-card {
    background: #fff;
    border-radius: 16px;
    padding: 18px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
    border: 1px solid #f3f3f3;
    margin-bottom: 14px;
    transition: all 0.2s ease;
}

/* ── Owner Card Header ─────────────────────────────── */
.owner-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.owner-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, #b8895e, #8b5e3c);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}

.owner-info {
    flex: 1;
    min-width: 0;
}

.owner-name {
    font-weight: 700;
    color: #1c1917;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.owner-role {
    font-size: 13px;
    color: #78716c;
    margin-top: 1px;
}

.badge-verified {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    background: #f5f5f5;
    color: #333;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    flex-shrink: 0;
}

.badge-verified i {
    font-size: 10px;
    color: #10b981;
}

/* ── Owner Features ───────────────────────────────── */
.owner-features {
    display: flex;
    gap: 16px;
    font-size: 13px;
    color: #555;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.owner-features div {
    display: flex;
    align-items: center;
    gap: 6px;
}

.owner-features i {
    font-size: 14px;
    color: #a9784f;
    flex-shrink: 0;
}

/* ── Owner Contact Links ──────────────────────────── */
.ld-owner-contact {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #6e4d33;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 0;
    transition: color 0.2s ease;
}

.ld-owner-contact:hover {
    color: #a9784f;
}

.ld-owner-contact i {
    font-size: 12px;
}

/* ── Owner Note ───────────────────────────────────── */
.owner-note {
    font-size: 12px;
    color: #a05a2c;
    background: #fff7f2;
    padding: 10px 12px;
    border-radius: 10px;
    margin-top: 12px;
    display: flex;
    align-items: flex-start;
    gap: 6px;
}

.owner-note i {
    font-size: 12px;
    margin-top: 1px;
    flex-shrink: 0;
}

/* ── Payment Card ─────────────────────────────────── */
.payment-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.payment-title {
    font-weight: 700;
    font-size: 15px;
    color: #1c1917;
    display: flex;
    align-items: center;
    gap: 8px;
}

.payment-title i {
    font-size: 16px;
    color: #a9784f;
}

.payment-text {
    font-size: 13px;
    color: #555;
    line-height: 1.55;
    margin: 0;
}

/* ── Responsive ───────────────────────────────────── */
@media (max-width: 768px) {
    .lux-card {
        padding: 14px;
        margin-bottom: 12px;
    }

    .owner-header {
        gap: 10px;
        margin-bottom: 12px;
    }

    .owner-avatar {
        width: 38px;
        height: 38px;
        font-size: 0.9rem;
    }

    .owner-name {
        font-size: 14px;
    }

    .owner-role {
        font-size: 12px;
    }

    .owner-features {
        gap: 12px;
        font-size: 12px;
        margin-bottom: 10px;
    }

    .payment-title {
        font-size: 14px;
    }

    .payment-text {
        font-size: 12px;
    }

    .ld-page {
        padding-top: 0.7rem !important;
    }

    .ld-top {
        margin-bottom: 0.7rem !important;
    }

    .ld-vinted-gallery {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        height: auto;
        max-height: none;
    }

    .ld-gallery-main {
        height: min(45vh, 420px);
        min-height: min(45vh, 420px);
        max-height: min(45vh, 420px);
    }

    .ld-gallery-main img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    .ld-gallery-side {
        display: flex;
        gap: 8px;
        overflow-x: auto;
        overflow-y: hidden;
        grid-template-columns: none;
        grid-template-rows: none;
        height: auto;
        padding-bottom: 2px;
        -webkit-overflow-scrolling: touch;
    }

    .ld-gallery-tile {
        flex: 0 0 78px;
        width: 78px;
        height: 78px;
        min-height: 78px;
        max-height: 78px;
        border-radius: 10px;
    }

    .ld-gallery-card {
        margin-bottom: 0.85rem !important;
        padding: 0.55rem;
    }

    .ld-vinted-lightbox-stage {
        padding: 1rem;
    }

    .ld-vinted-lightbox-nav {
        width: 38px;
        height: 38px;
    }

    .ld-vinted-lightbox-nav--prev {
        left: 0.55rem;
    }

    .ld-vinted-lightbox-nav--next {
        right: 0.55rem;
    }

    .ld-vinted-lightbox-close {
        top: 0.8rem;
        right: 0.8rem;
    }

    .ld-sidebar {
        position: static;
    }

    .ld-booking-card--desktop {
        display: none;
    }

    .ld-mobile-booking-cta {
        position: fixed;
        left: 12px;
        right: 12px;
        bottom: calc(68px + env(safe-area-inset-bottom));
        z-index: 1048;
        border: none;
        border-radius: 11px;
        padding: 0.7rem 1rem;
        background: linear-gradient(135deg, #C29A74 0%, #A9784F 100%);
        color: #fff;
        font-weight: 700;
        font-size: 0.9rem;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.35rem;
        box-shadow: 0 8px 18px rgba(169, 120, 79, 0.24);
        transition: transform 0.18s ease, box-shadow 0.18s ease;
    }

    .ld-mobile-booking-cta:active {
        transform: translateY(1px);
        box-shadow: 0 5px 12px rgba(169, 120, 79, 0.2);
    }

    .ld-mobile-booking-sheet {
        position: fixed;
        inset: 0;
        z-index: 1110;
        display: none;
    }

    .ld-mobile-booking-sheet.is-open {
        display: block;
    }

    .ld-mobile-booking-backdrop {
        position: absolute;
        inset: 0;
        background: rgba(20, 18, 16, 0.45);
    }

    .ld-mobile-booking-panel {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        max-height: 84vh;
        background: #fff;
        border-radius: 18px 18px 0 0;
        padding: 0.72rem 0.9rem 1rem;
        box-shadow: 0 -8px 26px rgba(28, 25, 23, 0.14);
        overflow-y: auto;
        transform: translateY(100%);
        transition: transform 0.28s ease;
    }

    .ld-mobile-booking-sheet.is-open .ld-mobile-booking-panel {
        transform: translateY(0);
    }

    .ld-mobile-booking-handle {
        width: 46px;
        height: 4px;
        border-radius: 999px;
        background: #DDD1C8;
        margin: 0 auto 0.65rem;
    }

    .ld-mobile-booking-close {
        position: absolute;
        top: 0.65rem;
        right: 0.65rem;
        width: 32px;
        height: 32px;
        border: none;
        border-radius: 999px;
        background: #F7F1EC;
        color: #7B5A40;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .ld-booking-card--mobile {
        border: none;
        box-shadow: none;
        padding: 0;
        margin: 0;
    }
}


/* =========================================================
   HOMEPAGE SHORTCUT CATEGORY ROW (home-shortcut-*)
   ========================================================= */
.home-shortcuts-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .home-shortcuts-row {
        display: none !important;
    }
}

.home-shortcut-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    min-height: 130px;
    padding: 1rem 0.75rem;
    border-radius: 14px;
    border: 1px solid #EFE4DB;
    background: #fff;
    box-shadow: 0 2px 8px rgba(28, 25, 23, 0.04);
    color: var(--text-dark);
    transition: all 0.2s ease;
    text-decoration: none;
    cursor: pointer;
}

.home-shortcut-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(28, 25, 23, 0.08);
    border-color: #C29A74;
    background: #fafafa;
}

.home-shortcut-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-bottom: 0.6rem;
    background: linear-gradient(135deg, #FBF7F3 0%, #F3ECE5 100%);
    color: #8C6441;
    font-size: 1.1rem;
}

.home-shortcut-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
}

.home-shortcut-title {
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
}

.home-shortcut-subtitle {
    font-size: 0.72rem;
    line-height: 1.3;
    color: var(--text-muted);
    font-weight: 400;
    max-width: 14ch;
}

.home-shortcut-card--action {
    border: 1.5px dashed #E4D1C1;
    background: transparent;
    color: #C29A74;
}

.home-shortcut-card--action:hover {
    background: #FFFFFF;
    border-color: #C29A74;
    color: #A9784F;
}

/* =========================================================
   MY BOOKING REQUESTS (tabs + cards)
   ========================================================= */
.booking-requests-page {
    max-width: 1020px;
}

.booking-requests-page .booking-requests-title {
    font-size: 28px;
    font-weight: 600;
    letter-spacing: -0.3px;
}

.booking-requests-page .booking-requests-subtitle {
    font-size: 14px;
    color: #8a7f75 !important;
}

.booking-requests-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-bottom: 0.85rem;
}

.booking-tab {
    border: 1px solid #EFE4DB;
    background: #fff;
    color: #6E4D33;
    border-radius: 999px;
    padding: 0.34rem 0.72rem;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.38rem;
    transition: all 0.18s ease;
}

.booking-tab:hover {
    border-color: #D2B79D;
    background: #FBF7F3;
}

.booking-tab.is-active {
    background: #FCF7F2;
    border-color: #C29A74;
    color: #8C6441;
}

.booking-tab-count {
    background: #fff;
    border: 1px solid #EFE4DB;
    border-radius: 999px;
    padding: 0.05rem 0.38rem;
    font-size: 0.68rem;
    line-height: 1.2;
    color: #8C6441;
    font-weight: 700;
}

/* ── Booking Activity Cards ──────────────────────────────── */
.booking-cards {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.booking-request-card {
    background: #fff;
    border: 1px solid #EFE4DB;
    border-radius: 14px;
    padding: 1rem 1.1rem;
    box-shadow: 0 2px 12px rgba(169, 120, 79, 0.07);
    transition: box-shadow 0.18s ease, transform 0.18s ease;
}

.booking-request-card:hover {
    box-shadow: 0 6px 22px rgba(169, 120, 79, 0.13);
    transform: translateY(-1px);
}

.bk-card-body {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

/* Row 1: title + price + badge */
.bk-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.bk-row--top {
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.4rem 0.75rem;
}

.bk-title {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.35;
    flex: 1 1 0;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bk-top-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.bk-price {
    font-size: 0.9rem;
    font-weight: 800;
    color: #6E4D33;
    white-space: nowrap;
}

/* Row 2: dates + duration */
.bk-row--mid {
    gap: 0.3rem;
}

.bk-dates {
    font-size: 0.8rem;
    font-weight: 600;
    color: #4A3728;
}

.bk-duration {
    font-size: 0.78rem;
    color: #9A8070;
}

/* Row 3: created + view button */
.bk-row--bottom {
    justify-content: space-between;
    margin-top: 0.1rem;
}

.bk-created {
    font-size: 0.74rem;
    color: #B0A090;
    font-style: italic;
}

.bk-view-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.1rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #8C6441;
    text-decoration: none;
    padding: 0.22rem 0.55rem;
    border: 1px solid #D2B79D;
    border-radius: 999px;
    background: #FBF7F3;
    transition: background 0.15s ease, border-color 0.15s ease;
    white-space: nowrap;
}

.bk-view-btn:hover {
    background: #F2E4D6;
    border-color: #C29A74;
    color: #6E4D33;
}

/* Status badges */
.bk-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 0.2rem 0.55rem;
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 1.2;
    border: 1px solid transparent;
    white-space: nowrap;
}

.bk-badge--pending {
    background: #FFF7ED;
    color: #C2410C;
    border-color: #FED7AA;
}

.bk-badge--approved {
    background: #ECFDF5;
    color: #166534;
    border-color: #BBF7D0;
}

.bk-badge--completed {
    background: #EFF6FF;
    color: #1D4ED8;
    border-color: #BFDBFE;
}

.bk-badge--rejected {
    background: #FEF2F2;
    color: #B91C1C;
    border-color: #FECACA;
}

.bk-badge--cancelled {
    background: #F5F5F4;
    color: #57534E;
    border-color: #E7E5E4;
}

.booking-filter-empty {
    margin-top: 0.75rem;
    border: 1px dashed #E7D6C9;
    border-radius: 10px;
    padding: 0.8rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.83rem;
    background: #FFFCFA;
}

.market-search-btn:hover {
    box-shadow: 0 4px 14px rgba(169, 120, 79, 0.4);
    color: white;
}



.market-autocomplete-item {
    all: unset;
    box-sizing: border-box;
    display: block;
    width: 100%;
    padding: 0.48rem 0.62rem;
    border-radius: 8px;
    font-size: 0.88rem;
    line-height: 1.35;
    color: var(--text-dark);
    cursor: pointer;
    white-space: normal;
    word-break: break-word;
    transition: background 0.15s ease, color 0.15s ease;
}

.market-autocomplete-item:hover,
.market-autocomplete-item.is-active,
.market-autocomplete-item:focus-visible {
    background: var(--orange-100);
    color: #8C6441;
    outline: none;
}

#cityAutocompleteInput {
    width: 100%;
}

/* =========================================================
   EDIT LISTING — PLAN SECTION  (ep-plan-*)
   ========================================================= */
.ep-plan-section {
    background: #fff;
    border: 1px solid #EFE4DB;
    border-radius: 14px;
    padding: 1.5rem;
    margin-top: 0.5rem;
}

.ep-plan-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.ep-plan-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.ep-plan-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-right: 0.25rem;
}

/* Generic badge base */
.ep-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.22rem 0.65rem;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.ep-badge--standard     { background: #F3F4F6; color: #374151; }
.ep-badge--premium      { background: #FEF3C7; color: #92400E; }
.ep-badge--premiumplus  { background: linear-gradient(135deg, #C29A74 0%, #A9784F 100%); color: #fff; }
.ep-badge--active       { background: #D1FAE5; color: #065F46; }
.ep-badge--pending      { background: #FEF3C7; color: #92400E; }
.ep-badge--expired      { background: #FEE2E2; color: #991B1B; }

.ep-plan-pending-alert {
    font-size: 0.88rem;
    border-radius: 10px;
    padding: 0.65rem 0.9rem;
}

/* Plan cards grid */
.ep-plan-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 0.25rem;
}

.ep-plan-card {
    position: relative;
    background: #fff;
    border: 2px solid #EFE4DB;
    border-radius: 12px;
    padding: 1rem 1rem 1rem;
    cursor: pointer;
    transition: border-color 0.18s, box-shadow 0.18s;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.ep-plan-card:hover {
    border-color: #C29A74;
    box-shadow: 0 4px 12px rgba(169, 120, 79, 0.12);
}

.ep-plan-card:has(.ep-plan-radio:checked) {
    border-color: #A9784F;
    box-shadow: 0 0 0 3px rgba(194, 154, 116, 0.25);
    background: #FBF7F3;
}

.ep-plan-card--current {
    border-color: #D1FAE5;
    background: #F0FDF4;
    cursor: default;
    opacity: 0.85;
}

.ep-plan-radio {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 1.1rem;
    height: 1.1rem;
    accent-color: #A9784F;
}

.ep-plan-card-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.ep-plan-card-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-dark);
}

.ep-plan-card-price {
    font-size: 1rem;
    font-weight: 700;
    color: #A9784F;
}

.ep-plan-card-price small {
    font-size: 0.72rem;
    font-weight: 400;
    color: var(--text-muted);
}

.ep-plan-card-features {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.ep-plan-card-features li::before {
    content: "✓ ";
    color: #C29A74;
    font-weight: 700;
}

.ep-plan-card-current-tag {
    font-size: 0.72rem;
    font-weight: 700;
    color: #065F46;
    background: #D1FAE5;
    border-radius: 999px;
    padding: 0.15rem 0.5rem;
    align-self: flex-start;
}

.ep-plan-instructions {
    font-size: 0.85rem;
    border-radius: 10px;
    background: #F8F7FF !important;
    border-color: #EFE4DB !important;
}

/* =========================================================
   FOOTER (MODERN LUXURY)
   ========================================================= */
.dp-footer {
    background: linear-gradient(180deg, #FBF7F3 0%, #F6EFE8 100%);
    border-top: 1px solid rgba(194, 154, 116, 0.24);
    box-shadow: 0 -8px 24px rgba(28, 25, 23, 0.04);
}

.dp-footer-container {
    padding-top: 1.45rem;
    padding-bottom: 1rem;
}

.dp-footer-title {
    margin: 0 0 0.6rem;
    font-size: 0.88rem;
    font-weight: 700;
    color: #6E4D33;
    letter-spacing: 0.01em;
}

.dp-footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    font-size: 1rem;
    color: #5A4030;
}

.dp-footer-brand i {
    color: #A9784F;
    font-size: 1.02rem;
}

.dp-footer-logo {
    width: 44px;
    height: 44px;
    object-fit: contain;
    display: inline-block;
    vertical-align: middle;
}

.dp-footer-text {
    font-size: 0.82rem;
    color: #8A7A6C;
    line-height: 1.55;
}

.dp-footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.dp-footer-links a {
    color: #8A7A6C;
    text-decoration: none;
    font-size: 0.82rem;
    transition: color 0.2s ease;
}

.dp-footer-links a:hover {
    color: #9B6A43;
}

.dp-footer-contact-item {
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    margin-bottom: 0.3rem;
}

.dp-footer-contact-item i {
    color: #A9784F;
    font-size: 0.82rem;
}

.dp-footer-contact-item a {
    color: #8A7A6C;
    text-decoration: none;
    font-size: 0.82rem;
    transition: color 0.2s ease;
}

.dp-footer-contact-item a:hover {
    color: #9B6A43;
}

.dp-footer-bottom {
    margin-top: 0.95rem;
    padding-top: 0.78rem;
    border-top: 1px solid rgba(194, 154, 116, 0.18);
    text-align: center;
    font-size: 0.76rem;
    color: #9A8A7D;
}

@media (max-width: 767px) {
    .dp-footer-container {
        padding-top: 1.2rem;
        padding-bottom: calc(110px + env(safe-area-inset-bottom));
    }

    .dp-footer-title {
        margin-bottom: 0.45rem;
    }

    .dp-footer-bottom {
        margin-top: 0.72rem;
        padding-top: 0.62rem;
    }
}

/* =========================================================
   MESSAGES UI
   ========================================================= */
.msg-page-title {
    color: var(--dp-brown-dark);
    font-weight: 800;
}

.msg-inbox-shell {
    background: #fff;
    min-height: calc(100vh - 66px);
}

body:has(.msg-inbox-shell) {
    background: #fff;
}

body:has(.msg-inbox-shell) main {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.msg-inbox-layout {
    display: grid;
    grid-template-columns: minmax(320px, 380px) minmax(0, 1fr);
    gap: 1.1rem;
    min-height: calc(100vh - 170px);
    align-items: stretch;
}

.msg-inbox-sidebar,
.msg-thread-column {
    background: #fff;
    border: 1px solid var(--dp-border);
    border-radius: 20px;
    box-shadow: 0 10px 26px rgba(75, 46, 19, 0.08);
}

.msg-inbox-sidebar {
    padding: 1rem;
    overflow: hidden;
}

.msg-sidebar-head {
    margin-bottom: 0.85rem !important;
}

.msg-search-row {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 0.75rem;
}

.msg-filter-btn {
    width: 44px;
    height: 44px;
    border: 1px solid var(--dp-border);
    background: #fff;
    border-radius: 12px;
    color: var(--dp-brown-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.msg-mobile-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.msg-mobile-tab {
    width: 100%;
    border: none;
    border-radius: 12px;
    background: #F4ECE3;
    color: #7A746E;
    min-height: 40px;
    padding: 0 0.6rem;
    font-size: 0.82rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    position: relative;
    white-space: nowrap;
}

.msg-mobile-tab.is-active {
    background: #4B2E13;
    color: #fff;
}

.msg-tab-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #C9732A;
    position: absolute;
    top: 8px;
    right: 10px;
}

.msg-search-icon {
    position: absolute;
    top: 50%;
    left: 12px;
    transform: translateY(-50%);
    color: var(--dp-muted);
    pointer-events: none;
}

.msg-search-input {
    padding-left: 2.1rem;
    border-radius: 12px;
    border-color: var(--dp-border);
}

.msg-conv-list {
    display: grid;
    gap: 0.75rem;
    max-height: calc(100vh - 320px);
    overflow-y: auto;
    padding-right: 0.15rem;
}

.msg-conv-item {
    display: grid;
    grid-template-columns: 68px minmax(0, 1fr) auto;
    gap: 0.75rem;
    align-items: center;
    width: 100%;
    border: 1px solid var(--dp-border);
    border-radius: 20px;
    background: #fff;
    padding: 0.88rem;
    text-align: left;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.msg-conv-item:hover {
    border-color: var(--dp-gold);
    background: #fffdfb;
    box-shadow: 0 8px 18px rgba(75, 46, 19, 0.08);
    transform: translateY(-1px);
}

.msg-conv-item.is-active {
    border-color: var(--dp-brown);
    background: #fbf4ed;
    box-shadow: 0 10px 20px rgba(75, 46, 19, 0.10);
}

.msg-conv-thumb-wrap {
    width: 68px;
    height: 68px;
    border-radius: 16px;
    overflow: hidden;
    background: #f5eee8;
    position: relative;
    flex-shrink: 0;
}

.msg-conv-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.msg-conv-main {
    min-width: 0;
    display: grid;
    gap: 0.18rem;
}

.msg-conv-title,
.msg-conv-user,
.msg-conv-preview {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.msg-conv-title {
    font-weight: 700;
    color: var(--dp-text);
    font-size: 1.12rem;
}

.msg-conv-user {
    color: #7A746E;
    font-size: 0.92rem;
}

.msg-conv-preview {
    color: #544d47;
    font-size: 0.98rem;
}

.msg-conv-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;
    align-self: stretch;
    min-width: 44px;
}

.msg-conv-time {
    color: var(--dp-muted);
    font-size: 0.78rem;
    margin-top: 0.1rem;
}

.msg-conv-unread {
    min-width: 24px;
    height: 24px;
    border-radius: 999px;
    background: #4B2E13;
    color: #fff;
    font-size: 0.79rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 0.35rem;
}

.msg-conv-online-dot {
    position: absolute;
    right: 2px;
    bottom: 2px;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #38B26C;
    border: 2px solid #fff;
}

.msg-trust-card {
    margin-top: 0.75rem;
    border: 1px solid #EADFD5;
    border-radius: 16px;
    padding: 0.62rem 0.72rem;
    background: #FDF8F3;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.msg-trust-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #f3e7db;
    color: #4B2E13;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.msg-trust-card h6 {
    margin: 0;
    font-size: 0.88rem;
    font-weight: 800;
    color: #2d2a27;
}

.msg-trust-card p {
    margin: 0;
    font-size: 0.79rem;
    color: #7A746E;
    line-height: 1.35;
}

.msg-thread-column {
    display: flex;
    flex-direction: column;
    padding: 1rem;
    min-height: 0;
}

#msgThreadWrapper {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}

.msg-empty-state {
    border: 1px dashed var(--dp-border);
    background: #fff;
    border-radius: 16px;
}

.msg-empty-icon {
    font-size: 2rem;
    color: var(--dp-brown);
}

.msg-thread-panel {
    display: flex;
    flex-direction: column;
    min-height: 0;
    height: 100%;
    flex: 1;
}

.msg-thread-header {
    border: 1px solid var(--dp-border);
    border-radius: 16px;
    box-shadow: 0 4px 14px rgba(75, 46, 19, 0.06);
}

.msg-thread-header-body {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.75rem;
}

.msg-thread-thumb-link {
    display: block;
    flex-shrink: 0;
    border-radius: 12px;
    overflow: hidden;
    line-height: 0;
}

.msg-thread-thumb-link:hover .msg-thread-listing-thumb,
.msg-thread-thumb-link:focus .msg-thread-listing-thumb {
    opacity: 0.85;
}

.msg-thread-listing-thumb {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
    transition: opacity 0.15s;
}

.msg-thread-subline {
    display: inline-flex;
    align-items: center;
    gap: 0.38rem;
    font-size: 0.82rem;
    color: #7A746E;
}

.msg-thread-owner {
    font-weight: 500;
}

.msg-thread-online-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #38B26C;
}

.msg-thread-link {
    color: #4B2E13;
    text-decoration: underline;
    text-underline-offset: 2px;
    font-weight: 600;
}

.msg-thread-menu-btn {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    border: 1px solid #EFE4DB;
    background: #fff;
    color: #7A746E;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.msg-thread-body {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 0.35rem 0.2rem 0.95rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.msg-bubble-wrap {
    display: inline-flex;
    align-items: flex-end;
    gap: 0.42rem;
}

.msg-bubble-wrap--own {
    justify-content: flex-end;
}

.msg-bubble-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #F3E7DB;
    color: #8C6441;
    font-size: 0.74rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.msg-bubble {
    max-width: min(82%, 620px);
    border-radius: 16px;
    padding: 0.72rem 0.9rem;
    box-shadow: 0 3px 8px rgba(75, 46, 19, 0.06);
}

.msg-bubble--own {
    background: #f5e9de;
    border: 1px solid #e2c8af;
}

.msg-bubble--other {
    background: #fff;
    border: 1px solid #eee;
}

.msg-input-bar {
    position: sticky;
    bottom: 0;
    background: #fff;
    border-top: 1px solid #eee;
    padding-top: 0.7rem;
    padding-bottom: 0.65rem;
}

.msg-input-shell {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    gap: 0.45rem;
    align-items: center;
    border: 1px solid #EFE4DB;
    border-radius: 16px;
    padding: 0.38rem 0.42rem;
    background: #fff;
}

.msg-input-icon-btn {
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 50%;
    background: #F7F1EC;
    color: #6E4D33;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.msg-input-bar .form-control {
    min-height: 42px;
    border-radius: 12px;
    border: none;
    box-shadow: none;
    padding: 0.5rem 0.4rem;
}

.msg-send-btn {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 50%;
    background: var(--dp-brown-dark);
    border-color: var(--dp-brown-dark);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.msg-mobile-back {
    color: var(--dp-brown-dark);
    text-decoration: none;
    margin-bottom: 0.45rem;
}

.msg-mobile-back-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    padding: 0;
    margin-right: 0.5rem;
    cursor: pointer;
    line-height: 1;
    flex-shrink: 0;
}

.msg-mobile-back-icon {
    font-size: 1.4rem;
    color: var(--dp-brown-dark, #7c5c3e);
}

@media (max-width: 991.98px) {
    .msg-inbox-shell {
        padding: 0.55rem 0.25rem 0.7rem !important;
        background: #F8F5F1;
    }

    .msg-inbox-layout {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
        min-height: calc(100vh - 142px);
        gap: 0.55rem;
    }

    .msg-inbox-sidebar,
    .msg-thread-column {
        min-height: calc(100vh - 178px);
        border-radius: 18px;
        padding: 0.72rem;
        box-shadow: 0 10px 22px rgba(75, 46, 19, 0.07);
    }

    .msg-thread-column {
        display: flex;
        flex-direction: column;
        height: calc(100vh - 178px);
        min-height: calc(100vh - 178px);
        overflow: hidden;
    }

    .msg-mobile-back {
        margin: 0 0 0.3rem;
        padding: 0.2rem 0;
        font-size: 0.85rem;
        font-weight: 600;
    }

    .msg-mobile-back-btn {
        margin-right: 0.4rem;
    }

    .msg-mobile-back-icon {
        font-size: 1.4rem;
    }

    .msg-thread-header {
        margin-bottom: 0.5rem !important;
        border-radius: 14px;
    }

    .msg-thread-header .card-body {
        padding: 0.62rem 0.66rem;
    }

    .msg-thread-listing-thumb {
        width: 52px;
        height: 52px;
        border-radius: 12px;
    }

    .msg-thread-header h5 {
        font-size: 1.02rem;
        font-weight: 700;
        margin-bottom: 0.1rem !important;
    }

    .msg-thread-subline,
    .msg-thread-link {
        font-size: 0.74rem;
    }

    .msg-thread-menu-btn {
        width: 30px;
        height: 30px;
        border-radius: 9px;
    }

    .msg-thread-body {
        padding: 0.3rem 0.1rem 0.3rem;
        margin-bottom: 0;
    }

    .msg-bubble {
        max-width: 86%;
        border-radius: 14px;
        padding: 0.6rem 0.72rem;
    }

    .msg-bubble p {
        margin-bottom: 0.28rem !important;
        font-size: 0.88rem;
        line-height: 1.35;
    }

    .msg-bubble small {
        font-size: 0.68rem;
    }

    .msg-bubble-avatar {
        width: 24px;
        height: 24px;
        font-size: 0.66rem;
    }

    .msg-input-bar {
        position: sticky;
        bottom: env(safe-area-inset-bottom);
        padding-top: 0.35rem;
        padding-bottom: 0;
        border-top: none;
        margin-top: auto;
    }

    .msg-input-shell {
        border-radius: 14px;
        padding: 0.28rem 0.34rem;
        gap: 0.28rem;
        box-shadow: 0 3px 10px rgba(75, 46, 19, 0.07);
    }

    .msg-input-icon-btn {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }

    .msg-input-bar .form-control {
        min-height: 36px;
        font-size: 0.86rem;
        padding: 0.35rem 0.3rem;
    }

    .msg-send-btn {
        width: 32px;
        height: 32px;
        min-width: 32px;
        font-size: 0.82rem;
    }

    .msg-page-title {
        font-size: 1.58rem;
        margin-bottom: 0.5rem !important;
        line-height: 1.1;
    }

    .msg-sidebar-head {
        margin-bottom: 0.6rem !important;
    }

    .msg-search-row {
        display: flex;
        align-items: center;
        gap: 0.55rem;
        margin-bottom: 0.7rem;
    }

    .msg-search-input {
        border-radius: 16px;
        min-height: 48px;
        font-size: 0.95rem;
        border-color: #EADFD5;
        padding-left: 2.3rem;
    }

    .msg-search-icon {
        left: 14px;
        font-size: 0.95rem;
    }

    .msg-filter-btn {
        width: 48px;
        height: 48px;
        border: 1px solid #EADFD5;
        background: #fff;
        border-radius: 14px;
        color: #4B2E13;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 1rem;
        flex-shrink: 0;
    }

    .msg-mobile-tabs {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.45rem;
        margin-bottom: 0.8rem;
    }

    .msg-mobile-tab {
        width: 100%;
        border: none;
        border-radius: 14px;
        background: #F4ECE3;
        color: #7A746E;
        min-height: 40px;
        font-size: 0.75rem;
        font-weight: 700;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.25rem;
        padding: 0 0.4rem;
        position: relative;
        white-space: nowrap;
    }

    .msg-mobile-tab.is-active {
        background: #4B2E13;
        color: #fff;
        box-shadow: 0 6px 14px rgba(75, 46, 19, 0.26);
    }

    .msg-tab-dot {
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: #C9732A;
        position: absolute;
        top: 9px;
        right: 11px;
    }

    .msg-conv-list {
        max-height: calc(100vh - 405px);
        gap: 0.85rem;
        padding-right: 0.1rem;
    }

    .msg-conv-item {
        grid-template-columns: 62px 1fr auto;
        align-items: center;
        border-radius: 16px;
        padding: 0.72rem;
        box-shadow: 0 8px 18px rgba(75, 46, 19, 0.07);
        border: 1px solid #EADFD5;
        gap: 0.62rem;
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .msg-conv-item:active {
        transform: translateY(1px);
    }

    .msg-conv-item.is-active {
        border-color: #D5B89A;
        background: #fffdfb;
        box-shadow: 0 10px 22px rgba(75, 46, 19, 0.1);
    }

    .msg-conv-thumb-wrap {
        width: 62px;
        height: 62px;
        border-radius: 14px;
        position: relative;
        flex-shrink: 0;
    }

    .msg-conv-main {
        min-width: 0;
        gap: 0.16rem;
    }

    .msg-conv-title {
        font-size: 0.98rem;
        font-weight: 700;
        line-height: 1.2;
    }

    .msg-conv-user {
        font-size: 0.8rem;
        color: #7A746E;
    }

    .msg-conv-preview {
        font-size: 0.86rem;
        color: #544d47;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .msg-conv-meta {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        justify-content: space-between;
        align-self: stretch;
        min-width: 42px;
    }

    .msg-conv-time {
        font-size: 0.74rem;
        color: #7A746E;
        margin-top: 0.1rem;
    }

    .msg-conv-unread {
        min-width: 22px;
        height: 22px;
        font-size: 0.72rem;
        background: #4B2E13;
        align-self: flex-end;
    }

    .msg-conv-online-dot {
        position: absolute;
        right: 2px;
        bottom: 2px;
        width: 11px;
        height: 11px;
        border-radius: 50%;
        background: #38B26C;
        border: 2px solid #fff;
    }

    .msg-trust-card {
        margin-top: 0.75rem;
        border: 1px solid #EADFD5;
        border-radius: 14px;
        padding: 0.56rem 0.62rem;
        background: #FDF8F3;
        display: flex;
        align-items: center;
        gap: 0.55rem;
    }

    .msg-trust-icon {
        width: 30px;
        height: 30px;
        border-radius: 50%;
        background: #f3e7db;
        color: #4B2E13;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 0.84rem;
        flex-shrink: 0;
    }

    .msg-trust-card h6 {
        margin: 0;
        font-size: 0.8rem;
        font-weight: 800;
        color: #2d2a27;
    }

    .msg-trust-card p {
        margin: 0;
        font-size: 0.72rem;
        color: #7A746E;
        line-height: 1.35;
    }

    .msg-bg-decor {
        position: absolute;
        right: 16px;
        bottom: 14px;
        width: 56px;
        height: 56px;
        opacity: 0.12;
        border: 1px solid #d7bea7;
        border-radius: 20px 4px 20px 4px;
        pointer-events: none;
    }
}

@media (max-width: 768px) {
    body:has(.msg-inbox-shell) {
        padding-bottom: 0 !important;
    }

    body:has(.msg-inbox-shell) .msg-input-bar {
        margin-bottom: 0 !important;
    }

    .mobile-bottom-nav {
        border-radius: 22px 22px 0 0;
        box-shadow: 0 -10px 26px rgba(28, 25, 23, 0.12);
    }

    .mobile-bottom-nav__item {
        min-height: 54px;
    }

    .mobile-bottom-nav__item i {
        font-size: 1.34rem;
    }

    .mobile-bottom-nav__label {
        font-size: 0.74rem;
    }

    .mobile-bottom-nav__item.is-active {
        background: rgba(75, 46, 19, 0.10);
        color: #4B2E13 !important;
    }

    .mobile-bottom-nav__item--messages .mobile-bottom-nav__icon-wrap {
        position: relative;
    }

    .mobile-bottom-nav__item--messages .mobile-bottom-nav__badge {
        top: -4px;
        right: -6px;
        min-width: 16px;
        height: 16px;
        font-size: 0.58rem;
        background: #4B2E13;
    }
}

.ld-sidebar-contact-sticky {
    position: sticky;
    bottom: calc(12px + env(safe-area-inset-bottom));
    z-index: 6;
    margin-top: 0.2rem;
    background: linear-gradient(to top, #fff 70%, rgba(255, 255, 255, 0));
    padding-top: 0.45rem;
}

.ld-sidebar-contact-btn {
    width: 100%;
    min-height: 50px;
    border: 1px solid var(--orange-300);
    border-radius: 999px;
    background: linear-gradient(135deg, var(--orange-500) 0%, var(--orange-600) 100%);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    box-shadow: 0 8px 18px rgba(169, 120, 79, 0.24);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.ld-sidebar-contact-btn:hover {
    background: linear-gradient(135deg, #D4AB84 0%, #BD8E6E 100%);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(169, 120, 79, 0.3);
}

.ld-sidebar-contact-btn:active {
    transform: translateY(0);
}

@media (max-width: 991.98px) {
    .ld-sidebar {
        position: static !important;
    }

    .ld-sidebar-contact-sticky {
        position: static;
        background: transparent;
        padding-top: 0;
    }
}

/* =========================================================
   MOBILE PROFILE PAGE
   ========================================================= */
.mp-page {
    background: #FAF6F2;
    min-height: calc(100vh - 180px);
    padding: 1rem 0 1.5rem;
}

.mp-container {
    max-width: 520px;
}

.mp-card {
    background: #fff;
    border: 1px solid #EFE4DB;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(28, 25, 23, 0.06);
    padding: 1rem;
}

.mp-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    margin-bottom: 0.75rem;
    color: #7C5B42;
    font-weight: 700;
}

.mp-brand i {
    color: #A9784F;
    font-size: 1.05rem;
}

.mp-title {
    margin: 0 0 0.35rem;
    font-size: 1.15rem;
    font-weight: 800;
    color: #3C2C21;
}

.mp-subtitle {
    margin: 0 0 0.95rem;
    font-size: 0.86rem;
    color: #8A7A6C;
    line-height: 1.55;
}

.mp-note {
    font-size: 0.78rem;
    color: #9A8A7D;
    line-height: 1.5;
}

.mp-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.52rem;
    margin-bottom: 0.75rem;
}

.mp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.34rem;
    width: 100%;
    border: none;
    border-radius: 10px;
    padding: 0.68rem 0.9rem;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.mp-btn--register {
    background: linear-gradient(135deg, #D8644A 0%, #B44B3A 100%);
    color: #fff;
    box-shadow: 0 6px 16px rgba(180, 75, 58, 0.24);
}

.mp-btn--register:hover {
    color: #fff;
}

.mp-btn--login {
    background: #1D6FD6;
    color: #fff;
    box-shadow: 0 6px 16px rgba(29, 111, 214, 0.22);
}

.mp-btn--login:hover {
    color: #fff;
}

.mp-btn--logout {
    background: #FDF2F2;
    color: #B91C1C;
    border: 1px solid #FECACA;
}

.mp-menu {
    display: flex;
    flex-direction: column;
    gap: 0.42rem;
}

.mp-menu-item {
    display: grid;
    grid-template-columns: 20px 1fr 16px;
    align-items: center;
    gap: 0.55rem;
    border: 1px solid #F0E5DC;
    border-radius: 10px;
    padding: 0.68rem 0.75rem;
    background: #fff;
    color: #5A4030;
    text-decoration: none;
    font-size: 0.84rem;
    font-weight: 600;
}

.mp-menu-item i:first-child {
    color: #A9784F;
}

.mp-menu-item i:last-child {
    color: #B0A090;
    font-size: 0.72rem;
}

.mp-logout-form {
    margin-top: 0.75rem;
}

@media (min-width: 769px) {
    .mp-page {
        background: transparent;
        padding: 0;
        min-height: auto;
    }

    .mp-container {
        max-width: 900px;
    }

    .mp-card {
        max-width: 520px;
    }
}

/* =========================================================
   LANGUAGE SWITCHER (MARKETPLACE COMPACT, PREMIUM)
   ========================================================= */
.dp-lang-switcher {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem;
    border-radius: 14px;
    background: #fff;
    border: 1px solid #EFE4DB;
    box-shadow: 0 8px 20px rgba(28, 25, 23, 0.06);
}

.dp-lang-option-form {
    margin: 0;
}

.dp-lang-option {
    min-width: 132px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid #EADBCB;
    background: #fff;
    color: #5E4634;
    border-radius: 12px;
    padding: 0.42rem 0.6rem;
    font-size: 0.84rem;
    font-weight: 600;
    line-height: 1;
    transition: all .22s ease;
}

.dp-lang-option:hover {
    transform: translateY(-1px);
    border-color: #CBA783;
    box-shadow: 0 6px 14px rgba(100, 70, 47, 0.12);
    background: #FFFDFC;
}

.dp-lang-option:focus-visible {
    outline: 2px solid #B98557;
    outline-offset: 1px;
}

.dp-lang-flag {
    font-size: 1rem;
}

.dp-lang-text {
    flex: 1;
    text-align: left;
}

.dp-lang-check {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: transparent;
    background: #F4EEE8;
    transition: all .2s ease;
}

.dp-lang-option.is-selected {
    border-color: #B98557;
    background: #FBF4EE;
    box-shadow: 0 0 0 2px rgba(185, 133, 87, 0.12);
}

.dp-lang-option.is-selected .dp-lang-check {
    color: #fff;
    background: linear-gradient(135deg, #C29A74 0%, #A9784F 100%);
}

/* Dedicated language page */
.dp-lang-page {
    max-width: 100%;
}

.dp-lang-card {
    background: #fff;
    border: 1px solid #EFE4DB;
    border-radius: 16px;
    padding: 1.2rem 1.05rem;
    box-shadow: 0 14px 34px rgba(28, 25, 23, 0.08);
}

.dp-lang-head {
    margin-bottom: 1rem;
}

.dp-lang-icon {
    width: 44px;
    height: 44px;
    margin: 0 auto 0.5rem;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #FBF4EE;
    color: #A9784F;
    font-size: 1.15rem;
}

.dp-lang-title {
    margin: 0;
    color: #4E3624;
    font-size: clamp(1.2rem, 3.3vw, 1.55rem);
    font-weight: 800;
}

.dp-lang-subtitle {
    margin: 0.35rem 0 0;
    color: #8B7A6C;
    font-size: 0.9rem;
}

.dp-lang-options {
    display: grid;
    gap: 0.65rem;
    margin-bottom: 1rem;
}

.dp-lang-card .dp-lang-option {
    width: 100%;
    min-height: 54px;
    border-radius: 14px;
    padding: 0.58rem 0.74rem;
    font-size: 0.9rem;
}

.dp-lang-meta {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.15;
}

.dp-lang-name {
    font-weight: 700;
    color: #4E3624;
}

.dp-lang-hint {
    margin-top: 0.12rem;
    font-size: 0.76rem;
    color: #9B8A7A;
}

.dp-lang-footer {
    border-top: 1px solid #F1E8E0;
    padding-top: 0.8rem;
}

.dp-lang-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    color: #8A6242;
    text-decoration: none;
    font-weight: 600;
}

.dp-lang-back-link:hover {
    color: #6B4A30;
}

.dp-lang-cookie-note {
    margin-top: 0.42rem;
    color: #9B8A7A;
    font-size: 0.78rem;
}

@@media (max-width: 575.98px) {
    .dp-lang-switcher {
        width: 100%;
        justify-content: center;
        gap: 0.4rem;
        padding: 0.4rem;
    }

    .dp-lang-switcher .dp-lang-option {
        min-width: 124px;
        padding: 0.4rem 0.55rem;
        font-size: 0.8rem;
    }

    .dp-lang-card {
        border-radius: 14px;
        padding: 1rem 0.85rem;
    }

    .dp-lang-card .dp-lang-option {
        min-height: 50px;
        padding: 0.52rem 0.65rem;
    }
}

/* =========================================================
   ABOUT PAGE
   ========================================================= */
.dp-about-page {
    background: #FAF6F2;
}

.dp-about-container {
    max-width: 1080px;
}

.dp-about-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.34rem 0.72rem;
    border-radius: 999px;
    border: 1px solid #E9DACA;
    color: #8A6242;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    background: #FFF;
}

.dp-about-title {
    margin: 0;
    color: #4E3624;
    font-size: clamp(1.7rem, 3.2vw, 2.5rem);
    font-weight: 800;
}

.dp-about-subtitle {
    margin: 0.4rem 0 0.7rem;
    font-size: 1rem;
    color: #8A7A6C;
}

.dp-about-intro {
    max-width: 780px;
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.7;
    color: #7C6C5E;
}

.dp-about-value-card {
    background: #fff;
    border: 1px solid #EFE4DB;
    border-radius: 18px;
    padding: 1.1rem 1rem;
    box-shadow: 0 8px 20px rgba(28, 25, 23, 0.05);
}

.dp-about-value-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #FBF4EE;
    color: #A9784F;
    font-size: 1rem;
    margin-bottom: 0.7rem;
}

.dp-about-value-title {
    margin: 0 0 0.34rem;
    font-size: 1rem;
    font-weight: 700;
    color: #5A4030;
}

.dp-about-value-text {
    margin: 0;
    color: #8B7A6C;
    font-size: 0.86rem;
    line-height: 1.6;
}

.dp-about-why {
    background: #fff;
    border: 1px solid #EFE4DB;
    border-radius: 18px;
    padding: 1.15rem 1.1rem;
    box-shadow: 0 8px 20px rgba(28, 25, 23, 0.04);
}

.dp-about-why-title {
    margin: 0 0 0.45rem;
    font-size: 1.08rem;
    font-weight: 700;
    color: #5A4030;
}

.dp-about-why-text {
    color: #7C6C5E;
    line-height: 1.68;
    font-size: 0.92rem;
}

.dp-about-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.38rem;
    background: linear-gradient(135deg, #C29A74 0%, #A9784F 100%);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.88rem;
    border-radius: 999px;
    padding: 0.62rem 1.1rem;
    box-shadow: 0 8px 18px rgba(169, 120, 79, 0.28);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dp-about-cta-btn:hover {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(169, 120, 79, 0.33);
}

/* =========================================================
   CONTACT PAGE
   ========================================================= */
.dp-contact-page {
    background: #FAF6F2;
}

.dp-contact-container {
    max-width: 1080px;
}

.dp-contact-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.34rem 0.72rem;
    border-radius: 999px;
    border: 1px solid #E9DACA;
    color: #8A6242;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    background: #FFF;
}

.dp-contact-title {
    margin: 0;
    color: #4E3624;
    font-size: clamp(1.7rem, 3.2vw, 2.5rem);
    font-weight: 800;
}

.dp-contact-subtitle {
    margin: 0.4rem 0 0;
    font-size: 1rem;
    color: #8A7A6C;
}

.dp-contact-success {
    border: 1px solid #D1FAE5;
    border-radius: 12px;
    background: #ECFDF5;
    color: #065F46;
    font-weight: 600;
}

.dp-contact-info-card,
.dp-contact-form-card {
    background: #fff;
    border: 1px solid #EFE4DB;
    border-radius: 18px;
    box-shadow: 0 8px 20px rgba(28, 25, 23, 0.05);
    padding: 1.1rem 1rem;
}

.dp-contact-card-title {
    margin: 0 0 0.85rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: #5A4030;
}

.dp-contact-info-item {
    display: flex;
    gap: 0.55rem;
    align-items: flex-start;
    margin-bottom: 0.8rem;
    color: #7C6C5E;
    font-size: 0.9rem;
}

.dp-contact-info-item i {
    color: #A9784F;
    font-size: 0.95rem;
    margin-top: 0.1rem;
}

.dp-contact-info-label {
    display: block;
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #9A8A7D;
    margin-bottom: 0.1rem;
}

.dp-contact-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: #7A5C45;
    margin-bottom: 0.3rem;
}

.dp-contact-input {
    border: 1px solid #E6D9CE;
    border-radius: 11px;
    padding: 0.6rem 0.75rem;
    font-size: 0.9rem;
    background: #FFFEFD;
}

.dp-contact-input:focus {
    border-color: #C29A74;
    box-shadow: 0 0 0 0.2rem rgba(194, 154, 116, 0.14);
}

.dp-contact-submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border: none;
    border-radius: 999px;
    padding: 0.58rem 1.05rem;
    font-weight: 700;
    font-size: 0.86rem;
    color: #fff;
    background: linear-gradient(135deg, #C29A74 0%, #A9784F 100%);
    box-shadow: 0 8px 18px rgba(169, 120, 79, 0.26);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dp-contact-submit-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(169, 120, 79, 0.31);
}

@media (max-width: 767px) {
    .dp-about-value-card,
    .dp-about-why,
    .dp-contact-info-card,
    .dp-contact-form-card {
        border-radius: 14px;
        padding: 0.95rem 0.9rem;
    }
}

/* ── Custom confirm modal ────────────────────────────────────────────── */
.dp-confirm-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(30, 18, 8, 0.45);
    backdrop-filter: blur(3px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    padding: 1rem;
}

.dp-confirm-overlay.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
.dp-confirm-panel {
    background: #fff;
    border-radius: 20px;
    padding: 2rem 1.75rem 1.6rem;
    max-width: 380px;
    width: 100%;
    box-shadow: 0 24px 60px rgba(30, 18, 8, 0.18);
    text-align: center;
    transform: translateY(12px) scale(0.97);
    transition: transform 0.22s cubic-bezier(.34,1.56,.64,1);
}

.dp-confirm-overlay.is-visible .dp-confirm-panel {
    transform: translateY(0) scale(1);
}

.dp-confirm-icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #FFF0F0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.dp-confirm-icon {
    font-size: 1.5rem;
    color: #d9363e;
}

.dp-confirm-title {
    font-size: 1rem;
    font-weight: 700;
    color: #2B1A0E;
    margin-bottom: 0.4rem;
}

.dp-confirm-text {
    font-size: 0.875rem;
    color: #7A746E;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.dp-confirm-actions {
    display: flex;
    gap: 0.75rem;
}

.dp-confirm-btn {
    flex: 1;
    padding: 0.6rem 1rem;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background 0.15s, transform 0.1s;
}

.dp-confirm-btn:active {
    transform: scale(0.97);
}

.dp-confirm-btn--cancel {
    background: #F5EDE6;
    color: #7A5C42;
}

.dp-confirm-btn--cancel:hover {
    background: #EDE0D6;
}

.dp-confirm-btn--danger {
    background: #d9363e;
    color: #fff;
}

.dp-confirm-btn--danger:hover {
    background: #bf2d35;
}
