/* d-Ei-Shop — eigene Gestaltung, geladen nur auf d-Ei-Shopseiten nach dw-shop.css
   (Haken dw-shop-eigen in dw-shop-sperre.php, Datei inc/dei-shop.css im Child-Theme).
   Gewählt am 11.11.2026: Vorschlag A «Schwester-Shop, nur umgefärbt» (anthony und pareto
   je Rang 1). Die Eiform der Farbpunkte (pareto, aus B) ist weggelassen, weil die Punkte
   Kartonfarben zeigen, keine Eier (anthony). Leitquelle wiki/Projekte/d-Ei Shop.md.
   Alle Farbwerte aus brand/tokens.json (web.marken.d-ei.gradient, marken.d-ei.akzent):
   #627d18 Knopf, Weiss darauf 4,70:1 · #455810 Hover und Zählmarke, Weiss 7,91:1 ·
   #2c390a Textakzent, 12,38:1 auf Weiss · #aab222 nur Linie und Rahmen (2,3:1, nie Text). */

body.dw-shop-dei {
	--dw-tuerkis: #aab222;
	--dw-tuerkis-dunkel: #627d18;
	--dw-tuerkis-tief: #455810;
}
body.dw-shop-dei #main .widget a:hover,
body.dw-shop-dei.single-product .product_meta a { color: #2c390a; } /* .single-product sitzt am body (anthony) */

/* Filter: Farbnamen lesbarer, Zählmarke kräftiger, Pillen am Handy mit 44 px Trefferfläche (anthony) */
body.dw-shop-dei .dw-farbe { font-size: .8em; }
body.dw-shop-dei .dw-facette-wahl { background-color: #455810 !important; font-weight: 700; }
@media (max-width: 849px) {
	body.dw-shop-dei .dw-pille { min-height: 44px; padding: 10px 14px; display: inline-flex; align-items: center; }
}

/* Beschluss 159 (12.11.2026) — Kartonfarbe «Bild (bedruckt)»: Vierfarbmuster statt Vollfarbe,
   auf Karten (title am Punkt) und im Filter (Link auf grundfarbe bild-bedruckt). */
body.dw-shop-dei .dw-punkt[title="Karton Bild (bedruckt)"],
body.dw-shop-dei a.dw-farbe[href*="filter_grundfarbe=bild-bedruckt"] .dw-punkt {
	background: conic-gradient(#d9342b 0 25%, #f2c230 0 50%, #2f8f4e 0 75%, #2b62b0 0) !important;
}

/* Beschluss 159 — Formularfeld «Band» nur bei d-Täschli (2432, 2436, 2439) und d-Tännli (2494, 2498).
   Kommt ein neuer Täschli- oder Tännli-Artikel dazu, seine ID hier ergänzen. */
body.dw-shop-dei .dei-band { display: none !important; }
/* Feld «Quelle» (Formular 2503, Betreff der Mail; dei_anfrageseite.php) — nie sichtbar */
body.dw-shop-dei .dei-quelle { display: none !important; }
body.dw-shop-dei.postid-2432 .dei-band,
body.dw-shop-dei.postid-2436 .dei-band,
body.dw-shop-dei.postid-2439 .dei-band,
body.dw-shop-dei.postid-2494 .dei-band,
body.dw-shop-dei.postid-2498 .dei-band { display: block !important; }

/* Reihenfolge im Katalog (Auftrag Mathis 12.11.2026, Protokoll dei_reihenfolge.php).
   Der gemeinsame Shopcode sortiert nach Name; die d-Ei-Reihenfolge kommt deshalb aus CSS:
   Raster statt Flex, «order» je Artikel (wie menu_order). Die Linien schliessen nahtlos
   aneinander an, ohne Zeilenumbruch je Linie (Mathis 12.11.2026, ersetzt den Umbruch vom
   selben Tag; Rückweg: ~/backup-woo-2026-11-12/dei-shop.css.vor-nahtlos).
   Neuer Artikel: hier order ergänzen, sonst steht er vorne (order 0). */
body.dw-shop-dei .shop-container > .products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: row; }
body.dw-shop-dei .shop-container > .products > .col { max-width: none; flex-basis: auto; width: auto; }
/* Flatsome setzt .row:before{display:block!important} (Clearfix) — im Raster belegt es sonst Zelle 1 */
body.dw-shop-dei .shop-container > .products::before,
body.dw-shop-dei .shop-container > .products::after { content: none !important; display: none !important; }
@media (min-width: 550px) { body.dw-shop-dei .shop-container > .products { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 850px) { body.dw-shop-dei .shop-container > .products { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@container (min-width: 1060px) { body.dw-shop-dei .shop-container > .products { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
/* d-Bar */
body.dw-shop-dei .products > .post-2448 { order: 1; }  body.dw-shop-dei .products > .post-2444 { order: 2; }
body.dw-shop-dei .products > .post-2449 { order: 3; }  body.dw-shop-dei .products > .post-2453 { order: 4; }
body.dw-shop-dei .products > .post-2458 { order: 5; }  body.dw-shop-dei .products > .post-2463 { order: 6; }
/* d-Täschli */
body.dw-shop-dei .products > .post-2432 { order: 10; } body.dw-shop-dei .products > .post-2436 { order: 11; }
body.dw-shop-dei .products > .post-2439 { order: 12; }
/* d-Triangel */
body.dw-shop-dei .products > .post-2467 { order: 20; } body.dw-shop-dei .products > .post-2471 { order: 21; }
body.dw-shop-dei .products > .post-2476 { order: 22; }
/* Weitere Formen */
body.dw-shop-dei .products > .post-2494 { order: 30; } body.dw-shop-dei .products > .post-2498 { order: 31; }
body.dw-shop-dei .products > .post-2501 { order: 32; }
/* Blister */
body.dw-shop-dei .products > .post-2481 { order: 40; } body.dw-shop-dei .products > .post-2484 { order: 41; }
body.dw-shop-dei .products > .post-2486 { order: 42; } body.dw-shop-dei .products > .post-2489 { order: 43; }
body.dw-shop-dei .products > .post-2491 { order: 44; }
