/**
 * AMEA Katalog - native WooCommerce templates under Hello Elementor (scoped by body.amea-wc).
 */

/* =====================================================================
 * Content width + typography
 * =================================================================== */

body.amea-wc main.site-main {
	width: 100%;
	max-width: 1320px; /* 1280 content + 2 x 20 padding, same as the Elementor header */
	margin-inline: auto;
	padding: 28px 20px 64px;
	color: var(--amea-text);
	font-family: var(--amea-font);
	font-size: 15px;
	line-height: 1.6;
}

/* Low specificity on purpose (:where) so component link styles always win. */
body.amea-wc main.site-main :where(a) {
	color: var(--amea-teal);
}

body.amea-wc main.site-main :where(a:hover, a:focus) {
	color: var(--amea-teal-hover);
}

/* Breadcrumb */
body.amea-wc .woocommerce-breadcrumb.amea-breadcrumb {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 8px;
	margin: 0 0 18px;
	padding: 0;
	color: var(--amea-muted);
	font-size: 13px;
	line-height: 1.5;
}

body.amea-wc .woocommerce-breadcrumb.amea-breadcrumb a {
	color: var(--amea-text);
	text-decoration: none;
}

body.amea-wc .woocommerce-breadcrumb.amea-breadcrumb a:hover,
body.amea-wc .woocommerce-breadcrumb.amea-breadcrumb a:focus {
	color: var(--amea-teal);
	text-decoration: underline;
}

.amea-breadcrumb__sep {
	color: var(--amea-border-btn);
}

/* Notices */
body.amea-wc .woocommerce-info,
body.amea-wc .woocommerce-message,
body.amea-wc .woocommerce-error,
body.amea-wc .woocommerce-no-products-found .woocommerce-info {
	margin: 0 0 20px;
	padding: 16px 20px 16px 52px;
	background: var(--amea-bg-light);
	border: 1px solid var(--amea-border);
	border-top: 3px solid var(--amea-teal);
	border-radius: var(--amea-radius-input);
	color: var(--amea-navy);
	font-size: 15px;
}

body.amea-wc .woocommerce-info::before,
body.amea-wc .woocommerce-message::before {
	top: 16px;
	left: 20px;
	color: var(--amea-teal);
}

body.amea-wc .woocommerce-error {
	border-top-color: var(--amea-danger);
}

/* =====================================================================
 * Archive
 * =================================================================== */

body.amea-wc .woocommerce-products-header {
	margin: 0 0 22px;
	padding: 0;
}

body.amea-wc .woocommerce-products-header h1.woocommerce-products-header__title {
	margin: 0;
	color: var(--amea-navy);
	font-family: var(--amea-font);
	font-size: clamp(28px, 3.2vw, 40px);
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: -0.02em;
}

body.amea-wc .woocommerce-products-header .term-description,
body.amea-wc .woocommerce-products-header .page-description {
	max-width: 820px;
	margin-top: 10px;
	color: var(--amea-text);
	font-size: 16px;
}

body.amea-wc .woocommerce-products-header .term-description p:last-child,
body.amea-wc .woocommerce-products-header .page-description p:last-child {
	margin-bottom: 0;
}

.amea-archive-search {
	margin: 0 0 32px;
	padding: 20px;
	background: var(--amea-bg-light);
	border-radius: var(--amea-radius-card);
}

.amea-archive {
	display: grid;
	grid-template-columns: 260px minmax(0, 1fr);
	gap: 32px;
	align-items: start;
}

.amea-archive__main {
	min-width: 0;
}

.amea-archive__toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 20px;
	margin: 0 0 20px;
}

.amea-archive__toolbar .woocommerce-notices-wrapper {
	flex: 1 0 100%;
}

.amea-archive__toolbar .woocommerce-notices-wrapper:empty {
	display: none;
}

body.amea-wc .amea-archive__toolbar .woocommerce-result-count {
	float: none;
	margin: 0;
	color: var(--amea-text);
	font-size: 14px;
}

body.amea-wc .amea-archive__toolbar .woocommerce-ordering {
	float: none;
	margin: 0;
}

