/* BestDieselHeater.co.uk - homepage. Workshop look: charcoal, steel, ember orange, condensed type, square edges. */
:root {
  --dh-ink: #15181b;
  --dh-muted: #5d646b;
  --dh-bg: #f6f5f2;
  --dh-steel: #eceef0;
  --dh-line: #dcdfe2;
  --dh-slate: #2b3a45;
  --dh-char: #161b20;
  --dh-ember: #f26b1d;
  --dh-ember-deep: #c24e0c;
  --dh-ember-soft: #fde6d6;
  --dh-display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --dh-body: 'Inter', 'Segoe UI', sans-serif;
  --dh-r: 8px;
  --dh-shadow: 0 1px 2px rgba(16, 19, 22, .04), 0 8px 24px rgba(16, 19, 22, .06);
  --dh-shadow-lift: 0 2px 4px rgba(16, 19, 22, .05), 0 18px 40px rgba(16, 19, 22, .12);
}
body { background: var(--dh-bg); margin: 0; }
.dh { font-family: var(--dh-body); color: var(--dh-ink); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
.dh *, .dh-foot * { box-sizing: border-box; }
.dh a { color: var(--dh-slate); }
.dh img { max-width: 100%; }
.dh h1, .dh h2, .dh h3 { font-family: var(--dh-display); line-height: 1.1; margin: 0; text-wrap: balance; letter-spacing: 0; }
.dh-wrap { max-width: 1240px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.dh-sec { padding: 88px 0; }
.dh-sec--tight { padding: 64px 0; }
.dh-soft { background: var(--dh-steel); }
.dh-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 32px; }
.dh-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 700; }
.dh-eyebrow { font: 600 .78rem var(--dh-body); text-transform: uppercase; letter-spacing: .16em; color: var(--dh-ember-deep); margin: 0 0 10px; }
.dh-eyebrow--light { color: var(--dh-ember); }
.dh-link { font-weight: 600; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.dh-link i { transition: transform .2s; }
.dh-link:hover i { transform: translateX(3px); }
.dh-note, .dh-small { color: var(--dh-muted); font-size: .88rem; }

/* Buttons */
.dh-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: 6px; padding: 15px 26px; font: 600 1rem var(--dh-body); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background .2s, transform .2s, box-shadow .2s; }
.dh-btn:hover { transform: translateY(-1px); }
.dh-btn--ember { background: var(--dh-ember); color: #fff !important; }
.dh-btn--ember:hover { background: #ff7f33; box-shadow: 0 10px 24px rgba(242, 107, 29, .35); }
.dh-btn--ghost { color: #fff !important; border-color: rgba(255, 255, 255, .55); }
.dh-btn--ghost:hover { background: rgba(255, 255, 255, .12); }
.dh-btn--dark { background: var(--dh-slate); color: #fff !important; }
.dh-btn--dark:hover { background: var(--dh-char); }
.dh-btn--block { width: 100%; }
.dh-btn:focus-visible, .dh-tabs button:focus-visible, .dh-col:focus-visible { outline: 3px solid var(--dh-ember); outline-offset: 3px; }

/* Hero */
.dh-hero { position: relative; color: #fff; background: var(--dh-char) var(--hero, none) center / cover no-repeat; isolation: isolate; }
.dh-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(14, 17, 20, .88) 0%, rgba(14, 17, 20, .62) 42%, rgba(14, 17, 20, .12) 75%, rgba(14, 17, 20, .05) 100%); }
.dh-hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; padding-top: 96px; padding-bottom: 96px; min-height: 620px; }
.dh-hero h1 { font-size: clamp(2.8rem, 6.4vw, 5rem); font-weight: 700; line-height: .98; letter-spacing: .005em; text-transform: uppercase; }
.dh-lede { font-size: 1.18rem; color: rgba(255, 255, 255, .86); max-width: 52ch; margin: 22px 0 30px; }
.dh-hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

.dh-finder { background: rgba(250, 248, 243, .97); color: var(--dh-ink); border-radius: 10px; padding: 30px; display: grid; gap: 16px; box-shadow: 0 30px 60px rgba(0, 0, 0, .25); backdrop-filter: blur(6px); }
.dh-finder-kicker { margin: 0; font: 600 .75rem var(--dh-body); letter-spacing: .14em; text-transform: uppercase; color: var(--dh-ember-deep); }
.dh-finder h2 { font-size: 1.55rem; margin-top: -8px; }
.dh-finder-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.dh-finder label { display: grid; gap: 6px; font-size: .8rem; font-weight: 600; color: var(--dh-muted); text-transform: uppercase; letter-spacing: .06em; }
.dh-finder select, .dh-fields input {
  width: 100%; padding: 12px 14px; border: 1px solid var(--dh-line); border-radius: 12px; font: 500 .98rem var(--dh-body);
  color: var(--dh-ink); background: #fff; text-transform: none; letter-spacing: 0; appearance: none; -webkit-appearance: none;
}
.dh-finder select { background-image: linear-gradient(45deg, transparent 50%, var(--dh-muted) 50%), linear-gradient(135deg, var(--dh-muted) 50%, transparent 50%); background-position: calc(100% - 18px) 52%, calc(100% - 13px) 52%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 34px; }
.dh-finder select:focus, .dh-fields input:focus { outline: none; border-color: var(--dh-slate); box-shadow: 0 0 0 3px rgba(43, 58, 69, .15); }
.dh-finder-out { display: grid; gap: 8px; }
.dh-finder-out p { margin: 0; font-size: .92rem; color: var(--dh-muted); }
.dh-match { display: grid; grid-template-columns: 56px 1fr; gap: 12px; align-items: center; text-decoration: none; color: var(--dh-ink) !important; border: 1px solid var(--dh-line); border-radius: 10px; padding: 8px; font-size: .86rem; background: #fff; }
.dh-match b { display: block; font-weight: 600; }
.dh-match img { width: 56px; height: 56px; object-fit: contain; }

/* Trust strip */
.dh-trust { background: #fff; border-bottom: 1px solid var(--dh-line); }
.dh-trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.dh-trust-grid > div { display: flex; gap: 14px; align-items: center; padding: 26px 20px; font-size: .9rem; color: var(--dh-muted); }
.dh-trust-grid > div + div { border-left: 1px solid var(--dh-line); }
.dh-trust-grid i { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--dh-ember-soft); color: var(--dh-ember-deep); flex-shrink: 0; }
.dh-trust-grid b { display: block; color: var(--dh-ink); font-weight: 600; font-size: .98rem; }

/* Collection tabs + tiles */
.dh-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.dh-tabs button { border: 1px solid var(--dh-line); background: #fff; color: var(--dh-ink); border-radius: 6px; padding: 9px 16px; font: 600 .88rem var(--dh-body); cursor: pointer; transition: all .15s; }
.dh-tabs button:hover { border-color: var(--dh-slate); }
.dh-tabs button.on { background: var(--dh-char); border-color: var(--dh-char); color: #fff; }
.dh-cols { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 250px; grid-auto-flow: dense; gap: 18px; }
.dh-col { position: relative; overflow: hidden; border-radius: var(--dh-r); text-decoration: none; background: var(--dh-steel); box-shadow: var(--dh-shadow); isolation: isolate; }
.dh-col--big { grid-column: span 2; grid-row: span 2; }
.dh-cols.filtered .dh-col--big { grid-column: auto; grid-row: auto; }
.dh-col img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); z-index: -2; }
.dh-col::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(14, 17, 20, 0) 40%, rgba(14, 17, 20, .78) 100%); }
.dh-col:hover img { transform: scale(1.05); }
.dh-col-label { position: absolute; left: 0; right: 0; bottom: 0; padding: 20px 22px; display: grid; gap: 4px; color: #fff; }
.dh-col-group { font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--dh-ember); }
.dh-col-name { font: 600 1.2rem/1.2 var(--dh-display); }
.dh-col--big .dh-col-name { font-size: 1.8rem; }
.dh-col-go { font-size: .85rem; font-weight: 600; opacity: 0; transform: translateY(6px); transition: all .25s; }
.dh-col:hover .dh-col-go, .dh-col:focus-visible .dh-col-go { opacity: 1; transform: none; }

/* Product cards */
.dh-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.dh-card { position: relative; display: grid; grid-template-rows: auto 1fr; text-decoration: none; color: var(--dh-ink) !important; background: #fff; border: 1px solid var(--dh-line); border-radius: var(--dh-r); overflow: hidden; transition: box-shadow .25s, transform .25s; }
.dh-card:hover { box-shadow: var(--dh-shadow-lift); transform: translateY(-3px); }
.dh-card-img { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; background: #fff; padding: 22px; border-bottom: 1px solid var(--dh-line); }
.dh-card-img img { max-height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.dh-card-body { display: grid; gap: 10px; padding: 18px; align-content: start; }
.dh-card-brand { font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--dh-muted); }
.dh-card-name { font-size: .95rem; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dh-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.dh-chip { display: inline-block; font-size: .72rem; font-weight: 600; padding: 3px 9px; border-radius: 4px; background: var(--dh-ember-soft); color: var(--dh-ember-deep); }
.dh-card-foot { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-size: .85rem; color: var(--dh-muted); margin-top: auto; }
.dh-card-foot b { font: 700 1.3rem var(--dh-display); color: var(--dh-ink); }
.dh-stars i { color: var(--dh-ember); }
.dh-save { position: absolute; top: 14px; left: 14px; background: var(--dh-char); color: #fff; font-size: .75rem; font-weight: 600; padding: 4px 10px; border-radius: 4px; z-index: 1; }
.dh-card .fav-btn { position: absolute; top: 12px; right: 12px; z-index: 1; }

/* Editorial split */
.dh-split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.dh-split-img img { width: 100%; aspect-ratio: 4/3.4; object-fit: cover; border-radius: 10px; box-shadow: var(--dh-shadow-lift); display: block; }
.dh-split-copy h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); margin-bottom: 18px; }
.dh-split-copy p { color: var(--dh-muted); margin: 0 0 18px; }
.dh-list { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; }
.dh-list i { color: var(--dh-slate); margin-right: 10px; }

/* Compare table */
.dh-table-box { overflow: auto; background: #fff; border: 1px solid var(--dh-line); border-radius: var(--dh-r); max-height: 640px; box-shadow: var(--dh-shadow); }
.dh-table { border-collapse: separate; border-spacing: 0; width: 100%; font-size: .92rem; }
.dh-table th { position: sticky; top: 0; z-index: 1; background: var(--dh-char); color: #fff; text-align: left; padding: 14px 16px; cursor: pointer; white-space: nowrap; font-weight: 600; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; }
.dh-table td { padding: 12px 16px; border-bottom: 1px solid var(--dh-line); vertical-align: middle; }
.dh-table td a { display: flex; gap: 12px; align-items: center; text-decoration: none; color: var(--dh-ink); font-weight: 500; min-width: 260px; }
.dh-table td a img { width: 44px; height: 44px; object-fit: contain; flex-shrink: 0; }
.dh-table td.n, .dh-table th.n { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.dh-table tbody tr:hover td { background: #f8f8f6; }
.dh-table .fa-check { color: var(--dh-slate); }

/* Calculators band */
.dh-band { background: var(--dh-char); color: #fff; }
.dh-head--light h2 { color: #fff; }
.dh-tools { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.dh-tool { background: var(--dh-bg); color: var(--dh-ink); border-radius: 10px; padding: 30px; display: grid; gap: 14px; align-content: start; }
.dh-tool h3 { font-size: 1.35rem; display: flex; gap: 12px; align-items: center; }
.dh-tool h3 i { color: var(--dh-ember-deep); }
.dh-tool .dh-small { margin: 0; }
.dh-fields { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 12px; }
.dh-fields label { display: grid; gap: 6px; font-size: .8rem; font-weight: 600; color: var(--dh-muted); }
.dh-result { display: flex; flex-wrap: wrap; gap: 10px 28px; align-items: baseline; background: #fff; border: 1px solid var(--dh-line); border-radius: 10px; padding: 18px 20px; }
.dh-result span { display: grid; font-size: .8rem; color: var(--dh-muted); text-transform: uppercase; letter-spacing: .08em; }
.dh-result b { font: 700 1.9rem var(--dh-display); color: var(--dh-char); letter-spacing: 0; text-transform: none; }
.dh-result small { width: 100%; color: var(--dh-muted); font-size: .85rem; }

/* Shop all (shared sidebar) */
.cfHomeShop { background: #fff; border-top: 1px solid var(--dh-line); }

/* Guide */
.dh-guide-grid { display: grid; grid-template-columns: 260px 1fr; gap: 64px; align-items: start; }
.dh-toc { position: sticky; top: 24px; display: grid; gap: 4px; border-left: 2px solid var(--dh-line); padding-left: 18px; }
.dh-toc a { text-decoration: none; color: var(--dh-muted); font-size: .92rem; padding: 5px 0; }
.dh-toc a:hover { color: var(--dh-slate); }
.dh-read { max-width: 720px; }
.dh-read h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 16px; }
.dh-read h3 { font-size: 1.35rem; margin: 36px 0 10px; scroll-margin-top: 24px; }
.dh-read p { margin: 0 0 14px; }
.dh-lede-dark { font-size: 1.12rem; color: var(--dh-muted); }
.dh-read details { border: 1px solid var(--dh-line); border-radius: 10px; padding: 4px 18px; margin-bottom: 10px; background: #fff; }
.dh-read summary { cursor: pointer; font-weight: 600; padding: 12px 0; }
.dh-read details p { color: var(--dh-muted); }

/* Footer */
.dh-foot { background: #0e1114; color: #c3c8cd; font-family: var(--dh-body); padding: 72px 0 0; }
.dh-foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.dh-foot-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; margin-bottom: 16px; }
.dh-foot-logo span { display: grid; font: 700 1.3rem/1 var(--dh-display); }
.dh-foot-logo small { font: 600 .65rem var(--dh-body); letter-spacing: .2em; text-transform: uppercase; color: var(--dh-ember); margin-top: 5px; }
.dh-foot p { font-size: .92rem; line-height: 1.6; margin: 0 0 12px; max-width: 38ch; }
.dh-foot h4 { font: 600 .78rem var(--dh-body); letter-spacing: .14em; text-transform: uppercase; color: #fff; margin: 0 0 16px; }
.dh-foot a { display: block; color: #c3c8cd; text-decoration: none; padding: 4px 0; font-size: .92rem; }
.dh-foot p a { display: inline; }
.dh-foot a:hover { color: #fff; }
.dh-copy { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 22px; padding-bottom: 28px; font-size: .8rem; color: #8a929a; }

@media (max-width: 1080px) {
  .dh-cols, .dh-cards { grid-template-columns: repeat(3, 1fr); }
  .dh-guide-grid { grid-template-columns: 1fr; }
  .dh-toc { display: none; }
}
@media (max-width: 860px) {
  .dh-hero-grid, .dh-tools, .dh-split { grid-template-columns: 1fr; }
  .dh-hero-grid { min-height: 0; padding-top: 56px; padding-bottom: 56px; gap: 32px; }
  .dh-hero::before { background: linear-gradient(180deg, rgba(14, 17, 20, .78) 0%, rgba(14, 17, 20, .7) 100%); }
  .dh-trust-grid { grid-template-columns: 1fr 1fr; }
  .dh-trust-grid > div:nth-child(3) { border-left: 0; }
  .dh-trust-grid > div:nth-child(n+3) { border-top: 1px solid var(--dh-line); }
  .dh-cols, .dh-cards { grid-template-columns: repeat(2, 1fr); }
  .dh-cols { grid-auto-rows: 200px; }
  .dh-sec { padding: 56px 0; }
  .dh-foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .dh-wrap { padding-left: 16px; padding-right: 16px; }
  .dh-finder { padding: 22px; }
  .dh-finder-grid, .dh-trust-grid { grid-template-columns: 1fr; }
  .dh-trust-grid > div { border-left: 0 !important; border-top: 1px solid var(--dh-line); padding: 16px 4px; }
  .dh-cols { grid-template-columns: 1fr; grid-auto-rows: 210px; }
  .dh-col--big { grid-column: auto; grid-row: auto; }
  .dh-cards { grid-template-columns: 1fr 1fr; gap: 12px; }
  .dh-foot-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .dh *, .dh *::before, .dh *::after { transition: none !important; } }

/* Workshop details */
.dh-head h2::after { content: ""; display: block; width: 56px; height: 4px; background: var(--dh-ember); margin-top: 12px; }
.dh-head--light h2::after { background: var(--dh-ember); }
.dh-hero { border-bottom: 6px solid var(--dh-ember); }
.dh-trust-grid i { border-radius: 8px; }
.dh-table th { background: var(--dh-char); border-bottom: 3px solid var(--dh-ember); }
.dh-result b { color: var(--dh-ember-deep); }
.dh-kw { font: 700 .72rem var(--dh-body); letter-spacing: .1em; text-transform: uppercase; background: var(--dh-char); color: #fff; padding: 3px 8px; border-radius: 4px; }
.dh-read table { border-collapse: collapse; width: 100%; font-size: .92rem; margin: 6px 0 18px; }
.dh-read th, .dh-read td { border: 1px solid var(--dh-line); padding: 9px 12px; text-align: left; }
.dh-read th { background: var(--dh-steel); }
.dh-warn { border-left: 4px solid var(--dh-ember); background: var(--dh-ember-soft); padding: 14px 18px; border-radius: 6px; margin: 0 0 16px; }
.dh-fields select { width: 100%; padding: 12px 14px; border: 1px solid var(--dh-line); border-radius: 6px; font: 500 .98rem var(--dh-body); color: var(--dh-ink); background: #fff; }
.dh-fields select:focus { outline: none; border-color: var(--dh-ember); box-shadow: 0 0 0 3px rgba(242, 107, 29, .2); }
.dh-result a { color: var(--dh-ember-deep); font-weight: 600; }
.dh-finder-out p b { color: var(--dh-ember-deep); }

/* Info pages (about, contact, privacy, terms, cookies) */
.dh-info { padding: 40px 0 72px; background: var(--dh-steel); }
.dh-crumbs { max-width: 860px; margin: 0 auto 16px; font-size: .85rem; color: var(--dh-muted); }
.dh-crumbs a { color: var(--dh-muted); text-decoration: none; }
.dh-crumbs a:hover { color: var(--dh-ember-deep); }
.dh-crumbs i { font-size: .65rem; margin: 0 6px; }
.dh-info-card { max-width: 860px; margin: 0 auto; background: #fff; border: 1px solid var(--dh-line); border-top: 5px solid var(--dh-ember); border-radius: 10px; padding: 48px 56px; box-shadow: var(--dh-shadow); }
.dh-info-card h1 { font-size: clamp(2rem, 4.4vw, 2.9rem); text-transform: uppercase; margin-bottom: 20px; }
.dh-info-card h2 { font-size: 1.55rem; margin: 34px 0 10px; }
.dh-info-card h3 { font-size: 1.2rem; margin: 24px 0 8px; }
.dh-info-card p, .dh-info-card li { color: #33393f; }
.dh-info-card ul, .dh-info-card ol { padding-left: 22px; margin: 0 0 16px; }
.dh-info-card li { margin-bottom: 6px; }
.dh-info-card a { color: var(--dh-ember-deep); font-weight: 500; }
.dh-info-card table { border-collapse: collapse; width: 100%; font-size: .92rem; margin: 6px 0 18px; display: block; overflow-x: auto; }
.dh-info-card th, .dh-info-card td { border: 1px solid var(--dh-line); padding: 9px 12px; text-align: left; vertical-align: top; }
.dh-info-card th { background: var(--dh-steel); }
.dh-form { display: grid; gap: 16px; margin: 24px 0 12px; max-width: 560px; }
.dh-form label { display: grid; gap: 6px; font-size: .82rem; font-weight: 600; color: var(--dh-muted); text-transform: uppercase; letter-spacing: .06em; }
.dh-form input, .dh-form textarea { width: 100%; padding: 13px 14px; border: 1px solid var(--dh-line); border-radius: 6px; font: 500 1rem var(--dh-body); color: var(--dh-ink); background: #fff; text-transform: none; letter-spacing: 0; }
.dh-form input:focus, .dh-form textarea:focus { outline: none; border-color: var(--dh-ember); box-shadow: 0 0 0 3px rgba(242, 107, 29, .2); }
.dh-form button { justify-self: start; }
.dh-sent { background: var(--dh-steel); border-radius: 8px; padding: 16px 18px; }
@media (max-width: 640px) { .dh-info-card { padding: 28px 20px; } .dh-info { padding-top: 24px; } }
