/*
Theme Name: FreshCart Child
Theme URI: https://github.com/tantripalmcode/b2b-riedel-shop-child-theme
Description: Child theme for the FreshCart WordPress theme.
Author: MadrasThemes
Author URI: https://madrasthemes.com/
Template: freshcart
Version: 1.0.32
Text Domain: freshcart-child
Update URI: https://github.com/tantripalmcode/b2b-riedel-shop-child-theme
*/

/* ── Box sizing reset ───────────────────────────────────────────────────────── */

*,
*::before,
*::after {
	box-sizing: border-box;
}

/* ── Smooth anchor scrolling ────────────────────────────────────────────────── */

html {
	scroll-behavior: smooth;
	/* Keeps anchor-link targets from landing underneath the fixed sticky
	   header and admin bar; kept in sync with their live height by the
	   sticky-header script in inc/assets.php. */
	scroll-padding-top: var(--riedel-scroll-offset, 0px);
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}

:root :where(.is-layout-flow) > * {
	margin-block-start: 0;
}

/* ── Global tokens ──────────────────────────────────────────────────────────── */

:root {
	--freshcart-child-content-radius: 2px;
	--riedel-container-max-width: var(--wp--style--global--content-size);
	--riedel-container-gutter: var(--wp--preset--spacing--30);
	--riedel-container-width: min(calc(100% - (var(--riedel-container-gutter) * 2)), var(--riedel-container-max-width));
}

.riedel-container,
.riedel-section-container {
	width: 100%;
	max-width: var(--wp--style--global--content-size);
	margin-inline: auto;
}

/* ── Global button ──────────────────────────────────────────────────────────── */

.riedel-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 36px;
	padding: 10px var(--wp--preset--spacing--4);
	border: none;
	border-radius: var(--wp--custom--radius--lg);
	background: var(--wp--preset--color--action-primary);
	color: var(--wp--preset--color--text-inverse);
	font-size: var(--wp--preset--font-size--md);
	font-weight: 500;
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
	transition: background 0.2s;
}

.riedel-btn:hover,
.riedel-btn:focus-visible {
	background: var(--wp--preset--color--action-primary-hover);
	color: var(--wp--preset--color--text-inverse);
	text-decoration: none;
}

.riedel-btn--white {
	background: var(--wp--preset--color--surface-default);
	color: var(--wp--preset--color--action-primary);
}

.riedel-btn--white:hover,
.riedel-btn--white:focus-visible {
	background: var(--wp--preset--color--teal-action-light);
	color: var(--wp--preset--color--action-primary);
}

.riedel-btn--outline {
	border: 1px solid var(--wp--preset--color--action-primary);
	background: var(--wp--preset--color--surface-default);
	color: var(--wp--preset--color--action-primary);
}

.riedel-btn--outline:hover,
.riedel-btn--outline:focus-visible {
	background: var(--wp--preset--color--action-primary);
	color: var(--wp--preset--color--text-inverse);
}

/* ── Scrollbar utility ──────────────────────────────────────────────────────── */

.riedel-scrollbar {
	scrollbar-width:thin;
	scrollbar-color: color-mix(in srgb, var(--wp--preset--color--border-default) 88%, var(--wp--preset--color--text-secondary) 12%) transparent;
}

.riedel-scrollbar::-webkit-scrollbar {
	width: 8px;
}

.riedel-scrollbar::-webkit-scrollbar-track {
	background: transparent;
}

.riedel-scrollbar::-webkit-scrollbar-thumb {
	border: 2px solid var(--wp--preset--color--surface-default);
	border-radius: var(--wp--custom--radius--full);
	background: color-mix(in srgb, var(--wp--preset--color--border-default) 88%, var(--wp--preset--color--text-secondary) 12%);
}

.riedel-scrollbar::-webkit-scrollbar-thumb:hover {
	background: color-mix(in srgb, var(--wp--preset--color--border-default) 72%, var(--wp--preset--color--text-secondary) 28%);
}

.woocommerce-cart main.wp-block-group > div,
.woocommerce-checkout main.wp-block-group > div {
	max-width: var(--wp--style--global--content-size) !important;
}

/* (YITH Wishlist plugin removed) */

.wp-block-post-featured-image>a,
.wp-block-image img,
.wc-block-grid__product-image img {
	border-radius: var(--freshcart-child-content-radius);
}

header.wp-block-template-part {
	/* Clip the 100vw sticky-zone's horizontal overhang (scrollbar width) without
	   creating a vertical scroll container — keeps the category-nav dropdown visible.
	   `overflow-x: clip` leaves overflow-y as `visible`, unlike `overflow: hidden`. */
	overflow-x: clip;
}

/* ── Separator ─────────────────────────────────────────────────────────────── */

.wp-block-separator {
	height: 1px;
}

/* ── Admin bar ──────────────────────────────────────────────────────────────── */

/* Keep the admin bar in the page flow and cancel WP's html offset.
   `html:root` outranks core's inline `html { margin-top: … !important }`. */
#wpadminbar {
	position: fixed;
}

/* ── Full-width page template ───────────────────────────────────────────────── */

.riedel-fullwidth-page {
	width: 100%;
	max-width: none;
	margin-block-start: 0;
	margin-block-end: 0;
}

.riedel-fullwidth-page__content {
	width: 100%;
	max-width: none;
	margin-block-start: 0;
	margin-block-end: 0;
}

.riedel-fullwidth-page__content>* {
	box-sizing: border-box;
}

/* ── Header ─────────────────────────────────────────────────────────────────── */

.riedel-header {
	background: var(--wp--preset--color--text-primary);
	color: var(--wp--preset--color--surface-default);
}

.riedel-header .wp-block-group {
	margin-block-start: 0;
	margin-block-end: 0;
}

.riedel-header__sticky-zone {
	z-index: 200;
	width: 100vw !important;
	max-width: 100vw !important;
	padding-inline: 0 !important;
	margin-inline: 0 !important;
	margin-left: calc(50% - 50vw) !important;
	transition: box-shadow 0.2s ease;
}

.riedel-header__sticky-zone.is-stuck {
	position: fixed;
	top: 0;
	left: 0 !important;
	right: 0 !important;
	/* left/right 0 (not 100vw) so the fixed zone spans the viewport minus
	   the scrollbar — 100vw includes the scrollbar and shifts the centered
	   content ~half a scrollbar to the right relative to the page. */
	width: auto !important;
	max-width: none !important;
	margin-left: 0 !important;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.10);
}

