/* ==========================================================================
   A&S Home Tex — main stylesheet (every page)
   Tokens, base, layout, shared components, header, footer, bag drawer,
   product cards, quick add and anything used by more than one page group.
   The page files (home, shop, checkout, orders, content) load after this one.
   Breakpoints: sm 640px · md 768px · lg 1024px (mobile first)
   ========================================================================== */

/* 1. Tokens
   ========================================================================== */

:root {
	--ans-brand: #517970;
	--ans-brand-dark: #3f5b55;
	--ans-brand-light: #6e8f88;
	--ans-brand-tint: #e9f0ee;

	--ans-bg: #faf8f5;
	--ans-sand: #f3efea;
	--ans-linen: #efebe4;
	--ans-oat: #eae5dc;
	--ans-pill: #eae3d8;
	--ans-border: #e7e2d9;
	--ans-border-2: #e2ddd3;
	--ans-border-3: #e1dcd3;
	--ans-border-coupon: #d7d0c3;
	--ans-input-border: #d6d3cd;

	--ans-text: #1c1917;
	--ans-text-2: #292524;
	--ans-text-3: #44403c;
	--ans-text-4: #57534e;
	--ans-muted: #78716c;

	--stone-100: #f5f5f4;
	--stone-200: #e7e5e4;
	--stone-300: #d6d3d1;
	--stone-400: #a8a29e;
	--stone-500: #78716c;
	--stone-600: #57534e;
	--stone-700: #44403c;
	--stone-800: #292524;
	--stone-900: #1c1917;

	--emerald-50: #ecfdf5;
	--emerald-100: #d1fae5;
	--emerald-200: #a7f3d0;
	--emerald-600: #059669;
	--emerald-700: #047857;
	--emerald-800: #065f46;
	--emerald-900: #064e3b;
	--forest: #2b5338;
	--amber-600: #d97706;
	--amber-700: #b45309;
	--amber-800: #92400e;
	--red-50: #fef2f2;
	--red-200: #fecaca;
	--red-700: #b91c1c;
	--red-800: #991b1b;
	--slate-blue: #4a6274;

	--ans-font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--ans-font-serif: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
	--ans-font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;

	--ans-header-h: 80px;
	--ans-ease: cubic-bezier(.4, 0, .2, 1);
	--ans-shadow-sm: 0 1px 2px 0 rgb(0 0 0 / .05);
	--ans-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);
	--ans-shadow-md: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);
	--ans-shadow-lg: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);
	--ans-shadow-xl: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);
	--ans-shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / .25);
}

/* 2. Base
   ========================================================================== */

*,
*::before,
*::after {
	box-sizing: border-box;
	border: 0 solid var(--ans-border);
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--ans-header-h) + 48px);
}

