/* Rakūnas enquiry calculator. All dialog styles are scoped to avoid theme collisions. */
.fcc-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: #087c9f;
  color: #fff;
  font: inherit;
  font-weight: 700;
  line-height: 1.3;
  cursor: pointer;
}
.fcc-button:hover { background: #075d77; color: #fff; }
.fcc-button:focus-visible { outline: 3px solid #087c9f; outline-offset: 4px; }
body.rkds-modal-open { overflow: hidden; }

#rkc-modal {
  --rkc-ink: #153747;
  --rkc-muted: #607580;
  --rkc-accent: #087c9f;
  --rkc-accent-dark: #075d77;
  --rkc-soft: #f2f8fa;
  --rkc-line: #dbe5e9;
  --rkc-error: #a02e37;
  position: fixed;
  inset: 0;
  z-index: 1000000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgb(10 29 39 / 66%);
  color: var(--rkc-ink);
  font-family: inherit;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
  text-align: left;
  overscroll-behavior: contain;
  isolation: isolate;
}
#rkc-modal[hidden],
#rkc-modal [hidden] { display: none !important; }
#rkc-modal *, #rkc-modal *::before, #rkc-modal *::after { box-sizing: border-box; }
#rkc-modal :is(h2, h3, h4, p, ul, dl, dd, fieldset) { margin: 0; }
#rkc-modal :is(h2, h3, h4) { color: var(--rkc-ink); font-family: inherit; letter-spacing: -.015em; }
#rkc-modal h2 { font-size: 25px; line-height: 1.22; font-weight: 750; }
#rkc-modal h3 { font-size: 17px; line-height: 1.35; font-weight: 700; }
#rkc-modal button { font-family: inherit; font-size: inherit; text-transform: none; letter-spacing: normal; cursor: pointer; }
#rkc-modal button, #rkc-modal input, #rkc-modal select, #rkc-modal textarea { touch-action: manipulation; }
#rkc-modal a { color: var(--rkc-accent-dark); text-decoration: underline; text-underline-offset: 2px; }
#rkc-modal :is(button, a, input, select, textarea):focus-visible { outline: 3px solid #45a8c9; outline-offset: 3px; }
#rkc-modal :is(button, input[type=submit]):disabled { opacity: .5; cursor: not-allowed; }

#rkc-modal .rkc-shell {
  display: flex;
  flex-direction: column;
  width: 820px;
  max-width: 100%;
  height: min(880px, calc(100vh - 48px));
  height: min(880px, calc(100dvh - 48px));
  min-height: 0;
  max-height: 100%;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 30%);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 24px 80px rgb(0 20 30 / 25%);
}
#rkc-modal .rkc-header {
  position: relative;
  flex: 0 0 auto;
  padding: 25px 76px 18px 28px;
  background: #fff;
}
#rkc-modal .rkc-header p { margin-top: 8px; font-size: 14px; color: var(--rkc-muted); }
#rkc-modal .rkc-header .rkc-eyebrow { margin: 0 0 6px; color: var(--rkc-accent-dark); font-size: 10px; font-weight: 800; letter-spacing: .14em; line-height: 1.3; }
#rkc-modal .rkc-close {
  position: absolute;
  top: 20px;
  right: 24px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--rkc-line);
  border-radius: 50%;
  background: #fff;
  color: var(--rkc-ink);
  font-size: 28px;
  font-weight: 400;
  line-height: 1;
}
#rkc-modal .rkc-close:hover { background: var(--rkc-soft); border-color: #a8c8d4; }
#rkc-modal .rkc-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  flex: 0 0 auto;
  gap: 8px;
  padding: 0 28px 18px;
  border-bottom: 1px solid var(--rkc-line);
}
#rkc-modal .rkc-steps button {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 9px;
  min-width: 0;
  min-height: 46px;
  padding: 9px 11px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: #f4f7f8;
  color: var(--rkc-muted);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.25;
  text-align: left;
}
#rkc-modal .rkc-steps button.is-active,
#rkc-modal .rkc-steps button[aria-current=step] { border-color: #aed4e2; background: #eaf5f9; color: var(--rkc-accent-dark); }
#rkc-modal .rkc-steps button.is-complete { background: #edf7f3; color: #226c54; }
#rkc-modal .rkc-steps button > span:first-child {
  display: grid;
  place-items: center;
  flex: 0 0 25px;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: #fff;
  font-size: 12px;
  font-weight: 800;
}
#rkc-modal .rkc-steps .is-active > span:first-child { background: var(--rkc-accent); color: #fff; }

