@import url('https://fonts.googleapis.com/css2?family=Inter:wght@600&display=swap');

:root {
  --bg: #ffffff;
  --bg-soft: #f4f4f4;
  --bg-panel: #fafafa;
  --text: #171a20;
  --text-muted: #5c5e62;
  --text-dim: #8e8e8e;
  --border: #e2e2e2;
  --accent: #171a20;
  --accent-blue: #3e6ae1;
  --font: "PingFang SC", "Helvetica Neue", "Microsoft YaHei", Arial, sans-serif;
  --font-en: "Inter", "Helvetica Neue", Arial, sans-serif;
  --nav-h: 56px;
  --max-w: 1200px;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);

  /* Tesla layout v2 tokens: broad whitespace, sticky configurators, subtle dividers. */
  --section-pad-y: clamp(72px, 10vw, 120px);
  --hero-min-h: min(100vh, 900px);
  --sidebar-w: 400px;
  --card-radius: 0;
  --border-subtle: 1px solid #eee;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

/* Nav */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  height: var(--nav-h);
  padding: 0 40px;
  background: #fff;
  border-bottom: 1px solid var(--border);
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
}

.site-nav.is-transparent {
  background: transparent;
  border-bottom-color: transparent;
}

.site-nav.is-transparent.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  border-bottom-color: var(--border);
  backdrop-filter: blur(12px);
}

.nav-logo {
  flex: 0 0 auto;
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--text);
}

.logo-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.32em;
  line-height: 1;
  white-space: nowrap;
}

.nav-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}

.nav-center a {
  padding: 4px 12px;
  border-radius: 4px;
  transition: background 0.2s var(--ease);
}

.nav-center a:hover { background: rgba(0, 0, 0, 0.05); }
.nav-link.is-active { background: rgba(0, 0, 0, 0.05); }

.site-nav.mega-open,
.site-nav.nav-open {
  background: rgba(255, 255, 255, 0.98);
  border-bottom-color: var(--border);
  backdrop-filter: blur(12px);
}

.mega-layer {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  pointer-events: none;
  padding: 12px 24px 0;
}

.mega-panel {
  display: none;
  width: min(1040px, calc(100vw - 48px));
  margin: 0 auto;
  padding: 48px 56px 52px;
  background: var(--bg);
  border: var(--border-subtle);
  border-radius: var(--card-radius);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.12);
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease);
}

.mega-panel.is-active {
  display: block;
  pointer-events: auto;
  opacity: 1;
  transform: translateY(0);
}

.mega-panel-inner {
  display: grid;
  gap: 42px;
  align-items: stretch;
}

.mega-panel:not(.mega-panel--energy) .mega-panel-inner {
  grid-template-columns: 1fr;
}

.mega-panel--energy .mega-panel-inner {
  grid-template-columns: minmax(0, 1fr) 260px;
}

.mega-col {
  display: grid;
  gap: 18px;
}

.mega-col--cards,
.mega-col--tiles {
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 34px;
}

.mega-col--tiles {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mega-col--text {
  align-content: center;
  padding-left: 34px;
  border-left: 1px solid #eee;
}

.mega-item,
.mega-text-link {
  color: var(--text);
  outline: none;
}

.mega-item--card {
  min-height: 190px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  padding: 0 10px 8px;
  border-radius: var(--card-radius);
  text-align: center;
  background: transparent;
  border: none;
  transition: opacity 0.18s var(--ease);
}

.mega-item--card:hover,
.mega-item--card:focus-visible {
  background: transparent;
}

.mega-item.is-placeholder,
.mega-text-link.is-placeholder {
  color: var(--text-muted);
}

.mega-thumb {
  width: 150px;
  height: 112px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 4px;
  overflow: hidden;
  background: linear-gradient(180deg, #f4f4f4 0%, #e8e8e8 100%);
}

.mega-thumb-mark {
  color: rgba(23, 26, 32, 0.28);
  font-family: var(--font-en);
  font-size: 18px;
  font-weight: 600;
}

.mega-thumb--photo {
  width: 150px;
  height: 112px;
  background: transparent;
}

.mega-thumb-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  padding: 0;
  background: transparent;
  border: 0;
}

.mega-card-title {
  display: block;
  font-size: 15px;
  font-weight: 500;
}

.mega-card-cta {
  display: block;
  color: var(--text-muted);
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.mega-text-link {
  display: grid;
  gap: 4px;
  padding: 6px 0;
  transition: color 0.18s var(--ease);
}

.mega-text-link:hover,
.mega-text-link:focus-visible {
  color: var(--text-muted);
}

.mega-text-link strong {
  font-size: 15px;
  font-weight: 500;
}

.mega-text-link small {
  color: var(--text-muted);
  font-size: 13px;
}

.mega-icon {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text);
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 600;
}
.nav-actions {
  margin-left: auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 4px;
}

.nav-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--text);
  transition: background 0.2s var(--ease);
}

