:root {
  --bg: #f3f6f5;
  --surface: #ffffff;
  --well: #fbfcfc;
  --ink: #122421;
  --muted: #5b6f6b;
  --line: #e1e8e6;
  --teal: #0b6b63;
  --teal-soft: #e4f0ee;
  --on-teal: #ffffff;
  --save: #c2452e;
  --save-bg: #fbe9e4;
  --save-solid: #dd5237;
  --shadow: 0 12px 32px rgba(4, 40, 36, 0.12);
  --card: var(--surface);
  --accent: var(--teal);
  --accent-strong: var(--teal);
  --accent-soft: var(--teal-soft);
  --radius: 16px;
  --shadow-small: var(--shadow);
  --shadow-panel: var(--shadow);
  --display-font: "Archivo", Arial, sans-serif;
  --body-font: "Archivo", Arial, sans-serif;
  color-scheme: light;
}

:root[data-theme="dark"] {
  --bg: #0b1413;
  --surface: #121e1c;
  --well: #eef1f0;
  --ink: #e6efed;
  --muted: #8ba39e;
  --line: #223430;
  --teal: #3db3a5;
  --teal-soft: #123d38;
  --on-teal: #04211e;
  --save: #ff8a70;
  --save-bg: #3a2019;
  --save-solid: #dd5237;
  --shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
  color-scheme: dark;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --bg: #0b1413;
    --surface: #121e1c;
    --well: #eef1f0;
    --ink: #e6efed;
    --muted: #8ba39e;
    --line: #223430;
    --teal: #3db3a5;
    --teal-soft: #123d38;
    --on-teal: #04211e;
    --save: #ff8a70;
    --save-bg: #3a2019;
    --save-solid: #dd5237;
    --shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 1rem/1.5 var(--body-font);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); }
a:hover { color: var(--accent-strong); }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

.page-wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute;
  top: 0;
  left: -999px;
  z-index: 30;
  padding: 10px 16px;
  background: var(--card);
  font-weight: 600;
}

.skip-link:focus { top: 8px; left: 8px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.site-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 44px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-family: var(--display-font);
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: -0.3px;
  text-decoration: none;
}

.site-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--teal);
}

.site-mark-dot { display: block; border-radius: 50%; background: var(--on-teal); }
.site-mark-dot-small { width: 5px; height: 5px; opacity: 0.95; }
.site-mark-dot-large { width: 8px; height: 8px; opacity: 0.75; }

.primary-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

.primary-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 10px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.15s ease, background 0.15s ease;
}

.primary-nav a:hover { color: var(--teal); }

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

[data-theme-toggle][hidden] { display: none; }

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  gap: 7px;
  margin-left: 10px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
}

.theme-toggle:hover,
.theme-toggle[aria-pressed="true"] { border-color: var(--teal); color: var(--teal); }

.theme-toggle-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

.page-heading { margin: 40px 0 8px; }

.page-heading h1,
.deal-detail h1 {
  margin: 0 0 6px;
  font-family: var(--display-font);
  font-weight: 800;
  letter-spacing: -0.7px;
  line-height: 1.1;
}

.page-heading h1 { font-size: 30px; }
.page-heading p { margin: 0; max-width: 60ch; color: var(--muted); font-size: 15px; }

.deal-feed-heading { margin: 36px 0 24px; }
.deal-feed-heading-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}
.deal-feed-heading h1 {
  margin: 0 0 6px;
  font-family: var(--display-font);
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.8px;
  line-height: 1.1;
}
.deal-feed-heading p { margin: 0; color: var(--muted); font-size: 15px; }

.deal-live-count {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--teal-soft);
  color: var(--teal);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.deal-live-count-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

.status-strip {
  margin: 18px 0;
  padding: 13px 18px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-small);
}

.status-strip p { margin: 0; color: var(--muted); }
.status-strip strong { color: var(--accent-strong); }

.category-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 14px;
}

.category-breadcrumb a { font-weight: 700; }
.category-breadcrumb span::before { content: "/"; margin-right: 8px; }

.deal-category-navigation,
.more-categories,
.deal-category-badges,
.guide-related-categories,
.related-guides {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.deal-category-navigation { margin: 0 0 18px; }

.deal-category-navigation a,
.more-categories a,
.deal-category-badge {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.deal-category-navigation a:hover,
.more-categories a:hover,
.deal-category-badge:hover,
.deal-category-navigation a[aria-current="page"] {
  border-color: var(--teal);
  background: var(--teal-soft);
  color: var(--teal);
}

.more-categories { margin: 0 0 36px; }
.more-categories h2 { width: 100%; margin: 0 0 2px; font-family: var(--display-font); font-size: 18px; }
.deal-category-badges { margin-bottom: -6px; }
.related-guides { margin: 0 0 24px; }
.guide-related-categories { margin: 0 0 28px; }
.related-guides h2,
.guide-related-categories h2 { width: 100%; margin: 0 0 2px; font-family: var(--display-font); font-size: 18px; }
.related-guides a,
.guide-related-categories a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}
.related-guides a:hover,
.guide-related-categories a:hover { border-color: var(--teal); background: var(--teal-soft); color: var(--teal); }

.deal-feed-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 18px;
}

.deal-search-form {
  display: flex;
  flex: 1 1 320px;
  flex-wrap: wrap;
  gap: 12px;
}

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

.deal-search-input {
  flex: 1 1 200px;
  width: 100%;
  min-width: 200px;
  max-width: 320px;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
}