body {
	margin: 0;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	background-color: var(--ans-bg);
	color: var(--ans-text);
	font-family: var(--ans-font-sans);
	font-size: 1rem;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6, p, ul, ol, dl, dd, figure, blockquote {
	margin: 0;
}

h1, h2, h3, h4, h5, h6 {
	font-size: inherit;
	font-weight: inherit;
}

ul, ol {
	padding: 0;
	list-style: none;
}

img, svg, video {
	display: block;
	max-width: 100%;
}

img {
	height: auto;
}

a {
	color: inherit;
	text-decoration: inherit;
}

button, input, select, textarea {
	font: inherit;
	color: inherit;
	letter-spacing: inherit;
	margin: 0;
}

button {
	background: transparent;
	cursor: pointer;
	padding: 0;
}

button:disabled {
	cursor: not-allowed;
}

table {
	border-collapse: collapse;
	width: 100%;
}

[hidden] {
	display: none !important;
}

::selection {
	background: var(--ans-brand-tint);
	color: var(--ans-brand-dark);
}

::-webkit-scrollbar {
	width: 6px;
	height: 6px;
}

::-webkit-scrollbar-track {
	background: #faf8f5;
}

::-webkit-scrollbar-thumb {
	background: #c7d3cf;
	border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
	background: var(--ans-brand);
}

:focus-visible {
	outline: 2px solid var(--ans-brand);
	outline-offset: 2px;
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.ans-skip-link:focus {
	clip: auto;
	clip-path: none;
	height: auto;
	width: auto;
	z-index: 100;
	top: 8px;
	left: 8px;
	padding: 12px 16px;
	background: var(--ans-text);
	color: #fff;
	font-size: .875rem;
}

.ans-icon {
	width: 1em;
	height: 1em;
	flex-shrink: 0;
}

.ans-main {
	flex: 1 0 auto;
}

@keyframes ansFadeIn {
	from { opacity: 0; transform: translateY(4px); }
	to { opacity: 1; transform: translateY(0); }
}

@keyframes ansPulse {
	50% { opacity: .5; }
}

@keyframes ansSpin {
	to { transform: rotate(360deg); }
}

.ans-fade-in {
	animation: ansFadeIn .4s ease-in-out;
}

/* 3. Layout
   ========================================================================== */

.ans-container {
	width: 100%;
	max-width: 80rem;
	margin-left: auto;
	margin-right: auto;
	padding-left: 1rem;
	padding-right: 1rem;
}

.ans-page {
	padding-top: 2.5rem;
	padding-bottom: 2.5rem;
}

.ans-section {
	position: relative;
}

.ans-home > * + * {
	margin-top: 5rem;
}

@media (min-width: 640px) {
	.ans-container {
		padding-left: 1.5rem;
		padding-right: 1.5rem;
	}

	.ans-page {
		padding-top: 4rem;
		padding-bottom: 4rem;
	}

	.ans-home > * + * {
		margin-top: 7rem;
	}
}

@media (min-width: 1024px) {
	.ans-container {
		padding-left: 2rem;
		padding-right: 2rem;
	}
}

/* 4. Typography & shared components
   ========================================================================== */

.ans-eyebrow {
	font-size: .75rem;
	line-height: 1rem;
	text-transform: uppercase;
	letter-spacing: .24em;
	color: var(--ans-brand);
	font-weight: 700;
}

.ans-eyebrow--tight {
	letter-spacing: .2em;
}

.ans-section-head {
	margin-bottom: 3rem;
}

.ans-section-head > * + * {
	margin-top: .5rem;
}

.ans-section-head--center {
	max-width: 36rem;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

.ans-section-head--center .ans-eyebrow {
	font-weight: 600;
}

.ans-section-head--rule::after {
	content: "";
	display: block;
	width: 3rem;
	height: 1px;
	margin: .75rem auto 0;
	background: var(--ans-brand);
}

.ans-section-title {
	font-family: var(--ans-font-serif);
	font-size: 1.875rem;
	line-height: 2.25rem;
	font-weight: 400;
	letter-spacing: -.01em;
	color: var(--ans-text);
}

.ans-page-title {
	font-family: var(--ans-font-serif);
	font-size: 1.875rem;
	line-height: 2.25rem;
	letter-spacing: -.01em;
	color: var(--ans-text);
	margin-top: .25rem;
}

@media (min-width: 640px) {
	.ans-section-title,
	.ans-page-title {
		font-size: 2.25rem;
		line-height: 2.5rem;
	}
}

.ans-muted {
	color: var(--ans-muted);
}

.ans-text-xs {
	font-size: .75rem;
	line-height: 1rem;
}

.ans-mono {
	font-family: var(--ans-font-mono);
}

.ans-truncate {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.ans-free {
	color: var(--emerald-800);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .05em;
}

.ans-code {
	font-family: var(--ans-font-mono);
	font-weight: 600;
	color: var(--ans-text);
	background: var(--ans-oat);
	padding: .125rem .5rem;
	border-radius: .25rem;
}

.ans-text-link {
	display: inline-flex;
	align-items: center;
	gap: .25rem;
	font-size: .75rem;
	line-height: 1rem;
	text-transform: uppercase;
	letter-spacing: .18em;
	font-weight: 500;
	color: var(--ans-text);
	transition: color .15s;
}

.ans-text-link:hover {
	text-decoration: underline;
}

.ans-text-link .ans-icon {
	width: .875rem;
	height: .875rem;
}

.ans-text-link--brand {
	color: var(--ans-brand);
	text-transform: none;
	letter-spacing: 0;
	font-weight: 600;
	text-decoration: underline;
	gap: .375rem;
}

.ans-text-link--brand:hover {
	color: var(--ans-text);
}

.ans-text-link--underline {
	text-transform: none;
	letter-spacing: 0;
	text-decoration: underline;
	gap: .375rem;
}

.ans-text-link--underline:hover {
	color: var(--ans-brand);
}

.ans-text-link--underline .ans-icon {
	width: 1rem;
	height: 1rem;
}

.ans-link-muted {
	font-size: .75rem;
	line-height: 1rem;
	color: var(--stone-500);
	text-decoration: underline;
	transition: color .15s;
}

.ans-link-muted:hover {
	color: var(--stone-900);
}

.ans-inline-icon {
	display: inline-flex;
	align-items: center;
	gap: .25rem;
}

.ans-inline-icon .ans-icon {
	width: .875rem;
	height: .875rem;
}

/* Buttons */
.ans-btn,
.button,
button.button,
a.button,
input.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .5rem;
	padding: .875rem 2rem;
	font-size: .75rem;
	line-height: 1rem;
	text-transform: uppercase;
	letter-spacing: .2em;
	font-weight: 500;
	text-align: center;
	border: 1px solid transparent;
	border-radius: 0;
	background: var(--ans-brand);
	color: var(--ans-bg);
	cursor: pointer;
	transition: background-color .15s var(--ans-ease), color .15s var(--ans-ease), border-color .15s var(--ans-ease), opacity .15s;
	text-decoration: none;
}

.ans-btn .ans-icon {
	width: 1rem;
	height: 1rem;
	transition: transform .15s var(--ans-ease);
}

.ans-btn--primary,
.button.alt {
	background: var(--ans-brand);
	color: var(--ans-bg);
	border-color: var(--ans-brand);
}

.ans-btn--primary:hover,
.button:hover,
.button.alt:hover {
	background: var(--ans-brand-dark);
	border-color: var(--ans-brand-dark);
}

.ans-btn--outline {
	background: transparent;
	color: var(--ans-text);
	border-color: var(--ans-brand);
	padding-left: 1.5rem;
	padding-right: 1.5rem;
}

.ans-btn--outline:hover {
	background: rgb(231 229 228 / .6);
	border-color: var(--ans-brand);
}

.ans-btn--outline-strong {
	background: transparent;
	color: var(--ans-text);
	border: 2px solid var(--ans-brand);
	font-weight: 600;
}

.ans-btn--outline-strong:hover {
	background: var(--ans-brand);
	color: var(--ans-bg);
}

.ans-btn--light {
	background: #fff;
	color: var(--ans-brand);
	font-weight: 600;
	border-color: #fff;
}

.ans-btn--light:hover {
	background: var(--ans-brand-tint);
	border-color: var(--ans-brand-tint);
}

.ans-btn--dark {
	background: var(--stone-800);
	border-color: var(--stone-800);
	color: #fff;
	letter-spacing: .05em;
}

.ans-btn--dark:hover {
	background: var(--ans-brand-dark);
	border-color: var(--ans-brand-dark);
}

.ans-btn--lg {
	padding: 1rem 1.75rem;
}

.ans-btn--outline.ans-btn--lg {
	padding-left: 1.5rem;
	padding-right: 1.5rem;
}

.ans-btn--sm {
	padding: .625rem 1.5rem;
	letter-spacing: .1em;
}

.ans-btn--block {
	display: flex;
	width: 100%;
	padding-top: 1rem;
	padding-bottom: 1rem;
}

.ans-btn--slim {
	padding-top: .625rem;
	padding-bottom: .625rem;
}

.ans-btn--nudge:hover .ans-icon {
	transform: translateX(.25rem);
}

.ans-btn--arrow::after {
	content: "";
	width: 1rem;
	height: 1rem;
	background-color: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m12 5 7 7-7 7'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m12 5 7 7-7 7'/%3E%3C/svg%3E") center / contain no-repeat;
}

.ans-btn:disabled,
.ans-btn.disabled,
.button:disabled,
.button.disabled {
	opacity: .5;
	cursor: not-allowed;
}

.ans-btn.is-loading,
.button.loading {
	opacity: .7;
	pointer-events: none;
}

.ans-hidden-submit {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
	pointer-events: none;
}

/* Chips, pills, tags */
.ans-chip {
	display: inline-block;
	padding: .375rem .875rem;
	font-size: .75rem;
	line-height: 1rem;
	text-transform: uppercase;
	letter-spacing: .05em;
	background: var(--ans-sand);
	color: var(--ans-text-4);
	transition: color .15s, background-color .15s;
	white-space: nowrap;
}

.ans-chip:hover {
	color: var(--ans-text);
}

.ans-chip.is-active {
	background: var(--ans-brand);
	color: var(--ans-bg);
	font-weight: 600;
}

.ans-pill {
	display: inline-block;
	font-size: 11px;
	line-height: 1rem;
	padding: .125rem .5rem;
	border-radius: .25rem;
	border: 1px solid transparent;
}

.ans-pill--success {
	color: var(--forest);
	background: var(--emerald-50);
	border-color: var(--emerald-200);
}

.ans-tag {
	display: inline-block;
	font-size: 10px;
	line-height: 1rem;
	text-transform: uppercase;
	letter-spacing: .1em;
	font-weight: 600;
	padding: .125rem .5rem;
	border-radius: .25rem;
	background: var(--stone-200);
	color: var(--stone-800);
}

.ans-tag--success {
	background: var(--emerald-100);
	color: var(--emerald-800);
}

.ans-tag--error {
	background: var(--red-50);
	color: var(--red-800);
}

.ans-badge {
	position: absolute;
	top: .75rem;
	left: .75rem;
	z-index: 2;
	background: rgb(250 248 245 / .9);
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
	color: var(--ans-text);
	font-size: 10px;
	line-height: 1rem;
	text-transform: uppercase;
	letter-spacing: .1em;
	font-weight: 600;
	padding: .25rem .625rem;
	border: 1px solid var(--ans-border);
}

.ans-badge--lg {
	top: 1rem;
	left: 1rem;
	font-size: 11px;
	padding: .25rem .75rem;
}

/* Alerts */
.ans-alert {
	padding: 1rem;
	font-size: .75rem;
	line-height: 1.25rem;
	border: 1px solid;
	border-radius: .25rem;
}

.ans-alert--error {
	background: var(--red-50);
	border-color: var(--red-200);
	color: var(--red-800);
}

.ans-alert--success {
	background: var(--emerald-50);
	border-color: var(--emerald-200);
	color: var(--emerald-900);
}

.ans-alert--info {
	background: var(--ans-sand);
	border-color: var(--ans-border);
	color: var(--ans-text-4);
}

.ans-alert--warn {
	background: #fffbeb;
	border-color: #fde68a;
	color: var(--amber-800);
}

.ans-alert--stack > * + * {
	margin-top: .5rem;
}

.ans-alert__title {
	display: flex;
	align-items: center;
	gap: .5rem;
	font-weight: 600;
}

.ans-alert__title .ans-icon {
	width: 1rem;
	height: 1rem;
	color: var(--emerald-700);
}

/* Panels & notes */
.ans-panel {
	background: var(--ans-bg);
	border: 1px solid var(--ans-border);
	padding: 1.5rem;
}

.ans-panel > * + * {
	margin-top: 1.5rem;
}

.ans-panel--lg > * + * {
	margin-top: 1.25rem;
}

@media (min-width: 640px) {
	.ans-panel {
		padding: 2rem;
	}
}

.ans-panel__title {
	font-family: var(--ans-font-serif);
	font-size: 1.25rem;
	line-height: 1.75rem;
	color: var(--ans-text);
	padding-bottom: 1rem;
	border-bottom: 1px solid var(--ans-border);
}

.ans-panel__title--split {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.ans-panel__title-note {
	font-family: var(--ans-font-sans);
	font-size: .75rem;
	line-height: 1rem;
	text-transform: uppercase;
	letter-spacing: .05em;
	color: var(--stone-500);
}

.ans-panel__intro {
	padding-bottom: 1rem;
	border-bottom: 1px solid var(--ans-border);
}

.ans-panel__intro--row {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	justify-content: space-between;
}

@media (min-width: 640px) {
	.ans-panel__intro--row {
		flex-direction: row;
		align-items: center;
	}
}

.ans-panel__eyebrow {
	display: block;
	margin-bottom: .25rem;
	font-size: 10px;
	line-height: 1rem;
	text-transform: uppercase;
	letter-spacing: .1em;
	color: var(--ans-brand);
	font-weight: 700;
}

.ans-panel__heading {
	font-family: var(--ans-font-serif);
	font-size: 1.5rem;
	line-height: 2rem;
	color: var(--ans-text);
}

.ans-panel__text {
	font-size: .75rem;
	line-height: 1.625;
	color: var(--ans-text-4);
	margin-top: .25rem;
}

.ans-note {
	padding: 1rem;
	background: var(--ans-sand);
	border: 1px solid var(--ans-border);
	font-size: .75rem;
	line-height: 1rem;
}

.ans-note > * + * {
	margin-top: .25rem;
}

.ans-note--compact {
	padding: .75rem;
	font-size: 11px;
}

.ans-note__title {
	display: flex;
	align-items: center;
	gap: .5rem;
	color: var(--ans-brand);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .1em;
	font-size: 10px;
}

.ans-note__title .ans-icon {
	width: .875rem;
	height: .875rem;
}

.ans-note__heading {
	font-weight: 600;
	color: var(--ans-text);
}

.ans-note__text {
	color: var(--ans-text-4);
	line-height: 1.625;
}

.ans-stack > * + * {
	margin-top: 1rem;
}

.ans-inline-form {
	display: contents;
}

/* Progress */
.ans-progress {
	width: 100%;
	height: .375rem;
	background: rgb(214 211 209 / .6);
	border-radius: 9999px;
	overflow: hidden;
}

.ans-progress__bar {
	height: 100%;
	background: var(--ans-brand);
	border-radius: 9999px;
	transition: width .5s var(--ans-ease);
}

.ans-progress--lg {
	background: var(--stone-200);
	margin-bottom: 1.5rem;
}

.ans-progress--lg .ans-progress__bar {
	transition-duration: .7s;
}

/* Forms */
.ans-input,
.input-text,
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
select,
textarea,
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="number"],
input[type="search"],
input[type="url"] {
	width: 100%;
	background: #fff;
	border: 1px solid var(--ans-input-border);
	border-radius: 0;
	padding: .625rem .875rem;
	font-size: .75rem;
	line-height: 1rem;
	color: var(--ans-text);
	transition: border-color .15s;
	-webkit-appearance: none;
	appearance: none;
}

textarea {
	min-height: 6rem;
	resize: vertical;
}

select {
	padding-right: 2rem;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2378716c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right .625rem center;
	background-size: 14px;
}

.ans-input:focus,
.input-text:focus,
select:focus,
textarea:focus,
input:focus {
	outline: none;
	border-color: var(--ans-brand);
}

.ans-input:focus-visible,
.input-text:focus-visible,
select:focus-visible,
textarea:focus-visible,
input:focus-visible {
	outline: 2px solid rgb(81 121 112 / .25);
	outline-offset: 0;
}

::placeholder {
	color: var(--stone-400);
	opacity: 1;
}

.ans-input--mono {
	font-family: var(--ans-font-mono);
	text-transform: uppercase;
	letter-spacing: .05em;
}

.ans-input--mono::placeholder {
	text-transform: none;
	letter-spacing: 0;
	font-family: var(--ans-font-sans);
}

input[type="radio"],
input[type="checkbox"] {
	accent-color: var(--ans-brand);
	width: 1rem;
	height: 1rem;
	flex-shrink: 0;
}

.form-row {
	margin: 0;
}

.form-row label,
.ans-label {
	display: block;
	margin-bottom: .25rem;
	font-size: 11px;
	line-height: 1rem;
	text-transform: uppercase;
	letter-spacing: .05em;
	font-weight: 600;
	color: var(--ans-text);
}

.form-row label.checkbox,
.form-row label.woocommerce-form__label-for-checkbox,
.ans-check {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	text-transform: none;
	letter-spacing: 0;
	font-weight: 500;
	font-size: .75rem;
	color: var(--ans-text-3);
	cursor: pointer;
	margin: 0;
}

/* MailPoet's checkout newsletter opt-in: match .ans-check, with room above it. */
label[data-automation-id="woo-commerce-subscription-opt-in"] {
	display: flex;
	align-items: flex-start;
	gap: .5rem;
	margin-top: 1.25rem;
	font-size: .75rem;
	line-height: 1.125rem;
	font-weight: 500;
	color: var(--ans-text-3);
	cursor: pointer;
}

label[data-automation-id="woo-commerce-subscription-opt-in"] input {
	flex-shrink: 0;
	margin: .0625rem 0 0;
}

/* Its hidden "opt-in shown" field still submits; the empty row only adds space. */
#mailpoet_woocommerce_checkout_optin_present_field {
	display: none;
}

.form-row .required {
	color: var(--red-700);
	text-decoration: none;
	border: 0;
}

.form-row .optional {
	text-transform: none;
	letter-spacing: 0;
	font-weight: 400;
	color: var(--stone-500);
}

.woocommerce-input-wrapper {
	display: block;
}

.form-row.woocommerce-invalid input.input-text,
.form-row.woocommerce-invalid select,
.form-row.woocommerce-invalid .select2-selection,
.ans-input.has-error,
#coupon_code.has-error {
	border-color: var(--red-700);
}

.form-row.woocommerce-validated input.input-text {
	border-color: var(--ans-input-border);
}

.checkout-inline-error-message,
.coupon-error-notice {
	margin-top: .25rem;
	font-size: 11px;
	color: var(--red-700);
}

/* Select2 / SelectWoo (country & district selects) */
.select2-container {
	width: 100% !important;
	font-size: .75rem;
}

.select2-container .select2-selection--single {
	height: auto;
	border: 1px solid var(--ans-input-border);
	border-radius: 0;
	background: #fff;
	padding: .5rem .875rem;
}

.select2-container .select2-selection--single .select2-selection__rendered {
	padding: 0;
	line-height: 1.25rem;
	color: var(--ans-text);
}

.select2-container .select2-selection--single .select2-selection__arrow {
	height: 100%;
	right: .5rem;
}

.select2-container--open .select2-selection--single,
.select2-container--focus .select2-selection--single {
	border-color: var(--ans-brand);
}

.select2-dropdown {
	border: 1px solid var(--ans-input-border);
	border-radius: 0;
	font-size: .75rem;
}

.select2-results__option--highlighted[aria-selected],
.select2-container--default .select2-results__option--highlighted[aria-selected] {
	background: var(--ans-brand);
}

.select2-search--dropdown .select2-search__field {
	border: 1px solid var(--ans-input-border);
	padding: .375rem .5rem;
}

/* Quantity stepper (native WooCommerce input + theme buttons) */
.quantity {
	display: inline-flex;
	align-items: stretch;
	border: 1px solid var(--ans-input-border);
	background: #fff;
	border-radius: .25rem;
}

.quantity .qty {
	width: 2.75rem;
	border: 0;
	padding: .5rem 0;
	text-align: center;
	font-size: .75rem;
	font-weight: 600;
	-moz-appearance: textfield;
	background: transparent;
}

.quantity .qty::-webkit-outer-spin-button,
.quantity .qty::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.quantity .qty:focus-visible {
	outline: 2px solid rgb(81 121 112 / .35);
	outline-offset: -2px;
}

.ans-qty-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: .375rem .5rem;
	color: var(--stone-600);
	transition: background-color .15s;
}

.ans-qty-btn:hover {
	background: var(--stone-100);
}

.ans-qty-btn .ans-icon {
	width: .875rem;
	height: .875rem;
}

.quantity:has(input[type="hidden"]) {
	display: none;
}

