/*
 * roll-up-profis: modernes Designsystem.
 * Laedt nach allen Theme- und Plugin-Styles. Der Designer (Chamevo/FPD) und das Upload-Widget behalten ihre eigene Logik.
 */

@font-face { font-family: "Oswald"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/oswald-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Oswald"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/oswald-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Oswald"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/oswald-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Oswald"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/oswald-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/open-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/open-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/open-sans-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/roboto-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/roboto-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/roboto-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/roboto-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Roboto Condensed"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/roboto-condensed-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Roboto Condensed"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/roboto-condensed-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Roboto Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/roboto-condensed-latin-700-normal.woff2") format("woff2"); }
/* Fallback fonts scaled to the measured text width of the web fonts, so lines break the same before and after the swap. */
/* Same icon font as the theme, but icons no longer stay invisible while it loads. */
@font-face { font-family: "icomoon-the7-font"; font-style: normal; font-weight: 400; font-display: swap; src: url("../../dt-the7/fonts/icomoon-the7-font/icomoon-the7-font.woff?wi57p5") format("woff"), url("../../dt-the7/fonts/icomoon-the7-font/icomoon-the7-font.ttf?wi57p5") format("truetype"); }
@font-face { font-family: "Oswald Fallback"; src: local("Arial"), local("Liberation Sans"), local("Roboto"); size-adjust: 82%; }
@font-face { font-family: "Open Sans Fallback"; src: local("Arial"), local("Liberation Sans"), local("Roboto"); size-adjust: 105%; }

:root {
	--rup-black: #0b0b0d;
	--rup-ink: #17171a;
	--rup-muted: #5c5c66;
	--rup-line: #e4e4e8;
	--rup-surface: #f6f6f8;
	--rup-white: #ffffff;
	--rup-pink: #ff0066; /* Markenfarbe, auch fuer alle Buttons */
	--rup-radius: 10px;
	--rup-font-head: "Oswald", "Oswald Fallback", Helvetica, Arial, Verdana, sans-serif;
	--rup-font-button: "Roboto", Helvetica, Arial, Verdana, sans-serif;
	--rup-font-body: "Open Sans", "Open Sans Fallback", Helvetica, Arial, Verdana, sans-serif;
	--rup-header-h: 60px;
}

/* --- Grundtypografie --- */
body#the7-body { color: var(--rup-ink); }

/* --- Hinweisleiste: eine ruhige Zeile --- */
body .liveticker .textwidget { background-image: none; background-color: var(--rup-pink); }
body .liveticker a.liveticker, body .liveticker a {
	background-image: none;
	line-height: 1.2;
	padding: 7px 12px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* --- Header: kleineres Logo, der Swoosh des Themes bleibt --- */
#page .masthead .branding img:not(.mobile-logo) { width: auto; height: auto; max-height: 50px; }
#page .masthead .header-bar .branding { padding-top: 8px; padding-bottom: 8px; }
#page .masthead .top-bar .mini-widgets > *, #page .masthead .top-bar .mini-widgets > * > a { color: #d6d6dc; }
#page .masthead .wc-shopping-cart .counter { background: var(--rup-pink); color: var(--rup-white); }

/* --- Handy: eine Kopfzeile mit Logo, Konto, Warenkorb und Menue --- */
@media screen and (max-width: 970px) {
	#page .masthead { min-height: var(--rup-header-h); }
	#page .masthead .mobile-header-bar { height: var(--rup-header-h); min-height: var(--rup-header-h); padding: 0 16px; }
	#page .masthead .mobile-mini-widgets { display: none; }
	#page .mobile-branding { order: 1; margin-right: auto; }
	#page .mobile-navigation { order: 3; margin-left: auto; width: 44px; }
	#page .mobile-branding img { max-width: 96px; height: auto; }
	/* The7 blendet die mobilen Icons im verschobenen Bereich aus. */
	#page .masthead .top-bar .right-widgets > .show-on-first-switch { display: flex !important; align-items: center; }
	#page .masthead .top-bar .right-widgets .wc-shopping-cart .counter { position: absolute; top: 4px; right: 0; margin: 0; }
	#page .masthead .top-bar .shopping-cart-wrap { display: none; }
	/* Die Icon-Zeile liegt in der Kopfzeile, links neben dem Menue-Symbol. */
	#page .masthead .top-bar {
		position: absolute;
		top: 0;
		right: 56px;
		z-index: 2;
		width: auto;
		min-height: 0;
		height: var(--rup-header-h);
		padding: 0;
		background: transparent;
		display: flex;
		align-items: center;
	}
	#page .masthead .top-bar::after, #page .masthead .top-bar .top-bar-bg { display: none; }
	#page .masthead .top-bar .left-widgets { display: none; }
	#page .masthead .top-bar .right-widgets { display: flex; align-items: center; gap: 4px; }
	/* Mindestens 44 px Tippflaeche */
	#page .masthead .top-bar .right-widgets a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; }
	#page .masthead .top-bar .right-widgets i { font-size: 20px; color: var(--rup-white); margin: 0; }
	#page .masthead .dt-mobile-menu-icon { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
}
@media screen and (max-width: 520px) {
	body .liveticker a.liveticker, body .liveticker a { font-size: 12px; padding: 5px 8px; white-space: normal; text-align: center; }
	body .liveticker a img.emoji { display: none; }
}

