/* D-Trapéz: visszafogott grafit / palaszürke arculat, a #283444 színre építve. */
#tk-calculator {
  --tk-ink: #283444;
  --tk-muted: #627181;
  --tk-border: #d9e0e4;
  font-family: inherit;
  color: var(--tk-ink);
  max-width: 1060px;
  margin: 20px auto;
}
#tk-calculator *, #tk-calculator *::before, #tk-calculator *::after { box-sizing: border-box; }
#tk-calculator .tk-panel {
  border: 1px solid #dbe1e5;
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 10px 32px rgba(40,52,68,.075);
}
#tk-calculator .tk-head {
  background: #283444;
  color: white;
  padding: 32px 34px;
}
#tk-calculator .tk-brand-label {
  display: block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .15em;
  color: #c8d1d9;
  margin: 0 0 11px;
  line-height: 1.5;
}
#tk-calculator .tk-head h2 {
  color: #fff !important;
  margin: 0 0 8px;
  padding: 0;
  font-size: clamp(24px,3.5vw,32px);
  line-height: 1.2;
  letter-spacing: -.025em;
  font-weight: 800;
}
#tk-calculator .tk-head p {
  color: #e0e6ea;
  max-width: 720px;
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
}
#tk-calculator .tk-body { padding: 29px 30px 33px; }
#tk-calculator .tk-section-title {
  color: #344555;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -.012em;
  margin: 0 0 16px;
}
#tk-calculator .tk-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 18px;
  margin-bottom: 22px;
}
#tk-calculator .tk-first-choice {
  padding: 20px 19px 7px;
  margin-bottom: 20px;
  border: 1.5px solid #a7b4bf;
  border-radius: 13px;
  background: #f0f3f5;
}
#tk-calculator .tk-first-choice .tk-section-title { margin-bottom: 11px; }
#tk-calculator .tk-first-choice select { font-weight: 750; }
#tk-calculator .tk-product-picker {
  margin: 2px 0 23px;
  padding: 19px 19px 9px;
  border: 1px solid #d9e0e4;
  border-radius: 13px;
  background: #fafbfb;
}
#tk-calculator .tk-product-picker .tk-section-title { margin: 0 0 5px; }
#tk-calculator .tk-product-help,
#tk-calculator .tk-note {
  color: var(--tk-muted);
  font-size: 12px;
  line-height: 1.5;
}
#tk-calculator .tk-product-help { margin: 0 0 15px; }
#tk-calculator .tk-note { margin-top: -5px; }
#tk-calculator .tk-picker-grid { margin-bottom: 16px; }
#tk-calculator .tk-fields-two { grid-template-columns: repeat(2,minmax(0,1fr)); }
#tk-calculator .tk-field label {
  display: block;
  color: #586978;
  font-size: 13px;
  font-weight: 700;
  margin: 0 0 9px;
}
#tk-calculator .tk-field input,
#tk-calculator .tk-field select {
  display: block;
  width: 100%;
  min-height: 49px;
  border: 1px solid #c3cdd5;
  border-radius: 8px;
  background: #fff;
  color: #293947;
  padding: 10px 13px;
  font-family: inherit;
  font-size: 17px;
  box-shadow: none;
  transition: border-color .15s ease,box-shadow .15s ease;
}
#tk-calculator .tk-field input:hover,
#tk-calculator .tk-field select:hover { border-color: #8799a8; }
#tk-calculator .tk-field input:focus,
#tk-calculator .tk-field select:focus {
  border-color: #677e90;
  box-shadow: 0 0 0 3px rgba(99,121,137,.16);
  outline: none;
}
#tk-calculator .tk-status {
  display: flex;
  align-items: center;
  min-height: 49px;
  margin: 0;
  padding: 11px 14px;
  border: 1px solid #d2dbe1;
  border-radius: 9px;
  background: #e9eef1;
  color: #34495a;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.55;
}
#tk-calculator .tk-color-preview {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: -1px 0 15px;
  padding: 12px 13px;
  border: 1px solid var(--tk-border);
  border-radius: 10px;
  background: #fff;
}
#tk-calculator .tk-color-dot {
  flex: 0 0 31px;
  width: 31px;
  height: 31px;
  border: 1px solid #aebbc4;
  border-radius: 7px;
  background: #76513d;
  box-shadow: 0 1px 4px rgba(40,52,68,.1);
}
#tk-calculator .tk-color-preview strong { display: block; font-size: 13px; line-height: 1.45; }
#tk-calculator .tk-color-preview small { display: block; color: var(--tk-muted); font-size: 11px; line-height: 1.45; }
#tk-calculator .tk-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 15px 17px;
  margin-bottom: 23px;
  border: 1px solid #d8e0e5;
  border-radius: 10px;
  background: #f6f8f9;
  cursor: pointer;
  transition: border-color .15s ease,background .15s ease;
}
#tk-calculator .tk-checkbox:hover { background: #edf2f4; border-color: #b0bfc9; }
#tk-calculator .tk-checkbox input {
  width: 19px;
  height: 19px;
  margin: 2px 0 0;
  flex: 0 0 auto;
  accent-color: #405668;
}
#tk-calculator .tk-checkbox input:disabled { opacity: .55; cursor: not-allowed; }
#tk-calculator .tk-checkbox strong { display: block; font-size: 15px; line-height: 1.3; }
#tk-calculator .tk-checkbox small { display: block; color: var(--tk-muted); font-size: 12px; line-height: 1.45; margin-top: 3px; }
#tk-calculator .tk-checkbox.tk-secondary { margin: 0 0 20px; }
#tk-calculator .tk-spec {
  margin-bottom: 26px;
  padding: 15px 17px;
  border-left: 4px solid #778c9c;
  border-radius: 9px;
  background: #edf2f4;
  color: #4d606e;
  font-size: 13px;
  line-height: 1.65;
}
#tk-calculator .tk-spec strong { color: var(--tk-ink); }
#tk-calculator .tk-warning {
  margin: 12px 0 22px;
  padding: 12px 14px;
  border-left: 3px solid #b68451;
  border-radius: 5px;
  background: #fff5e8;
  color: #704f31;
  font-size: 13px;
  line-height: 1.55;
}
#tk-calculator .tk-metrics {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 12px;
  margin-bottom: 24px;
}
#tk-calculator .tk-metric {
  padding: 17px 14px;
  border: 1px solid #d9e1e5;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(40,52,68,.035);
}
#tk-calculator .tk-metric .tk-metric-label { display: block; color: var(--tk-muted); font-size: 12px; min-height: 34px; line-height: 1.35; }
#tk-calculator .tk-metric .tk-metric-value {
  display: block;
  margin: 8px 0 0;
  color: #354b5b;
  font-size: clamp(20px,2.6vw,27px);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
