:root {
  --bg: #eaf3fb;
  --panel: #ffffff;
  --panel-soft: #f5f9fd;
  --text: #102030;
  --muted: #5e6a76;
  --primary: #0e6fbf;
  --primary-dark: #0a548f;
  --border: #dce6f1;
  --radius: 16px;
  --shadow: 0 8px 24px rgba(16, 32, 48, 0.08);
}

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

body {
  font-family: "Rubik", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #eef5fb 0%, #dce8f4 100%);
  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: var(--panel);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.6), 0 22px 60px rgba(16,32,48,0.2);
  padding-bottom: 80px;
}

@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(--border);
  background: #fff;
}

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

.hdr-logo {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: linear-gradient(135deg, #54b7ff, #0e6fbf);
  color: #fff;
  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(--muted);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 8px;
  white-space: nowrap;
}

.hero-img-wrap {
  position: relative;
  background: linear-gradient(180deg, #e8f3fd 0%, #d4e7f8 100%);
}

.hero-img-wrap img {
  width: 100%;
  height: auto;
}

.hero-price-card {
  position: absolute;
  right: 10px;
  bottom: 10px;
  background: rgba(255,255,255,0.94);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 8px 10px;
  min-width: 150px;
  box-shadow: var(--shadow);
}

.hero-price-old {
  font-size: 12px;
  color: #8a96a2;
  text-decoration: line-through;
}

.hero-price-new {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1.1;
}

.hero-price-note {
  font-size: 11px;
  color: var(--muted);
}

.hero-body {
  padding: 14px;
}

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

.hero-title span {
  color: var(--primary);
}

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

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

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

.hero-list i { color: var(--primary); }

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

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

.btn-main {
  width: 100%;
  border: none;
  border-radius: 999px;
  padding: 13px 16px;
  background: linear-gradient(135deg, #1492ef, #0e6fbf);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

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

.blk-soft {
  background: var(--panel-soft);
}

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

.main-img {
  margin: 10px 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

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

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

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

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

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

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

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

.spec-card span {
  display: block;
  font-size: 12px;
  color: var(--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: #e8f3fd;
  border: 1px solid #c6def3;
  color: var(--primary-dark);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

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

.fb-post {
  background: #fff;
  border: 1px solid #d7e3ef;
  border-radius: 14px;
  padding: 10px;
  box-shadow: 0 6px 18px rgba(16, 32, 48, 0.05);
}

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

.fb-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid #d7e3ef;
  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: #6b7280;
}

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

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

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

.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: #f4f7fb;
  color: #4b5563;
  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 #c6def3;
  background: linear-gradient(180deg, #f4f9fe 0%, #ffffff 70%);
}

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

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

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

.order-price::before {
  content: "Было 11 990 лей -> ";
  color: #8a96a2;
  text-decoration: line-through;
}

.order-price span {
  color: var(--primary-dark);
  font-size: 20px;
  font-weight: 800;
}

.inp {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 11px;
  margin-bottom: 8px;
  font-size: 15px;
}

.inp:focus {
  outline: none;
  border-color: #8dc2ec;
  box-shadow: 0 0 0 2px rgba(20,146,239,0.18);
}

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

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

.ftr a {
  color: var(--primary-dark);
  text-decoration: none;
}

.sticky {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  border-top: 1px solid var(--border);
  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: #8a96a2;
  text-decoration: line-through;
  margin-right: 6px;
  font-size: 13px;
}

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

.sticky-btn {
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #1492ef, #0e6fbf);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  padding: 9px 16px;
  cursor: pointer;
}
