/* WordPress- und WooCommerce-Elemente im Stil des Themes. Basis-Styles: main.css */

.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; padding: 10px 14px; background: var(--ink); color: #fff; }
.skip-link:focus { left: 8px; }
.custom-logo-link img { max-height: 46px; width: auto; }
.nav .menu, .nav ul { margin: 0; }
.nav .current-menu-item > a, .nav .current-product_cat-ancestor > a { color: var(--indigo); border-bottom-color: var(--indigo); }
.footer .menu { list-style: none; padding: 0; }

/* Hinweise (z. B. "zum Warenkorb hinzugefügt") */
.sb-notices:empty { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error, .wc-block-components-notice-banner {
  margin: 16px 0; padding: 14px 18px; list-style: none; background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--indigo); border-radius: var(--radius);
}
.woocommerce-error { border-left-color: var(--sale); }
.woocommerce-message .button, .woocommerce-info .button { float: right; margin-left: 16px; font-weight: 600; }

/* Inhaltsseiten und Rechtstexte */
.page-content { padding-block: clamp(32px, 5vw, 64px) clamp(56px, 8vw, 104px); }
.page-content h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 800; margin-bottom: 24px; }
.page-text { max-width: 820px; }
.page-text h2 { font: 800 1.6rem/1.15 var(--display); margin-block: 32px 10px; }
.page-text h3 { font: 700 1.2rem/1.2 var(--display); margin-block: 22px 8px; }
.page-text p + p { margin-top: 12px; }
.page-text ul, .page-text ol { padding-left: 22px; list-style: disc; margin-block: 10px; }
.article__grid--one { grid-template-columns: minmax(0, 860px); }
.pagination { margin-top: 32px; }
.pagination .nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.pagination .page-numbers { padding: 8px 14px; border: 1.5px solid var(--line); border-radius: 3px; text-decoration: none; }
.pagination .current { background: var(--ink); border-color: var(--ink); color: #fff; }
.guide img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; height: auto; }
.task img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Warenkorb, Kasse, Konto (Block- und klassische Variante) */
.shop-flow { margin-top: 8px; }
.shop-flow .wc-block-cart, .shop-flow .wc-block-checkout { font-family: var(--body); }
.shop-flow .wc-block-components-button:not(.is-link),
.shop-flow .wp-element-button,
.shop-flow button.button, .shop-flow a.button, .shop-flow input.button, .woocommerce-message .button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 12px 24px;
  border: 2px solid var(--indigo); border-radius: var(--radius); background: var(--indigo); color: #fff;
  font: 600 16px/1.2 var(--body); text-decoration: none; cursor: pointer;
}
.shop-flow .wc-block-components-button:not(.is-link):hover, .shop-flow button.button:hover, .shop-flow a.button:hover { background: var(--indigo-dark); border-color: var(--indigo-dark); }
.shop-flow .wc-block-components-text-input input,
.shop-flow .wc-block-components-combobox .components-combobox-control__input,
.shop-flow input.input-text, .shop-flow select, .shop-flow textarea {
  border: 1.5px solid var(--line) !important; border-radius: var(--radius) !important; background: var(--white); color: var(--ink);
}
.shop-flow .wc-block-components-totals-wrapper, .shop-flow .wc-block-components-sidebar { border-color: var(--line); }
.shop-flow .wc-block-components-product-name { font: 700 1.05rem/1.2 var(--display); color: var(--ink); text-decoration: none; }
.shop-flow .wc-block-components-formatted-money-amount { font-family: var(--display); }
.shop-flow .wc-block-components-totals-footer-item .wc-block-components-formatted-money-amount { font-weight: 800; font-size: 1.5rem; }
.shop-flow table.shop_table { width: 100%; border-collapse: collapse; background: var(--white); border: 1px solid var(--line); }
.shop-flow table.shop_table th, .shop-flow table.shop_table td { padding: 12px; border-top: 1px solid var(--line); text-align: left; }
.shop-flow .woocommerce-form-row label, .shop-flow .form-row label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 5px; }
.shop-flow .form-row input.input-text { width: 100%; height: 48px; padding: 0 12px; font: inherit; }
.woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.woocommerce-MyAccount-navigation a { display: block; padding: 9px 14px; border: 1.5px solid var(--line); border-radius: 20px; text-decoration: none; font-weight: 500; }
.woocommerce-MyAccount-navigation .is-active a { background: var(--ink); border-color: var(--ink); color: #fff; }

/* Katalogmodus */
.catalog-bar { background: var(--signal); color: var(--ink); font-size: 15px; }
.catalog-bar .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 14px; padding-block: 9px; text-align: center; }
.catalog-bar .market-links a { font-weight: 700; text-underline-offset: 3px; }
.catalog-bar .market-links a + a { margin-left: 12px; }
.catalog-bar__admin { flex-basis: 100%; font-size: 13px; font-style: normal; opacity: .75; }
.market-box { margin-top: 6px; padding: 14px; background: var(--paper); border: 1px dashed var(--line); border-radius: var(--radius); scroll-margin-top: 170px; }
.market-box p { font-size: 15px; margin-bottom: 10px; }
.market-links--big { display: flex; flex-wrap: wrap; gap: 8px; }
.market-links--big a { flex: 1 1 120px; display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 16px; border: 2px solid var(--ink); border-radius: var(--radius); font-weight: 700; text-decoration: none; color: var(--ink); background: var(--white); }
.market-links--big a:hover { background: var(--ink); color: #fff; }
.price-note__link { display: inline-block; margin-top: 2px; font-size: 14px; color: var(--muted, inherit); text-underline-offset: 3px; }
.article__text .article__img { width: auto; max-width: min(100%, 480px); height: auto; max-height: none; }

/* Gefahrenhinweise (CLP) und Herstellerangaben (GPSR) */
.safety { background: var(--white); scroll-margin-top: 140px; }
.safety__grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(24px, 5vw, 64px); align-items: start; }
.safety h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 6px 0 20px; }
.safety h3 { font-size: 1.15rem; margin: 22px 0 10px; }
.safety__head { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.safety__head figure { margin: 0; text-align: center; font: 500 11px/1.3 var(--mono); color: var(--muted); }
.safety__head figure img { width: 72px; height: 72px; margin: 0 auto 4px; }
.safety__head p + p { margin-top: 4px; }
.safety__signal strong { text-transform: uppercase; }
.safety__list li { display: grid; grid-template-columns: 9.5em minmax(0, 1fr); gap: 12px; padding: 7px 0; border-top: 1px solid var(--line); font-size: 15px; }
.safety__list li:last-child { border-bottom: 1px solid var(--line); }
.safety__note { margin-top: 18px; color: var(--muted); font-size: 15px; }
.safety__note a { color: var(--ink); font-weight: 600; }
.safety__maker { padding: 20px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); font-size: 15px; }
.safety__maker h3 { margin-top: 0; }
.safety__maker p + p { margin-top: 10px; }
.safety__id { color: var(--muted); }
@media (max-width: 860px) {
  .safety__grid { grid-template-columns: 1fr; }
  .safety__list li { grid-template-columns: 1fr; gap: 2px; }
}

/* Verarbeitung in 3 Schritten (Kaufbereich) */
.pd-steps { margin: 16px 0 4px; padding: 14px 16px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.pd-steps__title { display: block; font: 500 13px/1.3 var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--indigo); margin-bottom: 10px; }
.pd-steps ol { counter-reset: step; display: grid; gap: 10px; }
.pd-steps li { counter-increment: step; display: grid; grid-template-columns: 28px minmax(0, 1fr); column-gap: 10px; font-size: 15px; line-height: 1.45; }
.pd-steps li::before { content: counter(step); grid-row: span 2; width: 28px; height: 28px; border-radius: 50%; background: var(--indigo); color: #fff; font: 700 14px/28px var(--display); text-align: center; }
.pd-steps li strong { font-weight: 600; }
.pd-steps li span { color: var(--muted); }
