/*
Theme Name: Center Ice 2026
Theme URI: https://centerice.de
Author: nuonic Digital
Author URI: https://nuonic.de
Description: Shop-Theme für Center Ice – heller Kopfbereich, Blau als Primärfarbe, dunkle Sektionen. Ausgelegt für WooCommerce.
Version: 1.0.1
Requires at least: 6.4
Requires PHP: 8.1
License: Proprietary
Text Domain: centerice-2026
*/

/* ----------------------------------------------------------------------------
   Tokens
---------------------------------------------------------------------------- */
:root {
	--ci-blue: #1a56c4;
	--ci-blue-dark: #12408f;
	--ci-blue-light: #8fb8ff;
	--ci-ink: #1e1e1e;
	--ci-text: #3d3d3d;
	--ci-muted: #555555;
	--ci-line: #e3e3e3;
	--ci-field: #cfcfcf;
	--ci-soft: #f4f4f4;
	--ci-hero: #f4f6f9;
	--ci-dark: #1e1e1e;
	--ci-dark-2: #2b2b2b;
	--ci-dark-text: #d6d6d6;
	--ci-success: #1d6b3a;
	--ci-radius: 6px;
	--ci-radius-s: 4px;
	--ci-wrap: 1280px;
	--ci-gutter: 32px;
	--ci-font: 'Open Sans', Helvetica, Arial, sans-serif;
	--ci-display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
}

