:root {
  --bg: #f3f5f1;
  --paper: #ffffff;
  --ink: #17231e;
  --ink-2: #66736c;
  --line: #e1e7e1;
  --accent: #244d3b;
  --accent-ink: #ffffff;
  --accent-soft: #d8e6d5;
  --ok: #32664d;
  --err: #b42318;
  --radius: 14px;
  --shadow: 0 12px 34px rgba(20,43,31,.08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 16px/1.6 "DM Sans", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.wrap { width: min(1160px, calc(100% - 44px)); margin-inline: auto; }

.top { background: var(--paper); border-bottom: 1px solid var(--line); }
.top__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; flex-wrap: wrap; padding-block: 8px; }
.brand { display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; font-weight: 800; font-size: 1.15rem; letter-spacing: -.01em; }
.brand img { max-height: 40px; max-width: 160px; display: block; }
.contact { display: flex; gap: 18px; flex-wrap: wrap; font-size: .95rem; }
.contact a { color: var(--ink-2); text-decoration: none; font-weight: 600; }
.contact a:hover { color: var(--accent); }

.intro { padding: 36px 0 20px; }
.intro h1 { margin: 0 0 6px; font-size: clamp(1.7rem, 4vw, 2.5rem); letter-spacing: -.025em; line-height: 1.1; }
.intro p { margin: 0; color: var(--ink-2); max-width: 56ch; }

.promo { background: var(--accent); color: var(--accent-ink); border-radius: var(--radius); padding: 12px 18px; margin-bottom: 18px; font-weight: 700; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.promo b { background: var(--accent-ink); color: var(--accent); border-radius: 99px; padding: 2px 12px; font-size: 1.05rem; }
.state { padding: 40px; text-align: center; color: var(--ink-2); }
.state--err { color: var(--err); }

.layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 24px; align-items: start; padding-bottom: 56px; }
.steps { display: grid; gap: 16px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.card h2 { margin: 0 0 16px; font-size: 1.1rem; display: flex; align-items: center; gap: 12px; letter-spacing: -.01em; }
.num { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--ink); color: var(--paper); font-size: .85rem; font-weight: 800; }

.length { display: grid; grid-template-columns: 170px 1fr; gap: 20px; align-items: center; }
.length__field, .field__in { display: flex; align-items: center; border: 2px solid var(--line); border-radius: 10px; background: var(--bg); overflow: hidden; }
.length__field:focus-within, .field__in:focus-within { border-color: var(--accent); }
.length__field input, .field__in input {
  width: 100%; border: 0; background: transparent; color: inherit; font: inherit; font-size: 1.35rem; font-weight: 700;
  padding: 10px 12px; min-width: 0; outline: none; font-variant-numeric: tabular-nums;
}
.unit { padding-right: 12px; color: var(--ink-2); font-size: .9rem; white-space: nowrap; }
.range-hint { display: flex; justify-content: space-between; color: var(--ink-2); font-size: .8rem; margin-top: 8px; padding-left: 190px; }

input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 99px; background: linear-gradient(to right, var(--accent) var(--p, 0%), var(--line) var(--p, 0%)); outline: none; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: var(--paper); border: 4px solid var(--accent); cursor: grab; box-shadow: 0 2px 6px rgba(0,0,0,.25); }
input[type=range]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--paper); border: 4px solid var(--accent); cursor: grab; }
input[type=range]:focus-visible::-webkit-slider-thumb { outline: 3px solid var(--accent-soft); }

