/* Lang Kunstgewerbe — customer-specific web styles (lang_custom).
 *
 * PIT-TASK-2027-000406: in the shopping cart the "Lieferung" label of the
 * delivery panel (div.delivery-mode-header, rendered from
 * templates/includes/cart/cart_delivery_mode.html) must be as bold as the
 * "Anmerkungen" panel header next to it, which is an <h6>. The theme gives
 * <h6> a computed font-weight of 500, so we reproduce exactly that value for
 * the delivery label instead of an arbitrary bold (700).
 */
.delivery-mode-header {
	font-weight: 500;
}

/* ── Artikeldetailansicht: Feld-/Kartenhöhe reduzieren (PIT-TASK-2027-000394) ──
 * Customer feedback (Philip Lang, 01.10.2026): "Feldhöhe der Artikeldetail-
 * ansicht reduzieren (unten ist Rahmen zu breit)".
 *
 * MEASURED on the rendered live DOM (item 28646, page width 1024–1280px):
 * inside the white detail card (.product-container.item-main, padding 20px on
 * every side) the content used to stop 58px above the card's bottom edge,
 * while the band above the title is only 20px — the bottom band was ~3x the
 * top one ("Rahmen unten zu breit").
 *
 * Sources of the bottom band (all BELOW the "Artikel hinzufügen" row):
 *   1. div.item-cart > .col-md-12 > div.mt-4.mb-4          margin-bottom 16px
 *      (theme spacing after the cart controls; kept at 8px here so a product
 *      description following it still has a gap)
 *   2. div.row.mb-5  — the LAST row inside the card  . . . margin-bottom 20px
 *      (pure waste: nothing follows it inside the card, it only inflated it)
 *   3. .product-container.item-main                        padding-bottom 20px
 *      (reduced so the card frame closes tightly with its content)
 *
 * After: bottom band 18px instead of 58px (card height 341px -> 301px on
 * item 28646 at 1024px), i.e. the same size as the 20px top band. The empty
 * .product-description div contributes 0px and is left untouched.
 * Scoped to the item detail card (.item-main) only — the "Empfohlen" and
 * specification cards keep the theme's regular padding.
 */
.product-container.item-main {
	padding-bottom: 8px !important;
}

/* The detail card's last row has no following section inside the card, so the
   Bootstrap .mb-5 (20px) only inflated the card's height. */
.product-container.item-main .product-page-content > .row:last-child {
	margin-bottom: 0 !important;
}

/* Cart controls wrapper: small gap (8px) instead of the theme's 16px — keeps
   the detail card shorter while still separating the button from a following
   product description, if the article has one. */
.product-container.item-main .item-cart .col-md-12 > :last-child {
	margin-bottom: 8px !important;
}

/* ── Newsletter-Banner im Website-Footer ausblenden (PIT-TASK-2027-000393) ──
 * Customer feedback (Philip Lang, 01.10.2026): "Newsletterbanner entfernen
 * (Detailansicht) ... Newsletterbanner entfernen (Artikeluebersichtsseite)".
 *
 * Where the banner lives (found live, not in any app template): the site
 * footer is rendered from the Desk record Website Settings.footer_template =
 * "Lang Website Footer" (Web Template, type "Footer", standard=0 — i.e. a
 * site-DB record, not shipped by an app). Its very first block is
 * <div class="newsletter-wrap"> with the "Jetzt den kostenlosen Newsletter
 * abonnieren" signup form, wrapped in the stock guard
 * {% if not hide_footer_signup %} (Website Settings.hide_footer_signup = 0).
 * Because that footer is included on every website page, the banner showed up
 * on the article detail page (/<item-route>) AND on the article overview page
 * (/händlershop) — the two views named in the feedback — as well as on the
 * other content pages.
 *
 * Why CSS and not the Web-Template record: the card explicitly requires the
 * change to live in lang_custom so it is version-controlled; this stylesheet
 * is already loaded on every website page via hooks.web_include_css, so one
 * scoped rule removes the banner without touching an app template, without a
 * migrate and without editing the shared (and concurrently used) hook file.
 * MEASURED before: .newsletter-wrap { display:flex } → 1265x220px (top at
 * y≈4328) on /händlershop and on the item detail page.
 */
.newsletter-wrap {
	display: none !important;
}