.nav-icon:hover { background: rgba(0, 0, 0, 0.05); }

.nav-icon-svg {
  width: 20px;
  height: 20px;
  display: block;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: var(--text);
  width: 36px;
  height: 36px;
  line-height: 1;
}

@media (max-width: 960px) {
  .site-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    min-height: var(--nav-h);
    height: auto;
    padding: 0 16px;
  }
  .nav-logo {
    order: 1;
    font-size: 15px;
  }
  .logo-lockup {
    gap: 0.26em;
  }
  .nav-center,
  .nav-actions { display: none; }
  .nav-center {
    position: static;
    transform: none;
  }
  .nav-actions {
    margin-left: 0;
  }
  .nav-toggle {
    order: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
  }
  .site-nav.nav-open {
    background: rgba(255, 255, 255, 0.98);
    border-bottom-color: var(--border);
    padding-bottom: 16px;
    backdrop-filter: blur(12px);
  }
  .site-nav.nav-open .nav-center,
  .site-nav.nav-open .nav-actions {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    width: 100%;
    padding: 12px 0 0;
  }
  .site-nav.nav-open .nav-center {
    order: 3;
    flex-direction: column;
  }
  .site-nav.nav-open .nav-actions {
    order: 4;
    flex-direction: row;
    gap: 8px;
  }
  .site-nav.nav-open .mega-layer {
    order: 5;
    position: static;
    width: 100%;
    padding: 8px 0 0;
    pointer-events: auto;
  }
  .site-nav.nav-open .mega-panel {
    width: 100%;
    margin: 0;
    padding: 14px 0 0;
    border: 0;
    border-top: 1px solid var(--border);
    border-radius: 0;
    box-shadow: none;
    background: transparent;
  }
  .site-nav.nav-open .mega-panel-inner,
  .site-nav.nav-open .mega-panel--energy .mega-panel-inner,
  .site-nav.nav-open .mega-col--cards,
  .site-nav.nav-open .mega-col--tiles {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .site-nav.nav-open .mega-col--text {
    padding-left: 0;
    padding-top: 14px;
    border-left: 0;
    border-top: 1px solid var(--border);
  }
  .site-nav.nav-open .mega-item--card {
    min-height: 86px;
    display: grid;
    grid-template-columns: 78px minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 14px;
    align-items: center;
    padding: 8px 0;
    text-align: left;
  }
  .site-nav.nav-open .mega-thumb {
    grid-row: 1 / span 2;
    width: 78px;
    height: 58px;
    margin: 0;
  }
  .site-nav.nav-open .mega-card-title,
  .site-nav.nav-open .mega-card-cta {
    align-self: end;
  }
}
/* Visual placeholders (CSS only, no sketch assets on production) */
.visual-placeholder {
  background: linear-gradient(180deg, #f4f4f4 0%, #e8e8e8 100%);
  position: relative;
  overflow: hidden;
}

.visual-hero {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.visual-product {
  width: 100%;
  aspect-ratio: 16/10;
}

.visual-banner {
  position: absolute;
  inset: 0;
}

.visual-product-lg {
  width: 100%;
  max-width: 560px;
  aspect-ratio: 4/3;
  border-radius: 2px;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 24px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: opacity 0.2s var(--ease);
}

.btn:hover { opacity: 0.85; }

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-secondary {
  background: #fff;
  color: var(--text);
  border: 1px solid var(--text);
}

.btn-group { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}

.text-link:hover { color: var(--text-muted); }

/* ── Hero carousel ── */
.hero-carousel {
  position: relative;
  height: 100vh;
  min-height: 560px;
  max-height: 900px;
  overflow: hidden;
  background: var(--bg-soft);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s var(--ease);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: calc(var(--nav-h) + 64px) 0 72px;
  text-align: center;
}

.hero-slide.is-active { opacity: 1; z-index: 1; }

.hero-carousel--placeholder .hero-slide::after { display: none; }

.hero-carousel--placeholder .hero-content { color: var(--text); }

.hero-carousel--placeholder .hero-dot {
  background: rgba(0,0,0,0.18);
}

.hero-carousel--placeholder .hero-dot.is-active { background: var(--text); }

.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  max-width: 720px;
  padding: 0 40px;
  min-height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-title {
  font-size: clamp(40px, 6vw, 56px);
  font-weight: 500;
  letter-spacing: 0;
  margin-bottom: 8px;
}

.hero-sub {
  font-size: clamp(15px, 2vw, 18px);
  opacity: 0.92;
  margin-bottom: 0;
}

.hero-content .btn-group { margin-top: 24px; }

.hero-dots {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
}

.hero-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  border: none;
  cursor: pointer;
  padding: 0;
}

.hero-dot.is-active { background: #fff; }

.hero-arrow {
  position: absolute;
  display: none;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 40px; height: 40px;
  border: none;
  background: rgba(255,255,255,0.85);
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  color: var(--text);
}

.hero-arrow.prev { left: 16px; }
.hero-arrow.next { right: 16px; }

/* ── Sections ── */
.section {
  padding: 100px 24px;
}

.section-soft { background: var(--bg-soft); }

.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.section-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.section-heading {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 500;
  letter-spacing: 0;
  margin-bottom: 16px;
}

.section-lead {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 640px;
  line-height: 1.65;
}

.section-lead.center { margin: 0 auto; text-align: center; }

/* ── Product cards (home) ── */
.product-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}

@media (max-width: 768px) {
  .product-grid-2 { grid-template-columns: 1fr; }
}

.product-card {
  background: transparent;
  border: 0;
  border-radius: 0;
  overflow: hidden;
  transition: opacity 0.2s var(--ease);
}

.product-card:hover { opacity: 0.9; }

.product-card .visual-product { display: block; }

.product-card-body {
  padding: 24px 16px 0;
  text-align: center;
}

.product-card h3 {
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 8px;
}

.product-card p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

/* ── Line flow ── */
.line-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 32px 0;
}

