/* ============ Токены ============ */
:root {
  --bg: #131519;
  --card: #1d2026;
  --card2: #22262e;
  --line: #2a2f39;
  --text: #eef0f3;
  --muted: #97a0ae;
  --accent: #e0813c;
  --accent-2: #f0a25c;
  --accent-ink: #241304;
  --green: #4cc38a;
  --wa: #35d06c;
  --tg: #3db4ec;
  --radius: 18px;
  --font-body: 'Manrope', system-ui, sans-serif;
  --font-display: 'Unbounded', system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(900px 520px at 88% -6%, rgba(224, 129, 60, .13), transparent 62%),
    radial-gradient(760px 520px at -12% 34%, rgba(86, 108, 148, .10), transparent 60%),
    var(--bg);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }

.noise {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

.top, .wrap, .foot { position: relative; z-index: 1; }

/* ============ Шапка ============ */
.top {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px clamp(16px, 4vw, 40px);
  background: rgba(19, 21, 25, .82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.brand { display: flex; align-items: center; gap: 11px; min-width: 0; }

.brand-mark {
  width: 42px; height: 42px; flex: none;
  display: grid; place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(224,129,60,.18), rgba(224,129,60,.06));
  border: 1px solid rgba(224, 129, 60, .3);
  color: var(--accent-2);
}
.mark-icon { width: 22px; height: 22px; }

.brand-name {
  font-family: var(--font-display); font-weight: 600; font-size: 15px;
  letter-spacing: .01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.brand-name em {
  display: block; font: 500 11px var(--font-body);
  font-style: normal; color: var(--muted); letter-spacing: .08em; text-transform: uppercase;
}

.top-phone {
  display: none;
  align-items: center; gap: 8px;
  font-weight: 700; font-size: 15px; white-space: nowrap;
  padding: 9px 16px; border-radius: 999px;
  border: 1px solid rgba(224, 129, 60, .35); color: var(--accent-2);
  transition: background .2s;
}
.top-phone:hover { background: rgba(224, 129, 60, .1); }
.top-phone svg { width: 16px; height: 16px; }
@media (min-width: 640px) { .top-phone { display: flex; } }

/* ============ Контент ============ */
.wrap { max-width: 780px; margin: 0 auto; padding: 0 16px 64px; }

/* --- Герой --- */
.hero { padding: clamp(36px, 7vw, 64px) 0 8px; }

.hero-kicker {
  display: inline-block;
  font: 600 12px/1 var(--font-body);
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-2);
  padding: 7px 12px; border-radius: 999px;
  border: 1px solid rgba(224, 129, 60, .35);
  background: rgba(224, 129, 60, .08);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(28px, 6.4vw, 46px);
  font-weight: 600; line-height: 1.16;
  letter-spacing: -.01em;
  margin: 18px 0 14px;
}
.accent {
  background: linear-gradient(92deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.hero-sub { color: var(--muted); font-size: clamp(15px, 2.6vw, 17px); max-width: 54ch; }

.live-chip {
  display: inline-flex; align-items: center; gap: 9px;
  margin-top: 20px;
  font-size: 13.5px; font-weight: 600;
  color: #b8e6cd;
  background: rgba(76, 195, 138, .09);
  border: 1px solid rgba(76, 195, 138, .25);
  padding: 8px 14px; border-radius: 999px;
}
.live-chip .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--green);
  box-shadow: 0 0 0 0 rgba(76, 195, 138, .5);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(76,195,138,.45); }
  70% { box-shadow: 0 0 0 9px rgba(76,195,138,0); }
  100% { box-shadow: 0 0 0 0 rgba(76,195,138,0); }
}

.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: 999px;
  font: 700 14.5px var(--font-body); cursor: pointer;
  border: 1px solid transparent;
  transition: transform .15s, box-shadow .2s, background .2s, border-color .2s;
}
.btn:active { transform: scale(.97); }

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #d9742f);
  color: var(--accent-ink);
  box-shadow: 0 6px 22px -6px rgba(224, 129, 60, .55);
}
.btn-primary:hover { box-shadow: 0 8px 28px -6px rgba(224, 129, 60, .7); }

