/* Amino Annex: mobile-first styles. Breakpoints: 768px (tablet), 1024px (desktop). */

:root {
	--aa-accent: #1A56C9;
	--aa-accent-dark: #123E94;
	--aa-ink: #0B1F3A;
	--aa-ink-2: #3A4F6E;
	--aa-muted: #4A5D7A;
	--aa-line: #E3E9F2;
	--aa-line-2: #C9D6E8;
	--aa-tint: #EEF4FD;
	--aa-tint-2: #F4F7FB;
	--aa-white: #FFFFFF;
	--aa-ok: #1C6B3E;
	--aa-radius: 10px;
	--aa-radius-lg: 14px;
	--aa-font: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	--aa-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
	--aa-gutter: 16px;
	--aa-max: 1200px;
}

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

body {
	margin: 0;
	background: var(--aa-white);
	color: var(--aa-ink);
	font-family: var(--aa-font);
	font-size: 16px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}
body.aa-no-scroll { overflow: hidden; }

img { max-width: 100%; height: auto; }
a { color: var(--aa-accent); }
a:hover { color: var(--aa-accent-dark); }
:focus-visible { outline: 3px solid var(--aa-accent); outline-offset: 2px; }

h1, h2, h3 { line-height: 1.2; letter-spacing: -0.01em; }

.aa-mono { font-family: var(--aa-mono); }
.aa-container { width: 100%; max-width: var(--aa-max); margin: 0 auto; padding: 0 var(--aa-gutter); }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.aa-skip-link { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--aa-white); padding: 12px 16px; }
.aa-skip-link:focus { left: 8px; top: 8px; }

/* Buttons */
.aa-btn,
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button,
.woocommerce #respond input#submit, .woocommerce a.button.alt, .woocommerce button.button.alt {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px; padding: 0 20px; border: 1px solid var(--aa-accent); border-radius: var(--aa-radius);
	background: var(--aa-accent); color: var(--aa-white); font: inherit; font-weight: 600; font-size: 16px;
	line-height: 1.2; text-decoration: none; cursor: pointer;
}
.aa-btn:hover,
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover,
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover {
	background: var(--aa-accent-dark); border-color: var(--aa-accent-dark); color: var(--aa-white);
}
.aa-btn--ghost { background: var(--aa-white); color: var(--aa-ink); border-color: var(--aa-line-2); }
.aa-btn--ghost:hover { background: var(--aa-tint); color: var(--aa-ink); border-color: var(--aa-line-2); }
.aa-btn--light { background: var(--aa-white); color: var(--aa-ink); border-color: var(--aa-white); }
.aa-btn--light:hover { background: var(--aa-tint); color: var(--aa-ink); border-color: var(--aa-tint); }
.aa-btn--small { min-height: 40px; padding: 0 14px; font-size: 14px; }
.woocommerce button.button:disabled, .woocommerce button.button.disabled { opacity: .5; }

.aa-icon-btn {
	width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
	border: 0; background: transparent; color: var(--aa-ink); cursor: pointer; position: relative; border-radius: 8px;
}
.aa-icon-btn:hover { background: var(--aa-tint); color: var(--aa-ink); }

.aa-pill {
	display: inline-block; font-size: 12px; color: var(--aa-accent); background: var(--aa-white);
	border: 1px solid #C9DAF6; border-radius: 999px; padding: 4px 10px;
}

/* RUO bar and header */
.aa-ruo-bar { background: var(--aa-ink); color: #DCE6F5; font-size: 12px; line-height: 16px; padding: 8px 16px; text-align: center; }

.aa-header { position: sticky; top: 0; z-index: 50; background: var(--aa-white); border-bottom: 1px solid var(--aa-line); }
.admin-bar .aa-header { top: 46px; }
@media (min-width: 783px) { .admin-bar .aa-header { top: 32px; } }
.aa-header__inner { display: flex; align-items: center; gap: 4px; min-height: 60px; padding: 0 8px; }
.aa-header__brand { flex: 1; display: flex; justify-content: center; min-width: 0; }
.aa-header__actions { display: flex; }
.aa-logo { display: inline-flex; align-items: center; gap: 8px; color: var(--aa-ink); text-decoration: none; font-weight: 700; font-size: 18px; }
.aa-logo:hover { color: var(--aa-ink); }
.aa-logo__mark { color: var(--aa-accent); flex: none; }
.custom-logo { max-height: 40px; width: auto; display: block; }

.aa-cart-link__count {
	position: absolute; top: 6px; right: 4px; min-width: 16px; height: 16px; padding: 0 4px;
	border-radius: 8px; background: var(--aa-accent); color: var(--aa-white);
	font-size: 10px; font-weight: 700; display: flex; align-items: center; justify-content: center;
}

/* Drawer menu (mobile) */
.aa-nav {
	position: fixed; inset: 0 auto 0 0; width: min(86vw, 340px); z-index: 70; background: var(--aa-white);
	transform: translateX(-100%); transition: transform .2s ease; overflow-y: auto; visibility: hidden;
}
.aa-nav.is-open { transform: none; visibility: visible; }
.aa-nav-backdrop { position: fixed; inset: 0; z-index: 60; background: rgba(11, 31, 58, .45); }
.aa-nav__head { display: flex; align-items: center; justify-content: space-between; padding: 8px 8px 8px 20px; border-bottom: 1px solid var(--aa-line); }
.aa-nav__title { font-weight: 600; }
.aa-nav__list { list-style: none; margin: 0; padding: 8px 0; }
.aa-nav__list a { display: block; padding: 14px 20px; color: var(--aa-ink); text-decoration: none; font-size: 17px; font-weight: 500; }
.aa-nav__list a:hover { background: var(--aa-tint); }
.aa-nav__list .sub-menu { list-style: none; margin: 0; padding: 0 0 0 16px; }
.aa-nav__list .sub-menu a { font-size: 15px; font-weight: 400; padding: 10px 20px; }

.aa-search-panel { border-top: 1px solid var(--aa-line); padding: 12px 0; background: var(--aa-white); }
.aa-search-form {
	display: flex; align-items: center; gap: 10px; min-height: 48px; border: 1px solid var(--aa-line-2);
	border-radius: var(--aa-radius); padding: 0 4px 0 14px; background: #F7F9FC; color: var(--aa-muted);
}
.aa-search-form__input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 16px; color: var(--aa-ink); padding: 10px 0; }
.aa-search-form__input:focus { outline: none; }
.aa-search-form:focus-within { outline: 3px solid var(--aa-accent); outline-offset: 1px; }

@media (min-width: 1024px) {
	.aa-header__inner { min-height: 72px; gap: 24px; padding: 0 var(--aa-gutter); }
	.aa-menu-toggle, .aa-menu-close, .aa-nav__head, .aa-nav-backdrop { display: none !important; }
	.aa-header__brand { flex: none; justify-content: flex-start; order: -1; }
	.aa-nav { position: static; transform: none; visibility: visible; width: auto; overflow: visible; flex: 1; background: none; }
	.aa-nav__list { display: flex; gap: 4px; padding: 0; }
	.aa-nav__list > li { position: relative; }
	.aa-nav__list a { padding: 10px 14px; font-size: 15px; border-radius: 8px; }
	.aa-nav__list .sub-menu {
		display: none; position: absolute; top: 100%; left: 0; min-width: 220px; padding: 8px;
		background: var(--aa-white); border: 1px solid var(--aa-line); border-radius: var(--aa-radius); box-shadow: 0 12px 32px rgba(11, 31, 58, .12);
	}
	.aa-nav__list li:hover > .sub-menu, .aa-nav__list li:focus-within > .sub-menu { display: block; }
}

/* Catalog popout menu. Mobile: an accordion inside the drawer. Desktop: a panel under the header. */
.aa-mega-toggle {
	display: flex; align-items: center; justify-content: space-between; gap: 6px; width: 100%;
	padding: 14px 20px; border: 0; background: none; color: var(--aa-ink); font: inherit; font-size: 17px; font-weight: 500; text-align: left; cursor: pointer;
}
.aa-mega-toggle:hover { background: var(--aa-tint); }
.aa-mega-toggle .aa-icon { transition: transform .15s ease; color: var(--aa-muted); }
.aa-mega-item.is-open > .aa-mega-toggle .aa-icon { transform: rotate(180deg); }
.aa-mega { display: none; }
.aa-mega-item.is-open > .aa-mega { display: block; }

.aa-mega__head { display: grid; gap: 12px; padding: 4px 20px 12px; }
.aa-mega__intro, .aa-nav .aa-mega__all { display: none; }
.aa-mega__eyebrow { margin: 0 0 4px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--aa-muted); }
.aa-mega__title { margin: 0; font-size: 22px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.2; }

