/* ═══════════════════════════════════════════════════════
   ADS4ME — Main Stylesheet
═══════════════════════════════════════════════════════ */

/* ── CSS Variables ── */
:root {
    --ink:      #131921;
    --ink2:     #232F3E;
    --ink3:     #37475A;
    --amber:    #F5A623;
    --amber-dk: #C8810F;
    --amber-lt: #FFF8EC;
    --green:    #00A651;
    --green-dk: #007A3D;
    --green-lt: #E6F7EF;
    --bg:       #F2F4F6;
    --white:    #FFFFFF;
    --text:     #0F1111;
    --muted:    #6B7280;
    --border:   #E2E5E9;
    --sh:       0 1px 4px rgba(0,0,0,.07);
    --sh-md:    0 4px 18px rgba(0,0,0,.11);
    --sh-lg:    0 8px 32px rgba(0,0,0,.15);
    --r:        14px;
}

/* ── Reset ── */
* { margin:0; padding:0; box-sizing:border-box; }
body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; }

/* ═══════════════════════════════════════════════════════
   HEADER
═══════════════════════════════════════════════════════ */
.hdr {
    background: var(--ink);
    position: sticky;
    top: 0;
    z-index: 200;
    box-shadow: 0 2px 14px rgba(0,0,0,.35);
}
.hdr-in {
    max-width: 1380px;
    margin: 0 auto;
    padding: 0 20px;
    height: 58px;
    display: flex;
    align-items: center;
    gap: 14px;
}

/* Logo */
.logo {
    text-decoration: none;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    padding: 4px 7px;
    border: 1.5px solid transparent;
    border-radius: 5px;
    transition: .15s;
}
.logo:hover { border-color: rgba(255,255,255,.4); }
.lw {
    font-family: 'Outfit', sans-serif;
    font-weight: 900;
    font-size: 26px;
    color: white;
    letter-spacing: -1px;
}
.li {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 31px;
    height: 31px;
    background: var(--green);
    border-radius: 9px;
    position: relative;
    margin: 0 1px;
    vertical-align: middle;
    flex-shrink: 0;
}
.li-smile {
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 14px; height: 7px;
    border: 2px solid rgba(255,255,255,.85);
    border-top: none;
    border-radius: 0 0 9px 9px;
}
.li-n {
    font-family: 'Outfit', sans-serif;
    font-weight: 900;
    font-size: 16px;
    color: white;
    position: relative;
    z-index: 1;
    margin-top: 6px;
}
.li-eyes {
    position: absolute;
    top: 5px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    padding: 0 7px;
    pointer-events: none;
    z-index: 4;
}
.li-eye {
    width: 4px;
    height: 4px;
    background: rgba(255,255,255,.85);
    border-radius: 50%;
    animation: logo-blink 4s ease-in-out infinite;
}
.li-eye:nth-child(2) { animation-delay: 0.05s; }
@keyframes logo-blink {
    0%, 88%, 100% { transform: scaleY(1); }
    92%            { transform: scaleY(0.08); }
}
.lme { color: var(--green); }

