/*
 * ParsianPC Full Width
 * Only expands layout containers. It intentionally does not alter WooCommerce
 * grid column counts, product ordering, typography, or image dimensions.
 */

:root {
	--theme-container-width: 100%;
}

/* Blocksy main, header, footer and content containers */
.ct-container,
.ct-header [data-row] > .ct-container,
.ct-footer [data-row] > .ct-container,
#main-container > .ct-container,
.site-main > .ct-container {
	width: 100% !important;
	max-width: none !important;
}

/* Remove theme-imposed maximum widths from common Blocksy content wrappers */
#main-container,
#primary,
#secondary,
.content-area,
.site-main,
.ct-content,
.ct-content > article,
.entry-content,
.woocommerce-page .site-main,
.woocommerce .site-main {
	max-width: none;
}

/* Keep a modest, fluid gutter so content never touches the screen edge */
.ct-container,
#main-container > .ct-container,
.site-main > .ct-container {
	padding-inline: clamp(12px, 1.5vw, 28px);
	box-sizing: border-box;
}

/* Full-width sections can use the full viewport without creating horizontal scroll */
html,
body {
	max-width: 100%;
	overflow-x: clip;
}

/* Preserve the current WooCommerce column count; do not override grid-template-columns. */
.woocommerce ul.products,
.woocommerce-page ul.products {
	box-sizing: border-box;
}

/* On small screens retain comfortable side spacing */
@media (max-width: 689px) {
	.ct-container,
	#main-container > .ct-container,
	.site-main > .ct-container {
		padding-inline: 12px;
	}
}