.deal-search-input:focus { border-color: var(--teal); outline-color: var(--teal); }

.deal-search-submit {
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--teal);
  border-radius: 11px;
  background: var(--teal);
  color: var(--on-teal);
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}

.deal-search-submit:hover { background: var(--accent-strong); }

.deal-expired-visibility {
  display: flex;
  margin: 0;
}

.deal-expired-visibility-control {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: 9px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 500;
}

.deal-expired-visibility-control:hover,
.deal-expired-visibility-control[aria-pressed="true"] { color: var(--teal); }

.deal-expired-visibility-track {
  display: inline-flex;
  align-items: center;
  width: 38px;
  height: 22px;
  padding: 3px;
  border-radius: 999px;
  background: var(--line);
}

.deal-expired-visibility-knob {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--surface);
  transition: transform 0.15s ease;
}

.deal-expired-visibility-control[aria-pressed="true"] .deal-expired-visibility-track { background: var(--teal); }
.deal-expired-visibility-control[aria-pressed="true"] .deal-expired-visibility-knob { transform: translateX(16px); }

.deal-empty-state {
  max-width: 460px;
  margin: 0 auto;
  padding: 64px 20px;
  text-align: center;
}

.deal-empty-state h2 {
  margin: 0;
  font-family: var(--display-font);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
}

.deal-empty-state p { margin: 4px 0 20px; color: var(--muted); font-size: 14px; }

.deal-empty-state-expired-link {
  display: block;
  width: fit-content;
  margin: 0 auto 12px;
  color: var(--accent-strong);
  font-weight: 700;
}

.deal-empty-state-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 8px;
  background: var(--accent);
  color: var(--on-teal);
  font-weight: 600;
  text-decoration: none;
}

.deal-empty-state-link:hover {
  background: var(--accent-strong);
  color: var(--on-teal);
}

.flash-notice,
.flash-alert {
  margin: 18px 0;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  font-weight: 600;
}

.flash-notice {
  background: var(--teal-soft);
  color: var(--teal);
}

.flash-alert {
  background: var(--save-bg);
  color: var(--save);
}

.submission-page { max-width: 560px; margin: 0 auto 36px; }

.submission-page .page-heading { margin: 40px 0 30px; }
.submission-page .page-heading h1 {
  margin-bottom: 8px;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.7px;
}
.submission-page .page-heading p { font-size: 15px; line-height: 1.55; }

.submission-form { display: grid; gap: 20px; }

.submission-field {
  display: grid;
  gap: 7px;
}

.submission-label { font: inherit; font-size: 13px; font-weight: 700; }

.submission-control {
  width: 100%;
  min-height: 44px;
  padding: 12px 15px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: 16px;
}

textarea.submission-control {
  min-height: 132px;
  resize: vertical;
}

.submission-submit {
  min-height: 44px;
  margin-top: 6px;
  padding: 14px;
  border: 0;
  border-radius: 12px;
  cursor: pointer;
  font: inherit;
}

.submission-success {
  padding: 56px 20px;
  text-align: center;
}

.submission-success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--teal-soft);
  color: var(--teal);
  font-size: 24px;
  font-weight: 800;
}

.submission-success-title {
  margin: 0 0 8px;
  font-family: var(--display-font);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.submission-success-message {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.submission-success-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 13px 26px;
  border-radius: 12px;
  background: var(--teal);
  color: var(--on-teal);
  font-size: 14.5px;
  font-weight: 700;
  text-decoration: none;
}

.submission-success-action:hover { color: var(--on-teal); filter: brightness(1.04); }

.submission-error {
  margin: 18px 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--save-bg);
  color: var(--save);
}

.submission-error h2 { margin: 0 0 6px; color: var(--save); font-size: 1.1rem; }
.submission-error p { margin: 0; color: var(--muted); }
.submission-error ul { margin: 10px 0 0; padding-left: 20px; }

.deal-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
  gap: 20px;
  margin: 0 0 28px;
}

.deal-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.deal-card:hover { transform: translateY(-3px); border-color: var(--teal); box-shadow: var(--shadow); }
.deal-card-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  padding: 20px;
  background: var(--well);
}
.deal-card-media img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.deal-card-body { display: flex; flex: 1; flex-direction: column; gap: 8px; padding: 16px 18px 18px; }

