:root {
  --tf-ink: #0b1f1e;
  --tf-deep: #0a3d3a;
  --tf-teal: #0a7a6e;
  --tf-cyan: #2ee6d6;
  --tf-mist: #e8f7f5;
  --tf-paper: #f4fbfa;
  --tf-line: rgba(10, 122, 110, 0.22);
  --tf-muted: #4a6764;
  --tf-warn: #c0392b;
  --tf-gold: #f0b429;
  --tf-rail: 248px;
  --tf-radius: 14px;
  --tf-shadow: 0 12px 32px rgba(10, 61, 58, 0.12);
  --font-display: "Orbitron", sans-serif;
  --font-body: "Source Sans 3", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--tf-ink);
  background:
    radial-gradient(ellipse 80% 50% at 100% 0%, rgba(46, 230, 214, 0.18), transparent 55%),
    linear-gradient(160deg, #f7fcfb 0%, #eef8f6 45%, #e4f3f1 100%);
  min-height: 100vh;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--tf-teal); text-decoration: none; }
a:hover { color: var(--tf-deep); }

.tf-frame {
  display: grid;
  grid-template-columns: var(--tf-rail) 1fr;
  min-height: 100vh;
}

.tf-rail {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 22px 16px;
  background: linear-gradient(180deg, #073532 0%, #0a4a45 55%, #0c5c55 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 20px;
  border-right: 1px solid rgba(46, 230, 214, 0.25);
  z-index: 40;
}

.tf-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  padding: 8px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
}
.tf-brand:hover,
.tf-brand:focus {
  color: #fff;
  background: rgba(46, 230, 214, 0.14);
}
.tf-brand:hover .tf-brand-text strong,
.tf-brand:hover .tf-brand-text small,
.tf-brand:focus .tf-brand-text strong,
.tf-brand:focus .tf-brand-text small {
  color: #fff;
}
.tf-brand img {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  object-fit: cover;
  background: rgba(255,255,255,.08);
}
.tf-brand-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; color: inherit; }
.tf-brand-text strong {
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 0.04em;
  color: #fff;
}
.tf-brand-text small {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.78);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tf-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.tf-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  color: rgba(255,255,255,.88);
  border: 1px solid transparent;
  transition: background .2s, border-color .2s, transform .15s;
}
.tf-nav-link i { width: 18px; text-align: center; opacity: .9; }
.tf-nav-link:hover {
  background: rgba(46, 230, 214, 0.12);
  color: #fff;
  border-color: rgba(46, 230, 214, 0.25);
}
.tf-nav-link.is-active {
  background: rgba(46, 230, 214, 0.18);
  border-color: rgba(46, 230, 214, 0.45);
  color: var(--tf-cyan);
  font-weight: 700;
}
.tf-nav-shop {
  margin-top: 8px;
  background: linear-gradient(135deg, #f0b429, #e8940f);
  color: #1a1406 !important;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(240, 180, 41, 0.35);
  border: none !important;
}
.tf-nav-shop:hover {
  transform: translateY(-1px);
  background: linear-gradient(135deg, #ffc94a, #f0b429);
  color: #1a1406 !important;
}
.tf-nav-shop.is-active {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.tf-rail-foot {
  margin-top: auto;
  padding: 12px;
  border-radius: 10px;
  background: rgba(0,0,0,.18);
  font-size: 12px;
  opacity: .85;
}

.tf-stage { min-width: 0; display: flex; flex-direction: column; min-height: 100vh; }
.tf-topbar {
  display: none;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(7, 53, 50, 0.95);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 30;
}
.tf-menu-btn {
  border: 0;
  background: rgba(255,255,255,.1);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  cursor: pointer;
}
.tf-topbar-title { flex: 1; font-weight: 700; font-size: 14px; }
.tf-top-shop {
  background: var(--tf-gold);
  color: #1a1406 !important;
  font-weight: 800;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 13px;
}

.tf-main { flex: 1; padding: 28px 32px 48px; }

.tf-banner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
  margin-bottom: 36px;
  padding: 28px;
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(10, 122, 110, 0.12), rgba(46, 230, 214, 0.08)),
    var(--tf-paper);
  border: 1px solid var(--tf-line);
  box-shadow: var(--tf-shadow);
}
.tf-banner-copy h1 {
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 40px);
  margin: 0 0 12px;
  color: var(--tf-deep);
  letter-spacing: 0.02em;
}
.tf-banner-copy p {
  margin: 0 0 18px;
  color: var(--tf-muted);
  line-height: 1.65;
  font-size: 17px;
}
.tf-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(46, 230, 214, 0.18);
  color: var(--tf-deep);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.tf-banner-art {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--tf-line);
}
.tf-banner-art img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }

.tf-playbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.tf-store-badge img { height: 48px; width: auto; }

