/* Viewport-wide page sections. Gutters belong to their content, not the page frame. */
@media (max-width: 760px) {
	:root {
		--vma-mobile-gutter: 14px;
	}

	.vma-theme .site-content,
	.vma-theme :is(.vma-main, .vma-product-main, .vma-shop-main, .vma-front-page) {
		padding-block: 0;
		background: var(--vma-surface);
	}

	.vma-theme :is(.vma-main, .vma-product-main, .vma-shop-main) > .vma-container,
	.vma-theme .vma-main .vma-page {
		box-sizing: border-box;
		width: 100%;
		min-width: 0;
		max-width: 100%;
		margin: 0;
		padding: 0;
		border: 0;
		border-radius: 0;
		box-shadow: none;
	}

	.vma-theme .vma-main .vma-page-layout {
		grid-template-columns: minmax(0, 1fr);
		gap: 0;
	}

	.vma-theme .vma-main .vma-page-layout > :is(.vma-page, .vma-page-sidebar) {
		grid-column: 1;
	}

	.vma-theme .vma-main .vma-page > .vma-page-title {
		margin: 0;
		padding: 0;
	}

	.vma-theme .vma-main .vma-page-title h1 {
		margin: 0;
		padding: 14px var(--vma-mobile-gutter);
		overflow-wrap: anywhere;
	}

	.vma-theme :is(.vma-page-title, .vma-product-main > .vma-container) > .vma-breadcrumb {
		width: 100%;
		margin: 0;
		border-radius: 0;
	}

	.vma-theme .vma-page > .vma-entry-content {
		min-width: 0;
		margin: 0;
	}

	body.vma-theme:not(.woocommerce-account, .woocommerce-cart) .vma-page:not(.vma-contact-page, .vma-return-page) > .vma-entry-content:not(:has(> .vma-sale)) {
		padding: 14px var(--vma-mobile-gutter) 18px;
		overflow-wrap: anywhere;
	}

	.vma-theme .vma-main .vma-page-sidebar .widget {
		margin: 0;
		padding: 14px var(--vma-mobile-gutter);
		border-width: 1px 0 0;
		border-radius: 0;
		box-shadow: none;
	}

	.vma-theme :is(.vma-front-hero, .vma-front-section, .vma-catalog-hero, .vma-page-header) {
		margin-inline: 0;
		border-radius: 0;
	}

	.vma-theme .vma-front-products-section > .vma-container {
		padding-inline: 0;
	}

	.vma-theme .vma-front-products-section .vma-front-section-head {
		padding-inline: var(--vma-mobile-gutter);
	}

	.vma-theme .vma-shop-main .vma-shop-layout {
		grid-template-columns: minmax(0, 1fr);
		gap: 0;
	}

	.vma-theme .vma-shop-main .vma-filter-open {
		margin: 10px var(--vma-mobile-gutter);
	}

	.vma-theme .vma-shop-main .vma-shop-toolbar {
		grid-template-columns: minmax(0, 1fr) minmax(174px, 48%);
		margin: 0;
		padding-inline: var(--vma-mobile-gutter);
		border-width: 1px 0;
		border-radius: 0;
		background: var(--vma-surface);
		box-shadow: none;
	}

	.vma-theme .vma-shop-toolbar .woocommerce-ordering select {
		min-width: 0;
		max-width: 100%;
	}

	.vma-theme :is(.vma-shop-results, .vma-front-products-section) ul.products {
		padding-inline: var(--vma-mobile-gutter);
	}

	.vma-theme .vma-shop-results ul.products {
		padding-top: 12px;
	}

	.vma-theme ul.products:has(> li.vma-product-card) {
		min-width: 0;
		gap: 12px;
		background: transparent;
	}

	.vma-theme ul.products > li.vma-product-card {
		min-width: 0;
		margin: 0;
		border: 1px solid var(--vma-border);
		border-radius: 5px;
		background: var(--vma-surface);
		box-shadow: none;
		transform: none;
	}

	.vma-theme ul.products > li.vma-product-card .vma-product-card-media {
		margin: 0;
		border-radius: 0;
	}

	.vma-theme ul.products > li.vma-product-card .vma-product-card-body {
		padding: 12px;
		overflow-wrap: anywhere;
	}

	.vma-theme ul.products > li.vma-product-card .vma-product-card-actions .button {
		min-height: 44px;
		border-radius: 5px;
		line-height: 1.3;
		overflow-wrap: anywhere;
	}

	.vma-theme .vma-shop-results nav.woocommerce-pagination {
		margin: 0;
		padding: 16px var(--vma-mobile-gutter) 20px;
	}

	.vma-theme .vma-shop-results .woocommerce-pagination ul.page-numbers {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		gap: 4px;
		margin: 0;
		padding: 0;
	}

	.vma-theme .vma-shop-results .woocommerce-pagination ul.page-numbers > li > .page-numbers {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		min-width: 38px;
		min-height: 44px;
		padding: 6px 8px;
		border-radius: 5px;
	}

	.vma-theme .vma-product-main :is(.vma-product-detail, .vma-product-after-summary) {
		margin: 0;
		gap: 0;
		border: 0;
		border-radius: 0;
		box-shadow: none;
	}

	.vma-theme .vma-product-main :is(.vma-product-gallery, .vma-product-summary, .woocommerce-tabs, .related.products, .up-sells.products) {
		margin: 0;
		border-width: 0 0 1px;
		border-radius: 0;
		box-shadow: none;
	}

	.vma-theme .vma-product-main :is(.vma-product-summary, .related.products, .up-sells.products) {
		padding-inline: var(--vma-mobile-gutter);
	}

	.vma-theme .vma-product-main .vma-product-gallery {
		padding: 0 0 12px;
	}

	.vma-theme .vma-product-main :is(.vma-gallery-toolbar, .vma-product-gallery-meta) {
		padding-inline: var(--vma-mobile-gutter);
	}

	.vma-theme .vma-product-main .vma-product-detail .vma-product-gallery .flex-control-thumbs {
		width: 100%;
		min-width: 0;
		max-width: 100%;
		margin: 0;
		padding: 6px var(--vma-mobile-gutter) 10px;
		scroll-padding-inline: var(--vma-mobile-gutter);
	}

	.vma-theme .vma-product-main .vma-product-gallery-meta {
		margin-top: 4px;
	}

	.vma-theme .vma-product-gallery-meta .product_meta {
		gap: 0;
		min-width: 0;
		padding: 0 12px;
		border: 1px solid var(--vma-border);
		background: var(--vma-surface);
		box-shadow: none;
	}

	.vma-theme .vma-product-gallery-meta .product_meta > :is(.sku_wrapper, .posted_in, .tagged_as) {
		gap: 6px;
		padding: 9px 0;
		border: 0;
		border-radius: 0;
		background: transparent;
	}

	.vma-theme .vma-product-gallery-meta .product_meta > :is(.sku_wrapper, .posted_in, .tagged_as) + :is(.sku_wrapper, .posted_in, .tagged_as) {
		border-top: 1px solid var(--vma-border);
	}

	.vma-theme .vma-product-gallery-meta .vma-product-meta__label {
		display: block;
		color: var(--vma-muted);
		font-weight: 600;
	}

	.vma-theme .vma-product-gallery-meta :is(.posted_in, .tagged_as) > .vma-product-meta__label {
		flex-basis: 100%;
	}

	.vma-theme .vma-product-gallery-meta .vma-product-meta__separator {
		display: none;
	}

	.vma-theme .vma-product-gallery-meta .product_meta :is(.sku, a) {
		max-width: 100%;
		min-height: 30px;
		padding: 4px 8px;
		border-radius: 5px;
		overflow-wrap: anywhere;
	}

	.vma-theme .vma-product-main :is(.vma-gallery-toolbar, .vma-gallery-stage) {
		border-inline: 0;
		border-radius: 0;
	}

	body.vma-theme.search .vma-main > .vma-container > .vma-search-form {
		margin-inline: 0;
		padding-inline: var(--vma-mobile-gutter);
	}

	.vma-theme .vma-search-results .vma-post-card {
		margin: 0;
		padding: 0;
		border-width: 0 0 1px;
		border-radius: 0;
		box-shadow: none;
	}

	.vma-theme .vma-search-results .vma-post-card-body {
		padding-inline: var(--vma-mobile-gutter);
	}

	.vma-theme .vma-main :is(.vma-contact-page, .vma-return-page) > .vma-entry-content {
		margin-top: 0;
	}

	.vma-theme .vma-contact-page .vmgo-contact-layout {
		gap: 0;
	}

	.vma-theme .vma-contact-page :is(.vmgo-contact-intro, .vmgo-contact-form, .vmgo-contact-side-card) {
		padding-inline: var(--vma-mobile-gutter);
		border-width: 0 0 1px;
		border-radius: 0;
		box-shadow: none;
	}

	.vma-theme .vma-return-page :is(.vmaa-return-shell, .vmaa-return-layout, .vmaa-return-side) {
		gap: 0;
		margin: 0;
	}

	.vma-theme .vma-return-page :is(.vmaa-return-hero, .vmaa-return-portal, .vmaa-return-side-card) {
		padding-inline: var(--vma-mobile-gutter);
		border-width: 0 0 1px;
		border-radius: 0;
		box-shadow: none;
	}

	.vma-theme .vma-sale {
		width: 100%;
		max-width: 100%;
		margin: 0;
		padding: 0 var(--vma-mobile-gutter) 14px;
	}

	.vma-theme .vma-sale .vma-sale__head {
		max-width: 100%;
		margin: 0 0 12px;
		padding: 16px 0;
		border-width: 0 0 1px;
		border-style: solid;
		border-color: var(--vma-border);
	}

	.vma-theme .vma-sale > ul.products.vma-sale__grid {
		gap: 12px;
	}

	body.vma-theme.woocommerce-cart :is(.vma-cart-hero, .vma-cart-main-panel, .vma-cart-summary-panel, .vma-cart-recommendations) {
		margin: 0;
		padding-inline: var(--vma-mobile-gutter);
		border-width: 0 0 1px;
		border-radius: 0;
		box-shadow: none;
	}

	body.vma-theme.woocommerce-cart :is(.vma-cart-layout, .vma-entry-content > .woocommerce) {
		gap: 0;
	}

	body.vma-theme.woocommerce-checkout .vma-checkout-login :is(.vma-checkout-login__bar, form.woocommerce-form-login) {
		border-inline: 0;
		border-radius: 0;
	}
}