body.amea-wc .amea-archive__toolbar .woocommerce-ordering select.orderby {
	height: 42px;
	min-width: 220px;
	padding: 0 38px 0 14px;
	background: var(--amea-white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2306264D' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center;
	border: 1px solid var(--amea-border-input);
	border-radius: var(--amea-radius-input);
	color: var(--amea-navy);
	font-family: var(--amea-font);
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}

body.amea-wc .amea-archive__toolbar .woocommerce-ordering select.orderby:focus {
	border-color: var(--amea-teal);
	box-shadow: var(--amea-focus);
	outline: none;
}

/* Sidebar filters - scrolls with the page (an inner scroll box swallowed the mouse wheel) */
.amea-filters {
	padding: 20px;
	background: var(--amea-white);
	border: 1px solid var(--amea-border);
	border-radius: var(--amea-radius-card);
	scrollbar-width: thin;
}

body .amea-filters button.amea-filters__toggle {
	display: none;
}

.amea-filters__group + .amea-filters__group {
	margin-top: 20px;
	padding-top: 20px;
	border-top: 1px solid var(--amea-border);
}

.amea-filters .amea-filters__title {
	margin: 0 0 10px;
	color: var(--amea-navy);
	font-family: var(--amea-font);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

ul.amea-filters__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

ul.amea-filters__list--child {
	margin: 2px 0 4px 12px;
	padding-left: 10px;
	border-left: 1px solid var(--amea-border);
}

.amea-filters__item {
	margin: 0;
	padding: 0;
}

body .amea-filters a.amea-filters__link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 7px 10px;
	border-radius: var(--amea-radius-input);
	color: var(--amea-text);
	font-size: 14px;
	font-weight: 500;
	line-height: 1.35;
	text-decoration: none;
	transition: background-color 0.15s ease, color 0.15s ease;
}

body .amea-filters a.amea-filters__link:hover,
body .amea-filters a.amea-filters__link:focus {
	background: var(--amea-bg-light);
	color: var(--amea-navy);
}

body .amea-filters .is-current > a.amea-filters__link {
	background: var(--amea-teal-light);
	color: var(--amea-teal);
	font-weight: 700;
}

body .amea-filters .is-ancestor > a.amea-filters__link {
	color: var(--amea-navy);
	font-weight: 600;
}

.amea-filters__name {
	min-width: 0;
	overflow-wrap: anywhere;
}

.amea-filters__count {
	flex: 0 0 auto;
	min-width: 26px;
	padding: 1px 7px;
	background: var(--amea-bg-light);
	border-radius: 999px;
	color: var(--amea-muted);
	font-size: 12px;
	font-weight: 600;
	text-align: center;
}

.is-current > .amea-filters__link .amea-filters__count {
	background: var(--amea-white);
	color: var(--amea-teal);
}

body .amea-filters a.amea-filters__reset {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 18px;
	color: var(--amea-teal);
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
}

body .amea-filters a.amea-filters__reset:hover,
body .amea-filters a.amea-filters__reset:focus {
	text-decoration: underline;
}

/* Pagination */
body.amea-wc nav.woocommerce-pagination {
	margin-top: 36px;
	text-align: center;
}

body.amea-wc nav.woocommerce-pagination ul.page-numbers {
	display: inline-flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px;
	margin: 0;
	padding: 0;
	border: 0;
	white-space: normal;
}

body.amea-wc nav.woocommerce-pagination ul.page-numbers li {
	float: none;
	display: block;
	margin: 0;
	border: 0;
	overflow: visible;
}

body.amea-wc nav.woocommerce-pagination ul.page-numbers li .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	height: 42px;
	padding: 0 12px;
	background: var(--amea-white);
	border: 1px solid var(--amea-border);
	border-radius: var(--amea-radius-input);
	color: var(--amea-navy);
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
}

body.amea-wc nav.woocommerce-pagination ul.page-numbers li a.page-numbers:hover,
body.amea-wc nav.woocommerce-pagination ul.page-numbers li a.page-numbers:focus {
	background: var(--amea-white);
	border-color: var(--amea-teal);
	color: var(--amea-teal);
}