/* ── Artikelübersicht/Artikeldetail @ schmalem Fenster (PIT-TASK-2027-000397) ──
 * Customer feedback (Philip Lang, 01.10.2026): "Bei schmalerem Fenster (zB
 * Tablet) sollte der fixierte Kategoriebaum frueher ausgeblendet werden)
 * Abgeschnittener Button, komprimiertes Logo".
 *
 * (1) Kategorie-/Filter-Sidebar FRÜHER einklappen.
 *     webshop_full_width.scss klappt die Sidebar erst ab <=1024px in den
 *     Overlay-Toggle ein. Zwischen 1025px und ~1290px bleibt sie als feste,
 *     nur ~130-190px breite Spalte stehen (bei 1100px: 127px breit), in der
 *     die Kategorie-Links in ~50px breite Spalten umbrechen
 *     ("IGO R by Lang Kuns tgew erbe GmbH"; gemessen .category-tree-link
 *     scrollWidth 88px > clientWidth 59px). Der Overlay-Band wird hier bis
 *     1366.98px hochgezogen (deckt iPad Air 11" quer = 1180px ab) und ist damit
 *     konsistent zum Header-/Logo-Touch-Band weiter unten (992-1366.98px).
 *     Vorher @1100px: #product-filters-col display:block/relative, 127px breit,
 *     Toggle-Row display:none. Nachher: display:none/absolute, Toggle-Row
 *     display:flex, Klick öffnet ein 320px-Overlay über dem Grid.
 *
 *     ADJUSTMENT 1 (Kundenfeedback Philip Geiselmayr, 06.10.2026): "bitte die
 *     kategorie sidebar noch frueher auf mobile umschalten". Das Band wurde von
 *     1200px auf 1366.98px erweitert. Gemessen live auf /all-products (1280x900),
 *     Zustand geschlossen: #product-filters-col display none / position absolute /
 *     Breite 0, .filters-overlay-toggle-row display flex, #product-listing
 *     flex 0 0 100% (1056-1221px breit). Geöffnet: Sidebar 320px absolut über dem
 *     Raster, .category-tree-link scrollWidth == clientWidth (252/252, kein Umbruch).
 *     >=1367px bleibt unverändert (siehe Karte PIT-TASK-2027-000397).
 */
@media (min-width: 768px) and (max-width: 1366.98px) {
	body.webshop-full-width .filters-overlay-row { position: relative; }
	body.webshop-full-width #product-listing { flex: 0 0 100% !important; max-width: 100% !important; }
	body.webshop-full-width .filters-overlay-toggle-row { display: flex; margin-bottom: 1rem; }
	body.webshop-full-width .filters-overlay-toggle {
		display: inline-flex; align-items: center; gap: 0.5rem; min-height: 44px;
		padding: 0.5rem 1rem; border: 1px solid var(--gray-300);
		border-radius: var(--ws-radius); background: white; color: var(--text-color);
		font-weight: 600; box-shadow: var(--ws-shadow);
	}
	body.webshop-full-width .filters-overlay-toggle .icon {
		width: 18px; height: 18px; --icon-stroke: currentColor;
	}
	body.webshop-full-width #product-filters-col {
		position: absolute; top: 0; left: 0; z-index: 20; display: none;
		width: 320px; max-width: 320px !important; padding: var(--padding-lg);
		background: white; border-radius: var(--ws-radius); box-shadow: var(--ws-shadow-lg);
	}
	body.webshop-full-width .filters-overlay-row.filters-overlay-open #product-filters-col { display: block; }
	body.webshop-full-width #product-filters-col .filters-section {
		background: transparent; box-shadow: none; padding: 0; margin-right: 0 !important;
	}
}

/* (2) Abgeschnittener Button "Artikel hinzufügen" (Artikeldetail).
 *     webshop_cart.scss gibt dem Detail-Button .w-30-40 { width:30% } (<=992px:
 *     40%) — bei schmalem Fenster weniger als die Labelbreite, der Text wurde
 *     abgeschnitten (gemessen @1024px: clientWidth 129px < scrollWidth 157px;
 *     @1180px 152px < 157px). min-width:max-content verhindert das; der
 *     flex-wrap-Zeilencontainer bricht bei Bedarf um.
 */
.product-container .item-cart .w-30-40 {
	min-width: max-content;
}

