/* Bottom-sheet dialog (mobile) */
.modal-bottom-sheet {
  margin: auto auto 0 auto;
  width: 100%;
  max-width: 100%;
  transform: translateY(0);
  transition: transform 0.3s cubic-bezier(0.32, 0.72, 0, 1), overlay 0.3s ease allow-discrete, display 0.3s ease allow-discrete;
}

@starting-style {
  .modal-bottom-sheet[open] {
    transform: translateY(100%);
  }
}

.modal-bottom-sheet::backdrop {
  transition: background-color 0.3s ease, overlay 0.3s ease allow-discrete, display 0.3s ease allow-discrete;
  background-color: color-mix(in srgb, var(--color-on-surface) 40%, transparent);
}

@starting-style {
  .modal-bottom-sheet[open]::backdrop {
    background-color: transparent;
  }
}

/* Custom checkbox checkmark */
input[type="checkbox"].appearance-none:checked {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3E%3C/svg%3E");
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
}

.locale-tab-active {
  background-color: var(--color-primary-100);
  color: var(--color-primary-700);
}
.locale-tab-active:hover {
  background-color: var(--color-primary-200);
  color: var(--color-primary-700);
}

.stepper {
  position: sticky;
  top: 0;
  z-index: 20;
  background-color: color-mix(in srgb, var(--color-surface) 80%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 1.5rem 1.5rem 1.25rem;
  border-bottom: 1px solid color-mix(in srgb, var(--color-outline-variant) 20%, transparent);
}

@media (min-width: 900px) {
  .stepper {
    top: 4rem;
  }
}

.stepper__inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  max-width: 56rem;
  margin-left: auto;
  margin-right: auto;
}

.stepper__step {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  cursor: pointer;
  color: var(--color-on-surface-variant);
  font-weight: 500;
  font-size: 0.875rem;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.stepper__step-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 2.25rem;
  width: 2.25rem;
  border-radius: 9999px;
  background-color: var(--color-surface-highest);
  color: var(--color-on-surface-variant);
  font-weight: 700;
  font-size: 0.9375rem;
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.stepper__step-label {
  display: none;
}

@media (min-width: 768px) {
  .stepper__step-label {
    display: inline;
  }
}

.stepper__step.is-active {
  color: var(--color-primary-700);
  font-weight: 700;
}

.stepper__step.is-active .stepper__step-index {
  background-color: var(--color-primary-600);
  color: var(--color-surface-lowest);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--color-primary-600) 18%, transparent);
}

.stepper__step.is-completed .stepper__step-index {
  background-color: var(--color-primary-100);
  color: var(--color-primary-700);
}

.stepper__step.has-errors {
  color: var(--color-red-600);
}

.stepper__step.has-errors.is-active .stepper__step-index {
  background-color: var(--color-red-700);
  color: var(--color-surface-lowest);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--color-red-600) 18%, transparent);
}

.stepper__step.has-errors .stepper__step-index {
  background-color: var(--color-red-100);
  color: var(--color-red-600);
}

.stepper__step-line {
  flex: 1;
  height: 2px;
  background-color: var(--color-surface-highest);
  border-radius: 9999px;
  transition: background-color 0.25s ease;
  min-width: 1rem;
}

.stepper__step-line.is-active {
  background-color: var(--color-primary-500);
}

.step-panel[aria-hidden="true"] {
  display: none;
}

.step-panel__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.step-panel__main {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  min-width: 0;
  order: 2;
}

.step-panel__sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  order: 1;
}

@media (min-width: 1024px) {
  .step-panel__grid {
    grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
  }

  .step-panel__main {
    order: 1;
  }

  .step-panel__sidebar {
    order: 2;
    position: sticky;
    top: 10rem;
    align-self: start;
  }
}