/* --- Startseite: Hero mit lesbarer Botschaft und drei Wegen --- */
/* Der Abstand fuer den Swoosh liegt in der Spalte, damit die Abdunklung bis unter den Swoosh reicht. */
/* WPBakery stretches full-width rows only once its script runs; until then they sit narrow and jump. Same geometry from the first paint. The script overwrites left and width inline and removes the init state. */
.vc_row[data-vc-full-width="true"][data-vc-full-width-init="false"] { position: relative; left: calc(50% - 50vw + 15px); width: 100vw; max-width: 100vw; box-sizing: border-box; }
.vc_row[data-vc-full-width="true"][data-vc-full-width-init="false"]:not([data-vc-stretch-content]) { padding-left: calc(50vw - 50% - 15px); padding-right: calc(50vw - 50% - 15px); }
.home .vc_row.bn { padding-top: 0 !important; background-color: var(--rup-ink); }
.home .vc_row.bn > .wpb_column { background: linear-gradient(180deg, rgba(11, 11, 13, 0.78) 0%, rgba(11, 11, 13, 0.5) 55%, rgba(11, 11, 13, 0.82) 100%); padding: calc(5.5vw + 40px) 16px 40px; }
body#the7-body.home .vc_row.bn h1, body#the7-body.home .vc_row.bn .rup-h1 {
	font-family: var(--rup-font-head);
	font-size: clamp(30px, 4.2vw, 56px);
	font-weight: 600;
	line-height: 1.12;
	text-transform: uppercase;
	color: var(--rup-white);
	margin: 0 0 12px;
	text-align: center;
}
body#the7-body.home .vc_row.bn h2 {
	font-size: clamp(18px, 2vw, 26px);
	font-weight: 400;
	line-height: 1.25;
	text-transform: none;
	color: var(--rup-white) !important;
	margin: 0 0 24px;
}
/* Steht im Inhalt der mittleren Hero-Spalte und wird von dort auf volle Breite gezogen. */
.rup-paths { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; width: min(880px, 90vw); position: relative; left: 50%; transform: translateX(-50%); margin: 28px 0 0; }
.home .rup-paths a {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 64px;
	padding: 10px 16px;
	border-radius: var(--rup-radius);
	background: rgba(255, 255, 255, 0.96);
	color: var(--rup-ink);
	font-family: var(--rup-font-body);
	font-size: 16px;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	transition: background-color 0.15s ease, color 0.15s ease;
}
.home .rup-paths a small { display: block; font-family: var(--rup-font-body); font-size: 13px; font-weight: 400; color: var(--rup-muted); margin-top: 2px; }
.home .rup-paths a.is-primary { background: var(--rup-pink); color: var(--rup-white); }
.home .rup-paths a.is-primary small { color: #ffe3ee; }
.home .rup-paths a:hover { background: var(--rup-black); color: var(--rup-white); }
.home .rup-paths a:hover small { color: #d6d6dc; }
@media screen and (max-width: 767px) {
	.home .vc_row.bn > .wpb_column { padding: calc(5.5vw + 24px) 16px 24px; }
	.home .vc_row.bn img { max-height: 27vh; width: auto; margin: 0 auto; display: block; }
	body#the7-body.home .vc_row.bn h2 { margin-bottom: 12px; }
	.rup-paths { grid-template-columns: 1fr; gap: 8px; width: 100%; left: 0; transform: none; margin-top: 12px; }
	.home .rup-paths a { min-height: 52px; padding: 6px 16px; font-size: 17px; }
}

/* Die Wege zum Kauf duerfen nicht von einer Einblend-Animation abhaengen. */
.home .vc_row.bn .wpb_animate_when_almost_visible, .home .vc_row.bn .wpb_start_animation { opacity: 1 !important; animation: none !important; }

/* --- Startseite: Buttons der Bereiche unter dem Hero --- */
body#the7-body #content a.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 8px 22px;
	border: 0;
	border-radius: var(--rup-radius);
	background: var(--rup-pink);
	color: var(--rup-white);
	font-family: var(--rup-font-body);
	font-size: 16px;
	font-weight: 600;
	text-decoration: none;
	text-transform: uppercase;
	transition: background-color 0.15s ease;
}
body#the7-body #content a.btn:hover { background: var(--rup-black); color: var(--rup-white); }
body#the7-body #content .vc_row.dark a.btn:hover { background: var(--rup-white); color: var(--rup-black); }

/* --- Startseite Handy: Querkarten statt rund 650 px hoher Karten --- */
@media screen and (max-width: 767px) {
	.home .vc_row.teasers .wpb_column > .vc_column-inner { padding: 16px !important; }
	.home .vc_row.teasers .wpb_column { border-bottom: 1px solid var(--rup-line); }
	/* Nur Karten mit Bild werden Querkarten; Symbol-Karten wie der Service bleiben zentriert. */
	.home .vc_row.teasers .wpb_text_column .wpb_wrapper:has(img) {
		display: grid;
		grid-template-columns: 112px minmax(0, 1fr);
		column-gap: 14px;
		align-items: start;
	}
	.home .vc_row.teasers .wpb_text_column .wpb_wrapper:has(img) > * { grid-column: 2; margin: 0 0 6px; }
	/* WordPress legt die Bilder in eigene Absaetze. */
	.home .vc_row.teasers .wpb_text_column .wpb_wrapper:has(img) > img, .home .vc_row.teasers .wpb_text_column .wpb_wrapper:has(img) > p:has(img) { grid-column: 1; grid-row: 1 / span 5; margin: 0; }
	.home .vc_row.teasers .wpb_text_column .wpb_wrapper img { display: block; width: 112px; max-width: 112px; height: auto; margin: 0; }
	body#the7-body.home .vc_row.teasers h2 { font-size: 19px; line-height: 1.2; }
	body#the7-body.home .vc_row.teasers .wpb_wrapper:has(img) h2 { text-align: left !important; }
	.home .vc_row.teasers .wpb_text_column p { font-size: 14px; line-height: 1.35; }
	.home .vc_row.teasers .wpb_text_column .wpb_wrapper:has(img) p { text-align: left !important; }
	.home .vc_row.teasers .sale-bar { position: static; transform: none; width: auto; justify-self: start; margin: 0 0 6px; padding: 3px 8px; font-size: 12px; line-height: 1.2; }
	body#the7-body.home #content .vc_row.teasers a.btn { min-height: 44px; padding: 6px 14px; font-size: 14px; }
}

/* --- Produkt: Platz freihalten, bis Galerie und Designer gestartet sind --- */
/* WooCommerce hides the gallery until its script ran; the main image is real content and should show with the first paint. */
.single-product .woocommerce-product-gallery { opacity: 1 !important; }
/* In the one frame before the slider sets its height, all slides stand below each other and push the page down by several screens. */
.single-product .flex-viewport:not([style*="height"]) { max-height: min(100vw, 600px); overflow: hidden; }
/* The designer column is empty until its script runs, and the buy box next to it would sit in the column's place. */
.cha-product-designer-wrapper:not(:has(cv-customizer.hydrated)) { min-height: 658px; }
@media screen and (min-width: 1000px), screen and (max-width: 600px) {
	.cha-product-designer-wrapper:not(:has(cv-customizer.hydrated)) { min-height: 846px; }
}
/* Scripts start at the first interaction or after a few seconds, so this space says what is coming. */
.cha-product-designer-wrapper:not(:has(cv-customizer.hydrated))::before {
	content: "Designer wird geladen …";
	display: block;
	padding-top: 96px;
	text-align: center;
	font-size: 18px;
	color: #555;
}

/* --- Produkt auf dem Handy: kompakte Galerie, Kaufbereich schnell erreichbar --- */
@media screen and (max-width: 767px) {
	/* Same gallery height before the slider starts: main image only, plus the space of the later thumbnail row. */
	.single-product .woocommerce-product-gallery:not(:has(.flex-viewport)) .woocommerce-product-gallery__image:nth-child(n+2) { display: none; }
	.single-product .woocommerce-product-gallery:not(:has(.flex-viewport)):has(.woocommerce-product-gallery__image:nth-child(2)) { padding-bottom: 56px; }
	/* Die nicht umbrechende Thumbnail-Zeile darf die Galerie nicht aufblaehen, sonst rechnet der Slider mit falscher Breite. */
	.single-product .woocommerce-product-gallery { min-width: 0; max-width: 100%; overflow: hidden; }
	.single-product .woocommerce-product-gallery .flex-control-thumbs { max-width: calc(100vw - 40px); }
	.single-product .woocommerce-product-gallery .woocommerce-product-gallery__image img { width: 100%; height: 40vh; object-fit: contain; }
	.single-product .page-title, .single-product .entry-title { margin-bottom: 8px; }
	body#the7-body.single-product #main { padding-top: 16px !important; }
	body#the7-body.single-product .page-title { padding: 16px 0 0 !important; min-height: 0 !important; height: auto !important; }
	body#the7-body.single-product .woocommerce-product-gallery { margin-bottom: 0 !important; }
	body#the7-body.single-product .woocommerce-product-gallery .flex-control-thumbs { margin-bottom: 0; }
	body#the7-body.single-product h1 { font-size: 26px; line-height: 1.2; }
	.single-product form.cart .variations select { width: 100%; min-height: 48px; font-size: 16px; }
	.single-product form.cart .variations, .single-product form.cart .variations tbody, .single-product form.cart .variations tr, .single-product form.cart .variations td { display: block; width: 100%; }
	.single-product .woocommerce-product-gallery .flex-control-thumbs {
		display: flex;
		flex-wrap: nowrap;
		gap: 8px;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		margin-top: 8px;
	}
	.single-product .woocommerce-product-gallery .flex-control-thumbs li { flex: 0 0 56px; width: 56px !important; margin: 0 !important; float: none !important; }
	.single-product .summary { margin-top: 16px; }
}

/* --- Buttons --- */
/* Das Theme setzt Gruen mit !important auf die Kauf-Buttons. */
body#the7-body .single_add_to_cart_button, body#the7-body .checkout-button, body#the7-body #place_order {
	background: var(--rup-pink) !important;
	border: 0;
	border-radius: var(--rup-radius);
	color: var(--rup-white);
	font-family: var(--rup-font-button);
	font-weight: 500;
	font-size: 17px;
	min-height: 48px;
	padding: 0 28px;
	transition: background-color 0.15s ease;
}
body#the7-body .single_add_to_cart_button:hover, body#the7-body .checkout-button:hover, body#the7-body #place_order:hover { background: var(--rup-black) !important; }
body#the7-body .single_add_to_cart_button:disabled { background: #c9c9d1 !important; color: #55555f; cursor: not-allowed; }