#rkc-modal #rkc-form-holder,
#rkc-modal #rkc-form-holder > .wpcf7 {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  width: 100%;
  max-width: none;
  min-height: 0;
  margin: 0;
  padding: 0;
}
#rkc-modal .wpcf7 form {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 0;
  margin: 0;
  padding: 0;
}
#rkc-modal .rkc-scroll-area {
  flex: 1 1 auto;
  min-height: 0;
  padding: 23px 28px 28px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scroll-padding: 16px;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: #b6ccd5 transparent;
}
#rkc-modal .rkc-step > :is(h3, h2) { margin-bottom: 16px; }
#rkc-modal :is(.rkc-categories, .rkc-category-tabs) {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 20px;
}
#rkc-modal [data-category-tab] {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 48px;
  min-width: 0;
  padding: 10px 8px;
  border: 1px solid var(--rkc-line);
  border-radius: 11px;
  background: #fff;
  color: #48626e;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
}
#rkc-modal [data-category-tab]:hover { background: var(--rkc-soft); border-color: #afcfdc; }
#rkc-modal [data-category-tab].is-active,
#rkc-modal [data-category-tab][aria-selected=true] { border-color: var(--rkc-accent); background: var(--rkc-accent); color: #fff; }
#rkc-modal .rkc-category-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-width: 22px;
  height: 22px;
  padding: 0 5px;
  border-radius: 20px;
  background: #e7f2f6;
  color: var(--rkc-accent-dark);
  font-size: 11px;
  font-weight: 800;
}
#rkc-modal .is-active .rkc-category-count { background: #fff; }
#rkc-modal .rkc-category-panel,
#rkc-modal :is(.rkc-items, .rkc-item-grid) { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
#rkc-modal .rkc-category-panel > :is(h3, p, .rkc-window-options, .rkc-note, .rkc-items, .rkc-item-grid) { grid-column: 1 / -1; }
#rkc-modal .rkc-item {
  display: grid;
  grid-template-columns: 65px minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 12px;
  row-gap: 7px;
  min-width: 0;
  padding: 13px;
  border: 1px solid var(--rkc-line);
  border-radius: 13px;
  background: #fff;
  transition: border-color .15s, background-color .15s;
}
#rkc-modal .rkc-item.is-selected { border-color: var(--rkc-accent); background: #f0f8fb; box-shadow: inset 0 0 0 1px var(--rkc-accent); }
#rkc-modal .rkc-item:focus-within { border-color: var(--rkc-accent); }
#rkc-modal .rkc-item-image {
  grid-column: 1;
  grid-row: 1 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 65px;
  height: 77px;
  overflow: hidden;
}
#rkc-modal .rkc-item-image :is(img, svg) { display: block; width: 65px !important; height: 75px !important; max-width: 100% !important; max-height: 100% !important; object-fit: contain; margin: 0 !important; }
#rkc-modal .rkc-item-content,
#rkc-modal .rkc-item-info { grid-column: 2; grid-row: 1; min-width: 0; }
#rkc-modal .rkc-item h3 { margin: 0; font-size: 14px; line-height: 1.35; font-weight: 650; overflow-wrap: anywhere; }
#rkc-modal .rkc-price { margin-top: 5px; color: var(--rkc-accent-dark); font-size: 14px; font-weight: 750; line-height: 1.3; }
#rkc-modal :is(.rkc-quantity-controls, .rkc-quantity-wrapper, .rkc-quantity-control) {
  grid-column: 2;
  grid-row: 2;
  display: flex;
  align-items: center;
  justify-self: start;
  gap: 0;
  max-width: 100%;
  padding: 2px;
  border: 1px solid #c9dce4;
  border-radius: 10px;
  background: #fff;
}
#rkc-modal :is(.rkc-minus, .rkc-plus) {
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0;
  border: 0;
  border-radius: 7px;
  background: #eef5f8;
  color: var(--rkc-accent-dark);
  font-size: 25px;
  font-weight: 500;
  line-height: 1;
}
#rkc-modal :is(.rkc-minus, .rkc-plus):hover:not(:disabled) { background: #dceef5; }
#rkc-modal input.rkc-quantity {
  display: block;
  flex: 0 1 53px;
  width: 53px !important;
  min-width: 32px;
  height: 44px;
  min-height: 44px;
  margin: 0;
  padding: 3px 1px !important;
  border: 0 !important;
  border-radius: 0;
  background: #fff;
  color: var(--rkc-ink);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  box-shadow: none;
  appearance: textfield;
  -moz-appearance: textfield;
}
#rkc-modal input.rkc-quantity::-webkit-inner-spin-button,
#rkc-modal input.rkc-quantity::-webkit-outer-spin-button { margin: 0; appearance: none; }
#rkc-modal .rkc-unit { margin: 0 8px 0 2px; color: var(--rkc-muted); font-size: 12px; }
#rkc-modal .rkc-extras { margin-top: 23px; padding-top: 21px; border-top: 1px solid var(--rkc-line); }
#rkc-modal .rkc-extras > h3 { margin-bottom: 12px; font-size: 16px; }
#rkc-modal .rkc-extras > .rkc-item + .rkc-item { margin-top: 10px; }
#rkc-modal .rkc-note,
#rkc-modal .rkc-disclaimer { margin-top: 16px; padding: 12px 14px; border-radius: 10px; background: var(--rkc-soft); color: #536e7a; font-size: 13px; line-height: 1.6; }
#rkc-modal .rkc-section-note { color: #536e7a; font-size: 13px; line-height: 1.6; }
#rkc-modal #rkc-review > .rkc-section-note { margin-top: 18px; }
#rkc-modal .rkc-order-note { margin-top: 20px; padding: 12px 14px; border-radius: 10px; background: var(--rkc-soft); color: #536e7a; font-size: 12px; line-height: 1.65; }
#rkc-modal .rkc-window-options { display: block; min-width: 0; margin-top: 8px; padding: 15px; border: 1px solid var(--rkc-line); border-radius: 12px; }
#rkc-modal .rkc-window-options fieldset { min-width: 0; padding: 0; border: 0; }
#rkc-modal .rkc-window-options fieldset + fieldset { margin-top: 10px; padding-top: 13px; border-top: 1px solid var(--rkc-line); }
#rkc-modal .rkc-window-options legend { width: auto; max-width: 100%; padding: 0 5px; margin: 0; color: var(--rkc-ink); font-size: 14px; font-weight: 700; }
#rkc-modal .rkc-window-options label { display: inline-flex; align-items: center; gap: 7px; min-height: 42px; margin: 3px 18px 3px 0; font-size: 14px; font-weight: 400; }
#rkc-modal .rkc-window-options .rkc-radio-options { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
#rkc-modal .rkc-window-options .rkc-radio-options label { min-height: 46px; margin: 0; padding: 10px 14px; border: 1px solid var(--rkc-line); border-radius: 10px; background: #fff; cursor: pointer; transition: background-color .15s, border-color .15s; }
#rkc-modal .rkc-window-options .rkc-radio-options label:hover { border-color: #91becf; background: #f5fafc; }
#rkc-modal .rkc-window-options .rkc-radio-options label:has(input:checked) { border-color: var(--rkc-accent); background: #edf7fb; box-shadow: inset 0 0 0 1px var(--rkc-accent); }
#rkc-modal .rkc-window-options .rkc-radio-options label:focus-within { outline: 2px solid #45a8c9; outline-offset: 3px; }
#rkc-modal .rkc-window-options .rkc-cleaning-options { display: grid; grid-template-columns: minmax(0, 1fr); gap: 9px; }
#rkc-modal .rkc-window-options .rkc-cleaning-options label { align-items: flex-start; width: 100%; padding: 14px 15px; gap: 11px; }
#rkc-modal .rkc-cleaning-options input[type=radio] { margin-top: 2px; }
#rkc-modal .rkc-cleaning-options label > span { display: block; flex: 1 1 auto; min-width: 0; }
#rkc-modal .rkc-cleaning-options strong { display: block; color: var(--rkc-ink); font-size: 14px; font-weight: 700; line-height: 1.45; }
#rkc-modal .rkc-cleaning-options small { display: block; margin-top: 4px; color: #607580; font-size: 12px; line-height: 1.6; }
#rkc-modal .rkc-window-options legend:has(.rkc-window-cancel) { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; }
#rkc-modal .rkc-window-cancel { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; min-height: 36px; margin-left: 10px; padding: 5px 2px; border: 0; border-radius: 3px; background: transparent; color: var(--rkc-accent-dark); font-size: 12px; font-weight: 600; line-height: 1.4; text-decoration: underline; text-underline-offset: 3px; }
#rkc-modal .rkc-window-cancel:hover { color: var(--rkc-ink); }
#rkc-modal label.rkc-impregnation { display: flex; align-items: flex-start; gap: 12px; width: 100%; margin: 12px 0 0; padding: 16px; border: 1px solid var(--rkc-line); border-radius: 12px; background: #fff; cursor: pointer; transition: background-color .15s, border-color .15s; }
#rkc-modal label.rkc-impregnation:hover { border-color: #91becf; background: #f5fafc; }
#rkc-modal label.rkc-impregnation.is-selected,
#rkc-modal label.rkc-impregnation:has(input:checked) { border-color: var(--rkc-accent); background: #edf7fb; box-shadow: inset 0 0 0 1px var(--rkc-accent); }
#rkc-modal label.rkc-impregnation:focus-within { outline: 2px solid #45a8c9; outline-offset: 3px; }
#rkc-modal label.rkc-impregnation input[type=checkbox] { margin-top: 2px; }
#rkc-modal .rkc-impregnation > span { display: block; flex: 1 1 auto; min-width: 0; }
#rkc-modal .rkc-impregnation strong { display: block; color: var(--rkc-ink); font-size: 14px; font-weight: 700; line-height: 1.45; }
#rkc-modal .rkc-impregnation small { display: block; margin-top: 5px; color: #607580; font-size: 12px; font-weight: 400; line-height: 1.6; }

