/* ===== Birraioli — multistep SPA checkout ===== */
/* Mounted in /nuova-prenotazione/ via [birraioli_checkout_spa] */
#brio-checkout-root {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #0F1A3D;
  font-size: 14px;
  line-height: 1.5;
}
.brio-checkout-loading {
  text-align: center;
  padding: 60px 20px;
  color: #676767;
}
.brio-checkout-error {
  background: #fee;
  border: 1px solid #f99;
  color: #900;
  padding: 16px;
  border-radius: 8px;
  margin: 20px 0;
}
/* ===== Page-level layout ===== */
.brio-co {
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px 16px;
}
.brio-co-stepper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 32px;
  position: relative;
}
.brio-co-step {
  text-align: center;
  font-size: 13.5px;
  color: #B6BBCB;
  position: relative;
  padding-bottom: 18px;
}
.brio-co-step::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: #E1E5EE;
}
.brio-co-step.is-active {
  color: #0F1A3D;
  font-weight: 700;
}
.brio-co-step.is-active::after {
  background: #33cc00;
}
.brio-co-step.is-done {
  color: #33cc00;
}
.brio-co-step.is-done::after {
  background: #33cc00;
}
.brio-co-step .dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: transparent;
  margin-left: 6px;
  vertical-align: middle;
}
.brio-co-step.is-active .dot {
  background: #33cc00;
}
.brio-co-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 32px;
  align-items: start;
}
@media (max-width: 900px) {
  .brio-co-grid {
    grid-template-columns: 1fr;
  }
}
/* ===== Form panels ===== */
.brio-co-panel {
  display: none;
}
.brio-co-panel.is-active {
  display: block;
}
.brio-co h3.brio-co-question {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 12px;
  color: #0F1A3D;
}
.brio-co .required-note {
  float: right;
  font-size: 11.5px;
  color: #B6BBCB;
}
/* ===== Counter pax (adulti/minori) ===== */
.brio-co-pax-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}
.brio-co-pax-row h3 {
  margin: 0;
}
.brio-co-pax-counts {
  display: flex;
  gap: 32px;
}
.brio-co-pax-count {
  text-align: center;
}
.brio-co-pax-count .label {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 4px;
  color: #0F1A3D;
}
.brio-co-pax-count .ctrl {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.brio-co-pax-count button {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #E1E5EE;
  color: #0F1A3D;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.brio-co-pax-count button:hover {
  background: #F4F6FB;
}
.brio-co-pax-count .val {
  font-size: 20px;
  font-weight: 700;
  min-width: 22px;
}
.brio-co-pax-count .sub {
  font-size: 11.5px;
  color: #B6BBCB;
  margin-top: 2px;
}
/* ===== Birraiolo card ===== */
.brio-co-birraiolo {
  border-top: 1px solid #E1E5EE;
  padding: 24px 0 12px;
}
.brio-co-birraiolo:first-of-type {
  border-top: 0;
  padding-top: 0;
}
.brio-co-birraiolo-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.brio-co-birraiolo-head .ico {
  width: 28px;
  height: 28px;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex: 0 0 28px;
}
.brio-co-birraiolo-head .ico svg {
  width: 28px;
  height: 28px;
  display: block;
}
.brio-co-birraiolo-head .title {
  font-size: 15px;
  font-weight: 700;
}
.brio-co-birraiolo-head .badge {
  font-size: 10.5px;
  font-weight: 700;
  background: #0F1A3D;
  color: #fff;
  padding: 3px 7px;
  border-radius: 4px;
  letter-spacing: 0.4px;
}
.brio-co-birraiolo-head .hint {
  color: #33cc00;
  font-size: 12px;
  text-decoration: underline;
  cursor: pointer;
}
.brio-co-fieldgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 22px;
}
.brio-co-fieldgrid.cols-3 {
  grid-template-columns: 1fr 1fr 1fr;
}
.brio-co-fieldgrid .field-full {
  grid-column: 1 / -1;
}
@media (max-width: 540px) {
  .brio-co-fieldgrid, .brio-co-fieldgrid.cols-3 {
    grid-template-columns: 1fr;
  }
}
.brio-co-field {
  display: flex;
  flex-direction: column;
}
.brio-co-field label {
  font-size: 12px;
  font-weight: 500;
  color: #676767;
  margin: 0 0 6px;
  text-transform: none;
  letter-spacing: 0;
}
.brio-co-field input[type="text"], .brio-co-field input[type="email"], .brio-co-field input[type="tel"], .brio-co-field input[type="date"], .brio-co-field select {
  border: 1px solid #E1E5EE;
  background: #fff;
  border-radius: 8px;
  padding: 11px 12px;
  font-size: 14px;
  color: #0F1A3D;
  font-family: inherit;
  width: 100%;
  outline: none;
  height: auto;
  box-shadow: none;
  min-height: 44px;
}
.brio-co-field input:focus, .brio-co-field select:focus {
  border-color: #33cc00;
}
.brio-co-field .err {
  color: #d83;
  font-size: 11.5px;
  margin-top: 4px;
  display: none;
}
#brio-checkout-root .brio-co-field.is-invalid input, #brio-checkout-root .brio-co-field.is-invalid select {
  border-color: #d33 !important;
  background: #fff7f7 !important;
  box-shadow: 0 0 0 3px rgba(221, 51, 51, .12);
}
.brio-co-field.is-invalid label {
  color: #d33;
}
.brio-co-field.is-invalid .err {
  display: block;
  color: #d33;
  font-weight: 600;
}
/* phone with prefix */
.brio-co-phone {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 6px;
}
.brio-co-phone select {
  padding-right: 4px;
  min-height: 44px;
}
/* ===== Subsection ===== */
.brio-co-sub h4 {
  font-size: 13.5px;
  font-weight: 700;
  margin: 22px 0 12px;
  color: #0F1A3D;
}
/* ===== Checkbox row ===== */
.brio-co-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: #0F1A3D;
  margin: 16px 0;
  cursor: pointer;
  user-select: none;
}
.brio-co-check input[type="checkbox"] {
  margin: 2px 0 0;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
}
.brio-co-check a, .brio-co-check .link {
  color: #33cc00;
  text-decoration: none;
  margin-left: 6px;
}
/* ===== CTA ===== */
.brio-co-cta-row {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}
.brio-co-cta {
  background: #33cc00;
  color: #fff;
  border: 0;
  border-radius: 99px;
  padding: 14px 64px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background 150ms;
  font-family: inherit;
}
.brio-co-cta:hover {
  background: #29a600;
}
.brio-co-cta:disabled {
  background: #B6BBCB;
  cursor: not-allowed;
}
.brio-co-cta.brio-co-cta-secondary {
  background: #fff;
  color: #0F1A3D;
  border: 1px solid #E1E5EE;
}
/* ===== Sidebar (non sticky) ===== */
.brio-co-sidebar {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(15, 26, 61, 0.06);
  padding: 22px;
}
.brio-co-sb-eyebrow {
  font-size: 12px;
  color: #676767;
  margin: 0 0 4px;
}
.brio-co-sb-title {
  font-size: 18px;
  font-weight: 800;
  margin: 0 0 4px;
  color: #0F1A3D;
}
.brio-co-sb-sub {
  font-size: 12.5px;
  color: #676767;
  margin: 0 0 16px;
}
.brio-co-sb-info {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid #EEF1F8;
  font-size: 13px;
  color: #0F1A3D;
}
.brio-co-sb-info:first-of-type {
  border-top: 0;
}
.brio-co-sb-info .ico {
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  color: #676767;
}
.brio-co-sb-info .lbl {
  font-size: 11.5px;
  color: #676767;
}
.brio-co-sb-info .val {
  font-weight: 700;
}
.brio-co-sb-info .meta {
  font-size: 11px;
  color: #676767;
  margin-top: 2px;
  line-height: 1.4;
}
.brio-co-sb-lines {
  border-top: 1px solid #EEF1F8;
  margin-top: 14px;
  padding-top: 14px;
  font-size: 12.5px;
}
.brio-co-sb-line {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
  color: #0F1A3D;
}
.brio-co-sb-line .lbl {
  color: #0F1A3D;
}
.brio-co-sb-line .amt {
  font-weight: 500;
}
.brio-co-sb-totalrow {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #EEF1F8;
}
.brio-co-sb-totalrow .lbl {
  font-size: 14px;
  font-weight: 700;
}
.brio-co-sb-totalrow .amt {
  font-size: 22px;
  font-weight: 800;
  color: #0F1A3D;
}
.brio-co-sb-note {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(15, 26, 61, 0.05);
  padding: 14px;
  margin-top: 14px;
  display: flex;
  gap: 10px;
  font-size: 11.5px;
  color: #676767;
}
.brio-co-sb-note strong {
  color: #0F1A3D;
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 4px;
}
.brio-co-sb-note .ico {
  color: #33cc00;
  flex-shrink: 0;
}
/* ===== Step 2: rooms + extras ===== */
.brio-co-rooms-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0 18px;
}
.brio-co-room-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 9px 18px;
  border: 1px solid #E1E5EE;
  border-radius: 99px;
  font-size: 13px;
  color: #0F1A3D;
  cursor: pointer;
  background: #fff;
  user-select: none;
  transition: all 120ms;
}
.brio-co-room-pill:hover {
  border-color: #B6BBCB;
}
.brio-co-room-pill.is-active {
  background: #EFFAEC;
  border-color: #33cc00;
  color: #0F1A3D;
}
.brio-co-room-pill .ctrl {
  display: none;
  align-items: center;
  gap: 8px;
}
.brio-co-room-pill.is-active .ctrl {
  display: inline-flex;
}
.brio-co-room-pill .ctrl button {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #33cc00;
  color: #33cc00;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}
.brio-co-room-pill .ctrl .v {
  font-weight: 700;
  min-width: 14px;
  text-align: center;
}
.brio-co-info-banner {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #F4F6FB;
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 13px;
  color: #0F1A3D;
  margin: 18px 0 26px;
}
.brio-co-info-banner .ico {
  flex: 0 0 24px;
  color: #676767;
}
.brio-co-info-banner strong {
  display: block;
  margin-bottom: 2px;
}
.brio-co-info-banner small {
  font-size: 12px;
  color: #676767;
}
.brio-co-extras-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.brio-co-extra-card {
  border: 1px solid #E1E5EE;
  border-radius: 12px;
  padding: 14px 16px;
  background: #fff;
  transition: border-color 120ms, background 120ms;
}
.brio-co-extra-card.is-selected {
  border-color: #33cc00;
  background: #EFFAEC;
}
.brio-co-extra-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  user-select: none;
}
.brio-co-extra-head input[type="checkbox"] {
  margin: 3px 0 0;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
}
.brio-co-extra-body {
  flex: 1;
}
.brio-co-extra-body .name {
  font-size: 14px;
  font-weight: 700;
  margin: 0;
  color: #0F1A3D;
}
.brio-co-extra-body .desc {
  font-size: 12.5px;
  color: #676767;
  margin: 2px 0 0;
  line-height: 1.4;
}
.brio-co-extra-head .price {
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
  color: #0F1A3D;
  white-space: nowrap;
}
.brio-co-extra-head .price.gratis {
  color: #33cc00;
}
.brio-co-extra-opts {
  display: none;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #E1E5EE;
}
.brio-co-extra-card.is-selected .brio-co-extra-opts {
  display: block;
}
.brio-co-extra-opts .label {
  font-size: 12px;
  color: #676767;
  font-weight: 600;
  margin-bottom: 8px;
}
.brio-co-extra-opts-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.brio-co-extra-opt-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border: 1px solid #E1E5EE;
  border-radius: 99px;
  font-size: 12.5px;
  background: #fff;
  cursor: pointer;
  user-select: none;
}
.brio-co-extra-opt-pill.is-active {
  border-color: #33cc00;
  background: #fff;
  color: #0F1A3D;
}
.brio-co-extra-opt-pill .opt-v {
  display: none;
  font-weight: 700;
  color: #33cc00;
  margin-left: 4px;
}
.brio-co-extra-opt-pill.is-active .opt-v {
  display: inline;
}
/* ===== Step 3: payment ===== */
.brio-co-radio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 26px;
}
@media (max-width: 540px) {
  .brio-co-radio-grid {
    grid-template-columns: 1fr;
  }
}
.brio-co-radio-card {
  border: 1px solid #E1E5EE;
  border-radius: 12px;
  padding: 14px 16px;
  cursor: pointer;
  background: #fff;
  display: flex;
  gap: 10px;
  transition: all 120ms;
}
.brio-co-radio-card.is-active {
  border-color: #33cc00;
  background: #EFFAEC;
}
.brio-co-radio-card .indicator {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1.5px solid #B6BBCB;
  flex: 0 0 16px;
  margin-top: 3px;
  position: relative;
}
.brio-co-radio-card.is-active .indicator {
  border-color: #33cc00;
}
.brio-co-radio-card.is-active .indicator::after {
  content: '';
  position: absolute;
  width: 6px;
  height: 3px;
  border-left: 2px solid #33cc00;
  border-bottom: 2px solid #33cc00;
  transform: rotate(-45deg);
  top: 3px;
  left: 3px;
}
.brio-co-radio-card .name {
  font-size: 14px;
  font-weight: 700;
  color: #0F1A3D;
  display: block;
}
.brio-co-radio-card .desc {
  font-size: 12.5px;
  color: #676767;
  margin-top: 4px;
  line-height: 1.45;
}
.brio-co-radio-card .icons {
  margin-top: 6px;
  display: flex;
  gap: 6px;
  align-items: center;
}
.brio-co-radio-card .icons img {
  height: 18px;
}
.brio-co-radio-card .surcharge {
  font-size: 12px;
  color: #676767;
}
.brio-co-coupon {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #F4F6FB;
  border-radius: 12px;
  padding: 16px;
  margin-top: 16px;
}
.brio-co-coupon .ico {
  flex: 0 0 24px;
}
.brio-co-coupon h4 {
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 4px;
}
.brio-co-coupon p {
  font-size: 12px;
  color: #676767;
  margin: 0 0 10px;
  line-height: 1.45;
}
.brio-co-coupon .row {
  display: flex;
  gap: 8px;
}
.brio-co-coupon input {
  flex: 1;
  border: 1px solid #E1E5EE;
  background: #fff;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 14px;
  font-family: inherit;
}
.brio-co-coupon button {
  background: #fff;
  border: 1px solid #33cc00;
  color: #33cc00;
  border-radius: 8px;
  padding: 10px 22px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}
