/*
Theme Name: RUIBOSU Storefront Child
Description: Original Storefront child theme for the RUIBOSU daily lifestyle cap storefront.
Author: RUIBOSU
Template: storefront
Version: 1.8.9.9.33
Requires at least: 6.5
Requires PHP: 8.3
Text Domain: ruibosu
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

:root {
	--ruibosu-ink: #171612;
	--ruibosu-muted: #6d675e;
	--ruibosu-paper: #ffffff;
	--ruibosu-surface: #ffffff;
	--ruibosu-line: #ded7cb;
	--ruibosu-deep-accent: #17283f;
	--ruibosu-warm-accent: #d4c39e;
	--ruibosu-clay: #9d6046;
	--ruibosu-sage: #7b8a70;
	--ruibosu-focus: #1f66d1;
	--ruibosu-footer-background: #171612;
	--ruibosu-button-background: #171612;
	--ruibosu-shadow: 0 18px 45px rgba(23, 22, 18, 0.08);
	--ruibosu-content-max-width: 1180px;
	--ruibosu-page-gutter: 24px;
	--ruibosu-wide-max-width: 1440px;
	--ruibosu-standard-max-width: 1240px;
	--ruibosu-reading-max-width: 720px;
	--ruibosu-wide-gutter: 36px;
}

/* 1.8.9.9.14: shared section width, background, swatch and product-content rules. */
section.ruibosu-section-bg--page {
	--ruibosu-section-background: var(--ruibosu-paper);
}

section.ruibosu-section-bg--surface {
	--ruibosu-section-background: var(--ruibosu-surface);
}

section.ruibosu-section-bg--warm {
	--ruibosu-section-background: #ebe6dc;
}

section.ruibosu-section-bg--dark {
	--ruibosu-section-background: var(--ruibosu-deep-accent);
}

.ruibosu-home section[class*="ruibosu-section-bg--"],
.ruibosu-shop-v2 section[class*="ruibosu-section-bg--"] {
	background: var(--ruibosu-section-background);
}

.ruibosu-home section.ruibosu-section-bg--dark,
.ruibosu-shop-v2 section.ruibosu-section-bg--dark {
	color: var(--ruibosu-surface);
}

.ruibosu-home section.ruibosu-section-bg--dark :is(h1, h2, h3, p),
.ruibosu-shop-v2 section.ruibosu-section-bg--dark :is(h1, h2, h3, p) {
	color: var(--ruibosu-surface);
}

.ruibosu-home section.ruibosu-section-bg--dark .ruibosu-kicker,
.ruibosu-shop-v2 section.ruibosu-section-bg--dark .ruibosu-shop-v2-kicker {
	color: var(--ruibosu-warm-accent);
}

.ruibosu-home section:not(.ruibosu-section-bg--dark) :is(h1, h2, h3),
.ruibosu-shop-v2 section:not(.ruibosu-section-bg--dark) :is(h1, h2, h3) {
	color: var(--ruibosu-ink);
}

.ruibosu-home section:not(.ruibosu-section-bg--dark) :is(.ruibosu-hero__sublead, .ruibosu-lifestyle__content > p),
.ruibosu-shop-v2 section:not(.ruibosu-section-bg--dark) .ruibosu-shop-v2-section-heading p:last-child {
	color: var(--ruibosu-muted);
}

.ruibosu-home section:not(.ruibosu-section-bg--dark) .ruibosu-kicker {
	color: var(--ruibosu-clay);
}

/* 1.8.9.9.16: migrate the unique legacy video into the structured product flow. */
.ruibosu-product-video {
	clear: both;
	width: 100%;
	padding: clamp(56px, 7vw, 96px) 0;
	border-top: 1px solid var(--ruibosu-line);
	background: var(--ruibosu-surface);
}

.ruibosu-product-video__inner {
	width: min(1180px, calc(100% - 48px));
	margin: 0 auto;
}

.ruibosu-product-video__header {
	max-width: 720px;
	margin: 0 0 32px;
}

.ruibosu-product-video__eyebrow {
	margin: 0 0 12px;
	color: var(--ruibosu-clay);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.08em;
}

.ruibosu-product-video__header h2 {
	margin: 0 0 12px;
}

.ruibosu-product-video__header > p:last-child {
	margin: 0;
	color: var(--ruibosu-muted);
}

.ruibosu-product-video__media {
	width: min(540px, 100%);
	margin: 0 auto;
	overflow: hidden;
	border: 1px solid var(--ruibosu-line);
	border-radius: 8px;
	background: var(--ruibosu-ink);
}

.ruibosu-product-video__media video {
	display: block;
	width: 100%;
	height: auto;
	max-height: 760px;
	aspect-ratio: 3 / 4;
	background: var(--ruibosu-ink);
	object-fit: contain;
}

.ruibosu-product-hero-v1.single-product .woocommerce-product-gallery__wrapper.ruibosu-variation-first-slide {
	transform: translate3d(0, 0, 0) !important;
	transition: none !important;
}

@media (max-width: 640px) {
	.ruibosu-product-video__inner {
		width: min(100% - 32px, 1180px);
	}
}

/* 1.8.9.9.24 final authority: product-description controls must win over legacy fallbacks. */
.ruibosu-product-hero-v1.single-product.ruibosu-description-gallery-columns-auto #tab-description :is(.gallery, .wp-block-gallery, .blocks-gallery-grid) {
	grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
}

.ruibosu-product-hero-v1.single-product.ruibosu-description-gallery-columns-auto #tab-description .gallery.gallery-columns-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.ruibosu-product-hero-v1.single-product.ruibosu-description-gallery-columns-auto #tab-description .gallery.gallery-columns-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ruibosu-product-hero-v1.single-product.ruibosu-description-gallery-columns-auto #tab-description .gallery.gallery-columns-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ruibosu-product-hero-v1.single-product.ruibosu-description-gallery-columns-auto #tab-description .gallery.gallery-columns-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ruibosu-product-hero-v1.single-product.ruibosu-description-gallery-columns-auto #tab-description .gallery.gallery-columns-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.ruibosu-product-hero-v1.single-product.ruibosu-description-gallery-columns-auto #tab-description .gallery.gallery-columns-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.ruibosu-product-hero-v1.single-product.ruibosu-description-gallery-columns-auto #tab-description .gallery.gallery-columns-7 { grid-template-columns: repeat(7, minmax(0, 1fr)); }
.ruibosu-product-hero-v1.single-product.ruibosu-description-gallery-columns-auto #tab-description .gallery.gallery-columns-8 { grid-template-columns: repeat(8, minmax(0, 1fr)); }
.ruibosu-product-hero-v1.single-product.ruibosu-description-gallery-columns-auto #tab-description .gallery.gallery-columns-9 { grid-template-columns: repeat(9, minmax(0, 1fr)); }
.ruibosu-product-hero-v1.single-product.ruibosu-description-gallery-columns-2 #tab-description :is(.gallery, .wp-block-gallery, .blocks-gallery-grid) { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
.ruibosu-product-hero-v1.single-product.ruibosu-description-gallery-columns-3 #tab-description :is(.gallery, .wp-block-gallery, .blocks-gallery-grid) { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
.ruibosu-product-hero-v1.single-product.ruibosu-description-gallery-columns-4 #tab-description :is(.gallery, .wp-block-gallery, .blocks-gallery-grid) { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }

.ruibosu-product-hero-v1.single-product #tab-description .wp-playlist.wp-video-playlist {
	width: min(100%, var(--ruibosu-description-video-width)) !important;
	max-width: var(--ruibosu-description-video-width) !important;
}

.ruibosu-product-hero-v1.single-product #tab-description .wp-playlist :is(.mejs-container, .mejs__container) {
	aspect-ratio: var(--ruibosu-description-video-ratio) !important;
}

.ruibosu-product-hero-v1.single-product #tab-description .wp-playlist video {
	width: 100% !important;
	height: 100% !important;
	aspect-ratio: auto !important;
	object-fit: contain !important;
}

/* 1.8.9.9.17: final P2 section hierarchy and boundary consolidation. */
.ruibosu-home > section,
.ruibosu-shop-v2 .site-main > section {
	position: relative;
}

.ruibosu-home > section + section::before,
.ruibosu-shop-v2 .site-main > section + section::before {
	position: absolute;
	top: 0;
	left: 50%;
	width: min(1180px, calc(100% - 48px));
	height: 1px;
	background: var(--ruibosu-line);
	content: '';
	transform: translateX(-50%);
}

.ruibosu-home .ruibosu-hero,
.ruibosu-home .ruibosu-section,
.ruibosu-shop-v2 .ruibosu-shop-v2-hero,
.ruibosu-shop-v2 .ruibosu-shop-v2-featured,
.ruibosu-shop-v2 .ruibosu-shop-v2-benefits,
.ruibosu-shop-v2 .ruibosu-shop-v2-colors,
.ruibosu-shop-v2 .ruibosu-shop-v2-trust {
	border-top: 0;
	border-bottom: 0;
}

.ruibosu-shop-v2 .ruibosu-shop-v2-hero,
.ruibosu-shop-v2 .ruibosu-shop-v2-benefits,
.ruibosu-shop-v2 .ruibosu-shop-v2-trust {
	--ruibosu-section-background: var(--ruibosu-paper);
	background: var(--ruibosu-paper);
}

.ruibosu-shop-v2 .ruibosu-shop-v2-featured,
.ruibosu-shop-v2 .ruibosu-shop-v2-colors {
	--ruibosu-section-background: var(--ruibosu-surface);
	background: var(--ruibosu-surface);
}

.ruibosu-shop-v2 .ruibosu-shop-v2-trust > * {
	background: var(--ruibosu-surface);
}

.ruibosu-product-hero-v1.single-product div.product {
	border-top: 1px solid var(--ruibosu-line);
	padding-top: clamp(24px, 3vw, 40px);
}

.ruibosu-theme .cfvsw-swatches-container,
.ruibosu-product-hero-v1.single-product .flex-control-thumbs {
	-webkit-mask-image: linear-gradient(to right, transparent 0, #000 18px, #000 calc(100% - 18px), transparent 100%);
	mask-image: linear-gradient(to right, transparent 0, #000 18px, #000 calc(100% - 18px), transparent 100%);
}

@media (max-width: 640px) {
	.ruibosu-home > section + section::before,
	.ruibosu-shop-v2 .site-main > section + section::before {
		width: min(100% - 32px, 1180px);
	}
}

/* 1.8.9.9.22: product-description layout and independent video controls. */
.storefront-sticky-add-to-cart {
	display: none !important;
}

.ruibosu-product-hero-v1.single-product #tab-description > :is(p, ul, ol, h2, h3, h4) {
	margin-right: auto;
	margin-left: auto;
}

.ruibosu-description-text-width-720 #tab-description > :is(p, ul, ol, h2, h3, h4) { max-width: 720px; }
.ruibosu-description-text-width-800 #tab-description > :is(p, ul, ol, h2, h3, h4) { max-width: 800px; }
.ruibosu-description-text-width-900 #tab-description > :is(p, ul, ol, h2, h3, h4) { max-width: 900px; }
.ruibosu-description-text-width-full #tab-description > :is(p, ul, ol, h2, h3, h4) { max-width: none; }

.ruibosu-product-hero-v1.single-product #tab-description :is(.gallery, .wp-block-gallery, .blocks-gallery-grid) {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px !important;
	width: 100%;
	max-width: 1180px;
	margin: clamp(28px, 4vw, 48px) auto;
}

.ruibosu-product-hero-v1.single-product #tab-description :is(.gallery, .wp-block-gallery, .blocks-gallery-grid)::before,
.ruibosu-product-hero-v1.single-product #tab-description :is(.gallery, .wp-block-gallery, .blocks-gallery-grid)::after {
	display: none !important;
	content: none !important;
}

.ruibosu-description-gallery-columns-auto #tab-description :is(.gallery, .wp-block-gallery, .blocks-gallery-grid) {
	grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
}
.ruibosu-description-gallery-columns-auto #tab-description .gallery.gallery-columns-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.ruibosu-description-gallery-columns-auto #tab-description .gallery.gallery-columns-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ruibosu-description-gallery-columns-auto #tab-description .gallery.gallery-columns-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ruibosu-description-gallery-columns-auto #tab-description .gallery.gallery-columns-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ruibosu-description-gallery-columns-auto #tab-description .gallery.gallery-columns-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.ruibosu-description-gallery-columns-auto #tab-description .gallery.gallery-columns-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.ruibosu-description-gallery-columns-auto #tab-description .gallery.gallery-columns-7 { grid-template-columns: repeat(7, minmax(0, 1fr)); }
.ruibosu-description-gallery-columns-auto #tab-description .gallery.gallery-columns-8 { grid-template-columns: repeat(8, minmax(0, 1fr)); }
.ruibosu-description-gallery-columns-auto #tab-description .gallery.gallery-columns-9 { grid-template-columns: repeat(9, minmax(0, 1fr)); }
.ruibosu-description-gallery-columns-2 #tab-description :is(.gallery, .wp-block-gallery, .blocks-gallery-grid) { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
.ruibosu-description-gallery-columns-3 #tab-description :is(.gallery, .wp-block-gallery, .blocks-gallery-grid) { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
.ruibosu-description-gallery-columns-4 #tab-description :is(.gallery, .wp-block-gallery, .blocks-gallery-grid) { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }

.ruibosu-description-gallery-gap-compact #tab-description :is(.gallery, .wp-block-gallery, .blocks-gallery-grid) { gap: 8px !important; }
.ruibosu-description-gallery-gap-standard #tab-description :is(.gallery, .wp-block-gallery, .blocks-gallery-grid) { gap: 16px !important; }
.ruibosu-description-gallery-gap-loose #tab-description :is(.gallery, .wp-block-gallery, .blocks-gallery-grid) { gap: 24px !important; }

.ruibosu-product-hero-v1.single-product #tab-description :is(.gallery-item, .wp-block-image, .blocks-gallery-item),
.ruibosu-product-hero-v1.single-product #tab-description :is(.gallery-icon, .wp-block-image, .blocks-gallery-item) {
	width: 100% !important;
	min-width: 0;
	margin: 0 !important;
}

.ruibosu-product-hero-v1.single-product #tab-description :is(.gallery-item, .wp-block-image, .blocks-gallery-item) :is(a, .ruibosu-description-image-link-disabled) {
	display: block;
	width: 100%;
	height: 100%;
}

.ruibosu-product-hero-v1.single-product #tab-description :is(.gallery-item, .wp-block-image, .blocks-gallery-item) img {
	display: block;
	width: 100% !important;
	height: auto;
	max-height: none;
	margin: 0;
	border: 0;
	border-radius: 8px;
	background: #f1eee7;
}

.ruibosu-description-gallery-fit-cover #tab-description :is(.gallery-item, .wp-block-image, .blocks-gallery-item) img { object-fit: cover; }
.ruibosu-description-gallery-fit-contain #tab-description :is(.gallery-item, .wp-block-image, .blocks-gallery-item) img { object-fit: contain; }
.ruibosu-description-gallery-ratio-1-1 #tab-description :is(.gallery-item, .wp-block-image, .blocks-gallery-item) img { aspect-ratio: 1 / 1; }
.ruibosu-description-gallery-ratio-4-5 #tab-description :is(.gallery-item, .wp-block-image, .blocks-gallery-item) img { aspect-ratio: 4 / 5; }
.ruibosu-description-gallery-ratio-4-3 #tab-description :is(.gallery-item, .wp-block-image, .blocks-gallery-item) img { aspect-ratio: 4 / 3; }
.ruibosu-description-gallery-ratio-3-4 #tab-description :is(.gallery-item, .wp-block-image, .blocks-gallery-item) img { aspect-ratio: 3 / 4; }
.ruibosu-description-gallery-ratio-smart #tab-description .gallery.gallery-columns-3 img { aspect-ratio: 4 / 5; }
.ruibosu-description-gallery-ratio-smart #tab-description .gallery:not(.gallery-columns-3) img,
.ruibosu-description-gallery-ratio-smart #tab-description :is(.wp-block-gallery, .blocks-gallery-grid) img { aspect-ratio: 1 / 1; }

.ruibosu-product-hero-v1.single-product #tab-description {
	--ruibosu-description-video-width: 640px;
	--ruibosu-description-video-ratio: 3 / 4;
}
.ruibosu-description-video-width-540 #tab-description { --ruibosu-description-video-width: 540px; }
.ruibosu-description-video-width-640 #tab-description { --ruibosu-description-video-width: 640px; }
.ruibosu-description-video-width-800 #tab-description { --ruibosu-description-video-width: 800px; }
.ruibosu-description-video-width-full #tab-description { --ruibosu-description-video-width: 100%; }
.ruibosu-description-video-ratio-16-9 #tab-description { --ruibosu-description-video-ratio: 16 / 9; }
.ruibosu-description-video-ratio-4-3 #tab-description { --ruibosu-description-video-ratio: 4 / 3; }
.ruibosu-description-video-ratio-1-1 #tab-description { --ruibosu-description-video-ratio: 1 / 1; }
.ruibosu-description-video-ratio-3-4 #tab-description { --ruibosu-description-video-ratio: 3 / 4; }
.ruibosu-description-video-ratio-9-16 #tab-description { --ruibosu-description-video-ratio: 9 / 16; }

.ruibosu-product-hero-v1.single-product #tab-description :is(.wp-playlist.wp-video-playlist, video:not(.mejs__player):not(.mejs-player)) {
	width: min(100%, var(--ruibosu-description-video-width)) !important;
	max-width: var(--ruibosu-description-video-width) !important;
}

.ruibosu-product-hero-v1.single-product #tab-description .wp-playlist.wp-video-playlist {
	box-sizing: border-box;
	margin-top: clamp(28px, 4vw, 48px);
	margin-bottom: clamp(28px, 4vw, 48px);
	overflow: hidden;
}

.ruibosu-description-video-align-left #tab-description :is(.wp-playlist.wp-video-playlist, video:not(.mejs__player):not(.mejs-player)) { margin-right: auto; margin-left: 0; }
.ruibosu-description-video-align-center #tab-description :is(.wp-playlist.wp-video-playlist, video:not(.mejs__player):not(.mejs-player)) { margin-right: auto; margin-left: auto; }
.ruibosu-description-video-align-right #tab-description :is(.wp-playlist.wp-video-playlist, video:not(.mejs__player):not(.mejs-player)) { margin-right: 0; margin-left: auto; }

.ruibosu-product-hero-v1.single-product #tab-description .wp-playlist .mejs-container,
.ruibosu-product-hero-v1.single-product #tab-description .wp-playlist .mejs__container {
	position: relative;
	width: 100% !important;
	height: auto !important;
	max-width: none !important;
	aspect-ratio: var(--ruibosu-description-video-ratio);
	background: var(--ruibosu-ink);
}

.ruibosu-product-hero-v1.single-product #tab-description .wp-playlist :is(.mejs-inner, .mejs__inner) {
	position: absolute;
	inset: 0;
	width: 100% !important;
	height: 100% !important;
}

.ruibosu-product-hero-v1.single-product #tab-description .wp-playlist :is(.mejs-mediaelement, .mejs__mediaelement) {
	width: 100% !important;
	height: 100% !important;
}

.ruibosu-product-hero-v1.single-product #tab-description .wp-playlist video {
	display: block;
	width: 100% !important;
	height: 100% !important;
	max-height: none !important;
	aspect-ratio: auto !important;
	background: var(--ruibosu-ink);
	object-fit: contain;
}

.ruibosu-product-hero-v1.single-product #tab-description .wp-playlist :is(.mejs-controls, .mejs__controls) {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
}

.ruibosu-product-video {
	--ruibosu-daily-video-width: 760px;
	--ruibosu-daily-video-ratio: 3 / 4;
	grid-column: 1 / -1;
}
.ruibosu-product-video--content-compact .ruibosu-product-video__inner { width: min(920px, calc(100% - 48px)); }
.ruibosu-product-video--content-standard .ruibosu-product-video__inner { width: min(1180px, calc(100% - 48px)); }
.ruibosu-product-video--content-wide .ruibosu-product-video__inner { width: min(1320px, calc(100% - 48px)); }
.ruibosu-product-video--content-full .ruibosu-product-video__inner { width: calc(100% - 48px); }
.ruibosu-product-video--width-compact { --ruibosu-daily-video-width: 540px; }
.ruibosu-product-video--width-standard { --ruibosu-daily-video-width: 760px; }
.ruibosu-product-video--width-large { --ruibosu-daily-video-width: 960px; }
.ruibosu-product-video--width-full { --ruibosu-daily-video-width: 100%; }
.ruibosu-product-video--ratio-16-9 { --ruibosu-daily-video-ratio: 16 / 9; }
.ruibosu-product-video--ratio-4-3 { --ruibosu-daily-video-ratio: 4 / 3; }
.ruibosu-product-video--ratio-1-1 { --ruibosu-daily-video-ratio: 1 / 1; }
.ruibosu-product-video--ratio-3-4 { --ruibosu-daily-video-ratio: 3 / 4; }
.ruibosu-product-video--ratio-9-16 { --ruibosu-daily-video-ratio: 9 / 16; }
.ruibosu-product-video--spacing-compact { padding-top: 40px; padding-bottom: 40px; }
.ruibosu-product-video--spacing-standard { padding-top: clamp(56px, 7vw, 88px); padding-bottom: clamp(56px, 7vw, 88px); }
.ruibosu-product-video--spacing-loose { padding-top: clamp(72px, 9vw, 112px); padding-bottom: clamp(72px, 9vw, 112px); }
.ruibosu-product-video .ruibosu-product-video__header { margin-right: auto; margin-left: auto; text-align: center; }
.ruibosu-product-video .ruibosu-product-video__media { width: min(100%, var(--ruibosu-daily-video-width)); }
.ruibosu-product-video--align-left .ruibosu-product-video__media { margin-right: auto; margin-left: 0; }
.ruibosu-product-video--align-center .ruibosu-product-video__media { margin-right: auto; margin-left: auto; }
.ruibosu-product-video--align-right .ruibosu-product-video__media { margin-right: 0; margin-left: auto; }
.ruibosu-product-video .ruibosu-product-video__media video {
	display: block;
	width: 100%;
	height: auto;
	max-height: none;
	aspect-ratio: var(--ruibosu-daily-video-ratio);
	object-fit: contain;
}
.ruibosu-product-video--ratio-original .ruibosu-product-video__media video { aspect-ratio: auto; }
.ruibosu-product-video--direction-video-top .ruibosu-product-video__inner {
	display: flex;
	flex-direction: column;
}
.ruibosu-product-video--direction-video-top .ruibosu-product-video__media { order: 1; margin-bottom: 32px; }
.ruibosu-product-video--direction-video-top .ruibosu-product-video__header { order: 2; margin-bottom: 0; }

@media (min-width: 961px) {
	.ruibosu-product-video--direction-text-video .ruibosu-product-video__inner,
	.ruibosu-product-video--direction-video-text .ruibosu-product-video__inner {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
		align-items: center;
		gap: clamp(36px, 5vw, 72px);
	}
	.ruibosu-product-video--direction-text-video .ruibosu-product-video__header,
	.ruibosu-product-video--direction-video-text .ruibosu-product-video__header { margin: 0; text-align: left; }
	.ruibosu-product-video--direction-video-text .ruibosu-product-video__media { order: 1; }
	.ruibosu-product-video--direction-video-text .ruibosu-product-video__header { order: 2; }
}

/* 1.8.9.9.26 authoritative module controls.
 * A module only receives these inline variables when the unified override is
 * enabled, so existing specialist settings remain backwards compatible. */
[data-ruibosu-module-id][style*="--ruibosu-module-space"] {
	box-sizing: border-box;
	padding-top: var(--ruibosu-module-space-top-desktop) !important;
	padding-right: var(--ruibosu-module-padding-x-desktop) !important;
	padding-bottom: var(--ruibosu-module-space-bottom-desktop) !important;
	padding-left: var(--ruibosu-module-padding-x-desktop) !important;
}

[data-ruibosu-module-id][style*="--ruibosu-module-space"] :is(
	.ruibosu-free-module__items,
	.ruibosu-flexible-insertions,
	.ruibosu-shop-v2-featured__inner,
	.ruibosu-shop-v2-benefits__grid,
	.ruibosu-shop-v2-colors__grid,
	.ruibosu-shop-v2-trust__list,
	.ruibosu-product-proof__media,
	.ruibosu-product-lifestyle__grid,
	.ruibosu-product-care__grid,
	.ruibosu-product-color-system__grid
) {
	gap: var(--ruibosu-module-gap-desktop) !important;
}

@media (max-width: 960px) {
	[data-ruibosu-module-id][style*="--ruibosu-module-space"] {
		padding-top: var(--ruibosu-module-space-top-tablet) !important;
		padding-right: var(--ruibosu-module-padding-x-tablet) !important;
		padding-bottom: var(--ruibosu-module-space-bottom-tablet) !important;
		padding-left: var(--ruibosu-module-padding-x-tablet) !important;
	}

	[data-ruibosu-module-id][style*="--ruibosu-module-space"] :is(
		.ruibosu-free-module__items,
		.ruibosu-flexible-insertions,
		.ruibosu-shop-v2-featured__inner,
		.ruibosu-shop-v2-benefits__grid,
		.ruibosu-shop-v2-colors__grid,
		.ruibosu-shop-v2-trust__list,
		.ruibosu-product-proof__media,
		.ruibosu-product-lifestyle__grid,
		.ruibosu-product-care__grid,
		.ruibosu-product-color-system__grid
	) { gap: var(--ruibosu-module-gap-tablet) !important; }
}

@media (max-width: 640px) {
	[data-ruibosu-module-id][style*="--ruibosu-module-space"] {
		padding-top: var(--ruibosu-module-space-top-mobile) !important;
		padding-right: var(--ruibosu-module-padding-x-mobile) !important;
		padding-bottom: var(--ruibosu-module-space-bottom-mobile) !important;
		padding-left: var(--ruibosu-module-padding-x-mobile) !important;
	}

	[data-ruibosu-module-id][style*="--ruibosu-module-space"] :is(
		.ruibosu-free-module__items,
		.ruibosu-flexible-insertions,
		.ruibosu-shop-v2-featured__inner,
		.ruibosu-shop-v2-benefits__grid,
		.ruibosu-shop-v2-colors__grid,
		.ruibosu-shop-v2-trust__list,
		.ruibosu-product-proof__media,
		.ruibosu-product-lifestyle__grid,
		.ruibosu-product-care__grid,
		.ruibosu-product-color-system__grid
	) { gap: var(--ruibosu-module-gap-mobile) !important; }
}

/* Background selections must beat the historical Shop color lock. */
.ruibosu-theme section.ruibosu-section-bg--page { background: var(--ruibosu-paper) !important; }
.ruibosu-theme section.ruibosu-section-bg--surface { background: var(--ruibosu-surface) !important; }
.ruibosu-theme section.ruibosu-section-bg--warm { background: #ebe6dc !important; }
.ruibosu-theme section.ruibosu-section-bg--dark { background: var(--ruibosu-deep-accent) !important; color: var(--ruibosu-surface) !important; }

/* “Full width” now means the usable viewport, not a 24px inset shell. */
.ruibosu-theme :is(
	.ruibosu-home > section,
	.ruibosu-shop-v2 section,
	.ruibosu-product-proof__block,
	.ruibosu-product-lifestyle,
	.ruibosu-product-care,
	.ruibosu-product-faq,
	.ruibosu-product-color-system,
	.ruibosu-free-module
).ruibosu-layout--content-width-full,
.ruibosu-description-content-width-full .single-product div.product .woocommerce-tabs {
	box-sizing: border-box !important;
	width: var(--ruibosu-viewport-width, 100vw) !important;
	max-width: none !important;
	margin-right: calc(50% - var(--ruibosu-viewport-half-width, 50vw)) !important;
	margin-left: calc(50% - var(--ruibosu-viewport-half-width, 50vw)) !important;
	padding-right: 0 !important;
	padding-left: 0 !important;
}

.ruibosu-theme :is(.ruibosu-home > section, .ruibosu-shop-v2 section, .ruibosu-free-module).ruibosu-layout--content-width-full > .ruibosu-shell,
.ruibosu-theme .ruibosu-product-lifestyle.ruibosu-layout--content-width-full .ruibosu-product-lifestyle__inner,
.ruibosu-theme .ruibosu-product-video--content-full .ruibosu-product-video__inner {
	width: 100% !important;
	max-width: none !important;
	padding-right: 0 !important;
	padding-left: 0 !important;
}

.ruibosu-description-content-width-compact .single-product div.product .woocommerce-tabs { width: min(100%, 920px) !important; margin-inline: auto !important; }
.ruibosu-description-content-width-standard .single-product div.product .woocommerce-tabs { width: min(100%, var(--ruibosu-content-max-width)) !important; margin-inline: auto !important; }
.ruibosu-description-content-width-wide .single-product div.product .woocommerce-tabs { width: min(100%, var(--ruibosu-wide-max-width)) !important; margin-inline: auto !important; }

.ruibosu-theme .ruibosu-module-edge--full,
.ruibosu-theme .ruibosu-module-edge--full > .ruibosu-shell { padding-right: 0 !important; padding-left: 0 !important; }

.ruibosu-theme .ruibosu-module-edge--media :is(figure, picture, video, .ruibosu-product-video__media) {
	width: var(--ruibosu-viewport-width, 100vw) !important;
	max-width: none !important;
	margin-right: calc(50% - var(--ruibosu-viewport-half-width, 50vw)) !important;
	margin-left: calc(50% - var(--ruibosu-viewport-half-width, 50vw)) !important;
}

/* Unified media presets work for built-in modules and freely added content. */
.ruibosu-theme [data-ruibosu-module-id] :is(figure, picture, video) { border-radius: var(--ruibosu-module-media-radius, inherit); }
.ruibosu-theme .ruibosu-module-media-width--compact :is(figure, picture, video, .ruibosu-product-video__media) { width: min(100%, 540px) !important; margin-inline: auto !important; }
.ruibosu-theme .ruibosu-module-media-width--standard :is(figure, picture, video, .ruibosu-product-video__media) { width: min(100%, 760px) !important; margin-inline: auto !important; }
.ruibosu-theme .ruibosu-module-media-width--wide :is(figure, picture, video, .ruibosu-product-video__media) { width: min(100%, 1180px) !important; margin-inline: auto !important; }
.ruibosu-theme .ruibosu-module-media-width--full :is(figure, picture, video, .ruibosu-product-video__media) { width: 100% !important; max-width: none !important; }
.ruibosu-theme .ruibosu-module-media-fit--cover :is(figure, picture) img { width: 100% !important; height: 100% !important; object-fit: cover !important; }
.ruibosu-theme .ruibosu-module-media-fit--contain :is(figure, picture) img { width: 100% !important; height: 100% !important; object-fit: contain !important; }
.ruibosu-theme .ruibosu-module-media-fit--natural :is(figure, picture) img { width: auto !important; max-width: 100% !important; height: auto !important; object-fit: unset !important; }
.ruibosu-theme .ruibosu-module-media-ratio--1-1 :is(figure, picture, video) { aspect-ratio: 1 / 1 !important; }
.ruibosu-theme .ruibosu-module-media-ratio--4-5 :is(figure, picture, video) { aspect-ratio: 4 / 5 !important; }
.ruibosu-theme .ruibosu-module-media-ratio--4-3 :is(figure, picture, video) { aspect-ratio: 4 / 3 !important; }
.ruibosu-theme .ruibosu-module-media-ratio--16-9 :is(figure, picture, video) { aspect-ratio: 16 / 9 !important; }
.ruibosu-theme .ruibosu-module-media-position--top :is(img, video) { object-position: center top !important; }
.ruibosu-theme .ruibosu-module-media-position--bottom :is(img, video) { object-position: center bottom !important; }
.ruibosu-theme .ruibosu-module-media-position--left :is(img, video) { object-position: left center !important; }
.ruibosu-theme .ruibosu-module-media-position--right :is(img, video) { object-position: right center !important; }
.ruibosu-theme .ruibosu-module-media-position--center :is(img, video) { object-position: center !important; }

/* Consistent, optional card treatments for Shop 03/04 and every other module. */
.ruibosu-theme .ruibosu-module-card--full :is(article, .ruibosu-product-care__panel, .ruibosu-product-faq details),
.ruibosu-theme .ruibosu-module-card--soft :is(article, .ruibosu-product-care__panel, .ruibosu-product-faq details) {
	box-sizing: border-box;
	padding: clamp(18px, 2.2vw, 28px);
	border: 1px solid var(--ruibosu-line, rgba(23, 22, 18, .14));
	border-radius: 8px;
	background: var(--ruibosu-surface, #fff);
}
.ruibosu-theme .ruibosu-module-card--soft :is(article, .ruibosu-product-care__panel, .ruibosu-product-faq details) { box-shadow: 0 14px 34px rgba(23, 22, 18, .08); }
.ruibosu-theme .ruibosu-module-card--media :is(article, .ruibosu-product-care__panel, .ruibosu-product-faq details) { padding: 0; border: 0; background: transparent; box-shadow: none; }
.ruibosu-theme .ruibosu-module-card--media :is(figure, picture, video) { border: 1px solid var(--ruibosu-line, rgba(23, 22, 18, .14)); border-radius: 8px; overflow: hidden; }

.ruibosu-free-item {
	margin-top: var(--ruibosu-free-margin-top, 0);
	margin-bottom: var(--ruibosu-free-margin-bottom, 0);
	padding: var(--ruibosu-free-padding, 0);
}
.ruibosu-free-item--width-25 { --ruibosu-free-width: 25%; }
.ruibosu-free-item--width-33 { --ruibosu-free-width: 33.333%; }
.ruibosu-free-item--width-66 { --ruibosu-free-width: 66.667%; }
.ruibosu-free-item--width-75 { --ruibosu-free-width: 75%; }
.ruibosu-free-item__media,
.ruibosu-free-item__video { overflow: hidden; border-radius: var(--ruibosu-free-radius, 0); }
.ruibosu-free-item__media img,
.ruibosu-free-item__video { display: block; width: 100%; max-width: none; }
.ruibosu-free-item--media-bleed { width: 100vw; max-width: none; margin-right: calc(50% - 50vw); margin-left: calc(50% - 50vw); padding: 0; }

@media (max-width: 782px) {
	.ruibosu-free-item--tablet-33 { --ruibosu-free-width: 33.333%; }
	.ruibosu-free-item--tablet-50 { --ruibosu-free-width: 50%; }
	.ruibosu-free-item--tablet-66 { --ruibosu-free-width: 66.667%; }
	.ruibosu-free-item--tablet-100 { --ruibosu-free-width: 100%; }
	.ruibosu-free-item__gallery { grid-template-columns: repeat(var(--ruibosu-free-gallery-tablet-columns, 2), minmax(0, 1fr)); }
}

@media (max-width: 599px) {
	.ruibosu-free-item--mobile-50 { --ruibosu-free-width: 50%; }
	.ruibosu-free-item--mobile-100 { --ruibosu-free-width: 100%; }
	.ruibosu-free-item__gallery { grid-template-columns: repeat(var(--ruibosu-free-gallery-mobile-columns, 1), minmax(0, 1fr)); }
}

/* Keep description media complete and responsive; editor content itself is untouched. */
.single-product #tab-description :is(img, video, iframe) { max-width: 100% !important; }
.single-product #tab-description video { display: block; height: auto; background: #000; }
.single-product #tab-description :is(.gallery, .wp-block-gallery) img { width: 100%; image-rendering: auto; }

@media (max-width: 640px) {
	.ruibosu-product-hero-v1.single-product #tab-description :is(.gallery, .wp-block-gallery, .blocks-gallery-grid) {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 10px !important;
	}
	.ruibosu-description-gallery-mobile-columns-1 #tab-description :is(.gallery, .wp-block-gallery, .blocks-gallery-grid) {
		grid-template-columns: 1fr !important;
	}
	.ruibosu-product-hero-v1.single-product #tab-description .wp-playlist.wp-video-playlist {
		width: 100% !important;
		max-width: 100% !important;
	}
	.ruibosu-product-video__inner,
	.ruibosu-product-video--content-compact .ruibosu-product-video__inner,
	.ruibosu-product-video--content-standard .ruibosu-product-video__inner,
	.ruibosu-product-video--content-wide .ruibosu-product-video__inner,
	.ruibosu-product-video--content-full .ruibosu-product-video__inner {
		width: min(100% - 32px, 1180px);
	}
}

.ruibosu-home .ruibosu-shell,
.ruibosu-shop-v2 .ruibosu-shop-v2-hero,
.ruibosu-shop-v2 .ruibosu-shop-v2-featured,
.ruibosu-shop-v2 .ruibosu-shop-v2-benefits,
.ruibosu-shop-v2 .ruibosu-shop-v2-colors,
.ruibosu-shop-v2 .ruibosu-shop-v2-trust {
	width: min(100%, var(--ruibosu-content-max-width));
	max-width: var(--ruibosu-content-max-width);
	margin-right: auto;
	margin-left: auto;
	padding-right: var(--ruibosu-page-gutter);
	padding-left: var(--ruibosu-page-gutter);
	box-sizing: border-box;
}

.ruibosu-shop-v2 section[class*="ruibosu-section-bg--"] {
	box-shadow: 0 0 0 100vmax var(--ruibosu-section-background);
	clip-path: inset(0 -100vmax);
}

.ruibosu-shop-v2 .ruibosu-shop-v2-hero {
	border-top: 1px solid var(--ruibosu-line);
}

.ruibosu-shop-v2 .ruibosu-shop-v2-featured__inner {
	width: 100%;
	max-width: none;
}

.ruibosu-shop-v2 .cfvsw_variations_form,
.ruibosu-shop-v2 .cfvsw-shop-variations,
.ruibosu-shop-v2 .cfvsw-shop-variations tbody,
.ruibosu-shop-v2 .cfvsw-shop-variations tr,
.ruibosu-shop-v2 .cfvsw-shop-variations td.value {
	display: block;
	width: 100%;
	max-width: 100%;
}

.ruibosu-shop-v2 .cfvsw_variations_form {
	grid-column: 1 / -1;
	min-width: 0;
	overflow: hidden;
}

.ruibosu-theme .cfvsw-swatches-container {
	display: flex !important;
	flex-wrap: wrap !important;
	gap: 8px;
	align-items: flex-start;
	justify-content: flex-start;
	width: 100%;
	max-width: 100%;
	padding: 2px 2px 8px;
	overflow: visible;
}

.ruibosu-theme .cfvsw-swatches-container .cfvsw-swatches-option {
	flex: 0 0 48px;
	margin: 0 !important;
	scroll-snap-align: start;
}

/* P1: keep variation swatches visible and make their viewport truly bounded. */
.ruibosu-theme .cfvsw-swatches-container {
	min-width: 0 !important;
	box-sizing: border-box;
	touch-action: manipulation;
	cursor: default;
}

.ruibosu-theme .cfvsw-swatches-container.is-dragging {
	cursor: default;
	user-select: none;
}