.line-step {
  flex: 1 1 140px;
  padding: 8px 12px;
  background: transparent;
  border: 0;
  border-radius: 0;
  font-size: 14px;
  text-align: center;
}

.line-step span {
  display: block;
  font-size: 11px;
  color: var(--text-dim);
  margin-bottom: 4px;
}

/* ── Dual promo ── */
.dual-promo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

@media (max-width: 768px) {
  .dual-promo { grid-template-columns: 1fr; }
}

.promo-block {
  padding: 72px 48px;
  background: var(--bg);
  border: 0;
}

.promo-block:nth-child(even) { background: var(--bg-soft); }

.promo-block h3 {
  font-size: 28px;
  font-weight: 500;
  margin-bottom: 12px;
}

.promo-block p {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 20px;
  max-width: 360px;
}

/* ── Dual banner ── */
.dual-banner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 580px;
}

@media (max-width: 768px) {
  .dual-banner { grid-template-columns: 1fr; }
}

.banner-item {
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 40px;
  min-height: 560px;
  overflow: hidden;
  background: var(--bg-soft);
}

.banner-item--light::after { display: none; }

.banner-item--light .banner-content { color: var(--text); }

.banner-content {
  position: relative;
  z-index: 1;
  color: #fff;
}

.banner-content h3 {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 500;
  margin-bottom: 16px;
  max-width: 320px;
}