/* Search Bar */
.srch {
    flex: 1;
    display: flex;
    height: 40px;
    border-radius: 7px;
    overflow: hidden;
    max-width: 820px;
    transition: box-shadow .2s;
}
.srch:focus-within { box-shadow: 0 0 0 2px var(--amber); }
.srch-cat {
    background: #F3F3F3;
    border: none;
    padding: 0 12px;
    font-family: inherit;
    font-size: 12px;
    color: var(--text);
    cursor: pointer;
    border-right: 1px solid #D5D5D0;
    outline: none;
    min-width: 110px;
}
.srch-in {
    flex: 1;
    border: none;
    outline: none;
    padding: 0 15px;
    font-family: inherit;
    font-size: 14px;
    background: white;
}
.srch-in::placeholder { color: #bbb; }
.srch-btn {
    background: var(--amber);
    border: none;
    padding: 0 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: inherit;
    font-weight: 700;
    font-size: 13px;
    color: var(--ink);
    transition: .2s;
}
.srch-btn:hover { background: var(--amber-dk); }
.srch-btn svg {
    width: 18px; height: 18px;
    fill: none;
    stroke: var(--ink);
    stroke-width: 2.5;
    stroke-linecap: round;
}

/* Header Right */
.hdr-right {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.hdr-link {
    color: rgba(255,255,255,.75);
    font-size: 11.5px;
    padding: 5px 9px;
    border: 1.5px solid transparent;
    border-radius: 4px;
    cursor: pointer;
    background: none;
    font-family: inherit;
    transition: .15s;
    white-space: nowrap;
}
.hdr-link:hover { border-color: rgba(255,255,255,.45); color: white; }
.hdr-link strong { display: block; font-size: 13px; color: white; font-weight: 700; }
.btn-post {
    background: var(--amber);
    color: var(--ink);
    border: none;
    padding: 10px 22px;
    border-radius: 8px;
    font-family: 'Outfit', sans-serif;
    font-weight: 900;
    font-size: 15px;
    cursor: pointer;
    transition: .2s;
    white-space: nowrap;
    box-shadow: 0 2px 10px rgba(245,166,35,.4);
    display: flex;
    align-items: center;
    gap: 7px;
}
.btn-post:hover {
    background: var(--amber-dk);
    transform: translateY(-1px);
    box-shadow: 0 4px 18px rgba(245,166,35,.5);
}

/* ── Hamburger ── */
.hdr-burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 38px;
    height: 38px;
    background: rgba(255,255,255,.1);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    flex-shrink: 0;
    padding: 0;
    transition: .2s;
}
.hdr-burger:hover { background: rgba(255,255,255,.2); }
.hdr-burger span {
    display: block;
    width: 20px;
    height: 2px;
    background: white;
    border-radius: 2px;
}

/* ── Mobile right icons ── */
.hdr-mobile-right {
    display: none;
    align-items: center;
    gap: 4px;
    margin-left: auto;
    flex-shrink: 0;
}
.hdr-icon-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: rgba(255,255,255,.1);
    border-radius: 8px;
    font-size: 17px;
    color: white;
    text-decoration: none;
    transition: .2s;
}
.hdr-icon-btn:hover { background: rgba(255,255,255,.2); }