.btn-wa {
  background: rgba(53, 208, 108, .1); color: #6bdfa0;
  border-color: rgba(53, 208, 108, .35);
}
.btn-wa:hover { background: rgba(53, 208, 108, .18); }

.btn-tg {
  background: rgba(61, 180, 236, .1); color: #74c9f2;
  border-color: rgba(61, 180, 236, .35);
}
.btn-tg:hover { background: rgba(61, 180, 236, .18); }

/* --- Преимущества --- */
.usp {
  list-style: none;
  display: grid; grid-template-columns: 1fr; gap: 14px;
  margin: 34px 0 8px;
}
@media (min-width: 720px) { .usp { grid-template-columns: repeat(3, 1fr); } }
.usp li {
  border-left: 2px solid rgba(224, 129, 60, .45);
  padding: 4px 0 4px 14px;
}
.usp b { display: block; font-size: 14.5px; }
.usp span { font-size: 13px; color: var(--muted); }

/* --- Категории прайса --- */
.cats { display: grid; gap: 18px; margin-top: 34px; }

.cat {
  background: linear-gradient(180deg, var(--card2), var(--card));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.cat-head {
  display: flex; align-items: center; gap: 13px;
  padding: 15px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, .05);
  background: rgba(255, 255, 255, .015);
}
.cat-ico {
  width: 38px; height: 38px; flex: none;
  display: grid; place-items: center;
  border-radius: 11px;
  background: rgba(224, 129, 60, .12);
  color: var(--accent-2);
}
.cat-ico svg { width: 20px; height: 20px; }
.cat-head h2 {
  font-family: var(--font-display);
  font-size: 15.5px; font-weight: 600; letter-spacing: .01em;
}
.cat-count {
  margin-left: auto; flex: none;
  font: 700 11.5px var(--font-body); color: var(--muted);
  border: 1px solid var(--line);
  padding: 3px 9px; border-radius: 999px;
}

.p-row {
  display: flex; align-items: baseline; justify-content: space-between; gap: 14px;
  padding: 13px 18px;
  border-bottom: 1px dashed rgba(255, 255, 255, .06);
}
.p-row:last-child { border-bottom: none; }
.p-name { font-size: 15px; font-weight: 500; }
.p-price { flex: none; text-align: right; }
.p-price b {
  font-size: 18.5px; font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--accent-2);
}
.p-price i { font-style: normal; font-size: 12px; font-weight: 600; color: var(--muted); margin-left: 6px; }

.disclaimer {
  margin-top: 26px;
  font-size: 12.5px; color: var(--muted);
  padding: 12px 16px;
  border: 1px dashed var(--line); border-radius: 12px;
}

/* --- Контакты --- */
.contacts { margin-top: 46px; }
.contacts h2, .api-section h2 {
  font-family: var(--font-display); font-size: 18px; font-weight: 600;
  margin-bottom: 16px;
}
.contacts-grid { display: grid; gap: 12px; }
@media (min-width: 720px) { .contacts-grid { grid-template-columns: 1fr 1fr; } }
.contact-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 18px; position: relative;
}
.contact-card svg {
  width: 20px; height: 20px; color: var(--accent-2); margin-bottom: 10px;
}
.contact-card b { display: block; font-size: 14px; margin-bottom: 3px; }
.contact-card span { font-size: 14.5px; color: var(--muted); }
.route-link {
  display: inline-flex; align-items: center; gap: 7px;
  margin-top: 12px; font-size: 13.5px; font-weight: 700;
  color: var(--accent-2);
}
.route-link svg { width: 15px; height: 15px; margin: 0; color: currentColor; }
.route-link:hover { text-decoration: underline; }

