/* ============================================================
   51-produkt-alt.css  -  Produktseite im Look des Altshops 1.0
   Stand: 2026-11-20

   Standardvorlage templates/single-product.html: alle Produkte ausser den Komplettsystemen (die nutzen den
   2.0-Look aus 50-produkt.css), Max 20.11.2026. Vorbild 1.0 /index.php/rankgitter-rosenbogen-pergola/
   rosenbogen-und-rankzaun/rosenbogen, gemessen bei 1350 px:
   - Inhalt 1124 px: links 749 px (Titel #006699, Art.-Nr. 14,4 px #666, Einleitung 16/24 #222, Bild, Text),
     rechts 375 px ("Einfache Produktauswahl mit unserem" + SmartGreener 375 x 42)
   - Auswahl: Beschriftung darueber "... auswaehlen" 16 px #222, Felder voll breit, Rahmen #dee2e6, Radius 6, 38 px
   - Brutto-Preiszeile 13/15 px, Knopf blau #1176a6, Links fett #222
   - "In Beziehung stehende Produkte" 25 px / 400 mit Linie, Karten 204 px, Knopf "Details" grau #6c757d
   ============================================================ */
.bm-produkt-10 > * { max-width: 1124px; }
.bm-produkt-10 .bm-p10-kopf { display: grid; grid-template-columns: minmax(0, 1fr) 375px; column-gap: 28px; align-items: start; }
.bm-produkt-10 .bm-p10-kopf > *,
.bm-produkt-10 .bm-p10-links > *,
.bm-produkt-10 .bm-p10-rechts > * { margin-block: 0; }
.bm-produkt-10 .bm-p10-titel { margin: 0 0 2px; font-size: 26px; font-weight: 700; line-height: 1.25; letter-spacing: normal; color: var(--bm-navblau); }
/* Art.-Nr. aus [bm_artnr] (inc/shop.php); WooCommerce tauscht .sku bei vollstaendiger Variantenwahl */
.bm-produkt-10 .bm-artnr { margin: 2px 0 8px; font-size: 14.4px; line-height: 1.5; color: #666; }
.bm-produkt-10 .bm-p10-einleitung,
.bm-produkt-10 .bm-p10-einleitung p { margin: 0 0 12px; font-size: 16px; line-height: 24px; color: #222; }
.bm-produkt-10 .bm-p10-einleitung .wp-block-post-excerpt__more-text { display: none; }
.bm-produkt-10 .bm-p10-bilder { max-width: none; margin: 8px 0 20px; } /* Woo-Galerie-Block begrenzt sich sonst auf 512 px */
.bm-produkt-10 .bm-p10-bilder .woocommerce-product-gallery { width: auto !important; float: none; margin: 0; }
.bm-produkt-10 .bm-p10-bilder img { display: block; width: 100%; height: auto; }
.bm-produkt-10 .bm-p10-bilder .flex-control-thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 0; padding: 0; list-style: none; }
/* Galerie (Max 20.11.2026: Bilder in die Produktgalerie, Vorschaubilder, Vollbild, Wischen am Handy). Alles aus dem
   WooCommerce-Kern: Flexslider (Diashow, Wischen), PhotoSwipe (Vollbild), Zoom beim Ueberfahren. Doppelte Klassen,
   weil WooCommerce die Vorschaubilder mit .woocommerce div.product div.images ... auf 25 % Breite setzt. */
.bm-produkt.bm-produkt-10 .bm-p10-bilder .woocommerce-product-gallery.images .flex-control-thumbs li {
  float: none;
  width: 90px;
  margin: 0;
  padding: 0;
}
.bm-produkt.bm-produkt-10 .bm-p10-bilder .woocommerce-product-gallery.images .flex-control-thumbs img {
  display: block;
  width: 100%;
  height: 68px;
  object-fit: cover;
  border: 1px solid #dee2e6;
  opacity: .6;
  cursor: pointer;
  transition: opacity .15s ease;
}
.bm-produkt.bm-produkt-10 .bm-p10-bilder .woocommerce-product-gallery.images .flex-control-thumbs img:hover,
.bm-produkt.bm-produkt-10 .bm-p10-bilder .woocommerce-product-gallery.images .flex-control-thumbs img.flex-active { opacity: 1; border-color: var(--bm-navblau); }
/* Vollbild: Klick aufs Hauptbild oeffnet die Diashow (Zoom aus, inc/shop.php, Max 22.11.2026); keine Lupe mehr */
.bm-produkt.bm-produkt-10 .bm-p10-bilder .woocommerce-product-gallery__image a { cursor: pointer; }
.bm-produkt-10 .bm-p10-text { font-size: 16px; line-height: 24px; color: #222; }
.bm-produkt-10 .bm-p10-text p { margin: 0 0 12px; }
/* Variantentext links unter der Beschreibung wie 1.0 (Skript in inc/shop.php); rechts unter der Auswahl nicht doppelt */
.bm-produkt-10 .bm-p10-variante { font-size: 16px; line-height: 24px; color: #222; }
.bm-produkt-10 .bm-p10-variante p { margin: 0 0 12px; }
.bm-produkt-10 .bm-p10-auswahl .woocommerce-variation-description { display: none; }

/* rechte Spalte */
.bm-produkt-10 .bm-p10-einfach { margin-top: 10px; font-size: 16px; line-height: 24px; color: #222; }
.bm-produkt-10 .bm-p10-smartgreener { margin: 12px 0 22px; }
.bm-produkt-10 .bm-p10-smartgreener img { display: block; width: 375px; max-width: 100%; height: auto; }
.bm-produkt-10 .bm-p10-auswahl table.variations { width: 100%; margin: 0 0 4px; border: 0; border-collapse: collapse; }
.bm-produkt-10 .bm-p10-auswahl table.variations tr { display: block; margin-bottom: 14px; }
.bm-produkt-10 .bm-p10-auswahl table.variations th,
.bm-produkt-10 .bm-p10-auswahl table.variations td { display: block; width: 100%; padding: 0; border: 0; background: none; text-align: left; }
.bm-produkt-10 .bm-p10-auswahl table.variations th.label { margin-bottom: 4px; }
.bm-produkt-10 .bm-p10-auswahl table.variations th.label label { font-size: 16px; font-weight: 400; line-height: 24px; color: #222; }
.bm-produkt-10 .bm-p10-auswahl table.variations th.label label::after { content: " auswählen"; }
.bm-produkt-10 .bm-p10-auswahl table.variations select {
  width: 100%;
  height: 38px;
  margin: 0;
  padding: 6px 36px 6px 12px;
  border: 1px solid #dee2e6;
  border-radius: 6px;
  background-color: #fff;
  font-family: inherit;
  font-size: 16px;
  color: #222;
}
.bm-produkt-10 .bm-p10-auswahl .reset_variations { display: inline-block; margin-top: 6px; font-size: 13px; }
.bm-produkt-10 .bm-p10-auswahl .woocommerce-variation-price {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin: 6px 0;
  font-size: 15px;
  color: #222;
}
.bm-produkt-10 .bm-p10-auswahl .woocommerce-variation-price::before { content: "Brutto-Verkaufspreis:"; font-size: 13px; }
.bm-produkt-10 .bm-p10-auswahl .stock.out-of-stock { margin: 8px 0; padding: 3px; background: #ff0; color: #222; font-weight: 700; }
.bm-produkt-10 .bm-p10-auswahl .stock.in-stock { display: none; }
.bm-produkt-10 .bm-p10-auswahl .woocommerce-variation-add-to-cart,
.bm-produkt-10 .bm-p10-auswahl form.cart:not(.variations_form) { display: flex; align-items: center; gap: 12px; margin-top: 10px; }
.bm-produkt-10 .bm-p10-auswahl .wc-block-components-quantity-selector { width: auto; height: 38px; margin: 0; border: 0; box-shadow: none; align-items: stretch; }
.bm-produkt-10 .bm-p10-auswahl .wc-block-components-quantity-selector::before,
.bm-produkt-10 .bm-p10-auswahl .wc-block-components-quantity-selector::after { display: none; }
.bm-produkt-10 .bm-p10-auswahl .wc-block-components-quantity-selector .wc-block-components-quantity-selector__button {
  box-sizing: border-box;
  width: 34px;
  height: 38px;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: #222;
  font-size: 18px;
  cursor: pointer;
}
.bm-produkt-10 .bm-p10-auswahl .wc-block-components-quantity-selector input.wc-block-components-quantity-selector__input {
  box-sizing: border-box;
  width: 40px;
  min-width: 0;
  height: 38px !important;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 1px solid #dee2e6 !important;
  border-radius: 6px;
  background: #fff;
  font-size: 16px;
  text-align: center;
  -moz-appearance: textfield;
}
.bm-produkt-10 .bm-p10-auswahl .wc-block-components-quantity-selector input::-webkit-inner-spin-button,
.bm-produkt-10 .bm-p10-auswahl .wc-block-components-quantity-selector input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.bm-produkt-10 .bm-p10-auswahl .single_add_to_cart_button {
  flex: 1 1 auto;
  margin: 0;
  padding: 7px 16px;
  border: 0;
  border-radius: 6px;
  background: #1176a6;
  color: #fff;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
}
.bm-produkt-10 .bm-p10-auswahl .single_add_to_cart_button:hover { background: var(--bm-navblau); color: #fff; }
.bm-produkt-10 .bm-p10-auswahl .single_add_to_cart_button.disabled { opacity: .5; }
/* Hinweisbox "Bestellen mit Kundenkonto" (40-shop.css) in der schmalen rechten Spalte: etwas kleiner, Knoepfe untereinander */
.bm-produkt-10 .bm-p10-rechts .bm-freigabe-hinweis { margin: 12px 0 0; font-size: 14px; }
.bm-produkt-10 .bm-p10-rechts .bm-freigabe-hinweis .bm-freigabe-hinweis__knoepfe { flex-direction: column; }
.bm-produkt-10 .bm-p10-rechts .bm-freigabe-hinweis .bm-freigabe-hinweis__knopf { width: 100%; }
.bm-produkt-10 .bm-p10-preis { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-top: 14px; font-size: 15px; color: #222; }
.bm-produkt-10 .bm-p10-preis::before { content: "Brutto-Verkaufspreis:"; font-size: 13px; }
.bm-produkt-10 .bm-p10-rechts .wc-gzd-additional-info { margin: 2px 0 0; font-size: 12px; line-height: 1.5; color: #666; }
/* Preisangaben aus inc/shop.php (P-06): eine Zeile rechtsbuendig unter dem Preis */
.bm-produkt-10 .bm-p10-rechts .bm-preishinweis { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0 5px; margin: 2px 0 0; }
.bm-produkt-10 .bm-p10-rechts .bm-preishinweis .wc-gzd-additional-info { margin: 0; }
.bm-produkt-10 .bm-preishinweis .wc-gzd-additional-info a { color: inherit; text-decoration: underline; }
.bm-produkt-10 .bm-p10-link { margin-top: 14px; font-size: 16px; line-height: 24px; }
.bm-produkt-10 .bm-p10-link a { color: #222; font-weight: 700; text-decoration: none; }
.bm-produkt-10 .bm-p10-link a:hover { text-decoration: underline; }
/* Ausgaben von bm-core unter dem Warenkorb-Formular (B-27/B-31): Versandhinweis wie der Freigabe-Hinweis */
.bm-produkt-10 .bm-p10-rechts .bm-versand-anfrage { margin: 10px 0 0; font-size: 14px; line-height: 1.5; color: #222; }
/* Produkt ohne Kaufmoeglichkeit (p.bm-anfrage statt Formular, "Preis auf Anfrage"): Knopf wie "In den Warenkorb";
   SmartGreener-Hinweis und "Warenkorb anzeigen" entfallen (keine Auswahl, kein Warenkorb), die Frage-Zeile bleibt wie 1.0 */
.bm-produkt-10 .bm-p10-rechts .bm-anfrage { margin: 10px 0 0; }
.bm-produkt-10 .bm-p10-rechts .bm-anfrage .bm-anfrage-knopf {
  display: inline-block;
  padding: 7px 24px;
  border: 0;
  border-radius: 6px;
  background: #1176a6;
  color: #fff;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  text-decoration: none;
}
.bm-produkt-10 .bm-p10-rechts .bm-anfrage .bm-anfrage-knopf:hover { background: var(--bm-navblau); color: #fff; }
.bm-produkt-10 .bm-p10-rechts:has(.bm-anfrage):not(:has(.variations_form)) .bm-p10-einfach,
.bm-produkt-10 .bm-p10-rechts:has(.bm-anfrage):not(:has(.variations_form)) .bm-p10-smartgreener,
.bm-produkt-10 .bm-p10-rechts:has(.bm-anfrage) .bm-p10-link:not(.bm-p10-frage) { display: none; }
/* Auf Anfrage MIT Auswahl (Rosenbogen-Set, Rankzaun 185; Max 22.11.2026): SmartGreener und Auswahl bleiben (Art.-Nr. und
   Variantentext wechseln), Menge/"In den Warenkorb" und der doppelte Preis unter der Auswahl entfallen */
.bm-produkt-10 .bm-p10-rechts:has(.bm-anfrage) :is(.single_variation_wrap, .single_variation, .woocommerce-variation-add-to-cart) { display: none !important; }
.bm-produkt-10 .bm-p10-rechts:has(.bm-anfrage) .variations_form :is(table.variations, .variations) { margin-bottom: 0; } /* !important: WooCommerce blendet .single_variation per Inline-Stil ein */
/* Zusatzlink unter der Auswahl (inc/shop.php, z. B. Rosenbogen-Set -> Einzelelemente, F-23) */
.bm-produkt-10 .bm-zusatzlink { margin: 10px 0 0; font-size: 16px; line-height: 24px; }
.bm-produkt-10 .bm-zusatzlink a { color: var(--bm-blau); text-decoration: underline; text-underline-offset: 3px; }
.bm-produkt-10 .bm-zusatzlink a:hover { color: var(--bm-blau-dunkel); }
.bm-produkt-10 .bm-p10-preis:has(.bm-auf-anfrage)::before { content: none; }
.bm-produkt-10 .bm-p10-preis .bm-auf-anfrage { font-weight: 700; }
.bm-produkt-10 .bm-p10-frage { margin-top: 24px; }

/* In Beziehung stehende Produkte */
.bm-produkt-10 .bm-p10-beziehung { margin-top: 48px; }
.bm-produkt-10 .bm-p10-beziehung-titel {
  max-width: 888px;
  margin: 0 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid #dee2e6;
  font-size: 25px;
  font-weight: 400;
  line-height: 30px;
  color: #222;
}
.bm-produkt-10 .bm-p10-beziehung .wc-block-product-template { display: grid; grid-template-columns: repeat(4, minmax(0, 204px)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.bm-produkt-10 .bm-p10-beziehung .wc-block-product { display: flex; flex-direction: column; margin: 0; padding: 0; width: auto; max-width: none; text-align: center; }
.bm-produkt-10 .bm-p10-beziehung .wc-block-product > * { margin-block: 0; }
.bm-produkt-10 .bm-p10-beziehung .wc-block-components-product-image { margin-bottom: 12px; padding-bottom: 12px; border-bottom: 1px solid #dee2e6; }
.bm-produkt-10 .bm-p10-beziehung .wc-block-components-product-image img { width: 100%; height: 160px; object-fit: contain; }
.bm-produkt-10 .bm-p10-beziehung h3 { margin: 0 0 6px; font-size: 18px; font-weight: 700; line-height: 1.2; }
.bm-produkt-10 .bm-p10-beziehung h3 a { color: #333; text-decoration: none; }
.bm-produkt-10 .bm-p10-rel-text,
.bm-produkt-10 .bm-p10-rel-text p { margin: 0; font-size: 16px; line-height: 24px; color: #a0a0a0; }
.bm-produkt-10 .bm-p10-rel-text .wp-block-post-excerpt__more-text { display: none; }
.bm-produkt-10 .bm-p10-beziehung .wc-block-components-product-price { font-size: 18px; line-height: 27px; color: #222; }
/* Preisangaben unter dem Kachelpreis (P-06) */
.bm-produkt-10 .bm-p10-beziehung .bm-preishinweis { margin: 0; }
.bm-produkt-10 .bm-p10-beziehung .wc-gzd-additional-info { display: inline-block; margin: 0 3px; font-size: 12px; line-height: 1.5; color: #666; }
.bm-produkt-10 .bm-p10-details {
  display: block;
  margin-top: 16px !important;
  padding: 6px 12px;
  border-radius: 6px;
  background: #6c757d;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  text-align: center;
  text-decoration: none;
}
.bm-produkt-10 .bm-p10-details:hover { background: #5c636a; color: #fff; }

@media (max-width: 989px) {
  .bm-produkt-10 .bm-p10-kopf { grid-template-columns: minmax(0, 1fr) 320px; column-gap: 22px; }
  .bm-produkt-10 .bm-p10-beziehung .wc-block-product-template { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .bm-produkt.bm-produkt-10 .bm-p10-bilder .woocommerce-product-gallery.images .flex-control-thumbs li { width: 64px; }
  .bm-produkt.bm-produkt-10 .bm-p10-bilder .woocommerce-product-gallery.images .flex-control-thumbs img { height: 50px; }
  .bm-produkt-10 .bm-p10-kopf { grid-template-columns: minmax(0, 1fr); row-gap: 18px; }
  .bm-produkt-10 .bm-p10-titel { font-size: 22px; }
  .bm-produkt-10 .bm-p10-beziehung-titel { font-size: 21px; }
  .bm-produkt-10 .bm-p10-beziehung .wc-block-product-template { gap: 14px; }
}

/* Seitenbreite (N-06): lange Woerter in Kachel-Titel und Kurztext umbrechen statt die Seite zu verbreitern */
.bm-produkt-10 .bm-p10-beziehung .wc-block-product { min-width: 0; }
.bm-produkt-10 .bm-p10-beziehung :is(h3, .bm-p10-rel-text, .bm-p10-rel-text p) { overflow-wrap: anywhere; hyphens: auto; }
