/* Kamran Coach — демомагазин. Визуальная система скопирована из эталона:
   public/index.html (лендинг личного ведения): токены --kc-*, фон, шум,
   Unbounded для заголовков, материал поверхностей, .cta-btn, .floating-nav,
   .section-label, .kc-h (номер + подчёркивание), .faq-item, .dock-inner. */

:root {
  --brand-orange: #ff6b00;
  --dark-bg: #020202;
  --surface-1: rgba(255, 255, 255, 0.025);
  --surface-2: rgba(255, 255, 255, 0.04);
  --stroke-soft: rgba(255, 255, 255, 0.08);
  --kc-base: #030201;
  --kc-lift: rgba(255, 244, 236, .045);
  --kc-lift-2: rgba(255, 244, 236, .014);
  --kc-edge: rgba(255, 186, 130, .11);
  --kc-edge-hi: rgba(255, 200, 150, .26);
  --kc-o: #ff6b00;
  --kc-o-hi: #ff9d4d;
  --kc-o-deep: #b84600;
  --kc-shadow: 0 34px 70px -34px rgba(0, 0, 0, .95);
  --kc-ease: cubic-bezier(.16, .84, .28, 1);
  --text: #ffffff;
  --text-2: #d1d5db;
  --text-3: #b3bac6;
  --text-4: #9ca3af;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --display: 'Unbounded', 'Inter', sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html, body { touch-action: pan-y; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: #fff;
  background:
    radial-gradient(1200px 500px at 90% -10%, rgba(255, 107, 0, .10), transparent 55%),
    radial-gradient(1000px 420px at -10% 38%, rgba(255, 107, 0, .06), transparent 58%),
    linear-gradient(180deg, #070707 0%, #020202 22%, #020202 100%);
  background-color: #020202;
  min-height: 100vh;
  overflow-x: hidden;
  overscroll-behavior-y: none;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection { background: rgba(255, 107, 0, .32); color: #fff; }

img { max-width: 100%; display: block; }
a { color: var(--kc-o); }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
:focus-visible { outline: 2px solid var(--kc-o); outline-offset: 3px; border-radius: 6px; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 300; padding: 10px 14px; background: var(--kc-o); color: #fff; border-radius: 10px; font-weight: 700; }
.skip-link:focus { top: 12px; }

/* --- Оболочка и сетка (как .site-shell / .hero-wrap / .page-wrap эталона) --- */
.site-shell { position: relative; z-index: 1; padding-top: max(12px, env(safe-area-inset-top)); }
#header { display: contents; }
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 24px); }
@media (min-width: 1200px) { .container { max-width: 1240px; } }
main { position: relative; z-index: 1; padding-bottom: 72px; }
.page { padding-top: 18px; }
@media (min-width: 768px) { .page { padding-top: 92px; } }

/* --- Типографика --- */
.h1, .hero-title {
  font-family: var(--display);
  font-size: clamp(1.35rem, 6.2vw, 2.75rem);
  line-height: .9;
  font-weight: 900;
  letter-spacing: -.042em;
  text-transform: uppercase;
  color: #fff;
  text-wrap: balance;
}
.h1 .accent, .hero-title .accent { color: var(--kc-o); }
.h2, .section-heading {
  font-family: var(--display);
  font-size: clamp(1.5rem, 4.4vw, 2.4rem);
  line-height: .95;
  font-weight: 900;
  letter-spacing: -.035em;
  text-transform: uppercase;
  color: #fff;
  text-wrap: balance;
}
.h3 { font-size: clamp(1.15rem, 3vw, 1.4rem); line-height: 1.2; font-weight: 900; letter-spacing: -.02em; color: #fff; }
.lead, .hero-subtitle { font-size: clamp(1rem, 2.4vw, 1.18rem); color: #d1d5db; line-height: 1.65; max-width: 54ch; }
.truth-text { font-size: clamp(1.02rem, 2.3vw, 1.16rem); color: var(--text-3); line-height: 1.75; }
.muted { color: var(--text-3); }
.dim { color: rgba(255, 255, 255, .55); }
.small { font-size: .9rem; }
.mono { font-family: var(--font); font-size: 11px; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; }
.accent { color: var(--kc-o); }

/* номер секции + подчёркивающая линия (эталон: .kc-h) */
.kc-h { position: relative; padding-bottom: .38em; }
.kc-h::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: linear-gradient(90deg, var(--kc-o), rgba(255, 107, 0, 0));
  transition: width 1.1s var(--kc-ease) .12s;
}
.kc-in .kc-h::after, .kc-h.kc-in::after { width: min(220px, 38%); }
.numbered { counter-reset: kcsec; }
.numbered > section { counter-increment: kcsec; }
.numbered > section .kc-h::before {
  content: counter(kcsec, decimal-leading-zero);
  display: block; font-family: var(--font); font-size: 11px; font-weight: 700; letter-spacing: .28em; color: var(--kc-o);
  margin-bottom: 14px; opacity: 0; transform: translateY(-6px); transition: opacity .7s var(--kc-ease), transform .7s var(--kc-ease);
}
.numbered > section.kc-in .kc-h::before { opacity: .85; transform: none; }

.section-label {
  display: inline-flex; align-items: center; min-height: 28px; padding: 6px 12px; border-radius: 999px;
  background: rgba(255, 107, 0, .08); border: 1px solid rgba(255, 107, 0, .2); color: var(--kc-o);
  font-size: .78rem; font-weight: 700; letter-spacing: .04em; margin-bottom: 18px;
}

/* --- Материал поверхностей (эталон: карточки, faq, док) --- */
.kc-surface, .card, .card-soft, .product-card, .lib-card, .cart-line, .meal, .ex, .step, details.acc, .price-box, .filters, .empty, .scenario-panel, .upsell, .change-panel, .demo-tools, .dock-inner, .toast, .product-buy {
  background:
    radial-gradient(130% 100% at 100% 100%, rgba(255, 107, 0, .06), transparent 58%),
    linear-gradient(180deg, var(--kc-lift), var(--kc-lift-2) 44%, rgba(255, 244, 236, .006));
  border: 1px solid var(--kc-edge);
  box-shadow: inset 0 1px 0 rgba(255, 224, 200, .10), inset 0 -1px 0 rgba(0, 0, 0, .5), var(--kc-shadow);
}
.card { border-radius: 20px; padding: 26px; }
.card-soft { border-radius: 16px; padding: 18px; }
.step, .ex, .meal { border-radius: 16px; padding: 18px 20px; }
.hoverable:hover, .product-card:hover, .lib-card:hover, .step:hover {
  border-color: var(--kc-edge-hi);
  box-shadow: inset 0 1px 0 rgba(255, 224, 200, .16), inset 0 -1px 0 rgba(0, 0, 0, .5), 0 40px 80px -34px rgba(0, 0, 0, .95), 0 0 0 1px rgba(255, 107, 0, .10), 0 0 60px -18px rgba(255, 107, 0, .35);
}

/* сцены-контейнеры секций (эталон .scene-*) */
.scene {
  background: linear-gradient(180deg, rgba(255, 255, 255, .012) 0%, rgba(255, 255, 255, .006) 100%);
  border: 1px solid rgba(255, 255, 255, .05);
  border-radius: 20px;
  padding: clamp(16px, 1.8vw, 22px);
}
.section { padding: 28px 0; }
@media (min-width: 768px) { .section { padding: 40px 0; } }
.section-head { display: grid; gap: 14px; margin-bottom: 24px; }
.section-head p { max-width: 70ch; }
@media (min-width: 900px) { .section-head { grid-template-columns: minmax(0, 1fr) minmax(0, 420px); align-items: end; gap: 24px 40px; } }

/* --- Навигация: плавающая пилюля (эталон .floating-nav) + мобильная планка --- */
.floating-nav {
  position: fixed; top: max(10px, env(safe-area-inset-top)); left: 50%; transform: translateX(-50%);
  width: min(1120px, calc(100% - 24px)); border-radius: 999px; z-index: 130;
  display: none; align-items: center; gap: 8px; padding: 8px 10px 8px 16px;
  border: 1px solid var(--kc-edge); background: rgba(8, 5, 3, .72);
  -webkit-backdrop-filter: blur(20px) saturate(150%); backdrop-filter: blur(20px) saturate(150%);
  box-shadow: inset 0 1px 0 rgba(255, 224, 200, .09), 0 20px 44px -22px rgba(0, 0, 0, .95);
}
.floating-nav-logo { display: inline-flex; align-items: center; width: 118px; flex: 0 0 auto; }
.floating-nav-logo img { display: block; width: 100%; height: auto; }
.floating-nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.floating-nav-links a {
  position: relative; text-decoration: none; color: #cbd5e1; font-size: .82rem; font-weight: 600; padding: 8px 12px; border-radius: 999px; white-space: nowrap;
  transition: color .2s ease, background .2s ease;
}
.floating-nav-links a::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 1px; background: var(--kc-o); transform: scaleX(0); transform-origin: center; transition: transform .4s var(--kc-ease); }
.floating-nav-links a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.floating-nav-links a:hover::after, .floating-nav-links a.active::after { transform: scaleX(1); }
.floating-nav-links a.active { color: #fff; }
.floating-nav-demo { display: inline-flex; align-items: center; gap: 6px; margin-left: 6px; padding: 6px 10px; border-radius: 999px; border: 1px solid rgba(255, 107, 0, .2); background: rgba(255, 107, 0, .08); color: var(--kc-o); font-size: 10px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; white-space: nowrap; }
.floating-nav-cta {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: #fff; font-size: .82rem; font-weight: 800; letter-spacing: .02em; padding: 9px 16px; border-radius: 999px; white-space: nowrap;
  background: linear-gradient(160deg, #ff7a1a 0%, #ff6b00 60%, #db5600 100%); box-shadow: 0 6px 18px rgba(255, 107, 0, .35);
  transition: transform .2s ease, box-shadow .2s ease;
}
.floating-nav-cta:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(255, 107, 0, .45); }
.floating-nav-cta:active { transform: scale(.97); }
.floating-nav-cta .count { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: rgba(0, 0, 0, .28); display: inline-flex; align-items: center; justify-content: center; font-size: .76rem; }
.currency-toggle { display: inline-flex; padding: 3px; border-radius: 999px; border: 1px solid var(--kc-edge-hi); background: rgba(255, 244, 236, .04); }
.currency-toggle button { border: 0; background: transparent; color: #cbd5e1; font-weight: 700; font-size: .78rem; min-height: 30px; min-width: 44px; padding: 0 10px; border-radius: 999px; transition: color .2s ease, background .2s ease; }
.currency-toggle button[aria-pressed="true"] { background: rgba(255, 107, 0, .18); color: #fff; }
.currency-toggle button:hover { color: #fff; }

.mobile-nav { position: sticky; top: max(8px, env(safe-area-inset-top)); z-index: 120; display: block; padding: 0 clamp(16px, 6vw, 24px); margin-bottom: 8px; }
.mobile-nav-inner { position: relative; isolation: isolate; display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 52px; }
.mobile-nav-inner::before {
  content: ''; position: absolute; z-index: -1; inset: -4px -8px; border-radius: 18px; border: 1px solid var(--kc-edge);
  background: rgba(10, 12, 16, .62); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 16px 44px rgba(0, 0, 0, .34);
  -webkit-backdrop-filter: blur(24px) saturate(140%); backdrop-filter: blur(24px) saturate(140%);
}
.mobile-nav-logo { display: block; width: 104px; height: auto; opacity: .95; }
.mobile-nav-actions { display: flex; align-items: center; gap: 6px; position: relative; }
.mobile-nav-pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--kc-edge); background: rgba(18, 20, 24, .5); color: #f3f4f6;
  font: 700 13px/1 var(--font); text-decoration: none; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
  transition: transform .18s var(--kc-ease), border-color .24s ease, background .24s ease;
}
.mobile-nav-pill:active { transform: scale(.97); }
.mobile-nav-pill .count { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--kc-o); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: .74rem; font-weight: 800; }
.mobile-nav-pill .count.zero { background: rgba(255, 255, 255, .14); color: #cbd5e1; }
.mobile-nav-pill[aria-expanded="true"] { border-color: rgba(255, 255, 255, .26); background: rgba(24, 26, 31, .7); }
.mobile-nav-icon { position: relative; display: block; width: 16px; height: 12px; }
.mobile-nav-icon::before, .mobile-nav-icon::after, .mobile-nav-icon span { content: ''; position: absolute; left: 0; width: 16px; height: 1.5px; background: currentColor; border-radius: 2px; }
.mobile-nav-icon::before { top: 0; } .mobile-nav-icon span { top: 5px; } .mobile-nav-icon::after { bottom: 0; }
.mobile-nav-menu {
  position: absolute; right: 0; top: calc(100% + 10px); min-width: 240px; padding: 8px; border-radius: 18px; border: 1px solid var(--kc-edge);
  background: rgba(10, 8, 6, .97); box-shadow: 0 24px 60px rgba(0, 0, 0, .7); display: none; z-index: 5;
}
.mobile-nav-menu[data-open="true"] { display: grid; gap: 2px; }
.mobile-nav-menu a { display: flex; align-items: center; justify-content: space-between; min-height: 46px; padding: 0 14px; border-radius: 12px; color: #e5e7eb; text-decoration: none; font-weight: 600; font-size: .95rem; }
.mobile-nav-menu a:hover, .mobile-nav-menu a.active { background: rgba(255, 107, 0, .12); color: #fff; }
.mobile-nav-menu .currency-toggle { margin: 6px 6px 2px; justify-content: center; }
.mobile-demo-note { display: block; text-align: center; color: var(--kc-o); font-size: 10px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; opacity: .85; padding: 8px 0 2px; }
@media (min-width: 768px) {
  .floating-nav { display: flex; }
  .mobile-nav { display: none; }
}

/* --- Кнопки (эталон .cta-btn и .program-secondary-btn) --- */
.btn {
  position: relative; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 22px; border-radius: 14px; border: 1px solid var(--kc-edge-hi); text-decoration: none; color: #fff;
  font-weight: 800; font-size: .98rem; letter-spacing: .01em; text-align: center; white-space: nowrap; overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 244, 236, .06), rgba(255, 244, 236, .02));
  transition: transform .3s var(--kc-ease), border-color .3s ease, background .3s ease, box-shadow .35s ease, opacity .2s ease;
}
.btn:hover { transform: translateY(-2px); border-color: rgba(255, 140, 60, .5); background: linear-gradient(180deg, rgba(255, 107, 0, .12), rgba(255, 107, 0, .04)); }
.btn:active { transform: translateY(0) scale(.985); }
.btn-primary, .cta-btn {
  min-height: 58px; border-radius: 16px; border: none; text-transform: uppercase; letter-spacing: .03em;
  background: linear-gradient(160deg, #ff8a2b, #ff6b00 46%, #d95400);
  box-shadow: inset 0 1px 0 rgba(255, 226, 196, .5), inset 0 -2px 0 rgba(120, 40, 0, .45), 0 10px 30px -10px rgba(255, 107, 0, .65), 0 0 0 1px rgba(255, 140, 60, .3);
  text-shadow: 0 1px 3px rgba(0, 0, 0, .35);
}
.btn-primary::before, .cta-btn::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 46%; background: linear-gradient(180deg, rgba(255, 255, 255, .18) 0%, rgba(255, 255, 255, .04) 100%); pointer-events: none; }
.btn-primary::after, .cta-btn::after { content: ''; position: absolute; top: 0; left: -75%; width: 50%; height: 100%; background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, .22) 50%, transparent 60%); pointer-events: none; animation: glint 4s ease-in-out infinite; }
@keyframes glint { 0% { left: -75%; } 40% { left: 125%; } 100% { left: 125%; } }
.btn-primary:hover, .cta-btn:hover {
  transform: translateY(-2px) scale(1.02); filter: saturate(1.08) brightness(1.04); background: linear-gradient(160deg, #ff8a2b, #ff6b00 46%, #d95400);
  box-shadow: inset 0 1px 0 rgba(255, 226, 196, .6), inset 0 -2px 0 rgba(120, 40, 0, .45), 0 18px 46px -12px rgba(255, 107, 0, .8), 0 0 0 1px rgba(255, 160, 90, .45), 0 0 80px -20px rgba(255, 107, 0, .7);
}
.btn-primary:active, .cta-btn:active { transform: translateY(0) scale(.985); }
.btn-primary .btn-label, .cta-btn span { position: relative; z-index: 1; }
.btn-ghost { background: transparent; border-color: transparent; color: var(--text-2); }
.btn-ghost:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.btn-link { background: none; border: 0; padding: 0; min-height: 44px; color: var(--kc-o); font-weight: 800; text-decoration: none; border-bottom: 1px solid rgba(255, 107, 0, .55); border-radius: 0; line-height: 1.2; display: inline-flex; align-items: center; }
.btn-link:hover { color: #fff; border-bottom-color: var(--kc-o); }
.btn-danger { color: #ffd6bf; border-color: rgba(255, 107, 0, .35); }
.btn-block { width: 100%; }
.btn-sm { min-height: 44px; padding: 0 16px; font-size: .9rem; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; transform: none !important; filter: none; box-shadow: none; }
.btn.is-loading { pointer-events: none; }
.btn.is-loading .btn-label { visibility: hidden; }
.btn.is-loading::before { content: ''; position: absolute; width: 20px; height: 20px; border-radius: 50%; left: calc(50% - 10px); top: calc(50% - 10px); border: 3px solid rgba(255, 255, 255, .35); border-top-color: #fff; animation: spin .8s linear infinite; background: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
@media (max-width: 520px) { .btn { white-space: normal; line-height: 1.2; padding-top: 10px; padding-bottom: 10px; max-width: 100%; } }

.cta-subtext { text-align: center; color: #9ca3af; font-size: .85rem; margin-top: 12px; font-weight: 500; }

/* --- Чипы и переключатели (эталон .icon-chip) --- */
.chip, .icon-chip {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 16px; border-radius: 999px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08); color: var(--kc-o); font-size: .9rem; font-weight: 600; white-space: nowrap;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.chip:hover { background: rgba(255, 107, 0, .08); border-color: rgba(255, 107, 0, .2); }
.chip[aria-pressed="true"] { background: rgba(255, 107, 0, .16); border-color: rgba(255, 107, 0, .55); color: #fff; }
.chip[aria-pressed="true"]::before { content: '✓'; font-size: .85rem; color: var(--kc-o); }
.filter-group { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.filter-label { font-size: .85rem; color: var(--text-3); margin-right: 4px; min-width: 100%; }
@media (min-width: 768px) { .filter-label { min-width: 0; } }
.filters { display: grid; gap: 14px; padding: 18px; border-radius: 20px; margin-bottom: 20px; }
.filters-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.result-count { font-weight: 700; color: var(--text-2); }
.tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; border: 1px solid var(--kc-edge-hi); background: rgba(255, 244, 236, .04); margin-bottom: 20px; }
.tabs a, .tabs button { min-height: 44px; padding: 0 18px; border-radius: 999px; text-decoration: none; color: var(--text-2); font-weight: 700; display: inline-flex; align-items: center; border: 0; background: transparent; transition: background .2s ease, color .2s ease; }
.tabs a.active, .tabs button[aria-selected="true"] { background: rgba(255, 107, 0, .2); color: #fff; }

.options { display: flex; flex-wrap: wrap; gap: 8px; }
.opt {
  min-height: 50px; min-width: 64px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--kc-edge-hi);
  background: linear-gradient(180deg, rgba(255, 244, 236, .06), rgba(255, 244, 236, .02)); color: #e5e7eb; font-weight: 800; line-height: 1.15;
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .3s var(--kc-ease);
}
.opt small { font-size: .74rem; color: var(--text-4); font-weight: 600; }
.opt:hover { border-color: rgba(255, 140, 60, .5); background: linear-gradient(180deg, rgba(255, 107, 0, .12), rgba(255, 107, 0, .04)); color: #fff; }
.opt[aria-pressed="true"] { background: linear-gradient(180deg, rgba(255, 107, 0, .22), rgba(255, 107, 0, .08)); border-color: var(--kc-o); color: #fff; box-shadow: 0 0 0 1px rgba(255, 107, 0, .35) inset, 0 0 30px -10px rgba(255, 107, 0, .6); }
.opt[aria-pressed="true"] small { color: #ffb27a; }
.opt[data-unavailable="true"] { opacity: .42; text-decoration: line-through; cursor: not-allowed; }
.opt[data-unavailable="true"]:hover { transform: none; }

/* --- Герой (эталон .hero-*) --- */
.hero { padding: 6px 0 12px; }
@media (min-width: 768px) { .hero { padding: 10px 0 20px; } }
.hero-grid { display: flex; flex-direction: column; gap: 28px; }
@media (min-width: 1024px) {
  .hero-grid { display: grid; grid-template-columns: minmax(0, 600px) minmax(0, 460px); gap: 56px; align-items: center; justify-content: space-between; }
  .hero-copy { max-width: 600px; }
  .hero-photo-col { justify-self: end; width: 100%; max-width: 460px; }
}
.hero-copy { display: grid; gap: 18px; }
.trust-pills { display: flex; flex-direction: column; gap: 10px; max-width: 520px; }
.trust-pill { background: rgba(255, 255, 255, .04); border-left: 3px solid var(--kc-o); padding: 10px 12px; border-radius: 0 10px 10px 0; color: #e5e7eb; font-size: .94rem; line-height: 1.45; font-weight: 500; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; }
.hero-photo {
  aspect-ratio: 4 / 5; min-height: clamp(280px, 55vw, 420px); border-radius: 22px; overflow: hidden; position: relative;
  background: radial-gradient(circle at 70% 20%, rgba(255, 107, 0, .10), transparent 35%), linear-gradient(180deg, rgba(255, 255, 255, .03) 0%, rgba(255, 255, 255, 0) 100%);
  border: 1px solid rgba(255, 255, 255, .06);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.hero-photo::after { content: ''; position: absolute; inset: 0; box-shadow: inset 0 0 70px rgba(2, 2, 2, .72); pointer-events: none; }

/* --- Карточки товаров --- */
.grid { display: grid; gap: 16px; }
.grid-3, .grid-2 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-3, .grid-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.product-card { display: flex; flex-direction: column; overflow: hidden; border-radius: 20px; transition: transform .55s var(--kc-ease), border-color .4s ease, box-shadow .5s ease; }
.product-card:hover { transform: translateY(-4px); }
.product-card .cover { aspect-ratio: 3 / 2; background: #0b0b0b; position: relative; overflow: hidden; display: block; }
.product-card .cover img { width: 100%; height: 100%; object-fit: cover; }
.product-card .cover .tag { position: absolute; left: 14px; top: 14px; }
.product-card .body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.product-card .title { font-size: 1.3rem; font-weight: 900; letter-spacing: -.02em; line-height: 1.2; }
.product-card .meta { display: grid; gap: 6px; font-size: .95rem; color: var(--text-2); margin-top: 4px; }
.product-card .meta li { position: relative; padding-left: 20px; }
.product-card .meta li::before { content: '—'; position: absolute; left: 0; color: var(--kc-o); font-weight: 700; }
.product-card .price-row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 12px; }
.product-card .price { font-size: 1.55rem; font-weight: 900; color: var(--kc-o); text-shadow: 0 0 34px rgba(255, 107, 0, .5); letter-spacing: -.02em; }
.product-card .price small { font-size: .85rem; color: var(--text-3); font-weight: 600; margin-right: 6px; text-shadow: none; }
.tag { display: inline-flex; align-items: center; min-height: 28px; padding: 4px 11px; border-radius: 999px; background: rgba(8, 5, 3, .8); border: 1px solid rgba(255, 107, 0, .35); color: #ffb27a; font-size: .74rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }

/* --- Страница товара --- */
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: .88rem; color: rgba(255, 255, 255, .5); margin-bottom: 16px; }
.breadcrumbs a { color: var(--text-3); text-decoration: none; }
.breadcrumbs a:hover { color: #fff; }
.breadcrumbs .sep { opacity: .6; }
.product-layout { display: grid; gap: 24px; }
@media (min-width: 900px) {
  .product-layout { grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr); gap: 40px; align-items: start; }
  .product-buy { position: sticky; top: 92px; }
}
.product-media { border-radius: 22px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .06); background: #0b0b0b; aspect-ratio: 3 / 2; position: relative; }
.product-media img { width: 100%; height: 100%; object-fit: cover; }
.product-media::after { content: ''; position: absolute; inset: 0; box-shadow: inset 0 0 60px rgba(2, 2, 2, .55); pointer-events: none; }
.product-buy { display: grid; gap: 18px; border-radius: 20px; padding: 22px; }
.option-block { display: grid; gap: 10px; }
.option-block .label { font-weight: 800; display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.option-block .label .hint { font-size: .85rem; color: var(--text-4); font-weight: 500; }
.price-box { display: grid; gap: 6px; padding: 18px 20px; border-radius: 16px; border-color: rgba(255, 140, 60, .30) !important; background: radial-gradient(130% 120% at 0% 0%, rgba(255, 107, 0, .20), transparent 62%), linear-gradient(180deg, rgba(255, 107, 0, .10), rgba(255, 107, 0, .03)) !important; }
.price-box .big { font-size: 2.1rem; font-weight: 900; line-height: 1; letter-spacing: -.03em; text-shadow: 0 0 34px rgba(255, 107, 0, .5); }
.price-box .line { color: var(--text-2); font-size: .95rem; }
.notice { display: flex; gap: 10px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--kc-edge-hi); background: rgba(255, 244, 236, .04); color: var(--text-2); font-size: .95rem; line-height: 1.5; }
.notice strong { color: #fff; }
.notice-info { border-color: rgba(255, 107, 0, .3); background: rgba(255, 107, 0, .07); }
.notice-warn { border-color: rgba(255, 107, 0, .45); background: rgba(255, 107, 0, .10); }
.notice-err { border-color: rgba(255, 107, 0, .6); background: rgba(255, 107, 0, .14); }
.notice-ok { border-color: rgba(255, 200, 150, .35); background: rgba(255, 244, 236, .06); }
.notice .ico { flex: 0 0 auto; font-weight: 900; color: var(--kc-o); }

.check-list, .custom-list { display: grid; gap: 10px; }
.check-list li, .custom-list li { position: relative; padding-left: 24px; color: var(--text-2); }
.check-list li::before, .custom-list li::before { content: '—'; position: absolute; left: 0; color: var(--kc-o); font-weight: 700; }
.equip-list { display: grid; gap: 8px; }
.equip-list li { display: grid; gap: 2px; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .03); border-left: 3px solid var(--kc-o); }
.equip-list li strong { font-size: .98rem; }
.equip-list li span { font-size: .88rem; color: var(--text-3); }

/* --- Док (эталон .dock-container / .dock-inner) — мобильная панель покупки --- */
.sticky-buy, .dock-container {
  position: fixed; bottom: max(12px, env(safe-area-inset-bottom)); left: 0; right: 0; z-index: 110; display: flex; justify-content: center;
  padding-left: max(12px, env(safe-area-inset-left)); padding-right: max(12px, env(safe-area-inset-right)); pointer-events: none;
}
.sticky-buy .dock-inner { pointer-events: auto; width: 100%; max-width: 520px; padding: 12px; border-radius: 22px; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px 12px; -webkit-backdrop-filter: blur(26px) saturate(150%); backdrop-filter: blur(26px) saturate(150%); background: rgba(8, 5, 3, .84) !important; border-color: rgba(255, 107, 0, .18) !important; }
.sticky-buy .sb-price { display: grid; line-height: 1.2; padding-left: 6px; }
.sticky-buy .sb-price strong { font-size: 1.25rem; color: #fff; }
.sticky-buy .sb-price span { font-size: .78rem; color: var(--text-3); }
.sticky-buy .btn { min-width: 150px; }
body.has-sticky-buy main { padding-bottom: calc(110px + env(safe-area-inset-bottom, 0px)); }
@media (min-width: 900px) { .sticky-buy { display: none; } body.has-sticky-buy main { padding-bottom: 72px; } }

/* --- Аккордеон / FAQ (эталон .faq-item) --- */
details.acc { border-radius: 14px; overflow: hidden; transition: border-color .4s ease, box-shadow .5s ease; }
details.acc + details.acc { margin-top: 12px; }
details.acc[open] { border-color: rgba(255, 140, 60, .38); box-shadow: inset 0 1px 0 rgba(255, 224, 200, .14), 0 0 0 1px rgba(255, 107, 0, .14), 0 30px 60px -30px rgba(0, 0, 0, .95), 0 0 70px -26px rgba(255, 107, 0, .4); }
details.acc summary { list-style: none; cursor: pointer; padding: 18px 22px; font-weight: 600; font-size: 1.02rem; color: #fff; display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 48px; }
details.acc summary::-webkit-details-marker { display: none; }
details.acc summary::after {
  content: ''; flex: 0 0 20px; width: 20px; height: 20px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff6b00' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center / 20px no-repeat;
  transition: transform .45s var(--kc-ease);
}
details.acc[open] summary::after { transform: rotate(180deg); }
details.acc .acc-body { padding: 0 22px 20px; color: var(--text-2); line-height: 1.7; }
.faq-grid { display: grid; gap: 12px; }
@media (min-width: 768px) { .faq-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } .faq-grid details.acc + details.acc { margin-top: 0; } .faq-grid details.acc { height: 100%; } }

/* --- Просмотр тренировки --- */
.week-plan { display: grid; gap: 8px; }
.week-plan li { display: grid; grid-template-columns: minmax(96px, 110px) 1fr; gap: 10px; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .03); border: 1px solid var(--stroke-soft); }
.week-plan .day { color: var(--kc-o); font-weight: 700; }
.ex-list { display: grid; gap: 10px; }
.ex { display: grid; gap: 6px; min-width: 0; overflow-wrap: anywhere; }
.ex .ex-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 12px; align-items: baseline; min-width: 0; }
.ex .ex-name { font-weight: 800; font-size: 1.02rem; }
.ex .ex-scheme { color: var(--kc-o); font-weight: 700; }
.ex .ex-muscles { color: var(--text-4); font-size: .85rem; }
.ex .ex-text { color: var(--text-2); font-size: .95rem; line-height: 1.6; }
.ex .ex-text strong { color: #fff; }
.ex.done { border-color: rgba(255, 140, 60, .45); }
.ex.done .ex-name::after { content: ' · выполнено'; color: var(--kc-o); font-weight: 700; font-size: .85rem; }
.viewer-head { display: grid; gap: 12px; margin-bottom: 20px; }
.week-nav { display: flex; gap: 6px; overflow-x: auto; padding: 4px 0 8px; scrollbar-width: thin; }
.week-nav button, .day-nav button { flex: 0 0 auto; min-width: 48px; min-height: 44px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--kc-edge-hi); background: linear-gradient(180deg, rgba(255, 244, 236, .06), rgba(255, 244, 236, .02)); color: #e5e7eb; font-weight: 700; transition: background .2s ease, border-color .2s ease, color .2s ease; }
.week-nav button[aria-pressed="true"], .day-nav button[aria-pressed="true"] { background: linear-gradient(180deg, rgba(255, 107, 0, .22), rgba(255, 107, 0, .08)); border-color: var(--kc-o); color: #fff; }
.week-nav button.done::after, .day-nav button.done::after { content: ' ✓'; color: var(--kc-o); }
.day-nav { display: flex; flex-wrap: wrap; gap: 6px; }
.day-nav button { min-width: 0; display: grid; text-align: left; line-height: 1.2; gap: 1px; padding: 6px 12px; }
.day-nav button small { font-size: .74rem; color: var(--text-4); font-weight: 600; }
.day-nav button[aria-pressed="true"] small { color: #ffb27a; }
.set-grid { display: grid; gap: 6px; margin-top: 4px; max-width: 560px; }
.set-row { display: grid; grid-template-columns: 56px 1fr 1fr 44px; gap: 8px; align-items: center; }
.set-row.no-weight { grid-template-columns: 56px 1fr 44px; }
.set-row .set-n { color: var(--text-4); font-size: .85rem; font-weight: 700; }
.set-row input[type="number"] { width: 100%; min-height: 44px; padding: 6px 10px; border-radius: 10px; border: 1px solid var(--kc-edge-hi); background: rgba(255, 244, 236, .04); color: #fff; font-size: 16px; }
.set-row input[type="number"]:focus { border-color: var(--kc-o); outline: none; }
.check { width: 44px; height: 44px; border-radius: 10px; border: 2px solid rgba(255, 200, 150, .3); background: rgba(255, 244, 236, .03); color: transparent; font-weight: 900; font-size: 1.1rem; display: inline-flex; align-items: center; justify-content: center; transition: background .2s ease, border-color .2s ease, color .2s ease; }
.check[aria-pressed="true"] { background: rgba(255, 107, 0, .22); border-color: var(--kc-o); color: #fff; }

/* --- Просмотр питания --- */
.meal { display: grid; gap: 10px; min-width: 0; overflow-wrap: anywhere; }
.meal .meal-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 12px; align-items: baseline; }
.meal .meal-title { font-weight: 900; font-size: 1.1rem; }
.meal .meal-role { color: var(--text-4); font-size: .88rem; }
.meal .macro { color: var(--kc-o); font-weight: 700; font-size: .9rem; }
.ing { display: grid; gap: 6px; }
.ing li { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--stroke-soft); }
.ing li:last-child { border-bottom: 0; }
.ing .ing-name { font-weight: 600; flex: 1 1 auto; min-width: 0; }
.ing .ing-note { color: var(--text-4); font-size: .85rem; display: block; font-weight: 400; }
.ing .ing-amt { font-weight: 800; text-align: right; flex: 0 0 auto; max-width: 48%; overflow-wrap: normal; }
.swap-list { display: grid; gap: 6px; font-size: .92rem; color: var(--text-2); }
.swap-list li { padding: 8px 10px; border-radius: 10px; background: rgba(255, 255, 255, .03); }
.swap-list .arrow { color: var(--kc-o); }
.shop-group { margin-bottom: 14px; }
.shop-group h4 { font-size: .95rem; color: var(--kc-o); margin-bottom: 6px; }
.shop-item { display: flex; gap: 10px; align-items: center; padding: 6px 0; border-bottom: 1px solid var(--stroke-soft); cursor: pointer; }
.shop-item .check { flex: 0 0 44px; }
.shop-item:last-child { border-bottom: 0; }
.shop-item .name { font-weight: 600; flex: 1 1 auto; min-width: 0; }
.shop-item .note { display: block; font-size: .84rem; color: var(--text-4); font-weight: 400; }
.shop-item .amt { font-weight: 700; text-align: right; flex: 0 0 auto; max-width: 42%; overflow-wrap: normal; }
.shop-item.checked .name { text-decoration: line-through; color: var(--text-4); }

/* --- Корзина --- */
.cart-layout { display: grid; gap: 20px; }
@media (min-width: 900px) { .cart-layout { grid-template-columns: minmax(0, 1fr) 380px; align-items: start; } .cart-summary { position: sticky; top: 92px; } }
.cart-lines { display: grid; gap: 12px; }
.cart-line { display: grid; grid-template-columns: 96px 1fr; gap: 14px; padding: 16px; border-radius: 18px; }
.cart-line .thumb { width: 96px; aspect-ratio: 3 / 2; border-radius: 10px; overflow: hidden; background: #0b0b0b; }
.cart-line .thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-line .cl-body { display: grid; gap: 6px; min-width: 0; overflow-wrap: anywhere; }
.cart-line .cl-title { font-weight: 900; font-size: 1.08rem; }
.cart-line .cl-params { color: var(--text-3); font-size: .92rem; }
.cart-line .cl-price { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: baseline; }
.cart-line .cl-price .was { color: var(--text-4); text-decoration: line-through; font-size: .9rem; }
.cart-line .cl-price .now { font-weight: 900; font-size: 1.15rem; color: var(--kc-o); text-shadow: 0 0 34px rgba(255, 107, 0, .5); }
.cart-line .cl-actions { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 4px; }
.cart-line .cl-actions button { min-height: 40px; }
.cart-line .bundle-tag { color: #ffb27a; font-size: .85rem; font-weight: 700; }
@media (min-width: 640px) { .cart-line { grid-template-columns: 144px 1fr; } .cart-line .thumb { width: 144px; } }
.summary-rows { display: grid; gap: 10px; }
.summary-rows .row { display: flex; justify-content: space-between; gap: 12px; color: var(--text-2); }
.summary-rows .row.total { border-top: 1px solid var(--kc-edge-hi); padding-top: 12px; margin-top: 4px; font-size: 1.2rem; font-weight: 900; color: #fff; }
.summary-rows .row .neg { color: var(--kc-o); }
.upsell { display: grid; gap: 10px; padding: 18px 20px; border-radius: 18px; border-color: rgba(255, 140, 60, .30) !important; background: radial-gradient(130% 120% at 0% 0%, rgba(255, 107, 0, .20), transparent 62%), linear-gradient(180deg, rgba(255, 107, 0, .10), rgba(255, 107, 0, .03)) !important; }
.change-panel { display: grid; gap: 10px; padding: 12px; border-radius: 12px; border-style: dashed !important; }

/* --- Формы --- */
.field { display: grid; gap: 6px; }
.field label { font-weight: 800; }
.field .help { font-size: .88rem; color: var(--text-4); }
.field input[type="email"], .field input[type="text"], .field input[type="number"], .field select {
  width: 100%; min-height: 50px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--kc-edge-hi); background: rgba(255, 244, 236, .04); color: #fff; font-size: 16px;
  transition: border-color .2s ease, background .2s ease;
}
.field input:focus { border-color: var(--kc-o); outline: none; box-shadow: 0 0 0 3px rgba(255, 107, 0, .25); }
.field input[aria-invalid="true"] { border-color: var(--kc-o); box-shadow: 0 0 0 3px rgba(255, 107, 0, .18); }
.field .error[hidden] { display: none; }
.field .error { color: #ffd6bf; font-size: .9rem; display: flex; gap: 6px; align-items: flex-start; }
.field .error::before { content: '!'; display: inline-flex; width: 18px; height: 18px; border-radius: 50%; background: var(--kc-o); color: #111; font-weight: 900; align-items: center; justify-content: center; font-size: .75rem; flex: 0 0 auto; margin-top: 3px; }
.scenario-panel { display: grid; gap: 10px; padding: 16px; border-radius: 16px; border-style: dashed !important; }
.scenario-panel .opt { min-width: 0; padding: 0 12px; }
.status-pill { display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding: 3px 12px; border-radius: 999px; font-size: .82rem; font-weight: 800; border: 1px solid; }
.status-pill::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 14px currentColor; }
.status-active, .status-paid { color: var(--kc-o); border-color: rgba(255, 107, 0, .45); background: rgba(255, 107, 0, .08); }
.status-expired, .status-failed { color: #ffd6bf; border-color: rgba(255, 107, 0, .3); background: rgba(255, 107, 0, .04); }
.status-pending { color: #ffb27a; border-color: rgba(255, 178, 122, .45); background: rgba(255, 107, 0, .06); }
.status-cancelled { color: var(--text-3); border-color: var(--kc-edge-hi); background: rgba(255, 244, 236, .04); }

/* --- Библиотека --- */
.lib-card { display: grid; gap: 10px; padding: 20px 22px; border-radius: 18px; transition: transform .55s var(--kc-ease), border-color .4s ease, box-shadow .5s ease; }
.lib-card .lc-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 12px; align-items: center; }
.lib-card .lc-title { font-weight: 900; font-size: 1.12rem; }
.lib-card .lc-meta { color: var(--text-3); font-size: .92rem; display: grid; gap: 3px; }
.progress-bar { height: 8px; border-radius: 999px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.progress-bar span { display: block; height: 100%; background: linear-gradient(90deg, #ff8a2b, #ff6b00); border-radius: 999px; box-shadow: 0 0 14px rgba(255, 107, 0, .6); }

/* --- Шаги, подвал, состояния --- */
.steps { counter-reset: step; }
.step { display: grid; gap: 8px; border-left: 3px solid var(--kc-o); }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); font-family: var(--font); font-size: 11px; color: var(--kc-o); font-weight: 700; letter-spacing: .28em; }
.step strong { font-size: 1.15rem; font-weight: 900; }
.step p { color: var(--text-2); font-size: .98rem; line-height: 1.65; }
.site-footer { position: relative; z-index: 1; padding: 40px 0 calc(28px + env(safe-area-inset-bottom, 0px)); color: rgba(255, 255, 255, .55); font-size: .9rem; text-align: center; }
.site-footer .container { display: grid; gap: 14px; justify-items: center; }
.site-footer img { height: 28px; width: auto; opacity: .9; }
.site-footer .footer-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.site-footer .footer-links a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--kc-edge); color: #d1d5db; text-decoration: none; font-weight: 600; transition: transform .35s var(--kc-ease), border-color .3s ease, background .3s ease, color .3s ease; }
.site-footer .footer-links a:hover { transform: translateY(-3px); border-color: rgba(255, 140, 60, .5); background: rgba(255, 107, 0, .12); color: #fff; }
.site-footer .line { width: min(220px, 40%); height: 2px; background: linear-gradient(90deg, rgba(255, 107, 0, 0), var(--kc-o), rgba(255, 107, 0, 0)); }

.empty { display: grid; gap: 14px; justify-items: start; padding: 32px 26px; border-radius: 20px; }
.skeleton { position: relative; overflow: hidden; background: rgba(255, 244, 236, .05); border-radius: 14px; min-height: 20px; }
.skeleton::after { content: ''; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .08), transparent); animation: shimmer 1.4s infinite; }
@keyframes shimmer { to { transform: translateX(100%); } }
.loading-block { display: grid; gap: 12px; }
.loading-block .skeleton { min-height: 120px; }
.loading-text { color: var(--text-3); display: flex; align-items: center; gap: 10px; }
.loading-text::before { content: ''; width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .3); border-top-color: var(--kc-o); animation: spin .8s linear infinite; }
.toasts { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 200; display: grid; gap: 8px; width: min(420px, calc(100% - 32px)); pointer-events: none; }
body.has-sticky-buy .toasts { bottom: calc(110px + env(safe-area-inset-bottom, 0px)); }
@media (min-width: 900px) { body.has-sticky-buy .toasts { bottom: calc(20px + env(safe-area-inset-bottom, 0px)); } }
.toast { padding: 12px 16px; border-radius: 14px; color: #fff; font-weight: 600; opacity: 0; transform: translateY(12px); transition: opacity .25s ease, transform .25s ease; background: rgba(12, 8, 6, .96) !important; border-color: rgba(255, 140, 60, .4) !important; }
.toast.show { opacity: 1; transform: translateY(0); }
.kv { display: grid; gap: 8px; }
.kv li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--stroke-soft); color: var(--text-2); }
.kv li > span:first-child { flex: 1 1 auto; min-width: 0; }
.kv li:last-child { border-bottom: 0; }
.kv li strong { color: #fff; text-align: right; flex: 0 0 auto; max-width: 48%; overflow-wrap: normal; }
.inline-list { display: flex; flex-wrap: wrap; gap: 6px 14px; color: var(--text-3); font-size: .92rem; }
.demo-tools { margin-top: 24px; padding: 16px 18px; border-radius: 16px; border-style: dashed !important; color: var(--text-3); font-size: .9rem; display: grid; gap: 10px; }
.card, .card-soft, .lib-card, .cart-line .cl-body { min-width: 0; overflow-wrap: anywhere; }


/* --- Направления (цель на первом плане), одна витрина меню, фрагменты --- */
.product-card .cover-banner { aspect-ratio: 21 / 9; }
.direction-card .cover-banner, .nutrition-entry .cover-banner { aspect-ratio: 21 / 8; }
.dir-secondary { font-family: var(--font); font-size: 11px; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; color: var(--kc-o); opacity: .85; }
.dir-plan { color: var(--text-2); font-size: .95rem; line-height: 1.55; }
.place-toggle { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 16px; }
.place-toggle .filter-label { min-width: 0; }
.nutrition-entry-wide { flex-direction: column; }
@media (min-width: 900px) {
  .nutrition-entry-wide { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
  .nutrition-entry-wide .cover-banner { aspect-ratio: auto; height: 100%; min-height: 300px; }
  .nutrition-entry-wide .body { padding: 28px 30px; justify-content: center; }
}
.product-media-wide { aspect-ratio: 2 / 1; }
.kcal-picker { display: grid; gap: 14px; }
.kcal-group { display: grid; gap: 8px; padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .03); border: 1px solid var(--stroke-soft); }
.kcal-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; align-items: baseline; }
.kcal-head strong { font-size: 1.05rem; }
.opt-plan { min-width: 120px; align-items: flex-start; text-align: left; padding: 8px 14px; }
.opt-plan small { font-size: .78rem; }
.opt-hint:not([aria-pressed="true"]) { border-color: rgba(255, 140, 60, .5); }
.kcal-diff { line-height: 1.5; }
.fragment { display: grid; gap: 12px; }
.fragment-head { display: grid; gap: 4px; }
.fragment-head .section-label { margin-bottom: 4px; }

/* вход секций как в эталоне (.kc-rise) */
.kc-rise { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--kc-ease), transform .9s var(--kc-ease); }
.kc-in .kc-rise, .kc-rise.kc-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .kc-rise { opacity: 1; transform: none; }
  .kc-h::after { width: min(220px, 38%); }
  .numbered > section .kc-h::before { opacity: .85; transform: none; }
  .btn-primary::after, .cta-btn::after { display: none; }
}

/* Способы оплаты: две равные кнопки, на телефоне — друг под другом во всю ширину. */
.pay-methods { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pay-methods .opt { width: 100%; justify-content: center; text-align: center; }
@media (max-width: 560px) { .pay-methods { grid-template-columns: 1fr; } }
/* Условия покупки рядом с кнопкой оплаты. */
.checkout-terms { list-style: none; display: grid; gap: 6px; margin: 14px 0 0; padding: 12px 0 0; border-top: 1px solid var(--kc-edge); }
.checkout-terms li { padding-left: 14px; position: relative; line-height: 1.5; }
.checkout-terms li::before { content: ''; position: absolute; left: 0; top: .65em; width: 6px; height: 2px; background: var(--kc-o); }
.site-footer .footer-social { margin-top: 4px; }
.checkout-terms a { color: var(--kc-o); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.hero-labels { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.promo-pill { color: #fff; background: linear-gradient(180deg, rgba(255, 107, 0, .32), rgba(255, 107, 0, .14)); border-color: rgba(255, 140, 60, .6); }
/* Блок, где осталось выбрать: мягкая оранжевая рамка и подсказка у заголовка. */
.option-block.needs-choice { padding: 12px; margin: -12px; border-radius: 16px; box-shadow: 0 0 0 1px rgba(255, 140, 60, .55) inset, 0 0 26px -12px rgba(255, 107, 0, .7); }
.option-block.needs-choice .label .hint { color: #ffb27a; }
@media (prefers-reduced-motion: no-preference) { .option-block.needs-choice { animation: needs-choice 2.4s ease-in-out 2; } }
@keyframes needs-choice { 50% { box-shadow: 0 0 0 1px rgba(255, 140, 60, .9) inset, 0 0 34px -8px rgba(255, 107, 0, .85); } }
/* Нижняя кнопка на телефоне всегда поверх подвала, а ссылки подвала не уходят под неё. */
body.has-sticky-buy main { z-index: 2; }
@media (max-width: 899px) { body.has-sticky-buy .site-footer { padding-bottom: calc(120px + env(safe-area-inset-bottom, 0px)); } }

/* Экран «Твоя программа» (личная цена из бота, 25.09.2026). */
.offer-screen { max-width: 640px; margin: 0 auto; display: grid; gap: 14px; }
.offer-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.offer-chips span { border: 1px solid var(--kc-edge-hi); border-radius: 999px; padding: 5px 12px; font-size: .9rem; color: var(--text-2); }
.offer-price .offer-was { color: var(--text-4); text-decoration: line-through; font-size: 1.1rem; margin-right: 8px; }
.offer-price .offer-timer { color: #ff8a3d; font-weight: 800; font-variant-numeric: tabular-nums; }
.offer-menu .opt { width: 100%; justify-content: flex-start; text-align: left; }
/* Макет «шов бот → сайт»: два способа оплаты рядом и на телефоне — «Оплатить» остаётся на первом экране. */
.offer-screen .pay-methods { grid-template-columns: 1fr 1fr; }
@media (max-width: 380px) { .offer-screen { gap: 9px; } }
