/* ============================================================
   SW24 — consolidated stylesheet
   Sections:
     1.  Tokens
     2.  Kadence neutralization
     3.  Header shell + sticky
     4.  Logo
     5.  Search bar (integrated submit button)
     6.  Right actions (account, cart, mobile toggle)
     7.  Primary navigation (#1559ed hover)
     8.  Breadcrumb + PDP hero gap fix
     9.  WooCommerce product page
    10.  Quantity stepper (custom – / +)
    11.  Footer
    12.  Responsive
    13.  Reduced motion
   ============================================================ */

/* ====== 1. Tokens ====== */
:root {
	--sw24-primary: #0a66c2;
	--sw24-primary-dark: #084d91;
	--sw24-primary-hover: #1559ed;
	--sw24-cta: #1661e2;              /* new "Warenkorb" button blue */
	--sw24-cta-hover: #0f4dbc;
	--sw24-accent: #16a34a;
	--sw24-star: #f59e0b;             /* yellow-orange rating stars */
	--sw24-text: #0f1b2d;
	--sw24-text-muted: #5a6b7f;
	--sw24-border: #e5e9ef;
	--sw24-border-strong: #d6dce5;
	--sw24-bg: #ffffff;
	--sw24-bg-soft: #f6f8fb;
	--sw24-bg-muted: #f3f4f6;
	--sw24-radius: 6px;
	--sw24-header-height: 72px;
	--sw24-container: 1280px;
	--sw24-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	/* Darker, sharper header shadow */
	--sw24-shadow: 0 1px 0 rgba(15,27,45,.12), 0 4px 10px rgba(15,27,45,.18);
	--sw24-shadow-sticky: 0 1px 0 rgba(15,27,45,.18), 0 6px 16px rgba(15,27,45,.26);
}

/* ====== 2. Hard-hide Kadence's header/hero output ====== */
header#masthead:not(.sw24-header),
#main-header:not(.sw24-header-main),
#mobile-header,
#search-drawer,
.search-toggle-open,
.drawer-overlay[data-drawer-target-string="#search-drawer"] {
	display: none !important;
}

/* ====== 3. Header shell ====== */
.sw24-header {
	background: var(--sw24-bg);
	font-family: var(--sw24-font);
	color: var(--sw24-text);
	position: relative;
	z-index: 100;
	box-shadow: var(--sw24-shadow);
}
.sw24-header.is-sticky {
	position: sticky;
	top: 0;
	box-shadow: var(--sw24-shadow-sticky);
}
.sw24-header.is-sticky .sw24-header-inner { min-height: 60px; }

.sw24-header-inner,
.sw24-nav-inner {
	max-width: var(--sw24-container);
	margin: 0 auto;
	padding: 0 20px;
}
.sw24-header-main { background: var(--sw24-bg); }
.sw24-header-inner {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 32px;
	min-height: var(--sw24-header-height);
}

/* ====== 4. Logo — smaller ====== */
.sw24-header-logo .custom-logo-link { display: inline-block; line-height: 0; }
.sw24-header-logo img,
.sw24-header-logo .custom-logo {
	max-height: 44px;
	width: auto;
	height: auto;
}
.sw24-logo-text {
	font-size: 22px;
	font-weight: 800;
	color: var(--sw24-text);
	text-decoration: none;
	letter-spacing: -0.02em;
}
.sw24-logo-text:hover { color: var(--sw24-primary); }