/* ── Mobile search bar ── */
.mobile-search-wrap {
    display: none;
    background: var(--ink);
    padding: 0 12px 10px;
}
.mobile-search {
    display: flex;
    align-items: center;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    height: 40px;
}
.mobile-search-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin: 0 10px;
    fill: none;
    stroke: var(--muted);
    stroke-width: 2.5;
    stroke-linecap: round;
}
.mobile-search input {
    flex: 1;
    border: none;
    outline: none;
    font-family: inherit;
    font-size: 14px;
    color: var(--text);
    background: transparent;
    padding: 0 12px 0 0;
    height: 100%;
}
.mobile-search input::placeholder { color: #bbb; }

/* ═══════════════════════════════════════════════════════
   CATEGORY NAV
═══════════════════════════════════════════════════════ */
.cat-nav {
    background: white;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.cat-nav-in {
    max-width: 1380px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    overflow-x: auto;
    height: 44px;
    align-items: center;
    scrollbar-width: none;
}
.cat-nav-in::-webkit-scrollbar { display: none; }
.cat-link {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 0 13px;
    height: 44px;
    font-size: 13px;
    font-weight: 600;
    color: var(--muted);
    cursor: pointer;
    white-space: nowrap;
    border-bottom: 2.5px solid transparent;
    transition: .15s;
    flex-shrink: 0;
    text-decoration: none;
}
.cat-link:hover { color: var(--text); }
.cat-link.act {
    color: var(--ink);
    border-bottom-color: var(--amber);
    font-weight: 700;
}

/* ═══════════════════════════════════════════════════════
   BANNER SLOTS
═══════════════════════════════════════════════════════ */
.banner-slot { width: 100%; overflow: hidden; border-radius: 8px; }
.banner-slot img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 8px; transition: opacity .2s; }
.banner-slot img:hover { opacity: .92; }

.banner-top { background: var(--ink2); padding: 8px 20px; overflow: hidden; }
.banner-top-inner {
    max-width: 1380px;
    margin: 0 auto;
    height: 90px !important;
    max-height: 90px !important;
    border-radius: 8px;
    overflow: hidden !important;
    position: relative;
}
.banner-top-inner img { width: 100%; height: 90px; object-fit: cover; display: block; border-radius: 8px; }
.banner-top-inner ins { width: 100% !important; height: 90px !important; max-height: 90px !important; }

.banner-footer { background: var(--bg); padding: 12px 20px; overflow: hidden; }
.banner-footer-inner {
    max-width: 1380px;
    margin: 0 auto;
    height: 90px !important;
    max-height: 90px !important;
    border-radius: 8px;
    overflow: hidden !important;
    position: relative;
}
.banner-footer-inner img { width: 100%; height: 90px; object-fit: cover; display: block; border-radius: 8px; }
.banner-footer-inner ins { width: 100% !important; height: 90px !important; max-height: 90px !important; }

.banner-infeed { width: 100%; height: 90px; border-radius: 10px; overflow: hidden; margin: 14px 0; }
.banner-sidebar { width: 100%; border-radius: var(--r); overflow: hidden; }
.banner-sidebar img { width: 100%; height: 250px; object-fit: cover; }

/* ═══════════════════════════════════════════════════════
   PAGE LAYOUT
═══════════════════════════════════════════════════════ */
.page-wrap {
    max-width: 1380px;
    margin: 0 auto;
    padding: 18px 20px 40px;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 20px;
    align-items: start;
}
.feed { min-width: 0; }

/* ═══════════════════════════════════════════════════════
   FILTER BAR
═══════════════════════════════════════════════════════ */
.filter-bar {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: 11px 14px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    box-shadow: var(--sh);
}
.filter-label { font-size: 13px; font-weight: 700; color: var(--text); white-space: nowrap; }
.f-chip {
    padding: 5px 12px;
    border-radius: 20px;
    border: 1.5px solid var(--border);
    font-size: 12px;
    font-weight: 600;
    color: var(--muted);
    cursor: pointer;
    transition: .15s;
    white-space: nowrap;
    background: var(--bg);
    text-decoration: none;
}
.f-chip:hover { border-color: var(--amber); color: var(--text); }
.f-chip.act { background: var(--ink); color: white; border-color: var(--ink); }
.sort-wrap { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.sort-sel {
    border: 1.5px solid var(--border);
    border-radius: 6px;
    padding: 5px 10px;
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    color: var(--text);
    background: white;
    cursor: pointer;
    outline: none;
}
.results-n { font-size: 12px; color: var(--muted); white-space: nowrap; }

/* ═══════════════════════════════════════════════════════
   AD CARDS GRID
═══════════════════════════════════════════════════════ */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}
.ad-card {
    background: white;
    border-radius: var(--r);
    overflow: hidden;
    cursor: pointer;
    border: 1px solid var(--border);
    box-shadow: var(--sh);
    transition: box-shadow .22s, transform .18s;
    display: flex;
    flex-direction: column;
    animation: fadeUp .3s ease both;
    will-change: transform;
    min-width: 0;
}
.ad-card:hover {
    box-shadow: var(--sh-lg);
    transform: translateY(-4px);
    border-color: #C8CACD;
}
@keyframes fadeUp {
    from { opacity:0; transform:translateY(10px); }
    to   { opacity:1; transform:translateY(0); }
}
.card-photo {
    position: relative;
    width: 100%;
    padding-top: 72%;
    overflow: hidden;
    background: #E8EAEC;
    border-radius: var(--r) var(--r) 0 0;
}
.card-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .32s;
    border-radius: var(--r) var(--r) 0 0;
}
.card-img-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
}
.ad-card:hover .card-img { transform: scale(1.06); }
.badge-feat {
    position: absolute;
    top: 9px; left: 9px;
    background: var(--amber);
    color: var(--ink);
    font-size: 9px;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    padding: 3px 8px;
    border-radius: 5px;
    text-transform: uppercase;
    letter-spacing: .5px;
    z-index: 3;
}
.card-heart {
    position: absolute;
    top: 8px; right: 8px;
    width: 32px; height: 32px;
    background: rgba(255,255,255,.9);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    color: #bbb;
    cursor: pointer;
    z-index: 3;
    transition: .2s;
    box-shadow: 0 1px 6px rgba(0,0,0,.15);
}
.card-heart:hover { color: #ff4d6d; transform: scale(1.12); background: white; }
.card-heart.liked { color: #ff4d6d; }
.photo-cnt {
    position: absolute;
    bottom: 8px; right: 9px;
    background: rgba(0,0,0,.5);
    color: white;
    font-size: 10px;
    font-weight: 600;
    padding: 2px 7px;
    border-radius: 4px;
    z-index: 2;
}
.card-info {
    padding: 10px 11px 12px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.card-title {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text);
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.card-price {
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    font-weight: 900;
    color: var(--ink);
    margin-top: 1px;
}
.card-price.gp { color: var(--green); }
.card-price.mp { color: var(--muted); font-size: 14px; font-weight: 600; }
.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 5px;
    padding-top: 7px;
    border-top: 1px solid #F0F0F0;
}
.card-loc { font-size: 11.5px; color: var(--muted); }
.card-time { font-size: 10.5px; color: #bbb; }

/* ═══════════════════════════════════════════════════════
   INFINITE SCROLL SPINNER
═══════════════════════════════════════════════════════ */
#scroll-spinner { display: none; justify-content: center; align-items: center; padding: 24px 0; gap: 10px; }
.spinner { width: 28px; height: 28px; border: 3px solid var(--border); border-top-color: var(--amber); border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
#no-more-ads { display: none; text-align: center; padding: 24px 0; font-size: 13px; color: var(--muted); }

/* ═══════════════════════════════════════════════════════
   RIGHT SIDEBAR
═══════════════════════════════════════════════════════ */
.sidebar { position: sticky; top: 80px; display: flex; flex-direction: column; gap: 14px; align-self: start; }
.sb-post { background: linear-gradient(140deg, var(--green-dk), var(--green)); border-radius: var(--r); padding: 18px 16px; text-align: center; cursor: pointer; box-shadow: 0 4px 18px rgba(0,166,81,.22); transition: .2s; }
.sb-post:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,166,81,.3); }
.sb-post-ic { font-size: 30px; margin-bottom: 8px; display: block; }
.sb-post h3 { font-family: 'Outfit', sans-serif; font-size: 17px; font-weight: 900; color: white; }
.sb-post p { font-size: 12px; color: rgba(255,255,255,.72); margin: 5px 0 12px; line-height: 1.5; }
.sb-post-btn { background: white; color: var(--green-dk); border: none; padding: 9px 22px; border-radius: 6px; font-family: inherit; font-weight: 800; font-size: 13px; cursor: pointer; transition: .2s; }
.sb-post-btn:hover { background: #f0fff6; }
.sb-card { background: white; border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; box-shadow: var(--sh); }
.sb-card-head { padding: 13px 15px 11px; border-bottom: 1px solid var(--border); font-family: 'Outfit', sans-serif; font-size: 14px; font-weight: 800; color: var(--text); }
.svc-list { padding: 8px 14px 4px; }
.svc-row { display: flex; align-items: flex-start; gap: 12px; padding: 12px 0; border-bottom: 1px solid #F4F5F6; cursor: pointer; transition: .15s; }
.svc-row:last-child { border-bottom: none; padding-bottom: 8px; }
.svc-row:hover { opacity: .85; }
.svc-icon { width: 38px; height: 38px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.ic-amber  { background: #FFF3D6; }
.ic-red    { background: #FFE8E8; }
.ic-purple { background: #F0ECFF; }
.ic-green  { background: #E6F7EF; }
.ic-blue   { background: #E8F0FF; }
.svc-body strong { display: block; font-size: 13px; font-weight: 700; color: var(--text); margin-bottom: 2px; }
.svc-body span { font-size: 12px; color: var(--muted); line-height: 1.45; }
.safety-list { list-style: none; padding: 12px 16px 14px; display: flex; flex-direction: column; gap: 10px; }
.safety-list li { display: flex; align-items: flex-start; gap: 9px; font-size: 13px; color: #374151; line-height: 1.45; }
.safety-check { flex-shrink: 0; width: 20px; height: 20px; background: var(--green-lt); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 11px; margin-top: 1px; }
.safety-warn { flex-shrink: 0; width: 20px; height: 20px; background: #FEF3C7; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 10px; margin-top: 1px; }
.sb-promo { background: linear-gradient(140deg,#1a1000,#3a2800); border: 1.5px solid rgba(245,166,35,.3); border-radius: var(--r); padding: 16px; cursor: pointer; transition: .2s; }
.sb-promo:hover { border-color: var(--amber); box-shadow: 0 4px 18px rgba(245,166,35,.14); }
.sb-promo-tag { font-size: 10px; font-weight: 700; color: var(--amber); letter-spacing: .5px; text-transform: uppercase; margin-bottom: 6px; }
.sb-promo h3 { font-family: 'Outfit', sans-serif; font-size: 15px; font-weight: 900; color: white; line-height: 1.3; }
.sb-promo p { font-size: 12px; color: rgba(255,255,255,.58); margin: 6px 0 12px; line-height: 1.5; }
.sb-promo-stats { display: flex; gap: 12px; margin-bottom: 12px; }
.sb-stat { text-align: center; }
.sb-stat strong { display: block; font-family: 'Outfit', sans-serif; font-size: 18px; font-weight: 900; color: var(--amber); }
.sb-stat span { font-size: 10px; color: rgba(255,255,255,.45); }
.sb-promo-btn { width: 100%; background: var(--amber); color: var(--ink); border: none; padding: 9px; border-radius: 6px; font-family: inherit; font-weight: 800; font-size: 13px; cursor: pointer; transition: .2s; }
.sb-promo-btn:hover { background: var(--amber-dk); }
.ts-wrap { display: flex; flex-wrap: wrap; gap: 6px; padding: 12px 14px; }
.ts-chip { padding: 5px 11px; border-radius: 20px; background: var(--bg); border: 1px solid var(--border); font-size: 12px; font-weight: 600; color: var(--muted); cursor: pointer; transition: .15s; text-decoration: none; }
.ts-chip:hover { border-color: var(--amber); color: var(--text); background: var(--amber-lt); }

/* ═══════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════ */
footer { background: var(--ink); color: white; margin-top: 40px; }
.ft-top { background: var(--ink2); text-align: center; padding: 10px; font-size: 13px; color: rgba(255,255,255,.5); cursor: pointer; transition: .15s; }
.ft-top:hover { color: white; }
.ft-body { max-width: 1380px; margin: 0 auto; padding: 40px 20px 30px; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.ft-logo-wrap { display: flex; align-items: center; margin-bottom: 14px; }
.ft-lw { font-family: 'Outfit', sans-serif; font-weight: 900; font-size: 24px; color: white; letter-spacing: -1px; }
.ft-li { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; background: var(--green); border-radius: 8px; margin: 0 1px; }
.ft-li-n { font-family: 'Outfit', sans-serif; font-weight: 900; font-size: 14px; color: white; }
.ft-lme { color: var(--green); }
.ft-desc { font-size: 13px; color: rgba(255,255,255,.55); line-height: 1.7; max-width: 260px; }
.ft-col h4 { font-size: 13px; font-weight: 700; color: white; margin-bottom: 14px; }
.ft-col a { display: block; font-size: 13px; color: rgba(255,255,255,.55); margin-bottom: 10px; text-decoration: none; transition: .15s; }
.ft-col a:hover { color: white; }
.ft-btm { border-top: 1px solid rgba(255,255,255,.08); text-align: center; padding: 16px 20px; font-size: 12px; color: rgba(255,255,255,.35); }

/* ═══════════════════════════════════════════════════════
   CMS PAGES
═══════════════════════════════════════════════════════ */
.cms-wrap { max-width: 860px; margin: 30px auto; padding: 0 20px 60px; }
.cms-body { background: white; border-radius: var(--r); padding: 40px; box-shadow: var(--sh); }
.cms-body h2 { font-family: 'Outfit', sans-serif; font-size: 28px; font-weight: 900; margin-bottom: 16px; color: var(--ink); }
.cms-body h3 { font-size: 18px; font-weight: 700; margin: 24px 0 10px; color: var(--ink); }
.cms-body p  { font-size: 15px; line-height: 1.8; color: #374151; margin-bottom: 14px; }
.cms-body ul { padding-left: 20px; margin-bottom: 14px; }
.cms-body ul li { font-size: 15px; line-height: 1.8; color: #374151; margin-bottom: 6px; }
.cms-body a  { color: var(--green-dk); font-weight: 600; }

/* ═══════════════════════════════════════════════════════
   STICKY BOTTOM BAR
═══════════════════════════════════════════════════════ */
#sell-bar, #sticky-contact-bar { display: none; }

.sticky-bottom-bar {
    display: none;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    width: 100vw;
    z-index: 500;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0 0 14px 0;
    margin: 0;
    pointer-events: none;
    justify-content: center;
    align-items: flex-end;
}
.sticky-sell-btn {
    pointer-events: all;
    background: var(--green);
    color: white;
    border: none;
    padding: 13px 36px;
    border-radius: 50px;
    font-family: 'Outfit', sans-serif;
    font-weight: 900;
    font-size: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    letter-spacing: .4px;
    box-shadow: 0 0 0 3px white, 0 0 0 5px var(--amber), 0 0 0 7px var(--green-dk), 0 6px 20px rgba(0,0,0,.28);
    transition: transform .15s, box-shadow .15s;
}
.sticky-sell-btn:active { transform: scale(.96); }
.sell-plus {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px; height: 22px;
    background: white;
    color: var(--green);
    border-radius: 50%;
    font-size: 16px;
    font-weight: 900;
    line-height: 1;
    flex-shrink: 0;
}
.sticky-contact-btn {
    pointer-events: all;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 11px 14px;
    border-radius: 50px;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 13px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: .15s;
    max-width: 160px;
    white-space: nowrap;
}
.sticky-contact-btn.whatsapp {
    background: #25D366;
    color: white;
    box-shadow: 0 0 0 3px white, 0 0 0 5px #25D366, 0 6px 20px rgba(0,0,0,.2);
}
.sticky-contact-btn.message {
    background: var(--ink);
    color: white;
    box-shadow: 0 0 0 3px white, 0 0 0 5px var(--ink), 0 6px 20px rgba(0,0,0,.2);
}
.sticky-contact-btn:active { transform: scale(.96); }

/* ═══════════════════════════════════════════════════════
   BANNER GRID HELPERS
═══════════════════════════════════════════════════════ */
.banner-infeed-strip { grid-column: 1 / -1; margin: 14px 0; }
.banner-strip-wrap   { grid-column: 1 / -1; margin: 6px 0; }

/* ═══════════════════════════════════════════════════════
   ADSENSE WRAPPERS
═══════════════════════════════════════════════════════ */
.adsense-wrap { display: block; width: 100%; overflow: hidden; }
.adsense-wrap ins { display: block !important; }

.adsense-leaderboard {
    max-width: 970px;
    height: 90px !important;
    max-height: 90px !important;
    overflow: hidden !important;
    margin: 0 auto;
    position: relative;
}
.adsense-leaderboard ins {
    width: 970px !important;
    height: 90px !important;
    max-height: 90px !important;
}

.adsense-infeed {
    width: 100%;
    height: 90px !important;
    max-height: 90px !important;
    overflow: hidden !important;
    position: relative;
}
.adsense-infeed ins {
    width: 100% !important;
    height: 90px !important;
    max-height: 90px !important;
}

.adsense-sidebar {
    width: 300px;
    height: 250px !important;
    max-height: 250px !important;
    overflow: hidden !important;
    margin: 0 auto;
}
.adsense-sidebar ins {
    width: 300px !important;
    height: 250px !important;
}

.adsense-card {
    width: 100%;
    height: 250px !important;
    max-height: 250px !important;
    overflow: hidden !important;
}
.adsense-card ins {
    width: 100% !important;
    height: 250px !important;
    max-height: 250px !important;
}

/* ═══════════════════════════════════════════════════════
   AD DETAIL PAGE
═══════════════════════════════════════════════════════ */
.show-wrap { max-width: 1380px; margin: 0 auto; padding: 20px 20px 40px; }

/* Desktop: 2-column layout */
.show-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 24px;
    align-items: start;
}

/* Right column: sticky sidebar on desktop */
.show-right-col {
    position: sticky;
    top: 80px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* Mobile sidebar block: hidden on desktop, shown on mobile */
.show-mobile-sidebar { display: none; }

/* Similar ads in the narrow left column: 2 cols is fine on desktop */
.show-layout .cards-grid { grid-template-columns: repeat(2, 1fr); }

/* ═══════════════════════════════════════════════════════
   CATEGORY & DEALS GRIDS
═══════════════════════════════════════════════════════ */
.cat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.deals-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }

/* ═══════════════════════════════════════════════════════
   USER DASHBOARD PAGES
═══════════════════════════════════════════════════════ */
.dash-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 28px; }
.dash-links { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-bottom: 28px; }
.messages-layout { display: grid; grid-template-columns: 340px 1fr; gap: 20px; align-items: start; }
.saved-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.price-row { display: grid; grid-template-columns: 180px 1fr; gap: 14px; }
.location-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.my-ad-row { display: flex; gap: 0; align-items: stretch; }
.my-ad-thumb { flex-shrink: 0; display: block; width: 110px; min-height: 90px; overflow: hidden; background: #f3f4f6; }
.my-ad-thumb img { width: 110px; height: 100%; object-fit: cover; display: block; min-height: 90px; }
.my-ad-actions { border-top: 1px solid var(--border); padding: 10px 14px; background: #fafafa; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.dash-stat-card { background: white; border: 1px solid var(--border); border-radius: var(--r); padding: 20px 24px; box-shadow: var(--sh); }

/* ═══════════════════════════════════════════════════════
   PAGINATION
═══════════════════════════════════════════════════════ */
nav[role="navigation"] { display: flex; flex-direction: column; align-items: center; gap: 12px; }
nav[role="navigation"] > div:first-child { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; }
nav[role="navigation"] > div:last-child { font-size: 12px; color: var(--muted); }
nav[role="navigation"] span,
nav[role="navigation"] a {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 34px; height: 34px; padding: 0 10px; border-radius: 8px;
    font-size: 13px; font-weight: 600; font-family: 'Plus Jakarta Sans', sans-serif;
    text-decoration: none; transition: .15s; border: 1.5px solid var(--border);
    background: white; color: var(--text); cursor: pointer; line-height: 1;
}
nav[role="navigation"] a:hover { border-color: var(--amber); color: var(--ink); background: var(--amber-lt); }
nav[role="navigation"] span[aria-current="page"] { background: var(--ink); color: white; border-color: var(--ink); cursor: default; }
nav[role="navigation"] span:not([aria-current="page"]) { color: var(--muted); background: var(--bg); cursor: default; }
nav[role="navigation"] span.dots,
nav[role="navigation"] span[aria-disabled="true"] { border: none; background: none; color: var(--muted); min-width: 20px; padding: 0; }
.save-btn.liked { color: #ff4d6d; border-color: #ff4d6d; }

/* ═══════════════════════════════════════════════════════
   POST AD PAGES
═══════════════════════════════════════════════════════ */
.post-ad-wrap { max-width: 860px; margin: 0 auto; padding: 30px 20px 60px; }
.step1-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.step2-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.boost-top { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.boost-packages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 18px; }
.boost-comparison { display: grid; grid-template-columns: 1fr 1fr; }
.preview-details { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; margin-bottom: 20px; }
.preview-details > div { padding: 14px 18px; border-bottom: 1px solid var(--border); }
.preview-details > div:nth-child(odd) { border-right: 1px solid var(--border); }

.progress-bar-wrap { margin-bottom: 24px; overflow-x: auto; scrollbar-width: none; }
.progress-bar-wrap::-webkit-scrollbar { display: none; }
.progress-bar-inner { display: flex; align-items: center; justify-content: center; gap: 0; min-width: 360px; }

.post-ad-nav { display: flex; justify-content: space-between; align-items: center; padding-top: 20px; border-top: 1px solid var(--border); gap: 10px; }
.post-ad-nav a, .post-ad-nav button { white-space: nowrap; }

.photos-upload-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }

/* ═══════════════════════════════════════════════════════
   PROMOTE PAGES
═══════════════════════════════════════════════════════ */
.promote-packages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 28px; }
.promote-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 36px; }
.promote-comparison { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: 20px; }

/* ── OTP Input boxes ── */
.otp-wrap { display: flex; gap: 8px; justify-content: center; margin-bottom: 24px; }
.otp-wrap input {
    width: 46px; height: 56px;
    border: 2px solid var(--border);
    border-radius: 10px;
    text-align: center;
    font-size: 24px; font-weight: 900;
    font-family: 'Outfit', sans-serif;
    color: var(--ink); outline: none; transition: .2s;
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE — all breakpoints
═══════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
    .cards-grid { grid-template-columns: repeat(3, 1fr); }
    .saved-grid { grid-template-columns: repeat(3, 1fr); }
    .ft-body { grid-template-columns: 1fr 1fr; gap: 30px; }
}

@media (max-width: 860px) {
    /* Layout */
    .page-wrap { grid-template-columns: 1fr; }
    .sidebar { position: static; }
    .show-wrap { padding: 12px 12px 100px; }

    /* Ad detail — collapse to single column, hide desktop right col, show mobile sidebar */
    .show-layout { grid-template-columns: 1fr !important; }
    .show-right-col { display: none !important; }
    .show-mobile-sidebar { display: block; }

    /* Header */
    .hdr-link { display: none; }
    .btn-post { display: none; }
    .hdr-burger { display: flex !important; }
    .hdr-mobile-right { display: flex !important; }
    .srch { display: none !important; }
    .mobile-search-wrap { display: block !important; }
    .hdr-in { height: 52px; }

    /* Body */
    body { padding-bottom: 80px; }

    /* Sticky bars */
    #sell-bar, #sticky-contact-bar {
        display: flex !important;
        position: fixed !important;
        bottom: 0 !important; left: 0 !important; right: 0 !important;
        width: 100vw !important;
        z-index: 9999 !important;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        padding: 0 0 14px 0 !important;
        margin: 0 !important;
        justify-content: center !important;
        align-items: flex-end !important;
        pointer-events: none !important;
        gap: 16px !important;
        will-change: transform !important;
        transform: translateZ(0) !important;
        -webkit-transform: translateZ(0) !important;
        backface-visibility: hidden !important;
        -webkit-backface-visibility: hidden !important;
    }

    /* Cards */
    .cards-grid { grid-template-columns: repeat(2, 1fr); }
    .saved-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }

    /* Category/deals */
    .cat-grid { display: flex; overflow-x: auto; gap: 10px; scrollbar-width: none; padding-bottom: 4px; }
    .cat-grid::-webkit-scrollbar { display: none; }
    .cat-grid a { flex: 0 0 80px; min-width: 80px; }
    .deals-grid { grid-template-columns: repeat(2, 1fr); }

    /* Filter bar */
    .filter-bar { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding: 10px 12px; }
    .filter-bar::-webkit-scrollbar { display: none; }
    .sort-wrap { flex-shrink: 0; }

    /* Dashboard */
    .dash-stats { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .dash-links { grid-template-columns: repeat(3, 1fr); gap: 8px; }
    .dash-stat-card { padding: 14px 12px !important; }
    .dash-stat-card > div:first-child { font-size: 22px !important; }
    .dash-stat-card > div:last-child { font-size: 12px !important; }

    /* Messages */
    .messages-layout { grid-template-columns: 1fr; }
    .messages-layout > div:last-child { display: none; }

    /* Forms */
    .price-row { grid-template-columns: 1fr; }
    .location-row { grid-template-columns: 1fr; }

    /* My Ads */
    .my-ad-row { flex-direction: column; }
    .my-ad-thumb { width: 100%; height: 180px; }
    .my-ad-thumb img { width: 100%; height: 180px; min-height: unset; }
    .my-ad-actions { gap: 6px; }
    .my-ad-actions a, .my-ad-actions button { font-size: 11px !important; padding: 6px 10px !important; }

    /* Ad detail */
    .show-wrap .show-left-col > div:first-child { border-radius: 0; margin-left: -12px; margin-right: -12px; }
    .show-wrap h1 { font-size: 18px !important; }

    /* Post Ad */
    .step1-grid { grid-template-columns: repeat(2, 1fr); }
    .step2-fields { grid-template-columns: 1fr; }
    .boost-top { grid-template-columns: 1fr; gap: 12px; }
    .boost-packages { grid-template-columns: 1fr; gap: 12px; }
    .boost-comparison { grid-template-columns: 1fr; }
    .boost-comparison > div:first-child { border-right: none; border-bottom: 1px solid var(--border); }
    .preview-details { grid-template-columns: 1fr; }
    .preview-details > div:nth-child(odd) { border-right: none; }
    .photos-upload-grid { grid-template-columns: repeat(4, 1fr); gap: 8px; }

    /* Promote */
    .promote-packages { grid-template-columns: 1fr; gap: 12px; }
    .promote-comparison { grid-template-columns: 1fr; gap: 14px; }
}

@media (max-width: 540px) {
    .cards-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .saved-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .srch-cat { display: none; }
    .ft-body { grid-template-columns: 1fr; }
    .btn-post { display: none; }
    .cat-grid a { flex: 0 0 72px; min-width: 72px; }
    .dash-stats { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .dash-links { grid-template-columns: repeat(3, 1fr); gap: 8px; }
    .promote-stats { grid-template-columns: 1fr; gap: 8px; }
    .photos-upload-grid { grid-template-columns: repeat(3, 1fr); gap: 6px; }
    .post-ad-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
    .post-ad-nav > *:last-child { grid-column: 1 / -1; }
    .post-ad-nav a, .post-ad-nav button {
        width: 100% !important; text-align: center !important;
        justify-content: center !important; font-size: 14px !important;
        padding: 12px !important; white-space: normal !important; line-height: 1.3 !important;
    }
    .otp-wrap { gap: 5px; }
    .otp-wrap input { width: 38px; height: 50px; font-size: 20px; border-radius: 8px; }
}

/* AdSense responsive sizes */
@media (max-width: 768px) {
    .adsense-leaderboard { max-width: 728px; }
    .adsense-leaderboard ins { width: 728px !important; }
}
@media (max-width: 480px) {
    .adsense-leaderboard { max-width: 320px; height: 50px !important; max-height: 50px !important; }
    .adsense-leaderboard ins { width: 320px !important; height: 50px !important; max-height: 50px !important; }
    .adsense-infeed { height: 50px !important; max-height: 50px !important; }
    .adsense-infeed ins { height: 50px !important; max-height: 50px !important; }
}