body.admin-bar .riedel-header__sticky-zone.is-stuck {
	top: 32px;
}

@media (max-width: 782px) {
	body.admin-bar .riedel-header__sticky-zone.is-stuck {
		top: 46px;
	}
}

.riedel-header__utility-wrap {
	background: var(--wp--preset--color--surface-secondary, #F8FAFC);
	border-bottom: 1px solid var(--wp--preset--color--border-default, #E2E8F0);
	padding-top: var(--wp--preset--spacing--2, 0.5rem);
	padding-bottom: var(--wp--preset--spacing--2, 0.5rem);
	color: var(--wp--preset--color--text-secondary);
}

.riedel-header__utility,
.riedel-header__nav {
	max-width: var(--wp--style--global--content-size);
	margin: 0 auto;
}

.riedel-header__utility {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--wp--preset--spacing--6, 1.5rem);
	font-size: var(--wp--preset--font-size--sm);
	line-height: 1.4;
}

.riedel-header__utility-left,
.riedel-header__utility-right {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: var(--wp--preset--spacing--4, 1rem);
}

.riedel-header__utility a,
.riedel-header__utility span {
	text-decoration: none;
}

.riedel-header__utility p {
	margin: 0;
}

.riedel-header__utility a:hover {
	color: var(--wp--preset--color--surface-default);
}

.riedel-header__utility-right a,
.riedel-header__utility-right .wp-block-navigation-item__content {
	padding: 0;
	color: var(--wp--preset--color--action-primary, #007D7D) !important;
	text-decoration: underline;
}

.riedel-header__utility-right a:hover,
.riedel-header__utility-right .wp-block-navigation-item__content:hover {
	color: var(--wp--preset--color--action-primary-hover, #006666) !important;
}

.riedel-header__main-wrap {
	background: var(--wp--preset--color--surface-default);
	border-bottom: 1px solid var(--wp--preset--color--border-default);
	padding-top: var(--wp--preset--spacing--4);
	padding-bottom: var(--wp--preset--spacing--4);
}

.riedel-header__main {
	max-width: var(--wp--style--global--content-size);
	margin: 0 auto 0 !important;
}

.riedel-header__main>.wp-block-column:nth-child(2) {
	flex: 1 1 auto;
	min-width: 0;
}


.riedel-header__logo img {
	max-width: 36px;
	height: auto;
	display: block;
}

.riedel-header__logo-search {
	display: flex;
	align-items: center;
	gap: var(--wp--preset--spacing--5, 1.25rem);
	width: 100%;
}

.riedel-header__logo-search > .wp-block-freshcart-child-product-search {
	flex: 1 1 0;
	min-width: 0;
}

.riedel-header__logo-search > .riedel-product-search-shell {
	flex: 1 1 0;
	min-width: 0;
}

.riedel-header__search-shell {
	display: grid;
	align-items: center;
	width: 100%;
	grid-template-columns: minmax(0, 1fr) auto;
	min-height: 62px;
}

.riedel-header__search-shell .wp-block-shortcode {
	width: 100%;
	margin: 0;
}

.riedel-header__mini-cart {
	display: flex;
	justify-content: flex-end;
	width: 100%;
	margin-left: auto;
}

.riedel-header__mini-cart.wc-block-mini-cart .wc-block-mini-cart__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-flow: row nowrap;
	gap: var(--wp--preset--spacing--4, 1rem);
	width: auto;
	color: var(--wp--preset--color--action-primary);
	background: var(--wp--preset--color--surface-default);
}

.riedel-header__main>.wp-block-column:last-child {
	display: flex;
	justify-content: flex-end;
	flex: 0 0 auto;
}

.riedel-header__mini-cart.wc-block-mini-cart .wc-block-mini-cart__button:hover {
	text-decoration: none;
	color: var(--wp--preset--color--action-primary);
	border-color: var(--wp--preset--color--border-strong);
}

.riedel-header__mini-cart.wc-block-mini-cart .wc-block-mini-cart__quantity-badge {
	order: 1;
}

.riedel-header__mini-cart.wc-block-mini-cart .wc-block-mini-cart__quantity-badge svg {
	display: none !important;
}

.riedel-header__mini-cart.wc-block-mini-cart .wc-block-mini-cart__quantity-badge::before {
	content: "";
	display: inline-block;
	width: 24px;
	height: 24px;
	background-color: var(--wp--preset--color--footer-border);
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M19.5 22C20.3284 22 21 21.3284 21 20.5C21 19.6716 20.3284 19 19.5 19C18.6716 19 18 19.6716 18 20.5C18 21.3284 18.6716 22 19.5 22Z' fill='black'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M19.5 19.75C19.0858 19.75 18.75 20.0858 18.75 20.5C18.75 20.9142 19.0858 21.25 19.5 21.25C19.9142 21.25 20.25 20.9142 20.25 20.5C20.25 20.0858 19.9142 19.75 19.5 19.75ZM17.25 20.5C17.25 19.2574 18.2574 18.25 19.5 18.25C20.7426 18.25 21.75 19.2574 21.75 20.5C21.75 21.7426 20.7426 22.75 19.5 22.75C18.2574 22.75 17.25 21.7426 17.25 20.5Z' fill='black'/%3E%3Cpath d='M9.5 22C10.3284 22 11 21.3284 11 20.5C11 19.6716 10.3284 19 9.5 19C8.67157 19 8 19.6716 8 20.5C8 21.3284 8.67157 22 9.5 22Z' fill='black'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M9.5 19.75C9.08579 19.75 8.75 20.0858 8.75 20.5C8.75 20.9142 9.08579 21.25 9.5 21.25C9.91421 21.25 10.25 20.9142 10.25 20.5C10.25 20.0858 9.91421 19.75 9.5 19.75ZM7.25 20.5C7.25 19.2574 8.25736 18.25 9.5 18.25C10.7426 18.25 11.75 19.2574 11.75 20.5C11.75 21.7426 10.7426 22.75 9.5 22.75C8.25736 22.75 7.25 21.7426 7.25 20.5Z' fill='black'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M1.25 2C1.25 1.58579 1.58579 1.25 2 1.25C3.96839 1.25 5.05306 2.34155 5.51124 3.25H22C22.2224 3.25 22.4333 3.3487 22.5758 3.51944C22.7183 3.69018 22.7777 3.91536 22.7379 4.13416L20.7379 15.1342C20.6731 15.4908 20.3625 15.75 20 15.75H7C6.63754 15.75 6.32694 15.4908 6.2621 15.1342L4.26716 4.16199C4.15331 3.74877 3.56536 2.75 2 2.75C1.58579 2.75 1.25 2.41421 1.25 2ZM5.89866 4.75L7.62593 14.25H19.3741L21.1013 4.75H5.89866Z' fill='black'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M3.64869 16.1411C3.39118 16.3359 3.25 16.6065 3.25 17C3.25 17.3935 3.39118 17.6641 3.64869 17.8589C3.93322 18.0741 4.43492 18.25 5.23077 18.25H19.5C19.9142 18.25 20.25 18.5858 20.25 19C20.25 19.4142 19.9142 19.75 19.5 19.75H5.23077C4.24231 19.75 3.37863 19.5353 2.74385 19.0552C2.08205 18.5547 1.75 17.8253 1.75 17C1.75 16.1747 2.08205 15.4453 2.74385 14.9448C3.37863 14.4647 4.24231 14.25 5.23077 14.25H20C20.4142 14.25 20.75 14.5858 20.75 15C20.75 15.4142 20.4142 15.75 20 15.75H5.23077C4.43492 15.75 3.93322 15.9259 3.64869 16.1411Z' fill='black'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M19.5 22C20.3284 22 21 21.3284 21 20.5C21 19.6716 20.3284 19 19.5 19C18.6716 19 18 19.6716 18 20.5C18 21.3284 18.6716 22 19.5 22Z' fill='black'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M19.5 19.75C19.0858 19.75 18.75 20.0858 18.75 20.5C18.75 20.9142 19.0858 21.25 19.5 21.25C19.9142 21.25 20.25 20.9142 20.25 20.5C20.25 20.0858 19.9142 19.75 19.5 19.75ZM17.25 20.5C17.25 19.2574 18.2574 18.25 19.5 18.25C20.7426 18.25 21.75 19.2574 21.75 20.5C21.75 21.7426 20.7426 22.75 19.5 22.75C18.2574 22.75 17.25 21.7426 17.25 20.5Z' fill='black'/%3E%3Cpath d='M9.5 22C10.3284 22 11 21.3284 11 20.5C11 19.6716 10.3284 19 9.5 19C8.67157 19 8 19.6716 8 20.5C8 21.3284 8.67157 22 9.5 22Z' fill='black'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M9.5 19.75C9.08579 19.75 8.75 20.0858 8.75 20.5C8.75 20.9142 9.08579 21.25 9.5 21.25C9.91421 21.25 10.25 20.9142 10.25 20.5C10.25 20.0858 9.91421 19.75 9.5 19.75ZM7.25 20.5C7.25 19.2574 8.25736 18.25 9.5 18.25C10.7426 18.25 11.75 19.2574 11.75 20.5C11.75 21.7426 10.7426 22.75 9.5 22.75C8.25736 22.75 7.25 21.7426 7.25 20.5Z' fill='black'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M1.25 2C1.25 1.58579 1.58579 1.25 2 1.25C3.96839 1.25 5.05306 2.34155 5.51124 3.25H22C22.2224 3.25 22.4333 3.3487 22.5758 3.51944C22.7183 3.69018 22.7777 3.91536 22.7379 4.13416L20.7379 15.1342C20.6731 15.4908 20.3625 15.75 20 15.75H7C6.63754 15.75 6.32694 15.4908 6.2621 15.1342L4.26716 4.16199C4.15331 3.74877 3.56536 2.75 2 2.75C1.58579 2.75 1.25 2.41421 1.25 2ZM5.89866 4.75L7.62593 14.25H19.3741L21.1013 4.75H5.89866Z' fill='black'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M3.64869 16.1411C3.39118 16.3359 3.25 16.6065 3.25 17C3.25 17.3935 3.39118 17.6641 3.64869 17.8589C3.93322 18.0741 4.43492 18.25 5.23077 18.25H19.5C19.9142 18.25 20.25 18.5858 20.25 19C20.25 19.4142 19.9142 19.75 19.5 19.75H5.23077C4.24231 19.75 3.37863 19.5353 2.74385 19.0552C2.08205 18.5547 1.75 17.8253 1.75 17C1.75 16.1747 2.08205 15.4453 2.74385 14.9448C3.37863 14.4647 4.24231 14.25 5.23077 14.25H20C20.4142 14.25 20.75 14.5858 20.75 15C20.75 15.4142 20.4142 15.75 20 15.75H5.23077C4.43492 15.75 3.93322 15.9259 3.64869 16.1411Z' fill='black'/%3E%3C/svg%3E");
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-size: 24px 24px;
	mask-size: 24px 24px;
	line-height: 1;
}

.riedel-header__mini-cart.wc-block-mini-cart .wc-block-mini-cart__badge {
	top: 0;
	right: 0;
	min-width: 16px;
	height: 16px;
	left: 0;
	margin: 0;
	background: var(--wp--preset--color--badge-sale) !important;
	color: #fff !important;
	font-weight: 700;
	font-size: var(--wp--preset--font-size--sm);
	position: relative;
	transform: unset;
}

.riedel-header__mini-cart.wc-block-mini-cart .wc-block-mini-cart__amount {
	display: block;
	order: 2;
	margin: 0;
	font-size: var(--wp--preset--font-size--md);
	font-weight: 600;
}

.riedel-header__mini-cart.wc-block-mini-cart .wc-block-mini-cart__amount::before {
	content: "Warenkorb \2013\00a0";
	font-weight: 400;
	color: var(--wp--preset--color--action-primary);
}

.riedel-header__primary-wrap {
	background: var(--wp--preset--color--action-primary);
	padding-top: 0;
	padding-bottom: 0;
}

.riedel-header__secondary-wrap {
	border-bottom: 1px solid var(--wp--preset--color--border-default);
	background: var(--wp--preset--color--surface-default);
	padding-top: 0;
	padding-bottom: 0;
}

.riedel-header__secondary-wrap > .riedel-header__nav {
	min-height: 44px;
	color: var(--wp--preset--color--text-secondary);
}

.riedel-header__nav {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: var(--wp--preset--spacing--2, 0.5rem) var(--wp--preset--spacing--10, 2.5rem);
}

.riedel-header__nav a {
	text-decoration: none;
	white-space: nowrap;
}

.riedel-header__nav .wp-block-navigation__container {
	gap: var(--wp--preset--spacing--2, 0.5rem) var(--wp--preset--spacing--10, 2.5rem);
}

@media (max-width: 1279px) {
	.riedel-header__main>.wp-block-column:first-child {
		flex: 0 0 auto;
	}

	.riedel-header__main>.wp-block-column:last-child {
		flex: 0 0 auto;
	}

	.riedel-header__mini-cart.wc-block-mini-cart .wc-block-mini-cart__button {
		min-width: 190px;
		padding-right: var(--wp--preset--spacing--6, 1.5rem);
		padding-left: var(--wp--preset--spacing--6, 1.5rem);
	}

	.riedel-header__mini-cart.wc-block-mini-cart .wc-block-mini-cart__amount::before {
		display: none;
	}

	.riedel-header__nav {
		flex-wrap: nowrap;
		overflow-x: auto;
		overflow-y: hidden;
	}

	.riedel-header__nav .wp-block-navigation__container {
		flex-wrap: nowrap;
	}

	.riedel-header__nav::-webkit-scrollbar {
		display: none;
	}
}

.riedel-header .riedel-header__nav--primary.wp-block-navigation .wp-block-navigation-item__content.wp-block-navigation-item__content {
	color: color-mix(in srgb, var(--wp--preset--color--surface-default) 92%, transparent);
	font-size: var(--wp--preset--font-size--md);
	font-weight: 600;
	padding: 0;
}

.riedel-header .riedel-header__nav--primary.wp-block-navigation .wp-block-navigation-item__content.wp-block-navigation-item__content:hover {
	color: var(--wp--preset--color--surface-default);
}

.riedel-header__nav--primary {
	min-height: 48px;
}

.riedel-header__nav--secondary {
	gap: 10px 36px;
}

.riedel-header__nav--secondary .wp-block-navigation__container {
	gap: 10px 36px;
}

.riedel-header .riedel-header__nav--secondary.wp-block-navigation .wp-block-navigation-item__content.wp-block-navigation-item__content {
	color: var(--wp--preset--color--text-secondary);
	font-size: var(--wp--preset--font-size--md);
	font-weight: 500;
	padding: 0;
}

.riedel-header .riedel-header__nav--secondary.wp-block-navigation .wp-block-navigation-item__content.wp-block-navigation-item__content:hover {
	color: var(--wp--preset--color--action-primary);
}

@media (max-width: 1279px) {
	.riedel-header__main {
		display: flex;
		flex-wrap: nowrap;
		align-items: center;
	}

	.riedel-header__mini-cart {
		max-width: none;
	}
}

@media (max-width: 799px) {
	/* Hidden on mobile; the nav toggle moves it into the popup menu. */
	.riedel-header__utility-wrap {
		display: none;
		padding-top: 0;
		padding-bottom: 0;
		background: transparent;
	}

	.riedel-header__utility {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		min-height: 31px;
		gap: 14px;
		font-size: 10px;
		line-height: 1;
	}

	.riedel-header__utility-left,
	.riedel-header__utility-right {
		flex-wrap: nowrap;
		gap: 14px;
	}


	.riedel-header__utility-right {
		margin-left: auto;
	}

	.riedel-header__utility-right .wp-block-navigation__container {
		gap: 22px;
	}

	.riedel-header__utility-right .wp-block-navigation-item__content {
		font-size: 10px;
	}

	.riedel-header__main-wrap {
		padding-top: var(--wp--preset--spacing--3);
		padding-bottom: var(--wp--preset--spacing--3);
	}

	.riedel-header__main {
		display: flex;
		flex-wrap: nowrap !important;
		align-items: center;
		gap: var(--wp--preset--spacing--4) !important;
	}

	.riedel-header__main.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column {
		flex-basis: auto !important;
	}

	.riedel-header__main.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column:first-child {
		order: 1;
		flex: 1 1 0 !important;
		min-width: 0;
	}

	.riedel-header__main.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column:nth-child(2) {
		order: 2;
		flex: 0 0 auto !important;
		flex-basis: auto !important;
		width: 44px !important;
	}

	.riedel-header__main.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column:last-child {
		order: 3;
		display: flex;
		align-items: center;
		gap: var(--wp--preset--spacing--4);
		flex: 0 0 auto !important;
		width: auto !important;
		margin-left: 0;
	}

	.riedel-header__mini-cart {
		width: auto;
	}

	.riedel-header__search-shell {
		min-height: 0;
		grid-template-columns: 1fr;
	}

	.riedel-header__logo img {
		max-width: 24px;
	}

	.riedel-header__mini-cart.wc-block-mini-cart .wc-block-mini-cart__button {
		width: 44px;
		min-width: 44px;
		min-height: 32px;
		height: 32px;
		gap: 0;
		padding: 0;
		border-radius: var(--wp--custom--radius--lg);
	}

	.riedel-header__mini-cart.wc-block-mini-cart .wc-block-mini-cart__quantity-badge::before {
		width: 24px;
		height: 24px;
		-webkit-mask-size: 17px 17px;
		mask-size: 24px 24px;
	}

	.riedel-header__mini-cart.wc-block-mini-cart .wc-block-mini-cart__badge {
		top: -7px;
		right: -6px;
		min-width: 17px;
		height: 17px;
		padding: 0 4px;
		font-size: 9px;
		line-height: 17px;
	}

	.riedel-header__mini-cart.wc-block-mini-cart .wc-block-mini-cart__amount {
		display: none;
	}

	/* The category nav bar is hidden on mobile; the mobile nav toggle
	   reopens it as a popup panel below the sticky header. */
	.riedel-header__primary-wrap {
		display: none;
	}

	body.riedel-mobile-nav-open {
		overflow: hidden;
	}

	body.riedel-mobile-nav-open .riedel-header__primary-wrap {
		display: block;
		position: fixed;
		top: var(--riedel-mobile-nav-top, 0px);
		right: 0 !important;
		bottom: 0;
		left: 0 !important;
		z-index: 300;
		overflow-y: auto;
		background: var(--wp--preset--color--surface-default);
		border-top: 1px solid var(--wp--preset--color--border-default);
	}

	/* Utility bar while relocated inside the popup menu. */
	body.riedel-mobile-nav-open .riedel-header__utility-wrap {
		display: block;
		margin-top: var(--wp--preset--spacing--4);
		padding: var(--wp--preset--spacing--4) var(--riedel-container-gutter);
		border-top: 1px solid var(--wp--preset--color--border-default);
		border-bottom: 0;
	}

	body.riedel-mobile-nav-open .riedel-header__utility {
		flex-direction: column;
		align-items: center;
		min-height: 0;
		gap: var(--wp--preset--spacing--4);
		font-size: var(--wp--preset--font-size--sm);
		line-height: 1.4;
	}

	body.riedel-mobile-nav-open .riedel-header__utility-left,
	body.riedel-mobile-nav-open .riedel-header__utility-right {
		gap: var(--wp--preset--spacing--2) var(--wp--preset--spacing--4);
		flex-wrap: wrap;
	}

	body.riedel-mobile-nav-open .riedel-header__utility-right {
		margin-left: 0;
	}

	body.riedel-mobile-nav-open .riedel-header__utility-right .wp-block-navigation__container {
		/* justify-content: center; */
		/* align-items: ce\nter; */
	}

	body.riedel-mobile-nav-open .riedel-header__utility-right .wp-block-navigation-item__content {
		font-size: var(--wp--preset--font-size--sm);
	}

	.riedel-header__nav {
		flex-wrap: nowrap;
		overflow-x: auto;
		gap: 24px;
		padding-top: 13px;
		padding-bottom: 13px;
	}

	.riedel-header__secondary-wrap {
		padding-inline: 0;
	}

	.riedel-header__secondary-wrap > .riedel-header__nav > ul{
		padding-inline: var(--wp--preset--spacing--5);
	}

	.riedel-header__nav .wp-block-navigation__container {
		gap: 24px;
	}

	.riedel-header .riedel-header__nav--primary.wp-block-navigation .wp-block-navigation-item__content.wp-block-navigation-item__content {
		font-size: 10px;
	}

	.riedel-header__nav::-webkit-scrollbar {
		display: none;
	}
}

/* ── Footer ─────────────────────────────────────────────────────────────────── */

.riedel-footer {
	background: var(--wp--preset--color--text-primary);
	color: var(--wp--preset--color--text-tertiary);
}

.riedel-footer .wp-block-group {
	margin-block-start: 0;
	margin-block-end: 0;
}

.riedel-footer__inner {
	padding-top: var(--wp--preset--spacing--12);
	padding-bottom: var(--wp--preset--spacing--6);
}

.riedel-footer__columns,
.riedel-footer__bottom {
	max-width: var(--wp--style--global--content-size);
	margin: 0 auto !important;
}

.riedel-footer__columns {
	margin-bottom: var(--wp--preset--spacing--12) !important;
}

.riedel-footer__bottom {
	border-top: 1px solid #374150;
	padding-top: var(--wp--preset--spacing--6);
}

.riedel-footer__column {
	max-width: 240px;
}

.riedel-footer__heading {
	margin: 0 0 var(--wp--preset--spacing--6);
	color: var(--wp--preset--color--text-inverse);
	font-size: var(--wp--preset--font-size--md);
	font-weight: 600;
	line-height: 1.35;
}

.riedel-footer__menu {
	margin: 0;
}

.riedel-footer__menu .wp-block-navigation__container {
	gap: var(--wp--preset--spacing--4);
}

.riedel-footer__menu .wp-block-navigation-item__content {
	padding: 0;
	color: var(--wp--preset--color--text-tertiary);
	font-size: var(--wp--preset--font-size--md);
	font-weight: 400;
	line-height: 1.35;
}

.riedel-footer__menu .wp-block-navigation-item__content:hover {
	color: var(--wp--preset--color--surface-default);
}

.riedel-footer__copyright {
	margin: 0;
	color: var(--wp--preset--color--text-tertiary);
	font-size: var(--wp--preset--font-size--sm);
	line-height: 1.5;
}

/* ── Brand column ─────────────────────────────────────────────────────── */

.riedel-footer__brand {
	max-width: 280px;
	gap: var(--wp--preset--spacing--4);
}

.riedel-footer__brand-title {
	margin: 0 0 var(--wp--preset--spacing--3);
	color: var(--wp--preset--color--surface-default);
	font-size: var(--wp--preset--font-size--xl);
	font-weight: 600;
	line-height: 1.35;
}

.riedel-footer__tagline {
	margin: 0 0 var(--wp--preset--spacing--8);
	color: var(--wp--preset--color--text-tertiary);
	font-size: var(--wp--preset--font-size--md);
	line-height: 1.5;
}

.riedel-footer__contact {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--3);
}

.riedel-footer__contact-item {
	margin: 0 !important;
	color: var(--wp--preset--color--text-tertiary);
	font-size: var(--wp--preset--font-size--md);
	line-height: 1.5;
}

.riedel-footer__contact-item a {
	color: inherit;
	text-decoration: none;
}

.riedel-footer__contact-item a:hover {
	color: var(--wp--preset--color--surface-default);
}

/* ── Payment badges ───────────────────────────────────────────────────── */

.riedel-footer__payment {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: var(--wp--preset--spacing--3);
}

.riedel-footer__payment-badge {
	display: inline-flex;
	align-items: center;
	padding: var(--wp--preset--spacing--2) var(--wp--preset--spacing--3);
	border: 1px solid var(--wp--preset--color--footer-payment-badge-border);
	border-radius: var(--wp--custom--radius--sm);
	background: var(--wp--preset--color--footer-payment-badge-bg);
	color: var(--wp--preset--color--surface-default);
	font-size: var(--wp--preset--font-size--sm);
	font-weight: 600;
	line-height: 1;
}

@media (max-width: 1023px) {
	.riedel-footer__inner {
		padding-top: 42px;
		padding-bottom: 40px;
	}

	.riedel-footer__payment {
		justify-content: flex-start;
	}
}

/* ── Catalog layout ─────────────────────────────────────────────────────────── */

.riedel-catalog__columns {
	max-width: var(--wp--style--global--content-size);
	margin-inline: auto;
}

.riedel-catalog__content>* {
	margin-top: 0 !important;
}

.riedel-catalog__content .wc-gzd-additional-info-loop,
.riedel-catalog__content .wc-gzd-additional-info {
	display: none;
}

@media (max-width: 767px) {
	.riedel-catalog .riedel-catalog__columns{
		margin-top: 0;
	}
}

/* ── Breadcrumbs ────────────────────────────────────────────────────────────── */

.woocommerce.wc-block-breadcrumbs .woocommerce-breadcrumb{
	max-width: var(--wp--style--global--content-size);
	margin-inline: auto !important;
}

/* ── Navigation link icon ───────────────────────────────────────────────────── */

/* Frontend: wrapper injected by render_block PHP filter */
.riedel-nav-icon-wrap {
	display: flex;
	align-items: center;
	gap: 6px;
}

.riedel-nav-icon {
	display: block;
	width: 1.25em;
	height: 1.25em;
	object-fit: contain;
	flex-shrink: 0;
}

/* Editor canvas: scoped only to nav items that have an icon */
[style*="--riedel-nav-icon-url"] .wp-block-navigation-item__content {
	display: flex;
	align-items: center;
	gap: 6px;
}

[style*="--riedel-nav-icon-url"] .wp-block-navigation-item__content::before {
	content: '';
	display: block;
	width: 1.25em;
	height: 1.25em;
	background-image: var(--riedel-nav-icon-url);
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	flex-shrink: 0;
}

/* WooCommerce ordering / sort dropdown */
.woocommerce-ordering {
	margin: 0;
}


/* ── Responsive row orientation utilities ─────────────────────────────────── */
/*
 * Apply these classes to a Row block via the block's Advanced > Additional CSS class field.
 *
 * riedel-row--stack-mobile   → vertical on phones (≤600px), horizontal above
 * riedel-row--stack-tablet   → vertical on phones + tablets (≤781px), horizontal above
 * riedel-row--reverse-mobile → reverses column order on phones (≤600px)
 */

@media (max-width: 767px) {

	.riedel-row--stack-mobile,
	.riedel-row--reverse-mobile {
		flex-direction: column !important;
	}

	.riedel-row--reverse-mobile {
		flex-direction: column-reverse !important;
	}
}

@media (max-width: 1023px) {
	.riedel-row--stack-tablet {
		flex-direction: column !important;
	}
}

.wp-child-theme-freshcart-child .wc-block-grid__product,
.wp-child-theme-freshcart-child li.product {
	padding: 0;
}

.wp-child-theme-freshcart-child .wc-block-grid__product.outofstock,
.wp-child-theme-freshcart-child li.product.outofstock{
	opacity: 0.75;
	pointer-events: none;
}

.wc-block-components-product-image>a {
	padding: 16px;
	background-color: #F1EFE8;
}

.wc-block-components-product-image>a>img {
	max-height: clamp(120px, 15vw, 200px);
}

/* ── Cart drawer / Mini cart ──────────────────────────────────────────────────────── */

div.wc-block-mini-cart__drawer .wc-block-components-quantity-selector {
	border: none;
}

div.wc-block-mini-cart__drawer .wc-block-mini-cart__items {
	border-top: 1px solid color-mix(in srgb,currentColor 30%,transparent);
}

div.wc-block-mini-cart__drawer .wc-block-mini-cart__title {
	margin-bottom: 0;
	color: #1E1E1E;
	font-weight: 500;
	line-height: normal;
}

div.wc-block-mini-cart__drawer .wc-block-mini-cart-items .wc-block-components-quantity-selector button,
div.wc-block-mini-cart__drawer .wc-block-mini-cart-items .wc-block-components-quantity-selector input {
	font-size: var(--wp--preset--font-size--base);
	height: 32px;
	border: none;
	background-color: #E4E9EA;
	color: #1E1E1E;
}

div.wc-block-mini-cart__drawer .wc-block-mini-cart-items .wc-block-components-quantity-selector button:hover {
	background-color: #c8cecf;
}

div.wc-block-mini-cart__drawer .wc-block-mini-cart-items .wc-block-components-quantity-selector input:focus,
div.wc-block-mini-cart__drawer .wc-block-components-quantity-selector .wc-block-components-quantity-selector__button:focus {
	box-shadow: none !important;
}

div.wc-block-mini-cart__drawer .wc-block-mini-cart-items tbody tr:not(:last-child) {
	border-bottom: 1px solid #D3D1C7;
}

div.wc-block-mini-cart__drawer .wc-block-mini-cart-items .wc-block-components-product-name {
	font-size: var(--wp--preset--font-size--base);
	font-weight: 500;
	line-height: 1.2em;
}

div.wc-block-mini-cart__drawer span.wc-block-components-product-price {
	font-weight: 500;
}

div.wc-block-mini-cart__drawer .wc-block-cart-item__remove-link svg {
	display: none !important;
}

div.wc-block-mini-cart__drawer tr.wc-block-cart-items__row td.wc-block-cart-item__product {
	width: 250px;
}

@media (max-width: 1023px) {
	div.wc-block-mini-cart__drawer tr.wc-block-cart-items__row td.wc-block-cart-item__product {
		width: 180px;
	}
}

@media (max-width: 767px) {
	div.wc-block-mini-cart__drawer .wc-block-components-quantity-selector {
		margin-bottom: 0;
	}
}

/* ── Product card styles ─────────────────────────────────────────────────── */

.wc-block-product-template .wc-block-product {
	position: relative;
	display: flex;
	flex-direction: column;
	background: var(--wp--preset--color--surface-default);
	border: 1px solid #D3D1C7;
	border-radius: var(--wp--custom--radius--md);
	overflow: hidden;
	transition: box-shadow 0.15s;
}

.wc-block-product-template .wc-block-product:hover {
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.wc-block-product-template .wc-block-product .wc-block-woocommerce-product-image-wrapper,
.wc-block-product-template .wc-block-product figure {
	margin: 0;
	border-radius: var(--wp--custom--radius--none);
	background: #f1efe8;
}

.wc-block-product-template .wc-block-components-product-image {
	margin-bottom: 0;
}

.wc-block-product-template .wc-block-product .wc-block-woocommerce-product-image-wrapper img {
	width: 100%;
	height: 200px;
	object-fit: cover;
	display: block;
}

.wc-block-product-template .wc-block-product .riedel-product-card__body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	padding: 16px;
	gap: 0;
}

.wc-block-product-template .wc-block-product .riedel-product-card__body>* {
	width: 100%;
	max-width: none;
}

.wc-block-product-template .wc-block-product .wp-block-post-terms {
	display: none;
}

.wc-block-product-template .wc-block-product .wp-block-post-title {
	margin: 6px 0 0;
}

.wc-block-product-template .wc-block-product .wp-block-woocommerce-product-price {
	margin-top: 12px;
	margin-bottom: 0;
	padding-top: 12px;
	border-top: 1px solid #ADB3B426;
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 8px;
}

.woocommerce-price-suffix {
	font-size: var(--wp--preset--font-size--xs);
	color: var(--wp--preset--color--text-tertiary, #64748B);
}

.wc-block-product-template .wc-block-product .woocommerce-price-suffix {
	font-size: var(--wp--preset--font-size--micro);
	font-weight: 400;
	color: #757C7D;
	white-space: nowrap;
	align-self: center;
	line-height: 1.6;
	flex-shrink: 0;
}

.wc-block-product-template .wc-block-product .riedel-product-card-actions {
	padding-top: 16px;
	margin-top: auto;
}

.wc-block-product-template .wc-block-product .wp-block-post-title a {
	font-size: var(--wp--preset--font-size--base);
	font-weight: 500;
	line-height: 1.35;
	color: #2D3435;
	text-decoration: none;
}

.wc-block-product-template .wc-block-product .wp-block-post-title a:hover {
	color: var(--wp--preset--color--action-primary, #007D7D);
}

.wc-block-product-template .wc-block-product .wc-block-components-product-rating {
	display: none;
}

.wc-block-product-template .wc-block-product .wc-block-components-product-price .price {
	font-size: var(--wp--preset--font-size--lg);
	font-weight: 600;
	color: var(--wp--preset--color--text-primary, #1A1A1A);
}

.wc-block-product-template .wc-block-product .wc-block-components-product-price .wc-block-components-product-price__value.is-discounted {
	color: var(--wp--preset--color--action-primary, #007D7D);
}

.wc-block-product-template .wc-block-product .wc-block-components-product-price .wc-block-components-product-price__value+small,
.wc-block-product-template .wc-block-product .price .tax_label {
	display: none;
}

.wc-block-product-template .wc-block-product .wc-block-components-product-button {
	display: none;
}

.wc-block-grid__product-price,
li.product .price {
	font-size: var(--wp--preset--font-size--xl);
	font-weight: 700;
	color: #2D3435;
}

/* ── Product Attributes Table (Verpackung tab) ──────────────────────────── */

.riedel-product-tab-content .woocommerce-product-attributes {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	border: 1px solid #D3D1C7;
	border-radius: var(--wp--custom--radius--md);
	overflow: hidden;
	background: var(--wp--preset--color--surface-default);
	margin: 0;
}

.riedel-product-tab-content .woocommerce-product-attributes-item:not(:last-child) .woocommerce-product-attributes-item__label,
.riedel-product-tab-content .woocommerce-product-attributes-item:not(:last-child) .woocommerce-product-attributes-item__value {
	border-bottom: 1px solid #ece7de;
}

.riedel-product-tab-content .woocommerce-product-attributes-item:hover .woocommerce-product-attributes-item__label,
.riedel-product-tab-content .woocommerce-product-attributes-item:hover .woocommerce-product-attributes-item__value {
	background-color: #f8f2e7;
	color: #845500;
}

.riedel-product-tab-content .woocommerce-product-attributes-item__label,
.riedel-product-tab-content .woocommerce-product-attributes-item__value {
	padding: 10px 16px;
	font-size: var(--wp--preset--font-size--sm);
	line-height: 1.4;
	vertical-align: middle;
	background: var(--wp--preset--color--surface-default);
	transition: background-color 0.15s, color 0.15s;
}

.riedel-product-tab-content .woocommerce-product-attributes-item__label {
	font-weight: 500;
	color: #7a8288;
	text-align: left;
	white-space: nowrap;
	width: 40%;
	border-right: 1px solid #ece7de;
}

.riedel-product-tab-content .woocommerce-product-attributes-item__value {
	font-weight: 500;
	color: #24292d;
}

.riedel-product-tab-content .woocommerce-product-attributes-item__value p {
	margin: 0;
}

/* ── Product Tab: Downloads ─────────────────────────────────────────────── */

.riedel-product-tab-downloads {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.riedel-product-tab-downloads__link {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 14px 16px;
	border: 1px solid var(--wp--preset--color--border-default, #E2E8F0);
	border-radius: var(--wp--custom--radius--lg);
	background: var(--wp--preset--color--surface-default);
	text-decoration: none;
	color: inherit;
	transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}

.riedel-product-tab-downloads__link:hover {
	border-color: var(--wp--preset--color--action-primary, #007D7D);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
	background: var(--wp--preset--color--surface-secondary, #F8FAFC);
}

.riedel-product-tab-downloads__icon {
	flex-shrink: 0;
	line-height: 0;
}

.riedel-product-tab-downloads__details {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.riedel-product-tab-downloads__name {
	font-size: var(--wp--preset--font-size--base, 1rem);
	font-weight: 600;
	color: var(--wp--preset--color--text-primary, #1A1A1A);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.riedel-product-tab-downloads__type {
	font-size: var(--wp--preset--font-size--sm, 0.875rem);
	color: var(--wp--preset--color--text-tertiary, #64748B);
}

.riedel-product-tab-downloads__action {
	flex-shrink: 0;
	color: var(--wp--preset--color--text-tertiary, #64748B);
	line-height: 0;
	transition: color 0.15s;
}

.riedel-product-tab-downloads__link:hover .riedel-product-tab-downloads__action {
	color: var(--wp--preset--color--action-primary, #007D7D);
}


/* ── Global product card (.riedel-product-card) ─────────────────────────── */

.riedel-product-card {
	display: flex;
	flex-direction: column;
	position: relative;
	border: 1px solid var(--wp--preset--color--border-default, #E2E8F0);
	border-radius: var(--wp--custom--radius--lg, 8px);
	background: var(--wp--preset--color--surface-default, #FFFFFF);
	overflow: hidden;
	transition: border-color 160ms ease, box-shadow 160ms ease;
}

.riedel-product-card:hover {
	border-color: var(--wp--preset--color--teal-action-border, #7FCECE);
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

/* Image area */
.riedel-product-card__img-wrap {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 200px;
	padding: var(--wp--preset--spacing--2, 0.5rem);
	background: var(--wp--preset--color--surface-secondary, #F8FAFC);
}

.riedel-product-card__img-link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	align-self: stretch;
	text-decoration: none;
}

.riedel-product-card__img {
	display: block;
	width: auto;
	max-width: 100%;
	height: 168px;
	object-fit: contain;
}

.riedel-product-card__img-placeholder {
	display: block;
	width: 100%;
	height: 168px;
	background: var(--wp--preset--color--surface-secondary, #F8FAFC);
	border-radius: var(--wp--custom--radius--lg, 8px);
}

/* Global product badge — shared across product cards and single-product details */
.riedel-badge {
	display: inline-flex;
	align-items: center;
	min-height: 26px;
	padding: 0 10px;
	border: 0;
	border-radius: var(--wp--custom--radius--md, 6px);
	font-size: var(--wp--preset--font-size--xs, 11px);
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.riedel-badge--sale {
	background: var(--wp--preset--color--badge-sale, #EC681C);
	color: var(--wp--preset--color--text-inverse, #FFFFFF);
}

.riedel-badge--bestseller {
	background: #DB7814;
	color: var(--wp--preset--color--text-inverse, #FFFFFF);
}

.riedel-badge--new {
	background: var(--wp--preset--color--badge-new, #FCC10A);
	color: var(--wp--preset--color--text-primary, #1A1A1A);
}

.riedel-badge--low-stock {
	background: var(--wp--preset--color--status-stock-low, #D97706);
	color: var(--wp--preset--color--text-inverse, #FFFFFF);
}

.riedel-badge--outofstock {
	background: var(--wp--preset--color--status-stock-out, #B91C1C);
	color: var(--wp--preset--color--text-inverse, #FFFFFF);
}

/* Card sale badge — positioning only; visuals come from .riedel-badge */
.riedel-product-card__badge {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 1;
}

/* Card body */
.riedel-product-card__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 10px var(--wp--preset--spacing--4, 1rem);
	gap: 6px;
}

/* SKU */
.riedel-product-card__sku {
	margin: 0;
	font-size: var(--wp--preset--font-size--xs, 0.6875rem);
	color: var(--wp--preset--color--text-tertiary, #64748B);
	font-weight: 400;
}

/* Name */
.riedel-product-card__name {
	margin: 0;
	font-size: var(--wp--preset--font-size--md, 1rem);
	font-weight: 700;
	color: var(--wp--preset--color--text-primary, #1A1A1A);
	line-height: 1.3;
}

.riedel-product-card__name-link {
	color: inherit;
	text-decoration: none;
}

.riedel-product-card__name-link:hover,
.riedel-product-card__name-link:focus {
	color: var(--wp--preset--color--action-primary, #007D7D);
	text-decoration: underline;
}

/* Prices block */
.riedel-product-card__prices {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.riedel-product-card__kvp {
	margin: 0;
	font-size: var(--wp--preset--font-size--sm, 0.8125rem);
	color: var(--wp--preset--color--text-tertiary, #64748B);
}

.riedel-product-card__kvp-value {
	text-decoration: line-through;
}

.riedel-product-card__price-row {
	display: flex;
	align-items: baseline;
	gap: 8px;
	flex-wrap: wrap;
}

/* Sale price */
.riedel-product-card__sale-price {
	font-size: var(--wp--preset--font-size--lg, 1.125rem);
	font-weight: 700;
	color: var(--wp--preset--color--badge-sale, #EC681C);
	line-height: 1;
}

.riedel-product-card__sale-price--regular {
	color: var(--wp--preset--color--text-primary, #1A1A1A);
}

/* WooCommerce wc_price() outputs <ins>/<bdi> — strip decoration */
.riedel-product-card__sale-price ins,
.riedel-product-card__sale-price bdi {
	text-decoration: none !important;
	font-style: normal;
	color: inherit;
}

/* Regular (struck-through) price */
.riedel-product-card__regular-price {
	font-size: var(--wp--preset--font-size--sm, 0.8125rem);
	color: var(--wp--preset--color--text-tertiary, #64748B);
	text-decoration: line-through;
	font-weight: 400;
}

.riedel-product-card__regular-price ins,
.riedel-product-card__regular-price bdi {
	text-decoration: line-through;
	font-style: normal;
	color: inherit;
}

.riedel-product-card__stock {
	display: none;
}

/* Actions row: stepper + add-to-cart button */
.riedel-product-card__actions {
	display: flex;
	align-items: center;
	gap: var(--wp--preset--spacing--2, 0.5rem);
	margin-top: auto;
}

@media (max-width: 767px) {
	.riedel-product-card__body {
		padding: var(--wp--preset--spacing--2, 8px);
	}

	.riedel-product-card__actions {
		flex-direction: column;
		align-items: stretch;
	}

	.riedel-product-card__stepper {
		justify-content: center;
	}
}

/* Stepper */
.riedel-product-card__stepper {
	display: flex;
	align-items: center;
	flex-shrink: 0;
	border-radius: var(--wp--custom--radius--lg, 8px);
	border: 1px solid var(--wp--preset--color--border-default, #E2E8F0);
	background: var(--wp--preset--color--surface-default, #FFFFFF);
	padding: var(--wp--preset--spacing--1, 0.25rem);
}

.riedel-product-card .riedel-product-card__stepper-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 28px;
	padding: 0;
	border-radius: 0;
	background: var(--wp--preset--color--surface-secondary, #F8FAFC);
	color: var(--wp--preset--color--text-primary, #1A1A1A);
	font-size: 18px;
	font-weight: 400;
	line-height: 1;
	cursor: pointer;
	border: 0;
	transition: background 0.15s ease;
}

.riedel-product-card .riedel-product-card__stepper-btn:hover:not(:disabled) {
	background: var(--wp--preset--color--surface-tertiary, #F1F5F9);
}

.riedel-product-card .riedel-product-card__stepper-btn:disabled {
	opacity: 0.4;
	cursor: not-allowed;
}

.riedel-product-card .riedel-product-card__stepper-input {
	width: 40px;
	height: 28px;
	padding: 0;
	border: none;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	outline: none;
	text-align: center;
	font-size: var(--wp--preset--font-size--base, 1rem);
	font-weight: 500;
	color: var(--wp--preset--color--text-primary, #1A1A1A);
	box-sizing: border-box;
	-moz-appearance: textfield;
}

.riedel-product-card__stepper-input::-webkit-outer-spin-button,
.riedel-product-card__stepper-input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.riedel-product-card__stepper-input:focus {
	box-shadow: none;
	outline: none;
}

@media (max-width: 767px) {
	.riedel-product-card .riedel-product-card__stepper-input {
		width: calc(100% - 72px);
	}
}

/* Add-to-cart button — extends .riedel-btn */
.riedel-product-card .riedel-product-card__add-to-cart {
	flex: 1;
	min-width: 0;
	height: 38px;
	min-height: 38px;
	padding: 0 var(--wp--preset--spacing--4, 1rem);
	font-size: var(--wp--preset--font-size--base, 1rem);
	font-weight: 600;
	white-space: nowrap;
	border-radius: var(--wp--custom--radius--lg, 8px);
}

.riedel-product-card .riedel-product-card__add-to-cart:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

.riedel-product-card .riedel-product-card__add-to-cart--loading {
	opacity: 0.7;
	pointer-events: none;
}

.riedel-product-card .riedel-product-card__add-to-cart--done {
	background: var(--wp--preset--color--status-stock-in, #15804A) !important;
	border-color: var(--wp--preset--color--status-stock-in, #15804A) !important;
}

/* ── WooCommerce My Account ─────────────────────────────────────────────── */