/* (3) Komprimiertes Logo: Seitenverhältnis halten.
 *     Im expandierten Navbar (Bootstrap lg, >=992px) ist die Kopfzeile bei
 *     schmalen Fenstern zu eng. Die Marke ist ein Flex-Item und wurde horizontal
 *     gestaucht, während die Theme-Höhe (49.98px) fix blieb → verzerrtes Logo
 *     (gemessen @1025px 69.2x49.97px, @1100px 135.98x49.97px → Verhältnis
 *     1.39/2.72 statt 4.04). Container darf umbrechen, Marke/Logo schrumpfen
 *     nicht mehr → Logo bleibt bei jeder Breite 201.95x49.98px (400:99).
 *     Scope deckt den Defizit-Band bis 1366.98px ab; >=1367px braucht die
 *     Regel nicht (dort passt die Kopfzeile von sich aus).
 */
@media (min-width: 992px) and (max-width: 1366.98px) {
	.navbar-light.navbar-expand-lg > .container { flex-wrap: wrap; }
	.navbar-light.navbar-expand-lg > .container > .navbar-brand { flex-shrink: 0; }
	.navbar-light.navbar-expand-lg > .container > .navbar-brand img { flex-shrink: 0; max-width: none; }
}

/* ── Webshop-Startseite: Typografie wie die Lang-Website (PIT-TASK-2027-000395) ──
 * Customer feedback (Philip Lang, 01.10.2026, Communication at2jg3pg58):
 *   "Webshop-Startseite: Schrift ist klein und fett, Umlaute/Sonderzeichen
 *    funktionieren nicht (...) Schriftart: koennt Ihr generell die gleiche
 *    Schriftart im neuen Webshop verwenden, wie auf unserer Seite? Seite soll
 *    insgesamt gut leserlich sein."
 *
 * MEASURED before (live /shop-by-category, 1280x900, getComputedStyle):
 *   .category-tree-heading[data-depth="0"]  HÄNDLERSHOP  24px    weight 800
 *   .category-tree-heading[data-depth="1"]  IGOR         20.16px weight 750
 *   .category-card .card-body               Bänder...    16px    weight 500
 * The heading weights/sizes come from the page's own inline <style> block in
 * apps/webshop/webshop/www/shop-by-category/index.html (lines 54-91:
 * font-size 1.12rem/1.5rem/1.26rem, font-weight 700/800/750). Because that
 * inline block sits in <head> AFTER this stylesheet, the rules below win via
 * the page scope class on <body> (body.shop-by-category-page, rendered by the
 * template) plus the data-depth attribute — i.e. higher specificity, not
 * higher order.
 *
 * TARGET = the LANG website (shop.lang-kunstgewerbe.at, same family
 * "Helvetica Neue LT Pro"): its display headings are LIGHT 300, large and
 * widely spaced (measured h2 "TREND & SAISON": 50px / weight 300 /
 * letter-spacing 0.032em / line-height 1), navigation 17px / 500, product
 * titles 15px / 500. The shop start page therefore switches its section
 * headings from heavy 750/800 to LIGHT 300 and enlarges them, while the card
 * labels keep Medium 500 (already the Lang-Website pattern) at 17px.
 *
 * ADJUSTMENT (PIT-TASK-2027-000395, Follow-up nach Commit a0a4012): die erste
 * Runde hatte depth 0 auf 40px (2.5rem) und depth 1 auf 28px (1.75rem) gesetzt
 * — noch zu klein und zu eng gegenueber der Referenz. Danach exakt die
 * Referenzwerte: depth 0 = 50px / 300 / 0.032em, depth 1 = 40px / 300 /
 * 0.035em (h2 "Inspirationen").
 *
 * ADJUSTMENT 2 (PIT-TASK-2027-000412, 06.10.2026): "bitte kategorie
 * ueberschriften wieder kleiner machen in kategorieuebersicht" — beanstandet
 * war nur die GROESSE, nicht die helle Schrift. Deshalb sind hier die
 * font-size-Overrides (und die in 000395 vergroesserten margins/line-heights)
 * wieder entfernt; es gelten die nativen Sollwerte der Seite aus dem inline
 * <style> in apps/webshop/webshop/www/shop-by-category/index.html:
 *   Basis/depth 1 = 1.12rem/1.26rem, depth 0 = 1.5rem (24px),
 *   depth 2 = 1.1rem (17.6px, uppercase), depth 3-5 = 0.98rem (15.68px),
 *   depth-0-Margins 1.6rem/0.75rem, line-height 1.3.
 * Light 300, Schriftfamilie ("Helvetica Neue LT Pro" aus dem webshop-Font-
 * Bundle) und das letter-spacing aus 000395 BLEIBEN — kein Zurueckdrehen auf
 * die fetten 700/800.
 * MEASURED before/after (live /shop-by-category, getComputedStyle):
 *   depth 0   50px/300  -> 24px/300
 *   depth 1   40px/300  -> 20.16px/300
 *   Karte     17px/500  -> 17px/500 (unveraendert).
 * Der zweite Teil des Follow-ups ist die Einbindung selbst: nginx liefert
 * /assets/lang_custom/* mit max-age=31536000 und der <link> hatte keine
 * Versions-Query, weshalb der Browser die ALTE CSS-Datei bis zu einem Jahr
 * behielt (siehe hooks.py, _v() -> ?v=<sha1>).
 *
 * UMLAUTE/SONDERZEICHEN: NOT a font/encoding defect — verified on the live
 * page: the delivered faces carry the umlauts (Ü/Ö/Ä/ü/ö/äß render with two
 * distinct diaeresis dots at every weight/size, CDP CSS.getPlatformFontsForNode
 * shows the glyphs come from HelveticaNeueLTPro-Bd/Md/Roman, never from a
 * fallback font), the response is UTF-8 (Content-Type charset=utf-8, no HTML
 * entities) and no mojibake appears in the DOM text. The "broken" look was the
 * small, heavy rendering (bold headings, 24/20/16px) that this fix replaces
 * with the Lang website's light, larger typography — the diaeresis is clearly
 * readable after the change (see verification screenshots).
 */