#rkc-modal :is(.rkc-upload, .rkc-photos) { margin-top: 24px; }
#rkc-modal :is(.rkc-upload, .rkc-photos) > h3 { margin-bottom: 10px; font-size: 16px; }
#rkc-modal .rkc-upload-zone { margin-top: 20px; padding: 17px; border: 1.5px dashed #afcbd7; border-radius: 12px; background: #f8fbfc; text-align: center; }
#rkc-modal .rkc-upload-zone.is-dragging { background: #e8f5fa; border-color: var(--rkc-accent); }
#rkc-modal .rkc-upload-zone p { margin: 5px 0 0; color: var(--rkc-muted); font-size: 12px; }
#rkc-modal .rkc-upload-label { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 8px 17px; border: 1px solid #adcbd8; border-radius: 9px; background: #fff; color: var(--rkc-accent-dark); font-weight: 700; font-size: 14px; cursor: pointer; }
#rkc-modal .rkc-upload-label:hover { border-color: var(--rkc-accent); background: #edf7fa; }
#rkc-modal .rkc-upload-label input[type=file],
#rkc-modal input#rkc-upload { position: absolute; width: 1px; height: 1px; min-height: 0; opacity: 0; padding: 0; overflow: hidden; }
#rkc-modal .rkc-upload-zone:focus-within .rkc-upload-label { outline: 3px solid #45a8c9; outline-offset: 3px; }
#rkc-modal .rkc-photo-list { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
#rkc-modal .rkc-photo { position: relative; display: flex; flex-direction: column; min-width: 0; margin: 0; padding: 5px; border: 1px solid var(--rkc-line); border-radius: 9px; background: #fff; }
#rkc-modal .rkc-photo :is(img, .rkc-photo-placeholder) { display: block; width: 100%; height: 80px; margin: 0; border-radius: 5px; background: var(--rkc-soft); object-fit: cover; }
#rkc-modal .rkc-photo-placeholder { display: grid; place-items: center; color: var(--rkc-muted); font-size: 12px; font-weight: 700; }
#rkc-modal .rkc-photo-name { display: block; overflow: hidden; margin: 5px 2px 2px; color: var(--rkc-muted); font-size: 11px; line-height: 1.4; text-overflow: ellipsis; white-space: nowrap; }
#rkc-modal .rkc-photo-remove { position: absolute; top: -6px; right: -6px; display: grid; place-items: center; width: 28px; height: 28px; padding: 0; border: 1px solid #bacdd5; border-radius: 50%; background: #fff; color: var(--rkc-ink); font-size: 20px; line-height: 1; box-shadow: 0 2px 5px #17374715; }
#rkc-modal .rkc-photo-remove:hover { background: #fff0f1; border-color: #d99da2; color: var(--rkc-error); }
#rkc-modal .rkc-photo-file::before { content: "▧"; display: grid; place-items: center; width: 100%; height: 80px; border-radius: 5px; background: var(--rkc-soft); color: #67808c; font-size: 34px; }
#rkc-modal .rkc-native-files { margin-top: 20px; padding: 15px; border: 1px solid var(--rkc-line); border-radius: 12px; }
#rkc-modal .rkc-native-files label { display: block; margin-top: 12px; font-size: 13px; }
#rkc-modal .rkc-native-files input[type=file] { max-width: 100%; font-size: 13px; }