/* ====== 5. Search bar — shorter, integrated submit button ====== */
.sw24-header-search {
	position: relative;
	width: 100%;
	max-width: 500px;
	justify-self: center;
}
.sw24-search-form {
	position: relative;
	width: 100%;
	background: transparent;
	border: 0;
	padding: 0;
	margin: 0;
}
.sw24-search-wrap {
	display: flex;
	align-items: stretch;
	width: 100%;
}
.sw24-search-label {
	display: flex;
	align-items: center;
	flex: 1;
	height: 44px;
	padding: 0 8px 0 16px;
	background: #fff;
	border: 1.5px solid var(--sw24-border-strong);
	border-right: 0;
	border-radius: var(--sw24-radius) 0 0 var(--sw24-radius);
	transition: border-color .15s ease;
}
.sw24-search-label:hover { border-color: #b8c1cd; }
.sw24-search-label:focus-within {
	border-color: var(--sw24-primary);
}

/* Kill native search-input decorations + inherited parent-theme styles */
input[type="search"].sw24-search-input,
.sw24-search-input {
	flex: 1;
	-webkit-appearance: none !important;
	-moz-appearance: none !important;
	appearance: none !important;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	outline: 0;
	padding: 0;
	margin: 0;
	min-width: 0;
	height: auto;
	font: inherit;
	font-size: 15px;
	font-weight: 500;
	color: var(--sw24-text);
	line-height: 1.4;
}
.sw24-search-input::placeholder { color: #8591a0; font-weight: 400; }
.sw24-search-input::-webkit-search-cancel-button,
.sw24-search-input::-webkit-search-decoration,
.sw24-search-input::-webkit-search-results-button,
.sw24-search-input::-webkit-search-results-decoration {
	-webkit-appearance: none;
	appearance: none;
	display: none;
}

.sw24-search-clear {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border: 0;
	background: transparent;
	color: var(--sw24-text-muted);
	cursor: pointer;
	border-radius: var(--sw24-radius);
	padding: 0;
	flex-shrink: 0;
}
.sw24-search-clear:hover { background: var(--sw24-bg-soft); color: var(--sw24-text); }
.sw24-search-clear .sw24-icon { width: 16px; height: 16px; }

.sw24-search-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 44px;
	padding: 0;
	margin: 0;
	border: 0;
	background: var(--sw24-primary);
	color: #fff;
	cursor: pointer;
	border-radius: 0 var(--sw24-radius) var(--sw24-radius) 0;
	transition: background .15s ease;
	flex-shrink: 0;
}
.sw24-search-submit:hover,
.sw24-search-submit:focus { background: var(--sw24-primary-dark); outline: 0; }
.sw24-search-submit:focus-visible { box-shadow: 0 0 0 3px rgba(10,102,194,.35); }
.sw24-search-submit .sw24-icon { width: 22px; height: 22px; }

/* Search results dropdown */
.sw24-search-results {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	right: 0;
	background: #fff;
	border: 1px solid var(--sw24-border);
	border-radius: var(--sw24-radius);
	box-shadow: 0 16px 48px rgba(15,27,45,.16);
	max-height: 480px;
	overflow-y: auto;
	z-index: 50;
}
.sw24-search-results[hidden] { display: none; }
.sw24-search-list { list-style: none; margin: 0; padding: 6px; }
.sw24-search-item { margin: 0; }
.sw24-search-link {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 12px;
	border-radius: 4px;
	text-decoration: none;
	color: var(--sw24-text);
	transition: background .1s ease;
}
.sw24-search-link:hover,
.sw24-search-link:focus { background: var(--sw24-bg-soft); outline: 0; }
.sw24-search-link img {
	width: 40px;
	height: 40px;
	object-fit: contain;
	border-radius: 4px;
	background: var(--sw24-bg-soft);
	flex-shrink: 0;
}
.sw24-search-meta { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.sw24-search-title {
	font-size: 14px;
	font-weight: 500;
	line-height: 1.35;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}
.sw24-search-price { font-size: 13px; font-weight: 600; color: var(--sw24-primary); }
.sw24-search-price del { color: var(--sw24-text-muted); font-weight: 400; margin-right: 6px; }
.sw24-search-empty { padding: 20px; text-align: center; color: var(--sw24-text-muted); font-size: 14px; }
.sw24-search-viewall {
	display: block;
	padding: 12px 16px;
	border-top: 1px solid var(--sw24-border);
	background: var(--sw24-bg-soft);
	font-size: 13px;
	font-weight: 600;
	color: var(--sw24-primary);
	text-align: center;
	text-decoration: none;
}
.sw24-search-viewall:hover { background: var(--sw24-border); }
.sw24-search-loading { padding: 16px; text-align: center; color: var(--sw24-text-muted); font-size: 13px; }

/* ====== 6. Right actions — slightly bigger ====== */
.sw24-header-actions { display: flex; align-items: center; gap: 6px; }
.sw24-action {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 10px 14px;
	border-radius: var(--sw24-radius);
	text-decoration: none;
	color: var(--sw24-text);
	font-size: 15px;
	font-weight: 500;
	transition: background .15s ease;
	line-height: 1;
}
.sw24-action:hover,
.sw24-action:focus { background: var(--sw24-bg-soft); color: var(--sw24-text); }
.sw24-action .sw24-icon { width: 30px; height: 30px; flex-shrink: 0; }
.sw24-action-label { white-space: nowrap; }

.sw24-cart-icon-wrap { position: relative; display: inline-flex; }
.sw24-cart-count {
	position: absolute;
	top: -6px;
	right: -8px;
	min-width: 20px;
	height: 20px;
	padding: 0 6px;
	background: var(--sw24-primary);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	line-height: 20px;
	text-align: center;
	border-radius: 10px;
	box-shadow: 0 0 0 2px #fff;
}
.sw24-cart-total { font-weight: 600; white-space: nowrap; font-size: 15px; }
.sw24-cart-total .woocommerce-Price-amount { color: var(--sw24-text); }

.sw24-mobile-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--sw24-text);
	cursor: pointer;
	border-radius: var(--sw24-radius);
}
.sw24-mobile-toggle:hover { background: var(--sw24-bg-soft); }
.sw24-mobile-toggle .sw24-icon { width: 28px; height: 28px; }