/* Theme stepper (drawer) */
.ans-stepper {
	display: inline-flex;
	align-items: center;
	border: 1px solid var(--ans-input-border);
	border-radius: .25rem;
	background: #fff;
}

.ans-stepper button {
	padding: .25rem;
	color: var(--stone-600);
	transition: background-color .15s;
}

.ans-stepper button:hover {
	background: var(--stone-100);
}

.ans-stepper button:disabled {
	opacity: .35;
}

.ans-stepper .ans-icon {
	width: .875rem;
	height: .875rem;
}

.ans-stepper__value {
	padding: 0 .625rem;
	font-size: .75rem;
	font-weight: 500;
	color: var(--ans-text);
	min-width: 1.75rem;
	text-align: center;
}

/* Empty states */
.ans-empty {
	text-align: center;
	padding: 4rem 0;
}

.ans-empty > * + * {
	margin-top: 1rem;
}

.ans-empty--page {
	max-width: 56rem;
	margin: 0 auto;
	padding: 6rem 1rem;
}

.ans-empty--page > * + * {
	margin-top: 1.5rem;
}

.ans-empty--panel {
	background: var(--ans-bg);
	border: 1px solid var(--ans-border);
	padding: 4rem 1.5rem;
}

.ans-empty--inline {
	padding: 1.5rem 0;
	text-align: left;
}

.ans-empty__icon {
	width: 4rem;
	height: 4rem;
	margin-left: auto;
	margin-right: auto;
	border-radius: 9999px;
	background: var(--ans-sand);
	color: var(--stone-400);
	display: flex;
	align-items: center;
	justify-content: center;
}

.ans-empty__icon .ans-icon {
	width: 2rem;
	height: 2rem;
}

.ans-empty__icon--lg {
	width: 5rem;
	height: 5rem;
}

.ans-empty__icon--lg .ans-icon {
	width: 2.5rem;
	height: 2.5rem;
}

.ans-empty__icon--warn {
	background: #fffbeb;
	color: var(--amber-700);
}

.ans-empty__title {
	font-family: var(--ans-font-serif);
	font-size: 1.25rem;
	line-height: 1.75rem;
	color: var(--ans-text);
}

.ans-empty__title--lg {
	font-size: 1.875rem;
	line-height: 2.25rem;
}

@media (min-width: 640px) {
	.ans-empty__title--lg {
		font-size: 2.25rem;
		line-height: 2.5rem;
	}
}

.ans-empty__text {
	font-size: .875rem;
	line-height: 1.625;
	color: var(--ans-muted);
	max-width: 28rem;
	margin-left: auto;
	margin-right: auto;
}

.ans-empty--drawer .ans-empty__text {
	font-size: .75rem;
	max-width: 20rem;
}

.ans-empty--inline .ans-empty__text {
	margin: 0 0 1rem;
}

/* 5. WooCommerce notices
   ========================================================================== */

.woocommerce-notices-wrapper:empty {
	display: none;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.wc-block-components-notice-banner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: .75rem;
	margin: 0 0 1.5rem;
	padding: 1rem;
	font-size: .75rem;
	line-height: 1.25rem;
	border: 1px solid var(--ans-border);
	background: var(--ans-sand);
	color: var(--ans-text-4);
	list-style: none;
	border-radius: .25rem;
}

.woocommerce-message,
.wc-block-components-notice-banner.is-success {
	background: var(--emerald-50);
	border-color: var(--emerald-200);
	color: var(--emerald-900);
}

.woocommerce-error,
.wc-block-components-notice-banner.is-error {
	background: var(--red-50);
	border-color: var(--red-200);
	color: var(--red-800);
	flex-direction: column;
	align-items: flex-start;
}

.woocommerce-error li {
	margin: 0;
}

.woocommerce-message .button,
.woocommerce-info .button,
.woocommerce-message a.restore-item {
	order: 2;
	padding: .5rem 1rem;
	letter-spacing: .1em;
}

.wc-block-components-notice-banner > svg {
	width: 1.25rem;
	height: 1.25rem;
	fill: currentColor;
}

.wc-block-components-notice-banner__content {
	flex: 1;
}

.wc-block-components-notice-banner__content .wc-forward {
	float: right;
	text-decoration: underline;
	font-weight: 600;
}

/* blockUI overlay used by cart/checkout JS. blockUI sets z-index 1000 inline;
   keep it under the sticky header (40) so the nav bar is never veiled. */
.blockUI.blockOverlay {
	z-index: 30 !important;
	background: rgb(250 248 245 / .45) !important;
	opacity: 1 !important;
}

.blockUI.blockOverlay::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 2rem;
	height: 2rem;
	margin: -1rem 0 0 -1rem;
	border: 2px solid var(--ans-brand);
	border-top-color: transparent;
	border-radius: 9999px;
	animation: ansSpin .8s linear infinite;
}

/* Placing the order blocks the whole (tall) checkout form: keep its spinner in view. */
form.checkout > .blockUI.blockOverlay::after {
	position: fixed;
}

/* 6. Header
   ========================================================================== */

.ans-header {
	position: sticky;
	top: 0;
	z-index: 40;
	background: rgb(250 248 245 / .95);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--ans-border);
}

.admin-bar .ans-header {
	top: 32px;
}

@media (max-width: 782px) {
	.admin-bar .ans-header {
		top: 46px;
	}
}

@media (max-width: 600px) {
	.admin-bar .ans-header {
		top: 0;
	}
}

.ans-announce {
	padding-top: .5rem;
	padding-bottom: .5rem;
	background: var(--ans-brand);
	color: #fff;
	font-size: 11px;
	line-height: 1rem;
	text-transform: uppercase;
	letter-spacing: .18em;
	overflow: hidden;
}

/* Inside .ans-container so the text lines up with the header's edges.
   Phones: the product line on top and the Facebook buttons on a second row. */
.ans-announce__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: .375rem 1rem;
}

.ans-announce__left {
	display: none;
	align-items: center;
	gap: .5rem;
	color: rgb(255 255 255 / .8);
}

.ans-announce__left .ans-icon {
	width: .875rem;
	height: .875rem;
	color: #fff;
}

.ans-announce__center {
	flex: 1 1 100%;
	text-align: center;
	font-weight: 700;
}

.ans-announce__right {
	display: flex;
	flex: 1 1 100%;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	color: rgb(255 255 255 / .8);
}

.ans-announce__right > span {
	display: none;
}

.ans-announce__btns {
	display: flex;
	align-items: center;
	gap: .5rem;
}

.ans-announce__btn {
	display: inline-flex;
	align-items: center;
	gap: .375rem;
	padding: .125rem .625rem;
	border: 1px solid rgb(255 255 255 / .45);
	border-radius: 9999px;
	color: #fff;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: .12em;
	white-space: nowrap;
	transition: background-color .15s, border-color .15s;
}

.ans-announce__btn:hover,
.ans-announce__btn:focus-visible {
	background: rgb(255 255 255 / .15);
	border-color: #fff;
	color: #fff;
}

.ans-announce__btn .ans-icon {
	width: .75rem;
	height: .75rem;
}

@media (min-width: 640px) {
	.ans-announce__inner {
		flex-wrap: nowrap;
	}

	.ans-announce__left,
	.ans-announce__right {
		display: flex;
		flex: 1;
	}

	.ans-announce__right {
		justify-content: flex-end;
	}

	.ans-announce__right > span {
		display: inline;
	}

	.ans-announce__center {
		flex: 0 1 auto;
	}
}

/* Below 1280px the logo sits left of centre and the product line follows it (theme.js),
   which would run into the delivery note, so keep the left side empty. */
@media (min-width: 640px) and (max-width: 1279px) {
	.ans-announce__left > * {
		display: none;
	}
}

/* Tablets: not enough room for the button words, so show the icons only. */
@media (min-width: 640px) and (max-width: 1023px) {
	.ans-announce__btn {
		padding: .25rem;
	}

	.ans-announce__btn span {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
		white-space: nowrap;
	}
}

/*
 * Menu | logo | icons. The logo sits in the middle of the free space between the
 * menu and the icons, so the gap on its left and right is always equal.
 */
.ans-header__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: var(--ans-header-h);
	gap: .75rem;
}

@media (min-width: 1024px) {
	.ans-header__bar {
		gap: 2rem;
	}
}

.ans-header__left {
	display: flex;
	align-items: center;
	gap: 2rem;
	min-width: 0;
}

.ans-header__burger {
	position: relative;
	z-index: 1;
	display: inline-flex;
	padding: .5rem;
	margin-left: -.5rem;
	color: var(--ans-text);
	transition: color .15s;
}

.ans-header__burger:hover {
	color: var(--ans-brand);
}

.ans-header__burger .ans-icon {
	width: 1.5rem;
	height: 1.5rem;
}

.ans-header__burger .ans-icon--close,
.ans-header__burger[aria-expanded="true"] .ans-icon--open {
	display: none;
}

.ans-header__burger[aria-expanded="true"] .ans-icon--close {
	display: block;
}

.ans-nav {
	display: none;
}

/* Full desktop menu from 1200px; ☰ menu below (the menu does not fit beside the logo under ~1200px). */

@media (min-width: 1200px) {
	.ans-header__burger {
		display: none;
	}

	.ans-nav {
		display: block;
	}
}

.ans-nav__list {
	display: flex;
	align-items: center;
	gap: 1.75rem;
	font-size: .75rem;
	line-height: 1rem;
	text-transform: uppercase;
	letter-spacing: .16em;
	font-weight: 500;
	color: var(--ans-text-3);
}

.ans-nav__list > li {
	position: relative;
}

.ans-nav__list > li > a {
	display: block;
	padding-bottom: .25rem;
	border-bottom: 1px solid transparent;
	transition: color .15s, border-color .15s;
	white-space: nowrap;
}

.ans-nav__list > li > a:hover {
	border-color: var(--ans-muted);
	color: var(--ans-text);
}

.ans-nav__list > .current-menu-item > a,
.ans-nav__list > .current-menu-ancestor > a,
.ans-nav__list > .current-menu-parent > a {
	border-color: var(--ans-brand);
	color: var(--ans-brand);
	font-weight: 600;
}

.ans-nav__list .sub-menu {
	position: absolute;
	top: 100%;
	left: -1rem;
	min-width: 13rem;
	padding: .75rem 0;
	margin-top: .75rem;
	background: var(--ans-bg);
	border: 1px solid var(--ans-border);
	box-shadow: var(--ans-shadow-lg);
	opacity: 0;
	visibility: hidden;
	transform: translateY(4px);
	transition: opacity .15s, transform .15s, visibility .15s;
	letter-spacing: .1em;
}

.ans-nav__list .sub-menu::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: -.875rem;
	height: .875rem;
}

.ans-nav__list li:hover > .sub-menu,
.ans-nav__list li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: none;
}

.ans-nav__list .sub-menu a {
	display: block;
	padding: .5rem 1rem;
	font-weight: 500;
}

.ans-nav__list .sub-menu a:hover {
	color: var(--ans-brand);
	background: var(--ans-sand);
}

.ans-header__brand {
	flex-shrink: 0;
	text-align: center;
}

.ans-header__brand .custom-logo {
	max-height: 56px;
	width: auto;
	margin: 0 auto;
}

.ans-wordmark {
	display: inline-block;
	transition: opacity .15s;
}

.ans-wordmark .ans-logo {
	display: block;
	height: 56px;
	width: auto;
}

.ans-footer__brand .ans-logo {
	display: block;
	height: 88px;
	width: auto;
}

.ans-wordmark:hover {
	opacity: .85;
}

.ans-wordmark__name {
	display: block;
	font-family: var(--ans-font-serif);
	font-size: 1.5rem;
	line-height: 2rem;
	letter-spacing: .14em;
	color: var(--ans-brand);
	text-transform: uppercase;
	white-space: nowrap;
}

.ans-wordmark__sub {
	display: block;
	margin-top: -.25rem;
	font-size: 9px;
	line-height: 1rem;
	text-transform: uppercase;
	letter-spacing: .32em;
	color: var(--ans-muted);
}