#rkc-modal .rkc-contact-fields { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
#rkc-modal .rkc-contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px 18px; }
/* CF7 wpautop groups adjacent labels in a paragraph; let the labels remain grid items. */
#rkc-modal .rkc-contact-grid > p { display: contents; }
#rkc-modal .rkc-contact-grid > br,
#rkc-modal .rkc-contact-grid > p > br { display: none; }
#rkc-modal .rkc-required-note { color: var(--rkc-muted); font-size: 12px; }
#rkc-modal .rkc-field-address { grid-column: 1 / -1; }
#rkc-modal .rkc-contact-fields > :is(p, div, fieldset) { min-width: 0; }
#rkc-modal .rkc-contact-fields > p { margin: 0; }
#rkc-modal .rkc-contact-fields > :is(.rkc-equipment-fields, .rkc-company-fields, .rkc-company-toggle, .rkc-full-width, .rkc-message, .rkc-field-wide) { grid-column: 1 / -1; }
#rkc-modal .rkc-contact-fields label { display: block; margin: 0; color: var(--rkc-ink); font-size: 14px; font-weight: 650; line-height: 1.6; }
#rkc-modal .rkc-contact-fields label > .wpcf7-form-control-wrap { display: block; margin-top: 6px; }
#rkc-modal .rkc-contact-fields label > br { display: none; }
#rkc-modal .rkc-contact-fields :is(input[type=text], input[type=email], input[type=tel], input[type=number], select, textarea) {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 48px;
  margin: 0;
  padding: 11px 13px;
  border: 1px solid #b7cbd5;
  border-radius: 9px;
  background: #fff;
  color: var(--rkc-ink);
  font: inherit;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.45;
  box-shadow: none;
}
#rkc-modal .rkc-contact-fields select { padding-right: 34px; }
#rkc-modal .rkc-contact-fields textarea { min-height: 100px; height: 100px; resize: vertical; }
#rkc-modal .rkc-contact-fields :is(input, textarea)::placeholder { color: #81939c; opacity: 1; }
#rkc-modal .rkc-equipment-fields { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 15px; border: 1px solid var(--rkc-line); border-radius: 12px; background: #f8fbfc; }
#rkc-modal .rkc-equipment-fields > :is(p, .rkc-note) { grid-column: 1 / -1; margin: 0; padding: 0; background: none; color: var(--rkc-muted); font-size: 13px; }
#rkc-modal .rkc-lift-field { min-width: 0; padding: 0; border: 0; }
#rkc-modal .rkc-lift-field legend { padding: 0; color: var(--rkc-ink); font-size: 14px; font-weight: 650; line-height: 1.6; }
#rkc-modal .rkc-lift-field > p { margin: 0; }
#rkc-modal .wpcf7-list-item { display: inline-block; margin: 0 18px 0 0; }
#rkc-modal .wpcf7-radio .wpcf7-list-item { margin-top: 8px; }
#rkc-modal .wpcf7-radio .wpcf7-list-item label,
#rkc-modal .wpcf7-checkbox .wpcf7-list-item label,
#rkc-modal label.rkc-company-toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; font-weight: 500; cursor: pointer; }
#rkc-modal input[type=checkbox],
#rkc-modal input[type=radio] { flex: 0 0 20px; width: 20px; height: 20px; margin: 0; accent-color: var(--rkc-accent); vertical-align: middle; cursor: pointer; }
#rkc-modal .rkc-company-fields { padding: 15px; border: 1px solid var(--rkc-line); border-radius: 12px; background: #f8fbfc; }
#rkc-modal .rkc-consent { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--rkc-line); }
#rkc-modal .rkc-consent p { margin: 0; }
#rkc-modal .rkc-consent label { display: flex; align-items: flex-start; gap: 9px; color: #47616e; font-size: 13px; font-weight: 400; line-height: 1.6; }
#rkc-modal .rkc-consent input { margin-top: 1px; }
#rkc-modal .rkc-consent .wpcf7-list-item { margin: 0; }