.tip-card {
  border-radius: 1.5rem;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.tip-card--primary {
  background-color: #227201;
  color: var(--color-surface-lowest);
  position: relative;
  overflow: hidden;
}

.tip-card--primary::before {
  content: "";
  position: absolute;
  top: -2.5rem;
  right: -2.5rem;
  width: 10rem;
  height: 10rem;
  background-color: rgba(255, 255, 255, 0.06);
  border-radius: 9999px;
  filter: blur(40px);
  pointer-events: none;
}

.tip-card--accent {
  background-color: var(--color-primary-100);
  color: var(--color-primary-900);
}

.tip-card--warm {
  background-color: color-mix(in srgb, var(--color-surface) 80%, transparent);
  color: var(--color-on-surface-variant);
}

.tip-card--warm .tip-card__title {
  color: #ff6b00;
}

.tip-card--warm .tip-card__icon {
  background-color: #ff6b0061;
  color: #ff6b00;
}

.tip-card > * {
  position: relative;
  z-index: 1;
}

.tip-card__head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.tip-card__icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tip-card--primary .tip-card__icon {
  background-color: #4d8d33;
  color: #a5ff83;
}

.tip-card--accent .tip-card__icon {
  background-color: var(--color-primary-200);
  color: var(--color-primary-700);
}

.tip-card__title {
  font-weight: 700;
  font-size: 1.0625rem;
  line-height: 1.3;
}

.tip-card--primary .tip-card__title {
  color: var(--color-surface-lowest);
}

.tip-card__lead,
.tip-card__paragraph-text {
  font-size: 0.875rem;
  line-height: 1.55;
}

.tip-card__paragraphs {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.tip-card__paragraph-title {
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
  color: var(--color-on-surface);
}

.tip-card--primary .tip-card__paragraph-title {
  color: var(--color-surface-lowest);
}

.tip-card__bullets {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.tip-card__bullet {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  font-size: 0.875rem;
  line-height: 1.5;
}

.tip-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.25rem;
  transition: opacity 0.2s ease;
}

.tip-card__link:hover {
  opacity: 0.7;
}

[data-nested-form-target="container"] > :not([hidden]) + :not([hidden]) {
  border-top: 1px dashed color-mix(in srgb, var(--color-outline-variant) 60%, transparent);
  padding-top: 1rem;
}

.nested-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.5rem;
  border-radius: 1rem;
  background-color: var(--color-section-filled);
}

.nested-row__cell {
  flex: 1 1 0%;
}

.nested-row__remove {
  align-self: flex-start;
  margin-top: 1.625rem;
}

.nested-row__remove {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 2rem;
  width: 2rem;
  border-radius: 9999px;
  color: var(--color-on-surface-variant);
  border: none;
  cursor: pointer;
  font-size: 1.125rem;
  transition: background-color 0.15s ease;
}

.nested-row__remove:hover {
  background-color: #ffdad6;
  color: #93000a;
}

.nested-card {
  border-radius: 1.25rem;
  background-color: var(--color-section-filled);
  overflow: hidden;
}

.nested-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0.5rem;
  background-color: var(--color-section-filled);
}

.nested-card__title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-on-surface);
}

.nested-card__remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 2rem;
  width: 2rem;
  border-radius: 9999px;
  background-color: transparent;
  color: var(--color-on-surface-variant);
  border: none;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.nested-card__remove:hover {
  background-color: #ffdad6;
  color: #93000a;
}

.nested-card__body {
  padding: 1.5rem 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

[data-nested-form-target="row"][hidden] {
  display: none !important;
}

.form-section {
  display: block;
  margin-bottom: 3rem;
}

.form-section--filled {
  background-color: var(--color-section-filled);
  border-radius: 1.5rem;
  padding: 1.5rem;
}

.form-section__head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.form-section__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 2.5rem;
  width: 2.5rem;
  border-radius: 9999px;
  background-color: var(--color-primary-50);
  color: var(--color-primary-700);
  flex-shrink: 0;
}

.form-section__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-on-surface);
  letter-spacing: -0.01em;
}

.form-section__desc {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: var(--color-on-surface-variant);
}

.form-section__body {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-section__body--grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .form-section__body--grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .form-section__body--grid > .is-full {
    grid-column: span 2 / span 2;
  }
}

