/* YOKO Kids v3.3.7 — stable full-width WooCommerce and Rey shell alignment. */
:root { --yoko-content-max: 1760px; }

/* Remove only the content wrapper limits. Header/footer keep Rey's own layout. */
body.yoko-native-template .rey-siteContent,
body.yoko-product-archive-page .rey-siteContent,
body.yoko-pdp-php-template .rey-siteContent,
body.yoko-native-template .rey-siteContent > .container,
body.yoko-product-archive-page .rey-siteContent > .container,
body.yoko-pdp-php-template .rey-siteContent > .container,
body.yoko-native-template .rey-pageContent,
body.yoko-product-archive-page .rey-pageContent,
body.yoko-pdp-php-template .rey-pageContent,
body.yoko-native-template .rey-mainContent,
body.yoko-product-archive-page .rey-mainContent,
body.yoko-pdp-php-template .rey-mainContent {
	width: 100% !important;
	max-width: none !important;
	margin-inline: 0 !important;
	padding-inline: 0 !important;
}

/* All custom pages align to one wide safe gutter instead of a narrow boxed container. */
body.yoko-native-template :where(
	.yoko-shell,
	.yoko-pdp__container,
	.yoko-seasonal-container,
	.yoko-dealer-shell,
	.yoko-content-shell,
	.yoko-about__shell,
	.yoko-archive__shell,
	.yoko-homepage__shell,
	.yoko-sales-policy__shell,
	.yoko-size-guide__shell
) {
	width: min(calc(100% - (var(--yoko-page-gutter) * 2)), 1760px) !important;
	max-width: 1760px !important;
	margin-inline: auto !important;
}

/* Product archive. */
body.yoko-product-archive-page .rey-siteContent { padding-top: 0 !important; }
.yoko-archive { width: 100%; max-width: none; overflow: clip; }
.yoko-archive-hero__inner { min-height: clamp(390px, 31vw, 570px); }
.yoko-archive-hero__visual { min-height: inherit; }
.yoko-archive-hero__copy { padding-left: clamp(34px, 4vw, 78px); }
.yoko-archive-layout { grid-template-columns: minmax(250px, 310px) minmax(0, 1fr); }
.yoko-archive-products { min-width: 0; }
.yoko-archive-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.yoko-archive-local-icon,
.yoko-pdp-local-icon { display: block; object-fit: contain; object-position: center; }
.yoko-archive-hero__benefits .yoko-archive-local-icon { width: 44px; height: 44px; }
.yoko-archive-chips .yoko-archive-local-icon,
.yoko-archive-filter-toggle .yoko-archive-local-icon { width: 20px; height: 20px; }
.yoko-archive-dealer-card > .yoko-archive-local-icon { width: 76px; height: 76px; }
.yoko-archive-collection-cta .yoko-archive-local-icon { width: 64px; height: 64px; }
.yoko-archive-trust .yoko-archive-local-icon { grid-row: 1 / 3; width: 58px; height: 58px; }
.yoko-product-card__actions .yoko-archive-local-icon,
.yoko-product-card__actions .yoko-pdp-local-icon { width: 18px; height: 18px; }

/* Product detail: wide two-column mockup and stable inner sections. */
body.yoko-pdp-php-template .rey-siteContent { padding-top: 0 !important; }
.yoko-pdp { width: 100%; max-width: none; overflow: clip; }
.yoko-pdp__container { padding-top: clamp(18px, 1.8vw, 32px); }
.yoko-pdp__hero { grid-template-columns: minmax(0, 1.08fr) minmax(470px, .92fr); gap: clamp(34px, 3.6vw, 70px); }
.yoko-gallery,
.yoko-summary { min-width: 0; }
.yoko-gallery__stage { min-height: clamp(560px, 48vw, 880px); }
.yoko-gallery__slide img { width: 100%; height: 100%; object-fit: contain; }
.yoko-summary__title { font-size: clamp(42px, 3.55vw, 68px); line-height: 1.06; }
.yoko-summary__excerpt { font-size: 17px; line-height: 1.7; }
.yoko-summary__secondary-actions .yoko-pdp-local-icon { width: 22px; height: 22px; }
.yoko-size-guide-link .yoko-pdp-local-icon { width: 28px; height: 28px; }
.yoko-summary__stock .yoko-pdp-local-icon { width: 30px; height: 30px; }
.yoko-quick-service__item .yoko-pdp-local-icon { width: 50px; height: 50px; }
.yoko-trust-card > .yoko-pdp-local-icon { width: 58px; height: 58px; }
.yoko-policy-strip .yoko-pdp-local-icon { width: 42px; height: 42px; flex: 0 0 42px; }
.yoko-story-section__copy h2 .yoko-pdp-local-icon,
.yoko-story-section__signature .yoko-pdp-local-icon,
.yoko-lookbook h2 .yoko-pdp-local-icon { display: inline-block; width: 24px; height: 24px; vertical-align: -.2em; }
.yoko-summary__wishlist .yoko-pdp-local-icon { width: 28px; height: 28px; }
.yoko-gallery__arrow .yoko-pdp-local-icon,
.yoko-related .yoko-pdp-local-icon { width: 20px; height: 20px; }

/* Embedded Elementor sections are always genuinely full width. */
.yoko-elementor-embed,
.yoko-elementor-embed > .elementor { width: 100%; max-width: none; }

@media (max-width: 1399px) {
	.yoko-archive-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.yoko-pdp__hero { grid-template-columns: minmax(0, 1fr) minmax(430px, .9fr); }
}

@media (max-width: 1023px) {
	.yoko-archive-layout { grid-template-columns: minmax(0, 1fr); }
	.yoko-archive-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.yoko-pdp__hero { grid-template-columns: minmax(0, 1fr); }
	.yoko-gallery__stage { min-height: 0; aspect-ratio: 1 / 1; }
	.yoko-summary__title { font-size: clamp(36px, 6vw, 52px); }
}

@media (max-width: 767px) {
	:root { --yoko-page-gutter: 16px; }
	body.yoko-native-template :where(
		.yoko-shell,
		.yoko-pdp__container,
		.yoko-seasonal-container,
		.yoko-dealer-shell,
		.yoko-content-shell,
		.yoko-about__shell,
		.yoko-archive__shell,
		.yoko-homepage__shell,
		.yoko-sales-policy__shell,
		.yoko-size-guide__shell
	) {
		width: calc(100% - 32px) !important;
	}
	.yoko-archive-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.yoko-archive-hero__copy { padding-inline: 20px; }
	.yoko-archive-hero__benefits .yoko-archive-local-icon { width: 32px; height: 32px; }
	.yoko-archive-trust .yoko-archive-local-icon { width: 38px; height: 38px; }
	.yoko-pdp__container { padding-inline: 0; }
	.yoko-summary__title { font-size: 30px; }
	.yoko-gallery__stage { aspect-ratio: 1 / 1.1; }
	.yoko-quick-service__item .yoko-pdp-local-icon { width: 38px; height: 38px; }
	.yoko-trust-card > .yoko-pdp-local-icon { width: 44px; height: 44px; }
}