body#the7-body .related .price .amount, body#the7-body .related .price .woocommerce-Price-currencySymbol { color: var(--rup-ink) !important; }

/* --- Warenkorb und Kasse: Summen einheitlich statt Gruen --- */
body#the7-body .cart_totals .amount, body#the7-body .cart_totals .woocommerce-Price-currencySymbol,
body#the7-body .woocommerce-checkout-review-order .amount, body#the7-body .woocommerce-checkout-review-order .woocommerce-Price-currencySymbol { color: var(--rup-ink) !important; }

/* --- Preise: einheitlich in Schwarz statt mal Gruen, mal Pink --- */
body#the7-body .summary .price, body#the7-body .summary .price .amount, body#the7-body .summary .price .woocommerce-Price-currencySymbol,
body#the7-body .woocommerce-variation-price .amount, body#the7-body .woocommerce-variation-price .woocommerce-Price-currencySymbol {
	color: var(--rup-ink) !important;
	font-family: var(--rup-font-head);
	font-weight: 500;
}

/* --- Produktkarten: einheitlich im Shop, in Kategorien und auf allen Seiten mit Produktraster --- */
body#the7-body .dt-css-grid:has(article.product) {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
	gap: 20px !important;
}
body#the7-body .dt-css-grid:has(article.product) > .wf-cell { width: auto !important; min-width: 0; padding: 0; margin: 0; }
body#the7-body article.product {
	height: 100%;
	border: 1px solid var(--rup-line);
	border-radius: var(--rup-radius);
	background: var(--rup-white);
	overflow: hidden;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
body#the7-body article.product:hover { border-color: #c9c9d1; box-shadow: 0 6px 20px rgba(11, 11, 13, 0.08); }
body#the7-body article.product figure { display: flex; flex-direction: column; height: 100%; margin: 0; }
body#the7-body article.product img { width: 100%; height: auto; border: 0; display: block; }
body#the7-body article.product .woocom-list-content { display: flex; flex-direction: column; flex: 1; gap: 6px; padding: 12px; margin: 0; text-align: center; }
body#the7-body article.product .entry-title { font-size: 16px; line-height: 1.25; margin: 0; text-transform: none; }
body#the7-body article.product .entry-title a { color: var(--rup-ink); text-transform: none; }

/* Eine einzelne Karte steht mittig statt links am Rand. */
body#the7-body .dt-css-grid:has(article.product):has(> .wf-cell:only-child) { grid-template-columns: minmax(0, 320px) !important; justify-content: center; }

/* Preise: Karten und "Aehnliche Produkte" gleich, alter Preis klein und ruhig, neuer Preis klar. */
body#the7-body article.product .price, body#the7-body .related-product .price { display: block; margin: 0; color: var(--rup-ink) !important; }
body#the7-body article.product .price .amount, body#the7-body article.product .price .amount *,
body#the7-body .related-product .price .amount, body#the7-body .related-product .price .amount * {
	color: var(--rup-ink) !important;
	font-family: var(--rup-font-body);
	font-size: 17px !important;
	font-weight: 600;
	text-decoration: none;
}
body#the7-body article.product .price del, body#the7-body .related-product .price del { display: block; color: var(--rup-muted) !important; opacity: 1; text-decoration: line-through; }
body#the7-body article.product .price del .amount, body#the7-body article.product .price del .amount *,
body#the7-body .related-product .price del .amount, body#the7-body .related-product .price del .amount * { color: var(--rup-muted) !important; font-family: var(--rup-font-body); font-size: 13px !important; font-weight: 400; }
body#the7-body article.product .price ins, body#the7-body .related-product .price ins { display: block; background: none; color: var(--rup-ink) !important; text-decoration: none; }
body#the7-body article.product .price .woocommerce-price-suffix, body#the7-body .related-product .price .woocommerce-price-suffix { display: block; margin-top: 2px; color: var(--rup-muted) !important; opacity: 1 !important; font-size: 12px; font-weight: 400; }

/* Kauf-Buttons in allen Karten */
body#the7-body article.product .woo-buttons { margin-top: auto; padding-top: 6px; }
body#the7-body article.product .woo-buttons a, body#the7-body .related-product .product-content a.button {
	box-sizing: border-box;
	margin: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 44px;
	padding: 6px 10px;
	border: 0;
	border-radius: 8px;
	background: var(--rup-pink);
	color: var(--rup-white);
	font-family: var(--rup-font-button);
	font-size: 15px;
	font-weight: 500;
	text-align: center;
	text-decoration: none;
}
body#the7-body article.product .woo-buttons a:hover, body#the7-body .related-product .product-content a.button:hover { background: var(--rup-black); color: var(--rup-white); }

/* --- Aehnliche Produkte: gleiche Karten wie im Shop --- */
body#the7-body .related.products { margin-top: 32px; padding-top: 32px; border-top: 1px solid var(--rup-line); }
body#the7-body .related.products > h2 { margin: 0 0 20px; font-size: 26px; text-align: center; text-transform: uppercase; }
body#the7-body ul.related-product { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
body#the7-body ul.related-product > li {
	position: relative;
	display: flex;
	flex-direction: column;
	float: none;
	width: auto !important;
	min-width: 0;
	margin: 0 !important;
	padding: 0 !important;
	border: 1px solid var(--rup-line);
	border-radius: var(--rup-radius);
	background: var(--rup-white);
	overflow: hidden;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
body#the7-body ul.related-product > li:hover { border-color: #c9c9d1; box-shadow: 0 6px 20px rgba(11, 11, 13, 0.08); }
body#the7-body ul.related-product .product-thumbnail { display: block; float: none; width: 100%; max-width: 100%; margin: 0; }
body#the7-body ul.related-product .product-thumbnail img { display: block; width: 100%; height: auto; border: 0; }
body#the7-body ul.related-product .onsale { position: absolute; top: 10px; left: 10px; z-index: 2; }
body#the7-body ul.related-product .product-content { display: flex; flex-direction: column; flex: 1; gap: 6px; width: auto; margin: 0; padding: 12px; text-align: center; }
body#the7-body ul.related-product .product-title { display: block; color: var(--rup-ink); font-family: var(--rup-font-head); font-size: 16px; font-weight: 500; line-height: 1.25; }
body#the7-body ul.related-product .product-content a.button { margin-top: auto; }

@media screen and (max-width: 1100px) {
	body#the7-body .dt-css-grid:has(article.product) { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
}
@media screen and (max-width: 767px) {
	body#the7-body .dt-css-grid:has(article.product), body#the7-body ul.related-product { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 12px !important; }
	body#the7-body article.product .woocom-list-content, body#the7-body ul.related-product .product-content { padding: 10px; }
	body#the7-body article.product .entry-title, body#the7-body ul.related-product .product-title { font-size: 15px; }
	body#the7-body .related.products > h2 { font-size: 22px; }
}

