/* ============================================================
   NoStressBorders — Questionnaire Styles
   Mobile-first. Design tokens inherited from nosb-theme.
   ============================================================ */

/* ── Page wrapper ────────────────────────────────────────── */
.nosb-questionnaire-page {
  width: 100%;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 16px 48px;
  box-sizing: border-box;
}
/* Sticky footer without dead space: the questionnaire content is short, and the theme's
   `.nosb-main { min-height: calc(100vh - header) }` used to stack with the page's own
   height and push the footer a full viewport down. Instead: the BODY is a min-100vh flex
   column and main merely GROWS to fill whatever is left — the footer's bottom edge sits
   exactly at the viewport bottom on short screens (no white strip below it) and the page
   never exceeds the viewport unless the content actually needs to. The white page wrapper
   also grows so the stretch space stays white, not body-background. */
body:has(.nosb-questionnaire-page) {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
body:has(.nosb-questionnaire-page) .nosb-main {
  min-height: 0;
  flex: 1 0 auto;
}
.nosb-main .nosb-questionnaire-page {
  flex: 1;
}

.nosb-questionnaire {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 24px 0;
  display: flex;
  flex-direction: column;
}

/* ── Progress bar ────────────────────────────────────────── */
.nosb-progress {
  margin-bottom: 32px;
}

.nosb-progress__bar {
  height: 6px;
  background: var(--nosb-border);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 6px;
}

.nosb-progress__fill {
  height: 100%;
  background: var(--nosb-primary);
  border-radius: 999px;
  transition: width 0.4s ease;
}

.nosb-progress__label {
  font-family: var(--nosb-font-body);
  font-size: 12px;
  font-weight: 600;
  color: var(--nosb-muted);
  text-align: right;
}

/* ── Question ────────────────────────────────────────────── */
.nosb-question {
  flex: none;
}

.nosb-question--animate {
  animation: nosb-slide-in 0.28s ease;
}

@keyframes nosb-slide-in {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.nosb-question__label {
  display: block;
  font-family: var(--nosb-font-body);
  font-size: clamp(20px, 3.5vw, 24px);
  font-weight: 500;
  color: var(--nosb-primary);
  line-height: 1.35;
  margin-bottom: 10px;
}

.nosb-question__required {
  color: var(--nosb-accent);
}

.nosb-question__helper {
  font-family: var(--nosb-font-body);
  font-size: 16px;
  color: var(--nosb-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.nosb-question__hint {
  font-family: var(--nosb-font-body);
  font-size: 13px;
  color: var(--nosb-muted);
  margin-top: 8px;
  margin-bottom: 12px;
}

.nosb-question__input {
  margin-bottom: 20px;
}

/* Demo: small persistent "this is a sample" notice above each question */
.nosb-demo-note {
  background: var(--nosb-primary-tint, #EBF7F4);
  color: var(--nosb-primary-dark, #1B6B5A);
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  padding: 9px 14px;
  border-radius: 8px;
  margin-bottom: 18px;
}

/* ── Text / Email input ───────────────────────────────────── */
.nosb-input {
  width: 100%;
  font-family: var(--nosb-font-body);
  font-size: 18px;
  color: var(--nosb-dark);
  background: transparent;
  border: none;
  border-bottom: 2px solid var(--nosb-border);
  border-radius: 0;
  padding: 10px 0;
  outline: none;
  transition: border-color var(--nosb-transition);
  -webkit-appearance: none;
  box-shadow: none;
}

.nosb-input:focus {
  border-bottom-color: var(--nosb-primary);
}

.nosb-input--search {
  border: none;
  border-bottom: 2px solid var(--nosb-border);
  border-radius: 0;
  padding: 10px 0;
  font-size: 16px;
  margin-bottom: 8px;
  background: transparent;
}

.nosb-input--search:focus {
  border-bottom-color: var(--nosb-primary);
  box-shadow: none;
}

/* ── Custom date picker ──────────────────────────────────── */
.nosb-datepicker {
  position: relative;
  width: 100%;
}

.nosb-datepicker__input {
  width: 100%;
  font-family: var(--nosb-font-body);
  font-size: 18px;
  color: var(--nosb-dark);
  border-bottom: 2px solid var(--nosb-border);
  padding: 10px 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: border-color var(--nosb-transition);
  user-select: none;
}

.nosb-datepicker__input--placeholder {
  color: var(--nosb-muted);
}

.nosb-datepicker__input--open,
.nosb-datepicker__input:hover {
  border-bottom-color: var(--nosb-primary);
}

.nosb-datepicker__arrow {
  font-size: 13px;
  color: var(--nosb-muted);
}

.nosb-datepicker__overlay,
.nosb-dropdown__overlay {
  position: fixed;
  inset: 0;
  z-index: 99;
}

.nosb-datepicker__calendar {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  width: min(340px, calc(100vw - 32px));
  background: var(--nosb-white);
  border: 1px solid var(--nosb-border);
  border-radius: var(--nosb-radius-md);
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  z-index: 100;
  padding: 16px;
}

.nosb-datepicker__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.nosb-datepicker__month-label {
  font-family: var(--nosb-font-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--nosb-dark);
}

.nosb-datepicker__nav {
  background: none;
  border: none;
  font-size: 22px;
  color: var(--nosb-muted);
  cursor: pointer;
  padding: 2px 8px;
  line-height: 1;
  border-radius: var(--nosb-radius-sm);
  transition: color var(--nosb-transition);
}

.nosb-datepicker__nav:hover { color: var(--nosb-primary); }

.nosb-datepicker__day-headers {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  margin-bottom: 4px;
}

.nosb-datepicker__day-header {
  text-align: center;
  font-family: var(--nosb-font-body);
  font-size: 11px;
  font-weight: 600;
  color: var(--nosb-muted);
  padding: 4px 0;
  text-transform: uppercase;
}

.nosb-datepicker__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}

.nosb-datepicker__day {
  text-align: center;
  font-family: var(--nosb-font-body);
  font-size: 13px;
  color: var(--nosb-dark);
  padding: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  transition: all var(--nosb-transition);
}

.nosb-datepicker__day:hover:not(.nosb-datepicker__day--disabled):not(.nosb-datepicker__day--other-month) {
  background: var(--nosb-primary-light);
  color: var(--nosb-primary);
}

.nosb-datepicker__day--selected {
  background: var(--nosb-primary) !important;
  color: var(--nosb-white) !important;
}

.nosb-datepicker__day--today:not(.nosb-datepicker__day--selected) {
  font-weight: 700;
  color: var(--nosb-primary);
}

.nosb-datepicker__day--disabled {
  color: var(--nosb-border);
  cursor: not-allowed;
  pointer-events: none;
}

.nosb-datepicker__day--other-month {
  color: var(--nosb-border);
  cursor: default;
  pointer-events: none;
}

/* ── Custom dropdown (select/year) ──────────────────────── */
.nosb-dropdown {
  position: relative;
  width: 100%;
}

.nosb-dropdown__input {
  width: 100%;
  font-family: var(--nosb-font-body);
  font-size: 18px;
  color: var(--nosb-dark);
  border-bottom: 2px solid var(--nosb-border);
  padding: 10px 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: border-color var(--nosb-transition);
  user-select: none;
}

.nosb-dropdown__input--placeholder { color: var(--nosb-muted); }
.nosb-dropdown__input--open,
.nosb-dropdown__input:hover { border-bottom-color: var(--nosb-primary); }

.nosb-dropdown__list {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  width: 100%;
  max-height: 260px;
  overflow-y: auto;
  background: var(--nosb-white);
  border: 1px solid var(--nosb-border);
  border-radius: var(--nosb-radius-md);
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  z-index: 100;
}

.nosb-dropdown__option {
  font-family: var(--nosb-font-body);
  font-size: 16px;
  color: var(--nosb-dark);
  padding: 11px 16px;
  cursor: pointer;
  border-bottom: 1px solid var(--nosb-border);
  transition: background var(--nosb-transition);
}

.nosb-dropdown__option:last-child { border-bottom: none; }

.nosb-dropdown__option:hover,
.nosb-dropdown__option--selected {
  background: var(--nosb-primary-light);
  color: var(--nosb-primary-dark);
}

/* ── Select ──────────────────────────────────────────────── */
.nosb-select {
  width: 100%;
  font-family: var(--nosb-font-body);
  font-size: 16px;
  color: var(--nosb-dark);
  background: var(--nosb-white);
  border: 1px solid var(--nosb-border);
  border-radius: var(--nosb-radius-md);
  padding: 12px 14px;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%237A8A94' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  cursor: pointer;
}

.nosb-select:focus {
  border-color: var(--nosb-primary);
  box-shadow: 0 0 0 3px rgba(35, 132, 112, 0.15);
}

/* ── Radio options ───────────────────────────────────────── */
.nosb-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nosb-option {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  font-family: var(--nosb-font-body);
  font-size: 16px;
  font-weight: 400;
  color: var(--nosb-dark);
  background: var(--nosb-white);
  border: 1.5px solid var(--nosb-border);
  border-radius: var(--nosb-radius-md);
  padding: 14px 16px;
  text-align: left;
  cursor: pointer;
  transition: all var(--nosb-transition);
  -webkit-tap-highlight-color: transparent;
}

.nosb-option:hover {
  border-color: var(--nosb-primary);
  background: var(--nosb-primary-light);
}

.nosb-option--selected {
  border-color: var(--nosb-primary);
  background: var(--nosb-primary-light);
  color: var(--nosb-primary-dark);
}

.nosb-option__check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  min-width: 22px;
  border-radius: 50%;
  border: 1.5px solid var(--nosb-border);
  font-size: 12px;
  color: var(--nosb-white);
  background: transparent;
  transition: all var(--nosb-transition);
}

.nosb-option--selected .nosb-option__check {
  background: var(--nosb-primary);
  border-color: var(--nosb-primary);
}

/* ── Number button row (passenger count) ─────────────────── */
.nosb-number-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.nosb-number-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  height: 56px;
  padding: 0 12px;
  font-family: var(--nosb-font-body);
  font-size: 16px;
  font-weight: 500;
  color: var(--nosb-dark);
  background: var(--nosb-white);
  border: 1.5px solid var(--nosb-border);
  border-radius: var(--nosb-radius-md);
  cursor: pointer;
  transition: all var(--nosb-transition);
  -webkit-tap-highlight-color: transparent;
}

.nosb-number-btn:hover {
  border-color: var(--nosb-primary);
  background: var(--nosb-primary-light);
}

.nosb-number-btn--selected {
  border-color: var(--nosb-primary);
  background: var(--nosb-primary);
  color: var(--nosb-white);
}

.nosb-number-btn--selected:hover {
  background: var(--nosb-primary-light);
  border-color: var(--nosb-primary);
  color: var(--nosb-primary-dark);
}

/* ── Image radio options (destination region) ────────────── */
.nosb-image-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.nosb-image-option {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: var(--nosb-white);
  border: 1.5px solid var(--nosb-border);
  border-radius: var(--nosb-radius-md);
  padding: 14px 8px 12px;
  cursor: pointer;
  transition: all var(--nosb-transition);
  -webkit-tap-highlight-color: transparent;
}

.nosb-image-option:hover {
  border-color: var(--nosb-primary);
}

.nosb-image-option--selected {
  border-color: var(--nosb-primary);
  background: var(--nosb-primary-light);
}

.nosb-image-option__img {
  width: 100%;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 10px;
  padding: 6px;
  box-sizing: border-box;
}

.nosb-image-option__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nosb-image-option__label {
  font-family: var(--nosb-font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--nosb-dark);
  text-align: center;
  line-height: 1.3;
}

.nosb-image-option--selected .nosb-image-option__label {
  color: var(--nosb-primary-dark);
}

.nosb-image-option__check {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 20px;
  height: 20px;
  background: var(--nosb-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: white;
  font-weight: 700;
}

/* ── Checkbox options ────────────────────────────────────── */
.nosb-checkboxes {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nosb-checkbox-option {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  font-family: var(--nosb-font-body);
  font-size: 16px;
  font-weight: 400;
  color: var(--nosb-dark);
  background: var(--nosb-white);
  border: 1.5px solid var(--nosb-border);
  border-radius: var(--nosb-radius-md);
  padding: 13px 16px;
  text-align: left;
  cursor: pointer;
  transition: all var(--nosb-transition);
  -webkit-tap-highlight-color: transparent;
}

.nosb-checkbox-option:hover {
  border-color: var(--nosb-primary);
}

.nosb-checkbox-option--selected {
  border-color: var(--nosb-primary);
  background: var(--nosb-primary-light);
}

.nosb-checkbox-option__box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  min-width: 20px;
  border-radius: 4px;
  border: 1.5px solid var(--nosb-border);
  font-size: 12px;
  color: var(--nosb-white);
  background: transparent;
  transition: all var(--nosb-transition);
  font-weight: 700;
}

.nosb-checkbox-option__box--checked {
  background: var(--nosb-primary);
  border-color: var(--nosb-primary);
}

/* ── Quantity grid (recreational items) ──────────────────── */
.nosb-qtygrid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.nosb-qtygrid__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border: 2px solid var(--nosb-border);
  border-radius: 12px;
  background: var(--nosb-white, #fff);
  transition: all var(--nosb-transition);
}
.nosb-qtygrid__row--active {
  border-color: var(--nosb-primary);
  background: var(--nosb-primary-light);
}
.nosb-qtygrid__label {
  font-size: 16px;
  font-weight: 500;
  color: var(--nosb-dark);
}
.nosb-qtygrid__ctrl {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}
.nosb-qtygrid__btn {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1.5px solid var(--nosb-border);
  background: var(--nosb-white, #fff);
  color: var(--nosb-primary);
  font-size: 20px;
  line-height: 1;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--nosb-transition);
}
.nosb-qtygrid__btn:hover:not(:disabled) {
  border-color: var(--nosb-primary);
  background: var(--nosb-primary-light);
}
.nosb-qtygrid__btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.nosb-qtygrid__count {
  min-width: 28px;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  color: var(--nosb-dark);
}

/* ── Country list ────────────────────────────────────────── */
.nosb-country-list {
  max-height: 280px;
  overflow-y: auto;
  border: 1px solid var(--nosb-border);
  border-radius: var(--nosb-radius-md);
  background: var(--nosb-white);
}

.nosb-country-option {
  display: block;
  width: 100%;
  text-align: left;
  font-family: var(--nosb-font-body);
  font-size: 16px;
  color: var(--nosb-dark);
  padding: 11px 14px;
  border: none;
  border-bottom: 1px solid var(--nosb-border);
  background: transparent;
  cursor: pointer;
  transition: background var(--nosb-transition);
}

.nosb-country-option:last-child {
  border-bottom: none;
}
.nosb-country-sep { font-size: 10px; color: var(--nosb-border); text-align: center; padding: 4px 0; pointer-events: none; border-bottom: 1px solid var(--nosb-border); }

.nosb-country-option:hover,
.nosb-country-option--selected {
  background: var(--nosb-primary-light);
  color: var(--nosb-primary-dark);
}

.nosb-country-option__check {
  color: var(--nosb-primary);
  font-weight: 700;
}

/* ── Buttons ─────────────────────────────────────────────── */
.nosb-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--nosb-font-body);
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: var(--nosb-radius-md);
  cursor: pointer;
  transition: all var(--nosb-transition);
  -webkit-tap-highlight-color: transparent;
  text-decoration: none;
}

.nosb-btn--primary {
  background: var(--nosb-primary);
  color: var(--nosb-white);
  padding: 12px 24px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: var(--nosb-radius-sm);
}

.nosb-btn--primary:hover {
  background: var(--nosb-primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(35, 132, 112, 0.3);
}

.nosb-btn--primary:active {
  transform: translateY(0);
}

.nosb-btn--primary:disabled {
  background: var(--nosb-muted);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.nosb-btn--ghost {
  background: transparent;
  color: var(--nosb-muted);
  padding: 8px 0;
  font-size: 15px;
}

.nosb-btn--ghost:hover {
  color: var(--nosb-primary);
}

.nosb-btn--large {
  font-size: 16px;
  padding: 14px 32px;
  border-radius: var(--nosb-radius-sm);
  width: 100%;
  justify-content: center;
  white-space: nowrap;
}

.nosb-btn--cta {
  font-size: 16px;
  padding: 14px 36px;
  border-radius: var(--nosb-radius-sm);
}

.nosb-btn--back {
  margin-top: 8px;
}

.nosb-btn__arrow {
  font-size: 16px;
}

.nosb-question__next {
  margin-top: 8px;
}

.nosb-btn--hidden {
  visibility: hidden;
  pointer-events: none;
}

/* ── Welcome screen ──────────────────────────────────────── */
.nosb-welcome {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 32px 0;
  gap: 16px;
}

.nosb-welcome__logo img {
  height: 48px;
  width: auto;
}

.nosb-welcome__title {
  font-family: var(--nosb-font-heading);
  font-size: clamp(24px, 5vw, 34px);
  color: var(--nosb-primary);
  line-height: 1.2;
  margin: 0;
}

.nosb-welcome__subtitle {
  font-family: var(--nosb-font-body);
  font-size: 16px;
  color: var(--nosb-mid);
  line-height: 1.6;
  max-width: 480px;
  margin: 0;
}

.nosb-welcome__time {
  font-family: var(--nosb-font-body);
  font-size: 13px;
  color: var(--nosb-muted);
  margin: 0;
}

.nosb-welcome__press {
  font-family: var(--nosb-font-body);
  font-size: 12px;
  color: var(--nosb-muted);
  margin: 0;
}

/* ── Confirmation screen ─────────────────────────────────── */
.nosb-confirmation {
  animation: nosb-slide-in 0.28s ease;
  margin-top: -24px;
  background: var(--nosb-light);
  border: 1px solid var(--nosb-border);
  border-radius: var(--nosb-radius-lg);
  padding: 24px 16px;
}

.nosb-confirmation__title {
  font-family: var(--nosb-font-heading);
  font-size: clamp(22px, 4vw, 28px);
  color: var(--nosb-dark);
  margin-bottom: 8px;
}

.nosb-confirmation__subtitle {
  font-family: var(--nosb-font-body);
  font-size: 16px;
  color: var(--nosb-muted);
  margin-bottom: 24px;
}

.nosb-confirmation__list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--nosb-border);
  border-radius: var(--nosb-radius-md);
  overflow: hidden;
  margin-bottom: 24px;
}

.nosb-confirmation__item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  background: var(--nosb-white);
  padding: 12px 16px;
  width: 100%;
  text-align: left;
  border: none;
  text-decoration: none;
}
.nosb-confirmation__item--editable {
  cursor: pointer;
}
.nosb-confirmation__item--editable:hover {
  background: var(--nosb-light);
}
.nosb-confirmation__item--editable:hover .nosb-confirmation__answer::after {
  content: ' ✎';
  font-size: 12px;
  opacity: 0.5;
}

.nosb-confirmation__question {
  font-family: var(--nosb-font-body);
  font-size: 13px;
  color: var(--nosb-muted);
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.nosb-confirmation__answer {
  font-family: var(--nosb-font-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--nosb-primary);
  text-align: right;
  line-height: 1.4;
}

/* ── Error ───────────────────────────────────────────────── */
.nosb-error {
  font-family: var(--nosb-font-body);
  font-size: 14px;
  color: var(--nosb-danger);
  margin-top: 16px;
}

.nosb-error-box {
  background: var(--nosb-danger-light);
  border: 1px solid var(--nosb-danger);
  border-radius: 8px;
  padding: 16px 20px;
  margin-top: 16px;
  text-align: center;
}

.nosb-error-box__msg {
  font-family: var(--nosb-font-body);
  font-size: 14px;
  color: var(--nosb-danger);
  margin: 0 0 14px;
}

.nosb-error-box .nosb-btn {
  margin: 0 auto;
}

.nosb-error--inline {
  margin-top: 20px;
  margin-bottom: 0;
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
  display: flex;
  align-items: flex-start;
  gap: 7px;
}
.nosb-error--inline svg { flex-shrink: 0; margin-top: 1px; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 600px) {
  /* Number buttons — centered */
  .nosb-number-buttons {
    justify-content: center;
  }

  /* SVG image cards — larger on mobile */
  .nosb-image-option__img {
    height: 80px;
  }
}

@media (max-width: 400px) {
  .nosb-image-options {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
  }

  .nosb-image-option__label {
    font-size: 11px;
  }

  .nosb-confirmation__item {
    grid-template-columns: 1fr;
  }

  .nosb-confirmation__answer {
    text-align: left;
    font-size: 14px;
  }
}

@media (min-width: 640px) {
  .nosb-questionnaire-page {
    padding-top: 40px;
  }

  .nosb-question__label {
    font-size: 24px;
  }
}

/* ── Vehicle notice ── */
.nosb-vehicle-notice {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 12px;
  background: var(--nosb-light);
  border: 1px solid var(--nosb-border);
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 20px;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  color: var(--nosb-mid);
}
.nosb-vehicle-notice__label { font-weight: 600; color: var(--nosb-dark); }
.nosb-vehicle-notice__name  { color: var(--nosb-dark); }
.nosb-vehicle-notice__change,
.nosb-vehicle-notice__manual,
.nosb-vehicle-notice__cancel {
  background: none; border: none; cursor: pointer; padding: 0;
  font-family: 'Poppins', sans-serif; font-size: 13px;
}
.nosb-vehicle-notice__change { color: var(--nosb-primary); font-weight: 600; }
.nosb-vehicle-notice__update { color: var(--nosb-primary); text-decoration: none; }
.nosb-vehicle-notice__update:hover { text-decoration: underline; }
.nosb-vehicle-notice__manual { color: var(--nosb-muted); }
.nosb-vehicle-notice__manual:hover { color: var(--nosb-mid); }
.nosb-vehicle-notice__cancel { color: var(--nosb-muted); }
.nosb-vehicle-notice__list  { display: flex; flex-wrap: wrap; gap: 8px; width: 100%; margin-top: 4px; }
.nosb-vehicle-notice__opt {
  padding: 6px 12px; border-radius: 6px; border: 1px solid var(--nosb-border);
  background: #fff; cursor: pointer; font-family: 'Poppins', sans-serif; font-size: 13px; color: var(--nosb-dark);
}
.nosb-vehicle-notice__opt:hover { border-color: var(--nosb-primary); }
.nosb-vehicle-notice__opt--active { border-color: var(--nosb-primary); background: var(--nosb-light); font-weight: 600; }

/* ── Unified garage-selector step ── */
.nosb-garage__title {
  font-family: 'Prata', serif; font-size: 26px; color: var(--nosb-primary);
  margin: 0 0 8px; line-height: 1.2;
}
.nosb-garage__subtitle { color: var(--nosb-mid); font-size: 15px; margin: 0 0 26px; }
.nosb-garage__section { margin-bottom: 26px; }
.nosb-garage__section-title {
  font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 15px;
  color: var(--nosb-dark); margin: 0 0 3px;
}
.nosb-garage__section-desc { font-size: 13px; color: var(--nosb-muted); margin: 0 0 12px; }
.nosb-garage__note {
  font-size: 14px; color: var(--nosb-mid); background: var(--nosb-primary-tint);
  border-radius: 8px; padding: 12px 14px; margin: -10px 0 22px;
}
.nosb-garage__continue { margin-top: 6px; }
.nosb-garage__sub { margin-top: 14px; padding-left: 2px; }
.nosb-garage__sublabel {
  font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 13px;
  color: var(--nosb-dark); margin: 0 0 8px;
}
.nosb-garage__hint { font-size: 13px; color: var(--nosb-muted); margin: 10px 0 0; }
.nosb-garage__more {
  background: none; border: none; cursor: pointer; padding: 8px 2px 0;
  font-family: 'Poppins', sans-serif; font-size: 13px; font-weight: 600; color: var(--nosb-primary);
}
.nosb-garage__more:hover { color: var(--nosb-primary-dark); text-decoration: underline; }
.nosb-garage__addnote {
  font-size: 13px; color: var(--nosb-mid); background: var(--nosb-primary-tint);
  border-radius: 8px; padding: 10px 12px; margin: 10px 0 0;
}
