﻿@font-face {
  font-family: "OpenSansLocal";
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url("../image/ra99-home-preview/fonts/opensans/opensans-regular.woff2") format("woff2");
}
@font-face {
  font-family: "OpenSansLocal";
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  src: url("../image/ra99-home-preview/fonts/opensans/opensans-medium.woff2") format("woff2");
}
@font-face {
  font-family: "OpenSansLocal";
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: url("../image/ra99-home-preview/fonts/opensans/opensans-bold.woff2") format("woff2");
}

:root {
  --bg: #f4f7fb;
  --surface: #ffffff;
  --text: #17324d;
  --muted: #698097;
  --border: rgba(16, 55, 88, 0.12);
  --primary: #0b4e80;
  --primary-strong: #093c63;
  --accent: #e8472a;
  --accent-soft: rgba(232, 71, 42, 0.12);
  --brand-yellow: #f5c518;
  --brand-blue-light: #9ec9ea;
  --brand-footer-bg: #102b44;
  --brand-footer-text: #d7e5f1;
  --ok: #1c8d56;
  --warn: #c47a12;
  --radius: 14px;
  --shadow: 0 12px 28px rgba(10, 45, 72, 0.1);
  --font: "OpenSansLocal", "Segoe UI", system-ui, sans-serif;
  --display: "OpenSansLocal", "Segoe UI", system-ui, sans-serif;
  --brand-blue: #1a3a5c;
  --logo-h: 40px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.ra99-home-preview {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(ellipse 80% 40% at 10% -10%, rgba(11, 78, 128, 0.1), transparent 55%),
    radial-gradient(ellipse 50% 30% at 100% 0%, rgba(11, 78, 128, 0.06), transparent 50%),
    linear-gradient(180deg, #f8fbff 0%, var(--bg) 40%, #eef3f8 100%);
  line-height: 1.45;
  overflow-x: hidden;
}
/*
 * Stage 0.6.1: do NOT apply global img/a/button resets on catalog preview pages.
 * Those fight Bootstrap/UniShop product grids when chrome + list CSS load together.
 * Keep resets for homepage and for chrome chrome-only regions on catalog.
 */
body.ra99-home-preview:not(.ra99-catalog-preview) img,
body.ra99-catalog-preview .site-header img,
body.ra99-catalog-preview .site-footer img,
body.ra99-catalog-preview .help-widget img,
body.ra99-catalog-preview .header-cart img {
  max-width: 100%;
  display: block;
  height: auto;
}
body.ra99-home-preview:not(.ra99-catalog-preview) a {
  color: var(--primary);
  text-decoration: none;
}
body.ra99-home-preview:not(.ra99-catalog-preview) a:hover {
  color: var(--primary-strong);
}
body.ra99-home-preview:not(.ra99-catalog-preview) button,
body.ra99-home-preview:not(.ra99-catalog-preview) input,
body.ra99-catalog-preview .site-header button,
body.ra99-catalog-preview .site-header input,
body.ra99-catalog-preview .help-widget button,
body.ra99-catalog-preview .help-widget input {
  font: inherit;
}
.wrap {
  width: min(1180px, calc(100% - 28px));
  max-width: 100%;
  margin-inline: auto;
  box-sizing: border-box;
}
.visually-hidden, .skip {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0);
}
.skip:focus {
  position: fixed; inset: 8px auto auto 8px; width: auto; height: auto; clip: auto; z-index: 99;
  background: #fff; padding: 8px 12px;
}

.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  overflow-x: clip;
}
.header-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  padding: 10px 0;
  min-height: 64px;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
.logo { display: inline-flex; align-items: center; flex: 0 0 auto; flex-shrink: 0; }
.ra99-logo {
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  height: var(--logo-h);
  max-width: 185px;
  white-space: nowrap;
  text-decoration: none;
  line-height: 1;
  font-family: var(--font);
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: normal;
  color: var(--brand-blue);
}
.ra99-logo:hover,
.ra99-logo:focus-visible { color: var(--brand-blue); text-decoration: none; }
.ra99-logo__ra { color: var(--brand-blue); }
.ra99-logo__99 { color: var(--accent); }
.ra99-logo__domain {
  color: var(--brand-blue);
  font-size: 0.58em;
  font-weight: 600;
  letter-spacing: normal;
}
.catalog-btn {
  flex: 0 0 auto;
  flex-grow: 0;
  width: auto;
  min-width: 0;
  padding: 0 12px;
  white-space: nowrap;
}
.search {
  display: flex;
  flex: 1 1 300px;
  min-width: min(300px, 100%);
  position: relative;
  align-items: stretch;
}
.search__field {
  flex: 1;
  min-width: 0;
  position: relative;
}
.mgr-label--short { display: none; }
.mgr-panel > summary .mgr-label { white-space: nowrap; }
.search input,
.search .header-search__input {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--border); border-right: 0;
  border-radius: 10px 0 0 10px; padding: 10px 12px; background: #fff; min-height: 44px;
}
.search button {
  border: 0; background: var(--primary); color: #fff; padding: 0 14px;
  border-radius: 0 10px 10px 0; font-weight: 700; cursor: pointer; min-height: 44px; min-width: 44px;
}
.live-search {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  z-index: 80;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow);
  max-height: min(70vh, 420px);
  overflow: auto;
}
.live-search__ul { list-style: none; margin: 0; padding: 6px 0; }
.live-search__item { padding: 8px 12px; cursor: pointer; }
.live-search__item:hover { background: rgba(11, 78, 128, 0.06); }
.live-search__loading, .live-search__empty { padding: 12px; color: var(--muted); }
.mgr-panel__links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.mgr-panel__links a { font-size: 0.85rem; color: var(--primary); }
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  flex-shrink: 1;
  flex-wrap: nowrap;
  margin-left: auto;
  min-width: 0;
  max-width: 100%;
}
.lang { font-weight: 700; font-size: 0.92rem; color: var(--text); min-height: 44px; display: inline-flex; align-items: center; }