.tf-section { margin-bottom: 40px; }
.tf-section h2 {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 30px);
  color: var(--tf-deep);
  margin: 0 0 10px;
}
.tf-lead { color: var(--tf-muted); line-height: 1.65; margin: 0 0 18px; max-width: 70ch; }

.tf-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.tf-card {
  background: #fff;
  border: 1px solid var(--tf-line);
  border-radius: var(--tf-radius);
  padding: 18px;
  box-shadow: 0 6px 18px rgba(10, 61, 58, 0.06);
}
.tf-card h3 { margin: 10px 0 8px; font-size: 18px; color: var(--tf-deep); }
.tf-card p { margin: 0; color: var(--tf-muted); line-height: 1.55; font-size: 15px; }
.tf-card .tf-ico {
  width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(10, 122, 110, 0.12);
  color: var(--tf-teal);
  font-size: 18px;
}
.tf-more {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 12px; font-weight: 700;
}

.tf-shots {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.tf-shots figure {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--tf-line);
  background: #fff;
}
.tf-shots img { width: 100%; aspect-ratio: 9/16; object-fit: cover; }

.tf-split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: start;
}
.tf-panel {
  background: #fff;
  border: 1px solid var(--tf-line);
  border-radius: var(--tf-radius);
  padding: 22px;
}
.tf-panel h2, .tf-panel h3 { margin-top: 0; color: var(--tf-deep); }
.tf-panel p { color: var(--tf-muted); line-height: 1.65; }
.tf-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.tf-list li {
  display: flex; gap: 10px; align-items: flex-start;
  color: var(--tf-muted); line-height: 1.5;
}
.tf-list i { color: var(--tf-cyan); margin-top: 3px; background: var(--tf-deep); border-radius: 50%; width: 20px; height: 20px; display: grid; place-items: center; font-size: 10px; flex-shrink: 0; }

.tf-media-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 18px 0;
}
.tf-media-row figure {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--tf-line);
}
.tf-media-row img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.tf-media-sm { max-width: 280px; }

.tf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 700;
  font-family: inherit;
  font-size: 15px;
}
.tf-btn-teal {
  background: linear-gradient(135deg, var(--tf-teal), #08665c);
  color: #fff;
}
.tf-btn-gold {
  background: linear-gradient(135deg, #f0b429, #e8940f);
  color: #1a1406;
  box-shadow: 0 8px 18px rgba(240, 180, 41, 0.3);
}
.tf-btn-ghost {
  background: transparent;
  border: 1px solid var(--tf-line);
  color: var(--tf-deep);
}

.tf-contact-grid {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 22px;
}
.tf-contact-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px dashed var(--tf-line);
}
.tf-contact-item:last-child { border-bottom: 0; }
.tf-contact-item .tf-ico { flex-shrink: 0; }

.tf-shop-layout {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr;
  gap: 22px;
  align-items: start;
}
.tf-note {
  background: linear-gradient(180deg, #fff, var(--tf-mist));
  border: 1px solid var(--tf-line);
  border-radius: var(--tf-radius);
  padding: 20px;
  margin-bottom: 18px;
}
.tf-note h2 { margin: 0 0 10px; font-size: 22px; }
.tf-note ul { margin: 12px 0 0; padding-left: 18px; color: var(--tf-muted); }
.tf-money {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  margin-bottom: 16px;
}
.tf-money-btn {
  border: 1px solid var(--tf-line);
  background: #fff;
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
  font-weight: 700;
  color: var(--tf-deep);
}
.tf-money-btn.is-on {
  background: var(--tf-deep);
  color: var(--tf-cyan);
  border-color: var(--tf-deep);
}

.tf-tray {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
  min-height: 80px;
}
.tf-pack {
  background: #fff;
  border: 2px solid var(--tf-line);
  border-radius: 14px;
  padding: 14px 12px;
  text-align: center;
  cursor: pointer;
  transition: border-color .15s, transform .15s, box-shadow .15s;
}
.tf-pack:hover { transform: translateY(-2px); border-color: var(--tf-teal); }
.tf-pack.is-on {
  border-color: var(--tf-cyan);
  box-shadow: 0 0 0 3px rgba(46, 230, 214, 0.28);
}
.tf-pack img { width: 56px; height: 56px; margin: 0 auto 8px; object-fit: contain; }
.tf-pack-title { font-weight: 800; color: var(--tf-deep); font-size: 15px; }
.tf-pack-price { color: var(--tf-teal); font-weight: 700; margin-top: 4px; }
.tf-load, .tf-empty { color: var(--tf-muted); padding: 20px; text-align: center; grid-column: 1 / -1; }

.tf-check {
  position: sticky;
  top: 20px;
  background: #fff;
  border: 2px solid var(--tf-gold);
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 14px 36px rgba(240, 180, 41, 0.18);
}
.tf-check h2 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--tf-deep);
}
.tf-field { margin-bottom: 14px; }
.tf-field label {
  display: block;
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 6px;
  color: var(--tf-deep);
}
.tf-field input[type="text"],
.tf-field input[type="email"] {
  width: 100%;
  padding: 11px 12px;
  border-radius: 10px;
  border: 1px solid var(--tf-line);
  font: inherit;
  background: var(--tf-paper);
}
.tf-field input[readonly] { background: #eef4f3; color: var(--tf-muted); }
.tf-picked {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 12px;
  border-radius: 10px;
  background: rgba(10, 122, 110, 0.08);
  font-weight: 700;
}
.tf-pay-list { display: grid; gap: 8px; }
.tf-pay {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--tf-line);
  cursor: pointer;
}
.tf-pay.is-on { border-color: var(--tf-teal); background: rgba(46, 230, 214, 0.12); }
.tf-pay.is-show { opacity: 0.55; cursor: default; }
.tf-pay input { margin: 0; }
.tf-agree { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--tf-muted); line-height: 1.45; }
.tf-agree input { margin-top: 3px; }
.tf-err { color: var(--tf-warn); font-size: 13px; display: block; margin-top: 4px; min-height: 0; }
.tf-honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.tf-alert {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 14px 16px; margin-bottom: 16px;
  border-radius: 12px;
  background: #fdecea; color: #8a1f14; border: 1px solid #f5c2c0;
}

