* {
  box-sizing: border-box;
}

:root {
  --bg: #f8fafc;
  --text: #0f172a;
  --muted: #475569;
  --dark: #0f172a;
  --line: rgba(15,23,42,.08);
  --card: #ffffff;

  --primary: #ef4444;
  --primary-hover: #dc2626;
  --accent: #22c55e;

  --radius: 22px;
  --shadow: 0 10px 30px rgba(2,6,23,.08);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.45;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

button,
input {
  font: inherit;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.section {
  padding: 56px 0;
}

.section-title {
  font-size: clamp(26px,3.8vw,38px);
  line-height: 1.08;
  margin: 0 0 22px;
}

/* top line */

.topline {
  background: #0b1220;
  color: #fff;
}

.topline__inner {
  min-height: 54px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.topline__items {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.topline__items span {
  font-size: 13px;
  opacity: .92;
}

.lang-switch {
  display: flex;
  gap: 8px;
}

.lang-btn {
  border: 1px solid rgba(255,255,255,.18);
  background: transparent;
  color: #fff;
  border-radius: 10px;
  padding: 8px 12px;
  cursor: pointer;
}

.lang-btn.is-active {
  background: #fff;
  color: #111827;
}

/* hero */

.hero {
  padding: 28px 0 32px;
  background: linear-gradient(135deg,#0b1220 0%,#111827 50%,#0f172a 100%);
  color: #fff;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
}

.hero__media img {
  width: 100%;
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(0,0,0,.22);
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  background: rgba(255,255,255,.08);
}

.badge--sale {
  background: rgba(239,68,68,.16);
  color: #fecaca;
}

.hero h1 {
  margin: 0 0 14px;
  font-size: clamp(32px,5vw,54px);
  line-height: .98;
}

.hero__subtitle {
  margin: 0 0 18px;
  color: rgba(255,255,255,.82);
  font-size: 17px;
}

/* price */

.price-box {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(255,255,255,.08);
  margin-bottom: 18px;
}

.price-box__left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.old-price {
  color: #94a3b8;
  text-decoration: line-through;
  font-weight: 700;
}

.new-price {
  font-size: clamp(30px,4vw,42px);
  font-weight: 900;
  color: #fff;
}

.price-box__right {
  color: #bbf7d0;
  font-size: 14px;
  font-weight: 700;
}

/* bullets */

.hero__bullets {
  display: grid;
  gap: 8px;
  margin-bottom: 20px;
  color: rgba(255,255,255,.94);
  font-weight: 600;
}

/* buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 22px;
  border: 0;
  border-radius: 16px;
  font-weight: 800;
  cursor: pointer;
}

.btn--primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 12px 24px rgba(239,68,68,.28);
}

.btn--primary:hover {
  background: var(--primary-hover);
}

.btn--full {
  width: 100%;
}

/* cards */

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 16px;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
}

.card--soft {
  padding: 24px;
}

.card__icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: #eff6ff;
  color: #1e3a8a;
  font-weight: 900;
  margin-bottom: 14px;
}

.card h3 {
  margin: 0 0 8px;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

/* gallery */

.gallery__main {
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: #fff;
  margin-bottom: 14px;
}

.gallery__main img {
  width: 100%;
  height: 640px;
  object-fit: contain;
  background: #fff;
}

.gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.thumb {
  padding: 0;
  margin: 0;
  border: 2px solid transparent;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow);
  height: 180px;
  display: block;
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
}

.thumb.is-active {
  border-color: var(--accent);
}

/* specs */

.specs__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.spec-list {
  display: grid;
  gap: 10px;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.fit-list {
  display: grid;
  gap: 10px;
}

.fit-list div {
  padding: 14px 16px;
  border-radius: 16px;
  background: #f8fafc;
  border: 1px solid var(--line);
  font-weight: 600;
}

/* order */

.order__grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 20px;
}

.order__trust {
  display: grid;
  gap: 10px;
  font-weight: 600;
}

.order-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 24px;
}

.order-form label {
  display: block;
  margin-bottom: 14px;
}

.order-form span {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
}

.order-form input {
  width: 100%;
  height: 54px;
  border-radius: 14px;
  border: 1px solid #cbd5e1;
  padding: 0 16px;
}

.order-form input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(34,197,94,.12);
}

.form-note {
  margin: 12px 0 0;
  font-size: 13px;
  color: var(--muted);
}

.form-status {
  min-height: 22px;
  margin-top: 12px;
  font-weight: 700;
}

/* faq */

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  box-shadow: var(--shadow);
}

.faq-list summary {
  cursor: pointer;
  font-weight: 800;
}

.faq-list p {
  margin: 12px 0 0;
  color: var(--muted);
}

/* sticky */

.sticky-cta {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  z-index: 100;
  display: none;
  min-height: 58px;
  border-radius: 18px;
  background: var(--primary);
  color: #fff;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  box-shadow: 0 14px 28px rgba(239,68,68,.35);
}

/* tablet */

@media (max-width:1024px) {

.hero__grid,
.specs__grid,
.order__grid {
grid-template-columns: 1fr;
}

.grid-4 {
grid-template-columns: repeat(2,1fr);
}

}

/* mobile */

@media (max-width:768px) {

body {
padding-bottom: 92px;
}

.section {
padding: 42px 0;
}

.hero__grid {
grid-template-columns: 1fr;
gap: 18px;
}

.hero h1 {
font-size: 34px;
}

.hero__subtitle {
font-size: 15px;
}

.price-box {
padding: 14px;
}

.new-price {
font-size: 32px;
}

.hero__bullets {
font-size: 14px;
}

.btn {
width: 100%;
}

.grid-4,
.specs__grid {
grid-template-columns: 1fr;
}

.gallery__main img {
  height: 360px;
}

.gallery__thumbs {
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.thumb {
  height: 130px;
}

.card,
.card--soft,
.order-form,
.faq-list details {
border-radius: 18px;
padding: 18px;
}

.sticky-cta {
display: flex;
}

}