/* snushafen.de – global design layer (ported from Lovable "Snushafen de" tokens).
   Loads after flatsome-main / flatsome-shop / flatsome-style. */

:root {
	--snh-bg: #ffffff;
	--snh-fg: #1e1b19;
	--snh-primary: #405644;
	--snh-primary-fg: #fbfaf8;
	--snh-secondary: #f5f2ee;
	--snh-muted: #ece8e2;
	--snh-muted-fg: #67625c;
	--snh-clay: #9d663e;
	--snh-clay-soft: #f8e8db;
	--snh-moss-soft: #e5f0e7;
	--snh-moss-mid: #c8decc;
	--snh-moss-deep: #293e2d;
	--snh-slate-soft: #e3edf4;
	--snh-badge-new: #1a5370;
	--snh-badge-rated: #f1dda5;
	--snh-badge-rated-fg: #3b321e;
	--snh-success: #3f774d;
	--snh-ink: #282623;
	--snh-ink-fg: #ebe7e2;
	--snh-border: #e4e1db;
	--snh-input: #dbd7d0;
	--snh-radius: 14px;
	--snh-radius-xl: 18px;
	--snh-radius-2xl: 22px;
	--snh-radius-3xl: 26px;
	--snh-shadow: 0 1px 2px rgba(60, 50, 40, .06), 0 8px 24px -12px rgba(60, 50, 40, .18);
	--snh-font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
	--snh-container: 1280px;
	--snh-gutter: 16px;
}
@media (min-width: 768px) { :root { --snh-gutter: 24px; } }

body {
	font-family: var(--snh-font);
	color: var(--snh-fg);
	-webkit-font-smoothing: antialiased;
	font-feature-settings: "cv11", "ss01";
}
:focus-visible { outline: 2px solid var(--snh-primary); outline-offset: 2px; }

/* ---------- Primitives ---------- */
.snh-element { font-family: var(--snh-font); color: var(--snh-fg); }
.snh-element *, .snh-element *::before, .snh-element *::after { box-sizing: border-box; }
.snh-element h1, .snh-element h2, .snh-element h3, .snh-element p, .snh-element ul, .snh-element ol, .snh-element figure { margin: 0; padding: 0; }
.snh-element ul, .snh-element ol { list-style: none; }
.snh-element li { margin: 0; }
.snh-element a { color: inherit; text-decoration: none; }
.snh-element img { display: block; max-width: 100%; }
.snh-element button { font: inherit; }

.snh-container { width: 100%; max-width: var(--snh-container); margin-inline: auto; padding-inline: var(--snh-gutter); }
.snh-section { padding-block: 40px; }
@media (min-width: 768px) { .snh-section { padding-block: 48px; } }

.snh-h2 { font-size: 20px; line-height: 1.25; font-weight: 600; letter-spacing: -0.015em; color: var(--snh-fg); }
@media (min-width: 768px) { .snh-h2 { font-size: 24px; } }
.snh-muted { color: var(--snh-muted-fg); }
.snh-tabular { font-variant-numeric: tabular-nums; }

.snh-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.snh-more { display: inline-flex; flex-shrink: 0; align-items: center; gap: 4px; font-size: 14px; font-weight: 500; color: var(--snh-primary) !important; }
.snh-more:hover { text-decoration: underline; text-underline-offset: 4px; }

.snh-icon { width: 20px; height: 20px; flex-shrink: 0; }
.snh-icon--sm { width: 14px; height: 14px; }
.snh-icon--xs { width: 12px; height: 12px; }

.snh-meter { display: inline-flex; gap: 3px; min-width: 0; }
.snh-meter__step { display: block; width: 14px; min-width: 4px; height: 6px; border-radius: 99px; background: var(--snh-muted); flex-shrink: 1; }
.snh-meter__step.is-on { background: var(--snh-primary); }

.snh-media-placeholder { width: 100%; height: 100%; min-height: inherit; background:
	linear-gradient(135deg, var(--snh-secondary) 0%, var(--snh-muted) 100%); display: grid; place-items: center; }
.snh-media-placeholder span { font-size: 12px; color: var(--snh-muted-fg); }