body.shop-by-category-page .category-tree-heading {
	font-weight: 300;
	letter-spacing: 0.02em;
}
body.shop-by-category-page .category-tree-heading[data-depth="0"] {
	/* Groesse nativ: 1.5rem (24px), Margins 1.6rem/0.75rem (PIT-TASK-2027-000412). */
	font-weight: 300;
	letter-spacing: 0.032em;
}
body.shop-by-category-page .category-tree-heading[data-depth="1"] {
	/* Groesse nativ: 1.26rem (20.16px). */
	font-weight: 300;
	letter-spacing: 0.035em;
}
body.shop-by-category-page .category-tree-heading[data-depth="2"] {
	/* Groesse nativ: 1.1rem (17.6px). */
	font-weight: 300;
	letter-spacing: 0.03em;
}
body.shop-by-category-page .category-tree-heading[data-depth="3"],
body.shop-by-category-page .category-tree-heading[data-depth="4"],
body.shop-by-category-page .category-tree-heading[data-depth="5"] {
	/* Groesse nativ: 0.98rem (15.68px). */
	font-weight: 300;
	letter-spacing: 0.03em;
}

/* Kartenlabels der Startseite: wie die Navigations-/Produkttitel der
   Lang-Website (17px / Medium 500) statt 16px — leserlicher, ohne Gewicht
   zu erhoehen (kein "fett"). */
body.shop-by-category-page .category-card .card-body {
	font-size: 1.0625rem;
	font-weight: 500;
}

