:root {
	--ms-accent: #3f6b35;
	--ms-bg: #f4f7f0;
	--ms-surface: #ffffff;
	--ms-text: #1e2d22;
	--ms-muted: #667166;
	--ms-border: #dce5d7;
	--ms-radius: 18px;
	--ms-shadow: 0 16px 44px rgba(20, 55, 35, 0.10);
	--ms-container: 1200px;
}

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

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background:
		radial-gradient(circle at 8% 8%, rgba(112, 162, 79, 0.18), transparent 30%),
		radial-gradient(circle at 94% 36%, rgba(205, 177, 90, 0.14), transparent 24%),
		linear-gradient(180deg, var(--ms-bg) 0%, #edf3e8 100%);
	color: var(--ms-text);
	font-family: "Aptos", "Segoe UI", "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

body::before {
	position: fixed;
	z-index: 0;
	inset: 0;
	background-image: radial-gradient(rgba(57, 95, 51, 0.10) 1px, transparent 1px);
	background-size: 28px 28px;
	content: "";
	mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent);
	pointer-events: none;
}

img {
	max-width: 100%;
	height: auto;
}

a {
	color: var(--ms-accent);
	text-decoration-thickness: 0.08em;
	text-underline-offset: 0.16em;
}

button,
input,
select,
textarea {
	font: inherit;
}

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

.ms-container {
	width: min(calc(100% - 32px), var(--ms-container));
	margin-inline: auto;
}

.ms-skip-link {
	position: fixed;
	z-index: 10000;
	top: 12px;
	left: 12px;
	padding: 10px 14px;
	background: var(--ms-text);
	color: #fff;
	border-radius: 8px;
	transform: translateY(-150%);
}

.ms-skip-link:focus {
	transform: translateY(0);
}

