/* ==========================================================================
   Glückkalk — Kaufstrecke, zweite Runde
   UHRIG Solutions, 27.10.2026

   Anlass: Manuels Screenshots vom 23.10.2026. Wird als LETZTE Datei geladen,
   damit sie die drei älteren Knopf-Regelwerke (redesign, dunkel, kasse)
   verbindlich zusammenführt, statt eine vierte Variante danebenzustellen.

   Die Klassen sind aus dem gespeicherten Live-HTML abgelesen
   (entwurf/rundgang/*.html, tools/rundgang.py), nicht aus NOVA geraten.
   ========================================================================== */

/* ---------- 1. Ein Knopf-System -----------------------------------------
   Vorher: kasse.css, dunkel.css und redesign.css setzten je eigene Höhen,
   Ränder und Hover. Gemessen am 27.10.: Umriss-Knopf beim Überfahren —
   NOVA färbt den GRUND gelb, dunkel.css die SCHRIFT gelb → Text weg
   (Versandrechner „Versandkosten ermitteln", Manuels Bild 1).

   Jetzt gilt überall dasselbe: Pille, gleiche Höhe, ein gelber Hauptknopf,
   alles andere Umriss, der beim Überfahren nur die Kante wechselt.      */

html body .btn-primary,
html body .btn-outline-primary,
html body .btn-secondary:not(.search-wrapper .btn):not(.productbox .btn):not(.product-actions .btn),
html body .btn-outline-secondary:not(.productlist-page-nav .btn) {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 48px;
  padding: .65rem 1.6rem !important;
  border-radius: 999px !important;
  font-family: var(--uh-text) !important;
  font-weight: 700 !important;
  font-size: .98rem !important;
  line-height: 1.2 !important;
  letter-spacing: .01em;
  white-space: nowrap;
  text-align: center;
}

html body .btn-outline-primary,
html body .btn-secondary:not(.search-wrapper .btn):not(.productbox .btn):not(.product-actions .btn),
html body .btn-outline-secondary:not(.productlist-page-nav .btn) {
  background: transparent !important;
  border: 1px solid rgba(244,243,238,.32) !important;
  color: var(--uh-kalk) !important;
  box-shadow: none !important;
}
html body .btn-outline-primary:hover, html body .btn-outline-primary:focus,
html body .btn-outline-primary:active, html body .btn-outline-primary.active,
html body .btn-secondary:not(.search-wrapper .btn):not(.productbox .btn):not(.product-actions .btn):hover,
html body .btn-secondary:not(.search-wrapper .btn):not(.productbox .btn):not(.product-actions .btn):focus,
html body .btn-outline-secondary:not(.productlist-page-nav .btn):hover {
  background: rgba(244,243,238,.06) !important;
  border-color: var(--uh-signal) !important;
  color: var(--uh-kalk) !important;
  transform: none;
}
/* Kein Hüpfen mehr: translateY(-2px) aus redesign.css verschob die Schrift
   beim Überfahren gegen die Nachbarknöpfe. */
html body .btn-primary:hover { transform: none !important; }

/* ---------- 2. PayPal-Knopf ----------------------------------------------
   Er ist ein fremdes Fenster (iframe von paypal.com); Form und Farbe kommen
   aus dem Plugin (Backend → JTL PayPal Checkout → Darstellung: Pille).
   Hier nur Breite und Abstand, damit er sich unter den Hauptknopf reiht. */

.cart-summary [id^="paypal-button-"],
.cart-dropdown [id^="paypal-button-"] {
  flex: 0 0 100% !important;
  max-width: 100% !important;
  width: 100%;
  padding: 0 !important;
  margin-top: .6rem !important;
}
.cart-dropdown [id^="paypal-button-"] { display: flex; justify-content: center; }
.cart-dropdown [id^="paypal-button-"] > div,
.cart-summary [id^="paypal-button-"] > div { width: 100% !important; max-width: none !important; }
.cart-dropdown .dropdown-body { padding-bottom: .4rem !important; }

/* ---------- 3. Warenkorb-Aufklapper (Manuels Bild 6) ---------------------
   Gemessen: Artikelnamen in Grau auf Nachtgrün, kaum lesbar; zwei Knöpfe
   nebeneinander, „Zum Warenkorb" bricht auf zwei Zeilen um, der Weiter-
   Knopf ist ausgerechnet der leise. Jetzt untereinander, „Zur Kasse" gelb. */