/* --- Inhaltsseiten mit Teaser-Zeilen als Karten: Selbst gestalten (3705) und Info (4123) --- */
.page-id-3705 #content .vc_row.teasers, .page-id-4123 #content .vc_row.teasers {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
	box-sizing: border-box;
	width: 100% !important;
	max-width: 1100px;
	left: auto !important;
	margin: 0 auto 20px !important;
	padding: 0;
	background: none;
}
.page-id-4123 #content .vc_row.teasers { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.page-id-3705 #content .vc_row.teasers::before, .page-id-3705 #content .vc_row.teasers::after,
.page-id-4123 #content .vc_row.teasers::before, .page-id-4123 #content .vc_row.teasers::after { display: none; }
.page-id-3705 #content .vc_row.teasers > .wpb_column, .page-id-4123 #content .vc_row.teasers > .wpb_column {
	float: none;
	width: auto !important;
	min-width: 0;
	border: 1px solid var(--rup-line);
	border-radius: var(--rup-radius);
	background: var(--rup-white) !important;
	overflow: hidden;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.page-id-3705 #content .vc_row.teasers > .wpb_column:hover, .page-id-4123 #content .vc_row.teasers > .wpb_column:hover { border-color: #c9c9d1; box-shadow: 0 6px 20px rgba(11, 11, 13, 0.08); }
.page-id-3705 #content .vc_row.teasers .vc_column-inner, .page-id-4123 #content .vc_row.teasers .vc_column-inner { height: 100%; padding: 24px 20px !important; background: none !important; }
.page-id-4123 #content .vc_row.teasers > .wpb_column { border-top: 3px solid var(--rup-pink); }
body#the7-body.page-id-3705 #content .vc_row.teasers h2, body#the7-body.page-id-4123 #content .vc_row.teasers h2 { margin: 0 0 8px; font-size: 21px; line-height: 1.2; }
.page-id-3705 #content .vc_row.teasers img { display: block; max-height: 300px; width: auto; margin: 0 auto 12px; }
.page-id-3705 #content .vc_row.teasers .sale-bar { position: static; transform: none; width: auto; margin: 0 0 12px; border-radius: 6px; }
.page-id-4123 #content .vc_row.teasers p:has(a.btn) { margin: 14px 0 0; }
@media screen and (max-width: 900px) {
	.page-id-4123 #content .vc_row.teasers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media screen and (max-width: 767px) {
	.page-id-3705 #content .vc_row.teasers, .page-id-4123 #content .vc_row.teasers { gap: 12px; margin-bottom: 12px !important; }
	.page-id-4123 #content .vc_row.teasers { grid-template-columns: 1fr; }
	.page-id-3705 #content .vc_row.teasers .vc_column-inner { padding: 12px 10px !important; }
	body#the7-body.page-id-3705 #content .vc_row.teasers h2 { font-size: 16px; }
	.page-id-3705 #content .vc_row.teasers p { font-size: 13px; }
	.page-id-3705 #content .vc_row.teasers img { max-height: 180px; }
	.page-id-3705 #content .vc_row.teasers .sale-bar { font-size: 12px; padding: 4px 6px; }
	body#the7-body.page-id-3705 #content .vc_row.teasers a.btn { min-height: 40px; padding: 6px 10px; font-size: 13px; }
}

/* --- Designer-Produkte: nur ein Preis, der Gesamtpreis, mit Steuerhinweis --- */
.single-product:has(.cha-product-designer-wrapper) .summary .woocommerce-variation-price,
.single-product:has(.cha-product-designer-wrapper) .summary > .price { display: none; }
.single-product:has(.cha-product-designer-wrapper) dd.tm-final-totals .price.final::after {
	content: " zzgl. 19% MwSt.";
	display: inline;
	position: static;
	width: auto;
	height: auto;
	margin-left: 6px;
	background: none;
	color: var(--rup-ink);
	font-family: var(--rup-font-head);
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

/* --- Roll-Ups (708): die Modelle sind WPBakery-Spalten, sie sehen aus wie die Produktkarten --- */
.page-id-708 #content .vc_row:has(> .wpb_column h4):not(:has(article.product)) {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	box-sizing: border-box;
	width: 100% !important;
	max-width: 1100px;
	left: auto !important;
	margin: 0 auto 20px !important;
	padding: 0;
}
.page-id-708 #content .vc_row:has(> .wpb_column h4):not(:has(article.product))::before, .page-id-708 #content .vc_row:has(> .wpb_column h4):not(:has(article.product))::after { display: none; }
.page-id-708 #content .vc_row:has(> .wpb_column h4):not(:has(article.product)) > .wpb_column {
	float: none;
	width: auto !important;
	min-width: 0;
	border: 1px solid var(--rup-line);
	border-radius: var(--rup-radius);
	background: var(--rup-white);
	overflow: hidden;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.page-id-708 #content .vc_row:has(> .wpb_column h4):not(:has(article.product)) > .wpb_column:hover { border-color: #c9c9d1; box-shadow: 0 6px 20px rgba(11, 11, 13, 0.08); }
.page-id-708 #content .vc_row:has(> .wpb_column h4):not(:has(article.product)) .vc_column-inner { height: 100%; padding: 12px !important; }
.page-id-708 #content .vc_row:has(> .wpb_column h4):not(:has(article.product)) .vc_column-inner > .wpb_wrapper { display: flex; flex-direction: column; height: 100%; }
.page-id-708 #content .vc_row:has(> .wpb_column h4):not(:has(article.product)) .wpb_content_element { margin-bottom: 8px; }
.page-id-708 #content .vc_row:has(> .wpb_column h4):not(:has(article.product)) img { display: block; width: 100%; height: auto; margin: 0; }
body#the7-body.page-id-708 #content .vc_row h4 { margin: 0 0 6px; font-family: var(--rup-font-head); font-size: 16px; font-weight: 500; line-height: 1.25; text-transform: none; }
.page-id-708 #content .vc_row:has(> .wpb_column h4):not(:has(article.product)) p span { display: block; color: var(--rup-ink) !important; font-family: var(--rup-font-body); font-size: 17px !important; font-weight: 600; }
.page-id-708 #content .vc_row:has(> .wpb_column h4):not(:has(article.product)) p span[style*="9pt"] { margin-top: 2px; color: var(--rup-muted) !important; font-family: var(--rup-font-body); font-size: 12px !important; font-weight: 400; }
body#the7-body.page-id-708 #content .vc_row:has(> .wpb_column h4):not(:has(article.product)) a.dt-btn {
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 44px;
	margin: auto 0 0;
	padding: 6px 10px;
	border: 0;
	border-radius: 8px;
	background: var(--rup-pink);
	color: var(--rup-white);
	font-family: var(--rup-font-button);
	font-size: 15px;
	font-weight: 500;
}
body#the7-body.page-id-708 #content .vc_row:has(> .wpb_column h4):not(:has(article.product)) a.dt-btn:hover { background: var(--rup-black); }
@media screen and (max-width: 767px) {
	.page-id-708 #content .vc_row:has(> .wpb_column h4):not(:has(article.product)) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 12px !important; }
	.page-id-708 #content .vc_row:has(> .wpb_column h4):not(:has(article.product)) .vc_column-inner { padding: 10px !important; }
	body#the7-body.page-id-708 #content .vc_row h4 { font-size: 15px; }
	/* Drei Karten pro Zeile im Zweier-Raster: die dritte fuellt die Zeile. */
	.page-id-708 #content .vc_row:has(> .wpb_column h4):not(:has(article.product)) > .wpb_column:last-of-type:nth-of-type(odd) { grid-column: 1 / -1; }
	.page-id-708 #content .vc_row:has(> .wpb_column h4):not(:has(article.product)) > .wpb_column:last-of-type:nth-of-type(odd) img { width: auto; max-height: 200px; margin: 0 auto; }
}