.vendor-name {
  margin: 0 0 4px;
  color: var(--accent-strong);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.deal-card-metadata { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.deal-card .vendor-name {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.deal-card time { color: var(--muted); font-size: 11px; font-weight: 500; letter-spacing: 0.3px; white-space: nowrap; }

.expired-marker {
  display: inline-block;
  width: fit-content;
  margin: 0 0 8px;
  padding: 3px 9px;
  border: 1px solid var(--save);
  border-radius: 999px;
  background: var(--save-bg);
  color: var(--save);
  font-size: 0.78rem;
  font-weight: 800;
}

.deal-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  margin: 0;
  padding: 5px 10px;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
}

.deal-card .expired-marker { padding: 5px 11px; background: rgba(30, 42, 40, 0.85); color: #ffffff; font-weight: 700; }
.deal-card-discount { background: var(--save-solid); color: #ffffff; letter-spacing: 0.2px; }

.deal-card h2 {
  display: -webkit-box;
  min-height: 42px;
  margin: 0;
  overflow: hidden;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.deal-card h2 a { color: var(--ink); text-decoration: none; }
.deal-card h2 a:hover { color: var(--teal); text-decoration: underline; }
.deal-card-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 9px; margin-top: auto; }

.price-current {
  margin: 0;
  color: var(--ink);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.3px;
  font-variant-numeric: tabular-nums;
}

.price-original { margin: 0; color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }

.savings {
  margin: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: var(--save);
  font-size: 12.5px;
  font-weight: 700;
}

.deal-card .savings { background: transparent; color: var(--save); }

.deal-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 36px;
}

.deal-pagination a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.deal-pagination a:hover { border-color: var(--teal); color: var(--teal); }

.back-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 28px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.back-link:hover { text-decoration: underline; }

.deal-detail-page { max-width: 1020px; margin: 0 auto; }
.deal-detail { margin-top: 10px; }

.deal-detail-overview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 36px;
  align-items: start;
}

.deal-detail-media {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  min-width: 0;
  padding: 36px;
  background: var(--well);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.deal-detail-media img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.deal-detail-content {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}

.deal-detail-content > * { margin: 0; }
.deal-detail-content:only-child { grid-column: 1 / -1; }
.deal-detail .vendor-name { color: var(--muted); }
.deal-detail h1 { font-size: 27px; font-weight: 800; letter-spacing: -0.5px; line-height: 1.25; }

.deal-expired-panel {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px 22px;
  border-radius: 14px;
  background: var(--save-bg);
}

.deal-expired-panel .expired-marker {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--save);
  font-size: 15px;
}

.deal-expired-panel a { color: var(--save); font-size: 13.5px; }

.price-panel { display: flex; flex-direction: column; gap: 14px; }

.deal-instructions {
  margin: 0;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.deal-price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 13px;
}

.price-panel .price-current { color: var(--accent-strong); font-size: 40px; line-height: 1.1; }
.price-panel .price-original { font-size: 17px; }
.price-panel .savings {
  display: inline-block;
  padding: 6px 13px;
  border-radius: 999px;
  background: var(--save-bg);
  color: var(--save);
  font-size: 13.5px;
}

.vendor-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  min-height: 54px;
  padding: 0 28px;
  border-radius: 12px;
  background: var(--accent);
  color: var(--on-teal);
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.vendor-cta:hover { color: var(--on-teal); filter: brightness(1.04); transform: translateY(-1px); }

.deal-secondary-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}

.deal-secondary-actions .button_to { margin: 0; }

.deal-secondary-control {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.deal-secondary-control:hover {
  border-color: var(--accent);
  background: transparent;
  color: var(--accent-strong);
}

.deal-secondary-control:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.like-count {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.affiliate-disclosure {
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  color: var(--muted);
  font-size: 0.8rem;
}

.equipment-specifications,
.comparable-live-deals {
  margin-top: 28px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.equipment-specifications h2,
.comparable-live-deals h2 {
  margin: 0 0 12px;
  font-family: var(--display-font);
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.2;
}

.equipment-specification-facts,
.comparable-live-deal dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  margin: 0;
}

.equipment-specification-facts div,
.comparable-live-deal dl div { min-width: 0; }
.equipment-specification-facts dt,
.comparable-live-deal dt { color: var(--muted); font-size: 12px; font-weight: 700; }
.equipment-specification-facts dd,
.comparable-live-deal dd { margin: 2px 0 0; overflow-wrap: anywhere; }
.equipment-specification-source { margin: 18px 0 0; color: var(--muted); font-size: 14px; }

.comparable-live-deals > p { margin: 0 0 16px; color: var(--muted); }
.comparable-live-deal-list { display: grid; gap: 12px; }
.comparable-live-deal { padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--well); }
.comparable-live-deal h3 { margin: 0; font-family: var(--display-font); font-size: 17px; line-height: 1.35; }
.comparable-live-deal h3 a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); font-weight: 800; text-decoration: none; }
.comparable-live-deal h3 a:hover { color: var(--teal); text-decoration: underline; }
.comparable-live-deal-vendor { margin: 2px 0 0; color: var(--muted); font-size: 13px; font-weight: 700; }
.comparable-live-deal-price { margin: 6px 0 14px; color: var(--teal); font-size: 18px; font-weight: 800; }

.deal-description {
  min-width: 0;
  margin-top: 28px;
  overflow-wrap: anywhere;
}

.deal-description > h2 {
  margin: 0 0 14px;
  font-family: var(--display-font);
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.15;
}

.deal-description-body { min-width: 0; font-family: var(--body-font); }

.deal-description-body h1,
.deal-description-body h2,
.deal-description-body h3,
.deal-description-body h4,
.deal-description-body h5,
.deal-description-body h6 {
  margin: 28px 0 14px;
  font-family: var(--display-font);
  font-weight: 600;
  line-height: 1.15;
}

.deal-description-body h1 { font-size: 1.9rem; }
.deal-description-body h2 { font-size: 1.4rem; }
.deal-description-body h3 { font-size: 1.35rem; }
.deal-description-body h4 { font-size: 1rem; }
.deal-description-body h5 { font-size: 0.93rem; }
.deal-description-body h6 { font-size: 0.8rem; }

.deal-description-body > :first-child { margin-top: 0; }

.deal-description-body p,
.deal-description-body ul,
.deal-description-body ol,
.deal-description-body blockquote,
.deal-description-body pre,
.deal-description-body table { margin: 0 0 24px; }

.deal-description-body ul,
.deal-description-body ol {
  padding-left: 20px;
  list-style-position: outside;
}

