/* ============================================================
   Агрегатор раков — светлая дизайн-система
   ============================================================ */
:root {
  --bg: #fff;
  --surface: #f8f6f4;
  --surface-strong: #fff;
  --border: #eee8e4;
  --text: #1a1a2e;
  --muted: #6b7280;
  --accent: #e85d3a;
  --accent-hover: #c94a2a;
  --accent-light: #fde8e3;
  --sea: #2a9d8f;
  --sea-light: #e6f4f2;
  --success: #10b981;
  --shadow: 0 12px 32px rgba(0, 0, 0, .06);
  --radius: 16px;
  --font: Inter, system-ui, -apple-system, sans-serif;
  --container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--bg); color: var(--text); line-height: 1.5; min-height: 100vh; display: flex; flex-direction: column; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }
button, input, select, textarea { font: inherit; }
button, a, select, input, summary { outline-color: var(--accent); outline-offset: 3px; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }

/* Header */
.header { background: rgba(255,255,255,.94); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; backdrop-filter: blur(12px); }
.header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 800; font-size: 1.15rem; letter-spacing: -.03em; }
.logo:hover { color: var(--accent); }
.logo__img { width: 38px; height: 38px; object-fit: contain; border-radius: 10px; }
.nav { display: none; gap: 28px; align-items: center; }
.nav a { color: var(--muted); font-size: .92rem; font-weight: 600; }
.nav a:hover { color: var(--text); }
.nav__phone { color: var(--text) !important; }
.burger { display: flex; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px 0 8px 8px; }
.burger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; }
@media (min-width: 768px) { .nav { display: flex; } .burger { display: none; } }

