/* GALELI Produktseite nach Entwurf */

.gl-kick { margin: 0 0 6px; }
.single-product .wp-block-post-title { font-size: clamp(36px, 4.4vw, 52px); letter-spacing: -.02em; }
.single-product .wp-block-post-excerpt { display: none; }
.single-product .galeli-b2b-anpassen { margin: 12px 0 0; }
.single-product .galeli-b2b-info { text-align: center; font-size: 13px; color: var(--wp--preset--color--mute); }
.single-product .wp-block-columns:has(.gl-buehne) > .wp-block-column:first-child { flex-basis: 52% !important; }
.single-product .wp-block-woocommerce-product-price { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.single-product .wp-block-woocommerce-product-price .woocommerce-Price-amount { font-size: 30px; color: var(--wp--preset--color--contrast); }
.gl-preis-hinweis { font-size: 13px; color: var(--wp--preset--color--mute); }

/* Auswahl: Farbe als Kreise, Gerät als Pillen */
.variations_form table.variations, .variations_form table.variations tbody, .variations_form table.variations tr, .variations_form table.variations td { display: block; width: 100%; border: 0; padding: 0; }
.variations_form table.variations th.label { display: none; }
.variations_form table.variations tr { margin-bottom: 22px; }
.gl-versteckt { position: absolute !important; width: 1px !important; height: 1px !important; opacity: 0 !important; pointer-events: none; }
.variations_form .reset_variations { font-size: 13px; color: var(--wp--preset--color--mute); }
.gl-wahl-kopf { display: flex; justify-content: space-between; margin-bottom: 10px; }
.gl-wahl-name { text-transform: uppercase; letter-spacing: .2em; font-size: 11.5px; color: var(--wp--preset--color--mute); }
.gl-wahl-wert { text-transform: uppercase; letter-spacing: .14em; font-size: 12px; font-weight: 500; color: var(--wp--preset--color--contrast); }
.gl-wahl-liste { display: flex; flex-wrap: wrap; gap: 10px; }
.gl-kreis { width: 42px; height: 42px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--wp--preset--color--line); cursor: pointer; padding: 0; transition: box-shadow .15s; }
.gl-kreis:hover { box-shadow: 0 0 0 1px var(--wp--preset--color--mute); }
.gl-kreis.is-on { box-shadow: 0 0 0 2px var(--wp--preset--color--contrast); }
.gl-pille { background: #fff; border: 1px solid var(--wp--preset--color--line); border-radius: 50px; padding: 10px 16px; font: inherit; font-size: 14px; font-weight: 400; color: var(--wp--preset--color--contrast); cursor: pointer; }
.gl-pille:hover { border-color: var(--wp--preset--color--mute); }
.gl-pille.is-on { border: 2px solid var(--wp--preset--color--contrast); padding: 9px 15px; }
.gl-pille.gl-weitere { background: transparent; border-style: dashed; color: var(--wp--preset--color--mute); }
.gl-mehr-versteckt { display: none; }
.gl-pille.is-aus { color: #b9b2a8; border-style: dashed; text-decoration: line-through; }
.gl-kreis.is-aus { opacity: .3; }
.single-product .woo-variation-product-gallery { max-width: 100% !important; width: 100% !important; }
.single-product .wp-block-woocommerce-product-image-gallery { max-width: none !important; }

/* Kaufknopf und B2B-Knopf in voller Breite */
.single-product .single_add_to_cart_button { width: 100%; padding: 18px 30px !important; font-size: 17px !important; }
.single-product .woocommerce-variation-add-to-cart { display: flex; gap: 10px; align-items: stretch; flex-wrap: wrap; }
.single-product .woocommerce-variation-add-to-cart .quantity { flex: none; }
.single-product .woocommerce-variation-add-to-cart .single_add_to_cart_button { flex: 1; width: auto; }
.single-product .galeli-b2b-knopf { display: block; text-align: center; border: 1px solid var(--wp--preset--color--contrast); border-radius: 50px; padding: 16px 30px; text-decoration: none; }
.gl-fakten { list-style: none; padding: 18px 0 0; margin: 18px 0 0; border-top: 1px solid var(--wp--preset--color--line); display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; font-size: 14px; }
.gl-fakten li::before { content: "✓"; margin-right: 8px; color: var(--wp--preset--color--gold); }

/* 3D-Bühne */
.gl-hat-3d { position: relative; }
.gl-buehne { display: none; position: relative; aspect-ratio: 1 / 1; border-radius: 18px; background: radial-gradient(circle at 50% 40%, #fff 0%, #f7f4f0 55%, #ece6dd 100%); overflow: hidden; }
.gl-buehne.is-aktiv { display: block; }
.gl-buehne model-viewer { width: 100%; height: 100%; --poster-color: transparent; background: transparent; }
.gl-zeigt-3d > :not(.gl-buehne):not(.gl-ansicht) { display: none !important; }
.gl-chip { position: absolute; z-index: 2; background: rgba(255, 255, 255, .92); border: 1px solid var(--wp--preset--color--line); border-radius: 50px; padding: 7px 14px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--wp--preset--color--contrast); }
.gl-chip--tl { top: 20px; left: 20px; background: #111; color: #fff; border-color: #111; }
.gl-chip--bl { bottom: 20px; left: 20px; }
.gl-chip--br { bottom: 20px; right: 20px; cursor: pointer; font: inherit; font-size: 11px; letter-spacing: .16em; }
.gl-ansicht { display: flex; gap: 8px; margin: 12px 0; }
.gl-ansicht button { background: #fff; border: 1px solid var(--wp--preset--color--line); border-radius: 50px; padding: 8px 16px; font: inherit; font-size: 13px; cursor: pointer; color: var(--wp--preset--color--contrast); }
.gl-ansicht button.is-on { background: #111; color: #fff; border-color: #111; }

@media (max-width: 760px) {
	.gl-fakten { grid-template-columns: 1fr; }
	.gl-chip--bl { display: none; }
	.gl-kreis { width: 38px; height: 38px; }
}