/* ====== 7. Primary navigation ====== */
.sw24-nav {
	background: var(--sw24-bg);
	border-top: 1px solid var(--sw24-border);
}
.sw24-nav-inner { display: flex; align-items: center; }
.sw24-menu {
	display: flex;
	flex-wrap: wrap;
	margin: 0;
	padding: 0;
	list-style: none;
	gap: 4px;
}
.sw24-menu > li { position: relative; margin: 0; }
.sw24-menu > li > a {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 16px;
	color: var(--sw24-text);
	font-size: 16px;
	font-weight: 700;
	letter-spacing: -.01em;
	text-decoration: none;
	transition: color .15s ease;
	border-bottom: 2px solid transparent;
}
.sw24-menu > li > a:hover,
.sw24-menu > li:focus-within > a,
.sw24-menu > li.current-menu-item > a,
.sw24-menu > li.current-menu-ancestor > a {
	color: var(--sw24-primary-hover);
	border-bottom-color: var(--sw24-primary-hover);
}

.sw24-menu .menu-item-has-children > a::after {
	content: "";
	width: 8px;
	height: 8px;
	margin-left: 4px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: rotate(45deg) translateY(-2px);
}

/* Submenus — larger text */
.sw24-menu .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 240px;
	margin: 0;
	padding: 8px;
	list-style: none;
	background: #fff;
	border: 1px solid var(--sw24-border);
	border-radius: var(--sw24-radius);
	box-shadow: 0 12px 32px rgba(15,27,45,.14);
	opacity: 0;
	visibility: hidden;
	transform: translateY(4px);
	transition: opacity .15s ease, visibility .15s ease, transform .15s ease;
	z-index: 60;
}
.sw24-menu li:hover > .sub-menu,
.sw24-menu li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}
.sw24-menu .sub-menu .sub-menu { top: 0; left: 100%; margin-left: 4px; }
.sw24-menu .sub-menu li { margin: 0; }
.sw24-menu .sub-menu a {
	display: block;
	padding: 10px 14px;
	color: var(--sw24-text);
	font-size: 15px;
	font-weight: 500;
	text-decoration: none;
	border-radius: 4px;
	white-space: nowrap;
}
.sw24-menu .sub-menu a:hover,
.sw24-menu .sub-menu li.current-menu-item > a {
	background: var(--sw24-bg-soft);
	color: var(--sw24-primary-hover);
}
.sw24-menu .sub-menu .menu-item-has-children > a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}
.sw24-menu .sub-menu .menu-item-has-children > a::after {
	content: "›";
	font-weight: 700;
	color: var(--sw24-text-muted);
	margin: 0;
	border: 0;
	transform: none;
}

/* ====== 8. Kill the gap between header and breadcrumbs ======
   Kadence sometimes emits inline padding/min-height on hero/container
   ancestors. We zero them on all Woo pages. :is() groups body + ancestor
   classes so specificity equals the old long-form selector list.
*/
:is(.single-product, .archive.woocommerce, .post-type-archive-product, .tax-product_cat, .tax-product_tag)
:is(.entry-hero, .entry-hero-container, .entry-hero-container-inner) {
	display: none !important;
}

