:root {
  --psbc-blue: #007da4;
  --psbc-blue-dark: #005d7c;
  --psbc-purple: #b319ab;
  --psbc-ink: #153b55;
  --psbc-muted: #567083;
  --psbc-border: #d8e3e8;
  --psbc-pale: #eef8f9;
  --psbc-panel: #f8fbfc;
  --psbc-white: #ffffff;
  --psbc-error: #a4262c;
  --psbc-success: #1e6d4f;
}

.psbc-order-shell,
.psbc-order-shell * {
  box-sizing: border-box;
}

.psbc-order-shell {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  color: var(--psbc-ink);
  font-family: inherit;
}

.psbc-order-intro {
  padding: 34px 0 28px;
  width: 100%;
  max-width: none;
}

.psbc-order-eyebrow {
  margin-bottom: 10px;
  color: var(--psbc-blue);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.psbc-order-intro h1 {
  margin: 0 0 12px;
  color: var(--psbc-ink);
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.06;
  font-weight: 700;
}

.psbc-order-intro p,
.psbc-section-heading p,
.psbc-material-copy p,
.psbc-order-help p,
.psbc-form-footnote {
  color: var(--psbc-muted);
}

.psbc-order-intro p {
  margin: 0;
  width: 100%;
  max-width: none;
  font-size: 18px;
  line-height: 1.55;
}

.psbc-order-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(380px, 0.94fr);
  gap: 34px;
  align-items: start;
}

.psbc-section-heading h2 {
  margin: 0 0 4px;
  color: var(--psbc-ink);
  font-size: 28px;
  line-height: 1.2;
}

.psbc-section-heading p {
  margin: 0 0 18px;
  font-size: 15px;
}

.psbc-material-list {
  display: grid;
  gap: 12px;
}

.psbc-material-card {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 105px;
  gap: 18px;
  align-items: center;
  min-height: 122px;
  padding: 14px 16px;
  background: var(--psbc-white);
  border: 1px solid var(--psbc-border);
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(15, 59, 82, 0.05);
}

.psbc-material-image-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 96px;
  overflow: hidden;
  border-radius: 6px;
  background: var(--psbc-white);
}

.psbc-material-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.psbc-material-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: var(--psbc-blue);
  border: 1px solid #cbdce3;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .08em;
}

.psbc-material-copy h3 {
  margin: 0 0 5px;
  color: var(--psbc-ink);
  font-size: 18px;
  line-height: 1.25;
}

.psbc-material-copy p {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
}

.psbc-material-qty label,
.psbc-field label {
  display: block;
  margin-bottom: 5px;
  color: var(--psbc-ink);
  font-size: 13px;
  line-height: 1.3;
  font-weight: 700;
}

.psbc-material-qty select,
.psbc-field input,
.psbc-field select,
.psbc-field textarea {
  width: 100%;
  margin: 0;
  border: 1px solid #bfcfd7;
  border-radius: 6px;
  background: var(--psbc-white);
  color: #284b60;
  font-family: inherit;
  font-size: 15px;
  box-shadow: none;
}

.psbc-material-qty select {
  height: 44px;
  padding: 0 12px;
}

.psbc-field input,
.psbc-field select {
  height: 46px;
  padding: 0 13px;
}

.psbc-field textarea {
  min-height: 104px;
  padding: 12px 13px;
  resize: vertical;
}

.psbc-material-qty select:focus,
.psbc-field input:focus,
.psbc-field select:focus,
.psbc-field textarea:focus {
  outline: 3px solid rgba(0, 125, 164, 0.18);
  outline-offset: 1px;
  border-color: var(--psbc-blue);
}