.deal-description-body li + li { margin-top: 6px; }

.deal-description-body h1,
.deal-description-body h2,
.deal-description-body h3,
.deal-description-body h4,
.deal-description-body h5,
.deal-description-body h6,
.deal-description-body p,
.deal-description-body li,
.deal-description-body blockquote,
.deal-description-body th,
.deal-description-body td,
.deal-description-body a,
.deal-description-body code { overflow-wrap: anywhere; }

.deal-description-body a { text-decoration: underline; }

.deal-description-body blockquote {
  padding-left: 14px;
  border-left: 1px solid var(--line);
  color: var(--muted);
}

.deal-description-body code {
  padding: 2px 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  font-family: var(--body-font);
}

.deal-description-body pre {
  max-width: 100%;
  padding: 14px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
  font-family: var(--body-font);
  white-space: pre;
}

.deal-description-body pre code {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow-wrap: normal;
  white-space: pre;
}

.deal-description-body table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-collapse: collapse;
  font-family: var(--body-font);
}

.deal-description-body th,
.deal-description-body td {
  padding: 10px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.resources-page { max-width: 880px; margin: 0 auto; }
.resources-heading { margin-bottom: 10px; }

.resources-disclosure {
  margin: 0 0 32px;
  color: var(--muted);
  font-size: 12.5px;
}

.resource-list {
  margin: 0 0 36px;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  list-style: none;
}

.resource-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 18px 22px;
}

.resource-row + .resource-row { border-top: 1px solid var(--line); }

.resource-initial {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--teal);
  color: var(--on-teal);
  font-size: 15px;
  font-weight: 800;
}

.resource-content { min-width: 0; }
.resource-content h2 { margin: 0; font-family: var(--display-font); font-size: 15px; font-weight: 700; line-height: 1.4; }
.resource-content p { margin: 0; }
.resource-category { margin-top: 2px !important; color: var(--teal); font-size: 11px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; }
.resource-description { margin-top: 2px !important; color: var(--muted); font-size: 13.5px; line-height: 1.5; overflow-wrap: anywhere; }
.resource-referral { margin-top: 6px !important; color: var(--muted); font-size: 12.5px; }

.resource-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.resource-action:hover { color: var(--teal); text-decoration: underline; }

.resources-empty-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 8px;
  background: var(--accent);
  color: var(--on-teal);
  font-weight: 600;
  text-decoration: none;
}

.resources-empty-action:hover { color: var(--on-teal); filter: brightness(1.04); }

.resources-empty-state {
  max-width: 460px;
  margin: 0 auto;
  padding: 64px 20px;
  text-align: center;
}

.resources-empty-state h2 { margin: 0; font-family: var(--display-font); font-size: 17px; font-weight: 600; line-height: 1.4; }
.resources-empty-state p { margin: 4px 0 20px; color: var(--muted); font-size: 14px; }

.resources-deals {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin: 0 0 36px;
}

.resources-deals h2,
.resources-deals p { margin: 0; }

.static-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 0 64px;
}

.static-page-heading { margin-bottom: 32px; }
.static-page h1,
.static-page h2 {
  font-family: var(--display-font);
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.15;
}
.static-page h1 { margin: 0 0 8px; font-size: 32px; }
.static-page h2 { margin: 0 0 12px; font-size: 22px; }
.static-page p { margin: 0 0 14px; max-width: 65ch; }
.static-page-heading > p:last-child,
.static-page-updated { color: var(--muted); }
.static-page section + section { margin-top: 32px; }

.static-page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.static-page-action {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--teal);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.alerts-page { max-width: 960px; margin: 40px auto 48px; }
.alerts-heading { margin-bottom: 24px; }
.alerts-heading h1 { margin: 0 0 8px; font-family: var(--display-font); font-size: 32px; font-weight: 800; letter-spacing: -0.7px; line-height: 1.1; }
.alerts-heading p { margin: 0; color: var(--muted); }

.alert-options {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(220px, 0.8fr);
  gap: 18px;
}

.alert-option,
.telegram-alert-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}

.alert-option-primary { border-color: var(--accent); box-shadow: var(--shadow-panel); }
.alert-option-secondary { background: var(--card); }
.telegram-alert-card { gap: 6px; }
.alert-option h2,
.telegram-alert-card h2 { margin: 0; font-family: var(--display-font); font-size: 22px; font-weight: 800; letter-spacing: -0.4px; line-height: 1.2; }
.alert-option-secondary h2 { font-size: 19px; }
.alert-option p { margin: 0; }
.alert-option-secondary p { margin-top: 8px; color: var(--muted); }

.telegram-alert-eyebrow {
  margin: 0 0 6px;
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.9px;
  line-height: 1.2;
}

.alert-option .telegram-alert-benefit,
.telegram-alert-card .telegram-alert-benefit { margin: 8px 0 16px; }

.telegram-alert-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 10px;
  background: var(--accent);
  color: var(--card);
  font-weight: 700;
  text-decoration: none;
}

.telegram-alert-cta:hover { background: var(--accent-strong); color: var(--card); }
.deal-expired-panel .telegram-alert-cta { color: var(--card); }
.rss-alert-link { display: inline-flex; align-self: flex-start; min-height: 44px; align-items: center; font-weight: 700; }

.expired-deal-alert { box-shadow: var(--shadow-small); }

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
}

