/* Framework adapters only. site.css preserves the verified live appearance. */
.ps-main.container-fluid {
  padding: 0;
  margin: 0;
}
.form-grid.row {
  --bs-gutter-x: 14px;
  display: flex;
  gap: 0;
  margin-inline: -7px;
}
.form-grid.row > * {
  padding-inline: 7px;
}
.ps-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  overflow: hidden;
  outline: 0;
}
.ps-modal .modal-dialog {
  height: 100%;
  margin: 0;
  pointer-events: none;
}
.ps-modal .modal-content {
  display: contents;
}
.ps-modal .ps-dialog {
  pointer-events: auto;
}
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgb(0 0 0 / 0.1);
  backdrop-filter: blur(4px);
}
.modal-open {
  overflow: hidden;
}
.film-picker {
  position: relative;
}
.film-options {
  position: absolute;
  inset-inline: 0;
  top: calc(100% + 5px);
  z-index: 20;
  max-height: 240px;
  overflow: auto;
  padding: 5px;
  border: 1px solid #ccc;
  background: #f3f3f3;
  border-radius: 7px;
  box-shadow: 0 8px 20px #0002;
}
.film-options button {
  display: block;
  text-align: start;
  width: 100%;
  padding: 8px 12px;
  border-radius: 4px;
}
.film-options button:hover,
.film-options button:focus-visible,
.film-options button[aria-selected="true"] {
  background: #dedede;
  outline: 2px solid transparent;
}
.ps-dialog [data-slot="accordion-content"][hidden],
.film-options[hidden] {
  display: none !important;
}
.ps-dialog [data-slot="accordion-content"] {
  height: auto;
}
.no-script {
  padding: 20px;
  text-align: center;
}
.form-grid.row > * { width:50%; }
@media (max-width:760px) { .order-dialog .form-grid.row > * { width:100%; } }
@media (max-width:680px) { .centres-form .form-grid.row > * { width:100%; } }

/* Match the source quote grid gutter; centres uses its original 14px gutter. */
.order-dialog .form-grid.row {
  --bs-gutter-x: 18px;
  margin-inline: -9px;
}
.order-dialog .form-grid.row > * {
  padding-inline: 9px;
}
