/* prazer69.com */

:root {
    --bg: #121212;
    --bg2: #1b1b1b;
    --bg3: #242424;
    --red: #d4163c;
    --red2: #b8102f;
    --text: #ddd;
    --text2: #999;
    --text3: #666;
    --line: #2a2a2a;
    --font: 'Inter', system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--font); background: var(--bg); color: var(--text); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap { max-width: 1140px; margin: 0 auto; padding: 0 20px; }

/* ===================== HEADER ===================== */
.hdr { background: #0a0a0a; border-bottom: 2px solid var(--red); }
.hdr-top { display: flex; align-items: center; justify-content: space-between; height: 54px; }
.hdr-logo { font-size: 26px; font-weight: 700; letter-spacing: -1px; }
.hdr-logo b { color: var(--red); }
.hdr-right { display: flex; align-items: center; gap: 20px; }
.hdr-right a { font-size: 13px; color: var(--text2); transition: color .12s; }
.hdr-right a:hover { color: #fff; }
.hdr-post {
    background: var(--red);
    color: #fff !important;
    padding: 7px 18px;
    font-weight: 600;
    font-size: 13px;
    border-radius: 3px;
    transition: background .12s;
}
.hdr-post:hover { background: var(--red2); }

.hdr-nav { background: var(--bg2); border-bottom: 1px solid var(--line); }
.hdr-nav-inner { display: flex; gap: 0; overflow-x: auto; }
.hdr-nav-inner a {
    padding: 10px 16px;
    font-size: 13px;
    color: var(--text2);
    white-space: nowrap;
    border-right: 1px solid var(--line);
    transition: all .12s;
}
.hdr-nav-inner a:first-child { border-left: 1px solid var(--line); }
.hdr-nav-inner a:hover,
.hdr-nav-inner a.on { background: var(--bg3); color: #fff; }

/* ===================== CATEGORIES ===================== */
.cats { padding: 28px 0 20px; }
.cats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border: 1px solid var(--line);
    background: var(--bg2);
}
.cat-item {
    padding: 18px 20px;
    border-bottom: 1px solid var(--line);
}
.cat-item:nth-child(odd) { border-right: 1px solid var(--line); }
.cat-item:last-child, .cat-item:nth-last-child(2):nth-child(odd) { border-bottom: none; }

.cat-name {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.cat-name a { color: #fff; }
.cat-name a:hover { color: var(--red); }
.cat-cnt { color: var(--text3); font-weight: 400; font-size: 13px; }
.cat-ico {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}
.cat-ico-w { background: var(--red); }
.cat-ico-m { background: #3b82f6; }
.cat-ico-c { background: #a855f7; }
.cat-ico-e { background: #eab308; }
.cat-ico-t { background: #06b6d4; }
.cat-ico-o { background: var(--text3); }

.cat-subs { display: flex; flex-direction: column; gap: 2px; }
.cat-subs a {
    font-size: 13px;
    color: var(--text2);
    padding: 2px 0;
    display: flex;
    justify-content: space-between;
    transition: color .1s;
}
.cat-subs a:hover { color: var(--red); }
.cat-subs a span { color: var(--text3); font-size: 12px; }

/* ===================== DISTRICTS ===================== */
.districts {
    padding: 14px 0;
    background: var(--bg2);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.dist-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text3);
    margin-bottom: 8px;
    font-weight: 600;
}
.dist-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
}
.dist-list a {
    font-size: 12px;
    color: var(--text2);
    padding: 3px 10px;
    border-right: 1px solid var(--line);
    transition: color .1s;
}
.dist-list a:last-child { border-right: none; }
.dist-list a:hover,
.dist-list a.on { color: var(--red); }

/* ===================== ADS LIST ===================== */
.posts-sec { padding: 24px 0; }
.posts-title {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text2);
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--line);
}
.posts-title .hl { color: var(--red); }

/* List view - not grid! More like real classifieds */
.posts-list { display: flex; flex-direction: column; gap: 0; }

.post-row {
    display: flex;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    transition: background .1s;
}
.post-row:hover { background: var(--bg2); margin: 0 -10px; padding: 12px 10px; }
.post-row.featured { background: rgba(212, 22, 60, 0.06); border-left: 3px solid var(--red); padding-left: 12px; }

.post-thumb {
    width: 110px;
    height: 82px;
    flex-shrink: 0;
    background: var(--bg3);
    background-size: cover;
    background-position: center;
    border-radius: 2px;
}

.post-body { flex: 1; min-width: 0; }
.post-body h3 {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.post-body h3 a { color: #fff; }
.post-body h3 a:hover { color: var(--red); }
.post-desc {
    font-size: 12px;
    color: var(--text2);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 6px;
}
.post-meta { display: flex; gap: 14px; font-size: 14px; color: var(--text3); flex-wrap: wrap; align-items: center; }
.post-meta .loc { color: var(--text); font-weight: 500; }
.post-meta .loc:hover { color: var(--red); }
.post-badge-f {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    color: var(--red);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Grid view for when we want cards */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}
.post-card {
    background: var(--bg2);
    border: 1px solid var(--line);
    overflow: hidden;
    transition: border-color .12s;
}
.post-card:hover { border-color: var(--red); }
.post-card.featured { border-color: rgba(212,22,60,0.4); }
.post-card-link { display: block; color: inherit; }
.post-card-img {
    width: 100%;
    padding-top: 75%;
    background: var(--bg3);
    background-size: cover;
    background-position: center;
    position: relative;
}
.post-card-badge {
    position: absolute;
    top: 0;
    left: 0;
    background: var(--red);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.post-card-info { padding: 10px; }
.post-card-info h3 {
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.post-card-meta {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: var(--text3);
}
.post-card-cat { font-size: 11px; color: var(--red); margin-top: 4px; }

.more-btn {
    display: block;
    text-align: center;
    padding: 10px;
    font-size: 13px;
    color: var(--text2);
    border: 1px solid var(--line);
    margin-top: 16px;
    transition: all .12s;
}
.more-btn:hover { border-color: var(--red); color: var(--red); }

/* ===================== PAGINATION ===================== */
.pag { display: flex; justify-content: center; gap: 2px; margin: 24px 0; }
.pag a {
    min-width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: var(--text2);
    border: 1px solid var(--line);
    transition: all .12s;
}
.pag a:hover, .pag a.on { border-color: var(--red); color: var(--red); }
.pag-dots { color: var(--text3); padding: 0 4px; display: flex; align-items: center; font-size: 12px; }

/* ===================== AD DETAIL ===================== */
.detail { padding: 24px 0; }
.detail-layout { display: grid; grid-template-columns: 1fr 280px; gap: 20px; }
.detail-bc { font-size: 12px; color: var(--text3); margin-bottom: 14px; }
.detail-bc a { color: var(--text2); }
.detail-bc a:hover { color: var(--red); }

.gallery { background: #000; margin-bottom: 16px; }
.gallery-main {
    width: 100%;
    padding-top: 60%;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #000;
    position: relative;
}
.img-wa-btn {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: #128c7e;
    color: #fff;
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 3px;
    text-decoration: none;
    z-index: 5;
    transition: background .12s;
    display: flex;
    align-items: center;
    gap: 6px;
}
.img-wa-btn::before { content: "\2709"; }
.img-wa-btn:hover { background: #0e7a6e; color: #fff; }
.gallery-thumbs { display: flex; gap: 2px; padding: 4px; background: var(--bg2); }
.gallery-thumbs img {
    width: 60px; height: 60px; object-fit: cover; cursor: pointer;
    opacity: 0.5; transition: opacity .1s;
}
.gallery-thumbs img:hover, .gallery-thumbs img.active { opacity: 1; }

.detail-content { background: var(--bg2); border: 1px solid var(--line); padding: 20px; }
.detail-content h1 { font-size: 20px; font-weight: 600; margin-bottom: 10px; }
.detail-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.dtag { font-size: 11px; color: var(--text2); background: var(--bg3); padding: 3px 8px; }
.detail-text { font-size: 14px; line-height: 1.7; white-space: pre-wrap; word-break: break-word; }

.detail-side { display: flex; flex-direction: column; gap: 12px; }
.side-box { background: var(--bg2); border: 1px solid var(--line); padding: 16px; }
.side-box h3 { font-size: 14px; font-weight: 600; margin-bottom: 10px; }
.c-btn {
    display: block; width: 100%; padding: 9px; text-align: center;
    font-size: 13px; font-weight: 600; margin-bottom: 6px;
    border: none; cursor: pointer; font-family: var(--font);
    transition: opacity .12s; border-radius: 2px;
}
.c-btn:hover { opacity: 0.85; }

/* Profile details */
.profile-section-title { font-size: 14px; font-weight: 600; margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.5px; font-size: 12px; color: var(--text2); }
.profile-table { width: 100%; border-collapse: collapse; }
.profile-table tr { border-bottom: 1px solid var(--line); }
.profile-table tr:last-child { border-bottom: none; }
.pt-label { font-size: 12px; color: var(--text3); padding: 7px 0; width: 110px; font-weight: 500; }
.pt-value { font-size: 13px; color: var(--text); padding: 7px 0; }

.services-grid { display: flex; flex-wrap: wrap; gap: 6px; }
.svc-tag { font-size: 11px; padding: 4px 10px; background: var(--bg3); border: 1px solid var(--line); color: var(--text2); transition: all .12s; }
.svc-tag:hover { border-color: var(--red); color: var(--red); }
.c-phone { background: #25d366; color: #fff; }
.c-wa { background: #128c7e; color: #fff; }
.c-email { background: var(--bg3); color: var(--text); border: 1px solid var(--line); }

/* ===================== FORMS ===================== */
.form-sec { padding: 28px 0; }
.form-wrap {
    max-width: 640px;
    margin: 0 auto;
    background: var(--bg2);
    border: 1px solid var(--line);
    padding: 28px;
}
.form-wrap h1 { font-size: 20px; font-weight: 600; margin-bottom: 20px; }
.fg { margin-bottom: 16px; }
.fg label { display: block; font-size: 12px; color: var(--text2); margin-bottom: 4px; font-weight: 500; }
.fg input, .fg select, .fg textarea {
    width: 100%; padding: 9px 10px; background: var(--bg); border: 1px solid var(--line);
    color: var(--text); font-size: 13px; font-family: var(--font); transition: border-color .12s;
}
.fg input:focus, .fg select:focus, .fg textarea:focus { outline: none; border-color: var(--red); }
.fg textarea { min-height: 120px; resize: vertical; }
.fg select { cursor: pointer; }
.fg-note { font-size: 11px; color: var(--text3); margin-top: 3px; }
.fg-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.form-err {
    background: rgba(212,22,60,0.08);
    border: 1px solid var(--red);
    padding: 10px;
    margin-bottom: 16px;
    font-size: 13px;
}
.form-ok {
    background: rgba(37,211,102,0.08);
    border: 1px solid #25d366;
    padding: 10px;
    margin-bottom: 16px;
    font-size: 13px;
    color: #25d366;
}

.img-prev { display: flex; gap: 6px; margin-top: 6px; flex-wrap: wrap; }
.img-prev img { width: 70px; height: 70px; object-fit: cover; }

.submit-btn {
    width: 100%;
    padding: 11px;
    font-size: 15px;
    font-weight: 600;
    background: var(--red);
    color: #fff;
    border: none;
    cursor: pointer;
    font-family: var(--font);
    transition: background .12s;
}
.submit-btn:hover { background: var(--red2); }

/* ===================== BROWSE ===================== */
.browse-hdr { padding: 20px 0 12px; border-bottom: 1px solid var(--line); }
.browse-hdr h1 { font-size: 18px; font-weight: 600; }
.browse-hdr h1 span { color: var(--text3); font-weight: 400; }
.browse-hdr p { font-size: 13px; color: var(--text2); margin-top: 3px; }
.browse-hdr p a { color: var(--red); }

.browse-filters {
    display: flex;
    gap: 8px;
    padding: 12px 0;
    flex-wrap: wrap;
    border-bottom: 1px solid var(--line);
}
.browse-filters select, .browse-filters input {
    padding: 7px 10px; background: var(--bg2); border: 1px solid var(--line);
    color: var(--text); font-size: 12px; font-family: var(--font);
}
.browse-filters select:focus, .browse-filters input:focus { outline: none; border-color: var(--red); }
.filter-btn {
    padding: 7px 14px; background: var(--red); color: #fff; border: none;
    font-size: 12px; font-weight: 600; cursor: pointer; font-family: var(--font);
}

/* ===================== FOOTER ===================== */
.ftr { background: #0a0a0a; border-top: 1px solid var(--line); padding: 30px 0 20px; margin-top: 30px; }
.ftr-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.ftr-col h4 { font-size: 13px; font-weight: 600; margin-bottom: 10px; color: var(--text); text-transform: uppercase; letter-spacing: 0.5px; font-size: 11px; }
.ftr-col ul { list-style: none; }
.ftr-col li { padding: 2px 0; }
.ftr-col a { font-size: 12px; color: var(--text3); transition: color .1s; }
.ftr-col a:hover { color: var(--red); }
.ftr-copy { font-size: 11px; color: var(--text3); margin-top: 12px; }
.ftr-disc {
    margin-top: 20px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
    text-align: center;
    font-size: 11px;
    color: var(--text3);
}

/* ===================== FILTER BAR ===================== */
.filter-bar {
    background: var(--bg2);
    border-bottom: 1px solid var(--line);
    padding: 14px 0;
}
.filter-form {
    display: flex;
    gap: 12px;
    align-items: flex-end;
    flex-wrap: wrap;
}
.filter-group { display: flex; flex-direction: column; gap: 3px; }
.filter-group label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--text3);
    font-weight: 600;
}
.filter-group select,
.filter-group input {
    padding: 8px 10px;
    background: var(--bg);
    border: 1px solid var(--line);
    color: var(--text);
    font-size: 12px;
    font-family: var(--font);
    min-width: 160px;
    transition: border-color .12s;
}
.filter-group select:focus,
.filter-group input:focus { outline: none; border-color: var(--red); }
.filter-actions { flex-direction: row; gap: 8px; align-items: center; padding-bottom: 1px; }
.filter-reset { font-size: 11px; color: var(--text3); }
.filter-reset:hover { color: var(--red); }
.filter-check { display: flex; align-items: center; gap: 5px; font-size: 12px; color: var(--text2); cursor: pointer; white-space: nowrap; }
.filter-check input { accent-color: var(--red); }

.active-filters {
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 8px 0;
}
.active-filters .wrap { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.af-label { font-size: 11px; color: var(--text3); }
.af-tag {
    font-size: 11px;
    color: var(--text);
    background: var(--bg3);
    padding: 2px 8px;
    border: 1px solid var(--line);
    transition: all .12s;
}
.af-tag:hover { border-color: var(--red); color: var(--red); }

/* ===================== MOBILE ===================== */
.mob-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.mob-btn span { display: block; width: 20px; height: 2px; background: var(--text); }
.mob-nav {
    display: none;
    position: fixed; top: 54px; left: 0; right: 0; bottom: 0;
    background: var(--bg); z-index: 99; overflow-y: auto; padding: 16px;
}
.mob-nav a { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--text2); }
body.mopen .mob-nav { display: block; }

@media (max-width: 900px) {
    .posts-grid { grid-template-columns: repeat(3, 1fr); }
    .detail-layout { grid-template-columns: 1fr; }
    .detail-side { order: -1; }
}
@media (max-width: 700px) {
    .cats-grid { grid-template-columns: 1fr; }
    .cat-item { border-right: none !important; }
    .posts-grid { grid-template-columns: repeat(2, 1fr); }
    .ftr-grid { grid-template-columns: repeat(2, 1fr); }
    .fg-row { grid-template-columns: 1fr; }
    .hdr-nav { display: none; }
    .mob-btn { display: flex; }
    .hdr-right a:not(.hdr-post) { display: none; }
    .post-thumb { width: 80px; height: 60px; }
}
@media (max-width: 480px) {
    .posts-grid { grid-template-columns: 1fr; }
    .ftr-grid { grid-template-columns: 1fr; }
    .form-wrap { padding: 16px; }
}

/* ===================== LIGHTBOX ===================== */
.lightbox {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.95); z-index: 1000;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
}
.lightbox img {
    max-width: 90vw; max-height: 90vh; object-fit: contain;
    cursor: default;
}
.lb-close {
    position: absolute; top: 16px; right: 20px;
    font-size: 36px; color: #fff; cursor: pointer;
    line-height: 1; opacity: 0.7; transition: opacity .12s;
}
.lb-close:hover { opacity: 1; }
.lb-nav { position: absolute; top: 50%; width: 100%; display: flex; justify-content: space-between; padding: 0 10px; transform: translateY(-50%); pointer-events: none; }
.lb-prev, .lb-next {
    font-size: 72px; color: #fff; cursor: pointer; pointer-events: all;
    opacity: 0.7; transition: opacity .12s; user-select: none;
    background: rgba(0,0,0,0.4); padding: 10px 18px; border-radius: 4px;
}
.lb-prev:hover, .lb-next:hover { opacity: 1; background: rgba(0,0,0,0.7); }
.lb-cta {
    position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
    display: flex; gap: 12px; z-index: 1001;
}
.lb-msg {
    display: inline-block; padding: 14px 32px; background: #128c7e; color: #fff;
    font-size: 17px; font-weight: 700; border-radius: 4px; text-decoration: none;
    transition: background .12s; letter-spacing: 0.3px;
}
.lb-msg:hover { background: #0e7a6e; color: #fff; }
.lb-call {
    display: inline-block; padding: 14px 32px; background: #25d366; color: #fff;
    font-size: 17px; font-weight: 700; border-radius: 4px; text-decoration: none;
    transition: background .12s; letter-spacing: 0.3px;
}
.lb-call:hover { background: #1fb855; color: #fff; }

/* ===================== CLICKABLE LOCATION ===================== */


.detail-tags .dtag a { color: inherit; }
.detail-tags .dtag a:hover { color: var(--red); }