.cart-dropdown {
  background: var(--uh-nacht-2) !important;
  border: 1px solid rgba(255,255,255,.12) !important;
  border-radius: 14px !important;
  padding: .5rem 0 !important;
  box-shadow: 0 24px 60px rgba(0,0,0,.45) !important;
}
.cart-dropdown .dropdown-cart-items td,
.cart-dropdown .dropdown-cart-items a,
.cart-dropdown .dropdown-cart-items a:not(.btn) {
  color: var(--uh-kalk) !important;
  font-weight: 500;
  text-decoration: none !important;
  border-color: rgba(255,255,255,.08) !important;
}
.cart-dropdown .dropdown-cart-items a:hover { color: var(--uh-gruen-hell) !important; }
.cart-dropdown .dropdown-cart-items .img-sm {
  width: 52px; height: 52px; object-fit: cover; border-radius: 8px;
}
.cart-dropdown .cart-dropdown-total-item,
.cart-dropdown .dropdown-body li {
  color: rgba(244,243,238,.78) !important;
}
.cart-dropdown .dropdown-body .font-weight-bold-util,
.cart-dropdown .cart-dropdown-total-item-price { color: var(--uh-kalk) !important; }

.cart-dropdown .cart-dropdown-buttons { flex-direction: column; gap: .6rem; margin: 0; }
.cart-dropdown .cart-dropdown-buttons > [class*="col"] {
  flex: 0 0 100% !important; max-width: 100% !important; padding: 0 !important;
}
.cart-dropdown .cart-dropdown-buttons > [class*="col"]:has(.cart-dropdown-next) { order: -1; }
/* Der Weiter-Knopf wird der laute, der zum Warenkorb der leise. */
html body .cart-dropdown .cart-dropdown-next {
  background: var(--uh-signal) !important;
  border-color: var(--uh-signal) !important;
  color: var(--uh-nacht) !important;
}
html body .cart-dropdown .cart-dropdown-next:hover {
  background: var(--uh-signal-warm) !important;
  border-color: var(--uh-signal-warm) !important;
  color: var(--uh-nacht) !important;
}
html body .cart-dropdown .cart-dropdown-buttons .btn-primary:not(.cart-dropdown-next) {
  background: transparent !important;
  border: 1px solid rgba(244,243,238,.32) !important;
  color: var(--uh-kalk) !important;
  box-shadow: none !important;
}
html body .cart-dropdown .cart-dropdown-buttons .btn-primary:not(.cart-dropdown-next):hover {
  border-color: var(--uh-signal) !important;
  background: rgba(244,243,238,.06) !important;
}
.cart-dropdown .cart-dropdown-shipping-notice,
.cart-dropdown .cart-dropdown-shipping-notice * { color: rgba(244,243,238,.7) !important; }

/* ---------- 4. Warenkorbseite --------------------------------------------- */

/* Zwischensumme und USt.: vorher Grau mit Abstand 55 zum Grund. */
.cart-summary .basket-summary,
.cart-summary .basket-summary .row,
.cart-summary .basket-summary span { color: rgba(244,243,238,.82) !important; }
.cart-summary .btn-primary { width: 100%; }

/* Versandrechner: Feld und Knopf auf eine Höhe. */
#shipping-estimate-form .form-control,
#shipping-estimate-form .custom-select { min-height: 48px; }
#shipping-estimate-form .btn { width: 100%; }

/* ---------- 5. Kasse: Kopf und Schrittleiste ----------------------------- */

/* „Sichere Bezahlung" stand in Nebelgrau auf Nachtgrün (Bild 2). */
.secure-checkout-icon, .secure-checkout-icon * { color: rgba(244,243,238,.75) !important; }

/* Schritt 3 hat noch keinen Link — das Polster saß nur am <a>, deshalb
   stand „Zusammenfassung" höher als die anderen beiden. */
.checkout-steps .step > .step-content { padding: 1rem clamp(.8rem, 2vw, 1.4rem); }
.checkout-steps .step .step-content { justify-content: center; min-height: 30px; }
.stepper.checkout-steps { border-left: 0 !important; border-right: 0 !important; }
.checkout-steps .step a { box-shadow: none !important; border: 0 !important; }
.checkout-steps .step-active:not(.step-current) { box-shadow: none !important; }

