:root{
  --bg: #FFFFFF;
  --bg-soft: #F7F7F8;
  --panel: #FFFFFF;
  --panel-tint: #FAFAFA;
  --accent: #D6437A;
  --accent-dark: #B32E60;
  --accent-soft: #F6C8DA;
  --ink: #2B2B2E;
  --ink-muted: #8B8B92;
  --line: #ECECEE;
  --new: #1F9D7C;
  --new-bg: #E3F6EF;
  --premium: #B8862E;
  --premium-bg: #FBF0DB;
  --warn: #C43D3D;
  --warn-bg: #FBE6E6;
  --radius: 16px;
  --shadow: 0 2px 14px rgba(20, 20, 30, 0.06);
  --header-green: #D6437A;
  --header-green-dark: #B32E60;
  --header-yellow: #FFFFFF;
  --header-yellow-dark: #F6C8DA;
}
*{ box-sizing: border-box; }
body{
  margin:0;
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--ink);
  min-height:100vh;
}
a{ color:inherit; }
h1,h2,h3,.brand,.logo,.btn,.field label{ font-family:'Sora', sans-serif; }
.brand{ font-weight:700; font-size:17px; color:var(--ink); }

/* ---------- Site header ---------- */
.site-header{ background: var(--header-green); position:sticky; top:0; z-index:20; }
.header-top{ display:flex; align-items:center; justify-content:space-between; gap:20px; max-width:1280px; margin:0 auto; padding:14px 28px; }
.header-left{ display:flex; align-items:center; gap:22px; }
.logo{ display:flex; align-items:center; gap:10px; font-weight:800; font-size:20px; color:#fff; text-decoration:none; }
.logo-mark{ width:40px; height:40px; border-radius:10px; background:#fff; color:var(--header-green); display:flex; align-items:center; justify-content:center; font-size:16px; font-weight:800; overflow:hidden; flex-shrink:0; }
.logo-mark img{ width:100%; height:100%; object-fit:cover; }
.header-right{ display:flex; align-items:center; gap:22px; }
.header-action{ display:flex; align-items:center; gap:7px; background:none; border:none; color:#fff; font-family:'Inter',sans-serif; font-size:14px; font-weight:600; cursor:pointer; white-space:nowrap; text-decoration:none; }
.post-ad-btn{ background:var(--header-yellow); color:var(--accent-dark); border:none; font-family:'Sora',sans-serif; font-weight:800; font-size:13px; letter-spacing:.03em; padding:12px 20px; border-radius:8px; cursor:pointer; white-space:nowrap; transition:background .15s; text-decoration:none; display:inline-block; }
.logout-btn{ background:transparent; color:#fff; border:1.5px solid rgba(255,255,255,.6); font-family:'Sora',sans-serif; font-weight:800; font-size:13px; letter-spacing:.03em; padding:10.5px 20px; border-radius:8px; cursor:pointer; white-space:nowrap; transition:background .15s, border-color .15s; text-decoration:none; display:inline-block; }
.logout-btn:hover{ background:rgba(255,255,255,.15); border-color:#fff; }
.post-ad-btn:hover{ background:var(--header-yellow-dark); }

.header-tagline{ text-align:center; max-width:640px; margin:8px auto 20px; padding:0 28px; }
.header-tagline-brand{ color:rgba(255,255,255,.85); font-size:13px; font-weight:700; letter-spacing:.02em; margin:0 0 8px; }
.header-tagline-heading{ color:#fff; font-family:'Sora',sans-serif; font-size:22px; font-weight:800; margin:0 0 6px; line-height:1.3; }
.header-tagline-sub{ color:rgba(255,255,255,.85); font-size:13.5px; font-weight:600; margin:0; }

.header-search{ display:flex; flex-direction:column; align-items:center; gap:14px; max-width:1280px; margin:0 auto; padding:6px 28px 28px; }
.location-pill{ display:flex; align-items:center; gap:6px; background:#FFC107; color:#1C1C1C; font-size:13px; font-weight:700; padding:8px 16px; border-radius:999px; cursor:pointer; border:none; position:relative; overflow:hidden; transition:filter .2s; }
.location-pill::after{
  content:"";
  position:absolute;
  top:0; bottom:0; left:-60%;
  width:40%;
  background:linear-gradient(120deg, transparent, rgba(255,255,255,.65), transparent);
  animation:locationPillShimmer 3.2s ease-in-out infinite;
}
@keyframes locationPillShimmer{
  0%{ left:-60%; }
  55%{ left:130%; }
  100%{ left:130%; }
}
.location-pill:hover{ filter:brightness(.85); }
.search-bar{ width:100%; max-width:640px; display:flex; align-items:center; background:#fff; border-radius:999px; padding:5px; box-shadow:0 8px 24px rgba(0,0,0,.12); margin:0 auto; }
.search-bar input{ flex:1; border:none; outline:none; background:transparent; font-family:'Inter',sans-serif; font-size:14.5px; color:var(--ink); padding:10px 18px; }
.search-bar input::placeholder{ color:var(--ink-muted); }
.search-btn{ height:42px; flex-shrink:0; border-radius:999px; border:none; background:var(--header-yellow); color:var(--accent-dark); display:flex; align-items:center; gap:6px; padding:0 18px; font-family:'Sora',sans-serif; font-weight:700; font-size:13px; cursor:pointer; transition:background .15s; }
.search-btn:hover{ background:var(--header-yellow-dark); }

.btn{ border:none; cursor:pointer; font-weight:600; font-size:14px; border-radius:999px; padding:12px 20px; transition:transform .12s ease, box-shadow .12s ease, background .15s; white-space:nowrap; }
.btn:active{ transform: scale(.96); }
.btn-primary{ background:var(--accent); color:#fff; box-shadow:0 6px 16px rgba(214,67,122,.35); }
.btn-primary:hover{ background:var(--accent-dark); }
.btn-ghost{ background:transparent; color:var(--accent-dark); text-decoration:none; }

/* ---------- Ad type filter row ---------- */
.ad-type-row{ background:var(--panel); border-bottom:1px solid var(--line); }
.ad-type-row-inner{ max-width:1280px; margin:0 auto; padding:14px 28px; display:flex; align-items:center; justify-content:center; gap:10px; overflow-x:auto; -ms-overflow-style:none; scrollbar-width:none; }
.ad-type-row-inner::-webkit-scrollbar{ display:none; height:0; }
.ad-type-chip{ flex-shrink:0; display:flex; align-items:center; gap:6px; padding:8px 16px; border-radius:999px; border:1.5px solid var(--line); background:#fff; color:var(--ink-muted); font-family:'Sora',sans-serif; font-size:13px; font-weight:700; text-decoration:none; transition:transform .12s ease, box-shadow .12s ease, background .12s, color .12s, border-color .12s; }
.ad-type-chip:hover{ transform:translateY(-1px); box-shadow:0 4px 10px rgba(20,20,30,.08); }
.ad-type-chip.active{ background:var(--ink); color:#fff; border-color:var(--ink); }

.ad-type-chip-new{ border-color:var(--new); color:var(--new); }
.ad-type-chip-new.active{ background:var(--new); border-color:var(--new); color:#fff; }
.ad-type-chip-super{ border-color:#6B46C1; color:#6B46C1; }
.ad-type-chip-super.active{ background:#6B46C1; border-color:#6B46C1; color:#fff; }
.ad-type-chip-premium{ border-color:var(--premium); color:var(--premium); }
.ad-type-chip-premium.active{ background:var(--premium); border-color:var(--premium); color:#fff; }
.ad-type-chip-vip{ border-color:#2B2B2E; color:#2B2B2E; }
.ad-type-chip-vip.active{ background:linear-gradient(120deg, #2B2B2E, #46464C); border-color:#2B2B2E; color:#F0C878; }

/* ---------- Layout ---------- */
.layout{ display:flex; align-items:flex-start; max-width:1280px; margin:0 auto; padding:28px; gap:28px; }
.sidebar{ width:230px; flex-shrink:0; background:var(--panel); border:1px solid var(--line); border-radius:var(--radius); padding:20px 16px; position:sticky; top:88px; box-shadow:var(--shadow); }
.sidebar h3{ margin:4px 8px 14px; font-size:13px; letter-spacing:.08em; text-transform:uppercase; color:var(--ink-muted); font-weight:700; }
.cat-list{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:4px; }
.cat-item{ display:flex; align-items:center; gap:10px; padding:10px 12px; border-radius:10px; cursor:pointer; font-size:14px; color:var(--ink); font-weight:500; transition:background .12s, color .12s; text-decoration:none; }
.cat-item .count{ margin-left:auto; font-size:12px; color:var(--ink-muted); font-weight:600; }
.cities-group{ margin-top:18px; padding-top:18px; border-top:1px solid var(--line); }
.cat-item:hover{ background:var(--bg-soft); }
.cat-item.active{ background:var(--accent); color:#fff; }
.cat-item.active .count{ color:rgba(255,255,255,.85); }

.main{ flex:1; min-width:0; }
.toolbar{ display:flex; justify-content:space-between; align-items:center; margin-bottom:18px; }
.result-count{ font-size:14px; color:var(--ink-muted); }
.result-count strong{ color:var(--ink); }
.sort select{ border:1.5px solid var(--line); background:var(--panel); border-radius:10px; padding:8px 12px; font-size:13px; font-family:'Inter',sans-serif; color:var(--ink); }

.grid{ display:grid; grid-template-columns:repeat(2, 1fr); gap:18px; }
.card{ background:var(--panel); border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow); display:flex; flex-direction:row; transition:transform .15s ease, box-shadow .15s ease; text-decoration:none; cursor:pointer; }
.card:hover{ transform:translateY(-3px); box-shadow:0 10px 26px rgba(20,20,30,.12); }
.card-badge-new{ border-width:2.5px; border-color:var(--new); }
.card-badge-new:hover{ box-shadow:0 10px 26px rgba(20,20,30,.12), 0 0 18px rgba(31,157,124,.45); }
.card-badge-super{ border-width:2.5px; border-color:#6B46C1; }
.card-badge-super:hover{ box-shadow:0 10px 26px rgba(20,20,30,.12), 0 0 18px rgba(107,70,193,.45); }
.card-badge-premium{ border-width:2.5px; border-color:var(--premium); }
.card-badge-premium:hover{ box-shadow:0 10px 26px rgba(20,20,30,.12), 0 0 18px rgba(184,134,46,.45); }
.card-badge-vip{ border-width:2.5px; border-color:#2B2B2E; }
.card-badge-vip:hover{ box-shadow:0 10px 26px rgba(20,20,30,.12), 0 0 18px rgba(240,200,120,.5); }
.card-pending{ cursor:default; opacity:.85; }
.card-pending:hover{ transform:none; box-shadow:var(--shadow); }
.card-media{ width:200px; height:160px; flex-shrink:0; background:linear-gradient(135deg, var(--accent-soft), var(--bg-soft)); position:relative; display:flex; align-items:flex-end; justify-content:center; padding-bottom:10px; overflow:hidden; }
.card-media .no-photo{ font-size:11px; font-weight:600; color:var(--ink-muted); background:rgba(255,255,255,.7); padding:3px 10px; border-radius:999px; }
.badges{ position:absolute; top:0; right:0; display:flex; flex-direction:column; align-items:flex-end; gap:4px; z-index:2; }
.badge{ font-size:10.5px; font-weight:700; padding:5px 14px 6px 12px; letter-spacing:.02em; display:flex; align-items:center; gap:4px; clip-path:polygon(0 0, 100% 0, 100% 100%, 8px 100%, 0 calc(100% - 8px)); box-shadow:-2px 2px 4px rgba(0,0,0,.12); }
.badge-new{ background:var(--new); color:#fff; }
.badge-premium{ background:var(--premium); color:#fff; }
.badge-warn{ background:var(--warn); color:#fff; }
.badge-super{ background:#6B46C1; color:#fff; }
.badge-vip{ background:linear-gradient(120deg, #2B2B2E, #46464C); color:#F0C878; }

.card-body{ padding:12px 14px; display:flex; flex-direction:column; gap:6px; flex:1; min-width:0; }
.card-title{ font-size:14.5px; font-weight:700; color:var(--ink); line-height:1.3; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.card-description{ font-size:12.5px; color:var(--ink-muted); line-height:1.5; display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }
.card-price{ font-size:15px; font-weight:800; color:var(--accent-dark); margin-top:auto; }
.card-meta{ display:flex; align-items:center; justify-content:space-between; gap:8px; font-size:11px; color:var(--accent-dark); font-weight:600; padding-top:8px; border-top:1px solid var(--line); margin-top:2px; flex-wrap:wrap; }
.card-meta svg{ flex-shrink:0; }
.card-meta .stats{ display:flex; align-items:center; gap:5px; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.card-city, .meta-item{ display:inline-flex; align-items:center; gap:3px; }
.meta-sep{ color:var(--accent); opacity:.6; }
.like-btn{ display:inline-flex; align-items:center; gap:4px; border:none; background:none; cursor:pointer; font-family:'Inter',sans-serif; font-size:11px; font-weight:600; color:var(--accent-dark); padding:0; white-space:nowrap; transition:color .15s; }
.like-btn:hover{ color:var(--accent-dark); }
.like-btn.liked{ color:var(--accent); }

.empty{ text-align:center; padding:60px 20px; color:var(--ink-muted); }

/* ---------- Modal ---------- */
.overlay{ position:fixed; inset:0; background:rgba(58,36,50,.4); display:none; align-items:center; justify-content:center; z-index:50; padding:20px; }
.overlay.open{ display:flex; }
.modal{ background:var(--panel); border-radius:20px; width:100%; max-width:460px; max-height:90vh; overflow-y:auto; padding:26px; box-shadow:0 20px 60px rgba(58,36,50,.25); position:relative; }
.modal h2{ margin:0 0 4px; font-size:20px; color:var(--ink); }
.modal .sub{ margin:0 0 20px; font-size:13px; color:var(--ink-muted); }
.field{ margin-bottom:14px; display:flex; flex-direction:column; gap:6px; }
.field label{ font-size:12.5px; font-weight:600; color:var(--ink); }
.field input, .field select, .field textarea{ border:1.5px solid var(--line); border-radius:10px; padding:10px 12px; font-size:14px; font-family:'Inter',sans-serif; color:var(--ink); background:var(--panel-tint); outline:none; width:100%; }
.field input:focus, .field select:focus, .field textarea:focus{ border-color:var(--accent); }
.field textarea{ resize:vertical; min-height:70px; }
.modal-actions{ display:flex; gap:10px; margin-top:18px; }
.close-x{ position:absolute; top:16px; right:16px; background:var(--bg-soft); border:none; border-radius:8px; padding:6px 12px; cursor:pointer; color:var(--ink-muted); font-size:12.5px; font-weight:600; font-family:'Inter',sans-serif; }

/* ---------- Login modal ---------- */
.login-modal{ max-width:720px; padding:0; display:grid; grid-template-columns:1fr 1fr; }
.login-left{ padding:32px; }
.login-left h2{ font-size:19px; margin:0 0 8px; }
.login-left .sub{ margin:0 0 24px; line-height:1.5; }
.benefit-row{ display:flex; align-items:flex-start; gap:14px; margin-bottom:22px; font-size:13.5px; color:var(--ink); line-height:1.4; }
.benefit-icon{ width:36px; height:36px; flex-shrink:0; border-radius:10px; background:var(--accent-soft); color:var(--accent-dark); display:flex; align-items:center; justify-content:center; }
.login-right{ padding:32px; border-left:1px solid var(--line); }
.login-right h4{ font-size:14px; font-weight:700; color:var(--ink); margin:0 0 14px; }
.phone-row{ display:flex; gap:8px; margin-bottom:14px; }
.country-code{ flex-shrink:0; width:76px; border:1.5px solid var(--line); border-radius:10px; padding:0 8px; font-size:14px; font-family:'Inter',sans-serif; color:var(--ink); background:var(--panel-tint); }
.phone-row input{ flex:1; min-width:0; border:1.5px solid var(--line); border-radius:10px; padding:10px 12px; font-size:14px; font-family:'Inter',sans-serif; color:var(--ink); background:var(--panel-tint); outline:none; }
.phone-row input:focus{ border-color:var(--accent); }
.btn-continue{ width:100%; background:var(--accent); color:#fff; padding:12px; border-radius:10px; margin-bottom:16px; }
.btn-continue:hover{ background:var(--accent-dark); }
.or-divider{ text-align:center; font-size:12px; font-weight:700; color:var(--ink-muted); margin-bottom:16px; }
.btn-oauth{ width:100%; display:flex; align-items:center; justify-content:center; gap:10px; border:1.5px solid var(--line); background:#fff; color:var(--ink); font-family:'Inter',sans-serif; font-weight:600; font-size:13.5px; padding:11px; border-radius:10px; margin-bottom:10px; cursor:pointer; transition:background .15s; text-decoration:none; }
.btn-oauth:disabled{ opacity:.5; cursor:not-allowed; filter:grayscale(.6); background:#fff; }
.btn-oauth:disabled:hover{ background:#fff; }
.btn-oauth:hover{ background:var(--bg-soft); }
.btn-agent{ background:#6FCF97; border-color:#6FCF97; color:#fff; }
.btn-agent:hover{ background:#5CC286; }
.login-terms{ text-align:center; font-size:11.5px; color:var(--ink-muted); margin:16px 0 0; line-height:1.6; }
.login-terms a{ color:var(--accent-dark); text-decoration:none; font-weight:600; }

.form-error{ font-size:12px; color:var(--warn); margin:-6px 0 12px; min-height:14px; }
.back-link{ border:none; background:none; cursor:pointer; font-family:'Inter',sans-serif; font-size:12.5px; font-weight:600; color:var(--ink-muted); padding:0; margin-bottom:14px; }
.back-link:hover{ color:var(--accent-dark); }
.step-sub{ font-size:13px; color:var(--ink-muted); margin:0 0 16px; }
.otp-input{ width:100%; text-align:center; letter-spacing:10px; font-size:20px; font-weight:700; border:1.5px solid var(--line); border-radius:10px; padding:12px; font-family:'Inter',sans-serif; color:var(--ink); background:var(--panel-tint); outline:none; margin-bottom:8px; }
.otp-input:focus{ border-color:var(--accent); }
.resend-row{ text-align:center; font-size:12.5px; color:var(--ink-muted); margin-top:14px; }
.resend-row button{ border:none; background:none; cursor:pointer; font-family:'Inter',sans-serif; font-weight:700; font-size:12.5px; color:var(--accent-dark); padding:0; }
.resend-row button:disabled{ color:var(--ink-muted); cursor:default; }

@media (max-width: 700px){
  .login-modal{ grid-template-columns:1fr; }
  .login-left{ display:none; }
  .login-right{ border-left:none; }
}

/* ---------- Share inline bar (detail page) ---------- */
.share-inline-bar{ display:flex; align-items:center; justify-content:center; gap:10px; background:var(--bg-soft); border-radius:10px; padding:12px 16px; margin-bottom:22px; flex-wrap:wrap; }
.share-inline-label{ font-size:13px; font-weight:600; color:var(--ink-muted); margin-right:4px; }
.share-circle{ width:34px; height:34px; border-radius:50%; display:flex; align-items:center; justify-content:center; color:#fff; transition:transform .12s ease; flex-shrink:0; }
.share-circle:hover{ transform:translateY(-2px); }
.share-circle-facebook{ background:#1877F2; }
.share-circle-twitter{ background:#000; }
.share-circle-reddit{ background:#FF4500; }
.share-circle-whatsapp{ background:#25D366; }
.share-circle-telegram{ background:#26A5E4; }

@media (max-width: 480px){
  .overlay{ align-items:flex-end; padding:0; }
}

/* ---------- Account / New Ad ---------- */
.account-modal{ max-width:640px; text-align:left; padding:28px; }
.account-stats{ display:grid; grid-template-columns:repeat(4, 1fr); gap:10px; margin-bottom:18px; }
.stat-box{ border:1px solid var(--line); border-radius:8px; padding:8px 10px; }
.stat-label{ display:block; font-size:10.5px; color:var(--ink-muted); margin-bottom:2px; }
.stat-value{ font-size:13px; font-weight:700; color:var(--ink); }
.account-tabs{ display:flex; gap:6px; margin-bottom:18px; flex-wrap:wrap; }
.account-tab{ border:1px solid var(--line); background:#fff; padding:8px 14px; border-radius:8px; font-family:'Inter',sans-serif; font-size:12.5px; font-weight:600; color:var(--ink-muted); cursor:pointer; text-decoration:none; }
.account-tab.active{ background:var(--accent); border-color:var(--accent); color:#fff; }
.account-tab:disabled{ opacity:.5; cursor:not-allowed; }
.account-banner{ background:#EAF4FB; border:1px solid #CFE6F5; color:#2B6CA3; font-size:12.5px; line-height:1.6; padding:12px 14px; border-radius:8px; margin-bottom:22px; }
.field-row{ display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.field-hint{ font-size:11.5px; color:var(--ink-muted); margin:-2px 0 8px; }
.field-hint-right{ text-align:right; margin:4px 0 0; }
.required-mark{ color:var(--warn); }
.file-picker{ display:flex; align-items:center; gap:12px; border:1.5px solid var(--line); border-radius:10px; padding:8px 10px; background:var(--panel-tint); position:relative; }
.file-picker-btn{ background:var(--panel); border:1px solid var(--line); border-radius:8px; padding:8px 14px; font-size:12.5px; font-weight:700; color:var(--ink); cursor:pointer; white-space:nowrap; }
.file-picker-btn:hover{ background:var(--bg-soft); }
.file-picker-name{ font-size:12.5px; color:var(--ink-muted); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.file-picker-input{ position:absolute; width:1px; height:1px; opacity:0; overflow:hidden; }
.image-preview{ margin-top:10px; display:flex; align-items:center; gap:12px; }
.image-preview img{ width:64px; height:64px; object-fit:cover; border-radius:8px; border:1px solid var(--line); }
.image-preview-remove{ border:1px solid var(--line); background:#fff; color:var(--warn); font-family:'Inter',sans-serif; font-size:12px; font-weight:600; padding:6px 12px; border-radius:8px; cursor:pointer; }
.image-preview-remove:hover{ background:var(--warn-bg); }
.phone-app-grid{ display:grid; grid-template-columns:1fr 1fr; gap:10px 20px; margin:16px 0 4px; font-size:12.5px; color:var(--ink); }
.phone-app-grid label{ display:flex; align-items:center; gap:8px; }
.change-phone-btn{ width:100%; margin-top:8px; border:1.5px solid var(--warn); background:#fff; color:var(--warn); font-family:'Inter',sans-serif; font-weight:700; font-size:12.5px; padding:9px; border-radius:8px; cursor:pointer; }
.change-phone-btn:hover{ background:var(--warn-bg); }
.segmented-choice{ display:flex; border:1.5px solid var(--line); border-radius:10px; overflow:hidden; margin-bottom:10px; }
.segmented-option{ position:relative; flex:1; display:flex; align-items:center; justify-content:center; text-align:center; gap:6px; padding:12px 10px; font-size:12.5px; font-weight:600; color:var(--ink-muted); cursor:pointer; background:#fff; transition:background .15s, color .15s; line-height:1.3; }
.segmented-option + .segmented-option{ border-left:1.5px solid var(--line); }
.segmented-option input{ position:absolute; width:1px; height:1px; opacity:0; overflow:hidden; }
.segmented-option.active{ background:var(--accent); color:#fff; }
.segmented-option.active + .segmented-option, .segmented-option:has(+ .segmented-option.active){ border-left-color:transparent; }

.currency-row{ display:flex; gap:8px; }
.currency-prefix{ flex-shrink:0; display:flex; align-items:center; justify-content:center; width:48px; border:1.5px solid var(--line); border-radius:10px; padding:0 8px; font-size:14px; font-weight:700; color:var(--ink-muted); background:var(--panel-tint); }
.currency-row input{ flex:1; min-width:0; border:1.5px solid var(--line); border-radius:10px; padding:10px 12px; font-size:14px; font-family:'Inter',sans-serif; color:var(--ink); background:var(--panel-tint); outline:none; }
.currency-row input:focus{ border-color:var(--accent); }
.btn-create{ background:#1C1C1C; color:#fff; padding:12px 26px; border-radius:8px; }
.btn-create:hover{ background:#000; }

/* ---------- My Ads / Recover tabs ---------- */
.tab-search-row{ display:flex; gap:10px; margin-bottom:18px; }
.tab-search-row input[type="text"]{ flex:1; border:1.5px solid var(--line); border-radius:10px; padding:10px 14px; font-size:14px; font-family:'Inter',sans-serif; color:var(--ink); background:var(--panel-tint); outline:none; }
.tab-search-row input[type="text"]:focus{ border-color:var(--accent); }
.tab-search-btn{ background:#1C1C1C; color:#fff; border-radius:8px; padding:0 20px; }
.tab-search-btn:hover{ background:#000; }
.tab-reset-btn{ background:var(--warn); color:#fff; border-radius:8px; padding:0 20px; display:flex; align-items:center; text-decoration:none; }
.tab-reset-btn:hover{ background:#A63232; }

.bulk-bar{ display:flex; align-items:center; justify-content:space-between; background:var(--bg-soft); border-radius:10px; padding:10px 14px; margin-bottom:14px; }
.bulk-select-all{ display:flex; align-items:center; gap:8px; font-size:13.5px; font-weight:600; color:var(--ink); cursor:pointer; }
.btn-delete-bulk{ background:var(--warn); color:#fff; border:none; font-family:'Inter',sans-serif; font-weight:700; font-size:12.5px; padding:8px 16px; border-radius:8px; cursor:pointer; }
.btn-delete-bulk:hover{ background:#A63232; }

.my-ads-list{ display:flex; flex-direction:column; gap:10px; }
.my-ads-row{ display:flex; align-items:center; gap:12px; border:1px solid var(--line); border-radius:10px; padding:10px 12px; }
.my-ads-checkbox{ flex-shrink:0; }
.my-ads-thumb{ width:48px; height:48px; border-radius:8px; overflow:hidden; flex-shrink:0; background:linear-gradient(135deg, var(--accent-soft), var(--bg-soft)); display:flex; align-items:center; justify-content:center; }
.my-ads-thumb img{ width:100%; height:100%; object-fit:cover; }
.my-ads-thumb .no-photo{ font-size:9px; color:var(--ink-muted); text-align:center; }
.my-ads-info{ flex:1; min-width:0; }
.my-ads-title{ font-size:13.5px; font-weight:700; color:var(--ink); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.my-ads-meta{ font-size:12px; color:var(--ink-muted); margin-top:2px; }
.my-ads-status{ font-weight:600; }
.my-ads-status-pending{ color:var(--premium); }
.my-ads-status-publish{ color:var(--new); }
.my-ads-status-trash{ color:var(--warn); }
.my-ads-actions{ display:flex; flex-direction:column; align-items:flex-end; gap:6px; flex-shrink:0; }
.my-ads-view{ flex-shrink:0; font-size:12.5px; font-weight:700; color:var(--accent-dark); text-decoration:none; }
.my-ads-view:hover{ color:var(--accent); }

@media (max-width: 700px){
  .account-stats{ grid-template-columns:1fr 1fr; }
  .field-row{ grid-template-columns:1fr; }
  .phone-app-grid{ grid-template-columns:1fr; }
  .account-modal{ padding:20px; }
}

/* ---------- Pagination ---------- */
.pagination{ display:flex; justify-content:center; align-items:center; gap:6px; margin:32px 0 8px; flex-wrap:wrap; }
.pagination a, .pagination span{ min-width:36px; height:36px; padding:0 10px; border-radius:10px; border:1.5px solid var(--line); background:var(--panel); color:var(--ink); font-family:'Inter',sans-serif; font-size:13.5px; font-weight:600; display:flex; align-items:center; justify-content:center; text-decoration:none; transition:background .12s, border-color .12s, color .12s; }
.pagination a:hover{ border-color:var(--accent); color:var(--accent-dark); }
.pagination .current{ background:var(--accent); border-color:var(--accent); color:#fff; }

/* ---------- Footer ---------- */
.site-footer{ background:var(--bg-soft); border-top:1px solid var(--line); margin-top:40px; }
.footer-inner{ max-width:1280px; margin:0 auto; padding:40px 28px 24px; display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr 1fr; gap:22px; }
@media (max-width: 1024px){
  .footer-inner{ grid-template-columns:1.4fr 1fr 1fr; }
}
.footer-col h4{ font-family:'Sora',sans-serif; font-size:13px; text-transform:uppercase; letter-spacing:.06em; color:var(--ink-muted); margin:0 0 12px; }
.footer-col a{ display:block; font-size:14px; color:var(--ink); text-decoration:none; margin-bottom:9px; transition:color .12s; }
.footer-col a:hover{ color:var(--accent-dark); }
.footer-brand p{ font-size:13.5px; color:var(--ink-muted); line-height:1.6; margin:10px 0 0; max-width:230px; }
.footer-bottom{ text-align:center; font-size:12.5px; color:var(--ink-muted); padding:16px 20px 22px; border-top:1px solid var(--line); }

/* ---------- Detail page ---------- */
.detail-page{ max-width:1280px; margin:0 auto; padding:24px 28px 8px; }
.breadcrumb{ font-size:13px; color:var(--ink-muted); margin-bottom:18px; display:flex; align-items:center; gap:6px; flex-wrap:wrap; }
.breadcrumb a{ color:var(--accent-dark); font-weight:600; text-decoration:none; }
.breadcrumb .sep{ color:var(--line); }
.breadcrumb .current{ color:var(--ink); font-weight:600; }

.detail-single-col{ max-width:720px; margin:0 auto; }

/* ---------- Plain pages (About Us, Terms, Privacy, etc.) ---------- */
.page-content-wrap{ max-width:800px; margin:0 auto; padding:36px 28px 60px; }
.page-content-card{ background:var(--panel); border:1px solid var(--line); border-radius:var(--radius); box-shadow:var(--shadow); padding:36px 40px; }
.page-content-title{ font-family:'Sora',sans-serif; font-size:26px; font-weight:800; color:var(--ink); margin:0 0 22px; }
.page-content-body{ font-size:15px; line-height:1.75; color:var(--ink); }
.page-content-body p{ margin:0 0 18px; }
.page-content-body h2{ font-family:'Sora',sans-serif; font-size:19px; font-weight:700; color:var(--ink); margin:32px 0 12px; }
.page-content-body h3{ font-family:'Sora',sans-serif; font-size:16px; font-weight:700; color:var(--ink); margin:26px 0 10px; }
.page-content-body ul, .page-content-body ol{ margin:0 0 18px; padding-left:22px; }
.page-content-body li{ margin-bottom:8px; }
.page-content-body a{ color:var(--accent-dark); font-weight:600; }
.page-content-body a:hover{ color:var(--accent); }

@media (max-width: 700px){
  .page-content-wrap{ padding:20px 16px 40px; }
  .page-content-card{ padding:26px 22px; }
  .page-content-title{ font-size:21px; }
}
.detail-gallery-card{ background:var(--panel); border:1px solid var(--line); border-radius:var(--radius); box-shadow:var(--shadow); padding:20px; margin-bottom:22px; display:flex; justify-content:center; }
.detail-gallery{ width:600px; max-width:100%; border-radius:12px; position:relative; overflow:hidden; }
.detail-gallery img{ display:block; width:100%; height:auto; border-radius:12px; }
.detail-gallery.detail-gallery--empty{ height:280px; background:linear-gradient(135deg, var(--accent-soft), var(--bg-soft)); display:flex; align-items:center; justify-content:center; border-radius:12px; }
.detail-gallery .no-photo{ font-size:13px; font-weight:600; color:var(--ink-muted); background:rgba(255,255,255,.75); padding:5px 14px; border-radius:999px; }
.detail-badges{ position:absolute; top:0; right:0; display:flex; flex-direction:column; align-items:flex-end; gap:4px; z-index:2; }
.detail-title{ font-family:'Sora',sans-serif; font-size:22px; font-weight:700; color:var(--ink); margin:22px 0 6px; line-height:1.3; }
.verified-pill{ display:inline-flex; align-items:center; gap:5px; vertical-align:middle; margin-left:8px; padding:4px 10px; border-radius:999px; background:var(--new-bg); color:var(--new); font-family:'Inter',sans-serif; font-size:11.5px; font-weight:700; }
.verified-pill-sm{ padding:2px 7px; font-size:9.5px; gap:3px; margin-left:6px; }
.detail-subline{ font-size:13px; color:var(--accent-dark); font-weight:600; margin-bottom:16px; display:flex; gap:14px; flex-wrap:wrap; }
.detail-subline span{ display:inline-flex; align-items:center; gap:5px; }
.detail-subline svg{ flex-shrink:0; }

.detail-actions-row{ display:flex; gap:10px; margin-bottom:22px; }
.detail-action-btn{ flex:1; display:flex; align-items:center; justify-content:center; gap:8px; background:#1C1C1C; color:#fff; border:none; border-radius:10px; padding:12px; font-family:'Inter',sans-serif; font-weight:600; font-size:13px; cursor:pointer; transition:background .15s; }
.detail-action-btn:hover{ background:#000; }
.detail-action-btn.liked, .detail-action-btn.saved{ background:var(--warn); }
.detail-action-btn.liked:hover, .detail-action-btn.saved:hover{ background:#A63232; }

.detail-card{ background:var(--panel); border:1px solid var(--line); border-radius:var(--radius); padding:20px; box-shadow:var(--shadow); margin-bottom:18px; }
.detail-card h3{ font-size:14px; text-transform:uppercase; letter-spacing:.06em; color:var(--ink-muted); margin:0 0 12px; font-weight:700; }
.detail-description{ font-size:14.5px; line-height:1.7; color:var(--ink); }

.price-row{ display:flex; align-items:baseline; justify-content:space-between; gap:10px; margin-bottom:4px; padding-bottom:16px; border-bottom:1px solid var(--line); }
.price{ font-family:'Sora',sans-serif; font-size:26px; font-weight:800; color:var(--accent-dark); }
.likes-count{ display:flex; align-items:center; gap:5px; font-size:12px; color:var(--ink-muted); white-space:nowrap; }

.contact-methods{ display:flex; flex-direction:column; gap:10px; margin:16px 0 10px; }
.contact-methods-repeat{ margin:0 0 18px; }
.call-btn{ width:100%; display:flex; align-items:center; justify-content:center; gap:8px; background:#fff; color:var(--accent-dark); border:1.5px solid var(--accent); border-radius:10px; padding:12px; font-family:'Inter',sans-serif; font-weight:700; font-size:13.5px; cursor:pointer; text-decoration:none; transition:background .15s; }
.call-btn:hover{ background:var(--accent-soft); }
.call-btn-whatsapp{ color:#1DA851; border-color:#25D366; }
.call-btn-whatsapp:hover{ background:#E7F8EF; }
.call-btn-telegram{ color:#1D87B4; border-color:#26A5E4; }
.call-btn-telegram:hover{ background:#E5F4FC; }
.call-btn-imo{ color:#0E9FBE; border-color:#12B5D6; }
.call-btn-imo:hover{ background:#E3F7FC; }

.contact-btn{ width:100%; display:block; text-align:center; margin-bottom:10px; }
.safety-list{ font-size:12.5px; color:var(--ink-muted); line-height:1.7; margin:0; padding-left:18px; }

.report-ad-row{ text-align:center; margin-top:8px; }
.report-ad-btn{ display:inline-flex; align-items:center; gap:6px; border:none; background:none; color:var(--ink-muted); font-family:'Inter',sans-serif; font-size:12.5px; font-weight:600; cursor:pointer; padding:6px 10px; border-radius:8px; }
.report-ad-btn:hover{ color:var(--warn); background:var(--warn-bg); }
.report-ad-form{ background:var(--panel); border:1px solid var(--line); border-radius:var(--radius); box-shadow:var(--shadow); padding:18px; margin-top:12px; }
.report-proof-preview{ display:flex; flex-wrap:wrap; gap:8px; margin-top:10px; }
.report-proof-preview img{ width:64px; height:64px; object-fit:cover; border-radius:8px; border:1px solid var(--line); }
.report-ad-form label{ display:block; font-size:12.5px; font-weight:700; color:var(--ink); margin-bottom:8px; }
.report-ad-form textarea{ width:100%; border:1.5px solid var(--line); border-radius:10px; padding:10px 12px; font-size:13.5px; font-family:'Inter',sans-serif; color:var(--ink); background:var(--panel-tint); outline:none; resize:vertical; }
.report-ad-form textarea:focus{ border-color:var(--accent); }
.report-ad-form-actions{ display:flex; gap:10px; margin-top:12px; }

.related-section{ margin-top:32px; }
.related-section h3{ font-size:16px; font-weight:700; color:var(--ink); margin:0 0 16px; }
.related-grid{ display:grid; grid-template-columns:repeat(2, 1fr); gap:16px; }

@media (max-width: 700px){
  .detail-actions-row{ flex-wrap:wrap; }
  .detail-action-btn span:not(.like-label):not(.save-label){ display:none; }
}

@media (max-width: 1024px){
  .grid{ grid-template-columns:1fr; }
}

/* ---------- Mobile hamburger menu ---------- */
.hamburger-btn{
  display:none;
  align-items:center;
  justify-content:center;
  width:34px; height:34px;
  flex-shrink:0;
  background:rgba(255,255,255,.15);
  border:none;
  border-radius:8px;
  color:#fff;
  cursor:pointer;
}
.hamburger-btn:hover{ background:rgba(255,255,255,.25); }

.header-quick-cats{
  display:none;
  gap:8px;
  overflow-x:auto;
  max-width:1280px;
  margin:0 auto;
  padding:0 16px 16px;
  -ms-overflow-style:none;
  scrollbar-width:none;
}
.header-quick-cats::-webkit-scrollbar{ display:none; height:0; }
.quick-cat-chip{
  flex-shrink:0;
  padding:7px 14px;
  border-radius:999px;
  background:rgba(255,255,255,.16);
  color:#fff;
  font-size:12px;
  font-weight:700;
  text-decoration:none;
  white-space:nowrap;
  transition:background .2s;
}
.quick-cat-chip:hover{ background:rgba(255,255,255,.28); }

@media (max-width: 820px){
  .footer-inner{ grid-template-columns:1fr 1fr; }
  .layout{ flex-direction:column; padding:16px; }
  .sidebar{ display:none; }
  .card-media{ width:140px; height:130px; }
  .header-top{ flex-wrap:nowrap; padding:10px 16px; gap:10px; }
  .header-right{ gap:10px; }
  .logout-btn, .header-right > span.header-action, .header-right > a.header-action{ display:none; }
  .header-action{ font-size:13px; }
  .post-ad-btn{ padding:9px 14px; font-size:11.5px; }
  .header-search{ padding:2px 16px 14px; gap:10px; }
  .header-tagline{ margin:2px auto 12px; }
  .header-tagline-heading{ font-size:16px; margin-bottom:4px; }
  .header-tagline-brand, .header-tagline-sub{ font-size:11px; }
  .location-pill{ padding:6px 12px; font-size:11.5px; }
  .search-bar input{ padding:9px 14px; font-size:13.5px; }
  .search-btn{ height:36px; padding:0 14px; font-size:12px; }
  .logo{ font-size:16px; }
  .logo-mark{ width:22px; height:22px; font-size:12px; }
  .detail-page{ padding:18px 16px; }
  .detail-gallery.detail-gallery--empty{ height:200px; }
  .related-grid{ grid-template-columns:1fr; }
  .hamburger-btn{ display:flex; width:30px; height:30px; }
  .header-quick-cats{ display:flex; }
  .ad-type-row-inner{ padding:10px 14px; gap:6px; }
  .ad-type-chip{ padding:6px 10px; font-size:11px; gap:4px; }
  .header-quick-cats{ gap:6px; padding:0 14px 14px; }
  .quick-cat-chip{ padding:6px 12px; font-size:11px; }
}

.mobile-menu-overlay{
  position:fixed; inset:0;
  background:rgba(20,20,30,.45);
  z-index:60;
  display:none;
}
.mobile-menu-overlay.open{ display:block; }

.mobile-menu-panel{
  position:fixed;
  top:0; left:0; bottom:0;
  width:82%;
  max-width:320px;
  background:var(--panel);
  z-index:61;
  overflow-y:auto;
  transform:translateX(-100%);
  transition:transform .25s ease;
  box-shadow:4px 0 24px rgba(0,0,0,.15);
}
.mobile-menu-panel.open{ transform:translateX(0); }

.mobile-menu-head{
  display:flex; align-items:center; justify-content:space-between;
  padding:18px 20px;
  border-bottom:1px solid var(--line);
}
.mobile-menu-title{ font-family:'Sora',sans-serif; font-weight:700; font-size:16px; color:var(--ink); }
.mobile-menu-close{ border:none; background:var(--bg-soft); color:var(--ink-muted); width:32px; height:32px; border-radius:8px; display:flex; align-items:center; justify-content:center; cursor:pointer; }
.mobile-menu-close:hover{ background:var(--line); }

.mobile-menu-section{ padding:16px 20px; border-bottom:1px solid var(--line); }
.mobile-menu-section h3{ font-size:12.5px; text-transform:uppercase; letter-spacing:.06em; color:var(--ink-muted); font-weight:700; margin:0 0 10px; }
.mobile-menu-list{ list-style:none; margin:0; padding:0; }
.mobile-menu-list li{ margin-bottom:2px; }
.mobile-menu-list a{
  display:block;
  padding:10px 10px;
  border-radius:8px;
  font-size:14.5px;
  font-weight:600;
  color:var(--ink);
  text-decoration:none;
}
.mobile-menu-list a:hover{ background:var(--bg-soft); color:var(--accent-dark); }

@media (min-width: 821px){
  .mobile-menu-overlay, .mobile-menu-panel{ display:none !important; }
}