body.amea-wc nav.woocommerce-pagination ul.page-numbers li span.current {
	background: var(--amea-teal);
	border-color: var(--amea-teal);
	color: var(--amea-white);
}

body.amea-wc nav.woocommerce-pagination ul.page-numbers li span.dots {
	border-color: transparent;
	background: transparent;
}

@media (max-width: 1024px) {
	.amea-archive {
		grid-template-columns: minmax(0, 1fr);
		gap: 20px;
	}

	.amea-filters {
		position: static;
		max-height: none;
		overflow: visible;
		padding: 0;
		border: 0;
		background: transparent;
	}

	body .amea-filters button.amea-filters__toggle {
		display: inline-flex;
		width: 100%;
		justify-content: flex-start;
	}

	.amea-filters__chevron {
		margin-left: auto;
		transition: transform 0.2s ease;
	}

	.amea-filters.is-open .amea-filters__chevron {
		transform: rotate(180deg);
	}

	.amea-filters__panel {
		margin-top: 12px;
		padding: 20px;
		background: var(--amea-white);
		border: 1px solid var(--amea-border);
		border-radius: var(--amea-radius-card);
	}

	.amea-filters--js:not(.is-open) .amea-filters__panel {
		display: none;
	}
}

@media (max-width: 767px) {
	body.amea-wc main.site-main {
		padding-top: 20px;
		padding-bottom: 48px;
	}

	.amea-archive-search {
		margin-bottom: 24px;
		padding: 0;
		background: transparent;
	}

	.amea-archive__toolbar {
		align-items: stretch;
	}

	body.amea-wc .amea-archive__toolbar .woocommerce-ordering,
	body.amea-wc .amea-archive__toolbar .woocommerce-ordering select.orderby {
		width: 100%;
	}
}

/* =====================================================================
 * Single product
 * =================================================================== */

body.amea-wc-single div.product {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 48px;
	align-items: start;
	margin: 0;
}

body.amea-wc-single div.product::before,
body.amea-wc-single div.product::after {
	content: none;
	display: none;
}

body.amea-wc-single div.product > * {
	grid-column: 1 / -1;
	min-width: 0;
}

/* Gallery (left) */
body.amea-wc-single div.product > div.woocommerce-product-gallery.images {
	position: relative;
	grid-column: 1;
	float: none;
	width: auto;
	margin: 0;
}

body.amea-wc-single div.product div.images .flex-viewport {
	border-radius: var(--amea-radius-card);
}

body.amea-wc-single div.product div.images .woocommerce-product-gallery__wrapper {
	margin: 0;
}

/* The slide itself stays unstyled (FlexSlider measures it); the white box is drawn by the link. */
body.amea-wc-single div.product div.images .woocommerce-product-gallery__image {
	padding: 0;
	border: 0;
	background: transparent;
}

body.amea-wc-single div.product div.images .woocommerce-product-gallery__image > a,
body.amea-wc-single div.product div.images .woocommerce-product-gallery__image--placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 480px;
	padding: 10px;
	background: var(--amea-white);
	border: 1px solid var(--amea-border);
	border-radius: var(--amea-radius-card);
	overflow: hidden;
}

/* Never upscale the (low-res) packshots: natural size, contained. */
body.amea-wc-single div.product div.images .woocommerce-product-gallery__image img {
	display: block;
	width: auto !important;
	height: auto !important;
	max-width: 100%;
	max-height: 100%;
	margin: 0 auto;
	object-fit: contain;
	box-shadow: none;
}

body.amea-wc-single div.product div.images .woocommerce-product-gallery__image img.zoomImg {
	max-width: none;
	max-height: none;
}

body.amea-wc-single div.product div.images .woocommerce-product-gallery__trigger {
	top: 14px;
	right: 14px;
	z-index: 5;
	box-shadow: 0 0 0 1px var(--amea-border), var(--amea-shadow-sm);
}

/* Thumbnails */
body.amea-wc-single div.product div.images ol.flex-control-thumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 12px 0 0;
	padding: 0;
	list-style: none;
}