/* Leere Brotkrumen-Leiste über der Kasse (24 px hoher Balken ohne Inhalt). */
body:has(#checkout) .breadcrumb-container { display: none !important; }

/* ---------- 6. Kasse Schritt 2: Versand und Zahlung (Bild 2) -------------
   Markup (abgelesen 27.10.): #checkout-shipping-payment / #fieldset-payment
   > .custom-control.custom-radio > input + label.custom-control-label.
   kasse.css zielte auf .list-group-item — das gibt es hier nicht, deshalb
   war die Seite ungestaltet.                                              */

#checkout h1 {
  font-size: clamp(1.7rem, 3vw, 2.4rem) !important;
  margin-bottom: 1.6rem !important;
}
#checkout-shipping-payment > .h2,
#fieldset-payment > .h2 {
  font-family: var(--uh-display) !important;
  font-size: clamp(1.15rem, 1.6vw, 1.35rem) !important;
  letter-spacing: -.01em;
  color: var(--uh-kalk) !important;
  margin: 0 0 .8rem !important;
}
#checkout-shipping-payment > hr, #fieldset-payment > hr { display: none; }
#fieldset-payment { margin-top: 2.4rem; }
.checkout-shipping-form-change { color: rgba(244,243,238,.78); margin-bottom: 1rem; }

/* Jede Option eine Karte über die volle Breite; die ganze Fläche klickt. */
#checkout .checkout-shipping-form-options .custom-control.custom-radio,
#checkout .checkout-payment-method .custom-control.custom-radio {
  display: block !important;
  width: 100%;
  margin: 0 0 .6rem !important;
  padding: 0 !important;
}
#checkout .checkout-payment-method { padding: 0 !important; }
#checkout .checkout-payment-options > [role="group"] { width: 100%; padding: 0 15px; }
#checkout .checkout-shipping-form-options .custom-control-label,
#checkout .checkout-payment-method .custom-control-label {
  display: flex !important;
  align-items: center;
  gap: 1rem;
  width: 100%;
  min-height: 64px;
  padding: 1rem 1.25rem 1rem 3.4rem !important;
  background: var(--uh-nacht-2);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  color: var(--uh-kalk) !important;
  font-weight: 600;
  cursor: pointer;
  transition: border-color .2s var(--uh-kurve), background .2s var(--uh-kurve);
}
#checkout .custom-control-label:hover { border-color: rgba(255,255,255,.3); }
#checkout .custom-control-input:checked + .custom-control-label {
  border-color: var(--uh-signal);
  background: rgba(248,191,0,.06);
}
#checkout .custom-control-input:focus-visible + .custom-control-label {
  outline: 2px solid var(--uh-signal); outline-offset: 2px;
}
/* Der Radio-Punkt sitzt IN der Karte, links mittig. */
#checkout .checkout-shipping-form-options .custom-control-label::before,
#checkout .checkout-shipping-form-options .custom-control-label::after,
#checkout .checkout-payment-method .custom-control-label::before,
#checkout .checkout-payment-method .custom-control-label::after {
  top: 50% !important;
  left: 1.25rem !important;
  transform: translateY(-50%);
}
#checkout .custom-control-label::before {
  background: transparent !important;
  border: 1.5px solid rgba(244,243,238,.45) !important;
}
#checkout .custom-control-input:checked + .custom-control-label::before {
  background: var(--uh-signal) !important;
  border-color: var(--uh-signal) !important;
}
#checkout .custom-control-label .content,
#checkout .custom-control-label .form-row.content {
  flex: 1 1 auto; min-width: 0; margin: 0;
  display: flex; flex-wrap: nowrap; align-items: center; gap: .3rem 1rem;
}
#checkout .custom-control-label .form-row.content > [class*="col"] {
  flex: 0 1 auto; max-width: none; width: auto; padding: 0;
}
#checkout .custom-control-label .form-row.content > .title { flex: 1 1 auto !important; max-width: none !important; }
#checkout .custom-control-label .form-row.content > * { margin: 0 !important; line-height: 1.3; }
#checkout .custom-control-label .form-row.content { width: 100%; }
#checkout .custom-control-label .form-row.content > .price-col { margin-left: auto !important; flex: none; }
#checkout .custom-control-label .form-row.content > [class*="col"]:has(> .desc:empty) { display: none; }
#checkout .custom-control-label .content .title { white-space: normal; }
#checkout .custom-control-label .price-col { margin-left: auto; white-space: nowrap; }
/* Zahlart: Titel und Hinweis untereinander, als Block mittig in der Karte. */
#checkout .checkout-payment-method .custom-control-label {
  flex-direction: column; align-items: flex-start; justify-content: center; gap: .2rem;
}
#checkout .checkout-payment-method .custom-control-label .content { flex: none; display: block; }
#checkout .checkout-payment-method-note:has(small:empty) { display: none; }
#checkout .custom-control-label .title { color: var(--uh-kalk) !important; }
#checkout .custom-control-label .price-col { text-align: right; }
#checkout .checkout-payment-method-note small,
#checkout .custom-control-label .desc,
#checkout .custom-control-label small {
  display: block;
  font-weight: 400;
  color: rgba(244,243,238,.7) !important;
}
/* PayPal-Logo: zeigte auf die alte Adresse aw98ebb62b.jtl-shop.de. Seit
   29.10. im Backend ohne Bild und als „PayPal" benannt — alle Karten Text. */

