/*
Theme Name: kirschpack
Theme URI: https://kirschpack.com
Description: Block-Child-Theme von Twenty Twenty-Five für kirschpack. Handgefertigte Bikepacking-Taschen nach Maß aus München.
Author: Johann Kirschneck
Template: twentytwentyfive
Version: 1.0.26.27
Requires at least: 6.5
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: kirschpack
*/

:root{--ease:cubic-bezier(.2,.7,.2,1);--t1:160ms;--t2:280ms;--t3:600ms;--kp-wrap:1376px}
html{scroll-behavior:smooth}
section[id],div[id]{scroll-margin-top:24px}
body{-webkit-font-smoothing:antialiased}
.wp-site-blocks>*+*{margin-block-start:0}
:where(.wp-site-blocks) main{margin-block-start:0}

/* Fokus */
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,.wp-element-button:focus-visible{outline:2px solid var(--wp--preset--color--navy);outline-offset:3px}

/* Tastatur-Sprunglink: ohne Inline-JS auch über der Sticky-Kopfzeile sichtbar. */
.kp-skip-link{position:fixed;top:12px;left:-9999px;z-index:10000;display:inline-block;max-width:calc(100vw - 24px);box-sizing:border-box;padding:12px 16px;background:#fff;color:#1a3a63;border:2px solid #1a3a63;border-radius:2px;font-weight:700;text-decoration:none}
.kp-skip-link:focus{left:12px}
main#main{scroll-margin-top:100px}

/* Labels (Mono, Versalien) */
.kp-lbl{font-family:var(--wp--preset--font-family--mono);font-size:12px;line-height:16px;font-weight:500;letter-spacing:.08em;text-transform:uppercase;margin:0}
.kp-lbl--navy{color:var(--wp--preset--color--navy)}
.kp-lbl--muted{color:var(--wp--preset--color--muted)}
.kp-lbl--gelb{color:var(--wp--preset--color--gelb)}

/* Naht */
.kp-naht,.is-style-naht{height:2px;border:0;background:repeating-linear-gradient(90deg,currentColor 0 14px,transparent 14px 22px);box-sizing:content-box;padding:6px 0;margin:-6px 0;background-clip:content-box;background-origin:content-box;color:var(--wp--preset--color--line)}
.kp-naht--ink{color:var(--wp--preset--color--ink)}
.kp-naht:hover,.is-style-naht:hover{animation:kp-stitch 360ms steps(4) infinite}
@keyframes kp-stitch{to{background-position:-22px 0}}

/* Wrapper */
.kp-wrap{max-width:var(--kp-wrap);margin-left:auto;margin-right:auto;padding-left:32px;padding-right:32px;box-sizing:border-box}
@media (max-width:720px){.kp-wrap{padding-left:20px;padding-right:20px}}

/* Buttons */
.wp-element-button,.wp-block-button__link,.button,button.single_add_to_cart_button,.wc-block-components-button,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce #respond input#submit{
  display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 24px;border-radius:2px;font-family:var(--wp--preset--font-family--sans);font-weight:700;font-size:16px;border:2px solid transparent;cursor:pointer;box-sizing:border-box;text-decoration:none;
  background:var(--wp--preset--color--navy);color:#fff;
  transition:background-color var(--t1) var(--ease),color var(--t1) var(--ease),border-color var(--t1) var(--ease),transform var(--t1) var(--ease)}
