:root {
  --bg: #f4f7f9;
  --text: #1d2834;
  --muted: #607080;
  --brand: #126b6f;
  --brand-dark: #0d4d50;
  --line: #dbe5ea;
  --card: #ffffff;
  --soft: #eaf4f2;
  --warning: #8a5a00;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
}

a {
  color: inherit;
}

.container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 68px;
}

.brand {
  color: var(--brand);
  font-weight: 800;
  text-decoration: none;
}

nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

nav a {
  color: var(--text);
  font-size: 0.95rem;
  text-decoration: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.75fr);
  gap: 1.5rem;
  padding: 2.2rem 0 1rem;
}

.hero-copy {
  padding: 2rem 0;
}

.eyebrow {
  margin: 0 0 0.5rem;
  color: var(--brand);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.05;
}

h2 {
  margin: 0;
  font-size: 1.8rem;
}

.hero-copy p:not(.eyebrow) {
  max-width: 700px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.6;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.75rem 1rem;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: var(--brand);
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.btn:hover {
  background: var(--brand-dark);
}

.btn:disabled {
  cursor: wait;
  opacity: 0.65;
}

.hero-panel,
.product-card,
.order-form {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 26px rgba(22, 36, 50, 0.06);
}

.hero-panel {
  display: grid;
  align-content: center;
  gap: 1rem;
  padding: 1.2rem;
}

.hero-panel div {
  padding: 1rem;
  border-radius: 8px;
  background: var(--soft);
}

.hero-panel strong,
.hero-panel span {
  display: block;
}

.hero-panel span {
  margin-top: 0.35rem;
  color: var(--muted);
  line-height: 1.45;
}

.section {
  padding: 1.6rem 0;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.toolbar {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(170px, 0.7fr);
  gap: 0.75rem;
  width: min(520px, 100%);
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #cbd9df;
  border-radius: 8px;
  padding: 0.72rem 0.8rem;
  color: var(--text);
  background: #fff;
  font: inherit;
}

textarea {
  resize: vertical;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.status {
  grid-column: 1 / -1;
  margin: 0;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: var(--card);
  font-weight: 700;
}

.status.error {
  color: var(--warning);
}

.product-card {
  overflow: hidden;
}

.product-photo {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #d9e7ea;
}

.product-body {
  padding: 1rem;
}

.product-body h3 {
  min-height: 2.6em;
  margin: 0 0 0.45rem;
  font-size: 1rem;
  line-height: 1.3;
}

.product-title-link {
  color: inherit;
  text-decoration: none;
}

.product-title-link:hover {
  color: var(--brand);
  text-decoration: underline;
}

.description,
.meta {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.price {
  margin: 0.8rem 0 0;
  color: var(--brand);
  font-size: 1.15rem;
  font-weight: 900;
}

.price-gross {
  margin: 0.3rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
}

.price-net { color: var(--brand-dark); }
.price span { font-size: 0.85em; }
.summary { line-height: 1.65; overflow-wrap: anywhere; }

.details-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  margin-top: 0.85rem;
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--brand);
  border-radius: 8px;
  color: var(--brand-dark);
  background: #fff;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.details-toggle:hover {
  background: var(--soft);
}

.summary {
  margin: 0;
  padding: 0.65rem 0.8rem;
  border-radius: 8px;
  color: var(--brand-dark);
  background: var(--soft);
  font-weight: 800;
}

.order-form {
  padding: 1rem;
}

.order-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.order-table .order-money { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.order-table tfoot th { text-transform: none; color: var(--brand-dark); white-space: nowrap; }
.order-table tfoot td, .order-table tfoot th { background: var(--soft); }
.order-grand-total { font-weight: 900; font-size: 1.05rem; }

.order-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  background: #fff;
}

th,
td {
  padding: 0.75rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

th {
  color: var(--muted);
  font-size: 0.82rem;
  text-transform: uppercase;
}

.order-product {
  display: grid;
  grid-template-columns: 64px 1fr;
  align-items: center;
  gap: 0.75rem;
}

.order-product img {
  width: 64px;
  height: 52px;
  border-radius: 6px;
  object-fit: cover;
}

.qty {
  max-width: 120px;
}

.customer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.form-required-note {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.required-mark {
  color: #b42318;
  font-weight: 800;
}

label {
  display: grid;
  gap: 0.35rem;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.field-hint {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 400;
  line-height: 1.35;
}

.wide {
  grid-column: 1 / -1;
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
}

.bottom-summary {
  margin-left: auto;
}

.form-message {
  margin: 0;
  color: var(--warning);
  font-weight: 700;
}

.order-cost-note {
  margin: 1rem 0 0;
  padding: 0.85rem 1rem;
  border-left: 4px solid var(--brand);
  color: var(--muted);
  background: var(--soft);
  line-height: 1.5;
}

.product-price-tax {
  margin-top: -0.6rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.product-hero {
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}

.product-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.9fr);
  gap: 2rem;
  align-items: center;
  padding: 2rem 0;
}

.product-hero-copy p:not(.eyebrow),
.split-section p,
.economics-inner p,
.cta-section p {
  color: var(--muted);
  line-height: 1.6;
}

.product-hero-media {
  margin: 0;
}

.product-hero-media img,
.use-card img {
  display: block;
  width: 100%;
  object-fit: cover;
  background: #d9e7ea;
}

.product-hero-media img {
  aspect-ratio: 4 / 3;
  border-radius: 8px;
}

.product-detail-meta {
  margin-bottom: 0;
  font-size: 0.92rem;
}

.back-to-catalog {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--brand-dark);
  font-size: 0.92rem;
  font-weight: 800;
}

.product-detail-price {
  margin: 0.65rem 0 0;
  color: var(--brand);
  font-size: 1.5rem;
  font-weight: 900;
}

.product-availability {
  margin: 0.3rem 0 1rem;
  font-weight: 700;
}

.product-detail-content {
  max-width: 900px;
}

.product-detail-content p,
.product-common-info p,
.manufacturer-info p,
.product-faq p,
.error-page > p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.7;
}

.product-detail-content h2,
.product-specifications h2,
.product-common-info h2,
.manufacturer-info h2,
.product-faq h2 {
  margin-bottom: 0.75rem;
}

.product-rich-description {
  color: var(--muted);
  line-height: 1.7;
}

.product-rich-description h4 {
  margin: 1.1rem 0 0.4rem;
  color: var(--text);
  font-size: 1rem;
}

.product-rich-description h4:first-child {
  margin-top: 0;
}

.product-rich-description p,
.product-rich-description ul,
.product-rich-description ol {
  margin: 0.4rem 0 0;
}

.product-rich-description ul,
.product-rich-description ol {
  padding-left: 1.3rem;
}

.product-specifications,
.product-common-info,
.manufacturer-info,
.product-faq {
  max-width: 1000px;
}

.product-spec-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 0;
}

.product-spec-grid > div,
.product-common-info,
.manufacturer-info > div,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
}