/* ── Spec groups (product page) ── */
.spec-groups {
  display: grid;
  gap: 32px;
  margin-top: 48px;
}

.spec-group h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.spec-list {
  list-style: none;
  display: grid;
  gap: 12px;
}

.spec-list li {
  font-size: 15px;
  color: var(--text-muted);
  padding-left: 16px;
  position: relative;
}

.spec-list li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: var(--text);
  font-weight: bold;
}

/* ── Product order layout ── */
.product-order {
  display: grid;
  grid-template-columns: minmax(0, 58%) minmax(var(--sidebar-w), 42%);
  min-height: calc(100vh - var(--nav-h));
  margin-top: var(--nav-h);
}

.product-visual-pane {
  min-height: calc(100vh - var(--nav-h));
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(40px, 6vw, 88px);
}

.product-visual-pane .visual-product-lg { flex-shrink: 0; }

.product-sidebar {
  padding: clamp(40px, 5vw, 64px) clamp(32px, 4vw, 56px);
  border-left: var(--border-subtle);
  background: var(--bg);
  overflow-y: auto;
}

.product-sidebar h1 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 500;
  margin-bottom: 8px;
}

.product-sidebar .tagline {
  font-size: 17px;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.sidebar-summary {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

.sidebar-summary dt {
  font-weight: 600;
  color: var(--text);
  margin-top: 14px;
}

.sidebar-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 32px;
}

.sidebar-actions .btn { width: 100%; }

@media (min-width: 961px) {
  .product-visual-pane,
  .product-sidebar {
    position: sticky;
    top: var(--nav-h);
    align-self: start;
    height: calc(100vh - var(--nav-h));
  }
}

.sidebar-actions .text-link {
  align-self: center;
  margin-top: 4px;
}

@media (max-width: 960px) {
  .product-order { grid-template-columns: 1fr; }
  .product-visual-pane {
    min-height: 56vh;
  }
  .product-sidebar {
    border-left: none;
    border-top: var(--border-subtle);
  }
}
/* Energy and pellet pages */
.energy-page .site-nav {
  background: rgba(255, 255, 255, 0.98);
}

.pellet-hero { display: none; }

.energy-hero {
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: calc(var(--nav-h) + 80px) 24px 88px;
  background: var(--bg-soft);
  text-align: center;
}

.energy-hero .section-inner {
  max-width: 720px;
}

.energy-hero h1 {
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 500;
  letter-spacing: 0;
  margin-bottom: 12px;
}

.energy-hero p {
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.7;
}

.energy-hero .btn { margin-top: 28px; }

.pellet-config {
  max-width: min(1440px, 100%);
  margin: 0 auto;
  padding: clamp(48px, 7vw, 96px) clamp(24px, 4vw, 56px) var(--section-pad-y);
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--sidebar-w);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.pellet-products {
  position: sticky;
  top: calc(var(--nav-h) + 32px);
  align-self: start;
}

.pellet-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.pellet-heading h1 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 500;
  margin-bottom: 10px;
}

.pellet-heading p:not(.section-label) {
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.7;
}

.pellet-product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 40px);
}

.pellet-card {
  background: #fff;
  border: 0;
  border-radius: var(--card-radius);
  overflow: visible;
}

.pellet-card-media {
  display: block;
  width: 100%;
  object-fit: contain;
  object-position: center center;
  aspect-ratio: 4 / 3;
  height: auto;
  max-height: clamp(260px, 28vw, 380px);
  padding: 0;
  background: transparent;
  border: 0;
}

.pellet-card-body {
  padding: 24px 0 0;
}

.pellet-card h2 {
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 500;
  margin-bottom: 8px;
}

.pellet-card-body p:not(.section-label) {
  color: var(--text-muted);
  font-size: 14px;
}

.pellet-card-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  margin: 22px 0;
  color: var(--text);
  font-size: 14px;
}

