/* Feuger static catalogue — warm orange/brown brand */

:root {
  --color-bg: #faf6f2;
  --color-bg-gradient: linear-gradient(160deg, #faf6f2 0%, #f3ebe3 45%, #faf6f2 100%);
  --color-surface: #ffffff;
  --color-surface-alt: #f3ebe3;
  --color-text: #2c2416;
  --color-text-muted: #5c4f42;
  --color-primary: #c45c26;
  --color-primary-dark: #9e4520;
  --color-primary-light: #e8a87c;
  --color-brown: #5c3d2e;
  --color-border: #e0d4c8;
  --color-shadow: rgba(44, 36, 22, 0.1);
  --color-shadow-lg: rgba(44, 36, 22, 0.16);
  --color-glass: rgba(255, 255, 255, 0.72);
  --color-glass-border: rgba(255, 255, 255, 0.55);
  --color-footer-bg: #5c3d2e;
  --color-footer-text: #f3ebe3;
  --font-sans: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
  --radius: 10px;
  --radius-lg: 16px;
  --container: min(1120px, 100% - 2rem);
  --header-h: 72px;
}

[data-theme="dark"] {
  --color-bg: #1a1410;
  --color-bg-gradient: linear-gradient(160deg, #1a1410 0%, #261c16 50%, #1a1410 100%);
  --color-surface: #2a211a;
  --color-surface-alt: #352820;
  --color-text: #f5efe8;
  --color-text-muted: #d9cdc0;
  --color-primary: #e88a55;
  --color-primary-dark: #f0b890;
  --color-primary-light: #c45c26;
  --color-brown: #f0e4d8;
  --color-border: #4a3a30;
  --color-shadow: rgba(0, 0, 0, 0.35);
  --color-shadow-lg: rgba(0, 0, 0, 0.45);
  --color-glass: rgba(42, 33, 26, 0.92);
  --color-glass-border: rgba(255, 255, 255, 0.1);
  --color-footer-bg: #221a14;
  --color-footer-text: #f0e4d8;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 1rem;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  background-image: var(--color-bg-gradient);
  min-height: 100vh;
  overflow-x: clip;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-primary-dark);
}

.container {
  width: var(--container);
  max-width: 100%;
  margin-inline: auto;
  min-width: 0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 200;
  padding: 0.5rem 1rem;
  background: var(--color-primary);
  color: #fff;
  border-radius: var(--radius);
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

/* Header */
.site-header {
  position: relative;
  z-index: 100;
  background: var(--color-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 4px 24px var(--color-shadow);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem 1.25rem;
  flex-wrap: wrap;
}

.header-utilities {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-inline-start: auto;
  flex-shrink: 0;
}

.lang-toggle {
  display: flex;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  overflow: hidden;
  background: var(--color-surface);
}

.lang-btn {
  padding: 0.3rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 700;
  border: none;
  background: transparent;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.lang-btn.is-active {
  background: var(--color-primary);
  color: #fff;
}

.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  background: var(--color-surface);
  color: var(--color-brown);
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.theme-toggle:hover {
  border-color: var(--color-primary-light);
  box-shadow: 0 2px 8px var(--color-shadow);
}

.theme-icon-dark {
  display: none;
}

[data-theme="dark"] .theme-icon-light {
  display: none;
}

[data-theme="dark"] .theme-icon-dark {
  display: inline;
}

.glass-panel {
  background: var(--color-glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--color-glass-border);
  box-shadow: 0 8px 32px var(--color-shadow);
}

.brand img {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.site-nav {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  flex: 1 1 auto;
  justify-content: center;
}

.brand {
  flex-shrink: 0;
}

.site-nav a {
  text-decoration: none;
  color: var(--color-brown);
  font-weight: 500;
  font-size: 0.95rem;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--color-primary);
}

.site-nav a[aria-current="page"] {
  color: var(--color-primary);
  font-weight: 700;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-surface);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-brown);
}

.mobile-nav {
  display: none;
  flex-direction: column;
  padding: 0 1rem 1rem;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
}

.mobile-nav a {
  padding: 0.75rem 0;
  text-decoration: none;
  color: var(--color-brown);
  font-weight: 500;
  border-bottom: 1px solid var(--color-border);
}

.mobile-nav:not([hidden]) {
  display: flex;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, #f3ebe3 0%, #faf6f2 55%, #fff 100%);
  border-bottom: 1px solid var(--color-border);
  padding: 3rem 0 3.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
  min-width: 0;
}

.hero-copy {
  min-width: 0;
}

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

.hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1.2;
  color: var(--color-brown);
  margin: 0 0 1rem;
}

.lead {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  max-width: 36rem;
  margin: 0 0 1.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-visual {
  display: flex;
  justify-content: center;
  opacity: 0.92;
}

.hero-visual img {
  max-width: 220px;
}

.hero-product-montage {
  position: relative;
  width: 100%;
  max-width: 420px;
  min-height: 320px;
  align-items: center;
  isolation: isolate;
  overflow: clip;
}

.hero-product-montage::before {
  content: "";
  position: absolute;
  inset: 18% 12% 10%;
  border-radius: 999px;
  background: radial-gradient(circle at center, rgba(196, 92, 38, 0.18), rgba(196, 92, 38, 0));
  z-index: -1;
}

.hero-product {
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 18px 24px rgba(44, 36, 22, 0.18));
}

.hero-product-montage .hero-product-primary {
  max-width: 250px;
}

.hero-product-montage .hero-product-secondary,
.hero-product-montage .hero-product-tertiary {
  position: absolute;
  max-width: 145px;
  opacity: 0.96;
}

.hero-product-montage .hero-product-secondary {
  inset-inline-start: 2%;
  bottom: 1rem;
}

.hero-product-montage .hero-product-tertiary {
  inset-inline-end: 0;
  top: 1.75rem;
}

/* Sections */
.section {
  padding: 3.5rem 0;
}

.section-head {
  margin-bottom: 2rem;
}

.section-head h2 {
  font-size: 1.75rem;
  color: var(--color-brown);
  margin: 0 0 0.5rem;
}

.section-head p {
  margin: 0;
  color: var(--color-text-muted);
  max-width: 40rem;
}

/* Toolbar */
.toolbar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.search-wrap input {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-surface);
}