.aa-mega__search {
	position: relative; display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 14px;
	border: 1px solid var(--aa-line-2); border-radius: var(--aa-radius); background: #F4F8FD; color: var(--aa-muted);
}
.aa-mega__search:focus-within { outline: 3px solid var(--aa-accent); outline-offset: 1px; background: var(--aa-white); }
.aa-mega__search input[type="search"] {
	flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 16px; color: var(--aa-ink); padding: 10px 0;
}
.aa-mega__search input[type="search"]:focus { outline: none; }
.aa-nav .aa-mega__results {
	position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 5; max-height: 360px; overflow-y: auto; padding: 6px;
	background: var(--aa-white); border: 1px solid var(--aa-line); border-radius: var(--aa-radius); box-shadow: 0 16px 40px rgba(11, 31, 58, .16);
}
.aa-nav .aa-mega__result { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 8px; color: var(--aa-ink); text-decoration: none; }
.aa-nav .aa-mega__result:hover, .aa-nav .aa-mega__result:focus { background: var(--aa-tint); color: var(--aa-ink); }
.aa-nav .aa-mega__result img { width: 40px; height: 40px; object-fit: contain; border-radius: 6px; background: var(--aa-tint-2); flex: none; }
.aa-nav .aa-mega__result-name { flex: 1; min-width: 0; font-weight: 500; font-size: 15px; }
.aa-nav .aa-mega__result-price { font-family: var(--aa-mono); font-size: 13px; color: var(--aa-muted); white-space: nowrap; }
.aa-nav .aa-mega__result--all { justify-content: center; font-weight: 600; font-size: 14px; color: var(--aa-accent); border-top: 1px solid var(--aa-line); border-radius: 0 0 8px 8px; margin-top: 4px; }
.aa-mega__empty { margin: 0; padding: 12px; font-size: 14px; color: var(--aa-muted); }

.aa-mega__main, .aa-mega__aside { display: grid; gap: 4px; }
.aa-mega__aside { background: var(--aa-tint-2); border-top: 1px solid var(--aa-line); border-bottom: 1px solid var(--aa-line); padding: 4px 0; }
.aa-mega__heading { margin: 0; padding: 12px 20px 4px; font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--aa-muted); }
.aa-nav .aa-mega__list { list-style: none; margin: 0; padding: 0; }
.aa-nav .aa-mega__entry { display: flex; align-items: center; gap: 12px; padding: 8px 20px; color: var(--aa-ink); text-decoration: none; font-size: 15px; font-weight: 400; }
.aa-nav .aa-mega__entry:hover { background: var(--aa-tint); color: var(--aa-ink); }
.aa-mega__thumb {
	width: 48px; height: 48px; flex: none; display: flex; align-items: center; justify-content: center; overflow: hidden;
	border: 1px solid var(--aa-line); border-radius: var(--aa-radius); background: var(--aa-tint-2); color: var(--aa-accent);
}
.aa-mega__thumb img { width: 100%; height: 100%; object-fit: contain; }
.aa-mega__icon { flex: none; color: var(--aa-accent); display: flex; }
.aa-mega__text { flex: 1; min-width: 0; display: grid; gap: 2px; }
.aa-mega__name { font-weight: 600; line-height: 1.3; }
.aa-mega__desc { font-size: 13px; line-height: 1.4; color: var(--aa-muted); }
.aa-mega__entry > .aa-icon:last-child { flex: none; color: var(--aa-muted); }

.aa-mega__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding: 12px 20px 16px; font-size: 13px; color: var(--aa-muted); }
.aa-mega__foot a { display: inline-flex; align-items: center; gap: 8px; color: var(--aa-ink); font-weight: 600; text-decoration: none; }
.aa-nav .aa-mega__foot a { padding: 0; font-size: 14px; }
.aa-mega__foot a:hover { color: var(--aa-accent); }

@media (min-width: 1024px) {
	.aa-nav__list > li.aa-mega-item { position: static; }
	.aa-mega-toggle { width: auto; padding: 10px 14px; font-size: 15px; border-radius: 8px; position: relative; }
	.aa-mega-toggle::after {
		content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; border-radius: 2px;
		background: var(--aa-ink); transform: scaleX(0); transition: transform .15s ease;
	}
	.aa-mega-item.is-open > .aa-mega-toggle { background: none; }
	.aa-mega-item.is-open > .aa-mega-toggle::after, .aa-mega-toggle:hover::after { transform: scaleX(1); }
	.aa-mega-toggle:hover { background: none; }

	.aa-mega {
		position: absolute; top: calc(100% + 6px); left: 50%; z-index: 80; width: min(1120px, calc(100vw - 32px));
		background: var(--aa-white); border: 1px solid var(--aa-line); border-radius: 18px; overflow: hidden;
		box-shadow: 0 24px 60px rgba(11, 31, 58, .18); transform: translateX(-50%);
	}
	.aa-mega::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
	.aa-mega-item.is-open > .aa-mega { animation: aa-mega-in .16s ease-out; }
	@keyframes aa-mega-in { from { opacity: 0; transform: translate(-50%, -6px); } to { opacity: 1; transform: translate(-50%, 0); } }

	.aa-mega__head { grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 28px; padding: 24px 28px; border-bottom: 1px solid var(--aa-line); }
	.aa-mega__intro { display: block; }
	.aa-nav .aa-mega__all { display: inline-flex; padding: 0 14px; font-size: 14px; border-radius: var(--aa-radius); }
	.aa-mega__body { display: grid; grid-template-columns: minmax(0, 1fr); }
	.aa-mega__body.has-aside { grid-template-columns: minmax(0, 1fr) 300px; }
	.aa-mega__main { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px 32px; padding: 24px 28px 28px; align-content: start; }
	.aa-mega__aside { gap: 16px; padding: 24px 24px 20px; border: 0; border-left: 1px solid var(--aa-line); align-content: start; }
	.aa-mega__heading { padding: 0 0 12px; }
	.aa-nav .aa-mega__list { display: grid; gap: 6px; }
	.aa-nav .aa-mega__entry { padding: 8px; margin: 0 -8px; border-radius: var(--aa-radius); font-size: 15px; }
	.aa-mega__thumb { width: 60px; height: 60px; }
	.aa-nav .aa-mega__list--links { gap: 0; }
	.aa-nav .aa-mega__list--links li + li { border-top: 1px solid var(--aa-line); }
	.aa-nav .aa-mega__list--links .aa-mega__entry { padding: 14px 8px; border-radius: 8px; }
	.aa-mega__foot { padding: 14px 28px; border-top: 1px solid var(--aa-line); }
}
@media (prefers-reduced-motion: reduce) {
	.aa-mega-toggle .aa-icon, .aa-mega-toggle::after { transition: none; }
	.aa-mega-item.is-open > .aa-mega { animation: none; }
}

/* Sections */
.aa-main { min-height: 50vh; }
.aa-section { padding: 32px 0 8px; }
.aa-section__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 16px; }
.aa-section__head .aa-section__title { margin: 0; }
.aa-section__title { font-size: 22px; font-weight: 700; margin: 0 0 16px; }