@media (min-width: 640px) {
	.ans-wordmark__name {
		font-size: 1.875rem;
		line-height: 2.25rem;
	}
}

/* Phones: smaller wordmark so it fits between the ☰ button and the icons. */

@media (max-width: 639px) {
	.ans-wordmark__name {
		font-size: 1.25rem;
		line-height: 1.75rem;
		letter-spacing: .1em;
	}

	.ans-wordmark__sub {
		font-size: 8px;
		letter-spacing: .24em;
	}
}

@media (max-width: 400px) {
	.ans-wordmark__name {
		font-size: 1rem;
		line-height: 1.5rem;
		letter-spacing: .06em;
	}

	.ans-wordmark__sub {
		letter-spacing: .16em;
	}
}

.ans-header__actions {
	display: flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: flex-end;
	gap: .25rem;
	color: var(--ans-text-2);
}

@media (min-width: 640px) {
	.ans-header__actions {
		gap: .75rem;
	}
}

.ans-header__icon-btn {
	display: inline-flex;
	padding: .5rem;
	color: var(--ans-text-3);
	border-radius: 9999px;
	transition: color .15s, background-color .15s;
}

.ans-header__icon-btn:hover,
.ans-header__icon-btn[aria-expanded="true"] {
	color: var(--ans-brand);
	background: var(--stone-100);
}

.ans-header__icon-btn .ans-icon,
.ans-header__bag .ans-icon {
	width: 1.25rem;
	height: 1.25rem;
}

.ans-header__track {
	display: none;
	align-items: center;
	gap: .375rem;
	padding: .25rem .5rem;
	font-size: .75rem;
	color: var(--ans-text-4);
	border-radius: 9999px;
	transition: color .15s, background-color .15s;
}

.ans-header__track:hover {
	color: var(--ans-text);
	background: rgb(245 245 244 / .8);
}

.ans-header__track .ans-icon {
	width: 1rem;
	height: 1rem;
	color: var(--ans-brand);
}

.ans-header__track span {
	display: none;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: .05em;
}

@media (min-width: 640px) {
	.ans-header__track {
		display: inline-flex;
	}
}

@media (min-width: 768px) {
	.ans-header__track span {
		display: inline;
	}
}

.ans-header__bag {
	position: relative;
	display: inline-flex;
	padding: .5rem;
	color: var(--ans-text);
	transition: color .15s;
}

.ans-header__bag:hover {
	color: var(--ans-brand);
}

.ans-cart-count {
	position: absolute;
	top: -.25rem;
	right: -.25rem;
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 1.25rem;
	height: 1.25rem;
	padding: 0 .25rem;
	border-radius: 9999px;
	background: var(--ans-brand);
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: -.025em;
}

.ans-cart-count[data-count="0"] {
	display: none;
}

.ans-search-panel {
	border-top: 1px solid var(--ans-border);
	background: var(--ans-bg);
	padding: 1rem 0;
	animation: ansFadeIn .2s ease-out;
}

.ans-searchform {
	position: relative;
	display: flex;
	gap: .5rem;
	max-width: 42rem;
	margin: 0 auto;
}

.ans-searchform > .ans-icon {
	position: absolute;
	left: .75rem;
	top: 50%;
	transform: translateY(-50%);
	width: 1rem;
	height: 1rem;
	color: var(--stone-400);
	pointer-events: none;
}

.ans-searchform__input {
	flex: 1;
	padding-left: 2.25rem !important;
}

/* Live results dropdown under the search box. */
.ans-search-results {
	position: absolute;
	z-index: 50;
	top: calc(100% + .5rem);
	left: 0;
	right: 0;
	max-height: min(70vh, 32rem);
	overflow-y: auto;
	background: var(--ans-bg);
	border: 1px solid var(--ans-border);
	box-shadow: var(--ans-shadow-lg);
	animation: ansFadeIn .15s ease-out;
}

.ans-search-results[hidden] {
	display: none;
}

.ans-search-result {
	display: flex;
	align-items: center;
	gap: .875rem;
	padding: .625rem 1rem;
	border-bottom: 1px solid var(--ans-border);
	transition: background-color .15s;
}

.ans-search-result:hover,
.ans-search-result:focus-visible {
	background: var(--ans-sand);
	outline: none;
}

.ans-search-result__thumb {
	flex-shrink: 0;
	width: 3rem;
	height: 3rem;
	overflow: hidden;
	background: var(--ans-sand);
}

.ans-search-result__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ans-search-result__name {
	flex: 1;
	min-width: 0;
	font-size: .875rem;
	line-height: 1.25rem;
	color: var(--ans-text);
}

.ans-search-result__price {
	flex-shrink: 0;
	font-size: .8125rem;
	color: var(--ans-brand);
	font-weight: 500;
}

.ans-search-result__price del {
	margin-right: .25rem;
	color: var(--ans-muted);
	font-weight: 400;
}

.ans-search-result__price ins {
	text-decoration: none;
}

.ans-search-results__all {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: .5rem;
	padding: .75rem 1rem;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: .16em;
	font-weight: 600;
	color: var(--ans-brand);
	transition: background-color .15s;
}

.ans-search-results__all:hover,
.ans-search-results__all:focus-visible {
	background: var(--ans-sand);
	outline: none;
}

.ans-search-results__all .ans-icon {
	width: .875rem;
	height: .875rem;
}

.ans-search-results__empty {
	padding: 1rem;
	font-size: .875rem;
	color: var(--ans-muted);
	text-align: center;
}

.ans-mobile-nav {
	border-top: 1px solid var(--ans-border);
	background: var(--ans-bg);
	padding: 1.5rem;
	max-height: calc(100vh - 120px);
	overflow-y: auto;
}

@media (min-width: 1200px) {
	.ans-mobile-nav {
		display: none !important;
	}
}

.ans-mobile-nav__list > li > a,
.ans-mobile-nav__list .sub-menu a {
	display: block;
	padding: .5rem 0;
	font-family: var(--ans-font-serif);
	font-size: 1rem;
	letter-spacing: .05em;
	color: var(--ans-text);
	border-bottom: 1px solid rgb(231 226 217 / .6);
	transition: color .15s;
}

.ans-mobile-nav__list > li + li {
	margin-top: .75rem;
}

.ans-mobile-nav__list .sub-menu {
	padding-left: 1rem;
}

.ans-mobile-nav__list .sub-menu a {
	font-size: .875rem;
}

.ans-mobile-nav__list a:hover,
.ans-mobile-nav__list .current-menu-item > a {
	color: var(--ans-brand);
}

.ans-mobile-nav__account {
	display: block;
	padding-top: 1.25rem;
	font-size: .875rem;
	text-transform: uppercase;
	letter-spacing: .1em;
	color: var(--ans-muted);
}

.ans-mobile-nav__account:hover {
	color: var(--ans-brand);
}

.ans-mobile-nav__foot {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	margin-top: 1rem;
	padding-top: 1rem;
	border-top: 1px solid var(--ans-border);
	font-size: .75rem;
	color: var(--ans-muted);
}

/* 7. Footer
   ========================================================================== */

.ans-footer {
	margin-top: 6rem;
	padding: 4rem 0 3rem;
	background: var(--ans-brand);
	color: #fff;
	border-top: 1px solid var(--ans-brand-dark);
}

.ans-footer__trust {
	display: grid;
	gap: 2rem;
	padding-bottom: 3.5rem;
	border-bottom: 1px solid rgb(255 255 255 / .15);
	text-align: center;
}

.ans-footer__trust-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: .75rem;
}

.ans-footer__trust-icon {
	padding: .75rem;
	border-radius: 9999px;
	background: rgb(255 255 255 / .12);
}

.ans-footer__trust-icon .ans-icon {
	width: 1.25rem;
	height: 1.25rem;
}

.ans-footer__trust-title {
	font-family: var(--ans-font-serif);
	font-size: 1rem;
	line-height: 1.5rem;
	font-weight: 500;
}

.ans-footer__trust-text {
	margin-top: .25rem;
	font-size: .75rem;
	line-height: 1.625;
	color: rgb(255 255 255 / .75);
}

.ans-footer__main {
	display: grid;
	gap: 2.5rem;
	padding-top: 3.5rem;
	padding-bottom: 3.5rem;
}

.ans-footer__about > * + * {
	margin-top: 1rem;
}

.ans-footer__brand {
	font-family: var(--ans-font-serif);
	font-size: 1.5rem;
	line-height: 2rem;
	letter-spacing: .16em;
	text-transform: uppercase;
}

.ans-footer__about-text {
	font-size: .75rem;
	line-height: 1.625;
	color: rgb(255 255 255 / .75);
	max-width: 24rem;
}

.ans-footer__newsletter {
	padding-top: .5rem;
}

.ans-footer__newsletter-label {
	display: block;
	margin-bottom: .5rem;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: .1em;
	color: rgb(255 255 255 / .7);
}

.ans-footer__newsletter input[type="email"],
.ans-footer__newsletter input[type="text"] {
	background: rgb(255 255 255 / .1);
	border-color: rgb(255 255 255 / .25);
	color: #fff;
}

.ans-footer__newsletter input::placeholder {
	color: rgb(255 255 255 / .55);
}

.ans-footer__newsletter button,
.ans-footer__newsletter input[type="submit"] {
	background: #fff;
	color: var(--ans-brand);
	border: 0;
	padding: .625rem 1rem;
	font-size: .75rem;
	text-transform: uppercase;
	letter-spacing: .05em;
	font-weight: 600;
}

.ans-footer__col > * + * {
	margin-top: .75rem;
}

.ans-footer__col-title {
	font-size: .75rem;
	line-height: 1rem;
	text-transform: uppercase;
	letter-spacing: .2em;
	font-weight: 500;
}

.ans-footer__links {
	font-size: .75rem;
	line-height: 1rem;
	color: rgb(255 255 255 / .75);
}

.ans-footer__links li + li {
	margin-top: .5rem;
}

.ans-footer__links a {
	transition: color .15s;
}

.ans-footer__links a:hover {
	color: #fff;
}

.ans-footer__links .is-strong {
	color: #fff;
	font-weight: 500;
}

.ans-footer__links .is-muted {
	color: rgb(255 255 255 / .6);
}

.ans-footer__links .ans-footer__contact {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
}

.ans-footer__contact .ans-icon {
	width: .875rem;
	height: .875rem;
}

.ans-footer__col + .ans-footer__col .ans-footer__links + .ans-footer__links {
	margin-top: .5rem;
}

.ans-footer__bottom {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
	gap: .75rem;
	padding-top: 2rem;
	border-top: 1px solid rgb(255 255 255 / .15);
	font-size: 11px;
	color: rgb(255 255 255 / .65);
	text-align: center;
}

.ans-footer__bottom-list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: .5rem 1rem;
}

.ans-footer__bottom-list a:hover {
	color: #fff;
}

@media (min-width: 640px) {
	.ans-footer__bottom {
		flex-direction: row;
		text-align: left;
	}
}

@media (min-width: 768px) {
	.ans-footer__trust {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		text-align: left;
	}

	.ans-footer__trust-item {
		flex-direction: row;
		align-items: flex-start;
		gap: 1rem;
	}

	.ans-footer__trust-icon {
		flex-shrink: 0;
	}

	.ans-footer__main {
		grid-template-columns: repeat(5, minmax(0, 1fr));
	}

	.ans-footer__about {
		grid-column: span 2 / span 2;
	}
}

/* 9. Product grid & cards
   ========================================================================== */

.ans-grid {
	display: grid;
	gap: 2rem;
	grid-template-columns: minmax(0, 1fr);
}

/* Two columns from the smallest phones up, so several products fit on screen. */
.ans-grid--cols-2,
.ans-grid--cols-3,
.ans-grid--cols-4 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 639px) {
	.ans-grid--cols-2,
	.ans-grid--cols-3,
	.ans-grid--cols-4 {
		gap: 1.75rem .75rem;
	}
}