.ruibosu-theme .cfvsw-swatches-container .cfvsw-swatches-option {
	display: flex !important;
	flex: 0 0 48px !important;
	width: 48px !important;
	height: 48px !important;
	min-width: 48px !important;
	min-height: 48px !important;
	padding: 2px !important;
	box-sizing: border-box;
}

.ruibosu-theme .cfvsw-swatches-container .cfvsw-swatch-inner {
	display: block !important;
	flex: 1 1 auto;
	width: 100% !important;
	height: 100% !important;
	min-width: 0 !important;
	min-height: 0 !important;
	border-radius: inherit;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}

.ruibosu-product-hero-v1.single-product div.product form.variations_form,
.ruibosu-product-hero-v1.single-product div.product form.variations_form .variations,
.ruibosu-product-hero-v1.single-product div.product form.variations_form .variations tbody,
.ruibosu-product-hero-v1.single-product div.product form.variations_form .variations tr,
.ruibosu-product-hero-v1.single-product div.product form.variations_form .variations td.value,
.ruibosu-product-hero-v1.single-product div.product form.variations_form .cfvsw_variations_form {
	min-width: 0 !important;
	max-width: 100% !important;
}

.ruibosu-product-hero-v1.single-product div.product form.variations_form .variations,
.ruibosu-product-hero-v1.single-product div.product form.variations_form .variations tbody,
.ruibosu-product-hero-v1.single-product div.product form.variations_form .variations tr,
.ruibosu-product-hero-v1.single-product div.product form.variations_form .variations td.value,
.ruibosu-product-hero-v1.single-product div.product form.variations_form .cfvsw_variations_form,
.ruibosu-product-hero-v1.single-product div.product form.variations_form .cfvsw-shop-variations {
	width: 100% !important;
}

.ruibosu-product-hero-v1.single-product div.product form.variations_form .cfvsw-swatches-container {
	width: 100% !important;
	max-width: 100% !important;
}

@media (min-width: 961px) {
	.ruibosu-product-hero-v1.single-product div.product {
		align-items: start;
	}

	.ruibosu-product-hero-v1.single-product div.product .summary {
		position: static;
		top: auto;
		align-self: start;
		height: auto;
	}
}

.ruibosu-product-hero-v1.single-product div.product .woocommerce-tabs {
	display: block;
	clear: both;
	width: 100%;
	max-width: none;
	margin: 0 0 64px;
}

.ruibosu-product-hero-v1.single-product div.product .woocommerce-tabs ul.tabs {
	float: none;
	display: flex;
	flex-wrap: nowrap;
	gap: 8px;
	width: 100%;
	max-width: 100%;
	margin: 0 0 28px;
	padding: 0 0 12px;
	border-bottom: 1px solid var(--ruibosu-line);
	overflow-x: auto;
}

.ruibosu-product-hero-v1.single-product div.product .woocommerce-tabs ul.tabs li {
	flex: 0 0 auto;
	margin: 0;
	padding: 0;
	border: 0;
}

.ruibosu-product-hero-v1.single-product div.product .woocommerce-tabs ul.tabs li::after {
	display: none;
}

.ruibosu-product-hero-v1.single-product div.product .woocommerce-tabs ul.tabs li a {
	display: inline-flex;
	align-items: center;
	min-height: 42px;
	padding: 0 16px;
	border: 1px solid var(--ruibosu-line);
	border-radius: 4px;
	background: var(--ruibosu-surface);
}

.ruibosu-product-hero-v1.single-product div.product .woocommerce-tabs ul.tabs li.active a {
	border-color: var(--ruibosu-ink);
	background: var(--ruibosu-ink);
	color: var(--ruibosu-surface);
}

.ruibosu-product-hero-v1.single-product div.product .woocommerce-tabs .panel {
	float: none;
	width: 100%;
	max-width: none;
	margin: 0;
}

.ruibosu-product-hero-v1.single-product .woocommerce-Tabs-panel > :is(p, ul, ol, h2, h3, h4):not(.wp-block-gallery) {
	max-width: var(--ruibosu-reading-max-width);
}

.ruibosu-product-hero-v1.single-product .woocommerce-Tabs-panel :is(.wp-block-gallery, .blocks-gallery-grid) {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
	gap: 16px;
	width: 100%;
	max-width: none;
}

.ruibosu-product-hero-v1.single-product .woocommerce-Tabs-panel :is(.wp-block-image, .blocks-gallery-item) {
	min-width: 0;
	margin: 0 0 16px;
}

.ruibosu-product-hero-v1.single-product .woocommerce-Tabs-panel :is(.wp-block-image, .blocks-gallery-item) img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 760px;
	margin: 0;
	border-radius: 8px;
	background: #f1eee7;
	object-fit: contain;
}

.ruibosu-product-hero-v1.single-product .woocommerce-Tabs-panel video {
	display: block;
	width: 100%;
	max-width: 100%;
	aspect-ratio: 16 / 9;
	border-radius: 8px;
	background: var(--ruibosu-ink);
	object-fit: contain;
}

/* P1 fallback: constrain classic editor galleries and playlist wrappers too. */
.ruibosu-product-hero-v1.single-product .woocommerce-Tabs-panel .gallery {
	display: grid;
	gap: 16px;
	width: 100%;
	max-width: 100%;
	margin: 24px 0;
}

.ruibosu-product-hero-v1.single-product .woocommerce-Tabs-panel .gallery.gallery-columns-3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ruibosu-product-hero-v1.single-product .woocommerce-Tabs-panel .gallery-item {
	width: auto;
	margin: 0;
	min-width: 0;
}

.ruibosu-product-hero-v1.single-product .woocommerce-Tabs-panel .gallery-item img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 560px;
	object-fit: contain;
}

.ruibosu-product-hero-v1.single-product .woocommerce-Tabs-panel .wp-playlist,
.ruibosu-product-hero-v1.single-product .woocommerce-Tabs-panel .mejs-container,
.ruibosu-product-hero-v1.single-product .woocommerce-Tabs-panel .mejs-mediaelement,
.ruibosu-product-hero-v1.single-product .woocommerce-Tabs-panel .mejs-inner {
	width: 100% !important;
	max-width: 100% !important;
}

.ruibosu-product-hero-v1.single-product .woocommerce-Tabs-panel .wp-playlist {
	margin: 24px 0;
	overflow: hidden;
}

.ruibosu-product-hero-v1.single-product .woocommerce-Tabs-panel .wp-playlist video,
.ruibosu-product-hero-v1.single-product .woocommerce-Tabs-panel .wp-playlist .mejs-mediaelement video {
	width: 100% !important;
	height: auto !important;
	max-height: none;
	aspect-ratio: 16 / 9;
}

.ruibosu-product-hero-v1.single-product .ruibosu-product-lifestyle {
	background: var(--ruibosu-paper);
}

@media (max-width: 640px) {
	.ruibosu-home .ruibosu-shell,
	.ruibosu-shop-v2 .ruibosu-shop-v2-hero,
	.ruibosu-shop-v2 .ruibosu-shop-v2-featured,
	.ruibosu-shop-v2 .ruibosu-shop-v2-benefits,
	.ruibosu-shop-v2 .ruibosu-shop-v2-colors,
	.ruibosu-shop-v2 .ruibosu-shop-v2-trust {
		padding-right: 18px;
		padding-left: 18px;
	}
}

.ruibosu-theme {
	background: var(--ruibosu-paper);
	color: var(--ruibosu-ink);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans SC", "Microsoft YaHei", sans-serif;
	letter-spacing: 0;
}

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

.ruibosu-theme a {
	color: inherit;
	text-decoration: none;
}

.ruibosu-theme a:hover {
	color: var(--ruibosu-clay);
}

.ruibosu-theme a:focus-visible,
.ruibosu-theme button:focus-visible,
.ruibosu-theme input:focus-visible {
	outline: 2px solid var(--ruibosu-focus);
	outline-offset: 3px;
}

.ruibosu-theme button,
.ruibosu-theme input {
	font: inherit;
	letter-spacing: 0;
}

.ruibosu-theme button {
	cursor: pointer;
}

.ruibosu-theme [hidden] {
	display: none !important;
}

body.ruibosu-nav-open {
	overflow: hidden;
}

.ruibosu-page-no-sidebar .content-area {
	float: none;
	width: 100%;
	margin-right: 0;
}

.ruibosu-page-no-sidebar .widget-area {
	display: none;
}

.ruibosu-shell {
	width: min(100%, var(--ruibosu-content-max-width));
	margin: 0 auto;
	padding: 0 var(--ruibosu-page-gutter);
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.screen-reader-text:focus {
	z-index: 99999;
	top: 12px;
	left: 12px;
	width: auto;
	height: auto;
	padding: 10px 14px;
	clip: auto;
	background: var(--ruibosu-ink);
	color: var(--ruibosu-surface);
	border-radius: 4px;
	box-shadow: var(--ruibosu-shadow);
}

.ruibosu-announcement {
	background: var(--ruibosu-ink);
	color: var(--ruibosu-surface);
	font-size: 0.9rem;
}

.ruibosu-announcement p {
	margin: 0;
	padding: 10px 0;
	text-align: center;
}

.site-header {
	padding: 0;
	border-bottom: 1px solid var(--ruibosu-line);
	background: rgba(255, 253, 248, 0.96);
	color: var(--ruibosu-ink);
}

.site-header::before,
.site-header::after {
	display: none;
}

.ruibosu-header {
	position: relative;
	z-index: 20;
}

.ruibosu-header__inner {
	display: grid;
	grid-template-columns: auto 1fr auto;
	gap: 28px;
	align-items: center;
	justify-items: start;
	min-height: 78px;
}

.ruibosu-brand {
	display: inline-flex;
	align-items: center;
	gap: var(--ruibosu-brand-gap, 10px);
	min-width: 0;
	font-weight: 750;
	line-height: 1;
}

.ruibosu-brand__element {
	display: inline-flex;
	align-items: center;
	min-width: 0;
	color: inherit;
}

.ruibosu-brand--order-image-text {
	flex-direction: row;
}

.ruibosu-brand--order-text-image {
	flex-direction: row-reverse;
}

.ruibosu-brand--gap-compact {
	--ruibosu-brand-gap: 7px;
}

.ruibosu-brand--gap-standard {
	--ruibosu-brand-gap: 10px;
}

.ruibosu-brand--gap-wide {
	--ruibosu-brand-gap: 14px;
}

.ruibosu-brand__mark {
	display: grid;
	place-items: center;
	width: var(--ruibosu-brand-mark-size, 38px);
	height: var(--ruibosu-brand-mark-size, 38px);
	border-radius: 50%;
	background: var(--ruibosu-ink);
	color: var(--ruibosu-surface);
	font-size: 1.05rem;
	flex: 0 0 auto;
}

.ruibosu-brand__name {
	font-size: 1.08rem;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.ruibosu-brand__logo {
	display: block;
	max-width: var(--ruibosu-brand-logo-max-width, 154px);
	max-height: var(--ruibosu-brand-logo-max-height, 46px);
	width: auto;
	height: auto;
	flex: 0 0 auto;
}

.ruibosu-brand--size-small {
	--ruibosu-brand-mark-size: 32px;
	--ruibosu-brand-logo-max-width: 124px;
	--ruibosu-brand-logo-max-height: 38px;
}

.ruibosu-brand--size-standard {
	--ruibosu-brand-mark-size: 38px;
	--ruibosu-brand-logo-max-width: 154px;
	--ruibosu-brand-logo-max-height: 46px;
}

.ruibosu-brand--size-large {
	--ruibosu-brand-mark-size: 44px;
	--ruibosu-brand-logo-max-width: 184px;
	--ruibosu-brand-logo-max-height: 54px;
}

.ruibosu-desktop-nav {
	justify-self: center;
}

.ruibosu-nav__menu,
.ruibosu-mobile-nav__menu,
.ruibosu-footer__menu {
	list-style: none;
	margin: 0;
	padding: 0;
}

.ruibosu-nav__menu {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 22px;
	align-items: center;
	justify-content: center;
}

.ruibosu-nav__menu li {
	position: relative;
	margin: 0;
}

.ruibosu-nav__menu a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	font-size: 0.96rem;
	font-weight: 600;
	color: var(--ruibosu-ink);
}

.ruibosu-nav__menu .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 210px;
	padding: 8px;
	border: 1px solid var(--ruibosu-line);
	border-radius: 8px;
	background: var(--ruibosu-surface);
	box-shadow: var(--ruibosu-shadow);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.ruibosu-nav__menu li:hover > .sub-menu,
.ruibosu-nav__menu li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.ruibosu-nav__menu .sub-menu a {
	display: flex;
	min-height: 38px;
	padding: 0 10px;
}

.ruibosu-header__actions {
	display: inline-flex;
	justify-content: flex-end;
	align-items: center;
	gap: 8px;
}

.ruibosu-icon-button {
	position: relative;
	display: inline-grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border: 1px solid transparent;
	border-radius: 50%;
	background: transparent;
	color: var(--ruibosu-ink);
}

.ruibosu-icon-button:hover {
	border-color: var(--ruibosu-line);
	background: var(--ruibosu-paper);
	color: var(--ruibosu-clay);
}

.ruibosu-icon {
	display: block;
	width: 22px;
	height: 22px;
}

.ruibosu-menu-toggle {
	display: none;
}

.ruibosu-menu-toggle__close {
	display: none;
}

.ruibosu-menu-toggle[aria-expanded="true"] .ruibosu-menu-toggle__open {
	display: none;
}

.ruibosu-menu-toggle[aria-expanded="true"] .ruibosu-menu-toggle__close {
	display: block;
}

.ruibosu-cart-count {
	position: absolute;
	top: 3px;
	right: 0;
	display: grid;
	place-items: center;
	min-width: 19px;
	height: 19px;
	padding: 0 5px;
	border-radius: 999px;
	background: var(--ruibosu-clay);
	color: var(--ruibosu-surface);
	font-size: 0.72rem;
	font-weight: 750;
	line-height: 1;
}

.ruibosu-search-panel {
	border-top: 1px solid var(--ruibosu-line);
	background: var(--ruibosu-surface);
	padding: 18px 0;
}

.ruibosu-search-form {
	display: grid;
	grid-template-columns: 1fr 48px;
	gap: 10px;
	width: min(100%, 720px);
	margin: 0 auto;
}

.ruibosu-search-form__field {
	width: 100%;
	min-height: 48px;
	border: 1px solid var(--ruibosu-line);
	border-radius: 4px;
	background: #ffffff;
	color: var(--ruibosu-ink);
	padding: 0 14px;
}

.ruibosu-search-form__submit {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border: 1px solid var(--ruibosu-ink);
	border-radius: 4px;
	background: var(--ruibosu-ink);
	color: var(--ruibosu-surface);
}

.ruibosu-mobile-nav {
	border-top: 1px solid var(--ruibosu-line);
	background: rgba(23, 22, 18, 0.28);
	overflow-y: auto;
	overscroll-behavior: contain;
}

.ruibosu-mobile-nav__drawer {
	min-height: 100%;
	background: var(--ruibosu-ink);
	color: var(--ruibosu-surface);
}

.ruibosu-mobile-nav__menu {
	display: block;
	padding: 12px 0 18px;
	visibility: visible;
	opacity: 1;
	transform: none;
}

.ruibosu-mobile-nav__menu li {
	display: block;
	visibility: visible;
}

.ruibosu-mobile-nav__menu a {
	display: flex;
	align-items: center;
	min-height: 48px;
	border-bottom: 1px solid rgba(255, 253, 248, 0.2);
	color: var(--ruibosu-surface) !important;
	font-size: 1rem;
	font-weight: 650;
	visibility: visible;
	opacity: 1;
}

.ruibosu-mobile-nav__menu a:hover,
.ruibosu-mobile-nav__menu a:active,
.ruibosu-mobile-nav__menu .current-menu-item > a,
.ruibosu-mobile-nav__menu .current_page_item > a {
	color: var(--ruibosu-warm-accent);
}

.ruibosu-mobile-nav__menu a:focus-visible {
	outline-color: var(--ruibosu-warm-accent);
	background: rgba(255, 253, 248, 0.08);
}

.ruibosu-mobile-nav__menu .sub-menu {
	margin: 0 0 8px 16px;
	padding: 0;
	list-style: none;
}

.ruibosu-homepage .site-content > .col-full {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
}

.ruibosu-home {
	margin: 0;
	background: var(--ruibosu-paper);
}

.ruibosu-section {
	padding: 76px 0;
}

.ruibosu-kicker {
	margin: 0 0 14px;
	color: var(--ruibosu-clay);
	font-size: 0.82rem;
	font-weight: 750;
	line-height: 1.4;
	text-transform: uppercase;
}

.ruibosu-hero {
	background:
		linear-gradient(90deg, rgba(247, 244, 238, 0.98), rgba(247, 244, 238, 0.86)),
		linear-gradient(135deg, #f7f4ee 0%, #e7dfd1 48%, #f7f4ee 100%);
	border-bottom: 1px solid var(--ruibosu-line);
}

.ruibosu-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 0.94fr) minmax(360px, 1.06fr);
	gap: 54px;
	align-items: center;
	min-height: 560px;
	padding-top: 44px;
	padding-bottom: 44px;
}

.ruibosu-hero h1 {
	margin: 0 0 18px;
	color: var(--ruibosu-ink);
	font-size: 4rem;
	font-weight: 780;
	line-height: 0.98;
	letter-spacing: 0;
}

.ruibosu-hero__content {
	max-width: 560px;
}

.ruibosu-hero__product {
	margin: 0 0 8px;
	color: var(--ruibosu-ink);
	font-size: 1.18rem;
	font-weight: 760;
	line-height: 1.35;
}

.ruibosu-hero__lead {
	max-width: 540px;
	margin: 0 0 14px;
	color: var(--ruibosu-ink);
	font-size: 1.55rem;
	font-weight: 650;
	line-height: 1.35;
}

.ruibosu-hero__price {
	margin: 0 0 28px;
	color: var(--ruibosu-ink);
	font-size: 1.48rem;
	font-weight: 780;
	line-height: 1.2;
}

.ruibosu-hero__colors {
	display: block;
	margin: 12px 0 0;
	color: var(--ruibosu-muted);
	font-size: 0.94rem;
	font-weight: 650;
	line-height: 1.45;
}

.ruibosu-hero__sublead {
	max-width: 500px;
	margin: 0 0 28px;
	color: var(--ruibosu-muted);
	font-size: 1.08rem;
	line-height: 1.7;
}

.ruibosu-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	min-height: 48px;
	padding: 0 22px;
	border: 1px solid var(--ruibosu-ink);
	border-radius: 4px;
	font-size: 0.98rem;
	font-weight: 720;
	line-height: 1;
	overflow: visible;
	text-indent: 0;
	white-space: nowrap;
}

.ruibosu-button--primary {
	background: var(--ruibosu-button-background);
	border-color: var(--ruibosu-button-background);
	color: var(--ruibosu-surface) !important;
	opacity: 1;
}

.ruibosu-button--primary span {
	color: var(--ruibosu-surface);
	font-size: inherit;
	opacity: 1;
	overflow: visible;
	text-indent: 0;
}

.ruibosu-button--primary:hover {
	background: var(--ruibosu-clay);
	border-color: var(--ruibosu-clay);
	color: var(--ruibosu-surface) !important;
}

.ruibosu-button--secondary {
	background: transparent;
	color: var(--ruibosu-ink);
}

.ruibosu-button--secondary:hover {
	background: var(--ruibosu-ink);
	color: var(--ruibosu-surface);
}

.ruibosu-icon--arrow {
	width: 18px;
	height: 18px;
}

.ruibosu-hero__visual {
	display: grid;
	place-items: center;
	min-height: 440px;
	border: 1px solid var(--ruibosu-line);
	border-radius: 8px;
	background:
		linear-gradient(180deg, rgba(255, 253, 248, 0.76), rgba(212, 195, 158, 0.26)),
		var(--ruibosu-surface);
	box-shadow: var(--ruibosu-shadow);
	overflow: hidden;
}

.ruibosu-hero__image,
.ruibosu-lifestyle__image {
	display: block;
	width: 100%;
	height: 100%;
	min-height: inherit;
	object-fit: cover;
}

.ruibosu-cap-visual {
	position: relative;
	width: min(68%, 390px);
	height: 250px;
}

.ruibosu-cap-visual__crown {
	position: absolute;
	left: 10%;
	top: 12px;
	width: 68%;
	height: 150px;
	border-radius: 120px 120px 42px 42px;
	background: var(--ruibosu-deep-accent);
	box-shadow: inset -18px -20px 0 rgba(0, 0, 0, 0.14);
}

.ruibosu-cap-visual__panel {
	position: absolute;
	top: 38px;
	width: 2px;
	height: 115px;
	background: rgba(255, 253, 248, 0.28);
}

.ruibosu-cap-visual__panel--left {
	left: 34%;
	transform: rotate(-9deg);
}

.ruibosu-cap-visual__panel--right {
	left: 55%;
	transform: rotate(9deg);
}

.ruibosu-cap-visual__brim {
	position: absolute;
	right: 2%;
	bottom: 38px;
	width: 58%;
	height: 68px;
	border-radius: 8px 80px 80px 16px;
	background: var(--ruibosu-warm-accent);
	transform: rotate(5deg);
	box-shadow: inset -12px -10px 0 rgba(23, 22, 18, 0.09);
}

.ruibosu-cap-visual__stitch {
	position: absolute;
	left: 20%;
	width: 42%;
	height: 1px;
	background: rgba(255, 253, 248, 0.35);
}

.ruibosu-cap-visual__stitch--one {
	top: 64px;
}

.ruibosu-cap-visual__stitch--two {
	top: 96px;
}

.ruibosu-featured-product {
	background: var(--ruibosu-surface);
}

.ruibosu-featured-product__grid {
	display: grid;
	grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
	gap: 48px;
	align-items: center;
}

.ruibosu-featured-product__content {
	width: 100%;
	max-width: none;
	min-width: 0;
}

.ruibosu-featured-product__media {
	display: grid;
	place-items: center;
	min-height: 440px;
	border: 1px solid var(--ruibosu-line);
	border-radius: 8px;
	background: #f1eee7;
	overflow: hidden;
}

.ruibosu-featured-product__image {
	display: block;
	width: 100%;
	height: 100%;
	max-height: 520px;
	object-fit: contain;
	padding: 24px;
}

.ruibosu-product-placeholder {
	display: grid;
	place-items: center;
	width: 100%;
	min-height: 440px;
}

.ruibosu-product-placeholder__shape {
	width: min(62%, 320px);
	aspect-ratio: 1.15;
	border: 2px solid var(--ruibosu-line);
	border-radius: 8px;
	background:
		linear-gradient(135deg, transparent 49%, rgba(23, 22, 18, 0.12) 50%, transparent 51%),
		linear-gradient(45deg, transparent 49%, rgba(23, 22, 18, 0.12) 50%, transparent 51%),
		var(--ruibosu-surface);
}

.ruibosu-featured-product h2,
.ruibosu-section-heading h2,
.ruibosu-lifestyle h2,
.ruibosu-construction h2,
.ruibosu-care h2 {
	margin: 0;
	color: var(--ruibosu-ink);
	font-size: 2.15rem;
	font-weight: 750;
	line-height: 1.16;
	letter-spacing: 0;
}

.ruibosu-featured-product__price {
	margin: 18px 0 8px;
	color: var(--ruibosu-ink);
	font-size: 1.45rem;
	font-weight: 750;
}

.ruibosu-featured-product__price del {
	color: var(--ruibosu-muted);
	font-size: 1rem;
}

.ruibosu-featured-product__stock {
	min-height: 28px;
	margin-bottom: 18px;
	color: var(--ruibosu-muted);
}

.ruibosu-featured-product__stock .stock {
	margin: 0;
}

.ruibosu-featured-product__empty {
	margin: 18px 0;
	color: var(--ruibosu-muted);
}

.ruibosu-featured-product__reasons {
	display: grid;
	gap: 10px;
	margin: 18px 0 24px;
	padding: 0;
	list-style: none;
}

.ruibosu-featured-product__reasons li {
	position: relative;
	margin: 0;
	padding-left: 24px;
	color: var(--ruibosu-ink);
	font-size: 1rem;
	font-weight: 650;
	line-height: 1.5;
}

.ruibosu-featured-product__reasons li::before {
	content: "✓";
	position: absolute;
	left: 0;
	top: 0;
	color: var(--ruibosu-sage);
	font-weight: 780;
}

.ruibosu-benefits {
	background: var(--ruibosu-paper);
}

.ruibosu-section-heading {
	max-width: 620px;
	margin-bottom: 32px;
}

.ruibosu-benefits__grid {
	display: grid;
	grid-template-columns: repeat(var(--ruibosu-grid-items, 3), minmax(0, 1fr));
	gap: 18px;
}

.ruibosu-benefit-card {
	min-height: 236px;
	padding: 26px;
	border: 1px solid var(--ruibosu-line);
	border-radius: 8px;
	background: var(--ruibosu-surface);
	box-shadow: 0 10px 24px rgba(23, 22, 18, 0.05);
}

.ruibosu-benefit-card__media {
	margin: -4px 0 18px;
	overflow: hidden;
	border-radius: 6px;
	background: #f1eee7;
}

.ruibosu-benefit-card__image {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.ruibosu-benefit-card__number {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 28px;
	margin-bottom: 32px;
	border: 1px solid var(--ruibosu-line);
	border-radius: 4px;
	color: var(--ruibosu-sage);
	font-size: 0.8rem;
	font-weight: 750;
}

.ruibosu-benefit-card h3,
.ruibosu-detail-list__item h3,
.ruibosu-care__columns h3 {
	margin: 0 0 10px;
	color: var(--ruibosu-ink);
	font-size: 1.08rem;
	font-weight: 740;
	line-height: 1.35;
}

.ruibosu-benefit-card p,
.ruibosu-lifestyle p,
.ruibosu-detail-list__item p,
.ruibosu-care__columns p,
.ruibosu-footer p {
	color: var(--ruibosu-muted);
	font-size: 1rem;
	line-height: 1.75;
}

.ruibosu-benefit-card p,
.ruibosu-detail-list__item p,
.ruibosu-care__columns p {
	margin: 0;
}

.ruibosu-lifestyle {
	background: var(--ruibosu-deep-accent);
	color: var(--ruibosu-surface);
}

.ruibosu-lifestyle__grid {
	display: grid;
	grid-template-columns: minmax(280px, 1.08fr) minmax(0, 0.92fr);
	gap: 52px;
	align-items: center;
}

.ruibosu-lifestyle__visual {
	min-height: 420px;
	border: 1px solid rgba(255, 253, 248, 0.24);
	border-radius: 8px;
	background:
		linear-gradient(135deg, rgba(255, 253, 248, 0.18) 0 1px, transparent 1px 42px),
		linear-gradient(45deg, rgba(212, 195, 158, 0.22), rgba(157, 96, 70, 0.18)),
		#233653;
	background-size: 42px 42px, auto, auto;
}

.ruibosu-lifestyle h2,
.ruibosu-lifestyle p {
	color: var(--ruibosu-surface);
}

.ruibosu-lifestyle .ruibosu-kicker {
	color: var(--ruibosu-warm-accent);
}

.ruibosu-lifestyle p {
	margin: 18px 0 0;
	opacity: 0.86;
}

.ruibosu-construction {
	background: var(--ruibosu-surface);
}

.ruibosu-construction__grid {
	display: grid;
	grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
	gap: 52px;
}

.ruibosu-detail-list {
	display: grid;
	gap: 0;
	border-top: 1px solid var(--ruibosu-line);
}

.ruibosu-detail-list__item {
	display: grid;
	grid-template-columns: minmax(150px, 0.36fr) minmax(0, 0.64fr);
	gap: 22px;
	padding: 24px 0;
	border-bottom: 1px solid var(--ruibosu-line);
}

.ruibosu-detail-list__item__link,
.ruibosu-detail-list__item--text-image {
	display: grid;
	grid-template-columns: minmax(150px, 0.36fr) minmax(0, 0.64fr);
	gap: 22px;
	align-items: start;
}

.ruibosu-detail-list__item--text .ruibosu-detail-list__item__content {
	display: contents;
}

.ruibosu-detail-list__item__media,
.ruibosu-care__item__media {
	margin: 0;
	overflow: hidden;
}

.ruibosu-detail-list__item__image,
.ruibosu-care__item__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: inherit;
}

.ruibosu-care {
	background: #ebe6dc;
}

.ruibosu-care__grid {
	display: grid;
	grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
	gap: 52px;
}

.ruibosu-care__columns {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}

.ruibosu-care__item {
	padding: 24px;
	border: 1px solid var(--ruibosu-line);
	border-radius: 8px;
	background: var(--ruibosu-surface);
}

.ruibosu-care__item__link {
	display: grid;
	gap: 16px;
	height: 100%;
}

.site-footer {
	padding: 0;
	background: var(--ruibosu-footer-background);
	color: var(--ruibosu-surface);
}

.site-footer .col-full {
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 24px;
}

.ruibosu-footer {
	padding: 54px 0 26px;
}

.ruibosu-footer__grid {
	display: grid;
	grid-template-columns: minmax(260px, 1.35fr) repeat(3, minmax(132px, 0.75fr));
	column-gap: clamp(30px, 5vw, 70px);
	row-gap: 28px;
	align-items: start;
}

.ruibosu-footer__brand,
.ruibosu-footer__nav,
.ruibosu-footer__service {
	min-width: 0;
	align-self: start;
}

.ruibosu-footer__name,
.ruibosu-footer__heading {
	margin: 0 0 10px;
	color: var(--ruibosu-surface);
	font-weight: 750;
}

.ruibosu-footer__brand p,
.ruibosu-footer__service p,
.ruibosu-footer__bottom p {
	margin: 0;
	color: rgba(255, 253, 248, 0.72);
}

.ruibosu-footer__content-item + .ruibosu-footer__content-item {
	margin-top: 18px;
}

.ruibosu-footer__content-item > a,
.ruibosu-footer__item-link {
	display: grid;
	gap: 6px;
}

.ruibosu-footer__item-media {
	width: min(100%, 180px);
	margin: 0 0 10px;
	overflow: hidden;
}

.ruibosu-footer__item-media img,
.ruibosu-footer__item-image {
	display: block;
	width: 100%;
	height: auto;
}

.ruibosu-footer__item-link small,
.ruibosu-footer__item-link-label {
	color: var(--ruibosu-muted);
	font-size: 0.82rem;
	line-height: 1.5;
}

.ruibosu-footer__partner {
	display: grid;
	gap: 7px;
	margin-top: 18px;
}

.ruibosu-footer__partner > p:not(.ruibosu-footer__partner-title) {
	white-space: pre-line;
}

.ruibosu-footer__partner-title {
	color: var(--ruibosu-surface) !important;
	font-weight: 700;
}

.site-footer .ruibosu-footer .ruibosu-footer__partner a,
.site-footer .ruibosu-footer .ruibosu-footer__partner a:link,
.site-footer .ruibosu-footer .ruibosu-footer__partner a:visited {
	width: fit-content;
	color: var(--ruibosu-surface) !important;
	text-decoration: none;
}

.site-footer .ruibosu-footer .ruibosu-footer__partner a:hover,
.site-footer .ruibosu-footer .ruibosu-footer__partner a:focus,
.site-footer .ruibosu-footer .ruibosu-footer__partner a:focus-visible,
.site-footer .ruibosu-footer .ruibosu-footer__partner a:active {
	color: var(--ruibosu-warm-accent) !important;
}

.ruibosu-footer__menu {
	display: grid;
	gap: 9px;
}

.ruibosu-footer__menu a {
	display: inline-flex;
	width: fit-content;
	color: var(--ruibosu-surface);
	text-decoration: none;
}

.ruibosu-footer__menu a:hover,
.ruibosu-footer__menu a:active,
.ruibosu-footer__menu .current-menu-item > a,
.ruibosu-footer__menu .current_page_item > a {
	color: var(--ruibosu-warm-accent);
}

.ruibosu-footer__menu a:focus-visible {
	outline-color: var(--ruibosu-warm-accent);
	background: rgba(255, 253, 248, 0.08);
}

.site-footer .ruibosu-footer .ruibosu-footer__nav .ruibosu-footer__menu a,
.site-footer .ruibosu-footer .ruibosu-footer__nav .ruibosu-footer__menu a:link,
.site-footer .ruibosu-footer .ruibosu-footer__nav .ruibosu-footer__menu a:visited,
.site-footer .ruibosu-footer .ruibosu-footer__nav .ruibosu-footer__menu .menu-item > a,
.site-footer .ruibosu-footer .ruibosu-footer__nav .ruibosu-footer__menu .page_item > a,
.site-footer .ruibosu-footer .ruibosu-footer__nav .ruibosu-footer__menu .sub-menu a {
	color: var(--ruibosu-surface) !important;
}

.site-footer .ruibosu-footer .ruibosu-footer__nav .ruibosu-footer__menu a:hover,
.site-footer .ruibosu-footer .ruibosu-footer__nav .ruibosu-footer__menu a:focus,
.site-footer .ruibosu-footer .ruibosu-footer__nav .ruibosu-footer__menu a:focus-visible,
.site-footer .ruibosu-footer .ruibosu-footer__nav .ruibosu-footer__menu a:active,
.site-footer .ruibosu-footer .ruibosu-footer__nav .ruibosu-footer__menu .current-menu-item > a,
.site-footer .ruibosu-footer .ruibosu-footer__nav .ruibosu-footer__menu .current_page_item > a {
	color: var(--ruibosu-warm-accent) !important;
}

.site-footer .ruibosu-footer .ruibosu-footer__service .ruibosu-footer__menu a,
.site-footer .ruibosu-footer .ruibosu-footer__service .ruibosu-footer__menu a:link,
.site-footer .ruibosu-footer .ruibosu-footer__service .ruibosu-footer__menu a:visited {
	color: var(--ruibosu-surface) !important;
}

.site-footer .ruibosu-footer .ruibosu-footer__service .ruibosu-footer__menu a:hover,
.site-footer .ruibosu-footer .ruibosu-footer__service .ruibosu-footer__menu a:focus,
.site-footer .ruibosu-footer .ruibosu-footer__service .ruibosu-footer__menu a:focus-visible,
.site-footer .ruibosu-footer .ruibosu-footer__service .ruibosu-footer__menu a:active {
	color: var(--ruibosu-warm-accent) !important;
}

.ruibosu-footer__contact-extra {
	display: grid;
	gap: 12px;
	margin-top: 14px;
}

.ruibosu-footer__contact-item {
	display: grid;
	gap: 5px;
}

.site-footer .ruibosu-footer .ruibosu-footer__contact-item a,
.site-footer .ruibosu-footer .ruibosu-footer__contact-item a:link,
.site-footer .ruibosu-footer .ruibosu-footer__contact-item a:visited {
	width: fit-content;
	color: var(--ruibosu-surface) !important;
	text-decoration: none;
}

.site-footer .ruibosu-footer .ruibosu-footer__contact-item a:hover,
.site-footer .ruibosu-footer .ruibosu-footer__contact-item a:focus,
.site-footer .ruibosu-footer .ruibosu-footer__contact-item a:focus-visible,
.site-footer .ruibosu-footer .ruibosu-footer__contact-item a:active {
	color: var(--ruibosu-warm-accent) !important;
}

.ruibosu-footer__filings {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 18px;
}