/* Header cart — UniShop2-style indicator (prototype) */
.header-cart {
  position: relative;
  flex: 0 0 auto;
}
.header-cart__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  min-width: 44px;
  padding: 0 8px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  white-space: nowrap;
  max-width: 100%;
}
.header-cart__btn:hover,
.header-cart__btn:focus-visible {
  background: #eef4f9;
  outline: 2px solid rgba(11, 78, 128, 0.25);
  outline-offset: 1px;
}
.header-cart__icon {
  flex: 0 0 auto;
  color: var(--primary);
}
.header-cart__label { flex: 0 0 auto; }
.header-cart__badge {
  display: inline-grid;
  place-items: center;
  min-width: 1.35rem;
  height: 1.35rem;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
}
.header-cart__sum {
  color: var(--primary);
  font-weight: 800;
  font-size: 0.88rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
/* Stage 0.4 / catalog chrome mini-cart — unique class avoids UniShop .header-cart__dropdown { display:none } */
.ra99-mini-cart__panel,
#headerCartDropdown.ra99-mini-cart__panel {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: min(380px, calc(100vw - 24px));
  max-height: min(78vh, 520px);
  overflow: auto;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  z-index: 120;
  animation: rise 0.2s ease;
  display: block;
}
.ra99-mini-cart__panel[hidden],
#headerCartDropdown.ra99-mini-cart__panel[hidden] {
  display: none !important;
}
.header-cart__dropdown-inner,
.ra99-mini-cart__inner { padding: 12px; }
.header-cart__empty {
  text-align: center;
  padding: 28px 12px;
  color: var(--muted);
  font-size: 0.92rem;
}
.header-cart__empty-ico {
  display: block;
  margin: 0 auto 10px;
  color: var(--primary);
  opacity: 0.55;
}
.header-cart__item {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 10px;
  align-items: start;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.header-cart__item:last-of-type { border-bottom: 0; }
.header-cart__thumb {
  width: 56px; height: 56px; border-radius: 8px;
  background: #f5f9fc; object-fit: contain;
}
.header-cart__name {
  margin: 0 0 4px;
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.header-cart__meta {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
}
.header-cart__item-price {
  margin: 4px 0 0;
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--primary);
}
.header-cart__remove-item {
  width: 36px; height: 36px; border: 0; border-radius: 8px;
  background: #f3f7fb; color: var(--muted); cursor: pointer; font-size: 1.1rem;
}
.header-cart__remove-item:hover { background: var(--accent-soft); color: var(--accent); }
.header-cart__promo-note {
  margin: 8px 0 0; padding: 8px 10px; border-radius: 8px;
  background: #f3f8fc; border: 1px solid var(--border);
  font-size: 0.8rem; color: var(--muted);
}
.header-cart__subtotal {
  display: flex; justify-content: space-between; align-items: center;
  margin: 12px 0; font-weight: 800; font-size: 0.95rem;
}
.header-cart__actions {
  display: grid; gap: 8px;
}
.header-cart__actions a {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; border-radius: 10px; font-weight: 700; text-align: center;
}
.header-cart__actions .btn-ghost-link {
  background: #eef4f9; color: var(--text); border: 1px solid var(--border);
}
.header-cart__actions .btn-primary-link {
  background: linear-gradient(135deg, var(--primary), #13639f); color: #fff;
}
.header-cart__actions .btn-primary-link:hover { color: #fff; }

/* Partner promo — compact horizontal (not the live red home-promo-cta) */
.partner-promo {
  margin: 10px auto 4px;
  padding: 0;
}
.partner-promo__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.72);
}
.partner-promo__copy {
  flex: 1 1 220px;
  min-width: 0;
}
.partner-promo__title {
  margin: 0 0 2px;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
}
.partner-promo__hint {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.35;
  max-width: 52ch;
}
.partner-promo__form {
  display: flex;
  flex: 1 1 260px;
  align-items: center;
  gap: 8px;
  min-width: 0;
  max-width: 420px;
}
.partner-promo__input {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  color: var(--text);
  font: inherit;
}
.partner-promo__input:focus-visible {
  outline: none;
  border-color: rgba(11, 78, 128, 0.45);
  box-shadow: 0 0 0 3px rgba(11, 78, 128, 0.12);
}
.partner-promo__btn {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 0 14px;
  border: 0;
  border-radius: 10px;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}
.partner-promo__btn:hover { filter: brightness(1.05); }
.partner-promo__btn:disabled {
  opacity: 0.7;
  cursor: wait;
}
.partner-promo__applied {
  display: flex;
  flex: 1 1 260px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
  max-width: 420px;
}
.partner-promo__applied[hidden] { display: none; }
.partner-promo__applied-text {
  margin: 0;
  font-size: 0.88rem;
  min-width: 0;
}
.partner-promo__ok-label {
  display: block;
  font-weight: 700;
  color: var(--ok);
}
.partner-promo__code {
  color: var(--muted);
  font-size: 0.82rem;
  font-family: ui-monospace, monospace;
}
.partner-promo__remove {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  color: var(--text);
  font-weight: 700;
  cursor: pointer;
}
.partner-promo__remove:hover { background: #f3f7fb; }
.partner-promo__status {
  flex: 1 1 100%;
  margin: 0;
  font-size: 0.85rem;
  font-weight: 600;
}
.partner-promo__status[hidden] { display: none; }
.partner-promo__status.is-ok { color: var(--ok); }
.partner-promo__status.is-err { color: var(--accent); }
.partner-promo__status.is-info { color: var(--muted); }
.partner-promo.is-applied .partner-promo__form { display: none; }
.partner-promo:not(.is-applied) .partner-promo__applied { display: none; }

/* MOCK demo switcher — local prototype only */
.mock-demo {
  position: fixed;
  left: max(12px, env(safe-area-inset-left));
  bottom: max(12px, env(safe-area-inset-bottom));
  z-index: 60;
  max-width: min(280px, calc(100vw - 24px));
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px dashed rgba(232, 71, 42, 0.45);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 20px rgba(10, 45, 72, 0.12);
  font-size: 0.75rem;
}
.mock-demo__title {
  margin: 0 0 6px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.02em;
}
.mock-demo__row { display: flex; flex-wrap: wrap; gap: 6px; }
.mock-demo__btn {
  min-height: 32px;
  padding: 0 8px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #f5f9fc;
  color: var(--text);
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
}
.mock-demo__btn.is-active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.mock-demo__hint {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.68rem;
}

.btn-primary, .btn-secondary, .btn-ghost, .catalog-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 14px; border-radius: 11px; border: 1px solid transparent;
  font-weight: 700; cursor: pointer; text-align: center;
}
.btn-primary { background: linear-gradient(135deg, var(--primary), #13639f); color: #fff; box-shadow: 0 8px 18px rgba(11,78,128,0.22); }
.btn-primary:hover { color: #fff; filter: brightness(1.05); }
.btn-secondary { background: #fff; border-color: var(--primary); color: var(--primary); }
.btn-ghost, .catalog-btn { background: #eef4f9; color: var(--text); border-color: var(--border); }

.mgr-panel { position: relative; }
.mgr-panel > summary { list-style: none; }
.mgr-panel > summary::-webkit-details-marker { display: none; }
.mgr-panel__box {
  position: absolute; right: 0; top: calc(100% + 8px); width: min(340px, 88vw);
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 12px; z-index: 50;
  animation: rise 0.22s ease;
}
.mgr-panel__hint { margin: 0 0 8px; color: var(--muted); font-size: 0.85rem; }
.mgr-panel__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.mgr-panel__list a {
  display: flex; justify-content: space-between; gap: 10px; padding: 10px;
  border-radius: 10px; background: #f5f9fc; color: var(--text); font-size: 0.9rem; min-height: 44px; align-items: center;
}
.mgr-panel__list a:hover { background: #e8f2fa; }
.mgr-panel__list span { color: var(--primary); font-weight: 700; white-space: nowrap; }

.hero { padding: 20px 0 14px; overflow: hidden; }
.hero__inner {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 18px; align-items: center;
  min-height: min(42vh, 350px);
}
.hero__copy { padding: 16px 8px 10px; animation: fade-up 0.55s ease both; }
.brand-kicker {
  margin: 0 0 8px; font-family: var(--display); font-weight: 700; font-size: 0.72rem;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); line-height: 1.35;
}
.hero h1 {
  margin: 0 0 12px; font-family: var(--display); font-size: clamp(1.5rem, 3.2vw, 2.25rem);
  line-height: 1.15; letter-spacing: -0.02em; max-width: 18ch;
}
.hero__sub { margin: 0 0 18px; color: var(--muted); font-size: 1.05rem; max-width: 36ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 10px; }
.hero__visual {
  position: relative; border-radius: 20px; overflow: hidden;
  background: transparent; border: none;
  box-shadow: none; animation: fade-in 0.7s ease 0.1s both;
}
.hero__visual::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: radial-gradient(ellipse 70% 55% at 72% 38%, rgba(245, 197, 24, 0.07), transparent 62%);
}
.hero__picture { display: block; width: 100%; background: transparent; }
.hero__img {
  width: 100%; height: auto; aspect-ratio: 1200 / 700; object-fit: contain;
  background: transparent; display: block;
}

.benefits { padding: 8px 0 6px; }
.benefits__row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.benefit {
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  padding: 12px; display: grid; gap: 4px; box-shadow: 0 6px 16px rgba(10,45,72,0.04);
}
.benefit__ico {
  width: 40px; height: 40px; color: var(--primary);
  display: grid; place-items: center; background: #eaf3fa; border-radius: 12px;
}
.benefit__ico svg { width: 28px; height: 28px; }
.benefit strong { font-size: 0.92rem; }
.benefit span:last-child { color: var(--muted); font-size: 0.82rem; }

.section-head { margin: 28px 0 14px; }
.section-head h2 { margin: 0 0 6px; font-family: var(--display); font-size: 1.45rem; }
.section-head p { margin: 0; color: var(--muted); }

.cats__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}
.cat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding: 14px 10px 12px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  color: inherit;
  min-height: 100%;
  min-width: 0;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.cat:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: rgba(11, 78, 128, 0.28);
  color: inherit;
}
.cat:focus-visible {
  outline: 3px solid rgba(232, 71, 42, 0.55);
  outline-offset: 2px;
}
.cat__ico {
  width: 80px;
  height: 80px;
  flex: 0 0 auto;
  display: block;
  border-radius: 14px;
  overflow: hidden;
  background: transparent;
}
.cat__ico img {
  display: block;
  width: 80px;
  height: 80px;
  object-fit: contain;
}
.cat__text {
  display: grid;
  gap: 4px;
  min-width: 0;
  width: 100%;
}
.cat__name {
  font-weight: 700;
  line-height: 1.25;
  font-size: 0.92rem;
}
.cat__meta { color: var(--muted); font-size: 0.8rem; line-height: 1.3; }
.cat--all { border-style: dashed; background: #f7fbff; }

.products { overflow-x: clip; }
.prod-tabs {
  display: inline-flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px;
  padding: 4px; border-radius: 999px; background: #eef4f9; border: 1px solid var(--border);
}
.prod-tab {
  min-height: 40px; padding: 0 18px; border-radius: 999px; border: 1px solid transparent;
  background: transparent; color: var(--text); font-weight: 700; cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.prod-tab:hover { background: rgba(255,255,255,0.7); }
.prod-tab:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.prod-tab.is-active {
  background: var(--primary); color: #fff; border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(11,78,128,0.18);
}
.prod-row {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; align-items: stretch;
}
.prod {
  background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 12px;
  display: flex; flex-direction: column; gap: 6px; height: 100%; min-height: 100%;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.prod:hover, .prod:focus-within {
  transform: translateY(-2px); box-shadow: var(--shadow); border-color: rgba(11,78,128,0.18);
}
.prod__img {
  aspect-ratio: 1; border-radius: 10px; background: #f7fafc; overflow: hidden;
  display: grid; place-items: center; flex-shrink: 0;
}
.prod__img img { width: 100%; height: 100%; object-fit: contain; }
.prod h3 {
  margin: 0; font-size: 0.92rem; line-height: 1.3; flex: 1 1 auto;
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
  min-height: calc(1.3em * 3);
}
.prod h3 a { color: inherit; }
.prod-foot { margin-top: auto; display: grid; gap: 6px; }
.price { margin: 0; color: var(--primary); font-weight: 800; }
.price del { color: var(--muted); font-weight: 600; margin-right: 6px; }
.stock { margin: 0; font-size: 0.8rem; color: var(--ok); font-weight: 600; }
.prod .add-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; border-radius: 10px; border: 0; background: var(--primary); color: #fff;
  font-weight: 700; cursor: pointer; width: 100%;
  transition: filter 0.15s ease, box-shadow 0.15s ease;
}
.prod .add-btn:hover { filter: brightness(1.05); }
.prod .add-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.prod-empty {
  padding: 22px; border: 1px dashed var(--border); border-radius: 14px; background: #f7fafc; color: var(--muted);
}

.b2b { margin: 28px auto; }
.b2b__card {
  padding: 22px; border-radius: 18px; border: 1px solid rgba(11,78,128,0.16);
  background: linear-gradient(135deg, #f4f9fd 0%, #eef5fb 100%);
  box-shadow: 0 10px 24px rgba(10,45,72,0.06);
}
.b2b__card h2 { margin-top: 0; font-family: var(--display); }
.b2b__head { margin-bottom: 18px; }
.b2b__lead { margin: 0; color: var(--muted); max-width: 62ch; }
.b2b__layout {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 24px; align-items: start;
}
.b2b-form { display: grid; gap: 12px; }
.b2b-form label { display: grid; gap: 6px; font-weight: 700; font-size: 0.9rem; }
.b2b-form input[type="text"],
.b2b-form input[type="tel"],
.b2b-form input[type="email"],
.b2b-form textarea,
.b2b-form input[type="file"] {
  width: 100%; border: 1px solid var(--border); border-radius: 10px;
  padding: 10px 12px; background: #fff; min-height: 44px; font: inherit; color: var(--text);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.b2b-form input:focus-visible,
.b2b-form textarea:focus-visible {
  outline: none; border-color: rgba(11, 78, 128, 0.45);
  box-shadow: 0 0 0 3px rgba(11, 78, 128, 0.12);
}
.b2b-form input.is-invalid,
.b2b-form textarea.is-invalid {
  border-color: rgba(105, 128, 151, 0.55);
  box-shadow: none;
}
.b2b-form textarea { min-height: 110px; resize: vertical; }
.b2b-form .check {
  display: flex; gap: 10px; align-items: flex-start; font-weight: 500; font-size: 0.88rem;
}
.b2b-form .check input { margin-top: 4px; width: 18px; height: 18px; flex-shrink: 0; }
.b2b-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.b2b__hint { margin: 0; color: var(--muted); font-size: 0.82rem; }
.b2b__ok { margin: 0; color: var(--ok); font-weight: 700; }
.b2b__err {
  margin: 0; color: var(--muted); font-weight: 600; font-size: 0.9rem;
  padding: 10px 12px; border-radius: 10px; background: #f3f7fb; border: 1px solid var(--border);
}
.file-field { display: grid; gap: 6px; }
.file-field__label { font-weight: 700; font-size: 0.9rem; }
.file-field__control {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  padding: 10px 12px; border: 1px solid var(--border); border-radius: 10px; background: #fff;
  cursor: pointer; min-height: 44px;
}
.file-field__btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 36px; padding: 0 12px; border-radius: 8px;
  background: #eef4f9; color: var(--primary); font-weight: 700; font-size: 0.88rem;
}
.file-field__name { color: var(--muted); font-size: 0.88rem; font-weight: 500; }
.file-field__input {
  position: absolute; left: -9999px; width: 1px; height: 1px;
  overflow: hidden; opacity: 0;
}
.b2b__benefits {
  padding: 18px; border-radius: 14px; background: rgba(255,255,255,0.75);
  border: 1px solid var(--border);
}
.b2b__benefits ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.b2b__benefits li { display: grid; gap: 4px; }
.b2b__benefits strong { font-size: 0.95rem; }
.b2b__benefits span { color: var(--muted); font-size: 0.88rem; }
.mgr-scroll-hint { display: none; }

.managers { padding-bottom: 18px; overflow-x: clip; }
.stack-box {
  margin-bottom: 16px; padding: 16px; border-radius: 16px; border: 1px dashed rgba(11,78,128,0.35);
  background: #f3f8fc; text-align: center;
}
.stack-box__title { margin: 0 0 10px; font-weight: 700; }
.stack-box__empty, .stack-box__ok { margin: 10px 0 0; font-size: 0.92rem; }
.stack-box__empty { color: var(--muted); }
.stack-box__ok { color: var(--ok); font-weight: 700; }

.mgr-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}
.mgr-card {
  display: grid; gap: 8px; padding: 12px; background: #fff; border: 1px solid var(--border);
  border-radius: 14px; min-height: 100%; box-shadow: 0 8px 18px rgba(10,45,72,0.05);
  align-content: start;
}
.mgr-card.is-selected { outline: 2px solid var(--primary); }
.mgr-card__top { display: flex; gap: 10px; align-items: center; }
.mgr-card__avatar {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0;
  background: linear-gradient(145deg, #0b4e80, #13639f); color: #fff;
  font-family: var(--display); font-weight: 800; font-size: 0.85rem;
}
.mgr-card h3 { margin: 0; font-size: 0.92rem; line-height: 1.25; }
.status {
  display: inline-flex; margin: 4px 0 0; padding: 3px 8px; border-radius: 999px;
  font-size: 0.72rem; font-weight: 700; width: fit-content;
}
.status.is-free { background: #e7f7ee; color: #146c3c; }
.status.is-busy { background: #fff1e6; color: #9a4e00; }
.status.is-assembling { background: #eef3ff; color: #2948a0; }
.phone { display: block; font-weight: 800; color: var(--text); font-size: 0.92rem; }
.phone--sec { font-size: 0.85rem; margin-top: 4px; }
.phone-more { margin: 0; }
.phone-more > summary {
  cursor: pointer; color: var(--primary); font-size: 0.8rem; font-weight: 700; list-style: none;
}
.phone-more > summary::-webkit-details-marker { display: none; }
.mgr-card__icons { display: flex; gap: 8px; }
.ico-btn {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: #f0f6fb; color: var(--primary); border: 1px solid var(--border);
}
.ico-btn:hover { background: #e2eef8; color: var(--primary-strong); }
.mgr-card__cta { width: 100%; }

.store { margin: 28px auto; }
.store-card {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: stretch;
  padding: 18px; border-radius: 18px; border: 1px solid rgba(11,78,128,0.16);
  background: linear-gradient(135deg, #f8fbff 0%, #eef5fb 55%, rgba(245,197,24,0.06) 100%);
  box-shadow: 0 10px 24px rgba(10,45,72,0.06);
}
.store-card h2 { margin: 0 0 10px; font-family: var(--display); font-size: 1.35rem; }
.store-card__addr { margin: 0 0 8px; color: var(--muted); line-height: 1.5; }
.store-card__lead { margin: 0 0 14px; color: var(--text); line-height: 1.45; font-size: 0.95rem; }
.store-card__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.store-card__btn { min-height: 44px; font-size: 0.88rem; }
.store-card__btn--pending {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0 14px; border-radius: 10px; border: 1px dashed rgba(11,78,128,0.35);
  background: rgba(255,255,255,0.55); color: var(--muted); cursor: not-allowed;
  opacity: 0.78; user-select: none;
}
.store-card__hint { margin: 10px 0 0; font-size: 0.78rem; color: var(--muted); line-height: 1.4; max-width: 48ch; }
.store-facade {
  border-radius: 14px; overflow: hidden; border: 1px solid rgba(11,78,128,0.18);
  background: #102b44; aspect-ratio: 16 / 9;
}
.store-facade__picture { display: block; width: 100%; height: 100%; }
.store-facade__img {
  display: block; width: 100%; height: 100%;
  object-fit: cover; object-position: center center;
}
@media (max-width: 720px) {
  .store-facade { aspect-ratio: 4 / 3; }
}
.store-map { margin-top: 12px; }
.store-map iframe, #storeMapFrame iframe { width: 100%; height: 260px; border: 0; border-radius: 14px; }

.trust__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.trust__item { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 14px; }
.trust__item p { margin: 6px 0 10px; color: var(--muted); font-size: 0.9rem; }
.trust__link { font-weight: 700; display: inline-block; min-height: 44px; line-height: 44px; }
.trust__link--pending {
  color: var(--muted); font-weight: 600; cursor: not-allowed; opacity: 0.8;
  border-bottom: 1px dashed rgba(11,78,128,0.35);
}
.map-placeholder {
  margin-top: 8px; padding: 18px; border-radius: 12px; background:
    linear-gradient(135deg, #e8f0f7, #f5f9fc);
  border: 1px dashed var(--border); text-align: center;
}
.map-placeholder p { margin: 0 0 12px; }
#mapFrame iframe { width: 100%; height: 220px; border: 0; border-radius: 12px; }

.seo-text {
  margin: 28px auto; padding: 18px; background: rgba(255,255,255,0.7);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.seo-text h2 { margin: 0 0 8px; font-size: 1.1rem; }
.seo-text p { margin: 0; color: var(--muted); font-size: 0.95rem; }

.site-footer { margin-top: 20px; padding: 28px 0 16px; background: var(--brand-footer-bg); color: var(--brand-footer-text); }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 0.7fr; gap: 16px; }
.site-footer a { display: block; color: var(--brand-footer-text); margin-top: 6px; }
/* Footer / dark-bg wordmark — RA + .com.ua light, 99 accent (WCAG AA on #102b44) */
.ra99-logo--footer,
.ra99-logo--foot {
  --logo-h: 36px;
  max-width: 180px;
  font-size: 1.5rem;
  color: #fff;
}
.ra99-logo--footer .ra99-logo__ra,
.ra99-logo--footer .ra99-logo__domain,
.ra99-logo--foot .ra99-logo__ra,
.ra99-logo--foot .ra99-logo__domain,
.site-footer .ra99-logo .ra99-logo__ra,
.site-footer .ra99-logo .ra99-logo__domain { color: #f0f6fc; }
.ra99-logo--footer .ra99-logo__99,
.ra99-logo--foot .ra99-logo__99,
.site-footer .ra99-logo .ra99-logo__99 { color: var(--accent); }
.ra99-logo--footer:hover,
.ra99-logo--footer:focus-visible,
.ra99-logo--foot:hover,
.ra99-logo--foot:focus-visible,
.site-footer .ra99-logo:hover,
.site-footer .ra99-logo:focus-visible { color: #fff; text-decoration: none; }
.foot-addr { color: rgba(215,229,241,0.75); font-size: 0.9rem; }
.foot-map { font-weight: 700; font-size: 0.9rem; }
.foot-copy {
  text-align: center; margin: 18px 0 0; font-size: 0.82rem;
  color: rgba(215,229,241,0.65);
}

@keyframes fade-up { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

@media (min-width: 1200px) {
  .header-bar {
    flex-wrap: nowrap;
    gap: 12px 14px;
    padding: 12px 0;
    min-height: 68px;
  }
  .search { flex: 1 1 auto; min-width: 300px; }
  .header-actions { margin-left: 0; }
  .mgr-label--full { display: inline; }
  .mgr-label--short { display: none; }
  .header-cart__label { display: inline; }
  .partner-promo__inner {
    flex-wrap: nowrap;
  }
  .partner-promo__form,
  .partner-promo__applied {
    flex: 0 1 380px;
  }
}

@media (max-width: 1199px) {
  .mgr-label--full { display: none; }
  .mgr-label--short { display: inline; }
}

/* 1024-ish: hide «Кошик» word, keep icon+badge+sum */
@media (max-width: 1100px) {
  .header-cart__label { display: none; }
  .mgr-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cats__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .cat__ico, .cat__ico img { width: 72px; height: 72px; }
  .benefits__row { grid-template-columns: repeat(3, 1fr); }
  .prod-row { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .cats__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cat {
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 12px;
    padding: 12px;
    min-height: 44px;
  }
  .cat__ico, .cat__ico img { width: 64px; height: 64px; }
  .cat__name { font-size: 0.88rem; }
  .header-bar {
    display: grid;
    grid-template-columns: auto auto minmax(0, 1fr);
    grid-template-rows: auto auto;
    gap: 8px;
    min-height: 0;
    padding: 8px 0;
    align-items: center;
    max-width: 100%;
    min-width: 0;
  }
  .logo { order: unset; grid-column: 1; grid-row: 1; }
  .catalog-btn { order: unset; grid-column: 2; grid-row: 1; display: inline-flex; flex-shrink: 0; width: max-content; min-width: max-content; justify-self: start; }
  .header-actions {
    order: unset;
    grid-column: 3;
    grid-row: 1;
    margin-left: 0;
    justify-self: end;
    flex-shrink: 1;
    min-width: 0;
    max-width: 100%;
  }
  .search {
    order: unset;
    grid-column: 1 / -1;
    grid-row: 2;
    flex: unset;
    min-width: 0;
    width: 100%;
    max-width: 100%;
  }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__img { aspect-ratio: 780 / 420; }
  .b2b__layout { grid-template-columns: 1fr; }
  .prod-row { grid-template-columns: repeat(2, 1fr); }
  .store-card { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .header-bar { padding: 6px 0; gap: 6px 8px; }
  :root { --logo-h: 34px; }
  .ra99-logo { font-size: 1.45rem; max-width: 170px; }
  .catalog-btn { order: 2; font-size: 0.88rem; padding: 0 10px; min-height: 40px; }
  .header-actions { gap: 4px; }
  .header-actions .btn-primary {
    font-size: 0.72rem; padding: 0 6px; min-height: 40px;
    white-space: nowrap;
  }
  .lang { min-height: 40px; font-size: 0.82rem; padding: 0 2px; }
  .header-cart__btn {
    min-height: 44px;
    padding: 0 2px;
    gap: 3px;
    font-size: 0.78rem;
  }
  .header-cart__sum {
    font-size: 0.7rem;
    max-width: 4.6rem;
    overflow: hidden;
    text-overflow: clip;
  }
  .ra99-mini-cart__panel,
  #headerCartDropdown.ra99-mini-cart__panel {
    position: fixed;
    left: 12px;
    right: 12px;
    top: auto;
    bottom: max(12px, env(safe-area-inset-bottom));
    width: auto;
    max-height: min(70vh, 480px);
  }
  .partner-promo__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 12px;
  }
  .partner-promo__form,
  .partner-promo__applied {
    flex: 1 1 auto;
    max-width: none;
    width: 100%;
  }
  .mock-demo {
    display: none; /* hide on small screens during layout shots; enable via ?mock=1 */
  }
  body[data-show-mock="1"] .mock-demo { display: block; }
  .search input, .search button { min-height: 40px; padding-top: 0; padding-bottom: 0; }
  .benefits__row { grid-template-columns: 1fr 1fr; }
  .cats__grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .cat {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    padding: 12px 8px;
    min-height: 44px;
  }
  .cat__ico, .cat__ico img { width: 60px; height: 60px; }
  .cat__name { font-size: 0.84rem; }
  .mgr-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(220px, 78vw);
    grid-template-columns: none;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    gap: 10px;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
  }
  .mgr-card { scroll-snap-align: start; }
  .mgr-scroll-hint {
    display: flex; justify-content: center; gap: 6px; margin-top: 8px;
  }
  .mgr-scroll-hint span {
    width: 8px; height: 8px; border-radius: 50%; background: #c5d4e2;
  }
  .mgr-scroll-hint span.is-active { background: var(--primary); width: 18px; border-radius: 999px; }
  .trust__grid { grid-template-columns: 1fr; }
  .prod-row {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(160px, 46vw);
    grid-template-columns: none;
    overflow-x: auto;
    gap: 10px;
    padding-bottom: 6px;
    scroll-snap-type: x mandatory;
    max-width: 100%;
  }
  .prod { scroll-snap-align: start; }
}
@media (max-width: 420px) {
  .ra99-logo { font-size: 1.3rem; max-width: 96px; }
  .catalog-btn { padding: 0 6px; font-size: 0.78rem; }
  .header-actions { gap: 2px; }
  .header-actions .btn-primary { padding: 0 5px; font-size: 0.65rem; min-width: 0; }
  .lang {
    /* free space for cart sum — still reachable in footer */
    position: absolute;
    width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0);
  }
  .header-cart__btn { font-size: 0.72rem; gap: 2px; padding: 0; }
  .header-cart__sum {
    font-size: 0.68rem;
    max-width: none; /* do not clip sum */
    overflow: visible;
  }
  .header-cart__badge { min-width: 1.15rem; height: 1.15rem; font-size: 0.65rem; }
  .benefits__row { grid-template-columns: 1fr; }
}

/* Back-to-top (prototype placement reference) */
.back-to-top {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 45;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--surface);
  color: var(--primary);
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: opacity 0.15s ease, transform 0.15s ease;
}
.back-to-top:not([hidden]) { opacity: 1; }
.back-to-top[hidden] { display: none; }
.back-to-top:hover { color: var(--primary-strong); transform: translateY(-2px); }

/* Help widget — Stage 0.4 UI prototype (no live submit) */
.help-widget {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: calc(max(16px, env(safe-area-inset-bottom)) + 56px);
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  max-width: min(360px, calc(100vw - 32px));
  pointer-events: none;
}
.help-widget.is-open { pointer-events: auto; }

.help-widget__trigger {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 14px;
  border: 0;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.25;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(11, 78, 128, 0.28);
  transition: background 0.15s ease, box-shadow 0.15s ease;
}
.help-widget__trigger:hover,
.help-widget__trigger:focus-visible {
  background: var(--primary-strong);
  outline: 2px solid var(--brand-blue-light);
  outline-offset: 2px;
}
.help-widget__icon { flex: 0 0 auto; opacity: 0.95; }
.help-widget__text--short { display: none; }

.help-widget__panel {
  pointer-events: auto;
  width: min(360px, calc(100vw - 32px));
  max-height: min(78vh, 560px);
  overflow: auto;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 18px 48px rgba(10, 45, 72, 0.22);
  border: 1px solid var(--border);
}
.help-widget__panel[hidden] { display: none; }

.help-widget__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, #f8fbff 0%, #fff 100%);
}
.help-widget__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
}
.help-widget__close {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}
.help-widget__close:hover,
.help-widget__close:focus-visible {
  background: var(--accent-soft);
  color: var(--text);
  outline: none;
}

.help-widget__form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px 16px 16px;
}
.help-widget__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}
.help-widget__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.92rem;
}
.help-widget__label { font-weight: 600; color: var(--text); }
.help-widget__field input,
.help-widget__field textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  color: var(--text);
}
.help-widget__field input:focus,
.help-widget__field textarea:focus {
  border-color: var(--primary);
  outline: 2px solid rgba(11, 78, 128, 0.15);
  outline-offset: 0;
}
.help-widget__field textarea { resize: vertical; min-height: 96px; }
.help-widget__check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.35;
}
.help-widget__check input { margin-top: 3px; flex-shrink: 0; }
.help-widget__helper {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}
.help-widget__submit { width: 100%; min-height: 44px; }
.help-widget__ok {
  margin: 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(28, 141, 86, 0.1);
  color: var(--ok);
  font-size: 0.9rem;
}
.help-widget__err {
  margin: 0;
  color: var(--accent);
  font-size: 0.88rem;
}

@media (max-width: 720px) {
  .help-widget {
    right: max(12px, env(safe-area-inset-right));
    bottom: calc(max(12px, env(safe-area-inset-bottom)) + 52px);
    max-width: calc(100vw - 24px);
  }
  .help-widget__trigger {
    min-width: 44px;
    padding: 10px 12px;
    border-radius: 999px;
  }
  .help-widget__text--full { display: none; }
  .help-widget__text--short { display: inline; }
  .help-widget__panel {
    width: calc(100vw - 24px);
    max-height: min(70vh, 520px);
  }
  .back-to-top {
    right: max(12px, env(safe-area-inset-right));
    bottom: max(12px, env(safe-area-inset-bottom));
  }
}

@media (prefers-reduced-motion: reduce) {
  .help-widget__trigger,
  .back-to-top { transition: none; }
}


/* Preview mini-cart line layout (live cart JSON) */
.header-cart__line{display:grid;grid-template-columns:48px 1fr auto auto;gap:8px;align-items:center;padding:8px 0;border-bottom:1px solid rgba(23,50,77,.08);font-size:.82rem}
.header-cart__line img{width:48px;height:48px;object-fit:contain;border-radius:6px;background:#f7fafc}
.header-cart__line-main{display:flex;flex-direction:column;gap:2px;min-width:0}
.header-cart__line-main a{color:inherit;text-decoration:none;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.header-cart__footer{display:flex;flex-direction:column;gap:10px;margin-top:12px}
.header-cart__checkout{display:inline-block;margin-top:8px;color:var(--primary);font-weight:600;text-decoration:none}
.ra99-mini-cart__remove{border:0;background:transparent;color:var(--muted,#698097);font-size:1.25rem;line-height:1;cursor:pointer;padding:4px 6px;border-radius:6px}
.ra99-mini-cart__remove:hover{color:var(--accent,#e8472a);background:rgba(232,71,42,.08)}
.ra99-home-preview .search input[name=route]{display:none}

.lang-form{display:inline;margin:0;padding:0}.lang-form .lang{background:none;border:0;cursor:pointer;font:inherit;color:inherit;padding:0}