/* Kreditkartenfelder von PayPal (#acdc_card, klappt bei Auswahl auf).
   Achtung: Es ist selbst ein .custom-control mit .collapse — die Karten-
   Regel oben darf es nicht treffen, sonst steht eine 280 px hohe
   unsichtbare Lücke unter „Kredit- und Debitkarte" (27.10. gemessen). */
#checkout #acdc_card.show { display: block; margin: -.2rem 0 .8rem; padding: 0; }
#checkout #acdc_card .card {
  background: var(--uh-nacht-2) !important;
  border: 1px solid var(--uh-signal) !important;
  border-top: 0 !important;
  border-radius: 0 0 14px 14px !important;
}
#checkout #acdc_card .card-header {
  background: none !important; border: 0 !important;
  font-weight: 600; color: var(--uh-kalk) !important;
}
#checkout #acdc_card .card_field.form-control { min-height: 48px; background: #fff !important; }

/* Zurück / Weiter: gleich hoch, Weiter rechts. */
#checkout .checkout-button-row { margin-top: 2rem; align-items: center; }
#checkout .checkout-button-row .btn { margin-top: 0 !important; margin-bottom: 0 !important; }
@media (max-width: 767.98px) {
  #checkout .checkout-button-row .btn { margin-bottom: .75rem !important; }
}

/* ---------- 7. Formulare der Kasse (Bild 5) ------------------------------
   Die hellblauen Felder sind Chromes Autofill-Farbe. Sie lässt sich nicht
   umfärben, nur mit einem inneren Schatten überdecken.                  */

#checkout input:-webkit-autofill,
#checkout input:-webkit-autofill:hover,
#checkout input:-webkit-autofill:focus,
#checkout select:-webkit-autofill,
.form-control:-webkit-autofill {
  -webkit-text-fill-color: var(--uh-kalk) !important;
  caret-color: var(--uh-kalk);
  -webkit-box-shadow: 0 0 0 1000px #20261d inset !important;
  box-shadow: 0 0 0 1000px #20261d inset !important;
  transition: background-color 9999s;
}
.form-control:autofill { box-shadow: 0 0 0 1000px #20261d inset !important; color: var(--uh-kalk) !important; }

/* Lange Hinweistexte (Werbewiderspruch) waren Grau auf Nacht, Abstand 55. */
#checkout .form-text, #checkout small.text-muted-util, #checkout .text-muted,
#checkout .checkout-register-form p small, #checkout .form-group small {
  color: rgba(244,243,238,.68) !important;
}

/* ---------- 8. Suchergebnisse --------------------------------------------
   Manuel: „wirkt sehr unstrukturiert". Gemessen 27.10. (Suche „glätte"):
   die Abschnittsköpfe waren <header>-Elemente und erbten die klebende
   Kopfzeile — Fix im Markup (productlist/index.tpl). Hier: gleich hohe
   Karten, ruhige Werkzeugleiste.                                       */

#result-wrapper .product-list { row-gap: 1.5rem; }
#result-wrapper .product-list > .product-wrapper { display: flex; }
#result-wrapper .product-list > .product-wrapper > .productbox { flex: 1; height: auto; }

/* Bei 3 bis 20 Treffern bringen Ansicht-Umschalter und „Artikel pro Seite"
   nichts außer zwei leeren Kreisen. Sortierung bleibt. */
#result-wrapper .productlist-page-nav .displayoptions .btn-group:has(.fa-th-large, .fa-th-list, .fa-list),
#result-wrapper .productlist-page-nav [title*="Galerie"],
#result-wrapper .productlist-page-nav [title*="Liste"] { display: none !important; }

