/* =====================================================================
   Teich-Design – Anpassungen am Nova-Template (Vorlage: Steckerladen / Illu-Shop)
   Ein Template für vier Shops. Die Farben kommen als Variablen --td-* aus
   css/themes/<shop>.css (Klasse .theme_<shop> an .layout_wrap, siehe config/config.php).
   ===================================================================== */

/* Logo Teich-Design (440 x 80) */
.col_logo,
.col_logo_checkout {
  width: auto;
  height: auto;
}
.col_logo img {
  width: auto;
  height: 45px;
  max-width: 100%;
}
@media only screen and (min-width: 600px) {
  .col_logo { width: auto; height: auto; }
  .col_logo img { width: auto; height: 57px; }
}
.col_logo_checkout img {
  width: auto;
  height: 42px;
  max-width: 100%;
}

/* Kategorie-Leiste im typischen Verlauf des alten Shops */
.layout_categories {
  background: var(--td-dark);
  background-image: linear-gradient(to bottom, var(--td-main) 0%, var(--td-dark) 100%);
}

/* Hauptbuttons (z. B. "In den Warenkorb", "Weiter zur Kasse") im selben Verlauf */
.cssButtonColor2 {
  background-image: linear-gradient(to bottom, var(--td-main) 0%, var(--td-dark) 100%);
  border-color: var(--td-dark);
  color: #fff;
}
.cssButtonColor2:hover {
  background-image: linear-gradient(to bottom, var(--td-dark) 0%, var(--td-main) 100%);
  color: #fff;
}

/* Links: orange beim Überfahren, wie im alten Shop */
.layout_content a:hover,
.breadcrumb a:hover {
  color: var(--td-main);
}

/* Footer: dunkel mit oranger Linie oben */
.layout_footer {
  border-top: 5px solid var(--td-line);
}

/* ---------------------------------------------------------------------
   Kategorie-Seitenleiste wie im alten Shop (Box links, Pfad aufgeklappt)
   Ab 985 px ersetzt sie die Dropdown-Menüs der Kategorie-Leiste.
   Darunter bleibt das mobile Nova-Menü (Burger-Symbol).
   --------------------------------------------------------------------- */
.sl_sidebar { display: none; }

@media only screen and (min-width: 985px) {
  .sl_page {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
  }
  .sl_sidebar {
    display: block;
    flex: 0 0 270px;
    width: 270px;
    margin: 20px 0 80px 0;
  }
  .sl_main {
    flex: 1;
    min-width: 0;
  }
  /* Inhalt nutzt die Restbreite, Rand kommt von .sl_page */
  .sl_main .content_big,
  .sl_main .content_medium,
  .sl_main .content_small {
    max-width: none;
    padding: 0;
  }

  /* Dropdowns aus: die Kategorie-Leiste bleibt nur als schmaler Farbbalken */
  .layout_categories_inner { display: none; }
  .layout_categories { height: 8px; }
}

