/* AJUSTE: design premium responsivo, tipografia-base de 14px e pack SVG local. */
:root {
  --navy: #0b1f3a;
  --navy-soft: #12365c;
  --blue: #1979b9;
  --blue-dark: #0e619b;
  --blue-light: #eaf5fc;
  --teal: #1d8a8a;
  --yellow: #f5c63d;
  --yellow-dark: #e6b52b;
  --ink: #26384d;
  --muted: #6f7f92;
  --line: #dce4eb;
  --paper: #f3f6f8;
  --white: #fff;
  --danger: #c43d4d;
  --success: #19875b;
  --radius: 12px;
  --shadow-sm: 0 5px 18px rgba(11, 31, 58, .07);
  --shadow-md: 0 14px 38px rgba(11, 31, 58, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font: 400 14px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input, select, textarea { font: inherit; }
button, a { transition: color .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
strong, b { font-weight: 500; }
.container { width: min(1220px, calc(100% - 40px)); margin-inline: auto; }
.ui-icon, .upload-icon, .empty-icon {
  width: 1.15em;
  height: 1.15em;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: -.16em;
}
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid rgba(25, 121, 185, .28);
  outline-offset: 2px;
}

/* Cabeçalho */
.site-header {
  height: 76px;
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid rgba(220, 228, 235, .9);
  box-shadow: 0 4px 20px rgba(11, 31, 58, .06);
  backdrop-filter: blur(12px);
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 22px; }
.logo { display: flex; align-items: center; gap: 10px; min-width: max-content; }
.logo-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: linear-gradient(145deg, var(--blue), var(--teal));
  border-radius: 11px;
  box-shadow: 0 7px 18px rgba(25, 121, 185, .25);
}
.logo-mark .ui-icon { width: 21px; height: 21px; }
.logo-copy { display: flex; align-items: baseline; font-size: 22px; letter-spacing: -.7px; }
.logo-copy span, .logo-copy strong { font-weight: 500; }
.logo-copy span { color: var(--navy); }
.logo-copy strong { color: var(--blue); }
.region-chip {
  margin-right: auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 11px;
  color: #5f7084;
  background: #f2f6f9;
  border: 1px solid #e6edf2;
  border-radius: 999px;
  font-size: 12px;
}
.header-inner nav { display: flex; align-items: center; gap: 20px; color: #536479; font-size: 14px; }
.header-inner nav > a { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.header-inner nav > a:hover { color: var(--blue); }
.post-button, .yellow-button, .blue-button, .primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 9px;
  font-weight: 500;
}
.post-button, .yellow-button {
  color: #19324c !important;
  background: linear-gradient(180deg, #ffd75d, var(--yellow));
  box-shadow: 0 6px 16px rgba(174, 132, 14, .2);
}
.post-button:hover, .yellow-button:hover { background: var(--yellow-dark); transform: translateY(-1px); }
.post-button { min-height: 44px; padding: 0 18px; }
.yellow-button { min-height: 44px; padding: 0 18px; }
.mobile-menu { display: none; width: 42px; height: 42px; border: 0; border-radius: 9px; color: var(--navy); background: #f1f5f8; }
.mobile-menu .ui-icon { width: 24px; height: 24px; }
.flash { position: fixed; z-index: 50; top: 88px; left: 50%; transform: translateX(-50%); min-width: 280px; max-width: 560px; padding: 13px 17px; border-radius: 9px; color: #fff; box-shadow: var(--shadow-md); }
.flash-success { background: var(--success); }
.flash-warning { background: #b87a12; }
.flash-error { background: var(--danger); }

/* Hero e busca */
.hero {
  min-height: 390px;
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 78% 20%, rgba(72, 186, 192, .45), transparent 28%),
    radial-gradient(circle at 12% 0, rgba(76, 155, 207, .42), transparent 31%),
    linear-gradient(125deg, #0b1f3a 0%, #124d70 54%, #176f78 100%);
}
.hero::before, .hero::after { content: ""; position: absolute; pointer-events: none; }
.hero::before { width: 520px; height: 520px; right: -150px; bottom: -365px; border: 55px solid rgba(255, 255, 255, .07); border-radius: 50%; }
.hero::after { left: -4%; right: -4%; bottom: -145px; height: 230px; border-radius: 50% 50% 0 0; background: rgba(5, 34, 52, .3); }
.hero-mask { position: absolute; inset: 0; background: linear-gradient(180deg, transparent, rgba(3, 22, 38, .14)); }
.hero-content { position: relative; z-index: 2; padding-top: 76px; text-align: center; }
.hero-content > p { margin: 0 0 10px; color: #9bd8ea; font-size: 11px; letter-spacing: 2.5px; font-weight: 500; }
.hero h1 { margin: 0; font-size: clamp(31px, 3vw, 42px); line-height: 1.2; font-weight: 500; letter-spacing: -.8px; }
.hero-content > span { display: block; margin-top: 10px; color: #d8e7ef; font-size: 14px; }
.search-form {
  width: min(930px, 100%);
  min-height: 66px;
  margin: 30px auto 0;
  padding: 7px;
  display: grid;
  grid-template-columns: 1.25fr 1fr 140px;
  background: rgba(255, 255, 255, .96);
  border: 1px solid rgba(255, 255, 255, .65);
  border-radius: 14px;
  box-shadow: 0 20px 48px rgba(3, 22, 38, .27);
}
.search-form label { min-width: 0; display: flex; flex-direction: row; align-items: center; gap: 0; color: #718196; border-right: 1px solid #e0e7ed; }
.field-icon { width: 48px; display: grid; place-items: center; color: var(--blue); }
.field-icon .ui-icon { width: 21px; height: 21px; }
.search-form input, .search-form select { height: 100%; min-width: 0; padding: 0 12px 0 0; color: #35475b; background: transparent; border: 0; border-radius: 0; box-shadow: none; outline: 0; }
.search-form button { display: flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 9px; color: #fff; background: linear-gradient(180deg, #278dcc, var(--blue)); font-weight: 500; }
.search-form button:hover { background: var(--blue-dark); }
.popular { margin-top: 15px; color: #d9e7ee; font-size: 12px; }
.popular a { display: inline-block; margin-left: 8px; padding: 5px 10px; color: #fff; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .13); border-radius: 999px; }
.popular a:hover { background: rgba(255, 255, 255, .22); }

/* Conteúdo da home */
.page-bg { padding: 30px 0 66px; background: var(--paper); }
.content-stack { display: flex; flex-direction: column; gap: 24px; }
.alert-box { padding: 18px; background: #fff7df; border: 1px solid #efd08a; border-radius: var(--radius); }
.alert-box strong, .alert-box p { display: block; margin: 0; }
.alert-box p { margin-top: 7px; font-size: 14px; }
.region-card, .box-section { background: #fff; border: 1px solid rgba(214, 224, 232, .9); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.region-card { min-height: 260px; padding: 28px 30px; display: grid; grid-template-columns: 1.5fr 1fr; gap: 32px; }
.region-card h2 { margin: 0 0 20px; display: flex; align-items: center; gap: 9px; color: var(--navy); font-size: 20px; font-weight: 500; }
.region-card h2 .ui-icon { color: var(--blue); }
.city-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px 28px; }
.city-grid a { min-height: 31px; display: flex; align-items: center; color: #56697d; font-size: 14px; }
.city-grid a::before { content: ""; width: 5px; height: 5px; margin-right: 8px; border-radius: 50%; background: #92a8b9; }
.city-grid a:hover { color: var(--blue); transform: translateX(2px); }
.region-card .yellow-button { width: max-content; margin-top: 18px; }
.region-art { position: relative; min-height: 200px; overflow: hidden; border-radius: 10px; background: linear-gradient(150deg, #e9f7fa, #cce8ec); }
.region-art::before { content: ""; position: absolute; width: 125px; height: 125px; right: 24px; top: 25px; border: 25px solid rgba(255, 255, 255, .52); border-radius: 50%; }
.region-art::after { content: ""; position: absolute; left: -15%; right: -15%; bottom: -48px; height: 130px; border-radius: 50%; background: #82c2c5; }
.region-art i { position: absolute; bottom: 38px; border-left: 82px solid transparent; border-right: 82px solid transparent; border-bottom: 115px solid #5ca3aa; filter: drop-shadow(0 8px 8px rgba(38, 104, 110, .12)); }
.region-art i:first-child { left: 28px; }
.region-art i:nth-child(2) { right: 3px; transform: scale(.78); border-bottom-color: #4d9099; }
.region-art b { position: absolute; z-index: 2; right: 20px; bottom: 18px; color: #215e66; font-size: 11px; letter-spacing: 2.3px; }

.box-section > header { min-height: 64px; padding: 0 22px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #e5ebf0; }
.box-section > header h2 { margin: 0; color: #526276; font-size: 19px; font-weight: 400; }
.box-section > header h2 strong { color: var(--navy); font-weight: 500; }
.box-section > header a { display: inline-flex; align-items: center; gap: 7px; color: var(--blue); font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: .5px; }
.premium-grid { padding: 20px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.premium-grid article { min-width: 0; padding: 7px; border: 1px solid transparent; border-radius: 10px; }
.premium-grid article:hover { border-color: #dbe8f0; box-shadow: 0 8px 22px rgba(19, 57, 84, .09); transform: translateY(-2px); }
.premium-grid figure { height: 128px; margin: 0; position: relative; overflow: hidden; background: #d8e4eb; border-radius: 8px; }
.premium-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.premium-grid article:hover img { transform: scale(1.035); }
.premium-grid figure span, .listing-card figure em { position: absolute; left: 9px; top: 9px; padding: 5px 8px; color: #27374a; background: var(--yellow); border-radius: 5px; font-size: 10px; font-style: normal; font-weight: 500; letter-spacing: .4px; box-shadow: 0 3px 8px rgba(80, 60, 0, .15); }
.premium-grid h3 { min-height: 40px; margin: 11px 0 5px; color: #2d4054; font-size: 14px; line-height: 1.4; font-weight: 500; }
.premium-grid article > a > strong { display: block; color: var(--blue-dark); font-size: 16px; font-weight: 500; }
.premium-grid small { display: flex; align-items: center; gap: 5px; margin-top: 7px; color: #7a8999; font-size: 12px; }
.premium-grid small .ui-icon { color: var(--blue); }

.category-grid { display: grid; grid-template-columns: repeat(8, 1fr); padding: 10px; }
.category-grid a { min-height: 145px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; border-radius: 10px; }
.category-grid a:hover, .category-grid a.active { color: var(--blue); background: #eff8fd; transform: translateY(-2px); }
.category-icon { width: 58px; height: 58px; display: grid; place-items: center; color: var(--blue); background: linear-gradient(145deg, #eef8fd, #dff1fa); border: 1px solid #d7ebf5; border-radius: 18px; }
.category-icon .ui-icon { width: 30px; height: 30px; stroke-width: 1.65; }
.category-grid a:hover .category-icon, .category-grid a.active .category-icon { color: #fff; background: linear-gradient(145deg, #2c91cc, var(--blue)); border-color: transparent; box-shadow: 0 8px 18px rgba(25, 121, 185, .24); }
.category-grid strong { font-size: 14px; font-weight: 500; text-align: center; }
.category-grid small { color: #8a98a7; font-size: 12px; }

.listing-section { padding-top: 20px; }
.listing-section > header { margin-bottom: 17px; display: flex; align-items: flex-end; justify-content: space-between; }
.listing-section h2 { margin: 0; color: var(--navy); font-size: 26px; font-weight: 500; }
.listing-section header p { margin: 6px 0 0; color: #758599; font-size: 14px; }
.listing-section header > span { color: #718195; font-size: 13px; }
.listing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.listing-card { overflow: hidden; background: #fff; border: 1px solid #dbe4eb; border-radius: var(--radius); box-shadow: 0 4px 16px rgba(11, 31, 58, .05); }
.listing-card:hover { border-color: #c9dbe7; box-shadow: 0 14px 30px rgba(17, 53, 80, .12); transform: translateY(-4px); }
.listing-card figure { height: 185px; margin: 0; position: relative; overflow: hidden; background: #cedce4; }
.listing-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .28s ease; }
.listing-card:hover img { transform: scale(1.035); }
.favorite-icon { width: 36px; height: 36px; position: absolute; top: 9px; right: 9px; display: grid; place-items: center; color: #385068; background: rgba(255, 255, 255, .94); border-radius: 50%; box-shadow: 0 4px 12px rgba(11, 31, 58, .15); }
.favorite-icon .ui-icon { width: 18px; height: 18px; }
.listing-card > a > div { padding: 16px; }
.listing-card small { color: var(--blue); font-size: 12px; text-transform: uppercase; letter-spacing: .7px; font-weight: 500; }
.listing-card h3 { min-height: 44px; margin: 8px 0 7px; color: #2a3e52; font-size: 16px; line-height: 1.4; font-weight: 500; }
.listing-card > a > div > strong { display: block; color: var(--blue-dark); font-size: 20px; font-weight: 500; }
.listing-card p { margin: 11px 0 0; display: flex; align-items: center; gap: 5px; color: #758597; font-size: 13px; }
.listing-card p .ui-icon { color: var(--blue); }
.empty { padding: 48px; text-align: center; background: #fff; border: 1px dashed #b9cad6; border-radius: var(--radius); }
.empty-icon { width: 42px; height: 42px; color: #7899af; }
.empty h3 { margin: 12px 0 5px; font-size: 18px; font-weight: 500; }
.empty p { margin: 0 0 22px; color: #7b8998; font-size: 14px; }
.blue-button { min-height: 42px; padding: 0 17px; color: #fff; background: var(--blue); font-size: 14px; }
.blue-button:hover { background: var(--blue-dark); }

.sell-banner { padding: 48px 0; color: #fff; background: radial-gradient(circle at 80% 0, rgba(37, 137, 155, .45), transparent 25%), linear-gradient(115deg, var(--navy), #124b70); }
.sell-banner .container { display: flex; align-items: center; justify-content: space-between; }
.sell-banner span { color: #82d0ee; font-size: 11px; letter-spacing: 2px; }
.sell-banner h2 { margin: 8px 0; font-size: 27px; font-weight: 500; }
.sell-banner p { margin: 0; color: #c2d5e2; font-size: 14px; }
.safe-strip { padding: 34px 0; }
.safe-strip .container { display: grid; grid-template-columns: repeat(3, 1fr); }
.safe-strip .container > div { display: flex; align-items: center; justify-content: center; gap: 14px; border-right: 1px solid #e1e7ec; }
.safe-strip .container > div:last-child { border: 0; }
.safe-strip b { width: 46px; height: 46px; display: grid; place-items: center; color: var(--blue); background: var(--blue-light); border-radius: 14px; }
.safe-strip b .ui-icon { width: 25px; height: 25px; }
.safe-strip span, .safe-strip strong, .safe-strip small { display: block; }
.safe-strip strong { font-size: 14px; font-weight: 500; }
.safe-strip small { margin-top: 3px; color: #7b8998; font-size: 12px; }

/* Formulários e autenticação */
.auth-page, .publish-page, .dashboard-page, .detail-page { min-height: 650px; padding: 50px 0; background: var(--paper); }
.form-card { width: min(720px, calc(100% - 30px)); margin: auto; padding: 34px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-md); }
.form-card.compact { max-width: 500px; }
.form-card > header { margin-bottom: 27px; text-align: center; }
.form-card > header span, .publish-heading > span, .dashboard-content > header span { color: var(--blue); font-size: 11px; letter-spacing: 2px; font-weight: 500; }
.form-card h1, .publish-heading h1, .dashboard-content h1 { margin: 8px 0; color: var(--navy); font-size: 27px; font-weight: 500; }
.form-card header p, .publish-heading p, .dashboard-content header p { margin: 0; color: var(--muted); font-size: 14px; }
.form-card form, .publish-form { display: flex; flex-direction: column; gap: 17px; }
label { display: flex; flex-direction: column; gap: 7px; color: #4c5f73; font-size: 14px; }
input, select, textarea { width: 100%; padding: 12px 13px; color: #27394c; background: #fff; border: 1px solid #c9d4de; border-radius: 8px; outline: 0; }
input:focus, select:focus, textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(25, 121, 185, .12); }
textarea { resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.check, .checks label { flex-direction: row; align-items: center; }
.check input, .checks input { width: auto; }
.checks { display: flex; gap: 24px; }
.primary-button { min-height: 46px; padding-inline: 20px; color: #fff; background: linear-gradient(180deg, #2689c6, var(--blue)); }
.primary-button:hover { background: var(--blue-dark); }
.form-card > footer { margin-top: 25px; padding-top: 19px; color: var(--muted); border-top: 1px solid var(--line); text-align: center; font-size: 14px; }
.form-card > footer a, .form-between a { color: var(--blue); }
.form-error { margin-bottom: 8px; padding: 11px 13px; color: #a83243; background: #fff0f2; border: 1px solid #f0b8c0; border-radius: 8px; font-size: 14px; }
.form-between { display: flex; justify-content: space-between; align-items: center; font-size: 13px; }

.publish-heading { margin-bottom: 30px; text-align: center; }
.publish-form { width: min(900px, 100%); margin: auto; }
.publish-form > section { overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.publish-form > section > header { padding: 18px 22px; display: flex; align-items: center; gap: 13px; border-bottom: 1px solid var(--line); }
.publish-form > section > header > b { width: 34px; height: 34px; display: grid; place-items: center; color: var(--blue); background: var(--blue-light); border-radius: 50%; }
.publish-form h2 { margin: 0; color: var(--navy); font-size: 16px; font-weight: 500; }
.publish-form header p { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.form-body { padding: 22px; display: flex; flex-direction: column; gap: 16px; }
.upload-box { min-height: 165px; align-items: center; justify-content: center; color: #43586d; background: #f8fbfd; border: 2px dashed #b7cad8; cursor: pointer; }
.upload-box:hover { border-color: var(--blue); background: #f2f9fd; }
.upload-box input { display: none; }
.upload-icon { width: 38px; height: 38px; color: var(--blue); }
.upload-box strong { font-size: 14px; }
.upload-box small { color: var(--muted); font-size: 12px; }
.image-preview { display: grid; grid-template-columns: repeat(5, 1fr); gap: 9px; }
.image-preview img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 8px; }
.publish-actions { display: flex; align-items: center; justify-content: flex-end; gap: 16px; }
.publish-actions > a { color: var(--muted); font-size: 14px; }

/* Painel */
.dashboard-layout { display: grid; grid-template-columns: 250px 1fr; gap: 22px; }
.dashboard-layout aside, .dashboard-content { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.user-box { padding: 26px; display: flex; flex-direction: column; align-items: center; border-bottom: 1px solid var(--line); }
.user-box > span { width: 58px; height: 58px; display: grid; place-items: center; color: #fff; background: linear-gradient(145deg, var(--navy-soft), var(--navy)); border-radius: 18px; font-size: 22px; }
.user-box strong { margin-top: 11px; font-size: 14px; font-weight: 500; }
.user-box small { margin-top: 4px; color: var(--muted); font-size: 12px; }
.dashboard-layout aside nav { padding: 12px; display: flex; flex-direction: column; gap: 3px; }
.dashboard-layout aside nav a { padding: 12px 13px; display: flex; align-items: center; gap: 9px; border-radius: 8px; font-size: 14px; }
.dashboard-layout aside nav a.active, .dashboard-layout aside nav a:hover { color: var(--blue); background: #edf7fc; }
.dashboard-content { padding: 27px; }
.dashboard-content > header { display: flex; justify-content: space-between; align-items: center; }
.stats-row { margin: 24px 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.stats-row > div { padding: 19px; background: linear-gradient(145deg, #fff, #f8fbfd); border: 1px solid var(--line); border-radius: 10px; }
.stats-row strong, .stats-row small { display: block; }
.stats-row strong { color: var(--blue); font-size: 24px; font-weight: 500; }
.stats-row small { margin-top: 4px; color: var(--muted); font-size: 13px; }
.manage-list { display: flex; flex-direction: column; gap: 11px; }
.manage-list article { padding: 11px; display: grid; grid-template-columns: 120px 1fr auto; gap: 16px; align-items: center; border: 1px solid var(--line); border-radius: 10px; }
.manage-list article > img { width: 120px; height: 88px; object-fit: cover; border-radius: 7px; }
.manage-list h2 { margin: 5px 0; font-size: 15px; font-weight: 500; }
.manage-list article > div > small { color: var(--blue); font-size: 11px; text-transform: uppercase; }
.manage-list article > div > strong { color: var(--blue-dark); font-size: 16px; }
.manage-list article > div > p { color: var(--muted); font-size: 12px; }
.status { padding: 4px 6px; background: #eef1f4; border-radius: 5px; }
.status-ativo { color: #16784f; background: #e4f6ee; }
.status-pendente { color: #8b6513; background: #fff1cd; }
.manage-actions { display: flex !important; align-items: flex-end !important; flex-direction: column; gap: 8px; }
.manage-actions > a, .manage-actions button { padding: 7px 9px; display: inline-flex; align-items: center; gap: 5px; background: #fff; border: 1px solid var(--line); border-radius: 6px; font-size: 12px; }
.manage-actions > a:hover, .manage-actions button:hover { color: var(--blue); border-color: #a9cce0; }
.manage-actions form { display: flex; gap: 6px; }

/* Página do anúncio */
.breadcrumbs { margin-bottom: 17px; color: #728194; font-size: 13px; }
.breadcrumbs a { color: var(--blue); }
.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 365px; gap: 22px; }
.gallery, .description-box, .price-box, .seller-box, .safety-box, .similar { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.gallery { padding: 12px; }
.gallery-main { height: 470px; display: grid; place-items: center; overflow: hidden; background: #edf1f4; border-radius: 8px; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.no-photo { color: var(--muted); }
.thumbnails { padding-top: 10px; display: flex; gap: 9px; overflow: auto; }
.thumbnails button { padding: 0; background: #fff; border: 2px solid transparent; border-radius: 7px; overflow: hidden; }
.thumbnails button:hover { border-color: var(--blue); }
.thumbnails img { width: 78px; height: 58px; object-fit: cover; }
.description-box { margin-top: 17px; padding: 24px; }
.description-box h2, .similar h2 { margin: 0 0 16px; color: var(--navy); font-size: 19px; font-weight: 500; }
.description-box > p { color: #4d5e70; font-size: 14px; line-height: 1.75; white-space: normal; }
.description-box dl { margin: 22px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.description-box dl div { padding: 13px; background: #f4f7f9; border-radius: 8px; }
.description-box dt { color: var(--muted); font-size: 12px; }
.description-box dd { margin: 5px 0 0; font-size: 14px; }
.detail-sidebar { display: flex; flex-direction: column; gap: 14px; }
.price-box, .seller-box, .safety-box { padding: 22px; }
.price-box > small { color: var(--blue); font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: .6px; }
.price-box h1 { margin: 9px 0; font-size: 22px; line-height: 1.35; font-weight: 500; }
.price-box > strong { display: block; color: var(--blue-dark); font-size: 29px; font-weight: 500; }
.price-box p { display: flex; align-items: center; gap: 5px; }
.price-box p, .price-box > span { color: var(--muted); font-size: 13px; }
.price-box p .ui-icon { color: var(--blue); }
.seller-box { display: grid; grid-template-columns: 48px 1fr; gap: 11px; }
.seller-box > span { width: 48px; height: 48px; display: grid; place-items: center; color: #fff; background: var(--navy); border-radius: 15px; }
.seller-box small, .seller-box strong, .seller-box p { display: block; margin: 0; }
.seller-box small { color: var(--muted); font-size: 12px; }
.seller-box strong { margin-top: 2px; font-size: 14px; }
.seller-box p { margin-top: 3px; color: var(--muted); font-size: 12px; }
.seller-box button, .seller-box > a { grid-column: 1/-1; padding: 12px; display: flex; align-items: center; justify-content: center; gap: 7px; color: #fff; background: var(--blue); border: 0; border-radius: 8px; font-size: 14px; }
.seller-box > a { color: var(--blue); background: #eef7fc; }
.safety-box h3 { margin: 0; display: flex; align-items: center; gap: 7px; color: var(--navy); font-size: 14px; font-weight: 500; }
.safety-box h3 .ui-icon { color: var(--success); }
.safety-box ul { margin-bottom: 0; padding-left: 19px; color: #647487; font-size: 13px; line-height: 1.8; }
.similar { margin-top: 22px; padding: 20px; }
.similar .premium-grid { padding: 0; grid-template-columns: repeat(4, 1fr); }

/* Rodapé */
.site-footer { color: #98a7b9; background: #07172b; }
.footer-grid { padding: 46px 0; display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 48px; }
.footer-logo span { color: #fff; }
.footer-logo strong { color: #62b9e9; }
.footer-grid > div { display: flex; flex-direction: column; gap: 9px; }
.footer-grid > div strong { color: #e0e7ee; font-size: 13px; text-transform: uppercase; letter-spacing: .8px; }
.footer-grid > div a { font-size: 14px; }
.footer-grid > div a:hover { color: #fff; }
.footer-bottom { min-height: 54px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 12px; }

@media (max-width: 1100px) {
  .header-inner nav { gap: 13px; }
  .header-inner nav > a:not(.post-button) .ui-icon { display: none; }
  .premium-grid { grid-template-columns: repeat(3, 1fr); }
  .premium-grid figure { height: 160px; }
  .category-grid { grid-template-columns: repeat(4, 1fr); }
  .listing-grid { grid-template-columns: repeat(3, 1fr); }
  .detail-layout { grid-template-columns: minmax(0, 1fr) 340px; }
  .dashboard-layout { grid-template-columns: 220px 1fr; }
}

@media (max-width: 820px) {
  .container { width: min(calc(100% - 28px), 1220px); }
  .site-header { height: 66px; }
  .logo-mark { width: 34px; height: 34px; }
  .logo-copy { font-size: 19px; }
  .region-chip { display: none; }
  .mobile-menu { display: grid; place-items: center; margin-left: auto; }
  .header-inner nav { display: none; position: absolute; left: 14px; right: 14px; top: 65px; flex-direction: column; align-items: stretch; gap: 3px; padding: 12px; color: #465a70; background: #fff; border: 1px solid var(--line); border-radius: 0 0 12px 12px; box-shadow: var(--shadow-md); }
  .header-inner nav.open { display: flex; }
  .header-inner nav > a, .header-inner nav > a:not(.post-button) { min-height: 43px; padding: 0 11px; }
  .header-inner nav > a:not(.post-button) .ui-icon { display: block; }
  .post-button { width: 100%; margin-top: 5px; }
  .hero { min-height: 445px; }
  .hero-content { padding-top: 62px; }
  .search-form { min-height: 0; grid-template-columns: 1fr; padding: 8px; }
  .search-form label, .search-form button { height: 52px; border-right: 0; border-bottom: 1px solid #e1e7ec; }
  .search-form button { margin-top: 7px; border-bottom: 0; }
  .popular { white-space: nowrap; overflow: auto; padding-bottom: 4px; }
  .region-card { grid-template-columns: 1fr; }
  .region-art { min-height: 170px; }
  .listing-grid { grid-template-columns: repeat(2, 1fr); }
  .dashboard-layout { grid-template-columns: 1fr; }
  .dashboard-layout aside nav { display: grid; grid-template-columns: 1fr 1fr; }
  .detail-layout { grid-template-columns: 1fr; }
  .gallery-main { height: 390px; }
  .sell-banner .container { align-items: flex-start; flex-direction: column; gap: 21px; }
  .safe-strip .container { grid-template-columns: 1fr; gap: 18px; }
  .safe-strip .container > div { justify-content: flex-start; border: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-logo { grid-column: 1/-1; }
}

@media (max-width: 560px) {
  .container { width: min(calc(100% - 22px), 1220px); }
  .logo-copy { font-size: 17px; }
  .logo-mark { width: 32px; height: 32px; border-radius: 9px; }
  .hero { min-height: 450px; }
  .hero h1 { font-size: 28px; }
  .hero-content > p { font-size: 10px; }
  .popular { text-align: left; }
  .page-bg { padding-top: 20px; }
  .region-card { padding: 22px; }
  .region-card h2 { font-size: 18px; }
  .region-art { display: none; }
  .city-grid { grid-template-columns: 1fr 1fr; gap-column: 14px; }
  .box-section > header { min-height: 60px; padding: 0 15px; }
  .box-section > header h2 { font-size: 17px; }
  .box-section > header a { font-size: 11px; }
  .premium-grid { grid-template-columns: repeat(2, 1fr); padding: 12px; gap: 8px; }
  .premium-grid article { padding: 4px; }
  .premium-grid figure { height: 115px; }
  .premium-grid h3 { min-height: 40px; font-size: 13px; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .listing-section > header { align-items: flex-start; flex-direction: column; gap: 6px; }
  .listing-grid { grid-template-columns: 1fr; }
  .listing-card figure { height: 225px; }
  .form-card { padding: 24px 20px; }
  .form-row { grid-template-columns: 1fr; }
  .checks { align-items: flex-start; flex-direction: column; gap: 10px; }
  .dashboard-content { padding: 20px; }
  .dashboard-content > header { align-items: flex-start; flex-direction: column; gap: 16px; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .dashboard-layout aside nav { grid-template-columns: 1fr; }
  .manage-list article { grid-template-columns: 90px 1fr; }
  .manage-list article > img { width: 90px; height: 75px; }
  .manage-actions { grid-column: 1/-1; align-items: flex-start !important; flex-direction: row; flex-wrap: wrap; }
  .gallery-main { height: 300px; }
  .description-box dl { grid-template-columns: 1fr; }
  .image-preview { grid-template-columns: repeat(3, 1fr); }
  .publish-actions { align-items: stretch; flex-direction: column-reverse; text-align: center; }
  .sell-banner h2 { font-size: 23px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-logo { grid-column: auto; }
  .footer-bottom { padding: 14px 0; align-items: flex-start; flex-direction: column; justify-content: center; gap: 4px; }
}
