/* ==========================================
   Zepline ZP-00359 — style.css
   Тепла кухонна палітра: кремовий фон, оливково-зелений акцент,
   теракотовий другорядний акцент. Індивідуально під hero-фото цього товару.
   ========================================== */

:root {
  --cream: #f6efe1;
  --cream-deep: #efe4cf;
  --paper: #fffdf8;
  --ink: #362f24;
  --ink-soft: #766b58;
  --olive: #6c7a4c;
  --olive-dark: #52603a;
  --olive-soft: #e8ecda;
  --terracotta: #c8754f;
  --terracotta-soft: #f6e2d5;
  --line: rgba(54, 47, 36, 0.12);
  --shadow: 0 14px 34px rgba(84, 68, 40, 0.1);
  --shadow-sm: 0 6px 16px rgba(84, 68, 40, 0.08);
  --radius: 18px;
  --radius-sm: 12px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button, input { font: inherit; }

h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -0.01em; color: var(--ink); overflow-wrap: break-word; }

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--olive-dark);
  margin-bottom: 14px;
}
.kicker::before {
  content: "";
  width: 20px;
  height: 2px;
  background: var(--terracotta);
  border-radius: 2px;
}

.lede {
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 640px;
  margin: 14px 0 0;
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 24px;
  background: rgba(246, 239, 225, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.brand {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: var(--ink);
  white-space: nowrap;
}
.brand span { color: var(--olive); }
.site-header nav {
  display: flex;
  gap: 26px;
}
.site-header nav a {
  font-size: 14.5px;
  color: var(--ink-soft);
  font-weight: 600;
}
.site-header nav a:hover { color: var(--olive-dark); }
.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--olive);
  color: #fff;
  font-weight: 700;
  font-size: 14.5px;
  padding: 10px 18px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
}
.header-cta:hover { background: var(--olive-dark); }
.header-cta span { opacity: 0.85; font-weight: 600; }

/* ===== Hero ===== */
.hero {
  padding: 48px 0 56px;
}
.hero .container {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 46px;
  align-items: center;
}
.hero .container > * { min-width: 0; }
.hero h1 {
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.14;
}
.hero h1 em {
  font-style: normal;
  color: var(--olive-dark);
}

.hero-photo {
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  background: var(--paper);
}

.price-block {
  margin-top: 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
  max-width: 440px;
}
.price-row {
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
}
.price-old {
  font-size: 19px;
  color: var(--ink-soft);
  text-decoration: line-through;
  text-decoration-color: var(--terracotta);
}
.price-new {
  font-size: 38px;
  font-weight: 800;
  color: var(--ink);
}
.price-badge {
  background: var(--terracotta-soft);
  color: var(--terracotta);
  font-weight: 800;
  font-size: 13.5px;
  padding: 5px 12px;
  border-radius: 999px;
}
.price-note {
  margin-top: 6px;
  font-size: 13.5px;
  color: var(--ink-soft);
}

.timer {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.timer-label { font-size: 13px; color: var(--ink-soft); }
.timer-cells { display: flex; gap: 6px; }
.timer-cells .cell {
  background: var(--olive-soft);
  border-radius: 8px;
  min-width: 40px;
  padding: 5px 0;
  text-align: center;
}
.timer-cells .cell b { display: block; font-size: 16px; color: var(--olive-dark); }
.timer-cells .cell span { display: block; font-size: 10px; color: var(--ink-soft); }

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin-top: 20px;
  background: var(--olive);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 16px 22px;
  font-size: 16.5px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(108, 122, 76, 0.32);
  transition: background 0.15s ease, transform 0.15s ease;
}
.cta:hover { background: var(--olive-dark); transform: translateY(-1px); }
.cta-sm { padding: 12px 18px; font-size: 14.5px; margin-top: 0; width: auto; }

.trust-row {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 13.5px;
  color: var(--ink-soft);
}
.trust-row span { display: flex; align-items: center; gap: 6px; }
.trust-row span::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--olive);
  flex-shrink: 0;
}

/* ===== Sections ===== */
section { padding: 56px 0; }
.section-alt { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.section-head { max-width: 680px; margin-bottom: 34px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(24px, 2.6vw, 32px); }

/* ===== Steps ===== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.step-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
  box-shadow: var(--shadow-sm);
}
.step-num {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--olive-soft);
  color: var(--olive-dark);
  font-weight: 800;
  font-size: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.step-card h3 { font-size: 17.5px; margin-bottom: 8px; }
.step-card p { margin: 0; font-size: 14.5px; color: var(--ink-soft); }

.stat-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}
.stat-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--olive-soft);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
}
.stat-chip .icon {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--olive-dark);
}
.stat-chip b { display: block; font-size: 16px; color: var(--olive-dark); }
.stat-chip span { display: block; font-size: 12.5px; color: var(--ink-soft); }

/* ===== Modes ===== */
.split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 44px;
  align-items: center;
}
.split > * { min-width: 0; }
.split.reverse { grid-template-columns: 1.05fr 0.95fr; }
.split.reverse .split-media { order: 2; }
.split-media img {
  border-radius: 22px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.mode-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 22px;
}
.mode-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px;
  box-shadow: var(--shadow-sm);
}
.mode-card .icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--olive-soft);
  color: var(--olive-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.mode-card h3 { font-size: 15px; margin-bottom: 3px; }
.mode-card p { margin: 0; font-size: 13px; color: var(--ink-soft); }

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.tag-row span {
  background: var(--terracotta-soft);
  color: var(--terracotta);
  font-weight: 700;
  font-size: 13px;
  padding: 7px 14px;
  border-radius: 999px;
}

/* ===== Komplekt ===== */
.checklist { margin-top: 22px; display: flex; flex-direction: column; gap: 14px; }
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  box-shadow: var(--shadow-sm);
}
.checklist .check {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--olive);
  color: #fff;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.checklist b { display: block; font-size: 15px; }