/* ── Schriftbild wie der alte Shop: FONT-SCHNITT korrigieren + letter-spacing ──
 * (PIT-TASK-2027-000395, ADJUSTMENT 2, Kundenfeedback 06.10.2026)
 *
 * Kundenfeedback: "die schrift sieht immer noch nicht aus wie beim alten shop
 * (shop.lang-kunstgewerbe.at)". Die letzten Runden haben nur Groessen/Gewichte
 * der Startseiten-Ueberschriften geaendert — der sichtbare Unterschied lag aber
 * am SCHNITT der Schrift selbst.
 *
 * GEMESSEN live (2026-10-06, getComputedStyle + Canvas.measureText, 1440px):
 *  - Referenz shop.lang-kunstgewerbe.at deklariert EINEN Schnitt "Helvetica
 *    Neue LT Pro" (font-weight 300) aus themes/Frontend/LangResponsiveChild/
 *    .../HelveticaNeueLTPro-LtEx.woff2 — die name-table der Datei nennt ihn
 *    "Helvetica Neue LT Pro 43 Light Extended". Gemessen "HÄNDLERSHOP" @50px =
 *    406.55px. Der ALTE SHOP rendert komplett in diesem Light-EXTENDED-Schnitt:
 *    die 500er-Fliesstexte sind kein echtes Medium, sondern derselbe Light-
 *    Extended-Schnitt (Tintenprobe 100/300/400/500 identisch, erst ab 600
 *    synthetisches Bold) -> breite, runde, offene Buchstaben.
 *  - Portal deklarierte 45 Light / 55 Roman / 65 Medium (schmale Cuts):
 *    "HÄNDLERSHOP" @50px = 361.25px = 12.5% schmaler; 500er @17px = 128.15px
 *    (Referenz 138.23px); der Startseiten-Text war zusaetzlich 400 (Roman),
 *    also schmal UND duenn.
 *  - URSACHE (Datei): apps/webshop/webshop/public/scss/webshop_fonts.scss —
 *    dort sind fuer "Helvetica Neue LT Pro" die schmalen Cuts
 *    HelveticaNeueLTProLt / -Roman / -Md als @font-face eingebunden.
 *    NICHT die Gewichte (400) oder Groessen waren das Problem, sondern der
 *    Schnitt (Extended vs. schmal).
 *
 * FIX (App lang_custom, kein Eingriff in webshop): die vom Kunden gelieferten
 * Extended-Schnitte werden hier als @font-face fuer DIESELBE Familie
 * "Helvetica Neue LT Pro" deklariert. Diese Datei ist das LETZTE Stylesheet im
 * <head>, deshalb ersetzen gleichnamige Gesichter (Familie+Stil+Gewicht) die
 * Deklarationen aus webshop-web.bundle.css (spaetere Regel gewinnt):
 *    300 / 400 / 420 / 500  -> HelveticaNeueLTProLtEx  ("43 Light Extended")
 *    600 / 700               -> HelveticaNeueLTProEx    ("53 Extended")
 *    Italic analog LtExO / ExO.
 * (600/700 wurden mit PIT-TASK-2027-000415 zunaechst von BdEx auf MdEx
 *  geaendert und mit demselben Ticket, ADJUSTMENT 1, eine echte Stufe
 *  leichter auf Ex (53 Extended) gestellt; siehe den Absatz "FETTER TEXT"
 *  weiter unten.)
 * Damit rendert jeder Text im selben Schnitt wie der alte Shop; die Metriken
 * sind mit der Referenz identisch (Canvas "HÄNDLERSHOP" @50px = 406.55px).
 * Die woff2-Dateien liegen in public/fonts/helvetica-neue-lt-pro/ (aus den
 * OTF-Schnitten konvertiert) und werden unter /assets/lang_custom/... mit
 * ?v=<sha1> ausgeliefert (analog hooks.py _v()), damit der nginx-Cache
 * (max-age=1J) keine alten Schnitte behaelt.
 *
 * ZUSAETZLICH: die Website-Theme-CSS setzt global `body { letter-spacing:.02em }`
 * (= 0.32px @16px); der alte Shop hat `letter-spacing: normal`. Hier auf normal
 * gezogen. Die grossen Ueberschriften behalten ihre Sperrung (oben 0.032em =
 * 1.6px @50px, exakt die Referenz-h2).
 */
@font-face {
	font-family: "Helvetica Neue LT Pro";
	font-style: normal;
	font-weight: 300;
	font-display: swap;
	src: url("/assets/lang_custom/fonts/helvetica-neue-lt-pro/HelveticaNeueLTProLtEx.woff2?v=ae8bec714f") format("woff2");
}
@font-face {
	font-family: "Helvetica Neue LT Pro";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("/assets/lang_custom/fonts/helvetica-neue-lt-pro/HelveticaNeueLTProLtEx.woff2?v=ae8bec714f") format("woff2");
}
@font-face {
	font-family: "Helvetica Neue LT Pro";
	font-style: normal;
	font-weight: 420;
	font-display: swap;
	src: url("/assets/lang_custom/fonts/helvetica-neue-lt-pro/HelveticaNeueLTProLtEx.woff2?v=ae8bec714f") format("woff2");
}
@font-face {
	font-family: "Helvetica Neue LT Pro";
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url("/assets/lang_custom/fonts/helvetica-neue-lt-pro/HelveticaNeueLTProLtEx.woff2?v=ae8bec714f") format("woff2");
}
/* 600 -> 53 Extended: ADJUSTMENT 1, Kundenfeedback 06.10.2026 "koennten wir den
   fettgedruckten text etwas weniger fett machen" (PIT-TASK-2027-000415).
   Der bisherige Schnitt 63 Medium Extended (MdEx) war Philipp ETWAS zu fett;
   53 Extended ("HelveticaNeueLTProEx.woff2", OTF-Schnitt 53 Extended,
   usWeightClass 400) ist genau eine echte Stufe leichter (43 Light Extended ->
   53 Extended -> 63 Medium Extended -> 73 Bold Extended), bleibt Extended,
   ist ein ECHTES Kunden-Face (keine Synthese/kein Verwaschen) und liegt im
   Zielkorridor. Messung siehe "FETTER TEXT"/ADJUSTMENT 1 weiter unten. */