.options { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.opt {
  text-align: left; font: inherit; color: inherit; cursor: pointer;
  background: var(--bg); border: 2px solid var(--line); border-radius: 12px; padding: 0; overflow: hidden;
  display: flex; flex-direction: column; transition: border-color .15s, transform .15s, box-shadow .15s;
}
.opt:hover { border-color: var(--ink-2); }
.opt:focus-visible { outline: 3px solid var(--accent-soft); border-color: var(--accent); }
.opt[aria-checked=true] { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.opt__img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; display: block; background: var(--line); }
.opt__body { padding: 12px 14px 14px; display: grid; gap: 2px; }
.opt__name { font-weight: 700; }
.opt__desc { color: var(--ink-2); font-size: .85rem; line-height: 1.35; }
.opt__price { font-size: .85rem; font-weight: 700; margin-top: 4px; color: var(--accent); }
.badge { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 99px; background: var(--ok); color: #fff; font-size: .7rem; font-weight: 700; vertical-align: 2px; }
.options:not(.options--img) .opt__body { padding: 14px; }

.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { font: inherit; color: inherit; cursor: pointer; padding: 10px 18px; border-radius: 99px; border: 2px solid var(--line); background: var(--bg); font-weight: 700; font-variant-numeric: tabular-nums; }
.pill:hover { border-color: var(--ink-2); }
.pill[aria-checked=true] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.pill:focus-visible { outline: 3px solid var(--accent-soft); }

.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; background: var(--bg); padding: 5px; border-radius: 12px; border: 1px solid var(--line); }
.seg button { font: inherit; color: inherit; font-weight: 700; padding: 12px 10px; border: 0; border-radius: 8px; background: transparent; cursor: pointer; }
.seg button[aria-checked=true] { background: var(--ink); color: var(--paper); }
.seg button:focus-visible { outline: 3px solid var(--accent-soft); }

.field { display: grid; gap: 8px; max-width: 320px; }
.field > span:first-child { font-weight: 600; font-size: .95rem; }
.hint { color: var(--ink-2); font-size: .85rem; margin: 10px 0 0; }

.summary { position: sticky; top: 16px; }
.summary__in { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.summary h2 { margin: 0; padding: 18px 22px; font-size: 1.1rem; border-bottom: 1px solid var(--line); }
#summaryBody { padding: 8px 22px 4px; }
.sel { color: var(--ink-2); font-size: .85rem; padding: 10px 0 6px; border-bottom: 1px dashed var(--line); line-height: 1.5; }
.row { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; font-variant-numeric: tabular-nums; }
.row + .row { border-top: 1px solid var(--line); }
.row span:first-child { color: var(--ink-2); }
.row b { font-weight: 700; white-space: nowrap; }
.row--sub { padding-left: 14px; font-size: .85rem; }
.row--minus b { color: var(--ok); }
.row--strong span:first-child { color: var(--ink); font-weight: 700; }
.note { font-size: .78rem; color: var(--ink-2); padding: 0 0 8px; margin-top: -4px; }
.total { margin-top: 8px; padding: 20px 22px 22px; background: var(--ink); color: var(--paper); display: grid; gap: 2px; }
.total__label { font-size: .85rem; opacity: .75; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.total__value { font-size: clamp(1.9rem, 4vw, 2.5rem); line-height: 1.1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.total__per { font-size: .9rem; opacity: .8; }
.total.is-error { background: var(--err); color: #fff; }
.total.is-error .total__value { font-size: 1.1rem; line-height: 1.35; letter-spacing: 0; }
.total.is-loading .total__value { opacity: .55; }

.mbar { display: none; position: fixed; inset: auto 0 0 0; z-index: 20; background: var(--ink); color: var(--paper); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); align-items: center; justify-content: space-between; gap: 12px; box-shadow: 0 -6px 20px rgba(0,0,0,.25); }
.mbar small { display: block; opacity: .75; font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; }
.mbar strong { font-size: 1.25rem; font-variant-numeric: tabular-nums; }
.mbar button { font: inherit; font-weight: 700; border: 0; border-radius: 10px; padding: 10px 16px; background: var(--accent); color: var(--accent-ink); cursor: pointer; }

.foot { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--ink-2); font-size: .9rem; margin-top: 8px; }

@media (max-width: 920px) {
  .layout { grid-template-columns: 1fr; }
  .summary { position: static; }
  .mbar:not([hidden]) { display: flex; }
  body { padding-bottom: 72px; }
}
@media (max-width: 560px) {
  .length { grid-template-columns: 1fr; gap: 14px; }
  .range-hint { padding-left: 0; }
  .card { padding: 18px; }
  .options { grid-template-columns: repeat(2, 1fr); }
  .options:not(.options--img) { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

.top__tools { display:flex; align-items:center; gap:18px; }
#language { border:1px solid var(--line, #ddd); border-radius:8px; padding:9px 30px 9px 11px; background:#fff; color:inherit; font:inherit; }
#destination { width:100%; min-height:48px; border:1px solid #aeb4bd; border-radius:9px; padding:11px 13px; font:inherit; font-size:16px; font-weight:500; line-height:1.4; color:#17191c !important; -webkit-text-fill-color:#17191c; background:#fff !important; caret-color:#17191c; opacity:1; }
#destination::placeholder { color:#626a75; -webkit-text-fill-color:#626a75; opacity:1; }
#destination:focus { outline:3px solid rgba(217,72,15,.22); border-color:#d9480f; }
#distHint { color:var(--ink); font-weight:600; }
@media (max-width:640px) { .top__tools { gap:8px; flex-wrap:wrap; justify-content:flex-end; } }

/* Tanúsítványra vonatkozó, jól látható tájékoztató */
.cert-notice { margin: 0 0 18px; padding: 13px 16px; border: 1px solid #2f855a; border-left: 5px solid #2f855a; border-radius: 9px; background: #edf8f1; color: #174b2d; font-weight: 700; line-height: 1.45; }

.shipping-contact { padding: 18px 22px 22px; background: var(--paper); border: 1px solid var(--line); border-top: 0; border-radius: 0 0 var(--radius) var(--radius); text-align: center; }
.shipping-contact p { margin: 0 0 12px; color: var(--ink-2); font-weight: 600; }
.shipping-contact__button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 10px 20px; border-radius: 10px; background: var(--accent); color: var(--accent-ink); font-weight: 800; text-decoration: none; }
.shipping-contact__button:hover { filter: brightness(.95); }

/* A felépített kerítés fotója közvetlenül a mintázat kártyáján, a leírás alatt látható. */
.assembled-inline-image{display:block;width:calc(100% - 20px);height:auto;max-height:230px;object-fit:contain;object-position:center;margin:0 10px 12px;border-radius:8px;background:#fff}
.assembled-inline-image[hidden]{display:none}

.total__value--contact { font-size: clamp(1.05rem, 2.5vw, 1.4rem); line-height: 1.35; letter-spacing: 0; }


/* Mintaképek teljes egészükben, egységesen igazítva jelennek meg. */
.options--img .opt__img { width:100%; aspect-ratio:4/3; height:auto; object-fit:contain; object-position:center; padding:8px; background:#fff; }
.assembled-inline-image { cursor:zoom-in; transition:transform .15s ease, box-shadow .15s ease; }
.assembled-inline-image:hover { transform:scale(1.015); box-shadow:0 3px 14px rgba(0,0,0,.18); }
.image-preview-modal { position:fixed; inset:0; z-index:1000; display:flex; align-items:center; justify-content:center; padding:28px; background:rgba(0,0,0,.86); cursor:zoom-out; }
.image-preview-modal[hidden] { display:none; }
.image-preview-modal__image { display:block; max-width:min(96vw,1500px); max-height:90vh; width:auto; height:auto; object-fit:contain; border-radius:10px; background:#fff; box-shadow:0 12px 48px rgba(0,0,0,.45); cursor:default; }
.image-preview-modal__close { position:absolute; top:14px; right:18px; width:48px; height:48px; border:0; border-radius:50%; background:#fff; color:#111; font-size:34px; line-height:1; cursor:pointer; }
@media (max-width:560px) { .image-preview-modal { padding:12px; } .image-preview-modal__image { max-width:96vw; max-height:84vh; } }

/* Telefonos nézetben a mintázatkártyák egymás alatt jelenjenek meg. */
@media (max-width: 560px) {
  #patternOptions { grid-template-columns: 1fr; }
}


/* Egységes arculat a főoldallal */
.site-header { position: relative; z-index: 5; background: #fff; border-bottom: 1px solid rgba(20,43,31,.08); }
.header-inner { width: min(1160px, calc(100% - 44px)); min-height: 82px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-header .brand { display: flex; align-items: center; gap: 12px; color: var(--ink); font: 800 1.12rem/1.2 Manrope, "Segoe UI", sans-serif; text-decoration: none; letter-spacing: -.03em; }
.site-header .brand img { max-width: 180px; max-height: 48px; object-fit: contain; }
.header-actions { display: flex; align-items: center; gap: 26px; }
.header-actions .nav-link { color: var(--ink); font-weight: 700; text-decoration: none; }
.header-actions .nav-link:hover, .header-actions .contact a:hover { color: #32664d; }
.header-actions #language { font: 600 .9rem "DM Sans", "Segoe UI", sans-serif; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 9px; padding: 10px 12px; }
.header-actions .contact { display: flex; gap: 18px; flex-wrap: wrap; font-size: .95rem; }
.header-actions .contact a { color: var(--ink); text-decoration: none; font-weight: 700; }
.intro { padding: 48px 0 22px; }
.intro h1 { font-family: Manrope, "Segoe UI", sans-serif; font-weight: 800; letter-spacing: -.045em; color: var(--ink); }
.intro p { color: var(--ink-2); }
.promo { background: var(--green, #244d3b); color: #fff; }
.promo b { background: #fff; color: #244d3b; }
.card { background: #fff; border-color: var(--line); box-shadow: 0 8px 26px rgba(20,43,31,.055); }
.num { background: #d8e6d5; color: #244d3b; }
.opt, .pill, .seg { background-color: #f7f9f6; }
.pill[aria-checked=true], .seg button[aria-checked=true] { background: #244d3b; border-color: #244d3b; color: #fff; }
.total { background: #244d3b; color: #fff; }
.mbar { background: #244d3b; color: #fff; }
.mbar button { background: #fff; color: #244d3b; }
.cert-notice { background: #edf5ee; color: #244d3b; border: 1px solid #cfe2d2; border-left: 5px solid #32664d; border-radius: 10px; padding: 12px 16px; margin-bottom: 18px; font-weight: 700; }
.foot { background: #fff; }
@media (max-width: 650px) {
  .header-inner { min-height: 72px; width: min(100% - 28px, 1160px); gap: 12px; }
  .header-actions { gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
  .header-actions .contact { display: none; }
  .header-actions .nav-link { font-size: .9rem; }
  .header-actions #language { padding: 8px 9px; }
  .wrap { width: min(100% - 28px, 1160px); }
  .intro { padding-top: 32px; }
}


/* Fekete–narancssárga arculat: a kalkulátor a főoldal vizuális párja */
:root{color-scheme:dark;--bg:#111111;--paper:#1d1d1d;--ink:#f5f5f5;--ink-2:#b8b8b8;--line:#3a3a3a;--accent:#f47a20;--accent-ink:#111111;--accent-soft:#573016;--ok:#ff9a45;--err:#ff6b5f;--shadow:0 12px 34px rgba(0,0,0,.28)}
body{background:#111;color:#f5f5f5}
.site-header{background:#171717;border-bottom:1px solid #383838}
.site-header .brand,.header-actions .nav-link,.header-actions .contact a{color:#fff}
.header-actions .nav-link:hover,.header-actions .contact a:hover{color:#ff963f}
.header-actions #language,#language{background:#242424!important;color:#fff!important;border-color:#494949!important}
.intro h1,.intro p{color:#f5f5f5}
.intro p,.hint,.foot{color:#b8b8b8}
.promo{background:#f47a20;color:#111}
.promo b{background:#171717;color:#ff963f}
.card,.summary__in{background:#1d1d1d;border-color:#3a3a3a}
.card h2,.summary h2{color:#f5f5f5}
.num{background:#f47a20;color:#111}
.length__field,.field__in,.opt,.pill,.seg{background:#242424;border-color:#454545;color:#f5f5f5}
.length__field input,.field__in input{color:#fff}
.pill[aria-checked=true],.seg button[aria-checked=true],.opt[aria-checked=true]{background:#f47a20;border-color:#f47a20;color:#111}
.total,.mbar{background:#f47a20;color:#111}
.total__label,.total__per{color:#302016;opacity:1}
.mbar button{background:#171717;color:#fff}
.cert-notice{background:#2b1b10;color:#ffd2ad;border:1px solid #8a481c;border-left:5px solid #f47a20}
.shipping-contact{background:#1d1d1d;border-color:#3a3a3a}
.shipping-contact p{color:#d0d0d0}
.shipping-contact__button{background:#f47a20;color:#111}
.foot{background:#171717;border-color:#383838}
#destination{background:#fff!important;color:#17191c!important;-webkit-text-fill-color:#17191c!important}
#destination::placeholder{color:#626a75!important;-webkit-text-fill-color:#626a75!important}
.options--img .opt__img,.assembled-inline-image{background:#fff}
.image-preview-modal{background:rgba(0,0,0,.9)}
@media(max-width:650px){.header-inner{background:#171717}.header-actions #language{padding:8px 9px}}


/* Az árösszesítő végösszegének háttere legyen fehér a fekete–narancssárga témában is. */
.total:not(.is-error) { background: #fff; color: #111; }
.total:not(.is-error) .total__label,
.total:not(.is-error) .total__per { color: #4b4b4b; opacity: 1; }
.total:not(.is-error) .total__value { color: #111; }
.mbar { background: #fff; color: #111; border-top: 1px solid #e5e5e5; }
.mbar small { color: #555; opacity: 1; }
.mbar strong { color: #111; }
.mbar button { background: #f47a20; color: #111; }


/* Egységes fehér–türkizkék arculat a kalkulátorhoz */
:root{
 color-scheme:light;
 --bg:#f5fbfb;--paper:#fff;--ink:#14272a;--ink-2:#607579;
 --line:#d8e9ea;--accent:#0e929d;--accent-ink:#fff;
 --accent-soft:#d9f4f4;--ok:#0e929d;--err:#b42318;
 --shadow:0 12px 34px rgba(13,91,99,.08);
}
body{background:#f5fbfb!important;color:#14272a!important}
.site-header,.top{background:#fff!important;border-bottom:1px solid #d8e9ea!important}
.site-header .brand,.brand,.header-actions .nav-link,.header-actions .contact a,.contact a{color:#14272a!important}
.header-actions .nav-link:hover,.header-actions .contact a:hover,.contact a:hover{color:#0e929d!important}
.header-actions #language,#language{background:#fff!important;color:#14272a!important;border:1px solid #c9e2e4!important}
.intro h1,.card h2,.summary h2{color:#14272a!important}
.intro p,.hint,.foot{color:#607579!important}
.promo{background:#0e929d!important;color:#fff!important}
.promo b{background:#fff!important;color:#087c85!important}
.card,.summary__in{background:#fff!important;border-color:#d8e9ea!important;box-shadow:0 8px 26px rgba(13,91,99,.06)!important}
.num{background:#d9f4f4!important;color:#087c85!important}
.length__field,.field__in,.opt,.pill,.seg{background:#f7fcfc!important;border-color:#d8e9ea!important;color:#14272a!important}
.length__field input,.field__in input{color:#14272a!important}
input[type=range]{background:linear-gradient(to right,#0e929d var(--p,0%),#d8e9ea var(--p,0%))!important}
input[type=range]::-webkit-slider-thumb{border-color:#0e929d!important}
input[type=range]::-moz-range-thumb{border-color:#0e929d!important}
.opt:hover,.pill:hover{border-color:#0e929d!important}
.opt[aria-checked=true]{border-color:#0e929d!important;box-shadow:0 0 0 3px #d9f4f4!important}
.pill[aria-checked=true],.seg button[aria-checked=true]{background:#0e929d!important;border-color:#0e929d!important;color:#fff!important}
.opt__price{color:#087c85!important}
.badge{background:#0e929d!important;color:#fff!important}
.total:not(.is-error){background:#fff!important;color:#14272a!important;border:1px solid #d8e9ea!important}
.total:not(.is-error) .total__label,.total:not(.is-error) .total__per{color:#607579!important;opacity:1!important}
.total:not(.is-error) .total__value{color:#14272a!important}
.mbar{background:#fff!important;color:#14272a!important;border-top:1px solid #d8e9ea!important}
.mbar small{color:#607579!important;opacity:1!important}
.mbar strong{color:#14272a!important}
.mbar button{background:#0e929d!important;color:#fff!important}
.cert-notice{background:#e8f8f8!important;color:#087c85!important;border:1px solid #bde6e8!important;border-left:5px solid #13b8c4!important}
.shipping-contact{background:#fff!important;border-color:#d8e9ea!important}
.shipping-contact p{color:#607579!important}
.shipping-contact__button{background:#0e929d!important;color:#fff!important}
.foot{background:#fff!important;border-color:#d8e9ea!important}
#destination{background:#fff!important;color:#14272a!important;-webkit-text-fill-color:#14272a!important;border-color:#c9e2e4!important}
#destination::placeholder{color:#71878a!important;-webkit-text-fill-color:#71878a!important}
.options--img .opt__img,.assembled-inline-image{background:#fff!important}
.image-preview-modal{background:rgba(8,35,38,.88)!important}
.image-preview-modal__close{background:#fff!important;color:#14272a!important}
@media(max-width:650px){.header-inner{background:#fff!important}.header-actions #language{padding:8px 9px}}


/* Egységes sötétkék–szürke arculat a kalkulátorhoz */
:root{
 color-scheme:light;
 --bg:#f3f5f8;--paper:#fff;--ink:#17243a;--ink-2:#667386;
 --line:#dce1e8;--accent:#18365d;--accent-ink:#fff;
 --accent-soft:#e6edf5;--ok:#254d7d;--err:#b42318;
 --shadow:0 12px 34px rgba(18,38,65,.08);
}
body{background:#f3f5f8!important;color:#17243a!important}
.site-header,.top{background:#fff!important;border-bottom:1px solid #dce1e8!important}
.site-header .brand,.brand,.header-actions .nav-link,.header-actions .contact a,.contact a{color:#17243a!important}
.header-actions .nav-link:hover,.header-actions .contact a:hover,.contact a:hover{color:#254d7d!important}
.header-actions #language,#language{background:#fff!important;color:#17243a!important;border:1px solid #d0d7e1!important}
.intro h1,.card h2,.summary h2{color:#17243a!important}
.intro p,.hint,.foot{color:#667386!important}
.promo{background:#18365d!important;color:#fff!important}
.promo b{background:#fff!important;color:#18365d!important}
.card,.summary__in{background:#fff!important;border-color:#dce1e8!important;box-shadow:0 8px 26px rgba(18,38,65,.06)!important}
.num{background:#e6edf5!important;color:#18365d!important}
.length__field,.field__in,.opt,.pill,.seg{background:#f7f8fa!important;border-color:#dce1e8!important;color:#17243a!important}
.length__field input,.field__in input{color:#17243a!important}
input[type=range]{background:linear-gradient(to right,#18365d var(--p,0%),#dce1e8 var(--p,0%))!important}
input[type=range]::-webkit-slider-thumb{border-color:#18365d!important}
input[type=range]::-moz-range-thumb{border-color:#18365d!important}
.opt:hover,.pill:hover{border-color:#254d7d!important}
.opt[aria-checked=true]{border-color:#18365d!important;box-shadow:0 0 0 3px #e6edf5!important}
.pill[aria-checked=true],.seg button[aria-checked=true]{background:#18365d!important;border-color:#18365d!important;color:#fff!important}
.opt__price{color:#18365d!important}
.badge{background:#254d7d!important;color:#fff!important}
.total:not(.is-error){background:#fff!important;color:#17243a!important;border:1px solid #dce1e8!important}
.total:not(.is-error) .total__label,.total:not(.is-error) .total__per{color:#667386!important;opacity:1!important}
.total:not(.is-error) .total__value{color:#17243a!important}
.mbar{background:#fff!important;color:#17243a!important;border-top:1px solid #dce1e8!important}
.mbar small{color:#667386!important;opacity:1!important}
.mbar strong{color:#17243a!important}
.mbar button{background:#18365d!important;color:#fff!important}
.cert-notice{background:#edf1f6!important;color:#18365d!important;border:1px solid #d1dbe8!important;border-left:5px solid #254d7d!important}
.shipping-contact{background:#fff!important;border-color:#dce1e8!important}
.shipping-contact p{color:#667386!important}
.shipping-contact__button{background:#18365d!important;color:#fff!important}
.foot{background:#fff!important;border-color:#dce1e8!important}
#destination{background:#fff!important;color:#17243a!important;-webkit-text-fill-color:#17243a!important;border-color:#d0d7e1!important}
#destination::placeholder{color:#778397!important;-webkit-text-fill-color:#778397!important}
.options--img .opt__img,.assembled-inline-image{background:#fff!important}
.image-preview-modal{background:rgba(10,22,39,.88)!important}
.image-preview-modal__close{background:#fff!important;color:#17243a!important}
@media(max-width:650px){.header-inner{background:#fff!important}.header-actions #language{padding:8px 9px}}

/* Grafit–bronz prémium arculat a kalkulátorhoz */
:root{color-scheme:dark;--ink:#f2eee8;--muted:#b9b1a7;--paper:#1c1b19;--soft:#24221f;--line:#403b35;--green:#a87945;--green2:#c0925d;--lime:#392f25;--orange:#c0925d}
body{background:#171614!important;color:#f2eee8!important}
.site-header,.header-inner{background:#1b1a18!important;border-color:#39342e!important}
.brand,.nav-link,.phone-link{color:#f2eee8!important}
.header-actions #language,#language{background:#252320!important;color:#f2eee8!important;border:1px solid #51483d!important}
.intro h1,.card h2,.summary h2{color:#f5f0e9!important}
.intro p,.hint,.foot{color:#b9b1a7!important}
.promo{background:#a87945!important;color:#171411!important}
.promo b{background:#1b1a18!important;color:#d0a575!important}
.card,.summary__in{background:#24221f!important;border-color:#403b35!important;box-shadow:0 10px 30px rgba(0,0,0,.28)!important}
.num{background:#493a2b!important;color:#d0a575!important}
.length__field,.field__in,.opt,.pill,.seg{background:#2b2925!important;border-color:#51483d!important;color:#f2eee8!important}
.length__field input,.field__in input{color:#f2eee8!important}
input[type=range]{background:linear-gradient(to right,#b48350 var(--p,0%),#51483d var(--p,0%))!important}
input[type=range]::-webkit-slider-thumb{border-color:#c0925d!important}
input[type=range]::-moz-range-thumb{border-color:#c0925d!important}
.opt:hover,.pill:hover{border-color:#c0925d!important}
.opt[aria-checked=true]{border-color:#c0925d!important;box-shadow:0 0 0 3px #493a2b!important}
.pill[aria-checked=true],.seg button[aria-checked=true]{background:#a87945!important;border-color:#a87945!important;color:#171411!important}
.opt__price{color:#d0a575!important}
.badge{background:#a87945!important;color:#171411!important}
.total:not(.is-error){background:#f0ece5!important;color:#211f1c!important;border:1px solid #c8bba9!important}
.total:not(.is-error) .total__label,.total:not(.is-error) .total__per{color:#62584d!important;opacity:1!important}
.total:not(.is-error) .total__value{color:#211f1c!important}
.mbar{background:#211f1c!important;color:#f2eee8!important;border-top:1px solid #403b35!important}
.mbar small{color:#b9b1a7!important;opacity:1!important}
.mbar strong{color:#f2eee8!important}
.mbar button{background:#b48350!important;color:#171411!important}
.cert-notice{background:#30271e!important;color:#e0c29e!important;border:1px solid #66513a!important;border-left:5px solid #c0925d!important}
.shipping-contact{background:#24221f!important;border-color:#403b35!important}
.shipping-contact p{color:#b9b1a7!important}
.shipping-contact__button{background:#a87945!important;color:#171411!important}
.foot{background:#1b1a18!important;border-color:#403b35!important}
#destination{background:#2b2925!important;color:#f2eee8!important;-webkit-text-fill-color:#f2eee8!important;border-color:#51483d!important}
#destination::placeholder{color:#b9b1a7!important;-webkit-text-fill-color:#b9b1a7!important}
.options--img .opt__img,.assembled-inline-image{background:#302d28!important}
.image-preview-modal{background:rgba(8,7,6,.92)!important}
.image-preview-modal__close{background:#f0ece5!important;color:#211f1c!important}
@media(max-width:650px){.header-inner{background:#1b1a18!important}.header-actions #language{padding:8px 9px}}

/* Grafit–burgundi prémium arculat a kalkulátorhoz */
:root{color-scheme:dark;--ink:#f2edf0;--muted:#c0b3b9;--paper:#1d1a1c;--soft:#282326;--line:#46383f;--accent:#702b43;--accent-ink:#fff;--accent-soft:#452a35;--ok:#91415b;--err:#e06b76;--shadow:0 12px 34px rgba(0,0,0,.30)}
body{background:#171517!important;color:#f2edf0!important}
.site-header,.top,.header-inner{background:#1d1a1c!important;border-color:#40333a!important}
.site-header .brand,.brand,.header-actions .nav-link,.header-actions .contact a,.contact a,.nav-link,.phone-link{color:#f2edf0!important}
.header-actions .nav-link:hover,.header-actions .contact a:hover,.contact a:hover{color:#c17b91!important}
.header-actions #language,#language{background:#292327!important;color:#f2edf0!important;border:1px solid #59414b!important}
.intro h1,.card h2,.summary h2{color:#f5eff2!important}
.intro p,.hint,.foot{color:#c0b3b9!important}
.promo{background:#702b43!important;color:#fff!important}
.promo b{background:#1d1a1c!important;color:#d39aaa!important}
.card,.summary__in{background:#282326!important;border-color:#46383f!important;box-shadow:0 10px 30px rgba(0,0,0,.30)!important}
.num{background:#452a35!important;color:#d39aaa!important}
.length__field,.field__in,.opt,.pill,.seg{background:#30292e!important;border-color:#59414b!important;color:#f2edf0!important}
.length__field input,.field__in input{color:#f2edf0!important}
input[type=range]{background:linear-gradient(to right,#91415b var(--p,0%),#59414b var(--p,0%))!important}
input[type=range]::-webkit-slider-thumb{border-color:#a64d69!important}
input[type=range]::-moz-range-thumb{border-color:#a64d69!important}
.opt:hover,.pill:hover{border-color:#c17b91!important}
.opt[aria-checked=true]{border-color:#a64d69!important;box-shadow:0 0 0 3px #452a35!important}
.pill[aria-checked=true],.seg button[aria-checked=true]{background:#87364f!important;border-color:#87364f!important;color:#fff!important}
.opt__price{color:#d39aaa!important}
.badge{background:#91415b!important;color:#fff!important}
.total:not(.is-error){background:#f0eaed!important;color:#211b1f!important;border:1px solid #c9b7bf!important}
.total:not(.is-error) .total__label,.total:not(.is-error) .total__per{color:#62515a!important;opacity:1!important}
.total:not(.is-error) .total__value{color:#211b1f!important}
.mbar{background:#211c20!important;color:#f2edf0!important;border-top:1px solid #46383f!important}
.mbar small{color:#c0b3b9!important;opacity:1!important}
.mbar strong{color:#f2edf0!important}
.mbar button{background:#91415b!important;color:#fff!important}
.cert-notice{background:#39252e!important;color:#e3bac7!important;border:1px solid #68404f!important;border-left:5px solid #a64d69!important}
.shipping-contact{background:#282326!important;border-color:#46383f!important}
.shipping-contact p{color:#c0b3b9!important}
.shipping-contact__button{background:#87364f!important;color:#fff!important}
.foot{background:#1d1a1c!important;border-color:#46383f!important}
#destination{background:#30292e!important;color:#f2edf0!important;-webkit-text-fill-color:#f2edf0!important;border-color:#59414b!important}
#destination::placeholder{color:#c0b3b9!important;-webkit-text-fill-color:#c0b3b9!important}
.options--img .opt__img,.assembled-inline-image{background:#332b30!important}
.image-preview-modal{background:rgba(8,6,8,.93)!important}
.image-preview-modal__close{background:#f0eaed!important;color:#211b1f!important}
@media(max-width:650px){.header-inner{background:#1d1a1c!important}.header-actions #language{padding:8px 9px}}


/* Grafit + királykék arculati frissítés */
:root {
  --brand-primary: #4169e1;
  --brand-primary-dark: #294bb5;
  --brand-accent: #5b7ff0;
  --brand-graphite: #252a33;
  --brand-graphite-dark: #171b22;
  --brand-surface: #303743;
  --brand-muted: #b7c0cd;
  --brand-text: #f4f6fa;
  --brand-border: #485364;
}

/* Egységes grafit alap és királykék kiemelések */
body {
  background-color: #222832;
  color: #f4f6fa;
}
header, .header, .navbar, .nav, .topbar {
  background-color: #171b22;
}
button, .btn, .button, .primary-button, a.button, a.btn {
  background-color: #4169e1;
  border-color: #5b7ff0;
  color: #ffffff;
}
button:hover, .btn:hover, .button:hover, .primary-button:hover,
a.button:hover, a.btn:hover {
  background-color: #294bb5;
}
.card, .panel, .product-card, .calculator-card, .feature-card,
.section-card, .content-card {
  background-color: #2d3541;
  border-color: #485364;
  color: #f4f6fa;
}
input, select, textarea {
  background-color: #303743;
  border-color: #586579;
  color: #f4f6fa;
}
input::placeholder, textarea::placeholder {
  color: #b7c0cd;
}
footer {
  background-color: #171b22;
  color: #dce2eb;
}



/* === VALÓDI GRAFIT + KIRÁLYKÉK TÉMA === */
:root {
  color-scheme: dark;
  --bg: #202630 !important;
  --paper: #2a3340 !important;
  --ink: #f3f5fa !important;
  --ink-2: #b7c1d0 !important;
  --line: #465366 !important;
  --accent: #4169e1 !important;
  --accent-ink: #ffffff !important;
  --accent-soft: #293d75 !important;
  --ok: #5b7ff0 !important;
  --shadow: 0 12px 34px rgba(0,0,0,.32) !important;
}
html, body { background: #202630 !important; color: #f3f5fa !important; }
.top { background: #171d27 !important; border-bottom-color: #465366 !important; }
.top .brand, .contact a { color: #f3f5fa !important; }
.contact a:hover { color: #8da5ff !important; }
.intro h1, .intro p { color: #f3f5fa !important; }
.intro p { color: #b7c1d0 !important; }
.promo { background: #294bb5 !important; color: #fff !important; }
.promo b { background: #fff !important; color: #294bb5 !important; }
.card, .summary__in { background: #2a3340 !important; border-color: #465366 !important; color: #f3f5fa !important; }
.num { background: #4169e1 !important; color: #fff !important; }
.length__field, .field__in, .opt, .pill, .seg { background-color: #222b37 !important; border-color: #465366 !important; color: #f3f5fa !important; }
.opt__img { background: #303b4b !important; }
.opt[aria-checked=true] { border-color: #7896ff !important; box-shadow: 0 0 0 3px rgba(65,105,225,.25) !important; }
.pill[aria-checked=true], .seg button[aria-checked=true] { background: #4169e1 !important; border-color: #4169e1 !important; color: #fff !important; }
.opt__price { color: #9bb0ff !important; }
.badge { background: #4169e1 !important; color: #fff !important; }
.summary h2 { border-bottom-color: #465366 !important; }
.sel, .row span:first-child, .unit, .range-hint, .hint, .note { color: #b7c1d0 !important; }
.row + .row, .sel { border-color: #465366 !important; }
.total { background: #f1f3f8 !important; color: #202630 !important; }
.total .total__label, .total .total__per { color: #596477 !important; }
.total.is-error { background: #9f303c !important; color: #fff !important; }
.mbar { background: #171d27 !important; color: #fff !important; }
.mbar button { background: #4169e1 !important; color: #fff !important; }
.foot { border-top-color: #465366 !important; color: #b7c1d0 !important; }
input, select, textarea { background-color: #222b37 !important; color: #f3f5fa !important; border-color: #465366 !important; }



/* === HIÁNYZÓ KALKULÁTOR-ELEMEK: GRAFIT + KIRÁLYKÉK === */
#lengthRange,
input[type="range"] {
  background: linear-gradient(to right, #4169e1 var(--p, 0%), #465366 var(--p, 0%)) !important;
  accent-color: #4169e1 !important;
}
input[type="range"]::-webkit-slider-thumb {
  background: #202630 !important;
  border: 4px solid #4169e1 !important;
  box-shadow: 0 2px 7px rgba(0,0,0,.4) !important;
}
input[type="range"]::-moz-range-thumb {
  background: #202630 !important;
  border: 4px solid #4169e1 !important;
}
input[type="range"]::-moz-range-track { background: #465366 !important; }
.cert-notice, #certNotice {
  background: #26364f !important;
  color: #dce6ff !important;
  border: 1px solid #4169e1 !important;
  border-left: 5px solid #5b7ff0 !important;
}
.shipping-contact, #shippingContact {
  background: #252c37 !important;
  border-color: #465366 !important;
  color: #f3f5fa !important;
}
.shipping-contact p { color: #c5cede !important; }
.shipping-contact__button, #shippingContactPhone {
  background: #4169e1 !important;
  color: #ffffff !important;
  border: 1px solid #5b7ff0 !important;
}
.shipping-contact__button:hover, #shippingContactPhone:hover {
  background: #294bb5 !important;
}
.promo, #promo {
  background: #294bb5 !important;
  color: #ffffff !important;
  border-color: #4169e1 !important;
}
.promo b { background: #ffffff !important; color: #294bb5 !important; }
.mbar { background: #171d27 !important; color: #ffffff !important; }
.mbar button { background: #4169e1 !important; color: #ffffff !important; }