body.amea-wc-single div.product div.images ol.flex-control-thumbs li {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 76px;
	float: none;
	clear: none !important;
	width: 76px !important;
	height: 76px;
	margin: 0 !important;
	padding: 6px;
	background: var(--amea-white);
	border: 1px solid var(--amea-border);
	border-radius: var(--amea-radius-input);
	cursor: pointer;
}

body.amea-wc-single div.product div.images ol.flex-control-thumbs li img {
	display: block;
	width: auto !important;
	height: auto !important;
	max-width: 100%;
	max-height: 100%;
	margin: 0;
	object-fit: contain;
	opacity: 0.6;
	transition: opacity 0.15s ease;
}

body.amea-wc-single div.product div.images ol.flex-control-thumbs li:hover img,
body.amea-wc-single div.product div.images ol.flex-control-thumbs li img.flex-active {
	opacity: 1;
}

body.amea-wc-single div.product div.images ol.flex-control-thumbs li:has(img.flex-active) {
	border-color: var(--amea-teal);
	box-shadow: 0 0 0 1px var(--amea-teal);
}

/* Summary (right) */
body.amea-wc-single div.product > div.summary {
	grid-column: 2;
	float: none;
	width: auto;
	margin: 0;
	padding-top: 6px;
}

.amea-single-brand {
	margin: 0 0 12px;
}

body.amea-wc-single a.amea-chip--brand,
body.amea-wc-single span.amea-chip--brand {
	padding: 5px 12px;
	background: var(--amea-teal-light);
	border-color: transparent;
	color: var(--amea-teal);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

body.amea-wc-single main.site-main a.amea-chip--brand:hover,
body.amea-wc-single main.site-main a.amea-chip--brand:focus {
	background: var(--amea-teal);
	color: var(--amea-white);
}

body.amea-wc-single div.product div.summary h1.product_title {
	margin: 0;
	color: var(--amea-navy);
	font-family: var(--amea-font);
	font-size: clamp(28px, 3vw, 38px);
	font-weight: 800;
	line-height: 1.18;
	letter-spacing: -0.02em;
}

.amea-single-tip {
	margin: 8px 0 0;
	color: var(--amea-text);
	font-size: 17px;
	font-weight: 500;
	line-height: 1.45;
}

body.amea-wc-single div.product div.summary .woocommerce-product-details__short-description {
	margin: 18px 0 0;
	color: var(--amea-text);
	font-size: 15px;
	line-height: 1.65;
}

body.amea-wc-single div.product div.summary .woocommerce-product-details__short-description p:last-child {
	margin-bottom: 0;
}

.amea-price-pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 20px 0 0;
	padding: 8px 14px;
	background: var(--amea-bg-light);
	border: 1px solid var(--amea-border);
	border-radius: 999px;
	color: var(--amea-navy);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.2;
}

.amea-price-pill .amea-icon {
	color: var(--amea-teal);
}

.amea-pakovanja {
	margin: 20px 0 0;
}

.amea-pakovanja__label {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 0 0 8px;
	color: var(--amea-navy);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.amea-pakovanja__label .amea-icon {
	color: var(--amea-teal);
}

ul.amea-pakovanja__list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.amea-single-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 26px 0 0;
}

.amea-single-actions .amea-btn {
	flex: 1 1 220px;
}

body.amea-wc-single .amea-single-actions button.amea-btn {
	min-height: 50px;
	font-size: 15px;
}

.amea-single-info {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 16px 0 0;
	color: var(--amea-text);
	font-size: 14px;
	line-height: 1.5;
}

.amea-single-info .amea-icon {
	margin-top: 1px;
	color: var(--amea-teal);
}

.amea-single-sheet {
	margin: 16px 0 0;
}

body.amea-wc-single main.site-main a.amea-btn.amea-btn--outline {
	color: var(--amea-navy);
}

body.amea-wc-single main.site-main a.amea-btn.amea-btn--outline:hover,
body.amea-wc-single main.site-main a.amea-btn.amea-btn--outline:focus {
	color: var(--amea-teal);
}

