/* Minimal marketplace theme — shared across public and account pages. */
:root, [data-theme="light"] {
    --brand-dark: #173e31;
    --brand-main: #196b4d;
    --brand-soft: #e8f4ea;
    --brand-border: #c9e0ce;
    --accent: #df7850;
    --bg-page: #f8f9f5;
    --bg-card: #fff;
    --bg-section: #f2f6f0;
    --text-primary: #1c382b;
    --text-secondary: #4c6053;
    --text-muted: #62766a;
    --border: #e3ebe3;
    --page-bg: #f8f9f5;
    --surface: #fff;
    --surface-soft: #f2f6f0;
    --ink: #1c382b;
    --muted: #62766a;
    --line: #e3ebe3;
    --shadow-sm: 0 3px 12px rgba(30, 67, 45, .05);
    --shadow-md: 0 14px 35px rgba(30, 67, 45, .09);
    --nav-solid-color: #fff;
    --light-color: #f8f9f5;
    --dark-color: #1c382b;
    --primary-color: #196b4d;
    --secondary-color: #18573f;
    --accent-color: #df7850;
    --bs-primary: #196b4d;
    --bs-primary-rgb: 25, 107, 77;
    --bs-link-color: #196b4d;
}
[data-theme="dark"] {
    --brand-dark: #d1e9d7;
    --brand-main: #70c69b;
    --brand-soft: #203f31;
    --brand-border: #355943;
    --bg-page: #111d19;
    --bg-card: #1b2c24;
    --bg-section: #22372c;
    --text-primary: #eef7ed;
    --text-secondary: #cad8cc;
    --text-muted: #afc7b6;
    --border: #365144;
    --page-bg: #111d19;
    --surface: #1b2c24;
    --surface-soft: #22372c;
    --ink: #eef7ed;
    --muted: #afc7b6;
    --line: #365144;
    --nav-solid-color: #1b2c24;
    --light-color: #111d19;
    --dark-color: #eef7ed;
    --primary-color: #70c69b;
    --secondary-color: #9dd7b3;
    --bs-primary: #70c69b;
    --bs-primary-rgb: 112, 198, 155;
    --bs-link-color: #70c69b;
}
html { scroll-behavior: smooth; }
body, [data-theme="dark"] body { background: var(--page-bg) !important; color: var(--ink) !important; font-family: Inter, system-ui, sans-serif; padding-bottom: 0; }
h1, h2, h3, h4, h5, h6 { color: var(--ink); letter-spacing: -.025em; }
a:not(.btn) { text-underline-offset: 3px; }
.text-muted, .text-secondary:not(.btn) { color: var(--muted) !important; }
.bg-white, .bg-light, .bg-body { background-color: var(--surface) !important; }
.container { max-width: 1296px; }
.container-fluid { max-width: 1360px; margin-inline: auto; padding-inline: clamp(16px, 3vw, 32px); }
@media (min-width: 768px) and (max-width: 1399.98px) { .container { max-width: 1160px; } }