.product-spec-grid > div {
  padding: 0.9rem;
}

.product-spec-grid dt {
  color: var(--brand-dark);
  font-weight: 800;
}

.product-spec-grid dd {
  margin: 0.35rem 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.product-common-info {
  padding: 1.2rem;
}

.manufacturer-info {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.manufacturer-info > div {
  padding: 1.2rem;
}

.product-common-info p:last-child {
  margin-bottom: 0;
}

.faq-list {
  display: grid;
  gap: 0.65rem;
}

.faq-list details {
  padding: 0.9rem 1rem;
}

.faq-list summary {
  color: var(--brand-dark);
  font-weight: 800;
  cursor: pointer;
}

.faq-list p {
  margin: 0.65rem 0 0;
}

.product-detail-actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  padding-bottom: 2.5rem;
}

.error-page {
  min-height: 55vh;
  padding-top: 4rem;
}

.benefit-grid,
.use-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.info-card,
.use-card,
.economics-inner,
.cta-section {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 26px rgba(22, 36, 50, 0.06);
}

.info-card {
  padding: 1rem;
}

.info-card h3,
.use-card h3 {
  margin: 0.6rem 0 0.4rem;
}

.info-card p,
.use-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}



.product-band {
  background: #eef3f0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}

.feature-list {
  display: grid;
  gap: 0.75rem;
}

.feature-list div {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.feature-list strong,
.feature-list span {
  display: block;
}

.feature-list span {
  margin-top: 0.3rem;
  color: var(--muted);
  line-height: 1.45;
}

.use-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.use-card {
  overflow: hidden;
}

.use-card img {
  aspect-ratio: 4 / 3;
}

.use-card div {
  padding: 1rem;
}

.economics {
  background: #ffffff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.economics-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.85fr);
  gap: 1.5rem;
  padding: 1.2rem;
}

.economics-points {
  display: grid;
  gap: 0.75rem;
}

.economics-points p {
  margin: 0;
  padding: 0.85rem;
  border-radius: 8px;
  background: var(--soft);
}

.cta-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem;
}

footer {
  margin-top: 2rem;
  padding: 1.5rem 0;
  color: #dce8ea;
  background: #102224;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

footer p {
  margin: 0.35rem 0 0;
}

.privacy-notice {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.privacy-notice a,
.legal-page a,
footer a {
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.footer-link {
  margin-top: 0.35rem;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 0.16em;
  cursor: pointer;
}

.btn.secondary {
  border: 1px solid var(--brand);
  color: var(--brand);
  background: #fff;
}

.btn.secondary:hover {
  color: #fff;
  background: var(--brand-dark);
}

.cookie-banner {
  position: fixed;
  z-index: 50;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  max-width: 1080px;
  margin: 0 auto;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(16, 34, 36, 0.22);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner strong {
  display: block;
  margin-bottom: 0.3rem;
}

.cookie-banner p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.cookie-banner a {
  color: var(--brand);
}

.cookie-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 0.6rem;
}

.legal-page {
  max-width: 900px;
}

.legal-page h1 {
  margin-bottom: 1.5rem;
}

.legal-page h2 {
  margin: 2.2rem 0 0.8rem;
  font-size: 1.5rem;
}

.legal-page p,
.legal-page li {
  line-height: 1.65;
}

.legal-page p,
.legal-page ul {
  color: var(--muted);
}

.legal-page code {
  color: var(--text);
}

.legal-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
}

.legal-table th,
.legal-table td {
  padding: 0.85rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  line-height: 1.5;
}

.legal-table tr:last-child td {
  border-bottom: 0;
}

@media (max-width: 940px) {
  .hero,
  .product-hero-inner,
  .product-grid,
  .benefit-grid,
  .split-section,
  .use-grid,
  .economics-inner,
  .manufacturer-info,
  .customer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-copy,
  .product-hero-copy,
  .split-section > div:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 700px) {
  .topbar-inner,
  .section-head,
  .form-actions,
  .cta-section {
    align-items: stretch;
    flex-direction: column;
  }

  .toolbar,
  .hero,
  .product-hero-inner,
  .product-grid,
  .benefit-grid,
  .split-section,
  .use-grid,
  .economics-inner,
  .manufacturer-info,
  .product-spec-grid,
  .customer-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 2.25rem;
  }

  .cookie-banner,
  .cookie-actions {
    align-items: stretch;
    flex-direction: column;
  }
}