body.amea-wc-single .amea-single-meta.product_meta {
	display: grid;
	gap: 6px;
	margin: 22px 0 0;
	padding: 18px 0 0;
	border-top: 1px solid var(--amea-border);
	font-size: 14px;
}

.amea-single-meta__label {
	color: var(--amea-navy);
	font-weight: 700;
}

body.amea-wc-single .amea-single-meta a {
	text-decoration: none;
}

body.amea-wc-single .amea-single-meta a:hover,
body.amea-wc-single .amea-single-meta a:focus {
	text-decoration: underline;
}

/* Tabs */
body.amea-wc-single div.product .woocommerce-tabs {
	margin: 24px 0 0;
	padding: 0;
}

body.amea-wc-single div.product .woocommerce-tabs ul.tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	margin: 0 0 24px;
	padding: 0;
	border-bottom: 1px solid var(--amea-border);
	overflow: visible;
}

body.amea-wc-single div.product .woocommerce-tabs ul.tabs::before,
body.amea-wc-single div.product .woocommerce-tabs ul.tabs::after,
body.amea-wc-single div.product .woocommerce-tabs ul.tabs li::before,
body.amea-wc-single div.product .woocommerce-tabs ul.tabs li::after {
	content: none;
	display: none;
	border: 0;
	box-shadow: none;
}

body.amea-wc-single div.product .woocommerce-tabs ul.tabs li {
	margin: 0 0 -1px;
	padding: 0;
	background: transparent;
	border: 0;
	border-bottom: 2px solid transparent;
	border-radius: 0;
}

body.amea-wc-single div.product .woocommerce-tabs ul.tabs li a {
	display: block;
	padding: 12px 18px;
	color: var(--amea-text);
	font-family: var(--amea-font);
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
}

body.amea-wc-single div.product .woocommerce-tabs ul.tabs li a:hover,
body.amea-wc-single div.product .woocommerce-tabs ul.tabs li a:focus {
	color: var(--amea-navy);
}

body.amea-wc-single div.product .woocommerce-tabs ul.tabs li.active {
	background: transparent;
	border-bottom-color: var(--amea-teal);
}

body.amea-wc-single div.product .woocommerce-tabs ul.tabs li.active a {
	color: var(--amea-teal);
}

body.amea-wc-single div.product .woocommerce-tabs .panel {
	max-width: 900px;
	margin: 0;
	color: var(--amea-text);
	font-size: 15px;
	line-height: 1.7;
}

body.amea-wc-single div.product .woocommerce-tabs .panel h2,
body.amea-wc-single div.product .woocommerce-tabs .panel h3,
body.amea-wc-single div.product .woocommerce-tabs .panel h4 {
	color: var(--amea-navy);
	font-family: var(--amea-font);
	font-weight: 700;
}

body.amea-wc-single div.product .woocommerce-tabs .panel h2 {
	font-size: 22px;
}

body.amea-wc-single div.product .woocommerce-tabs .panel h3 {
	font-size: 18px;
}

body.amea-wc-single div.product .woocommerce-tabs .panel ul,
body.amea-wc-single div.product .woocommerce-tabs .panel ol {
	margin: 0 0 1em;
	padding-left: 1.3em;
}

/* Specifications table */
body.amea-wc-single table.woocommerce-product-attributes.shop_attributes {
	width: 100%;
	margin: 0;
	border: 1px solid var(--amea-border);
	border-collapse: separate;
	border-spacing: 0;
	border-radius: var(--amea-radius-card);
	overflow: hidden;
}

body.amea-wc-single table.woocommerce-product-attributes.shop_attributes th,
body.amea-wc-single table.woocommerce-product-attributes.shop_attributes td {
	padding: 12px 16px;
	border: 0;
	border-bottom: 1px solid var(--amea-border);
	background: var(--amea-white);
	font-size: 14px;
	font-style: normal;
	line-height: 1.5;
	text-align: left;
	vertical-align: top;
}

body.amea-wc-single table.woocommerce-product-attributes.shop_attributes th {
	width: 32%;
	background: var(--amea-bg-light);
	color: var(--amea-navy);
	font-weight: 700;
}

