/* Shared ERSA presentation. Existing WooCommerce data and interactions remain authoritative. */
:root {
  --blue800: #002d51;
  --dark-blue800: #002d51;
  --blue700: #002d51;
  --blue500: #246a9f;
  --accent: #246a9f;
  --background-color-content: #f4f6f7;
  --content-padding: 28px;
  --default-box-shadow: 0 6px 24px #002d510d;
}
html { scroll-behavior: smooth; }
body { color: #253b49; font-size: 14px; line-height: 1.65; background: #fff; }
body *, body *::before, body *::after { box-sizing: border-box; }
body img { max-width: 100%; }
a, button, input, select, textarea { touch-action: manipulation; }
button, input, select, textarea { font: inherit; }
button, .button, .hove-button { border-radius: 7px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 3px solid #246a9f; outline-offset: 3px;
}
h1, h2, h3, h4 { color: #002d51; line-height: 1.3; }
h1 { font-size: clamp(27px,3vw,38px); letter-spacing: -.8px; }
h2 { font-size: 25px; letter-spacing: -.4px; }
body .main-container, body .footer-wrapper { width: 100%; max-width: 1272px; margin-inline: auto; padding-inline: 28px; }
body .site-main { margin-top: 24px; }
body .woocommerce-breadcrumb { font-size: 11px; color: #617280; margin-bottom: 24px; }
body .category-title { text-align: left; font-size: 34px; color: #002d51; margin: 14px 0 20px; }
body .category_description_top { gap: 24px; padding: 0; margin: 0 0 20px; }
body .category_description_top:has(.column:empty) { grid-template-columns: 1fr; }
body .category_description_top ul { font-size: 14px; font-weight: 400; line-height: 1.7; margin: 12px 0 18px 20px; }
body .category_description_top ul li + li { margin-top: 7px; }
body .category_description_top .video_wrap:empty { display: none; }
body .video_wrap { width: 100%; max-width: 760px; border-radius: 12px; overflow: hidden; background: #f4f6f7; }
body .category-lower-title { font-size: 22px; margin: 24px 0 12px; }
body .category_description_bottom { columns: auto; font-size: 14px; overflow-wrap: anywhere; }
body .category_description_bottom h1, body .category_description_bottom h2, body .category_description_bottom h3 { font-size: 22px; }
body .category_description_bottom img { object-fit: contain; height: auto; }
body .category_description_bottom, body .term-description-content { text-align: left; }
/* Category notices are purchasing information, not optional accordion content. */
body.tax-product_cat .term-description-toggle { display: none; }
body.tax-product_cat .term-description-content { display: block; }
body.tax-product_cat .woocommerce-products-header { display: flex; flex-direction: column; }
body.tax-product_cat .woocommerce-products-header > .category-title { order: 0; }
body.tax-product_cat .woocommerce-products-header > .term-description { order: 1; }
body.tax-product_cat .woocommerce-products-header > .justify-center { order: 2; }
body.tax-product_cat .term-description-content p:has(> img):has(> b) {
  display: flex; flex-direction: column; align-items: flex-start;
  padding: 18px; background: #fff9eb; border: 1px solid #e8d6a4; border-radius: 10px;
}
body.tax-product_cat .term-description-content p:has(> b) > img { order: 2; margin-top: 16px; }
body.tax-product_cat .term-description-content p:has(> b) > br { display: none; }
body.tax-product_cat .term-description-content iframe { width: 100%; max-width: 760px; aspect-ratio: 16/9; height: auto; border-radius: 12px; }
body.tax-product_cat .term-description-content a[href*="loet-shop.de"]:has(img)::after {
  content: "Ersatzprodukte im Lötshop →"; display: block; font-size: 14px; font-weight: 600; margin-top: 8px; text-decoration: underline;
}
html[lang^="en"] body.tax-product_cat .term-description-content a[href*="loet-shop.de"]:has(img)::after { content: "Replacement products in the Lötshop →"; }
body .category-editorial { margin: 18px 0 24px; padding: 20px; border: 1px solid #dce4e9; border-radius: 12px; background: #f7f9fa; }
body .category-editorial:empty { display: none; }
body .justify-center { justify-content: flex-start; margin: 18px 0 26px; }
body .justify-center .hove-button { font-size: 12px; padding: 10px 16px; }
body h2.subcategories-title, body h2.products-title { font-size: 23px; margin-bottom: 20px; }
body .extended-header { padding: 0; background: none; }
body .extended-header::after { display: none; }
body .categories-list-container .product-categories { gap: 14px; }
body .categories-list-container.categories__mb-1 ul li { border: 1px solid #dce4e9; border-radius: 12px; background: #f4f6f7; padding: 12px; }
body .categories-list-container.categories__mb-1 ul li a { height: auto !important; min-height: 130px; padding: 0; gap: 10px; }
body .categories-list-container .cat-name-container { display: block; -webkit-line-clamp: unset; overflow: visible; white-space: normal; }
body .categories-list-container .cat-name { font-size: 13px; font-weight: 500; overflow-wrap: anywhere; }
body .categories-list-container img { max-height: 100px !important; }
body .woocommerce_products_wrapper { padding-top: 26px; padding-bottom: 36px; border-image: none; }
body .product-filters-grid { gap: 12px; margin-bottom: 20px; }
body .product-filters-grid button { border-color: #dce4e9; border-radius: 7px; font-size: 13px; min-height: 44px; }
body .product-filters-grid > .label { font-size: 16px; font-weight: 600; color: #002d51; }
body .archive-products > ul.products, body .products-grid ul.products { gap: 20px; }
body ul.products > li.product, body .search-product {
  border: 1px solid #dce4e9; border-radius: 13px; background: #fff;
  padding: 18px; box-shadow: none; min-width: 0; overflow: visible;
}
body ul.products > li.product { display: flex; flex-direction: column; }
body ul.products .product-thumbnail__wrapper, body ul.products .thumbnail-wrapper {
  width: 100%; min-width: 0; background: #f5f7f8; border-radius: 9px;
  margin-bottom: 14px; padding: 12px; position: relative; z-index: 0;
}
body ul.products .product-info { position: relative; z-index: 0; }
body ul.products .product-thumbnail__wrapper img, body ul.products .thumbnail-wrapper img {
  width: 100%; height: 190px; max-width: 100%; object-fit: contain; padding: 0;
}
body ul.products .woocommerce-loop-product__title {
  font-size: 16px !important; line-height: 1.45; font-weight: 600 !important;
  height: auto !important; min-height: 0 !important; max-height: none !important;
  display: block !important; -webkit-line-clamp: unset; overflow: visible !important;
  text-overflow: clip; white-space: normal; overflow-wrap: anywhere; margin: 0 0 12px;
}
body ul.products .title-meta-wrapper { margin-bottom: 12px; }
body ul.products .product_meta { font-size: 11px; overflow-wrap: anywhere; }
body ul.products .price-cart-wrapper { margin-top: auto; width: 100%; min-width: 0; }
body ul.products .prices .price { font-size: 23px; font-weight: 600; }
body ul.products .wc-gzd-additional-info { font-size: 11px; line-height: 1.55; }
body ul.products .stock-info { font-size: 12px; line-height: 1.5; }
body ul.products .cart { flex-wrap: wrap; gap: 8px; }
body ul.products .cart .button { font-size: 12px; min-height: 42px; white-space: normal; }
body ul.products .eye-catcher { border-radius: 4px; font-size: 10px; padding: 7px 10px; line-height: 1.4; }
body ul.products .eye-catcher .fancy-angle { display: none; }
body .discount-prices, body .unit-price { white-space: normal; }
body #products.list .product { display: grid; grid-template-columns: 190px minmax(0,1fr) 250px !important; }
body #products.list .product .price-cart-wrapper { background: #f5f7f8; border-radius: 9px; }
body .woocommerce-pagination { margin-block: 24px; }
body .woocommerce-pagination a, body .woocommerce-pagination span { min-width: 40px; min-height: 40px; border-radius: 6px; }
body .product-categories-section { max-width: 1272px; width: 100%; margin: 24px auto; padding-inline: 28px; }
body .product-categories-section summary { cursor: pointer; color: #002d51; padding: 14px 0; border-top: 1px solid #dce4e9; font-weight: 600; }
body .product-categories-section .wrap { padding: 0; }
body .site-footer { width: 100%; max-width: none; border-top: 1px solid #dce4e9; background: #f4f6f7; padding: 30px 0; }
body .footer-top { font-size: 11px; padding-bottom: 24px; border-bottom: 1px solid #dce4e9; }
body .footer-center { padding-top: 24px; gap: 28px; }
body .footer-center h2 { font-size: 14px; margin-bottom: 14px; }
body .footer-center a { font-size: 12px; line-height: 1.7; color: #52636c; }
body .footer-brand { margin: 20px 0; color: #002d51; font-size: 11px; letter-spacing: 1px; }
body .footer-brand svg { width: 210px; max-width: 100%; height: auto; display: block; margin-bottom: 8px; }
body .woocommerce form .form-row input.input-text, body .woocommerce form .form-row textarea, body input[type="search"] {
  border: 1px solid #dce4e9; border-radius: 7px; background: #fff; min-height: 44px;
}
body .woocommerce table.shop_table { border-radius: 12px; overflow: hidden; border-color: #dce4e9; }
body .woocommerce-MyAccount-navigation { border: 1px solid #dce4e9; border-radius: 12px; padding: 18px; }
body .woocommerce-error, body .woocommerce-message, body .woocommerce-info { border-radius: 8px; }
body .ajax-search-results .ajax-search-results-wrapper {
  left: 50%; width: calc(100% - 36px); max-width: 1216px;
  transform: translate(-50%,3px); padding: 20px; border-radius: 12px;
}
body .search-products li.search-product { grid-template-columns: 160px minmax(0,1fr) 240px !important; gap: 16px; }
body .search-products .woocommerce-loop-product__title { white-space: normal; overflow-wrap: anywhere; font-size: 16px; }
body .search-products img { max-width: 100%; object-fit: contain; }
@media (min-width: 1051px) {
  body .archive-products > ul.products { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 1050px) {
  body .main-container, body .footer-wrapper { padding-inline: 22px; }
  body .archive-products > ul.products { grid-template-columns: repeat(2,minmax(0,1fr)); }
  body #products.list .product { grid-template-columns: 140px minmax(0,1fr) 220px !important; }
}
@media (max-width: 700px) {
  :root { --content-padding: 18px; }
  body .main-container, body .footer-wrapper { padding-inline: 18px; }
  body .category-title { font-size: 28px; }
  body .category_description_top { grid-template-columns: minmax(0,1fr); }
  body .category-editorial { padding: 16px; }
  body ul.products > li.product { padding: 14px; }
  body .archive-products > ul.products, body .products-grid ul.products { grid-template-columns: minmax(0,1fr); gap: 16px; }
  body #products.list .product { display: flex; }
  body ul.products .product-thumbnail__wrapper img, body ul.products .thumbnail-wrapper img { height: 210px; }
  body .categories-list-container .product-categories { grid-template-columns: repeat(2,minmax(0,1fr)); }
  body .product-filters-grid { grid-template-columns: minmax(0,1fr); }
  body .product-categories-section { padding-inline: 18px; }
  body input, body select, body textarea { font-size: 16px !important; }
  body .woocommerce table.shop_table { overflow-wrap: anywhere; }
  body .footer-center { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
  body .ajax-search-results .ajax-search-results-wrapper { padding: 12px; }
  body .search-products li.search-product { display: flex; flex-direction: column; padding: 14px; }
  body .search-products .product-thumbnail__wrapper img { height: 140px; }
  body .search-products .price-cart-wrapper { width: 100%; }
  body .swiper-container-wrapper > .button-next { right: 0; transform: translateY(-50%); }
  body .swiper-container-wrapper > .button-prev { left: 0; transform: translateY(-50%); }
  body .woocommerce-breadcrumb { gap: 10px; line-height: 1.6; padding: 0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
/* Keep account/cart forms inside the shared content width at every breakpoint. */
body .woocommerce-MyAccount-wrapper:not(.swiper-slide),
body .woocommerce-cart-form:not(.swiper-slide),
body form.woocommerce-checkout:not(.swiper-slide) { margin-inline: 0; min-width: 0; }
body #customer_login > div { min-width: 0; border-radius: 12px; }
@media (max-width: 700px) {
  body #customer_login > div { padding: 20px 16px; }
  body #customer_login .col-1 button[type="submit"],
  body #customer_login .col-1 .lost_password a { min-width: 0; width: 100%; }
  body #customer_login input { max-width: 100%; }
}
/* Retain catalog metadata and quantity controls in grid, list and mobile views. */
body ul.products .product_meta { display: block; }
body ul.products .cart amount-wrapper { display: flex; max-width: 100%; }
body .search-products .product_meta { display: block; }
body .search-products .cart amount-wrapper { display: flex; max-width: 100%; }
body input.wpcf7-submit { color: #fff; --color: #fff; background: #246a9f; border-color: #246a9f; }
/* Taxonomy cards must show the full category name, including long names. */
body .categories-list-container .product-categories .cat-link { flex-direction: column; overflow: visible; height: auto !important; }
body .categories-list-container .product-categories .cat-name-wrapper { width: 100%; height: auto; }
body .categories-list-container .product-categories .cat-name {
  position: static !important; width: 100% !important; max-width: none; height: auto;
  padding: 10px 0 0; background: transparent; color: #002d51; border: 0;
}
body .categories-list-container .product-categories .cat-name-container {
  display: block !important; overflow: visible !important; height: auto !important;
  max-height: none !important; white-space: normal; -webkit-line-clamp: unset !important;
  width: 100%; overflow-wrap: anywhere;
}
body .categories-list-container .product-categories .cat-name .fancy-angle { display: none; }
body .woocommerce-cart-form .product-name a {
  display: block !important; overflow: visible !important; -webkit-line-clamp: unset !important;
  max-height: none !important; height: auto; white-space: normal; overflow-wrap: anywhere;
}
body .product-categories-section { background: transparent; color: #002d51; }
body ul.products .product-header, body .search-products .product-header {
  display: inline-block; position: static; max-width: 100%; width: auto;
  background: #eaf2f8; color: #002d51; padding: 6px 10px; border-radius: 5px;
  font-size: 12px; line-height: 1.5; white-space: normal; overflow-wrap: anywhere;
}
body ul.products .product-header .fancy-angle, body .search-products .product-header .fancy-angle { display: none; }
/* A list remains one column; its internal rows are independent of grid-card layouts. */
body #products.list .archive-products > ul.products { grid-template-columns: minmax(0,1fr); }
body #products.list .product > .product-info { grid-column: 2; grid-row: 1; width: auto; min-width: 0; }
body #products.list .product > .product-thumbnail__wrapper { grid-column: 1; grid-row: 1 / 3; width: 100%; }
body #products.list .product > .info-wrapper { grid-column: 2; grid-row: 2; min-width: 0; }
body #products.list .product > .price-cart-wrapper { grid-column: 3; grid-row: 1 / 3; width: 100%; }
body .categories-list-container .product-categories { grid-template-columns: repeat(3,minmax(0,1fr)); }
body .categories-list-container .product-categories > li { min-width: 0; width: auto; }
@media(max-width:700px) {
  body .categories-list-container .product-categories { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
body .swiper-container-wrapper > .button-next { right: 0; transform: translateY(-50%); }
body .swiper-container-wrapper > .button-prev { left: 0; transform: translateY(-50%); }
body #products.list .product { min-height: 0 !important; grid-template-rows: min-content 1fr; gap: 12px 16px; align-items: start; }
body #products.list .product > .product-info,
body #products.list .product > .info-wrapper { margin: 0; padding: 0; }
body #products.list .product > .product-thumbnail__wrapper { margin-bottom: 0; align-self: start; }
body #products.list .product > .price-cart-wrapper { margin-top: 0; align-self: start; }

/* 2026-10-20: catalogue composition matched to the approved preview.
   Scope excludes related-product lists and keeps all existing data/actions. */
body .category-title { font-size: clamp(30px,3.5vw,46px); font-weight: 600; letter-spacing: -1.5px; line-height: 1.18; }
body .categories-list-container.categories__mb-1 .product-categories { grid-template-columns: repeat(6,minmax(0,1fr)); gap: 12px; }
body .categories-list-container.categories__mb-1 .product-categories > li { background: #fff; padding: 12px; border-radius: 10px; }
body .categories-list-container.categories__mb-1 .product-categories .cat-link { display: flex; flex-direction: column; min-height: 0; border: 0; box-shadow: none; background: transparent; justify-content: flex-start; }
body .categories-list-container.categories__mb-1 .product-categories .cat-link img { order: 0; width: 100%; height: 76px !important; max-height: 76px !important; object-fit: contain; margin: 0; }
body .categories-list-container.categories__mb-1 .product-categories .cat-name-wrapper { position: static !important; display: block; order: 1; width: 100%; background: transparent; }
body .categories-list-container.categories__mb-1 .product-categories .cat-name,
body .categories-list-container.categories__mb-1 .product-categories .cat-name-container { color: #002d51 !important; --color: #002d51; background: transparent !important; border: 0; font-size: 11px; line-height: 1.5; text-align: left; padding: 0; }
body .categories-list-container.categories__mb-1 .product-categories .cat-name { padding-top: 12px; }
body #products-section { display: grid; grid-template-columns: 220px minmax(0,1fr); gap: 20px 28px; align-items: start; }
body #products-section > .products-title { grid-column: 2; margin: 0; font-size: 16px; }
body #products-section > aside:empty { display: none; }
body #products-section > #filters,
body #products-section > .redesign-catalog-filters { grid-column: 1; grid-row: 1 / span 4; min-width: 0; background: #f4f6f7; border-radius: 12px; padding: 20px; }
body #products-section .redesign-catalog-filters > summary { font-size: 18px; font-weight: 600; color: #002d51; cursor: pointer; }
body #products-section #filters { display: flex; flex-direction: column; align-items: stretch; gap: 0; margin: 0; list-style: none; }
body #products-section .redesign-catalog-filters #filters { padding: 0; margin-top: 16px; }
body #products-section #filters > li { width: 100%; min-width: 0; margin: 0; }
body #products-section #filters > li.label { font-size: 17px; margin-bottom: 14px; }
body #products-section .redesign-catalog-filters #filters > li.label { display: none; }
body #products-section #filters > li + li { border-top: 1px solid #dce4e9; }
body #products-section #filters button.title { border: 0; border-radius: 0; background: transparent; padding: 14px 20px 14px 0; height: auto; font-size: 12px; font-weight: 600; color: #253b49; white-space: normal; line-height: 1.5; }
body #products-section #filters button.title::after { right: 0; }
body #products-section #filters li ul { position: static; transform: none; border: 0; border-radius: 0; background: transparent; padding: 0 0 14px; max-height: 260px; overflow-y: auto; }
body #products-section #filters li ul a { font-size: 12px; height: auto; min-height: 30px; padding: 5px 0 5px 22px; overflow-wrap: anywhere; }
body #products-section #filters li ul a::before { content: ''; position: absolute; left: 1px; top: 9px; width: 11px; height: 11px; border: 1px solid #99a7af; background: #fff; }
body #products-section #filters li.chosen a::before { background: #246a9f; border-color: #246a9f; }
body #products-section > #selected_filters { grid-column: 2; min-width: 0; }
body #products-section > #selected_filters:empty { display: none; }
body #products-section > #products { grid-column: 2; min-width: 0; width: 100%; }
body :is(#products-section #products.list, .ersa-associated-products .list) .archive-products > ul.products { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; margin: 0; }
body :is(#products-section #products.list, .ersa-associated-products .list) ul.products > li.product { display: flex; flex-direction: column; grid-template-areas: none !important; width: 100%; max-width: none; min-height: 0 !important; padding: 0; gap: 0; border: 1px solid #dce4e9; border-radius: 12px; }
body :is(#products-section #products.list, .ersa-associated-products .list) .product > * { grid-area: auto !important; min-width: 0; }
body :is(#products-section #products.list, .ersa-associated-products .list) .product > .product-thumbnail__wrapper { order: 0; padding: 22px; margin: 0; border-radius: 12px 12px 0 0; background: #f8fafb; width: 100%; }
body :is(#products-section #products.list, .ersa-associated-products .list) .product-thumbnail__wrapper img { height: 180px; max-height: none; width: 100%; max-width: 100%; object-fit: contain; margin: 0; }
body :is(#products-section #products.list, .ersa-associated-products .list) .product > .product-info { order: 1; display: block; padding: 16px 20px 0; margin: 0; }
body :is(#products-section #products.list, .ersa-associated-products .list) .product > .info-wrapper { order: 2; padding: 14px 20px 0; margin: 0; }
body :is(#products-section #products.list, .ersa-associated-products .list) .product > .price-cart-wrapper { order: 3; width: 100%; padding: 20px; margin-top: auto; background: transparent; display: flex; flex-direction: column; align-self: stretch; border-radius: 0; }
body :is(#products-section #products.list, .ersa-associated-products .list) .product .woocommerce-loop-product__title { color: #002d51; font-size: 16px !important; line-height: 1.45; margin: 0 0 12px; }
body :is(#products-section #products.list, .ersa-associated-products .list) .product .product_meta { display: block; font-size: 10px; line-height: 1.6; color: #617280; font-weight: 400; }
body :is(#products-section #products.list, .ersa-associated-products .list) .product .price-wrapper { flex-flow: row wrap; justify-content: flex-start; gap: 8px; }
body :is(#products-section #products.list, .ersa-associated-products .list) .product .prices .price bdi { --color: #002d51; color: #002d51; font-size: 24px; font-weight: 600; }
body :is(#products-section #products.list, .ersa-associated-products .list) .product .prices .price del bdi { font-size: 13px; color: #617280; }
body :is(#products-section #products.list, .ersa-associated-products .list) .product .wc-gzd-additional-info { text-align: left; font-size: 11px; }
body :is(#products-section #products.list, .ersa-associated-products .list) .product .stock-info { margin: 14px 0; font-size: 11px; width: fit-content; max-width: 100%; }
body :is(#products-section #products.list, .ersa-associated-products .list) .product .cart { margin-top: 14px; padding: 0; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
body :is(#products-section #products.list, .ersa-associated-products .list) .product .cart .button { width: auto; flex: 1; max-width: 190px; border: 0; border-radius: 6px; font-size: 11px; line-height: 1.45; padding: 12px 10px; min-width: 0; }
body :is(#products-section #products.list, .ersa-associated-products .list) .product .cart amount-wrapper { flex: 0 0 auto; max-width: 72px; }
body :is(#products-section #products.list, .ersa-associated-products .list) .product .cart input.qty { width: 44px; min-width: 0; }
body .woocommerce-pagination ul.page-numbers { display: flex !important; flex-wrap: wrap; justify-content: center; gap: 4px; width: 100%; max-width: 100%; margin: 0; padding: 0; }
body .woocommerce-pagination ul.page-numbers li { margin: 0; min-width: 0; float: none; }
body #products-section .woocommerce-info { background: #f4f6f7; padding: 36px 24px; border: 0; color: #002d51; text-align: center; }
@media (min-width: 701px) {
  body #products-section .redesign-catalog-filters:not([open]) > #filters { display: flex; }
  body #products-section .redesign-catalog-filters > summary { list-style: none; }
  body #products-section .redesign-catalog-filters > summary::-webkit-details-marker { display: none; }
}
@media (min-width: 701px) and (max-width: 1050px) {
  body #products-section { grid-template-columns: 180px minmax(0,1fr); gap: 18px; }
  body #products-section > #filters, body #products-section > .redesign-catalog-filters { padding: 14px; }
  body :is(#products-section #products.list, .ersa-associated-products .list) .product-thumbnail__wrapper img { height: 150px; }
  body :is(#products-section #products.list, .ersa-associated-products .list) .product > .info-wrapper, body :is(#products-section #products.list, .ersa-associated-products .list) .product > .price-cart-wrapper { padding: 14px; }
  body .categories-list-container.categories__mb-1 .product-categories { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 700px) {
  body #products-section { display: flex; flex-direction: column; gap: 20px; }
  body #products-section > .products-title { order: 1; font-size: 14px; }
  body #products-section > #filters, body #products-section > .redesign-catalog-filters { order: 0; width: 100%; padding: 14px; }
  body #products-section .redesign-catalog-filters:not([open]) { background: transparent; padding: 0; }
  body #products-section .redesign-catalog-filters > summary { display: inline-block; border: 1px solid #dce4e9; border-radius: 7px; padding: 10px 14px; background: #fff; font-size: 12px; }
  body #products-section .redesign-catalog-filters > summary::after { content: '+'; margin-left: 16px; }
  body #products-section .redesign-catalog-filters[open] > summary::after { content: '−'; }
  body #products-section > #selected_filters { order: 2; }
  body #products-section > #products { order: 3; }
  body :is(#products-section #products.list, .ersa-associated-products .list) .archive-products > ul.products { grid-template-columns: minmax(0,1fr); gap: 16px; }
  body :is(#products-section #products.list, .ersa-associated-products .list) ul.products > li.product { display: grid; grid-template-columns: 36% minmax(0,1fr) !important; grid-template-rows: auto auto 1fr; gap: 0; }
  body :is(#products-section #products.list, .ersa-associated-products .list) .product > .product-thumbnail__wrapper { grid-column: 1 !important; grid-row: 1 / 4 !important; align-self: stretch; display: flex; align-items: center; padding: 8px; border-radius: 12px 0 0 12px; }
  body :is(#products-section #products.list, .ersa-associated-products .list) .product-thumbnail__wrapper img { height: auto; max-height: 180px; object-fit: contain; }
  body :is(#products-section #products.list, .ersa-associated-products .list) .product > .product-info { grid-column: 2 !important; grid-row: 1 !important; padding: 14px 12px 0; }
  body :is(#products-section #products.list, .ersa-associated-products .list) .product > .info-wrapper { grid-column: 2 !important; grid-row: 2 !important; padding: 10px 12px 0; }
  body :is(#products-section #products.list, .ersa-associated-products .list) .product > .price-cart-wrapper { grid-column: 2 !important; grid-row: 3 !important; padding: 12px; margin: 0; }
  body :is(#products-section #products.list, .ersa-associated-products .list) .product .woocommerce-loop-product__title { font-size: 13px !important; line-height: 1.5; }
  body :is(#products-section #products.list, .ersa-associated-products .list) .product .product_meta { font-size: 9px; }
  body :is(#products-section #products.list, .ersa-associated-products .list) .product .prices .price bdi { font-size: 21px; }
  body :is(#products-section #products.list, .ersa-associated-products .list) .product .cart { flex-wrap: wrap; }
  body :is(#products-section #products.list, .ersa-associated-products .list) .product .cart .button { max-width: none; width: 100%; flex-basis: 100%; }
  body :is(#products-section #products.list, .ersa-associated-products .list) .product .stock-info { font-size: 10px; margin: 10px 0; }
  body .categories-list-container.categories__mb-1 .product-categories { grid-template-columns: repeat(2,minmax(0,1fr)); }
  body .category_description_top, body .term-description-content > div { max-width: 100%; }
  body .term-description-content iframe { max-width: 100%; }
}
/* The legacy aside contains indentation whitespace but no widget elements. */
body #products-section > aside:not(:has(*)) { display: none; }
/* Catalogue follow-up: reset legacy spacing, retain metadata at card scale. */
body #products-section > #selected_filters:not(:has(*)) { display: none; }
body #products-section > #pagination,
body #products-section > .woocommerce-pagination { grid-column: 2; min-width: 0; width: 100%; margin: 18px 0 0; }
body :is(#products-section #products.list, .ersa-associated-products .list) .product .product-meta-wrapper .meta_entry,
body :is(#products-section #products.list, .ersa-associated-products .list) .product .product-meta-wrapper .meta_entry .label,
body :is(#products-section #products.list, .ersa-associated-products .list) .product .product-meta-wrapper .meta_entry .value { font-size: 11px; line-height: 1.55; color: #617280; font-weight: 400; min-width: 0; text-align: left; overflow-wrap: anywhere; }
body :is(#products-section #products.list, .ersa-associated-products .list) .product .product-meta-wrapper .meta_entry { margin: 0 0 3px; }
body :is(#products-section #products.list, .ersa-associated-products .list) .product .product-meta-wrapper { margin: 0; padding: 0; }
@media (max-width: 700px) {
  body #products-section { gap: 16px; padding-top: 20px; padding-bottom: 28px; }
  body #products-section > * { margin-top: 0; margin-bottom: 0; }
  body #products-section > #pagination,
  body #products-section > .woocommerce-pagination { order: 4; margin-top: 12px; }
  body #products-section .woocommerce-pagination { margin: 0; }
  body :is(#products-section #products.list, .ersa-associated-products .list) .archive-products { margin: 0; }
  body :is(#products-section #products.list, .ersa-associated-products .list) .product > .product-thumbnail__wrapper { align-items: flex-start; padding-top: 20px; }
  body :is(#products-section #products.list, .ersa-associated-products .list) .product > .product-thumbnail__wrapper img { align-self: flex-start; margin-top: 0; }
  body :is(#products-section #products.list, .ersa-associated-products .list) .product > .info-wrapper { padding-top: 8px; }
  body :is(#products-section #products.list, .ersa-associated-products .list) .product .product_meta { margin: 0; }
  body :is(#products-section #products.list, .ersa-associated-products .list) .product .cart { gap: 7px; margin-top: 12px; }
  body :is(#products-section #products.list, .ersa-associated-products .list) .product .cart .button { white-space: normal; width: 100%; max-width: none; flex-basis: 100%; padding: 11px 7px; }
}
body #products-section > div:has(> .woocommerce-pagination) { grid-column: 2; min-width: 0; width: 100%; margin: 18px 0 0; }
@media (max-width: 700px) {
  body #products-section > div:has(> .woocommerce-pagination) { order: 4; margin-top: 12px; }
}
.ersa-category-video{margin:12px 0;border:1px solid #dce4e9;border-radius:10px;background:#f4f7f9;overflow:hidden}
.ersa-category-video>summary{padding:14px 18px;cursor:pointer;font-size:13px;font-weight:600;color:#002d51;list-style:inside}
.ersa-category-video .youtube-video{margin:0;width:100%}
.ersa-category-video[open]>summary{border-bottom:1px solid #dce4e9}
body .woocommerce-breadcrumb a{display:inline;padding:0}
body .woocommerce-breadcrumb{column-gap:12px;row-gap:8px;line-height:1.6}
body.tax-product_cat .woocommerce-products-header{display:flex;flex-direction:column}
body.tax-product_cat .woocommerce-products-header>.subcategories-title{order:10;margin-top:24px}

/* Extend the existing product link across catalog cards; controls stay independent. */
body :is(#products-section, .ersa-associated-products) ul.products > li.product {
  position: relative;
  isolation: isolate;
}
body :is(#products-section, .ersa-associated-products) ul.products > li.product .woocommerce-loop-product__link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: 12px;
  cursor: pointer;
}
body :is(#products-section, .ersa-associated-products) ul.products > li.product .cart,
body :is(#products-section, .ersa-associated-products) ul.products > li.product form,
body :is(#products-section, .ersa-associated-products) ul.products > li.product a:not(.woocommerce-loop-product__link),
body :is(#products-section, .ersa-associated-products) ul.products > li.product details {
  position: relative;
  z-index: 2;
}
body :is(#products-section, .ersa-associated-products) ul.products > li.product .woocommerce-loop-product__link:focus-visible::after {
  outline: 3px solid #17658e;
  outline-offset: -3px;
}
@media (hover: hover) {
  body :is(#products-section, .ersa-associated-products) ul.products > li.product:has(.woocommerce-loop-product__link:hover) {
    border-color: #91aebf;
    box-shadow: 0 3px 12px rgba(0,45,81,.08);
  }
}

/* Compact breadcrumb trail: separators travel with their destination on wrap. */
body nav.woocommerce-breadcrumb,
body.single-product nav.woocommerce-breadcrumb {
  display: flex; flex-wrap: wrap; align-items: center;
  column-gap: 0; row-gap: 2px; margin: 20px 0 24px; padding: 0;
  color: #60717d; font-size: 12px; font-weight: 400; line-height: 1.5;
}
body nav.woocommerce-breadcrumb > span:nth-child(even) { display: none; }
body nav.woocommerce-breadcrumb > span:nth-child(odd) {
  display: inline-flex; align-items: center; min-width: 0; max-width: 100%;
  padding: 0; color: #60717d; --color: #60717d;
}
body nav.woocommerce-breadcrumb > span:nth-child(odd):not(:first-child)::before {
  content: ''; flex: 0 0 5px; width: 5px; height: 5px;
  border-top: 1px solid #9aa8b2; border-right: 1px solid #9aa8b2;
  transform: rotate(45deg); margin: 0 13px 0 11px;
}
body nav.woocommerce-breadcrumb > span:nth-child(odd) a {
  display: inline-flex; align-items: center; min-height: 32px; padding: 3px 0;
  color: #526776; --color: #526776; text-decoration: none;
  text-underline-offset: 4px; overflow-wrap: anywhere;
}
body nav.woocommerce-breadcrumb > span:nth-child(odd) a:hover {
  color: #002d51; text-decoration: underline;
}
body nav.woocommerce-breadcrumb a:focus-visible {
  outline: 2px solid #246a9f; outline-offset: 3px; border-radius: 2px;
}
body nav.woocommerce-breadcrumb > span:nth-child(odd):last-child {
  color: #002d51; --color: #002d51; font-weight: 500;
  min-height: 32px; overflow-wrap: anywhere;
}
@media (max-width: 700px) {
  body nav.woocommerce-breadcrumb,
  body.single-product nav.woocommerce-breadcrumb {
    margin: 12px 0 18px; font-size: 11px; line-height: 1.45; row-gap: 0;
  }
  body nav.woocommerce-breadcrumb > span:nth-child(odd) a { min-height: 36px; }
  body nav.woocommerce-breadcrumb > span:nth-child(odd):not(:first-child)::before {
    margin-left: 8px; margin-right: 10px; flex-basis: 4px; width: 4px; height: 4px;
  }
}

/* Keep the complete reCAPTCHA branding visible in document flow, never above
   cart totals, login text or contact inputs. The challenge iframe is untouched. */
body .grecaptcha-badge {
  position: relative !important;
  right: auto !important;
  bottom: auto !important;
  margin: 20px 16px 20px auto;
  max-width: calc(100% - 32px);
}