.snh-pill {
	display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--snh-input); background: var(--snh-bg);
	border-radius: 99px; padding: 8px 16px; font-size: 14px; line-height: 1.2; color: var(--snh-fg); transition: border-color .15s, background .15s, color .15s;
}
.snh-pill:hover { border-color: var(--snh-primary); }
.snh-pill.is-active, .snh-pill[aria-current="true"] { background: var(--snh-fg); border-color: var(--snh-fg); color: var(--snh-bg); }

.snh-builder-notice { padding: 16px; border: 1px dashed var(--snh-input); border-radius: var(--snh-radius); font-size: 13px; color: var(--snh-muted-fg); }

/* ---------- Product card (WooCommerce loop + btjek_produkt_raster) ---------- */
.snh-card {
	position: relative; display: flex; flex-direction: column; height: 100%;
	background: #fff; border: 1px solid var(--snh-border); border-radius: var(--snh-radius-xl); padding: 10px;
	transition: border-color .2s, box-shadow .2s; container-type: inline-size; text-align: left;
}
.snh-card:hover { border-color: var(--snh-moss-mid); box-shadow: var(--snh-shadow); }
.snh-card__media { position: relative; overflow: hidden; border-radius: var(--snh-radius); background: var(--snh-secondary); aspect-ratio: 1 / 1; }
.snh-card__media img { width: 100%; height: 100%; object-fit: contain; transition: transform .5s; }
.snh-card:hover .snh-card__media img { transform: scale(1.03); }
.snh-card__badges { position: absolute; left: 8px; top: 8px; display: flex; flex-wrap: wrap; gap: 4px; max-width: calc(100% - 16px); z-index: 2; }
.snh-badge { display: inline-flex; align-items: center; border-radius: 99px; padding: 3px 8px; font-size: 11px; font-weight: 600; line-height: 1.3; }
.snh-badge--bestseller { background: var(--snh-moss-deep); color: var(--snh-primary-fg); }
.snh-badge--neu { background: var(--snh-badge-new); color: var(--snh-primary-fg); }
.snh-badge--sale { background: var(--snh-clay); color: var(--snh-primary-fg); }
.snh-badge--out { background: var(--snh-ink); color: var(--snh-ink-fg); }
.snh-card.is-out .snh-card__media img { opacity: .55; filter: grayscale(.6); }
.snh-card__add--out { background: transparent; color: var(--snh-ink); box-shadow: inset 0 0 0 1.5px currentColor; }
.snh-card__add--out:hover { background: var(--snh-ink); color: var(--snh-ink-fg); }
.snh-card__strength {
	position: absolute; left: 10px; bottom: 10px; display: flex; align-items: center; gap: 6px; max-width: calc(100% - 20px);
	background: rgba(255,255,255,.95); border-radius: 99px; padding: 4px 8px; font-size: 11px; color: var(--snh-muted-fg); box-shadow: var(--snh-shadow); z-index: 2;
}
.snh-card__strength strong { color: var(--snh-fg); font-weight: 500; font-variant-numeric: tabular-nums; }
.snh-card__stars { display: inline-flex; align-items: center; gap: 3px; white-space: nowrap; font-size: 12px; }
.snh-card__strength > strong + .snh-card__stars { margin-left: 2px; padding-left: 8px; border-left: 1px solid var(--snh-border); }
.snh-card__stars .snh-icon { width: 14px; height: 14px; color: #c8952c; fill: #c8952c; }
.snh-card__stars strong { font-weight: 600; }
.snh-card__stars-n { color: var(--snh-muted-fg); }
.snh-card__body { display: flex; flex: 1; flex-direction: column; min-width: 0; padding: 12px 4px 4px; }
.snh-card__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.snh-card__title { font-size: 14px !important; line-height: 1.35 !important; font-weight: 600 !important; margin: 0 !important; min-width: 0; }
.snh-card__title a { color: var(--snh-fg) !important; }
.snh-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.snh-card__per { flex-shrink: 0; text-align: right; font-size: 11px; line-height: 1.35; color: var(--snh-muted-fg); white-space: nowrap; font-variant-numeric: tabular-nums; }
.snh-card__per span { display: block; }
.snh-card__meta { margin-top: 2px; font-size: 12px; color: var(--snh-muted-fg); font-variant-numeric: tabular-nums; }
.snh-card__note { margin-top: 6px; font-size: 12px; color: rgba(30,27,25,.8); }
.snh-card__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 12px; }
.snh-card__price { font-size: 15px; font-weight: 700; line-height: 1.2; color: var(--snh-fg); font-variant-numeric: tabular-nums; }
.snh-card__price del { margin-right: 6px; font-size: 12px; font-weight: 400; color: var(--snh-muted-fg); }
.snh-card__price ins { text-decoration: none; color: var(--snh-clay); }
.snh-card__price small { font-size: 12px; font-weight: 400; color: var(--snh-muted-fg); white-space: nowrap; }
.snh-card__rating { display: flex; align-items: center; gap: 4px; margin-top: 4px; font-size: 11px; color: var(--snh-muted-fg); }
.snh-card__rating .snh-icon { color: var(--snh-primary); fill: var(--snh-primary); }
.snh-card__add {
	position: relative; z-index: 3; display: grid; place-items: center; width: 36px; height: 36px; flex-shrink: 0;
	border-radius: 99px; background: var(--snh-fg); color: var(--snh-bg) !important; transition: background .15s;
}
.snh-card__add:hover { background: var(--snh-primary); }
.snh-card__add .snh-icon { width: 16px; height: 16px; }
.snh-card__add.loading { opacity: .6; }
.snh-card__add.added::after { display: none; }
.snh-card + .added_to_cart, .snh-card .added_to_cart { display: none !important; }
@container (max-width: 180px) { .snh-card__meta { font-size: 11px; } }
@container (max-width: 210px) { .snh-card__rating-label { display: none; } }