@font-face {
	font-family: "Helvetica Neue LT Pro";
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url("/assets/lang_custom/fonts/helvetica-neue-lt-pro/HelveticaNeueLTProEx.woff2?v=f6a57a8e30") format("woff2");
}
@font-face {
	font-family: "Helvetica Neue LT Pro";
	font-style: italic;
	font-weight: 300;
	font-display: swap;
	src: url("/assets/lang_custom/fonts/helvetica-neue-lt-pro/HelveticaNeueLTProLtExO.woff2?v=d07babe92e") format("woff2");
}
@font-face {
	font-family: "Helvetica Neue LT Pro";
	font-style: italic;
	font-weight: 400;
	font-display: swap;
	src: url("/assets/lang_custom/fonts/helvetica-neue-lt-pro/HelveticaNeueLTProLtExO.woff2?v=d07babe92e") format("woff2");
}
@font-face {
	font-family: "Helvetica Neue LT Pro";
	font-style: italic;
	font-weight: 420;
	font-display: swap;
	src: url("/assets/lang_custom/fonts/helvetica-neue-lt-pro/HelveticaNeueLTProLtExO.woff2?v=d07babe92e") format("woff2");
}
@font-face {
	font-family: "Helvetica Neue LT Pro";
	font-style: italic;
	font-weight: 500;
	font-display: swap;
	src: url("/assets/lang_custom/fonts/helvetica-neue-lt-pro/HelveticaNeueLTProLtExO.woff2?v=d07babe92e") format("woff2");
}
@font-face {
	font-family: "Helvetica Neue LT Pro";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("/assets/lang_custom/fonts/helvetica-neue-lt-pro/HelveticaNeueLTProEx.woff2?v=f6a57a8e30") format("woff2");
}
@font-face {
	font-family: "Helvetica Neue LT Pro";
	font-style: italic;
	font-weight: 700;
	font-display: swap;
	src: url("/assets/lang_custom/fonts/helvetica-neue-lt-pro/HelveticaNeueLTProExO.woff2?v=f6ee657f7f") format("woff2");
}

