@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;0,900;1,400&family=DM+Sans:wght@300;400;500;600&display=swap');

:root {
  --navy:    #0d1f3c;
  --ocean:   #1a4b7a;
  --sky:     #3b82c4;
  --sand:    #f4ede0;
  --gold:    #c9933a;
  --white:   #ffffff;
  --mist:    #e8f0f8;
  --text:    #1a1a2e;
  --muted:   #6b7a99;
  --border:  #d4dfe8;
  --success: #2d7a4f;
  --error:   #b03a2e;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }

/* ── HEADER ── */
.site-header {
  background: var(--navy);
  border-bottom: 3px solid var(--gold);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.5px;
}
.logo-sub {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-left: 2px;
}
.main-nav { display: flex; gap: 8px; align-items: center; }
.main-nav a {
  color: rgba(255,255,255,0.8);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 6px;
  transition: all 0.2s;
  letter-spacing: 0.3px;
}
.main-nav a:hover { color: var(--white); background: rgba(255,255,255,0.1); }
.btn-list {
  background: var(--gold) !important;
  color: var(--navy) !important;
  font-weight: 600 !important;
  padding: 9px 18px !important;
}
.btn-list:hover { background: #d9a348 !important; }

/* ── HERO ── */
.hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--ocean) 60%, var(--sky) 100%);
  padding: 80px 24px 60px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-inner { max-width: 1200px; margin: 0 auto; position: relative; text-align: center; }
.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 20px;
}
.hero h1 em { font-style: italic; color: var(--gold); }
.hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.75);
  max-width: 560px;
  margin: 0 auto 36px;
}
.search-bar {
  display: flex;
  max-width: 600px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 50px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.3);
}
.search-bar input {
  flex: 1;
  border: none;
  outline: none;
  padding: 16px 24px;
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  color: var(--text);
}
.search-bar select {
  border: none;
  border-left: 1px solid var(--border);
  outline: none;
  padding: 0 16px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  color: var(--muted);
  background: var(--white);
  cursor: pointer;
}
.search-bar button {
  background: var(--gold);
  color: var(--navy);
  border: none;
  padding: 0 28px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.2s;
}
.search-bar button:hover { background: #d9a348; }

/* ── STATS BAR ── */
.stats-bar {
  background: var(--sand);
  border-bottom: 1px solid var(--border);
  padding: 16px 24px;
}
.stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
}
.stat { text-align: center; }
.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--navy);
}
.stat-label { font-size: 0.78rem; color: var(--muted); font-weight: 500; letter-spacing: 0.5px; }

/* ── AD BOXES ── */
.ad-section {
  background: var(--navy);
  padding: 48px 24px;
}
.ad-section-inner { max-width: 1200px; margin: 0 auto; }
.ad-section-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}
.ad-section-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--white);
}
.ad-badge {
  background: var(--gold);
  color: var(--navy);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
}
.ad-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.ad-box {
  aspect-ratio: 16/9;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  background: rgba(255,255,255,0.06);
  border: 1px dashed rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s, box-shadow 0.2s;
}
.ad-box.filled { border: none; cursor: pointer; }
.ad-box.filled:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(0,0,0,0.4); }
.ad-box img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ad-empty-label {
  text-align: center;
  color: rgba(255,255,255,0.35);
}
.ad-empty-label span { display: block; font-size: 2rem; margin-bottom: 6px; }
.ad-empty-label p { font-size: 0.8rem; letter-spacing: 1px; }
.ad-cta {
  text-align: center;
  margin-top: 24px;
}
.ad-cta a {
  color: var(--gold);
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid var(--gold);
  padding: 10px 24px;
  border-radius: 50px;
  transition: all 0.2s;
  display: inline-block;
}
.ad-cta a:hover { background: var(--gold); color: var(--navy); }

