/* GCOM360 Kopf-Vorschau · Warenkorb-Karte bei Mouseover (Betreiber-Auftrag 15.11.2026).
   Erscheinungsbild wie die Sprachwahl (gcom360-sprachumschalter): gleiche Rundung (7 px), Hintergrund, Rand, Schatten, Abstaende (33 px), Teko-Titel.
   Knoepfe nach Designsystem GCOM360: schwarz mit Schrift #FF7500 oder orange mit Schrift #000000, Radius 5 px, Rand 1px #0000007D, Glow nur bei Hover/Fokus/Aktiv.
   Alle Klassen unter .gx-kopf-vorschau; die Karte entsteht erst beim ersten Darueberfahren (kein Layoutshift beim Laden). */
:root { --gx-box-radius: 7px; }
@font-face { font-family: gxTeko; src: url("/wp-content/mu-plugins/gcom360-schrift-teko/teko-semibold-latin-ext-v1.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

html body .elementor-widget-woocommerce-menu-cart .elementor-menu-cart__toggle_wrapper { position: relative; }
html body .gx-kopf-vorschau { --gx-flaeche-1: #1a1a1a; --gx-akzent: #FF7500; --gx-text: #f2f2f2; --gx-dim: #a9a9a9; --gx-glow: #FF5B05;
  --gx-ruhe: 0 0 25px -10px rgba(255,255,255,.47843137254901963); --gx-aktiv: 0 0 25px 0 #FF5B05; --gx-dauer-auf: 220ms; --gx-pfeil: 20px;
  position: absolute; z-index: 1000; top: calc(100% + 16px); right: -12px; width: min(360px, calc(100vw - 32px)); box-sizing: border-box; margin: 0; padding: 0;
  color: var(--gx-text); font-family: Inter, system-ui, sans-serif; font-size: 14px; line-height: 1.3; text-align: left; text-transform: none; letter-spacing: normal;
  background: radial-gradient(120% 90% at 85% 0%, #2f2f2f 0%, var(--gx-flaeche-1) 55%, #121212 100%);
  border: 1px solid rgba(255,255,255,.08); border-radius: var(--gx-box-radius, 7px);
  box-shadow: 0 30px 70px -20px rgba(0,0,0,.85), 0 0 0 1px rgba(0,0,0,.4);
  clip-path: circle(0 at calc(100% - var(--gx-pfeil)) -10px); transition: clip-path var(--gx-dauer-auf) cubic-bezier(.22,1,.36,1); }
html body .gx-kopf-vorschau *, html body .gx-kopf-vorschau *::before, html body .gx-kopf-vorschau *::after { box-sizing: border-box; }
html body .gx-kopf-vorschau[hidden] { display: none; }
html body .gx-kopf-vorschau.ist-offen { clip-path: circle(150% at calc(100% - var(--gx-pfeil)) -10px); }
/* Pfeilspitze am Warenkorbsymbol (wie bei der Sprachwahl) */
html body .gx-kopf-vorschau::before { content: ''; position: absolute; top: -8px; right: calc(var(--gx-pfeil) - 7px); width: 14px; height: 14px; background: #262626; transform: rotate(45deg); border-left: 1px solid rgba(255,255,255,.08); border-top: 1px solid rgba(255,255,255,.08); }
/* Hover-Bruecke ueber der Luecke zwischen Symbol und Karte */
html body .gx-kopf-vorschau.ist-offen::after { content: ''; position: absolute; left: 0; right: 0; top: -18px; height: 18px; }

html body .gx-kopf-vorschau__kopf { padding: 33px 22px 0; }
html body .gx-kopf-vorschau__titel { margin: 0; font-family: gxTeko, Teko, Inter, system-ui, sans-serif; font-weight: 600; font-size: 26px; line-height: 1; letter-spacing: .06em; text-transform: uppercase; color: var(--gx-text); }
html body .gx-kopf-vorschau__liste { list-style: none; margin: 0; padding: 22px 22px 0; display: grid; gap: 14px; max-height: 262px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #4a4a4a transparent; }
html body .gx-kopf-vorschau__pos { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 14px; align-items: center; margin: 0; padding: 0; }
html body .gx-kopf-vorschau__bild { display: block; width: 56px; height: 56px; border-radius: 2.5px; background: #000; overflow: hidden; box-shadow: 0 0 0 1px rgba(255,255,255,.12); }
html body .gx-kopf-vorschau__bild img { display: block; width: 100%; height: 100%; object-fit: cover; margin: 0; border: 0; border-radius: 0; }
html body .gx-kopf-vorschau__text { min-width: 0; display: grid; gap: 3px; }
html body .gx-kopf-vorschau__name, html body .gx-kopf-vorschau .gx-kopf-vorschau__name:hover { display: -webkit-box !important; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; color: #fff; font-size: 14px; font-weight: 600; line-height: 1.25; text-decoration: none; }
html body .gx-kopf-vorschau .gx-kopf-vorschau__name:is(:hover, :focus-visible) { color: var(--gx-akzent); }
html body .gx-kopf-vorschau__meta { color: var(--gx-dim); font-size: 12px; line-height: 1.3; }
html body .gx-kopf-vorschau__preis { color: var(--gx-dim); font-size: 13px; }
html body .gx-kopf-vorschau__preis .gx-kopf-vorschau__betrag { color: #fff; font-weight: 600; }
html body .gx-kopf-vorschau__leer { margin: 0; padding: 22px 22px 0; color: var(--gx-dim); font-size: 14px; }
html body .gx-kopf-vorschau__summe { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 22px 22px 0; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.1); }
html body .gx-kopf-vorschau__summe-name { color: var(--gx-dim); font-size: 14px; }
html body .gx-kopf-vorschau__summe-betrag { font-family: gxTeko, Teko, Inter, system-ui, sans-serif; font-weight: 600; font-size: 30px; line-height: 1; letter-spacing: .03em; color: #fff; }
html body .gx-kopf-vorschau__knoepfe { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 33px 22px 33px; }

/* Knoepfe: Designsystem GCOM360, in jedem Zustand ohne farbigen Rand; Theme-/Kit-Zustandsfarben werden ueberstimmt */
html body .gx-kopf-vorschau a.gx-kopf-vorschau__knopf { display: flex !important; align-items: center; justify-content: center; min-height: 46px; padding: 12px 10px; border: 1px solid #0000007D; border-radius: 5px; font-family: Manrope, Inter, system-ui, sans-serif; font-size: 16px; font-weight: 800; line-height: 1; text-align: center; text-decoration: none; text-transform: none; letter-spacing: normal;
  background: #000; color: var(--gx-akzent); box-shadow: var(--gx-ruhe); transition: box-shadow 300ms ease; }
html body .gx-kopf-vorschau a.gx-kopf-vorschau__knopf--kasse { background: var(--gx-akzent); color: #000; }
html body .gx-kopf-vorschau a.gx-kopf-vorschau__knopf:is(:hover, :active) { box-shadow: var(--gx-aktiv); text-decoration: none; }
html body .gx-kopf-vorschau a.gx-kopf-vorschau__knopf:not(.gx-kopf-vorschau__knopf--kasse):is(:hover, :active, :focus, :focus-visible) { background: #000; color: var(--gx-akzent); }
html body .gx-kopf-vorschau a.gx-kopf-vorschau__knopf--kasse:is(:hover, :active, :focus, :focus-visible) { background: var(--gx-akzent); color: #000; }
html body .gx-kopf-vorschau a.gx-kopf-vorschau__knopf:focus-visible { outline: 2px solid var(--gx-akzent); outline-offset: 3px; box-shadow: var(--gx-aktiv); }
html body .gx-kopf-vorschau a.gx-kopf-vorschau__name:focus-visible, html body .gx-kopf-vorschau a.gx-kopf-vorschau__bild:focus-visible { outline: 2px solid var(--gx-akzent); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  html body .gx-kopf-vorschau, html body .gx-kopf-vorschau a.gx-kopf-vorschau__knopf { transition: none; }
}
