/* Elkomarket · демо с ИИ-консультантом */
:root {
  --green: #23483a;
  --green-deep: #10271f;
  --green-soft: #2f5c49;
  --cream: #faf7f1;
  --soft: #f2eadf;
  --ink: #28251f;
  --muted: #6f6b63;
  --line: #ded4c7;
  --white: #fff;
  --gold: #b98b4e;
  --radius: 14px;
  --shadow: 0 18px 50px rgba(16, 39, 31, .14);
  --sans: "PT Sans", "Segoe UI", Arial, sans-serif;
  --display: Roboto, "PT Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; margin: 0; letter-spacing: -.02em; }
p { margin: 0; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.shell { width: min(1240px, 100% - 48px); margin-inline: auto; }
.eyebrow {
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn--green { background: var(--green); color: var(--white); }
.btn--green:hover { background: var(--green-deep); }
.btn--light { background: var(--cream); color: var(--green); }
.btn--light:hover { background: var(--white); }
.btn--ghost { border-color: rgba(255, 255, 255, .34); color: var(--white); }
.btn--ghost:hover { border-color: rgba(255, 255, 255, .7); background: rgba(255, 255, 255, .08); }
.btn--outline { border-color: var(--green); color: var(--green); background: transparent; }
.btn--outline:hover { background: var(--green); color: var(--white); }
.btn--small { padding: 11px 16px; font-size: 14px; }

/* шапка */
.topbar { background: var(--green-deep); color: rgba(255, 255, 255, .62); font-size: 12px; }
.topbar__inner { display: flex; align-items: center; gap: 16px; height: 36px; }
.topbar__sep { width: 1px; height: 12px; background: rgba(255, 255, 255, .18); }
.topbar__right { margin-left: auto; letter-spacing: .04em; }
.header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(250, 247, 241, .94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header__inner { display: flex; align-items: center; gap: 28px; height: 76px; }
.logo { display: inline-flex; align-items: center; gap: 11px; }
.logo__mark {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: var(--cream);
}
.logo__mark svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.logo__text { display: flex; flex-direction: column; line-height: 1.05; }
.logo__text strong { font-family: var(--display); font-size: 20px; letter-spacing: -.02em; }
.logo__text small { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.nav { display: flex; gap: 24px; font-size: 15px; margin-left: 8px; }
.nav a { padding: 6px 0; border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav a:hover { border-color: var(--green); }
.header__actions { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.header__phone { font-family: var(--display); font-size: 16px; font-weight: 500; }
.header__phone:hover { color: var(--green-soft); }

/* герой */
.hero { position: relative; min-height: 600px; display: flex; align-items: center; overflow: hidden; background: var(--green-deep); }
.hero__media {
  position: absolute; inset: 0;
  background: url("/img/hero.webp") right center / cover no-repeat;
  transform: scale(1.01);
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(16, 39, 31, .97) 0%, rgba(16, 39, 31, .88) 40%, rgba(16, 39, 31, .35) 64%, rgba(16, 39, 31, .05) 100%);
}
.hero__inner { position: relative; z-index: 1; padding: 76px 0; }
.hero__card { max-width: 590px; color: var(--white); }
.hero__card .eyebrow { color: rgba(255, 255, 255, .55); }
.hero h1 { font-size: clamp(38px, 4.9vw, 62px); line-height: 1.02; }
.hero__lead { margin-top: 22px; max-width: 480px; font-size: 16.5px; color: rgba(255, 255, 255, .78); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__hint { margin-top: 22px; font-size: 13px; color: rgba(255, 255, 255, .5); }

/* условия */
.trust { background: var(--cream); border-bottom: 1px solid var(--line); }
.trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust__item { display: flex; align-items: center; gap: 13px; padding: 22px 24px; border-left: 1px solid var(--line); }
.trust__item:first-child { border-left: 0; padding-left: 0; }
.trust__item .ico { color: var(--green); width: 22px; height: 22px; }
.trust__item strong { display: block; font-size: 14px; }
.trust__item span { font-size: 12.5px; color: var(--muted); }

/* каталог */
.catalog { padding: 78px 0 84px; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 30px; }
.section-head h2 { font-size: clamp(30px, 3.4vw, 44px); }
.section-head__note { max-width: 360px; font-size: 14px; color: var(--muted); }
.filters { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; margin-bottom: 26px; }
.chip {
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  font-size: 14px;
  color: var(--ink);
  transition: background .18s, color .18s, border-color .18s;
}
.chip:hover { border-color: var(--green); }
.chip.is-active { background: var(--green); border-color: var(--green); color: var(--white); }
.filters__count { margin-left: auto; font-size: 13px; color: var(--muted); }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(16, 39, 31, .1); border-color: #cdc1b1; }
.card__media {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--soft);
  border: 0;
  padding: 0;
  display: block;
  width: 100%;
}
.card__media img { width: 100%; height: 100%; object-fit: contain; transition: transform .35s ease; }
.card:hover .card__media img { transform: scale(1.03); }
.card__cat {
  position: absolute; left: 12px; top: 12px;
  background: rgba(250, 247, 241, .9);
  border-radius: 999px;
  padding: 3px 9px;
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.card__body { padding: 14px 14px 12px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card__name { font-family: var(--sans); font-size: 14.5px; font-weight: 700; line-height: 1.3; min-height: 38px; }
.card__sizes { display: flex; flex-wrap: wrap; gap: 5px; }
.size {
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 6px;
  padding: 2px 7px;
  font-size: 11.5px;
  color: var(--muted);
  transition: border-color .15s, color .15s, background .15s;
}
.size:hover { border-color: var(--green); color: var(--ink); }
.size.is-active { border-color: var(--green); background: var(--green); color: var(--white); }
.size.is-out { opacity: .4; text-decoration: line-through; }
.size--more { border-style: dashed; cursor: default; color: #9a948a; }
.size--more:hover { border-color: var(--line); color: #9a948a; }
.card__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 4px; }
.price { display: flex; align-items: baseline; gap: 7px; }
.price s { font-size: 12px; color: var(--muted); }
.price strong { font-family: var(--display); font-size: 21px; font-weight: 500; }
.price .cur { font-size: 11px; font-weight: 700; color: var(--muted); margin-left: 1px; align-self: flex-start; margin-top: 3px; }
.card__ai {
  width: 36px; height: 36px;
  border: 0; border-radius: 50%;
  background: var(--green);
  color: var(--white);
  display: grid; place-items: center;
  transition: background .18s, transform .18s;
}
.card__ai:hover { background: var(--green-deep); transform: scale(1.06); }
.card__ai .ico { width: 18px; height: 18px; }

/* как работает */
.how { background: var(--green); color: var(--white); padding: 84px 0; }
.how__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 70px; align-items: start; }
.how .eyebrow { color: rgba(255, 255, 255, .5); }
.how h2 { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.08; }
.how__head p:not(.eyebrow) { margin: 20px 0 28px; max-width: 420px; color: rgba(255, 255, 255, .72); font-size: 15.5px; }
.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.step { padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, .16); display: grid; grid-template-columns: 56px 1fr; gap: 6px 18px; }
.step:last-child { border-bottom: 1px solid rgba(255, 255, 255, .16); }
.step__num { font-family: var(--display); font-size: 15px; color: rgba(255, 255, 255, .45); padding-top: 3px; }
.step h3 { font-size: 19px; margin-bottom: 6px; }
.step p { grid-column: 2; font-size: 14.5px; color: rgba(255, 255, 255, .68); }

/* вопросы */
.faq { padding: 78px 0; }
.faq__inner { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 60px; align-items: start; }
.faq h2 { font-size: clamp(28px, 3vw, 40px); }
.faq__list details { border-top: 1px solid var(--line); padding: 4px 0; }
.faq__list details:last-child { border-bottom: 1px solid var(--line); }
.faq__list summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 34px 18px 0;
  font-weight: 700;
  font-size: 15.5px;
  position: relative;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after {
  content: "+";
  position: absolute; right: 4px; top: 50%;
  transform: translateY(-50%);
  font-weight: 400; font-size: 20px; color: var(--muted);
  transition: transform .2s;
}
.faq__list details[open] summary::after { content: "−"; }
.faq__list p { padding: 0 34px 18px 0; color: var(--muted); font-size: 14.5px; }

/* CTA */
.cta { background: var(--green-deep); color: var(--white); padding: 54px 0; }
.cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.cta h2 { font-size: clamp(24px, 2.7vw, 34px); }
.cta p { margin-top: 8px; color: rgba(255, 255, 255, .64); font-size: 15px; }

/* подвал */
.footer { background: #0b1c16; color: rgba(255, 255, 255, .7); padding: 56px 0 22px; font-size: 14px; }
.footer__inner { display: flex; justify-content: space-between; gap: 40px; }
.footer__brand p { margin-top: 16px; color: rgba(255, 255, 255, .45); font-size: 12.5px; line-height: 1.7; }
.logo--light .logo__mark { background: rgba(255, 255, 255, .1); }
.logo--light .logo__text small { color: rgba(255, 255, 255, .45); }
.footer__cols { display: flex; gap: 70px; }
.footer h3 { font-family: var(--sans); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .45); margin-bottom: 12px; }
.footer a:hover { color: var(--white); }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 44px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 12px; color: rgba(255, 255, 255, .4); }

/* кнопка запуска */
.launcher {
  position: fixed;
  right: 24px; bottom: 24px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px 14px 16px;
  border: 0;
  border-radius: 999px;
  background: var(--green);
  color: var(--white);
  font-weight: 700;
  font-size: 15px;
  box-shadow: 0 14px 34px rgba(16, 39, 31, .32);
  transition: transform .2s ease, background .2s ease, opacity .2s ease;
}
.launcher:hover { transform: translateY(-2px); background: var(--green-deep); }
.launcher__ico { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.launcher__dot {
  width: 8px; height: 8px; border-radius: 50%; background: #8fd6a8;
  box-shadow: 0 0 0 0 rgba(143, 214, 168, .7);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(143, 214, 168, .6); }
  70% { box-shadow: 0 0 0 9px rgba(143, 214, 168, 0); }
  100% { box-shadow: 0 0 0 0 rgba(143, 214, 168, 0); }
}
.launcher.is-hidden { opacity: 0; pointer-events: none; transform: translateY(10px); }

/* панель чата */
.panel {
  position: fixed;
  right: 24px; bottom: 88px;
  z-index: 70;
  width: 404px;
  height: min(690px, calc(100dvh - 116px));
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 30px 80px rgba(16, 39, 31, .3);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  transform: translateY(14px) scale(.98);
  pointer-events: none;
  transition: opacity .22s ease, transform .22s ease;
}
.panel.is-open { opacity: 1; transform: none; pointer-events: auto; }
.panel__head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 16px 15px;
  background: var(--green);
  color: var(--white);
}
.panel__who { display: flex; align-items: center; gap: 12px; }
.panel__avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255, 255, 255, .14);
  display: grid; place-items: center;
  color: #dff0e4;
}
.panel__avatar .ico { width: 21px; height: 21px; }
.panel__head h2 { font-family: var(--display); font-size: 16px; font-weight: 500; letter-spacing: 0; }
.panel__head p { display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: rgba(255, 255, 255, .66); margin-top: 2px; }
.panel__head .dot { width: 6px; height: 6px; border-radius: 50%; background: #8fd6a8; }
.panel__actions { display: flex; gap: 4px; }
.icon-btn {
  width: 34px; height: 34px;
  border: 0; border-radius: 50%;
  background: transparent;
  color: rgba(255, 255, 255, .75);
  display: grid; place-items: center;
  transition: background .16s, color .16s;
}
.icon-btn:hover { background: rgba(255, 255, 255, .12); color: var(--white); }
.icon-btn .ico { width: 18px; height: 18px; }

.panel__log {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 18px 16px 8px;
  background: var(--cream);
  display: flex;
  flex-direction: column;
  gap: 12px;
  scroll-behavior: smooth;
}
.msg { display: flex; flex-direction: column; gap: 10px; max-width: 100%; }
.msg__bubble {
  max-width: 88%;
  padding: 11px 14px;
  border-radius: 4px 14px 14px 14px;
  background: var(--white);
  border: 1px solid #e8e1d6;
  font-size: 14px;
  line-height: 1.45;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.msg--user { align-items: flex-end; }
.msg--user .msg__bubble {
  background: var(--green);
  border-color: var(--green);
  color: var(--white);
  border-radius: 14px 4px 14px 14px;
}
.msg__bubble b, .msg__bubble strong { font-weight: 700; }
.msg__bubble a { text-decoration: underline; }
.msg--error .msg__bubble {
  background: #fbefef;
  border-color: #edd4d4;
  color: #8d2f2f;
}
.msg__cards { display: flex; flex-direction: column; gap: 8px; }
.msg__note { font-size: 11.5px; color: var(--muted); padding-left: 2px; }

/* карточка в чате */
.mini {
  display: grid;
  grid-template-columns: 66px 1fr auto;
  gap: 10px;
  align-items: center;
  background: var(--white);
  border: 1px solid #e8e1d6;
  border-radius: 12px;
  padding: 8px;
  transition: border-color .16s, box-shadow .16s;
}
.mini:hover { border-color: #cbbda9; box-shadow: 0 6px 18px rgba(16, 39, 31, .07); }
.mini__img { width: 66px; height: 76px; border-radius: 8px; background: var(--soft); display: grid; place-items: center; overflow: hidden; }
.mini__img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.mini__info { min-width: 0; }
.mini__name { font-size: 12.8px; font-weight: 700; line-height: 1.3; }
.mini__meta { font-size: 11px; color: var(--muted); margin-top: 3px; }
.mini__price { font-size: 12.8px; font-weight: 700; margin-top: 5px; }
.mini__price s { font-weight: 400; color: var(--muted); font-size: 11px; margin-left: 4px; }
.mini__go {
  border: 1px solid var(--line);
  background: var(--cream);
  border-radius: 999px;
  padding: 7px 11px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  transition: background .16s, border-color .16s;
}
.mini__go:hover { background: var(--green); border-color: var(--green); color: var(--white); }

/* заказ в чате */
.order {
  background: #eef4ee;
  border: 1px solid #cfe0d3;
  border-radius: 14px;
  padding: 14px;
  font-size: 13px;
}
.order__head { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--green); }
.order__head .ico { width: 17px; height: 17px; }
.order__num { font-family: var(--display); font-size: 15px; color: var(--ink); margin: 8px 0 10px; }
.order__items { list-style: none; margin: 0 0 10px; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.order__items li { display: flex; justify-content: space-between; gap: 12px; color: #3c4a40; }
.order__total { display: flex; justify-content: space-between; padding-top: 10px; border-top: 1px solid #cfe0d3; font-weight: 700; }
.order__note { margin-top: 10px; font-size: 11.5px; color: #5d6f61; }
.order__note a { text-decoration: underline; }

/* индикатор «печатает» */
.typing { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12.5px; padding: 2px 2px 0; }
.typing__dots { display: inline-flex; gap: 3px; }
.typing__dots i { width: 5px; height: 5px; border-radius: 50%; background: var(--muted); animation: blink 1.2s infinite; }
.typing__dots i:nth-child(2) { animation-delay: .15s; }
.typing__dots i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 100% { opacity: .25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-2px); } }

/* быстрые запросы */
.panel__quick { display: flex; gap: 6px; overflow-x: auto; padding: 10px 14px 4px; background: var(--cream); scrollbar-width: none; }
.panel__quick::-webkit-scrollbar { display: none; }
.panel__quick:empty { display: none; }
.quick {
  border: 1px solid #d9d0c2;
  background: rgba(255, 255, 255, .7);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 12px;
  white-space: nowrap;
  color: #4b4a44;
  transition: background .16s, border-color .16s;
}
.quick:hover { background: var(--white); border-color: var(--green); }

/* поле ввода */
.panel__form {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding: 10px 12px;
  background: var(--cream);
  border-top: 1px solid #e8e1d6;
}
.panel__form textarea {
  flex: 1;
  resize: none;
  border: 1px solid #ddd3c4;
  border-radius: 18px;
  padding: 10px 14px;
  font: inherit;
  font-size: 14px;
  line-height: 1.4;
  background: var(--white);
  max-height: 120px;
  outline: none;
  transition: border-color .16s;
}
.panel__form textarea:focus { border-color: var(--green); }
.panel__form textarea:disabled { opacity: .6; }
.send {
  width: 42px; height: 42px;
  border: 0; border-radius: 50%;
  background: var(--green);
  color: var(--white);
  display: grid; place-items: center;
  flex: none;
  transition: background .16s, opacity .16s;
}
.send:hover { background: var(--green-deep); }
.send:disabled { opacity: .45; cursor: default; }
.send .ico { width: 19px; height: 19px; }
.panel__foot {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 0 16px 10px;
  background: var(--cream);
  font-size: 10.5px; color: #9a948a;
}
.panel__foot a { text-decoration: underline; }
.panel__foot a:hover { color: var(--green); }

/* модальное окно товара */
.modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 24px; opacity: 0; pointer-events: none; transition: opacity .2s; }
.modal.is-open { opacity: 1; pointer-events: auto; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(16, 39, 31, .55); backdrop-filter: blur(3px); }
.modal__dialog {
  position: relative;
  z-index: 1;
  width: min(940px, 100%);
  max-height: calc(100dvh - 48px);
  overflow-y: auto;
  background: var(--cream);
  border-radius: 20px;
  box-shadow: var(--shadow);
  transform: translateY(10px) scale(.99);
  transition: transform .2s;
}
.modal.is-open .modal__dialog { transform: none; }
.modal__close {
  position: absolute; right: 14px; top: 14px;
  z-index: 2;
  width: 38px; height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(250, 247, 241, .9);
  display: grid; place-items: center;
}
.modal__close:hover { background: var(--white); }
.pm { display: grid; grid-template-columns: 1fr 1.1fr; }
.pm__media { background: var(--soft); padding: 28px; display: grid; place-items: center; border-radius: 20px 0 0 20px; }
.pm__media img { max-height: 420px; width: auto; object-fit: contain; }
.pm__body { padding: 34px 34px 30px; display: flex; flex-direction: column; gap: 12px; }
.pm__cat { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.pm__body h2 { font-size: 27px; line-height: 1.15; }
.pm__desc { font-size: 13.5px; color: #5c584f; }
.pm__sizes { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.pm__price { display: flex; align-items: baseline; gap: 10px; margin-top: 4px; }
.pm__price s { color: var(--muted); font-size: 14px; }
.pm__price strong { font-family: var(--display); font-size: 30px; font-weight: 500; }
.pm__price .cur { font-size: 12px; font-weight: 700; color: var(--muted); align-self: flex-start; margin-top: 5px; }
.pm__specs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; margin: 10px 0 6px; padding-top: 14px; border-top: 1px solid var(--line); }
.pm__specs div { display: flex; justify-content: space-between; gap: 10px; font-size: 12.5px; }
.pm__specs dt { color: var(--muted); }
.pm__specs dd { margin: 0; text-align: right; }
.pm__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 14px; }
.pm__hint { font-size: 11.5px; color: var(--muted); }

/* страница заказов для владельца */
.owner-page { background: #f4f0e8; }
.owner-head { background: var(--green-deep); color: var(--white); }
.owner-head__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 76px; }
.owner-head__right { display: flex; align-items: center; gap: 18px; }
.owner-live { display: flex; align-items: center; gap: 7px; font-size: 12px; color: rgba(255, 255, 255, .6); }
.owner-live i { width: 7px; height: 7px; border-radius: 50%; background: #8fd6a8; animation: pulse 2.4s infinite; }
.owner-main { padding: 46px 0 70px; }
.owner-title { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; margin-bottom: 30px; }
.owner-title h1 { font-size: clamp(30px, 4vw, 44px); }
.owner-sub { max-width: 640px; color: var(--muted); font-size: 14.5px; margin-top: 12px; }
.owner-stats { display: flex; gap: 28px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 16px 22px; flex: none; }
.owner-stats div { display: flex; flex-direction: column; gap: 2px; }
.owner-stats strong { font-family: var(--display); font-size: 26px; font-weight: 500; }
.owner-stats span { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.owner-list { display: flex; flex-direction: column; gap: 14px; }
.order-card { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; }
.order-card__top { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-bottom: 12px; border-bottom: 1px solid #eee7db; }
.order-card__num { font-family: var(--display); font-size: 17px; font-weight: 500; letter-spacing: .02em; }
.order-card__time { font-size: 12px; color: var(--muted); }
.order-card__items { display: flex; flex-direction: column; gap: 8px; padding: 14px 0; }
.order-card__item { display: flex; justify-content: space-between; gap: 16px; font-size: 13.5px; }
.order-card__item em { font-style: normal; color: var(--muted); margin-left: 6px; }
.order-card__bottom { display: flex; justify-content: space-between; align-items: flex-start; gap: 30px; padding-top: 14px; border-top: 1px dashed #ddd3c4; }
.order-card__customer { display: grid; grid-template-columns: repeat(2, minmax(190px, 1fr)); gap: 6px 28px; font-size: 13.5px; }
.order-card__customer p { display: grid; grid-template-columns: 88px 1fr; gap: 8px; }
.order-card__customer p > span { color: var(--muted); font-size: 12.5px; }
.order-card__customer a { text-decoration: underline; }
.order-card__summary { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; flex: none; }
.order-card__total { display: flex; align-items: baseline; gap: 14px; font-weight: 700; font-size: 15px; }
.order-card__total span { font-weight: 400; font-size: 12.5px; color: var(--muted); }
.order-card__total b { font-family: var(--display); font-size: 21px; font-weight: 500; }
.order-card__badge { font-size: 11px; padding: 4px 9px; border-radius: 999px; background: var(--soft); color: #7a6a52; }
.order-card__badge.is-sent { background: #e7f2e9; color: #2f6a45; }
.owner-empty { background: var(--white); border: 1px dashed var(--line); border-radius: 16px; padding: 38px; text-align: center; color: var(--muted); }
.owner-empty strong { display: block; color: var(--ink); font-size: 16px; margin-bottom: 6px; }
.owner-empty a { text-decoration: underline; }
.owner-stamp { margin-top: 18px; font-size: 11.5px; color: #a39b8e; text-align: right; }

/* страница заказов: мобильные */
@media (max-width: 820px) {
  .owner-head__inner { height: 64px; }
  .owner-live { display: none; }
  .owner-main { padding: 30px 0 50px; }
  .owner-title { flex-direction: column; gap: 20px; }
  .owner-stats { width: 100%; justify-content: space-between; }
  .order-card__bottom { flex-direction: column; gap: 14px; }
  .order-card__customer { grid-template-columns: 1fr; width: 100%; }
  .order-card__summary { align-items: flex-start; }
}

@media (max-width: 1080px) {
  .nav { display: none; }
  .grid { grid-template-columns: repeat(3, 1fr); }
  .how__inner, .faq__inner { grid-template-columns: 1fr; gap: 36px; }
  .how { padding: 62px 0; }
  .hero { min-height: 540px; }
  .hero__card { max-width: 520px; }
  .trust__item { padding: 18px 16px; }
}
@media (max-width: 820px) {
  .grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .topbar__right, .topbar__sep, .topbar span:nth-child(3) { display: none; }
  .footer__inner { flex-direction: column; }
  .footer__cols { gap: 40px; }
  .pm { grid-template-columns: 1fr; }
  .pm__media { border-radius: 20px 20px 0 0; padding: 20px; }
  .pm__media img { max-height: 280px; }
  .pm__body { padding: 24px; }
  .cta__inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  html { scroll-padding-top: 76px; }
  .shell { width: calc(100% - 32px); }
  .header__inner { height: 64px; gap: 12px; }
  .header__phone { display: none; }
  .header__actions .btn span { display: none; }
  .hero { min-height: 0; }
  .hero__inner { padding: 52px 0 46px; }
  .hero::after { background: linear-gradient(180deg, rgba(16, 39, 31, .92) 0%, rgba(16, 39, 31, .84) 60%, rgba(16, 39, 31, .95) 100%); }
  .hero__lead { font-size: 15px; }
  .trust__grid { grid-template-columns: 1fr 1fr; }
  .trust__item { border-left: 0; padding: 14px 10px; }
  .trust__item:nth-child(odd) { padding-left: 0; }
  .catalog { padding: 52px 0 58px; }
  .filters { gap: 7px; }
  .filters__count { width: 100%; margin: 4px 0 0; }
  .card__name { font-size: 13.5px; min-height: 34px; }
  .price strong { font-size: 18px; }
  .how, .faq { padding: 54px 0; }
  .step { grid-template-columns: 40px 1fr; }
  .footer__bottom { flex-direction: column; gap: 6px; }
  .launcher { right: 16px; bottom: 16px; width: 56px; height: 56px; padding: 0; justify-content: center; border-radius: 50%; }
  .launcher__label { display: none; }
  .launcher__dot { position: absolute; top: 11px; right: 11px; width: 7px; height: 7px; }
  .panel {
    inset: 0;
    width: auto;
    height: 100dvh;
    max-height: none;
    border-radius: 0;
    bottom: 0; right: 0;
    transform: translateY(20px);
  }
  .panel__log { padding-top: 16px; }
  .modal { padding: 10px; }
  .modal__dialog { max-height: calc(100dvh - 20px); }
  .pm__specs { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