/* --- API-ссылки --- */
.api-section { margin-top: 46px; }
.api-note { color: var(--muted); font-size: 13.5px; margin-bottom: 14px; }
.api-grid { display: grid; gap: 10px; }
@media (min-width: 720px) { .api-grid { grid-template-columns: repeat(3, 1fr); } }
.api-card {
  position: relative;
  display: flex; flex-direction: column; gap: 4px;
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 14px 16px;
  transition: border-color .2s;
}
.api-card:hover { border-color: rgba(224, 129, 60, .5); }
.api-card b { font-family: var(--font-display); font-size: 13px; }
.api-card span { font: 500 12px ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--muted); }
.api-card .copy {
  font-style: normal; align-self: flex-start;
  margin-top: 8px; font-size: 11.5px; font-weight: 700; color: var(--accent-2);
  border: 1px solid rgba(224, 129, 60, .35); border-radius: 999px;
  padding: 3px 10px; cursor: pointer;
}

/* --- Подвал --- */
.foot {
  max-width: 780px; margin: 0 auto;
  padding: 22px 16px 34px;
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, .05);
  font-size: 13px; color: var(--muted);
}
.foot a { color: var(--muted); text-decoration: underline dotted; }
.foot a:hover { color: var(--text); }

/* --- Тост --- */
.toast {
  position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 16px);
  z-index: 100; max-width: min(92vw, 560px);
  background: #262b33; color: var(--text);
  border: 1px solid var(--line);
  padding: 11px 18px; border-radius: 999px;
  font-size: 13.5px; font-weight: 600;
  opacity: 0; pointer-events: none;
  transition: opacity .25s, transform .25s;
  box-shadow: 0 10px 30px -8px rgba(0, 0, 0, .5);
  word-break: break-all;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* --- Появление при загрузке --- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.hero > * { animation: fadeUp .55s ease both; }