#rkc-modal .rkc-review-items { border: 1px solid var(--rkc-line); border-radius: 13px; overflow: hidden; }
#rkc-modal .rkc-summary-row { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; padding: 13px 16px; font-size: 14px; }
#rkc-modal .rkc-summary-row + .rkc-summary-row { border-top: 1px solid #eaf0f3; }
#rkc-modal .rkc-summary-row strong { flex: 0 0 auto; color: var(--rkc-ink); font-weight: 700; text-align: right; }
#rkc-modal .rkc-summary-row > :first-child { min-width: 0; overflow-wrap: anywhere; }
#rkc-modal .rkc-summary-description { min-width: 0; }
#rkc-modal .rkc-summary-description strong { display: block; text-align: left; }
#rkc-modal .rkc-summary-description span { display: block; margin-top: 4px; color: var(--rkc-muted); font-size: 12px; line-height: 1.5; }
#rkc-modal .rkc-summary-quote .rkc-summary-price { flex: 0 1 47%; max-width: 47%; font-size: 13px; line-height: 1.45; overflow-wrap: anywhere; }
#rkc-modal .rkc-summary-total { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 15px 16px; background: #edf6f9; font-size: 16px; font-weight: 700; }
#rkc-modal .rkc-summary-total strong { color: var(--rkc-accent-dark); font-size: 21px; }
#rkc-modal .rkc-summary-total.is-quote strong { flex: 0 1 50%; max-width: 50%; font-size: 18px; line-height: 1.3; text-align: right; overflow-wrap: anywhere; }
#rkc-modal .rkc-summary-minimum { padding: 10px 16px 13px; color: var(--rkc-muted); font-size: 12px; line-height: 1.5; }
#rkc-modal .rkc-review-items > .rkc-section-note { padding: 12px 16px 0; font-size: 12px; }
#rkc-modal .rkc-review-contacts { margin-top: 22px; }
#rkc-modal .rkc-review-contacts h3 { margin-bottom: 12px; font-size: 16px; }
#rkc-modal .rkc-details-list { display: grid; grid-template-columns: minmax(100px, 1fr) minmax(0, 2fr); column-gap: 22px; row-gap: 11px; padding: 16px; border: 1px solid var(--rkc-line); border-radius: 13px; font-size: 14px; }
#rkc-modal .rkc-details-list dt { margin: 0; color: var(--rkc-muted); font-weight: 400; }
#rkc-modal .rkc-details-list dd { margin: 0; font-weight: 550; overflow-wrap: anywhere; white-space: pre-wrap; }