.uh-listenabschnitt { margin-bottom: clamp(2rem, 4vw, 3rem); }
.uh-listenkopf { position: static !important; }

/* ---------- 9. Suchvorschläge beim Tippen --------------------------------
   Seit 27.10. freigeschaltet (Backend → Suchanfragen → Aktiv). NOVA zeigt
   sie in einem weißen Kasten; die Schrift erbt unser Kalkweiß → unlesbar. */

header .tt-menu {
  margin-top: .5rem;
  background: var(--uh-nacht-2) !important;
  border: 1px solid rgba(255,255,255,.14) !important;
  border-radius: 14px !important;
  padding: .4rem !important;
  box-shadow: 0 18px 44px rgba(0,0,0,.45);
}
header .tt-menu .tt-suggestion,
header .tt-menu .snippets-suggestion a {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .6rem .8rem !important;
  border-radius: 10px;
  color: var(--uh-kalk) !important;
  background: transparent !important;
  text-decoration: none !important;
}
header .tt-menu .tt-suggestion:hover,
header .tt-menu .tt-suggestion.tt-cursor { background: rgba(255,255,255,.06) !important; }
header .tt-menu .badge { background: var(--uh-signal) !important; color: var(--uh-nacht) !important; }


/* ==========================================================================
   Runde 28.10.2026 — Gesamtprüfung (tools/pruefung.py, alle Seiten, 1440
   und 390 px). Jede Regel nennt den Befund, der sie begründet.
   ========================================================================== */

/* Suchknopf sprang beim Überfahren 24 px nach unten (Manuel). Er hängt per
   translateY(-50%) mittig im Feld (dunkel.css); jede Hover-Regel mit
   transform — redesign.css (-2px), meine vom 27.10. (none) — hob das auf. */
header .search-wrapper .btn,
header .search-wrapper .btn:hover,
header .search-wrapper .btn:focus,
header .search-wrapper .btn:active { transform: translateY(-50%) !important; }

/* Kein Seitwärts-Rutschen der Kategorien beim Überfahren (shop.css: 3 px). */
#sidepanel_left .box-categories .nav-link:hover,
.uh-shop-baum a:hover { transform: none !important; }

/* Produktkarten gleich hoch. NOVA setzt per JS jeder Karte eine feste
   Höhe und verrechnet sich bei Artikeln mit nur EINEM Bild (gemessen
   /Werkzeuge: 367 / 367 / 431 px; Manuels Bild 8). Das Raster (Flex-Zeile)
   macht die Spalten von selbst gleich hoch — die JS-Höhe fliegt raus. */
.product-list > .product-wrapper { height: auto !important; display: flex; }
/* Der eigentliche Grund (gemessen 28.10.): NOVA gibt jeder Spalte AUSSER
   der letzten 64 px Abstand nach unten. Die Zeile ist für alle gleich hoch,
   bei den anderen frisst der Abstand die Karte → die letzte wirkt 64 px
   länger. Abstand stattdessen als Zeilenlücke des Rasters. */
.product-list > .product-wrapper { margin-bottom: 0 !important; }
.product-list { row-gap: 2rem; }
.product-list > .product-wrapper > .productbox { flex: 1 1 auto; height: auto !important; }
.product-list > .product-wrapper .productbox-inner,
.product-list > .product-wrapper .productbox-inner > .row { height: 100%; }

/* Plaketten „Auf Lager"/„Top": Grün auf Kalkweiß, Kontrast 1,7. */
.productbox .ribbon, .ribbon {
  background: var(--uh-gruen-tief) !important;
  color: #fff !important;
  border: 0 !important;
}
.ribbon::before, .ribbon::after { display: none !important; }

/* Graue NOVA-Nebentexte auf Nachtgrün (gemessen 2,1 bis 3,6):
   „inkl. 20% USt.", „Lieferzeit", „Frage zum Artikel", „Suchfilter",
   Werbe-Widerspruch bei der Registrierung, „Auf Wunschzettel"/„Entfernen". */
