/**
 * Ternopil-Drive (driveshop.te.ua) — візуальна ідентика поверх Bootstrap 5.3 (база: csapiService/samples/shop).
 * Ідея "Electric Drive": сучасний e-commerce — електрик-синій + лайм для головних дій, світлі сторінки,
 * великі заокруглення. Центр головної — заявка на підбір: клієнт лише пише, що потрібно, менеджер підбирає.
 * На лаймі — лише темний текст (контраст). Шрифт: Onest (український, OFL), у css/vendor/fonts.
 */

@font-face { font-family: "Onest"; font-weight: 400 900; font-display: swap; src: url("vendor/fonts/onest-cyrillic.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Onest"; font-weight: 400 900; font-display: swap; src: url("vendor/fonts/onest-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --blue: #2743ff;
  --blue-dark: #1a30d8;
  --blue-deep: #111a6e;
  --blue-soft: #eaedff;
  --lime: #c8f135;
  --lime-dark: #b3db1f;
  --ink: #0e1330;
  --muted: #5b6285;
  --line: #e2e6f4;
  --bg: #f5f7ff;
  --radius: 1.1rem;
  --radius-sm: 0.7rem;
  --shadow: 0 1px 2px rgba(14, 19, 48, 0.04), 0 10px 30px rgba(14, 19, 48, 0.07);
  --shadow-lg: 0 4px 10px rgba(14, 19, 48, 0.06), 0 30px 70px rgba(17, 26, 110, 0.22);
  --font: "Onest", -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ---- база ---- */
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}
body > footer.site-footer { margin-top: auto; }
body > main { padding-bottom: 3.5rem !important; }
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 { font-family: var(--font); font-weight: 800; letter-spacing: -0.025em; line-height: 1.1; }
.text-muted { color: var(--muted) !important; }
.text-primary, .text-blue { color: var(--blue) !important; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-dark); }
::selection { background: var(--lime); color: var(--ink); }

.pill-label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.3rem 0.8rem;
  border-radius: 2rem;
  background: var(--blue-soft);
  color: var(--blue);
  font-weight: 700;
  font-size: 0.8rem;
}
.pill-label .dot { width: 0.45rem; height: 0.45rem; border-radius: 50%; background: currentColor; }
.on-blue .pill-label { background: rgba(255, 255, 255, 0.14); color: var(--lime); }

