:root {
  color-scheme: light;
  --ink: #14181c;
  --ink-2: #252b31;
  --ink-3: #3a424a;
  --mar: #ffd21f;
  --mar-soft: #fff3b8;
  --mar-deep: #c99a00;
  --mar-ink: #14181c;
  --blue: #1746d1;
  --paper: #f4f5f6;
  --card: #ffffff;
  --muted: #4e6470;
  --line: #dde1e4;
  --green: #0b6f52;
  --green-bg: #dff3ec;
  --red: #a4241c;
  --red-bg: #fbe6e4;
  --logo-bg: #ffffff;
  --display: "Unbounded", "Golos Text", system-ui, sans-serif;
  --body: "Golos Text", system-ui, -apple-system, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.55 var(--body); overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2, .h3 { overflow-wrap: anywhere; }
h1 { font: 800 clamp(28px, 3.6vw, 42px)/1.12 var(--body); letter-spacing: -.02em; text-wrap: balance; }
h2 { font: 800 clamp(21px, 2.2vw, 26px)/1.2 var(--body); letter-spacing: -.01em; }
.h3, h3 { font: 700 18px/1.35 var(--body); }
:focus-visible { outline: 3px solid var(--mar-deep); outline-offset: 2px; }
.ic { width: 20px; height: 20px; flex: none; vertical-align: -4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--mar); padding: 8px 16px; z-index: 20; }
.skip:focus { left: 8px; top: 8px; }
.wrap { width: 100%; max-width: 2040px; margin-inline: auto; padding-inline: clamp(20px, 2.5vw, 48px); }
.muted { color: var(--muted); }
small { font-size: 14px; }

.demo { background: var(--mar-soft); color: var(--ink); text-align: center; padding: 8px 16px; font-weight: 500; font-size: 15px; }

