.selection-screen {
  height: 2045.94287109375px;
}

.selection-screen > .screen-header .wordmark {
  color: inherit;
  text-decoration: none;
}

.selection-content {
  height: 1436.37451171875px;
  flex-basis: 1436.37451171875px;
}

.selection-interaction {
  width: 950px;
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
}

.selection-property {
  display: flex;
  width: 100%;
  height: 1208.37451171875px;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  overflow: hidden;
  padding-top: 50px;
}

.selection-heading {
  display: flex;
  width: 100%;
  height: 68px;
  flex: 0 0 68px;
  align-items: flex-start;
  padding: 20px 0;
}

.selection-heading h2,
.selection-heading .selection-step-heading,
.product-heading h2 {
  margin: 0;
  color: var(--secondary-color);
  font-size: 24px;
  font-weight: 900;
  line-height: 1.1;
}

.property-summary {
  display: flex;
  width: 100%;
  height: auto;
  flex: 0 0 auto;
  flex-direction: column;
  gap: 20px;
  margin: 0;
  overflow: visible;
  padding: 10px 20px;
  background: var(--secondary-color);
  color: var(--primary-color);
  font-size: 24px;
  line-height: 1.1;
}

.property-row {
  display: grid;
  width: 100%;
  min-height: 26px;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 10px;
}

.property-row-list {
  min-height: 62px;
}

.property-row dt,
.property-row dd {
  margin: 0;
}

.property-row dt,
.summary-more {
  font-weight: 900;
}

.property-row dd {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 10px;
}

.property-row dd > span,
.address-summary-list,
.parcel-summary-list {
  min-height: 26px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.parcel-summary-list .parcel-number {
  display: block;
  min-height: 26px;
}

.parcel-summary-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  white-space: normal;
  overflow: visible;
  font-variant-numeric: tabular-nums;
}

.parcel-summary-list .parcel-number {
  max-width: 100%;
  overflow-wrap: anywhere;
  white-space: normal;
  text-align: left;
}

.address-summary-list .address-value {
  display: block;
  min-height: 26px;
}

.summary-more {
  height: auto;
  min-height: 26px;
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  font-family: inherit;
  font-size: 24px;
  line-height: inherit;
  text-align: left;
  cursor: pointer;
}

.summary-more[hidden] {
  display: none;
}

.selection-screen.is-parcels-expanded,
.selection-screen.is-addresses-expanded {
  height: auto;
  overflow: visible;
}

.selection-screen.is-parcels-expanded .selection-content,
.selection-screen.is-parcels-expanded .selection-interaction,
.selection-screen.is-parcels-expanded .selection-property,
.selection-screen.is-addresses-expanded .selection-content,
.selection-screen.is-addresses-expanded .selection-interaction,
.selection-screen.is-addresses-expanded .selection-property {
  height: auto;
  flex-basis: auto;
  overflow: visible;
}

.selection-screen.is-parcels-expanded .parcel-summary-list {
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
}

.selection-screen.is-addresses-expanded .address-summary-list {
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
}

.selection-map {
  position: relative;
  width: 100%;
  height: 718.3745727539062px;
  flex: 0 0 718.3745727539062px;
  margin: 0;
  overflow: hidden;
  background: #303a38;
}

.selection-map .real-map,
.selection-map .map-fallback {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  border: 0;
}

.selection-map .map-fallback {
  background: #303a38;
}

.selection-map .map-fallback[hidden],
.selection-map .real-map[hidden] {
  display: none;
}

.selection-map .maplibregl-ctrl-top-right {
  top: 10px;
  right: 10px;
}

.selection-map .maplibregl-ctrl-group {
  margin: 0 0 10px;
  border-radius: 10px;
}

.selection-map .maplibregl-ctrl-group button {
  width: 46px;
  height: 46px;
}

.selection-map .map-shape {
  fill: rgb(105 180 132 / 0.62);
  stroke: #438a65;
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}

.selection-map .map-marker {
  fill: #69b484;
  stroke: #fff;
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}

.selection-map .map-pattern-fill {
  fill: rgb(105 180 132 / 0.62);
}

.selection-map .map-pattern-line {
  stroke: #438a65;
  stroke-width: 0.8;
  opacity: 0.55;
}

.selection-map .map-selection-status {
  position: absolute;
  z-index: 4;
  right: 12px;
  bottom: 32px;
  max-width: min(440px, calc(100% - 24px));
  margin: 0;
  padding: 8px 12px;
  background: rgb(255 255 255 / 0.96);
  color: var(--primary-color);
  font-size: 16px;
  line-height: 1.25;
  box-shadow: 0 2px 10px rgb(0 0 0 / 0.18);
}

.selection-map .map-selection-status[data-state="error"] {
  border-left: 4px solid #a33a35;
}

.selection-map .map-selection-status[hidden] {
  display: none;
}

.selection-map .map-runtime-status {
  position: absolute;
  z-index: 5;
  inset: 50% auto auto 50%;
  width: min(420px, calc(100% - 32px));
  transform: translate(-50%, -50%);
  border-left: 4px solid #a33a35;
  padding: 16px;
  background: rgb(255 255 255 / 0.96);
  color: var(--primary-color);
  text-align: center;
  box-shadow: 0 3px 16px rgb(0 0 0 / 0.24);
}