:is(.single-product, .archive.woocommerce, .post-type-archive-product, .tax-product_cat, .tax-product_tag)
:is(#inner-wrap, #inner-wrap.wrap, #primary, #primary.content-area, .content-area, .content-container, .site-container, .site-main, #main, .entry-header, .entry-header-wrap) {
	padding-top: 0 !important;
	margin-top: 0 !important;
	min-height: 0 !important;
}
.site-main > .woocommerce-notices-wrapper:empty { display: none !important; }

/* Breadcrumbs — larger text, flush to header */
#kadence-breadcrumbs,
.kadence-breadcrumbs {
	padding: 14px 0 10px !important;
	margin: 0 !important;
	font: 500 15px/1.4 var(--sw24-font);
	color: var(--sw24-text-muted);
}
.kadence-breadcrumb-container { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 6px; }
#kadence-breadcrumbs a,
.kadence-breadcrumbs a,
#kadence-breadcrumbs a span,
.kadence-breadcrumbs a span {
	color: inherit;
	text-decoration: none;
	transition: color .15s;
}
#kadence-breadcrumbs a:hover,
.kadence-breadcrumbs a:hover,
#kadence-breadcrumbs a:hover span,
.kadence-breadcrumbs a:hover span {
	color: var(--sw24-primary-hover);
}
.kadence-breadcrumbs .kadence-bc-home { display: inline-flex; align-items: center; }
.kadence-breadcrumbs .kadence-bc-home::before {
	content: "";
	width: 16px; height: 16px;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3 9 9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'/%3E%3Cpath d='M9 22V12h6v10'/%3E%3C/svg%3E") center/contain no-repeat;
	        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3 9 9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'/%3E%3Cpath d='M9 22V12h6v10'/%3E%3C/svg%3E") center/contain no-repeat;
}
.kadence-breadcrumbs .kadence-bc-home > span {
	position: absolute;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(0,0,0,0);
	white-space: nowrap;
}
.kadence-breadcrumbs .bc-delimiter { display: inline-flex; width: 12px; height: 12px; font-size: 0; align-items: center; }
.kadence-breadcrumbs .bc-delimiter::before {
	content: "";
	width: 6px; height: 6px;
	border: 1.5px solid currentColor;
	border-left: 0; border-bottom: 0;
	transform: rotate(45deg);
	opacity: .6;
}
.kadence-breadcrumbs .kadence-bread-current { color: var(--sw24-text); font-weight: 600; }
.kadence-breadcrumbs span:has(> a > span:empty),
.kadence-breadcrumbs span:has(> a > span:empty) + .bc-delimiter { display: none; }

.product-title.product-above { padding: 8px 0; margin: 0 0 8px; }

/* ====== 9. WooCommerce product page ====== */

/* --- Product gallery: grey card behind the image, bigger image --- */
.single-product div.product .woocommerce-product-gallery {
	background: var(--sw24-bg-muted);
	border-radius: 12px;
	padding: 28px;
	position: relative;
	box-sizing: border-box;
	margin: 0 0 24px;
	width: auto !important;
	max-width: none !important;
	float: none !important;
}
.single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__wrapper,
.single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__image {
	background: transparent;
}
.single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__image img,
.single-product div.product .woocommerce-product-gallery__wrapper > div img:not(.zoomImg) {
	display: block;
	width: 100% !important;
	max-width: 100% !important;
	height: auto !important;
	margin: 0 auto;
}
/* Lightbox trigger — floats over the grey card, stays clickable */
.single-product div.product .woocommerce-product-gallery__trigger {
	top: 16px;
	right: 16px;
	background: #fff;
	box-shadow: 0 2px 8px rgba(15,27,45,.08);
}

/* --- Force grid layout so Kadence's flex/width rules can't shrink the gallery --- */
@media (min-width: 768px) {
	.single-product.woocommerce div.product {
		display: grid !important;
		grid-template-columns: 1fr 1fr;
		column-gap: 40px;
		row-gap: 24px;
		align-items: start;
	}
	.single-product.woocommerce div.product > .woocommerce-product-gallery,
	.single-product.woocommerce div.product > .summary.entry-summary {
		width: auto !important;
		max-width: none !important;
		float: none !important;
		margin: 0 !important;
	}
	/* Tabs, meta, related span both columns */
	.single-product.woocommerce div.product > .woocommerce-tabs,
	.single-product.woocommerce div.product > .product_meta,
	.single-product.woocommerce div.product > .up-sells,
	.single-product.woocommerce div.product > .related {
		grid-column: 1 / -1;
		margin-top: 24px;
	}
}