.vat_info, .estimated-delivery, .estimated-delivery span,
.product-offer .hidden-xs, .product-offer [class*="question"], .product-offer a[href*="frage" i],
.btn-filter-box, .btn-filter-box .text-truncate,
#content small, #content .small, #content .text-muted, #content .text-muted-util,
.wishlist-button-text, .cart-items-delete-button, .cart-items-delete-button span,
#warenkorb .btn-link, .cart-items .btn-link {
  color: rgba(244,243,238,.74) !important;
}
.cart-items-delete-button:hover, .cart-items-delete-button:hover span { color: #FF8A8A !important; }

/* Links in Formularen („Passwort vergessen") waren Nebelgrau unterstrichen —
   Manuel: „sieht man net, zu grau". */
#content form a:not(.btn), #content .login-form a:not(.btn), #content a[href*="Passwort-vergessen"] {
  color: var(--uh-kalk) !important;
  text-decoration: underline;
  text-underline-offset: 3px;
}
#content form a:not(.btn):hover, #content a[href*="Passwort-vergessen"]:hover { color: var(--uh-signal) !important; }

/* Filter-Kasten in der Seitenleiste: grauer Klotz mit grauer Schrift. */
.btn-filter-box {
  background: var(--uh-nacht-2) !important;
  border: 1px solid rgba(255,255,255,.12) !important;
  border-radius: 14px !important;
  padding: .8rem 1rem !important;
}
.btn-filter-box:hover { border-color: var(--uh-signal) !important; transform: none !important; }

/* Mengenknöpfe auf der Artikelseite: beim Überfahren weiße Scheibe, Zeichen
   weg (Kontrast 1,0). Jetzt nur ein Hauch heller. */
.product-offer .input-group .btn:hover,
.product-offer .input-group .btn:focus,
.basket-form .input-group .btn:hover {
  background: rgba(255,255,255,.1) !important;
  color: var(--uh-kalk) !important;
}

/* Vergleich/Wunschzettel auf den Karten und der Artikelseite: Symbol
   verschwand beim Überfahren (Kontrast 1,0). */
.product-actions .btn:hover, .product-actions .btn:focus,
.productbox-quick-actions .btn:hover,
button.btn.compare:hover, button.btn.wishlist:hover {
  background: var(--uh-signal) !important;
  color: var(--uh-nacht) !important;
  border-color: var(--uh-signal) !important;
}
button.btn.compare:hover span, button.btn.wishlist:hover span { color: var(--uh-nacht) !important; }

/* „In den Warenkorb" beim Überfahren: Hellgelb mit dunkler Schrift war ok,
   aber auf Kalkweiß-Karten 2,3 — gleiche Farbe wie überall. */
html body .btn-primary:hover,
html body .btn-primary:focus { background: var(--uh-signal-warm) !important; color: var(--uh-nacht) !important; }

/* Eingabefelder: getippter Text immer Kalkweiß auf dunklem Feld, auch bei
   Fokus und in Firefox (dort färbt Autofill per filter, nicht per Farbe —
   Manuel nutzt Firefox: „beim Anmelden sieht man nix, alles weiß"). */
#content .form-control, #content .custom-select,
header .form-control {
  color: var(--uh-kalk) !important;
  -webkit-text-fill-color: var(--uh-kalk);
}
#content .form-control:not(.card_field), #content .custom-select {
  background-color: #20261d !important;
}
#content .form-control:focus, #content .custom-select:focus {
  background-color: #262d22 !important;
  border-color: var(--uh-signal) !important;
  box-shadow: 0 0 0 3px rgba(248,191,0,.18) !important;
}
#content .form-control::placeholder { color: rgba(244,243,238,.5) !important; -webkit-text-fill-color: rgba(244,243,238,.5); }
input:autofill, select:autofill, textarea:autofill { filter: none !important; }
#content .form-control:-webkit-autofill,
#content .form-control:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--uh-kalk) !important;
  -webkit-box-shadow: 0 0 0 1000px #20261d inset !important;
}
/* Schwebende Beschriftung: ihr Grund muss der Feldgrund sein. */
#content .label-slide .form-group label,
#content .form-group > label,
#content .form-group .col-form-label {
  background: transparent !important;
  color: rgba(244,243,238,.78) !important;
}
#content .label-slide .form-group input:focus ~ label,
#content .label-slide .form-group input:not(:placeholder-shown) ~ label {
  background: #20261d !important;
}

/* „Ähnliche Artikel": Namen auf zwei Zeilen gekappt — „Sumpfkalk
   Marmorputz…" zweimal, die Körnung (0,5 / 1,0 mm) fehlte. Ganz zeigen. */