.search-wrap input:focus {
  outline: 2px solid var(--color-primary-light);
  border-color: var(--color-primary);
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filter-btn {
  padding: 0.45rem 0.9rem;
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: var(--color-surface);
  color: var(--color-text-muted);
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.filter-btn:hover {
  border-color: var(--color-primary-light);
  color: var(--color-primary-dark);
}

.filter-btn.is-active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

.results-summary {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin: 0 0 1rem;
}

.empty-state {
  text-align: center;
  padding: 2rem;
  color: var(--color-text-muted);
}

/* Product grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: 1.25rem;
  min-width: 0;
}

.featured-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
}

.product-card {
  background: var(--color-glass);
  border: 1px solid var(--color-glass-border);
  border-radius: var(--radius-lg);
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  height: 100%;
  box-shadow: 0 8px 28px var(--color-shadow);
  overflow: hidden;
  min-width: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px var(--color-shadow-lg);
}

.product-card-media {
  background: linear-gradient(160deg, var(--color-surface-alt) 0%, var(--color-surface) 55%, var(--color-surface-alt) 100%);
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  border-bottom: 1px solid var(--color-border);
  overflow: hidden;
  position: relative;
}

.product-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.product-card-media img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  object-position: center;
  display: block;
  padding: 0.75rem 1rem;
  box-sizing: border-box;
  transition: transform 0.25s ease;
}

.product-card:hover .product-card-media img {
  transform: scale(1.04);
}

.featured-grid .product-card-media {
  min-height: 200px;
}

.featured-grid .product-card-media img {
  height: 200px;
  padding: 0.5rem 0.85rem;
}

.product-card-body,
.card-actions {
  padding-inline: 1.25rem;
}

.product-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.55rem;
  padding-top: 1rem;
  min-height: 0;
}

.card-actions {
  padding-bottom: 1.25rem;
}

.product-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.5rem;
  min-width: 0;
}

.product-model {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin: 0;
  line-height: 1.1;
}

.product-category {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-primary);
  background: var(--color-surface-alt);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  text-align: end;
  line-height: 1.25;
  max-width: 58%;
  overflow-wrap: anywhere;
}

.product-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-brown);
  margin: 0;
  line-height: 1.35;
  order: 1;
  min-width: 0;
  overflow-wrap: anywhere;
}

.product-summary {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin: 0;
  flex: none;
  line-height: 1.45;
  order: 3;
  overflow-wrap: normal;
}

.product-card-compact .product-summary {
  min-height: 2.6em;
}

.capacity-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 0.75rem;
  font-size: 0.8rem;
  padding: 0.75rem;
  background: var(--color-surface-alt);
  background: color-mix(in srgb, var(--color-surface-alt) 86%, transparent);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  margin: 0.05rem 0 0.2rem;
  order: 2;
}

.capacity-grid-compact {
  padding: 0.65rem;
  gap: 0.45rem 0.6rem;
  font-size: 0.75rem;
}

.capacity-grid > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.1rem;
  min-width: 0;
}

.capacity-grid dt {
  color: var(--color-text-muted);
  margin: 0;
  line-height: 1.25;
}

.capacity-grid dd {
  margin: 0;
  font-weight: 700;
  text-align: start;
  color: var(--color-text);
  line-height: 1.2;
}

.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 0.45rem;
  order: 4;
  margin-top: 0;
}

.feature-tag {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.1rem 0;
  background: transparent;
  border: none;
  border-radius: 0;
  color: var(--color-text-muted);
  cursor: default;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.feature-tag::before {
  content: "·";
  margin-inline-end: 0.35rem;
  color: var(--color-border);
  font-weight: 400;
}

.feature-tags .feature-tag:first-child::before {
  content: none;
  margin: 0;
}

.feature-tag::before {
  content: "/";
  margin-inline-end: 0.45rem;
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.5rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: #fff;
  box-shadow: 0 4px 14px rgba(196, 92, 38, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, #7a3518 100%);
  box-shadow: 0 6px 18px rgba(196, 92, 38, 0.45);
}

.btn-secondary {
  background: var(--color-surface);
  color: var(--color-primary-dark);
  border: 1px solid var(--color-primary);
}

.btn-secondary:hover {
  background: var(--color-surface-alt);
}

.btn-ghost {
  background: transparent;
  color: var(--color-brown);
  border: 1px solid var(--color-border);
}

.btn-ghost:hover {
  border-color: var(--color-primary);
  color: var(--color-primary-dark);
}

/* Comparison */
.comparison-section {
  background: var(--color-surface-alt);
  border-block: 1px solid var(--color-border);
}

.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  min-width: 900px;
}

.comparison-table th,
.comparison-table td {
  padding: 0.65rem 0.75rem;
  text-align: start;
  border-bottom: 1px solid var(--color-border);
  vertical-align: top;
}

.comparison-table thead th {
  background: var(--color-brown);
  color: #fff;
  font-weight: 600;
  position: sticky;
  top: 0;
  z-index: 1;
}

.comparison-table thead .model-col {
  color: #fff;
}

.comparison-table tbody th {
  background: var(--color-surface-alt);
  font-weight: 600;
  color: var(--color-brown);
  white-space: nowrap;
  width: 11rem;
}

.comparison-table tbody tr:last-child th,
.comparison-table tbody tr:last-child td {
  border-bottom: none;
}

.comparison-table td {
  color: var(--color-text-muted);
}

.technical-value,
.technical-cell {
  direction: ltr;
  unicode-bidi: isolate;
}

.technical-cell {
  text-align: start;
}

[dir="rtl"] .technical-cell,
[dir="rtl"] .technical-cell {
  text-align: left;
}

[dir="rtl"] .technical-value {
  text-align: inherit;
}

.comparison-table .model-col {
  font-weight: 700;
  color: var(--color-primary-dark);
}

/* Datasheets */
.datasheet-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.datasheet-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}