.psbc-details-panel {
  padding: 25px;
  background: linear-gradient(180deg, #fbfdfe 0%, #f3f9fa 100%);
  border: 1px solid var(--psbc-border);
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(15, 59, 82, 0.07);
}

.psbc-field-grid {
  display: grid;
  gap: 15px;
}

.psbc-field-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.psbc-field {
  margin-bottom: 15px;
}

.psbc-field-grid .psbc-field {
  margin-bottom: 15px;
}

.psbc-field label span:not(.psbc-optional) {
  color: var(--psbc-purple);
}

.psbc-optional {
  color: var(--psbc-muted);
  font-weight: 400;
}

.psbc-subheading {
  margin: 8px 0 12px;
  color: var(--psbc-ink);
  font-size: 20px;
  font-weight: 700;
}

.psbc-submit-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: 54px;
  margin-top: 7px;
  border: 0;
  border-radius: 999px;
  background: var(--psbc-blue);
  color: #fff;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}

.psbc-submit-button:hover,
.psbc-submit-button:focus {
  background: var(--psbc-blue-dark);
  transform: translateY(-1px);
}

.psbc-submit-button:focus-visible {
  outline: 3px solid rgba(0, 125, 164, 0.25);
  outline-offset: 3px;
}

.psbc-form-footnote {
  margin: 14px 0 0;
  font-size: 13px;
  line-height: 1.45;
}

.psbc-order-help {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  margin-top: 16px;
  padding: 18px 20px;
  background: #edf6f2;
  border: 1px solid #c3ddd2;
  border-radius: 9px;
}

.psbc-order-help-icon {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  color: #4f8273;
  font-size: 31px;
  line-height: 1;
}

.psbc-order-help strong {
  display: block;
  margin-bottom: 4px;
  color: #28594e;
}

.psbc-order-help p {
  color: #45665e;
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
}

.psbc-order-notice {
  margin: 0 0 22px;
  padding: 15px 18px;
  border-left: 4px solid var(--psbc-blue);
  border-radius: 6px;
  background: #f0f8fb;
  color: var(--psbc-ink);
}

.psbc-order-notice--success {
  border-left-color: var(--psbc-success);
  background: #eff8f4;
}

.psbc-order-notice--error {
  border-left-color: #8f1289;
  background: #fff3f3;
  color: #6c2024;
}

.psbc-honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

@media (max-width: 980px) {
  .psbc-order-layout {
    grid-template-columns: 1fr;
  }

  .psbc-details-panel {
    order: 2;
  }
}

@media (max-width: 640px) {
  .psbc-order-intro {
    padding-top: 22px;
  }

  .psbc-order-intro h1 {
    font-size: 36px;
  }

  .psbc-order-intro p {
    font-size: 16px;
  }

  .psbc-material-card {
    grid-template-columns: 60px minmax(0, 1fr);
    gap: 12px;
  }

  .psbc-material-image-wrap {
    width: 60px;
    height: 90px;
  }

  .psbc-material-qty {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 12px;
    align-items: center;
  }

  .psbc-material-qty label {
    margin: 0;
  }

  .psbc-field-grid--2 {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .psbc-details-panel {
    padding: 20px 16px;
  }
}

/* Optional digital publication link shown when enabled for a resource. */
.psbc-digital-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  margin-top: 10px;
  padding: 6px 12px;
  border: 1px solid rgba(0, 125, 164, 0.32);
  border-radius: 999px;
  background: rgba(0, 125, 164, 0.08);
  color: var(--psbc-blue-dark) !important;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 700;
  text-decoration: none !important;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.psbc-digital-pill:hover,
.psbc-digital-pill:focus {
  background: rgba(0, 125, 164, 0.14);
  border-color: var(--psbc-blue);
  color: var(--psbc-blue-dark) !important;
  transform: translateY(-1px);
  text-decoration: none !important;
}

.psbc-digital-pill:focus-visible {
  outline: 3px solid rgba(0, 125, 164, 0.22);
  outline-offset: 2px;
}

/* Live order summary / shopping-cart treatment. */
.psbc-right-column {
  display: grid;
  gap: 20px;
  min-width: 0;
}

.psbc-cart-panel {
  position: relative;
  padding: 22px;
  background: var(--psbc-white);
  border: 1px solid var(--psbc-border);
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(15, 59, 82, 0.08);
}

.psbc-cart-heading {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--psbc-border);
}

.psbc-cart-heading h2 {
  margin: 0 0 3px;
  color: var(--psbc-ink);
  font-size: 24px;
  line-height: 1.2;
}

.psbc-cart-heading p {
  margin: 0;
  color: var(--psbc-muted);
  font-size: 13px;
  line-height: 1.4;
}

.psbc-cart-icon {
  display: flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--psbc-pale);
  color: var(--psbc-blue);
}