.tf-promise {
  margin: 28px 0 8px;
  padding: 22px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--tf-line);
}
.tf-promise h2 { margin-top: 0; font-size: 22px; color: var(--tf-deep); }
.tf-promise h3 { margin: 16px 0 6px; font-size: 16px; color: var(--tf-teal); }
.tf-promise p { margin: 0; color: var(--tf-muted); line-height: 1.6; }

.tf-stub {
  max-width: 640px;
  margin: 0 auto;
  background: #fff;
  border-radius: 18px;
  border: 1px solid var(--tf-line);
  overflow: hidden;
  box-shadow: var(--tf-shadow);
}
.tf-stub-top {
  padding: 22px;
  background: linear-gradient(135deg, var(--tf-deep), var(--tf-teal));
  color: #fff;
}
.tf-stub-top h1 { margin: 8px 0 6px; font-family: var(--font-display); font-size: 24px; }
.tf-stub table { width: 100%; border-collapse: collapse; }
.tf-stub th, .tf-stub td { padding: 12px 18px; border-bottom: 1px solid var(--tf-line); text-align: left; }
.tf-stub th { width: 36%; color: var(--tf-muted); font-weight: 600; }
.tf-total { color: var(--tf-teal); font-weight: 800; font-size: 18px; }
.tf-count {
  font-family: var(--font-display);
  font-size: 42px;
  color: var(--tf-teal);
  text-align: center;
  margin: 10px 0;
}
.tf-actions { display: flex; flex-wrap: wrap; gap: 10px; padding: 0 18px 22px; }

.tf-status {
  max-width: 560px;
  margin: 40px auto;
  text-align: center;
  padding: 36px 28px;
  background: #fff;
  border-radius: 18px;
  border: 1px solid var(--tf-line);
  box-shadow: var(--tf-shadow);
}
.tf-status .tf-big-ico {
  width: 72px; height: 72px; margin: 0 auto 16px;
  border-radius: 50%; display: grid; place-items: center;
  font-size: 32px;
}
.tf-status.ok .tf-big-ico { background: rgba(46, 230, 214, 0.2); color: var(--tf-teal); }
.tf-status.bad .tf-big-ico { background: #fdecea; color: var(--tf-warn); }

.tf-foot {
  margin-top: auto;
  padding: 28px 32px;
  background: #073532;
  color: rgba(255,255,255,.85);
}
.tf-foot a { color: var(--tf-cyan); }
.tf-foot-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 18px;
  margin-bottom: 16px;
}
.tf-foot-links { display: flex; flex-direction: column; gap: 8px; }
.tf-copy { margin: 0; font-size: 13px; opacity: .7; }

.tf-scrim {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 35;
}

@media (max-width: 1100px) {
  .tf-cards { grid-template-columns: 1fr 1fr; }
  .tf-shots { grid-template-columns: repeat(2, 1fr); }
  .tf-shop-layout, .tf-split, .tf-contact-grid, .tf-banner { grid-template-columns: 1fr; }
  .tf-foot-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .tf-frame { grid-template-columns: 1fr; }
  .tf-rail {
    position: fixed;
    left: 0; top: 0;
    transform: translateX(-105%);
    transition: transform .25s ease;
    width: min(280px, 86vw);
  }
  .tf-rail.is-open { transform: translateX(0); }
  .tf-topbar { display: flex; }
  .tf-main { padding: 20px 16px 36px; }
  .tf-cards, .tf-media-row { grid-template-columns: 1fr; }
  .tf-check { position: static; }
}
