/* AMAM Marketplace storefront repair — v1.4.0
 * Video-audited fixes for missing native chrome, catalogue layout, cards,
 * single-product density, default widget leakage and responsive behaviour.
 */

/* Native chrome must remain visible even when a page builder or old AMAM
   plugin ships broad header/footer hiding rules. */
body.amam-marketplace #masthead.site-header,
body.amam-marketplace #colophon.site-footer,
body.amam-marketplace .amam-topbar[data-amam-owner="theme-header"] {
	display: block !important;
	visibility: visible !important;
	opacity: 1 !important;
	transform: none !important;
}
body.amam-marketplace #masthead.site-header {
	width: 100%;
	min-height: 1px;
}
body.amam-marketplace #colophon.site-footer {
	position: relative;
	clear: both;
	width: 100%;
	margin-top: 56px;
}
body.elementor-template-canvas.amam-marketplace > .amam-topbar,
body.elementor-template-canvas.amam-marketplace > #masthead,
body.elementor-page-template-elementor_canvas.amam-marketplace > .amam-topbar,
body.elementor-page-template-elementor_canvas.amam-marketplace > #masthead {
	position: relative;
	z-index: 1000;
}

/* Shop and product-category frame. */
.amam-commerce-main {
	min-width: 0;
}
.amam-commerce-main .amam-shop-layout {
	grid-template-columns: 245px minmax(0, 1fr);
	gap: 28px;
	padding-block: 28px 46px;
}
.amam-shop-content,
.amam-shop-content .woocommerce,
.amam-shop-content .products {
	min-width: 0;
}
.amam-shop-content--full {
	grid-column: 1 / -1;
}
.amam-shop-sidebar {
	position: sticky;
	top: 132px;
	align-self: start;
	min-width: 0;
	max-height: calc(100vh - 154px);
	overflow: auto;
	padding: 18px;
	border: 1px solid var(--amam-border, #e5e7eb);
	border-radius: 14px;
	background: #fff;
	scrollbar-width: thin;
}
.admin-bar .amam-shop-sidebar {
	top: 164px;
}
.amam-catalog-sidebar > h2 {
	margin: 0 0 15px;
	font-size: 1.12rem;
	line-height: 1.25;
}
.amam-catalog-sidebar h3 {
	margin: 20px 0 10px;
	font-size: .83rem;
	letter-spacing: .04em;
	text-transform: uppercase;
}
.amam-catalog-search {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 7px;
}
.amam-catalog-search input,
.amam-price-filter input {
	width: 100%;
	min-width: 0;
	min-height: 40px;
	padding: 8px 10px;
	border: 1px solid var(--amam-border, #d1d5db);
	border-radius: 8px;
	background: #fff;
}
.amam-catalog-search button,
.amam-price-filter button {
	min-height: 40px;
	padding: 8px 12px;
	border: 0;
	border-radius: 8px;
	background: var(--amam-brand, #0f766e);
	color: #fff;
	font-weight: 750;
}
.amam-catalog-categories ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.amam-catalog-categories li {
	margin: 0;
}
.amam-catalog-categories li ul {
	margin: 3px 0 5px 13px;
	padding-left: 10px;
	border-left: 1px solid var(--amam-border, #e5e7eb);
}
.amam-catalog-categories a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	padding: 7px 0;
	color: var(--amam-ink, #111827);
	font-size: .82rem;
	line-height: 1.25;
}
.amam-catalog-categories .current-cat > a {
	color: var(--amam-brand, #0f766e);
	font-weight: 800;
}
.amam-catalog-categories .count {
	color: var(--amam-muted, #6b7280);
	font-size: .68rem;
}
.amam-price-filter > div {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
	margin-bottom: 9px;
}
.amam-price-filter label span {
	display: block;
	margin-bottom: 4px;
	color: var(--amam-muted, #6b7280);
	font-size: .68rem;
}
.amam-price-filter button {
	width: 100%;
}

/* Archive heading and toolbar. */
.woocommerce-products-header {
	margin-bottom: 20px;
	padding: 22px 24px;
	border: 1px solid var(--amam-border, #e5e7eb);
	border-radius: 14px;
	background: linear-gradient(135deg, #f0fdfa, #fff7ed);
}
.woocommerce-products-header__title.page-title {
	margin: 0;
	font-size: clamp(1.65rem, 2.5vw, 2.5rem);
	line-height: 1.1;
}
.term-description,
.woocommerce-products-header .term-description {
	max-width: 900px;
	margin-top: 8px;
	color: var(--amam-muted, #6b7280);
	line-height: 1.5;
}
.term-description > :first-child { margin-top: 0; }
.term-description > :last-child { margin-bottom: 0; }
.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering {
	float: none;
	margin: 0;
}
.woocommerce .woocommerce-ordering select {
	min-height: 42px;
}
.woocommerce .woocommerce-notices-wrapper + .woocommerce-result-count,
.woocommerce .woocommerce-result-count {
	display: inline-flex;
	align-items: center;
	min-height: 42px;
	color: var(--amam-muted, #6b7280);
	font-size: .82rem;
}
.woocommerce .woocommerce-ordering {
	float: right;
	margin-bottom: 18px;
}
.woocommerce .woocommerce-result-count {
	margin-bottom: 18px;
}

/* Product cards: equal height, uncropped imagery and usable actions. */
body.amam-marketplace .woocommerce ul.products {
	align-items: stretch;
	gap: 16px;
}
body.amam-marketplace .woocommerce ul.products li.product {
	display: flex !important;
	flex-direction: column;
	height: 100%;
	min-width: 0;
	padding-bottom: 12px !important;
	border-radius: 12px;
	overflow: hidden;
}
body.amam-marketplace .woocommerce ul.products li.product > a.woocommerce-LoopProduct-link,
body.amam-marketplace .woocommerce ul.products li.product > a.woocommerce-loop-product__link {
	display: flex !important;
	flex-direction: column;
	min-width: 0;
}
body.amam-marketplace .woocommerce ul.products li.product a img {
	display: block;
	width: 100% !important;
	height: 250px !important;
	margin: 0 !important;
	padding: 14px !important;
	object-fit: contain !important;
	object-position: center !important;
	background: #fff;
}
body.amam-marketplace .woocommerce ul.products li.product .woocommerce-loop-product__title {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	overflow: hidden;
	min-height: 3.72em;
	margin: 0 !important;
	padding: 8px 12px 0 !important;
	font-size: .84rem !important;
	line-height: 1.24 !important;
}
body.amam-marketplace .woocommerce ul.products li.product .amam-product-brand,
body.amam-marketplace .woocommerce ul.products li.product .amam-product-seller,
body.amam-marketplace .woocommerce ul.products li.product .price,
body.amam-marketplace .woocommerce ul.products li.product .star-rating {
	margin-inline: 12px !important;
}
body.amam-marketplace .woocommerce ul.products li.product .amam-product-brand,
body.amam-marketplace .woocommerce ul.products li.product .amam-product-seller {
	font-size: .68rem;
	line-height: 1.25;
}
body.amam-marketplace .woocommerce ul.products li.product .price {
	margin-top: 7px !important;
	margin-bottom: 8px !important;
	color: var(--amam-ink, #111827) !important;
	font-size: .9rem !important;
	font-weight: 850 !important;
}
body.amam-marketplace .woocommerce ul.products li.product .button,
body.amam-marketplace .woocommerce ul.products li.product .added_to_cart,
body.amam-marketplace .woocommerce ul.products li.product .amam-wholesale-cta,
body.amam-marketplace .woocommerce ul.products li.product .amam-buy-now {
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: calc(100% - 24px) !important;
	min-height: 40px;
	margin: 6px 12px 0 !important;
	padding: 9px 10px !important;
	border: 0 !important;
	border-radius: 7px !important;
	box-shadow: none !important;
	font-size: .72rem !important;
	font-weight: 800 !important;
	line-height: 1.15 !important;
	text-align: center;
	white-space: normal;
	opacity: 1 !important;
}
body.amam-marketplace .woocommerce ul.products li.product .add_to_cart_button,
body.amam-marketplace .woocommerce ul.products li.product .product_type_simple,
body.amam-marketplace .woocommerce ul.products li.product .product_type_variable,
body.amam-marketplace .woocommerce ul.products li.product .product_type_external {
	margin-top: auto !important;
	background: var(--amam-brand, #0f766e) !important;
	color: #fff !important;
}
body.amam-marketplace .woocommerce ul.products li.product .amam-wholesale-cta {
	background: #f0fdfa !important;
	color: var(--amam-brand, #0f766e) !important;
	box-shadow: inset 0 0 0 1px #99f6e4 !important;
}
body.amam-marketplace .woocommerce ul.products li.product .amam-buy-now {
	background: var(--amam-accent, #f59e0b) !important;
	color: #111827 !important;
}
body.amam-marketplace .woocommerce ul.products li.product .button.disabled,
body.amam-marketplace .woocommerce ul.products li.product .button:disabled {
	cursor: not-allowed;
	opacity: .55 !important;
}
body.amam-hide-compare .compare,
body.amam-hide-compare [class*="compare"],
body.amam-hide-compare [data-amam-action="compare"] {
	display: none !important;
}

/* Single product: compact typography, immediate gallery and balanced columns. */
body.single-product.amam-marketplace .amam-shop-layout {
	display: block;
	padding-top: 24px;
}
body.single-product.amam-marketplace .woocommerce div.product {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(360px, .92fr);
	gap: clamp(24px, 3.2vw, 48px);
	align-items: start;
}
body.single-product.amam-marketplace .woocommerce div.product div.images,
body.single-product.amam-marketplace .woocommerce div.product div.summary {
	float: none !important;
	width: auto !important;
	min-width: 0;
	margin: 0 !important;
}
body.single-product.amam-marketplace .woocommerce-product-gallery,
body.single-product.amam-marketplace .woocommerce-product-gallery__wrapper,
body.single-product.amam-marketplace .woocommerce-product-gallery__image,
body.single-product.amam-marketplace .woocommerce-product-gallery__image > a {
	min-width: 0;
}
body.single-product.amam-marketplace .woocommerce-product-gallery__image > a {
	display: grid;
	place-items: center;
	min-height: 420px;
	border: 1px solid var(--amam-border, #e5e7eb);
	border-radius: 14px;
	background: #fff;
}
body.single-product.amam-marketplace .woocommerce-product-gallery__image img {
	display: block !important;
	width: 100% !important;
	height: 520px !important;
	max-height: 64vh;
	margin: 0 !important;
	padding: 20px !important;
	object-fit: contain !important;
	object-position: center !important;
	background: #fff;
}
body.single-product.amam-marketplace .woocommerce div.product .summary > * {
	margin-top: 0;
	margin-bottom: 10px;
}
body.single-product.amam-marketplace .woocommerce div.product .product_title {
	margin-bottom: 10px !important;
	font-size: clamp(1.8rem, 3vw, 2.65rem) !important;
	line-height: 1.08 !important;
	letter-spacing: -.025em !important;
	overflow-wrap: anywhere;
}
body.single-product.amam-marketplace .woocommerce div.product p.price {
	margin-bottom: 10px !important;
	font-size: 1.45rem !important;
	line-height: 1.2;
}
body.single-product.amam-marketplace .woocommerce-product-details__short-description {
	margin-bottom: 12px !important;
	color: #374151;
	font-size: .88rem;
	line-height: 1.45;
}
body.single-product.amam-marketplace .woocommerce-product-details__short-description p,
body.single-product.amam-marketplace .woocommerce-product-details__short-description ul,
body.single-product.amam-marketplace .woocommerce-product-details__short-description ol,
body.single-product.amam-marketplace .woocommerce-product-details__short-description h2,
body.single-product.amam-marketplace .woocommerce-product-details__short-description h3,
body.single-product.amam-marketplace .woocommerce-product-details__short-description h4,
body.single-product.amam-marketplace .summary .elementor-widget-text-editor p {
	margin-top: 0 !important;
	margin-bottom: .48em !important;
	line-height: 1.45 !important;
}
body.single-product.amam-marketplace .woocommerce-product-details__short-description h2,
body.single-product.amam-marketplace .woocommerce-product-details__short-description h3,
body.single-product.amam-marketplace .woocommerce-product-details__short-description h4 {
	margin-top: .75em !important;
	font-size: 1rem;
}
body.single-product.amam-marketplace .woocommerce div.product form.cart {
	display: grid !important;
	grid-template-columns: auto minmax(130px, 1fr) minmax(130px, 1fr);
	gap: 9px;
	align-items: stretch;
	margin: 12px 0 !important;
}
body.single-product.amam-marketplace .woocommerce div.product form.cart .quantity,
body.single-product.amam-marketplace .woocommerce div.product form.cart .button,
body.single-product.amam-marketplace .woocommerce div.product form.cart .amam-buy-now,
body.single-product.amam-marketplace .woocommerce div.product form.cart .amam-wholesale-cta {
	min-height: 44px;
	margin: 0 !important;
}
body.single-product.amam-marketplace .woocommerce div.product form.cart .amam-wholesale-cta {
	grid-column: 1 / -1;
}
body.single-product.amam-marketplace .amam-product-trust {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 8px;
	margin-top: 14px;
}
body.single-product.amam-marketplace .amam-product-trust > div {
	padding: 10px;
}
body.single-product.amam-marketplace .product_meta {
	margin-top: 12px !important;
	font-size: .76rem;
	line-height: 1.45;
}
body.single-product.amam-marketplace .woocommerce div.product .woocommerce-tabs,
body.single-product.amam-marketplace .woocommerce div.product .related,
body.single-product.amam-marketplace .woocommerce div.product .up-sells {
	grid-column: 1 / -1;
}
body.single-product.amam-marketplace .woocommerce div.product .woocommerce-tabs {
	margin-top: 26px;
}
body.single-product.amam-marketplace .woocommerce-tabs .panel {
	padding-top: 18px;
	font-size: .88rem;
	line-height: 1.5;
}
body.single-product.amam-marketplace .woocommerce-tabs .panel h2,
body.single-product.amam-marketplace .woocommerce-tabs .panel h3,
body.single-product.amam-marketplace .woocommerce-tabs .panel p,
body.single-product.amam-marketplace .woocommerce-tabs .panel ul,
body.single-product.amam-marketplace .woocommerce-tabs .panel ol {
	margin-top: 0;
	margin-bottom: .65em;
}
body.single-product.amam-marketplace .related.products,
body.single-product.amam-marketplace .up-sells.products {
	margin-top: 34px;
}

/* Footer should not inherit generic widget/page-builder list spacing. */
body.amam-marketplace #colophon.site-footer ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
body.amam-marketplace #colophon.site-footer .amam-footer-bottom nav {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
}
body.amam-marketplace #colophon.site-footer .amam-footer-grid {
	align-items: start;
}

@media (max-width: 1200px) {
	.amam-commerce-main .amam-shop-layout {
		grid-template-columns: 220px minmax(0, 1fr);
		gap: 20px;
	}
	body.amam-marketplace .woocommerce ul.products {
		--amam-product-columns: 3 !important;
	}
	body.single-product.amam-marketplace .woocommerce-product-gallery__image img {
		height: 460px !important;
	}
}

@media (max-width: 991px) {
	.amam-commerce-main .amam-shop-layout {
		display: block;
	}
	.amam-shop-sidebar {
		position: static;
		max-height: none;
		margin-bottom: 20px;
	}
	.amam-catalog-categories > ul {
		columns: 2;
		column-gap: 24px;
	}
	body.single-product.amam-marketplace .woocommerce div.product {
		grid-template-columns: 1fr;
	}
	body.single-product.amam-marketplace .woocommerce-product-gallery__image > a {
		min-height: 360px;
	}
	body.single-product.amam-marketplace .woocommerce-product-gallery__image img {
		height: 440px !important;
		max-height: 60vh;
	}
}

@media (max-width: 767px) {
	body.amam-marketplace .woocommerce ul.products {
		--amam-product-columns: 2 !important;
		gap: 10px;
	}
	body.amam-marketplace .woocommerce ul.products li.product a img {
		height: 180px !important;
		padding: 9px !important;
	}
	body.amam-marketplace .woocommerce ul.products li.product .woocommerce-loop-product__title {
		min-height: 4.2em;
		padding-inline: 9px !important;
		font-size: .76rem !important;
	}
	body.amam-marketplace .woocommerce ul.products li.product .button,
	body.amam-marketplace .woocommerce ul.products li.product .added_to_cart,
	body.amam-marketplace .woocommerce ul.products li.product .amam-wholesale-cta,
	body.amam-marketplace .woocommerce ul.products li.product .amam-buy-now {
		width: calc(100% - 18px) !important;
		margin-inline: 9px !important;
		font-size: .68rem !important;
	}
	.amam-catalog-categories > ul {
		columns: 1;
	}
	.woocommerce-products-header {
		padding: 18px;
	}
	.woocommerce .woocommerce-result-count,
	.woocommerce .woocommerce-ordering {
		display: block;
		float: none;
		width: 100%;
	}
	.woocommerce .woocommerce-ordering select {
		width: 100%;
	}
	body.single-product.amam-marketplace .woocommerce-product-gallery__image > a {
		min-height: 300px;
	}
	body.single-product.amam-marketplace .woocommerce-product-gallery__image img {
		height: 350px !important;
		padding: 12px !important;
	}
	body.single-product.amam-marketplace .woocommerce div.product form.cart {
		grid-template-columns: 76px minmax(0, 1fr);
	}
	body.single-product.amam-marketplace .woocommerce div.product form.cart .amam-buy-now,
	body.single-product.amam-marketplace .woocommerce div.product form.cart .amam-wholesale-cta {
		grid-column: 1 / -1;
	}
	body.single-product.amam-marketplace .amam-product-trust {
		grid-template-columns: 1fr;
	}
}

/* Universal native chrome enforcement — v1.5.0. */
html body.amam-marketplace.amam-native-chrome-enabled .amam-topbar[data-amam-owner="theme-header"],
html body.amam-marketplace.amam-native-chrome-enabled header#masthead.site-header[data-amam-owner="theme-header"],
html body.amam-marketplace.amam-native-chrome-enabled footer#colophon.site-footer[data-amam-owner="theme-footer"] {
	display: block !important;
	visibility: visible !important;
	opacity: 1 !important;
	clip: auto !important;
	clip-path: none !important;
	max-height: none !important;
	height: auto !important;
	width: 100% !important;
	transform: none !important;
}
html body.amam-marketplace.amam-native-chrome-enabled header#masthead.site-header[data-amam-owner="theme-header"] {
	inset-inline: 0 !important;
}
html body.amam-marketplace.amam-native-chrome-enabled footer#colophon.site-footer[data-amam-owner="theme-footer"] {
	position: relative !important;
	inset: auto !important;
	clear: both !important;
	float: none !important;
}
body.amam-universal-chrome-forced .amam-universal-page-shell {
	width: 100%;
	min-height: 35vh;
	margin: 0;
	padding: 0;
}
body.amam-universal-chrome-forced .amam-universal-page,
body.amam-universal-chrome-forced .amam-universal-page > .entry-content {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
}
body.amam-universal-chrome-forced .amam-universal-page > .entry-content::before,
body.amam-universal-chrome-forced .amam-universal-page > .entry-content::after {
	display: table;
	clear: both;
	content: "";
}

/* Responsive Customizer controls and controlled catalogue filters — v1.6.0. */
.amam-catalog-mobile-toolbar,
.amam-filter-close,
.amam-filter-backdrop {
	display: none;
}
.amam-shop-layout--sidebar-right .amam-shop-sidebar {
	grid-column: 2;
	grid-row: 1;
}
.amam-shop-layout--sidebar-right .amam-shop-content {
	grid-column: 1;
	grid-row: 1;
}
.amam-catalog-sidebar__heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 15px;
}
.amam-catalog-sidebar__heading h2 {
	margin: 0;
	font-size: 1.08rem;
	line-height: 1.25;
}
.amam-catalog-sidebar__heading a {
	font-size: .74rem;
	font-weight: 750;
	color: var(--amam-brand, #0f766e);
}
.amam-catalog-sidebar fieldset {
	min-width: 0;
	margin: 20px 0 0;
	padding: 0;
	border: 0;
}
.amam-catalog-sidebar legend,
.amam-catalog-sidebar h3 {
	width: 100%;
	margin: 20px 0 10px;
	padding: 0;
	font-size: .82rem;
	font-weight: 800;
	letter-spacing: .04em;
	line-height: 1.3;
	text-transform: uppercase;
	color: var(--amam-ink, #111827);
}
.amam-catalog-sidebar fieldset legend {
	margin-top: 0;
}
.amam-catalog-categories > ul,
.amam-brand-filter__list {
	max-height: 360px;
	overflow-y: auto;
	overflow-x: hidden;
	padding-inline-end: 5px;
	scrollbar-width: thin;
}
.amam-catalog-categories .amam-all-products a {
	font-weight: 750;
}
.amam-brand-filter__list {
	display: grid;
	gap: 2px;
}
.amam-brand-filter label {
	display: grid;
	grid-template-columns: 17px minmax(0, 1fr) auto;
	align-items: center;
	gap: 8px;
	min-height: 34px;
	margin: 0;
	padding: 4px 2px;
	cursor: pointer;
	font-size: .8rem;
	line-height: 1.25;
}
.amam-brand-filter label:hover span {
	color: var(--amam-brand, #0f766e);
}
.amam-brand-filter input {
	width: 16px;
	height: 16px;
	margin: 0;
	accent-color: var(--amam-brand, #0f766e);
}
.amam-brand-filter small {
	color: var(--amam-muted, #6b7280);
	font-size: .66rem;
}
.amam-price-filter > div {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
	margin-bottom: 10px;
}
.amam-price-filter label,
.amam-price-filter label span {
	display: block;
}
.amam-price-filter label span {
	margin-bottom: 5px;
	font-size: .68rem;
	color: var(--amam-muted, #6b7280);
}
.amam-catalog-filter-form .amam-apply-filters {
	width: 100%;
	min-height: 42px;
	margin-top: 13px;
	padding: 9px 14px;
	border: 0;
	border-radius: 8px;
	background: var(--amam-brand, #0f766e);
	color: #fff;
	font-weight: 800;
	cursor: pointer;
}
.amam-catalog-filter-form .amam-apply-filters:hover {
	filter: brightness(.93);
}
.amam-shop-sidebar--fallback {
	max-width: 310px;
	margin: 24px auto;
}

@media (max-width: 991px) {
	.amam-commerce-main .amam-shop-layout {
		display: block;
		padding-top: 18px;
	}
	.amam-catalog-mobile-toolbar {
		display: flex;
		align-items: center;
		justify-content: flex-end;
		margin: 0 0 14px;
	}
	.amam-filter-toggle {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		gap: 8px;
		min-height: 42px;
		padding: 9px 15px;
		border: 1px solid var(--amam-border, #d1d5db);
		border-radius: 9px;
		background: #fff;
		color: var(--amam-ink, #111827);
		font-weight: 800;
		cursor: pointer;
	}
	.amam-filter-toggle svg {
		width: 20px;
		height: 20px;
		fill: none;
		stroke: currentColor;
		stroke-width: 1.8;
		stroke-linecap: round;
	}
	html body.amam-marketplace .amam-shop-sidebar {
		display: block !important;
		position: fixed !important;
		z-index: 100002;
		inset-block: 0;
		inset-inline-start: 0;
		width: min(88vw, 370px);
		max-width: none;
		height: 100dvh;
		max-height: none;
		margin: 0;
		padding: 56px 20px 24px;
		border: 0;
		border-radius: 0;
		box-shadow: 0 20px 60px rgba(15, 23, 42, .28);
		overflow-y: auto;
		background: #fff;
		transform: translateX(-105%);
		transition: transform .24s ease;
	}
	[dir="rtl"] body.amam-marketplace .amam-shop-sidebar {
		transform: translateX(105%);
	}
	html body.amam-marketplace .amam-shop-sidebar.is-open {
		transform: translateX(0);
	}
	.amam-filter-close {
		display: grid;
		place-items: center;
		position: absolute;
		top: 12px;
		inset-inline-end: 14px;
		width: 36px;
		height: 36px;
		padding: 0;
		border: 1px solid var(--amam-border, #e5e7eb);
		border-radius: 50%;
		background: #fff;
		color: var(--amam-ink, #111827);
		font-size: 1.45rem;
		line-height: 1;
		cursor: pointer;
	}
	.amam-filter-backdrop {
		display: block;
		position: fixed;
		z-index: 100001;
		inset: 0;
		width: 100%;
		height: 100%;
		padding: 0;
		border: 0;
		background: rgba(15, 23, 42, .52);
		opacity: 0;
		visibility: hidden;
		pointer-events: none;
		transition: opacity .2s ease, visibility .2s ease;
	}
	.amam-filter-backdrop.is-open {
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
	}
	body.amam-filter-open {
		overflow: hidden;
	}
	.amam-shop-layout--sidebar-right .amam-shop-sidebar,
	.amam-shop-layout--sidebar-right .amam-shop-content {
		grid-column: auto;
		grid-row: auto;
	}
	.amam-catalog-categories > ul {
		columns: 1;
		max-height: 330px;
	}
}

@media (max-width: 767px) {
	.amam-catalog-mobile-toolbar {
		justify-content: stretch;
	}
	.amam-filter-toggle {
		width: 100%;
	}
	.amam-price-filter > div {
		grid-template-columns: 1fr 1fr;
	}
}

/* Elementor global header/footer integration — v1.7.0. */
.amam-elementor-location,
.amam-elementor-location > .elementor,
.amam-elementor-location .elementor-section-wrap,
.amam-elementor-location .elementor-widget-shortcode,
.amam-elementor-location .elementor-widget-shortcode > .elementor-widget-container {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
}

.amam-elementor-location .elementor-section,
.amam-elementor-location .e-con {
	margin-block: 0;
}

.amam-elementor-dependency-notice {
	max-width: 1240px;
	margin: 12px auto;
	padding: 12px 16px;
	border: 1px solid #f59e0b;
	border-radius: 8px;
	background: #fffbeb;
	color: #78350f;
	font-size: 14px;
}