#tk-calculator .tk-metric .tk-metric-hint { display: block; margin-top: 5px; font-size: 11px; color: var(--tk-muted); line-height: 1.4; }
#tk-calculator .tk-table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
#tk-calculator .tk-table { width: 100%; border-collapse: collapse; min-width: 575px; font-size: 14px; }
#tk-calculator .tk-table th {
  padding: 12px 10px;
  border-bottom: 2px solid #cdd7de;
  background: #f0f3f5;
  color: #4c5d6c;
  font-size: 12px;
  text-align: right;
}
#tk-calculator .tk-table th:first-child { text-align: left; }
#tk-calculator .tk-table td {
  padding: 17px 10px;
  text-align: right;
  border-bottom: 1px solid #e1e6e9;
  vertical-align: top;
  font-variant-numeric: tabular-nums;
}
#tk-calculator .tk-table td:first-child { text-align: left; font-weight: 700; }
#tk-calculator .tk-table td small { display: block; font-size: 11px; font-weight: 400; color: var(--tk-muted); margin-top: 4px; line-height: 1.5; }
#tk-calculator .tk-table td:nth-child(2),
#tk-calculator .tk-table th:nth-child(2) { white-space: nowrap; }
#tk-calculator .tk-table .tk-total td {
  background: #eaf0f2;
  color: #344757;
  border-top: 2px solid #cbd7de;
  border-bottom: 0;
  font-weight: 800;
}
#tk-calculator .tk-grand-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 18px;
  padding: 23px 24px;
  border-radius: 11px;
  background: #283444;
  box-shadow: 0 7px 21px rgba(40,52,68,.17);
  color: #fff;
}
#tk-calculator .tk-grand-total span { color: #fff; font-size: 16px; font-weight: 700; }
#tk-calculator .tk-grand-total strong { color: #fff; font-size: clamp(27px,4.5vw,38px); font-variant-numeric: tabular-nums; }
#tk-calculator select:disabled { background: #eef1f3; opacity: .78; cursor: not-allowed; }
#tk-calculator .tk-hide { display: none !important; }
@media (max-width: 720px) {
  #tk-calculator .tk-head { padding: 25px 20px; }
  #tk-calculator .tk-body { padding: 23px 16px 27px; }
  #tk-calculator .tk-grid,
  #tk-calculator .tk-fields-two,
  #tk-calculator .tk-metrics { grid-template-columns: 1fr; }
  #tk-calculator .tk-grid { gap: 14px; }
  #tk-calculator .tk-metric .tk-metric-label { min-height: 0; }
  #tk-calculator .tk-grand-total { padding: 18px; }
  #tk-calculator .tk-first-choice,
  #tk-calculator .tk-product-picker { padding-left: 14px; padding-right: 14px; }
}

/* A kalkulátorhoz kapcsolt WooCommerce kosárgomb */
#tk-calculator .tk-add-cart {margin-top:16px;}
#tk-calculator .tk-cart-button {display:block;width:100%;border:1px solid #283444;border-radius:6px;background:#283444;color:#fff;font-size:16px;font-weight:700;padding:15px 20px;cursor:pointer;}
#tk-calculator .tk-cart-button:hover:not(:disabled){background:#40546b;}
#tk-calculator .tk-cart-button:disabled{opacity:.55;cursor:not-allowed;}
#tk-calculator .tk-cart-feedback{margin:9px 0 0;font-size:13px;color:#516273;line-height:1.5;}