.date-range-card {
  background-color: var(--color-surface-low);
  border-radius: 1.5rem;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.dashed-add {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 1.25rem;
  border: 2px dashed var(--color-outline-variant);
  border-radius: 1rem;
  background-color: transparent;
  color: var(--color-primary-700);
  font-weight: 700;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.15s ease;
}

.dashed-add:hover {
  background-color: color-mix(in srgb, var(--color-primary-600) 6%, transparent);
  border-color: var(--color-primary-500);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: 0.5rem;
  font-weight: 700;
  font-size: 0.9375rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  letter-spacing: -0.005em;
}

.btn--primary {
  background-image: linear-gradient(135deg, var(--color-primary-600) 0%, var(--color-primary-800) 100%);
  color: var(--color-surface-lowest);
  box-shadow: 0 8px 20px color-mix(in srgb, var(--color-primary-700) 22%, transparent);
}

.btn--primary:hover {
  box-shadow: 0 12px 28px color-mix(in srgb, var(--color-primary-700) 32%, transparent);
  transform: translateY(-1px);
}

.btn--secondary {
  background-image: linear-gradient(135deg, var(--color-secondary-600) 0%, var(--color-secondary-800) 100%);
  color: var(--color-surface-lowest);
  box-shadow: 0 8px 20px color-mix(in srgb, var(--color-secondary-700) 22%, transparent);
}

.btn--secondary:hover {
  box-shadow: 0 12px 28px color-mix(in srgb, var(--color-secondary-700) 32%, transparent);
  transform: translateY(-1px);
}

.btn-secondary--shadowless {
  background-image: linear-gradient(135deg, var(--color-secondary-600) 0%, var(--color-secondary-800) 100%);
  color: var(--color-surface-lowest);
  border-radius: 0.5rem;
}

.btn-secondary--shadowless:hover {
  box-shadow: 0 12px 28px color-mix(in srgb, var(--color-secondary-700) 32%, transparent);
  transform: translateY(-1px);
}

.btn--ghost {
  background-color: var(--color-surface-low);
  color: var(--color-on-surface);
}

.btn--ghost:hover {
  background-color: var(--color-surface-high);
}

.page-container {
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
  padding: 3rem 1.5rem 5rem;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.wizard-form {
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
  padding: 3rem 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.wizard-form__hero {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.wizard-form__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  align-self: flex-start;
  padding: 0.375rem 0.875rem;
  border-radius: 9999px;
  background-color: var(--color-primary-50);
  color: var(--color-primary-700);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.wizard-form__title {
  font-size: clamp(1.875rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--color-on-surface);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.wizard-form__subtitle {
  font-size: 1rem;
  color: var(--color-on-surface-variant);
  max-width: 38rem;
  line-height: 1.6;
}

.wizard-form__actions {
  position: sticky;
  bottom: 0;
  margin-top: 2rem;
  z-index: 10;
}

.wizard-form__fab {
  display: none;
}

.wizard-form__actions-inner {
  display: flex !important;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.5rem 1.5rem 1.25rem;
  background-color: color-mix(in srgb, var(--color-surface) 80%, transparent);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(12px);
  border-top-left-radius:  1.5rem;
  border-top-right-radius: 1.5rem;
  border-bottom: 1px solid color-mix(in srgb, var(--color-outline-variant) 20%, transparent);
}

@media (max-width: 899px) {
  .wizard-form__step-nav {
    flex-direction: column;
    width: 100%;
  }
  .wizard-form__step-nav button {
    width: 100%;
  }
}

@media (min-width: 900px) {
  .wizard-form__actions-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

@media (max-width: 899px) {
  .wizard-form__actions {
    bottom: 5rem;
    pointer-events: none;
  }

  .wizard-form__fab {
    pointer-events: auto;
    position: absolute;
    right: 0;
    bottom: 0.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 9999px;
    background-image: linear-gradient(135deg, var(--color-primary-600) 0%, var(--color-primary-800) 100%);
    color: var(--color-surface-lowest);
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 24px color-mix(in srgb, var(--color-primary-700) 35%, transparent);
    z-index: 11;
    transition: transform 0.2s ease;
  }

  .wizard-form__fab:hover {
    transform: translateY(-2px);
  }

  .wizard-form__actions-inner {
    pointer-events: auto;
    position: absolute;
    right: 1.5rem;
    bottom: 4.75rem;
    min-width: 18rem;
    padding: 1rem;
    border-radius: 1.25rem;
    background-color: var(--color-surface-lowest);
    box-shadow: 0 20px 40px rgba(26, 28, 25, 0.15);
    border-top-left-radius: 1.25rem;
    border-top-right-radius: 1.25rem;
    border-bottom: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .wizard-form__actions-inner.hidden {
    display: none !important;
  }
}

.wizard-form__step-nav {
  display: flex;
  gap: 0.75rem;
  flex: 1;
  justify-content: flex-end;
}

/* ---------- Tag picker ---------- */
.tag-picker {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.tag-picker__label {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--color-on-surface);
  letter-spacing: -0.005em;
}

.tag-picker__search {
  position: relative;
}

.tag-picker__input {
  width: 100%;
  background-color: var(--color-surface-low);
  border: 1px solid var(--color-input-border);
  border-radius: 0.875rem;
  padding: 0.875rem 1rem;
  font-size: 0.9375rem;
  outline: none;
  transition: all 0.2s ease;
}

.tag-picker__input:focus {
  background-color: var(--color-surface-lowest);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-primary-600) 20%, transparent);
}

.tag-picker__dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  right: 0;
  z-index: 10;
  background-color: var(--color-surface-lowest);
  border-radius: 1rem;
  padding: 0.5rem;
  max-height: 16rem;
  overflow-y: auto;
  box-shadow: var(--shadow-ambient);
  list-style: none;
  margin: 0;
}

.tag-picker__dropdown li {
  padding: 0.625rem 0.875rem;
  border-radius: 0.625rem;
  cursor: pointer;
  font-size: 0.875rem;
  transition: background-color 0.15s ease;
}

.tag-picker__dropdown li:hover {
  background-color: var(--color-primary-50);
  color: var(--color-primary-700);
}

.tag-picker__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
  min-height: 2.5rem;
}

.tag-picker__pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.375rem 0.375rem 0.875rem;
  background-color: var(--color-primary-50);
  color: var(--color-primary-800);
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 600;
  max-width: 18rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tag-picker__pill button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 9999px;
  background-color: color-mix(in srgb, var(--color-primary-700) 12%, transparent);
  color: var(--color-primary-800);
  border: none;
  cursor: pointer;
  line-height: 1;
  font-size: 0.875rem;
  flex-shrink: 0;
}

.tag-picker__pill button:hover {
  background-color: var(--color-primary-700);
  color: var(--color-surface-lowest);
}

.tag-picker__checkboxes {
  display: none;
}

/* ---------- Amenity category (themed wrapper) ---------- */
.amenity-group {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1.25rem;
  border-radius: 1.25rem;
  background-color: var(--color-section-filled);
}

.amenity-group__title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-on-surface-variant);
}

