/* KlimaMarkt – Ergänzungen für WordPress/WooCommerce (nicht Teil der Vorschau-Styles) */

/* Barrierefreiheit */
.skip-link:focus{position:fixed!important;left:12px;top:12px;width:auto;height:auto;clip:auto;z-index:200;background:#fff;color:var(--ink);padding:10px 14px;border-radius:var(--r-btn);box-shadow:var(--shadow);font-weight:700}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible,[tabindex]:focus-visible{outline:2px solid var(--blue);outline-offset:2px}
.story :focus-visible,.blueprint :focus-visible,.mblock :focus-visible{outline-color:#7CC6FA}

/* Preise, Lager, Platzhalter */
.price-na{font-size:18px!important;font-weight:700;color:var(--ink-2)}
.price-old{font-size:14px;font-weight:500;color:var(--mute);margin-left:6px;letter-spacing:0}
.stock.out{color:var(--warn)}
.noimg{position:absolute;inset:0;display:grid;place-items:center;font-size:13px;color:var(--mute);text-align:center;padding:16px}
.pcard .img .noimg{position:absolute}
.stage .noimg{position:absolute}
.header .mainnav .menu-item a{display:inline-flex}
.mainnav .current-menu-item>a::after,.mainnav .current-menu-ancestor>a::after{transform:none}

/* Startseite: weitere Kategorien, Montage-Box */
.cat-more{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
.cat-more a{display:inline-flex;align-items:center;gap:6px;height:40px;padding:0 14px;border-radius:var(--r-btn);background:var(--bg-2);font-size:14.5px;font-weight:600;transition:background var(--t-fast),color var(--t-fast)}
.cat-more a:hover{background:var(--blue);color:#fff}
.plzbox-title{font-weight:700;margin-bottom:6px}
.plzbox .plz-out{color:var(--ink-2);font-weight:500}
.plzbox .btn{margin-top:10px}
.articles a:not([href]){cursor:default}
.articles a:not([href]):hover h3{color:inherit}

/* Kategorie */
.cat-head .lead p+p{margin-top:8px}
.active .reset{display:inline-flex;align-items:center;height:30px;padding:0 4px;font-size:13px;color:var(--blue);text-decoration:underline}
.filters-foot a.btn{flex:1}

/* Produktseite */
.info .sub p+p{margin-top:6px}
.inline-plz p{margin:0}
.actions a.btn{grid-column:1}
.energy-row.no-label{grid-template-columns:auto 1fr}
.prose{color:var(--ink-2);max-width:72ch;display:grid;gap:14px;font-size:16.5px;line-height:1.65}
.prose h2,.prose h3,.prose h4{color:var(--ink);margin-top:10px}
.prose h2{font-size:clamp(24px,2vw,30px)}
.prose ul{list-style:disc;padding-left:1.2em;display:grid;gap:4px}
.prose ol{list-style:decimal;padding-left:1.2em;display:grid;gap:4px}
.prose a{color:var(--blue);text-decoration:underline;text-underline-offset:3px}
.prose img{border-radius:var(--r-card)}
.prose table{width:100%;border-collapse:collapse;font-size:15px}
.prose th,.prose td{padding:10px 12px;border-bottom:1px solid var(--line-2);text-align:left}
.prose-wide{max-width:none}
.pdesc{border-bottom:1px solid var(--line-2)}

/* Seiten, Suche, 404 */
.page-title{font-size:clamp(32px,3.4vw,48px);margin:8px 0 24px}
.post-list{max-width:760px}
.post-list .h3{font-size:19px}
.nav-links{display:flex;gap:6px;margin-top:24px}
.nav-links .page-numbers{display:inline-grid;place-items:center;min-width:40px;height:40px;border:1px solid var(--line);border-radius:var(--r-btn);font-weight:600}
.nav-links .current{background:var(--ink);color:#fff;border-color:var(--ink)}
.notfound{max-width:760px;padding-block:clamp(24px,4vw,64px)}

/* WooCommerce: Hinweise */
.woocommerce-notices-wrapper:empty{display:none}
.woocommerce-message,.woocommerce-info,.woocommerce-error,.wc-block-components-notice-banner{list-style:none;margin:0 0 20px;padding:14px 16px;border-radius:var(--r-btn);background:var(--blue-tint);color:var(--ink);font-size:15px;display:flex;flex-wrap:wrap;gap:10px 16px;align-items:center;justify-content:space-between}
.woocommerce-error{background:#FDECEA;color:#7A1C12}
.woocommerce-message .button,.woocommerce-info .button{order:2;display:inline-flex;align-items:center;height:40px;padding:0 14px;border-radius:var(--r-btn);background:var(--ink);color:#fff;font-weight:700;font-size:14px}
.woocommerce-message a:not(.button),.woocommerce-info a:not(.button){color:var(--blue);text-decoration:underline}

/* WooCommerce: klassische Warenkorb-/Kassen-/Konto-Shortcodes (Block-Varianten bringen eigene Styles) */
.wc-page .woocommerce table.shop_table{width:100%;border-collapse:collapse;font-size:15px;margin-bottom:24px}
.wc-page .woocommerce table.shop_table th,.wc-page .woocommerce table.shop_table td{padding:12px;border-bottom:1px solid var(--line-2);text-align:left;vertical-align:middle}
.wc-page .woocommerce table.shop_table thead th{font-size:13px;color:var(--mute);background:var(--bg-2)}
.wc-page .woocommerce img{max-width:84px}
.wc-page .woocommerce .button,.wc-page .woocommerce button[type=submit],.wc-page .woocommerce input[type=submit]{display:inline-flex;align-items:center;justify-content:center;height:48px;padding:0 22px;border-radius:var(--r-btn);border:0;background:var(--blue);color:#fff;font-weight:700;font-size:15px;cursor:pointer}
.wc-page .woocommerce .button:hover{background:var(--blue-dark)}
.wc-page .woocommerce input[type=text],.wc-page .woocommerce input[type=email],.wc-page .woocommerce input[type=tel],.wc-page .woocommerce input[type=password],.wc-page .woocommerce input[type=number],.wc-page .woocommerce select,.wc-page .woocommerce textarea{height:48px;border:1.5px solid #C3CAD3;border-radius:var(--r-btn);padding:0 12px;background:#fff;font:inherit;max-width:100%}
.wc-page .woocommerce textarea{height:auto;padding:10px 12px}
.wc-page .woocommerce .form-row{display:grid;gap:6px;margin-bottom:14px}
.wc-page .woocommerce .cart_totals,.wc-page .woocommerce .woocommerce-checkout-review-order{background:var(--bg-2);border-radius:var(--r-card);padding:20px}
.wc-page .wp-block-woocommerce-cart,.wc-page .wp-block-woocommerce-checkout{font-family:var(--f)}
.wc-block-components-button:not(.is-link){border-radius:var(--r-btn)!important}

/* Nicht bestellbare Leistungsstufe: wie :disabled gestrichen, aber wählbar (Werte ansehen) */
.size.na{color:#A6AEB8;background:var(--bg-2);border-color:var(--bg-2);text-decoration:line-through}
.size.na[aria-pressed="true"]{border-color:#A6AEB8;background:#fff;color:var(--ink-2)}
/* Mobiles Filterpanel: v3-Regel „.filters{top:150px}“ darf das Vollbild-Panel nicht verschieben */
@media (max-width: 1000px){.filters{top:0;max-height:none;z-index:90}}
.woocommerce-message:focus,.woocommerce-info:focus,.woocommerce-error:focus,.woocommerce-notices-wrapper:focus{outline:none}
.prose a.wc-block-components-button,.prose .wc-block-components-button{color:#fff;text-decoration:none}
.wc-page .wc-block-components-button:not(.is-link){background:var(--blue);color:#fff}
.wc-page .wc-block-components-button:not(.is-link):hover{background:var(--blue-dark)}
.wc-page .prose a:not(.wc-block-components-button){color:var(--blue)}