/* Hero */
.hero { overflow: hidden; background: linear-gradient(135deg, #fff 12%, #f8f6f4 100%); }
.hero__grid { min-height: 610px; display: grid; align-items: center; position: relative; padding-top: 62px; padding-bottom: 62px; }
.hero__content { position: relative; z-index: 1; max-width: 700px; }
.eyebrow { display: flex; align-items: center; gap: 8px; color: var(--sea); font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; }
.eyebrow__dot { width: 8px; height: 8px; background: var(--sea); border-radius: 50%; }
.hero h1 { max-width: 680px; font-size: clamp(2.35rem, 5vw, 4.25rem); line-height: 1.06; letter-spacing: -.055em; margin-bottom: 22px; }
.hero h1 span { color: var(--accent); }
.hero__lead { max-width: 580px; color: var(--muted); font-size: 1.08rem; line-height: 1.7; margin-bottom: 30px; }
.home-search { display: grid; grid-template-columns: 1fr; gap: 10px; max-width: 670px; padding: 10px; background: var(--surface-strong); border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow); }
.home-search__field { min-width: 0; padding: 5px 12px; border-bottom: 1px solid var(--border); }
.home-search__label { display: block; color: var(--muted); font-size: .72rem; font-weight: 600; margin-bottom: 2px; }
.home-search__control { display: flex; align-items: center; gap: 8px; }
.home-search__control svg { width: 19px; height: 19px; flex: 0 0 auto; fill: none; stroke: var(--sea); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.home-search select { width: 100%; min-width: 0; border: 0; background: transparent; color: var(--text); font-size: .92rem; cursor: pointer; }
.home-search select:focus { outline: 0; }
.home-search__submit { width: 100%; min-height: 52px; }
.popular-cities { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; margin-top: 18px; color: var(--muted); font-size: .83rem; }
.popular-cities a { color: var(--text); font-weight: 600; border-bottom: 1px solid #d9d2ce; }
.hero__art { display: none; }
@media (min-width: 760px) {
  .home-search { grid-template-columns: 1fr 1fr auto; align-items: center; gap: 0; }
  .home-search__field { border-bottom: 0; border-right: 1px solid var(--border); }
  .home-search__submit { width: auto; margin-left: 10px; }
}
@media (min-width: 980px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr) 450px; }
  .hero__art { display: block; position: relative; height: 440px; }
  .hero__circle { position: absolute; top: 5px; left: 50%; width: 430px; height: 430px; transform: translateX(-50%); background: var(--accent-light); border-radius: 50%; }
  .hero__circle::after { content: ''; position: absolute; width: 130px; height: 130px; right: -12px; top: 24px; border-radius: 50%; background: var(--sea-light); }
  .hero__crayfish { position: absolute; top: 40px; left: 50%; width: 430px; height: 360px; object-fit: cover; border-radius: 22px; transform: translateX(-50%) rotate(-5deg); }
  .hero__note { position: absolute; right: 0; bottom: 12px; padding: 14px 18px; background: var(--surface-strong); border-radius: 12px; box-shadow: var(--shadow); color: var(--muted); font-size: .78rem; line-height: 1.3; }
  .hero__note strong { color: var(--text); font-size: .9rem; }
}

/* Sections */
.section { padding: 76px 0; }
.section--benefits { background: var(--surface); }
.section--featured { background: var(--bg); }
.section--cities { background: var(--surface); padding-top: 66px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
.section-title { font-size: clamp(1.75rem, 3vw, 2.2rem); line-height: 1.15; letter-spacing: -.04em; }
.section-heading__text { max-width: 350px; color: var(--muted); font-size: .92rem; }
.section-link { color: var(--accent); font-size: .9rem; font-weight: 700; white-space: nowrap; }
.section-link span { font-size: 1.15rem; margin-left: 5px; }
@media (max-width: 600px) { .section-heading { display: block; } .section-heading__text { margin-top: 12px; } }

/* Benefits */
.features { display: grid; grid-template-columns: 1fr; gap: 12px; }
.feature { padding: 24px 20px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); transition: transform .2s, box-shadow .2s; }
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.feature__icon { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 20px; background: var(--accent-light); border-radius: 12px; }
.feature:nth-child(2) .feature__icon { background: #fff2d9; }
.feature:nth-child(3) .feature__icon { background: var(--sea-light); }
.feature:nth-child(4) .feature__icon { background: #eeeafb; }
.feature__icon svg { width: 22px; height: 22px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feature:nth-child(3) .feature__icon svg { stroke: var(--sea); }
.feature h3 { font-size: 1rem; margin-bottom: 7px; }
.feature p { color: var(--muted); font-size: .86rem; line-height: 1.55; }
@media (min-width: 600px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .features { grid-template-columns: repeat(4, 1fr); } }

/* Cities */
.city-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.city-card { position: relative; min-height: 96px; display: flex; flex-direction: column; justify-content: end; padding: 16px; background: var(--bg); border: 1px solid var(--border); border-radius: 14px; color: var(--text); transition: border-color .2s, transform .2s, box-shadow .2s; }
.city-card:hover { color: var(--text); border-color: var(--accent); transform: translateY(-3px); box-shadow: var(--shadow); }
.city-card__name { font-weight: 700; font-size: .96rem; }
.city-card__region { color: var(--muted); font-size: .75rem; margin-top: 2px; }
.city-card__arrow { position: absolute; top: 14px; right: 16px; color: var(--accent); font-size: 1.25rem; }
@media (min-width: 600px) { .city-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 980px) { .city-grid { grid-template-columns: repeat(5, 1fr); } }

/* Company cards: expanded list */
.company-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.company-card { min-width: 0; overflow: hidden; background: var(--surface-strong); border: 1px solid var(--border); border-radius: var(--radius); display: grid; grid-template-columns: 190px minmax(0, 1.4fr) minmax(220px, 1fr) 150px; gap: 0; transition: transform .2s, box-shadow .2s, border-color .2s; }
.company-card:hover { border-color: #f4b1a3; transform: translateY(-2px); box-shadow: var(--shadow); }
.company-card__visual { position: relative; display: block; min-height: 220px; overflow: hidden; background: var(--accent-light); }
.company-card__image { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .3s; }
.company-card:hover .company-card__image { transform: scale(1.03); }
.company-card__placeholder { height: 100%; min-height: 220px; display: grid; place-items: center; background: linear-gradient(135deg, var(--accent-light), var(--sea-light)); }
.company-card__placeholder svg { width: 115px; height: 90px; fill: var(--accent); stroke: var(--accent-hover); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.company-card__verified { position: absolute; left: 14px; top: 14px; display: inline-flex; align-items: center; gap: 5px; padding: 5px 9px; background: #fff; color: #087f5b; border-radius: 20px; font-size: .7rem; font-weight: 700; box-shadow: 0 4px 14px rgba(0,0,0,.08); }
.company-card__verified svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.company-card__body { min-width: 0; padding: 22px 24px; }
.company-card__heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.company-card__name { font-size: 1.2rem; font-weight: 750; line-height: 1.25; margin-top: 4px; }
.company-card__name a { color: var(--text); }
.company-card__name a:hover { color: var(--accent); }
.company-card__city { color: var(--muted); font-size: .75rem; }
.company-card__arrow { display: grid; place-items: center; width: 30px; height: 30px; flex: 0 0 auto; color: var(--accent); background: var(--accent-light); border-radius: 50%; font-size: 1.1rem; }
.company-card__arrow:hover { color: #fff; background: var(--accent); }
.company-card__rating { display: flex; align-items: center; gap: 7px; margin: 15px 0 13px; font-size: .88rem; }
.rating__stars { display: inline-flex; width: 80px; color: #d69c00; }
.rating__stars svg { width: 80px; height: 16px; fill: currentColor; }
.company-card__reviews { color: var(--muted); font-size: .78rem; }
.company-card__types { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 14px; }
.badge { display: inline-block; padding: 4px 9px; border-radius: 20px; font-size: .7rem; font-weight: 600; }
.badge-live { background: var(--sea-light); color: #19786d; }
.badge-boiled { background: var(--accent-light); color: var(--accent-hover); }
.badge-snacks { background: #fff2d9; color: #9a6b00; }
.company-card__desc { color: var(--muted); font-size: .83rem; line-height: 1.5; margin-top: 15px; }
.company-card__details { display: grid; align-content: center; gap: 13px; padding: 22px 20px; border-left: 1px solid var(--border); }
.company-card__details div { display: flex; align-items: flex-start; gap: 9px; color: var(--muted); font-size: .8rem; line-height: 1.4; }
.company-card__details svg, .company-card__side svg { width: 17px; height: 17px; flex: 0 0 auto; fill: none; stroke: var(--sea); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.company-card__side { display: flex; flex-direction: column; justify-content: center; align-items: stretch; gap: 9px; padding: 22px 18px; border-left: 1px solid var(--border); }
.company-card__price { color: var(--sea); font-size: 1.05rem; margin-bottom: 5px; }
.company-card__side .btn { width: 100%; }
.company-card__side svg { margin-right: 2px; }
@media (max-width: 980px) { .company-card { grid-template-columns: 160px minmax(0, 1fr) 190px; }.company-card__details { grid-column: 2 / -1; border-left: 0; border-top: 1px solid var(--border); padding: 14px 20px; grid-template-columns: repeat(3, 1fr); }.company-card__side { grid-column: 3; grid-row: 1; }.company-card__visual { min-height: 205px; }.company-card__placeholder { min-height: 205px; } }
@media (max-width: 680px) { .company-card { display: grid; grid-template-columns: 105px minmax(0, 1fr); }.company-card__visual { min-height: 130px; }.company-card__placeholder { min-height: 130px; }.company-card__placeholder svg { width: 75px; height: 60px; }.company-card__verified { left: 7px; top: 7px; padding: 4px 6px; font-size: .62rem; }.company-card__body { padding: 15px 14px; }.company-card__name { font-size: 1rem; }.company-card__rating { margin: 10px 0; }.company-card__desc { display: none; }.company-card__details { grid-column: 1 / -1; grid-template-columns: 1fr; padding: 13px 14px; }.company-card__side { grid-column: 1 / -1; grid-row: auto; display: grid; grid-template-columns: 1fr 1fr; padding: 14px; border-left: 0; border-top: 1px solid var(--border); }.company-card__price { grid-column: 1 / -1; margin: 0 0 3px; }.company-card__side .btn { width: 100%; } }
@media (min-width: 600px) { .company-grid { grid-template-columns: 1fr; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 9px 16px; border-radius: 9px; border: 0; font-size: .86rem; font-weight: 700; cursor: pointer; text-decoration: none; transition: background .15s, color .15s, transform .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); color: #fff; }
.btn-line { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn-line:hover { border-color: var(--accent); color: var(--accent); }
.btn-sm { min-height: 34px; padding: 6px 11px; font-size: .78rem; }
.btn-ghost { background: transparent; color: var(--muted); border: 1px solid var(--border); }

/* Existing inner pages */
.page-head { background: var(--surface); padding: 32px 0; border-bottom: 1px solid var(--border); }
.breadcrumbs { color: var(--muted); font-size: .84rem; margin-bottom: 10px; }
.breadcrumbs a { color: var(--muted); }
.page-head h1 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 8px; }
.page-head__intro, .lead { color: var(--muted); max-width: 650px; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.filters select, .filters input[type="search"] { padding: 10px 12px; background: var(--bg); border: 1px solid var(--border); border-radius: 8px; color: var(--text); font-size: .9rem; min-width: 140px; }
.filters input[type="search"] { flex: 1; min-width: 160px; }
.results-count { color: var(--muted); margin-bottom: 16px; font-size: .9rem; }
.empty { text-align: center; padding: 40px 20px; color: var(--muted); }

/* Footer and UI */
.footer { margin-top: auto; background: var(--text); color: #fff; padding: 30px 0 18px; }
.footer__inner { display: grid; gap: 22px; }
.footer__main { display: grid; gap: 22px; }
.footer__brand strong { font-size: 1rem; }
.footer__brand p { max-width: 240px; color: #aeb1bd; font-size: .78rem; line-height: 1.45; margin-top: 6px; }
.footer__nav { display: grid; gap: 20px; }
.footer__column > strong { display: block; color: #fff; font-size: .76rem; margin-bottom: 8px; }
.footer__links { display: grid; gap: 6px; align-content: start; }
.footer__links a { color: #c8cad3; font-size: .78rem; line-height: 1.35; }
.footer__links a:hover, .footer__bottom a:hover { color: #fff; }
.footer__bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.12); color: #aeb1bd; font-size: .72rem; }
.footer__disclaimer { color: #8f93a1; line-height: 1.4; }
.footer__contacts { display: inline-flex; flex-wrap: wrap; gap: 8px 14px; }
.footer__bottom a { color: #c8cad3; }
@media (min-width: 700px) {
  .footer__main { grid-template-columns: 220px minmax(0, 1fr); align-items: start; }
  .footer__nav { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
}
@media (max-width: 699px) { .footer__bottom { display: grid; gap: 7px; } }
.geo-banner { background: var(--accent-light); color: var(--text); padding: 10px 0; font-size: .9rem; }
.geo-banner .container { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.geo-banner__close { margin-left: auto; background: none; border: 0; font-size: 1.3rem; cursor: pointer; color: var(--text); }
.nav--open { display: flex !important; flex-direction: column; position: absolute; top: 72px; right: 0; background: var(--bg); padding: 18px 20px; border: 1px solid var(--border); border-radius: 0 0 0 12px; z-index: 99; gap: 14px; box-shadow: var(--shadow); }
main { flex: 1; }

/* Modal and forms */
.modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 16px; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(26,26,46,.55); }
.modal__box { position: relative; background: var(--bg); border-radius: var(--radius); padding: 24px; width: 100%; max-width: 400px; z-index: 1; box-shadow: var(--shadow); }
.modal__close { position: absolute; top: 10px; right: 14px; background: none; border: 0; color: var(--muted); font-size: 1.5rem; cursor: pointer; }
.modal h3 { margin-bottom: 16px; }
.form-group { margin-bottom: 12px; }
.form-group label { display: block; font-size: .8rem; color: var(--muted); margin-bottom: 4px; }
.form-group input, .form-group textarea { width: 100%; padding: 10px 12px; background: var(--bg); border: 1px solid var(--border); border-radius: 8px; color: var(--text); font-size: .95rem; }
.form-group input:focus, .form-group textarea:focus { outline: 2px solid var(--accent-light); border-color: var(--accent); }
.form-msg { margin-top: 12px; font-size: .9rem; }.form-msg.ok { color: var(--success); }.form-msg.err { color: #dc2626; }
.pagination { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 28px; }.pagination__info { color: var(--muted); font-size: .9rem; }
.faq { display: flex; flex-direction: column; gap: 8px; }.faq__item { background: var(--bg); border: 1px solid var(--border); border-radius: 8px; padding: 12px 16px; }.faq__item summary { cursor: pointer; font-weight: 600; list-style: none; }.faq__item summary::-webkit-details-marker { display: none; }.faq__item p { margin-top: 10px; color: var(--muted); font-size: .9rem; }
.company-header, .company-body { display: grid; gap: 24px; }.company-meta, .types, .company-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }.info-card, .review-form, .review-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; }.info-row { padding: 10px 0; border-bottom: 1px solid var(--border); font-size: .9rem; }.info-row:last-child { border-bottom: 0; }.info-label { display: block; color: var(--muted); font-size: .75rem; margin-bottom: 2px; }.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; margin-top: 20px; }.gallery img { width: 100%; height: 140px; object-fit: cover; border-radius: 8px; }.review-item { margin-bottom: 10px; }.review-item__head { display: flex; gap: 10px; align-items: center; margin-bottom: 6px; flex-wrap: wrap; }.review-item__date { color: var(--muted); font-size: .8rem; }
@media (min-width: 800px) { .company-header { grid-template-columns: 1fr 300px; }.company-body { grid-template-columns: 1fr 300px; } }

/* Details used by company and review pages */
.price-tag { background: var(--sea-light); color: #19786d; padding: 5px 10px; border-radius: 7px; font-weight: 700; font-size: .88rem; }
.company-actions { margin-top: 16px; }
.content { margin-bottom: 24px; line-height: 1.7; }
.review-form select { width: 100%; padding: 10px 12px; background: var(--bg); border: 1px solid var(--border); border-radius: 8px; color: var(--text); }
.demo-page { background: #f8f6f4; }
.demo-container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.demo-header { background: var(--text); color: #fff; padding: 18px 0; }
.demo-header .demo-container { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.demo-header .logo { color: #fff; }
.demo-header__label { color: #c9cbd4; font-size: .82rem; }
.demo-main { padding-top: 70px; padding-bottom: 70px; }
.demo-intro { max-width: 680px; margin-bottom: 64px; }
.demo-intro h1 { font-size: clamp(2rem, 5vw, 3.6rem); line-height: 1.05; letter-spacing: -.05em; margin-bottom: 18px; }
.demo-intro > p:last-child { color: var(--muted); font-size: 1rem; max-width: 570px; }
.demo-section { padding: 36px 0 58px; border-top: 1px solid #e5dfdb; }
.demo-section__head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 24px; }
.demo-section__head > div { display: flex; align-items: baseline; gap: 12px; }
.demo-section__head h2 { font-size: clamp(1.35rem, 3vw, 1.8rem); letter-spacing: -.035em; }
.demo-section__head p { max-width: 420px; color: var(--muted); font-size: .85rem; line-height: 1.5; }
.demo-number { color: var(--accent); font-size: .8rem; font-weight: 800; letter-spacing: .08em; }
.demo-grid { display: grid; gap: 18px; }
.demo-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.demo-grid--three .company-card { min-width: 0; }
.demo-list { display: grid; gap: 12px; }
.demo-list-card { display: grid; grid-template-columns: 190px minmax(0, 1fr) 175px; gap: 24px; align-items: stretch; padding: 16px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); }
.demo-list-card__visual { position: relative; min-height: 160px; overflow: hidden; border-radius: 11px; }
.demo-list-card__visual .company-card__placeholder { height: 100%; }
.demo-list-card__visual .company-card__verified { left: 9px; top: 9px; }
.demo-list-card__main { min-width: 0; padding: 6px 0; }
.demo-card-top { display: flex; justify-content: space-between; gap: 16px; }
.demo-card-top h3 { font-size: 1.22rem; margin-top: 4px; }
.demo-card-top h3 a, .demo-compact-card h3 a { color: var(--text); }
.demo-card-top h3 a:hover, .demo-compact-card h3 a:hover { color: var(--accent); }
.demo-rating { display: flex; align-items: center; gap: 5px; white-space: nowrap; color: #d69c00; }
.demo-rating strong { color: var(--text); font-size: 1rem; }
.demo-rating small { color: var(--muted); font-size: .72rem; }
.demo-types { color: var(--muted); font-size: .82rem; margin-top: 8px; }
.demo-facts { display: grid; gap: 8px; margin-top: 24px; }
.demo-facts span, .demo-featured__facts span, .demo-compare__delivery { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .8rem; }
.demo-facts svg, .demo-featured__facts svg, .demo-compare__delivery svg { width: 17px; height: 17px; flex: 0 0 auto; fill: none; stroke: var(--sea); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.demo-list-card__side { display: flex; flex-direction: column; justify-content: center; align-items: stretch; gap: 10px; padding-left: 20px; border-left: 1px solid var(--border); }
.demo-price { color: var(--sea); font-size: 1.05rem; }
.demo-compact-list { display: grid; gap: 8px; }
.demo-compact-card { display: flex; align-items: center; gap: 16px; padding: 12px 16px 12px 12px; background: #fff; border: 1px solid var(--border); border-radius: 12px; }
.demo-compact-card__mark, .demo-compare__avatar { display: grid; place-items: center; flex: 0 0 auto; width: 58px; height: 58px; background: var(--accent-light); border-radius: 10px; }
.demo-compact-card__mark svg, .demo-compare__avatar svg { width: 48px; height: 40px; fill: var(--accent); stroke: var(--accent-hover); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.demo-compact-card__content { min-width: 0; display: flex; justify-content: space-between; align-items: center; flex: 1; gap: 20px; }
.demo-compact-card h3 { font-size: .98rem; }
.demo-compact-card p { color: var(--muted); font-size: .76rem; margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.demo-compact-card__meta { display: flex; align-items: center; gap: 18px; white-space: nowrap; }
.demo-compact-card__meta .demo-rating { font-size: .85rem; }
.demo-compact-card__meta .demo-price { font-size: .9rem; }
.demo-check { display: inline-grid; place-items: center; width: 18px; height: 18px; color: #087f5b; background: var(--sea-light); border-radius: 50%; font-size: .7rem; vertical-align: 2px; }
.demo-featured { display: grid; grid-template-columns: 42% 1fr; overflow: hidden; background: #fff; border: 1px solid #f1b0a3; border-radius: 20px; box-shadow: 0 16px 40px rgba(232,93,58,.1); }
.demo-featured__visual { position: relative; min-height: 330px; }
.demo-featured__visual .company-card__placeholder { height: 100%; background: linear-gradient(145deg, #fbdad3, #d9f1ee); }
.demo-featured__visual .company-card__placeholder svg { width: 180px; height: 140px; }
.demo-featured__label { position: absolute; z-index: 1; top: 18px; left: 18px; padding: 7px 11px; background: var(--accent); color: #fff; border-radius: 20px; font-size: .72rem; font-weight: 700; }
.demo-featured__body { padding: 38px 42px; }
.demo-featured__body h3 { font-size: 1.8rem; letter-spacing: -.04em; margin: 5px 0 14px; }
.demo-featured__rating { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.demo-featured__rating strong { font-size: 1.7rem; }
.demo-featured__rating span { color: #d69c00; letter-spacing: 2px; }
.demo-featured__rating small { color: var(--muted); font-size: .76rem; }
.demo-featured__body > p { max-width: 560px; color: var(--muted); line-height: 1.6; }
.demo-featured__facts { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 22px; }
.demo-featured__bottom { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--border); }
.demo-featured__bottom .demo-price { font-size: 1.3rem; }
.demo-compare { overflow: hidden; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); }
.demo-compare__head, .demo-compare__row { display: grid; grid-template-columns: minmax(210px, 1.7fr) .7fr 1.4fr 1.5fr .9fr 42px; align-items: center; gap: 18px; }
.demo-compare__head { padding: 13px 16px; background: var(--text); color: #d3d5db; font-size: .7rem; font-weight: 700; }
.demo-compare__row { padding: 13px 16px; border-top: 1px solid var(--border); }
.demo-compare__company { display: flex; align-items: center; min-width: 0; gap: 10px; }
.demo-compare__company > span:nth-child(2) { min-width: 0; }
.demo-compare__company strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .85rem; }
.demo-compare__company strong a { color: var(--text); }
.demo-compare__company small { display: block; color: var(--muted); font-size: .72rem; margin-top: 2px; }
.demo-compare__company em { padding: 3px 6px; background: var(--sea-light); color: #087f5b; border-radius: 10px; font-size: .62rem; font-style: normal; white-space: nowrap; }
.demo-compare__avatar { width: 42px; height: 42px; border-radius: 8px; }
.demo-compare__avatar svg { width: 35px; height: 30px; }
.demo-compare__rating { display: flex; align-items: center; gap: 4px; color: #d69c00; font-size: .82rem; }
.demo-compare__rating strong { color: var(--text); }
.demo-compare__rating small, .demo-compare__types { color: var(--muted); font-size: .72rem; }
.demo-recommendation { max-width: 780px; margin: 10px auto 0; padding: 22px 24px; background: var(--sea-light); border-radius: 14px; }
.demo-recommendation strong { color: #14776c; }
.demo-recommendation p { color: #3d6e69; font-size: .86rem; margin-top: 6px; }
.demo-footer { padding: 24px 0; background: var(--text); color: #bfc1cb; font-size: .8rem; }
.demo-footer a { color: #fff; margin-left: 8px; }
@media (max-width: 980px) { .demo-grid--three { grid-template-columns: repeat(2, minmax(0, 1fr)); }.demo-list-card { grid-template-columns: 150px minmax(0, 1fr); }.demo-list-card__side { grid-column: 2; flex-direction: row; align-items: center; border-left: 0; border-top: 1px solid var(--border); padding: 14px 0 0; }.demo-compare__head, .demo-compare__row { grid-template-columns: minmax(180px, 1.6fr) .7fr 1.2fr .9fr 42px; }.demo-compare__head span:nth-child(4), .demo-compare__row .demo-compare__delivery { display: none; } }
@media (max-width: 680px) { .demo-main { padding-top: 40px; }.demo-section__head { display: block; }.demo-section__head p { margin-top: 10px; }.demo-grid--three { grid-template-columns: 1fr; }.demo-list-card { grid-template-columns: 100px minmax(0, 1fr); gap: 14px; padding: 10px; }.demo-list-card__visual { min-height: 110px; }.demo-card-top { display: block; }.demo-card-top .demo-rating { margin-top: 10px; }.demo-facts { margin-top: 14px; }.demo-list-card__side { grid-column: 1 / -1; flex-wrap: wrap; }.demo-list-card__side .demo-price { margin-right: auto; }.demo-compact-card__content { display: block; }.demo-compact-card__meta { margin-top: 9px; gap: 12px; }.demo-featured { grid-template-columns: 1fr; }.demo-featured__visual { min-height: 220px; }.demo-featured__body { padding: 26px 22px; }.demo-featured__body h3 { font-size: 1.45rem; }.demo-featured__bottom { align-items: stretch; flex-direction: column; }.demo-compare { overflow-x: auto; }.demo-compare__head, .demo-compare__row { min-width: 680px; }.demo-header__label { display: none; } }

/* Company shop */
.shop-section { margin-top: 48px; padding-top: 34px; border-top: 1px solid var(--border); }
.shop-section__heading { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 24px; }
.shop-section__heading .eyebrow { margin-bottom: 8px; }
.shop-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 24px; align-items: start; }
.product-category { margin-bottom: 28px; }
.product-category > h3 { font-size: 1.2rem; margin-bottom: 13px; }
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.product-card { display: flex; flex-direction: column; justify-content: space-between; min-height: 135px; padding: 16px; background: var(--surface); border: 1px solid var(--border); border-radius: 13px; }
.product-card__body h4 { font-size: .96rem; }
.product-card__body p { color: var(--muted); font-size: .8rem; line-height: 1.45; margin-top: 5px; }
.product-card__bottom { display: flex; align-items: end; justify-content: space-between; gap: 10px; margin-top: 18px; }
.product-card__bottom strong { color: var(--sea); font-size: .96rem; white-space: nowrap; }
.product-card__bottom small { color: var(--muted); font-size: .7rem; font-weight: 400; }
.quantity-control { display: inline-flex; align-items: center; gap: 8px; padding: 3px; background: var(--bg); border: 1px solid var(--border); border-radius: 8px; }
.quantity-control button { display: grid; place-items: center; width: 25px; height: 25px; padding: 0; border: 0; border-radius: 5px; background: var(--accent-light); color: var(--accent-hover); font-size: 1rem; cursor: pointer; }
.quantity-control span { min-width: 15px; text-align: center; font-size: .8rem; font-weight: 700; }
.cart-panel { position: sticky; top: 92px; padding: 18px; background: var(--text); color: #fff; border-radius: 15px; box-shadow: var(--shadow); }
.cart-panel__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.cart-panel__head h3 { font-size: 1.05rem; }
.cart-panel__head .modal__close { position: static; padding: 0; color: #c9cbd4; font-size: 1.3rem; }
.cart-items { display: grid; gap: 10px; max-height: 290px; overflow: auto; }
.cart-item { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,.14); }
.cart-item strong { display: block; font-size: .8rem; }
.cart-item small { display: block; color: #b7bbc7; font-size: .72rem; margin-top: 3px; }
.cart-item button { padding: 0; border: 0; background: none; color: #f5a08e; cursor: pointer; font-size: 1.2rem; }
.cart-empty { color: #b7bbc7; font-size: .8rem; }
.cart-panel__total { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; margin-top: 10px; border-top: 1px solid rgba(255,255,255,.14); }
.cart-panel__total span { color: #b7bbc7; font-size: .8rem; }.cart-panel__total strong { font-size: 1.15rem; }
.cart-panel .btn { width: 100%; }.cart-count { display: inline-grid; place-items: center; min-width: 21px; height: 21px; padding: 0 5px; background: rgba(255,255,255,.25); border-radius: 20px; font-size: .72rem; }
.company-favorite.is-active { color: var(--accent); border-color: var(--accent); }.company-favorite span { font-size: 1rem; }
.modal__hint { color: var(--muted); font-size: .84rem; margin: -8px 0 16px; }
@media (max-width: 900px) { .shop-layout { grid-template-columns: 1fr; }.cart-panel { position: fixed; z-index: 150; right: 16px; bottom: 16px; left: 16px; top: auto; max-height: 80vh; transform: translateY(calc(100% + 28px)); transition: transform .25s; }.cart-panel.is-open { transform: translateY(0); } }
@media (max-width: 540px) { .shop-section__heading { align-items: start; flex-direction: column; }.product-grid { grid-template-columns: 1fr; }.product-card { min-height: 120px; } }

/* Company portal */
.portal-page { background: var(--surface); }.portal-shell { width: 100%; max-width: 1100px; margin: 0 auto; padding: 42px 20px 70px; }.portal-header { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 28px; }.portal-header h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -.04em; }.portal-header p { color: var(--muted); font-size: .85rem; margin-top: 4px; }.portal-nav { display: flex; gap: 8px; flex-wrap: wrap; }.portal-card { padding: 22px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 18px; }.portal-card h2 { font-size: 1.1rem; margin-bottom: 16px; }.portal-table { width: 100%; border-collapse: collapse; }.portal-table th, .portal-table td { padding: 11px 8px; text-align: left; border-bottom: 1px solid var(--border); font-size: .84rem; }.portal-table th { color: var(--muted); font-size: .72rem; }.portal-product-form { display: grid; grid-template-columns: 1.2fr 1fr .7fr .5fr auto; gap: 9px; align-items: end; }.portal-product-form input, .portal-product-form select { width: 100%; padding: 9px 10px; background: var(--surface); color: var(--text); border: 1px solid var(--border); border-radius: 8px; }.portal-product-form label { display: block; color: var(--muted); font-size: .72rem; margin-bottom: 4px; }.portal-stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 18px; }.portal-stat { padding: 16px; background: var(--bg); border: 1px solid var(--border); border-radius: 12px; }.portal-stat strong { display: block; color: var(--accent); font-size: 1.5rem; }.portal-stat span { color: var(--muted); font-size: .76rem; }.portal-login { width: 100%; max-width: 400px; margin: 10vh auto; padding: 30px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }.portal-login h1 { font-size: 1.35rem; margin-bottom: 20px; }.portal-login__brand { color: var(--accent); font-weight: 800; margin-bottom: 8px; }.portal-error { padding: 10px 12px; margin-bottom: 14px; background: var(--accent-light); color: var(--accent-hover); border-radius: 8px; font-size: .82rem; }
@media (max-width: 760px) { .portal-header { align-items: start; flex-direction: column; }.portal-product-form { grid-template-columns: 1fr 1fr; }.portal-product-form .portal-product-form__wide { grid-column: 1 / -1; }.portal-table { min-width: 650px; }.portal-card--table { overflow-x: auto; }.portal-stat-grid { grid-template-columns: 1fr 1fr; } }

.company-card--featured { border-color: #f2aa98; box-shadow: 0 8px 24px rgba(232,93,58,.09); }
.company-card__plus { position: absolute; left: 14px; top: 14px; padding: 5px 9px; background: var(--accent); color: #fff; border-radius: 20px; font-size: .7rem; font-weight: 700; box-shadow: 0 4px 14px rgba(0,0,0,.08); }
.portal-stat strong { font-size: 1.25rem; }
@media (max-width: 760px) { .admin-tariff-form { grid-template-columns: 1fr !important; margin-left: 0 !important; } }

.company-card__phone { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.company-card__phone span { overflow: hidden; text-overflow: ellipsis; }

/* Maps */
.city-map-section { margin: 34px 0 30px; padding: 24px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.city-map-heading { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.city-map-heading .eyebrow { margin-bottom: 7px; }
.city-map-count { color: var(--muted); font-size: .8rem; }
.city-map { height: 430px; overflow: hidden; border: 1px solid var(--border); border-radius: 12px; z-index: 0; }
.city-map .leaflet-popup-content { margin: 13px 15px; min-width: 170px; }
.map-popup__rating { color: #9a6b00; font-size: .78rem; margin: 5px 0; }
.city-map .leaflet-popup-content a { display: block; margin-top: 8px; color: var(--accent); font-size: .8rem; font-weight: 700; }
.company-map-block { margin-top: 24px; }
.company-map-block iframe { display: block; }
@media (max-width: 600px) { .city-map-section { padding: 16px; }.city-map { height: 350px; }.city-map-heading { align-items: start; flex-direction: column; gap: 5px; } }

/* Navigation, legal pages and retention UI */
.registration-documents { padding: 14px; margin: 12px 0; border: 1px solid var(--border); border-radius: 10px; }
.registration-documents legend { padding: 0 6px; color: var(--muted); font-size: .8rem; }
.company-claim { width: 100%; margin-bottom: 14px; }
.company-claim:hover { background: var(--accent-light); }.product-card__marking { display: block; margin-top: 8px; color: var(--muted); font-size: .7rem; }
.consent-check { display: flex; align-items: flex-start; gap: 8px; color: var(--muted); font-size: .74rem; line-height: 1.4; margin: 10px 0 14px; }
.consent-check input { width: 16px; height: 16px; flex: 0 0 auto; margin-top: 1px; accent-color: var(--accent); }
.consent-check a { color: var(--accent); }
.cookie-consent { position: fixed; z-index: 300; right: 18px; bottom: 18px; left: 18px; display: flex; align-items: center; justify-content: space-between; gap: 20px; max-width: 720px; margin: auto; padding: 16px 18px; background: var(--text); color: #fff; border-radius: 14px; box-shadow: 0 12px 36px rgba(0,0,0,.2); }
.cookie-consent[hidden] { display: none; }
.cookie-consent strong { display: block; font-size: .88rem; }.cookie-consent p { max-width: 560px; color: #c7c9d1; font-size: .76rem; line-height: 1.45; margin-top: 4px; }.cookie-consent a { color: #fff; text-decoration: underline; }
.company-card__locked { display: grid; gap: 4px; color: var(--muted); font-size: .72rem; line-height: 1.25; }.company-card__blur { filter: blur(3px); user-select: none; opacity: .72; }.company-card__locked a { color: var(--accent); font-weight: 700; }
.promoted-section { margin: 30px 0; padding: 24px; background: linear-gradient(135deg, var(--accent-light), #fff); border: 1px solid #f5c2b6; border-radius: var(--radius); }.promoted-section__heading { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 18px; }.promoted-section__heading .eyebrow { margin-bottom: 7px; }.promoted-section__note { color: var(--muted); font-size: .7rem; margin-top: 14px; }
.city-reviews-section { background: var(--surface); }.city-reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }.city-review-card { padding: 18px; background: var(--bg); border: 1px solid var(--border); border-radius: 13px; }.city-review-card__top { display: flex; justify-content: space-between; gap: 12px; }.city-review-card p { color: var(--muted); font-size: .84rem; line-height: 1.55; margin: 12px 0; }.city-review-card > a { font-size: .78rem; font-weight: 700; }
.section--how { background: #fff; }.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }.how-grid article { padding: 22px; background: var(--surface); border-radius: 14px; }.how-grid article > span { color: var(--accent); font-size: .78rem; font-weight: 800; }.how-grid h3 { margin: 14px 0 7px; font-size: 1rem; }.how-grid p { color: var(--muted); font-size: .84rem; }
.legal-page, .pricing-page { background: var(--surface); }
.legal-main { padding: 34px 0 84px; background: linear-gradient(180deg, var(--surface) 0, #fff 72%); }
.legal-shell { max-width: 1180px; }
.legal-shell > .breadcrumbs { display: flex; gap: 8px; align-items: center; margin-bottom: 34px; }
.legal-heading { max-width: 760px; margin-bottom: 34px; }
.legal-heading h1 { font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.06; letter-spacing: -.055em; margin: 10px 0 16px; }
.legal-intro { max-width: 700px; color: var(--muted); font-size: 1rem; line-height: 1.7; margin: 0; }
.legal-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 28px; align-items: start; }
.legal-sidebar { position: sticky; top: 94px; padding: 18px 14px; background: rgba(255,255,255,.72); border: 1px solid var(--border); border-radius: 14px; }
.legal-sidebar__title { display: block; padding: 0 10px 12px; color: var(--muted); font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.legal-nav { display: grid; gap: 4px; }
.legal-nav a { display: block; padding: 10px; border-radius: 8px; color: var(--muted); font-size: .8rem; line-height: 1.3; transition: background .15s, color .15s; }
.legal-nav a:hover { background: var(--accent-light); color: var(--accent-hover); }
.legal-nav a.is-active { background: var(--text); color: #fff; font-weight: 700; }
.legal-document { min-width: 0; }
.legal-document__paper { position: relative; padding: 32px clamp(22px, 5vw, 62px) 34px; background: #fff; border: 1px solid var(--border); border-radius: 18px; box-shadow: 0 18px 45px rgba(26,26,46,.07); }
.legal-document__paper::before { content: ''; position: absolute; top: 0; bottom: 0; left: 0; width: 5px; background: var(--accent); border-radius: 18px 0 0 18px; }
.legal-document__meta { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid var(--border); color: var(--muted); font-size: .72rem; }
.legal-document__meta span { color: var(--accent); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.legal-document__content { padding-top: 4px; }
.legal-section { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 14px; padding: 26px 0; border-bottom: 1px solid var(--border); }
.legal-section:last-child { border-bottom: 0; }
.legal-section__number { color: var(--accent); font-size: .72rem; font-weight: 800; letter-spacing: .08em; padding-top: 4px; }
.legal-section h2 { margin: 0 0 9px; font-size: 1.12rem; line-height: 1.3; }
.legal-section p { max-width: 72ch; margin: 0; color: #4f5564; font-size: .92rem; line-height: 1.75; }
.legal-note { margin-top: 26px; padding: 16px 18px; background: var(--accent-light); border-radius: 10px; color: var(--accent-hover); }
.legal-note strong { display: block; margin-bottom: 4px; font-size: .8rem; }
.legal-note p { margin: 0; font-size: .78rem; line-height: 1.5; }

.pricing-intro { max-width: 650px; margin-bottom: 38px; }.pricing-intro p:last-child { color: var(--muted); line-height: 1.65; margin-top: 14px; }.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }.pricing-card { display: flex; flex-direction: column; padding: 26px 22px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); }.pricing-card--accent { border: 2px solid var(--accent); box-shadow: 0 12px 30px rgba(232,93,58,.12); }.pricing-card__name { color: var(--muted); font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }.pricing-card__price { display: block; font-size: 1.8rem; margin: 14px 0 8px; }.pricing-card__price small { color: var(--muted); font-size: .75rem; font-weight: 400; }.pricing-card > p { color: var(--muted); min-height: 48px; font-size: .84rem; }.pricing-card ul { display: grid; gap: 10px; padding: 18px 0 22px; margin: 18px 0 auto; border-top: 1px solid var(--border); list-style: none; }.pricing-card li { font-size: .82rem; }.pricing-card li::before { content: '✓'; color: var(--sea); font-weight: 800; margin-right: 7px; }.pricing-card .btn { width: 100%; }.pricing-note { max-width: 800px; padding: 20px; background: var(--sea-light); border-radius: 13px; margin-top: 24px; }.pricing-note strong { color: #14776c; }.pricing-note p { color: #3d6e69; font-size: .82rem; line-height: 1.55; margin: 6px 0 10px; }.pricing-note a { font-size: .8rem; }
@media (max-width: 800px) { .pricing-grid, .city-reviews-grid, .how-grid { grid-template-columns: 1fr; }.legal-layout { grid-template-columns: 1fr; gap: 16px; }.legal-sidebar { position: static; padding: 12px; }.legal-sidebar__title { padding-bottom: 8px; }.legal-nav { display: flex; overflow-x: auto; gap: 5px; padding-bottom: 2px; scrollbar-width: thin; }.legal-nav a { flex: 0 0 auto; white-space: nowrap; }.legal-document__paper { padding: 24px 20px 26px; }.legal-document__meta { display: block; }.legal-document__meta time { display: block; margin-top: 5px; }.legal-section { grid-template-columns: 30px minmax(0, 1fr); gap: 10px; padding: 22px 0; }.legal-section h2 { font-size: 1rem; }.legal-section p { font-size: .88rem; line-height: 1.65; }.legal-document__paper::before { width: 4px; } .promoted-section__heading { display: block; }.promoted-section__heading .section-link { display: inline-block; margin-top: 12px; }.cookie-consent { align-items: stretch; flex-direction: column; gap: 12px; }.cookie-consent .btn { width: 100%; } }

.page-head__promoted { margin-top: 22px; padding: 15px 16px; background: rgba(255,255,255,.72); border: 1px solid #f0c0b5; border-radius: 12px; }
.page-head__promoted-title { display: flex; align-items: center; justify-content: space-between; gap: 14px; color: var(--text); font-size: .82rem; font-weight: 700; }
.page-head__promoted-title a { color: var(--accent); font-size: .76rem; }
.page-head__promoted-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px; }
.page-head__promoted-list a { padding: 9px 10px; background: #fff; border: 1px solid var(--border); border-radius: 8px; color: var(--text); font-size: .8rem; font-weight: 700; }
.page-head__promoted-list a:hover { border-color: var(--accent); color: var(--accent); }
.page-head__promoted-list small { display: block; color: var(--accent); font-size: .66rem; font-weight: 600; margin-top: 2px; }
.page-head__promoted > p { color: var(--muted); font-size: .68rem; margin-top: 9px; }
@media (max-width: 600px) { .page-head__promoted-title { align-items: start; flex-direction: column; gap: 5px; }.page-head__promoted-list { grid-template-columns: 1fr; } }
.footer__action { padding: 0; border: 0; background: none; color: #d9dbe2; font-size: .84rem; cursor: pointer; text-align: left; }
.footer__action:hover { color: #fff; }

/* Shared public shell */
.nav a { display: inline-flex; align-items: center; gap: 6px; }
.nav a svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.footer__links { display: grid; gap: 8px; align-content: start; }
.footer__links a, .footer__action { line-height: 1.35; }

/* Consistent content typography */
main p { max-width: 72ch; }
.content p, .legal-content p, .pricing-note p { margin: 0 0 14px; }
.content h2, .legal-content h2 { margin: 28px 0 10px; line-height: 1.25; }
.content h3, .legal-content h3 { margin: 22px 0 8px; line-height: 1.3; }
.content ul, .content ol, .legal-content ul, .legal-content ol { display: grid; gap: 8px; padding-left: 24px; margin: 12px 0 20px; color: #4f5564; line-height: 1.65; }
.content li::marker, .legal-content li::marker { color: var(--accent); font-weight: 700; }
.content blockquote, .legal-content blockquote { margin: 20px 0; padding: 16px 20px; background: var(--accent-light); border-left: 3px solid var(--accent); border-radius: 0 10px 10px 0; color: #6d3b31; font-style: italic; }

/* Client-first company cards */
.company-card { min-height: 218px; }
.company-card__body { display: flex; flex-direction: column; min-width: 0; }
.company-card__heading { min-height: 48px; }
.company-card__name { overflow-wrap: anywhere; }
.company-card__rating { min-height: 22px; }
.company-card__desc { display: -webkit-box; display: box; overflow: hidden; line-clamp: 2; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.company-card__details { min-width: 0; }
.company-card__details div span { overflow-wrap: anywhere; }
.company-card__side { min-width: 0; }
.company-card__phone { min-width: 0; font-size: .75rem; }
.company-card__phone span { display: block; min-width: 0; overflow-wrap: anywhere; }
.company-card--featured { position: relative; }
.company-card--featured::before { content: 'Выбор редакции'; position: absolute; right: 14px; top: 10px; z-index: 2; color: var(--accent); font-size: .66rem; font-weight: 800; }

/* Favorites */
.favorites-main { padding: 34px 0 80px; background: var(--surface); min-height: 70vh; }
.favorites-hero { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 30px; background: var(--bg); border: 1px solid var(--border); border-radius: 20px; margin: 18px 0 18px; }
.favorites-hero h1 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.05; letter-spacing: -.05em; margin: 8px 0 12px; }
.favorites-hero p { color: var(--muted); max-width: 600px; line-height: 1.6; }
.favorites-hero__icon, .favorites-empty__icon { display: grid; place-items: center; flex: 0 0 auto; width: 92px; height: 92px; background: var(--accent-light); border-radius: 50%; }
.favorites-hero__icon svg, .favorites-empty__icon svg { width: 44px; height: 44px; fill: none; stroke: var(--accent); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.favorites-summary { display: flex; align-items: center; gap: 28px; padding: 16px 20px; background: var(--bg); border: 1px solid var(--border); border-radius: 13px; margin-bottom: 18px; }
.favorites-summary > div { display: flex; align-items: baseline; gap: 7px; }.favorites-summary strong { font-size: 1.25rem; }.favorites-summary span { color: var(--muted); font-size: .8rem; }.favorites-summary .btn { margin-left: auto; }
.favorites-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 24px; align-items: start; }.favorites-help { padding: 20px; background: var(--sea-light); border-radius: 14px; }.favorites-help h2, .favorites-list__head h2 { font-size: 1.15rem; margin-bottom: 12px; }.favorites-help ol { display: grid; gap: 11px; padding-left: 20px; color: #3d6e69; font-size: .8rem; line-height: 1.5; }.favorites-help li::marker { color: var(--sea); font-weight: 800; }.favorites-help__link { display: inline-block; margin-top: 8px; color: #14776c; font-size: .78rem; font-weight: 700; }.favorites-list { min-width: 0; }.favorites-list__head { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 14px; }.favorites-list__head h2 { margin: 0; }.favorites-list__head label { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: .78rem; }.favorites-list__head select { padding: 8px 10px; background: var(--bg); color: var(--text); border: 1px solid var(--border); border-radius: 8px; }.favorite-item[hidden] { display: none; }.favorites-empty { display: grid; justify-items: center; gap: 12px; padding: 55px 20px; background: var(--bg); border: 1px solid var(--border); border-radius: 18px; text-align: center; }.favorites-empty__icon { width: 78px; height: 78px; }.favorites-empty h2 { font-size: 1.35rem; }.favorites-empty p { max-width: 480px; color: var(--muted); font-size: .88rem; line-height: 1.6; }

/* Shared pages */
/* Public header and footer use the shared base styles on every page. */

@media (max-width: 900px) { .company-card { grid-template-columns: 160px minmax(0, 1fr) 180px; }.favorites-layout { grid-template-columns: 1fr; }.favorites-help { order: 2; }.favorites-list { order: 1; } }
@media (max-width: 680px) { .company-card { min-height: 0; }.company-card--featured::before { display: none; }.favorites-hero { padding: 22px; }.favorites-hero__icon { width: 64px; height: 64px; }.favorites-hero__icon svg { width: 30px; height: 30px; }.favorites-summary { flex-wrap: wrap; gap: 14px; }.favorites-summary .btn { width: 100%; margin-left: 0; }.favorites-list__head { align-items: start; flex-direction: column; }.favorites-list__head label { width: 100%; justify-content: space-between; }.favorites-list__head select { flex: 1; } }

.nav__login { color: var(--accent) !important; }
.city-why-section { background: var(--surface); }
.city-why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.city-why-grid article { padding: 22px; background: var(--bg); border: 1px solid var(--border); border-radius: 14px; }
.city-why-icon { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 16px; background: var(--sea-light); border-radius: 11px; }
.city-why-icon svg { width: 22px; height: 22px; fill: none; stroke: var(--sea); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.city-why-grid h3 { font-size: 1rem; margin-bottom: 7px; }
.city-why-grid p { color: var(--muted); font-size: .84rem; line-height: 1.55; }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.faq__item summary::after { content: '+'; color: var(--accent); font-size: 1.2rem; font-weight: 400; }
.faq__item[open] summary::after { content: '−'; }
.city-review-card { min-height: 170px; display: flex; flex-direction: column; }
.city-review-card > a { margin-top: auto; }
@media (max-width: 700px) { .city-why-grid { grid-template-columns: 1fr; } }

/* Header city switcher and clean navigation */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.header-city-select { position: relative; display: block; }
.header-city-select::after { display: none; }
.header-city-select:focus-within::after { display: none; }
.header-city-select .custom-select { min-width: 148px; }
.header-city-select .custom-select__trigger { min-height: 40px; padding-top: 8px; padding-bottom: 8px; font-size: .8rem; }
.header-city-select select, .filters select, .favorites-list__head select { appearance: none; -webkit-appearance: none; min-width: 148px; min-height: 44px; padding: 10px 38px 10px 13px; background-color: var(--surface-strong); background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 17px) 19px, calc(100% - 12px) 19px; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; border: 1px solid var(--border); border-radius: 10px; color: var(--text); font-size: .86rem; line-height: 1.25; cursor: pointer; transition: border-color .15s, box-shadow .15s, background-color .15s; }
.header-city-select select { min-height: 40px; padding-top: 8px; padding-bottom: 8px; font-size: .8rem; background-image: none; }
.header-city-select select:hover, .filters select:hover, .favorites-list__head select:hover { border-color: var(--accent); background-color: var(--accent-light); }
.header-city-select select:focus, .filters select:focus, .favorites-list__head select:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(232,93,58,.14); }
.header-city-select select option, .filters select option, .favorites-list__head select option { background: var(--bg); color: var(--text); }

/* Custom dropdowns. The native select stays in the form as the value source. */
.custom-select { position: relative; z-index: 1; width: 100%; min-width: 0; }
.custom-select.is-open { z-index: 100; }
.custom-select-native { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; opacity: 0 !important; pointer-events: none !important; }
.custom-select__trigger { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 44px; padding: 10px 38px 10px 13px; overflow: hidden; background: var(--surface-strong); border: 1px solid var(--border); border-radius: 10px; color: var(--text); font: inherit; font-size: .86rem; line-height: 1.25; text-align: left; text-overflow: ellipsis; white-space: nowrap; cursor: pointer; }
.custom-select__trigger::after { content: ''; position: absolute; top: 17px; right: 15px; width: 7px; height: 7px; border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: rotate(45deg); transition: transform .15s, border-color .15s; }
.custom-select__trigger:hover, .custom-select.is-open .custom-select__trigger { border-color: var(--accent); background: var(--accent-light); }
.custom-select__trigger:focus-visible { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(232,93,58,.14); }
.custom-select.is-open .custom-select__trigger::after { border-color: var(--accent); transform: translateY(4px) rotate(225deg); }
.custom-select__list { position: absolute; top: calc(100% + 6px); right: 0; left: 0; z-index: 101; display: none; min-width: 100%; height: auto; max-height: 280px; padding: 5px; overflow-y: auto; overscroll-behavior: contain; background: var(--surface-strong); border: 1px solid var(--border); border-radius: 12px; box-shadow: 0 14px 30px rgba(26,26,46,.18); }
.custom-select__list--portal { position: fixed; inset: auto !important; z-index: 10000; min-width: 0; width: auto; height: auto; box-sizing: border-box; }
.custom-select.is-open .custom-select__list, .custom-select__list--portal { display: block; }
.custom-select__list--portal .custom-select__option { min-height: 36px; padding: 8px 11px; line-height: 1.2; }
.custom-select__list--portal .custom-select__search-input { min-height: 36px; padding: 7px 10px; }
@media (max-width: 600px) {
  .custom-select__list--portal { max-height: 240px !important; }
}
.custom-select__search { position: sticky; top: 0; z-index: 1; padding-bottom: 5px; background: var(--surface-strong); }
.custom-select__search-input { display: block; width: 100%; min-height: 38px; padding: 8px 10px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); color: var(--text); font: inherit; font-size: .84rem; outline: 0; }
.custom-select__search-input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(232,93,58,.12); }
.custom-select__option[hidden] { display: none; }
.custom-select__empty { padding: 11px; color: var(--muted); font-size: .84rem; text-align: center; }
.custom-select__option { display: block; width: 100%; min-height: 40px; padding: 11px; border: 0; border-radius: 8px; background: transparent; color: var(--text); font: inherit; font-size: .86rem; line-height: 1.25; text-align: left; cursor: pointer; }
.custom-select__option:hover, .custom-select__option[aria-selected='true'] { background: var(--accent-light); color: var(--accent-hover); }
.custom-select__option:disabled { color: var(--muted); cursor: default; }
.city-filters__field.is-select-open, .city-filters__search.is-select-open, .header-city-select.is-select-open, .home-search__field.is-select-open { position: relative; z-index: 100; }
.nav { gap: 19px; }.nav__login { padding: 8px 13px; background: var(--accent-light); border-radius: 8px; color: var(--accent-hover) !important; }

/* City page hierarchy */
.page-head > .container { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 390px); gap: 32px; align-items: end; }
.page-head .breadcrumbs { grid-column: 1 / -1; margin-bottom: -4px; }
.page-head h1, .page-head__intro { grid-column: 1; }.page-head__recommended { grid-column: 2; grid-row: 2 / span 2; align-self: stretch; padding: 20px; background: var(--bg); border: 1px solid #f0b2a4; border-radius: 15px; box-shadow: 0 8px 24px rgba(232,93,58,.08); }
.page-head__recommended-label { color: var(--accent); font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }.page-head__recommended h2 { margin: 6px 0 7px; font-size: 1.15rem; line-height: 1.2; }.page-head__recommended > p { color: var(--muted); font-size: .76rem; line-height: 1.45; }.page-head__recommended-list { display: grid; gap: 8px; margin: 15px 0; }.page-head__recommended-list a { display: grid; grid-template-columns: 1fr auto; gap: 2px 8px; padding: 11px; background: var(--surface); border: 1px solid var(--border); border-radius: 9px; color: var(--text); }.page-head__recommended-list a:hover { border-color: var(--accent); }.page-head__recommended-list strong { font-size: .83rem; }.page-head__recommended-list span { color: #9a6b00; font-size: .76rem; }.page-head__recommended-list small { grid-column: 1 / -1; overflow: hidden; color: var(--muted); font-size: .7rem; text-overflow: ellipsis; white-space: nowrap; }.page-head__recommended-link { display: inline-block; color: var(--accent); font-size: .78rem; font-weight: 700; }
.page-head .page-head__promoted { display: none; }

/* Basic status */
.company-card__unverified { position: absolute; left: 14px; top: 14px; padding: 5px 9px; background: rgba(26,26,46,.78); color: #fff; border-radius: 20px; font-size: .68rem; font-weight: 700; }.company-card--basic .company-card__details { background: #fcfbfa; }.company-card--basic .company-card__phone { border-color: var(--accent); color: var(--accent-hover); }

@media (max-width: 900px) { .page-head > .container { display: block; }.page-head__recommended { margin-top: 20px; }.page-head h1 { margin-top: 12px; }.header-city-select .custom-select { min-width: 135px; }.header-city-select select { min-width: 135px; } }
@media (max-width: 700px) { .nav { gap: 12px; }.header-city-select .custom-select { width: 130px; min-width: 118px; max-width: 130px; }.header-city-select select { width: 100%; }.page-head__recommended { padding: 16px; }.page-head__recommended-list { grid-template-columns: 1fr; }.page-head__recommended-list a { grid-template-columns: 1fr auto; } }

.page-head__recommended-company { padding: 13px; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; }.page-head__recommended-company-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }.page-head__recommended-company-head a { color: var(--text); }.page-head__recommended-company-head strong { display: block; font-size: .9rem; line-height: 1.25; }.page-head__recommended-company-head span { display: block; color: #9a6b00; font-size: .72rem; margin-top: 3px; }.page-head__recommended-company-head b { padding: 4px 7px; background: var(--accent-light); color: var(--accent-hover); border-radius: 6px; font-size: .65rem; }.page-head__recommended-types { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 9px; }.page-head__recommended-types span { padding: 3px 7px; background: var(--sea-light); color: #19786d; border-radius: 12px; font-size: .66rem; }.page-head__recommended-facts { display: grid; gap: 3px; margin-top: 10px; color: var(--muted); font-size: .7rem; line-height: 1.3; }.page-head__recommended-bottom { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding-top: 10px; margin-top: 10px; border-top: 1px solid var(--border); }.page-head__recommended-bottom strong { color: var(--sea); font-size: .8rem; }.page-head__recommended-bottom > a:not(.btn) { color: var(--text); font-size: .7rem; }.page-head__recommended-bottom .btn { margin-left: auto; }.company-card__unverified { display: inline-flex; align-items: center; left: 14px; top: 14px; padding: 5px 9px; background: rgba(26,26,46,.78); color: #fff; border-radius: 20px; font-size: .68rem; font-weight: 700; }
@media (max-width: 700px) { .page-head__recommended-bottom { align-items: stretch; flex-direction: column; }.page-head__recommended-bottom .btn { width: 100%; margin-left: 0; } }

/* Header cart and product menu */
.header__inner { gap: 14px; }.header-city-select { flex: 0 0 auto; }.header-cart { flex: 0 0 auto; min-height: 38px; padding: 8px 13px; border: 1px solid var(--accent); border-radius: 9px; background: var(--accent-light); color: var(--accent-hover); font-size: .8rem; font-weight: 800; cursor: pointer; }.header-cart span { display: inline-grid; place-items: center; min-width: 20px; height: 20px; margin-left: 4px; padding: 0 5px; background: var(--accent); color: #fff; border-radius: 20px; font-size: .7rem; }
.product-nav { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }.product-nav a { padding: 6px 10px; background: var(--surface); border: 1px solid var(--border); border-radius: 7px; color: var(--muted); font-size: .74rem; font-weight: 700; }.product-nav a:hover { border-color: var(--accent); color: var(--accent); }
.product-card { scroll-margin-top: 90px; }.product-card__bottom { align-items: center; }.quantity-control button:disabled { opacity: .5; cursor: not-allowed; }.cart-clear { width: 100%; margin-top: 9px; padding: 7px; border: 1px solid rgba(255,255,255,.2); border-radius: 7px; background: transparent; color: #c9cbd4; font-size: .75rem; cursor: pointer; }.cart-clear:hover { color: #fff; border-color: #fff; }
.cart-panel { position: fixed; z-index: 180; top: 0; right: 0; bottom: 0; width: min(390px, 100vw); max-height: none; padding: 24px; border-radius: 0; transform: translateX(105%); transition: transform .25s ease; overflow-y: auto; }.cart-panel.is-open { transform: translateX(0); }.cart-panel::before { content: ''; position: fixed; z-index: -1; top: 0; right: 100%; bottom: 0; width: 100vw; background: rgba(26,26,46,.4); opacity: 0; pointer-events: none; transition: opacity .25s; }.cart-panel.is-open::before { opacity: 1; pointer-events: auto; }
@media (max-width: 900px) { .header-city-select { order: 1; }.nav { order: 3; }.header-cart { order: 2; margin-left: auto; } }
@media (max-width: 680px) { .header__inner { min-height: 64px; gap: 8px; }.logo__text { display: none; }.header-city-select .custom-select__trigger { padding: 8px 30px 8px 6px; font-size: .72rem; }.header-city-select select { min-width: 118px; max-width: 130px; padding: 8px 6px; font-size: .72rem; }.header-cart { padding: 7px 9px; font-size: .72rem; }.cart-panel { padding: 20px 16px; } }
.header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }.header-actions .nav__login { white-space: nowrap; }
@media (max-width: 900px) { .header-actions { order: 2; }.nav { order: 3; }.header-city-select { order: 1; } }

/* Catalog media and news */
.product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }.product-card { position: relative; overflow: hidden; padding: 0; }.product-card__image { width: 100%; height: 150px; display: block; object-fit: cover; }.product-card__image--empty { background: linear-gradient(135deg, var(--accent-light), var(--sea-light)); }.product-card__body, .product-card__bottom { padding-left: 16px; padding-right: 16px; }.product-card__body { padding-top: 14px; }.product-card__bottom { padding-bottom: 16px; }.product-card__badge, .product-card__discount { position: absolute; top: 10px; padding: 5px 8px; border-radius: 7px; color: #fff; font-size: .68rem; font-weight: 800; }.product-card__badge { left: 10px; background: var(--sea); }.product-card__discount { right: 10px; background: var(--accent); }.product-card__bottom del { display: block; color: var(--muted); font-size: .7rem; font-weight: 400; margin-top: 2px; }.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }.news-card { overflow: hidden; padding: 18px; background: var(--bg); border: 1px solid var(--border); border-radius: 14px; }.news-card img { width: calc(100% + 36px); height: 150px; margin: -18px -18px 14px; object-fit: cover; }.news-card small { color: var(--muted); font-size: .7rem; }.news-card h3 { margin: 8px 0; font-size: 1rem; line-height: 1.3; }.news-card h3 a { color: var(--text); }.news-card p { color: var(--muted); font-size: .82rem; line-height: 1.5; }.news-card__company { display: block; color: var(--accent); font-size: .74rem; font-weight: 700; margin-top: 12px; }.news-card__content { color: #4f5564; font-size: .84rem; line-height: 1.55; margin-top: 12px; }.section--news, .city-news-section, .company-news { background: var(--surface); padding: 55px 0; }.company-news { margin-top: 42px; padding: 32px 0; }
.news-editor-form { max-width: 720px; }.rich-toolbar { display: flex; gap: 6px; padding: 7px; background: var(--surface); border: 1px solid var(--border); border-bottom: 0; border-radius: 8px 8px 0 0; }.rich-toolbar button { min-width: 32px; min-height: 30px; border: 1px solid var(--border); background: var(--bg); border-radius: 5px; cursor: pointer; }.rich-editor { min-height: 180px; padding: 12px; background: var(--bg); border: 1px solid var(--border); border-radius: 0 0 8px 8px; outline: none; line-height: 1.6; }.rich-editor:focus { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-light); }.portal-news-list { display: grid; gap: 8px; margin-top: 18px; }.portal-news-list > div { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; padding: 12px; background: var(--surface); border-radius: 8px; }.portal-news-list small { color: var(--muted); font-size: .75rem; }
@media (max-width: 800px) { .product-grid, .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }@media (max-width: 540px) { .product-grid, .news-grid { grid-template-columns: 1fr; }.product-card__image { height: 170px; } }

/* Content feature styles */
.product-card__image { height: 160px; }.product-card__badge { z-index: 1; }.product-card__discount { z-index: 1; }.review-photo { width: 72px; height: 72px; object-fit: cover; border-radius: 8px; margin-left: auto; }.review-item__head { align-items: center; }.news-card__content p { margin-bottom: 8px; }.news-card__content ul, .news-card__content ol { padding-left: 20px; margin: 8px 0; }

/* Company portal redesign */
.portal-page { background: #f5f7fb; color: #172033; }
.portal-shell { width: min(1220px, 100%); margin: 0 auto; padding: 28px 24px 64px; }
.portal-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.portal-brand { display: flex; align-items: center; gap: 14px; min-width: 0; }
.portal-brand__mark { display: grid; place-items: center; width: 48px; height: 48px; flex: 0 0 auto; background: linear-gradient(135deg, #e85d3a, #f29a4a); color: #fff; border-radius: 14px; font-size: 1.3rem; font-weight: 800; box-shadow: 0 8px 18px rgba(232,93,58,.22); }
.portal-header h1 { font-size: clamp(1.2rem, 2vw, 1.55rem); letter-spacing: -.03em; line-height: 1.2; }
.portal-header p { color: #7b8496; font-size: .8rem; margin-top: 4px; }
.portal-kicker { display: block; color: #e85d3a; font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 5px; }
.portal-actions { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.portal-menu { position: sticky; top: 12px; z-index: 10; display: flex; align-items: center; gap: 4px; overflow-x: auto; margin-bottom: 22px; padding: 6px; background: rgba(255,255,255,.9); border: 1px solid #e8ebf1; border-radius: 13px; box-shadow: 0 8px 24px rgba(28,40,64,.05); backdrop-filter: blur(12px); scrollbar-width: none; }
.portal-menu::-webkit-scrollbar { display: none; }
.portal-menu a { display: inline-flex; align-items: center; gap: 7px; min-height: 36px; padding: 7px 13px; color: #687386; border-radius: 9px; font-size: .8rem; font-weight: 700; white-space: nowrap; }
.portal-menu a:hover, .portal-menu__active { background: #fff1ed; color: #d84e2f !important; }
.portal-menu__count { display: inline-grid; place-items: center; min-width: 19px; height: 19px; padding: 0 5px; background: #e85d3a; color: #fff; border-radius: 10px; font-size: .66rem; }
.portal-welcome { display: flex; align-items: center; justify-content: space-between; gap: 22px; min-height: 150px; margin-bottom: 20px; padding: 28px 32px; background: linear-gradient(120deg, #1f2940, #2b3857); color: #fff; border-radius: 18px; box-shadow: 0 14px 30px rgba(31,41,64,.16); }
.portal-welcome h2 { font-size: clamp(1.35rem, 3vw, 2rem); letter-spacing: -.04em; line-height: 1.1; }
.portal-welcome p { color: #c4cada; font-size: .88rem; margin-top: 9px; }
.portal-stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 20px; }
.portal-stat { position: relative; min-height: 116px; padding: 18px; background: #fff; border: 1px solid #e8ebf1; border-radius: 15px; box-shadow: 0 5px 18px rgba(28,40,64,.035); }
.portal-stat__icon { display: grid; place-items: center; width: 30px; height: 30px; margin-bottom: 13px; background: #edf8f6; color: #2a9d8f; border-radius: 9px; font-size: .95rem; font-weight: 800; }
.portal-stat strong { display: block; color: #172033; font-size: 1.25rem; line-height: 1.2; }
.portal-stat > span:last-child { display: block; color: #7b8496; font-size: .74rem; margin-top: 5px; }
.portal-stat--accent { border-color: #f3b7aa; background: #fffaf8; }
.portal-stat--accent .portal-stat__icon { background: #fff0ec; color: #e85d3a; }
.portal-card { margin-bottom: 20px; padding: 24px; background: #fff; border: 1px solid #e8ebf1; border-radius: 16px; box-shadow: 0 5px 18px rgba(28,40,64,.035); }
.portal-card h2 { color: #172033; font-size: 1.12rem; letter-spacing: -.025em; }
.portal-section-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.portal-section-link { color: #e85d3a; font-size: .8rem; font-weight: 700; }
.portal-progress, .portal-tariff-badge { display: inline-flex; align-items: center; padding: 6px 10px; background: #edf8f6; color: #19786d; border-radius: 20px; font-size: .72rem; font-weight: 700; white-space: nowrap; }
.portal-tariff-badge { background: #fff0ec; color: #d84e2f; }
.portal-profile-tip { margin-bottom: 18px; padding: 15px 17px; background: #f8fafc; border: 1px solid #edf0f4; border-radius: 11px; }
.portal-profile-tip strong { font-size: .85rem; }
.portal-profile-tip p, .portal-hint { color: #7b8496; font-size: .78rem; line-height: 1.5; margin-top: 5px; }
.portal-checklist { display: flex; flex-wrap: wrap; gap: 7px 16px; margin-top: 12px; }
.portal-checklist span { color: #8992a1; font-size: .73rem; }
.portal-checklist .is-done { color: #168572; }
.portal-hint--wide { margin: -7px 0 17px; }
.portal-notice, .portal-success { padding: 11px 13px; border-radius: 9px; font-size: .8rem; }
.portal-notice--warning { background: #fff6e5; color: #986b13; }
.portal-success { background: #edf8f6; color: #14776c; }
.portal-request-form { display: grid; grid-template-columns: 150px minmax(180px, 1fr) auto; align-items: end; gap: 10px; }
.portal-request-form label, .portal-product-form label { display: block; color: #727d90; font-size: .72rem; margin: 0 0 5px; }
.portal-request-form input, .portal-request-form select, .portal-product-form input, .portal-product-form select { width: 100%; min-height: 40px; padding: 9px 11px; background: #fff; color: #172033; border: 1px solid #dfe4ec; border-radius: 8px; }
.portal-request-form input:focus, .portal-request-form select:focus, .portal-product-form input:focus, .portal-product-form select:focus { border-color: #e85d3a; outline: 2px solid #fff0ec; }
.portal-product-form { display: grid; gap: 12px; }
.portal-card--table { padding-bottom: 15px; }
.portal-table-wrap { overflow-x: auto; }
.portal-table { width: 100%; min-width: 650px; border-collapse: collapse; font-size: .8rem; }
.portal-table th { padding: 10px 12px; color: #8992a1; border-bottom: 1px solid #edf0f4; font-size: .68rem; font-weight: 700; text-align: left; text-transform: uppercase; white-space: nowrap; }
.portal-table td { padding: 13px 12px; color: #536074; border-bottom: 1px solid #f0f2f5; vertical-align: middle; }
.portal-table tr:last-child td { border-bottom: 0; }
.portal-table td strong { color: #172033; }
.portal-table td small { display: inline-block; max-width: 220px; overflow: hidden; color: #8992a1; font-size: .7rem; text-overflow: ellipsis; white-space: nowrap; }
.portal-status-form select { min-height: 31px; padding: 5px 8px; background: #f8fafc; color: #536074; border: 1px solid #dfe4ec; border-radius: 6px; font-size: .75rem; }
.portal-new-label { padding: 6px 10px; background: #fff0ec; color: #d84e2f; border-radius: 20px; font-size: .72rem; font-weight: 700; }
.portal-empty { padding: 15px 0 4px; color: #7b8496; font-size: .82rem; }
.portal-help-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.portal-help details { padding: 14px 16px; background: #f8fafc; border: 1px solid #edf0f4; border-radius: 10px; }
.portal-help summary { color: #27334a; cursor: pointer; font-size: .82rem; font-weight: 700; }
.portal-help details p { color: #7b8496; font-size: .78rem; line-height: 1.55; margin-top: 9px; }
.portal-footer { display: flex; justify-content: center; gap: 5px; padding: 21px 20px 28px; background: #1f2940; color: #aeb8ca; font-size: .76rem; }
.portal-footer a { color: #fff; font-weight: 700; }
@media (max-width: 900px) { .portal-stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .portal-shell { padding: 18px 14px 42px; }.portal-header { align-items: flex-start; flex-direction: column; gap: 15px; }.portal-actions { width: 100%; }.portal-actions .btn { flex: 1; }.portal-menu { top: 6px; margin-right: -14px; margin-left: -14px; border-radius: 0 0 12px 12px; }.portal-welcome { align-items: flex-start; flex-direction: column; padding: 23px 20px; }.portal-welcome .btn { width: 100%; }.portal-card { padding: 19px 16px; }.portal-section-head { align-items: flex-start; }.portal-request-form, .portal-help-grid { grid-template-columns: 1fr; }.portal-request-form .btn { width: 100%; }.portal-checklist { display: grid; grid-template-columns: 1fr 1fr; }.portal-footer { text-align: center; } }

/* Company portal pages and interactions */
.portal-app { width: min(1220px, 100%); margin: 0 auto; padding: 28px 24px 54px; }
.portal-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 24px; align-items: start; }
.portal-sidebar { position: sticky; top: 20px; }
.portal-sidebar .portal-menu { position: static; display: grid; gap: 3px; margin: 0; padding: 8px; }
.portal-sidebar .portal-menu a { justify-content: space-between; min-height: 42px; }
.portal-sidebar__tip { margin-top: 14px; padding: 16px; background: #fff1ed; border: 1px solid #f7d8d0; border-radius: 12px; }
.portal-sidebar__tip strong { color: #c94a2a; font-size: .8rem; }
.portal-sidebar__tip p { color: #986b61; font-size: .73rem; line-height: 1.45; margin: 6px 0 10px; }
.portal-sidebar__tip a { color: #d84e2f; font-size: .73rem; font-weight: 700; }
.portal-content { min-width: 0; }
.portal-page-heading { margin: 8px 0 24px; }
.portal-page-heading h2 { color: #172033; font-size: clamp(1.65rem, 3vw, 2.25rem); letter-spacing: -.045em; line-height: 1.1; }
.portal-page-heading p { max-width: 620px; color: #7b8496; font-size: .86rem; margin-top: 8px; }
.portal-action-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 20px; }
.portal-action-card { display: flex; flex-direction: column; min-height: 190px; padding: 20px; background: #fff; border: 1px solid #e8ebf1; border-radius: 15px; box-shadow: 0 5px 18px rgba(28,40,64,.035); transition: transform .18s, border-color .18s, box-shadow .18s; }
.portal-action-card:hover { border-color: #f1b2a4; box-shadow: 0 10px 24px rgba(28,40,64,.08); transform: translateY(-2px); }
.portal-action-card > span { color: #e85d3a; font-size: .7rem; font-weight: 800; }
.portal-action-card strong { color: #172033; font-size: 1rem; margin-top: 22px; }
.portal-action-card p { color: #7b8496; font-size: .78rem; line-height: 1.5; margin-top: 8px; }
.portal-action-card b { color: #e85d3a; font-size: .76rem; margin-top: auto; padding-top: 16px; }
.portal-card--intro { display: flex; align-items: center; justify-content: space-between; gap: 20px; background: #edf8f6; border-color: #d6efeb; }
.portal-card--intro h3 { color: #14776c; font-size: 1rem; }
.portal-card--intro p { color: #4e817b; font-size: .8rem; margin-top: 5px; }
.portal-draft { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; padding: 15px 17px; background: #fff7e8; border: 1px solid #f4ddb0; border-radius: 12px; }
.portal-draft strong { color: #855f16; font-size: .82rem; }
.portal-draft p { color: #987b43; font-size: .75rem; line-height: 1.45; margin-top: 4px; }
.btn-danger { background: #fff; color: #b8422a; border: 1px solid #efb7aa; }
.btn-danger:hover { background: #fff0ec; color: #a23722; }
.portal-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.portal-form-grid__wide { grid-column: 1 / -1; }
.portal-form .form-group { margin-bottom: 0; }
.portal-form .form-group label { display: block; color: #727d90; font-size: .74rem; margin-bottom: 6px; }
.portal-form input, .portal-form select, .portal-form textarea { width: 100%; padding: 10px 12px; background: #fff; color: #172033; border: 1px solid #dfe4ec; border-radius: 8px; font-size: .84rem; resize: vertical; }
.portal-form input:focus, .portal-form select:focus, .portal-form textarea:focus { border-color: #e85d3a; outline: 2px solid #fff0ec; }
.portal-form-actions { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 8px; margin-top: 20px; padding-top: 17px; border-top: 1px solid #edf0f4; }
.portal-form-status { color: #8992a1; font-size: .73rem; margin-right: auto; }
.portal-form-status.is-success { color: #168572; }.portal-form-status.is-error { color: #c94a2a; }
.portal-inline-tip { display: flex; gap: 12px; align-items: baseline; margin: -5px 0 20px; padding: 14px 16px; background: #edf8f6; border-radius: 10px; }
.portal-inline-tip strong { color: #14776c; font-size: .77rem; white-space: nowrap; }.portal-inline-tip span { color: #4e817b; font-size: .75rem; line-height: 1.45; }
.portal-row--new td { background: #fffaf8; }.portal-row--new td:first-child { border-left: 3px solid #e85d3a; }
.portal-two-columns { display: grid; grid-template-columns: minmax(220px, .8fr) minmax(0, 1.5fr); gap: 20px; align-items: start; }
.portal-inline-form { display: flex; gap: 8px; }.portal-inline-form input { min-width: 0; flex: 1; padding: 10px 11px; border: 1px solid #dfe4ec; border-radius: 8px; }.portal-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }.portal-tags span { padding: 5px 9px; color: #19786d; background: #edf8f6; border-radius: 15px; font-size: .7rem; }
.portal-field-hint { display: block; color: #8992a1; font-size: .7rem; margin-top: 5px; }.portal-optional { color: #a0a7b3; font-weight: 400; }.portal-news-form { max-width: 820px; }.portal-news-form .rich-toolbar { border-color: #dfe4ec; background: #f8fafc; }.portal-news-form .rich-toolbar button { min-height: 32px; padding: 5px 9px; color: #536074; border-color: #dfe4ec; background: #fff; font-size: .72rem; }.portal-news-form .rich-toolbar button:hover { color: #d84e2f; border-color: #efb7aa; background: #fff7f5; }.portal-news-form .rich-editor { min-height: 230px; border-color: #dfe4ec; font-size: .86rem; }.portal-news-form .rich-editor p { margin: 0 0 8px; }.portal-help-grid--page { grid-template-columns: repeat(2, minmax(0, 1fr)); }.portal-help-grid--page details { min-height: 92px; }.portal-locked { padding: 20px; background: #f8fafc; border: 1px dashed #dfe4ec; border-radius: 11px; }.portal-locked strong { color: #27334a; font-size: .9rem; }.portal-locked p { color: #7b8496; font-size: .8rem; line-height: 1.5; margin: 7px 0 15px; }.portal-notice--error { background: #fff0ec; color: #c94a2a; border-color: #f5d1c8; }
@media (max-width: 900px) { .portal-layout { grid-template-columns: 1fr; }.portal-sidebar { position: static; }.portal-sidebar .portal-menu { display: flex; overflow-x: auto; }.portal-sidebar__tip { display: none; }.portal-action-grid, .portal-two-columns { grid-template-columns: 1fr; } }
@media (max-width: 650px) { .portal-app { padding: 18px 14px 42px; }.portal-header { align-items: flex-start; flex-direction: column; gap: 15px; }.portal-actions { width: 100%; }.portal-actions .btn { flex: 1; }.portal-form-grid, .portal-help-grid--page { grid-template-columns: 1fr; }.portal-form-grid__wide { grid-column: auto; }.portal-form-actions { align-items: stretch; flex-direction: column; }.portal-form-status { margin-right: 0; }.portal-form-actions .btn { width: 100%; }.portal-card--intro, .portal-draft, .portal-inline-tip { align-items: flex-start; flex-direction: column; }.portal-card--intro .btn { width: 100%; }.portal-inline-tip strong { white-space: normal; }.portal-inline-form { flex-direction: column; }.portal-inline-form .btn { width: 100%; } }

/* Company portal polish */
.portal-page { background: #f3f5f9; }
.portal-page .btn { border-radius: 10px; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease; }
.portal-page .btn:focus-visible, .portal-page a:focus-visible, .portal-page input:focus-visible, .portal-page select:focus-visible, .portal-page textarea:focus-visible, .portal-page summary:focus-visible { outline: 3px solid rgba(232,93,58,.2); outline-offset: 2px; }
.portal-app { padding-top: 24px; }
.portal-header { min-height: 64px; padding: 4px 0 20px; border-bottom: 1px solid #e5e9f0; }
.portal-header h1 { font-weight: 800; }
.portal-brand__mark { position: relative; overflow: hidden; }
.portal-brand__mark::after { content: ''; position: absolute; width: 26px; height: 70px; top: -18px; right: 1px; background: rgba(255,255,255,.18); transform: rotate(32deg); }
.portal-actions .btn-line { background: #fff; }
.portal-actions .btn-line:hover { background: #fff7f5; box-shadow: 0 5px 14px rgba(28,40,64,.08); }
.portal-actions .btn-ghost:hover { background: #fff; color: #d84e2f; border-color: #efb7aa; }
.portal-layout { grid-template-columns: 232px minmax(0, 1fr); gap: 28px; }
.portal-sidebar { top: 16px; }
.portal-sidebar .portal-menu { background: #fff; border-color: #e4e8ef; box-shadow: 0 8px 25px rgba(28,40,64,.045); }
.portal-sidebar .portal-menu a { position: relative; padding: 9px 12px; }
.portal-sidebar .portal-menu a::before { content: ''; width: 3px; height: 0; position: absolute; left: 0; top: 50%; background: #e85d3a; border-radius: 3px; transform: translateY(-50%); transition: height .18s ease; }
.portal-sidebar .portal-menu a:hover::before, .portal-sidebar .portal-menu .portal-menu__active::before { height: 20px; }
.portal-sidebar .portal-menu .portal-menu__active { box-shadow: inset 0 0 0 1px #f7d8d0; }
.portal-menu__count { box-shadow: 0 2px 6px rgba(232,93,58,.3); }
.portal-sidebar__tip { box-shadow: 0 8px 20px rgba(232,93,58,.06); }
.portal-page-heading { padding: 4px 2px 2px; }
.portal-page-heading h2 { font-weight: 800; }
.portal-page-heading p { line-height: 1.55; }
.portal-stat-grid { gap: 16px; }
.portal-stat { min-height: 128px; padding: 20px; border-color: #e5e9f0; box-shadow: 0 7px 22px rgba(28,40,64,.045); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.portal-stat:hover { border-color: #d7dde8; box-shadow: 0 12px 27px rgba(28,40,64,.08); transform: translateY(-2px); }
.portal-stat__icon { width: 34px; height: 34px; margin-bottom: 16px; }
.portal-stat strong { font-size: 1.38rem; letter-spacing: -.025em; }
.portal-stat > span:last-child { font-size: .76rem; }
.portal-card, .portal-action-card { border-color: #e5e9f0; box-shadow: 0 7px 22px rgba(28,40,64,.04); }
.portal-card { padding: 26px; border-radius: 17px; }
.portal-card h2, .portal-card h3 { font-weight: 800; }
.portal-section-head { padding-bottom: 15px; margin-bottom: 20px; border-bottom: 1px solid #edf0f4; }
.portal-section-head h3 { font-size: 1.08rem; }
.portal-profile-tip { background: linear-gradient(135deg, #f8fafc, #fff); border-color: #e7ebf1; }
.portal-checklist { gap: 8px 18px; }
.portal-checklist span { display: inline-flex; align-items: center; gap: 4px; }
.portal-progress, .portal-tariff-badge { border: 1px solid #d5eee9; }
.portal-tariff-badge { border-color: #f5d1c8; }
.portal-form-grid { gap: 16px; }
.portal-form input, .portal-form select, .portal-form textarea, .portal-request-form input, .portal-request-form select, .portal-product-form input, .portal-product-form select, .portal-inline-form input { min-height: 43px; border-color: #d9e0e9; box-shadow: inset 0 1px 2px rgba(28,40,64,.02); transition: border-color .16s, box-shadow .16s, background .16s; }
.portal-form textarea { min-height: 125px; line-height: 1.55; }
.portal-form input:hover, .portal-form select:hover, .portal-form textarea:hover, .portal-request-form input:hover, .portal-request-form select:hover { border-color: #bdc8d7; }
.portal-form input:disabled, .portal-form select:disabled, .portal-form textarea:disabled { cursor: not-allowed; background: #f1f3f6; color: #a0a7b3; }
.portal-form input[type="file"] { min-height: 43px; padding: 6px; color: #6d7788; background: #f8fafc; cursor: pointer; }
.portal-form input[type="file"]::file-selector-button { margin-right: 9px; padding: 7px 10px; border: 1px solid #d9e0e9; border-radius: 7px; background: #fff; color: #536074; font: inherit; font-size: .74rem; font-weight: 700; cursor: pointer; transition: background .16s, border-color .16s; }
.portal-form input[type="file"]:hover::file-selector-button { border-color: #efb7aa; background: #fff7f5; color: #d84e2f; }
.portal-form-actions { margin-top: 24px; }
.portal-form-actions .btn { min-height: 40px; }
.portal-form-status { display: inline-flex; align-items: center; gap: 6px; }
.portal-form-status::before { content: ''; display: inline-block; width: 6px; height: 6px; background: #b7bfcb; border-radius: 50%; }
.portal-form-status.is-success::before { background: #10b981; }.portal-form-status.is-error::before { background: #e85d3a; }
.portal-table-wrap { border: 1px solid #edf0f4; border-radius: 11px; }
.portal-table { min-width: 720px; }
.portal-table th { padding: 12px 14px; background: #f8fafc; border-bottom-color: #e8edf3; letter-spacing: .04em; }
.portal-table th:first-child { border-radius: 10px 0 0 0; }.portal-table th:last-child { border-radius: 0 10px 0 0; }
.portal-table td { padding: 14px; }
.portal-table tbody tr { transition: background .15s; }.portal-table tbody tr:hover td { background: #fbfcfe; }
.portal-status-form select { min-height: 34px; border-color: #d9e0e9; cursor: pointer; transition: border-color .16s, background .16s; }.portal-status-form select:hover { border-color: #efb7aa; background: #fff7f5; }
.portal-row--new td { background: #fffaf8; }.portal-row--new:hover td { background: #fff5f1 !important; }
.portal-draft { box-shadow: 0 6px 18px rgba(152,107,19,.06); }.portal-draft .btn { flex: 0 0 auto; }
.portal-notice, .portal-success { border: 1px solid transparent; }.portal-notice--warning { border-color: #f4ddb0; }.portal-notice--success { border-color: #cdebe5; }
.portal-inline-tip { border: 1px solid #d6efeb; }
.portal-help details { transition: background .16s, border-color .16s; }.portal-help details:hover { border-color: #d5dde8; background: #fff; }.portal-help details[open] { border-color: #d6efeb; background: #fbfefd; }.portal-help summary { list-style: none; }.portal-help summary::-webkit-details-marker { display: none; }
.portal-help summary::after { content: '+'; float: right; color: #2a9d8f; font-size: 1rem; font-weight: 400; }.portal-help details[open] summary::after { content: '−'; }
.portal-help details p { max-width: none; }
.portal-news-form .rich-toolbar { align-items: center; flex-wrap: wrap; gap: 5px; padding: 8px; border-radius: 10px 10px 0 0; }.portal-news-form .rich-toolbar::before { content: 'Форматирование'; width: 100%; color: #8992a1; font-size: .67rem; font-weight: 700; margin: 0 0 2px 2px; }.portal-news-form .rich-toolbar button { border-radius: 7px; cursor: pointer; transition: color .16s, background .16s, border-color .16s, transform .16s; }.portal-news-form .rich-toolbar button:active { transform: translateY(1px); }.portal-news-form .rich-editor { min-height: 250px; padding: 16px; border-radius: 0 0 10px 10px; background: #fff; line-height: 1.7; }.portal-news-form .rich-editor:empty::before { content: 'Напишите текст новости…'; color: #a0a7b3; pointer-events: none; }.portal-news-form .rich-editor a { color: #d84e2f; text-decoration: underline; }.portal-news-form .rich-editor ul, .portal-news-form .rich-editor ol { padding-left: 24px; margin: 8px 0; }
.portal-locked { background: linear-gradient(135deg, #f8fafc, #fff); }
.portal-footer { border-top: 1px solid rgba(255,255,255,.08); }
.portal-login { padding: 34px; }.portal-login__brand { display: flex; align-items: center; gap: 8px; font-size: 1rem; }.portal-login__brand::before { content: 'Р'; display: grid; place-items: center; width: 30px; height: 30px; background: var(--accent); color: #fff; border-radius: 9px; font-size: .85rem; }.portal-login input { transition: border-color .16s, box-shadow .16s; }.portal-login input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-light); outline: 0; }.portal-login button { min-height: 44px; margin-top: 3px; }
@media (max-width: 900px) { .portal-layout { gap: 18px; }.portal-sidebar .portal-menu { padding: 6px; }.portal-sidebar .portal-menu a { min-height: 39px; }.portal-sidebar .portal-menu a::before { display: none; }.portal-sidebar .portal-menu .portal-menu__active { box-shadow: none; } }
@media (max-width: 650px) { .portal-app { padding: 16px 12px 38px; }.portal-header { padding-bottom: 16px; }.portal-header h1 { font-size: 1.28rem; }.portal-brand__mark { width: 42px; height: 42px; border-radius: 12px; }.portal-card { padding: 20px 16px; border-radius: 14px; }.portal-stat { min-height: 112px; padding: 15px; }.portal-stat__icon { margin-bottom: 11px; }.portal-action-card { min-height: 170px; }.portal-draft { padding: 14px; }.portal-draft .btn { width: 100%; }.portal-table-wrap { margin-right: -1px; margin-left: -1px; border-radius: 9px; }.portal-form-actions .portal-form-status { text-align: left; }.portal-news-form .rich-editor { min-height: 210px; } }

/* Portal shared shell, news and help final layer */
html:has(.portal-page), body.portal-page { min-height: 100%; }
body.portal-page { min-height: 100vh; display: flex; flex-direction: column; background: #f1f4f8; }
.portal-app--full { width: min(1380px, 100%); flex: 1 0 auto; }
.portal-app--full .portal-content { min-height: 520px; }
.portal-footer { flex: 0 0 auto; width: 100%; margin-top: auto; min-height: 68px; align-items: center; }
.portal-page-heading--split { display: flex; align-items: stretch; justify-content: space-between; gap: 26px; }
.portal-page-heading--split > div:first-child { min-width: 0; }
.portal-heading-help { display: flex; flex: 0 0 300px; flex-direction: column; justify-content: center; padding: 16px 18px; background: #fff7f5; border: 1px solid #f5d1c8; border-radius: 13px; box-shadow: 0 6px 16px rgba(232,93,58,.05); }
.portal-heading-help--sea { background: #f0faf8; border-color: #d5eee9; }
.portal-heading-help span { color: #d84e2f; font-size: .66rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.portal-heading-help--sea span { color: #19786d; }
.portal-heading-help strong { color: #27334a; font-size: .82rem; line-height: 1.35; margin-top: 6px; }
.portal-heading-help small { color: #7b8496; font-size: .72rem; line-height: 1.45; margin-top: 5px; }
.portal-card--editor { overflow: visible; }
.portal-editor-guide { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 22px; padding: 12px 14px; background: #f0faf8; border: 1px solid #d5eee9; border-radius: 10px; }
.portal-editor-guide__icon { display: grid; place-items: center; width: 20px; height: 20px; flex: 0 0 auto; background: #2a9d8f; color: #fff; border-radius: 50%; font-size: .72rem; font-weight: 800; }
.portal-editor-guide p { color: #4e817b; font-size: .75rem; line-height: 1.5; }
.portal-editor-guide strong { color: #14776c; }
.portal-required { color: #d84e2f; font-size: .64rem; font-weight: 700; margin-left: 5px; }
.portal-count { display: inline-grid; place-items: center; min-width: 23px; height: 23px; margin-left: 5px; padding: 0 6px; background: #edf8f6; color: #19786d; border-radius: 12px; font-size: .68rem; vertical-align: 2px; }
.portal-news-list { gap: 10px; }
.portal-news-item { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 16px 17px; background: #fff; border: 1px solid #e8edf3; border-radius: 12px; transition: border-color .18s, box-shadow .18s, opacity .22s, transform .22s; }
.portal-news-item:hover { border-color: #d7dde8; box-shadow: 0 7px 18px rgba(28,40,64,.055); }
.portal-news-item.is-removing { opacity: 0; transform: translateX(10px); }
.portal-news-item__main { min-width: 0; }
.portal-news-item__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 7px; }
.portal-news-item__meta time { color: #9aa3b1; font-size: .69rem; }
.portal-news-item h4 { overflow: hidden; color: #27334a; font-size: .88rem; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }
.portal-news-status { display: inline-flex; align-items: center; gap: 5px; padding: 4px 8px; border-radius: 12px; font-size: .65rem; font-weight: 750; }
.portal-news-status::before { content: ''; width: 5px; height: 5px; background: currentColor; border-radius: 50%; }
.portal-news-status--pending { background: #fff7e8; color: #986b13; }.portal-news-status--published { background: #edf8f6; color: #14776c; }.portal-news-status--rejected { background: #fff0ec; color: #c94a2a; }
.portal-news-item__note { color: #c94a2a; font-size: .72rem; line-height: 1.4; margin-top: 6px; }
.portal-news-item__actions { display: flex; flex: 0 0 auto; gap: 7px; }
.portal-news-item__actions .btn { min-height: 34px; }
.portal-empty--rich { display: grid; justify-items: center; padding: 38px 18px; border: 1px dashed #d9e0e9; border-radius: 12px; text-align: center; }
.portal-empty__icon { display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 8px; background: #fff0ec; color: #e85d3a; border-radius: 50%; font-size: 1.1rem; }
.portal-empty--rich strong { color: #536074; font-size: .86rem; }.portal-empty--rich p { color: #8992a1; font-size: .75rem; margin-top: 5px; }
.portal-help-layout { display: grid; grid-template-columns: 205px minmax(0, 1fr); gap: 22px; align-items: start; }
.portal-help-index { position: sticky; top: 18px; display: grid; gap: 3px; padding: 10px; background: #fff; border: 1px solid #e5e9f0; border-radius: 13px; box-shadow: 0 7px 20px rgba(28,40,64,.04); }
.portal-help-index__title { padding: 6px 9px 11px; color: #8992a1; font-size: .65rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.portal-help-index a { display: flex; align-items: center; justify-content: space-between; padding: 9px; color: #687386; border-radius: 8px; font-size: .74rem; font-weight: 700; transition: color .16s, background .16s; }
.portal-help-index a span { color: #a0a7b3; font-size: .63rem; font-weight: 500; }
.portal-help-index a:hover { background: #fff1ed; color: #d84e2f; }.portal-help-index a:hover span { color: #e85d3a; }
.portal-help-content { display: grid; gap: 14px; min-width: 0; }
.portal-help-section { padding: 24px; background: #fff; border: 1px solid #e5e9f0; border-radius: 15px; box-shadow: 0 7px 20px rgba(28,40,64,.035); scroll-margin-top: 20px; }
.portal-help-section__head { display: flex; align-items: flex-start; gap: 12px; padding-bottom: 16px; margin-bottom: 16px; border-bottom: 1px solid #edf0f4; }
.portal-help-number { display: grid; place-items: center; width: 29px; height: 29px; flex: 0 0 auto; background: #fff0ec; color: #d84e2f; border-radius: 8px; font-size: .68rem; font-weight: 800; }
.portal-help-section h3 { color: #27334a; font-size: 1.02rem; }.portal-help-section__head p { color: #8992a1; font-size: .75rem; margin-top: 4px; }
.portal-start-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }.portal-start-steps > div { display: grid; gap: 5px; padding: 13px; background: #f8fafc; border: 1px solid #edf0f4; border-radius: 10px; }.portal-start-steps strong { color: #2a9d8f; font-size: .68rem; }.portal-start-steps b { color: #27334a; font-size: .77rem; }.portal-start-steps span { color: #8992a1; font-size: .7rem; line-height: 1.4; }
.portal-faq-list { display: grid; gap: 8px; }.portal-faq-list details { padding: 13px 15px; background: #f8fafc; border: 1px solid #edf0f4; border-radius: 9px; }.portal-faq-list details[open] { background: #fbfefd; border-color: #d5eee9; }.portal-faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #536074; cursor: pointer; font-size: .79rem; font-weight: 750; list-style: none; }.portal-faq-list summary::-webkit-details-marker { display: none; }.portal-faq-list summary::after { content: '+'; color: #2a9d8f; font-size: 1rem; font-weight: 400; }.portal-faq-list details[open] summary::after { content: '−'; }.portal-faq-list p { max-width: none; color: #7b8496; font-size: .76rem; line-height: 1.6; margin-top: 10px; }
.portal-support-card { display: flex; align-items: center; gap: 14px; margin-top: 18px; padding: 20px 22px; background: linear-gradient(120deg, #1f2940, #2d3b5c); color: #fff; border-radius: 15px; box-shadow: 0 10px 24px rgba(31,41,64,.14); }.portal-support-card__icon { display: grid; place-items: center; width: 38px; height: 38px; flex: 0 0 auto; border: 1px solid rgba(255,255,255,.28); border-radius: 50%; font-size: 1.1rem; }.portal-support-card .portal-kicker { color: #f29a4a; }.portal-support-card h3 { font-size: .98rem; }.portal-support-card p { color: #c4cada; font-size: .75rem; line-height: 1.45; margin-top: 4px; }.portal-support-card .btn { margin-left: auto; flex: 0 0 auto; }
@media (max-width: 900px) { .portal-page-heading--split { display: block; }.portal-heading-help { margin-top: 16px; }.portal-help-layout { grid-template-columns: 1fr; }.portal-help-index { position: static; grid-template-columns: repeat(3, 1fr); gap: 4px; }.portal-help-index__title { grid-column: 1 / -1; }.portal-help-index a { background: #f8fafc; } }
@media (max-width: 650px) { .portal-page-heading--split { margin-bottom: 20px; }.portal-heading-help { padding: 14px; }.portal-news-item { align-items: stretch; flex-direction: column; gap: 13px; }.portal-news-item h4 { white-space: normal; }.portal-news-item__actions { width: 100%; }.portal-news-item__actions .btn { flex: 1; }.portal-help-section { padding: 19px 16px; }.portal-help-index { display: flex; overflow-x: auto; margin-right: -1px; margin-left: -1px; padding: 6px; }.portal-help-index__title { display: none; }.portal-help-index a { flex: 0 0 auto; white-space: nowrap; }.portal-start-steps { grid-template-columns: 1fr; }.portal-support-card { align-items: flex-start; flex-wrap: wrap; padding: 18px; }.portal-support-card .btn { width: 100%; margin: 4px 0 0 52px; } }

/* Contextual guidance states */
.portal-checklist span small { color: #a0a7b3; font-size: .62rem; font-weight: 500; }
.portal-checklist span.is-done small { color: #8992a1; }
.portal-empty--compact { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 12px 0; padding: 10px 12px; background: #fff7e8; border: 1px solid #f4ddb0; border-radius: 8px; }
.portal-empty--compact strong { color: #855f16; font-size: .74rem; }.portal-empty--compact p { color: #987b43; font-size: .7rem; }
.portal-field-hint { line-height: 1.4; }
.portal-form .form-group + .form-group { margin-top: 2px; }
@media (max-width: 650px) { .portal-empty--compact { align-items: flex-start; flex-direction: column; gap: 3px; } }

/* Tariff and catalog controls */
.portal-card--tariff-home { display: flex; align-items: center; justify-content: space-between; gap: 20px; background: linear-gradient(120deg, #fff7f5, #fff); border-color: #f5d1c8; }
.portal-card--tariff-home h3 { color: #c94a2a; }.portal-card--tariff-home p { color: #7b8496; font-size: .78rem; margin-top: 5px; }.portal-card--tariff-home .portal-notice { flex: 0 0 auto; margin: 0; }
.portal-tariff-summary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 18px; }.portal-tariff-summary div { padding: 13px 15px; background: #f8fafc; border: 1px solid #edf0f4; border-radius: 9px; }.portal-tariff-summary span { display: block; color: #8992a1; font-size: .7rem; }.portal-tariff-summary strong { display: block; color: #27334a; font-size: .9rem; margin-top: 4px; }
.portal-tariff-form { display: grid; grid-template-columns: minmax(170px, 1fr) minmax(180px, 1fr) minmax(170px, .8fr); gap: 12px; align-items: end; }.portal-tariff-form label { display: block; color: #727d90; font-size: .72rem; margin-bottom: 5px; }.portal-tariff-form select, .portal-tariff-form input { width: 100%; min-height: 42px; padding: 9px 11px; background: #fff; color: #172033; border: 1px solid #d9e0e9; border-radius: 8px; }.portal-tariff-form .portal-form-grid__wide { grid-column: 1 / -1; }.portal-tariff-total { min-height: 67px; padding: 10px 12px; background: #edf8f6; border: 1px solid #d5eee9; border-radius: 9px; }.portal-tariff-total span, .portal-tariff-total small { display: block; color: #4e817b; font-size: .68rem; }.portal-tariff-total strong { display: block; color: #14776c; font-size: 1.1rem; margin: 2px 0; }.portal-tariff-form > .btn { grid-column: 1 / -1; justify-self: start; }
.portal-table td .btn { margin-right: 4px; }.portal-table td small { color: #8992a1; font-size: .68rem; }.portal-card--tariff-home .btn { white-space: nowrap; }
@media (max-width: 700px) { .portal-card--tariff-home { align-items: stretch; flex-direction: column; }.portal-card--tariff-home .btn { width: 100%; }.portal-tariff-form { grid-template-columns: 1fr; }.portal-tariff-form .portal-form-grid__wide, .portal-tariff-form > .btn { grid-column: auto; }.portal-tariff-form > .btn { width: 100%; }.portal-tariff-summary { grid-template-columns: 1fr; } }

/* Compact portal layout and mobile navigation */
.portal-toasts { position: fixed; z-index: 500; top: 18px; right: 18px; display: grid; gap: 8px; width: min(360px, calc(100vw - 36px)); pointer-events: none; }
.portal-toast { display: flex; align-items: center; gap: 9px; padding: 11px 12px; background: #fff; border: 1px solid #d5eee9; border-radius: 10px; color: #27334a; box-shadow: 0 12px 28px rgba(28,40,64,.15); font-size: .78rem; pointer-events: auto; animation: portal-toast-in .2s ease-out; }
.portal-toast--error { border-color: #f5d1c8; }.portal-toast__mark { display: grid; place-items: center; width: 20px; height: 20px; flex: 0 0 auto; background: #2a9d8f; color: #fff; border-radius: 50%; font-size: .7rem; font-weight: 800; }.portal-toast--error .portal-toast__mark { background: #e85d3a; }.portal-toast button { margin-left: auto; padding: 0 3px; border: 0; background: none; color: #8992a1; cursor: pointer; font-size: 1.1rem; line-height: 1; }.portal-toast.is-leaving { opacity: 0; transform: translateY(-5px); transition: opacity .18s, transform .18s; }
@keyframes portal-toast-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }
.portal-app--full { padding-top: 18px; padding-bottom: 28px; }.portal-header { margin-bottom: 16px; padding-bottom: 14px; }.portal-layout { gap: 20px; }.portal-page-heading { margin-bottom: 16px; }.portal-page-heading p { margin-top: 5px; }.portal-card { margin-bottom: 14px; padding: 20px; }.portal-section-head { margin-bottom: 14px; padding-bottom: 11px; }.portal-stat-grid { gap: 10px; margin-bottom: 14px; }.portal-stat { min-height: 106px; padding: 14px; }.portal-stat__icon { width: 29px; height: 29px; margin-bottom: 10px; }.portal-action-grid { gap: 10px; margin-bottom: 14px; }.portal-action-card { min-height: 160px; padding: 16px; }.portal-action-card strong { margin-top: 15px; }.portal-action-card b { padding-top: 10px; }.portal-card--intro { padding: 18px 20px; }.portal-profile-tip { margin-bottom: 14px; padding: 12px 14px; }.portal-form-grid { gap: 11px; }.portal-form-actions { margin-top: 16px; padding-top: 12px; }.portal-tariff-summary { gap: 8px; margin-bottom: 12px; }.portal-tariff-summary div { padding: 10px 12px; }.portal-help-section { padding: 19px; }.portal-support-card { margin-top: 14px; padding: 17px 19px; }
@media (max-width: 900px) { .portal-app--full { padding-right: 16px; padding-left: 16px; }.portal-layout { gap: 12px; }.portal-sidebar { z-index: 30; }.portal-sidebar .portal-menu { margin-bottom: 0; } }
@media (max-width: 650px) {
  body.portal-page { padding-bottom: 62px; }
  .portal-app--full { width: 100%; padding: 10px 10px 14px; }
  .portal-header { flex-direction: row; align-items: center; gap: 8px; min-height: 48px; margin-bottom: 10px; padding: 0 2px 10px; }
  .portal-brand { gap: 9px; min-width: 0; }.portal-brand__mark { width: 36px; height: 36px; border-radius: 10px; font-size: 1rem; }.portal-brand .portal-kicker { display: none; }.portal-header h1 { overflow: hidden; max-width: 44vw; font-size: .92rem; text-overflow: ellipsis; white-space: nowrap; }.portal-header p { overflow: hidden; max-width: 44vw; margin-top: 2px; font-size: .65rem; text-overflow: ellipsis; white-space: nowrap; }.portal-actions { width: auto; margin-left: auto; }.portal-actions .btn { min-height: 31px; padding: 5px 7px; font-size: .68rem; }.portal-actions .btn-line { max-width: 38px; overflow: hidden; font-size: 0; }.portal-actions .btn-line::after { content: '↗'; font-size: .9rem; }.portal-actions .btn-ghost { padding-right: 8px; padding-left: 8px; font-size: 0; }.portal-actions .btn-ghost::after { content: '×'; font-size: 1rem; }
  .portal-layout { display: block; }.portal-sidebar { position: static; }.portal-sidebar .portal-menu { position: fixed; z-index: 400; right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin: 0; padding: 6px 5px max(6px, env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); border: 0; border-top: 1px solid #e2e7ef; border-radius: 0; box-shadow: 0 -6px 18px rgba(28,40,64,.08); backdrop-filter: blur(14px); }
  .portal-sidebar .portal-menu a { display: flex; min-width: 0; min-height: 45px; align-items: center; justify-content: center; padding: 5px 2px; border-radius: 8px; font-size: .58rem; text-align: center; white-space: normal; }.portal-sidebar .portal-menu a:nth-child(1)::after { content: 'Главная'; }.portal-sidebar .portal-menu a:nth-child(2)::after { content: 'Статистика'; }.portal-sidebar .portal-menu a:nth-child(3)::after { content: 'Товары'; }.portal-sidebar .portal-menu a:nth-child(4)::after { content: 'Заказы'; }.portal-sidebar .portal-menu a:nth-child(5)::after { content: 'Компания'; }.portal-sidebar .portal-menu a:nth-child(6)::after { content: 'Новости'; }.portal-sidebar .portal-menu a:nth-child(7)::after { content: 'Помощь'; }.portal-sidebar .portal-menu a { font-size: 0; }.portal-sidebar .portal-menu a::after { color: #687386; font-size: .58rem; }.portal-sidebar .portal-menu a.portal-menu__active::after { color: #d84e2f; }.portal-sidebar .portal-menu__count { position: absolute; top: 3px; right: 16%; min-width: 16px; height: 16px; font-size: .56rem; }.portal-sidebar__tip { display: none; }
  .portal-content { padding-bottom: 3px; }.portal-page-heading { margin: 4px 2px 12px; }.portal-page-heading h2 { font-size: 1.42rem; }.portal-page-heading p { font-size: .76rem; line-height: 1.4; }.portal-page-heading--split { margin-bottom: 12px; }.portal-heading-help { margin-top: 10px; padding: 11px 13px; }.portal-heading-help small { font-size: .68rem; }
  .portal-card { padding: 15px 13px; margin-bottom: 10px; border-radius: 12px; }.portal-card h3 { font-size: .96rem; }.portal-section-head { gap: 8px; margin-bottom: 11px; }.portal-kicker { margin-bottom: 3px; font-size: .6rem; }.portal-stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }.portal-stat { min-height: 91px; padding: 11px; border-radius: 10px; }.portal-stat__icon { width: 25px; height: 25px; margin-bottom: 7px; font-size: .75rem; }.portal-stat strong { font-size: 1rem; }.portal-stat > span:last-child { margin-top: 2px; font-size: .64rem; }.portal-action-grid { grid-template-columns: 1fr; gap: 7px; }.portal-action-card { min-height: 0; padding: 13px; border-radius: 10px; }.portal-action-card strong { margin-top: 8px; font-size: .86rem; }.portal-action-card p { margin-top: 4px; font-size: .7rem; }.portal-action-card b { padding-top: 8px; font-size: .68rem; }.portal-card--tariff-home { gap: 11px; padding: 15px 13px; }.portal-card--tariff-home p { font-size: .7rem; }.portal-card--tariff-home .portal-notice { width: 100%; text-align: center; }
  .portal-form-grid { grid-template-columns: 1fr; gap: 9px; }.portal-form-grid__wide { grid-column: auto; }.portal-form .form-group label, .portal-tariff-form label { margin-bottom: 4px; font-size: .68rem; }.portal-form input, .portal-form select, .portal-form textarea, .portal-tariff-form input, .portal-tariff-form select { min-height: 39px; padding: 8px 9px; font-size: .78rem; }.portal-form textarea { min-height: 100px; }.portal-form-actions { gap: 6px; }.portal-form-actions .btn { min-height: 38px; }.portal-form-status { font-size: .66rem; }.portal-tariff-form { gap: 9px; }.portal-tariff-total { min-height: 58px; }.portal-tariff-total strong { font-size: 1rem; }
  .portal-table-wrap { overflow-x: auto; }.portal-table { min-width: 620px; font-size: .72rem; }.portal-table th, .portal-table td { padding: 9px 8px; }.portal-table th { font-size: .6rem; }.portal-status-form select { min-height: 29px; font-size: .68rem; }.portal-inline-tip { gap: 5px; margin-bottom: 10px; padding: 11px 12px; }.portal-inline-tip strong, .portal-inline-tip span { font-size: .68rem; }.portal-news-item { padding: 12px; }.portal-news-item__actions .btn { min-height: 32px; font-size: .68rem; }.portal-help-index a { font-size: .66rem; }.portal-help-section { padding: 14px 12px; }.portal-help-section__head { margin-bottom: 11px; padding-bottom: 10px; }.portal-help-section h3 { font-size: .9rem; }.portal-start-steps > div { padding: 10px; }.portal-faq-list summary { font-size: .72rem; }.portal-faq-list p { font-size: .7rem; }.portal-support-card { gap: 9px; padding: 14px; }.portal-support-card p { font-size: .68rem; }.portal-support-card .btn { margin-left: 47px; }
  .portal-toasts { top: 10px; right: 10px; width: calc(100vw - 20px); }.portal-toast { padding: 9px 10px; font-size: .72rem; }
}

@media (max-width: 650px) {
  .portal-sidebar .portal-menu { display: flex; overflow-x: auto; justify-content: flex-start; scrollbar-width: none; }
  .portal-sidebar .portal-menu::-webkit-scrollbar { display: none; }
  .portal-sidebar .portal-menu a { position: relative; flex: 0 0 70px; }
  .portal-sidebar .portal-menu__count { right: 10px; }
}

@media (max-width: 650px) {
  .portal-sidebar .portal-menu a:nth-child(n)::after { content: attr(data-nav-label); color: #687386; font-size: .58rem; }
  .portal-sidebar .portal-menu a.portal-menu__active:nth-child(n)::after { color: #d84e2f; }
}

/* Company registration and city onboarding */
.section--join { background: #1f2940; color: #fff; }
.join-company { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding-top: 46px; padding-bottom: 46px; }.join-company .eyebrow { color: #f29a4a; }.join-company .section-title { color: #fff; }.join-company p:last-child { max-width: 610px; color: #c4cada; font-size: .92rem; line-height: 1.6; margin-top: 9px; }.join-company .btn { flex: 0 0 auto; }
.city-empty-company { display: flex; align-items: center; gap: 15px; max-width: 760px; margin: 22px auto 0; padding: 20px 22px; background: linear-gradient(120deg, #fff7f5, #fff); border: 1px solid #f3c6ba; border-radius: 15px; color: #27334a; box-shadow: 0 10px 25px rgba(232,93,58,.08); }.city-empty-company:hover { border-color: #e85d3a; color: #27334a; transform: translateY(-1px); }.city-empty-company__icon { display: grid; place-items: center; width: 38px; height: 38px; flex: 0 0 auto; background: #e85d3a; color: #fff; border-radius: 50%; font-size: 1.5rem; font-weight: 300; }.city-empty-company span:nth-child(2) { display: grid; gap: 3px; min-width: 0; }.city-empty-company strong { font-size: .92rem; }.city-empty-company small { color: #7b8496; font-size: .75rem; line-height: 1.45; }.city-empty-company b { margin-left: auto; color: #d84e2f; font-size: .75rem; white-space: nowrap; }
.registration-page { background: linear-gradient(135deg, #f1f4f8 0%, #fff7f5 100%); }.registration-shell { width: min(720px, 100%); margin: 0 auto; padding: 36px 20px 56px; }.registration-back { display: inline-block; color: #687386; font-size: .78rem; margin-bottom: 18px; }.registration-back:hover { color: #d84e2f; }.registration-card { padding: 28px; background: #fff; border: 1px solid #e5e9f0; border-radius: 18px; box-shadow: 0 15px 38px rgba(28,40,64,.08); }.registration-head { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }.registration-head .portal-brand__mark { width: 46px; height: 46px; }.registration-head h1 { color: #172033; font-size: 1.55rem; letter-spacing: -.035em; }.registration-head p { color: #7b8496; font-size: .8rem; line-height: 1.5; margin-top: 4px; }.registration-steps { display: flex; align-items: center; gap: 9px; margin-bottom: 22px; }.registration-steps span { display: flex; align-items: center; gap: 7px; color: #a0a7b3; font-size: .75rem; font-weight: 700; }.registration-steps span:first-child { color: #d84e2f; }.registration-steps span.is-active { color: #d84e2f; }.registration-steps span.is-active b { color: #536074; }.registration-steps span:not(.is-active) b { color: #a0a7b3; }.registration-steps span { white-space: nowrap; }.registration-steps span::first-letter { display: grid; }.registration-steps i { width: 42px; height: 1px; background: #dfe4ec; }.registration-info { margin-bottom: 18px; padding: 12px 14px; background: #f0faf8; border: 1px solid #d5eee9; border-radius: 9px; }.registration-info strong { color: #14776c; font-size: .78rem; }.registration-info p { color: #4e817b; font-size: .73rem; line-height: 1.45; margin-top: 3px; }.registration-form .form-group { margin-bottom: 14px; }.registration-form .form-group label { display: block; color: #536074; font-size: .76rem; font-weight: 700; margin-bottom: 5px; }.registration-form .form-group input, .registration-form .form-group select, .registration-form .form-group textarea { width: 100%; min-height: 43px; padding: 10px 12px; background: #fff; color: #172033; border: 1px solid #d9e0e9; border-radius: 8px; }.registration-form .form-group textarea { line-height: 1.55; resize: vertical; }.registration-form .form-group input:focus, .registration-form .form-group select:focus, .registration-form .form-group textarea:focus { border-color: #e85d3a; outline: 3px solid #fff0ec; }.registration-form .form-group small { display: block; color: #8992a1; font-size: .68rem; line-height: 1.4; margin-top: 5px; }.registration-submit { width: 100%; min-height: 44px; margin-top: 5px; }.registration-preview { position: relative; display: grid; gap: 3px; margin-bottom: 17px; padding: 13px 82px 13px 14px; background: #f8fafc; border: 1px solid #edf0f4; border-radius: 9px; }.registration-preview span { color: #8992a1; font-size: .66rem; }.registration-preview strong { color: #27334a; font-size: .85rem; }.registration-preview small { color: #7b8496; font-size: .7rem; }.registration-preview a { position: absolute; top: 50%; right: 13px; color: #d84e2f; font-size: .7rem; font-weight: 700; transform: translateY(-50%); }.registration-footnote { padding-top: 17px; color: #8992a1; font-size: .7rem; line-height: 1.5; text-align: center; }
@media (max-width: 650px) { .join-company { align-items: stretch; flex-direction: column; gap: 15px; padding-top: 31px; padding-bottom: 31px; }.join-company p:last-child { font-size: .78rem; }.join-company .btn { width: 100%; }.city-empty-company { align-items: flex-start; flex-wrap: wrap; margin-top: 15px; padding: 15px; }.city-empty-company b { width: 100%; margin-left: 53px; }.registration-shell { padding: 18px 12px 34px; }.registration-card { padding: 20px 15px; border-radius: 13px; }.registration-head { align-items: flex-start; margin-bottom: 18px; }.registration-head .portal-brand__mark { width: 38px; height: 38px; }.registration-head h1 { font-size: 1.25rem; }.registration-head p { font-size: .72rem; }.registration-steps { margin-bottom: 16px; }.registration-steps i { width: 25px; }.registration-steps span b { display: none; }.registration-form .form-group input, .registration-form .form-group select, .registration-form .form-group textarea { min-height: 40px; padding: 8px 10px; font-size: .78rem; } }

.portal-login__register { display: block; padding: 11px 0 0; color: #d84e2f; font-size: .78rem; font-weight: 700; text-align: center; }
.portal-login__register:hover { color: #a23722; }

/* Empty city conversion block */
.city-empty-hero { display: grid; grid-template-columns: minmax(0, 1fr) 190px; gap: 24px; align-items: center; margin: 16px auto 14px; padding: 30px 32px; background: linear-gradient(120deg, #fff7f5 0%, #fff 68%); border: 1px solid #f2c3b8; border-radius: 18px; box-shadow: 0 13px 32px rgba(232,93,58,.09); }.city-empty-hero__content { min-width: 0; }.city-empty-hero__eyebrow { display: inline-flex; padding: 5px 9px; background: #fff0ec; color: #d84e2f; border-radius: 15px; font-size: .66rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }.city-empty-hero h2 { max-width: 620px; margin-top: 12px; color: #172033; font-size: clamp(1.35rem, 3vw, 2rem); letter-spacing: -.04em; line-height: 1.12; }.city-empty-hero p { max-width: 650px; color: #687386; font-size: .88rem; line-height: 1.6; margin-top: 10px; }.city-empty-hero__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }.city-empty-hero__actions .btn { min-height: 40px; }.city-empty-hero ul { display: flex; flex-wrap: wrap; gap: 7px 18px; margin-top: 16px; padding: 0; color: #4e817b; font-size: .72rem; list-style: none; }.city-empty-hero li::before { content: '✓'; margin-right: 5px; color: #2a9d8f; font-weight: 800; }.city-empty-hero__visual { display: grid; place-items: center; align-content: center; min-height: 150px; background: linear-gradient(145deg, #fbdad3, #d9f1ee); border-radius: 50%; color: #e85d3a; }.city-empty-hero__visual span { font-size: 4rem; font-weight: 200; line-height: .8; }.city-empty-hero__visual small { color: #19786d; font-size: .68rem; line-height: 1.35; text-align: center; margin-top: 13px; }.city-empty-benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin: 0 auto 18px; }.city-empty-benefits > div { display: grid; gap: 4px; padding: 13px 15px; background: #f8fafc; border: 1px solid #e8edf3; border-radius: 10px; }.city-empty-benefits strong { color: #27334a; font-size: .76rem; }.city-empty-benefits span { color: #8992a1; font-size: .7rem; line-height: 1.45; }.city-filter-empty { display: grid; justify-items: center; gap: 6px; margin: 20px auto; padding: 24px 20px; background: #f8fafc; border: 1px solid #e8edf3; border-radius: 13px; text-align: center; }.city-filter-empty strong { color: #536074; font-size: .86rem; }.city-filter-empty p { color: #8992a1; font-size: .75rem; }.city-filter-empty > div { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 7px; }
@media (max-width: 700px) { .city-empty-hero { grid-template-columns: 1fr; gap: 16px; padding: 21px 17px; border-radius: 14px; }.city-empty-hero h2 { font-size: 1.3rem; }.city-empty-hero p { font-size: .78rem; }.city-empty-hero__actions { display: grid; grid-template-columns: 1fr; }.city-empty-hero__actions .btn { width: 100%; }.city-empty-hero ul { display: grid; gap: 6px; }.city-empty-hero__visual { width: 118px; min-height: 118px; justify-self: center; }.city-empty-hero__visual span { font-size: 3rem; }.city-empty-benefits { grid-template-columns: 1fr; }.city-filter-empty > div { width: 100%; }.city-filter-empty .btn { width: 100%; } }

/* City page final polish */
.page-head { padding: 28px 0 30px; background: linear-gradient(135deg, #f8fafc 0%, #fff7f5 100%); }
.page-head > .container { row-gap: 13px; }
.page-head .breadcrumbs { margin-bottom: 0; color: #8992a1; font-size: .74rem; }
.page-head h1 { max-width: 720px; margin-bottom: 0; color: #172033; font-size: clamp(1.65rem, 3.4vw, 2.65rem); letter-spacing: -.045em; line-height: 1.08; }
.page-head__intro { max-width: 690px; color: #687386; font-size: .88rem; line-height: 1.6; }
.page-head:not(:has(.page-head__recommended)) > .container { display: block; }.page-head:not(:has(.page-head__recommended)) h1 { margin-top: 13px; }.page-head:not(:has(.page-head__recommended)) .page-head__intro { margin-top: 9px; }
.section > .container > .filters { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; padding: 8px; background: #f8fafc; border: 1px solid #e7ecf2; border-radius: 11px; }
.filters select, .filters input[type="search"] { min-height: 38px; padding: 8px 10px; border-color: #dce3ec; font-size: .78rem; }.filters input[type="search"] { min-width: 170px; }.filters .btn { min-height: 38px; padding: 8px 13px; font-size: .76rem; }.filters select:hover, .filters input[type="search"]:hover { border-color: #bdc8d7; }.filters select:focus, .filters input[type="search"]:focus { outline: 3px solid #fff0ec; border-color: #e85d3a; }
.results-count { margin-bottom: 14px; color: #8992a1; font-size: .76rem; }.results-count strong { color: #536074; font-size: .86rem; }
.city-empty-hero { position: relative; overflow: hidden; min-height: 285px; }.city-empty-hero::before { content: ''; position: absolute; top: -90px; right: 150px; width: 190px; height: 190px; border: 1px solid rgba(232,93,58,.15); border-radius: 50%; pointer-events: none; }.city-empty-hero__content { position: relative; z-index: 1; }.city-empty-hero__actions .btn-primary { box-shadow: 0 7px 16px rgba(232,93,58,.2); }.city-empty-hero__actions .btn-line { background: rgba(255,255,255,.75); }.city-empty-hero__visual { position: relative; z-index: 1; box-shadow: inset 0 0 0 8px rgba(255,255,255,.32); transform: rotate(3deg); }.city-empty-hero__visual span { transform: rotate(-3deg); }.city-empty-hero__visual small { transform: rotate(-3deg); }.city-empty-benefits { max-width: 920px; }.city-empty-benefits > div { transition: border-color .18s, background .18s, transform .18s; }.city-empty-benefits > div:hover { background: #fff; border-color: #d5eee9; transform: translateY(-2px); }.city-empty-benefits strong { font-size: .78rem; }.city-empty-benefits span { font-size: .72rem; }
.city-filter-empty { max-width: 640px; }.city-filter-empty .btn-primary { box-shadow: 0 5px 12px rgba(232,93,58,.14); }
@media (max-width: 900px) { .page-head { padding: 23px 0 25px; }.page-head h1 { margin-top: 10px; }.page-head__intro { margin-top: 7px; }.section > .container > .filters { flex-wrap: wrap; }.filters select, .filters input[type="search"] { flex: 1 1 150px; }.filters .btn { flex: 0 0 auto; } }
@media (max-width: 600px) { .page-head { padding: 18px 0 20px; }.page-head h1 { font-size: 1.55rem; }.page-head__intro { font-size: .78rem; line-height: 1.5; }.section > .container > .filters { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 10px; padding: 7px; }.filters select, .filters input[type="search"], .filters .btn { width: 100%; min-width: 0; min-height: 36px; padding: 7px 8px; }.filters input[type="search"] { grid-column: 1 / -1; }.filters .btn { grid-column: 1 / -1; }.results-count { margin-bottom: 10px; }.city-empty-hero { min-height: 0; }.city-empty-hero::before { right: -90px; }.city-empty-hero__visual { transform: none; }.city-empty-hero__visual span, .city-empty-hero__visual small { transform: none; }.city-empty-benefits > div { padding: 11px 12px; }.city-filter-empty { padding: 20px 14px; } }

/* Subtle patterns for solid sections */
.section--benefits, .section--cities, .city-why-section, .city-reviews-section { position: relative; overflow: hidden; }
.section--benefits::before, .section--cities::before, .city-why-section::before, .city-reviews-section::before { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .55; background-image: radial-gradient(rgba(42,157,143,.11) 1px, transparent 1px); background-size: 18px 18px; mask-image: linear-gradient(135deg, rgba(0,0,0,.75), transparent 58%); }
.section--benefits > .container, .section--cities > .container, .city-why-section > .container, .city-reviews-section > .container { position: relative; z-index: 1; }
.section--how, .section--join { position: relative; overflow: hidden; }
.section--how::after, .section--join::after { content: ''; position: absolute; width: 260px; height: 260px; right: -90px; bottom: -150px; border: 1px solid rgba(232,93,58,.16); border-radius: 50%; box-shadow: 0 0 0 22px rgba(232,93,58,.045), 0 0 0 44px rgba(232,93,58,.03); pointer-events: none; }
.section--join::before { content: ''; position: absolute; top: -100px; left: -70px; width: 220px; height: 220px; border: 1px solid rgba(255,255,255,.11); border-radius: 50%; box-shadow: 0 0 0 18px rgba(255,255,255,.035), 0 0 0 36px rgba(255,255,255,.025); pointer-events: none; }
.section--how > .container, .section--join > .container { position: relative; z-index: 1; }
@media (max-width: 600px) { .section--benefits::before, .section--cities::before, .city-why-section::before, .city-reviews-section::before { background-size: 15px 15px; opacity: .35; }.section--how::after, .section--join::after { width: 170px; height: 170px; right: -80px; bottom: -105px; } }

/* City FAQ spacing */
.page-city .section--muted { padding-top: 52px; padding-bottom: 58px; }
.page-city .section--muted > .container { max-width: 900px; }
.page-city .section--muted > .container > .section-title { margin-bottom: 22px; }
.page-city .section--muted .faq { gap: 9px; }
.page-city .section--muted .faq__item { padding: 15px 18px; border-radius: 10px; }
.page-city .section--muted .faq__item summary { min-height: 24px; line-height: 1.4; }
.page-city .section--muted .faq__item p { max-width: 760px; margin-top: 11px; line-height: 1.6; }
@media (max-width: 700px) {
  .page-city .section--muted { padding-top: 34px; padding-bottom: 40px; }
  .page-city .section--muted > .container > .section-title { margin-bottom: 15px; font-size: 1.45rem; }
  .page-city .section--muted .faq { gap: 7px; }
  .page-city .section--muted .faq__item { padding: 12px 13px; }
  .page-city .section--muted .faq__item summary { font-size: .78rem; }
  .page-city .section--muted .faq__item p { margin-top: 8px; font-size: .76rem; line-height: 1.55; }
}

/* Public shell for company authentication */
.public-auth-page { background: var(--surface); }
.public-auth-page .header { flex: 0 0 auto; }
.portal-auth-main, .registration-main { flex: 1 0 auto; width: 100%; }
.portal-auth-main { display: flex; align-items: flex-start; justify-content: center; padding: 48px 20px 64px; }
.portal-auth-main .portal-login { margin: 0; }
.public-auth-page .footer { flex: 0 0 auto; }
.registration-main { padding: 28px 20px 58px; }
.registration-main .registration-shell { padding-top: 0; padding-bottom: 0; }
.registration-page .header-actions .nav__login { color: var(--accent-hover) !important; }
.portal-login__help { color: var(--muted); font-size: .78rem; margin-top: 16px; text-align: center; }
@media (max-width: 700px) { .portal-auth-main { padding: 26px 12px 42px; }.registration-main { padding: 16px 10px 40px; }.public-auth-page .nav { display: none; } }

/* SEO tag cloud */
.footer__tags { min-width: 0; }.tag-cloud { display: flex; flex-wrap: wrap; gap: 6px; }.tag-cloud a { display: inline-flex; padding: 5px 8px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.09); border-radius: 14px; color: #c9cdd6; font-size: .68rem; line-height: 1.2; transition: background .16s, color .16s, border-color .16s; }.tag-cloud a:hover { background: rgba(232,93,58,.18); border-color: rgba(232,93,58,.45); color: #fff; }.page-tag .page-head__intro { max-width: 720px; }
@media (max-width: 700px) { .tag-cloud a { font-size: .64rem; padding: 4px 7px; } }

/* City tag navigation */
.city-tags-nav { margin: 0 0 16px; background: #fff; border: 1px solid #e5e9f0; border-radius: 12px; box-shadow: 0 6px 18px rgba(28,40,64,.04); }
.city-tags-nav summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px; color: #27334a; cursor: pointer; list-style: none; }.city-tags-nav summary::-webkit-details-marker { display: none; }.city-tags-nav summary::after { content: '⌄'; color: #2a9d8f; font-size: 1.1rem; transition: transform .18s; }.city-tags-nav[open] summary::after { transform: rotate(180deg); }.city-tags-nav summary span { display: grid; gap: 3px; }.city-tags-nav summary strong { font-size: .82rem; }.city-tags-nav summary small { color: #8992a1; font-size: .7rem; }.city-tags-nav summary b { display: none; }
.city-tags-nav__groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding: 0 16px 16px; border-top: 1px solid #edf0f4; }.city-tags-nav__groups > div { padding-top: 14px; }.city-tags-nav__groups > div > strong { display: block; color: #8992a1; font-size: .66rem; letter-spacing: .05em; text-transform: uppercase; }.city-tags-nav__groups nav { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 9px; }.city-tags-nav__groups a { padding: 5px 8px; background: #f8fafc; border: 1px solid #e8edf3; border-radius: 14px; color: #687386; font-size: .68rem; line-height: 1.2; }.city-tags-nav__groups a:hover { background: #fff1ed; border-color: #f3c6ba; color: #d84e2f; }
.footer__brand, .footer__column { min-width: 0; }
@media (max-width: 800px) { .city-tags-nav__groups { grid-template-columns: 1fr 1fr; gap: 12px; } }
@media (max-width: 520px) { .city-tags-nav summary { padding: 12px 13px; }.city-tags-nav summary small { font-size: .66rem; }.city-tags-nav summary b { display: block; color: #d84e2f; font-size: .68rem; font-weight: 700; }.city-tags-nav[open] summary b { display: none; }.city-tags-nav__groups { grid-template-columns: 1fr; padding: 0 13px 13px; }.city-tags-nav__groups > div { padding-top: 11px; }.footer { padding: 28px 0 20px; }.footer__inner { gap: 17px 12px; }.footer__column > strong { font-size: .7rem; }.footer__links a { font-size: .7rem; }.footer__disclaimer { font-size: .68rem !important; } }

/* Header business CTA */
.header-register { display: inline-flex; align-items: center; min-height: 34px; padding: 6px 10px; background: var(--accent-light); border-radius: 8px; color: var(--accent-hover); font-size: .76rem; font-weight: 800; white-space: nowrap; }.header-register:hover { background: var(--accent); color: #fff; }
@media (max-width: 900px) { .header-register { padding: 6px 8px; font-size: .7rem; } }
@media (max-width: 680px) { .header-register { display: none; } }

/* Readable typography */
body { font-size: 16px; }
.nav a { font-size: .95rem; }
.header-city-select select { font-size: .9rem; }
.header-register, .nav__login { font-size: .85rem; }
.footer__brand p, .footer__links a, .footer__column > strong { font-size: .88rem; }
.footer__disclaimer { font-size: .78rem !important; }
.page-head__intro, .lead { font-size: .98rem; }
.results-count { font-size: .92rem; }
.filters select, .filters input[type="search"], .filters .btn { font-size: .9rem; }
.company-card__city { font-size: .82rem; }.company-card__reviews { font-size: .85rem; }.company-card__details div { font-size: .86rem; }.company-card__desc { font-size: .9rem; }.company-card__side .btn { font-size: .82rem; }
.badge { font-size: .74rem; }
.city-empty-benefits span, .city-filter-empty p { font-size: .8rem; }
.city-tags-nav summary small, .city-tags-nav__groups a { font-size: .78rem; }
.city-tags-nav__groups > div > strong { font-size: .72rem; }
.faq__item summary { font-size: .95rem; }.faq__item p { font-size: .9rem; }
.news-card p, .news-card__content { font-size: .9rem; }
@media (max-width: 680px) {
  body { font-size: 15px; }
  .nav a, .header-city-select select { font-size: .88rem; }
  .footer__links a, .footer__column > strong { font-size: .82rem; }.footer__brand p { font-size: .82rem; }.footer__disclaimer { font-size: .76rem !important; }
  .page-head__intro, .lead { font-size: .9rem; }.results-count { font-size: .84rem; }
  .filters select, .filters input[type="search"], .filters .btn { font-size: .84rem; }
  .company-card__reviews, .company-card__details div, .company-card__desc { font-size: .82rem; }
  .city-tags-nav summary small, .city-tags-nav__groups a { font-size: .74rem; }
  .faq__item summary { font-size: .86rem; }.faq__item p { font-size: .82rem; }
}

/* Unified page-head redesign */
.page-head { position: relative; overflow: hidden; padding: 34px 0 38px; background: linear-gradient(135deg, #f7f9fc 0%, #fff 58%, #fff7f5 100%); border-bottom: 1px solid #e7ebf1; }
.page-head::before { content: ''; position: absolute; top: -130px; right: 7%; width: 280px; height: 280px; border: 1px solid rgba(232,93,58,.12); border-radius: 50%; box-shadow: 0 0 0 22px rgba(232,93,58,.035), 0 0 0 44px rgba(232,93,58,.02); pointer-events: none; }
.page-head > .container { position: relative; z-index: 1; }
.page-head .breadcrumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; margin: 0 0 17px; color: #8b95a4; font-size: .8rem; line-height: 1.4; }.page-head .breadcrumbs a { color: #687386; }.page-head .breadcrumbs a:hover { color: #d84e2f; }
.page-head h1 { max-width: 780px; margin: 0; color: #172033; font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 800; letter-spacing: -.055em; line-height: 1.06; }.page-head__intro { max-width: 690px; margin-top: 12px; color: #687386; font-size: .98rem; line-height: 1.65; }
.page-head__recommended { position: relative; padding: 22px; background: rgba(255,255,255,.92); border: 1px solid #f0c0b5; border-radius: 16px; box-shadow: 0 10px 28px rgba(232,93,58,.08); }.page-head__recommended-label { display: inline-flex; padding: 5px 9px; background: #fff0ec; border-radius: 14px; color: #d84e2f; font-size: .7rem; font-weight: 800; letter-spacing: .04em; }.page-head__recommended h2 { margin: 9px 0 7px; color: #27334a; font-size: 1.1rem; line-height: 1.2; }.page-head__recommended > p { color: #7b8496; font-size: .8rem; line-height: 1.5; }.page-head__recommended-list { gap: 9px; margin: 16px 0; }.page-head__recommended-company { padding: 13px; background: #f8fafc; border-color: #e7ecf2; border-radius: 10px; }.page-head__recommended-company:hover { border-color: #efb7aa; background: #fff; }.page-head__recommended-company-head strong { font-size: .86rem; }.page-head__recommended-company-head span { font-size: .76rem; }.page-head__recommended-types span { font-size: .7rem; }.page-head__recommended-facts { font-size: .74rem; }.page-head__recommended-bottom { gap: 8px; }.page-head__recommended-bottom strong { font-size: .86rem; }.page-head__recommended-link { display: inline-flex; margin-top: 2px; color: #d84e2f; font-size: .8rem; font-weight: 750; }
.page-head .company-header { position: relative; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; align-items: center; }.page-head .company-header h1 { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; font-size: clamp(1.7rem, 4vw, 2.7rem); }.page-head .company-header .badge { font-size: .72rem; }.page-head .company-meta { margin-top: 14px; }.page-head .types { margin-top: 12px; }.page-head .company-actions { justify-content: flex-end; margin-top: 0; }.page-head .company-actions .btn { min-height: 40px; }.page-head .company-actions .btn-primary { box-shadow: 0 7px 16px rgba(232,93,58,.18); }
.page-tag .page-head { padding-bottom: 34px; }.page-tag .page-head h1 { max-width: 820px; }.page-tag .page-head__intro { max-width: 720px; }
@media (max-width: 900px) { .page-head { padding: 27px 0 30px; }.page-head::before { right: -90px; }.page-head .company-header { grid-template-columns: 1fr; gap: 16px; }.page-head .company-actions { justify-content: flex-start; }.page-head__recommended { margin-top: 19px; } }
@media (max-width: 600px) { .page-head { padding: 20px 0 23px; }.page-head .breadcrumbs { margin-bottom: 12px; font-size: .74rem; }.page-head h1, .page-head .company-header h1 { font-size: 1.55rem; letter-spacing: -.04em; }.page-head__intro { margin-top: 8px; font-size: .86rem; line-height: 1.55; }.page-head__recommended { padding: 15px; border-radius: 13px; }.page-head__recommended h2 { font-size: .98rem; }.page-head__recommended > p { font-size: .74rem; }.page-head__recommended-bottom { align-items: stretch; flex-direction: column; }.page-head__recommended-bottom .btn { width: 100%; }.page-head .company-actions { display: grid; grid-template-columns: 1fr; gap: 7px; }.page-head .company-actions .btn { width: 100%; }.page-head .company-meta { gap: 7px; margin-top: 10px; }.page-head .types { gap: 5px; margin-top: 9px; } }

/* Client USP on city pages */
.city-client-usp { display: grid; grid-template-columns: minmax(220px, .8fr) minmax(0, 1.6fr); gap: 22px; align-items: start; margin-bottom: 24px; padding: 22px; background: linear-gradient(120deg, #1f2940, #2d3b5c); color: #fff; border-radius: 16px; box-shadow: 0 12px 26px rgba(31,41,64,.12); }
.city-client-usp__intro .eyebrow { color: #f29a4a; margin-bottom: 9px; }.city-client-usp__intro h3 { max-width: 300px; font-size: 1.25rem; letter-spacing: -.035em; line-height: 1.18; }.city-client-usp__intro p { max-width: 320px; color: #c4cada; font-size: .82rem; line-height: 1.55; margin-top: 9px; }.city-client-usp__items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }.city-client-usp__items article { padding: 13px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.1); border-radius: 10px; }.city-client-usp__number { display: block; color: #f29a4a; font-size: .68rem; font-weight: 800; margin-bottom: 9px; }.city-client-usp__items strong { display: block; font-size: .82rem; }.city-client-usp__items p { color: #c4cada; font-size: .72rem; line-height: 1.45; margin-top: 5px; }.city-why-grid { position: relative; z-index: 1; }
@media (max-width: 700px) { .city-client-usp { grid-template-columns: 1fr; gap: 15px; margin-bottom: 17px; padding: 17px 15px; border-radius: 13px; }.city-client-usp__intro h3 { font-size: 1.08rem; }.city-client-usp__intro p { font-size: .76rem; }.city-client-usp__items { grid-template-columns: 1fr 1fr; gap: 6px; }.city-client-usp__items article { padding: 10px; }.city-client-usp__items strong { font-size: .75rem; }.city-client-usp__items p { font-size: .67rem; } }

/* City USP block */
.city-usp-block { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr); gap: 26px; align-items: stretch; margin-bottom: 16px; padding: 30px; overflow: hidden; background: linear-gradient(120deg, #1f2940 0%, #344364 100%); color: #fff; border-radius: 18px; box-shadow: 0 16px 34px rgba(31,41,64,.16); }
.city-usp-block__main { position: relative; z-index: 1; }.city-usp-block__eyebrow { color: #f29a4a; font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }.city-usp-block h2 { max-width: 620px; margin-top: 10px; font-size: clamp(1.5rem, 3vw, 2.35rem); letter-spacing: -.045em; line-height: 1.08; }.city-usp-block__main > p { max-width: 610px; color: #cbd2df; font-size: .9rem; line-height: 1.6; margin-top: 11px; }.city-usp-block__stats { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 23px; }.city-usp-block__stats div { min-width: 108px; padding: 11px 13px; background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.12); border-radius: 10px; }.city-usp-block__stats strong { display: block; color: #fff; font-size: 1.25rem; line-height: 1; }.city-usp-block__stats span { display: block; color: #bfc8d7; font-size: .68rem; line-height: 1.3; margin-top: 5px; }.city-usp-block__steps { display: grid; align-content: center; gap: 9px; padding-left: 24px; border-left: 1px solid rgba(255,255,255,.16); }.city-usp-step { display: flex; align-items: flex-start; gap: 11px; padding: 12px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.1); border-radius: 10px; }.city-usp-step > span { display: grid; place-items: center; width: 25px; height: 25px; flex: 0 0 auto; background: #e85d3a; border-radius: 7px; color: #fff; font-size: .65rem; font-weight: 800; }.city-usp-step strong { display: block; font-size: .82rem; }.city-usp-step p { color: #cbd2df; font-size: .7rem; line-height: 1.4; margin-top: 3px; }.city-trust-line { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }.city-trust-line > div { display: flex; align-items: flex-start; gap: 9px; padding: 13px 14px; background: #fff; border: 1px solid #e5e9f0; border-radius: 11px; }.city-trust-line__icon { display: grid; place-items: center; width: 27px; height: 27px; flex: 0 0 auto; background: #edf8f6; color: #19786d; border-radius: 8px; font-size: .75rem; font-weight: 800; }.city-trust-line strong { display: block; color: #27334a; font-size: .76rem; }.city-trust-line p { color: #8992a1; font-size: .7rem; line-height: 1.4; margin-top: 3px; }
@media (max-width: 800px) { .city-usp-block { grid-template-columns: 1fr; gap: 18px; padding: 22px; }.city-usp-block__steps { padding: 18px 0 0; border-top: 1px solid rgba(255,255,255,.16); border-left: 0; }.city-trust-line { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .city-usp-block { margin-bottom: 11px; padding: 18px 15px; border-radius: 13px; }.city-usp-block h2 { font-size: 1.35rem; }.city-usp-block__main > p { font-size: .78rem; }.city-usp-block__stats { margin-top: 16px; }.city-usp-block__stats div { min-width: 0; flex: 1; padding: 9px 8px; }.city-usp-block__stats strong { font-size: 1.05rem; }.city-usp-block__stats span { font-size: .62rem; }.city-usp-step { padding: 10px; }.city-trust-line > div { padding: 11px 12px; } }

/* Informative company results */
.city-results-heading { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin: 0 0 15px; padding: 0 2px; }.city-results-heading h2 { color: #172033; font-size: 1.35rem; letter-spacing: -.035em; margin-top: 3px; }.city-results-heading p { color: #8992a1; font-size: .8rem; line-height: 1.45; margin-top: 4px; }.city-results-heading > strong { padding: 7px 10px; background: #f8fafc; color: #687386; border: 1px solid #e5e9f0; border-radius: 18px; font-size: .76rem; white-space: nowrap; }
.company-card--list { grid-template-columns: 180px minmax(240px, 1.35fr) minmax(230px, 1fr) 180px; border-color: #e3e8ef; border-radius: 14px; box-shadow: 0 5px 16px rgba(28,40,64,.035); }.company-card--list:hover { border-color: #efb7aa; box-shadow: 0 10px 24px rgba(28,40,64,.09); }.company-card--list .company-card__visual { min-height: 205px; }.company-card--list .company-card__body { padding: 19px 21px; }.company-card--list .company-card__heading { min-height: 46px; }.company-card--list .company-card__city { display: block; margin-bottom: 3px; }.company-card--list .company-card__name { font-size: 1.12rem; }.company-card--list .company-card__summary { display: flex; align-items: center; justify-content: space-between; gap: 9px; margin-top: 13px; }.company-card__rating { display: flex; align-items: center; gap: 7px; margin: 0; color: #d69c00; font-size: .8rem; }.company-card__rating strong { color: #9a6b00; font-size: .9rem; }.company-card__rating span { color: #8992a1; font-size: .75rem; }.company-card__price-inline { color: #19786d; font-size: .84rem; white-space: nowrap; }.company-card--list .company-card__types { margin: 12px 0 0; }.company-card--list .badge { padding: 4px 8px; font-size: .7rem; }.company-card--list .company-card__desc { min-height: 43px; margin-top: 12px; font-size: .82rem; line-height: 1.45; }.company-card__desc--empty { color: #9aa3b1 !important; }.company-card--list .company-card__details { gap: 9px; padding: 19px 17px; background: #fbfcfd; }.company-card--list .company-card__details > div { gap: 8px; color: #687386; font-size: .77rem; line-height: 1.35; }.company-card__detail-icon { display: grid; place-items: center; width: 22px; height: 22px; flex: 0 0 auto; background: #edf8f6; color: #2a9d8f; border-radius: 6px; font-size: .75rem; }.company-card--list .company-card__details b { display: block; color: #9aa3b1; font-size: .64rem; font-weight: 600; margin-bottom: 2px; text-transform: uppercase; }.company-card--list .company-card__locked { display: grid; gap: 4px; padding: 10px; background: #f5f7fa; border: 1px dashed #d9e0e9; border-radius: 8px; color: #8992a1; font-size: .7rem; line-height: 1.35; }.company-card--list .company-card__locked strong { color: #536074; font-size: .75rem; }.company-card--list .company-card__side { gap: 7px; padding: 18px 15px; background: #fff; }.company-card__side-label { color: #8992a1; font-size: .68rem; line-height: 1.3; text-align: center; }.company-card--list .company-card__side .btn { min-height: 36px; font-size: .75rem; }.company-card--list .company-card__plus, .company-card--list .company-card__verified, .company-card--list .company-card__unverified { left: 10px; top: 10px; padding: 5px 8px; font-size: .64rem; }
@media (max-width: 1050px) { .company-card--list { grid-template-columns: 155px minmax(0, 1fr) 175px; }.company-card--list .company-card__details { grid-column: 2 / -1; grid-template-columns: repeat(3, minmax(0, 1fr)); border-left: 0; border-top: 1px solid #edf0f4; }.company-card--list .company-card__side { grid-column: 3; grid-row: 1; } }
@media (max-width: 700px) { .city-results-heading { align-items: flex-start; flex-direction: column; gap: 7px; margin-bottom: 11px; }.city-results-heading h2 { font-size: 1.15rem; }.city-results-heading > strong { align-self: flex-start; }.company-card--list { grid-template-columns: 96px minmax(0, 1fr); }.company-card--list .company-card__visual { min-height: 126px; }.company-card--list .company-card__body { padding: 13px 12px; }.company-card--list .company-card__name { font-size: .95rem; }.company-card--list .company-card__summary { align-items: flex-start; flex-direction: column; gap: 3px; margin-top: 8px; }.company-card--list .company-card__rating { gap: 5px; }.company-card--list .company-card__types { display: none; }.company-card--list .company-card__desc { display: -webkit-box; min-height: 0; margin-top: 8px; font-size: .74rem; line-clamp: 2; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }.company-card--list .company-card__details { grid-column: 1 / -1; grid-template-columns: 1fr; padding: 11px 12px; }.company-card--list .company-card__details > div { font-size: .72rem; }.company-card--list .company-card__side { grid-column: 1 / -1; grid-row: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 11px 12px; border-left: 0; border-top: 1px solid #edf0f4; }.company-card--list .company-card__side-label { grid-column: 1 / -1; text-align: left; }.company-card--list .company-card__side .btn { width: 100%; min-height: 34px; font-size: .7rem; }.company-card--list .company-card__side .btn:last-child { grid-column: 1 / -1; }.company-card--list .company-card__arrow { width: 25px; height: 25px; font-size: .9rem; }.company-card--list .company-card__unverified, .company-card--list .company-card__verified, .company-card--list .company-card__plus { left: 6px; top: 6px; padding: 4px 6px; font-size: .56rem; } }

.company-card--list .company-card__desc { line-clamp: 2; }

/* Public company card and review form */
.company-card__detail { display: flex; align-items: flex-start; gap: 8px; }.company-card__detail > span:last-child { min-width: 0; }.company-card__detail em { display: block; color: #a5adb9; font-style: normal; filter: blur(.25px); }.company-card__detail--locked { opacity: .78; }.company-card__detail b { display: block; color: #8992a1; font-size: .64rem; font-weight: 700; letter-spacing: .03em; margin-bottom: 2px; text-transform: uppercase; }.company-card--basic .company-card__details { background: #fbfcfd; }.company-card--basic .company-card__details::after { content: 'Базовое размещение'; display: block; color: #a0a7b3; font-size: .68rem; margin-top: 3px; }
.info-row--locked { background: #f8fafc; border-radius: 7px; padding-right: 8px !important; padding-left: 8px !important; }.info-row--locked span:last-child { color: #a0a7b3; filter: blur(.2px); }
.city-map-section--yandex { overflow: hidden; }.city-yandex-map { display: block; width: 100%; height: 390px; border: 1px solid var(--border); border-radius: 11px; background: #f4f6f8; }
.review-form { max-width: 720px; padding: 22px; background: #fff; box-shadow: 0 8px 22px rgba(28,40,64,.05); }.review-form h3 { color: #27334a; }.review-form .form-group label { color: #536074; font-size: .78rem; font-weight: 700; }.review-form input, .review-form select, .review-form textarea { min-height: 42px; padding: 10px 11px; background: #fff; border: 1px solid #d9e0e9; border-radius: 8px; color: var(--text); }.review-form textarea { min-height: 108px; resize: vertical; }.review-form input[type="file"] { padding: 6px; background: #f8fafc; cursor: pointer; }.review-form input[type="file"]::file-selector-button { margin-right: 8px; padding: 6px 9px; border: 1px solid #d9e0e9; border-radius: 6px; background: #fff; color: #536074; cursor: pointer; }.review-form input:focus, .review-form select:focus, .review-form textarea:focus { border-color: var(--accent); outline: 3px solid var(--accent-light); }.review-form .consent-check { margin-top: 13px; }.review-form .btn { min-width: 150px; }.review-form .form-msg { padding: 9px 11px; border-radius: 7px; }.review-form .form-msg.ok { background: var(--sea-light); color: #14776c; }.review-form .form-msg.err { background: var(--accent-light); color: var(--accent-hover); }
@media (max-width: 600px) { .city-yandex-map { height: 300px; }.review-form { padding: 16px 13px; }.review-form > div[style*="grid-template-columns"] { display: grid !important; grid-template-columns: 1fr !important; gap: 0 !important; }.review-form .btn { width: 100%; } }

/* Compact home hero and city section */
.page-home .hero__grid { min-height: 470px; padding-top: 38px; padding-bottom: 38px; }
.page-home .hero h1 { margin-bottom: 14px; }
.page-home .hero__lead { margin-bottom: 20px; font-size: 1rem; line-height: 1.55; }
.page-home .home-search { padding: 7px; gap: 6px; }
.page-home .home-search__field { padding: 3px 10px; }
.page-home .home-search__submit { min-height: 44px; }
.page-home .popular-cities { margin-top: 12px; }
.page-home .hero__art { height: 440px; transform: none; transform-origin: center; }
.page-home .hero__note { bottom: 10px; }
.page-home .section--cities { padding-top: 42px; padding-bottom: 44px; }
.page-home .section--cities .section-heading { margin-bottom: 18px; }
.page-home .section--cities .section-heading .eyebrow { margin-bottom: 7px; }
.page-home .section--cities .section-title { font-size: clamp(1.55rem, 3vw, 2rem); }
.page-home .section--cities .city-grid { gap: 8px; }
.page-home .section--cities .city-card { min-height: 76px; padding: 12px 14px; border-radius: 11px; }
.page-home .section--cities .city-card__name { font-size: .88rem; }.page-home .section--cities .city-card__region { font-size: .7rem; }.page-home .section--cities .city-card__arrow { top: 10px; right: 12px; font-size: 1rem; }
@media (max-width: 979px) { .page-home .hero__grid { min-height: 430px; padding-top: 32px; padding-bottom: 32px; }.page-home .hero__art { height: 285px; transform: scale(.76); } }
@media (max-width: 680px) { .page-home .hero__grid { min-height: 0; padding-top: 30px; padding-bottom: 28px; }.page-home .hero h1 { font-size: 2.1rem; margin-bottom: 12px; }.page-home .hero__lead { margin-bottom: 15px; font-size: .88rem; }.page-home .home-search { gap: 4px; padding: 6px; }.page-home .home-search__field { padding: 5px 8px; }.page-home .home-search__submit { min-height: 43px; }.page-home .popular-cities { gap: 6px 11px; margin-top: 10px; font-size: .75rem; }.page-home .hero__art { display: none; }.page-home .section--cities { padding-top: 30px; padding-bottom: 32px; }.page-home .section--cities .section-heading { margin-bottom: 13px; }.page-home .section--cities .city-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }.page-home .section--cities .city-card { min-height: 64px; padding: 10px 11px; }.page-home .section--cities .city-card__name { font-size: .8rem; }.page-home .section--cities .city-card__region { font-size: .64rem; } }

/* Company profile completion and locked tariff features */
.portal-profile-alert { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; padding: 13px 16px; background: #fff6e5; border: 1px solid #f3d79d; border-radius: 11px; color: #6d531d; }
.portal-profile-alert strong { display: block; color: #7d5b13; font-size: .86rem; }
.portal-profile-alert p { margin-top: 3px; font-size: .76rem; }
.portal-menu__locked { color: #9a7a35 !important; }
.portal-menu__locked span { font-size: .7rem; }
@media (max-width: 650px) { .portal-profile-alert { align-items: flex-start; flex-direction: column; gap: 10px; }.portal-profile-alert .btn { width: 100%; } }

.portal-logo-preview { width: 96px; height: 96px; margin-bottom: 8px; overflow: hidden; background: #f8fafc; border: 1px solid #e7ebf1; border-radius: 12px; }
.portal-logo-preview img { width: 100%; height: 100%; display: block; object-fit: contain; }
.portal-locked--inline { padding: 12px 14px; }
.portal-locked--inline strong { font-size: .78rem; }
.portal-locked--inline p { margin: 3px 0 5px; font-size: .72rem; }
.portal-locked--inline a { color: #d84e2f; font-size: .72rem; font-weight: 700; }

.company-header__logo { width: 88px; height: 88px; margin-bottom: 14px; object-fit: contain; background: #fff; border: 1px solid var(--border); border-radius: 14px; box-shadow: 0 8px 20px rgba(28,40,64,.08); }
@media (max-width: 600px) { .company-header__logo { width: 68px; height: 68px; margin-bottom: 10px; } }

/* Seller panel layout refinement */
.portal-profile-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 18px; padding-bottom: 18px; border-bottom: 1px solid #e4e8ef; }
.portal-profile-heading .btn { flex: 0 0 auto; }
.portal-section-subtitle { max-width: 560px; margin-top: 5px; color: #8992a1; font-size: .75rem; line-height: 1.45; }
.portal-card--profile { padding: 24px 26px 26px; }
.portal-card--profile .portal-section-head { margin-bottom: 18px; }
.portal-card--profile .portal-profile-tip { margin-bottom: 22px; }
.portal-card--profile-tariff { margin-top: 24px; background: linear-gradient(145deg, #fff, #fffaf8); border-color: #f0ddd8; }
.portal-card--profile-tariff .portal-section-head { border-bottom-color: #f5e5e1; }
.portal-card--profile-tariff .portal-hint--wide { max-width: 760px; padding: 12px 14px; background: #fff7f5; border: 1px solid #f7e1da; border-radius: 9px; }
.portal-card--profile-tariff .portal-tariff-form { margin-top: 18px; padding-top: 18px; border-top: 1px solid #f5e5e1; }
.portal-card--profile .portal-form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.portal-card--profile .portal-form-grid__wide { grid-column: 1 / -1; }
@media (max-width: 700px) {
  .portal-profile-heading { align-items: flex-start; flex-direction: column; gap: 12px; }
  .portal-profile-heading .btn { width: 100%; }
  .portal-card--profile { padding: 20px 16px; }
  .portal-card--profile .portal-form-grid { grid-template-columns: 1fr; }
  .portal-card--profile .portal-form-grid__wide { grid-column: auto; }
  .portal-section-subtitle { font-size: .72rem; }
}

/* Seller notifications */
.seller-notifications { margin: 0 0 18px; padding: 16px; background: #fff; border: 1px solid #e5e9f0; border-radius: 15px; box-shadow: 0 7px 20px rgba(28,40,64,.04); }
.seller-notifications__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 11px; }
.seller-notifications__head h2 { color: #172033; font-size: 1rem; letter-spacing: -.02em; }
.seller-notifications__head > span { display: grid; place-items: center; min-width: 24px; height: 24px; padding: 0 7px; background: #fff0ec; color: #d84e2f; border-radius: 12px; font-size: .7rem; font-weight: 800; }
.seller-notifications__list { display: grid; gap: 8px; }
.seller-notification { display: flex; align-items: flex-start; gap: 10px; padding: 11px 12px; background: #f8fafc; border: 1px solid #edf0f4; border-radius: 10px; transition: opacity .18s, transform .18s, border-color .18s; }
.seller-notification.is-new { background: #fffaf8; border-color: #f5d1c8; }
.seller-notification.is-removing { opacity: 0; transform: translateY(-4px); }
.seller-notification__mark { display: grid; place-items: center; width: 22px; height: 22px; flex: 0 0 auto; background: #edf8f6; color: #19786d; border-radius: 50%; font-size: .7rem; font-weight: 800; }
.seller-notification.is-new .seller-notification__mark { background: #fff0ec; color: #d84e2f; }
.seller-notification__body { min-width: 0; flex: 1; }
.seller-notification__body strong { color: #27334a; font-size: .78rem; }
.seller-notification__body p { color: #7b8496; font-size: .73rem; line-height: 1.45; margin-top: 3px; }
.seller-notification__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.seller-notification__actions a, .seller-notification__actions button { padding: 0; border: 0; background: none; color: #d84e2f; font-size: .7rem; font-weight: 700; cursor: pointer; }
.seller-notification__actions button { color: #8992a1; }
@media (max-width: 650px) { .seller-notifications { padding: 13px; }.seller-notification { padding: 10px; } }

/* Structured seller navigation */
.portal-content-stack { display: grid; gap: 0; min-width: 0; }
.portal-menu { align-items: stretch; }
.portal-menu__group { display: grid; gap: 2px; padding: 5px 0; }
.portal-menu__group + .portal-menu__group { margin-top: 5px; padding-top: 9px; border-top: 1px solid #edf0f4; }
.portal-menu__title { padding: 3px 12px 5px; color: #a0a7b3; font-size: .62rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.portal-menu__icon { display: inline-grid; place-items: center; width: 20px; height: 20px; margin-right: 2px; color: #8992a1; font-size: .78rem; font-weight: 700; }
.portal-menu a.portal-menu__active .portal-menu__icon, .portal-menu a:hover .portal-menu__icon { color: #d84e2f; }
.portal-menu__locked .portal-menu__icon { color: #c0a568; }
.portal-content-stack > .portal-page-heading { margin-top: 2px; }
.portal-content-stack > .portal-card, .portal-content-stack > .portal-stat-grid, .portal-content-stack > .portal-action-grid { width: 100%; }
@media (max-width: 900px) { .portal-menu__group { display: flex; align-items: center; gap: 3px; padding: 0; }.portal-menu__group + .portal-menu__group { margin-top: 0; padding-top: 0; border-top: 0; }.portal-menu__title { display: none; }.portal-menu__icon { display: none; } }

.portal-page-heading--compact { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; padding: 4px 2px 18px; margin-bottom: 18px; border-bottom: 1px solid #e4e8ef; }
.portal-page-heading--compact > div { min-width: 0; }
.portal-page-heading--compact .btn { flex: 0 0 auto; }
.portal-page-heading--compact h2 { margin-top: 2px; }
.portal-page-heading--compact p { max-width: 680px; }
@media (max-width: 700px) { .portal-page-heading--compact { align-items: flex-start; flex-direction: column; gap: 12px; }.portal-page-heading--compact .btn { width: 100%; } }

/* Sidebar repair: grouped navigation */
.portal-sidebar { min-width: 0; }
.portal-sidebar .portal-menu { display: block; width: 100%; overflow: visible; }
.portal-sidebar .portal-menu__group { display: grid; width: 100%; gap: 2px; }
.portal-sidebar .portal-menu__group + .portal-menu__group { margin-top: 8px; padding-top: 10px; border-top: 1px solid #edf0f4; }
.portal-sidebar .portal-menu__title { display: block; width: 100%; }
.portal-sidebar .portal-menu a { display: flex; width: 100%; align-items: center; justify-content: flex-start; gap: 8px; min-width: 0; }
.portal-sidebar .portal-menu a > .portal-menu__icon { flex: 0 0 20px; }
.portal-sidebar .portal-menu a > .portal-menu__count { margin-left: auto; }
@media (max-width: 900px) {
  .portal-sidebar .portal-menu { position: sticky; top: 6px; display: flex; align-items: center; width: 100%; overflow-x: auto; gap: 4px; margin: 0 0 14px; padding: 6px; border-radius: 11px; }
  .portal-sidebar .portal-menu__group { display: contents; }
  .portal-sidebar .portal-menu__title { display: none; }
  .portal-sidebar .portal-menu a { flex: 0 0 auto; width: auto; min-width: 112px; justify-content: center; padding: 8px 10px; }
  .portal-sidebar .portal-menu a > .portal-menu__icon { display: inline-grid; }
  .portal-sidebar .portal-menu a::after { content: none !important; }
  .portal-sidebar__tip { display: none; }
}
@media (max-width: 650px) {
  body.portal-page { padding-bottom: 0; }
  .portal-sidebar .portal-menu { position: sticky; right: auto; bottom: auto; left: auto; display: flex; grid-template-columns: none; margin: 0 -2px 12px; border: 1px solid #e2e7ef; border-radius: 11px; box-shadow: 0 5px 16px rgba(28,40,64,.05); }
  .portal-sidebar .portal-menu a { flex: 0 0 auto; min-width: 92px; min-height: 38px; font-size: .72rem; white-space: nowrap; }
  .portal-sidebar .portal-menu a > .portal-menu__icon { display: none; }
  .portal-sidebar .portal-menu__count { position: static; min-width: 17px; height: 17px; font-size: .58rem; }
}

/* Final sidebar layout override */
.portal-sidebar .portal-menu__group { box-sizing: border-box; }
@media (min-width: 901px) {
  .portal-sidebar .portal-menu { position: sticky; top: 16px; display: block; overflow: visible; }
  .portal-sidebar .portal-menu__group { display: grid; margin: 0; padding: 5px 0; border: 0; }
  .portal-sidebar .portal-menu__group + .portal-menu__group { margin-top: 7px; padding-top: 10px; border-top: 1px solid #edf0f4; }
  .portal-sidebar .portal-menu a { display: flex; width: 100%; min-height: 42px; align-items: center; justify-content: flex-start; }
}
@media (max-width: 900px) {
  .portal-sidebar .portal-menu { position: sticky; top: 6px; display: flex; align-items: center; overflow-x: auto; width: 100%; margin: 0 0 14px; padding: 6px; border: 1px solid #e2e7ef; border-radius: 11px; }
  .portal-sidebar .portal-menu__group { display: contents; margin: 0; padding: 0; border: 0; }
  .portal-sidebar .portal-menu__title { display: none; }
  .portal-sidebar .portal-menu a { display: inline-flex; width: auto; min-width: 108px; min-height: 38px; flex: 0 0 auto; align-items: center; justify-content: center; padding: 8px 10px; font-size: .72rem; white-space: nowrap; }
  .portal-sidebar .portal-menu a::after { content: none !important; }
  .portal-sidebar .portal-menu a > .portal-menu__icon { display: inline-grid; flex: 0 0 20px; }
}
@media (max-width: 650px) {
  .portal-sidebar .portal-menu { margin: 0 -2px 12px; box-shadow: 0 5px 16px rgba(28,40,64,.05); }
  .portal-sidebar .portal-menu a { min-width: 92px; padding: 8px 9px; }
  .portal-sidebar .portal-menu a > .portal-menu__icon { display: none; }
  .portal-sidebar .portal-menu__count { position: static; min-width: 17px; height: 17px; margin-left: 4px; font-size: .58rem; }
}

/* Sidebar final reset */
.portal-sidebar .portal-menu,
.portal-sidebar .portal-menu__group,
.portal-sidebar .portal-menu a { box-sizing: border-box; }
.portal-sidebar .portal-menu a::after,
.portal-sidebar .portal-menu a::before { content: none; }
@media (min-width: 901px) {
  .portal-layout { align-items: start; }
  .portal-sidebar { position: sticky; top: 16px; align-self: start; }
  .portal-sidebar .portal-menu { position: static; display: block; overflow: visible; height: auto; padding: 8px; }
  .portal-sidebar .portal-menu__group { display: grid; gap: 2px; width: 100%; margin: 0; padding: 5px 0; border: 0; }
  .portal-sidebar .portal-menu__group + .portal-menu__group { margin-top: 7px; padding-top: 10px; border-top: 1px solid #edf0f4; }
  .portal-sidebar .portal-menu__title { display: block; padding: 3px 12px 6px; }
  .portal-sidebar .portal-menu a { display: flex; width: 100%; min-height: 42px; align-items: center; justify-content: flex-start; gap: 8px; padding: 9px 12px; font-size: .8rem; white-space: nowrap; }
  .portal-sidebar .portal-menu a .portal-menu__icon { display: inline-grid; flex: 0 0 20px; }
}
@media (max-width: 900px) {
  .portal-layout { display: block; }
  .portal-sidebar { position: static; width: 100%; }
  .portal-sidebar .portal-menu { position: static; display: flex; align-items: center; width: 100%; max-width: 100%; overflow-x: auto; gap: 4px; margin: 0 0 14px; padding: 6px; border: 1px solid #e2e7ef; border-radius: 11px; box-shadow: 0 5px 16px rgba(28,40,64,.05); }
  .portal-sidebar .portal-menu__group { display: contents; margin: 0; padding: 0; border: 0; }
  .portal-sidebar .portal-menu__title { display: none; }
  .portal-sidebar .portal-menu a { display: inline-flex; width: auto; min-width: 100px; min-height: 38px; flex: 0 0 auto; align-items: center; justify-content: center; gap: 6px; padding: 8px 10px; font-size: .72rem; white-space: nowrap; }
  .portal-sidebar .portal-menu a .portal-menu__icon { display: inline-grid; flex: 0 0 18px; }
  .portal-sidebar .portal-menu .portal-menu__count { position: static; min-width: 17px; height: 17px; margin-left: 2px; font-size: .58rem; }
  .portal-sidebar__tip { display: none; }
}
@media (max-width: 650px) {
  body.portal-page { padding-bottom: 0; }
  .portal-sidebar .portal-menu { margin: 0 -2px 12px; }
  .portal-sidebar .portal-menu a { min-width: 88px; padding: 8px 9px; }
  .portal-sidebar .portal-menu a .portal-menu__icon { display: none; }
}

/* Disable legacy flat-menu pseudo labels */
.portal-sidebar .portal-menu .portal-menu__group a::after,
.portal-sidebar .portal-menu .portal-menu__group a:nth-child(n)::after { content: none !important; display: none !important; }
@media (max-width: 900px) {
  .portal-sidebar .portal-menu { position: static !important; display: flex !important; grid-template-columns: none !important; }
  .portal-sidebar .portal-menu__group { display: contents !important; }
  .portal-sidebar .portal-menu a { position: relative !important; display: inline-flex !important; width: auto !important; flex: 0 0 auto !important; font-size: .72rem !important; }
}
@media (max-width: 650px) {
  .portal-sidebar .portal-menu { position: static !important; bottom: auto !important; left: auto !important; right: auto !important; }
  .portal-sidebar .portal-menu a { min-width: 88px !important; min-height: 38px !important; }
}

/* Final public scale: readable type and denser sections */
body { font-size: 16px; }
.page-company .section { padding: 48px 0; }
.page-company .company-body { gap: 32px; }
.page-company .content, .page-company .lead { font-size: 1.05rem; line-height: 1.75; }
.page-company .section-title { font-size: clamp(1.8rem, 3vw, 2.35rem); }
.page-company .company-header h1 { font-size: clamp(2rem, 4vw, 3.15rem); }
.page-company .company-header .badge { font-size: .82rem; }
.page-company .breadcrumbs { font-size: .9rem; }
.page-company .info-card { padding: 20px; }
.page-company .info-row { padding: 13px 0; font-size: 1rem; }
.page-company .info-label { font-size: .82rem; margin-bottom: 4px; }
.page-company .review-item { padding: 18px; font-size: 1rem; }
.page-company .review-item__date { font-size: .86rem; }
.page-company .review-form { padding: 26px; }
.page-company .review-form .form-group label { font-size: .86rem; }
.page-company .gallery { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; margin-top: 26px; }
.page-company .gallery img { height: 175px; border-radius: 10px; }
.page-company .map-block, .page-company .reviews-block { margin-top: 40px !important; }
.page-company .map-block .section-title, .page-company .reviews-block .section-title { font-size: 1.45rem !important; }
.company-card--list .company-card__name { font-size: 1.22rem; }
.company-card--list .company-card__desc { font-size: .92rem; }
.company-card--list .company-card__details > div { font-size: .86rem; }
.company-card--list .company-card__side .btn { font-size: .84rem; min-height: 40px; }
.company-card__name { font-size: 1.25rem; }
.company-card__desc { font-size: .94rem; }
.btn { min-height: 46px; padding: 10px 18px; font-size: .95rem; }
.form-group label { font-size: .86rem; }

@media (max-width: 680px) {
  body { font-size: 16px; }
  .page-company .section { padding: 34px 0; }
  .page-company .company-body { gap: 24px; }
  .page-company .content, .page-company .lead { font-size: 1rem; }
  .page-company .company-header h1 { font-size: 1.9rem; }
  .page-company .breadcrumbs { font-size: .84rem; }
  .page-company .info-card { padding: 16px; }
  .page-company .info-row { padding: 11px 0; font-size: .96rem; }
  .page-company .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 20px; }
  .page-company .gallery img { height: 130px; }
  .page-company .review-form { padding: 20px 16px; }
  .company-card__name, .company-card--list .company-card__name { font-size: 1.05rem; }
  .company-card--list .company-card__desc { font-size: .84rem; }
  .company-card--list .company-card__details > div { font-size: .8rem; }
  .btn { min-height: 44px; font-size: .9rem; }
}

/* ============================================================
   Улучшенная верстка секции company-main
   ============================================================ */

/* Вспомогательные классы */
.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Основная структура секции */
.company-main {
    display: grid;
    gap: 40px;
    width: 100%;
}

.company-content {
    display: grid;
    gap: 48px;
}

.company-content__text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text);
}

.company-content__lead {
    font-size: 1.2rem;
    line-height: 1.7;
    color: var(--text);
    font-weight: 450;
}

/* Галерея компании */
.gallery--company {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.gallery-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-img {
    transform: scale(1.05);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px 12px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    font-size: 0.85rem;
    line-height: 1.4;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .gallery--company {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-img {
        height: 150px;
    }
}

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

/* Новости компании */
.section-heading--news {
    margin-bottom: 30px;
}

.news-grid--company {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.news-card--compact {
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.news-card--compact:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.news-card__media {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.news-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-card--compact:hover .news-card__image {
    transform: scale(1.05);
}

.news-card__content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-card__date {
    font-size: 0.85rem;
    color: var(--muted);
    margin-bottom: 8px;
}

.news-card__title {
    font-size: 1.2rem;
    line-height: 1.4;
    margin-bottom: 10px;
    color: var(--text);
}

.news-card__excerpt {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--muted);
    margin-bottom: 12px;
    flex: 1;
}

.news-card__body {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text);
}

@media (max-width: 768px) {
    .news-grid--company {
        grid-template-columns: 1fr;
    }
    
    .news-card__media {
        height: 160px;
    }
}

/* Секция товаров */
.product-grid--catalog {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 16px;
}

.product-card--company {
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
}

.product-card--company:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: var(--accent);
}

.product-card__visual {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.product-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-card__image--empty {
    background: linear-gradient(135deg, var(--accent-light), var(--sea-light));
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-card__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--accent);
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 1;
}

.product-card__discount {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--accent);
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 1;
}

.product-card__body {
    padding: 16px 20px;
    flex: 1;
}

.product-card__title {
    font-size: 1.1rem;
    line-height: 1.4;
    margin-bottom: 8px;
    color: var(--text);
}

.product-card__desc {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--muted);
    margin-bottom: 10px;
}

.product-card__marking {
    display: block;
    font-size: 0.8rem;
    color: var(--muted);
    padding-top: 8px;
    border-top: 1px dashed var(--border);
}

.product-card__bottom {
    padding: 16px 20px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.product-card__price {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.product-card__price-current {
    font-size: 1.2rem;
    color: var(--text);
    font-weight: 700;
}

.product-card__price-current small {
    font-size: 0.85rem;
    color: var(--muted);
    font-weight: 400;
}

.product-card__price-old {
    font-size: 0.9rem;
    color: var(--muted);
    text-decoration: line-through;
}

.quantity-control {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--surface);
    border-radius: 8px;
    padding: 4px;
}

.quantity-control button {
    width: 32px;
    height: 32px;
    border: none;
    background: white;
    border-radius: 6px;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    transition: background 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-control button:hover {
    background: var(--accent-light);
}

.quantity-control span {
    min-width: 36px;
    text-align: center;
    font-weight: 600;
}

.product-category__title {
    font-size: 1.4rem;
    margin: 32px 0 16px;
    color: var(--text);
    padding-bottom: 8px;
    border-bottom: 2px solid var(--accent-light);
}

/* Стили для корзины */
.cart-panel {
    position: sticky;
    top: 20px;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
    background: var(--bg);
    max-height: calc(100vh - 40px);
    overflow-y: auto;
}

.cart-panel__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.cart-panel__title {
    font-size: 1.2rem;
    color: var(--text);
}

.cart-panel__total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0;
    padding: 16px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    font-size: 1.1rem;
    font-weight: 600;
}

.cart-panel__total-label {
    color: var(--text);
}

.cart-panel__total-amount {
    color: var(--accent);
    font-size: 1.3rem;
}

.btn--cart-checkout {
    width: 100%;
    margin-bottom: 12px;
}

/* Секция расположения */
.company-location {
    margin-top: 48px;
}

.section-title--location {
    font-size: 1.4rem;
    margin-bottom: 20px;
}

.map-container {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
    margin-bottom: 16px;
}

.company-map {
    border: none;
    display: block;
}

.location-address {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px;
    background: var(--surface);
    border-radius: 8px;
    margin-top: 12px;
}

.location-address__icon {
    font-size: 1.2rem;
}

.location-address__text {
    font-size: 1rem;
    color: var(--text);
}

.address-block {
    background: var(--surface);
    border-radius: 12px;
    padding: 24px;
    border: 1px solid var(--border);
}

/* Секция отзывов */
.company-reviews {
    margin-top: 48px;
}

.reviews-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.reviews-count {
    font-size: 1rem;
    color: var(--muted);
    background: var(--surface);
    padding: 6px 12px;
    border-radius: 20px;
}

.reviews-empty {
    text-align: center;
    padding: 40px 20px;
    background: var(--surface);
    border-radius: 12px;
    border: 1px solid var(--border);
}

.reviews-empty__text {
    font-size: 1.1rem;
    color: var(--muted);
}

.reviews-list {
    display: grid;
    gap: 20px;
    margin-bottom: 32px;
}

.review--company {
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
    background: var(--bg);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.review--company:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.review__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.review__author {
    flex: 1;
}

.review__author-name {
    font-size: 1.1rem;
    color: var(--text);
    margin-bottom: 4px;
    display: block;
}

.review__meta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.review__rating {
    color: #FFB900;
    font-size: 1rem;
    letter-spacing: 2px;
}

.review__date {
    font-size: 0.9rem;
    color: var(--muted);
}

.review__photo {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.review-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review__content {
    margin-top: 8px;
}

.review__text {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text);
}

/* Форма отзыва */
.review-form-wrapper {
    margin-top: 32px;
    padding-top: 32px;
    border-top: 2px solid var(--border);
}

.review-form--company {
    background: var(--surface);
    border-radius: 12px;
    padding: 32px;
    border: 1px solid var(--border);
}

.review-form__title {
    font-size: 1.3rem;
    margin-bottom: 24px;
    color: var(--text);
}

.review-form__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 0.95rem;
    color: var(--text);
    margin-bottom: 8px;
    font-weight: 500;
}

.form-label__note {
    display: block;
    font-size: 0.85rem;
    color: var(--muted);
    margin-top: 4px;
}

.form-input,
.form-select,
.form-textarea,
.form-file {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
    background: var(--bg);
    color: var(--text);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(232, 93, 58, 0.1);
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

.form-file {
    padding: 10px 16px;
    cursor: pointer;
}

.form-consent {
    margin: 20px 0 24px;
}

.consent-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 0.95rem;
    line-height: 1.5;
}

.consent-check__input {
    margin-top: 2px;
    flex-shrink: 0;
}

.consent-check__text {
    color: var(--text);
}

.consent-check__link {
    color: var(--accent);
    text-decoration: underline;
}

.consent-check__link:hover {
    color: var(--accent-hover);
}

.btn--review-submit {
    padding: 12px 32px;
    font-size: 1.1rem;
    border-radius: 8px;
}

/* Адаптивные стили */
@media (max-width: 992px) {
    .company-content {
        gap: 36px;
    }
    
    .product-grid--catalog {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .review-form__grid {
        grid-template-columns: 1fr;
    }
    
    .cart-panel {
        position: static;
        max-height: none;
        margin-top: 24px;
    }
}

@media (max-width: 768px) {
    .company-content {
        gap: 32px;
    }
    
    .reviews-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .review__header {
        flex-direction: column;
        gap: 12px;
    }
    
    .review__photo {
        width: 100%;
        height: 200px;
    }
    
    .product-grid--catalog {
        grid-template-columns: 1fr;
    }
    
    .product-category__title {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .company-content {
        gap: 28px;
    }
    
    .review-form--company {
        padding: 20px 16px;
    }
    
    .review-form__title {
        font-size: 1.2rem;
    }
    
    .gallery--company {
        grid-template-columns: 1fr;
    }
    
    .news-grid--company {
        grid-template-columns: 1fr;
    }
}

/* Анимации и переходы */
.company-description,
.company-gallery,
.company-news,
.shop-section,
.company-location,
.company-reviews {
    animation: fadeInUp 0.5s ease forwards;
    opacity: 0;
    transform: translateY(20px);
}

.company-description {
    animation-delay: 0.1s;
}

.company-gallery {
    animation-delay: 0.2s;
}

.company-news {
    animation-delay: 0.3s;
}

.shop-section {
    animation-delay: 0.4s;
}

.company-location {
    animation-delay: 0.5s;
}

.company-reviews {
    animation-delay: 0.6s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Улучшенные состояния фокуса и ховера */
.product-card__visual:focus-within {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.gallery-item:focus-within {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
}

.review--company:focus-within {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
}

/* Индикатор видимости для скринридеров */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Улучшенный дизайн заголовков */
.section-title {
    position: relative;
    padding-bottom: 12px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--sea));
    border-radius: 2px;
}

.section-title--location::after {
    width: 40px;
}

/* Микро-анимации для интерактивных элементов */
.btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%);
    transform-origin: 50% 50%;
}

.btn:focus:not(:active)::after {
    animation: ripple 1s ease-out;
}

@keyframes ripple {
    0% {
        transform: scale(0, 0);
        opacity: 0.5;
    }
    20% {
        transform: scale(25, 25);
        opacity: 0.5;
    }
    100% {
        opacity: 0;
        transform: scale(40, 40);
    }
}

/* Плавные переходы для интерактивных элементов */
.form-input,
.form-select,
.form-textarea,
.form-file,
.quantity-control button,
.cart-clear,
.btn {
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Улучшенная доступность для фокуса */
.quantity-control button:focus,
.cart-clear:focus,
.form-input:focus,
.form-select:focus,
.form-textarea:focus,
.form-file:focus {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* Тени для поднятия элементов при ховере */
.product-card--company:hover,
.news-card--compact:hover,
.review--company:hover,
.gallery-item:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* Градиенты для фонов */
.review-form--company,
.address-block,
.reviews-empty {
    background: linear-gradient(145deg, var(--surface), var(--bg));
}

/* Микро-интерактивность для галереи */
.gallery-item {
    cursor: pointer;
}

.gallery-item:active {
    transform: scale(0.98);
}

/* Улучшенные состояния disabled */
.btn:disabled,
.btn[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

/* Улучшенные состояния загрузки */
.form-msg {
    padding: 12px 16px;
    border-radius: 8px;
    margin-top: 16px;
    font-size: 0.95rem;
    animation: fadeIn 0.3s ease;
}

.form-msg.ok {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.form-msg.err {
    background: rgba(220, 38, 38, 0.1);
    color: #dc2626;
    border: 1px solid rgba(220, 38, 38, 0.2);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Улучшенная типографика для контента */
.content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text);
}

.content p {
    margin-bottom: 1.5em;
}

.content ul,
.content ol {
    padding-left: 1.5em;
    margin-bottom: 1.5em;
}

.content li {
    margin-bottom: 0.5em;
}

.content a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.content a:hover {
    color: var(--accent-hover);
}

/* Класс для важных уведомлений */
.notice {
    padding: 16px 20px;
    border-radius: 12px;
    margin: 20px 0;
    background: var(--accent-light);
    color: var(--text);
    border-left: 4px solid var(--accent);
}

.notice--success {
    background: rgba(16, 185, 129, 0.1);
    border-left-color: var(--success);
}

.notice--warning {
    background: rgba(245, 158, 11, 0.1);
    border-left-color: #f59e0b;
}

/* Улучшенный скролл для корзины */
.cart-panel::-webkit-scrollbar {
    width: 8px;
}

.cart-panel::-webkit-scrollbar-track {
    background: var(--surface);
    border-radius: 4px;
}

.cart-panel::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 4px;
}

.cart-panel::-webkit-scrollbar-thumb:hover {
    background: var(--muted);
}
/* ============================================================
   Улучшения для company-main
   ============================================================ */

/* Лайтбокс для галереи */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.lightbox--open {
  display: flex;
}

.lightbox__backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(5px);
}

.lightbox__content {
  position: relative;
  z-index: 1;
  max-width: 90vw;
  max-height: 90vh;
  background: var(--bg);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.lightbox__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border: none;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  font-size: 24px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.lightbox__close:hover,
.lightbox__close:focus {
  background: rgba(0, 0, 0, 0.8);
}

.lightbox__image-container {
  position: relative;
  max-width: 100%;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox__image {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 12px;
  transition: opacity 0.2s ease;
}

.lightbox__caption {
  margin-top: 16px;
  padding: 12px 20px;
  color: var(--text);
  font-size: 1rem;
  text-align: center;
  background: var(--surface);
  border-radius: 8px;
  max-width: 80%;
}

.lightbox__prev,
.lightbox__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border: none;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  font-size: 24px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.lightbox__prev:hover,
.lightbox__next:hover,
.lightbox__prev:focus,
.lightbox__next:focus {
  background: rgba(0, 0, 0, 0.8);
}

.lightbox__prev {
  left: 16px;
}

.lightbox__next {
  right: 16px;
}

/* Анимация появления секций */
.company-description.in-view,
.company-gallery.in-view,
.company-news.in-view,
.shop-section.in-view,
.company-location.in-view,
.company-reviews.in-view {
  animation: fadeInUp 0.6s ease forwards;
}

/* Счетчик символов */
.char-counter {
  text-align: right;
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 4px;
}

.char-counter--warning {
  color: var(--accent);
  font-weight: 600;
}

/* Индикатор файла */
.file-indicator {
  margin-top: 8px;
  padding: 8px 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
}

.file-indicator__icon {
  font-size: 1.2rem;
}

.file-indicator__text {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Кнопка "Наверх" */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border: none;
  background: var(--accent);
  color: white;
  font-size: 1.5rem;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(232, 93, 58, 0.3);
}

.back-to-top:hover,
.back-to-top:focus {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232, 93, 58, 0.4);
}

.back-to-top--visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
}

/* Адаптивные улучшения для мобильных устройств */
@media (max-width: 768px) {
  .lightbox__content {
    max-width: 95vw;
    max-height: 95vh;
    padding: 10px;
  }

  .lightbox__image {
    max-height: 75vh;
  }

  .lightbox__prev,
  .lightbox__next {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }

  .lightbox__prev {
    left: 10px;
  }

  .lightbox__next {
    right: 10px;
  }
}

/* Подсветка активной секции при скролле */
.company-description.in-view,
.company-gallery.in-view,
.company-news.in-view,
.shop-section.in-view,
.company-location.in-view,
.company-reviews.in-view {
  animation: sectionHighlight 0.8s ease;
}

@keyframes sectionHighlight {
  0% {
    transform: translateY(20px);
    opacity: 0;
  }
  50% {
    transform: translateY(-5px);
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Улучшенные фокус-стили для доступности */
.gallery-item:focus {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
  border-radius: 12px;
}

.product-card--company:focus-within {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
  border-radius: 12px;
}

.news-card--compact:focus-within {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
  border-radius: 12px;
}

.review--company:focus-within {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
  border-radius: 12px;
}

/* Улучшенные состояния кнопок */
.btn:active {
  transform: scale(0.98);
}

.btn:disabled:active {
  transform: none;
}

/* Микро-интерактивность для иконок */
.gallery-item:hover,
.gallery-item:focus {
  transform: translateY(-4px) scale(1.02);
}

.product-card--company:hover,
.product-card--company:focus-within {
  transform: translateY(-4px) scale(1.02);
}

.news-card--compact:hover,
.news-card--compact:focus-within {
  transform: translateY(-4px) scale(1.02);
}

.review--company:hover,
.review--company:focus-within {
  transform: translateY(-2px) scale(1.01);
}

/* Плавные переходы для всех интерактивных элементов */
.gallery-item,
.product-card--company,
.news-card--compact,
.review--company,
.btn,
.form-input,
.form-select,
.form-textarea,
.quantity-control button {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Улучшенные тени для глубины */
.product-card--company:hover,
.news-card--compact:hover,
.review--company:hover,
.gallery-item:hover {
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

/* Градиентные границы для выделения */
.company-location {
  position: relative;
}

.company-location::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--sea));
  border-radius: 2px 2px 0 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.company-location.in-view::before {
  opacity: 1;
}

/* Анимированные разделители между секциями */
.company-content > * + * {
  position: relative;
  padding-top: 40px;
}

.company-content > * + *::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

/* Улучшенные эффекты для карты */
.map-container {
  transition: transform 0.3s ease;
}

.map-container:hover {
  transform: translateY(-4px);
}

.company-map {
  transition: filter 0.3s ease;
}

.map-container:hover .company-map {
  filter: brightness(1.1);
}

/* Анимация для иконок в адресе */
.location-address__icon {
  animation: bounce 2s ease infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-8px);
  }
  60% {
    transform: translateY(-4px);
  }
}

/* Индикатор загрузки для форм */
.form-loading {
  position: relative;
  opacity: 0.7;
}

.form-loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 30px;
  height: 30px;
  margin: -15px 0 0 -15px;
  border: 3px solid var(--border);
  border-top: 3px solid var(--accent);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Прогресс-бар для форм */
.progress-bar {
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
  margin: 16px 0;
}

.progress-bar__fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--sea));
  border-radius: 2px;
  transition: width 0.3s ease;
}


/* Company page: compact, static UI */
.company-main { display: block; min-width: 0; }
.company-content { display: grid; gap: 32px; }
.company-content > * { min-width: 0; animation: none; opacity: 1; transform: none; }
.company-content > * + * { padding-top: 32px; }
.company-section-head { margin-bottom: 14px; }
.company-section-head h2,
.company-location .section-title,
.company-reviews .section-title { padding: 0; font-size: 1.35rem; letter-spacing: -.025em; }
.company-section-head h2::after,
.company-location .section-title::after,
.company-reviews .section-title::after { display: none; }
.company-description { padding: 22px 24px; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; }
.company-content__text { margin: 0; font-size: 1rem; line-height: 1.7; }
.company-content__lead { margin: 0; color: var(--text); font-size: 1.05rem; line-height: 1.65; }
.gallery--company { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; }
.gallery-item { margin: 0; border-radius: 10px; cursor: default; transform: none !important; box-shadow: none !important; }
.gallery-img { display: block; width: 100%; height: 170px; object-fit: cover; border-radius: 10px; transform: none !important; }
.company-news, .shop-section, .company-location, .company-reviews { margin: 0; }
.section-heading--news, .shop-section__heading { margin-bottom: 18px; }
.news-grid--company { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.news-card--compact { border-radius: 12px; transform: none !important; box-shadow: none !important; }
.news-card__media { height: 150px; }
.news-card__content { padding: 16px; }
.news-card__title { font-size: 1rem; }
.news-card__excerpt, .news-card__body { font-size: .88rem; }
.product-grid--catalog { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 1050px) { .product-grid--catalog { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.product-category__title { margin: 24px 0 14px; padding: 0; border: 0; font-size: 1.15rem; }
.product-card--company { border-radius: 12px; transform: none !important; box-shadow: none !important; }
.product-card__visual { height: 155px; }
.product-card__body, .product-card__bottom { padding: 14px; }
.product-card__title { font-size: 1rem; }
.product-card__bottom { align-items: flex-end; }
.product-card__price-current { font-size: 1.05rem; }
.quantity-control { flex: 0 0 auto; }
.quantity-control button { width: 30px; height: 30px; }
.cart-panel { top: 92px; padding: 16px; border-radius: 12px; box-shadow: none; }
.company-location { padding: 22px; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; }
.company-location::before { display: none; }
.map-container { margin: 16px 0 0; transform: none !important; }
.company-map { height: 300px; filter: none !important; }
.location-address { margin: 12px 0 0; padding: 0; background: transparent; }
.location-address__icon { animation: none; }
.address-block { padding: 0; background: transparent; border: 0; }
.reviews-header { margin-bottom: 16px; padding: 0; border: 0; }
.reviews-count { margin: 0; font-size: .85rem; }
.reviews-list { gap: 12px; margin-bottom: 24px; }
.review--company { padding: 16px; border-radius: 12px; transform: none !important; box-shadow: none !important; }
.review__author-name { font-size: 1rem; }
.review__text { font-size: .95rem; }
.review-form-wrapper { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--border); }
.review-form--company { padding: 22px; border-radius: 14px; background: var(--surface); }
.review-form__title { margin-bottom: 18px; font-size: 1.15rem; }
.review-form__grid { gap: 12px; margin-bottom: 0; }
.btn--review-submit { padding: 10px 18px; font-size: .95rem; }
@media (max-width: 900px) { .cart-panel { position: static; } }
@media (max-width: 680px) {
  .company-content { gap: 24px; }
  .company-content > * + * { padding-top: 24px; }
  .company-description, .company-location, .review-form--company { padding: 18px 16px; }
  .gallery--company, .news-grid--company, .product-grid--catalog { grid-template-columns: 1fr; }
  .gallery-img { height: 210px; }
  .news-card__media { height: 180px; }
  .product-card__visual { height: 190px; }
  .reviews-header { align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) { .company-main *, .company-main *::before, .company-main *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }


/* Checkout modal */
.order-modal { padding: 16px; }
.order-modal__box { max-width: 560px; max-height: calc(100dvh - 32px); overflow-y: auto; padding: 28px; }
.order-modal__head { padding: 0 28px 18px 0; border-bottom: 1px solid var(--border); }
.order-modal__eyebrow { display: block; margin-bottom: 5px; color: var(--sea); font-size: .72rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.order-modal__head h3 { margin: 0 0 7px; font-size: 1.35rem; letter-spacing: -.03em; }
.order-modal__head .modal__hint { margin: 0; line-height: 1.5; }
.order-form { margin-top: 18px; }
.order-form__required { margin-bottom: 16px; color: var(--muted); font-size: .78rem; }
.order-form__required span, .order-form label > span[aria-hidden="true"] { color: var(--accent); }
.order-form__group { min-width: 0; margin: 0 0 18px; padding: 0; border: 0; }
.order-form__group legend { margin-bottom: 10px; color: var(--text); font-size: .9rem; font-weight: 700; }
.order-form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.order-form .form-group { margin-bottom: 12px; }
.order-form .form-group:last-child { margin-bottom: 0; }
.order-form label { display: flex; align-items: baseline; gap: 4px; margin-bottom: 5px; color: var(--text); font-size: .82rem; font-weight: 600; }
.order-form input, .order-form textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--border); border-radius: 8px; background: var(--bg); color: var(--text); font-size: .9rem; }
.order-form input:focus, .order-form textarea:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-light); }
.order-form textarea { min-height: 84px; resize: vertical; }
.order-form__optional { color: var(--muted); font-size: .74rem; font-weight: 400; }
.order-modal__notice { display: flex; gap: 9px; align-items: flex-start; margin: 18px 0 14px; padding: 11px 12px; background: var(--sea-light); border-radius: 9px; color: #19786d; }
.order-modal__notice > span { display: grid; place-items: center; width: 18px; height: 18px; flex: 0 0 auto; margin-top: 1px; border-radius: 50%; background: var(--sea); color: #fff; font-size: .7rem; font-weight: 800; }
.order-modal__notice p { font-size: .78rem; line-height: 1.45; }
.order-form .consent-check { margin: 0 0 18px; }
.order-form__actions { display: flex; gap: 10px; }
.order-form__actions .btn { flex: 1; }
.order-form__repeat { display: block; width: 100%; margin-top: 10px; padding: 4px; border: 0; background: transparent; color: var(--accent); font-size: .8rem; font-weight: 700; cursor: pointer; }
.order-form__repeat:hover { color: var(--accent-hover); }
@media (max-width: 540px) { .order-modal__box { padding: 22px 16px; }.order-form__grid, .order-form__actions { grid-template-columns: 1fr; display: grid; }.order-form__actions .btn { width: 100%; } }


/* Compact checkout modal: fits short viewports */
.order-modal { align-items: center; overflow-y: auto; }
.order-modal__box { width: min(100%, 520px); max-height: calc(100dvh - 24px); padding: 20px; overflow-y: auto; overscroll-behavior: contain; }
.order-modal__head { padding: 0 28px 12px 0; border-bottom: 1px solid var(--border); }
.order-modal__head h3 { margin: 0 0 4px; font-size: 1.2rem; }
.order-modal__head .modal__hint { margin: 0; font-size: .8rem; line-height: 1.4; }
.order-modal__eyebrow, .order-form__required, .order-form__group, .order-modal__notice { display: none; }
.order-form { margin-top: 14px; }
.order-form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.order-form .form-group { margin: 0; }
.order-form label { display: block; margin: 0 0 4px; font-size: .78rem; font-weight: 600; }
.order-form input, .order-form textarea { width: 100%; min-height: 40px; padding: 8px 10px; font-size: .88rem; }
.order-form textarea { min-height: 64px; }
.order-form__details { margin: 12px 0; padding: 10px 12px; background: var(--surface); border: 1px solid var(--border); border-radius: 8px; }
.order-form__details summary { color: var(--text); font-size: .82rem; font-weight: 600; cursor: pointer; }
.order-form__details[open] summary { margin-bottom: 10px; }
.order-form__details .form-group + .form-group { margin-top: 10px; }
.order-form .consent-check { margin: 12px 0; font-size: .7rem; }
.order-form__actions { display: flex; align-items: center; gap: 12px; }
.order-form__actions .btn { flex: 1; min-height: 42px; }
.order-form__back { padding: 6px 0; border: 0; background: transparent; color: var(--muted); font-size: .78rem; cursor: pointer; white-space: nowrap; }
.order-form__back:hover { color: var(--accent); }
.order-form__repeat { margin-top: 8px; }
@media (max-height: 640px) { .order-modal { align-items: flex-start; padding: 10px; }.order-modal__box { max-height: calc(100dvh - 20px); padding: 16px; }.order-form { margin-top: 10px; }.order-form__details { margin: 8px 0; }.order-form .consent-check { margin: 8px 0; } }
@media (max-width: 480px) { .order-modal { padding: 8px; }.order-modal__box { max-height: calc(100dvh - 16px); padding: 16px; border-radius: 12px; }.order-form__grid { grid-template-columns: 1fr; }.order-form__actions { justify-content: space-between; }.order-form__actions .btn { flex: 1; } }


/* Keep the consent checkbox compact inside checkout */
.order-form .consent-check { display: flex; align-items: flex-start; gap: 7px; }
.order-form .consent-check input[type="checkbox"] { width: 15px; min-width: 15px; height: 15px; min-height: 15px; margin: 2px 0 0; padding: 0; accent-color: var(--accent); }
.order-form .consent-check span { font-size: .7rem; line-height: 1.35; }


/* Checkout return link */
.order-form__back { display: inline-flex; align-items: center; min-height: 42px; padding: 8px 4px; border: 0; background: transparent; color: var(--muted); font-size: .8rem; font-weight: 600; cursor: pointer; white-space: nowrap; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 3px; }
.order-form__back:hover { color: var(--accent); text-decoration-color: currentColor; }
.order-form__back:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.order-form__repeat { display: none !important; }


/* Three-column catalog: keep the full content width for products */
@media (min-width: 901px) {
  .shop-layout { grid-template-columns: 1fr; }
  .shop-layout .cart-panel { position: static; max-width: none; max-height: none; }
  .product-grid--catalog { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 681px) and (max-width: 900px) {
  .product-grid--catalog { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}


/* Catalog and cart: products use the content width, cart is a right-side drawer */
.shop-layout { display: block; }
.shop-catalog { width: 100%; }
.cart-panel,
.shop-layout .cart-panel {
  position: fixed;
  z-index: 180;
  top: 0;
  right: 0;
  bottom: 0;
  left: auto;
  width: min(390px, 100vw);
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 24px;
  overflow-y: auto;
  border-radius: 0;
  transform: translateX(105%);
  transition: transform .25s ease;
}
.cart-panel.is-open { transform: translateX(0); }
.cart-panel::before {
  content: '';
  position: fixed;
  z-index: -1;
  top: 0;
  right: 100%;
  bottom: 0;
  width: 100vw;
  background: rgba(26, 26, 46, .4);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}
.cart-panel.is-open::before { opacity: 1; pointer-events: auto; }
@media (min-width: 901px) { .product-grid--catalog { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 681px) and (max-width: 900px) { .product-grid--catalog { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) {
  .cart-panel,
  .shop-layout .cart-panel { width: min(390px, 100vw); padding: 20px 16px; }
  .product-grid--catalog { grid-template-columns: 1fr; }
}


/* Shop entry point: the cart stays available without taking a product column */
.shop-cart-button { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 8px 12px; border: 1px solid var(--border); border-radius: 9px; background: var(--bg); color: var(--text); font-size: .84rem; font-weight: 700; cursor: pointer; }
.shop-cart-button:hover { border-color: var(--accent); color: var(--accent); }
.shop-cart-button span { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--accent); color: #fff; font-size: .7rem; }
@media (max-width: 540px) { .shop-section__heading { gap: 12px; }.shop-cart-button { width: 100%; justify-content: space-between; } }


/* Desktop catalog: two product columns and a persistent cart in the third column */
@media (min-width: 901px) {
  .shop-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 24px; align-items: start; }
  .product-grid--catalog { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cart-panel,
  .shop-layout .cart-panel {
    position: sticky;
    z-index: auto;
    top: 92px;
    right: auto;
    bottom: auto;
    left: auto;
    width: auto;
    max-height: calc(100vh - 112px);
    margin: 0;
    padding: 18px;
    overflow-y: auto;
    border-radius: 15px;
    transform: none;
  }
  .cart-panel::before { display: none; }
}


/* Final cart drawer: full-width catalog, high-contrast cart on every device */
.shop-layout { display: block !important; }
.shop-catalog { width: 100%; }
.cart-panel,
.shop-layout .cart-panel {
  position: fixed !important;
  z-index: 300;
  top: 0;
  right: 0;
  bottom: 0;
  left: auto;
  display: flex;
  flex-direction: column;
  width: min(400px, 100vw);
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 24px;
  overflow-y: auto;
  background: #172033;
  color: #fff;
  border: 0;
  border-radius: 0;
  box-shadow: -16px 0 40px rgba(10, 16, 30, .28);
  transform: translateX(105%) !important;
  transition: transform .25s ease;
}
.cart-panel.is-open { transform: translateX(0) !important; }
.cart-panel::before {
  content: '';
  position: fixed;
  z-index: -1;
  inset: 0 100% 0 auto;
  width: 100vw;
  background: rgba(10, 16, 30, .58);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}
.cart-panel.is-open::before { opacity: 1; pointer-events: auto; }
.cart-panel__head { padding-bottom: 16px; border-bottom: 1px solid rgba(255, 255, 255, .2); }
.cart-panel__title, .cart-panel__head h3 { color: #fff; font-size: 1.15rem; }
.cart-panel__head .cart-close { width: 38px; height: 38px; padding: 0; border: 1px solid rgba(255, 255, 255, .32); border-radius: 8px; color: #fff; font-size: 1.5rem; line-height: 1; }
.cart-panel__head .cart-close:hover { border-color: #fff; background: rgba(255, 255, 255, .12); }
.cart-items { flex: 1; max-height: none; padding: 16px 0; }
.cart-item { border-bottom-color: rgba(255, 255, 255, .18); }
.cart-item strong { color: #fff; font-size: .9rem; }
.cart-item small, .cart-empty { color: #d8e0eb; font-size: .8rem; }
.cart-item button { min-width: 36px; min-height: 36px; border-radius: 7px; color: #fff; background: rgba(255, 255, 255, .12); }
.cart-item button:hover { background: var(--accent); }
.cart-panel__total { margin-top: auto; padding: 18px 0; border-color: rgba(255, 255, 255, .22); }
.cart-panel__total span, .cart-panel__total-label { color: #d8e0eb; font-size: .9rem; }
.cart-panel__total strong, .cart-panel__total-amount { color: #fff; font-size: 1.35rem; }
.cart-panel .btn--cart-checkout { min-height: 48px; background: #f06a49; color: #fff; font-size: .95rem; }
.cart-panel .btn--cart-checkout:not(:disabled):hover { background: #ff835f; }
.cart-panel .btn--cart-checkout:disabled { background: #697386; color: #d8e0eb; opacity: 1; }
.cart-panel .cart-clear { min-height: 40px; margin-top: 10px; border-color: rgba(255, 255, 255, .35); color: #fff; }
.cart-panel .cart-clear:hover { border-color: #fff; background: rgba(255, 255, 255, .1); }
@media (min-width: 901px) { .product-grid--catalog { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 681px) and (max-width: 900px) { .product-grid--catalog { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) {
  .header-cart { min-height: 40px; border-color: var(--accent); background: var(--accent); color: #fff; }
  .header-cart span { background: #fff; color: var(--accent-hover); }
  .cart-panel,
  .shop-layout .cart-panel { width: 100vw; padding: 18px 16px max(18px, env(safe-area-inset-bottom)); }
  .cart-panel__head { padding-bottom: 12px; }
  .cart-panel__head .cart-close { width: 42px; height: 42px; }
  .cart-items { padding: 12px 0; }
  .cart-panel .btn--cart-checkout { min-height: 50px; font-size: 1rem; }
  .product-grid--catalog { grid-template-columns: 1fr; }
}


/* Company catalog grid: three cards in the available main-content area */
@media (min-width: 760px) {
  .company-main .product-grid.product-grid--catalog { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
  .company-main .product-card__visual { height: 135px; }
  .company-main .product-card__body,
  .company-main .product-card__bottom { padding: 12px; }
  .company-main .product-card__bottom { gap: 6px; }
  .company-main .product-card__price-current { font-size: .95rem; }
  .company-main .quantity-control { gap: 4px; }
  .company-main .quantity-control button { width: 26px; height: 26px; }
}
@media (max-width: 759px) {
  .company-main .product-grid.product-grid--catalog { grid-template-columns: 1fr !important; }
}


/* Compact product rows in the cart */
.cart-items { flex: 0 1 auto; display: grid; gap: 0; max-height: min(48vh, 420px); padding: 8px 0; overflow-y: auto; align-content: start; }
.cart-item { display: grid; grid-template-columns: 52px minmax(0, 1fr) 36px; align-items: center; gap: 10px; min-height: 68px; padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, .18); }
.cart-item__image { display: block; width: 52px; height: 52px; object-fit: cover; border: 1px solid rgba(255, 255, 255, .2); border-radius: 8px; background: #243149; }
.cart-item__image--empty { background: linear-gradient(135deg, #34435e, #243149); }
.cart-item__content { min-width: 0; }
.cart-item__content strong { overflow: hidden; color: #fff; font-size: .87rem; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }
.cart-item__content small { display: block; margin-top: 3px; color: #c6d0df; font-size: .76rem; line-height: 1.35; }
.cart-item > button { justify-self: end; width: 32px; min-width: 32px; height: 32px; min-height: 32px; padding: 0; font-size: 1.1rem; }
.cart-panel__total { margin-top: 14px; }
@media (max-width: 680px) {
  .cart-items { max-height: min(42vh, 310px); }
  .cart-item { grid-template-columns: 48px minmax(0, 1fr) 36px; min-height: 64px; padding: 8px 0; }
  .cart-item__image { width: 48px; height: 48px; }
}


/* Cart layout refinement: dense readable item list */
.cart-panel { gap: 0; }
.cart-items { flex: 0 0 auto !important; display: grid !important; gap: 8px !important; max-height: min(48vh, 390px) !important; padding: 14px 0 !important; align-content: start !important; }
.cart-item { display: grid !important; grid-template-columns: 56px minmax(0, 1fr) 34px !important; align-items: center !important; gap: 10px !important; min-height: 76px !important; padding: 10px !important; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12) !important; border-radius: 10px; }
.cart-item:last-child { border-bottom: 1px solid rgba(255, 255, 255, .12) !important; }
.cart-item__image { width: 56px !important; height: 56px !important; border-radius: 8px !important; object-fit: cover; background: #25344d; }
.cart-item__content { display: grid; min-width: 0; gap: 2px; }
.cart-item__content strong { overflow: hidden; color: #fff; font-size: .86rem; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
.cart-item__meta { overflow: hidden; color: #bfcbdc !important; font-size: .72rem !important; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }
.cart-item__sum { color: #fff; font-size: .82rem; line-height: 1.25; }
.cart-item > button { align-self: start; justify-self: end; width: 30px !important; min-width: 30px !important; height: 30px !important; min-height: 30px !important; border-radius: 7px; font-size: 1rem !important; }
.cart-panel__total { margin-top: 10px !important; }
@media (max-width: 680px) {
  .cart-items { max-height: min(40vh, 300px) !important; padding: 10px 0 !important; }
  .cart-item { grid-template-columns: 52px minmax(0, 1fr) 34px !important; min-height: 70px !important; padding: 8px !important; }
  .cart-item__image { width: 52px !important; height: 52px !important; }
}


/* Final cart item layout */
.cart-panel[data-cart-panel] .cart-items {
  flex: 0 1 auto !important;
  display: grid !important;
  grid-auto-rows: max-content !important;
  align-content: start !important;
  gap: 8px !important;
  max-height: min(46vh, 380px) !important;
  margin: 0 !important;
  padding: 14px 0 !important;
}
.cart-panel[data-cart-panel] .cart-item {
  display: grid !important;
  grid-template-columns: 54px minmax(0, 1fr) 32px !important;
  align-items: center !important;
  gap: 10px !important;
  min-height: 72px !important;
  height: auto !important;
  margin: 0 !important;
  padding: 8px !important;
  background: rgba(255, 255, 255, .07) !important;
  border: 1px solid rgba(255, 255, 255, .13) !important;
  border-radius: 10px !important;
}
.cart-panel[data-cart-panel] .cart-item__image {
  display: block !important;
  width: 54px !important;
  height: 54px !important;
  object-fit: cover !important;
  border: 0 !important;
  border-radius: 7px !important;
}
.cart-panel[data-cart-panel] .cart-item__content { display: grid !important; gap: 2px; min-width: 0; }
.cart-panel[data-cart-panel] .cart-item__content strong,
.cart-panel[data-cart-panel] .cart-item__meta,
.cart-panel[data-cart-panel] .cart-item__sum { display: block !important; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cart-panel[data-cart-panel] .cart-item__content strong { font-size: .85rem !important; }
.cart-panel[data-cart-panel] .cart-item__meta { margin: 0 !important; font-size: .72rem !important; }
.cart-panel[data-cart-panel] .cart-item__sum { font-size: .8rem !important; }
.cart-panel[data-cart-panel] .cart-item > button { align-self: start; width: 32px !important; min-width: 32px !important; height: 32px !important; min-height: 32px !important; }
.cart-panel[data-cart-panel] .cart-panel__total { margin-top: 10px !important; }
@media (max-width: 680px) {
  .cart-panel[data-cart-panel] .cart-items { max-height: min(40vh, 300px) !important; }
}


/* Cart visual cleanup */
.cart-panel[data-cart-panel] { min-height: 0; }
.cart-panel[data-cart-panel] .cart-items {
  flex: 0 0 auto !important;
  grid-auto-rows: auto !important;
  max-height: min(46dvh, 360px) !important;
  overflow-y: auto !important;
  overscroll-behavior: contain;
}
.cart-panel[data-cart-panel] .cart-item {
  grid-template-columns: 56px minmax(0, 1fr) 32px !important;
  align-content: center;
  min-height: 72px !important;
  background: rgba(255, 255, 255, .08) !important;
}
.cart-panel[data-cart-panel] .cart-item__image {
  width: 56px !important;
  height: 56px !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12);
}
.cart-panel[data-cart-panel] .cart-item__image--empty::after {
  content: 'Товар';
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  color: #c6d0df;
  font-size: .62rem;
  font-weight: 700;
}
.cart-panel[data-cart-panel] .cart-item__content { align-self: center; }
.cart-panel[data-cart-panel] .cart-item__meta { color: #bfcbdc !important; }
.cart-panel[data-cart-panel] .cart-item__sum { color: #fff !important; }
.cart-panel[data-cart-panel] .cart-item > button { background: rgba(255, 255, 255, .14) !important; }
.cart-panel[data-cart-panel] .cart-panel__total { flex: 0 0 auto; }
@media (max-width: 680px) {
  .cart-panel[data-cart-panel] .cart-items { max-height: min(42dvh, 310px) !important; }
  .cart-panel[data-cart-panel] .cart-item { grid-template-columns: 52px minmax(0, 1fr) 32px !important; }
  .cart-panel[data-cart-panel] .cart-item__image { width: 52px !important; height: 52px !important; }
}


/* Cart items: compact list without stretched rows */
.cart-panel[data-cart-panel] .cart-items {
  display: block !important;
  flex: none !important;
  height: auto !important;
  max-height: min(46dvh, 380px) !important;
  padding: 12px 0 !important;
  overflow-y: auto !important;
}
.cart-panel[data-cart-panel] .cart-item {
  display: grid !important;
  grid-template-columns: 56px minmax(0, 1fr) 32px !important;
  align-items: center !important;
  gap: 10px !important;
  min-height: 72px !important;
  height: 72px !important;
  margin: 0 0 8px !important;
  padding: 8px !important;
  background: rgba(255, 255, 255, .08) !important;
  border: 1px solid rgba(255, 255, 255, .14) !important;
  border-radius: 10px !important;
}
.cart-panel[data-cart-panel] .cart-item:last-child { margin-bottom: 0 !important; }
.cart-panel[data-cart-panel] .cart-item__image {
  display: block !important;
  width: 56px !important;
  height: 56px !important;
  min-width: 56px !important;
  min-height: 56px !important;
  object-fit: cover !important;
  border-radius: 7px !important;
}
.cart-panel[data-cart-panel] .cart-item__content {
  display: grid !important;
  align-content: center !important;
  gap: 2px !important;
  min-width: 0 !important;
}
.cart-panel[data-cart-panel] .cart-item__content strong,
.cart-panel[data-cart-panel] .cart-item__meta,
.cart-panel[data-cart-panel] .cart-item__sum {
  display: block !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}
.cart-panel[data-cart-panel] .cart-item__content strong { color: #fff !important; font-size: .86rem !important; }
.cart-panel[data-cart-panel] .cart-item__meta { margin: 0 !important; color: #bfcbdc !important; font-size: .72rem !important; }
.cart-panel[data-cart-panel] .cart-item__sum { color: #fff !important; font-size: .8rem !important; }
.cart-panel[data-cart-panel] .cart-item > button {
  align-self: center !important;
  width: 32px !important;
  min-width: 32px !important;
  height: 32px !important;
  min-height: 32px !important;
  margin: 0 !important;
}
.cart-panel[data-cart-panel] .cart-panel__total { margin-top: 8px !important; }
@media (max-width: 680px) {
  .cart-panel[data-cart-panel] .cart-items { max-height: min(40dvh, 300px) !important; }
  .cart-panel[data-cart-panel] .cart-item { grid-template-columns: 52px minmax(0, 1fr) 32px !important; height: 68px !important; min-height: 68px !important; }
  .cart-panel[data-cart-panel] .cart-item__image { width: 52px !important; height: 52px !important; min-width: 52px !important; min-height: 52px !important; }
}


/* Cart list: thumbnail, product data, quantity and removal in one compact row */
.cart-panel[data-cart-panel] .cart-items {
  display: flex !important;
  flex: 0 1 auto !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 8px !important;
  max-height: min(46dvh, 380px) !important;
  padding: 12px 0 !important;
}
.cart-panel[data-cart-panel] .cart-item {
  display: grid !important;
  grid-template-columns: 52px minmax(0, 1fr) auto 30px !important;
  align-items: center !important;
  gap: 9px !important;
  flex: 0 0 68px !important;
  width: 100% !important;
  min-height: 68px !important;
  height: 68px !important;
  margin: 0 !important;
  padding: 8px !important;
  background: rgba(255, 255, 255, .07) !important;
  border: 1px solid rgba(255, 255, 255, .13) !important;
  border-radius: 9px !important;
}
.cart-panel[data-cart-panel] .cart-item__image {
  display: block !important;
  width: 52px !important;
  height: 52px !important;
  min-width: 52px !important;
  min-height: 52px !important;
  object-fit: cover !important;
  border: 0 !important;
  border-radius: 7px !important;
}
.cart-panel[data-cart-panel] .cart-item__content {
  display: grid !important;
  min-width: 0 !important;
  gap: 1px !important;
}
.cart-panel[data-cart-panel] .cart-item__content strong,
.cart-panel[data-cart-panel] .cart-item__meta,
.cart-panel[data-cart-panel] .cart-item__sum {
  display: block !important;
  overflow: hidden !important;
  margin: 0 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}
.cart-panel[data-cart-panel] .cart-item__content strong { color: #fff !important; font-size: .82rem !important; line-height: 1.2 !important; }
.cart-panel[data-cart-panel] .cart-item__meta { color: #bac6d7 !important; font-size: .68rem !important; line-height: 1.25 !important; }
.cart-panel[data-cart-panel] .cart-item__sum { color: #fff !important; font-size: .74rem !important; line-height: 1.2 !important; }
.cart-panel[data-cart-panel] .cart-item__quantity {
  display: inline-grid;
  grid-template-columns: 24px 20px 24px;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 7px;
  background: rgba(255, 255, 255, .06);
}
.cart-panel[data-cart-panel] .cart-item__quantity button {
  width: 24px;
  min-width: 24px;
  height: 26px;
  min-height: 26px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #fff;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
}
.cart-panel[data-cart-panel] .cart-item__quantity button:hover { background: rgba(255, 255, 255, .14); }
.cart-panel[data-cart-panel] .cart-item__quantity span { color: #fff; font-size: .72rem; font-weight: 700; text-align: center; }
.cart-panel[data-cart-panel] .cart-item > .cart-item__remove {
  align-self: center !important;
  width: 30px !important;
  min-width: 30px !important;
  height: 30px !important;
  min-height: 30px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 7px !important;
  background: rgba(255, 255, 255, .11) !important;
  color: #fff !important;
  font-size: 1rem !important;
  line-height: 1 !important;
}
.cart-panel[data-cart-panel] .cart-item > .cart-item__remove:hover { background: var(--accent) !important; }
.cart-panel[data-cart-panel] .cart-panel__total { margin-top: 12px !important; }
@media (max-width: 680px) {
  .cart-panel[data-cart-panel] .cart-items { max-height: min(41dvh, 300px) !important; }
  .cart-panel[data-cart-panel] .cart-item { grid-template-columns: 48px minmax(0, 1fr) 30px !important; flex-basis: 66px !important; height: 66px !important; min-height: 66px !important; }
  .cart-panel[data-cart-panel] .cart-item__image { width: 48px !important; height: 48px !important; min-width: 48px !important; min-height: 48px !important; }
  .cart-panel[data-cart-panel] .cart-item__quantity { display: none; }
}


/* Public delivery conditions */
.company-delivery { margin: 24px 0; padding: 20px; background: #f7fbfa; border: 1px solid #d6efeb; border-radius: 14px; }
.company-delivery__methods { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 14px; }
.company-delivery__methods span { padding: 5px 9px; background: #fff; border: 1px solid #d6efeb; border-radius: 20px; color: #19786d; font-size: .76rem; font-weight: 700; }
.company-delivery__facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(145px, 1fr)); gap: 8px; }
.company-delivery__facts > div { padding: 10px; background: rgba(255,255,255,.7); border-radius: 9px; }
.company-delivery__facts small { display: block; color: var(--muted); font-size: .7rem; }
.company-delivery__facts strong { display: block; margin-top: 3px; color: var(--text); font-size: .83rem; line-height: 1.4; }
.company-delivery__note { margin-top: 13px; color: #4e817b; font-size: .82rem; line-height: 1.55; }
@media (max-width: 600px) { .company-delivery { padding: 16px; } }


/* Shop UX: catalog cards and cart items */
.shop-section { padding-top: 38px; }
.shop-section__heading { margin-bottom: 22px; }
.product-category { margin-bottom: 34px; }
.product-category__title { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; color: var(--text); font-size: 1.1rem; }
.product-category__title::after { content: ''; height: 1px; flex: 1; background: var(--border); }
.company-main .product-grid.product-grid--catalog { display: grid; gap: 14px; }
.product-card--company { min-width: 0; min-height: 100%; overflow: hidden; background: var(--bg); border-color: var(--border); box-shadow: 0 1px 2px rgba(18, 28, 45, .04); }
.product-card--company:hover { border-color: #f2aa98; box-shadow: 0 8px 20px rgba(18, 28, 45, .08); transform: translateY(-2px) !important; }
.product-card--company .product-card__visual { height: 156px; background: #edf3f4; }
.product-card--company .product-card__image { width: 100%; height: 100%; object-fit: cover; }
.product-card--company .product-card__body { display: flex; flex: 1; flex-direction: column; min-width: 0; }
.product-card--company .product-card__title { margin: 0; font-size: .95rem; line-height: 1.3; }
.product-card--company .product-card__desc { display: -webkit-box; overflow: hidden; line-clamp: 2; -webkit-box-orient: vertical; -webkit-line-clamp: 2; margin-top: 5px; font-size: .78rem; }
.product-card--company .product-card__bottom { min-height: 58px; margin-top: auto; border-top: 1px solid var(--border); }
.product-card--company .product-card__price-current { color: #19786d; font-size: 1rem; }
.product-card--company .quantity-control { background: var(--surface); }
.product-card--company .quantity-control button { background: var(--bg); }

.cart-panel[data-cart-panel] { padding: 20px; }
.cart-panel[data-cart-panel] .cart-items { display: flex !important; flex: 0 1 auto !important; flex-direction: column; gap: 8px !important; max-height: min(48dvh, 400px) !important; padding: 12px 0 !important; }
.cart-panel[data-cart-panel] .cart-item { grid-template-columns: 52px minmax(0, 1fr) 76px 30px !important; gap: 8px !important; flex: 0 0 70px !important; height: 70px !important; min-height: 70px !important; padding: 8px !important; }
.cart-panel[data-cart-panel] .cart-item__image { width: 52px !important; height: 52px !important; min-width: 52px !important; min-height: 52px !important; }
.cart-panel[data-cart-panel] .cart-item__content strong { font-size: .82rem !important; }
.cart-panel[data-cart-panel] .cart-item__meta { font-size: .69rem !important; }
.cart-panel[data-cart-panel] .cart-item__sum { font-size: .76rem !important; }
.cart-panel[data-cart-panel] .cart-item__quantity { grid-template-columns: 22px 22px 22px; min-height: 28px; }
.cart-panel[data-cart-panel] .cart-item__quantity button { width: 22px; min-width: 22px; height: 26px; min-height: 26px; }
.cart-panel[data-cart-panel] .cart-item__quantity span { font-size: .7rem; }
.cart-panel[data-cart-panel] .cart-empty { padding: 22px 8px; text-align: center; }
.cart-panel[data-cart-panel] .cart-panel__total { margin-top: 8px !important; }
@media (min-width: 760px) { .company-main .product-grid.product-grid--catalog { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; } }
@media (max-width: 759px) {
  .shop-section { padding-top: 28px; }
  .product-card--company .product-card__visual { height: 190px; }
  .cart-panel[data-cart-panel] { padding: 16px; }
  .cart-panel[data-cart-panel] .cart-items { max-height: min(43dvh, 340px) !important; }
  .cart-panel[data-cart-panel] .cart-item { grid-template-columns: 48px minmax(0, 1fr) 70px 30px !important; flex-basis: 66px !important; height: 66px !important; min-height: 66px !important; gap: 7px !important; }
  .cart-panel[data-cart-panel] .cart-item__image { width: 48px !important; height: 48px !important; min-width: 48px !important; min-height: 48px !important; }
  .cart-panel[data-cart-panel] .cart-item__quantity { display: inline-grid; grid-template-columns: 20px 20px 20px; }
  .cart-panel[data-cart-panel] .cart-item__quantity button { width: 20px; min-width: 20px; }
}


/* Catalog and cart: final compact shopping flow */
.company-main .shop-section { border-top: 1px solid var(--border); }
.company-main .shop-section__heading { align-items: flex-end; }
.company-main .product-grid.product-grid--catalog { align-items: stretch; }
.company-main .product-card--company { display: flex; height: 100%; }
.company-main .product-card--company .product-card__visual { overflow: hidden; }
.company-main .product-card--company .product-card__image { transition: transform .2s ease; }
.company-main .product-card--company:hover .product-card__image { transform: scale(1.03); }
.company-main .product-card--company .product-card__price { min-width: 0; }
.company-main .product-card--company .quantity-control { flex: 0 0 auto; }

.cart-panel[data-cart-panel] .cart-items { flex: 0 1 auto !important; display: flex !important; flex-direction: column !important; align-items: stretch !important; gap: 8px !important; max-height: min(48dvh, 400px) !important; }
.cart-panel[data-cart-panel] .cart-item { display: grid !important; grid-template-columns: 52px minmax(0, 1fr) 72px 30px !important; align-items: center !important; gap: 8px !important; flex: 0 0 70px !important; height: 70px !important; min-height: 70px !important; overflow: hidden; }
.cart-panel[data-cart-panel] .cart-item__image { display: block !important; width: 52px !important; height: 52px !important; min-width: 52px !important; min-height: 52px !important; object-fit: cover !important; }
.cart-panel[data-cart-panel] .cart-item__content { min-width: 0 !important; }
.cart-panel[data-cart-panel] .cart-item__content strong { max-width: 100%; }
.cart-panel[data-cart-panel] .cart-item__quantity { display: inline-grid !important; grid-template-columns: 22px 20px 22px !important; min-width: 64px; }
.cart-panel[data-cart-panel] .cart-item__quantity button { min-width: 22px !important; width: 22px !important; }
.cart-panel[data-cart-panel] .cart-item__remove { display: grid !important; place-items: center; }
.cart-panel[data-cart-panel] .cart-panel__total { padding-top: 14px; }

@media (max-width: 759px) {
  .company-main .product-grid.product-grid--catalog { gap: 12px; }
  .company-main .product-card--company .product-card__visual { height: 180px; }
  .cart-panel[data-cart-panel] .cart-items { max-height: min(42dvh, 330px) !important; }
  .cart-panel[data-cart-panel] .cart-item { grid-template-columns: 48px minmax(0, 1fr) 64px 30px !important; flex-basis: 66px !important; height: 66px !important; min-height: 66px !important; }
  .cart-panel[data-cart-panel] .cart-item__image { width: 48px !important; height: 48px !important; min-width: 48px !important; min-height: 48px !important; }
  .cart-panel[data-cart-panel] .cart-item__quantity { grid-template-columns: 20px 20px 20px !important; min-width: 60px; }
  .cart-panel[data-cart-panel] .cart-item__quantity button { min-width: 20px !important; width: 20px !important; }
}


/* Cart drawer: product list without empty vertical gaps */
.cart-panel[data-cart-panel] { gap: 0; }
.cart-panel[data-cart-panel] .cart-items {
  display: flex !important;
  flex: 0 1 auto !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  align-content: flex-start !important;
  gap: 8px !important;
  height: auto !important;
  max-height: min(46dvh, 372px) !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 12px 0 !important;
}
.cart-panel[data-cart-panel] .cart-item {
  display: grid !important;
  grid-template-columns: 54px minmax(0, 1fr) 70px 30px !important;
  align-items: center !important;
  gap: 8px !important;
  flex: 0 0 72px !important;
  height: 72px !important;
  min-height: 72px !important;
  margin: 0 !important;
  padding: 8px !important;
  background: rgba(255, 255, 255, .08) !important;
  border: 1px solid rgba(255, 255, 255, .14) !important;
  border-radius: 10px !important;
}
.cart-panel[data-cart-panel] .cart-item__image {
  display: block !important;
  width: 54px !important;
  height: 54px !important;
  min-width: 54px !important;
  min-height: 54px !important;
  object-fit: cover !important;
  background: #293954 !important;
  border-radius: 7px !important;
}
.cart-panel[data-cart-panel] .cart-item__content { min-width: 0 !important; }
.cart-panel[data-cart-panel] .cart-item__content strong { font-size: .83rem !important; }
.cart-panel[data-cart-panel] .cart-item__meta { color: #c4cfdf !important; }
.cart-panel[data-cart-panel] .cart-item__sum { color: #fff !important; }
.cart-panel[data-cart-panel] .cart-item__quantity { display: inline-grid !important; grid-template-columns: 22px 22px 22px !important; min-width: 66px !important; }
.cart-panel[data-cart-panel] .cart-item__quantity button { display: grid !important; place-items: center; width: 22px !important; min-width: 22px !important; height: 26px !important; min-height: 26px !important; }
.cart-panel[data-cart-panel] .cart-item__remove { display: grid !important; place-items: center; }
.cart-panel[data-cart-panel] .cart-empty { margin: 0 !important; padding: 20px 8px !important; }
.cart-panel[data-cart-panel] .cart-panel__total { margin-top: 10px !important; }
@media (max-width: 680px) {
  .cart-panel[data-cart-panel] .cart-items { max-height: min(42dvh, 310px) !important; }
  .cart-panel[data-cart-panel] .cart-item { grid-template-columns: 48px minmax(0, 1fr) 62px 30px !important; flex-basis: 66px !important; height: 66px !important; min-height: 66px !important; gap: 7px !important; }
  .cart-panel[data-cart-panel] .cart-item__image { width: 48px !important; height: 48px !important; min-width: 48px !important; min-height: 48px !important; }
  .cart-panel[data-cart-panel] .cart-item__quantity { grid-template-columns: 20px 20px 20px !important; min-width: 60px !important; }
  .cart-panel[data-cart-panel] .cart-item__quantity button { width: 20px !important; min-width: 20px !important; }
}


/* Company news after catalog */
.company-news--after-shop { padding-top: 34px; border-top: 1px solid var(--border); }
.company-news__head { margin-bottom: 16px; }
.company-news--after-shop .news-grid--company { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.company-news--after-shop .news-card--compact { display: flex; min-width: 0; min-height: 100%; overflow: hidden; border: 1px solid var(--border); border-radius: 12px; background: var(--bg); box-shadow: none; transform: none !important; }
.company-news--after-shop .news-card--compact:hover { border-color: #f2aa98; box-shadow: 0 6px 18px rgba(18, 28, 45, .07); }
.company-news--after-shop .news-card__media { height: 128px; flex: 0 0 auto; background: var(--surface); }
.company-news--after-shop .news-card__image { width: 100%; height: 100%; object-fit: cover; }
.company-news--after-shop .news-card__content { display: flex; flex: 1; flex-direction: column; min-width: 0; padding: 14px; }
.company-news--after-shop .news-card__date { display: block; margin: 0 0 7px; color: var(--muted); font-size: .72rem; }
.company-news--after-shop .news-card__title { display: -webkit-box; overflow: hidden; margin: 0; color: var(--text); font-size: .95rem; line-clamp: 2; line-height: 1.32; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.company-news--after-shop .news-card__excerpt { display: -webkit-box; overflow: hidden; margin: 7px 0 0; color: var(--muted); font-size: .78rem; line-clamp: 2; line-height: 1.45; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
@media (max-width: 900px) { .company-news--after-shop .news-grid--company { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .company-news--after-shop { padding-top: 26px; }
  .company-news--after-shop .news-grid--company { grid-template-columns: 1fr; }
  .company-news--after-shop .news-card--compact { display: grid; grid-template-columns: 112px minmax(0, 1fr); }
  .company-news--after-shop .news-card__media { height: 100%; min-height: 116px; }
}


/* News section: consistent cards after the catalog */
.company-news--after-shop { margin-top: 6px; padding: 32px 0 0; }
.company-news--after-shop .news-grid--company { grid-auto-rows: 1fr; }
.company-news--after-shop .news-card--compact { display: grid; grid-template-rows: 132px minmax(0, 1fr); min-height: 272px; }
.company-news--after-shop .news-card__media { height: 132px; }
.company-news--after-shop .news-card__media--placeholder { display: grid; place-items: center; background: linear-gradient(135deg, var(--accent-light), var(--sea-light)); color: #19786d; }
.company-news--after-shop .news-card__media--placeholder span { padding: 6px 10px; border: 1px solid rgba(25, 120, 109, .18); border-radius: 20px; background: rgba(255, 255, 255, .55); font-size: .72rem; font-weight: 700; }
.company-news--after-shop .news-card__content { justify-content: flex-start; padding: 15px; }
.company-news--after-shop .news-card__date { width: fit-content; margin-bottom: 9px; padding: 3px 7px; border-radius: 5px; background: var(--surface); color: var(--muted); font-size: .68rem; font-weight: 600; }
.company-news--after-shop .news-card__title { font-size: .96rem; font-weight: 750; }
.company-news--after-shop .news-card__excerpt { margin-top: 8px; font-size: .78rem; }
@media (max-width: 900px) { .company-news--after-shop .news-card--compact { min-height: 250px; } }
@media (max-width: 600px) {
  .company-news--after-shop { padding-top: 26px; }
  .company-news--after-shop .news-card--compact { grid-template-columns: 116px minmax(0, 1fr); grid-template-rows: 1fr; min-height: 116px; }
  .company-news--after-shop .news-card__media { width: 116px; height: 100%; min-height: 116px; }
  .company-news--after-shop .news-card__content { padding: 13px; }
}


/* News cards after shop: final alignment */
.company-news--after-shop .news-card--no-image .news-card__media { display: grid; }
.company-news--after-shop .news-card__content { min-height: 0; }
.company-news--after-shop .news-card__excerpt:empty { display: none; }
@media (min-width: 901px) {
  .company-news--after-shop .news-grid--company { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}


/* ============================================================
   Company page — final UI rhythm and responsive layout
   ============================================================ */
.page-company .page-head { padding: 26px 0 30px; }
.page-company .breadcrumbs { margin-bottom: 14px; }
.page-company .company-header { gap: 24px; }
.page-company .company-header h1 { max-width: 760px; margin-bottom: 10px; line-height: 1.08; }
.page-company .company-meta { margin-top: 10px; }
.page-company .types { margin-top: 10px; }
.page-company .company-actions { align-self: center; justify-content: flex-end; margin: 0; }
.page-company .company-actions .btn { min-width: 156px; }

.page-company .section { padding: 38px 0 58px; }
.page-company .company-body { align-items: start; gap: 28px; }
.page-company .company-main { min-width: 0; }
.page-company .company-content { gap: 28px; }
.page-company .company-content > * + * { padding-top: 28px; }
.page-company .company-section-head { margin-bottom: 12px; }
.page-company .company-section-head h2,
.page-company .company-location .section-title,
.page-company .company-reviews .section-title { font-size: 1.28rem; line-height: 1.25; }

.page-company .company-description,
.page-company .company-delivery,
.page-company .company-location { border-radius: 14px; }
.page-company .company-description { padding: 20px 22px; }
.page-company .company-content__text { line-height: 1.7; }
.page-company .company-delivery { margin: 0; padding: 18px 20px; }
.page-company .company-delivery__facts { gap: 8px; }
.page-company .company-delivery__facts > div { min-height: 66px; padding: 10px 11px; }

.page-company .gallery--company { gap: 12px; }
.page-company .gallery-img { height: 165px; border-radius: 10px; }

/* Product catalogue: use the whole content column and maintain card rhythm. */
.page-company .shop-section { margin: 0; padding-top: 28px; }
.page-company .shop-section__heading { margin-bottom: 18px; }
.page-company .shop-section__heading .eyebrow { margin-bottom: 6px; }
.page-company .product-category { margin-bottom: 30px; }
.page-company .product-category:last-child { margin-bottom: 0; }
.page-company .product-category__title { margin-bottom: 12px; font-size: 1.08rem; }
.page-company .product-grid--catalog { gap: 12px; }
.page-company .product-card--company { border-radius: 12px; }
.page-company .product-card--company .product-card__visual { height: 150px; }
.page-company .product-card--company .product-card__body { min-height: 92px; padding: 13px; }
.page-company .product-card--company .product-card__title { font-size: .92rem; }
.page-company .product-card--company .product-card__desc { color: var(--muted); font-size: .76rem; }
.page-company .product-card--company .product-card__bottom { min-height: 56px; padding: 10px 13px; }
.page-company .product-card--company .product-card__price-current { font-size: .94rem; }
.page-company .product-card--company .product-card__price-current small { font-size: .72rem; }
.page-company .quantity-control { gap: 3px; padding: 3px; border-radius: 7px; }
.page-company .quantity-control button { width: 27px; height: 27px; border-radius: 5px; }
.page-company .quantity-control span { min-width: 20px; font-size: .76rem; }

/* Right sidebar gives contacts a clear, quiet secondary hierarchy. */
.page-company .company-aside { position: sticky; top: 88px; }
.page-company .info-card { padding: 16px 18px; border-radius: 14px; background: var(--surface); }
.page-company .company-claim { margin-bottom: 8px; }
.page-company .info-row { padding: 11px 0; }
.page-company .info-row a { overflow-wrap: anywhere; }

/* News follows shopping and has predictable card dimensions. */
.page-company .company-news--after-shop { margin-top: 2px; padding-top: 30px; }
.page-company .company-news__head { margin-bottom: 14px; }
.page-company .company-news--after-shop .news-grid--company { gap: 12px; }
.page-company .company-news--after-shop .news-card--compact { min-height: 254px; border-radius: 12px; }
.page-company .company-news--after-shop .news-card__media { height: 122px; }
.page-company .company-news--after-shop .news-card__content { padding: 13px; }
.page-company .company-news--after-shop .news-card__date { margin-bottom: 8px; }
.page-company .company-news--after-shop .news-card__title { font-size: .9rem; }
.page-company .company-news--after-shop .news-card__excerpt { font-size: .75rem; }

/* Drawer cart: fixed action area and compact, scan-friendly items. */
.cart-panel[data-cart-panel] { padding: 20px; }
.cart-panel[data-cart-panel] .cart-panel__head { flex: 0 0 auto; }
.cart-panel[data-cart-panel] .cart-items { flex: 0 1 auto !important; max-height: min(48dvh, 390px) !important; }
.cart-panel[data-cart-panel] .cart-item { grid-template-columns: 50px minmax(0, 1fr) 66px 30px !important; flex-basis: 68px !important; height: 68px !important; min-height: 68px !important; gap: 8px !important; }
.cart-panel[data-cart-panel] .cart-item__image { width: 50px !important; height: 50px !important; min-width: 50px !important; min-height: 50px !important; }
.cart-panel[data-cart-panel] .cart-item__content strong { font-size: .8rem !important; }
.cart-panel[data-cart-panel] .cart-item__meta { font-size: .67rem !important; }
.cart-panel[data-cart-panel] .cart-item__sum { font-size: .73rem !important; }
.cart-panel[data-cart-panel] .cart-item__quantity { grid-template-columns: 20px 22px 20px !important; min-width: 62px !important; }
.cart-panel[data-cart-panel] .cart-item__quantity button { width: 20px !important; min-width: 20px !important; }
.cart-panel[data-cart-panel] .cart-panel__total { flex: 0 0 auto; margin-top: 10px !important; padding: 15px 0; }
.cart-panel[data-cart-panel] .btn--cart-checkout { flex: 0 0 auto; }

@media (min-width: 1050px) {
  .page-company .company-body { grid-template-columns: minmax(0, 1fr) 260px; }
  .page-company .product-grid--catalog { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
}
@media (min-width: 760px) and (max-width: 1049px) {
  .page-company .company-body { grid-template-columns: minmax(0, 1fr) 230px; gap: 22px; }
  .page-company .product-grid--catalog { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .page-company .company-actions .btn { min-width: auto; }
}
@media (max-width: 759px) {
  .page-company .page-head { padding: 18px 0 22px; }
  .page-company .company-header { gap: 16px; }
  .page-company .company-header h1 { font-size: 1.7rem; }
  .page-company .company-actions { justify-content: stretch; width: 100%; }
  .page-company .company-actions .btn { flex: 1; min-width: 0; }
  .page-company .section { padding: 28px 0 42px; }
  .page-company .company-body { display: flex; flex-direction: column; gap: 22px; }
  .page-company .company-main { width: 100%; }
  .page-company .company-aside { position: static; width: 100%; order: -1; }
  .page-company .company-content { gap: 22px; }
  .page-company .company-content > * + * { padding-top: 22px; }
  .page-company .company-description { padding: 17px 16px; }
  .page-company .company-delivery { padding: 16px; }
  .page-company .gallery--company { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-company .gallery-img { height: 132px; }
  .page-company .product-grid--catalog { grid-template-columns: 1fr !important; }
  .page-company .product-card--company .product-card__visual { height: 190px; }
  .page-company .product-card--company .product-card__body { min-height: 0; }
  .page-company .company-news--after-shop .news-grid--company { grid-template-columns: 1fr; }
  .page-company .company-news--after-shop .news-card--compact { grid-template-columns: 112px minmax(0, 1fr); grid-template-rows: 1fr; min-height: 116px; }
  .page-company .company-news--after-shop .news-card__media { width: 112px; height: 100%; min-height: 116px; }
  .page-company .company-location { padding: 17px 16px; }
  .cart-panel[data-cart-panel] { padding: 16px; }
  .cart-panel[data-cart-panel] .cart-items { max-height: min(42dvh, 310px) !important; }
  .cart-panel[data-cart-panel] .cart-item { grid-template-columns: 48px minmax(0, 1fr) 60px 30px !important; flex-basis: 66px !important; height: 66px !important; min-height: 66px !important; }
  .cart-panel[data-cart-panel] .cart-item__image { width: 48px !important; height: 48px !important; min-width: 48px !important; min-height: 48px !important; }
  .cart-panel[data-cart-panel] .cart-item__quantity { grid-template-columns: 19px 20px 19px !important; min-width: 58px !important; }
  .cart-panel[data-cart-panel] .cart-item__quantity button { width: 19px !important; min-width: 19px !important; }
}


/* Company page UI system: hierarchy, spacing and usable density */
.page-company {
  --company-space: 28px;
  --company-card-radius: 14px;
}
.page-company .page-head {
  position: relative;
  overflow: hidden;
  background: linear-gradient(115deg, #fff 0%, #fff8f5 100%);
}
.page-company .page-head::after {
  content: '';
  position: absolute;
  top: -88px;
  right: -72px;
  width: 270px;
  height: 270px;
  border: 28px solid rgba(232, 93, 58, .07);
  border-radius: 50%;
  pointer-events: none;
}
.page-company .page-head .container { position: relative; z-index: 1; }
.page-company .breadcrumbs { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.page-company .company-header { grid-template-columns: minmax(0, 1fr) auto; }
.page-company .company-header > :first-child { min-width: 0; }
.page-company .company-header h1 { letter-spacing: -.045em; }
.page-company .company-header__logo { float: left; margin: 0 14px 0 0; }
.page-company .company-meta { min-height: 26px; }
.page-company .rating { color: #9a6b00; font-weight: 700; }
.page-company .reviews-cnt { color: var(--muted); font-size: .84rem; }
.page-company .price-tag { border: 1px solid #c6e9e4; }
.page-company .types .badge { border: 1px solid transparent; }
.page-company .company-actions { display: grid; grid-template-columns: 1fr; justify-items: stretch; min-width: 178px; }
.page-company .company-actions .btn { width: 100%; white-space: nowrap; }

.page-company .company-body { grid-template-columns: minmax(0, 1fr) 250px; }
.page-company .company-content { min-width: 0; }
.page-company .company-content > section { scroll-margin-top: 92px; }
.page-company .company-section-head { display: flex; align-items: center; min-height: 28px; }
.page-company .company-section-head h2 { color: #172033; font-weight: 750; }
.page-company .company-section-head h2::after { content: ''; display: block; width: 38px; height: 2px; margin-top: 7px; background: var(--accent); border-radius: 2px; }
.page-company .company-description { background: linear-gradient(145deg, #fff, #fcfaf9); }
.page-company .company-content__text { color: #354054; }
.page-company .company-content__text br + br { display: block; content: ''; margin-top: 10px; }
.page-company .company-delivery { background: linear-gradient(145deg, #f6fcfb, #eef9f7); border-color: #cde9e5; }
.page-company .company-delivery__methods span { background: rgba(255,255,255,.86); }
.page-company .company-delivery__facts > div { border: 1px solid rgba(42,157,143,.12); }

.page-company .gallery-item { background: var(--surface); border: 1px solid var(--border); }
.page-company .gallery-img { transition: transform .2s ease; }
.page-company .gallery-item:hover .gallery-img { transform: scale(1.03) !important; }

.page-company .shop-section { background: transparent; }
.page-company .shop-section__heading { padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.page-company .product-category__title { font-weight: 750; }
.page-company .product-card--company { display: flex; flex-direction: column; isolation: isolate; }
.page-company .product-card--company .product-card__visual { position: relative; }
.page-company .product-card--company .product-card__badge,
.page-company .product-card--company .product-card__discount { box-shadow: 0 2px 7px rgba(0,0,0,.12); }
.page-company .product-card--company .product-card__body { gap: 0; }
.page-company .product-card--company .product-card__marking { margin-top: auto; padding-top: 8px; }
.page-company .product-card--company .product-card__bottom { align-items: center; }
.page-company .product-card--company .quantity-control { border: 1px solid var(--border); }
.page-company .product-card--company .quantity-control button:hover { color: var(--accent); background: var(--accent-light); }
.page-company .product-card--company:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }

.page-company .company-aside { min-width: 0; }
.page-company .info-card { box-shadow: 0 5px 16px rgba(18,28,45,.04); }
.page-company .info-label { font-weight: 650; letter-spacing: .01em; }
.page-company .info-row--locked { opacity: .72; }

.page-company .company-news--after-shop { border-top: 0; }
.page-company .company-news__head { padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.page-company .company-news--after-shop .news-card--compact { transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.page-company .company-news--after-shop .news-card--compact:hover { transform: translateY(-2px) !important; }
.page-company .company-news--after-shop .news-card__media { overflow: hidden; }
.page-company .company-news--after-shop .news-card__image { transition: transform .22s ease; }
.page-company .company-news--after-shop .news-card--compact:hover .news-card__image { transform: scale(1.035); }
.page-company .company-news--after-shop .news-card__title { letter-spacing: -.01em; }

.page-company .company-location { overflow: hidden; }
.page-company .map-container { margin: 14px 0 0; }
.page-company .company-map { min-height: 280px; }
.page-company .company-reviews { padding-top: 2px; }
.page-company .reviews-header { padding-bottom: 12px; }
.page-company .review--company { border-radius: 12px; }

@media (min-width: 1050px) {
  .page-company .company-main { width: 100%; }
  .page-company .product-grid.product-grid--catalog { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
  .page-company .news-grid.news-grid--company { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 760px) and (max-width: 1049px) {
  .page-company .company-header { grid-template-columns: minmax(0, 1fr) 188px; }
  .page-company .company-body { grid-template-columns: minmax(0, 1fr) 220px; }
  .page-company .product-grid.product-grid--catalog { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .page-company .news-grid.news-grid--company { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-company .company-actions { min-width: 0; }
}
@media (max-width: 759px) {
  .page-company .page-head::after { top: -122px; right: -126px; width: 230px; height: 230px; }
  .page-company .company-header { display: block; }
  .page-company .company-header__logo { width: 62px; height: 62px; }
  .page-company .company-header h1 { min-height: 62px; display: flex; align-items: center; }
  .page-company .company-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 16px; min-width: 0; }
  .page-company .company-actions .btn { min-width: 0; padding-right: 10px; padding-left: 10px; }
  .page-company .company-aside { order: 0; }
  .page-company .company-main { order: 1; }
  .page-company .company-section-head h2::after { width: 30px; }
  .page-company .company-delivery__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-company .company-delivery__facts > div { min-height: 58px; }
  .page-company .gallery-item { border-radius: 9px; }
  .page-company .product-card--company .product-card__bottom { padding: 11px 12px; }
  .page-company .company-news--after-shop .news-card--compact:hover { transform: none !important; }
  .page-company .company-map { min-height: 240px; }
  .page-company .review__header { gap: 10px; }
}
@media (max-width: 390px) {
  .page-company .company-actions { grid-template-columns: 1fr; }
  .page-company .company-delivery__facts { grid-template-columns: 1fr; }
  .page-company .gallery--company { grid-template-columns: 1fr; }
  .page-company .gallery-img { height: 190px; }
}


/* Company page layout correction: preserve content width for catalogue and news */
@media (min-width: 900px) {
  .page-company .company-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
  .page-company .company-main { width: 100%; }
  .page-company .company-aside {
    position: static;
    width: 100%;
    max-width: none;
  }
  .page-company .company-aside .info-card {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 0 18px;
    padding: 18px 20px;
  }
  .page-company .company-aside .company-claim {
    grid-column: 1 / -1;
    width: max-content;
    max-width: 100%;
    margin: 0 0 8px;
  }
  .page-company .company-aside .info-row {
    min-width: 0;
    padding: 11px 0;
    border-bottom: 1px solid var(--border);
  }
  .page-company .product-grid.product-grid--catalog,
  .page-company .company-news--after-shop .news-grid--company {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
  .page-company .product-card--company .product-card__visual { height: 170px; }
  .page-company .company-news--after-shop .news-card--compact { min-height: 268px; }
}

/* Clear section hierarchy and balanced spacing. */
.page-company .company-content > section:not(.shop-section):not(.company-news--after-shop) {
  padding: 22px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--company-card-radius);
}
.page-company .company-content > .company-gallery { padding-bottom: 20px; }
.page-company .company-content > .company-location { padding: 22px; }
.page-company .company-content > .company-reviews { padding: 0; background: transparent; border: 0; }
.page-company .company-content > .shop-section,
.page-company .company-content > .company-news--after-shop { padding-top: 32px; }
.page-company .company-content > .shop-section { border-top: 1px solid var(--border); }
.page-company .company-section-head { margin-bottom: 16px; }
.page-company .company-description .company-section-head,
.page-company .company-delivery .company-section-head { margin-bottom: 11px; }
.page-company .company-description { background: linear-gradient(145deg, #fff, #fcfaf9) !important; }
.page-company .company-gallery { background: #fff !important; }
.page-company .company-location { background: #fff !important; }

/* Product cards: stronger price/action grouping and less visual noise. */
.page-company .product-card--company .product-card__visual::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 24px;
  background: linear-gradient(transparent, rgba(0,0,0,.08));
  pointer-events: none;
}
.page-company .product-card--company .product-card__body { padding: 14px; }
.page-company .product-card--company .product-card__bottom { gap: 12px; padding: 11px 14px; }
.page-company .product-card--company .product-card__price-current { letter-spacing: -.02em; }
.page-company .product-card--company .quantity-control { box-shadow: inset 0 0 0 1px rgba(26,26,46,.03); }

/* News: make the text card as informative and stable as image cards. */
.page-company .company-news--after-shop .news-card--compact { background: #fff; }
.page-company .company-news--after-shop .news-card__media--placeholder { background: linear-gradient(135deg, #fce8e3, #e4f4f1); }
.page-company .company-news--after-shop .news-card__content { min-height: 0; }
.page-company .company-news--after-shop .news-card__excerpt { color: #657085; }

/* Checkout panel: action remains discoverable at any list length. */
.cart-panel[data-cart-panel] .cart-items { scrollbar-gutter: stable; }
.cart-panel[data-cart-panel] .cart-panel__total { border-top: 1px solid rgba(255,255,255,.2); }
.cart-panel[data-cart-panel] .cart-clear { margin-bottom: 0; }

@media (max-width: 899px) and (min-width: 760px) {
  .page-company .company-body { grid-template-columns: minmax(0, 1fr) 220px; }
  .page-company .product-grid.product-grid--catalog,
  .page-company .company-news--after-shop .news-grid--company { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 759px) {
  .page-company .company-content > section:not(.shop-section):not(.company-news--after-shop):not(.company-reviews) { padding: 16px; }
  .page-company .company-content > .shop-section,
  .page-company .company-content > .company-news--after-shop { padding-top: 24px; }
  .page-company .company-section-head { margin-bottom: 13px; }
  .page-company .company-news__head { padding-bottom: 10px; }
  .page-company .company-aside .info-card { display: grid; grid-template-columns: 1fr; }
}


/* Final public company page layout — fixes legacy grid conflicts */
body.page-company .container { max-width: 1180px; }
body.page-company .company-body {
  display: block !important;
  width: 100%;
}
body.page-company .company-main,
body.page-company .company-content,
body.page-company .shop-section,
body.page-company .shop-layout,
body.page-company .shop-catalog { width: 100%; max-width: none; min-width: 0; }
body.page-company .company-aside {
  position: static !important;
  width: 100%;
  margin-top: 28px;
}
body.page-company .company-aside .info-card {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0 18px;
  padding: 18px 20px;
}
body.page-company .company-aside .company-claim {
  grid-column: 1 / -1;
  justify-self: start;
  width: auto;
  margin: 0 0 8px;
}
body.page-company .company-aside .info-row { min-width: 0; }

body.page-company .company-content { gap: 30px; }
body.page-company .company-content > * + * { padding-top: 30px; }
body.page-company .company-content > section:not(.shop-section):not(.company-news--after-shop):not(.company-reviews) {
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 14px;
}
body.page-company .shop-section,
body.page-company .company-news--after-shop {
  padding-top: 30px;
  border-top: 1px solid var(--border);
}
body.page-company .shop-section__heading,
body.page-company .company-news__head {
  display: flex;
  align-items: flex-end;
  min-height: 54px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
body.page-company .product-category { margin-bottom: 32px; }
body.page-company .product-category__title { margin-bottom: 14px; }
body.page-company .product-grid.product-grid--catalog {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 16px !important;
}
body.page-company .product-card--company {
  display: flex !important;
  flex-direction: column;
  min-height: 100%;
  border-radius: 14px;
  box-shadow: 0 1px 3px rgba(18, 28, 45, .05);
}
body.page-company .product-card--company .product-card__visual { height: 178px; }
body.page-company .product-card--company .product-card__body { flex: 1; min-height: 104px; padding: 14px; }
body.page-company .product-card--company .product-card__bottom { min-height: 62px; padding: 11px 14px; }
body.page-company .product-card--company .product-card__title { font-size: .96rem; }
body.page-company .product-card--company .product-card__desc { font-size: .78rem; }
body.page-company .product-card--company .quantity-control { flex: 0 0 auto; }

body.page-company .company-news--after-shop .news-grid--company {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 16px;
}
body.page-company .company-news--after-shop .news-card--compact {
  display: grid;
  grid-template-rows: 134px minmax(0, 1fr);
  min-height: 264px;
  border-radius: 14px;
}
body.page-company .company-news--after-shop .news-card__media { height: 134px; }
body.page-company .company-news--after-shop .news-card__content { padding: 14px; }

/* Drawer cart intentionally does not stretch its item list. */
body .cart-panel[data-cart-panel] { display: flex !important; flex-direction: column; }
body .cart-panel[data-cart-panel] .cart-items {
  display: flex !important;
  flex: 0 1 auto !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  gap: 8px !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: min(46dvh, 372px) !important;
  margin: 0 !important;
  padding: 12px 0 !important;
  overflow-y: auto !important;
}
body .cart-panel[data-cart-panel] .cart-item {
  display: grid !important;
  grid-template-columns: 54px minmax(0, 1fr) 66px 30px !important;
  align-items: center !important;
  gap: 8px !important;
  flex: 0 0 72px !important;
  height: 72px !important;
  min-height: 72px !important;
  margin: 0 !important;
  padding: 8px !important;
  overflow: hidden;
  border-radius: 10px !important;
}
body .cart-panel[data-cart-panel] .cart-item__image {
  display: block !important;
  width: 54px !important;
  height: 54px !important;
  min-width: 54px !important;
  min-height: 54px !important;
  object-fit: cover !important;
}
body .cart-panel[data-cart-panel] .cart-item__quantity {
  display: inline-grid !important;
  grid-template-columns: 20px 22px 20px !important;
  min-width: 62px !important;
}
body .cart-panel[data-cart-panel] .cart-item__quantity button {
  display: grid !important;
  place-items: center;
  width: 20px !important;
  min-width: 20px !important;
}
body .cart-panel[data-cart-panel] .cart-item__remove { display: grid !important; place-items: center; }
body .cart-panel[data-cart-panel] .cart-panel__total { flex: 0 0 auto; margin-top: 12px !important; }

@media (max-width: 899px) {
  body.page-company .product-grid.product-grid--catalog,
  body.page-company .company-news--after-shop .news-grid--company { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  body.page-company .product-card--company .product-card__visual { height: 165px; }
}
@media (max-width: 640px) {
  body.page-company .company-content { gap: 22px; }
  body.page-company .company-content > * + * { padding-top: 22px; }
  body.page-company .company-content > section:not(.shop-section):not(.company-news--after-shop):not(.company-reviews) { padding: 16px; }
  body.page-company .company-aside { margin-top: 22px; }
  body.page-company .company-aside .info-card { grid-template-columns: 1fr; padding: 16px; }
  body.page-company .product-grid.product-grid--catalog,
  body.page-company .company-news--after-shop .news-grid--company { grid-template-columns: 1fr !important; }
  body.page-company .product-card--company .product-card__visual { height: 195px; }
  body.page-company .company-news--after-shop .news-card--compact { grid-template-columns: 116px minmax(0, 1fr); grid-template-rows: 1fr; min-height: 116px; }
  body.page-company .company-news--after-shop .news-card__media { width: 116px; height: 100%; min-height: 116px; }
  body .cart-panel[data-cart-panel] .cart-item { grid-template-columns: 48px minmax(0, 1fr) 60px 30px !important; flex-basis: 66px !important; height: 66px !important; min-height: 66px !important; }
  body .cart-panel[data-cart-panel] .cart-item__image { width: 48px !important; height: 48px !important; min-width: 48px !important; min-height: 48px !important; }
  body .cart-panel[data-cart-panel] .cart-item__quantity { grid-template-columns: 19px 20px 19px !important; min-width: 58px !important; }
  body .cart-panel[data-cart-panel] .cart-item__quantity button { width: 19px !important; min-width: 19px !important; }
}


/* Company shop final layout: keep catalogue wide, contacts below it. */
@media (min-width: 760px) {
  body.page-company .company-body { display: block !important; }
  body.page-company .company-main { display: block !important; width: 100% !important; }
  body.page-company .company-aside { position: static !important; width: 100% !important; margin-top: 26px; }
  body.page-company .product-grid.product-grid--catalog { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
  body.page-company .company-news--after-shop .news-grid--company { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
}

/* This explicit grid keeps cart positions compact even with legacy CSS rules above. */
body .cart-panel[data-cart-panel] .cart-items {
  display: flex !important;
  flex: 0 0 auto !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  align-items: stretch !important;
  gap: 8px !important;
  height: auto !important;
  max-height: min(46dvh, 372px) !important;
  padding: 12px 0 !important;
}
body .cart-panel[data-cart-panel] .cart-item {
  display: grid !important;
  grid-template-columns: 54px minmax(0, 1fr) 66px 30px !important;
  align-items: center !important;
  gap: 8px !important;
  flex: 0 0 72px !important;
  height: 72px !important;
  min-height: 72px !important;
  margin: 0 !important;
  padding: 8px !important;
}
body .cart-panel[data-cart-panel] .cart-item__image {
  display: block !important;
  width: 54px !important;
  height: 54px !important;
  min-width: 54px !important;
  min-height: 54px !important;
  object-fit: cover !important;
}
body .cart-panel[data-cart-panel] .cart-item__content { min-width: 0 !important; }
body .cart-panel[data-cart-panel] .cart-item__quantity {
  display: inline-grid !important;
  grid-template-columns: 20px 22px 20px !important;
  align-items: center;
  min-width: 62px !important;
}
body .cart-panel[data-cart-panel] .cart-item__quantity button {
  display: grid !important;
  place-items: center;
  width: 20px !important;
  min-width: 20px !important;
}
body .cart-panel[data-cart-panel] .cart-item__remove { display: grid !important; place-items: center; }

@media (max-width: 759px) {
  body.page-company .company-body { display: block !important; }
  body.page-company .company-aside { margin-top: 22px; }
  body.page-company .product-grid.product-grid--catalog,
  body.page-company .company-news--after-shop .news-grid--company { grid-template-columns: 1fr !important; }
  body .cart-panel[data-cart-panel] .cart-item {
    grid-template-columns: 48px minmax(0, 1fr) 60px 30px !important;
    flex-basis: 66px !important;
    height: 66px !important;
    min-height: 66px !important;
  }
  body .cart-panel[data-cart-panel] .cart-item__image { width: 48px !important; height: 48px !important; min-width: 48px !important; min-height: 48px !important; }
  body .cart-panel[data-cart-panel] .cart-item__quantity { grid-template-columns: 19px 20px 19px !important; min-width: 58px !important; }
  body .cart-panel[data-cart-panel] .cart-item__quantity button { width: 19px !important; min-width: 19px !important; }
}


/* Seller cards: actions in one horizontal row on home and city pages. */
@media (min-width: 901px) {
  body.page-home .company-card--list,
  body.page-city .company-card--list {
    grid-template-columns: 180px minmax(240px, 1.35fr) minmax(230px, 1fr);
  }
  body.page-home .company-card--list .company-card__side,
  body.page-city .company-card--list .company-card__side {
    grid-column: 1 / -1;
    grid-row: auto;
    display: grid;
    grid-template-columns: minmax(150px, 1fr) repeat(3, minmax(130px, .55fr));
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border-top: 1px solid var(--border);
    border-left: 0;
  }
  body.page-home .company-card--list .company-card__side-label,
  body.page-city .company-card--list .company-card__side-label {
    text-align: left;
  }
  body.page-home .company-card--list .company-card__side .btn,
  body.page-city .company-card--list .company-card__side .btn {
    width: 100%;
    min-height: 38px;
    white-space: nowrap;
  }
}

@media (min-width: 681px) and (max-width: 900px) {
  body.page-home .company-card--list .company-card__side,
  body.page-city .company-card--list .company-card__side {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border-top: 1px solid var(--border);
    border-left: 0;
  }
  body.page-home .company-card--list .company-card__side-label,
  body.page-city .company-card--list .company-card__side-label {
    flex: 0 0 auto;
    text-align: left;
  }
  body.page-home .company-card--list .company-card__side .btn,
  body.page-city .company-card--list .company-card__side .btn {
    flex: 1 1 0;
    min-width: 0;
    white-space: nowrap;
  }
}

@media (max-width: 680px) {
  body.page-home .company-card--list .company-card__side,
  body.page-city .company-card--list .company-card__side {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 5px;
    overflow-x: auto;
    padding: 10px 12px 12px;
    border-top: 1px solid var(--border);
    border-left: 0;
  }
  body.page-home .company-card--list .company-card__side-label,
  body.page-city .company-card--list .company-card__side-label {
    display: none;
  }
  body.page-home .company-card--list .company-card__side .btn,
  body.page-city .company-card--list .company-card__side .btn {
    flex: 1 0 auto;
    width: auto;
    min-width: 0;
    min-height: 34px;
    padding: 6px 8px;
    font-size: .66rem;
    white-space: nowrap;
  }
}


/* Final seller-card actions: always one compact row on home and city pages. */
body.page-home .company-card--list .company-card__side,
body.page-city .company-card--list .company-card__side {
  grid-column: 1 / -1;
  grid-row: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 11px 14px;
  border-top: 1px solid var(--border);
  border-left: 0;
}
body.page-home .company-card--list .company-card__side-label,
body.page-city .company-card--list .company-card__side-label {
  min-width: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: .68rem;
  line-height: 1.2;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}
body.page-home .company-card--list .company-card__side .btn,
body.page-city .company-card--list .company-card__side .btn {
  width: 100%;
  min-width: 0;
  min-height: 37px;
  padding: 7px 8px;
  overflow: hidden;
  font-size: .72rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}
@media (max-width: 900px) {
  body.page-home .company-card--list .company-card__side,
  body.page-city .company-card--list .company-card__side {
    grid-template-columns: minmax(100px, 1fr) repeat(3, minmax(0, 1fr));
    gap: 6px;
  }
}
@media (max-width: 680px) {
  body.page-home .company-card--list .company-card__side,
  body.page-city .company-card--list .company-card__side {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 5px;
    padding: 9px 10px 10px;
    overflow: hidden;
  }
  body.page-home .company-card--list .company-card__side-label,
  body.page-city .company-card--list .company-card__side-label { display: none; }
  body.page-home .company-card--list .company-card__side .btn,
  body.page-city .company-card--list .company-card__side .btn {
    min-height: 34px;
    padding: 6px 5px;
    font-size: .62rem;
    letter-spacing: -.01em;
  }
}


/* Audience signal for seller cards. */
.company-card__choice { position: absolute; right: 10px; top: 10px; display: inline-flex; align-items: center; gap: 5px; padding: 5px 8px; border: 1px solid #f2d19b; border-radius: 20px; background: #fff8e8; color: #9a6b00; font-size: .62rem; font-weight: 800; line-height: 1; box-shadow: 0 3px 10px rgba(154,107,0,.12); }
.company-card__choice svg { width: 13px; height: 13px; fill: currentColor; }
.company-card--choice { border-color: #efd7ad; }
.company-card--choice .company-card__name a { color: #18243b; }
.company-card--choice .company-card__rating strong { color: #9a6b00; }
.company-card--choice .company-card__side-label { color: #9a6b00; font-weight: 750; }
.company-card__side .btn svg { width: 15px; height: 15px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.company-card__side .btn { gap: 5px; }

/* Denser seller list with a clear user-choice accent. */
body.page-home .company-grid--sellers,
body.page-city .company-grid--sellers { display: grid; gap: 16px; }
body.page-home .company-card--list,
body.page-city .company-card--list { border-radius: 14px; box-shadow: 0 5px 16px rgba(28,40,64,.045); }
body.page-home .company-card--list:hover,
body.page-city .company-card--list:hover { box-shadow: 0 10px 24px rgba(28,40,64,.1); }
body.page-home .company-card--list .company-card__body,
body.page-city .company-card--list .company-card__body { padding: 18px 20px; }
body.page-home .company-card--list .company-card__details,
body.page-city .company-card--list .company-card__details { background: #fbfcfd; }
@media (max-width: 680px) {
  .company-card__choice { right: 6px; top: 6px; max-width: calc(100% - 12px); padding: 4px 6px; font-size: .54rem; }
  .company-card__choice span { max-width: 92px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}


/* Buyer-choice signal: multiple sellers can receive the same badge. */
body.page-city .city-results-heading .eyebrow,
body.page-home .section--featured .eyebrow { color: #9a6b00; }
body.page-city .city-results-heading .eyebrow::before,
body.page-home .section--featured .eyebrow::before { content: '★'; display: inline-grid; place-items: center; width: 18px; height: 18px; margin-right: 3px; border-radius: 50%; background: #fff1c9; color: #b57900; font-size: .62rem; letter-spacing: 0; }
body.page-home .section--featured .company-grid--sellers,
body.page-city .company-grid--sellers { gap: 18px; }
body.page-home .company-card--choice,
body.page-city .company-card--choice { position: relative; border-color: #ead29e; box-shadow: 0 7px 22px rgba(154, 107, 0, .08); }
body.page-home .company-card--choice::before,
body.page-city .company-card--choice::before { content: ''; position: absolute; z-index: 2; inset: 0 auto 0 0; width: 3px; background: #d9a52b; border-radius: 14px 0 0 14px; pointer-events: none; }
body.page-home .company-card--choice .company-card__side,
body.page-city .company-card--choice .company-card__side { background: #fffdf7; }
@media (max-width: 680px) {
  body.page-home .company-card--choice::before,
  body.page-city .company-card--choice::before { border-radius: 12px 0 0 12px; }
}


/* Buyer-choice SVG and multi-seller density */
.company-card__choice { z-index: 2; }
.company-card__choice svg { fill: currentColor; stroke: none; }
.company-card__choice span { white-space: nowrap; }
.company-card--choice .company-card__visual { background: linear-gradient(145deg, #fff8e8, var(--accent-light)); }
body.page-home .company-grid--sellers,
body.page-city .company-grid--sellers { align-items: stretch; }
body.page-home .company-grid--sellers .company-card,
body.page-city .company-grid--sellers .company-card { min-height: 0; }
body.page-home .company-grid--sellers .company-card__visual,
body.page-city .company-grid--sellers .company-card__visual { min-height: 190px; }
body.page-home .company-grid--sellers .company-card__side .btn,
body.page-city .company-grid--sellers .company-card__side .btn { display: inline-flex; align-items: center; justify-content: center; }
@media (max-width: 680px) {
  body.page-home .company-grid--sellers .company-card__visual,
  body.page-city .company-grid--sellers .company-card__visual { min-height: 126px; }
  body.page-home .company-grid--sellers .company-card__side .btn,
  body.page-city .company-grid--sellers .company-card__side .btn { min-width: 0; }
}


/* City hero: compact intro + multi-company recommendations */
.city-page-head { padding: 24px 0 28px; }
.city-page-head > .container { display: block; }
.city-page-head .breadcrumbs { margin-bottom: 16px; }
.city-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(380px, .9fr); gap: 24px; align-items: start; }
.city-hero__intro { padding: 28px 4px 20px 0; }
.city-hero__eyebrow { display: inline-flex; align-items: center; gap: 7px; color: #9a6b00; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.city-hero__eyebrow svg { width: 17px; height: 17px; fill: currentColor; }
.city-hero__intro h1 { max-width: 680px; margin-top: 14px; font-size: clamp(2rem, 4.3vw, 3.35rem); line-height: 1.03; }
.city-hero__intro .page-head__intro { max-width: 580px; margin-top: 17px; font-size: .98rem; line-height: 1.65; }
.city-hero__stats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.city-hero__stats div { min-width: 96px; padding: 10px 12px; border: 1px solid #e5dfdb; border-radius: 10px; background: rgba(255,255,255,.72); }
.city-hero__stats strong { display: block; color: #172033; font-size: 1.18rem; line-height: 1; }
.city-hero__stats span { display: block; margin-top: 4px; color: #8992a1; font-size: .68rem; }
.city-recommendations { padding: 20px; border: 1px solid #efc0b5; border-radius: 16px; background: rgba(255,255,255,.92); box-shadow: 0 12px 30px rgba(232,93,58,.1); }
.city-recommendations__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.city-recommendations__label { display: inline-flex; align-items: center; gap: 5px; color: #9a6b00; font-size: .68rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.city-recommendations__label svg { width: 15px; height: 15px; fill: currentColor; }
.city-recommendations h2 { margin-top: 7px; color: #172033; font-size: 1.3rem; letter-spacing: -.03em; }
.city-recommendations__count { display: grid; place-items: center; min-width: 28px; height: 28px; border-radius: 50%; background: #fff1c9; color: #9a6b00; font-size: .75rem; font-weight: 800; }
.city-recommendations__intro { max-width: 440px; margin-top: 6px; color: #7b8496; font-size: .78rem; line-height: 1.45; }
.city-recommendations__list { display: grid; gap: 8px; margin-top: 15px; }
.city-recommendation { padding: 12px; border: 1px solid #e7ecf2; border-radius: 11px; background: #f8fafc; transition: border-color .18s, background .18s, box-shadow .18s; }
.city-recommendation:hover { border-color: #efb7aa; background: #fff; box-shadow: 0 5px 14px rgba(25,35,50,.06); }
.city-recommendation__main { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.city-recommendation__name { min-width: 0; overflow: hidden; color: #172033; font-size: .9rem; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.city-recommendation__name:hover { color: var(--accent); }
.city-recommendation__rating { flex: 0 0 auto; color: #9a6b00; font-size: .76rem; font-weight: 800; }
.city-recommendation__rating small { color: #8992a1; font-size: .68rem; font-weight: 500; }
.city-recommendation__facts { display: flex; flex-wrap: wrap; gap: 5px 12px; margin-top: 8px; color: #687386; font-size: .7rem; }
.city-recommendation__facts span { display: inline-flex; align-items: center; gap: 4px; }
.city-recommendation__facts svg { width: 14px; height: 14px; flex: 0 0 auto; fill: none; stroke: #2a9d8f; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.city-recommendation__actions { display: flex; gap: 7px; margin-top: 10px; }
.city-recommendation__actions .btn { min-height: 34px; padding: 6px 10px; font-size: .7rem; }
.city-recommendation__actions .btn svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.city-recommendations__link { display: inline-flex; align-items: center; gap: 5px; margin-top: 14px; color: #c94a2a; font-size: .78rem; font-weight: 750; }
.city-recommendations__link:hover { color: var(--accent-hover); }
@media (max-width: 900px) { .city-hero { grid-template-columns: 1fr; }.city-hero__intro { padding: 10px 0 0; }.city-recommendations { max-width: none; } }
@media (max-width: 600px) {
  .city-page-head { padding: 18px 0 22px; }
  .city-hero { gap: 16px; }
  .city-hero__intro h1 { margin-top: 11px; font-size: 2rem; }
  .city-hero__intro .page-head__intro { margin-top: 12px; font-size: .86rem; }
  .city-hero__stats { margin-top: 16px; }
  .city-hero__stats div { flex: 1; min-width: 0; padding: 9px 8px; }
  .city-hero__stats strong { font-size: 1rem; }
  .city-hero__stats span { font-size: .62rem; }
  .city-recommendations { padding: 15px; border-radius: 13px; }
  .city-recommendations h2 { font-size: 1.1rem; }
  .city-recommendation { padding: 10px; }
  .city-recommendation__main { align-items: flex-start; flex-direction: column; gap: 4px; }
  .city-recommendation__rating { font-size: .74rem; }
  .city-recommendation__actions .btn { flex: 1; justify-content: center; }
}


/* Final city hero polish */
.city-page-head { background: linear-gradient(135deg, #fbfcfd 0%, #fff 58%, #fff7f4 100%); }
.city-page-head::before { display: none; }
.city-page-head .container { max-width: 1180px; }
.city-hero { grid-template-columns: minmax(0, 1.05fr) minmax(400px, .95fr); gap: 30px; }
.city-hero__intro { min-height: 0; padding: 34px 10px 22px 0; }
.city-hero__intro h1 { max-width: 620px; letter-spacing: -.05em; }
.city-hero__intro .page-head__intro { max-width: 520px; color: #647086; }
.city-hero__stats { margin-top: 22px; }
.city-hero__stats div { background: rgba(255,255,255,.85); box-shadow: 0 2px 7px rgba(25,35,50,.035); }
.city-recommendations { align-self: start; border-color: #f0b2a4; box-shadow: 0 12px 28px rgba(232,93,58,.08); }
.city-recommendations__head { padding-bottom: 12px; border-bottom: 1px solid #f1e2de; }
.city-recommendations__list { max-height: 345px; overflow-y: auto; padding-right: 2px; }
.city-recommendation { background: #fff; }
.city-recommendation__rating--new { color: #8992a1; font-weight: 600; }
.city-recommendations__link { padding-top: 2px; }
@media (max-width: 900px) { .city-hero { grid-template-columns: 1fr; gap: 16px; }.city-hero__intro { padding: 16px 0 8px; } }
@media (max-width: 600px) { .city-hero__intro { padding-top: 8px; }.city-hero__intro h1 { font-size: 2.05rem; }.city-recommendations__list { max-height: none; } }


/* City trust block and news tile typography */
body.page-city .city-results-heading .eyebrow { display: inline-flex; align-items: center; gap: 6px; }
body.page-city .city-results-heading .eyebrow svg { width: 16px; height: 16px; fill: currentColor; }
body.page-city .city-results-heading h2 { font-size: clamp(1.45rem, 3vw, 2rem); }
body.page-city .city-results-heading p { max-width: 620px; font-size: .86rem; }
body.page-city .city-usp-block { padding: 36px; }
body.page-city .city-usp-block h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
body.page-city .city-usp-block__main > p { max-width: 650px; font-size: 1rem; line-height: 1.65; }
body.page-city .city-usp-block__eyebrow { font-size: .78rem; }
body.page-city .city-usp-block__stats strong { font-size: 1.4rem; }
body.page-city .city-usp-block__stats span { font-size: .74rem; }
body.page-city .city-usp-step strong { font-size: .9rem; }
body.page-city .city-usp-step p { font-size: .78rem; }

/* City news: tile grid with image, excerpt and company link. */
body.page-city .city-news-section { background: #f8f6f4; }
body.page-city .city-news-section .section-heading { margin-bottom: 20px; }
body.page-city .city-news-section .news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
body.page-city .city-news-section .news-card { display: flex; min-width: 0; flex-direction: column; min-height: 290px; overflow: hidden; padding: 0; border: 1px solid #e5dfdb; border-radius: 14px; background: #fff; box-shadow: 0 3px 12px rgba(25,35,50,.04); }
body.page-city .city-news-section .news-card__media { height: 138px; overflow: hidden; background: linear-gradient(135deg, var(--accent-light), var(--sea-light)); }
body.page-city .city-news-section .news-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
body.page-city .city-news-section .news-card__media--placeholder { display: grid; place-items: center; color: #19786d; font-size: .7rem; font-weight: 750; }
body.page-city .city-news-section .news-card__body { display: flex; flex: 1; flex-direction: column; padding: 15px 16px; }
body.page-city .city-news-section .news-card__date { color: #8992a1; font-size: .7rem; }
body.page-city .city-news-section .news-card h3 { margin: 8px 0 0; font-size: 1rem; line-height: 1.3; }
body.page-city .city-news-section .news-card h3 a { color: #172033; }
body.page-city .city-news-section .news-card h3 a:hover { color: var(--accent); }
body.page-city .city-news-section .news-card p { display: -webkit-box; overflow: hidden; margin: 8px 0 0; color: #687386; font-size: .8rem; line-height: 1.5; line-clamp: 3; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
body.page-city .city-news-section .news-card__company { display: inline-flex; align-items: center; gap: 5px; margin-top: auto; padding-top: 14px; color: var(--accent); font-size: .75rem; font-weight: 750; }
body.page-city .city-news-section .news-card__company::before { content: '↗'; font-size: .9rem; }
@media (max-width: 900px) {
  body.page-city .city-usp-block { padding: 28px; }
  body.page-city .city-news-section .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  body.page-city .city-usp-block { padding: 22px 17px; }
  body.page-city .city-usp-block h2 { font-size: 1.6rem; }
  body.page-city .city-usp-block__main > p { font-size: .88rem; }
  body.page-city .city-news-section .news-grid { grid-template-columns: 1fr; gap: 12px; }
  body.page-city .city-news-section .news-card { min-height: 0; }
  body.page-city .city-news-section .news-card__media { height: 170px; }
  body.page-city .city-news-section .news-card__body { padding: 13px 14px; }
}


/* Final seller badge positioning: never overlap the primary status label. */
.company-card__choice { top: 43px; right: auto; left: 10px; }
.company-card--choice .company-card__visual { isolation: isolate; }
.company-card--choice .company-card__choice { z-index: 3; }

/* Final city typography and news tiles. */
body.page-city .city-usp-block,
body.page-city .city-usp-block p,
body.page-city .city-usp-block li { font-family: var(--font); }
body.page-city .city-usp-block h2 { font-weight: 800; }
body.page-city .city-usp-block__main > p { font-size: 1rem; }
body.page-city .city-usp-step p { font-size: .78rem; }
body.page-city .city-news-section .news-card { font-family: var(--font); }
body.page-city .city-news-section .news-card h3 { font-weight: 750; }
body.page-city .city-news-section .news-card p { font-size: .82rem; }
body.page-city .city-news-card__media { aspect-ratio: 16 / 9; }
body.page-city .city-news-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
body.page-city .city-news-card__body { min-width: 0; }
@media (max-width: 680px) {
  .company-card__choice { top: 35px; left: 6px; right: auto; }
  body.page-city .city-usp-block__main > p { font-size: .9rem; }
  body.page-city .city-usp-step p { font-size: .72rem; }
}


/* Final city-page refinements */
body.page-city .city-results-heading .eyebrow { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 6px; padding: 4px 8px; border-radius: 6px; background: #fff6df; color: #9a6b00; line-height: 1.2; }
body.page-city .city-results-heading .eyebrow svg { width: 15px; height: 15px; fill: currentColor; }
body.page-city .city-results-heading h2 { margin-top: 8px; }
body.page-city .city-usp-block { padding: 38px; }
body.page-city .city-usp-block h2 { font-size: clamp(1.85rem, 3.8vw, 2.8rem); }
body.page-city .city-usp-block__main > p { font-size: 1.02rem; line-height: 1.68; }
body.page-city .city-usp-block__eyebrow { font-size: .8rem; }
body.page-city .city-usp-step strong { font-size: .92rem; }
body.page-city .city-usp-step p { font-size: .8rem; }
body.page-city .city-news-section { background: var(--surface); }
body.page-city .city-news-section .news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
body.page-city .city-news-card { display: flex; min-width: 0; flex-direction: column; min-height: 300px; overflow: hidden; padding: 0; border: 1px solid var(--border); border-radius: 14px; background: #fff; box-shadow: 0 4px 14px rgba(25,35,50,.045); }
body.page-city .city-news-card__media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: linear-gradient(135deg, var(--accent-light), var(--sea-light)); }
body.page-city .city-news-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .2s ease; }
body.page-city .city-news-card:hover .city-news-card__media img { transform: scale(1.035); }
body.page-city .city-news-card__media--empty { display: grid; place-items: center; color: #19786d; font-size: .72rem; font-weight: 750; }
body.page-city .city-news-card__body { display: flex; flex: 1; flex-direction: column; min-width: 0; padding: 15px 16px; }
body.page-city .city-news-card__date { color: #8992a1; font-size: .72rem; }
body.page-city .city-news-card h3 { margin: 8px 0 0; font-size: 1rem; line-height: 1.32; }
body.page-city .city-news-card h3 a { color: #172033; }
body.page-city .city-news-card h3 a:hover { color: var(--accent); }
body.page-city .city-news-card p { display: -webkit-box; overflow: hidden; margin: 8px 0 0; color: #687386; font-size: .82rem; line-height: 1.5; line-clamp: 3; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
body.page-city .city-news-card__company { display: inline-flex; align-items: center; gap: 5px; margin-top: auto; padding-top: 14px; color: var(--accent); font-size: .76rem; font-weight: 750; }
body.page-city .city-news-card__company span { transition: transform .15s ease; }
body.page-city .city-news-card__company:hover span { transform: translateX(3px); }
@media (max-width: 900px) { body.page-city .city-usp-block { padding: 30px; } body.page-city .city-news-section .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  body.page-city .city-usp-block { padding: 24px 18px; }
  body.page-city .city-usp-block h2 { font-size: 1.7rem; }
  body.page-city .city-usp-block__main > p { font-size: .92rem; }
  body.page-city .city-usp-step p { font-size: .74rem; }
  body.page-city .city-news-section .news-grid { grid-template-columns: 1fr; gap: 12px; }
  body.page-city .city-news-card { min-height: 0; }
}


/* Final badge stack and city page typography/news */
.company-card__labels { position: absolute; z-index: 3; top: 10px; left: 10px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; max-width: calc(100% - 20px); }
.company-card__labels .company-card__plus,
.company-card__labels .company-card__verified,
.company-card__labels .company-card__unverified,
.company-card__labels .company-card__choice { position: static; max-width: 100%; margin: 0; }
.company-card__labels .company-card__choice { display: inline-flex; }
@media (max-width: 680px) { .company-card__labels { top: 6px; left: 6px; gap: 4px; max-width: calc(100% - 12px); }.company-card__labels .company-card__choice { max-width: 100%; } }
body.page-city .city-usp-block { padding: 40px; }
body.page-city .city-usp-block h2 { font-size: clamp(1.9rem, 3.8vw, 2.85rem); }
body.page-city .city-usp-block__main > p { font-size: 1.02rem; line-height: 1.7; }
body.page-city .city-usp-step strong { font-size: .94rem; }
body.page-city .city-usp-step p { font-size: .8rem; line-height: 1.5; }
body.page-city .city-news-section .news-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
body.page-city .city-news-card { display: flex; flex-direction: column; min-height: 300px; overflow: hidden; padding: 0; border: 1px solid var(--border); border-radius: 14px; background: #fff; box-shadow: 0 4px 14px rgba(25,35,50,.045); }
body.page-city .city-news-card__media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: linear-gradient(135deg, var(--accent-light), var(--sea-light)); }
body.page-city .city-news-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
body.page-city .city-news-card__body { display: flex; flex: 1; flex-direction: column; padding: 16px; }
body.page-city .city-news-card__date { color: #8992a1; font-size: .72rem; }
body.page-city .city-news-card h3 { margin: 8px 0 0; font-size: 1rem; line-height: 1.32; }
body.page-city .city-news-card p { display: -webkit-box; overflow: hidden; margin: 8px 0 0; color: #687386; font-size: .82rem; line-height: 1.5; line-clamp: 3; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
body.page-city .city-news-card__company { margin-top: auto; padding-top: 14px; color: var(--accent); font-size: .76rem; font-weight: 750; }
@media (max-width: 900px) { body.page-city .city-usp-block { padding: 30px; } body.page-city .city-news-section .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { body.page-city .city-usp-block { padding: 24px 18px; } body.page-city .city-usp-block h2 { font-size: 1.7rem; } body.page-city .city-usp-block__main > p { font-size: .92rem; } body.page-city .city-news-section .news-grid { grid-template-columns: 1fr; gap: 12px; } body.page-city .city-news-card { min-height: 0; } }


/* Final city page pass: badge separation, readable trust block and news tiles. */
.company-card__visual { position: relative; }
.company-card__plus,
.company-card__verified,
.company-card__unverified { z-index: 3; top: 10px; left: 10px; }
.company-card__choice { z-index: 4; top: 44px !important; right: auto !important; left: 10px !important; }
.company-card__choice span { display: block; overflow: hidden; max-width: 150px; text-overflow: ellipsis; white-space: nowrap; }
body.page-city .city-usp-block { padding: 40px; }
body.page-city .city-usp-block h2 { max-width: 680px; font-size: clamp(1.9rem, 3.8vw, 2.85rem); line-height: 1.08; }
body.page-city .city-usp-block__main > p { max-width: 670px; font-size: 1.02rem; line-height: 1.7; }
body.page-city .city-usp-step strong { font-size: .94rem; }
body.page-city .city-usp-step p { font-size: .8rem; line-height: 1.5; }
body.page-city .city-news-section { padding: 56px 0; background: var(--surface); }
body.page-city .city-news-section .news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
body.page-city .city-news-card { display: flex; flex-direction: column; min-height: 300px; overflow: hidden; padding: 0; border: 1px solid var(--border); border-radius: 14px; background: #fff; box-shadow: 0 4px 14px rgba(25,35,50,.045); }
body.page-city .city-news-card__media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: linear-gradient(135deg, var(--accent-light), var(--sea-light)); }
body.page-city .city-news-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .2s ease; }
body.page-city .city-news-card:hover .city-news-card__media img { transform: scale(1.035); }
body.page-city .city-news-card__body { display: flex; flex: 1; flex-direction: column; min-width: 0; padding: 16px; }
body.page-city .city-news-card__date { color: #8992a1; font-size: .72rem; }
body.page-city .city-news-card h3 { margin: 8px 0 0; font-size: 1rem; line-height: 1.32; }
body.page-city .city-news-card h3 a { color: #172033; }
body.page-city .city-news-card h3 a:hover { color: var(--accent); }
body.page-city .city-news-card p { display: -webkit-box; overflow: hidden; margin: 8px 0 0; color: #687386; font-size: .82rem; line-height: 1.5; line-clamp: 3; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
body.page-city .city-news-card__company { display: inline-flex; align-items: center; gap: 5px; margin-top: auto; padding-top: 14px; color: var(--accent); font-size: .76rem; font-weight: 750; }
body.page-city .city-news-card__company span { transition: transform .15s ease; }
body.page-city .city-news-card__company:hover span { transform: translateX(3px); }
@media (max-width: 900px) { body.page-city .city-usp-block { padding: 30px; } body.page-city .city-news-section .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .company-card__choice { top: 36px !important; left: 6px !important; }
  body.page-city .city-usp-block { padding: 24px 18px; }
  body.page-city .city-usp-block h2 { font-size: 1.7rem; }
  body.page-city .city-usp-block__main > p { font-size: .92rem; }
  body.page-city .city-usp-step p { font-size: .74rem; }
  body.page-city .city-news-section { padding: 40px 0; }
  body.page-city .city-news-section .news-grid { grid-template-columns: 1fr; gap: 12px; }
  body.page-city .city-news-card { min-height: 0; }
}


/* City hero final: remove legacy stretched page-head grid */
body.page-city .city-page-head > .container { display: block !important; grid-template-columns: none !important; gap: 0 !important; align-items: initial !important; }
body.page-city .city-page-head .city-hero { display: grid !important; grid-template-columns: minmax(0, 1fr) minmax(400px, .95fr) !important; align-items: start !important; gap: 30px !important; }
body.page-city .city-page-head .city-hero__intro { grid-column: 1 !important; grid-row: 1 !important; align-self: start !important; min-height: 0 !important; }
body.page-city .city-page-head .city-recommendations { grid-column: 2 !important; grid-row: 1 !important; align-self: start !important; margin: 0 !important; }
body.page-city .city-page-head h1,
body.page-city .city-page-head .page-head__intro { grid-column: auto !important; }
@media (max-width: 900px) { body.page-city .city-page-head .city-hero { grid-template-columns: 1fr !important; gap: 16px !important; } body.page-city .city-page-head .city-recommendations { grid-column: 1 !important; grid-row: 2 !important; } }