@media (min-width: 1024px) {
	.ans-grid--cols-3 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.ans-grid--cols-4 {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

.ans-card {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	min-width: 0;
}

.ans-card__media {
	position: relative;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	background: var(--stone-200);
	border: 1px solid var(--ans-border);
}

.ans-card__img-link {
	display: block;
	width: 100%;
	height: 100%;
}

.ans-card__img,
.ans-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .5s var(--ans-ease);
}

.ans-card:hover .ans-card__img {
	transform: scale(1.05);
}

.ans-card__img.is-swapping {
	animation: ansFadeIn .4s ease-in-out;
}

.ans-card__color {
	position: absolute;
	left: .75rem;
	bottom: .75rem;
	z-index: 1;
	padding: .125rem .5rem;
	background: rgb(81 121 112 / .85);
	background: color-mix(in srgb, var(--ans-brand) 85%, transparent);
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
	color: #fff;
	font-size: 10px;
	line-height: 1rem;
	text-transform: uppercase;
	letter-spacing: .1em;
	font-weight: 600;
}

.ans-card__cta {
	position: absolute;
	left: .75rem;
	right: .75rem;
	bottom: .75rem;
	z-index: 2;
	padding: .625rem;
	background: color-mix(in srgb, var(--ans-brand) 90%, transparent);
	color: var(--ans-bg);
	text-align: center;
	font-size: .75rem;
	line-height: 1rem;
	text-transform: uppercase;
	letter-spacing: .1em;
	font-weight: 500;
	opacity: 0;
	transition: opacity .15s, background-color .15s;
}

.ans-card:hover .ans-card__cta,
.ans-card:focus-within .ans-card__cta {
	opacity: 1;
}

.ans-card__cta:hover {
	background: var(--ans-brand);
}

/* The colour label rides up above the hover bar instead of hiding behind it. */
@media (hover: hover) {
	.ans-card__color {
		transition: transform .25s cubic-bezier(.2, .8, .2, 1);
	}

	.ans-card:hover .ans-card__color,
	.ans-card:focus-within .ans-card__color {
		transform: translateY(calc(-2.25rem - .375rem));
	}

	.ans-card.is-adding .ans-card__color {
		transform: none;
	}
}

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

@media (hover: none) {
	.ans-card__cta {
		display: none;
	}
}

.ans-card__body {
	padding-top: 1rem;
}

.ans-card__body > * + * {
	margin-top: .375rem;
}

.ans-card__title {
	font-family: var(--ans-font-serif);
	font-size: 1.125rem;
	line-height: 1.375;
	font-weight: 500;
	color: var(--ans-text);
}

.ans-card--home .ans-card__title {
	font-size: 1rem;
}

/* Hover: same accent as the category tiles: the title turns dark green and a short rule
   grows under it (from the left here, as card text is left-aligned). */
.ans-card__title {
	position: relative;
	padding-bottom: .375rem;
	transition: color .3s var(--ans-ease);
}

.ans-card__title::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 2.5rem;
	height: 1px;
	background: var(--ans-brand);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .35s var(--ans-ease);
}

.ans-card:hover .ans-card__title {
	color: var(--ans-brand-dark);
}

.ans-card:hover .ans-card__title::after {
	transform: scaleX(1);
}

.ans-card__title a::after {
	content: "";
	position: absolute;
	inset: 0;
	display: none;
}

.ans-card__sub {
	font-size: .75rem;
	line-height: 1rem;
	color: var(--ans-muted);
}

.ans-card__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: .75rem;
	margin-top: .75rem;
	padding-top: .75rem;
	border-top: 1px solid rgb(231 226 217 / .6);
}

.ans-card__configure {
	display: inline-flex;
	align-items: center;
	gap: .375rem;
	flex-shrink: 0;
	font-size: .75rem;
	line-height: 1rem;
	text-transform: uppercase;
	letter-spacing: .1em;
	font-weight: 600;
	color: var(--ans-text);
	transition: color .15s;
}

.ans-card__configure:hover {
	color: var(--ans-brand);
}

.ans-card__configure .ans-icon {
	width: 1rem;
	height: 1rem;
}

/* Prices */
.price,
.ans-card__price {
	font-family: var(--ans-font-serif);
	font-size: 1rem;
	line-height: 1.5rem;
	font-weight: 600;
	color: var(--ans-text);
}

.ans-card__price--varies::before {
	content: "~";
	margin-right: .125rem;
	font-weight: 400;
	color: var(--ans-muted);
}

.price:has(del) {
	display: inline-flex;
	align-items: baseline;
	gap: .5rem;
	flex-wrap: wrap;
}

.price del {
	order: 2;
	font-family: var(--ans-font-sans);
	font-size: .75rem;
	font-weight: 400;
	color: var(--stone-400);
}

.price ins {
	order: 1;
	text-decoration: none;
}

.price .woocommerce-price-suffix {
	font-family: var(--ans-font-sans);
	font-size: 11px;
	font-weight: 400;
	color: var(--ans-muted);
}

/* Rating */
.ans-rating {
	display: flex;
	align-items: center;
	gap: .25rem;
	font-size: 11px;
	line-height: 1rem;
	color: var(--ans-brand);
}

.ans-rating__star {
	width: .75rem;
	height: .75rem;
	color: var(--amber-600);
}

.ans-rating__count {
	color: var(--stone-400);
}

.ans-rating--single {
	font-size: .75rem;
	color: var(--amber-700);
}

.ans-rating--single .ans-rating__star {
	width: .875rem;
	height: .875rem;
	color: currentColor;
}

.ans-rating--single .ans-rating__avg {
	font-weight: 600;
}

/* Swatches */
.ans-swatches {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .5rem;
}

.ans-swatches--card {
	padding-top: .375rem;
}

.ans-swatch {
	position: relative;
	padding: 2px;
	border-radius: 9999px;
	transition: box-shadow .15s;
}

.ans-swatch:hover {
	box-shadow: 0 0 0 1px var(--stone-400);
}

.ans-swatch.is-active {
	box-shadow: 0 0 0 1px var(--ans-bg), 0 0 0 3px var(--ans-brand);
}

.ans-swatch__dot {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 1.25rem;
	height: 1.25rem;
	border-radius: 9999px;
	border: 1px solid var(--stone-300);
	box-shadow: var(--ans-shadow-sm);
	background: var(--ans-sand);
	color: #fff;
}

.ans-swatch__dot.is-light {
	color: var(--ans-text);
}

.ans-swatch__tick {
	width: .75rem;
	height: .75rem;
	opacity: 0;
}

.ans-swatch.is-active .ans-swatch__tick {
	opacity: 1;
}

.ans-swatch__abbr {
	font-size: 9px;
	font-weight: 700;
	color: var(--ans-text-4);
}

.ans-swatches__count {
	margin-left: .25rem;
	font-size: 11px;
	color: var(--stone-500);
}

.ans-swatches--lg {
	gap: .75rem;
}

.ans-swatches--lg .ans-swatch {
	padding: .25rem;
}

.ans-swatches--lg .ans-swatch.is-active {
	box-shadow: 0 0 0 2px var(--ans-bg), 0 0 0 4px var(--ans-brand);
}

.ans-swatches--lg .ans-swatch__dot {
	width: 2rem;
	height: 2rem;
}

.ans-swatches--lg .ans-swatch__tick {
	width: 1rem;
	height: 1rem;
}

.ans-swatch--text {
	border-radius: 0;
	padding: 0;
}

.ans-swatch--text .ans-swatch__label {
	display: block;
	padding: .5rem .875rem;
	font-size: .75rem;
	border: 1px solid var(--ans-input-border);
	background: #fff;
	color: var(--ans-text);
}

.ans-swatch--text.is-active,
.ans-swatches--lg .ans-swatch--text.is-active {
	box-shadow: none;
}

.ans-swatch--text.is-active .ans-swatch__label {
	border-color: var(--ans-brand);
	background: var(--ans-sand);
	font-weight: 600;
}

.ans-swatch.is-unavailable,
.ans-size.is-unavailable {
	opacity: .4;
}

.ans-swatch.is-unavailable .ans-swatch__dot {
	background-image: linear-gradient(to top right, transparent calc(50% - 1px), var(--stone-500) calc(50% - 1px), var(--stone-500) calc(50% + 1px), transparent calc(50% + 1px)) !important;
}

/* 10. Archive
   ========================================================================== */

.ans-archive-head {
	max-width: 42rem;
	margin: 0 auto 3rem;
	text-align: center;
}

.ans-archive-head > * + * {
	margin-top: .75rem;
}

.ans-archive-head__title {
	font-family: var(--ans-font-serif);
	font-size: 1.875rem;
	line-height: 2.25rem;
	font-weight: 400;
	letter-spacing: -.01em;
	color: var(--ans-text);
}

.ans-archive-head__desc {
	font-size: .75rem;
	line-height: 1.625;
	color: var(--ans-text-4);
}

.ans-archive-head__desc:empty {
	display: none;
}

.ans-archive-head__desc p + p {
	margin-top: .5rem;
}

.ans-archive-head__desc a {
	color: var(--ans-brand);
	font-weight: 600;
	transition: color .2s;
}

.ans-archive-head__desc a:hover {
	color: var(--ans-brand-dark);
}

.ans-archive-head__search {
	padding-top: .5rem;
}

@media (min-width: 640px) {
	.ans-archive-head__title {
		font-size: 3rem;
		line-height: 1;
	}

	.ans-archive-head__desc {
		font-size: .875rem;
	}
}

/* Pagination */
.woocommerce-pagination,
.ans-pagination {
	margin-top: 3.5rem;
	display: flex;
	justify-content: center;
}

.woocommerce-pagination ul.page-numbers,
.ans-pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem;
	align-items: center;
}

.page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.5rem;
	height: 2.5rem;
	padding: 0 .75rem;
	font-size: .75rem;
	border: 1px solid var(--ans-border);
	background: var(--ans-bg);
	color: var(--ans-text-4);
	transition: border-color .15s, color .15s;
}

.page-numbers:hover {
	border-color: var(--ans-brand);
	color: var(--ans-text);
}

.page-numbers.current {
	background: var(--ans-brand);
	border-color: var(--ans-brand);
	color: #fff;
	font-weight: 600;
}

.page-numbers.dots {
	border: 0;
	background: transparent;
}

.page-numbers .ans-icon {
	width: 1rem;
	height: 1rem;
}

.woocommerce-pagination ul.page-numbers li {
	display: contents;
}

/* 11. Single product
   ========================================================================== */

/* Accordion */
.ans-accordion {
	border-top: 1px solid var(--ans-border);
	padding-top: .5rem;
}

.ans-accordion__item + .ans-accordion__item {
	border-top: 1px solid var(--ans-border);
}

.ans-accordion__trigger {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	width: 100%;
	padding: 1rem 0;
	text-align: left;
	font-size: .75rem;
	line-height: 1rem;
	text-transform: uppercase;
	letter-spacing: .1em;
	font-weight: 600;
	color: var(--ans-text);
}

.ans-accordion__trigger .ans-icon {
	width: 1rem;
	height: 1rem;
	transition: transform .2s var(--ans-ease);
}

.ans-accordion__trigger[aria-expanded="true"] .ans-icon {
	transform: rotate(180deg);
}

.ans-accordion__panel {
	padding-bottom: 1rem;
	font-size: .75rem;
	line-height: 1.625;
	color: var(--ans-text-4);
	animation: ansFadeIn .25s ease-out;
}

.ans-accordion__panel > * + * {
	margin-top: .75rem;
}

.ans-accordion__panel h2:first-child {
	display: none;
}

/* Prose (descriptions, pages) */
.ans-prose {
	font-size: 1rem;
	line-height: 1.75;
	color: var(--ans-text-4);
}

.ans-prose > * + * {
	margin-top: 1.25em;
}

.ans-prose h2,
.ans-prose h3,
.ans-prose h4 {
	font-family: var(--ans-font-serif);
	color: var(--ans-text);
	line-height: 1.3;
}

.ans-prose h2 {
	font-size: 1.75rem;
	margin-top: 2em;
}

.ans-prose h3 {
	font-size: 1.375rem;
	margin-top: 1.75em;
}

