/* reflect.sk – kalkulačka „Vlastný strih" (wt-script.js) */

/* obecný konfigurátor v2 (nedá sa vypnúť v administrácii) – nahradený kalkulačkou Vlastný strih */
.w_step {
  display: none !important;
}

/* technické parametre limitov, poznámka dkLAB a natívne množstvo */
.wt-cut-param-row,
.wt-cut-active #dkLabNoteMainWrapper,
.wt-cut-active #product-detail-form .add-to-cart .quantity {
  display: none !important;
}

.wt-cut {
  margin: 16px 0;
  padding: 16px;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  background: #fafafa;
  width: 100%;
}

.wt-cut-title {
  margin-bottom: 12px;
  font-size: 18px;
  font-weight: 700;
}

.wt-cut-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.wt-cut-fields {
  flex: 1 1 200px;
  min-width: 0;
}

.wt-cut-field {
  margin-bottom: 10px;
}

.wt-cut-field label {
  display: block;
  margin-bottom: 4px;
  font-weight: 600;
}

.wt-cut-input {
  display: flex;
  align-items: center;
  gap: 8px;
}

.wt-cut-input input {
  width: 100%;
  max-width: 160px;
  height: 40px;
  padding: 0 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background: #fff;
  font-size: 16px;
}

.wt-cut-invalid .wt-cut-input input {
  border-color: #d0021b;
}

.wt-cut-hint,
.wt-cut-error {
  display: block;
  font-size: 12px;
  line-height: 1.4;
}

.wt-cut-hint {
  color: #777;
}

.wt-cut-error {
  color: #d0021b;
}

.wt-cut-error:empty {
  display: none;
}

.wt-cut-preview {
  flex: 1 1 200px;
  min-width: 0;
  max-width: 280px;
}

.wt-cut-preview svg {
  display: block;
  width: 100%;
  height: auto;
}

.wt-cut-rect {
  fill: rgba(0, 0, 0, .06);
  stroke: #333;
  stroke-width: 1.5;
}

.wt-cut-rect-empty {
  stroke-dasharray: 4 3;
  stroke: #aaa;
}

.wt-cut-label {
  fill: #333;
  font-size: 11px;
}

.wt-cut-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 24px;
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid #e0e0e0;
  align-items: center;
}

.wt-cut-price {
  font-size: 18px;
}
