/* === FA Flaeche-Steps Konfigurator (PID 3114, Klebepunkte) === */
/* FA, 2026-05-27 — Step-Layout + Mengen-Karten */

.fst-short-desc {
  font-style: italic;
  color: #555;
  margin: 0 0 1em 0;
}

.fst-layout {
  display: flex;
  gap: 1.5em;
  flex-wrap: wrap;
}

.fst-preview {
  flex: 1 1 320px;
  min-width: 280px;
}
.fst-preview__wrap {
  position: relative;
  background: #fff;
  border: 1px solid #e3e3e3;
  border-radius: 6px;
  padding: 1em;
  text-align: center;
}
.fst-preview__img {
  max-width: 100%;
  height: auto;
}
.fst-preview__zoom {
  position: absolute;
  top: 0.5em;
  right: 0.5em;
  background: rgba(255,255,255,0.85);
  padding: 0.25em 0.5em;
  border-radius: 3px;
  font-size: 0.85em;
  color: #555;
}

.fst-info {
  flex: 1 1 420px;
  min-width: 320px;
}

.fst-meta p {
  margin: 0.25em 0;
  font-size: 0.95em;
}

.fst-rating {
  margin: 0.5em 0 1em;
  display: flex;
  align-items: center;
  gap: 0.5em;
  font-size: 0.9em;
}

/* === Konfigurator-Box === */
.fst-config {
  border: 1px solid #d6d6d6;
  border-radius: 6px;
  margin: 1em 0;
  background: #fff;
}
.fst-config__header {
  margin: 0;
  padding: 0.75em 1em;
  background: #6aaa1c;
  color: #fff;
  font-size: 1.05em;
  border-radius: 6px 6px 0 0;
}
.fst-config__header i {
  margin-right: 0.5em;
}
.fst-config__body {
  padding: 1em;
}

/* === Step-Box === */
.fst-step {
  margin: 0 0 1em 0;
  border: 1px solid #e3e3e3;
  border-radius: 4px;
  padding: 0.75em 1em;
  background: #fafafa;
}
.fst-step:last-child {
  margin-bottom: 0;
}
.fst-step__label {
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.95em;
  margin-bottom: 0.5em;
  display: flex;
  align-items: center;
  gap: 0.5em;
}
.fst-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5em;
  height: 1.5em;
  background: #333;
  color: #fff;
  border-radius: 3px;
  font-size: 0.85em;
}
.fst-step__content {
  padding-left: 2em;
}

/* Step 2: nur Folienfarbe zeigen (Konf-Folienart-Box komplett ausblenden,
   select#sel_73 bleibt aber im DOM fuer Cart-Submit). */
.fst-options-host .textConfigBox:has(#sel_73) {
  display: none;
}
.fst-options-host,
.fst-options-host .productoptions,
.fst-options-host .fn-options,
.fst-options-host .fn-opt,
.fst-options-host .textConfigBox,
.fst-options-host .textConfigBoxContent {
  display: block;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
.fst-options-host .textConfigBox,
.fst-options-host .fn-opt {
  background: transparent;
  border: none;
  margin: 0;
  padding: 0;
  min-width: 0;
}
.fst-options-host .textConfigBoxNumber {
  display: none;
}
.fst-options-host .textConfigBoxHead {
  display: flex;
  align-items: center;
  gap: 0.4em;
  margin: 0 0 0.35em 0;
  font-size: inherit;
  background: transparent;
  padding: 0;
}
.fst-options-host .textConfigBoxTitle {
  font-size: 0.9em;
  font-weight: 600;
  color: #444;
  text-transform: none;
  line-height: 1.2;
  margin: 0;
  padding: 0;
  background: transparent;
}
.fst-options-host .textConfigBoxHelpWr {
  margin-left: auto;
}
.fst-options-host .textConfigBoxHelpWr a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.4em;
  height: 1.4em;
  border-radius: 50%;
  background: #e8e8e8;
  color: #666;
  font-size: 0.75em;
  text-decoration: none;
  padding: 0;
}
.fst-options-host .textConfigBoxHelpWr a:hover {
  background: #d0d0d0;
}
.fst-options-host .textConfigBoxContent {
  padding: 0;
  margin: 0;
}
.fst-options-host .textConfigBoxContent + .textConfigBoxContent {
  margin-top: 0.3em;
}
.fst-options-host select {
  width: 100%;
  max-width: 100%;
}
/* Folienfarbe-Block: 'Farbe waehlen'-Button voll-Breite, deutlich angefasst */
.fst-options-host #farbpicker-shop-wrapper > label,
.fst-options-host .farbpicker-shop-label {
  display: none;
}
.fst-options-host .textConfigBoxContent #ColorOracal751c,
.fst-options-host .textConfigBoxContent .ColorButton {
  display: block !important;
  width: 100% !important;
  padding: 0.65em 1em !important;
  font-size: 1em !important;
  text-align: center !important;
  margin: 0;
  box-sizing: border-box;
  /* SelectButtona.png aus klebebuchstaben.css wird beim Strecken auf 100%
     verzerrt und zeigt einen "Pfeil-Block" rechts — wir nehmen das Hintergrund-
     Bild raus, der grüne Brand-Hintergrund aus fa-norm.css bleibt erhalten. */
  background-image: none !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

@media (max-width: 520px) {
  .fst-options-host {
    grid-template-columns: 1fr;
  }
}

/* === Mengen-Karten === */
.fst-cards-wrap {
  margin: 1em 0;
}
.fst-cards-label {
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.95em;
  margin-bottom: 0.5em;
}
.fst-cards {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.5em;
}
.fst-cards__loading {
  grid-column: 1 / -1;
  padding: 1em;
  text-align: center;
  color: #888;
  background: #f0f0f0;
  border-radius: 4px;
  font-size: 0.95em;
}
.fst-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.75em 0.25em;
  border: 2px solid #d0d0d0;
  background: #fff;
  border-radius: 4px;
  cursor: pointer;
  transition: border-color 0.15s, transform 0.1s;
  min-height: 4.5em;
  font: inherit;
  text-align: center;
}
.fst-card:hover {
  border-color: #6aaa1c;
}
.fst-card[aria-pressed="true"] {
  border-color: #6aaa1c;
  background: #f0f8e3;
  box-shadow: 0 0 0 1px #6aaa1c inset;
}
.fst-card__qty {
  font-size: 1.25em;
  font-weight: 700;
  line-height: 1;
}
.fst-card__qty-label {
  font-size: 0.7em;
  text-transform: uppercase;
  color: #777;
  margin-top: 0.1em;
}
.fst-card__price {
  font-size: 0.85em;
  color: #444;
  margin-top: 0.35em;
}

/* === Warenkorb (Hidden-Qty wird visuell ausgeblendet, bleibt aber im DOM fuer Submit) === */
.fst-hidden-qty {
  display: none;
}

/* === Mobile === */
@media (max-width: 680px) {
  .fst-cards {
    grid-template-columns: repeat(3, 1fr);
  }
  .fst-step__content {
    padding-left: 0;
  }
}
@media (max-width: 420px) {
  .fst-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}
