:root {
  --bg-main: #13161b;
  --bg-panel: #1c2128;
  --bg-soft: #202730;
  --surface: #f7f9fb;
  --text-main: #eef3f7;
  --text-muted: #b4c0cc;
  --title-dark: #13161b;
  --accent: #f5bf2d;
  --accent-dark: #d79b06;
  --line: #2f3945;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.32);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: "Rubik", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #20262f 0%, #14181e 55%, #0f1216 100%);
  color: var(--text-main);
  line-height: 1.45;
}

img { max-width: 100%; display: block; }
button { font-family: inherit; }

.wrapper {
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  background: linear-gradient(180deg, #1a2027 0%, #13171d 100%);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.06), 0 24px 70px rgba(0,0,0,0.45);
  padding-bottom: 84px;
}

@media (min-width: 520px) {
  body { padding: 16px 0; }
  .wrapper { border-radius: 24px 24px 0 0; overflow: hidden; }
}

.hdr {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  background: #151a20;
}

.hdr-left {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.hdr-logo {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, #f7cf59, #d79b06);
  color: #1b1f26;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
}

.hdr-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--text-muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 9px;
  background: #1b222b;
  white-space: nowrap;
}

.hero { padding: 12px 14px 8px; }

.hero-image-card,
.photo-card {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 2px solid rgba(245,191,45,0.4);
}

.hero-image-card { position: relative; margin-bottom: 12px; }

.hero-price {
  position: absolute;
  right: 10px;
  bottom: 10px;
  background: rgba(19,22,27,0.92);
  border: 1px solid rgba(245,191,45,0.45);
  border-radius: 12px;
  padding: 8px 10px;
  min-width: 140px;
}

.hero-old {
  color: #97a5b3;
  text-decoration: line-through;
  font-size: 12px;
}

.hero-new {
  color: var(--accent);
  font-weight: 800;
  font-size: 22px;
  line-height: 1.05;
}

.hero-content h1 {
  font-size: 24px;
  line-height: 1.2;
  margin-bottom: 6px;
}

.hero-content h1 span { color: var(--accent); }

.hero-content p {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 10px;
}

.blk-sub {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 10px;
}

.hero-points {
  list-style: none;
  display: grid;
  gap: 7px;
  margin-bottom: 12px;
}

.hero-points li {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 7px 9px;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-points i { color: var(--accent); }

.btn-main {
  width: 100%;
  border: none;
  border-radius: 999px;
  padding: 13px 16px;
  background: linear-gradient(135deg, #f7cf59, #d79b06);
  color: #1a1e25;
  font-size: 16px;
  font-weight: 800;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(245,191,45,0.28);
}

.hero-timer {
  margin-top: 7px;
  color: var(--text-muted);
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-timer span {
  color: var(--accent);
  font-weight: 700;
}

.blk {
  padding: 14px;
  border-top: 1px solid var(--line);
  background: #171d24;
}

.blk-soft { background: #1b222b; }

.blk-title {
  font-size: 20px;
  margin-bottom: 8px;
}

.photo-card { margin-bottom: 10px; }

.mini-grid,
.spec-grid,
.steps,
.review-list {
  display: grid;
  gap: 8px;
}

.mini-item,
.spec-card,
.step,
.review-card {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 9px 10px;
}

.mini-item {
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mini-item i { color: var(--accent); }

.list-check {
  list-style: none;
  display: grid;
  gap: 7px;
}

.list-check li {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 8px 10px;
  display: flex;
  gap: 7px;
  font-size: 14px;
}

.list-check i {
  color: #ffd34a;
  margin-top: 2px;
  flex-shrink: 0;
}

.spec-card span {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.spec-card strong { font-size: 15px; }

.step {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.step-num {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: rgba(245,191,45,0.15);
  border: 1px solid rgba(245,191,45,0.5);
  color: var(--accent);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.review-card strong { display: block; margin-bottom: 4px; font-size: 14px; }
.review-card p { color: var(--text-muted); font-size: 14px; }

.fb-reviews {
  display: grid;
  gap: 10px;
}

.fb-post {
  background: #1b222b;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.24);
}

.fb-head {
  display: flex;
  align-items: center;
  gap: 8px;
}

.fb-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid #3b4754;
  flex-shrink: 0;
}

.fb-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

.fb-meta strong {
  font-size: 14px;
  line-height: 1.2;
}

.fb-meta span {
  font-size: 12px;
  color: #97a6b5;
}

.fb-menu {
  color: #8fa1b3;
  font-size: 14px;
  padding: 4px;
}

.fb-post p {
  color: #ced9e4;
  font-size: 14px;
  margin: 8px 0;
}

.fb-stats {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #9fb0c1;
  padding: 6px 0;
  border-top: 1px solid #2c3642;
  border-bottom: 1px solid #2c3642;
}

.fb-like {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.fb-like i {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #1877f2;
  color: #fff;
  font-size: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.fb-actions {
  margin-top: 6px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.fb-actions button {
  border: none;
  background: #212a34;
  color: #bcc8d4;
  font-size: 12px;
  border-radius: 8px;
  padding: 7px 4px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.order {
  padding: 15px 14px 18px;
  border-top: 2px solid rgba(245,191,45,0.38);
  background: linear-gradient(180deg, #1c232c 0%, #14191f 80%);
}

.order h2 {
  font-size: 21px;
  margin-bottom: 8px;
}

.order-sub {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.order-price {
  margin-bottom: 10px;
  font-size: 14px;
}

.order-price::before {
  content: "Було 3 899 грн -> ";
  color: #8d99a7;
  text-decoration: line-through;
}

.order-price span {
  color: var(--accent);
  font-size: 21px;
  font-weight: 800;
}

.inp {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 11px;
  margin-bottom: 8px;
  font-size: 15px;
  background: #10151b;
  color: var(--text-main);
}

.inp::placeholder { color: #8a96a3; }

.inp:focus {
  outline: none;
  border-color: rgba(245,191,45,0.75);
  box-shadow: 0 0 0 2px rgba(245,191,45,0.2);
}

.order-note {
  margin-top: 7px;
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.ftr {
  border-top: 1px solid var(--line);
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  padding: 10px 12px 14px;
  background: #12171d;
}

.ftr a {
  color: #f0c85d;
  text-decoration: none;
}

.sticky {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #11161c;
  border-top: 1px solid var(--line);
  z-index: 40;
}

.sticky-inner {
  max-width: 480px;
  margin: 0 auto;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.sticky-price { flex: 1; }

.sticky-price span:first-child {
  color: #8d99a7;
  text-decoration: line-through;
  margin-right: 6px;
  font-size: 13px;
}

.sticky-price span:last-child {
  color: var(--accent);
  font-weight: 800;
  font-size: 18px;
}

.sticky-btn {
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #f7cf59, #d79b06);
  color: #1a1e25;
  font-weight: 800;
  font-size: 14px;
  padding: 9px 16px;
  cursor: pointer;
}