.ms-site-header {
	position: relative;
	z-index: 100;
	background: radial-gradient(circle at 82% 0, rgba(190, 211, 145, .26), transparent 28%), linear-gradient(110deg, #fbfaf5, #f2f1e7 58%, #e9f0df);
	border-bottom: 1px solid rgba(50, 93, 48, .18);
	box-shadow: 0 10px 30px rgba(31, 66, 39, .10);
}

.ms-site-header::after {
	position: absolute;
	right: 0;
	bottom: -1px;
	left: 0;
	height: 3px;
	background: linear-gradient(90deg, #bad274, #e5c66a, #6da356);
	content: "";
}

.ms-site-header.is-sticky {
	position: sticky;
	top: 0;
	backdrop-filter: blur(14px);
}

.ms-header-inner {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	min-height: 84px;
	gap: clamp(16px, 2vw, 34px);
}

.ms-brand,
.custom-logo-link {
	display: inline-flex;
	align-items: center;
}

.custom-logo {
	width: auto;
	max-height: 52px;
}

.ms-brand-logo-link,
.ms-brand-logo {
	display: block;
}

.ms-brand-logo {
	width: auto;
	max-width: 210px;
	max-height: 54px;
	object-fit: contain;
}

.ms-site-name {
	color: #183d28;
	max-width: 220px;
	font-size: 1.05rem;
	font-weight: 800;
	letter-spacing: -0.02em;
	text-decoration: none;
}

.ms-menu,
.ms-footer-menu {
	display: flex;
	align-items: center;
	gap: clamp(12px, 1.5vw, 24px);
	padding: 0;
	margin: 0;
	list-style: none;
}

.ms-footer-policies {
	display: grid;
	gap: 10px;
}

.ms-footer-policies .ms-footer-menu {
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 10px 20px;
}

.ms-menu a {
	color: #263d2c;
	font-size: 0.9rem;
	font-weight: 700;
	text-decoration: none;
}

.ms-menu a:hover,
.ms-menu .current-menu-item > a {
	color: #2f733d;
}

.ms-menu > li {
	position: relative;
}

.ms-menu .sub-menu {
	position: absolute;
	top: calc(100% + 14px);
	left: -16px;
	display: none;
	min-width: 220px;
	padding: 10px;
	margin: 0;
	border: 1px solid rgba(230, 200, 120, 0.22);
	border-radius: 12px;
	background: #fffef9;
	box-shadow: 0 18px 38px rgba(20, 55, 35, 0.16);
	list-style: none;
}

.ms-menu > li:hover > .sub-menu,
.ms-menu > li:focus-within > .sub-menu {
	display: grid;
	gap: 2px;
}

.ms-menu .sub-menu a {
	display: block;
	padding: 8px 10px;
	border-radius: 7px;
}

.ms-menu .sub-menu a:hover {
	background: #edf4e6;
}

.ms-header-actions {
	display: flex;
	align-items: center;
	gap: 14px;
}

.ms-account-link,
.onchair-header-login-btn,
.ms-cart-link,
.ms-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 8px 18px;
	border-radius: 999px;
	border: 1px solid transparent;
	background: linear-gradient(135deg, #4f813e, #2f6f3b);
	color: #fff;
	font-weight: 700;
	text-decoration: none;
	transition: transform 160ms ease, filter 160ms ease;
}

.ms-account-link:hover,
.onchair-header-login-btn:hover,
.ms-cart-link:hover,
.ms-button:hover {
	color: #fff;
	filter: brightness(0.93);
	transform: translateY(-1px);
}

.ms-menu-toggle {
	display: none;
	width: 44px;
	height: 44px;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: 1px solid rgba(47, 111, 59, .28);
	border-radius: 12px;
	background: #edf3e6;
	color: #285f35;
}

.ms-mobile-search {
	display: none;
}

.ms-header-icon {
	display: inline-grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border: 1px solid rgba(47, 111, 59, .35);
	border-radius: 50%;
	color: #285f35;
	font-size: 1.5rem;
	line-height: 1;
	text-decoration: none;
}

.ms-cart-link {
	gap: 8px;
	white-space: nowrap;
}

.ms-cart-count {
	display: inline-grid;
	place-items: center;
	min-width: 20px;
	height: 20px;
	padding-inline: 5px;
	border-radius: 999px;
	background: #e2bd52;
	color: #183222;
	font-size: 0.75rem;
}

.ms-menu-toggle-icon,
.ms-menu-toggle-icon::before,
.ms-menu-toggle-icon::after {
	display: block;
	width: 20px;
	height: 2px;
	background: currentColor;
	content: "";
	transition: transform 160ms ease;
}

.ms-menu-toggle-icon::before {
	transform: translateY(-6px);
}

.ms-menu-toggle-icon::after {
	transform: translateY(4px);
}

.ms-site-main {
	position: relative;
	z-index: 1;
	min-height: 60vh;
	background: transparent;
}

.ms-content {
	padding-block: clamp(36px, 6vw, 84px);
}

.ms-content-narrow {
	max-width: 820px;
}

.ms-entry-title {
	margin: 0 0 28px;
	font-size: clamp(2rem, 5vw, 3.5rem);
	line-height: 1.08;
	letter-spacing: -0.035em;
}

.ms-entry-content {
	color: #dedee2;
}

.ms-entry-content h1,
.ms-entry-content h2,
.ms-entry-content h3,
.ms-entry-content h4,
.ms-entry-content h5,
.ms-entry-content h6 {
	color: #f7f7f8;
}

.ms-entry-content > :first-child {
	margin-top: 0;
}

.ms-entry-content > :last-child {
	margin-bottom: 0;
}

.elementor-page .ms-content,
.elementor-page .ms-entry {
	width: 100%;
	max-width: none;
	padding: 0;
}

.ms-site-footer {
	position: relative;
	z-index: 2;
	padding-block: 42px;
	background: linear-gradient(135deg, var(--ms-footer, #10291d), #1b4b31);
	color: #fff;
	border-top: 1px solid rgba(200, 161, 63, 0.28);
}

.ms-footer-inner {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 24px;
	align-items: start;
}

.ms-footer-inner p {
	margin: 6px 0 0;
	color: #b9b9bd;
}

.ms-footer-brand {
	max-width: 620px;
}

.ms-social-links {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 18px;
}

.ms-social-links a,
.ms-social-links button {
	display: inline-grid;
	place-items: center;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 1px solid rgba(230, 200, 120, 0.28);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.04);
	color: #e6c878;
	cursor: pointer;
	transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.ms-social-links a:hover,
.ms-social-links button:hover,
.ms-social-links button.is-copied {
	background: var(--ms-accent);
	color: #080808;
	transform: translateY(-2px);
}

.ms-social-icon {
	width: 20px;
	height: 20px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.ms-social-icon .ms-icon-fill {
	fill: currentColor;
	stroke: none;
}

.ms-share {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-top: 40px;
	padding-top: 24px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.ms-share .ms-social-links {
	margin-top: 0;
}

.ms-footer-menu a {
	color: #dbe9b8;
	text-decoration: none;
}

.ms-footer-meta {
	grid-column: 1 / -1;
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding-top: 22px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.ms-copyright,
.ms-developer-credit {
	font-size: 0.875rem;
}

.ms-developer-credit a {
	color: #e6c878;
	font-weight: 700;
	text-decoration: none;
}

.ms-empty-state {
	text-align: center;
}

.ms-home-products,
.ms-home-posts {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 22px;
	margin-top: 28px;
}

.ms-home-product,
.ms-home-post {
	overflow: hidden;
	border: 1px solid var(--ms-border);
	border-radius: var(--ms-radius);
	background: #fff;
	box-shadow: var(--ms-shadow);
}

.ms-home-product-image,
.ms-home-post-image {
	display: block;
	aspect-ratio: 1 / .78;
	background: var(--ms-surface);
}

.ms-home-product-image img,
.ms-home-post-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ms-home-post-image span {
	display: grid;
	height: 100%;
	place-items: center;
	color: var(--ms-accent);
	font-weight: 800;
}

.ms-home-product-body,
.ms-home-post-body {
	padding: 16px;
}

.ms-home-product h4,
.ms-home-post h4 {
	margin: 0 0 8px;
	font-size: 1rem;
	line-height: 1.35;
}

.ms-home-product h4 a,
.ms-home-post h4 a {
	color: #17171b;
	text-decoration: none;
}

.ms-home-product-price {
	margin-bottom: 14px;
	color: var(--ms-accent);
	font-weight: 800;
}

.ms-home-product-button {
	min-height: 36px;
	padding: 6px 14px;
	font-size: .875rem;
}

.ms-home-post-date {
	margin: 0 0 6px;
	color: var(--ms-muted);
	font-size: .8rem;
	font-weight: 700;
}

.ms-home-post-body > p:not(.ms-home-post-date) {
	color: #4f4f56;
	font-size: .9rem;
}

.ms-home-section-action {
	margin: 28px 0 0;
	text-align: center;
}

.ms-home-empty {
	margin-top: 20px;
	color: var(--ms-muted);
}

/* WooCommerce: catálogo, produto, carrinho e checkout sem overrides legados. */
.ms-shop {
	padding-block: clamp(32px, 5vw, 72px);
}

.ms-shop .woocommerce-breadcrumb {
	margin: 0 0 20px;
	color: var(--ms-muted);
}

.ms-shop .woocommerce-breadcrumb a {
	color: inherit;
}

.ms-shop .woocommerce-result-count,
.ms-shop .woocommerce-ordering {
	margin-bottom: 28px;
}

.ms-shop .woocommerce-ordering select,
.ms-shop .woocommerce form .input-text,
.ms-shop .woocommerce form select,
.ms-shop .select2-container--default .select2-selection--single {
	min-height: 44px;
	padding: 8px 12px;
	border: 1px solid var(--ms-border);
	border-radius: 8px;
	background: #fff;
	color: #17171b;
}

.ms-shop .woocommerce ul.products {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px;
	margin: 0;
}

.ms-shop .woocommerce ul.products::before,
.ms-shop .woocommerce ul.products::after {
	display: none;
}

.ms-shop .woocommerce ul.products li.product {
	width: auto;
	margin: 0;
	padding: 14px;
	border: 1px solid var(--ms-border);
	border-radius: var(--ms-radius);
	background: #fff;
	box-shadow: var(--ms-shadow);
}

.ms-shop .woocommerce ul.products li.product a img {
	margin-bottom: 14px;
	border-radius: calc(var(--ms-radius) - 4px);
}

.ms-shop .woocommerce ul.products li.product .woocommerce-loop-product__title {
	padding: 0;
	color: #17171b;
	font-size: 1rem;
}

.ms-shop .woocommerce ul.products li.product .price,
.ms-shop .woocommerce div.product p.price,
.ms-shop .woocommerce div.product span.price {
	color: var(--ms-accent);
	font-weight: 800;
}

.ms-shop .woocommerce a.button,
.ms-shop .woocommerce button.button,
.ms-shop .woocommerce input.button,
.ms-shop .woocommerce #respond input#submit {
	border-radius: 999px;
	background: var(--ms-accent);
	color: #fff;
	font-weight: 700;
}

.ms-shop .woocommerce div.product div.images,
.ms-shop .woocommerce div.product div.summary {
	margin-bottom: 44px;
}

.ms-shop .woocommerce div.product .product_title {
	color: var(--ms-text);
	font-size: clamp(1.9rem, 4vw, 3rem);
}

.ms-shop .woocommerce-message,
.ms-shop .woocommerce-info,
.ms-shop .woocommerce-error {
	border-radius: 10px;
}

.ms-shop .woocommerce-cart-form,
.ms-shop .cart-collaterals,
.ms-shop .woocommerce-checkout-review-order,
.ms-shop .woocommerce form.checkout {
	padding: 22px;
	border: 1px solid var(--ms-border);
	border-radius: var(--ms-radius);
	background: #fff;
	box-shadow: var(--ms-shadow);
}

.ms-kicker {
	color: var(--ms-accent);
	font-weight: 800;
	letter-spacing: 0.12em;
}

@media (max-width: 960px) {
	.ms-header-inner {
		grid-template-columns: 44px minmax(0, 1fr) 44px;
		gap: 12px;
		min-height: 60px;
		padding-block: 7px;
	}

	.ms-brand {
		grid-column: 2;
		grid-row: 1;
		justify-self: center;
		min-width: 0;
	}

	.ms-brand-logo {
		max-width: min(225px, 58vw);
		max-height: 58px;
	}

	.ms-menu-toggle {
		display: inline-flex;
		grid-column: 1;
		grid-row: 1;
		justify-self: start;
		border-color: rgba(42, 101, 52, .34);
		background: #eaf2e3;
		color: #235c32;
		box-shadow: 0 5px 14px rgba(26, 67, 40, .10);
	}

	.ms-mobile-search {
		display: flex;
		grid-column: 3;
		grid-row: 1;
		align-items: center;
		justify-content: flex-end;
	}

	.ms-mobile-search .onchair-header-search-link {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 42px;
		height: 42px;
		color: #235c32;
		border: 1px solid rgba(42, 101, 52, .34);
		border-radius: 999px;
		background: #eef4e8;
		text-decoration: none;
	}

	.ms-mobile-search .ms-header-icon,
	.ms-mobile-search .ms-cart-link {
		border-color: rgba(42, 101, 52, .34) !important;
		background: #eef4e8 !important;
		color: #235c32 !important;
		box-shadow: 0 5px 14px rgba(26, 67, 40, .10);
	}

	.ms-mobile-search .ms-cart-link svg,
	.ms-mobile-search .ms-header-icon svg {
		color: #235c32 !important;
		stroke: currentColor !important;
	}

	.ms-mobile-search .onchair-header-search-icon {
		width: 21px;
		height: 21px;
	}

	.ms-primary-navigation,
	.ms-header-actions {
		display: none;
		grid-column: 1 / -1;
	}

	.is-menu-open .ms-primary-navigation,
	.is-menu-open .ms-header-actions {
		display: flex;
	}

	.ms-primary-navigation {
		grid-row: 2;
		padding-top: 10px;
		border-top: 1px solid rgba(230, 200, 120, 0.2);
	}

	.ms-menu {
		width: 100%;
		align-items: stretch;
		flex-direction: column;
		gap: 0;
	}

	.ms-menu a {
		display: block;
		padding: 11px 0;
	}

	.ms-header-actions {
		grid-row: 3;
		align-items: stretch;
		flex-direction: column;
		padding-bottom: 18px;
	}

	.ms-header-actions .ms-search {
		display: none;
	}

	.ms-shop .woocommerce ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ms-home-products,
	.ms-home-posts {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	input,
	select,
	textarea,
	.ms-search-form input,
	.onchair-painel-v2 input,
	.onchair-painel-v2 select,
	.onchair-painel-v2 textarea,
	.onchair-onboarding-modal input,
	.onchair-onboarding-modal select,
	.onchair-onboarding-modal textarea {
		max-width: 100%;
		font-size: 16px !important;
	}

	.ms-container {
		width: min(calc(100% - 24px), var(--ms-container));
	}

	.ms-footer-inner {
		grid-template-columns: 1fr;
	}

	.ms-footer-menu {
		align-items: flex-start;
		flex-direction: column;
		gap: 10px;
	}

	.ms-footer-meta {
		align-items: flex-start;
		flex-direction: column;
	}

	.ms-share {
		align-items: flex-start;
		flex-direction: column;
	}

	.ms-shop .woocommerce ul.products {
		grid-template-columns: 1fr;
	}

	.ms-home-products,
	.ms-home-posts {
		grid-template-columns: 1fr;
	}
}

@media (prefers-reduced-motion: reduce) {
	* {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}

/* Rede Verde: vitrine com rolagem horizontal, cartões premium e compra clara. */
.ms-home-products-shell { position: relative; margin-top: 30px; }
.ms-home-products { display: flex; gap: 18px; overflow-x: auto; padding: 4px 4px 18px; margin: 0; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.ms-home-product { flex: 0 0 clamp(220px, 23vw, 280px); display: flex; flex-direction: column; scroll-snap-align: start; border: 1px solid rgba(63,107,53,.18); border-radius: 20px; box-shadow: 0 12px 30px rgba(20,55,35,.10); transition: transform .2s ease, box-shadow .2s ease; }
.ms-home-product:hover, .ms-home-post:hover, .ms-shop .woocommerce ul.products li.product:hover { transform: translateY(-5px); box-shadow: 0 22px 42px rgba(20,55,35,.16); }
.ms-home-product-image { aspect-ratio: 1 / .9; padding: 14px; background: linear-gradient(145deg,#f8fbf4,#e8f0de); }
.ms-home-product-image img { object-fit: contain; mix-blend-mode: multiply; }
.ms-home-product-body { display: flex; flex: 1; flex-direction: column; padding: 18px; }
.ms-home-product h4 { min-height: 3em; font-size: 1.03rem; }
.ms-home-product-price { margin-top: auto; font-size: 1.15rem; }
.ms-home-product-button { width: 100%; margin-top: 4px; }
.ms-carousel-actions { display: flex; justify-content: flex-end; gap: 8px; margin-bottom: 8px; }
.ms-carousel-actions button { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--ms-border); border-radius: 50%; background: #fff; color: var(--ms-accent); font-size: 1.8rem; line-height: 1; cursor: pointer; }
.ms-home-posts { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.ms-home-post { border-color: rgba(63,107,53,.16); border-radius: 20px; transition: transform .2s ease, box-shadow .2s ease; }
.ms-home-post-image { aspect-ratio: 1 / .68; background: linear-gradient(135deg,#dcebd0,#f8f2d9); }
.ms-home-post-body { padding: 20px; }
.ms-home-post h4 { font-size: 1.12rem; }
.ms-home-post-body > a { display: inline-flex; margin-top: 10px; color: var(--ms-accent); font-weight: 800; text-decoration: none; }
.ms-shop .woocommerce ul.products li.product { overflow: hidden; padding: 16px; border-color: rgba(63,107,53,.18); border-radius: 20px; transition: transform .2s ease, box-shadow .2s ease; }
.ms-shop .woocommerce ul.products li.product a img { aspect-ratio: 1 / 1; padding: 10px; object-fit: contain; background: #f7faf3; }
.ms-shop .woocommerce ul.products li.product .woocommerce-loop-product__title { min-height: 2.8em; font-size: 1.05rem; line-height: 1.38; }
.ms-shop .woocommerce ul.products li.product .price { display: block; margin: 9px 0 14px; font-size: 1.12rem; }
.ms-shop .woocommerce ul.products li.product .button { width: 100%; text-align: center; }
.single-product .ms-shop .product { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(330px,.85fr); gap: clamp(28px,5vw,72px); align-items: start; }
.single-product .ms-shop .product .woocommerce-product-gallery, .single-product .ms-shop .product .summary { float: none; width: auto; }
.single-product .ms-shop .product .woocommerce-product-gallery { padding: 20px; border: 1px solid var(--ms-border); border-radius: 22px; background: #fff; box-shadow: var(--ms-shadow); }
.single-product .ms-shop .product .summary { position: sticky; top: 106px; padding: clamp(22px,3vw,34px); border: 1px solid rgba(63,107,53,.20); border-radius: 22px; background: #fff; box-shadow: var(--ms-shadow); }
.single-product .ms-shop .product .product_title { margin: 0 0 18px; font-size: clamp(1.7rem,3vw,2.5rem); line-height: 1.15; }
.single-product .ms-shop .product p.price { margin: 0 0 16px; font-size: clamp(1.7rem,3vw,2.35rem); color: #276234; }
.ms-installments { display: grid; gap: 4px; margin: 18px 0; padding: 14px 16px; border: 1px solid #cde3bf; border-radius: 14px; background: #f4faef; color: #255635; }
.ms-installments span { color: #5d705f; font-size: .87rem; }
.single-product .ms-shop .product form.cart { display: flex; flex-wrap: wrap; gap: 10px; padding: 18px 0; border-top: 1px solid var(--ms-border); border-bottom: 1px solid var(--ms-border); }
.single-product .ms-shop .product form.cart .single_add_to_cart_button { min-height: 52px; flex: 1; font-size: 1rem; }
.single-product .ms-shop .woocommerce-tabs, .single-product .ms-shop .related { grid-column: 1 / -1; }
@media (max-width:960px) { .single-product .ms-shop .product { grid-template-columns: 1fr; } .single-product .ms-shop .product .summary { position: static; } .ms-home-posts { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width:640px) { .ms-home-product { flex-basis: 80vw; } .ms-home-posts { grid-template-columns: 1fr; } }

/* Ajustes de vitrine 0.4.1: prioriza imagem, leitura e toque em telas pequenas. */
.ms-product-search[hidden] { display: none; }
.ms-product-search { position: fixed; z-index: 9999; inset: 0; display: grid; place-items: start center; padding: min(12vh,110px) 18px 20px; }
.ms-product-search-backdrop { position: absolute; inset: 0; background: rgba(7,29,17,.66); backdrop-filter: blur(5px); }
.ms-product-search-panel { position: relative; width: min(680px,100%); padding: clamp(24px,5vw,42px); border-radius: 24px; background: #fff; box-shadow: 0 30px 80px rgba(0,0,0,.28); }
.ms-product-search-panel h2 { margin: 0 0 18px; color: #17442d; font-size: clamp(1.45rem,4vw,2rem); }
.ms-product-search-panel form { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.ms-product-search-panel input[type="search"] { min-width: 0; min-height: 52px; padding: 0 16px; border: 1px solid #b9ceb1; border-radius: 12px; color: var(--ms-text); }
.ms-product-search-close { position: absolute; top: 10px; right: 14px; border: 0; background: transparent; color: #54705a; font-size: 2rem; cursor: pointer; }
.ms-header-icon { cursor: pointer; background: transparent; }

/* Seletores sem depender de uma classe extra do WooCommerce. */
.ms-shop ul.products, .single-product .related ul.products { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; padding: 0; margin: 0; list-style: none; }
.ms-shop ul.products::before, .ms-shop ul.products::after { display: none; }
.ms-shop ul.products li.product, .single-product .related ul.products li.product { width: auto; margin: 0; padding: 14px; overflow: hidden; border: 1px solid rgba(63,107,53,.18); border-radius: 18px; background: #fff; box-shadow: 0 12px 30px rgba(20,55,35,.09); transition: transform .2s ease, box-shadow .2s ease; }
.ms-shop ul.products li.product img, .single-product .related ul.products li.product img { width: 100%; aspect-ratio: 1; padding: 8px; margin: 0 0 12px; object-fit: contain; background: #f5f9f1; border-radius: 13px; }
.ms-shop ul.products li.product .woocommerce-loop-product__title, .single-product .related .woocommerce-loop-product__title { min-height: 2.8em; padding: 0; color: #1e2d22; font-size: 1rem; line-height: 1.4; }
.ms-shop ul.products li.product .price, .single-product .related .price { display: block; margin: 8px 0 12px; color: #276234; font-size: 1.08rem; font-weight: 800; }
.ms-shop ul.products li.product .button, .single-product .related .button { display: block; width: 100%; text-align: center; }

.single-product .ms-shop .product { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(320px,.95fr); gap: clamp(26px,4vw,58px); align-items: start; }
.single-product .ms-shop .product .woocommerce-product-gallery { float: none; width: auto; padding: clamp(12px,2vw,24px); border: 1px solid #dce5d7; border-radius: 22px; background: #fff; box-shadow: 0 14px 34px rgba(20,55,35,.10); }
.single-product .ms-shop .product .woocommerce-product-gallery__wrapper { border-radius: 14px; overflow: hidden; background: #f7faf4; }
.single-product .ms-shop .product .woocommerce-product-gallery__image a { display: grid; min-height: min(58vw,560px); place-items: center; }
.single-product .ms-shop .product .woocommerce-product-gallery__image img { width: 100%; max-height: 560px; object-fit: contain; }
.single-product .ms-shop .flex-control-thumbs { display: flex; gap: 9px; padding: 14px 0 0; margin: 0; overflow-x: auto; }
.single-product .ms-shop .flex-control-thumbs li { flex: 0 0 72px; width: 72px; border: 1px solid #dce5d7; border-radius: 10px; overflow: hidden; }
.single-product .ms-shop .flex-control-thumbs img { aspect-ratio: 1; object-fit: cover; }
.single-product .ms-shop .product .summary { position: static; float: none; width: auto; margin: 0; padding: clamp(20px,3vw,32px); border: 1px solid rgba(63,107,53,.20); border-radius: 22px; background: #fff; box-shadow: 0 14px 34px rgba(20,55,35,.10); }
.single-product .ms-shop .product .product_title { margin: 0 0 14px; color: #1b3423; font-size: clamp(1.65rem,3.2vw,2.55rem); line-height: 1.15; }
.single-product .ms-shop .product p.price { margin: 16px 0; color: #276234; font-size: clamp(1.75rem,3.5vw,2.45rem); font-weight: 800; }
.single-product .ms-shop .product .woocommerce-product-details__short-description { padding: 14px 0; border-top: 1px solid var(--ms-border); color: #4f6251; }
.single-product .ms-shop .product form.cart { display: flex; align-items: stretch; gap: 10px; padding: 18px 0; margin: 0; border-top: 1px solid var(--ms-border); border-bottom: 1px solid var(--ms-border); }
.single-product .ms-shop .product form.cart .quantity .qty { height: 52px; min-width: 64px; border: 1px solid #b9ceb1; border-radius: 10px; }
.single-product .ms-shop .product form.cart .single_add_to_cart_button { min-height: 52px; flex: 1; border-radius: 12px; background: linear-gradient(135deg,#4f813e,#276234); }
.single-product .ms-shop .woocommerce-tabs, .single-product .ms-shop .related { grid-column: 1 / -1; padding: clamp(22px,4vw,40px); margin-top: 8px; border: 1px solid var(--ms-border); border-radius: 22px; background: #fff; }
.single-product .ms-shop .related { padding: clamp(22px,4vw,34px); }
.single-product .ms-shop .related > h2 { margin: 0 0 22px; color: #1b3423; }

@media (max-width: 960px) { .single-product .ms-shop .product { grid-template-columns: 1fr; } .ms-shop ul.products, .single-product .related ul.products { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; } }
@media (max-width: 640px) { .ms-product-search { padding-top: 70px; } .ms-product-search-panel form { grid-template-columns: 1fr; } .ms-product-search-panel .ms-button { min-height: 50px; } .ms-shop { padding-inline: 0; } .ms-shop ul.products, .single-product .related ul.products { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; } .ms-shop ul.products li.product, .single-product .related ul.products li.product { padding: 9px; border-radius: 14px; } .ms-shop ul.products li.product .woocommerce-loop-product__title, .single-product .related .woocommerce-loop-product__title { min-height: 0; font-size: .86rem; } .ms-shop ul.products li.product .price, .single-product .related .price { font-size: .96rem; } .ms-shop ul.products li.product .button, .single-product .related .button { min-height: 38px; padding: 7px 8px; font-size: .78rem; } .single-product .ms-shop .product .woocommerce-product-gallery__image a { min-height: 80vw; } .single-product .ms-shop .product .summary { padding: 20px; } .single-product .ms-shop .woocommerce-tabs, .single-product .ms-shop .related { padding: 20px; border-radius: 16px; } }

.ms-product-search-panel form { grid-template-columns: minmax(0,1fr) 145px 180px auto; }
.ms-product-search-panel select { min-width: 0; min-height: 52px; padding: 0 10px; border: 1px solid #b9ceb1; border-radius: 12px; background: #fff; color: var(--ms-text); }
.ms-search-suggestions { display: grid; gap: 8px; max-height: 380px; margin-top: 14px; overflow: auto; }
.ms-search-result { display: grid; grid-template-columns: 54px 1fr; gap: 12px; align-items: center; padding: 8px; border-radius: 12px; color: var(--ms-text); text-decoration: none; }
.ms-search-result:hover { background: #f0f7eb; }
.ms-search-result-image { display: grid; width: 54px; height: 54px; place-items: center; overflow: hidden; border-radius: 9px; background: #f1f6ec; }
.ms-search-result-image img { width: 100%; height: 100%; object-fit: cover; }
.ms-search-result strong,.ms-search-result small { display: block; }.ms-search-result small { margin-top: 3px; color: #3f6b35; }
.ms-product-card-image { position: relative; display: block; aspect-ratio: 1; padding: 8px; overflow: hidden; border-radius: 13px; background: #f5f9f1; }.ms-product-card-image img { width: 100%; height: 100%; object-fit: contain; }.ms-product-card-content { padding-top: 12px; }.ms-product-card-content .button { width: 100%; }.ms-product-card-content .price { display: block; margin: 8px 0 12px; color: #276234; font-weight: 800; }.ms-product-card-content h2 a { color: #1e2d22; text-decoration: none; }
.ms-mobile-bottom-nav { display: none; }
@media (max-width: 640px) { body { padding-bottom: 70px; } .ms-mobile-bottom-nav { position: fixed; z-index: 1000; right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: repeat(5,1fr); padding: 6px 3px calc(6px + env(safe-area-inset-bottom)); border-top: 1px solid #dce5d7; background: rgba(255,255,255,.97); box-shadow: 0 -8px 26px rgba(20,55,35,.12); }.ms-mobile-bottom-nav a { display: grid; gap: 2px; place-items: center; min-width: 0; color: #31573b; text-decoration: none; }.ms-mobile-bottom-nav span { font-size: 1.28rem; line-height: 1; }.ms-mobile-bottom-nav small { overflow: hidden; max-width: 100%; font-size: .63rem; text-overflow: ellipsis; white-space: nowrap; }.ms-shop ul.products li.product, .single-product .related ul.products li.product { min-width: 0; padding: 8px; }.ms-product-card-content { padding-top: 8px; }.ms-product-card-content .woocommerce-loop-product__title { margin: 0; min-height: 2.5em; font-size: .78rem !important; line-height: 1.28; }.ms-product-card-content .price { margin: 6px 0 8px; font-size: .92rem; }.ms-product-card-content .button { min-height: 36px; padding: 6px 4px; font-size: .72rem; }.ms-product-search-panel form { grid-template-columns: 1fr 1fr; }.ms-product-search-panel input[type="search"] { grid-column: 1 / -1; }.ms-product-search-panel .ms-button { grid-column: 1 / -1; } }

/* Correções finais de grade: a imagem ocupa sempre toda a largura do cartão. */
.ms-product-card-image { display: block !important; width: 100% !important; min-width: 0; height: auto; aspect-ratio: 1 / 1; }
.ms-product-card-image img { display: block; width: 100% !important; height: 100% !important; min-width: 0; object-fit: contain; }
.single-product .related ul.products { grid-template-columns: repeat(4,minmax(0,1fr)); }
.single-product .related ul.products li.product { display: block; min-width: 0; }
.single-product .related .ms-product-card-content { display: block; }
.single-product .related .ms-product-card-rating { min-height: 0; }
.ms-mobile-bottom-nav span { display: grid; place-items: center; width: 27px; height: 27px; color: #2f6b40; }
.ms-mobile-bottom-nav span svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width:640px) { .ms-shop { width: min(calc(100% - 16px),var(--ms-container)); } .ms-shop ul.products { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; } .ms-shop ul.products li.product { padding:10px; border-radius:15px; } .ms-shop ul.products li.product .ms-product-card-image { aspect-ratio:1 / 1.06; padding:5px; } .ms-shop ul.products li.product .woocommerce-loop-product__title { min-height:3.7em; font-size:.80rem !important; line-height:1.22; } .ms-shop ul.products li.product .price { margin:7px 0 9px; font-size:.92rem; } .ms-shop ul.products li.product .button { min-height:35px; padding:6px 2px; font-size:.70rem; } .single-product .related ul.products { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; } .ms-home-posts { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; } .ms-home-post-body { padding:13px; } .ms-home-post h4 { font-size:.9rem; } .ms-home-post-body > p:not(.ms-home-post-date) { display:none; } }

/* Home em duas linhas: a rolagem avança por colunas, não por cards soltos. */
.ms-home-products { display:grid; grid-auto-flow:column; grid-template-rows:repeat(2,minmax(0,1fr)); grid-auto-columns:minmax(230px,280px); align-items:stretch; overflow-x:auto; overscroll-behavior-x:contain; }
.ms-home-product { display:flex; min-width:0; }.ms-home-product-link { display:flex; flex:1; flex-direction:column; color:inherit; text-decoration:none; }.ms-home-product-image { display:block; }.ms-home-product-body { display:flex; flex:1; flex-direction:column; }.ms-home-product-name { min-height:2.8em; color:#1e2d22; font-size:1rem; font-weight:800; line-height:1.38; }.ms-home-product-price { display:block; margin-top:auto; font-size:1.24rem; font-weight:900; }.ms-home-product-price del { color:#809082; font-size:.78rem; font-weight:600; }.ms-home-product-price ins { color:#d5422f; text-decoration:none; }.ms-home-product-price.is-sale::before { display:inline-block; padding:3px 7px; margin:0 6px 5px 0; border-radius:999px; background:#e84c3d; color:#fff; content:'Oferta'; font-size:.65rem; font-weight:800; letter-spacing:.03em; vertical-align:middle; }.ms-home-product-action { padding:0 18px 18px; }.ms-home-product-button { width:100%; min-height:38px; background:linear-gradient(135deg,#3d7436,#276234); }
.ms-cart-link { position:relative; min-width:44px; width:44px; height:44px; padding:0; border:1px solid rgba(232,244,216,.46); background:transparent; }.ms-cart-link svg { width:22px; height:22px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }.ms-cart-count { position:absolute; top:-7px; right:-7px; min-width:19px; height:19px; padding:0 4px; background:#e6c878; color:#17311f; font-size:.68rem; }
@media (max-width:640px) { .ms-home-products-shell { margin-inline:-2px; }.ms-home-products { grid-auto-columns:calc((100vw - 48px) / 2); gap:10px; padding:3px 2px 14px; }.ms-home-product { border-radius:14px; }.ms-home-product-image { aspect-ratio:1 / 1; padding:6px; }.ms-home-product-body { padding:10px; }.ms-home-product-name { min-height:3.55em; font-size:.76rem; line-height:1.2; }.ms-home-product-price { font-size:1rem; line-height:1.2; }.ms-home-product-action { padding:0 10px 10px; }.ms-home-product-button { min-height:33px; padding:5px; font-size:.72rem; }.ms-mobile-search { gap:8px; }.ms-mobile-search .ms-cart-link { display:inline-flex; flex:0 0 40px; min-width:40px; width:40px; height:40px; }.ms-header-actions .ms-cart-link { display:none; } }

/* Loja: neutraliza as larguras percentuais legadas do WooCommerce. */
body.woocommerce-shop .ms-shop ul.products,
body.tax-product_cat .ms-shop ul.products,
body.tax-product_tag .ms-shop ul.products { display:grid !important; grid-template-columns:repeat(4,minmax(0,1fr)) !important; gap:22px !important; }
body.woocommerce-shop .ms-shop ul.products li.product,
body.tax-product_cat .ms-shop ul.products li.product,
body.tax-product_tag .ms-shop ul.products li.product { float:none !important; clear:none !important; width:100% !important; min-width:0 !important; margin:0 !important; }
.ms-shop .woocommerce-result-count { float:left; }.ms-shop .woocommerce-ordering { float:right; }.ms-shop .woocommerce-ordering select { width:auto; min-width:220px; }.ms-shop ul.products { clear:both; }

/* Counter-up da home. */
.home .elementor-widget-counter .elementor-widget-container { height:100%; padding:clamp(18px,3vw,30px); border:1px solid rgba(63,107,53,.16); border-radius:20px; background:linear-gradient(145deg,rgba(255,255,255,.96),rgba(239,247,232,.94)); box-shadow:0 14px 34px rgba(20,55,35,.10); }
.home .elementor-counter { display:grid; gap:8px; place-items:center; text-align:center; }.home .elementor-counter-number-wrapper { color:#2e713d; font-size:clamp(2rem,4vw,3.5rem); font-weight:900; line-height:1; letter-spacing:-.04em; }.home .elementor-counter-title { color:#4d6251; font-size:.78rem; font-weight:800; letter-spacing:.08em; line-height:1.35; text-transform:uppercase; }

/* Minha Conta / login WooCommerce. */
body.woocommerce-account .ms-shop { max-width:1040px; }.woocommerce-account .woocommerce { padding:clamp(20px,4vw,46px); border:1px solid rgba(63,107,53,.17); border-radius:24px; background:#fff; box-shadow:0 22px 55px rgba(20,55,35,.11); }.woocommerce-account .woocommerce h2 { margin-top:0; color:#173e29; font-size:clamp(1.55rem,3vw,2.2rem); }.woocommerce-account .woocommerce form.login,.woocommerce-account .woocommerce form.register { padding:0; border:0; }.woocommerce-account .woocommerce form .form-row input.input-text { min-height:50px; padding:10px 14px; border:1px solid #bfd0b8; border-radius:12px; }.woocommerce-account .woocommerce button.button { min-height:48px; padding:10px 24px; border-radius:12px; background:linear-gradient(135deg,#4f813e,#276234) !important; color:#fff !important; }.woocommerce-account .woocommerce-LostPassword a { font-weight:700; }

@media (max-width:960px) { body.woocommerce-shop .ms-shop ul.products,body.tax-product_cat .ms-shop ul.products,body.tax-product_tag .ms-shop ul.products { grid-template-columns:repeat(2,minmax(0,1fr)) !important; gap:12px !important; } }
@media (max-width:640px) { .ms-shop .woocommerce-result-count,.ms-shop .woocommerce-ordering { float:none; width:100%; }.ms-shop .woocommerce-ordering select { width:100%; min-width:0; }.home .elementor-widget-counter .elementor-widget-container { padding:15px 9px; border-radius:15px; }.home .elementor-counter-number-wrapper { font-size:1.7rem; }.home .elementor-counter-title { font-size:.62rem; letter-spacing:.035em; }.woocommerce-account .woocommerce { padding:20px 15px; border-radius:16px; } }

/* 0.7.1 — consolidação de cards, contraste e vitrines WooCommerce. */
.ms-entry-content { color:var(--ms-text); }.ms-entry-content h1,.ms-entry-content h2,.ms-entry-content h3,.ms-entry-content h4,.ms-entry-content h5,.ms-entry-content h6 { color:#173e29; }.ms-entry-content p,.ms-entry-content label,.woocommerce form .form-row label,.woocommerce-account .woocommerce p { color:#435449; }
.woocommerce-account .woocommerce form .form-row label { color:#34483a !important; font-weight:700; }.woocommerce-account .woocommerce form .form-row input::placeholder { color:#77837a; opacity:1; }.woocommerce-account .woocommerce .woocommerce-privacy-policy-text,.woocommerce-account .woocommerce .woocommerce-privacy-policy-text p { color:#5d6b61 !important; }

.ms-home-products { grid-template-rows:repeat(2,410px) !important; grid-auto-columns:235px !important; align-content:start; align-items:stretch; }.ms-home-product { height:410px; min-height:0; flex:none; }.ms-home-product-link { min-height:0; overflow:hidden; }.ms-home-product-image { height:205px; flex:0 0 205px; aspect-ratio:auto; }.ms-home-product-image img { width:100%; height:100%; object-fit:contain; }.ms-home-product-body { min-height:0; padding:14px 15px 10px; }.ms-home-product-name { display:-webkit-box; min-height:0; overflow:hidden; -webkit-box-orient:vertical; -webkit-line-clamp:4; font-size:.9rem; line-height:1.3; }.ms-home-product-price { padding-top:8px; font-size:1.14rem; }.ms-home-product-action { padding:0 15px 14px; }

.single-product .ms-shop .up-sells { grid-column:1 / -1; width:100%; padding:clamp(20px,3vw,34px); border:1px solid var(--ms-border); border-radius:22px; background:#fff; }.single-product .ms-shop .up-sells ul.products { display:grid !important; grid-template-columns:repeat(4,minmax(0,1fr)) !important; gap:18px !important; width:100% !important; }.single-product .ms-shop .up-sells ul.products li.product { display:block !important; float:none !important; width:100% !important; min-width:0 !important; margin:0 !important; grid-template-columns:none !important; }.single-product .ms-shop .up-sells .ms-product-card-image { width:100% !important; height:auto !important; aspect-ratio:1 / 1 !important; }.single-product .ms-shop .up-sells .ms-product-card-image img { width:100% !important; height:100% !important; object-fit:contain !important; }.single-product .ms-shop .up-sells .ms-product-card-content { display:block !important; padding:12px 2px 2px; }.single-product .ms-shop .up-sells .woocommerce-loop-product__title { display:-webkit-box; min-height:3.9em; overflow:hidden; -webkit-box-orient:vertical; -webkit-line-clamp:3; }.single-product .ms-shop .up-sells .button,.ms-shop .ms-product-buy { display:flex !important; align-items:center; justify-content:center; width:100% !important; min-height:42px; border-radius:999px !important; background:linear-gradient(135deg,#447d3b,#286636) !important; color:#fff !important; font-weight:800; }

body.woocommerce-shop .ms-shop ul.products li.product .button,body.tax-product_cat .ms-shop ul.products li.product .button,body.tax-product_tag .ms-shop ul.products li.product .button { background:linear-gradient(135deg,#447d3b,#286636) !important; color:#fff !important; border-color:transparent !important; }

@media (max-width:640px) { .ms-home-products { grid-template-rows:repeat(2,300px) !important; grid-auto-columns:calc((100vw - 46px)/2) !important; gap:10px; }.ms-home-product { height:300px; }.ms-home-product-image { height:142px; flex-basis:142px; }.ms-home-product-body { padding:9px 10px 5px; }.ms-home-product-name { -webkit-line-clamp:3; font-size:.72rem; line-height:1.22; }.ms-home-product-price { padding-top:5px; font-size:.94rem; }.ms-home-product-action { padding:0 10px 9px; }.ms-home-product-button { min-height:32px; font-size:.68rem; }.single-product .ms-shop .up-sells { padding:15px 10px; border-radius:16px; }.single-product .ms-shop .up-sells ul.products { grid-template-columns:repeat(2,minmax(0,1fr)) !important; gap:10px !important; }.single-product .ms-shop .up-sells .woocommerce-loop-product__title { min-height:3.6em; font-size:.76rem !important; }.home .elementor-section:has(.elementor-widget-counter) .elementor-container,.home .e-con:has(.elementor-widget-counter) { display:grid !important; grid-template-columns:repeat(2,minmax(0,1fr)) !important; gap:9px !important; }.home .elementor-widget-counter { width:100% !important; margin:0 !important; }.home .elementor-widget-counter .elementor-widget-container { min-height:92px; padding:11px 6px; }.home .elementor-counter-number-wrapper { font-size:1.4rem; }.home .elementor-counter-title { font-size:.56rem; line-height:1.2; } }

/* Counter Elementor: os quatro widgets são irmãos indiretos dentro do e-con-inner. */
@media (max-width:640px) { .home .e-con-inner:has(> .e-con .elementor-widget-counter) { display:grid !important; grid-template-columns:repeat(2,minmax(0,1fr)) !important; gap:10px !important; width:100% !important; }.home .e-con-inner:has(> .e-con .elementor-widget-counter) > .e-con { display:block !important; width:100% !important; min-width:0 !important; padding:0 !important; margin:0 !important; }.home .e-con-inner:has(> .e-con .elementor-widget-counter) .elementor-widget-counter { width:100% !important; max-width:none !important; }.home .e-con-inner:has(> .e-con .elementor-widget-counter) .elementor-widget-container { display:grid; min-height:88px; place-items:center; padding:9px 5px; }.home .elementor-counter { gap:4px; }.home .elementor-counter-number-wrapper { font-size:1.32rem !important; line-height:1 !important; }.home .elementor-counter-title { max-width:125px; font-size:.54rem !important; line-height:1.18 !important; overflow-wrap:anywhere; } }

/* Impede que regras antigas façam o título invadir a imagem no carrossel. */
.ms-home-product-link,.ms-home-product-image,.ms-home-product-body,.ms-home-product-action { position:relative; }.ms-home-product-image { z-index:1; overflow:hidden; }.ms-home-product-body { z-index:2; background:#fff; }.ms-home-product-action { z-index:3; background:#fff; }

/* 0.8.0 — sistema visual consolidado para home, Loja e compra. */
.home .e-con.e-parent:has(.elementor-widget-counter) { display:flex !important; grid-template-columns:none !important; width:100% !important; }.home .e-con.e-parent:has(.elementor-widget-counter) > .e-con-inner { width:min(100%,var(--ms-container)) !important; max-width:var(--ms-container) !important; }
.ms-home-product,.ms-shop ul.products li.product { display:flex !important; flex-direction:column !important; height:100%; }.ms-home-product-link,.ms-product-card-content { display:flex !important; flex:1; flex-direction:column; min-height:0; }.ms-home-product-image,.ms-product-card-image { flex:0 0 auto; }.ms-home-product-name,.ms-product-card-content .woocommerce-loop-product__title { display:-webkit-box; min-height:3.75em; overflow:hidden; -webkit-box-orient:vertical; -webkit-line-clamp:3; }.ms-home-product-price,.ms-product-card-content .price { margin-top:auto !important; }.ms-home-product-action,.ms-product-card-content .button { flex:0 0 auto; }

/* Botões WooCommerce sempre na identidade Rede Verde. */
.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce #respond input#submit,.woocommerce a.button.alt,.woocommerce button.button.alt,.woocommerce input.button.alt,.woocommerce #respond input#submit.alt,.woocommerce .checkout-button,.woocommerce #place_order,.wc-block-components-button { border:0 !important; border-radius:12px !important; background:linear-gradient(135deg,#447d3b,#286636) !important; color:#fff !important; box-shadow:none !important; font-weight:800 !important; }.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce input.button:hover,.woocommerce .checkout-button:hover,.woocommerce #place_order:hover { background:linear-gradient(135deg,#386c31,#1f572d) !important; color:#fff !important; }

/* Paginação da Loja. */
.woocommerce nav.woocommerce-pagination { margin:38px 0 0; }.woocommerce nav.woocommerce-pagination ul { display:flex; justify-content:center; gap:8px; border:0; }.woocommerce nav.woocommerce-pagination ul li { border:0; }.woocommerce nav.woocommerce-pagination ul li a,.woocommerce nav.woocommerce-pagination ul li span { display:grid; min-width:42px; height:42px; place-items:center; padding:0 12px; border:1px solid #c9d9c3; border-radius:11px; background:#fff; color:#315c38; font-weight:800; }.woocommerce nav.woocommerce-pagination ul li span.current,.woocommerce nav.woocommerce-pagination ul li a:hover { border-color:#356e3d; background:#356e3d; color:#fff; }

/* Blocos de entrega, garantia, atendimento e pagamento. */
.home .elementor-widget-icon-box .elementor-widget-container { height:100%; padding:22px; border:1px solid rgba(63,107,53,.16); border-radius:18px; background:#fff; box-shadow:0 12px 28px rgba(20,55,35,.08); }.home .elementor-icon-box-wrapper { align-items:center !important; gap:14px; }.home .elementor-icon-box-icon { margin:0 !important; }.home .elementor-icon-box-icon .elementor-icon { display:grid; width:54px; height:54px; place-items:center; border-radius:16px; background:linear-gradient(145deg,#eaf5df,#d5e9c8); color:#2d713d; }.home .elementor-icon-box-icon i { display:block; width:27px; height:27px; background:currentColor; font-size:0; mask-position:center; mask-repeat:no-repeat; mask-size:contain; }.home .tb-icon-rocket { mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M14 5c3-3 6-2 6-2s1 3-2 6l-5 5-4-4 5-5Zm-6 7-3 1-2 4 5-1m4 0-1 5 4-2 1-3M9 10l5 5' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); }.home .tb-icon-usd { mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3v18m4-14H9a3 3 0 0 0 0 6h6a3 3 0 0 1 0 6H7' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); }.home .tb-icon-service { mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 13v-2a8 8 0 0 1 16 0v2M4 13H2v5h4v-5H4Zm16 0h2v5h-4v-5h2Zm0 5c0 2-2 3-5 3' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); }.home .tb-icon-card-pay-line { mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 6h18v12H3V6Zm0 4h18M7 15h4' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); }.home .elementor-icon-box-title { margin:0 0 4px; color:#1e452b; font-size:1rem; }.home .elementor-icon-box-description { color:#5b6c5e; font-size:.86rem; line-height:1.45; }

/* Parcelamento do produto. */
.ms-installment-options { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:7px; margin-top:10px; }.ms-installment-options span { padding:7px 8px; border:1px solid #d3e4cb; border-radius:9px; background:#fff; color:#37583d; font-size:.78rem; }.ms-installment-options b { color:#235e32; }.ms-installments small { color:#647267; font-size:.72rem; line-height:1.35; }

/* Abas de produto em uma linha rolável no mobile. */
.single-product .woocommerce-tabs ul.tabs { display:flex; gap:7px; padding:0 !important; overflow-x:auto; scrollbar-width:thin; }.single-product .woocommerce-tabs ul.tabs::before { display:none !important; }.single-product .woocommerce-tabs ul.tabs li { flex:0 0 auto; margin:0 !important; padding:0 !important; border:1px solid #cad9c5 !important; border-radius:10px !important; background:#f3f7ef !important; }.single-product .woocommerce-tabs ul.tabs li::before,.single-product .woocommerce-tabs ul.tabs li::after { display:none !important; }.single-product .woocommerce-tabs ul.tabs li a { display:block; padding:10px 14px !important; color:#405344 !important; white-space:nowrap; }.single-product .woocommerce-tabs ul.tabs li.active { border-color:#397243 !important; background:#397243 !important; }.single-product .woocommerce-tabs ul.tabs li.active a { color:#fff !important; }

/* Carrinho com formulário e resumo próximos; recomendações sempre abaixo. */
body.woocommerce-cart .ms-shop > .woocommerce { display:grid; grid-template-columns:minmax(0,1.35fr) minmax(320px,.65fr); gap:24px; align-items:start; }.woocommerce-cart .woocommerce-notices-wrapper,.woocommerce-cart .woocommerce-message,.woocommerce-cart .woocommerce-error,.woocommerce-cart .woocommerce-info { grid-column:1 / -1; }.woocommerce-cart .woocommerce-cart-form { grid-column:1; margin:0; padding:18px; }.woocommerce-cart .cart-collaterals { grid-column:2; width:100%; margin:0; padding:20px; position:sticky; top:105px; }.woocommerce-cart .cart-collaterals .cart_totals { float:none !important; width:100% !important; }.woocommerce-cart .cart-collaterals h2 { margin:0 0 16px; color:#193e28; }.woocommerce-cart .shop_table { border:0 !important; border-collapse:separate !important; border-spacing:0 10px !important; }.woocommerce-cart .shop_table th { color:#56665a; font-size:.75rem; text-transform:uppercase; }.woocommerce-cart .shop_table td { border:0 !important; background:#f7faf4; }.woocommerce-cart .shop_table td:first-child { border-radius:12px 0 0 12px; }.woocommerce-cart .shop_table td:last-child { border-radius:0 12px 12px 0; }.woocommerce-cart .product-thumbnail img { width:74px !important; height:74px !important; object-fit:contain; border-radius:10px; background:#fff; }.woocommerce-cart .product-name a { color:#234b30; font-weight:800; text-decoration:none; }.woocommerce-cart .cart_totals .order-total th,.woocommerce-cart .cart_totals .order-total td { color:#1f5c30; font-size:1.2rem; }.woocommerce-cart .wc-proceed-to-checkout a { width:100%; min-height:52px; }.woocommerce-cart .cross-sells { grid-column:1 / -1; width:100%; margin-top:12px; padding:24px; border:1px solid var(--ms-border); border-radius:20px; background:#fff; }.woocommerce-cart .cross-sells ul.products { grid-template-columns:repeat(4,minmax(0,1fr)) !important; }

/* JoinChat fora da navegação inferior. */
.joinchat { --s:54px !important; }.joinchat__button { width:var(--s) !important; height:var(--s) !important; }

@media (max-width:768px) { body.woocommerce-cart .ms-shop > .woocommerce { grid-template-columns:1fr; gap:16px; }.woocommerce-cart .woocommerce-cart-form,.woocommerce-cart .cart-collaterals,.woocommerce-cart .cross-sells { grid-column:1; }.woocommerce-cart .cart-collaterals { position:static; }.woocommerce-cart .cross-sells ul.products { grid-template-columns:repeat(2,minmax(0,1fr)) !important; }.woocommerce-cart .woocommerce-cart-form { padding:10px; overflow-x:auto; }.ms-installment-options { grid-template-columns:repeat(2,minmax(0,1fr)); }.single-product .woocommerce-tabs { padding:14px 10px !important; }.joinchat { --s:46px !important; --bottom:78px !important; }.home .elementor-widget-icon-box .elementor-widget-container { padding:15px; }.home .elementor-icon-box-icon .elementor-icon { width:46px; height:46px; }.home .elementor-icon-box-icon i { width:23px; height:23px; } }

/* 0.8.1 — carrinho mobile e checkout orientado à conversão. */
.woocommerce-checkout .woocommerce-form-coupon-toggle,.woocommerce-checkout form.checkout_coupon { display:none !important; }.woocommerce-checkout .woocommerce-form-login-toggle { margin:0 0 18px; }.woocommerce-checkout .woocommerce-form-login-toggle .woocommerce-info { position:relative; padding:22px 22px 22px 68px !important; border:1px solid #bdd6b5 !important; border-top:1px solid #bdd6b5 !important; border-radius:18px; background:linear-gradient(135deg,#f7fbf3,#eaf5e3); color:#35533b; box-shadow:0 12px 28px rgba(20,55,35,.08); font-size:1rem; }.woocommerce-checkout .woocommerce-form-login-toggle .woocommerce-info::before { position:absolute; left:19px; top:50%; display:grid; width:34px; height:34px; place-items:center; border-radius:50%; background:#387443; color:#fff; content:'↪'; font-size:1.15rem; transform:translateY(-50%); }.woocommerce-checkout .woocommerce-form-login-toggle a { color:#286636; font-weight:900; }.woocommerce-checkout form.login { margin:0 0 22px !important; padding:22px !important; border:1px solid #cfdec9 !important; border-radius:16px !important; background:#fff; box-shadow:0 10px 25px rgba(20,55,35,.07); }

.ms-checkout-coupon-row td { padding:15px 0 5px !important; border:0 !important; }.ms-checkout-coupon { padding:14px; border:1px solid #ccddc5; border-radius:13px; background:#f7faf4; text-align:left; }.ms-checkout-coupon label { display:block; margin-bottom:8px; color:#274b31; font-size:.84rem; font-weight:800; }.ms-checkout-coupon > div { display:grid; grid-template-columns:1fr auto; gap:8px; }.ms-checkout-coupon input { min-width:0; min-height:42px; padding:8px 11px; border:1px solid #b9ceb1; border-radius:9px; background:#fff; }.ms-checkout-coupon button { min-height:42px; padding:7px 15px !important; }.ms-checkout-coupon [data-ms-coupon-feedback] { display:block; margin-top:6px; color:#4c6351; font-size:.76rem; }.ms-checkout-coupon [data-ms-coupon-feedback] .woocommerce-error,.ms-checkout-coupon [data-ms-coupon-feedback] .woocommerce-message { margin:7px 0 0 !important; padding:8px 10px !important; font-size:.75rem; }

.woocommerce-checkout #order_review { padding:clamp(16px,3vw,26px); border:1px solid #d2e0cd; border-radius:20px; background:#fff; box-shadow:0 16px 38px rgba(20,55,35,.09); }.woocommerce-checkout #payment { border-radius:16px !important; background:#f6f9f3 !important; }.woocommerce-checkout #payment ul.payment_methods { display:flex; flex-direction:column; gap:10px; padding:16px !important; }.woocommerce-checkout #payment li.wc_payment_method { padding:15px; border:1px solid #d2dfce; border-radius:14px; background:#fff; }.woocommerce-checkout #payment li.payment_method_woo-mercado-pago-pix { order:-20; border:2px solid #38a768; background:linear-gradient(135deg,#f2fff7,#e5f8eb); box-shadow:0 10px 25px rgba(31,145,79,.12); }.woocommerce-checkout #payment li.payment_method_woo-mercado-pago-pix > label { color:#176a37; font-size:1.08rem; font-weight:900; }.woocommerce-checkout #payment li.payment_method_woo-mercado-pago-pix > label::after { display:inline-block; padding:3px 8px; margin-left:8px; border-radius:999px; background:#28a85b; color:#fff; content:'Recomendado'; font-size:.64rem; font-weight:800; vertical-align:middle; }.woocommerce-checkout #payment div.payment_box { border-radius:11px; background:#f5f8f2; color:#455648; }.woocommerce-checkout #payment div.payment_box::before { border-bottom-color:#f5f8f2; }

@media (max-width:768px) { .woocommerce-cart .shop_table_responsive thead { display:none !important; }.woocommerce-cart .shop_table_responsive tbody,.woocommerce-cart .shop_table_responsive tr.cart_item { display:block !important; }.woocommerce-cart .shop_table_responsive tr.cart_item { position:relative; min-height:146px; padding:12px 12px 12px 112px; margin-bottom:12px; border:1px solid #d6e2d1; border-radius:16px; background:#fff; box-shadow:0 9px 24px rgba(20,55,35,.08); }.woocommerce-cart .shop_table_responsive tr.cart_item td { display:block !important; width:auto !important; padding:3px 0 !important; border:0 !important; background:transparent !important; text-align:left !important; }.woocommerce-cart .shop_table_responsive tr.cart_item td::before { display:none !important; }.woocommerce-cart .shop_table_responsive tr.cart_item td.product-thumbnail { position:absolute; top:12px; left:12px; display:block !important; width:86px !important; height:106px; padding:5px !important; border-radius:12px !important; background:#f3f7ef !important; }.woocommerce-cart .shop_table_responsive tr.cart_item td.product-thumbnail a,.woocommerce-cart .shop_table_responsive tr.cart_item td.product-thumbnail img { display:block !important; width:100% !important; height:100% !important; object-fit:contain !important; }.woocommerce-cart .shop_table_responsive tr.cart_item td.product-remove { position:absolute; right:9px; top:7px; z-index:2; }.woocommerce-cart .shop_table_responsive tr.cart_item td.product-remove a { display:grid; width:28px; height:28px; place-items:center; border-radius:50%; color:#6c776e !important; font-size:1.2rem; }.woocommerce-cart .shop_table_responsive tr.cart_item td.product-name { padding-right:30px !important; }.woocommerce-cart .shop_table_responsive tr.cart_item td.product-name a { display:-webkit-box; overflow:hidden; -webkit-box-orient:vertical; -webkit-line-clamp:3; font-size:.88rem; line-height:1.3; }.woocommerce-cart .shop_table_responsive tr.cart_item td.product-price { display:none !important; }.woocommerce-cart .shop_table_responsive tr.cart_item td.product-quantity { margin-top:9px; }.woocommerce-cart .shop_table_responsive tr.cart_item td.product-quantity .quantity { display:inline-flex; }.woocommerce-cart .shop_table_responsive tr.cart_item td.product-quantity input.qty { width:68px; height:38px; border:1px solid #bfd1b8; border-radius:9px; }.woocommerce-cart .shop_table_responsive tr.cart_item td.product-subtotal { margin-top:8px; color:#245e31; font-size:1.08rem; font-weight:900; }.woocommerce-cart .shop_table_responsive tr.cart_item td.product-subtotal::before { display:inline !important; float:none !important; margin-right:5px; content:'Subtotal: '; color:#667268; font-size:.72rem; font-weight:600; }.woocommerce-cart .shop_table_responsive tr:not(.cart_item) td.actions { padding:12px 0 0 !important; background:transparent !important; }.woocommerce-checkout .woocommerce-form-login-toggle .woocommerce-info { padding:18px 16px 18px 58px !important; border-radius:14px; font-size:.88rem; }.woocommerce-checkout .woocommerce-form-login-toggle .woocommerce-info::before { left:14px; }.woocommerce-checkout #order_review { padding:12px; border-radius:16px; }.woocommerce-checkout #payment ul.payment_methods { padding:10px !important; }.woocommerce-checkout #payment li.wc_payment_method { padding:12px; }.ms-checkout-coupon > div { grid-template-columns:1fr 82px; } }

/* 0.8.2 — alinhamento rigoroso dos cards e página real do Blog. */
.woocommerce-cart .cross-sells ul.products { align-items:stretch; }.woocommerce-cart .cross-sells ul.products li.product { display:flex !important; flex-direction:column !important; width:100% !important; height:100%; margin:0 !important; }.woocommerce-cart .cross-sells .ms-product-card-image { flex:0 0 auto; }.woocommerce-cart .cross-sells .ms-product-card-content { display:flex !important; flex:1; flex-direction:column; min-height:190px; }.woocommerce-cart .cross-sells .woocommerce-loop-product__title { display:-webkit-box; min-height:4.1em; overflow:hidden; -webkit-box-orient:vertical; -webkit-line-clamp:3; }.woocommerce-cart .cross-sells .price { margin-top:auto !important; }.woocommerce-cart .cross-sells .button { flex:0 0 auto; margin-top:12px !important; }

.home .elementor-widget-icon-box { height:100% !important; }.home .elementor-widget-icon-box .elementor-widget-container { min-height:174px; }.home .elementor-icon-box-wrapper { display:grid !important; grid-template-columns:56px minmax(0,1fr); height:100%; }.home .elementor-icon-box-content { min-width:0; }.home .elementor-icon-box-title { min-height:2.7em; display:flex; align-items:flex-end; }.home .elementor-icon-box-description { margin:0; }

.ms-blog-landing { padding-block:clamp(38px,6vw,82px); }.ms-blog-landing > header { max-width:760px; margin-bottom:30px; }.ms-blog-landing > header h1 { margin:7px 0 10px; color:#173e29; font-size:clamp(2.2rem,5vw,4rem); line-height:1.05; }.ms-blog-landing > header p { margin:0; color:#58695c; font-size:1.05rem; }.ms-blog-landing .ms-home-posts { margin-top:0; }.ms-blog-landing .ms-home-post { display:flex; flex-direction:column; height:100%; }.ms-blog-landing .ms-home-post-body { display:flex; flex:1; flex-direction:column; }.ms-blog-landing .ms-home-post-body > a:last-child { margin-top:auto; }
@media (max-width:768px) { .woocommerce-cart .cross-sells .ms-product-card-content { min-height:150px; }.home .elementor-widget-icon-box .elementor-widget-container { min-height:145px; }.home .elementor-icon-box-wrapper { grid-template-columns:46px minmax(0,1fr); gap:10px !important; }.home .elementor-icon-box-title { min-height:2.5em; font-size:.88rem; }.home .elementor-icon-box-description { font-size:.76rem; }.ms-blog-landing { padding-block:34px; }.ms-blog-landing .ms-home-posts { grid-template-columns:repeat(2,minmax(0,1fr)); } }

/* 0.8.3 — contadores uniformes e recomendações do carrinho isoladas. */
.home .e-con-inner:has(> .e-con .elementor-widget-counter) {
	display:grid !important;
	grid-template-columns:repeat(4,minmax(0,1fr)) !important;
	align-items:stretch !important;
	gap:20px !important;
}
.home .e-con-inner:has(> .e-con .elementor-widget-counter) > .e-con,
.home .e-con-inner:has(> .e-con .elementor-widget-counter) .elementor-widget-counter,
.home .e-con-inner:has(> .e-con .elementor-widget-counter) .elementor-widget-container,
.home .e-con-inner:has(> .e-con .elementor-widget-counter) .elementor-counter {
	height:100% !important;
}
.home .e-con-inner:has(> .e-con .elementor-widget-counter) > .e-con {
	width:100% !important;
	min-width:0 !important;
}
.home .e-con-inner:has(> .e-con .elementor-widget-counter) .elementor-widget-container {
	display:grid !important;
	min-height:186px !important;
	place-items:center !important;
}
.home .elementor-counter-title {
	display:flex;
	min-height:2.8em;
	align-items:center;
	justify-content:center;
}

body.woocommerce-cart .cart-collaterals {
	position:relative !important;
	top:auto !important;
	z-index:1;
}
body.woocommerce-cart .cross-sells {
	position:relative !important;
	z-index:0;
	clear:both !important;
	float:none !important;
	overflow:hidden;
}
body.woocommerce-cart .cross-sells ul.products {
	display:grid !important;
	grid-template-columns:repeat(4,minmax(0,1fr)) !important;
	gap:18px !important;
	width:100% !important;
	margin:0 !important;
	padding:0 !important;
}
body.woocommerce-cart .cross-sells ul.products::before,
body.woocommerce-cart .cross-sells ul.products::after {
	display:none !important;
}
body.woocommerce-cart .cross-sells ul.products li.product.ms-product-card {
	display:flex !important;
	float:none !important;
	flex-direction:column !important;
	width:100% !important;
	min-width:0 !important;
	max-width:none !important;
	height:auto !important;
	min-height:390px;
	margin:0 !important;
	overflow:hidden;
}
body.woocommerce-cart .cross-sells .ms-product-card-image {
	display:block;
	flex:0 0 210px !important;
	height:210px !important;
	min-height:0 !important;
	overflow:hidden;
}
body.woocommerce-cart .cross-sells .ms-product-card-image img {
	display:block !important;
	width:100% !important;
	height:100% !important;
	margin:0 !important;
	object-fit:contain !important;
}
body.woocommerce-cart .cross-sells .ms-product-card-content {
	display:flex !important;
	flex:1 1 auto !important;
	flex-direction:column !important;
	min-height:0 !important;
	padding:14px !important;
}
body.woocommerce-cart .cross-sells .woocommerce-loop-product__title {
	min-height:3.9em !important;
	margin:0 0 8px !important;
	font-size:.9rem !important;
	line-height:1.3 !important;
}
body.woocommerce-cart .cross-sells .price {
	margin:auto 0 10px !important;
}
body.woocommerce-cart .cross-sells .button {
	width:100% !important;
	margin:0 !important;
}

@media (max-width:768px) {
	.home .e-con-inner:has(> .e-con .elementor-widget-counter) {
		grid-template-columns:repeat(2,minmax(0,1fr)) !important;
		gap:10px !important;
	}
	.home .e-con-inner:has(> .e-con .elementor-widget-counter) .elementor-widget-container {
		min-height:102px !important;
	}
	body.woocommerce-cart .cross-sells {
		padding:16px 10px !important;
	}
	body.woocommerce-cart .cross-sells ul.products {
		grid-template-columns:repeat(2,minmax(0,1fr)) !important;
		gap:10px !important;
	}
	body.woocommerce-cart .cross-sells ul.products li.product.ms-product-card {
		min-height:300px;
	}
	body.woocommerce-cart .cross-sells .ms-product-card-image {
		flex-basis:145px !important;
		height:145px !important;
	}
	body.woocommerce-cart .cross-sells .ms-product-card-content {
		padding:10px !important;
	}
	body.woocommerce-cart .cross-sells .woocommerce-loop-product__title {
		min-height:3.6em !important;
		font-size:.72rem !important;
	}
	body.woocommerce-cart .cross-sells .price {
		font-size:.92rem !important;
	}
	body.woocommerce-cart .cross-sells .button {
		min-height:34px !important;
		padding:8px 5px !important;
		font-size:.7rem !important;
	}
}