.site-footer .page-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  padding-top: 28px;
  padding-bottom: 40px;
}
.site-footer p { max-width: 68ch; margin: 0; }
.site-footer strong { color: var(--ink); }

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--muted);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-nav a:hover,
.footer-nav a[aria-current="page"] { color: var(--teal); }

@media (max-width: 700px) {
  .deal-detail-overview { grid-template-columns: minmax(0, 1fr); }
  .alert-options { grid-template-columns: minmax(0, 1fr); }
  .telegram-alert-cta { align-self: stretch; width: 100%; }
  .footer-nav { flex-basis: 100%; }
}

@media (max-width: 560px) {
  .deal-detail-media { padding: 24px; }
  .equipment-specification-facts,
  .comparable-live-deal dl { grid-template-columns: minmax(0, 1fr); }
  .resource-row { grid-template-columns: auto minmax(0, 1fr); align-items: start; }
  .resource-action { grid-column: 2; justify-self: start; margin-top: -4px; }
  .vendor-cta { align-self: stretch; }
  .site-bar { flex-wrap: wrap; }
  .primary-nav { width: 100%; margin-left: 0; }
  .primary-nav a,
  .theme-toggle { flex: 1; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

.guides-page { max-width: 1160px; margin: 0 auto; padding: 40px 0 64px; }
.guides-heading { margin-bottom: 36px; }
.guides-heading h1 { margin: 0 0 8px; font-family: var(--display-font); font-size: 30px; font-weight: 800; letter-spacing: -0.7px; line-height: 1.1; }
.guides-heading p { max-width: 560px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.55; }
.guides-list { display: flex; flex-direction: column; max-width: 720px; }
.guide-featured { display: flex; flex-direction: column; gap: 9px; padding: 0 0 28px; }
.guide-featured h2, .guide-row h2 { margin: 0; font-family: var(--display-font); }
.guide-featured h2 { font-size: 24px; font-weight: 800; letter-spacing: -0.5px; line-height: 1.3; }
.guide-featured h2 a, .guide-row h2 a { color: inherit; text-decoration: none; }
.guide-featured h2 a:hover, .guide-row h2 a:hover { color: var(--teal); }
.guide-topic { margin: 0; color: var(--teal); font-size: 11px; font-weight: 700; letter-spacing: 0.8px; text-transform: uppercase; }
.guide-summary { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.guide-metadata { margin: 0; color: var(--muted); font-size: 12.5px; }
.guide-metadata .guide-topic { display: inline; font-size: inherit; }
.guide-row { display: flex; align-items: baseline; gap: 18px; padding: 18px 0; border-top: 1px solid var(--line); }
.guide-row > div { flex: 1; min-width: 0; }
.guide-row h2 { font-size: 16.5px; font-weight: 700; line-height: 1.4; }
.guide-row-arrow { color: var(--muted); font-size: 15px; text-decoration: none; }
.guide-row-arrow:hover { color: var(--teal); }
.guides-empty-state { padding: 64px 20px; text-align: center; }
.guides-empty-state h2 { margin: 0; font-family: var(--display-font); font-size: 17px; font-weight: 600; }

.guide-article { max-width: 680px; margin: 0 auto; padding: 36px 0 64px; }
.guide-back-link { display: inline-flex; min-height: 32px; align-items: center; margin-bottom: 24px; color: var(--muted); font-size: 14px; font-weight: 600; text-decoration: none; }
.guide-back-link:hover { color: var(--teal); text-decoration: underline; }
.guide-article > h1 { margin: 10px 0 14px; font-family: var(--display-font); font-size: 34px; font-weight: 800; letter-spacing: -0.8px; line-height: 1.2; }
.guide-article-summary { margin: 0 0 18px; color: var(--muted); font-size: 17px; line-height: 1.6; }
.guide-byline { display: flex; align-items: center; gap: 10px; margin-bottom: 28px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.guide-author-initial { display: inline-flex; width: 34px; height: 34px; flex: 0 0 auto; align-items: center; justify-content: center; border-radius: 50%; background: var(--teal); color: var(--on-teal); font-size: 13px; font-weight: 800; }
.guide-byline p { margin: 0; color: var(--muted); font-size: 13.5px; }
.guide-byline strong { color: var(--ink); }
.guide-body { min-width: 0; font-size: 16.5px; line-height: 1.75; overflow-wrap: anywhere; }
.guide-body > :first-child { margin-top: 0; }
.guide-body h2, .guide-body h3, .guide-body h4, .guide-body h5, .guide-body h6 { margin: 34px 0 14px; font-family: var(--display-font); font-weight: 800; letter-spacing: -0.4px; line-height: 1.2; }
.guide-body h2 { font-size: 22px; }
.guide-body h3 { font-size: 19px; }
.guide-body h4, .guide-body h5, .guide-body h6 { font-size: 16.5px; }
.guide-body p, .guide-body ul, .guide-body ol, .guide-body blockquote, .guide-body pre, .guide-body table { margin: 0 0 20px; }
.guide-body ul, .guide-body ol { padding-left: 20px; }
.guide-body li + li { margin-top: 6px; }
.guide-body a { text-decoration: underline; }
.guide-body blockquote { padding-left: 14px; border-left: 1px solid var(--line); color: var(--muted); }
.guide-body code { padding: 2px 4px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); font-family: var(--body-font); }
.guide-body pre { max-width: 100%; overflow-x: auto; padding: 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); white-space: pre; }
.guide-body pre code { padding: 0; border: 0; background: transparent; white-space: pre; }
.guide-body table { display: block; max-width: 100%; overflow-x: auto; border: 1px solid var(--line); border-collapse: collapse; }
.guide-body th, .guide-body td { padding: 10px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.guide-related-deal { display: flex; flex-direction: column; gap: 10px; margin: 26px 0; padding: 20px 24px; border: 1px solid var(--line); border-radius: 14px; }
.guide-related-deal p { margin: 0; color: var(--muted); font-size: 11.5px; font-weight: 700; letter-spacing: 0.8px; text-transform: uppercase; }
.guide-related-deal h2 { margin: 0; font-size: 15.5px; font-weight: 700; letter-spacing: 0; }
.guide-related-deal-link { align-self: flex-start; min-height: 44px; padding: 9px 16px; border-radius: 10px; background: var(--teal); color: var(--on-teal); font-size: 13.5px; font-weight: 700; line-height: 26px; text-decoration: none !important; }
.guide-related-deal-link:hover { color: var(--on-teal); filter: brightness(1.04); }
.guide-article-footer { display: flex; justify-content: flex-end; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); }
.guide-article-footer a { display: inline-flex; min-height: 44px; align-items: center; padding: 10px 18px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); font-size: 13.5px; font-weight: 600; text-decoration: none; }
.guide-article-footer a:hover { border-color: var(--teal); color: var(--teal); }

@media (max-width: 560px) {
  .guides-page { padding-top: 40px; }
  .guide-article { padding-top: 36px; }
  .guide-body th,
  .guide-body td { min-width: 9rem; overflow-wrap: normal; }
  .guide-related-deal-link { align-self: stretch; text-align: center; }
}

.deal-destination-navigation,
.category-destination-category-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.deal-destination-navigation {
  margin: 0 0 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.deal-destination-navigation h2,
.category-destination-section h2 {
  width: 100%;
  margin: 0 0 4px;
  font-family: var(--display-font);
  font-size: 19px;
  font-weight: 800;
  line-height: 1.25;
}

.deal-destination-navigation a,
.category-destination-category-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--well);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

:root[data-theme="dark"] .deal-destination-navigation a:not(:hover) {
  background: var(--surface);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .deal-destination-navigation a:not(:hover) {
    background: var(--surface);
  }
}

.deal-destination-navigation a:hover,
.category-destination-category-links a:hover {
  border-color: var(--teal);
  background: var(--teal-soft);
  color: var(--teal);
}

.category-destination { max-width: 840px; margin: 0 auto; padding: 28px 0 56px; }

.category-destination-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
}