.ruibosu-filing-record {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.ruibosu-filing-record img {
	width: 20px;
	height: 20px;
	object-fit: contain;
}

.ruibosu-footer__qr {
	display: inline-grid;
	width: fit-content;
	gap: 6px;
	color: rgba(255, 253, 248, 0.72);
	font-size: 0.9rem;
	line-height: 1.45;
}

.ruibosu-footer__qr-image {
	display: block;
	width: 88px;
	height: 88px;
	padding: 6px;
	border: 1px solid rgba(255, 253, 248, 0.18);
	background: #fff;
	object-fit: contain;
}

.ruibosu-footer__qr-label {
	color: var(--ruibosu-surface);
	font-weight: 650;
}

.ruibosu-footer__qr-description {
	color: rgba(255, 253, 248, 0.72);
}

.ruibosu-footer__phone {
	display: grid;
	gap: 3px;
}

.site-footer .ruibosu-footer .ruibosu-footer__phone a,
.site-footer .ruibosu-footer .ruibosu-footer__phone a:link,
.site-footer .ruibosu-footer .ruibosu-footer__phone a:visited {
	width: fit-content;
	color: var(--ruibosu-surface) !important;
	text-decoration: none;
}

.site-footer .ruibosu-footer .ruibosu-footer__phone a:hover,
.site-footer .ruibosu-footer .ruibosu-footer__phone a:focus,
.site-footer .ruibosu-footer .ruibosu-footer__phone a:focus-visible,
.site-footer .ruibosu-footer .ruibosu-footer__phone a:active {
	color: var(--ruibosu-warm-accent) !important;
}

.ruibosu-footer__bottom {
	margin-top: 38px;
	padding-top: 20px;
	border-top: 1px solid rgba(255, 253, 248, 0.16);
}

.ruibosu-footer__filings {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 16px;
	margin-top: 12px;
	font-size: 0.92rem;
	line-height: 1.6;
}

.site-footer .ruibosu-footer .ruibosu-footer__bottom .ruibosu-footer__filings,
.site-footer .ruibosu-footer .ruibosu-footer__bottom .ruibosu-footer__filings a,
.site-footer .ruibosu-footer .ruibosu-footer__bottom .ruibosu-footer__filings a:link,
.site-footer .ruibosu-footer .ruibosu-footer__bottom .ruibosu-footer__filings a:visited,
.site-footer .ruibosu-footer .ruibosu-footer__bottom .ruibosu-footer__filings a:hover,
.site-footer .ruibosu-footer .ruibosu-footer__bottom .ruibosu-footer__filings a:focus,
.site-footer .ruibosu-footer .ruibosu-footer__bottom .ruibosu-footer__filings a:focus-visible,
.site-footer .ruibosu-footer .ruibosu-footer__bottom .ruibosu-footer__filings a:active,
.site-footer .ruibosu-footer .ruibosu-footer__bottom .ruibosu-footer__filings span,
.site-footer .ruibosu-footer .ruibosu-footer__bottom .ruibosu-footer__filings .ruibosu-police-record,
.site-footer .ruibosu-footer .ruibosu-footer__bottom .ruibosu-footer__filings .ruibosu-police-record span {
	color: rgba(255, 253, 248, 0.72) !important;
}

.ruibosu-police-record {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	max-width: 100%;
	vertical-align: middle;
}

.ruibosu-police-record img {
	display: block;
	flex: 0 0 auto;
	width: auto;
	height: 18px;
	object-fit: contain;
}

.ruibosu-police-record span {
	min-width: 0;
	color: inherit;
}

.ruibosu-shop-v2 .site-content > .col-full {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
}

.ruibosu-shop-v2 .content-area {
	float: none;
	width: 100%;
	margin-right: 0;
}

.ruibosu-shop-v2 .widget-area,
.ruibosu-shop-v2 .storefront-breadcrumb {
	display: none;
}

.ruibosu-service-page-no-sidebar .content-area {
	float: none;
	width: 100%;
	margin-left: 0;
	margin-right: 0;
}

.ruibosu-service-page-no-sidebar .widget-area {
	display: none;
}

.ruibosu-service-page-no-sidebar .site-main {
	max-width: 980px;
	margin-right: auto;
	margin-left: auto;
}

.ruibosu-my-account-page .site-main {
	max-width: 1120px;
}

.ruibosu-my-account-page .woocommerce {
	color: var(--ruibosu-ink);
}

.ruibosu-my-account-page .woocommerce form.login,
.ruibosu-my-account-page .woocommerce form.woocommerce-form-login {
	width: 100%;
	max-width: 500px;
	margin-right: 0;
	margin-left: 0;
	padding: 0;
	border: 0;
	background: transparent;
}

.ruibosu-my-account-page .woocommerce form .form-row {
	margin-bottom: 18px;
}

.ruibosu-my-account-page .woocommerce form label {
	color: var(--ruibosu-ink);
	font-weight: 550;
}

.ruibosu-my-account-page .woocommerce form .form-row input.input-text,
.ruibosu-my-account-page .woocommerce form .form-row textarea,
.ruibosu-my-account-page .woocommerce form .form-row select {
	width: 100%;
	min-height: 46px;
	padding: 10px 12px;
	border: 1px solid rgba(23, 22, 18, 0.18);
	background: var(--ruibosu-surface);
	color: var(--ruibosu-ink);
	box-shadow: none;
}

.ruibosu-my-account-page .woocommerce form .form-row input.input-text:focus,
.ruibosu-my-account-page .woocommerce form .form-row textarea:focus,
.ruibosu-my-account-page .woocommerce form .form-row select:focus {
	border-color: var(--ruibosu-clay);
	outline: 2px solid rgba(157, 96, 70, 0.18);
	outline-offset: 1px;
	box-shadow: none;
}

.ruibosu-my-account-page .woocommerce form .lost_password,
.ruibosu-my-account-page .woocommerce form .woocommerce-form-login__rememberme {
	color: var(--ruibosu-muted);
	font-size: 0.95rem;
}

.ruibosu-my-account-page .woocommerce-MyAccount-navigation {
	float: left;
	width: 260px;
	margin: 0 32px 32px 0;
}

.ruibosu-my-account-page .woocommerce-MyAccount-navigation ul {
	display: grid;
	gap: 6px;
	margin: 0;
	padding: 10px;
	list-style: none;
	border: 1px solid rgba(23, 22, 18, 0.12);
	background: rgba(255, 253, 248, 0.62);
}

.ruibosu-my-account-page .woocommerce-MyAccount-navigation li {
	margin: 0;
}

.ruibosu-my-account-page .woocommerce-MyAccount-navigation a {
	display: block;
	padding: 11px 13px;
	color: rgba(23, 22, 18, 0.76);
	text-decoration: none;
	border-left: 3px solid transparent;
}

.ruibosu-my-account-page .woocommerce-MyAccount-navigation a:hover,
.ruibosu-my-account-page .woocommerce-MyAccount-navigation a:focus {
	color: var(--ruibosu-ink);
	outline: none;
	background: rgba(157, 96, 70, 0.08);
}

.ruibosu-my-account-page .woocommerce-MyAccount-navigation a:focus-visible {
	outline: 1px solid rgba(23, 22, 18, 0.28);
	outline-offset: 2px;
}

.ruibosu-my-account-page .woocommerce-MyAccount-navigation .is-active a {
	color: var(--ruibosu-ink);
	border-left-color: var(--ruibosu-clay);
	background: rgba(23, 22, 18, 0.055);
	font-weight: 700;
}

.ruibosu-my-account-page .woocommerce-MyAccount-content {
	float: right;
	width: calc(100% - 292px);
	min-width: 0;
	overflow-x: auto;
}

.ruibosu-my-account-page .woocommerce-MyAccount-content a {
	color: var(--ruibosu-clay);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.16em;
}

.ruibosu-my-account-page .woocommerce-info,
.ruibosu-my-account-page .woocommerce-message,
.ruibosu-my-account-page .woocommerce-error {
	border: 1px solid rgba(23, 22, 18, 0.12);
	border-top: 0;
	background: rgba(255, 253, 248, 0.78);
	color: var(--ruibosu-ink);
	box-shadow: none;
}

.ruibosu-my-account-page .woocommerce-info::before,
.ruibosu-my-account-page .woocommerce-message::before,
.ruibosu-my-account-page .woocommerce-error::before {
	color: var(--ruibosu-clay);
}

.ruibosu-my-account-page .woocommerce .button,
.ruibosu-my-account-page .woocommerce a.button,
.ruibosu-my-account-page .woocommerce button.button,
.ruibosu-my-account-page .woocommerce input.button,
.ruibosu-my-account-page .woocommerce-MyAccount-content .button,
.ruibosu-my-account-page .woocommerce-MyAccount-content button,
.ruibosu-my-account-page .woocommerce-MyAccount-content input[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 10px 18px;
	border: 1px solid var(--ruibosu-ink);
	background: var(--ruibosu-ink);
	color: var(--ruibosu-surface);
	line-height: 1.2;
	text-decoration: none;
	box-shadow: none;
}

.ruibosu-my-account-page .woocommerce .button:hover,
.ruibosu-my-account-page .woocommerce .button:focus,
.ruibosu-my-account-page .woocommerce a.button:hover,
.ruibosu-my-account-page .woocommerce a.button:focus,
.ruibosu-my-account-page .woocommerce button.button:hover,
.ruibosu-my-account-page .woocommerce button.button:focus,
.ruibosu-my-account-page .woocommerce input.button:hover,
.ruibosu-my-account-page .woocommerce input.button:focus {
	border-color: var(--ruibosu-clay);
	background: var(--ruibosu-clay);
	color: var(--ruibosu-surface);
	outline: none;
	box-shadow: none;
}

@media (max-width: 900px) {
	.ruibosu-my-account-page .woocommerce-MyAccount-navigation,
	.ruibosu-my-account-page .woocommerce-MyAccount-content {
		float: none;
		width: 100%;
		margin-right: 0;
	}

	.ruibosu-my-account-page .woocommerce-MyAccount-navigation {
		margin-bottom: 24px;
	}

	.ruibosu-my-account-page .woocommerce form.login,
	.ruibosu-my-account-page .woocommerce form.woocommerce-form-login {
		max-width: none;
	}
}

.ruibosu-shop-v2 .site-main {
	margin: 0;
	padding: 0;
	background: var(--ruibosu-paper);
}

.ruibosu-shop-v2 .woocommerce-products-header {
	display: none;
}

.ruibosu-shop-v2 .woocommerce-result-count,
.ruibosu-shop-v2 .woocommerce-ordering,
.post-type-archive-product .woocommerce-result-count,
.post-type-archive-product .woocommerce-ordering,
.tax-product_cat .woocommerce-result-count,
.tax-product_cat .woocommerce-ordering,
.tax-product_tag .woocommerce-result-count,
.tax-product_tag .woocommerce-ordering {
	display: none !important;
}

.ruibosu-shop-v2 .woocommerce-result-count,
.ruibosu-shop-v2 .woocommerce-ordering {
	position: relative;
	z-index: 1;
	margin: 0;
	color: var(--ruibosu-muted);
	font-size: 0.92rem;
	line-height: 1.5;
}

.ruibosu-shop-v2 .woocommerce-result-count {
	float: none;
	width: min(100%, var(--ruibosu-content-max-width));
	margin: -4px auto 0;
	padding: 0 var(--ruibosu-page-gutter);
}

.ruibosu-shop-v2 .woocommerce-ordering {
	float: none;
	width: min(100%, var(--ruibosu-content-max-width));
	margin: 12px auto 0;
	padding: 0 var(--ruibosu-page-gutter);
	text-align: right;
}

.ruibosu-shop-v2 .woocommerce-ordering select {
	min-height: 42px;
	max-width: min(100%, 280px);
	border: 1px solid var(--ruibosu-line);
	border-radius: 4px;
	background-color: var(--ruibosu-surface);
	color: var(--ruibosu-ink);
	font-size: 0.92rem;
}

.ruibosu-shop-v2-kicker {
	margin: 0 0 12px;
	color: var(--ruibosu-clay);
	font-size: 0.78rem;
	font-weight: 780;
	line-height: 1.3;
	text-transform: uppercase;
}

.ruibosu-shop-v2-hero,
.ruibosu-shop-v2-featured,
.ruibosu-shop-v2-benefits,
.ruibosu-shop-v2-colors,
.ruibosu-shop-v2-trust {
	width: min(100%, var(--ruibosu-wide-max-width));
	margin-right: auto;
	margin-left: auto;
	padding-right: var(--ruibosu-wide-gutter);
	padding-left: var(--ruibosu-wide-gutter);
}

.ruibosu-shop-v2-hero {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 42px;
	align-items: center;
	min-width: 0;
	padding-top: 46px;
	padding-bottom: 34px;
}

.ruibosu-shop-v2-hero > *,
.ruibosu-shop-v2 .ruibosu-shop-v2-featured ul.products li.product > * {
	min-width: 0;
}

.ruibosu-shop-v2-hero__content {
	width: 100%;
	max-width: none;
	min-width: 0;
}

.ruibosu-shop-v2-hero h1 {
	margin: 0;
	color: var(--ruibosu-ink);
	font-size: clamp(2.2rem, 4vw, 3.35rem);
	font-weight: 780;
	line-height: 1.06;
	letter-spacing: 0;
}

.ruibosu-shop-v2-hero__tagline {
	margin: 14px 0 0;
	color: var(--ruibosu-ink);
	font-size: 1.14rem;
	font-weight: 720;
	line-height: 1.45;
}

.ruibosu-shop-v2-hero__body {
	margin: 16px 0 0;
	color: var(--ruibosu-muted);
	font-size: 1.02rem;
	line-height: 1.78;
}

.ruibosu-shop-v2-button,
.ruibosu-shop-v2 .button.ruibosu-shop-v2-product__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 50px;
	margin-top: 24px;
	padding: 0 22px;
	border: 1px solid var(--ruibosu-button-background);
	border-radius: 4px;
	background: var(--ruibosu-button-background);
	color: var(--ruibosu-surface) !important;
	font-size: 0.98rem;
	font-weight: 740;
	line-height: 1;
	text-align: center;
	text-decoration: none;
	white-space: nowrap;
}

.ruibosu-shop-v2-button small,
.ruibosu-shop-v2 .button.ruibosu-shop-v2-product__cta small {
	color: inherit;
	font-size: 0.82rem;
	font-weight: 650;
	opacity: 0.78;
}

.ruibosu-shop-v2-button:hover,
.ruibosu-shop-v2 .button.ruibosu-shop-v2-product__cta:hover {
	background: var(--ruibosu-clay);
	border-color: var(--ruibosu-clay);
	color: var(--ruibosu-surface) !important;
}

.ruibosu-shop-v2-button--secondary {
	background: transparent;
	color: var(--ruibosu-ink) !important;
}

.ruibosu-shop-v2-button--secondary:hover {
	background: var(--ruibosu-ink);
	border-color: var(--ruibosu-ink);
	color: var(--ruibosu-surface) !important;
}

.ruibosu-shop-v2-hero__media,
.ruibosu-shop-v2-product__media,
.ruibosu-shop-v2-benefits__grid article figure,
.ruibosu-shop-v2-color figure {
	display: grid;
	place-items: center;
	margin: 0;
	overflow: hidden;
	border: 1px solid var(--ruibosu-line);
	border-radius: 8px;
	background:
		linear-gradient(180deg, rgba(255, 253, 248, 0.76), rgba(212, 195, 158, 0.24)),
		#f1eee7;
	min-width: 0;
	max-width: 100%;
}

.ruibosu-shop-v2-hero__media {
	aspect-ratio: 4 / 3;
	min-height: 300px;
}

.ruibosu-shop-v2-hero__image,
.ruibosu-shop-v2-product__image,
.ruibosu-shop-v2-benefit__image,
.ruibosu-shop-v2-trust__image,
.ruibosu-shop-v2-color__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.ruibosu-shop-v2-hero__image {
	object-fit: cover;
}

.ruibosu-image-frame.ruibosu-image-frame--ratio-1-1 {
	aspect-ratio: 1 / 1;
}

.ruibosu-image-frame.ruibosu-image-frame--ratio-4-3 {
	aspect-ratio: 4 / 3;
}

.ruibosu-image-frame.ruibosu-image-frame--ratio-3-2 {
	aspect-ratio: 3 / 2;
}

.ruibosu-image-frame.ruibosu-image-frame--ratio-4-5 {
	aspect-ratio: 4 / 5;
}

.ruibosu-image-frame.ruibosu-image-frame--ratio-original {
	aspect-ratio: auto;
}

.ruibosu-image-frame.ruibosu-image-frame--fit-cover img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ruibosu-image-frame.ruibosu-image-frame--fit-contain img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.ruibosu-image-frame.ruibosu-image-frame--ratio-original img {
	height: auto;
	aspect-ratio: auto;
}

.ruibosu-image-frame.ruibosu-image-frame--position-center img {
	object-position: center center;
}

.ruibosu-image-frame.ruibosu-image-frame--position-top img {
	object-position: center top;
}

.ruibosu-image-frame.ruibosu-image-frame--position-bottom img {
	object-position: center bottom;
}

.ruibosu-image-frame.ruibosu-image-frame--position-left img {
	object-position: left center;
}

.ruibosu-image-frame.ruibosu-image-frame--position-right img {
	object-position: right center;
}

.ruibosu-image-frame.ruibosu-image-frame--position-top-left img {
	object-position: left top;
}

.ruibosu-image-frame.ruibosu-image-frame--position-top-right img {
	object-position: right top;
}

.ruibosu-image-frame.ruibosu-image-frame--position-bottom-left img {
	object-position: left bottom;
}

.ruibosu-image-frame.ruibosu-image-frame--position-bottom-right img {
	object-position: right bottom;
}

.ruibosu-shop-v2-placeholder {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	min-height: 100%;
}

.ruibosu-shop-v2-placeholder span {
	display: block;
	width: min(46%, 220px);
	aspect-ratio: 1.18;
	border: 1px solid rgba(23, 22, 18, 0.14);
	border-radius: 8px;
	background:
		linear-gradient(135deg, transparent 49%, rgba(23, 22, 18, 0.1) 50%, transparent 51%),
		linear-gradient(45deg, transparent 49%, rgba(23, 22, 18, 0.1) 50%, transparent 51%),
		var(--ruibosu-surface);
}

.ruibosu-shop-v2-featured {
	padding-top: 42px;
	padding-bottom: 58px;
}

.ruibosu-shop-v2 .ruibosu-shop-v2-featured ul.products {
	display: block;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ruibosu-shop-v2 .ruibosu-shop-v2-featured ul.products::before,
.ruibosu-shop-v2 .ruibosu-shop-v2-featured ul.products::after {
	display: none;
}

.ruibosu-shop-v2 .ruibosu-shop-v2-featured ul.products li.product {
	float: none;
	display: grid;
	grid-template-areas:
		"title media"
		"details media"
		"cta media";
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	grid-template-rows: auto auto auto;
	gap: 14px 44px;
	align-content: center;
	align-items: center;
	width: 100% !important;
	margin: 0 !important;
	padding: 30px;
	border: 1px solid var(--ruibosu-line);
	border-radius: 8px;
	background: var(--ruibosu-surface);
	box-shadow: var(--ruibosu-shadow);
	text-align: left;
}

.ruibosu-shop-v2 .ruibosu-shop-v2-featured ul.products li.product > .woocommerce-LoopProduct-link {
	display: contents;
	color: inherit;
	text-decoration: none;
}

.ruibosu-shop-v2-product__media {
	grid-area: media;
	width: 100%;
	aspect-ratio: 1 / 0.88;
	min-height: 340px;
	background: #f1eee7;
}

.ruibosu-shop-v2-product__media a {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	color: inherit;
}

.ruibosu-shop-v2-product__image {
	padding: 24px;
}

.ruibosu-shop-v2 .ruibosu-shop-v2-product__title {
	grid-area: title;
	align-self: end;
	margin: 0;
	color: var(--ruibosu-ink);
	font-size: 2.28rem;
	font-weight: 780;
	line-height: 1.12;
	letter-spacing: 0;
}

.ruibosu-shop-v2-product__details {
	grid-area: details;
	align-self: center;
	display: grid;
	gap: 13px;
	width: 100%;
	max-width: none;
	min-width: 0;
	margin-top: 0;
}

.ruibosu-shop-v2-product__label {
	margin: 0 0 -2px;
	color: var(--ruibosu-clay);
	font-size: 0.78rem;
	font-weight: 780;
	line-height: 1.35;
	text-transform: uppercase;
}

.ruibosu-shop-v2-product__type,
.ruibosu-shop-v2-product__selling-points,
.ruibosu-shop-v2-product__colors {
	margin: 0;
	color: var(--ruibosu-ink);
	font-size: 1.02rem;
	font-weight: 740;
	line-height: 1.4;
}

.ruibosu-shop-v2-product__selling-points {
	color: var(--ruibosu-muted);
	font-size: 0.98rem;
	font-weight: 650;
	line-height: 1.55;
}

.ruibosu-shop-v2-product__description {
	margin: 0;
	color: var(--ruibosu-muted);
	font-size: 1rem;
	line-height: 1.78;
}

.ruibosu-shop-v2-product__price {
	margin: 8px 0 0;
	color: var(--ruibosu-ink);
	font-size: 2.14rem;
	font-weight: 780;
	line-height: 1.2;
}

.ruibosu-shop-v2-product__price del {
	color: var(--ruibosu-muted);
	font-size: 1rem;
	font-weight: 500;
}

.ruibosu-shop-v2-product__colors {
	display: inline-flex;
	align-items: center;
	width: fit-content;
	min-height: 34px;
	padding: 0 12px;
	border: 1px solid rgba(157, 96, 70, 0.24);
	border-radius: 4px;
	background: #faf7f0;
	color: var(--ruibosu-clay);
}

.ruibosu-shop-v2 ul.products li.product .onsale,
.ruibosu-shop-v2 .woocommerce ul.products li.product .onsale {
	position: static;
	display: block;
	grid-column: 1 / -1;
	justify-self: stretch;
	width: 100%;
	min-height: 0;
	margin: 0 0 16px;
	padding: 12px 16px;
	border: 1px solid rgba(157, 96, 70, 0.22);
	border-radius: 8px;
	background: rgba(212, 195, 158, 0.24);
	color: var(--ruibosu-ink);
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.45;
	text-align: left;
	box-sizing: border-box;
}

.ruibosu-shop-v2 .button.ruibosu-shop-v2-product__cta {
	grid-area: cta;
	align-self: start;
	justify-self: start;
	margin-top: 8px;
}

.ruibosu-shop-v2-section-heading {
	max-width: 690px;
	margin-bottom: 28px;
}

.ruibosu-shop-v2-section-heading h2 {
	margin: 0;
	color: var(--ruibosu-ink);
	font-size: clamp(1.75rem, 3vw, 2.4rem);
	font-weight: 760;
	line-height: 1.14;
	letter-spacing: 0;
}

.ruibosu-shop-v2-section-heading p:last-child {
	margin: 12px 0 0;
	color: var(--ruibosu-muted);
	font-size: 1rem;
	line-height: 1.65;
}

.ruibosu-shop-v2-benefits {
	padding-top: 56px;
	padding-bottom: 58px;
	border-top: 1px solid var(--ruibosu-line);
	background: var(--ruibosu-paper);
}

.ruibosu-shop-v2-benefits__grid {
	display: grid;
	grid-template-columns: repeat(var(--ruibosu-grid-items, 3), minmax(0, 1fr));
	gap: 16px;
}

.ruibosu-shop-v2-benefits__grid article {
	min-width: 0;
	min-height: 214px;
	padding: 26px;
	border: 1px solid var(--ruibosu-line);
	border-radius: 8px;
	background: var(--ruibosu-surface);
}

.ruibosu-shop-v2-benefits__grid article figure {
	aspect-ratio: 4 / 3;
	margin-bottom: 18px;
	background: #f1eee7;
}

.ruibosu-shop-v2-benefit__image {
	object-fit: cover;
}

.ruibosu-shop-v2-benefits__grid article p,
.ruibosu-shop-v2-color p {
	margin: 0 0 8px;
	color: var(--ruibosu-clay);
	font-size: 0.78rem;
	font-weight: 780;
	line-height: 1.35;
	text-transform: uppercase;
}

.ruibosu-shop-v2-benefits__grid article h3,
.ruibosu-shop-v2-color h3 {
	margin: 0;
	color: var(--ruibosu-ink);
	font-size: 1.06rem;
	font-weight: 760;
	line-height: 1.35;
}

.ruibosu-shop-v2-benefits__grid article h3 small,
.ruibosu-shop-v2-color h3 small {
	display: block;
	margin-top: 4px;
	color: var(--ruibosu-muted);
	font-size: 0.82rem;
	font-weight: 650;
	line-height: 1.35;
}

.ruibosu-shop-v2-benefits__grid article span {
	display: block;
	margin-top: 14px;
	color: var(--ruibosu-muted);
	font-size: 1rem;
	line-height: 1.78;
}

.ruibosu-shop-v2-colors {
	padding-top: 58px;
	padding-bottom: 58px;
	background: var(--ruibosu-surface);
}

.ruibosu-shop-v2-colors__grid {
	display: grid;
	grid-template-columns: repeat(var(--ruibosu-grid-items, 3), minmax(0, 1fr));
	gap: 16px;
}

.ruibosu-shop-v2-color {
	min-width: 0;
	margin: 0;
}

.ruibosu-shop-v2-color a {
	display: block;
	color: inherit;
	text-decoration: none;
}

.ruibosu-shop-v2-color a:hover h3,
.ruibosu-shop-v2-color a:focus h3 {
	color: var(--ruibosu-clay);
}

.ruibosu-shop-v2-color figure {
	aspect-ratio: 1;
	margin-bottom: 14px;
}

.ruibosu-shop-v2-color__image {
	padding: 14px;
}

.ruibosu-shop-v2-colors .ruibosu-shop-v2-button {
	margin-top: 30px;
}

.ruibosu-shop-v2-trust {
	display: grid;
	grid-template-columns: repeat(var(--ruibosu-grid-items, 3), minmax(0, 1fr));
	gap: 1px;
	padding-top: 0;
	padding-bottom: 62px;
}

.ruibosu-shop-v2-trust div {
	display: grid;
	grid-template-columns: 72px minmax(0, 1fr);
	gap: 14px;
	align-items: center;
	min-width: 0;
	padding: 18px 20px;
	border: 1px solid var(--ruibosu-line);
	background: #ebe6dc;
}

.ruibosu-shop-v2-trust figure {
	display: grid;
	place-items: center;
	width: 72px;
	aspect-ratio: 1;
	margin: 0;
	overflow: hidden;
	border-radius: 6px;
	background: #f1eee7;
}

.ruibosu-shop-v2-trust__image {
	object-fit: cover;
}

.ruibosu-shop-v2-trust strong {
	color: var(--ruibosu-ink);
	font-size: 0.95rem;
	font-weight: 760;
	line-height: 1.35;
}

.ruibosu-shop-v2-trust span {
	color: var(--ruibosu-muted);
	font-size: 0.92rem;
	line-height: 1.45;
}

.ruibosu-product-hero-v1.single-product .site-main {
	padding-top: 0;
}

.ruibosu-product-hero-v1.single-product .content-area {
	float: none;
	width: 100%;
	margin-right: 0;
}

.ruibosu-product-hero-v1.single-product .widget-area {
	display: none;
}

.ruibosu-product-hero-v1.single-product .col-full {
	max-width: 1360px;
	padding-right: clamp(18px, 2.5vw, 32px);
	padding-left: clamp(18px, 2.5vw, 32px);
}

.ruibosu-product-hero-v1.single-product .storefront-breadcrumb {
	display: none;
}

.ruibosu-product-hero-v1.single-product div.product {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 60fr) minmax(380px, 40fr);
	gap: clamp(28px, 3vw, 44px);
	align-items: start;
	margin-top: 14px;
	margin-bottom: 40px;
}

.ruibosu-product-hero-v1.single-product div.product::before,
.ruibosu-product-hero-v1.single-product div.product::after {
	display: none;
}

.ruibosu-product-hero-v1.single-product div.product > .onsale {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 3;
	margin: 0;
	border-radius: 4px;
}

.ruibosu-product-hero-v1.single-product div.product .woocommerce-product-gallery {
	float: none !important;
	width: 100% !important;
	max-width: 100%;
	min-width: 0;
	margin: 0 !important;
}

.ruibosu-product-hero-v1.single-product div.product .woocommerce-product-gallery__wrapper {
	margin: 0;
	max-width: none !important;
}

.ruibosu-product-hero-v1.single-product div.product .woocommerce-product-gallery .flex-viewport {
	min-height: clamp(540px, 48vw, 720px);
	border: 1px solid var(--ruibosu-line);
	border-radius: 8px;
	background: linear-gradient(180deg, #fbf8f1 0%, #eee8dd 100%);
}

.ruibosu-product-hero-v1.single-product div.product .woocommerce-product-gallery__image {
	display: block;
	min-height: clamp(540px, 48vw, 720px);
	overflow: hidden;
	border: 0;
	border-radius: 0;
	background: transparent;
}

.ruibosu-product-hero-v1.single-product div.product .woocommerce-product-gallery__image a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: inherit;
}

.ruibosu-product-hero-v1.single-product div.product .woocommerce-product-gallery__image img {
	display: block;
	width: 100%;
	height: auto;
	max-height: clamp(540px, 48vw, 720px);
	margin: 0 auto;
	background: transparent;
	object-fit: contain;
	opacity: 1 !important;
	transform: none;
	visibility: visible !important;
}

.ruibosu-product-hero-v1.single-product div.product .woocommerce-product-gallery .flex-control-thumbs {
	display: flex !important;
	flex-wrap: nowrap !important;
	gap: 12px !important;
	align-items: center;
	justify-content: flex-start !important;
	width: 100%;
	max-width: 100%;
	margin: 10px 0 0 !important;
	padding: 0 !important;
	list-style: none;
	overflow-x: auto;
	overflow-y: hidden;
	overscroll-behavior-x: contain;
	scrollbar-width: none;
	-ms-overflow-style: none;
	-webkit-overflow-scrolling: touch;
	scroll-snap-type: x proximity;
}

.ruibosu-product-hero-v1.single-product div.product .woocommerce-product-gallery .flex-control-thumbs::-webkit-scrollbar {
	display: none;
	width: 0;
	height: 0;
}

.ruibosu-product-hero-v1.single-product div.product .woocommerce-product-gallery .flex-control-thumbs li {
	display: block !important;
	flex: 0 0 90px !important;
	float: none !important;
	clear: none !important;
	width: 90px !important;
	min-width: 90px !important;
	max-width: 90px;
	height: 90px;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none;
	box-sizing: border-box;
	scroll-snap-align: start;
}

.ruibosu-product-hero-v1.single-product div.product .woocommerce-product-gallery .flex-control-thumbs img {
	display: block;
	width: 90px !important;
	height: 90px !important;
	max-width: none;
	border: 1px solid transparent;
	border-radius: 6px;
	background: #f1eee7;
	box-sizing: border-box;
	object-fit: cover;
	opacity: 1;
}

.ruibosu-product-hero-v1.single-product div.product .woocommerce-product-gallery .flex-control-thumbs img.flex-active,
.ruibosu-product-hero-v1.single-product div.product .woocommerce-product-gallery .flex-control-thumbs img:hover {
	border-color: var(--ruibosu-ink);
}

.ruibosu-product-hero-v1.single-product div.product .summary {
	float: none !important;
	width: auto !important;
	margin: 0 !important;
	padding: clamp(24px, 2.55vw, 32px);
	border: 1px solid var(--ruibosu-line);
	border-radius: 8px;
	background: var(--ruibosu-surface);
	box-shadow: 0 20px 42px rgba(23, 22, 18, 0.08);
}

.ruibosu-product-hero-v1.single-product div.product .summary::before {
	content: "日常舒适软顶帽";
	display: block;
	margin-bottom: 12px;
	color: var(--ruibosu-clay);
	font-size: 0.78rem;
	font-weight: 760;
	line-height: 1.2;
	text-transform: uppercase;
}

.ruibosu-product-hero-v1.single-product div.product .product_title {
	margin: 0;
	color: var(--ruibosu-ink);
	font-size: 2.16rem;
	font-weight: 760;
	line-height: 1.12;
	letter-spacing: 0;
}

.ruibosu-product-hero__positioning {
	margin: 9px 0 14px;
	color: var(--ruibosu-muted);
	font-size: 1rem;
	line-height: 1.55;
}

.ruibosu-product-hero-v1.single-product div.product .summary .price {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 12px;
	align-items: baseline;
	margin: 0 0 18px;
	color: var(--ruibosu-ink);
	font-size: 2.28rem;
	font-weight: 780;
	line-height: 1.2;
}

.ruibosu-product-hero-v1.single-product div.product .summary .price ins {
	order: 1;
	text-decoration: none;
}

.ruibosu-product-hero-v1.single-product div.product .summary .price del {
	order: 2;
	color: var(--ruibosu-muted);
	font-size: 1.04rem;
	font-weight: 500;
	opacity: 1;
}

.ruibosu-product-hero-v1.single-product div.product .summary .price del::before {
	content: "原价 ";
}

.ruibosu-product-hero__highlights {
	display: grid;
	gap: 10px;
	margin: 0 0 20px;
	padding: 15px 16px 16px;
	border: 1px solid var(--ruibosu-line);
	border-radius: 6px;
	background: #faf7f0;
	color: var(--ruibosu-ink);
}

.ruibosu-product-hero__highlights-title {
	margin: 0;
	color: var(--ruibosu-ink);
	font-size: 0.98rem;
	font-weight: 780;
	line-height: 1.35;
}

.ruibosu-product-hero__highlights ul {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 9px 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ruibosu-product-hero__highlights li {
	display: grid;
	grid-template-columns: 22px minmax(0, 1fr);
	gap: 9px;
	align-items: center;
	margin: 0;
	font-size: 0.96rem;
	font-weight: 650;
	line-height: 1.38;
}

.ruibosu-product-hero__check {
	display: grid;
	place-items: center;
	width: 18px;
	height: 18px;
	border: 1px solid rgba(123, 138, 112, 0.45);
	border-radius: 50%;
	color: var(--ruibosu-sage);
	font-size: 0.74rem;
	font-weight: 760;
}

.ruibosu-product-hero-v1.single-product div.product .summary .woocommerce-product-details__short-description {
	display: none;
}

.ruibosu-product-hero-v1.single-product div.product form.cart,
.ruibosu-product-hero-v1.single-product div.product form.variations_form {
	margin-bottom: 0;
}

.ruibosu-product-hero-v1.single-product div.product form.cart .variations {
	margin: 0 0 16px;
}

.ruibosu-product-hero-v1.single-product div.product form.cart .variations tr {
	display: grid;
	gap: 9px;
	margin-bottom: 14px;
}

.ruibosu-product-hero-v1.single-product div.product form.cart .variations th,
.ruibosu-product-hero-v1.single-product div.product form.cart .variations td {
	display: block;
	padding: 0;
	background: transparent;
}

.ruibosu-product-hero-v1.single-product div.product form.cart .variations label {
	margin: 0;
	color: var(--ruibosu-ink);
	font-size: 1rem;
	font-weight: 720;
	line-height: 1.35;
}

.ruibosu-product-hero-v1.single-product div.product form.cart .reset_variations {
	display: inline-flex;
	margin-top: 8px;
	color: var(--ruibosu-muted);
	font-size: 0.9rem;
}

.ruibosu-product-hero-v1.single-product .variable-items-wrapper {
	gap: 7px;
}

.ruibosu-product-hero-v1.single-product .variable-items-wrapper .variable-item:not(.radio-variable-item) {
	width: 40px;
	height: 40px;
}

.ruibosu-product-hero-v1.single-product .variable-items-wrapper .variable-item {
	box-shadow: 0 0 0 1px var(--ruibosu-line);
}

.ruibosu-product-hero-v1.single-product .variable-items-wrapper .variable-item.selected,
.ruibosu-product-hero-v1.single-product .variable-items-wrapper .variable-item:hover {
	box-shadow: 0 0 0 2px var(--ruibosu-ink);
}

.ruibosu-product-hero-v1.single-product div.product form.cart div.quantity {
	float: none;
	display: inline-flex;
	margin: 0;
}

.ruibosu-product-hero-v1.single-product div.product form.cart .quantity .qty {
	min-height: 52px;
	border-radius: 4px;
}

.ruibosu-product-hero-v1.single-product div.product form.cart .woocommerce-variation-add-to-cart {
	display: flex;
	gap: 12px;
	align-items: stretch;
}

.ruibosu-product-hero-v1.single-product div.product form.cart .single_add_to_cart_button {
	min-height: 54px;
	flex: 1 1 auto;
	padding: 0 28px;
	border-radius: 4px;
	background: var(--ruibosu-button-background);
	box-shadow: 0 12px 24px rgba(23, 22, 18, 0.14);
	font-size: 1rem;
	font-weight: 740;
	letter-spacing: 0;
}

.ruibosu-product-hero-v1.single-product div.product form.cart .single_add_to_cart_button:hover {
	background: var(--ruibosu-clay);
}

.ruibosu-product-hero__trust {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 7px;
	margin-top: 14px;
	padding-top: 13px;
	border-top: 1px solid var(--ruibosu-line);
}

.ruibosu-product-hero__trust p {
	display: grid;
	gap: 3px;
	margin: 0;
	color: var(--ruibosu-muted);
	font-size: 0.82rem;
	line-height: 1.45;
}

.ruibosu-product-hero__trust strong {
	color: var(--ruibosu-ink);
	font-weight: 740;
}

.ruibosu-product-hero__promo {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	grid-column: 1 / -1;
	gap: 18px 24px;
	align-items: center;
	width: 100%;
	min-width: 0;
	padding: 18px 20px;
	border: 1px solid rgba(157, 96, 70, 0.22);
	border-radius: 8px;
	background: rgba(212, 195, 158, 0.24);
	box-sizing: border-box;
}

.ruibosu-product-hero-v1.single-product div.product .ruibosu-product-hero__promo {
	width: 100%;
	min-height: auto;
}

.ruibosu-product-hero__promo-copy {
	display: grid;
	gap: 6px;
	min-width: 0;
}

.ruibosu-product-hero__promo-copy strong {
	color: var(--ruibosu-ink);
	font-size: 1.04rem;
	font-weight: 760;
	line-height: 1.35;
}

.ruibosu-product-hero__promo-copy span {
	color: var(--ruibosu-muted);
	font-size: 0.92rem;
	line-height: 1.55;
}

.ruibosu-product-hero__promo-price {
	display: flex;
	flex: 0 0 auto;
	gap: 12px;
	align-items: baseline;
	justify-content: flex-end;
}

.ruibosu-product-hero__promo-price-original,
.ruibosu-product-hero__promo-price-current {
	display: inline-flex;
	gap: 5px;
	align-items: baseline;
	white-space: nowrap;
}

.ruibosu-product-hero__promo-price small {
	color: var(--ruibosu-muted);
	font-size: 0.74rem;
	font-weight: 650;
	line-height: 1;
}

.ruibosu-product-hero__promo-price del {
	color: var(--ruibosu-muted);
	font-size: 0.92rem;
}

.ruibosu-product-hero__promo-price-current {
	color: var(--ruibosu-clay);
	font-size: 1.18rem;
	font-weight: 780;
}

.ruibosu-product-hero-v1.single-product div.product .product_meta {
	display: none;
}

.ruibosu-product-hero-v1.single-product div.product .woocommerce-tabs,
.ruibosu-product-hero-v1.single-product div.product .upsells,
.ruibosu-product-hero-v1.single-product div.product .related {
	grid-column: 1 / -1;
	width: 100%;
}

.ruibosu-product-proof {
	grid-column: 1 / -1;
	width: 100%;
	margin: 42px 0 64px;
	border-top: 1px solid var(--ruibosu-line);
}

.ruibosu-product-proof__inner {
	display: grid;
	gap: 0;
}

.ruibosu-product-proof__block {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(28px, 5vw, 72px);
	align-items: center;
	min-width: 0;
	padding: clamp(48px, 7vw, 82px) 0;
	border-bottom: 1px solid var(--ruibosu-line);
}

.ruibosu-product-proof__content {
	width: 100%;
	max-width: none;
	min-width: 0;
}

.ruibosu-product-proof__eyebrow {
	margin: 0 0 12px;
	color: var(--ruibosu-clay);
	font-size: 0.78rem;
	font-weight: 780;
	line-height: 1.2;
	letter-spacing: 0;
}

.ruibosu-product-proof h2 {
	margin: 0;
	color: var(--ruibosu-ink);
	font-size: clamp(1.75rem, 3vw, 2.55rem);
	font-weight: 760;
	line-height: 1.15;
	letter-spacing: 0;
}

.ruibosu-product-proof__lead {
	margin: 16px 0 0;
	color: var(--ruibosu-ink);
	font-size: clamp(1.05rem, 1.4vw, 1.18rem);
	font-weight: 650;
	line-height: 1.75;
}

.ruibosu-product-proof__body {
	display: grid;
	gap: 16px;
	margin-top: 22px;
}

.ruibosu-product-proof__body p,
.ruibosu-product-proof__feature p {
	margin: 0;
	color: var(--ruibosu-muted);
	font-size: 1rem;
	line-height: 1.82;
}

.ruibosu-product-proof__media {
	display: grid;
	gap: 12px;
	min-width: 0;
	max-width: 100%;
}

.ruibosu-product-proof__media--pair {
	grid-template-columns: repeat(var(--ruibosu-grid-items, 2), minmax(0, 1fr));
}

.ruibosu-product-proof__media--trio {
	grid-template-columns: repeat(var(--ruibosu-grid-items, 3), minmax(0, 1fr));
}

.ruibosu-product-proof__figure {
	margin: 0;
	overflow: hidden;
	border: 1px solid var(--ruibosu-line);
	border-radius: 8px;
	background: #f1eee7;
}

.ruibosu-product-proof__image {
	display: block;
	width: 100%;
	height: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
}

.ruibosu-product-proof__media--pair .ruibosu-product-proof__image,
.ruibosu-product-proof__media--trio .ruibosu-product-proof__image {
	aspect-ratio: 1;
}

.ruibosu-product-proof__features {
	display: grid;
	gap: 18px;
	margin-top: 28px;
}

.ruibosu-product-proof__feature {
	display: grid;
	grid-template-columns: minmax(128px, 0.38fr) minmax(0, 0.62fr);
	gap: 18px;
	padding-top: 18px;
	border-top: 1px solid var(--ruibosu-line);
}

.ruibosu-product-proof__feature h3 {
	margin: 0;
	color: var(--ruibosu-ink);
	font-size: 1rem;
	font-weight: 740;
	line-height: 1.5;
}

.ruibosu-product-lifestyle {
	grid-column: 1 / -1;
	width: 100%;
	margin: 0 0 68px;
	padding: clamp(54px, 7vw, 84px) 0;
	border-bottom: 1px solid var(--ruibosu-line);
	background: var(--ruibosu-surface);
}

.ruibosu-product-lifestyle__inner {
	display: grid;
	gap: 34px;
}

.ruibosu-product-lifestyle__header {
	display: grid;
	gap: 12px;
	max-width: 680px;
}

.ruibosu-product-lifestyle__eyebrow {
	margin: 0;
	color: var(--ruibosu-clay);
	font-size: 0.78rem;
	font-weight: 780;
	line-height: 1.2;
	letter-spacing: 0;
}

.ruibosu-product-lifestyle h2 {
	margin: 0;
	color: var(--ruibosu-ink);
	font-size: clamp(1.85rem, 3vw, 2.65rem);
	font-weight: 760;
	line-height: 1.12;
	letter-spacing: 0;
}

.ruibosu-product-lifestyle__header p:last-child {
	margin: 0;
	color: var(--ruibosu-muted);
	font-size: 1.05rem;
	line-height: 1.75;
}

.ruibosu-product-lifestyle__grid {
	display: grid;
	grid-template-columns: repeat(var(--ruibosu-grid-items, 4), minmax(0, 1fr));
	gap: 12px;
}

.ruibosu-product-lifestyle__card {
	display: grid;
	gap: 12px;
	margin: 0;
	min-width: 0;
}

.ruibosu-product-lifestyle__figure {
	margin: 0;
	overflow: hidden;
	border: 1px solid var(--ruibosu-line);
	border-radius: 8px;
	background: #f1eee7;
}

.ruibosu-product-lifestyle__image {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
}

.ruibosu-product-lifestyle__card p {
	margin: 0;
	color: var(--ruibosu-ink);
	font-size: 0.98rem;
	font-weight: 720;
	line-height: 1.45;
}

.ruibosu-product-trust {
	grid-column: 1 / -1;
	width: 100%;
	margin: 0 0 72px;
	padding: clamp(54px, 7vw, 84px) 0 0;
	border-bottom: 1px solid var(--ruibosu-line);
}

.ruibosu-product-trust__inner {
	display: grid;
	gap: clamp(48px, 6vw, 72px);
}

.ruibosu-product-trust__header {
	display: grid;
	gap: 10px;
	max-width: 680px;
	margin-bottom: 24px;
}

.ruibosu-product-trust__eyebrow {
	margin: 0;
	color: var(--ruibosu-clay);
	font-size: 0.78rem;
	font-weight: 780;
	line-height: 1.2;
	letter-spacing: 0;
}

.ruibosu-product-trust h2 {
	margin: 0;
	color: var(--ruibosu-ink);
	font-size: clamp(1.85rem, 3vw, 2.65rem);
	font-weight: 760;
	line-height: 1.12;
	letter-spacing: 0;
}

.ruibosu-product-care,
.ruibosu-product-faq,
.ruibosu-product-color-system {
	padding-bottom: clamp(48px, 6vw, 72px);
	border-bottom: 1px solid var(--ruibosu-line);
}

.ruibosu-product-color-system {
	border-bottom: 0;
}

.ruibosu-product-care__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.ruibosu-product-care__panel {
	min-width: 0;
	padding: clamp(22px, 3vw, 30px);
	border: 1px solid var(--ruibosu-line);
	border-radius: 8px;
	background: var(--ruibosu-surface);
}

.ruibosu-product-care__panel h3 {
	margin: 0 0 14px;
	color: var(--ruibosu-ink);
	font-size: 1.06rem;
	font-weight: 760;
	line-height: 1.35;
}

.ruibosu-product-care__panel p,
.ruibosu-product-care__panel li,
.ruibosu-product-faq details p {
	color: var(--ruibosu-muted);
	font-size: 1rem;
	line-height: 1.78;
}

.ruibosu-product-care__panel p {
	margin: 0 0 12px;
}

.ruibosu-product-care__panel p:last-child {
	margin-bottom: 0;
}

.ruibosu-product-care__panel ul {
	display: grid;
	gap: 8px;
	margin: 12px 0 0;
	padding: 0;
	list-style: none;
}

.ruibosu-product-care__panel li {
	position: relative;
	margin: 0;
	padding-left: 20px;
}

.ruibosu-product-care__panel li::before {
	content: "";
	position: absolute;
	top: 0.82em;
	left: 0;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--ruibosu-sage);
	transform: translateY(-50%);
}

