/* Größenwahl-Kaufbox (Feature variants-creators). Accent = #ee800b (Site-Orange). */

.gp-variant-selector { margin: 0 0 0.6rem; text-align: left; }

.gp-vs-heading {
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.gp-vs-cards { display: flex; flex-wrap: wrap; gap: 0.4rem; }

.gp-variant-card {
  flex: 1 1 0;
  min-width: 0;
  display: block;
  padding: 0.5rem 0.6rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: border-color .15s, box-shadow .15s, background .15s;
}
.gp-variant-card:hover { border-color: #ee800b; text-decoration: none; color: inherit; }
.gp-variant-card:focus-visible { outline: 2px solid #ee800b; outline-offset: 2px; }
.gp-variant-card.is-active {
  border-color: #ee800b;
  background: #fff8f0;
  box-shadow: inset 0 0 0 1px #ee800b;
}

.gp-vs-name { display: block; font-weight: 700; font-size: 0.85rem; }
.gp-vs-range { display: block; font-size: 0.72rem; color: #777; }
.gp-vs-format {
  display: inline-block;
  margin: 0.2rem 0;
  font-size: 0.68rem;
}
.gp-vs-pixels { display: block; font-size: 0.68rem; color: #999; }
.gp-vs-printwidth { display: block; font-size: 0.68rem; color: #999; margin-top: 0.1rem; }
.gp-vs-price { display: block; font-weight: 700; font-size: 0.9rem; margin-top: 0.2rem; }

/* Range: Langform auf Desktop, Kurzform (MP) ab <=640px. */
.gp-vs-range .short { display: none; }

.gp-vs-note { font-size: 0.68rem; color: #999; margin: 0.35rem 0 0; line-height: 1.4; }

/* Lizenzwahl — Segmented Control (Radios visuell versteckt, POST unverändert). */
.gp-license-segmented {
  border: 0;
  padding: 0;
  margin: 0.4rem 0 0.4rem;
}
.gp-license-legend {
  float: none;
  width: auto;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
  padding: 0;
  border: 0;
}
.gp-license-segmented { display: flex; flex-wrap: wrap; }
.gp-license-legend { flex: 1 0 100%; }
/* Segmented = Nebenbedienung: dezenter als der CTA (kleiner, leichter, flacher). */
.gp-seg-option {
  flex: 1 1 0;
  min-width: 0;
  margin: 0;
  padding: 8px 10px;
  text-align: center;
  border: 1px solid #ddd;
  cursor: pointer;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.2;
  color: #555;
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gp-seg-option:first-of-type { border-radius: 4px 0 0 4px; }
.gp-seg-option:last-of-type { border-radius: 0 4px 4px 0; border-left: 0; }
/* optionales Sub-Label in einer Segmented-Option (falls künftig genutzt). */
.gp-seg-option .gp-seg-sub { display: block; font-size: 11px; color: inherit; opacity: 0.8; }
.gp-seg-option input[data-license] {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}
.gp-seg-option.is-active {
  background: #ee800b;
  border-color: #ee800b;
  color: #fff;
  font-weight: 600;
}
.gp-seg-option:focus-within { outline: 2px solid #ee800b; outline-offset: 1px; }

/* Summenzeile. */
.gp-cart-summary {
  margin: 0.2rem 0 0.5rem;
  font-size: 0.85rem;
  text-align: center;
}
.gp-summary-size:not(:empty)::after { content: " \00B7 "; color: #999; }
.gp-summary-license { color: #555; }
.gp-summary-price { font-weight: 700; font-size: 1.05rem; margin-left: 0.35rem; }

/* Fremdwaehrung an der Preiszeile — GLEICHE Schriftgroesse wie der EUR-Preis
   (1.05rem), bewusst etwas leichter und grauer: der EUR-Preis ist der
   berechnete, die Naeherung nur Orientierung. Leer -> kein Rand, kein Abstand,
   die Zeile sieht dann exakt aus wie vorher. */
.gp-summary-fx {
  font-weight: 600;
  font-size: 1.05rem;
  color: #777;
}
.gp-summary-fx:not(:empty) { margin-left: 0.4rem; }

/* Dropdown ist jetzt sichtbar (vorher randloses Mini-Select in der Fussnote):
   erkennbarer Rahmen, aber optisch der Preiszeile untergeordnet. */
.gp-fx-select {
  margin-left: 0.4rem;
  padding: 0.05rem 0.25rem;
  font-size: 0.8rem;
  color: #555;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 3px;
  cursor: pointer;
  vertical-align: baseline;
}
.gp-fx-select:hover { border-color: #ee800b; }
.gp-fx-select:focus { outline: 2px solid #ee800b; outline-offset: 1px; }

/* CTA dominiert: klar größer/kräftiger als das Segmented.
   .btn-Spezifität mitnehmen (.gp-cart-submit.btn schlägt Bootstrap .btn-sm). */
.gp-cart-submit.btn {
  min-height: 48px;
  padding: 0.6rem 1.4rem;
  font-size: 1rem;
  font-weight: 700;
}

/* Mobil <=640px: Karten stapeln, Segmented + Button volle Breite, Kurzform-Ranges. */
@media (max-width: 640px) {
  .gp-vs-cards { flex-direction: column; }
  /* Spalte: Karten an Inhalt anpassen (nicht auf min-height zusammenschrumpfen). */
  .gp-variant-card { flex: 0 0 auto; width: 100%; min-height: 44px; }
  .gp-vs-range .full { display: none; }
  .gp-vs-range .short { display: inline; }

  .gp-license-segmented { flex-wrap: wrap; }
  /* Touch-Ziel >=44px, aber weiterhin leichter/schmaler als der CTA. */
  .gp-seg-option { flex: 1 1 50%; min-height: 44px; font-size: 13px; font-weight: 400; }
  .gp-seg-option.is-active { font-weight: 600; }

  /* CTA voll breit und klar dominant. */
  .gp-cart-submit.btn { width: 100%; min-height: 48px; font-size: 1.05rem; font-weight: 700; }
}

/* VR/AR-Button (TASK-07b): linke Spalte, direkt unter dem Zoomviewer, linksbündig; Klasse/Farbe wie der CTA
   (.btn.btn-primary = Site-Orange #ee800b), Größe btn-sm; Schrift in Site-Ink #212125 (Kontrast auf Orange 5,9:1).
   Abstand zum Bild wie zwischen den bestehenden Blöcken (0.6rem). Mobil: gleiche Stelle, natürliche Breite. */
.gp-vr-bar { margin: 0.6rem 0; text-align: left; }
.gp-vr-button.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  color: #212125;
}
.gp-vr-button.btn:hover, .gp-vr-button.btn:focus, .gp-vr-button.btn:active { color: #212125; text-decoration: none; }
.gp-vr-button.btn:focus-visible { outline: 2px solid #ee800b; outline-offset: 2px; }
.gp-vr-icon { flex: 0 0 auto; width: 18px; height: 18px; }

/* Einstieg VR/AR auf der Startseite (TASK-30): volle Spaltenbreite unter dem Kopfbereich, im vorhandenen Stil.
   Orange nur als Akzent (Linie links und der bestehende CTA-Knopf .btn-primary = #ee800b); keine neue Farbe,
   kein Overlay, kein Popup. Schrift Site-Ink #212125 auf hellem Grund (#f7f7f8) – Kontrast 14,3:1;
   der Knopf trägt wie der Kauf-Knopf #212125 auf #ee800b (5,9:1). */
/* TASK-55 (4): Der Teaser ist eine schmale Zeile – kein Kasten, keine Fläche, kein zweiter Knopf.
   Die alten Regeln bleiben stehen, solange andere Seiten den Kasten noch verwenden. */
.gp-vr-zeile { display: flex; align-items: center; gap: .5rem; margin: .4rem 0 1rem; font-size: .95rem; line-height: 1.4; }
.gp-vr-zeile-icon { flex: 0 0 auto; color: #ee800b; }
.gp-vr-zeile-link { color: #8a4a00; text-decoration: none; border-bottom: 1px solid rgba(238,128,11,.5); }
.gp-vr-zeile-link:hover { border-bottom-color: #ee800b; }
.gp-vr-zeile-link:focus-visible { outline: 2px solid #ee800b; outline-offset: 2px; }
@media (max-width: 640px) { .gp-vr-zeile { font-size: .9rem; align-items: flex-start; } .gp-vr-zeile-icon { margin-top: .15rem; } }
.gp-vr-teaser { background: #f7f7f8; border-left: 4px solid #ee800b; margin: 0 0 1.2rem; padding: 1rem 0; }
.gp-vr-teaser-inner { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.gp-vr-teaser-icon { flex: 0 0 auto; color: #ee800b; }
.gp-vr-teaser-text { flex: 1 1 320px; min-width: 260px; }
.gp-vr-teaser-title { margin: 0 0 0.15rem; font-size: 1.15rem; font-weight: 700; color: #212125; }
.gp-vr-teaser-sub { margin: 0; font-size: 0.95rem; color: #3a3a40; }
.gp-vr-teaser-action { flex: 0 0 auto; text-align: left; }
.gp-vr-teaser-note { margin: 0.3rem 0 0; font-size: 0.85rem; color: #3a3a40; }
.gp-vr-teaser-adresse { margin: 0; font-size: 0.95rem; color: #212125; }
.gp-vr-teaser-pruefen { margin: 0.2rem 0 0; font-size: 0.85rem; }
.gp-vr-teaser-pruefen a { color: #8a4a00; }
.gp-vr-teaser-pruefen a:focus-visible { outline: 2px solid #ee800b; outline-offset: 2px; }
@media (max-width: 640px) {
  .gp-vr-teaser-inner { gap: 0.6rem; }
  .gp-vr-teaser-action { width: 100%; }
  .gp-vr-teaser .gp-vr-button.btn { width: 100%; justify-content: center; min-height: 44px; }
}
