/* /wycena/ — form redesign */

.wycena_form_section {
  padding-top: 4.5rem;
  margin-bottom: 5rem;
}

.wycena_form_section .title_x {
  margin-bottom: 0.6rem;
}

.wycena_form_section__add_text {
  font-size: 0.95rem;
  color: #787878;
  margin: 0 0 2.25rem;
  line-height: 1.5;
}

.wycena_form {
  background: #f7f7f7;
  border-radius: 1.5rem;
  padding: 3rem 3.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

.wycena_form .field_group--cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.wycena_form .field_group--cols .field_row {
  margin: 0;
}

.wycena_form .field_row {
  margin: 0;
}

.wycena_form .field_item {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.wycena_form .field_item__label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #787878;
  margin-bottom: 0.55rem;
  display: block;
}

.wycena_form .field_item__label b {
  color: #212121;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
  margin-left: 0.35rem;
}

.wycena_form input[type="text"],
.wycena_form input[type="tel"],
.wycena_form input[type="email"],
.wycena_form input[type="number"],
.wycena_form select,
.wycena_form textarea {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 0.5rem;
  padding: 0.9rem 1.1rem;
  font-size: 0.95rem;
  font-family: inherit;
  color: #212121;
  width: 100%;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.wycena_form input:focus,
.wycena_form select:focus,
.wycena_form textarea:focus {
  outline: none;
  border-color: #fed435;
  box-shadow: 0 0 0 3px rgba(254, 212, 53, 0.15);
}

.wycena_form textarea {
  min-height: 7rem;
  resize: vertical;
  line-height: 1.5;
}

/* Selectric customization (selects rendered through Selectric plugin). */
.wycena_form .selectric {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 0.5rem;
}

.wycena_form .selectric .label {
  padding: 0.9rem 1.1rem;
  font-size: 0.95rem;
  color: #212121;
  margin: 0;
  height: auto;
  line-height: 1.3;
}

.wycena_form .selectric .button {
  background: transparent;
  width: 2.5rem;
  height: 100%;
}

.wycena_form .selectric-open .selectric {
  border-color: #fed435;
  box-shadow: 0 0 0 3px rgba(254, 212, 53, 0.15);
}

.wycena_form .selectric-items {
  border-color: #e0e0e0;
  border-radius: 0.5rem;
  overflow: hidden;
}

.wycena_form .selectric-items li {
  padding: 0.7rem 1.1rem;
  font-size: 0.95rem;
}

.wycena_form .selectric-items li.selected,
.wycena_form .selectric-items li.highlighted,
.wycena_form .selectric-items li:hover {
  background: rgba(254, 212, 53, 0.18);
  color: #212121;
}

/* noUiSlider customization (weight slider). */
.wycena_form .js_wycena_weight_slider {
  margin: 1rem 0.5rem 0.5rem;
  height: 0.4rem;
}

.wycena_form .noUi-target {
  background: #e8e8e8;
  border: none;
  border-radius: 1rem;
  box-shadow: none;
  height: 0.4rem;
}

.wycena_form .noUi-connect {
  background: #fed435;
  border-radius: 1rem;
}

.wycena_form .noUi-handle {
  background: #fed435;
  border: 3px solid #fff;
  width: 1.4rem !important;
  height: 1.4rem !important;
  top: -0.55rem !important;
  right: -0.7rem !important;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  cursor: grab;
}

.wycena_form .noUi-handle::before,
.wycena_form .noUi-handle::after {
  display: none;
}

.wycena_form .noUi-handle:active {
  cursor: grabbing;
  transform: scale(1.1);
}

/* Estimate panel — premium dark block with golden price. */
.wycena_form__estimate {
  background: linear-gradient(135deg, #212121 0%, #1a1a1a 100%);
  color: #fff;
  border-radius: 0.85rem;
  padding: 1.75rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.wycena_form__estimate .js_wycena_estimate {
  font-size: 2.4rem;
  font-weight: 800;
  color: #fed435;
  line-height: 1;
  letter-spacing: 0.01em;
}

.wycena_form__estimate__add {
  font-size: 0.78rem;
  color: #9a9a9a;
  line-height: 1.45;
}

/* File input — custom dashed-bordered drop zone. */
.wycena_form__file {
  background: #fff;
  border: 2px dashed #d0d0d0;
  border-radius: 0.5rem;
  padding: 1rem 1.25rem;
  font-size: 0.9rem;
  color: #787878;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
  width: 100%;
  font-family: inherit;
}

.wycena_form__file:hover {
  border-color: #fed435;
  background: #fffce5;
}

.wycena_form__file::file-selector-button {
  background: #212121;
  color: #fff;
  border: none;
  border-radius: 0.4rem;
  padding: 0.55rem 1rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-right: 1rem;
  cursor: pointer;
  transition: background 0.2s ease;
}

.wycena_form__file:hover::file-selector-button {
  background: #fed435;
  color: #212121;
}

/* Checkbox row — relax wrapper margins. */
.wycena_form .field_row--checkbox {
  margin: 0.25rem 0;
}

.wycena_form .checkbox_field__text {
  font-size: 0.85rem;
  color: #555;
  line-height: 1.4;
}

/* Submit button — full-width golden CTA with hover lift. */
.wycena_form .field_item--btn {
  width: 100%;
}

.wycena_form button[type="submit"] {
  width: 100%;
  padding: 1.1rem 2rem;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 0.5rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wycena_form button[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(254, 212, 53, 0.35);
}

@media screen and (max-width: 1024px) {
  .wycena_form {
    padding: 2rem 2.25rem;
  }
  .wycena_form .field_group--cols {
    grid-template-columns: repeat(2, 1fr);
  }
  .wycena_form__estimate .js_wycena_estimate {
    font-size: 2rem;
  }
}

@media screen and (max-width: 750px) {
  .wycena_form_section {
    padding-top: 2rem;
    margin-bottom: 2.5rem;
  }
  .wycena_form {
    padding: 1.5rem 1.25rem;
    border-radius: 1rem;
    gap: 1.25rem;
  }
  .wycena_form .field_group--cols {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .wycena_form__estimate {
    padding: 1.25rem 1.5rem;
  }
  .wycena_form__estimate .js_wycena_estimate {
    font-size: 1.7rem;
  }
}

/* ============================================================
   Section: Sprzęt do wyceny (XRF + waga)
   ============================================================ */
.section_xrf { margin: 3rem 0 4rem; }
.section_xrf__inner {
  background: #f8f6f0;
  border-radius: 1.56rem;
  padding: 3.5rem 3rem;
}
.section_xrf__title { text-align: center; margin-bottom: 1.25rem; }
.section_xrf__lead {
  font-size: 1.02rem; line-height: 1.65; color: #555;
  max-width: 960px; margin: 0 auto 2.5rem; text-align: center;
}
.section_xrf__features {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2rem;
  max-width: 1100px; margin: 0 auto;
}
.section_xrf__feature {
  background: #fff;
  border-radius: 1rem;
  padding: 2rem 1.75rem;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.section_xrf__feature__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 4rem; height: 4rem;
  background: rgba(212,175,55,0.12);
  color: #d4af37;
  border-radius: 50%;
  margin-bottom: 1rem;
}
.section_xrf__feature__title {
  font-size: 1.15rem; font-weight: 700; color: #1c1d21;
  margin: 0 0 0.7rem;
}
.section_xrf__feature__text {
  font-size: 0.93rem; line-height: 1.6; color: #555; margin: 0;
}

@media (max-width: 750px) {
  .section_xrf { margin: 2rem 0 3rem; }
  .section_xrf__inner { padding: 2rem 1.25rem; border-radius: 1rem; }
  .section_xrf__title { font-size: 1.4rem; }
  .section_xrf__lead { font-size: 0.92rem; text-align: left; margin-bottom: 2rem; }
  .section_xrf__features { grid-template-columns: 1fr; gap: 1rem; }
  .section_xrf__feature { padding: 1.5rem 1.25rem; }
}
