.kw-unified-form {
  background: linear-gradient(180deg, #ffffff 0%, #fff8ee 100%);
  border: 1px solid #e6dccf;
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(44, 33, 15, 0.08);
  padding: 22px;
  margin: 16px 0;
}

.kw-unified-form input,
.kw-unified-form select,
.kw-unified-form textarea {
  width: 100%;
  border: 1px solid #d3c5b4;
  border-radius: 10px;
  padding: 11px 12px;
  margin: 8px 0 14px;
  background: #fff;
  color: #3b2f26;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.kw-unified-form input:focus,
.kw-unified-form select:focus,
.kw-unified-form textarea:focus {
  outline: none;
  border-color: #d6722f;
  box-shadow: 0 0 0 3px rgba(214, 114, 47, 0.18);
}

.kw-unified-form button[type="submit"],
.kw-unified-form input[type="submit"] {
  background: linear-gradient(135deg, #df4a2b 0%, #f0a329 100%);
  border: none;
  border-radius: 10px;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: none;
  padding: 12px 20px;
  cursor: pointer;
}

.kw-unified-form button[type="submit"]:disabled,
.kw-unified-form input[type="submit"]:disabled {
  opacity: 0.72;
  cursor: not-allowed;
}

.kw-unified-form .cf-turnstile {
  margin: 10px 0 16px;
}

.kw-form-status {
  display: none;
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.4;
}

.kw-form-status.loading,
.kw-form-status.success,
.kw-form-status.error {
  display: block;
}

.kw-form-status.loading {
  background: #fff4df;
  color: #845200;
  border: 1px solid #f0d6a4;
}

.kw-form-status.success {
  background: #e9f8ef;
  color: #1d6a3b;
  border: 1px solid #b5e1c4;
}

.kw-form-status.error {
  background: #fff0f0;
  color: #8a2020;
  border: 1px solid #f0b3b3;
}

@media (max-width: 768px) {
  .kw-unified-form {
    padding: 16px;
    border-radius: 12px;
  }
}

.kw-quote-btn {
  background-color: #fc0043;
  border: none;
  width: 150px;
  height: 45px;
  color: #fff;
  border-radius: 4px;
  font-weight: 700;
  cursor: pointer;
}

body.kw-modal-open {
  overflow: hidden;
}

body.kw-modal-open::before {
  content: '';
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.52);
  z-index: 9998;
}

body.kw-modal-open #myModal {
  position: fixed !important;
  inset: 0;
  z-index: 9999 !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  background: transparent !important;
  padding: 16px !important;
  overflow: auto !important;
}

body.kw-modal-open #myModal .modal-content {
  width: min(820px, 96%);
  margin: 0;
  background: #fff !important;
  border-radius: 14px;
  border: 0 !important;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25) !important;
  padding: 18px !important;
  max-height: calc(100vh - 48px);
  overflow: auto;
}

body.kw-modal-open .wqoecf-pop-up-box {
  display: block !important;
  position: fixed !important;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(820px, 96%);
  margin: 0;
  background: #fff !important;
  border-radius: 14px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25) !important;
  border: 0 !important;
  z-index: 9999 !important;
  max-height: calc(100vh - 48px);
  overflow: auto;
}

body.kw-modal-open .wqoecf-pop-up-box > div {
  background: transparent !important;
}

body.kw-modal-open #myModal .close,
body.kw-modal-open .wqoecf-pop-up-box .wqoecf_close {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
}

.kw-generated-modal .modal-content {
  width: min(820px, 96%);
  margin: 0;
  background: #fff;
  border: 0;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
  padding: 18px;
  border-radius: 14px;
}

.kw-product-description {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid #e7e7e7;
}

.kw-product-description h2,
.kw-related-products h2 {
  margin: 0 0 14px;
  font-size: 28px;
  line-height: 1.3;
  color: #2f3d4a;
}

.kw-product-description p {
  margin: 0;
  color: #4b5a67;
}

.kw-related-products {
  margin-top: 34px;
}

.kw-related-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.kw-related-grid li a {
  display: block;
  background: #fff;
  border: 1px solid #e7e7e7;
  border-radius: 10px;
  padding: 12px;
  color: #2f3d4a;
  font-weight: 600;
  text-align: center;
}

@media (max-width: 900px) {
  .kw-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