.pellet-card-meta span:first-child {
  font-size: 26px;
  font-weight: 500;
}

.stepper {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px auto;
  align-items: center;
  gap: 8px;
}

.stepper button,
.stepper input {
  height: 44px;
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  background: #fff;
  color: var(--text);
  font: inherit;
}

.stepper button {
  cursor: pointer;
  font-size: 18px;
}

.stepper input {
  width: 100%;
  padding: 0 10px;
  text-align: center;
}

.stepper span {
  color: var(--text-muted);
  font-size: 13px;
}

.pellet-panel {
  display: grid;
  gap: 24px;
  padding: 0;
  border: 0;
  border-radius: var(--card-radius);
  background: #fff;
}

.pellet-panel-title {
  padding-bottom: 4px;
}

.pellet-panel-title h2 {
  font-size: 28px;
  font-weight: 500;
  margin-bottom: 6px;
}

.pellet-panel-title p:not(.section-label) {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}

.pellet-panel-section {
  padding-top: 22px;
  border-top: var(--border-subtle);
}

.pellet-panel-section h2,
.pellet-summary h2 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 12px;
}

.segmented-options {
  display: grid;
  gap: 10px;
}

.option-row {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  background: #fff;
  cursor: pointer;
}

.option-row:has(input:checked) {
  border-color: var(--text);
  box-shadow: inset 0 0 0 1px var(--text);
}

.option-row input { margin-top: 3px; }

.payment-term-options { display: none; }
.payment-term-options.is-active { display: grid; gap: 10px; }
.option-row.is-nested { margin-left: 24px; }

.option-row strong,
.option-row small {
  display: block;
}

.option-row small {
  margin-top: 4px;
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.5;
}

.option-row.is-disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.delivery-extra {
  display: none;
  margin-top: 12px;
}

.delivery-extra.is-active {
  display: grid;
  gap: 10px;
}

.delivery-extra label {
  font-size: 13px;
  font-weight: 600;
}

.delivery-extra select,
.delivery-extra textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  background: #fff;
  color: var(--text);
  font: inherit;
}

.delivery-extra textarea {
  min-height: 76px;
  resize: vertical;
}

.delivery-extra small {
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.5;
}

.pellet-summary {
  padding-top: 22px;
  border-top: var(--border-subtle);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 14px;
}

.summary-row span:last-child {
  color: var(--text);
  text-align: right;
  white-space: nowrap;
}

.summary-row.total {
  margin-top: 8px;
  padding-top: 16px;
  border-bottom: 0;
  color: var(--text);
  font-weight: 600;
  font-size: 16px;
}

.summary-row.total span:last-child { font-size: 22px; }

.summary-divider {
  height: 1px;
  background: var(--border);
  margin: 16px 0;
}

.pellet-error {
  min-height: 20px;
  color: var(--text-muted);
  font-size: 13px;
}

.pellet-submit {
  width: 100%;
}

.pellet-submit:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.energy-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.energy-grid article {
  border: 0;
  border-radius: var(--card-radius);
  padding: 0;
  background: #fff;
}

.energy-grid h3 {
  margin: 18px 0 8px;
  font-size: 19px;
  font-weight: 600;
}

.energy-grid p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.65;
}

.energy-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
}

@media (max-width: 960px) {
  .pellet-config {
    grid-template-columns: 1fr;
  }
  .pellet-products,
  .pellet-panel {
    position: static;
  }
}

@media (max-width: 768px) {
  .pellet-product-grid,
  .energy-grid {
    grid-template-columns: 1fr;
  }
  .pellet-card-media {
    max-height: 220px;
  }
}
/* ── Footer ── */
.site-footer {
  padding: 48px 24px 32px;
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
}

.footer-brand {
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0;
  font-size: 15px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 13px;
  color: var(--text-muted);
}

.footer-links a:hover { color: var(--text); }

.footer-meta {
  width: 100%;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-dim);
}

.footer-meta a { text-decoration: underline; }