.ans-prose a {
	color: var(--ans-brand);
	text-decoration: underline;
}

.ans-prose ul > li,
.ans-prose ol > li {
	position: relative;
	padding-left: 1.25rem;
}

.ans-prose ul > li + li,
.ans-prose ol > li + li {
	margin-top: .375rem;
}

.ans-prose ul > li::before {
	content: "";
	position: absolute;
	left: 0;
	top: .7em;
	width: .375rem;
	height: .375rem;
	border-radius: 9999px;
	background: var(--ans-brand);
}

.ans-prose ol {
	counter-reset: ans;
}

.ans-prose ol > li::before {
	counter-increment: ans;
	content: counter(ans) ".";
	position: absolute;
	left: 0;
	color: var(--ans-brand);
	font-weight: 600;
}

.ans-prose blockquote {
	border-left: 2px solid var(--ans-brand);
	padding-left: 1rem;
	font-family: var(--ans-font-serif);
	font-style: italic;
	color: var(--ans-text);
}

.ans-prose img {
	margin-left: auto;
	margin-right: auto;
}

.ans-prose table th,
.ans-prose table td {
	padding: .5rem;
	border: 1px solid var(--ans-border);
}

.ans-prose--sm {
	font-size: .75rem;
	line-height: 1.625;
}

.ans-prose--sm > * + * {
	margin-top: .75rem;
}

.ans-prose--sm ul > li::before {
	top: .45em;
}

/* 12. Cart drawer
   ========================================================================== */

.ans-drawer {
	position: fixed;
	inset: 0;
	z-index: 60;
	overflow: hidden;
}

.ans-drawer__backdrop {
	position: absolute;
	inset: 0;
	background: rgb(28 25 23 / .4);
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
	opacity: 0;
	transition: opacity .25s var(--ans-ease);
}

.ans-drawer__panel {
	position: fixed;
	top: 0;
	bottom: 0;
	right: 0;
	width: 100%;
	max-width: calc(100vw - 2.5rem);
	display: flex;
	flex-direction: column;
	background: var(--ans-bg);
	border-left: 1px solid var(--ans-border);
	box-shadow: var(--ans-shadow-2xl);
	transform: translateX(100%);
	transition: transform .3s var(--ans-ease);
	outline: none;
}

@media (min-width: 480px) {
	.ans-drawer__panel {
		max-width: 28rem;
	}
}

.ans-drawer.is-open .ans-drawer__backdrop {
	opacity: 1;
}

.ans-drawer.is-open .ans-drawer__panel {
	transform: none;
}

.ans-drawer__content {
	display: flex;
	flex-direction: column;
	height: 100%;
	min-height: 0;
}

.ans-drawer.is-busy .ans-drawer__content {
	opacity: .6;
	pointer-events: none;
	transition: opacity .15s;
}

.ans-drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1.25rem 1.5rem;
	border-bottom: 1px solid var(--ans-border);
}

.ans-drawer__title-wrap {
	display: flex;
	align-items: center;
	gap: .5rem;
}

.ans-drawer__title-wrap .ans-icon {
	width: 1.25rem;
	height: 1.25rem;
}

.ans-drawer__title {
	font-family: var(--ans-font-serif);
	font-size: 1.25rem;
	line-height: 1.75rem;
	letter-spacing: .05em;
	color: var(--ans-text);
}

.ans-drawer__close {
	padding: .375rem;
	color: var(--stone-500);
	border-radius: 9999px;
	transition: color .15s, background-color .15s;
}

.ans-drawer__close:hover {
	color: var(--stone-900);
	background: rgb(231 229 228 / .5);
}

.ans-drawer__close .ans-icon {
	width: 1.25rem;
	height: 1.25rem;
}

.ans-ship-progress {
	font-size: .75rem;
	line-height: 1rem;
	color: var(--ans-text-4);
}

.ans-ship-progress--drawer {
	padding: .875rem 1.5rem;
	background: var(--ans-sand);
	border-bottom: 1px solid var(--ans-border);
}

.ans-ship-progress--cart {
	padding: 1rem;
	background: var(--ans-sand);
	border: 1px solid var(--ans-border);
}

.ans-ship-progress__text {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: .375rem;
}

.ans-ship-progress--cart .ans-ship-progress__text {
	font-weight: 500;
}

.ans-ship-progress strong {
	color: var(--ans-text);
	font-weight: 600;
}

.ans-ship-progress--cart .ans-progress {
	background: var(--stone-300);
}

.ans-ship-progress__done {
	display: flex;
	align-items: center;
	gap: .5rem;
	color: var(--forest);
	font-weight: 500;
}

.ans-ship-progress--cart .ans-ship-progress__done {
	color: var(--emerald-800);
}

.ans-ship-progress__done .ans-icon {
	width: 1rem;
	height: 1rem;
}

.ans-drawer__items {
	flex: 1;
	overflow-y: auto;
	padding: 1rem 1.5rem;
}

.ans-drawer-item {
	display: flex;
	gap: 1rem;
	padding: 1rem 0;
}

.ans-drawer-item + .ans-drawer-item {
	border-top: 1px solid var(--ans-border);
}

.ans-drawer-item__img {
	position: relative;
	width: 5rem;
	height: 6rem;
	flex-shrink: 0;
	overflow: hidden;
	background: var(--stone-200);
	border: 1px solid rgb(231 229 228 / .8);
}

.ans-drawer-item__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ans-drawer-item__body {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	min-width: 0;
}

.ans-drawer-item__top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: .5rem;
}

.ans-drawer-item__name {
	font-family: var(--ans-font-serif);
	font-size: .875rem;
	line-height: 1.25;
	font-weight: 500;
	color: var(--ans-text);
}

.ans-drawer-item__name a:hover {
	text-decoration: underline;
}

.ans-drawer-item__remove {
	color: var(--stone-400);
	transition: color .15s;
}

.ans-drawer-item__remove:hover {
	color: var(--stone-800);
}

.ans-drawer-item__remove .ans-icon {
	width: 1rem;
	height: 1rem;
}

.ans-drawer-item__meta {
	margin-top: .25rem;
	font-size: .75rem;
	color: var(--ans-muted);
}

.ans-drawer-item__bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: .5rem;
	padding-top: .5rem;
}

.ans-drawer-item__qty-single {
	font-size: .75rem;
	color: var(--stone-500);
}

.ans-drawer-item__price {
	font-family: var(--ans-font-serif);
	font-size: .875rem;
	font-weight: 600;
	color: var(--ans-text);
}

.ans-drawer__foot {
	padding: 1.5rem;
	border-top: 1px solid var(--ans-border);
	background: var(--ans-bg);
}

.ans-drawer__foot > * + * {
	margin-top: 1rem;
}

.ans-drawer__ctas {
	padding-top: .5rem;
}

.ans-drawer__ctas > * + * {
	margin-top: .5rem;
}

.ans-drawer__ctas .ans-btn--primary {
	padding-top: .875rem;
	padding-bottom: .875rem;
}

.ans-drawer__ctas .ans-btn--outline:hover {
	background: var(--stone-100);
}

.ans-drawer__note {
	font-size: 10px;
	text-align: center;
	color: var(--ans-muted);
}

body.ans-lock {
	overflow: hidden;
}

/* Coupon */
.ans-coupon__label {
	display: block;
	margin-bottom: .5rem;
	font-size: .75rem;
	font-weight: 500;
	color: var(--ans-text);
}

.ans-coupon__applied {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: .5rem;
	padding: .625rem;
	background: var(--ans-oat);
	border: 1px solid var(--ans-border-coupon);
	border-radius: .25rem;
	font-size: .75rem;
}

.ans-coupon__applied + .ans-coupon__applied {
	margin-top: .5rem;
}

.ans-coupon--cart .ans-coupon__applied {
	padding: .75rem;
	border-radius: 0;
}

.ans-coupon__applied-code {
	display: flex;
	align-items: center;
	gap: .5rem;
	color: var(--ans-text-2);
}

.ans-coupon__applied-code .ans-icon {
	width: .875rem;
	height: .875rem;
	color: var(--ans-brand);
}

.ans-coupon--cart .ans-coupon__applied-code .ans-icon {
	width: 1rem;
	height: 1rem;
}

.ans-coupon__code {
	font-weight: 600;
}

.ans-coupon--cart .ans-coupon__code {
	font-weight: 700;
	color: var(--ans-text);
}

.ans-coupon__applied-note {
	color: var(--stone-600);
}

.ans-coupon__form {
	display: flex;
	gap: .5rem;
}

.ans-coupon__input {
	flex: 1;
	min-width: 0;
	padding: .5rem .75rem !important;
	text-transform: uppercase;
	letter-spacing: .05em;
}

.ans-coupon__input::placeholder {
	text-transform: none;
	letter-spacing: 0;
}

.ans-coupon__btn {
	padding: .5rem .875rem;
	background: var(--stone-200);
	color: var(--ans-text);
	font-size: .75rem;
	text-transform: uppercase;
	letter-spacing: .05em;
	font-weight: 500;
	transition: background-color .15s;
}

.ans-coupon--cart .ans-coupon__btn {
	padding: .5rem 1rem;
	font-weight: 600;
}

.ans-coupon__btn:hover {
	background: var(--stone-300);
}

.ans-coupon__feedback {
	margin-top: .375rem;
	font-size: 11px;
}

.ans-coupon__feedback.is-success {
	color: var(--emerald-700);
}

.ans-coupon__feedback.is-error {
	color: var(--amber-800);
}

.ans-coupon .coupon-error-notice {
	color: var(--amber-800);
}

/* Totals (drawer & order panels) */
.ans-totals {
	font-size: .75rem;
	line-height: 1rem;
	color: var(--ans-text-4);
}

.ans-totals--drawer {
	padding-top: .5rem;
	border-top: 1px solid rgb(231 226 217 / .6);
}

.ans-totals__row {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
}

.ans-totals__row + .ans-totals__row {
	margin-top: .375rem;
}

.ans-totals--order {
	padding-top: 1rem;
	border-top: 1px solid var(--ans-border);
}

.ans-totals--order .ans-totals__row + .ans-totals__row {
	margin-top: .5rem;
}

.ans-totals__strong {
	color: var(--ans-text);
	font-weight: 500;
}

.ans-totals__row--discount {
	color: var(--emerald-800);
}

.ans-totals__row--total {
	padding-top: .5rem;
	border-top: 1px solid var(--ans-border);
	font-family: var(--ans-font-serif);
	font-size: 1rem;
	line-height: 1.5rem;
	font-weight: 600;
	color: var(--ans-text);
}

.ans-totals--order .ans-totals__row--total {
	padding-top: .75rem;
}

.ans-totals dd small,
.ans-totals dd .includes_tax {
	display: block;
	font-family: var(--ans-font-sans);
	font-size: 10px;
	font-weight: 400;
	color: var(--ans-muted);
}

/* Table-based totals (cart summary & checkout) */
.ans-totals-table {
	font-size: .75rem;
	line-height: 1rem;
	color: var(--ans-text-4);
	border-top: 1px solid var(--ans-border);
}

.ans-totals-table th,
.ans-totals-table td {
	padding: .375rem 0;
	font-weight: 400;
	text-align: left;
	vertical-align: top;
}

.ans-totals-table tr:first-child th,
.ans-totals-table tr:first-child td {
	padding-top: 1rem;
}

.ans-totals-table td {
	text-align: right;
}

.ans-totals-table .cart-subtotal td {
	color: var(--ans-text);
	font-weight: 500;
}

.ans-totals-table .cart-discount {
	color: var(--emerald-800);
}

.ans-totals-table .order-total th,
.ans-totals-table .order-total td {
	padding-top: .75rem;
	border-top: 1px solid var(--ans-border);
	font-family: var(--ans-font-serif);
	font-size: 1rem;
	line-height: 1.5rem;
	font-weight: 600;
	color: var(--ans-text);
}

.ans-totals-table .order-total small,
.ans-totals-table .includes_tax {
	display: block;
	font-family: var(--ans-font-sans);
	font-size: 10px;
	font-weight: 400;
	color: var(--ans-muted);
}