.snh-grid { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 640px) { .snh-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .snh-grid--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); } .snh-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* WooCommerce archive: let the card own the box. */
.products .product-small.snh-loop-item .col-inner { height: 100%; }
.products .product-small.snh-loop-item { padding-bottom: 24px; }

/* ---------- Flatsome header (Tilpas → Header) ---------- */
#top-bar.header-top { font-size: 12px; }
.snh-topbar { display: flex; align-items: center; justify-content: center; gap: 24px; margin: 0; padding: 0; list-style: none; color: rgba(251,250,248,.8); white-space: nowrap; overflow: hidden; }
.snh-topbar li { margin: 0; display: none; }
.snh-topbar li:first-child { display: block; }
@media (min-width: 640px) { .snh-topbar li:nth-child(2) { display: block; } }
@media (min-width: 768px) { .snh-topbar li:nth-child(3) { display: block; } .snh-topbar { justify-content: space-between; } }
@media (min-width: 1024px) { .snh-topbar li { display: block; } }
#top-bar .flex-col.flex-center, #top-bar .html.custom { width: 100%; }
#top-bar .header-nav-center { width: 100%; justify-content: center; }
#top-bar .header-nav-center > li.html { flex: 1; margin: 0; }

.header-main { border-bottom: 1px solid var(--snh-border); }
.header-main .searchform-wrapper { max-width: 672px; margin-inline: auto; width: 100%; }
.header-main #logo { margin-right: 24px; }
.header-main .flex-left.flex-grow { flex: 1 1 auto; }
.header-main .header-search-form, .header-main .header-search-form .searchform-wrapper { width: 100%; }
.header-search-form .searchform .search-field,
.header-search-form input[type="search"] {
	height: 44px !important; border-radius: 99px !important; border: 1px solid var(--snh-input) !important; background: var(--snh-secondary) !important;
	box-shadow: none !important; padding-left: 44px !important; font-size: 14px; color: var(--snh-fg);
}
.header-search-form input[type="search"]:focus { background: #fff !important; border-color: var(--snh-primary) !important; }
.header-main .flex-left.flex-grow > .header-nav { width: 100%; }
.header-main li.header-search-form { width: 100%; max-width: 672px; margin-inline: auto; }
.header-search-form .searchform .flex-row { position: relative; }
.header-search-form .searchform .flex-row > .flex-col.flex-grow { width: 100%; padding: 0; margin: 0; }
.header-search-form .searchform .flex-row > .flex-col:last-child { position: absolute; left: 6px; top: 0; bottom: 0; display: flex; align-items: center; z-index: 2; padding: 0; margin: 0; }
.header-search-form .ux-search-submit.button.icon { min-height: 0; width: 32px; height: 32px; margin: 0; padding: 0; background: transparent !important; border: 0 !important; color: var(--snh-muted-fg) !important; box-shadow: none !important; }
.header-search-form .ux-search-submit .icon-search { font-size: 15px; }

/* Konto / Warenkorb labels under the icons (Lovable IconLink). */
.header-main .account-item > a, .header-main .cart-item > a { display: inline-flex; flex-direction: column; align-items: center; gap: 2px; padding: 4px 8px; }
.header-main .account-item > a::after { content: "Konto"; font-size: 11px; font-weight: 400; line-height: 1; }
.header-main .cart-item > a.header-cart-link::after { content: "Warenkorb"; font-size: 11px; font-weight: 400; line-height: 1; }
.header-main .account-item i, .header-main .cart-item i { font-size: 18px; }

.header-main .header-nav-main > li > a,
.header-main .account-item > a, .header-main .cart-item > a { color: var(--snh-fg); }
.header-main .header-nav-main > li > a:hover { color: var(--snh-primary); }
.header-main .cart-icon strong, .header-main .cart-icon .cart-count { background: var(--snh-primary); border-color: var(--snh-primary); color: #fff; }

.header-bottom { border-bottom: 1px solid var(--snh-border); background: #fff !important; }
.header-bottom .nav > li > a { font-size: 14px; font-weight: 400; color: rgba(30,27,25,.85); padding-inline: 10px; }
.header-bottom .nav > li > a:hover, .header-bottom .nav > li.active > a { color: var(--snh-fg); }
.header-bottom .nav-line-bottom > li > a::before { background-color: var(--snh-fg); height: 2px; }
.header-bottom .nav > li.snh-nav-angebote > a { color: var(--snh-clay); font-weight: 500; }
.header-bottom .nav-dropdown { border: 1px solid var(--snh-border); border-radius: var(--snh-radius); box-shadow: var(--snh-shadow); padding: 12px 0; }
.header-bottom .nav-dropdown > li > a { font-size: 14px; color: var(--snh-muted-fg); }
.header-bottom .nav-dropdown > li > a:hover { color: var(--snh-fg); }

/* Header in einer Zeile: Logo · Hauptnavigation · kompakte Suche · Konto · Warenkorb */
@media (min-width: 850px) {
	.header-main .flex-left.flex-grow > .header-nav { width: auto; }
	.header-main .header-nav-main { gap: 2px; flex-wrap: nowrap; }
	.header-main .header-nav-main > li { flex-shrink: 0; }
	.header-main .header-nav-main > li > a { white-space: nowrap; flex-wrap: nowrap; }
	.header-main li.header-search-form { flex-shrink: 1; min-width: 140px; }
	.header-main .header-nav-main > li > a { font-size: 15px; font-weight: 500; padding: 0 12px; height: 100%; }
	.header-main .header-nav-main > li.snh-has-mega:hover > a, .header-main .header-nav-main > li.active > a { color: var(--snh-primary); }
	.header-main li.header-search-form { width: 240px; max-width: none; margin: 0 12px 0 0; }
	.header-main .header-search-form .searchform-wrapper { max-width: none; }
	.header-search-form .searchform .search-field, .header-search-form input[type="search"] { height: 40px !important; }
}
@media (min-width: 1300px) { .header-main li.header-search-form { width: 300px; } }
@media (min-width: 1051px) and (max-width: 1299px) {
	.header-main .header-nav-main > li > a { padding: 0 9px; }
	.header-main li.header-search-form { width: 200px; }
}
@media (min-width: 850px) and (max-width: 1050px) {
	.header-main #logo { margin-right: 8px; }
	.header-main .header-nav-main > li > a { padding: 0 8px; font-size: 14px; }
	.header-main li.header-search-form { width: 150px; }
}

/* ---------- Buttons (Flatsome .button within shop) ---------- */
.button.primary, .single_add_to_carts_button, button.single_add_to_cart_button, .checkout-button {
	border-radius: 99px !important; text-transform: none !important; letter-spacing: 0 !important; font-weight: 500;
}

/* ---------- Footer block wrapper ---------- */
.footer-wrapper .absolute-footer { background: var(--snh-ink) !important; color: rgba(235,231,226,.7); border-top: 1px solid rgba(235,231,226,.15); }

@media (prefers-reduced-motion: reduce) {
	.snh-element *, .snh-card, .snh-card * { transition: none !important; animation: none !important; }
}

/* Custom footer block replaces Flatsome's absolute footer bar (copyright lives in btjek_footer). */
.footer-wrapper .absolute-footer { display: none; }
.snh-single-meta { display: flex; align-items: center; gap: 8px; margin: -4px 0 16px; font-size: 13px; color: var(--snh-muted-fg); }

/* Flatsome sets uppercase on dl/dt/th/legend – neutralise inside our elements. */
.snh-element dl, .snh-element dt, .snh-element dd, .snh-element th, .snh-element legend, .snh-element label { text-transform: none; letter-spacing: 0; }

/* Shared breadcrumb (btjek_seiten_intro, btjek_hilfe_suche) */
.snh-seiten-intro__crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; padding: 16px 0 !important; font-size: 12px; color: var(--snh-muted-fg); }
.snh-seiten-intro__crumbs li { display: flex; align-items: center; }
.snh-seiten-intro__crumbs a { color: var(--snh-muted-fg) !important; }
.snh-seiten-intro__crumbs [aria-current] { color: var(--snh-fg); }
.snh-topbar li { align-items: center; gap: 6px; }
.snh-topbar li:nth-child(n) { display: none; }
.snh-topbar li:first-child { display: flex; }
@media (min-width: 640px) { .snh-topbar li:nth-child(2) { display: flex; } }
@media (min-width: 768px) { .snh-topbar li:nth-child(3) { display: flex; } }
@media (min-width: 1024px) { .snh-topbar li:nth-child(n) { display: flex; } }
.snh-topbar__icon { width: 13px; height: 13px; color: rgba(251,250,248,.9); }

/* Trust badge (btjek_bewertungs_badge, cart, checkout) */
.snh-trust { font-size: 14px; color: var(--snh-fg); }
.snh-trust--card { border: 1px solid var(--snh-border); border-radius: var(--snh-radius-2xl); background: #fff; padding: 16px 20px; }
.snh-trust--inline { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; border: 1px solid var(--snh-border); border-radius: var(--snh-radius-2xl); background: #fff; padding: 14px 16px; }
.snh-trust__heading { margin-bottom: 6px !important; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--snh-muted-fg); }
.snh-trust__row { display: flex; align-items: center; gap: 10px; }
.snh-trust__score { font-size: 28px; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
.snh-trust__stars { display: inline-flex; gap: 3px; }
.snh-trust__star { position: relative; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 4px; background: linear-gradient(90deg, var(--snh-primary) var(--fill), var(--snh-muted) var(--fill)); }
.snh-trust__star .snh-icon { width: 14px; height: 14px; color: #fff; fill: #fff; }
.snh-trust--inline .snh-trust__star { width: 18px; height: 18px; }
.snh-trust--inline .snh-trust__star .snh-icon { width: 11px; height: 11px; }
.snh-trust__text { margin-top: 8px !important; color: var(--snh-muted-fg); }
.snh-trust__text strong { color: var(--snh-fg); }
.snh-trust__src { margin-top: 2px !important; font-size: 12px; color: var(--snh-muted-fg); }
.snh-trust a { color: var(--snh-primary) !important; text-decoration: underline; }
.snh-cart__aside .snh-trust, .snh-co__aside .snh-trust { margin-top: 16px; }

/* Mobile App-Leiste */
.snh-appbar { display: none; }
@media (max-width: 849px) {
	.snh-appbar { position: fixed; inset: auto 0 0 0; z-index: 70; display: block; border-top: 1px solid var(--snh-border); background: rgba(255,255,255,.97); backdrop-filter: blur(10px); padding-bottom: env(safe-area-inset-bottom); }
	.snh-appbar ul { display: grid; grid-template-columns: repeat(5, 1fr); margin: 0; padding: 0; list-style: none; }
	.snh-appbar li { margin: 0; }
	.snh-appbar a { position: relative; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 8px 0 7px; font-size: 11px; font-weight: 500; line-height: 1; color: var(--snh-muted-fg) !important; }
	.snh-appbar a[aria-current="page"] { color: var(--snh-primary) !important; }
	.snh-appbar a[aria-current="page"]::before { content: ""; position: absolute; top: 0; left: 30%; right: 30%; height: 2px; border-radius: 2px; background: var(--snh-primary); }
	.snh-appbar__count { position: absolute; top: 4px; left: calc(50% + 6px); min-width: 17px; height: 17px; border-radius: 99px; background: var(--snh-primary); padding: 0 4px; font-size: 10px; font-weight: 600; line-height: 17px; text-align: center; color: #fff; }
	.snh-appbar__count[hidden] { display: none; }
	body.has-snh-appbar { padding-bottom: calc(60px + env(safe-area-inset-bottom)); }
	/* Kauf- und Filterleiste sitzen direkt auf der App-Leiste (Höhe misst snh-brands.php → --snh-appbar-h). */
	body.has-snh-appbar .snh-mobile-buy,
	body.has-snh-appbar .snh-mobile-bar { bottom: var(--snh-appbar-h, calc(53px + env(safe-area-inset-bottom))) !important; }
	body.has-snh-appbar:has(.snh-mobile-bar) { padding-bottom: calc(135px + env(safe-area-inset-bottom)); }
	body.has-snh-appbar.single-product { padding-bottom: calc(132px + env(safe-area-inset-bottom)); }
}

/* Schnellsuche (Vollbild) */
.snh-qs[hidden] { display: none !important; }
.snh-qs { position: fixed; inset: 0; z-index: 1000; display: flex; flex-direction: column; background: var(--snh-bg, #fff); }
html.snh-qs-open, html.snh-qs-open body { overflow: hidden; }
.snh-qs__bar { display: flex; align-items: center; gap: 10px; margin: 0; border-bottom: 1px solid var(--snh-border); padding: 12px 16px; padding-top: calc(12px + env(safe-area-inset-top)); }
.snh-qs__bar .snh-icon { flex: none; color: var(--snh-muted-fg); }
.snh-qs__bar input[type="search"] { flex: 1; height: 44px !important; margin: 0 !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; padding: 0 !important; font-size: 17px !important; color: var(--snh-fg); }
.snh-qs__close { flex: none; height: 36px; margin: 0; border: 0; background: none; padding: 0 4px; font-size: 15px; font-weight: 500; text-transform: none; letter-spacing: 0; color: var(--snh-primary); box-shadow: none; }
.snh-qs__body { flex: 1; overflow-y: auto; padding: 8px 16px calc(24px + env(safe-area-inset-bottom)); -webkit-overflow-scrolling: touch; }
.snh-qs__sec { margin: 16px 0 0; }
.snh-qs__sec h2 { margin: 0 0 10px; font-size: 13px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; color: var(--snh-muted-fg); }
.snh-qs__brands { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 0 !important; padding: 0; list-style: none; }
.snh-qs__brands li { margin: 0 !important; }
.snh-qs__brands a { display: grid; place-items: center; height: 56px; border: 1px solid var(--snh-border); border-radius: 12px; background: #fff; padding: 8px 10px; color: var(--snh-fg) !important; }
.snh-qs__logo { max-width: 100%; max-height: 28px; object-fit: contain; }
.snh-qs__word { font-size: 14px; font-weight: 700; }
.snh-qs__chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 !important; padding: 0; list-style: none; }
.snh-qs__chips li { margin: 0 !important; }
.snh-qs__chips a { display: inline-flex; align-items: center; gap: 6px; height: 38px; border-radius: 99px; background: var(--snh-secondary); padding: 0 14px; font-size: 14px; font-weight: 500; color: var(--snh-fg) !important; }
.snh-qs__chips span { font-size: 12px; color: var(--snh-muted-fg); }
.snh-qs__results { margin: 0 !important; padding: 0; list-style: none; }
.snh-qs__results li { margin: 0 !important; border-bottom: 1px solid var(--snh-border); }
.snh-qs__results a { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px 0; color: var(--snh-fg) !important; }
.snh-qs__results img { width: 48px; height: 48px; border-radius: 10px; background: var(--snh-secondary); object-fit: contain; }
.snh-qs__rtxt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.snh-qs__rtxt strong { overflow: hidden; font-size: 15px; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.snh-qs__rtxt small { font-size: 12.5px; color: var(--snh-muted-fg); }
.snh-qs__rprice { font-size: 14px; font-weight: 500; }
.snh-qs__all { display: block; margin: 16px 0 0; border-radius: 99px; background: var(--snh-fg); padding: 13px 16px; text-align: center; font-size: 15px; font-weight: 500; color: #fff !important; }
.snh-qs__none { margin: 16px 0 0 !important; font-size: 15px; color: var(--snh-fg); }
@media (min-width: 850px) { .snh-qs { inset: 0; background: rgba(30,27,25,.45); align-items: center; padding-top: 8vh; } .snh-qs__bar, .snh-qs__body { width: min(680px, 92vw); background: #fff; } .snh-qs__bar { border-radius: 16px 16px 0 0; } .snh-qs__body { flex: 0 1 auto; max-height: 70vh; border-radius: 0 0 16px 16px; } }

/* Keine Treffer */
.snh-noresult { max-width: 680px; padding: 8px 0 24px; text-align: left; }
.snh-noresult__h { margin: 0 0 4px !important; font-size: 20px; font-weight: 600; color: var(--snh-fg); }
.snh-noresult__form { display: flex; align-items: center; gap: 10px; margin: 16px 0 8px; border: 1px solid var(--snh-input); border-radius: 99px; background: #fff; padding: 4px 4px 4px 16px; }
.snh-noresult__form input[type="search"] { flex: 1; height: 42px !important; margin: 0 !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; font-size: 15px !important; }
.snh-noresult__form button { height: 40px; margin: 0; border: 0; border-radius: 99px; background: var(--snh-primary); padding: 0 18px; font-size: 14px; font-weight: 500; text-transform: none; letter-spacing: 0; color: #fff; }
.snh-noresult .snh-qs__brands { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); }
.snh-qs { z-index: 2147483000 !important; }

/* Tekstlinks i brødtekst (ønske 2026-11-21): understreg <a> i afsnit (<p>) og listepunkter (<li>)
   i indholdsområderne, så interne links kan ses. Farven ændres ikke (temaets/containerens linkfarve beholdes).
   Scopet til indholdscontainere: produktbeskrivelse, kategori-/mærke-/smagsintro, Kaufberatung, FAQ-svar,
   Ratgeber-artikler, SEO-tekst/sideintro og almindelige Flatsome-sider. Knapper, nav, header, footer, kort,
   chips og pagination ligger uden for disse containere; knapklasser og billedlinks er desuden undtaget. */
:is(.snh-ppanel__prose, .snh-intro__text, .snh-guide__items, .snh-accordion details, .snh-faq__list details, .snh-article__content, .snh-seo-text__prose, .snh-seiten-intro__text) :is(p, li) a:not(.button, .btn, [class*="button"]),
.page .content-area .col-inner > :is(p, ul > li, ol > li) a:not(.button, .btn, [class*="button"]) {
	text-decoration-line: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}
:is(.snh-ppanel__prose, .snh-intro__text, .snh-guide__items, .snh-accordion details, .snh-faq__list details, .snh-article__content, .snh-seo-text__prose, .snh-seiten-intro__text) :is(p, li) a:not(.button, .btn, [class*="button"]):hover,
.page .content-area .col-inner > :is(p, ul > li, ol > li) a:not(.button, .btn, [class*="button"]):hover { text-decoration-thickness: 2px; }
/* Links der omslutter billeder: ingen understregning (egen regel, så ældre browsere uden :has() stadig får reglen ovenfor). */
:is(.snh-ppanel__prose, .snh-intro__text, .snh-guide__items, .snh-accordion details, .snh-faq__list details, .snh-article__content, .snh-seo-text__prose, .snh-seiten-intro__text, .page .content-area .col-inner) a:has(img, picture, svg) { text-decoration-line: none; }