.category-destination-breadcrumb a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }
.category-destination-breadcrumb span { display: inline-flex; align-items: center; min-height: 44px; }
.category-destination-breadcrumb span::before { content: "/"; margin-right: 8px; }

.category-destination-heading { margin: 20px 0 32px; }
.category-destination-heading h1 {
  margin: 0 0 10px;
  font-family: var(--display-font);
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.8px;
  line-height: 1.15;
}
.category-destination-heading p { max-width: 68ch; margin: 0; color: var(--muted); font-size: 16px; }

.category-destination-section { margin-top: 32px; }
.category-destination-section > h2 { margin-bottom: 14px; }
.category-destination-section > p { margin: 0; color: var(--muted); }

.category-destination-price-ranges {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.category-destination-price-ranges li {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

.category-destination-price-ranges strong { color: var(--ink); }
.category-destination-price-ranges span { color: var(--muted); }
.category-destination-price-warning { margin-top: 12px !important; font-size: 14px; }

.category-destination-deals,
.category-destination-guides {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.category-destination-deal-row,
.category-destination-guides article { padding: 18px; }
.category-destination-deal-row + .category-destination-deal-row,
.category-destination-guides article + article { border-top: 1px solid var(--line); }
.category-destination-vendor,
.category-destination-deal-price,
.category-destination-original-price,
.category-destination-guides p { margin: 0; }
.category-destination-vendor { color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: 0.8px; text-transform: uppercase; }
.category-destination-deal-row h3,
.category-destination-guides h3 { margin: 5px 0 8px; font-family: var(--display-font); font-size: 18px; line-height: 1.35; }
.category-destination-deal-row h3 a,
.category-destination-guides h3 a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink);
  text-decoration: none;
}
.category-destination-deal-row h3 a:hover,
.category-destination-guides h3 a:hover { color: var(--teal); text-decoration: underline; }
.category-destination-deal-price { color: var(--teal); font-size: 18px; font-weight: 800; font-variant-numeric: tabular-nums; }
.category-destination-original-price { margin-top: 4px; color: var(--muted); font-size: 14px; }
.category-destination-guides p { color: var(--muted); }
.category-destination-guide-time { margin-top: 8px !important; font-size: 13px; font-weight: 700; }

@media (max-width: 560px) {
  .category-destination { padding-top: 16px; }
  .category-destination-heading h1 { font-size: 30px; }
  .deal-destination-navigation a,
  .category-destination-category-links a { flex: 1 1 100%; justify-content: center; }
}
.heater-wattage-calculator {
  max-width: 720px;
  margin: 0 auto;
  padding: 36px 0 64px;
}

.heater-wattage-calculator-heading { margin-bottom: 28px; }
.heater-wattage-calculator-heading h1,
.heater-wattage-calculator h2 {
  font-family: var(--display-font);
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.2;
}
.heater-wattage-calculator-heading h1 { margin: 0 0 10px; font-size: 32px; }
.heater-wattage-calculator-heading p,
.heater-wattage-section > p { color: var(--muted); }
.heater-wattage-calculator-heading p { margin: 0; }

.heater-wattage-form,
.heater-wattage-section,
.heater-wattage-warning,
.heater-wattage-result,
.heater-wattage-errors {
  margin-top: 24px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.heater-wattage-form { display: grid; gap: 18px; margin-top: 0; }
.heater-wattage-field { display: grid; gap: 7px; }
.heater-wattage-field label { font-size: 14px; font-weight: 700; }
.heater-wattage-control-with-unit { display: flex; align-items: center; gap: 10px; }
.heater-wattage-control-with-unit input {
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--well);
  color: var(--ink);
  font: inherit;
}
.heater-wattage-control-with-unit input:focus { border-color: var(--teal); outline-color: var(--teal); }
.heater-wattage-control-with-unit span { min-width: 82px; color: var(--muted); font-size: 14px; }
.heater-wattage-field-error { margin: 0; color: var(--save); font-size: 14px; font-weight: 700; }
.heater-wattage-submit,
.category-destination-calculator-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--teal);
  border-radius: 10px;
  background: var(--teal);
  color: var(--on-teal);
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
}
.heater-wattage-submit:hover,
.category-destination-calculator-link:hover { color: var(--on-teal); filter: brightness(1.04); }

