/*
Theme Name: Smartmacherei Shop
Template: storefront
Version: 1.4.6
Description: Child-Theme von Storefront fuer shop.smartmacherei.at (CI-Farben, selbst gehostete Schriften, Shop-Bausteine). Design 02.10.2026.
Text Domain: smartmacherei-shop
*/

/* Schriften selbst gehostet (DSGVO). Variable Fonts, latin. */
@font-face { font-family: "Outfit"; src: url("assets/fonts/outfit-latin.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("assets/fonts/inter-latin.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }

:root {
  --sm-ink: #0a2a3d;
  --sm-ink-soft: #5b7180;
  --sm-deep: #071520;
  --sm-cyan: #3abdd0;
  --sm-brand: #11b1d6;
  --sm-brand-dark: #0a6fbe;
  --sm-page: #eef4f8;
  --sm-card: #ffffff;
  --sm-card-soft: #f4f8fb;
  --sm-line: #d9e4eb;
  --sm-amber: #ffb83d;
  --sm-green: #2fae7c;
  --sm-r-m: 12px;
  --sm-r-l: 22px;
  --sm-display: "Outfit", system-ui, sans-serif;
  --sm-ui: "Inter", system-ui, sans-serif;
}

/* ---------- Grundlagen ---------- */
.col-full { max-width: 1240px !important; }
body { font-family: var(--sm-ui); color: var(--sm-ink); background: var(--sm-page); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, .woocommerce-loop-product__title, .product_title { font-family: var(--sm-display); font-weight: 600; color: var(--sm-ink); letter-spacing: -0.01em; }
a { color: var(--sm-brand-dark); }
a:hover { color: var(--sm-brand); }
:focus-visible { outline: 3px solid var(--sm-brand); outline-offset: 2px; }
.site-content { background: var(--sm-page); }
.onsale { display: none; }

.button, button:where(:not(.gpay-button, .gpay-card-info-container)), input[type="submit"], .added_to_cart, .wc-block-components-button,
.woocommerce #respond input#submit, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button {
  background: var(--sm-ink) !important; color: #fff !important; border-radius: 999px; font-weight: 600; border: 0; font-family: var(--sm-ui);
}
.button:hover, button:where(:not(.gpay-button, .gpay-card-info-container)):hover, .woocommerce a.button:hover, .woocommerce button.button:hover { background: var(--sm-brand-dark) !important; }
.single_add_to_cart_button { padding: 14px 30px !important; font-size: 1rem !important; }

/* ---------- Servicezeile und Kopf ---------- */
.sm-servicebar { background: var(--sm-deep); color: #cfe3ec; font-size: 13.5px; }
.sm-servicebar .col-full { display: flex; gap: 24px; justify-content: space-between; padding-top: 8px; padding-bottom: 8px; }
.sm-servicebar a { color: #fff; text-decoration: none; }
.sm-servicebar svg { width: 14px; height: 14px; vertical-align: -2px; margin-right: 6px; stroke: var(--sm-cyan); fill: none; stroke-width: 2; }

.site-header { background: var(--sm-card) !important; border-bottom: 1px solid var(--sm-line); padding-top: 0 !important; margin-bottom: 0 !important; }
.site-header .col-full { padding-top: 0; }
.sm-header-row { display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: center; min-height: 78px; clear: both; }
.sm-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.sm-mark { width: 40px; height: 40px; flex: none; }
.sm-logo b { display: block; font: 700 23px/1 var(--sm-display); color: var(--sm-ink); }
.sm-logo small { display: block; font: 500 12px/1 var(--sm-ui); color: var(--sm-ink-soft); margin-top: 5px; }
.sm-search { max-width: 560px; width: 100%; min-width: 0; justify-self: center; }
.sm-search input[type="search"], .sm-search form { box-sizing: border-box; max-width: 100%; }
.sm-search form { position: relative; margin: 0; }
.sm-search label { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.sm-search input[type="search"] { width: 100%; height: 46px; border: 1.5px solid var(--sm-line); border-radius: 999px; padding: 0 20px 0 46px; font: 400 15px var(--sm-ui); color: var(--sm-ink); background: var(--sm-card-soft) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%235b7180" stroke-width="2"><circle cx="11" cy="11" r="7"/><path d="m20 20-4-4"/></svg>') no-repeat 16px center / 20px; box-shadow: none; }
.sm-search input[type="search"]:focus { border-color: var(--sm-brand); background-color: #fff; outline: none; }
.sm-search button[type="submit"] { display: none; }
.sm-cart a.cart-contents { display: flex; align-items: center; gap: 8px; color: var(--sm-ink); text-decoration: none; font-weight: 600; padding: 10px 14px; border-radius: 999px; }
.sm-cart a.cart-contents:hover { background: var(--sm-card-soft); }
.sm-cart .count { color: var(--sm-ink-soft); font-weight: 400; font-size: 13px; }
.sm-cart a.cart-contents::after { content: ""; width: 22px; height: 22px; background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%230a2a3d" stroke-width="1.8"><path d="M3 4h2l2.4 11h10.2L20 7H6.2"/><circle cx="9" cy="19.5" r="1.4"/><circle cx="17" cy="19.5" r="1.4"/></svg>') no-repeat center / contain; }

.sm-catnav { background: var(--sm-card); border-top: 1px solid var(--sm-line); }
.sm-catnav ul { list-style: none; margin: 0 auto !important; display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.sm-catnav a { display: block; padding: 13px 9px; text-decoration: none; font: 500 14px var(--sm-ui); white-space: nowrap; color: var(--sm-ink); border-bottom: 2px solid transparent; }
.sm-catnav a:hover, .sm-catnav a[aria-current] { border-bottom-color: var(--sm-brand); color: var(--sm-ink); }
.sm-catnav .sm-catnav-extra a { color: var(--sm-brand-dark); }
.sm-catnav .sm-catnav-sets a { font-weight: 650; color: var(--sm-brand-dark); }
.storefront-handheld-footer-bar .search, .storefront-handheld-footer-bar .my-account { display: none; }

/* ---------- Startseite ---------- */
.sm-btn { display: inline-flex; align-items: center; justify-content: center; height: 50px; padding: 0 26px; border-radius: 999px; font: 600 15.5px var(--sm-ui); text-decoration: none; }
.sm-btn-primary { background: var(--sm-ink); color: #fff; }
.sm-btn-primary:hover { background: var(--sm-brand-dark); color: #fff; }
.sm-btn-ghost { color: var(--sm-ink); box-shadow: inset 0 0 0 1.5px var(--sm-line); }
.sm-btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--sm-ink); color: var(--sm-ink); }
.sm-price { font: 650 22px/1 var(--sm-display); letter-spacing: -0.01em; color: var(--sm-ink); }
.sm-vat { font-size: 12.5px; color: var(--sm-ink-soft); }

.sm-hero { background: var(--sm-card); border-bottom: 1px solid var(--sm-line); overflow: hidden; }
.sm-hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: center; padding-top: 56px; padding-bottom: 56px; }
.sm-hero h1 { font-size: clamp(36px, 4.6vw, 60px); line-height: 1.08; max-width: 13ch; margin: 0; }
.sm-lead { font-size: 18px; color: var(--sm-ink-soft); max-width: 46ch; margin: 20px 0 30px; }
.sm-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.sm-facts { display: flex; gap: 22px 30px; margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--sm-line); font-size: 14px; color: var(--sm-ink-soft); flex-wrap: wrap; }
.sm-facts b { display: block; color: var(--sm-ink); font: 600 16px var(--sm-display); }

.sm-explorer { background: var(--sm-card-soft); border-radius: var(--sm-r-l); padding: 22px 22px 18px; }
.sm-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 8px; }
.sm-tabs button { font: 500 14px var(--sm-ui); color: var(--sm-ink) !important; background: transparent !important; border: 1.5px solid var(--sm-line); border-radius: 999px; padding: 8px 15px; }
.sm-tabs button[aria-selected="true"] { background: var(--sm-ink) !important; border-color: var(--sm-ink); color: #fff !important; }
.sm-explorer-body { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 18px; align-items: center; }
.sm-house { width: 100%; height: auto; }
.sm-house .sm-shell { fill: #fff; stroke: var(--sm-cyan); stroke-width: 5; stroke-linejoin: round; }
.sm-house line { stroke: #b9cfda; stroke-width: 2.5; }
.sm-house text { font: 500 14px var(--sm-ui); fill: #8aa1ae; }
.sm-house .sm-gable { fill: var(--sm-cyan); }
.sm-pin { opacity: 0; transform: scale(.4); transform-box: fill-box; transform-origin: center; transition: opacity .35s ease, transform .35s cubic-bezier(.3, 1.4, .5, 1); }
.sm-pin.sm-on { opacity: 1; transform: none; }
.sm-pin .sm-halo { fill: rgba(17, 177, 214, .16); }
.sm-pin.sm-hl .sm-halo { fill: rgba(17, 177, 214, .38); }
.sm-pin .sm-core { fill: var(--sm-brand); stroke: #fff; stroke-width: 3; }
.sm-house .sm-pin text { font: 700 11.5px var(--sm-ui); fill: #fff; text-anchor: middle; dominant-baseline: central; }
@media (prefers-reduced-motion: reduce) { .sm-pin { transition: none; } }
.sm-setlist { list-style: none; margin: 0; padding: 0; font-size: 14px; }
.sm-setlist li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--sm-line); }
.sm-setlist li:last-child { border-bottom: 0; }
.sm-k { width: 24px; height: 24px; border-radius: 50%; background: var(--sm-brand); color: #fff; font: 700 11.5px/24px var(--sm-ui); text-align: center; }
.sm-setlist small { display: block; color: var(--sm-ink-soft); font-size: 12.5px; }
.sm-settotal { display: flex; justify-content: space-between; align-items: end; gap: 12px; margin-top: 14px; padding-top: 14px; border-top: 1.5px solid var(--sm-ink); }
.sm-settotal .sm-price { font-size: 30px; }
.sm-set-link { font: 600 14.5px var(--sm-ui); color: var(--sm-brand-dark); }

.sm-block { padding: 72px 0 0; }
.sm-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 26px; }
.sm-head h2 { font-size: clamp(26px, 2.6vw, 34px); margin: 0; }
.sm-head p { margin: 8px 0 0; color: var(--sm-ink-soft); max-width: 60ch; }
.sm-head > a { font: 600 15px var(--sm-ui); white-space: nowrap; }
.sm-sets { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.sm-set { background: var(--sm-card); border-radius: var(--sm-r-m); overflow: hidden; display: flex; flex-direction: column; text-decoration: none; border: 1px solid var(--sm-line); color: var(--sm-ink); }
.sm-set:hover { border-color: var(--sm-ink); color: var(--sm-ink); }
.sm-set img { aspect-ratio: 4 / 3; object-fit: contain; background: #f1f4f6; width: 100%; }
.sm-set-body { padding: 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.sm-set h3 { font-size: 19px; margin: 0; }
.sm-set p { margin: 0; font-size: 14px; color: var(--sm-ink-soft); }
.sm-set-row { margin-top: auto; padding-top: 14px; }

.sm-promo { margin-top: 0; padding: 56px 0; background: var(--sm-ink); color: #dbe9f0; }
.sm-promo-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 30px; flex-wrap: wrap; }
.sm-promo h2 { color: #fff; font-size: clamp(30px, 3.4vw, 44px); margin: 0 0 10px; }
.sm-promo-head p { max-width: 56ch; margin: 0 0 14px; font-size: 17px; }
.sm-promo-points { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px 22px; flex-wrap: wrap; font-size: 14.5px; }
.sm-promo-points li::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--sm-cyan); margin-right: 8px; vertical-align: 1px; }
.sm-btn-light { background: #fff; color: var(--sm-ink); }
.sm-btn-light:hover { background: var(--sm-cyan); color: var(--sm-ink); }
.sm-promo .sm-set { border-color: transparent; }
.sm-promo .sm-set:hover { border-color: var(--sm-cyan); }
.sm-flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); background: var(--sm-ink); color: #dbe9f0; border-radius: var(--sm-r-l); overflow: hidden; margin: 0; padding: 0; counter-reset: s; }
.sm-flow li { list-style: none; padding: 32px 30px 34px; border-right: 1px solid rgba(255,255,255,.12); counter-increment: s; }
.sm-flow li:last-child { border-right: 0; }
.sm-flow li::before { content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--sm-cyan); color: var(--sm-cyan); font: 600 15px var(--sm-display); margin-bottom: 18px; }
.sm-flow h3 { color: #fff; font-size: 20px; margin: 0 0 8px; }
.sm-flow p { margin: 0; font-size: 15px; }

.sm-apps { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.sm-apps a { background: var(--sm-card); border: 1px solid var(--sm-line); border-radius: var(--sm-r-m); padding: 16px 14px 14px; text-decoration: none; display: flex; flex-direction: column; gap: 22px; min-height: 118px; color: var(--sm-ink); }
.sm-apps a:hover { border-color: var(--sm-brand); color: var(--sm-ink); }
.sm-apps svg { width: 28px; height: 28px; stroke: var(--sm-brand-dark); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.sm-apps span { font: 550 15px/1.25 var(--sm-display); margin-top: auto; }
.sm-apps small { display: block; font: 400 12.5px var(--sm-ui); color: var(--sm-ink-soft); margin-top: 2px; }

.sm-person { display: grid; grid-template-columns: 300px 1fr; gap: 44px; background: var(--sm-card); border-radius: var(--sm-r-l); padding: 34px; align-items: center; border: 1px solid var(--sm-line); }
.sm-person img { border-radius: var(--sm-r-m); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; height: auto; }
.sm-person h2 { font-size: clamp(26px, 2.6vw, 34px); max-width: 22ch; }
.sm-person p { color: var(--sm-ink-soft); max-width: 62ch; }
.sm-person dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 26px 0 0; }
.sm-person dt { font-size: 13px; color: var(--sm-ink-soft); font-weight: 400; }
.sm-person dd { margin: 2px 0 0; font: 600 16px var(--sm-display); }
.sm-brands { display: flex; flex-wrap: wrap; gap: 10px 34px; align-items: center; padding: 26px 0; margin-top: 56px; border-top: 1px solid var(--sm-line); border-bottom: 1px solid var(--sm-line); font: 600 18px var(--sm-display); color: #7d93a0; }
.sm-brands span:first-child { font: 400 14px var(--sm-ui); color: var(--sm-ink-soft); }
.sm-all-head { font-size: clamp(26px, 2.6vw, 34px); margin: 0 0 18px; }
.home .site-content { padding-top: 0; }
.home #primary, .home #secondary { margin-top: 56px; }

/* Storefront-Clearfix (::before/::after) wuerde in Grid/Flex-Containern als leere Zelle mitlaufen */
.sm-hero-grid::before, .sm-hero-grid::after, .sm-servicebar .col-full::before, .sm-servicebar .col-full::after,
.sm-catnav ul::before, .sm-catnav ul::after, ul.products::before, ul.products::after { content: none !important; display: none !important; }

/* ---------- Produktkarten ---------- */
ul.products { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 0 0 24px !important; }
ul.products.columns-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
ul.products li.product { width: auto !important; float: none !important; margin: 0 !important; }
ul.products li.product { background: var(--sm-card); border: 1px solid var(--sm-line); border-radius: var(--sm-r-m); padding: 0 !important; overflow: hidden; display: flex; flex-direction: column; text-align: left !important; position: relative; }
ul.products li.product:hover { border-color: #9fb6c3; }
ul.products li.product .woocommerce-LoopProduct-link { display: flex; flex-direction: column; flex: 1; text-decoration: none; color: var(--sm-ink); }
.sm-media { position: relative; background: #fff; border-bottom: 1px solid var(--sm-line); }
ul.products li.product .sm-media img { aspect-ratio: 1; object-fit: contain; width: 100%; padding: 6%; margin: 0 !important; }
.sm-credit { position: absolute; right: 10px; bottom: 8px; font: 500 10.5px var(--sm-ui); color: #93a6b1; }
.sm-card-body { padding: 14px 16px 0; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.sm-brand { display: block; font: 500 12.5px var(--sm-ui); color: var(--sm-ink-soft); }
ul.products li.product .woocommerce-loop-product__title { font: 550 16px/1.3 var(--sm-display) !important; padding: 0 !important; margin: 0 0 2px !important; }
ul.products li.product .price { order: 9; font: 650 21px/1 var(--sm-display) !important; color: var(--sm-ink) !important; margin: 10px 0 0 !important; }
ul.products li.product .wc-gzd-additional-info { font-size: 12px !important; color: var(--sm-ink-soft); margin: 2px 16px 0 !important; text-align: left; }
ul.products li.product .button { margin: 12px 16px 16px !important; align-self: flex-start; padding: 9px 18px !important; font-size: 14px !important; }
.sm-stock { font-size: 13px; color: var(--sm-ink-soft); display: inline-flex; align-items: center; gap: 7px; }
.sm-stock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--sm-green); flex: none; }
.sm-stock.sm-later::before { background: var(--sm-amber); }
.sm-stock.sm-off::before { background: #a9bac4; }
.sm-protos { display: flex; gap: 4px; flex-wrap: wrap; margin-top: 4px; }
.sm-proto { font: 500 11.5px/1 var(--sm-ui); color: var(--sm-ink-soft); border: 1px solid var(--sm-line); border-radius: 999px; padding: 4px 8px; }
.sm-proto.sm-matter { color: var(--sm-brand-dark); border-color: #9fd7e6; background: #eef9fc; }

/* Protokoll-Schnellfilter, Sortierung, Seitenzahlen */
.sm-protobar { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin: 0 0 18px; clear: both; }
.sm-protobar > span { font: 600 14px var(--sm-display); margin-right: 4px; }
.sm-protobar a { font: 500 14px var(--sm-ui); color: var(--sm-ink); background: var(--sm-card); border: 1.5px solid var(--sm-line); border-radius: 999px; padding: 7px 15px; text-decoration: none; }
.sm-protobar a:hover { border-color: var(--sm-ink); color: var(--sm-ink); }
.sm-protobar a[aria-pressed="true"] { background: var(--sm-ink); border-color: var(--sm-ink); color: #fff; }
.woocommerce-ordering select { height: 42px; border: 1.5px solid var(--sm-line); border-radius: 999px; padding: 0 14px; font: 500 14px var(--sm-ui); color: var(--sm-ink); background: var(--sm-card); }
.woocommerce-result-count { color: var(--sm-ink-soft); font-size: 14px; }
.woocommerce-pagination .page-numbers li .page-numbers { border-radius: 999px; min-width: 40px; background: var(--sm-card); }
.woocommerce-pagination .page-numbers li .page-numbers.current { background: var(--sm-ink); color: #fff; }

/* Seitenleiste */
#secondary .widget { margin-bottom: 26px; padding-bottom: 20px; border-bottom: 1px solid var(--sm-line); }
#secondary .widget-title, #secondary .widgettitle { font: 600 15px var(--sm-display) !important; color: var(--sm-ink); border: 0 !important; padding: 0 !important; margin: 0 0 10px !important; }
#secondary .widget ul li { font-size: 14.5px; padding: 3px 0 !important; }
#secondary .widget ul li::before { display: none; }
#secondary .widget a { color: var(--sm-ink); text-decoration: none; }
#secondary .widget a:hover { color: var(--sm-brand-dark); }
#secondary .widget .count { color: var(--sm-ink-soft); font-size: 12.5px; float: right; }
#secondary .woocommerce-widget-layered-nav-list__item--chosen a { font-weight: 600; }

/* Produktseite */
.single-product div.product .product_title { font-size: clamp(28px, 2.8vw, 38px); margin: 4px 0 10px; }
.single-product div.product p.price { font: 650 34px/1 var(--sm-display); color: var(--sm-ink); }
.single-product div.product .woocommerce-product-gallery { background: #fff; border: 1px solid var(--sm-line); border-radius: var(--sm-r-l); padding: 4%; }
.sm-stock-row { margin: 14px 0; }
.single-product div.product form.cart .quantity .qty { border-radius: 999px; height: 50px; border: 1.5px solid var(--sm-line); background: #fff; }

/* Fuss */
.site-footer { background: var(--sm-deep) !important; color: #a9c1cd !important; padding: 0 !important; margin-top: 88px; }
.site-footer .col-full { padding-top: 0; }
.sm-footer { font-size: 14.5px; }
.sm-footer-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding: 56px 0 36px; }
.sm-footer h4 { color: #fff; font: 600 15px var(--sm-display); margin: 0 0 12px; }
.sm-footer ul { list-style: none; margin: 0; padding: 0; }
.sm-footer li { margin: 0 0 7px; }
.sm-footer a { color: #d6e6ee !important; text-decoration: none; }
.sm-footer a:hover { color: #fff !important; text-decoration: underline; }
.sm-footer-logo { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; }
.sm-footer-logo b { font: 700 21px var(--sm-display); color: #fff; }
.sm-footer-logo .sm-mark { width: 34px; height: 34px; }
.sm-pay { display: flex; gap: 6px; flex-wrap: wrap; }
.sm-pay span { border: 1px solid rgba(255,255,255,.18); border-radius: 5px; padding: 3px 8px; font-size: 12px; color: #d6e6ee; }
.sm-footer-legal { border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0 26px; font-size: 13px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.sm-footer-legal a { margin-left: 12px; }

/* Cookie-Einwilligung (assets/js/consent.js), Optik wie smartmacherei.at */
#sm-consent-root *, #sm-consent-root *::before, #sm-consent-root *::after { box-sizing: border-box; }
.sm-cc-overlay { position: fixed; left: 0; right: 0; bottom: 0; z-index: 99999; display: flex; justify-content: center; padding: 18px; pointer-events: none; font-family: var(--sm-ui); }
.sm-cc-card { pointer-events: auto; background: #0d2030; color: #fff; border: 1px solid rgba(141,219,234,.18); border-radius: 14px; padding: 22px 26px; box-shadow: 0 18px 50px rgba(0,0,0,.45); max-width: 720px; width: 100%; font-size: 14px; line-height: 1.55; }
.sm-cc-card h3 { margin: 0 0 6px; font: 600 18px var(--sm-display); color: #fff; }
.sm-cc-card p { margin: 0 0 14px; color: rgba(205,236,244,.9); font-size: 13.5px; }
.sm-cc-card a { color: #3abdd0; text-decoration: underline; }
.sm-cc-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
#sm-consent-root .sm-cc-btn { font: 500 13.5px var(--sm-ui); border-radius: 100px; padding: 11px 22px; cursor: pointer; border: 1px solid transparent; background: transparent !important; color: #8ddbea !important; }
#sm-consent-root .sm-cc-btn-primary { background: #3abdd0 !important; color: #071520 !important; }
#sm-consent-root .sm-cc-btn-primary:hover { background: #8ddbea !important; }
#sm-consent-root .sm-cc-btn-ghost { border-color: rgba(141,219,234,.35); color: #fff !important; }
#sm-consent-root .sm-cc-btn-link { padding: 11px 6px; }
.sm-cc-toggles { display: flex; flex-direction: column; gap: 8px; margin: 6px 0 16px; }
.sm-cc-row { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: flex-start; padding: 12px 14px; background: #071520; border: 1px solid rgba(141,219,234,.12); border-radius: 8px; cursor: pointer; }
.sm-cc-row .lbl { font-size: 13.5px; font-weight: 600; color: #fff; display: block; margin-bottom: 2px; }
.sm-cc-row .desc { font-size: 12.5px; color: rgba(205,236,244,.75); line-height: 1.45; }
.sm-cc-switch { position: relative; width: 38px; height: 22px; flex-shrink: 0; align-self: center; }
.sm-cc-switch input { opacity: 0; width: 0; height: 0; position: absolute; }
.sm-cc-switch .slider { position: absolute; inset: 0; background: rgba(141,219,234,.18); border-radius: 22px; transition: background .18s; }
.sm-cc-switch .slider::before { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; background: #8ddbea; border-radius: 50%; transition: transform .18s; }
.sm-cc-switch input:checked + .slider { background: #3abdd0; }
.sm-cc-switch input:checked + .slider::before { transform: translateX(16px); background: #071520; }
.sm-cc-switch input:focus-visible + .slider { outline: 3px solid #8ddbea; outline-offset: 2px; }
.sm-cc-switch input:disabled + .slider { opacity: .55; }
.sm-cc-meta { font-size: 12px; color: #a3c7d1; margin-top: 14px; }
@media (max-width: 560px) { .sm-cc-overlay { padding: 10px; } .sm-cc-card { padding: 16px; max-height: calc(100svh - 20px); overflow-y: auto; } .sm-cc-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; } #sm-consent-root .sm-cc-btn { width: 100%; min-height: 44px; padding: 10px 8px; } #sm-consent-root .sm-cc-btn-link { grid-column: 1 / -1; } }
@media (min-width: 880px) { .sm-cc-overlay--initial { justify-content: flex-start; padding: 20px; } .sm-cc-overlay--initial .sm-cc-card { max-width: 420px; padding: 20px 22px; } }
.sm-footer-legal button.sm-cc-open { background: none !important; border: 0; padding: 0; margin-left: 12px; color: #d6e6ee !important; font: inherit; cursor: pointer; text-decoration: none; }
.sm-footer-legal button.sm-cc-open:hover { text-decoration: underline; color: #fff !important; }

/* Einrichtungs-Auswahl (zwei Optionen: remote / vor Ort) */
.sm-service-choice { border: 1px solid var(--sm-line) !important; background: var(--sm-card-soft); border-radius: var(--sm-r-m); padding: 14px 18px !important; margin: 14px 0 !important; }
.sm-service-choice legend { font: 600 15px var(--sm-display); padding: 0 6px; }
.sm-service-choice label { display: flex; gap: 10px; align-items: flex-start; margin: 8px 0; cursor: pointer; font-weight: 400; }
.sm-service-choice input { margin-top: 5px; accent-color: var(--sm-ink); }

/* Responsiv */
@media (max-width: 1100px) {
  .sm-apps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .sm-sets { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sm-hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .sm-hero h1 { max-width: 18ch; }
}
@media (max-width: 768px) {
  .sm-servicebar .col-full span:nth-child(2) { display: none; }
  .sm-header-row { grid-template-columns: 1fr auto; gap: 10px; padding: 12px 0; }
  .sm-search { grid-column: 1 / -1; grid-row: 2; max-width: none; }
  .sm-cart .amount, .sm-cart .count { display: none; }
  .sm-cart a.cart-contents { padding: 8px; }
  .sm-catnav ul { padding: 0 16px !important; }
  .sm-explorer-body { grid-template-columns: 1fr; }
  .sm-sets { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm-flow { grid-template-columns: 1fr; }
  .sm-flow li { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .sm-apps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm-person { grid-template-columns: 1fr; padding: 22px; }
  .sm-person img { max-width: 260px; }
  .sm-person dl { grid-template-columns: 1fr 1fr; }
  .sm-footer-cols { grid-template-columns: 1fr 1fr; }
  .sm-protobar { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .sm-protobar a { flex: none; }
  ul.products, ul.products.columns-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
}
@media (max-width: 520px) {
  .sm-servicebar .col-full span:nth-child(3) { display: none; }
  .sm-servicebar span { white-space: normal; }
  .sm-logo small { display: none; }
  .sm-hero-grid { padding-top: 32px; padding-bottom: 32px; }
  .sm-explorer { padding: 14px; }
  .sm-sets { grid-template-columns: 1fr; }
  .sm-footer-cols { grid-template-columns: 1fr; }
  .sm-head { flex-direction: column; align-items: start; }
}

/* ── Shop-Bausteine (mu-plugin sm-shop) ─────────────────────────── */
.sm-bildnachweis { font-size: .8rem; color: #6b7280; margin: 4px 0 0; text-align: center; }
.sm-lieferumfang { margin: 18px 0 8px; }
.sm-lieferumfang h3 { font-size: 1.05rem; margin: 0 0 6px; }
.sm-lieferumfang table { width: 100%; border-collapse: collapse; font-size: .95rem; margin: 0; }
.sm-lieferumfang th, .sm-lieferumfang td { border-bottom: 1px solid var(--sm-line); padding: 6px 4px; text-align: left; vertical-align: top; background: transparent; }
.sm-lieferumfang th:first-child, .sm-lieferumfang td:first-child { width: 3.5rem; white-space: nowrap; }
.sm-kompatibilitaet { font-size: .95rem; margin: 8px 0 14px; }

.sm-service-upsell { background: var(--sm-card-soft); border: 1px solid var(--sm-brand); border-radius: 8px; padding: 14px 16px; margin: 14px 0; }
.sm-service-upsell label { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; margin: 0; font-weight: 400; }
.sm-service-upsell input { margin-top: 5px; }
.sm-service-upsell .sm-service-hint { display: block; margin-top: 4px; font-size: .9rem; color: var(--sm-ink-soft); }

/* Bloecke unter der Produktzusammenfassung muessen die schwebenden Spalten (Galerie/Summary) freigeben,
   sonst liegt der weisse Kasten hinter Bild und Text (Thomas 14.09.2026) */
.single-product .sm-pflichtblock, .single-product .sm-passt-dazu, .single-product .sm-faq, .single-product .related, .single-product .woocommerce-tabs { clear: both; }
.sm-pflichtblock { border: 1px solid var(--sm-line); background: var(--sm-card); border-radius: 8px; padding: 16px 20px; margin: 28px 0; font-size: .92rem; }
.sm-pflichtblock h3 { margin: 0 0 8px; font-size: 1rem; }
.sm-pflichtblock ul { margin: 0 0 10px 1.1rem; padding: 0; }
.sm-pflichtblock li { margin: 0 0 4px; }
.sm-updated { color: var(--sm-ink-soft); font-size: .85rem; margin: 6px 0 0; }

.sm-widerruf p { margin: 0 0 10px; }
.sm-widerruf input { width: 100%; max-width: 32rem; padding: 8px 10px; border: 1px solid #c9d6df; border-radius: 6px; }
.sm-ok { background: #e6f8f0; border: 1px solid var(--sm-green); border-radius: 8px; padding: 12px 14px; }
.sm-err { background: #fff2d6; border: 1px solid var(--sm-amber); border-radius: 8px; padding: 12px 14px; }

/* Tabellen in Ratgebern */
.entry-content table { border-collapse: collapse; width: 100%; font-size: .95rem; }
.entry-content th, .entry-content td { border: 1px solid var(--sm-line); padding: 8px; text-align: left; vertical-align: top; }
.entry-content th { background: var(--sm-card-soft); }

.sm-filter-toggle { display: none; margin: 0 0 1rem; }
@media (max-width: 768px) {
  .sm-filter-toggle { display: inline-block; }
  #secondary { display: none; }
  #secondary.sm-open { display: block; }
}
.sm-passt-dazu { margin-top: 2rem; }

/* EU-Gewaehrleistungslabel nur klein in der Kasse, Klick oeffnet das Label gross (Thomas 03.10.2026) */
.wc-gzd-legal-guarantee-checkout img.wc-gzd-legal-guarantee-image-preview { width: 72px !important; min-width: 0 !important; height: auto !important; }