.psbc-cart-icon svg {
  width: 23px;
  height: 23px;
}

.psbc-cart-items {
  display: grid;
  gap: 0;
  min-height: 64px;
  padding: 7px 0;
}

.psbc-cart-empty {
  padding: 17px 0;
  color: var(--psbc-muted);
  font-size: 14px;
  font-style: italic;
}

.psbc-cart-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  column-gap: 16px;
  row-gap: 0;
  padding: 15px 0;
  border-bottom: 1px solid #edf2f4;
}

.psbc-cart-item:last-child {
  border-bottom: 0;
}

.psbc-cart-item-name {
  align-self: start;
  padding-top: 6px;
  padding-right: 12px;
  color: var(--psbc-ink);
  font-size: 15.5px;
  line-height: 1.35;
  font-weight: 750;
}

.psbc-cart-item-controls {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 6px;
}

.psbc-cart-quantity-control {
  display: inline-grid;
  grid-template-columns: 34px 48px 34px;
  align-items: stretch;
  overflow: hidden;
  border: 1px solid #bfcfd7;
  border-radius: 8px;
  background: var(--psbc-white);
}

.psbc-cart-qty-button,
.psbc-cart-qty-input,
.psbc-cart-remove {
  font-family: inherit;
}

.psbc-cart-qty-button {
  width: 34px;
  min-width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  background: #f3f8fa;
  color: var(--psbc-blue-dark);
  font-size: 20px;
  line-height: 1;
  font-weight: 500;
  cursor: pointer;
}

.psbc-cart-qty-button:hover:not(:disabled),
.psbc-cart-qty-button:focus-visible:not(:disabled) {
  background: var(--psbc-pale);
  color: var(--psbc-blue-dark);
}

.psbc-cart-qty-button:focus-visible,
.psbc-cart-qty-input:focus-visible,
.psbc-cart-remove:focus-visible {
  outline: 3px solid rgba(0, 125, 164, 0.22);
  outline-offset: 1px;
}

.psbc-cart-qty-button:disabled {
  color: #a9b9c1;
  cursor: not-allowed;
}

.psbc-cart-qty-input {
  width: 48px;
  height: 34px;
  padding: 0 3px;
  border: 0;
  border-right: 1px solid #d8e3e8;
  border-left: 1px solid #d8e3e8;
  border-radius: 0;
  background: #fff;
  color: var(--psbc-ink);
  font-size: 14px;
  line-height: 34px;
  font-weight: 700;
  text-align: center;
  -moz-appearance: textfield;
}

.psbc-cart-qty-input::-webkit-outer-spin-button,
.psbc-cart-qty-input::-webkit-inner-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

.psbc-cart-remove {
  margin-right: 2px;
  padding: 2px 3px;
  border: 0;
  background: transparent;
  color: var(--psbc-purple);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.psbc-cart-remove:hover,
.psbc-cart-remove:focus-visible {
  color: var(--psbc-error);
}

@media (max-width: 430px) {
  .psbc-cart-item {
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 10px;
  }

  .psbc-cart-item-name {
    font-size: 14.5px;
  }

  .psbc-cart-quantity-control {
    grid-template-columns: 31px 42px 31px;
  }

  .psbc-cart-qty-button {
    width: 31px;
    min-width: 31px;
  }

  .psbc-cart-qty-input {
    width: 42px;
  }
}

.psbc-cart-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0 16px;
  border-top: 2px solid var(--psbc-ink);
  color: var(--psbc-ink);
  font-size: 14px;
  font-weight: 700;
}

.psbc-cart-total strong {
  font-size: 19px;
}