.heater-wattage-errors,
.heater-wattage-warning { border-color: var(--save); background: var(--save-bg); }
.heater-wattage-errors h2,
.heater-wattage-warning h2 { margin: 0 0 10px; color: var(--save); font-size: 19px; }
.heater-wattage-errors ul,
.heater-wattage-warning ul,
.heater-wattage-section ul { margin: 0; padding-left: 20px; }
.heater-wattage-errors li + li,
.heater-wattage-warning li + li,
.heater-wattage-section li + li { margin-top: 6px; }
.heater-wattage-warning p { margin: 0 0 14px; color: var(--ink); font-weight: 700; }

.heater-wattage-result { border-color: var(--teal); background: var(--teal-soft); }
.heater-wattage-result h2,
.heater-wattage-section h2 { margin: 0 0 12px; font-size: 22px; }
.heater-wattage-result p,
.heater-wattage-section p { margin: 0 0 14px; }
.heater-wattage-result p:last-child,
.heater-wattage-section p:last-child { margin-bottom: 0; }
.heater-wattage-result-value { color: var(--teal); font-size: 20px; }
.heater-wattage-source-links { margin-top: 14px !important; }
.heater-wattage-source-links a,
.heater-wattage-related-link a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 700;
}
.heater-wattage-related-link { margin: 20px 0 0; }

@media (max-width: 560px) {
  .heater-wattage-calculator { padding-top: 24px; }
  .heater-wattage-calculator-heading h1 { font-size: 29px; }
  .heater-wattage-form,
  .heater-wattage-section,
  .heater-wattage-warning,
  .heater-wattage-result,
  .heater-wattage-errors { padding: 16px; }
  .heater-wattage-control-with-unit { align-items: stretch; flex-direction: column; }
  .heater-wattage-control-with-unit span { min-width: 0; }
  .heater-wattage-submit,
  .category-destination-calculator-link { width: 100%; }
}

.filter-turnover-calculator {
  max-width: 720px;
  margin: 0 auto;
  padding: 36px 0 64px;
}

.filter-turnover-calculator-heading { margin-bottom: 28px; }
.filter-turnover-calculator-heading h1,
.filter-turnover-calculator h2 {
  font-family: var(--display-font);
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.2;
}
.filter-turnover-calculator-heading h1 { margin: 0 0 10px; font-size: 32px; }
.filter-turnover-calculator-heading p { margin: 0; color: var(--muted); }