/* ----------------------------------------------------------------------------
   Base
---------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: #ffffff;
	color: var(--ci-ink);
	font-family: var(--ci-font);
	font-size: 16px;
	line-height: 1.6;
}
img { max-width: 100%; height: auto; }
a { color: var(--ci-blue); text-decoration: none; }
a:hover { color: var(--ci-blue-dark); }
p { margin: 0 0 1em; }
h1, h2, h3, h4, h5, h6 {
	margin: 0 0 0.5em;
	font-family: var(--ci-display);
	font-weight: 800;
	line-height: 1.05;
	text-transform: uppercase;
	color: var(--ci-ink);
}
h1 { font-size: clamp(40px, 6vw, 60px); }
h2 { font-size: clamp(32px, 4vw, 44px); }
h3 { font-size: 28px; font-weight: 700; }
h4, h5, h6 { font-size: 22px; font-weight: 700; }
:focus-visible { outline: 3px solid var(--ci-blue); outline-offset: 2px; }
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link:focus {
	position: fixed; top: 8px; left: 8px; z-index: 1000; width: auto; height: auto; clip: auto;
	padding: 12px 16px; background: #ffffff; color: var(--ci-ink); border-radius: var(--ci-radius-s);
}

.ci-wrap { max-width: var(--ci-wrap); margin: 0 auto; padding-left: var(--ci-gutter); padding-right: var(--ci-gutter); }
.ci-kicker {
	font-family: var(--ci-display); font-weight: 700; font-size: 18px; letter-spacing: 0.16em;
	text-transform: uppercase; color: var(--ci-blue);
}
.ci-section { padding: 72px 0; }
.ci-section--soft { background: var(--ci-soft); }
.ci-section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 28px; }
.ci-section-head h2 { margin: 0; }
.ci-more { font-weight: 700; }

/* Dark sections */
.ci-dark { background: var(--ci-dark); color: #ffffff; }
.ci-dark h1, .ci-dark h2, .ci-dark h3, .ci-dark h4 { color: #ffffff; }
.ci-dark p { color: var(--ci-dark-text); }
.ci-dark a { color: #ffffff; }
.ci-dark a:hover { color: var(--ci-blue-light); }
.ci-dark .ci-btn:hover { color: #ffffff; }
.ci-dark .ci-kicker { color: var(--ci-blue-light); }

/* Buttons */
.ci-btn,
.button,
button.button,
input.button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.wp-block-button__link,
.wc-block-components-button:not(.is-link) {
	display: inline-flex !important; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px; padding: 0 24px;
	border: 2px solid var(--ci-blue); border-radius: var(--ci-radius-s);
	background: var(--ci-blue); color: #ffffff;
	font-family: var(--ci-font); font-size: 15px; font-weight: 700; line-height: 1.2; text-decoration: none;
	cursor: pointer; transition: background-color 0.15s, border-color 0.15s;
}
.ci-btn:hover,
.button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.wp-block-button__link:hover,
.wc-block-components-button:not(.is-link):hover {
	background: var(--ci-blue-dark); border-color: var(--ci-blue-dark); color: #ffffff;
}
.ci-btn--ghost { background: transparent; border-color: var(--ci-ink); color: var(--ci-ink); }
.ci-btn--ghost:hover { background: var(--ci-ink); border-color: var(--ci-ink); color: #ffffff; }
.ci-btn--lg { min-height: 52px; padding: 0 28px; font-size: 16px; }
.woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt { background: var(--ci-blue); border-color: var(--ci-blue); color: #ffffff; }
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover { background: var(--ci-blue-dark); border-color: var(--ci-blue-dark); }
.woocommerce button.button:disabled, .woocommerce button.button.disabled, .woocommerce button.button.alt.disabled {
	background: #8a8a8a; border-color: #8a8a8a; color: #ffffff; opacity: 1; cursor: not-allowed;
}

/* Forms */
input[type="text"], input[type="email"], input[type="tel"], input[type="password"], input[type="search"],
input[type="number"], input[type="url"], textarea, select {
	min-height: 44px; padding: 8px 12px;
	border: 1px solid var(--ci-field); border-radius: var(--ci-radius-s);
	background: #ffffff; color: var(--ci-ink); font: inherit; font-size: 15px;
}
textarea { min-height: 120px; }
input[type="checkbox"], input[type="radio"] { accent-color: var(--ci-blue); }

/* ----------------------------------------------------------------------------
   Header
---------------------------------------------------------------------------- */
.ci-header { background: #ffffff; border-bottom: 1px solid var(--ci-line); position: relative; z-index: 50; }
.ci-header__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 0 28px; padding-top: 16px; }
.ci-logo { display: flex; align-items: center; flex: 0 0 auto; padding-bottom: 12px; }
.ci-logo img, .ci-logo .custom-logo { height: 44px; width: auto; display: block; }
.ci-logo__text { font-family: var(--ci-display); font-weight: 800; font-size: 30px; text-transform: uppercase; color: var(--ci-ink); }
/* Navigation sits on its own row below logo and tools. */
.ci-nav { order: 3; flex: 1 1 100%; border-top: 1px solid var(--ci-line); padding: 6px 0 4px; }
.ci-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 26px; }
.ci-nav li { position: relative; }
.ci-nav a {
	display: inline-block; padding: 6px 0;
	font-family: var(--ci-display); font-weight: 700; font-size: 19px; letter-spacing: 0.04em; text-transform: uppercase;
	color: var(--ci-ink); border-bottom: 3px solid transparent;
}
.ci-nav a:hover { color: var(--ci-blue); }
.ci-nav .current-menu-item > a,
.ci-nav .current-menu-ancestor > a,
.ci-nav .current-product_cat-ancestor > a { color: var(--ci-blue); border-bottom-color: var(--ci-blue); }
.ci-nav .sub-menu {
	display: none; position: absolute; top: 100%; left: -16px; min-width: 240px; padding: 8px 0;
	background: #ffffff; border: 1px solid var(--ci-line); border-radius: var(--ci-radius); box-shadow: 0 12px 32px rgba(0,0,0,0.08);
	flex-direction: column; gap: 0;
}
.ci-nav li:hover > .sub-menu, .ci-nav li:focus-within > .sub-menu { display: flex; }
.ci-nav .sub-menu a { display: block; padding: 8px 16px; font-family: var(--ci-font); font-size: 15px; font-weight: 600; letter-spacing: 0; text-transform: none; border: 0; }
.ci-header__tools { display: flex; align-items: center; gap: 8px; margin-left: auto; padding-bottom: 12px; }
.ci-search { display: flex; }
.ci-search input[type="search"] { width: 200px; height: 44px; }
.ci-search button { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.ci-icon-btn {
	width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
	border: 1px solid var(--ci-field); border-radius: var(--ci-radius-s); color: var(--ci-ink); background: #ffffff;
}
.ci-icon-btn:hover { border-color: var(--ci-ink); color: var(--ci-ink); }
.ci-cart {
	height: 44px; display: inline-flex; align-items: center; gap: 8px; padding: 0 14px;
	background: var(--ci-blue); color: #ffffff; border-radius: var(--ci-radius-s); font-weight: 700; font-size: 14px;
}
.ci-cart:hover { background: var(--ci-blue-dark); color: #ffffff; }
.ci-nav-toggle { display: none; }

@media (max-width: 900px) {
	.ci-header__bar { gap: 12px; padding-bottom: 12px; }
	.ci-logo, .ci-header__tools { padding-bottom: 0; }
	.ci-logo img, .ci-logo .custom-logo { height: 32px; }
	.ci-search { display: none; }
	.ci-nav-toggle { display: inline-flex; }
	.ci-nav { display: none; border-top: 0; padding: 0; }
	.ci-header.is-open .ci-nav { display: block; }
	.ci-nav ul { flex-direction: column; gap: 0; }
	.ci-nav a { display: block; padding: 10px 0; border-bottom: 1px solid var(--ci-line); }
	.ci-nav .sub-menu { display: flex; position: static; border: 0; box-shadow: none; padding: 0 0 0 16px; }
	.ci-header.is-open .ci-search-mobile { display: block; }
}
.ci-search-mobile { display: none; padding-bottom: 16px; }
.ci-search-mobile input[type="search"] { width: 100%; }

/* WooCommerce store notice as a top bar */
.woocommerce-store-notice, p.demo_store {
	position: static !important; margin: 0; padding: 10px 16px;
	background: var(--ci-blue) !important; color: #ffffff; font-size: 14px; font-weight: 600; text-align: center; box-shadow: none;
}
.woocommerce-store-notice a, p.demo_store a { color: #ffffff; text-decoration: underline; }
body.woocommerce-demo-store { margin-top: 0 !important; }

/* ----------------------------------------------------------------------------
   Front page
---------------------------------------------------------------------------- */
.ci-hero { background: var(--ci-hero); }
.ci-hero__inner { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; padding-top: 72px; padding-bottom: 80px; }
.ci-hero__text { flex: 1 1 460px; display: flex; flex-direction: column; gap: 24px; }
.ci-hero__text h1 { margin: 0; font-size: clamp(44px, 6vw, 76px); line-height: 0.95; }
.ci-hero__text p { margin: 0; font-size: 18px; color: var(--ci-text); max-width: 540px; }
.ci-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.ci-hero__note {
	margin: 0; display: inline-flex; align-items: flex-start; gap: 10px; align-self: flex-start;
	padding: 12px 16px; border-radius: var(--ci-radius); background: #e3ecfb; color: var(--ci-ink); font-size: 15px; line-height: 1.45;
}
.ci-hero__note svg { flex: 0 0 auto; color: var(--ci-blue); margin-top: 1px; }
.ci-badge {
	display: inline-block; align-self: flex-start; padding: 6px 12px; border-radius: 999px;
	background: var(--ci-blue); color: #ffffff; font-family: var(--ci-display); font-weight: 700; font-size: 18px;
	letter-spacing: 0.06em; text-transform: uppercase; line-height: 1.1;
}
.ci-service__hours { margin: 4px 0 0; display: flex; flex-direction: column; gap: 4px; font-size: 15px; }
.ci-service__hours div { display: flex; gap: 12px; }
.ci-service__hours dt { min-width: 72px; font-weight: 700; color: #ffffff; }
.ci-service__hours dd { margin: 0; color: var(--ci-dark-text); }
.ci-hero__media { flex: 1 1 420px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ci-hero__tile { background: #ffffff; border-radius: var(--ci-radius); aspect-ratio: 1; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.ci-hero__tile:nth-child(2) { margin-top: 48px; }
.ci-hero__tile img { width: 88%; height: 88%; object-fit: contain; }

.ci-cats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1000px) { .ci-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ci-cat {
	display: flex; flex-direction: column; gap: 8px; padding: 20px;
	background: var(--ci-soft); border-radius: var(--ci-radius); color: var(--ci-ink);
	transition: background-color 0.15s;
}
.ci-cat:hover { background: #ebeef3; color: var(--ci-ink); }
.ci-cat__img { height: 170px; display: flex; align-items: center; justify-content: center; }
.ci-cat__img img { max-height: 100%; width: auto; object-fit: contain; mix-blend-mode: multiply; }
.ci-cat__name { font-family: var(--ci-display); font-weight: 700; font-size: 24px; text-transform: uppercase; line-height: 1.1; }
.ci-cat__meta { font-size: 14px; color: var(--ci-muted); }

.ci-service { display: flex; flex-wrap: wrap; gap: 48px; }
.ci-service__intro { flex: 1 1 340px; display: flex; flex-direction: column; gap: 16px; }
.ci-service__intro h2 { margin: 0; }
.ci-service__intro p { margin: 0; }
.ci-service__list { flex: 2 1 560px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.ci-service__item { background: var(--ci-dark-2); border-radius: var(--ci-radius); padding: 20px; display: flex; justify-content: space-between; align-items: start; gap: 12px; }
.ci-service__name { font-weight: 600; }
.ci-service__note { display: block; font-size: 14px; color: #b5b5b5; font-weight: 400; }
.ci-service__price { font-family: var(--ci-display); font-weight: 700; font-size: 24px; white-space: nowrap; }

.ci-news { display: flex; flex-wrap: wrap; gap: 48px; }
.ci-news__head { flex: 1 1 280px; }
.ci-news__body { flex: 2 1 560px; color: var(--ci-text); }

.ci-brands {
	display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px 40px; padding-top: 48px; padding-bottom: 48px;
	font-family: var(--ci-display); font-weight: 800; font-size: 30px; letter-spacing: 0.06em; text-transform: uppercase; color: #8a8a8a;
}

/* ----------------------------------------------------------------------------
   Content pages
---------------------------------------------------------------------------- */
.ci-page-head { background: var(--ci-soft); }
.ci-page-head__inner { padding-top: 40px; padding-bottom: 36px; display: flex; flex-direction: column; gap: 10px; }
.ci-page-head h1 { margin: 0; line-height: 1; }
.ci-page-head__desc { color: var(--ci-text); max-width: 720px; }
.ci-page-head__desc p:last-child { margin-bottom: 0; }
.ci-main { padding-top: 40px; padding-bottom: 72px; }
.ci-content { max-width: 860px; color: var(--ci-text); }
.ci-content h2, .ci-content h3 { margin-top: 1.4em; }
.ci-content ul, .ci-content ol { padding-left: 1.3em; }
.ci-content iframe { max-width: 100%; }
.ci-content--wide { max-width: none; }
.ci-entry + .ci-entry { margin-top: 48px; padding-top: 48px; border-top: 1px solid var(--ci-line); }

.ci-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.ci-chip {
	min-height: 40px; display: inline-flex; align-items: center; padding: 0 16px; border-radius: 20px;
	background: #ffffff; border: 1px solid var(--ci-field); color: var(--ci-ink); font-weight: 600; font-size: 14px;
}
.ci-chip:hover { border-color: var(--ci-ink); color: var(--ci-ink); }
.ci-chip.is-active { background: var(--ci-ink); border-color: var(--ci-ink); color: #ffffff; }

/* Sub-category strip on shop / category pages */
.ci-subcats { margin-top: 14px; }
.ci-subcats ul {
	list-style: none; margin: 0; padding: 2px 0 6px; display: flex; gap: 10px;
	overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: thin;
}
.ci-subcats li { flex: 0 0 auto; scroll-snap-align: start; }
.ci-subcat {
	display: flex; align-items: center; gap: 12px; height: 76px; padding: 8px 16px 8px 8px;
	background: #ffffff; border: 1px solid var(--ci-line); border-radius: var(--ci-radius); color: var(--ci-ink);
	transition: border-color 0.15s, box-shadow 0.15s;
}
.ci-subcat:hover { border-color: var(--ci-ink); color: var(--ci-ink); }
.ci-subcat.is-active { border: 2px solid var(--ci-blue); box-shadow: 0 0 0 3px rgba(26, 86, 196, 0.12); }
.ci-subcat__img {
	width: 58px; height: 58px; flex: 0 0 auto; display: flex; align-items: center; justify-content: center;
	background: var(--ci-soft); border-radius: var(--ci-radius-s); overflow: hidden; color: var(--ci-muted);
}
.ci-subcat__img img { width: 100%; height: 100%; object-fit: contain; padding: 4px; mix-blend-mode: multiply; }
.ci-subcat__text { display: flex; flex-direction: column; line-height: 1.2; white-space: nowrap; }
.ci-subcat__name { font-family: var(--ci-display); font-weight: 700; font-size: 19px; text-transform: uppercase; }
.ci-subcat__count { font-size: 13px; color: var(--ci-muted); }
.ci-subcat--all .ci-subcat__img { background: transparent; border: 1px dashed var(--ci-field); }

/* Toolbar: result count | in-stock switch + ordering */
.ci-toolbar__right { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.ci-toggle { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--ci-ink); font-weight: 600; font-size: 14px; }
.ci-toggle:hover { color: var(--ci-ink); }
.ci-toggle__track { position: relative; width: 40px; height: 24px; border-radius: 12px; background: #c4c4c4; transition: background-color 0.15s; }
.ci-toggle__track::after {
	content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%;
	background: #ffffff; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25); transition: transform 0.15s;
}
.ci-toggle.is-on .ci-toggle__track { background: var(--ci-blue); }
.ci-toggle.is-on .ci-toggle__track::after { transform: translateX(16px); }
.woocommerce .ci-toolbar .woocommerce-ordering select { min-height: 44px; }

/* Breadcrumbs */
.woocommerce .woocommerce-breadcrumb, .ci-breadcrumb { margin: 0; font-size: 13px; color: var(--ci-muted); }
.woocommerce .woocommerce-breadcrumb a, .ci-breadcrumb a { color: var(--ci-muted); }
.woocommerce .woocommerce-breadcrumb a:hover { color: var(--ci-blue); }

/* ----------------------------------------------------------------------------
   WooCommerce – product grid
---------------------------------------------------------------------------- */
.ci-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 20px; font-size: 14px; color: var(--ci-muted); }
.woocommerce .ci-toolbar .woocommerce-result-count, .woocommerce .ci-toolbar .woocommerce-ordering { float: none; margin: 0; }

.woocommerce ul.products, .woocommerce-page ul.products, ul.products {
	display: grid !important; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 32px 20px;
	margin: 0 0 32px !important; padding: 0; list-style: none;
}
.woocommerce ul.products::before, .woocommerce ul.products::after,
.woocommerce-page ul.products::before, .woocommerce-page ul.products::after { display: none !important; }
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product {
	width: auto !important; float: none !important; margin: 0 !important; padding: 0;
	display: flex; flex-direction: column; gap: 8px;
}
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link { display: flex; flex-direction: column; gap: 8px; color: var(--ci-ink); }
.woocommerce ul.products li.product a img {
	width: 100%; aspect-ratio: 1; object-fit: contain; margin: 0 !important; padding: 7%;
	background: var(--ci-soft); border-radius: var(--ci-radius); mix-blend-mode: multiply;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title, .woocommerce ul.products li.product h2, .woocommerce ul.products li.product h3 {
	padding: 0 !important; margin: 0; font-family: var(--ci-font); font-size: 15px !important; font-weight: 600; line-height: 1.35; text-transform: none;
}
.woocommerce ul.products li.product .price {
	display: block; margin: 0 !important; color: var(--ci-ink) !important;
	font-family: var(--ci-display); font-weight: 700; font-size: 24px !important; line-height: 1.1;
}
.woocommerce ul.products li.product .price del { font-size: 16px; color: var(--ci-muted); }
.woocommerce ul.products li.product .price ins { text-decoration: none; }
.woocommerce ul.products li.product .button { margin-top: auto !important; align-self: stretch; width: 100%; min-height: 44px; padding: 0 18px; font-size: 14px; text-align: center; }
.woocommerce ul.products li.product .wc-gzd-additional-info, .woocommerce ul.products li.product .wc-gzd-additional-info-loop,
.woocommerce ul.products li.product .tax-info, .woocommerce ul.products li.product .shipping-costs-info, .woocommerce ul.products li.product .delivery-time-info {
	margin: 0; font-size: 12px; color: var(--ci-muted);
}
.woocommerce ul.products li.product .onsale, .woocommerce span.onsale {
	top: 10px; left: 10px; right: auto; margin: 0; min-width: 0; min-height: 0; padding: 4px 8px;
	border-radius: 3px; background: var(--ci-blue); font-size: 12px; line-height: 1.4;
}
/* Badges sit above the product image (the image's mix-blend-mode creates its own stacking layer). */
.woocommerce ul.products li.product .onsale, .woocommerce span.onsale { z-index: 3; }
.woocommerce ul.products li.product .ci-stock-badge {
	z-index: 3;
	position: absolute; top: 10px; left: 10px; padding: 4px 8px; border-radius: 3px;
	background: var(--ci-ink); color: #ffffff; font-size: 12px; font-weight: 700;
}
.woocommerce ul.products li.product { position: relative; }
.woocommerce ul.products li.product.outofstock img { opacity: 0.5; }

/* Subcategory tiles inside product loops */
.woocommerce ul.products li.product-category a { display: flex; flex-direction: column; gap: 8px; padding: 20px; background: var(--ci-soft); border-radius: var(--ci-radius); color: var(--ci-ink); height: 100%; }
.woocommerce ul.products li.product-category a img { padding: 0; background: transparent; height: 170px; }
.woocommerce ul.products li.product-category .woocommerce-loop-category__title {
	font-family: var(--ci-display) !important; font-weight: 700; font-size: 24px !important; text-transform: uppercase;
}
.woocommerce ul.products li.product-category .count { background: none; color: var(--ci-muted); font-family: var(--ci-font); font-size: 14px; font-weight: 400; }

/* Pagination */
.woocommerce nav.woocommerce-pagination ul { border: 0; display: inline-flex; gap: 6px; }
.woocommerce nav.woocommerce-pagination ul li { border: 0; }
.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span {
	min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center;
	border: 1px solid var(--ci-field); border-radius: var(--ci-radius-s); color: var(--ci-ink); font-weight: 600;
}
.woocommerce nav.woocommerce-pagination ul li span.current { background: var(--ci-ink); border-color: var(--ci-ink); color: #ffffff; }

/* ----------------------------------------------------------------------------
   WooCommerce – single product
---------------------------------------------------------------------------- */
.ci-single-head { padding-top: 28px; }
.woocommerce div.product { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; padding-top: 24px; }
.woocommerce div.product div.images, .woocommerce div.product div.summary {
	float: none !important; width: auto !important; margin: 0 !important;
}
.woocommerce div.product div.images { flex: 1 1 520px; min-width: 0; }
.woocommerce div.product div.summary { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.woocommerce div.product div.images .woocommerce-product-gallery__wrapper { background: var(--ci-soft); border-radius: var(--ci-radius); overflow: hidden; }
.woocommerce div.product div.images img { mix-blend-mode: multiply; }
.woocommerce div.product div.images .flex-control-thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin-top: 8px; }
.woocommerce div.product div.images .flex-control-thumbs li { width: auto !important; margin: 0 !important; }
.woocommerce div.product div.images .flex-control-thumbs img { background: var(--ci-soft); border-radius: var(--ci-radius-s); }
.woocommerce div.product .product_title { margin: 0; font-size: clamp(36px, 4.5vw, 56px); line-height: 1; }
.woocommerce div.product p.price, .woocommerce div.product span.price {
	margin: 0; color: var(--ci-ink); font-family: var(--ci-display); font-weight: 800; font-size: 44px; line-height: 1;
}
.woocommerce div.product .woocommerce-product-details__short-description { color: var(--ci-text); }
.woocommerce div.product .legal-price-info, .woocommerce div.product .wc-gzd-additional-info { font-size: 13px; color: var(--ci-muted); margin: 0; }
.woocommerce div.product form.cart { margin: 8px 0 0 !important; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.woocommerce div.product form.cart::before, .woocommerce div.product form.cart::after { display: none; }
.woocommerce div.product form.cart.variations_form { display: block; }
.woocommerce div.product form.cart .variations { margin: 0 0 16px; border: 0; width: 100%; }
.woocommerce div.product form.cart .variations th, .woocommerce div.product form.cart .variations td { display: block; padding: 0; text-align: left; line-height: 1.4; }
.woocommerce div.product form.cart .variations label { font-weight: 700; font-size: 15px; display: block; margin-bottom: 8px; }
.woocommerce div.product form.cart .variations select { width: 100%; max-width: 360px; min-height: 48px; margin: 0 0 8px; }
.woocommerce div.product form.cart .reset_variations { font-size: 13px; }

/* Size picker (buttons mirror the hidden select) */
.ci-swatches { display: flex; flex-wrap: wrap; gap: 8px; max-width: 520px; margin-bottom: 8px; }
.ci-swatch {
	flex: 0 1 auto; min-width: 84px; max-width: 100%; overflow-wrap: anywhere;
	min-height: 48px; padding: 6px 12px; border: 2px solid var(--ci-field); border-radius: var(--ci-radius-s);
	background: #ffffff; color: var(--ci-ink); font: inherit; font-size: 15px; font-weight: 700; line-height: 1.2;
	cursor: pointer; transition: border-color 0.12s, background-color 0.12s;
}
.ci-swatch:hover { border-color: var(--ci-ink); }
.ci-swatch.is-selected { background: var(--ci-ink); border-color: var(--ci-ink); color: #ffffff; }
.ci-swatch.is-soldout { background: var(--ci-soft); border-style: dashed; color: #8a8a8a; text-decoration: line-through; cursor: not-allowed; }
.ci-swatch.is-soldout:hover { border-color: var(--ci-field); }
.woocommerce div.product form.cart .variations select.ci-swatch-select {
	position: absolute !important; width: 1px !important; height: 1px !important; min-height: 0 !important;
	padding: 0 !important; margin: 0 !important; overflow: hidden; clip: rect(0 0 0 0); border: 0; opacity: 0; pointer-events: none;
}
.woocommerce div.product form.cart .variations td.value { position: relative; }
.woocommerce div.product form.cart .single_add_to_cart_button.disabled,
.woocommerce div.product form.cart .single_add_to_cart_button.wc-variation-selection-needed {
	background: #8a8a8a !important; border-color: #8a8a8a !important; opacity: 1 !important; cursor: not-allowed;
}
.woocommerce div.product form.cart .single_variation_wrap .woocommerce-variation-add-to-cart { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.woocommerce div.product form.cart .single_variation { margin-bottom: 12px; }
.woocommerce .quantity .qty { width: 80px; min-height: 52px; text-align: center; }
.woocommerce div.product form.cart .button { min-height: 56px; padding: 0 32px; font-size: 17px; float: none; }
.woocommerce div.product .stock { margin: 0; font-weight: 600; font-size: 14px; }
.woocommerce div.product .stock.in-stock { color: var(--ci-success); }
.woocommerce div.product .stock.out-of-stock { color: #a12a2a; }
.woocommerce div.product .product_meta { font-size: 13px; color: var(--ci-muted); display: flex; flex-direction: column; gap: 4px; }
.ci-pickup { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; font-size: 14px; }
.ci-pickup div { background: var(--ci-soft); border-radius: var(--ci-radius); padding: 14px 16px; line-height: 1.45; }

/* Tabs */
.woocommerce div.product .woocommerce-tabs { flex: 1 1 100%; padding-top: 32px; border-top: 1px solid var(--ci-line); }
.woocommerce div.product .woocommerce-tabs ul.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; padding: 0; overflow: visible; }
.woocommerce div.product .woocommerce-tabs ul.tabs::before, .woocommerce div.product .woocommerce-tabs ul.tabs::after { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li {
	margin: 0; padding: 0; border: 0; border-radius: 20px; background: transparent;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
	min-height: 44px; display: inline-flex; align-items: center; padding: 0 18px; border-radius: 22px;
	border: 1px solid var(--ci-field); color: var(--ci-ink); font-weight: 700; font-size: 15px;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { background: var(--ci-ink); border-color: var(--ci-ink); color: #ffffff; }
.woocommerce div.product .woocommerce-tabs .panel { margin: 0; padding: 0; background: transparent; color: var(--ci-text); max-width: 860px; }
.woocommerce div.product .woocommerce-tabs .panel > h2:first-child { display: none; }
.woocommerce div.product .woocommerce-tabs .panel iframe { max-width: 100%; }
.woocommerce table.shop_attributes { border: 0; }
.woocommerce table.shop_attributes th, .woocommerce table.shop_attributes td { border-bottom: 1px solid var(--ci-line); padding: 10px 12px; font-style: normal; }
.woocommerce table.shop_attributes tr:nth-child(even) th, .woocommerce table.shop_attributes tr:nth-child(even) td { background: transparent; }

/* Related / upsells */
.woocommerce div.product .related, .woocommerce div.product .upsells { flex: 1 1 100%; padding-top: 32px; }
.woocommerce div.product .related > h2, .woocommerce div.product .upsells > h2 { font-size: 34px; }

/* Workshop band below the product */
.ci-band { margin-top: 56px; }
.ci-band__inner { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between; padding-top: 48px; padding-bottom: 48px; }
.ci-band__text { flex: 1 1 520px; }
.ci-band__text h2 { margin: 0 0 8px; font-size: 34px; }
.ci-band__text p { margin: 0; }

/* ----------------------------------------------------------------------------
   WooCommerce – notices, cart, checkout, account
---------------------------------------------------------------------------- */
.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-noreviews, p.no-comments {
	border: 0; border-left: 0; border-radius: var(--ci-radius); background: var(--ci-hero); color: var(--ci-ink); padding: 16px 20px 16px 52px;
}
.woocommerce-message::before, .woocommerce-info::before { color: var(--ci-blue); top: 16px; }
.woocommerce-error { background: #fbeaea; }
.woocommerce-error::before { color: #a12a2a; top: 16px; }
.woocommerce-message .button, .woocommerce-info .button { min-height: 40px; }
.woocommerce table.shop_table { border-radius: var(--ci-radius); border-color: var(--ci-line); }
.woocommerce table.shop_table th { font-weight: 700; }
.woocommerce table.shop_table td, .woocommerce table.shop_table th { border-color: var(--ci-line); }
.woocommerce-checkout h3 { font-size: 28px; }

/* Disabled buttons stay grey, also on hover. */
.woocommerce .button.disabled, .woocommerce .button:disabled, .woocommerce .button[disabled],
.woocommerce .button.disabled:hover, .woocommerce .button:disabled:hover, .woocommerce .button[disabled]:hover {
	background: #8a8a8a !important; border-color: #8a8a8a !important; color: #ffffff !important; opacity: 1 !important; cursor: not-allowed;
}

/* ---- Cart ---- */
.woocommerce-cart .ci-content .woocommerce { display: flex; flex-wrap: wrap; gap: 32px 48px; align-items: flex-start; }
.woocommerce-cart .ci-content .woocommerce > .woocommerce-notices-wrapper { flex: 1 1 100%; }
.woocommerce-cart .ci-content .woocommerce > .woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-cart .woocommerce-cart-form { flex: 2 1 620px; min-width: 0; }
.woocommerce-cart .cart-collaterals { flex: 1 1 340px; min-width: 0; position: sticky; top: 24px; }
.woocommerce-cart .cart-collaterals .cart_totals { float: none; width: 100%; }
/* Cross-sells: compact full-width row below the cart */
.woocommerce-cart .cross-sells { flex: 1 1 100%; float: none; width: 100%; margin-top: 16px; padding-top: 32px; border-top: 1px solid var(--ci-line); }
.woocommerce-cart .cross-sells > h2 { margin: 0 0 20px; font-size: 26px; }
.woocommerce-cart .cross-sells ul.products { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-bottom: 0 !important; }
.woocommerce-cart .cross-sells ul.products li.product { gap: 6px; }
.woocommerce-cart .cross-sells ul.products li.product a img { aspect-ratio: 4 / 3; padding: 6%; }
.woocommerce-cart .cross-sells ul.products li.product .woocommerce-loop-product__title { font-size: 14px !important; }
.woocommerce-cart .cross-sells ul.products li.product .price { font-size: 20px !important; }
.woocommerce-cart .cross-sells ul.products li.product .wc-gzd-additional-info,
.woocommerce-cart .cross-sells ul.products li.product .delivery-time-info,
.woocommerce-cart .cross-sells ul.products li.product .tax-info,
.woocommerce-cart .cross-sells ul.products li.product .shipping-costs-info { display: none; }
.woocommerce-cart .cross-sells ul.products li.product .button { min-height: 40px; padding: 0 14px; font-size: 13px; }
@media (max-width: 760px) { .woocommerce-cart .cross-sells ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.woocommerce-cart table.shop_table.cart { border: 0; border-collapse: collapse; margin: 0; }
.woocommerce-cart table.shop_table.cart thead th {
	padding: 0 12px 12px; border: 0; border-bottom: 2px solid var(--ci-ink);
	font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ci-muted);
}
.woocommerce-cart table.shop_table.cart td { padding: 20px 12px; border: 0; border-bottom: 1px solid var(--ci-line); vertical-align: middle; }
.woocommerce-cart table.cart td.product-thumbnail { width: 112px; padding-left: 0; }
.woocommerce-cart table.cart td.product-thumbnail img {
	width: 96px; height: 96px; object-fit: contain; padding: 8px; display: block;
	background: var(--ci-soft); border-radius: var(--ci-radius); mix-blend-mode: multiply;
}
.woocommerce-cart table.cart td.product-name { font-size: 14px; color: var(--ci-muted); line-height: 1.5; }
.woocommerce-cart table.cart td.product-name > a { display: block; margin-bottom: 4px; color: var(--ci-ink); font-size: 16px; font-weight: 700; }
.woocommerce-cart table.cart td.product-name > a:hover { color: var(--ci-blue); }
.woocommerce-cart table.cart td.product-name dl.variation { margin: 0; font-size: 14px; }
.woocommerce-cart table.cart td.product-name dl.variation dt, .woocommerce-cart table.cart td.product-name dl.variation dd { margin: 0; font-weight: 400; }
.woocommerce-cart table.cart td.product-name p { margin: 0; }
.woocommerce-cart table.cart td.product-price { color: var(--ci-muted); font-size: 15px; white-space: nowrap; }
.woocommerce-cart table.cart td.product-subtotal { font-family: var(--ci-display); font-weight: 700; font-size: 22px; white-space: nowrap; text-align: right; }
.woocommerce-cart table.cart th.product-subtotal { text-align: right; }
.woocommerce-cart table.cart td.product-quantity .qty { width: 72px; min-height: 44px; }
.woocommerce-cart table.cart td.product-remove { width: 48px; padding-left: 0; padding-right: 0; }
.woocommerce-cart table.cart td.product-remove a.remove {
	width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center;
	border: 1px solid var(--ci-field); border-radius: 50%; color: var(--ci-muted) !important; background: #ffffff;
	font-size: 20px; font-weight: 400; line-height: 1;
}
.woocommerce-cart table.cart td.product-remove a.remove:hover { border-color: #a12a2a; background: #a12a2a; color: #ffffff !important; }
.woocommerce-cart table.cart td.actions { padding: 20px 0 0; border-bottom: 0; }
.woocommerce-cart table.cart td.actions .coupon { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.woocommerce-cart table.cart td.actions .coupon .input-text { width: 220px !important; min-height: 48px; margin: 0 !important; padding: 8px 12px !important; }
.woocommerce-cart table.cart td.actions .button {
	background: #ffffff; border-color: var(--ci-ink); color: var(--ci-ink); min-height: 48px; font-size: 14px;
}
.woocommerce-cart table.cart td.actions .button:hover { background: var(--ci-ink); border-color: var(--ci-ink); color: #ffffff; }
.woocommerce-cart table.cart td.actions > .button[name="update_cart"] { float: right; }

.woocommerce-cart .cart_totals { background: var(--ci-soft); border-radius: var(--ci-radius); padding: 24px; }
.woocommerce-cart .cart_totals h2 { margin: 0 0 12px; font-size: 28px; }
.woocommerce-cart .cart_totals table.shop_table { border: 0; margin: 0 0 8px; background: transparent; }
.woocommerce-cart .cart_totals table.shop_table th, .woocommerce-cart .cart_totals table.shop_table td {
	padding: 12px 0; border: 0; border-top: 1px solid #dcdcdc; background: transparent; font-size: 15px; vertical-align: top;
}
.woocommerce-cart .cart_totals table.shop_table th { width: 40%; font-weight: 600; color: var(--ci-text); }
.woocommerce-cart .cart_totals table.shop_table td { text-align: right; }
.woocommerce-cart .cart_totals tr.order-total th, .woocommerce-cart .cart_totals tr.order-total td { border-top: 2px solid var(--ci-ink); padding-top: 16px; }
.woocommerce-cart .cart_totals tr.order-total th { font-family: var(--ci-display); font-size: 22px; font-weight: 700; text-transform: uppercase; color: var(--ci-ink); }
.woocommerce-cart .cart_totals tr.order-total td strong, .woocommerce-cart .cart_totals tr.order-total td .amount { font-family: var(--ci-display); font-size: 30px; font-weight: 800; color: var(--ci-ink); }
.woocommerce-cart .cart_totals tr.order-tax th, .woocommerce-cart .cart_totals tr.order-tax td,
.woocommerce-cart .cart_totals .tax-rate th, .woocommerce-cart .cart_totals .tax-rate td { border-top: 0; padding-top: 0; font-size: 13px; color: var(--ci-muted); font-weight: 400; }
.woocommerce-cart .cart_totals ul#shipping_method { margin: 0; padding: 0; list-style: none; text-align: left; }
.woocommerce-cart .cart_totals ul#shipping_method li { display: flex; gap: 8px; align-items: baseline; margin: 0 0 6px; }
.woocommerce-cart .cart_totals ul#shipping_method li input { margin: 0; }
.woocommerce-cart .cart_totals .woocommerce-shipping-destination, .woocommerce-cart .cart_totals .shipping-calculator-button { font-size: 13px; text-align: left; }
.woocommerce-cart .cart_totals .shipping-calculator-button::after { display: none; }
.woocommerce-cart .wc-proceed-to-checkout { padding: 8px 0 0; }
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
	display: flex !important; width: 100%; min-height: 56px; margin: 0 0 16px; font-size: 18px;
}
.ci-content .ci-cart-trust { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--ci-text); }
.ci-cart-trust li { position: relative; padding-left: 22px; }
.ci-cart-trust li::before {
	content: ''; position: absolute; left: 2px; top: 5px; width: 10px; height: 6px;
	border-left: 2px solid var(--ci-success); border-bottom: 2px solid var(--ci-success); transform: rotate(-45deg);
}
/* Germanized / legal add-ons inside the totals box */
.woocommerce-cart .cart_totals .wc-gzd-legal-guarantee { margin-top: 12px; font-size: 13px; }
.woocommerce-cart .cart_totals .wc-gzd-additional-info, .woocommerce-cart .cart_totals small { font-size: 12px; color: var(--ci-muted); }

/* ---- Checkout (classic shortcode + Germanized) ---- */
.woocommerce-checkout .ci-content .woocommerce { counter-reset: ci-step; }
.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info { padding: 12px 16px 12px 44px; font-size: 14px; background: transparent; border: 1px dashed var(--ci-field); }
.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info::before { top: 12px; left: 16px; }
.woocommerce-checkout form.checkout_coupon { border: 1px solid var(--ci-line); border-radius: var(--ci-radius); padding: 20px; margin: 0 0 24px; }

.woocommerce-checkout form.checkout {
	display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(320px, 1fr); gap: 32px 48px; align-items: start;
}
.woocommerce-checkout form.checkout > .wcservices-checkout-notices, .woocommerce-checkout form.checkout > .woocommerce-NoticeGroup { grid-column: 1; }
.woocommerce-checkout form.checkout > .wcservices-checkout-notices:empty { display: none; }
.woocommerce-checkout #customer_details { grid-column: 1; display: flex; flex-direction: column; gap: 24px; margin: 0; }
.woocommerce-checkout #customer_details::before, .woocommerce-checkout #customer_details::after { display: none; }
.woocommerce-checkout #customer_details .col-1, .woocommerce-checkout #customer_details .col-2 {
	float: none; width: 100%; padding: 28px; border: 1px solid var(--ci-line); border-radius: var(--ci-radius); background: #ffffff;
}

/* Numbered step headings */
.woocommerce-checkout #customer_details h3, .woocommerce-checkout #order_payment_heading {
	display: flex; align-items: center; gap: 12px; margin: 0 0 20px; font-size: 26px;
}
.woocommerce-checkout #customer_details .col-1 > .woocommerce-billing-fields > h3::before,
.woocommerce-checkout #customer_details .col-2 h3#ship-to-different-address::before,
.woocommerce-checkout #order_payment_heading::before {
	counter-increment: ci-step; content: counter(ci-step);
	flex: 0 0 auto; width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center;
	border-radius: 50%; background: var(--ci-blue); color: #ffffff; font-family: var(--ci-font); font-size: 15px; font-weight: 700;
}
.woocommerce-checkout #ship-to-different-address label { display: flex; align-items: center; gap: 10px; font-size: 22px; cursor: pointer; }
.woocommerce-checkout #ship-to-different-address input { width: 20px; height: 20px; margin: 0; }
.woocommerce-checkout .woocommerce-additional-fields > h3 { font-size: 20px; }
.woocommerce form .form-row { padding: 0; margin: 0 0 16px; }
.woocommerce form .form-row-first, .woocommerce form .form-row-last { width: calc(50% - 8px); }
.woocommerce form .form-row label { margin-bottom: 6px; color: var(--ci-ink); line-height: 1.4; }
.woocommerce form .form-row .required { color: #a12a2a; text-decoration: none; }
.woocommerce form .form-row .input-text, .woocommerce form .form-row select, .woocommerce form .form-row textarea { width: 100%; }
.woocommerce form .form-row.woocommerce-invalid .input-text, .woocommerce form .form-row.woocommerce-invalid select { border-color: #a12a2a; }
.woocommerce form .form-row.woocommerce-validated .input-text { border-color: var(--ci-field); }
.select2-container--default .select2-selection--single { height: 44px; border-color: var(--ci-field); border-radius: var(--ci-radius-s); }
.select2-container--default .select2-selection--single .select2-selection__rendered { line-height: 42px; padding-left: 12px; }
.select2-container--default .select2-selection--single .select2-selection__arrow { height: 42px; }

/* Right column: order card */
.woocommerce-checkout #order_review {
	grid-column: 2; grid-row: 1 / span 4; position: sticky; top: 24px;
	display: flex; flex-direction: column; gap: 16px;
	padding: 28px; border-radius: var(--ci-radius); background: var(--ci-soft);
}
.woocommerce-checkout #order_review > * { order: 10; margin: 0; }
.woocommerce-checkout #order_review > #order_review_heading { order: 1; }
.woocommerce-checkout #order_review > table.woocommerce-checkout-review-order-table { order: 2; }
.woocommerce-checkout #order_review > #order_payment_heading { order: 3; margin-top: 12px; }
.woocommerce-checkout #order_review > #payment { order: 4; }
.woocommerce-checkout #order_review > .dhl-preferred-service-content { order: 5; }
.woocommerce-checkout #order_review > .wc-gzd-checkbox-placeholder { order: 6; }
.woocommerce-checkout #order_review > .wc-gzd-order-submit { order: 7; }
.woocommerce-checkout #order_review_heading { margin: 0; font-size: 28px; }

.woocommerce-checkout table.woocommerce-checkout-review-order-table { border: 0; background: transparent; border-collapse: collapse; }
.woocommerce-checkout table.woocommerce-checkout-review-order-table thead { display: none; }
.woocommerce-checkout table.woocommerce-checkout-review-order-table td, .woocommerce-checkout table.woocommerce-checkout-review-order-table th {
	padding: 12px 0; border: 0; border-top: 1px solid #dcdcdc; background: transparent; font-size: 15px; vertical-align: middle;
}
.woocommerce-checkout table.woocommerce-checkout-review-order-table tbody tr:first-child td { border-top: 0; }
.woocommerce-checkout table.woocommerce-checkout-review-order-table td.product-name { font-weight: 600; color: var(--ci-ink); line-height: 1.4; }
.woocommerce-checkout table.woocommerce-checkout-review-order-table .wc-gzd-cart-item-name-wrapper { display: flex; align-items: center; gap: 12px; }
.woocommerce-checkout table.woocommerce-checkout-review-order-table .wc-gzd-cart-item-thumbnail { flex: 0 0 auto; }
.woocommerce-checkout table.woocommerce-checkout-review-order-table td.product-name img {
	width: 56px !important; height: 56px !important; max-width: none; object-fit: contain; padding: 4px;
	background: #ffffff; border-radius: var(--ci-radius-s); mix-blend-mode: multiply; margin: 0;
}
.woocommerce-checkout table.woocommerce-checkout-review-order-table td.product-name .product-quantity { color: var(--ci-muted); font-weight: 600; }
.woocommerce-checkout table.woocommerce-checkout-review-order-table td.product-name p.wc-gzd-cart-info,
.woocommerce-checkout table.woocommerce-checkout-review-order-table td.product-name dl.variation { margin: 4px 0 0 68px; font-size: 13px; font-weight: 400; color: var(--ci-muted); }
.woocommerce-checkout table.woocommerce-checkout-review-order-table td.product-total { text-align: right; white-space: nowrap; font-weight: 600; }
.woocommerce-checkout table.woocommerce-checkout-review-order-table tfoot th { font-weight: 600; color: var(--ci-text); text-align: left; }
.woocommerce-checkout table.woocommerce-checkout-review-order-table tfoot td { text-align: right; }
.woocommerce-checkout table.woocommerce-checkout-review-order-table tr.order-total th, .woocommerce-checkout table.woocommerce-checkout-review-order-table tr.order-total td {
	border-top: 2px solid var(--ci-ink); padding-top: 16px;
}
.woocommerce-checkout table.woocommerce-checkout-review-order-table tr.order-total th { font-family: var(--ci-display); font-size: 22px; font-weight: 700; text-transform: uppercase; color: var(--ci-ink); }
.woocommerce-checkout table.woocommerce-checkout-review-order-table tr.order-total td, .woocommerce-checkout table.woocommerce-checkout-review-order-table tr.order-total .amount {
	font-family: var(--ci-display); font-size: 30px; font-weight: 800; color: var(--ci-ink);
}
.woocommerce-checkout table.woocommerce-checkout-review-order-table tr.order-tax th, .woocommerce-checkout table.woocommerce-checkout-review-order-table tr.order-tax td {
	border-top: 0; padding-top: 0; font-size: 13px; font-weight: 400; color: var(--ci-muted);
}
.woocommerce-checkout table.woocommerce-checkout-review-order-table ul#shipping_method { margin: 0; padding: 0; list-style: none; text-align: left; }
.woocommerce-checkout table.woocommerce-checkout-review-order-table ul#shipping_method li { display: flex; gap: 8px; align-items: baseline; justify-content: flex-end; margin: 0 0 4px; }

/* ---- Payment methods: checkout (#payment) and the Germanized info page ([payment_methods_info]) ---- */
.woocommerce-checkout #payment { background: transparent; border-radius: 0; }
.woocommerce ul.payment_methods, .woocommerce-checkout #payment ul.payment_methods {
	list-style: none; margin: 0; padding: 0; border: 0; display: grid; gap: 10px;
}
.woocommerce-gzd ul.payment_methods { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); max-width: 880px; }
.woocommerce ul.payment_methods::before, .woocommerce ul.payment_methods::after { display: none !important; }
.woocommerce ul.payment_methods > li {
	position: relative; margin: 0 !important; padding: 16px 18px; list-style: none;
	background: #ffffff; border: 1px solid var(--ci-field); border-radius: var(--ci-radius);
	line-height: 1.45; transition: border-color 0.15s, box-shadow 0.15s;
}
.woocommerce ul.payment_methods > li:hover { border-color: var(--ci-ink); }
/* WooCommerce adds clearfix ::before/::after to each method – they would take grid cells. */
.woocommerce ul.payment_methods > li::before, .woocommerce ul.payment_methods > li::after,
#payment ul.payment_methods > li::before, #payment ul.payment_methods > li::after,
.woocommerce-checkout #payment ul.payment_methods > li:not(.woocommerce-notice)::before,
.woocommerce-checkout #payment ul.payment_methods > li:not(.woocommerce-notice)::after { content: none !important; display: none !important; }
.woocommerce ul.payment_methods > li::marker { content: none; }
/* Name left, logos right */
.woocommerce ul.payment_methods > li > label {
	display: flex !important; align-items: center; flex-wrap: wrap; gap: 6px 10px; margin: 0;
	font-weight: 700; font-size: 15px; color: var(--ci-ink); cursor: pointer;
}
.woocommerce ul.payment_methods > li > label img {
	order: 2; margin: 0 0 0 auto !important; max-height: 26px; width: auto; float: none !important; vertical-align: middle;
}
.woocommerce ul.payment_methods > li > label img + img { margin-left: 4px !important; }
/* Checkout: radio on the left, label fills the row */
.woocommerce-checkout #payment ul.payment_methods > li { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; }
.woocommerce-checkout #payment ul.payment_methods > li > input[type="radio"] {
	margin: 0; width: 20px; height: 20px; accent-color: var(--ci-blue); cursor: pointer;
}
.woocommerce-checkout #payment ul.payment_methods > li > label { grid-column: 2; }
.woocommerce-checkout #payment ul.payment_methods > li > .payment_box { grid-column: 1 / -1; }
.woocommerce-checkout #payment ul.payment_methods > li:has(> input[type="radio"]:checked) {
	border: 2px solid var(--ci-blue); padding: 15px 17px; box-shadow: 0 0 0 3px rgba(26, 86, 196, 0.12);
}
/* A single method has no radio – keep the label aligned */
.woocommerce-checkout #payment ul.payment_methods > li > input[type="radio"]:only-of-type[style*="display: none"] + label,
.woocommerce-checkout #payment ul.payment_methods > li > input.input-radio[type="hidden"] + label { grid-column: 1 / -1; }
/* Description box: light grey, no arrow, hidden when empty */
.woocommerce ul.payment_methods div.payment_box, .woocommerce-checkout #payment div.payment_box {
	margin: 12px 0 0; padding: 12px 14px; background: var(--ci-soft); color: var(--ci-text);
	font-size: 14px; line-height: 1.5; border-radius: var(--ci-radius-s);
}
.woocommerce ul.payment_methods div.payment_box::before, .woocommerce-checkout #payment div.payment_box::before { display: none !important; content: none; }
.woocommerce ul.payment_methods div.payment_box p:last-child { margin-bottom: 0; }
.woocommerce ul.payment_methods div.payment_box:not(:has(:not(p:empty))) { display: none !important; }
.woocommerce ul.payment_methods div.payment_box fieldset { margin: 8px 0 0; padding: 0; border: 0; }
/* "No methods available" notice inside the list */
.woocommerce-checkout #payment ul.payment_methods > li.woocommerce-notice,
.woocommerce-checkout #payment ul.payment_methods > li:not(.wc_payment_method) {
	display: block; padding: 0; border: 0; background: transparent; box-shadow: none;
}
.woocommerce-checkout #payment .woocommerce-info { margin: 0; background: #ffffff; border: 1px solid var(--ci-line); font-size: 14px; }
.woocommerce-checkout #payment div.form-row.place-order { padding: 0; margin: 0; }

/* My account → payment methods */
.woocommerce-account table.woocommerce-MyAccount-paymentMethods { border: 0; border-collapse: collapse; }
.woocommerce-account table.woocommerce-MyAccount-paymentMethods th {
	padding: 0 12px 10px 0; border: 0; border-bottom: 2px solid var(--ci-ink); background: transparent;
	font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ci-muted);
}
.woocommerce-account table.woocommerce-MyAccount-paymentMethods td { padding: 14px 12px 14px 0; border: 0; border-bottom: 1px solid var(--ci-line); background: transparent; }
.woocommerce-account table.woocommerce-MyAccount-paymentMethods .button { min-height: 40px; padding: 0 14px; font-size: 13px; margin: 0 6px 0 0; }
.woocommerce-account table.woocommerce-MyAccount-paymentMethods .button.delete { background: #ffffff; border-color: #a12a2a; color: #a12a2a; }
.woocommerce-account table.woocommerce-MyAccount-paymentMethods .button.delete:hover { background: #a12a2a; color: #ffffff; }
.woocommerce-account .woocommerce-MyAccount-content > a.button { margin-top: 20px; }

/* Legal checkbox + submit */
.woocommerce-checkout .wc-gzd-checkbox-placeholder:empty { display: none; }
.woocommerce-checkout #order_review .form-row.legal, .woocommerce-checkout #order_review .wc-gzd-checkbox-placeholder p.form-row {
	margin: 0; font-size: 14px; line-height: 1.5; color: var(--ci-text);
}
.woocommerce-checkout #order_review .form-row.legal label { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.woocommerce-checkout #order_review .form-row.legal input[type="checkbox"] { flex: 0 0 auto; width: 18px; height: 18px; margin: 2px 0 0; }
.woocommerce-checkout .wc-gzd-order-submit .form-row.place-order { padding: 0; margin: 0; }
.woocommerce-checkout #place_order, .woocommerce-checkout .wc-gzd-order-submit button.button {
	display: flex !important; float: none; width: 100%; min-height: 60px; font-size: 19px; letter-spacing: 0.01em;
}
.woocommerce-checkout .wc-gzd-order-submit::after {
	content: 'Sichere Bestellung · Abholung in München möglich'; display: block; margin-top: 10px; text-align: center; font-size: 12px; color: var(--ci-muted);
}

@media (max-width: 960px) {
	.woocommerce-checkout form.checkout { grid-template-columns: minmax(0, 1fr); }
	.woocommerce-checkout #order_review { grid-column: 1; grid-row: auto; position: static; }
	.woocommerce-checkout #customer_details .col-1, .woocommerce-checkout #customer_details .col-2, .woocommerce-checkout #order_review { padding: 20px; }
	.woocommerce form .form-row-first, .woocommerce form .form-row-last { width: 100%; float: none; }
}

/* Empty cart */
.woocommerce-cart .cart-empty.woocommerce-info { flex: 1 1 100%; font-size: 18px; }
.woocommerce-cart .return-to-shop { flex: 1 1 100%; margin: 0; }

@media (max-width: 760px) {
	.woocommerce-cart .cart-collaterals { position: static; }
	.woocommerce-cart table.shop_table.cart thead { display: none; }
	.woocommerce-cart table.shop_table_responsive.cart tr.cart_item {
		display: grid; grid-template-columns: 96px 1fr auto; grid-template-areas: "img name remove" "img qty total";
		gap: 8px 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--ci-line);
	}
	.woocommerce-cart table.shop_table_responsive.cart tr.cart_item td { display: block; padding: 0; border: 0; text-align: left !important; }
	.woocommerce-cart table.shop_table_responsive.cart tr.cart_item td::before { display: none; }
	.woocommerce-cart table.cart tr.cart_item td.product-thumbnail { grid-area: img; display: block !important; width: auto; }
	.woocommerce-cart table.cart tr.cart_item td.product-name { grid-area: name; }
	.woocommerce-cart table.cart tr.cart_item td.product-remove { grid-area: remove; width: auto; }
	.woocommerce-cart table.cart tr.cart_item td.product-price { display: none; }
	.woocommerce-cart table.cart tr.cart_item td.product-quantity { grid-area: qty; }
	.woocommerce-cart table.cart tr.cart_item td.product-subtotal { grid-area: total; text-align: right !important; }
	.woocommerce-cart table.cart td.actions > .button[name="update_cart"] { float: none; width: 100%; margin-top: 8px; }
}
.woocommerce form .form-row label { font-weight: 600; font-size: 14px; }
.woocommerce form .form-row .input-text, .woocommerce form .form-row select { min-height: 44px; }
.woocommerce-checkout #payment { background: var(--ci-soft); border-radius: var(--ci-radius); }
.woocommerce-account .woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.woocommerce-account .woocommerce-MyAccount-navigation a { display: block; padding: 10px 14px; border-radius: var(--ci-radius-s); color: var(--ci-ink); font-weight: 600; }
.woocommerce-account .woocommerce-MyAccount-navigation .is-active a { background: var(--ci-ink); color: #ffffff; }

/* Login / Register: submit + "Angemeldet bleiben" in one centred row */
.woocommerce form.login .form-row:has(.woocommerce-form-login__submit) { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.woocommerce form.login .woocommerce-form-login__submit { order: -1; float: none; margin: 0; }
.woocommerce form .form-row label.woocommerce-form__label-for-checkbox { display: inline-flex; align-items: center; gap: 10px; margin: 0; font-weight: 400; font-size: 15px; color: var(--ci-text); cursor: pointer; user-select: none; }
.woocommerce form.login input[type="checkbox"], .woocommerce form.register input[type="checkbox"] {
	appearance: none; -webkit-appearance: none; flex: 0 0 auto; display: inline-grid; place-content: center;
	width: 20px; height: 20px; margin: 0; border: 2px solid var(--ci-field); border-radius: var(--ci-radius-s); background: #ffffff;
	cursor: pointer; transition: background-color 0.15s, border-color 0.15s;
}
.woocommerce form.login input[type="checkbox"]::before, .woocommerce form.register input[type="checkbox"]::before {
	content: ''; width: 10px; height: 6px; margin-top: -2px; border: solid #ffffff; border-width: 0 0 2px 2px; transform: rotate(-45deg) scale(0); transition: transform 0.12s;
}
.woocommerce form.login input[type="checkbox"]:hover, .woocommerce form.register input[type="checkbox"]:hover { border-color: var(--ci-blue); }
.woocommerce form.login input[type="checkbox"]:checked, .woocommerce form.register input[type="checkbox"]:checked { background: var(--ci-blue); border-color: var(--ci-blue); }
.woocommerce form.login input[type="checkbox"]:checked::before, .woocommerce form.register input[type="checkbox"]:checked::before { transform: rotate(-45deg) scale(1); }

/* ----------------------------------------------------------------------------
   Footer
---------------------------------------------------------------------------- */
.ci-footer { background: var(--ci-dark); color: var(--ci-dark-text); font-size: 15px; line-height: 1.7; }
.ci-footer__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; padding-top: 56px; padding-bottom: 32px; }
.ci-footer__title { font-family: var(--ci-display); font-weight: 700; font-size: 20px; text-transform: uppercase; color: #ffffff; margin: 0 0 8px; }
.ci-footer a { color: var(--ci-dark-text); }
.ci-footer a:hover { color: #ffffff; }
.ci-footer ul { list-style: none; margin: 0; padding: 0; }
.ci-footer__phone { color: #ffffff !important; font-weight: 600; }
.ci-footer__base { border-top: 1px solid #333333; padding-top: 20px; padding-bottom: 32px; font-size: 13px; color: #a8a8a8; }

/* Simple Banner plugin (partner logos) sits above the footer */
.simple-banner { background: var(--ci-dark-2) !important; color: #ffffff; }

@media (max-width: 640px) {
	:root { --ci-gutter: 16px; }
	.ci-section { padding: 48px 0; }
	.ci-hero__inner { padding-top: 40px; padding-bottom: 48px; }
	.ci-hero__tile:nth-child(2) { margin-top: 0; }
	.ci-pickup { grid-template-columns: 1fr; }
	.woocommerce div.product div.images, .woocommerce div.product div.summary { flex-basis: 100%; }
}

/* Zoom: the blended zoom image would multiply with the original underneath – hide the original while zooming. */
.woocommerce div.product div.images .woocommerce-product-gallery__image:has(.zoomImg):hover > a > img { opacity: 0; }

/* Werkstatt: badge sits on the same line as the kicker. */
.ci-service__eyebrow { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; }
.ci-service__eyebrow .ci-badge { align-self: center; font-size: 15px; padding: 5px 11px; }

/* Werkstatt: price cards only as tall as their content. */
.ci-service__list { align-self: flex-start; align-content: start; }

/* Home: TRUE Custom teaser */
.ci-custom__head { align-items: flex-end; }
.ci-custom__head .ci-kicker { margin-bottom: 6px; }
.ci-custom__head p { margin: 0; color: var(--ci-text); max-width: 420px; }
.ci-custom { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ci-custom__card { display: flex; flex-direction: column; background: var(--ci-soft); border-radius: var(--ci-radius); overflow: hidden; color: var(--ci-ink); text-decoration: none; transition: background-color 0.15s; }
.ci-custom__card:hover { background: #ebeef3; color: var(--ci-ink); }
.ci-custom__img { display: block; aspect-ratio: 16 / 9; background: #ffffff; overflow: hidden; }
.ci-custom__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.3s; }
.ci-custom__card:hover .ci-custom__img img { transform: scale(1.03); }
.ci-custom__body { display: flex; flex-direction: column; gap: 6px; padding: 20px 24px 24px; }
.ci-custom__label { font-family: var(--ci-display); font-weight: 800; font-size: 28px; line-height: 1; text-transform: uppercase; }
.ci-custom__text { color: var(--ci-text); }
.ci-custom__more { margin-top: 6px; font-weight: 700; color: var(--ci-blue); }
@media (max-width: 781px) { .ci-custom { grid-template-columns: 1fr; } }

/* Home: TRUE Custom process steps next to the heading */
.ci-custom__head p { display: none; }
.ci-custom__steps { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; counter-reset: ci-cstep; }
.ci-custom__steps li {
	counter-increment: ci-cstep; display: flex; align-items: center; gap: 6px;
	padding: 8px 14px 8px 8px; border-radius: 999px; background: var(--ci-hero); color: var(--ci-text); font-size: 14px; line-height: 1.2;
}
.ci-custom__steps li::before {
	content: counter(ci-cstep); display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto;
	width: 26px; height: 26px; border-radius: 50%; background: var(--ci-blue); color: #ffffff;
	font-family: var(--ci-display); font-weight: 800; font-size: 15px;
}
.ci-custom__steps li span { font-weight: 700; color: var(--ci-ink); }
.ci-custom__steps li + li { position: relative; margin-left: 14px; }
.ci-custom__steps li + li::after {
	content: ''; position: absolute; left: -17px; top: 50%; width: 12px; height: 2px; background: var(--ci-field);
}
@media (max-width: 781px) {
	.ci-custom__steps { flex-direction: column; align-items: flex-start; }
	.ci-custom__steps li + li { margin-left: 0; }
	.ci-custom__steps li + li::after { display: none; }
}

/* Footer: legally required withdrawal button (Germanized EU order withdrawal button). */
.ci-footer .ci-footer__withdraw {
	display: inline-flex; align-items: center; margin-top: 14px; min-height: 40px; padding: 0 16px;
	border: 2px solid #ffffff; border-radius: var(--ci-radius-s); color: #ffffff; font-weight: 700; font-size: 14px; text-decoration: none;
}
.ci-footer .ci-footer__withdraw:hover { background: #ffffff; color: var(--ci-ink); }

/* Product card + cart thumbnails: grey sits on a wrapper, the image only blends (white photo backgrounds disappear). */
.woocommerce ul.products li.product .ci-loop-thumb {
	display: block; aspect-ratio: 1; padding: 7%; background: var(--ci-soft); border-radius: var(--ci-radius); overflow: hidden;
}
.woocommerce ul.products li.product a .ci-loop-thumb img {
	width: 100%; height: 100%; aspect-ratio: auto; padding: 0; background: none; border-radius: 0; mix-blend-mode: multiply;
}
.woocommerce-cart table.cart td.product-thumbnail a { display: block; width: 96px; height: 96px; padding: 8px; background: var(--ci-soft); border-radius: var(--ci-radius); }
.woocommerce-cart table.cart td.product-thumbnail a img { width: 100%; height: 100%; padding: 0; background: none; border-radius: 0; }

/* Germanized: harmonised legal guarantee notice + GARAN label – compact previews that open a popover. */
.wc-gzd-legal-guarantee .wc-gzd-legal-guarantee-label-preview,
.wc-gzd-garan-label .wc-gzd-popover { display: inline-block; cursor: zoom-in; line-height: 0; }
/* Size stays at Germanized's minimum (250px) - the EU notice has to remain legible. */
.wc-gzd-legal-guarantee .wc-gzd-legal-guarantee-image-preview { border-radius: var(--ci-radius-s); box-shadow: 0 0 0 1px var(--ci-line); }
.single-product .summary .wc-gzd-legal-guarantee { margin: 4px 0 20px; }
.wc-gzd-legal-guarantee-footer { background: var(--ci-dark); padding: 0 var(--ci-gutter) 32px; text-align: center; margin: 0; }
.wc-gzd-legal-guarantee-footer .wc-gzd-legal-guarantee-image-preview { box-shadow: none; }
.wc-gzd-popover-wrapper .wc-gzd-popover-trigger img.wc-gzd-legal-guarantee-image-preview { width: 250px; }
.wc-gzd-legal-guarantee.wc-gzd-legal-guarantee-footer { margin: 0 !important; padding-top: 0; }

/* Legal guarantee label (product page, footer) + cart link; full notice opens in Germanized's popover. */
.ci-guarantee-badge {
	display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 5px;
	border: 1px solid var(--ci-line); border-radius: 999px; background: #ffffff; color: var(--ci-ink);
	font-size: 13px; line-height: 1.2; text-decoration: none;
}
.ci-guarantee-badge__eu { width: 24px; height: 24px; flex: 0 0 auto; }
.ci-guarantee-badge__text strong { font-weight: 700; }
a.wc-gzd-popover-trigger:hover .ci-guarantee-badge { border-color: var(--ci-blue); }
.single-product .summary .wc-gzd-legal-guarantee { margin: 2px 0 18px; }
.wc-gzd-legal-guarantee.wc-gzd-legal-guarantee-footer { padding: 0 var(--ci-gutter) 28px; }
.wc-gzd-legal-guarantee-footer a.wc-gzd-popover-trigger { text-decoration: none; }
.wc-gzd-legal-guarantee-cart a.wc-gzd-popover-trigger { font-size: 14px; }
/* Popover: full notice like a lightbox */
.wc-gzd-popover { border: 0; border-radius: var(--ci-radius); padding: 0; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35); max-width: min(520px, 92vw); }
.wc-gzd-popover::backdrop { background: rgba(0, 0, 0, 0.45); }
.wc-gzd-popover .wc-gzd-popover-content img { width: 100%; height: auto; display: block; }
.ci-guarantee-badge__eu > circle { fill: #003399; }
.ci-guarantee-badge__eu g circle { fill: #ffcc00; }

/* Product cards on grey sections ("Neu im Laden"): white tiles so they stand out from the section background. */
.ci-section--soft ul.products li.product {
	background: #ffffff; border-radius: var(--ci-radius); padding: 12px 12px 16px !important;
	transition: box-shadow 0.15s;
}
.ci-section--soft ul.products li.product:hover { box-shadow: 0 6px 20px rgba(30, 30, 30, 0.08); }
.ci-section--soft ul.products li.product .ci-loop-thumb { background: #ffffff; }
.ci-section--soft ul.products li.product .ci-stock-badge,
.ci-section--soft ul.products li.product .onsale { top: 20px; left: 20px; }