.ruibosu-product-faq__list {
	border-top: 1px solid var(--ruibosu-line);
}

.ruibosu-product-faq details {
	border-bottom: 1px solid var(--ruibosu-line);
	background: transparent;
}

.ruibosu-product-faq summary {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 24px;
	gap: 18px;
	align-items: center;
	min-height: 64px;
	color: var(--ruibosu-ink);
	font-size: 1.02rem;
	font-weight: 720;
	line-height: 1.5;
	cursor: pointer;
	list-style: none;
}

.ruibosu-product-faq summary::-webkit-details-marker {
	display: none;
}

.ruibosu-product-faq summary::after {
	content: "+";
	justify-self: end;
	color: var(--ruibosu-muted);
	font-size: 1.2rem;
	font-weight: 520;
	line-height: 1;
}

.ruibosu-product-faq details[open] summary::after {
	content: "-";
}

.ruibosu-product-faq details p {
	max-width: 760px;
	margin: -4px 0 22px;
}

.ruibosu-product-color-system__grid {
	display: grid;
	grid-template-columns: repeat(var(--ruibosu-grid-columns, 4), minmax(0, 1fr));
	gap: 14px;
}

.ruibosu-product-color-system__item {
	display: grid;
	gap: 10px;
	min-width: 0;
	margin: 0;
}

.ruibosu-product-color-system__link {
	display: grid;
	gap: 10px;
	min-width: 0;
	color: inherit;
	text-decoration: none;
}

.ruibosu-product-color-system__link:hover p,
.ruibosu-product-color-system__link:focus p {
	color: var(--ruibosu-clay);
}

.ruibosu-product-color-system__item figure {
	display: grid;
	place-items: center;
	margin: 0;
	overflow: hidden;
	aspect-ratio: 1;
	border: 1px solid var(--ruibosu-line);
	border-radius: 8px;
	background: #f1eee7;
}

.ruibosu-product-color-system__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 10px;
}

.ruibosu-product-color-system__item p {
	margin: 0;
	color: var(--ruibosu-ink);
	font-size: 0.96rem;
	font-weight: 720;
	line-height: 1.45;
}

.ruibosu-product-color-system__item p span,
.ruibosu-product-color-system__item p small {
	display: block;
}

.ruibosu-product-color-system__item p small {
	margin-top: 3px;
	color: var(--ruibosu-muted);
	font-size: 0.82rem;
	font-weight: 650;
	line-height: 1.35;
}

.woocommerce-message,
.woocommerce-info {
	transition:
		opacity 0.22s ease,
		transform 0.22s ease,
		max-height 0.22s ease,
		margin 0.22s ease,
		padding 0.22s ease;
	will-change: opacity, transform, max-height;
}

.ruibosu-wc-notice--leaving {
	overflow: hidden;
	margin-top: 0 !important;
	margin-bottom: 0 !important;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
	opacity: 0;
	pointer-events: none;
	transform: translateY(-6px);
}

.ruibosu-product-hero-v1.single-product div.product .woocommerce-product-gallery,
.ruibosu-product-hero-v1.single-product div.product .woocommerce-product-gallery .flex-viewport {
	overflow: hidden !important;
	max-width: 100%;
}

.ruibosu-product-hero-v1.single-product div.product .woocommerce-product-gallery__wrapper {
	max-width: none !important;
}

.ruibosu-product-hero-v1.single-product div.product .woocommerce-product-gallery .flex-viewport {
	min-height: clamp(540px, 48vw, 720px);
	border: 1px solid var(--ruibosu-line);
	border-radius: 8px;
	background: linear-gradient(180deg, #fbf8f1 0%, #eee8dd 100%);
}

.woocommerce-checkout form.checkout #billing_country_field,
.woocommerce-checkout form.checkout #billing_state_field,
.woocommerce-checkout form.checkout #shipping_country_field,
.woocommerce-checkout form.checkout #shipping_state_field {
	display: block;
	float: none;
	clear: both;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

.woocommerce-checkout form.checkout #billing_country_field select,
.woocommerce-checkout form.checkout #billing_state_field select,
.woocommerce-checkout form.checkout #shipping_country_field select,
.woocommerce-checkout form.checkout #shipping_state_field select,
.woocommerce-checkout form.checkout #billing_country_field input,
.woocommerce-checkout form.checkout #billing_state_field input,
.woocommerce-checkout form.checkout #shipping_country_field input,
.woocommerce-checkout form.checkout #shipping_state_field input,
.woocommerce-checkout form.checkout #billing_country_field .woocommerce-input-wrapper,
.woocommerce-checkout form.checkout #billing_state_field .woocommerce-input-wrapper,
.woocommerce-checkout form.checkout #shipping_country_field .woocommerce-input-wrapper,
.woocommerce-checkout form.checkout #shipping_state_field .woocommerce-input-wrapper,
.woocommerce-checkout form.checkout #billing_country_field .select2-container,
.woocommerce-checkout form.checkout #billing_state_field .select2-container,
.woocommerce-checkout form.checkout #shipping_country_field .select2-container,
.woocommerce-checkout form.checkout #shipping_state_field .select2-container {
	display: block;
	width: 100% !important;
	max-width: 100%;
	min-width: 0;
	box-sizing: border-box;
}

.woocommerce-checkout form.checkout .form-row select,
.woocommerce-checkout form.checkout .form-row input.input-text,
.woocommerce-checkout form.checkout .form-row .select2-container,
.woocommerce-checkout form.checkout .form-row .woocommerce-input-wrapper {
	display: block;
	width: 100% !important;
	max-width: 100%;
	min-width: 0;
	box-sizing: border-box;
}

.woocommerce-checkout form.checkout .form-row .select2-selection {
	width: 100%;
	box-sizing: border-box;
}

.woocommerce-checkout form.checkout .select2-container .selection {
	display: block;
	width: 100%;
}

.woocommerce-checkout form.checkout .select2-container .select2-selection--single {
	width: 100%;
	min-height: 48px;
	height: 48px;
	border-color: var(--ruibosu-line);
	border-radius: 4px;
	box-sizing: border-box;
}

.woocommerce-checkout form.checkout .form-row select,
.woocommerce-checkout form.checkout .form-row input.input-text {
	min-height: 48px;
	padding-right: 14px;
	padding-left: 14px;
	border-color: var(--ruibosu-line);
	border-radius: 4px;
	box-sizing: border-box;
}

.woocommerce-checkout form.checkout .select2-container .select2-selection--single .select2-selection__rendered {
	padding-right: 38px;
	padding-left: 14px;
	line-height: 48px;
}

.woocommerce-checkout form.checkout .select2-container .select2-selection--single .select2-selection__arrow {
	height: 48px;
}

.ruibosu-order-received .entry-title,
.ruibosu-order-received .woocommerce-thankyou-order-received,
.ruibosu-order-received .woocommerce-customer-details {
	display: none;
}

.ruibosu-order-received .site-main {
	padding-top: 0;
}

.ruibosu-order-received .content-area {
	float: none;
	width: 100%;
	margin-right: 0;
}

.ruibosu-order-received .woocommerce-order {
	width: 100%;
	max-width: 980px;
	margin: 0 auto 68px;
	color: var(--ruibosu-ink);
}

.ruibosu-order-confirmation {
	margin: clamp(24px, 4vw, 48px) 0 22px;
	padding: 0 0 24px;
	border-bottom: 1px solid var(--ruibosu-line);
}

.ruibosu-order-confirmation__eyebrow {
	margin: 0 0 12px;
	color: var(--ruibosu-clay);
	font-size: 0.78rem;
	font-weight: 780;
	line-height: 1.2;
	letter-spacing: 0;
	text-transform: uppercase;
}

.ruibosu-order-confirmation h1 {
	margin: 0 0 14px;
	color: var(--ruibosu-ink);
	font-size: clamp(2rem, 4.2vw, 3.3rem);
	font-weight: 760;
	line-height: 1.08;
	letter-spacing: 0;
}

.ruibosu-order-confirmation p {
	max-width: 680px;
	margin: 0 0 8px;
	color: var(--ruibosu-muted);
	font-size: 1rem;
	line-height: 1.75;
}

.ruibosu-order-confirmation__lead {
	color: var(--ruibosu-ink) !important;
	font-size: 1.14rem !important;
	font-weight: 720;
}

.ruibosu-order-received .woocommerce-order-overview {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 0;
	margin: 0 0 32px;
	padding: 18px 0;
	border-top: 1px solid var(--ruibosu-line);
	border-bottom: 1px solid var(--ruibosu-line);
	list-style: none;
}

.ruibosu-order-received .woocommerce-order-overview li {
	float: none;
	min-width: 0;
	margin: 0;
	padding: 0 16px;
	border-right: 1px solid var(--ruibosu-line);
	color: var(--ruibosu-muted);
	font-size: 0.78rem;
	font-weight: 740;
	line-height: 1.45;
	letter-spacing: 0;
	text-transform: none;
}

.ruibosu-order-received .woocommerce-order-overview li:first-child {
	padding-left: 0;
}

.ruibosu-order-received .woocommerce-order-overview li:last-child {
	padding-right: 0;
	border-right: 0;
}

.ruibosu-order-received .woocommerce-order-overview strong {
	display: block;
	margin-top: 5px;
	color: var(--ruibosu-ink);
	font-size: 0.98rem;
	font-weight: 720;
	line-height: 1.45;
	word-break: break-word;
}

.ruibosu-order-received .woocommerce-order-details {
	margin: 34px 0 0;
}

.ruibosu-order-received .woocommerce-order-details__title,
.ruibosu-order-address h2 {
	margin: 0 0 16px;
	color: var(--ruibosu-ink);
	font-size: 1.22rem;
	font-weight: 760;
	line-height: 1.25;
	letter-spacing: 0;
}

.ruibosu-order-received table.shop_table.order_details {
	width: 100%;
	margin: 0;
	overflow: hidden;
	border: 1px solid var(--ruibosu-line);
	border-collapse: separate;
	border-spacing: 0;
	border-radius: 8px;
	background: var(--ruibosu-surface);
}

.ruibosu-order-received table.shop_table.order_details th,
.ruibosu-order-received table.shop_table.order_details td {
	padding: 16px 18px;
	border: 0;
	border-bottom: 1px solid var(--ruibosu-line);
	background: transparent;
	color: var(--ruibosu-ink);
	line-height: 1.55;
	vertical-align: top;
}

.ruibosu-order-received table.shop_table.order_details thead th {
	color: var(--ruibosu-muted);
	font-size: 0.86rem;
	font-weight: 740;
}

.ruibosu-order-received table.shop_table.order_details tbody tr:last-child td,
.ruibosu-order-received table.shop_table.order_details tfoot tr:last-child th,
.ruibosu-order-received table.shop_table.order_details tfoot tr:last-child td {
	border-bottom: 0;
}

.ruibosu-order-received table.shop_table.order_details .product-name {
	width: 66%;
}

.ruibosu-order-item__name,
.ruibosu-order-received table.shop_table.order_details .product-name > a {
	display: block;
	color: var(--ruibosu-ink);
	font-size: 1rem;
	font-weight: 740;
	text-decoration: none;
}

.ruibosu-order-item__qty {
	display: block;
	margin-top: 6px;
	color: var(--ruibosu-muted);
	font-size: 0.92rem;
	font-weight: 620;
}

.ruibosu-order-received table.shop_table.order_details .wc-item-meta {
	display: grid;
	gap: 4px;
	margin: 8px 0 0;
	padding: 0;
	color: var(--ruibosu-muted);
	font-size: 0.92rem;
	line-height: 1.55;
	list-style: none;
}

.ruibosu-order-received table.shop_table.order_details .wc-item-meta li {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	margin: 0;
}

.ruibosu-order-received table.shop_table.order_details .wc-item-meta p,
.ruibosu-order-received table.shop_table.order_details .wc-item-meta strong {
	margin: 0;
	color: inherit;
	font-size: inherit;
	line-height: inherit;
}

.ruibosu-order-received table.shop_table.order_details tfoot th {
	color: var(--ruibosu-muted);
	font-weight: 700;
}

.ruibosu-order-received table.shop_table.order_details tfoot td {
	text-align: right;
	font-weight: 720;
}

.ruibosu-order-address {
	margin: 34px 0 0;
	padding-top: 26px;
	border-top: 1px solid var(--ruibosu-line);
}

.ruibosu-order-address dl {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px 28px;
	margin: 0;
}

.ruibosu-order-address dl > div {
	min-width: 0;
	padding-top: 14px;
	border-top: 1px solid var(--ruibosu-line);
}

.ruibosu-order-address dt {
	margin: 0 0 6px;
	color: var(--ruibosu-muted);
	font-size: 0.84rem;
	font-weight: 720;
	line-height: 1.35;
}

.ruibosu-order-address dd {
	margin: 0;
	color: var(--ruibosu-ink);
	font-size: 0.98rem;
	font-weight: 620;
	line-height: 1.65;
}

.ruibosu-order-address__formatted {
	word-break: break-word;
}

@media (min-width: 961px) {
	.ruibosu-product-hero-v1.single-product div.product .summary {
		position: sticky;
		top: 72px;
	}

	.ruibosu-product-proof__block--material,
	.ruibosu-product-proof__block--logo {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	}

	.ruibosu-product-proof__block--material .ruibosu-product-proof__content,
	.ruibosu-product-proof__block--logo .ruibosu-product-proof__content {
		order: 2;
		justify-self: end;
	}

	.ruibosu-product-proof__block--material .ruibosu-product-proof__media,
	.ruibosu-product-proof__block--logo .ruibosu-product-proof__media {
		order: 1;
	}
}

@media (max-width: 960px) {
	.ruibosu-header__inner {
		grid-template-columns: 44px minmax(0, 1fr) 44px;
		gap: 8px;
		justify-items: center;
		min-height: 68px;
	}

	.ruibosu-menu-toggle {
		display: inline-grid;
	}

	.ruibosu-desktop-nav {
		display: none;
	}

	.ruibosu-brand {
		justify-self: center;
	}

	.ruibosu-brand__name {
		font-size: 1rem;
	}

	.ruibosu-brand__logo {
		max-width: 124px;
	}

	.ruibosu-header__actions {
		justify-self: end;
		width: 44px;
		gap: 0;
	}

	.ruibosu-search-toggle,
	.ruibosu-account-link {
		display: none;
	}

	.ruibosu-shop-v2 .woocommerce-result-count,
	.ruibosu-shop-v2 .woocommerce-ordering {
		width: min(100%, 760px);
		padding-right: 24px;
		padding-left: 24px;
		text-align: left;
	}

	.ruibosu-shop-v2-hero,
	.ruibosu-shop-v2 .ruibosu-shop-v2-featured ul.products li.product {
		grid-template-columns: 1fr;
	}

	.ruibosu-shop-v2 .ruibosu-shop-v2-featured ul.products li.product {
		grid-template-areas:
			"media"
			"title"
			"details"
			"cta";
	}

	.ruibosu-shop-v2-hero {
		width: min(100%, 760px);
		gap: 28px;
		padding-top: 38px;
		padding-bottom: 28px;
	}

	.ruibosu-shop-v2-hero__media {
		min-height: 260px;
	}

	.ruibosu-shop-v2-featured,
	.ruibosu-shop-v2-benefits,
	.ruibosu-shop-v2-colors,
	.ruibosu-shop-v2-trust {
		width: min(100%, 760px);
	}

	.ruibosu-shop-v2-featured {
		padding-top: 34px;
		padding-bottom: 48px;
	}

	.ruibosu-shop-v2 .ruibosu-shop-v2-featured ul.products li.product {
		gap: 26px;
		padding: 22px;
	}

	.ruibosu-shop-v2-product__media {
		min-height: 300px;
	}

	.ruibosu-shop-v2-benefits__grid,
	.ruibosu-shop-v2-colors__grid {
		grid-template-columns: 1fr;
	}

	.ruibosu-shop-v2-trust {
		grid-template-columns: 1fr;
	}

	.ruibosu-mobile-nav {
		position: fixed;
		top: var(--ruibosu-mobile-nav-top, 68px);
		right: 0;
		left: 0;
		z-index: 30;
		height: var(--ruibosu-mobile-nav-height, calc(100vh - 68px));
		max-height: var(--ruibosu-mobile-nav-height, calc(100vh - 68px));
	}

	.ruibosu-hero__grid,
	.ruibosu-featured-product__grid,
	.ruibosu-lifestyle__grid,
	.ruibosu-construction__grid,
	.ruibosu-care__grid {
		grid-template-columns: 1fr;
	}

	.ruibosu-product-hero-v1.single-product .site-main {
		padding-top: 0;
	}

	.ruibosu-product-hero-v1.single-product .storefront-breadcrumb {
		display: none;
	}

	.ruibosu-product-hero-v1.single-product div.product {
		grid-template-columns: 1fr;
		gap: 18px;
		margin-top: 14px;
		margin-bottom: 38px;
	}

	.ruibosu-product-hero-v1.single-product div.product .summary {
		padding: 20px;
	}

	.ruibosu-product-proof {
		margin: 34px 0 50px;
	}

	.ruibosu-product-proof__block {
		grid-template-columns: 1fr;
		gap: 24px;
		padding: 44px 0;
	}

	.ruibosu-product-proof__content {
		max-width: none;
	}

	.ruibosu-product-proof__media--pair,
	.ruibosu-product-proof__media--trio {
		grid-template-columns: 1fr;
	}

	.ruibosu-product-proof__feature {
		grid-template-columns: 1fr;
		gap: 8px;
	}

	.ruibosu-product-lifestyle {
		margin-bottom: 50px;
		padding: 46px 0;
	}

	.ruibosu-product-lifestyle__grid {
		grid-template-columns: 1fr;
	}

	.ruibosu-product-trust {
		margin-bottom: 50px;
		padding-top: 46px;
	}

	.ruibosu-product-trust__inner {
		gap: 44px;
	}

	.ruibosu-product-care,
	.ruibosu-product-faq,
	.ruibosu-product-color-system {
		padding-bottom: 44px;
	}

	.ruibosu-product-care__grid {
		grid-template-columns: 1fr;
	}

	.ruibosu-product-color-system__grid {
		grid-template-columns: repeat(var(--ruibosu-grid-tablet-columns, 3), minmax(0, 1fr));
	}

	.ruibosu-product-hero-v1.single-product div.product .woocommerce-product-gallery__image {
		aspect-ratio: 1;
		min-height: 0;
	}

	.ruibosu-product-hero-v1.single-product div.product .woocommerce-product-gallery .flex-viewport {
		min-height: 0;
		aspect-ratio: 1;
	}

	.ruibosu-product-hero-v1.single-product div.product .woocommerce-product-gallery__image img {
		transform: none;
	}

	.ruibosu-hero__grid {
		gap: 28px;
		min-height: 0;
		padding-top: 46px;
		padding-bottom: 46px;
	}

	.ruibosu-hero h1 {
		font-size: 3rem;
	}

	.ruibosu-hero__lead {
		font-size: 1.35rem;
	}

	.ruibosu-hero__price {
		margin-bottom: 22px;
		font-size: 1.32rem;
	}

	.ruibosu-hero__colors {
		display: block;
		margin: 12px 0 0;
		color: var(--ruibosu-muted);
		font-size: 0.94rem;
		font-weight: 650;
		line-height: 1.45;
	}

	.ruibosu-hero__visual {
		min-height: 300px;
	}

	.ruibosu-featured-product__media,
	.ruibosu-lifestyle__visual {
		min-height: 330px;
	}

	.ruibosu-featured-product__grid {
		gap: 32px;
	}

	.ruibosu-benefits__grid,
	.ruibosu-care__columns,
	.ruibosu-footer__grid {
		grid-template-columns: 1fr;
	}

	.ruibosu-section {
		padding: 58px 0;
	}
}