/* ── Reveal animation ── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ── Spacer for fixed nav on non-hero pages ── */
.page-top { padding-top: var(--nav-h); }
/* ── Mockup content rev.2 ── */
.btn-group-left { justify-content: flex-start; }

.product-card-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.product-card-actions .btn {
  min-width: 112px;
  padding-inline: 18px;
}

.upgrade-band {
  padding: 56px 24px;
  background: #f7f7f7;
  border-bottom: 1px solid var(--border);
}

.upgrade-band-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
}

.upgrade-copy h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 500;
  margin-bottom: 10px;
}

.upgrade-copy p {
  color: var(--text-muted);
  font-size: 16px;
  max-width: 640px;
}

.upgrade-note {
  margin-top: 12px;
  font-size: 13px !important;
  color: var(--text-dim) !important;
}

.config-kicker {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.config-panel {
  margin: 24px 0 18px;
}

.config-panel h2,
.config-heading-row h2 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
}

.config-heading-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.config-heading-row span {
  font-size: 12px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0;
}

.config-tiers {
  display: grid;
  gap: 10px;
}

.config-tier {
  width: 100%;
  min-height: 70px;
  display: grid;
  gap: 4px;
  text-align: left;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  background: #fff;
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}

.config-tier:hover {
  border-color: var(--text-muted);
  background: var(--bg-soft);
}

.config-tier.is-active {
  border-color: var(--text);
  box-shadow: inset 0 0 0 1px var(--text);
  background: #fff;
}

.config-tier-name {
  font-size: 15px;
  font-weight: 600;
}

.config-tier span:last-child {
  font-size: 13px;
  color: var(--text-muted);
}

.config-tier-meta {
  font-size: 13px;
  color: var(--text-muted);
}

.config-tier .config-tier-price {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.config-price {
  padding: 18px 0 10px;
  border-top: 1px solid var(--border);
}

.config-price span {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.config-price strong {
  display: block;
  font-size: 34px;
  line-height: 1.1;
  font-weight: 500;
  letter-spacing: 0;
}

.config-delivery {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.config-addons {
  display: grid;
  gap: 8px;
  padding: 16px 0 18px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.addon-toggle {
  position: relative;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  cursor: pointer;
}

.addon-toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.addon-ui {
  width: 20px;
  height: 20px;
  border: 1px solid var(--text-muted);
  border-radius: 4px;
  margin-top: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: #fff;
  font-size: 14px;
  line-height: 1;
}

.addon-toggle input:checked + .addon-ui {
  background: var(--text);
  border-color: var(--text);
}

.addon-toggle input:checked + .addon-ui::after { content: "✓"; }

.addon-standard {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  margin-top: 4px;
}

.addon-standard-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  min-height: 20px;
  padding: 2px 7px;
  border: 1px solid var(--text);
  border-radius: 999px;
  color: var(--text);
  background: #fff;
  font-size: 12px;
  line-height: 1;
}
.addon-copy {
  display: grid;
  gap: 3px;
}

.addon-copy strong {
  font-size: 14px;
  font-weight: 600;
}

.addon-copy em {
  font-style: normal;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.45;
}

.addon-note {
  margin: -2px 0 4px 32px;
  font-size: 12px;
  color: var(--text-muted);
}

.addon-note.is-visible { display: block; }

.addon-note-standard { margin-left: 42px; }

.addon-standard.is-hidden,
.addon-note.is-hidden,
.addon-note[hidden],
.addon-note-standard.is-hidden { display: none; }

.config-ota {
  margin-top: 2px;
  font-size: 13px;
  color: var(--text);
}

.config-summary { margin-top: 18px; }

@media (min-width: 961px) {
  .product-order { grid-template-columns: minmax(0, 58%) minmax(var(--sidebar-w), 42%); }
}

@media (max-width: 768px) {
  .upgrade-band-inner { grid-template-columns: 1fr; }
  .upgrade-band-inner .btn { width: 100%; }
  .btn-group-left { justify-content: stretch; }
  .btn-group-left .btn { flex: 1 1 150px; }
}