/* ── FETTER TEXT (PIT-TASK-2027-000415, Kundenfeedback 06.10.2026) ────────────
 * Kundenfeedback: "ueberall wo die schrift fett ist schaut sie irgendwie
 * verwaschen und unscharf aus".
 *
 * GEMESSEN live (2026-10-06, Portal portal.lang-kunstgewerbe.at, Warenkorb,
 * Chrome/CDP): es gibt KEIN synthetisches Bold. Fuer die Familie ist das echte
 * 700er-Face geladen; Canvas-Breite des Strings "NET TOTAL EUR 81,12" @100px
 * ueber die Familie = 1305.699px und identisch mit dem direkt geladenen
 * HelveticaNeueLTProBdEx.woff2 (1305.699px); 600/700/800 liefern alle exakt
 * diesen Wert, 400/500 dagegen 1104.099px (= LtEx). document.fonts zeigt
 * "Helvetica Neue LT Pro 700 normal: loaded"; die Datei wird mit HTTP 200
 * ausgeliefert. Der fette Text wurde also schon mit einem ECHTEN Bold-Face
 * gerendert - die Ursache war nicht faux bold, sondern der SCHNITT selbst.
 *
 * Die Referenz (shop.lang-kunstgewerbe.at = auch lang-kunstgewerbe.at,
 * Shopware) deklariert NUR "43 Light Extended" (font-weight 300); ihr Fett ist
 * synthetisches Bold desselben Light-Extended-Schnitts. Tintenprobe je Schnitt
 * (Canvas, "NET TOTAL HÖ 81,12" @60px, Ink-Pixel <128):
 *    LtEx 43 Light Extended                 ink= 5908  adv= 629.1
 *    LtEx + faux bold (= Referenz alter Shop) ink= 8855 adv= 629.1
 *    MdEx 63 Medium Extended                ink=11074  adv= 702.2
 *    BdEx 73 Bold Extended (bisher hier)    ink=13901  adv= 745.6
 *    Bd 75 Bold (normale Breite)            ink=10532  adv= 608.0
 * Der bisher deklarierte 73-Bold-Extended-Schnitt hat 57% mehr Tinte und ist
 * 18.5% breiter als das Fett der Referenz. Bei den UI-Groessen (13-18px, z.B.
 * Warenkorb-Summenzeile "Nettosumme" @18px, Positionssummen @14px) fuellen
 * sich damit die Punzen mit Antialiasing -> der Text wirkt fett + verwaschen.
 *
 * FIX: 600 und 700 rendern auf dem Kunden-Schnitt "63 Medium Extended"
 * (HelveticaNeueLTProMdEx.woff2, aus HelveticaNeueLTProMdEx.otf konvertiert).
 * Das bleibt ein ECHTES, vom Kunden geliefertes Extended-Face (keine Synthese,
 * keine Breitenaenderung der Familie), ist aber um 20% leichter als BdEx und
 * trifft das Fett-Gewicht der Referenz deutlich besser -> scharfer fetter Text.
 *
 * ── ADJUSTMENT 1 (Kundenfeedback Philip Geiselmayr, 06.10.2026) ──────────────
 * "koennten wir den fettgedruckten text etwas weniger fett machen".
 * Der 63 Medium Extended war ETWAS zu fett. Die naechst-LEICHTERE echte Stufe
 * ist 53 Extended (regular Extended) — als einzige weitere echte Zwischenstufe
 * (ausserhalb lang_custom) vorhanden: apps/webshop/webshop/public/fonts/
 * helvetica-neue-lt-pro/HelveticaNeueLTProEx.otf (name-table "Helvetica Neue
 * LT Pro 53 Extended", usWeightClass 400), Oblique HelveticaNeueLTProExO.otf.
 * Beide mit fontTools nach woff2 konvertiert nach lang_custom/public/fonts/
 * (HelveticaNeueLTProEx.woff2 / HelveticaNeueLTProExO.woff2) und hier fuer
 * 600/700 (normal) bzw. 700 (italic) gesetzt.
 *
 * Echte Extended-Schnitte der Familie: 43 Light Ext. / 53 Ext. / 63 Medium
 * Ext. / 73 Bold Ext. — es gibt KEINEN weiteren Zwischenschnitt. Die in der
 * Aufgabe genannte "Referenz-Variante" (LtEx + synthetisches Bold) ist hier
 * NICHT umsetzbar: die Familie traegt aus webshop-web.bundle.css ein echtes
 * 700er-Face (HelveticaNeueLTProBd.woff2), das lang_custom.css nur ueberschreibt;
 * ein deklariertes 700er-Face unterdrueckt die Bold-Synthese (gemessen: 600/700
 * auf LtEx deklariert -> ink 6187 = identisch mit Normaltext). 53 Extended ist
 * stattdessen ein echtes, scharfes Face.
 *
 * Tintenprobe live (Canvas, "NET TOTAL HO 81,12" @60px, Ink-Pixel <128; dazu
 * die echten UI-Groessen "Nettosumme" @18px / "81,12" @14px):
 *    Schnitt                          adv@60   ink60   ink18   ink14
 *    LtEx 43 Light Extended           629.1     6187     383      87
 *    53 Extended      (NEU 600/700)   660.2     8184     524     128
 *    63 Medium Extended (bisher)      702.2    11243     692     151
 *    73 Bold Extended  (zu schwer)    745.6    13935     865     193
 *    Bd 75 Bold (normale Breite)      608.0    10626     634     137
 *    LtEx + faux bold (Referenz-Shop) 629.1     9061     580     127
 * 53 Extended hat gegenueber dem bisherigen MdEx ~27% weniger Tinte (8184 vs
 * 11243), liegt im Zielkorridor (LtEx 6187 .. MdEx 11243) und bleibt klar
 * schwerer als der Normaltext; adv 660.2 liegt zwischen Normaltext (629.1) und
 * MdEx (702.2) — Extended bleibt erhalten, keine Synthese, keine Unschaerfe.
 *
 * Die 300/400/420/500-Schnitte (PIT-TASK-2027-000395) und die Groessen aus
 * PIT-TASK-2027-000412 bleiben unveraendert.
 */