.datasheet-item h3 {
  margin: 0 0 0.25rem;
  font-size: 1rem;
  color: var(--color-brown);
}

.datasheet-meta {
  margin: 0;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* Contact */
.contact-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: 0 4px 20px var(--color-shadow);
  border-left: 4px solid var(--color-primary);
}

.contact-card h2 {
  margin: 0 0 1rem;
  color: var(--color-brown);
}

.contact-lead {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-primary-dark);
  margin: 0 0 1rem;
}

.contact-note {
  margin: 1.25rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
  color: var(--color-text-muted);
}

.contact-form {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
}

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

.form-field {
  display: grid;
  gap: 0.4rem;
  font-weight: 700;
  color: var(--color-brown);
}

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

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-surface);
  color: var(--color-text);
  font: inherit;
  font-weight: 400;
  padding: 0.7rem 0.8rem;
}

.form-field textarea {
  resize: vertical;
  min-height: 9rem;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 2px solid color-mix(in srgb, var(--color-primary) 45%, transparent);
  border-color: var(--color-primary);
}

.captcha-wrap {
  margin-top: 1rem;
  min-height: 65px;
}

.form-status {
  min-height: 1.5rem;
  margin: 0.75rem 0 1rem;
  font-weight: 700;
}

.form-status.is-success {
  color: #1f7a3a;
}