.wp-element-button:hover,.wp-block-button__link:hover,.button:hover,.woocommerce a.button:hover,.woocommerce button.button:hover,.wc-block-components-button:hover{background:#12294a;color:#fff;transform:translateY(-2px)}
.wp-element-button:active,.wp-block-button__link:active,.button:active{transform:translateY(0) scale(.98)}
.is-style-outline>.wp-block-button__link,.wp-block-button.is-style-outline .wp-block-button__link{background:transparent;color:var(--wp--preset--color--ink);border-color:var(--wp--preset--color--ink)}
.is-style-outline>.wp-block-button__link:hover{background:var(--wp--preset--color--ink);color:#fff}
.kp-btn-gelb .wp-block-button__link{background:var(--wp--preset--color--gelb);color:var(--wp--preset--color--ink)}
.kp-btn-gelb .wp-block-button__link:hover{background:#ffc93d;color:var(--wp--preset--color--ink)}
.kp-btn-weiss .wp-block-button__link{background:#fff;color:var(--wp--preset--color--navy)}
.kp-btn-weiss .wp-block-button__link:hover{background:var(--wp--preset--color--stein);color:var(--wp--preset--color--navy)}

/* Formularfelder */
input[type=text],input[type=email],input[type=tel],input[type=password],input[type=number],input[type=search],input[type=url],select,textarea,.wc-block-components-text-input input,.wc-blocks-components-select select{
  border:1px solid var(--wp--preset--color--line);border-radius:2px;background:#fff;color:var(--wp--preset--color--ink);min-height:48px;padding:0 14px;font:inherit;box-sizing:border-box;transition:border-color var(--t1) var(--ease),box-shadow var(--t2) var(--ease)}
textarea{padding:12px 14px}
input:focus,select:focus,textarea:focus{border-color:var(--wp--preset--color--navy);box-shadow:0 0 0 1px var(--wp--preset--color--navy);outline:none}

/* ===== Kopfzeile ===== */
.kp-header{max-width:var(--kp-wrap);margin:0 auto;padding:20px 32px 0;box-sizing:border-box}
.kp-header__bar{display:flex;align-items:center;justify-content:space-between;gap:12px 40px;padding-bottom:20px}
.kp-header__logo img{height:30px;width:auto;display:block}
.kp-header__logo{font-family:var(--wp--preset--font-family--serif);font-size:26px;text-decoration:none;color:var(--wp--preset--color--ink)}
.kp-nav{display:flex;gap:0 32px}
.kp-nav a{font-weight:500;font-size:15px;padding:10px 0;text-decoration:none;color:var(--wp--preset--color--ink);transition:color var(--t1) var(--ease)}
.kp-nav a:hover,.kp-nav a[aria-current=page]{color:var(--wp--preset--color--navy)}
.kp-icons{display:flex;gap:8px;align-items:center}
.kp-icon{position:relative;display:inline-flex;align-items:center;justify-content:center;width:48px;height:48px;border-radius:2px;color:var(--wp--preset--color--ink);text-decoration:none;transition:background-color var(--t1) var(--ease)}
.kp-icon:hover{background:#e4e4df;color:var(--wp--preset--color--ink)}
.kp-icon svg{width:26px;height:26px}
.kp-badge{position:absolute;top:2px;right:0;min-width:20px;height:20px;padding:0 5px;border-radius:999px;background:var(--wp--preset--color--navy);color:#fff;font-family:var(--wp--preset--font-family--mono);font-size:11px;font-weight:500;line-height:20px;text-align:center;box-sizing:border-box}
.kp-badge[data-n="0"]{display:none}
.kp-menu-btn{display:none;height:48px;padding:0 16px;font-family:var(--wp--preset--font-family--mono);font-size:14px;background:transparent;color:var(--wp--preset--color--ink);border:2px solid var(--wp--preset--color--ink);border-radius:2px;cursor:pointer}
.kp-menu-btn:hover{background:var(--wp--preset--color--ink);color:#fff}
.kp-mobilenav{display:none}
.kp-mobilenav a{display:block;padding:14px 0;font-weight:500;font-size:18px;text-decoration:none;color:var(--wp--preset--color--ink)}
.kp-header__seam{color:var(--wp--preset--color--ink)}
@media (max-width:900px){
 .kp-header{padding:16px 20px 0}
 .kp-mobilenav__theme{display:flex;align-items:center;gap:12px;border-top:1px solid var(--wp--preset--color--line);padding-top:12px}
 .kp-nav,.kp-icons--desktop{display:none}
 .kp-menu-btn{display:inline-flex;align-items:center}
 .kp-mobilenav{display:block;max-height:0;overflow:hidden;visibility:hidden;opacity:0;transition:max-height var(--t2) var(--ease),opacity var(--t2) var(--ease),visibility 0s linear var(--t2)}
 .kp-mobilenav.is-open{max-height:520px;visibility:visible;opacity:1;transition:max-height var(--t3) var(--ease),opacity var(--t2) var(--ease),visibility 0s}
 .kp-mobilenav a{opacity:0;transform:translateY(-8px);transition:opacity var(--t2) var(--ease),transform var(--t2) var(--ease),color var(--t1) var(--ease)}
 .kp-mobilenav.is-open a{opacity:1;transform:none}
 .kp-mobilenav.is-open a:nth-child(1){transition-delay:40ms}.kp-mobilenav.is-open a:nth-child(2){transition-delay:80ms}.kp-mobilenav.is-open a:nth-child(3){transition-delay:120ms}
 .kp-mobilenav.is-open a:nth-child(4){transition-delay:160ms}.kp-mobilenav.is-open a:nth-child(5){transition-delay:200ms}.kp-mobilenav.is-open a:nth-child(6){transition-delay:240ms}
 .kp-mobilenav a:hover{color:var(--wp--preset--color--navy)}
}

/* ===== Fußzeile ===== */
.kp-footer{background:#1b2127;color:#fff;margin-top:0}
.kp-footer a{color:#fff;text-decoration:none}
.kp-footer a:hover{text-decoration:underline;text-underline-offset:4px}
.kp-footer__grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:40px;padding-top:64px;padding-bottom:40px}
.kp-footer__grid ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:2px}
.kp-footer__grid li{margin:0}
.kp-footer__grid li a{display:inline-block;padding:6px 0;font-size:15px}
.kp-footer__bottom{border-top:1px solid rgba(255,255,255,.18);padding-top:20px;padding-bottom:28px;display:flex;flex-wrap:wrap;gap:8px 32px;justify-content:space-between;font-size:14px;color:rgba(255,255,255,.75)}
.kp-footer .kp-lbl{color:var(--wp--preset--color--gelb);margin-bottom:12px}

/* ===== Hauptinhalt ===== */
main>*{animation:kp-up var(--t3) var(--ease) both}
main>*:nth-child(2){animation-delay:80ms}main>*:nth-child(3){animation-delay:160ms}main>*:nth-child(n+4){animation-delay:240ms}
@keyframes kp-up{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}

.kp-card{background:#fff;border:1px solid var(--wp--preset--color--line);border-radius:2px;overflow:hidden;transition:border-color var(--t2) var(--ease)}
.kp-card:hover{border-color:var(--wp--preset--color--ink)}
.kp-card img{transition:transform var(--t3) var(--ease)}
.kp-card:hover img{transform:scale(1.04)}
.kp-card .wp-block-image,.kp-card figure{overflow:hidden;margin:0}
.kp-card:hover .kp-naht{animation:kp-stitch 360ms steps(4) infinite}

.kp-ph{background:var(--wp--preset--color--stein);display:flex;align-items:flex-end;padding:16px;box-sizing:border-box;border-radius:2px;aspect-ratio:16/9}
.kp-stepnum{font-family:var(--wp--preset--font-family--serif);font-size:56px;line-height:1;margin:0}
.kp-ecopak{background-image:repeating-linear-gradient(0deg,rgba(70,12,0,.26) 0 2px,transparent 2px 28px),repeating-linear-gradient(90deg,rgba(70,12,0,.26) 0 2px,transparent 2px 28px),repeating-linear-gradient(0deg,rgba(70,12,0,.14) 0 1px,transparent 1px 7px),repeating-linear-gradient(90deg,rgba(70,12,0,.14) 0 1px,transparent 1px 7px)}
.kp-xpac{background-image:repeating-linear-gradient(62deg,var(--kp-tex,rgba(12,28,54,.3)) 0 1.5px,transparent 1.5px 18px),repeating-linear-gradient(-62deg,var(--kp-tex,rgba(12,28,54,.3)) 0 1.5px,transparent 1.5px 18px)}
.kp-tile{min-height:280px;padding:20px;box-sizing:border-box;display:flex;align-items:flex-end;font-family:var(--wp--preset--font-family--mono);font-size:14px;font-weight:500;margin:0}
.kp-toc{position:sticky;top:24px}
.kp-toc a{display:block;padding:10px 0;font-size:15px;line-height:22px;text-decoration:none}
.kp-toc a:hover{color:var(--wp--preset--color--navy);text-decoration:underline;text-underline-offset:4px}
.kp-refs{display:grid;grid-template-columns:110px 1fr;gap:16px;padding:14px 0;font-size:15px}

/* Verlinkte Texte */
.entry-content a:not(.wp-element-button){text-underline-offset:3px}

/* ===== WooCommerce ===== */
.woocommerce ul.products,ul.wc-block-product-template,.wc-block-grid__products{gap:24px}
.woocommerce ul.products li.product,.wc-block-grid__product,.wc-block-product{background:#fff;border:1px solid var(--wp--preset--color--line);border-radius:2px;overflow:hidden;transition:border-color var(--t2) var(--ease);padding:0 0 20px}
.woocommerce ul.products li.product:hover,.wc-block-grid__product:hover,.wc-block-product:hover{border-color:var(--wp--preset--color--ink)}
.woocommerce ul.products li.product img,.wc-block-grid__product-image img,.wc-block-components-product-image img{transition:transform var(--t3) var(--ease);border-radius:0}
.woocommerce ul.products li.product:hover img,.wc-block-grid__product:hover img,.wc-block-product:hover img{transform:scale(1.04)}
.wc-block-grid__product-image,.wc-block-components-product-image,.woocommerce ul.products li.product a img{overflow:hidden}
.woocommerce ul.products li.product .woocommerce-loop-product__title,.wc-block-grid__product-title,.wc-block-product .wp-block-post-title{font-family:var(--wp--preset--font-family--serif);font-weight:400;font-size:22px;line-height:28px;padding:16px 20px 0}
.woocommerce ul.products li.product .price,.wc-block-grid__product-price,.wc-block-components-product-price{font-family:var(--wp--preset--font-family--mono);font-weight:500;color:var(--wp--preset--color--navy);padding:0 20px}
.woocommerce span.onsale,.wc-block-components-product-sale-badge{background:var(--wp--preset--color--gelb);color:var(--wp--preset--color--ink);font-family:var(--wp--preset--font-family--mono);font-size:12px;letter-spacing:.08em;text-transform:uppercase;border-radius:999px;min-height:0;min-width:0;line-height:16px;padding:6px 10px;top:12px;left:12px;right:auto;border:0}
.woocommerce-result-count,.woocommerce-ordering select{font-family:var(--wp--preset--font-family--mono);font-size:13px}
.woocommerce-breadcrumb,.wc-block-breadcrumbs{font-family:var(--wp--preset--font-family--mono);font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--wp--preset--color--muted)}
.single-product .product_title,.single-product h1.wp-block-post-title{font-family:var(--wp--preset--font-family--serif);font-weight:400}
.single-product .price,.single-product .wp-block-woocommerce-product-price{font-family:var(--wp--preset--font-family--mono);color:var(--wp--preset--color--navy);font-size:24px}
.woocommerce div.product form.cart .variations select{min-width:220px}
.woocommerce div.product .woocommerce-tabs ul.tabs{padding:0;margin:0 0 24px;border-bottom:2px solid var(--wp--preset--color--ink)}
.woocommerce div.product .woocommerce-tabs ul.tabs li{border:0;background:transparent;border-radius:0;margin:0 24px 0 0;padding:0}
.woocommerce div.product .woocommerce-tabs ul.tabs li a{font-family:var(--wp--preset--font-family--mono);font-size:13px;letter-spacing:.08em;text-transform:uppercase;padding:10px 0}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a{color:var(--wp--preset--color--navy)}
.woocommerce div.product .woocommerce-tabs ul.tabs::before,.woocommerce div.product .woocommerce-tabs ul.tabs li::before,.woocommerce div.product .woocommerce-tabs ul.tabs li::after{display:none}
.woocommerce table.shop_table,.wc-block-cart__main table,.wc-block-components-order-summary{border:1px solid var(--wp--preset--color--line);border-radius:2px;background:var(--wp--preset--color--raised)}
.wc-block-cart-items .wc-block-components-product-price{padding:0}
.woocommerce table.shop_table th{font-family:var(--wp--preset--font-family--mono);font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--wp--preset--color--muted)}
.woocommerce-message,.woocommerce-info,.woocommerce-error{border-radius:2px;border-top-color:var(--wp--preset--color--navy);background:#fff}
.woocommerce-message::before,.woocommerce-info::before{color:var(--wp--preset--color--navy)}
.wc-block-components-totals-item__value,.wc-block-formatted-money-amount{font-family:var(--wp--preset--font-family--mono)}
.wc-block-components-checkout-place-order-button{width:100%}
.woocommerce-checkout #payment,.woocommerce-checkout #payment div.payment_box{background:#fff;border-radius:2px}
.woocommerce-checkout #payment div.payment_box::before{display:none}
/* Germanized: Hinweise ruhig halten */
.wc-gzd-additional-info,.wc-gzd-additional-info a,.legal-price-info,.woocommerce-de_price_taxrate,.wc-gzd-additional-info.shipping-costs-info{font-size:13px;line-height:20px;color:var(--wp--preset--color--muted)}
.wc-gzd-additional-info.delivery-time-info{font-family:var(--wp--preset--font-family--mono);font-size:12px;letter-spacing:.04em}

/* 3D-Platz in der Produktgalerie (vorbereitet) */
.kp-model{aspect-ratio:1;background:var(--wp--preset--color--stein);border-radius:2px;display:flex;align-items:center;justify-content:center;font-family:var(--wp--preset--font-family--mono);font-size:12px;letter-spacing:.08em;text-transform:uppercase}

@media (max-width:781px){.kp-hide-m{display:none}}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important}}

/* ===== 1.0.1: Feinschliff nach Live-Test ===== */
.kp-header__logo,.kp-header__logo a{color:var(--wp--preset--color--ink);text-decoration:none}
.woocommerce ul.products li.product,.wc-block-grid__product,.wc-block-product{text-align:left}
.woocommerce ul.products li.product .woocommerce-loop-product__title,.woocommerce ul.products li.product h2{color:var(--wp--preset--color--ink);text-align:left}
.woocommerce ul.products li.product .price,.woocommerce ul.products li.product .wc-gzd-additional-info,.woocommerce ul.products li.product .legal-price-info,.woocommerce ul.products li.product .woocommerce-de_price_taxrate,.woocommerce ul.products li.product .delivery-time-info,.woocommerce ul.products li.product .shipping-costs-info,.woocommerce ul.products li.product .star-rating,.woocommerce ul.products li.product .woocommerce-product-details__short-description{padding-left:20px;padding-right:20px;display:block;text-align:left}
.woocommerce ul.products li.product .button{margin:12px 20px 8px}
.woocommerce ul.products li.product .woocommerce-LoopProduct-link{color:inherit}
.woocommerce div.product form.cart .variations select{min-width:260px;width:100%;max-width:420px}
.woocommerce .quantity .qty,.woocommerce-cart table.cart td.product-quantity .quantity .qty{width:72px;min-width:72px;padding:0 8px;text-align:center}
.woocommerce div.product form.cart .button.disabled,.woocommerce button.button:disabled,.woocommerce button.button.disabled{opacity:.45}

/* 1.0.2 – Header: Menü rechtsbündig, mobiler Button bleibt im Raster */
.kp-header__bar{box-sizing:border-box;width:100%}
.kp-nav{margin-left:auto}
.kp-icons--desktop{margin-left:8px}
.kp-menu-btn{min-width:104px;justify-content:center;box-sizing:border-box;white-space:nowrap}
@media (max-width:900px){
 .kp-icons--mobile{margin-left:auto;gap:8px;min-width:0;flex-shrink:0}
 .kp-header__bar{gap:12px}
 .kp-icons--mobile .kp-icon{width:44px;height:44px}
}
@media (max-width:380px){
 .kp-header__logo{font-size:22px}
 .kp-header__logo img{max-width:118px;height:auto;max-height:30px}
}
.kp-header__bar br,.kp-header br,.kp-header p:empty{display:none}
.kp-footer__bottom a{color:inherit;text-decoration:underline;text-underline-offset:3px}.kp-footer__bottom a:hover{color:var(--wp--preset--color--gelb)}

/* Kurse – ganze Terminzeile als sichtbarer externer Buchungslink */
.kp-kurs-intro{max-width:60ch}
.kp-termine{display:flex;flex-direction:column;gap:0;margin:20px 0 24px}
.kp-termin{margin:0;border-top:1px solid var(--wp--preset--color--line)}
.kp-termine .kp-termin:last-child{border-bottom:1px solid var(--wp--preset--color--line)}
.kp-termin .kp-termin__link{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;padding:16px 8px;color:var(--wp--preset--color--navy);text-decoration:none;transition:background var(--t1) ease}
.kp-termin .kp-termin__link:hover,.kp-termin .kp-termin__link:focus-visible{background:rgba(26,58,99,.07);text-decoration:none}
.kp-termin__detail{display:flex;flex-direction:column;gap:4px}
.kp-termin__date{font-family:var(--wp--preset--font-family--mono);font-size:17px;font-weight:700}
.kp-termin__time{font-size:15px;color:var(--wp--preset--color--muted)}
.kp-termin .kp-termin__cta{display:inline-flex;align-items:center;gap:8px;max-width:100%;padding:9px 12px;background:var(--wp--preset--color--navy);color:var(--wp--preset--color--raised);font-size:13px;font-weight:700;line-height:1.4}
.kp-termin .kp-termin__link:hover .kp-termin__cta,.kp-termin .kp-termin__link:focus-visible .kp-termin__cta{background:var(--wp--preset--color--ink)}
@media (max-width:600px){.kp-termin .kp-termin__link{align-items:flex-start;flex-direction:column}.kp-termin .kp-termin__cta{margin-top:2px}}

/* 1.0.3 – Mobil: Seitenrand Shop/Produkt, einspaltiger Shop, Produktseite */
@media (max-width:781px){
 main.wp-block-group.has-global-padding{padding-left:20px!important;padding-right:20px!important}
 .woocommerce-ordering,.woocommerce-ordering select{max-width:100%}
 .wp-block-group.alignwide.is-content-justification-space-between{flex-wrap:wrap;gap:12px}
 .woocommerce-breadcrumb,.wp-block-woocommerce-breadcrumbs{overflow-wrap:anywhere}
}
@media (max-width:600px){
 .wc-block-product-template,ul[class*=product-template]{grid-template-columns:1fr!important}
 .wc-block-product-template li{min-width:0}
 .wp-block-post-title{overflow-wrap:normal;word-break:normal;hyphens:manual}
}
.single-product h1.wp-block-post-title{font-size:clamp(28px,6vw,44px);line-height:1.1}
.single-product .wp-block-woocommerce-product-price{font-size:22px}
.single-product .wp-block-group:has(> .wp-block-post-terms){flex-wrap:wrap!important;flex-direction:column;align-items:flex-start!important;gap:8px!important}
.kp-gzd-info{font-size:14px;color:var(--wp--preset--color--muted);display:flex;flex-direction:column;gap:2px;margin-top:6px}.kp-gzd-info:empty{display:none}.kp-gzd-info p{margin:0}

/* 1.0.3 – Mobil-Icons nur unter 900px (überschreibt .kp-icons{display:flex}) */
.kp-icons.kp-icons--mobile{display:none}
@media (max-width:900px){.kp-icons.kp-icons--mobile{display:flex}}
@media (min-width:901px){.kp-icons.kp-icons--mobile,.kp-menu-btn,.kp-mobilenav{display:none!important}}

/* ===== 1.0.4 Headroom: Kopfzeile folgt dem Scrollen ===== */
.wp-site-blocks>.wp-block-template-part:first-child{position:sticky;top:var(--wp-admin--admin-bar--height,0px);z-index:60;background:var(--wp--preset--color--surface);transition:transform var(--t2,280ms) var(--ease,cubic-bezier(.2,.7,.2,1)),box-shadow var(--t2,280ms) var(--ease,ease)}
.wp-site-blocks>.wp-block-template-part:first-child.is-hidden{transform:translateY(-110%)}
.wp-site-blocks>.wp-block-template-part:first-child.is-scrolled{box-shadow:0 1px 0 var(--wp--preset--color--line)}
@media (prefers-reduced-motion:reduce){.wp-site-blocks>.wp-block-template-part:first-child{transition:none}}

/* ===== 1.0.4 Shop & Produkt nach Entwurf ===== */
.kp-shopmain,.kp-prodmain{max-width:1376px;margin:0 auto!important;padding:56px 32px 96px!important;box-sizing:border-box;display:flex;flex-direction:column;gap:40px}
.kp-prodmain{padding-top:40px!important;gap:56px}
@media (max-width:720px){.kp-shopmain,.kp-prodmain{padding-left:20px!important;padding-right:20px!important}}
.kp-shophead{display:flex;flex-direction:column;gap:20px}
.kp-shopmain>*,.kp-prodmain>*{margin-block:0!important}
.kp-shophead>*{margin:0!important}
.wc-block-breadcrumbs,.woocommerce-breadcrumb{font-family:var(--wp--preset--font-family--mono);font-size:12px;line-height:16px;font-weight:500;letter-spacing:.08em;text-transform:uppercase;color:var(--wp--preset--color--muted)}
.woocommerce-breadcrumb a{color:var(--wp--preset--color--muted);text-decoration:none}.woocommerce-breadcrumb a:hover{color:var(--wp--preset--color--navy)}
.kp-h1{font-family:var(--wp--preset--font-family--serif);font-weight:400;font-size:clamp(40px,5vw,72px);line-height:1.04;letter-spacing:-.01em;text-wrap:balance;margin:0;text-transform:lowercase}
.wp-block-query-title.kp-h1::after{content:"."}
.kp-h1--prod{font-size:clamp(34px,4.2vw,56px)!important}
.single-product h1.wp-block-post-title.kp-h1{font-size:clamp(34px,4.2vw,56px);line-height:1.06;text-transform:none}
.kp-intro{font-size:20px;line-height:32px;max-width:52ch;color:var(--wp--preset--color--muted);margin:0}
.kp-h2{font-family:var(--wp--preset--font-family--serif);font-weight:400;font-size:clamp(28px,3vw,40px);line-height:1.1;margin:0;text-transform:lowercase}
.kp-h2::after{content:"."}
.kp-lead{font-size:18px;line-height:30px;color:var(--wp--preset--color--muted);margin:0}
.kp-cat,.kp-cat a{font-family:var(--wp--preset--font-family--mono);font-size:12px;line-height:16px;font-weight:500;letter-spacing:.08em;text-transform:uppercase;color:var(--wp--preset--color--muted);text-decoration:none}
.kp-cat--navy,.kp-cat--navy a{color:var(--wp--preset--color--navy)}
.kp-toolbar{display:flex;flex-wrap:wrap;gap:16px 24px;align-items:flex-end;justify-content:space-between}
.kp-chips{display:flex;flex-wrap:wrap;gap:8px}
.kp-chip{display:inline-flex;align-items:center;height:44px;padding:0 18px;border-radius:999px;border:1px solid var(--wp--preset--color--ink);font-weight:500;font-size:15px;color:var(--wp--preset--color--ink);text-decoration:none;box-sizing:border-box;transition:background-color var(--t1,160ms) ease,color var(--t1,160ms) ease}
.kp-chip:hover{background:#e4e4df}.kp-chip.on{background:var(--wp--preset--color--ink);color:#fff}
.kp-sortbox{display:flex;flex-wrap:wrap;gap:12px 24px;align-items:center}
.kp-sortbox>*{margin:0!important}
.woocommerce-result-count,.wc-block-product-results-count p{font-family:var(--wp--preset--font-family--mono);font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--wp--preset--color--muted);margin:0}
.woocommerce-ordering select{min-width:220px}

/* Produktraster */
.kp-grid .wc-block-product-template{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(min(250px,100%),1fr))!important;gap:24px!important;margin:0;padding:0;list-style:none}
@media (max-width:600px){.kp-grid .wc-block-product-template{grid-template-columns:1fr 1fr!important;gap:12px!important}}
.kp-grid .wc-block-product-template>li{position:relative;display:flex;flex-direction:column;background:var(--wp--preset--color--raised);border:1px solid var(--wp--preset--color--line);border-radius:2px;overflow:hidden;min-width:0;margin:0;padding:0;transition:border-color var(--t2,280ms) ease}
.kp-grid .wc-block-product-template>li:hover{border-color:var(--wp--preset--color--ink)}
.kp-grid .wc-block-components-product-image,.kp-grid .wc-block-components-product-image a{display:block;margin:0;border-radius:0}
.kp-grid .wc-block-components-product-image img{width:100%!important;aspect-ratio:4/5;object-fit:cover;display:block;transition:transform var(--t3,600ms) cubic-bezier(.2,.7,.2,1)}
.kp-grid li:hover .wc-block-components-product-image img{transform:scale(1.04)}
.kp-grid .wc-block-components-product-image{overflow:hidden}
.kp-cardbody{display:flex;flex-direction:column;gap:8px;padding:20px;flex:1}
.kp-cardbody>*{margin:0!important;text-align:left!important}
@media (max-width:600px){.kp-cardbody{padding:14px}}
.kp-nm,.kp-nm a{font-family:var(--wp--preset--font-family--serif);font-weight:400;font-size:24px!important;line-height:30px!important;color:var(--wp--preset--color--ink);text-decoration:none;padding:0}
@media (max-width:600px){.kp-nm,.kp-nm a{font-size:18px!important;line-height:24px!important}}
.kp-nm a::after{content:"";position:absolute;inset:0}
.kp-grid li:hover .kp-nm a{color:var(--wp--preset--color--navy)}
.kp-priceline{margin-top:auto!important;padding-top:8px;display:flex;flex-wrap:wrap;gap:4px 12px;justify-content:space-between;align-items:baseline;background:repeating-linear-gradient(90deg,var(--wp--preset--color--line) 0 14px,transparent 14px 22px) top/100% 2px no-repeat;padding-top:16px}
.kp-priceline .wc-block-components-product-price,.kp-priceline .price{font-family:var(--wp--preset--font-family--mono);font-size:15px!important;line-height:22px;font-weight:500;color:var(--wp--preset--color--ink);order:2;margin:0}
.kp-priceline .wc-gzd-additional-info.tax-info,.kp-priceline .wc-gzd-additional-info.shipping-costs-info,.kp-priceline .price-unit,.kp-priceline .legal-price-info{display:none}
.kp-priceline .wc-gzd-additional-info.delivery-time-info,.kp-priceline .delivery-time-info{order:1;font-family:var(--wp--preset--font-family--mono)!important;font-size:13px;line-height:20px;color:var(--wp--preset--color--muted);margin:0}
.kp-foot{font-size:13px;line-height:20px;color:var(--wp--preset--color--muted);margin:0}
.wc-block-components-product-button,.wp-block-woocommerce-product-button{display:none}

/* Produktseite */
.kp-prodgrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(360px,100%),1fr));gap:48px;align-items:start}
.kp-prodgrid>*{margin:0!important;min-width:0}
.kp-summary{display:flex;flex-direction:column;gap:24px}
.kp-summary>*{margin:0!important}
.kp-pricebig .price,.kp-pricebig .wc-block-components-product-price{font-family:var(--wp--preset--font-family--mono);font-size:28px!important;line-height:36px;font-weight:500;color:var(--wp--preset--color--ink)}
.kp-pricebig .wc-gzd-additional-info,.kp-pricebig .legal-price-info{font-family:var(--wp--preset--font-family--sans);font-size:13px;line-height:20px;font-weight:400;color:var(--wp--preset--color--muted);display:inline}
.kp-pricebig .delivery-time-info{display:block;margin-top:2px}
.kp-gzd-info{display:flex;flex-direction:column;gap:2px;margin-top:6px;font-size:13px;line-height:20px;color:var(--wp--preset--color--muted)}.kp-gzd-info p{margin:0}.kp-gzd-info .delivery-time-info{font-family:var(--wp--preset--font-family--mono)}
.kp-rows{margin:8px 0 0;padding:0;border-top:2px dashed var(--wp--preset--color--line)}
.kp-rows>div{display:grid;grid-template-columns:140px 1fr;gap:16px;padding:16px 0;border-bottom:2px dashed var(--wp--preset--color--line)}
.kp-rows dt{font-family:var(--wp--preset--font-family--mono);font-size:12px;line-height:20px;font-weight:500;letter-spacing:.08em;text-transform:uppercase}
.kp-rows dd{margin:0;font-size:16px;line-height:26px}
.kp-rows a{color:var(--wp--preset--color--navy);font-weight:700;text-decoration:underline;text-underline-offset:3px}
.woocommerce div.product form.cart,.wp-block-woocommerce-add-to-cart-form form.cart{display:flex;flex-wrap:wrap;gap:12px;align-items:flex-end}
.single_add_to_cart_button{min-height:52px;flex:1 1 220px}
.kp-details,.wp-block-woocommerce-product-details{margin:0}
.kp-related .kp-h2{margin-bottom:24px!important}
.kp-related.kp-grid{display:block}

/* Warenkorb & Kasse */
.woocommerce-cart main .wp-block-post-content,.woocommerce-checkout main .wp-block-post-content{max-width:none}
.woocommerce table.shop_table{border:0;border-collapse:collapse;width:100%}
.woocommerce table.shop_table th{font-family:var(--wp--preset--font-family--mono);font-size:12px;letter-spacing:.08em;text-transform:uppercase;font-weight:500;color:var(--wp--preset--color--muted);text-align:left;padding:12px 8px}
.woocommerce table.shop_table td{padding:20px 8px;border-top:2px dashed var(--wp--preset--color--line);vertical-align:top}
.woocommerce table.shop_table td.product-thumbnail img{width:96px;height:120px;object-fit:cover;border-radius:2px}
.woocommerce table.shop_table .product-name a{font-family:var(--wp--preset--font-family--serif);font-size:22px;line-height:28px;text-decoration:none}
.woocommerce .cart_totals,.woocommerce-checkout #order_review{background:var(--wp--preset--color--raised);border:1px solid var(--wp--preset--color--line);border-radius:2px;padding:28px;box-sizing:border-box}
.woocommerce .cart_totals h2,.woocommerce-checkout h3{font-family:var(--wp--preset--font-family--serif);font-weight:400;font-size:28px;line-height:34px}
.woocommerce .cart-collaterals .cart_totals{float:none;width:100%;max-width:440px;margin-left:auto}
.wc-proceed-to-checkout{padding:0}
.wc-proceed-to-checkout .checkout-button{display:flex;align-items:center;justify-content:center;min-height:56px;width:100%;box-sizing:border-box}
#payment{background:var(--wp--preset--color--raised);border:1px solid var(--wp--preset--color--line);border-radius:2px}
#place_order{min-height:56px;font-size:17px}
.woocommerce form .form-row label{font-family:var(--wp--preset--font-family--mono);font-size:12px;letter-spacing:.08em;text-transform:uppercase;font-weight:500}

/* ===== 1.0.5 Kartenfeinschliff (nur stabile Klassen: wp-block-*, wc-block-*, wc-gzd-*) ===== */
.kp-grid .wp-block-post-title.kp-nm,.kp-grid .kp-priceline .wc-block-components-product-price,.kp-grid .kp-cardbody .wp-block-post-terms{padding:0!important;margin:0!important}
.kp-grid .wc-block-components-product-image__inner-container{padding:0}
.kp-grid .wc-block-product-template>li{display:flex;flex-direction:column}
.kp-grid .wc-block-product-template>li>.wc-block-components-product-image{order:0}
.kp-grid .wc-block-product-template>li>.kp-cardbody{order:1;flex:1}
.kp-grid .wc-block-product-template>li>.wc-gzd-additional-info{order:2;margin:0;padding:0 20px;background:var(--wp--preset--color--raised)}
.kp-grid .wc-block-product-template>li>.wc-gzd-additional-info.small-business-info,.kp-grid .wc-block-product-template>li>.wc-gzd-additional-info.shipping-costs-info,.kp-grid .wc-block-product-template>li>.wc-gzd-additional-info.tax-info,.kp-grid .wc-block-product-template>li>.wc-gzd-additional-info.units-info{display:none}
.kp-grid .wc-block-product-template>li>.wc-gzd-additional-info.delivery-time-info{padding-bottom:20px;font-family:var(--wp--preset--font-family--mono);font-size:13px;line-height:20px;color:var(--wp--preset--color--muted)}
@media (max-width:600px){.kp-grid .wc-block-product-template>li>.wc-gzd-additional-info{padding:0 14px}.kp-grid .wc-block-product-template>li>.wc-gzd-additional-info.delivery-time-info{padding-bottom:14px}}
.kp-priceline{justify-content:flex-start}
.kp-grid .kp-cardbody .wp-block-post-terms a{padding:0}

.kp-pricebig .wc-block-components-product-price{padding:0!important}

/* ===== 1.0.6 Warenkorb & Kasse nach Entwurf (Classic-Shortcodes, nur stabile Klassen) ===== */
.kp-h1--static::after{content:none}
.kp-flowcontent{display:block;max-width:none}
.kp-flowcontent>*{max-width:none!important;margin-left:0!important;margin-right:0!important}
.kp-flowcontent .woocommerce-notices-wrapper,.kp-flowcontent .woocommerce-message,.kp-flowcontent .woocommerce-info,.kp-flowcontent .woocommerce-error{grid-column:1/-1}
/* Warenkorb: zwei Spalten */
.woocommerce-cart .kp-flowcontent .woocommerce{display:grid;grid-template-columns:minmax(0,2fr) minmax(300px,1fr);gap:48px;align-items:start}
@media (max-width:900px){.woocommerce-cart .kp-flowcontent .woocommerce{grid-template-columns:1fr;gap:32px}}
.woocommerce-cart .woocommerce-cart-form{grid-column:1;margin:0}
.woocommerce-cart .cart-collaterals{grid-column:2;margin:0;width:auto}
@media (max-width:900px){.woocommerce-cart .cart-collaterals{grid-column:1}}
.woocommerce-cart table.cart{display:block;border:0;background:none}
.woocommerce-cart table.cart thead{display:none}
.woocommerce-cart table.cart tbody{display:block;border-bottom:2px dashed var(--wp--preset--color--line)}
.woocommerce-cart table.cart tr.cart_item{display:grid;grid-template-columns:96px minmax(0,1fr) auto;grid-template-rows:auto auto auto;gap:6px 24px;padding:24px 0;border-top:2px dashed var(--wp--preset--color--ink)}
.woocommerce-cart table.cart tr.cart_item+tr.cart_item{border-top-color:var(--wp--preset--color--line)}
.woocommerce-cart table.cart tr.cart_item td{display:block;border:0;padding:0;background:none;text-align:left}
.woocommerce-cart table.cart td::before{content:none!important}
.woocommerce-cart table.cart td.product-thumbnail{grid-column:1;grid-row:1/span 3}
.woocommerce-cart table.cart td.product-thumbnail img{width:96px;height:120px;object-fit:cover;border-radius:2px;display:block}
.woocommerce-cart table.cart td.product-name{grid-column:2;grid-row:1}
.woocommerce-cart table.cart td.product-name a{font-family:var(--wp--preset--font-family--serif);font-size:24px;line-height:30px;font-weight:400;color:var(--wp--preset--color--ink);text-decoration:none}
.woocommerce-cart table.cart td.product-name a:hover{color:var(--wp--preset--color--navy)}
.woocommerce-cart table.cart td.product-name .wc-gzd-additional-info,.woocommerce-cart table.cart td.product-name .delivery-time-info,.woocommerce-cart table.cart td.product-name dl{font-family:var(--wp--preset--font-family--mono);font-size:13px;line-height:20px;color:var(--wp--preset--color--muted);margin:4px 0 0}
.woocommerce-cart table.cart td.product-price{display:none}
.woocommerce-cart table.cart td.product-quantity{grid-column:2;grid-row:2;margin-top:8px}
.woocommerce-cart table.cart td.product-quantity .quantity input{width:80px;min-height:48px}
.woocommerce-cart table.cart td.product-subtotal{grid-column:3;grid-row:1;font-family:var(--wp--preset--font-family--mono);font-size:16px;line-height:26px;font-weight:500;text-align:right}
.woocommerce-cart table.cart td.product-remove{grid-column:2;grid-row:3}
.woocommerce-cart table.cart td.product-remove a.remove{width:auto;height:auto;border-radius:0;background:none!important;color:var(--wp--preset--color--navy)!important;font-size:0;line-height:1;text-decoration:underline;text-underline-offset:3px;display:inline-block;padding:8px 0}
.woocommerce-cart table.cart td.product-remove a.remove::after{content:"entfernen";font-size:14px;font-weight:700;font-family:var(--wp--preset--font-family--sans)}
.woocommerce-cart table.cart td.actions{display:block;padding:24px 0 0;border:0}
.woocommerce-cart table.cart td.actions .coupon{display:flex;flex-wrap:wrap;gap:12px;align-items:flex-end;float:none}
.woocommerce-cart table.cart td.actions .coupon label{display:none}
.woocommerce-cart table.cart td.actions .coupon input{width:220px}
.woocommerce-cart table.cart td.actions>button[name=update_cart]{margin-top:12px}
.woocommerce-cart table.cart tr:not(.cart_item){display:block}
/* Summenbox */
.woocommerce-cart .cart_totals{width:100%;max-width:none;float:none;margin:0}
.woocommerce-cart .cart_totals h2{font-family:var(--wp--preset--font-family--mono);font-size:12px;line-height:16px;font-weight:500;letter-spacing:.08em;text-transform:uppercase;color:var(--wp--preset--color--muted);margin:0 0 16px}
.woocommerce-cart .cart_totals table{border:0;width:100%}
.woocommerce-cart .cart_totals table th{font-family:var(--wp--preset--font-family--sans);font-size:16px;letter-spacing:0;text-transform:none;font-weight:400;color:var(--wp--preset--color--ink);padding:10px 0;width:auto}
.woocommerce-cart .cart_totals table td{padding:10px 0;text-align:right;font-family:var(--wp--preset--font-family--mono)}
.woocommerce-cart .cart_totals tr.order-total th,.woocommerce-cart .cart_totals tr.order-total td{font-weight:700;font-size:20px;padding-top:16px}
.woocommerce-cart .cart_totals tr.order-total{border-top:2px dashed var(--wp--preset--color--line)}
.woocommerce-cart .cart_totals .wc-gzd-additional-info{font-size:13px;line-height:20px;color:var(--wp--preset--color--muted);margin:12px 0}
.woocommerce-cart .wc-proceed-to-checkout{margin-top:16px}
/* Kasse: Formular links, Bestellung rechts */
.woocommerce-checkout form.checkout{display:grid;grid-template-columns:minmax(0,2fr) minmax(320px,1fr);gap:0 48px;align-items:start}
@media (max-width:900px){.woocommerce-checkout form.checkout{grid-template-columns:1fr}}
.woocommerce-checkout #customer_details{grid-column:1;grid-row:1/span 3;display:flex;flex-direction:column;gap:40px;float:none;width:auto}
.woocommerce-checkout #customer_details .col-1,.woocommerce-checkout #customer_details .col-2{float:none;width:auto;max-width:none;background:var(--wp--preset--color--raised);border:1px solid var(--wp--preset--color--line);border-radius:2px;padding:28px;box-sizing:border-box}
.woocommerce-checkout #customer_details h3{margin:0 0 20px;font-family:var(--wp--preset--font-family--serif);font-weight:400;font-size:28px;line-height:34px;text-transform:lowercase}
.woocommerce-checkout #order_review_heading{grid-column:2;grid-row:1;font-family:var(--wp--preset--font-family--mono);font-size:12px;letter-spacing:.08em;text-transform:uppercase;font-weight:500;color:var(--wp--preset--color--muted);margin:0 0 12px}
.woocommerce-checkout #order_review{grid-column:2;grid-row:2}
@media (max-width:900px){.woocommerce-checkout #customer_details,.woocommerce-checkout #order_review_heading,.woocommerce-checkout #order_review{grid-column:1;grid-row:auto}}
.woocommerce-checkout #order_review{background:var(--wp--preset--color--raised);border:1px solid var(--wp--preset--color--line);border-radius:2px;padding:28px;box-sizing:border-box}
.woocommerce-checkout #order_review table.shop_table{border:0}
.woocommerce-checkout #order_review table.shop_table td,.woocommerce-checkout #order_review table.shop_table th{padding:10px 0;border-top:0}
.woocommerce-checkout #order_review tr.order-total{border-top:2px dashed var(--wp--preset--color--line)}
.woocommerce-checkout #order_review tr.order-total td,.woocommerce-checkout #order_review tr.order-total th{font-weight:700;font-size:20px}
.woocommerce-checkout #payment{border:0;background:none;margin-top:12px}
.woocommerce-checkout #payment ul.payment_methods{border:0;padding:0;display:flex;flex-direction:column;gap:12px}
.woocommerce-checkout #payment ul.payment_methods>li{border:1px solid #7b868d;border-radius:2px;background:#fff;padding:14px 16px;margin:0}
.woocommerce-checkout #payment .place-order{padding:16px 0 0}
.woocommerce-checkout #place_order{width:100%;min-height:56px}
.woocommerce-checkout .woocommerce-form-coupon-toggle{grid-column:1/-1}
.woocommerce-checkout .form-row input.input-text,.woocommerce-checkout .form-row select,.woocommerce-checkout .form-row textarea{width:100%;box-sizing:border-box}
/* Produktgalerie: Vorschauen horizontal wischbar statt mehrzeiligem Raster.
   Auf breiten Ansichten sind 5,5, bis 900px 4,5 Bilder sichtbar: das angeschnittene
   letzte Bild deutet die Wischrichtung an. WooCommerce/FlexSlider übernimmt weiterhin
   Bildwechsel, Zoom und Lightbox. Kein weiteres Slider-Skript nötig. */
.single-product .woocommerce-product-gallery{margin:0}
.single-product .woocommerce-product-gallery__image img{display:block;width:100%;height:auto;aspect-ratio:4/5;object-fit:cover;border-radius:2px}
.single-product .woocommerce-product-gallery .flex-viewport{border-radius:2px}
/* Galerie sofort sichtbar (LCP), nicht erst nach FlexSlider-Init.
   WooCommerce setzt inline opacity:0 bis zum Slider-Start; mobil ist das Hauptbild nach ~2,4 s
   geladen, aber erst nach ~9,9 s sichtbar (gemessen 11.11.2026, Refs #11). Daher ist die Galerie immer
   sichtbar. Fehlt JavaScript oder startet der Slider nicht, gilt WooCommerces eigene Darstellung ohne
   Slider mit allen Bildern (Hauptbild groß, weitere 25 % breit).
   Der Zwischenzustand „Slider startet gleich“ gilt NUR mit der Klasse html.kp-gallery-pending: Ein Inline-
   Skript im Kopf setzt sie (nur mit JavaScript, nur wenn der Slider aktiv ist), ein Skript im Fuß nimmt sie
   zurück, sobald WooCommerce die Galerie initialisiert hat (Ereignis wc-product-gallery-after-init, im Slide-
   wie im Fade-Modus), spätestens beim load-Ereignis. Solange sie gesetzt ist, zeigt die Seite nur das erste Bild
   und reserviert Platz für die Vorschauleiste, damit nichts verspringt und keine Lazy-Slides laden. */
.single-product .woocommerce-product-gallery{opacity:1!important}
html.kp-gallery-pending .woocommerce-product-gallery>.woocommerce-product-gallery__wrapper>.woocommerce-product-gallery__image:nth-child(n+2){display:none!important}
html.kp-gallery-pending .woocommerce-product-gallery:has(>.woocommerce-product-gallery__wrapper>.woocommerce-product-gallery__image:nth-child(2))::after{content:"";display:block;margin-top:16px;padding-top:calc(18.1818% - 9.8182px + 11px)}
/* FlexSlider setzt die Slides erst 100 ms nach dem Aufbau nebeneinander; bis dahin stapelt es sie
   ungeclippt im Viewport. Das verschob den Inhalt (CLS) und ließ Chrome alle loading=lazy-Slides laden
   (Fullframe: 26 statt 4 große Bilder, 2,7 statt 0,9 MB mobil). Alle Slides sind per CSS 4:5,
   daher entspricht das Seitenverhältnis der endgültigen Höhe, bis FlexSlider die Höhe selbst setzt. */
.kp-gallery-slider .woocommerce-product-gallery .flex-viewport:not([style*="height"]){aspect-ratio:4/5}
/* WooCommerce's more-specific div.product div.images rule sets overflow:hidden.
   Override both axes so thumbnails actually scroll by touch or trackpad. */
.single-product .flex-control-thumbs{
 display:flex!important;flex-wrap:nowrap!important;gap:10px;
 margin:16px 0 0!important;padding:3px 2px 8px!important;list-style:none;
 max-width:100%;box-sizing:border-box;overflow-x:auto!important;overflow-y:hidden!important;
 scroll-snap-type:x proximity;scroll-padding-inline:2px;overscroll-behavior-x:contain;
 -webkit-overflow-scrolling:touch;scrollbar-width:thin;
 scrollbar-color:var(--wp--preset--color--line) transparent
}
.single-product .flex-control-thumbs li{
 flex:0 0 calc(18.1818% - 9.0909px);width:calc(18.1818% - 9.0909px)!important;
 min-width:0;height:auto;aspect-ratio:1;margin:0!important;padding:0;float:none!important;
 scroll-snap-align:start
}
.single-product .flex-control-thumbs img{
 display:block;width:100%!important;height:100%!important;aspect-ratio:1;
 object-fit:cover;border:0;border-radius:2px;opacity:1!important;cursor:pointer;box-sizing:border-box
}
.single-product .flex-control-thumbs img:hover{outline:2px solid var(--wp--preset--color--line);outline-offset:2px}
.single-product .flex-control-thumbs img:focus-visible{outline:3px solid var(--wp--preset--color--navy);outline-offset:2px}
.single-product .flex-control-thumbs img.flex-active{outline:2px solid var(--wp--preset--color--ink);outline-offset:2px}
.single-product .flex-control-thumbs::-webkit-scrollbar{height:4px}
.single-product .flex-control-thumbs::-webkit-scrollbar-thumb{background:var(--wp--preset--color--line);border-radius:4px}
@media (max-width:900px){
 .single-product .flex-control-thumbs li{
  flex-basis:calc(22.2222% - 8.8889px);width:calc(22.2222% - 8.8889px)!important
 }
 html.kp-gallery-pending .woocommerce-product-gallery:has(>.woocommerce-product-gallery__wrapper>.woocommerce-product-gallery__image:nth-child(2))::after{padding-top:calc(22.2222% - 9.7778px + 11px)}
}

/* 1.0.6 Lieferzeit mobil einzeilig */
@media (max-width:600px){
 .kp-grid .wc-block-product-template>li>.wc-gzd-additional-info.delivery-time-info{white-space:nowrap;font-family:var(--wp--preset--font-family--sans)!important;font-size:12px;line-height:18px;letter-spacing:0;padding-left:12px;padding-right:12px;overflow:hidden}
 .kp-grid .wc-block-product-template>li>.wc-gzd-additional-info.delivery-time-info *{white-space:nowrap}
}

/* 1.0.8 Kontaktseite */
.kp-kontakt{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:64px;align-items:start;margin-top:32px}
@media (max-width:900px){.kp-kontakt{grid-template-columns:1fr;gap:40px}}
.kp-kontakt__info{display:flex;flex-direction:column;gap:32px}
.kp-form{display:flex;flex-direction:column;gap:20px;background:var(--wp--preset--color--raised);border:1px solid var(--wp--preset--color--line);border-radius:2px;padding:32px}
@media (max-width:600px){.kp-form{padding:20px}}
.kp-form p{margin:0}
.kp-form__row{display:grid;grid-template-columns:1fr 1fr;gap:20px}
@media (max-width:600px){.kp-form__row{grid-template-columns:1fr}}
.kp-form label{display:flex;flex-direction:column;gap:8px;font-family:var(--wp--preset--font-family--mono);font-size:12px;line-height:16px;font-weight:500;letter-spacing:.08em;text-transform:uppercase;color:var(--wp--preset--color--muted)}
.kp-form input[type=text],.kp-form input[type=email],.kp-form select,.kp-form textarea{font-family:var(--wp--preset--font-family--sans);font-size:17px;line-height:24px;letter-spacing:0;text-transform:none;color:var(--wp--preset--color--ink);background:var(--wp--preset--color--surface);border:1px solid var(--wp--preset--color--line);border-radius:2px;padding:12px 14px;width:100%;box-sizing:border-box;min-height:48px}
.kp-form textarea{resize:vertical}
.kp-form input:focus,.kp-form select:focus,.kp-form textarea:focus{outline:2px solid var(--wp--preset--color--navy);outline-offset:1px;border-color:var(--wp--preset--color--navy)}
.kp-form .kp-form__check{flex-direction:row;align-items:flex-start;gap:12px;font-family:var(--wp--preset--font-family--sans);font-size:15px;line-height:22px;letter-spacing:0;text-transform:none;color:var(--wp--preset--color--ink)}
.kp-form .kp-form__check input{margin-top:3px;width:20px;height:20px;flex:none;accent-color:var(--wp--preset--color--navy)}
.kp-form__send{min-height:48px;cursor:pointer}
.kp-form__note{font-size:13px;color:var(--wp--preset--color--muted)}
.kp-form__hp{position:absolute!important;left:-9999px;width:1px;height:1px;overflow:hidden}
.kp-form-msg{padding:16px 20px;border-radius:2px;border:1px solid var(--wp--preset--color--line);background:var(--wp--preset--color--raised);margin:0 0 20px}
.kp-form-msg--ok{border-left:4px solid var(--wp--preset--color--navy)}
.kp-form-msg--err{border-left:4px solid var(--wp--preset--color--orange)}
.kp-footer .kp-lbl a{color:inherit;text-decoration:none}
.kp-footer .kp-lbl a:hover{text-decoration:underline}
.kp-kontakt .kp-rows>div{grid-template-columns:110px 1fr}
.kp-hero-img{margin:0}
.kp-hero-img img{display:block;border-radius:2px}

/* Startseiten-Foto: reine Transform-Bewegung, ohne Platzverschiebung.
   Nur bei Desktop + erlaubter Bewegung aktiv; ohne JS bleibt das Originalbild. */
@media (min-width:901px) and (prefers-reduced-motion:no-preference){
 .kp-hero-img.is-parallax-active{overflow:hidden;border-radius:2px}
 .kp-hero-img.is-parallax-active img{
  transform:translate3d(0,var(--kp-hero-offset,0px),0) scale(1.14);
  border-radius:0;
  will-change:transform;
 }
 /* Textur statt Kacheln bewegen: keine Verschiebung von Materialnamen
    oder Farbkarten und damit keine beeinträchtigten Klickflächen. */
 #material.is-parallax-active .kp-tile{
  background-position:0 var(--kp-material-shift,0px);
 }
}

/* 1.0.10 Produktkonfigurator (Chips, Farbfelder, Zusatzfeld) */
/* WooCommerce gibt Varianten-Selects min-width:70% und white-space:pre; das hob width:1px auf.
   Die unsichtbaren Selects waren auf Desktop bis 918 px breit und verbreiterten das Dokument
   (1280 px Viewport -> 1515 px, gemessen 11.11.2026). Daher Mindest-/Maximalbreite fest begrenzen. */
.kp-select-hidden{position:absolute!important;left:0!important;width:1px!important;min-width:0!important;max-width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;border:0!important;white-space:nowrap!important;opacity:0!important;pointer-events:none!important;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%)}
form.variations_form table.variations{display:block;width:100%;border:0;margin:0 0 8px}
form.variations_form table.variations tbody{display:flex;flex-direction:column;gap:24px}
form.variations_form table.variations tr{display:flex;flex-direction:column;gap:12px;border:0;padding:0}
form.variations_form table.variations th,form.variations_form table.variations td{display:block;padding:0;border:0;text-align:left;width:auto}
form.variations_form table.variations th.label label{font-family:var(--wp--preset--font-family--mono);font-size:12px;line-height:16px;font-weight:500;letter-spacing:.08em;text-transform:uppercase;color:var(--wp--preset--color--ink)}
.kp-opt__name{color:var(--wp--preset--color--navy)}
.kp-opt{display:flex;flex-wrap:wrap;gap:8px}
.kp-opt--sw{gap:12px}
.kp-chipbtn{height:48px;padding:0 22px;border-radius:999px;border:0;font-family:var(--wp--preset--font-family--mono);font-weight:500;font-size:14px;cursor:pointer;box-sizing:border-box;color:var(--wp--preset--color--ink);background-color:transparent;background-repeat:no-repeat;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25'%3E%3Crect style='x:1px;y:1px;width:calc(100%25 - 2px);height:calc(100%25 - 2px);rx:23px' fill='none' stroke='%23262d35' stroke-width='2' stroke-dasharray='14 8'%3E%3C/rect%3E%3C/svg%3E");transition:background-color .16s,color .16s}
.kp-chipbtn:hover{background-color:#e4e4df}
.kp-chipbtn[aria-pressed="true"]{background-color:var(--wp--preset--color--ink);color:#fff;background-image:none}
.kp-chipbtn[aria-pressed="true"]:hover{background-color:#12294a}
.kp-sw{width:48px;height:48px;border-radius:2px;border:1px solid var(--wp--preset--color--ink);cursor:pointer;padding:0;box-sizing:border-box;transition:box-shadow .28s}
.kp-sw:hover{box-shadow:0 0 0 2px var(--wp--preset--color--surface),0 0 0 4px #7b868d}
.kp-sw[aria-pressed="true"]{box-shadow:0 0 0 2px var(--wp--preset--color--surface),0 0 0 4px var(--wp--preset--color--ink)}
.kp-chipbtn:focus-visible,.kp-sw:focus-visible{outline:2px solid var(--wp--preset--color--navy);outline-offset:3px}
.kp-chipbtn.is-off,.kp-sw.is-off{opacity:.35;cursor:not-allowed}
form.variations_form .reset_variations{display:none!important}
.kp-summary-line{font-family:var(--wp--preset--font-family--mono);font-size:13px;line-height:20px;color:var(--wp--preset--color--muted);margin:8px 0 0}
.kp-summary-line.is-complete{color:var(--wp--preset--color--ink)}
.kp-rahmen{display:flex;flex-direction:column;gap:6px;flex:1 1 100%;margin-bottom:12px}
.kp-rahmen label{font-family:var(--wp--preset--font-family--mono);font-size:12px;line-height:16px;font-weight:500;letter-spacing:.08em;text-transform:uppercase}
.kp-rahmen label span{color:var(--wp--preset--color--muted)}
.kp-rahmen small{font-size:13px;line-height:20px;color:var(--wp--preset--color--muted)}
.kp-input,.single-product .quantity input.qty{height:48px;box-sizing:border-box;padding:0 14px;border:1px solid #7b868d;border-radius:2px;background:#fff;color:var(--wp--preset--color--ink);font-family:var(--wp--preset--font-family--sans);font-size:16px}
.single-product .quantity{display:flex;flex-direction:column;gap:6px}
.single-product .quantity::before{content:"Menge";font-family:var(--wp--preset--font-family--mono);font-size:12px;line-height:16px;font-weight:500;letter-spacing:.08em;text-transform:uppercase}
.single-product .quantity input.qty{width:88px}
.woocommerce-variation-add-to-cart,.single_variation_wrap .woocommerce-variation-add-to-cart{display:flex;flex-wrap:wrap;gap:12px;align-items:flex-end}
.kp-aufbau{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(360px,100%),1fr));gap:48px;align-items:start}
@media (max-width:600px){.kp-aufbau{gap:24px}}
form.variations_form .single_variation_wrap,form.variations_form .kp-summary-line{flex:1 1 100%}

/* ===== 1.0.19: Feinschliff nach Test (Handy, Tippflächen, Lupe) ===== */
/* Lange Links in Überschriften (Materialseite) dürfen umbrechen, sonst scrollt die Seite auf dem Handy seitwärts. */
.wp-block-heading a,.entry-content a,.wp-block-post-content a{overflow-wrap:anywhere}
/* Tippflächen: Breadcrumb, Kategorie-Etiketten und Footer-Links bekommen auf Touchgeräten mindestens 44 px Höhe, die Optik bleibt gleich. */
@media (max-width:900px){
 .woocommerce-breadcrumb a{display:inline-block;padding:14px 4px;margin:-14px -4px}
 .kp-lbl a,a.kp-lbl{display:inline-block;padding:14px 0;margin:-14px 0}
 .kp-footer__grid li a{padding:12px 0;min-height:44px;box-sizing:border-box;display:inline-flex;align-items:center}
 .woocommerce a.remove{min-width:44px;min-height:44px;display:inline-flex;align-items:center;justify-content:center}
}
/* Lupe der Produktgalerie: WooCommerce setzt hier ein Emoji. Das Design kennt keine Emojis, daher ein schlichtes Linien-Symbol. */
.woocommerce-product-gallery__trigger{font-size:0!important;width:44px;height:44px;border-radius:2px;background:var(--wp--preset--color--surface)!important;border:1px solid var(--wp--preset--color--line);top:12px;right:12px}
.woocommerce-product-gallery__trigger::before,.woocommerce-product-gallery__trigger::after{display:none!important}
.woocommerce-product-gallery__trigger{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23262d35' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6'/%3E%3Cpath d='M15 15l5 5'/%3E%3C/svg%3E")!important;background-repeat:no-repeat!important;background-position:center!important;background-size:22px!important}
.woocommerce-product-gallery__trigger:hover{border-color:var(--wp--preset--color--ink)}


/* 1.0.20: WhatsApp im Markenlook (Click to Chat), Kontaktseite, Dunkelmodus, sanftes Einblenden */
#ht-ctc-chat{bottom:calc(16px + env(safe-area-inset-bottom,0px))!important;right:16px!important}
#ht-ctc-chat .ctc_s_7_1,#ht-ctc-chat .ctc_s_7_icon_padding{background:#1a3a63!important;border-radius:2px!important;box-shadow:none!important}
#ht-ctc-chat .ctc_s_7_icon_padding{width:56px;height:56px;padding:0!important;display:flex;align-items:center;justify-content:center;box-sizing:border-box}
#ht-ctc-chat svg{width:26px!important;height:26px!important}
#ht-ctc-chat .ctc_s_7_1{transition:transform var(--t1) var(--ease),background-color var(--t1) var(--ease)}
#ht-ctc-chat:hover .ctc_s_7_1,#ht-ctc-chat:hover .ctc_s_7_icon_padding{background:#12294a!important;transform:translateY(-2px)}
#ht-ctc-chat:focus-within .ctc_s_7_1,#ht-ctc-chat:focus-visible .ctc_s_7_1{outline:2px solid #8fb4e8;outline-offset:3px}
.kp-wa{display:flex;flex-direction:column;align-items:flex-start;gap:8px;margin:0 0 24px}
.kp-wa__num{font-family:var(--wp--preset--font-family--mono);font-size:13px;color:var(--wp--preset--color--muted)}

.kp-reveal{opacity:0;transform:translateY(14px);transition:opacity var(--t3) var(--ease),transform var(--t3) var(--ease)}
.kp-reveal.is-in{opacity:1;transform:none}
.single-product .woocommerce-product-gallery__image img{transition:opacity var(--t2) var(--ease)}
.single-product .woocommerce-product-gallery.kp-swap .flex-viewport img{animation:kp-fade var(--t2) var(--ease)}
@keyframes kp-fade{from{opacity:.35}to{opacity:1}}
@media (prefers-reduced-motion:reduce){.kp-reveal{opacity:1;transform:none;transition:none}.single-product .woocommerce-product-gallery.kp-swap .flex-viewport img{animation:none}}

@media (prefers-color-scheme:dark){
:root:not([data-theme="light"]){color-scheme:dark;
--wp--preset--color--surface:#1b2127;--wp--preset--color--raised:#262d35;--wp--preset--color--ink:#eef0f0;--wp--preset--color--muted:#a9b3bb;--wp--preset--color--line:#39424b;--wp--preset--color--navy:#8fb4e8}
:root:not([data-theme="light"]) .wp-element-button,:root:not([data-theme="light"]) .wp-block-button__link,:root:not([data-theme="light"]) .button,:root:not([data-theme="light"]) .woocommerce a.button,:root:not([data-theme="light"]) .woocommerce button.button{background:#1a3a63;color:#fff}
:root:not([data-theme="light"]) .kp-card,:root:not([data-theme="light"]) .woocommerce ul.products li.product,:root:not([data-theme="light"]) .wc-block-grid__product,:root:not([data-theme="light"]) .wc-block-product,:root:not([data-theme="light"]) .woocommerce table.shop_table,:root:not([data-theme="light"]) .woocommerce-message,:root:not([data-theme="light"]) .woocommerce-info,:root:not([data-theme="light"]) .woocommerce-error,:root:not([data-theme="light"]) .woocommerce-checkout #payment,:root:not([data-theme="light"]) .woocommerce-checkout #payment div.payment_box,:root:not([data-theme="light"]) .woocommerce-checkout #payment ul.payment_methods>li,:root:not([data-theme="light"]) .kp-input,:root:not([data-theme="light"]) .single-product .quantity input.qty,:root:not([data-theme="light"]) input[type=text],:root:not([data-theme="light"]) input[type=email],:root:not([data-theme="light"]) input[type=tel],:root:not([data-theme="light"]) textarea,:root:not([data-theme="light"]) select{background:var(--wp--preset--color--raised);color:var(--wp--preset--color--ink)}
:root:not([data-theme="light"]) .kp-icon:hover,:root:not([data-theme="light"]) .kp-chip:hover,:root:not([data-theme="light"]) .kp-chipbtn:hover{background-color:#39424b}
:root:not([data-theme="light"]) .kp-chipbtn[aria-pressed="true"],:root:not([data-theme="light"]) .kp-chip.on{background-color:#8fb4e8;color:#101214}
:root:not([data-theme="light"]) .kp-footer{background:#101214}
:root:not([data-theme="light"]) .has-surface-background-color{background-color:var(--wp--preset--color--surface)!important}
:root:not([data-theme="light"]) .has-raised-background-color{background-color:var(--wp--preset--color--raised)!important}
}

/* 1.0.21 */
.kp-senden{margin:48px 0}
.kp-senden li{margin-bottom:8px}

/* 1.0.22: Flächen mit fester Farbe bleiben im Dunkelmodus lesbar (Kurs-Kachel, Hinweisfelder, Kästen) */
.kp-wuensche-l{display:block;margin-top:16px}
.kp-wuensche{height:auto;min-height:72px;padding:12px 14px;resize:vertical}
@media (prefers-color-scheme:dark){
:root:not([data-theme="light"]) :is(.has-stein-background-color,.has-gelb-background-color,.has-korn-background-color,.has-orange-background-color,.has-navy-background-color,.has-ink-background-color){
--wp--preset--color--surface:#f1f1ee;--wp--preset--color--raised:#fff;--wp--preset--color--ink:#262d35;--wp--preset--color--muted:#4d565c;--wp--preset--color--line:#cfd3d4;--wp--preset--color--navy:#1a3a63}
:root:not([data-theme="light"]) :is(.has-stein-background-color,.has-gelb-background-color,.has-korn-background-color){color:#262d35}
:root:not([data-theme="light"]) :is(.has-orange-background-color,.has-navy-background-color,.has-ink-background-color){color:#fff}
:root:not([data-theme="light"]) .has-navy-background-color{background-color:#1a3a63!important}
:root:not([data-theme="light"]) .has-ink-background-color{background-color:#262d35!important}
:root:not([data-theme="light"]) .has-stein-background-color{background-color:#d8d5cc!important}
}

/* 1.0.23: Hell/Dunkel-Schalter: dieselben Dunkelregeln, wenn der Schalter Dunkel gewählt hat; Hell gewinnt gegen ein dunkles System */
:root[data-theme="light"]{color-scheme:light}
:root[data-theme="dark"]{color-scheme:dark;
--wp--preset--color--surface:#1b2127;--wp--preset--color--raised:#262d35;--wp--preset--color--ink:#eef0f0;--wp--preset--color--muted:#a9b3bb;--wp--preset--color--line:#39424b;--wp--preset--color--navy:#8fb4e8}
:root[data-theme="dark"] .wp-element-button,:root[data-theme="dark"] .wp-block-button__link,:root[data-theme="dark"] .button,:root[data-theme="dark"] .woocommerce a.button,:root[data-theme="dark"] .woocommerce button.button{background:#1a3a63;color:#fff}
:root[data-theme="dark"] .kp-card,:root[data-theme="dark"] .woocommerce ul.products li.product,:root[data-theme="dark"] .wc-block-grid__product,:root[data-theme="dark"] .wc-block-product,:root[data-theme="dark"] .woocommerce table.shop_table,:root[data-theme="dark"] .woocommerce-message,:root[data-theme="dark"] .woocommerce-info,:root[data-theme="dark"] .woocommerce-error,:root[data-theme="dark"] .woocommerce-checkout #payment,:root[data-theme="dark"] .woocommerce-checkout #payment div.payment_box,:root[data-theme="dark"] .woocommerce-checkout #payment ul.payment_methods>li,:root[data-theme="dark"] .kp-input,:root[data-theme="dark"] .single-product .quantity input.qty,:root[data-theme="dark"] input[type=text],:root[data-theme="dark"] input[type=email],:root[data-theme="dark"] input[type=tel],:root[data-theme="dark"] textarea,:root[data-theme="dark"] select{background:var(--wp--preset--color--raised);color:var(--wp--preset--color--ink)}
:root[data-theme="dark"] .kp-icon:hover,:root[data-theme="dark"] .kp-chip:hover,:root[data-theme="dark"] .kp-chipbtn:hover{background-color:#39424b}
:root[data-theme="dark"] .kp-chipbtn[aria-pressed="true"],:root[data-theme="dark"] .kp-chip.on{background-color:#8fb4e8;color:#101214}
:root[data-theme="dark"] .kp-footer{background:#101214}
:root[data-theme="dark"] .has-surface-background-color{background-color:var(--wp--preset--color--surface)!important}
:root[data-theme="dark"] .has-raised-background-color{background-color:var(--wp--preset--color--raised)!important}
:root[data-theme="dark"] :is(.has-stein-background-color,.has-gelb-background-color,.has-korn-background-color,.has-orange-background-color,.has-navy-background-color,.has-ink-background-color){
--wp--preset--color--surface:#f1f1ee;--wp--preset--color--raised:#fff;--wp--preset--color--ink:#262d35;--wp--preset--color--muted:#4d565c;--wp--preset--color--line:#cfd3d4;--wp--preset--color--navy:#1a3a63}
:root[data-theme="dark"] :is(.has-stein-background-color,.has-gelb-background-color,.has-korn-background-color){color:#262d35}
:root[data-theme="dark"] :is(.has-orange-background-color,.has-navy-background-color,.has-ink-background-color){color:#fff}
:root[data-theme="dark"] .has-navy-background-color{background-color:#1a3a63!important}
:root[data-theme="dark"] .has-ink-background-color{background-color:#262d35!important}
:root[data-theme="dark"] .has-stein-background-color{background-color:#d8d5cc!important}
.kp-tt{background:transparent;border:0;cursor:pointer;padding:0}
.kp-tt .kp-tt__moon{display:none}
.kp-tt.is-dark .kp-tt__sun{display:none}
.kp-tt.is-dark .kp-tt__moon{display:block}
.kp-tt:focus-visible{outline:2px solid var(--wp--preset--color--navy);outline-offset:2px}

/* 1.0.24: Warenkorb-Zähler im Dunkelmodus mit festem Navy (weiß auf hellem Blau war zu schwach) */
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .kp-badge{background:#1a3a63;color:#fff}}
:root[data-theme="dark"] .kp-badge{background:#1a3a63;color:#fff}

/* Mobile product page: less empty space around the gallery and smaller navigation labels.
   Keep WooCommerce notices, gallery interactions and desktop layout unchanged. */
@media (max-width:720px){
 .single-product .kp-prodmain{gap:10px}
 .single-product .kp-prodmain>.kp-prodgrid{margin-block-start:0!important}
 .single-product .kp-prodmain>.wp-block-woocommerce-breadcrumbs,
 .single-product .kp-prodmain>.woocommerce-breadcrumb,
 .single-product .kp-prodmain .wc-block-breadcrumbs{margin-block-end:0!important;font-size:10px;line-height:15px;letter-spacing:.05em}
 .single-product .kp-prodgrid{gap:24px}
 .single-product .kp-menu-btn{font-size:12px}
}

/* HDR picture must preserve Woo gallery layout; sizes and object-fit remain owned by the image. */
.kp-hdr-picture{display:block;width:100%;height:100%}
.kp-hdr-picture>img{display:block;max-width:100%}