/* Hero */
.aa-hero { background: var(--aa-tint); }
.aa-hero__inner { display: flex; flex-direction: column; gap: 16px; padding-top: 32px; padding-bottom: 28px; }
.aa-hero__copy { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.aa-hero__title { margin: 0; font-size: 34px; line-height: 1.18; font-weight: 700; letter-spacing: -0.02em; }
.aa-hero__text { margin: 0; font-size: 16px; color: var(--aa-ink-2); max-width: 36em; }
.aa-hero__actions { display: flex; flex-direction: column; gap: 10px; width: 100%; }
.aa-hero__art { display: flex; align-items: flex-end; justify-content: center; gap: 18px; height: 170px; }
.aa-vial { width: 70px; height: 150px; }
.aa-vial--1 { width: 84px; height: 166px; }
.aa-vial__label { fill: var(--aa-accent); }
.aa-vial--1 .aa-vial__label { fill: var(--aa-ink); }
.aa-vial--2 .aa-vial__label { fill: #5E8EE6; }
@media (min-width: 768px) {
	.aa-hero__inner { flex-direction: row; align-items: center; padding-top: 64px; padding-bottom: 64px; }
	.aa-hero__copy { flex: 1; }
	.aa-hero__title { font-size: 48px; }
	.aa-hero__text { font-size: 18px; }
	.aa-hero__actions { flex-direction: row; width: auto; }
	.aa-hero__art { flex: 0 0 40%; height: 260px; }
	.aa-vial { width: 100px; height: 214px; }
	.aa-vial--1 { width: 120px; height: 238px; }
}

/* Trust strip */
.aa-trust { border-bottom: 1px solid var(--aa-line); }
.aa-trust__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--aa-line); padding: 0; }
.aa-trust__item { background: var(--aa-white); padding: 16px; display: flex; flex-direction: column; gap: 6px; }
.aa-trust__item .aa-icon { color: var(--aa-accent); }
.aa-trust__item strong { font-size: 14px; }
.aa-trust__item span { font-size: 13px; color: var(--aa-muted); line-height: 1.4; }
@media (min-width: 768px) { .aa-trust__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Categories */
.aa-cat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.aa-cat-card {
	display: flex; flex-direction: column; gap: 4px; min-height: 76px; padding: 14px;
	border: 1px solid var(--aa-line); border-radius: 12px; color: var(--aa-ink); text-decoration: none;
}
.aa-cat-card:hover { border-color: var(--aa-accent); color: var(--aa-ink); }
.aa-cat-card strong { font-size: 15px; }
.aa-cat-card span { font-size: 13px; color: var(--aa-muted); }
@media (min-width: 768px) { .aa-cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* COA lookup */
.aa-coa-lookup { background: var(--aa-ink); color: var(--aa-white); border-radius: var(--aa-radius-lg); padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.aa-coa-lookup h2 { margin: 0; font-size: 20px; }
.aa-coa-lookup p { margin: 0; font-size: 14px; color: #C3D1E6; }
.aa-coa-lookup a { color: #9CC0FF; }
.aa-coa-lookup__form { display: flex; flex-direction: column; gap: 6px; }
.aa-coa-lookup__form label { font-size: 13px; color: #C3D1E6; }
.aa-coa-lookup__row { display: flex; gap: 8px; }
.aa-coa-lookup__row input {
	flex: 1; min-width: 0; height: 48px; border-radius: var(--aa-radius); border: 1px solid #39537A;
	background: #132B4D; color: var(--aa-white); padding: 0 14px; font-size: 16px;
}
.aa-coa-lookup__result { margin-top: 6px; padding-top: 12px; border-top: 1px solid #39537A; }
.aa-coa-lookup__result p { color: var(--aa-white); }
@media (min-width: 768px) { .aa-coa-lookup { padding: 32px; } .aa-coa-lookup__form { max-width: 520px; } }

/* Steps */
.aa-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: aa-step; }
.aa-steps li { display: grid; grid-template-columns: 32px 1fr; column-gap: 14px; row-gap: 2px; counter-increment: aa-step; }
.aa-steps li::before {
	content: counter(aa-step); grid-row: span 2; width: 32px; height: 32px; border-radius: 16px; background: var(--aa-tint);
	color: var(--aa-accent); font-family: var(--aa-mono); font-weight: 500; display: flex; align-items: center; justify-content: center;
}
.aa-steps strong { font-size: 15px; }
.aa-steps span { font-size: 14px; color: var(--aa-muted); }
@media (min-width: 768px) { .aa-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }

/* Generic pages */
.aa-page { padding-top: 24px; padding-bottom: 48px; }
.aa-page--narrow { max-width: 640px; }
.aa-page__title { font-size: 28px; margin: 0 0 16px; }
.aa-page__meta { color: var(--aa-muted); margin-top: -8px; }
.aa-prose { max-width: 72ch; }
.aa-page--wc .aa-prose, .aa-page--wide .aa-prose { max-width: none; }
.aa-prose details { border-bottom: 1px solid var(--aa-line); padding: 14px 0; }
.aa-prose summary { cursor: pointer; font-weight: 600; min-height: 24px; }
.aa-post-list { display: grid; gap: 24px; }
.aa-post-card__title { font-size: 20px; margin: 0 0 6px; }
.aa-post-card__title a { color: var(--aa-ink); text-decoration: none; }

/* Footer */
.aa-footer { margin-top: 48px; background: var(--aa-tint-2); border-top: 1px solid var(--aa-line); padding: 28px 0 32px; }
.aa-footer__inner { display: flex; flex-direction: column; gap: 18px; }
.aa-footer__menu { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; font-size: 14px; }
.aa-footer__menu a { display: inline-block; padding: 4px 0; }
.aa-footer__disclaimer { margin: 0; font-size: 12px; line-height: 18px; color: var(--aa-muted); max-width: 80ch; }
.aa-footer__copy { margin: 0; font-size: 12px; color: var(--aa-muted); }
@media (min-width: 768px) { .aa-footer__menu { display: flex; flex-wrap: wrap; gap: 8px 24px; } }

/* ---------- WooCommerce ---------- */
.aa-shop { padding-top: 16px; padding-bottom: 48px; }
.woocommerce .woocommerce-breadcrumb { font-size: 14px; color: var(--aa-muted); margin: 0 0 12px; }
.woocommerce .woocommerce-breadcrumb a { color: var(--aa-muted); }
.woocommerce-products-header__title.page-title { font-size: 26px; margin: 0 0 8px; }
.woocommerce .woocommerce-result-count { font-size: 14px; color: var(--aa-muted); margin: 8px 0 12px; }
.woocommerce .woocommerce-ordering { margin: 0 0 16px; }
.woocommerce .woocommerce-ordering select,
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select,
.woocommerce .quantity .qty, .woocommerce div.product form.cart .variations select {
	min-height: 46px; border: 1px solid var(--aa-line-2); border-radius: var(--aa-radius); padding: 8px 12px;
	font: inherit; font-size: 16px; color: var(--aa-ink); background: var(--aa-white);
}

/* Product grid: 2 columns on phones, more on wider screens. Overrides WooCommerce's floats. */
.woocommerce ul.products,
.woocommerce-page ul.products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0 0 24px; padding: 0; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product,
.woocommerce ul.products[class*="columns-"] li.product,
.woocommerce-page ul.products[class*="columns-"] li.product {
	float: none !important; width: auto !important; margin: 0 !important; clear: none !important;
	padding: 0 0 12px; position: relative;
	border: 1px solid var(--aa-line); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column;
}
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link { color: var(--aa-ink); text-decoration: none; display: flex; flex-direction: column; flex: 1; }
.woocommerce ul.products li.product a img { margin: 0 0 10px; background: #F2F6FC; aspect-ratio: 1; object-fit: cover; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 15px; font-weight: 600; padding: 0 12px; margin: 0 0 2px; }
.woocommerce ul.products li.product .price { color: var(--aa-ink); font-size: 15px; font-weight: 600; padding: 0 12px; margin: 4px 0 10px; }
.woocommerce ul.products li.product .button { margin: auto 12px 0; min-height: 44px; font-size: 14px; background: var(--aa-white); color: var(--aa-accent); }
.woocommerce ul.products li.product .button:hover { background: var(--aa-accent); color: var(--aa-white); }
.woocommerce ul.products li.product .added_to_cart { padding: 6px 12px 0; font-size: 14px; }
.woocommerce span.onsale { min-height: 0; min-width: 0; line-height: 1; padding: 6px 8px; border-radius: 6px; background: var(--aa-accent); top: 8px; right: 8px; left: auto; margin: 0; font-size: 12px; }
.aa-badge {
	position: absolute; top: 8px; left: 8px; z-index: 1; font-size: 11px; background: var(--aa-white);
	border: 1px solid #C9DAF6; color: var(--aa-accent-dark); border-radius: 6px; padding: 2px 6px;
}
.aa-card-meta { display: block; padding: 0 12px; font-size: 12px; color: var(--aa-muted); }
@media (min-width: 768px) {
	.woocommerce ul.products, .woocommerce-page ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
}
@media (min-width: 1024px) {
	.woocommerce ul.products.columns-4, .woocommerce-page ul.products.columns-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Single product */
.woocommerce div.product { display: flex; flex-direction: column; }
.woocommerce div.product div.images,
.woocommerce div.product div.summary { float: none !important; width: 100% !important; margin-bottom: 20px; }
.woocommerce div.product div.images img { background: var(--aa-tint); border-radius: 12px; }
.woocommerce div.product .product_title { font-size: 30px; font-weight: 700; margin: 8px 0 6px; }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--aa-ink); font-size: 26px; font-weight: 700; }
.woocommerce div.product .woocommerce-product-details__short-description { color: var(--aa-ink-2); }
.woocommerce div.product form.cart { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0; }
.woocommerce div.product form.cart div.quantity { float: none; margin: 0; }
.woocommerce div.product form.cart .button { float: none; flex: 1; min-height: 52px; }
.woocommerce div.product form.variations_form { display: block; }
.woocommerce div.product form.cart .variations { margin-bottom: 12px; width: 100%; }
.woocommerce div.product form.cart .variations th, .woocommerce div.product form.cart .variations td { display: block; padding: 0 0 6px; text-align: left; }
.woocommerce div.product form.cart .variations select { width: 100%; min-width: 0; margin: 0; }
.woocommerce div.product .woocommerce-variation-add-to-cart { display: flex; gap: 10px; flex-wrap: wrap; }
.woocommerce div.product .woocommerce-variation-add-to-cart .button { flex: 1; }
.woocommerce div.product .woocommerce-variation-price { margin-bottom: 12px; }
/* Variable products show one price (assets/js/product.js moves the chosen size's price up top). */
.woocommerce div.product.aa-single-price .woocommerce-variation-price { display: none; }
.aabn-batch-price-note { display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 999px; background: var(--aa-tint); color: var(--aa-accent-dark); font-size: 12px; font-weight: 600; vertical-align: middle; }
.woocommerce div.product .price del { color: var(--aa-muted); font-weight: 400; font-size: .7em; margin-right: 6px; }
.woocommerce div.product .price ins { text-decoration: none; }
.woocommerce div.product .stock { color: var(--aa-ok); font-weight: 500; }
.woocommerce div.product .stock.out-of-stock { color: #A23B2A; }
.woocommerce .quantity .qty { width: 72px; text-align: center; }
.product_meta { font-size: 13px; color: var(--aa-muted); display: flex; flex-direction: column; gap: 4px; }
@media (min-width: 768px) {
	.woocommerce div.product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 40px; }
	.woocommerce div.product > *:not(div.images):not(div.summary) { grid-column: 1 / -1; }
}

.aa-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.aa-tag { font-size: 12px; background: var(--aa-tint); color: var(--aa-accent-dark); border-radius: 6px; padding: 4px 8px; }

.aa-coa-card { margin: 20px 0; padding: 16px; border: 1px solid var(--aa-line); border-radius: var(--aa-radius-lg); background: var(--aa-white); color: var(--aa-ink); display: flex; flex-direction: column; gap: 12px; }
.aa-coa-card__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.aa-coa-card__head strong { font-size: 16px; }
.aa-coa-card__head .aa-mono { font-size: 13px; font-weight: 500; color: var(--aa-accent-dark); background: var(--aa-tint); border-radius: 6px; padding: 4px 8px; }
.aa-coa-card__stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 12px; margin: 0; }
.aa-coa-card__stats dt { font-size: 12px; color: var(--aa-muted); }
.aa-coa-card__stats dd { margin: 0; font-size: 14px; overflow-wrap: anywhere; }
.aa-coa-card .aa-btn { min-height: 44px; }
.aa-coa-card [hidden] { display: none !important; }
.aa-coa-card__stats:not(:has(> div:not([hidden]))) { display: none; }
.aa-coa-card__empty, .aa-coa-card__note { margin: 0; font-size: 13px; line-height: 19px; color: var(--aa-muted); }
@media (min-width: 480px) { .aa-coa-card--batch .aa-coa-card__stats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.aa-product-extra { display: grid; gap: 20px; margin: 8px 0 28px; }
.aa-specs h2 { font-size: 20px; margin: 0 0 8px; }
.aa-specs dl { margin: 0; }
.aa-specs__row { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--aa-line); font-size: 14px; }
.aa-specs__row dt { color: var(--aa-muted); flex: none; }
.aa-specs__row dd { margin: 0; text-align: right; overflow-wrap: anywhere; }
.aa-specs__row dd.aa-mono { font-size: 13px; }
.aa-notice { display: flex; gap: 12px; padding: 14px 16px; border: 1px solid #F0D9A8; background: #FFF8EA; border-radius: 12px; color: #5C3D00; }
.aa-notice .aa-icon { flex: none; margin-top: 2px; color: #8A5A00; }
.aa-notice p { margin: 0; font-size: 13px; line-height: 19px; }

.woocommerce div.product .woocommerce-tabs ul.tabs { padding: 0; margin: 0 0 16px; display: flex; gap: 4px; overflow-x: auto; }
.woocommerce div.product .woocommerce-tabs ul.tabs::before { border-color: var(--aa-line); }
.woocommerce div.product .woocommerce-tabs ul.tabs li { border-radius: 8px 8px 0 0; background: var(--aa-tint-2); border-color: var(--aa-line); margin: 0; flex: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active { background: var(--aa-white); border-bottom-color: var(--aa-white); }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { padding: 12px 6px; color: var(--aa-ink); }
.woocommerce div.product .woocommerce-tabs .panel h2:first-of-type { font-size: 20px; }
.related.products > h2, .upsells.products > h2 { font-size: 20px; }

/* Cart & checkout (classic) */
.aa-ship-bar { margin: 0 0 16px; padding: 14px 16px; border: 1px solid var(--aa-line); border-radius: 12px; }
.aa-ship-bar p { margin: 0 0 8px; font-size: 14px; }
.aa-ship-bar__track { height: 8px; border-radius: 4px; background: var(--aa-line); overflow: hidden; }
.aa-ship-bar__track span { display: block; height: 100%; background: var(--aa-accent); }

.woocommerce table.shop_table { border-radius: 12px; border-color: var(--aa-line); }
.woocommerce table.shop_table td, .woocommerce table.shop_table th { border-color: var(--aa-line); }
.woocommerce-cart .cart-collaterals .cart_totals, .woocommerce-page .cart-collaterals .cart_totals { float: none; width: 100%; }
.woocommerce .wc-proceed-to-checkout a.checkout-button { font-size: 17px; min-height: 54px; }
@media (max-width: 767px) {
	.woocommerce table.shop_table_responsive tr td, .woocommerce-page table.shop_table_responsive tr td { text-align: right; }
	.woocommerce table.cart td.actions .coupon { display: flex; gap: 8px; }
	.woocommerce table.cart td.actions .coupon .input-text { flex: 1; width: auto; }
	.woocommerce table.cart td.actions .button { width: 100%; margin-top: 8px; }
}
@media (min-width: 1024px) {
	.woocommerce-cart .cart-collaterals .cart_totals { width: 420px; float: right; }
}
.aa-ruo-confirm { background: var(--aa-tint); border-radius: var(--aa-radius); padding: 12px 14px !important; margin-bottom: 12px !important; }
.aa-ruo-confirm label { display: flex !important; gap: 10px; align-items: flex-start; line-height: 1.45; font-size: 14px; }
.aa-ruo-confirm input { width: 20px; height: 20px; margin-top: 1px; flex: none; accent-color: var(--aa-accent); }

/* Checkout layout (classic): full width, no shop widgets; details on the left, order
   summary on the right from tablet up (sticky only when it fits the screen, see
   assets/js/checkout.js); stacked on phones. WooCommerce's markup is not changed. */
.woocommerce-checkout .widget-area, .woocommerce-checkout #secondary, .woocommerce-checkout aside.sidebar { display: none !important; }
.woocommerce-checkout #customer_details.col2-set { width: 100%; float: none; }
.woocommerce-checkout #customer_details .col-1,
.woocommerce-checkout #customer_details .col-2 { float: none; width: 100%; max-width: none; }
.woocommerce-checkout #order_review_heading { margin: 24px 0 10px; }
.woocommerce-checkout #order_review { border: 1px solid var(--aa-line); border-radius: 12px; padding: 12px; background: var(--aa-white); min-width: 0; max-width: 100%; }
.woocommerce form.checkout > * { min-width: 0; max-width: 100%; }
@media (min-width: 768px) {
	.woocommerce form.checkout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 360px); column-gap: 24px; align-items: start; }
	.woocommerce form.checkout::before, .woocommerce form.checkout::after { display: none; }
	.woocommerce form.checkout > * { grid-column: 2; }
	.woocommerce form.checkout > [class*="woocommerce-NoticeGroup"], .woocommerce form.checkout > .woocommerce-error,
	.woocommerce form.checkout > .woocommerce-message, .woocommerce form.checkout > .woocommerce-info { grid-column: 1 / -1; }
	.woocommerce form.checkout > #customer_details { grid-column: 1; grid-row: span 40; }
	.woocommerce-checkout #order_review_heading { margin-top: 0; }
	.aa-summary-sticky .woocommerce form.checkout > #order_review { position: sticky; top: 88px; }
	.admin-bar.aa-summary-sticky .woocommerce form.checkout > #order_review { top: 120px; }
}
@media (min-width: 1024px) {
	.woocommerce form.checkout { grid-template-columns: minmax(0, 1fr) minmax(0, 400px); column-gap: 40px; }
}
/* Review table: fixed columns so long item meta can never widen the table; names and
   meta wrap at spaces; prices never wrap. */
.woocommerce table.woocommerce-checkout-review-order-table { table-layout: fixed; width: 100%; margin: 0; }
.woocommerce table.woocommerce-checkout-review-order-table th,
.woocommerce table.woocommerce-checkout-review-order-table td { padding: 8px 6px; vertical-align: top; text-align: left; }
.woocommerce table.woocommerce-checkout-review-order-table .product-total,
.woocommerce table.woocommerce-checkout-review-order-table tfoot td { width: 104px; white-space: nowrap; text-align: right; }
.woocommerce table.woocommerce-checkout-review-order-table .product-name { word-break: normal; overflow-wrap: anywhere; line-height: 1.4; }
.woocommerce table.woocommerce-checkout-review-order-table tfoot td { white-space: normal; overflow-wrap: anywhere; }
.woocommerce table.woocommerce-checkout-review-order-table .product-quantity { white-space: nowrap; }
.woocommerce table.woocommerce-checkout-review-order-table dl.variation { display: block; margin: 4px 0 0; font-size: 13px; line-height: 1.45; color: var(--aa-muted); }
.woocommerce table.woocommerce-checkout-review-order-table dl.variation dt { display: inline; float: none; clear: none; margin: 0 4px 0 0; font-weight: 500; }
.woocommerce table.woocommerce-checkout-review-order-table dl.variation dd { display: inline; float: none; margin: 0; padding: 0; color: var(--aa-ink); }
.woocommerce table.woocommerce-checkout-review-order-table dl.variation dd::after { content: "\A"; white-space: pre; }
.woocommerce table.woocommerce-checkout-review-order-table dl.variation dd p { display: inline; margin: 0; }
.woocommerce table.woocommerce-checkout-review-order-table dl.variation dd.variation-Likelybatch { font-family: var(--aa-mono); }

/* Notices */
.woocommerce-message, .woocommerce-info, .woocommerce-error { border-top-color: var(--aa-accent); border-radius: 0 0 var(--aa-radius) var(--aa-radius); background: var(--aa-tint-2); }
.woocommerce-message::before, .woocommerce-info::before { color: var(--aa-accent); }

/* COA library table */
.aa-table-wrap { overflow-x: auto; border: 1px solid var(--aa-line); border-radius: 12px; }
.aa-coa-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.aa-coa-table th, .aa-coa-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--aa-line); white-space: nowrap; }
.aa-coa-table th { background: var(--aa-tint-2); font-weight: 600; }

@media (prefers-reduced-motion: reduce) { .aa-nav { transition: none; } }

/* Home hero with intro animation (inc/home-intro.php). Static unless <html> has .aa-intro. */
.aa-hero--intro { position: relative; overflow: hidden; background: radial-gradient(120% 90% at 85% 10%, #1B3D73 0%, var(--aa-ink) 60%); color: var(--aa-white); }
.aa-hero__bg {
	position: absolute; inset: 0; pointer-events: none; opacity: .55;
	background-image: linear-gradient(rgba(156, 192, 255, .09) 1px, transparent 1px), linear-gradient(90deg, rgba(156, 192, 255, .09) 1px, transparent 1px);
	background-size: 28px 28px;
	-webkit-mask-image: radial-gradient(90% 80% at 70% 40%, #000 30%, transparent 85%); mask-image: radial-gradient(90% 80% at 70% 40%, #000 30%, transparent 85%);
}
.aa-hero--intro .aa-hero__inner { position: relative; }
.aa-hero--intro .aa-pill { background: rgba(255, 255, 255, .08); border-color: rgba(156, 192, 255, .35); color: #BFD5FF; }
.aa-hero--intro .aa-hero__title { color: var(--aa-white); }
.aa-hero--intro .aa-hero__text { color: #C3D1E6; }
.aa-hero__ruo { margin: 0; font-size: 12px; color: #8FA5C6; }
.aa-btn--outline-light { background: transparent; color: var(--aa-white); border-color: rgba(255, 255, 255, .45); }
.aa-btn--outline-light:hover { background: rgba(255, 255, 255, .1); color: var(--aa-white); border-color: var(--aa-white); }
.aa-fly--word { display: inline-block; }

.aa-hero--intro .aa-hero__art { position: relative; display: block; height: 270px; }
.aa-chain { position: absolute; top: 0; left: 6%; width: 88%; height: auto; overflow: visible; }
.aa-chain__bond { stroke: #5E8EE6; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.aa-chain__bead { fill: var(--aa-ink); stroke: #9CC0FF; stroke-width: 3; transform-box: fill-box; transform-origin: center; }
.aa-chain__bead:nth-of-type(4) { fill: var(--aa-accent); stroke: #CFE0FF; }
.aa-hero__vials { position: absolute; left: 0; right: 0; bottom: 34px; display: flex; align-items: flex-end; justify-content: center; gap: 18px; }
.aa-hero--intro .aa-vial { filter: drop-shadow(0 14px 18px rgba(0, 0, 0, .35)); }
.aa-hero__scan { position: absolute; left: 0; right: 0; bottom: 0; height: 40px; border-top: 1px solid rgba(156, 192, 255, .25); }
.aa-hero__scan svg { position: absolute; inset: 4px 0 0; width: 100%; height: 34px; }
.aa-scan__line { fill: none; stroke: #9CC0FF; stroke-width: 2; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 0; }
.aa-hero__chip {
	position: absolute; right: 0; top: 10px; font-size: 11px; color: #DCE6F5; background: #132B4D;
	border: 1px solid #39537A; border-radius: 999px; padding: 3px 10px; white-space: nowrap;
}
@media (min-width: 768px) {
	.aa-hero--intro .aa-hero__inner { padding-top: 72px; padding-bottom: 72px; }
	.aa-hero--intro .aa-hero__art { flex: 0 0 44%; height: 390px; }
	.aa-chain { left: 10%; width: 80%; }
	.aa-hero__vials { bottom: 56px; gap: 24px; }
	.aa-hero__scan { height: 56px; }
	.aa-hero__scan svg { height: 46px; }
}

/* The intro: about two seconds, transforms and opacity only. */
@keyframes aa-fly-in { from { opacity: 0; transform: translate3d(0, 28px, 0); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes aa-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes aa-grid-in { from { opacity: 0; transform: scale(1.15); } to { opacity: .55; transform: none; } }
@keyframes aa-vial-0 { from { opacity: 0; transform: translate3d(-160%, 70%, 0) rotate(-40deg) scale(.6); } 70% { opacity: 1; } to { opacity: 1; transform: none; } }
@keyframes aa-vial-1 { from { opacity: 0; transform: translate3d(0, -140%, 0) rotate(25deg) scale(.7); } 70% { opacity: 1; } to { opacity: 1; transform: none; } }
@keyframes aa-vial-2 { from { opacity: 0; transform: translate3d(160%, 70%, 0) rotate(40deg) scale(.6); } 70% { opacity: 1; } to { opacity: 1; transform: none; } }
@keyframes aa-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes aa-pop { from { opacity: 0; transform: scale(0); } 70% { transform: scale(1.25); } to { opacity: 1; transform: none; } }
@keyframes aa-float { 50% { transform: translate3d(0, -6px, 0); } }

.aa-intro .aa-hero__bg { animation: aa-grid-in 1.4s ease-out both; }
.aa-intro .aa-fly { animation: aa-fly-in .7s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--d, 0) * 90ms + 120ms); }
.aa-intro .aa-vial--0 { animation: aa-vial-0 1s cubic-bezier(.16, 1.15, .3, 1) .25s both; }
.aa-intro .aa-vial--1 { animation: aa-vial-1 1s cubic-bezier(.16, 1.15, .3, 1) .4s both; }
.aa-intro .aa-vial--2 { animation: aa-vial-2 1s cubic-bezier(.16, 1.15, .3, 1) .55s both; }
.aa-intro .aa-chain__bond { animation: aa-draw .9s ease-in-out .8s both; }
.aa-intro .aa-chain__bead { animation: aa-pop .45s cubic-bezier(.2, .9, .3, 1.3) both; animation-delay: calc(var(--b) * 90ms + 800ms); }
.aa-intro .aa-hero__scan { animation: aa-fade-in .4s ease-out 1.1s both; }
.aa-intro .aa-scan__line { animation: aa-draw 1s ease-in-out 1.2s both; }
.aa-intro .aa-hero__chip { animation: aa-fly-in .5s ease-out 1.9s both; }

@media (prefers-reduced-motion: no-preference) {
	.aa-hero__vials { animation: aa-float 6s ease-in-out 2.2s infinite; }
	.aa-reveal { opacity: 0; transform: translate3d(0, 24px, 0); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .8, .2, 1); }
	.aa-reveal.is-in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
	.aa-intro * { animation: none !important; }
}

/* Home hero with a lab photo / video (Customize › Amino Annex). Phones: photo band on top, text below. */
.aa-hero--media { background: var(--aa-ink); }
.aa-hero__media { position: relative; overflow: hidden; aspect-ratio: 16 / 10; }
.aa-hero__media::after { content: ""; position: absolute; inset: auto 0 0; height: 35%; background: linear-gradient(180deg, rgba(11, 31, 58, 0), var(--aa-ink)); }
.aa-hero__poster, .aa-hero__video { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 66% 50%; }
.aa-hero__video { opacity: 0; transition: opacity .6s ease; }
.aa-hero__video.is-playing { opacity: 1; }
.aa-hero__shade { display: none; }
.aa-hero--media .aa-hero__inner { padding-top: 4px; }
.aa-hero--media .aa-hero__text { color: #DCE6F5; }
.aa-hero--media .aa-hero__ruo { color: #AFC1DC; }
@media (min-width: 768px) {
	.aa-hero--media { display: flex; align-items: center; min-height: min(78vh, 720px); }
	.aa-hero__media { position: absolute; inset: 0; aspect-ratio: auto; }
	.aa-hero__media::after { display: none; }
	.aa-hero__shade { display: block; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 31, 58, .92) 0%, rgba(11, 31, 58, .72) 34%, rgba(11, 31, 58, 0) 62%); }
	.aa-hero--media .aa-hero__inner { padding-top: 96px; padding-bottom: 96px; }
	.aa-hero--media .aa-hero__copy { flex: 0 1 520px; }
	.aa-hero__poster, .aa-hero__video { object-position: 75% 50%; }
}
@keyframes aa-push-in { from { transform: scale(1.18); filter: blur(8px) brightness(.6); } to { transform: none; filter: none; } }
@keyframes aa-drift { from { transform: none; } to { transform: scale(1.06) translate3d(-1.5%, 0, 0); } }
/* A photo on its own gets the CSS push-in; a video does its own camera move and starts on the photo's exact frame. */
.aa-intro .aa-hero__media:not(:has(video)) { animation: aa-push-in 2.2s cubic-bezier(.2, .7, .2, 1) both; }
@media (prefers-reduced-motion: no-preference) {
	.aa-hero__media:not(:has(video)) .aa-hero__poster { animation: aa-drift 24s ease-in-out 2.2s infinite alternate; }
}

/* Batch search result (search page) */
.aa-batch-hit { margin: 0 0 24px; padding: 16px; border: 1px solid var(--aa-accent); border-radius: var(--aa-radius-lg); background: var(--aa-tint); display: flex; flex-direction: column; gap: 10px; }
.aa-batch-hit__head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.aa-batch-hit__head .aa-mono { font-size: 13px; color: var(--aa-accent-dark); background: var(--aa-white); border-radius: 6px; padding: 4px 8px; }
.aa-batch-hit__facts { margin: 0; font-size: 13px; color: var(--aa-muted); }
.aa-batch-hit__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.aa-batch-hit__actions .aa-btn { min-height: 44px; }

/* ---------- Shop page: filter sidebar, toolbar, grid / list / compact views (inc/shop.php) ---------- */
.aa-shop--listing { padding-top: 12px; }
.aa-shop-layout { display: block; }
.aa-shop-main { min-width: 0; }

/* Page header band */
.aa-shop-main .woocommerce-products-header {
	position: relative; overflow: hidden; margin: 0 0 16px; padding: 20px 18px 16px;
	border-radius: var(--aa-radius-lg); border: 1px solid #D6E3F7;
	background:
		radial-gradient(120% 140% at 100% 0%, rgba(26, 86, 201, .14) 0%, rgba(26, 86, 201, 0) 55%),
		linear-gradient(180deg, var(--aa-tint) 0%, var(--aa-white) 100%);
}
.aa-shop-main .woocommerce-products-header::after {
	content: ""; position: absolute; right: -30px; top: -30px; width: 160px; height: 160px; pointer-events: none; opacity: .5;
	background-image: radial-gradient(var(--aa-accent) 1.2px, transparent 1.4px); background-size: 14px 14px;
	-webkit-mask-image: radial-gradient(circle at 70% 30%, #000 0%, transparent 70%); mask-image: radial-gradient(circle at 70% 30%, #000 0%, transparent 70%);
}
.aa-shop-main .woocommerce-products-header__title.page-title { font-size: 26px; margin: 0 0 4px; position: relative; }
.aa-shop-main .term-description, .aa-shop-main .page-description { color: var(--aa-ink-2); font-size: 15px; max-width: 70ch; position: relative; }
.aa-shop-main .term-description p { margin: 0 0 8px; }

.aa-cat-chips {
	position: relative; display: flex; gap: 8px; margin: 12px -18px 0; padding: 2px 18px 4px;
	overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.aa-cat-chips::-webkit-scrollbar { display: none; }
.aa-cat-chip {
	flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 14px;
	border: 1px solid var(--aa-line-2); border-radius: 999px; background: var(--aa-white);
	color: var(--aa-ink); font-size: 14px; font-weight: 500; text-decoration: none; white-space: nowrap;
}
.aa-cat-chip .aa-mono { font-size: 11px; color: var(--aa-muted); }
.aa-cat-chip:hover { border-color: var(--aa-accent); color: var(--aa-accent); }
.aa-cat-chip.is-active { background: var(--aa-ink); border-color: var(--aa-ink); color: var(--aa-white); }
.aa-cat-chip.is-active .aa-mono { color: #B9C8E0; }

/* Toolbar: Filters (phones) · count · view switch · sort */
.aa-shop-toolbar {
	display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: 0 0 16px; padding: 0 0 12px;
	border-bottom: 1px solid var(--aa-line);
}
.aa-filters-toggle { gap: 6px; }
.aa-filters-toggle__count {
	min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--aa-accent); color: var(--aa-white);
	font-size: 12px; display: inline-flex; align-items: center; justify-content: center;
}
.aa-shop-toolbar__count { flex: 1 1 40%; min-width: 0; order: 5; }
.aa-shop-toolbar__sort { order: 6; }
.aa-view-switch { margin-left: auto; }
.woocommerce .aa-shop-toolbar .woocommerce-result-count { float: none; margin: 0; font-size: 13px; }
.woocommerce .aa-shop-toolbar .woocommerce-ordering { float: none; margin: 0; }
.woocommerce .aa-shop-toolbar .woocommerce-ordering select { min-height: 40px; font-size: 14px; padding: 6px 30px 6px 10px; max-width: 170px; }
.aa-view-switch { display: inline-flex; padding: 3px; gap: 2px; border: 1px solid var(--aa-line-2); border-radius: var(--aa-radius); background: var(--aa-tint-2); }
.aa-view-switch__btn {
	width: 36px; height: 34px; display: inline-flex; align-items: center; justify-content: center;
	border: 0; border-radius: 7px; background: transparent; color: var(--aa-muted); cursor: pointer;
}
.aa-view-switch__btn:hover { color: var(--aa-ink); }
.aa-view-switch__btn[aria-pressed="true"] { background: var(--aa-white); color: var(--aa-accent); box-shadow: 0 1px 2px rgba(11, 31, 58, .12), 0 0 0 1px var(--aa-line); }
@media (min-width: 600px) {
	.aa-shop-toolbar__count { order: 0; flex-basis: auto; }
	.aa-shop-toolbar__sort { order: 0; }
	.aa-view-switch { margin-left: 0; }
}

/* Filter panel: a drawer from the left on phones and tablets, a sticky column from 1024px. */
.aa-shop-filters {
	position: fixed; inset: 0 auto 0 0; z-index: 70; width: min(88vw, 360px); background: var(--aa-white);
	display: flex; flex-direction: column; transform: translateX(-100%); visibility: hidden; transition: transform .22s ease, visibility .22s;
	box-shadow: 0 10px 40px rgba(11, 31, 58, .25);
}
.aa-shop-filters.is-open { transform: none; visibility: visible; }
.aa-shop-filters-backdrop { position: fixed; inset: 0; z-index: 60; background: rgba(11, 31, 58, .45); }
.aa-shop-filters__head { display: flex; align-items: center; gap: 8px; padding: 8px 8px 8px 20px; border-bottom: 1px solid var(--aa-line); }
.aa-shop-filters__title { font-weight: 700; font-size: 17px; flex: 1; }
.aa-shop-filters__clear { font-size: 14px; font-weight: 500; }
.aa-shop-filters__body { flex: 1; overflow-y: auto; padding: 4px 20px 20px; overscroll-behavior: contain; }
.aa-shop-filters__foot { padding: 12px 20px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--aa-line); }
.aa-shop-filters__foot .aa-btn { width: 100%; }
@media (prefers-reduced-motion: reduce) { .aa-shop-filters { transition: none; } }

@media (min-width: 1024px) {
	.aa-shop-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 32px; align-items: start; }
	.aa-shop-filters {
		position: static; z-index: auto; width: auto; transform: none; visibility: visible;
		box-shadow: none; background: transparent;
	}
	.aa-shop-filters__head { padding: 4px 0 10px; }
	.aa-shop-filters__title { font-size: 15px; text-transform: uppercase; letter-spacing: .06em; color: var(--aa-muted); font-weight: 600; }
	.aa-shop-filters__body { padding: 0 4px 8px 0; }
	.aa-filters-close, .aa-shop-filters__foot, .aa-shop-filters-backdrop, .aa-filters-toggle { display: none !important; }
	.aa-cat-chips { display: none; }
	.aa-shop-main .woocommerce-products-header { padding: 26px 28px 22px; }
	.aa-shop-main .woocommerce-products-header__title.page-title { font-size: 32px; }
}

/* Widgets */
.aa-widget { padding: 18px 0; border-bottom: 1px solid var(--aa-line); }
.aa-widget:last-child { border-bottom: 0; }
.aa-widget__title { margin: 0 0 12px; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--aa-ink); }
.aa-widget ul { list-style: none; margin: 0; padding: 0; }
.aa-widget .aa-search-form { background: var(--aa-white); gap: 8px; }
.aa-widget .aa-search-form .aa-btn { min-height: 38px; padding: 0 12px; font-size: 13px; }
.aa-widget .woocommerce-product-search { display: flex; gap: 6px; }
.aa-widget .woocommerce-product-search .search-field {
	flex: 1; min-width: 0; min-height: 44px; padding: 8px 12px; border: 1px solid var(--aa-line-2); border-radius: var(--aa-radius);
	font: inherit; font-size: 16px; color: var(--aa-ink); background: var(--aa-white);
}
.aa-widget .woocommerce-product-search button { min-height: 44px; }
@media (min-width: 1024px) {
	.aa-widget .aa-search-form { padding-left: 12px; gap: 6px; }
	.aa-widget .aa-search-form__input { font-size: 14px; }
}

/* Category list (WooCommerce Product Categories widget) */
.aa-widget .product-categories li { margin: 0; position: relative; }
.aa-widget .product-categories a {
	display: block; padding: 8px 48px 8px 10px; margin: 0 -10px;
	border-radius: 8px; color: var(--aa-ink); text-decoration: none; font-size: 15px;
}
.aa-widget .product-categories .count {
	position: absolute; right: 0; top: 9px; pointer-events: none;
	font-family: var(--aa-mono); font-size: 11px; color: var(--aa-muted); background: var(--aa-tint-2);
	border: 1px solid var(--aa-line); border-radius: 999px; padding: 1px 7px; min-width: 28px; text-align: center;
}
.aa-widget .product-categories a:hover { background: var(--aa-tint); color: var(--aa-accent); }
.aa-widget .product-categories .current-cat > a { background: var(--aa-tint); color: var(--aa-accent); font-weight: 600; box-shadow: inset 3px 0 0 var(--aa-accent); }
.aa-widget .product-categories .current-cat > .count { background: var(--aa-accent); border-color: var(--aa-accent); color: var(--aa-white); }
.aa-widget .product-categories .children { padding-left: 12px; border-left: 1px solid var(--aa-line); margin: 2px 0 4px 4px; }
.aa-widget .product-categories .children a { font-size: 14px; color: var(--aa-ink-2); }

/* Price filter (WooCommerce Filter Products by Price widget) */
.woocommerce .aa-widget.widget_price_filter .price_slider_wrapper { padding: 6px 4px 0; }
.woocommerce .aa-widget.widget_price_filter .price_slider { margin-bottom: 0; }
.woocommerce .aa-widget.widget_price_filter .price_slider_wrapper .ui-widget-content { background: var(--aa-line-2); height: 6px; border-radius: 3px; }
.woocommerce .aa-widget.widget_price_filter .ui-slider .ui-slider-range { background: var(--aa-accent); border-radius: 3px; }
.woocommerce .aa-widget.widget_price_filter .ui-slider .ui-slider-handle {
	background: var(--aa-white); border: 2px solid var(--aa-accent); width: 20px; height: 20px; top: -7px; border-radius: 50%;
	box-shadow: 0 1px 3px rgba(11, 31, 58, .25); margin-left: -10px;
}
.woocommerce .aa-widget.widget_price_filter .ui-slider .ui-slider-handle:last-child { margin-left: -10px; }
.woocommerce .aa-widget.widget_price_filter .price_slider_amount {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px;
	margin-top: 18px; font-size: 14px; line-height: 1.4; text-align: left;
}
.woocommerce .aa-widget.widget_price_filter .price_slider_amount .price_label { order: -1; color: var(--aa-ink-2); font-family: var(--aa-mono); font-size: 13px; }
.woocommerce .aa-widget.widget_price_filter .price_slider_amount .button {
	float: none; min-height: 36px; padding: 0 14px; font-size: 13px; background: var(--aa-white); color: var(--aa-accent);
}
.woocommerce .aa-widget.widget_price_filter .price_slider_amount .button:hover { background: var(--aa-accent); color: var(--aa-white); }
.woocommerce .aa-widget.widget_price_filter .price_slider_amount .clear { display: none; }

/* Availability toggles */
.aa-toggle-list li + li { margin-top: 4px; }
.aa-toggle { display: flex; align-items: center; gap: 10px; padding: 6px 0; color: var(--aa-ink); text-decoration: none; font-size: 15px; }
.aa-toggle__box {
	width: 20px; height: 20px; flex: none; border: 1.5px solid var(--aa-line-2); border-radius: 5px; background: var(--aa-white);
	display: inline-flex; align-items: center; justify-content: center;
}
.aa-toggle:hover { color: var(--aa-accent); }
.aa-toggle:hover .aa-toggle__box { border-color: var(--aa-accent); }
.aa-toggle.is-on .aa-toggle__box { background: var(--aa-accent); border-color: var(--aa-accent); }
.aa-toggle.is-on .aa-toggle__box::after { content: ""; width: 10px; height: 5px; border: 2px solid var(--aa-white); border-top: 0; border-right: 0; transform: translateY(-1px) rotate(-45deg); }

.aa-widget--help { display: flex; gap: 10px; align-items: flex-start; margin-top: 8px; padding: 14px; border: 1px dashed #C9DAF6; border-radius: 12px; background: var(--aa-tint-2); font-size: 13px; color: var(--aa-ink-2); }
.aa-widget--help .aa-icon { color: var(--aa-accent); flex: none; margin-top: 2px; }
.aa-widget--help p { margin: 0; }
.aa-widget--help strong { color: var(--aa-ink); }

/* Product cards: shared by all three views */
.aa-shop-main ul.products li.product { transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; background: var(--aa-white); }
.woocommerce .aa-shop-main ul.products li.product .button { display: inline-flex; align-items: center; justify-content: center; text-align: center; }
.woocommerce .aa-shop-main ul.products li.product .onsale { top: 10px; right: 10px; left: auto; margin: 0; z-index: 1; }
.aa-shop-main ul.products li.product a img { transition: transform .35s ease; }
.aa-card-extra { display: none; }
.aa-card-stock { display: inline-flex; align-items: center; gap: 5px; padding: 0 12px; margin-top: 6px; font-size: 12px; color: var(--aa-ok); font-weight: 500; }
.aa-card-stock::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px rgba(28, 107, 62, .14); }
.aa-card-stock.is-out { color: #A23B2A; }
.aa-card-stock.is-out::before { box-shadow: 0 0 0 3px rgba(162, 59, 42, .14); }
.aa-shop-main ul.products li.product .price del { color: var(--aa-muted); font-weight: 400; font-size: .85em; margin-right: 4px; }
.aa-shop-main ul.products li.product .price ins { text-decoration: none; }
@media (prefers-reduced-motion: reduce) {
	.aa-shop-main ul.products li.product, .aa-shop-main ul.products li.product a img { transition: none; }
}

/* Grid view */
.aa-shop-main[data-view="grid"] ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.aa-shop-main[data-view="grid"] ul.products li.product { padding-bottom: 12px; border-radius: var(--aa-radius-lg); }
.aa-shop-main[data-view="grid"] ul.products li.product a img {
	margin: 0 0 12px; border-radius: 0;
	background: radial-gradient(90% 80% at 50% 35%, #FFFFFF 0%, #EAF1FC 70%, #DDE8F8 100%);
}
.aa-shop-main[data-view="grid"] ul.products li.product .woocommerce-loop-product__title {
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 15px; line-height: 1.3;
}
.aa-shop-main[data-view="grid"] ul.products li.product .price { font-size: 15px; font-weight: 700; margin: 8px 0 12px; }
.aa-shop-main[data-view="grid"] ul.products li.product .aa-card-stock { margin: auto 0 0; padding-top: 8px; }
.aa-shop-main[data-view="grid"] ul.products li.product .price { margin-bottom: 6px; }
@media (hover: hover) {
	.aa-shop-main[data-view="grid"] ul.products li.product:hover { border-color: #BFD3F3; box-shadow: 0 12px 28px -12px rgba(11, 31, 58, .28); transform: translateY(-3px); }
	.aa-shop-main[data-view="grid"] ul.products li.product:hover a img { transform: scale(1.04); }
	.aa-shop-main[data-view="grid"] ul.products li.product:hover .button { background: var(--aa-accent); color: var(--aa-white); }
}
@media (min-width: 600px) {
	.aa-shop-main[data-view="grid"] ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
	.aa-shop-main[data-view="grid"] ul.products li.product .price { font-size: 17px; }
}
@media (min-width: 1024px) {
	.aa-shop-main[data-view="grid"] ul.products { gap: 20px; }
	.aa-shop-main[data-view="grid"] ul.products li.product .woocommerce-loop-product__title { font-size: 16px; padding: 0 14px; }
	.aa-shop-main[data-view="grid"] ul.products li.product .price,
	.aa-shop-main[data-view="grid"] ul.products li.product .aa-card-meta,
	.aa-shop-main[data-view="grid"] ul.products li.product .aa-card-stock { padding: 0 14px; }
	.aa-shop-main[data-view="grid"] ul.products li.product .button { margin: auto 14px 0; }
}

/* List view: image left, description and specs, price and button. */
.aa-shop-main[data-view="list"] ul.products { grid-template-columns: minmax(0, 1fr); gap: 12px; }
.aa-shop-main[data-view="list"] ul.products li.product {
	display: grid; grid-template-columns: minmax(0, 1fr); padding: 12px; border-radius: var(--aa-radius-lg); gap: 10px;
}
.aa-shop-main[data-view="list"] ul.products li.product a.woocommerce-LoopProduct-link {
	display: grid; grid-template-columns: 104px minmax(0, 1fr); column-gap: 14px; align-content: start;
}
.aa-shop-main[data-view="list"] ul.products li.product a.woocommerce-LoopProduct-link > :not(img, .aa-badge, .onsale) { grid-column: 2; padding: 0; }
.aa-shop-main[data-view="list"] ul.products li.product a img {
	grid-column: 1; grid-row: 1 / span 8; margin: 0; width: 104px; border-radius: 10px; align-self: start;
	background: radial-gradient(90% 80% at 50% 35%, #FFFFFF 0%, #EAF1FC 70%, #DDE8F8 100%);
}
.aa-shop-main[data-view="list"] ul.products li.product .aa-badge { top: 18px; left: 18px; font-size: 10px; }
.woocommerce .aa-shop-main[data-view="list"] ul.products li.product .onsale { top: 44px; right: auto; left: 18px; font-size: 10px; padding: 4px 6px; }
.aa-shop-main[data-view="list"] ul.products li.product .woocommerce-loop-product__title { font-size: 16px; margin: 0 0 2px; }
.aa-shop-main[data-view="list"] .aa-card-extra { display: block; }
.aa-card-extra__text { margin: 6px 0 0; font-size: 14px; line-height: 1.45; color: var(--aa-ink-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.aa-card-extra__specs { display: flex; flex-wrap: wrap; gap: 4px; margin: 8px 0 0 !important; }
.aa-card-extra__specs li { font-size: 11px; color: var(--aa-ink-2); background: var(--aa-tint-2); border: 1px solid var(--aa-line); border-radius: 6px; padding: 2px 6px; }
.aa-shop-main[data-view="list"] ul.products li.product .aa-card-stock { margin-top: 8px; }
.aa-shop-main[data-view="list"] ul.products li.product .price { font-size: 18px; font-weight: 700; margin: 6px 0 0; }
.aa-shop-main[data-view="list"] ul.products li.product .button { margin: 0; width: 100%; }
@media (max-width: 599px) {
	.aa-shop-main[data-view="list"] .aa-card-extra__text { -webkit-line-clamp: 2; font-size: 13px; }
}
@media (min-width: 600px) {
	.aa-shop-main[data-view="list"] ul.products li.product { grid-template-columns: minmax(0, 1fr) auto; align-items: center; padding: 14px 18px 14px 14px; column-gap: 20px; }
	.aa-shop-main[data-view="list"] ul.products li.product a.woocommerce-LoopProduct-link { grid-template-columns: 140px minmax(0, 1fr); column-gap: 20px; }
	.aa-shop-main[data-view="list"] ul.products li.product a img { width: 140px; }
	.aa-shop-main[data-view="list"] ul.products li.product .button { width: auto; min-width: 150px; }
	.aa-shop-main[data-view="list"] ul.products li.product .added_to_cart { grid-column: 2; padding: 0; }
}
@media (hover: hover) {
	.aa-shop-main[data-view="list"] ul.products li.product:hover { border-color: #BFD3F3; box-shadow: 0 10px 24px -14px rgba(11, 31, 58, .3); }
	.aa-shop-main[data-view="list"] ul.products li.product:hover .woocommerce-loop-product__title { color: var(--aa-accent); }
}

/* Compact view: one line per product, like a price list. */
.aa-shop-main[data-view="compact"] ul.products {
	grid-template-columns: minmax(0, 1fr); gap: 0; border: 1px solid var(--aa-line); border-radius: var(--aa-radius-lg); overflow: hidden;
}
.aa-shop-main[data-view="compact"] ul.products li.product {
	display: flex; flex-direction: row; align-items: center; gap: 10px; padding: 8px 12px 8px 8px;
	border: 0; border-radius: 0; border-bottom: 1px solid var(--aa-line);
}
.aa-shop-main[data-view="compact"] ul.products li.product:last-child { border-bottom: 0; }
.aa-shop-main[data-view="compact"] ul.products li.product:nth-child(even) { background: #FAFCFE; }
.aa-shop-main[data-view="compact"] ul.products li.product a.woocommerce-LoopProduct-link {
	flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 12px; row-gap: 0; min-width: 0;
}
.aa-shop-main[data-view="compact"] ul.products li.product a img { width: 48px; height: 48px; flex: none; margin: 0; border-radius: 8px; background: var(--aa-tint); }
.aa-shop-main[data-view="compact"] ul.products li.product .aa-badge,
.aa-shop-main[data-view="compact"] ul.products li.product .onsale,
.aa-shop-main[data-view="compact"] ul.products li.product .aa-card-stock:not(.is-out) { display: none; }
.aa-shop-main[data-view="compact"] ul.products li.product .woocommerce-loop-product__title {
	padding: 0; margin: 0; font-size: 15px; flex: 1 1 140px; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.aa-shop-main[data-view="compact"] ul.products li.product .aa-card-meta { padding: 0; order: 3; flex-basis: calc(100% - 60px); margin-left: 60px; margin-top: -4px; }
.aa-shop-main[data-view="compact"] ul.products li.product .aa-card-stock { padding: 0; order: 4; margin: 0 0 0 60px; }
.aa-shop-main[data-view="compact"] ul.products li.product .price { padding: 0; margin: 0 0 0 auto; font-family: var(--aa-mono); font-size: 14px; font-weight: 500; white-space: nowrap; order: 2; }
.aa-shop-main[data-view="compact"] ul.products li.product .button { margin: 0; min-height: 36px; padding: 0 12px; font-size: 13px; flex: none; }
.aa-shop-main[data-view="compact"] ul.products li.product .added_to_cart { display: none; }
@media (max-width: 599px) {
	.aa-shop-main[data-view="compact"] ul.products li.product .button { width: 36px; padding: 0; font-size: 0; }
	.aa-shop-main[data-view="compact"] ul.products li.product .button::before { content: "+"; font-size: 20px; font-weight: 500; }
	.aa-shop-main[data-view="compact"] ul.products li.product .button.product_type_variable::before { content: "›"; font-size: 22px; }
	.aa-shop-main[data-view="compact"] ul.products li.product .price { order: 3; margin: 0 0 0 auto; font-size: 13px; }
	.aa-shop-main[data-view="compact"] ul.products li.product .woocommerce-loop-product__title { flex-basis: calc(100% - 60px); }
	.aa-shop-main[data-view="compact"] ul.products li.product .aa-card-meta { flex-basis: auto; flex: 1; min-width: 0; margin-top: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
}
@media (min-width: 600px) {
	.aa-shop-main[data-view="compact"] ul.products li.product { padding: 8px 16px 8px 10px; }
	.aa-shop-main[data-view="compact"] ul.products li.product a.woocommerce-LoopProduct-link { flex-wrap: nowrap; flex: 1; }
	.aa-shop-main[data-view="compact"] ul.products li.product .aa-card-meta { order: 0; flex: 0 1 220px; margin: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
	.aa-shop-main[data-view="compact"] ul.products li.product .aa-card-stock { order: 0; margin: 0; }
	.aa-shop-main[data-view="compact"] ul.products li.product .price { order: 0; min-width: 120px; text-align: right; }
}
@media (hover: hover) {
	.aa-shop-main[data-view="compact"] ul.products li.product:hover { background: var(--aa-tint); }
}

/* Pagination */
.woocommerce nav.woocommerce-pagination ul { display: inline-flex; flex-wrap: wrap; gap: 6px; border: 0; margin: 8px 0 0; }
.woocommerce nav.woocommerce-pagination ul li { border: 0; overflow: visible; }
.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span {
	min-width: 40px; height: 40px; padding: 0 10px; display: inline-flex; align-items: center; justify-content: center;
	border: 1px solid var(--aa-line-2); border-radius: var(--aa-radius); color: var(--aa-ink); font-weight: 500;
}
.woocommerce nav.woocommerce-pagination ul li a:hover { background: var(--aa-tint); color: var(--aa-accent); }
.woocommerce nav.woocommerce-pagination ul li span.current { background: var(--aa-ink); border-color: var(--aa-ink); color: var(--aa-white); }