.form-status.is-error {
  color: #b42318;
}

.contact-submit:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

/* Footer */
.site-footer {
  background: var(--color-footer-bg);
  color: var(--color-footer-text);
  padding: 2rem 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
}

.footer-inner p {
  margin: 0;
  font-size: 0.9rem;
}

.footer-wordmark {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  margin: 0;
  color: var(--color-primary-light);
  text-transform: uppercase;
}

.footer-support {
  font-size: 0.85rem;
  color: var(--color-footer-text);
  opacity: 0.92;
}

/* Modal */
.product-modal {
  border: none;
  padding: 0;
  max-width: 640px;
  width: calc(100% - 2rem);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.product-modal::backdrop {
  background: rgba(44, 36, 22, 0.5);
}

.modal-inner {
  padding: 1.5rem;
  max-height: 85vh;
  overflow-y: auto;
}

.modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 2.25rem;
  height: 2.25rem;
  border: none;
  background: var(--color-surface-alt);
  border-radius: 50%;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  color: var(--color-brown);
}

.modal-close:hover {
  background: var(--color-primary-light);
}

#modal-content h2 {
  margin: 0 2rem 0.25rem 0;
  color: var(--color-primary-dark);
}

#modal-content .modal-category {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin: 0 0 1rem;
}

#modal-content dl {
  display: grid;
  grid-template-columns: 9rem 1fr;
  gap: 0.35rem 1rem;
  font-size: 0.9rem;
  margin: 0 0 1rem;
}

#modal-content dt {
  color: var(--color-text-muted);
  margin: 0;
}

#modal-content dd {
  margin: 0;
}

#modal-content ul {
  margin: 0.25rem 0 1rem;
  padding-left: 1.25rem;
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

/* Homepage categories */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
  min-width: 0;
}

.category-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.25rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: inherit;
  box-shadow: 0 4px 16px var(--color-shadow);
  transition: border-color 0.15s, transform 0.1s;
}

.category-card:hover {
  border-color: var(--color-primary-light);
  transform: translateY(-2px);
}

.category-card h3 {
  margin: 0;
  font-size: 1.05rem;
  color: var(--color-brown);
}

.category-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  flex: 1;
}

.category-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-primary-dark);
}

.featured-section {
  background: var(--color-surface-alt);
  border-block: 1px solid var(--color-border);
}

.cta-band {
  background: linear-gradient(135deg, var(--color-brown) 0%, #4a3024 100%);
  color: #f3ebe3;
  padding: 2.5rem 0;
}

.cta-band .section-head h2,
.cta-band .section-head p {
  color: #f3ebe3;
}

.cta-band .section-head p {
  opacity: 1;
  color: #f5efe8;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.cta-band .btn-primary {
  background: var(--color-primary-light);
  color: var(--color-brown);
}

.cta-band .btn-primary:hover {
  background: #fff;
}

.cta-band .btn-secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
}

.cta-band .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

