/*
Theme Name: Facilite Blocksy Child
Theme URI: https://facilite.skin
Description: Schlankes Child-Theme fuer Blocksy. Design-Tokens, Schriften (self-hosted), Komponenten-Styles, Shop-Snippets. Kein Page-Builder.
Author: Facilite Cosmetics
Template: blocksy
Version: 0.74.0
Requires at least: 6.7
Requires PHP: 8.1
Text Domain: facilite
*/

/* =========================================================================
   0. Schriften (self-hosted, OFL; Dateien aus Google Fonts, keine externen Abrufe)
   Display: Playfair Display (Didone-Charakter wie die Wortmarke, aber tragfaehige
   Haarstriche in grossen Graden). Text: Manrope.
   ========================================================================= */
@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("assets/fonts/playfair-normal-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("assets/fonts/playfair-normal-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Playfair Display";
  font-style: italic;
  font-weight: 400 900;
  font-display: swap;
  src: url("assets/fonts/playfair-italic-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Playfair Display";
  font-style: italic;
  font-weight: 400 900;
  font-display: swap;
  src: url("assets/fonts/playfair-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("assets/fonts/manrope-normal-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("assets/fonts/manrope-normal-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* =========================================================================
   1. Design-Tokens (Quelle der Wahrheit: DESIGN-KONZEPT.md B2–B4, B11)
   ========================================================================= */
:root {
  /* Farben */
  --f-ivory: #F8F5F0;
  --f-ivory-deep: #F1ECE4;
  --f-sand: #E7DFD3;
  --f-taupe: #A89885;
  --f-taupe-deep: #6F6155;
  --f-petrol: #1B2A32;          /* Markenfarbe, Logo */
  --f-petrol-hover: #2C3F49;
  --f-petrol-active: #101A1F;
  --f-white: #FFFFFF;
  --f-accent: #B08D57;          /* Messing, optional, nur dekorativ */
  --f-success: #3F6B4F;
  --f-error: #9B3B2E;

  /* Typografie */
  --f-font-display: "Playfair Display", "Didot", "Bodoni 72", Georgia, serif;
  --f-font-text: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-text-base: 1rem;          /* 16px */
  --f-text-sm: 0.875rem;        /* 14px */
  --f-text-xs: 0.75rem;         /* 12px */
  --f-lh-body: 1.6;
  --f-lh-tight: 1.1;
  /* D7.3: Playfair nur fuer Seiten- und Abschnittsueberschriften. Produktnamen, Preise und
     Kartentitel laufen ueberall (Shop, Warenkorb, Kasse, Merkzettel, Konto) ueber diese Werte. */
  --f-name-size: 1rem;          /* Produktname */
  --f-name-weight: 600;
  --f-name-lh: 1.4;
  --f-price-size: 1.25rem;      /* Preis in Karten und Uebersichten, 20px */
  --f-title-ui-size: 1.125rem;  /* Kartentitel, Summenzeile, Bestellnummer, 18px */
  --f-h1: clamp(2.125rem, 1.5rem + 2.2vw, 3.5rem);   /* 34 -> 56px */
  --f-h2: clamp(1.625rem, 1.25rem + 1.3vw, 2.5rem);  /* 26 -> 40px */
  --f-h3: clamp(1.25rem, 1.15rem + 0.4vw, 1.5rem);   /* 20 -> 24px */
  --f-h4: 1.0625rem;
  --f-tracking-display: -0.01em;
  --f-tracking-caps: 0.08em;
  --f-tracking-eyebrow: 0.12em;

  /* Abstaende (4er-Raster) */
  --f-space-1: 0.25rem;
  --f-space-2: 0.5rem;
  --f-space-3: 0.75rem;
  --f-space-4: 1rem;
  --f-space-5: 1.25rem;
  --f-space-6: 1.5rem;
  --f-space-8: 2rem;
  --f-space-12: 3rem;
  --f-space-16: 4rem;
  --f-section: clamp(4rem, 2.5rem + 5vw, 7.5rem);     /* 64 -> 120px */
  --f-gutter: clamp(1rem, 0.5rem + 2vw, 3rem);        /* 16 -> 48px */

  /* Radien und Schatten */
  --f-radius-sm: 2px;
  --f-radius-md: 4px;
  /* D6.5 "Atelier" (freigegeben 11.11.2026): UI-Bausteine. --f-radius-sm/-md bleiben fuer
     Karten, Header, Footer und Produktseite, bis diese Bereiche umgestellt werden. */
  --f-radius-btn: 12px;
  --f-radius-field: 12px;
  --f-radius-check: 6px;
  --f-radius-panel: 16px;
  --f-btn-h: 52px;
  --f-btn-h-md: 44px;
  --f-btn-h-sm: 38px;
  --f-field-h: 52px;            /* Feld ohne Beschriftung im Feld */
  --f-field-h-labeled: 60px;    /* Feld mit Beschriftung im Feld */
  --f-check-size: 22px;
  --f-line-strong: #D6CBBB;     /* Feldrahmen */
  --f-check-line: #B9AC9B;      /* Rahmen Checkbox/Radio */
  --f-shadow-none: none;
  --f-shadow-focus: 0 0 0 3px rgba(27, 42, 50, 0.14);
  --f-shadow-focus-error: 0 0 0 3px rgba(155, 59, 46, 0.16);
  --f-shadow-md: 0 8px 24px rgba(27, 42, 50, 0.08);   /* nur Mini-Cart, Dropdowns */
  --f-border: 1px solid var(--f-sand);
  --f-transition: 160ms ease;

  /* ---- Blocksy-Variablen auf Tokens mappen ---- */
  --theme-font-family: var(--f-font-text);
  --theme-text-color: var(--f-petrol);
  --theme-heading-color: var(--f-petrol);
  --theme-headings-color: var(--f-petrol);
  --theme-link-initial-color: var(--f-petrol);
  --theme-link-hover-color: var(--f-taupe-deep);
  --theme-border-color: var(--f-sand);
  --theme-border-radius: var(--f-radius-sm);
  --theme-box-shadow: var(--f-shadow-none);
  --theme-selection-background-color: var(--f-sand);
  --theme-selection-text-color: var(--f-petrol);

  --theme-button-background-initial-color: var(--f-petrol);
  --theme-button-background-hover-color: var(--f-petrol-hover);
  --theme-button-text-initial-color: var(--f-ivory);
  --theme-button-text-hover-color: var(--f-ivory);
  --theme-button-border-radius: var(--f-radius-btn);
  --theme-button-min-height: var(--f-btn-h);
  --theme-button-padding: 0 28px;
  --theme-button-font-size: 0.8125rem;   /* 13px */
  --theme-button-text-transform: uppercase;
  --theme-button-letter-spacing: var(--f-tracking-caps);
  --theme-button-font-weight: 600;
  --theme-button-line-height: 1.15;
  --theme-button-shadow: none;

  --theme-form-field-height: var(--f-field-h);
  --theme-form-field-padding: 0 16px;
  --theme-form-field-border-radius: var(--f-radius-field);
  --theme-form-field-border-width: 1px;
  --theme-form-field-border-initial-color: var(--f-line-strong);
  --theme-form-field-border-focus-color: var(--f-petrol);
  --theme-form-field-background-initial-color: var(--f-white);
  --theme-form-field-background-focus-color: var(--f-white);
  --theme-form-font-size: var(--f-text-base);
  --theme-form-selection-field-initial-color: var(--f-check-line);
  --theme-form-selection-field-active-color: var(--f-petrol);
  --theme-form-checkbox-border-radius: var(--f-radius-check);
}

/* =========================================================================
   2. Basis
   ========================================================================= */
body {
  background-color: var(--f-ivory);
  color: var(--f-petrol);
  font-family: var(--f-font-text);
  font-size: var(--f-text-base);
  line-height: var(--f-lh-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, .h1, .h2, .h3,
.entry-title, .page-title, .product_title,
.wp-block-post-title, .ct-page-title h1 {
  font-family: var(--f-font-display);
  font-weight: 400;
  letter-spacing: var(--f-tracking-display);
  color: var(--f-petrol);
  --theme-font-family: var(--f-font-display);
}
h1, .h1 { font-size: var(--f-h1); line-height: var(--f-lh-tight); }
h2, .h2 { font-size: var(--f-h2); line-height: 1.15; }
h3, .h3 { font-size: var(--f-h3); line-height: 1.3; }
h4, h5, h6, .h4 {
  font-family: var(--f-font-text);
  font-weight: 600;
  font-size: var(--f-h4);
  line-height: 1.35;
  letter-spacing: 0;
  color: var(--f-petrol);
}
h1 em, h2 em, h3 em { font-style: italic; font-weight: 400; }

p, li { max-width: 72ch; }
small, .f-small { font-size: var(--f-text-sm); }

/* Eyebrow / Versalien-Label */
.f-eyebrow {
  display: block;
  font-family: var(--f-font-text);
  font-size: var(--f-text-xs);
  font-weight: 600;
  letter-spacing: var(--f-tracking-eyebrow);
  text-transform: uppercase;
  color: var(--f-taupe-deep);
  margin-bottom: var(--f-space-2);
}
.f-muted { color: var(--f-taupe-deep); }
.f-lead { font-size: 1.125rem; line-height: 1.55; }
.f-quote {
  font-family: var(--f-font-display);
  font-style: italic;
  font-weight: 400;
  font-size: var(--f-h2);
  line-height: 1.25;
  max-width: 26ch;
}

hr, .f-rule { border: 0; border-top: var(--f-border); margin: var(--f-space-8) 0; }

/* =========================================================================
   3. Links (nur im Fliesstext; Karten, Menues, Buttons bleiben ausgenommen)
   ========================================================================= */
.entry-content p a:not(.ct-button):not(.button):not(.f-btn-text),
.entry-content li:not(.product):not(.meta-categories) a:not(.ct-button):not(.button),
.f-link {
  color: var(--f-petrol);
  text-decoration: underline;
  text-decoration-color: var(--f-taupe);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: text-decoration-color var(--f-transition), color var(--f-transition);
}
.entry-content p a:not(.ct-button):not(.button):not(.f-btn-text):hover,
.entry-content li:not(.product):not(.meta-categories) a:not(.ct-button):not(.button):hover,
.f-link:hover { text-decoration-color: var(--f-petrol); }
.f-link-arrow::after { content: "\2192"; margin-left: 0.4em; }
/* Produktkarten innerhalb von Seiteninhalten (Shortcode) nie unterstreichen */
.entry-content [data-products] a { text-decoration: none; }

/* =========================================================================
   4. Buttons (D6.5 "Atelier": Rundung 12 px, Hoehe 52/44/38, Versalien 13 px)
   ========================================================================= */
.ct-button, .button, .wp-block-button__link, .wc-block-components-button,
button[type="submit"], input[type="submit"],
.single_add_to_cart_button, .checkout-button, .f-btn {
  font-family: var(--f-font-text);
  font-weight: 600;
  font-size: var(--theme-button-font-size);
  letter-spacing: var(--f-tracking-caps);
  text-transform: uppercase;
  line-height: 1.15;
  border-radius: var(--f-radius-btn);
  box-shadow: none;
  transition: background-color var(--f-transition), color var(--f-transition), border-color var(--f-transition), opacity var(--f-transition);
}
.ct-button:active, .button:active, .f-btn:active { background-color: var(--f-petrol-active); }
.f-btn-md { --theme-button-min-height: var(--f-btn-h-md); --theme-button-padding: 0 22px; }
.f-btn-sm { --theme-button-min-height: var(--f-btn-h-sm); --theme-button-padding: 0 16px; font-size: 0.75rem; }

/* Deaktiviert / laedt. Kein pointer-events: Woo meldet beim Klick auf deaktivierte Buttons, was fehlt. */
:is(.ct-button, .button, button[type="submit"], input[type="submit"], .f-btn):is(:disabled, .disabled, [aria-disabled="true"]) {
  opacity: 0.4; cursor: not-allowed;
}
:is(.ct-button, .button, .f-btn).loading { opacity: 0.7; cursor: progress; }

/* Sekundaer: Rahmen, fuellt sich beim Hover (Gutscheinbuttons seit 25.11.2026 eigen, im Feld) */
.f-btn-secondary, .ct-button-ghost, .wp-block-button.is-style-outline .wp-block-button__link {
  background: transparent;
  color: var(--f-petrol);
  border: 1px solid var(--f-petrol);
  --theme-button-background-initial-color: transparent;
  --theme-button-text-initial-color: var(--f-petrol);
  --theme-button-border: 1px solid var(--f-petrol);
  --theme-button-border-hover-color: var(--f-petrol);
}
.f-btn-secondary:hover, .ct-button-ghost:hover,
.wp-block-button.is-style-outline .wp-block-button__link:hover {
  background: var(--f-petrol);
  color: var(--f-ivory);
}
.f-btn-secondary:active, .ct-button-ghost:active {
  background: var(--f-petrol-active); border-color: var(--f-petrol-active); color: var(--f-ivory);
}

/* Tertiaer: Textbutton mit Unterstrich */
.f-btn-text {
  display: inline-flex; align-items: center;
  min-height: 0; padding: 0 0 2px;
  background: none; border: 0; border-radius: 0;
  color: var(--f-petrol);
  font-family: var(--f-font-text);
  font-weight: 600; font-size: 0.8125rem;
  letter-spacing: var(--f-tracking-caps); text-transform: uppercase;
  border-bottom: 1px solid var(--f-taupe);
  transition: border-color var(--f-transition);
}
.f-btn-text:hover { border-color: var(--f-petrol); background: none; color: var(--f-petrol); }

/* Fokus sichtbar (Tastatur) */
:is(a, button, .ct-button, .button):focus-visible {
  outline: 2px solid var(--f-petrol);
  outline-offset: 2px;
}
:is(.ct-button, .button, button[type="submit"], input[type="submit"], .f-btn):focus-visible { outline-offset: 3px; }

/* =========================================================================
   5. Formulare (D6.5 "Atelier")
   5.1 Grundform: gilt fuer jedes Feld, auch ohne passende Feldzeile (Beschriftung dann ueber dem Feld)
   ========================================================================= */
.form-row, .f-field { margin: 0 0 var(--f-space-5); }
label, .form-row label, .woocommerce-form__label, .f-field label {
  display: block;
  font-family: var(--f-font-text);
  font-size: var(--f-text-xs);
  font-weight: 600;
  letter-spacing: var(--f-tracking-caps);
  text-transform: uppercase;
  line-height: 1.3;
  color: var(--f-taupe-deep);
  margin-bottom: var(--f-space-2);
}
label .required, .form-row label .required { color: var(--f-taupe-deep); font-weight: 600; text-decoration: none; }
label .optional { font-weight: 500; }

/* .qty ausgenommen: Mengenfelder gestaltet Abschnitt 5.6 bzw. 14 */
input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not(.qty),
textarea, select, .select2-container .select2-selection--single {
  width: 100%;
  font-family: var(--f-font-text);
  font-size: var(--f-text-base);
  color: var(--f-petrol);
  background: var(--f-white);
  border: 1px solid var(--f-line-strong);
  border-radius: var(--f-radius-field);
  box-shadow: none;
  transition: border-color var(--f-transition), box-shadow var(--f-transition), background-color var(--f-transition);
}
input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not(.qty), select {
  height: var(--f-field-h);
  padding: 0 16px;
}
textarea { min-height: 128px; padding: 14px 16px; line-height: 1.5; resize: vertical; }
/* Hover und Fokus mit derselben Auswahl wie die Grundregel oben: deren :not()-Kette wiegt schwerer als ein einfaches
   input:focus, Rahmen und Ring griffen deshalb bei Feldern ohne Beschriftung im Feld nie (Gutschein, Kursbereich). */
:is(input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not(.qty), textarea, select):enabled:hover { border-color: var(--f-taupe); }
:is(input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not(.qty), textarea, select):focus {
  outline: none;
  border-color: var(--f-petrol);
  box-shadow: var(--f-shadow-focus);
}
:is(input, textarea, select):disabled {
  background-color: var(--f-ivory-deep); border-color: var(--f-sand); color: var(--f-taupe);
  -webkit-text-fill-color: var(--f-taupe); opacity: 1; cursor: not-allowed;
}
::placeholder { color: var(--f-taupe); opacity: 1; }
select {
  appearance: none; -webkit-appearance: none;
  padding-right: 46px; text-overflow: ellipsis; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231B2A32' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
}
.f-field-error, .woocommerce-invalid input { border-color: var(--f-error) !important; box-shadow: none; }
.f-help, .form-row .description {
  display: block; margin-top: var(--f-space-2);
  font-size: 0.8125rem; line-height: 1.45; color: var(--f-taupe-deep);
}
.f-help-error, .checkout-inline-error-message {
  display: flex; align-items: flex-start; gap: 7px; margin: var(--f-space-2) 0 0;
  font-size: 0.8125rem; font-weight: 500; line-height: 1.45; color: var(--f-error);
}
.f-help-error::before, .checkout-inline-error-message::before {
  content: ""; flex: none; width: 16px; height: 16px; margin-top: 1px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7.5v5.5M12 16.3v.2'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7.5v5.5M12 16.3v.2'/%3E%3C/svg%3E") center / contain no-repeat;
}
/* Blocksy-Formfelder (Suche, Login-Modal) */
:root { --theme-form-field-border-style: solid; }

/* -------------------------------------------------------------------------
   5.2 Beschriftung im Feld
   Greift nur bei Feldzeilen mit sichtbarer Beschriftung direkt vor dem Feld (Woo, German Market,
   B2B Market, DHL, Blocksy-Anmeldefenster). Der Rahmen ist ein Pseudo-Element ueber zwei Rasterzeilen: oben die
   Beschriftung, unten das Feld. Lange Beschriftungen brechen um und das Feld waechst mit; nichts
   wird gekuerzt oder ueberdeckt. Ausnahmen (Beschriftung bleibt ueber dem Feld): Zeilen mit
   Checkbox/Radio, verborgene Beschriftungen, Klasse .f-label-above, Browser ohne :has().
   ------------------------------------------------------------------------- */
@supports selector(:has(a)) {
  :is(.form-row, .ct-account-modal p):has(> label:first-child:not(.screen-reader-text) + :is(.woocommerce-input-wrapper, .input-text, .input, [class*="password-input"], select, textarea)):not(.f-label-above, :has([type="checkbox"], [type="radio"])) {
    display: grid; grid-template-columns: minmax(0, 1fr); align-content: start;
    position: relative;
  }
  /* Zeilen ohne Spaltenklasse nicht neben umflossene Halbspalten setzen (DHL-Postnummer) */
  :is(.form-row, .ct-account-modal p):has(> label:first-child:not(.screen-reader-text) + :is(.woocommerce-input-wrapper, .input-text, .input, [class*="password-input"], select, textarea)):not(.f-label-above, :has([type="checkbox"], [type="radio"])):not(.form-row-first, .form-row-last) { clear: both; }
  /* Skripte blenden Zeilen per style="display: block" ein (B2B-Felder, slideDown): Raster behalten */
  :is(.form-row, .ct-account-modal p):has(> label:first-child:not(.screen-reader-text) + :is(.woocommerce-input-wrapper, .input-text, .input, [class*="password-input"], select, textarea)):not(.f-label-above, :has([type="checkbox"], [type="radio"]))[style*="display: block"],
  :is(.form-row, .ct-account-modal p):has(> label:first-child:not(.screen-reader-text) + :is(.woocommerce-input-wrapper, .input-text, .input, [class*="password-input"], select, textarea)):not(.f-label-above, :has([type="checkbox"], [type="radio"]))[style*="display:block"] { display: grid !important; }
  :is(.form-row, .ct-account-modal p):has(> label:first-child:not(.screen-reader-text) + :is(.woocommerce-input-wrapper, .input-text, .input, [class*="password-input"], select, textarea)):not(.f-label-above, :has([type="checkbox"], [type="radio"]))::before {
    content: ""; display: block; grid-area: 1 / 1 / 3 / 2;
    min-height: var(--f-field-h-labeled);
    border: 1px solid var(--f-line-strong);
    border-radius: var(--f-radius-field);
    background: var(--f-white) no-repeat right 14px center / 18px;
    pointer-events: none;
    transition: border-color var(--f-transition), box-shadow var(--f-transition), background-color var(--f-transition);
  }
  :is(.form-row, .ct-account-modal p):has(> label:first-child:not(.screen-reader-text) + :is(.woocommerce-input-wrapper, .input-text, .input, [class*="password-input"], select, textarea)):not(.f-label-above, :has([type="checkbox"], [type="radio"]))::after { display: none; }
  :is(.form-row, .ct-account-modal p):has(> label:first-child:not(.screen-reader-text) + :is(.woocommerce-input-wrapper, .input-text, .input, [class*="password-input"], select, textarea)):not(.f-label-above, :has([type="checkbox"], [type="radio"])) > label {
    grid-area: 1 / 1; z-index: 1;
    margin: 0; padding: 10px 17px 0;
    font-size: 0.6875rem; line-height: 1.3;
    cursor: text;
  }
  :is(.form-row, .ct-account-modal p):has(> label:first-child:not(.screen-reader-text) + :is(.woocommerce-input-wrapper, .input-text, .input, [class*="password-input"], select, textarea)):not(.f-label-above, :has([type="checkbox"], [type="radio"])) > label + * { grid-area: 2 / 1; z-index: 1; min-width: 0; }
  :is(.form-row, .ct-account-modal p):has(> label:first-child:not(.screen-reader-text) + :is(.woocommerce-input-wrapper, .input-text, .input, [class*="password-input"], select, textarea)):not(.f-label-above, :has([type="checkbox"], [type="radio"])) > .woocommerce-input-wrapper,
  :is(.form-row, .ct-account-modal p):has(> label:first-child:not(.screen-reader-text) + :is(.woocommerce-input-wrapper, .input-text, .input, [class*="password-input"], select, textarea)):not(.f-label-above, :has([type="checkbox"], [type="radio"])) [class*="password-input"] { display: block; position: relative; }

  :is(.form-row, .ct-account-modal p):has(> label:first-child:not(.screen-reader-text) + :is(.woocommerce-input-wrapper, .input-text, .input, [class*="password-input"], select, textarea)):not(.f-label-above, :has([type="checkbox"], [type="radio"])) :is(.input-text, .input, select, textarea),
  :is(.form-row, .ct-account-modal p):has(> label:first-child:not(.screen-reader-text) + :is(.woocommerce-input-wrapper, .input-text, .input, [class*="password-input"], select, textarea)):not(.f-label-above, :has([type="checkbox"], [type="radio"])) .select2-container .select2-selection--single {
    display: block; width: calc(100% - 2px); height: 35px; min-height: 0;
    margin: 0 1px 1px; padding: 0 16px 6px;
    border: 0; border-radius: 0 0 11px 11px;
    background-color: transparent; box-shadow: none; outline: none;
    line-height: 1.3;
  }
  :is(.form-row, .ct-account-modal p):has(> label:first-child:not(.screen-reader-text) + :is(.woocommerce-input-wrapper, .input-text, .input, [class*="password-input"], select, textarea)):not(.f-label-above, :has([type="checkbox"], [type="radio"])) textarea { height: auto; min-height: 96px; padding: 4px 16px 12px; line-height: 1.5; }
  :is(.form-row, .ct-account-modal p):has(> label:first-child:not(.screen-reader-text) + :is(.woocommerce-input-wrapper, .input-text, .input, [class*="password-input"], select, textarea)):not(.f-label-above, :has([type="checkbox"], [type="radio"])) select { padding-right: 46px; background-image: none; }
  :is(.form-row, .ct-account-modal p):has(> label:first-child:not(.screen-reader-text) + :is(.woocommerce-input-wrapper, .input-text, .input, [class*="password-input"], select, textarea)):not(.f-label-above, :has([type="checkbox"], [type="radio"])) :is(.input-text, .input, select, textarea):focus { border: 0; box-shadow: none; outline: none; }
  :is(.form-row, .ct-account-modal p):has(> label:first-child:not(.screen-reader-text) + :is(.woocommerce-input-wrapper, .input-text, .input, [class*="password-input"], select, textarea)):not(.f-label-above, :has([type="checkbox"], [type="radio"])) input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 100px var(--f-white) inset; -webkit-text-fill-color: var(--f-petrol);
  }

  /* Auswahlfelder: Pfeil sitzt mittig im Rahmen */
  :is(.form-row, .ct-account-modal p):has(> label:first-child:not(.screen-reader-text) + :is(.woocommerce-input-wrapper, .input-text, .input, [class*="password-input"], select, textarea)):not(.f-label-above, :has([type="checkbox"], [type="radio"])):has(select)::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231B2A32' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  }
  :is(.form-row, .ct-account-modal p):has(> label:first-child:not(.screen-reader-text) + :is(.woocommerce-input-wrapper, .input-text, .input, [class*="password-input"], select, textarea)):not(.f-label-above, :has([type="checkbox"], [type="radio"])) .select2-container { display: block; width: 100% !important; }
  :is(.form-row, .ct-account-modal p):has(> label:first-child:not(.screen-reader-text) + :is(.woocommerce-input-wrapper, .input-text, .input, [class*="password-input"], select, textarea)):not(.f-label-above, :has([type="checkbox"], [type="radio"])) .select2-container .select2-selection--single .select2-selection__rendered {
    padding: 0 30px 0 0; line-height: 29px; color: var(--f-petrol);
  }
  :is(.form-row, .ct-account-modal p):has(> label:first-child:not(.screen-reader-text) + :is(.woocommerce-input-wrapper, .input-text, .input, [class*="password-input"], select, textarea)):not(.f-label-above, :has([type="checkbox"], [type="radio"])) .select2-container .select2-selection--single .select2-selection__arrow { display: none; }

  /* Passwort anzeigen: Auge mittig im Rahmen (Woo haengt den Schalter per JS an) */
  :is(.form-row, .ct-account-modal p):has(> label:first-child:not(.screen-reader-text) + :is(.woocommerce-input-wrapper, .input-text, .input, [class*="password-input"], select, textarea)):not(.f-label-above, :has([type="checkbox"], [type="radio"])) [class*="password-input"] :is(.input-text, .input) { padding-right: 50px; }
  :is(.form-row, .ct-account-modal p):has(> label:first-child:not(.screen-reader-text) + :is(.woocommerce-input-wrapper, .input-text, .input, [class*="password-input"], select, textarea)):not(.f-label-above, :has([type="checkbox"], [type="radio"])) .show-password-input {
    position: absolute; top: -3px; right: 15px; inset-inline-end: 15px;
    width: 20px; height: 20px; min-height: 0; margin: 0; padding: 0;
    border: 0; border-radius: 4px; cursor: pointer;
    background-color: var(--f-taupe-deep);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 12s3.5-6.5 9.5-6.5 9.5 6.5 9.5 6.5-3.5 6.5-9.5 6.5S2.5 12 2.5 12z'/%3E%3Ccircle cx='12' cy='12' r='2.8'/%3E%3C/svg%3E") center / contain no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 12s3.5-6.5 9.5-6.5 9.5 6.5 9.5 6.5-3.5 6.5-9.5 6.5S2.5 12 2.5 12z'/%3E%3Ccircle cx='12' cy='12' r='2.8'/%3E%3C/svg%3E") center / contain no-repeat;
    transition: background-color var(--f-transition);
  }
  :is(.form-row, .ct-account-modal p):has(> label:first-child:not(.screen-reader-text) + :is(.woocommerce-input-wrapper, .input-text, .input, [class*="password-input"], select, textarea)):not(.f-label-above, :has([type="checkbox"], [type="radio"])) .show-password-input:hover { background-color: var(--f-petrol); }
  :is(.form-row, .ct-account-modal p):has(> label:first-child:not(.screen-reader-text) + :is(.woocommerce-input-wrapper, .input-text, .input, [class*="password-input"], select, textarea)):not(.f-label-above, :has([type="checkbox"], [type="radio"])) [class*="password-input"] input[type="text"] ~ .show-password-input {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 12s3.5-6.5 9.5-6.5 9.5 6.5 9.5 6.5-3.5 6.5-9.5 6.5S2.5 12 2.5 12z'/%3E%3Ccircle cx='12' cy='12' r='2.8'/%3E%3Cpath d='M4 4l16 16'/%3E%3C/svg%3E");
            mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 12s3.5-6.5 9.5-6.5 9.5 6.5 9.5 6.5-3.5 6.5-9.5 6.5S2.5 12 2.5 12z'/%3E%3Ccircle cx='12' cy='12' r='2.8'/%3E%3Cpath d='M4 4l16 16'/%3E%3C/svg%3E");
  }

  /* Zustaende am Rahmen */
  :is(.form-row, .ct-account-modal p):has(> label:first-child:not(.screen-reader-text) + :is(.woocommerce-input-wrapper, .input-text, .input, [class*="password-input"], select, textarea)):not(.f-label-above, :has([type="checkbox"], [type="radio"])):hover::before { border-color: var(--f-taupe); }
  :is(.form-row, .ct-account-modal p):has(> label:first-child:not(.screen-reader-text) + :is(.woocommerce-input-wrapper, .input-text, .input, [class*="password-input"], select, textarea)):not(.f-label-above, :has([type="checkbox"], [type="radio"])):focus-within::before,
  :is(.form-row, .ct-account-modal p):has(> label:first-child:not(.screen-reader-text) + :is(.woocommerce-input-wrapper, .input-text, .input, [class*="password-input"], select, textarea)):not(.f-label-above, :has([type="checkbox"], [type="radio"])):has(.select2-container--open)::before { border-color: var(--f-petrol); box-shadow: var(--f-shadow-focus); }
  /* Geprueft: neutraler Rahmen, nur ein dezenter Haken (nicht bei leeren, Auswahl- und Passwortfeldern) */
  :is(.form-row, .ct-account-modal p):has(> label:first-child:not(.screen-reader-text) + :is(.woocommerce-input-wrapper, .input-text, .input, [class*="password-input"], select, textarea)):not(.f-label-above, :has([type="checkbox"], [type="radio"])).woocommerce-validated:not(:has(select, .show-password-input, :placeholder-shown))::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233F6B4F' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
  }
  :is(.form-row, .ct-account-modal p):has(> label:first-child:not(.screen-reader-text) + :is(.woocommerce-input-wrapper, .input-text, .input, [class*="password-input"], select, textarea)):not(.f-label-above, :has([type="checkbox"], [type="radio"])).woocommerce-validated:not(:has(select, .show-password-input, :placeholder-shown)) .input-text { padding-right: 46px; }
  :is(.form-row, .ct-account-modal p):has(> label:first-child:not(.screen-reader-text) + :is(.woocommerce-input-wrapper, .input-text, .input, [class*="password-input"], select, textarea)):not(.f-label-above, :has([type="checkbox"], [type="radio"])).woocommerce-invalid::before { border-color: var(--f-error); }
  :is(.form-row, .ct-account-modal p):has(> label:first-child:not(.screen-reader-text) + :is(.woocommerce-input-wrapper, .input-text, .input, [class*="password-input"], select, textarea)):not(.f-label-above, :has([type="checkbox"], [type="radio"])).woocommerce-invalid:focus-within::before { box-shadow: var(--f-shadow-focus-error); }
  /* Fehlerhinweis sofort beim Verlassen des Feldes (Woo setzt dort nur Klassen). Nach dem Absenden
     liefert Woo den genauen Text selbst (.checkout-inline-error-message), dann entfaellt dieser. */
  :is(.form-row, .ct-account-modal p):has(> label:first-child:not(.screen-reader-text) + :is(.woocommerce-input-wrapper, .input-text, .input, [class*="password-input"], select, textarea)):not(.f-label-above, :has([type="checkbox"], [type="radio"])).woocommerce-invalid:not(:has(.checkout-inline-error-message))::after {
    content: "Bitte pr\00FC fe diese Angabe."; display: block; margin: var(--f-space-2) 0 0; padding-left: 23px;
    font-size: 0.8125rem; font-weight: 500; line-height: 1.45; letter-spacing: 0; text-transform: none; color: var(--f-error);
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239B3B2E' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7.5v5.5M12 16.3v.2'/%3E%3C/svg%3E") no-repeat left 1px / 16px;
  }
  :is(.form-row, .ct-account-modal p):has(> label:first-child:not(.screen-reader-text) + :is(.woocommerce-input-wrapper, .input-text, .input, [class*="password-input"], select, textarea)):not(.f-label-above, :has([type="checkbox"], [type="radio"])).woocommerce-invalid-required-field:not(:has(.checkout-inline-error-message))::after { content: "Bitte f\00FC lle dieses Feld aus."; }
  :is(.form-row, .ct-account-modal p):has(> label:first-child:not(.screen-reader-text) + :is(.woocommerce-input-wrapper, .input-text, .input, [class*="password-input"], select, textarea)):not(.f-label-above, :has([type="checkbox"], [type="radio"])).woocommerce-invalid-email:not(:has(.checkout-inline-error-message))::after { content: "Bitte gib eine g\00FC ltige E-Mail-Adresse ein."; }
  :is(.form-row, .ct-account-modal p):has(> label:first-child:not(.screen-reader-text) + :is(.woocommerce-input-wrapper, .input-text, .input, [class*="password-input"], select, textarea)):not(.f-label-above, :has([type="checkbox"], [type="radio"])).woocommerce-invalid-phone:not(:has(.checkout-inline-error-message))::after { content: "Bitte gib eine g\00FC ltige Telefonnummer ein."; }
  :is(.form-row, .ct-account-modal p):has(> label:first-child:not(.screen-reader-text) + :is(.woocommerce-input-wrapper, .input-text, .input, [class*="password-input"], select, textarea)):not(.f-label-above, :has([type="checkbox"], [type="radio"])):has(:is(input, select, textarea):disabled)::before { background-color: var(--f-ivory-deep); border-color: var(--f-sand); }
}

/* -------------------------------------------------------------------------
   5.3 Checkbox und Radio: eine Darstellung fuer Blocksy, WooCommerce, German Market, B2B Market
   und DHL. Das native Element wird gestaltet, es bleibt klick- und tastaturbedienbar.
   :not(#_) hebt die Regel ueber Blocksys ID-Selektoren. Tutor LMS und WPForms bleiben unberuehrt.
   ------------------------------------------------------------------------- */
:is(input[type="checkbox"], input[type="radio"]):not(#_, [class*="tutor"], [id^="wpforms"]) {
  -webkit-appearance: none; appearance: none;
  display: inline-block; flex: none; position: relative; top: 0;
  width: var(--f-check-size); min-width: var(--f-check-size); height: var(--f-check-size);
  margin: 0 12px 0 0; padding: 0;
  border: 1.5px solid var(--f-check-line);
  border-radius: var(--f-radius-check);
  background: var(--f-white) center / 72% no-repeat;
  vertical-align: middle; cursor: pointer;
  transition: border-color var(--f-transition), background-color var(--f-transition);
}
input[type="radio"]:not(#_, [class*="tutor"], [id^="wpforms"]) { border-radius: 50%; }
:is(input[type="checkbox"], input[type="radio"]):not(#_, [class*="tutor"], [id^="wpforms"])::before { content: none; }
:is(input[type="checkbox"], input[type="radio"]):not(#_, [class*="tutor"], [id^="wpforms"]):hover { border-color: var(--f-petrol); }
input[type="checkbox"]:not(#_, [class*="tutor"], [id^="wpforms"]):checked {
  border-color: var(--f-petrol); background-color: var(--f-petrol);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23F8F5F0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.6 8.4l2.9 2.9 5.9-6.4'/%3E%3C/svg%3E");
}
input[type="radio"]:not(#_, [class*="tutor"], [id^="wpforms"]):checked {
  border-color: var(--f-petrol); background-color: var(--f-white);
  background-image: radial-gradient(circle, var(--f-petrol) 0 44%, transparent 48%);
  background-size: 100%;
}
:is(input[type="checkbox"], input[type="radio"]):not(#_, [class*="tutor"], [id^="wpforms"]):focus-visible {
  outline: 2px solid var(--f-petrol); outline-offset: 2px;
}
:is(input[type="checkbox"], input[type="radio"]):not(#_, [class*="tutor"], [id^="wpforms"]):disabled { opacity: 0.42; cursor: not-allowed; }
.woocommerce-invalid input[type="checkbox"]:not(#_, :checked) { border-color: var(--f-error); }

/* Beschriftung neben Checkbox/Radio: normale Schreibweise, mehrzeilig oben buendig */
/* Kein Flex: so bleiben Text, Links und Pflichtstern in einem Textfluss. */
label:has(> input[type="checkbox"]), label:has(> input[type="radio"]),
.woocommerce-form__label-for-checkbox, label.checkbox {
  display: block; position: relative;
  min-height: var(--f-check-size); padding-left: calc(var(--f-check-size) + var(--f-space-3));
  font-size: 0.9375rem; font-weight: 400; line-height: 1.5;
  letter-spacing: 0; text-transform: none; color: var(--f-petrol);
  cursor: pointer;
}
label > :is(input[type="checkbox"], input[type="radio"]):not(#_, [class*="tutor"], [id^="wpforms"]) {
  position: absolute; left: 0; top: 0; margin: 0;
}
:is(input[type="checkbox"], input[type="radio"]) + label {
  display: inline; margin: 0;
  font-size: 0.9375rem; font-weight: 400; line-height: 1.5;
  letter-spacing: 0; text-transform: none; color: var(--f-petrol);
  vertical-align: middle; cursor: pointer;
}

.woocommerce-form-login__rememberme { margin-bottom: var(--f-space-4); }

/* Zahlungsarten: Blocksy blendet das Radio aus und zeichnet es am Label */
#payment ul.payment_methods > li.wc_payment_method > label::before {
  width: var(--f-check-size); min-width: var(--f-check-size); height: var(--f-check-size); margin-top: 0;
  border: 1.5px solid var(--f-check-line); background: var(--f-white);
  transition: border-color var(--f-transition);
}
#payment ul.payment_methods > li.wc_payment_method > label:hover::before { border-color: var(--f-petrol); }
#payment ul.payment_methods > li.wc_payment_method > input[type="radio"]:first-child:checked + label::before {
  border-width: 1.5px; border-color: var(--f-petrol);
  background: var(--f-white) radial-gradient(circle, var(--f-petrol) 0 44%, transparent 48%);
}
#payment ul.payment_methods > li.wc_payment_method > input[type="radio"]:first-child:focus-visible + label::before {
  outline: 2px solid var(--f-petrol); outline-offset: 2px;
}

/* -------------------------------------------------------------------------
   5.4 Auswahllisten (D6.5 Paket 2): select2/selectWoo von WooCommerce und DHL. Die geoeffnete
   Liste haengt am <body>, deshalb ohne Formular-Kontext.
   ------------------------------------------------------------------------- */
.select2-container .select2-selection--single { height: var(--f-field-h); outline: none; }
.select2-container .select2-selection--single .select2-selection__rendered { padding: 0 46px 0 16px; line-height: calc(var(--f-field-h) - 2px); color: var(--f-petrol); }
.select2-container .select2-selection--single .select2-selection__placeholder { color: var(--f-taupe); }
.select2-container--default .select2-selection--single .select2-selection__clear { margin-right: 8px; color: var(--f-taupe-deep); font-weight: 400; }
.select2-container--open .select2-selection--single, .select2-container--focus .select2-selection--single { border-color: var(--f-petrol); }
.select2-container .select2-dropdown {
  padding: 6px; overflow: hidden;
  background: var(--f-white);
  border: 1px solid var(--f-sand); border-radius: var(--f-radius-field);
  box-shadow: 0 12px 32px rgba(27, 42, 50, 0.10), 0 2px 6px rgba(27, 42, 50, 0.05);
}
.select2-container .select2-dropdown--below { margin-top: 6px; border-top: 1px solid var(--f-sand); }
.select2-container .select2-dropdown--above { margin-top: -6px; border-bottom: 1px solid var(--f-sand); }
.select2-container .select2-search--dropdown { padding: 0 0 6px; }
.select2-container .select2-search--dropdown .select2-search__field {
  height: 44px; padding: 0 12px;
  border: 1px solid var(--f-line-strong); border-radius: 8px;
  font-size: var(--f-text-base);
}
.select2-container .select2-search--dropdown .select2-search__field:focus { border-color: var(--f-petrol); box-shadow: var(--f-shadow-focus); }
.select2-container .select2-results__options { scrollbar-width: thin; }
.select2-container .select2-results__option {
  margin: 0; padding: 11px 12px; border-radius: 8px;
  font-size: 0.9375rem; line-height: 1.35; color: var(--f-petrol);
  transition: background-color var(--f-transition);
}
.select2-container--default .select2-results__option[aria-selected="true"],
.select2-container--default .select2-results__option[data-selected="true"] { background: transparent; color: var(--f-petrol); font-weight: 600; }
span.select2-dropdown .select2-results__option.select2-results__option--highlighted[aria-selected],
span.select2-dropdown .select2-results__option.select2-results__option--highlighted[data-selected] { background: var(--f-ivory-deep); color: var(--f-petrol); }
.select2-container .select2-results__option.select2-results__message { color: var(--f-taupe-deep); font-size: var(--f-text-sm); }

/* -------------------------------------------------------------------------
   5.5 Suche: Suchfenster (Header, Desktop), Suchfeld im Off-Canvas (Smartphone/Tablet) und
   Suchformulare im Inhalt (z. B. Seite "keine Treffer").
   Feld und Lupen-Button sind zwei Bausteine gleicher Hoehe (52 px) und Rundung mit 10 px Abstand.
   Blocksys Sammelrahmen (.ct-pseudo-input) entfaellt, der Fokus sitzt wie bei allen Feldern am
   Eingabefeld (Petrol-Rahmen + Ring). Das Suchfenster ist hell, damit dieser Fokus sichtbar ist.
   ------------------------------------------------------------------------- */
/* Selektor wie in Blocksys dynamischem CSS ([data-header] #search-modal), sonst gewinnt dessen dunkle Flaeche */
[data-header] #search-modal, body #search-modal { background-color: rgba(248, 245, 240, 0.97); }
#search-modal .ct-toggle-close { color: var(--f-petrol); --theme-icon-color: var(--f-petrol); --theme-icon-hover-color: var(--f-taupe-deep); }
#search-modal .ct-search-form { max-width: min(640px, 100%); --theme-form-max-width: 640px; }
:is(#search-modal, #offcanvas, #main-container) .ct-search-form {
  --theme-form-field-height: var(--f-field-h); --theme-form-font-size: var(--f-text-base);
  --theme-form-field-border-radius: var(--f-radius-field);
  --theme-form-text-initial-color: var(--f-petrol); --theme-form-text-focus-color: var(--f-petrol);
}
:is(#search-modal, #offcanvas, #main-container) .ct-search-form .ct-search-form-inner {
  display: flex; align-items: stretch; gap: 10px;
  height: auto; padding: 0;
  border: 0; border-radius: 0; outline: 0; box-shadow: none; background: transparent;
}
:is(#search-modal, #offcanvas, #main-container) .ct-search-form input[type="search"] {
  flex: 1 1 auto; min-width: 0; height: var(--f-field-h); padding: 0 16px;
  background: var(--f-white); color: var(--f-petrol);
  border: 1px solid var(--f-line-strong); border-radius: var(--f-radius-field);
  box-shadow: none; outline: 0;
  transition: border-color var(--f-transition), box-shadow var(--f-transition);
}
:is(#search-modal, #offcanvas, #main-container) .ct-search-form input[type="search"]:hover { border-color: var(--f-taupe); }
:is(#search-modal, #offcanvas, #main-container) .ct-search-form input[type="search"]:focus {
  background: var(--f-white); border-color: var(--f-petrol); box-shadow: var(--f-shadow-focus);
}
:is(#search-modal, #offcanvas, #main-container) .ct-search-form .wp-element-button {
  position: static; flex: 0 0 var(--f-field-h);
  width: var(--f-field-h); height: var(--f-field-h); min-height: var(--f-field-h); margin: 0; padding: 0;
  border: 0; border-radius: var(--f-radius-btn);
  background: var(--f-petrol); color: var(--f-ivory);
  --theme-icon-color: var(--f-ivory); --theme-icon-hover-color: var(--f-ivory); --theme-icon-size: 20px;
  transition: background-color var(--f-transition);
}
:is(#search-modal, #offcanvas, #main-container) .ct-search-form .wp-element-button:hover { background: var(--f-petrol-hover); color: var(--f-ivory); }
:is(#search-modal, #offcanvas, #main-container) .ct-search-form .wp-element-button:focus-visible { outline: 2px solid var(--f-petrol); outline-offset: 3px; }
:is(#search-modal, #offcanvas, #main-container) .ct-search-form .wp-element-button :is(svg, .f-icon) { width: 20px; height: 20px; }
.ct-search-form input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; }
/* Live-Ergebnisse unter dem Feld */
#search-modal .ct-search-form .ct-search-results {
  gap: 4px; margin-top: 10px; padding: 8px;
  background: var(--f-white); border: 1px solid var(--f-sand); border-radius: var(--f-radius-field);
  box-shadow: 0 12px 32px rgba(27, 42, 50, 0.10), 0 2px 6px rgba(27, 42, 50, 0.05);
  --items-padding: 10px 12px; --items-spacing: 14px; --search-image-radius: 8px;
}
#search-modal .ct-search-form .ct-search-results .ct-media-container { --search-image-size: 48px; align-self: center; }
#search-modal .ct-search-form .ct-search-results a { border-radius: 8px; font-size: 0.9375rem; line-height: 1.35; color: var(--f-petrol); transition: background-color var(--f-transition); }
#search-modal .ct-search-form .ct-search-results a:hover, #search-modal .ct-search-form .ct-search-results a:focus { background: var(--f-ivory-deep); color: var(--f-petrol); }

/* -------------------------------------------------------------------------
   5.6 Mengenauswahl (Blocksy Typ 2: Warenkorb, Mini-Warenkorb). Die Kaufleiste der Produktseite
   nutzt dasselbe Markup mit eigenem Raster, siehe Abschnitt 14.
   ------------------------------------------------------------------------- */
div.quantity[data-type="type-2"]:not(#_) {
  --quantity-height: var(--f-btn-h-md); --quantity-width: 116px;
  --quantity-button-size: 32px; --quantity-button-offset: 6px; --quantity-icon-size: 10px;
  --quantity-initial-color: var(--f-line-strong); --quantity-hover-color: var(--f-ivory-deep);
  --quantity-arrows-initial-color: var(--f-petrol); --quantity-arrows-hover-color: var(--f-petrol);
  --theme-form-field-border-radius: var(--f-radius-field);
  --theme-form-field-background-initial-color: var(--f-white);
  --theme-form-field-background-focus-color: var(--f-white);
}
div.quantity[data-type] input.qty {
  font-family: var(--f-font-text); font-size: var(--f-text-base); font-weight: 600; color: var(--f-petrol);
  font-variant-numeric: tabular-nums; box-shadow: none;
  transition: border-color var(--f-transition), box-shadow var(--f-transition);
}
div.quantity[data-type="type-2"] input.qty:hover { border-color: var(--f-taupe); }
div.quantity[data-type="type-2"] input.qty:focus { outline: none; border-color: var(--f-petrol); box-shadow: var(--f-shadow-focus); }
div.quantity[data-type="type-2"] :is(.ct-increase, .ct-decrease):not(:hover) { background: transparent; }

/* -------------------------------------------------------------------------
   5.7 Meldungen (D7.3): ein Baustein fuer WooCommerce, Merkzettel, German Market, B2B Market
   (alle nutzen die WooCommerce-Klassen), eigene Hinweise (.f-notice, .fb2b-hint) und die
   Toasts (17.3). In der Seite bleiben nur Fehler, Hinweise und lange Erklaerungen; kurze Erfolge
   werden Toasts, Gutschein-Rueckmeldungen stehen am Feld (assets/js/notices.js). Vier Arten ueber --f-notice-rgb und --f-notice-icon (Phosphor):
   Information, Erfolg, Warnung (.f-notice--warning), Fehler. Getoenter Grund, feine Kontur,
   kein Farbstreifen.
   ------------------------------------------------------------------------- */
:root {
  --f-info: #3D5A66;
  --f-warning: #8A6A2F;
  --f-notice-radius: var(--f-radius-field);
  --f-notice-icon-size: 20px;
  --f-notice-gap: var(--f-space-2);       /* Abstand zwischen zwei Meldungen */
  --f-ico-info: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath d='M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm16-40a8,8,0,0,1-8,8,16,16,0,0,1-16-16V128a8,8,0,0,1,0-16,16,16,0,0,1,16,16v40A8,8,0,0,1,144,176ZM112,84a12,12,0,1,1,12,12A12,12,0,0,1,112,84Z'/%3E%3C/svg%3E");
  --f-ico-success: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath d='M173.66,98.34a8,8,0,0,1,0,11.32l-56,56a8,8,0,0,1-11.32,0l-24-24a8,8,0,0,1,11.32-11.32L112,148.69l50.34-50.35A8,8,0,0,1,173.66,98.34ZM232,128A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z'/%3E%3C/svg%3E");
  --f-ico-warning: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath d='M236.8,188.09,149.35,36.22h0a24.76,24.76,0,0,0-42.7,0L19.2,188.09a23.51,23.51,0,0,0,0,23.72A24.35,24.35,0,0,0,40.55,224h174.9a24.35,24.35,0,0,0,21.33-12.19A23.51,23.51,0,0,0,236.8,188.09ZM222.93,203.8a8.5,8.5,0,0,1-7.48,4.2H40.55a8.5,8.5,0,0,1-7.48-4.2,7.59,7.59,0,0,1,0-7.72L120.52,44.21a8.75,8.75,0,0,1,15,0l87.45,151.87A7.59,7.59,0,0,1,222.93,203.8ZM120,144V104a8,8,0,0,1,16,0v40a8,8,0,0,1-16,0Zm20,36a12,12,0,1,1-12-12A12,12,0,0,1,140,180Z'/%3E%3C/svg%3E");
  --f-ico-error: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath d='M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm-8-80V80a8,8,0,0,1,16,0v56a8,8,0,0,1-16,0Zm20,36a12,12,0,1,1-12-12A12,12,0,0,1,140,172Z'/%3E%3C/svg%3E");
}
:is(.woocommerce-info, .woocommerce-error, .woocommerce-message, .woocommerce-thankyou-order-received, .f-notice, .fb2b-hint), .f-toast {
  --f-notice: var(--f-info); --f-notice-rgb: 61, 90, 102; --f-notice-icon: var(--f-ico-info);
}
:is(.woocommerce-message, .woocommerce-thankyou-order-received, .f-notice--success, .f-toast[data-type="success"]) {
  --f-notice: var(--f-success); --f-notice-rgb: 63, 107, 79; --f-notice-icon: var(--f-ico-success);
}
:is(.f-notice--warning, .f-toast[data-type="warning"]) {
  --f-notice: var(--f-warning); --f-notice-rgb: 138, 106, 47; --f-notice-icon: var(--f-ico-warning);
}
:is(.woocommerce-error, .f-notice--error, .f-toast[data-type="error"]) {
  --f-notice: var(--f-error); --f-notice-rgb: 155, 59, 46; --f-notice-icon: var(--f-ico-error);
}
:is(.woocommerce-info, .woocommerce-error, .woocommerce-message, .woocommerce-thankyou-order-received, .f-notice, .fb2b-hint) {
  --background-color: var(--f-white);
  position: relative;
  gap: 4px 14px; min-height: 0; max-width: none;
  padding: 12px 16px 12px 46px; margin: 0 0 var(--f-space-4);
  background: linear-gradient(rgba(var(--f-notice-rgb), 0.06), rgba(var(--f-notice-rgb), 0.06)) var(--f-white);
  border: 1px solid rgba(var(--f-notice-rgb), 0.22); border-radius: var(--f-notice-radius);
  box-shadow: none;
  font-size: var(--f-text-sm); line-height: 1.5; color: var(--f-petrol);
  list-style: none; overflow-wrap: break-word;
}
:is(.woocommerce-info, .woocommerce-error, .woocommerce-message, .woocommerce-thankyou-order-received, .f-notice, .fb2b-hint):has(+ :is(.woocommerce-info, .woocommerce-error, .woocommerce-message, .woocommerce-thankyou-order-received, .f-notice, .fb2b-hint)) { margin-bottom: var(--f-notice-gap); }
:is(.woocommerce-info, .woocommerce-error, .woocommerce-message, .woocommerce-thankyou-order-received, .f-notice, .fb2b-hint)::before, .f-toast::before {
  content: "";
  width: var(--f-notice-icon-size); height: var(--f-notice-icon-size); opacity: 1;
  background: var(--f-notice);
  -webkit-mask: var(--f-notice-icon) center / contain no-repeat;
          mask: var(--f-notice-icon) center / contain no-repeat;
}
:is(.woocommerce-info, .woocommerce-error, .woocommerce-message, .woocommerce-thankyou-order-received, .f-notice, .fb2b-hint)::before { position: absolute; top: 12px; inset-inline-start: 16px; }
:is(.woocommerce-info, .woocommerce-error, .woocommerce-message) a:not(.button) {
  color: inherit; text-decoration: underline; text-decoration-color: var(--f-taupe); text-decoration-thickness: 1px; text-underline-offset: 3px;
}
:is(.woocommerce-info, .woocommerce-error, .woocommerce-message) a:not(.button):hover { text-decoration-color: var(--f-petrol); }
.woocommerce ul.woocommerce-error, ul.woocommerce-error { align-items: flex-start; }
.woocommerce-error li { width: 100%; max-width: none; margin: 0 0 2px; }
.woocommerce-error li:last-child { margin-bottom: 0; }
/* Aktion in der Meldung als Textbutton */
:is(.woocommerce-info, .woocommerce-error, .woocommerce-message) :is(.button, .showlogin, .restore-item) {
  --theme-button-min-height: 0; --theme-button-padding: 0 0 3px; --theme-button-font-size: 0.8125rem;
  --theme-button-background-initial-color: transparent; --theme-button-background-hover-color: transparent;
  --theme-button-text-initial-color: var(--f-petrol); --theme-button-text-hover-color: var(--f-petrol);
  --theme-button-border: 0; --theme-button-border-hover-color: transparent;
  align-self: center; flex: none;
  border-radius: 0; box-shadow: inset 0 -1px 0 var(--f-taupe);
  transform: none;
}
:is(.woocommerce-info, .woocommerce-error, .woocommerce-message) :is(.button, .showlogin, .restore-item):hover { box-shadow: inset 0 -1px 0 var(--f-petrol); }

/* -------------------------------------------------------------------------
   5.8 WPForms (D6.5 Paket 3). Das Plugin laedt sein klassisches Stylesheet (wpforms-full) mit
   eigenen Feld- und Buttonformen. :not(#_) hebt diese Regeln darueber; Markup, Validierung,
   hCaptcha und Versand bleiben unberuehrt. Beschriftungen stehen ueber dem Feld (kein .form-row).
   ------------------------------------------------------------------------- */
div.wpforms-container-full .wpforms-form :is(input:not([type="checkbox"], [type="radio"], [type="submit"], [type="hidden"], [type="file"], [type="range"]), select, textarea):not(#_) {
  width: 100%; height: var(--f-field-h); padding: 0 16px;
  font-family: var(--f-font-text); font-size: var(--f-text-base); line-height: 1.3; color: var(--f-petrol);
  background-color: var(--f-white);
  border: 1px solid var(--f-line-strong); border-radius: var(--f-radius-field); box-shadow: none;
  transition: border-color var(--f-transition), box-shadow var(--f-transition);
}
/* :not(#_) doppelt: die Feldregel darueber wiegt durch ihre Attribut-Selektoren schwerer und setzte sonst padding 0 16px */
div.wpforms-container-full .wpforms-form textarea:not(#_):not(#_) { height: 168px; min-height: 128px; padding: 14px 16px; line-height: 1.5; }
div.wpforms-container-full .wpforms-form select:not(#_) {
  padding-right: 46px;
  background: var(--f-white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231B2A32' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 18px;
}
div.wpforms-container-full .wpforms-form :is(input:not([type="checkbox"], [type="radio"], [type="submit"], [type="hidden"], [type="file"], [type="range"]), select, textarea):not(#_):hover { border-color: var(--f-taupe); }
div.wpforms-container-full .wpforms-form :is(input:not([type="checkbox"], [type="radio"], [type="submit"], [type="hidden"], [type="file"], [type="range"]), select, textarea):not(#_):focus {
  outline: none; border-color: var(--f-petrol); box-shadow: var(--f-shadow-focus);
}
div.wpforms-container-full .wpforms-form :is(input, select, textarea):is(.wpforms-error, .user-invalid):not(#_) { border-color: var(--f-error); }
div.wpforms-container-full .wpforms-form :is(input, select, textarea):is(.wpforms-error, .user-invalid):not(#_):focus { box-shadow: var(--f-shadow-focus-error); }
div.wpforms-container-full .wpforms-form input[type="number"] { -moz-appearance: textfield; appearance: textfield; }
div.wpforms-container-full .wpforms-form input[type="number"]::-webkit-outer-spin-button,
div.wpforms-container-full .wpforms-form input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
div.wpforms-container-full .wpforms-form .wpforms-field-label:not(.wpforms-label-hide, #_) {
  margin: 0 0 var(--f-space-2);
  font-size: var(--f-text-xs); font-weight: 600; line-height: 1.3;
  letter-spacing: var(--f-tracking-caps); text-transform: uppercase; color: var(--f-taupe-deep);
}
div.wpforms-container-full .wpforms-form .wpforms-required-label:not(#_) { color: var(--f-taupe-deep); font-weight: 600; }
div.wpforms-container-full .wpforms-form :is(.wpforms-field-sublabel:not(.wpforms-sublabel-hide), .wpforms-field-description, .wpforms-field-label-inline):not(#_) {
  font-size: 0.8125rem; font-weight: 400; font-style: normal; line-height: 1.45;
  letter-spacing: 0; text-transform: none; color: var(--f-taupe-deep);
}
div.wpforms-container-full .wpforms-form .wpforms-field-label-inline:not(#_) { font-size: 0.9375rem; color: var(--f-petrol); }
div.wpforms-container-full .wpforms-form label.wpforms-error:not(#_) {
  margin: var(--f-space-2) 0 0;
  font-size: 0.8125rem; font-weight: 500; line-height: 1.45;
  letter-spacing: 0; text-transform: none; color: var(--f-error);
}
div.wpforms-container-full .wpforms-form :is(.wpforms-error-container, noscript.wpforms-error-noscript):not(#_) { font-size: var(--f-text-sm); font-weight: 500; color: var(--f-error); }
div.wpforms-container-full .wpforms-form .wpforms-submit-container:not(#_) { padding-top: var(--f-space-3); }
div.wpforms-container-full .wpforms-form :is(button[type="submit"], .wpforms-page-button):not(#_) {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: var(--f-btn-h); padding: 0 28px;
  font-family: var(--f-font-text); font-size: 0.8125rem; font-weight: 600; line-height: 1.15;
  letter-spacing: var(--f-tracking-caps); text-transform: uppercase;
  color: var(--f-ivory); background: var(--f-petrol);
  border: 0; border-radius: var(--f-radius-btn); cursor: pointer;
  transition: background-color var(--f-transition), opacity var(--f-transition);
}
div.wpforms-container-full .wpforms-form :is(button[type="submit"], .wpforms-page-button):not(#_):is(:hover, :focus) { background: var(--f-petrol-hover); border: 0; color: var(--f-ivory); }
div.wpforms-container-full .wpforms-form :is(button[type="submit"], .wpforms-page-button):not(#_):active { background: var(--f-petrol-active); }
div.wpforms-container-full .wpforms-form :is(button[type="submit"], .wpforms-page-button):not(#_):focus-visible { outline: 2px solid var(--f-petrol); outline-offset: 3px; }
div.wpforms-container-full .wpforms-form :is(button[type="submit"], .wpforms-page-button):not(#_):disabled { background: var(--f-petrol); border: 0; opacity: 0.4; cursor: not-allowed; }
.wpforms-confirmation-container-full:not(#_) {
  padding: 12px 16px;
  background: linear-gradient(rgba(63, 107, 79, 0.06), rgba(63, 107, 79, 0.06)) var(--f-white);
  border: 1px solid rgba(63, 107, 79, 0.22); border-radius: var(--f-notice-radius);
  box-shadow: none;
  font-size: var(--f-text-sm); line-height: 1.5; color: var(--f-petrol);
}
.wpforms-confirmation-container-full p:last-child { margin-bottom: 0; }
@media (max-width: 689px) {
  div.wpforms-container-full .wpforms-form :is(button[type="submit"], .wpforms-page-button):not(#_) { width: 100%; }
}

/* 5.8.1 WPForms mit den Bausteinen aus 5.2 (16.11.2026, Vorgabe des Inhabers: Formulare des Plugins vollstaendig an die
   eigenen Bausteine anpassen). Beschriftung im Feld wie bei Konto und Kasse: ein Rahmen (60 px) ueber zwei
   Rasterzeilen, oben die Beschriftung, unten das Feld; Felder ohne Pflicht tragen "(optional)"; Abstand 20 px;
   Fehlertext mit Symbol wie .f-help-error. Greift bei Feldern mit sichtbarer Beschriftung direkt vor dem Feld und
   bei Namensfeldern mit sichtbaren Unterbeschriftungen (Vorname, Nachname). Ohne :has() bleibt die Beschriftung
   ueber dem Feld. Markup, Validierung, hCaptcha und Versand des Plugins bleiben unberuehrt. */
div.wpforms-container-full .wpforms-form .wpforms-field:not(#_) { padding: 0 0 var(--f-space-5); }
div.wpforms-container-full .wpforms-form .wpforms-recaptcha-container:not(#_) { margin: 0 0 var(--f-space-5); padding: 0; }
div.wpforms-container-full .wpforms-form .wpforms-submit-container:not(#_) { padding-top: 0; }
@supports selector(:has(a)) {
  div.wpforms-container-full .wpforms-form :is(.wpforms-field:has(> .wpforms-field-label:not(.wpforms-label-hide) + :is(input, textarea, select)), .wpforms-field-row-block:has(> input ~ .wpforms-field-sublabel:not(.wpforms-sublabel-hide))):not(#_) {
    display: grid; grid-template-columns: minmax(0, 1fr); align-content: start;
    position: relative;
  }
  div.wpforms-container-full .wpforms-form :is(.wpforms-field:has(> .wpforms-field-label:not(.wpforms-label-hide) + :is(input, textarea, select)), .wpforms-field-row-block:has(> input ~ .wpforms-field-sublabel:not(.wpforms-sublabel-hide))):not(#_)::before {
    content: ""; display: block; grid-area: 1 / 1 / 3 / 2;
    min-height: var(--f-field-h-labeled);
    border: 1px solid var(--f-line-strong);
    border-radius: var(--f-radius-field);
    background: var(--f-white);
    pointer-events: none;
    transition: border-color var(--f-transition), box-shadow var(--f-transition);
  }
  div.wpforms-container-full .wpforms-form :is(.wpforms-field:has(> .wpforms-field-label:not(.wpforms-label-hide) + :is(input, textarea, select)), .wpforms-field-row-block:has(> input ~ .wpforms-field-sublabel:not(.wpforms-sublabel-hide))):not(#_)::after { display: none; }
  div.wpforms-container-full .wpforms-form :is(.wpforms-field:has(> .wpforms-field-label:not(.wpforms-label-hide) + :is(input, textarea, select)) > .wpforms-field-label, .wpforms-field-row-block:has(> input ~ .wpforms-field-sublabel:not(.wpforms-sublabel-hide)) > .wpforms-field-sublabel):not(#_):not(#_) {
    grid-area: 1 / 1; z-index: 1; display: block;
    margin: 0; padding: 10px 17px 0;
    font-family: var(--f-font-text); font-size: 0.6875rem; font-weight: 600; font-style: normal; line-height: 1.3;
    letter-spacing: var(--f-tracking-caps); text-transform: uppercase; color: var(--f-taupe-deep);
    cursor: text;
  }
  div.wpforms-container-full .wpforms-form :is(.wpforms-field:has(> .wpforms-field-label:not(.wpforms-label-hide) + :is(input, textarea, select)), .wpforms-field-row-block:has(> input ~ .wpforms-field-sublabel:not(.wpforms-sublabel-hide))) > :is(input, textarea, select):not(#_):not(#_) {
    grid-area: 2 / 1; z-index: 1; display: block;
    width: calc(100% - 2px); max-width: none; height: 35px; min-height: 0;
    margin: 0 1px 1px; padding: 0 16px 6px;
    border: 0; border-radius: 0 0 11px 11px;
    background-color: transparent; box-shadow: none; outline: none;
    line-height: 1.3;
  }
  div.wpforms-container-full .wpforms-form .wpforms-field:has(> .wpforms-field-label:not(.wpforms-label-hide) + textarea) > textarea:not(#_):not(#_):not(#_) { height: 148px; min-height: 96px; padding: 4px 16px 12px; line-height: 1.5; resize: vertical; }
  div.wpforms-container-full .wpforms-form :is(.wpforms-field, .wpforms-field-row-block) > input:-webkit-autofill { -webkit-box-shadow: 0 0 0 100px var(--f-white) inset; -webkit-text-fill-color: var(--f-petrol); }
  /* Pflicht und optional an der Beschriftung */
  div.wpforms-container-full .wpforms-form .wpforms-field:has(> .wpforms-field-label + :is(input, textarea, select):not([required])) > .wpforms-field-label:not(.wpforms-label-hide)::after { content: " (optional)"; font-weight: 500; }
  div.wpforms-container-full .wpforms-form .wpforms-field-row-block:has(> input[required]) > .wpforms-field-sublabel:not(.wpforms-sublabel-hide)::after { content: " *"; }
  /* Zustaende am Rahmen */
  div.wpforms-container-full .wpforms-form :is(.wpforms-field:has(> .wpforms-field-label:not(.wpforms-label-hide) + :is(input, textarea, select)), .wpforms-field-row-block:has(> input ~ .wpforms-field-sublabel:not(.wpforms-sublabel-hide))):not(#_):hover::before { border-color: var(--f-taupe); }
  div.wpforms-container-full .wpforms-form :is(.wpforms-field:has(> .wpforms-field-label:not(.wpforms-label-hide) + :is(input, textarea, select)), .wpforms-field-row-block:has(> input ~ .wpforms-field-sublabel:not(.wpforms-sublabel-hide))):not(#_):focus-within::before { border-color: var(--f-petrol); box-shadow: var(--f-shadow-focus); }
  div.wpforms-container-full .wpforms-form :is(.wpforms-field:has(> .wpforms-field-label:not(.wpforms-label-hide) + :is(input, textarea, select)), .wpforms-field-row-block:has(> input ~ .wpforms-field-sublabel:not(.wpforms-sublabel-hide))):not(#_):has(> :is(input, textarea, select):is(.wpforms-error, .user-invalid))::before { border-color: var(--f-error); }
  div.wpforms-container-full .wpforms-form :is(.wpforms-field:has(> .wpforms-field-label:not(.wpforms-label-hide) + :is(input, textarea, select)), .wpforms-field-row-block:has(> input ~ .wpforms-field-sublabel:not(.wpforms-sublabel-hide))):not(#_):has(> :is(input, textarea, select):is(.wpforms-error, .user-invalid)):focus-within::before { box-shadow: var(--f-shadow-focus-error); }
  div.wpforms-container-full .wpforms-form :is(.wpforms-field, .wpforms-field-row-block) > :is(label, em).wpforms-error:not(#_):not(#_) { grid-area: 3 / 1; }
}
/* Fehlertext am Feld mit Symbol (wie .f-help-error) */
div.wpforms-container-full .wpforms-form :is(label, em).wpforms-error:not(#_) {
  display: flex; align-items: flex-start; gap: 7px; margin: var(--f-space-2) 0 0; padding: 0;
  font-family: var(--f-font-text); font-size: 0.8125rem; font-weight: 500; font-style: normal; line-height: 1.45;
  letter-spacing: 0; text-transform: none; color: var(--f-error); cursor: default;
}
div.wpforms-container-full .wpforms-form :is(label, em).wpforms-error:not(#_)::before {
  content: ""; flex: none; width: 16px; height: 16px; margin-top: 1px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7.5v5.5M12 16.3v.2'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7.5v5.5M12 16.3v.2'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* -------------------------------------------------------------------------
   5.9 DHL und German Market (D6.5 Paket 3). Adresstyp, Abgabeort und Postnummer in der Kasse
   laufen ueber 5.2/5.4. Hier: Link und Dialog des Filialfinders sowie das Widerrufsformular.
   ------------------------------------------------------------------------- */
a#dhl_parcel_finder:not(#_) {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: var(--f-btn-h-md); padding: 0 16px;
  font-size: 0.8125rem; font-weight: 600; letter-spacing: var(--f-tracking-caps); text-transform: uppercase;
  color: var(--f-petrol); background: transparent; text-decoration: none;
  border: 1px solid var(--f-petrol); border-radius: var(--f-radius-btn); box-shadow: none;
  transition: background-color var(--f-transition);
}
a#dhl_parcel_finder:not(#_):hover { background: var(--f-ivory-deep); border-color: var(--f-petrol); box-shadow: none; }
a#dhl_parcel_finder:not(#_) img { width: 28px; height: auto; }
#dhl_parcel_finder_form:not(#_) { border-radius: var(--f-radius-panel); }
#dhl_parcel_finder_form form { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: var(--f-space-4); }
#dhl_parcel_finder_form form .form-field:not(#_) { float: none; flex: 1 1 160px; width: auto; margin: 0; }
#dhl_parcel_finder_form form .form-field.large:not(#_) { flex: 2 1 240px; }
#dhl_parcel_finder_form form :is(.packstation, .parcelshop, #dhl_seach_button):not(#_) { flex: 0 0 auto; }
#dhl_parcel_finder_form form :is(.packstation, .parcelshop):not(#_) { display: inline-flex; align-items: center; }
#dhl_parcel_finder_form form .form-row label:not(#_) { margin: 0; }
#dhl_parcel_finder_form form .form-row span.icon:not(#_) { width: 32px; height: 32px; margin: 0 0 0 8px; }
#dhl_parcel_finder_form form > .clear { display: none; }
#dhl_parcel_finder_form .parcel_subtitle:not(#_) { font-size: var(--f-text-xs); font-weight: 600; letter-spacing: var(--f-tracking-caps); color: var(--f-taupe-deep); }

/* Widerrufsformular (German Market): zwei Spalten als Raster statt Floats, mobil einspaltig */
.german-market-withdrawal-form-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--f-space-4); max-width: 760px; }
.german-market-withdrawal-form-fields > .form-row:not(#_) { float: none; width: auto; }
.german-market-withdrawal-form-fields > :is(.form-row-full, .form-row-submit, .clear):not(#_) { grid-column: 1 / -1; }
.german-market-withdrawal-form-fields .form-row-submit > .form-row { margin-bottom: var(--f-space-4); font-size: var(--f-text-sm); color: var(--f-taupe-deep); }
@media (max-width: 689px) {
  .german-market-withdrawal-form-fields { grid-template-columns: minmax(0, 1fr); }
  .german-market-withdrawal-form-fields .form-row-submit .button { width: 100%; }
}

/* =========================================================================
   6. Produktkarten – Atelier-Karte (D7, Referenz "Produktkarte")
   DOM je Karte (Blocksy): figure – h2.woocommerce-loop-product__title – p.f-card-meta
   – div.f-price-info – span.price – div.ct-woo-card-actions.
   Karte = warmweisse Flaeche mit weicher Rundung und weitem Schatten; Bild mit schmalem Rand,
   darunter Titel (Playfair), Preis, Grundpreis, MwSt.-/Versandhinweis und Kaufbutton in voller Breite.
   Reihen per CSS-Grid, Ausrichtung ueber die Spalten per Subgrid (Fallback: Fluss je Karte).
   ========================================================================= */
:root {
  --f-card-gap: 24px;
  --f-card-row-gap: var(--f-space-6);
  --f-card-rim: 6px;             /* Rand zwischen Kartenkante und Bild */
  --f-card-pad: 16px;            /* Innenabstand des Textbereichs (zusaetzlich zum Rand) */
  /* D7: grosse Flaechen (Karten, Warenkorb, Kasse, Konto) */
  --f-radius-surface: 24px;
  --f-surface: #FDFBF8;
  --f-shadow-surface: 0 1px 2px rgba(111, 97, 85, 0.05), 0 18px 48px rgba(111, 97, 85, 0.10);
  --f-radius-card: var(--f-radius-surface);
  --f-shadow-card: var(--f-shadow-surface);
  --f-shadow-card-hover: 0 2px 4px rgba(111, 97, 85, 0.06), 0 26px 60px rgba(111, 97, 85, 0.16);
}
[data-products] {
  row-gap: 0 !important;
  column-gap: var(--f-card-gap) !important;
}
/* Spalten im Katalog: 4 auf breiten Fenstern, dann 3, 2, 1 (Produktseite "Passt dazu" bleibt bei Blocksys Wert) */
body:not(.single-product) [data-products] { --shop-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1199.98px) { body:not(.single-product) [data-products] { --shop-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 859.98px) { body:not(.single-product) [data-products] { --shop-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 519.98px) { body:not(.single-product) [data-products] { --shop-columns: minmax(0, 1fr); } }
[data-products] .product {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto auto auto auto auto auto;
  grid-row: span 6;
  align-content: start;
  margin: 0 0 var(--f-card-row-gap);
  padding: var(--f-card-rim) var(--f-card-rim) calc(var(--f-card-pad) + 2px);
  background: var(--f-surface);
  border: 1px solid var(--f-white);
  border-radius: var(--f-radius-card);
  box-shadow: var(--f-shadow-card);
  transition: box-shadow 250ms ease;
  --card-border: none;
  --card-background-color: transparent;
}
@supports (grid-template-rows: subgrid) {
  [data-products] .product { grid-template-rows: subgrid; }
}
@media (hover: hover) {
  [data-products] .product:hover { box-shadow: var(--f-shadow-card-hover); }
}
[data-products] .product > figure { grid-row: 1; margin: 0; }
[data-products] .product > .woocommerce-loop-product__title { grid-row: 2; }
[data-products] .product > .f-card-meta { grid-row: 3; }
[data-products] .product > .price { grid-row: 4; align-self: end; }
[data-products] .product > .f-price-info { grid-row: 5; }
[data-products] .product > .ct-woo-card-actions { grid-row: 6; }
[data-products] .product > .entry-meta,
[data-products] .product > .ct-woo-card-stock,
[data-products] .product figure .onsale,
[data-products] .product figure .out-of-stock-badge { display: none; }

/* Bildflaeche: folgt oben der Kartenrundung, unten nur leicht gerundet */
[data-products] .product figure .ct-media-container {
  display: block;
  overflow: hidden;
  border: 0;
  border-radius: calc(var(--f-radius-card) - var(--f-card-rim)) calc(var(--f-radius-card) - var(--f-card-rim)) 6px 6px;
  background: var(--f-ivory-deep);
  aspect-ratio: 1 / 1;
}
[data-products] .product figure img {
  display: block;
  width: 100%; height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(0.2, 0.6, 0.2, 1), opacity 300ms ease;
}
@media (hover: hover) {
  [data-products] .product:hover figure img { transform: scale(1.03); }
  [data-products] .product.outofstock:hover figure img { transform: none; }
}
[data-products] .product.outofstock figure img { opacity: 0.6; }

/* Titel: Textschrift (Inhaber, D7 Runde 2), vollstaendig, kein Clamp */
[data-products] .product .woocommerce-loop-product__title { margin: var(--f-space-5) var(--f-card-pad) 0; padding: 0; }
[data-products] .product .woocommerce-loop-product__title,
[data-products] .product .woocommerce-loop-product__title a {
  font-family: var(--f-font-text);
  font-weight: var(--f-name-weight);
  font-size: var(--f-name-size);
  line-height: var(--f-name-lh);
  letter-spacing: 0;
  color: var(--f-petrol);
  text-decoration: none;
  overflow-wrap: anywhere;
}
[data-products] .product .woocommerce-loop-product__title a:hover { color: var(--f-taupe-deep); }

/* Meta-Zeile: Groesse · Kategorie · Sale/Ausverkauft */
[data-products] .product .f-card-meta {
  margin: 6px var(--f-card-pad) 0;
  font-size: 0.8125rem;
  line-height: 1.5;
  letter-spacing: 0.01em;
  color: var(--f-taupe-deep);
}
[data-products] .product .f-card-meta .f-meta-bit { white-space: nowrap; }
[data-products] .product .f-card-meta .f-dot { margin: 0 0.45em; opacity: 0.6; }
[data-products] .product .f-card-meta .f-card-meta-sale,
[data-products] .product .f-card-meta .f-card-meta-stock { color: var(--f-petrol); font-weight: 600; }

/* Preis, darunter Grundpreis und Hinweis */
[data-products] .product .price {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 0.5em;
  margin: var(--f-space-3) var(--f-card-pad) 0;
  font-family: var(--f-font-text);
  font-weight: 600;
  font-size: var(--f-price-size);
  line-height: 1.25;
  font-variant-numeric: tabular-nums;
  color: var(--f-petrol);
}
[data-products] .product .price ins { order: 1; text-decoration: none; }
[data-products] .product .price del {
  order: 2; font-family: var(--f-font-text); font-size: var(--f-text-sm); font-weight: 400;
  color: var(--f-taupe-deep); text-decoration-color: var(--f-taupe);
}
[data-products] .product .price small:empty { display: none; }
/* Im DOM steht der Hinweis vor dem Grundpreis; die Referenz zeigt den Grundpreis zuerst */
[data-products] .product .f-price-info { display: flex; flex-direction: column-reverse; gap: 2px; margin: 6px var(--f-card-pad) 0; }
[data-products] .product .f-price-ppu :is(span, bdi) { font-size: inherit; color: inherit; }
[data-products] .product .f-price-note,
[data-products] .product .f-price-ppu {
  margin: 0;
  font-size: 0.8125rem;   /* 13px */
  line-height: 1.5;
  color: var(--f-taupe-deep);
}
[data-products] .product .f-price-note a {
  color: var(--f-petrol);
  text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--f-taupe);
}
[data-products] .product .f-price-note a:hover { text-decoration-color: var(--f-petrol); }

/* Kaufbutton in voller Breite, immer sichtbar: feiner Petrol-Rahmen, fuellt sich beim Hover, Warenkorb-Icon */
[data-products] .product .ct-woo-card-actions {
  display: flex; align-items: flex-end;
  margin: var(--f-space-4) var(--f-card-pad) 0;
}
[data-products] .product .ct-woo-card-actions .button,
[data-products] .product .ct-woo-card-actions .ct-button,
[data-products] .product .ct-woo-card-actions a.ct-cart-actions-link {
  --theme-button-background-initial-color: transparent;
  --theme-button-text-initial-color: var(--f-petrol);
  --theme-button-background-hover-color: var(--f-petrol);
  --theme-button-text-hover-color: var(--f-ivory);
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%;
  min-height: 48px; padding: 0 12px;
  border: 1px solid var(--f-petrol); border-radius: var(--f-radius-btn);
  background: transparent;
  color: var(--f-petrol);
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: var(--f-tracking-caps); text-transform: uppercase;
  line-height: 1.15; white-space: nowrap;
  transition: background-color var(--f-transition), border-color var(--f-transition), color var(--f-transition);
}
[data-products] .product .ct-woo-card-actions .button:hover { background: var(--f-petrol); border-color: var(--f-petrol); color: var(--f-ivory); }
[data-products] .product .ct-woo-card-actions .button:active { background: var(--f-petrol-active); border-color: var(--f-petrol-active); color: var(--f-ivory); }
[data-products] .product .ct-woo-card-actions .button:focus-visible { outline: 2px solid var(--f-petrol); outline-offset: 3px; }
[data-products] .product .ct-woo-card-actions .button .f-cart-icon { flex: 0 0 auto; width: 18px; height: 18px; }
[data-products] .product .ct-woo-card-actions .button.loading { opacity: 0.6; }
[data-products] .product .ct-woo-card-actions .added_to_cart { display: none; }
/* Produktseite: nach dem Hinzufuegen kein zweiter Button "Warenkorb anzeigen"; das meldet der Toast (D7.3) */
.f-notices .single-product .entry-summary .added_to_cart:not(#_) { display: none; }   /* nur wenn notices.js laeuft */
/* Ausverkauft: "Details ansehen" ohne Icon, Rahmen zurueckgenommen */
[data-products] .product.outofstock .ct-woo-card-actions .button { border-color: var(--f-line-strong); }
[data-products] .product.outofstock .ct-woo-card-actions .button .f-cart-icon { display: none; }

/* Badges (nur noch Produktseite, D6) */
.ct-woo-badge-sale, .ct-woo-badge-stock, .onsale, .out-of-stock-badge {
  background: var(--f-petrol) !important;
  color: var(--f-ivory) !important;
  border-radius: var(--f-radius-sm) !important;
  font-size: 10px !important;
  letter-spacing: var(--f-tracking-caps);
  text-transform: uppercase;
  font-weight: 600;
  padding: 5px 8px !important;
}

/* Schmale Fenster: zwei Spalten mit kompakter Karte, darunter eine Spalte in voller Groesse */
@media (min-width: 520px) and (max-width: 689.98px) {
  :root { --f-card-gap: 14px; --f-card-row-gap: var(--f-space-4); --f-card-rim: 4px; --f-card-pad: 10px; --f-radius-card: 18px; }
  [data-products] .product .woocommerce-loop-product__title,
  [data-products] .product .woocommerce-loop-product__title a { font-size: 0.9375rem; }
  [data-products] .product .price { font-size: 1.125rem; }
  [data-products] .product .ct-woo-card-actions .button { gap: 6px; font-size: 0.6875rem; letter-spacing: 0.06em; }
}
@media (max-width: 519.98px) {
  :root { --f-card-row-gap: var(--f-space-5); --f-card-pad: 18px; }
}

/* =========================================================================
   7. Flaechen / Abschnitte (fuer Patterns ab D8)
   ========================================================================= */
.f-section { padding-block: var(--f-section); }
.f-surface { background: var(--f-ivory-deep); }
.f-surface-white { background: var(--f-white); border: var(--f-border); }

/* =========================================================================
   8. Styleguide-Seite (nur Darstellung der Tokens; kann spaeter entfallen)
   ========================================================================= */
.f-sg { display: grid; gap: var(--f-space-16); }
.f-sg-block { display: grid; gap: var(--f-space-4); }
.f-sg-swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: var(--f-space-4); }
.f-sg-swatch { border: var(--f-border); border-radius: var(--f-radius-sm); overflow: hidden; background: var(--f-white); }
.f-sg-swatch > span:first-child { display: block; height: 80px; }
.f-sg-swatch > span + span { display: block; padding: var(--f-space-3); font-size: var(--f-text-xs); color: var(--f-taupe-deep); line-height: 1.5; }
.f-sg-row { display: flex; flex-wrap: wrap; gap: var(--f-space-4); align-items: center; }
.f-sg-form { max-width: 480px; }
.f-sg-form .form-row { margin-bottom: var(--f-space-5); }
.f-sg-type-scale > * { margin: 0 0 var(--f-space-4); }
.f-sg-cards [data-products] { margin: 0; }
.f-sg-meta { font-size: var(--f-text-xs); color: var(--f-taupe-deep); font-variant-numeric: tabular-nums; }

/* =========================================================================
   10. Header "Refined Commerce" (D4.2; Struktur in theme_mods header_placements, Optik hier)
   Desktop: Top-Row Vorteilsleiste (ruhig, Elfenbein-tief) + Middle-Row Logo | Menue | Suche Konto Merkzettel Warenkorb.
   Mobil: Menue + Suche | Logo | Merkzettel + Warenkorb (Warenkorbbetrag per Theme-Mod ausgeblendet, Zaehler nur > 0).
   Sticky: Blocksy-Companion (nur Middle-Row, Effekt shrink 86/88 %), Schatten im Sticky-Zustand.
   Blocksy setzt Zeilen-Hintergruende mit Praefix [data-header*="type-1"] auf [data-row] > div; gleiche Spezifitaet hier.
   ========================================================================= */
/* Vorteilsleiste (D4.2a, inc/usp-bar.php, Shortcode [facilite_usp] im Blocksy-Text-Element):
   Dunkelpetrol, Elfenbein-Text, drei gleich breite Bereiche mit Phosphor-Icon und feinen Trennlinien.
   Nicht sticky (Companion sticky_rows = middle). Mobil Karussell, siehe Media-Block unten. */
[data-header*="type-1"] .ct-header [data-row="top"],
[data-header*="type-1"] .ct-header [data-row="top"] > div {
  background-color: var(--f-petrol);
  color: var(--f-ivory);
}
[data-header*="type-1"] .ct-header [data-row="top"] { border-bottom: 0; }
.ct-header [data-row="top"] [data-id="text"] {
  --theme-text-color: var(--f-ivory);
  --margin: 0;
  width: 100%;
  color: var(--f-ivory);
  font-family: var(--f-font-text);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1;
  text-transform: none;
}
.ct-header [data-row="top"] [data-id="text"] > * { width: 100%; }
.f-usp { display: flex; align-items: center; justify-content: center; width: 100%; }
.f-usp-list { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; max-width: 960px; margin: 0; padding: 0; list-style: none; }
.f-usp-item { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 36px; padding: 0 12px; margin: 0; white-space: nowrap; }
.f-usp-item + .f-usp-item { border-left: 1px solid rgba(248, 245, 240, 0.18); }
.f-usp-item .f-icon { flex: 0 0 auto; width: 16px; height: 16px; fill: currentColor; opacity: 0.85; }
.f-usp-nav { display: none; }

/* Hauptzeile */
[data-header*="type-1"] .ct-header [data-row="middle"],
[data-header*="type-1"] .ct-header [data-row="middle"] > div { background-color: var(--f-ivory); }
[data-header*="type-1"] .ct-header [data-row="middle"] { border-bottom: var(--f-border); transition: box-shadow 200ms ease; }
[data-header*="type-1"] .ct-header [data-row="middle"] > div { border-bottom: 0; }
/* Sticky-Zustand: Companion setzt data-sticky="yes…" am Container, sobald der Header haftet.
   Hintergrund im Sticky-Zustand kommt aus dem Theme-Mod stickyHeaderRowBackground (Elfenbein, Blocksy-Standard waere Weiss). */
[data-header*="type-1"] .ct-header [data-sticky*="yes"] [data-row="middle"] { box-shadow: 0 6px 18px rgba(27, 42, 50, 0.06); }
.ct-header [data-id="logo"] .site-title-container { display: none; }
/* Logo als Inline-SVG: Hoehe kommt von Blocksy (--logo-max-height 44/36/30 px, Sticky-Shrink ueber --logo-shrink-height) */
.ct-header [data-id="logo"] .site-logo-container svg { display: block; height: inherit; width: auto; color: var(--f-petrol); fill: currentColor; }

/* Navigation: Manrope Versalien 13 px (Inhaber 08.11. 17:30; D4.2 hatte normale Schreibweise), Unterstrich petrol (Hover animiert, aktiver Punkt dauerhaft) */
.ct-header [data-id="menu"] { --menu-items-spacing: 34px; }
.ct-header [data-id="menu"] .menu > li > a {
  font-family: var(--f-font-text);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: var(--f-tracking-caps);
  text-transform: uppercase;
  color: var(--f-petrol);
  --theme-link-initial-color: var(--f-petrol);
  --theme-link-hover-color: var(--f-petrol);
  --theme-link-active-color: var(--f-petrol);
}
/* Blocksy-Markup: <li><a class="ct-menu-link">Text</a></li>; der Link fuellt die Zeilenhoehe, daher sitzt der Strich
   relativ zur Textmitte (50 % + 0.85em ~ 6 px unter der Grundlinie) und innerhalb des Link-Paddings (Items-Spacing / 2). */
/* Klickflaeche nur um den Text (Inhaber 08.11.): Blocksy streckt den Link sonst auf die Zeilenhoehe (88 px) */
.ct-header [data-id="menu"] .menu > li { display: flex; align-items: center; }
.ct-header [data-id="menu"] .menu > li > a.ct-menu-link { position: relative; height: auto; min-height: 0; align-self: center; padding-top: 6px; padding-bottom: 6px; }
.ct-header [data-id="menu"] .menu > li > a.ct-menu-link::after {
  content: ""; position: absolute;
  left: calc(var(--menu-items-spacing, 25px) / 2); right: calc(var(--menu-items-spacing, 25px) / 2);
  top: calc(50% + 0.85em); height: 1px; background: var(--f-petrol);
  opacity: 1; /* Blocksy setzt auf a::after --menu-indicator-opacity 0, sonst bleibt der Strich unsichtbar */
  transform: scaleX(0); transform-origin: left;
  transition: transform 220ms ease;
}
/* Aktiv: der aktuelle Punkt; auf Produktseiten (kein current-menu-item, Produkt kann in zwei Kategorien liegen) der Shop-Punkt */
.ct-header [data-id="menu"] .menu > li > a.ct-menu-link:hover::after,
.ct-header [data-id="menu"] .menu > li > a.ct-menu-link:focus-visible::after,
.ct-header [data-id="menu"] .menu > li.current-menu-item > a.ct-menu-link::after,
.ct-header [data-id="menu"] .menu:not(:has(.current-menu-item)) > li.current_page_parent > a.ct-menu-link::after { transform: scaleX(1); }
.ct-header [data-id="menu"] .sub-menu {
  background: var(--f-white);
  border: var(--f-border);
  box-shadow: var(--f-shadow-md);
  border-radius: var(--f-radius-sm);
}

/* Icon-Elemente: Suche, Konto, Merkzettel (eigenes Element inc/header-items), Warenkorb, Trigger –
   Phosphor Regular 22 px (inc/icons.php), gleiche Box 40 x 40, Farbe Petrol, Hover Taupe */
.ct-header [data-id="search"], .ct-header [data-id="account"], .ct-header [data-id="cart"],
.ct-header [data-id="trigger"], .ct-header [data-id="facilite-wishlist"] {
  --theme-icon-size: 22px;
  --theme-icon-color: var(--f-petrol);
  --theme-icon-hover-color: var(--f-taupe-deep);
  color: var(--f-petrol);
}
.ct-header .f-icon { width: 22px; height: 22px; fill: currentColor; }
.ct-header [data-id="search"].ct-header-search,
.ct-header [data-id="trigger"].ct-header-trigger,
.ct-header [data-id="account"] .ct-account-item,
.ct-header [data-id="cart"] .ct-cart-item,
.ct-header [data-id="facilite-wishlist"].ct-header-wishlist {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; min-height: 40px; padding: 0;
  color: var(--f-petrol);
  transition: color var(--f-transition);
}
.ct-header [data-id="search"].ct-header-search:hover,
.ct-header [data-id="trigger"].ct-header-trigger:hover,
.ct-header [data-id="account"] .ct-account-item:hover,
.ct-header [data-id="cart"] .ct-cart-item:hover,
.ct-header [data-id="facilite-wishlist"].ct-header-wishlist:hover { color: var(--f-taupe-deep); }
.ct-header [data-id="facilite-wishlist"] .ct-icon { width: 22px; height: 22px; fill: currentColor; }
/* Abstand der Elemente: Blocksy setzt margin: var(--margin, 0 10px) per #header-Selektor, also 20 px Luecke (bleibt) */
/* Warenkorbbetrag zurueckhaltend (Desktop/Tablet; mobil per Theme-Mod cart_subtotal_visibility ausgeblendet) */
.ct-header [data-id="cart"] .ct-cart-item .ct-label {
  font-family: var(--f-font-text);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--f-taupe-deep);
  margin-inline-end: 10px;
}
.ct-header [data-id="cart"] .ct-cart-item .ct-label .amount { color: inherit; font-weight: inherit; }
/* Artikelzaehler: Blocksy blendet data-count="0" aus; Form klein und ruhig */
.ct-header [data-id="cart"] .ct-dynamic-count-cart {
  --theme-cart-badge-background: var(--f-petrol);
  --theme-cart-badge-text: var(--f-ivory);
  top: -6px; inset-inline-end: -8px;
  min-width: 16px; height: 16px; padding: 0 4px;
  font-family: var(--f-font-text); font-size: 10px; font-weight: 600; line-height: 1;
  box-shadow: 0 0 0 2px var(--f-ivory);
}
#offcanvas .ct-toggle-close { --theme-icon-size: 20px; }
#offcanvas .ct-toggle-close .f-icon { width: 20px; height: 20px; }
/* Mini-Cart Dropdown */
.ct-header [data-id="cart"] .ct-cart-content { background: var(--f-white); border: var(--f-border); box-shadow: var(--f-shadow-md); border-radius: var(--f-radius-sm); }
/* Konto-Modal / Dropdown */
.ct-account-modal .ct-account-modal-content, [data-id="account"] .ct-header-account-dropdown { background: var(--f-white); border-radius: var(--f-radius-sm); }
.ct-account-modal .ct-account-modal-content { border-radius: var(--f-radius-panel); }

/* Mobil (Blocksy-Mobile-Header < 1000 px): Menue + Suche | Logo | Merkzettel + Warenkorb.
   Klickflaechen 44 x 44, aussen buendig mit dem Container (Icon 22 px -> 11 px Ueberhang kompensiert). */
@media (max-width: 999px) {
  .ct-header [data-device="mobile"] [data-id="search"].ct-header-search,
  .ct-header [data-device="mobile"] [data-id="trigger"].ct-header-trigger,
  .ct-header [data-device="mobile"] [data-id="cart"] .ct-cart-item,
  .ct-header [data-device="mobile"] [data-id="facilite-wishlist"].ct-header-wishlist { min-width: 44px; min-height: 44px; }
  /* Blocksy: #header [data-items] > * { margin: var(--margin, 0 10px) } – ID-Selektor, daher ueber die Variable steuern */
  /* Icons als zwei Gruppen (Menue+Suche, Merkzettel+Warenkorb): Zentren 40 px auseinander (44-px-Boxen ueberlappen 4 px), aussen buendig */
  .ct-header [data-device="mobile"] [data-row="middle"] [data-items] > * { --margin: 0 -2px; }
  .ct-header [data-device="mobile"] [data-column="start"] [data-items] > :first-child { --margin: 0 -2px 0 -11px; }
  .ct-header [data-device="mobile"] [data-column="end"] [data-items] > :last-child { --margin: 0 -11px 0 -2px; }
  .ct-header [data-device="mobile"] [data-id="cart"] .ct-cart-item .ct-label { display: none; }
  /* Vorteilsleiste mobil: Karussell 34 px (Theme-Mod headerRowHeight mobil 34), eine Botschaft, Pfeile 36 px breit */
  .ct-header [data-device="mobile"] [data-row="top"] [data-id="text"] { font-size: 0.75rem; }
  .ct-header [data-device="mobile"] [data-row="top"] > div { padding-inline: 0; }
  .f-usp.is-carousel .f-usp-list { display: block; position: relative; height: 34px; max-width: none; }
  .f-usp.is-carousel .f-usp-item {
    position: absolute; inset: 0; min-height: 34px; border: 0; padding: 0 8px;
    opacity: 0; pointer-events: none; transition: opacity 400ms ease;
  }
  .f-usp.is-carousel .f-usp-item.is-active { opacity: 1; pointer-events: auto; }
  /* Keine Bedienelemente (Inhaber 08.11.): Blaettern nur per Swipe, sonst Autoplay */
  /* Ohne JS: erste Botschaft statisch */
  .f-usp:not(.is-carousel) .f-usp-list { grid-template-columns: 1fr; }
  .f-usp:not(.is-carousel) .f-usp-item:not(:first-child) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .f-usp.is-carousel .f-usp-item { transition: none; }
}

/* Off-Canvas "Refined Navigation" (D4.3, inc/offcanvas.php + assets/js/offcanvas.js).
   Blocksy-Panel bleibt; Breite 100 vw und Schliessknopf aus per Theme-Mod. Das Panel beginnt unter der sichtbaren
   Kopfzeile (--f-offcanvas-top, per JS gemessen), der Trigger wird im offenen Zustand zum X (aria-expanded).
   Blocksy schreibt seine Regeln mit Praefix [data-header*="type-1"], daher gleiche Spezifitaet hier. */
#offcanvas { top: var(--f-offcanvas-top, 0px); }
[data-header*="type-1"] #offcanvas .ct-panel-inner {
  background-color: var(--f-ivory);
  --theme-text-color: var(--f-petrol);
  --theme-icon-color: var(--f-petrol);
  --theme-icon-hover-color: var(--f-taupe-deep);
  --theme-box-shadow: none;
  max-width: 100vw;
  border-top: 1px solid var(--f-sand);
}
[data-header*="type-1"] #offcanvas .ct-panel-content {
  padding-top: var(--f-space-4);
  padding-bottom: calc(var(--f-space-8) + env(safe-area-inset-bottom, 0px));
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
[data-header*="type-1"] [data-id="mobile-menu"] {
  --theme-font-family: var(--f-font-display);
  --theme-font-size: 1.5625rem;
  --theme-font-weight: 400;
  --theme-link-initial-color: var(--f-petrol);
  --theme-link-hover-color: var(--f-taupe-deep);
  --theme-link-active-color: var(--f-petrol);
  --mobile-menu-divider: 1px solid var(--f-sand);
  --items-vertical-spacing: 10px;
}
[data-header*="type-1"] [data-id="mobile-menu"] > ul > li > .ct-menu-link { letter-spacing: var(--f-tracking-display); line-height: 1.2; }
/* Unterpunkte (Shop > Gesichtspflege, Microneedling; Blocksy-Akkordeon): kleiner, eingerueckt, Taupe */
[data-header*="type-1"] [data-id="mobile-menu"] .sub-menu > li > .ct-menu-link {
  --theme-font-size: 1.125rem;
  font-size: 1.125rem;
  padding-left: 20px;
  color: var(--f-taupe-deep);
  --theme-link-initial-color: var(--f-taupe-deep);
}
[data-header*="type-1"] [data-id="mobile-menu"] .sub-menu > li.current-menu-item > .ct-menu-link { color: var(--f-petrol); }
[data-header*="type-1"] [data-id="mobile-menu"] .ct-toggle-dropdown-mobile { --theme-icon-color: var(--f-petrol); color: var(--f-petrol); }
/* aktiver Punkt: feiner Petrol-Strich unter dem Text */
[data-header*="type-1"] [data-id="mobile-menu"] > ul > li.current-menu-item > .ct-menu-link,
[data-header*="type-1"] [data-id="mobile-menu"] > ul > li.current-menu-ancestor > .ct-menu-link {
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 7px; text-decoration-color: var(--f-petrol);
}
/* Konto-Bereich (Hook blocksy:header:offcanvas:mobile:bottom) */
#offcanvas .f-oc-account { width: 100%; margin-top: var(--f-space-8); padding-top: var(--f-space-5); border-top: 1px solid var(--f-sand); }
#offcanvas .f-oc-account-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
#offcanvas .f-oc-account-list a {
  display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 0;
  font-family: var(--f-font-text); font-size: 0.8125rem; font-weight: 500; letter-spacing: var(--f-tracking-caps); text-transform: uppercase;
  color: var(--f-petrol); text-decoration: none;
}
#offcanvas .f-oc-account-list a:hover { color: var(--f-taupe-deep); }
#offcanvas .f-oc-account-list .f-oc-icon { width: 18px; height: 18px; flex: 0 0 auto; fill: currentColor; opacity: 0.85; }
/* Suchfeld oben im Off-Canvas (Kleinkram 09.11., Hook offcanvas:mobile:top in inc/offcanvas.php; das Such-Icon
   "search" ist aus der Off-Canvas-Platzierung entfernt). Blocksy-Suchformular; Gestaltung in Abschnitt 5.5. */
#offcanvas .f-oc-search { width: 100%; margin: 0 0 var(--f-space-6); }
#offcanvas .f-oc-search .ct-search-form { width: 100%; max-width: 480px; }   /* Form des Feldes: Abschnitt 5.5 */
/* Suchmodal: Schliessen-X als Phosphor-Icon (Filter blocksy:search:modal:close:icon) */
#search-modal .ct-toggle-close { --theme-icon-size: 20px; }
#search-modal .ct-toggle-close .f-icon { width: 20px; height: 20px; }
/* Trigger: Hamburger wird im offenen Zustand zum X (zwei Inline-SVGs, Blocksy setzt aria-expanded) */
.ct-header [data-id="trigger"] .f-trigger-close { display: none; }
.ct-header [data-id="trigger"][aria-expanded="true"] .f-trigger-open { display: none; }
.ct-header [data-id="trigger"][aria-expanded="true"] .f-trigger-close { display: block; }
@media (prefers-reduced-motion: reduce) {
  #offcanvas .ct-panel-inner, #offcanvas .ct-panel-content { transition: none !important; animation: none !important; }
}

/* =========================================================================
   11. Footer "Refined Petrol" (D4.1, 08.11.2026). Blocksy Footer-Builder: Middle-Row 4 Spalten
       (Marke 1.4fr | Shop | Service | Konto, Theme-Mod 4_columns_layout) + Bottom-Row (Copyright | Rechtsmenue
       inkl. GM "Vertrag widerrufen"). Marke per Shortcode, Lilie und Widerrufs-Link: inc/footer.php.
       Hintergrund: Marken-Petrol mit flachem Verlauf und zwei weichen Lichtflecken, keine Rundungen.
   ========================================================================= */
.ct-footer {
  --f-lily-w: clamp(260px, 26vw, 440px);
  position: relative; overflow: hidden; isolation: isolate;
  color: var(--f-ivory);
  /* D4.1b: mehrschichtig – Grundverlauf Petrol -> Gruenpetrol -> Tiefpetrol, zwei weiche Lichtflecken, ein sehr flacher Seidenstreifen */
  /* D4.1c: sichtbarer Verlauf – links oben helleres Petrol (#24414B), rechts dunkles Gruenpetrol (#0C1A1E), flacher Seidenstreifen */
  background-color: #15282C;
  background-image:
    linear-gradient(112deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0) 58%, rgba(255, 255, 255, 0.035) 70%, rgba(255, 255, 255, 0) 86%),
    radial-gradient(ellipse 80% 110% at 0% 0%, rgba(70, 104, 116, 0.45), transparent 62%),
    linear-gradient(112deg, #24414B 0%, #1B2A32 40%, #142A2D 72%, #0C1A1E 100%);
}
.ct-footer .f-footer-main { position: relative; } /* Middle-Row + Logos + Lilie; die Rechtszeile liegt ausserhalb */
.ct-footer [data-row], .ct-footer [data-row] > div { background: transparent; }
.ct-footer [data-row] { position: relative; z-index: 1; }
/* Middle-Row: Spalten mit feinen vertikalen Trennlinien (Padding statt Grid-Gap) */
.ct-footer [data-row="middle"] > .ct-container { column-gap: 0; row-gap: 0; padding-top: 44px; padding-bottom: 26px; } /* D4.1d: Logo-Leiste folgt ohne Linie */
.ct-footer [data-row="middle"] [data-column] { position: relative; padding-inline: var(--f-space-6); min-width: 0; } /* 24 + 24 = 48 px Spaltenabstand */
.ct-footer [data-row="middle"] [data-column]:first-child { padding-left: 0; }
.ct-footer [data-row="middle"] [data-column]:last-child { padding-right: 0; }
/* Trennlinie 1 px Elfenbein 12 % mit sanftem Auslauf oben/unten */
.ct-footer [data-row="middle"] [data-column] + [data-column]::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 1px;
  background: linear-gradient(180deg, transparent 0%, rgba(248, 245, 240, 0.12) 18%, rgba(248, 245, 240, 0.12) 82%, transparent 100%);
}
.ct-footer [data-row="middle"] [data-column="widget-area-1"] { padding-right: var(--f-space-16); } /* Marke -> Navigation mehr Luft */
.ct-footer .widget-title, .ct-footer .wp-block-heading {
  font-family: var(--f-font-display);
  font-size: 1.625rem; font-weight: 400; line-height: 1.2;
  letter-spacing: 0; text-transform: none;
  color: var(--f-ivory);
  margin: 0 0 var(--f-space-4);
}
.ct-footer .ct-widget ul { list-style: none; margin: 0; padding: 0; }
.ct-footer .ct-widget ul li { margin: 0; }
.ct-footer a, .ct-footer .ct-widget a, .ct-footer [data-id="menu"] .menu a, .ct-footer [data-id="copyright"] a {
  --theme-link-initial-color: rgba(248, 245, 240, 0.82);
  --theme-link-hover-color: #ffffff;
  color: rgba(248, 245, 240, 0.82);
  text-decoration: none;
  font-size: var(--f-text-sm);
  transition: color 0.2s ease, transform 0.2s ease;
}
.ct-footer .ct-widget ul li a { display: inline-flex; align-items: center; gap: 10px; padding: 4px 0; font-size: 0.9375rem; line-height: 1.7; }
.ct-footer a:hover, .ct-footer .ct-widget a:hover { color: #ffffff; }
.ct-footer .ct-widget ul li a:hover { transform: translateX(2px); }
/* Phosphor-Icons (D4.1b) in Service/Konto: dezent, 18 px, erben Hover */
.ct-footer .f-nav-icon { flex: 0 0 auto; width: 18px; height: 18px; color: rgba(248, 245, 240, 0.66); transition: color 0.2s ease; }
.ct-footer .ct-widget ul li a:hover .f-nav-icon { color: #ffffff; }
.f-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* Marke: Inline-SVG-Logo (currentColor), Claim in Sand */
.ct-footer .f-footer-brand .f-footer-logo { display: block; width: 150px; max-width: 100%; color: var(--f-ivory); margin-bottom: var(--f-space-5); } /* D4.1c: Desktop 15 % kleiner (176 -> 150) */
.ct-footer .f-footer-brand .f-footer-logo:hover { color: #ffffff; }
.ct-footer .f-footer-brand .f-footer-logo svg { display: block; width: 100%; height: auto; fill: currentColor; }
.ct-footer p, .ct-footer .f-footer-claim { color: var(--f-sand); font-size: var(--f-text-sm); line-height: 1.65; max-width: 30ch; margin: 0; }
/* Kompakte Bewertungszeile unter dem Claim: Logo, Sternfelder, Note und Anzahl als ein Link (Sternfarben wie .f-tp, Abschnitt 23) */
.ct-footer a.f-footer-tp { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px 9px; margin-top: var(--f-space-5); text-decoration: none; } /* 290 px breit: passt ab 1280 px in die Marken-Spalte (303 px) */
.ct-footer .f-footer-tp-logo { display: block; flex: none; width: 70px; max-width: none; height: 17px; border-radius: 0; transform: translateY(-2px); }
.ct-footer .f-footer-tp .f-tp-stars { gap: 2px; }
.ct-footer .f-footer-tp .f-tp-star { width: 16px; height: 16px; }
.ct-footer .f-footer-tp-text { font-size: var(--f-text-xs); line-height: 1.4; white-space: nowrap; color: rgba(248, 245, 240, 0.72); }
.ct-footer .f-footer-tp-text strong { font-weight: 700; color: var(--f-ivory); }
.ct-footer a.f-footer-tp:hover .f-footer-tp-text { color: #ffffff; }
.ct-footer a.f-footer-tp:focus-visible { outline: 2px solid var(--f-ivory); outline-offset: 4px; }
/* Bottom-Row (Rechtszeile): eine feine Linie darueber (Inhaber 08.11.: bleibt); die Logo-Leiste darueber hat seit D4.1d keine eigene Linie mehr */
.ct-footer [data-row="bottom"] > div { border-top: 1px solid rgba(248, 245, 240, 0.16); }
.ct-footer [data-row="bottom"] > .ct-container {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; /* Copyright links, Rechtslinks rechts */
  gap: var(--f-space-2) var(--f-space-8);
  /* Platz fuer den sichtbaren Teil der Lilie: Bluete beginnt ~40 % vom linken Bildrand; Container (1280) endet bei 50vw+576px */
  /* D4.1c: Rechtszeile liegt ausserhalb von .f-footer-main -> keine Lilien-Reserve mehr noetig */
}
/* Abstand Seiteninhalt -> Footer kompakt (Blocksy-Standard ~90 px; Karten bringen ~32 px Reihenabstand mit) */
.ct-container[data-vertical-spacing*="bottom"], .ct-container-narrow[data-vertical-spacing*="bottom"], .ct-container-fluid[data-vertical-spacing*="bottom"] { padding-bottom: var(--f-space-8); }
.ct-footer [data-row="bottom"] [data-column] { width: auto; }
.ct-footer [data-id="copyright"], .ct-footer [data-id="copyright"] a { font-size: var(--f-text-xs); color: rgba(248, 245, 240, 0.62); }
.ct-footer [data-id="copyright"] a { text-decoration: underline; text-decoration-color: rgba(248, 245, 240, 0.32); text-underline-offset: 3px; }
.ct-footer [data-id="copyright"] a:hover { color: #ffffff; }
.ct-footer [data-id="menu"] .menu { display: flex; flex-wrap: wrap; align-items: center; margin: 0; padding: 0; }
.ct-footer [data-id="menu"] .menu > li { display: flex; align-items: center; margin: 0; }
.ct-footer [data-id="menu"] .menu > li + li::before { content: ""; width: 1px; height: 12px; background: rgba(248, 245, 240, 0.3); margin: 0 var(--f-space-3); }
.ct-footer [data-id="menu"] .menu > li > a {
  font-size: var(--f-text-xs); font-weight: 500; letter-spacing: 0.02em; text-transform: none;
  color: rgba(248, 245, 240, 0.72); padding: 6px 0;
}
.ct-footer [data-id="menu"] .menu > li > a:hover { color: #ffffff; }
/* Lilie: dekoratives <picture> unten rechts (inc/footer.php), ueber dem Verlauf, nie ueber Links (Bottom-Row hat Padding) */
.f-footer-lily { position: absolute; right: -32px; bottom: 0; z-index: 2; width: var(--f-lily-w); margin: 0; pointer-events: none; } /* innerhalb .f-footer-main, etwas nach rechts gerueckt */
.f-footer-lily img {
  display: block; width: 100%; height: auto;
  /* weicher Uebergang links und oben, keine harten Bildkanten */
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 30%), linear-gradient(180deg, transparent 0%, #000 34%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0%, #000 30%), linear-gradient(180deg, transparent 0%, #000 34%);
  mask-composite: intersect;
}
/* D4.1c: Zahlungs-/Versandlogos zwischen Navigation und Rechtszeile */
.ct-footer .f-footer-trust { position: relative; z-index: 1; }
.ct-footer .f-footer-trust > .ct-container {
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--f-space-3) var(--f-space-5);
  padding-top: 4px; padding-bottom: 30px; /* D4.1d: ohne Trennlinie, Abstand statt Strich */
}
.ct-footer .f-trust-list { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0; padding: 0; list-style: none; }
.ct-footer .f-trust-list li { display: flex; align-items: center; margin: 0; }
/* D-07: gleich grosse Kaertchen in der Seitenfarbe, Zeichen in Petrol und Originalform (Bildflaeche 80 x 50, das Zeichen sitzt in der Datei) */
.ct-footer .f-trust-list li.f-paycard {
  flex: none; justify-content: center; width: 64px; height: 40px; overflow: hidden;
  background: var(--f-ivory); border-radius: 7px;
}
.ct-footer .f-paycard img { display: block; width: 100%; height: 100%; max-width: none; object-fit: contain; }
.ct-footer .f-paycard--paypal img { width: 70%; height: auto; }
.ct-footer .f-trust-list li.f-paycard--text {
  width: auto; padding: 0 12px;
  font-size: 10px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--f-petrol);
}
.ct-footer .f-trust-sep { display: block; width: 1px; height: 20px; background: rgba(248, 245, 240, 0.22); margin: 0 var(--f-space-2); }
/* D4.1c: Akkordeon-Titel – Caret nur mobil, wenn das JS aktiv ist */
.ct-footer .f-acc-icon { display: none; }
/* Tablet + Smartphone: Lilie aus, groessere Klickflaechen, Rechtszeile ohne Einrueckung */
@media (max-width: 999px) {
  .ct-footer .ct-widget ul li a { padding: 8px 0; }
  .ct-footer [data-row="bottom"] > .ct-container { padding-right: 0; }
  .f-footer-lily { display: none; }
}
/* Tablet: 2 Spalten (Marke|Shop, Service|Konto), vertikale Linie je Paar, horizontale Linie zwischen den Reihen */
@media (min-width: 690px) and (max-width: 999px) {
  .ct-footer [data-row="middle"] [data-column] + [data-column]::before { display: none; }
  .ct-footer [data-row="middle"] [data-column], .ct-footer [data-row="middle"] [data-column] + [data-column] { padding-inline: 0; border-left: 0; }
  .ct-footer [data-row="middle"] [data-column]:nth-child(even) { padding-left: var(--f-space-8); border-left: 1px solid rgba(248, 245, 240, 0.14); }
  .ct-footer [data-row="middle"] [data-column]:nth-child(odd) { padding-right: var(--f-space-8); }
  .ct-footer [data-row="middle"] [data-column]:nth-child(n+3) { margin-top: var(--f-space-8); padding-top: var(--f-space-8); border-top: 1px solid rgba(248, 245, 240, 0.14); }
  .ct-footer [data-row="middle"] [data-column="widget-area-1"] { padding-right: var(--f-space-8); }
}
/* Smartphone: gestapelt mit horizontalen Trennlinien, Rechtszeile umbrechend ohne Trennstriche */
@media (max-width: 689px) {
  .ct-footer [data-row="middle"] [data-column] + [data-column]::before { display: none; }
  .ct-footer [data-row="middle"] [data-column], .ct-footer [data-row="middle"] [data-column] + [data-column] { padding-inline: 0; border-left: 0; }
  .ct-footer [data-row="middle"] [data-column] + [data-column] { margin-top: var(--f-space-6); padding-top: var(--f-space-6); border-top: 1px solid rgba(248, 245, 240, 0.14); }
  .ct-footer .f-footer-brand .f-footer-logo { width: 150px; }
  /* D4.1c: Akkordeons (JS setzt .f-acc; ohne JS bleiben die Listen offen sichtbar) */
  .ct-footer [data-row="middle"] [data-column] + [data-column]:has(.f-acc) { margin-top: 0; padding-top: 0; }
  .ct-footer [data-row="middle"] [data-column="widget-area-1"]:has(+ [data-column] .f-acc) { margin-bottom: var(--f-space-4); }
  .ct-footer .f-acc .widget-title { margin: 0; }
  .ct-footer .f-acc-toggle {
    display: flex; width: 100%; align-items: center; justify-content: space-between; gap: var(--f-space-3);
    margin: 0; padding: 14px 0; background: none; border: 0; border-radius: 0;
    font: inherit; color: inherit; text-align: left; cursor: pointer; min-height: 48px;
  }
  .ct-footer .f-acc-toggle:focus-visible { outline: 2px solid var(--f-sand); outline-offset: 2px; }
  .ct-footer .f-acc .f-acc-icon { display: block; flex: 0 0 auto; color: rgba(248, 245, 240, 0.7); transition: transform 0.22s ease; }
  .ct-footer .f-acc-toggle[aria-expanded="true"] .f-acc-icon { transform: rotate(180deg); }
  .ct-footer .f-acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.22s ease; }
  .ct-footer .f-acc-panel > ul { overflow: hidden; min-height: 0; }
  .ct-footer .f-acc-panel.is-open { grid-template-rows: 1fr; }
  .ct-footer .f-acc-panel.is-open > ul { padding-bottom: var(--f-space-3); }
  .ct-footer .f-acc .ct-widget ul li a, .ct-footer .f-acc ul li a { padding: 8px 0; }
  .ct-footer .f-footer-trust > .ct-container { padding-top: 8px; padding-bottom: 22px; gap: var(--f-space-2) var(--f-space-4); }
  .ct-footer .f-trust-sep { display: none; } /* mobil umbrechen die Gruppen, kein verwaister Trennstrich */
  .ct-footer .f-trust-list { gap: 8px; }
  .ct-footer .f-trust-list li.f-paycard { width: 56px; height: 35px; border-radius: 6px; }
  .ct-footer [data-row="bottom"] > .ct-container { gap: var(--f-space-3); }
  .ct-footer [data-id="menu"] .menu { gap: 0 var(--f-space-5); }
  .ct-footer [data-id="menu"] .menu > li + li::before { display: none; }
  .ct-footer [data-id="menu"] .menu > li > a { padding: 10px 0; } /* Klickhoehe >= 36 px */
}

/* =========================================================================
   12. Mein Konto Navigation
   ========================================================================= */
/* D6.5 Paket 3: Navigation als weisse Flaeche (16 px), Eintraege als Zeilen (10 px), aktiv Petrol.
   Blocksy liefert den Wrapper .ct-acount-nav, 55 px Zeilenhoehe, Trennlinien und die Icons. */
.ct-acount-nav {
  padding: 8px;
  background: var(--f-white);
  border: 1px solid var(--f-sand); border-radius: var(--f-radius-panel); box-shadow: none;
}
.woocommerce-MyAccount-navigation {
  --account-nav-text-initial-color: var(--f-petrol);
  --account-nav-text-active-color: var(--f-ivory);
  --account-nav-background-active-color: var(--f-petrol);
  --account-nav-divider-color: transparent;
}
.woocommerce-MyAccount-navigation ul { display: grid; gap: 2px; list-style: none; margin: 0; padding: 0; }
.woocommerce-MyAccount-navigation li { margin: 0; max-width: none; }
/* :not(#_) hebt die Regeln ueber die Fliesstext-Linkregel aus Abschnitt 3 (die Navigation liegt in .entry-content) */
.woocommerce-MyAccount-navigation ul li a:not(#_) {
  display: flex; align-items: center;
  height: auto; min-height: 48px; padding: 8px 14px;
  border: 0; border-radius: 10px;
  font-size: 0.8125rem; font-weight: 600; line-height: 1.3;
  letter-spacing: var(--f-tracking-caps); text-transform: uppercase;
  color: var(--f-petrol); background: transparent; text-decoration: none;
  transition: background-color var(--f-transition), color var(--f-transition);
}
.woocommerce-MyAccount-navigation ul li:not(.is-active) a:not(#_):hover { color: var(--f-petrol); background: var(--f-ivory-deep); }
.woocommerce-MyAccount-navigation ul li.is-active a:not(#_) { color: var(--f-ivory); background: var(--f-petrol); }
.woocommerce-MyAccount-navigation ul li a:not(#_):focus-visible { outline: 2px solid var(--f-petrol); outline-offset: 2px; }
.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--customer-logout {
  margin-top: 6px; padding-top: 8px; border-top: 1px solid var(--f-sand);
}
.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--customer-logout a:not(#_) { color: var(--f-taupe-deep); }

/* Inhalt: Ueberschriften, Adresskarten, Tabellen, Passwort-Block */
.woocommerce-MyAccount-content > h2, .woocommerce-MyAccount-content section > h2 { margin: 0 0 var(--f-space-3); font-size: 1.375rem; line-height: 1.3; }
.woocommerce-MyAccount-content section + section, .woocommerce-MyAccount-content .woocommerce-customer-details { margin-top: var(--f-space-8); }
.woocommerce-MyAccount-content mark { font-weight: 600; color: var(--f-petrol); background: none; }
.woocommerce-Addresses > .woocommerce-Address {
  padding: var(--f-space-6);
  background: var(--f-white);
  border: 1px solid var(--f-sand); border-radius: var(--f-radius-panel);
}
.woocommerce-Addresses .woocommerce-Address-title { flex-wrap: wrap; gap: var(--f-space-2) var(--f-space-4); margin-bottom: var(--f-space-3); }
.woocommerce-Addresses .woocommerce-Address-title :is(h2, h3) { margin: 0; font-size: 1.25rem; line-height: 1.3; }
.woocommerce-Addresses .woocommerce-Address-title .edit {
  padding-bottom: 2px; border-bottom: 1px solid var(--f-taupe);
  font-size: 0.75rem; font-weight: 600; line-height: 1.3;
  letter-spacing: var(--f-tracking-caps); text-transform: uppercase;
  color: var(--f-petrol); text-decoration: none;
  transition: border-color var(--f-transition);
}
.woocommerce-Addresses .woocommerce-Address-title .edit:hover { border-color: var(--f-petrol); }
.woocommerce-Addresses address, .woocommerce-customer-details address { font-style: normal; font-size: 0.9375rem; line-height: 1.6; opacity: 1; color: var(--f-taupe-deep); }
.woocommerce-MyAccount-content .woocommerce-customer-details address:not(#_) {
  padding: var(--f-space-6); background: var(--f-white);
  border: 1px solid var(--f-sand); border-radius: var(--f-radius-panel);
}
.woocommerce-MyAccount-content table.shop_table { --theme-table-border-color: var(--f-sand); }
.woocommerce-MyAccount-content table.shop_table tr { --theme-table-border-style: solid; }
.woocommerce-MyAccount-content table.shop_table thead th {
  --theme-table-border-width: 0 0 1px 0;
  font-size: 0.6875rem; font-weight: 600; letter-spacing: var(--f-tracking-caps); text-transform: uppercase;
  color: var(--f-taupe-deep);
}
.woocommerce-MyAccount-content table.shop_table .button, .woocommerce-MyAccount-content .download-invoice-pdf .button {
  --theme-button-min-height: var(--f-btn-h-sm); --theme-button-padding: 0 16px; font-size: 0.75rem;
}
.woocommerce-MyAccount-content fieldset {
  margin: var(--f-space-8) 0 var(--f-space-6); padding: var(--f-space-6);
  border: 1px solid var(--f-sand); border-radius: var(--f-radius-panel);
}
.woocommerce-MyAccount-content legend {
  margin-left: -8px; padding: 0 8px;
  font-size: var(--f-text-xs); font-weight: 600; letter-spacing: var(--f-tracking-caps); text-transform: uppercase;
  color: var(--f-taupe-deep);
}
@media (max-width: 689.98px) {
  /* Blocksy blendet tbody th aus; die Bestellnummer ist seit WooCommerce 8 ein th und fehlte mobil */
  .woocommerce-MyAccount-content table.shop_table_responsive tbody th { display: block; text-align: right; }
  .woocommerce-MyAccount-content table.shop_table_responsive tbody th[data-title]::before {
    content: attr(data-title) ": "; float: left; font-size: 14px; font-weight: 600;
  }
  .woocommerce-MyAccount-content table.shop_table_responsive tbody tr > * { --theme-table-border-width: 0; padding-block: 6px; }
  .woocommerce-MyAccount-content table.shop_table_responsive tbody tr { display: block; padding: var(--f-space-3) 0; border-bottom: 1px solid var(--f-sand); }
  .woocommerce-Addresses > .woocommerce-Address { padding: var(--f-space-5); }
  .woocommerce-MyAccount-content fieldset { padding: var(--f-space-5) var(--f-space-4); }
}
/* Anmelden / Registrieren: seit D-16 eigene Vorlage, siehe Abschnitt 33 */

/* =========================================================================
   13. Shop- und Kategorieseiten (D5.3 Premium Commerce): Fullwidth-Banner ohne Text,
       Kopf (Breadcrumb + H1), eine Leiste (Reiter · Zahl | Sortierung), Pagination als Text.
       Banner-Markup in inc/shop-banner.php, Logik in inc/shop-archive.php, Karten: Abschnitt 6.
   ========================================================================= */
/* Fullwidth-Banner direkt unter dem Header: volle Seitenbreite, kein Text, keine Rundung, kein Rand.
   D5.5 (Inhaber 08.11., flache Motive): Desktop fest 300 px (auch 1920/2560), Tablet 230 px, Smartphone 200 px mit
   eigenem 2:1-Ausschnitt (<picture>). Sichtbarer Anteil des 3:1-Motivs: 1280 70 %, 1600 56 %, 1920 47 %, 2560 35 %. */
.f-shop-banner {
  position: relative;
  display: block;
  width: 100%;
  height: 300px;
  margin: 0;
  overflow: hidden;
  background: var(--f-ivory-deep);
}
.f-shop-banner picture { display: block; width: 100%; height: 100%; }
.f-shop-banner .f-shop-banner-img {
  display: block;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 45%;
  border-radius: 0;
}
/* Motivabhaengiger Bildausschnitt (Desktop/Tablet), Werte in % der nicht sichtbaren Bildhoehe von oben.
   Standard = Shop (Lilie links, liegende Pipette rechts, Tropfen mittig): 45 % -> Kappe (y 170-400), Spitze und Tropfen (bis y 580).
   Gesichtspflege (33): Kopf oben am Bildrand -> 8 %, Brauen bis Kinn (y 70-440), Haende, Creme (y 460-560).
   Microneedling (74): 50 % -> Pen-Ruecken, Spitze (y 340-480), Petrischale, Tropfen (bis y 620). */
.f-shop-banner[data-banner="cat-33"] .f-shop-banner-img { object-position: center 8%; }
.f-shop-banner[data-banner="cat-74"] .f-shop-banner-img { object-position: center 50%; }
/* Ab 1600 px nur noch 56 % (1920: 47 %) sichtbar: Fokus Kappe + Spitze / Brauen bis Kinn / Spitze + Tropfen. */
@media (min-width: 1600px) {
  .f-shop-banner .f-shop-banner-img { object-position: center 42%; }
  .f-shop-banner[data-banner="cat-33"] .f-shop-banner-img { object-position: center 22%; }
  .f-shop-banner[data-banner="cat-74"] .f-shop-banner-img { object-position: center 45%; }
}
/* Abstand Banner -> Inhalt: Blocksys Container-Padding fuer Archive verkleinern */
.archive.woocommerce .ct-container[data-vertical-spacing*="top"] { padding-top: var(--f-space-6); }

/* Kopf (Blocksy Hero Typ 1): Breadcrumb klein in Mischschrift, H1 Playfair, kein Intro */
.archive.woocommerce .hero-section[data-type="type-1"] {
  padding-block: 0;
  margin-bottom: var(--f-space-5);
  --margin-bottom: var(--f-space-5);
}
.archive.woocommerce .hero-section[data-type="type-1"] .entry-header { text-align: left; }
.archive.woocommerce .hero-section .ct-breadcrumbs {
  font-size: var(--f-text-sm); font-weight: 400;
  letter-spacing: 0; text-transform: none;
  color: var(--f-taupe-deep);
  margin-bottom: var(--f-space-2);
}
.archive.woocommerce .hero-section .ct-breadcrumbs a { color: var(--f-taupe-deep); text-decoration: none; }
.archive.woocommerce .hero-section .ct-breadcrumbs a:hover { color: var(--f-petrol); }
.archive.woocommerce .hero-section .ct-breadcrumbs .ct-separator { margin: 0 0.5em; opacity: 0.5; }
.archive.woocommerce .hero-section .page-title {
  font-family: var(--f-font-display);
  font-weight: 400;
  font-size: clamp(1.875rem, 1.4rem + 1.4vw, 2.75rem);   /* 30 -> 44px */
  line-height: 1.1;
  letter-spacing: var(--f-tracking-display);
  color: var(--f-petrol);
  margin: 0;
}
.archive.woocommerce .hero-section .page-description {
  display: block;
  max-width: 720px;
  margin-top: var(--f-space-3);
  font-family: var(--f-font-text);
  font-size: var(--f-text-base);
  line-height: 1.6;
  color: var(--f-taupe-deep);
}
.archive.woocommerce .hero-section .page-description p { margin: 0; }

/* Eine Leiste: Reiter links (aktiv mit 2-px-Unterstrich), Produktzahl | Sortierung rechts */
.woo-listing-top {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: var(--f-space-3) var(--f-space-6);
  padding: 0;
  border-top: 0; border-bottom: var(--f-border);
}
.woo-listing-top:not(:empty) { margin-bottom: var(--f-space-6); }
.f-cat-nav {
  display: flex; gap: var(--f-space-8);
  overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.f-cat-nav::-webkit-scrollbar { display: none; }
.f-cat-nav a {
  position: relative;
  padding: 12px 0 14px;
  font-size: var(--f-text-sm); font-weight: 600;
  color: var(--f-taupe-deep); text-decoration: none; white-space: nowrap;
  transition: color var(--f-transition);
}
.f-cat-nav a:focus-visible { outline: 2px solid var(--f-petrol); outline-offset: -4px; border-radius: 8px; }
.f-cat-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  background: var(--f-petrol);
  transform: scaleX(0); transform-origin: left; transition: transform 200ms ease;
}
.f-cat-nav a:hover { color: var(--f-petrol); }
.f-cat-nav a.is-active { color: var(--f-petrol); font-weight: 600; }
.f-cat-nav a.is-active::after { transform: scaleX(1); }
.f-count {
  margin-inline-start: auto;
  padding-right: var(--f-space-4);
  border-right: 1px solid var(--f-sand);
  font-size: var(--f-text-sm); color: var(--f-taupe-deep); white-space: nowrap;
}
.woo-listing-top .woocommerce-ordering { margin-inline-start: 0; display: flex; align-items: center; gap: 2px; }
.woo-listing-top .woocommerce-ordering::before { content: "Sortieren:"; font-size: var(--f-text-sm); color: var(--f-taupe-deep); }
.woo-listing-top .woocommerce-ordering select {
  width: auto; min-width: 0; height: var(--f-btn-h-md);
  padding: 0 40px 0 14px;
  border: 1px solid var(--f-line-strong); border-radius: var(--f-radius-field); box-shadow: none;
  background-color: var(--f-white);
  background-position: right 12px center; background-size: 16px;
  font-size: var(--f-text-sm); font-weight: 500; color: var(--f-petrol);
  cursor: pointer;
}
.woo-listing-top .woocommerce-ordering { gap: var(--f-space-2); }
.woo-listing-top .woocommerce-ordering select:focus { outline: none; border-color: var(--f-petrol); box-shadow: var(--f-shadow-focus); }
.woo-listing-top .woocommerce-ordering .ct-sort-icon { display: none; }

/* Pagination (Blocksy, Typ "simple") als Text */
.ct-pagination {
  margin-top: var(--f-space-6);
  padding-top: var(--f-space-6);
  border-top: var(--f-border);
}
.ct-pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 32px; height: 40px; padding: 0 var(--f-space-2);
  border: 0; border-radius: 0; background: transparent;
  font-size: var(--f-text-sm); font-weight: 500; font-variant-numeric: tabular-nums;
  color: var(--f-taupe-deep); text-decoration: none;
  transition: color var(--f-transition);
}
.ct-pagination a.page-numbers:hover { color: var(--f-petrol); }
/* Blocksy laedt pagination.min.css im Footer (nach dem Child-CSS) -> hoehere Spezifitaet noetig */
.ct-pagination[data-pagination] .page-numbers.current,
.ct-pagination .page-numbers.current {
  background: transparent; color: var(--f-petrol);
  text-decoration: underline; text-underline-offset: 8px; text-decoration-color: var(--f-petrol);
}
.ct-pagination .page-numbers.prev, .ct-pagination .page-numbers.next {
  font-size: var(--f-text-xs); font-weight: 600; letter-spacing: var(--f-tracking-caps); text-transform: uppercase; gap: 6px;
  color: var(--f-petrol);
}
.ct-pagination .page-numbers svg { fill: currentColor; }

/* Tablet */
@media (max-width: 999px) {
  .f-shop-banner { height: 230px; } /* D5.5: Tablet 220-240 px (768: 90 % des Motivs sichtbar) */
  .woo-listing-top:not(:empty) { margin-bottom: var(--f-space-6); }
}
/* Mobil: Banner 3:2 mit Motiv rechts, Text oben links; Reiter eigene Zeile; Zahl links, Sortierung rechts */
@media (max-width: 689px) {
  .f-shop-banner { height: 200px; }
  .f-shop-banner .f-shop-banner-img,
  .f-shop-banner[data-banner] .f-shop-banner-img { object-position: center center; } /* mobiler 2:1-Ausschnitt ist bereits das Motiv */
  .archive.woocommerce .ct-container[data-vertical-spacing*="top"] { padding-top: var(--f-space-5); }
  .archive.woocommerce .hero-section .page-description { font-size: var(--f-text-sm); }
  .archive.woocommerce .hero-section[data-type="type-1"] { padding-block: 0; margin-bottom: var(--f-space-4); --margin-bottom: var(--f-space-4); }
  .woo-listing-top { gap: var(--f-space-2) var(--f-space-4); padding-bottom: var(--f-space-2); }
  .woo-listing-top:not(:empty) { margin-bottom: var(--f-space-5); }
  .f-cat-nav {
    flex: 1 0 100%; gap: var(--f-space-6);
    margin: 0 calc(-1 * var(--f-gutter)); padding: 0 var(--f-gutter);
    border-bottom: var(--f-border);
  }
  .f-cat-nav a { padding: 10px 0 12px; }
  .f-count { margin-inline-start: 0; padding-right: 0; border-right: 0; font-size: var(--f-text-xs); }
  .woo-listing-top .woocommerce-ordering { margin-inline-start: auto; }
  .woo-listing-top .woocommerce-ordering::before { font-size: var(--f-text-xs); }
  .woo-listing-top .woocommerce-ordering select {
    width: auto; height: 40px; color: var(--f-petrol); padding: 0 34px 0 12px; font-size: var(--f-text-xs);
    user-select: auto; -webkit-user-select: auto;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none' stroke='%236F6155' stroke-width='1.5'><path d='M2 4.5l4 4 4-4'/></svg>");
  }
  .ct-pagination { margin-top: var(--f-space-5); }
}

/* =========================================================================
   14. Produktdetailseite "Soft Editorial" (D6 09.11.2026, D6.1 Feinschliff). Markup: Blocksy
   Single-Layout mit eigenen Layern (inc/product-single.php). Oben eine gemeinsame, sehr helle
   Sandflaeche mit Bild (max. 480 px, quadratisch, nicht sticky) links und Kaufbereich rechts;
   darunter das Akkordeon (.f-acc, zentriert, max. 900 px) und "Passt dazu" (.f-pdp-related).
   ========================================================================= */
:root {
  --f-pdp-image-max: 600px;               /* 21.11.2026: Bild gross und rund wie die Motive der Startseite, ohne Sandflaeche */
  --f-pdp-col-gap: clamp(2.5rem, 5vw, 5.5rem);
  --f-pdp-control: 56px;
  --f-pdp-panel-pad: clamp(1.25rem, 1rem + 2vw, 3.5rem);
  --f-pdp-panel: #F3EFE8;                 /* zwischen Elfenbein und Elfenbein-tief */
  --f-hairline: rgba(27, 42, 50, 0.10);
}

/* Oberer Bereich: eine gemeinsame Flaeche, eigenes Raster statt Blocksy-Spaltenbreite */
.single-product .product-entry-wrapper {
  display: grid !important;   /* Blocksy setzt flex mit hoeherer Spezifitaet (:has) */
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  column-gap: var(--f-pdp-col-gap);
  align-items: start;   /* Kaufspalte beginnt auf der Oberkante des Bildes (Inhaber 21.11.2026) */
  margin-top: var(--f-space-4);
  padding: 0;
  background: none;
}
.single-product .woocommerce-product-gallery {
  position: static !important;   /* nicht sticky */
  top: auto !important;
  width: 100% !important;        /* Blocksy: width var(--product-gallery-width, 50%) */
  max-width: var(--f-pdp-image-max);
  margin: 0;
}
@media (min-width: 1000px) {
  .single-product .entry-summary { width: 100% !important; margin-inline-start: 0 !important; }   /* Blocksy: calc(100% - 50%) + 40px */
}
.single-product .woocommerce-product-gallery .ct-media-container {
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--f-radius-surface);
  background: var(--f-ivory-deep);
}
.single-product .woocommerce-product-gallery .ct-media-container img {
  width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1 / 1 !important;
}
.single-product .woocommerce-product-gallery .onsale,
.single-product .woocommerce-product-gallery .out-of-stock-badge { display: none; }

/* Kaufbereich */
.single-product .entry-summary { max-width: 540px; width: 100%; }
.single-product .entry-summary-items > * { margin-top: 0; margin-bottom: 0; }   /* Blocksy-Layer-Abstaende aus; eigene je Element */

.f-pdp-eyebrow {
  line-height: 1;   /* ohne Luft ueber den Versalien, damit die Zeile mit der Bildoberkante abschliesst */
  margin: 0 0 var(--f-space-4) !important;
  font-family: var(--f-font-text);
  font-size: var(--f-text-xs);
  font-weight: 600;
  letter-spacing: var(--f-tracking-eyebrow);
  text-transform: uppercase;
  color: var(--f-taupe-deep);
}
.f-pdp-eyebrow a { color: inherit; text-decoration: none; }
.f-pdp-eyebrow a:hover { color: var(--f-petrol); }
.f-pdp-eyebrow .f-dot, .f-pdp-availability .f-dot, .f-rel-meta .f-dot { margin: 0 0.5em; opacity: 0.6; }

.single-product .entry-summary .product_title {
  margin: 0 0 var(--f-space-3) !important;
  font-family: var(--f-font-display);
  font-weight: 500;
  font-size: clamp(1.75rem, 1.35rem + 1.2vw, 2.25rem);   /* 28 -> 36px; groesser brach bei langen Namen auf drei Zeilen */
  text-wrap: balance;
  line-height: 1.15;
  letter-spacing: var(--f-tracking-display);
  color: var(--f-petrol);
}

/* Preis genau einmal: Betrag, Altpreis, Rabatt; darunter MwSt./Versand, Grundpreis; Hairline als Abschluss */
.f-pdp-price {
  margin: 0 0 var(--f-space-6) !important;
  padding-bottom: var(--f-space-5);
  border-bottom: 1px solid var(--f-hairline);
}
.f-pdp-price .price {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 0.6em;
  margin: 0;
  font-family: var(--f-font-text);
  font-weight: 600;
  font-size: 1.5rem;   /* 24px */
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
  color: var(--f-petrol);
}
.f-pdp-price .price ins { order: 1; text-decoration: none; }
.f-pdp-price .price del {
  order: 2; font-size: var(--f-text-sm); font-weight: 400;
  color: var(--f-taupe-deep); text-decoration-color: var(--f-taupe);
}
.f-pdp-price .price small:empty { display: none; }
.f-pdp-price .f-pdp-sale {
  order: 3;
  font-size: var(--f-text-xs); font-weight: 600; letter-spacing: 0.04em;
  color: var(--f-petrol);
}
.f-pdp-price .f-price-note,
.f-pdp-price .f-price-ppu,
.f-pdp-price .wgm-info {
  margin: var(--f-space-2) 0 0;
  font-size: var(--f-text-xs);
  line-height: 1.5;
  color: var(--f-taupe-deep);
}
.f-pdp-price .f-price-note a {
  color: var(--f-taupe-deep);
  text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--f-taupe);
}
.f-pdp-price .f-price-note a:hover { color: var(--f-petrol); text-decoration-color: var(--f-petrol); }

/* Kurze Einleitung (Woo-Kurzbeschreibung) mit Vorteilsliste */
.single-product .woocommerce-product-details__short-description {
  margin: 0 0 var(--f-space-8) !important;
  font-size: 0.9375rem;   /* 15px */
  line-height: 1.65;
  color: var(--f-petrol);
}
.single-product .woocommerce-product-details__short-description p { margin: 0 0 var(--f-space-3); }
.single-product .woocommerce-product-details__short-description p:last-child { margin-bottom: 0; }
/* Die Vorteilszeilen der Kurzbeschreibung bleiben im Text gespeichert, werden auf der Produktseite aber nicht mehr als
   Liste gezeigt (21.11.2026): ihre Aussagen stehen im Kurzprofil und in der Zeile unter dem Kaufknopf. */
.single-product .woocommerce-product-details__short-description ul {
  display: none; list-style: none; margin: var(--f-space-4) 0 0; padding: 0;
}
.single-product .woocommerce-product-details__short-description li {
  position: relative; margin: 0 0 var(--f-space-2); padding-left: 1.6rem;
  font-size: var(--f-text-sm); line-height: 1.55;
}
.single-product .woocommerce-product-details__short-description li::before {
  content: ""; position: absolute; left: 0; top: 0.38em; width: 14px; height: 14px;
  background: var(--f-taupe-deep);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'><path d='M229.66,77.66l-128,128a8,8,0,0,1-11.32,0l-56-56a8,8,0,0,1,11.32-11.32L96,188.69,218.34,66.34a8,8,0,0,1,11.32,11.32Z'/></svg>") center / contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'><path d='M229.66,77.66l-128,128a8,8,0,0,1-11.32,0l-56-56a8,8,0,0,1,11.32-11.32L96,188.69,218.34,66.34a8,8,0,0,1,11.32,11.32Z'/></svg>") center / contain no-repeat;
}
.single-product .woocommerce-product-details__short-description .fa-heart { color: var(--f-taupe-deep); font-size: 0.85em; }

/* Kaufleiste (D6.5 "Atelier"): drei einzelne Bausteine mit Abstand – Menge | Warenkorb | Merkzettel */
.f-pdp-buy {
  --f-pdp-control: var(--f-btn-h);
  display: flex; align-items: stretch; gap: 10px;
  margin: 0 0 var(--f-space-4) !important;
}
.f-pdp-buy .ct-product-add-to-cart { flex: 1 1 auto; min-width: 0; margin: 0; }
.f-pdp-buy .ct-product-add-to-cart:empty { display: none; }
.f-pdp-buy form.cart { margin: 0; }
.f-pdp-buy .ct-cart-actions { display: flex; align-items: stretch; gap: 10px; flex-wrap: nowrap; }
.f-pdp-buy .quantity[data-type] {
  display: grid; grid-template-columns: 40px 1fr 40px;
  align-items: center;
  width: 132px; flex: 0 0 132px; height: var(--f-pdp-control);
  margin: 0; overflow: hidden;
  background: var(--f-white);
  border: 1px solid var(--f-line-strong);
  border-radius: var(--f-radius-field);
  transition: border-color var(--f-transition), box-shadow var(--f-transition);
}
.f-pdp-buy .quantity[data-type]:hover { border-color: var(--f-taupe); }
.f-pdp-buy .quantity[data-type]:focus-within { border-color: var(--f-petrol); box-shadow: var(--f-shadow-focus); }
.f-pdp-buy .quantity .ct-decrease { order: 1; }
.f-pdp-buy .quantity .input-text.qty { order: 2; }
.f-pdp-buy .quantity .ct-increase { order: 3; }
.f-pdp-buy .quantity .ct-increase,
.f-pdp-buy .quantity .ct-decrease {
  position: static; display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%; margin: 0; padding: 0;
  border-radius: 0; background: transparent;
  color: var(--f-petrol); cursor: pointer; user-select: none;
  transition: background-color var(--f-transition);
  --theme-icon-color: var(--f-petrol);
}
.f-pdp-buy .quantity .ct-increase:hover,
.f-pdp-buy .quantity .ct-decrease:hover { background: var(--f-ivory-deep); color: var(--f-petrol); --theme-icon-color: var(--f-petrol); }
.f-pdp-buy .quantity .ct-increase svg,
.f-pdp-buy .quantity .ct-decrease svg { width: 12px; height: 12px; fill: currentColor; }
.f-pdp-buy .quantity .input-text.qty {
  width: 100%; height: 100%; min-height: 0; padding: 0;
  border: 0; border-radius: 0 !important; background: transparent; box-shadow: none;
  text-align: center; font-weight: 600; font-size: var(--f-text-base);
  color: var(--f-petrol); -moz-appearance: textfield; appearance: textfield;
}
.f-pdp-buy .quantity .input-text.qty::-webkit-outer-spin-button,
.f-pdp-buy .quantity .input-text.qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.f-pdp-buy .quantity .input-text.qty:focus { outline: none; border: 0; box-shadow: none; }
.f-pdp-buy .single_add_to_cart_button {
  flex: 1 1 auto; min-width: 0;
  min-height: var(--f-pdp-control); height: var(--f-pdp-control);
  padding: 0 var(--f-space-6);
  border-radius: var(--f-radius-btn);
  font-size: 0.8125rem;
  white-space: nowrap;
}
.f-pdp-buy .single_add_to_cart_button.loading { opacity: 0.7; }
.f-pdp-buy .f-pdp-unavailable {
  order: -1;   /* vor dem Merkzettel-Herz (wird nach YITH ausgegeben) */
  flex: 1 1 auto; display: inline-flex; align-items: center; justify-content: center;
  min-height: var(--f-pdp-control);
  padding: 0 var(--f-space-6);
  border-radius: var(--f-radius-btn);
  font-size: 0.8125rem; font-weight: 600; letter-spacing: var(--f-tracking-caps); text-transform: uppercase;
  color: var(--f-taupe-deep); background: var(--f-ivory-deep);
}
/* B2B-Market-Rabatttabelle (nur fuer Gewerbekunden sichtbar) unter die Zeile schieben */
.f-pdp-buy .ct-cart-actions > table,
.f-pdp-buy .ct-cart-actions > .bm-discounts { flex: 1 0 100%; }

/* YITH-Merkzettel als quadratische Herz-Schaltflaeche (Phosphor heart / heart-fill per Maske) */
.f-pdp-buy .yith-wcwl-add-to-wishlist {
  position: relative;
  flex: 0 0 var(--f-pdp-control);
  width: var(--f-pdp-control); height: var(--f-pdp-control);
  margin: 0 !important;
}
.f-pdp-buy .yith-wcwl-add-to-wishlist > div,
.f-pdp-buy .yith-wcwl-add-to-wishlist .yith-wcwl-add-button,
.f-pdp-buy .yith-wcwl-add-to-wishlist .yith-wcwl-wishlistaddedbrowse,
.f-pdp-buy .yith-wcwl-add-to-wishlist .yith-wcwl-wishlistexistsbrowse { position: static; margin: 0; }
.f-pdp-buy .yith-wcwl-add-to-wishlist a {
  position: absolute; inset: 0; display: flex !important; align-items: center; justify-content: center;
  width: auto; height: auto; margin: 0; padding: 0;
  border: 1px solid var(--f-line-strong); border-radius: var(--f-radius-btn);
  background: var(--f-white); color: var(--f-petrol);
  text-decoration: none; font-size: 0;
  transition: background-color var(--f-transition), border-color var(--f-transition), color var(--f-transition);
}
.f-pdp-buy .yith-wcwl-add-to-wishlist a:hover { border-color: var(--f-petrol); }
.f-pdp-buy .yith-wcwl-add-to-wishlist a::before {
  content: ""; width: 22px; height: 22px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'><path d='M178,40c-20.65,0-38.73,8.88-50,23.89C116.73,48.88,98.65,40,78,40a62.07,62.07,0,0,0-62,62c0,70,103.79,126.66,108.21,129a8,8,0,0,0,7.58,0C136.21,228.66,240,172,240,102A62.07,62.07,0,0,0,178,40ZM128,214.8C109.74,204.16,32,155.69,32,102A46.06,46.06,0,0,1,78,56c19.45,0,35.78,10.36,42.6,27a8,8,0,0,0,14.8,0c6.82-16.67,23.15-27,42.6-27a46.06,46.06,0,0,1,46,46C224,155.61,146.24,204.15,128,214.8Z'/></svg>") center / contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'><path d='M178,40c-20.65,0-38.73,8.88-50,23.89C116.73,48.88,98.65,40,78,40a62.07,62.07,0,0,0-62,62c0,70,103.79,126.66,108.21,129a8,8,0,0,0,7.58,0C136.21,228.66,240,172,240,102A62.07,62.07,0,0,0,178,40ZM128,214.8C109.74,204.16,32,155.69,32,102A46.06,46.06,0,0,1,78,56c19.45,0,35.78,10.36,42.6,27a8,8,0,0,0,14.8,0c6.82-16.67,23.15-27,42.6-27a46.06,46.06,0,0,1,46,46C224,155.61,146.24,204.15,128,214.8Z'/></svg>") center / contain no-repeat;
}
.f-pdp-buy .yith-wcwl-add-to-wishlist a.f-wl-pending::before, /* sofort beim Klick, bis die Antwort des Servers da ist (wishlist.js) */
.f-pdp-buy .yith-wcwl-wishlistaddedbrowse a::before,
.f-pdp-buy .yith-wcwl-wishlistexistsbrowse a::before {
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'><path d='M178,40c-20.65,0-38.73,8.88-50,23.89C116.73,48.88,98.65,40,78,40a62.07,62.07,0,0,0-62,62c0,70,103.79,126.66,108.21,129a8,8,0,0,0,7.58,0C136.21,228.66,240,172,240,102A62.07,62.07,0,0,0,178,40Z'/></svg>");
          mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'><path d='M178,40c-20.65,0-38.73,8.88-50,23.89C116.73,48.88,98.65,40,78,40a62.07,62.07,0,0,0-62,62c0,70,103.79,126.66,108.21,129a8,8,0,0,0,7.58,0C136.21,228.66,240,172,240,102A62.07,62.07,0,0,0,178,40Z'/></svg>");
}
.f-pdp-buy .yith-wcwl-add-to-wishlist a svg,
.f-pdp-buy .yith-wcwl-add-to-wishlist a i,
.f-pdp-buy .yith-wcwl-add-to-wishlist a img { display: none; }
.f-pdp-buy .yith-wcwl-add-to-wishlist a span,
.f-pdp-buy .yith-wcwl-add-to-wishlist .feedback,
.f-pdp-buy .yith-wcwl-add-to-wishlist .yith-wcwl-wishlist-count {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.f-pdp-buy .yith-wcwl-add-to-wishlist a.loading:not(.f-wl-pending)::before { opacity: 0.4; }

/* Preiszeile: Betrag links, Lagerstatus als Marke rechts */
.f-pdp-price-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--f-space-2) var(--f-space-4); }
.f-pdp-price-row .f-status { margin: 0; white-space: nowrap; }
/* Gemeinsame Unterkante von Bild und Kaufspalte: verworfen (Inhaber 21.11.2026). Vier Versuche - Luecke an einer Stelle,
   Abstaende gestreckt, Bild beschnitten, Bild verkleinert - sahen alle schlechter aus als normale Abstaende.
   Die Spalte beginnt auf der Bildoberkante und endet, wo ihr Inhalt endet. */
/* Drei Angaben mit Zeichen unter der Kaufzeile (Layer f_assurance), im Stil des Kurzprofils */
.single-product .entry-summary .f-pdp-buy { margin-bottom: 2.5rem !important; }   /* Angaben und Artikelnummer sitzen bewusst etwas tiefer (Inhaber 21.11.2026) */
.f-pdp-assure {
  display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; gap: var(--f-space-3);
  margin: 0 0 var(--f-space-5) !important; padding: var(--f-space-5) 0 0; list-style: none;
  border-top: 1px solid var(--f-hairline);
}
.f-pdp-assure li { display: grid; grid-template-columns: 36px auto; gap: 10px; white-space: nowrap; align-items: center; margin: 0; font-size: 0.8125rem; line-height: 1.45; color: var(--f-petrol); }
.f-pdp-assure .f-fact-icon { width: 36px; height: 36px; }
.f-pdp-assure .f-fact-icon svg { width: 18px; height: 18px; }
/* Zwischen 1000 und 1199 px ist die Kaufspalte zu schmal fuer drei Angaben nebeneinander */
@media (min-width: 1000px) and (max-width: 1199.98px) { .f-pdp-assure { grid-template-columns: minmax(0, 1fr); justify-content: stretch; } }
.f-pdp-assure strong { display: block; font-weight: 600; font-size: 0.6875rem; letter-spacing: var(--f-tracking-eyebrow); text-transform: uppercase; color: var(--f-taupe-deep); }

/* Verfuegbarkeit, Artikelnummer */
.f-pdp-availability {
  display: flex; flex-wrap: wrap; align-items: center;
  margin: 0 0 var(--f-space-6) !important;
  font-size: 0.8125rem; line-height: 1.5;
  color: var(--f-taupe-deep);
}
.f-pdp-availability .f-pdp-dot {
  width: 8px; height: 8px; margin-right: 0.6em; border-radius: 50%;
  background: var(--f-success);
}
.f-pdp-availability[data-stock="out"] .f-pdp-dot { background: var(--f-taupe); }
.f-pdp-availability[data-stock="in"] > span:nth-child(2) { color: var(--f-petrol); font-weight: 600; }
.single-product .entry-summary .product_meta {
  margin: 0 !important; padding: 0; text-transform: none; font-weight: 400;
  font-size: var(--f-text-xs); letter-spacing: 0.02em; color: var(--f-taupe-deep);
}
.single-product .entry-summary .product_meta .sku_wrapper { display: block; font-weight: 400; text-transform: none; letter-spacing: 0.02em; color: var(--f-taupe); }
.single-product .entry-summary .product_meta .sku { font-weight: 400; color: var(--f-taupe-deep); font-variant-numeric: tabular-nums; }
.single-product .entry-summary .product_meta .posted_in,
.single-product .entry-summary .product_meta .tagged_as,
.single-product .entry-summary .ct-product-divider { display: none; }
.single-product .entry-summary .german-market-summary-gpsr:empty { display: none; }
.single-product .entry-summary .german-market-summary-gpsr { display: block; margin-top: var(--f-space-3); font-size: var(--f-text-xs); color: var(--f-taupe-deep); }

/* Akkordeon Produktinformationen: volle Inhaltsbreite wie Produktflaeche und "Passt dazu" (21.11.2026, vorher max. 900 px);
   Fliesstext bleibt ueber .f-acc-body bei 72ch. */
.f-acc.is-width-constrained {
  margin-top: clamp(3rem, 2rem + 4vw, 5.5rem);   /* nur oben: margin-inline:auto von .is-width-constrained bleibt */
  border-top: 1px solid var(--f-sand);
}
.f-acc-item { border-bottom: 1px solid var(--f-sand); }
.f-acc-heading { margin: 0; font-size: inherit; line-height: inherit; }
.f-acc-trigger {
  display: flex; align-items: center; justify-content: space-between; gap: var(--f-space-4);
  width: 100%; min-height: 68px; margin: 0; padding: 18px 0;
  background: none; border: 0; border-radius: 4px; box-shadow: none;
  /* D6.5 Paket 3: Titel bleiben in Playfair (22 px, mobil 20 px). Die Werkstatt-Variante in
     Manrope 600 / 16 px wirkte am echten Inhalt zu klein und wurde verworfen. */
  font-family: var(--f-font-display); font-weight: 500; font-size: 1.375rem; line-height: 1.3;
  letter-spacing: var(--f-tracking-display); text-transform: none; text-align: left;
  color: var(--f-petrol); cursor: pointer;
  transition: color var(--f-transition);
}
.f-acc-trigger:hover { color: var(--f-taupe-deep); background: none; }
.f-acc-trigger:focus-visible { outline: 2px solid var(--f-petrol); outline-offset: 2px; }
.f-acc-caret { flex: 0 0 auto; color: var(--f-taupe-deep); transition: transform 280ms ease; }
.f-acc-trigger[aria-expanded="true"] .f-acc-caret { transform: rotate(180deg); }
.f-acc-panel { display: grid; grid-template-rows: 1fr; transition: grid-template-rows 320ms ease; }
.f-acc--js .f-acc-item:not(.is-open) .f-acc-panel { grid-template-rows: 0fr; }
.f-acc-panel > .f-acc-body { min-height: 0; overflow: hidden; }
.f-acc-body { max-width: 72ch; padding: var(--f-space-1) 0 var(--f-space-8); font-size: 0.9375rem; line-height: 1.7; color: var(--f-petrol); }
.f-acc--js .f-acc-item:not(.is-open) .f-acc-body { padding-top: 0; padding-bottom: 0; visibility: hidden; transition: visibility 0s 320ms, padding 320ms ease; }
.f-acc--js .f-acc-item.is-open .f-acc-body { transition: padding 320ms ease; }
.f-acc-body > :first-child { margin-top: 0; }
.f-acc-body > :last-child { margin-bottom: 0; }
.f-acc-body p { margin: 0 0 var(--f-space-4); }
.f-acc-body h2 { margin: 0 0 var(--f-space-2); font-size: 1.375rem; line-height: 1.3; font-weight: 500; }
.f-acc-body h3, .f-acc-body h6 {
  margin: var(--f-space-6) 0 var(--f-space-2);
  font-family: var(--f-font-text); font-weight: 600; font-size: 1rem; line-height: 1.4; color: var(--f-petrol);
}
.f-acc-body h4, .f-acc-body h5 {
  margin: 0 0 var(--f-space-5);
  font-family: var(--f-font-text); font-weight: 600; font-size: var(--f-text-xs); line-height: 1.5;
  letter-spacing: var(--f-tracking-eyebrow); text-transform: uppercase; color: var(--f-taupe-deep);
}
.f-acc-body ul { margin: 0 0 var(--f-space-4); padding: 0; list-style: none; }
.f-acc-body li { position: relative; margin: 0 0 var(--f-space-2); padding-left: 1.5rem; }
.f-acc-body li::before { content: ""; position: absolute; left: 0; top: 0.75em; width: 6px; height: 1px; background: var(--f-taupe); }
.f-acc-body li div { display: inline; }
.f-acc-body blockquote { margin: 0; padding: 0; border: 0; background: none; font-style: normal; }
.f-acc-body blockquote p { margin: 0; }
.f-acc-body span[style], .f-acc-body li span[style], .f-acc-body blockquote span[style] { font-size: inherit !important; }
.f-acc-body .uppercase { text-transform: none; letter-spacing: normal; }
.f-acc-item[data-key="inci"] .f-acc-body blockquote { margin-top: var(--f-space-4); font-size: 0.875rem; line-height: 1.75; letter-spacing: 0.01em; }
.f-acc-item[data-key="inci"] .f-acc-body > span { display: block; font-size: var(--f-text-sm); color: var(--f-taupe-deep); }

/* Produkttexte im neuen Aufbau (21.11.2026, Referenz Hydro Creme 4930): Kurzprofil (.f-facts), Text neben den
   Wirkstoffen (.f-pd-cols, .f-actives), Anwendung in Schritten (.f-steps), Inhaltsstoffe (.f-inci), Abschnitt
   "Sicherheit und Hersteller" (.f-safety). Produkte im alten Aufbau bleiben unberuehrt. */
.f-acc-body:has(.f-facts), .f-acc-body:has(.f-safety) { max-width: none; }
.f-acc-body .f-facts {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: var(--f-space-2) 0 var(--f-space-8); padding: 0;
  background: var(--f-ivory-deep); border-radius: var(--f-radius-panel);
}
.f-acc-body .f-facts li { margin: 0; padding: var(--f-space-5) var(--f-space-6); font-size: var(--f-text-sm); line-height: 1.5; color: var(--f-petrol); }
.f-acc-body .f-facts li + li { border-left: 1px solid var(--f-line-strong); }
.f-acc-body .f-facts li.f-fact { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: var(--f-space-4); align-items: center; }
/* Kreis nur als feine Linie (die helle Flaeche war zu laut, ganz ohne Kreis fehlte der Halt) */
.f-fact-icon { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--f-line-strong); border-radius: 50%; color: var(--f-petrol); }
.f-fact-icon svg { width: 20px; height: 20px; }
.f-fact-text { min-width: 0; }
.f-acc-body .f-facts li::before, .f-acc-body .f-steps li::before { content: none; }
.f-acc-body .f-facts strong {
  display: block; margin-bottom: var(--f-space-1); font-weight: 600; font-size: var(--f-text-xs);
  letter-spacing: var(--f-tracking-eyebrow); text-transform: uppercase; color: var(--f-taupe-deep);
}
/* Mehr Luft zwischen Text und Liste (21.11.): nur der Text links wird schmaler (padding-right), die Liste behaelt ihre Breite -
   ein groesserer Spaltenabstand haette die Saetze der Liste neu umbrochen. */
.f-pd-cols { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(2rem, 1rem + 4vw, 4rem); align-items: start; }
.f-pd-cols > div:first-child { padding-right: clamp(1rem, 2.5vw, 2.5rem); }
.f-pd-cols > div > :first-child { margin-top: 0; }
.f-pd-cols > div > :last-child { margin-bottom: 0; }
.f-acc-body .f-pd-cols h3 { margin-top: 0; margin-bottom: var(--f-space-3); }
.f-actives { margin: 0; border-top: 1px solid var(--f-sand); counter-reset: f-active; }
.f-actives > div { counter-increment: f-active; display: grid; grid-template-columns: 2.25rem 7.5rem minmax(0, 1fr); gap: var(--f-space-4); align-items: baseline; padding: var(--f-space-3) 0; border-bottom: 1px solid var(--f-sand); }
/* Listenzahlen 01, 02 ... in der Schmuckschrift, bewusst als ruhiges Zierelement */
.f-actives > div::before { content: counter(f-active, decimal-leading-zero); position: relative; top: 1px; font-family: var(--f-font-display); font-size: 1.125rem; line-height: 1.3; letter-spacing: 0.02em; color: var(--f-taupe); font-variant-numeric: lining-nums; }
.f-actives dt { margin: 0; font-weight: 600; color: var(--f-petrol); }
.f-actives dd { margin: 0; font-size: var(--f-text-sm); line-height: 1.6; color: var(--f-taupe-deep); }
.f-acc-body:has(.f-steps) { max-width: none; }
/* Anwendung in Schritten: ab 768 px drei Spalten ueber die volle Breite, darunter untereinander mit der Zahl links.
   Zahlen 01, 02 ... in der Schmuckschrift wie in der Liste der Inhaltsstoffe. */
.f-acc-body .f-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: clamp(1.5rem, 0.5rem + 3vw, 3.5rem); margin: var(--f-space-2) 0 0; padding: 0; list-style: none; counter-reset: f-step; }
/* Zahl links neben Titel und Text (vom Inhaber am 21.11. so abgenommen); display hier ausdruecklich, nicht ueber die Regel der Kassen-Schritte */
.f-acc-body .f-steps li { counter-increment: f-step; display: flex; align-items: flex-start; gap: 12px; margin: 0; padding: var(--f-space-5) 0 0; border-top: 1px solid var(--f-line-strong); font-size: var(--f-text-sm); line-height: 1.65; color: var(--f-taupe-deep); }
.f-acc-body .f-steps li::before {
  content: counter(f-step, decimal-leading-zero); position: relative; top: 0.125em; display: block; width: auto; height: auto; margin: 0; background: none;
  font-family: var(--f-font-display); font-size: 2rem; line-height: 1.4rem; letter-spacing: 0.02em; color: var(--f-taupe); font-variant-numeric: lining-nums;
}
.f-acc-body .f-steps strong { display: block; margin-bottom: var(--f-space-1); font-weight: 600; font-size: 1rem; line-height: 1.4; color: var(--f-petrol); }
.f-acc-body .f-inci { max-width: 72ch; font-size: var(--f-text-sm); line-height: 1.8; letter-spacing: 0.01em; }
.f-acc-body .f-inci-note, .f-acc-body .f-safety-note { max-width: 72ch; font-size: var(--f-text-xs); line-height: 1.6; color: var(--f-taupe-deep); }
.f-safety { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(2rem, 1rem + 4vw, 4rem); align-items: start; }
.f-acc-body .f-safety h3 { margin-top: 0; margin-bottom: var(--f-space-3); }
.f-acc-body .f-safety h3:not(:first-child) { margin-top: var(--f-space-6); }
.f-safety-part > :last-child { margin-bottom: 0; }
.f-safety-maker { padding: var(--f-space-6); background: var(--f-ivory-deep); border-radius: var(--f-radius-panel); }
.f-safety-address { margin: 0 0 var(--f-space-3); font-style: normal; line-height: 1.7; }
.f-safety-address a { color: inherit; text-decoration: underline; text-decoration-color: var(--f-taupe); text-underline-offset: 3px; }
.f-acc-body .f-safety-note { margin: 0; }
.f-acc-body .f-safety-sku { margin: var(--f-space-4) 0 0; padding-top: var(--f-space-4); border-top: 1px solid var(--f-line-strong); font-size: var(--f-text-xs); letter-spacing: 0.02em; color: var(--f-taupe-deep); font-variant-numeric: tabular-nums; }
.f-safety-part:not(.f-safety-maker) > .f-safety-sku:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
/* Tablet (768 bis 999 px): Text und Inhaltsstoff-Liste untereinander - nebeneinander brach die Liste auf vier bis fuenf Zeilen um */
@media (max-width: 999.98px) {
  /* Kurzprofil auf Tablets zweispaltig: vier Spalten waren zu schmal, die Texte brachen auf drei Zeilen um */
  .f-acc-body .f-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .f-acc-body .f-facts li:nth-child(odd) { border-left: 0; }
  .f-acc-body .f-facts li:nth-child(n+3) { border-top: 1px solid var(--f-line-strong); }
  .f-pd-cols { grid-template-columns: minmax(0, 1fr); gap: var(--f-space-8); }
  .f-pd-cols > div:first-child { padding-right: 0; }
}
@media (max-width: 767.98px) {
  /* Kurzprofil mobil: vier Zeilen untereinander (Zeichen links, Text rechts) statt 2 x 2 - jede Zeile waechst mit ihrem Text */
  .f-acc-body .f-facts { grid-template-columns: minmax(0, 1fr); padding: var(--f-space-2) var(--f-space-5); }
  .f-acc-body .f-facts li { padding: var(--f-space-4) 0; }
  .f-acc-body .f-facts li + li { border-left: 0; border-top: 1px solid var(--f-line-strong); }
  .f-pd-cols, .f-safety { grid-template-columns: minmax(0, 1fr); gap: var(--f-space-8); }
  .f-acc-body .f-steps { grid-auto-flow: row; grid-template-columns: minmax(0, 1fr); gap: 0; }
  .f-acc-body .f-steps li { display: grid; grid-template-columns: 2.75rem minmax(0, 1fr); gap: var(--f-space-3); padding: var(--f-space-4) 0; border-top: 1px solid var(--f-sand); }
  .f-acc-body .f-steps li:first-child { border-top: 0; padding-top: var(--f-space-1); }
  /* Zahl steht auf der Zeile des Titels (nicht mittig zum ganzen Schritt): gleiche Zeilenhoehe wie der Titel (1rem x 1,4) */
  .f-acc-body .f-steps li { align-items: start; }
  /* 0,1em nach unten: Oberkante der Ziffern auf der Oberkante der Grossbuchstaben des Titels (nachgemessen) */
  .f-acc-body .f-steps li::before { position: relative; top: 0.1em; margin: 0; font-size: 1.5rem; line-height: 1.4rem; }
  /* Inhaltsstoff-Liste mobil: Zahl links, Name und Satz untereinander (drei Spalten waren zu eng). Zahl so gross wie im
     Pflegeritual (1,5rem) und in derselben Spaltenbreite; sie steht auf der Zeile des Namens (Zeilenhoehe 15 px x 1,7),
     Oberkante der Ziffern auf der Oberkante der Grossbuchstaben (Versatz nachgemessen). */
  .f-actives > div { grid-template-columns: 2.75rem minmax(0, 1fr); column-gap: var(--f-space-3); row-gap: 2px; align-items: start; padding: var(--f-space-4) 0; }
  .f-actives > div::before { grid-row: 1 / span 2; position: relative; top: 0.14em; font-size: 1.5rem; line-height: 1.59375rem; }
  .f-actives dt, .f-actives dd { grid-column: 2; }
  .f-safety-maker { padding: var(--f-space-5); }
}
/* Lieferung als drei Flaechen (21.11.2026): Deutschland gross und gefuellt, EU-Laender und Schweiz mit feinem Rahmen. */
.f-acc-body:has(.f-ship) { max-width: none; }
.f-ship { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr); gap: var(--f-space-5); margin: var(--f-space-2) 0 var(--f-space-5); }
.f-ship-region { display: flex; flex-direction: column; padding: var(--f-space-6); border: 1px solid var(--f-sand); border-radius: var(--f-radius-panel); }
.f-ship-region--main { background: var(--f-ivory-deep); border-color: transparent; }
.f-ship-head { display: flex; align-items: center; gap: var(--f-space-3); margin-bottom: var(--f-space-5); }
.f-ship-icon { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border: 1px solid var(--f-line-strong); border-radius: 50%; color: var(--f-petrol); }
.f-acc-body .f-ship h3 { margin: 0; font-size: 1rem; }
.f-ship-facts { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--f-space-4); margin: 0; }
.f-ship-region--main .f-ship-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--f-space-6); }
.f-ship-facts dt { margin: 0 0 2px; font-size: var(--f-text-xs); font-weight: 600; letter-spacing: var(--f-tracking-eyebrow); text-transform: uppercase; color: var(--f-taupe-deep); }
.f-ship-facts dd { margin: 0; font-size: 1.0625rem; font-weight: 500; line-height: 1.4; color: var(--f-petrol); }
.f-ship-region--main .f-ship-facts dd { font-size: 1.5rem; line-height: 1.3; }
.f-acc-body .f-ship-note { margin: auto 0 0; padding-top: var(--f-space-5); font-size: var(--f-text-xs); line-height: 1.6; color: var(--f-taupe-deep); }
.f-acc-body .f-ship-region--main .f-ship-note { font-size: var(--f-text-sm); font-weight: 600; color: var(--f-petrol); }
.f-acc-body .f-ship-foot { margin: 0; font-size: var(--f-text-sm); color: var(--f-taupe-deep); }
@media (max-width: 999.98px) {
  .f-ship { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--f-space-4); }
  .f-ship-region--main { grid-column: 1 / -1; }
}
@media (max-width: 599.98px) {
  .f-ship { grid-template-columns: minmax(0, 1fr); }
  .f-ship-region { padding: var(--f-space-5); }
  /* Mobil in allen drei Flaechen dieselbe Spaltenteilung (Lieferzeit breiter als Lieferkosten), damit die Werte nicht
     aneinanderstossen und die Spalten ueber die Flaechen hinweg auf einer Kante stehen. */
  .f-ship .f-ship-region .f-ship-facts { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: var(--f-space-4); }
  .f-ship-region--main .f-ship-facts dd { font-size: 1.125rem; }
  .f-ship-facts dd { font-size: 1rem; white-space: nowrap; }
  /* Zeile unter den Flaechen mobil gestapelt: Hinweis, darunter der Link */
  .f-acc-body .f-ship-foot { display: flex; flex-direction: column; align-items: flex-start; gap: var(--f-space-2); }
  .f-ship-foot-sep { display: none; }
}
/* Sehr schmale Handys (unter 350 px): Lieferzeit und Lieferkosten untereinander, nebeneinander reicht der Platz nicht */
@media (max-width: 349.98px) {
  .f-ship .f-ship-region .f-ship-facts { grid-template-columns: minmax(0, 1fr); gap: var(--f-space-3); }
}
}
.f-pdp-ship { margin: 0 0 var(--f-space-4); }
.f-pdp-ship > div {
  display: grid; grid-template-columns: minmax(120px, 160px) minmax(0, 1fr); gap: var(--f-space-4);
  padding: var(--f-space-3) 0; border-bottom: 1px solid var(--f-ivory-deep);
}
.f-pdp-ship > div:last-child { border-bottom: 0; }
.f-pdp-ship dt { margin: 0; font-size: var(--f-text-xs); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--f-taupe-deep); padding-top: 0.2em; }
.f-pdp-ship dd { margin: 0; }

/* "Passt dazu": kompakte Hochformatkarten mit feiner Einfassung, gleiche Hoehe, Link unten buendig */
.f-pdp-related { margin: clamp(3rem, 2rem + 4vw, 6rem) auto 0; }
/* "Passt dazu" als Band mit der Kartenreihe der Startseite; Ueberschrift kleiner als dort, damit sie unter der H1 der Produktseite bleibt */
/* Fussnote der Produktkarten (inc/shop-archive.php 8a): Sternchen am Preis, Hinweis einmal unter der Reihe */
/* dezent (Inhaber 21.11.2026): klein, hoch gestellt, hell, direkt am Betrag */
.f-star { margin-left: 1px; font-size: 0.55em; font-weight: 400; vertical-align: 0.7em; line-height: 0; color: var(--f-taupe); }
.f-card-footnote:not(#_) { margin: var(--f-space-6) 0 0; font-size: var(--f-text-xs); line-height: 1.5; color: var(--f-taupe-deep); }
.f-card-footnote a { color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--f-taupe); }
.f-card-footnote a:hover { color: var(--f-petrol); }
.f-sortiment.f-pdp-related .f-sortiment-title:not(#_) { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); }
/* Nur auf der Produktseite (Inhaber 21.11.2026): kein getoentes Band, dafuer die Karten selbst getoent; die Startseite bleibt unveraendert */
.f-sortiment.f-pdp-related { background: none; padding-block: clamp(3rem, 2rem + 4vw, 5.5rem) clamp(3rem, 1.5rem + 6vw, 6.5rem); }   /* oben derselbe Abstand wie ueber dem Akkordeon */
.f-pdp-related .f-pcard:not(#_) { background: var(--f-ivory-deep); }
.f-pdp-related .f-pcard-media { background: var(--f-sand); }
.f-pdp-related-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: var(--f-space-4);
  margin: 0 0 var(--f-space-6);
}
.f-pdp-related-title { margin: 0; font-size: var(--f-h3); font-weight: 500; }
.f-rel-list {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--f-space-6);
  align-items: stretch;
  margin: 0; padding: 0; list-style: none;
}
.f-rel-card {
  display: flex; flex-direction: column; margin: 0;
  background: var(--f-white);
  border: 1px solid var(--f-sand);
  border-radius: var(--f-radius-md);
  overflow: hidden;
  transition: border-color var(--f-transition);
}
@media (hover: hover) { .f-rel-card:hover { border-color: var(--f-taupe); } }
.f-rel-media {
  display: block; aspect-ratio: 1 / 1; overflow: hidden;
  background: var(--f-ivory-deep);
}
.f-rel-media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 500ms ease; }
@media (hover: hover) { .f-rel-card:hover .f-rel-media img { transform: scale(1.03); } }
.f-rel-body { display: flex; flex-direction: column; flex: 1 1 auto; padding: var(--f-space-4) var(--f-space-5) var(--f-space-5); }
.f-rel-title { margin: 0; font-family: var(--f-font-text); font-weight: 500; font-size: 0.9375rem; line-height: 1.4; }
.f-rel-title a { color: var(--f-petrol); text-decoration: none; }
.f-rel-title a:hover { color: var(--f-taupe-deep); }
/* D6.2: ganze Karte klickbar – der Titel-Link wird per ::after ueber die Karte gestreckt; der GM-Link "Versandkosten"
   bleibt darueber bedienbar (z-index). */
.f-rel-card { position: relative; }
.f-rel-title a.f-rel-stretch::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.f-rel-title a.f-rel-stretch:focus-visible { outline: none; }
.f-rel-card:has(a.f-rel-stretch:focus-visible) { outline: 2px solid var(--f-petrol); outline-offset: 2px; }
.f-rel-card .f-price-note a { position: relative; z-index: 2; }
.f-rel-card .price {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 0.5em;
  margin: var(--f-space-4) 0 0;
  font-family: var(--f-font-text); font-weight: 600; font-size: 1rem; line-height: 1.2;
  font-variant-numeric: tabular-nums; color: var(--f-petrol);
}
.f-rel-card .price ins { order: 1; text-decoration: none; }
.f-rel-card .price del { order: 2; font-size: var(--f-text-xs); font-weight: 400; color: var(--f-taupe-deep); text-decoration-color: var(--f-taupe); }
.f-rel-card .price small:empty { display: none; }
.f-rel-card .f-price-info { margin: 2px 0 0; }
.f-rel-card .f-price-note, .f-rel-card .f-price-ppu { margin: 0; font-size: 0.6875rem; line-height: 1.5; color: var(--f-taupe); }
.f-rel-card .f-price-note a { color: var(--f-taupe); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--f-sand); }
.f-rel-card .f-price-note a:hover { color: var(--f-petrol); }
.f-rel-card .f-price-info { margin-top: auto; padding-top: 4px; }   /* Hinweis buendig unten, gleiche Kartenhoehe */

/* Tablet/Mobil: Bild und Kaufbereich untereinander, Karten als Karussell */
@media (max-width: 999px) {
  .single-product .product-entry-wrapper { grid-template-columns: minmax(0, 1fr); row-gap: var(--f-space-6); align-items: start; }
  .single-product .woocommerce-product-gallery { max-width: min(100%, 440px); margin: 0 auto; }
  .single-product .entry-summary { max-width: none; }
  .f-rel-list {
    display: flex; gap: var(--f-space-4);
    overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scroll-padding-left: 0;
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
    padding: 2px 2px var(--f-space-2);
  }
  .f-rel-list::-webkit-scrollbar { display: none; }
  .f-rel-card { flex: 0 0 44%; scroll-snap-align: start; }
}
@media (max-width: 689px) {
  .single-product .product-entry-wrapper { margin-top: var(--f-space-2); row-gap: var(--f-space-5); }
  .f-pdp-assure { grid-template-columns: minmax(0, 1fr); justify-content: stretch; gap: var(--f-space-3); }
  .single-product .woocommerce-product-gallery { max-width: 100%; }
  .single-product .entry-summary .product_title { font-size: 1.625rem; }
  .f-pdp-buy { flex-wrap: wrap; }
  .f-pdp-buy .ct-product-add-to-cart { flex: 1 1 calc(100% - var(--f-pdp-control) - 10px); }
  .f-pdp-buy .quantity[data-type] { width: 120px; flex-basis: 120px; grid-template-columns: 38px 1fr 38px; }
  .f-pdp-buy .single_add_to_cart_button { padding: 0 var(--f-space-4); }
  .f-acc-trigger { min-height: 60px; padding: 16px 0; font-size: 1.25rem; }
  .f-rel-card { flex-basis: 76%; }
  .f-rel-body { padding: var(--f-space-4); }
  .f-pdp-ship > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
}
/* Schmale Smartphones: Kaufleiste zweizeilig – Menge links, Herz rechts oben, Button volle Breite darunter */
@media (max-width: 479px) {
  .f-pdp-buy { position: relative; }
  .f-pdp-buy .ct-product-add-to-cart { flex: 1 1 100%; }
  .f-pdp-buy .ct-cart-actions { flex-wrap: wrap; }
  .f-pdp-buy .quantity[data-type] { width: 132px; flex-basis: 132px; grid-template-columns: 44px 1fr 44px; }
  .f-pdp-buy .single_add_to_cart_button { flex: 1 1 100%; padding: 0 var(--f-space-4); }
  .f-pdp-buy .yith-wcwl-add-to-wishlist { position: absolute; top: 0; right: 0; }
  .f-pdp-buy .f-pdp-unavailable { flex-basis: calc(100% - var(--f-pdp-control) - 10px); }
}
@media (prefers-reduced-motion: reduce) {
  .f-acc-panel, .f-acc-caret, .f-rel-media img, .f-acc-body, .f-rel-card { transition: none !important; }
}

/* =========================================================================
   8b. AP9 Paket 2: Icons im Fliesstext, B2B-Hinweis im Kundenkonto (Feinschliff folgt in D7)
   ========================================================================= */
.f-icon-inline { vertical-align: -0.15em; margin-right: 0.35em; fill: currentColor; }
.woocommerce-MyAccount-content .fb2b-hint { margin-top: var(--f-space-5); }
.fb2b-note { margin: 0 0 var(--f-space-5); }
.fb2b-hint a { color: var(--f-petrol); text-decoration: underline; text-underline-offset: 2px; }

/* =========================================================================
   9. Mobile Feinschliff
   ========================================================================= */
@media (max-width: 689px) {
  :root { --theme-button-padding: 0 22px; }
  .f-quote { font-size: var(--f-h3); }
  .f-sg-form .ct-button, .f-sg-form button { width: 100%; }
}

/* =========================================================================
   15. Warenkorb, Kasse, Kundenkonto (D7, 11.11.2026; Referenzen des Inhabers)
   Markup: Blocksy/WooCommerce unveraendert, Ergaenzungen aus inc/shop-flow.php (f-steps, f-coupon,
   f-trust, f-dash). Flaechen: --f-surface, --f-radius-surface, --f-shadow-surface (Abschnitt 6).
   Icons per CSS-Maske aus assets/icons/phosphor (Farbe = currentColor).
   ========================================================================= */

/* 15.0 Hintergrund, Seitenkopf, gemeinsame Bausteine ---------------------- */
:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account, .woocommerce-wishlist) .site-main {
  background:
    linear-gradient(118deg, rgba(255, 255, 255, 0) 52%, rgba(255, 255, 255, 0.55) 62%, rgba(255, 255, 255, 0) 73%),
    radial-gradient(70% 55% at 100% 100%, rgba(231, 223, 211, 0.8), rgba(231, 223, 211, 0) 70%),
    radial-gradient(50% 40% at 0% 0%, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0) 70%),
    linear-gradient(180deg, #FBF8F4 0%, var(--f-ivory) 55%, var(--f-ivory-deep) 100%);
}
:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account, .woocommerce-wishlist) .hero-section[data-type="type-1"] {
  padding-block: 0;
  margin-bottom: var(--f-space-8);
  --margin-bottom: var(--f-space-8);
}
:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account, .woocommerce-wishlist) .hero-section[data-type="type-1"] .entry-header { text-align: left; }
:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account, .woocommerce-wishlist) .hero-section .page-title {
  margin: 0;
  font-size: clamp(2.25rem, 1.7rem + 1.8vw, 3.375rem);   /* 36 -> 54px */
  line-height: 1.08;
}
.f-page-sub {
  margin: 10px 0 0;
  font-family: var(--f-font-text); font-size: 1.0625rem; line-height: 1.5;
  color: var(--f-petrol);
}
.f-panel,
.ct-woocommerce-cart-form .cart_totals,
table.woocommerce-cart-form__contents,
.ct-woocommerce-checkout .ct-customer-details,
.ct-woocommerce-checkout .ct-order-review,
.ct-acount-nav,
.woocommerce-account:not(.woocommerce-dashboard, .woocommerce-view-order) .woocommerce-MyAccount-content {
  background: var(--f-surface);
  border: 1px solid var(--f-white);
  border-radius: var(--f-radius-surface);
  box-shadow: var(--f-shadow-surface);
}
.f-panel { padding: 28px 32px 32px; }
.f-panel > h2 {
  display: flex; align-items: center; gap: 14px;
  margin: 0 0 var(--f-space-5);
  font-size: 1.75rem; line-height: 1.2;
}
.f-panel > h2 .f-icon { flex: none; }

/* Outline-Button (Details ansehen, Warenkorb aktualisieren) */
.f-btn-outline:not(#_), .woocommerce-cart-form__contents .actions button[name="update_cart"] {
  --theme-button-min-height: var(--f-btn-h-md); --theme-button-padding: 0 20px;
  --theme-button-background-initial-color: transparent; --theme-button-background-hover-color: var(--f-petrol);
  --theme-button-text-initial-color: var(--f-petrol); --theme-button-text-hover-color: var(--f-ivory);
  gap: 10px;
  border: 1px solid var(--f-petrol);
  background: transparent; color: var(--f-petrol);
  text-decoration: none;
}
.f-btn-outline:not(#_):hover, .woocommerce-cart-form__contents .actions button[name="update_cart"]:hover { background: var(--f-petrol); color: var(--f-ivory); }

/* Schloss im Bestellbutton (::before nutzt Blocksy fuer den Hover-Effekt) */
.checkout-button::after, #place_order::after {
  content: ""; order: -1; flex: none;
  width: 20px; height: 20px; margin-right: 10px;
  background: currentColor;
  -webkit-mask: url("assets/icons/phosphor/lock.svg") center / contain no-repeat;
          mask: url("assets/icons/phosphor/lock.svg") center / contain no-repeat;
}

/* Summenzeilen in Warenkorb und Kasse. Die Tabellen werden als Block mit Flex-Zeilen dargestellt (Markup bleibt
   eine Tabelle): Bezeichnung links, Betrag rechts, kein Umbruch der Betraege; Gesamtsumme als getoente Flaeche. */
:is(.cart_totals, .ct-order-review) table.shop_table:not(#_) {
  --theme-table-border-width: 0; --theme-table-padding: 0; --theme-table-font-size: 1rem;
  display: block; width: 100%; margin: 0; border: 0;
}
:is(.cart_totals, .ct-order-review) table.shop_table :is(tbody, tfoot) { display: block; }
:is(.cart_totals, .ct-order-review) table.shop_table tr {
  --theme-table-border-width: 0;
  display: flex; align-items: baseline; justify-content: space-between; gap: 2px 16px;
  padding: 7px 0;
}
:is(.cart_totals, .ct-order-review) table.shop_table tr > :is(th, td):not(#_) {
  display: block; width: auto; padding: 0; border: 0;
  font-size: 1rem; line-height: 1.5; text-align: left;
}
:is(.cart_totals, .ct-order-review) table.shop_table tr > td:not(#_)::before { content: none; }
:is(.cart_totals table.shop_table, .ct-order-review table.shop_table tfoot) th:not(#_) { font-weight: 400; color: var(--f-petrol); }
:is(.cart_totals table.shop_table, .ct-order-review table.shop_table tfoot) td:not(#_) {
  margin-left: auto; text-align: right; font-weight: 600; font-variant-numeric: tabular-nums;
}
:is(.cart_totals, .ct-order-review) table.shop_table .woocommerce-Price-amount { white-space: nowrap; }
/* Versand: Bezeichnung links, gewaehlte Versandart rechts, Hinweis darunter */
:is(.cart_totals, .ct-order-review) table.shop_table tr.shipping > td:not(#_) {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 16px;
  flex: 1; margin: 0; text-align: left; font-weight: 400;
}
:is(.cart_totals, .ct-order-review) .shipping .ct-shipping-heading { margin: 0; font-weight: 400; }
:is(.cart_totals, .ct-order-review) .shipping ul:not(#_) { margin: 0 0 0 auto; padding: 0; list-style: none; text-align: right; }
:is(.cart_totals, .ct-order-review) .shipping ul li { margin: 0; max-width: none; }
:is(.cart_totals, .ct-order-review) .shipping ul label:not(#_) {
  font-size: 1rem; font-weight: 600; line-height: 1.5;
  letter-spacing: 0; text-transform: none; color: var(--f-petrol);
}
:is(.cart_totals, .ct-order-review) .shipping .woocommerce-shipping-destination {
  flex-basis: 100%; margin: 2px 0 0;
  font-size: 0.8125rem; line-height: 1.5; color: var(--f-taupe-deep);
}
/* Fortschritt bis zum kostenlosen Versand (inc/woocommerce-snippets.php, Snippet 13): eine Textzeile mit
   Lieferwagen und ein feiner Balken. Warenkorb: erste Zeile der Produktliste. Kasse: unter der Versandzeile. */
.f-ship-progress-text {
  display: flex; align-items: center; gap: 10px;
  margin: 0; max-width: none;
  font-size: 0.875rem; font-weight: 400; line-height: 1.4; color: var(--f-petrol);
}
.f-ship-progress-text .f-icon { flex: none; }
.f-ship-progress-text strong, .f-ship-progress-text .woocommerce-Price-amount { font-weight: 700; white-space: nowrap; }
.f-ship-progress-bar { height: 4px; margin-top: 10px; border-radius: 99px; background: var(--f-sand); overflow: hidden; }
.f-ship-progress-bar > span { display: block; height: 100%; border-radius: inherit; background: var(--f-petrol); }
.f-ship-progress.is-reached .f-ship-progress-bar { display: none; }
.f-ship-progress.is-reached .f-icon { color: var(--f-success); }
:is(.cart_totals, .ct-order-review) table.shop_table tr.facilite-free-shipping-hint { padding: 4px 0 8px; }
:is(.cart_totals, .ct-order-review) table.shop_table tr.facilite-free-shipping-hint > td:not(#_) { flex: 1; margin: 0; text-align: left; font-weight: 400; }
/* Gewerbenachweis im Antrag auf das Profikonto (MU-Plugin facilite-b2b-workflow.php ab 1.4.0) */
.fb2b-upload > label { display: block; margin-bottom: 8px; }
.fb2b-upload .woocommerce-input-wrapper { display: block; }
/* ohne Skript: Dateifeld des Browsers in ruhiger Fassung */
.fb2b-upload:not(.is-enhanced) input[type="file"]:not(#_) { display: block; box-sizing: border-box; width: 100%; height: auto; min-height: 68px; padding: 11px 14px 11px 12px; border: 1px dashed var(--f-line-strong); border-radius: var(--f-radius-field); background: rgba(255, 255, 255, 0.55); font: inherit; font-size: var(--f-text-sm); line-height: 44px; color: var(--f-taupe-deep); cursor: pointer; }
.fb2b-upload:not(.is-enhanced) input[type="file"]::file-selector-button { height: 44px; margin: 0 14px 0 0; padding: 0 18px; border: 0; border-radius: 10px; background: var(--f-ivory-deep); font: inherit; font-size: var(--f-text-sm); font-weight: 600; line-height: 44px; color: var(--f-petrol); cursor: pointer; }
.fb2b-upload .fb2b-upload-hint { display: block; margin-top: 8px; font-size: var(--f-text-sm); line-height: 1.45; color: var(--f-taupe-deep); }
.fb2b-upload .fb2b-upload-hint[hidden] { display: none; }
/* mit Skript (assets/js/upload.js): Ablageflaeche, danach Karte der gewaehlten Datei */
.f-upload { display: block; }
.f-upload [hidden] { display: none !important; }
.f-upload-drop:not(#_) { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; margin: 0; padding: 26px 20px 24px; border: 1.5px dashed var(--f-line-strong); border-radius: var(--f-radius-panel); background: rgba(255, 255, 255, 0.6); text-align: center; text-transform: none; letter-spacing: 0; font-weight: 400; cursor: pointer; transition: border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease; }
.f-upload-drop:hover, .f-upload.is-over .f-upload-drop { border-color: var(--f-petrol); background: var(--f-white); }
.f-upload.is-over .f-upload-drop { border-style: solid; box-shadow: var(--f-shadow-focus); }
.f-upload-drop:focus-within { border-color: var(--f-petrol); box-shadow: var(--f-shadow-focus); }
.f-upload-input:not(#_) { position: absolute; width: 1px; height: 1px; min-height: 0; margin: 0; padding: 0; border: 0; opacity: 0; overflow: hidden; clip-path: inset(50%); }
.f-upload-icon { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%; background: var(--f-ivory-deep); color: var(--f-petrol); transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease; }
.f-upload-drop .f-upload-icon { margin-bottom: 6px; }
.f-upload-drop:hover .f-upload-icon, .f-upload.is-over .f-upload-icon { background: var(--f-petrol); color: var(--f-white); }
.f-upload.is-over .f-upload-icon { transform: translateY(-2px); }
.f-upload-text { font-size: var(--f-text-base); line-height: 1.4; color: var(--f-petrol); }
.f-upload-text strong { font-weight: 600; }
.f-upload-pick { font-weight: 600; text-decoration: underline; text-decoration-color: var(--f-taupe); text-underline-offset: 3px; }
.f-upload-sub { max-width: 34em; font-size: var(--f-text-sm); line-height: 1.45; color: var(--f-taupe-deep); }
.f-upload-file { display: flex; align-items: center; gap: 14px; padding: 12px 14px 12px 12px; border: 1px solid var(--f-line-strong); border-radius: var(--f-radius-panel); background: var(--f-white); }
.f-upload-meta { display: flex; flex: 1; flex-direction: column; min-width: 0; }
.f-upload-name { overflow: hidden; font-size: var(--f-text-base); font-weight: 600; line-height: 1.35; color: var(--f-petrol); text-overflow: ellipsis; white-space: nowrap; }
.f-upload-info { font-size: var(--f-text-sm); line-height: 1.4; color: var(--f-taupe-deep); }
.f-upload-ok { display: inline-flex; flex: none; color: var(--f-success); }
.f-upload-remove:not(#_) { flex: none; min-height: 0; height: var(--f-btn-h-sm); padding: 0 14px; border: 0; border-radius: 10px; background: transparent; box-shadow: none; font: inherit; font-size: var(--f-text-sm); font-weight: 600; text-transform: none; letter-spacing: 0; color: var(--f-taupe-deep); cursor: pointer; transition: background-color 0.15s ease, color 0.15s ease; }
.f-upload-remove:not(#_):hover, .f-upload-remove:not(#_):focus-visible { background: var(--f-ivory-deep); color: var(--f-petrol); }
.f-upload.has-error .f-upload-drop { border-color: var(--f-error); }
.f-upload-error:not(#_) { margin: 8px 0 0; font-size: var(--f-text-sm); line-height: 1.45; color: var(--f-error); }
@media (max-width: 480px) {
  .f-upload-drop:not(#_) { padding: 22px 16px 20px; }
  .f-upload-text strong { display: block; }
  .f-upload-file { gap: 10px; padding: 10px; }
  .f-upload-ok { display: none; }
  .f-upload-name { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; white-space: normal; overflow-wrap: anywhere; }
  .f-upload-remove:not(#_) { padding: 0 10px; }
}
/* USt-IdNr. an der Kasse (inc/vat-exempt.php): das Haekchen des Feldes genuegt, das Zeichen des Zusatzes entfaellt; Fehlertext bleibt */
#billing_vat_field :is(.correct-badge, .spinner-badge) { display: none !important; }
#billing_vat_field .error-badge { grid-area: 3 / 1; padding: 0 16px 10px; font-size: var(--f-text-sm); color: var(--f-error, #a33a2a); }
/* Hinweis auf Einfuhrabgaben bei Lieferung in die Schweiz (Snippet 13a) */
.f-customs-hint { margin: 0; padding: 10px 12px; border: 1px solid var(--f-sand); border-radius: var(--f-radius-field); font-size: var(--f-text-sm); line-height: 1.5; color: var(--f-petrol); }
.f-customs-hint strong { font-weight: 600; }
.f-customs-hint a { text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }
table.woocommerce-cart-form__contents tr.f-ship-progress-row > td:not(#_) { padding: 20px 0 18px; border-bottom: 1px solid var(--f-sand); }
:is(.cart_totals, .ct-order-review) table.shop_table tr.order-total {
  align-items: flex-start;
  margin-top: 10px; padding: 16px 18px;
  border-radius: 14px;
  background: var(--f-ivory-deep);
}
:is(.cart_totals, .ct-order-review) table.shop_table tr.order-total th:not(#_) {
  font-family: var(--f-font-text); font-size: var(--f-title-ui-size); font-weight: 600; line-height: 1.35; white-space: nowrap;
}
:is(.cart_totals, .ct-order-review) table.shop_table tr.order-total td strong { font-size: 1.5rem; font-weight: 700; line-height: 1.2; }
:is(.cart_totals, .ct-order-review) table.shop_table .wgm-tax {
  display: block; margin-top: 2px;
  font-size: 0.8125rem; font-weight: 400; line-height: 1.45; color: var(--f-taupe-deep);
}
:is(.cart_totals, .ct-order-review) table.shop_table .wgm-tax .woocommerce-Price-amount { font-weight: 400; }
:is(.cart_totals, .ct-order-review) table.shop_table br.wgm-break { display: none; }
:is(.cart_totals, .ct-order-review) .woocommerce-remove-coupon { margin-left: 6px; font-size: 0.8125rem; font-weight: 400; }

/* 15.1 Warenkorb ----------------------------------------------------------- */
.ct-woocommerce-cart-form { position: relative; gap: 28px; align-items: start; }
@media (min-width: 1000px) {
  .ct-woocommerce-cart-form { grid-template-columns: minmax(0, 2.05fr) minmax(0, 1fr); }
}
/* Formular ohne eigene Box: Unterzeile, Produktliste und Summen liegen im selben Raster */
.ct-woocommerce-cart-form > form.woocommerce-cart-form { display: contents; }
/* Unterzeile dicht am Titel; Meldungen von WooCommerce stehen dazwischen und behalten ihren Abstand */
.woocommerce-cart .hero-section[data-type="type-1"] { margin-bottom: 10px; --margin-bottom: 10px; }
.ct-woocommerce-cart-form .f-cart-sub { grid-column: 1 / -1; margin: 0 0 4px; }
.ct-woocommerce-cart-form > :is(.woocommerce-notices-wrapper, .woocommerce-error, .woocommerce-message, .woocommerce-info, .f-trust, .cross-sells) { grid-column: 1 / -1; }

table.woocommerce-cart-form__contents:not(#_) {
  --theme-table-padding: 0; --theme-table-border-width: 0;
  display: block; margin: 0; padding: 4px 28px;
}
table.woocommerce-cart-form__contents thead {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
table.woocommerce-cart-form__contents tbody { display: block; }
table.woocommerce-cart-form__contents tr { --theme-table-border-width: 0; display: block; }
table.woocommerce-cart-form__contents tr > td:not(#_) { display: block; width: auto; max-width: none; padding: 0; border: 0; }
table.woocommerce-cart-form__contents tr.cart_item {
  display: grid; grid-template-columns: 96px minmax(0, 1fr); column-gap: 18px; align-items: start;
  padding: 22px 0;
  border-bottom: 1px solid var(--f-sand);
}
table.woocommerce-cart-form__contents .product-thumbnail .ct-media-container { display: block; border-radius: 14px; overflow: hidden; background: var(--f-ivory-deep); }
table.woocommerce-cart-form__contents .product-thumbnail img { display: block; width: 100%; height: auto; border-radius: 0; }
table.woocommerce-cart-form__contents td.product-name,
table.woocommerce-cart-form__contents td.product-name > a {
  font-family: var(--f-font-text); font-size: var(--f-name-size); font-weight: var(--f-name-weight); line-height: var(--f-name-lh);
  color: var(--f-petrol); text-decoration: none;
}
table.woocommerce-cart-form__contents td.product-name > :is(div, p, dl) { font-family: var(--f-font-text); font-weight: 400; }
table.woocommerce-cart-form__contents .facilite-cart-delivery { margin-top: 4px; line-height: 1.4; }
table.woocommerce-cart-form__contents .facilite-cart-delivery small { font-size: 0.8125rem; color: var(--f-taupe-deep); }
table.woocommerce-cart-form__contents td.product-name .price {
  --theme-font-size: 0.9375rem;
  margin: 6px 0 0; font-size: 0.9375rem; line-height: 1.45; color: var(--f-taupe-deep);
}
table.woocommerce-cart-form__contents .price-per-unit { display: block; font-size: 0.8125rem; color: var(--f-taupe-deep); }
table.woocommerce-cart-form__contents .product-mobile-actions { font-size: 0.9375rem; font-weight: 600; flex-wrap: wrap; }
table.woocommerce-cart-form__contents .product-mobile-actions .price-per-unit { display: none; }
table.woocommerce-cart-form__contents td.product-subtotal {
  text-align: right;
  font-size: 1.125rem; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--f-petrol);
}
/* Entfernen: Papierkorb statt Kreuz */
table.woocommerce-cart-form__contents .remove {
  display: inline-grid; place-items: center;
  width: 40px; height: 40px; padding: 0;
  border-radius: 50%;
  color: var(--f-petrol);
  transition: background-color var(--f-transition), color var(--f-transition);
}
table.woocommerce-cart-form__contents .remove svg { display: none; }
table.woocommerce-cart-form__contents .remove::before {
  content: ""; width: 22px; height: 22px;
  background: currentColor;
  -webkit-mask: url("assets/icons/phosphor/trash.svg") center / contain no-repeat;
          mask: url("assets/icons/phosphor/trash.svg") center / contain no-repeat;
}
table.woocommerce-cart-form__contents .remove:hover { background: var(--f-ivory-deep); color: var(--f-error); }
/* Unter 1000 px zeigt Blocksy Menge und Entfernen in der Namenszelle (.product-mobile-actions).
   D7.1: Die Namenszelle loest sich im Raster der Zeile auf (display: contents), damit die Bedienzeile die volle
   Breite bekommt: Bild | Name, Einzelpreis mit Grundpreis, Lieferzeit; darunter Menge und Papierkorb links,
   Zeilensumme rechts (eigene Zelle, liegt in derselben Rasterzeile). */
@media (max-width: 999.98px) {
  table.woocommerce-cart-form__contents tr.cart_item > :is(.product-quantity, .product-remove):not(#_) { display: none; }
  table.woocommerce-cart-form__contents tr.cart_item {
    grid-template-columns: 88px minmax(0, 1fr); grid-template-rows: auto auto 1fr auto;
    column-gap: 16px; padding: 18px 0;
  }
  table.woocommerce-cart-form__contents tr.cart_item > td.product-thumbnail:not(#_) { grid-column: 1; grid-row: 1 / span 3; }
  table.woocommerce-cart-form__contents tr.cart_item > td.product-name:not(#_) { display: contents; }
  table.woocommerce-cart-form__contents td.product-name > .price:not(#_) { display: block !important; grid-column: 2; grid-row: 2; margin-top: 4px; }
  table.woocommerce-cart-form__contents td.product-name > .facilite-cart-delivery { grid-column: 2; grid-row: 3; }
  table.woocommerce-cart-form__contents td.product-name > .product-mobile-actions:not(#_) {
    grid-column: 1 / -1; grid-row: 4;
    display: flex; flex-wrap: nowrap; align-items: center; gap: 4px;
    margin: 14px 0 0; padding: 0;
  }
  table.woocommerce-cart-form__contents .product-mobile-actions > :is(.ct-product-multiply-symbol, .woocommerce-Price-amount, .price-per-unit) { display: none; }
  table.woocommerce-cart-form__contents .product-mobile-actions > .remove:not(#_) { margin: 0 0 0 4px; }
  table.woocommerce-cart-form__contents tr.cart_item > td.product-subtotal:not(#_) {
    grid-column: 1 / -1; grid-row: 4; justify-self: end; align-self: center;
    margin-top: 14px; pointer-events: none;
  }
}
@media (min-width: 1000px) {
  table.woocommerce-cart-form__contents tr.cart_item {
    grid-template-columns: 112px minmax(0, 1fr) auto 104px 40px;
    column-gap: 20px; align-items: center;
  }
}
/* Fusszeile der Liste: Weiter einkaufen | Gutschein einloesen (klappt Feld und Button auf) | Warenkorb aktualisieren */
table.woocommerce-cart-form__contents td.actions:not(#_) { padding: 16px 0; }
.woocommerce-cart-form__contents .ct-cart-form-actions { align-items: center; gap: 8px 32px; }
.woocommerce-cart-form__contents .ct-cart-form-actions .f-cart-continue { order: -2; }
.woocommerce-cart-form__contents .ct-cart-form-actions button[name="update_cart"] { margin-left: auto; }
.woocommerce-cart-form__contents .actions button[name="update_cart"]:not(#_) { --theme-button-min-height: var(--f-btn-h-sm); --theme-button-padding: 0 16px; font-size: 0.75rem; }
/* Gutschein in der Bestelluebersicht zwischen Lieferung und Gesamtsumme, immer sichtbar (Inhaber 25.11.2026;
   inc/shop-flow.php, assets/js/cart-coupon.js): Rahmen wie ein Eingabefeld, Button rechts im Feld, Meldung darunter. */
.cart_totals table.shop_table tr.f-coupon-row:not(#_) { display: block; padding: 10px 0 14px; }
.cart_totals table.shop_table tr.f-coupon-row > td:not(#_) { margin: 0; text-align: left; font-weight: 400; }
.cart_totals .f-cart-coupon { margin: 0; }
.cart_totals .f-coupon-field {
  display: flex; align-items: center; gap: 8px;
  height: var(--f-field-h); padding: 0 6px 0 16px;
  background: var(--f-white); border: 1px solid var(--f-line-strong); border-radius: var(--f-radius-field);
  transition: border-color var(--f-transition);
}
.cart_totals .f-coupon-field:hover { border-color: var(--f-taupe); }
.cart_totals .f-coupon-field:focus-within { border-color: var(--f-petrol); }
.cart_totals .f-coupon-field .input-text:not(#_) {
  flex: 1 1 0; width: auto; min-width: 0; height: 100%; padding: 0;
  background: transparent; border: 0; border-radius: 0; box-shadow: none; outline: none;
}
.cart_totals .f-coupon-field .button:not(#_) {
  --theme-button-min-height: 40px; --theme-button-padding: 0 16px;
  --theme-button-background-initial-color: var(--f-sand); --theme-button-text-initial-color: var(--f-petrol);
  --theme-button-background-hover-color: var(--f-petrol); --theme-button-text-hover-color: var(--f-white);
  flex: none; width: auto; border-radius: 8px; font-size: 0.75rem;
}
.f-coupon-toggle:not(#_), .woocommerce-checkout .showcoupon:not(#_) {
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; margin: 0; padding: 0;
  font-size: 1rem; font-weight: 400; line-height: 1.3;
  letter-spacing: 0; text-transform: none; text-decoration: none;
  color: var(--f-petrol); cursor: pointer;
}
.f-coupon-toggle > span { text-decoration: underline; text-decoration-color: var(--f-taupe); text-decoration-thickness: 1px; text-underline-offset: 4px; }
.f-coupon-toggle:hover > span { text-decoration-color: var(--f-petrol); }
.f-coupon-toggle .f-coupon-check:not(#_) { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.f-coupon-toggle:has(.f-coupon-check:focus-visible) { outline: 2px solid var(--f-petrol); outline-offset: 3px; border-radius: 6px; }
.f-coupon-toggle .f-coupon-caret { transition: transform var(--f-transition); }
.f-coupon-toggle:has(.f-coupon-check:checked) .f-coupon-caret { transform: rotate(180deg); }
.f-cart-continue:not(#_) {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 44px;
  font-size: 1rem; color: var(--f-petrol);
  text-decoration: none;
}
.f-cart-continue span { text-decoration: underline; text-decoration-color: var(--f-taupe); text-decoration-thickness: 1px; text-underline-offset: 4px; }
.f-cart-continue:hover span { text-decoration-color: var(--f-petrol); }

/* Bestelluebersicht */
.ct-woocommerce-cart-form .cart_totals { --cart-totals-padding: 28px 32px 32px; padding: 28px 32px 32px; border: 1px solid var(--f-white); border-radius: var(--f-radius-surface); }
.ct-woocommerce-cart-form .cart_totals h2 { margin: 0 0 var(--f-space-4); font-size: 1.75rem; line-height: 1.2; }
.ct-woocommerce-cart-form .cart_totals .wc-proceed-to-checkout { display: flex; flex-direction: column; margin-top: var(--f-space-5); }
.ct-woocommerce-cart-form .cart_totals .wc-cart-shipping-notice { order: 3; margin: var(--f-space-4) 0 0; line-height: 1.45; color: var(--f-taupe-deep); }
.ct-woocommerce-cart-form .cart_totals .wc-cart-shipping-notice small { display: block; font-size: 0.75rem; line-height: 1.5; }
/* Vertrauensleiste: ohne Flaeche, linksbuendig, feine Linie darueber */
.f-trust:not(#_) {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 32px;
  margin: 36px 0 0; padding: 24px 0 0;
  border-top: 1px solid var(--f-sand);
  list-style: none;
}
.f-trust:not(#_) > li { display: flex; align-items: center; gap: 14px; margin: 0; max-width: none; padding: 0; list-style: none; color: var(--f-petrol); }
.f-trust li::marker { content: none; }
.f-trust .f-icon { flex: none; width: 26px; height: 26px; }
.f-trust li > span { display: block; min-width: 0; text-align: left; }
.f-trust strong { display: block; font-size: 0.9375rem; font-weight: 600; line-height: 1.4; }
.f-trust small { display: block; font-size: 0.8125rem; line-height: 1.45; color: var(--f-taupe-deep); }

/* 15.2 Kasse ---------------------------------------------------------------- */
.woocommerce-checkout .hero-section .entry-header { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 72px; }
.f-steps ol { display: flex; align-items: center; margin: 0; padding: 0; list-style: none; }
.f-steps li { display: flex; align-items: center; gap: 12px; margin: 0; font-size: 0.9375rem; line-height: 1.3; color: var(--f-taupe-deep); }
.f-steps li + li::before { content: ""; flex: none; width: clamp(20px, 5vw, 72px); height: 1px; margin: 0 20px; background: var(--f-line-strong); }
.f-steps li > a { display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
.f-steps li > a:hover .f-step-label { color: var(--f-petrol); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--f-taupe); }
.f-step-dot {
  display: grid; place-items: center; flex: none;
  width: 40px; height: 40px;
  border: 1px solid var(--f-line-strong); border-radius: 50%;
  background: var(--f-surface); color: var(--f-taupe-deep);
}
.f-steps .is-done .f-step-dot { border-color: var(--f-petrol); color: var(--f-petrol); }
.f-steps .is-current .f-step-dot { border-color: var(--f-petrol); background: var(--f-petrol); color: var(--f-ivory); }
.f-steps .is-current .f-step-label { font-weight: 600; color: var(--f-petrol); }

/* Gutschein und Anmeldung oberhalb des Formulars: schlichte Zeilen statt Hinweiskasten; das Gutscheinformular
   klappt WooCommerce auf (Feld und Button nebeneinander). */
.woocommerce-checkout :is(.woocommerce-form-coupon-toggle, .woocommerce-form-login-toggle) .woocommerce-info:not(#_) {
  display: block; min-height: 0; margin: 0 0 6px; padding: 0;
  border: 0; border-radius: 0; background: none; box-shadow: none;
  font-size: 1rem; color: var(--f-petrol);
}
.woocommerce-checkout :is(.woocommerce-form-coupon-toggle, .woocommerce-form-login-toggle) .woocommerce-info::before { content: none; }
.woocommerce-checkout :is(.woocommerce-form-coupon-toggle, .woocommerce-form-login-toggle) { margin-bottom: 10px; }
.woocommerce-checkout .showcoupon:not(#_) { box-shadow: none; text-decoration: underline; text-decoration-color: var(--f-taupe); text-decoration-thickness: 1px; text-underline-offset: 4px; }
.woocommerce-checkout .showcoupon:not(#_):hover { text-decoration-color: var(--f-petrol); }
.woocommerce-checkout .showcoupon::before, .woocommerce-checkout .showcoupon::after {
  content: ""; flex: none; width: 18px; height: 18px;
  background: currentColor;
  -webkit-mask: url("assets/icons/phosphor/tag.svg") center / contain no-repeat;
          mask: url("assets/icons/phosphor/tag.svg") center / contain no-repeat;
}
.woocommerce-checkout .showcoupon::after {
  width: 14px; height: 14px;
  -webkit-mask-image: url("assets/icons/phosphor/caret-down.svg"); mask-image: url("assets/icons/phosphor/caret-down.svg");
  transition: transform var(--f-transition);
}
.woocommerce-checkout .showcoupon[aria-expanded="true"]::after { transform: rotate(180deg); }
.woocommerce-checkout form.checkout_coupon:not(#_) { max-width: 440px; margin: 0 0 var(--f-space-5); padding: 0; border: 0; }
/* Gutscheinfeld der Kasse wie im Warenkorb (25.11.2026): ein Rahmen, Button rechts im Feld, Fehlermeldung darunter.
   Die Zeilen von WooCommerce sind display: contents, damit Feld, Button und die von checkout.js angehaengte
   Meldung (.coupon-error-notice im Absatz des Feldes) Rasterzellen werden; der Rahmen ist ::before der ersten Zeile. */
.woocommerce-checkout form.checkout_coupon:not([style*="none"]) {
  display: grid !important; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: var(--f-field-h) auto; column-gap: 8px;
}
.woocommerce-checkout form.checkout_coupon .form-row:not(#_) { display: contents; }
.woocommerce-checkout form.checkout_coupon .clear { display: none; }
.woocommerce-checkout form.checkout_coupon::before {
  content: ""; grid-row: 1; grid-column: 1 / -1;
  background: var(--f-white); border: 1px solid var(--f-line-strong); border-radius: var(--f-radius-field);
  transition: border-color var(--f-transition);
}
.woocommerce-checkout form.checkout_coupon:hover::before { border-color: var(--f-taupe); }
.woocommerce-checkout form.checkout_coupon:focus-within::before { border-color: var(--f-petrol); }
.woocommerce-checkout form.checkout_coupon:has(.has-error)::before { border-color: var(--f-error); }
.woocommerce-checkout form.checkout_coupon .input-text:not(#_) {
  position: relative; grid-row: 1; grid-column: 1; width: 100%; min-width: 0; height: 100%; padding: 0 0 0 16px;
  background: transparent; border: 0; border-radius: 0; box-shadow: none; outline: none;
}
.woocommerce-checkout form.checkout_coupon .button:not(#_) {
  position: relative; grid-row: 1; grid-column: 2; align-self: center; margin-right: 6px;
  --theme-button-min-height: 40px; --theme-button-padding: 0 16px;
  --theme-button-background-initial-color: var(--f-sand); --theme-button-text-initial-color: var(--f-petrol);
  --theme-button-background-hover-color: var(--f-petrol); --theme-button-text-hover-color: var(--f-white);
  border-radius: 8px; font-size: 0.75rem;
}
.woocommerce-checkout form.checkout_coupon .coupon-error-notice:not(#_) {
  grid-row: 2; grid-column: 1 / -1; margin: 6px 0 0;
  font-size: 0.8125rem; font-weight: 500; line-height: 1.45; color: var(--f-error);
}
/* Eingeloester Gutschein in den Summen (inc/shop-flow.php): Etikett mit Code und Entfernen-Kreuz, rechts der Betrag */
:is(.cart_totals, .ct-order-review) table.shop_table tr.cart-discount { align-items: center; }
.f-coupon-applied {
  display: inline-flex; align-items: center; gap: 6px; padding: 3px 3px 3px 10px;
  background: var(--f-sand); border-radius: 8px; color: var(--f-petrol);
  font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.06em; line-height: 1.4;
}
.f-coupon-applied > .f-icon { flex: none; width: 15px; height: 15px; }
:is(.cart_totals, .ct-order-review) a.f-coupon-remove:not(#_) {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 24px; height: 24px; margin: 0; border-radius: 6px;
  color: var(--f-taupe-deep); text-decoration: none; transition: background-color var(--f-transition), color var(--f-transition);
}
:is(.cart_totals, .ct-order-review) a.f-coupon-remove:hover { background: rgba(27, 42, 50, 0.08); color: var(--f-petrol); }
:is(.cart_totals, .ct-order-review) a.f-coupon-remove:focus-visible { outline: 2px solid var(--f-petrol); outline-offset: 1px; }
.f-coupon-remove .f-icon { width: 12px; height: 12px; }

.ct-woocommerce-checkout { gap: 28px; align-items: start; }
@media (min-width: 1000px) {
  .ct-woocommerce-checkout { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
}
.ct-woocommerce-checkout .ct-customer-details { padding: 32px 36px 36px; }
.ct-woocommerce-checkout .ct-order-review { --order-review-padding: 28px 32px 32px; padding: 28px 32px 32px; border: 1px solid var(--f-white); border-radius: var(--f-radius-surface); }
.ct-woocommerce-checkout h3 { margin: 0 0 var(--f-space-5); font-size: 1.75rem; line-height: 1.2; }
.ct-woocommerce-checkout #ship-to-different-address {
  margin: var(--f-space-6) 0 0; padding-top: var(--f-space-5); border-top: 1px solid var(--f-sand);
  font-family: var(--f-font-text); font-size: 1rem; font-weight: 500; letter-spacing: 0; line-height: 1.5;
}
.ct-woocommerce-checkout .shipping_address { margin-top: var(--f-space-5); }
.ct-woocommerce-checkout .woocommerce-account-fields { margin-top: var(--f-space-2); }
/* Optionen unter den Adressfeldern (Inhaber 25.11.2026: "sehen nicht sauber aus"): "Kundenkonto eroeffnen" und
   "Lieferung an eine andere Adresse" als eine Gruppe unter einer Trennlinie, gleiche Schrift, gleicher Abstand.
   Ohne Kontofeld (angemeldet) traegt die Lieferadresse die Linie wie bisher. */
.ct-woocommerce-checkout :is(.woocommerce-account-fields, #ship-to-different-address) label.checkbox:not(#_) {
  font-size: 1rem; font-weight: 400; line-height: 1.5;
}
.ct-woocommerce-checkout .woocommerce-account-fields:has(p.create-account) {
  margin-top: var(--f-space-6); padding-top: var(--f-space-5); border-top: 1px solid var(--f-sand);
}
.ct-woocommerce-checkout .woocommerce-account-fields p.create-account:not(#_) { margin: 0; }
/* Hinweis auf AGB, Widerruf, Datenschutz ohne Checkbox (German Market Opt-In "nur Text", 25.11.2026): kein Einzug */
.place-order label.checkbox:has(> .woocommerce-terms-and-conditions-checkbox-text):not(:has(input)):not(#_) {
  min-height: 0; padding-left: 0; font-size: 0.875rem; line-height: 1.55; color: var(--f-taupe-deep); cursor: default;
}
.ct-woocommerce-checkout .woocommerce-account-fields div.create-account > .form-row:not(#_) { margin: var(--f-space-4) 0 0; }
/* Blocksy setzt #customer_details .col-2 { margin-top: 40px }; in der Gruppe traegt nur die Ueberschrift den Abstand */
#customer_details:has(.woocommerce-account-fields p.create-account) .col-2:not(#_) { margin-top: 0; }
.ct-woocommerce-checkout:has(.woocommerce-account-fields p.create-account) #ship-to-different-address:not(#_) {
  margin-top: var(--f-space-4); padding-top: 0; border-top: 0;
}

/* Bestelluebersicht: Positionen mit Bild. Zelle als Raster (Bild | Name, Menge, Lieferzeit); der lose
   Textknoten zwischen Name und Menge bekommt ueber font-size 0 keine Hoehe. */
.woocommerce-checkout-review-order-table thead { display: none; }
.woocommerce-checkout-review-order-table tbody tr.cart_item:not(#_) { align-items: center; padding: 12px 0; }
.woocommerce-checkout-review-order-table tbody { padding-bottom: 8px; margin-bottom: 10px; border-bottom: 1px solid var(--f-sand); }
table.woocommerce-checkout-review-order-table tbody tr td.product-name:not(#_) {
  display: grid; grid-template-columns: 72px minmax(0, 1fr); column-gap: 14px; align-content: center;
  flex: 1; min-width: 0;
  font-size: 0; line-height: 0;
}
.f-co-thumb {
  grid-column: 1; grid-row: 1 / span 4; align-self: center;
  width: 72px; height: 72px;
  border-radius: 12px; overflow: hidden; background: var(--f-ivory-deep);
}
.f-co-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.woocommerce-checkout-review-order-table td.product-name > :not(.f-co-thumb) { grid-column: 2; }
.f-co-name {
  font-family: var(--f-font-text); font-size: var(--f-name-size); font-weight: var(--f-name-weight); line-height: var(--f-name-lh); color: var(--f-petrol);
}
.woocommerce-checkout-review-order-table td.product-name .product-quantity {
  margin-top: 2px; text-align: left; font-size: 0.875rem; font-weight: 400; line-height: 1.45; color: var(--f-taupe-deep);
}
.woocommerce-checkout-review-order-table .facilite-cart-delivery { line-height: 1.4; }
.woocommerce-checkout-review-order-table .facilite-cart-delivery small { font-size: 0.8125rem; color: var(--f-taupe-deep); }
table.woocommerce-checkout-review-order-table tbody tr td.product-total:not(#_) {
  flex: none; max-width: 124px; text-align: right;
  font-size: 1.0625rem; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--f-petrol);
}
.woocommerce-checkout-review-order-table td.product-total .price-per-unit { display: block; font-size: 0.75rem; font-weight: 400; color: var(--f-taupe-deep); }
.woocommerce-checkout-review-order-table td.product-total .price-per-unit .woocommerce-Price-amount { font-weight: 400; }
.woocommerce-checkout-review-order-table td.product-total .price-per-unit { margin-top: 1px; font-size: 0.6875rem; line-height: 1.4; color: var(--f-taupe); }

/* Zahlungsarten: eine gerahmte Liste, Logo der Zahlungsart rechts (liefert das jeweilige Zahlungs-Plugin) */
.ct-woocommerce-checkout .f-pay-title { margin: var(--f-space-6) 0 var(--f-space-3); font-family: var(--f-font-text); font-size: 0.9375rem; font-weight: 700; letter-spacing: 0; }
#payment ul.payment_methods {
  margin: 0; padding: 0; overflow: hidden;
  border: 1px solid var(--f-line-strong); border-radius: 14px;
  background: var(--f-white);
}
#payment ul.payment_methods > li.wc_payment_method:not(#_) { margin: 0; max-width: none; border: 0; }
#payment ul.payment_methods > li.wc_payment_method:not(#_) + li.wc_payment_method { border-top: 1px solid var(--f-sand); }
#payment ul.payment_methods > li.wc_payment_method > label { min-height: 56px; padding: 12px 18px; gap: 14px; font-size: 0.9375rem; font-weight: 500; }
#payment ul.payment_methods > li.wc_payment_method > label img { max-height: 26px; width: auto; }
#payment ul.payment_methods .payment_box { padding: 16px 18px; border-top: 1px solid var(--f-sand); background: var(--f-ivory); }
#payment ul.payment_methods:not(:has(.wc_payment_method)) { border: 0; border-radius: 0; background: none; overflow: visible; }
#payment ul.payment_methods > li:not(.wc_payment_method) { margin: 0; max-width: none; padding: 0; }
#payment ul.payment_methods > li:not(.wc_payment_method) .woocommerce-info { margin: 0; }
.woocommerce-checkout-payment .place-order { margin-top: var(--f-space-5); }
.woocommerce-checkout-payment .place-order #place_order { width: 100%; }
@media (max-width: 689.98px) {
  .woocommerce-checkout-payment { margin-inline: 0; }
  .woocommerce-checkout-payment .place-order { padding: 0; }
}

/* 15.3 Kundenkonto ---------------------------------------------------------- */
.ct-acount-nav { padding: 16px; overflow: visible; }
@media (min-width: 690px) {
  .ct-acount-nav { flex: none; width: 240px; min-width: 0; margin-inline-end: 24px; }
}
@media (min-width: 1000px) {
  .ct-acount-nav { width: 300px; margin-inline-end: 28px; }
}
.woocommerce-MyAccount-navigation ul { gap: 0; }
.woocommerce-MyAccount-navigation ul li a:not(#_) {
  min-height: 60px; padding: 8px 18px;
  border-radius: var(--f-radius-btn);
  font-family: var(--f-font-text); font-size: 1rem; font-weight: 500; line-height: 1.3;
  letter-spacing: 0; text-transform: none;
}
.woocommerce-MyAccount-navigation ul li + li:not(.is-active) { box-shadow: inset 0 1px 0 var(--f-sand); }
.woocommerce-MyAccount-navigation ul li.is-active + li { box-shadow: none; }
.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--customer-logout { margin-top: 0; padding-top: 0; border-top: 0; }
.woocommerce-MyAccount-navigation ul li a:not(#_)::before {
  content: ""; flex: none;
  width: 24px; height: 24px; margin-inline-end: 16px;
  background: currentColor;
  -webkit-mask: url("assets/icons/phosphor/caret-right.svg") center / contain no-repeat;
          mask: url("assets/icons/phosphor/caret-right.svg") center / contain no-repeat;
}
.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--dashboard a:not(#_)::before { -webkit-mask-image: url("assets/icons/phosphor/house.svg"); mask-image: url("assets/icons/phosphor/house.svg"); }
.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--orders a:not(#_)::before { -webkit-mask-image: url("assets/icons/phosphor/package.svg"); mask-image: url("assets/icons/phosphor/package.svg"); }
.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--edit-address a:not(#_)::before { -webkit-mask-image: url("assets/icons/phosphor/map-pin.svg"); mask-image: url("assets/icons/phosphor/map-pin.svg"); }
.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--edit-account a:not(#_)::before { -webkit-mask-image: url("assets/icons/phosphor/user.svg"); mask-image: url("assets/icons/phosphor/user.svg"); }
.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--merkzettel a:not(#_)::before { -webkit-mask-image: url("assets/icons/phosphor/heart.svg"); mask-image: url("assets/icons/phosphor/heart.svg"); }
.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--meine-kurse a:not(#_)::before { -webkit-mask-image: url("assets/icons/phosphor/graduation-cap.svg"); mask-image: url("assets/icons/phosphor/graduation-cap.svg"); }
.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--geschaeftskunde a:not(#_)::before { -webkit-mask-image: url("assets/icons/phosphor/briefcase.svg"); mask-image: url("assets/icons/phosphor/briefcase.svg"); }
.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--customer-logout a:not(#_)::before { -webkit-mask-image: url("assets/icons/phosphor/sign-out.svg"); mask-image: url("assets/icons/phosphor/sign-out.svg"); }

/* Unterseiten (Bestellungen, Adressen, Kontodaten ...): eine Flaeche */
.woocommerce-account:not(.woocommerce-dashboard, .woocommerce-view-order) .woocommerce-MyAccount-content { padding: 28px 32px 32px; min-width: 0; }
.woocommerce-account:not(.woocommerce-dashboard, .woocommerce-view-order) .woocommerce-MyAccount-content > :last-child { margin-bottom: 0; }
.woocommerce-MyAccount-content > h2, .woocommerce-MyAccount-content section > h2 { font-size: 1.75rem; }
.woocommerce-Addresses > .woocommerce-Address,
.woocommerce-MyAccount-content .woocommerce-customer-details address:not(#_),
.woocommerce-MyAccount-content fieldset { border-radius: 18px; }

/* Uebersicht */
.woocommerce-dashboard .woocommerce-MyAccount-content > p:not([class]) { display: none; }
.woocommerce-dashboard .woocommerce-MyAccount-content { min-width: 0; }
.f-dash { display: grid; gap: 24px; }
.woocommerce-MyAccount-content .f-dash section:not(#_) { margin-top: 0; }
.f-dash-cards:not(#_) { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.f-dash-cards li { margin: 0; max-width: none; }
.f-dash-card:not(#_) {
  position: relative; display: flex; flex-direction: column; height: 100%;
  padding: 24px 26px 22px;
  background: var(--f-surface);
  border: 1px solid var(--f-white); border-radius: var(--f-radius-surface);
  box-shadow: var(--f-shadow-surface);
  color: var(--f-petrol); text-decoration: none;
  transition: box-shadow 250ms ease;
}
.f-dash-card:not(#_):hover { box-shadow: var(--f-shadow-card-hover); }
.f-dash-card .f-dash-card-icon { margin-bottom: 14px; }
.f-dash-card .f-dash-card-caret { position: absolute; top: 30px; right: 24px; transition: transform var(--f-transition); }
.f-dash-card:hover .f-dash-card-caret { transform: translateX(3px); }
.f-dash-card strong { font-family: var(--f-font-text); font-size: var(--f-title-ui-size); font-weight: 600; line-height: 1.3; }
.f-dash-card small { margin-top: 4px; font-size: 0.9375rem; line-height: 1.4; color: var(--f-taupe-deep); }

.f-dash-order-row { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px; }
.f-dash-thumbs { display: flex; gap: 12px; }
.f-dash-thumb { display: grid; place-items: center; width: 124px; height: 124px; border-radius: 14px; overflow: hidden; background: var(--f-ivory-deep); font-weight: 600; color: var(--f-taupe-deep); }
.f-dash-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.f-dash-order-meta { display: grid; justify-items: start; gap: 4px; flex: 1; min-width: 180px; font-size: 0.9375rem; color: var(--f-taupe-deep); }
.f-dash-order-meta strong { font-family: var(--f-font-text); font-size: var(--f-title-ui-size); font-weight: 600; line-height: 1.3; color: var(--f-petrol); }
.f-status {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 10px; padding: 8px 14px;
  border-radius: 10px;
  background: rgba(63, 107, 79, 0.12); color: var(--f-success);
  font-size: 0.9375rem; font-weight: 600; line-height: 1.2;
}
.f-status:is(.f-status--pending, .f-status--on-hold, .f-status--checkout-draft) { background: var(--f-ivory-deep); color: var(--f-taupe-deep); }
.f-status:is(.f-status--cancelled, .f-status--failed, .f-status--refunded) { background: rgba(155, 59, 46, 0.1); color: var(--f-error); }
.f-status:not(.f-status--processing, .f-status--completed) .f-icon { display: none; }
.f-dash-order-side { display: grid; justify-items: end; gap: 14px; margin-left: auto; }
.f-dash-order-total { font-family: var(--f-font-text); font-size: var(--f-price-size); font-weight: 600; font-variant-numeric: tabular-nums; color: var(--f-petrol); }
.f-dash-empty { margin: 0 0 var(--f-space-4); color: var(--f-taupe-deep); }

.f-dash-cols { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 24px; align-items: stretch; }
.f-dash-item > div { flex: 1; min-width: 0; }
.f-dash-item { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 16px 0 16px 40px; }
.f-dash-item:first-of-type { padding-top: 0; }
.f-dash-item:last-of-type { padding-bottom: 0; }
.f-dash-item + .f-dash-item { border-top: 1px solid var(--f-sand); }
.f-dash-item h3 { margin: 0 0 4px; font-family: var(--f-font-text); font-size: 0.9375rem; font-weight: 700; letter-spacing: 0; line-height: 1.4; }
.f-dash-item :is(p, address) { margin: 0; font-size: 0.9375rem; font-style: normal; line-height: 1.5; color: var(--f-taupe-deep); max-width: none; overflow-wrap: break-word; }
.f-dash-dots { letter-spacing: 0.2em; }
.f-dash-edit:not(#_) { display: inline-flex; align-items: center; gap: 8px; flex: none; min-height: 28px; font-size: 0.9375rem; color: var(--f-petrol); text-decoration: none; }
.f-dash-edit span { text-decoration: underline; text-decoration-color: var(--f-taupe); text-decoration-thickness: 1px; text-underline-offset: 4px; }
.f-dash-edit:hover span { text-decoration-color: var(--f-petrol); }
/* B2B-Hinweis als ruhige Zeile im Raster der Uebersicht */
.woocommerce-dashboard .woocommerce-MyAccount-content .fb2b-hint {
  position: relative;
  margin: 24px 0 0; padding: 18px 26px 18px 66px;
  background: var(--f-surface);
  border: 1px solid var(--f-white); border-radius: var(--f-radius-surface);
  box-shadow: var(--f-shadow-surface);
  font-size: 0.9375rem; line-height: 1.5; color: var(--f-taupe-deep);
}
.woocommerce-dashboard .woocommerce-MyAccount-content .fb2b-hint::before {
  content: ""; position: absolute; left: 26px; top: 50%;
  width: 26px; height: 26px; transform: translateY(-50%);
  background: var(--f-petrol);
  -webkit-mask: url("assets/icons/phosphor/briefcase.svg") center / contain no-repeat;
          mask: url("assets/icons/phosphor/briefcase.svg") center / contain no-repeat;
}

/* 15.4 Tablet / Smartphone --------------------------------------------------- */
/* Adressen | Kontodaten nebeneinander erst, wenn beide Spalten ihre Zeilen ohne Umbruch fassen */
@media (max-width: 1399.98px) {
  .f-dash-cols { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 999.98px) {
  .woocommerce-checkout .hero-section .entry-header { gap: 16px 32px; }
  .f-steps li + li::before { margin: 0 12px; }
}
@media (max-width: 689.98px) {
  :root { --f-radius-surface: 20px; }
  .f-page-sub { font-size: 1rem; }
  .f-panel,
  .ct-woocommerce-cart-form .cart_totals,
  .ct-woocommerce-checkout .ct-customer-details,
  .ct-woocommerce-checkout .ct-order-review,
  .woocommerce-account:not(.woocommerce-dashboard, .woocommerce-view-order) .woocommerce-MyAccount-content { padding: 22px 18px 24px; }
  .ct-woocommerce-checkout .ct-order-review, .ct-woocommerce-cart-form .cart_totals { --order-review-padding: 22px 18px 24px; --cart-totals-padding: 22px 18px 24px; }
  .f-panel > h2, .ct-woocommerce-cart-form .cart_totals h2, .ct-woocommerce-checkout h3 { font-size: 1.5rem; }
  table.woocommerce-cart-form__contents:not(#_) { padding: 0 18px; }
  .woocommerce-cart-form__contents .ct-cart-form-actions { flex-direction: row; flex-wrap: wrap; }
  .woocommerce-cart-form__contents .ct-cart-form-actions button { width: auto; }
  .f-trust:not(#_) { grid-template-columns: minmax(0, 1fr); margin-top: 28px; padding-top: 20px; }
  .woocommerce-cart-form__contents .ct-cart-form-actions button[name="update_cart"] { margin-left: 0; }
  /* Bestelluebersicht der Kasse: Betrag unter dem Namen statt daneben */
  .woocommerce-checkout-review-order-table tbody tr.cart_item:not(#_) { flex-wrap: wrap; row-gap: 4px; }
  table.woocommerce-checkout-review-order-table tbody tr td.product-name:not(#_) { flex-basis: 100%; }
  table.woocommerce-checkout-review-order-table tbody tr td.product-total:not(#_) { flex-basis: 100%; max-width: none; margin: 0; padding-left: 68px; text-align: left; }
  .woocommerce-checkout-review-order-table td.product-total .price-per-unit { display: inline-block; margin: 0 6px 0 0; white-space: nowrap; }
  :is(.cart_totals, .ct-order-review) table.shop_table tr.order-total { padding: 14px; }
  :is(.cart_totals, .ct-order-review) table.shop_table tr.order-total th:not(#_) { font-size: 1rem; line-height: 1.4; }
  :is(.cart_totals, .ct-order-review) table.shop_table tr.order-total td strong { font-size: 1.3125rem; }
  .woocommerce-checkout-payment .place-order #place_order { --theme-button-padding: 0 12px; font-size: 0.75rem; letter-spacing: 0.06em; }
  .f-steps li + li::before { width: 14px; margin: 0 8px; }
  .f-steps .f-step-label { white-space: nowrap; }
  .f-steps li { gap: 8px; }
  .f-dash-item { flex-wrap: wrap; }
  .f-dash-item > div { flex: 1 1 190px; }
  /* Schrittanzeige: nur der aktive Schritt mit Text */
  .f-steps li:not(.is-current) .f-step-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .f-step-dot { width: 36px; height: 36px; }
  table.woocommerce-checkout-review-order-table tbody tr td.product-name:not(#_) { grid-template-columns: 56px minmax(0, 1fr); column-gap: 12px; }
  .f-co-thumb { width: 56px; height: 56px; }
  /* Konto-Navigation: zweispaltiges Raster, alle Eintraege sichtbar (D7.2; vorher eine Leiste zum Wischen,
     deren Eintraege am Rand angeschnitten waren) */
  .ct-acount-nav { margin-bottom: 20px; padding: 8px; overflow: visible; }
  .woocommerce-MyAccount-navigation ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; }
  .woocommerce-MyAccount-navigation ul li:not(#_) { min-width: 0; box-shadow: none; }
  .woocommerce-MyAccount-navigation ul li a:not(#_) { min-height: 46px; padding: 6px 8px; font-size: 0.875rem; line-height: 1.2; hyphens: auto; }
  .woocommerce-MyAccount-navigation ul li a:not(#_)::before { width: 18px; height: 18px; margin-inline-end: 8px; }
  .f-dash { gap: 16px; }
  .f-dash-cards:not(#_) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .f-dash-cols { gap: 16px; }
  .woocommerce-dashboard .woocommerce-MyAccount-content .fb2b-hint { margin-top: 16px; padding: 16px 18px 16px 56px; }
  .woocommerce-dashboard .woocommerce-MyAccount-content .fb2b-hint::before { left: 18px; }
  .f-dash-card:not(#_) { padding: 18px 16px 16px; }
  .f-dash-card .f-dash-card-caret { top: 22px; right: 16px; }
  .f-dash-card strong { font-size: 1rem; }
  .f-dash-card small { font-size: 0.8125rem; }
  .f-dash-thumb { width: 84px; height: 84px; }
  .f-dash-order-side { justify-items: start; margin-left: 0; width: 100%; grid-template-columns: 1fr auto; align-items: center; }
  .f-dash-item { padding-left: 0; }
}

/* 15.5 Kopfzeile: Konto fuer angemeldete Kunden (inc/header.php) -------------- */
/* Icon wie die uebrigen Kopfzeilen-Icons, kleiner Punkt als Zeichen fuer "angemeldet" */
.ct-header [data-id="account"][data-state="in"] .ct-account-item { position: relative; }
.ct-header [data-id="account"][data-state="in"] .ct-account-item::after {
  content: ""; position: absolute; top: 7px; right: 5px;
  width: 9px; height: 9px;
  border: 2px solid var(--f-ivory); border-radius: 50%;
  background: var(--f-success);
}
[data-id="account"] .ct-header-account-dropdown:not(#_) {
  min-width: 240px; margin-top: 6px; padding: 8px;
  background: var(--f-surface);
  border: 1px solid var(--f-sand); border-radius: var(--f-radius-panel);
  box-shadow: 0 2px 4px rgba(111, 97, 85, 0.06), 0 20px 48px rgba(27, 42, 50, 0.14);
}
[data-id="account"] .ct-header-account-dropdown li { margin: 0; }
[data-id="account"] .ct-header-account-dropdown .ct-menu-link:not(#_) {
  display: flex; align-items: center;
  min-height: 38px; padding: 0 12px;
  border-radius: 10px;
  font-family: var(--f-font-text); font-size: 0.9375rem; font-weight: 400; line-height: 1.3;
  letter-spacing: 0; text-transform: none;
  color: var(--f-petrol); background: transparent;
  transition: background-color var(--f-transition);
}
[data-id="account"] .ct-header-account-dropdown a.ct-menu-link:not(#_):hover { background: var(--f-ivory-deep); color: var(--f-petrol); }
[data-id="account"] .ct-header-account-dropdown .current-menu-item a.ct-menu-link:not(#_) { font-weight: 600; }
[data-id="account"] .ct-header-account-dropdown .ct-header-account-user-info .ct-menu-link:not(#_) { min-height: 0; padding: 8px 12px 10px; }
[data-id="account"] .ct-header-account-dropdown .ct-header-account-user-info b { display: block; font-size: 0.9375rem; font-weight: 700; line-height: 1.35; }
[data-id="account"] .ct-header-account-dropdown .ct-header-account-user-info small { display: block; margin-top: 2px; font-size: 0.8125rem; line-height: 1.4; color: var(--f-taupe-deep); overflow-wrap: anywhere; }
[data-id="account"] .ct-header-account-dropdown .ct-header-account-divider:not(#_) { height: 1px; margin: 6px 12px; padding: 0; border: 0; background: var(--f-sand); }

/* =========================================================================
   16. D7.1 – Harmonisierung von Warenkorb, Kasse, Kundenkonto und Meldungen (12.11.2026)
   Kein neues Design: gleiche Bausteine wie Abschnitt 15, ruhigere Hierarchie, weniger Umbrueche.
   Textstufen in diesen Bereichen: Produktname Playfair 17–18 px · Betrag Manrope 700 · Einzel-/Grundpreis
   13 px Taupe-tief · Zusatzangaben (Lieferzeit, enthaltene MwSt., Hinweise) 12 px Taupe-tief.
   ========================================================================= */

/* 16.1 Gratisversand-Fortschritt: lange Fassung ab Tablet, kurze auf Smartphones; hoechstens zwei
   ausgeglichene Zeilen, Betrag und Zielbegriff brechen nicht um. */
.f-ship-short { display: none; }
.f-ship-long, .f-ship-short { white-space: nowrap; }
.f-ship-progress-text > span { text-wrap: balance; }
.f-ship-progress.is-reached .f-ship-progress-text { font-weight: 600; }
@media (max-width: 689.98px) {
  .f-ship-long { display: none; }
  .f-ship-short { display: inline; }
  table.woocommerce-cart-form__contents tr.f-ship-progress-row > td:not(#_) { padding: 16px 0 14px; }
}

/* 16.2 Meldungen: mehrere Fehler als geordnete Liste mit Ueberschrift (zweispaltig ab Tablet), auf
   Smartphones kompakter; Aktion linksbuendig unter dem Text. Feldbezogene Hinweise (5.2) bleiben. */
ul.woocommerce-error:has(li + li) { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3px 32px; }
ul.woocommerce-error:has(li + li)::after {
  content: "Bitte prüfe folgende Angaben"; order: -1; grid-column: 1 / -1;
  margin-bottom: 4px;
  font-weight: 700; line-height: 1.5; color: var(--f-petrol);
}
ul.woocommerce-error:has(li + li) li { position: relative; margin: 0; padding-left: 14px; font-size: 0.875rem; line-height: 1.5; }
ul.woocommerce-error:has(li + li) li::before {
  content: ""; position: absolute; left: 0; top: 0.68em;
  width: 4px; height: 4px; border-radius: 50%; background: var(--f-error);
}
.woocommerce-error li strong { font-weight: 600; }
/* D10: Kasse nach dem Absenden – oben nur der kurze Hinweis (assets/js/checkout-errors.js), die genaue Meldung steht
   am Feld. Bleiben Meldungen ohne Feldbezug (Zahlung, Lager), stehen sie unter dem Hinweis; die Ueberschrift der
   Liste entfaellt dann. */
ul.woocommerce-error.f-checkout-errors:not(#_) { grid-template-columns: minmax(0, 1fr); }
ul.woocommerce-error.f-checkout-errors::after { content: none; }
ul.woocommerce-error.f-checkout-errors li.f-checkout-hint { padding-left: 0; font-size: inherit; font-weight: 600; color: var(--f-petrol); }
ul.woocommerce-error.f-checkout-errors li.f-checkout-hint::before { content: none; }
/* Meldung an der Pflicht-Checkbox: eingerueckt auf die Textkante der Beschriftung */
.form-row:has(> label > input[type="checkbox"]) > .checkout-inline-error-message { margin-top: 6px; }
.woocommerce-error li a:not(.button, #_) { text-decoration: none; }
.woocommerce-error li a:not(.button, #_):hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
@media (min-width: 690px) {
  ul.woocommerce-error:has(li + li + li + li) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 689.98px) {
  :is(.woocommerce-info, .woocommerce-error, .woocommerce-message, .woocommerce-thankyou-order-received, .f-notice, .fb2b-hint) { padding: 11px 14px 11px 42px; text-wrap: pretty; }
  :is(.woocommerce-info, .woocommerce-error, .woocommerce-message, .woocommerce-thankyou-order-received, .f-notice, .fb2b-hint)::before { top: 11px; inset-inline-start: 12px; }
  :is(.woocommerce-info, .woocommerce-error, .woocommerce-message) :is(.button, .showlogin, .restore-item):not(#_) {
    align-self: flex-start; margin: 4px 0 0 !important;
    font-size: 0.75rem; letter-spacing: 0.06em; text-align: left;
  }
}

/* 16.3 Warenkorb */
/* Automatische Aktualisierung (assets/js/cart-auto-update.js): Button nur ohne JavaScript oder nach einem Fehler */
.f-cart-auto .woocommerce-cart-form__contents .actions button[name="update_cart"]:not(#_) { display: none; }
/* Ladezustand: WooCommerce legt eine Flaeche ueber Liste und Summen; hier in den Flaechenfarben und abgerundet */
.ct-woocommerce-cart-form .blockUI.blockOverlay:not(#_) { border-radius: var(--f-radius-surface); background: var(--f-surface) !important; opacity: 0.4 !important; cursor: progress !important; }
/* D7.2: Solange eine Mengenaenderung offen ist (Wartezeit, Anfrage), dreht ein kleiner Ring neben der Ueberschrift,
   die Summe tritt zurueck und "Weiter zur Kasse" ist gesperrt; nach einem Fehler bleibt die Sperre bis zur Klaerung. */
.ct-woocommerce-cart-form .cart_totals h2 { display: flex; align-items: center; gap: 12px; }
.f-cart-busy .ct-woocommerce-cart-form .cart_totals h2::after {
  content: ""; flex: none; width: 16px; height: 16px;
  border: 2px solid var(--f-sand); border-top-color: var(--f-petrol); border-radius: 50%;
  animation: f-spin 0.8s linear infinite;
}
@keyframes f-spin { to { transform: rotate(360deg); } }
.f-cart-busy .ct-woocommerce-cart-form .cart_totals :is(.cart-subtotal, .shipping, .order-total, .cart-discount, .tax-rate, .tax-total) .woocommerce-Price-amount { opacity: 0.45; transition: opacity var(--f-transition); }
.f-cart-locked .wc-proceed-to-checkout .checkout-button:not(#_) { opacity: 0.45; cursor: not-allowed; }
.f-cart-busy .wc-proceed-to-checkout .checkout-button:not(#_) { cursor: progress; }
@media (prefers-reduced-motion: reduce) { .f-cart-busy .ct-woocommerce-cart-form .cart_totals h2::after { animation-duration: 2.4s; } }
/* Fehlermeldung der automatischen Aktualisierung: Text, darunter zwei Textaktionen */
.f-cart-auto-error:not(#_) { flex-direction: column; align-items: flex-start; gap: 8px; }
.f-cart-auto-error-actions { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.f-cart-auto-error button:not(#_) {
  width: auto; min-height: 32px; margin: 0; padding: 0;
  border: 0; border-radius: 0; background: none; box-shadow: none;
  text-decoration: underline; text-decoration-color: var(--f-taupe); text-decoration-thickness: 1px; text-underline-offset: 5px;
  font-family: var(--f-font-text); font-size: 0.8125rem; font-weight: 600; line-height: 1.2;
  letter-spacing: var(--f-tracking-caps); text-transform: uppercase;
  color: var(--f-petrol); cursor: pointer;
}
.f-cart-auto-error button:not(#_):hover { text-decoration-color: var(--f-petrol); }
.f-cart-auto-error button:not(#_):focus-visible { outline: 2px solid var(--f-petrol); outline-offset: 3px; }
.f-cart-auto-error .f-cart-discard:not(#_) { font-weight: 500; color: var(--f-taupe-deep); }
/* Gutscheinfehler: die Meldung steht unter dem Feld (cart.js, nach dem Ersetzen der Summen cart-coupon.js) */
.cart_totals .f-cart-coupon .coupon .coupon-error-notice:not(#_) {
  margin: 6px 0 0; font-size: 0.8125rem; font-weight: 500; line-height: 1.45; color: var(--f-error);
}
.cart_totals .f-coupon-field:has(.has-error):not(#_) { border-color: var(--f-error); }
/* Produktzeile: Name, darunter Einzelpreis mit Grundpreis, dann Lieferzeit als leise Zusatzangabe */
table.woocommerce-cart-form__contents td.product-name .price { margin-top: 4px; font-size: 0.8125rem; --theme-font-size: 0.8125rem; }
table.woocommerce-cart-form__contents td.product-name .price > .woocommerce-Price-amount { font-size: 0.9375rem; font-weight: 600; color: var(--f-petrol); }
table.woocommerce-cart-form__contents td.product-name .price .price-per-unit { display: inline; margin-left: 6px; white-space: nowrap; }
table.woocommerce-cart-form__contents td.product-name, .f-co-name { text-wrap: balance; }
table.woocommerce-cart-form__contents .facilite-cart-delivery { margin-top: 3px; text-wrap: wrap; }
table.woocommerce-cart-form__contents .facilite-cart-delivery small { font-size: 0.75rem; }
@media (min-width: 1000px) {
  table.woocommerce-cart-form__contents tr.cart_item > td.product-name:not(#_) { display: flex; flex-direction: column; align-items: flex-start; }
  table.woocommerce-cart-form__contents td.product-name > .price { order: 1; }
  table.woocommerce-cart-form__contents td.product-name > .facilite-cart-delivery { order: 2; }
  table.woocommerce-cart-form__contents tr.cart_item { grid-template-columns: 104px minmax(0, 1fr) auto 112px 40px; }
}
@media (max-width: 689.98px) {
  table.woocommerce-cart-form__contents tr.cart_item { grid-template-columns: 72px minmax(0, 1fr); column-gap: 14px; padding: 16px 0; }
  table.woocommerce-cart-form__contents .product-thumbnail .ct-media-container { border-radius: 12px; }
  table.woocommerce-cart-form__contents td.product-subtotal { font-size: 1.0625rem; }
  /* Fusszeile: zwei ruhige Textzeilen, Gutscheinfeld und Button in voller Breite */
  table.woocommerce-cart-form__contents td.actions:not(#_) { padding: 8px 0 12px; }
  .woocommerce-cart-form__contents .ct-cart-form-actions { gap: 0 24px; }
  .woocommerce-cart-form__contents .ct-cart-form-actions .coupon:not(#_) { flex-wrap: wrap; max-width: none; }
  .woocommerce-cart-form__contents .ct-cart-form-actions .coupon .input-text:not(#_) { flex: 1 0 100%; }
  .woocommerce-cart-form__contents .ct-cart-form-actions .coupon .button:not(#_) { flex: 1 0 100%; }
  .f-coupon-toggle:not(#_), .f-cart-continue:not(#_) { font-size: 0.9375rem; }
}
/* Bestelluebersicht: Hinweise als leise Zusatzangaben, etwas dichter */
.ct-woocommerce-cart-form .cart_totals h2 { margin-bottom: var(--f-space-3); }
:is(.cart_totals, .ct-order-review) .shipping .woocommerce-shipping-destination { font-size: 0.75rem; }
:is(.cart_totals, .ct-order-review) table.shop_table .wgm-tax { font-size: 0.75rem; }
:is(.cart_totals, .ct-order-review) table.shop_table tr.order-total { position: relative; }
:is(.cart_totals, .ct-order-review) table.shop_table tr.order-total:has(.wgm-tax) { padding-bottom: 38px; }
:is(.cart_totals, .ct-order-review) table.shop_table tr.order-total .wgm-tax {
  position: absolute; left: 18px; right: 18px; bottom: 14px;
  margin: 0; text-align: right; white-space: nowrap;
}
.ct-woocommerce-cart-form .cart_totals .wc-proceed-to-checkout { margin-top: var(--f-space-4); }
.ct-woocommerce-cart-form .cart_totals .wc-cart-shipping-notice { margin-top: var(--f-space-3); }

/* 16.4 Kasse */
/* Anmeldung und Gutschein: zwei gleich aufgebaute Zeilen (Symbol, Text, unterstrichene Aktion) */
.woocommerce-checkout .woocommerce-form-login-toggle .woocommerce-info:not(#_) { display: block; position: relative; min-height: 0; margin: 0; padding: 10px 0 10px 26px; line-height: 1.5; text-align: left; }
.woocommerce-checkout .woocommerce-form-login-toggle .woocommerce-info:not(#_)::before {
  content: ""; position: absolute; left: 0; top: 13px; inset-inline-start: 0;
  width: 18px; height: 18px; opacity: 1;
  background: currentColor;
  -webkit-mask: url("assets/icons/phosphor/user.svg") center / contain no-repeat;
          mask: url("assets/icons/phosphor/user.svg") center / contain no-repeat;
}
.woocommerce-checkout .woocommerce-form-login-toggle .showlogin:not(#_) {
  display: inline; margin: 0 0 0 4px !important; padding: 0; order: 0; align-self: auto; min-height: 0;
  font-size: inherit; font-weight: 400; letter-spacing: 0; text-transform: none;
  box-shadow: none; text-decoration: underline; text-decoration-color: var(--f-taupe); text-decoration-thickness: 1px; text-underline-offset: 4px;
}
.woocommerce-checkout .woocommerce-form-login-toggle .showlogin:not(#_):hover { text-decoration-color: var(--f-petrol); }
.woocommerce-checkout :is(.woocommerce-form-coupon-toggle, .woocommerce-form-login-toggle):not(#_) { margin-bottom: 0; }
.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info:not(#_) { margin-bottom: 10px; }
.woocommerce-checkout form.woocommerce-form-login:not(#_) { max-width: 560px; margin: 4px 0 var(--f-space-5); }
/* Bestelluebersicht: kleinere Bilder, feine Trennlinien, Zusatzangaben in einer Stufe; Betragsspalte ohne Umbruch */
.woocommerce-checkout-review-order-table tbody tr.cart_item:not(#_) { padding: 12px 0; }
.woocommerce-checkout-review-order-table tbody tr.cart_item + tr.cart_item { border-top: 1px solid var(--f-sand); }
.woocommerce-checkout-review-order-table tbody tr.cart_item:first-child:not(#_) { padding-top: 0; }
table.woocommerce-checkout-review-order-table tbody tr td.product-name:not(#_) { grid-template-columns: 56px minmax(0, 1fr); column-gap: 14px; align-content: start; }
.f-co-thumb { width: 56px; height: 56px; align-self: start; border-radius: 10px; }
.woocommerce-checkout-review-order-table td.product-name .product-quantity { margin-top: 1px; font-size: 0.8125rem; }
.woocommerce-checkout-review-order-table .facilite-cart-delivery small { font-size: 0.75rem; }
table.woocommerce-checkout-review-order-table tbody tr td.product-total:not(#_) { max-width: none; align-self: flex-start; font-size: 1rem; white-space: nowrap; }
.woocommerce-checkout-review-order-table td.product-total .price-per-unit { color: var(--f-taupe-deep); }
.woocommerce-checkout-review-order-table tbody { padding-bottom: 4px; }
@media (max-width: 689.98px) {
  .woocommerce-checkout :is(.woocommerce-form-coupon-toggle, .woocommerce-form-login-toggle) .woocommerce-info:not(#_) { font-size: 0.9375rem; }
  .woocommerce-checkout .showcoupon:not(#_) { font-size: 0.9375rem; }
  :is(.cart_totals, .ct-order-review) table.shop_table tr.order-total:has(.wgm-tax) { padding-bottom: 34px; }
  :is(.cart_totals, .ct-order-review) table.shop_table tr.order-total .wgm-tax { left: 14px; right: 14px; bottom: 12px; }
  /* Betrag unter dem Namen (15.4), buendig mit dem Text; Umbruch der Zusatzangaben erlaubt */
  table.woocommerce-checkout-review-order-table tbody tr td.product-name:not(#_) { grid-template-columns: 48px minmax(0, 1fr); column-gap: 12px; }
  .f-co-thumb { width: 48px; height: 48px; }
  table.woocommerce-checkout-review-order-table tbody tr td.product-total:not(#_) { padding-left: 60px; white-space: normal; }
  /* Lange Beschriftungen von Checkboxen: ruhiger Zeilenfall */
  .ct-woocommerce-checkout #ship-to-different-address { font-size: 0.9375rem; line-height: 1.45; }
  .ct-woocommerce-checkout :is(.woocommerce-account-fields, #ship-to-different-address) label.checkbox:not(#_) { font-size: 0.9375rem; line-height: 1.45; }
  .ct-woocommerce-checkout .woocommerce-terms-and-conditions-wrapper label { font-size: 0.875rem; line-height: 1.5; }
}

/* 16.5 Kundenkonto */
/* Inhaltsflaeche so hoch wie ihr Inhalt (vorher auf die Hoehe der Navigation gestreckt) */
.woocommerce-account:not(.woocommerce-dashboard, .woocommerce-view-order) .woocommerce-MyAccount-content { align-self: flex-start; }
.woocommerce-edit-address .woocommerce-MyAccount-content > p:not([class]) { margin-bottom: var(--f-space-5); font-size: 0.9375rem; line-height: 1.55; color: var(--f-taupe-deep); }
/* Adressen: Aktion wie in der Uebersicht (Stift, unterstrichener Text), leerer Zustand als leise Zeile */
.woocommerce-Addresses .woocommerce-Address-title .edit:not(#_) {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 0; border: 0;
  font-size: 0.9375rem; font-weight: 400; letter-spacing: 0; text-transform: none;
  text-decoration: underline; text-decoration-color: var(--f-taupe); text-decoration-thickness: 1px; text-underline-offset: 4px;
}
.woocommerce-Addresses .woocommerce-Address-title .edit:not(#_):hover { text-decoration-color: var(--f-petrol); }
.woocommerce-Addresses .woocommerce-Address-title .edit::before {
  content: ""; flex: none; width: 16px; height: 16px;
  background: currentColor;
  -webkit-mask: url("assets/icons/phosphor/pencil-simple.svg") center / contain no-repeat;
          mask: url("assets/icons/phosphor/pencil-simple.svg") center / contain no-repeat;
}
.woocommerce-Addresses .woocommerce-Address-title { justify-content: space-between; align-items: baseline; }
.woocommerce-Addresses > .woocommerce-Address { border-radius: 18px; }
/* Meldungen im Konto stapeln unter 1000 px Text und Aktion, statt den Text neben einem langen Button
   zusammenzudruecken. Die Bestellliste ist seit D12 eine eigene Vorlage (Abschnitt 31). */
@media (max-width: 999.98px) {
  .woocommerce-MyAccount-content :is(.woocommerce-info, .woocommerce-message, .woocommerce-error):not(#_) { flex-direction: column; align-items: flex-start; }
  .woocommerce-MyAccount-content :is(.woocommerce-info, .woocommerce-message, .woocommerce-error) :is(.button, .restore-item):not(#_) { align-self: flex-start; margin: 4px 0 0 !important; }
}
@media (max-width: 689.98px) {
  .woocommerce-MyAccount-content table.shop_table_responsive tbody tr:last-child { padding-bottom: 0; border-bottom: 0; }
  .woocommerce-MyAccount-content table.shop_table_responsive tbody tr:first-child { padding-top: 0; }
  .woocommerce-MyAccount-content table.shop_table_responsive tbody tr > * { font-size: 0.9375rem; }
  .woocommerce-Addresses:not(#_) { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .woocommerce-Addresses > .woocommerce-Address:not(#_) { width: auto; margin: 0; }
  .woocommerce-Addresses .woocommerce-Address-title { margin-bottom: var(--f-space-2); }
}

/* =========================================================================
   17. D7.2 – Merkzettel, Lieferzeit in der Karte, Rueckmeldungen (12.11.2026)
   Markup: woocommerce/wishlist-view.php und woocommerce/share.php (Vorlagen des Plugins YITH WooCommerce
   Wishlist im Child-Theme), Zaehler und Meldungen aus inc/wishlist.php und assets/js/wishlist.js.
   ========================================================================= */

/* 17.1 Lieferzeit in der Produktkarte (German Market): letzte Zeile unter Grundpreis und Hinweis */
[data-products] .product .f-price-delivery,
.f-rel-card .f-price-delivery,
.f-wl-row .f-price-delivery {
  order: -1; margin: 0;
  font-size: 0.8125rem; line-height: 1.5; color: var(--f-taupe-deep);
}

/* 17.2 Zaehler am Herz (Kopfzeile) und im mobilen Menue */
.ct-header [data-id="facilite-wishlist"].ct-header-wishlist { position: relative; }
.f-wl-count {
  position: absolute; top: 3px; right: 0;
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 16px; height: 16px; padding: 0 4px;
  border-radius: 99px;
  background: var(--f-petrol); color: var(--f-ivory);
  box-shadow: 0 0 0 2px var(--f-ivory);
  font-family: var(--f-font-text); font-size: 10px; font-weight: 600; line-height: 1; font-variant-numeric: tabular-nums;
}
.f-wl-count[data-count="0"] { display: none; }
/* Kleiner Sprung, wenn etwas dazukommt - dieselbe Bewegung wie am Warenkorb-Zaehler (Blocksy: a.ct-added, bounce-in) */
.f-wl-count.is-bump { animation: 0.6s ease-in-out 0.12s normal both 1 f-count-bump; }
@keyframes f-count-bump { 0% { transform: scale(0, 0); } 20% { transform: scale(1.4, 1.4); } 50% { transform: scale(0.8, 0.8); } 85% { transform: scale(1.1, 1.1); } 100% { transform: scale(1, 1); } }
@media (prefers-reduced-motion: reduce) { .f-wl-count.is-bump { animation: none; } }
.f-wl-count--inline { position: static; margin-left: 10px; box-shadow: none; min-width: 20px; height: 20px; font-size: 11px; }

/* 17.3 Toasts (assets/js/notices.js): kurze Erfolgsmeldungen von Warenkorb, Merkzettel und Konto. Schweben
   ueber der Seite und verschieben nichts: ab Tablet rechts oben unter der Kopfzeile (--f-toast-top setzt das
   Skript), auf Smartphones unten. Arten, Farben und Icons aus 5.7. Das Fenster des Plugins
   (#yith-wcwl-popup-message) entfaellt dafuer. */
#yith-wcwl-popup-message:not(#_) { display: none !important; }
/* Erfolgsmeldungen werden nicht per CSS ausgeblendet: das Skript nimmt eine Meldung erst aus der Seite, wenn
   der Toast bzw. die Zeile am Element steht. Faellt es aus, bleiben die Meldungen von WooCommerce sichtbar. */
.f-toasts {
  position: fixed; z-index: 100000; top: var(--f-toast-top, 96px); right: 24px;
  display: flex; flex-direction: column; gap: var(--f-notice-gap);
  width: max-content; max-width: min(440px, calc(100vw - 32px));
  pointer-events: none;
}
.f-toast {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 12px 8px 12px 14px;
  background: linear-gradient(rgba(var(--f-notice-rgb), 0.05), rgba(var(--f-notice-rgb), 0.05)) var(--f-white);
  border: 1px solid rgba(var(--f-notice-rgb), 0.22); border-radius: var(--f-notice-radius);
  box-shadow: 0 2px 4px rgba(111, 97, 85, 0.06), 0 14px 36px rgba(27, 42, 50, 0.14);
  font-family: var(--f-font-text); font-size: var(--f-text-sm); font-weight: 500; line-height: 1.45; color: var(--f-petrol);
  pointer-events: auto;
  opacity: 0; transition: opacity 150ms ease;
}
.f-toast.is-visible { opacity: 1; }
.f-toast::before { flex: none; }
.f-toast-text { flex: 1; min-width: 0; text-wrap: pretty; overflow-wrap: break-word; }
.f-toast-action:not(#_) {
  flex: none; min-height: 0; margin: 0; padding: 0; border: 0; border-radius: 0; background: none;
  font: inherit; font-weight: 600; letter-spacing: 0; text-transform: none; white-space: nowrap;
  color: var(--f-petrol); cursor: pointer;
  text-decoration: underline; text-decoration-color: var(--f-taupe); text-decoration-thickness: 1px; text-underline-offset: 4px;
}
.f-toast-action:not(#_):hover { text-decoration-color: var(--f-petrol); }
.f-toast-close:not(#_) {
  flex: none; display: grid; place-items: center;
  width: 28px; height: 28px; min-height: 0; margin: -4px 0 -4px -2px; padding: 0;
  border: 0; border-radius: 8px; background: none; box-shadow: none;
  color: var(--f-taupe-deep); cursor: pointer;
}
.f-toast-close::before {
  content: ""; width: 14px; height: 14px; background: currentColor;
  -webkit-mask: url("assets/icons/phosphor/x.svg") center / contain no-repeat;
          mask: url("assets/icons/phosphor/x.svg") center / contain no-repeat;
}
.f-toast-close:not(#_):hover { color: var(--f-petrol); background: rgba(27, 42, 50, 0.06); }
:is(.f-toast-action, .f-toast-close):not(#_):focus-visible { outline: 2px solid var(--f-petrol); outline-offset: 2px; }
@media (max-width: 689.98px) {
  .f-toasts {
    top: auto; right: 16px; left: 16px; bottom: calc(14px + env(safe-area-inset-bottom, 0px));
    width: auto; flex-direction: column-reverse;
  }
  .f-toast { flex-wrap: wrap; }
  .f-toast-text { flex-basis: calc(100% - 78px); }
  .f-toast-action:not(#_) { order: 3; margin-left: 30px; padding: 2px 0; }
  .f-toast-close:not(#_) { width: 36px; height: 36px; margin: -8px -2px -8px 0; }
}
@media (prefers-reduced-motion: reduce) { .f-toast { transition: none; } }

/* 17.3a Zeile am Element (Gutschein eingelöst): gleiche Groesse wie die Feldhinweise aus 5.2 */
.f-inline-msg {
  --f-notice: var(--f-success); --f-notice-icon: var(--f-ico-success);
  display: flex; align-items: flex-start; gap: 6px;
  max-width: none; margin: 6px 0 0;
  font-size: 0.8125rem; font-weight: 500; line-height: 1.45; color: var(--f-notice);
}
.f-inline-msg[data-type="error"] { --f-notice: var(--f-error); --f-notice-icon: var(--f-ico-error); }
.f-inline-msg::before {
  content: ""; flex: none; width: 16px; height: 16px; margin-top: 1px; background: currentColor;
  -webkit-mask: var(--f-notice-icon) center / contain no-repeat;
          mask: var(--f-notice-icon) center / contain no-repeat;
}
.woocommerce-cart-form__contents .ct-cart-form-actions .f-inline-msg { order: 11; flex: 1 0 100%; margin: 0; }
.woocommerce-checkout .woocommerce-form-coupon-toggle + .f-inline-msg { margin: 0 0 10px; }

/* 17.4 Merkzettel-Seite (D7.3): eine Flaeche mit Produktzeilen wie im Warenkorb. Zeile: Bild, daneben Name,
   Verfuegbarkeit, Preis mit Grundpreis und Lieferzeit, rechts Warenkorb-Aktion und Entfernen. Auf Smartphones
   Bild und Text nebeneinander, Aktion in voller Breite darunter. */
.woocommerce-wishlist .hero-section[data-type="type-1"] { margin-bottom: 10px; --margin-bottom: 10px; }
.woocommerce-wishlist .wishlist-title-container { display: none; }
.woocommerce-wishlist .yith-wcwl-form { margin: 0; }
.f-wl:not(#_) { display: block; width: 100%; margin: 0; padding: 0; border: 0; background: none; }
.f-wl-sub { margin: 0 0 var(--f-space-6); }
.f-wl-list:not(#_) {
  margin: 0; padding: 6px 32px; list-style: none;
  background: var(--f-surface);
  border: 1px solid var(--f-white); border-radius: var(--f-radius-surface);
  box-shadow: var(--f-shadow-surface);
}
.f-wl-row:not(#_) {
  display: grid; grid-template-columns: 96px minmax(0, 1fr) 44px; column-gap: 20px; align-items: center;
  margin: 0; max-width: none; padding: 20px 0;
}
.f-wl-row + .f-wl-row:not(#_) { border-top: 1px solid var(--f-sand); }
.f-wl-media { border-radius: 14px; overflow: hidden; background: var(--f-ivory-deep); }
.f-wl-media > a:first-of-type { display: block; }
.f-wl-media img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 0; }
/* Entfernen: runder Icon-Button in der Hoehe des Warenkorb-Buttons, direkt daneben */
.f-wl-remove:not(#_) {
  display: grid; place-items: center;
  width: 44px; height: 44px; padding: 0;
  border: 1px solid var(--f-sand); border-radius: 50%;
  background: var(--f-white); color: var(--f-taupe-deep);
  font-size: 0; line-height: 0; text-decoration: none;
  transition: border-color var(--f-transition), color var(--f-transition);
}
.f-wl-remove:not(#_):hover { border-color: var(--f-petrol); color: var(--f-petrol); }
.f-wl-remove:not(#_):focus-visible { outline: 2px solid var(--f-petrol); outline-offset: 2px; }
.f-wl-remove .f-icon { width: 18px; height: 18px; }
.f-wl-body { display: grid; grid-template-columns: minmax(0, 1fr) 200px; column-gap: 24px; align-items: start; min-width: 0; }
.f-wl-body > * { grid-column: 1; }
.f-wl-name:not(#_) { margin: 0; font-family: var(--f-font-text); font-size: var(--f-name-size); font-weight: var(--f-name-weight); line-height: var(--f-name-lh); letter-spacing: 0; text-wrap: balance; }
.f-wl-name a:not(#_) { color: var(--f-petrol); text-decoration: none; }
.f-wl-name a:not(#_):hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; text-decoration-color: var(--f-taupe); }
.f-wl-stock { display: flex; align-items: center; gap: 8px; margin: 4px 0 0; max-width: none; font-size: 0.8125rem; line-height: 1.4; color: var(--f-taupe-deep); }
.f-wl-stock::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--f-success); }
.f-wl-stock.is-out::before { background: var(--f-taupe); }
.f-wl-stock span:not(#_) { color: inherit; font-weight: 400; }
.f-wl-price { margin-top: 8px; }
.f-wl-price .price:not(#_) { margin: 0; font-family: var(--f-font-text); font-size: var(--f-price-size); font-weight: 600; line-height: 1.25; color: var(--f-petrol); font-variant-numeric: tabular-nums; }
.f-wl-price .price del { font-family: var(--f-font-text); font-size: var(--f-text-sm); font-weight: 400; color: var(--f-taupe-deep); }
.f-wl-price .price ins { text-decoration: none; }
.f-wl-price .f-price-info { display: flex; flex-direction: column-reverse; gap: 1px; margin-top: 4px; }
.f-wl-price .f-price-info :is(.f-price-note, .f-price-ppu) { margin: 0; font-size: 0.8125rem; line-height: 1.5; color: var(--f-taupe-deep); text-wrap: balance; }
.f-wl-price .f-price-ppu :is(span, bdi) { font-size: inherit; color: inherit; }
.f-wl-price .f-price-note a { color: var(--f-petrol); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--f-taupe); }
.f-wl-actions { grid-column: 2; grid-row: 1 / span 3; align-self: center; }
.f-wl-actions > a:not(#_) {
  --theme-button-min-height: var(--f-btn-h-md); --theme-button-padding: 0 12px;
  --theme-button-background-initial-color: transparent; --theme-button-background-hover-color: var(--f-petrol);
  --theme-button-text-initial-color: var(--f-petrol); --theme-button-text-hover-color: var(--f-ivory);
  display: flex !important; align-items: center; justify-content: center; gap: 8px;   /* das Plugin setzt display: table */
  width: 100%; margin: 0;
  border: 1px solid var(--f-petrol); border-radius: var(--f-radius-btn);
  background: transparent; color: var(--f-petrol);
  min-height: var(--f-btn-h-md); height: var(--f-btn-h-md); padding: 0 12px;
  font-family: var(--f-font-text); font-size: 0.8125rem; font-weight: 600; line-height: 1.15; letter-spacing: 0.06em; text-transform: uppercase;
  text-align: center; text-decoration: none; white-space: nowrap;
  transition: background-color var(--f-transition), color var(--f-transition);
}
.f-wl-actions > a:not(#_):focus-visible { outline: 2px solid var(--f-petrol); outline-offset: 3px; }
.f-wl-actions > a:not(#_):hover { background: var(--f-petrol); color: var(--f-ivory); }
.f-wl-actions > a.loading:not(#_) { opacity: 0.6; pointer-events: none; }
.f-wl-actions .added_to_cart { display: none; }
.f-wl-actions .f-cart-icon { flex: none; fill: currentColor; }
/* Ladezustand des Plugins beim Entfernen */
.f-wl .blockUI.blockOverlay:not(#_) { background: var(--f-ivory) !important; opacity: 0.5 !important; border-radius: var(--f-radius-surface); }
.f-wl-pagination { margin-top: var(--f-space-6); }

/* Leerer Merkzettel */
/* Dieselbe Karte fuer den leeren Warenkorb (woocommerce/cart/cart-empty.php) */
.f-wl-empty, .f-cart-empty {
  display: grid; justify-items: center; gap: 0;
  margin-top: 22px;
  padding: 56px 24px 60px;
  background: var(--f-surface);
  border: 1px solid var(--f-white); border-radius: var(--f-radius-surface);
  box-shadow: var(--f-shadow-surface);
  text-align: center;
}
:is(.f-wl-empty, .f-cart-empty) .f-icon { color: var(--f-taupe); }
:is(.f-wl-empty, .f-cart-empty) h2 { margin: 18px 0 0; font-size: 1.75rem; line-height: 1.2; }
:is(.f-wl-empty, .f-cart-empty) p { margin: 10px 0 0; max-width: 420px; color: var(--f-taupe-deep); text-wrap: balance; }
:is(.f-wl-empty, .f-cart-empty) .button { margin-top: 26px; }

/* Teilen: zwei Textaktionen mit Symbol */
.woocommerce-wishlist .yith_wcwl_wishlist_footer { margin: 0; }
.f-wl-share:not(#_) {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px;
  float: none; width: 100%; box-sizing: border-box;
  margin: 32px 0 0; padding: 22px 0 0;
  border-top: 1px solid var(--f-sand);
}
.f-wl-share .f-wl-share-title { margin: 0; font-family: var(--f-font-text); font-size: var(--f-text-xs); font-weight: 600; letter-spacing: var(--f-tracking-caps); text-transform: uppercase; color: var(--f-taupe-deep); }
.f-wl-share ul:not(#_) { display: flex; flex-wrap: wrap; gap: 4px 28px; margin: 0; padding: 0; list-style: none; }
.f-wl-share li:not(#_) { position: relative; margin: 0; max-width: none; }
.f-wl-share-btn:not(#_) {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; margin: 0; padding: 0;
  border: 0; border-radius: 0; background: none; box-shadow: none;
  font-family: var(--f-font-text); font-size: 0.9375rem; font-weight: 400; line-height: 1.3;
  letter-spacing: 0; text-transform: none; text-decoration: none;
  color: var(--f-petrol); cursor: pointer;
}
.f-wl-share-btn span { text-decoration: underline; text-decoration-color: var(--f-taupe); text-decoration-thickness: 1px; text-underline-offset: 4px; }
.f-wl-share-btn:hover span { text-decoration-color: var(--f-petrol); }
.f-wl-share-btn:focus-visible { outline: 2px solid var(--f-petrol); outline-offset: 3px; border-radius: 6px; }
.f-wl-share-url:not(#_) { position: absolute; left: 0; bottom: 0; width: 1px; height: 1px; padding: 0; border: 0; opacity: 0; pointer-events: none; }

@media (max-width: 689.98px) {
  /* Smartphone: Bild links, Text daneben, Entfernen oben rechts, Aktion in voller Breite darunter */
  .f-wl-sub { margin-bottom: var(--f-space-4); }
  .f-wl-list:not(#_) { padding: 2px 16px; }
  .f-wl-row:not(#_) { grid-template-columns: 88px minmax(0, 1fr) 44px; column-gap: 12px; row-gap: 0; align-items: start; padding: 16px 0; }
  .f-wl-media { grid-column: 1; grid-row: 1 / span 3; border-radius: 12px; }
  .f-wl-body { display: contents; }
  .f-wl-name:not(#_) { grid-column: 2 / -1; grid-row: 1; padding-top: 2px; }
  .f-wl-stock { grid-column: 2 / -1; grid-row: 2; }
  .f-wl-price { grid-column: 2 / -1; grid-row: 3; margin-top: 6px; }
  .f-wl-actions { grid-column: 1 / 3; grid-row: 4; align-self: center; margin-top: 14px; }
  .f-wl-remove:not(#_) { grid-column: 3; grid-row: 4; align-self: center; margin-top: 14px; }
  :is(.f-wl-empty, .f-cart-empty) { padding: 40px 20px 44px; }
  :is(.f-wl-empty, .f-cart-empty) h2 { font-size: 1.5rem; }
  :is(.f-wl-empty, .f-cart-empty) .button { width: 100%; }
  .f-wl-share:not(#_) { margin-top: 24px; padding-top: 16px; gap: 2px 24px; }
  .f-wl-share .f-wl-share-title { flex-basis: 100%; }
}

@media (min-width: 690px) and (max-width: 999.98px) {
  .f-wl-list:not(#_) { padding: 4px 24px; }
  .f-wl-row:not(#_) { align-items: start; }
  .f-wl-body { grid-template-columns: minmax(0, 1fr); }
  .f-wl-actions { grid-column: 1; grid-row: auto; width: 200px; margin-top: 12px; }
}

/* 17.5 Kundenkonto auf Smartphones: lange Ueberschriften trennen sauber, Buttons bleiben in der Flaeche */
@media (max-width: 689.98px) {
  .woocommerce-MyAccount-content :is(h2, h3) { hyphens: auto; overflow-wrap: break-word; }
  .woocommerce-MyAccount-content > h2, .woocommerce-MyAccount-content section > h2 { font-size: clamp(1.25rem, 5.6vw, 1.5rem); }
  .woocommerce-MyAccount-content form :is(.button, button[type="submit"]):not(#_) { max-width: 100%; white-space: normal; }
}

/* =========================================================================
   18. Seitlicher Warenkorb (D7.3): Panel von rechts mit dem Mini-Warenkorb von WooCommerce.
   Markup: inc/mini-cart.php (Huelle) und woocommerce/cart/mini-cart.php (Inhalt), Verhalten:
   assets/js/mini-cart.js. Das Aufklappfenster von Blocksy am Warenkorb-Icon entfaellt dafuer.
   ========================================================================= */
.ct-header [data-id="cart"] .ct-cart-content:not(#_) { display: none !important; }
html.f-drawer-open { overflow: hidden; }
html.f-drawer-open body { padding-right: var(--f-scrollbar, 0px); }
.f-drawer { position: fixed; inset: 0; z-index: 99990; }
.f-drawer[hidden] { display: none; }
.f-drawer-backdrop {
  position: absolute; inset: 0;
  background: rgba(27, 42, 50, 0.38);
  opacity: 0; transition: opacity 220ms ease;
}
.f-drawer-panel {
  position: absolute; top: 0; right: 0; bottom: 0;
  display: flex; flex-direction: column;
  width: min(460px, 100vw);
  background: var(--f-surface);
  box-shadow: -18px 0 48px rgba(27, 42, 50, 0.14);
  transform: translateX(100%); transition: transform 220ms ease;
  outline: none;
}
.f-drawer.is-open .f-drawer-backdrop { opacity: 1; }
.f-drawer.is-open .f-drawer-panel { transform: none; }
.f-drawer-head {
  flex: none; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 20px 18px 28px;
  border-bottom: 1px solid var(--f-sand);
}
.f-drawer-title:not(#_) { margin: 0; font-size: 1.625rem; line-height: 1.2; }
.f-drawer-close:not(#_) {
  flex: none; display: grid; place-items: center;
  width: 44px; height: 44px; min-height: 0; margin: 0; padding: 0;
  border: 0; border-radius: 50%; background: none; box-shadow: none;
  color: var(--f-petrol); cursor: pointer;
  transition: background-color var(--f-transition);
}
.f-drawer-close:not(#_):hover { background: var(--f-ivory-deep); }
.f-drawer :is(.f-drawer-close, .f-mc-step, .f-mc-remove, .f-mc-name, .f-mc-viewcart):not(#_):focus-visible { outline: 2px solid var(--f-petrol); outline-offset: 2px; }
.f-drawer .widget_shopping_cart_content { flex: 1; min-height: 0; display: flex; flex-direction: column; }

/* Produktliste: scrollt, Summe und Aktionen bleiben unten stehen */
.f-mc-list:not(#_) {
  flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
  margin: 0; padding: 0 28px; list-style: none;
}
.f-mc-item:not(#_) {
  position: relative;
  display: grid; grid-template-columns: 76px minmax(0, 1fr); column-gap: 16px; align-items: start;
  margin: 0; max-width: none; padding: 20px 0; border: 0;
  transition: opacity var(--f-transition);
}
.f-mc-item + .f-mc-item:not(#_) { border-top: 1px solid var(--f-sand); }
.f-mc-item.is-busy .f-mc-price { opacity: 0.45; }
.f-mc-thumb:not(#_) { display: block; float: none; width: 76px; height: 76px; margin: 0; border-radius: 12px; overflow: hidden; background: var(--f-ivory-deep); }
.f-mc-thumb img:not(#_) { display: block; float: none; width: 100%; height: 100%; margin: 0; object-fit: cover; border-radius: 0; }
.f-mc-main { display: flex; flex-direction: column; min-width: 0; min-height: 76px; }
.f-mc-name:not(#_) {
  display: block; margin: 0; padding-right: 36px;   /* Platz fuer Entfernen oben rechts */
  font-family: var(--f-font-text); font-size: 0.9375rem; font-weight: var(--f-name-weight); line-height: 1.35;
  color: var(--f-petrol); text-decoration: none; text-wrap: balance;
}
a.f-mc-name:not(#_):hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; text-decoration-color: var(--f-taupe); }
.f-mc-main dl.variation { margin: 4px 0 0; font-size: 0.8125rem; line-height: 1.45; color: var(--f-taupe-deep); }
.f-mc-line { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 10px; }
.f-mc-qty { display: inline-flex; align-items: center; height: 36px; border: 1px solid var(--f-line-strong, var(--f-sand)); border-radius: 10px; background: var(--f-white); }
.f-mc-step:not(#_) {
  display: grid; place-items: center;
  width: 34px; height: 34px; min-height: 0; margin: 0; padding: 0;
  border: 0; border-radius: 9px; background: none; box-shadow: none;
  font-family: var(--f-font-text); font-size: 1.0625rem; font-weight: 500; line-height: 1; color: var(--f-petrol); cursor: pointer;
}
.f-mc-step:not(#_):hover:not(:disabled) { background: var(--f-ivory-deep); }
.f-mc-step:not(#_):disabled { color: var(--f-taupe); opacity: 0.55; cursor: default; }
.f-mc-qty-val { min-width: 26px; text-align: center; font-size: 0.9375rem; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--f-petrol); }
.f-mc-single { font-size: 0.875rem; color: var(--f-taupe-deep); }
.f-mc-price { font-size: 1rem; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--f-petrol); white-space: nowrap; transition: opacity var(--f-transition); }
.f-mc-price :is(.price-per-unit, small) { display: none; }
.f-mc-remove:not(#_) {
  position: absolute; top: 12px; right: -8px; display: grid; place-items: center;
  width: 36px; height: 36px; margin: 0; padding: 0;
  border: 0; border-radius: 50%; background: none;
  font-size: 0; line-height: 0; color: var(--f-taupe-deep); text-decoration: none;
  transition: background-color var(--f-transition), color var(--f-transition);
}
.f-mc-remove:not(#_):hover { background: var(--f-ivory-deep); color: var(--f-error); }
.f-mc-item .blockUI.blockOverlay:not(#_) { background: var(--f-surface) !important; opacity: 0.6 !important; }

/* Summe und Aktionen */
.f-mc-foot { flex: none; padding: 18px 28px calc(22px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--f-sand); background: var(--f-surface); }
.f-mc-foot .woocommerce-mini-cart__total:not(#_) {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  max-width: none; margin: 0; padding: 0; border: 0;
  font-size: 1rem; line-height: 1.4; letter-spacing: 0; text-transform: none; color: var(--f-petrol);
}
.f-mc-foot .woocommerce-mini-cart__total strong { font-weight: 600; letter-spacing: 0; text-transform: none; }
.f-mc-foot .woocommerce-mini-cart__total .tax_label { display: none; }   /* steht in .f-mc-tax */
.f-mc-foot .woocommerce-mini-cart__total .woocommerce-Price-amount { font-size: var(--f-price-size); font-weight: 700; font-variant-numeric: tabular-nums; }
.f-mc-foot > :is(p, div, span):not(.woocommerce-mini-cart__total, .woocommerce-mini-cart__buttons) { max-width: none; margin: 4px 0 0; font-size: 0.8125rem; line-height: 1.5; color: var(--f-taupe-deep); text-align: right; }
.f-mc-foot .woocommerce-mini-cart__buttons:not(#_) { display: flex; flex-direction: column; align-items: stretch; gap: 6px; max-width: none; margin: 16px 0 0; padding: 0; border: 0; }
.f-mc-foot .woocommerce-mini-cart__buttons .button.checkout:not(#_) { width: 100%; margin: 0; }
.f-mc-viewcart:not(#_) {
  align-self: center; display: inline-flex; align-items: center; min-height: 40px; margin: 0; padding: 0 8px;
  font-size: 0.9375rem; color: var(--f-petrol);
  text-decoration: underline; text-decoration-color: var(--f-taupe); text-decoration-thickness: 1px; text-underline-offset: 4px;
}
.f-mc-viewcart:not(#_):hover { text-decoration-color: var(--f-petrol); }

/* Leerer Warenkorb */
.f-mc-empty { flex: 1; display: grid; align-content: center; justify-items: center; padding: 40px 28px 56px; text-align: center; }
.f-mc-empty .f-icon { color: var(--f-taupe); }
.f-mc-empty .woocommerce-mini-cart__empty-message:not(#_) { margin: 18px 0 0; padding: 0; font-family: var(--f-font-display); font-size: 1.5rem; line-height: 1.25; color: var(--f-petrol); }
.f-mc-empty .f-mc-empty-text { margin: 8px 0 0; max-width: 300px; font-size: 0.9375rem; color: var(--f-taupe-deep); text-wrap: balance; }
.f-mc-empty .button { margin-top: 24px; }

/* Toasts neben bzw. ueber dem offenen Panel, nicht auf dessen Aktionen */
@media (min-width: 690px) { html.f-drawer-open .f-toasts { right: calc(min(460px, 100vw) + 24px); } }
@media (max-width: 689.98px) {
  .f-drawer-panel { width: min(460px, calc(100vw - 20px)); }
  .f-drawer-head { padding: 16px 12px 14px 20px; }
  .f-drawer-title:not(#_) { font-size: 1.375rem; }
  .f-mc-list:not(#_) { padding: 0 20px; }
  .f-mc-item:not(#_) { grid-template-columns: 68px minmax(0, 1fr); column-gap: 12px; padding: 16px 0; }
  .f-mc-remove:not(#_) { top: 8px; }
  .f-mc-thumb:not(#_) { width: 68px; height: 68px; }
  .f-mc-main { min-height: 68px; }
  .f-mc-foot { padding: 14px 20px calc(16px + env(safe-area-inset-bottom, 0px)); }
  html.f-drawer-open .f-toasts { top: 12px; bottom: auto; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { .f-drawer-backdrop, .f-drawer-panel { transition: none; } }

/* =========================================================================
   18. Startseite (D8): Abschnitte aus front-page.php
   ========================================================================= */
/* 18.1 Hero (inc/home-hero.php). Beide Motive unbeschnitten in der Breite, nie verzerrt, je genau ein Verlauf.
   Ab 1000 px: Hoehe = Bildhoehe bei voller Breite, hoechstens aber die sichtbare Fensterhoehe unter der
   Kopfzeile (--header-height rechnet Blocksy je Geraet aus den Zeilen des Header-Builders). Reicht die Hoehe nicht, wird das Bild
   kleiner und steht rechts; die frei werdende Flaeche links ist der Elfenbein-Grund, in den der Verlauf am
   linken Bildrand ohnehin auslaeuft. Rechts liegt nichts auf dem Bild.
   Unter 1000 px (Variante B, 12.11.): Bild zuerst und unbeschnitten, die Wasserflaeche unter der Steininsel
   laeuft ueber einen Verlauf in den Elfenbein-Grund aus, der Text beginnt in diesem Auslauf; bis 689 px das
   Hochformat (Stein endet bei 73 % der Bildhoehe), darueber das Breitbild (Stein endet bei 85 %). */
.f-home-hero { --f-home-hero-offset: var(--header-height, 124px); background: var(--f-ivory); container-type: inline-size; overflow: hidden; }
.f-home-hero-frame { position: relative; }
.f-home-hero-media { position: relative; display: block; }
.f-home-hero-media::after { content: ""; position: absolute; inset: 0; pointer-events: none; }
.f-home-hero-img:not(#_) {
  display: block;
  width: 100%; height: 100%;
  aspect-ratio: 1672 / 941;
  object-fit: cover; object-position: center top;
  border-radius: 0;
}
.f-home-hero-title:not(#_) {
  margin: 0;
  font-size: clamp(2rem, 0.9rem + 2.7vw, 3.5rem);   /* 32 -> 56px */
  line-height: 1.12;
  text-wrap: balance;
}
.f-home-hero-sub:not(#_) { margin: var(--f-space-5) 0 0; font-size: 1.125rem; line-height: 1.55; color: var(--f-petrol); text-wrap: balance; }
.f-home-hero-btn:not(#_) { margin-top: var(--f-space-8); }

@media (min-width: 1000px) {
  .f-home-hero-frame {
    display: flex; justify-content: flex-end;
    height: min(calc(100vw * 941 / 1672), max(460px, calc(100vh - var(--f-home-hero-offset))));
    height: min(calc(100cqw * 941 / 1672), max(460px, calc(100svh - var(--f-home-hero-offset))));
  }
  .f-home-hero-media { flex: none; height: 100%; aspect-ratio: 1672 / 941; }
  .f-home-hero-media::after { background: linear-gradient(90deg, var(--f-ivory) 0%, rgba(248, 245, 240, 0) 46%); }
  .f-home-hero-inner { position: absolute; inset: 0; display: flex; align-items: center; }
  .f-home-hero-text { width: 40%; max-width: 32rem; }
}
@media (max-width: 999.98px) {
  .f-home-hero-frame { display: flex; flex-direction: column; }
  .f-home-hero-inner { position: relative; z-index: 1; margin-top: -20px; padding-block: 0 var(--f-space-12); text-align: center; }
  .f-home-hero-text { max-width: 34rem; margin-inline: auto; }
  .f-home-hero-sub:not(#_) { margin: var(--f-space-4) auto 0; font-size: 1rem; }
  .f-home-hero-btn:not(#_) { margin-top: var(--f-space-6); --theme-button-min-height: 48px; }
  .f-home-hero-media::after { background: linear-gradient(180deg, rgba(248, 245, 240, 0) 85%, rgba(248, 245, 240, 0.55) 93%, var(--f-ivory) 100%); }
}
@media (max-width: 689.98px) {
  .f-home-hero-inner { margin-top: -72px; padding-block: 0 40px; }
  .f-home-hero-title:not(#_) { font-size: 1.875rem; }   /* 30px */
  .f-home-hero-sub:not(#_) { margin-top: var(--f-space-3); }
  .f-home-hero-btn:not(#_) { margin-top: var(--f-space-5); }
  .f-home-hero-img:not(#_) { aspect-ratio: 1086 / 1448; }
  .f-home-hero-media::after { background: linear-gradient(180deg, rgba(248, 245, 240, 0) 73%, rgba(248, 245, 240, 0.4) 82%, rgba(248, 245, 240, 0.85) 92%, var(--f-ivory) 100%); }
}

/* 18.2 Hero in der Editor-Vorschau (D8.2a): dort fehlen Blocksys Container-Breite und Button-Grundstil.
   Greift nur im Block-Editor (.block-editor-block-list__block), nicht auf der Seite. */
.block-editor-block-list__block .f-home-hero-inner { width: auto; padding-inline: var(--f-gutter); }
.block-editor-block-list__block .f-home-hero-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: var(--f-btn-h); padding: 0 28px;
  background: var(--f-petrol); color: var(--f-ivory);
  border-radius: var(--f-radius-btn);
  font: 600 0.8125rem/1.15 var(--f-font-text); letter-spacing: var(--f-tracking-caps); text-transform: uppercase; text-decoration: none;
}

/* =========================================================================
   19. Startseite: Produktwelten (D8.2). Vorlage patterns/produktwelten.php aus Standardbloecken
   (Gruppe, Ueberschrift, Absatz, Bild); die Klassen der Vorlage tragen die Gestaltung.
   Aufbau: .f-worlds > .f-worlds-inner > .f-worlds-grid > [.f-worlds-lead: Kopf + grosser Bildbereich]
   [.f-worlds-side: redaktioneller Textblock + kleinerer Bildbereich].
   Ab 1000 px zwei ungleich breite Spalten, unten buendig; der Textblock mit feiner Linie steht ueber dem
   rechten Bild. 690 bis 999 px: Kopf ueber zwei gleich breiten Bildbereichen. Darunter alles untereinander.
   Der Textblock erscheint nur ab 1000 px.
   ========================================================================= */
.f-worlds { background: var(--f-ivory); padding-block: clamp(2rem, 0.25rem + 7vw, 6.5rem) clamp(3rem, 1.5rem + 6vw, 7rem); }
.f-worlds:not(#_),
.f-worlds :is(div, figure, h2, h3, p):not(#_) { margin-block: 0; }
.f-worlds-inner { width: var(--theme-container-width, 100%); max-width: var(--theme-normal-container-max-width, 1290px); margin-inline: auto; }

.f-worlds .f-worlds-title:not(#_) { font-size: clamp(1.75rem, 1.25rem + 2vw, 2.75rem); line-height: 1.12; text-wrap: balance; }   /* 28 -> 44px */
.f-worlds .f-worlds-sub:not(#_) { margin-top: var(--f-space-3); font-size: 1.0625rem; line-height: 1.55; color: var(--f-taupe-deep); }
.f-worlds .f-worlds-head:not(#_) { margin-bottom: var(--f-space-6); }

/* Bildbereich: Bild und Link fuehren zur Kategorie */
.f-world-media { overflow: hidden; border-radius: var(--f-radius-panel); background: var(--f-ivory-deep); }
.f-world-media a { display: block; }
.f-world-media img:not(#_) {
  display: block;
  width: 100%; height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 0;
  transition: transform 700ms cubic-bezier(0.2, 0.6, 0.2, 1);
}
.f-world-media a:hover img:not(#_) { transform: scale(1.025); }
.f-worlds .f-world .f-eyebrow:not(#_) { margin-top: var(--f-space-5); }
.f-worlds .f-world-title:not(#_) { margin-top: var(--f-space-2); font-size: clamp(1.5rem, 1.3rem + 0.8vw, 2rem); line-height: 1.2; }   /* 24 -> 32px */
.f-worlds .f-world-text:not(#_) { margin-top: var(--f-space-2); max-width: 36ch; color: var(--f-taupe-deep); }
.f-worlds .f-world-link:not(#_) { margin-top: var(--f-space-2); }
.f-worlds .f-world-link a:not(#_) {
  display: inline-block;
  padding-block: 14px;   /* Tippflaeche 44 px */
  font-size: 0.8125rem; font-weight: 600; line-height: 1.2;
  letter-spacing: var(--f-tracking-caps); text-transform: uppercase;
  text-underline-offset: 6px;
}
.f-world-link a::after { content: "\2192"; display: inline-block; margin-left: 0.6em; font-size: 1.15em; letter-spacing: 0; transition: transform var(--f-transition); }
.f-world-link a:hover::after { transform: translateX(4px); }
@media (prefers-reduced-motion: reduce) {
  .f-world-media img:not(#_), .f-world-link a::after { transition: none; }
  .f-world-media a:hover img:not(#_) { transform: none; }
}

/* Redaktioneller Textblock */
.f-worlds-note { display: none; }

/* Smartphone: Bilder quadratisch statt 4:5 (Ausschnitt etwas oberhalb der Mitte, damit Gesicht, Hand und
   Geraet im Bild bleiben), engere Abstaende. */
@media (max-width: 689.98px) {
  .f-worlds { padding-block: var(--f-space-6) var(--f-space-8); }
  .f-worlds .f-worlds-head:not(#_) { margin-bottom: var(--f-space-5); }
  .f-world-media img:not(#_) { aspect-ratio: 1 / 1; object-position: center 25%; }
  .f-worlds .f-world .f-eyebrow:not(#_) { margin-top: var(--f-space-4); }
  .f-worlds .f-world-title:not(#_) { margin-top: var(--f-space-1); }
  .f-worlds .f-world-link:not(#_) { margin-top: 0; }
  .f-worlds .f-worlds-side:not(#_) { margin-top: var(--f-space-5); }
}
@media (min-width: 690px) and (max-width: 999.98px) {
  .f-worlds-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--f-space-8); align-items: start; }
  .f-worlds-lead, .f-worlds-side { display: contents; }
  .f-worlds-head { grid-column: 1 / -1; }
  .f-worlds .f-worlds-head:not(#_) { margin-bottom: var(--f-space-8); }
}
@media (min-width: 1000px) {
  .f-worlds-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 4.5fr); column-gap: clamp(4rem, 9vw, 8.5rem); align-items: end; }
  .f-worlds .f-worlds-head:not(#_) { margin-bottom: var(--f-space-12); }
  .f-worlds-note { display: block; max-width: 26rem; padding: var(--f-space-1) 0 var(--f-space-1) var(--f-space-6); border-left: 1px solid var(--f-taupe); }
  .f-worlds .f-worlds-note:not(#_) { margin-bottom: clamp(3rem, 5vw, 4.5rem); }
  .f-worlds .f-worlds-note-title:not(#_) {
    margin-top: var(--f-space-3);
    font-family: var(--f-font-display); font-size: clamp(1.375rem, 1rem + 0.9vw, 1.75rem); line-height: 1.3;
    letter-spacing: var(--f-tracking-display);
    text-wrap: balance;
  }
  .f-worlds .f-worlds-note-text:not(#_) { margin-top: var(--f-space-4); max-width: 34ch; color: var(--f-taupe-deep); }
}

/* 19.1 Editor-Vorschau: dort fehlt Blocksys Container-Breite. */
.block-editor-block-list__block .f-worlds-inner { width: auto; padding-inline: var(--f-gutter); }

/* =========================================================================
   20. Startseite: Unser Sortiment (D8.3). Vorlage patterns/sortiment.php: Ueberschrift als Standardblock,
   darunter der Block "Facilité Produktkarussell" (inc/product-carousel.php).
   Aufbau: .f-sortiment > .f-sortiment-inner > h2, .f-carousel [.f-carousel-nav (Pfeile), ul.f-carousel-track > li.f-pcard,
   .f-carousel-progress].
   Karte: a.f-pcard-link [.f-pcard-media, .f-pcard-name] – .f-pcard-price (Preis + Grundpreis in einer Zeile) – .f-price-note.
   Geschlossene warmweisse Flaeche ohne Schatten auf getoenter Abschnittsflaeche; die ganze Karte ist ueber den
   gestreckten Link klickbar, der Versandlink liegt darueber.
   Reihe: natives waagerechtes Scrollen mit Einrasten, randlos bis an den Fensterrand; die naechste Karte ist
   immer angeschnitten. Unter 600 px eine Karte, bis 999 px zwei, bis 1499 px drei, darueber vier.
   Ab 1000 px kraeftigere Pfeile und eine schmale Fortschrittslinie unter der Reihe.
   ========================================================================= */
.f-sortiment {
  background: var(--f-ivory-deep);
  padding-block: clamp(3rem, 1.5rem + 6vw, 6.5rem);
  overflow-x: clip;
  /* Abstand des Inhalts zum Fensterrand (Blocksy-Containerbreite), fuer die randlose Reihe */
  --f-sortiment-edge: calc((100vw - min(var(--theme-container-width-base, 90vw), var(--theme-normal-container-max-width, 1290px))) / 2);
}
.f-sortiment:not(#_),
.f-sortiment :is(div, h2, p, ul, li):not(#_) { margin-block: 0; }
.f-sortiment-inner { position: relative; width: var(--theme-container-width, 100%); max-width: var(--theme-normal-container-max-width, 1290px); margin-inline: auto; }
.f-sortiment .f-sortiment-title:not(#_) { font-size: clamp(1.75rem, 1.25rem + 2vw, 2.75rem); line-height: 1.12; text-wrap: balance; }   /* wie Produktwelten */
.f-sortiment .f-carousel:not(#_) { margin-top: clamp(1.5rem, 0.75rem + 3vw, 3rem); }

/* Reihe */
.f-carousel-track:not(#_) {
  --f-pcard-gap: 12px;
  --f-pcard-pad: 18px;
  --f-pcard-radius: 20px;
  display: flex;
  gap: var(--f-pcard-gap);
  margin-inline: calc(-1 * var(--f-sortiment-edge));
  padding: 0 var(--f-sortiment-edge);
  list-style: none;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--f-sortiment-edge);
  scrollbar-width: none;
}
.f-carousel-track::-webkit-scrollbar { display: none; }
.f-carousel-track:focus-visible { outline: 2px solid var(--f-petrol); outline-offset: 6px; border-radius: var(--f-pcard-radius); }

/* Karte */
.f-pcard:not(#_) {
  position: relative;
  display: flex; flex-direction: column;
  flex: 0 0 80%;
  min-width: 0;
  padding: 0 0 var(--f-pcard-pad);
  border-radius: var(--f-pcard-radius);
  overflow: hidden;
  background: var(--f-surface);
  scroll-snap-align: start;
}
.f-pcard-link:not(#_) { display: flex; flex-direction: column; flex: 1 1 auto; color: var(--f-petrol); text-decoration: none; }
.f-pcard-link::after { content: ""; position: absolute; inset: 0; border-radius: var(--f-pcard-radius); }
.f-pcard-link:focus-visible { outline: none; }
.f-pcard-link:focus-visible::after { outline: 2px solid var(--f-petrol); outline-offset: -2px; }
.f-pcard-media { display: block; overflow: hidden; background: var(--f-ivory-deep); }
.f-pcard-media img:not(#_) {
  display: block;
  width: 100%; height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 0;
  transition: transform 600ms cubic-bezier(0.2, 0.6, 0.2, 1);
}
.f-pcard.is-outofstock .f-pcard-media img:not(#_) { opacity: 0.6; }
.f-pcard-name {
  display: block;
  padding: var(--f-pcard-pad) var(--f-pcard-pad) var(--f-space-4);
  font-family: var(--f-font-text); font-weight: var(--f-name-weight); font-size: var(--f-name-size); line-height: var(--f-name-lh);
  color: var(--f-petrol);
  overflow-wrap: break-word;
  transition: color var(--f-transition);
}
.f-pcard .f-pcard-stock:not(#_) { margin: calc(-1 * var(--f-space-3)) var(--f-pcard-pad) var(--f-space-4); font-size: 0.8125rem; line-height: 1.5; font-weight: 600; color: var(--f-petrol); }
/* Preis mit Grundpreis in einer Zeile; feine Linie zum Namen, in jeder Karte auf gleicher Hoehe (der Link darueber waechst) */
.f-pcard .f-pcard-price:not(#_) {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 0.5em;
  margin-inline: var(--f-pcard-pad);
  padding-top: var(--f-space-4);
  border-top: 1px solid var(--f-sand);
  font-family: var(--f-font-text); font-weight: 600; font-size: var(--f-price-size); line-height: 1.25;
  font-variant-numeric: tabular-nums;
  color: var(--f-petrol);
}
.f-pcard-price ins { order: 1; text-decoration: none; }
.f-pcard-price del { order: 2; font-size: var(--f-text-sm); font-weight: 400; color: var(--f-taupe-deep); text-decoration-color: var(--f-taupe); }
.f-pcard-price small:empty { display: none; }
.f-pcard-price .f-price-ppu { order: 3; font-size: 0.8125rem; font-weight: 400; line-height: 1.5; color: var(--f-taupe-deep); white-space: nowrap; }
.f-pcard-price .f-price-ppu :is(span, bdi) { font-size: inherit; font-weight: inherit; color: inherit; }
.f-pcard .f-price-note:not(#_) { margin: 4px var(--f-pcard-pad) 0; font-size: 0.8125rem; line-height: 1.5; color: var(--f-taupe-deep); }
.f-pcard .f-price-note a { position: relative; z-index: 1; color: var(--f-petrol); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--f-taupe); }
.f-pcard .f-price-note a:hover { text-decoration-color: var(--f-petrol); }
@media (hover: hover) {
  .f-pcard:hover .f-pcard-media img:not(#_) { transform: scale(1.03); }
  .f-pcard:hover .f-pcard-name { color: var(--f-taupe-deep); }
}

/* Pfeile: rechts neben der Ueberschrift; auf Smartphones wird gewischt */
.f-carousel-nav, .f-carousel-progress { display: none; }
.f-carousel-btn:not(#_) {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; min-height: 0;
  padding: 0;
  border: 1px solid var(--f-line-strong); border-radius: 50%;
  background: transparent;
  color: var(--f-petrol);
  cursor: pointer;
  transition: background-color var(--f-transition), border-color var(--f-transition), color var(--f-transition), opacity var(--f-transition);
}
.f-carousel-btn:not(#_):hover { background: var(--f-petrol); border-color: var(--f-petrol); color: var(--f-ivory); }
.f-carousel-btn:not(#_):focus-visible { outline: 2px solid var(--f-petrol); outline-offset: 3px; }
.f-carousel-btn[aria-disabled="true"]:not(#_) { background: transparent; border-color: var(--f-line-strong); color: var(--f-petrol); opacity: 0.35; cursor: default; }

@media (prefers-reduced-motion: reduce) {
  .f-pcard-media img:not(#_) { transition: none; transform: none; }
}
@media (min-width: 600px) {
  .f-carousel-track:not(#_) { --f-pcard-gap: 20px; --f-pcard-pad: 20px; --f-pcard-radius: var(--f-radius-surface); }
  .f-pcard:not(#_) { flex-basis: 44%; }
  .f-carousel-nav:not([hidden]) { position: absolute; top: 4px; right: 0; display: flex; gap: var(--f-space-3); }
  .f-sortiment .f-sortiment-title:not(#_) { padding-right: 132px; }
}
/* Desktop: drei bzw. vier ganze Karten und rund ein Viertel der naechsten (Breite bezogen auf die Inhaltsbreite
   plus den rechten Rand bis zum Fenster) */
@media (min-width: 1000px) {
  .f-carousel-track:not(#_) { --f-pcard-gap: 24px; }
  .f-pcard:not(#_) { flex-basis: calc((100% + var(--f-sortiment-edge) - 3 * var(--f-pcard-gap)) / 3.25); }
  .f-carousel-nav:not([hidden]) { top: 0; }
  .f-carousel-btn:not(#_) { width: 52px; height: 52px; border-color: var(--f-petrol); background: var(--f-surface); }
  .f-carousel-btn:not(#_) .f-icon { width: 22px; height: 22px; }
  .f-carousel-btn:not(#_):active { background: var(--f-petrol-active); border-color: var(--f-petrol-active); }
  .f-carousel-btn[aria-disabled="true"]:not(#_) { opacity: 0.45; }
  .f-carousel-btn[aria-disabled="true"]:not(#_) .f-icon { opacity: 0.6; }

  /* Fortschrittslinie: Breite = sichtbarer Anteil der Reihe, Lage folgt dem Scrollen (Werte aus product-carousel.js) */
  .f-sortiment .f-carousel-progress:not([hidden]):not(#_) {
    position: relative;
    display: block;
    width: 220px; height: 2px;
    margin-top: var(--f-space-8);
    border-radius: 1px;
    background: var(--f-line-strong);
    overflow: hidden;
  }
  .f-carousel-progress span {
    position: absolute; top: 0; bottom: 0;
    left: calc(var(--f-progress-pos, 0) * (100% - var(--f-progress-size, 0.3) * 100%));
    width: calc(var(--f-progress-size, 0.3) * 100%);
    border-radius: 1px;
    background: var(--f-petrol);
  }
}
@media (min-width: 1500px) {
  .f-pcard:not(#_) { flex-basis: calc((100% + var(--f-sortiment-edge) - 4 * var(--f-pcard-gap)) / 4.25); }
}

/* 20.1 Editor-Vorschau: dort fehlt Blocksys Container-Breite; die Reihe bleibt im Rahmen. */
.block-editor-block-list__block .f-sortiment-inner { width: auto; padding-inline: var(--f-gutter); }
.block-editor-block-list__block .f-carousel-track:not(#_) { margin-inline: 0; padding-inline: 0; }

/* =========================================================================
   21. Startseite: Ueber Facilite (D8.4). Vorlage patterns/ueber-facilite.php aus Standardbloecken
   (Gruppe, Bild, Absatz, Ueberschrift, Buttons); die Klassen der Vorlage tragen die Gestaltung.
   Aufbau: .f-about > .f-about-inner > [figure.f-about-media] [.f-about-text: .f-eyebrow, h2.f-about-title,
   zwei Absaetze, .f-about-actions mit Rahmen-Button].
   Ab 1000 px zwei Spalten, Bild links mit 52 % der Inhaltsbreite, Text senkrecht mittig daneben;
   690 bis 999 px ebenso mit 48 % und engerem Abstand. Darunter Bild zuerst, Text darunter.
   Bild 4:5 (Original 3:4), ab 1000 px fast quadratisch (Hoehe = 1,035 x Breite, Inhaber 15.11.), damit es
   den Text nicht ueberragt. Der Ausschnitt nimmt fast nur unten Steinflaeche weg; Zweig und Bogen bleiben im Bild.
   ========================================================================= */
.f-about { background: var(--f-ivory); padding-block: clamp(2.5rem, 1rem + 6.5vw, 7.5rem); }
.f-about:not(#_),
.f-about :is(div, figure, h2, p):not(#_) { margin-block: 0; }
.f-about-inner { width: var(--theme-container-width, 100%); max-width: var(--theme-normal-container-max-width, 1290px); margin-inline: auto; }
.f-about-media { overflow: hidden; border-radius: var(--f-radius-panel); background: var(--f-ivory-deep); }
.f-about-media img:not(#_) {
  display: block;
  width: 100%; height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover; object-position: center top;
  border-radius: 0;
}
.f-about .f-about-text:not(#_) { margin-top: var(--f-space-6); }
.f-about .f-about-title:not(#_) { margin-top: var(--f-space-2); font-size: clamp(1.75rem, 1.25rem + 2vw, 2.75rem); line-height: 1.14; text-wrap: balance; }   /* wie Produktwelten */
.f-about .f-about-text > p:not(.f-eyebrow):not(#_) { margin-top: var(--f-space-4); max-width: 34rem; font-size: 1.0625rem; line-height: 1.65; color: var(--f-taupe-deep); text-wrap: pretty; }
.f-about .f-about-title + p:not(#_) { margin-top: var(--f-space-5); }
.f-about .f-about-actions:not(#_) { margin-top: var(--f-space-6); }
/* Rahmen-Button (Sekundaer-Button aus Abschnitt 4); Farben hier fest, weil Blocksy und der Core-Stil "outline"
   die Button-Variablen fuer Standardbloecke ueberschreiben. */
.f-about .wp-block-button__link:not(#_) {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 26px;
  border: 1px solid var(--f-petrol);
  background: transparent;
  color: var(--f-petrol);
  text-decoration: none;
}
.f-about .wp-block-button__link:not(#_):hover { background: var(--f-petrol); color: var(--f-ivory); }
.f-about .wp-block-button__link:not(#_):active { background: var(--f-petrol-active); border-color: var(--f-petrol-active); color: var(--f-ivory); }
@media (min-width: 690px) {
  .f-about-inner { display: grid; grid-template-columns: 48% minmax(0, 1fr); column-gap: var(--f-space-8); align-items: center; }
  .f-about .f-about-text:not(#_) { margin-top: 0; max-width: 31rem; }
}
@media (min-width: 690px) and (max-width: 999.98px) {
  .f-about .f-about-text > p:not(.f-eyebrow):not(#_) { font-size: 1rem; }
}
@media (min-width: 1000px) {
  .f-about-inner { grid-template-columns: 52% minmax(0, 1fr); column-gap: clamp(4rem, 7vw, 7rem); }
  .f-about .f-about-title:not(#_) { margin-top: var(--f-space-3); }
  .f-about-media img:not(#_) { aspect-ratio: 1 / 1.035; object-position: center 8%; }
  .f-about .f-about-title + p:not(#_) { margin-top: var(--f-space-6); }
  .f-about .f-about-actions:not(#_) { margin-top: var(--f-space-8); }
  .f-about .wp-block-button__link:not(#_) { min-height: var(--f-btn-h); padding: 0 28px; }
}

/* 21.1 Editor-Vorschau: dort fehlt Blocksys Container-Breite. */
.block-editor-block-list__block .f-about-inner { width: auto; padding-inline: var(--f-gutter); }

/* =========================================================================
   22. Startseite: Geschaeftskunden (D8.5). Vorlage patterns/geschaeftskunden.php aus Standardbloecken.
   Aufbau: .f-b2b > .f-b2b-inner > [.f-b2b-head: .f-eyebrow, h2.f-b2b-title] [.f-b2b-body: Absatz,
   .f-b2b-actions mit Button]. Flacher Abschnitt ohne Bild auf zart petrol getoenter Flaeche.
   Ab 1000 px zwei gleich breite Spalten (Ueberschrift links, Beschreibung und Button rechts, senkrecht
   mittig), darunter alles untereinander.
   ========================================================================= */
.f-b2b { --f-b2b-tint: #E2E8E5; background: var(--f-b2b-tint); padding-block: clamp(2.75rem, 1.5rem + 5vw, 6rem); }
.f-b2b:not(#_),
.f-b2b :is(div, h2, p):not(#_) { margin-block: 0; }
.f-b2b-inner { width: var(--theme-container-width, 100%); max-width: var(--theme-normal-container-max-width, 1290px); margin-inline: auto; }
.f-b2b .f-b2b-title:not(#_) { margin-top: var(--f-space-2); font-size: var(--f-h2); line-height: 1.16; text-wrap: balance; }   /* 26 -> 40px */
.f-b2b .f-b2b-body:not(#_) { margin-top: var(--f-space-5); }
.f-b2b .f-b2b-body > p:not(#_) { max-width: 33rem; font-size: 1.0625rem; line-height: 1.65; color: var(--f-petrol-hover); text-wrap: pretty; }
.f-b2b .f-b2b-actions:not(#_) { margin-top: var(--f-space-6); }
.f-b2b .wp-block-button__link:not(#_) {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 26px;
  border: 0;
  background: var(--f-petrol);
  color: var(--f-ivory);
  text-align: center; text-decoration: none;
}
.f-b2b .wp-block-button__link:not(#_):hover { background: var(--f-petrol-hover); }
.f-b2b .wp-block-button__link:not(#_):active { background: var(--f-petrol-active); }
/* Desktop: zwei gleich breite Spalten wie in der ersten Fassung (Inhaber 15.11.), senkrecht mittig, feine Linie dazwischen; engere
   senkrechte Abstaende und etwas groessere Ueberschrift als in der ersten Fassung. */
@media (min-width: 1000px) {
  .f-b2b { padding-block: 4.25rem; }
  .f-b2b-inner { --f-b2b-gap: clamp(4rem, 7vw, 7rem); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: var(--f-b2b-gap); align-items: center; }
  .f-b2b .f-b2b-title:not(#_) { margin-top: var(--f-space-3); font-size: clamp(2.5rem, 3.4vw, 3rem); line-height: 1.12; }   /* 40 -> 48px */
  .f-b2b .f-b2b-body:not(#_) { position: relative; margin-top: 0; }
  /* feine senkrechte Linie in der Mitte zwischen den Spalten, so hoch wie die rechte Spalte */
  .f-b2b-body::before { content: ""; position: absolute; top: -8px; bottom: -8px; left: calc(var(--f-b2b-gap) / -2); width: 1px; background: rgba(27, 42, 50, 0.22); }
  .f-b2b .wp-block-button__link:not(#_) { min-height: var(--f-btn-h); padding: 0 28px; }
}

/* 22.1 Editor-Vorschau: dort fehlt Blocksys Container-Breite. */
.block-editor-block-list__block .f-b2b-inner { width: auto; padding-inline: var(--f-gutter); }

/* =========================================================================
   23. Startseite: Abschluss (D8.6). Vorlage patterns/abschluss.php aus Standardbloecken.
   Aufbau: .f-outro > .f-outro-inner > [.f-outro-card: .f-outro-main (.f-eyebrow, h2.f-outro-title,
   p.f-outro-text, .f-outro-actions mit Button), figure.f-outro-media] [.f-outro-trust:
   div.f-tp aus dem Shortcode facilite_trustpilot].
   Dritte Fassung nach der Bildvorlage des Inhabers (15.11.): Banner-Karte auf Elfenbein mit dem Motiv
   (Petrolwand, Steinpodest, Cremetiegel rechts). Ab 690 px fuellt das Motiv die Karte, der Text steht links
   auf der Wand; darunter steht der Text oben auf der Wandfarbe und das Motiv schliesst die Karte unten ab.
   Unter der Karte mit 24 bis 40 px Abstand das eigene Bewertungselement (dunkle Leiste); zum Footer derselbe
   Abstand wie ueber der Karte.
   ========================================================================= */
.f-outro { --f-outro-wall: #223E3E; --f-outro-soft: rgba(248, 245, 240, 0.86); background: var(--f-ivory); padding-block: clamp(2.5rem, 1.5rem + 4vw, 4.5rem); }
.f-outro:not(#_),
.f-outro :is(div, figure, h2, p):not(#_) { margin-block: 0; }
.f-outro-inner { width: var(--theme-container-width, 100%); max-width: var(--theme-normal-container-max-width, 1290px); margin-inline: auto; }
.f-outro-card { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--f-radius-panel); background: var(--f-outro-wall); color: var(--f-ivory); }
.f-outro-main { position: relative; z-index: 1; padding: var(--f-space-8) var(--f-space-6) var(--f-space-2); }
.f-outro .f-eyebrow:not(#_) { margin-bottom: 0; color: var(--f-ivory); }
.f-outro .f-outro-title:not(#_) { margin-top: var(--f-space-3); font-size: clamp(1.75rem, 3.3vw, 2.875rem); line-height: 1.14; color: var(--f-ivory); text-wrap: balance; }   /* 28 -> 46px */
.f-outro .f-outro-text:not(#_) { margin-top: var(--f-space-3); max-width: none; font-size: 1.0625rem; line-height: 1.6; color: var(--f-outro-soft); text-wrap: pretty; }
.f-outro .f-outro-actions:not(#_) { margin-top: var(--f-space-6); }
.f-outro .wp-block-button__link:not(#_) {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 26px;
  border: 0;
  background: var(--f-ivory);
  color: var(--f-petrol);
  text-align: center; text-decoration: none;
}
.f-outro .wp-block-button__link:not(#_):hover { background: var(--f-sand); }
.f-outro .wp-block-button__link:not(#_):active { background: var(--f-taupe); }
.f-outro .wp-block-button__link:not(#_):focus-visible { outline-color: var(--f-ivory); }

/* Motiv: unter 1000 px Abschluss der Karte, oben laeuft es in die Wandfarbe aus */
.f-outro-media { position: relative; }
.f-outro-media::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, var(--f-outro-wall) 0%, rgba(34, 62, 62, 0) 42%); }
/* Smartphone: nur die rechten zwei Drittel des Motivs. Das Bild ist dafuer breiter als die Karte (nicht per
   object-fit beschnitten), damit der Browser ueber sizes=auto eine ausreichend grosse Fassung waehlt. */
.f-outro-media img:not(#_) { display: block; width: 150%; max-width: none; height: auto; margin-left: -50%; aspect-ratio: 3 / 1; object-fit: cover; object-position: right bottom; border-radius: 0; }

/* Bewertungen unter der Karte, ohne Ueberschrift (Inhaber 18.11.): das eigene Bewertungselement nach der
   Bildvorlage des Inhabers vom 18.11. (I-13; Shortcode facilite_trustpilot): div.f-tp > [.f-tp-info:
   img.f-tp-logo, span.f-tp-stars (fuenf svg.f-tp-star, leere mit .is-off), span.f-tp-text (strong, .f-tp-count)]
   [a.f-tp-btn]. Dunkle Leiste in der Wandfarbe der Karte und mit deren Rundung; ab 1000 px eine Zeile mit dem
   Button rechts und dem Inhalt in der Flucht des Kartentexts, darunter mittig untereinander. */
.f-outro .f-outro-trust:not(#_) { margin-top: clamp(1.5rem, 1rem + 2vw, 2.5rem); text-align: center; }   /* 24 -> 40px, Leiste steht frei (Inhaber 18.11.) */
.f-outro .f-tp:not(#_) {
  display: flex; flex-direction: column; align-items: center; gap: var(--f-space-5);
  padding: var(--f-space-6);
  border-radius: var(--f-radius-panel);
  background: var(--f-outro-wall);
  color: var(--f-ivory);
}
.f-outro .f-tp-info:not(#_) { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 18px; }
/* Verhaeltnisse wie in der Bildvorlage: das Logo ist niedriger als die Sternfelder (22 zu 28 px) und bleibt mit
   seinem Stern innerhalb ihrer Hoehe. Die Grundlinie des Schriftzugs liegt bei 86,4 % der Logohoehe; 2 px nach
   oben setzen sie auf die Grundlinie des Textes. */
.f-outro .f-tp-logo:not(#_) { display: block; flex: none; width: 90px; max-width: none; height: 22px; border-radius: 0; transform: translateY(-2px); }
.f-tp-stars { display: inline-flex; flex: none; gap: 3px; }
.f-tp-star { display: block; width: 28px; height: 28px; }
.f-tp-star rect { fill: #00B67A; }
.f-tp-star path { fill: #fff; }
.f-tp-star.is-off rect { fill: rgba(248, 245, 240, 0.16); }
.f-tp-star.is-off path { fill: rgba(248, 245, 240, 0.55); }
.f-tp-text { font-size: 1rem; line-height: 1.4; white-space: nowrap; }
.f-tp-text strong { font-weight: 700; color: var(--f-ivory); }
.f-tp-text .f-tp-count { color: rgba(248, 245, 240, 0.72); white-space: pre; }
/* Button im Stil der Sekundaer-Buttons (Abschnitt 4), hell auf der dunklen Leiste; fuellt sich beim Hover */
.f-outro a.f-tp-btn:not(#_) {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  align-self: stretch;
  min-height: var(--f-btn-h-md); padding: 0 22px;
  border: 1px solid rgba(248, 245, 240, 0.55);
  background: transparent;
  color: var(--f-ivory);
  font-size: 0.8125rem; white-space: nowrap; text-decoration: none;
}
.f-outro a.f-tp-btn:not(#_):hover { border-color: var(--f-ivory); background: var(--f-ivory); color: var(--f-petrol); }
.f-outro a.f-tp-btn:not(#_):active { border-color: var(--f-sand); background: var(--f-sand); color: var(--f-petrol); }
.f-outro a.f-tp-btn:not(#_):focus-visible { outline: 2px solid var(--f-ivory); outline-offset: 3px; }
.f-tp-btn svg { flex: none; }
@media (min-width: 560px) {
  .f-outro a.f-tp-btn:not(#_) { align-self: center; }
}
@media (min-width: 690px) {
  .f-outro .f-tp:not(#_) { padding: var(--f-space-5) var(--f-space-12); }
}
@media (min-width: 1000px) {
  .f-outro .f-tp:not(#_) { flex-direction: row; justify-content: space-between; gap: var(--f-space-6); padding: 18px clamp(2.5rem, 5vw, 4.5rem); text-align: left; }
  .f-outro .f-tp-info:not(#_) { flex-wrap: nowrap; justify-content: flex-start; }
}

/* Schmale Smartphones: der Button bleibt einzeilig */
@media (max-width: 389.98px) {
  .f-outro-main { padding-inline: var(--f-space-5); }
  .f-outro .wp-block-button__link:not(#_) { padding: 0 16px; font-size: 0.78rem; white-space: nowrap; }
}

/* Ab 690 px fuellt das Motiv die Karte, der Text steht links auf der Wand und endet vor Zweig und Tiegel */
@media (min-width: 690px) {
  .f-outro-main { max-width: 60%; padding: var(--f-space-12) 0 var(--f-space-12) var(--f-space-12); }
  .f-outro-media:not(#_) { position: absolute; inset: 0; z-index: 0; }
  .f-outro-media::before { background: linear-gradient(90deg, rgba(27, 48, 50, 0.5) 0%, rgba(27, 48, 50, 0.22) 45%, rgba(27, 48, 50, 0) 68%); }
  .f-outro-media img:not(#_) { width: 100%; height: 100%; margin-left: 0; aspect-ratio: auto; object-position: right bottom; }
}
@media (min-width: 1000px) {
  .f-outro-main { max-width: 66%; padding: clamp(2.75rem, 4vw, 3.5rem) 0 clamp(2.75rem, 4vw, 3.5rem) clamp(2.5rem, 5vw, 4.5rem); }
  .f-outro .wp-block-button__link:not(#_) { min-height: var(--f-btn-h); padding: 0 28px; }
  .f-outro-media img:not(#_) { object-position: right top; }
}

/* 23.1 Editor-Vorschau: dort fehlt Blocksys Container-Breite. */
.block-editor-block-list__block .f-outro-inner { width: auto; padding-inline: var(--f-gutter); }

/* =========================================================================
   24. Seite "Ueber Facilite" als Markenreportage (D8.7, zweite Fassung; inc/page-about.php, Vorlage
   patterns/seite-ueber-facilite.php, Seitenrahmen template-editorial.php, nur Standardbloecke).
   .f-story-hero    Einstieg: Ueberschrift, Einleitung und Namenszeile links, Portraet im Hochformat rechts
   .f-story-origin  Entstehung: Erzaehltext mit Zitat, Bild, Stationen als Zeitleiste
   .f-story-credo   Philosophie auf Petrol: grosse Ueberschrift, Grundsaetze als Zeilen mit feinen Linien
   .f-story-today   Heute: Aufnahme links, Text und Buttons rechts daneben
   ========================================================================= */
:is(.f-story-hero, .f-story-origin, .f-story-credo, .f-story-today):not(#_),
:is(.f-story-hero, .f-story-origin, .f-story-credo, .f-story-today) :is(div, figure, h1, h2, h3, p):not(#_) { margin-block: 0; }
:is(.f-story-hero-inner, .f-story-origin-inner, .f-story-credo-inner, .f-story-today-inner) { width: var(--theme-container-width, 100%); max-width: var(--theme-normal-container-max-width, 1290px); margin-inline: auto; }
:is(.f-story-hero, .f-story-origin, .f-story-credo, .f-story-today) .f-eyebrow:not(#_) { margin-bottom: 0; }
:is(.f-story-hero-media, .f-story-origin-media, .f-story-today-media) { overflow: hidden; border-radius: var(--f-radius-panel); background: var(--f-ivory-deep); }
:is(.f-story-hero-media, .f-story-origin-media, .f-story-today-media) img:not(#_) { display: block; width: 100%; height: auto; object-fit: cover; border-radius: 0; }

/* Textlinks zum Institut: feine Unterstreichung in Taupe, beim Ueberfahren in Textfarbe */
:is(.f-story-hero, .f-story-origin) p a:not(#_) { color: var(--f-petrol); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; text-decoration-color: var(--f-taupe); transition: text-decoration-color var(--f-transition); }
:is(.f-story-hero, .f-story-origin) p a:not(#_):hover { text-decoration-color: currentColor; }

/* 24.1 Einstieg */
.f-story-hero { background: var(--f-ivory); padding-block: clamp(1.75rem, 1rem + 3vw, 3.5rem) clamp(2.5rem, 1rem + 5vw, 5.5rem); }
.f-story-hero .f-story-hero-title:not(#_) { margin-top: var(--f-space-3); max-width: 15ch; font-size: clamp(2.125rem, 0.6rem + 6.4vw, 5.75rem); line-height: 1.03; letter-spacing: -0.02em; }   /* 34 -> 92px */
.f-story-hero .f-story-hero-media:not(#_) { margin-top: var(--f-space-6); }
.f-story-hero-media img:not(#_) { aspect-ratio: 4 / 5; object-position: 47% center; }
.f-story-hero .f-story-hero-aside:not(#_) { margin-top: var(--f-space-6); }
.f-story-hero .f-story-hero-lead:not(#_) { max-width: 34rem; font-size: 1.125rem; line-height: 1.6; color: var(--f-petrol); text-wrap: pretty; }
.f-story-hero .f-story-hero-meta:not(#_) { margin-top: var(--f-space-5); padding-top: var(--f-space-4); border-top: 1px solid var(--f-line-strong); max-width: 34rem; font-size: var(--f-text-sm); line-height: 1.55; color: var(--f-taupe-deep); }
.f-story-hero-meta strong { font-family: var(--f-font-display); font-size: 1.125rem; font-weight: 400; color: var(--f-petrol); }
@media (min-width: 690px) {
  .f-story-hero-media img:not(#_) { aspect-ratio: 3 / 2; object-position: center; }
  .f-story-hero .f-story-hero-media:not(#_) { margin-top: var(--f-space-8); }
  .f-story-hero-aside { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); column-gap: var(--f-space-8); align-items: start; }
  .f-story-hero .f-story-hero-meta:not(#_) { margin-top: 0; }
}
/* ab 1000 px (dritte Fassung, Inhaber 15.11.: Ueberschrift allein ueber die ganze Breite wirkte verloren, Portraet
   im ersten Bildschirm angeschnitten): links Ueberschrift, Einleitung und Namenszeile als ein Block, senkrecht
   mittig neben dem Portraet im Hochformat; dessen Hoehe richtet sich nach dem Fenster, damit Kopf und Bild auch
   in flachen Fenstern zusammen sichtbar sind. */
@media (min-width: 1000px) {
  .f-story-hero { padding-block: clamp(1.5rem, 3vw, 3rem) clamp(3rem, 5vw, 5rem); }
  .f-story-hero-inner { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: clamp(2.5rem, 5vw, 5rem); }
  .f-story-hero-head { grid-column: 1; grid-row: 1; align-self: end; }
  .f-story-hero .f-story-hero-title:not(#_) { margin-top: var(--f-space-4); max-width: none; font-size: clamp(3.25rem, 0.75rem + 4.2vw, 4.75rem); line-height: 1.05; }   /* 52 -> 76px */
  .f-story-hero .f-story-hero-aside:not(#_) { grid-column: 1; grid-row: 2; display: block; align-self: start; margin-top: var(--f-space-8); max-width: 31rem; }
  .f-story-hero .f-story-hero-lead:not(#_) { font-size: 1.1875rem; }
  .f-story-hero .f-story-hero-meta:not(#_) { margin-top: var(--f-space-8); }
  .f-story-hero .f-story-hero-media:not(#_) { grid-column: 2; grid-row: 1 / span 2; margin-top: 0; }
  .f-story-hero-media img:not(#_) { aspect-ratio: 4 / 5; height: auto; max-height: max(27rem, 100svh - 13rem); object-position: 47% center; }
}

/* 24.2 Entstehung */
.f-story-origin { background: var(--f-ivory-deep); padding-block: clamp(3rem, 1.5rem + 6vw, 7rem); }
.f-story-origin .f-story-origin-title:not(#_) { margin-top: var(--f-space-3); font-size: clamp(1.75rem, 1.25rem + 2vw, 2.75rem); line-height: 1.14; text-wrap: balance; }
.f-story-origin .f-story-origin-media:not(#_) { margin-top: var(--f-space-6); background: var(--f-sand); }
.f-story-origin-media img:not(#_) { aspect-ratio: 4 / 3; object-position: center 30%; }
.f-story-origin .f-story-origin-body:not(#_) { margin-top: var(--f-space-6); }
.f-story-origin .f-story-origin-body > p:not(#_) { max-width: 36rem; font-size: 1.0625rem; line-height: 1.7; color: var(--f-taupe-deep); text-wrap: pretty; }
.f-story-origin .f-story-origin-body > p + p:not(#_) { margin-top: var(--f-space-4); }
.f-story-origin .f-story-origin-body > .f-story-origin-quote:not(#_) { margin-top: var(--f-space-8); padding-left: var(--f-space-5); border-left: 1px solid var(--f-accent); font-family: var(--f-font-display); font-style: italic; font-size: clamp(1.25rem, 1.1rem + 0.7vw, 1.5rem); line-height: 1.4; color: var(--f-petrol); }
.f-story-origin .f-story-origin-body > .f-story-origin-cite:not(#_) { margin-top: var(--f-space-3); padding-left: var(--f-space-5); border-left: 1px solid transparent; font-size: var(--f-text-xs); font-weight: 600; letter-spacing: var(--f-tracking-eyebrow); text-transform: uppercase; color: var(--f-taupe-deep); }
.f-story-origin .f-story-origin-body > .f-story-origin-cite + p:not(#_) { margin-top: var(--f-space-8); }
/* Zeitleiste: unter 690 px senkrecht (Linie links, Punkt je Station), ab 690 px eine durchgehende waagerechte
   Linie mit vier Punkten, die nach der letzten Station auslaeuft. */
.f-story-origin .f-story-stations:not(#_) { margin-top: var(--f-space-12); }
.f-story-origin .f-story-station:not(#_) { position: relative; padding: 0 0 var(--f-space-8) var(--f-space-8); }
.f-story-origin .f-story-station:last-child:not(#_) { padding-bottom: 0; }
.f-story-station::before { content: ""; position: absolute; z-index: 1; top: 0.5rem; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--f-petrol); box-shadow: 0 0 0 4px var(--f-ivory-deep); }
.f-story-station::after { content: ""; position: absolute; top: 0.5rem; bottom: -0.5rem; left: 4px; width: 1px; background: var(--f-taupe); }
.f-story-station:last-child::after { display: none; }
.f-story-origin .f-story-station-year:not(#_) { font-family: var(--f-font-display); font-size: clamp(1.625rem, 1.3rem + 1vw, 2.125rem); line-height: 1; color: var(--f-petrol); }
.f-story-origin .f-story-station-place:not(#_) { margin-top: var(--f-space-3); font-size: var(--f-text-xs); font-weight: 600; letter-spacing: var(--f-tracking-eyebrow); text-transform: uppercase; color: var(--f-petrol); }
.f-story-origin .f-story-station-text:not(#_) { margin-top: var(--f-space-1); max-width: 13rem; font-size: var(--f-text-sm); line-height: 1.5; color: var(--f-taupe-deep); text-wrap: balance; }
@media (min-width: 690px) {
  .f-story-origin .f-story-stations:not(#_) { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .f-story-origin .f-story-station:not(#_) { padding: var(--f-space-8) var(--f-space-4) 0 0; }
  .f-story-station::before { top: 0; }
  .f-story-station::after { top: 4px; bottom: auto; left: 0; right: 0; width: auto; height: 1px; }
  .f-story-station:last-child::after { display: block; background: linear-gradient(90deg, var(--f-taupe) 0%, rgba(168, 152, 133, 0) 100%); }
}
/* ab 1000 px: Text links, rechts die Aufnahme und darunter die Stationen */
@media (min-width: 1000px) {
  .f-story-origin-inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(3rem, 6vw, 6rem); align-items: start; }
  .f-story-origin-head { grid-column: 1; grid-row: 1; }
  .f-story-origin .f-story-origin-body:not(#_) { grid-column: 1; grid-row: 2 / span 2; margin-top: var(--f-space-8); }
  .f-story-origin .f-story-origin-media:not(#_) { grid-column: 2; grid-row: 1 / span 2; margin-top: 0; }
  .f-story-origin .f-story-stations:not(#_) { grid-column: 2; grid-row: 3; margin-top: var(--f-space-12); }
}

/* 24.3 Philosophie */
.f-story-credo { --f-credo-line: rgba(248, 245, 240, 0.2); --f-credo-soft: rgba(248, 245, 240, 0.78); background: var(--f-petrol); color: var(--f-ivory); padding-block: clamp(3.5rem, 1.5rem + 7vw, 8rem); }
.f-story-credo .f-eyebrow:not(#_) { color: var(--f-credo-soft); }
.f-story-credo .f-story-credo-lead:not(#_) { margin-top: var(--f-space-5); max-width: 18ch; font-size: clamp(2rem, 1rem + 4vw, 4.75rem); line-height: 1.08; letter-spacing: -0.015em; color: var(--f-ivory); text-wrap: balance; }   /* 32 -> 76px */
.f-story-credo-lead em { font-style: italic; color: #D9C39A; }   /* Messing, auf Petrol aufgehellt */
.f-story-credo .f-story-credo-grid:not(#_) { margin-top: clamp(3rem, 2rem + 4vw, 6rem); }
.f-story-credo .f-story-credo-title:not(#_) { font-family: var(--f-font-display); font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem); line-height: 1.2; letter-spacing: var(--f-tracking-display); color: var(--f-ivory); }
.f-story-credo .f-story-credo-rows:not(#_) { margin-top: var(--f-space-6); }
.f-story-credo .f-story-credo-row:not(#_) { padding-block: var(--f-space-6); border-top: 1px solid var(--f-credo-line); }
.f-story-credo .f-story-credo-row:last-child:not(#_) { padding-bottom: 0; }
.f-story-credo .f-story-credo-key:not(#_) { font-style: italic; font-size: clamp(1.375rem, 1.2rem + 0.7vw, 1.75rem); line-height: 1.2; color: var(--f-ivory); }
.f-story-credo .f-story-credo-row > p:not(#_) { margin-top: var(--f-space-3); max-width: 36rem; font-size: 1.0625rem; line-height: 1.65; color: var(--f-credo-soft); text-wrap: pretty; }
@media (min-width: 690px) {
  .f-story-credo-row { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); column-gap: var(--f-space-8); align-items: baseline; }
  .f-story-credo .f-story-credo-row > p:not(#_) { margin-top: 0; }
}
@media (min-width: 1000px) {
  .f-story-credo-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); column-gap: clamp(2.5rem, 5vw, 5rem); align-items: start; }
  .f-story-credo .f-story-credo-rows:not(#_) { margin-top: 0; }
  .f-story-credo .f-story-credo-row:not(#_) { padding-block: var(--f-space-8); }
  .f-story-credo .f-story-credo-row:first-child:not(#_) { padding-top: var(--f-space-6); }
}

/* 24.4 Facilite heute */
.f-story-today { background: var(--f-ivory); padding-block: clamp(2.5rem, 1.5rem + 5vw, 6rem) clamp(3rem, 1.5rem + 5vw, 6rem); }
.f-story-today-media img:not(#_) { aspect-ratio: 4 / 3; object-position: center; }   /* Motiv seit 16.11. im Format 4:3, kein Anschnitt */
.f-story-today .f-story-today-text:not(#_) { margin-top: var(--f-space-6); }
.f-story-today .f-story-today-title:not(#_) { margin-top: var(--f-space-3); font-size: clamp(1.75rem, 1.25rem + 2vw, 2.75rem); line-height: 1.14; text-wrap: balance; }
.f-story-today .f-story-today-text > p:not(.f-eyebrow):not(#_) { margin-top: var(--f-space-4); max-width: 34rem; font-size: 1.0625rem; line-height: 1.65; color: var(--f-taupe-deep); text-wrap: pretty; }
.f-story-today .f-story-today-actions:not(#_) { margin-top: var(--f-space-6); display: flex; flex-wrap: wrap; gap: var(--f-space-3); }
.f-story-today .wp-block-button:not(#_) { margin: 0; }
.f-story-today .wp-block-button__link:not(#_) {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 26px;
  border: 1px solid var(--f-petrol);
  background: var(--f-petrol);
  color: var(--f-ivory);
  text-align: center; text-decoration: none;
}
.f-story-today .wp-block-button__link:not(#_):hover { background: var(--f-petrol-hover); border-color: var(--f-petrol-hover); }
.f-story-today .is-style-outline .wp-block-button__link:not(#_) { background: transparent; color: var(--f-petrol); }
.f-story-today .is-style-outline .wp-block-button__link:not(#_):hover { background: var(--f-petrol); border-color: var(--f-petrol); color: var(--f-ivory); }
.f-story-today .wp-block-button__link:not(#_):active { background: var(--f-petrol-active); border-color: var(--f-petrol-active); color: var(--f-ivory); }
@media (max-width: 479.98px) {
  .f-story-today .wp-block-button:not(#_),
  .f-story-today .wp-block-button__link:not(#_) { width: 100%; }
}
/* ab 690 px ruhiger Abschluss (Inhaber 15.11.: breite Aufnahme mit einschneidendem Textfeld war zu laut): die
   Aufnahme als kleinerer Ausschnitt auf Theke und Beratung links, der Text senkrecht mittig rechts daneben */
@media (min-width: 690px) {
  .f-story-today-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: var(--f-space-8); align-items: center; }
  .f-story-today-media img:not(#_) { aspect-ratio: 5 / 4; object-position: center; }
  .f-story-today .f-story-today-text:not(#_) { margin-top: 0; }
}
@media (min-width: 1000px) {
  .f-story-today-inner { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); column-gap: clamp(3.5rem, 7vw, 7rem); }
  .f-story-today-media img:not(#_) { aspect-ratio: 4 / 3; max-height: max(24rem, 100svh - 16rem); }
  .f-story-today .f-story-today-text:not(#_) { max-width: 30rem; }
  .f-story-today .f-story-today-actions:not(#_) { margin-top: var(--f-space-8); }
  .f-story-today .wp-block-button__link:not(#_) { min-height: var(--f-btn-h); padding: 0 28px; }
}

/* 24.5 Editor-Vorschau: dort fehlt Blocksys Container-Breite. */
.block-editor-block-list__block :is(.f-story-hero-inner, .f-story-origin-inner, .f-story-credo-inner, .f-story-today-inner) { width: auto; padding-inline: var(--f-gutter); }

/* =========================================================================
   25. Seite "Kontakt" (D8.8, zweite Fassung; inc/page-contact.php, Vorlage patterns/seite-kontakt.php,
   Seitenrahmen template-editorial.php, nur Standardbloecke und das WPForms-Formular aus Abschnitt 5.8).
   .f-contact-hero   Einstieg ohne Bild: Ueberschrift und Einleitung links, drei Wege als Verzeichnis rechts
   .f-contact-faq    Haeufige Fragen auf Petrol: Ueberschrift links, Fragen zum Aufklappen rechts
   .f-contact-write  Nachricht: Ueberschrift, Antwortzeit, E-Mail und Anschrift links, Formular rechts
   ========================================================================= */
:is(.f-contact-hero, .f-contact-faq, .f-contact-write):not(#_),
:is(.f-contact-hero, .f-contact-faq, .f-contact-write) :is(.wp-block-group, .wp-block-details, h1, h2, p):not(#_) { margin-block: 0; }
:is(.f-contact-hero-inner, .f-contact-faq-inner, .f-contact-write-inner) { width: var(--theme-container-width, 100%); max-width: var(--theme-normal-container-max-width, 1290px); margin-inline: auto; }
:is(.f-contact-hero, .f-contact-faq, .f-contact-write) .f-eyebrow:not(#_) { margin-bottom: 0; }
:is(.f-contact-faq, .f-contact-write) { scroll-margin-top: 5rem; }

/* 25.1 Einstieg */
.f-contact-hero { background: var(--f-ivory); padding-block: clamp(1.75rem, 1rem + 3vw, 3.5rem) clamp(2.5rem, 1rem + 5vw, 5.5rem); }
.f-contact-hero .f-contact-hero-title:not(#_) { margin-top: var(--f-space-3); font-size: clamp(2.375rem, 0.9rem + 6.2vw, 5.25rem); line-height: 1.04; letter-spacing: -0.02em; }   /* 38 -> 84px */
.f-contact-hero .f-contact-hero-lead:not(#_) { margin-top: var(--f-space-5); max-width: 30rem; font-size: 1.125rem; line-height: 1.6; color: var(--f-petrol); text-wrap: pretty; }
/* Verzeichnis: jede Zeile ist als Ganzes anklickbar (Link ueber die Zeile gespannt), Pfeil rechts */
.f-contact-hero .f-contact-ways:not(#_) { margin-top: var(--f-space-8); border-bottom: 1px solid var(--f-line-strong); }
.f-contact-hero .f-contact-way:not(#_) { position: relative; display: grid; grid-template-columns: 2.5rem minmax(0, 1fr) 2rem; column-gap: var(--f-space-3); padding-block: var(--f-space-5); border-top: 1px solid var(--f-line-strong); transition: background-color var(--f-transition); }
.f-contact-hero .f-contact-way-no:not(#_) { grid-column: 1; grid-row: 1; align-self: baseline; padding-top: 0.5em; font-size: var(--f-text-xs); font-weight: 600; letter-spacing: var(--f-tracking-eyebrow); color: var(--f-taupe-deep); }
.f-contact-hero .f-contact-way-title:not(#_) { grid-column: 2; grid-row: 1; font-family: var(--f-font-display); font-size: clamp(1.375rem, 1.15rem + 1vw, 1.875rem); line-height: 1.2; letter-spacing: var(--f-tracking-display); color: var(--f-petrol); }
.f-contact-way-title a:not(#_) { color: inherit; text-decoration: none; }
.f-contact-way-title a::after { content: ""; position: absolute; inset: 0; }
.f-contact-way-title a:focus-visible { outline: none; }
.f-contact-way:has(a:focus-visible) { outline: 2px solid var(--f-petrol); outline-offset: 2px; }
.f-contact-hero .f-contact-way-text:not(#_) { grid-column: 2; grid-row: 2; margin-top: var(--f-space-1); max-width: 26rem; font-size: 0.9375rem; line-height: 1.55; color: var(--f-taupe-deep); }
.f-contact-way::after { content: ""; grid-column: 3; grid-row: 1 / span 2; align-self: center; justify-self: end; width: 1.375rem; height: 0.75rem; background: var(--f-petrol); -webkit-mask: var(--f-contact-arrow) center / contain no-repeat; mask: var(--f-contact-arrow) center / contain no-repeat; transition: transform var(--f-transition); }
.f-contact-hero { --f-contact-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 12' fill='none' stroke='%23000' stroke-width='1.2'%3E%3Cpath d='M0 6h21M16 1l5 5-5 5'/%3E%3C/svg%3E"); }
@media (hover: hover) {
  .f-contact-way:hover::after { transform: translateX(4px); }
  .f-contact-way:hover .f-contact-way-title { color: var(--f-petrol-hover); }
}
@media (min-width: 690px) and (max-width: 999.98px) {
  .f-contact-hero .f-contact-ways:not(#_) { margin-top: var(--f-space-12); }
}
/* ab 1000 px: Ueberschrift links, Verzeichnis rechts, senkrecht mittig zueinander; der Abschnitt beginnt wie bei
   "Ueber Facilite" direkt unter der Kopfzeile (Inhaber 16.11.: die fruehere Mindesthoehe mit Ausrichtung an der
   Unterkante liess in hohen Fenstern eine grosse leere Flaeche ueber dem Inhalt) */
@media (min-width: 1000px) {
  .f-contact-hero { padding-block: clamp(1.5rem, 3vw, 3rem) clamp(3rem, 5vw, 5rem); }
  .f-contact-hero-inner { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); column-gap: clamp(3rem, 7vw, 7rem); align-items: center; }
  .f-contact-hero .f-contact-hero-title:not(#_) { margin-top: var(--f-space-4); font-size: clamp(3.5rem, 0.5rem + 5vw, 5.5rem); }   /* 56 -> 88px */
  .f-contact-hero .f-contact-hero-lead:not(#_) { margin-top: var(--f-space-6); font-size: 1.1875rem; }
  .f-contact-hero .f-contact-ways:not(#_) { margin-top: 0; }
  .f-contact-hero .f-contact-way:not(#_) { padding-block: var(--f-space-6); }
}

/* 25.2 Haeufige Fragen */
.f-contact-faq { --f-faq-line: rgba(248, 245, 240, 0.2); --f-faq-soft: rgba(248, 245, 240, 0.78); background: var(--f-petrol); color: var(--f-ivory); padding-block: clamp(3rem, 1.5rem + 6vw, 7rem); }
.f-contact-faq .f-eyebrow:not(#_) { color: var(--f-faq-soft); }
.f-contact-faq .f-contact-faq-title:not(#_) { margin-top: var(--f-space-3); font-size: clamp(1.875rem, 1.25rem + 2.6vw, 3.25rem); line-height: 1.1; letter-spacing: -0.015em; color: var(--f-ivory); }
.f-contact-faq-title em { font-style: italic; color: #D9C39A; }   /* Messing, auf Petrol aufgehellt (wie Abschnitt 24.3) */
.f-contact-faq .f-contact-faq-list:not(#_) { margin-top: var(--f-space-8); border-bottom: 1px solid var(--f-faq-line); }
.f-contact-faq .f-contact-faq-item:not(#_) { border-top: 1px solid var(--f-faq-line); }
.f-contact-faq-item > summary { position: relative; display: block; list-style: none; cursor: pointer; padding: var(--f-space-5) 3rem var(--f-space-5) 0; font-family: var(--f-font-display); font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem); line-height: 1.3; letter-spacing: var(--f-tracking-display); color: var(--f-ivory); }
.f-contact-faq .f-contact-faq-item > summary:not(#_) { margin: 0; }   /* Blocksy setzt unter summary einen Abstand */
.f-contact-faq-item > summary::-webkit-details-marker { display: none; }
.f-contact-faq-item > summary::before,
.f-contact-faq-item > summary::after { content: ""; position: absolute; top: 50%; right: 0.25rem; width: 15px; height: 1px; background: var(--f-ivory); transition: transform var(--f-transition); }
.f-contact-faq-item > summary::after { transform: rotate(90deg); }
.f-contact-faq-item[open] > summary::after { transform: rotate(0deg); }
.f-contact-faq-item > summary:focus-visible { outline: 2px solid var(--f-ivory); outline-offset: 2px; }
.f-contact-faq .f-contact-faq-item > p:not(#_) { max-width: 38rem; padding: 0 3rem var(--f-space-6) 0; font-size: 1.0625rem; line-height: 1.65; color: var(--f-faq-soft); text-wrap: pretty; }
.f-contact-faq-item p a:not(#_) { color: var(--f-ivory); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; text-decoration-color: rgba(248, 245, 240, 0.5); transition: text-decoration-color var(--f-transition); }
.f-contact-faq-item p a:not(#_):hover { text-decoration-color: currentColor; }
@media (min-width: 1000px) {
  .f-contact-faq-inner { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); column-gap: clamp(3rem, 6vw, 6rem); align-items: start; }
  .f-contact-faq .f-contact-faq-list:not(#_) { margin-top: 0; }
  .f-contact-faq-item > summary { padding-block: var(--f-space-6); }
}

/* 25.3 Nachricht */
.f-contact-write { background: var(--f-ivory-deep); padding-block: clamp(3rem, 1.5rem + 6vw, 7rem); }
.f-contact-write .f-contact-write-title:not(#_) { margin-top: var(--f-space-3); font-size: clamp(1.875rem, 1.25rem + 2.6vw, 3.25rem); line-height: 1.1; letter-spacing: -0.015em; }
.f-contact-write .f-contact-write-lead:not(#_) { margin-top: var(--f-space-4); max-width: 27rem; font-size: 1.0625rem; line-height: 1.65; color: var(--f-taupe-deep); text-wrap: pretty; }
/* Formular als weisse Flaeche; Felder, Fehlertexte und Button kommen aus Abschnitt 5.8 */
.f-contact-write .f-contact-form:not(#_) { margin-top: var(--f-space-8); padding: clamp(1.25rem, 0.5rem + 3vw, 2.75rem); border-radius: var(--f-radius-panel); background: var(--f-white); }
.f-contact-form div.wpforms-container-full:not(#_) { margin: 0; }
.f-contact-write .f-contact-privacy:not(#_) { margin-top: var(--f-space-5); font-size: var(--f-text-sm); line-height: 1.55; color: var(--f-taupe-deep); }
/* unter 600 px stehen alle Felder untereinander (das Plugin stellt Vor- und Nachname sowie Firma und Telefon
   sonst nebeneinander, die Platzhalter wurden abgeschnitten); der Button geht ueber die volle Breite */
@media (max-width: 599.98px) {
  .f-contact-form div.wpforms-container-full .wpforms-form :is(.wpforms-one-half, .wpforms-field-row-block):not(#_) { float: none; clear: both; width: 100%; margin-left: 0; }
  .f-contact-form div.wpforms-container-full .wpforms-form .wpforms-field-row-block + .wpforms-field-row-block:not(#_) { margin-top: var(--f-space-5); }
  .f-contact-form div.wpforms-container-full .wpforms-form button[type="submit"]:not(#_) { width: 100%; }
}
/* E-Mail und Anschrift als Zeilen mit feiner Linie */
.f-contact-write .f-contact-aside:not(#_) { margin-top: var(--f-space-8); border-bottom: 1px solid var(--f-line-strong); }
.f-contact-write .f-contact-item:not(#_) { padding-block: var(--f-space-5); border-top: 1px solid var(--f-line-strong); }
.f-contact-write .f-contact-key:not(#_) { font-size: var(--f-text-xs); font-weight: 600; letter-spacing: var(--f-tracking-eyebrow); text-transform: uppercase; color: var(--f-taupe-deep); }
.f-contact-write .f-contact-value:not(#_) { margin-top: var(--f-space-2); font-size: 1.0625rem; line-height: 1.6; color: var(--f-petrol); }
.f-contact-write :is(.f-contact-value, .f-contact-privacy) a:not(#_) { color: var(--f-petrol); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; text-decoration-color: var(--f-taupe); transition: text-decoration-color var(--f-transition); }
.f-contact-write :is(.f-contact-value, .f-contact-privacy) a:not(#_):hover { text-decoration-color: currentColor; }
@media (min-width: 690px) and (max-width: 999.98px) {
  .f-contact-item { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); column-gap: var(--f-space-8); align-items: baseline; }
  .f-contact-write .f-contact-value:not(#_) { margin-top: 0; }
}
@media (min-width: 1000px) {
  .f-contact-write-inner { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); grid-template-rows: auto 1fr; column-gap: clamp(3rem, 6vw, 6rem); align-items: start; }
  .f-contact-write-head { grid-column: 1; grid-row: 1; }
  .f-contact-write .f-contact-aside:not(#_) { grid-column: 1; grid-row: 2; margin-top: var(--f-space-12); max-width: 27rem; }
  .f-contact-write .f-contact-form:not(#_) { grid-column: 2; grid-row: 1 / span 2; margin-top: 0; }
}

/* 25.4 Editor-Vorschau: dort fehlt Blocksys Container-Breite. */
.block-editor-block-list__block :is(.f-contact-hero-inner, .f-contact-faq-inner, .f-contact-write-inner) { width: auto; padding-inline: var(--f-gutter); }

/* =========================================================================
   26. Informationsseiten, zuerst "Lieferung & Versand" (D8.9, zweite Fassung; inc/page-shipping.php, Vorlage
   patterns/seite-versand.php, Seitenrahmen template-editorial.php, nur Standardbloecke).
   Ruhige, kompakte Seite auf einheitlich hellem Grund (Entscheidung des Inhabers 16.11.2026): keine Bilder, keine
   kursiven Ueberschriften, keine dunklen Flaechen. Aufbau: .f-info > .f-info-inner > [.f-info-head: h1.f-info-title,
   .f-info-lead] [.f-info-block: h2.f-info-block-title, .f-info-block-body] ... Jeder Block beginnt mit einer feinen
   Linie; ab 860 px steht die Ueberschrift links neben dem Inhalt. Tabellen: figure.f-info-table.
   ========================================================================= */
.f-info { background: var(--f-ivory); padding-block: clamp(1.75rem, 1rem + 3vw, 3.5rem) clamp(3rem, 1.5rem + 5vw, 6rem); }
.f-info:not(#_),
.f-info :is(.wp-block-group, .wp-block-table, h1, h2, p):not(#_) { margin-block: 0; }
.f-info-inner { width: var(--theme-container-width, 100%); max-width: var(--theme-normal-container-max-width, 1290px); margin-inline: auto; }   /* buendig mit Logo und Kopfzeile; die Lesebreite begrenzen die Inhalte selbst (40rem) */
.f-info .f-info-title:not(#_) { font-size: clamp(2rem, 1.5rem + 2vw, 3rem); line-height: 1.12; letter-spacing: -0.01em; }   /* 32 -> 48px */
.f-info .f-info-lead:not(#_) { margin-top: var(--f-space-4); max-width: 36rem; font-size: 1.0625rem; line-height: 1.6; color: var(--f-taupe-deep); text-wrap: pretty; }
.f-info .f-info-head:not(#_) { padding-bottom: clamp(2rem, 1.25rem + 3vw, 3.5rem); }
.f-info .f-info-block:not(#_) { padding-block: clamp(1.5rem, 1.1rem + 1.6vw, 2.25rem); border-top: 1px solid var(--f-line-strong); }
.f-info .f-info-block:last-child:not(#_) { padding-bottom: 0; }
.f-info .f-info-block-title:not(#_) { font-size: clamp(1.25rem, 1.15rem + 0.4vw, 1.5rem); line-height: 1.25; }   /* 20 -> 24px */
.f-info .f-info-block-body:not(#_) { margin-top: var(--f-space-3); }
.f-info .f-info-block-body > p:not(#_) { max-width: 40rem; font-size: 1.0625rem; line-height: 1.65; color: var(--f-taupe-deep); text-wrap: pretty; }
.f-info .f-info-block-body > * + *:not(#_) { margin-top: var(--f-space-4); }
.f-info-block-body p a:not(#_) { color: var(--f-petrol); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; text-decoration-color: var(--f-taupe); transition: text-decoration-color var(--f-transition); }
.f-info-block-body p a:not(#_):hover { text-decoration-color: currentColor; }
/* Kennzeichnung vorlaeufiger Angaben auf Entwurfsseiten: Warnhinweis aus Abschnitt 5.7 in schlichter Form */
.f-info :is(.f-info-block-body, .f-info-head) > .f-info-draft:not(#_) { max-width: 40rem; padding: 12px 16px; border: 1px solid rgba(138, 106, 47, 0.28); border-radius: var(--f-radius-field); background: rgba(138, 106, 47, 0.06); font-size: var(--f-text-sm); line-height: 1.5; color: var(--f-petrol); }
.f-info-draft strong { font-weight: 600; }
/* Rechtsseiten (K-36, inc/page-legal.php, Abschnitt mit .f-info--legal): Entwurfshinweis im Seitenkopf,
   Zwischenueberschriften (h3.f-info-sub) und Listen im Textmass der Absaetze. */
.f-info .f-info-head > .f-info-draft:not(#_) { margin-top: var(--f-space-5); }
.f-info .f-info-sub:not(#_) { margin-bottom: 0; font-family: var(--f-font-text); font-size: 1.0625rem; font-weight: 600; line-height: 1.4; letter-spacing: 0; color: var(--f-petrol); }
.f-info .f-info-block-body > .f-info-sub:first-child:not(#_) { margin-top: 0.15em; }
.f-info .f-info-block-body > .f-info-sub:not(:first-child):not(#_) { margin-top: var(--f-space-6); }
.f-info .f-info-block-body > .f-info-sub + *:not(#_) { margin-top: var(--f-space-2); }
.f-info .f-info-block-body > :is(ul, ol):not(#_) { max-width: 40rem; margin-bottom: 0; padding-left: 1.2em; font-size: 1.0625rem; line-height: 1.65; color: var(--f-taupe-deep); }
.f-info .f-info-block-body > :is(ul, ol) > li:not(#_) { margin: 0; padding-left: 0.2em; text-wrap: pretty; }
.f-info .f-info-block-body > :is(ul, ol) > li + li:not(#_) { margin-top: 0.45em; }
.f-info--legal .f-info-block-body :is(p, li) strong { font-weight: 600; color: var(--f-petrol); }
.f-info--legal .f-info-block-body li a:not(#_) { color: var(--f-petrol); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
/* AGB im Kasten der Kasse (WooCommerce blendet den Seiteninhalt nach Klick auf den AGB-Link ein): ohne
   Aussenabstaende, einspaltig und mit kleinerer Seitenueberschrift. */
.woocommerce-terms-and-conditions .f-info:not(#_) { padding-block: 0; background: transparent; }
.woocommerce-terms-and-conditions .f-info-inner { width: auto; max-width: none; }
.woocommerce-terms-and-conditions .f-info .f-info-title:not(#_) { font-size: 1.5rem; }
.woocommerce-terms-and-conditions .f-info .f-info-head:not(#_) { padding-bottom: var(--f-space-5); }
.woocommerce-terms-and-conditions .f-info-block { display: block; }
.woocommerce-terms-and-conditions .f-info .f-info-block:not(#_) { padding-block: var(--f-space-5); }
.woocommerce-terms-and-conditions .f-info .f-info-block-body:not(#_) { margin-top: var(--f-space-3); }
.woocommerce-terms-and-conditions .f-info .f-info-block-body > :is(p, ul, ol):not(#_) { font-size: 0.9375rem; line-height: 1.6; }
/* Tabelle: feine Zeilenlinien, Kopfzeile als kleine Versalien, Betraege mit Tabellenziffern */
.f-info .f-info-table:not(#_) { margin-top: var(--f-space-6); max-width: 40rem; overflow: visible; }
.f-info-table table:not(#_) { width: 100%; border: 0; border-collapse: collapse; }
.f-info-table :is(th, td):not(#_) { padding: 13px 16px 13px 0; border: 0; border-bottom: 1px solid var(--f-sand); background: transparent; text-align: left; vertical-align: baseline; }
.f-info-table :is(th, td):last-child:not(#_) { padding-right: 0; }
.f-info-table th:not(#_) { padding-top: 0; border-bottom-color: var(--f-line-strong); font-family: var(--f-font-text); font-size: var(--f-text-xs); font-weight: 600; letter-spacing: var(--f-tracking-eyebrow); text-transform: uppercase; color: var(--f-taupe-deep); }
.f-info-table td:not(#_) { font-size: 1rem; line-height: 1.45; color: var(--f-petrol); }
.f-info-table td:nth-child(2):not(#_) { white-space: nowrap; font-weight: 600; font-variant-numeric: tabular-nums lining-nums; }
.f-info-table td:nth-child(3):not(#_) { font-size: var(--f-text-sm); color: var(--f-taupe-deep); }
.f-info-table tbody tr:last-child td:not(#_) { border-bottom: 0; }
/* Flaggen vor den Laendernamen (Inhaber 16.11.): klein und flach aus Farbverlaeufen, keine Bilddateien, keine Emojis
   (Windows zeigt Flaggen-Emojis nur als Buchstaben). Leeres Element span.f-flag.f-flag--<Land> im Tabellenfeld. */
.f-flag { display: inline-block; width: 22px; height: 15px; margin-right: 12px; vertical-align: -1px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(27, 42, 50, 0.14); background-color: var(--f-sand); }
.f-flag--de { background: linear-gradient(#000 0 33.4%, #D00 33.4% 66.7%, #FFCE00 66.7%); }
.f-flag--at { background: linear-gradient(#C8102E 0 33.4%, #fff 33.4% 66.7%, #C8102E 66.7%); }
.f-flag--es { background: linear-gradient(#AA151B 0 25%, #F1BF00 25% 75%, #AA151B 75%); }
.f-flag--nl { background: linear-gradient(#AE1C28 0 33.4%, #fff 33.4% 66.7%, #21468B 66.7%); }
.f-flag--lu { background: linear-gradient(#EA141D 0 33.4%, #fff 33.4% 66.7%, #00A2E1 66.7%); }
.f-flag--be { background: linear-gradient(90deg, #000 0 33.4%, #FDDA24 33.4% 66.7%, #EF3340 66.7%); }
.f-flag--fr { background: linear-gradient(90deg, #0055A4 0 33.4%, #fff 33.4% 66.7%, #EF4135 66.7%); }
.f-flag--it { background: linear-gradient(90deg, #009246 0 33.4%, #fff 33.4% 66.7%, #CE2B37 66.7%); }
.f-flag--ch { background: linear-gradient(#fff, #fff) center / 12px 3px no-repeat, linear-gradient(#fff, #fff) center / 3px 11px no-repeat, #DA291C; }
/* unter 600 px keine drei Spalten (Inhaber 16.11.): je Land eine Zeile mit dem Betrag rechts, der Hinweis klein darunter;
   die Kopfzeile bleibt nur fuer Vorleseprogramme erhalten */
@media (max-width: 599.98px) {
  .f-info-table :is(table, tbody):not(#_) { display: block; }
  .f-info-table thead:not(#_) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .f-info-table tbody tr:not(#_) { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: var(--f-space-4); align-items: baseline; padding-block: 14px; border-bottom: 1px solid var(--f-sand); }
  .f-info-table tbody tr:first-child:not(#_) { border-top: 1px solid var(--f-line-strong); }
  .f-info-table tbody tr:last-child:not(#_) { border-bottom: 0; padding-bottom: 0; }
  .f-info-table td:not(#_) { display: block; padding: 0; border: 0; }
  .f-info-table td:first-child:not(#_) { font-size: 1.0625rem; }
  .f-info-table td:nth-child(2):not(#_) { text-align: right; font-size: 1.0625rem; }
  .f-info-table td:nth-child(3):not(#_) { grid-column: 1 / -1; margin-top: 3px; padding-left: 34px; font-size: 0.8125rem; line-height: 1.45; }   /* buendig mit dem Laendernamen hinter der Flagge (22 + 12 px) */
}
@media (min-width: 860px) {
  .f-info-block:not(.woocommerce-terms-and-conditions *) { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
  .f-info .f-info-block-body:not(.woocommerce-terms-and-conditions *):not(#_) { margin-top: 0; }
  .f-info .f-info-block-body > :is(p, ul, ol):first-child:not(#_) { margin-top: 0.15em; }   /* erste Textzeile auf der Schriftlinie der Ueberschrift */
}

/* 26.1 Editor-Vorschau: dort fehlt Blocksys Container-Breite. */
.block-editor-block-list__block .f-info-inner { width: auto; padding-inline: var(--f-gutter); }

/* =========================================================================
   27. Kursbereich (D9; Tutor LMS 4, inc/tutor.php). Dashboard und Lernbereich bleiben Tutors Oberflaechen;
   hier nur Schrift, Grund und der Rueckweg ins Kundenkonto. Die Markenfarbe setzt inc/tutor.php (Petrol),
   Tutor rechnet daraus seine Farbstufen.
   ========================================================================= */
:root { --tutor-surface-base: var(--f-ivory); }   /* heller Grund wie im Shop; Tutors dunkles Schema hat eigene, staerkere Regeln */
body.tutor-lms {
  --tutor-font-family-body: var(--f-font-text);
  --tutor-font-family-heading: var(--f-font-text);
}
/* Dashboard und Lernbereich laden Blocksys Schriftregeln nicht; Schaltflaechen erben die Schrift vom body. */
body.tutor-screen-frontend-dashboard, body.tutor-lms:is(.single-lesson, .single-tutor_quiz, .single-tutor_assignments) { font-family: var(--f-font-text); background: var(--f-ivory); }
.tutor-screen-frontend-dashboard .ct-container-full { padding-block: 0; }
/* Seitentitel "Dashboard" der WordPress-Seite: Tutor hat seine eigene Kopfzeile. */
.tutor-screen-frontend-dashboard .hero-section { display: none; }
/* Videoplayer der Lektionen (Plyr): Regler sind keine Formularfelder (Bausteine aus 5.8 greifen sonst), Akzent in Petrol. */
.plyr { --plyr-color-main: #3D5A66; }
.plyr.plyr--full-ui input[type="range"]:not(#_) { height: 19px; min-height: 0; padding: 0; border: 0; border-radius: 26px; background: transparent; box-shadow: none; }
/* Nicht benoetigt: "Kurse entdecken" (Kursarchiv ist geschlossen), Tutor-Wunschliste, Testversuche. Die Reiter der
   Kursliste haben keinen Filter; die Unterseiten selbst nimmt inc/tutor.php aus der Liste gueltiger Reiter. */
.tutor-dashboard-sidebar .tutor-see-all-courses,
.tutor-dashboard-courses-tab :is(li, a):is([href*="/courses/wishlist"], [href*="/courses/my-quiz-attempts"], :has(> a[href*="/courses/wishlist"]), :has(> a[href*="/courses/my-quiz-attempts"])),
.tutor-course-wishlist-btn { display: none !important; }
.f-tutor-back { display: inline-flex; align-items: center; gap: 6px; min-height: var(--f-btn-h-sm); padding-inline: 14px; border: 1px solid var(--f-line-strong); border-radius: var(--f-radius-btn); background: var(--f-white); color: var(--f-petrol); font-size: var(--f-text-sm); font-weight: 600; line-height: 1.2; text-decoration: none; white-space: nowrap; transition: border-color var(--f-transition), background-color var(--f-transition); }
.f-tutor-back:hover, .f-tutor-back:focus-visible { border-color: var(--f-petrol); background: var(--f-ivory); color: var(--f-petrol); }
.f-tutor-back svg { flex: none; }
.f-tutor-back { font-family: var(--f-font-text); }
.f-tutor-back-short { display: none; }
@media (max-width: 640px) {
  .f-tutor-back { min-height: 36px; padding-inline: 10px 12px; font-size: 0.8125rem; }
  .f-tutor-back-long { display: none; }
  .f-tutor-back-short { display: inline; }
}
/* 27.1 Feinschliff (16.11.): mobil kompaktere Kennzahlen und flachere Kursbilder, kompakte Lektionsleiste,
   Profil-Titelbild in Petrol solange kein eigenes Bild gesetzt ist (Tutors Standardbild ist blau). */
.tutor-mark-as-complete-button:not(#_) { letter-spacing: normal; text-transform: none; white-space: nowrap; }
.tutor-profile-card-header[style*="assets/images/cover-photo.webp"] { background-image: linear-gradient(120deg, #24414B, var(--f-petrol) 55%, #0C1A1E) !important; }
@media (max-width: 576px) {
  .tutor-stat-card:not(#_) { height: auto; min-height: 0; padding: 10px 12px; gap: 2px; }
  .tutor-stat-card-content:not(#_) { margin-top: 0; }
  .tutor-stat-card-value:not(#_) { font-size: 1.375rem; line-height: 1.75rem; }
  .tutor-progress-card .tutor-progress-card-thumbnail:not(#_) { flex: 0 0 auto; aspect-ratio: 2 / 1; }   /* Tutor setzt mobil eine feste Hoehe von 200px (flex-basis in der Spalte) */
  .tutor-learning-area-footer:not(#_) { padding: 8px 10px; gap: 4px; align-items: center; }
  .tutor-learning-area-footer .tutor-btn:not(#_) { padding-inline: 6px; }
  .tutor-mark-as-complete-button:not(.completed):not(#_) { min-width: 0; height: 40px; padding-inline: 14px 12px; font-size: 0.8125rem; }
}
/* 27.2 Mobile Video-Lektion (16.11.): Tutor laesst dem Inhaltsbereich mobil rechts 8px (Platz fuer die Bildlaufleiste
   der Desktop-Ansicht), dadurch sass alles 8px zu weit links. Das Video steht jetzt wie die Karten der uebrigen
   Lektionen mit 16px Rand; die Leiste folgt direkt auf das Video statt am unteren Bildschirmrand zu kleben und
   bleibt bei langem Inhalt unten haften. */
@media (max-width: 576px) {
  .tutor-learning-area-content:not(#_) { padding-right: 0; }
  .tutor-lesson-video-wrapper:not(#_) { margin-inline: 0; border: 0; border-radius: 12px; overflow: hidden; }
  .tutor-learning-area-container:has(.tutor-lesson-video-wrapper):not(#_) { padding-bottom: 16px; }
  .tutor-lesson-content:has(.tutor-lesson-video-wrapper) .tutor-learning-area-footer:not(#_) { position: sticky; bottom: 0; left: auto; right: auto; border-bottom: 1px solid var(--tutor-border-idle); }
}
@media (max-width: 410px) {
  .tutor-mark-as-complete-button:not(.completed):not(#_) { padding-inline: 12px; font-size: 0.75rem; }
  .tutor-mark-as-complete-button:not(.completed) svg { display: none; }
}


/* ==========================================================================
   28. D10 (16.11.2026) – Kasse: kompakte Bestellsumme mobil, Warenkorb ohne leeren Versandhinweis,
       Bestellbestaetigung. Markup aus WooCommerce und German Market, Anpassungen in inc/shop-flow.php (3, 3b).
   ========================================================================== */

/* 28.1 Warenkorb: Absatz des entfallenen Hinweises "Versandoptionen werden ... aktualisiert" */
.woocommerce-shipping-destination:has(> .f-ship-none) { display: none; }

/* 28.2 Kasse unter 1000 px: Bestellsumme ueber dem Adressformular, fuehrt zur vollstaendigen Uebersicht */
.f-co-sum { display: none; }
@media (max-width: 999.98px) {
  .ct-woocommerce-checkout .f-co-sum {
    display: flex; align-items: baseline; gap: 12px;
    margin: 0 0 var(--f-space-5); padding: 12px 16px;
    border-radius: 14px; background: var(--f-ivory-deep);
    font-size: 0.9375rem; line-height: 1.4; color: var(--f-petrol); text-decoration: none;
  }
  .f-co-sum-label { font-weight: 600; }
  .f-co-sum-label small { margin-left: 6px; font-size: 0.8125rem; font-weight: 400; color: var(--f-taupe-deep); }
  .f-co-sum-total { margin-left: auto; font-weight: 700; white-space: nowrap; }
  .f-co-sum-link { display: inline-flex; align-items: center; gap: 4px; font-size: 0.8125rem; color: var(--f-taupe-deep); }
  .f-co-sum-link .f-icon { flex: none; }
}
@media (max-width: 999.98px) { .f-co-sum-label { white-space: nowrap; } }
@media (max-width: 409.98px) { .f-co-sum-label small { display: none; } }

/* 28.3 Bestellbestaetigung (woocommerce/checkout/thankyou.php, Kopf ueber inc/shop-flow.php 3b) */

/* Kopf: Symbol, Ueberschrift, Begleitsatz, Bestellnummer und Datum – mittig, grosszuegig */
.woocommerce-order-received .hero-section:has(.f-ty-mark) .entry-header {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding-block: clamp(8px, 2.4vw, 32px) clamp(4px, 1.2vw, 16px);
}
.f-ty-mark {
  display: grid; place-items: center; width: 60px; height: 60px; margin-bottom: 22px;
  border: 1px solid var(--f-sand); border-radius: 50%;
  background: var(--f-surface); color: var(--f-petrol);
}
.f-ty-mark .f-icon { width: 26px; height: 26px; }
.woocommerce-order-received .hero-section:has(.f-ty-mark) .page-title { max-width: 16em; margin: 0; text-wrap: balance; }
.f-ty-lead { margin: 16px 0 0; font-size: 1.0625rem; line-height: 1.5; color: var(--f-petrol); }
.f-ty-meta {
  margin: 14px 0 0;
  font-size: 0.75rem; font-weight: 600; line-height: 1.5; letter-spacing: var(--f-tracking-caps); text-transform: uppercase;
  color: var(--f-taupe-deep);
}

.f-ty { display: grid; gap: 28px; }
.f-ty-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: start; }
.f-ty-side { display: grid; gap: 24px; }
.f-ty .f-panel { margin: 0; }
.f-ty .f-panel > h2 { font-size: 1.625rem; }

/* Deine Bestellung: Positionen mit Produktbild, darunter die Summen */
.f-ty-items { margin: 0; padding: 0; list-style: none; }
.f-ty-item { display: flex; align-items: center; gap: 18px; margin: 0; padding: 16px 0; border-bottom: 1px solid var(--f-sand); }
.f-ty-item:first-child { padding-top: 0; }
.f-ty-thumb { flex: none; width: 76px; height: 76px; border-radius: 14px; overflow: hidden; background: var(--f-ivory-deep); }
.f-ty-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.f-ty-item-text { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.f-ty-item-name { font-family: var(--f-font-text); font-size: var(--f-name-size); font-weight: var(--f-name-weight); line-height: var(--f-name-lh); color: var(--f-petrol); }
.f-ty-item-meta, .f-ty-item-qty { font-size: 0.8125rem; line-height: 1.45; color: var(--f-taupe-deep); }
.f-ty-item-total { flex: none; font-size: 1rem; font-weight: 600; white-space: nowrap; text-align: right; color: var(--f-petrol); }
/* Steuerhinweis je Position entfaellt: er steht einmal bei der Gesamtsumme */
.f-ty-item-total :is(small, .product-tax, .wgm-tax, br) { display: none; }

.f-ty-totals { margin: 6px 0 0; }
.f-ty-taxnote { margin: 10px 0 0; font-size: var(--f-text-sm); color: var(--f-taupe-deep); }
.f-ty-total { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 9px 0; font-size: 0.9375rem; line-height: 1.5; color: var(--f-petrol); }
.f-ty-total dt { margin: 0; font-weight: 400; }
.f-ty-total dd { margin: 0; text-align: right; font-weight: 600; }
.f-ty-total dd small { font-weight: 400; color: var(--f-taupe-deep); }
.f-ty-total--order_total {
  align-items: flex-start; margin-top: 10px; padding: 16px 18px;
  border-radius: 14px; background: var(--f-ivory-deep);
}
.f-ty-total--order_total dt { font-size: 1.0625rem; font-weight: 600; }
.f-ty-total--order_total dd { font-size: 1.5rem; font-weight: 700; line-height: 1.2; }
.f-ty-total--order_total dd :is(.wgm-tax, .includes_tax, small) {
  display: block; margin-top: 6px; font-size: 0.75rem; font-weight: 400; line-height: 1.45; color: var(--f-taupe-deep);
}
.f-ty-total--order_total dd :is(.wgm-tax, .includes_tax, small) .woocommerce-Price-amount { font-weight: 400; }
.f-ty-total br.wgm-break { display: none; }
.f-ty-invoice { margin: var(--f-space-5) 0 0; }

/* Wie geht es weiter? */
.f-ty-steps { display: grid; gap: 18px; margin: 0; padding: 0; list-style: none; }
.f-ty-steps li { display: flex; align-items: flex-start; gap: 14px; margin: 0; font-size: 0.9375rem; line-height: 1.55; color: var(--f-taupe-deep); }
.f-ty-steps .f-icon { flex: none; width: 22px; height: 22px; margin-top: 1px; color: var(--f-petrol); }
.f-ty-steps strong { display: block; font-weight: 600; color: var(--f-petrol); }
.f-ty-gateway { margin-top: var(--f-space-5); padding-top: var(--f-space-5); border-top: 1px solid var(--f-sand); font-size: 0.9375rem; line-height: 1.55; color: var(--f-taupe-deep); }
.f-ty-gateway > :last-child { margin-bottom: 0; }
.f-ty-gateway h2 { margin: 0 0 12px; font-family: var(--f-font-text); font-size: 0.9375rem; font-weight: 700; line-height: 1.4; color: var(--f-petrol); }
.f-ty-gateway h3 { margin: 0 0 10px; font-family: var(--f-font-text); font-size: 0.9375rem; font-weight: 600; color: var(--f-petrol); }
.f-ty-gateway ul.order_details:not(#_) { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.f-ty-gateway ul.order_details:not(#_)::before, .f-ty-gateway ul.order_details:not(#_)::after { content: none; }
.f-ty-gateway ul.order_details > li:not(#_) {
  display: flex; flex-direction: column; gap: 2px; float: none; width: auto; margin: 0; padding: 0; border: 0;
  font-size: 0.6875rem; font-weight: 600; line-height: 1.4; letter-spacing: var(--f-tracking-caps); text-transform: uppercase;
  color: var(--f-taupe-deep);
}
.f-ty-gateway ul.order_details > li strong { font-size: 0.9375rem; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--f-petrol); overflow-wrap: anywhere; }

/* Weitere Informationen */
.f-ty-facts { display: grid; gap: 16px 24px; margin: 0; }
.f-ty-facts dt {
  margin: 0 0 4px;
  font-size: 0.6875rem; font-weight: 600; line-height: 1.4; letter-spacing: var(--f-tracking-caps); text-transform: uppercase;
  color: var(--f-taupe-deep);
}
.f-ty-facts dd { margin: 0; font-size: 0.9375rem; line-height: 1.55; color: var(--f-petrol); }
.f-ty-facts address:not(#_) { margin: 0; padding: 0; border: 0; font-style: normal; font-size: inherit; line-height: inherit; color: inherit; }

.f-ty-actions:not(#_) { display: flex; flex-direction: column; align-items: center; gap: 16px; width: 100%; max-width: none; margin: 8px 0 0; }
.f-ty-actions .button { min-width: 240px; }
.f-ty-account { font-size: 0.9375rem; color: var(--f-petrol); text-decoration: underline; text-decoration-color: var(--f-sand-deep, var(--f-sand)); text-decoration-thickness: 1px; text-underline-offset: 4px; }
.f-ty-account:hover { text-decoration-color: var(--f-petrol); }

@media (min-width: 690px) {
  .f-ty-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1000px) {
  .f-ty-grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 28px; }
  .f-ty-side { gap: 28px; }
}
@media (max-width: 689.98px) {
  .f-ty { gap: 22px; }
  .f-ty-grid, .f-ty-side { gap: 18px; }
  .f-ty .f-panel { padding: 22px 18px 24px; }
  .f-ty .f-panel > h2 { font-size: 1.375rem; margin-bottom: var(--f-space-4); }
  .f-ty-mark { width: 52px; height: 52px; margin-bottom: 16px; }
  .f-ty-lead { margin-top: 12px; font-size: 1rem; }
  .f-ty-item { align-items: flex-start; gap: 14px; padding: 14px 0; }
  .f-ty-thumb { width: 64px; height: 64px; border-radius: 12px; }
  .f-ty-item-name { font-size: 1rem; }
  .f-ty-steps { gap: 14px; }
  .f-ty-actions .button { width: 100%; }
}

/* -------------------------------------------------------------------------
   29 Zahlungsbereich der Kasse und Bestellbestaetigung, Feinschliff (D11, 17.11.2026; inc/payment-ui.php).
   Nur Darstellung: die Zahlungsarten bleiben die Liste von WooCommerce, Schaltflaechen und Kartenfelder
   rendert das Zahlungs-Plugin.
   ------------------------------------------------------------------------- */

/* 29.1 Kasse: Zahlungsarten als einzelne Karten mit feinem Rahmen, gewaehlte Zahlungsart mit zurueckhaltendem
   Petrol-Akzent (Rahmenton und weicher Hof), Logos rechts */
.ct-woocommerce-checkout .f-pay-title {
  margin: var(--f-space-6) 0 var(--f-space-4); padding-top: var(--f-space-6); border-top: 1px solid var(--f-sand);
  font-family: var(--f-font-display); font-size: 1.375rem; font-weight: 500; line-height: 1.25; letter-spacing: var(--f-tracking-display);
}
#payment ul.payment_methods:not(#_):has(.wc_payment_method) {
  display: grid; gap: 10px; overflow: visible;
  border: 0; border-radius: 0; background: none;
}
#payment ul.payment_methods > li.wc_payment_method:not(#_),
#payment ul.payment_methods > li.wc_payment_method:not(#_) + li.wc_payment_method:not(#_) {
  overflow: hidden;
  border: 1px solid var(--f-sand); border-radius: 14px;
  background: var(--f-white);
  transition: border-color var(--f-transition), box-shadow var(--f-transition);
}
#payment ul.payment_methods > li.wc_payment_method:not(#_):hover { border-color: var(--f-line-strong); }
#payment ul.payment_methods > li.wc_payment_method:not(#_):has(> input[type="radio"]:checked) {
  border-color: rgba(27, 42, 50, 0.42);
  box-shadow: 0 0 0 3px rgba(27, 42, 50, 0.05);
}
#payment ul.payment_methods > li.wc_payment_method > label {
  width: 100%; min-height: 64px; padding: 14px 18px; gap: 14px;
  font-size: 1rem; font-weight: 600; line-height: 1.35; color: var(--f-petrol); cursor: pointer;
}
#payment ul.payment_methods > li.wc_payment_method > label .f-pay-logos { margin-left: auto; }
.f-pay-logos { display: inline-flex; flex: none; align-items: center; gap: 6px; }
.f-pay-logos .f-pay-logo:not(#_) { display: block; width: auto; height: 22px; max-height: none; margin: 0; border-radius: 3px; }
.f-pay-logos .f-pay-logo--paypal-logo:not(#_) { height: 20px; border-radius: 0; }
#payment ul.payment_methods .payment_box:not(#_) {
  margin: 0; padding: 0 18px 18px 54px; border: 0; background: none;
  font-size: 0.875rem; line-height: 1.55; color: var(--f-taupe-deep);
}
#payment ul.payment_methods .payment_box:not(#_)::before { content: none; }
#payment ul.payment_methods .payment_box > p:first-child { margin-top: 0; }
#payment ul.payment_methods .payment_box > :last-child { margin-bottom: 0; }
/* Kartenformular: Nummer ueber die ganze Breite, Gueltigkeit und Pruefziffer nebeneinander */
#payment .payment_box fieldset.wc-credit-card-form:not(#_) {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px;
  min-width: 0; margin: 14px 0 0; padding: 0; border: 0;
}
#payment .payment_box fieldset.wc-credit-card-form .form-row:not(#_) { float: none; width: auto; margin: 0; padding: 0; }
#payment .payment_box fieldset.wc-credit-card-form .form-row-wide:not(#_) { grid-column: 1 / -1; }
#payment .payment_box fieldset.wc-credit-card-form .input-text:not(#_) { width: 100% !important; }
#payment .payment_box fieldset.wc-credit-card-form .clear { display: none; }
/* Schaltflaechen von PayPal und Sicherheitshinweis */
.woocommerce-checkout-payment .ppc-button-wrapper { margin-top: var(--f-space-2); }
/* Rundung und Hoehe wie unser Bestell-Button (Inhaber 25.11.2026: schwarz, 12 px). Die Farbe kommt aus den
   Einstellungen von PayPal (Gestaltung: Schwarz); das Plugin kennt dort nur 4 px oder 24 px und setzt Radius und
   Hoehe als Inline-Stil, daher !important. PayPal SDK v6: Webkomponenten mit der Eigenschaft
   --paypal-button-border-radius. Google Pay: Button von Google (buttonSizeMode fill) im Container des Plugins. */
:is(paypal-button, paypal-pay-later-button):not(#_) {
  --paypal-button-border-radius: var(--f-radius-btn) !important;
  height: var(--f-btn-h) !important;
}
[id^="ppc-button-ppcp-googlepay"]:not(#_) { height: var(--f-btn-h); border-radius: var(--f-radius-btn); overflow: hidden; }
[id^="ppc-button-ppcp-googlepay"] :is(button, .gpay-card-info-container, .gpay-card-info-container-fill, .gpay-card-info-animation-container):not(#_) {
  border-radius: var(--f-radius-btn) !important;
}
[id^="ppc-button-ppcp-googlepay"] :is(.gpay-card-info-container-fill, button):not(#_) { height: 100% !important; }
.f-pay-secure {
  display: flex; justify-content: center; align-items: center; gap: 8px;
  margin: 14px 0 0; font-size: 0.8125rem; line-height: 1.4; color: var(--f-taupe-deep);
}
.f-pay-secure .f-icon { flex: none; width: 16px; height: 16px; color: var(--f-petrol); }
@media (max-width: 689.98px) {
  .ct-woocommerce-checkout .f-pay-title { font-size: 1.25rem; }
  #payment ul.payment_methods > li.wc_payment_method > label { min-height: 60px; padding: 12px 14px; gap: 12px; font-size: 0.9375rem; }
  #payment ul.payment_methods .payment_box:not(#_) { padding: 0 14px 16px; }
}

/* 29.2 Bestellbestaetigung */
.f-ty .f-panel > h2 { justify-content: space-between; padding-bottom: var(--f-space-4); border-bottom: 1px solid var(--f-sand); }
.f-ty-count {
  flex: none; padding: 5px 12px; border: 1px solid var(--f-sand); border-radius: 999px;
  font-family: var(--f-font-text); font-size: 0.6875rem; font-weight: 600; line-height: 1.4; letter-spacing: var(--f-tracking-caps); text-transform: uppercase;
  color: var(--f-taupe-deep);
}
.f-ty-item:first-child { padding-top: 4px; }
.f-ty-item-qty { font-variant-numeric: tabular-nums; }
.f-ty-total dd, .f-ty-item-total { font-variant-numeric: tabular-nums; }
/* Wie geht es weiter?: Schritte als Verlauf mit Symbol im Kreis und feiner Verbindungslinie */
.f-ty-steps { gap: 22px; }
.f-ty-steps li { position: relative; gap: 16px; }
.f-ty-steps li .f-icon {
  box-sizing: border-box; width: 42px; height: 42px; margin-top: 0; padding: 10px;
  border: 1px solid var(--f-sand); border-radius: 50%;
  background: var(--f-ivory); color: var(--f-petrol);
}
.f-ty-steps li:not(:last-child)::after {
  content: ""; position: absolute; left: 20.5px; top: 46px; bottom: -18px; width: 1px;
  background: var(--f-sand);
}
.f-ty-steps li > span { padding-top: 1px; }
.f-ty-steps strong { margin-bottom: 2px; font-size: 1rem; }
/* Weitere Informationen: Angaben mit feinen Trennlinien, Zahlungsart mit Logo */
.f-ty-facts { gap: 0 28px; }
.f-ty-facts > div { padding: 16px 0; border-top: 1px solid var(--f-sand); }
.f-ty-facts > div:first-child { padding-top: 2px; border-top: 0; }
.f-ty-facts > div:last-child { padding-bottom: 0; }
.f-ty-facts dt { margin-bottom: 6px; }
.f-pay-method { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.f-pay-method .f-pay-logos .f-pay-logo:not(#_) { height: 22px; }
.f-pay-method .f-pay-logos .f-pay-logo--paypal-logo:not(#_) { height: 18px; }
.f-pay-method-name { font-weight: 600; }
/* steht das Logo von PayPal oder Google Pay da, nennt es die Zahlungsart bereits */
.f-pay-method:has(:is(.f-pay-logo--paypal-logo, .f-pay-logo--googlepay)) .f-pay-method-name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (min-width: 690px) {
  .f-ty-facts > div:nth-child(2) { padding-top: 2px; border-top: 0; }
  .f-ty-facts > div:nth-last-child(2):nth-child(odd) { padding-bottom: 0; }
}
@media (max-width: 689.98px) {
  .f-ty .f-panel > h2 { padding-bottom: var(--f-space-3); }
  .f-ty-steps { gap: 18px; }
  .f-ty-steps li .f-icon { width: 38px; height: 38px; padding: 9px; }
  .f-ty-steps li:not(:last-child)::after { left: 18.5px; top: 42px; bottom: -14px; }
}

/* 29.3 Nachtrag: Zeile der Zahlungsart bricht nicht um (Feldbeschriftungen des Kartenformulars kuerzt
   inc/payment-ui.php), letzte einzelne Angabe der Bestellbestaetigung ueber die ganze Breite; die Marke fuer den
   Feldbezug einer Fehlermeldung bleibt unsichtbar */
.f-err-ref { display: none; }
#payment ul.payment_methods > li.wc_payment_method > label { flex-wrap: nowrap; }
@media (min-width: 690px) {
  .f-ty-facts > div:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (max-width: 689.98px) {
  .f-pay-logos .f-pay-logo:not(#_) { height: 20px; }
  .f-pay-logos .f-pay-logo--paypal-logo:not(#_) { height: 18px; }
}

/* 29.4 Kartenfelder von PayPal (17.11.2026). PayPal Payments ersetzt die drei Eingabefelder des Kartenformulars:
   das urspruengliche Feld wird ausgeblendet und der Feldkasten von PayPal (.ppcp-sdk-v6-card-field) als weiteres
   Kind in dieselbe Zeile gehaengt; nur der Text darin liegt im Rahmen von PayPal. Mit der Beschriftung im Feld
   (5.2) blieb dadurch der gezeichnete Rahmen der Zeile leer stehen und der Kasten von PayPal lag darunter - zwei
   Rahmen je Feld. Deshalb hier: Beschriftung ueber dem Feld, kein gezeichneter Zeilenrahmen, genau ein Rahmen am
   Feldkasten. Der Feldkasten ist laut Plugin per CSS gestaltbar; der Text darin kommt ueber den Filter
   woocommerce_paypal_payments_card_fields_styles (inc/payment-ui.php). */
#payment .payment_box fieldset.wc-credit-card-form .form-row:not(#_) { display: block; position: static; min-width: 0; }
#payment .payment_box fieldset.wc-credit-card-form .form-row:not(#_)::before,
#payment .payment_box fieldset.wc-credit-card-form .form-row:not(#_)::after { content: none; }
#payment .payment_box fieldset.wc-credit-card-form .form-row:not(#_) > label {
  display: block; position: static; margin: 0 0 6px; padding: 0;
  font-size: 0.6875rem; font-weight: 600; line-height: 1.4; letter-spacing: var(--f-tracking-caps); text-transform: uppercase;
  color: var(--f-taupe-deep); cursor: default;
}
/* das Feld selbst (bis PayPal es ersetzt) und der Feldkasten von PayPal: derselbe eine Rahmen */
#payment .payment_box fieldset.wc-credit-card-form .form-row:not(#_) > .input-text,
#payment .payment_box fieldset.wc-credit-card-form .form-row:not(#_) > .ppcp-sdk-v6-card-field {
  display: block; box-sizing: border-box; width: 100%; height: var(--f-field-h); min-height: 0; margin: 0;
  border: 1px solid var(--f-line-strong); border-radius: var(--f-radius-field);
  background: var(--f-white); box-shadow: none; overflow: hidden;
  transition: border-color var(--f-transition), box-shadow var(--f-transition);
}
#payment .payment_box fieldset.wc-credit-card-form .form-row:not(#_) > .input-text {
  padding: 0 16px; font-family: var(--f-font-text); font-size: 1rem; line-height: 1.3; color: var(--f-petrol);
}
#payment .payment_box fieldset.wc-credit-card-form .form-row:not(#_) > .input-text[hidden] { display: none !important; }
#payment .payment_box fieldset.wc-credit-card-form .form-row:not(#_) > :is(.input-text, .ppcp-sdk-v6-card-field):hover { border-color: var(--f-taupe); }
/* Fokus am Feldkasten von PayPal: :focus und :focus-within treffen dort nie zu (der Fokus liegt im eingebetteten
   Fenster von PayPal, der Browser meldet auch keine Fokus-Ereignisse). assets/js/card-focus.js liest das aktive Feld ab
   und setzt die Klasse f-card-focus; zugleich schneidet es das Fenster rundherum um 3 px zu, damit die eigene, nur
   dreiseitig sichtbare Fokus-Linie von PayPal entfaellt (gemessen und abgestimmt im Testfenster am 18.11.2026). */
#payment .payment_box fieldset.wc-credit-card-form .form-row:not(#_) > .input-text:focus,
#payment .payment_box fieldset.wc-credit-card-form .form-row:not(#_) > .ppcp-sdk-v6-card-field:is(:focus-within, .f-card-focus) {
  border-color: var(--f-petrol); box-shadow: var(--f-shadow-focus); outline: none;
}
#payment .payment_box fieldset.wc-credit-card-form:not(#_) { gap: 14px 12px; margin-top: 12px; }
/* Pflicht-Checkbox (AGB): WooCommerce zeichnet bei fehlender Angabe eine rote 2-px-Kontur; der Fehlerton am Rahmen
   der Checkbox genuegt, die Tastatur-Kontur bleibt. */
.woocommerce-checkout form .form-row.woocommerce-invalid input.input-checkbox:not(#_):not(:focus-visible) { outline: 0; }

/* -------------------------------------------------------------------------
   30 Nachtrag zur Testrunde der Zahlungsarten (D11, 18.11.2026)
   ------------------------------------------------------------------------- */

/* 30.1 Bestellbestaetigung: der Steuerhinweis einer Summenzeile (z. B. "Lieferung") steht als kleine Zeile unter
   dem Betrag wie bei "Gesamt"; der Zeilenumbruch von German Market ist ausgeblendet (28.3) und der Hinweis klebte
   dadurch am Betrag. */
.f-ty-total:not(.f-ty-total--order_total) dd .wgm-tax {
  display: block; margin-top: 2px;
  font-size: 0.75rem; font-weight: 400; line-height: 1.45; color: var(--f-taupe-deep);
}
.f-ty-total dd .wgm-tax .woocommerce-Price-amount { font-weight: 400; }

/* 30.2 Passwortstaerke (Kasse, Mein Konto): statt der farbigen Flaeche von WooCommerce eine ruhige Zeile unter dem
   Feld - kurzer Balken in vier Stufen und die Bezeichnung. Die Anforderungen an das Passwort bleiben unveraendert.
   WooCommerce blendet die Zeile mit einem Inline-Stil (display: block) ein und aus; der Balken ist deshalb ein
   Inline-Block und nicht Teil einer Flex-Zeile. */
.woocommerce-password-strength:not(#_) {
  --f-pw-fill: 25%; --f-pw-color: var(--f-error);
  margin: 8px 0 0; padding: 0;
  border: 0; background: none; text-align: left;
  font-size: 0.8125rem; font-weight: 600; line-height: 1.4; color: var(--f-taupe-deep);
}
.woocommerce-password-strength:not(#_):empty { display: none; }
.woocommerce-password-strength:not(#_)::before {
  content: ""; display: inline-block; vertical-align: middle; width: 72px; height: 4px; margin: -2px 10px 0 0; border-radius: 999px;
  background: linear-gradient(to right, var(--f-pw-color) var(--f-pw-fill), var(--f-sand) var(--f-pw-fill));
}
.woocommerce-password-strength.bad:not(#_) { --f-pw-fill: 50%; }
.woocommerce-password-strength.good:not(#_) { --f-pw-fill: 75%; --f-pw-color: var(--f-taupe); }
.woocommerce-password-strength.strong:not(#_) { --f-pw-fill: 100%; --f-pw-color: var(--f-success); }
.woocommerce-password-hint:not(#_) { display: block; margin: 6px 0 0; font-size: 0.8125rem; line-height: 1.5; color: var(--f-taupe-deep); }

/* 30.3 Bestellbestaetigung unter 690 px: Preis und Grundpreis stehen unter dem Produktnamen statt daneben - neben
   Bild und Preisspalte blieb dem Namen sonst nur eine Spalte von wenigen Zeichen. */
@media (max-width: 689.98px) {
  .f-ty-item { display: grid; grid-template-columns: 64px minmax(0, 1fr); column-gap: 14px; row-gap: 6px; align-items: start; }
  .f-ty-thumb { grid-row: 1 / span 2; }
  .f-ty-item-text, .f-ty-item-total { grid-column: 2; }
  .f-ty-item-total { white-space: normal; text-align: left; }
}

/* 30.4 Bestellbestaetigung, Kopf (18.11.): kurze Ueberschrift "Vielen Dank!", Symbol, Ueberschrift, Satz und
   Bestellnummer ruecken zu einer Gruppe zusammen. */
.woocommerce-order-received .hero-section:has(.f-ty-mark) .entry-header { padding-block: clamp(4px, 1.6vw, 20px) clamp(0px, 0.8vw, 10px); }
.f-ty-mark { margin-bottom: 18px; }
.f-ty-lead { margin-top: 10px; }
.f-ty-meta { margin-top: 10px; }
@media (max-width: 689.98px) {
  .f-ty-mark { margin-bottom: 14px; }
  .f-ty-lead { margin-top: 8px; }
}

/* =========================================================================
   31. Bestellungen im Konto (D12, 18.11.2026): Bestellliste und Bestellansicht als eigene Vorlagen statt der
   Tabellen von WooCommerce. Markup: woocommerce/myaccount/orders.php und view-order.php, Helfer in
   inc/shop-flow.php 4a. Artikel, Summen und Rechnung nutzen die Bausteine der Bestellbestaetigung (.f-ty-*, 28.3).
   Ueberschriften in der Textschrift; die Display-Schrift bleibt dem Seitenkopf vorbehalten.
   ========================================================================= */
.f-ord-title:not(#_) { margin: 0; font-family: var(--f-font-text); font-size: 1.375rem; font-weight: 600; line-height: 1.3; letter-spacing: 0; color: var(--f-petrol); }
.f-ord-subtitle:not(#_) { margin: 0 0 var(--f-space-4); font-family: var(--f-font-text); font-size: var(--f-title-ui-size); font-weight: 600; line-height: 1.3; letter-spacing: 0; color: var(--f-petrol); }
.f-ord-meta { margin: 4px 0 0; font-size: 0.875rem; font-weight: 400; line-height: 1.45; color: var(--f-taupe-deep); }
.f-ord .f-status { margin-top: 0; }

/* 31.1 Bestellliste: je Bestellung eine Zeile, die ganze Zeile fuehrt zur Bestellansicht. Die Anordnung richtet sich
   nach der Breite der Liste, nicht des Fensters (neben der Konto-Navigation ist die Flaeche schmaler als das Fenster):
   schmal gestapelt, ab 380 px Bilder und Status in einer Zeile, ab 700 px alles in einer Zeile mit festen Spalten. */
.f-ord-list:not(#_) { container: f-ord / inline-size; margin: var(--f-space-4) 0 0; padding: 0; list-style: none; border-top: 1px solid var(--f-sand); }
/* Listenpunkte im Seiteninhalt begrenzt Blocksy auf die Lesebreite; Zeilen und Trennlinien laufen hier ueber die Flaeche */
.f-ord-row, .f-ord .f-ty-item { max-width: none; }
.f-ord-row { margin: 0; border-bottom: 1px solid var(--f-sand); }
.f-ord-row:last-child { border-bottom: 0; }
.f-ord-link:not(#_) {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "main total" "state state" "thumbs thumbs";
  align-items: center; gap: 12px 16px;
  padding: 18px 0;
  color: var(--f-petrol); text-decoration: none;
}
.f-ord-row:last-child .f-ord-link:not(#_) { padding-bottom: 0; }
.f-ord-link:not(#_):focus-visible { outline: 2px solid var(--f-petrol); outline-offset: 4px; border-radius: 8px; }
.f-ord-thumbs { grid-area: thumbs; display: flex; gap: 8px; }
.f-ord-thumb { display: grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 12px; overflow: hidden; background: var(--f-ivory-deep); font-size: 0.8125rem; font-weight: 600; color: var(--f-taupe-deep); }
.f-ord-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.f-ord-main { grid-area: main; display: grid; gap: 2px; min-width: 0; }
.f-ord-number { font-size: 1rem; font-weight: 600; line-height: 1.35; text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 1px; text-underline-offset: 4px; transition: text-decoration-color var(--f-transition); }
.f-ord-link:hover .f-ord-number { text-decoration-color: var(--f-petrol); }
.f-ord-main .f-ord-meta { margin: 0; }
.f-ord-state { grid-area: state; justify-self: start; }
.f-ord-list .f-status { padding: 6px 12px; font-size: 0.8125rem; }
.f-ord-total { grid-area: total; justify-self: end; font-size: 1rem; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.f-ord-total :is(small, .wgm-tax, .includes_tax, br) { display: none; }
.f-ord-caret { display: none; }
@container f-ord (min-width: 380px) {
  .f-ord-link:not(#_) { grid-template-areas: "main total" "thumbs state"; }
  .f-ord-state { justify-self: end; }
}
@container f-ord (min-width: 700px) {
  .f-ord-link:not(#_) { grid-template-columns: 172px minmax(0, 1fr) 160px minmax(84px, auto) 16px; grid-template-areas: "thumbs main state total caret"; gap: 20px; }
  .f-ord-state { justify-self: start; }
  .f-ord-caret { grid-area: caret; display: block; color: var(--f-taupe-deep); transition: transform var(--f-transition); }
  .f-ord-link:hover .f-ord-caret { transform: translateX(3px); }
}
.f-ord-pages { display: flex; justify-content: space-between; gap: 16px; margin-top: var(--f-space-5); padding-top: var(--f-space-4); border-top: 1px solid var(--f-sand); }
.f-ord-page:not(#_) { display: inline-flex; align-items: center; gap: 8px; font-size: 0.9375rem; color: var(--f-petrol); text-decoration: none; }
.f-ord-page--next:not(#_) { margin-left: auto; }
.f-ord-page span { text-decoration: underline; text-decoration-color: var(--f-taupe); text-decoration-thickness: 1px; text-underline-offset: 4px; }
.f-ord-page:hover span { text-decoration-color: var(--f-petrol); }
/* Hinweis von WooCommerce zur Bestaetigung der E-Mail-Adresse: leise Zeile unter der Liste */
.f-ord-verify:not(#_) { max-width: 62ch; margin: var(--f-space-5) 0 0; font-size: 0.8125rem; line-height: 1.5; color: var(--f-taupe-deep); }
.f-ord-verify a:not(#_) { color: var(--f-petrol); text-decoration: underline; text-decoration-color: var(--f-taupe); text-decoration-thickness: 1px; text-underline-offset: 3px; white-space: nowrap; }
.f-ord-verify a:not(#_):hover { text-decoration-color: var(--f-petrol); }

/* 31.2 Bestellansicht: zwei Flaechen (Bestellung, Angaben) statt einer Flaeche mit Kaesten darin; die Inhaltsspalte
   selbst traegt hier keine Flaeche (15.0, 15.3). */
.woocommerce-view-order .woocommerce-MyAccount-content { min-width: 0; align-self: flex-start; }
.f-ord--view { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
.woocommerce-MyAccount-content .f-ord--view > section:not(#_) { margin: 0; }
.f-ord-back:not(#_) { display: inline-flex; align-items: center; gap: 6px; margin-bottom: var(--f-space-4); font-size: 0.875rem; line-height: 1.4; color: var(--f-taupe-deep); text-decoration: none; }
.f-ord-back:not(#_):hover { color: var(--f-petrol); }
.f-ord-head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 12px 24px; padding-bottom: var(--f-space-5); border-bottom: 1px solid var(--f-sand); }
.f-ord--view .f-ord-title:not(#_) { font-size: 1.5rem; }
.f-ord-actions:not(#_) { display: flex; flex-wrap: wrap; gap: 10px; max-width: none; margin: var(--f-space-4) 0 0; padding-bottom: var(--f-space-4); border-bottom: 1px solid var(--f-sand); }
.f-ord-order .f-ty-item:first-child { padding-top: 16px; }
.f-ord-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px 28px; margin: 0; }
.f-ord-facts dt {
  margin: 0 0 6px;
  font-size: 0.6875rem; font-weight: 600; line-height: 1.4; letter-spacing: var(--f-tracking-caps); text-transform: uppercase;
  color: var(--f-taupe-deep);
}
.f-ord-facts dd { margin: 0; font-size: 0.9375rem; line-height: 1.55; color: var(--f-petrol); overflow-wrap: anywhere; }
.f-ord-facts dd a { color: inherit; text-decoration: underline; text-decoration-color: var(--f-taupe); text-underline-offset: 3px; }
.f-ord-facts address:not(#_) { margin: 0; padding: 0; border: 0; border-radius: 0; background: none; font-style: normal; font-size: inherit; line-height: inherit; color: inherit; }
.f-ord-fact--wide { grid-column: 1 / -1; }
.f-ord-notelist:not(#_) { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.f-ord-notelist li { margin: 0; font-size: 0.9375rem; line-height: 1.55; color: var(--f-petrol); }
.f-ord-notelist time { display: block; margin-bottom: 2px; font-size: 0.8125rem; color: var(--f-taupe-deep); }
.f-ord-notelist p { margin: 0; }
@media (max-width: 689.98px) {
  .f-ord--view { gap: 16px; }
  .f-ord-title:not(#_), .f-ord--view .f-ord-title:not(#_) { font-size: 1.25rem; }
  .f-ord-head { padding-bottom: var(--f-space-4); }
}

/* =========================================================================
   32. Wartezustand der Kasse (D12, 18.11.2026): solange die Bestellung uebermittelt oder die Zahlung bearbeitet wird
   (assets/js/checkout-busy.js setzt body.f-co-busy), tritt das Formular zurueck, der Bestellknopf bleibt voll sichtbar
   und zeigt statt des Schlosses einen Ladering, darunter steht ein kurzer Hinweis. Blocksy blendet beim Absenden sonst
   das ganze Formular samt Knopf auf 20 % ab, ohne Anzeige, dass etwas geschieht.
   ========================================================================= */
form.woocommerce-checkout.processing > *:not(#_) { opacity: 1; }
.f-co-busy form.checkout :is(.ct-customer-details, #order_review_heading, #order_review > :not(#payment), #payment > :not(.place-order), .place-order > :not(#place_order, .f-co-wait)) {
  opacity: 0.45; pointer-events: none; transition: opacity 0.25s ease;
}
.f-co-busy #place_order:not(#_) { pointer-events: none; cursor: progress; }
/* Im Wartezustand zeigt nur der Bestellknopf, dass etwas laeuft: der Ladering, den WooCommerce beim Absenden mitten
   auf das gesperrte Formular setzt, und die Tastatur-Kontur des Knopfs entfallen solange. */
.f-co-busy .blockUI.blockOverlay:not(#_)::before { content: none; animation: none; }
.f-co-busy #place_order:not(#_):focus-visible { outline: none; }
.f-co-busy #place_order::after {
  box-sizing: border-box;
  border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%;
  background: none; -webkit-mask: none; mask: none;
  animation: f-spin 0.8s linear infinite;
}
.f-co-wait:not(#_) { max-width: none; margin: 12px 0 0; font-size: 0.8125rem; line-height: 1.5; text-align: center; color: var(--f-taupe-deep); }
@media (prefers-reduced-motion: reduce) { .f-co-busy #place_order::after { animation-duration: 2.4s; } }

/* =========================================================================
   33. Anmeldung, Registrierung, Profikonto, Passwort (D-16, 19.11.2026)
   Markup: woocommerce/myaccount/form-login.php und die drei Passwort-Vorlagen, Rahmen aus inc/account-auth.php.
   Eine mittige Flaeche wie im Kundenkonto. Mit Bild (.f-auth--media, Filter facilite_auth_image; vorerst nicht
   genutzt) ab 1000 px geteilt: links das Bild, rechts das Formular.
   Die Ansicht steht in .f-auth[data-view]; Bausteine mit data-auth-view sind nur in den genannten Ansichten sichtbar.
   Der Seitenkopf "Mein Konto" entfaellt hier, die Ueberschrift der Ansicht ist die Seitenueberschrift.
   ========================================================================= */
.f-auth-page .hero-section { display: none; }
.f-auth-page { --theme-content-vertical-spacing: clamp(20px, 4vw, 56px); }
.f-auth {
  display: grid; grid-template-columns: minmax(0, 1fr);
  max-width: 520px; margin-inline: auto; overflow: hidden;
  background: var(--f-surface);
  border: 1px solid var(--f-white); border-radius: var(--f-radius-surface);
  box-shadow: var(--f-shadow-surface);
}
.f-auth-media { display: none; position: relative; background: var(--f-sand); }
.f-auth-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 35% 60%; }
.f-auth-panel { padding: 28px 20px 30px; }
.f-auth-inner { width: 100%; max-width: 420px; margin-inline: auto; }
@media (min-width: 690px) { .f-auth-panel { padding: 44px 48px 48px; } }
@media (min-width: 1000px) {
  .f-auth--media { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); max-width: 1120px; min-height: 700px; }
  .f-auth--media .f-auth-media { display: block; }
  .f-auth--media .f-auth-panel { padding: 60px clamp(40px, 5vw, 72px) 56px; }
}

/* 33.1 Ansichten */
.f-auth[data-view="login"] [data-auth-view]:not([data-auth-view~="login"]),
.f-auth[data-view="register"] [data-auth-view]:not([data-auth-view~="register"]),
.f-auth[data-view="pro"] [data-auth-view]:not([data-auth-view~="pro"]) { display: none; }
/* Kundenart wird verdeckt mitgesendet (privat oder Antrag), die Ansicht bestimmt den Wert */
.f-auth #b2b_role_field:not(#_) { display: none; }

/* 33.2 Kopf und Umschalter */
.f-auth-head { margin-bottom: 22px; }
.f-auth-title { margin: 0; font-size: clamp(1.875rem, 1.55rem + 1.1vw, 2.5rem); line-height: 1.1; }
.f-auth-text { margin: 10px 0 0; font-size: 0.9375rem; line-height: 1.55; color: var(--f-taupe-deep); text-wrap: pretty; }
.f-auth-tabs {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  margin-bottom: 24px; padding: 4px;
  background: var(--f-ivory-deep); border-radius: var(--f-radius-btn);
}
.f-auth-tabs a {
  display: flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 12px; border-radius: 9px;
  font-size: var(--f-text-sm); font-weight: 600; line-height: 1.2; text-align: center; text-decoration: none;
  color: var(--f-taupe-deep);
  transition: color var(--f-transition), background-color var(--f-transition), box-shadow var(--f-transition);
}
.f-auth-tabs a:hover { color: var(--f-petrol); }
.f-auth-tabs a:focus-visible { outline: 2px solid var(--f-petrol); outline-offset: 2px; }
.f-auth[data-view="login"] .f-auth-tabs [data-auth-go="login"],
.f-auth:is([data-view="register"], [data-view="pro"]) .f-auth-tabs [data-auth-go="register"] {
  background: var(--f-white); color: var(--f-petrol);
  box-shadow: 0 1px 2px rgba(27, 42, 50, 0.08), 0 0 0 1px rgba(214, 203, 187, 0.5);
}

/* 33.3 Formulare */
.f-auth .woocommerce-notices-wrapper:not(:empty) { margin-bottom: 20px; }
.f-auth-form { margin: 0; }
.f-auth-form .form-row { margin-bottom: 16px; }
.f-auth-row {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px;
  margin: 2px 0 22px;
}
.f-auth-row .woocommerce-form-login__rememberme { margin: 0; }
.f-auth :is(.f-auth-lost, .f-auth-alt a) {
  font-size: var(--f-text-sm); color: var(--f-petrol);
  text-decoration: underline; text-decoration-color: var(--f-line-strong); text-underline-offset: 3px;
  transition: text-decoration-color var(--f-transition);
}
.f-auth :is(.f-auth-lost, .f-auth-alt a):hover { text-decoration-color: var(--f-petrol); }
.f-auth #german_market_privacy_declaration_field { margin: 4px 0 22px; }
/* Datenschutz-Hinweis ohne Checkbox (German Market Opt-In "nur Text", 25.11.2026): leise Zeile ueber dem Button */
.f-auth .woocommerce-privacy-policy-text { margin: 4px 0 20px; }
.f-auth .woocommerce-privacy-policy-text p:not(#_) { margin: 0; font-size: var(--f-text-sm); line-height: 1.55; color: var(--f-taupe-deep); text-wrap: pretty; }
.f-auth .woocommerce-privacy-policy-text a { color: var(--f-petrol); text-decoration: underline; text-decoration-color: var(--f-line-strong); text-underline-offset: 3px; }
.f-auth-form .f-auth-submit { margin: 0; }
.f-auth-form .f-auth-submit .button { width: 100%; }
.f-auth-note, .f-auth-alt { margin: 20px 0 0; font-size: var(--f-text-sm); line-height: 1.55; color: var(--f-taupe-deep); text-wrap: pretty; }
.f-auth-head + .f-auth-note { margin-top: 0; }
.f-auth-alt + .f-auth-alt { margin-top: 10px; }
.f-auth-back::before { content: "\2190"; display: inline-block; margin-right: 0.45em; text-decoration: none; }

/* 33.4 Weg zum Profikonto: ruhiger Baustein unter Anmeldung und Registrierung */
.f-auth-pro {
  position: relative; display: block;
  margin-top: 28px; padding: 16px 18px 16px 62px;
  background: var(--f-ivory); border: 1px solid var(--f-sand); border-radius: var(--f-radius-panel);
  color: var(--f-petrol); text-decoration: none;
  transition: border-color var(--f-transition), background-color var(--f-transition);
}
.f-auth-pro:hover { border-color: var(--f-taupe); background: var(--f-white); color: var(--f-petrol); }
.f-auth-pro:focus-visible { outline: 2px solid var(--f-petrol); outline-offset: 3px; }
.f-auth-pro::before {
  content: ""; position: absolute; left: 18px; top: 18px; width: 28px; height: 28px;
  background: var(--f-taupe-deep);
  -webkit-mask: url("assets/icons/phosphor/storefront.svg") center / contain no-repeat;
          mask: url("assets/icons/phosphor/storefront.svg") center / contain no-repeat;
}
.f-auth-pro-text { display: block; font-size: var(--f-text-sm); line-height: 1.5; color: var(--f-taupe-deep); }
.f-auth-pro-text strong { display: block; margin-bottom: 2px; font-size: 0.9375rem; font-weight: 600; color: var(--f-petrol); }
.f-auth-pro-go { display: inline-block; margin-top: 8px; font-size: var(--f-text-sm); font-weight: 600; }
.f-auth-pro-go::after { content: "\2192"; display: inline-block; margin-left: 0.45em; transition: transform var(--f-transition); }
.f-auth-pro:hover .f-auth-pro-go::after { transform: translateX(3px); }
@media (prefers-reduced-motion: reduce) { .f-auth-pro-go::after { transition: none; } }

/* =========================================================================
   Produktseite, Smartphone (21.11.2026, Freigabe Inhaber): kurze Brotkrumen und weniger Abstand bis zum Bild, Herz auf dem
   Bild, Menge und Warenkorb in einer Zeile, kompakte Angaben. Nur unter 690 px; Tablet und Desktop unveraendert.
   ========================================================================= */
@media (max-width: 689.98px) {
  .single-product .ct-container-full[data-vertical-spacing*="top"] { padding-top: var(--f-space-4); }
  .single-product .hero-section[data-type="type-1"] { margin-bottom: var(--f-space-4); --margin-bottom: var(--f-space-4); }
  .single-product .ct-breadcrumbs .last-item,
  .single-product .ct-breadcrumbs > span:nth-last-child(2) .ct-separator { display: none; }   /* Produktname steht als Titel darunter */

  .single-product .product-entry-wrapper { position: relative; }
  .single-product .entry-summary,
  .single-product .f-pdp-buy,
  .single-product .f-pdp-buy .ct-cart-actions { position: static; }
  .single-product .f-pdp-buy .yith-wcwl-add-to-wishlist { position: absolute; top: 12px; right: 12px; z-index: 2; width: 44px; height: 44px; flex: none; }
  .single-product .f-pdp-buy .yith-wcwl-add-to-wishlist a { border: 0; border-radius: 50%; background: rgba(253, 251, 248, 0.92); box-shadow: 0 2px 10px rgba(27, 42, 50, 0.12); }
  .single-product .f-pdp-buy .yith-wcwl-add-to-wishlist a::before { width: 20px; height: 20px; }

  .single-product .f-pdp-buy .ct-product-add-to-cart { flex: 1 1 100%; }
  .single-product .f-pdp-buy .ct-cart-actions { flex-wrap: nowrap; }
  .single-product .f-pdp-buy .quantity[data-type] { width: 112px; flex: 0 0 112px; grid-template-columns: 36px 1fr 36px; }
  .single-product .f-pdp-buy .single_add_to_cart_button { flex: 1 1 auto; min-width: 0; padding: 0 var(--f-space-3); }
  .single-product .f-pdp-buy .f-pdp-unavailable { flex: 1 1 100%; }
  .single-product .entry-summary .f-pdp-buy { margin-bottom: var(--f-space-6) !important; }

  .f-pdp-assure { gap: var(--f-space-2); padding-top: var(--f-space-4); }
  .f-pdp-assure li { grid-template-columns: 32px auto; gap: var(--f-space-3); font-size: 0.8125rem; }
  .f-pdp-assure .f-fact-icon { width: 32px; height: 32px; }
  .f-pdp-assure .f-fact-icon svg { width: 16px; height: 16px; }
  .f-pdp-assure strong { display: inline; margin-right: 0.4em; }
}
/* Smartphone, Kaufspalte in drei Gruppen mit gleichem Abstand (Inhaber 21.11.2026): Kopf (Zeile, Titel, Preis mit Hinweis,
   innen 8 px), Kurztext, Kaufzeile; dazwischen je 28 px; ohne Linie unter dem Preis; Marke nicht hoeher als der Preis. */
@media (max-width: 689.98px) {
  .single-product .entry-summary .f-pdp-eyebrow { margin-bottom: var(--f-space-2) !important; }
  .single-product .entry-summary .product_title { margin-bottom: var(--f-space-4) !important; }   /* Titel und Preis etwas abgesetzt (Inhaber) */
  .single-product .entry-summary .f-pdp-price { margin-bottom: 28px !important; padding-bottom: 0; border-bottom: 0; }
  .single-product .entry-summary .f-pdp-price .f-price-note, .single-product .entry-summary .f-pdp-price .f-price-ppu { margin-top: 4px; }
  .single-product .entry-summary .woocommerce-product-details__short-description { margin-bottom: 28px !important; font-size: 0.875rem; line-height: 1.65; }
  .single-product .entry-summary .f-pdp-buy { margin-bottom: 28px !important; }
  .single-product .f-pdp-price-row .f-status { gap: 6px; padding: 5px 10px; border-radius: 8px; font-size: 0.8125rem; }
  .single-product .f-pdp-price-row .f-status .f-icon { width: 14px; height: 14px; }
}

/* Angaben unter dem Kaufknopf auf dem Smartphone als ruhige Zeile mit drei (bei den Nadelkoepfen zwei) Spalten: Zeichen,
   darunter Beschriftung und kurzer Wert, einzeilig (Inhaber 21.11.2026; ein automatisches Karussell wurde verworfen). */
.f-av-short { display: none; }
@media (max-width: 689.98px) {
  .f-pdp-assure { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); justify-content: stretch; gap: 6px; padding-top: var(--f-space-5); }
  .f-pdp-assure li { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; white-space: nowrap; font-size: 0.78125rem; line-height: 1.35; }
  .f-pdp-assure strong { display: block; margin: 0 0 2px; font-size: 0.625rem; }
  .f-pdp-assure .f-av-long { display: none; }
  .f-pdp-assure .f-av-short { display: inline; }
}
/* Sehr schmale Geraete (unter 360 px): eine Stufe kleiner, damit jede Spalte einzeilig bleibt */
@media (max-width: 359.98px) {
  .f-pdp-assure { gap: 4px; }
  .f-pdp-assure li { font-size: 0.6875rem; }
}

/* Kurzprofil auf dem Smartphone als Wischreihe (Inhaber 21.11.2026, Variante B): vier getoente Kaertchen nebeneinander,
   randlos bis zum Bildschirmrand wie die Kartenreihen; das naechste Kaertchen ragt sichtbar herein. */
@media (max-width: 689.98px) {
  .f-acc-body .f-facts:not(#_) {
    --f-facts-edge: calc((100vw - min(var(--theme-container-width-base, 90vw), var(--theme-normal-container-max-width, 1290px))) / 2);
    display: flex; gap: 10px;
    margin: var(--f-space-2) calc(-1 * var(--f-facts-edge)) var(--f-space-8);
    padding: 2px var(--f-facts-edge);
    overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--f-facts-edge);
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
    background: none; border-radius: 0;
    /* das angeschnittene Kaertchen rechts blendet aus; am Ende der Reihe (Klasse is-end, product-accordion.js) nicht mehr */
    -webkit-mask-image: linear-gradient(to right, #000 62%, transparent 100%); mask-image: linear-gradient(to right, #000 62%, transparent 100%);
  }
  .f-acc-body .f-facts.is-end:not(#_) { -webkit-mask-image: none; mask-image: none; }
  .f-acc-body .f-facts::-webkit-scrollbar { display: none; }
  /* Das Akkordeon schneidet seinen Inhalt ab (fuer das Auf- und Zuklappen); im offenen Abschnitt mit Kurzprofil darf die
     Reihe bis an den Bildschirmrand reichen. */
  /* min-width: 0, sonst nimmt der Abschnitt als Raster-Element die Breite der ganzen Kartenreihe an und der Text laeuft seitlich hinaus */
  .f-acc-item.is-open .f-acc-panel > .f-acc-body:has(.f-facts) { overflow: visible; min-width: 0; }
  .f-acc-panel { min-width: 0; }
  .f-acc-body .f-facts li:not(#_),
  .f-acc-body .f-facts li.f-fact:not(#_) {
    flex: 0 0 calc((100vw - 2 * var(--f-facts-edge) - 10px) / 1.5);   /* anderthalb Kaertchen sichtbar (Inhaber), Texte passen auf ein bis zwei Zeilen */
    display: flex; flex-direction: column; align-items: flex-start; gap: var(--f-space-3);
    margin: 0; padding: var(--f-space-4); border: 0;
    background: var(--f-ivory-deep); border-radius: var(--f-radius-panel); scroll-snap-align: start;
  }
  .f-acc-body .f-facts .f-fact-icon { width: 36px; height: 36px; }
  .f-acc-body .f-facts .f-fact-text { font-size: 0.875rem; line-height: 1.4; }
}