.psbc-donation-callout {
  padding: 17px 18px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(0, 125, 164, 0.10), rgba(179, 25, 171, 0.05));
  border: 1px solid rgba(0, 125, 164, 0.18);
}

.psbc-donation-callout strong {
  display: block;
  margin-bottom: 6px;
  color: var(--psbc-ink);
  font-size: 14px;
}

.psbc-donation-callout p {
  margin: 0 0 12px;
  color: var(--psbc-muted);
  font-size: 12.5px;
  line-height: 1.5;
}

.psbc-donation-button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 13px;
  border-radius: 999px;
  background: var(--psbc-blue);
  color: #fff !important;
  font-size: 12.5px;
  line-height: 1.2;
  font-weight: 700;
  text-decoration: none !important;
  transition: background .2s ease, transform .2s ease;
}

.psbc-donation-button:hover,
.psbc-donation-button:focus {
  background: var(--psbc-blue-dark);
  color: #fff !important;
  transform: translateY(-1px);
  text-decoration: none !important;
}

@media (max-width: 980px) {
  .psbc-cart-panel {
    position: static;
  }
}

/* Resource category navigation and digital ordering. */
.psbc-resource-filters { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 24px; }
.psbc-resource-filters label { display: grid; gap: 6px; flex: 1; min-width: 180px; }
.psbc-resource-filters select { padding: 10px; width: 100%; }
.psbc-material-card[hidden] { display: none !important; }
.psbc-resource-category { font-size: 13px; font-weight: 600; color: #007da4; }

/* Keep fulfilment choices in consistent, separate columns. */
.psbc-material-card { grid-template-columns: 64px minmax(0, 1fr) 82px 78px; gap: 12px; }
.psbc-material-image-wrap { width: 64px; height: 96px; }
.psbc-material-qty { grid-column: 3; }
.psbc-material-digital { grid-column: 4; text-align: center; }
.psbc-material-digital label { display: block; margin-bottom: 8px; font-size: 12px; line-height: 1.3; font-weight: 600; }
.psbc-material-digital .psbc-digital-email { appearance: auto; width: 16px; height: 16px; min-width: 16px; padding: 0; margin: 0; accent-color: var(--psbc-blue); vertical-align: middle; cursor: pointer; }
.psbc-material-digital--unavailable { color: #737b83; }
.psbc-material-digital .psbc-digital-email:disabled { opacity: .45; cursor: not-allowed; }
.psbc-digital-unavailable, .psbc-hard-copy-unavailable { display: block; margin-top: 5px; font-size: 11px; line-height: 1.3; color: #737b83; }
@media (max-width: 640px) {
  .psbc-material-card { grid-template-columns: 60px minmax(0, 1fr) 78px; }
  .psbc-material-image-wrap { width: 60px; height: 90px; }
  .psbc-material-copy { grid-column: 2 / -1; }
  .psbc-material-qty { grid-column: 1 / 3; grid-row: 2; grid-template-columns: minmax(0, 1fr) 72px; gap: 10px; }
  .psbc-material-digital { grid-column: 3; grid-row: 2; }
}

/* Animated subcategory groups; original form fields remain mounted. */
.psbc-resource-group { border: 1px solid var(--psbc-border); border-radius: 10px; overflow: hidden; background: #fff; }
.psbc-resource-group-heading { margin: 0; padding: 0; }
.psbc-resource-group-toggle { display: flex; justify-content: space-between; align-items: center; gap: 16px; width: 100%; border: 0; background: var(--psbc-pale); color: var(--psbc-ink); padding: 18px 20px; text-align: left; font: inherit; font-size: 18px; font-weight: 700; cursor: pointer; }
.psbc-resource-group-toggle::after { content: ''; width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform 240ms ease; flex-shrink: 0; }
.psbc-resource-group.is-open .psbc-resource-group-toggle::after { transform: rotate(225deg); }
.psbc-resource-group-toggle:focus-visible { outline: 3px solid var(--psbc-blue); outline-offset: -4px; }
.psbc-resource-group-panel { display: grid; grid-template-rows: 0fr; opacity: 0; visibility: hidden; transition: grid-template-rows 280ms ease, opacity 220ms ease, visibility 280ms; }
.psbc-resource-group.is-open .psbc-resource-group-panel { grid-template-rows: 1fr; opacity: 1; visibility: visible; }
.psbc-resource-group-inner { min-height: 0; overflow: hidden; }
.psbc-resource-group-list { display: grid; gap: 12px; padding: 12px; }
@media (prefers-reduced-motion: reduce) {
  .psbc-resource-group-panel, .psbc-resource-group-toggle::after { transition: none; }
}

/* Branded dropdown controls, retaining native keyboard and mobile selection. */
.psbc-order-shell .psbc-order-form select {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  min-height: 46px;
  margin: 0;
  padding: 10px 42px 10px 14px;
  border: 1px solid #b8d2de;
  border-radius: 10px;
  background-color: #f7fbfd;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23007da4' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  color: var(--psbc-ink);
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  box-shadow: 0 2px 5px rgba(0, 93, 124, .04);
  cursor: pointer;
  transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}
.psbc-order-shell .psbc-order-form select:hover:not(:disabled) { border-color: var(--psbc-blue); background-color: #eef8fb; }
.psbc-order-shell .psbc-order-form select:focus {
  border-color: var(--psbc-blue);
  outline: 3px solid rgba(0, 125, 164, .22);
  outline-offset: 2px;
  background-color: #fff;
  box-shadow: 0 3px 10px rgba(0, 93, 124, .1);
}
.psbc-order-shell .psbc-material-qty select { padding-left: 10px; padding-right: 27px; background-position: right 8px center; background-size: 13px; font-weight: 700; }
.psbc-order-shell .psbc-order-form select:disabled { opacity: .55; cursor: not-allowed; box-shadow: none; }
.psbc-order-shell .psbc-order-form select option { background: #fff; color: #153b55; }
.psbc-resource-filters label { color: var(--psbc-ink); font-size: 14px; font-weight: 600; }
@media (prefers-reduced-motion: reduce) {
  .psbc-order-shell .psbc-order-form select { transition: none; }
}
@media (forced-colors: active) {
  .psbc-order-shell .psbc-order-form select { appearance: auto; background-image: none; border-color: ButtonText; }
}

.psbc-order-shell .psbc-notes-privacy { flex: 1 1 230px; color: var(--psbc-muted); font-size: 13px; font-weight: 400; line-height: 1.5; }
.psbc-notes-heading { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; margin-bottom: 8px; }
.psbc-notes-heading label { margin-bottom: 0; }

.psbc-order-shell .psbc-email-privacy { width: 100%; margin: 0 0 18px; color: #45665e; font-size: 13px; line-height: 1.5; }
.psbc-order-shell .psbc-email-privacy a { color: #005d7c; text-decoration: underline; text-underline-offset: 2px; }
.psbc-order-shell .psbc-email-privacy a:focus-visible { outline: 2px solid #007da4; outline-offset: 3px; }

.psbc-order-shell .psbc-directory-invitation { margin: 4px 0 20px; padding: 16px 18px; border: 1px solid #c3ddd2; border-radius: 9px; background: #edf6f2; color: #28594e; font-size: 14px; line-height: 1.5; }
.psbc-order-shell .psbc-directory-invitation strong { display: block; margin-bottom: 5px; }
.psbc-order-shell .psbc-directory-invitation p { margin: 0 0 9px; padding: 0; }
.psbc-order-shell .psbc-directory-invitation a { color: #005d7c; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.psbc-order-shell .psbc-directory-invitation a:focus-visible { outline: 2px solid #007da4; outline-offset: 3px; }

/* Protect the resource filter styling from theme select overrides. */
.psbc-order-shell .psbc-order-form .psbc-resource-filters select.psbc-type-filter {
  -webkit-appearance: none !important;
  appearance: none !important;
  width: 100% !important;
  min-height: 46px !important;
  margin: 0 !important;
  padding: 10px 42px 10px 14px !important;
  border: 1px solid #b8d2de !important;
  border-radius: 10px !important;
  background-color: #f7fbfd !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23007da4' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 14px center !important;
  background-size: 16px !important;
  color: var(--psbc-ink) !important;
  font-family: inherit !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  line-height: 1.4 !important;
  box-shadow: 0 2px 5px rgba(0, 93, 124, .04) !important;
  cursor: pointer !important;
  transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease !important;
}
.psbc-order-shell .psbc-order-form .psbc-resource-filters select.psbc-type-filter:hover:not(:disabled) { border-color: #007da4 !important; background-color: #eef8fb !important; }
.psbc-order-shell .psbc-order-form .psbc-resource-filters select.psbc-type-filter:focus { border-color: #007da4 !important; outline: 3px solid rgba(0,125,164,.22) !important; outline-offset: 2px !important; background-color: #fff !important; }
@media (prefers-reduced-motion: reduce) {
  .psbc-order-shell .psbc-order-form .psbc-resource-filters select.psbc-type-filter { transition: none !important; }
}
@media (forced-colors: active) {
  .psbc-order-shell .psbc-order-form .psbc-resource-filters select.psbc-type-filter { -webkit-appearance: auto !important; appearance: auto !important; background-image: none !important; border-color: ButtonText !important; color: CanvasText !important; background-color: Canvas !important; }
}

/* Custom resource-type menu, including its expanded options. */
.psbc-order-shell .psbc-resource-filters { display: block; }
.psbc-order-shell .psbc-resource-filters label { display: block; margin-bottom: 8px; }
.psbc-order-shell select.psbc-type-filter[hidden] { display: none !important; }
.psbc-type-picker { position: relative; width: 100%; }
.psbc-order-shell button.psbc-type-trigger { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 48px; padding: 12px 16px; border: 1px solid #b8d2de; border-radius: 10px; background: #f7fbfd; color: #153b55; font: inherit; font-size: 16px; text-align: left; cursor: pointer; }
.psbc-type-trigger::after { content: ''; width: 8px; height: 8px; margin-left: 16px; border-right: 2px solid #007da4; border-bottom: 2px solid #007da4; transform: rotate(45deg); transition: transform 180ms ease; }
.psbc-type-trigger[aria-expanded="true"]::after { transform: rotate(225deg); }
.psbc-order-shell button.psbc-type-trigger:hover { background: #eef8fb; border-color: #007da4; }
.psbc-order-shell button.psbc-type-trigger:focus-visible { outline: 3px solid rgba(0,125,164,.3); outline-offset: 2px; }
.psbc-type-options { position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 50; max-height: 260px; overflow-y: auto; padding: 6px; border: 1px solid #c3ddd2; border-radius: 12px; background: #fff; box-shadow: 0 10px 28px rgba(21,59,85,.16); animation: psbc-menu-in 160ms ease-out; }
.psbc-type-options[hidden] { display: none; }
.psbc-type-option { display: flex; justify-content: space-between; align-items: center; min-height: 44px; padding: 10px 12px; border-radius: 7px; color: #153b55; font-size: 15px; cursor: pointer; }
.psbc-type-option:hover, .psbc-type-option.is-active { background: #edf6f2; }
.psbc-type-option[aria-selected="true"] { color: #005d7c; font-weight: 700; }
.psbc-type-option[aria-selected="true"]::after { content: '✓'; margin-left: 12px; }
@keyframes psbc-menu-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .psbc-type-options { animation: none; } .psbc-type-trigger::after { transition: none; } }
@media (forced-colors: active) { .psbc-type-option.is-active { outline: 2px solid Highlight; } }

.psbc-order-shell #psbc_province[hidden] { display: none !important; }

.psbc-support-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.psbc-order-shell .psbc-membership-button { background: #b319ab; color: #fff; border: 1px solid #b319ab; }
.psbc-order-shell .psbc-membership-button:hover, .psbc-order-shell .psbc-membership-button:focus { background: #8f1289; color: #fff; border-color: #8f1289; }
.psbc-order-shell .psbc-membership-button:focus-visible { outline: 3px solid #007da4; outline-offset: 3px; }