.support-note {
  text-align: center;
  padding: 1.5rem 0 0;
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

.support-note strong {
  color: var(--color-primary-dark);
}

/* Dark mode readability */
[data-theme="dark"] .hero {
  background: linear-gradient(135deg, #261c16 0%, #1a1410 55%, #2a211a 100%);
}

[data-theme="dark"] .hero h1,
[data-theme="dark"] .section-head h2,
[data-theme="dark"] .page-hero h1,
[data-theme="dark"] .product-title,
[data-theme="dark"] .category-card h3,
[data-theme="dark"] .contact-card h2 {
  color: var(--color-brown);
}

[data-theme="dark"] .lead,
[data-theme="dark"] .section-head p,
[data-theme="dark"] .page-hero p,
[data-theme="dark"] .product-summary,
[data-theme="dark"] .category-card p,
[data-theme="dark"] .support-note,
[data-theme="dark"] .results-summary,
[data-theme="dark"] .empty-state {
  color: var(--color-text-muted);
}

[data-theme="dark"] .eyebrow {
  color: var(--color-primary);
}

[data-theme="dark"] .hero-visual {
  opacity: 1;
}

[data-theme="dark"] .site-nav a,
[data-theme="dark"] .mobile-nav a {
  color: var(--color-brown);
}

[data-theme="dark"] .product-model {
  color: var(--color-primary-dark);
}

[data-theme="dark"] .product-category {
  background: var(--color-surface-alt);
  color: var(--color-primary);
}

[data-theme="dark"] .feature-tag {
  background: transparent;
  color: var(--color-text-muted);
}

[data-theme="dark"] .feature-tag::before {
  color: var(--color-border);
}

[data-theme="dark"] .capacity-grid {
  background: var(--color-surface-alt);
}

[data-theme="dark"] .capacity-grid dt {
  color: var(--color-text-muted);
}

[data-theme="dark"] .capacity-grid dd {
  color: var(--color-text);
}

[data-theme="dark"] .footer-wordmark {
  color: var(--color-primary);
}

[data-theme="dark"] .footer-inner p {
  color: var(--color-footer-text);
}

[data-theme="dark"] .footer-support {
  opacity: 1;
}

[data-theme="dark"] .featured-section {
  background: var(--color-surface-alt);
}

[data-theme="dark"] .cta-band {
  background: linear-gradient(135deg, #352820 0%, #261c16 100%);
}

[data-theme="dark"] .cta-band .section-head h2 {
  color: #f5efe8;
}

[data-theme="dark"] .support-note strong {
  color: var(--color-primary);
}

[data-theme="dark"] .product-detail-approval .product-hero {
  background: linear-gradient(135deg, #2a211a 0%, #352820 55%, #2a211a 100%);
}

[data-theme="dark"] .product-hero-media {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 4px 20px var(--color-shadow);
}

[data-theme="dark"] .stat-card {
  background: var(--color-surface);
  border-color: var(--color-border);
}

[data-theme="dark"] .spec-table-full th {
  background: var(--color-surface-alt);
}

[data-theme="dark"] .spec-table-full tbody tr:nth-child(even) td {
  background: rgba(53, 40, 32, 0.55);
}

[data-theme="dark"] .spec-table-full td {
  color: var(--color-text-muted);
}

[data-theme="dark"] a {
  color: var(--color-primary-dark);
}

/* RTL layout polish */
[dir="rtl"] .skip-link {
  left: auto;
  right: 1rem;
}

[dir="rtl"] .skip-link:focus {
  left: auto;
  right: 1rem;
}

[dir="rtl"] .header-inner {
  direction: rtl;
}

[dir="rtl"] .site-nav {
  direction: rtl;
}

[dir="rtl"] .header-utilities {
  direction: ltr;
}

[dir="rtl"] .lang-toggle {
  direction: ltr;
}

[dir="rtl"] .lightbox-close {
  right: auto;
  left: 1rem;
}

[dir="rtl"] .product-gallery-thumbs {
  direction: rtl;
}

[dir="rtl"] .product-card,
[dir="rtl"] .product-card-body,
[dir="rtl"] .product-title,
[dir="rtl"] .product-summary,
[dir="rtl"] .capacity-grid,
[dir="rtl"] .feature-tags,
[dir="rtl"] .product-hero-copy,
[dir="rtl"] .detail-section,
[dir="rtl"] .detail-panel,
[dir="rtl"] .usage-card,
[dir="rtl"] .related-section {
  text-align: start;
}

[dir="rtl"] .product-card-media {
  direction: ltr;
}

[dir="rtl"] .product-card-header {
  direction: rtl;
}

[dir="rtl"] .product-category {
  text-align: start;
}

[dir="rtl"] .card-actions,
[dir="rtl"] .product-detail-actions {
  justify-content: flex-start;
}

[dir="rtl"] .stat-card {
  text-align: start;
}

[dir="rtl"] .spec-table-full {
  direction: rtl;
}

[dir="rtl"] .spec-table-full th,
[dir="rtl"] .spec-table-full td {
  text-align: start;
}

[dir="rtl"] .recognition-list,
[dir="rtl"] .feature-tags {
  direction: rtl;
}

[dir="rtl"] .related-card {
  align-items: flex-start;
  text-align: start;
}

[dir="rtl"] .related-card img {
  align-self: center;
}

[dir="rtl"] .contact-card {
  border-left: none;
  border-right: 4px solid var(--color-primary);
}

[dir="rtl"] .corrections-note {
  border-left: none;
  border-right: 3px solid var(--color-primary);
  border-radius: var(--radius) 0 0 var(--radius);
}

[dir="rtl"] .capacity-grid dd {
  text-align: start;
}

[dir="rtl"] #modal-content h2 {
  margin: 0 0 0.25rem 2rem;
}

[dir="rtl"] .feature-list,
[dir="rtl"] #modal-content ul {
  padding-inline-start: 1.25rem;
  padding-inline-end: 0;
}

/* Inner page hero */
.page-hero {
  background: var(--color-surface-alt);
  border-bottom: 1px solid var(--color-border);
  padding: 2rem 0 2.5rem;
}

.page-hero h1 {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  color: var(--color-brown);
  margin: 0 0 0.5rem;
}

.page-hero p {
  margin: 0;
  color: var(--color-text-muted);
  max-width: 40rem;
}

/* Product detail page */
.product-detail {
  padding: 2.5rem 0 3.5rem;
}

.product-detail-header {
  margin-bottom: 2rem;
}

.product-detail-header .product-category {
  display: inline-block;
  margin-bottom: 0.5rem;
}

.product-detail-header h1 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  color: var(--color-brown);
  margin: 0 0 0.75rem;
  line-height: 1.2;
}

.product-detail-header h1 .model-label {
  color: var(--color-primary-dark);
}

.product-detail-summary {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  max-width: 42rem;
  margin: 0 0 1.5rem;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
  align-items: stretch;
}

.detail-grid .detail-panel .feature-list {
  column-count: 2;
  column-gap: 1.25rem;
}

.detail-panel {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
}

.detail-panel h2 {
  font-size: 1rem;
  color: var(--color-brown);
  margin: 0 0 1rem;
}

.recognition-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.recognition-list li {
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0;
  background: transparent;
  border-radius: 0;
  color: var(--color-text-muted);
  cursor: default;
}

.recognition-list li + li::before {
  content: "·";
  margin-inline: 0.45rem;
  color: var(--color-border);
  font-weight: 400;
}

.feature-list {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.feature-list li + li {
  margin-top: 0.35rem;
}

.spec-table {
  display: grid;
  grid-template-columns: 10rem 1fr;
  gap: 0.5rem 1rem;
  font-size: 0.9rem;
  margin: 0;
}

.spec-table dt {
  color: var(--color-text-muted);
  margin: 0;
}

.spec-table dd {
  margin: 0;
  font-weight: 500;
  direction: ltr;
  unicode-bidi: isolate;
}

.product-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
  margin-bottom: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
}

.related-section {
  padding-top: 0.5rem;
  border-top: 1px solid var(--color-border);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
}

.back-link:hover {
  color: var(--color-primary-dark);
}

.corrections-note {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  background: var(--color-surface-alt);
  border-left: 3px solid var(--color-primary);
  padding: 0.75rem 1rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 0 0 1.5rem;
}

/* Responsive */
/* FR106 approval detail page */
.product-detail-approval .product-hero {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2rem;
  align-items: start;
  padding: 2rem;
  border-radius: var(--radius-lg);
  margin-bottom: 2rem;
  background: linear-gradient(
    135deg,
    var(--color-surface-alt) 0%,
    var(--color-surface) 55%,
    var(--color-surface-alt) 100%
  );
}

.product-hero h1 {
  margin: 0.25rem 0;
  font-size: clamp(2rem, 5vw, 2.75rem);
  color: var(--color-primary-dark);
}

.product-hero-tagline {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-brown);
  margin: 0 0 0.75rem;
}