#rkc-modal .rkc-footer { display: flex; flex: 0 0 auto; align-items: center; justify-content: space-between; gap: 20px; padding: 17px 28px 20px; border-top: 1px solid var(--rkc-line); background: #fff; box-shadow: 0 -6px 20px #17374707; }
#rkc-modal .rkc-total { flex: 1 1 auto; min-width: 0; }
#rkc-modal .rkc-total-label { display: block; margin-bottom: 3px; color: var(--rkc-muted); font-size: 12px; line-height: 1.4; }
#rkc-modal .rkc-total-display { display: block; color: var(--rkc-ink); font-size: 27px; font-weight: 800; line-height: 1.15; letter-spacing: -.025em; font-variant-numeric: tabular-nums; }
#rkc-modal .rkc-total-display.is-quote { max-width: 250px; font-size: 20px; line-height: 1.3; letter-spacing: -.015em; overflow-wrap: anywhere; }
#rkc-modal .rkc-minimum-notice { max-width: 360px; margin-top: 5px; color: #617781; font-size: 12px; line-height: 1.45; }
#rkc-modal .rkc-quote-notice { max-width: 380px; margin-top: 7px; color: var(--rkc-accent-dark); font-size: 12px; font-weight: 600; line-height: 1.45; overflow-wrap: anywhere; }
#rkc-modal .rkc-footer-actions { display: flex; flex: 0 0 auto; align-items: center; gap: 8px; }
#rkc-modal .rkc-footer-actions button,
#rkc-modal .rkc-footer-actions input[type=submit] {
  min-width: 0 !important;
  min-height: 48px;
  margin: 0;
  padding: 12px 22px !important;
  border: 1px solid transparent !important;
  border-radius: 10px !important;
  background: var(--rkc-accent) !important;
  color: #fff !important;
  font: inherit;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  text-align: center;
  text-decoration: none !important;
  white-space: normal;
  box-shadow: none !important;
}
#rkc-modal .rkc-footer-actions :is(button, input[type=submit]):hover:not(:disabled) { background: var(--rkc-accent-dark) !important; }
#rkc-modal .rkc-footer-actions .rkc-back { padding-inline: 16px !important; border-color: var(--rkc-line) !important; background: #fff !important; color: #4e6875 !important; }
#rkc-modal .rkc-footer-actions .rkc-back:hover:not(:disabled) { background: var(--rkc-soft) !important; }
#rkc-modal .rkc-next { min-width: 145px !important; }
#rkc-modal .rkc-native-submit { position: relative; margin: 0; }
#rkc-modal .rkc-native-submit p { margin: 0; }
#rkc-modal .rkc-native-submit input[type=submit] { width: auto; max-width: 220px; }
#rkc-modal .rkc-native-submit .wpcf7-spinner { position: absolute; top: 50%; right: 9px; width: 24px; height: 24px; margin: -12px 0 0; }
#rkc-modal .submitting .rkc-native-submit input[type=submit] { padding-right: 42px !important; }
#rkc-modal .rkds-recaptcha-notice { flex: 0 0 auto; margin: 0; padding: 0 28px 12px; color: #7b8e97; font-size: 10px; line-height: 1.4; }

#rkc-modal .rkc-status { flex: 0 0 auto; margin: 0; padding: 10px 28px; border-top: 1px solid #f0c9cc; background: #fff3f3; color: var(--rkc-error); font-size: 13px; line-height: 1.45; }
#rkc-modal .rkc-status:empty { display: none; }
#rkc-modal .rkc-status.is-success { border-color: #b7ddca; background: #eef9f3; color: #246b50; }
#rkc-modal .rkc-error-message,
#rkc-modal .wpcf7-not-valid-tip { display: block; margin-top: 5px; color: var(--rkc-error); font-size: 12px; font-weight: 500; line-height: 1.45; }
#rkc-modal .rkc-error,
#rkc-modal [aria-invalid=true] { border-color: #bd4f59 !important; }
#rkc-modal .rkc-success { padding: 24px; border: 1px solid #aad5c2; border-radius: 14px; background: #f0faf5; color: #246b50; font-size: 17px; line-height: 1.6; }
#rkc-modal .rkc-success-icon { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 14px; border-radius: 50%; background: #d6efdf; color: #287451; font-size: 23px; font-weight: 700; }
#rkc-modal .rkc-success h3 { margin-bottom: 9px; font-size: 21px; }
#rkc-modal .rkc-success .rkc-next { margin-top: 22px; padding: 12px 18px; min-height: 48px; border: 0; border-radius: 10px; background: var(--rkc-accent); color: #fff; font-size: 14px; font-weight: 700; }
#rkc-modal .rkc-success .rkc-next:hover { background: var(--rkc-accent-dark); }
#rkc-modal .wpcf7 form .wpcf7-response-output { flex: 0 0 auto; margin: 0; padding: 11px 28px; border: 0; border-top: 1px solid #e0c6ac; background: #fff7ed; color: #72502e; font-size: 13px; line-height: 1.45; }
#rkc-modal .wpcf7 form .wpcf7-response-output:empty { display: none !important; }
#rkc-modal .wpcf7 form.sent .wpcf7-response-output { border-color: #b7ddca; background: #eef9f3; color: #246b50; }
#rkc-modal .wpcf7 form :is(.screen-reader-response, .screen-reader-text),
#rkc-modal .rkc-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