/* --- Kill the hover-zoom overlay (belt + suspenders; PHP already removed theme support) --- */
.woocommerce-product-gallery .zoomImg,
.single-product .zoomImg {
	display: none !important;
	opacity: 0 !important;
	pointer-events: none !important;
}
.single-product div.product .woocommerce-product-gallery__image { cursor: default !important; }

/* Star rating — yellow/orange */
.star-rating,
.star-rating::before,
.star-rating span,
.star-rating span::before,
.comment-form-rating .stars a,
.woocommerce .star-rating::before,
.woocommerce .star-rating span::before {
	color: var(--sw24-star) !important;
}

/* Price amount — larger */
.summary.entry-summary .woocommerce-Price-amount,
.summary.entry-summary .price .woocommerce-Price-amount,
.summary.entry-summary .price ins .woocommerce-Price-amount,
.summary.entry-summary .price > .woocommerce-Price-amount {
	font-size: 36px;
	font-weight: 800;
	letter-spacing: -.02em;
	color: var(--sw24-text);
}

.summary.entry-summary .price {
	margin: 10px 0 6px;
	font: 800 36px/1.1 var(--sw24-font);
	letter-spacing: -.02em;
	color: var(--sw24-text);
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 10px;
}
.summary.entry-summary .price del { color: #9aa5b4; font-size: 22px; font-weight: 500; }
.summary.entry-summary .price del .woocommerce-Price-amount { font-size: 22px; font-weight: 500; color: #9aa5b4; }
.summary.entry-summary .price ins { background: 0; text-decoration: none; color: var(--sw24-text); }

/* Price suffix — smaller, muted, not bold */
.woocommerce-price-suffix,
.summary.entry-summary .woocommerce-price-suffix {
	font-size: 13px !important;
	font-weight: 400 !important;
	color: var(--sw24-text-muted) !important;
	margin-left: 4px;
	letter-spacing: 0;
}

/* "In den Warenkorb" button — wider + new blue */
.single_add_to_cart_button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-width: 280px;
	min-height: 52px;
	padding: 0 40px;
	background: var(--sw24-cta);
	border: 0;
	border-radius: var(--sw24-radius);
	color: #fff;
	font: 700 16px/1 var(--sw24-font);
	cursor: pointer;
	transition: background .15s;
}
.single_add_to_cart_button::before {
	content: "";
	width: 20px; height: 20px;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8' cy='21' r='1'/%3E%3Ccircle cx='19' cy='21' r='1'/%3E%3Cpath d='M2.05 2.05h2l2.66 12.42a2 2 0 0 0 2 1.58h9.78a2 2 0 0 0 1.95-1.57l1.65-7.43H5.12'/%3E%3C/svg%3E") center/contain no-repeat;
	        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8' cy='21' r='1'/%3E%3Ccircle cx='19' cy='21' r='1'/%3E%3Cpath d='M2.05 2.05h2l2.66 12.42a2 2 0 0 0 2 1.58h9.78a2 2 0 0 0 1.95-1.57l1.65-7.43H5.12'/%3E%3C/svg%3E") center/contain no-repeat;
}
.single_add_to_cart_button:hover,
.single_add_to_cart_button:focus { background: var(--sw24-cta-hover); color: #fff; outline: 0; }
.single_add_to_cart_button:focus-visible { outline: 3px solid rgba(22,97,226,.35); outline-offset: 2px; }

.summary.entry-summary form.cart { display: flex; flex-wrap: wrap; gap: 12px; align-items: stretch; margin: 18px 0 22px; }

/* ====== 10. Quantity stepper — custom – / + buttons ====== */
.quantity.sw24-qty-stepper {
	display: inline-flex;
	align-items: stretch;
	border: 1.5px solid var(--sw24-border-strong);
	border-radius: var(--sw24-radius);
	overflow: hidden;
	background: #fff;
	height: 52px;
	transition: border-color .15s, box-shadow .15s;
}
.quantity.sw24-qty-stepper:focus-within {
	border-color: var(--sw24-primary);
	box-shadow: 0 0 0 3px rgba(10,102,194,.14);
}
.sw24-qty-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 100%;
	border: 0;
	background: #fff;
	color: var(--sw24-text);
	font: 600 22px/1 var(--sw24-font);
	cursor: pointer;
	transition: background .15s, color .15s;
	user-select: none;
	padding: 0;
}
.sw24-qty-btn:hover { background: var(--sw24-bg-soft); color: var(--sw24-primary); }
.sw24-qty-btn:disabled { color: #c8cfd8; cursor: not-allowed; background: #fff; }

.quantity.sw24-qty-stepper .qty {
	width: 56px;
	height: 100%;
	border: 0 !important;
	border-left: 1.5px solid var(--sw24-border-strong) !important;
	border-right: 1.5px solid var(--sw24-border-strong) !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	background: #fff;
	text-align: center;
	font: 600 16px/1 var(--sw24-font);
	color: var(--sw24-text);
	padding: 0;
	margin: 0;
	-moz-appearance: textfield;
	appearance: textfield;
}
.quantity.sw24-qty-stepper .qty:focus { outline: 0; }
.quantity.sw24-qty-stepper .qty::-webkit-outer-spin-button,
.quantity.sw24-qty-stepper .qty::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

/* ====== 11. Footer ====== */
.sw24-footer {
	background: var(--sw24-bg-muted);
	color: var(--sw24-text);
	font-family: var(--sw24-font);
	font-size: 14px;
	line-height: 1.6;
	margin-top: 60px;
	border-top: 1px solid var(--sw24-border);
}
.sw24-footer-inner {
	max-width: var(--sw24-container);
	margin: 0 auto;
	padding: 56px 20px 32px;
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr;
	gap: 48px;
}
.sw24-footer-col { min-width: 0; }
.sw24-footer-brand .sw24-footer-logo { margin-bottom: 16px; }
.sw24-footer-brand .sw24-footer-logo img,
.sw24-footer-brand .sw24-footer-logo .custom-logo {
	max-height: 48px;
	width: auto;
	/* Original logo — no filter needed on light background */
}
.sw24-footer-brand .sw24-logo-text { color: var(--sw24-text); }
.sw24-footer-about {
	color: var(--sw24-text);
	margin: 0 0 20px;
	max-width: 420px;
}

.sw24-footer-subheading {
	font-size: 15px;
	font-weight: 700;
	color: var(--sw24-text);
	margin: 0 0 10px;
	letter-spacing: -.01em;
}

.sw24-footer-contact-line { margin: 0 0 6px; }
.sw24-footer-contact .sw24-footer-label {
	color: var(--sw24-text-muted);
	margin-right: 6px;
	font-size: 13px;
}
.sw24-footer-contact a {
	color: var(--sw24-text);
	text-decoration: none;
	transition: color .15s;
}
.sw24-footer-contact a:hover { color: var(--sw24-primary); }
/* Email + phone: bigger and bold */
.sw24-footer-contact-primary {
	font-size: 17px;
	font-weight: 700;
	color: var(--sw24-text) !important;
	letter-spacing: -.005em;
}
.sw24-footer-contact-primary:hover { color: var(--sw24-primary) !important; text-decoration: underline; }
.sw24-footer-hours {
	color: var(--sw24-text);
	font-size: 16px;
	font-weight: 600;
	margin: 10px 0 0 !important;
}

.sw24-footer-heading {
	font-size: 17px;
	font-weight: 700;
	color: var(--sw24-text);
	margin: 0 0 16px;
	letter-spacing: -.01em;
}
/* Kontakt follows the about paragraph — slightly tighter rhythm */
.sw24-footer-heading-contact { margin: 8px 0 12px; font-size: 17px; }
.sw24-footer-list {
	list-style: none;
	margin: 0;
	padding: 0;
}
.sw24-footer-list li { margin: 0 0 10px; }
.sw24-footer-list a {
	color: var(--sw24-text);
	text-decoration: none;
	font-size: 15px;
	transition: color .15s;
}
.sw24-footer-list a:hover,
.sw24-footer-list a:focus { color: var(--sw24-primary); text-decoration: underline; }

/* ====== Payment methods ====== */
.sw24-footer-payments {
	border-top: 1px solid var(--sw24-border);
}
.sw24-footer-payments-inner {
	max-width: var(--sw24-container);
	margin: 0 auto;
	padding: 22px 20px;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 16px 28px;
}
.sw24-footer-payments-heading {
	margin: 0;
	font-size: 14px;
	color: var(--sw24-text);
	font-weight: 600;
}
.sw24-footer-payments-list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.sw24-footer-payments-list li { margin: 0; }
.sw24-footer-payments-list img {
	height: 44px;
	width: auto;
	max-width: 100%;
	display: block;
	object-fit: contain;
}

/* ====== Bottom bar ====== */
.sw24-footer-bottom {
	border-top: 1px solid var(--sw24-border);
	font-size: 13px;
	color: var(--sw24-text-muted);
}
.sw24-footer-bottom-inner {
	max-width: var(--sw24-container);
	margin: 0 auto;
	padding: 18px 20px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
}

.sw24-footer-ssl {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--sw24-text);
	font-weight: 600;
}
.sw24-footer-ssl .sw24-icon {
	width: 16px;
	height: 16px;
	color: var(--sw24-accent, #16a34a);
}

.sw24-footer-copy { color: var(--sw24-text-muted); }

/* ====== Social — bigger, with label + per-brand hover ====== */
.sw24-footer-social-wrap {
	display: inline-flex;
	align-items: center;
	gap: 12px;
}
.sw24-footer-social-label {
	color: var(--sw24-text-muted);
	font-size: 13px;
	font-weight: 600;
	white-space: nowrap;
}
.sw24-footer-social {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.sw24-footer-social li { margin: 0; }
.sw24-footer-social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: #ffffff;
	color: var(--sw24-text);
	border: 1px solid var(--sw24-border);
	transition: background .2s ease, color .2s ease, transform .15s ease, box-shadow .2s ease, border-color .2s ease;
}
.sw24-footer-social-link:focus-visible {
	outline: 0;
	box-shadow: 0 0 0 3px rgba(10,102,194,.25);
}
.sw24-footer-social-link:hover,
.sw24-footer-social-link:focus {
	transform: translateY(-2px);
	outline: 0;
	border-color: transparent;
}
/* Per-brand hover so the section feels alive on interaction */
.sw24-footer-social-instagram:hover,
.sw24-footer-social-instagram:focus {
	background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
	color: #fff;
}
.sw24-footer-social-facebook:hover,
.sw24-footer-social-facebook:focus {
	background: #1877f2;
	color: #fff;
}
.sw24-footer-social-linkedin:hover,
.sw24-footer-social-linkedin:focus {
	background: #0a66c2;
	color: #fff;
}
.sw24-footer-social .sw24-icon { width: 20px; height: 20px; }

/* ====== 12. Responsive ====== */
@media (max-width: 960px) {
	.sw24-header-inner {
		grid-template-columns: auto 1fr auto;
		grid-template-rows: auto auto;
		gap: 10px 8px;
		padding-top: 10px;
		padding-bottom: 10px;
		min-height: 0;
	}
	.sw24-header-logo { grid-column: 1; grid-row: 1; }
	.sw24-header-actions { grid-column: 3; grid-row: 1; justify-self: end; }
	.sw24-header-search { grid-column: 1 / -1; grid-row: 2; max-width: 100%; }
	.sw24-header-logo img,
	.sw24-header-logo .custom-logo { max-height: 38px; }

	/* Mobile actions: account icon stays, label and cart total hide */
	.sw24-action-account .sw24-action-label,
	.sw24-action-cart .sw24-cart-total { display: none; }
	.sw24-action { padding: 8px; gap: 0; }
	.sw24-action .sw24-icon { width: 24px; height: 24px; }
	.sw24-mobile-toggle { display: inline-flex; }

	.sw24-nav { display: none; border-top: 1px solid var(--sw24-border); }
	.sw24-nav.is-open { display: block; }
	.sw24-nav-inner { padding-top: 8px; padding-bottom: 8px; }
	.sw24-menu { flex-direction: column; width: 100%; gap: 0; }
	.sw24-menu > li,
	.sw24-menu .sub-menu li { width: 100%; }
	.sw24-menu > li > a {
		padding: 14px 4px;
		font-size: 15px;
		border-bottom: 1px solid var(--sw24-border);
	}
	.sw24-menu > li:last-child > a { border-bottom: 0; }
	.sw24-menu .sub-menu {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		box-shadow: none;
		border: 0;
		padding: 0 0 8px 16px;
		background: transparent;
		min-width: 0;
	}
	.sw24-menu .sub-menu a { padding: 10px 8px; font-size: 14px; }
	.sw24-menu .sub-menu .sub-menu { margin-left: 0; padding-left: 16px; }
	.sw24-menu .menu-item-has-children > a::after { display: none; }

	.single_add_to_cart_button { flex: 1; min-width: 0; padding: 0 24px; }

	#kadence-breadcrumbs,
	.kadence-breadcrumbs { font-size: 13px; padding: 10px 0 6px !important; }
	.product-title.product-above { padding: 6px 0 4px; }

	.summary.entry-summary .woocommerce-Price-amount,
	.summary.entry-summary .price { font-size: 28px; }

	/* Product gallery stacks + tighter padding on mobile */
	.single-product.woocommerce div.product .woocommerce-product-gallery,
	.single-product.woocommerce div.product .summary.entry-summary {
		width: 100%;
		float: none;
	}
	.single-product div.product .woocommerce-product-gallery {
		padding: 20px;
		border-radius: 8px;
	}
	.single-product div.product .woocommerce-product-gallery__trigger {
		top: 10px;
		right: 10px;
	}

	/* Footer: stack + accordion */
	.sw24-footer-inner {
		grid-template-columns: 1fr;
		gap: 0;
		padding: 32px 20px 16px;
	}
	.sw24-footer-about { max-width: 100%; }
	.sw24-footer-brand { padding-bottom: 24px; }

	/* Accordion behavior — only active when JS flips `.sw24-footer-js` on. */
	.sw24-footer-js .sw24-footer-col-accordion {
		border-top: 1px solid var(--sw24-border);
	}
	.sw24-footer-js .sw24-footer-col-accordion:last-of-type {
		border-bottom: 1px solid var(--sw24-border);
	}
	.sw24-footer-js .sw24-footer-col-accordion .sw24-footer-heading {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 16px;
		margin: 0;
		padding: 16px 0;
		font-size: 16px;
		cursor: pointer;
		user-select: none;
	}
	.sw24-footer-js .sw24-footer-col-accordion .sw24-footer-heading::after {
		content: "";
		width: 10px;
		height: 10px;
		border-right: 2px solid currentColor;
		border-bottom: 2px solid currentColor;
		transform: rotate(45deg) translate(-2px, -2px);
		transition: transform .2s ease;
	}
	.sw24-footer-js .sw24-footer-col-accordion.is-open .sw24-footer-heading::after {
		transform: rotate(-135deg) translate(-1px, -1px);
	}
	.sw24-footer-js .sw24-footer-col-accordion .sw24-footer-list {
		max-height: 0;
		overflow: hidden;
		transition: max-height .3s ease, padding .3s ease;
	}
	.sw24-footer-js .sw24-footer-col-accordion.is-open .sw24-footer-list {
		max-height: 600px;
		padding-bottom: 12px;
	}

	/* Payments + bottom bar: center on mobile */
	.sw24-footer-payments-inner {
		flex-direction: column;
		align-items: flex-start;
		padding: 16px 20px;
		gap: 10px;
	}
	.sw24-footer-payments-list {
		width: 100%;
		flex-wrap: nowrap;
		gap: 6px;
		justify-content: flex-start;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
	}
	.sw24-footer-payments-list::-webkit-scrollbar { display: none; }
	.sw24-footer-payments-list li { flex-shrink: 0; }
	.sw24-footer-payments-list img { height: 30px; flex-shrink: 0; }

	.sw24-footer-bottom-inner {
		flex-direction: column;
		justify-content: center;
		text-align: center;
		gap: 12px;
	}
}

@media (max-width: 480px) {
	.sw24-header-inner,
	.sw24-nav-inner { padding-left: 14px; padding-right: 14px; }
	.sw24-search-input { font-size: 16px; } /* prevent iOS zoom */
	.sw24-search-submit { width: 48px; }
	.sw24-header-logo img,
	.sw24-header-logo .custom-logo { max-height: 34px; }
}

/* ====== 13. Reduced motion ====== */
@media (prefers-reduced-motion: reduce) {
	.sw24-search-label,
	.sw24-search-submit,
	.sw24-action,
	.sw24-menu > li > a,
	.sw24-menu .sub-menu,
	.sw24-qty-btn,
	.quantity.sw24-qty-stepper,
	.single_add_to_cart_button,
	.sw24-footer-contact a,
	.sw24-footer-list a { transition: none; }
}