.product-hero-positioning {
  color: var(--color-text-muted);
  margin: 0;
  max-width: 32rem;
}

.product-hero-media {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.25rem;
  background: linear-gradient(160deg, var(--color-surface-alt) 0%, var(--color-surface) 100%);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 4px 20px var(--color-shadow);
}

.product-hero-media img {
  width: 100%;
  max-height: 280px;
  object-fit: contain;
  object-position: center;
  padding: 0.5rem;
  box-sizing: border-box;
  filter: drop-shadow(0 6px 16px var(--color-shadow));
}

/* Product detail gallery */
.product-gallery {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-width: 0;
}

.product-gallery-main {
  background: linear-gradient(160deg, var(--color-surface-alt) 0%, var(--color-surface) 100%);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 6px 24px var(--color-shadow);
  overflow: hidden;
}

.product-gallery-main-btn {
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  border: none;
  background: transparent;
  cursor: zoom-in;
  line-height: 0;
}

.product-gallery-main-btn:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.gallery-main-img {
  width: 100%;
  max-height: 380px;
  min-height: 280px;
  object-fit: contain;
  object-position: center;
  padding: 1.25rem 1.5rem;
  box-sizing: border-box;
  filter: drop-shadow(0 8px 20px var(--color-shadow));
}

.product-gallery-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.gallery-thumb {
  flex: 0 0 auto;
  width: 72px;
  height: 72px;
  padding: 0.25rem;
  border: 2px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-surface);
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.gallery-thumb:hover {
  border-color: var(--color-primary-light);
}

