/* Roftox Design — matches the roftox.store (Shopify Horizon) look on Twenty Twenty-Five. */
:root {
	--rx-navy: #0B1220;
	--rx-blue: #2563EB;
	--rx-blue-light: #93C5FD;
	--rx-muted: #475569;
	--rx-soft: #F3F6FA;
	--rx-line: #E2E8F0;
	--rx-radius: 12px;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6, .wp-block-heading { letter-spacing: -0.03em; }
.roftox-eyebrow { font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.8rem; margin: 0; }

/* ---------- Announcement bar ---------- */
.roftox-announce { position: relative; min-height: 32px; display: flex; align-items: center; justify-content: center; }
.roftox-announce p { margin: 0; font-size: 0.8125rem; font-weight: 600; text-align: center; padding: 0 44px; }
.roftox-announce.is-ready p { display: none; }
.roftox-announce.is-ready p.is-active { display: block; }
.roftox-announce:not(.is-ready) p:not(:first-child) { display: none; }
.roftox-announce button {
	position: absolute; top: 50%; transform: translateY(-50%);
	background: none; border: 0; color: inherit; cursor: pointer; padding: 6px; line-height: 0;
}
.roftox-announce__prev { left: max(12px, calc((100vw - 1340px) / 2)); }
.roftox-announce__next { right: max(12px, calc((100vw - 1340px) / 2)); }

/* ---------- Header ---------- */
.roftox-mainbar { position: relative; z-index: 20; }
.roftox-mainbar .wp-block-navigation a { font-weight: 600; white-space: nowrap; }
.roftox-mainbar .wp-block-navigation__container { flex-wrap: nowrap; }
@media (min-width: 600px) and (max-width: 1180px) {
	.roftox-mainbar .wp-block-navigation__container { gap: 14px !important; }
	.roftox-mainbar .wp-block-navigation a { font-size: 0.8125rem; }
	.roftox-mainbar .wp-block-site-logo img, .roftox-mainbar .roftox-logo-light img { width: 110px !important; }
}
.roftox-logo-light { display: none; margin: 0; }
.roftox-logo-light img { display: block; }

/* Home: header floats over the hero slideshow in white, like the Shopify transparent header. */
.home .roftox-mainbar { position: absolute; left: 0; right: 0; background: transparent !important; border-color: transparent !important; color: #fff; }
.home .roftox-mainbar .wp-block-site-logo { display: none; }
.home .roftox-mainbar .roftox-logo-light { display: block; }
.home .roftox-mainbar .wp-block-navigation:not(.has-modal-open) a,
.home .roftox-mainbar .wp-block-navigation__responsive-container-open,
.home .roftox-mainbar .wp-block-search__button,
.home .roftox-mainbar .wp-block-woocommerce-customer-account a,
.home .roftox-mainbar .wp-block-woocommerce-customer-account svg,
.home .roftox-mainbar .wc-block-mini-cart__button { color: #fff !important; }
.home .roftox-mainbar .wp-block-search__button { background: transparent !important; }
.home .roftox-mainbar .wc-block-mini-cart__badge { background: #fff; color: var(--rx-navy); }
.roftox-mainbar .wp-block-navigation__responsive-container.is-menu-open { color: var(--rx-navy) !important; }
.roftox-mainbar .wp-block-navigation__responsive-container.is-menu-open a { color: var(--rx-navy) !important; }

/* No gap between header and hero on the homepage. */
.home .wp-site-blocks > main, .home main.wp-block-group { margin-top: 0 !important; padding-top: 0 !important; }
.home main > .wp-block-group:first-child, .home .entry-content > .roftox-slider:first-child { margin-top: 0 !important; }

/* ---------- Homepage rhythm: sections sit flush (no white strips), compact consistent padding ---------- */
.home .entry-content > * { margin-top: 0 !important; margin-bottom: 0 !important; }
.home .entry-content > .wp-block-group:has(.roftox-cat) { padding-top: 56px !important; padding-bottom: 48px !important; }
.home .entry-content > .roftox-row { padding-top: 56px !important; padding-bottom: 32px !important; }
.roftox-row .woocommerce { margin-top: 8px !important; }
.home .entry-content > .wp-block-group:has(> .wp-block-media-text) { padding-top: 40px !important; padding-bottom: 40px !important; }
.home .wp-block-media-text__media img { mix-blend-mode: multiply; max-height: 420px; width: 100%; object-fit: contain; }
.home .wp-block-media-text__content { padding-top: 0 !important; padding-bottom: 0 !important; }
.home .entry-content > .roftox-marquee { padding-top: 16px !important; padding-bottom: 16px !important; }
.home .entry-content > .wp-block-cover:not(.roftox-slider *) { min-height: 420px !important; }
.home .entry-content > .wp-block-group:last-child { padding-top: 56px !important; padding-bottom: 56px !important; }
.home .wp-site-blocks > footer { margin-top: 0 !important; }
.home main { margin-bottom: 0 !important; padding-bottom: 0 !important; }

/* ---------- Hero slideshow ---------- */
.roftox-slider { position: relative; overflow: hidden; margin-top: 0 !important; margin-bottom: 0 !important; }
.roftox-slider > .wp-block-cover { min-height: 720px !important; margin: 0 !important; }
.roftox-slider.is-ready { display: grid; }
.roftox-slider.is-ready > .wp-block-cover { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility .7s; }
.roftox-slider.is-ready > .wp-block-cover.is-active { opacity: 1; visibility: visible; }
.roftox-slider:not(.is-ready) > .wp-block-cover:not(:first-child) { display: none; }
/* Text never overlaps during the crossfade: the old text leaves quickly, the new text arrives after the photo. */
.roftox-slider.is-ready > .wp-block-cover .wp-block-cover__inner-container { opacity: 0; transform: translateY(10px); transition: opacity .2s ease, transform .2s ease; }
.roftox-slider.is-ready > .wp-block-cover.is-active .wp-block-cover__inner-container { opacity: 1; transform: none; transition: opacity .5s ease .45s, transform .5s ease .45s; }
.roftox-slider .wp-block-cover__inner-container { padding-bottom: 40px; }
.roftox-slider h1, .roftox-slider h2 { font-size: clamp(2.4rem, 5.2vw, 4.25rem) !important; font-weight: 800; line-height: 1.02; margin: 0.5rem 0 1rem; }
.roftox-slider .roftox-slide-text { max-width: 36ch; font-size: 1.125rem; line-height: 1.5; margin-left: 0 !important; }
.roftox-slider__nav { position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); display: flex; gap: 10px; align-items: center; z-index: 5; }
.roftox-slider__dot { width: 8px; height: 8px; border-radius: 50%; border: 0; padding: 0; background: rgba(255,255,255,.45); cursor: pointer; }
.roftox-slider__dot { transition: width .3s ease, background .3s ease; }
.roftox-slider__dot[aria-current="true"] { width: 24px; border-radius: 4px; background: #3B82F6; }
.roftox-slider__pause { background: none; border: 0; cursor: pointer; display: flex; gap: 3px; padding: 4px; margin-right: 8px; }
.roftox-slider__pause span { width: 2px; height: 11px; background: #fff; display: block; }
.roftox-slider__pause.is-paused span:first-child { width: 0; height: 0; background: none; border-left: 9px solid #fff; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.roftox-slider__pause.is-paused span:last-child { display: none; }

/* Slide look: dark from the left, photo bright on the right, soft top fade under the header. */
.roftox-slider .wp-block-cover__background {
	opacity: 1 !important; background-color: transparent !important;
	background-image: linear-gradient(180deg, rgba(11, 18, 32, .55) 0%, rgba(11, 18, 32, 0) 24%),
		linear-gradient(90deg, rgba(11, 18, 32, .95) 0%, rgba(11, 18, 32, .85) 30%, rgba(11, 18, 32, .45) 58%, rgba(11, 18, 32, .08) 85%) !important;
}
.roftox-slider h1, .roftox-slider h2 { font-size: clamp(2.6rem, 5.4vw, 4.5rem) !important; max-width: 14ch; letter-spacing: -0.035em; }
.roftox-hl { color: #3B82F6; }
.roftox-pill {
	display: inline-block; margin: 0 0 4px !important; padding: 7px 14px; border-radius: 999px; font-size: 0.8125rem; font-weight: 600; letter-spacing: .02em;
	color: #BFDBFE; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.roftox-slide-buttons { gap: 16px !important; margin-top: 28px !important; }
.roftox-slide-buttons .wp-block-button__link { border-radius: 12px !important; padding: 16px 28px !important; font-size: 1rem; }
.roftox-btn-arrow .wp-block-button__link::after { content: "→"; margin-left: 10px; display: inline-block; transition: transform .2s ease; }
.roftox-btn-arrow .wp-block-button__link:hover::after { transform: translateX(3px); }
.roftox-btn-play .wp-block-button__link::after { content: ""; display: inline-block; margin-left: 12px; border-left: 8px solid currentColor; border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.roftox-btn-light .wp-block-button__link:hover { background: rgba(255, 255, 255, .1) !important; }
.roftox-slide-trust { margin-top: 40px !important; gap: 0 !important; }
.roftox-slide-trust__item { gap: 12px !important; padding: 0 28px; border-left: 1px solid rgba(255, 255, 255, .22); }
.roftox-slide-trust__item:first-child { padding-left: 0; border-left: 0; }
.roftox-slide-trust__item .roftox-icon { width: 30px; height: 30px; color: #fff; stroke-width: 1.5; flex: 0 0 auto; }
.roftox-slide-trust__item p { margin: 0 !important; font-size: 0.8125rem; line-height: 1.35; color: rgba(255, 255, 255, .72); }
.roftox-slide-trust__item p strong { color: #fff; font-size: 0.875rem; }
.roftox-slider__arrows { position: absolute; right: max(24px, calc((100vw - 1340px) / 2)); bottom: 28px; display: flex; gap: 12px; z-index: 5; }
.roftox-slider__arrow {
	width: 46px; height: 46px; border-radius: 50%; background: rgba(11, 18, 32, .25); border: 1px solid rgba(255, 255, 255, .55); color: #fff;
	display: grid; place-items: center; cursor: pointer; transition: background .2s ease, border-color .2s ease;
}
.roftox-slider__arrow:hover { background: rgba(255, 255, 255, .15); border-color: #fff; }

/* Buttons: blue primary, outlined white on dark images. */
.wp-block-button__link { border-radius: 8px !important; font-weight: 600; }
.roftox-btn-light .wp-block-button__link { color: #fff !important; border: 1px solid #fff !important; background: transparent !important; }

/* ---------- Trust row ---------- */
.roftox-trust .wp-block-column { display: flex; gap: 12px; align-items: flex-start; }
.roftox-trust .roftox-icon { color: var(--rx-blue); flex: 0 0 auto; margin-top: 2px; }
.roftox-trust p { margin: 0; }
.roftox-trust .roftox-trust__title { font-size: 0.8125rem; font-weight: 600; }
.roftox-trust .roftox-trust__body { font-size: 0.9375rem; color: var(--rx-muted); line-height: 1.55; }

/* ---------- Section heads (eyebrow + title + link) ---------- */
.roftox-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.roftox-head h2 { margin: 0.25rem 0 0; }

/* ---------- Category grid ---------- */
.roftox-cat { gap: 8px; }
.roftox-cat figure { margin: 0; }
.roftox-cat img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; background: #fff; border-radius: var(--rx-radius); transition: transform .3s ease; }
.roftox-cat a:hover img { transform: scale(1.03); }
.roftox-cat p { margin: 0; font-weight: 700; font-size: 0.95rem; }
.roftox-cat p a { color: inherit; text-decoration: none; }

/* ---------- Product rows (horizontal carousel) ---------- */
/* Row band: soft warm background so the white cards stand out. */
.roftox-row {
	background: radial-gradient(900px 360px at 88% 0%, #F3E7D6 0%, rgba(243, 231, 214, 0) 70%),
		radial-gradient(700px 300px at 0% 100%, #F6EFE6 0%, rgba(246, 239, 230, 0) 70%), #FBF9F6;
}
.roftox-row__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 24px; flex-wrap: wrap; }
.roftox-row__head > .wp-block-group:first-child { flex: 1 1 420px; }
.roftox-row__head h2 { margin: 0; font-size: clamp(1.75rem, 3.2vw, 2.75rem); font-weight: 800; line-height: 1.08; }
.roftox-row__head h2::before { content: ""; display: block; width: 64px; height: 4px; border-radius: 2px; background: #D4A853; margin-bottom: 18px; }
.roftox-row__sub { margin: 10px 0 0 !important; color: var(--rx-muted); font-size: 1.0625rem; }
.roftox-row__head .roftox-row__link { margin: 0 !important; }
.roftox-row__head .roftox-row__link a {
	display: inline-flex; align-items: center; gap: 8px; background: var(--rx-navy); color: #fff; text-decoration: none;
	font-weight: 600; font-size: 0.9375rem; padding: 12px 20px; border-radius: 999px; transition: background .2s ease;
}
.roftox-row__head .roftox-row__link a::after { content: "→"; font-size: 1.05em; transition: transform .2s ease; }
.roftox-row__head .roftox-row__link a:hover { background: var(--rx-blue); }
.roftox-row__head .roftox-row__link a:hover::after { transform: translateX(3px); }
.roftox-row__right { display: flex; align-items: center; gap: 12px; }
ul.products li.product a { color: var(--rx-navy); text-decoration: none; }
.roftox-row__arrows { display: flex; gap: 10px; }
.roftox-row__arrow {
	width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; color: var(--rx-navy); cursor: pointer; display: grid; place-items: center;
	box-shadow: 0 1px 2px rgba(11, 18, 32, .06), 0 6px 16px -6px rgba(11, 18, 32, .2); transition: transform .2s ease;
}
.roftox-row__arrow:hover { transform: scale(1.06); }
.roftox-row .woocommerce { margin-top: 20px; }
.roftox-row ul.products {
	display: flex !important; flex-wrap: nowrap !important; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory;
	scrollbar-width: none; margin: 0 !important; padding: 0 !important;
}
.roftox-row ul.products::-webkit-scrollbar { display: none; }
.roftox-row ul.products::before, .roftox-row ul.products::after { display: none !important; }
.roftox-row ul.products li.product {
	flex: 0 0 calc((100% - 48px) / 4) !important; width: auto !important; margin: 0 !important; float: none !important; scroll-snap-align: start;
}
/* Room for the card shadows inside the scrolling row. */
.roftox-row ul.products { padding: 12px 6px 24px !important; margin: 0 -6px !important; scroll-padding-left: 6px; }

/* Product cards everywhere: white rounded card with soft shadow, two-line title, big price, round cart button. */
ul.products li.product {
	position: relative; display: flex; flex-direction: column; box-sizing: border-box;
	background: #fff; border-radius: 20px; padding: 14px 16px 18px !important;
	box-shadow: 0 1px 2px rgba(11, 18, 32, .04), 0 10px 30px -12px rgba(11, 18, 32, .16);
	transition: box-shadow .25s ease, transform .25s ease;
}
ul.products li.product:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(11, 18, 32, .05), 0 18px 40px -14px rgba(11, 18, 32, .24); }
ul.products li.product a.woocommerce-LoopProduct-link { display: flex; flex-direction: column; flex: 1; }
ul.products li.product img, .wc-block-components-product-image img {
	box-sizing: border-box; width: 100% !important; height: auto; aspect-ratio: 1 / 1; object-fit: contain; padding: 6px;
	background: #fff; border: 0; border-radius: 12px; margin: 0 0 14px !important; transition: transform .35s ease;
}
ul.products li.product:hover img { transform: scale(1.03); }
ul.products li.product .woocommerce-loop-product__title {
	font-size: 0.9375rem !important; font-weight: 500; line-height: 1.45; margin: 0 !important; padding: 0 !important; color: var(--rx-navy);
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; height: 2.9em;
}
/* Stars only render when the product has real reviews. */
ul.products li.product .star-rating { margin: 10px 0 0 !important; font-size: 0.8125rem; color: #F59E0B; }
ul.products li.product .price {
	display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 8px; margin: auto 0 0 !important; padding: 14px 52px 0 0;
	color: var(--rx-navy) !important; font-weight: 800; font-size: clamp(1rem, 1.25vw, 1.25rem); letter-spacing: -0.02em; line-height: 1.25;
}
ul.products li.product .price .woocommerce-Price-amount { white-space: nowrap; }
ul.products li.product .price del { order: 2; font-weight: 500; color: #94A3B8; font-size: 0.875rem; opacity: 1; }
ul.products li.product .price ins { order: 1; text-decoration: none; }
/* Real sale badge (-X%), top-left of the card. */
ul.products li.product .onsale, ul.products li.product .roftox-badge {
	position: absolute; top: 16px; left: 18px; right: auto; z-index: 2; margin: 0 !important; min-width: 0; min-height: 0;
	background: #F2D9A6; color: var(--rx-navy); font-weight: 700; font-size: 0.8125rem; line-height: 1; padding: 7px 10px; border-radius: 999px;
}
/* Round navy cart button, bottom-right (simple products add to cart, others open the product). */
ul.products li.product .button {
	position: absolute; right: 16px; bottom: 16px; width: 42px; height: 42px; padding: 0 !important; margin: 0 !important;
	border-radius: 50% !important; background: var(--rx-navy) !important; border: 0 !important; font-size: 0 !important; color: transparent !important; overflow: hidden;
	transition: background .2s ease, transform .2s ease;
}
ul.products li.product .button::before {
	content: ""; position: absolute; inset: 0; margin: auto; width: 20px; height: 20px; background: #fff;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='20' r='1.4'/%3E%3Ccircle cx='18' cy='20' r='1.4'/%3E%3Cpath d='M2 3h3l2.7 11.4a1.5 1.5 0 0 0 1.5 1.1h8.6a1.5 1.5 0 0 0 1.5-1.1L21 7H6'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='20' r='1.4'/%3E%3Ccircle cx='18' cy='20' r='1.4'/%3E%3Cpath d='M2 3h3l2.7 11.4a1.5 1.5 0 0 0 1.5 1.1h8.6a1.5 1.5 0 0 0 1.5-1.1L21 7H6'/%3E%3C/svg%3E") center / contain no-repeat;
}
ul.products li.product .button:hover { background: var(--rx-blue) !important; transform: scale(1.06); }
ul.products li.product .button.loading::before { opacity: .4; }
ul.products li.product .button.added::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5L20 7'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5L20 7'/%3E%3C/svg%3E");
}
ul.products li.product .added_to_cart { display: none !important; }
/* Shipping/VAT/delivery notes stay on the product page only; lists stay clean (footer: "Alle Preise inkl. MwSt."). */
ul.products li.product .wc-gzd-additional-info, ul.products li.product .price-unit, ul.products li.product .wc-gzd-additional-info-loop { display: none !important; }

/* ---------- Brand marquee ---------- */
.roftox-marquee { overflow: hidden; display: flex; white-space: nowrap; }
.roftox-marquee > p, .roftox-marquee__track > p { margin: 0 !important; font-size: 1.375rem; font-weight: 700; letter-spacing: -0.02em; flex: 0 0 auto; }
.roftox-marquee:not(.is-ready) { gap: 48px; justify-content: center; flex-wrap: wrap; }
.roftox-marquee__track { display: flex; gap: 48px; padding-right: 48px; animation: roftox-marquee 40s linear infinite; }
.roftox-marquee:hover .roftox-marquee__track { animation-play-state: paused; }
@keyframes roftox-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- FAQ (details blocks) ---------- */
.roftox-faq { max-width: 860px; margin-left: auto !important; margin-right: auto !important; width: 100%; }
.roftox-faq .wp-block-details { border-bottom: 1px solid var(--rx-line); padding: 18px 0; margin: 0 !important; }
.roftox-faq .wp-block-details summary { font-weight: 600; font-size: 1.0625rem; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.roftox-faq .wp-block-details summary::-webkit-details-marker { display: none; }
.roftox-faq .wp-block-details summary::after { content: "+"; font-size: 1.5rem; line-height: 1; font-weight: 400; color: var(--rx-muted); }
.roftox-faq .wp-block-details[open] summary::after { content: "–"; }
.roftox-faq .wp-block-details p { color: var(--rx-muted); margin: 12px 0 0; }

/* ---------- Footer ---------- */
.roftox-footer a { color: inherit; text-decoration: none; }
.roftox-footer a:hover { text-decoration: underline; }
.roftox-footer ul { list-style: none; padding-left: 0; }
.roftox-footer .roftox-muted, .roftox-footer li { color: var(--rx-muted); }

/* ---------- Product page ---------- */
.roftox-availability { display: flex; align-items: center; gap: 8px; font-weight: 600; margin: 0 0 12px; }
.roftox-dot { width: 10px; height: 10px; border-radius: 50%; background: #16A34A; box-shadow: 0 0 0 3px rgba(22,163,74,.18); }
.roftox-trust-boxes { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 20px 0; }
.roftox-trust-box { display: flex; gap: 10px; align-items: flex-start; border: 1px solid var(--rx-line); border-radius: var(--rx-radius); padding: 14px; }
.roftox-trust-box .roftox-icon { color: var(--rx-blue); flex: 0 0 auto; }
.roftox-trust-box strong { display: block; font-size: 0.875rem; }
.roftox-trust-box span { display: block; font-size: 0.8125rem; color: var(--rx-muted); }
.single-product .wp-block-post-title { font-weight: 800; letter-spacing: -0.03em; }
/* The full description is shown further down (as on roftox.store), so skip the auto-excerpt above the cart. */
.single-product .wp-block-post-excerpt { display: none; }
.roftox-legal-price { font-size: 0.875rem; color: var(--rx-muted); margin: -0.5rem 0 1rem; }
.roftox-legal-price p { margin: 0.15rem 0; }
.roftox-legal-price a { color: var(--rx-muted); }
/* Search: icon-sized button, like the other header icons. */
.roftox-mainbar .wp-block-search__button { padding: 6px !important; min-width: 0 !important; width: auto !important; margin-left: 0 !important; }
.roftox-mainbar .wp-block-search, .roftox-mainbar .wp-block-search__inside-wrapper { width: auto !important; }
/* Header icons in navy on the white header (all pages except the home hero). */
.roftox-mainbar .wp-block-woocommerce-customer-account a,
.roftox-mainbar .wp-block-search__button,
.roftox-mainbar .wc-block-mini-cart__button { color: var(--rx-navy); }
.single-product .wp-block-woocommerce-product-price { font-weight: 800; font-size: 1.75rem; }

/* ---------- Shop / category pages ---------- */
.roftox-shop .wp-block-query-title { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 800; margin: 8px 0 20px; }
.roftox-shop .woocommerce-breadcrumb, .roftox-shop .wc-block-breadcrumbs { font-size: 0.8125rem; color: var(--rx-muted); }
.roftox-shop__cols { align-items: flex-start !important; }

/* Filter card */
.roftox-shop__sidebar { position: sticky; top: 24px; }
.roftox-shop .wp-block-woocommerce-product-filters {
	background: #fff; border-radius: 18px; padding: 22px 20px; box-shadow: 0 1px 2px rgba(11, 18, 32, .04), 0 10px 30px -14px rgba(11, 18, 32, .18);
}
.roftox-filter-title { display: flex; align-items: center; gap: 10px; font-size: 1.25rem !important; font-weight: 800; margin: 0 0 8px !important; }
.roftox-filter-title::before {
	content: ""; width: 20px; height: 20px; background: var(--rx-navy);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M3 6h18M6 12h12M10 18h4'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M3 6h18M6 12h12M10 18h4'/%3E%3C/svg%3E") center / contain no-repeat;
}
.roftox-shop .wp-block-woocommerce-product-filter-taxonomy, .roftox-shop .wp-block-woocommerce-product-filter-price { border-top: 1px solid var(--rx-line); padding-top: 18px; margin-top: 18px; }
.roftox-filter-heading { font-size: 1rem !important; font-weight: 700; margin: 0 0 12px !important; }
.roftox-shop .wc-block-product-filter-checkbox-list__item { margin: 0 0 10px; }
.roftox-shop .wc-block-product-filter-checkbox-list__label { font-size: 0.9375rem; color: var(--rx-navy); gap: 10px; }
.roftox-shop .wc-block-product-filter-checkbox-list__input-wrapper::before { border-radius: 5px; }
.roftox-shop .wc-block-product-filter-checkbox-list__input { border-radius: 5px; border-color: #CBD5E1; }
.roftox-shop .wc-block-product-filter-checkbox-list__input:checked { background: var(--rx-blue); border-color: var(--rx-blue); }
.roftox-shop .wc-block-product-filter-checkbox-list__mark { color: #fff; }
.roftox-shop .wc-block-product-filter-checkbox-list__count { color: var(--rx-muted); font-size: 0.8125rem; }
.roftox-shop .wp-block-woocommerce-product-filter-price-slider { --range-color: var(--rx-blue); }
.roftox-shop .wc-block-product-filter-price-slider__range .range-bar { background: var(--rx-blue) !important; }
.roftox-shop .wc-block-product-filter-price-slider input[type="range"]::-webkit-slider-thumb { background: var(--rx-blue); border-color: var(--rx-blue); }
.roftox-shop .wc-block-product-filter-price-slider input[type="range"]::-moz-range-thumb { background: var(--rx-blue); border-color: var(--rx-blue); }
.roftox-shop .wc-block-product-filter-price-slider input[type="text"] { border-radius: 8px; border: 1px solid var(--rx-line); padding: 6px 8px; font-size: 0.875rem; }
.roftox-shop .wp-block-woocommerce-product-filter-active { margin-bottom: 4px; }
.roftox-filter-clear .wp-block-button__link { width: 100%; font-size: 0.875rem; padding: 10px 14px !important; border-color: var(--rx-blue) !important; color: var(--rx-blue) !important; border-radius: 10px !important; }

/* Qiluna-style sidebar: one white card per filter, uppercase title with an accent underline. */
.roftox-shop .wp-block-woocommerce-product-filters { background: transparent !important; box-shadow: none !important; padding: 0 !important; }
.roftox-filter-card, .roftox-shop .roftox-filter-card {
	background: #fff; border: 1px solid var(--rx-line); border-radius: 14px; padding: 22px 20px !important; margin: 0 0 16px !important;
	box-shadow: 0 1px 2px rgba(11, 18, 32, .03);
}
.roftox-filter-card__title {
	display: inline-block; margin: 0 0 18px !important; padding-bottom: 10px; border-bottom: 2px solid var(--rx-blue);
	font-size: 0.875rem !important; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; line-height: 1.2; color: var(--rx-navy);
}
/* Category tree */
.roftox-cat-tree__list, .roftox-cat-tree__children { list-style: none; margin: 0; padding: 0; }
.roftox-cat-tree__row { display: flex; align-items: center; gap: 8px; padding: 10px 0; border-bottom: 1px solid #EEF1F5; }
.roftox-cat-tree__row a { flex: 1; min-width: 0; color: var(--rx-navy); text-decoration: none; font-size: 0.9375rem; line-height: 1.35; }
.roftox-cat-tree__row a:hover { color: var(--rx-blue); }
.roftox-cat-tree__count { color: #94A3B8; font-size: 0.75rem; flex: 0 0 auto; min-width: 3ch; text-align: right; }
.roftox-cat-tree__toggle {
	flex: 0 0 auto; width: 28px; height: 28px; border: 0; border-radius: 6px; background: transparent; cursor: pointer; position: relative; transition: background .2s ease;
}
.roftox-cat-tree__toggle:hover, .roftox-cat-tree__item.is-open > .roftox-cat-tree__row .roftox-cat-tree__toggle { background: #EEF2F7; }
.roftox-cat-tree__toggle::before {
	content: ""; position: absolute; inset: 0; margin: auto; width: 14px; height: 14px; background: var(--rx-muted); transition: transform .2s ease;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
}
.roftox-cat-tree__toggle[aria-expanded="true"]::before { transform: rotate(180deg); }
.roftox-cat-tree__children { margin: 4px 0 6px 4px; padding-left: 14px; border-left: 2px solid var(--rx-line); }
.roftox-cat-tree__children .roftox-cat-tree__row a { font-size: 0.875rem; }
.roftox-cat-tree__item.is-current > .roftox-cat-tree__row > a { color: var(--rx-blue); font-weight: 700; }
.roftox-cat-tree__list > .roftox-cat-tree__item:last-child > .roftox-cat-tree__row { border-bottom: 0; }
/* Price card: blue slider, range shown as text */
.roftox-shop .roftox-filter-card .wc-block-product-filter-price-slider__content { flex-direction: row !important; flex-wrap: wrap; align-items: center; gap: 14px 6px; }
.roftox-shop .roftox-filter-card .wc-block-product-filter-price-slider__range { order: -1; flex: 1 1 100%; }
.roftox-shop .roftox-filter-card .wc-block-product-filter-price-slider__left { order: 1; }
.roftox-shop .roftox-filter-card .wc-block-product-filter-price-slider__right { order: 2; }
.roftox-shop .roftox-filter-card .wc-block-product-filter-price-slider__right::before { content: "— "; color: var(--rx-muted); font-weight: 500; }
.roftox-shop .roftox-filter-card .wc-block-product-filter-price-slider__range { margin: 6px 4px; }
.roftox-shop .roftox-filter-card .wc-block-product-filter-price-slider__left,
.roftox-shop .roftox-filter-card .wc-block-product-filter-price-slider__right { font-size: 0.875rem; font-weight: 700; color: var(--rx-navy); }
/* Brand card: compact checkbox list */
.roftox-brand-filter .wc-block-product-filter-checkbox-list__item { margin: 0 0 8px; }
.roftox-brand-filter .wc-block-product-filter-checkbox-list__label { font-size: 0.875rem; }
.roftox-shop .wc-block-product-filter-checkbox-list__show-more-button { color: var(--rx-blue); font-weight: 600; font-size: 0.8125rem; background: none; border: 0; padding: 4px 0; cursor: pointer; text-decoration: underline; }
/* Active filter chips sit above the cards only when something is selected. */
.roftox-shop .wp-block-woocommerce-product-filter-active:not([hidden]) { background: #fff; border: 1px solid var(--rx-line); border-radius: 14px; padding: 14px 16px; margin: 0 0 16px; }

/* ---------- Filter interactions: hover, click and keyboard focus ---------- */
.roftox-filter-card { transition: box-shadow .25s ease, border-color .25s ease; }
.roftox-filter-card:hover { border-color: #D5DEEA; box-shadow: 0 8px 24px -16px rgba(11, 18, 32, .25); }

/* Category rows: soft highlight band, link turns blue, slight nudge */
.roftox-cat-tree__row { position: relative; margin: 0 -10px; padding-left: 10px !important; padding-right: 10px !important; border-radius: 8px; transition: background .18s ease; }
.roftox-cat-tree__row:hover { background: #F2F6FD; border-bottom-color: transparent; }
.roftox-cat-tree__row a { transition: color .18s ease, transform .18s ease; }
.roftox-cat-tree__row:hover a { color: var(--rx-blue); transform: translateX(3px); }
.roftox-cat-tree__row:hover .roftox-cat-tree__count { color: var(--rx-blue); }
.roftox-cat-tree__row a:active { transform: translateX(3px) scale(.98); }
.roftox-cat-tree__item.is-current > .roftox-cat-tree__row { background: #EAF1FE; }
.roftox-cat-tree__item.is-current > .roftox-cat-tree__row::before {
	content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 3px; border-radius: 3px; background: var(--rx-blue);
}
.roftox-cat-tree__toggle:hover { background: #E3EBF7 !important; }
.roftox-cat-tree__toggle:hover::before { background: var(--rx-blue); }
.roftox-cat-tree__toggle:active { transform: scale(.92); }
.roftox-cat-tree__children:not([hidden]) { animation: roftox-unfold .22s ease; }
@keyframes roftox-unfold { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* Checkbox lists (brands): row highlight, blue box on hover, bold label when ticked */
.roftox-shop .wc-block-product-filter-checkbox-list__item { border-radius: 8px; margin: 0 -8px 4px !important; transition: background .18s ease; }
.roftox-shop .wc-block-product-filter-checkbox-list__label { padding: 6px 8px; border-radius: 8px; cursor: pointer; transition: color .18s ease; }
.roftox-shop .wc-block-product-filter-checkbox-list__item:hover { background: #F2F6FD; }
.roftox-shop .wc-block-product-filter-checkbox-list__item:hover .wc-block-product-filter-checkbox-list__label { color: var(--rx-blue); }
.roftox-shop .wc-block-product-filter-checkbox-list__input { transition: border-color .18s ease, background .18s ease, box-shadow .18s ease, transform .12s ease; }
.roftox-shop .wc-block-product-filter-checkbox-list__item:hover .wc-block-product-filter-checkbox-list__input:not(:checked) { border-color: var(--rx-blue); box-shadow: 0 0 0 3px rgba(37, 99, 235, .12); }
.roftox-shop .wc-block-product-filter-checkbox-list__input:active { transform: scale(.88); }
.roftox-shop .wc-block-product-filter-checkbox-list__input:checked { box-shadow: 0 0 0 3px rgba(37, 99, 235, .18); }
.roftox-shop .wc-block-product-filter-checkbox-list__label:has(.wc-block-product-filter-checkbox-list__input:checked) { color: var(--rx-navy); font-weight: 700; }
.roftox-shop .wc-block-product-filter-checkbox-list__label:has(.wc-block-product-filter-checkbox-list__input:checked) .wc-block-product-filter-checkbox-list__count { color: var(--rx-blue); }
.roftox-shop .wc-block-product-filter-checkbox-list__show-more-button:hover { color: var(--rx-navy); }

/* Price slider: handles grow and glow on hover, ring while dragging */
.roftox-shop .wc-block-product-filter-price-slider input[type="range"]::-webkit-slider-thumb { transition: transform .15s ease, box-shadow .15s ease; cursor: grab; }
.roftox-shop .wc-block-product-filter-price-slider input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.2); box-shadow: 0 0 0 6px rgba(37, 99, 235, .15); }
.roftox-shop .wc-block-product-filter-price-slider input[type="range"]:active::-webkit-slider-thumb { cursor: grabbing; transform: scale(1.25); box-shadow: 0 0 0 8px rgba(37, 99, 235, .2); }
.roftox-shop .wc-block-product-filter-price-slider input[type="range"]::-moz-range-thumb { transition: transform .15s ease, box-shadow .15s ease; cursor: grab; }
.roftox-shop .wc-block-product-filter-price-slider input[type="range"]::-moz-range-thumb:hover { transform: scale(1.2); box-shadow: 0 0 0 6px rgba(37, 99, 235, .15); }
.roftox-shop .wc-block-product-filter-price-slider input[type="range"]:active::-moz-range-thumb { cursor: grabbing; transform: scale(1.25); box-shadow: 0 0 0 8px rgba(37, 99, 235, .2); }

/* Active chips and reset button */
.roftox-shop .wc-block-product-filter-removable-chips__item { border-radius: 999px !important; background: #EAF1FE !important; border: 1px solid #C9DAFB !important; color: var(--rx-navy) !important; transition: background .18s ease, border-color .18s ease; }
.roftox-shop .wc-block-product-filter-removable-chips__item:hover { background: #DCE8FD !important; border-color: var(--rx-blue) !important; }
.roftox-shop .wc-block-product-filter-removable-chips__remove { transition: transform .15s ease, color .15s ease; }
.roftox-shop .wc-block-product-filter-removable-chips__remove:hover { color: #DC2626; transform: rotate(90deg); }
.roftox-filter-clear .wp-block-button__link { transition: background .18s ease, color .18s ease; }
.roftox-filter-clear .wp-block-button__link:hover { background: var(--rx-blue) !important; color: #fff !important; }

/* Toolbar controls */
.roftox-shop .woocommerce-ordering select { transition: border-color .18s ease, box-shadow .18s ease; cursor: pointer; }
.roftox-shop .woocommerce-ordering select:hover { border-color: var(--rx-blue); }
.roftox-shop .woocommerce-ordering select:focus { outline: none; border-color: var(--rx-blue); box-shadow: 0 0 0 3px rgba(37, 99, 235, .18); }
.roftox-view-toggle__btn:hover:not(.is-active) { border-color: var(--rx-blue); color: var(--rx-blue); background: #F2F6FD; }
.roftox-view-toggle__btn:active { transform: scale(.94); }

/* No frame after a mouse click (theme + WooCommerce draw one on :focus); keyboard users still get the ring below. */
.roftox-shop__sidebar :focus:not(:focus-visible),
.roftox-shop__toolbar :focus:not(:focus-visible),
.roftox-shop .wc-block-product-filters__overlay :focus:not(:focus-visible),
.roftox-shop .wp-block-woocommerce-product-filters :focus:not(:focus-visible) { outline: none !important; }

/* Keyboard focus: clear blue ring everywhere in the sidebar */
.roftox-cat-tree a:focus-visible, .roftox-cat-tree__toggle:focus-visible, .roftox-view-toggle__btn:focus-visible,
.roftox-shop .wc-block-product-filter-checkbox-list__input:focus-visible, .roftox-shop .wc-block-product-filter-removable-chips__remove:focus-visible,
.roftox-filter-clear .wp-block-button__link:focus-visible, .roftox-shop .wc-block-product-filter-price-slider input:focus-visible {
	outline: 2px solid var(--rx-blue); outline-offset: 2px; border-radius: 6px;
}
@media (prefers-reduced-motion: reduce) {
	.roftox-cat-tree__row a, .roftox-cat-tree__children:not([hidden]), .roftox-shop .wc-block-product-filter-checkbox-list__input { transition: none; animation: none; transform: none !important; }
}

/* Toolbar */
.roftox-shop__toolbar { margin-bottom: 18px !important; gap: 12px !important; }
.roftox-shop__toolbar .woocommerce-result-count { margin: 0 !important; color: var(--rx-muted); font-size: 0.875rem; }
.roftox-shop__tools { gap: 10px !important; }
.roftox-shop .woocommerce-ordering { margin: 0 !important; }
.roftox-shop .woocommerce-ordering select {
	border: 1px solid var(--rx-line); border-radius: 10px; background-color: #fff; padding: 10px 36px 10px 14px; font-size: 0.875rem; font-weight: 500; color: var(--rx-navy);
}
.roftox-view-toggle { display: flex; gap: 6px; }
.roftox-view-toggle__btn {
	width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--rx-line); background: #fff; color: var(--rx-muted);
	display: grid; place-items: center; cursor: pointer; transition: background .2s ease, color .2s ease;
}
.roftox-view-toggle__btn.is-active { background: var(--rx-blue); border-color: var(--rx-blue); color: #fff; }

/* Shipping/VAT/delivery notes: product page only (same as the homepage rows). */
.roftox-catalog .wc-gzd-additional-info, .roftox-catalog .wc-gzd-additional-info-loop, .roftox-catalog .price-unit { display: none !important; }
/* Filter lists without the default fieldset frame; price inputs side by side under the slider. */
.roftox-shop .wp-block-woocommerce-product-filters fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.roftox-shop .wc-block-product-filter-price-slider { max-width: 100%; }
.roftox-shop .wc-block-product-filter-price-slider__content { display: flex; flex-direction: column; gap: 12px; }
.roftox-shop .wc-block-product-filter-price-slider__left, .roftox-shop .wc-block-product-filter-price-slider__right { min-width: 0; }
.roftox-shop .wc-block-product-filter-price-slider input[type="text"] { width: 100%; min-width: 0; box-sizing: border-box; }

/* Product cards (block product collection) */
.roftox-catalog .wc-block-product-template { gap: 22px !important; }
.roftox-catalog .wc-block-product {
	position: relative; display: flex; flex-direction: column; background: #fff; border-radius: 18px; padding: 12px 12px 16px; margin: 0 !important;
	box-shadow: 0 1px 2px rgba(11, 18, 32, .04), 0 10px 30px -14px rgba(11, 18, 32, .18); transition: transform .25s ease, box-shadow .25s ease;
}
.roftox-catalog .wc-block-product:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(11, 18, 32, .05), 0 18px 40px -14px rgba(11, 18, 32, .26); }
.roftox-catalog .wc-block-components-product-image { margin: 0 0 14px !important; border-radius: 12px; overflow: hidden; background: #fff; }
.roftox-catalog .wc-block-components-product-image img { aspect-ratio: 1 / 1; object-fit: contain !important; padding: 10px; box-sizing: border-box; border: 0 !important; transition: transform .35s ease; }
.roftox-catalog .wc-block-product:hover .wc-block-components-product-image img { transform: scale(1.03); }
.roftox-catalog .wc-block-components-product-sale-badge {
	position: absolute; top: 10px; left: 10px; right: auto; margin: 0; z-index: 2; background: var(--rx-navy); color: #fff; border: 0;
	border-radius: 8px; padding: 5px 9px; font-size: 0.75rem; font-weight: 700; text-transform: none;
}
.roftox-card__body { display: flex; flex-direction: column; flex: 1; padding: 0 6px; gap: 0 !important; }
.roftox-card__title { margin: 0 !important; font-size: 0.9375rem !important; font-weight: 600; line-height: 1.4; height: 2.8em; overflow: hidden;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.roftox-card__title a { color: var(--rx-navy); text-decoration: none; }
.roftox-card__rating { margin: 8px 0 0 !important; font-size: 0.8125rem; }
.roftox-card__rating .wc-block-components-product-rating__stars, .roftox-card__rating .star-rating { color: #F59E0B; }
.roftox-card__buy { margin-top: auto !important; padding-top: 14px; gap: 10px !important; }
.roftox-card__price { margin: 0 !important; text-align: left !important; }
.roftox-card__price .wc-block-components-product-price { font-size: 1.125rem !important; font-weight: 800; color: var(--rx-navy); letter-spacing: -0.02em; line-height: 1.25; }
.roftox-card__price del { font-size: 0.8125rem; font-weight: 500; color: #94A3B8; }
.roftox-card__price ins { text-decoration: none; }
.roftox-card__button { margin: 0 !important; flex: 0 0 auto; }
.roftox-card__button .wp-block-button__link, .roftox-card__button .wc-block-components-product-button__button {
	display: inline-flex !important; align-items: center; gap: 8px; white-space: nowrap; background: var(--rx-blue) !important; color: #fff !important;
	border-radius: 999px !important; padding: 10px 16px !important; font-size: 0.8125rem !important; font-weight: 600; border: 0 !important; margin: 0 !important;
}
.roftox-card__button .wp-block-button__link::before, .roftox-card__button .wc-block-components-product-button__button::before {
	content: ""; width: 16px; height: 16px; flex: 0 0 auto; background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='20' r='1.4'/%3E%3Ccircle cx='18' cy='20' r='1.4'/%3E%3Cpath d='M2 3h3l2.7 11.4a1.5 1.5 0 0 0 1.5 1.1h8.6a1.5 1.5 0 0 0 1.5-1.1L21 7H6'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='20' r='1.4'/%3E%3Ccircle cx='18' cy='20' r='1.4'/%3E%3Cpath d='M2 3h3l2.7 11.4a1.5 1.5 0 0 0 1.5 1.1h8.6a1.5 1.5 0 0 0 1.5-1.1L21 7H6'/%3E%3C/svg%3E") center / contain no-repeat;
}
.roftox-card__button .wp-block-button__link:hover, .roftox-card__button .wc-block-components-product-button__button:hover { background: var(--rx-navy) !important; }
.roftox-card__button .added_to_cart { display: none !important; }
.roftox-pagination { margin-top: 36px !important; gap: 6px !important; }
.roftox-pagination .page-numbers { display: inline-grid; place-items: center; min-width: 40px; height: 40px; border-radius: 10px; background: #fff; text-decoration: none; color: var(--rx-navy); font-weight: 600; }
.roftox-pagination .page-numbers.current { background: var(--rx-blue); color: #fff; }

/* List view */
.roftox-catalog.is-list .wc-block-product-template { grid-template-columns: 1fr !important; display: grid !important; }
.roftox-catalog.is-list .wc-block-product { flex-direction: row; align-items: center; gap: 22px; padding: 14px 22px 14px 14px; }
.roftox-catalog.is-list .wc-block-product .wc-block-components-product-image { flex: 0 0 180px; width: 180px !important; margin: 0 !important; }
.roftox-catalog.is-list .roftox-card__body { flex: 1; }
.roftox-catalog.is-list .roftox-card__title { height: auto; font-size: 1.0625rem !important; }

/* ---------- Product page (single product) ---------- */
.roftox-pdp .woocommerce-breadcrumb, .roftox-pdp .wc-block-breadcrumbs { font-size: 0.8125rem; color: var(--rx-muted); margin-bottom: 18px; }
.roftox-pdp__top { align-items: flex-start !important; }
.roftox-pdp__gallery, .roftox-pdp__summary {
	background: #fff; border-radius: 20px; box-shadow: 0 1px 2px rgba(11, 18, 32, .04), 0 12px 32px -18px rgba(11, 18, 32, .2);
}
.roftox-pdp__gallery { padding: 20px; position: sticky; top: 20px; }
.roftox-pdp__summary { padding: 30px 32px; }

/* Gallery: big main image, one row of rounded thumbnails */
.roftox-pdp .woocommerce-product-gallery { margin: 0 !important; width: 100% !important; float: none !important; position: relative; }
.roftox-pdp .woocommerce-product-gallery__image img, .roftox-pdp .flex-viewport img {
	width: 100%; aspect-ratio: 1 / 1; object-fit: contain !important; border-radius: 14px; background: #fff;
}
.roftox-pdp .woocommerce-product-gallery__trigger {
	top: 14px !important; right: 14px !important; width: 40px; height: 40px; border-radius: 50%; background: #fff !important;
	box-shadow: 0 4px 14px -6px rgba(11, 18, 32, .3); display: grid !important; place-items: center; z-index: 5;
}
.roftox-pdp .flex-control-thumbs {
	display: flex !important; flex-wrap: nowrap !important; gap: 10px; overflow-x: auto; margin: 16px 0 0 !important; padding: 0 0 6px !important;
	scrollbar-width: thin;
}
.roftox-pdp .flex-control-thumbs li { flex: 0 0 76px !important; width: 76px !important; margin: 0 !important; list-style: none; }
.roftox-pdp .flex-control-thumbs img {
	width: 76px; height: 76px; object-fit: contain; border-radius: 12px; border: 2px solid var(--rx-line); background: #fff; padding: 4px;
	box-sizing: border-box; opacity: .75; cursor: pointer; transition: border-color .18s ease, opacity .18s ease;
}
.roftox-pdp .flex-control-thumbs img:hover { opacity: 1; border-color: #CBD5E1; }
.roftox-pdp .flex-control-thumbs img.flex-active { opacity: 1; border-color: var(--rx-blue); }

/* Summary */
.roftox-brand-pill { margin: 0 0 12px !important; }
.roftox-brand-pill a {
	display: inline-block; background: #EAF1FE; color: var(--rx-blue); font-size: 0.75rem; font-weight: 700; letter-spacing: .06em;
	text-transform: uppercase; padding: 5px 12px; border-radius: 999px; text-decoration: none;
}
.roftox-brand-pill a:hover { background: #DCE8FD; }
.roftox-pdp .roftox-pdp__title { font-size: clamp(1.5rem, 2.1vw, 2.05rem) !important; font-weight: 800; line-height: 1.2; letter-spacing: -0.025em; margin: 0 0 14px !important; }
.roftox-pdp .wc-block-components-product-rating, .roftox-pdp .wp-block-woocommerce-product-rating { margin: 0 0 12px; color: #F59E0B; }
.roftox-pdp .roftox-pdp__price, .roftox-pdp .wp-block-woocommerce-product-price {
	font-size: 2rem !important; font-weight: 800; color: var(--rx-navy); letter-spacing: -0.025em; margin: 6px 0 4px !important;
}
.roftox-pdp .roftox-pdp__price del { font-size: 1.125rem; font-weight: 500; color: #94A3B8; }
.roftox-pdp .roftox-pdp__price ins { text-decoration: none; }
.roftox-pdp .roftox-legal-price { margin: 0 0 16px; padding-bottom: 18px; border-bottom: 1px solid var(--rx-line); }
.roftox-pdp .roftox-availability { margin: 0 0 18px; }

/* Options: label with the chosen value, chips instead of a dropdown */
.roftox-pdp table.variations { display: block; width: 100%; margin: 0 0 8px !important; border: 0; }
.roftox-pdp table.variations tbody, .roftox-pdp table.variations tr { display: block; }
.roftox-pdp table.variations tr { margin-bottom: 18px; }
.roftox-pdp table.variations th, .roftox-pdp table.variations td { display: block; padding: 0 !important; border: 0 !important; text-align: left; background: none !important; }
.roftox-pdp table.variations th label, .roftox-pdp table.variations .label label { font-size: 0.875rem; font-weight: 700; color: var(--rx-navy); display: block; margin-bottom: 10px; }
.roftox-chosen { font-weight: 500; color: var(--rx-muted); margin-left: 6px; }
.roftox-chosen:not(:empty)::before { content: ": "; margin-left: -6px; }
.roftox-select-hidden,
.roftox-pdp table.variations select.roftox-select-hidden,
.woocommerce div.product form.cart .variations select.roftox-select-hidden {
	position: absolute !important; left: 0 !important; width: 1px !important; min-width: 0 !important; max-width: 1px !important; height: 1px !important;
	opacity: 0 !important; pointer-events: none; overflow: hidden; clip: rect(0 0 0 0); margin: 0 !important; padding: 0 !important; border: 0 !important;
}
.roftox-pdp table.variations td { position: relative; }
/* No empty gap under the options: hide WooCommerce's invisible reset link and empty variation box. */
.roftox-pdp .reset_variations[style*="hidden"] { display: none !important; }
.roftox-pdp .woocommerce-variation.single_variation:empty, .roftox-pdp .woocommerce-variation.single_variation[style*="none"] { display: none !important; }
.roftox-pdp table.variations tr:last-child { margin-bottom: 6px; }
.roftox-pdp .single_variation_wrap .woocommerce-variation:not(:empty) { margin-bottom: 12px; }
.roftox-pdp { overflow-x: clip; }
.roftox-pdp .flex-viewport, .roftox-pdp .woocommerce-product-gallery__image { overflow: hidden; }
/* Related products: same card layout as the homepage rows (theme rules otherwise win here). */
.roftox-pdp__related ul.products li.product a.woocommerce-LoopProduct-link { display: flex !important; flex-direction: column; flex: 1 1 auto; }
.roftox-pdp__related ul.products li.product .price { margin-top: auto !important; }
/* WordPress wraps shortcode output in empty <p> tags; inside product cards they only add invisible space. */
ul.products li.product > p:not([class]) { margin: 0 !important; padding: 0 !important; }
.roftox-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.roftox-chip {
	border: 1.5px solid var(--rx-line); background: #fff; color: var(--rx-navy); border-radius: 10px; padding: 9px 14px;
	font: inherit; font-size: 0.875rem; font-weight: 600; line-height: 1.2; cursor: pointer; transition: border-color .15s ease, background .15s ease, color .15s ease, transform .1s ease;
}
.roftox-chip:hover:not(:disabled) { border-color: var(--rx-blue); color: var(--rx-blue); }
.roftox-chip:active:not(:disabled) { transform: scale(.97); }
.roftox-chip.is-selected { border-color: var(--rx-blue); background: #EAF1FE; color: var(--rx-blue); box-shadow: inset 0 0 0 1px var(--rx-blue); }
.roftox-chip.is-unavailable { opacity: .4; text-decoration: line-through; cursor: not-allowed; }
.roftox-chip:focus:not(:focus-visible) { outline: none; }
.roftox-chip:focus-visible { outline: 2px solid var(--rx-blue); outline-offset: 2px; }
.roftox-pdp .reset_variations { font-size: 0.8125rem; color: var(--rx-muted); text-decoration: underline; display: inline-block; margin-top: 4px; }
.roftox-pdp .single_variation_wrap .woocommerce-variation-price { font-size: 1.5rem; font-weight: 800; color: var(--rx-navy); margin: 4px 0 6px; }
.roftox-pdp .woocommerce-variation-description p { color: var(--rx-muted); font-size: 0.875rem; }

/* Quantity stepper + cart button */
.roftox-pdp form.cart:not(.variations_form), .roftox-pdp .woocommerce-variation-add-to-cart { display: flex !important; gap: 12px; align-items: stretch; flex-wrap: wrap; margin-top: 8px; }
.roftox-pdp .quantity { margin: 0 !important; }
.roftox-qty { display: inline-flex !important; align-items: center; border: 1.5px solid var(--rx-line); border-radius: 12px; background: #fff; overflow: hidden; }
.roftox-qty input.qty { width: 46px !important; border: 0 !important; text-align: center; font-weight: 700; font-size: 1rem; padding: 0 !important; background: transparent; -moz-appearance: textfield; box-shadow: none !important; }
.roftox-qty input.qty::-webkit-outer-spin-button, .roftox-qty input.qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.roftox-qty-btn { width: 42px; height: 52px; border: 0; background: transparent; font-size: 1.25rem; color: var(--rx-navy); cursor: pointer; transition: background .15s ease; }
.roftox-qty-btn:hover { background: #F2F6FD; color: var(--rx-blue); }
.roftox-pdp .single_add_to_cart_button {
	flex: 1 1 200px; min-height: 52px; border-radius: 12px !important; background: var(--rx-blue) !important; color: #fff !important;
	font-size: 1rem !important; font-weight: 700; display: inline-flex !important; align-items: center; justify-content: center; gap: 10px; transition: background .2s ease, transform .1s ease;
}
.roftox-pdp .single_add_to_cart_button::before {
	content: ""; width: 20px; height: 20px; background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='20' r='1.4'/%3E%3Ccircle cx='18' cy='20' r='1.4'/%3E%3Cpath d='M2 3h3l2.7 11.4a1.5 1.5 0 0 0 1.5 1.1h8.6a1.5 1.5 0 0 0 1.5-1.1L21 7H6'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='20' r='1.4'/%3E%3Ccircle cx='18' cy='20' r='1.4'/%3E%3Cpath d='M2 3h3l2.7 11.4a1.5 1.5 0 0 0 1.5 1.1h8.6a1.5 1.5 0 0 0 1.5-1.1L21 7H6'/%3E%3C/svg%3E") center / contain no-repeat;
}
.roftox-pdp .single_add_to_cart_button:hover:not(.disabled) { background: var(--rx-navy) !important; }
.roftox-pdp .single_add_to_cart_button:active:not(.disabled) { transform: scale(.99); }
.roftox-pdp .single_add_to_cart_button.disabled { opacity: .45 !important; cursor: not-allowed; }
.roftox-pdp .roftox-trust-boxes { margin: 22px 0 18px; }

/* Meta: category / brand, no SKU */
.roftox-pdp .wp-block-woocommerce-product-sku { display: none !important; }
.roftox-pdp__meta { gap: 6px 18px !important; padding-top: 16px; border-top: 1px solid var(--rx-line); font-size: 0.8125rem; color: var(--rx-muted); }
.roftox-pdp__meta a { color: var(--rx-navy); }

/* Description tabs in a card */
.roftox-pdp__details { margin-top: 32px !important; background: #fff; border-radius: 20px; padding: 8px 32px 32px;
	box-shadow: 0 1px 2px rgba(11, 18, 32, .04), 0 12px 32px -18px rgba(11, 18, 32, .2); }
.roftox-pdp .wc-tabs, .roftox-pdp .woocommerce-tabs ul.tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--rx-line) !important; padding: 0 !important; margin: 0 0 24px !important; overflow-x: auto; }
.roftox-pdp .woocommerce-tabs ul.tabs::before, .roftox-pdp .woocommerce-tabs ul.tabs li::before, .roftox-pdp .woocommerce-tabs ul.tabs li::after { display: none !important; }
.roftox-pdp .woocommerce-tabs ul.tabs li { border: 0 !important; background: none !important; margin: 0 !important; padding: 0 !important; border-radius: 0 !important; }
.roftox-pdp .woocommerce-tabs ul.tabs li a {
	display: block; padding: 16px 14px !important; font-weight: 600; color: var(--rx-muted) !important; text-decoration: none; border-bottom: 3px solid transparent; transition: color .15s ease, border-color .15s ease; white-space: nowrap;
}
.roftox-pdp .woocommerce-tabs ul.tabs li a:hover { color: var(--rx-navy) !important; }
.roftox-pdp .woocommerce-tabs ul.tabs li.active a { color: var(--rx-navy) !important; border-bottom-color: var(--rx-blue); }
.roftox-pdp .woocommerce-Tabs-panel { max-width: 900px; line-height: 1.7; color: #334155; }
.roftox-pdp .woocommerce-Tabs-panel > h2:first-child { display: none; }
.roftox-pdp .woocommerce-Tabs-panel h2, .roftox-pdp .woocommerce-Tabs-panel h3 { font-size: 1.125rem; margin: 28px 0 10px; color: var(--rx-navy); }
.roftox-pdp .woocommerce-Tabs-panel ul { padding-left: 1.2em; }
.roftox-pdp .woocommerce-Tabs-panel li { margin-bottom: 6px; }
.roftox-pdp .woocommerce-Tabs-panel table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; border-radius: 12px; overflow: hidden; border: 1px solid var(--rx-line); }
.roftox-pdp .woocommerce-Tabs-panel th, .roftox-pdp .woocommerce-Tabs-panel td { padding: 12px 16px !important; text-align: left; border: 0 !important; border-bottom: 1px solid var(--rx-line) !important; vertical-align: top; }
.roftox-pdp .woocommerce-Tabs-panel tr:nth-child(odd) { background: #F8FAFC; }
.roftox-pdp .woocommerce-Tabs-panel th { width: 34%; font-weight: 600; color: var(--rx-navy); }

/* Related products row */
.roftox-pdp__related { background: transparent !important; }
.roftox-pdp__related .related > h2 { display: none; }
.roftox-pdp__related .roftox-row__head h2::before { margin-bottom: 14px; }
.roftox-pdp__related .roftox-row__head h2 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); }

/* ---------- Mobile ---------- */
@media (max-width: 781px) {
	.roftox-slider > .wp-block-cover { min-height: 640px !important; padding-top: 120px !important; padding-bottom: 64px !important; }
	.roftox-slider .wp-block-cover__background {
		background-image: linear-gradient(180deg, rgba(11, 18, 32, .55) 0%, rgba(11, 18, 32, .4) 35%, rgba(11, 18, 32, .82) 100%) !important;
	}
	.roftox-slider h1, .roftox-slider h2 { font-size: 2.4rem !important; }
	.roftox-slide-buttons .wp-block-button__link { padding: 14px 22px !important; font-size: 0.9375rem; }
	.roftox-slide-trust { margin-top: 28px !important; row-gap: 14px !important; }
	.roftox-slide-trust__item { padding: 0; border-left: 0; flex: 1 1 100%; }
	.roftox-slider__arrows { display: none; }
	.roftox-mainbar .wp-block-site-logo, .roftox-mainbar .roftox-logo-light { flex: 0 0 auto; }
	.roftox-mainbar .wp-block-site-logo img, .roftox-mainbar .roftox-logo-light img { width: 112px !important; height: auto; }
	.roftox-mainbar > .wp-block-group:first-child { gap: 14px; flex: 0 0 auto; }
	.roftox-mainbar > .wp-block-group:last-child { gap: 10px; }
	.roftox-mainbar .wp-block-search, .roftox-mainbar .wp-block-search__inside-wrapper { width: auto !important; min-width: 0; flex: 0 0 auto; }
	.roftox-mainbar .wp-block-search__searchfield-hidden .wp-block-search__input { display: none !important; }
	.roftox-mainbar { padding-left: 16px !important; padding-right: 16px !important; }
	.roftox-cat { min-width: 0; }
	.roftox-cat p { font-size: 0.875rem; }
	.wp-block-group:has(> .roftox-cat) { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 14px !important; }
	.roftox-trust { display: grid !important; grid-template-columns: 1fr 1fr; gap: 18px 14px !important; }
	.roftox-trust .wp-block-column { flex-direction: column; gap: 6px; }
	.roftox-row ul.products li.product { flex-basis: calc((100% - 16px) / 2.2) !important; }
	.roftox-row__arrows { display: none; }
	.roftox-pdp__gallery { position: static; padding: 12px; border-radius: 16px; }
	.roftox-pdp .roftox-trust-boxes { grid-template-columns: 1fr; }
	.roftox-pdp__summary { padding: 22px 18px; border-radius: 16px; }
	.roftox-pdp .roftox-pdp__price { font-size: 1.625rem !important; }
	.roftox-pdp__details { padding: 4px 16px 20px; border-radius: 16px; }
	.roftox-pdp .flex-control-thumbs li { flex-basis: 60px !important; width: 60px !important; }
	.roftox-pdp .flex-control-thumbs img { width: 60px; height: 60px; }
	.roftox-shop__sidebar { position: static; flex-basis: 100% !important; }
	.roftox-catalog .wc-block-product-template { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 12px !important; }
	.roftox-catalog .wc-block-product { padding: 8px 8px 12px; border-radius: 14px; }
	.roftox-card__title { font-size: 0.8125rem !important; }
	.roftox-card__buy { flex-direction: column; align-items: stretch !important; }
	.roftox-card__button .wp-block-button__link, .roftox-card__button .wc-block-components-product-button__button { width: 100%; justify-content: center; padding: 9px 8px !important; font-size: 0.75rem !important; gap: 6px; }
	.roftox-card__button *, .roftox-card__button { white-space: nowrap; }
	.roftox-view-toggle { display: none; }
	.roftox-catalog.is-list .wc-block-product-template { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
	.roftox-row__head h2 { font-size: 1.75rem; }
	.home .entry-content > .roftox-row, .home .entry-content > .wp-block-group:has(.roftox-cat) { padding-top: 40px !important; padding-bottom: 24px !important; }
	.home .entry-content > .wp-block-group:has(> .wp-block-media-text) { padding-top: 24px !important; padding-bottom: 32px !important; }
	.home .wp-block-media-text__media img { max-height: 260px; }
	.home .wp-block-media-text__content { padding-top: 16px !important; }
	.home .entry-content > .wp-block-group:last-child { padding-top: 40px !important; padding-bottom: 40px !important; }
	.roftox-row__sub { font-size: 0.9375rem; }
	ul.products li.product { padding: 10px 12px 14px !important; border-radius: 16px; }
	ul.products li.product .price { font-size: 1rem; padding-right: 44px; }
	ul.products li.product .woocommerce-loop-product__title { font-size: 0.875rem !important; }
	.roftox-row ul.products li.product { flex-basis: 64% !important; }
	ul.products li.product .button { width: 36px; height: 36px; right: 12px; bottom: 12px; }
	.roftox-trust-boxes { grid-template-columns: 1fr 1fr; }
	.roftox-announce p { font-size: 0.75rem; }
	.home .roftox-mainbar .roftox-logo-light img { width: 120px !important; }
}
@media (prefers-reduced-motion: reduce) {
	.roftox-marquee__track { animation: none; }
	.roftox-slider.is-ready > .wp-block-cover { transition: none; }
}

/* ---------- Content pages (Über uns, Kontakt, Versand, AGB, Datenschutz …) – v1.9.0 ---------- */
.rx-content-page main { margin-top: 0 !important; }
.rx-content-page main > .wp-block-group:first-child { padding-top: 0 !important; }
.rx-content-page .rx-page-hero {
	box-sizing: border-box; width: 100vw; max-width: 100vw !important; margin: 0 0 48px calc(50% - 50vw) !important; padding: 56px max(24px, calc(50vw - 380px)) 44px;
	background: var(--rx-navy); color: #fff;
}
.rx-page-hero .wp-block-post-title { color: #fff; margin: 0 !important; font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.rx-crumb { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; font-size: 0.875rem; color: var(--rx-blue-light); }
.rx-crumb a { color: #cbd5e1; text-decoration: none; }
.rx-crumb a:hover { color: #fff; }
.rx-page-hero__bar { display: block; width: 56px; height: 4px; margin-top: 18px; border-radius: 4px; background: var(--rx-blue); }

.rx-content-page .entry-content { max-width: 760px; margin-left: auto !important; margin-right: auto !important; padding-bottom: 24px; }
.rx-content-page .entry-content > * { max-width: 760px; }
.rx-content-page .entry-content p, .rx-content-page .entry-content li { font-size: 1.0625rem; line-height: 1.7; color: #1e293b; }
.rx-content-page .entry-content a { color: var(--rx-blue); }
.rx-content-page .entry-content h2 { font-size: 1.75rem; font-weight: 800; letter-spacing: -0.02em; margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--rx-line); }
.rx-content-page .entry-content > h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.rx-content-page .entry-content h3 { position: relative; font-size: 1.25rem; font-weight: 700; margin-top: 36px; margin-bottom: 10px; padding-left: 16px; color: var(--rx-navy); }
.rx-content-page .entry-content h3::before { content: ""; position: absolute; left: 0; top: 0.2em; bottom: 0.2em; width: 4px; border-radius: 4px; background: var(--rx-blue); }
.rx-content-page .entry-content ul.wp-block-list, .rx-content-page .entry-content ul:not([class]) { list-style: none; padding: 0; margin: 14px 0 22px; display: grid; gap: 10px; }
.rx-content-page .entry-content ul.wp-block-list > li, .rx-content-page .entry-content ul:not([class]) > li {
	margin: 0; padding: 14px 16px 14px 44px; position: relative; background: var(--rx-soft); border: 1px solid var(--rx-line); border-radius: var(--rx-radius);
}
.rx-content-page .entry-content ul.wp-block-list > li::before, .rx-content-page .entry-content ul:not([class]) > li::before {
	content: ""; position: absolute; left: 16px; top: 1.15em; width: 14px; height: 14px; border-radius: 50%;
	background: var(--rx-blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='white' stroke-width='2'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.rx-content-page .entry-content ol { padding-left: 1.4em; margin: 14px 0 22px; }
.rx-content-page .entry-content ol > li { margin-bottom: 8px; padding-left: 4px; }
.rx-content-page .entry-content ol > li::marker { color: var(--rx-blue); font-weight: 700; }
.rx-content-page .entry-content mark { background: #fef3c7; padding: 0 4px; border-radius: 4px; }

/* Kontakt: contact cards */
.rx-contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; margin: 28px 0; }
.rx-contact-card { padding: 20px; background: var(--rx-soft); border: 1px solid var(--rx-line); border-radius: var(--rx-radius); }
.rx-content-page .rx-contact-card h3 { margin: 0 0 6px !important; padding-left: 0; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--rx-blue); }
.rx-content-page .rx-contact-card h3::before { display: none; }
.rx-content-page .rx-contact-card p { margin: 0; font-size: 1.0625rem; font-weight: 600; color: var(--rx-navy); }

/* Help strip at the end of each content page */
.rx-help { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin: 56px 0 24px; padding: 26px 28px; border-radius: 16px; background: var(--rx-navy); color: #fff; }
.rx-help__text { display: flex; flex-direction: column; gap: 6px; }
.rx-help__text strong { font-size: 1.25rem; font-weight: 800; }
.rx-help__text span { color: #cbd5e1; font-size: 0.9375rem; }
.rx-content-page .rx-help a:not(.rx-help__btn) { color: #fff; }
.rx-help__buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.rx-help__btn { display: inline-flex; align-items: center; min-height: 46px; padding: 0 20px; border-radius: 10px; border: 1.5px solid rgb(255 255 255 / 70%); color: #fff !important; font-weight: 700; text-decoration: none; }
.rx-help__btn--primary { background: var(--rx-blue); border-color: var(--rx-blue); }
.rx-help__btn:hover { background: rgb(255 255 255 / 12%); }
.rx-help__btn--primary:hover { background: #1d4ed8; }

/* Widerrufs form (Germanized) */
.rx-content-page .entry-content form .form-row { margin-bottom: 14px; }
.rx-content-page .entry-content form label { display: block; margin-bottom: 6px; font-weight: 600; color: var(--rx-navy); }
.rx-content-page .entry-content form input[type="text"], .rx-content-page .entry-content form input[type="email"], .rx-content-page .entry-content form textarea {
	width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid var(--rx-line); border-radius: 10px; background: #fff; font-size: 1rem;
}
.rx-content-page .entry-content form button, .rx-content-page .entry-content form input[type="submit"] { min-height: 48px; padding: 0 24px; border: 0; border-radius: 10px; background: var(--rx-blue); color: #fff; font-weight: 700; cursor: pointer; }

@media (max-width: 781px) {
	.rx-content-page .rx-page-hero { padding: 40px 20px 32px; margin-bottom: 32px !important; }
	.rx-help { padding: 22px 20px; }
	.rx-help__buttons, .rx-help__btn { width: 100%; justify-content: center; }
}

/* ---------- Product page polish (v1.10.0) ---------- */
/* Gallery fills its card (WooCommerce caps the block at 512px by default) */
.roftox-pdp .wp-block-woocommerce-product-image-gallery { max-width: none !important; width: 100% !important; }
.roftox-pdp .woocommerce-product-gallery__image img, .roftox-pdp .flex-viewport img { max-height: min(640px, 72vh); background: #F8FAFC; }
.roftox-pdp .woocommerce-product-gallery__image { background: #F8FAFC; border-radius: 14px; }

/* Delivery time as a clear box with a truck icon */
.roftox-pdp .roftox-legal-price { display: flex; flex-direction: column; gap: 10px; }
.roftox-pdp .roftox-legal-price .delivery-time-info, .roftox-pdp .roftox-legal-price .roftox-dispatch {
	display: flex; align-items: center; gap: 12px; margin: 4px 0 0 !important; padding: 12px 16px; border-radius: 14px;
	background: #ECFDF5; border: 1px solid #A7F3D0; color: #065F46; font-size: 0.9375rem !important; line-height: 1.35;
}
.roftox-pdp .roftox-legal-price .delivery-time-info::before, .roftox-pdp .roftox-legal-price .roftox-dispatch::before {
	content: ""; flex: 0 0 22px; height: 22px; background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='M3 7h11v9H3zM14 10h4l3 3v3h-7'/%3E%3Ccircle cx='7' cy='17' r='1.8'/%3E%3Ccircle cx='17' cy='17' r='1.8'/%3E%3C/svg%3E") center/contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='M3 7h11v9H3zM14 10h4l3 3v3h-7'/%3E%3Ccircle cx='7' cy='17' r='1.8'/%3E%3Ccircle cx='17' cy='17' r='1.8'/%3E%3C/svg%3E") center/contain no-repeat;
}
.roftox-pdp .roftox-legal-price .delivery-time-data { font-weight: 700; }
.roftox-pdp .roftox-availability { font-size: 1rem; }

/* Description: centred reading column, bigger headings, rounded full-width images */
.roftox-pdp .woocommerce-Tabs-panel { max-width: 860px; margin-left: auto !important; margin-right: auto !important; font-size: 1.0625rem; }
.roftox-pdp .woocommerce-Tabs-panel h1, .roftox-pdp .woocommerce-Tabs-panel h2, .roftox-pdp .woocommerce-Tabs-panel h3, .roftox-pdp .woocommerce-Tabs-panel h4 {
	font-size: clamp(1.25rem, 2vw, 1.6rem) !important; font-weight: 800; letter-spacing: -0.02em; line-height: 1.25; margin: 36px 0 12px; color: var(--rx-navy);
}
.roftox-pdp .woocommerce-Tabs-panel h4, .roftox-pdp .woocommerce-Tabs-panel h5 { font-size: 1.125rem !important; }
.roftox-pdp .woocommerce-Tabs-panel img { display: block; max-width: 100%; height: auto; margin: 24px auto; border-radius: 16px; }
.roftox-pdp .woocommerce-Tabs-panel p { margin: 0 0 14px; }
.roftox-pdp .woocommerce-Tabs-panel ul li::marker { color: var(--rx-blue); }

@media (max-width: 781px) {
	.roftox-pdp__details { padding: 4px 18px 22px; }
	.roftox-pdp .woocommerce-Tabs-panel { font-size: 1rem; }
	.roftox-pdp .roftox-pdp__title, .roftox-pdp .wp-block-post-title { font-size: 1.375rem !important; line-height: 1.25 !important; }
	.roftox-pdp__summary { padding: 22px 20px !important; }
	.roftox-pdp .woocommerce-product-gallery__image img, .roftox-pdp .flex-viewport img { max-height: none; }
}

/* ---------- Search page + live suggestions (v1.11.0) ---------- */
.roftox-search-page .wp-block-query-title { margin-bottom: 18px !important; }
.roftox-search-hero { max-width: none; margin: 0 0 28px !important; }
.roftox-search-hero .wp-block-search__inside-wrapper {
	background: #fff; border: 1.5px solid var(--rx-line) !important; border-radius: 999px !important; padding: 6px 6px 6px 22px !important;
	box-shadow: 0 1px 2px rgba(11, 18, 32, .04), 0 12px 32px -18px rgba(11, 18, 32, .2); transition: border-color .15s ease, box-shadow .15s ease;
}
.roftox-search-hero .wp-block-search__inside-wrapper:focus-within { border-color: var(--rx-blue) !important; box-shadow: 0 0 0 4px rgba(37, 99, 235, .12); }
.roftox-search-hero .wp-block-search__input { border: 0 !important; background: transparent !important; font-size: 1.0625rem; padding: 10px 0 !important; outline: none !important; box-shadow: none !important; }
.roftox-search-hero .wp-block-search__button { background: var(--rx-blue) !important; color: #fff !important; border-radius: 999px !important; width: 52px; height: 46px; padding: 0 !important; margin: 0 !important; display: grid; place-items: center; border: 0 !important; }
.roftox-search-hero .wp-block-search__button svg { fill: currentColor; width: 22px; height: 22px; }
.roftox-search-page .roftox-shop__toolbar { justify-content: space-between !important; }
.roftox-search-count { margin: 0 !important; color: var(--rx-muted); font-size: 0.9375rem; }
.roftox-noresults { background: #fff; border-radius: 20px; padding: 40px 32px; text-align: center; max-width: 560px; margin: 10px auto; color: var(--rx-muted);
	box-shadow: 0 1px 2px rgba(11, 18, 32, .04), 0 12px 32px -18px rgba(11, 18, 32, .2); }
.roftox-noresults__title { font-size: 1.375rem; font-weight: 800; color: var(--rx-navy); margin: 0 0 8px; }
.roftox-noresults__btn { display: inline-block; margin-top: 6px; background: var(--rx-blue); color: #fff !important; text-decoration: none; font-weight: 700; padding: 12px 22px; border-radius: 12px; }

/* Live suggestions under any product search box */
.roftox-suggest-host { position: relative; }
.roftox-suggest {
	position: absolute; top: calc(100% + 8px); right: 0; z-index: 1000; width: min(440px, calc(100vw - 32px)); background: #fff; border-radius: 16px; padding: 8px;
	box-shadow: 0 2px 6px rgba(11, 18, 32, .06), 0 24px 48px -16px rgba(11, 18, 32, .35); border: 1px solid var(--rx-line); text-align: left;
}
.roftox-search-hero .roftox-suggest { left: 0; right: auto; width: 100%; }
.roftox-suggest[hidden] { display: none; }
.roftox-suggest__item { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 12px; text-decoration: none; color: var(--rx-navy); }
.roftox-suggest__item:hover, .roftox-suggest__item.is-active { background: #F1F5F9; }
.roftox-suggest__item img { width: 52px; height: 52px; object-fit: contain; border-radius: 10px; background: #F8FAFC; flex: 0 0 52px; }
.roftox-suggest__text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.roftox-suggest__name { font-size: 0.875rem; font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.roftox-suggest__price { font-size: 0.8125rem; font-weight: 800; color: var(--rx-blue); }
.roftox-suggest__all { display: block; margin-top: 4px; padding: 11px 10px; border-top: 1px solid var(--rx-line); text-align: center; font-size: 0.875rem; font-weight: 700; color: var(--rx-blue); text-decoration: none; border-radius: 0 0 10px 10px; }
.roftox-suggest__all:hover { background: #F1F5F9; }
.roftox-suggest__empty { padding: 14px 12px; font-size: 0.875rem; color: var(--rx-muted); }
@media (max-width: 781px) {
	.roftox-search-hero .wp-block-search__input { font-size: 1rem; }
	.roftox-search-page .roftox-shop__sidebar > .roftox-cat-tree, .roftox-search-page .roftox-shop__sidebar > .wp-block-shortcode, .roftox-search-page .roftox-shop__sidebar > nav { display: none !important; }
	.roftox-search-hero { margin-bottom: 16px !important; }
	.roftox-mainbar .roftox-suggest { position: fixed; top: 128px; left: 16px; right: 16px; width: auto; }
}

/* Variant picker: Germanized would show the old per-product delivery time again; the fixed dispatch line above covers it. */
.roftox-pdp .single_variation_wrap .delivery-time-info { display: none !important; }

/* ---------- Header: category dropdowns on hover (v1.12.0) ---------- */
@media (min-width: 600px) {
	.roftox-mainbar .wp-block-navigation .wp-block-navigation-submenu > .wp-block-navigation__submenu-container {
		background: #fff !important; color: var(--rx-navy) !important; border: 1px solid var(--rx-line) !important; border-radius: 16px; padding: 10px !important;
		min-width: 250px !important; box-shadow: 0 2px 6px rgba(11, 18, 32, .06), 0 24px 48px -16px rgba(11, 18, 32, .35); top: calc(100% + 10px) !important; left: -14px !important;
		opacity: 0; transform: translateY(6px); transition: opacity .16s ease, transform .16s ease, visibility .16s; z-index: 1000;
	}
	/* invisible bridge so the menu stays open while the mouse moves down to it */
	.roftox-mainbar .wp-block-navigation .wp-block-navigation-submenu > .wp-block-navigation__submenu-container::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
	.roftox-mainbar .wp-block-navigation .wp-block-navigation-submenu:hover > .wp-block-navigation__submenu-container,
	.roftox-mainbar .wp-block-navigation .wp-block-navigation-submenu:focus-within > .wp-block-navigation__submenu-container { opacity: 1; transform: none; }
	.roftox-mainbar .wp-block-navigation__submenu-container:has(> li:nth-child(10)) { display: grid !important; grid-template-columns: repeat(2, minmax(250px, 1fr)); column-gap: 6px; min-width: 540px !important; }
	.roftox-mainbar .wp-block-navigation__submenu-container .wp-block-navigation-item { width: 100%; }
	.roftox-mainbar .wp-block-navigation__submenu-container .wp-block-navigation-item__content,
	.home .roftox-mainbar .wp-block-navigation:not(.has-modal-open) .wp-block-navigation__submenu-container a {
		color: var(--rx-navy) !important; font-size: 0.875rem; font-weight: 500; padding: 9px 12px !important; border-radius: 10px; width: 100%; white-space: nowrap;
	}
	.roftox-mainbar .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover { background: #F1F5F9; color: var(--rx-blue) !important; text-decoration: none; }
	.roftox-mainbar .wp-block-navigation__submenu-container .roftox-menu-all { grid-column: 1 / -1; border-top: 1px solid var(--rx-line); margin-top: 6px; padding-top: 6px; }
	.roftox-mainbar .wp-block-navigation__submenu-container .roftox-menu-all .wp-block-navigation-item__content,
	.home .roftox-mainbar .wp-block-navigation:not(.has-modal-open) .wp-block-navigation__submenu-container .roftox-menu-all a { color: var(--rx-blue) !important; font-weight: 700; }
	.roftox-mainbar .wp-block-navigation-submenu__toggle { margin-left: 3px; }
	.roftox-mainbar .wp-block-navigation-submenu__toggle svg { width: 10px; height: 10px; transition: transform .16s ease; }
	.roftox-mainbar .wp-block-navigation-submenu:hover > .wp-block-navigation-submenu__toggle svg { transform: rotate(180deg); }
}

/* ---------- Footer: compact, dark (v1.12.0) ---------- */
.wp-site-blocks > footer { margin-block-start: 0 !important; }
.roftox-footer--dark { background: var(--rx-navy) !important; color: #CBD5E1; border-top: 0 !important; }
.roftox-footer--dark .roftox-footer__cols { gap: 40px !important; margin-bottom: 36px !important; }
.roftox-footer--dark .roftox-footer__logo { margin: 0 0 14px !important; }
.roftox-footer--dark .roftox-footer__text { font-size: 0.875rem; line-height: 1.6; color: #94A3B8; margin: 0 0 16px !important; max-width: 360px; }
.roftox-footer--dark .roftox-footer__title { color: #fff !important; font-size: 0.8125rem !important; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin: 6px 0 14px !important; }
.roftox-footer--dark ul { list-style: none; margin: 0; padding: 0; }
.roftox-footer--dark .roftox-footer__links li { margin: 0 0 9px; font-size: 0.875rem; line-height: 1.4; }
.roftox-footer--dark a { color: #CBD5E1 !important; text-decoration: none; transition: color .15s ease; }
.roftox-footer--dark a:hover { color: #fff !important; text-decoration: none; }
.roftox-footer--dark .roftox-footer__contact li { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; font-size: 0.875rem; color: #CBD5E1; }
.roftox-footer--dark .roftox-footer__contact svg { color: var(--rx-blue-light); flex: 0 0 auto; }
.roftox-footer--dark .roftox-footer__bottom {
	display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px 20px; padding: 18px 0; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 0.8125rem; color: #94A3B8;
}
/* EU withdrawal button (plugin output right after the footer): kept visible, styled as part of the footer */
.eu-owb-order-withdraw-from-contract-button { background: var(--rx-navy); margin: 0 !important; padding: 0 16px 22px; text-align: center; }
.eu-owb-order-withdraw-from-contract-button .button {
	background: transparent !important; color: #fff !important; border: 1.5px solid rgba(255, 255, 255, .45) !important; border-radius: 10px !important;
	padding: 8px 18px !important; font-size: 0.8125rem !important; font-weight: 600 !important; text-decoration: none;
}
.eu-owb-order-withdraw-from-contract-button .button:hover { border-color: #fff !important; background: rgba(255, 255, 255, .08) !important; }
@media (max-width: 781px) {
	.roftox-footer--dark { padding-top: 36px !important; }
	.roftox-footer--dark .roftox-footer__cols { display: grid !important; grid-template-columns: 1fr 1fr; gap: 26px 20px !important; }
	.roftox-footer--dark .roftox-footer__brand { grid-column: 1 / -1; }
	.roftox-footer--dark .roftox-footer__bottom { flex-direction: column; text-align: center; align-items: center; }
}

/* Mobile menu: categories collapsed, the arrow opens their subcategories */
.roftox-mainbar .is-menu-open .wp-block-navigation-submenu { display: grid !important; grid-template-columns: 1fr auto; align-items: center; width: 100%; border-bottom: 1px solid var(--rx-line); padding: 4px 0; }
.roftox-mainbar .is-menu-open .wp-block-navigation-submenu > .wp-block-navigation-item__content { font-size: 1.0625rem; font-weight: 700; padding: 10px 0 !important; }
.roftox-mainbar .is-menu-open .wp-block-navigation-submenu > .wp-block-navigation-submenu__toggle {
	display: inline-grid !important; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: #F1F5F9 !important; color: var(--rx-navy) !important; cursor: pointer;
}
.roftox-mainbar .is-menu-open .wp-block-navigation-submenu > .wp-block-navigation-submenu__toggle svg { width: 12px; height: 12px; display: block !important; transition: transform .16s ease; }
.roftox-mainbar .is-menu-open .wp-block-navigation-submenu.rx-open > .wp-block-navigation-submenu__toggle svg { transform: rotate(180deg); }
.roftox-mainbar .is-menu-open .wp-block-navigation-submenu > .wp-block-navigation__submenu-container { grid-column: 1 / -1; display: none !important; padding: 2px 0 10px 12px !important; gap: 0 !important; }
.roftox-mainbar .is-menu-open .wp-block-navigation-submenu.rx-open > .wp-block-navigation__submenu-container { display: flex !important; flex-direction: column; align-items: flex-start; }
.roftox-mainbar .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content { padding: 8px 0 !important; font-size: 0.9375rem; color: var(--rx-muted) !important; }
.roftox-mainbar .is-menu-open .roftox-menu-all .wp-block-navigation-item__content { color: var(--rx-blue) !important; font-weight: 700; }
.roftox-mainbar .is-menu-open .wp-block-navigation__container { gap: 0 !important; width: 100%; }
.roftox-mainbar .is-menu-open .wp-block-navigation__container > .wp-block-navigation-link > a { font-size: 1.0625rem; font-weight: 700; padding: 14px 0 !important; }
.roftox-mainbar .is-menu-open .wp-block-navigation-submenu > .wp-block-navigation-item__content, .roftox-mainbar .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item { justify-self: start; text-align: left; align-items: flex-start; }
.roftox-mainbar .is-menu-open .wp-block-navigation-submenu > .wp-block-navigation-submenu__toggle svg { transform: none; }

/* ---------- Header dropdowns v2: photos + counts (v1.13.0) ---------- */
.rx-menu-thumb { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 12px; background: #fff; border: 1px solid var(--rx-line); overflow: hidden; display: grid; place-items: center; transition: border-color .15s ease, transform .15s ease; }
.rx-menu-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 3px; box-sizing: border-box; }
.rx-menu-thumb--empty { background: linear-gradient(135deg, #EFF6FF, #DBEAFE); }
.rx-menu-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.rx-menu-count { font-size: 0.75rem; font-weight: 500; color: #94A3B8; }
@media (min-width: 600px) {
	.roftox-mainbar .wp-block-navigation .wp-block-navigation-submenu > .wp-block-navigation__submenu-container {
		padding: 12px !important; border-radius: 20px; min-width: 310px !important; border-color: #E8EDF4 !important;
		box-shadow: 0 1px 2px rgba(11, 18, 32, .04), 0 30px 60px -20px rgba(11, 18, 32, .35) !important; top: calc(100% + 14px) !important;
	}
	/* small arrow pointing at the menu item */
	.roftox-mainbar .wp-block-navigation .wp-block-navigation-submenu > .wp-block-navigation__submenu-container::after {
		content: ""; position: absolute; top: -7px; left: 30px; width: 12px; height: 12px; background: #fff; border-left: 1px solid #E8EDF4; border-top: 1px solid #E8EDF4; transform: rotate(45deg);
	}
	.roftox-mainbar .wp-block-navigation__submenu-container:has(> li:nth-child(10)) { grid-template-columns: repeat(2, minmax(270px, 1fr)) !important; min-width: 580px !important; column-gap: 4px; row-gap: 2px; }
	.roftox-mainbar .wp-block-navigation__submenu-container .wp-block-navigation-link > .wp-block-navigation-item__content {
		display: flex !important; align-items: center; gap: 12px; padding: 7px 10px !important; border-radius: 14px; white-space: normal; line-height: 1.25;
		transition: background-color .15s ease;
	}
	.roftox-mainbar .wp-block-navigation__submenu-container .wp-block-navigation-link .wp-block-navigation-item__label { font-size: 0.875rem; font-weight: 600; color: var(--rx-navy); transition: color .15s ease; }
	.roftox-mainbar .wp-block-navigation__submenu-container .wp-block-navigation-link > .wp-block-navigation-item__content:hover { background: #EFF6FF !important; }
	.roftox-mainbar .wp-block-navigation__submenu-container .wp-block-navigation-link > .wp-block-navigation-item__content:hover .wp-block-navigation-item__label { color: var(--rx-blue); }
	.roftox-mainbar .wp-block-navigation__submenu-container .wp-block-navigation-link > .wp-block-navigation-item__content:hover .rx-menu-thumb { border-color: #BFDBFE; transform: scale(1.04); }
	/* "Alle … Produkte ansehen" as a soft button */
	.roftox-mainbar .wp-block-navigation__submenu-container .roftox-menu-all { border-top: 0 !important; margin-top: 8px !important; padding-top: 0 !important; }
	.roftox-mainbar .wp-block-navigation__submenu-container .roftox-menu-all > .wp-block-navigation-item__content,
	.home .roftox-mainbar .wp-block-navigation:not(.has-modal-open) .wp-block-navigation__submenu-container .roftox-menu-all a {
		display: flex !important; justify-content: center; align-items: center; gap: 8px; background: var(--rx-blue) !important; color: #fff !important;
		border-radius: 12px; padding: 11px 14px !important; font-size: 0.8125rem; font-weight: 700; transition: background-color .15s ease;
	}
	.roftox-mainbar .wp-block-navigation__submenu-container .roftox-menu-all > .wp-block-navigation-item__content:hover,
	.home .roftox-mainbar .wp-block-navigation:not(.has-modal-open) .wp-block-navigation__submenu-container .roftox-menu-all a:hover { background: var(--rx-navy) !important; color: #fff !important; }
	.roftox-mainbar .wp-block-navigation__submenu-container .roftox-menu-all .wp-block-navigation-item__label { color: inherit !important; font-weight: 700; }
}
/* Mobile menu: smaller photos */
.roftox-mainbar .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-link > .wp-block-navigation-item__content { display: flex !important; align-items: center; gap: 12px; }
.roftox-mainbar .is-menu-open .rx-menu-thumb { width: 36px; height: 36px; border-radius: 10px; }