body.amea-wc-single table.woocommerce-product-attributes.shop_attributes td p {
	margin: 0;
	padding: 0;
}

body.amea-wc-single table.woocommerce-product-attributes.shop_attributes tr:last-child th,
body.amea-wc-single table.woocommerce-product-attributes.shop_attributes tr:last-child td {
	border-bottom: 0;
}

/* Related / up-sells */
body.amea-wc-single div.product section.related,
body.amea-wc-single div.product section.up-sells {
	margin: 24px 0 0;
	padding-top: 40px;
	border-top: 1px solid var(--amea-border);
}

body.amea-wc-single div.product section.related > h2,
body.amea-wc-single div.product section.up-sells > h2 {
	margin: 0 0 22px;
	color: var(--amea-navy);
	font-family: var(--amea-font);
	font-size: 26px;
	font-weight: 800;
	letter-spacing: -0.01em;
}

@media (max-width: 1024px) {
	body.amea-wc-single div.product {
		gap: 32px;
	}
}

@media (max-width: 767px) {
	body.amea-wc-single div.product {
		grid-template-columns: minmax(0, 1fr);
		gap: 24px;
	}

	body.amea-wc-single div.product > div.woocommerce-product-gallery.images,
	body.amea-wc-single div.product > div.summary {
		grid-column: 1;
	}

	body.amea-wc-single div.product div.images .woocommerce-product-gallery__image > a,
	body.amea-wc-single div.product div.images .woocommerce-product-gallery__image--placeholder {
		height: 320px;
	}

	body.amea-wc-single div.product div.images ol.flex-control-thumbs li {
		flex-basis: 64px;
		width: 64px !important;
		height: 64px;
	}

	body.amea-wc-single div.product .woocommerce-tabs ul.tabs li a {
		padding: 10px 12px;
	}

	body.amea-wc-single table.woocommerce-product-attributes.shop_attributes th {
		width: 42%;
	}
}

/* =====================================================================
 * Combinable filters, active chips, empty state, AJAX loading animation
 * =================================================================== */

/* filter states */
body .amea-filters .amea-filters__link.is-disabled {
	opacity: .42;
	cursor: default;
	pointer-events: none;
}
body .amea-filters .is-current > a.amea-filters__link .amea-filters__x {
	margin-left: auto;
	margin-right: 6px;
	opacity: .7;
	flex: none;
}
body .amea-filters a.amea-filters__link.is-pending,
.amea-filter-chip.is-pending {
	opacity: .6;
}