.ans-totals-table #shipping_method li {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: .375rem;
}

.ans-totals-table #shipping_method li + li {
	margin-top: .25rem;
}

.ans-totals-table #shipping_method input {
	width: .875rem;
	height: .875rem;
}

.ans-totals-table .woocommerce-shipping-destination {
	margin-top: .375rem;
	font-size: 11px;
	color: var(--ans-muted);
}

.woocommerce-shipping-calculator {
	margin-top: .375rem;
	text-align: left;
}

.shipping-calculator-button {
	color: var(--ans-brand);
	text-decoration: underline;
	font-size: 11px;
}

.shipping-calculator-form {
	margin-top: .75rem;
}

.shipping-calculator-form > p + p {
	margin-top: .5rem;
}

.shipping-calculator-form .button {
	width: 100%;
	padding: .625rem;
	letter-spacing: .1em;
}

/* 14. Checkout
   ========================================================================== */

.ans-checkout-head,
.ans-account-head {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: .75rem;
	padding-bottom: 1.5rem;
	margin-bottom: 2rem;
	border-bottom: 1px solid var(--ans-border);
}

.ans-account-head {
	margin-bottom: 2.5rem;
}

@media (min-width: 640px) {
	.ans-checkout-head,
	.ans-account-head {
		flex-direction: row;
		align-items: center;
	}
}

.ans-checkout-head__secure {
	display: flex;
	align-items: center;
	gap: .5rem;
	font-size: .75rem;
	color: var(--ans-text-4);
}

.ans-checkout-head__secure .ans-icon {
	width: .875rem;
	height: .875rem;
	color: var(--stone-700);
}

.ans-step > * + * {
	margin-top: 1rem;
}

.ans-step__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: .5rem;
	padding-bottom: .75rem;
	border-bottom: 1px solid var(--ans-border);
}

.ans-step__title {
	font-family: var(--ans-font-serif);
	font-size: 1.125rem;
	line-height: 1.75rem;
	color: var(--ans-text);
}

.ans-step > .ans-step__title {
	padding-bottom: .75rem;
	border-bottom: 1px solid var(--ans-border);
}

.ans-step__flag {
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: .05em;
	font-weight: 600;
	color: var(--ans-brand);
}

.ans-step__panel > * + * {
	margin-top: 1rem;
}

.ans-step__panel {
	padding-top: .5rem;
}

.ans-step__intro {
	font-size: .75rem;
	line-height: 1.625;
	color: var(--ans-text-4);
}

.ans-step__login-actions {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
}

/* Joined address + "different address"/notes cards */
.ans-step--address:has(+ .ans-step--extra) {
	border-bottom: 0;
	padding-bottom: .5rem;
}

.ans-step--extra > * + * {
	margin-top: 1rem;
}

.ans-step--extra .woocommerce-shipping-fields:empty,
.ans-step--extra .woocommerce-additional-fields:empty {
	display: none;
}

.ans-step__toggle {
	padding-top: .25rem;
}

/* Field grids */
.ans-fields {
	display: grid;
	gap: 1rem;
	grid-template-columns: minmax(0, 1fr);
}

.ans-fields > .form-row {
	grid-column: 1 / -1;
}

.ans-fields .form-row.hidden,
.ans-fields .form-row[style*="display: none"] {
	display: none;
}

@media (min-width: 640px) {
	.ans-fields--2,
	.ans-fields--contact {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ans-fields--2 > .form-row,
	.ans-fields--contact > .form-row {
		grid-column: auto;
	}

	.ans-fields--contact #billing_email_field { order: 1; }

	.ans-fields--contact #billing_phone_field { order: 2; }

	.ans-fields--contact #billing_first_name_field { order: 3; }

	.ans-fields--contact #billing_last_name_field { order: 4; }

	.ans-fields--address {
		grid-template-columns: repeat(6, minmax(0, 1fr));
	}

	.ans-fields--address > .form-row {
		grid-column: span 6 / span 6;
		order: 20;
	}

	.ans-fields--address > .form-row-first,
	.ans-fields--address > .form-row-last {
		grid-column: span 3 / span 3;
	}

	.ans-fields--address > [id$="_first_name_field"] { order: 1; }

	.ans-fields--address > [id$="_last_name_field"] { order: 2; }

	.ans-fields--address > [id$="_company_field"] { order: 3; }

	.ans-fields--address > [id$="_address_1_field"] { order: 4; grid-column: span 4 / span 4; }

	.ans-fields--address > [id$="_address_2_field"] { order: 5; grid-column: span 2 / span 2; }

	.ans-fields--address > [id$="_city_field"] { order: 6; grid-column: span 2 / span 2; }

	.ans-fields--address > [id$="_state_field"] { order: 7; grid-column: span 2 / span 2; }

	.ans-fields--address > [id$="_postcode_field"] { order: 8; grid-column: span 2 / span 2; }

	.ans-fields--address > [id$="_country_field"] { order: 9; }

	.ans-fields--address > [id$="_phone_field"] { order: 10; }

	/* Stretch whichever of city/state/postcode remain when a country hides one. */
	.ans-fields--address > [id$="_city_field"]:has(~ [id$="_state_field"][style*="none"]),
	.ans-fields--address > [id$="_city_field"]:has(~ [id$="_state_field"].hidden) {
		grid-column: span 4 / span 4;
	}
}

.ans-fields--address .form-row label .screen-reader-text + span,
.woocommerce-billing-fields .form-row label {
	white-space: normal;
}

/* 17. Account
   ========================================================================== */

/* WooCommerce tables (orders list, order details) */
.shop_table:not(.ans-review):not(.ans-totals-table) {
	font-size: .75rem;
	border: 1px solid var(--ans-border);
	background: var(--ans-bg);
}

.shop_table:not(.ans-review):not(.ans-totals-table) th,
.shop_table:not(.ans-review):not(.ans-totals-table) td {
	padding: .75rem;
	text-align: left;
	border-bottom: 1px solid var(--ans-border);
	vertical-align: middle;
}

.shop_table:not(.ans-review):not(.ans-totals-table) thead th {
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: .05em;
	font-weight: 600;
	color: var(--ans-text);
	background: var(--ans-sand);
}

.woocommerce-privacy-policy-text {
	font-size: 11px;
	color: var(--ans-muted);
}

.woocommerce-privacy-policy-text a {
	text-decoration: underline;
}

.woocommerce-form-login .ans-step__login-actions {
	margin-top: 1rem;
}

.woocommerce-ResetPassword,
.woocommerce-form-login,
.lost_reset_password {
	max-width: 36rem;
}

.lost_reset_password > * + * {
	margin-top: 1rem;
}

/* 18. Blog, pages, 404
   ========================================================================== */

.ans-page-links {
	margin-top: 2rem;
	font-size: .875rem;
}

/* WordPress core alignment & captions */
.alignleft {
	float: left;
	margin: 0 1.5rem 1rem 0;
}

.alignright {
	float: right;
	margin: 0 0 1rem 1.5rem;
}

.aligncenter {
	margin-left: auto;
	margin-right: auto;
}

.wp-caption-text,
figcaption {
	font-size: .75rem;
	color: var(--ans-muted);
	margin-top: .5rem;
	text-align: center;
}

.sticky,
.bypostauthor,
.gallery-caption {
	display: block;
}

/* 19. Motion & print
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
	}
}

@media print {
	.ans-header,
	.ans-footer,
	.ans-drawer,
	.ans-thanks__actions,
	.ans-thanks__back,
	.ans-thanks__guest .ans-text-link,
	.woocommerce-store-notice,
	#wpadminbar {
		display: none !important;
	}

	body {
		background: #fff;
	}

	.ans-page {
		padding: 0;
	}

	.ans-panel,
	.ans-info-card {
		break-inside: avoid;
	}
}

/* 20. Legal pages (privacy, refund & returns, terms)
   ========================================================================== */

.ans-prose--legal {
	font-size: .875rem;
	line-height: 1.75;
}

.ans-prose--legal > * + * {
	margin-top: .875rem;
}

.ans-prose--legal strong {
	color: var(--ans-text);
	font-weight: 600;
}

/* 21. ☰ menu panel — category image tiles
   ========================================================================== */

.ans-mtiles {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: .75rem;
}

@media (min-width: 640px) {
	.ans-mtiles {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 1rem;
	}
}

.ans-mtile {
	display: block;
	background: var(--ans-bg);
	border: 1px solid var(--ans-border);
	box-shadow: var(--ans-shadow-sm);
	transition: box-shadow .15s;
}

.ans-mtile:hover {
	box-shadow: var(--ans-shadow-md);
}

.ans-mtile__media {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--ans-sand);
}

.ans-mtile__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .5s var(--ans-ease);
}

.ans-mtile:hover .ans-mtile__media img {
	transform: scale(1.05);
}

.ans-mtile__letter {
	font-family: var(--ans-font-serif);
	font-size: 2.25rem;
	line-height: 1;
	color: var(--ans-brand);
	opacity: .55;
}

.ans-mtile__name {
	display: block;
	padding: .625rem .75rem 0;
	font-family: var(--ans-font-serif);
	font-size: .9375rem;
	line-height: 1.25rem;
	color: var(--ans-text);
}

.ans-mtile__count {
	display: block;
	padding: .125rem .75rem .625rem;
	font-size: 10px;
	line-height: 1rem;
	text-transform: uppercase;
	letter-spacing: .1em;
	font-weight: 700;
	color: var(--ans-brand);
}

.ans-mlinks {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: .75rem 1.5rem;
	margin-top: 1.25rem;
	padding-top: 1rem;
	border-top: 1px solid var(--ans-border);
}

.ans-mlinks a {
	display: inline-flex;
	align-items: center;
	gap: .375rem;
	font-size: .75rem;
	line-height: 1rem;
	text-transform: uppercase;
	letter-spacing: .16em;
	font-weight: 600;
	color: var(--ans-text);
	transition: color .15s;
}

.ans-mlinks a:hover {
	color: var(--ans-brand);
}

.ans-mlinks .ans-icon {
	width: .875rem;
	height: .875rem;
}

/* 22. Information pages (about, contact, FAQ, shipping, size & care guides)
   ========================================================================== */

.ans-prose .ans-info-table td,
.ans-prose .ans-info-table th {
	border-left: 0;
	border-right: 0;
	border-top: 0;
}

/* 23. Help & policy links
   ========================================================================== */

.ans-help-line {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .375rem;
	font-size: .75rem;
	color: var(--ans-muted);
}

.ans-help-line .ans-icon {
	width: 1rem;
	height: 1rem;
	color: var(--ans-brand);
}

.ans-help-line a,
.ans-policy-links a {
	color: var(--ans-brand);
	font-weight: 600;
	text-decoration: underline;
}

.ans-help-line a:hover,
.ans-policy-links a:hover {
	color: var(--ans-text);
}

.ans-help-line--center {
	justify-content: center;
	margin-top: 2.5rem;
}

.ans-policy-links--summary {
	display: flex;
	align-items: flex-start;
	gap: .5rem;
	font-size: 11px;
	line-height: 1.5;
	color: var(--ans-muted);
}

.ans-policy-links--summary .ans-icon {
	width: 1rem;
	height: 1rem;
	flex-shrink: 0;
	color: var(--stone-500);
}

.ans-drawer__note.ans-policy-links {
	margin-top: .25rem;
}

/* 24. Quick add panel (card "Add" button)
   Revealed upward from the card's bottom edge, over the card.
   ========================================================================== */

.ans-card {
	position: relative;
}

.ans-card.is-adding .ans-card__cta {
	opacity: 0;
	pointer-events: none;
}

.ans-card__configure.is-loading {
	opacity: .5;
	pointer-events: none;
}

/* Dim the photo behind the open panel so the panel stands out. */
.ans-card__media::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 3; /* Above the badge and colour label. */
	background: rgb(28 25 23 / .35);
	opacity: 0;
	pointer-events: none;
	transition: opacity .6s ease;
}

.ans-card.is-adding .ans-card__media::after {
	opacity: 1;
}