/* --- Kassen-Schritte auch auf dem Handy nebeneinander --- */
@media screen and (max-width: 767px) {
	body#the7-body .checkout-page-title .checkout-breadcrumbs { display: flex !important; flex-direction: row; align-items: flex-start; justify-content: space-between; width: 100%; margin: 0 auto 8px; padding: 0; }
	body#the7-body .checkout-breadcrumbs > a { display: flex !important; flex: 1 1 0; flex-direction: column; align-items: center; width: auto !important; min-width: 0; margin: 0 !important; padding: 0 !important; text-align: center; }
	body#the7-body .checkout-breadcrumbs .checkout-step::before, body#the7-body .checkout-breadcrumbs .checkout-step::after { display: none; }
	body#the7-body .checkout-breadcrumbs .checkout-name { order: 0; display: block; margin: 0 0 6px; padding: 0; font-size: 13px; line-height: 1.2; }
	body#the7-body .checkout-breadcrumbs .checkout-step { order: 1; position: relative; display: flex !important; align-items: center; justify-content: center; width: 100%; margin: 0; padding: 0; }
	body#the7-body .checkout-breadcrumbs .checkout-counter { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; margin: 0; font-size: 15px; line-height: 1; }
	body#the7-body .checkout-breadcrumbs .checkout-line { position: absolute; top: 50%; left: calc(50% + 22px); width: calc(100% - 44px) !important; height: 2px !important; margin: -1px 0 0; background: #e4e4e8; }
	body#the7-body .checkout-breadcrumbs > a.current .checkout-line { background: linear-gradient(90deg, var(--rup-pink) 50%, #e4e4e8 50%); }
	body#the7-body .checkout-breadcrumbs > a:last-child .checkout-line { display: none; }
}

/* --- Rueckmeldung beim Bestellen. WooCommerce setzt "processing" selbst und nimmt es bei Fehlern wieder weg. --- */
body:has(form.woocommerce-checkout.processing)::before {
	content: "Ihre Bestellung wird verarbeitet. Das kann einen Moment dauern. Bitte diese Seite nicht schließen.";
	position: fixed;
	inset: 0;
	z-index: 99000;
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	padding: 90px 24px 0;
	background: rgba(255, 255, 255, 0.94);
	color: var(--rup-ink);
	font-family: var(--rup-font-body);
	font-size: 18px;
	font-weight: 600;
	line-height: 1.35;
	text-align: center;
	pointer-events: none;
}
body:has(form.woocommerce-checkout.processing)::after {
	content: "";
	position: fixed;
	top: calc(50% - 72px);
	left: calc(50% - 22px);
	z-index: 99001;
	box-sizing: border-box;
	width: 44px;
	height: 44px;
	border: 4px solid var(--rup-line);
	border-top-color: var(--rup-pink);
	border-radius: 50%;
	animation: rup-spin 0.9s linear infinite;
	pointer-events: none;
}
@keyframes rup-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
	body:has(form.woocommerce-checkout.processing)::after { animation-duration: 2.5s; }
}

/* Karten mit Inhalt: der Farbverlauf beim Ueberfahren entfaellt, das Bild bleibt ruhig. */
.page-id-3705 #content .vc_row.teasers .tri, .page-id-4123 #content .vc_row.teasers .tri { display: none !important; }
.page-id-3705 #content .vc_row.teasers > .vc_column_container > .vc_column-inner > .wpb_wrapper:hover img { transform: none; }

/* --- Hauptmenue: jeder Punkt in einer Zeile --- */
#page .masthead .main-nav > li > a .menu-text { white-space: nowrap; }