/* letter-spacing: Referenz nutzt normal (die Website-Theme-CSS setzt global
   body{letter-spacing:.02em} und ebenso .02em auf .btn/.form-control/...).
   Hier auf normal gezogen; spezifischere Regeln in dieser Datei (grosse
   Ueberschriften / Kategorieuebersicht, 0.032em = 1.6px @50px wie die
   Referenz-h2) bleiben unberuehrt, weil sie eigene Werte setzen. */
body,
.btn,
button,
input,
select,
textarea,
.form-control,
.form-select,
.input-group-text,
label,
legend,
small,
p,
td,
th,
.card-title,
.page-title,
.breadcrumb,
.nav-link,
.dropdown-item {
	letter-spacing: normal;
}

/* ── Produktkarten (Uebersicht): Artikelnummer in Lang-Gruen ───────────────────
 * (PIT-TASK-2027-000418, Kundenfeedback Lang Kunstgewerbe)
 *
 * Wunsch: die Artikelnummer auf den Produktkarten der Uebersicht soll in der
 * Lang-Brand-Farbe (Gruen/Petrol) erscheinen.
 *
 * WO die Nummer herkommt: die lang_custom-Override
 * public/js/remove_uom_prefix.js (reassigned webshop.get_item_code_row_html)
 * rendert sie als <div class="product-code-plain">${item_code}</div> innerhalb
 * <div class="ws-item-code-row"> auf der Karte.
 *
 * WO die Farbe herkommt: webshop_cart.scss (:root) definiert
 *   --ws-item-code-color: var(--gray-500)
 * und .product-code-plain konsumiert diese Variable. DIESELBE Variable
 * konsumieren aber auch die UOM-Teile der Meta-Zeile:
 * webshop_product_display.scss bindet --ws-item-code-color (via
 * `.item-card-group-section .ws-item-code-row .ws-simple-uom` /
 * `... .ws-uom-text`) ebenfalls fuer die Farbe. Die Variable wird hier deshalb
 * NICHT umgebogen — sonst wuerden auch "6/72" (.ws-simple-uom) und "Stk"
 * (.ws-uom-text) gruen, was nicht gefordert ist.
 *
 * LOESUNG: die Farbe direkt auf .product-code-plain setzen. Der Selektor traegt
 * dieselbe Spezifitaet wie die UOM-Regeln (3 Klassen, 0.3.0) und zielt nur auf
 * die Artikelnummer. Die Zeile bleibt im uebrigen grau/neutral; Groesse,
 * Zeilenhoehe und letter-spacing stammen weiter aus den geteilten
 * Custom-Properties (--ws-item-code-font-size/line-height/letter-spacing) und
 * werden hier NICHT angefasst (12px, compact 11px).
 *
 * Lang-Gruen #0b8176 = rgb(11, 129, 118); Quelle: Live-Website-Theme
 * /files/website_theme/lang_website_theme_11ea05fb.css (dort fuer
 * .category-tree-heading und .category-card .card-body).
 *
 * Alternative (verworfen): eine eigene, nur von .product-code-plain
 * konsumierte Variable --lang-item-code-color im :root setzen. Sauberer bei
 * spaeteren Farbwechseln, erfordert aber einen Eingriff in die webshop-scss
 * (:root) statt einer isolierten lang_custom-Aenderung — der Kunde soll die
 * Markenfarbe in lang_custom halten; daher die direkte Regel hier.
 *
 * Die Detailseite (.product-code / .item-code) rendert ausserhalb des
 * Karten-Grids und bleibt unberuehrt; Sold-Out-/Verfuegbarkeitszeilen ebenso.
 */
.item-card-group-section .ws-item-code-row .product-code-plain {
	color: #0b8176;
}