.amenity-group__title svg {
  width: 0.875rem;
  height: 0.875rem;
}

/* ---------- Image field (dropzone) ---------- */
.image-field {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.image-field__dropzone {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 10rem;
  padding: 2rem;
  border: 2px dashed var(--color-outline-variant);
  border-radius: 1.25rem;
  background-color: var(--color-surface-low);
  color: var(--color-on-surface-variant);
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  overflow: hidden;
}

.image-field__dropzone:hover {
  background-color: color-mix(in srgb, var(--color-primary-600) 4%, var(--color-surface-low));
  border-color: var(--color-primary-500);
}

.image-field__preview {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-field__dropzone input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.image-field__hint {
  font-size: 0.8125rem;
  font-weight: 500;
  margin: 0;
}

.image-field__progress {
  font-size: 0.75rem;
  color: var(--color-primary-700);
}

/* ---------- Photos bento grid ---------- */
.photos-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  min-height: 22rem;
}

.photos-grid__slot {
  display: flex;
}

.photos-grid__slot .image-field {
  width: 100%;
  height: 100%;
  gap: 0;
}

.photos-grid__slot .image-field__dropzone {
  height: 100%;
  min-height: 0;
  border-radius: 1.25rem;
}

.photos-grid__slot--main {
  grid-column: span 2 / span 2;
  grid-row: span 2 / span 2;
}

.photos-grid__slot:nth-of-type(2),
.photos-grid__slot:nth-of-type(3) {
  grid-column: span 1 / span 1;
  grid-row: span 1 / span 1;
}

.photos-grid__slot:nth-of-type(4) {
  grid-column: span 2 / span 2;
  grid-row: span 1 / span 1;
}

.photos-grid__hint {
  font-size: 0.8125rem;
  color: var(--color-on-surface-variant);
}

@media (max-width: 640px) {
  .photos-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
    min-height: 0;
  }
  .photos-grid__slot,
  .photos-grid__slot--main {
    grid-column: span 2 / span 2;
    grid-row: span 1 / span 1;
    aspect-ratio: 16 / 10;
  }
}