.top { background: var(--card); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.top-in { display: flex; align-items: center; gap: 20px; min-height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; color: var(--ink); white-space: nowrap; font: 700 26px/1 var(--display); }
.logo-tag { position: relative; display: inline-block; padding: 8px 13px 8px 27px; background: var(--mar); color: var(--mar-ink); border-radius: 0 5px 5px 0; clip-path: polygon(13px 0, 100% 0, 100% 100%, 13px 100%, 0 50%); }
.logo-tag { transform-origin: 13px 50%; will-change: transform; }
.logo-tag { animation: tag-swing 6s ease-in-out infinite; }
@keyframes tag-swing {
  0%, 20%, 100% { transform: rotate(0); }
  4% { transform: rotate(12deg); }
  8% { transform: rotate(-8deg); }
  12% { transform: rotate(5deg); }
  16% { transform: rotate(-2deg); }
}
.logo-tag::before { content: ""; position: absolute; left: 12px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: var(--logo-bg); }
.top-search { flex: 1; display: flex; align-items: center; gap: 8px; min-width: 0; max-width: 620px; margin-inline: auto; padding: 3px 3px 3px 12px; border: 1.5px solid var(--ink); border-radius: 9px; }
.top-search > .ic { color: var(--muted); }
.top-search input { flex: 1; min-width: 0; min-height: 36px; padding: 2px 4px; border: 0; background: none; }
.top-search input:focus { outline: none; }
.top-search:focus-within { outline: 3px solid var(--mar-deep); outline-offset: 1px; }
.top-search .btn { min-height: 36px; padding: 6px 14px; }
.mainnav { background: var(--card); border-bottom: 1px solid var(--line); position: relative; z-index: 9; }
.mainnav-in { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 20px; min-height: 46px; }
.mainnav a:not(.catmenu-panel a) { position: relative; display: inline-flex; align-items: center; min-height: 46px; text-decoration: none; font-weight: 600; font-size: 15px; white-space: nowrap; }
.mainnav-in > a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--mar); transform: scaleX(0); transition: transform .18s ease; }
.mainnav-in > a:hover::after, .mainnav-in > a[aria-current]::after { transform: scaleX(1); }
.mainnav-in > a[aria-current] { font-weight: 800; }
.catmenu { position: static; margin-right: 6px; }
.catmenu summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 7px; min-height: 36px; padding: 6px 12px; background: var(--ink); color: #fff; border-radius: 8px; font-weight: 700; font-size: 15px; }
.catmenu summary::-webkit-details-marker { display: none; }
.catmenu summary .ic:last-child { width: 16px; height: 16px; }
.catmenu[open] summary .ic:last-child { transform: rotate(180deg); }
.catmenu-panel { position: absolute; left: 0; right: 0; top: 100%; background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); box-shadow: 0 14px 30px rgb(20 24 28 / .14); padding: 18px max(20px, calc((100% - 1200px) / 2)); display: grid; grid-template-columns: 2fr 1.2fr .9fr; gap: 24px; }
.catmenu-panel > div:first-child { columns: 2; column-gap: 20px; }
.catmenu-panel > div:nth-child(2) { columns: 1; }
.catmenu-title { font-weight: 800; margin-bottom: 8px; }
.catmenu-panel a { display: flex; align-items: center; gap: 9px; padding: 6px 8px; border-radius: 6px; text-decoration: none; font-weight: 500; font-size: 15px; line-height: 1.25; break-inside: avoid; }
.catmenu-panel a:hover { background: var(--mar-soft); }
.catmenu-panel .ic { color: var(--ink-3); }
.top-right { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.langmenu { position: relative; }
.langmenu summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 8px; font-weight: 600; font-size: 14px; white-space: nowrap; }
.langmenu summary::-webkit-details-marker { display: none; }
.langmenu-panel { position: absolute; right: 0; top: 46px; z-index: 11; width: 190px; display: grid; padding: 6px; background: var(--card); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 10px 30px rgb(20 24 28 / .16); }
.langmenu-panel a { padding: 9px 11px; border-radius: 6px; text-decoration: none; font-size: 15px; font-weight: 500; }
.langmenu-panel a:hover { background: var(--paper); }
.langmenu-panel a[aria-current] { background: var(--mar-soft); font-weight: 700; }
.langs { display: flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.langs a { padding: 5px 9px; text-decoration: none; font-size: 14px; font-weight: 500; }
.langs a[aria-current] { background: var(--ink); color: #fff; }
.top-link { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; font-weight: 500; font-size: 15px; }
.burger { display: none; position: relative; }
.burger summary { list-style: none; cursor: pointer; padding: 8px; border: 1px solid var(--line); border-radius: 8px; display: flex; }
.burger summary::-webkit-details-marker { display: none; }
.burger-panel { position: absolute; right: 0; top: 46px; width: 240px; background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 8px; display: grid; box-shadow: 0 10px 30px rgb(14 59 71 / .16); }
.burger-panel a { padding: 10px 12px; text-decoration: none; font-weight: 500; border-radius: 6px; }
.burger-panel a:hover { background: var(--paper); }
.burger-panel a[aria-current] { background: var(--mar-soft); font-weight: 700; }
.burger-langs { display: none; border: 0; border-top: 1px solid var(--line); border-radius: 0; margin-top: 6px; padding-top: 8px; gap: 6px; }
.burger-langs a { border: 1px solid var(--line); border-radius: 6px; padding: 7px 14px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 8px 18px; border-radius: 8px; border: 1px solid transparent; font: 600 15px/1.2 var(--body); text-decoration: none; cursor: pointer; background: none; color: inherit; }
.btn-mar { background: var(--mar); color: var(--mar-ink); }
.btn-mar:hover { background: #ffdc4d; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--ink-3); }
.btn-ghost { border-color: var(--line); background: var(--card); color: var(--ink); }
.btn-ghost:hover { border-color: var(--blue); }
.btn-danger { color: var(--red); }
.btn-big { min-height: 54px; padding: 12px 28px; font-size: 17px; }

.flashes { margin-top: 14px; display: grid; gap: 8px; }
.flash { padding: 12px 16px; border-radius: 8px; font-weight: 500; }
.flash-ok { background: var(--green-bg); color: var(--green); }
.flash-error { background: var(--red-bg); color: var(--red); }

/* Two doors: the two sides of the market get equal weight */
.intro { background: var(--card); }
.intro-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 32px; align-items: center; padding-top: 26px; padding-bottom: 26px; }
.intro-sub { margin-top: 8px; color: var(--muted); font-size: 16px; }
.hero-search { display: flex; align-items: center; gap: 8px; background: var(--card); color: var(--ink); border: 2px solid var(--ink); border-radius: 10px; padding: 5px 5px 5px 14px; }
.hero-search > .ic { color: var(--muted); }
.hero-search input { flex: 1; min-width: 0; border: 0; font: inherit; background: none; min-height: 44px; color: var(--ink); }
.hero-search input:focus { outline: none; }
.hero-search:focus-within { outline: 3px solid var(--mar-deep); outline-offset: 1px; }
.doors { display: grid; grid-template-columns: 1fr 1fr; }
.door { display: flex; padding: 38px clamp(20px, 2.5vw, 48px) 40px; }
.door-offer { background: var(--mar); color: var(--ink); justify-content: flex-end; }
.door-need { background: var(--ink); color: #fff; justify-content: flex-start; }
.door { position: relative; overflow: hidden; }
.door-in { position: relative; z-index: 1; width: min(972px, 100%); }
/* Thin stripes drift slowly in the empty bottom-right corner, leaving the text area clean. One period = 56px * sqrt(2) along x. */
.door-stripes { position: absolute; inset: 0; overflow: hidden; pointer-events: none; opacity: .13;
  -webkit-mask-image: radial-gradient(ellipse 62% 105% at 100% 100%, #000 15%, transparent 100%);
  mask-image: radial-gradient(ellipse 62% 105% at 100% 100%, #000 15%, transparent 100%); }
.door-need .door-stripes { opacity: .2; }
.door-stripes::before { content: ""; position: absolute; top: 0; bottom: 0; left: -80px; right: 0; background: repeating-linear-gradient(-45deg, var(--stripe) 0 10px, transparent 10px 56px); animation: stripes-drift 12s linear infinite; will-change: transform; }
.door-offer { --stripe: var(--ink); }
.door-need { --stripe: var(--mar); }
@keyframes stripes-drift { to { transform: translateX(79.196px); } }
.door-offer .door-in { padding-right: 24px; }
.door-need .door-in { padding-left: 24px; }
.door h2 { font-size: clamp(25px, 3vw, 36px); line-height: 1.1; }
.door p { margin-top: 10px; max-width: 60ch; font-size: 16px; }
.door-need p { color: #d6dadd; }
.door-links { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 20px; }
.door-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; text-decoration: underline; text-underline-offset: 3px; }
.cat-strip { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; padding-top: 18px; padding-bottom: 6px; }
.cat-strip a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px; min-height: 88px; padding: 12px 6px; background: var(--card); border: 1px solid var(--line); border-radius: 10px; text-align: center; text-decoration: none; font-weight: 600; font-size: 15px; line-height: 1.2; }
.cat-strip .ic { box-sizing: border-box; width: 46px; height: 46px; padding: 9px; background: var(--mar); border-radius: 12px; color: var(--ink); }
.cat-strip a:hover { border-color: var(--ink); }
.section-tight { padding-top: 0; }
.dcards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.dcards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.dcards-similar { margin-top: 14px; }
.dcard { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 15px; background: var(--card); border: 1px solid var(--line); border-radius: 10px; min-width: 0; }
.dcard:hover { border-color: var(--ink); }
.dcard-title { font-size: 17px; font-weight: 700; line-height: 1.25; overflow-wrap: anywhere; }
.dcard-title a { text-decoration: none; }
.dcard-title a:hover { text-decoration: underline; }
.dcard-company { font-weight: 600; font-size: 15px; }
.dcard-cat { margin-top: 0; }
.dcard-text { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; font-size: 15px; line-height: 1.45; color: var(--muted); overflow-wrap: anywhere; }
.dcard-label { display: flex; align-items: center; gap: 5px; margin-top: 8px; font-size: 14px; font-weight: 700; }
.dcard-label .ic { width: 16px; height: 16px; flex: none; }
.dcard-more { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 8px; font-weight: 600; font-size: 15px; color: var(--blue); text-decoration: none; }
.dcard-more:hover .ic { transform: translateX(4px); }
.mapband-btn { margin-top: 18px; }
.cat-strip-end { padding-bottom: 36px; }
[hidden] { display: none !important; }
.dealer-fields { display: grid; gap: 12px; }
.dealer-grid { margin-top: 4px; }
.consent { font-size: 14px; }
.catalog-actions { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.facts-strong dd { font-size: 17px; font-weight: 700; }
.facts-strong { margin-top: 10px; }
.facts-strong div { padding: 10px 12px; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; }
.facts dt { display: flex; align-items: center; gap: 6px; }
.facts dt .ic { width: 17px; height: 17px; flex: none; color: var(--ink); }
.foot-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 26px; padding-top: 16px; font-size: 14px; }
.foot-legal::before { content: ""; flex: 0 0 100%; height: 1px; background: var(--ink-3); margin-bottom: 4px; }
.foot .foot-legal a { display: inline; margin-left: 18px; padding: 0; font-size: 14px; text-decoration: underline; text-underline-offset: 2px; }
.foot .foot-legal p:last-child a:first-child { margin-left: 0; }
.mapband { position: relative; overflow: hidden; background: var(--ink); color: #fff; --stripe: var(--mar); }
.mapband-in { position: relative; z-index: 1; }
.mapband .door-stripes { opacity: .2;
  -webkit-mask-image: linear-gradient(90deg, #000, transparent 12%, transparent 88%, #000);
  mask-image: linear-gradient(90deg, #000, transparent 12%, transparent 88%, #000); }
.mapband-in { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 40px; padding-top: 42px; padding-bottom: 42px; align-items: start; }
.mapband-sub { margin-top: 8px; color: #d6dadd; }
.mapband-list { display: grid; gap: 2px; margin: 18px 0; }
.mapband-list a { display: block; padding: 10px 0; border-top: 1px solid var(--ink-3); text-decoration: none; }
.mapband-list a:hover strong { text-decoration: underline; }
.mapband-list strong { display: block; font-weight: 600; }
.mapband-list span { font-size: 14px; color: #c2c8cc; }
.hero { background: var(--ink); color: #fff; }
.hero-sub { margin-top: 12px; color: #d6dadd; font-size: 17px; max-width: 64ch; }
.hero-flat { padding: 40px 0; }
.map-wide { margin-top: 24px; max-width: 900px; }

/* Regions list: an open-dealer count per region, busiest first */
.dmap-label { margin: 0 0 8px; font-size: 14px; font-weight: 600; color: #d6dadd; }
.dmap-grid + .dmap-label { margin-top: 18px; }
.dmap-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; }
.tile { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 62px; padding: 9px 10px 9px 13px; border-radius: 8px; text-decoration: none; }
.tile-text { display: grid; gap: 2px; min-width: 0; }
.tile-name { font-size: 15px; line-height: 1.2; font-weight: 700; }
.tile-n { font-size: 14px; line-height: 1.2; }
.tile-on { background: var(--mar); color: var(--ink); }
.tile-off { background: var(--ink-2); color: #d6dadd; }
.tile-off:hover { background: var(--ink-3); }
.tile { position: relative; overflow: hidden; }
.tile > * { position: relative; z-index: 1; }
.tile::after { content: ""; position: absolute; top: 0; bottom: 0; left: -80px; right: 0; background: repeating-linear-gradient(-45deg, var(--stripe) 0 10px, transparent 10px 56px); opacity: .07; animation: stripes-drift 12s linear infinite; will-change: transform; }
.tile-on { --stripe: var(--ink); }
.tile-off { --stripe: var(--mar); }

.section { padding-top: 40px; padding-bottom: 40px; }
.band { background: var(--card); border-block: 1px solid var(--line); }
.board { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; }
.board-tight { gap: 0 20px; margin-top: 14px; }
.board-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.board-head a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; color: var(--blue); text-decoration: none; }
.board-head a:hover { text-decoration: underline; }

.row { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 14px; background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 12px; margin-bottom: 10px; }
.row:hover { border-color: var(--blue); }
.row-thumb { display: block; width: 112px; height: 112px; border-radius: 8px; overflow: hidden; }
.row-thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb-empty { display: grid; place-items: center; width: 100%; height: 100%; }
.thumb-empty .ic { width: 38px; height: 38px; }
.thumb-food { background: #fff6cf; color: #6b5200; }
.thumb-nonfood { background: #e3e9fb; color: var(--blue); }
.thumb-service { background: #e7ebed; color: var(--muted); }
.row-tags { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.row-title { margin-top: 6px; font-size: 16px; line-height: 1.3; font-weight: 600; overflow-wrap: anywhere; }
.row-title a { text-decoration: none; }
.row-title a:hover { text-decoration: underline; }
.row-price { margin-top: 4px; font-weight: 700; color: var(--ink); }
.row-meta { margin-top: 3px; color: var(--muted); font-size: 14px; display: flex; align-items: center; gap: 5px; flex-wrap: wrap; }
.row-meta .ic { width: 16px; height: 16px; }
.dot { width: 3px; height: 3px; border-radius: 50%; background: currentColor; }
.ok { color: var(--green); display: inline-flex; margin-left: 2px; }
.tag { display: inline-block; padding: 2px 8px; border-radius: 5px; font-size: 14px; font-weight: 600; line-height: 1.5; }
.tag-dealer { background: var(--ink); color: #fff; }
.tag-offer { background: var(--mar-soft); color: var(--ink); }
.tag-need { background: #dfe6fb; color: #0f2f94; }
.tag-brand { background: #dfe6f7; color: #2a3f7a; }
.tag-plain { background: var(--green-bg); color: var(--green); }

.cats-title { margin-top: 26px; margin-bottom: 12px; font-size: 19px; }
.cats-title:first-child { margin-top: 0; }
.cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 8px; }
.cat { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border: 1px solid var(--line); border-radius: 8px; text-decoration: none; font-weight: 500; font-size: 15px; line-height: 1.25; }
.cat .ic { color: var(--blue); }
.cat:hover { border-color: var(--blue); background: var(--paper); }

.grid-3 { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 14px; }
.dealer { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 16px; }
.dealer h3 a, .dealer h2 a { text-decoration: none; }
.dealer h3 a:hover, .dealer h2 a:hover { text-decoration: underline; }
.free-label { margin-top: 10px; font-weight: 600; font-size: 14px; }
.place-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 0; padding: 0; }
.place-chips li { display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; background: var(--mar-soft); border: 1px solid rgb(20 24 28 / .14); border-radius: 8px; color: var(--ink); font-size: 14px; font-weight: 600; }
.place-chips li a { display: inline-flex; align-items: center; gap: 5px; }
.place-chips .ic { width: 15px; height: 15px; flex: none; }
.place-chips .flag { width: 18px; height: 12px; margin-right: 1px; vertical-align: 0; }
.place-chips a { text-decoration: none; }
.place-chips a:hover { text-decoration: underline; }

.page { padding-top: 22px; padding-bottom: 50px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; font-size: 14px; color: var(--muted); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs .ic { width: 14px; height: 14px; }
.page-head { margin: 12px 0 16px; }
.head-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.lead { margin-top: 8px; color: var(--muted); max-width: 78ch; }
.kinds { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 14px; scrollbar-width: none; }
.kinds a { flex: none; padding: 7px 14px; border: 1px solid var(--line); background: var(--card); border-radius: 8px; text-decoration: none; font-weight: 500; font-size: 15px; }
.kinds a[aria-current] { background: var(--ink); border-color: var(--ink); color: #fff; }
.split { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 24px; align-items: start; }
.side-search { display: flex; gap: 6px; margin-bottom: 12px; }
.side-search input { flex: 1; min-width: 0; }
.facet { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; margin-bottom: 10px; }
.facet summary { cursor: pointer; font-weight: 600; }
.facet ul { list-style: none; margin: 8px 0 0; padding: 0; }
.facet a { display: flex; justify-content: space-between; gap: 8px; padding: 5px 7px; border-radius: 6px; text-decoration: none; font-size: 15px; }
.facet a:hover { background: var(--paper); }
.facet a[aria-current] { background: var(--mar-soft); font-weight: 600; }
.facet a span { color: var(--muted); }
.facet .sub a { padding-left: 18px; }
.flag { display: inline-block; flex: none; width: 24px; height: 16px; margin-right: 8px; vertical-align: -3px; border-radius: 3px; box-shadow: 0 0 0 1px rgb(20 24 28 / .18); overflow: hidden; }
.langmenu summary .flag { margin-right: 6px; }
.langmenu-panel a, .burger-langs a { display: flex; align-items: center; }
.lang-code { min-width: 30px; margin-right: 8px; font-weight: 700; }
.facet .country { margin-top: 8px; }
.facet .country a { padding: 8px; background: var(--paper); font-size: 16px; }
.facet .country b { display: flex; align-items: center; font-weight: 700; }
.facet .country a span { font-weight: 700; color: var(--ink); }
.places summary { font-weight: 700; }
.count { color: var(--muted); margin-bottom: 10px; }
.note { padding: 10px 14px; background: var(--mar-soft); color: #3f3200; border-radius: 8px; margin-bottom: 10px; }
.note-bad { background: var(--red-bg); color: var(--red); margin-top: 8px; margin-bottom: 0; }
.empty { background: var(--card); border: 1px dashed var(--line); border-radius: 10px; padding: 28px; display: grid; gap: 10px; justify-items: start; }
.empty-page { display: grid; gap: 16px; justify-items: start; padding-top: 60px; padding-bottom: 80px; }
.pager { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin-top: 24px; }
.pager-num, .pager-step { display: inline-flex; align-items: center; justify-content: center; min-width: 46px; min-height: 46px; padding: 0 14px; background: var(--card); border: 1px solid var(--line); border-radius: 10px; font-weight: 700; font-size: 16px; text-decoration: none; color: var(--ink); }
.pager-num:hover, .pager-step:hover { border-color: var(--ink); }
.pager-now { background: var(--ink); border-color: var(--ink); color: #fff; }
.pager-gap { color: var(--muted); }
.filters { display: flex; flex-wrap: wrap; align-items: end; gap: 10px; margin-bottom: 16px; }
.filters .grow { flex: 1 1 280px; }
.narrow-list { max-width: 860px; }

.detail { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 26px; align-items: start; margin-top: 14px; }
.detail-main { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 22px; min-width: 0; }
.detail-main h1 { margin-top: 10px; font-size: clamp(22px, 2.6vw, 29px); }
.detail-main .h3 { margin-top: 20px; margin-bottom: 8px; }
.detail-price { margin-top: 10px; font-size: 21px; font-weight: 700; color: var(--ink); }
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 8px; margin-top: 16px; }
.gallery img { width: 100%; border-radius: 8px; object-fit: cover; aspect-ratio: 4/3; }
.facts { margin: 18px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; }
.facts div { border-top: 1px solid var(--line); padding-top: 8px; }
.facts dt { font-size: 14px; color: var(--muted); }
.facts dd { margin: 0; font-weight: 500; overflow-wrap: anywhere; }
.prose { max-width: 72ch; overflow-wrap: anywhere; }
.prose p + p { margin-top: 12px; }
.detail-main > .muted { margin-top: 18px; font-size: 14px; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 18px; }
.detail-side { position: sticky; top: 84px; }
.panel-label { font-size: 14px; color: var(--muted); }
.panel .h3 a { text-decoration: none; }
.panel .h3 a:hover { text-decoration: underline; }
.verified { display: flex; align-items: center; gap: 6px; color: var(--green); font-weight: 600; margin-top: 6px; }
.contacts { display: grid; gap: 8px; margin-top: 14px; }
.contacts .btn { width: 100%; }

.nav-register { margin-left: auto; gap: 6px; color: var(--blue); }
.nav-register .ic { width: 18px; height: 18px; }
@media (max-width: 1320px) {
  .nav-register-text { display: none; }
}
.mainnav-in { gap: 2px 12px; }
.mainnav a:not(.catmenu-panel a) { font-size: 14px; }
.reg-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; padding: 16px 18px; margin-bottom: 18px; background: var(--mar-soft); border-radius: 10px; font-weight: 600; }
.company-head { display: flex; align-items: center; gap: 18px; margin: 10px 0 20px; }
.company-logo { width: 88px; height: 88px; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 6px; }
.company-logo-small { width: 60px; height: 60px; margin-top: 6px; }
.company-address { display: flex; gap: 6px; margin-top: 12px; }
.company-line { padding: 12px 14px; background: var(--card); border: 1px solid var(--line); border-radius: 10px; }
.company-panel { display: grid; gap: 8px; justify-items: start; margin-bottom: 12px; margin-top: 12px; }
.note-ok { background: var(--green-bg); color: var(--green); }
.media-fields { display: grid; gap: 12px; }
.media-video { width: 100%; max-height: 460px; margin-top: 16px; background: #000; border-radius: 10px; }
.media-frame { position: relative; aspect-ratio: 16 / 9; margin-top: 16px; }
.media-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: 10px; }
.media-badges { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 6px; font-size: 14px; font-weight: 600; color: var(--blue); }
.media-badges span { display: inline-flex; align-items: center; gap: 4px; }
.media-badges .ic { width: 16px; height: 16px; }
.dcard-img { display: block; width: 100%; aspect-ratio: 16 / 9; margin-bottom: 6px; overflow: hidden; border-radius: 8px; }
.pcard .dcard-img { aspect-ratio: 4 / 3; }
.dcard-img-empty { display: grid; place-items: center; background: var(--mar-soft); }
.dcard-img-empty .ic { width: 52px; height: 52px; color: var(--ink); opacity: .7; }
.dstats { display: grid; gap: 4px; width: 100%; margin: 6px 0 2px; padding: 0; list-style: none; }
.dstats li { display: flex; align-items: center; gap: 8px; font-size: 15px; }
.dstats .ic { width: 18px; height: 18px; flex: none; color: var(--muted); }
.dstats span { color: var(--muted); }
.dstats b { margin-left: auto; font-size: 16px; }
.dbrands { font-size: 15px; line-height: 1.4; overflow-wrap: anywhere; }
.form-group { display: grid; gap: 16px; }
.kind-card > .ic { box-sizing: border-box; width: 42px; height: 42px; padding: 8px; background: var(--mar); border-radius: 11px; color: var(--ink); }
.dstats .ic, .dbrands .ic, .dcard-label .ic, .dcard-cat .ic, .dcard-company .ic, .facts dt .ic, .info-list dt .ic, .req-note .ic, .panel-label .ic, .facet summary .ic, legend .ic, .place-chips .ic, .filter-box summary .ic { color: #e0a800; stroke-width: 2.2; }
.dstats .ic, .dbrands .ic, .dcard-cat .ic, .dcard-company .ic { width: 21px; height: 21px; }
.facts dt .ic, .info-list dt .ic, .req-note .ic { width: 21px; height: 21px; }
.dcard-label .ic, .panel-label .ic, .facet summary .ic, legend .ic { width: 20px; height: 20px; }
.place-chips .ic { width: 17px; height: 17px; color: #c99700; }
.sec { display: flex; align-items: center; gap: 9px; }
.sec-ic { display: inline-grid; flex: none; place-items: center; width: 40px; height: 40px; background: var(--mar); border-radius: 10px; color: var(--ink); }
.sec-ic .ic { width: 25px; height: 25px; }
.sec-big { display: flex; align-items: center; gap: 10px; }
.sec-big .sec-ic { width: 48px; height: 48px; border-radius: 12px; }
.sec-big .sec-ic .ic { width: 30px; height: 30px; }
.regions { margin-top: 18px; padding: 14px 16px; background: #fff9dc; border: 1px solid var(--mar); border-left-width: 5px; border-radius: 10px; }
.detail-main .regions .sec { margin-top: 0; }
.regions .place-chips { margin-top: 10px; gap: 8px; }
.regions .place-chips li { padding: 7px 12px; background: var(--card); font-size: 15px; }
.regions .place-chips a { text-decoration: none; }
.regions .place-chips li:hover { border-color: var(--ink); }
.dcard-company { display: flex; align-items: center; gap: 6px; }
.dcard-company .ic { width: 17px; height: 17px; flex: none; }
.dcard-cat { display: flex; align-items: center; gap: 6px; }
.dcard-cat .ic { width: 16px; height: 16px; flex: none; }
.dbrands { display: flex; gap: 6px; }
.dbrands .ic { width: 17px; height: 17px; flex: none; margin-top: 2px; color: var(--muted); }
.dstats li span { flex: 1; min-width: 0; }
.req-note { display: flex; gap: 8px; padding: 10px 12px; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; }
.req-note .ic { width: 18px; height: 18px; flex: none; margin-top: 2px; }
.detail-price { display: flex; align-items: center; gap: 8px; }
.login-box p { display: flex; gap: 8px; }
.login-box p .ic { width: 20px; height: 20px; flex: none; margin-top: 2px; }
.panel-label { display: flex; align-items: center; gap: 6px; }
.panel-label .ic { width: 16px; height: 16px; }
.info-list dt { display: flex; align-items: center; gap: 6px; }
.info-list dt .ic { width: 16px; height: 16px; flex: none; color: var(--ink); }
.panel-info .sec { margin-bottom: 4px; }
.facet summary .ic { width: 17px; height: 17px; margin-right: 6px; vertical-align: -3px; }
legend .ic { width: 18px; height: 18px; margin-right: 6px; vertical-align: -3px; }
.cs { position: relative; min-width: 0; }
.cs-native { position: absolute; width: 1px; height: 1px; margin: 0; padding: 0; border: 0; opacity: 0; pointer-events: none; }
.cs-ic { display: inline-grid; flex: none; place-items: center; width: 30px; height: 30px; margin-right: 9px; background: var(--mar); border-radius: 8px; color: var(--ink); }
.cs-ic .ic { width: 19px; height: 19px; }
.cs-btn .cs-ic { width: 28px; height: 28px; }
.cs-btn { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; min-height: 46px; padding: 8px 38px 8px 12px; background: var(--card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%2314181c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); font: inherit; font-size: 15px; font-weight: 600; text-align: left; cursor: pointer; transition: border-color .15s ease, box-shadow .15s ease; }
.cs-btn:hover { border-color: var(--ink); }
.cs-open .cs-btn { border-color: var(--ink); box-shadow: 0 0 0 3px var(--mar-soft); }
.cs-label { display: flex; align-items: center; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.cs-panel { display: none; position: absolute; top: calc(100% + 6px); left: 0; z-index: 60; width: 100%; min-width: 240px; max-height: 340px; overflow-y: auto; padding: 6px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 16px 36px rgb(20 24 28 / .18); }
.cs-open .cs-panel { display: block; }
.cs-item { display: flex; align-items: center; width: 100%; min-height: 44px; padding: 7px 10px; background: none; border: 0; border-radius: 8px; color: var(--ink); font: inherit; font-size: 15px; text-align: left; cursor: pointer; }
.cs-item:hover, .cs-item:focus-visible { background: var(--paper); outline: none; }
.cs-item[aria-selected="true"] { background: var(--mar-soft); font-weight: 700; }
.cs-main { margin-top: 4px; font-weight: 700; }
.cs-sub { padding-left: 26px; }
.cs-group { margin: 8px 10px 4px; color: var(--muted); font-size: 14px; font-weight: 700; }
.filter-checks .check { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 6px 12px; background: var(--card); border: 1px solid var(--line); border-radius: 999px; font-size: 15px; cursor: pointer; transition: background .15s ease, border-color .15s ease; }
.filter-checks .check:hover { border-color: var(--ink); }
.filter-checks .check:has(input:checked) { background: var(--mar-soft); border-color: var(--ink); font-weight: 700; }
.filter-checks .check input { accent-color: var(--ink); }
.filter-box { box-shadow: 0 6px 20px rgb(20 24 28 / .05); }
.filter-actions .btn { min-height: 44px; padding-inline: 22px; }
.side-filter .filter-checks .check { display: flex; border-radius: 10px; }
.ad { position: relative; display: block; margin-top: 14px; overflow: hidden; background: var(--card); border: 1px solid var(--line); border-radius: 12px; }
.ad-label { position: absolute; top: 8px; right: 8px; z-index: 1; padding: 2px 8px; background: rgb(20 24 28 / .75); border-radius: 6px; color: #fff; font-size: 14px; }
.ad a { display: block; }
.ad-media { display: block; width: 100%; max-height: 260px; object-fit: contain; background: #eef1f3; }
.ad-media-link { display: block; height: 100%; }
.ad-rich { display: grid; grid-template-columns: minmax(0, 1fr); background: var(--ink); color: #fff; }
.ad-rich-media { grid-template-columns: minmax(0, 1fr) minmax(0, 420px); }
.ad-info { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; padding: 18px 90px 18px 20px; min-height: 96px; }
.ad-rich-media .ad-info { padding-right: 20px; }
.ad-logo { flex: none; width: auto; max-width: 280px; height: 76px; padding: 8px 12px; object-fit: contain; background: #fff; border-radius: 10px; }
.ad-words { flex: 1 1 200px; min-width: 0; }
.ad-words b { font-size: 22px; }
.ad-words p { margin-top: 2px; font-size: 16px; }
.ad-info .btn { display: inline-flex; flex: none; }
.ad-side { min-width: 0; background: #0b0e11; }
.ad-side .ad-media { height: 100%; max-height: 240px; object-fit: cover; background: #0b0e11; }
.ad-preview { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 8px; }
.ad-preview img, .ad-preview video { border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.detail-side .ad-rich-media { grid-template-columns: minmax(0, 1fr); }
.detail-side .ad-info { padding: 34px 16px 16px; }
.detail-side .ad-side { order: -1; }
.ad-list { margin: 0 0 14px; }

.back-row { padding-top: 14px; }
.back-btn { min-height: 44px; padding: 8px 16px; font-size: 15px; font-weight: 700; }
.back-btn .ic { width: 18px; height: 18px; }
.back-btn:hover .ic { transform: translateX(-3px); }
.back-row + .page { padding-top: 12px; }
.req-note { margin-top: 12px; white-space: pre-line; overflow-wrap: anywhere; }
.head-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.section-filter { padding-top: 18px; }
.filter-box { margin-bottom: 0; padding: 12px 14px; }
.filter-box summary { display: flex; align-items: center; gap: 8px; font-size: 16px; }
.filter-box .filters { margin: 12px 0 2px; }
.filter-box .filters .field { flex: 1 1 190px; }
.filter-checks { display: flex; flex: 1 1 100%; flex-wrap: wrap; gap: 8px 16px; }
.filter-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.side-filter { display: grid; gap: 10px; margin-top: 10px; }
.side-filter .filter-checks { display: grid; gap: 6px; }
.side-filter .filter-actions .btn { flex: 1; justify-content: center; }
.search-q { margin-bottom: 12px; max-width: 760px; }
.more-row { display: flex; justify-content: center; margin-top: 20px; }
.more-row .btn { min-width: 280px; justify-content: center; }
.mpanel { display: grid; gap: 10px; margin-top: 14px; }
.mpanel-main { overflow: hidden; aspect-ratio: 16 / 10; background: var(--mar-soft); border-radius: 12px; }
.mpanel-main img, .mpanel-main video { display: block; width: 100%; height: 100%; object-fit: contain; background: #eef1f3; }
.mpanel-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; height: 100%; color: var(--ink); font-weight: 600; }
.mpanel-empty .ic { width: 64px; height: 64px; opacity: .7; }
.mpanel-thumbs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 2px; }
.mpanel-thumb { flex: none; width: 96px; height: 72px; padding: 0; overflow: hidden; background: var(--card); border: 2px solid var(--line); border-radius: 8px; cursor: pointer; }
.mpanel-thumb.is-on { border-color: var(--ink); }
.mpanel-thumb img { width: 100%; height: 100%; object-fit: cover; }
.mpanel-thumb-video { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 14px; font-weight: 700; }
.login-box { display: grid; gap: 10px; margin-top: 16px; padding: 14px; background: var(--mar-soft); border-radius: 10px; }
.login-box p { font-weight: 600; }
.login-box .btn { justify-content: center; }
.panel-info { margin-top: 12px; }
.info-list { display: grid; gap: 8px; margin: 8px 0 0; }
.info-list div { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 8px; border-bottom: 1px solid var(--line); font-size: 15px; }
.info-list div:last-child { border-bottom: 0; padding-bottom: 0; }
.info-list dt { color: var(--muted); }
.info-list dd { margin: 0; font-weight: 600; text-align: right; overflow-wrap: anywhere; }
.dcards-2col { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.offer-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; padding: 14px 16px; background: var(--mar-soft); border-radius: 10px; }
.offer-cta p { font-size: 16px; font-weight: 600; }
.field > span[hidden], .form [hidden] { display: none !important; }
.dcard-img img { width: 100%; height: 100%; object-fit: cover; }
.form-page { max-width: 880px; }
.form { display: grid; gap: 16px; margin-top: 16px; }
.field { display: grid; gap: 5px; min-width: 0; }
.field > span { font-weight: 600; font-size: 15px; }
.field small, .price small { color: var(--muted); font-size: 14px; }
input, select, textarea { font: inherit; color: var(--ink); background: #fff; border: 1px solid #a9bac1; border-radius: 8px; padding: 9px 11px; min-height: 44px; width: 100%; max-width: 100%; }
input[type="checkbox"], input[type="radio"] { width: 18px; height: 18px; min-height: 0; accent-color: var(--ink); flex: none; }
input[type="file"] { padding: 8px; }
textarea { resize: vertical; }
fieldset { border: 1px solid var(--line); border-radius: 10px; margin: 0; padding: 14px; min-width: 0; background: var(--card); }
legend { font-weight: 600; padding: 0 6px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.four { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 6px; }
.kind-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 10px; }
.kind-opt { cursor: pointer; }
.kind-opt input { position: absolute; opacity: 0; }
.kind-card { display: grid; gap: 4px; align-content: start; padding: 12px; border: 2px solid var(--line); border-radius: 10px; height: 100%; }
.kind-card .ic { color: var(--blue); }
.kind-card small { color: var(--muted); font-size: 14px; line-height: 1.35; }
.kind-opt input:checked + .kind-card { border-color: var(--ink); background: var(--mar-soft); }
.kind-opt input:focus-visible + .kind-card { outline: 3px solid var(--mar-deep); outline-offset: 2px; }
.places summary { cursor: pointer; font-weight: 500; padding: 5px 0; }
.checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 6px; padding: 4px 0 8px; }
.checks-row { display: flex; flex-wrap: wrap; gap: 18px; }
.check { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.login { max-width: 560px; display: grid; gap: 14px; justify-items: start; padding-top: 48px; padding-bottom: 80px; }

.mine { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px 22px; background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 16px; margin-bottom: 10px; }
.mine .h3 { margin-top: 6px; }
.mine .h3 a { text-decoration: none; }
.mine-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; align-items: end; }
.stats { display: grid; grid-template-columns: repeat(7, auto); gap: 8px 16px; margin: 0; align-content: start; }
.stats dt { font-size: 14px; color: var(--muted); }
.stats dd { margin: 0; font: 800 19px/1.2 var(--body); }
.status { padding: 2px 8px; border-radius: 5px; font-size: 14px; font-weight: 600; background: #e7ebed; color: #38505b; }
.status-active { background: var(--green-bg); color: var(--green); }
.status-rejected { background: var(--red-bg); color: var(--red); }
.status-pending { background: #fdeac0; color: #6a4b00; }

.directions { margin-bottom: 32px; }
.directions h2 a { text-decoration: none; }
.directions h2 a:hover { text-decoration: underline; }
.directions h3 { margin: 14px 0 8px; font-size: 16px; color: var(--muted); }
.direction-links { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.direction-links a { display: inline-flex; gap: 8px; padding: 7px 11px; background: var(--card); border: 1px solid var(--line); border-radius: 8px; text-decoration: none; font-size: 15px; }
.direction-links a:hover { border-color: var(--ink); }
.direction-links span { color: var(--muted); }
.reading { max-width: 780px; }
.reading .prose { margin-top: 20px; font-size: 17px; }

.foot { background: var(--ink); color: #d6dadd; padding: 36px 0; }
.foot-in { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 28px; }
.foot a { display: block; padding: 4px 0; color: #fff; text-decoration: none; font-size: 15px; }
.foot a:hover { text-decoration: underline; }
.logo-foot { color: #fff; margin-bottom: 12px; --logo-bg: var(--ink); }
.foot-note { margin-top: 10px; font-size: 14px; max-width: 52ch; }

.admin-nav { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-left: auto; }
.admin-nav a { text-decoration: none; font-weight: 500; font-size: 15px; }
.admin-nav a:hover { text-decoration: underline; }
.admin h1 { margin-bottom: 16px; }
.admin h2 { margin: 24px 0 12px; }
.kpis { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.kpi { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 14px; text-decoration: none; display: grid; gap: 4px; }
.kpi span { color: var(--muted); font-size: 14px; }
.kpi b { font: 800 26px/1.1 var(--body); }
.table-wrap { overflow-x: auto; background: var(--card); border: 1px solid var(--line); border-radius: 10px; margin-top: 12px; }
.table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table th, .table td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.admin-body { margin-top: 8px; white-space: pre-wrap; overflow-wrap: anywhere; }
.admin-images { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.admin-images img { width: 110px; height: 110px; object-fit: cover; border-radius: 6px; }
.reject { display: flex; gap: 8px; align-items: end; flex: 1 1 320px; }
.reject .field { flex: 1; }
.login-admin { max-width: 380px; }
.mini { display: grid; place-items: center; min-height: 100vh; }

.detail-cta { display: none; }
@media (max-width: 1120px) {
  .burger { display: block; }
  .mainnav-in > a { display: none !important; }
  .mainnav-in { min-height: 0; padding-top: 7px; padding-bottom: 7px; }
  .catmenu-panel { grid-template-columns: 1fr; max-height: 70vh; overflow-y: auto; }
  .catmenu-panel > div:first-child { columns: 1; }
  .top-in { gap: 10px; }
}
@media (max-width: 1120px) {
  .cat-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding-bottom: 8px; }
  .cat-strip a { min-height: 84px; padding: 10px 4px; }
}
@media (max-width: 960px) {
  .intro-in { grid-template-columns: minmax(0, 1fr); gap: 16px; padding-top: 20px; padding-bottom: 20px; }
  .doors { grid-template-columns: minmax(0, 1fr); }
  .door { justify-content: flex-start; padding: 26px 20px 28px; }
  .door-offer .door-in, .door-need .door-in { padding: 0; }
  .door-in { width: 100%; }
  .dcards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mapband-in { grid-template-columns: minmax(0, 1fr); gap: 26px; padding-top: 32px; padding-bottom: 32px; }
  .board, .detail, .split { grid-template-columns: minmax(0, 1fr); }
  .detail-side { position: static; }
  .foot-in { grid-template-columns: 1fr 1fr; }
  .foot-in > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .wrap { padding-inline: 16px; }
  .top-right .langmenu { display: none; }
  .top-search { display: none; }
  .burger-langs { display: grid; grid-template-columns: 1fr 1fr; }
  .top-in { min-height: 58px; }
  .logo { font-size: 19px; gap: 5px; }
  .logo-tag { padding: 6px 9px 6px 20px; }
  .logo-tag::before { left: 9px; width: 6px; height: 6px; margin-top: -3px; }
  .ad-info { padding-top: 42px; }
  .door { padding-left: 16px; padding-right: 16px; }
  .dcards, .dcards-3, .dcards-2col { grid-template-columns: minmax(0, 1fr); }
  .top-link span { display: none; }
  .top-cta { padding: 8px 11px; }
  .top-cta span { display: none; }
  .dmap-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .row { grid-template-columns: 84px minmax(0, 1fr); gap: 12px; }
  .row-thumb { width: 84px; height: 84px; }
  .two, .three { grid-template-columns: minmax(0, 1fr); }
  .four { grid-template-columns: 1fr 1fr; }
  .mine { grid-template-columns: minmax(0, 1fr); }
  .stats { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .hero-search { flex-wrap: wrap; padding: 8px; }
  .hero-search input { flex: 1 1 70%; }
  .hero-search .btn { width: 100%; }
  .reject { flex-wrap: wrap; }
}

/* Motion: icons respond, surfaces lift, pages cross-fade. All of it is off for reduced-motion users. */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root), ::view-transition-new(root) { animation-duration: .22s; }
  .top { view-transition-name: site-header; }
}
.btn, .dcard, .row, .cat, .cat-strip a, .dealer, .kpi, .tile, .door-more, .facet a, .kinds a, .direction-links a, .langmenu summary, .burger summary, .kind-card {
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, border-color .18s ease, color .18s ease;
}
.ic { transition: transform .22s ease; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgb(20 24 28 / .16); }
.btn:active { transform: translateY(0) scale(.98); }
.dcard:hover, .row:hover, .dealer:hover, .kpi:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgb(20 24 28 / .1); }
.cat:hover, .cat-strip a:hover, .direction-links a:hover { transform: translateY(-2px); }
.tile:hover { transform: translateY(-2px); }
.tile:hover .ic { transform: translateX(3px); }
.btn:hover .ic[data-i="plus"], a:hover > .ic[data-i="plus"] { transform: rotate(90deg); }
a:hover > .ic[data-i="arrow-right"], .btn:hover .ic[data-i="arrow-right"] { transform: translateX(4px); }
.btn:hover .ic[data-i="search"], form:focus-within > .ic[data-i="search"] { transform: scale(1.15); }
.langmenu[open] summary .ic, .langmenu summary:hover .ic { transform: rotate(25deg); }
.top-link:hover .ic { transform: translateY(-2px); }
.cat:hover .ic, .cat-strip a:hover .ic { animation: icon-wiggle .55s ease; }
.row:hover .thumb-empty .ic { animation: icon-float .7s ease; }
.row-thumb img { transition: transform .35s ease; }
.row:hover .row-thumb img { transform: scale(1.05); }
.row-thumb { overflow: hidden; }
@keyframes icon-wiggle {
  0%, 100% { transform: rotate(0) scale(1); }
  25% { transform: rotate(-12deg) scale(1.12); }
  55% { transform: rotate(9deg) scale(1.12); }
  80% { transform: rotate(-4deg) scale(1.04); }
}
@keyframes icon-float {
  0%, 100% { transform: translateY(0) scale(1); }
  45% { transform: translateY(-7px) scale(1.12); }
}
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .42s ease, transform .42s ease; transition-delay: var(--reveal-delay, 0ms); }
.reveal.in { opacity: 1; transform: none; }
.langmenu[open] .langmenu-panel, .burger[open] .burger-panel { animation: panel-in .16s ease; }
@keyframes panel-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.flash { animation: panel-in .25s ease; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* On phones the contact panel sits far below the requirements, so a button stays in reach while reading. */
@media (max-width: 720px) {
  .ad-rich-media { grid-template-columns: minmax(0, 1fr); }
  .ad-side { order: -1; }
  .ad-info { padding: 16px; }
  .ad-label { z-index: 2; }
}
@media (max-width: 960px) {
  .detail-cta { display: inline-flex; position: sticky; bottom: 12px; z-index: 5; width: 100%; justify-content: center; order: 99; box-shadow: 0 6px 18px rgb(20 24 28 / .18); }
}

/* Wide screens use their width: more cards in a row instead of empty sides.
   The home page shows full rows only: two rows in the main sections, one in the wholesale ones. */
.dcards-two > :nth-child(n+9), .dcards-one > :nth-child(n+5) { display: none; }
@media (min-width: 1700px) {
  .dcards { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .dcards-3 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .dcards-2col { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .detail { grid-template-columns: minmax(0, 1fr) 390px; }
  .split { grid-template-columns: 300px minmax(0, 1fr); }
  .dcards-two > :nth-child(n+9) { display: flex; }
  .dcards-two > :nth-child(n+11), .dcards-one > :nth-child(n+6) { display: none; }
  .dcards-one > :nth-child(5) { display: flex; }
}
@media (min-width: 2050px) {
  .dcards { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .dcards-3 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .dcards-two > :nth-child(n+11) { display: flex; }
  .dcards-one > :nth-child(6) { display: flex; }
}

/* Place for the SalesGO logo in a banner. The logo's own styles live untouched in salesgo-logo.css. */
.sg-tile { flex: none; }
.sg-tile .lgn-logo { margin: 0; }
.sg-tile .sg-sub { font-family: Manrope, sans-serif; }
@media (max-width: 420px) { .sg-tile { zoom: .82; } }

/* The SalesGO ad wears the colours of its own logo, which needs a light background. */
.ad-sg { --sg-navy: #0b2a5e; --sg-green: #178a3e; background: #fff; border-color: #cfdbe6; box-shadow: 0 6px 20px rgb(11 42 94 / .07); }
.ad-sg .ad-label { background: #eaf0f5; color: #33475b; }
.ad-sg .ad-rich { background: #fff; color: var(--sg-navy); }
.ad-sg .ad-info { display: grid; grid-template-columns: auto minmax(240px, 1fr) minmax(0, 1.25fr) auto; gap: 16px 36px; padding: 22px 28px; }
.ad-sg .ad-words b { display: block; font-size: 26px; line-height: 1.2; color: var(--sg-navy); }
.ad-sg .ad-words p { margin-top: 6px; color: #33475b; }
.sg-gains { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; margin: 0; padding: 0; list-style: none; }
.sg-gains li { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; line-height: 1.3; color: var(--sg-navy); }
.sg-gains .ic { flex: none; box-sizing: border-box; width: 36px; height: 36px; padding: 7px; background: #e6f6ec; border-radius: 10px; color: var(--sg-green); }
.ad-info .sg-cta { min-height: 48px; padding-inline: 22px; background: var(--sg-navy); border-color: var(--sg-navy); color: #fff; }
.ad-info .sg-cta:hover { background: #123a7d; border-color: #123a7d; color: #fff; }
.ad-sg .ad-rich-media .ad-info { grid-template-columns: auto minmax(0, 1fr); }
.ad-sg .ad-rich-media .sg-gains { grid-column: 1 / -1; }
.ad-sg .ad-side { background: #fff; }
@media (max-width: 1500px) {
  .ad-sg .ad-info { grid-template-columns: auto minmax(0, 1fr) auto; }
  .ad-sg .sg-gains { grid-column: 1 / -1; grid-row: 2; grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 1000px) {
  .ad-sg .ad-info { grid-template-columns: minmax(0, 1fr); padding: 42px 18px 18px; }
  .ad-sg .sg-gains { grid-column: auto; grid-row: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ad-info .sg-cta { justify-content: center; }
}
@media (max-width: 560px) { .ad-sg .sg-gains { grid-template-columns: minmax(0, 1fr); } }
.detail-side .ad-sg .ad-info { grid-template-columns: minmax(0, 1fr); padding: 42px 16px 16px; }
.detail-side .ad-sg .sg-gains { grid-column: auto; grid-row: auto; grid-template-columns: minmax(0, 1fr); }
.detail-side .sg-tile { zoom: .82; }

/* Admin panel: the same screen in a browser and in the Telegram Mini App. */
.admin .top { position: static; }
.admin .top-in { gap: 12px; min-height: 60px; }
.admin-top-end { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.admin-top-end .btn { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding-inline: 12px; font-size: 14px; }
.admin-top-end .ic { width: 18px; height: 18px; }
.admin-tabs { position: sticky; top: 0; z-index: 9; background: var(--card); border-bottom: 1px solid var(--line); box-shadow: 0 4px 12px rgb(20 24 28 / .05); }
.admin-tabs-in { display: flex; gap: 6px; padding-block: 8px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.admin-tabs-in::-webkit-scrollbar { display: none; }
.admin-tabs a { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 14px; border-radius: 10px; font-size: 15px; font-weight: 600; color: var(--ink); text-decoration: none; }
.admin-tabs a:hover { background: var(--mar-soft); }
.admin-tabs .ic { width: 20px; height: 20px; color: #e0a800; }
.admin-tabs a[aria-current] { background: var(--ink); color: #fff; }
.admin-tabs a[aria-current] .ic { color: var(--mar); }
.admin h1 { margin-top: 4px; }
.kpi { align-content: start; gap: 6px; }
.kpi-ic { display: grid; place-items: center; width: 40px; height: 40px; background: var(--mar-soft); border-radius: 10px; font-style: normal; }
.kpi-ic .ic { width: 22px; height: 22px; color: #b98c00; }
.kpi span { line-height: 1.3; }
.kpi-hot { background: #fff8d6; border-color: var(--mar); }
.kpi-hot .kpi-ic { background: var(--mar); }
.kpi-hot .kpi-ic .ic { color: var(--ink); }
@media (max-width: 720px) {
  .admin .page { padding-top: 14px; }
  .admin h1 { font-size: 26px; margin-bottom: 8px; }
  .admin h2:not(.h3) { font-size: 18px; margin: 18px 0 8px; }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .kpi { padding: 12px; }
  .admin .table-wrap { overflow: visible; background: none; border: 0; }
  .admin .table, .admin .table tbody, .admin .table tr, .admin .table td { display: block; width: 100%; }
  .admin .table thead { display: none; }
  .admin .table tr { margin-bottom: 8px; padding: 6px 12px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; }
  .admin .table td { padding: 8px 0; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
  .admin .table td:last-child { border-bottom: 0; }
  .admin .table td:empty { display: none; }
  .admin .table td[data-label]::before { content: attr(data-label); display: block; font-size: 14px; color: var(--muted); }
  .admin .table td p { margin: 0 0 6px; }
  .admin .mine-actions .btn, .admin .head-actions .btn, .admin .form > .btn { width: 100%; justify-content: center; }
  .admin .head-actions { display: flex; flex-direction: column; gap: 8px; }
  .admin .head-actions form { width: 100%; }
  .admin .mine-actions form { width: 100%; }
  .admin .admin-images img { width: 88px; height: 88px; }
}

/* Several choices in one dropdown, looking like the single-choice ones. */
.cs-multi summary { list-style: none; cursor: pointer; }
.cs-multi summary::-webkit-details-marker { display: none; }
.cs-multi[open] .cs-btn { border-color: var(--ink); box-shadow: 0 0 0 3px var(--mar-soft); }
.cs-multi[open] .cs-panel { display: block; }
.cs-multi .cs-item { gap: 0; cursor: pointer; }
.cs-multi .cs-item input { flex: none; width: 18px; height: 18px; margin: 0 10px 0 0; accent-color: var(--ink); }
.cs-multi .cs-item:has(input:checked) { background: var(--mar-soft); font-weight: 700; }
.cs-multi-text { overflow: hidden; text-overflow: ellipsis; }
.filter-more { min-width: 0; }

.legal-agree { margin: 4px 0 10px; color: var(--muted); font-size: 14px; }
.legal-agree a { color: inherit; text-decoration: underline; }
.prose .prose-h { margin: 26px 0 8px; font: 800 20px/1.3 var(--body); }
.verify-howto { margin-bottom: 14px; }
.verify-howto ol { margin: 8px 0 0; padding-left: 20px; }
.verify-howto li + li { margin-top: 4px; }

.switch { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; cursor: pointer; }
.switch input { position: absolute; opacity: 0; }
.switch i { flex: none; position: relative; width: 56px; height: 32px; background: #c7ced4; border-radius: 99px; transition: background .2s; }
.switch i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 26px; height: 26px; background: #fff; border-radius: 50%; box-shadow: 0 1px 3px rgb(20 24 28 / .3); transition: transform .2s; }
.switch input:checked + i { background: #1a9a42; }
.switch input:checked + i::after { transform: translateX(24px); }
.switch input:focus-visible + i { outline: 3px solid var(--mar); outline-offset: 2px; }
.switch b { display: block; font-size: 17px; }
.switch small { display: block; color: var(--muted); font-size: 14px; }
.subscribe-box { max-width: 560px; margin: 24px auto; }
.subscribe-actions { display: grid; gap: 10px; margin-top: 16px; }
.subscribe-actions .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }

.filepick { position: relative; display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 6px; background: var(--card); border: 1px solid var(--line); border-radius: 10px; cursor: pointer; }
.filepick:hover { border-color: var(--ink); }
.filepick:focus-within { border-color: var(--ink); box-shadow: 0 0 0 3px var(--mar-soft); }
.filepick input[type="file"] { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0; opacity: 0; cursor: pointer; }
.filepick-btn { flex: none; padding: 8px 14px; background: var(--mar); border-radius: 8px; color: var(--ink); font-size: 15px; font-weight: 700; }
.filepick-name { min-width: 0; overflow: hidden; color: var(--muted); font-size: 15px; font-weight: 400; white-space: nowrap; text-overflow: ellipsis; }
.place-other { margin: 8px 0 12px; }

/* The new listing form: choices in one row, uploads in one block. */
.kind-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }
.kind-card > .ic { color: var(--ink); }
.media-fields { display: grid; gap: 14px; }
@media (max-width: 560px) { .kind-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.verify-howto .h3 { margin-top: 0; }
@media (max-width: 480px) {
  .admin .logo { zoom: .85; }
  .admin-top-end { gap: 6px; }
  .admin-top-end .btn { gap: 0; padding-inline: 10px; font-size: 0; }
  .admin-top-end .ic { width: 20px; height: 20px; }
}

.foot nav a { display: flex; align-items: center; gap: 10px; }
.foot .ic { flex: none; width: 18px; height: 18px; color: var(--mar); }
.foot .foot-legal a { display: inline-flex; align-items: center; gap: 6px; }
.foot .foot-legal .ic { width: 16px; height: 16px; }

/* Five filters share a row: long names must still fit. */
@media (min-width: 1000px) and (max-width: 1500px) {
  .filter-box .cs-btn { padding-right: 28px; font-size: 14px; }
  .filter-box .cs-btn .cs-ic { margin-right: 6px; }
}

.home-empty { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; padding: 20px; background: var(--card); border: 1px dashed var(--line); border-radius: 12px; }
.home-empty p { flex: 1 1 220px; margin: 0; font-size: 16px; font-weight: 600; }
.home-empty .btn { display: inline-flex; align-items: center; gap: 6px; }

.dmap .tile.is-picked { outline: 2px solid var(--mar); outline-offset: 1px; }
.dmap-regions { margin-top: 14px; }
.dmap-regions[hidden] { display: none; }
.dmap-regions .dmap-label { display: flex; align-items: center; gap: 6px; }
.dmap-all { display: inline-flex; align-items: center; gap: 4px; margin-left: auto; color: var(--mar); font-size: 14px; text-decoration: none; }
.dmap-all .ic { width: 16px; height: 16px; }

.cab-user { margin-bottom: 14px; }
.cab-user .sec { margin: 0 0 12px; }
.cab-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0 0 14px; padding: 0; list-style: none; }
.cab-steps li { display: grid; gap: 10px; align-content: start; justify-items: start; padding: 18px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; }
.cab-steps li.is-next { background: #fff8d6; border-color: var(--mar); }
.cab-steps p { margin: 0; font-weight: 600; }
@media (max-width: 720px) { .cab-steps { grid-template-columns: minmax(0, 1fr); } }

/* The map page gives the map the whole width of the screen. */
.map-wide, .map-wide .dmap { width: 100%; max-width: none; }
.map-wide .dmap-grid { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }

.bal-now { display: flex; align-items: center; gap: 14px; margin: 14px 0; }
.bal-now small { display: block; color: var(--muted); font-size: 14px; }
.bal-now b { font: 800 28px/1.1 var(--body); }
.bal-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.bal-plans form { display: grid; gap: 8px; justify-items: start; }
.bal-plans p { margin: 0; font-size: 18px; font-weight: 700; }
.bal-plus { color: var(--green); }
.bal-minus { color: var(--red); }
.bal-adjust { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.bal-adjust input { flex: 1 1 90px; min-width: 0; }
.bal-adjust .btn { min-width: 40px; padding-inline: 10px; }
.free-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 14px 0 0; padding: 14px 18px; background: #e6f6ec; border: 1px solid #a9dfbb; border-radius: 12px; font-size: 17px; font-weight: 700; color: #125c2a; }
.free-strip .ic { width: 22px; height: 22px; }
.free-strip .btn { margin-left: auto; }

/* 21 languages: two columns on a screen, and the list scrolls if it is taller than the window. */
.langmenu-panel { width: 340px; grid-template-columns: repeat(2, minmax(0, 1fr)); max-height: 75vh; overflow-y: auto; }
@media (max-width: 480px) { .langmenu-panel { width: min(290px, calc(100vw - 32px)); } }

/* Arabic and Persian read right to left. */
[dir="rtl"] .langmenu-panel { right: auto; left: 0; }
[dir="rtl"] .cs-btn { padding: 8px 12px 8px 38px; background-position: left 12px center; }
[dir="rtl"] .cs-ic { margin-right: 0; margin-left: 9px; }
[dir="rtl"] .cs-panel { left: auto; right: 0; }
[dir="rtl"] .ad-label { right: auto; left: 8px; }
[dir="rtl"] .ic[data-i="arrow-right"], [dir="rtl"] .ic[data-i="arrow-left"], [dir="rtl"] .ic[data-i="chevron-right"] { transform: scaleX(-1); }
[dir="rtl"] .free-strip .btn, [dir="rtl"] .admin-top-end, [dir="rtl"] .dmap-all { margin-left: 0; margin-right: auto; }
[dir="rtl"] .cs-sub { padding-left: 10px; padding-right: 26px; }
[dir="rtl"] body { text-align: right; }
[dir="rtl"] .skip { left: auto; right: -999px; }
[dir="rtl"] .skip:focus { left: auto; right: 8px; }