.checklist span { display: block; font-size: 13.5px; color: var(--ink-soft); margin-top: 2px; }
.note-card {
  margin-top: 20px;
  background: var(--olive-soft);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  font-size: 14px;
  color: var(--olive-dark);
  font-weight: 600;
}

/* ===== Harakterystyky ===== */
.spec-table {
  margin-top: 26px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.spec-table div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
  font-size: 14.5px;
  border-bottom: 1px solid var(--line);
}
.spec-table div:last-child { border-bottom: none; }
.spec-table b { font-weight: 500; color: var(--ink-soft); min-width: 0; }
.spec-table span { font-weight: 700; text-align: right; min-width: 0; }

/* ===== Reviews (hidden by default, kept for future use) ===== */
.review { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px; box-shadow: var(--shadow-sm); margin-bottom: 14px; }
.review-head { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: 14px; }
.review-head span { color: var(--terracotta); }

/* ===== Order form ===== */
.form-card {
  max-width: 520px;
  margin: 0 auto;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
  box-shadow: var(--shadow);
  text-align: center;
}
.form-card h2 { font-size: 24px; }
.form-card .lede { margin: 12px auto 0; }
.form-card form { margin-top: 24px; display: flex; flex-direction: column; gap: 14px; text-align: left; }
.form-card label { font-size: 13.5px; font-weight: 600; color: var(--ink-soft); }
.form-card input[type="text"],
.form-card input[type="tel"] {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--cream);
  font-size: 15px;
  color: var(--ink);
}
.form-card input:focus { outline: 2px solid var(--olive); outline-offset: 1px; }
.input-error { outline: 2px solid var(--terracotta) !important; }
.form-note { margin-top: 14px; font-size: 12.5px; color: var(--ink-soft); }
.form-note a { color: var(--olive-dark); font-weight: 600; }

/* ===== Footer ===== */
footer {
  padding: 44px 24px 110px;
  text-align: center;
  color: var(--ink-soft);
  font-size: 13.5px;
}
footer .brand { display: inline-block; margin-bottom: 10px; }
footer p { margin: 8px 0; }
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
  margin: 14px 0;
}
.footer-legal a { font-weight: 600; color: var(--ink-soft); }
.footer-legal a:hover { color: var(--olive-dark); }
.footer-copy { font-size: 12px; }

/* ===== Sticky mobile CTA ===== */
.sticky-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--paper);
  border-top: 1px solid var(--line);
  padding: 10px 16px;
  box-shadow: 0 -8px 24px rgba(84, 68, 40, 0.12);
}
.sticky-price { font-size: 13px; color: var(--ink-soft); }
.sticky-price b { display: block; font-size: 18px; color: var(--ink); }

/* ===== Legal pages ===== */
.legal-page { max-width: 760px; margin: 0 auto; padding: 48px 24px 60px; }
.legal-page h1 { font-size: 30px; margin-bottom: 22px; }
.legal-page h2 { font-size: 19px; margin: 30px 0 12px; }
.legal-page p, .legal-page li { font-size: 15px; color: var(--ink-soft); line-height: 1.7; }
.legal-page ul { padding-left: 20px; list-style: disc; }
.legal-page li { margin-bottom: 6px; }
.page-kicker { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--olive-dark); }

/* ===== Thank you page ===== */
.thankyou { display: flex; align-items: center; justify-content: center; min-height: 70vh; padding: 40px 24px; }
.thankyou-card {
  max-width: 480px;
  text-align: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px 32px;
  box-shadow: var(--shadow);
}
.product-index { font-size: 12.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--olive-dark); }
.thankyou-card h1 { font-size: 26px; margin: 14px 0 10px; }
.thankyou-card p { color: var(--ink-soft); font-size: 15px; margin: 8px 0; }
.primary-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  background: var(--olive);
  color: #fff;
  font-weight: 700;
  padding: 13px 22px;
  border-radius: 999px;
}
.primary-button:hover { background: var(--olive-dark); }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .site-header nav { display: none; }
  .hero .container { grid-template-columns: 1fr; }
  .hero-photo { order: -1; }
  .split, .split.reverse { grid-template-columns: 1fr; }
  .split .split-media, .split.reverse .split-media { order: -1; }
  .steps-grid { grid-template-columns: 1fr; }
  .mode-grid { grid-template-columns: 1fr; }
  .sticky-bar { display: flex; }
  footer { padding-bottom: 110px; }
}

@media (max-width: 560px) {
  .container { padding: 0 18px; }
  .site-header { padding: 12px 18px; }
  .header-cta span { display: none; }
  .hero { padding: 32px 0 40px; }
  section { padding: 42px 0; }
  .price-block { padding: 18px 18px; }
  .price-new { font-size: 32px; }
  .form-card { padding: 26px 20px; }
  .spec-table div { flex-direction: column; align-items: flex-start; gap: 3px; padding: 12px 16px; font-size: 13.5px; }
  .spec-table span { text-align: left; }
}