.hero > *:nth-child(2) { animation-delay: .06s; }
.hero > *:nth-child(3) { animation-delay: .12s; }
.hero > *:nth-child(4) { animation-delay: .18s; }
.hero > *:nth-child(5) { animation-delay: .24s; }
.usp, .cat, .contacts, .api-section, .foot { animation: fadeUp .6s ease both; }
.cat:nth-child(2) { animation-delay: .05s; }
.cat:nth-child(3) { animation-delay: .1s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ================================================================ */
/* ============                      АДМИНКА                       */
/* ================================================================ */

body.admin {
  --bg: #eef0f4;
  --card: #ffffff;
  --line: #dfe3ea;
  --text: #191d24;
  --muted: #6a7482;
  background: var(--bg);
}

.admin .noise { display: none; }

/* --- Вход --- */
.login-wrap {
  min-height: 100vh; display: grid; place-items: center; padding: 20px;
}
.login-card {
  width: min(400px, 100%);
  background: var(--card); border: 1px solid var(--line); border-radius: 20px;
  padding: 34px 30px;
  box-shadow: 0 20px 60px -30px rgba(23, 28, 38, .35);
}
.login-card h1 {
  font-family: var(--font-display); font-size: 19px; font-weight: 600; margin-bottom: 6px;
}
.login-card p { font-size: 13.5px; color: var(--muted); margin-bottom: 22px; }
.login-card input {
  width: 100%; padding: 13px 14px; margin-bottom: 12px;
  font: 600 15px var(--font-body);
  border: 1px solid var(--line); border-radius: 12px;
  background: #f7f8fa; color: var(--text);
}
.login-card input:focus { outline: 2px solid rgba(224, 129, 60, .4); outline-offset: 0; border-color: var(--accent); }
.login-card .btn-primary { width: 100%; }
.login-err { color: #d64545; font-size: 13.5px; font-weight: 600; margin-bottom: 10px; min-height: 18px; }
.login-hint { margin-top: 16px; font-size: 12px; color: var(--muted); }

/* --- Каркас админки --- */
.admin-top {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.admin-top-in {
  max-width: 900px; margin: 0 auto; padding: 12px 16px;
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
}
.admin-brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: 13.5px; font-weight: 600;
}
.admin-brand .brand-mark { width: 34px; height: 34px; border-radius: 10px; }
.admin-updated {
  font-size: 12.5px; color: var(--muted); font-weight: 600; margin-left: auto;
}
.tabs { display: flex; gap: 6px; overflow-x: auto; padding: 0 10px 10px; max-width: 900px; margin: 0 auto; }
.tab {
  flex: none; padding: 8px 16px; border-radius: 999px; cursor: pointer;
  font: 700 13.5px var(--font-body);
  background: transparent; color: var(--muted);
  border: 1px solid transparent;
}
.tab:hover { color: var(--text); }
.tab.active {
  background: rgba(224, 129, 60, .12); color: #b05a1d;
  border-color: rgba(224, 129, 60, .4);
}
.btn-ghost {
  background: transparent; border: 1px solid var(--line); color: var(--muted);
  padding: 8px 14px; border-radius: 999px; font: 700 13px var(--font-body); cursor: pointer;
}
.btn-ghost:hover { color: var(--text); border-color: var(--muted); }

.admin-main { max-width: 900px; margin: 0 auto; padding: 22px 16px 110px; }

/* --- Инструменты прайса --- */
.tools {
  display: flex; gap: 10px; flex-wrap: wrap; align-items: center;
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 12px 14px; margin-bottom: 18px;
}
.tools label { font-size: 13px; font-weight: 700; color: var(--muted); }
.tools select, .tools input[type="number"] {
  padding: 9px 11px; border: 1px solid var(--line); border-radius: 10px;
  font: 600 14px var(--font-body); background: #f7f8fa; color: var(--text);
}
.tools input[type="number"] { width: 84px; }
.btn-sm {
  padding: 9px 15px; border-radius: 10px; cursor: pointer;
  font: 700 13.5px var(--font-body);
  background: rgba(224, 129, 60, .12); color: #b05a1d;
  border: 1px solid rgba(224, 129, 60, .4);
}
.btn-sm:hover { background: rgba(224, 129, 60, .2); }
.btn-sm.danger {
  background: rgba(214, 69, 69, .08); color: #c04040; border-color: rgba(214, 69, 69, .35);
}
.tools .spacer { flex: 1; }

/* --- Редактор категорий --- */
.cat-edit {
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  margin-bottom: 16px; overflow: hidden;
}
.cat-edit-head {
  display: flex; gap: 8px; align-items: center;
  padding: 12px 14px; border-bottom: 1px solid var(--line);
  background: #f7f8fa;
}
.cat-edit-head .cat-count { margin-left: 0; border-color: var(--line); background: #fff; }
.cat-edit-head input {
  flex: 1; min-width: 120px;
  font: 700 15px var(--font-family, var(--font-body));
  padding: 9px 12px;
  border: 1px solid transparent; border-radius: 10px; background: transparent; color: var(--text);
}
.cat-edit-head input:hover, .cat-edit-head input:focus {
  border-color: var(--line); background: #fff; outline: none;
}
.icon-btn {
  flex: none; width: 34px; height: 34px; border-radius: 9px; cursor: pointer;
  display: grid; place-items: center;
  background: transparent; border: 1px solid var(--line); color: var(--muted);
  font-size: 15px; font-weight: 700; line-height: 1;
}
.icon-btn:hover { color: var(--text); border-color: var(--muted); }
.icon-btn.danger:hover { color: #c04040; border-color: rgba(214, 69, 69, .5); }

.item-row {
  display: grid; grid-template-columns: 1fr 104px 104px auto;
  gap: 8px; align-items: center;
  padding: 10px 14px;
  border-bottom: 1px solid #eef0f4;
}
.item-row:last-of-type { border-bottom: none; }
.item-row input[type="text"], .item-row input[type="number"], .item-row select {
  width: 100%; padding: 9px 11px;
  font: 600 14px var(--font-body);
  border: 1px solid var(--line); border-radius: 9px;
  background: #f7f8fa; color: var(--text);
}
.item-row input[type="number"] { text-align: right; font-variant-numeric: tabular-nums; }
.item-row input:focus, .item-row select:focus {
  outline: 2px solid rgba(224, 129, 60, .35); border-color: var(--accent); background: #fff;
}
.item-row .p-name-input { font-weight: 600; }
.row-ctl { display: flex; align-items: center; gap: 6px; justify-self: end; }
.hidden-toggle {
  display: flex; align-items: center; gap: 6px;
  font-size: 11.5px; font-weight: 700; color: var(--muted); cursor: pointer; user-select: none;
}
.hidden-toggle input { width: 15px; height: 15px; accent-color: var(--accent); margin: 0; }
.item-row.deleted { opacity: .45; background: repeating-linear-gradient(-45deg, transparent 0 8px, rgba(214,69,69,.05) 8px 16px); }
.item-row.deleted .strike { text-decoration: line-through; }

.add-item {
  display: block; width: calc(100% - 28px); margin: 10px 14px 14px;
  padding: 10px; border-radius: 10px; cursor: pointer;
  border: 1.5px dashed #c9cfd9; background: transparent;
  font: 700 13.5px var(--font-body); color: var(--muted);
}
.add-item:hover { border-color: var(--accent); color: #b05a1d; }

@media (max-width: 680px) {
  .item-row { grid-template-columns: 1fr 104px 104px; grid-template-areas: "name price unit" "ctl ctl ctl"; row-gap: 8px; }
  .item-row .p-name-input { grid-area: name; }
  .item-row .price-input { grid-area: price; }
  .item-row .unit-select { grid-area: unit; }
  .item-row .row-ctl { grid-area: ctl; justify-content: flex-end; }
}

/* --- Панель сохранения --- */
.savebar {
  position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%);
  z-index: 60;
  display: flex; align-items: center; gap: 14px;
  background: #22262e; color: #eef0f3;
  border-radius: 999px; padding: 10px 12px 10px 20px;
  box-shadow: 0 14px 40px -10px rgba(0, 0, 0, .45);
  max-width: 94vw;
}
.savebar span { font-size: 13.5px; font-weight: 600; white-space: nowrap; }
.savebar .btn-primary { padding: 10px 18px; font-size: 14px; }

/* --- Секции: настройки / история / интеграции --- */
.panel {
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  padding: 22px;
}
.panel h3 { font-size: 16px; font-weight: 800; margin-bottom: 16px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 12.5px; font-weight: 700; color: var(--muted); margin-bottom: 6px; }
.field input {
  width: 100%; padding: 12px 13px;
  font: 600 15px var(--font-body);
  border: 1px solid var(--line); border-radius: 10px; background: #f7f8fa; color: var(--text);
}
.field input:focus { outline: 2px solid rgba(224, 129, 60, .35); border-color: var(--accent); background: #fff; }
.field .hint { font-size: 12px; color: var(--muted); margin-top: 4px; }
.field-row { display: grid; gap: 12px; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }

.history-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.history-table th {
  text-align: left; font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em;
  color: var(--muted); padding: 8px 10px; border-bottom: 1px solid var(--line);
}
.history-table td { padding: 9px 10px; border-bottom: 1px solid #eef0f4; vertical-align: top; }
.history-table tr:last-child td { border-bottom: none; }
.hist-up { color: #2e9e63; font-weight: 700; }
.hist-down { color: #c04040; font-weight: 700; }
.hist-src { color: var(--muted); font-size: 12.5px; }

.api-line {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px;
  margin-bottom: 10px; background: #f7f8fa;
}
.api-line code {
  font: 600 13px ui-monospace, SFMono-Regular, Menlo, monospace;
  word-break: break-all;
}
.api-line .btn-sm { margin-left: auto; }
.instructions { font-size: 13.5px; color: var(--muted); line-height: 1.65; }
.instructions b { color: var(--text); }
.instructions ol, .instructions ul { padding-left: 20px; margin: 8px 0; }
.instructions code {
  background: #eef0f4; padding: 1px 6px; border-radius: 5px;
  font: 600 12.5px ui-monospace, Menlo, monospace;
}
pre.code-block {
  background: #22262e; color: #dfe3ea; border-radius: 12px;
  padding: 14px 16px; overflow-x: auto;
  font: 500 12.5px ui-monospace, Menlo, monospace;
  margin: 10px 0; position: relative;
}


/* ============ Мессенджеры: Telegram / Max / VK ============ */
.btn-tg, .btn-max, .btn-vk {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700;
}
.btn-tg svg, .btn-max svg, .btn-vk svg { width: 17px; height: 17px; }

.btn-max { background: rgba(122, 92, 248, .16); border-color: rgba(122, 92, 248, .5); color: #b6a4ff; }
.btn-max:hover { background: rgba(122, 92, 248, .28); }

.btn-vk { background: rgba(71, 132, 222, .16); border-color: rgba(71, 132, 222, .5); color: #7fb2f0; }
.btn-vk:hover { background: rgba(71, 132, 222, .28); }

.messengers-card .messengers-row {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-top: 10px;
}

/* ============ Плавающая плашка телефона (всегда внизу экрана) ============ */
.call-bar {
  position: fixed;
  left: 50%;
  bottom: max(14px, env(safe-area-inset-bottom, 14px));
  transform: translateX(-50%);
  z-index: 55;
  display: flex;
  align-items: stretch;
  gap: 8px;
  width: min(94vw, 520px);
  padding: 8px;
  border-radius: 18px;
  background: rgba(29, 32, 38, .92);
  border: 1px solid var(--line);
  box-shadow: 0 14px 38px rgba(0, 0, 0, .45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.call-phone {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 12px;
  font-weight: 700;
  font-size: clamp(15px, 4vw, 17px);
}
.call-phone svg { width: 20px; height: 20px; color: var(--accent-2); flex: none; }
.call-phone span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.call-phone:hover { background: rgba(224, 129, 60, .1); }
.call-go {
  flex: none;
  display: flex;
  align-items: center;
  padding: 10px 22px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: var(--accent-ink);
  font-weight: 800;
  font-size: 15px;
}
.call-go:hover { filter: brightness(1.06); }
.call-go:active { transform: scale(.98); }
body { padding-bottom: 96px; }

/* ============ Полный прайс (/full): метки и история ============ */
.p-tag {
  display: inline-block; margin-left: 8px; padding: 2px 8px;
  border-radius: 6px; background: rgba(224, 129, 60, .12);
  color: var(--accent-2); font-size: 12px; font-weight: 600;
  vertical-align: middle; white-space: nowrap;
}
.hist-row {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: baseline;
  padding: 9px 14px; margin-bottom: 6px;
  background: var(--card); border: 1px solid var(--line); border-radius: 10px;
  font-size: 14px;
}
.hist-date { color: var(--muted); font-size: 13px; white-space: nowrap; }
.hist-name { font-weight: 600; }
.hist-price b { color: var(--green); font-size: 15px; }
.hist-arrow { color: var(--accent-2); font-weight: 700; }
.hist-src { color: var(--muted); font-size: 12px; margin-left: auto; }

/* ============ Скачивание прайса (безнал) ============ */
.dl-price {
  display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: baseline;
  justify-content: center; margin: 0 0 26px;
}
.dl-price-link {
  display: inline-block; padding: 10px 18px; border-radius: 12px;
  background: rgba(224, 129, 60, .12); border: 1px solid rgba(224, 129, 60, .35);
  color: var(--accent-2); font-weight: 700; font-size: 15px;
}
.dl-price-link:hover { background: rgba(224, 129, 60, .2); }
.dl-price-note { color: var(--muted); font-size: 13px; }