.gallery-thumb.is-active {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 1px var(--color-primary);
}

.gallery-thumb:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: calc(var(--radius) - 2px);
}

/* Image lightbox */
body.lightbox-open {
  overflow: hidden;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.image-lightbox[hidden] {
  display: none;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 20, 16, 0.88);
  cursor: zoom-out;
}

[data-theme="dark"] .lightbox-backdrop {
  background: rgba(0, 0, 0, 0.92);
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  inset-inline-end: 1rem;
  z-index: 2;
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.28);
}

.lightbox-close:focus-visible {
  outline: 2px solid var(--color-primary-light);
  outline-offset: 2px;
}

.lightbox-stage {
  position: relative;
  z-index: 1;
  max-width: min(960px, 100%);
  max-height: calc(100vh - 3rem);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
}

.lightbox-image {
  max-width: 100%;
  max-height: calc(100vh - 3rem);
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
}

[data-theme="dark"] .product-gallery-main {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 6px 24px var(--color-shadow);
}

[data-theme="dark"] .gallery-thumb {
  background: var(--color-surface-alt);
}

.detail-section {
  margin-bottom: 2rem;
}

.detail-section > h2 {
  font-size: 1.15rem;
  color: var(--color-brown);
  margin: 0 0 1rem;
}

.product-overview-text {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  max-width: 48rem;
}

.stat-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.stat-card {
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  text-align: center;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
}

.stat-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
  margin-bottom: 0.35rem;
}

.stat-value {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  direction: ltr;
  unicode-bidi: isolate;
}

.spec-table-full {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.spec-table-full th,
.spec-table-full td {
  padding: 0.65rem 0.75rem;
  text-align: start;
  border-bottom: 1px solid var(--color-border);
}

.spec-table-full th {
  width: 38%;
  color: var(--color-text-muted);
  font-weight: 600;
  background: var(--color-surface-alt);
}

.spec-table-full tbody tr:nth-child(even) td {
  background: rgba(243, 235, 227, 0.45);
}

.spec-table-full td {
  color: var(--color-text);
  direction: ltr;
  unicode-bidi: isolate;
}

.spec-table-full tr:last-child th,
.spec-table-full tr:last-child td {
  border-bottom: none;
}

.usage-section .usage-intro {
  margin: -0.25rem 0 1.25rem;
  max-width: 48rem;
  color: var(--color-text-muted);
  font-size: 1rem;
  line-height: 1.5;
}

.usage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.usage-card {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
}

.usage-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius-md);
  background: var(--color-surface-alt);
  color: var(--color-primary-dark);
  flex-shrink: 0;
}