/* ── CATEGORY GRID ── */
.section { padding: 64px 24px; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: var(--navy);
  margin-bottom: 8px;
}
.section-sub { color: var(--muted); margin-bottom: 40px; font-size: 1rem; }
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.cat-card {
  background: var(--mist);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all 0.2s;
  cursor: pointer;
}
.cat-card:hover {
  background: var(--navy);
  border-color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(13,31,60,0.15);
}
.cat-card:hover .cat-name { color: var(--white); }
.cat-card:hover .cat-count { color: rgba(255,255,255,0.6); }
.cat-icon { font-size: 2rem; flex-shrink: 0; }
.cat-name { font-weight: 600; font-size: 0.95rem; color: var(--navy); margin-bottom: 2px; }
.cat-count { font-size: 0.8rem; color: var(--muted); }

/* ── LISTINGS GRID ── */
.listings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}
.listing-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.25s;
}
.listing-card:hover {
  border-color: var(--sky);
  box-shadow: 0 8px 32px rgba(59,130,196,0.12);
  transform: translateY(-2px);
}
.listing-card-head {
  background: linear-gradient(135deg, var(--mist), #dce8f5);
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid var(--border);
}
.listing-logo {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: var(--white);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
  overflow: hidden;
}
.listing-logo img { width: 100%; height: 100%; object-fit: cover; }
.listing-meta { flex: 1; min-width: 0; }
.listing-name {
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.listing-cat {
  font-size: 0.75rem;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.listing-body { padding: 18px 24px; }
.listing-desc {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.listing-details { display: flex; flex-direction: column; gap: 5px; }
.listing-detail {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--muted);
}
.listing-detail span:first-child { font-size: 0.9rem; }
.listing-footer {
  padding: 14px 24px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 8px;
}
.btn-sm {
  flex: 1;
  text-align: center;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  transition: all 0.2s;
}
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--ocean); }
.btn-outline { border: 1px solid var(--border); color: var(--navy); }
.btn-outline:hover { border-color: var(--navy); background: var(--mist); }
.featured-badge {
  background: var(--gold);
  color: var(--navy);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
}

/* ── FORMS ── */
.page-wrap { max-width: 760px; margin: 60px auto; padding: 0 24px; }
.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 48px;
  box-shadow: 0 4px 32px rgba(0,0,0,0.06);
}
.form-title {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: var(--navy);
  margin-bottom: 8px;
}
.form-sub { color: var(--muted); margin-bottom: 36px; }
.form-group { margin-bottom: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--navy); margin-bottom: 7px; }
.required { color: var(--gold); }
input[type=text], input[type=email], input[type=tel], input[type=url], input[type=password],
select, textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.2s;
  outline: none;
}
input:focus, select:focus, textarea:focus { border-color: var(--sky); }
textarea { resize: vertical; min-height: 120px; }
.btn-submit {
  width: 100%;
  padding: 15px;
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 8px;
}
.btn-submit:hover { background: var(--ocean); }
.alert {
  padding: 14px 18px;
  border-radius: 8px;
  font-size: 0.9rem;
  margin-bottom: 24px;
  font-weight: 500;
}
.alert-success { background: #edf7f1; border: 1px solid #a8d5b9; color: var(--success); }
.alert-error { background: #fdf0ef; border: 1px solid #e8b3ae; color: var(--error); }
.hint { font-size: 0.78rem; color: var(--muted); margin-top: 5px; }

/* ── FOOTER ── */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 48px 24px 24px;
  border-top: 3px solid var(--gold);
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 36px;
}
.footer-brand .logo-text { font-size: 1.3rem; }
.footer-brand p { font-size: 0.85rem; margin-top: 12px; line-height: 1.7; }
.footer-col h4 {
  font-family: 'Playfair Display', serif;
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 14px;
}
.footer-col a {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 8px;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  align-items: center;
}
.footer-bottom a:hover { color: var(--gold); }

/* ── ADMIN ── */
.admin-layout { display: flex; min-height: 100vh; }
.admin-sidebar {
  width: 240px;
  background: var(--navy);
  border-right: 1px solid rgba(255,255,255,0.1);
  flex-shrink: 0;
  position: fixed;
  top: 0; left: 0; bottom: 0;
  overflow-y: auto;
}
.admin-sidebar-logo {
  padding: 24px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.admin-sidebar-logo .logo-text { font-size: 1.1rem; }
.admin-nav { padding: 16px 0; }
.admin-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  color: rgba(255,255,255,0.65);
  font-size: 0.88rem;
  font-weight: 500;
  transition: all 0.2s;
}
.admin-nav a:hover, .admin-nav a.active {
  background: rgba(255,255,255,0.08);
  color: var(--white);
  border-left: 3px solid var(--gold);
}
.admin-nav .nav-icon { width: 18px; text-align: center; }
.admin-content { margin-left: 240px; flex: 1; background: #f4f6fa; min-height: 100vh; }
.admin-topbar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 16px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.admin-topbar h1 { font-family: 'Playfair Display', serif; font-size: 1.4rem; color: var(--navy); }
.admin-body { padding: 32px; }
.admin-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 32px; }
.admin-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
}
.admin-card-num { font-family: 'Playfair Display', serif; font-size: 2rem; color: var(--navy); font-weight: 700; }
.admin-card-label { font-size: 0.82rem; color: var(--muted); margin-top: 4px; }
.admin-card-accent { width: 40px; height: 4px; border-radius: 2px; background: var(--gold); margin-bottom: 12px; }
.data-table {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.data-table-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.data-table-header h2 { font-family: 'Playfair Display', serif; font-size: 1.1rem; color: var(--navy); }
table { width: 100%; border-collapse: collapse; }
th {
  background: var(--mist);
  text-align: left;
  padding: 12px 16px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
td { padding: 14px 16px; font-size: 0.88rem; border-bottom: 1px solid var(--border); vertical-align: middle; }
tr:last-child td { border-bottom: none; }
tr:hover td { background: #f9fbff; }
.status-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.status-pending  { background: #fff7e6; color: #b07d00; }
.status-approved { background: #edf7f1; color: var(--success); }
.status-rejected { background: #fdf0ef; color: var(--error); }
.action-btns { display: flex; gap: 6px; flex-wrap: wrap; }
.btn-xs {
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
}
.btn-xs:hover { opacity: 0.85; }
.btn-approve { background: var(--success); color: var(--white); }
.btn-reject  { background: var(--error); color: var(--white); }
.btn-edit    { background: var(--sky); color: var(--white); }
.btn-delete  { background: #888; color: var(--white); }
.logout-link { color: rgba(255,255,255,0.5); font-size: 0.82rem; padding: 6px 12px; border: 1px solid rgba(255,255,255,0.15); border-radius: 6px; }
.logout-link:hover { color: var(--white); border-color: rgba(255,255,255,0.4); }

/* ── BROWSE PAGE ── */
.browse-layout { display: grid; grid-template-columns: 240px 1fr; gap: 32px; max-width: 1200px; margin: 48px auto; padding: 0 24px; }
.filter-sidebar { align-self: start; position: sticky; top: 90px; }
.filter-card { background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 24px; }
.filter-card h3 { font-family: 'Playfair Display', serif; font-size: 1rem; color: var(--navy); margin-bottom: 16px; }
.filter-list { list-style: none; }
.filter-list li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 0;
  font-size: 0.88rem;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}
.filter-list li:last-child a { border-bottom: none; }
.filter-list li a:hover, .filter-list li a.active { color: var(--navy); font-weight: 600; }
.filter-count { background: var(--mist); color: var(--muted); border-radius: 20px; font-size: 0.72rem; padding: 2px 8px; }
.browse-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.browse-header h2 { font-family: 'Playfair Display', serif; font-size: 1.5rem; color: var(--navy); }
.result-count { font-size: 0.88rem; color: var(--muted); }
.no-results { text-align: center; padding: 60px 0; color: var(--muted); }
.no-results h3 { font-family: 'Playfair Display', serif; font-size: 1.5rem; color: var(--navy); margin-bottom: 8px; }

/* ── HAMBURGER MENU ── */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: all 0.3s;
}
.mobile-nav {
  display: none;
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 16px;
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block;
  color: rgba(255,255,255,0.8);
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.2s;
}
.mobile-nav a:hover { background: rgba(255,255,255,0.1); color: white; }
.mobile-nav .btn-list {
  background: var(--gold) !important;
  color: var(--navy) !important;
  font-weight: 700 !important;
  margin-top: 8px;
  text-align: center;
}

/* ── TABLET ── */
@media (max-width: 900px) {
  .category-grid { grid-template-columns: 1fr 1fr; }
  .listings-grid { grid-template-columns: 1fr 1fr; }
  .ad-grid { grid-template-columns: 1fr 1fr; }
  .browse-layout { grid-template-columns: 1fr; }
  .filter-sidebar { position: static; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .admin-sidebar { display: none; }
  .admin-content { margin-left: 0; }
  .admin-cards { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero { padding: 48px 20px 40px; }
  .hero h1 { font-size: 2rem; }
  .ad-section { padding: 32px 16px; }
  .section { padding: 40px 16px; }
}

/* ── MOBILE ── */
@media (max-width: 600px) {
  /* Header */
  .header-inner { padding: 0 16px; height: 60px; }
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .logo-text { font-size: 1.2rem; }
  .logo-sub { display: none; }

  /* Hero */
  .hero { padding: 36px 16px 32px; }
  .hero h1 { font-size: 1.7rem; line-height: 1.2; }
  .hero p { font-size: 0.95rem; }
  .hero-eyebrow { font-size: 0.65rem; letter-spacing: 2px; }

  /* Search bar */
  .search-bar {
    flex-direction: column;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.25);
  }
  .search-bar input {
    border-radius: 0;
    padding: 14px 16px;
    font-size: 0.95rem;
    border-bottom: 1px solid var(--border);
  }
  .search-bar select {
    border-left: none;
    border-top: none;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
    padding: 12px 16px;
    font-size: 0.9rem;
    width: 100%;
  }
  .search-bar button {
    border-radius: 0 0 12px 12px;
    padding: 14px;
    font-size: 1rem;
    width: 100%;
  }

  /* Stats bar */
  .stats-inner { gap: 20px; }
  .stat-number { font-size: 1.3rem; }
  .stat-label { font-size: 0.7rem; }

  /* Ad section */
  .ad-section { padding: 28px 16px; }
  .ad-grid { grid-template-columns: 1fr; gap: 12px; }
  .ad-section-header h2 { font-size: 1.2rem; }

  /* Categories */
  .section { padding: 32px 16px; }
  .section-title { font-size: 1.5rem; }
  .category-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .cat-card { padding: 16px 12px; gap: 10px; }
  .cat-icon { font-size: 1.5rem; }
  .cat-name { font-size: 0.82rem; }
  .cat-count { font-size: 0.72rem; }

  /* Listings grid */
  .listings-grid { grid-template-columns: 1fr; gap: 16px; }
  .listing-card-head { padding: 16px; }
  .listing-body { padding: 14px 16px; }
  .listing-footer { padding: 12px 16px; }

  /* Forms */
  .page-wrap { margin: 24px auto; padding: 0 16px; }
  .form-card { padding: 24px 16px; border-radius: 12px; }
  .form-title { font-size: 1.5rem; }
  .form-row { grid-template-columns: 1fr; }

  /* Browse page */
  .browse-layout { margin: 24px auto; padding: 0 16px; gap: 20px; }
  .browse-header h2 { font-size: 1.2rem; }
  .filter-card { padding: 16px; }

  /* Footer */
  .site-footer { padding: 32px 16px 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 20px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; font-size: 0.75rem; }

  /* Admin */
  .admin-cards { grid-template-columns: 1fr 1fr; }
  .admin-body { padding: 16px; }
  .admin-topbar { padding: 12px 16px; }
  .admin-topbar h1 { font-size: 1.1rem; }
  table { font-size: 0.8rem; }
  td, th { padding: 10px 8px; }

  /* Listing detail page */
  .listing-detail-grid { grid-template-columns: 1fr !important; }
}