/* Form input — shared base border + label spacing */
.form-input {
  border: 1px solid var(--color-input-border);
  margin-top: 4px;
}

.wizard-form select.form-input {
  border: 1px solid var(--color-input-border);
}

/* Hide placeholder content when preview is shown */
.image-field__dropzone.has-preview {
  border-style: solid;
  border-color: var(--color-primary-500);
}

.image-field__dropzone.has-preview > *:not(.image-field__preview):not(input):not(.image-field__remove) {
  opacity: 0;
  transition: opacity 0.2s ease;
}

.image-field__dropzone.has-preview:hover > *:not(.image-field__preview):not(input):not(.image-field__remove) {
  opacity: 1;
  position: relative;
  z-index: 1;
}

.image-field__dropzone.has-preview:hover > *:not(.image-field__preview):not(input):not(.image-field__remove),
.image-field__dropzone.has-preview:hover > *:not(.image-field__preview):not(input):not(.image-field__remove) * {
  color: #ffffff !important;
}

.image-field__dropzone.has-preview:hover::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.35);
  pointer-events: none;
}

/* Remove image button (only visible when preview is shown) */
.image-field__remove {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  display: none;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border: none;
  border-radius: 9999px;
  background-color: rgba(255, 255, 255, 0.92);
  color: #93000a;
  cursor: pointer;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(26, 28, 25, 0.15);
  transition: background-color 0.15s ease;
}

.image-field__dropzone.has-preview .image-field__remove {
  display: inline-flex;
}

.image-field__remove:hover {
  background-color: #ffdad6;
}

/* Dropzone drag-over visual feedback */
.image-field__dropzone.is-dragover {
  background-color: color-mix(in srgb, var(--color-primary-600) 8%, var(--color-surface-low));
  border-color: var(--color-primary-500);
  border-style: solid;
}

/* Nested row mobile stacking */
@media (max-width: 767px) {
  .nested-row {
    flex-direction: column;
    align-items: stretch;
  }

  .nested-row__cell {
    width: 100%;
  }

  .nested-row__remove {
    align-self: flex-end;
    margin-top: 0.5rem;
  }
}

/* Disabled primary button (used when Stripe account is missing) */
.btn:disabled,
.btn[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Footer */
.footer-wordmark {
  position: relative;
  text-decoration: none;
}

.footer-wordmark__dot {
  display: inline-block;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 9999px;
  margin-left: 0.125rem;
  transform: translateY(-0.05rem);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.footer-wordmark:hover .footer-wordmark__dot {
  transform: translateY(-0.35rem);
}

.footer-link {
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--color-on-surface);
}

/* Navbar link with animated underline */
.nav-link {
  position: relative;
  padding-bottom: 6px;
  transition: color 0.25s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 100%;
  background-color: var(--color-secondary-500);
  border-radius: 1px;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.35s cubic-bezier(0.65, 0, 0.35, 1);
}

.nav-link:hover {
  color: var(--color-primary-700);
}

.nav-link:hover::after {
  transform: scaleX(1);
}

.nav-link--active::after {
  transform: scaleX(1);
}

.nav-link--active:hover::after {
  /* Subtle pulse on the active link */
  animation: nav-link-pulse 1.2s ease-in-out;
}

@keyframes nav-link-pulse {
  0%, 100% { transform: scaleX(1); }
  50% { transform: scaleX(0.6); transform-origin: center; }
}

.card-image-area .card-image-chevron {
  opacity: 0;
  transition: opacity 200ms;
}
.card-image-area:hover .card-image-chevron {
  opacity: 1;
}