/* ---- кнопки ---- */
.btn { font-weight: 700; border-radius: 0.8rem; }
.btn-primary {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--blue);
  --bs-btn-border-color: var(--blue);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--blue-dark);
  --bs-btn-hover-border-color: var(--blue-dark);
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--blue-deep);
  --bs-btn-active-border-color: var(--blue-deep);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: #9aa8ff;
  --bs-btn-disabled-border-color: #9aa8ff;
  --bs-btn-focus-shadow-rgb: 39, 67, 255;
}
.btn-outline-primary {
  --bs-btn-color: var(--blue);
  --bs-btn-border-color: var(--blue);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--blue);
  --bs-btn-hover-border-color: var(--blue);
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--blue);
  --bs-btn-active-border-color: var(--blue);
}
.btn-lime {
  --bs-btn-color: var(--ink);
  --bs-btn-bg: var(--lime);
  --bs-btn-border-color: var(--lime);
  --bs-btn-hover-color: var(--ink);
  --bs-btn-hover-bg: var(--lime-dark);
  --bs-btn-hover-border-color: var(--lime-dark);
  --bs-btn-active-color: var(--ink);
  --bs-btn-active-bg: var(--lime-dark);
  --bs-btn-active-border-color: var(--lime-dark);
  --bs-btn-disabled-color: rgba(14, 19, 48, 0.55);
  --bs-btn-disabled-bg: #e3f3a8;
  --bs-btn-disabled-border-color: #e3f3a8;
}
.btn.btn-added { --bs-btn-bg: var(--lime); --bs-btn-border-color: var(--lime); --bs-btn-color: var(--ink); --bs-btn-hover-bg: var(--lime); --bs-btn-hover-border-color: var(--lime); --bs-btn-hover-color: var(--ink); }
.badge.bg-primary, #cart-badge, .js-cart-badge { background: var(--lime) !important; color: var(--ink) !important; }
.form-control, .form-select { border-radius: var(--radius-sm); border-color: var(--line); padding-top: 0.6rem; padding-bottom: 0.6rem; }
.form-control:focus, .form-select:focus { border-color: var(--blue); box-shadow: 0 0 0 0.25rem rgba(39, 67, 255, 0.14); }
.form-select:disabled { background-color: #f2f4fb; color: #9aa0bd; }

/* ---- верхня смужка ---- */
.topbar { background: var(--blue-deep); color: rgba(255, 255, 255, 0.7); font-size: 0.8rem; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { color: var(--lime); }
.topbar svg { color: var(--lime); vertical-align: -2px; }

/* ---- навбар ---- */
.navbar {
  --bs-navbar-color: rgba(255, 255, 255, 0.85);
  --bs-navbar-hover-color: #fff;
  --bs-navbar-active-color: #fff;
  --bs-navbar-toggler-border-color: rgba(255, 255, 255, 0.3);
  --bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  background: var(--blue) !important;
}
.navbar-brand { display: inline-flex; align-items: center; }
.brand-logo { height: 42px; width: auto; }
.navbar .nav-link { font-weight: 600; font-size: 0.95rem; white-space: nowrap; border-radius: 0.6rem; }
.navbar .nav-link.active { background: rgba(255, 255, 255, 0.16); }
.navbar .nav-icon { vertical-align: -3px; }
.navbar .dropdown-menu { border-radius: var(--radius-sm); border-color: var(--line); box-shadow: var(--shadow); }
.navbar .dropdown-item:active { background: var(--blue); }
.nav-phone { color: #fff; font-weight: 700; text-decoration: none; white-space: nowrap; }
.nav-phone:hover { color: var(--lime); }

/* ---- hero ---- */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(ellipse at 85% 30%, rgba(200, 241, 53, 0.22) 0%, rgba(200, 241, 53, 0) 42%),
    radial-gradient(ellipse at 10% 100%, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0) 45%),
    linear-gradient(135deg, var(--blue) 0%, #1c2fd0 55%, var(--blue-deep) 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: -40% -10% auto auto;
  width: 60%;
  height: 180%;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, 0.07) 50%, rgba(255, 255, 255, 0) 60%);
  transform: rotate(8deg);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero h1 { font-size: clamp(2.1rem, 1.1rem + 3.2vw, 3.8rem); font-weight: 900; letter-spacing: -0.04em; line-height: 1.02; color: #fff; }
.hero h1 .lime { color: var(--lime); }
.hero .lead { color: rgba(255, 255, 255, 0.8); font-size: 1.12rem; max-width: 34rem; }
.hero-car { position: relative; }
.hero-car img { width: 100%; max-width: 560px; display: block; margin-left: auto; filter: drop-shadow(0 30px 40px rgba(5, 10, 60, 0.45)); }
.hero-car .spec {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.8rem;
  border-radius: 2rem;
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.82rem;
  box-shadow: var(--shadow);
  white-space: nowrap;
}
.hero-car .spec i { width: 0.55rem; height: 0.55rem; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 3px rgba(200, 241, 53, 0.35); }

/* ---- заявка на підбір ---- */
.request-card {
  position: relative;
  z-index: 2;
  background: #fff;
  color: var(--ink);
  border-radius: calc(var(--radius) * 1.3);
  box-shadow: var(--shadow-lg);
  padding: 1.6rem;
}
.request-card .card-kicker { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; margin-bottom: 0.35rem; }
.request-card h2 { font-size: 1.45rem; margin-bottom: 0.3rem; color: var(--ink); }
.request-card .sub { color: var(--muted); font-size: 0.92rem; margin-bottom: 1.1rem; }
.request-card .form-label { font-size: 0.8rem; font-weight: 700; color: var(--muted); margin-bottom: 0.3rem; }
.request-card .or { display: flex; align-items: center; gap: 0.6rem; color: var(--muted); font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.request-card .or::before, .request-card .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.vin-input { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; letter-spacing: 0.08em; text-transform: uppercase; }
.request-card .fine { font-size: 0.8rem; color: var(--muted); }
.request-success { display: flex; flex-direction: column; align-items: flex-start; gap: 0.75rem; padding: 1rem 0; }
.request-success .ok { width: 3.2rem; height: 3.2rem; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--lime); color: var(--ink); }
.request-success strong { font-size: 1.3rem; }
.request-success span { color: var(--muted); }

.hero-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.75rem; max-width: 30rem; }
.hero-steps li { display: flex; gap: 0.85rem; align-items: center; }
.hero-steps .n { flex-shrink: 0; width: 2.2rem; height: 2.2rem; border-radius: 0.7rem; display: inline-flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, 0.14); color: var(--lime); font-weight: 800; }
.hero-steps strong { display: block; color: #fff; }
.hero-steps span { color: rgba(255, 255, 255, 0.72); font-size: 0.9rem; }
.hero-car-bg { position: absolute; left: -2%; bottom: -8%; width: min(46vw, 620px); opacity: 0.16; pointer-events: none; z-index: 0; }

/* ---- як це працює / де знайти VIN ---- */
.how { counter-reset: how; }
.how-step { position: relative; height: 100%; padding: 1.6rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.how-step::before { counter-increment: how; content: counter(how); display: inline-flex; width: 2.6rem; height: 2.6rem; align-items: center; justify-content: center; border-radius: 0.8rem; background: var(--blue); color: #fff; font-weight: 900; font-size: 1.15rem; margin-bottom: 1rem; }
.how-step.lime::before { background: var(--lime); color: var(--ink); }
.how-step h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }
.how-step p { color: var(--muted); margin: 0; font-size: 0.94rem; }
.vin-where { border-radius: var(--radius); background: var(--ink); color: #fff; padding: 1.75rem; height: 100%; }
.vin-where h3 { color: #fff; font-size: 1.15rem; }
.vin-where ul { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: 0.7rem; }
.vin-where li { display: flex; gap: 0.6rem; color: rgba(255, 255, 255, 0.8); font-size: 0.93rem; }
.vin-where li svg { flex-shrink: 0; color: var(--lime); margin-top: 0.15rem; }
.vin-sample { display: inline-block; margin-top: 1.25rem; padding: 0.6rem 0.9rem; border-radius: 0.6rem; background: rgba(255, 255, 255, 0.08); font-family: ui-monospace, Consolas, monospace; letter-spacing: 0.12em; }
.vin-sample b { color: var(--lime); font-weight: 700; }

.search-band { border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.search-band form { display: flex; gap: 0.5rem; }

/* ---- переваги ---- */
.perks { background: #fff; border-bottom: 1px solid var(--line); }
.perk { display: flex; gap: 0.85rem; align-items: center; padding: 1.35rem 0.5rem; }
.perk .ico { flex-shrink: 0; width: 2.9rem; height: 2.9rem; border-radius: 0.85rem; display: inline-flex; align-items: center; justify-content: center; background: var(--blue-soft); color: var(--blue); }
.perk strong { display: block; font-size: 0.98rem; }
.perk span { color: var(--muted); font-size: 0.86rem; }

/* ---- секції ---- */
.section { padding: 5rem 0; }
.section-title { font-size: clamp(1.8rem, 1.2rem + 1.9vw, 2.8rem); font-weight: 900; letter-spacing: -0.035em; }
.section-lead { color: var(--muted); font-size: 1.06rem; max-width: 40rem; }

/* ---- категорії ---- */
.cat-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.6rem;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  overflow: hidden;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.cat-card:hover { color: var(--ink); box-shadow: var(--shadow); transform: translateY(-3px); }
.cat-card .ico { width: 3.3rem; height: 3.3rem; border-radius: 1rem; display: inline-flex; align-items: center; justify-content: center; background: var(--blue); color: #fff; margin-bottom: 1.1rem; }
.cat-card h3 { font-size: 1.2rem; margin-bottom: 0.4rem; }
.cat-card p { color: var(--muted); font-size: 0.93rem; margin: 0 0 1rem; }
.cat-card .go { margin-top: auto; font-weight: 700; color: var(--blue); }
.cat-card .tag { position: absolute; top: 1.2rem; right: 1.2rem; padding: 0.2rem 0.6rem; border-radius: 2rem; background: var(--lime); color: var(--ink); font-size: 0.72rem; font-weight: 800; }
.cat-card.dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.cat-card.dark h3 { color: #fff; }
.cat-card.dark p { color: rgba(255, 255, 255, 0.7); }
.cat-card.dark .ico { background: var(--lime); color: var(--ink); }
.cat-card.dark .go { color: var(--lime); }

/* ---- аналог / CTA ---- */
.cta {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius) * 1.5);
  background: var(--lime);
  color: var(--ink);
}
.cta::after {
  content: "";
  position: absolute;
  right: -6rem; top: -6rem;
  width: 22rem; height: 22rem;
  border-radius: 50%;
  border: 3rem solid rgba(14, 19, 48, 0.06);
  pointer-events: none;
}
.cta h2 { color: var(--ink); }
.cta .btn-dark { --bs-btn-bg: var(--ink); --bs-btn-border-color: var(--ink); }
.cta-phone { font-size: 1.4rem; font-weight: 800; color: var(--ink); text-decoration: none; white-space: nowrap; }
.cta-phone:hover { color: var(--blue); }

/* ---- доставка ---- */
.ship {
  height: 100%;
  padding: 1.6rem;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
}
.ship .top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.ship .ico { width: 2.9rem; height: 2.9rem; border-radius: 0.85rem; display: inline-flex; align-items: center; justify-content: center; background: var(--blue-soft); color: var(--blue); }
.ship .price { font-weight: 800; font-size: 1.05rem; padding: 0.25rem 0.7rem; border-radius: 2rem; background: var(--bg); white-space: nowrap; }
.ship h3 { font-size: 1.12rem; margin-bottom: 0.35rem; }
.ship p { color: var(--muted); font-size: 0.92rem; margin: 0; }
.pay-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.pay-chip { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.5rem 0.9rem; border-radius: 2rem; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: 0.9rem; }
.pay-chip svg { color: var(--blue); }

/* ---- візит ---- */
.visit { border-radius: calc(var(--radius) * 1.5); overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.visit .map { height: 100%; min-height: 380px; }
.visit .map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }
.contact-line { display: flex; gap: 0.75rem; align-items: center; padding: 0.35rem 0; }
.contact-line .ico { flex-shrink: 0; width: 2.2rem; height: 2.2rem; border-radius: 0.65rem; display: inline-flex; align-items: center; justify-content: center; background: var(--blue-soft); color: var(--blue); }
.contact-line a { color: var(--ink); font-weight: 700; text-decoration: none; }
.contact-line a:hover { color: var(--blue); }
.contact-line small { display: block; color: var(--muted); font-weight: 500; }
.hours { width: 100%; }
.hours td { padding: 0.4rem 0; border-bottom: 1px solid var(--line); }
.hours td:last-child { text-align: right; font-weight: 700; }
.hours tr.off td:last-child { color: var(--muted); font-weight: 500; }

/* ---- шапка внутрішніх сторінок ---- */
.page-head { color: #fff; background: linear-gradient(135deg, var(--blue) 0%, #1c2fd0 60%, var(--blue-deep) 100%); }
.page-head .breadcrumb { --bs-breadcrumb-divider-color: rgba(255, 255, 255, 0.5); font-size: 0.85rem; }
.page-head .breadcrumb a { color: rgba(255, 255, 255, 0.75); text-decoration: none; }
.page-head .breadcrumb a:hover { color: #fff; }
.page-head .breadcrumb-item.active { color: var(--lime); }
.page-head .page-lead { color: rgba(255, 255, 255, 0.8); max-width: 48rem; }
.page-title { font-size: clamp(1.9rem, 1.3rem + 2vw, 3rem); font-weight: 900; color: #fff; letter-spacing: -0.035em; }

/* ---- картки/таблиці магазину ---- */
.card { border-color: var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.panel-label { font-size: 0.78rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); margin: 0; white-space: nowrap; }
#group-tree { max-height: 70vh; overflow: auto; }
#group-tree.jstree-default .jstree-anchor { font-size: 0.9rem; white-space: normal; height: auto; min-height: 24px; line-height: 1.35; padding-top: 3px; padding-bottom: 3px; }
#group-tree.jstree-default .jstree-clicked { background: var(--blue-soft); color: var(--blue); font-weight: 700; box-shadow: none; border-radius: 0.4rem; }
#group-tree.jstree-default .jstree-hovered { background: var(--bg); box-shadow: none; border-radius: 0.4rem; }
.badge-stock { background: #e9f8c4; color: #3d5a00; font-weight: 700; }
.badge-order { background: #eef0f8; color: var(--muted); font-weight: 600; }
.badge-price { background: var(--blue-soft); color: var(--blue); font-weight: 700; }
#product-code { color: var(--ink); background: var(--bg); padding: 0.1rem 0.4rem; border-radius: 0.3rem; font-size: 0.95em; }
.no-photo { width: 100%; min-height: 14rem; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.5rem; border-radius: var(--radius-sm); background: var(--bg); color: #a3a9c6; font-size: 0.88rem; }
.dt-container .page-item.active .page-link { background: var(--blue) !important; border-color: var(--blue) !important; color: #fff !important; }
.dt-container .page-link { color: var(--ink); }
.dt-container .page-link:hover { background: var(--bg); color: var(--blue); }
table.dataTable thead th { font-weight: 800; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); border-bottom-width: 2px !important; }
div.dt-container div.dt-processing > div:last-child > div { background: var(--blue) !important; }

/* ---- футер ---- */
footer.site-footer { background: var(--ink); color: rgba(255, 255, 255, 0.65); font-size: 0.92rem; }
footer.site-footer h3 { font-size: 0.95rem; color: #fff; margin-bottom: 1rem; }
footer.site-footer a { color: #fff; text-decoration: none; }
footer.site-footer a:hover { color: var(--lime); }
footer.site-footer .footer-contact svg { color: var(--lime); flex-shrink: 0; margin-top: 0.2rem; }
footer.site-footer .footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); color: rgba(255, 255, 255, 0.45); font-size: 0.8rem; }

.cursor-pointer { cursor: pointer; }

@media (min-width: 992px) and (max-width: 1199.98px) {
  .navbar .nav-link { font-size: 0.86rem; padding-left: 0.45rem !important; padding-right: 0.45rem !important; }
  .nav-phone { display: none; }
}
@media (max-width: 991.98px) {
  .section { padding: 3.5rem 0; }
  .navbar .nav-link.active { background: transparent; color: var(--lime) !important; }
  #group-tree { max-height: 15rem; }
}
@media (max-width: 575.98px) {
  .request-card { padding: 1.15rem; }
  .brand-logo { height: 34px; }
}
.on-blue .request-card .pill-label { background: var(--blue-soft); color: var(--blue); }
.vin-input::placeholder { text-transform: none; letter-spacing: 0; font-family: var(--font); }
.hero-car-bg { opacity: 0.1; }

/* ---- внутрішні сторінки ---- */
.request-hint { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 0.9rem; padding: 0.55rem 0.6rem 0.55rem 1rem; border-radius: 1rem; background: rgba(255, 255, 255, 0.12); color: #fff; font-weight: 600; }
.fit-check { padding: 0.8rem 1rem; border-radius: var(--radius-sm); background: var(--bg); border: 1px dashed #b9c2ef; font-size: 0.92rem; color: var(--muted); }
.fit-check a { font-weight: 700; }
.ship { display: flex; flex-direction: column; }
.ship-link { margin-top: auto; padding-top: 0.9rem; font-weight: 700; text-decoration: none; }
.contact-big { font-size: 1.1rem; font-weight: 800; color: var(--ink); text-decoration: none; line-height: 1.6; }
.contact-big:hover { color: var(--blue); }
.request-page { box-shadow: var(--shadow); }
.how-compact .how-step { display: grid; grid-template-columns: 2.6rem 1fr; column-gap: 1rem; align-items: start; padding: 1.1rem 1.25rem; }
.how-compact .how-step::before { margin: 0; grid-row: span 2; }
.how-compact .how-step h3 { margin: 0.1rem 0 0.2rem; }

/* Телефон: іконка кошика стоїть у шапці поруч із бургером. Бренд бере решту рядка між лого й іконкою
   (flex-basis 0), а не виштовхує бургер на другий рядок. */
@media (max-width: 991.98px) {
  .navbar > .container > .navbar-brand { flex: 1 1 0; min-width: 0; overflow: hidden; margin-right: 0.5rem; }
}