@media (max-width: 640px) {
	.ruibosu-shell,
	.site-footer .col-full {
		padding-right: 18px;
		padding-left: 18px;
	}

	.ruibosu-announcement {
		font-size: 0.82rem;
	}

	.ruibosu-shop-v2 .woocommerce-result-count,
	.ruibosu-shop-v2 .woocommerce-ordering,
	.ruibosu-shop-v2-hero,
	.ruibosu-shop-v2-featured,
	.ruibosu-shop-v2-benefits,
	.ruibosu-shop-v2-colors,
	.ruibosu-shop-v2-trust {
		padding-right: 18px;
		padding-left: 18px;
	}

	.ruibosu-shop-v2-hero {
		gap: 22px;
		padding-top: 32px;
		padding-bottom: 22px;
	}

	.ruibosu-shop-v2-hero h1 {
		font-size: 2rem;
	}

	.ruibosu-shop-v2-hero__tagline {
		font-size: 1.02rem;
	}

	.ruibosu-shop-v2-hero__body {
		font-size: 0.96rem;
		line-height: 1.68;
	}

	.ruibosu-shop-v2-hero__media {
		min-height: 220px;
	}

	.ruibosu-shop-v2-button,
	.ruibosu-shop-v2 .button.ruibosu-shop-v2-product__cta {
		width: 100%;
		min-height: 50px;
		white-space: normal;
	}

	.ruibosu-shop-v2-featured {
		padding-top: 30px;
		padding-bottom: 42px;
	}

	.ruibosu-shop-v2 .ruibosu-shop-v2-featured ul.products li.product {
		gap: 20px;
		padding: 18px;
	}

	.ruibosu-shop-v2-product__media {
		min-height: 250px;
	}

	.ruibosu-shop-v2-product__image {
		padding: 16px;
	}

	.ruibosu-shop-v2 .ruibosu-shop-v2-product__title {
		font-size: 1.7rem;
	}

	.ruibosu-shop-v2-product__details {
		gap: 10px;
		margin-top: 0;
	}

	.ruibosu-shop-v2-product__price {
		font-size: 1.62rem;
	}

	.ruibosu-shop-v2-benefits,
	.ruibosu-shop-v2-colors {
		padding-top: 44px;
		padding-bottom: 44px;
	}

	.ruibosu-shop-v2-section-heading {
		margin-bottom: 22px;
	}

	.ruibosu-shop-v2-section-heading h2 {
		font-size: 1.6rem;
	}

	.ruibosu-shop-v2-benefits__grid,
	.ruibosu-shop-v2-colors__grid {
		gap: 12px;
	}

	.ruibosu-shop-v2-benefits__grid article {
		padding: 20px;
	}

	.ruibosu-shop-v2-color figure {
		aspect-ratio: 4 / 3;
	}

	.ruibosu-shop-v2-trust {
		padding-bottom: 44px;
	}

	.ruibosu-brand__mark {
		width: 34px;
		height: 34px;
	}

	.ruibosu-hero__grid {
		gap: 22px;
		padding-top: 36px;
		padding-bottom: 38px;
	}

	.ruibosu-hero h1 {
		font-size: 2.45rem;
	}

	.ruibosu-hero__lead {
		font-size: 1.2rem;
	}

	.ruibosu-hero__product {
		font-size: 1.02rem;
	}

	.ruibosu-hero__price {
		margin-bottom: 20px;
		font-size: 1.24rem;
	}

	.ruibosu-hero__colors {
		margin-top: 10px;
		font-size: 0.9rem;
	}

	.ruibosu-hero__visual {
		min-height: 240px;
	}

	.ruibosu-hero .ruibosu-cap-visual {
		width: min(70%, 300px);
		height: 178px;
	}

	.ruibosu-featured-product {
		padding-top: 44px;
		padding-bottom: 46px;
	}

	.ruibosu-featured-product__grid {
		gap: 24px;
	}

	.ruibosu-featured-product__media {
		min-height: 280px;
	}

	.ruibosu-featured-product__image {
		max-height: 310px;
		padding: 18px;
	}

	.ruibosu-featured-product__price {
		margin-top: 14px;
	}

	.ruibosu-featured-product__stock {
		min-height: 0;
		margin-bottom: 14px;
	}

	.ruibosu-featured-product__reasons {
		gap: 8px;
		margin: 14px 0 20px;
	}

	.ruibosu-featured-product h2,
	.ruibosu-section-heading h2,
	.ruibosu-lifestyle h2,
	.ruibosu-construction h2,
	.ruibosu-care h2 {
		font-size: 1.7rem;
	}

	.ruibosu-product-hero-v1.single-product div.product .product_title {
		font-size: 1.62rem;
	}

	.ruibosu-product-hero__positioning {
		margin-bottom: 12px;
		font-size: 0.96rem;
		line-height: 1.6;
	}

	.ruibosu-product-hero-v1.single-product div.product .summary .price {
		margin-bottom: 16px;
		font-size: 1.72rem;
	}

	.ruibosu-product-hero__highlights {
		gap: 10px;
		margin-bottom: 18px;
		padding: 14px;
	}

	.ruibosu-product-hero__highlights ul {
		grid-template-columns: 1fr;
		gap: 8px;
	}

	.ruibosu-product-hero__highlights li {
		font-size: 0.95rem;
	}

	.ruibosu-product-hero-v1.single-product div.product .woocommerce-product-gallery .flex-control-thumbs {
		gap: 8px !important;
	}

	.ruibosu-product-hero-v1.single-product div.product .woocommerce-product-gallery .flex-control-thumbs li {
		flex: 0 0 70px !important;
		width: 70px !important;
		min-width: 70px !important;
		max-width: 70px;
		height: 70px;
	}

	.ruibosu-product-hero-v1.single-product div.product .woocommerce-product-gallery .flex-control-thumbs img {
		width: 70px !important;
		height: 70px !important;
	}

	.ruibosu-product-hero-v1.single-product div.product form.cart .woocommerce-variation-add-to-cart {
		flex-direction: column;
		gap: 8px;
	}

	.ruibosu-product-hero-v1.single-product div.product form.cart div.quantity {
		display: flex;
		width: 100%;
		margin: 0 0 10px;
	}

	.ruibosu-product-hero-v1.single-product div.product form.cart .quantity .qty {
		width: 100%;
	}

	.ruibosu-product-hero-v1.single-product div.product form.cart .single_add_to_cart_button {
		width: 100%;
	}

	.ruibosu-product-hero__trust {
		grid-template-columns: 1fr;
	}

	.ruibosu-product-hero__trust p {
		grid-template-columns: 1fr;
		gap: 2px;
	}

	.ruibosu-product-hero__promo {
		grid-template-columns: 1fr;
		align-items: flex-start;
	}

	.ruibosu-product-hero__promo-price {
		justify-content: flex-start;
		width: 100%;
		flex-wrap: wrap;
	}

	.ruibosu-product-trust__header {
		margin-bottom: 20px;
	}

	.ruibosu-product-trust h2 {
		font-size: 1.7rem;
	}

	.ruibosu-product-care__panel {
		padding: 20px;
	}

	.ruibosu-product-faq summary {
		min-height: 58px;
		font-size: 0.98rem;
	}

	.ruibosu-product-color-system__grid {
		grid-template-columns: repeat(var(--ruibosu-grid-mobile-columns, 2), minmax(0, 1fr));
		gap: 12px;
	}

	.ruibosu-product-color-system__image {
		padding: 8px;
	}

	.ruibosu-detail-list__item {
		grid-template-columns: 1fr;
		gap: 6px;
	}

	.ruibosu-order-received .woocommerce-order {
		margin-bottom: 48px;
	}

	.ruibosu-order-confirmation {
		margin-top: 24px;
		padding-bottom: 20px;
	}

	.ruibosu-order-received .woocommerce-order-overview {
		grid-template-columns: 1fr;
		margin-bottom: 26px;
		padding: 0;
	}

	.ruibosu-order-received .woocommerce-order-overview li {
		padding: 13px 0;
		border-right: 0;
		border-bottom: 1px solid var(--ruibosu-line);
	}

	.ruibosu-order-received .woocommerce-order-overview li:last-child {
		padding-bottom: 13px;
		border-bottom: 0;
	}

	.ruibosu-order-received table.shop_table.order_details th,
	.ruibosu-order-received table.shop_table.order_details td {
		padding: 14px;
	}

	.ruibosu-order-received table.shop_table.order_details .product-name {
		width: auto;
	}

	.ruibosu-order-address dl {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.ruibosu-button {
		width: 100%;
		min-height: 50px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ruibosu-theme *,
	.ruibosu-theme *::before,
	.ruibosu-theme *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}

/* About RUIBOSU page */
.ruibosu-about-page.site-main {
	padding-top: 0;
	background: var(--ruibosu-paper);
}

.ruibosu-about-page .ruibosu-about {
	background: var(--ruibosu-paper);
}

.ruibosu-about-page .ruibosu-about__hero,
.ruibosu-about-page .ruibosu-about__section {
	width: 100%;
}

.ruibosu-about-page .ruibosu-about__hero {
	padding: 48px 0 60px;
	background: var(--ruibosu-surface);
	border-bottom: 1px solid var(--ruibosu-line);
}

.ruibosu-about-page .ruibosu-about__section {
	padding: 72px 0;
	border-top: 1px solid var(--ruibosu-line);
}

.ruibosu-about-page .ruibosu-about__origin,
.ruibosu-about-page .ruibosu-about__statement {
	background: var(--ruibosu-surface);
}

.ruibosu-about-page .ruibosu-about__comfort,
.ruibosu-about-page .ruibosu-about__moments {
	background: var(--ruibosu-paper);
}

.ruibosu-about-page .ruibosu-about__hero-grid,
.ruibosu-about-page .ruibosu-about__split,
.ruibosu-about-page .ruibosu-about__moments-grid,
.ruibosu-about-page .ruibosu-about__statement-grid {
	display: grid;
	gap: 32px;
	align-items: center;
}

.ruibosu-about-page .ruibosu-about__hero-grid {
	grid-template-columns: minmax(0, 0.94fr) minmax(340px, 1.06fr);
}

.ruibosu-about-page .ruibosu-about__split,
.ruibosu-about-page .ruibosu-about__moments-grid,
.ruibosu-about-page .ruibosu-about__statement-grid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ruibosu-about-page .ruibosu-about__hero-content,
.ruibosu-about-page .ruibosu-about__copy,
.ruibosu-about-page .ruibosu-about__moments-copy,
.ruibosu-about-page .ruibosu-about__statement-copy {
	min-width: 0;
}

.ruibosu-about-page .ruibosu-about__hero-content {
	max-width: 580px;
}

.ruibosu-about-page .ruibosu-about__eyebrow,
.ruibosu-about-page .ruibosu-about__index {
	margin: 0 0 12px;
	color: var(--ruibosu-clay);
	font-size: 0.78rem;
	font-weight: 780;
	line-height: 1.3;
	text-transform: uppercase;
}

.ruibosu-about-page .ruibosu-about__section-heading {
	max-width: 700px;
	margin-bottom: 28px;
}

.ruibosu-about-page .ruibosu-about__section-heading h2,
.ruibosu-about-page .ruibosu-about__hero h1 {
	margin: 0;
	color: var(--ruibosu-ink);
	font-weight: 780;
	line-height: 1.08;
	letter-spacing: 0;
}

.ruibosu-about-page .ruibosu-about__hero h1 {
	font-size: clamp(2.3rem, 4vw, 3.45rem);
}

.ruibosu-about-page .ruibosu-about__section-heading h2 {
	font-size: clamp(1.8rem, 3vw, 2.45rem);
}

.ruibosu-about-page .ruibosu-about__subtitle,
.ruibosu-about-page .ruibosu-about__lead,
.ruibosu-about-page .ruibosu-about__body,
.ruibosu-about-page .ruibosu-about__product-name {
	margin: 0;
}

.ruibosu-about-page .ruibosu-about__lead {
	margin-top: 14px;
	color: var(--ruibosu-ink);
	font-size: 1.14rem;
	font-weight: 720;
	line-height: 1.45;
}

.ruibosu-about-page .ruibosu-about__body {
	margin-top: 14px;
	color: var(--ruibosu-muted);
	font-size: 1rem;
	line-height: 1.78;
}

.ruibosu-about-page .ruibosu-about__product-name {
	margin-top: 18px;
	color: var(--ruibosu-ink);
	font-size: 1.02rem;
	font-weight: 760;
	line-height: 1.35;
}

.ruibosu-about-page .ruibosu-about__subtitle {
	margin-top: 12px;
	color: var(--ruibosu-muted);
	font-size: 1rem;
	line-height: 1.65;
}

.ruibosu-about-page .ruibosu-about__hero-media,
.ruibosu-about-page .ruibosu-about__media,
.ruibosu-about-page .ruibosu-about__feature-media,
.ruibosu-about-page .ruibosu-about__card-media {
	display: grid;
	place-items: center;
	margin: 0;
	overflow: hidden;
	border: 1px solid var(--ruibosu-line);
	border-radius: 8px;
	background:
		linear-gradient(180deg, rgba(255, 253, 248, 0.76), rgba(212, 195, 158, 0.22)),
		#f1eee7;
}

.ruibosu-about-page .ruibosu-about__hero-media {
	aspect-ratio: 4 / 3;
	min-height: 320px;
}

.ruibosu-about-page .ruibosu-about__media {
	aspect-ratio: 1 / 1;
	min-height: 360px;
}

.ruibosu-about-page .ruibosu-about__feature-media,
.ruibosu-about-page .ruibosu-about__card-media {
	aspect-ratio: 4 / 3;
	min-height: 0;
}

.ruibosu-about-page .ruibosu-about__gallery-item,
.ruibosu-about-page .ruibosu-about__palette-item {
	margin: 0;
	border: 1px solid var(--ruibosu-line);
	border-radius: 8px;
	background: var(--ruibosu-surface);
}

.ruibosu-about-page .ruibosu-about__image {
	display: block;
	width: 100%;
	height: 100%;
}

.ruibosu-about-page .ruibosu-about__image--cover {
	object-fit: cover;
}

.ruibosu-about-page .ruibosu-about__image--contain {
	object-fit: contain;
	padding: 18px;
}

.ruibosu-about-page .ruibosu-about__feature-list {
	display: grid;
	gap: 18px;
}

.ruibosu-about-page .ruibosu-about__feature {
	display: grid;
	grid-template-areas: "media copy";
	grid-template-columns: minmax(280px, 0.92fr) minmax(0, 1.08fr);
	gap: 24px;
	align-items: center;
	padding: 22px;
	border: 1px solid var(--ruibosu-line);
	border-radius: 8px;
	background: var(--ruibosu-surface);
}

.ruibosu-about-page .ruibosu-about__feature--reverse {
	grid-template-areas: "copy media";
}

.ruibosu-about-page .ruibosu-about__feature-media {
	grid-area: media;
}

.ruibosu-about-page .ruibosu-about__feature-copy {
	grid-area: copy;
	min-width: 0;
	max-width: 540px;
}

.ruibosu-about-page .ruibosu-about__feature-copy h3,
.ruibosu-about-page .ruibosu-about__card h3 {
	margin: 0;
	color: var(--ruibosu-ink);
	font-size: 1.08rem;
	font-weight: 760;
	line-height: 1.35;
}

.ruibosu-about-page .ruibosu-about__feature-copy h3 small,
.ruibosu-about-page .ruibosu-about__card h3 small {
	display: block;
	margin-top: 4px;
	color: var(--ruibosu-muted);
	font-size: 0.82rem;
	font-weight: 650;
	line-height: 1.35;
}

.ruibosu-about-page .ruibosu-about__feature-copy p:last-child,
.ruibosu-about-page .ruibosu-about__card span {
	display: block;
	margin: 14px 0 0;
	color: var(--ruibosu-muted);
	font-size: 0.98rem;
	line-height: 1.75;
}

.ruibosu-about-page .ruibosu-about__card-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
}

.ruibosu-about-page .ruibosu-about__card {
	min-width: 0;
	padding: 18px;
	border: 1px solid var(--ruibosu-line);
	border-radius: 8px;
	background: var(--ruibosu-surface);
}

.ruibosu-about-page .ruibosu-about__card-media {
	margin-bottom: 16px;
}

.ruibosu-about-page .ruibosu-about__gallery {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.ruibosu-about-page .ruibosu-about__gallery-item,
.ruibosu-about-page .ruibosu-about__palette-item {
	display: grid;
	gap: 12px;
	padding: 12px;
}

.ruibosu-about-page .ruibosu-about__gallery-item .ruibosu-about__image {
	aspect-ratio: 4 / 5;
	min-height: 280px;
}

.ruibosu-about-page .ruibosu-about__palette {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}

.ruibosu-about-page .ruibosu-about__palette-item .ruibosu-about__image {
	aspect-ratio: 1;
	min-height: 0;
	padding: 10px;
}

.ruibosu-about-page .ruibosu-about__gallery-item figcaption,
.ruibosu-about-page .ruibosu-about__palette-item figcaption {
	color: var(--ruibosu-muted);
	font-size: 0.9rem;
	line-height: 1.4;
}

.ruibosu-about-page .ruibosu-about__cta {
	margin-top: 24px;
}

@media (max-width: 960px) {
	.ruibosu-about-page .ruibosu-about__hero {
		padding: 38px 0 48px;
	}

	.ruibosu-about-page .ruibosu-about__section {
		padding: 56px 0;
	}

	.ruibosu-about-page .ruibosu-about__hero-grid,
	.ruibosu-about-page .ruibosu-about__split,
	.ruibosu-about-page .ruibosu-about__moments-grid,
	.ruibosu-about-page .ruibosu-about__statement-grid {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.ruibosu-about-page .ruibosu-about__card-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ruibosu-about-page .ruibosu-about__gallery {
		grid-template-columns: 1fr;
	}

	.ruibosu-about-page .ruibosu-about__hero-media {
		min-height: 260px;
	}

	.ruibosu-about-page .ruibosu-about__media {
		min-height: 300px;
	}

	.ruibosu-about-page .ruibosu-about__feature {
		grid-template-areas:
			"media"
			"copy";
		grid-template-columns: 1fr;
	}

	.ruibosu-about-page .ruibosu-about__feature--reverse {
		grid-template-areas:
			"media"
			"copy";
	}

	.ruibosu-about-page .ruibosu-about__feature-copy {
		max-width: none;
	}
}

@media (max-width: 640px) {
	.ruibosu-about-page .ruibosu-about__hero {
		padding: 30px 0 40px;
	}

	.ruibosu-about-page .ruibosu-about__section {
		padding: 42px 0;
	}

	.ruibosu-about-page .ruibosu-about__hero h1 {
		font-size: 2.1rem;
	}

	.ruibosu-about-page .ruibosu-about__section-heading h2 {
		font-size: 1.58rem;
	}

	.ruibosu-about-page .ruibosu-about__lead {
		font-size: 1rem;
	}

	.ruibosu-about-page .ruibosu-about__body {
		font-size: 0.96rem;
		line-height: 1.72;
	}

	.ruibosu-about-page .ruibosu-about__hero-media {
		min-height: 220px;
	}

	.ruibosu-about-page .ruibosu-about__media {
		min-height: 240px;
	}

	.ruibosu-about-page .ruibosu-about__feature,
	.ruibosu-about-page .ruibosu-about__card {
		padding: 16px;
	}

	.ruibosu-about-page .ruibosu-about__card-grid {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.ruibosu-about-page .ruibosu-about__gallery {
		gap: 12px;
	}

	.ruibosu-about-page .ruibosu-about__gallery-item,
	.ruibosu-about-page .ruibosu-about__palette-item {
		padding: 10px;
	}

	.ruibosu-about-page .ruibosu-about__gallery-item .ruibosu-about__image {
		min-height: 220px;
	}

	.ruibosu-about-page .ruibosu-about__palette {
		gap: 8px;
	}

	.ruibosu-about-page .ruibosu-about__palette-item figcaption,
	.ruibosu-about-page .ruibosu-about__gallery-item figcaption {
		font-size: 0.84rem;
	}
}

/* V3 safe layout presets for configurable Shop and product brand modules. */
.ruibosu-image-frame.ruibosu-image-frame--ratio-16-9 {
	aspect-ratio: 16 / 9;
}

.ruibosu-shop-v2-benefits.ruibosu-layout--spacing-compact,
.ruibosu-shop-v2-colors.ruibosu-layout--spacing-compact {
	padding-top: 36px;
	padding-bottom: 36px;
}

.ruibosu-shop-v2-benefits.ruibosu-layout--spacing-loose,
.ruibosu-shop-v2-colors.ruibosu-layout--spacing-loose {
	padding-top: 76px;
	padding-bottom: 76px;
}

.ruibosu-shop-v2-trust.ruibosu-layout--spacing-compact {
	padding-bottom: 36px;
}

.ruibosu-shop-v2-trust.ruibosu-layout--spacing-loose {
	padding-bottom: 84px;
}

.ruibosu-shop-v2-benefits__grid.ruibosu-layout--columns-2,
.ruibosu-shop-v2-colors__grid.ruibosu-layout--columns-2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ruibosu-shop-v2-benefits__grid.ruibosu-layout--columns-3,
.ruibosu-shop-v2-colors__grid.ruibosu-layout--columns-3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ruibosu-shop-v2-benefits__grid.ruibosu-layout--columns-4,
.ruibosu-shop-v2-colors__grid.ruibosu-layout--columns-4,
.ruibosu-shop-v2-trust.ruibosu-layout--columns-4 {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ruibosu-shop-v2-trust.ruibosu-layout--columns-2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ruibosu-shop-v2-trust.ruibosu-layout--columns-3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ruibosu-shop-v2-benefits__grid.ruibosu-layout--image-size-compact article figure,
.ruibosu-shop-v2-colors__grid.ruibosu-layout--image-size-compact article figure,
.ruibosu-shop-v2-trust.ruibosu-layout--image-size-compact figure {
	max-width: 82%;
	margin-right: auto;
	margin-left: auto;
}

.ruibosu-shop-v2-benefits__grid.ruibosu-layout--image-size-large article figure,
.ruibosu-shop-v2-colors__grid.ruibosu-layout--image-size-large article figure,
.ruibosu-shop-v2-trust.ruibosu-layout--image-size-large figure,
.ruibosu-shop-v2-benefits__grid.ruibosu-layout--image-size-full article figure,
.ruibosu-shop-v2-colors__grid.ruibosu-layout--image-size-full article figure,
.ruibosu-shop-v2-trust.ruibosu-layout--image-size-full figure {
	width: 100%;
}

.ruibosu-product-lifestyle.ruibosu-layout--spacing-compact {
	padding-top: 36px;
	padding-bottom: 44px;
}

.ruibosu-product-lifestyle.ruibosu-layout--spacing-loose {
	padding-top: 76px;
	padding-bottom: 96px;
}

.ruibosu-product-lifestyle.ruibosu-layout--columns-2 .ruibosu-product-lifestyle__grid,
.ruibosu-product-color-system.ruibosu-layout--columns-2 .ruibosu-product-color-system__grid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ruibosu-product-lifestyle.ruibosu-layout--columns-3 .ruibosu-product-lifestyle__grid,
.ruibosu-product-color-system.ruibosu-layout--columns-3 .ruibosu-product-color-system__grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ruibosu-product-lifestyle.ruibosu-layout--columns-4 .ruibosu-product-lifestyle__grid,
.ruibosu-product-color-system.ruibosu-layout--columns-4 .ruibosu-product-color-system__grid {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ruibosu-product-lifestyle.ruibosu-layout--image-size-compact .ruibosu-product-lifestyle__figure,
.ruibosu-product-color-system.ruibosu-layout--image-size-compact .ruibosu-product-color-system__item figure {
	max-width: 82%;
	margin-right: auto;
	margin-left: auto;
}

.ruibosu-product-lifestyle.ruibosu-layout--image-size-large .ruibosu-product-lifestyle__figure,
.ruibosu-product-lifestyle.ruibosu-layout--image-size-full .ruibosu-product-lifestyle__figure,
.ruibosu-product-color-system.ruibosu-layout--image-size-large .ruibosu-product-color-system__item figure,
.ruibosu-product-color-system.ruibosu-layout--image-size-full .ruibosu-product-color-system__item figure {
	width: 100%;
}

@media (min-width: 961px) {
	.ruibosu-shop-v2-hero.ruibosu-layout--direction-image-text,
	.ruibosu-shop-v2-hero.ruibosu-layout--direction-text-image {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	}

	.ruibosu-shop-v2-hero.ruibosu-layout--direction-image-text .ruibosu-shop-v2-hero__content {
		order: 2;
	}

	.ruibosu-shop-v2-hero.ruibosu-layout--direction-image-text .ruibosu-shop-v2-hero__media {
		order: 1;
	}

	.ruibosu-shop-v2-hero.ruibosu-layout--direction-text-top-image-bottom,
	.ruibosu-shop-v2-hero.ruibosu-layout--direction-image-top-text-bottom,
	.ruibosu-shop-v2-hero.ruibosu-layout--direction-full-image {
		grid-template-columns: 1fr;
	}

	.ruibosu-shop-v2-hero.ruibosu-layout--direction-image-top-text-bottom .ruibosu-shop-v2-hero__content,
	.ruibosu-shop-v2-hero.ruibosu-layout--direction-full-image .ruibosu-shop-v2-hero__content {
		order: 2;
	}

	.ruibosu-shop-v2-hero.ruibosu-layout--direction-image-top-text-bottom .ruibosu-shop-v2-hero__media,
	.ruibosu-shop-v2-hero.ruibosu-layout--direction-full-image .ruibosu-shop-v2-hero__media {
		order: 1;
	}

	.ruibosu-shop-v2-hero.ruibosu-layout--width-40-60,
	.ruibosu-shop-v2 .ruibosu-shop-v2-featured.ruibosu-layout--width-40-60 ul.products li.product {
		grid-template-columns: minmax(0, 40fr) minmax(0, 60fr);
	}

	.ruibosu-shop-v2-hero.ruibosu-layout--width-45-55,
	.ruibosu-shop-v2 .ruibosu-shop-v2-featured.ruibosu-layout--width-45-55 ul.products li.product {
		grid-template-columns: minmax(0, 45fr) minmax(0, 55fr);
	}

	.ruibosu-shop-v2-hero.ruibosu-layout--width-50-50,
	.ruibosu-shop-v2 .ruibosu-shop-v2-featured.ruibosu-layout--width-50-50 ul.products li.product {
		grid-template-columns: minmax(0, 50fr) minmax(0, 50fr);
	}

	.ruibosu-shop-v2-hero.ruibosu-layout--width-55-45,
	.ruibosu-shop-v2 .ruibosu-shop-v2-featured.ruibosu-layout--width-55-45 ul.products li.product {
		grid-template-columns: minmax(0, 55fr) minmax(0, 45fr);
	}

	.ruibosu-shop-v2-hero.ruibosu-layout--width-60-40,
	.ruibosu-shop-v2 .ruibosu-shop-v2-featured.ruibosu-layout--width-60-40 ul.products li.product {
		grid-template-columns: minmax(0, 60fr) minmax(0, 40fr);
	}

	.ruibosu-shop-v2-hero.ruibosu-layout--width-33-67,
	.ruibosu-shop-v2 .ruibosu-shop-v2-featured.ruibosu-layout--width-33-67 ul.products li.product {
		grid-template-columns: minmax(0, 33fr) minmax(0, 67fr);
	}

	.ruibosu-shop-v2-hero.ruibosu-layout--width-67-33,
	.ruibosu-shop-v2 .ruibosu-shop-v2-featured.ruibosu-layout--width-67-33 ul.products li.product {
		grid-template-columns: minmax(0, 67fr) minmax(0, 33fr);
	}

	.ruibosu-shop-v2-hero.ruibosu-layout--image-size-compact .ruibosu-shop-v2-hero__media,
	.ruibosu-shop-v2 .ruibosu-shop-v2-featured.ruibosu-layout--image-size-compact .ruibosu-shop-v2-product__media {
		max-width: 82%;
		justify-self: end;
	}

	.ruibosu-shop-v2-hero.ruibosu-layout--image-size-large .ruibosu-shop-v2-hero__media,
	.ruibosu-shop-v2-hero.ruibosu-layout--image-size-full .ruibosu-shop-v2-hero__media,
	.ruibosu-shop-v2 .ruibosu-shop-v2-featured.ruibosu-layout--image-size-large .ruibosu-shop-v2-product__media,
	.ruibosu-shop-v2 .ruibosu-shop-v2-featured.ruibosu-layout--image-size-full .ruibosu-shop-v2-product__media {
		width: 100%;
		max-width: none;
	}

	.ruibosu-shop-v2 .ruibosu-shop-v2-featured.ruibosu-layout--direction-image-text ul.products li.product {
		grid-template-areas:
			"media title"
			"media details"
			"media cta";
	}

	.ruibosu-shop-v2 .ruibosu-shop-v2-featured.ruibosu-layout--direction-text-top-image-bottom ul.products li.product {
		grid-template-columns: 1fr;
		grid-template-areas:
			"title"
			"details"
			"cta"
			"media";
	}

	.ruibosu-shop-v2 .ruibosu-shop-v2-featured.ruibosu-layout--direction-image-top-text-bottom ul.products li.product,
	.ruibosu-shop-v2 .ruibosu-shop-v2-featured.ruibosu-layout--direction-full-image ul.products li.product {
		grid-template-columns: 1fr;
		grid-template-areas:
			"media"
			"title"
			"details"
			"cta";
	}

	.ruibosu-product-proof__block.ruibosu-layout--direction-image-text {
		grid-template-columns: minmax(320px, 1.08fr) minmax(0, 0.92fr);
	}

	.ruibosu-product-proof__block.ruibosu-layout--direction-image-text .ruibosu-product-proof__content {
		order: 2;
		justify-self: end;
	}

	.ruibosu-product-proof__block.ruibosu-layout--direction-image-text .ruibosu-product-proof__media {
		order: 1;
	}

	.ruibosu-product-proof__block.ruibosu-layout--direction-text-image .ruibosu-product-proof__content {
		order: 1;
		justify-self: start;
	}

	.ruibosu-product-proof__block.ruibosu-layout--direction-text-image .ruibosu-product-proof__media {
		order: 2;
	}

	.ruibosu-product-proof__block.ruibosu-layout--direction-text-top-image-bottom,
	.ruibosu-product-proof__block.ruibosu-layout--direction-image-top-text-bottom,
	.ruibosu-product-proof__block.ruibosu-layout--direction-full-image {
		grid-template-columns: 1fr;
	}

	.ruibosu-product-proof__block.ruibosu-layout--direction-image-top-text-bottom .ruibosu-product-proof__content,
	.ruibosu-product-proof__block.ruibosu-layout--direction-full-image .ruibosu-product-proof__content {
		order: 2;
	}

	.ruibosu-product-proof__block.ruibosu-layout--direction-image-top-text-bottom .ruibosu-product-proof__media,
	.ruibosu-product-proof__block.ruibosu-layout--direction-full-image .ruibosu-product-proof__media {
		order: 1;
	}

	.ruibosu-product-proof__block.ruibosu-layout--width-40-60 {
		grid-template-columns: minmax(0, 40fr) minmax(0, 60fr);
	}

	.ruibosu-product-proof__block.ruibosu-layout--width-45-55 {
		grid-template-columns: minmax(0, 45fr) minmax(0, 55fr);
	}

	.ruibosu-product-proof__block.ruibosu-layout--width-50-50 {
		grid-template-columns: minmax(0, 50fr) minmax(0, 50fr);
	}

	.ruibosu-product-proof__block.ruibosu-layout--width-55-45 {
		grid-template-columns: minmax(0, 55fr) minmax(0, 45fr);
	}

	.ruibosu-product-proof__block.ruibosu-layout--width-60-40 {
		grid-template-columns: minmax(0, 60fr) minmax(0, 40fr);
	}

	.ruibosu-shop-v2-hero.ruibosu-layout--align-top,
	.ruibosu-product-proof__block.ruibosu-layout--align-top {
		align-items: start;
	}

	.ruibosu-shop-v2-hero.ruibosu-layout--align-center,
	.ruibosu-product-proof__block.ruibosu-layout--align-center {
		align-items: center;
	}

	.ruibosu-shop-v2-hero.ruibosu-layout--align-bottom,
	.ruibosu-product-proof__block.ruibosu-layout--align-bottom {
		align-items: end;
	}

	.ruibosu-shop-v2 .ruibosu-shop-v2-featured.ruibosu-layout--align-top ul.products li.product,
	.ruibosu-product-proof__block.ruibosu-layout--align-top {
		align-content: start;
	}

	.ruibosu-shop-v2 .ruibosu-shop-v2-featured.ruibosu-layout--align-center ul.products li.product,
	.ruibosu-product-proof__block.ruibosu-layout--align-center {
		align-content: center;
	}

	.ruibosu-shop-v2 .ruibosu-shop-v2-featured.ruibosu-layout--align-bottom ul.products li.product,
	.ruibosu-product-proof__block.ruibosu-layout--align-bottom {
		align-content: end;
	}

	.ruibosu-product-proof__block.ruibosu-layout--width-33-67 {
		grid-template-columns: minmax(0, 33fr) minmax(0, 67fr);
	}

	.ruibosu-product-proof__block.ruibosu-layout--width-67-33 {
		grid-template-columns: minmax(0, 67fr) minmax(0, 33fr);
	}

	.ruibosu-product-proof__block.ruibosu-layout--image-size-compact .ruibosu-product-proof__media {
		width: 82%;
		justify-self: end;
	}

	.ruibosu-product-proof__block.ruibosu-layout--image-size-large .ruibosu-product-proof__media,
	.ruibosu-product-proof__block.ruibosu-layout--image-size-full .ruibosu-product-proof__media {
		width: 100%;
	}

	.ruibosu-product-proof__block.ruibosu-layout--spacing-compact {
		padding-top: 32px;
		padding-bottom: 32px;
	}

	.ruibosu-product-proof__block.ruibosu-layout--spacing-loose {
		padding-top: 78px;
		padding-bottom: 78px;
	}

	.ruibosu-product-proof__media.ruibosu-layout--columns-2 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ruibosu-product-proof__media.ruibosu-layout--columns-3 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.ruibosu-product-proof__media.ruibosu-layout--columns-4 {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

@media (min-width: 641px) and (max-width: 960px) {
	.ruibosu-shop-v2-benefits__grid[class*="ruibosu-layout--columns-"],
	.ruibosu-shop-v2-colors__grid[class*="ruibosu-layout--columns-"],
	.ruibosu-shop-v2-trust[class*="ruibosu-layout--columns-"],
	.ruibosu-product-lifestyle[class*="ruibosu-layout--columns-"] .ruibosu-product-lifestyle__grid,
	.ruibosu-product-color-system[class*="ruibosu-layout--columns-"] .ruibosu-product-color-system__grid,
	.ruibosu-product-proof__media[class*="ruibosu-layout--columns-"] {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 960px) {
	.ruibosu-shop-v2-hero[class*="ruibosu-layout--direction-"],
	.ruibosu-shop-v2 .ruibosu-shop-v2-featured[class*="ruibosu-layout--direction-"] ul.products li.product,
	.ruibosu-product-proof__block[class*="ruibosu-layout--direction-"] {
		grid-template-columns: 1fr;
	}

	.ruibosu-shop-v2-hero[class*="ruibosu-layout--direction-"] .ruibosu-shop-v2-hero__content,
	.ruibosu-shop-v2-hero[class*="ruibosu-layout--direction-"] .ruibosu-shop-v2-hero__media,
	.ruibosu-product-proof__block[class*="ruibosu-layout--direction-"] .ruibosu-product-proof__content,
	.ruibosu-product-proof__block[class*="ruibosu-layout--direction-"] .ruibosu-product-proof__media {
		order: initial;
		justify-self: stretch;
	}

	.ruibosu-shop-v2 .ruibosu-shop-v2-featured[class*="ruibosu-layout--direction-"] ul.products li.product {
		grid-template-areas:
			"media"
			"title"
			"details"
			"cta";
	}

	.ruibosu-shop-v2-hero.ruibosu-layout--direction-text-top-image-bottom .ruibosu-shop-v2-hero__content,
	.ruibosu-product-proof__block.ruibosu-layout--direction-text-top-image-bottom .ruibosu-product-proof__content,
	.ruibosu-shop-v2-hero.ruibosu-layout--direction-text-top-image-bottom .ruibosu-shop-v2-hero__media,
	.ruibosu-product-proof__block.ruibosu-layout--direction-text-top-image-bottom .ruibosu-product-proof__media {
		order: initial;
	}

	.ruibosu-shop-v2-hero.ruibosu-layout--direction-image-top-text-bottom .ruibosu-shop-v2-hero__content,
	.ruibosu-shop-v2-hero.ruibosu-layout--direction-full-image .ruibosu-shop-v2-hero__content,
	.ruibosu-product-proof__block.ruibosu-layout--direction-image-top-text-bottom .ruibosu-product-proof__content,
	.ruibosu-product-proof__block.ruibosu-layout--direction-full-image .ruibosu-product-proof__content {
		order: 2;
	}

	.ruibosu-shop-v2-hero.ruibosu-layout--direction-image-top-text-bottom .ruibosu-shop-v2-hero__media,
	.ruibosu-shop-v2-hero.ruibosu-layout--direction-full-image .ruibosu-shop-v2-hero__media,
	.ruibosu-product-proof__block.ruibosu-layout--direction-image-top-text-bottom .ruibosu-product-proof__media,
	.ruibosu-product-proof__block.ruibosu-layout--direction-full-image .ruibosu-product-proof__media {
		order: 1;
	}

	.ruibosu-shop-v2 .ruibosu-shop-v2-featured.ruibosu-layout--direction-text-top-image-bottom ul.products li.product {
		grid-template-areas:
			"title"
			"details"
			"cta"
			"media";
	}

	.ruibosu-shop-v2 .ruibosu-shop-v2-featured.ruibosu-layout--direction-image-top-text-bottom ul.products li.product,
	.ruibosu-shop-v2 .ruibosu-shop-v2-featured.ruibosu-layout--direction-full-image ul.products li.product {
		grid-template-areas:
			"media"
			"title"
			"details"
			"cta";
	}

	.ruibosu-shop-v2-hero[class*="ruibosu-layout--image-size-compact"] .ruibosu-shop-v2-hero__media,
	.ruibosu-shop-v2 .ruibosu-shop-v2-featured[class*="ruibosu-layout--image-size-compact"] .ruibosu-shop-v2-product__media,
	.ruibosu-product-proof__block[class*="ruibosu-layout--image-size-compact"] .ruibosu-product-proof__media {
		width: 100%;
		max-width: none;
	}

	.ruibosu-shop-v2-benefits__grid[class*="ruibosu-layout--columns-"],
	.ruibosu-shop-v2-colors__grid[class*="ruibosu-layout--columns-"],
	.ruibosu-shop-v2-trust[class*="ruibosu-layout--columns-"],
	.ruibosu-product-proof__media[class*="ruibosu-layout--columns-"] {
		min-width: 0;
	}
}

@media (max-width: 640px) {
	.ruibosu-shop-v2-benefits__grid[class*="ruibosu-layout--columns-"],
	.ruibosu-shop-v2-colors__grid[class*="ruibosu-layout--columns-"],
	.ruibosu-shop-v2-trust[class*="ruibosu-layout--columns-"],
	.ruibosu-product-lifestyle[class*="ruibosu-layout--columns-"] .ruibosu-product-lifestyle__grid,
	.ruibosu-product-proof__media[class*="ruibosu-layout--columns-"] {
		grid-template-columns: 1fr;
	}

	.ruibosu-product-color-system[class*="ruibosu-layout--columns-"] .ruibosu-product-color-system__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 961px) {
	.ruibosu-shop-v2-hero.ruibosu-layout--direction-image-text.ruibosu-layout--width-40-60,
	.ruibosu-shop-v2 .ruibosu-shop-v2-featured.ruibosu-layout--direction-image-text.ruibosu-layout--width-40-60 ul.products li.product,
	.ruibosu-product-proof__block.ruibosu-layout--direction-image-text.ruibosu-layout--width-40-60 {
		grid-template-columns: minmax(0, 60fr) minmax(0, 40fr);
	}

	.ruibosu-shop-v2-hero.ruibosu-layout--direction-image-text.ruibosu-layout--width-45-55,
	.ruibosu-shop-v2 .ruibosu-shop-v2-featured.ruibosu-layout--direction-image-text.ruibosu-layout--width-45-55 ul.products li.product,
	.ruibosu-product-proof__block.ruibosu-layout--direction-image-text.ruibosu-layout--width-45-55 {
		grid-template-columns: minmax(0, 55fr) minmax(0, 45fr);
	}

	.ruibosu-shop-v2-hero.ruibosu-layout--direction-image-text.ruibosu-layout--width-55-45,
	.ruibosu-shop-v2 .ruibosu-shop-v2-featured.ruibosu-layout--direction-image-text.ruibosu-layout--width-55-45 ul.products li.product,
	.ruibosu-product-proof__block.ruibosu-layout--direction-image-text.ruibosu-layout--width-55-45 {
		grid-template-columns: minmax(0, 45fr) minmax(0, 55fr);
	}

	.ruibosu-shop-v2-hero.ruibosu-layout--direction-image-text.ruibosu-layout--width-60-40,
	.ruibosu-shop-v2 .ruibosu-shop-v2-featured.ruibosu-layout--direction-image-text.ruibosu-layout--width-60-40 ul.products li.product,
	.ruibosu-product-proof__block.ruibosu-layout--direction-image-text.ruibosu-layout--width-60-40 {
		grid-template-columns: minmax(0, 40fr) minmax(0, 60fr);
	}

	.ruibosu-shop-v2-hero.ruibosu-layout--direction-image-text.ruibosu-layout--width-33-67,
	.ruibosu-shop-v2 .ruibosu-shop-v2-featured.ruibosu-layout--direction-image-text.ruibosu-layout--width-33-67 ul.products li.product,
	.ruibosu-product-proof__block.ruibosu-layout--direction-image-text.ruibosu-layout--width-33-67 {
		grid-template-columns: minmax(0, 67fr) minmax(0, 33fr);
	}

	.ruibosu-shop-v2-hero.ruibosu-layout--direction-image-text.ruibosu-layout--width-67-33,
	.ruibosu-shop-v2 .ruibosu-shop-v2-featured.ruibosu-layout--direction-image-text.ruibosu-layout--width-67-33 ul.products li.product,
	.ruibosu-product-proof__block.ruibosu-layout--direction-image-text.ruibosu-layout--width-67-33 {
		grid-template-columns: minmax(0, 33fr) minmax(0, 67fr);
	}
}

/* V3.1 P2: wide desktop rhythm, product detail balance, and final visual polish. */
.ruibosu-shop-v2-hero,
.ruibosu-shop-v2-featured,
.ruibosu-shop-v2-benefits,
.ruibosu-shop-v2-colors,
.ruibosu-shop-v2-trust {
	width: min(100%, var(--ruibosu-wide-max-width));
	padding-right: var(--ruibosu-wide-gutter);
	padding-left: var(--ruibosu-wide-gutter);
}

.ruibosu-shop-v2-colors {
	border-top: 1px solid var(--ruibosu-line);
}

.ruibosu-shop-v2-trust {
	padding-top: 32px;
	border-top: 1px solid var(--ruibosu-line);
	background: var(--ruibosu-paper);
}

.ruibosu-shop-v2 .ruibosu-shop-v2-featured ul.products li.product {
	border-color: transparent;
	background: transparent;
	box-shadow: none;
}

.ruibosu-product-hero-v1.single-product div.product {
	align-items: stretch;
}

.ruibosu-product-hero-v1.single-product div.product .woocommerce-product-gallery {
	align-self: stretch;
}

.ruibosu-product-hero-v1.single-product div.product .summary {
	display: flex;
	flex-direction: column;
	align-self: stretch;
	height: auto;
}

.ruibosu-product-proof__block.ruibosu-layout--content-width-compact {
	width: min(100%, 920px);
	margin-right: auto;
	margin-left: auto;
}

.ruibosu-product-proof__block.ruibosu-layout--content-width-standard {
	width: min(100%, 1120px);
	margin-right: auto;
	margin-left: auto;
}

.ruibosu-product-proof__block.ruibosu-layout--content-width-wide {
	width: min(100%, 1320px);
	margin-right: auto;
	margin-left: auto;
}

.ruibosu-product-proof__block.ruibosu-layout--content-width-full {
	width: 100%;
}

.ruibosu-product-lifestyle.ruibosu-layout--content-width-compact .ruibosu-product-lifestyle__inner,
.ruibosu-product-color-system.ruibosu-layout--content-width-compact {
	width: min(100%, 920px);
	margin-right: auto;
	margin-left: auto;
}

.ruibosu-product-lifestyle.ruibosu-layout--content-width-standard .ruibosu-product-lifestyle__inner,
.ruibosu-product-color-system.ruibosu-layout--content-width-standard {
	width: min(100%, 1120px);
	margin-right: auto;
	margin-left: auto;
}

.ruibosu-product-lifestyle.ruibosu-layout--content-width-wide .ruibosu-product-lifestyle__inner,
.ruibosu-product-color-system.ruibosu-layout--content-width-wide {
	width: min(100%, 1320px);
	margin-right: auto;
	margin-left: auto;
}

.ruibosu-product-lifestyle.ruibosu-layout--content-width-full .ruibosu-product-lifestyle__inner,
.ruibosu-product-color-system.ruibosu-layout--content-width-full {
	width: 100%;
}

.ruibosu-product-proof__block--construction {
	grid-template-columns: minmax(0, 45fr) minmax(0, 55fr);
}

.ruibosu-product-proof__block--construction .ruibosu-product-proof__media {
	width: 100%;
	max-width: none;
	justify-self: stretch;
	align-self: center;
}

.ruibosu-product-proof__block--construction .ruibosu-product-proof__figure {
	max-height: 540px;
}

.ruibosu-product-proof__block--logo .ruibosu-product-proof__media {
	width: 100%;
	max-width: 560px;
	max-height: 560px;
	justify-self: start;
	align-self: center;
}

.ruibosu-product-proof__block--logo .ruibosu-product-proof__figure {
	max-width: 560px;
	max-height: 560px;
}

.ruibosu-product-proof__block--logo.ruibosu-layout--image-size-compact .ruibosu-product-proof__media,
.ruibosu-product-proof__block--logo.ruibosu-layout--image-size-compact .ruibosu-product-proof__figure {
	max-width: 420px;
	max-height: 420px;
}

.ruibosu-product-proof__block--logo.ruibosu-layout--image-size-standard .ruibosu-product-proof__media,
.ruibosu-product-proof__block--logo.ruibosu-layout--image-size-standard .ruibosu-product-proof__figure {
	max-width: 520px;
	max-height: 520px;
}

.ruibosu-product-proof__block--logo.ruibosu-layout--image-size-large .ruibosu-product-proof__media,
.ruibosu-product-proof__block--logo.ruibosu-layout--image-size-large .ruibosu-product-proof__figure,
.ruibosu-product-proof__block--logo.ruibosu-layout--image-size-full .ruibosu-product-proof__media,
.ruibosu-product-proof__block--logo.ruibosu-layout--image-size-full .ruibosu-product-proof__figure {
	max-width: 100%;
	max-height: none;
}

.ruibosu-product-care {
	padding-top: clamp(48px, 6vw, 72px);
	border-top: 1px solid var(--ruibosu-line);
}

@media (max-width: 960px) {
	.ruibosu-shop-v2-hero,
	.ruibosu-shop-v2-featured,
	.ruibosu-shop-v2-benefits,
	.ruibosu-shop-v2-colors,
	.ruibosu-shop-v2-trust {
		width: min(100%, 760px);
		padding-right: 24px;
		padding-left: 24px;
	}

	.ruibosu-product-hero-v1.single-product div.product {
		align-items: start;
	}

	.ruibosu-product-hero-v1.single-product div.product .woocommerce-product-gallery,
	.ruibosu-product-hero-v1.single-product div.product .summary {
		align-self: auto;
	}

	.ruibosu-product-hero-v1.single-product div.product .summary {
		height: auto;
	}

	.ruibosu-product-proof__block--construction {
		grid-template-columns: 1fr;
	}

	.ruibosu-product-proof__block--construction .ruibosu-product-proof__media,
	.ruibosu-product-proof__block--logo .ruibosu-product-proof__media {
		width: 100%;
		max-width: none;
		max-height: none;
		justify-self: stretch;
	}

	.ruibosu-product-proof__block--logo .ruibosu-product-proof__figure {
		max-width: none;
		max-height: none;
	}

	.ruibosu-product-care {
		padding-top: 44px;
	}
}

@media (max-width: 640px) {
	.ruibosu-shop-v2-hero,
	.ruibosu-shop-v2-featured,
	.ruibosu-shop-v2-benefits,
	.ruibosu-shop-v2-colors,
	.ruibosu-shop-v2-trust {
		padding-right: 18px;
		padding-left: 18px;
	}
}

@media (min-width: 961px) {
	.ruibosu-shop-v2 .ruibosu-shop-v2-featured:not([class*="ruibosu-layout--direction-"]):not([class*="ruibosu-layout--width-"]) ul.products li.product {
		grid-template-columns: minmax(0, 1.14fr) minmax(0, 0.86fr);
		gap: 12px 28px;
		padding: 28px;
	}

	.ruibosu-shop-v2 .ruibosu-shop-v2-featured:not([class*="ruibosu-layout--image-size-"]) .ruibosu-shop-v2-product__media {
		max-width: 520px;
		justify-self: end;
	}

	.ruibosu-shop-v2 .ruibosu-shop-v2-featured:not([class*="ruibosu-layout--image-size-"]) .ruibosu-shop-v2-product__image {
		padding: 20px;
	}

	.ruibosu-product-proof__block--construction {
		width: min(84%, 1200px);
		margin-right: auto;
		margin-left: auto;
		gap: clamp(24px, 4vw, 48px);
	}

	.ruibosu-product-proof__block--construction.ruibosu-layout--content-width-compact {
		width: min(78%, 1120px);
	}

	.ruibosu-product-proof__block--construction.ruibosu-layout--content-width-standard {
		width: min(88%, 1260px);
	}

	.ruibosu-product-proof__block--construction.ruibosu-layout--content-width-wide {
		width: min(95%, 1380px);
	}

	.ruibosu-product-proof__block--construction.ruibosu-layout--content-width-full {
		width: 100%;
	}

	.ruibosu-product-proof__block--construction .ruibosu-product-proof__media {
		width: min(100%, 90%);
		max-width: none;
		justify-self: end;
		align-self: center;
	}

	.ruibosu-product-proof__block--construction.ruibosu-layout--image-size-compact .ruibosu-product-proof__media {
		width: min(100%, 78%);
	}

	.ruibosu-product-proof__block--construction.ruibosu-layout--image-size-standard .ruibosu-product-proof__media {
		width: min(100%, 92%);
	}

	.ruibosu-product-proof__block--construction.ruibosu-layout--image-size-large .ruibosu-product-proof__media {
		width: min(100%, 100%);
	}

	.ruibosu-product-proof__block--construction.ruibosu-layout--image-size-full .ruibosu-product-proof__media {
		width: 100%;
		max-width: none;
	}

	.ruibosu-product-proof__block--construction .ruibosu-product-proof__figure {
		max-height: 480px;
	}

	.ruibosu-product-proof__block--construction.ruibosu-layout--image-size-compact .ruibosu-product-proof__figure {
		max-height: 420px;
	}

	.ruibosu-product-proof__block--construction.ruibosu-layout--image-size-standard .ruibosu-product-proof__figure {
		max-height: 500px;
	}

	.ruibosu-product-proof__block--construction.ruibosu-layout--image-size-large .ruibosu-product-proof__figure {
		max-height: 580px;
	}

	.ruibosu-product-proof__block--construction.ruibosu-layout--image-size-full .ruibosu-product-proof__figure {
		max-height: none;
	}
}

/* V3.1 P2 final fix: divider, featured density, and construction media scale. */
.ruibosu-shop-v2 .ruibosu-shop-v2-featured {
	padding-top: 56px;
	border-top: 1px solid var(--ruibosu-line);
}

.ruibosu-shop-v2 .ruibosu-shop-v2-featured__inner {
	width: min(100%, var(--ruibosu-standard-max-width));
	margin-right: auto;
	margin-left: auto;
}

@media (min-width: 961px) {
	.ruibosu-shop-v2 .ruibosu-shop-v2-featured:not([class*="ruibosu-layout--direction-"]):not([class*="ruibosu-layout--width-"]) ul.products li.product {
		grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
		gap: 14px clamp(24px, 2.5vw, 36px);
		padding: 28px;
	}

	.ruibosu-shop-v2 .ruibosu-shop-v2-featured:not([class*="ruibosu-layout--image-size-"]) .ruibosu-shop-v2-product__media {
		max-width: 500px;
	}

	.ruibosu-product-proof__block--construction.ruibosu-layout--image-size-large:not([class*="ruibosu-layout--direction-"]):not([class*="ruibosu-layout--width-"]) {
		grid-template-columns: minmax(0, 42fr) minmax(0, 58fr);
		gap: clamp(20px, 2.5vw, 32px);
	}

	.ruibosu-product-proof__block--construction.ruibosu-layout--image-size-large .ruibosu-product-proof__media {
		width: 100%;
		max-width: none;
		grid-template-columns: repeat(var(--ruibosu-grid-items, 3), minmax(0, 1fr));
		gap: 8px;
		justify-self: stretch;
	}

	.ruibosu-product-proof__block--construction.ruibosu-layout--image-size-large .ruibosu-product-proof__figure {
		width: 100%;
		max-width: none;
		max-height: none;
	}
}

@media (max-width: 960px) {
	.ruibosu-shop-v2 .ruibosu-shop-v2-featured {
		padding-top: 42px;
	}
}

@media (max-width: 640px) {
	.ruibosu-shop-v2 .ruibosu-shop-v2-featured {
		padding-top: 36px;
	}
}

/* V3.2 homepage image and layout presets. Defaults preserve the previous layout. */
.ruibosu-hero__grid--image-only,
.ruibosu-hero__grid--text-only {
	grid-template-columns: minmax(0, 1fr) !important;
}

.ruibosu-hero__grid--image-only .ruibosu-hero__visual,
.ruibosu-hero__grid--text-only .ruibosu-hero__content {
	width: 100%;
	max-width: none;
	justify-self: stretch;
}

.ruibosu-home .ruibosu-section.ruibosu-layout--spacing-compact {
	padding-top: 48px;
	padding-bottom: 48px;
}

.ruibosu-home .ruibosu-section.ruibosu-layout--spacing-loose {
	padding-top: 104px;
	padding-bottom: 104px;
}

.ruibosu-hero__grid.ruibosu-layout--spacing-compact {
	min-height: 480px;
	padding-top: 28px;
	padding-bottom: 28px;
}

.ruibosu-hero__grid.ruibosu-layout--spacing-loose {
	min-height: 640px;
	padding-top: 72px;
	padding-bottom: 72px;
}

.ruibosu-benefits.ruibosu-layout--columns-2 .ruibosu-benefits__grid,
.ruibosu-construction__grid.ruibosu-layout--columns-2 .ruibosu-detail-list,
.ruibosu-care__grid.ruibosu-layout--columns-2 .ruibosu-care__columns {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ruibosu-benefits.ruibosu-layout--columns-3 .ruibosu-benefits__grid,
.ruibosu-construction__grid.ruibosu-layout--columns-3 .ruibosu-detail-list,
.ruibosu-care__grid.ruibosu-layout--columns-3 .ruibosu-care__columns {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ruibosu-benefits.ruibosu-layout--columns-4 .ruibosu-benefits__grid,
.ruibosu-construction__grid.ruibosu-layout--columns-4 .ruibosu-detail-list,
.ruibosu-care__grid.ruibosu-layout--columns-4 .ruibosu-care__columns {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ruibosu-construction__grid[class*="ruibosu-layout--columns-"] .ruibosu-detail-list {
	gap: 18px;
	border-top: 0;
}

.ruibosu-construction__grid[class*="ruibosu-layout--columns-"] .ruibosu-detail-list__item {
	display: block;
	padding: 22px;
	border: 1px solid var(--ruibosu-line);
}

.ruibosu-benefits.ruibosu-layout--image-size-compact .ruibosu-benefit-card__media {
	max-width: 82%;
	margin-right: auto;
	margin-left: auto;
}

.ruibosu-benefits.ruibosu-layout--image-size-large .ruibosu-benefit-card__media,
.ruibosu-benefits.ruibosu-layout--image-size-full .ruibosu-benefit-card__media {
	width: 100%;
}

.ruibosu-construction__grid.ruibosu-layout--content-width-compact,
.ruibosu-care__grid.ruibosu-layout--content-width-compact {
	max-width: 860px;
}

.ruibosu-construction__grid.ruibosu-layout--content-width-standard,
.ruibosu-care__grid.ruibosu-layout--content-width-standard {
	max-width: 1120px;
}

.ruibosu-construction__grid.ruibosu-layout--content-width-wide,
.ruibosu-care__grid.ruibosu-layout--content-width-wide {
	max-width: var(--ruibosu-wide-max-width);
}

.ruibosu-construction__grid.ruibosu-layout--content-width-full,
.ruibosu-care__grid.ruibosu-layout--content-width-full {
	width: calc(100% - 48px);
	max-width: none;
}

@media (min-width: 961px) {
	.ruibosu-hero__grid.ruibosu-layout--direction-image-text .ruibosu-hero__content,
	.ruibosu-featured-product__grid.ruibosu-layout--direction-image-text .ruibosu-featured-product__content,
	.ruibosu-lifestyle__grid.ruibosu-layout--direction-image-text .ruibosu-lifestyle__content {
		order: 2;
	}

	.ruibosu-hero__grid.ruibosu-layout--direction-image-text .ruibosu-hero__visual,
	.ruibosu-featured-product__grid.ruibosu-layout--direction-image-text .ruibosu-featured-product__media,
	.ruibosu-lifestyle__grid.ruibosu-layout--direction-image-text .ruibosu-lifestyle__visual {
		order: 1;
	}

	.ruibosu-hero__grid.ruibosu-layout--direction-text-image .ruibosu-hero__content,
	.ruibosu-featured-product__grid.ruibosu-layout--direction-text-image .ruibosu-featured-product__content,
	.ruibosu-lifestyle__grid.ruibosu-layout--direction-text-image .ruibosu-lifestyle__content {
		order: 1;
	}

	.ruibosu-hero__grid.ruibosu-layout--direction-text-image .ruibosu-hero__visual,
	.ruibosu-featured-product__grid.ruibosu-layout--direction-text-image .ruibosu-featured-product__media,
	.ruibosu-lifestyle__grid.ruibosu-layout--direction-text-image .ruibosu-lifestyle__visual {
		order: 2;
	}

	.ruibosu-hero__grid.ruibosu-layout--direction-text-top-image-bottom,
	.ruibosu-hero__grid.ruibosu-layout--direction-image-top-text-bottom,
	.ruibosu-hero__grid.ruibosu-layout--direction-full-image,
	.ruibosu-featured-product__grid.ruibosu-layout--direction-text-top-image-bottom,
	.ruibosu-featured-product__grid.ruibosu-layout--direction-image-top-text-bottom,
	.ruibosu-featured-product__grid.ruibosu-layout--direction-full-image,
	.ruibosu-lifestyle__grid.ruibosu-layout--direction-text-top-image-bottom,
	.ruibosu-lifestyle__grid.ruibosu-layout--direction-image-top-text-bottom,
	.ruibosu-lifestyle__grid.ruibosu-layout--direction-full-image {
		grid-template-columns: 1fr;
	}

	.ruibosu-hero__grid.ruibosu-layout--direction-text-top-image-bottom .ruibosu-hero__content,
	.ruibosu-featured-product__grid.ruibosu-layout--direction-text-top-image-bottom .ruibosu-featured-product__content,
	.ruibosu-lifestyle__grid.ruibosu-layout--direction-text-top-image-bottom .ruibosu-lifestyle__content {
		order: 1;
	}

	.ruibosu-hero__grid.ruibosu-layout--direction-text-top-image-bottom .ruibosu-hero__visual,
	.ruibosu-featured-product__grid.ruibosu-layout--direction-text-top-image-bottom .ruibosu-featured-product__media,
	.ruibosu-lifestyle__grid.ruibosu-layout--direction-text-top-image-bottom .ruibosu-lifestyle__visual {
		order: 2;
	}

	.ruibosu-hero__grid.ruibosu-layout--direction-image-top-text-bottom .ruibosu-hero__content,
	.ruibosu-hero__grid.ruibosu-layout--direction-full-image .ruibosu-hero__content,
	.ruibosu-featured-product__grid.ruibosu-layout--direction-image-top-text-bottom .ruibosu-featured-product__content,
	.ruibosu-featured-product__grid.ruibosu-layout--direction-full-image .ruibosu-featured-product__content,
	.ruibosu-lifestyle__grid.ruibosu-layout--direction-image-top-text-bottom .ruibosu-lifestyle__content,
	.ruibosu-lifestyle__grid.ruibosu-layout--direction-full-image .ruibosu-lifestyle__content {
		order: 2;
	}

	.ruibosu-hero__grid.ruibosu-layout--direction-image-top-text-bottom .ruibosu-hero__visual,
	.ruibosu-hero__grid.ruibosu-layout--direction-full-image .ruibosu-hero__visual,
	.ruibosu-featured-product__grid.ruibosu-layout--direction-image-top-text-bottom .ruibosu-featured-product__media,
	.ruibosu-featured-product__grid.ruibosu-layout--direction-full-image .ruibosu-featured-product__media,
	.ruibosu-lifestyle__grid.ruibosu-layout--direction-image-top-text-bottom .ruibosu-lifestyle__visual,
	.ruibosu-lifestyle__grid.ruibosu-layout--direction-full-image .ruibosu-lifestyle__visual {
		order: 1;
	}

	.ruibosu-hero__grid.ruibosu-layout--width-40-60,
	.ruibosu-featured-product__grid.ruibosu-layout--width-40-60,
	.ruibosu-lifestyle__grid.ruibosu-layout--width-40-60 { grid-template-columns: minmax(0, 40fr) minmax(0, 60fr); }
	.ruibosu-hero__grid.ruibosu-layout--width-45-55,
	.ruibosu-featured-product__grid.ruibosu-layout--width-45-55,
	.ruibosu-lifestyle__grid.ruibosu-layout--width-45-55 { grid-template-columns: minmax(0, 45fr) minmax(0, 55fr); }
	.ruibosu-hero__grid.ruibosu-layout--width-50-50,
	.ruibosu-featured-product__grid.ruibosu-layout--width-50-50,
	.ruibosu-lifestyle__grid.ruibosu-layout--width-50-50 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ruibosu-hero__grid.ruibosu-layout--width-55-45,
	.ruibosu-featured-product__grid.ruibosu-layout--width-55-45,
	.ruibosu-lifestyle__grid.ruibosu-layout--width-55-45 { grid-template-columns: minmax(0, 55fr) minmax(0, 45fr); }
	.ruibosu-hero__grid.ruibosu-layout--width-60-40,
	.ruibosu-featured-product__grid.ruibosu-layout--width-60-40,
	.ruibosu-lifestyle__grid.ruibosu-layout--width-60-40 { grid-template-columns: minmax(0, 60fr) minmax(0, 40fr); }
	.ruibosu-hero__grid.ruibosu-layout--width-33-67,
	.ruibosu-featured-product__grid.ruibosu-layout--width-33-67,
	.ruibosu-lifestyle__grid.ruibosu-layout--width-33-67 { grid-template-columns: minmax(0, 33fr) minmax(0, 67fr); }
	.ruibosu-hero__grid.ruibosu-layout--width-67-33,
	.ruibosu-featured-product__grid.ruibosu-layout--width-67-33,
	.ruibosu-lifestyle__grid.ruibosu-layout--width-67-33 { grid-template-columns: minmax(0, 67fr) minmax(0, 33fr); }

	.ruibosu-hero__grid.ruibosu-layout--direction-text-top-image-bottom,
	.ruibosu-hero__grid.ruibosu-layout--direction-image-top-text-bottom,
	.ruibosu-hero__grid.ruibosu-layout--direction-full-image,
	.ruibosu-featured-product__grid.ruibosu-layout--direction-text-top-image-bottom,
	.ruibosu-featured-product__grid.ruibosu-layout--direction-image-top-text-bottom,
	.ruibosu-featured-product__grid.ruibosu-layout--direction-full-image,
	.ruibosu-lifestyle__grid.ruibosu-layout--direction-text-top-image-bottom,
	.ruibosu-lifestyle__grid.ruibosu-layout--direction-image-top-text-bottom,
	.ruibosu-lifestyle__grid.ruibosu-layout--direction-full-image {
		grid-template-columns: 1fr;
	}

	.ruibosu-hero__grid.ruibosu-layout--align-top,
	.ruibosu-featured-product__grid.ruibosu-layout--align-top,
	.ruibosu-lifestyle__grid.ruibosu-layout--align-top { align-items: start; }
	.ruibosu-hero__grid.ruibosu-layout--align-center,
	.ruibosu-featured-product__grid.ruibosu-layout--align-center,
	.ruibosu-lifestyle__grid.ruibosu-layout--align-center { align-items: center; }
	.ruibosu-hero__grid.ruibosu-layout--align-bottom,
	.ruibosu-featured-product__grid.ruibosu-layout--align-bottom,
	.ruibosu-lifestyle__grid.ruibosu-layout--align-bottom { align-items: end; }

	.ruibosu-hero__grid.ruibosu-layout--image-size-compact .ruibosu-hero__visual,
	.ruibosu-featured-product__grid.ruibosu-layout--image-size-compact .ruibosu-featured-product__media,
	.ruibosu-lifestyle__grid.ruibosu-layout--image-size-compact .ruibosu-lifestyle__visual {
		width: 82%;
		justify-self: center;
	}

	.ruibosu-hero__grid.ruibosu-layout--image-size-large .ruibosu-hero__visual,
	.ruibosu-hero__grid.ruibosu-layout--image-size-full .ruibosu-hero__visual,
	.ruibosu-featured-product__grid.ruibosu-layout--image-size-large .ruibosu-featured-product__media,
	.ruibosu-featured-product__grid.ruibosu-layout--image-size-full .ruibosu-featured-product__media,
	.ruibosu-lifestyle__grid.ruibosu-layout--image-size-large .ruibosu-lifestyle__visual,
	.ruibosu-lifestyle__grid.ruibosu-layout--image-size-full .ruibosu-lifestyle__visual {
		width: 100%;
		max-width: none;
	}
}

@media (max-width: 960px) {
	.ruibosu-benefits[class*="ruibosu-layout--columns-"] .ruibosu-benefits__grid,
	.ruibosu-construction__grid[class*="ruibosu-layout--columns-"] .ruibosu-detail-list,
	.ruibosu-care__grid[class*="ruibosu-layout--columns-"] .ruibosu-care__columns {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.ruibosu-benefits[class*="ruibosu-layout--columns-"] .ruibosu-benefits__grid,
	.ruibosu-construction__grid[class*="ruibosu-layout--columns-"] .ruibosu-detail-list,
	.ruibosu-care__grid[class*="ruibosu-layout--columns-"] .ruibosu-care__columns {
		grid-template-columns: 1fr;
	}

	.ruibosu-construction__grid.ruibosu-layout--content-width-full,
	.ruibosu-care__grid.ruibosu-layout--content-width-full {
		width: calc(100% - 32px);
	}
}

/* 1.8.9.9.14 final cascade: keep every Shop module on the shared Home shell. */
.ruibosu-shop-v2 .ruibosu-shop-v2-hero,
.ruibosu-shop-v2 .ruibosu-shop-v2-featured,
.ruibosu-shop-v2 .ruibosu-shop-v2-benefits,
.ruibosu-shop-v2 .ruibosu-shop-v2-colors,
.ruibosu-shop-v2 .ruibosu-shop-v2-trust {
	width: min(100%, var(--ruibosu-content-max-width));
	max-width: var(--ruibosu-content-max-width);
	padding-right: var(--ruibosu-page-gutter);
	padding-left: var(--ruibosu-page-gutter);
}

.ruibosu-shop-v2 .ruibosu-shop-v2-featured__inner {
	width: 100%;
	max-width: none;
}

.ruibosu-shop-v2 .ruibosu-shop-v2-hero {
	border-top: 1px solid var(--ruibosu-line);
}

.ruibosu-theme .cfvsw-swatches-container {
	flex-wrap: wrap !important;
	width: 100%;
	max-width: 100%;
	overflow: visible;
}

/* 1.8.9.9.19: show every product color in wrapped rows instead of hiding overflow. */
.ruibosu-product-hero-v1.single-product div.product form.variations_form .cfvsw-swatches-container,
.ruibosu-shop-v2 .cfvsw-swatches-container {
	display: flex !important;
	flex-wrap: wrap !important;
	align-items: flex-start;
	justify-content: flex-start;
	max-height: none !important;
	overflow: visible !important;
	-webkit-mask-image: none !important;
	mask-image: none !important;
}

.ruibosu-shop-v2 .cfvsw_variations_form {
	grid-column: 1 / -1;
	width: 100%;
	max-width: 100%;
}

@media (min-width: 961px) {
	.ruibosu-product-hero-v1.single-product div.product .summary {
		position: static !important;
		top: auto !important;
		align-self: start;
		height: auto;
	}
}

.ruibosu-product-hero-v1.single-product div.product .woocommerce-tabs ul.tabs,
.ruibosu-product-hero-v1.single-product div.product .woocommerce-tabs .panel {
	float: none !important;
	width: 100% !important;
	max-width: none !important;
}

@media (max-width: 640px) {
	.ruibosu-shop-v2 .ruibosu-shop-v2-hero,
	.ruibosu-shop-v2 .ruibosu-shop-v2-featured,
	.ruibosu-shop-v2 .ruibosu-shop-v2-benefits,
	.ruibosu-shop-v2 .ruibosu-shop-v2-colors,
	.ruibosu-shop-v2 .ruibosu-shop-v2-trust {
		padding-right: 18px;
		padding-left: 18px;
	}
}

.ruibosu-home .ruibosu-shell.ruibosu-layout--content-width-compact,
.ruibosu-home section.ruibosu-layout--content-width-compact > .ruibosu-shell,
.ruibosu-shop-v2 section.ruibosu-layout--content-width-compact {
	width: min(100%, 920px);
	max-width: 920px;
}

.ruibosu-home .ruibosu-shell.ruibosu-layout--content-width-standard,
.ruibosu-home section.ruibosu-layout--content-width-standard > .ruibosu-shell,
.ruibosu-shop-v2 section.ruibosu-layout--content-width-standard {
	width: min(100%, var(--ruibosu-content-max-width));
	max-width: var(--ruibosu-content-max-width);
}

.ruibosu-home .ruibosu-shell.ruibosu-layout--content-width-wide,
.ruibosu-home section.ruibosu-layout--content-width-wide > .ruibosu-shell,
.ruibosu-shop-v2 section.ruibosu-layout--content-width-wide {
	width: min(100%, var(--ruibosu-wide-max-width));
	max-width: var(--ruibosu-wide-max-width);
}

.ruibosu-home .ruibosu-shell.ruibosu-layout--content-width-full,
.ruibosu-home section.ruibosu-layout--content-width-full > .ruibosu-shell,
.ruibosu-shop-v2 section.ruibosu-layout--content-width-full {
	width: 100%;
	max-width: none;
}

/* Background presets stay authoritative over legacy per-module colors. */
.ruibosu-home section.ruibosu-section-bg--page,
.ruibosu-shop-v2 section.ruibosu-section-bg--page {
	--ruibosu-section-background: var(--ruibosu-paper);
	background: var(--ruibosu-paper);
}

.ruibosu-home section.ruibosu-section-bg--surface,
.ruibosu-shop-v2 section.ruibosu-section-bg--surface {
	--ruibosu-section-background: var(--ruibosu-surface);
	background: var(--ruibosu-surface);
}

.ruibosu-home section.ruibosu-section-bg--warm,
.ruibosu-shop-v2 section.ruibosu-section-bg--warm {
	--ruibosu-section-background: #ebe6dc;
	background: #ebe6dc;
}

.ruibosu-home section.ruibosu-section-bg--dark,
.ruibosu-shop-v2 section.ruibosu-section-bg--dark {
	--ruibosu-section-background: var(--ruibosu-deep-accent);
	background: var(--ruibosu-deep-accent);
	color: var(--ruibosu-surface);
}

.ruibosu-home section.ruibosu-section-bg--dark :is(h1, h2, h3, p),
.ruibosu-shop-v2 section.ruibosu-section-bg--dark :is(h1, h2, h3, p) {
	color: var(--ruibosu-surface);
}

.ruibosu-home section.ruibosu-section-bg--dark .ruibosu-kicker,
.ruibosu-shop-v2 section.ruibosu-section-bg--dark .ruibosu-shop-v2-kicker {
	color: var(--ruibosu-warm-accent);
}

.ruibosu-home section:not(.ruibosu-section-bg--dark) :is(h1, h2, h3),
.ruibosu-shop-v2 section:not(.ruibosu-section-bg--dark) :is(h1, h2, h3) {
	color: var(--ruibosu-ink);
}

.ruibosu-home section:not(.ruibosu-section-bg--dark) .ruibosu-lifestyle__content p {
	color: var(--ruibosu-muted);
}

.ruibosu-home section:not(.ruibosu-section-bg--dark) .ruibosu-kicker {
	color: var(--ruibosu-clay);
}

/* 1.8.9.9.18 final authority: P2 hierarchy after all legacy declarations. */
.ruibosu-home > section + section::before,
.ruibosu-shop-v2 .site-main > .ruibosu-shop-v2-featured::before,
.ruibosu-shop-v2 .site-main > .ruibosu-shop-v2-benefits::before,
.ruibosu-shop-v2 .site-main > .ruibosu-shop-v2-colors::before,
.ruibosu-shop-v2 .site-main > .ruibosu-shop-v2-trust::before {
	display: block !important;
	position: absolute !important;
	top: 0 !important;
	left: 50% !important;
	width: min(1180px, calc(100% - 48px)) !important;
	height: 1px !important;
	background: var(--ruibosu-line) !important;
	content: '' !important;
	transform: translateX(-50%) !important;
}

.ruibosu-shop-v2 section.ruibosu-shop-v2-hero,
.ruibosu-shop-v2 section.ruibosu-shop-v2-benefits,
.ruibosu-shop-v2 section.ruibosu-shop-v2-trust {
	--ruibosu-section-background: var(--ruibosu-paper) !important;
	background: var(--ruibosu-paper) !important;
}

.ruibosu-shop-v2 section.ruibosu-shop-v2-featured,
.ruibosu-shop-v2 section.ruibosu-shop-v2-colors {
	--ruibosu-section-background: var(--ruibosu-surface) !important;
	background: var(--ruibosu-surface) !important;
}

/* 1.8.9.9.21: one authoritative 1px divider between shop modules. */
.ruibosu-shop-v2 .site-main > .ruibosu-shop-v2-hero,
.ruibosu-shop-v2 .site-main > .ruibosu-shop-v2-featured,
.ruibosu-shop-v2 .site-main > .ruibosu-shop-v2-benefits,
.ruibosu-shop-v2 .site-main > .ruibosu-shop-v2-colors,
.ruibosu-shop-v2 .site-main > .ruibosu-shop-v2-trust {
	border-top: 0 !important;
	border-bottom: 0 !important;
}

.ruibosu-shop-v2 .ruibosu-shop-v2-trust > * {
	background: var(--ruibosu-surface) !important;
}

@media (max-width: 640px) {
	.ruibosu-home > section + section::before,
	.ruibosu-shop-v2 .site-main > .ruibosu-shop-v2-featured::before,
	.ruibosu-shop-v2 .site-main > .ruibosu-shop-v2-benefits::before,
	.ruibosu-shop-v2 .site-main > .ruibosu-shop-v2-colors::before,
	.ruibosu-shop-v2 .site-main > .ruibosu-shop-v2-trust::before {
		width: min(100% - 32px, 1180px) !important;
	}
}
/* 1.8.9.9.24 shared free-module editor */
.ruibosu-flexible-pool[hidden] {
	display: none !important;
}

.ruibosu-free-module {
	width: 100%;
	padding-block: clamp(2.5rem, 6vw, 6rem);
	border-top: 1px solid var(--ruibosu-border, rgba(23, 22, 18, .14));
}

.ruibosu-free-module__title {
	margin: 0 0 2rem;
	font-size: clamp(1.5rem, 3vw, 2.5rem);
}

.ruibosu-free-module__items,
.ruibosu-flexible-insertions {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: clamp(1rem, 2.5vw, 2rem);
	width: 100%;
	margin-top: clamp(1.25rem, 3vw, 2.5rem);
}

.ruibosu-free-item {
	box-sizing: border-box;
	flex: 0 0 var(--ruibosu-free-width, 100%);
	max-width: var(--ruibosu-free-width, 100%);
	text-align: left;
}

.ruibosu-free-item--width-30 { --ruibosu-free-width: 30%; }
.ruibosu-free-item--width-50 { --ruibosu-free-width: 50%; }
.ruibosu-free-item--width-70 { --ruibosu-free-width: 70%; }
.ruibosu-free-item--width-100 { --ruibosu-free-width: 100%; }
.ruibosu-free-item--align-center { margin-inline: auto; text-align: center; }
.ruibosu-free-item--align-right { margin-left: auto; text-align: right; }
.ruibosu-free-item__media,
.ruibosu-free-item__video { opacity: var(--ruibosu-free-opacity, 1); }
.ruibosu-free-item__video { display: block; width: 100%; height: auto; background: #000; }
.ruibosu-free-item__gallery { display: grid; grid-template-columns: repeat(var(--ruibosu-free-gallery-columns, 3), minmax(0, 1fr)); gap: clamp(.75rem, 2vw, 1.5rem); }
.ruibosu-free-item__gallery figure { min-width: 0; margin: 0; }
.ruibosu-free-item__spacer { display: block; min-height: clamp(2rem, 6vw, 6rem); }
.ruibosu-free-item hr { border: 0; border-top: 1px solid var(--ruibosu-border, rgba(23, 22, 18, .14)); }

.ruibosu-hero__visual img { opacity: var(--ruibosu-hero-image-opacity, 1); }
.ruibosu-hero__grid.ruibosu-layout--direction-text-overlay-image { position: relative; display: grid; grid-template: 1fr / 1fr; }
.ruibosu-hero__grid.ruibosu-layout--direction-text-overlay-image > * { grid-area: 1 / 1; }
.ruibosu-hero__grid.ruibosu-layout--direction-text-overlay-image .ruibosu-hero__visual { z-index: 0; }
.ruibosu-hero__grid.ruibosu-layout--direction-text-overlay-image .ruibosu-hero__content { position: relative; z-index: 1; align-self: center; padding: clamp(1.5rem, 5vw, 5rem); }
.ruibosu-hero--text-width-30 .ruibosu-hero__content { width: 30%; }
.ruibosu-hero--text-width-50 .ruibosu-hero__content { width: 50%; }
.ruibosu-hero--text-width-70 .ruibosu-hero__content { width: 70%; }
.ruibosu-hero--text-width-100 .ruibosu-hero__content { width: 100%; }
.ruibosu-hero--text-top-left .ruibosu-hero__content { align-self: start; justify-self: start; text-align: left; }
.ruibosu-hero--text-top-center .ruibosu-hero__content { align-self: start; justify-self: center; text-align: center; }
.ruibosu-hero--text-top-right .ruibosu-hero__content { align-self: start; justify-self: end; text-align: right; }
.ruibosu-hero--text-center-left .ruibosu-hero__content { align-self: center; justify-self: start; text-align: left; }
.ruibosu-hero--text-center .ruibosu-hero__content { align-self: center; justify-self: center; text-align: center; }
.ruibosu-hero--text-center-right .ruibosu-hero__content { align-self: center; justify-self: end; text-align: right; }
.ruibosu-hero--text-bottom-left .ruibosu-hero__content { align-self: end; justify-self: start; text-align: left; }
.ruibosu-hero--text-bottom-center .ruibosu-hero__content { align-self: end; justify-self: center; text-align: center; }
.ruibosu-hero--text-bottom-right .ruibosu-hero__content { align-self: end; justify-self: end; text-align: right; }

/* Shop hero mirrors the homepage hero's independent text and image controls. */
.ruibosu-shop-v2-hero__media img { opacity: var(--ruibosu-shop-hero-image-opacity, 1); }
.ruibosu-shop-v2-hero--text-width-30 .ruibosu-shop-v2-hero__content { width: 30%; }
.ruibosu-shop-v2-hero--text-width-50 .ruibosu-shop-v2-hero__content { width: 50%; }
.ruibosu-shop-v2-hero--text-width-70 .ruibosu-shop-v2-hero__content { width: 70%; }
.ruibosu-shop-v2-hero--text-width-100 .ruibosu-shop-v2-hero__content { width: 100%; }
.ruibosu-shop-v2-hero--text-top-left .ruibosu-shop-v2-hero__content { align-self: start; justify-self: start; text-align: left; }
.ruibosu-shop-v2-hero--text-top-center .ruibosu-shop-v2-hero__content { align-self: start; justify-self: center; text-align: center; }
.ruibosu-shop-v2-hero--text-top-right .ruibosu-shop-v2-hero__content { align-self: start; justify-self: end; text-align: right; }
.ruibosu-shop-v2-hero--text-center-left .ruibosu-shop-v2-hero__content { align-self: center; justify-self: start; text-align: left; }
.ruibosu-shop-v2-hero--text-center .ruibosu-shop-v2-hero__content { align-self: center; justify-self: center; text-align: center; }
.ruibosu-shop-v2-hero--text-center-right .ruibosu-shop-v2-hero__content { align-self: center; justify-self: end; text-align: right; }
.ruibosu-shop-v2-hero--text-bottom-left .ruibosu-shop-v2-hero__content { align-self: end; justify-self: start; text-align: left; }
.ruibosu-shop-v2-hero--text-bottom-center .ruibosu-shop-v2-hero__content { align-self: end; justify-self: center; text-align: center; }
.ruibosu-shop-v2-hero--text-bottom-right .ruibosu-shop-v2-hero__content { align-self: end; justify-self: end; text-align: right; }

@media (min-width: 783px) {
	.ruibosu-free-item--hide-desktop { display: none !important; }
}

@media (min-width: 600px) and (max-width: 782px) {
	.ruibosu-free-item--hide-tablet { display: none !important; }
}

@media (max-width: 782px) {
	.ruibosu-free-item--width-30,
	.ruibosu-free-item--width-50,
	.ruibosu-free-item--width-70 { --ruibosu-free-width: 100%; }
	.ruibosu-free-item__gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ruibosu-hero--text-width-30 .ruibosu-hero__content,
	.ruibosu-hero--text-width-50 .ruibosu-hero__content,
	.ruibosu-hero--text-width-70 .ruibosu-hero__content { width: 100%; }
	.ruibosu-shop-v2-hero--text-width-30 .ruibosu-shop-v2-hero__content,
	.ruibosu-shop-v2-hero--text-width-50 .ruibosu-shop-v2-hero__content,
	.ruibosu-shop-v2-hero--text-width-70 .ruibosu-shop-v2-hero__content { width: 100%; }
}

@media (max-width: 599px) {
	.ruibosu-free-item--hide-mobile { display: none !important; }
}

/* V3.5: “全宽” uses the usable viewport; narrower presets keep their content shells. */
@media (min-width: 961px) {
	.ruibosu-home > section.ruibosu-layout--content-width-full,
	.ruibosu-shop-v2 section.ruibosu-layout--content-width-full,
	.ruibosu-product-proof__block.ruibosu-layout--content-width-full,
	.ruibosu-product-lifestyle.ruibosu-layout--content-width-full,
	.ruibosu-product-video--content-full,
	.ruibosu-product-color-system.ruibosu-layout--content-width-full,
	.ruibosu-free-module.ruibosu-layout--content-width-full {
		box-sizing: border-box;
		width: var(--ruibosu-viewport-width, 100vw);
		max-width: none;
		margin-right: calc(50% - var(--ruibosu-viewport-half-width, 50vw));
		margin-left: calc(50% - var(--ruibosu-viewport-half-width, 50vw));
	}

	.ruibosu-home > section.ruibosu-layout--content-width-full > .ruibosu-shell,
	.ruibosu-product-lifestyle.ruibosu-layout--content-width-full .ruibosu-product-lifestyle__inner,
	.ruibosu-free-module.ruibosu-layout--content-width-full > .ruibosu-free-module__inner {
		width: 100%;
		max-width: none;
	}

	.ruibosu-product-proof__block.ruibosu-layout--content-width-full:not(.ruibosu-layout--direction-full-image):not(.ruibosu-layout--direction-image-top-text-bottom):not(.ruibosu-layout--direction-text-top-image-bottom) {
		padding-right: clamp(24px, 3vw, 48px);
		padding-left: clamp(24px, 3vw, 48px);
	}

	.ruibosu-product-proof__block.ruibosu-layout--content-width-full:is(.ruibosu-layout--direction-full-image, .ruibosu-layout--direction-image-top-text-bottom, .ruibosu-layout--direction-text-top-image-bottom) .ruibosu-product-proof__content {
		width: min(calc(100% - 48px), var(--ruibosu-content-max-width));
		margin-right: auto;
		margin-left: auto;
	}
}

/* 1.8.9.9.26 final cascade authority. */
body.ruibosu-theme .ruibosu-shop-v2 section.ruibosu-section-bg--page,
body.ruibosu-theme section.ruibosu-section-bg--page { background: var(--ruibosu-paper) !important; }
body.ruibosu-theme .ruibosu-shop-v2 section.ruibosu-section-bg--surface,
body.ruibosu-theme section.ruibosu-section-bg--surface { background: var(--ruibosu-surface) !important; }
body.ruibosu-theme .ruibosu-shop-v2 section.ruibosu-section-bg--warm,
body.ruibosu-theme section.ruibosu-section-bg--warm { background: #ebe6dc !important; }
body.ruibosu-theme .ruibosu-shop-v2 section.ruibosu-section-bg--dark,
body.ruibosu-theme section.ruibosu-section-bg--dark { background: var(--ruibosu-deep-accent) !important; color: var(--ruibosu-surface) !important; }

body.ruibosu-theme :is(
	.ruibosu-home > section,
	.ruibosu-shop-v2 section,
	.ruibosu-product-proof__block,
	.ruibosu-product-lifestyle,
	.ruibosu-product-care,
	.ruibosu-product-faq,
	.ruibosu-product-color-system,
	.ruibosu-free-module
).ruibosu-layout--content-width-full,
body.ruibosu-description-content-width-full.single-product div.product .woocommerce-tabs {
	box-sizing: border-box !important;
	width: var(--ruibosu-viewport-width, 100vw) !important;
	max-width: none !important;
	margin-right: calc(50% - var(--ruibosu-viewport-half-width, 50vw)) !important;
	margin-left: calc(50% - var(--ruibosu-viewport-half-width, 50vw)) !important;
	padding-right: 0 !important;
	padding-left: 0 !important;
}

body.ruibosu-theme .ruibosu-shop-v2 section.ruibosu-layout--content-width-full,
body.ruibosu-theme .ruibosu-home > section.ruibosu-layout--content-width-full {
	width: var(--ruibosu-viewport-width, 100vw) !important;
	max-width: none !important;
	padding-right: 0 !important;
	padding-left: 0 !important;
}

body.ruibosu-description-content-width-compact.single-product div.product .woocommerce-tabs { width: min(100%, 920px) !important; max-width: 920px !important; margin-inline: auto !important; }
body.ruibosu-description-content-width-standard.single-product div.product .woocommerce-tabs { width: min(100%, var(--ruibosu-content-max-width)) !important; max-width: var(--ruibosu-content-max-width) !important; margin-inline: auto !important; }
body.ruibosu-description-content-width-wide.single-product div.product .woocommerce-tabs { width: min(100%, var(--ruibosu-wide-max-width)) !important; max-width: var(--ruibosu-wide-max-width) !important; margin-inline: auto !important; }

body.ruibosu-theme .ruibosu-product-care.ruibosu-layout--content-width-compact,
body.ruibosu-theme .ruibosu-product-faq.ruibosu-layout--content-width-compact { width: min(100%, 920px); margin-inline: auto; }
body.ruibosu-theme .ruibosu-product-care.ruibosu-layout--content-width-standard,
body.ruibosu-theme .ruibosu-product-faq.ruibosu-layout--content-width-standard { width: min(100%, var(--ruibosu-content-max-width)); margin-inline: auto; }
body.ruibosu-theme .ruibosu-product-care.ruibosu-layout--content-width-wide,
body.ruibosu-theme .ruibosu-product-faq.ruibosu-layout--content-width-wide { width: min(100%, var(--ruibosu-wide-max-width)); margin-inline: auto; }

body.ruibosu-theme .ruibosu-shop-v2 .ruibosu-shop-v2-trust > * { background: transparent !important; }
body.ruibosu-theme .ruibosu-shop-v2-colors__grid .ruibosu-shop-v2-color > a {
	display: block;
	height: 100%;
	box-sizing: border-box;
	padding: 26px;
	border: 1px solid var(--ruibosu-line);
	border-radius: 8px;
	background: var(--ruibosu-surface);
}

.ruibosu-shop-v2-hero--visibility-image,
.ruibosu-shop-v2-hero--visibility-text { grid-template-columns: minmax(0, 1fr) !important; }
.ruibosu-shop-v2-hero--visibility-image .ruibosu-shop-v2-hero__media,
.ruibosu-shop-v2-hero--visibility-text .ruibosu-shop-v2-hero__content { width: 100%; max-width: none; }

/* The gallery's own column choice in the product editor has final priority. */
body.single-product #tab-description .gallery.gallery-columns-1 { grid-template-columns: repeat(1, minmax(0, 1fr)) !important; }
body.single-product #tab-description .gallery.gallery-columns-2 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
body.single-product #tab-description .gallery.gallery-columns-3 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
body.single-product #tab-description .gallery.gallery-columns-4 { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
body.single-product #tab-description .gallery.gallery-columns-5 { grid-template-columns: repeat(5, minmax(0, 1fr)) !important; }
body.single-product #tab-description .gallery.gallery-columns-6 { grid-template-columns: repeat(6, minmax(0, 1fr)) !important; }

@media (max-width: 640px) {
	body.single-product #tab-description .gallery[class*="gallery-columns-"] {
		grid-template-columns: repeat(var(--ruibosu-description-mobile-columns, 2), minmax(0, 1fr)) !important;
	}
}

@media (max-width: 782px) {
	body.ruibosu-theme .ruibosu-free-item--tablet-33 { --ruibosu-free-width: 33.333%; }
	body.ruibosu-theme .ruibosu-free-item--tablet-50 { --ruibosu-free-width: 50%; }
	body.ruibosu-theme .ruibosu-free-item--tablet-66 { --ruibosu-free-width: 66.667%; }
	body.ruibosu-theme .ruibosu-free-item--tablet-100 { --ruibosu-free-width: 100%; }
	body.ruibosu-theme .ruibosu-free-item__gallery { grid-template-columns: repeat(var(--ruibosu-free-gallery-tablet-columns, 2), minmax(0, 1fr)); }
}

@media (max-width: 599px) {
	body.ruibosu-theme .ruibosu-free-item--mobile-50 { --ruibosu-free-width: 50%; }
	body.ruibosu-theme .ruibosu-free-item--mobile-100 { --ruibosu-free-width: 100%; }
	body.ruibosu-theme .ruibosu-free-item__gallery { grid-template-columns: repeat(var(--ruibosu-free-gallery-mobile-columns, 1), minmax(0, 1fr)); }
}

body.ruibosu-theme .ruibosu-shop-v2-colors.ruibosu-module-card--none .ruibosu-shop-v2-color > a {
	padding: 0;
	border: 0;
	background: transparent;
}

/* --------------------------------------------------------------------------
 * 1.8.9.9.27 unified layout authority
 * The module registry is now the single visual source of truth on Header,
 * Home, Shop and single-product pages. These rules intentionally live last.
 * -------------------------------------------------------------------------- */

:root {
	--ruibosu-module-safe-desktop: clamp(24px, 3vw, 48px);
	--ruibosu-module-safe-tablet: 24px;
	--ruibosu-module-safe-mobile: 16px;
}

body.ruibosu-theme [data-ruibosu-module-id] {
	box-sizing: border-box;
}

body.ruibosu-theme [data-ruibosu-module-id].ruibosu-section-bg--page { background-color: var(--ruibosu-paper) !important; }
body.ruibosu-theme [data-ruibosu-module-id].ruibosu-section-bg--surface { background-color: var(--ruibosu-surface) !important; }
body.ruibosu-theme [data-ruibosu-module-id].ruibosu-section-bg--warm { background-color: #ebe6dc !important; }
body.ruibosu-theme [data-ruibosu-module-id].ruibosu-section-bg--dark { background-color: var(--ruibosu-deep-accent) !important; color: var(--ruibosu-surface) !important; }

/* One predictable safe-edge contract on every page and breakpoint. */
body.ruibosu-theme [data-ruibosu-module-id].ruibosu-module-edge--safe,
body.ruibosu-theme [data-ruibosu-module-id].ruibosu-module-edge--media {
	--ruibosu-current-safe-x: var(--ruibosu-module-padding-x-desktop, var(--ruibosu-module-safe-desktop));
	padding-right: var(--ruibosu-current-safe-x) !important;
	padding-left: var(--ruibosu-current-safe-x) !important;
}

body.ruibosu-theme [data-ruibosu-module-id].ruibosu-module-edge--full {
	--ruibosu-current-safe-x: 0px;
	padding-right: 0 !important;
	padding-left: 0 !important;
}

body.ruibosu-theme [data-ruibosu-module-id].ruibosu-module-edge--media :is(
	figure,
	picture,
	video,
	.ruibosu-product-video__media,
	.ruibosu-free-item__gallery
) {
	box-sizing: border-box;
	width: calc(100% + (2 * var(--ruibosu-current-safe-x))) !important;
	max-width: none !important;
	margin-right: calc(-1 * var(--ruibosu-current-safe-x)) !important;
	margin-left: calc(-1 * var(--ruibosu-current-safe-x)) !important;
}

@media (max-width: 960px) {
	body.ruibosu-theme [data-ruibosu-module-id].ruibosu-module-edge--safe,
	body.ruibosu-theme [data-ruibosu-module-id].ruibosu-module-edge--media {
		--ruibosu-current-safe-x: var(--ruibosu-module-padding-x-tablet, var(--ruibosu-module-safe-tablet));
	}
}

@media (max-width: 640px) {
	body.ruibosu-theme [data-ruibosu-module-id].ruibosu-module-edge--safe,
	body.ruibosu-theme [data-ruibosu-module-id].ruibosu-module-edge--media {
		--ruibosu-current-safe-x: var(--ruibosu-module-padding-x-mobile, var(--ruibosu-module-safe-mobile));
	}
}

/* Four widths have the same meaning on Home, Shop and Product. */
body.ruibosu-theme :is(
	.ruibosu-home > section,
	.ruibosu-shop-v2 section,
	.ruibosu-product-proof,
	.ruibosu-product-proof__block,
	.ruibosu-product-lifestyle,
	.ruibosu-product-video,
	.ruibosu-product-care,
	.ruibosu-product-faq,
	.ruibosu-product-color-system,
	.single-product div.product > .woocommerce-tabs,
	.ruibosu-free-module
).ruibosu-layout--content-width-compact {
	width: min(calc(100% - 32px), 920px) !important;
	max-width: 920px !important;
	margin-right: auto !important;
	margin-left: auto !important;
}

body.ruibosu-theme :is(
	.ruibosu-home > section,
	.ruibosu-shop-v2 section,
	.ruibosu-product-proof,
	.ruibosu-product-proof__block,
	.ruibosu-product-lifestyle,
	.ruibosu-product-video,
	.ruibosu-product-care,
	.ruibosu-product-faq,
	.ruibosu-product-color-system,
	.single-product div.product > .woocommerce-tabs,
	.ruibosu-free-module
).ruibosu-layout--content-width-standard {
	width: min(calc(100% - 32px), var(--ruibosu-content-max-width, 1180px)) !important;
	max-width: var(--ruibosu-content-max-width, 1180px) !important;
	margin-right: auto !important;
	margin-left: auto !important;
}

body.ruibosu-theme :is(
	.ruibosu-home > section,
	.ruibosu-shop-v2 section,
	.ruibosu-product-proof,
	.ruibosu-product-proof__block,
	.ruibosu-product-lifestyle,
	.ruibosu-product-video,
	.ruibosu-product-care,
	.ruibosu-product-faq,
	.ruibosu-product-color-system,
	.single-product div.product > .woocommerce-tabs,
	.ruibosu-free-module
).ruibosu-layout--content-width-wide {
	width: min(calc(100% - 32px), var(--ruibosu-wide-max-width, 1440px)) !important;
	max-width: var(--ruibosu-wide-max-width, 1440px) !important;
	margin-right: auto !important;
	margin-left: auto !important;
}

body.ruibosu-theme :is(
	.ruibosu-home > section,
	.ruibosu-shop-v2 section,
	.ruibosu-product-proof,
	.ruibosu-product-proof__block,
	.ruibosu-product-lifestyle,
	.ruibosu-product-video,
	.ruibosu-product-care,
	.ruibosu-product-faq,
	.ruibosu-product-color-system,
	.single-product div.product > .woocommerce-tabs,
	.ruibosu-free-module
).ruibosu-layout--content-width-full {
	box-sizing: border-box !important;
	width: var(--ruibosu-viewport-width, 100vw) !important;
	max-width: none !important;
	margin-right: calc(50% - var(--ruibosu-viewport-half-width, 50vw)) !important;
	margin-left: calc(50% - var(--ruibosu-viewport-half-width, 50vw)) !important;
}

/* The specialist product-description body class may no longer override row 13. */
body.single-product div.product > .woocommerce-tabs[data-ruibosu-module-id="product-description"].ruibosu-layout--content-width-full {
	width: var(--ruibosu-viewport-width, 100vw) !important;
	max-width: none !important;
	margin-right: calc(50% - var(--ruibosu-viewport-half-width, 50vw)) !important;
	margin-left: calc(50% - var(--ruibosu-viewport-half-width, 50vw)) !important;
}

/* Product 01 controls the complete gallery + purchase shell, not one column. */
body.single-product div.product.ruibosu-product-shell--content-width-compact { width: min(calc(100% - 32px), 920px) !important; max-width: 920px !important; margin-inline: auto !important; }
body.single-product div.product.ruibosu-product-shell--content-width-standard { width: min(calc(100% - 32px), var(--ruibosu-content-max-width, 1180px)) !important; max-width: var(--ruibosu-content-max-width, 1180px) !important; margin-inline: auto !important; }
body.single-product div.product.ruibosu-product-shell--content-width-wide { width: min(calc(100% - 32px), var(--ruibosu-wide-max-width, 1440px)) !important; max-width: var(--ruibosu-wide-max-width, 1440px) !important; margin-inline: auto !important; }
body.single-product div.product.ruibosu-product-shell--content-width-full {
	box-sizing: border-box !important;
	width: var(--ruibosu-viewport-width, 100vw) !important;
	max-width: none !important;
	margin-right: calc(50% - var(--ruibosu-viewport-half-width, 50vw)) !important;
	margin-left: calc(50% - var(--ruibosu-viewport-half-width, 50vw)) !important;
}
body.single-product div.product.ruibosu-product-shell--background-page { background: var(--ruibosu-paper) !important; }
body.single-product div.product.ruibosu-product-shell--background-surface { background: var(--ruibosu-surface) !important; }
body.single-product div.product.ruibosu-product-shell--background-warm { background: #ebe6dc !important; }
body.single-product div.product.ruibosu-product-shell--background-dark { background: var(--ruibosu-deep-accent) !important; color: var(--ruibosu-surface) !important; }

body.single-product .ruibosu-product-promo {
	grid-column: 1 / -1;
	box-sizing: border-box;
	position: relative;
	min-width: 0;
}
body.single-product .ruibosu-product-promo__inner {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	width: 100%;
}
body.single-product .ruibosu-product-promo .onsale {
	position: static !important;
	inset: auto !important;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: auto !important;
	min-width: 0;
	max-width: max-content;
	height: auto;
	margin: 0 !important;
	padding: .55em .9em;
	border-radius: 999px;
	line-height: 1.2;
}

/* Header widths target the inner content shell while the background stays full. */
body.ruibosu-theme .ruibosu-header.ruibosu-layout--content-width-compact .ruibosu-header__inner,
body.ruibosu-theme .ruibosu-announcement.ruibosu-layout--content-width-compact > * { width: min(calc(100% - 32px), 920px) !important; max-width: 920px !important; margin-inline: auto !important; }
body.ruibosu-theme .ruibosu-header.ruibosu-layout--content-width-standard .ruibosu-header__inner,
body.ruibosu-theme .ruibosu-announcement.ruibosu-layout--content-width-standard > * { width: min(calc(100% - 32px), var(--ruibosu-content-max-width, 1180px)) !important; max-width: var(--ruibosu-content-max-width, 1180px) !important; margin-inline: auto !important; }
body.ruibosu-theme .ruibosu-header.ruibosu-layout--content-width-wide .ruibosu-header__inner,
body.ruibosu-theme .ruibosu-announcement.ruibosu-layout--content-width-wide > * { width: min(calc(100% - 32px), var(--ruibosu-wide-max-width, 1440px)) !important; max-width: var(--ruibosu-wide-max-width, 1440px) !important; margin-inline: auto !important; }
body.ruibosu-theme .ruibosu-header.ruibosu-layout--content-width-full .ruibosu-header__inner,
body.ruibosu-theme .ruibosu-announcement.ruibosu-layout--content-width-full > * { width: 100% !important; max-width: none !important; }

/* Module columns are applied to the actual repeated-content grids. */
body.ruibosu-theme .ruibosu-layout--columns-1 :is(.ruibosu-flexible-insertions, .ruibosu-free-module__items, .ruibosu-product-lifestyle__grid, .ruibosu-product-color-system__grid, .ruibosu-shop-v2-benefits__grid, .ruibosu-shop-v2-colors__grid) { grid-template-columns: minmax(0, 1fr) !important; }
body.ruibosu-theme .ruibosu-layout--columns-2 :is(.ruibosu-flexible-insertions, .ruibosu-free-module__items, .ruibosu-product-lifestyle__grid, .ruibosu-product-color-system__grid, .ruibosu-shop-v2-benefits__grid, .ruibosu-shop-v2-colors__grid) { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
body.ruibosu-theme .ruibosu-layout--columns-3 :is(.ruibosu-flexible-insertions, .ruibosu-free-module__items, .ruibosu-product-lifestyle__grid, .ruibosu-product-color-system__grid, .ruibosu-shop-v2-benefits__grid, .ruibosu-shop-v2-colors__grid) { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
body.ruibosu-theme .ruibosu-layout--columns-4 :is(.ruibosu-flexible-insertions, .ruibosu-free-module__items, .ruibosu-product-lifestyle__grid, .ruibosu-product-color-system__grid, .ruibosu-shop-v2-benefits__grid, .ruibosu-shop-v2-colors__grid) { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }

/* Card appearance also includes WooCommerce product cards. */
body.ruibosu-theme .ruibosu-module-card--full :is(article, li.product, .ruibosu-product-care__panel, .ruibosu-product-faq details),
body.ruibosu-theme .ruibosu-module-card--soft :is(article, li.product, .ruibosu-product-care__panel, .ruibosu-product-faq details),
body.ruibosu-theme :is(article, li.product).ruibosu-module-card--full,
body.ruibosu-theme :is(article, li.product).ruibosu-module-card--soft {
	box-sizing: border-box !important;
	padding: clamp(18px, 2.2vw, 28px) !important;
	border: 1px solid var(--ruibosu-line, rgba(23, 22, 18, .14)) !important;
	border-radius: 8px !important;
	background: var(--ruibosu-surface, #fff) !important;
}
body.ruibosu-theme .ruibosu-module-card--soft :is(article, li.product, .ruibosu-product-care__panel, .ruibosu-product-faq details) { box-shadow: 0 14px 34px rgba(23, 22, 18, .08) !important; }
body.ruibosu-theme :is(article, li.product).ruibosu-module-card--soft { box-shadow: 0 14px 34px rgba(23, 22, 18, .08) !important; }
body.ruibosu-theme .ruibosu-module-card--none :is(article, li.product) { box-shadow: none; }

/* Consistent card direction for native articles and product cards. */
body.ruibosu-theme .ruibosu-module-card-layout--image-top :is(article, li.product),
body.ruibosu-theme .ruibosu-module-card-layout--text-top :is(article, li.product),
body.ruibosu-theme .ruibosu-module-card-layout--image-left :is(article, li.product),
body.ruibosu-theme .ruibosu-module-card-layout--image-right :is(article, li.product) {
	display: grid !important;
	align-items: center;
	gap: var(--ruibosu-module-gap-desktop, clamp(20px, 3vw, 44px)) !important;
}
body.ruibosu-theme .ruibosu-module-card-layout--image-top :is(article, li.product) { grid-template-columns: minmax(0, 1fr) !important; }
body.ruibosu-theme .ruibosu-module-card-layout--text-top :is(article, li.product) { grid-template-columns: minmax(0, 1fr) !important; }
body.ruibosu-theme .ruibosu-module-card-layout--text-top :is(article, li.product) :is(figure, picture, img) { order: 20; }
body.ruibosu-theme .ruibosu-module-card-layout--image-left :is(article, li.product) { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important; }
body.ruibosu-theme .ruibosu-module-card-layout--image-right :is(article, li.product) { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important; }
body.ruibosu-theme .ruibosu-module-card-layout--image-right :is(article, li.product) :is(figure, picture, img) { order: 20; }
body.ruibosu-theme .ruibosu-module-card-layout--image-only :is(article, li.product) > :not(figure):not(picture):not(img):not(a) { display: none !important; }
body.ruibosu-theme .ruibosu-module-card-layout--text-only :is(article, li.product) :is(figure, picture, img) { display: none !important; }
body.ruibosu-theme .ruibosu-module-card-layout--overlay article { position: relative; overflow: hidden; }
body.ruibosu-theme .ruibosu-module-card-layout--overlay article > :not(figure):not(picture) { position: relative; z-index: 2; }
body.ruibosu-theme .ruibosu-module-card-layout--overlay article > :is(figure, picture) { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; }

/* Product proof rows are cards themselves, rather than containers of cards. */
body.ruibosu-theme .ruibosu-product-proof__block:is(
	.ruibosu-module-card-layout--image-top,
	.ruibosu-module-card-layout--text-top,
	.ruibosu-module-card-layout--image-left,
	.ruibosu-module-card-layout--image-right
) {
	display: grid !important;
	align-items: center;
	gap: var(--ruibosu-module-gap-desktop, clamp(24px, 4vw, 64px)) !important;
}
body.ruibosu-theme .ruibosu-product-proof__block.ruibosu-module-card-layout--image-top,
body.ruibosu-theme .ruibosu-product-proof__block.ruibosu-module-card-layout--text-top { grid-template-columns: minmax(0, 1fr) !important; }
body.ruibosu-theme .ruibosu-product-proof__block.ruibosu-module-card-layout--image-left,
body.ruibosu-theme .ruibosu-product-proof__block.ruibosu-module-card-layout--image-right { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
body.ruibosu-theme .ruibosu-product-proof__block.ruibosu-module-card-layout--image-top > .ruibosu-product-proof__media,
body.ruibosu-theme .ruibosu-product-proof__block.ruibosu-module-card-layout--image-left > .ruibosu-product-proof__media { order: 1; }
body.ruibosu-theme .ruibosu-product-proof__block.ruibosu-module-card-layout--image-top > .ruibosu-product-proof__content,
body.ruibosu-theme .ruibosu-product-proof__block.ruibosu-module-card-layout--image-left > .ruibosu-product-proof__content { order: 2; }
body.ruibosu-theme .ruibosu-product-proof__block.ruibosu-module-card-layout--text-top > .ruibosu-product-proof__content,
body.ruibosu-theme .ruibosu-product-proof__block.ruibosu-module-card-layout--image-right > .ruibosu-product-proof__content { order: 1; }
body.ruibosu-theme .ruibosu-product-proof__block.ruibosu-module-card-layout--text-top > .ruibosu-product-proof__media,
body.ruibosu-theme .ruibosu-product-proof__block.ruibosu-module-card-layout--image-right > .ruibosu-product-proof__media { order: 2; }
body.ruibosu-theme .ruibosu-product-proof__block.ruibosu-module-card-layout--image-only > .ruibosu-product-proof__content { display: none !important; }
body.ruibosu-theme .ruibosu-product-proof__block.ruibosu-module-card-layout--text-only > .ruibosu-product-proof__media { display: none !important; }
body.ruibosu-theme .ruibosu-product-proof__block.ruibosu-module-card-layout--overlay { position: relative; overflow: hidden; }
body.ruibosu-theme .ruibosu-product-proof__block.ruibosu-module-card-layout--overlay > .ruibosu-product-proof__media { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; }
body.ruibosu-theme .ruibosu-product-proof__block.ruibosu-module-card-layout--overlay > .ruibosu-product-proof__content { position: relative; z-index: 2; }

/* Shop 02: separate the module canvas from the actual product-card width. */
body.ruibosu-theme .ruibosu-shop-v2-featured ul.products {
	box-sizing: border-box;
	width: min(100%, var(--ruibosu-shop-card-max-width, 1180px));
	margin-right: auto !important;
	margin-left: auto !important;
}
body.ruibosu-theme .ruibosu-shop-v2-featured li.product > .onsale {
	grid-column: auto !important;
	width: auto !important;
	max-width: max-content;
	justify-self: start;
}
body.ruibosu-theme .ruibosu-shop-v2-featured .cfvsw-swatches-container {
	display: flex !important;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--ruibosu-shop-swatch-gap, 8px) !important;
}
body.ruibosu-theme .ruibosu-shop-v2-featured .cfvsw-swatches-option {
	box-sizing: border-box;
	width: var(--ruibosu-shop-swatch-size, 42px) !important;
	height: var(--ruibosu-shop-swatch-size, 42px) !important;
}

/* Every media preset targets full-resolution rendered media consistently. */
body.ruibosu-theme [data-ruibosu-module-id].ruibosu-module-media-fit--cover :is(figure, picture) > img { width: 100% !important; height: 100% !important; object-fit: cover !important; }
body.ruibosu-theme [data-ruibosu-module-id].ruibosu-module-media-fit--contain :is(figure, picture) > img { width: 100% !important; height: 100% !important; object-fit: contain !important; }
body.ruibosu-theme [data-ruibosu-module-id].ruibosu-module-media-fit--natural :is(figure, picture) > img { width: auto !important; max-width: 100% !important; height: auto !important; object-fit: unset !important; }
body.ruibosu-theme [data-ruibosu-module-id].ruibosu-module-media-ratio--original :is(figure, picture, video) { aspect-ratio: auto !important; height: auto !important; }
body.ruibosu-theme [data-ruibosu-module-id] video { display: block; max-width: 100%; object-fit: contain; }

body.ruibosu-theme .ruibosu-free-item--media-background,
body.ruibosu-theme .ruibosu-free-item--media-overlay,
body.ruibosu-theme .ruibosu-free-item__media,
body.ruibosu-theme .ruibosu-free-item__video-frame { position: relative; }
body.ruibosu-theme .ruibosu-free-item--media-background :is(.ruibosu-free-item__media, .ruibosu-free-item__video-frame),
body.ruibosu-theme .ruibosu-free-item--media-overlay :is(.ruibosu-free-item__media, .ruibosu-free-item__video-frame) { min-height: clamp(240px, 42vw, 680px); }
body.ruibosu-theme .ruibosu-free-item--media-background :is(img, video),
body.ruibosu-theme .ruibosu-free-item--media-overlay :is(img, video) { width: 100% !important; height: 100% !important; object-fit: cover !important; }
body.ruibosu-theme .ruibosu-free-item__media-caption {
	position: absolute;
	z-index: 2;
	right: clamp(18px, 4vw, 48px);
	bottom: clamp(18px, 4vw, 48px);
	left: clamp(18px, 4vw, 48px);
	color: #fff;
	font-size: clamp(1.25rem, 3vw, 2.5rem);
	font-weight: 600;
	line-height: 1.15;
	text-shadow: 0 2px 18px rgba(0, 0, 0, .45);
}

/* One 1px divider whose width follows the selected module width/edge mode. */
body.ruibosu-theme :is(
	.ruibosu-home > section + section,
	.ruibosu-shop-v2 .site-main > section + section,
	.ruibosu-product-proof__block + .ruibosu-product-proof__block,
	.single-product div.product > section + section,
	.single-product .ruibosu-product-trust__inner > section + section,
	.single-product div.product > .woocommerce-tabs
) {
	position: relative;
	border-top: 0 !important;
}
body.ruibosu-theme :is(
	.ruibosu-home > section + section,
	.ruibosu-shop-v2 .site-main > section + section,
	.ruibosu-product-proof__block + .ruibosu-product-proof__block,
	.single-product div.product > section + section,
	.single-product .ruibosu-product-trust__inner > section + section,
	.single-product div.product > .woocommerce-tabs
)::before {
	display: block !important;
	position: absolute !important;
	top: 0 !important;
	left: 50% !important;
	width: calc(100% - (2 * var(--ruibosu-current-safe-x, var(--ruibosu-module-safe-desktop)))) !important;
	height: 1px !important;
	background: var(--ruibosu-line) !important;
	content: '' !important;
	transform: translateX(-50%) !important;
}
body.ruibosu-theme :is(.ruibosu-module-edge--full, .ruibosu-module-edge--media)::before { width: 100% !important; }

/* The final module owns the page-to-footer distance; no Storefront ghost gap. */
body.ruibosu-theme .site-content,
body.ruibosu-theme .content-area,
body.ruibosu-theme .site-main { margin-bottom: 0; padding-bottom: 0; }
body.single-product div.product { margin-bottom: 0 !important; }
body.ruibosu-theme .site-footer { margin-top: 0 !important; }

@media (max-width: 960px) {
	body.ruibosu-theme .ruibosu-module-card-layout--image-left :is(article, li.product),
	body.ruibosu-theme .ruibosu-module-card-layout--image-right :is(article, li.product) { grid-template-columns: minmax(0, 1fr) !important; }
	body.ruibosu-theme .ruibosu-module-card-layout--image-right :is(article, li.product) :is(figure, picture, img) { order: initial; }
	body.ruibosu-theme .ruibosu-module-card-layout--image-top :is(article, li.product),
	body.ruibosu-theme .ruibosu-module-card-layout--text-top :is(article, li.product),
	body.ruibosu-theme .ruibosu-module-card-layout--image-left :is(article, li.product),
	body.ruibosu-theme .ruibosu-module-card-layout--image-right :is(article, li.product) { gap: var(--ruibosu-module-gap-tablet, 24px) !important; }
	body.ruibosu-theme .ruibosu-product-proof__block:is(.ruibosu-module-card-layout--image-left, .ruibosu-module-card-layout--image-right) { grid-template-columns: minmax(0, 1fr) !important; }
	body.ruibosu-theme .ruibosu-product-proof__block:is(.ruibosu-module-card-layout--image-top, .ruibosu-module-card-layout--text-top, .ruibosu-module-card-layout--image-left, .ruibosu-module-card-layout--image-right) { gap: var(--ruibosu-module-gap-tablet, 24px) !important; }
}

@media (max-width: 640px) {
	body.ruibosu-theme :is(
		.ruibosu-home > section + section,
		.ruibosu-shop-v2 .site-main > section + section,
		.ruibosu-product-proof__block + .ruibosu-product-proof__block,
		.single-product div.product > section + section,
		.single-product .ruibosu-product-trust__inner > section + section,
		.single-product div.product > .woocommerce-tabs
	)::before {
		width: calc(100% - (2 * var(--ruibosu-current-safe-x, var(--ruibosu-module-safe-mobile)))) !important;
	}
	body.ruibosu-theme :is(.ruibosu-module-edge--full, .ruibosu-module-edge--media)::before { width: 100% !important; }
	body.ruibosu-theme .ruibosu-module-card-layout--image-top :is(article, li.product),
	body.ruibosu-theme .ruibosu-module-card-layout--text-top :is(article, li.product),
	body.ruibosu-theme .ruibosu-module-card-layout--image-left :is(article, li.product),
	body.ruibosu-theme .ruibosu-module-card-layout--image-right :is(article, li.product) { gap: var(--ruibosu-module-gap-mobile, 16px) !important; }
}

/*
 * Final module-level authority.
 * A module may be reordered outside its original page wrapper, so width and
 * edge controls must follow the module itself instead of its former parent.
 * Header 01 keeps its specialist inner-shell contract, while Product 01 is
 * governed by the complete product shell above.
 */
body.ruibosu-theme [data-ruibosu-module-id].ruibosu-layout--content-width-compact:not(.ruibosu-header):not(.ruibosu-announcement):not([data-ruibosu-module-id="product-main"]) {
	box-sizing: border-box !important;
	width: min(calc(100% - 32px), 920px) !important;
	max-width: 920px !important;
	margin-right: auto !important;
	margin-left: auto !important;
}
body.ruibosu-theme [data-ruibosu-module-id].ruibosu-layout--content-width-standard:not(.ruibosu-header):not(.ruibosu-announcement):not([data-ruibosu-module-id="product-main"]) {
	box-sizing: border-box !important;
	width: min(calc(100% - 32px), var(--ruibosu-content-max-width, 1180px)) !important;
	max-width: var(--ruibosu-content-max-width, 1180px) !important;
	margin-right: auto !important;
	margin-left: auto !important;
}
body.ruibosu-theme [data-ruibosu-module-id].ruibosu-layout--content-width-wide:not(.ruibosu-header):not(.ruibosu-announcement):not([data-ruibosu-module-id="product-main"]) {
	box-sizing: border-box !important;
	width: min(calc(100% - 32px), var(--ruibosu-wide-max-width, 1440px)) !important;
	max-width: var(--ruibosu-wide-max-width, 1440px) !important;
	margin-right: auto !important;
	margin-left: auto !important;
}
body.ruibosu-theme [data-ruibosu-module-id].ruibosu-layout--content-width-full:not(.ruibosu-header):not(.ruibosu-announcement):not([data-ruibosu-module-id="product-main"]) {
	box-sizing: border-box !important;
	width: var(--ruibosu-viewport-width, 100vw) !important;
	max-width: none !important;
	margin-right: calc(50% - var(--ruibosu-viewport-half-width, 50vw)) !important;
	margin-left: calc(50% - var(--ruibosu-viewport-half-width, 50vw)) !important;
}

/* Edge mode is the final owner of horizontal padding, even when the module is
 * also a card. Card rules still own vertical padding, border and background. */
body.ruibosu-theme [data-ruibosu-module-id].ruibosu-module-edge--safe,
body.ruibosu-theme [data-ruibosu-module-id].ruibosu-module-edge--media {
	padding-right: var(--ruibosu-current-safe-x) !important;
	padding-left: var(--ruibosu-current-safe-x) !important;
}
body.ruibosu-theme [data-ruibosu-module-id].ruibosu-module-edge--full {
	padding-right: 0 !important;
	padding-left: 0 !important;
}

/* --------------------------------------------------------------------------
 * 1.8.9.9.28 production follow-up
 * -------------------------------------------------------------------------- */

/* Storefront gives the header a large bottom margin on the front page. It is
 * spacing, not a real module, and must not create a blank band before Home 01. */
body.ruibosu-homepage .site-header {
	margin-bottom: 0 !important;
}

/* 1.8.9.9.29: all custom commerce pages start at the header boundary. Shop
 * sorting wrappers are removed in PHP; this defensive rule also protects the
 * layout if an extension emits an empty wrapper later. */
body.ruibosu-shop-v2 .site-main > .storefront-sorting:empty {
	display: none !important;
	margin: 0 !important;
}

body.ruibosu-product-hero-v1.single-product div.product {
	margin-top: 0 !important;
}

/* “White” in the editor is literal white. The warmer page/surface palette is
 * still available through the page and warm presets. */
body.ruibosu-theme [data-ruibosu-module-id].ruibosu-section-bg--surface,
body.single-product div.product.ruibosu-product-shell--background-surface {
	background-color: #fff !important;
}

/* Shop 01 uses a different DOM from Home 01, so it needs its own overlay
 * contract. Width-ratio classes intentionally have no effect in this mode. */
body.ruibosu-theme .ruibosu-shop-v2-hero.ruibosu-layout--direction-text-overlay-image {
	display: grid !important;
	grid-template: minmax(0, 1fr) / minmax(0, 1fr) !important;
	align-items: stretch;
	isolation: isolate;
	min-height: clamp(420px, 56vw, 820px);
}

body.ruibosu-theme .ruibosu-shop-v2-hero.ruibosu-layout--direction-text-overlay-image > .ruibosu-shop-v2-hero__media,
body.ruibosu-theme .ruibosu-shop-v2-hero.ruibosu-layout--direction-text-overlay-image > .ruibosu-shop-v2-hero__content {
	grid-area: 1 / 1 !important;
	order: initial !important;
}

body.ruibosu-theme .ruibosu-shop-v2-hero.ruibosu-layout--direction-text-overlay-image > .ruibosu-shop-v2-hero__media {
	z-index: 0;
	width: 100% !important;
	max-width: none !important;
	height: 100% !important;
	min-height: 100%;
	margin: 0 !important;
	overflow: hidden;
}

body.ruibosu-theme .ruibosu-shop-v2-hero.ruibosu-layout--direction-text-overlay-image > .ruibosu-shop-v2-hero__media img {
	display: block;
	width: 100% !important;
	height: 100% !important;
	object-fit: cover;
}

body.ruibosu-theme .ruibosu-shop-v2-hero.ruibosu-layout--direction-text-overlay-image > .ruibosu-shop-v2-hero__content {
	position: relative;
	z-index: 1;
	box-sizing: border-box;
	max-width: 100%;
	padding: clamp(24px, 5vw, 72px);
}

/* The specialist Home and Product modules use their own inner grids. The
 * shared direction class must therefore collapse those grids to one canvas,
 * otherwise "text over image" silently remains a two-column layout. */
body.ruibosu-theme :is(
	.ruibosu-featured-product__grid,
	.ruibosu-lifestyle__grid,
	.ruibosu-product-proof__block
).ruibosu-layout--direction-text-overlay-image {
	position: relative;
	display: grid !important;
	grid-template: minmax(0, 1fr) / minmax(0, 1fr) !important;
	align-items: stretch !important;
	isolation: isolate;
	min-height: clamp(320px, 44vw, 680px);
}
body.ruibosu-theme :is(
	.ruibosu-featured-product__grid,
	.ruibosu-lifestyle__grid,
	.ruibosu-product-proof__block
).ruibosu-layout--direction-text-overlay-image > :is(
	.ruibosu-featured-product__media,
	.ruibosu-featured-product__content,
	.ruibosu-lifestyle__visual,
	.ruibosu-lifestyle__content,
	.ruibosu-product-proof__media,
	.ruibosu-product-proof__content
) {
	grid-area: 1 / 1 !important;
	order: initial !important;
	justify-self: stretch !important;
}
body.ruibosu-theme :is(
	.ruibosu-featured-product__grid,
	.ruibosu-lifestyle__grid,
	.ruibosu-product-proof__block
).ruibosu-layout--direction-text-overlay-image > :is(
	.ruibosu-featured-product__media,
	.ruibosu-lifestyle__visual,
	.ruibosu-product-proof__media
) {
	z-index: 0;
	width: 100% !important;
	max-width: none !important;
	height: 100% !important;
	min-height: 100%;
	margin: 0 !important;
	overflow: hidden;
}
body.ruibosu-theme :is(
	.ruibosu-featured-product__grid,
	.ruibosu-lifestyle__grid,
	.ruibosu-product-proof__block
).ruibosu-layout--direction-text-overlay-image > :is(
	.ruibosu-featured-product__media,
	.ruibosu-lifestyle__visual,
	.ruibosu-product-proof__media
) :is(img, video) {
	display: block;
	width: 100% !important;
	height: 100% !important;
	object-fit: cover;
}
body.ruibosu-theme :is(
	.ruibosu-featured-product__grid,
	.ruibosu-lifestyle__grid,
	.ruibosu-product-proof__block
).ruibosu-layout--direction-text-overlay-image > :is(
	.ruibosu-featured-product__content,
	.ruibosu-lifestyle__content,
	.ruibosu-product-proof__content
) {
	position: relative;
	z-index: 1;
	box-sizing: border-box;
	align-self: center;
	width: min(100%, 760px) !important;
	max-width: 100% !important;
	padding: clamp(24px, 5vw, 72px) !important;
}

/* Shop 02 renders product copy as several siblings instead of one content
 * wrapper. Turn the card into a vertical overlay stack while its media fills
 * the full canvas. */
body.ruibosu-theme .ruibosu-shop-v2-featured.ruibosu-layout--direction-text-overlay-image ul.products li.product {
	position: relative;
	display: flex !important;
	flex-direction: column;
	justify-content: flex-end;
	isolation: isolate;
	box-sizing: border-box;
	min-height: clamp(420px, 56vw, 760px);
	padding: clamp(24px, 5vw, 64px) !important;
	overflow: hidden;
}
body.ruibosu-theme .ruibosu-shop-v2-featured.ruibosu-layout--direction-text-overlay-image ul.products li.product > .ruibosu-shop-v2-product__media {
	position: absolute !important;
	z-index: 0;
	inset: 0;
	width: 100% !important;
	max-width: none !important;
	height: 100% !important;
	margin: 0 !important;
}
body.ruibosu-theme .ruibosu-shop-v2-featured.ruibosu-layout--direction-text-overlay-image ul.products li.product > .ruibosu-shop-v2-product__media :is(img, video) {
	display: block;
	width: 100% !important;
	height: 100% !important;
	object-fit: cover;
}
body.ruibosu-theme .ruibosu-shop-v2-featured.ruibosu-layout--direction-text-overlay-image ul.products li.product > :not(.ruibosu-shop-v2-product__media) {
	position: relative;
	z-index: 2;
}

/* Complete the module-level image controls for specialist direct media. */
body.ruibosu-theme [data-ruibosu-module-id].ruibosu-module-media-ratio--3-2 :is(figure, picture, video) { aspect-ratio: 3 / 2 !important; }
body.ruibosu-theme [data-ruibosu-module-id].ruibosu-module-media-position--top-left :is(img, video) { object-position: left top !important; }
body.ruibosu-theme [data-ruibosu-module-id].ruibosu-module-media-position--top-right :is(img, video) { object-position: right top !important; }
body.ruibosu-theme [data-ruibosu-module-id].ruibosu-module-media-position--bottom-left :is(img, video) { object-position: left bottom !important; }
body.ruibosu-theme [data-ruibosu-module-id].ruibosu-module-media-position--bottom-right :is(img, video) { object-position: right bottom !important; }

/* Media controls must also reach direct images used by specialist modules,
 * not only images wrapped by figure/picture. */
body.ruibosu-theme [data-ruibosu-module-id].ruibosu-module-media-fit--cover img {
	object-fit: cover !important;
}
body.ruibosu-theme [data-ruibosu-module-id].ruibosu-module-media-fit--contain img {
	object-fit: contain !important;
}
body.ruibosu-theme [data-ruibosu-module-id].ruibosu-module-media-fit--natural img {
	width: auto !important;
	max-width: 100% !important;
	height: auto !important;
	object-fit: unset !important;
}
body.ruibosu-theme [data-ruibosu-module-id].ruibosu-module-media-position--top img { object-position: center top !important; }
body.ruibosu-theme [data-ruibosu-module-id].ruibosu-module-media-position--bottom img { object-position: center bottom !important; }
body.ruibosu-theme [data-ruibosu-module-id].ruibosu-module-media-position--left img { object-position: left center !important; }
body.ruibosu-theme [data-ruibosu-module-id].ruibosu-module-media-position--right img { object-position: right center !important; }
body.ruibosu-theme [data-ruibosu-module-id].ruibosu-module-media-position--center img { object-position: center !important; }

/* A logical divider class is added after module sorting. This works even when
 * legacy wrapper elements mean two visual modules are not DOM siblings. */
body.ruibosu-theme [data-ruibosu-module-id].ruibosu-module-has-divider {
	position: relative;
	border-top: 0 !important;
}
body.ruibosu-theme [data-ruibosu-module-id].ruibosu-module-has-divider::before {
	display: block !important;
	position: absolute !important;
	z-index: 5;
	top: 0 !important;
	left: 50% !important;
	width: calc(100% - (2 * var(--ruibosu-current-safe-x, var(--ruibosu-module-safe-desktop)))) !important;
	height: 1px !important;
	background: var(--ruibosu-line) !important;
	content: '' !important;
	transform: translateX(-50%) !important;
}
body.ruibosu-theme [data-ruibosu-module-id].ruibosu-module-has-divider:is(.ruibosu-module-edge--full, .ruibosu-module-edge--media)::before {
	width: 100% !important;
}

/* Footer width belongs to the shared canvas, never to an individual grid
 * child. Brand, navigation, help and service form four equal desktop columns;
 * the legal row remains below them at full width. */
body.ruibosu-theme .site-footer {
	width: 100%;
	background: var(--ruibosu-footer-background) !important;
}
body.ruibosu-theme .site-footer > .col-full {
	box-sizing: border-box;
	width: min(100%, 1280px);
	max-width: 1280px;
	margin-inline: auto;
	padding-inline: clamp(18px, 3vw, 48px);
}
body.ruibosu-theme .ruibosu-footer__grid {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
	column-gap: clamp(36px, 6vw, 96px);
	row-gap: clamp(30px, 4vw, 54px);
	align-items: start;
}
body.ruibosu-theme .site-footer [data-ruibosu-module-id^="footer-"] {
	box-sizing: border-box !important;
	width: auto !important;
	max-width: none !important;
	min-width: 0;
	margin: 0 !important;
	padding-right: 0 !important;
	padding-left: 0 !important;
	background: transparent !important;
	transform: none !important;
}
body.ruibosu-theme .ruibosu-footer__grid > .ruibosu-footer-span--1 { grid-column: span 1; }
body.ruibosu-theme .ruibosu-footer__grid > .ruibosu-footer-span--2 { grid-column: span 2; }
body.ruibosu-theme .ruibosu-footer__grid > .ruibosu-footer-span--full { grid-column: 1 / -1; }
body.ruibosu-theme .ruibosu-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 28px;
}
body.ruibosu-theme .ruibosu-footer__bottom .ruibosu-footer__filings {
	margin-top: 0;
}

@media (max-width: 960px) {
	body.ruibosu-theme .ruibosu-footer__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
	body.ruibosu-theme .ruibosu-footer__grid > .ruibosu-footer-span--full { grid-column: 1 / -1; }
	body.ruibosu-theme .ruibosu-footer__grid > .ruibosu-footer-span--2 { grid-column: span 2; }
	body.ruibosu-theme [data-ruibosu-module-id].ruibosu-module-has-divider::before {
		width: calc(100% - (2 * var(--ruibosu-current-safe-x, var(--ruibosu-module-safe-tablet)))) !important;
	}
}

@media (max-width: 640px) {
	body.ruibosu-theme .ruibosu-footer__grid {
		grid-template-columns: minmax(0, 1fr) !important;
	}
	body.ruibosu-theme .ruibosu-footer__grid > :is(.ruibosu-footer-span--1, .ruibosu-footer-span--2, .ruibosu-footer-span--full) { grid-column: 1 / -1; }
	body.ruibosu-theme .ruibosu-footer__bottom {
		display: grid;
		justify-content: start;
	}
	body.ruibosu-theme [data-ruibosu-module-id].ruibosu-module-has-divider::before {
		width: calc(100% - (2 * var(--ruibosu-current-safe-x, var(--ruibosu-module-safe-mobile)))) !important;
	}
	body.ruibosu-theme [data-ruibosu-module-id].ruibosu-module-has-divider:is(.ruibosu-module-edge--full, .ruibosu-module-edge--media)::before {
		width: 100% !important;
	}
}

/* Stacked media modules have an extra inner shell. In media-edge mode their
 * media canvas must still reach the viewport while headings retain padding. */
body.ruibosu-theme :is(
	.ruibosu-product-video.ruibosu-module-edge--media .ruibosu-product-video__media,
	.ruibosu-product-lifestyle.ruibosu-module-edge--media .ruibosu-product-lifestyle__grid,
	.ruibosu-product-color-system.ruibosu-module-edge--media .ruibosu-product-color-system__grid,
	.woocommerce-tabs.ruibosu-module-edge--media #tab-description > figure,
	.woocommerce-tabs.ruibosu-module-edge--media #tab-description > picture,
	.woocommerce-tabs.ruibosu-module-edge--media #tab-description > video,
	.woocommerce-tabs.ruibosu-module-edge--media #tab-description > .wp-video,
	.woocommerce-tabs.ruibosu-module-edge--media #tab-description > .wp-playlist
) {
	box-sizing: border-box !important;
	width: var(--ruibosu-viewport-width, 100vw) !important;
	max-width: none !important;
	margin-right: calc(50% - var(--ruibosu-viewport-half-width, 50vw)) !important;
	margin-left: calc(50% - var(--ruibosu-viewport-half-width, 50vw)) !important;
}

/* Keep the saved desktop column count while applying safe responsive caps. */
@media (max-width: 960px) {
	body.ruibosu-theme :is(.ruibosu-layout--columns-3, .ruibosu-layout--columns-4) :is(.ruibosu-flexible-insertions, .ruibosu-free-module__items, .ruibosu-product-lifestyle__grid, .ruibosu-product-color-system__grid, .ruibosu-shop-v2-benefits__grid, .ruibosu-shop-v2-colors__grid) {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
}
@media (max-width: 640px) {
	body.ruibosu-theme :is(.ruibosu-layout--columns-2, .ruibosu-layout--columns-3, .ruibosu-layout--columns-4) :is(.ruibosu-flexible-insertions, .ruibosu-free-module__items, .ruibosu-product-lifestyle__grid, .ruibosu-product-color-system__grid, .ruibosu-shop-v2-benefits__grid, .ruibosu-shop-v2-colors__grid) {
		grid-template-columns: minmax(0, 1fr) !important;
	}
}

/* Reordering can remove the original Home/Shop/Product ancestor selectors.
 * Adjacent registered modules therefore share one divider contract directly. */
body.ruibosu-theme [data-ruibosu-module-id] + [data-ruibosu-module-id] {
	position: relative;
	border-top: 0 !important;
}
body.ruibosu-theme [data-ruibosu-module-id] + [data-ruibosu-module-id]::before {
	display: block !important;
	position: absolute !important;
	top: 0 !important;
	left: 50% !important;
	width: calc(100% - (2 * var(--ruibosu-current-safe-x, var(--ruibosu-module-safe-desktop)))) !important;
	height: 1px !important;
	background: var(--ruibosu-line) !important;
	content: '' !important;
	transform: translateX(-50%) !important;
}
body.ruibosu-theme [data-ruibosu-module-id].ruibosu-module-edge--full::before,
body.ruibosu-theme [data-ruibosu-module-id].ruibosu-module-edge--media::before {
	width: 100% !important;
}

/* Product-description gallery column controls require a real grid; Storefront
 * and Classic Editor may otherwise restore display:block after the preset. */
body.single-product #tab-description :is(.gallery, .wp-block-gallery, .blocks-gallery-grid) {
	display: grid !important;
	align-items: stretch;
}

/* Scope-aware product width: modules 04-07 and 10-12 are nested in registered
 * parent regions. “Full” means the full width of that region, not a second
 * viewport-wide box calculated from a half-width grid cell. This prevents the
 * clipped/hidden media reported on product rows. */
body.single-product .ruibosu-product-proof__inner > [data-ruibosu-module-id].ruibosu-layout--content-width-full,
body.single-product .ruibosu-product-trust__inner > [data-ruibosu-module-id].ruibosu-layout--content-width-full {
	box-sizing: border-box !important;
	width: 100% !important;
	max-width: none !important;
	margin-right: 0 !important;
	margin-left: 0 !important;
}

/* “媒体贴边、文字保留边距” has one consistent meaning across Home, Shop and
 * Product: the canvas/media reaches the module edge while readable text keeps
 * the saved safe inset. It must not turn media in a two-column row into a
 * second 100vw element. */
body.ruibosu-theme [data-ruibosu-module-id].ruibosu-module-edge--media {
	padding-right: 0 !important;
	padding-left: 0 !important;
}
body.ruibosu-theme [data-ruibosu-module-id].ruibosu-module-edge--media :is(
	figure,
	picture,
	video,
	.ruibosu-product-video__media,
	.ruibosu-product-lifestyle__grid,
	.ruibosu-product-color-system__grid
) {
	width: 100% !important;
	max-width: 100% !important;
	margin-right: 0 !important;
	margin-left: 0 !important;
}
body.ruibosu-theme [data-ruibosu-module-id].ruibosu-module-edge--media :is(
	.ruibosu-hero__content,
	.ruibosu-featured-product__content,
	.ruibosu-lifestyle__content,
	.ruibosu-construction__header,
	.ruibosu-care__header,
	.ruibosu-shop-v2-hero__content,
	.ruibosu-shop-v2-featured__inner,
	.ruibosu-shop-v2-benefits__header,
	.ruibosu-shop-v2-colors__header,
	.ruibosu-product-proof__content,
	.ruibosu-product-video__header,
	.ruibosu-product-trust__header,
	.woocommerce-Tabs-panel,
	.ruibosu-flexible-insertions
) {
	box-sizing: border-box;
	padding-right: var(--ruibosu-current-safe-x) !important;
	padding-left: var(--ruibosu-current-safe-x) !important;
}
body.single-product .woocommerce-product-gallery[data-ruibosu-module-id="product-main"].ruibosu-module-edge--media {
	padding-right: 0 !important;
	padding-left: 0 !important;
}
body.single-product .summary[data-ruibosu-module-id="product-main"].ruibosu-module-edge--media {
	padding-right: var(--ruibosu-current-safe-x) !important;
	padding-left: var(--ruibosu-current-safe-x) !important;
}

/*
 * Every specialist two-part module must implement the same saved
 * “text overlays image” contract. Previously only Home 01 and Shop 01 had the
 * required one-cell grid, so the class was present while Home 02/04 and
 * Product 04-07 continued to render as two columns.
 */
body.ruibosu-theme :is(
	.ruibosu-featured-product__grid,
	.ruibosu-lifestyle__grid,
	.ruibosu-product-proof__block
).ruibosu-layout--direction-text-overlay-image {
	display: grid !important;
	grid-template: minmax(0, 1fr) / minmax(0, 1fr) !important;
	isolation: isolate;
	position: relative;
	overflow: hidden;
}
body.ruibosu-theme .ruibosu-featured-product__grid.ruibosu-layout--direction-text-overlay-image > :is(.ruibosu-featured-product__media, .ruibosu-featured-product__content),
body.ruibosu-theme .ruibosu-lifestyle__grid.ruibosu-layout--direction-text-overlay-image > :is(.ruibosu-lifestyle__visual, .ruibosu-lifestyle__content),
body.ruibosu-theme .ruibosu-product-proof__block.ruibosu-layout--direction-text-overlay-image > :is(.ruibosu-product-proof__media, .ruibosu-product-proof__content) {
	grid-area: 1 / 1 !important;
	order: initial !important;
	min-width: 0;
}
body.ruibosu-theme .ruibosu-featured-product__grid.ruibosu-layout--direction-text-overlay-image > .ruibosu-featured-product__media,
body.ruibosu-theme .ruibosu-lifestyle__grid.ruibosu-layout--direction-text-overlay-image > .ruibosu-lifestyle__visual,
body.ruibosu-theme .ruibosu-product-proof__block.ruibosu-layout--direction-text-overlay-image > .ruibosu-product-proof__media {
	z-index: 0;
	align-self: stretch;
	justify-self: stretch;
	width: 100% !important;
	max-width: none !important;
	height: 100% !important;
	margin: 0 !important;
}
body.ruibosu-theme .ruibosu-featured-product__grid.ruibosu-layout--direction-text-overlay-image > .ruibosu-featured-product__content,
body.ruibosu-theme .ruibosu-lifestyle__grid.ruibosu-layout--direction-text-overlay-image > .ruibosu-lifestyle__content,
body.ruibosu-theme .ruibosu-product-proof__block.ruibosu-layout--direction-text-overlay-image > .ruibosu-product-proof__content {
	z-index: 1;
	position: relative;
	align-self: center;
	justify-self: stretch;
	box-sizing: border-box;
	width: 100%;
	max-width: none;
	padding: clamp(24px, 5vw, 72px) !important;
}

/* Shop 02 has separate title/detail/button grid areas instead of one content
 * wrapper. Place the product media under those areas and keep each text block
 * at a predictable vertical anchor. */
body.ruibosu-theme .ruibosu-shop-v2-featured.ruibosu-layout--direction-text-overlay-image ul.products li.product {
	display: grid !important;
	grid-template: minmax(420px, 56vw) / minmax(0, 1fr) !important;
	isolation: isolate;
	position: relative;
	overflow: hidden;
}
body.ruibosu-theme .ruibosu-shop-v2-featured.ruibosu-layout--direction-text-overlay-image ul.products li.product > .woocommerce-LoopProduct-link {
	display: contents;
}
body.ruibosu-theme .ruibosu-shop-v2-featured.ruibosu-layout--direction-text-overlay-image .ruibosu-shop-v2-product__media {
	grid-area: 1 / 1 !important;
	z-index: 0;
	align-self: stretch;
	width: 100% !important;
	max-width: none !important;
	height: 100% !important;
	min-height: 0;
	margin: 0 !important;
}
body.ruibosu-theme .ruibosu-shop-v2-featured.ruibosu-layout--direction-text-overlay-image :is(.ruibosu-shop-v2-product__title, .ruibosu-shop-v2-product__details, .ruibosu-shop-v2-product__cta, .onsale) {
	grid-area: 1 / 1 !important;
	z-index: 2;
	position: relative;
	box-sizing: border-box;
	margin-right: clamp(24px, 5vw, 72px) !important;
	margin-left: clamp(24px, 5vw, 72px) !important;
}
body.ruibosu-theme .ruibosu-shop-v2-featured.ruibosu-layout--direction-text-overlay-image .ruibosu-shop-v2-product__title {
	align-self: start;
	margin-top: clamp(32px, 7vw, 88px) !important;
}
body.ruibosu-theme .ruibosu-shop-v2-featured.ruibosu-layout--direction-text-overlay-image .ruibosu-shop-v2-product__details {
	align-self: center;
}
body.ruibosu-theme .ruibosu-shop-v2-featured.ruibosu-layout--direction-text-overlay-image .ruibosu-shop-v2-product__cta {
	align-self: end;
	justify-self: start;
	margin-bottom: clamp(32px, 7vw, 88px) !important;
}
body.ruibosu-theme .ruibosu-shop-v2-featured.ruibosu-layout--direction-text-overlay-image .onsale {
	align-self: start;
	justify-self: end;
	margin-top: clamp(18px, 3vw, 36px) !important;
}

/* Complete the module-level image controls. The shared editor exposes 3:2
 * and all four corner focal points, so built-in modules must honour them just
 * like freely added image and gallery items do. */
body.ruibosu-theme [data-ruibosu-module-id].ruibosu-module-media-ratio--3-2 :is(figure, picture, video) { aspect-ratio: 3 / 2 !important; }
body.ruibosu-theme [data-ruibosu-module-id].ruibosu-module-media-position--top-left :is(img, video) { object-position: left top !important; }
body.ruibosu-theme [data-ruibosu-module-id].ruibosu-module-media-position--top-right :is(img, video) { object-position: right top !important; }
body.ruibosu-theme [data-ruibosu-module-id].ruibosu-module-media-position--bottom-left :is(img, video) { object-position: left bottom !important; }
body.ruibosu-theme [data-ruibosu-module-id].ruibosu-module-media-position--bottom-right :is(img, video) { object-position: right bottom !important; }

/* “No card” now truly exposes the selected module background. Legacy native
 * modules used hard-coded white article backgrounds, which made the editor's
 * background and card choices appear reversed or ineffective. */
body.ruibosu-theme [data-ruibosu-module-id].ruibosu-module-card--none :is(
	article,
	li.product,
	.ruibosu-product-care__panel,
	.ruibosu-product-faq details
),
body.ruibosu-theme :is(article, li.product)[data-ruibosu-module-id].ruibosu-module-card--none {
	border-color: transparent !important;
	background: transparent !important;
	box-shadow: none !important;
}

/* Header/footer are outside the content-section divider system. */
body.ruibosu-theme .site-header [data-ruibosu-module-id]::before,
body.ruibosu-theme .site-footer [data-ruibosu-module-id]::before {
	display: none !important;
	content: none !important;
}
body.ruibosu-theme #colophon .ruibosu-footer__grid > [data-ruibosu-module-id],
body.ruibosu-theme #colophon .ruibosu-footer > [data-ruibosu-module-id] {
	box-sizing: border-box !important;
	width: auto !important;
	max-width: none !important;
	margin: 0 !important;
	padding-right: 0 !important;
	padding-left: 0 !important;
}
@media (max-width: 640px) {
	body.ruibosu-product-hero-v1.single-product.ruibosu-description-gallery-mobile-columns-1 #tab-description :is(.gallery, .wp-block-gallery, .blocks-gallery-grid) {
		grid-template-columns: minmax(0, 1fr) !important;
	}
	body.ruibosu-product-hero-v1.single-product.ruibosu-description-gallery-mobile-columns-2 #tab-description :is(.gallery, .wp-block-gallery, .blocks-gallery-grid) {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
}

/* 1.8.9.9.30: one coherent footer canvas with an explicit, accessible type
 * hierarchy. These colors intentionally do not inherit the page palette. */
body.ruibosu-theme .site-footer,
body.ruibosu-theme .site-footer .ruibosu-footer {
	background-color: #171612 !important;
	color: #e8e2d7 !important;
}

body.ruibosu-theme .site-footer :is(
	.ruibosu-footer__name,
	.ruibosu-footer__heading,
	.ruibosu-footer__partner-title,
	.ruibosu-footer__heading a
) {
	color: #fffaf0 !important;
}

body.ruibosu-theme .site-footer .ruibosu-footer__heading a {
	text-decoration: none;
}

body.ruibosu-theme .site-footer :is(
	.ruibosu-footer__brand p,
	.ruibosu-footer__service p,
	.ruibosu-footer__partner p,
	.ruibosu-footer__menu a,
	.ruibosu-footer__contact-item a
) {
	color: #e8e2d7 !important;
}

body.ruibosu-theme .site-footer :is(
	.ruibosu-footer__menu a:hover,
	.ruibosu-footer__menu a:focus,
	.ruibosu-footer__menu a:focus-visible,
	.ruibosu-footer__contact-item a:hover,
	.ruibosu-footer__contact-item a:focus,
	.ruibosu-footer__partner a:hover,
	.ruibosu-footer__partner a:focus
) {
	color: #d4c39e !important;
}

body.ruibosu-theme .site-footer .ruibosu-footer__bottom,
body.ruibosu-theme .site-footer .ruibosu-footer__bottom :is(p, a, span) {
	color: #bdb5a8 !important;
}

body.ruibosu-theme .site-footer .ruibosu-footer__bottom {
	border-color: rgba(255, 250, 240, 0.16) !important;
}

/* --------------------------------------------------------------------------
 * 1.8.9.9.31 whole-site module contract
 * The registry controls the visible unit, including its native child cards.
 * -------------------------------------------------------------------------- */

/* A true-white default. Warm surfaces remain an explicit editor choice. */
body.ruibosu-theme,
body.ruibosu-theme #page,
body.ruibosu-theme #content,
body.ruibosu-theme .site-content {
	background-color: var(--ruibosu-paper, #fff);
}

/* Flexible content has two real internal slots. The wrapper must not become a
 * phantom full-width flex item around the actual sized content item. */
body.ruibosu-theme .ruibosu-flexible-insertions {
	box-sizing: border-box;
	display: flex;
	flex-wrap: wrap;
	width: 100%;
	min-width: 0;
	margin: 0;
	gap: var(--ruibosu-module-gap-desktop, clamp(16px, 2.5vw, 32px));
}
/* Internal insertion slots are full rows even when the receiving module uses
 * a two-column grid. Without this, start/end items can be squeezed into one
 * grid track and appear to ignore their saved placement. */
body.ruibosu-theme [data-ruibosu-module-id] > .ruibosu-flexible-insertions {
	grid-column: 1 / -1;
}
body.ruibosu-theme .ruibosu-flexible-insertions--start { order: -999; margin-bottom: var(--ruibosu-module-divider-gap, 24px); }
body.ruibosu-theme .ruibosu-flexible-insertions--end { order: 999; margin-top: var(--ruibosu-module-divider-gap, 24px); }
body.ruibosu-theme [data-ruibosu-flexible-item] { display: contents; }

/* One card owner. Native inner links and media frames no longer create a
 * second or third card inside the editor-selected outer card. */
body.ruibosu-theme [data-ruibosu-module-id].ruibosu-module-card--none :is(
	article, li.product, .ruibosu-benefit-card, .ruibosu-detail-list__item,
	.ruibosu-care__item, .ruibosu-shop-v2-trust > div,
	.ruibosu-product-care__panel, .ruibosu-product-faq details,
	.ruibosu-product-lifestyle__card, .ruibosu-product-color-system__item
) {
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}
body.ruibosu-theme [data-ruibosu-module-id]:not(.ruibosu-module-card--media) :is(
	.ruibosu-shop-v2-color > a,
	.ruibosu-shop-v2-color > a > figure,
	article > figure,
	article > [class$="__media"],
	.ruibosu-detail-list__item__link > [class$="__media"],
	.ruibosu-care__item__link > [class$="__media"],
	.ruibosu-product-color-system__link > figure
) {
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}
body.ruibosu-theme [data-ruibosu-module-id].ruibosu-module-card--full :is(
	.ruibosu-benefit-card, .ruibosu-detail-list__item, .ruibosu-care__item,
	.ruibosu-shop-v2-trust > div
),
body.ruibosu-theme [data-ruibosu-module-id].ruibosu-module-card--soft :is(
	.ruibosu-benefit-card, .ruibosu-detail-list__item, .ruibosu-care__item,
	.ruibosu-shop-v2-trust > div
) {
	box-sizing: border-box !important;
	padding: clamp(18px, 2.2vw, 28px) !important;
	border: 1px solid var(--ruibosu-line) !important;
	border-radius: 8px !important;
	background: var(--ruibosu-surface, #fff) !important;
}
body.ruibosu-theme [data-ruibosu-module-id].ruibosu-module-card--soft :is(
	.ruibosu-benefit-card, .ruibosu-detail-list__item, .ruibosu-care__item,
	.ruibosu-shop-v2-trust > div
) { box-shadow: 0 14px 34px rgba(23, 22, 18, .08) !important; }

/* Classic/line-list mode is deliberately background-free. */
body.ruibosu-theme [data-ruibosu-module-id].ruibosu-module-card--lines :is(
	article, li.product, .ruibosu-benefit-card, .ruibosu-detail-list__item,
	.ruibosu-care__item, .ruibosu-shop-v2-trust > div,
	.ruibosu-product-care__panel, .ruibosu-product-faq details,
	.ruibosu-product-lifestyle__card, .ruibosu-product-color-system__item
) {
	box-sizing: border-box !important;
	padding: 20px 0 !important;
	border: 0 !important;
	border-bottom: 1px solid var(--ruibosu-line) !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}
body.ruibosu-theme [data-ruibosu-module-id].ruibosu-module-card--lines :is(
	.ruibosu-benefits__grid, .ruibosu-detail-list, .ruibosu-care__columns,
	.ruibosu-shop-v2-benefits__grid, .ruibosu-shop-v2-colors__grid,
	.ruibosu-shop-v2-trust, .ruibosu-product-lifestyle__grid,
	.ruibosu-product-color-system__grid
) { border-top: 1px solid var(--ruibosu-line); }

/* Shop 05 used non-semantic div cards, so the older article-only reset could
 * never honour “no card”. */
body.ruibosu-theme .ruibosu-shop-v2-trust.ruibosu-module-card--none > div {
	padding: 12px 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}

/* Shop 02: eyebrow and product use the same centered boundary. */
body.ruibosu-theme .ruibosu-shop-v2-featured__inner > .ruibosu-shop-v2-kicker,
body.ruibosu-theme .ruibosu-shop-v2-featured__inner > ul.products {
	box-sizing: border-box;
	width: min(100%, var(--ruibosu-shop-card-max-width, 1180px)) !important;
	margin-right: auto !important;
	margin-left: auto !important;
}

/* The sale badge belongs to the product image rather than an anonymous grid
 * row below the text. Its placement is independently selectable. */
body.ruibosu-theme .ruibosu-shop-v2-featured li.product > .onsale {
	grid-area: media !important;
	z-index: 4 !important;
	align-self: start !important;
	justify-self: end !important;
	width: auto !important;
	max-width: max-content !important;
	margin: 16px !important;
	padding: 8px 12px !important;
}
body.ruibosu-theme .ruibosu-shop-v2-featured.ruibosu-module-sale--media-left li.product > .onsale { justify-self: start !important; }
body.ruibosu-theme .ruibosu-shop-v2-featured.ruibosu-module-sale--text li.product > .onsale {
	grid-area: details !important;
	align-self: end !important;
	justify-self: start !important;
	margin: 0 0 12px !important;
}
body.ruibosu-theme .ruibosu-shop-v2-featured.ruibosu-module-sale--hidden li.product > .onsale { display: none !important; }

/* Shop swatches are responsive controls, not a fixed 42px plug-in detail. */
body.ruibosu-theme .ruibosu-shop-v2-featured {
	--ruibosu-shop-swatch-size-current: var(--ruibosu-shop-swatch-size-desktop, 56px);
}
body.ruibosu-theme .ruibosu-shop-v2-featured .cfvsw-swatches-container {
	display: flex !important;
	flex-wrap: wrap !important;
	justify-content: flex-start !important;
	gap: var(--ruibosu-shop-swatch-gap, 8px) !important;
	overflow: visible !important;
}
body.ruibosu-theme .ruibosu-shop-v2-featured .cfvsw-swatches-option {
	flex: 0 0 var(--ruibosu-shop-swatch-size-current) !important;
	width: var(--ruibosu-shop-swatch-size-current) !important;
	height: var(--ruibosu-shop-swatch-size-current) !important;
}
body.ruibosu-theme .ruibosu-shop-v2-featured.ruibosu-module-swatches-align--center .cfvsw-swatches-container { justify-content: center !important; }
body.ruibosu-theme .ruibosu-shop-v2-featured.ruibosu-module-swatches-align--right .cfvsw-swatches-container { justify-content: flex-end !important; }
body.ruibosu-theme .ruibosu-shop-v2-featured.ruibosu-module-swatches-flow--scroll .cfvsw-swatches-container {
	flex-wrap: nowrap !important;
	overflow-x: auto !important;
	overscroll-behavior-inline: contain;
}

/* Full-bleed media does not inherit the old decorative 0.8px frame. */
body.ruibosu-theme [data-ruibosu-module-id].ruibosu-module-edge--full :is(
	.ruibosu-hero__visual, .ruibosu-shop-v2-hero__media
),
body.ruibosu-theme [data-ruibosu-module-id].ruibosu-module-media-width--full :is(
	.ruibosu-hero__visual, .ruibosu-shop-v2-hero__media
) {
	border: 0 !important;
	border-radius: var(--ruibosu-module-media-radius, 0) !important;
	box-shadow: none !important;
}

/* Divider width, color and thickness follow the receiving module. */
body.ruibosu-theme [data-ruibosu-module-id].ruibosu-module-has-divider::before,
body.ruibosu-theme [data-ruibosu-module-id] + [data-ruibosu-module-id]::before {
	height: var(--ruibosu-module-divider-thickness, 1px) !important;
	background: var(--ruibosu-module-divider-color, var(--ruibosu-line)) !important;
}
body.ruibosu-theme [data-ruibosu-module-id].ruibosu-module-divider--hidden::before { display: none !important; content: none !important; }
body.ruibosu-theme [data-ruibosu-module-id].ruibosu-module-divider--content::before { width: min(calc(100% - 32px), var(--ruibosu-content-max-width, 1180px)) !important; }
body.ruibosu-theme [data-ruibosu-module-id].ruibosu-module-divider--wide::before { width: min(calc(100% - 32px), var(--ruibosu-wide-max-width, 1440px)) !important; }
body.ruibosu-theme [data-ruibosu-module-id].ruibosu-module-divider--full::before { width: 100% !important; }

/* Every registered product module needs a block formatting context. Storefront
 * gives the care/trust wrapper an inline display in some templates, which
 * collapses an absolutely positioned divider to a 1px text line. */
body.single-product [data-ruibosu-module-id^="product-"] {
	display: block !important;
}

@media (max-width: 960px) {
	body.ruibosu-theme .ruibosu-shop-v2-featured { --ruibosu-shop-swatch-size-current: var(--ruibosu-shop-swatch-size-tablet, 48px); }
	body.ruibosu-theme .ruibosu-flexible-insertions { gap: var(--ruibosu-module-gap-tablet, 20px); }
}
@media (max-width: 640px) {
	body.ruibosu-theme .ruibosu-shop-v2-featured { --ruibosu-shop-swatch-size-current: var(--ruibosu-shop-swatch-size-mobile, 42px); }
	body.ruibosu-theme .ruibosu-flexible-insertions { gap: var(--ruibosu-module-gap-mobile, 16px); }
}

/* Card direction also applies when a card uses an inner link as its visual
 * root. This is the structure used by Home 05/06, Shop 04 and Product 12. */
body.ruibosu-theme .ruibosu-module-card-layout--image-top :is(
	.ruibosu-detail-list__item__link, .ruibosu-care__item__link,
	.ruibosu-shop-v2-color > a, .ruibosu-product-color-system__link
),
body.ruibosu-theme .ruibosu-module-card-layout--text-top :is(
	.ruibosu-detail-list__item__link, .ruibosu-care__item__link,
	.ruibosu-shop-v2-color > a, .ruibosu-product-color-system__link
),
body.ruibosu-theme .ruibosu-module-card-layout--image-left :is(
	.ruibosu-detail-list__item__link, .ruibosu-care__item__link,
	.ruibosu-shop-v2-color > a, .ruibosu-product-color-system__link
),
body.ruibosu-theme .ruibosu-module-card-layout--image-right :is(
	.ruibosu-detail-list__item__link, .ruibosu-care__item__link,
	.ruibosu-shop-v2-color > a, .ruibosu-product-color-system__link
) {
	display: grid !important;
	align-items: center;
	gap: var(--ruibosu-module-gap-desktop, clamp(20px, 3vw, 44px)) !important;
	width: 100%;
	height: 100%;
}
body.ruibosu-theme .ruibosu-module-card-layout--image-top :is(
	.ruibosu-detail-list__item__link, .ruibosu-care__item__link,
	.ruibosu-shop-v2-color > a, .ruibosu-product-color-system__link
),
body.ruibosu-theme .ruibosu-module-card-layout--text-top :is(
	.ruibosu-detail-list__item__link, .ruibosu-care__item__link,
	.ruibosu-shop-v2-color > a, .ruibosu-product-color-system__link
) { grid-template-columns: minmax(0, 1fr) !important; }
body.ruibosu-theme .ruibosu-module-card-layout--image-left :is(
	.ruibosu-detail-list__item__link, .ruibosu-care__item__link,
	.ruibosu-shop-v2-color > a, .ruibosu-product-color-system__link
),
body.ruibosu-theme .ruibosu-module-card-layout--image-right :is(
	.ruibosu-detail-list__item__link, .ruibosu-care__item__link,
	.ruibosu-shop-v2-color > a, .ruibosu-product-color-system__link
) { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
body.ruibosu-theme .ruibosu-module-card-layout--text-top :is(
	.ruibosu-detail-list__item__link, .ruibosu-care__item__link,
	.ruibosu-shop-v2-color > a, .ruibosu-product-color-system__link
) > :is(figure, picture, [class$="__media"]) { order: 20; }
body.ruibosu-theme .ruibosu-module-card-layout--image-right :is(
	.ruibosu-detail-list__item__link, .ruibosu-care__item__link,
	.ruibosu-shop-v2-color > a, .ruibosu-product-color-system__link
) > :is(figure, picture, [class$="__media"]) { order: 20; }

body.ruibosu-theme .ruibosu-module-card-layout--image-only :is(
	.ruibosu-detail-list__item__link, .ruibosu-care__item__link,
	.ruibosu-shop-v2-color > a, .ruibosu-product-color-system__link
) > :not(figure):not(picture):not([class$="__media"]) { display: none !important; }
body.ruibosu-theme .ruibosu-module-card-layout--text-only :is(
	.ruibosu-detail-list__item__link, .ruibosu-care__item__link,
	.ruibosu-shop-v2-color > a, .ruibosu-product-color-system__link
) > :is(figure, picture, [class$="__media"]) { display: none !important; }

body.ruibosu-theme .ruibosu-module-card-layout--overlay :is(
	.ruibosu-detail-list__item__link, .ruibosu-care__item__link,
	.ruibosu-shop-v2-color > a, .ruibosu-product-color-system__link
) {
	display: grid !important;
	position: relative;
	isolation: isolate;
	min-height: clamp(260px, 34vw, 560px);
	overflow: hidden;
}
body.ruibosu-theme .ruibosu-module-card-layout--overlay :is(
	.ruibosu-detail-list__item__link, .ruibosu-care__item__link,
	.ruibosu-shop-v2-color > a, .ruibosu-product-color-system__link
)::after {
	position: absolute;
	z-index: 1;
	inset: 0;
	background: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, .62));
	content: '';
	pointer-events: none;
}
body.ruibosu-theme .ruibosu-module-card-layout--overlay :is(
	.ruibosu-detail-list__item__link, .ruibosu-care__item__link,
	.ruibosu-shop-v2-color > a, .ruibosu-product-color-system__link
) > :is(figure, picture, [class$="__media"]) {
	position: absolute !important;
	z-index: 0;
	inset: 0;
	width: 100% !important;
	height: 100% !important;
	margin: 0 !important;
}
body.ruibosu-theme .ruibosu-module-card-layout--overlay :is(
	.ruibosu-detail-list__item__link, .ruibosu-care__item__link,
	.ruibosu-shop-v2-color > a, .ruibosu-product-color-system__link
) > :not(figure):not(picture):not([class$="__media"]) {
	position: relative;
	z-index: 2;
	align-self: end;
	margin: 0 !important;
	padding: clamp(20px, 4vw, 44px) !important;
	color: #fff !important;
	text-shadow: 0 2px 16px rgba(0, 0, 0, .45);
}
body.ruibosu-theme .ruibosu-module-card-layout--overlay :is(
	.ruibosu-detail-list__item__link, .ruibosu-care__item__link,
	.ruibosu-shop-v2-color > a, .ruibosu-product-color-system__link
) > :not(figure):not(picture):not([class$="__media"]) :is(h1, h2, h3, p, span, small) { color: inherit !important; }

/* Product 01 controls the actual gallery/summary pair on their shared grid. */
@media (min-width: 961px) {
	body.ruibosu-theme.single-product div.product:is(
		.ruibosu-module-card-layout--image-left,
		.ruibosu-module-card-layout--image-right
	) { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: var(--ruibosu-module-gap-desktop, clamp(28px, 3vw, 44px)) !important; }
	body.ruibosu-theme.single-product div.product:is(
		.ruibosu-module-card-layout--image-top,
		.ruibosu-module-card-layout--text-top
	) { grid-template-columns: minmax(0, 1fr) !important; gap: var(--ruibosu-module-gap-desktop, clamp(28px, 3vw, 44px)) !important; }
	body.ruibosu-theme.single-product div.product.ruibosu-module-card-layout--image-left > .woocommerce-product-gallery,
	body.ruibosu-theme.single-product div.product.ruibosu-module-card-layout--image-top > .woocommerce-product-gallery { order: 1; }
	body.ruibosu-theme.single-product div.product.ruibosu-module-card-layout--image-left > .summary,
	body.ruibosu-theme.single-product div.product.ruibosu-module-card-layout--image-top > .summary { order: 2; }
	body.ruibosu-theme.single-product div.product.ruibosu-module-card-layout--image-right > .summary,
	body.ruibosu-theme.single-product div.product.ruibosu-module-card-layout--text-top > .summary { order: 1; }
	body.ruibosu-theme.single-product div.product.ruibosu-module-card-layout--image-right > .woocommerce-product-gallery,
	body.ruibosu-theme.single-product div.product.ruibosu-module-card-layout--text-top > .woocommerce-product-gallery { order: 2; }
}
body.ruibosu-theme.single-product div.product.ruibosu-module-card-layout--image-only > .summary { display: none !important; }
body.ruibosu-theme.single-product div.product.ruibosu-module-card-layout--text-only > .woocommerce-product-gallery { display: none !important; }
body.ruibosu-theme.single-product div.product.ruibosu-module-card-layout--image-only,
body.ruibosu-theme.single-product div.product.ruibosu-module-card-layout--text-only { grid-template-columns: minmax(0, 1fr) !important; }
body.ruibosu-theme.single-product div.product.ruibosu-module-card-layout--overlay > :is(.woocommerce-product-gallery, .summary) { grid-area: 1 / 1 !important; }
body.ruibosu-theme.single-product div.product.ruibosu-module-card-layout--overlay > .summary {
	z-index: 2;
	align-self: end;
	justify-self: end;
	width: min(100%, 560px) !important;
	margin: clamp(16px, 4vw, 48px) !important;
	padding: clamp(20px, 4vw, 44px) !important;
	background: rgba(255, 255, 255, .92) !important;
	backdrop-filter: blur(10px);
}
body.ruibosu-theme.single-product div.product[class*="ruibosu-module-card-layout--"] > :not(.woocommerce-product-gallery):not(.summary) { grid-column: 1 / -1; }

/* Manual spacing owns the outer module. Neutralise historical spacing on the
 * immediate inner shell so a saved 0px is a real zero, not 0 + legacy 44px. */
body.ruibosu-theme [data-ruibosu-module-id][style*="--ruibosu-module-space-top-desktop"] { padding-top: var(--ruibosu-module-space-top-desktop) !important; }
body.ruibosu-theme [data-ruibosu-module-id][style*="--ruibosu-module-space-bottom-desktop"] { padding-bottom: var(--ruibosu-module-space-bottom-desktop) !important; }
body.ruibosu-theme [data-ruibosu-module-id][style*="--ruibosu-module-space-top-desktop"] > :is(
	.ruibosu-shell, .ruibosu-shop-v2-featured__inner, .ruibosu-product-lifestyle__inner,
	.ruibosu-product-video__inner, .ruibosu-free-module__inner
) { padding-top: 0 !important; margin-top: 0 !important; }
body.ruibosu-theme [data-ruibosu-module-id][style*="--ruibosu-module-space-bottom-desktop"] > :is(
	.ruibosu-shell, .ruibosu-shop-v2-featured__inner, .ruibosu-product-lifestyle__inner,
	.ruibosu-product-video__inner, .ruibosu-free-module__inner
) { padding-bottom: 0 !important; margin-bottom: 0 !important; }
body.ruibosu-theme .ruibosu-hero[data-ruibosu-module-id][style*="--ruibosu-module-space-top-desktop"][style*="--ruibosu-module-space-bottom-desktop"] > .ruibosu-hero__grid { min-height: 0 !important; }

@media (max-width: 960px) {
	body.ruibosu-theme .ruibosu-module-card-layout--image-left :is(
		.ruibosu-detail-list__item__link, .ruibosu-care__item__link,
		.ruibosu-shop-v2-color > a, .ruibosu-product-color-system__link
	),
	body.ruibosu-theme .ruibosu-module-card-layout--image-right :is(
		.ruibosu-detail-list__item__link, .ruibosu-care__item__link,
		.ruibosu-shop-v2-color > a, .ruibosu-product-color-system__link
	) { grid-template-columns: minmax(0, 1fr) !important; gap: var(--ruibosu-module-gap-tablet, 24px) !important; }
	body.ruibosu-theme [data-ruibosu-module-id][style*="--ruibosu-module-space-top-tablet"] { padding-top: var(--ruibosu-module-space-top-tablet) !important; }
	body.ruibosu-theme [data-ruibosu-module-id][style*="--ruibosu-module-space-bottom-tablet"] { padding-bottom: var(--ruibosu-module-space-bottom-tablet) !important; }
}
@media (max-width: 640px) {
	body.ruibosu-theme .ruibosu-module-card-layout--image-left :is(
		.ruibosu-detail-list__item__link, .ruibosu-care__item__link,
		.ruibosu-shop-v2-color > a, .ruibosu-product-color-system__link
	),
	body.ruibosu-theme .ruibosu-module-card-layout--image-right :is(
		.ruibosu-detail-list__item__link, .ruibosu-care__item__link,
		.ruibosu-shop-v2-color > a, .ruibosu-product-color-system__link
	) { gap: var(--ruibosu-module-gap-mobile, 16px) !important; }
	body.ruibosu-theme [data-ruibosu-module-id][style*="--ruibosu-module-space-top-mobile"] { padding-top: var(--ruibosu-module-space-top-mobile) !important; }
	body.ruibosu-theme [data-ruibosu-module-id][style*="--ruibosu-module-space-bottom-mobile"] { padding-bottom: var(--ruibosu-module-space-bottom-mobile) !important; }
}