.slick-slider-other .productbox-title a,
.slick-slider-other .text-clamp-2,
.slick-slider-other .item-slider-desc span,
.product-detail .slick-slider-other a span {
  -webkit-line-clamp: unset !important;
  display: block !important;
  overflow: visible !important;
  text-overflow: clip !important;
  white-space: normal !important;
}

/* Lieferstatus am Handy: als Pille (999px aus dunkel.css) wurde „Sofort
   verfügbar / Lieferzeit 2–4 Werktage" zu einem runden Klecks gequetscht. */
.delivery-status,
.stock-information > [class*="col"]:first-child > * {
  border-radius: 14px !important;
  padding: .7rem 1rem !important;
}

/* Leere Brotkrumen-Leiste am Handy (NOVA blendet dort alle Glieder aus,
   der Balken bleibt) — nur stehen lassen, wo „Zurück zur Liste" drin ist. */
@media (max-width: 767.98px) {
  .breadcrumb-container:not(:has(.breadcrumb-backtolist)) { display: none !important; }
}

/* Seitenleisten-Kasten „Kategorien" am Handy: Grau auf Grau (2,1). */
.box-categories .box-normal-link,
.box-categories .box-normal-link.dropdown-toggle {
  color: var(--uh-kalk) !important;
  font-weight: 600;
}
/* Trenner „oder" im Anmeldekasten der Kasse (2,3). */
.hr-sect { color: rgba(244,243,238,.6) !important; }
.hr-sect::before, .hr-sect::after { border-color: rgba(255,255,255,.14) !important; background: rgba(255,255,255,.14) !important; }

/* Vergleich/Wunschzettel-Knöpfe auf den Karten hüpften 2 px. */
.action-tip-animation-b, .action-tip-animation-b:hover { transform: none !important; }

/* Cookie-Fingerabdruck unten links lag am Handy über dem Text. */
@media (max-width: 767.98px) {
  #consent-settings-btn, .consent-btn-settings, button[class*="consent"][class*="settings"] {
    transform: scale(.8); transform-origin: left bottom; opacity: .85;
  }
}

/* Kartentitel am Handy auf 2 Zeilen gekappt: „Sumpfkalk Marmorputz…" —
   0,5 und 1,0 mm nicht unterscheidbar. Bis 3 Zeilen, dann erst kappen. */
.productbox-title .text-clamp-2 { -webkit-line-clamp: 3 !important; line-clamp: 3; }

/* Umriss-Knöpfe beim Überfahren: NOVA färbt mit höherer Spezifität
   (:not(:disabled):not(.disabled):hover) den Grund gelb, die Schrift blieb
   weiß — „Versandkosten ermitteln" am 28.10. im Bild nachgesehen. */
html body #content .btn-outline-primary:not(:disabled):not(.disabled):hover,
html body #content .btn-outline-primary:not(:disabled):not(.disabled):focus,
html body #content .btn-outline-primary:not(:disabled):not(.disabled):active,
html body #shipping-estimate-form .btn:hover {
  background: rgba(244,243,238,.06) !important;
  border-color: var(--uh-signal) !important;
  color: var(--uh-kalk) !important;
}
/* … und das Gelb kam gar nicht vom Grund, sondern von NOVAs Füll-Effekt:
   ein schräges gelbes ::after (skewX), das beim Überfahren hineinläuft.
   Durchsichtig machen — Aufklapp-Pfeile (auch ::after) sind Rahmen und
   bleiben. */
html body .btn-outline-primary::after,
html body .btn-outline-secondary::after,
html body .btn-secondary::after {
  background: transparent !important;
  background-color: transparent !important;
}

/* Lieferstatus am Handy nur halb breit → viermal umbrochen. Volle Breite,
   „Frage zum Artikel" darunter. */
@media (max-width: 575.98px) {
  .product-offer .stock-information > [class*="col"] { flex: 0 0 100% !important; max-width: 100% !important; }
  .product-offer .stock-information > [class*="col"] + [class*="col"] { margin-top: .6rem; }
}


/* Kasse am Handy: Menüknopf über „Sichere Bezahlung" (29.10.). In der Kasse
   gibt es kein Menü — NOVA setzt den Knopf auf d-none, handy.css erzwang
   ihn mit display:inline-flex !important wieder. */
@media (max-width: 991.98px) {
  header #burger-menu.d-none { display: none !important; }
  header .secure-checkout-icon {
    display: flex; align-items: center; gap: .4rem;
    margin-left: auto; font-size: .9rem; white-space: nowrap;
  }
}