.filter-turnover-form,
.filter-turnover-section,
.filter-turnover-warning,
.filter-turnover-result,
.filter-turnover-errors {
  margin-top: 24px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.filter-turnover-form { display: grid; gap: 18px; margin-top: 0; }
.filter-turnover-field { display: grid; gap: 7px; }
.filter-turnover-field label { font-size: 14px; font-weight: 700; }
.filter-turnover-control-with-unit { display: flex; align-items: center; gap: 10px; }
.filter-turnover-control-with-unit input {
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #ffffff;
  color: #122421;
  font: inherit;
}
.filter-turnover-control-with-unit input:focus { border-color: var(--teal); outline-color: var(--teal); }
.filter-turnover-control-with-unit span { min-width: 190px; color: var(--muted); font-size: 14px; }
.filter-turnover-field-error { margin: 0; color: var(--save); font-size: 14px; font-weight: 700; }
.filter-turnover-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border: 0;
  border-radius: 10px;
  background: #0b6b63;
  color: #ffffff;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}
.filter-turnover-submit:hover { color: #ffffff; filter: brightness(1.04); }

.filter-turnover-errors,
.filter-turnover-warning { border-color: var(--save); background: var(--save-bg); }
.filter-turnover-errors h2,
.filter-turnover-warning h2 { margin: 0 0 10px; color: var(--save); font-size: 19px; }
.filter-turnover-errors ul,
.filter-turnover-warning ul,
.filter-turnover-section ul { margin: 0; padding-left: 20px; }
.filter-turnover-errors li + li,
.filter-turnover-warning li + li,
.filter-turnover-section li + li { margin-top: 6px; }

.filter-turnover-result { border-color: var(--teal); background: var(--teal-soft); }
.filter-turnover-result h2,
.filter-turnover-section h2 { margin: 0 0 12px; font-size: 22px; }
.filter-turnover-result p { margin: 0 0 14px; }
.filter-turnover-result p:last-child { margin-bottom: 0; }
.filter-turnover-result-value { color: var(--teal); font-size: 20px; }
.filter-turnover-related-link { margin: 20px 0 0; }
.filter-turnover-related-link a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 700;
}

:root[data-theme="dark"] .filter-turnover-control-with-unit input {
  background: #121e1c;
  color: #e6efed;
}
:root[data-theme="dark"] .filter-turnover-submit {
  background: #3db3a5;
  color: #04211e;
}
:root[data-theme="dark"] .filter-turnover-submit:hover { color: #04211e; }

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .filter-turnover-control-with-unit input {
    background: #121e1c;
    color: #e6efed;
  }
  :root:not([data-theme]) .filter-turnover-submit {
    background: #3db3a5;
    color: #04211e;
  }
  :root:not([data-theme]) .filter-turnover-submit:hover { color: #04211e; }
}

@media (max-width: 560px) {
  .filter-turnover-calculator { padding-top: 24px; }
  .filter-turnover-calculator-heading h1 { font-size: 29px; }
  .filter-turnover-form,
  .filter-turnover-section,
  .filter-turnover-warning,
  .filter-turnover-result,
  .filter-turnover-errors { padding: 16px; }
  .filter-turnover-control-with-unit { align-items: stretch; flex-direction: column; }
  .filter-turnover-control-with-unit span { min-width: 0; }
  .filter-turnover-submit { width: 100%; }
}

.filled-weight-calculator {
  max-width: 720px;
  margin: 0 auto;
  padding: 36px 0 64px;
}

.filled-weight-calculator-heading { margin-bottom: 28px; }
.filled-weight-calculator-heading h1,
.filled-weight-calculator h2 {
  font-family: var(--display-font);
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.2;
}
.filled-weight-calculator-heading h1 { margin: 0 0 10px; font-size: 32px; }
.filled-weight-calculator-heading p { margin: 0; color: var(--muted); }

.filled-weight-form,
.filled-weight-section,
.filled-weight-warning,
.filled-weight-result,
.filled-weight-errors {
  margin-top: 24px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.filled-weight-form { display: grid; gap: 18px; margin-top: 0; }
.filled-weight-field { display: grid; gap: 7px; }
.filled-weight-field label { font-size: 14px; font-weight: 700; }
.filled-weight-control-with-unit { display: flex; align-items: center; gap: 10px; }
.filled-weight-control-with-unit input {
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #ffffff;
  color: #122421;
  font: inherit;
}
.filled-weight-control-with-unit input:focus { border-color: var(--teal); outline-color: var(--teal); }
.filled-weight-control-with-unit span { min-width: 82px; color: var(--muted); font-size: 14px; }
.filled-weight-field-error { margin: 0; color: var(--save); font-size: 14px; font-weight: 700; }
.filled-weight-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border: 0;
  border-radius: 10px;
  background: #0b6b63;
  color: #ffffff;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}
.filled-weight-submit:hover { color: #ffffff; filter: brightness(1.04); }

.filled-weight-errors,
.filled-weight-warning { border-color: var(--save); background: var(--save-bg); }
.filled-weight-errors h2,
.filled-weight-warning h2 { margin: 0 0 10px; color: var(--save); font-size: 19px; }
.filled-weight-errors ul,
.filled-weight-section ul { margin: 0; padding-left: 20px; }
.filled-weight-errors li + li,
.filled-weight-section li + li { margin-top: 6px; }
.filled-weight-warning p { margin: 0 0 14px; }
.filled-weight-warning p:last-child { margin-bottom: 0; }

.filled-weight-result { border-color: var(--teal); background: var(--teal-soft); }
.filled-weight-result h2,
.filled-weight-section h2 { margin: 0 0 12px; font-size: 22px; }
.filled-weight-result p,
.filled-weight-section p { margin: 0 0 14px; }
.filled-weight-result p:last-child,
.filled-weight-section p:last-child { margin-bottom: 0; }
.filled-weight-result-value { color: var(--teal); font-size: 20px; }
.filled-weight-section a,
.filled-weight-related-link a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 700;
}
.filled-weight-related-link { margin: 20px 0 0; }

:root[data-theme="dark"] .filled-weight-control-with-unit input {
  background: #121e1c;
  color: #e6efed;
}
:root[data-theme="dark"] .filled-weight-submit {
  background: #3db3a5;
  color: #04211e;
}
:root[data-theme="dark"] .filled-weight-submit:hover { color: #04211e; }

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .filled-weight-control-with-unit input {
    background: #121e1c;
    color: #e6efed;
  }
  :root:not([data-theme]) .filled-weight-submit {
    background: #3db3a5;
    color: #04211e;
  }
  :root:not([data-theme]) .filled-weight-submit:hover { color: #04211e; }
}

@media (max-width: 560px) {
  .filled-weight-calculator { padding-top: 24px; }
  .filled-weight-calculator-heading h1 { font-size: 29px; }
  .filled-weight-form,
  .filled-weight-section,
  .filled-weight-warning,
  .filled-weight-result,
  .filled-weight-errors { padding: 16px; }
  .filled-weight-control-with-unit { align-items: stretch; flex-direction: column; }
  .filled-weight-control-with-unit span { min-width: 0; }
  .filled-weight-submit { width: 100%; }
}