/* --- Mein Konto --- */
.woocommerce-account #content .woocommerce { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 24px; }
.woocommerce-account .woocommerce-notices-wrapper { flex: 1 0 100%; }
.woocommerce-account .woocommerce-MyAccount-navigation { float: none; flex: 0 0 210px; width: 210px !important; margin: 0 !important; }
/* Beside the menu only where the orders table fits; on narrower screens the content takes the full width below it. */
.woocommerce-account .woocommerce-MyAccount-content { float: none; flex: 1 1 660px; min-width: 0; width: auto !important; margin: 0 !important; padding: 0 !important; }
.woocommerce-account .woocommerce-MyAccount-navigation ul { display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 0; list-style: none; }
.woocommerce-account .woocommerce-MyAccount-navigation li { margin: 0 !important; padding: 0 !important; border: 0 !important; background: none !important; }
.woocommerce-account .woocommerce-MyAccount-navigation li a {
	display: block;
	padding: 12px 16px !important;
	border-radius: var(--rup-radius);
	background: var(--rup-surface) !important;
	color: var(--rup-ink) !important;
	font-weight: 500;
	line-height: 1.3;
	text-decoration: none;
	transition: background-color 0.15s ease;
}
.woocommerce-account .woocommerce-MyAccount-navigation li a:hover { background: #e9e9ee !important; }
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a { background: var(--rup-pink) !important; color: var(--rup-white) !important; }
.woocommerce-account .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout a { background: none !important; color: var(--rup-muted) !important; }
.woocommerce-account .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout a:hover { color: var(--rup-ink) !important; }

/* Uebersicht */
.woocommerce-account .woocommerce-MyAccount-content > p:nth-of-type(2) { display: none; }
.rup-account-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.rup-account-tiles a { display: block; padding: 18px; border: 1px solid var(--rup-line); border-radius: var(--rup-radius); background: var(--rup-white); color: var(--rup-ink) !important; text-decoration: none; transition: border-color 0.15s ease, box-shadow 0.15s ease; }
.rup-account-tiles a:hover { border-color: #c9c9d1; box-shadow: 0 6px 20px rgba(11, 11, 13, 0.08); }
.rup-account-tiles strong { display: block; margin-bottom: 4px; font-family: var(--rup-font-head); font-size: 18px; font-weight: 500; }
.rup-account-tiles span { display: block; color: var(--rup-muted); font-size: 14px; line-height: 1.35; }

/* Anmelden und Registrieren, Formulare */
.woocommerce-account #customer_login { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; width: 100%; float: none; }
.woocommerce-account #customer_login::before, .woocommerce-account #customer_login::after { display: none; }
.woocommerce-account #customer_login > div { float: none; width: auto !important; margin: 0 !important; padding: 28px; border: 1px solid var(--rup-line); border-radius: var(--rup-radius); background: var(--rup-white) !important; }
.woocommerce-account #customer_login form { margin: 0; padding: 0; border: 0; background: none; }
.woocommerce-account .woocommerce-form-row input.input-text, .woocommerce-account .woocommerce-form-row select, .woocommerce-account .woocommerce-address-fields input.input-text, .woocommerce-account .woocommerce-address-fields select, .woocommerce-account form .select2-selection {
	box-sizing: border-box;
	min-height: 48px;
	border: 1px solid #d4d4da;
	border-radius: 8px;
	background: var(--rup-white);
	font-size: 16px;
}
.woocommerce-account .woocommerce-form-row input.input-text:focus, .woocommerce-account .woocommerce-address-fields input.input-text:focus { border-color: var(--rup-ink); }
body#the7-body.woocommerce-account button.button, body#the7-body.woocommerce-account #content a.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 8px 22px;
	border: 0;
	border-radius: var(--rup-radius);
	background: var(--rup-pink);
	color: var(--rup-white);
	font-family: var(--rup-font-button);
	font-size: 16px;
	font-weight: 500;
	text-decoration: none;
	transition: background-color 0.15s ease;
}
body#the7-body.woocommerce-account button.button:hover, body#the7-body.woocommerce-account #content a.button:hover { background: var(--rup-black); color: var(--rup-white); }

/* Bestellungen und Adressen */
.woocommerce-account .woocommerce-orders-table { width: 100%; border: 1px solid var(--rup-line); border-radius: var(--rup-radius); border-collapse: separate; border-spacing: 0; overflow: hidden; }
.woocommerce-account .woocommerce-orders-table thead th { background: var(--rup-surface); color: var(--rup-muted); font-family: var(--rup-font-body); font-size: 13px; font-weight: 600; white-space: nowrap; }
.woocommerce-account .woocommerce-orders-table th, .woocommerce-account .woocommerce-orders-table td { padding: 12px 10px; border: 0; border-bottom: 1px solid var(--rup-line); background: none; font-size: 15px; line-height: 1.35; text-align: left; vertical-align: middle; }
.woocommerce-account .woocommerce-orders-table tbody tr:last-child th, .woocommerce-account .woocommerce-orders-table tbody tr:last-child td { border-bottom: 0; }
.woocommerce-account .woocommerce-orders-table__cell-order-number { font-weight: 600; white-space: nowrap; }
.woocommerce-account .woocommerce-orders-table__cell-order-date { white-space: nowrap; }
.woocommerce-account .woocommerce-orders-table__cell-order-total { color: var(--rup-muted); font-size: 13px !important; }
.woocommerce-account .woocommerce-orders-table .amount { display: block; color: var(--rup-ink) !important; font-size: 15px; font-weight: 600; white-space: nowrap; }
/* The status is the one thing a customer looks for, so a dot carries its state. Pink only where the customer has to act. */
.woocommerce-account .woocommerce-orders-table tbody .woocommerce-orders-table__cell-order-status { position: relative; padding-left: 26px; }
.woocommerce-account .woocommerce-orders-table__cell-order-status::before { content: ""; position: absolute; left: 10px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: #9a9aa5; }
.woocommerce-account .woocommerce-orders-table__row--status-pending .woocommerce-orders-table__cell-order-status,
.woocommerce-account .woocommerce-orders-table__row--status-failed .woocommerce-orders-table__cell-order-status { color: #d6004f; font-weight: 600; }
.woocommerce-account .woocommerce-orders-table__row--status-pending .woocommerce-orders-table__cell-order-status::before,
.woocommerce-account .woocommerce-orders-table__row--status-failed .woocommerce-orders-table__cell-order-status::before { background: #ff0066; }
.woocommerce-account .woocommerce-orders-table__row--status-processing .woocommerce-orders-table__cell-order-status::before { background: #2f6fde; }
.woocommerce-account .woocommerce-orders-table__row--status-completed .woocommerce-orders-table__cell-order-status::before { background: #1f9d55; }
.woocommerce-account .woocommerce-orders-table__row--status-cancelled .woocommerce-orders-table__cell-order-status,
.woocommerce-account .woocommerce-orders-table__row--status-refunded .woocommerce-orders-table__cell-order-status { color: var(--rup-muted); }

/* Order actions: small and neutral. Only "Bezahlen" is a call to action and keeps the brand colour; cancelling stays quiet on purpose. */
.woocommerce-account th.woocommerce-orders-table__header-order-actions, .woocommerce-account td.woocommerce-orders-table__cell-order-actions { text-align: right; }
.woocommerce-account td.woocommerce-orders-table__cell-order-actions { width: 214px; }
body#the7-body.woocommerce-account #content a.woocommerce-button.button {
	height: 34px !important;
	min-height: 34px !important;
	margin: 3px 0 3px 6px;
	padding: 4px 12px;
	border: 1px solid #c9c9d1;
	border-radius: 8px;
	background: var(--rup-white);
	color: var(--rup-ink);
	font-family: var(--rup-font-body);
	font-size: 14px !important;
	font-weight: 600 !important;
	line-height: 1.2;
	white-space: nowrap;
	transition: border-color 0.15s ease, background-color 0.15s ease;
}
body#the7-body.woocommerce-account #content a.woocommerce-button.button:hover { border-color: var(--rup-ink); background: var(--rup-surface); color: var(--rup-ink); }
body#the7-body.woocommerce-account #content a.woocommerce-button.button.pay { border-color: #ff0066; background: #ff0066; color: var(--rup-white); }
body#the7-body.woocommerce-account #content a.woocommerce-button.button.pay:hover { border-color: var(--rup-black); background: var(--rup-black); color: var(--rup-white); }
body#the7-body.woocommerce-account #content a.woocommerce-button.button.cancel { padding-right: 6px; padding-left: 6px; border-color: transparent; background: none; color: var(--rup-muted); font-weight: 500 !important; }
body#the7-body.woocommerce-account #content a.woocommerce-button.button.cancel:hover { border-color: transparent; background: none; color: var(--rup-ink); text-decoration: underline; }

/* Notice above the list and paging. */
body#the7-body.woocommerce-account #content .woocommerce-info-text a.button, body#the7-body.woocommerce-account #content .woocommerce-pagination a.button { min-height: 34px; padding: 4px 12px; border: 1px solid #c9c9d1; border-radius: 8px; background: var(--rup-white); color: var(--rup-ink); font-family: var(--rup-font-body); font-size: 14px !important; font-weight: 600 !important; }
body#the7-body.woocommerce-account #content .woocommerce-info-text a.button:hover, body#the7-body.woocommerce-account #content .woocommerce-pagination a.button:hover { border-color: var(--rup-ink); background: var(--rup-surface); color: var(--rup-ink); }
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-info-text { margin-bottom: 14px; font-size: 14px; line-height: 1.4; }

/* One order. */
.woocommerce-account .woocommerce-MyAccount-content mark { padding: 0; background: none; color: var(--rup-ink); font-weight: 600; }
.woocommerce-account .order-actions--heading { font-weight: 500; vertical-align: middle; }
.woocommerce-account td:has(> .order-actions-button) { align-items: center; justify-content: flex-end; flex-wrap: wrap; }
body#the7-body.woocommerce-account #content a.download_small_button { display: flex; box-sizing: border-box; width: 100%; height: auto; min-height: 36px; padding: 6px 12px !important; border: 1px solid #c9c9d1; border-radius: 8px; background: var(--rup-white); color: var(--rup-ink) !important; font-family: var(--rup-font-body); font-size: 14px !important; font-weight: 600 !important; line-height: 1.25; text-align: center; white-space: normal; }
body#the7-body.woocommerce-account #content a.download_small_button:hover { border-color: var(--rup-ink); background: var(--rup-surface); color: var(--rup-ink) !important; }
/* The theme lays address cells out as a row, which put the phone number beside the address. */
.woocommerce-account td:has(> .woocommerce-customer-details--phone) { display: block; }
.woocommerce-account .woocommerce-customer-details--phone { margin: 4px 0 0; }

@media screen and (max-width: 900px) {
	body#the7-body.woocommerce-account #content .woocommerce-info-text a.button { float: none; display: flex; width: 100%; margin: 0 0 10px; }
	/* Each order as a compact block: number and status, date and sum, then the actions. */
	.woocommerce-account .woocommerce-orders-table thead { display: none; }
	.woocommerce-account .woocommerce-orders-table tbody tr {
		display: grid;
		grid-template-columns: 1fr auto;
		grid-template-areas: "number status" "date total" "actions actions";
		gap: 4px 12px;
		align-items: baseline;
		padding: 14px;
		border-bottom: 1px solid var(--rup-line);
	}
	.woocommerce-account .woocommerce-orders-table tbody tr:last-child { border-bottom: 0; }
	.woocommerce-account .woocommerce-orders-table tbody th, .woocommerce-account .woocommerce-orders-table tbody td { display: block; width: auto; min-width: 0; padding: 0; border: 0; background: none; text-align: left; }
	.woocommerce-account .woocommerce-orders-table tbody th::before, .woocommerce-account .woocommerce-orders-table tbody td::before { content: none; }
	.woocommerce-account .woocommerce-orders-table tbody .woocommerce-orders-table__cell-order-number { grid-area: number; font-size: 16px; }
	.woocommerce-account .woocommerce-orders-table tbody .woocommerce-orders-table__cell-order-status { grid-area: status; padding-left: 15px; font-size: 14px; text-align: right; }
	.woocommerce-account .woocommerce-orders-table tbody .woocommerce-orders-table__cell-order-status::before { content: ""; left: 0; top: 0.65em; }
	.woocommerce-account .woocommerce-orders-table tbody .woocommerce-orders-table__cell-order-date { grid-area: date; color: var(--rup-muted); font-size: 14px; }
	.woocommerce-account .woocommerce-orders-table tbody .woocommerce-orders-table__cell-order-total { grid-area: total; text-align: right; }
	.woocommerce-account .woocommerce-orders-table tbody .woocommerce-orders-table__cell-order-actions { display: grid; grid-area: actions; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
	body#the7-body.woocommerce-account #content .woocommerce-orders-table a.woocommerce-button.button { height: 40px !important; min-height: 40px !important; margin: 0; }
	body#the7-body.woocommerce-account #content .woocommerce-orders-table a.woocommerce-button.button.cancel { order: 1; }
}
@media screen and (min-width: 600px) and (max-width: 900px) {
	.woocommerce-account .woocommerce-orders-table tbody .woocommerce-orders-table__cell-order-actions { display: flex; justify-content: flex-end; }
	body#the7-body.woocommerce-account #content .woocommerce-orders-table a.woocommerce-button.button { min-width: 120px; }
}
.woocommerce-account .woocommerce-Addresses { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; float: none; width: 100%; margin-top: 12px; }
.woocommerce-account .woocommerce-Addresses::before, .woocommerce-account .woocommerce-Addresses::after { display: none; }
.woocommerce-account .woocommerce-Addresses .woocommerce-Address { float: none; width: auto !important; margin: 0; padding: 18px; border: 1px solid var(--rup-line); border-radius: var(--rup-radius); }
.woocommerce-account .woocommerce-Address-title h2, .woocommerce-account .woocommerce-Address-title h3 { margin: 0 0 8px; font-size: 18px; }
.woocommerce-account .woocommerce-Address-title a { color: var(--rup-pink); font-weight: 500; }
.woocommerce-account .woocommerce-Address address { font-style: normal; line-height: 1.5; }

@media screen and (max-width: 767px) {
	.woocommerce-account #content .woocommerce { flex-direction: column; flex-wrap: nowrap; gap: 16px; }
	.woocommerce-account .woocommerce-MyAccount-navigation, .woocommerce-account .woocommerce-MyAccount-content { flex: 0 0 auto; width: 100% !important; }
	/* Menue als waagerechte Leiste, damit der Inhalt sofort sichtbar ist. */
	.woocommerce-account .woocommerce-MyAccount-navigation ul { flex-direction: row; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 4px; }
	.woocommerce-account .woocommerce-MyAccount-navigation li { flex: 0 0 auto; }
	.woocommerce-account .woocommerce-MyAccount-navigation li a { display: flex; align-items: center; min-height: 44px; padding: 8px 14px !important; white-space: nowrap; font-size: 15px; }
	.woocommerce-account #customer_login, .woocommerce-account .woocommerce-Addresses { grid-template-columns: 1fr; }
	.woocommerce-account #customer_login > div { padding: 20px; }
	.rup-account-tiles a { padding: 14px; }
	.rup-account-tiles strong { font-size: 16px; }
	.rup-account-tiles span { font-size: 13px; }
}

/* --- Werbetechnik & Digitaldruck --- */
.rup-picura { display: flex; flex-direction: column; gap: 40px; margin-bottom: 40px; }
.rup-picura ul, .rup-picura ol { margin: 0; padding: 0; list-style: none; }
.rup-picura li { margin: 0; padding: 0; }
.rup-picura-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 24px; padding: 36px; border-radius: 14px; background: var(--rup-black); color: #e6e6ea; }
body#the7-body .rup-picura-hero h2 { margin: 0 0 14px; color: var(--rup-white); font-size: clamp(28px, 3.2vw, 42px); font-weight: 600; line-height: 1.12; text-transform: uppercase; }
.rup-picura-hero p { margin: 0 0 18px; line-height: 1.55; }
.rup-picura-hero img { display: block; width: 100%; height: auto; border-radius: 10px; background: var(--rup-white); }
.rup-picura-hero p.rup-picura-kicker { margin-bottom: 10px; color: var(--rup-pink); font-family: var(--rup-font-head); font-size: 15px; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; }
.rup-picura-actions { display: flex; flex-wrap: wrap; gap: 10px; }
body#the7-body .rup-picura-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 8px 24px; border-radius: var(--rup-radius); background: var(--rup-pink); color: var(--rup-white); font-family: var(--rup-font-button); font-size: 16px; font-weight: 500; text-decoration: none; transition: background-color 0.15s ease, color 0.15s ease; }
body#the7-body .rup-picura-btn:hover { background: var(--rup-white); color: var(--rup-black); }
body#the7-body .rup-picura-btn.is-light { background: var(--rup-white); color: var(--rup-ink); }
body#the7-body .rup-picura-btn.is-light:hover { background: #e4e4e8; }
.rup-picura-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.rup-picura-facts li { padding: 16px; border: 1px solid var(--rup-line); border-radius: var(--rup-radius); text-align: center; }
.rup-picura-facts strong { display: block; color: var(--rup-ink); font-family: var(--rup-font-head); font-size: 19px; font-weight: 500; }
.rup-picura-facts span { display: block; margin-top: 2px; color: var(--rup-muted); font-size: 14px; }
body#the7-body .rup-picura-section > h2, body#the7-body .rup-picura-cta h2 { margin: 0 0 18px; font-size: 28px; text-align: center; text-transform: uppercase; }
.rup-picura-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.rup-picura-card { display: flex; flex-direction: column; padding: 20px; border: 1px solid var(--rup-line); border-radius: var(--rup-radius); background: var(--rup-white); transition: border-color 0.15s ease, box-shadow 0.15s ease; }
.rup-picura-card:hover { border-color: #c9c9d1; box-shadow: 0 6px 20px rgba(11, 11, 13, 0.08); }
body#the7-body .rup-picura-card h3 { margin: 0 0 8px; font-size: 20px; line-height: 1.2; }
.rup-picura-card p { margin: 0 0 12px; font-size: 15px; line-height: 1.5; }
.rup-picura-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px !important; }
.rup-picura-chips a { display: inline-flex; align-items: center; min-height: 32px; padding: 4px 10px; border-radius: 16px; background: var(--rup-surface); color: var(--rup-ink) !important; font-size: 13px; line-height: 1.2; text-decoration: none; transition: background-color 0.15s ease; }
.rup-picura-chips a:hover { background: #e4e4e8; }
.rup-picura-chips.is-large { justify-content: center; gap: 8px; margin-bottom: 0 !important; }
.rup-picura-chips.is-large a { min-height: 40px; padding: 6px 16px; border-radius: 20px; font-size: 15px; }
.rup-picura-more { margin-top: auto; color: var(--rup-pink) !important; font-weight: 500; text-decoration: none; }
.rup-picura-more:hover { text-decoration: underline; }
.rup-picura-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; counter-reset: rup-step; }
.rup-picura-steps li { padding: 18px; border-radius: var(--rup-radius); background: var(--rup-surface); counter-increment: rup-step; }
.rup-picura-steps li::before { content: counter(rup-step); display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; margin-bottom: 10px; border-radius: 50%; background: var(--rup-pink); color: var(--rup-white); font-family: var(--rup-font-head); font-weight: 500; }
.rup-picura-steps strong { display: block; margin-bottom: 4px; color: var(--rup-ink); font-family: var(--rup-font-head); font-size: 17px; font-weight: 500; }
.rup-picura-steps span { display: block; font-size: 14px; line-height: 1.45; }
.rup-picura-cta { padding: 32px 24px; border-radius: 14px; background: var(--rup-black); color: #e6e6ea; text-align: center; }
body#the7-body .rup-picura-cta h2 { margin-bottom: 8px; color: var(--rup-white); }
.rup-picura-cta p { margin: 0 0 18px; }
.rup-picura-cta .rup-picura-actions { justify-content: center; }
@media screen and (max-width: 900px) {
	.rup-picura-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.rup-picura-steps, .rup-picura-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media screen and (max-width: 767px) {
	.rup-picura { gap: 28px; }
	.rup-picura-hero { grid-template-columns: 1fr; padding: 22px; }
	.rup-picura-grid { grid-template-columns: 1fr; gap: 12px; }
	body#the7-body .rup-picura-section > h2, body#the7-body .rup-picura-cta h2 { font-size: 23px; }
	.rup-picura-facts strong { font-size: 17px; }
	.rup-picura-facts li, .rup-picura-steps li { padding: 12px; }
}

/* --- Sichtbarer Tastaturfokus --- */
body#the7-body a:focus-visible, body#the7-body button:focus-visible, body#the7-body input:focus-visible, body#the7-body select:focus-visible {
	outline: 2px solid var(--rup-pink);
	outline-offset: 2px;
}


/* --- Barrierefreiheit: Kontrast und Zielgrößen ---
   Buttons bleiben exakt #ff0066 (Betreibervorgabe). Weiß darauf hat 3,85:1, das reicht nur für große fette Schrift (ab 18,66 px). */
:root { --rup-pink-text: #d6004f; --rup-pink-bar: #e0005a; --rup-grey-text: #666666; }
body#the7-body #content a.btn,
body#the7-body a.button, body#the7-body a.add_to_cart_button, body#the7-body a[href*="add-to-cart="], body#the7-body button.button, body#the7-body input[type="submit"], body#the7-body .single_add_to_cart_button,
body#the7-body.home .rup-paths a.is-primary { font-size: 19px !important; font-weight: 700 !important; line-height: 1.2; }
body#the7-body.home .rup-paths a.is-primary small { color: #1a0009; font-weight: 600; }
/* Hinweisleisten sind keine Buttons und bekommen ein Magenta, das kleine weiße Schrift trägt. */
body .liveticker .textwidget, body .liveticker a.liveticker, body .liveticker a, .sale-bar, body#the7-body #content .sale-bar { background-color: var(--rup-pink-bar) !important; }
/* Magenta als Textfarbe auf Weiß. Auf schwarzem Grund bleibt #ff0066, das hat dort genug Kontrast. */
.single-product .summary a:not(.btn):not(.button):not(.mspc-menu-item), .single-product .summary strong, .single-product .woocommerce-tabs strong, #datenblatt-link, .wpcf7 a { color: var(--rup-pink-text) !important; }
#content .vc_row:not(.dark):not(.bn) h3[style*="ff0066"] { color: var(--rup-pink-text) !important; }
.wcuf_required_upload_add_to_cart_warning_message { color: #b30044 !important; }
/* Schwaches Grau und Grün auf hellem Grund */
.reset_variations, .product_meta, .product_meta a, .product_meta span, .woocommerce-result-count, .woocommerce-review-link, .woocommerce-review-link .count, .count, .wc-tabs li a, .checkout-name { color: var(--rup-grey-text) !important; }
.star-rating, .star-rating span, .star-rating span::before, .star-rating::before { color: #767676 !important; }
.rating, span.rating { color: #767676 !important; }
.wcuf_drag_and_drop_area_description { color: #595959 !important; }
.free-shipping { color: #2a7a00 !important; }
input.qty, .quantity input.qty { color: #333333 !important; }
.product_meta a { text-decoration: underline !important; }
.page-id-565 #content strong { color: var(--rup-pink-text) !important; }
/* Die Produktbilder im Hero auf dem Handy laden spät. Der feste Platz verhindert, dass die Buttons darunter springen. Die Bilder sind quadratisch. */
@media screen and (max-width: 767px) {
	.home .vc_row.bn img { height: 27vh; width: 27vh; max-height: none; object-fit: contain; }
}
/* Ziele zum Antippen: Telefon, E-Mail und Mengen-Tasten */
a[href^="tel:"], a[href^="mailto:"] { display: inline-block; min-height: 24px; line-height: 24px; }
button.minus.is-form, button.plus.is-form { min-width: 28px; min-height: 28px; }
/* Zoomen ist jetzt erlaubt: iOS würde beim Tippen in kleine Felder von selbst vergrößern. */
@media screen and (max-width: 767px) {
	input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="password"], input[type="search"], select, textarea { font-size: 16px !important; }
}
/* Das Logo im Cookie-Banner liegt nur in 98 x 24 px vor und wirkt sonst unscharf. Feste Maße verhindern außerdem einen Sprung. */
img.uc-partner-icon { width: 48px !important; height: 12px !important; }
/* Der Button unter dem Karussell lag hinter den Roll-Up-Bildern. */
.rollup-carousel a.btn { position: relative; z-index: 5; margin-top: 24px; }
/* Der Knopf "Nach oben" hatte kein sichtbares Zeichen. */
.scroll-top { background-color: rgba(0, 0, 0, 0.65) !important; }
.scroll-top::before { content: "\2191"; color: #ffffff; font: 700 20px/1 Arial, sans-serif; }
/* Die Slider-Bilder sind sonst minimal größer als das erste Bild im Hintergrund, und der Browser meldet jedes als neues größtes Element. Der Streifen unten zeigt das Hintergrundbild unter der Abdunklung. */
.home .vc_row.bn .backstretch { max-height: calc(100% - 8px) !important; }
/* Kopf auf dem Handy, solange die Skripte der Startseite noch nicht laufen. Gleiche Plätze wie der Kopf der The7. */
.rup-bar { display: none; }
@media screen and (max-width: 970px) {
	.rup-bar { display: block; position: absolute; top: 0; left: 0; right: 0; height: 60px; z-index: 20; }
	.masthead-mobile-header .rup-bar { display: none; }
	.rup-bar a { position: absolute; display: flex; align-items: center; justify-content: center; color: #ffffff !important; text-decoration: none; min-height: 0; }
	.rup-bar-logo { left: 16px; top: 12px; width: 96px; height: 35px; }
	.rup-bar-logo img { display: block; width: 96px; height: 35px; }
	.rup-bar-login { right: 134px; top: 8px; width: 44px; height: 44px; font-size: 20px; }
	.rup-bar-cart { right: 66px; top: 8px; width: 44px; height: 44px; font-size: 20px; }
	.rup-bar-cart span { position: absolute; right: 0; top: 4px; min-width: 18px; height: 14px; padding: 0 3px; box-sizing: border-box; background: var(--rup-pink-bar); color: #ffffff; font: 400 10px/14px Arial, sans-serif; text-align: center; border-radius: 2px; }
	.rup-bar-menu { right: 10px; top: 2px; width: 50px; height: 56px; flex-direction: column; gap: 5px; }
	.rup-bar-menu span { display: block; width: 22px; height: 2px; background: #ffffff; }
}
