/*
 * Listora — public website styles
 * Developed by Anow Hosting Web · https://anowhosting.com
 *
 * Brand colours (--brand, --accent, --hero) and fonts are printed by the layout
 * from Admin › Appearance; everything else derives from them.
 */
:root {
  --brand: #2343d0;
  --accent: #ffc23d;
  --hero: #13226b;
  --bg: #f3f4f9;
  --surface: #ffffff;
  --surface-2: #eceff8;
  --line: #dfe3ef;
  --fg: #11163a;
  --fg-2: #4f5677;
  --fg-3: #7d84a3;
  --brand-ink: color-mix(in srgb, var(--brand) 55%, #0b1030);
  --brand-soft: color-mix(in srgb, var(--brand) 11%, #fff);
  --on-brand: #ffffff;
  --accent-ink: #2b1c00;
  --ok: #0f7d55;
  --ok-soft: #dff4ea;
  --hot: #d6400c;
  --hot-soft: #ffece2;
  --warn: #a86500;
  --warn-soft: #fff4d6;
  --hero-2: color-mix(in srgb, var(--hero) 78%, var(--brand));
  --hero-dot: rgba(255, 255, 255, 0.09);
  --on-hero: #ffffff;
  --on-hero-2: rgba(255, 255, 255, 0.74);
  --scrim: rgba(10, 14, 36, 0.48);
  --shadow-sm: 0 1px 2px rgba(17, 22, 58, 0.06);
  --shadow: 0 1px 2px rgba(17, 22, 58, 0.05), 0 10px 28px -14px rgba(17, 22, 58, 0.22);
  --shadow-lg: 0 24px 60px -20px rgba(17, 22, 58, 0.35);
  --f-display: "Bricolage Grotesque", system-ui, sans-serif;
  --f-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-script: "Noto Sans Tamil", "Noto Sans Sinhala", "Noto Sans Devanagari", "Noto Sans Arabic", "Noto Sans SC";
  --r-xs: 6px;
  --r-sm: 10px;
  --r: 14px;
  --r-lg: 22px;
  --pill: 999px;
  --top-h: 64px;
  --tab-h: 64px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0a0e1f; --surface: #121834; --surface-2: #1a2145; --line: #262e57;
    --fg: #eef0fb; --fg-2: #a9b0cf; --fg-3: #7a82a6;
    --brand: color-mix(in srgb, var(--brand-base, #2343d0) 62%, #fff);
    --brand-ink: color-mix(in srgb, var(--brand-base, #2343d0) 30%, #fff);
    --brand-soft: color-mix(in srgb, var(--brand-base, #2343d0) 26%, #0a0e1f);
    --on-brand: #0a0e1f;
    --ok: #44cf93; --ok-soft: #10301f; --hot: #ff8a5c; --hot-soft: #3a1d12; --warn: #ffc85a; --warn-soft: #362806;
    --hero: color-mix(in srgb, var(--hero-base, #13226b) 70%, #000);
    --hero-dot: rgba(255, 255, 255, 0.07);
    --scrim: rgba(0, 0, 0, 0.6);
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 10px 28px -14px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 24px 60px -20px rgba(0, 0, 0, 0.7);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0a0e1f; --surface: #121834; --surface-2: #1a2145; --line: #262e57;
  --fg: #eef0fb; --fg-2: #a9b0cf; --fg-3: #7a82a6;
  --brand: color-mix(in srgb, var(--brand-base, #2343d0) 62%, #fff);
  --brand-ink: color-mix(in srgb, var(--brand-base, #2343d0) 30%, #fff);
  --brand-soft: color-mix(in srgb, var(--brand-base, #2343d0) 26%, #0a0e1f);
  --on-brand: #0a0e1f;
  --ok: #44cf93; --ok-soft: #10301f; --hot: #ff8a5c; --hot-soft: #3a1d12; --warn: #ffc85a; --warn-soft: #362806;
  --hero: color-mix(in srgb, var(--hero-base, #13226b) 70%, #000);
  --hero-dot: rgba(255, 255, 255, 0.07);
  --scrim: rgba(0, 0, 0, 0.6);
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 10px 28px -14px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 24px 60px -20px rgba(0, 0, 0, 0.7);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 15px/1.5 var(--f-body), var(--f-script);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--f-display); margin: 0; text-wrap: balance; letter-spacing: -0.01em; }
p { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2.5px solid var(--brand); outline-offset: 2px; border-radius: var(--r-xs); }
.i { width: 1.15em; height: 1.15em; flex: none; vertical-align: -0.18em; }
.num { font-variant-numeric: tabular-nums; }
.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: 16px; }
@media (min-width: 720px) { .wrap { padding-inline: 24px; } }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding-inline: 18px; border-radius: var(--pill);
  font-weight: 700; font-size: 15px; white-space: nowrap;
  transition: transform .12s ease, background-color .15s ease, box-shadow .15s ease;
}
.btn:active { transform: scale(0.97); }
.btn--accent { background: var(--accent); color: var(--accent-ink); box-shadow: 0 6px 18px -8px rgba(255, 170, 0, 0.7); }
.btn--accent:hover { filter: brightness(1.04); }
.btn--brand { background: var(--brand); color: var(--on-brand); }
.btn--ghost { background: transparent; color: var(--fg); border: 1.5px solid var(--line); }
.btn--ghost:hover { border-color: var(--fg-3); }
.btn--soft { background: var(--brand-soft); color: var(--brand); }
.btn--ok { background: var(--ok); color: #fff; }
.btn--block { width: 100%; }
.btn--sm { height: 36px; padding-inline: 14px; font-size: 14px; }
.btn--lg { height: 52px; padding-inline: 24px; font-size: 16px; }
.icon-btn {
  width: 42px; height: 42px; border-radius: var(--pill);
  display: inline-grid; place-items: center; color: var(--fg-2);
  transition: background-color .15s ease;
}
.icon-btn:hover { background: var(--surface-2); color: var(--fg); }
.icon-btn .dot { position: absolute; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  height: 40px; padding-inline: 12px 14px; border-radius: var(--pill);
  background: var(--surface-2); color: var(--fg); font-weight: 600; font-size: 14px;
  max-width: 100%; min-width: 0;
}
.pill span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pill:hover { background: var(--line); }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  height: 36px; padding-inline: 14px; border-radius: var(--pill);
  border: 1.5px solid var(--line); background: var(--surface);
  font-weight: 600; font-size: 14px; color: var(--fg-2); white-space: nowrap;
}
.chip:hover { border-color: var(--fg-3); color: var(--fg); }
.chip.is-on { background: var(--fg); border-color: var(--fg); color: var(--bg); }
.flag { width: 22px; height: auto; aspect-ratio: 3 / 2; border-radius: 3px; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08); flex: none; object-fit: cover; }
.flag--lg { width: 30px; }

/* ---------- top bar ---------- */
.topbar {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid var(--line);
}
.topbar__in { height: var(--top-h); display: flex; align-items: center; gap: 12px; }
.logo { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-display); font-weight: 800; font-size: 23px; letter-spacing: -0.03em; color: var(--fg); flex: none; }
.logo svg { width: 30px; height: 30px; }
.topbar .pill--loc { max-width: 230px; }
.topbar__search { flex: 1; max-width: 460px; min-width: 0; }
.topbar__spacer { flex: 1; }
.topbar__actions { display: flex; align-items: center; gap: 4px; }
.region-btn { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding-inline: 10px 12px; border-radius: var(--pill); font-weight: 700; font-size: 13px; color: var(--fg-2); border: 1.5px solid var(--line); }
.region-btn:hover { color: var(--fg); border-color: var(--fg-3); }
.region-btn .flag { width: 20px; }
.only-sm { display: none !important; }
@media (max-width: 899px) {
  .hide-sm { display: none !important; }
  .only-sm { display: inline-flex !important; }
  .topbar__in { gap: 8px; height: 58px; }
  .logo { font-size: 21px; }
  .logo svg { width: 26px; height: 26px; }
}

/* mini search field */
.field-search { position: relative; display: flex; align-items: center; }
.field-search input {
  width: 100%; height: 42px; border-radius: var(--pill); border: 1.5px solid var(--line);
  background: var(--surface); padding-inline: 42px 16px; font-size: 15px; outline: none;
}
.field-search input:focus { border-color: var(--brand); }
.field-search .i { position: absolute; inset-inline-start: 14px; color: var(--fg-3); }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(circle at 1px 1px, var(--hero-dot) 1.2px, transparent 1.6px) 0 0 / 18px 18px,
    linear-gradient(180deg, var(--hero) 0%, var(--hero-2) 100%);
  color: var(--on-hero);
}
.hero__tag {
  position: absolute; inset-inline-end: -40px; top: 26px; width: 300px; opacity: 0.12; transform: rotate(-14deg);
  pointer-events: none;
}
[dir="rtl"] .hero__tag { transform: rotate(14deg) scaleX(-1); }
.hero__in { position: relative; padding-block: 44px 52px; display: grid; gap: 18px; justify-items: start; }
.hero__eyebrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 13px; color: var(--on-hero-2); letter-spacing: 0.02em; }
.hero__eyebrow .live { width: 8px; height: 8px; border-radius: 50%; background: #3ee08f; box-shadow: 0 0 0 4px rgba(62, 224, 143, 0.22); }
.hero h1 { font-size: clamp(30px, 5.2vw, 54px); line-height: 1.04; font-weight: 800; max-width: 17ch; letter-spacing: -0.035em; }
.hero h1 em { font-style: normal; color: var(--accent); }
.bigsearch {
  width: 100%; max-width: 860px; display: flex; align-items: center; gap: 6px;
  background: var(--surface); border-radius: var(--pill); padding: 6px; box-shadow: var(--shadow-lg);
  color: var(--fg);
}
.bigsearch__loc { display: inline-flex; align-items: center; gap: 8px; height: 48px; padding-inline: 14px; border-radius: var(--pill); font-weight: 700; font-size: 14px; color: var(--fg); max-width: 34%; min-width: 0; }
.bigsearch__loc:hover { background: var(--surface-2); }
.bigsearch__loc span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bigsearch__sep { width: 1px; height: 28px; background: var(--line); flex: none; }
.bigsearch input { flex: 1; min-width: 0; height: 48px; border: 0; outline: none; background: transparent; font-size: 16px; padding-inline: 10px; }
.bigsearch .btn { height: 48px; padding-inline: 22px; }
.trending { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: var(--on-hero-2); font-weight: 600; }
.trending button { height: 30px; padding-inline: 12px; border-radius: var(--pill); background: rgba(255, 255, 255, 0.1); color: var(--on-hero); font-weight: 600; font-size: 13px; border: 1px solid rgba(255, 255, 255, 0.16); }
.trending button:hover { background: rgba(255, 255, 255, 0.18); }
@media (max-width: 719px) {
  .hero__in { padding-block: 26px 30px; gap: 14px; }
  .hero__tag { width: 190px; top: 10px; inset-inline-end: -50px; }
  .bigsearch { flex-wrap: wrap; border-radius: var(--r-lg); padding: 8px; }
  .bigsearch__loc { max-width: 100%; width: 100%; justify-content: flex-start; height: 40px; background: var(--surface-2); }
  .bigsearch__sep { display: none; }
  .bigsearch input { height: 46px; }
  .bigsearch .btn { width: 46px; padding: 0; }
  .bigsearch .btn span { display: none; }
}

/* ---------- sections ---------- */
.sec { padding-block: 34px 0; }
.sec:last-of-type { padding-block-end: 40px; }
.sec__head { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin-block-end: 16px; }
.sec__head h2 { font-size: clamp(20px, 2.4vw, 26px); font-weight: 750; }
.sec__head p { color: var(--fg-2); font-size: 14px; margin-block-start: 2px; }
.link { color: var(--brand); font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.link:hover { text-decoration: underline; }
[dir="rtl"] .flip { transform: scaleX(-1); }

/* categories */
.cats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; } /* Petici: 5 x 2 */
.cat {
  display: grid; justify-items: center; gap: 8px; padding: 16px 6px 14px; text-align: center;
  background: var(--surface); border-radius: var(--r); border: 1px solid var(--line);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.cat:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: transparent; }
.cat__ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--c-soft); color: var(--c); }
.cat__ic .i { width: 26px; height: 26px; }
.cat b { font-size: 13.5px; font-weight: 700; line-height: 1.25; }
.cat small { font-size: 12px; color: var(--fg-3); font-weight: 600; }
@media (max-width: 719px) { .cats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 719px) {
  .cats { gap: 6px 4px; }
  .cat { background: transparent; border: 0; padding: 4px 0; }
  .cat:hover { box-shadow: none; }
  .cat__ic { width: 56px; height: 56px; border-radius: 18px; }
  .cat b { font-size: 12px; font-weight: 650; }
  .cat small { display: none; }
  .cats.is-collapsed .cat:nth-child(n+8):not(.cat--more) { display: none; }
}
.cat--more { display: none; }
@media (max-width: 719px) { .cats.is-collapsed .cat--more { display: grid; } }

/* rails */
.rail { position: relative; }
.rail__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, calc((100% - 3 * 16px) / 4)); gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-block: 4px 12px; margin-block-end: -12px;
}
.rail__track::-webkit-scrollbar { display: none; }
.rail__track > * { scroll-snap-align: start; }
.rail__nav { position: absolute; top: 34%; width: 40px; height: 40px; border-radius: 50%; background: var(--surface); box-shadow: var(--shadow); display: grid; place-items: center; z-index: 2; color: var(--fg); }
.rail__nav--prev { inset-inline-start: -14px; }
.rail__nav--next { inset-inline-end: -14px; }
@media (max-width: 719px) {
  .rail__track { grid-auto-columns: 78%; gap: 12px; margin-inline: -16px; padding-inline: 16px; scroll-padding-inline: 16px; }
  .rail__nav { display: none; }
}

/* ad card */
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 1100px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 719px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
.card {
  position: relative; display: flex; flex-direction: column; min-width: 0;
  background: var(--surface); border-radius: var(--r); overflow: hidden;
  border: 1px solid var(--line); cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.card--feat { border-color: color-mix(in srgb, var(--accent) 70%, var(--line)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 45%, transparent); }
.card__media { position: relative; aspect-ratio: 4 / 3; background: var(--surface-2); overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card__media img { transform: scale(1.04); }
.badges { position: absolute; top: 10px; inset-inline-start: 10px; display: flex; gap: 6px; flex-wrap: wrap; }
.badge { display: inline-flex; align-items: center; gap: 4px; height: 24px; padding-inline: 8px; border-radius: var(--r-xs); font-size: 11.5px; font-weight: 800; letter-spacing: 0.02em; text-transform: uppercase; }
.badge .i { width: 13px; height: 13px; }
.badge--feat { background: var(--accent); color: var(--accent-ink); }
.badge--urgent { background: var(--hot); color: #fff; }
.badge--new { background: var(--ok); color: #fff; }
.fav {
  position: absolute; top: 8px; inset-inline-end: 8px; width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(255, 255, 255, 0.92); color: #11163a; box-shadow: var(--shadow-sm);
  transition: transform .15s ease;
}
.fav:hover { transform: scale(1.08); }
.fav.is-on { color: #e5364b; }
.fav.is-on .i { fill: currentColor; }
.pics { position: absolute; bottom: 8px; inset-inline-end: 8px; display: inline-flex; align-items: center; gap: 4px; height: 24px; padding-inline: 8px; border-radius: var(--r-xs); background: rgba(10, 14, 36, 0.66); color: #fff; font-size: 12px; font-weight: 700; }
.pics .i { width: 13px; height: 13px; }
.card__body { padding: 12px 14px 14px; display: grid; gap: 4px; min-width: 0; }
.price { font-family: var(--f-display); font-weight: 800; font-size: 19px; letter-spacing: -0.01em; color: var(--fg); font-variant-numeric: tabular-nums; display: flex; align-items: baseline; gap: 4px; flex-wrap: wrap; }
.price small { font-family: var(--f-body); font-size: 13px; font-weight: 600; color: var(--fg-3); }
.card__title { font-family: var(--f-body); font-size: 14.5px; font-weight: 650; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.card__meta { font-size: 13px; color: var(--fg-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-block-start: 6px; padding-block-start: 10px; border-top: 1px dashed var(--line); font-size: 12.5px; color: var(--fg-3); font-weight: 600; }
.card__foot span { display: inline-flex; align-items: center; gap: 4px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card__foot .i { width: 14px; height: 14px; }
.vtick { color: var(--brand); }
.vtick .i { width: 15px; height: 15px; }
@media (max-width: 719px) {
  .card__body { padding: 10px 10px 12px; }
  .price { font-size: 16.5px; }
  .card__title { font-size: 13.5px; }
  .card__meta { font-size: 12px; }
  .card__foot { font-size: 11.5px; }
  .fav { width: 32px; height: 32px; }
  .badge { height: 22px; font-size: 10.5px; padding-inline: 6px; }
}

/* list layout */
.grid.is-list { grid-template-columns: minmax(0, 1fr); gap: 12px; }
.grid.is-list .card { flex-direction: row; }
.grid.is-list .card__media { width: 260px; flex: none; aspect-ratio: 4 / 3; }
.grid.is-list .card__body { flex: 1; align-content: start; padding: 16px 18px; }
.grid.is-list .card__title { -webkit-line-clamp: 1; min-height: 0; font-size: 16px; }
@media (max-width: 719px) {
  .grid.is-list .card__media { width: 38%; }
  .grid.is-list .card__body { padding: 10px 12px; }
  .grid.is-list .card__title { -webkit-line-clamp: 2; font-size: 13.5px; }
}

/* promos */
.promos { display: grid; grid-template-columns: 1.15fr 1fr; gap: 16px; }
.promo { position: relative; overflow: hidden; border-radius: var(--r-lg); padding: 26px; display: grid; gap: 10px; align-content: start; justify-items: start; min-height: 200px; }
.promo h3 { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; max-width: 16ch; }
.promo p { font-size: 15px; max-width: 34ch; }
.promo .btn { margin-block-start: 6px; }
.promo--sell { background: var(--accent); color: var(--accent-ink); }
.promo--sell p { color: color-mix(in srgb, var(--accent-ink) 80%, transparent); }
.promo--boost { background: var(--surface); border: 1px solid var(--line); }
.promo--boost p { color: var(--fg-2); }
.promo__art { position: absolute; inset-inline-end: 18px; bottom: -8px; width: 150px; opacity: 0.9; pointer-events: none; }
.promo--boost .promo__art { width: 170px; bottom: 14px; }
.ladder { display: grid; gap: 6px; }
.ladder div { height: 22px; border-radius: 6px; background: var(--surface-2); display: flex; align-items: center; padding-inline: 8px; font-size: 11px; font-weight: 800; color: var(--fg-3); }
.ladder div.is-top { background: var(--accent); color: var(--accent-ink); }
@media (max-width: 719px) {
  .promos { grid-template-columns: minmax(0, 1fr); }
  .promo { padding: 22px; min-height: 0; }
  .promo h3 { font-size: 21px; }
  .promo__art { width: 104px; }
  .promo--boost .promo__art { width: 118px; }
  .promo p { max-width: 24ch; }
}

/* cities */
.cities { display: flex; flex-wrap: wrap; gap: 8px; }
.cities .chip small { color: var(--fg-3); font-weight: 600; }

/* trust + app */
.trust { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; }
.trust__box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; display: grid; gap: 16px; }
.trust__box h3 { font-size: 20px; }
.trust__items { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.trust__item { display: grid; gap: 8px; align-content: start; font-size: 14px; color: var(--fg-2); }
.trust__item .ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--ok-soft); color: var(--ok); }
.app-box { background: var(--hero); color: var(--on-hero); border-radius: var(--r-lg); padding: 24px; display: grid; gap: 12px; align-content: start; position: relative; overflow: hidden; }
.app-box p { color: var(--on-hero-2); max-width: 30ch; }
.stores { display: flex; gap: 8px; flex-wrap: wrap; }
.store { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding-inline: 14px; border-radius: 12px; background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.2); color: var(--on-hero); font-weight: 700; font-size: 13px; }
.store small { display: block; font-size: 10px; font-weight: 600; opacity: .75; line-height: 1; }
.store span { line-height: 1.15; }
.app-box .qr { position: absolute; inset-inline-end: 22px; top: 22px; width: 76px; height: 76px; border-radius: 10px; background: #fff; padding: 6px; }
@media (max-width: 899px) {
  .trust { grid-template-columns: minmax(0, 1fr); }
  .app-box .qr { display: none; }
}
@media (max-width: 719px) { .trust__items { grid-template-columns: minmax(0, 1fr); } .trust__item { grid-template-columns: 40px 1fr; align-items: center; } }

/* ---------- footer ---------- */
.footer { margin-block-start: 48px; background: var(--surface); border-top: 1px solid var(--line); padding-block: 36px 28px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 24px; }
.footer h4 { font-family: var(--f-body); font-size: 13px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg-3); margin-block-end: 12px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: 14.5px; color: var(--fg-2); }
.footer li button:hover { color: var(--fg); text-decoration: underline; }
.footer__brand p { color: var(--fg-2); font-size: 14px; max-width: 34ch; margin-block-start: 10px; }
.footer__bar { margin-block-start: 28px; padding-block-start: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--fg-3); }
.footer__region { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 899px) { .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 899px) { .footer { padding-block-end: calc(28px + var(--tab-h) + env(safe-area-inset-bottom, 0px)); } }

/* ---------- mobile tab bar ---------- */
.tabbar {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 45; display: none;
  background: var(--surface); border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.tabbar__in { height: var(--tab-h); display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: center; }
.tab { display: grid; justify-items: center; gap: 3px; font-size: 11px; font-weight: 700; color: var(--fg-3); padding-block: 6px; position: relative; }
.tab .i { width: 23px; height: 23px; }
.tab.is-on { color: var(--brand); }
.tab--post .tab__fab { width: 54px; height: 54px; margin-block-start: -26px; border-radius: 18px; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); box-shadow: 0 10px 22px -8px rgba(255, 170, 0, 0.8), 0 0 0 5px var(--surface); }
.tab--post .tab__fab .i { width: 26px; height: 26px; stroke-width: 2.6; }
.tab__badge { position: absolute; top: 2px; inset-inline-start: calc(50% + 6px); min-width: 17px; height: 17px; border-radius: 9px; background: var(--hot); color: #fff; font-size: 10px; display: grid; place-items: center; padding-inline: 4px; }
@media (max-width: 899px) { .tabbar { display: block; } }

/* ---------- search page ---------- */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; color: var(--fg-3); font-weight: 600; padding-block: 18px 6px; }
.crumbs button:hover { color: var(--fg); }
.crumbs .i { width: 14px; height: 14px; }
.search-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px; padding-block: 4px 16px; }
.search-head h1 { font-size: clamp(22px, 3vw, 30px); font-weight: 800; letter-spacing: -0.025em; }
.search-head p { color: var(--fg-2); font-size: 14px; }
.layout-search { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 24px; align-items: start; }
@media (max-width: 899px) { .layout-search { grid-template-columns: minmax(0, 1fr); } .layout-search > aside { display: none; } }
.filters { position: sticky; top: calc(var(--top-h) + 16px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px; display: grid; gap: 18px; max-height: calc(100vh - var(--top-h) - 32px); overflow: auto; }
.fgroup { display: grid; gap: 10px; }
.fgroup + .fgroup { padding-block-start: 16px; border-top: 1px solid var(--line); }
.fgroup h4 { font-family: var(--f-body); font-size: 13px; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; color: var(--fg-3); }
.flist { display: grid; gap: 2px; }
.flist button { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 7px 10px; border-radius: var(--r-sm); font-size: 14px; color: var(--fg-2); font-weight: 600; text-align: start; }
.flist button:hover { background: var(--surface-2); color: var(--fg); }
.flist button.is-on { background: var(--brand-soft); color: var(--brand); }
.flist small { color: var(--fg-3); font-weight: 600; font-variant-numeric: tabular-nums; }
.frange { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.input, .select, .textarea {
  width: 100%; height: 44px; border-radius: var(--r-sm); border: 1.5px solid var(--line); background: var(--surface);
  padding-inline: 12px; font-size: 15px; outline: none; min-width: 0;
}
.textarea { height: auto; min-height: 120px; padding-block: 10px; resize: vertical; line-height: 1.5; }
.input:focus, .select:focus, .textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips .chip { height: 32px; font-size: 13px; padding-inline: 12px; }
.toggle { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 14px; font-weight: 600; color: var(--fg-2); cursor: pointer; }
.toggle input { appearance: none; width: 42px; height: 24px; border-radius: 12px; background: var(--line); position: relative; flex: none; cursor: pointer; transition: background-color .15s; margin: 0; }
.toggle input::after { content: ""; position: absolute; top: 3px; inset-inline-start: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: inset-inline-start .15s; box-shadow: var(--shadow-sm); }
.toggle input:checked { background: var(--brand); }
.toggle input:checked::after { inset-inline-start: 21px; }
.toolbar { display: flex; align-items: center; gap: 8px; margin-block-end: 14px; }
.toolbar__chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; flex: 1; min-width: 0; }
.toolbar__chips::-webkit-scrollbar { display: none; }
.seg { display: inline-flex; background: var(--surface-2); border-radius: var(--pill); padding: 3px; flex: none; }
.seg button { width: 34px; height: 32px; border-radius: var(--pill); display: grid; place-items: center; color: var(--fg-3); }
.seg button.is-on { background: var(--surface); color: var(--fg); box-shadow: var(--shadow-sm); }
.sort-select { height: 36px; border-radius: var(--pill); border: 1.5px solid var(--line); background: var(--surface); padding-inline: 12px 30px; font-size: 14px; font-weight: 600; color: var(--fg); flex: none; max-width: 190px; }
@media (max-width: 899px) {
  .toolbar { position: sticky; top: calc(58px + env(safe-area-inset-top, 0px)); z-index: 30; background: var(--bg); margin-inline: -16px; padding: 10px 16px; margin-block-end: 6px; }
  .sort-select { display: none; }
}
.empty { text-align: center; padding: 56px 16px; display: grid; gap: 10px; justify-items: center; background: var(--surface); border: 1px dashed var(--line); border-radius: var(--r-lg); }
.empty .ic { width: 64px; height: 64px; border-radius: 20px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; }
.empty .ic .i { width: 30px; height: 30px; }
.empty h3 { font-size: 20px; }
.empty p { color: var(--fg-2); max-width: 40ch; }
.pager { display: flex; justify-content: center; gap: 6px; margin-block-start: 28px; }
.pager button { min-width: 40px; height: 40px; border-radius: var(--r-sm); font-weight: 700; color: var(--fg-2); background: var(--surface); border: 1px solid var(--line); padding-inline: 10px; }
.pager button.is-on { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.inline-cta { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 22px; border-radius: var(--r-lg); background: var(--brand-soft); flex-wrap: wrap; }
.inline-cta b { font-family: var(--f-display); font-size: 18px; color: var(--brand-ink); }
.inline-cta p { color: var(--fg-2); font-size: 14px; }

/* ---------- ad detail ---------- */
.detail { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; padding-block-end: 24px; }
@media (max-width: 999px) { .detail { grid-template-columns: minmax(0, 1fr); } }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; }
.gallery { display: grid; gap: 10px; }
.gallery__main { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--surface-2); aspect-ratio: 16 / 10; }
.gallery__track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; }
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__track img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; scroll-snap-align: center; }
.gallery__count { position: absolute; bottom: 12px; inset-inline-end: 12px; height: 28px; padding-inline: 10px; border-radius: var(--pill); background: rgba(10, 14, 36, 0.7); color: #fff; font-size: 13px; font-weight: 700; display: inline-flex; align-items: center; }
.gallery__nav { position: absolute; top: 50%; translate: 0 -50%; width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, 0.92); color: #11163a; display: grid; place-items: center; box-shadow: var(--shadow); }
.gallery__nav--prev { inset-inline-start: 12px; }
.gallery__nav--next { inset-inline-end: 12px; }
.gallery__top { position: absolute; top: 12px; inset-inline: 12px; display: flex; justify-content: space-between; pointer-events: none; }
.gallery__top > * { pointer-events: auto; }
.gallery__acts { display: flex; gap: 8px; }
.gallery__acts button, .gallery__back { width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, 0.92); color: #11163a; display: grid; place-items: center; box-shadow: 0 2px 8px rgba(17, 22, 58, 0.18); -webkit-tap-highlight-color: transparent; transition: transform .15s ease; }
.gallery__acts button:active, .gallery__back:active { transform: scale(.92); }
.gallery__back { display: none; }
@media (max-width: 899px) { .gallery__back { display: grid; } }
.gallery__acts button.is-on { color: #e5364b; }
.gallery__acts button.is-on .i { fill: currentColor; }
.thumbs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.thumbs button { border-radius: var(--r-sm); overflow: hidden; aspect-ratio: 4 / 3; opacity: 0.62; outline: 2px solid transparent; outline-offset: -2px; transition: opacity .15s; }
.thumbs button.is-on { opacity: 1; outline-color: var(--brand); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 719px) {
  .detail-wrap { padding-inline: 0; }
  .gallery__main { border-radius: 0; aspect-ratio: 4 / 3; }
  .thumbs, .gallery__nav { display: none; }
  .detail .panel { border-radius: 0; border-inline: 0; padding: 18px 16px; }
  .detail { gap: 10px; }
  .detail-wrap > .sec { padding-inline: 16px; }
}
.ad-head { display: grid; gap: 10px; }
.ad-head h1 { font-size: clamp(21px, 2.6vw, 28px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
.ad-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; }
.ad-price .price { font-size: clamp(26px, 3.2vw, 34px); }
.tag-neg { display: inline-flex; align-items: center; height: 26px; padding-inline: 10px; border-radius: var(--pill); background: var(--ok-soft); color: var(--ok); font-size: 12.5px; font-weight: 800; }
.ad-sub { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13.5px; color: var(--fg-3); font-weight: 600; }
.ad-sub span { display: inline-flex; align-items: center; gap: 5px; }
.ad-sub .i { width: 15px; height: 15px; }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-block: 18px 6px; }
.fact { background: var(--surface-2); border-radius: var(--r); padding: 12px; display: grid; gap: 2px; }
.fact .i { color: var(--brand); width: 20px; height: 20px; margin-block-end: 4px; }
.fact small { font-size: 12px; color: var(--fg-3); font-weight: 700; }
.fact b { font-size: 15px; font-variant-numeric: tabular-nums; }
@media (max-width: 719px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; margin-block-start: 8px; }
.specs div { display: flex; justify-content: space-between; gap: 12px; padding-block: 10px; border-bottom: 1px solid var(--line); font-size: 14px; }
.specs dt { color: var(--fg-3); font-weight: 600; }
.specs dd { margin: 0; font-weight: 700; text-align: end; }
@media (max-width: 719px) { .specs { grid-template-columns: minmax(0, 1fr); } }
.h-sec { font-size: 18px; font-weight: 750; margin-block: 22px 10px; }
.desc { color: var(--fg-2); white-space: pre-line; max-width: 68ch; }
.desc.is-clamped { display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.seller { display: grid; gap: 14px; }
.seller__top { display: flex; align-items: center; gap: 12px; }
.avatar { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-family: var(--f-display); font-weight: 800; font-size: 19px; color: #fff; flex: none; background: var(--brand); }
.avatar--sm { width: 40px; height: 40px; border-radius: 12px; font-size: 15px; }
.seller__name { display: grid; gap: 2px; min-width: 0; }
.seller__name b { font-size: 16px; display: inline-flex; align-items: center; gap: 6px; }
.seller__name small { color: var(--fg-3); font-size: 13px; font-weight: 600; }
.seller__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; text-align: center; }
.seller__stats div { background: var(--surface-2); border-radius: var(--r-sm); padding: 8px 4px; display: grid; }
.seller__stats b { font-size: 15px; font-variant-numeric: tabular-nums; display: inline-flex; align-items: center; justify-content: center; gap: 4px; }
.seller__stats b .i { width: 14px; height: 14px; color: #f2a900; fill: #f2a900; }
.seller__stats small { font-size: 11.5px; color: var(--fg-3); font-weight: 600; }
.contact { display: grid; gap: 8px; }
.phone-reveal { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--r); border: 1.5px solid var(--line); text-align: start; width: 100%; }
.phone-reveal .ic { width: 38px; height: 38px; border-radius: 12px; background: var(--ok-soft); color: var(--ok); display: grid; place-items: center; flex: none; }
.phone-reveal b { display: block; font-size: 16px; letter-spacing: 0.02em; font-variant-numeric: tabular-nums; }
.phone-reveal small { color: var(--fg-3); font-size: 12.5px; font-weight: 600; }
.contact__row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.btn--wa { background: #1fae5b; color: #fff; }
.safety { display: flex; gap: 12px; padding: 14px; border-radius: var(--r); background: var(--hot-soft); font-size: 13.5px; color: var(--fg-2); }
.safety .i { color: var(--hot); width: 22px; height: 22px; }
.safety b { color: var(--fg); display: block; margin-block-end: 2px; }
.side { display: grid; gap: 14px; position: sticky; top: calc(var(--top-h) + 16px); }
@media (max-width: 999px) { .side { position: static; } }
.map {
  position: relative; height: 170px; border-radius: var(--r); overflow: hidden; margin-block-start: 10px;
  background:
    linear-gradient(90deg, transparent 49%, var(--line) 49% 51%, transparent 51%) 0 0 / 64px 100%,
    linear-gradient(0deg, transparent 49%, var(--line) 49% 51%, transparent 51%) 0 0 / 100% 54px,
    linear-gradient(28deg, transparent 47%, color-mix(in srgb, var(--accent) 55%, var(--surface-2)) 47% 53%, transparent 53%),
    var(--surface-2);
}
.map__pin { position: absolute; left: 50%; top: 50%; translate: -50% -80%; display: grid; justify-items: center; gap: 6px; }
.map__pin span { background: var(--surface); padding: 5px 10px; border-radius: var(--pill); font-weight: 700; font-size: 13px; box-shadow: var(--shadow); white-space: nowrap; }
.map__pin i.dot { width: 18px; height: 18px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 7px color-mix(in srgb, var(--brand) 24%, transparent); }
.ad-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-block-start: 18px; }
.mbar {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 46; display: none;
  background: var(--surface); border-top: 1px solid var(--line); padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
  gap: 8px; grid-template-columns: 1fr 1fr 1fr;
}
.mbar .btn { height: 48px; padding-inline: 8px; font-size: 14.5px; }
@media (max-width: 899px) {
  body.has-mbar .mbar { display: grid; }
  body.has-mbar .tabbar { display: none; }
}

/* ---------- post ad ---------- */
.post { max-width: 860px; margin-inline: auto; padding-block: 22px 40px; }
.post h1 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; letter-spacing: -0.025em; }
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; margin-block: 18px 22px; }
.step { display: grid; gap: 8px; font-size: 12.5px; font-weight: 700; color: var(--fg-3); }
.step i.bar { height: 5px; border-radius: 3px; background: var(--line); display: block; }
.step.is-done i.bar, .step.is-on i.bar { background: var(--brand); }
.step.is-on { color: var(--fg); }
@media (max-width: 719px) { .step span { display: none; } .step.is-on span { display: inline; white-space: nowrap; } }
.post .panel { display: grid; gap: 18px; }
.post h2 { font-size: 20px; font-weight: 750; }
.pick-cats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.pick-cats button { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: var(--r); border: 1.5px solid var(--line); text-align: start; font-weight: 700; font-size: 14px; }
.pick-cats button:hover { border-color: var(--fg-3); }
.pick-cats button.is-on { border-color: var(--brand); background: var(--brand-soft); }
.pick-cats .cat__ic { width: 40px; height: 40px; border-radius: 12px; flex: none; }
.pick-cats .cat__ic .i { width: 21px; height: 21px; }
@media (max-width: 719px) { .pick-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.form-row { display: grid; gap: 6px; }
.form-row label, .label { font-weight: 700; font-size: 14px; }
.form-row .hint { color: var(--fg-3); font-size: 13px; }
.form-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 719px) { .form-2 { grid-template-columns: minmax(0, 1fr); } }
.price-field { display: flex; gap: 8px; }
.price-field .select { width: 128px; flex: none; }
.price-preview { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: var(--r-sm); background: var(--ok-soft); color: var(--ok); font-weight: 700; font-size: 14px; }
.drop { border: 2px dashed var(--line); border-radius: var(--r-lg); padding: 26px; display: grid; justify-items: center; gap: 8px; text-align: center; color: var(--fg-2); cursor: pointer; transition: border-color .15s, background-color .15s; }
.drop:hover, .drop.is-over { border-color: var(--brand); background: var(--brand-soft); }
.drop .ic { width: 54px; height: 54px; border-radius: 16px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; }
.photos { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.photo { position: relative; aspect-ratio: 1; border-radius: var(--r); overflow: hidden; background: var(--surface-2); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo button { position: absolute; top: 6px; inset-inline-end: 6px; width: 28px; height: 28px; border-radius: 50%; background: rgba(10, 14, 36, 0.7); color: #fff; display: grid; place-items: center; }
.photo .badge { position: absolute; bottom: 6px; inset-inline-start: 6px; }
@media (max-width: 719px) { .photos { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.plan { display: grid; gap: 6px; padding: 16px; border-radius: var(--r); border: 1.5px solid var(--line); text-align: start; align-content: start; }
.plan.is-on { border-color: var(--brand); background: var(--brand-soft); }
.plan b { font-size: 16px; display: flex; align-items: center; gap: 6px; }
.plan small { color: var(--fg-2); font-size: 13px; }
.plan .price { font-size: 18px; }
@media (max-width: 719px) { .plans { grid-template-columns: minmax(0, 1fr); } }
.post__nav { display: flex; justify-content: space-between; gap: 10px; margin-block-start: 6px; }
.review { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 18px; align-items: start; }
@media (max-width: 719px) { .review { grid-template-columns: minmax(0, 1fr); } }
.success { text-align: center; display: grid; justify-items: center; gap: 12px; padding: 40px 16px; }
.success .ic { width: 84px; height: 84px; border-radius: 28px; background: var(--ok-soft); color: var(--ok); display: grid; place-items: center; animation: pop .5s cubic-bezier(.2, 1.4, .4, 1); }
.success .ic .i { width: 42px; height: 42px; }
.success h2 { font-size: 28px; }
@keyframes pop { from { transform: scale(.5); opacity: 0; } }

/* ---------- chats ---------- */
.chats { display: grid; grid-template-columns: 340px minmax(0, 1fr); height: calc(100vh - var(--top-h) - 48px); min-height: 520px; margin-block: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.chats__list { border-inline-end: 1px solid var(--line); overflow: auto; }
.chats__list h2 { font-size: 20px; padding: 18px 18px 10px; }
.thread-item { display: flex; gap: 12px; padding: 12px 18px; width: 100%; text-align: start; align-items: center; }
.thread-item:hover, .thread-item.is-on { background: var(--surface-2); }
.thread-item img { width: 48px; height: 48px; border-radius: 12px; object-fit: cover; flex: none; }
.thread-item div { min-width: 0; flex: 1; display: grid; }
.thread-item b { font-size: 14.5px; display: flex; justify-content: space-between; gap: 8px; }
.thread-item b time { font-size: 12px; color: var(--fg-3); font-weight: 600; }
.thread-item span { font-size: 13px; color: var(--fg-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.thread-item small { font-size: 12px; color: var(--fg-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.unread { min-width: 20px; height: 20px; border-radius: 10px; background: var(--brand); color: var(--on-brand); font-size: 11px; font-weight: 800; display: grid; place-items: center; }
.convo { display: grid; grid-template-rows: auto auto 1fr auto; min-height: 0; }
.convo__head { display: flex; align-items: center; gap: 12px; padding: 12px 18px; border-bottom: 1px solid var(--line); }
.convo__head div { display: grid; min-width: 0; }
.convo__head small { color: var(--ok); font-weight: 700; font-size: 12.5px; }
.convo__ad { display: flex; align-items: center; gap: 12px; padding: 10px 18px; background: var(--surface-2); font-size: 14px; }
.convo__ad img { width: 44px; height: 34px; border-radius: 8px; object-fit: cover; }
.convo__ad div { display: grid; min-width: 0; flex: 1; }
.convo__ad span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.msgs { overflow: auto; padding: 18px; display: flex; flex-direction: column; gap: 8px; }
.msg { max-width: 72%; padding: 10px 14px; border-radius: 18px; font-size: 14.5px; line-height: 1.4; background: var(--surface-2); align-self: flex-start; border-end-start-radius: 6px; }
.msg.me { align-self: flex-end; background: var(--brand); color: var(--on-brand); border-end-start-radius: 18px; border-end-end-radius: 6px; }
.msg time { display: block; font-size: 11px; opacity: 0.65; margin-block-start: 2px; }
.msg--offer { background: var(--accent); color: var(--accent-ink); }
.msg--offer b { font-family: var(--f-display); font-size: 18px; display: block; }
.day { align-self: center; font-size: 12px; color: var(--fg-3); font-weight: 700; padding-block: 6px; }
.composer { border-top: 1px solid var(--line); padding: 10px 14px; display: grid; gap: 8px; }
.quick { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.quick::-webkit-scrollbar { display: none; }
.quick button { height: 32px; padding-inline: 12px; border-radius: var(--pill); background: var(--brand-soft); color: var(--brand); font-size: 13px; font-weight: 700; white-space: nowrap; }
.composer form { display: flex; gap: 8px; }
.composer input { flex: 1; min-width: 0; height: 44px; border-radius: var(--pill); border: 1.5px solid var(--line); background: var(--surface); padding-inline: 16px; outline: none; }
.composer input:focus { border-color: var(--brand); }
.composer .send { width: 44px; height: 44px; border-radius: 50%; background: var(--brand); color: var(--on-brand); display: grid; place-items: center; flex: none; }
@media (max-width: 899px) {
  .chats { grid-template-columns: minmax(0, 1fr); height: calc(100vh - 58px - var(--tab-h) - env(safe-area-inset-bottom, 0px)); margin: 0 -16px; border-radius: 0; border-inline: 0; border-block: 0; min-height: 0; }
  .chats.show-convo .chats__list { display: none; }
  .chats:not(.show-convo) .convo { display: none; }
}

/* ---------- sheets / modals ---------- */
.layer { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 20px; }
.layer__scrim { position: absolute; inset: 0; background: var(--scrim); animation: fade .2s ease; }
.sheet {
  position: relative; width: 100%; max-width: 560px; max-height: min(86vh, 760px);
  background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
  display: grid; grid-template-rows: auto minmax(0, 1fr) auto; overflow: hidden; animation: rise .25s cubic-bezier(.2, .9, .3, 1);
}
.sheet--wide { max-width: 760px; }
.sheet__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px 12px; }
.sheet__head h3 { font-size: 20px; font-weight: 800; }
.sheet__body { overflow: auto; padding: 4px 20px 20px; display: grid; gap: 14px; align-content: start; }
.sheet__foot { padding: 12px 20px calc(14px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); display: flex; gap: 10px; justify-content: flex-end; }
.grabber { display: none; }
@media (max-width: 719px) {
  .layer { place-items: end stretch; padding: 0; }
  .sheet { max-width: none; border-radius: 22px 22px 0 0; max-height: 90vh; animation: up .28s cubic-bezier(.2, .9, .3, 1); }
  .sheet { grid-template-rows: auto auto minmax(0, 1fr) auto; }
  .sheet__head h3 { font-size: 18px; }
  .tabs button .i { display: none; }
  .tabs button { font-size: 13px; }
  .region-sum b { font-size: 13px; }
  .grabber { display: block; width: 40px; height: 5px; border-radius: 3px; background: var(--line); margin: 8px auto 0; }
  .sheet__head { padding-block-start: 10px; }
  .sheet__foot .btn { flex: 1; }
}
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(14px) scale(.98); } }
@keyframes up { from { transform: translateY(100%); } }
.tabs { display: flex; gap: 4px; padding: 4px; background: var(--surface-2); border-radius: var(--pill); }
.tabs button { flex: 1; height: 38px; border-radius: var(--pill); font-weight: 700; font-size: 14px; color: var(--fg-2); display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 0; }
.tabs button.is-on { background: var(--surface); color: var(--fg); box-shadow: var(--shadow-sm); }
.opt-list { display: grid; gap: 2px; }
.opt { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: var(--r-sm); text-align: start; width: 100%; }
.opt:hover { background: var(--surface-2); }
.opt.is-on { background: var(--brand-soft); }
.opt__main { flex: 1; min-width: 0; display: grid; }
.opt__main b { font-weight: 650; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.opt__main small { color: var(--fg-3); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.opt__end { font-size: 12px; font-weight: 800; color: var(--fg-3); white-space: nowrap; }
.opt .check { color: var(--brand); }
.opt-group { font-size: 12px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg-3); padding: 12px 12px 4px; }
.tr-badge { font-size: 11px; font-weight: 800; height: 22px; padding-inline: 8px; border-radius: var(--pill); display: inline-flex; align-items: center; white-space: nowrap; }
.tr-badge--full { background: var(--ok-soft); color: var(--ok); }
.tr-badge--soon { background: var(--surface-2); color: var(--fg-3); }
.region-sum { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.region-sum div { background: var(--surface-2); border-radius: var(--r); padding: 10px 12px; display: grid; gap: 2px; min-width: 0; }
.region-sum small { font-size: 11.5px; font-weight: 800; color: var(--fg-3); text-transform: uppercase; letter-spacing: 0.05em; }
.region-sum b { font-size: 14px; display: flex; align-items: center; gap: 6px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.note { font-size: 12.5px; color: var(--fg-3); }
.social { display: grid; gap: 8px; }
.social .btn { justify-content: center; }
.divider { display: flex; align-items: center; gap: 10px; color: var(--fg-3); font-size: 13px; font-weight: 700; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.phone-input { display: flex; gap: 8px; }
.phone-input .cc { display: inline-flex; align-items: center; gap: 8px; height: 48px; padding-inline: 12px; border-radius: var(--r-sm); border: 1.5px solid var(--line); font-weight: 700; flex: none; }
.phone-input .input { height: 48px; }

/* toast */
.toast { position: fixed; inset-inline: 0; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); z-index: 90; display: grid; justify-items: center; pointer-events: none; padding-inline: 16px; }
.toast div { background: var(--fg); color: var(--bg); padding: 12px 18px; border-radius: var(--pill); font-weight: 700; font-size: 14px; box-shadow: var(--shadow-lg); display: inline-flex; align-items: center; gap: 8px; animation: rise .25s ease; max-width: 100%; }
@media (max-width: 899px) { .toast { bottom: calc(var(--tab-h) + 14px + env(safe-area-inset-bottom, 0px)); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* long labels in some languages must wrap instead of widening the page */
.side, .detail > * { min-width: 0; }
.seller .link { white-space: normal; }
.contact .btn { white-space: normal; text-align: center; line-height: 1.2; min-width: 0; }

/* =====================================================================
   Website additions
   ===================================================================== */
a.link, .prose a { color: var(--brand); }
.btn[disabled], .btn.is-loading { opacity: .7; pointer-events: none; }
.btn.is-loading .i { animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.btn--danger { background: var(--hot); color: #fff; }
.btn--link { background: none; color: var(--brand); padding-inline: 0; height: auto; }
.btn .i { width: 1.1em; height: 1.1em; }
.btn--accent { position: relative; overflow: hidden; isolation: isolate; }
.btn--accent::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%);
  transform: translateX(-120%);
}
.btn--accent:hover::after { transform: translateX(120%); transition: transform .7s var(--ease); }
.gradient-buttons .btn--brand { background: linear-gradient(135deg, var(--brand), color-mix(in srgb, var(--brand) 55%, var(--hero))); }
.gradient-buttons .btn--accent { background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 70%, #ff7a00)); }

/* header extras */
.topbar__in { position: relative; }
.user-menu { position: relative; }
.user-menu > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; border-radius: var(--pill); padding: 3px 10px 3px 3px; border: 1.5px solid var(--line); }
.user-menu > summary::-webkit-details-marker { display: none; }
.user-menu > summary:hover { border-color: var(--fg-3); }
.user-menu__panel { position: absolute; inset-inline-end: 0; top: calc(100% + 8px); width: 250px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-lg); padding: 6px; z-index: 60; transform-origin: top right; animation: menu .16s var(--ease); }
@keyframes menu { from { opacity: 0; transform: translateY(-4px) scale(.98); } }
.user-menu__panel a, .user-menu__panel button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 10px; border-radius: var(--r-sm); font-size: 14px; font-weight: 600; color: var(--fg-2); text-align: start; }
.user-menu__panel a:hover, .user-menu__panel button:hover { background: var(--surface-2); color: var(--fg); }
.user-menu__head { padding: 10px; border-bottom: 1px solid var(--line); margin-bottom: 4px; display: grid; }
.user-menu__head small { color: var(--fg-3); font-size: 12.5px; }
.avatar { overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar--xs { width: 32px; height: 32px; border-radius: 50%; font-size: 13px; }
.avatar--lg { width: 84px; height: 84px; border-radius: 26px; font-size: 30px; }
.icon-btn { position: relative; }
.count-dot { position: absolute; top: 4px; inset-inline-end: 4px; min-width: 17px; height: 17px; border-radius: 9px; background: var(--hot); color: #fff; font-size: 10px; font-weight: 800; display: grid; place-items: center; padding-inline: 4px; border: 2px solid var(--surface); }

/* flash messages */
.flash-stack { position: fixed; top: calc(var(--top-h) + 12px + env(safe-area-inset-top, 0px)); inset-inline: 0; z-index: 70; display: grid; justify-items: center; gap: 8px; pointer-events: none; padding-inline: 16px; }
.flash { pointer-events: auto; display: flex; align-items: flex-start; gap: 10px; max-width: 560px; width: 100%; padding: 12px 14px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); font-weight: 600; font-size: 14px; animation: rise .3s var(--ease); }
.flash .i { margin-top: 1px; }
.flash--success .i { color: var(--ok); }
.flash--warning .i, .flash--error .i { color: var(--hot); }
.flash button { margin-inline-start: auto; color: var(--fg-3); }
.flash.is-leaving { opacity: 0; transform: translateY(-6px); transition: .25s var(--ease); }
.alert { display: flex; gap: 10px; padding: 12px 14px; border-radius: var(--r); font-size: 14px; background: var(--surface-2); color: var(--fg-2); }
.alert--error { background: var(--hot-soft); color: var(--hot); }
.alert--ok { background: var(--ok-soft); color: var(--ok); }
.alert--warn { background: var(--warn-soft); color: var(--warn); }
.alert ul { margin: 0; padding-inline-start: 18px; }

/* forms */
.field { display: grid; gap: 6px; }
.field > label, .field > .label { font-weight: 700; font-size: 14px; }
.field .hint { color: var(--fg-3); font-size: 12.5px; }
.field .error { color: var(--hot); font-size: 13px; font-weight: 600; }
.input.is-invalid, .select.is-invalid, .textarea.is-invalid { border-color: var(--hot); }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237d84a3' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-inline-end: 34px; }
[dir="rtl"] .select { background-position: left 12px center; }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--fg-2); cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--brand); margin: 2px 0 0; flex: none; }
.input-group { display: flex; gap: 8px; }
.input-group > :first-child { flex: none; }
.input-icon { position: relative; }
.input-icon .i { position: absolute; inset-inline-start: 13px; top: 50%; translate: 0 -50%; color: var(--fg-3); }
.input-icon .input { padding-inline-start: 40px; }
.pw-toggle { position: absolute; inset-inline-end: 6px; top: 50%; translate: 0 -50%; width: 34px; height: 34px; display: grid; place-items: center; color: var(--fg-3); border-radius: 50%; }
.otp-input { letter-spacing: .5em; font-size: 22px; font-weight: 800; text-align: center; height: 56px; font-variant-numeric: tabular-nums; }

/* auth pages */
.auth { min-height: calc(100vh - var(--top-h)); display: grid; grid-template-columns: 1fr 1fr; }
.auth__art { position: relative; overflow: hidden; color: var(--on-hero); background: radial-gradient(circle at 1px 1px, var(--hero-dot) 1.2px, transparent 1.6px) 0 0 / 18px 18px, linear-gradient(160deg, var(--hero), var(--hero-2)); padding: 56px; display: grid; align-content: end; gap: 14px; }
.auth__art h2 { font-size: clamp(28px, 3vw, 40px); font-weight: 800; letter-spacing: -0.03em; max-width: 14ch; }
.auth__art p { color: var(--on-hero-2); max-width: 36ch; }
.auth__stats { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 10px; }
.auth__stats b { display: block; font-family: var(--f-display); font-size: 24px; color: var(--accent); }
.auth__stats small { color: var(--on-hero-2); font-weight: 600; }
.auth__tag { position: absolute; top: 40px; inset-inline-end: -60px; width: 340px; opacity: .1; transform: rotate(-14deg); }
.auth__main { display: grid; place-items: center; padding: 40px 20px; }
.auth__card { width: 100%; max-width: 420px; display: grid; gap: 18px; }
.auth__card h1 { font-size: 30px; font-weight: 800; letter-spacing: -0.03em; }
.auth__card > p { color: var(--fg-2); }
.auth__switch { text-align: center; font-size: 14px; color: var(--fg-2); }
@media (max-width: 899px) { .auth { grid-template-columns: 1fr; } .auth__art { display: none; } .auth__main { padding-block: 28px 100px; } }
.social .btn { gap: 10px; }
.btn--google { background: var(--surface); border: 1.5px solid var(--line); color: var(--fg); }
.btn--facebook { background: #1877f2; color: #fff; }

/* page shell for dashboard */
.page-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px; padding-block: 24px 18px; }
.page-head h1 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; letter-spacing: -0.03em; }
.page-head p { color: var(--fg-2); }
.dash { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 24px; align-items: start; padding-block-end: 40px; }
.dash-nav { position: sticky; top: calc(var(--top-h) + 16px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 10px; display: grid; gap: 2px; }
.dash-nav a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--r-sm); font-weight: 650; font-size: 14.5px; color: var(--fg-2); transition: background-color .15s, color .15s; }
.dash-nav a:hover { background: var(--surface-2); color: var(--fg); }
.dash-nav a.is-on { background: var(--brand-soft); color: var(--brand); }
.dash-nav a .badge-count { margin-inline-start: auto; min-width: 22px; height: 22px; border-radius: 11px; background: var(--hot); color: #fff; font-size: 11px; font-weight: 800; display: grid; place-items: center; padding-inline: 6px; }
.dash-nav hr { border: 0; border-top: 1px solid var(--line); margin: 6px 4px; }
@media (max-width: 899px) {
  .dash { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .dash-nav { position: static; display: flex; overflow-x: auto; scrollbar-width: none; border-radius: var(--r); padding: 6px; }
  .dash-nav::-webkit-scrollbar { display: none; }
  .dash-nav a { white-space: nowrap; flex: none; }
  .dash-nav hr { display: none; }
}
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px; display: grid; gap: 4px; }
.stat .ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); margin-bottom: 6px; }
.stat b { font-family: var(--f-display); font-size: 28px; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.stat small { color: var(--fg-3); font-weight: 600; font-size: 13px; }
@media (max-width: 719px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; display: grid; gap: 14px; }
.box__head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.box__head h2 { font-size: 18px; font-weight: 750; }
.tabs-line { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.tabs-line a { padding: 10px 14px; font-weight: 700; font-size: 14px; color: var(--fg-3); border-bottom: 2.5px solid transparent; white-space: nowrap; display: inline-flex; gap: 6px; align-items: center; }
.tabs-line a.is-on { color: var(--fg); border-bottom-color: var(--brand); }
.tabs-line small { background: var(--surface-2); border-radius: 10px; padding: 1px 7px; font-size: 11.5px; }

/* my ads rows */
.rows { display: grid; gap: 10px; }
.row-ad { display: grid; grid-template-columns: 120px minmax(0, 1fr) auto; gap: 16px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 10px; }
.row-ad img { width: 120px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-sm); background: var(--surface-2); }
.row-ad h3 { font-family: var(--f-body); font-size: 15.5px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row-ad__meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; color: var(--fg-3); font-weight: 600; margin-top: 4px; }
.row-ad__meta span { display: inline-flex; gap: 4px; align-items: center; }
.row-ad__actions { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 719px) { .row-ad { grid-template-columns: 88px minmax(0, 1fr); } .row-ad img { width: 88px; } .row-ad__actions { grid-column: 1 / -1; justify-content: flex-start; } }
.status { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding-inline: 9px; border-radius: var(--pill); font-size: 12px; font-weight: 800; background: var(--surface-2); color: var(--fg-2); text-transform: capitalize; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status--active, .status--paid, .status--approved { background: var(--ok-soft); color: var(--ok); }
.status--pending, .status--awaiting_approval { background: var(--warn-soft); color: var(--warn); }
.status--rejected, .status--failed, .status--cancelled { background: var(--hot-soft); color: var(--hot); }
.status--sold { background: var(--brand-soft); color: var(--brand); }

/* tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: start; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--fg-3); font-weight: 800; padding: 12px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }

/* notifications list */
.notes { display: grid; }
.note-row { display: flex; gap: 12px; padding: 14px 4px; border-bottom: 1px solid var(--line); }
.note-row:last-child { border-bottom: 0; }
.note-row .ic { width: 40px; height: 40px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; flex: none; }
.note-row b { display: block; font-size: 14.5px; }
.note-row p { color: var(--fg-2); font-size: 14px; }
.note-row time { color: var(--fg-3); font-size: 12px; font-weight: 600; }
.note-row.is-unread b::after { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); margin-inline-start: 6px; vertical-align: middle; }

/* listing form */
.wizard { max-width: 900px; margin-inline: auto; padding-block: 22px 60px; }
.wizard__steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-block: 16px 20px; }
.wizard__panel { display: none; }
.wizard__panel.is-on { display: grid; gap: 18px; animation: fadeUp .3s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } }
.cat-pick { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.cat-pick label { cursor: pointer; }
.cat-pick input { position: absolute; opacity: 0; pointer-events: none; }
.cat-pick .tile { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: var(--r); border: 1.5px solid var(--line); font-weight: 700; font-size: 14px; background: var(--surface); transition: border-color .15s, background-color .15s, transform .15s var(--ease); }
.cat-pick label:hover .tile { border-color: var(--fg-3); }
.cat-pick input:checked + .tile { border-color: var(--brand); background: var(--brand-soft); }
.cat-pick input:focus-visible + .tile { outline: 2.5px solid var(--brand); outline-offset: 2px; }
.cat-pick .cat__ic { width: 40px; height: 40px; border-radius: 12px; flex: none; }
.sub-pick { display: flex; flex-wrap: wrap; gap: 8px; }
.sub-pick input { position: absolute; opacity: 0; pointer-events: none; }
.sub-pick span { display: inline-flex; height: 38px; align-items: center; padding-inline: 14px; border-radius: var(--pill); border: 1.5px solid var(--line); font-weight: 650; font-size: 14px; cursor: pointer; background: var(--surface); }
.sub-pick input:checked + span { background: var(--fg); border-color: var(--fg); color: var(--bg); }
@media (max-width: 719px) { .cat-pick { grid-template-columns: repeat(2, minmax(0, 1fr)); } .wizard__steps { gap: 4px; } }
.fields-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 719px) { .fields-grid { grid-template-columns: minmax(0, 1fr); } }
.uploads { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 10px; }
.upload { position: relative; aspect-ratio: 1; border-radius: var(--r); overflow: hidden; background: var(--surface-2); cursor: grab; touch-action: none; }
.upload img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.upload.is-dragging { opacity: .4; }
.upload.is-uploading::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .45), transparent); animation: shimmer 1.1s infinite; }
@keyframes shimmer { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
.upload__bar { position: absolute; inset-inline: 8px; bottom: 8px; height: 5px; border-radius: 3px; background: rgba(0, 0, 0, .3); overflow: hidden; }
.upload__bar i { display: block; height: 100%; width: 0; background: var(--accent); transition: width .2s; }
.upload button { position: absolute; top: 6px; inset-inline-end: 6px; width: 28px; height: 28px; border-radius: 50%; background: rgba(10, 14, 36, .7); color: #fff; display: grid; place-items: center; }
.upload .badge { position: absolute; bottom: 6px; inset-inline-start: 6px; }
.drop input[type=file] { display: none; }
.price-row { display: grid; grid-template-columns: 1fr 150px; gap: 10px; }
.score { display: flex; gap: 16px; align-items: center; padding: 16px; border-radius: var(--r-lg); background: var(--surface-2); }
.ring { --v: 0; --c: var(--ok); width: 76px; height: 76px; border-radius: 50%; flex: none; display: grid; place-items: center; background: conic-gradient(var(--c) calc(var(--v) * 1%), var(--line) 0); transition: --v .6s; position: relative; }
.ring::before { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: var(--surface-2); }
.ring b { position: relative; font-family: var(--f-display); font-size: 22px; font-weight: 800; }
.checks { display: grid; gap: 6px; font-size: 13.5px; }
.checks li { display: flex; gap: 8px; align-items: flex-start; list-style: none; color: var(--fg-2); }
.checks ul { margin: 0; padding: 0; display: grid; gap: 6px; }
.checks .i { margin-top: 2px; }
.checks .pass .i { color: var(--ok); }
.checks .partial .i { color: var(--warn); }
.checks .fail .i { color: var(--fg-3); }
.wizard__nav { display: flex; justify-content: space-between; gap: 10px; }
.sticky-actions { position: sticky; bottom: 0; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(8px); padding-block: 12px; margin-top: 8px; z-index: 5; }
@media (max-width: 899px) { .sticky-actions { bottom: calc(var(--tab-h) + env(safe-area-inset-bottom, 0px)); } }

/* city autocomplete */
.ac { position: relative; }
.ac__list { position: absolute; inset-inline: 0; top: calc(100% + 4px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-lg); max-height: 260px; overflow: auto; z-index: 30; padding: 4px; }
.ac__list button { display: flex; gap: 8px; align-items: center; width: 100%; padding: 9px 10px; border-radius: var(--r-sm); text-align: start; font-size: 14px; }
.ac__list button:hover, .ac__list button.is-active { background: var(--surface-2); }

/* seller page */
.shop-head { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; padding: 24px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); margin-block: 22px 18px; }
.shop-head h1 { font-size: 26px; font-weight: 800; display: flex; align-items: center; gap: 8px; }
.shop-head p { color: var(--fg-2); max-width: 70ch; }
.shop-head__stats { display: flex; gap: 22px; margin-inline-start: auto; }
.shop-head__stats div { display: grid; text-align: center; }
.shop-head__stats b { font-family: var(--f-display); font-size: 22px; }
.shop-head__stats small { color: var(--fg-3); font-weight: 600; }

/* content pages */
.prose { max-width: 72ch; color: var(--fg-2); font-size: 16px; line-height: 1.7; }
.prose h2, .prose h3 { color: var(--fg); margin: 1.6em 0 .5em; }
.prose h2 { font-size: 22px; }
.prose h3 { font-size: 18px; }
.prose ul, .prose ol { padding-inline-start: 1.3em; }
.prose li + li { margin-top: .35em; }
.prose strong { color: var(--fg); }
.content-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(20px, 4vw, 44px); margin-block: 22px 40px; }

/* ad slots */
.ad-slot { margin-block: 22px; min-height: 90px; display: grid; place-items: center; overflow: hidden; border-radius: var(--r); }
.ad-slot--grid { grid-column: 1 / -1; margin-block: 0; }

/* skeleton / misc */
.skeleton { background: linear-gradient(90deg, var(--surface-2) 25%, color-mix(in srgb, var(--surface-2) 60%, var(--surface)) 50%, var(--surface-2) 75%); background-size: 200% 100%; animation: sk 1.3s infinite; border-radius: var(--r-sm); }
@keyframes sk { to { background-position: -200% 0; } }
.pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin-block: 28px 8px; }
.pagination a, .pagination span { min-width: 40px; height: 40px; border-radius: var(--r-sm); font-weight: 700; color: var(--fg-2); background: var(--surface); border: 1px solid var(--line); padding-inline: 10px; display: grid; place-items: center; }
.pagination .is-on { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.pagination .is-off { opacity: .45; }
.reveal { animation: fadeUp .45s var(--ease) both; }
.grid > .card { animation: fadeUp .4s var(--ease) both; }
.grid > .card:nth-child(2) { animation-delay: .03s; } .grid > .card:nth-child(3) { animation-delay: .06s; } .grid > .card:nth-child(4) { animation-delay: .09s; }
.grid > .card:nth-child(5) { animation-delay: .12s; } .grid > .card:nth-child(6) { animation-delay: .15s; } .grid > .card:nth-child(n+7) { animation-delay: .18s; }
.fav.pop .i { animation: pop .35s cubic-bezier(.2, 1.6, .4, 1); }
.sold-ribbon { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(10, 14, 36, .45); color: #fff; font-family: var(--f-display); font-size: 22px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.verified-chip { display: inline-flex; align-items: center; gap: 4px; height: 24px; padding-inline: 8px; border-radius: var(--pill); background: var(--brand-soft); color: var(--brand); font-size: 12px; font-weight: 800; }
.footer__social { display: flex; gap: 8px; margin-top: 14px; }
.footer__social a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); color: var(--fg-2); transition: transform .15s var(--ease), color .15s; }
.footer__social a:hover { color: var(--brand); transform: translateY(-2px); }
.footer ul a:hover { color: var(--fg); text-decoration: underline; }
.lang-flags { display: flex; gap: 6px; }
.hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .22; }
.cookie { position: fixed; inset-inline: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 75; max-width: 520px; margin-inline: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: 16px; display: flex; gap: 12px; align-items: center; font-size: 14px; color: var(--fg-2); }
@media (max-width: 899px) { .cookie { bottom: calc(var(--tab-h) + 12px + env(safe-area-inset-bottom, 0px)); } }
.region-picker .opt-list { max-height: 46vh; overflow: auto; }
.chips-scroll { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.chips-scroll::-webkit-scrollbar { display: none; }
.filter-fields { display: grid; gap: 10px; }
[x-cloak] { display: none !important; }
.trending .trend { height: 30px; padding-inline: 12px; border-radius: var(--pill); background: rgba(255, 255, 255, 0.1); color: var(--on-hero); font-weight: 600; font-size: 13px; border: 1px solid rgba(255, 255, 255, 0.16); display: inline-flex; align-items: center; transition: background-color .15s; }
.trending .trend:hover { background: rgba(255, 255, 255, 0.2); }
.card__title a { color: inherit; }
.card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card .fav, .card .badges, .card .pics { z-index: 2; }
.logo__img { height: 34px; width: auto; }
.logo__img--dark { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .logo__img--light { display: none; } :root:not([data-theme="light"]) .logo__img--dark { display: block; } }
:root[data-theme="dark"] .logo__img--light { display: none; }
:root[data-theme="dark"] .logo__img--dark { display: block; }
.theme-sun { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .theme-sun { display: block; } :root:not([data-theme="light"]) .theme-moon { display: none; } }
:root[data-theme="dark"] .theme-sun { display: block; }
:root[data-theme="dark"] .theme-moon { display: none; }
.chip-radio input { position: absolute; opacity: 0; pointer-events: none; }
.chip-radio input:checked + .chip { background: var(--fg); border-color: var(--fg); color: var(--bg); }
.chip-radio input:focus-visible + .chip { outline: 2.5px solid var(--brand); outline-offset: 2px; }
.flist a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 7px 10px; border-radius: var(--r-sm); font-size: 14px; color: var(--fg-2); font-weight: 600; }
.flist a:hover { background: var(--surface-2); color: var(--fg); }
.flist a.is-on { background: var(--brand-soft); color: var(--brand); }
.flist a small { color: var(--fg-3); font-weight: 600; font-variant-numeric: tabular-nums; }
.crumbs a:hover { color: var(--fg); }
.viewer { position: fixed; inset: 0; z-index: 95; background: rgba(5, 7, 18, .94); opacity: 0; transition: opacity .2s var(--ease); }
.viewer.is-on { opacity: 1; }
.viewer__track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.viewer__track::-webkit-scrollbar { display: none; }
.viewer__track img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: contain; scroll-snap-align: center; }
.viewer__close { position: absolute; top: calc(14px + env(safe-area-inset-top, 0px)); inset-inline-end: 14px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; font-size: 18px; }
.gallery__track img { cursor: zoom-in; }
a.map { display: block; }
.seller__top { color: inherit; }
.chips .chip.is-on { background: var(--fg); border-color: var(--fg); color: var(--bg); }
.opt .check { color: var(--brand); display: inline-flex; }
.msg--offer.me { background: var(--accent); color: var(--accent-ink); }
.convo__ad { color: inherit; }
.chats__list .thread-item { color: inherit; }
.unread { background: none; color: var(--brand); font-size: 14px; }
.form-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 719px) { .form-2 { grid-template-columns: minmax(0, 1fr); } }
.plan-card { cursor: pointer; display: grid; }
.plan-card input { position: absolute; opacity: 0; pointer-events: none; }
.plan-card .plan { height: 100%; transition: border-color .15s, background-color .15s, transform .15s var(--ease), box-shadow .15s; }
.plan-card:hover .plan { transform: translateY(-2px); box-shadow: var(--shadow); }
.plan-card input:checked + .plan { border-color: var(--brand); background: var(--brand-soft); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 18%, transparent); }
.plan-card input:focus-visible + .plan { outline: 2.5px solid var(--brand); outline-offset: 2px; }
.plan .i { color: var(--pc, var(--brand)); }
.success .ic .i { width: 42px; height: 42px; }

/* very narrow screens and large text / zoom settings */
.sec__head > div { min-width: 0; }
.sec__head > .link { flex: none; }
.promo > :not(.promo__art) { position: relative; z-index: 1; }
@media (max-width: 479px) {
  .promo--boost .promo__art { display: none; }
  .promo--sell .promo__art { width: 84px; opacity: .35; }
  .promo p { max-width: none; }
}
@media (max-width: 359px) {
  .topbar__actions [data-theme-toggle] { display: none; }
  .region-btn span { display: none; }
  .region-btn { padding-inline: 10px; }
  .sec__head { flex-wrap: wrap; align-items: start; }
}
@media (max-width: 299px) {
  .grid { grid-template-columns: minmax(0, 1fr); }
}
.chip { max-width: 100%; }

/* ---------- checkout extras: coupon, wallet, business plans ---------- */
.coupon { display: grid; gap: 6px; padding-top: 12px; border-top: 1px solid var(--line); }
.coupon label { font-weight: 700; font-size: 14px; }
.coupon__row { display: flex; gap: 8px; }
.coupon__row .input { flex: 1; min-width: 0; }
.coupon__msg { font-size: 13.5px; font-weight: 650; min-height: 1em; }
.coupon__msg.is-ok { color: var(--ok); }
.coupon__msg.is-bad { color: var(--hot); }
.wallet-hero { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 22px; border-radius: var(--r-lg); color: #fff; background: linear-gradient(135deg, var(--hero, #13226b), var(--brand)); }
.wallet-hero small { opacity: .8; font-weight: 650; }
.wallet-hero b { display: block; font-family: var(--f-display); font-size: clamp(28px, 6vw, 40px); font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.wallet-hero .ic { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: rgba(255, 255, 255, .16); }
.wallet-hero .ic .i { width: 28px; height: 28px; }
.amount-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.amount-chips button { height: 36px; padding-inline: 14px; border-radius: 99px; border: 1.5px solid var(--line); font-weight: 700; font-variant-numeric: tabular-nums; }
.amount-chips button:hover { border-color: var(--brand); color: var(--brand); }
.tx { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.tx:last-child { border-bottom: 0; }
.tx .ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--surface-2); color: var(--fg-2); }
.tx .ic.is-in { background: var(--ok-soft); color: var(--ok); }
.tx b { display: block; font-size: 14.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tx small { color: var(--fg-3); font-size: 12.5px; }
.tx .amt { font-weight: 800; font-variant-numeric: tabular-nums; text-align: end; }
.tx .amt.is-in { color: var(--ok); }
.tx .amt small { display: block; font-weight: 600; }
.perks { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 6px; font-size: 13.5px; color: var(--fg-2); }
.perks li { display: flex; gap: 8px; align-items: flex-start; }
.perks .i { color: var(--ok); flex: none; width: 16px; height: 16px; margin-top: 2px; }
.member-card { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; padding: 18px; border-radius: var(--r-lg); background: var(--brand-soft); border: 1.5px solid color-mix(in srgb, var(--brand) 30%, transparent); }
.member-card .ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--brand); color: #fff; }
.biz-chip { display: inline-flex; align-items: center; gap: 4px; height: 24px; padding-inline: 9px; border-radius: 99px; font-size: 12px; font-weight: 800; background: color-mix(in srgb, var(--accent) 24%, transparent); color: color-mix(in srgb, var(--accent) 35%, var(--fg)); vertical-align: middle; }
.biz-chip .i { width: 14px; height: 14px; }
.vtick--biz { color: color-mix(in srgb, var(--accent) 55%, var(--fg)); }
.shop-banner { height: clamp(120px, 24vw, 240px); border-radius: var(--r-lg); background: var(--surface-2) center / cover no-repeat; margin-bottom: -40px; }
.shop-links { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 6px; font-size: 14px; color: var(--fg-2); }
.shop-links a, .shop-links span { display: inline-flex; align-items: center; gap: 6px; }

/* ---------- maps ---------- */
.map--live, .map--pick { height: 260px; z-index: 0; }
.map--live.is-live .map__pin, .map--pick .map__pin { display: none; }
.map--pick { height: 280px; margin-block-start: 6px; cursor: crosshair; }
.map-actions { display: flex; align-items: center; justify-content: space-between; gap: 8px 12px; flex-wrap: wrap; margin-block-start: 8px; }
.map-actions .note { min-width: 0; }
.map .leaflet-control-attribution { font-size: 10.5px; }
.near-me.is-busy .i { animation: spin 1s linear infinite; }
@media (max-width: 719px) { .map--live, .map--pick { height: 220px; } }
.box .box { padding: 0; border: 0; border-radius: 0; background: none; }
.demo-logins { display: grid; gap: 10px; padding: 14px; border-radius: var(--r); border: 1.5px dashed color-mix(in srgb, var(--accent) 60%, var(--line)); background: color-mix(in srgb, var(--accent) 10%, transparent); }
.demo-logins b { display: flex; align-items: center; gap: 6px; font-size: 14.5px; }
.demo-logins__row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.demo-logins__row .btn { padding-inline: 8px; font-size: 13.5px; height: auto; min-height: 44px; white-space: normal; line-height: 1.2; }
@media (max-width: 380px) { .demo-logins__row { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Petici: pet profiles ---------- */
.pets-strip { margin: 8px 0 28px; }
.pets-strip h2, .pets-ads-title { display: flex; align-items: center; gap: 8px; font-size: 20px; margin: 0 0 14px; }
.pets-ads-title { margin-top: 4px; }
.pets-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 260px); gap: 14px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; }
.pets-row--wrap { grid-auto-flow: row; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); grid-auto-columns: unset; overflow: visible; }
.pet-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; scroll-snap-align: start; }
.pet-card__photo { aspect-ratio: 1 / 1; display: grid; place-items: center; background: var(--pet-bg, var(--surface-2)); color: #3b4060; }
.pet-card__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pet-card__photo .i, .pet-card__photo svg { width: 64px; height: 64px; opacity: .75; }
.pet-card__body { padding: 12px 14px 14px; display: grid; gap: 3px; }
.pet-card__body b { font-size: 16.5px; }
.pet-card__body small { color: var(--fg-2); font-size: 13.5px; }
.pet-card__body p { margin: 6px 0 0; font-size: 14px; color: var(--fg-2); line-height: 1.45; }
.pet-card__sex { color: var(--fg-2); font-weight: 600; }
.pet-card__breed { display: flex; align-items: center; gap: 10px; margin-top: 8px; padding: 8px 10px; border-radius: 12px; background: color-mix(in srgb, var(--brand, #13226B) 7%, var(--surface)); border: 1px solid color-mix(in srgb, var(--brand, #13226B) 14%, var(--line)); color: var(--fg); text-decoration: none; transition: border-color .15s, background .15s; }
.pet-card__breed:hover { border-color: var(--brand, #13226B); background: color-mix(in srgb, var(--brand, #13226B) 11%, var(--surface)); }
.pet-card__breed > svg, .pet-card__breed > .i { width: 18px; height: 18px; flex: none; color: var(--brand, #13226B); }
.pet-card__breed > svg:last-child, .pet-card__breed > .i:last-child { width: 16px; height: 16px; color: var(--fg-2); margin-left: auto; }
.pet-card__breed span { display: grid; min-width: 0; line-height: 1.25; }
.pet-card__body .pet-card__breed small { font-size: 11.5px; text-transform: uppercase; letter-spacing: .04em; color: var(--fg-2); }
.pet-card__breed strong { font-size: 13.5px; font-weight: 700; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pet-card__actions { display: flex; gap: 8px; padding: 0 14px 14px; margin-top: auto; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .pet-card__photo { background: var(--surface-2); color: var(--fg-2); } }
:root[data-theme="dark"] .pet-card__photo { background: var(--surface-2); color: var(--fg-2); }

/* ---------- Petici: follow ---------- */
.follow-box { display: flex; align-items: center; }
.follow-list { display: grid; }
.follow-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.follow-row:last-child { border-bottom: 0; }
.follow-row__who { display: flex; align-items: center; gap: 12px; min-width: 0; }
.follow-row__who b { display: block; }
.follow-row__who small { color: var(--fg-2); font-size: 13.5px; }
.pet-card__actions { flex-wrap: wrap; }
.pet-card__lost { color: #c0392b; }
@media (max-width: 720px) { .follow-box { width: 100%; } .follow-box form, .follow-box .btn { width: 100%; } }

/* ---------- Petici: breeds ---------- */
.breed-tabs { display: flex; gap: 8px; margin: 4px 0 14px; flex-wrap: wrap; }
.breed-tabs a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-weight: 700; }
.breed-tabs a span { font-size: 12.5px; color: var(--fg-2); font-weight: 600; }
.breed-tabs a.is-on { background: var(--fg); color: var(--bg, #fff); border-color: var(--fg); }
.breed-tabs a.is-on span { color: inherit; opacity: .75; }
.breed-filters { display: grid; grid-template-columns: minmax(0, 1fr) auto auto auto; gap: 10px; margin-bottom: 8px; align-items: center; }
.breed-filters .field-search { margin: 0; }
@media (max-width: 760px) { .breed-filters { grid-template-columns: 1fr 1fr; } .breed-filters .field-search { grid-column: 1 / -1; } }
.breed-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.breed-tile { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); position: relative; min-width: 0; }
.breed-tile:hover { border-color: var(--brand, #2343d0); }
.breed-tile__ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--surface-2); flex: none; color: var(--fg-2); }
.breed-tile.is-full .breed-tile__ic { background: color-mix(in srgb, var(--accent, #ffc23d) 30%, transparent); color: var(--fg); }
.breed-tile__img { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; flex: none; background: var(--surface-2); margin: -4px 0; }
.breed-tile__txt { display: grid; min-width: 0; }
.breed-tile__txt b { font-size: 15px; line-height: 1.25; }
.breed-tile__txt small { color: var(--fg-2); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.breed-tile__badge { position: absolute; top: -8px; inset-inline-end: 10px; font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; background: var(--accent, #ffc23d); color: #13226b; padding: 2px 8px; border-radius: 999px; }
.crumbs { font-size: 13.5px; color: var(--fg-2); margin: 4px 0 14px; }
.crumbs a { color: var(--fg-2); text-decoration: underline; text-underline-offset: 2px; }
.breed-hero { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 22px; }
.breed-hero__ic { width: 72px; height: 72px; border-radius: 20px; display: grid; place-items: center; background: color-mix(in srgb, var(--accent, #ffc23d) 35%, transparent); flex: none; }
.breed-hero__ic svg, .breed-hero__ic .i { width: 40px; height: 40px; }
.breed-hero__photo { margin: 0; flex: none; width: clamp(180px, 26vw, 320px); }
.breed-hero__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 20px; display: block; background: var(--surface-2); box-shadow: 0 10px 30px -18px rgba(19, 34, 107, .45); }
.breed-hero__photo figcaption { font-size: 11.5px; color: var(--fg-3, var(--fg-2)); margin-top: 6px; line-height: 1.35; overflow-wrap: anywhere; }
.breed-hero__photo figcaption a { color: inherit; text-decoration: underline; text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); }
@media (max-width: 640px) { .breed-hero { flex-direction: column; } .breed-hero__photo { width: 100%; } }
.breed-credits { margin-top: 22px; font-size: 12.5px; }
.pet-card__breed > img { width: 34px; height: 34px; border-radius: 9px; object-fit: cover; flex: none; }
.breed-hero h1 { font-size: clamp(28px, 4vw, 42px); letter-spacing: -.03em; line-height: 1.1; }
.breed-hero__intro { font-size: 17.5px; line-height: 1.55; margin-top: 10px; max-width: 760px; }
.breed-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 22px; align-items: start; }
@media (max-width: 900px) { .breed-layout { grid-template-columns: 1fr; } }
.breed-main { display: grid; gap: 14px; }
.breed-sec { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; }
.breed-sec h2 { display: flex; align-items: center; gap: 8px; font-size: 18px; margin-bottom: 8px; }
.breed-sec p { line-height: 1.65; color: var(--fg); }
.breed-sec--soon { border-style: dashed; }
.breed-disclaimer { font-size: 13px; }
.breed-facts { display: grid; gap: 14px; position: sticky; top: 84px; }
.breed-facts h2 { font-size: 17px; margin-bottom: 10px; display: flex; gap: 8px; align-items: center; }
.breed-facts dl { display: grid; gap: 8px; margin: 0; }
.breed-facts dl div { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px dashed var(--line); padding-bottom: 7px; }
.breed-facts dt { color: var(--fg-2); font-size: 14px; }
.breed-facts dd { margin: 0; font-weight: 650; text-align: end; font-size: 14px; }
.breed-ratings { display: grid; gap: 8px; margin-top: 14px; }
.breed-rating { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 14px; }
.breed-rating .dots { display: inline-flex; gap: 4px; }
.breed-rating .dots i { width: 12px; height: 12px; border-radius: 50%; background: var(--surface-2); display: block; }
.breed-rating .dots i.on { background: var(--accent, #ffc23d); box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }
.breed-pets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.breed-pets a { display: grid; gap: 4px; text-align: center; font-size: 12.5px; font-weight: 650; }
.breed-pets img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; }

/* ---------- Petici: search suggestions ---------- */
form.has-suggest { position: relative; }
.suggest { position: absolute; top: calc(100% + 8px); inset-inline-start: 0; width: 100%; min-width: min(440px, calc(100vw - 32px)); max-height: min(70vh, 560px); overflow-y: auto; z-index: 80;
  background: var(--surface); color: var(--fg); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 18px 50px rgba(15, 23, 60, .18); padding: 6px 0; text-align: start; }
.suggest__sec + .suggest__sec { border-top: 1px solid var(--line); }
.suggest__head { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--fg-2); padding: 10px 16px 4px; }
.suggest__item { display: flex; align-items: center; gap: 12px; padding: 8px 16px; color: inherit; text-decoration: none; }
.suggest__item:hover, .suggest__item.is-active, .suggest__all:hover, .suggest__all.is-active { background: var(--surface-2); }
.suggest__txt { display: grid; min-width: 0; }
.suggest__txt b { font-weight: 650; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.suggest__txt b mark { background: none; color: inherit; font-weight: 850; }
.suggest__txt small { color: var(--fg-2); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.suggest__ic, .suggest__img, .suggest__avatar { width: 40px; height: 40px; flex: none; border-radius: 10px; display: grid; place-items: center; overflow: hidden; background: var(--surface-2); color: var(--fg-2); }
.suggest__ic svg { width: 20px; height: 20px; }
.suggest__ic.is-breed { background: color-mix(in srgb, var(--accent, #ffc23d) 30%, transparent); color: var(--fg); }
.suggest__ic.is-shelter { background: #fde7ef; color: #b42357; }
.suggest__img img, .suggest__avatar img { width: 100%; height: 100%; object-fit: cover; }
.suggest__avatar { border-radius: 50%; color: #fff; font-weight: 800; font-size: 14px; }
.suggest__empty { padding: 12px 16px; color: var(--fg-2); font-size: 14px; }
.suggest__all { display: block; padding: 12px 16px; font-weight: 700; color: var(--brand, #2343d0); border-top: 1px solid var(--line); text-decoration: none; }
.bigsearch.has-suggest .suggest { top: calc(100% + 10px); }
.suggest__ic > svg, .suggest__ic .i { width: 22px; height: 22px; margin: 0; vertical-align: 0; transform: none; position: static; }
/* Let the home search suggestions overflow the hero (the decoration is still clipped sideways). */
@supports (overflow: clip) { .hero { overflow-x: clip; overflow-y: visible; z-index: 5; } }

/* ---------- Petici: cookie banner ---------- */
.cookie-bar { position: fixed; inset-inline: 16px; bottom: 16px; z-index: 120; display: flex; justify-content: center; pointer-events: none; }
.cookie-bar[hidden] { display: none; }
.cookie-bar__in { pointer-events: auto; max-width: 980px; width: 100%; display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap;
  background: var(--surface); color: var(--fg); border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; box-shadow: 0 18px 50px rgba(15, 23, 60, .22); }
.cookie-bar__txt { flex: 1 1 420px; min-width: 0; }
.cookie-bar__txt b { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.cookie-bar__txt p { font-size: 14px; color: var(--fg-2); margin: 0; }
.cookie-bar__txt a { text-decoration: underline; }
.cookie-bar__opts { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 10px; font-size: 14px; }
.cookie-bar__opts[hidden] { display: none; }
.cookie-bar__opts label { display: inline-flex; gap: 6px; align-items: center; }
.cookie-bar__btns { display: flex; gap: 8px; flex-wrap: wrap; }
@media (max-width: 720px) { .cookie-bar { bottom: 84px; inset-inline: 10px; } .cookie-bar__btns { width: 100%; } .cookie-bar__btns .btn { flex: 1; } }

/* ---------- Petici: offers & reviews ---------- */
.msg--offer .offer-actions { display: flex; gap: 6px; margin-top: 8px; }
.msg--offer .offer-actions form { margin: 0; }
.offer-state { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; font-weight: 700; margin-top: 6px; opacity: .85; }
.offer-state.is-ok { color: #138a4a; } .offer-state.is-no { color: #c0392b; }
.review-box { margin: 8px 14px; max-height: 40vh; overflow: auto; border: 1px solid var(--line); border-radius: 14px; background: var(--surface-2); padding: 10px 14px; }
.review-box summary { cursor: pointer; font-weight: 700; display: flex; gap: 8px; align-items: center; }
.review-box form { display: grid; gap: 8px; margin-top: 10px; }
.stars-input { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 2px; }
.stars-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.stars-input label { font-size: 30px; line-height: 1; color: var(--line); cursor: pointer; transition: color .1s; }
.stars-input input:checked ~ label, .stars-input label:hover, .stars-input label:hover ~ label { color: var(--accent, #ffc23d); }
.stars-input input:focus-visible + label { outline: 2px solid var(--brand); border-radius: 4px; }
.reviews-strip { margin: 8px 0 28px; }
.reviews-strip h2 { display: flex; align-items: center; gap: 8px; font-size: 20px; margin: 0 0 14px; }
.reviews-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.review-card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; display: grid; gap: 6px; }
.review-card__top { display: flex; justify-content: space-between; gap: 10px; }
.review-stars { color: var(--accent, #ffc23d); letter-spacing: 1px; } .review-stars i { font-style: normal; color: var(--line); }
.review-card p { margin: 0; line-height: 1.5; }
.review-card small { color: var(--fg-2); font-size: 12.5px; }
.seller-rating { color: var(--fg); font-weight: 700; }

/* ---------- Petici: growth ---------- */
.shelter-chip { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 800; color: #b42357; background: #fde7ef; border-radius: 999px; padding: 3px 9px; vertical-align: middle; margin-inline-start: 6px; }
.shelter-chip svg { width: 14px; height: 14px; }
.pet-card { position: relative; }
.pet-like { position: absolute; top: 10px; inset-inline-end: 10px; margin: 0; }
.pet-like button { display: inline-flex; align-items: center; gap: 5px; border: 0; border-radius: 999px; padding: 6px 11px; background: rgba(255,255,255,.92); color: #333; font-weight: 800; font-size: 13.5px; cursor: pointer; box-shadow: 0 2px 10px rgba(0,0,0,.12); }
.pet-like button svg { width: 17px; height: 17px; }
.pet-like button.is-on { color: #e0245e; } .pet-like button.is-on svg { fill: #e0245e; }
.pet-like button[disabled] { cursor: default; }
.potm-winner { background: linear-gradient(135deg, color-mix(in srgb, var(--accent, #ffc23d) 35%, var(--surface)), var(--surface)); border: 1px solid var(--line); border-radius: 22px; padding: 18px; margin-bottom: 22px; }
.potm-winner__badge { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; margin-bottom: 12px; }
.potm-winner .pets-row { grid-auto-columns: minmax(240px, 300px); }
.potm-rank { position: relative; }
.potm-rank > span { position: absolute; top: 10px; inset-inline-start: 10px; z-index: 2; background: var(--navy, #13226b); color: #fff; font-weight: 800; font-size: 13px; padding: 4px 9px; border-radius: 999px; }
.potm-rank .pet-card { height: 100%; }

/* ---------- Petici: blog ---------- */
.blog { padding-bottom: 40px; }
.blog-head { margin: 10px 0 18px; max-width: 760px; }
.blog-head h1 { font-size: clamp(30px, 4.4vw, 46px); letter-spacing: -.03em; line-height: 1.08; }
.blog-head p { color: var(--fg-2); font-size: 17px; line-height: 1.55; margin-top: 10px; }
.blog-cats { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.blog-cats a { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-weight: 600; font-size: 14px; color: var(--fg); }
.blog-cats a span { color: var(--fg-2); font-weight: 500; margin-inline-start: 4px; }
.blog-cats a.is-on, .blog-cats a:hover { border-color: var(--brand); color: var(--brand); }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; margin-bottom: 24px; }
.blog-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .blog-grid--3 { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); } }
.blog-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; transition: border-color .15s, transform .15s; min-width: 0; }
.blog-card:hover { border-color: color-mix(in srgb, var(--brand) 45%, var(--line)); transform: translateY(-2px); }
.blog-card__img { display: block; aspect-ratio: 16 / 9; background: var(--surface-2); overflow: hidden; }
.blog-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-card__img span { display: grid; place-items: center; height: 100%; color: var(--fg-2); }
.blog-card__img span svg { width: 42px; height: 42px; opacity: .6; }
.blog-card__body { padding: 16px 18px 18px; display: grid; gap: 8px; align-content: start; flex: 1; }
.blog-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; font-size: 13px; color: var(--fg-2); }
.blog-card__meta svg { width: 14px; height: 14px; vertical-align: -2px; }
.blog-chip { display: inline-flex; padding: 3px 10px; border-radius: 999px; background: color-mix(in srgb, var(--brand) 10%, var(--surface)); color: var(--brand); font-weight: 700; font-size: 12.5px; }
.blog-chip--hot { background: var(--accent, #ffc23d); color: #13226b; }
.blog-card__title { font-size: 18.5px; line-height: 1.3; letter-spacing: -.01em; }
.blog-card__title a { color: var(--fg); }
.blog-card__title a::after { content: ""; position: absolute; inset: 0; }
.blog-card { position: relative; }
.blog-card__meta a { position: relative; z-index: 1; }
.blog-card p { color: var(--fg-2); font-size: 14.5px; line-height: 1.55; margin: 0; }
.blog-card time { color: var(--fg-3, var(--fg-2)); font-size: 12.5px; margin-top: auto; }
.blog-card--big { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); margin-bottom: 24px; }
.blog-card--big .blog-card__img { aspect-ratio: auto; min-height: 320px; }
.blog-card--big .blog-card__body { padding: clamp(20px, 3vw, 36px); align-content: center; gap: 12px; }
.blog-card--big .blog-card__title { font-size: clamp(22px, 2.6vw, 30px); }
.blog-card--big p { font-size: 16px; }
@media (max-width: 760px) { .blog-card--big { grid-template-columns: minmax(0, 1fr); } .blog-card--big .blog-card__img { min-height: 0; aspect-ratio: 16 / 9; } }

.blog-post { max-width: 1120px; margin: 0 auto; }
.blog-post__head { max-width: 780px; margin: 10px auto 22px; display: grid; gap: 12px; }
.blog-post__head h1 { font-size: clamp(30px, 4.6vw, 48px); line-height: 1.08; letter-spacing: -.03em; }
.blog-post__lead { font-size: clamp(17px, 1.6vw, 19.5px); line-height: 1.55; color: var(--fg-2); margin: 0; }
.blog-post__by { color: var(--fg-2); font-size: 14px; margin: 0; }
.blog-post__cover { margin: 0 0 28px; }
.blog-post__cover img { width: 100%; height: auto; aspect-ratio: 16 / 9; max-height: 560px; object-fit: cover; border-radius: 22px; display: block; background: var(--surface-2); }
.blog-post__layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 36px; align-items: start; }
.blog-post__layout > .blog-post__body:only-child { grid-column: 1 / -1; max-width: 780px; margin: 0 auto; width: 100%; }
.blog-toc { position: sticky; top: 90px; }
.blog-toc details { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; }
.blog-toc summary { font-weight: 700; cursor: pointer; display: flex; align-items: center; gap: 8px; list-style: none; }
.blog-toc summary::-webkit-details-marker { display: none; }
.blog-toc ol { margin: 10px 0 0; padding-inline-start: 18px; display: grid; gap: 8px; font-size: 14px; line-height: 1.35; }
.blog-toc a { color: var(--fg-2); }
.blog-toc a:hover { color: var(--brand); }
.blog-post__body { min-width: 0; max-width: 760px; }
.blog-prose { max-width: none; font-size: 17px; line-height: 1.75; color: var(--fg); }
.blog-prose h2 { font-size: clamp(22px, 2.4vw, 27px); letter-spacing: -.02em; scroll-margin-top: 90px; }
.blog-prose h3 { font-size: 19px; }
.blog-prose p, .blog-prose ul, .blog-prose ol { margin: 0 0 1.1em; }
.blog-prose li { margin-bottom: .35em; }
.blog-prose img { max-width: 100%; height: auto; border-radius: 14px; }
.blog-prose blockquote { margin: 1.4em 0; padding: 14px 18px; border-inline-start: 4px solid var(--accent, #ffc23d); background: var(--surface-2); border-radius: 0 12px 12px 0; }
.blog-prose .note-box { padding: 14px 18px; border-radius: 14px; background: color-mix(in srgb, var(--brand) 7%, var(--surface)); border: 1px solid color-mix(in srgb, var(--brand) 18%, var(--line)); margin: 1.4em 0; }
.blog-prose table { width: 100%; border-collapse: collapse; margin: 1.2em 0; font-size: 15px; }
.blog-prose th, .blog-prose td { border: 1px solid var(--line); padding: 8px 10px; text-align: start; }
.blog-prose th { background: var(--surface-2); }
.blog-faq { margin-top: 36px; }
.blog-faq h2 { font-size: clamp(22px, 2.4vw, 27px); margin-bottom: 12px; scroll-margin-top: 90px; }
.blog-faq details { border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; margin-bottom: 10px; background: var(--surface); }
.blog-faq summary { font-weight: 700; cursor: pointer; }
.blog-faq details p { margin: 10px 0 0; color: var(--fg-2); line-height: 1.6; }
.blog-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 24px; color: var(--fg-2); font-size: 13.5px; }
.blog-tags svg { width: 16px; height: 16px; }
.blog-tags span { background: var(--surface-2); padding: 3px 10px; border-radius: 999px; }
.blog-share { display: flex; align-items: center; gap: 8px; margin: 22px 0; padding-top: 18px; border-top: 1px solid var(--line); }
.blog-share b { margin-inline-end: 6px; }
.blog-share a, .blog-share button { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--fg); cursor: pointer; }
.blog-share a:hover, .blog-share button:hover { border-color: var(--brand); color: var(--brand); }
.blog-share svg { width: 18px; height: 18px; }
.blog-cta { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 18px; background: color-mix(in srgb, var(--accent, #ffc23d) 22%, var(--surface)); border: 1px solid color-mix(in srgb, var(--accent, #ffc23d) 50%, var(--line)); margin: 24px 0; flex-wrap: wrap; }
.blog-cta__ic { width: 46px; height: 46px; border-radius: 14px; background: var(--accent, #ffc23d); color: #13226b; display: grid; place-items: center; flex: none; }
.blog-cta > div { flex: 1; min-width: 200px; }
.blog-cta b { font-size: 17px; }
.blog-cta p { margin: 4px 0 0; color: var(--fg-2); }
.blog-more { margin-top: 40px; }
.blog-more h2 { font-size: 24px; margin-bottom: 14px; letter-spacing: -.02em; }
@media (max-width: 960px) {
  .blog-post__layout { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .blog-toc { position: static; }
  .blog-post__body { max-width: none; }
}

/* Petici: shelter directory */
.shelters-head { margin: 6px 0 18px; }
.shelters-head h1 { display: flex; align-items: center; gap: 10px; font-size: clamp(24px, 4vw, 34px); line-height: 1.15; }
.shelters-head h1 .i, .shelters-head h1 svg { width: 30px; height: 30px; color: #b42357; flex: none; }
.shelters-head p { color: var(--fg-2); max-width: 70ch; margin-top: 8px; }
.shelters-filter { display: grid; grid-template-columns: 1fr 220px auto; gap: 10px; margin-bottom: 14px; }
.shelters-filter .field-search { margin: 0; }
.shelters-filter .select { height: 42px; }
@media (max-width: 700px) { .shelters-filter { grid-template-columns: 1fr 1fr; } .shelters-filter .field-search { grid-column: 1 / -1; } }
.shelters-prov { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 18px; scrollbar-width: thin; }
.shelters-prov a { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 36px; padding-inline: 14px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); font-size: 13.5px; font-weight: 700; color: var(--fg-2); white-space: nowrap; }
.shelters-prov a span { font-size: 12px; color: var(--fg-3); font-weight: 800; }
.shelters-prov a:hover { border-color: var(--fg-3); color: var(--fg); }
.shelters-prov a.is-on { background: var(--fg); border-color: var(--fg); color: var(--bg); }
.shelters-prov a.is-on span { color: inherit; opacity: .7; }
.shelters-members { margin-bottom: 26px; }
.shelters-members h2, .shelter-sec-title { font-size: 19px; margin: 0 0 12px; }
.shelters-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; margin-bottom: 18px; }
.shelter-card { position: relative; display: flex; align-items: flex-start; gap: 12px; padding: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); transition: border-color .15s, transform .15s; min-width: 0; }
.shelter-card:hover { border-color: var(--fg-3); transform: translateY(-1px); }
.shelter-card.is-claimed { border-color: color-mix(in srgb, #b42357 35%, var(--line)); }
.shelter-card__ic { width: 46px; height: 46px; border-radius: 12px; background: #fde7ef; color: #b42357; display: grid; place-items: center; flex: none; overflow: hidden; }
.shelter-card__ic svg { width: 24px; height: 24px; }
.shelter-card__ic img { width: 100%; height: 100%; object-fit: cover; }
.shelter-card__txt { display: grid; gap: 3px; min-width: 0; flex: 1; }
.shelter-card__txt b { font-size: 15px; line-height: 1.25; overflow-wrap: anywhere; }
.shelter-card__txt small { display: flex; align-items: center; gap: 4px; color: var(--fg-3); font-size: 13px; font-weight: 600; }
.shelter-card__txt small svg { width: 14px; height: 14px; flex: none; }
.shelter-card__sp { font-size: 12.5px; color: var(--fg-2); }
.shelter-card > .shelter-chip { position: absolute; top: -9px; inset-inline-end: 10px; margin: 0; }
.shelter-chip--muted { color: var(--fg-2); background: var(--surface-2); }
.shelters-claim-cta { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 18px; background: color-mix(in srgb, var(--accent, #ffc23d) 22%, var(--surface)); border: 1px solid color-mix(in srgb, var(--accent, #ffc23d) 50%, var(--line)); margin: 26px 0 12px; }
.shelters-claim-cta p { margin: 4px 0 0; color: var(--fg-2); }
.shelters-source { max-width: 80ch; }
.shelter-hero { display: flex; align-items: center; gap: 18px; margin: 8px 0 22px; }
.shelter-hero__ic { width: 84px; height: 84px; border-radius: 22px; background: #fde7ef; color: #b42357; display: grid; place-items: center; flex: none; overflow: hidden; }
.shelter-hero__ic svg { width: 40px; height: 40px; }
.shelter-hero__ic img { width: 100%; height: 100%; object-fit: cover; }
.shelter-hero h1 { font-size: clamp(22px, 4vw, 32px); line-height: 1.15; overflow-wrap: anywhere; }
.shelter-hero p { margin: 6px 0 0; }
.shelter-hero .shelter-chip { margin: 0; }
.shelter-hero__loc { display: flex; align-items: center; gap: 6px; color: var(--fg-2); font-weight: 600; }
.shelter-hero__loc svg { width: 16px; height: 16px; }
.shelter-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; align-items: start; }
@media (max-width: 900px) { .shelter-layout { grid-template-columns: 1fr; } .shelter-hero__ic { width: 64px; height: 64px; border-radius: 18px; } }
.shelter-main { display: grid; gap: 16px; min-width: 0; }
.shelter-main h2, .shelter-side h2 { font-size: 18px; display: flex; align-items: center; gap: 8px; }
.shelter-main h2 svg, .shelter-side h2 svg { width: 20px; height: 20px; }
.shelter-side { display: grid; gap: 14px; }
.shelter-facts { display: grid; gap: 4px; margin: 0; }
.shelter-facts dt { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: var(--fg-3); margin-top: 8px; }
.shelter-facts dt:first-child { margin-top: 0; }
.shelter-facts dd { margin: 0; font-weight: 600; }
.shelter-facts dd small { display: block; color: var(--fg-3); font-weight: 600; }
.shelter-species { display: flex; flex-wrap: wrap; gap: 6px; }
.shelter-species span { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; background: var(--surface-2); font-size: 13px; }
.shelter-species svg { width: 15px; height: 15px; }
.shelter-contact { display: flex; flex-wrap: wrap; gap: 8px; }
.shelter-claim-box { background: color-mix(in srgb, var(--accent, #ffc23d) 18%, var(--surface)); border-color: color-mix(in srgb, var(--accent, #ffc23d) 50%, var(--line)); }
.shelter-claim-box p { margin: 0; color: var(--fg-2); }
.shelter-link { display: flex; align-items: center; gap: 12px; }
.shelter-link > svg { width: 22px; height: 22px; color: #b42357; flex: none; }
.shelter-link span { display: grid; }
.shelter-link small { color: var(--fg-3); }
.shelter-link:hover { border-color: var(--fg-3); }
.shelter-needs { border-color: color-mix(in srgb, #b42357 30%, var(--line)); }
.shelter-nearby { margin-top: 30px; }

/* Petici: the "Actus" wall */
.feed { display: grid; grid-template-columns: minmax(0, 640px) 320px; gap: 24px; justify-content: center; align-items: start; padding-block: 18px 30px; }
.feed--one { grid-template-columns: minmax(0, 680px); }
@media (max-width: 1000px) { .feed { grid-template-columns: minmax(0, 680px); } .feed__side { display: none; } }
.feed__main { display: grid; gap: 14px; min-width: 0; }
.feed__side { display: grid; gap: 12px; position: sticky; top: calc(var(--top-h) + 16px); }
.feed-head { min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px 20px; }
.feed-head h1 { display: flex; align-items: center; gap: 10px; font-size: clamp(22px, 3.4vw, 28px); }
.feed-head h1 svg { width: 26px; height: 26px; color: #e8590c; }
.feed-head p { color: var(--fg-2); margin: 6px 0 14px; }
.feed-tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; min-width: 0; margin-inline: -4px; padding-inline: 4px; }
@media (max-width: 420px) { .feed-tabs a { padding-inline: 11px; font-size: 13.5px; } .feed-head { padding: 16px; } }
.feed-tabs a { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 38px; padding-inline: 14px; border-radius: 999px; border: 1.5px solid var(--line); font-weight: 700; font-size: 14px; color: var(--fg-2); }
.feed-tabs a svg { width: 16px; height: 16px; }
.feed-tabs a:hover { border-color: var(--fg-3); color: var(--fg); }
.feed-tabs a.is-on { background: var(--fg); border-color: var(--fg); color: var(--bg); }
.feed-err { position: static; max-width: none; animation: none; box-shadow: none; }

.composer { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 14px 16px; display: grid; gap: 10px; }
.composer__top { display: flex; gap: 10px; align-items: flex-start; }
.composer__text { flex: 1; min-height: 42px; resize: none; border: 0; border-radius: 21px; background: var(--surface-2); padding: 10px 16px; font: inherit; font-size: 15px; color: var(--fg); line-height: 1.45; outline: none; }
.composer__text:focus { box-shadow: 0 0 0 2px var(--brand-soft); }
.composer__previews { display: flex; gap: 8px; flex-wrap: wrap; padding-inline-start: 50px; }
.composer__previews img { width: 76px; height: 76px; object-fit: cover; border-radius: 10px; }
.composer__extra { display: grid; gap: 8px; padding-inline-start: 50px; }
.composer__pick { display: flex; align-items: center; gap: 8px; color: var(--fg-2); }
.composer__pick svg { width: 18px; height: 18px; flex: none; }
.composer__pick .select { height: 38px; flex: 1; }
.composer__extra .err { color: var(--hot); font-weight: 700; font-size: 14px; margin: 0; }
.composer__extra .note { margin: 0; font-size: 12.5px; }
.composer__bar { display: flex; align-items: center; gap: 4px; border-top: 1px solid var(--line); padding-top: 10px; }
.composer__btn { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding-inline: 10px; border-radius: 10px; font-weight: 700; font-size: 14px; color: var(--fg-2); cursor: pointer; background: none; border: 0; }
.composer__btn:hover { background: var(--surface-2); color: var(--fg); }
.composer__btn svg { width: 20px; height: 20px; }
.composer__btn:nth-child(1) svg { color: #2f9e44; }
.composer__btn:nth-child(2) svg { color: #e8590c; }
.composer__btn:nth-child(3) svg { color: #7b3fe4; }
.composer__send { margin-inline-start: auto; }
.composer--guest { grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; }
.composer--guest p { margin: 2px 0 0; color: var(--fg-2); font-size: 14px; }
@media (max-width: 560px) { .composer__btn span { display: none; } .composer__previews, .composer__extra { padding-inline-start: 0; } .composer--guest { grid-template-columns: auto 1fr; } .composer--guest .btn { grid-column: 1 / -1; } }

.feed-list { display: grid; gap: 14px; }
.fpost { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 14px 16px 6px; display: grid; gap: 10px; min-width: 0; scroll-margin-top: calc(var(--top-h) + 12px); }
.fpost--pinned { border-color: color-mix(in srgb, var(--accent, #ffc23d) 70%, var(--line)); }
.fpost__head { display: flex; align-items: flex-start; gap: 10px; }
.fpost__site { background: var(--accent, #ffc23d); color: #13226b; }
.fpost__site svg { width: 22px; height: 22px; }
.fpost__who { flex: 1; min-width: 0; }
.fpost__who p { margin: 0; line-height: 1.35; }
.fpost__name { font-weight: 800; }
.fpost__name:hover { text-decoration: underline; }
.fpost__tick { width: 16px; height: 16px; color: var(--brand); vertical-align: -3px; margin-inline-start: 2px; }
.fpost__who .shelter-chip { margin-inline-start: 4px; }
.fpost__what { color: var(--fg-2); }
.fpost__who small { color: var(--fg-3); font-size: 12.5px; font-weight: 600; }
.fpost__who small a:hover { text-decoration: underline; }
.fpost__pin { display: inline-flex; align-items: center; gap: 3px; color: #b77800; }
.fpost__pin svg { width: 13px; height: 13px; }
.fpost__menu { position: relative; }
.fpost__menu summary { list-style: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; color: var(--fg-3); }
.fpost__menu summary::-webkit-details-marker { display: none; }
.fpost__menu summary:hover, .fpost__menu[open] summary { background: var(--surface-2); color: var(--fg); }
.fpost__menu-panel { position: absolute; inset-inline-end: 0; top: 40px; z-index: 20; min-width: 230px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-lg); padding: 6px; display: grid; gap: 2px; }
.fpost__menu-panel button, .fpost__menu-panel label { display: flex; align-items: center; gap: 8px; width: 100%; padding: 9px 10px; border-radius: 8px; background: none; border: 0; font: inherit; font-size: 14px; font-weight: 600; color: var(--fg); cursor: pointer; text-align: start; }
.fpost__menu-panel button:hover { background: var(--surface-2); }
.fpost__menu-panel svg { width: 17px; height: 17px; color: var(--fg-3); }
.fpost__menu-panel .is-danger, .fpost__menu-panel .is-danger svg { color: var(--hot); }
.fpost__report { border-top: 1px solid var(--line); margin-top: 4px; padding: 6px 4px 4px; display: grid; gap: 6px; }
.fpost__report label { padding: 4px 6px; cursor: default; }
.fpost__report .select { height: 36px; font-size: 14px; }
.fpost__report .btn { justify-content: center; }
.fpost__body { font-size: 15px; line-height: 1.55; overflow-wrap: anywhere; }
.fpost__body.is-clamped { display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.fpost__body--needs { background: color-mix(in srgb, #b42357 7%, var(--surface)); border-radius: var(--r); padding: 12px 14px; }
.fpost__body--needs svg { width: 17px; height: 17px; color: #b42357; vertical-align: -3px; }
.fpost__see { justify-self: start; margin-top: -6px; background: none; border: 0; padding: 0; font: inherit; font-weight: 700; color: var(--fg-2); cursor: pointer; }
.fpost__imgs { display: grid; gap: 4px; border-radius: var(--r); overflow: hidden; margin-inline: -4px; }
.fpost__imgs a { display: block; background: var(--surface-2); }
.fpost__imgs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fpost__imgs--1 img { max-height: 560px; object-fit: contain; background: var(--surface-2); }
.fpost__imgs--2 { grid-template-columns: 1fr 1fr; }
.fpost__imgs--2 a, .fpost__imgs--3 a, .fpost__imgs--4 a { aspect-ratio: 1; }
.fpost__imgs--3 { grid-template-columns: 1fr 1fr; }
.fpost__imgs--3 a:first-child { grid-row: span 2; aspect-ratio: auto; }
.fpost__imgs--4 { grid-template-columns: 1fr 1fr; }
.fpost__ads { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 8px; }
.fpost__ads--one { grid-template-columns: 1fr; }
.fpost-ad { display: grid; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--surface); transition: border-color .15s; }
.fpost-ad:hover { border-color: var(--fg-3); }
.fpost-ad img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--surface-2); }
.fpost-ad span { display: grid; gap: 2px; padding: 8px 10px; }
.fpost-ad b { font-size: 15px; }
.fpost-ad small { color: var(--fg-2); font-size: 13px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.fpost__ads--one .fpost-ad { grid-template-columns: 140px 1fr; align-items: center; }
.fpost__ads--one .fpost-ad img { height: 100%; aspect-ratio: auto; min-height: 100px; }
.fpost-ad--more { place-items: center; background: var(--surface-2); font-family: var(--f-display); font-size: 26px; font-weight: 800; color: var(--fg-2); min-height: 120px; }
.fpost__alert { position: relative; display: grid; grid-template-columns: 42% 1fr; border-radius: var(--r); overflow: hidden; border: 2px solid var(--hot); background: color-mix(in srgb, var(--hot) 6%, var(--surface)); }
.fpost__alert--found { border-color: #2f9e44; background: color-mix(in srgb, #2f9e44 6%, var(--surface)); }
.fpost__alert img { width: 100%; height: 100%; min-height: 170px; object-fit: cover; }
.fpost__alert-tag { position: absolute; top: 10px; inset-inline-start: 10px; background: var(--hot); color: #fff; font-weight: 900; letter-spacing: .06em; font-size: 13px; padding: 4px 10px; border-radius: 6px; }
.fpost__alert--found .fpost__alert-tag { background: #2f9e44; }
.fpost__alert-txt { display: grid; gap: 6px; align-content: center; padding: 14px; }
.fpost__alert-txt b { font-size: 17px; line-height: 1.25; }
.fpost__alert-txt small { display: flex; align-items: center; gap: 4px; color: var(--fg-2); font-weight: 600; }
.fpost__alert-txt small svg { width: 14px; height: 14px; }
.fpost__alert-txt .btn { justify-self: start; margin-top: 4px; }
@media (max-width: 520px) { .fpost__alert { grid-template-columns: 1fr; } .fpost__alert img { max-height: 260px; } }
.fpost__blog { display: grid; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.fpost__blog img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
.fpost__blog > span { display: grid; gap: 4px; padding: 12px 14px; }
.fpost__blog b { font-size: 17px; line-height: 1.3; }
.fpost__blog small { color: var(--fg-2); font-size: 14px; }
.fpost__blog em { font-style: normal; font-weight: 700; color: var(--brand); font-size: 14px; }
.fpost__blog:hover b { text-decoration: underline; }
.fpost__pet, .fpost__potm { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: var(--r); background: var(--surface-2); }
.fpost__pet-img, .fpost__potm-img { width: 56px; height: 56px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: var(--surface); color: var(--fg-3); flex: none; }
.fpost__pet-img img, .fpost__potm-img img { width: 100%; height: 100%; object-fit: cover; }
.fpost__pet span:last-child, .fpost__potm > span:last-child { display: grid; }
.fpost__pet small, .fpost__potm small { color: var(--fg-2); }
.fpost__potm { background: linear-gradient(135deg, color-mix(in srgb, var(--accent, #ffc23d) 35%, var(--surface)), var(--surface-2)); padding: 16px; }
.fpost__potm-img { width: 96px; height: 96px; border: 3px solid var(--accent, #ffc23d); }
.fpost__potm em { font-style: normal; font-weight: 800; color: #9a6400; display: flex; align-items: center; gap: 5px; font-size: 14px; }
.fpost__potm em svg { width: 16px; height: 16px; }
.fpost__potm b { font-size: 20px; font-family: var(--f-display); }
.fpost__link { margin: 0; }
.fpost__bar { display: flex; border-top: 1px solid var(--line); padding-top: 4px; }
.fpost__bar > * { flex: 1; display: flex; }
.fpost__act { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 40px; border-radius: 10px; background: none; border: 0; font: inherit; font-weight: 700; font-size: 14px; color: var(--fg-2); cursor: pointer; }
.fpost__act:hover { background: var(--surface-2); color: var(--fg); }
.fpost__act svg { width: 19px; height: 19px; }
.fpost__act em { font-style: normal; }
.fpost__act span:empty { display: none; }
.fpost__act.is-on { color: #e03131; }
.fpost__act.is-on svg { fill: currentColor; }
@media (max-width: 420px) { .fpost__act em { display: none; } }
.fpost__comments { display: grid; gap: 8px; border-top: 1px solid var(--line); padding: 10px 0; }
.fpost__more { font-weight: 700; color: var(--fg-2); font-size: 14px; }
.fpost__more:hover { text-decoration: underline; }
.cmt { display: grid; grid-template-columns: 32px 1fr; column-gap: 8px; scroll-margin-top: calc(var(--top-h) + 12px); }
.cmt .avatar { grid-row: span 2; }
.cmt__bubble { justify-self: start; background: var(--surface-2); border-radius: 16px; padding: 7px 12px; max-width: 100%; }
.cmt__bubble p { margin: 1px 0 0; font-size: 14.5px; overflow-wrap: anywhere; }
.cmt__name { font-weight: 800; font-size: 13.5px; }
.cmt__meta { display: flex; gap: 10px; align-items: center; padding: 2px 12px 0; }
.cmt__meta small { color: var(--fg-3); font-size: 12px; }
.cmt__meta button { background: none; border: 0; padding: 0; font: inherit; font-size: 12px; font-weight: 700; color: var(--fg-3); cursor: pointer; }
.cmt__meta button:hover { color: var(--fg); text-decoration: underline; }
.cmt-form { display: flex; align-items: center; gap: 8px; }
.cmt-form .input { flex: 1; height: 38px; border-radius: 19px; background: var(--surface-2); border-color: transparent; font-size: 14.5px; }
.cmt-form .icon-btn svg { color: var(--brand); }
.feed-more { justify-self: center; }
.feed-more.is-loading { opacity: .6; pointer-events: none; }
.feed-box h2 { font-size: 16px; display: flex; align-items: center; gap: 8px; }
.feed-box h2 svg { width: 18px; height: 18px; }
.feed-people { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.feed-people li { display: flex; align-items: center; gap: 10px; }
.feed-people__name { flex: 1; min-width: 0; display: grid; }
.feed-people__name b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 14.5px; }
.feed-people__name small { color: var(--fg-3); font-size: 12.5px; }
.feed-link { display: flex; align-items: center; gap: 12px; padding: 14px 16px; }
.feed-link > svg { width: 22px; height: 22px; color: var(--brand); flex: none; }
.feed-link span { display: grid; }
.feed-link small { color: var(--fg-3); }
.feed-link:hover { border-color: var(--fg-3); }
.icon-btn--news svg { color: #e8590c; }

/* Petici: breed test "Which breed is right for me?" */
.quiz { max-width: 820px; padding-bottom: 30px; }
.quiz-hero { text-align: center; display: grid; justify-items: center; gap: 8px; margin: 10px 0 20px; }
.quiz-hero__ic { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; background: color-mix(in srgb, var(--accent, #ffc23d) 30%, var(--surface)); color: #9a6400; }
.quiz-hero__ic svg { width: 32px; height: 32px; }
.quiz-hero h1 { font-size: clamp(24px, 4.2vw, 36px); line-height: 1.15; max-width: 20ch; }
.quiz-hero p { color: var(--fg-2); max-width: 60ch; margin: 0; }
.quiz-form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; display: grid; gap: 22px; }
.quiz-progress { height: 6px; border-radius: 3px; background: var(--surface-2); overflow: hidden; display: none; }
.quiz-progress span { display: block; height: 100%; width: 0; background: var(--brand); border-radius: 3px; transition: width .3s var(--ease, ease); }
.quiz-form.is-js .quiz-progress { display: block; }
.quiz-err { margin: 0; color: var(--hot); font-weight: 700; display: flex; gap: 6px; align-items: center; }
.quiz-step { border: 0; margin: 0; padding: 0; display: grid; gap: 14px; min-width: 0; }
.quiz-step legend { font-family: var(--f-display); font-size: clamp(19px, 3vw, 24px); font-weight: 800; padding: 0; margin-bottom: 14px; text-align: center; width: 100%; }
.quiz-form.is-js .quiz-step { display: none; }
.quiz-form.is-js .quiz-step.is-current { display: grid; animation: rise .25s var(--ease, ease); }
.quiz [data-for="chat"] { display: none; }
.quiz-form[data-espece="chat"] [data-for="chat"] { display: inline; }
.quiz-form[data-espece="chat"] [data-for="chien"] { display: none; }
.quiz-options { display: grid; gap: 12px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.quiz-options--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 520px; width: 100%; margin-inline: auto; }
@media (max-width: 600px) { .quiz-options, .quiz-options--2 { grid-template-columns: 1fr; } }
.quiz-opt { position: relative; display: grid; justify-items: center; align-content: center; gap: 10px; text-align: center; padding: 20px 14px; border: 2px solid var(--line); border-radius: var(--r-lg); cursor: pointer; transition: border-color .15s, background-color .15s, transform .15s; min-height: 130px; }
@media (max-width: 600px) { .quiz-opt { grid-template-columns: auto 1fr; justify-items: start; align-items: center; text-align: start; min-height: 0; padding: 12px 16px; } .quiz-opt__ic { width: 44px; height: 44px; } }
.quiz-opt:hover { border-color: var(--fg-3); transform: translateY(-1px); }
.quiz-opt input { position: absolute; opacity: 0; pointer-events: none; }
.quiz-opt__ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--surface-2); color: var(--fg-2); }
.quiz-opt__ic svg { width: 28px; height: 28px; }
.quiz-opt__txt { font-weight: 700; font-size: 15px; line-height: 1.3; }
.quiz-opt:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); }
.quiz-opt:has(input:checked) .quiz-opt__ic { background: var(--brand); color: #fff; }
.quiz-opt:has(input:focus-visible) { outline: 3px solid var(--brand-soft); outline-offset: 2px; }
.quiz-nav { display: flex; align-items: center; gap: 10px; }
.quiz-count { margin-inline: auto; color: var(--fg-3); font-weight: 700; font-size: 14px; }
.quiz-form:not(.is-js) .quiz-count { display: none; }
.quiz-form:not(.is-js) .quiz-nav { justify-content: center; }
.quiz-hero--result h1 { max-width: none; }
.quiz-recap { list-style: none; padding: 0; margin: 4px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.quiz-recap li { display: inline-flex; align-items: center; gap: 5px; padding: 5px 11px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--fg-2); }
.quiz-recap svg { width: 15px; height: 15px; }
.quiz-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: 6px; }
.quiz-results { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 14px; }
.quiz-res { display: grid; grid-template-columns: 200px 1fr; gap: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 14px; }
.quiz-res:first-child { border: 2px solid var(--accent, #ffc23d); }
@media (max-width: 620px) { .quiz-res { grid-template-columns: 1fr; } }
.quiz-res__img { position: relative; display: grid; place-items: center; border-radius: var(--r); overflow: hidden; background: var(--surface-2); color: var(--fg-3); aspect-ratio: 1; align-self: start; }
@media (max-width: 620px) { .quiz-res__img { aspect-ratio: 16 / 10; } }
.quiz-res__img img { width: 100%; height: 100%; object-fit: cover; }
.quiz-res__img > svg { width: 56px; height: 56px; }
.quiz-res__rank { position: absolute; top: 8px; inset-inline-start: 8px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--fg); color: var(--bg); font-weight: 800; font-size: 15px; }
.quiz-res:first-child .quiz-res__rank { background: var(--accent, #ffc23d); color: #13226b; }
.quiz-res__body { display: grid; gap: 8px; align-content: start; min-width: 0; }
.quiz-res__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.quiz-res__top h2 { font-size: 20px; line-height: 1.2; }
.quiz-res__top h2 a:hover { text-decoration: underline; }
.quiz-score { flex: none; font-weight: 800; font-size: 14px; padding: 5px 12px; border-radius: 999px; color: #fff; background: color-mix(in srgb, #2f9e44 calc(var(--p) * 1%), #e8590c); }
.quiz-res__meta { margin: 0; color: var(--fg-3); font-size: 13.5px; font-weight: 600; }
.quiz-why { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; font-size: 14px; }
.quiz-why li { display: flex; gap: 6px; align-items: flex-start; }
.quiz-why svg { width: 17px; height: 17px; flex: none; margin-top: 1px; }
.quiz-why .is-good svg { color: #2f9e44; }
.quiz-why .is-warn { color: var(--fg-2); }
.quiz-why .is-warn svg { color: #e8590c; }
.quiz-ratings { margin-top: 4px; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 22px; }
@media (max-width: 520px) { .quiz-ratings { grid-template-columns: 1fr; } }
.quiz-more { display: flex; margin: 0 auto 22px; }
.quiz-adopt { display: grid; grid-template-columns: auto 1fr; gap: 16px; padding: 20px; border-radius: var(--r-lg); background: color-mix(in srgb, #b42357 8%, var(--surface)); border: 1px solid color-mix(in srgb, #b42357 30%, var(--line)); margin-bottom: 12px; }
.quiz-adopt__ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: #fde7ef; color: #b42357; }
.quiz-adopt__ic svg { width: 28px; height: 28px; }
.quiz-adopt h2 { font-size: 19px; }
.quiz-adopt p { color: var(--fg-2); margin: 6px 0 12px; }
@media (max-width: 520px) { .quiz-adopt { grid-template-columns: 1fr; } }
.quiz-gear { display: flex; align-items: center; gap: 14px; padding: 16px 18px; margin-bottom: 12px; }
.quiz-gear > svg:first-child { width: 26px; height: 26px; color: var(--brand); flex: none; }
.quiz-gear > svg:last-child { width: 20px; height: 20px; color: var(--fg-3); margin-inline-start: auto; flex: none; }
.quiz-gear span { display: grid; }
.quiz-gear small { color: var(--fg-3); }
.quiz-gear:hover { border-color: var(--fg-3); }
.quiz-note { text-align: center; }
/* Call-to-action block (breeds page, home page) */
.quiz-cta { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; padding: 20px 22px; border-radius: var(--r-lg); background: var(--brand); color: #fff; box-shadow: 0 10px 24px -14px color-mix(in srgb, var(--brand) 80%, #000); margin-bottom: 20px; }
.quiz-cta__ic { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: rgba(255, 255, 255, .18); color: #fff; }
.quiz-cta__ic svg { width: 30px; height: 30px; }
.quiz-cta__txt { display: grid; gap: 4px; }
.quiz-cta__txt b { font-family: var(--f-display); font-size: clamp(18px, 2.6vw, 22px); line-height: 1.2; }
.quiz-cta__txt small { font-size: 14.5px; color: rgba(255, 255, 255, .88); }
.quiz-cta:hover .btn { filter: brightness(1.05); }
.quiz-cta .btn { background: var(--accent, #ffc23d); color: var(--accent-ink, #2b1c00); border: 0; white-space: nowrap; box-shadow: 0 6px 18px -8px rgba(255, 170, 0, .7); }
@media (max-width: 640px) { .quiz-cta { grid-template-columns: auto 1fr; } .quiz-cta .btn { grid-column: 1 / -1; justify-content: center; } }
.quiz-step legend small { display: block; font-family: var(--f-body, inherit); font-size: 13.5px; font-weight: 600; color: var(--fg-3); margin-top: 4px; }
.quiz-form[data-espece="chat"] [data-only-opt="chien"] { display: none; }
.quiz-opt.is-off { opacity: .45; cursor: not-allowed; }
.quiz-step--multi .quiz-opt { min-height: 110px; }
.quiz-recap li.is-prio { background: color-mix(in srgb, var(--accent, #ffc23d) 25%, var(--surface)); border-color: color-mix(in srgb, var(--accent, #ffc23d) 60%, var(--line)); color: var(--fg); }
.quiz-allergy { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 14px; padding: 12px 14px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); color: var(--fg-2); font-size: 14px; }
.quiz-allergy svg { width: 18px; height: 18px; flex: none; color: var(--brand); margin-top: 1px; }
/* Breed test: result reserved for members */
.quiz-hero__members { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 700; color: var(--fg-3); }
.quiz-hero__members svg { width: 15px; height: 15px; }
.quiz-lock { position: relative; margin-bottom: 20px; }
.quiz-lock__blur { display: grid; gap: 14px; filter: blur(5px); opacity: .7; pointer-events: none; user-select: none; }
.quiz-res--fake .quiz-res__img { aspect-ratio: 1; }
.quiz-res--fake .quiz-res__body { gap: 12px; padding-top: 6px; }
.quiz-res--fake .quiz-res__body i { display: block; height: 14px; border-radius: 7px; background: var(--surface-2); }
.quiz-res--fake .quiz-res__body i:first-child { height: 22px; background: var(--line); }
.quiz-lock__card { position: absolute; inset: 0; margin: auto; width: min(520px, calc(100% - 24px)); height: max-content; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: 26px 24px; display: grid; justify-items: center; gap: 10px; text-align: center; }
.quiz-lock__ic { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: color-mix(in srgb, var(--accent, #ffc23d) 30%, var(--surface)); color: #9a6400; }
.quiz-lock__ic svg { width: 28px; height: 28px; }
.quiz-lock__card h2 { font-size: clamp(20px, 3vw, 24px); line-height: 1.2; }
.quiz-lock__card > p { margin: 0; color: var(--fg-2); }
.quiz-lock__perks { list-style: none; padding: 0; margin: 4px 0 6px; display: grid; gap: 6px; text-align: start; font-size: 14.5px; }
.quiz-lock__perks li { display: flex; gap: 8px; align-items: flex-start; }
.quiz-lock__perks svg { width: 18px; height: 18px; color: #2f9e44; flex: none; margin-top: 1px; }
.quiz-lock__card .btn { width: 100%; justify-content: center; }
.quiz-lock__login { font-size: 14px; }
@media (max-width: 620px) { .quiz-lock__blur .quiz-res--fake:nth-child(n+2) { display: none; } .quiz-lock__blur { min-height: 560px; } }
.auth-quiz-note { display: flex; gap: 10px; align-items: flex-start; margin: 0; padding: 12px 14px; border-radius: var(--r); background: color-mix(in srgb, var(--accent, #ffc23d) 22%, var(--surface)); border: 1px solid color-mix(in srgb, var(--accent, #ffc23d) 55%, var(--line)); font-weight: 600; font-size: 14px; }
.auth-quiz-note svg { width: 18px; height: 18px; flex: none; margin-top: 1px; color: #9a6400; }
/* Photo chosen in a form: instant preview */
.file-preview { display: block; width: 112px; height: 112px; border-radius: var(--r); overflow: hidden; background: var(--surface-2); border: 1px solid var(--line); margin-bottom: 8px; }
.file-preview img { width: 100%; height: 100%; object-fit: cover; display: block; animation: rise .25s var(--ease, ease); }
.file-preview--wide { width: 100%; height: auto; aspect-ratio: 3 / 1; }
.file-picked { display: block; margin-top: 6px; color: #2f9e44; font-weight: 700; font-size: 13px; }
label.is-picked { border-color: #2f9e44; }
.file-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.file-row .file-preview { width: 44px; height: 44px; margin: 0; border-radius: 10px; order: -1; }
.file-row .file-picked { flex-basis: 100%; margin-top: 0; }
/* Petici: "Pet of the month" switch on the pet card (dashboard) */
.potm-switch { margin: 0 0 4px; }
.potm-switch button { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface-2); font: inherit; font-size: 13px; font-weight: 700; color: var(--fg-3); cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; }
.potm-switch button > span:last-child { display: inline-flex; align-items: center; gap: 4px; }
.potm-switch button svg { width: 15px; height: 15px; }
.potm-switch__knob { position: relative; width: 34px; height: 20px; border-radius: 10px; background: var(--line); flex: none; transition: background-color .15s; }
.potm-switch__knob::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .18s var(--ease, ease); }
.potm-switch button.is-on { background: color-mix(in srgb, var(--accent, #ffc23d) 22%, var(--surface)); border-color: color-mix(in srgb, var(--accent, #ffc23d) 70%, var(--line)); color: var(--fg); }
.potm-switch button.is-on .potm-switch__knob { background: #2f9e44; }
.potm-switch button.is-on .potm-switch__knob::after { transform: translateX(14px); }
.potm-switch button.is-on svg { color: #b77800; }
.potm-switch--off { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; border: 1.5px dashed var(--line); font-size: 12.5px; font-weight: 700; color: var(--fg-3); margin-bottom: 4px; }
.potm-switch--off svg { width: 15px; height: 15px; }
.potm-switch--off:hover { color: var(--fg); border-color: var(--fg-3); }
.pet-card > .potm-switch, .pet-card > .potm-switch--off { margin: auto 14px 10px; align-self: flex-start; }
.pet-card > .potm-switch + .pet-card__actions, .pet-card > .potm-switch--off + .pet-card__actions { margin-top: 0; }

/* Petici: animals for adoption */
.adopt { padding-bottom: 30px; }
.adopt-head { display: flex; gap: 16px; align-items: flex-start; margin: 14px 0 18px; }
.adopt-head__ic { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: #fde7ef; color: #b42357; flex: none; }
.adopt-head__ic svg { width: 28px; height: 28px; }
.adopt-head h1 { font-size: clamp(24px, 4vw, 34px); line-height: 1.15; }
.adopt-head p { color: var(--fg-2); max-width: 75ch; margin: 6px 0 0; }
.adopt-filters { display: grid; gap: 10px; margin-bottom: 18px; min-width: 0; }
.adopt-filters > * { min-width: 0; }
.adopt-filters__species { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.adopt-filters__species .chip { flex: none; cursor: pointer; }
.adopt-filters__species .chip svg { width: 16px; height: 16px; }
.adopt-filters__row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.adopt-filters__row .select { height: 40px; width: auto; min-width: 150px; }
.adopt-toggle { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding-inline: 12px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--surface); font-size: 13.5px; font-weight: 700; color: var(--fg-2); cursor: pointer; }
.adopt-toggle svg { width: 16px; height: 16px; }
.adopt-toggle:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); color: var(--fg); }
.adopt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; margin-bottom: 16px; }
.adopt-grid--3 { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.adopt-card { display: grid; grid-template-rows: auto 1fr; align-content: start; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; transition: transform .15s, border-color .15s; }
.adopt-card:hover { transform: translateY(-2px); border-color: var(--fg-3); }
.adopt-card__img { position: relative; aspect-ratio: 1; background: var(--surface-2); display: grid; place-items: center; color: var(--fg-3); }
.adopt-card__img img { width: 100%; height: 100%; object-fit: cover; }
.adopt-card__img > svg { width: 48px; height: 48px; }
.adopt-card__tag { position: absolute; top: 10px; inset-inline-start: 10px; background: #e8590c; color: #fff; font-size: 12px; font-weight: 800; padding: 3px 9px; border-radius: 999px; }
.adopt-card.is-reserved .adopt-card__img img { opacity: .75; }
.adopt-card__body { display: grid; gap: 4px; align-content: start; padding: 12px 14px 14px; }
.adopt-card__body b { font-size: 16.5px; }
.adopt-card__body small { color: var(--fg-2); font-size: 13.5px; }
.adopt-card__compat { display: flex; gap: 6px; min-height: 6px; }
.adopt-card__compat span { display: inline-flex; align-items: center; padding: 2px 6px; border-radius: 999px; background: color-mix(in srgb, #2f9e44 12%, var(--surface)); color: #2f9e44; }
.adopt-card__compat svg { width: 14px; height: 14px; }
.adopt-card__compat svg + svg { width: 11px; height: 11px; }
.adopt-card__where { display: flex; align-items: center; gap: 4px; color: var(--fg-3) !important; font-size: 12.5px !important; font-weight: 600; }
.adopt-card__where svg { width: 13px; height: 13px; color: #b42357; flex: none; }
.adopt-info { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin: 26px 0 14px; }
.adopt-info > div { display: flex; gap: 12px; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.adopt-info svg { width: 24px; height: 24px; color: var(--brand); flex: none; }
.adopt-info p { margin: 0; font-size: 14px; color: var(--fg-2); }
.adopt-info b { color: var(--fg); }
.adopt-strip { display: flex; align-items: center; gap: 10px; padding: 12px 16px; margin: 6px 0 4px; border-radius: var(--r); background: color-mix(in srgb, #b42357 8%, var(--surface)); border: 1px solid color-mix(in srgb, #b42357 25%, var(--line)); font-weight: 600; }
.adopt-strip svg { width: 20px; height: 20px; color: #b42357; flex: none; }
.adopt-strip b { margin-inline-start: auto; color: #b42357; white-space: nowrap; }
.adopt-page { padding-bottom: 30px; }
.adopt-banner { display: flex; gap: 10px; align-items: center; padding: 12px 16px; margin: 4px 0 14px; border-radius: var(--r); background: color-mix(in srgb, #e8590c 10%, var(--surface)); border: 1px solid color-mix(in srgb, #e8590c 35%, var(--line)); font-weight: 600; }
.adopt-banner--adopted { background: color-mix(in srgb, #2f9e44 10%, var(--surface)); border-color: color-mix(in srgb, #2f9e44 35%, var(--line)); }
.adopt-banner svg { width: 22px; height: 22px; flex: none; }
.adopt-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 20px; align-items: start; }
@media (max-width: 900px) { .adopt-layout { grid-template-columns: 1fr; } .adopt-side { order: -1; } }
.adopt-main, .adopt-side { display: grid; gap: 16px; min-width: 0; }
.adopt-gallery { display: grid; gap: 8px; }
.adopt-gallery__main { aspect-ratio: 4 / 3; border-radius: var(--r-lg); overflow: hidden; background: var(--surface-2); display: grid; place-items: center; color: var(--fg-3); }
.adopt-gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.adopt-gallery__main > svg { width: 64px; height: 64px; }
.adopt-gallery__thumbs { display: flex; gap: 8px; overflow-x: auto; }
.adopt-gallery__thumbs button { width: 74px; height: 74px; border-radius: 12px; overflow: hidden; border: 2px solid transparent; padding: 0; flex: none; cursor: pointer; background: none; opacity: .7; }
.adopt-gallery__thumbs button.is-on { border-color: var(--brand); opacity: 1; }
.adopt-gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.adopt-needs { margin-top: 12px; padding: 12px 14px; border-radius: var(--r); background: var(--surface-2); }
.adopt-needs b { display: flex; align-items: center; gap: 6px; }
.adopt-needs svg { width: 17px; height: 17px; color: var(--brand); }
.adopt-needs p { margin: 4px 0 0; color: var(--fg-2); }
.adopt-compat-view { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.adopt-compat-view > div { display: grid; justify-items: center; gap: 4px; padding: 14px 8px; border-radius: var(--r); background: var(--surface-2); text-align: center; }
.adopt-compat-view svg { width: 26px; height: 26px; color: var(--fg-3); }
.adopt-compat-view small { font-weight: 700; color: var(--fg-3); }
.adopt-compat-view .is-yes { background: color-mix(in srgb, #2f9e44 10%, var(--surface)); }
.adopt-compat-view .is-yes svg, .adopt-compat-view .is-yes small { color: #2f9e44; }
.adopt-compat-view .is-no { background: color-mix(in srgb, var(--hot) 8%, var(--surface)); }
.adopt-compat-view .is-no svg, .adopt-compat-view .is-no small { color: var(--hot); }
.adopt-breed { display: flex; gap: 14px; align-items: center; }
.adopt-breed img { width: 64px; height: 64px; border-radius: 14px; object-fit: cover; }
.adopt-breed > svg { width: 28px; height: 28px; color: var(--brand); }
.adopt-breed span { display: grid; }
.adopt-breed small { font-size: 11.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--fg-3); }
.adopt-breed em { font-style: normal; color: var(--brand); font-weight: 700; font-size: 14px; }
.adopt-facts h1 { font-size: clamp(26px, 4vw, 34px); line-height: 1.1; }
.adopt-facts__sum { margin: 0; color: var(--fg-2); font-weight: 600; }
.adopt-facts dl { display: grid; gap: 10px; margin: 6px 0 4px; }
.adopt-facts dl > div { display: grid; grid-template-columns: 120px 1fr; gap: 10px; border-top: 1px dashed var(--line); padding-top: 10px; }
.adopt-facts dt { color: var(--fg-3); font-size: 14px; }
.adopt-facts dd { margin: 0; font-weight: 700; }
.adopt-flags { display: flex; flex-wrap: wrap; gap: 6px; }
.adopt-flags span { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 999px; background: var(--surface-2); color: var(--fg-3); font-size: 13px; }
.adopt-flags span.is-yes { background: color-mix(in srgb, #2f9e44 12%, var(--surface)); color: #2f9e44; }
.adopt-flags svg { width: 14px; height: 14px; }
.adopt-facts .btn { justify-self: start; }
.adopt-shelter__name { display: flex; gap: 12px; align-items: center; }
.adopt-shelter__name > span:last-child { display: grid; }
.adopt-shelter__name small { display: flex; align-items: center; gap: 4px; color: var(--fg-3); }
.adopt-shelter__name small svg { width: 13px; height: 13px; }
.adopt-shelter__agr { display: flex; align-items: center; gap: 6px; margin: 0; font-size: 13px; font-weight: 700; color: #2f9e44; }
.adopt-shelter__agr svg { width: 16px; height: 16px; flex: none; }
.adopt-more { margin-top: 30px; }
.quiz-adoptions { margin: 6px 0 18px; }
.quiz-adoptions h2 { display: flex; align-items: center; gap: 8px; font-size: 19px; margin-bottom: 12px; }
.quiz-adoptions h2 svg { width: 22px; height: 22px; color: #b42357; }
/* Feed posts about adoptions */
.fpost__adopt { display: grid; grid-template-columns: 44% 1fr; border-radius: var(--r); overflow: hidden; border: 2px solid #b42357; background: color-mix(in srgb, #b42357 5%, var(--surface)); }
.fpost__adopt.is-adopted { border-color: #2f9e44; background: color-mix(in srgb, #2f9e44 6%, var(--surface)); }
.fpost__adopt-img { position: relative; display: grid; place-items: center; min-height: 170px; background: var(--surface-2); color: var(--fg-3); }
.fpost__adopt-img img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.fpost__adopt-tag { position: absolute; top: 10px; inset-inline-start: 10px; background: #b42357; color: #fff; font-weight: 800; font-size: 12.5px; padding: 4px 10px; border-radius: 6px; z-index: 1; }
.fpost__adopt.is-adopted .fpost__adopt-tag { background: #2f9e44; }
.fpost__adopt-txt { display: grid; gap: 6px; align-content: center; padding: 14px; }
.fpost__adopt-txt b { font-size: 19px; }
.fpost__adopt-txt small { color: var(--fg-2); }
.fpost__adopt-txt .btn { justify-self: start; }
@media (max-width: 520px) { .fpost__adopt { grid-template-columns: 1fr; } .fpost__adopt-img { min-height: 220px; } }
/* Shelter dashboard */
.adopt-dash { display: grid; gap: 10px; }
.adopt-row { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; padding: 10px; border: 1px solid var(--line); border-radius: var(--r); }
.adopt-row--adopted { opacity: .7; }
.adopt-row__img { width: 64px; height: 64px; border-radius: 12px; overflow: hidden; background: var(--surface-2); display: grid; place-items: center; color: var(--fg-3); }
.adopt-row__img img { width: 100%; height: 100%; object-fit: cover; }
.adopt-row__txt { display: grid; gap: 2px; min-width: 0; }
.adopt-row__txt small { color: var(--fg-3); display: flex; gap: 4px; align-items: center; }
.adopt-row__txt small svg { width: 13px; height: 13px; }
.adopt-row__actions { grid-column: 1 / -1; display: flex; gap: 6px; flex-wrap: wrap; }
.adopt-status { font-size: 12.5px; font-weight: 800; padding: 4px 10px; border-radius: 999px; background: color-mix(in srgb, #2f9e44 12%, var(--surface)); color: #2f9e44; }
.adopt-status--reserved { background: color-mix(in srgb, #e8590c 12%, var(--surface)); color: #e8590c; }
.adopt-status--adopted { background: var(--surface-2); color: var(--fg-3); }
.adopt-checks, .adopt-compat { border: 1px solid var(--line); border-radius: var(--r); padding: 12px 14px; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 20px; }
.adopt-checks legend, .adopt-compat legend { font-weight: 800; padding: 0 6px; }
.adopt-checks label { display: flex; gap: 6px; align-items: center; font-weight: 600; }
.adopt-checks .error { flex-basis: 100%; }
.adopt-compat { display: grid; gap: 10px; }
.adopt-compat__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.adopt-compat__row > span { display: flex; align-items: center; gap: 6px; font-weight: 700; }
.adopt-compat__row svg { width: 18px; height: 18px; }
.adopt-compat .seg { gap: 2px; }
.adopt-compat .seg label { cursor: pointer; }
.adopt-compat .seg input { position: absolute; opacity: 0; pointer-events: none; }
.adopt-compat .seg span { display: inline-block; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; color: var(--fg-3); }
.adopt-compat .seg input:checked + span { background: var(--surface); color: var(--fg); box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
.adopt-photos { display: flex; gap: 8px; flex-wrap: wrap; }
.adopt-photos__item { display: grid; gap: 4px; justify-items: center; font-size: 12px; color: var(--fg-3); }
.adopt-photos__item img { width: 84px; height: 84px; border-radius: 12px; object-fit: cover; }

/* Petici: shelter directory per country */
.shelters-prov__flag { width: 18px; height: 13px; border-radius: 2px; object-fit: cover; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
.shelters-none { display: flex; gap: 18px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 26px; margin: 8px 0 22px; }
.shelters-none__ic { flex: none; width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: #fde8ee; color: #c2255c; }
.shelters-none__ic svg { width: 28px; height: 28px; }
.shelters-none h2 { margin: 0 0 6px; font-size: 21px; }
.shelters-none p { margin: 0 0 14px; color: var(--fg-2); max-width: 680px; line-height: 1.55; }
.shelters-none__btns { display: flex; gap: 10px; flex-wrap: wrap; }
.shelters-countries { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 18px 0 6px; font-size: 14px; color: var(--fg-2); }
.shelters-countries > span { font-weight: 700; }
.shelters-countries a { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding-inline: 12px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); font-weight: 700; color: var(--fg); }
.shelters-countries a:hover { border-color: var(--fg-3); }
.shelters-countries a img { width: 18px; height: 13px; border-radius: 2px; object-fit: cover; }
.shelters-countries a span { font-size: 12px; color: var(--fg-3); font-weight: 800; }
@media (max-width: 640px) { .shelters-none { flex-direction: column; padding: 20px; } }

/* Petici: ads from neighbouring countries */
.card__flag { position: absolute; inset-inline-start: 8px; bottom: 8px; display: grid; place-items: center; padding: 3px; border-radius: 6px; background: rgba(255,255,255,.92); box-shadow: 0 1px 4px rgba(0,0,0,.18); line-height: 0; }
.card__flag img { width: 20px; height: 14px; border-radius: 2px; object-fit: cover; }
.neighbours { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); }
.neighbours__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.neighbours__head h2 { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 20px; }
.neighbours__head h2 svg { width: 22px; height: 22px; color: var(--brand, #0f766e); }
.neighbours-none { display: flex; align-items: center; gap: 8px; margin: 6px 0 0; padding: 14px 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); color: var(--fg-2); }
.neighbours-none svg { width: 18px; height: 18px; flex: none; }

/* Petici: "Are you in Belgium?" bar */
.geo-bar { background: #e7f6f3; border-bottom: 1px solid #c9ebe4; color: #0b3b36; }
.geo-bar__in { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding-block: 10px; font-weight: 600; }
.geo-bar__in img { width: 22px; height: 16px; border-radius: 3px; object-fit: cover; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
.geo-bar__stay { background: none; border: 0; color: inherit; font: inherit; font-weight: 700; text-decoration: underline; cursor: pointer; padding: 4px 2px; }
.footer-dbip { margin-inline-start: 8px; font-size: 11px; opacity: .55; color: inherit; }
.footer-dbip:hover { opacity: .9; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .geo-bar { background: #10302c; border-color: #1d4a44; color: #d5f3ee; } }
:root[data-theme="dark"] .geo-bar { background: #10302c; border-color: #1d4a44; color: #d5f3ee; }

/* Petici: moving wall of ads in the hero (column 1 up, 2 down, 3 up) */
.hero__main { display: grid; gap: 18px; justify-items: start; min-width: 0; width: 100%; }
.hwall { display: none; }
@media (min-width: 1024px) {
  .hero__in.has-wall { min-height: 470px; align-content: center; padding-inline-end: calc(42% + 40px); }
  .hero__in.has-wall .bigsearch { max-width: 640px; }
  .hero:has(.has-wall) .hero__tag { display: none; }
  .hwall {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
    position: absolute; top: 0; bottom: 0; inset-inline-end: 16px; width: 42%; overflow: hidden;
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 14%, #000 86%, transparent 100%);
            mask-image: linear-gradient(180deg, transparent 0, #000 14%, #000 86%, transparent 100%);
  }
  .hwall__col { overflow: hidden; min-width: 0; }
  .hwall__track { display: flex; flex-direction: column; gap: 14px; padding-bottom: 14px; animation: hwall-up var(--dur, 40s) linear infinite; will-change: transform; }
  .hwall__col.is-down .hwall__track { animation-name: hwall-down; }
  .hwall:hover .hwall__track { animation-play-state: paused; }
  .hwall__item { position: relative; display: block; aspect-ratio: var(--ratio, 1/1); border-radius: 16px; overflow: hidden; background: rgba(255,255,255,.12); box-shadow: 0 10px 24px rgba(0,0,0,.18); transition: transform .2s; }
  .hwall__item:hover { transform: scale(1.03); }
  .hwall__item img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .hwall__price { position: absolute; inset-inline-start: 10px; bottom: 10px; padding: 4px 10px; border-radius: 999px; background: #fff; color: #111; font-weight: 800; font-size: 13px; box-shadow: 0 2px 8px rgba(0,0,0,.18); }
}
@keyframes hwall-up { from { transform: translateY(0); } to { transform: translateY(-50%); } }
@keyframes hwall-down { from { transform: translateY(-50%); } to { transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .hwall__track { animation: none !important; } }

/* Petici: connected accounts (Mon espace › Profil) */
.social-links { display: grid; gap: 10px; }
.social-link { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.social-link > div { flex: 1; min-width: 0; display: grid; }
.social-link__ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--surface-2); flex: none; }
.social-link__ic svg { width: 22px; height: 22px; }
.social-link__ic--facebook { background: #1877f2; color: #fff; }

/* Petici: shelter mode — overview and adoption messages */
.adopt-msg { display: grid; gap: 8px; margin: 4px 0 14px; padding: 14px; border-radius: 14px; background: var(--surface-2); }
.adopt-msg label { font-weight: 700; }
.adopt-msg textarea { resize: vertical; min-height: 84px; }
.shome-animals { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); gap: 10px; }
.shome-animal { display: flex; gap: 12px; align-items: center; padding: 10px; border: 1px solid var(--line); border-radius: 14px; color: inherit; }
.shome-animal:hover { border-color: var(--fg-3); }
.shome-animal img { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; flex: none; }
.shome-animal span { display: grid; gap: 2px; min-width: 0; }
.shome-animal small { color: var(--fg-2); display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.shome-animal small svg { width: 14px; height: 14px; }
.shome-msg { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); color: inherit; }
.shome-msg:first-of-type { border-top: 0; }
.shome-msg img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; flex: none; }
.shome-msg span { flex: 1; min-width: 0; display: grid; }
.shome-msg span small:last-child { color: var(--fg-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Petici: public profile of a shelter */
.sprof { margin-block: 22px 26px; padding: 24px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); display: grid; gap: 18px; }
.sprof__top { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.sprof__photo { width: 96px; height: 96px; border-radius: 26px; overflow: hidden; display: grid; place-items: center; background: #fde7ef; color: #b42357; flex: none; }
.sprof__photo img { width: 100%; height: 100%; object-fit: cover; }
.sprof__photo svg { width: 44px; height: 44px; }
.sprof__id { flex: 1; min-width: 220px; display: grid; gap: 4px; }
.sprof__id h1 { margin: 0; font-size: clamp(24px, 3.4vw, 32px); line-height: 1.15; }
.sprof__loc { display: flex; align-items: center; gap: 6px; margin: 0; color: var(--fg-2); }
.sprof__loc svg { width: 16px; height: 16px; }
.sprof__chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 2px 0 0; }
.sprof__agr { font-size: 13px; color: var(--fg-2); }
.sprof__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.sprof__stats { display: flex; flex-wrap: wrap; gap: 10px; }
.sprof__stats > div { flex: 1 1 130px; display: grid; gap: 2px; padding: 12px 16px; border-radius: 14px; background: var(--surface-2); }
.sprof__stats b { font-size: 24px; line-height: 1.1; }
.sprof__stats small { color: var(--fg-2); font-weight: 600; }
.sprof__species { grid-template-columns: repeat(auto-fill, 26px); align-content: start; }
.sprof__species span { display: grid; place-items: center; width: 26px; height: 26px; color: #b42357; }
.sprof__species span svg { width: 20px; height: 20px; }
.sprof__species small { grid-column: 1 / -1; }
.sprof__about { margin: 0; color: var(--fg-1, inherit); line-height: 1.6; }
.sprof__contact { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.sprof__contact a { display: inline-flex; align-items: center; gap: 6px; }
.sprof__contact svg { width: 16px; height: 16px; }
.sprof__sec { margin-bottom: 26px; }
.sprof__adopted { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 12px; }
.sprof__happy { display: grid; justify-items: center; gap: 4px; text-align: center; color: inherit; }
.sprof__happy span { width: 96px; height: 96px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: var(--surface-2); box-shadow: 0 0 0 3px #fde7ef; }
.sprof__happy img { width: 100%; height: 100%; object-fit: cover; }
.sprof__happy small { color: var(--fg-2); }
@media (max-width: 640px) { .sprof { padding: 18px; } .sprof__photo { width: 76px; height: 76px; border-radius: 20px; } .sprof__actions { width: 100%; } .sprof__actions > * { flex: 1; } .sprof__actions .btn { width: 100%; justify-content: center; } }

/* Petici: link "5 animals for adoption" in the hero counter */
.hero__eyebrow a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.hero__eyebrow a:hover { text-decoration-thickness: 2px; }

/* Petici: wider category tiles (5 per row) — icon on the left, name and count on the right */
@media (min-width: 1024px) {
  .cats .cat { grid-template-columns: auto 1fr; grid-template-rows: auto auto; justify-items: start; align-items: center; text-align: start; column-gap: 14px; row-gap: 2px; padding: 16px 18px; }
  .cats .cat__ic { grid-row: 1 / 3; }
  .cats .cat b { align-self: end; font-size: 14.5px; }
  .cats .cat small { align-self: start; }
}

/* Petici: home — one row of 5 animals for adoption (scrolls sideways on smaller screens) */
.adopt-grid--row { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1023px) {
  .adopt-grid--row { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(210px, 42%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
  .adopt-grid--row > * { scroll-snap-align: start; }
}
@media (max-width: 560px) { .adopt-grid--row { grid-auto-columns: 72%; } }

/* Petici: green "Adopt an animal" block next to "Got something to sell?" */
.promo--adopt { background: var(--brand); color: #fff; }
.promo--adopt p { color: rgba(255,255,255,.88); }
.promo--adopt .promo__art { width: 130px; bottom: 6px; opacity: 1; }
@media (min-width: 1100px) {
  .promos--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .promos--3 .promo h3 { font-size: 22px; }
  .promos--3 .promo p { max-width: 30ch; }
  .promos--3 .promo__art { width: 96px; }
  .promos--3 .promo--sell .promo__art { width: 78px; top: 14px; bottom: auto; inset-inline-end: 14px; opacity: .55; }
  .promos--3 .promo--boost .promo__art { display: none; }
  .promos--3 .promo--adopt .promo__art { width: 78px; top: 14px; bottom: auto; inset-inline-end: 14px; }
}
@media (min-width: 720px) and (max-width: 1099px) {
  .promos--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .promos--3 .promo--boost { grid-column: 1 / -1; }
}
@media (max-width: 719px) { .promo--adopt .promo__art { width: 64px; top: 14px; bottom: auto; inset-inline-end: 14px; opacity: .45; } }

/* Petici: boost pictogram — shown when the "ladder" illustration is hidden */
.promo__boost { display: none; }
@media (min-width: 1100px) { .promos--3 .promo--boost .promo__boost { display: block; width: 64px; top: 16px; bottom: auto; inset-inline-end: 16px; opacity: 1; } }
@media (max-width: 719px) { .promo--boost .promo__boost { display: block; width: 52px; top: 14px; bottom: auto; inset-inline-end: 14px; opacity: 1; } }

/* Petici: public "Booster" page */
.boost { padding-block: 26px 50px; display: grid; gap: 26px; }
.boost-hero { display: flex; gap: 18px; align-items: center; }
.boost-hero__ic { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--brand); flex: none; }
.boost-hero__ic svg { width: 38px; height: 38px; }
.boost-hero h1 { margin: 0 0 6px; font-size: clamp(26px, 4vw, 38px); }
.boost-hero p { margin: 0; color: var(--fg-2); max-width: 62ch; }
.boost-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(205px, 1fr)); gap: 14px; }
.boost-plan { position: relative; display: grid; gap: 8px; align-content: start; padding: 22px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.boost-plan.is-popular { border: 2px solid var(--pc); box-shadow: var(--shadow); }
.boost-plan__pop { position: absolute; top: -11px; inset-inline-start: 18px; padding: 3px 10px; border-radius: 999px; background: var(--pc); color: #111; font-size: 12px; font-weight: 800; }
.boost-plan__ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: color-mix(in srgb, var(--pc) 16%, var(--surface)); color: var(--pc); }
.boost-plan__ic svg { width: 24px; height: 24px; }
.boost-plan h2 { margin: 4px 0 0; font-size: 19px; }
.boost-plan p { margin: 0; color: var(--fg-2); font-size: 14.5px; min-height: 3em; }
.boost-plan__example { margin: 4px 0; }
.boost-tag { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 800; background: color-mix(in srgb, var(--pc) 16%, var(--surface)); color: color-mix(in srgb, var(--pc) 70%, #000); }
.boost-tag svg { width: 14px; height: 14px; }
.boost-tag--urgent { background: #fee2e2; color: #b91c1c; }
.boost-plan__price { display: flex; align-items: baseline; gap: 8px; margin-top: auto; padding-top: 10px; border-top: 1px dashed var(--line); }
.boost-plan__price b { font-size: 26px; }
.boost-plan__price small { color: var(--fg-2); font-weight: 600; }
.boost-steps h2 { margin: 0 0 12px; }
.boost-steps ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; counter-reset: st; }
.boost-steps li { counter-increment: st; display: grid; gap: 4px; padding: 16px 18px 16px 58px; position: relative; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.boost-steps li::before { content: counter(st); position: absolute; inset-inline-start: 16px; top: 16px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #fff; font-weight: 800; }
.boost-steps li span { color: var(--fg-2); font-size: 14px; }
.boost-mine h2 { margin: 0 0 10px; }
.boost-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.boost-row img { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; flex: none; }
.boost-row > div { flex: 1; min-width: 0; display: grid; }
.boost-row b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.boost-row small { color: var(--fg-2); }
.boost-cta { display: flex; gap: 10px; flex-wrap: wrap; }
.boost-more { text-align: center; }
@media (max-width: 760px) { .boost-steps ol { grid-template-columns: 1fr; } .boost-hero { align-items: flex-start; } .boost-hero__ic { width: 56px; height: 56px; } .boost-hero__ic svg { width: 28px; height: 28px; } }

/* Petici: promote page — full page width, the plans on one row (like the Booster page) */
.wizard--wide { max-width: 1240px; } /* same width as the Booster page (.wrap) */
.plans--5 { grid-template-columns: repeat(auto-fit, minmax(205px, 1fr)) !important; }
@media (min-width: 1100px) { .plans--5 { grid-template-columns: repeat(5, minmax(0, 1fr)) !important; } }

/* Petici: News (Actus) page — same width as the Booster page (.wrap = 1240px) */
.feed:not(.feed--one) { grid-template-columns: minmax(0, 1fr) 360px; justify-content: stretch; }
@media (max-width: 1000px) { .feed:not(.feed--one) { grid-template-columns: minmax(0, 1fr); } }

/* Petici: account menu on the left of the News page (3 columns, like Facebook) + profile item */
.dash-nav .dash-nav__me { gap: 10px; padding: 8px 10px; color: var(--fg); font-weight: 750; }
.dash-nav__me .avatar { width: 32px; height: 32px; flex: none; font-size: 12px; border-radius: 50%; }
.dash-nav__me .avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.dash-nav__name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.feed__nav { position: sticky; top: calc(var(--top-h) + 16px); min-width: 0; }
.feed__nav .dash-nav { position: static; }
.dash-nav { grid-template-columns: minmax(0, 1fr); }
.feed.feed--3 { grid-template-columns: 250px minmax(0, 1fr) 300px; }
@media (max-width: 1200px) { .feed.feed--3 { grid-template-columns: 250px minmax(0, 1fr); } .feed--3 .feed__side { display: none; } }
@media (max-width: 1000px) { .feed.feed--3 { grid-template-columns: minmax(0, 1fr); } .feed--3 .feed__nav { display: none; } }

/* Petici: hero wall — 1st column = animals for adoption (name in a green pill) */
.hwall__price--adopt { display: inline-flex; align-items: center; gap: 5px; background: #16a34a; color: #fff; max-width: calc(100% - 20px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hwall__price--adopt svg { width: 14px; height: 14px; flex: none; fill: currentColor; }

/* Petici: post-an-ad form with the live SEO score in a right-hand column */
.wizard.wizard--seo { max-width: 1240px; display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; }
.wizard__main { min-width: 0; }
.wizard__aside { position: sticky; top: calc(var(--top-h) + 16px); min-width: 0; padding-top: 4px; }
.seo-box { display: grid; gap: 14px; padding: 20px; }
.seo-box h2 { font-size: 19px; font-weight: 800; margin: 0; }
.seo-box__head { display: flex; align-items: center; gap: 16px; }
.seo-box__head b[data-score-grade] { font-size: 16px; }
.seo-box__head .note { margin: 2px 0 0; }
.seo-box .ring::before { background: var(--surface); }
.seo-box__checks { margin: 0; padding: 0; gap: 10px; }
.seo-box__checks li b { color: var(--fg); font-weight: 650; }
.seo-box__checks small { color: var(--fg-2); }
@media (max-width: 1000px) {
  .wizard.wizard--seo { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .wizard__aside { position: static; padding-top: 0; }
}

/* Petici: Digital Services Act — illegal content notice page, professional seller box */
.dsa-page { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 32px; align-items: start; }
.dsa-page__intro { display: grid; gap: 14px; }
.dsa-page__intro h1 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; letter-spacing: -.02em; display: flex; gap: 10px; align-items: center; margin: 0; }
.dsa-page__intro p { margin: 0; color: var(--fg-2); }
.dsa-contact { display: grid; gap: 8px; padding: 16px; }
.dsa-contact h2 { font-size: 16px; margin: 0; }
.dsa-contact p { display: flex; gap: 8px; align-items: center; }
.dsa-form, .dsa-done { display: grid; gap: 14px; padding: 22px; }
.dsa-done h2 { display: flex; gap: 8px; align-items: center; color: var(--ok); margin: 0; }
@media (max-width: 899px) { .dsa-page { grid-template-columns: minmax(0, 1fr); } }
.trader-box { margin-top: 12px; padding: 12px 14px; border-radius: var(--r); background: var(--surface-2); font-size: 13.5px; display: grid; gap: 4px; }
.trader-box b { display: flex; align-items: center; gap: 6px; font-size: 14px; }
.trader-box span { color: var(--fg-2); }
.trader-box--private { background: none; border: 1px dashed var(--line); }
.pro-chip { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 999px; background: color-mix(in srgb, var(--brand) 12%, var(--surface)); color: var(--brand); font-size: 12px; font-weight: 750; }

/* Petici: shelter needs (donations of items) */
.need-ic { width: 40px; height: 40px; flex: none; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--accent, #ffc23d) 25%, var(--surface)); color: #8a5a00; }
.need-ic svg { width: 20px; height: 20px; }
.need-urgent { display: inline-flex; margin-inline-start: 8px; padding: 1px 8px; border-radius: 999px; background: var(--hot); color: #fff; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; vertical-align: middle; }
.needs { display: grid; gap: 12px; padding: 20px; }
.needs .note { margin: 0; }
.needs__list { display: grid; gap: 10px; }
.need-card { border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.need-card summary { list-style: none; display: flex; align-items: center; gap: 12px; padding: 10px 12px; cursor: pointer; }
.need-card summary::-webkit-details-marker { display: none; }
.need-card__txt { flex: 1; min-width: 0; display: grid; gap: 2px; }
.need-card__txt small { color: var(--fg-2); }
.need-card__form { display: grid; gap: 8px; padding: 0 12px 12px; margin: 0; }
.need-card[open] { border-color: color-mix(in srgb, var(--accent, #ffc23d) 60%, var(--line)); }
@media (max-width: 560px) { .need-card summary { flex-wrap: wrap; } .need-card summary .btn { width: 100%; justify-content: center; } }
.need-form { display: grid; gap: 14px; }
.need-row { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.need-row:first-of-type { border-top: 0; }
.need-row.is-done { opacity: .55; }
.need-row__txt { flex: 1; min-width: 0; display: grid; gap: 2px; }
.need-row__txt small { color: var(--fg-2); }
.need-row__act { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.convo__need { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--accent, #ffc23d) 25%, var(--surface)); flex: none; }
.needs-groups { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; padding-bottom: 40px; }
.needs-group { display: grid; gap: 12px; align-content: start; padding: 18px; }
.needs-group__head { display: flex; gap: 12px; align-items: center; color: inherit; }
.needs-group__head span:last-child { display: grid; min-width: 0; }
.needs-group__head small { color: var(--fg-2); display: flex; gap: 4px; align-items: center; }
.needs-group__photo { width: 48px; height: 48px; border-radius: 14px; overflow: hidden; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); flex: none; }
.needs-group__photo img { width: 100%; height: 100%; object-fit: cover; }
.needs-group__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.needs-group__list a { display: flex; gap: 10px; align-items: center; color: inherit; }
.needs-group__list a > span:last-child { display: grid; min-width: 0; }
.needs-group__list small { color: var(--fg-2); }
.needs-group .btn { justify-self: start; }

/* Petici: arrondi solidaire on the payment page */
.roundup { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--r-lg); border: 1.5px dashed color-mix(in srgb, #16a34a 55%, var(--line)); background: color-mix(in srgb, #16a34a 7%, var(--surface)); cursor: pointer; }
.roundup input { width: 20px; height: 20px; accent-color: #16a34a; flex: none; }
.roundup__ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: #16a34a; color: #fff; flex: none; }
.roundup > span:last-child { display: grid; gap: 2px; }
.roundup small { color: var(--fg-2); }
.roundup:has(input:checked) { border-style: solid; }

/* Petici: messages — member avatar for a conversation that is not about an ad */
.thread-item .thread-item__avatar { width: 48px; height: 48px; border-radius: 50%; flex: none; font-size: 16px; overflow: hidden; color: #fff; font-weight: 800; display: grid; place-items: center; }
.thread-item .thread-item__avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }

/* Petici « Pet Alerte » */
.sec--tight { padding-block: 0; margin-top: 18px; }
.palert-banner { display: flex; align-items: center; gap: 16px; padding: 16px 20px; border-radius: var(--r-lg); background: linear-gradient(100deg, #fff1f1, #fff8ec); border: 1px solid #ffd2d2; }
.palert-banner.is-on { background: linear-gradient(100deg, #ecfdf3, #f3fbf6); border-color: #bfe8cf; }
.palert-banner__ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: #e5484d; color: #fff; flex: none; }
.palert-banner.is-on .palert-banner__ic { background: #16a34a; }
.palert-banner__ic svg { width: 24px; height: 24px; }
.palert-banner__txt { flex: 1; min-width: 0; display: grid; gap: 2px; color: #13226b; }
.palert-banner__txt span { color: #4b5565; font-size: 14px; }
.palert-banner .btn { flex: none; }
:root[data-theme="dark"] .palert-banner { background: color-mix(in srgb, #e5484d 14%, var(--surface)); border-color: var(--line); }
:root[data-theme="dark"] .palert-banner.is-on { background: color-mix(in srgb, #16a34a 14%, var(--surface)); }
:root[data-theme="dark"] .palert-banner__txt, :root[data-theme="dark"] .palert-banner__txt span { color: var(--fg); }
@media (max-width: 640px) { .palert-banner { flex-wrap: wrap; } .palert-banner .btn { width: 100%; justify-content: center; } }
.palert-hero { display: flex; gap: 16px; align-items: flex-start; padding: 20px; border-left: 4px solid #e5484d; }
.palert-hero.is-on { border-left-color: #16a34a; }
.palert-hero__ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: #e5484d; color: #fff; flex: none; }
.palert-hero.is-on .palert-hero__ic { background: #16a34a; }
.palert-hero b { font-size: 18px; }
.palert-hero p { margin: 4px 0 0; color: var(--fg-2); }
.palert-hero__count { display: flex; gap: 6px; align-items: center; color: #16a34a !important; font-weight: 700; }
.palert-form { display: grid; gap: 16px; }
.palert-form .field { display: grid; gap: 8px; }
.palert-switch span { display: grid; }
.palert-switch small { color: var(--fg-2); font-weight: 500; }
.palert-form .toggle > span:first-child { display: inline-flex; align-items: center; gap: 8px; }
.palert-form .toggle svg { width: 16px; height: 16px; }
.palert-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.palert-sent { display: flex; gap: 8px; align-items: center; margin: 10px 0 0; padding: 10px 12px; border-radius: var(--r); background: #fff1f1; color: #b42318; font-weight: 700; font-size: 14px; }
.palert-sent svg { width: 18px; height: 18px; flex: none; }
.palert-form .palert-switch > span:first-child { display: grid; gap: 0; }

/* Petici: text pages (About, legal…) — space between paragraphs, intro line */
.content-card .prose p { margin: 0 0 .9em; }
.content-card .prose p.lead { font-size: 1.12em; color: var(--fg); margin-bottom: 1.2em; }
.content-card .prose h2 { margin-top: 1.4em; }

/* Petici: About page — founder photo and signature */
.prose .founder-photo { margin: 0 0 1.4em; border-radius: 18px; overflow: hidden; background: #f4f5f7; }
.prose .founder-photo img { display: block; width: 100%; height: auto; aspect-ratio: 1626 / 656; object-fit: cover; object-position: 50% 25%; }
@media (max-width: 640px) { .prose .founder-photo img { aspect-ratio: 4 / 3; } }
.prose .founder-sign { display: flex; align-items: center; gap: 14px; margin-top: 1.4em; padding-top: 1em; border-top: 1px solid var(--line); }
.prose .founder-sign img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex: none; }
.prose .founder-sign span { display: grid; }
.prose .founder-sign em { color: var(--fg-2); }

/* Petici: About page — right-hand column (figures + actions) */
.content-card--about { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; align-items: start; }
.content-card--about .prose { max-width: none; }
.about-aside { position: sticky; top: calc(var(--top-h) + 16px); display: grid; gap: 16px; }
.about-box { border: 1px solid var(--line); border-radius: 18px; padding: 18px; background: var(--surface-2); display: grid; gap: 12px; }
.about-box h2 { font-size: 17px; font-weight: 800; margin: 0; }
.about-box .note { margin: 0; font-size: 12.5px; }
.about-stats { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.about-stats li { display: flex; align-items: center; gap: 12px; }
.about-stats li > span:last-child { display: grid; line-height: 1.2; }
.about-stats b { font-size: 22px; font-weight: 800; color: var(--fg); }
.about-stats small { color: var(--fg-2); font-size: 13px; }
.about-stats__ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); flex: none; }
.about-stats__ic svg { width: 20px; height: 20px; }
.about-actions { display: grid; gap: 8px; }
.about-act { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); color: var(--fg); transition: transform .15s, border-color .15s; }
.about-act:hover { transform: translateY(-1px); border-color: color-mix(in srgb, var(--brand) 40%, var(--line)); }
.about-act > svg { width: 36px; height: 36px; padding: 8px; border-radius: 10px; flex: none; color: #fff; }
.about-act span { display: grid; line-height: 1.25; }
.about-act small { color: var(--fg-2); font-size: 12.5px; }
.about-act--sell > svg { background: var(--accent, #ffc23d); color: #13226b; }
.about-act--adopt > svg { background: #2443d3; }
.about-act--give > svg { background: #16a34a; }
.about-act--alert > svg { background: #e5484d; }
@media (max-width: 1000px) { .content-card--about { grid-template-columns: minmax(0, 1fr); } .about-aside { position: static; } }

/* Petici anti-scam: warning under a suspicious message */
.msg-warning{display:flex;gap:8px;align-items:flex-start;align-self:flex-start;max-width:min(560px,92%);margin:-2px 0 8px;padding:10px 12px;border-radius:12px;background:#fff4e5;border:1px solid #f5c37a;color:#7a4300;font-size:13px;line-height:1.45}
.msg-warning svg{flex:none;width:18px;height:18px;margin-top:1px}
[data-theme="dark"] .msg-warning{background:#3a2a12;border-color:#7a5520;color:#ffd9a3}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .msg-warning{background:#3a2a12;border-color:#7a5520;color:#ffd9a3}}
.contact__row > :only-child { grid-column: 1 / -1; }

/* Petici: delivery mode choice in the ad form (green, distinct from the parcel sizes) */
[data-ship-modes] .chip-radio .chip { border-color: #339a93; color: #2b837d; }
[data-ship-modes] .chip-radio input:checked + .chip { background: #339a93; border-color: #339a93; color: #fff; }