.brio-co-coupon button:hover {
  background: #33cc00;
  color: #fff;
}
.brio-co-coupon .applied {
  background: #EFFAEC;
  border: 1px solid #33cc00;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 13px;
  color: #0F1A3D;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 8px;
}
.brio-co-coupon .applied .remove {
  color: #d83;
  cursor: pointer;
  font-size: 12px;
  text-decoration: underline;
}
.brio-co-back {
  background: transparent;
  border: 0;
  color: #676767;
  font-size: 13px;
  cursor: pointer;
  text-decoration: underline;
  padding: 14px;
  font-family: inherit;
}
/* ===== Icone SVG inline (sostituiscono le emoji) ===== */
.ico .evt-ic {
  margin: 0;
  vertical-align: middle;
}
.brio-co-sb-info .ico .evt-ic {
  width: 16px;
  height: 16px;
}
.brio-co-birraiolo-head .ico .evt-ic {
  width: 16px;
  height: 16px;
}
.brio-co-sb-note .ico .evt-ic, .brio-co-info-banner .ico .evt-ic, .brio-co-coupon .ico .evt-ic {
  width: 22px;
  height: 22px;
}
/* ===== Maglietta obbligatoria (T-shirt: una a persona, primo extra) ===== */
.brio-co-extra-fixedcheck {
  margin: 1px 0 0;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #33cc00;
  color: #fff;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}
.brio-co-incl-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .03em;
  color: #2a9c00;
  background: #d9f5cf;
  padding: 1px 7px;
  border-radius: 99px;
  margin-left: 6px;
  vertical-align: middle;
}
.brio-co-extra-card.is-mandatory .brio-co-extra-head {
  cursor: default;
}
.brio-co-extra-card.is-invalid {
  border-color: #d33 !important;
  background: #fff5f5 !important;
}
.brio-co-extra-opts .label strong {
  color: #2a9c00;
}
.brio-co-extra-opts .label strong.tshirt-err {
  color: #d33;
}
.brio-co-extra-opt-pill.is-disabled {
  opacity: .45;
  pointer-events: none;
}
.brio-co-extra-opt-pill .opt-reset {
  border: 0;
  background: transparent;
  color: #d33;
  cursor: pointer;
  font-size: 15px;
  line-height: 1;
  padding: 0 0 0 2px;
  margin-left: 2px;
  font-weight: 700;
}
.brio-co-extra-opt-pill .opt-reset:hover {
  color: #a00;
}
/* ===== Lightbox di aiuto ("Che significa?") ===== */
.brio-help-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(15, 26, 61, .55);
  padding: 20px;
}
.brio-help-overlay.is-open {
  display: flex;
}
.brio-help-modal {
  position: relative;
  background: #fff;
  border-radius: 14px;
  max-width: 520px;
  width: 100%;
  max-height: 85vh;
  overflow: auto;
  box-shadow: 0 24px 60px rgba(15, 26, 61, .35);
  animation: brioHelpIn .18s ease;
}
@keyframes brioHelpIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.brio-help-close {
  position: absolute;
  top: 8px;
  right: 12px;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 26px;
  line-height: 1;
  color: #8a90a2;
}
.brio-help-close:hover {
  color: #0f1a3d;
}
.brio-help-body {
  padding: 8px 4px;
}
.brio-help-body h3 {
  color: #0f1a3d;
}
body.brio-help-open {
  overflow: hidden;
}
/* ===== Lightbox agenzia (codice + apply) ===== */
.brio-agency-form {
  display: flex;
  gap: 10px;
  padding: 6px 4px 2px;
}
.brio-agency-code {
  flex: 1;
  padding: 12px 14px;
  border: 1px solid #d6dae6;
  border-radius: 10px;
  font-size: 15px;
  text-transform: uppercase;
}
.brio-agency-code:focus {
  outline: none;
  border-color: #33cc00;
  box-shadow: 0 0 0 3px rgba(51, 204, 0, .15);
}
.brio-agency-apply {
  border: 0;
  border-radius: 10px;
  background: #33cc00;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  padding: 0 22px;
  cursor: pointer;
  white-space: nowrap;
}
.brio-agency-apply:hover {
  background: #2ab000;
}
.brio-agency-msg {
  min-height: 18px;
  padding: 6px 4px 2px;
  font-size: 13px;
  color: #667;
}
.brio-agency-msg.is-ok {
  color: #2a9c00;
  font-weight: 600;
}
.brio-agency-msg.is-err {
  color: #d33;
  font-weight: 600;
}
/* ===== Mobile: tap-target più generosi ===== */
@media (max-width: 849px) {
  .brio-co-extra-opt-pill {
    min-height: 42px;
    padding-top: 8px;
    padding-bottom: 8px;
  }
  .brio-co-extra-opt-pill .opt-reset {
    font-size: 18px;
    padding: 4px 6px;
  }
}
@media (max-width: 849px) {
  /* iOS: niente auto-zoom sul focus dei campi (font >= 16px) */
  .brio-co-field input[type="text"], .brio-co-field input[type="email"], .brio-co-field input[type="tel"], .brio-co-field input[type="date"], .brio-co-field select, .brio-co-phone select, .brio-co-coupon input, .brio-agency-code {
    font-size: 16px !important;
  }
}
/* Warning composizione camere (stesso check del vecchio form) */
.brio-co-rooms-error {
  background: #fff8e1;
  border: 1px solid #f0c36d;
  color: #7a5c00;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 14px;
  margin: 0 0 10px;
}
/* ===== Calcolo Codice Fiscale ===== */
.brio-cf-link {
  display: inline-block;
  margin-top: 4px;
  font-size: 12.5px;
}
.brio-cf-overlay .brio-help-modal {
  max-width: 520px;
  padding: 26px 28px 24px;
  border-radius: 16px;
}
.brio-cf-overlay h3 {
  margin: 0 0 6px;
  font-size: 20px;
  color: #0f1a3d;
  padding-right: 28px;
}
.brio-cf-overlay .brio-co-fieldgrid {
  margin-top: 4px;
}
.brio-cf-do {
  width: 100%;
  margin-top: 6px;
}
.brio-cf-note {
  font-size: 13px;
  color: #676767;
  margin: 0 0 16px;
}
.brio-cf-comune-wrap {
  position: relative;
}
.brio-cf-results {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 20;
  background: #fff;
  border: 1px solid #d4d4d4;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(15, 26, 61, .15);
  max-height: 220px;
  overflow-y: auto;
  overflow-x: hidden;
}
.brio-cf-results button {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  padding: 9px 12px;
  font-size: 14px;
  cursor: pointer;
  color: #0f1a3d;
}
.brio-cf-results button:hover {
  background: #f4f6fb;
}
.brio-cf-results small {
  color: #8a90a2;
}
.brio-cf-msg {
  min-height: 18px;
  font-size: 13px;
  color: #c0392b;
  margin: 8px 0;
}
.brio-cf-do {
  background: #3dae2b;
  color: #fff;
  border: 0;
  border-radius: 10px;
  padding: 12px 22px;
  font-weight: 700;
  cursor: pointer;
}
.brio-cf-do:hover {
  filter: brightness(1.05);
}
.brio-co-addrmode {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  margin: 4px 0 10px;
  align-items: center;
}
.brio-co-addrmode .brio-co-check {
  margin: 0;
  align-items: center;
}
.brio-co-check input[type="radio"] {
  margin: 0;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
}
.sep-chkout {	
     width: 100%;
    border-bottom: 1px solid #D5D5D5;
    margin: 19px 0 42px 0;	
}
/* Citta + Provincia + CAP su una riga (indirizzo di fatturazione) */
.brio-co-grid3 {
  grid-column: 1/-1;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 14px;
}
@media (max-width: 849px) {
  .brio-co-grid3 {
    grid-template-columns: 1fr;
  }
}
.brio-cf-preview {
  font-size: 14px;
    color: #3dae2b;
    font-weight: 500;
    min-height: 16px;
    border: 1px solid #e5e5e5;
    padding: 10px;
    border-radius: 8px;
    background: #F4F6FB;
    margin-bottom: 20px;
}
.brio-cf-preview:empty {
  display: none;
}
/* Respiro sotto la checkbox azienda nel blocco Fatturazione */
[data-invoice-block] label.brio-co-check {
  margin: 14px 0 22px;
}