.usage-icon svg {
  width: 1.35rem;
  height: 1.35rem;
}

.usage-card-title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-brown);
  line-height: 1.3;
}

.usage-card-caption {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.45;
  color: var(--color-text-muted);
}

[data-theme="dark"] .usage-card {
  background: var(--color-surface-alt);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.related-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, border-color 0.2s;
}

.related-card:hover {
  transform: translateY(-2px);
  border-color: var(--color-primary-light);
}

.related-model {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-primary-dark);
}

.related-title {
  font-size: 0.8rem;
  text-align: center;
  color: var(--color-text-muted);
}

@media (max-width: 1024px) {
  .featured-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .container {
    width: var(--container);
    min-width: 0;
  }

  .header-inner {
    gap: 0.5rem;
  }

  .brand img {
    height: 34px;
  }

  .header-utilities {
    gap: 0.4rem;
    order: 3;
    width: 100%;
    justify-content: flex-end;
    margin-inline-start: 0;
  }

  .lang-btn {
    padding: 0.25rem 0.5rem;
  }

  .theme-toggle {
    width: 2rem;
    height: 2rem;
  }

  .site-nav {
    display: none;
  }

  .header-utilities {
    order: 3;
  }

  .nav-toggle {
    display: flex;
  }

  .product-detail-approval .product-hero {
    grid-template-columns: 1fr;
  }

  .stat-cards {
    grid-template-columns: 1fr 1fr;
  }

  .related-grid {
    grid-template-columns: 1fr;
  }

  .usage-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .page-hero .container,
  .toolbar,
  .footer-inner {
    max-width: 100%;
    min-width: 0;
  }

  .hero h1,
  .page-hero h1,
  .lead,
  .page-hero p,
  .footer-inner p,
  .filter-btn {
    overflow-wrap: break-word;
  }

  .hero-visual {
    order: -1;
  }

  .hero-visual img {
    max-width: 160px;
  }

  .hero-product-montage {
    min-height: 230px;
  }

  .hero-product-montage .hero-product-primary {
    max-width: 180px;
  }

  .hero-product-montage .hero-product-secondary,
  .hero-product-montage .hero-product-tertiary {
    max-width: 100px;
  }

  .hero-product-montage .hero-product-secondary {
    inset-inline-start: 12%;
    bottom: 0.5rem;
  }

  .hero-product-montage .hero-product-tertiary {
    inset-inline-end: 10%;
    top: 0.75rem;
  }

  .section {
    padding: 2.5rem 0;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .filter-group {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }

  .page-hero p,
  .section-head p,
  .lead,
  .category-card p {
    max-width: 100%;
    overflow-wrap: normal;
  }

  .featured-grid {
    grid-template-columns: 1fr;
  }

  [dir="rtl"] .header-utilities {
    margin-inline-start: auto;
    margin-inline-end: 0;
  }

  .capacity-grid {
    grid-template-columns: 1fr;
  }

  .product-card-header {
    flex-direction: column;
    gap: 0.35rem;
  }

  .product-card-body {
    max-width: 100%;
    min-width: 0;
  }

  .product-category {
    max-width: 100%;
    text-align: start;
  }

  .product-title,
  .product-summary {
    max-width: 100%;
  }

  .capacity-grid {
    max-width: 100%;
  }

  .capacity-grid dd {
    text-align: start;
  }

  .detail-grid {
    grid-template-columns: 1fr;
  }

  .detail-grid .detail-panel .feature-list {
    column-count: 1;
  }

  .gallery-main-img {
    max-height: 300px;
    min-height: 220px;
    padding: 1rem;
  }

  .spec-table {
    grid-template-columns: 1fr;
  }

  .category-grid {
    grid-template-columns: 1fr;
  }

  .contact-card {
    padding: 1.25rem;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }
}