/* Frame: clips the drawer to the card; the top padding leaves room for its shadow. */
.ans-qa {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 5;
	max-height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding-top: 1.5rem;
	overflow: hidden;
	pointer-events: none;
}

/* Drawer: slides up from the card's bottom edge, fast at first then easing to a stop. */
.ans-qa__form {
	position: relative;
	display: flex;
	flex-direction: column;
	min-height: 0;
	background: #dce7e3; /* Deeper than --ans-brand-tint so the panel stands apart from the cream page. */
	border: 1px solid rgb(81 121 112 / .45);
	border-bottom: 0;
	box-shadow: 0 -10px 30px -6px rgb(28 25 23 / .28);
	pointer-events: auto;
	transform: translateY(101%);
	transition: transform .45s cubic-bezier(.55, 0, .75, .2);
}

.ans-qa.is-open .ans-qa__form {
	transform: none;
	transition: transform .75s cubic-bezier(.33, 1, .68, 1);
}

/* Handle bar, as on a drawer. */
.ans-qa__form::before {
	content: "";
	position: absolute;
	top: .375rem;
	left: 50%;
	width: 2.25rem;
	height: 3px;
	margin-left: -1.125rem;
	border-radius: 9999px;
	background: rgb(81 121 112 / .4);
}

.ans-qa__scroll {
	min-height: 0;
	overflow-y: auto;
	overscroll-behavior: contain;
	padding: .75rem 1rem 1rem;
}

.ans-qa__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: .5rem 0;
	border-bottom: 1px solid rgb(81 121 112 / .2);
}

.ans-qa__heading,
.ans-qa__label {
	font-size: 11px;
	line-height: 1rem;
	text-transform: uppercase;
	letter-spacing: .12em;
	font-weight: 600;
	color: var(--ans-text-4);
}

.ans-qa__value {
	font-weight: 400;
	color: var(--ans-text);
}

.ans-qa__close {
	margin-right: -.375rem;
	padding: .375rem;
	color: var(--stone-500);
	border-radius: 9999px;
	transition: color .15s, background-color .15s;
}

.ans-qa__close:hover {
	color: var(--stone-900);
	background: rgb(231 229 228 / .6);
}

.ans-qa__close .ans-icon {
	width: 1rem;
	height: 1rem;
}

.ans-qa__group {
	padding-top: .875rem;
}

.ans-qa__group .ans-swatches {
	margin-top: .5rem;
}

.ans-qa__rows {
	margin: .375rem -.5rem 0;
}

.ans-qa__row {
	display: flex;
	align-items: center;
	gap: .75rem;
	min-height: 2.75rem;
	padding: 0 .5rem;
	cursor: pointer;
	transition: background-color .2s;
}

.ans-qa__row:hover,
.ans-qa__row.is-active {
	background: #fff;
}

.ans-qa__opt {
	flex: 1;
	min-width: 0;
	padding: .5rem 0;
	text-align: left;
	font-size: .8125rem;
	line-height: 1.25rem;
	color: var(--ans-text);
}

.ans-qa__opt-name {
	font-weight: 600;
}

.ans-qa__opt-desc {
	margin-left: .25rem;
	font-size: .75rem;
	color: var(--ans-muted);
}

.ans-qa__row-price {
	flex-shrink: 0;
	font-size: .75rem;
	font-weight: 600;
	color: var(--ans-text);
}

.ans-qa__row.is-unavailable {
	opacity: .45;
}

.ans-qa__row.is-unavailable .ans-qa__row-price {
	font-weight: 400;
	color: var(--ans-muted);
}

/* Compact stepper: − (1) + */
.ans-qa .quantity {
	align-items: center;
	border: 0;
	background: transparent;
}

.ans-qa .quantity .qty {
	width: 1.625rem;
	height: 1.625rem;
	padding: 0;
	border-radius: 9999px;
	background: var(--ans-text);
	color: var(--ans-bg);
	font-size: .75rem;
}

.ans-qa .ans-qty-btn {
	padding: .375rem;
	border-radius: 9999px;
}

/* "Label ··· value" lines: fixed colour/size and quantity. */
.ans-qa__line {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	min-height: 2.25rem;
	padding-top: .875rem;
}

.ans-qa__fixed {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: .25rem .75rem;
	font-size: .8125rem;
	font-weight: 600;
	color: var(--ans-text);
}

.ans-qa__fixed-item {
	display: inline-flex;
	align-items: center;
	gap: .375rem;
}

.ans-qa__dot {
	width: .875rem;
	height: .875rem;
	border-radius: 9999px;
	box-shadow: inset 0 0 0 1px rgb(28 25 23 / .15);
}

.ans-qa__qty:has(input[type="hidden"]) {
	display: none;
}

.ans-qa__msg {
	margin-top: .75rem;
	font-size: .75rem;
	color: var(--ans-text-4);
}

.ans-qa__msg.is-error {
	color: var(--red-800);
}

.ans-qa__submit {
	flex-shrink: 0;
	width: 100%;
	padding: .9375rem 1rem;
	background: var(--ans-brand);
	color: var(--ans-bg);
	font-size: .75rem;
	line-height: 1rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .15em;
	transition: background-color .15s;
}

.ans-qa__submit:hover {
	background: var(--ans-brand-dark);
}

.ans-qa__submit.is-loading {
	opacity: .7;
	pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
	.ans-qa__form,
	.ans-qa.is-open .ans-qa__form,
	.ans-card__media::after {
		transition: none;
		animation: none;
	}
}

/* Quick add: photo flying into the header bag, then the bag bumps. */
.ans-fly {
	position: fixed;
	z-index: 100;
	object-fit: cover;
	pointer-events: none;
	box-shadow: 0 10px 25px -5px rgb(28 25 23 / .35);
}

.ans-header__bag.is-bumping .ans-icon {
	animation: ans-bag-bump .5s cubic-bezier(.34, 1.56, .64, 1);
}

.ans-header__bag.is-bumping .ans-cart-count {
	animation: ans-count-pop .5s cubic-bezier(.34, 1.56, .64, 1);
}

@keyframes ans-bag-bump {
	0% { transform: scale(1); }
	40% { transform: scale(1.25) rotate(-8deg); }
	100% { transform: scale(1) rotate(0); }
}

@keyframes ans-count-pop {
	0% { transform: scale(.4); }
	60% { transform: scale(1.3); }
	100% { transform: scale(1); }
}

.ans-qa__submit.is-done {
	background: var(--ans-brand-dark);
}

@media (prefers-reduced-motion: reduce) {
	.ans-header__bag.is-bumping .ans-icon,
	.ans-header__bag.is-bumping .ans-cart-count {
		animation: none;
	}
}

/* 25. Phones: compact two-column product cards and category tiles
   ========================================================================== */

@media (max-width: 639px) {
	.ans-card__body {
		padding-top: .625rem;
	}

	.ans-card__body > * + * {
		margin-top: .25rem;
	}

	.ans-card__title,
	.ans-card--home .ans-card__title {
		font-size: .9375rem;
		line-height: 1.3;
	}

	.ans-card__sub {
		font-size: 11px;
	}

	.ans-swatches__count {
		display: none;
	}

	.ans-card__foot {
		gap: .5rem;
		margin-top: .5rem;
		padding-top: .5rem;
	}

	.ans-card__price {
		font-size: .875rem;
		line-height: 1.25rem;
	}

	.ans-card__configure {
		gap: .25rem;
		letter-spacing: .06em;
	}

	.ans-card .ans-badge,
	.ans-card__color {
		font-size: 9px;
		padding: 0 .375rem;
	}

	.ans-card .ans-badge {
		top: .5rem;
		left: .5rem;
	}

	.ans-card__color {
		left: .5rem;
		bottom: .5rem;
	}

	/* Quick-add panel in a narrow card */
	.ans-qa__scroll {
		padding: .625rem .625rem .75rem;
	}

	.ans-qa__line {
		gap: .5rem;
		min-height: 2rem;
		padding-top: .625rem;
	}

	.ans-qa__heading,
	.ans-qa__label {
		font-size: 10px;
		letter-spacing: .08em;
	}

	.ans-qa__fixed,
	.ans-qa__opt {
		font-size: .75rem;
	}

	.ans-qa__opt-desc {
		display: block;
		margin-left: 0;
		font-size: 10px;
	}

	.ans-qa__group {
		padding-top: .625rem;
	}

	.ans-qa__rows {
		margin: .25rem -.375rem 0;
	}

	.ans-qa__row {
		gap: .375rem;
		min-height: 2.25rem;
		padding: 0 .375rem;
	}

	.ans-qa .ans-qty-btn {
		padding: .25rem;
	}

	.ans-qa__submit {
		padding: .75rem .5rem;
		font-size: 11px;
		letter-spacing: .08em;
	}
}

/* Sign-up forms (newsletter and arrival alerts, inc/newsletter.php). */
.ans-sub__hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.ans-sub__fields {
	display: grid;
	gap: .75rem;
}

.ans-sub__field {
	display: block;
	text-align: left;
}

.ans-sub__label {
	display: block;
	margin-bottom: .375rem;
	font-size: 11px;
	line-height: 1rem;
	font-weight: 600;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--ans-text-3);
}

.ans-sub__label em {
	font-style: normal;
	font-weight: 400;
	letter-spacing: .02em;
	text-transform: none;
	color: var(--ans-muted);
}

.ans-sub__field input {
	width: 100%;
}

/* Inputs and button share one height so they line up in a row. */
.ans-sub__field input,
.ans-sub__btn {
	height: 2.75rem;
}

.ans-sub__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding-block: 0;
	white-space: nowrap;
}

/* "On WhatsApp" tick box under the mobile field. */
.ans-sub__check {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	justify-self: start;
	font-size: .8125rem;
	line-height: 1.25rem;
	color: var(--ans-text-3);
	cursor: pointer;
	text-align: left;
}

.ans-sub__check input {
	width: 1rem;
	height: 1rem;
	margin: 0;
	accent-color: var(--ans-brand-dark);
}

.ans-sub__check .ans-icon {
	width: 1rem;
	height: 1rem;
	color: #16a34a;
}

.ans-sub__note {
	margin-top: .625rem;
	font-size: .75rem;
	line-height: 1.125rem;
	color: var(--ans-muted);
}

.ans-sub__msg {
	display: flex;
	align-items: flex-start;
	gap: .5rem;
	margin-bottom: .75rem;
	padding: .75rem 1rem;
	font-size: .875rem;
	line-height: 1.375;
	text-align: left;
	border: 1px solid;
}

.ans-sub__msg .ans-icon {
	flex-shrink: 0;
	width: 1.125rem;
	height: 1.125rem;
}

.ans-sub__msg--success {
	background: var(--ans-brand-tint);
	border-color: rgb(81 121 112 / .35);
	color: var(--ans-brand-dark);
}

.ans-sub__msg--error {
	background: #fef2f2;
	border-color: #fecaca;
	color: #991b1b;
}

/* Name/email/mobile side by side with the button once there is room. */
@media (min-width: 640px) {
	.ans-sub--row .ans-sub__fields {
		grid-template-columns: 1fr 1fr auto;
		align-items: end;
	}

	/* Row form: the tick box goes on its own line under the fields. */
	.ans-sub--row .ans-sub__check {
		grid-column: 1 / -1;
		order: 1;
	}

	.ans-sub--full .ans-sub__check {
		grid-column: 1 / -1;
		justify-self: end;
		margin-top: -.25rem;
	}

	.ans-sub--full .ans-sub__fields {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		align-items: end;
	}

	.ans-sub--full .ans-sub__btn {
		grid-column: 1 / -1;
		justify-self: center;
		min-width: 14rem;
	}
}

/* Compact (footer): one field and the button joined in a row. */
.ans-sub--compact .ans-sub__fields {
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 0;
}

.ans-footer__newsletter .ans-sub__note {
	color: rgb(255 255 255 / .6);
}

.ans-footer__newsletter .ans-sub__msg--success {
	background: rgb(255 255 255 / .12);
	border-color: rgb(255 255 255 / .3);
	color: #fff;
}