.selection-map .map-runtime-status[hidden] {
  display: none;
}

.selection-map .snapshot-map-status {
  border-left-color: var(--primary-color);
  inset: auto auto 36px 12px;
  transform: none;
  width: auto;
  /* Rechte Kontrollleiste (46 px + Rand) und Attribution bleiben frei. */
  max-width: min(440px, calc(100% - 84px));
  padding: 8px 12px;
  font-size: 14px;
  line-height: 1.35;
  text-align: left;
  pointer-events: none;
}

.selection-map .snapshot-map-status p {
  margin: 0;
}

.selection-map .snapshot-map-status button {
  pointer-events: auto;
  margin-top: 8px;
}

.selection-map .snapshot-map-status[data-state="error"] {
  border-left-color: #a33a35;
}



.selection-map .map-runtime-status p {
  margin: 0 0 12px;
}

.selection-map .map-runtime-status button {
  min-height: 38px;
  border: 1px solid var(--primary-color);
  padding: 7px 14px;
  background: var(--primary-color);
  color: #fff;
  font: 900 16px/1.1 var(--font-family-brand);
  cursor: pointer;
}

.selection-map .map-parcel-popup .maplibregl-popup-content {
  padding: 12px;
  border-radius: 0;
  font-family: var(--font-family-brand);
  box-shadow: 0 3px 16px rgb(0 0 0 / 0.24);
}

.selection-map .map-parcel-popup__content {
  display: flex;
  min-width: 170px;
  flex-direction: column;
  gap: 9px;
}

.selection-map .map-parcel-popup__label {
  margin: 0;
  color: var(--primary-color);
  font-size: 16px;
  font-weight: 900;
  line-height: 1.2;
}

.selection-map .map-parcel-popup__action {
  min-height: 36px;
  border: 1px solid var(--primary-color);
  border-radius: 0;
  padding: 7px 10px 5px;
  background: var(--primary-color);
  color: var(--secondary-color);
  font: 900 16px/1.1 var(--font-family-brand);
  cursor: pointer;
}

.selection-map .map-parcel-popup__action:hover,
.selection-map .map-parcel-popup__action:focus-visible {
  background: var(--secondary-color);
  color: var(--primary-color);
}

.selection-map .map-parcel-popup__action:disabled {
  cursor: wait;
  opacity: 0.7;
}

.product-section {
  display: flex;
  width: 100%;
  height: auto;
  flex: 0 0 auto;
  flex-direction: column;
  gap: 10px;
  padding: 50px 0;
}

.product-heading {
  width: 100%;
  height: auto;
  min-height: 46px;
  flex: 0 0 auto;
  padding-bottom: 20px;
}

/* Umbruch richtet sich nach dem Platz neben der Infospalte, nicht dem Viewport. */
.product-layout {
  display: flex;
  width: 100%;
  gap: 10px;
  flex-wrap: wrap;
  align-items: stretch;
}

.product-fields {
  display: grid;
  min-width: 0;
  flex: 1 1 600px;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.product-description,
.product-price {
  display: flex;
  min-width: 0;
  min-height: 72px;
  flex-direction: column;
  justify-content: center;
  padding: 10px 20px;
  background: var(--secondary-color);
  color: var(--primary-color);
  font-size: 24px;
  line-height: 1.1;
}

.product-description {
  overflow-wrap: anywhere;
}

.product-price {
  white-space: nowrap;
}

.product-actions {
  display: flex;
  min-width: 0;
  flex: 1 1 189px;
}

.cart-button {
  display: flex;
  width: 100%;
  min-width: 0;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  padding: 12px 20px 8px;
  font-family: var(--font-family-brand);
  font-size: 24px;
  font-weight: 900;
  line-height: 1.1;
  text-align: center;
  cursor: pointer;
}

.cart-button {
  min-height: 72px;
  border: 1px solid var(--secondary-color);
  background: transparent;
  color: var(--secondary-color);
}

.cart-button:hover,
.cart-button:focus-visible,
.cart-button.is-added {
  background: var(--secondary-color);
  color: var(--primary-color);
}

.cart-button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.cart-transition-status {
  min-height: 26px;
  margin: 10px 0 0;
  color: var(--secondary-color);
  font-size: 18px;
  line-height: 1.2;
}

.cart-transition-status:empty {
  display: none;
}

@media (max-width: 1100px) {
  .selection-screen,
  .selection-content,
  .selection-interaction,
  .selection-property,
  .product-section {
    width: 100%;
    height: auto;
    flex-basis: auto;
    overflow: visible;
  }

  .selection-map {
    width: 100%;
    height: auto;
    min-height: 520px;
    flex-basis: auto;
    aspect-ratio: 950 / 718.3745727539062;
  }
}

@media (max-width: 700px) {
  .selection-property {
    padding-top: 0;
  }

  .property-summary {
    height: auto;
    flex-basis: auto;
  }

  .property-row {
    grid-template-columns: 1fr;
  }

  .property-row dd > span,
  .address-summary-list,
  .parcel-summary-list {
    white-space: normal;
  }

  .selection-map {
    min-height: 320px;
  }
}