@media (max-width: 640px) {
  #rkc-modal { padding: 0; align-items: stretch; }
  #rkc-modal .rkc-shell { width: 100%; height: 100vh; height: 100dvh; max-height: none; border: 0; border-radius: 0; box-shadow: none; }
  #rkc-modal .rkc-header { padding: calc(8px + env(safe-area-inset-top)) 62px 8px 12px; min-height: calc(52px + env(safe-area-inset-top)); display: flex; align-items: center; }
  #rkc-modal .rkc-header h2 { font-size: 18px !important; line-height: 1.22 !important; }
  /* Keep the title; the decorative brand and repeated instructions need no fixed mobile space. */
  #rkc-modal .rkc-header p { display: none; }
  #rkc-modal .rkc-close { top: calc(4px + env(safe-area-inset-top)); right: 8px; width: 44px; height: 44px; font-size: 26px; }
  #rkc-modal .rkc-steps { gap: 4px; padding: 0 12px 6px; }
  #rkc-modal .rkc-steps button { gap: 4px; min-height: 44px; padding: 5px; border-radius: 8px; font-size: 11px; }
  #rkc-modal .rkc-steps button > span:first-child { flex-basis: 21px; width: 21px; height: 21px; font-size: 11px; }
  #rkc-modal .rkc-scroll-area { padding: 8px 12px 16px; scrollbar-gutter: auto; }
  #rkc-modal :is(.rkc-categories, .rkc-category-tabs) { gap: 4px; margin-bottom: 8px; }
  #rkc-modal [data-category-tab] { flex-direction: row; gap: 3px; min-height: 44px; padding: 5px 3px; border-radius: 8px; font-size: 11px; }
  #rkc-modal .rkc-category-count { min-width: 18px; height: 18px; font-size: 10px; }
  #rkc-modal .rkc-category-panel,
  #rkc-modal :is(.rkc-items, .rkc-item-grid) { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  #rkc-modal .rkc-item { grid-template-columns: 44px minmax(0, 1fr) auto; grid-template-rows: auto; min-height: 64px; column-gap: 8px; row-gap: 4px; padding: 7px 8px; border-radius: 10px; }
  #rkc-modal .rkc-item-image { grid-row: 1; width: 44px; height: 46px; }
  #rkc-modal .rkc-item-image :is(img, svg) { width: 44px !important; height: 46px !important; }
  #rkc-modal .rkc-item h3 { font-size: 13px; line-height: 1.25; }
  #rkc-modal .rkc-price { margin-top: 2px; font-size: 13px; }
  #rkc-modal :is(.rkc-quantity-controls, .rkc-quantity-wrapper, .rkc-quantity-control) { grid-column: 3; grid-row: 1; padding: 1px; }
  #rkc-modal :is(.rkc-minus, .rkc-plus) { flex-basis: 44px; width: 44px; height: 44px; min-height: 44px; font-size: 23px; }
  #rkc-modal input.rkc-quantity { flex-basis: 32px; width: 32px !important; min-width: 29px; height: 44px; min-height: 44px; font-size: 16px; }
  #rkc-modal .rkc-item[data-unit=m2] { grid-template-columns: 62px minmax(0, 1fr); }
  #rkc-modal .rkc-item[data-unit=m2] .rkc-item-image { grid-row: 1 / 3; }
  #rkc-modal .rkc-item[data-unit=m2] :is(.rkc-quantity-controls, .rkc-quantity-wrapper, .rkc-quantity-control) { grid-column: 2; grid-row: 2; }
  #rkc-modal .rkc-item[data-unit=m2] input.rkc-quantity { flex-basis: 70px; width: 70px !important; }
  #rkc-modal .rkc-extras { margin-top: 20px; padding-top: 18px; }
  #rkc-modal .rkc-window-options { padding: 10px 13px; }
  #rkc-modal .rkc-window-options label { margin-right: 12px; font-size: 13px; }
  #rkc-modal .rkc-window-options .rkc-radio-options:not(.rkc-cleaning-options) { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #rkc-modal .rkc-window-options .rkc-radio-options label { margin: 0; padding: 10px; gap: 8px; font-size: 13px; }
  #rkc-modal .rkc-window-options .rkc-cleaning-options label { padding: 13px 11px; gap: 10px; }
  #rkc-modal .rkc-cleaning-options strong { font-size: 13px; }
  #rkc-modal .rkc-cleaning-options small { font-size: 12px; line-height: 1.55; }
  #rkc-modal label.rkc-impregnation { padding: 14px 12px; gap: 10px; }
  #rkc-modal .rkc-photo-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  #rkc-modal .rkc-photo-remove { width: 32px; height: 32px; }
  #rkc-modal .rkc-photo :is(img, .rkc-photo-placeholder) { height: 90px; }
  #rkc-modal .rkc-photo-file::before { height: 90px; }
  #rkc-modal .rkc-contact-fields { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  #rkc-modal .rkc-contact-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  #rkc-modal .rkc-equipment-fields .rkc-contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  #rkc-modal .rkc-equipment-fields { gap: 12px; padding: 13px; }
  #rkc-modal .rkc-equipment-fields .wpcf7-list-item { margin-right: 12px; }
  #rkc-modal .rkc-details-list { grid-template-columns: minmax(80px, 1fr) minmax(0, 1.6fr); column-gap: 14px; padding: 13px; font-size: 13px; }
  #rkc-modal .rkc-summary-row { gap: 12px; padding: 12px 13px; font-size: 13px; }
  #rkc-modal .rkc-summary-total { font-size: 15px; }
  #rkc-modal .rkc-summary-total strong { font-size: 20px; }
  #rkc-modal .rkc-summary-total.is-quote strong { font-size: 16px; }
  #rkc-modal .rkc-footer { flex-direction: column; align-items: stretch; gap: 6px; padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); }
  #rkc-modal .rkc-total { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 12px; }
  #rkc-modal .rkc-total-label { margin: 0; font-size: 12px; }
  #rkc-modal .rkc-total-display { font-size: 23px; text-align: right; }
  #rkc-modal .rkc-total.is-quote { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); }
  #rkc-modal .rkc-total-display.is-quote { justify-self: end; max-width: 200px; font-size: 18px; line-height: 1.3; }
  #rkc-modal .rkc-minimum-notice { grid-column: 1 / -1; max-width: none; margin-top: 3px; font-size: 11px; line-height: 1.4; }
  #rkc-modal .rkc-quote-notice { grid-column: 1 / -1; max-width: none; margin-top: 4px; font-size: 11px; }
  #rkc-modal .rkc-footer-actions { width: 100%; gap: 8px; }
  #rkc-modal .rkc-footer-actions > :is(.rkc-next, .rkc-native-submit) { flex: 1 1 auto; min-width: 0 !important; }
  #rkc-modal .rkc-footer-actions :is(button, input[type=submit]) { min-height: 44px; padding: 9px 12px !important; font-size: 14px !important; }
  #rkc-modal .rkc-footer-actions .rkc-back { flex: 0 0 auto; padding-inline: 16px !important; }
  #rkc-modal .rkc-native-submit input[type=submit] { width: 100%; max-width: none; }
  #rkc-modal .rkc-status,
  #rkc-modal .wpcf7 form .wpcf7-response-output { padding: 9px 16px; font-size: 12px; }
  #rkc-modal .rkds-recaptcha-notice { padding: 0 12px 3px; font-size: 9px; }
  /* On the catalogue step there is only one action: put it beside the total. */
  #rkc-modal[data-step="1"] .rkc-footer { flex-direction: row; align-items: center; gap: 12px; }
  #rkc-modal[data-step="1"] .rkc-total { display: block; }
  #rkc-modal[data-step="1"] .rkc-total-label { font-size: 11px; }
  #rkc-modal[data-step="1"] .rkc-total-display { text-align: left; }
  #rkc-modal[data-step="1"] .rkc-total-display.is-quote { max-width: none; font-size: 17px; }
  #rkc-modal[data-step="1"] .rkc-footer-actions { width: auto; flex: 0 0 104px; }
}
@media (max-width: 359px) {
  #rkc-modal .rkc-header { padding-left: 10px; }
  #rkc-modal .rkc-header h2 { font-size: 17px !important; }
  #rkc-modal .rkc-steps { padding-inline: 12px; gap: 4px; }
  #rkc-modal .rkc-steps button { gap: 4px; padding: 6px; font-size: 10px; }
  #rkc-modal .rkc-scroll-area { padding-inline: 12px; }
  #rkc-modal .rkc-item { grid-template-columns: 36px minmax(0, 1fr) auto; column-gap: 5px; padding-inline: 6px; }
  #rkc-modal .rkc-item-image { width: 36px; height: 44px; grid-row: 1; }
  #rkc-modal .rkc-item-image :is(img, svg) { width: 36px !important; height: 44px !important; }
  #rkc-modal :is(.rkc-quantity-controls, .rkc-quantity-wrapper, .rkc-quantity-control) { grid-column: 3; grid-row: 1; }
  #rkc-modal .rkc-item[data-unit=m2] { grid-template-columns: 48px minmax(0, 1fr); }
  #rkc-modal :is(.rkc-minus, .rkc-plus) { flex-basis: 44px; width: 44px; }
  #rkc-modal input.rkc-quantity { flex-basis: 29px; width: 29px !important; }
  #rkc-modal .rkc-equipment-fields { grid-template-columns: minmax(0, 1fr); }
  #rkc-modal .rkc-equipment-fields .rkc-contact-grid { grid-template-columns: minmax(0, 1fr); }
  #rkc-modal .rkc-footer { padding-inline: 12px; }
  #rkc-modal .rkc-total-display.is-quote { font-size: 16px; }
  #rkc-modal .rkc-summary-total.is-quote strong { font-size: 14px; }
}
@media (max-height: 620px) and (min-width: 641px) {
  #rkc-modal { padding-block: 12px; }
  #rkc-modal .rkc-shell { height: calc(100vh - 24px); height: calc(100dvh - 24px); }
  #rkc-modal .rkc-header { padding-block: 15px 12px; }
  #rkc-modal .rkc-close { top: 14px; }
  #rkc-modal .rkc-steps { padding-bottom: 12px; }
  #rkc-modal .rkc-footer { padding-block: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  #rkc-modal *, #rkc-modal *::before, #rkc-modal *::after { transition: none !important; scroll-behavior: auto !important; }
}