/* active filter chips */
.amea-active-filters {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin: 0 0 18px;
}
body .amea-active-filters a.amea-filter-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 7px 12px 7px 14px;
	border-radius: 999px;
	background: var(--amea-teal-light, #E7F4F5);
	color: var(--amea-teal-hover, #06656C);
	font-size: 13px;
	line-height: 1.2;
	text-decoration: none;
	border: 1px solid rgba(8, 124, 132, .18);
	transition: background-color .2s ease, color .2s ease, transform .2s ease;
	animation: ameaChipIn .3s ease both;
}
body .amea-active-filters a.amea-filter-chip:hover,
body .amea-active-filters a.amea-filter-chip:focus-visible {
	background: var(--amea-teal, #087C84);
	color: #fff;
}
.amea-filter-chip__label {
	font-weight: 500;
	opacity: .8;
}
.amea-filter-chip__value {
	font-weight: 700;
}
body .amea-active-filters a.amea-active-filters__reset {
	margin-left: 4px;
	font-size: 13px;
	font-weight: 600;
	color: var(--amea-muted, #8A97AB);
	text-decoration: underline;
	text-underline-offset: 3px;
}
body .amea-active-filters a.amea-active-filters__reset:hover {
	color: var(--amea-navy, #06264D);
}
@keyframes ameaChipIn {
	from { opacity: 0; transform: translateY(-4px) scale(.96); }
	to { opacity: 1; transform: none; }
}

/* empty state */
.amea-empty {
	text-align: center;
	padding: 56px 24px;
	border: 1px dashed #D5DFE8;
	border-radius: 16px;
	background: #F8FBFD;
}
.amea-empty__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 72px;
	height: 72px;
	border-radius: 50%;
	background: #fff;
	color: var(--amea-teal, #087C84);
	box-shadow: 0 10px 30px rgba(6, 38, 77, .08);
	margin-bottom: 18px;
}
body .amea-empty .amea-empty__title {
	margin: 0 0 8px;
	font-size: 22px;
	line-height: 1.3;
	color: var(--amea-navy, #06264D);
}
.amea-empty__text {
	max-width: 520px;
	margin: 0 auto 22px;
	color: var(--amea-text, #5B6B82);
}
.amea-empty__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
}

/* loading + enter animation */
.amea-archive__main {
	position: relative;
	transition: opacity .22s ease, filter .22s ease;
}
.amea-archive__main.is-loading {
	opacity: .42;
	filter: saturate(.55);
	pointer-events: none;
}
.amea-archive__main.is-loading::after {
	content: "";
	position: absolute;
	top: 140px;
	left: 50%;
	width: 38px;
	height: 38px;
	margin-left: -19px;
	border-radius: 50%;
	border: 3px solid #D8E6EE;
	border-top-color: var(--amea-teal, #087C84);
	animation: ameaSpin .7s linear infinite;
	opacity: 1;
}
@keyframes ameaSpin {
	to { transform: rotate(360deg); }
}
.amea-archive__main.is-entering ul.products > li,
.amea-archive__main.is-entering .amea-empty {
	animation: ameaCardIn .5s cubic-bezier(.2, .7, .2, 1) both;
	animation-delay: calc(var(--amea-i, 0) * 35ms);
}
.amea-archive__main.is-entering .amea-archive__toolbar,
.amea-archive__main.is-entering .woocommerce-pagination {
	animation: ameaFadeIn .4s ease both;
}
@keyframes ameaCardIn {
	from { opacity: 0; transform: translateY(16px) scale(.985); }
	to { opacity: 1; transform: none; }
}
@keyframes ameaFadeIn {
	from { opacity: 0; }
	to { opacity: 1; }
}

/* top progress bar */
.amea-progress {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 100000;
	height: 3px;
	width: 0;
	background: linear-gradient(90deg, #3CC8D8, #087C84);
	box-shadow: 0 0 10px rgba(8, 124, 132, .45);
	opacity: 0;
	transition: width .6s cubic-bezier(.1, .7, .3, 1), opacity .3s ease;
}
.amea-progress.is-active {
	opacity: 1;
}
.amea-progress.is-done {
	transition: width .2s ease, opacity .35s ease .15s;
	opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
	.amea-archive__main.is-entering ul.products > li,
	.amea-archive__main.is-entering .amea-empty,
	.amea-archive__main.is-entering .amea-archive__toolbar,
	.amea-archive__main.is-entering .woocommerce-pagination,
	body .amea-active-filters a.amea-filter-chip {
		animation: none;
	}
	.amea-archive__main.is-loading::after {
		animation-duration: 1.6s;
	}
}

/* Elementor kit link colour (.elementor-kit-N a) must not recolour plugin buttons rendered as links */
/* and neither must the archive link colour (body.amea-wc main.site-main :where(a) = specificity 0,2,2) */
body a.amea-btn--solid,
body a.amea-btn--solid:hover,
body a.amea-btn--solid:focus-visible,
body.amea-wc main.site-main a.amea-btn--solid,
body.amea-wc main.site-main a.amea-btn--solid:hover,
body.amea-wc main.site-main a.amea-btn--solid:focus-visible {
	color: var(--amea-white, #fff);
}
body a.amea-btn--outline,
body.amea-wc main.site-main a.amea-btn--outline {
	color: var(--amea-navy, #06264D);
}
body a.amea-btn--outline:hover,
body a.amea-btn--outline:focus-visible,
body.amea-wc main.site-main a.amea-btn--outline:hover,
body.amea-wc main.site-main a.amea-btn--outline:focus-visible {
	color: var(--amea-teal, #087C84);
}