/* Consistent controls, cards, menus and data surfaces. */
.card, .listing-header, .image-gallery, .contact-card, .feature-item, .modal-content, .accordion-item {
    background: var(--surface) !important; color: var(--ink) !important;
    border: 1px solid var(--line) !important; border-radius: 16px !important;
    box-shadow: var(--shadow-sm) !important;
    transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.card:hover { box-shadow: var(--shadow-md) !important; }
.card-header, .card-footer { background: var(--surface-soft); border-color: var(--line); }
.card-header:first-child { border-radius: 15px 15px 0 0 !important; }
.card-header.bg-primary, .card-header.bg-success { background: #196b4d !important; color: #fff !important; }
.card-header.bg-primary *, .card-header.bg-success * { color: #fff !important; }
.btn { border-radius: 11px !important; font-weight: 600; transition: background .18s ease, border-color .18s ease, box-shadow .18s ease; }
.btn-primary, .btn-success, .btn-ilan-ver { color: #fff !important; background: #196b4d !important; border-color: #196b4d !important; }
.btn-primary:hover, .btn-success:hover, .btn-ilan-ver:hover { color: #fff !important; background: #124a36 !important; border-color: #124a36 !important; }
.btn-outline-primary, .btn-outline-success { color: var(--brand-main) !important; border-color: var(--brand-border) !important; }
.btn-outline-primary:hover, .btn-outline-success:hover { color: #fff !important; background: #196b4d !important; border-color: #196b4d !important; }
.form-control, .form-select, .input-group-text, textarea { background: var(--surface) !important; border-color: var(--line) !important; color: var(--ink) !important; border-radius: 10px !important; }
.form-control::placeholder { color: var(--muted); opacity: .85; }
.form-control:focus, .form-select:focus { border-color: #196b4d !important; box-shadow: 0 0 0 3px rgba(25,107,77,.13) !important; }
.form-label, .form-check-label { color: var(--ink) !important; }
.form-check-input:checked { background-color: #196b4d; border-color: #196b4d; }
.table, .table td, .table th, .list-group-item, .accordion-button, .dropdown-menu, .dropdown-item { background: var(--surface) !important; color: var(--ink) !important; border-color: var(--line) !important; }
.table thead th { background: var(--surface-soft) !important; font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; }
.table tbody tr:hover td, .list-group-item:hover, .dropdown-item:hover, .dropdown-item:focus { background: var(--surface-soft) !important; }
.dropdown-menu { border: 1px solid var(--line) !important; border-radius: 14px !important; box-shadow: var(--shadow-md) !important; padding: 8px; }
.dropdown-item { border-radius: 8px; padding: 9px 12px; }
.breadcrumb { font-size: .875rem; }
.breadcrumb-item a { color: var(--brand-main); }
.breadcrumb-item.active { color: var(--muted); }
.alert { border-radius: 12px; }
.badge.bg-primary, .badge.bg-success { background: #196b4d !important; color: #fff !important; }
.badge.bg-primary-subtle { background: var(--brand-soft) !important; color: var(--brand-main) !important; }

/* Quiet header shared by all routed pages. */
nav.navbar, .mobile-top-bar { background: var(--surface) !important; border-bottom: 1px solid var(--line); box-shadow: none !important; }
nav.navbar { min-height: 76px; padding: 12px 0; }
nav.navbar .container { gap: 28px; }
nav.navbar .navbar-brand, .mobile-logo { display: inline-flex; align-items: center; gap: 10px; color: var(--brand-dark) !important; font-size: 1.4rem; font-weight: 800; letter-spacing: -.055em; white-space: nowrap; }
.brand-mark { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 12px; background: var(--brand-soft); color: #196b4d; font-size: 16px; letter-spacing: 0; }
nav.navbar .navbar-nav { align-items: center; gap: 5px; }
nav.navbar .navbar-nav .nav-link { color: var(--text-secondary) !important; font-size: .92rem; margin: 0 !important; padding: 9px 12px; border-radius: 10px; line-height: 1.25; transform: none !important; }
nav.navbar .navbar-nav .nav-link:hover, nav.navbar .navbar-nav .nav-link.active { color: var(--brand-main) !important; background: var(--brand-soft); }
nav.navbar .navbar-nav .modern-header-cta, nav.navbar .navbar-nav .modern-header-cta.active { background: #196b4d !important; border: 1px solid #196b4d; color: #fff !important; padding: 11px 21px; font-weight: 700; }
nav.navbar .navbar-nav .modern-header-cta:hover { color: #fff !important; background: #124a36 !important; }
.mobile-top-bar { color: var(--ink) !important; box-shadow: none !important; min-height: 60px; }
.mobile-logo { font-size: 1.08rem !important; }
.mobile-top-bar .btn-outline-light, .mobile-drawer-header .btn-outline-light { border-color: var(--line) !important; color: var(--ink) !important; }
.mobile-drawer { background: var(--surface) !important; }
.mobile-drawer-header { background: var(--surface) !important; border-bottom: 1px solid var(--line); color: var(--ink) !important; }
.mobile-drawer-title, .mobile-drawer-link { color: var(--ink) !important; }
.mobile-drawer-link.active, .mobile-drawer-link:hover { background: var(--brand-soft) !important; color: var(--brand-main) !important; }
.bottom-nav { background: var(--surface) !important; box-shadow: 0 -8px 24px rgba(27,66,40,.06) !important; border-color: var(--line) !important; }
.bottom-nav-item, .bottom-nav-item span { color: var(--muted) !important; }
.bottom-nav-item.active, .bottom-nav-item.active span { color: var(--brand-main) !important; }
.bottom-nav-item.bottom-nav-center, .bottom-nav-item.bottom-nav-center.active { background: #196b4d !important; color: #fff !important; }
.bottom-nav-item.bottom-nav-center span, .bottom-nav-item.bottom-nav-center i { color: #fff !important; }
.bottom-nav-item.bottom-nav-center { box-shadow: 0 6px 16px rgba(23, 62, 49, 0.28) !important; border: 3px solid var(--surface) !important; cursor: pointer; }
.bottom-nav-item.bottom-nav-center:hover, .bottom-nav-item.bottom-nav-center:focus-visible { background: #124a36 !important; }

/* İlan ver seçim sayfası (form / WhatsApp) */
.create-listing-sheet { position: fixed; inset: 0; z-index: 1200; }
.create-listing-sheet-backdrop { position: absolute; inset: 0; background: rgba(17, 29, 25, .45); opacity: 0; transition: opacity .2s ease; }
.create-listing-sheet-panel { position: absolute; left: 0; right: 0; bottom: 0; background: var(--surface); border-radius: 20px 20px 0 0; padding: 10px 20px calc(20px + env(safe-area-inset-bottom)); transform: translateY(100%); transition: transform .25s ease; box-shadow: 0 -16px 40px rgba(17,29,25,.18); }
.create-listing-sheet.open .create-listing-sheet-backdrop { opacity: 1; }
.create-listing-sheet.open .create-listing-sheet-panel { transform: translateY(0); }
.create-listing-sheet-handle { width: 40px; height: 4px; border-radius: 4px; background: var(--line); margin: 8px auto 14px; }
.create-listing-sheet-title { font-size: 1.05rem; font-weight: 700; text-align: center; margin-bottom: 16px; color: var(--ink); }
.create-listing-option { display: flex; align-items: center; gap: 14px; padding: 14px 10px; border-radius: 14px; text-decoration: none; color: var(--ink); transition: background .15s ease; }
.create-listing-option:hover { background: var(--surface-soft); }
.create-listing-option + .create-listing-option { margin-top: 4px; }
.create-listing-option-icon { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; flex-shrink: 0; font-size: 1.15rem; }
.create-listing-option-icon-form { background: var(--brand-soft); color: var(--brand-main); }
.create-listing-option-icon-wa { background: #e3f6ea; color: #25a85a; }
.create-listing-option-text { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.create-listing-option-text strong { font-size: .95rem; }
.create-listing-option-text small { color: var(--muted); font-size: .8rem; }
.create-listing-option-arrow { color: var(--muted); font-size: .85rem; }
.create-listing-sheet-cancel { width: 100%; margin-top: 14px; padding: 12px; border: 0; background: var(--surface-soft); color: var(--text-secondary); border-radius: 12px; font-weight: 600; }
body.create-listing-sheet-open { overflow: hidden; }
[data-theme="dark"] .create-listing-option-icon-wa { background: #15362399; color: #4fd080; }

/* Approved homepage direction. */
.search-section.home-search-hero { position: relative; isolation: isolate; margin: 26px auto 0; width: min(calc(100% - 40px), 1296px); border: 0 !important; border-radius: 24px; background: linear-gradient(115deg,#edf5ed,#dcecdf) !important; overflow: visible; padding: 38px 0 28px !important; }
.home-search-hero::before { content: ""; position: absolute; z-index: -1; right: 0; bottom: 0; width: 35%; height: 88%; background: url('/static/images/hero-pasture.svg') right bottom / contain no-repeat; pointer-events: none; }
.home-search-hero .container { width: 100%; max-width: none; padding-inline: clamp(22px, 3vw, 42px); }
.home-search-hero .text-center { text-align: left !important; position: relative; z-index: 1; }
.home-eyebrow { color: #306c51 !important; letter-spacing: .14em; font-size: .78rem; }
.home-hero-title { color: #173e31 !important; max-width: 700px; font-size: clamp(1.8rem, 3.3vw, 2.65rem); letter-spacing: -.04em; margin: 0 0 13px; }
.home-hero-subtitle { color: #52675a !important; max-width: 680px; }
.home-search-hero form { position: relative; z-index: 2; margin-top: 35px; background: #fff !important; padding: 14px; border: 1px solid #e1eae0; border-radius: 15px; box-shadow: var(--shadow-md); }
.home-search-hero form .form-control, .home-search-hero form .form-select { background: #fff !important; color: #1c382b !important; }
.home-search-hero form .input-group-text { background: #fff !important; color: #62766a; }
.home-search-hero form .btn-success { min-height: 44px; }
.home-category-section { margin-top: 36px; }
.home-category-title, .home-section-title { font-size: clamp(1.15rem, 1.8vw, 1.5rem); font-weight: 750; letter-spacing: -.025em; }
.home-category-grid.category-strip { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; padding: 0; background: transparent; border: 0; overflow: visible; }
.home-category-grid .cat-chip { min-height: 76px; padding: 14px 17px; border: 1px solid var(--line); background: var(--surface); border-radius: 14px; font-size: .98rem; font-weight: 650; color: var(--ink); white-space: normal; box-shadow: var(--shadow-sm); }
.home-category-grid .cat-chip i, .home-category-grid .cat-chip img { display: inline-grid; place-items: center; flex-shrink: 0; width: 38px; height: 38px; border-radius: 12px; background: var(--brand-soft); color: var(--brand-main); }
.home-category-grid .cat-chip::after { content: "→"; margin-left: auto; font-size: 1.2rem; font-weight: 400; color: var(--brand-main); }
.home-category-grid .cat-chip:hover { border-color: var(--brand-border); background: var(--surface); transform: translateY(-2px); }
.recent-listings { background: transparent !important; padding-block: 48px 24px !important; }
.recent-listings .row { row-gap: 18px !important; column-gap: 0; }
.recent-listings .listing-card, .listing-card { border-radius: 15px !important; overflow: hidden; }
.listing-card .listing-image-container { height: 175px !important; background: var(--surface-soft); }
.listing-card .listing-image { object-fit: cover !important; }
.recent-listings .home-listing-title { font-size: .95rem !important; }
.recent-listings .listing-price-label { font-size: 1.16rem !important; color: var(--brand-main) !important; }
.recent-listings .btn-outline-primary { border: 0 !important; padding-right: 0; white-space: nowrap; flex-shrink: 0; }
.seller-verified-tag { display: inline-flex; align-items: center; gap: 4px; font-size: .72rem; font-weight: 650; color: var(--brand-main); }
.seller-verified-tag i { font-size: .72rem; }

/* Arama kutusu önerileri (son aramalar / popüler aramalar / otomatik tamamlama) */
.search-suggestions {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    z-index: 50;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,.15);
    max-height: 340px;
    overflow-y: auto;
    display: none;
    padding: 6px 0;
}
[data-theme="dark"] .search-suggestions {
    background: #1b2c24;
    box-shadow: 0 10px 30px rgba(0,0,0,.4);
}
.suggestion-group-label {
    padding: 8px 14px 4px;
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .03em;
    color: #8a9a92;
}
.suggestion-item {
    display: flex;
    align-items: center;
    padding: 9px 14px;
    font-size: .92rem;
    cursor: pointer;
    gap: 2px;
}
.suggestion-item:hover {
    background: var(--bg-section, #f1f5f9);
}
[data-theme="dark"] .suggestion-item:hover {
    background: rgba(255,255,255,.06);
}
.suggestion-item .suggestion-text {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.suggestion-item .suggestion-count {
    font-size: .75rem;
    color: #8a9a92;
    margin-left: 6px;
}
.suggestion-item .suggestion-remove {
    opacity: .5;
    padding: 4px 2px 4px 10px;
    font-size: .8rem;
}
.suggestion-item .suggestion-remove:hover {
    opacity: 1;
    color: #c23b3b;
}
.suggestion-item.suggestion-empty {
    color: #8a9a92;
    cursor: default;
    justify-content: center;
}
.suggestion-item.suggestion-empty:hover {
    background: transparent;
}

/* Favori butonu + swipe geri bildirimi */
.favorite-btn { position: absolute; top: 8px; right: 8px; z-index: 3; width: 34px; height: 34px; border: 0; border-radius: 50%; background: rgba(255,255,255,.92); color: #c23b3b; display: grid; place-items: center; font-size: .95rem; box-shadow: 0 2px 8px rgba(0,0,0,.15); transition: transform .15s ease; }
.favorite-btn:hover { transform: scale(1.08); }
.favorite-btn.favorited { color: #e23b55; }
.favorite-btn.is-loading { opacity: .6; pointer-events: none; }
[data-theme="dark"] .favorite-btn { background: rgba(27,44,36,.9); }
.listing-card, .home-listing-card { position: relative; touch-action: pan-y; }
.listing-card.swiping-favorite::before, .home-listing-card.swiping-favorite::before {
    content: "\f004"; font-family: "Font Awesome 6 Free"; font-weight: 900;
    position: absolute; inset: 0; left: -56px; display: grid; place-items: center;
    width: 56px; color: #fff; background: #e23b55; border-radius: 14px 0 0 14px; font-size: 1.3rem; z-index: 1;
}

/* İlan detayı: şikayet et linki */
.report-listing-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: .82rem;
    color: #8a9a92;
    text-decoration: none;
}
.report-listing-link:hover {
    color: #c23b3b;
    text-decoration: underline;
}
[data-theme="dark"] .report-listing-link {
    color: #9fb3a9;
}
[data-theme="dark"] .report-listing-link:hover {
    color: #e97a7a;
}

/* İlan detayı: satıcı meta bilgileri (üyelik tarihi / ilan sayısı) */
.seller-meta-list {
    list-style: none;
    padding: 0;
    margin: 0 0 12px;
    font-size: .86rem;
    color: #5c6b63;
}
.seller-meta-list li {
    padding: 3px 0;
}
[data-theme="dark"] .seller-meta-list {
    color: #b9c7bf;
}
.tools-section { background: var(--page-bg) !important; }
.how-it-works-section { padding-block: 44px 20px; }
.how-step { text-align: center; padding: 10px 14px; }
.how-step-number { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--brand-main); color: #fff; font-weight: 750; font-size: 1.2rem; margin-bottom: 14px; }
.how-step-title { font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; }
.how-step-text { color: var(--muted); font-size: .9rem; margin-bottom: 0; }
.tools-section .card .text-white { color: var(--ink) !important; }
.tools-section .card .fa-whatsapp { color: var(--brand-main) !important; }
.category-card-hover .card-body { padding: 26px 18px !important; }
.category-card-hover .category-icon { display: inline-grid; place-items: center; width: 64px; height: 64px; background: var(--brand-soft); border-radius: 17px; margin-inline: auto; margin-bottom: 16px !important; }
.category-card-hover .category-icon i { font-size: 1.9rem !important; color: var(--brand-main) !important; }
.category-card-hover .card-footer img { border-radius: 10px; }
.listing-progress-wrap .listing-step-pill.active { background: var(--brand-soft); border-color: var(--brand-border); color: var(--brand-main); }
.listing-header, .contact-card, .image-gallery { padding: clamp(18px, 2vw, 26px); }
.related-section-title { font-size: clamp(1.1rem, 1.7vw, 1.35rem); font-weight: 750; display: flex; align-items: center; gap: 10px; }
.related-section-title i { color: var(--brand-main); }
.related-listing-card { overflow: hidden; }
.related-listing-title { font-size: .86rem; font-weight: 600; color: var(--ink); line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.3em; }
.related-listing-price { color: var(--brand-main) !important; font-weight: 700; font-size: .95rem; }
.listing-title { font-size: clamp(1.5rem, 2.3vw, 2rem); }
.price-tag { background: #196b4d !important; }
.page-intro { margin-block: 16px 26px; }
.profile-avatar { display: inline-grid; place-items: center; width: 80px; height: 80px; border-radius: 50%; background: var(--brand-soft); color: var(--brand-main); font-size: 2rem; font-weight: 750; }
.notification-unread { background: var(--brand-soft) !important; }
.unread-dot { background: var(--accent) !important; border-radius: 50%; }
.unread-count-badge { background: var(--accent) !important; color: #fff !important; }
.notification-type-badge { background: var(--surface-soft) !important; color: var(--text-secondary) !important; border: 1px solid var(--line); }
.page-intro h1 { font-weight: 750; font-size: clamp(1.55rem, 2.5vw, 2.15rem); }
.page-intro p { color: var(--muted); margin-bottom: 0; }
.search-layout .card { box-shadow: var(--shadow-sm) !important; }
.active-filter-chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.filter-chip { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 20px; background: var(--brand-soft); color: var(--brand-main); font-size: .84rem; font-weight: 600; text-decoration: none; border: 1px solid var(--brand-border); transition: background .15s ease; }
.filter-chip:hover { background: var(--brand-border); color: var(--brand-main); }
.filter-chip i { font-size: .72rem; }
.filter-chip-clear { background: transparent; border-color: var(--line); color: var(--muted); }
.filter-chip-clear:hover { background: var(--surface-soft); color: var(--ink); }
.auth-page .card { max-width: 520px; margin: auto; }
.register-page .card { max-width: 720px; }
.auth-page .card-body { padding: clamp(22px, 4vw, 42px) !important; }
.auth-page .auth-mark { display: inline-grid; place-items: center; width: 62px; height: 62px; border-radius: 18px; background: var(--brand-soft); color: var(--brand-main); }
.admin-auth-page .card { max-width: calc(100vw - 32px); }
.admin-auth-page .card-header.bg-danger { background: #196b4d !important; color: #fff !important; }
.admin-auth-page .card-header h4 { color: #fff; margin: 0; }
.admin-shell { background: var(--page-bg); }
.admin-shell > .container-fluid { max-width: none; padding-inline: 0; }
.admin-shell .sidebar { background: #173e31; }
.admin-shell .sidebar .nav-link { color: #d9e9dc; }
.admin-shell .sidebar .nav-link:hover, .admin-shell .sidebar .nav-link.active { color: #fff; background: rgba(255,255,255,.13); transform: none; }
.admin-shell .content-area { background: var(--page-bg); }
.admin-shell .user-avatar { background: #196b4d; }
.admin-shell .table-actions, .admin-shell .chart-container { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.admin-shell .stat-card { border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.admin-shell .stat-card:hover { transform: none; }
footer.bg-dark { background: #173e31 !important; border-top: 0; }
footer h5, footer h6 { color: #fff !important; }
footer a { color: #d6ecdb !important; }
footer .text-warning { color: #d6ecdb !important; }
:where(a,button,input,select,textarea):focus-visible { outline: 3px solid #d58c5f !important; outline-offset: 3px; }

[data-theme="dark"] .home-search-hero { background: linear-gradient(115deg,#254334,#294c38) !important; }
[data-theme="dark"] .home-hero-title { color: #f1f7ee !important; }
[data-theme="dark"] .home-hero-subtitle, [data-theme="dark"] .home-eyebrow { color: #d1e6d3 !important; }
[data-theme="dark"] .home-search-hero form { background: var(--surface) !important; }
[data-theme="dark"] .home-search-hero form .form-control, [data-theme="dark"] .home-search-hero form .form-select, [data-theme="dark"] .home-search-hero form .input-group-text { background: var(--surface) !important; color: var(--ink) !important; }
[data-theme="dark"] nav.navbar, [data-theme="dark"] .mobile-top-bar { background: var(--surface) !important; }
[data-theme="dark"] .brand-mark { background: var(--brand-soft); color: var(--brand-main); }
[data-theme="dark"] .card-header.bg-primary, [data-theme="dark"] .card-header.bg-success { background: #196b4d !important; }
[data-theme="dark"] footer.bg-dark { background: #14271d !important; }
#pwa-install-btn { display: none !important; }
@media (min-width: 768px) { #pwaInstallBanner { display: none !important; } }
@media (max-width: 991.98px) {
    .home-category-grid.category-strip { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .home-search-hero::before { opacity: .35; width: 45%; }
}
@media (max-width: 767.98px) {
    body { padding-top: 60px; padding-bottom: 72px !important; }
    .container { max-width: none; padding-inline: 16px; }
    .search-section.home-search-hero { width: calc(100% - 24px); margin-top: 12px; padding: 26px 0 20px !important; border-radius: 18px; }
    .home-search-hero .container { padding-inline: 18px; }
    .home-search-hero::before { width: 45%; opacity: .22; }
    .home-search-hero .text-center { margin-bottom: 8px !important; }
    .home-search-hero form { margin-top: 22px; padding: 12px; }
    .home-search-hero .form-select { padding-left: .5rem; padding-right: 1.35rem; background-size: 10px 7px; font-size: .81rem; }
    .home-category-section { margin-top: 25px; }
    .home-category-grid.category-strip { gap: 9px; }
    .home-category-grid .cat-chip { min-height: 62px; padding: 10px; font-size: .83rem; }
    .home-category-grid .cat-chip i { width: 32px; height: 32px; }
    .recent-listings { padding-top: 31px !important; }
    .listing-card .listing-image-container { height: 144px !important; }
    .recent-listings .home-listing-title { font-size: .83rem !important; }
    .auth-page .card-body { padding: 22px !important; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; scroll-behavior: auto !important; transition-duration: .01ms !important; } }