.sl_catbox {
  border: 1px solid #ccc;
  background: #fff;
}
.sl_catbox_heading {
  background: var(--td-dark);
  background-image: linear-gradient(to bottom, var(--td-main) 0%, var(--td-dark) 100%);
  color: #fff;
  font-size: 18px;
  line-height: 24px;
  padding: 14px 20px;
}
.sl_catbox ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.sl_catbox li > a {
  display: block;
  color: #444;
  font-size: 15px;
  line-height: 20px;
  padding: 11px 15px 11px 20px;
  border-top: 1px solid #ddd;
  text-decoration: none;
}
.sl_catbox_tree > ul > li:first-child > a { border-top: 0; }
.sl_catbox li > a:hover { color: var(--td-main); text-decoration: none; }
.sl_catbox li.level2 > a { padding-left: 35px; }
.sl_catbox li.level3 > a { padding-left: 50px; }
.sl_catbox li.level4 > a { padding-left: 65px; }
.sl_catbox li.level5 > a { padding-left: 80px; }
.sl_catbox li.Selected > a { font-weight: 700; color: #222; }
.sl_catbox li > a > .counts { font-size: 11px; color: #999; padding-left: 4px; }

/* ---------------------------------------------------------------------
   Umschalter Privatkunden / Geschäftskunden (Leiste über dem Header)
   Segment-Schalter: aktiv dunkelbraun, inaktiv weiß – auch mobil einzeilig
   --------------------------------------------------------------------- */
.sl_pricemode {
  background: var(--td-dark);
  /* Verlauf der Navigationsleiste gespiegelt: dunkel oben, hell unten zur Kopfzeile hin (27.11.2026) */
  background-image: linear-gradient(to top, var(--td-main) 0%, var(--td-dark) 100%);
  color: #fff;
  font-size: 14px;
  line-height: 18px;
}
.sl_pricemode_inner {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-end;
  justify-content: center;
  gap: 8px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 7px 10px 0;
}
@media only screen and (min-width: 985px) {
  .sl_pricemode_inner { justify-content: flex-start; gap: 22px; padding: 8px 20px 0; }
}
/* Reiter wie im alten Shop: aktiv weiß, inaktiv gedeckt – beide gut lesbar */
.sl_pricemode_label { display: none; }
.sl_pricemode a.sl_pricemode_btn,
.sl_pricemode a.sl_pricemode_btn:visited {
  display: inline-block;
  white-space: nowrap;
  background: #c9a99c;
  color: var(--td-dark);
  font-weight: 700;
  padding: 5px 16px;
  border: 0;
  border-radius: 0;
  text-decoration: none;
}
.sl_pricemode a.sl_pricemode_btn:hover { background: var(--td-tint); color: var(--td-dark); text-decoration: none; }
.sl_pricemode a.sl_pricemode_btn.active,
.sl_pricemode a.sl_pricemode_btn.active:hover { background: #fff; color: #333; cursor: default; }
@media only screen and (max-width: 479px) {
  .sl_pricemode a.sl_pricemode_btn, .sl_pricemode a.sl_pricemode_btn:visited { padding: 4px 12px; font-size: 13px; }
}

/* ---------------------------------------------------------------------
   Kategoriebild: nicht hochskalieren (viele Bilder sind nur 75–200 px),
   links neben dem Beschreibungstext wie im alten Shop
   --------------------------------------------------------------------- */
.cat_description .cat_description_image { float: left; width: auto; height: auto; max-width: 40%; margin: 0 20px 10px 0; }
.cat_description .cat_description_image img { width: auto; height: auto; max-width: 100%; object-fit: contain; }
.cat_description::after { content: ""; display: table; clear: both; }

/* ---------------------------------------------------------------------
   Listing / Suche: Artikelnummer, Staffelpreise, Mengenfeld + Warenkorb
   --------------------------------------------------------------------- */
.sl_model { font-size: 13px; font-weight: 700; color: var(--td-mid); margin: 0 0 4px; }
.listingbox .sl_model { padding: 0; }
.sl_model a, .sl_model a:visited { color: inherit; text-decoration: none; }
.sl_model a:hover { color: var(--td-main); }

.sl_staffel { border-collapse: collapse; margin: 4px 0; font-size: 14px; line-height: 20px; }
.sl_staffel td { padding: 1px 0; border: 0; white-space: nowrap; }
.sl_staffel .sl_staffel_qty { text-align: right; padding-right: 18px; }
.sl_staffel .sl_staffel_price { text-align: right; font-weight: 700; }

.listingbox .lb_buttons { display: none; }
.sl_addtobasket { display: flex; gap: 6px; align-items: stretch; margin-top: 10px; }
.listingbox .sl_addtobasket { padding: 0 0 20px; }
.sl_addtobasket_btn { flex: 1 1 auto; }
.sl_addtobasket_btn button, .sl_addtobasket_btn .cssButtonPos1, .sl_addtobasket_btn input { width: 100%; height: 100%; }
.sl_addtobasket_btn .cssButton { width: 100%; height: 100%; min-height: 38px; }
.sl_addtobasket_btn .cssButton .cssButtonIcon:last-child { display: none; }
.sl_addtobasket_btn .cssButton .cssButtonText { font-size: 12px; padding-left: 4px; padding-right: 8px; letter-spacing: 0; }

/* ---------------------------------------------------------------------
   Produktseite: Staffelpreise, Hersteller im Reiter "Details",
   Cross-Selling-Reiter als Artikelzeilen
   --------------------------------------------------------------------- */
.pd_price .sl_graduated_info { margin: 0 0 6px; padding: 0; border: 0; background: none; }
.pd_price .sl_staffel { font-size: 16px; line-height: 24px; }
.pd_price .sl_staffel .sl_staffel_qty { padding-right: 28px; }
.pd_price .sl_staffel .sl_staffel_price { font-weight: 400; }
.sl_manu_desc { margin: 0 0 10px; line-height: 1.6; }
.sl_manu_desc p { margin: 0; }
.sl_manu_row { display: flex; align-items: center; gap: 15px; margin: 0 0 10px; font-weight: 700; }
.sl_manu_image { max-height: 50px; width: auto; }
.pd_description .pd_manu_description { margin-top: 30px; }
.sl_xsell_tab .listingrow { border-bottom: 1px solid #e5e5e5; }
.sl_xsell_tab .listingrow:last-child { border-bottom: 0; }
.pd_price .sl_staffel, .sl_staffel { width: auto !important; }
.listingrow .sl_addtobasket { max-width: 100%; }
.sl_addtobasket_btn { min-width: 0; }
.sl_addtobasket_btn .cssButton { box-sizing: border-box; min-width: 0; max-width: 100%; overflow: hidden; }
/* schmale Kacheln (Handy, 2 Spalten): kompakte Staffel, Warenkorb nur als Symbol */
@media only screen and (max-width: 600px) {
  .listingbox .sl_staffel { font-size: 12px; line-height: 18px; }
  .listingbox .sl_staffel .sl_staffel_qty { padding-right: 6px; }
}
/* Kacheln sind auch am Desktop (4 Spalten) zu schmal fuer "In den Warenkorb":
   dort immer nur das Warenkorb-Symbol, in der Zeilenansicht bleibt der Text */
.listingbox .sl_addtobasket_btn span.cssButtonText { display: none; }
.listingbox .sl_addtobasket_btn .cssButton { justify-content: center; }
.listingbox .sl_addtobasket_btn .cssButton .cssButtonIcon { margin: 0; font-size: 18px; }
/* Kacheln: Steuerhinweis + Warenkorb immer am unteren Rand, damit die Buttons nebeneinanderliegender
   Kacheln auf einer Höhe sind, egal wie lang Staffel, Titel oder Garantie-Label sind (Wunsch Jörg 19.11.2026).
   .lb_inner ist im Nova-Template bereits eine Flex-Spalte mit height:100%. */
.listingbox .sl_model { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.listingbox .lb_inner > .lb_tax { margin-top: auto; padding-top: 10px; }
.listingbox .lb_inner > form { margin-top: auto; }
.listingbox .lb_inner > .lb_tax ~ form { margin-top: 0; }
.listingbox .lb_inner > .lb_buttons { margin-top: auto; }

/* ---------------------------------------------------------------------
   Kategorieseiten wie in den alten Shops (stylesheet.css ".site-text", ".subcatlist"):
   heller Textkasten mit farbiger Überschrift und rotem Rabatt-Hinweis,
   Unterkategorien als Kacheln (6 je Zeile wie im Steckerladen), Kategorie-Rabatt als schräges Band.
   Farben je Shop: --td-h1, --td-ribbon-*, --td-subcat-hover (unten).
   --------------------------------------------------------------------- */
.layout_wrap { --td-h1: var(--td-dark); --td-ribbon-bg: rgba(255,0,0,.9); --td-ribbon-color: #fff; --td-subcat-hover: var(--td-main); }
.layout_wrap.theme_teichdesign    { --td-h1: #1e4590; --td-ribbon-bg: rgba(255,0,0,.9);       --td-ribbon-color: #fff;    --td-subcat-hover: #2a5bb8; }
.layout_wrap.theme_ersatzteiloase { --td-h1: #153bb4; --td-ribbon-bg: rgba(255,255,255,.9);   --td-ribbon-color: #153bb4; --td-subcat-hover: #3333ff; }
.layout_wrap.theme_bronzeladen    { --td-h1: #743500; --td-ribbon-bg: rgba(255,209,171,.9);   --td-ribbon-color: #7d3503; --td-subcat-hover: #804000; }
.layout_wrap.theme_granitladen    { --td-h1: #a02424; --td-ribbon-bg: rgba(255,209,171,.9);   --td-ribbon-color: #7d3503; --td-subcat-hover: #cc3333; }

.td_site_text { margin: 0 0 5px; padding: 15px; background: #f9f9f9; color: #5f5f5f; font-size: 14px; line-height: 1.8; }
@media only screen and (min-width: 768px) { .td_site_text { padding: 30px; } }
.td_site_text h1 { border: 0; margin: 0 0 8px; padding: 0; font-size: 22px; line-height: 1.1; font-weight: 700; color: var(--td-h1); }
.td_site_text h1:last-child { margin-bottom: 0; }
.td_site_text .category_discount { margin: 0 0 5px; padding: 0; border: 0; font-size: 14px; font-weight: 400; text-transform: none; color: #bc0000; }
.td_site_text .cat_description_text p { margin: 0 0 16px; }
.td_site_text .cat_description_text p:last-child { margin-bottom: 0; }
.td_site_text .cat_description_text ul { margin-left: 1em; }
.td_site_text_below { margin: 20px 0 5px; font-size: 12px; line-height: 1.5; color: #9c9c9c; }

.cat_description_text table { border-collapse: collapse; width: auto; margin: 0 0 10px; }
.cat_description_text td, .cat_description_text th { vertical-align: top; padding: 3px 18px 3px 0; text-align: left; border: 0; }
.cat_description_text td:first-child { padding-right: 10px; }

h4.td_more_categories {
  margin: 20px 0 14px; padding: 0 0 10px; border-bottom: 1px dotted #555;
  font: 400 20px/1.2 Arial, Helvetica, sans-serif; color: #555; text-transform: uppercase;
}
h4.td_more_categories + .td_subcats { margin-top: 0; }
.td_subcats { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin: 15px 0 25px; }
.td_subcats:before, .td_subcats:after { display: none; } /* Clearfix (.cf) wäre sonst eine Rasterzelle */
.td_subcat { min-width: 0; }
@media only screen and (max-width: 1199px) { .td_subcats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media only screen and (max-width: 767px)  { .td_subcats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } }
.td_subcat_inner, .td_subcat_inner:visited {
  display: flex; flex-direction: column; height: 100%; position: relative; overflow: hidden;
  border: 1px solid #ccc; color: #333; text-decoration: none; box-sizing: border-box;
}
.td_subcat_image { display: block; position: relative; background: #fff; border: 7px solid transparent; border-bottom: 0; }
.td_subcat_image:before { content: ""; display: block; padding-top: 75%; }
.td_subcat_image img { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); max-width: 100%; max-height: 100%; width: auto; height: auto; }
.td_subcat_title {
  display: flex; align-items: center; justify-content: center; flex: 1 0 auto; min-height: 38px;
  padding: 5px; font-size: 12px; line-height: 14px; font-weight: 700; text-align: center; text-decoration: underline;
}
.td_subcat_inner:hover { text-decoration: none; }
.td_subcat_inner:hover .td_subcat_title { color: var(--td-subcat-hover); text-decoration: none; }
.td_subcat_discount {
  position: absolute; top: 6%; left: -31%; width: 100%; box-sizing: border-box; padding: 5px 20%;
  transform: rotate(-45deg); background: var(--td-ribbon-bg); color: var(--td-ribbon-color);
  font: 400 11px/13px Arial, sans-serif; text-align: center; pointer-events: none;
}

/* Vorlage product_listing_bronzefiguren_reduzierte-infos.html: Artikelliste nur mit Bild und Name */
.td_reduced_infos .lb_price, .td_reduced_infos .lr_price,
.td_reduced_infos .lb_tax, .td_reduced_infos .lr_tax,
.td_reduced_infos .lb_shipping, .td_reduced_infos .lr_shipping,
.td_reduced_infos .lb_buttons, .td_reduced_infos .lr_buttons,
.td_reduced_infos .sl_addtobasket, .td_reduced_infos .lb_inner > form, .td_reduced_infos .lr_inner form { display: none !important; }

/* ---------------------------------------------------------------------
   Startseite: Hauptkategorien als Kacheln (Bilder 138 px, nicht hochskalieren)
   --------------------------------------------------------------------- */
.sl_home_cats_grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.sl_home_cat, .sl_home_cat:visited {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 16px 10px 14px; border: 1px solid var(--td-tint); border-radius: 3px; background: #fff;
  color: var(--td-dark); text-align: center; text-decoration: none; font-weight: 600; line-height: 1.3;
  transition: border-color .15s, box-shadow .15s;
}
.sl_home_cat:hover { border-color: var(--td-mid); box-shadow: 0 2px 8px rgba(0,0,0,.15); color: var(--td-mid); text-decoration: none; }
.sl_home_cat_img { display: flex; align-items: center; justify-content: center; width: 100%; height: 138px; }
.sl_home_cat_img img { max-width: 100%; max-height: 138px; width: auto; height: auto; }
@media only screen and (max-width: 600px) {
  .sl_home_cats_grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .sl_home_cat { padding: 10px 6px; font-size: 13px; }
  .sl_home_cat_img { height: 100px; }
  .sl_home_cat_img img { max-height: 100px; }
}

/* Startseiten-Slider (Bestseller): Kacheln schmaler als im Listing – Staffel kompakter */
.splide .sl_staffel { font-size: 12px; line-height: 18px; }
.splide .sl_staffel .sl_staffel_qty { padding-right: 6px; }

/* Footer: "Vertrag widerrufen" (Widerrufsbutton, Content 1010) hervorheben –
   ersetzt das frühere <font color>-Tag im Content-Titel */
a[href*=":_:1010.html"], a[href*=":_:1010.html"] span,
a[href*="coID=1010"], a[href*="coID=1010"] span { color: #d23a3a !important; font-weight: 700; text-decoration: underline; }
a[href*=":_:1010.html"]:hover, a[href*=":_:1010.html"]:hover span,
a[href*="coID=1010"]:hover, a[href*="coID=1010"]:hover span { color: #fff !important; }

/* Footer: Zahlungsarten in Farbe statt grau/halbtransparent (waren auf dunklem Grund kaum erkennbar) */
.content_box_payment img { filter: none !important; opacity: 1 !important; }
/* Rechnung/Vorkasse sind dunkle Schrift-Icons – alle Icons auf helle Kaertchen */
.content_box_payment span { background: #fff; border-radius: 3px; padding: 4px 6px; box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; }

/* ---------------------------------------------------------------------
   Suche: Hilfe als Tooltip am Fragezeichen statt Popup (Wunsch Jörg 19.11.2026)
   --------------------------------------------------------------------- */
.sl_search_help .sl_search_help_btn { display: block; width: 24px; height: 40px; padding: 0; border: 0; background: none; cursor: help;
  font-size: 14px; line-height: 40px; color: var(--search_toggle_color_help, #666); }
.sl_search_help .sl_search_help_tip { display: none; position: absolute; top: 100%; right: -40px; width: 300px; max-width: calc(100vw - 32px);
  margin-top: 6px; padding: 12px 14px; background: #fff; border: 1px solid #ddd; border-radius: 4px; box-shadow: 0 4px 14px rgba(0,0,0,.15);
  font-size: 13px; line-height: 1.45; color: #333; text-align: left; white-space: normal; z-index: 1300; }
.sl_search_help:hover .sl_search_help_tip, .sl_search_help:focus-within .sl_search_help_tip { display: block; }
.sl_search_help .sl_search_help_tip p { margin: 4px 0 8px; }
.sl_search_help .sl_search_help_tip ul { margin: 0; padding: 0; list-style: none; }
.sl_search_help .sl_search_help_tip li { margin: 3px 0; }
.sl_search_help .sl_search_help_tip code { background: #f3f3f3; padding: 1px 4px; border-radius: 3px; font-size: 12px; white-space: nowrap; }

/* ---------------------------------------------------------------------
   Kopfleiste wie im alten Shop (ab 985 px):
   Logo + Vertrauenssiegel + Suche mit "Suchen"-Button, darunter die
   Navigationsleiste im Verlauf (Startseite, Konto, Kontakt, Warenkorb, Flaggen).
   Unter 985 px bleibt der mobile Nova-Kopf mit Symbolen und Burger-Menü.
   --------------------------------------------------------------------- */
.sl_trust, .sl_navbar, .sl_search_label { display: none; }

@media only screen and (min-width: 985px) {
  .layout_header_inner { padding: 18px 20px; }
  /* sehr breite Logos (z. B. Granit-Laden 9 : 1) begrenzen, damit Siegel und Suche in derselben Zeile bleiben */
  .col_logo img { height: auto; max-height: 78px; max-width: 520px; }
  .col_filler { display: none; }

  .sl_trust { display: flex; align-items: center; gap: 22px; margin-left: 40px; }
  .sl_trust a { display: block; line-height: 0; }
  .sl_trust_shopvote img { width: 60px; height: 60px; }
  .sl_trust_paypal img { width: 107px; height: auto; }
  .sl_trust_hb img { width: 130px; height: auto; }

  /* Nova-Symbole (Einstellungen, Konto, Warenkorb, Menü) übernimmt die Navigationsleiste */
  .col_settings, .col_account, .col_wishlist, .col_menu { display: none; }
  /* Warenkorb-Spalte bleibt im DOM: das Ausklapp-Panel nach "In den Warenkorb" (position: fixed) hängt daran */
  .col_cart { position: absolute; width: 0; height: 0; overflow: visible; }
  .col_cart #cart_short { display: none; }

  .col_search { flex: 1; padding: 0 0 0 30px; display: flex; justify-content: flex-end; }
  #search { width: 100%; max-width: 430px; margin: 0 0 0 auto; }
  .search_inner { border: 2px solid #c1c1c1; background: #f2f2f2; }
  .search_inner .search_cat,
  .search_inner .search_cat .SumoSelect > .CaptionCont,
  .search_inner .search_cat select,
  .search_inner input[type=text],
  .search_inner input[type=text]:hover,
  .search_inner input[type=text]:focus,
  .search_inner.search_cat_mode input[type=text],
  .search_inner.search_cat_mode input[type=text]:hover,
  .search_inner.search_cat_mode input[type=text]:focus { border-radius: 0 !important; border: 0 !important; background: #f2f2f2; }
  .search_inner .search_help { right: 100px; }
  .search_inner .search_button {
    width: auto; display: flex; align-items: center; cursor: pointer;
    background: var(--td-mid); background-image: linear-gradient(to bottom, var(--td-mid) 0%, var(--td-dark) 100%);
  }
  .search_inner .search_button:hover { background-image: linear-gradient(to bottom, var(--td-dark) 0%, var(--td-mid) 100%); }
  .search_inner .search_button .cssButton {
    height: 40px; min-height: 40px; padding: 0 0 0 12px; border: 0; border-radius: 0; background: transparent; color: #fff;
  }
  .search_inner .search_button .cssButton .cssButtonIcon { font-size: 16px; color: #fff; }
  .sl_search_label { display: block; color: #fff; font-size: 16px; font-weight: 600; line-height: 40px; padding: 0 14px 0 7px; cursor: pointer; margin: 0; }

  .sl_navbar {
    display: block;
    background: var(--td-dark);
    background-image: linear-gradient(to bottom, var(--td-main) 0%, var(--td-dark) 100%);
  }
  .sl_navbar_inner {
    display: flex; align-items: center; justify-content: space-between;
    max-width: 1440px; margin: 0 auto; padding: 0 20px;
  }
  .sl_navbar ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; }
  .sl_navbar_links li { margin-right: 44px; }
  .sl_navbar_links a, .sl_navbar_links a:visited {
    display: block; color: #fff; font-size: 17px; font-weight: 700; line-height: 22px;
    padding: 9px 0; text-decoration: none; text-shadow: 0 1px 1px rgba(0,0,0,.35);
  }
  .sl_navbar_links a:hover { color: var(--td-nav-hover); text-decoration: none; }
  .sl_navbar_links a i { margin-right: 9px; font-size: 15px; }
  .sl_navbar_count { font-weight: 400; }
  .sl_navbar_lang li { margin-left: 8px; }
  .sl_navbar_lang a { display: block; line-height: 0; opacity: .75; }
  .sl_navbar_lang a.active, .sl_navbar_lang a:hover { opacity: 1; }

  /* Bisheriger schmaler Farbbalken entfällt – die Navigationsleiste ersetzt ihn */
  .layout_categories { display: none; }
}
@media only screen and (min-width: 985px) and (max-width: 1199px) {
  .flex_header_row { flex-wrap: nowrap; }
  .col_logo img { height: auto; max-height: 58px; max-width: 380px; }
  .sl_trust_hb { display: none !important; }
  .sl_trust { margin-left: 20px; gap: 14px; }
  .sl_trust_shopvote img { width: 48px; height: 48px; }
  .sl_trust_paypal img { width: 86px; }
  .col_search { padding-left: 20px; }
  .search_inner .search_cat { width: 90px; }
  .sl_navbar_links li { margin-right: 26px; }
}
/* Icons für die Navigationsleiste – fehlen im Nova-Teilset fontawesome-6-custom.css (Schrift enthält sie) */
.fa-house { --fa: "\f015"; }
.fa-user-plus { --fa: "\f234"; }
.fa-clone { --fa: "\f24d"; }

/* Gewährleistungslabel einmal im Warenkorb (module/includes/sl_guarantee_note.html) */
.sl_guarantee_note { margin: 25px 0 0; }
.sl_guarantee_note .sl_guarantee_full { display: block; width: 100%; max-width: 620px; height: auto; }

/* Footer ohne Zahlungsarten-Spalte: drei Spalten statt vier */
@media only screen and (min-width: 985px) {
  .layout_footer .footer_item { width: 33.3333%; }
}

/* Widerrufsbutton "Vertrag widerrufen" (module/sl_widerruf.html), 20.11.2026 */
.sl_widerruf { max-width: 640px; }
.sl_widerruf .field_item_1 { margin: 0 0 15px; }
.sl_widerruf input[type="text"], .sl_widerruf input[type="email"], .sl_widerruf textarea { width: 100%; box-sizing: border-box; }
.sl_widerruf_hint { font-size: 0.9em; color: #666; margin-top: 4px; }
.sl_widerruf_hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sl_widerruf_summary { border: 1px solid #ddd; background: #f7f7f7; padding: 15px 20px; margin: 15px 0 20px; }
.sl_widerruf_summary dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 20px; margin: 10px 0 0; }
.sl_widerruf_summary dt { font-weight: 700; }
.sl_widerruf_summary dd { margin: 0; overflow-wrap: anywhere; }
.sl_widerruf_buttons { display: flex; flex-wrap: wrap; gap: 15px; align-items: center; }
.sl_widerruf_buttons form { margin: 0; }
@media (max-width: 600px) { .sl_widerruf_summary dl { grid-template-columns: 1fr; } .sl_widerruf_summary dd { margin-bottom: 8px; } }

/* ---------------------------------------------------------------------
   Startseite / Grundgerüst (Jörg, 24.11.2026)
   --------------------------------------------------------------------- */
/* Breadcrumb über Seitenleiste und Inhalt, linksbündig mit der Navigation */
.sl_breadcrumb { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 10px; }
@media only screen and (min-width: 985px) { .sl_breadcrumb { padding: 0 20px; } }

/* Begrüßung (coID 5) einspaltig, Überschrift auf Höhe der Navigation */
.box_greeting .greeting_text { column-count: 1; column-gap: 0; }
@media only screen and (min-width: 985px) { .sl_main .box_greeting { margin-top: 20px; } }

/* Hinweis aus Content 1006 (Betriebsurlaub usw.) */
.sl_notice { margin: 20px 0; padding: 14px 18px; border: 1px solid #e0a8a4; background: #ffe7e5; color: var(--td-dark); line-height: 1.5; }
.sl_notice_heading { font-size: 17px; font-weight: 700; margin: 0 0 6px; }
.sl_notice_text img { max-width: 100%; height: auto; }
.sl_notice_text p:last-child { margin-bottom: 0; }

/* Box unter der Navigation: Anmelden bzw. Zuletzt angesehen */
.sl_sidebox { margin-top: 20px; border: 1px solid #ccc; background: #fff; }
.sl_sidebox_body { padding: 15px 15px 18px; }
.sl_sidebox label { display: block; margin: 0 0 12px; }
.sl_sidebox label > span:first-child { display: block; font-size: 13px; font-weight: 600; margin: 0 0 4px; }
.sl_sidebox input[type="text"], .sl_sidebox input[type="email"], .sl_sidebox input[type="password"] { width: 100%; box-sizing: border-box; }
.sl_sidebox_actions { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.sl_sidebox_actions > a { font-size: 12px; white-space: nowrap; text-decoration: underline; color: var(--td-dark); }
.sl_sidebox_actions .cssButton { width: auto; flex: 0 0 auto; background-image: linear-gradient(to bottom, var(--td-main) 0%, var(--td-dark) 100%); border-color: var(--td-dark); color: #fff; }
.sl_sidebox_actions .cssButton:hover { background-image: linear-gradient(to bottom, var(--td-dark) 0%, var(--td-main) 100%); }
.sl_sidebox_actions .cssButton .cssButtonText, .sl_sidebox_actions .cssButton .cssButtonIcon { color: #fff; }
.sl_sidebox_lastviewed ul { list-style: none; margin: 0; padding: 0; }
.sl_sidebox_lastviewed li + li { border-top: 1px solid #ddd; }
.sl_sidebox_lastviewed a { display: flex; align-items: center; gap: 12px; padding: 10px 15px; color: #444; font-size: 13px; line-height: 17px; text-decoration: none; }
.sl_sidebox_lastviewed a:hover { color: var(--td-main); text-decoration: none; }
.sl_lv_img { flex: 0 0 48px; height: 48px; display: flex; align-items: center; justify-content: center; }
.sl_lv_img img { max-width: 48px; max-height: 48px; width: auto; height: auto; }
.sl_lv_name { min-width: 0; overflow-wrap: anywhere; }
/* steht es in der Seitenleiste, braucht es den Slider im Inhalt nicht noch einmal (mobil schon) */
@media only screen and (min-width: 985px) { .sl_has_lastviewed .box_last_viewed { display: none; } }

/* ---------------------------------------------------------------------
   Grundpreis je Staffel, Kommata untereinander, Mengenfelder mit - und +
   (Jörg, 25.11.2026)
   --------------------------------------------------------------------- */
/* Die Hausschrift hat unterschiedlich breite Ziffern, rechtsbündige Preise stehen damit nicht Komma unter
   Komma; ihre eingebauten Tabellenziffern (tabular-nums) haben eine durchgestrichene Null. Deshalb für die
   Preise nur die Ziffern aus einer Ableitung der Red Hat Display (SIL OFL) mit gleich breiten Ziffern 0-9
   (@font-face in stylesheet.css, damit der Schriftpfad auch im zusammengefassten stylesheet.min.css stimmt). */
.sl_staffel_price { font-family: 'SL Preisziffern', 'Red Hat Display', sans-serif; font-kerning: none; }
.sl_staffel td { vertical-align: top; }
.sl_staffel_vpe { display: block; font-size: 12px; line-height: 16px; font-weight: 400; padding-bottom: 4px; }
.pd_price .sl_staffel_vpe { font-size: 13px; line-height: 18px; }
.splide .sl_staffel_vpe { font-size: 11px; line-height: 14px; }

.sl_qty { display: inline-flex; align-items: stretch; width: 100%; height: 100%; min-height: 38px; box-sizing: border-box; border: 1px solid #ccc; border-radius: 3px; background: #fff; overflow: hidden; }
.sl_qty .sl_qty_btn { flex: 0 0 30px; width: 30px; margin: 0; padding: 0; border: 0; background: var(--td-tint-light); color: var(--td-dark); font-family: inherit; font-size: 18px; line-height: 1; font-weight: 600; cursor: pointer; touch-action: manipulation; }
.sl_qty .sl_qty_btn:hover { background: var(--td-main); color: #fff; }
.sl_qty .sl_qty_btn:focus-visible { outline: 2px solid var(--td-mid); outline-offset: -2px; }
.sl_qty input[name="products_qty"] { flex: 1 1 auto; width: 100%; min-width: 0; margin: 0; padding: 0 2px; border: 0; border-radius: 0; background: #fff; box-shadow: none; text-align: center; font-family: 'SL Preisziffern', 'Red Hat Display', sans-serif; font-size: 15px; }
/* Mittelfeld: Platz für 5 Stellen */
.sl_addtobasket_input { flex: 0 0 116px; }
.pd_addtobasket_input { width: 160px; box-sizing: border-box; flex: 0 0 auto; }
.pd_addtobasket_input .sl_qty { min-height: 44px; }
.pd_addtobasket_input .sl_qty .sl_qty_btn { flex-basis: 40px; width: 40px; font-size: 20px; }
@media only screen and (min-width: 340px) { .pd_addtobasket_row_additional { padding-left: 160px; } }
@media only screen and (max-width: 419px) {
  .pd_addtobasket_input { width: 130px; }
  .pd_addtobasket_input .sl_qty .sl_qty_btn { flex-basis: 32px; width: 32px; }
  .pd_addtobasket_row_additional { padding-left: 130px; }
}
/* Zeilenansicht: Warenkorb-Symbol nicht abschneiden */
.listingrow .sl_addtobasket_btn .cssButton .cssButtonIcon { flex: 0 0 auto; }
@media only screen and (min-width: 760px) { .lr_action { width: 322px; flex: 0 0 auto; } }
@media only screen and (min-width: 500px) and (max-width: 759px) {
  .listingrow .sl_addtobasket { flex-wrap: wrap; }
  .listingrow .sl_addtobasket_input, .listingrow .sl_addtobasket_btn { flex: 1 1 100%; }
}
.lb_price .vpe, .lr_price .vpe { font-size: 12px; line-height: 16px; }
@media only screen and (max-width: 600px) {
  .listingbox .sl_addtobasket_input { flex-basis: 104px; }
  .listingbox .sl_qty .sl_qty_btn { flex-basis: 26px; width: 26px; }
  .listingbox .sl_qty input[name="products_qty"] { font-size: 14px; }
  .sl_staffel_vpe { font-size: 11px; line-height: 14px; }
}

/* Teich-Design: Maß-Konfigurator (module/product_options/product_options_dropdown.html) */

/* ---------------------------------------------------------------------
   Kopfzeile je Shop im Hintergrund der alten Shops (beim Bronze-Laden das
   Pergament-Bild). Breite und Suche wie Steckerladen.
   --------------------------------------------------------------------- */
/* Teich-Design: Kopfzeile weiß wie im Steckerladen; das weiße Logo bekommt dafür eine dunkelblaue Kontur */
.layout_wrap.theme_teichdesign .layout_header    { background: #fff; }
.layout_wrap.theme_teichdesign .col_logo img     { filter: drop-shadow(0 0 1px rgba(19,40,90,.85)) drop-shadow(0 0 1px rgba(19,40,90,.85)); }
.layout_wrap.theme_ersatzteiloase .layout_header { background: linear-gradient(to bottom, #ffffff 15%, #13285a 90%) fixed; }
.layout_wrap.theme_granitladen .layout_header    { background: #d3cab9; }
.layout_wrap.theme_bronzeladen .layout_header    { background: #eed4bb url(../img/bronzeladen-hintergrund.jpg) no-repeat center / cover; }
