/* Aion Plus Store. Colours come from the theme's custom properties. */

.aevum-ribbon {
	background: var(--ap-green, #052f25);
	color: var(--ap-cream, #f6f1e6);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.01em;
	line-height: 1.4;
	text-align: center;
}
.aevum-ribbon .container { padding-block: 10px; }

.aevum-offer-line {
	margin: 0 0 18px;
	padding: 10px 14px;
	border-radius: 10px;
	background: var(--ap-gold-soft, #f3ebdb);
	color: var(--ap-ink, #1d2622);
	font-size: 14px;
	line-height: 1.5;
}
.aevum-offer-line--cart { max-width: 760px; }

/* Category chips ----------------------------------------------------------------------------- */
.aevum-shop-intro { max-width: 720px; margin: 0 0 22px; color: var(--ap-muted, #56635c); font-size: 17px; }
.aevum-cats { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 34px; }
.aevum-cats__chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 9px 16px;
	border: 1px solid var(--ap-line, #e3dccd);
	border-radius: 999px;
	background: #fff;
	color: var(--ap-ink, #1d2622);
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	transition: border-color 0.15s ease, background-color 0.15s ease;
}
.aevum-cats__chip::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--chip, var(--ap-green, #052f25)); }
.aevum-cats__chip span { color: var(--ap-muted, #56635c); font-weight: 500; }
.aevum-cats__chip:hover { border-color: var(--ap-green, #052f25); }
.aevum-cats__chip.is-current { border-color: var(--ap-green, #052f25); background: var(--ap-green, #052f25); color: #fff; }
.aevum-cats__chip.is-current span { color: rgba(255, 255, 255, 0.7); }

/* Cards --------------------------------------------------------------------------------------- */
.woocommerce ul.products li.product { position: relative; }
.aevum-card-badge {
	position: absolute;
	top: 14px;
	left: 14px;
	z-index: 2;
	padding: 4px 10px;
	border-radius: 999px;
	background: var(--ap-gold-text, #80602a);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
.aevum-card-meta { margin: 4px 0 8px; color: var(--ap-muted, #56635c); font-size: 13px; }
.aevum-card-sizes { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; letter-spacing: 0.02em; color: var(--cat-ink, var(--ap-muted, #56635c)); }
.aevum-card-cat { position: absolute; top: 24px; left: 26px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; color: var(--cat-ink, var(--ap-muted, #56635c)); font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.aevum-card-cat::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--cat, currentColor); }
.woocommerce ul.products li.product .aevum-card-badge { top: 44px; left: 26px; }

/* Buy box ------------------------------------------------------------------------------------- */
.aevum-has-strengths .variations select,
.aevum-has-strengths .reset_variations { display: none !important; }
.aevum-has-strengths table.variations { margin-bottom: 0; }
.aevum-has-strengths table.variations th.label { display: block; padding: 0 0 8px; font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ap-muted, #56635c); }
.aevum-has-strengths table.variations td.value { display: block; padding: 0; }
.aevum-strengths { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.aevum-strength {
	padding: 10px 18px;
	border: 1px solid var(--ap-line, #e3dccd);
	border-radius: 999px;
	background: #fff;
	color: var(--ap-ink, #1d2622);
	font-family: inherit;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}
.aevum-strength:hover { border-color: var(--ap-green, #052f25); }
.aevum-strength[aria-pressed="true"] { border-color: var(--ap-green, #052f25); background: var(--ap-green, #052f25); color: #fff; }

.aevum-ladder { margin: 6px 0 18px; }
.aevum-ladder__label { margin: 0 0 8px; font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ap-muted, #56635c); }
.aevum-ladder__rungs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.aevum-rung {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 2px;
	padding: 12px 14px;
	border: 1px solid var(--ap-line, #e3dccd);
	border-radius: 12px;
	background: #fff;
	font-family: inherit;
	text-align: left;
	cursor: pointer;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.aevum-rung:hover { border-color: var(--ap-green, #052f25); }
.aevum-rung[aria-pressed="true"] { border-color: var(--ap-green, #052f25); box-shadow: inset 0 0 0 1px var(--ap-green, #052f25); background: var(--ap-green-soft, #e5eee8); }
.aevum-rung__count { font-size: 13px; font-weight: 600; color: var(--ap-muted, #56635c); }
.aevum-rung__price { font-size: 18px; font-weight: 700; color: var(--ap-ink, #1d2622); }
.aevum-rung__price--pending { font-size: 13px; font-weight: 500; color: var(--ap-muted, #56635c); }
.aevum-rung__per { font-size: 12px; color: var(--ap-muted, #56635c); }
.aevum-rung__save {
	position: absolute;
	top: -9px;
	right: 10px;
	padding: 2px 8px;
	border-radius: 999px;
	background: var(--ap-gold-text, #80602a);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
}
@media (max-width: 420px) { .aevum-ladder__rungs { grid-template-columns: 1fr; } }

.woocommerce div.product form.cart .quantity { margin-right: 10px; }
.aevum-product-statement { margin: 16px 0 0; color: var(--ap-muted, #56635c); font-size: 13px; line-height: 1.5; }
.aevum-includes { margin: 16px 0 0; padding: 16px 18px; border: 1px solid var(--ap-line, #e3dccd); border-radius: 12px; background: #fff; list-style: none; font-size: 14px; line-height: 1.5; }
.aevum-includes li { position: relative; margin: 0 0 8px; padding-left: 24px; }
.aevum-includes li:last-child { margin-bottom: 0; }
.aevum-includes li::before { content: ""; position: absolute; left: 0; top: 7px; width: 7px; height: 7px; border-radius: 50%; background: var(--ap-gold, #9e7637); }
.aevum-includes a { color: var(--ap-green, #052f25); }

/* Tabs ---------------------------------------------------------------------------------------- */
.aevum-facts { width: 100%; max-width: 760px; border-collapse: collapse; font-size: 15px; }
.aevum-facts th { width: 200px; padding: 12px 14px; border: 1px solid var(--ap-line, #e3dccd); background: var(--ap-cream, #f6f1e6); color: var(--ap-green, #052f25); text-align: left; vertical-align: top; font-weight: 600; }
.aevum-facts td { padding: 12px 14px; border: 1px solid var(--ap-line, #e3dccd); background: #fff; overflow-wrap: anywhere; }
.aevum-facts ul { margin: 0; padding-left: 18px; }
@media (max-width: 600px) { .aevum-facts th { width: 120px; } }

.aevum-coa-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.aevum-coa-table th,
.aevum-coa-table td { padding: 10px 12px; border-bottom: 1px solid var(--ap-line, #e3dccd); text-align: left; vertical-align: top; }
.aevum-coa-table th { color: var(--ap-muted, #56635c); font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.aevum-coa-table code { font-size: 13px; }
.aevum-coa-table a { color: var(--ap-green, #052f25); font-weight: 600; }
.aevum-coa-library__intro { font-size: 17px; color: var(--ap-muted, #56635c); }
.aevum-coa-library input[type="search"] { width: 100%; max-width: 420px; padding: 10px 14px; border: 1px solid var(--ap-line, #e3dccd); border-radius: 10px; font: inherit; font-size: 16px; }
.aevum-coa-group { margin: 34px 0 0; }
.aevum-coa-group h2 { display: flex; align-items: baseline; gap: 10px; margin: 0 0 10px !important; }
.aevum-coa-group h2 span { color: var(--ap-muted, #56635c); font-family: var(--ap-sans, sans-serif); font-size: 14px; font-weight: 600; }
@media (max-width: 640px) {
	.aevum-coa-table thead { display: none; }
	.aevum-coa-table tr { display: block; padding: 10px 0; border-bottom: 1px solid var(--ap-line, #e3dccd); }
	.aevum-coa-table td { display: inline-block; padding: 2px 10px 2px 0; border: 0; }
}

/* Cart ---------------------------------------------------------------------------------------- */
.aevum-shipping-note td::before { display: none !important; }
.aevum-free-badge { display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 999px; background: var(--ap-green-soft, #e5eee8); color: var(--ap-green, #052f25); font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; vertical-align: middle; }
.aevum-free-price,
.aevum-free-qty { font-weight: 600; }
.aevum-addons { margin: 28px 0 0; }
.aevum-addons__title { margin: 0 0 14px; font-size: 22px; }
.aevum-addons__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.aevum-addon { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border: 1px solid var(--ap-line, #e3dccd); border-radius: 12px; background: #fff; }
.aevum-addon img { width: 64px; height: 64px; object-fit: contain; border-radius: 8px; background: var(--ap-cream, #f6f1e6); }
.aevum-addon > div { flex: 1; display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.aevum-addon .button { padding: 9px 16px !important; }

/* Sticky buy bar ----------------------------------------------------------------------------- */
.aevum-sticky-buy {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 90;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
	border-top: 1px solid var(--ap-line, #e3dccd);
	background: rgba(251, 249, 244, 0.97);
	box-shadow: 0 -10px 30px rgba(15, 30, 25, 0.1);
}
.aevum-sticky-buy[hidden] { display: none; }
.aevum-sticky-buy__text { flex: 1; display: flex; flex-direction: column; min-width: 0; font-size: 13px; line-height: 1.3; }
.aevum-sticky-buy__text strong { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 14px; }
.aevum-sticky-buy__button { flex: none; }
@media (min-width: 901px) { .aevum-sticky-buy { display: none !important; } }

/* One-tap add --------------------------------------------------------------------------------- */
.woocommerce ul.products li.product a img,
.aevum-tile__img img { background: var(--cat-wash, var(--ap-cream, #f6f1e6)) !important; }
.aevum-plus { position: absolute; top: 14px; right: 14px; z-index: 3; }
.aevum-plus--tile,
.aevum-plus--row { position: static; flex: none; }
.aevum-plus__add {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 1px solid var(--ap-line, #e3dccd);
	border-radius: 50%;
	background: #fff;
	color: var(--ap-green, #052f25);
	box-shadow: 0 6px 16px rgba(15, 30, 25, 0.12);
	cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.aevum-plus__add:hover { background: var(--ap-green, #052f25); color: #fff; transform: scale(1.06); }
.aevum-plus__stepper {
	display: none;
	align-items: center;
	height: 40px;
	border-radius: 999px;
	background: var(--ap-green, #052f25);
	color: #fff;
	box-shadow: 0 6px 16px rgba(15, 30, 25, 0.18);
}
.aevum-plus__stepper button { width: 38px; height: 40px; padding: 0; border: 0; background: none; color: inherit; font-size: 20px; font-weight: 500; cursor: pointer; }
.aevum-plus__stepper button:hover { color: var(--ap-gold-light, #d8b97f); }
.aevum-plus__count { min-width: 18px; font-size: 15px; font-weight: 700; text-align: center; }
.aevum-plus.is-in-cart .aevum-plus__add { display: none; }
.aevum-plus.is-in-cart .aevum-plus__stepper { display: inline-flex; }
.aevum-sheet {
	position: absolute;
	top: 48px;
	right: 0;
	z-index: 5;
	width: 220px;
	padding: 10px;
	border: 1px solid var(--ap-line, #e3dccd);
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 18px 40px rgba(15, 30, 25, 0.18);
	text-align: left;
}
.aevum-sheet[hidden] { display: none; }
.aevum-plus--tile .aevum-sheet { top: auto; bottom: 48px; }
.aevum-sheet__title { margin: 0 0 6px; padding: 0 6px; color: var(--ap-muted, #56635c); font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.aevum-sheet__row { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; width: 100%; padding: 9px 8px; border: 0; border-radius: 9px; background: none; color: var(--ap-ink, #1d2622); font: inherit; font-size: 14px; text-align: left; cursor: pointer; }
.aevum-sheet__row:hover { background: var(--ap-cream, #f6f1e6); }
.aevum-sheet__row span:first-child { font-weight: 600; }
.aevum-sheet__n { color: var(--ap-green, #052f25); font-weight: 600; }
.aevum-sheet__row:disabled { color: var(--ap-muted, #56635c); cursor: default; }
body.aevum-cart-busy .aevum-plus,
body.aevum-cart-busy .aevum-drawer__stepper { opacity: 0.6; pointer-events: none; }

/* Suggestion tiles ---------------------------------------------------------------------------- */
.aevum-tiles { margin: 26px 0 0; }
.aevum-tiles__title { margin: 0 0 12px; color: var(--ap-green, #052f25); font-family: var(--ap-serif, serif); font-size: 22px; font-weight: 600; }
.aevum-tiles__row { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.aevum-tile { position: relative; display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--ap-line, #e3dccd); border-radius: 14px; background: #fff; }
.aevum-tile__img { flex: none; width: 60px; }
.aevum-tile__img img { display: block; width: 60px; height: 60px; border-radius: 10px; object-fit: contain; }
.aevum-tile__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.aevum-tile__name { overflow: hidden; color: var(--ap-ink, #1d2622); font-size: 14px; font-weight: 600; text-decoration: none; text-overflow: ellipsis; white-space: nowrap; }
.aevum-tile__meta { color: var(--ap-muted, #56635c); font-size: 13px; }
.aevum-tile__why { color: var(--ap-muted, #56635c); font-size: 12px; line-height: 1.35; }
.aevum-tiles__eyebrow { margin: 0 0 2px; color: var(--ap-gold-text, #80602a); font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.aevum-tile { align-items: flex-start; }
.aevum-tile .aevum-plus { margin-top: 2px; }
.aevum-tile .aevum-plus__add,
.aevum-tile .aevum-plus__stepper { height: 36px; box-shadow: none; }
.aevum-tile .aevum-plus__add { width: 36px; }
.aevum-tile .aevum-plus__stepper button { width: 32px; height: 36px; }

/* Cart drawer --------------------------------------------------------------------------------- */
.aevum-drawer-overlay { position: fixed; inset: 0; z-index: 99980; background: rgba(10, 30, 22, 0.45); opacity: 0; transition: opacity 0.2s ease; }
.aevum-drawer-overlay.is-open { opacity: 1; }
.aevum-drawer-overlay[hidden] { display: none; }
.aevum-drawer {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	z-index: 99985;
	width: min(440px, 100%);
	overflow-y: auto;
	background: var(--ap-paper, #fbf9f4);
	box-shadow: -20px 0 60px rgba(15, 30, 25, 0.25);
	transform: translateX(100%);
	transition: transform 0.22s ease;
}
.aevum-drawer.is-open { transform: translateX(0); }
.aevum-drawer[hidden] { display: none; }
body.aevum-drawer-open { overflow: hidden; }
.aevum-drawer__body { display: flex; flex-direction: column; gap: 16px; padding: 20px 22px 28px; }
.aevum-drawer__head { display: flex; align-items: center; justify-content: space-between; }
.aevum-drawer__title { margin: 0; color: var(--ap-green, #052f25); font-family: var(--ap-serif, serif); font-size: 26px; font-weight: 600; }
.aevum-drawer__title span { margin-left: 6px; color: var(--ap-muted, #56635c); font-family: var(--ap-sans, sans-serif); font-size: 14px; font-weight: 600; }
.aevum-drawer__close { width: 40px; height: 40px; border: 1px solid var(--ap-line, #e3dccd); border-radius: 50%; background: #fff; color: var(--ap-ink, #1d2622); font-size: 24px; line-height: 1; cursor: pointer; }
.aevum-drawer__badge { display: inline-flex; align-items: center; justify-content: center; min-width: 24px; height: 24px; margin-left: 8px; padding: 0 7px; border-radius: 999px; background: var(--ap-green, #052f25); color: #fff; font-family: var(--ap-sans, sans-serif); font-size: 12px; font-weight: 700; vertical-align: 4px; }
.aevum-drawer__ruo { margin: -8px 0 0; color: var(--ap-muted, #56635c); font-size: 11px; }
.aevum-drawer__ship { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border: 1px solid rgba(77, 201, 122, 0.4); border-radius: 12px; background: rgba(77, 201, 122, 0.1); color: #1f7a43; font-size: 13px; line-height: 1.4; }
.aevum-drawer__ship strong { font-size: 14px; }
.aevum-drawer__empty-title { font-size: 18px; font-weight: 700; color: var(--ap-ink, #1d2622); }
.aevum-drawer__facts { color: var(--ap-muted, #56635c); font-size: 12px; }
.aevum-drawer__facts b { color: #1f7a43; }
.aevum-drawer__side { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.aevum-drawer__price { font-weight: 600; white-space: nowrap; }
.aevum-drawer__price s { color: var(--ap-muted, #56635c); font-weight: 400; margin-right: 4px; }
.aevum-drawer__price b { color: #1f7a43; }
.aevum-drawer__price--free { color: #1f7a43; }
.aevum-drawer__remove { width: 36px; height: 36px; border: 0; background: none; color: var(--ap-muted, #56635c); cursor: pointer; }
.aevum-drawer__remove:hover { color: #b3261e; }
.aevum-drawer__item .aevum-drawer__img img { background: var(--cat-wash, var(--ap-cream, #f6f1e6)) !important; }
.aevum-drawer__totals .is-free-pill { padding: 2px 10px; border-radius: 999px; background: rgba(77, 201, 122, 0.15); color: #1f7a43; font-weight: 700; }
.aevum-drawer__offer { margin: 0; padding: 10px 12px; border-radius: 10px; background: var(--ap-gold-soft, #f3ebdb); font-size: 13px; line-height: 1.5; }
.aevum-drawer__empty { padding: 24px 0; text-align: center; }
.aevum-drawer__empty p { margin: 0 0 14px; color: var(--ap-muted, #56635c); }
.aevum-drawer__items { margin: 0; padding: 0; list-style: none; }
.aevum-drawer__item { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--ap-line, #e3dccd); }
.aevum-drawer__item.is-free { background: linear-gradient(90deg, rgba(229, 238, 232, 0.6), transparent); border-radius: 10px; padding-left: 6px; }
.aevum-drawer__img img { display: block; width: 64px; height: 64px; border-radius: 10px; background: var(--ap-cream, #f6f1e6); object-fit: contain; }
.aevum-drawer__info { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.aevum-drawer__name { font-size: 15px; font-weight: 600; }
.aevum-drawer__meta { color: var(--ap-muted, #56635c); font-size: 13px; }
.aevum-drawer__meta em { color: var(--ap-green, #052f25); font-style: normal; font-weight: 600; }
.aevum-drawer__qty { color: var(--ap-muted, #56635c); font-size: 13px; }
.aevum-drawer__stepper { display: inline-flex; align-items: center; width: max-content; margin-top: 4px; border: 1px solid var(--ap-line, #e3dccd); border-radius: 999px; background: #fff; }
.aevum-drawer__stepper button { width: 32px; height: 32px; border: 0; background: none; color: var(--ap-green, #052f25); font-size: 18px; cursor: pointer; }
.aevum-drawer__stepper span { min-width: 22px; font-size: 14px; font-weight: 700; text-align: center; }
.aevum-drawer__price { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; font-weight: 600; }
.aevum-drawer__free { color: var(--ap-green, #052f25); }
.aevum-drawer__remove { padding: 0; border: 0; background: none; color: var(--ap-muted, #56635c); font-size: 12px; text-decoration: underline; cursor: pointer; }
.aevum-drawer .aevum-tiles { margin-top: 4px; }
.aevum-drawer .aevum-tiles__title { font-size: 18px; }
.aevum-drawer .aevum-tiles__row { grid-template-columns: 1fr; gap: 8px; }
.aevum-drawer__totals { display: grid; gap: 6px; padding: 14px 0 6px; border-top: 1px solid var(--ap-line, #e3dccd); font-size: 14px; }
.aevum-drawer__totals > div { display: flex; justify-content: space-between; }
.aevum-drawer__totals .is-saving { color: var(--ap-green, #052f25); font-weight: 600; }
.aevum-drawer__totals .is-total { padding-top: 8px; border-top: 1px solid var(--ap-line, #e3dccd); font-size: 18px; font-weight: 700; }
.aevum-drawer__checkout { width: 100%; padding: 16px; font-size: 16px; }
/* "Complete the stack" rows (drawer, checkout) */
.aevum-stack { display: grid; gap: 8px; }
.aevum-stack__title { margin: 4px 0 0; color: var(--ap-muted, #56635c); font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.aevum-stack__row { display: grid; grid-template-columns: 44px 1fr auto; gap: 10px; align-items: center; padding: 8px 10px; border: 1px dashed var(--ap-line, #e3dccd); border-radius: 12px; background: #fff; }
.aevum-stack__img img { display: block; width: 44px; height: 44px; border-radius: 8px; background: var(--cat-wash, var(--ap-cream, #f6f1e6)) !important; object-fit: contain; }
.aevum-stack__body { display: flex; flex-direction: column; gap: 1px; min-width: 0; font-size: 13px; }
.aevum-stack__body a,
.aevum-stack__body strong { color: var(--ap-ink, #1d2622); font-weight: 600; text-decoration: none; }
.aevum-stack__body em { color: var(--ap-muted, #56635c); font-size: 12px; font-style: normal; }
.aevum-stack__body > span { color: var(--ap-muted, #56635c); font-size: 12px; }
.aevum-plus--row .aevum-plus__add { width: auto; height: 32px; padding: 0 12px 0 8px; gap: 4px; border-radius: 999px; background: var(--ap-green, #052f25); color: #fff; box-shadow: none; font-size: 13px; font-weight: 700; }
.aevum-plus--row .aevum-plus__add svg { width: 16px; height: 16px; }
.aevum-plus--row .aevum-plus__add:hover { background: var(--ap-green-dark, #021e18); transform: none; }
.aevum-plus--row.is-in-cart .aevum-plus__add { display: inline-flex; }
.aevum-plus--row .aevum-plus__stepper { display: none !important; }
.aevum-drawer__links { display: flex; justify-content: center; gap: 22px; font-size: 14px; }
.aevum-drawer__links a,
.aevum-drawer__links button { padding: 0; border: 0; background: none; color: var(--ap-green, #052f25); font: inherit; font-weight: 600; text-decoration: underline; cursor: pointer; }
.aevum-drawer__note { margin: 0; color: var(--ap-muted, #56635c); font-size: 12px; text-align: center; }

/* Cart page quantity stepper --------------------------------------------------------------- */
.aevum-qty { display: inline-flex; align-items: center; border: 1px solid var(--ap-line, #e3dccd); border-radius: 999px; background: #fff; }
.aevum-qty input.qty { width: 44px !important; border: 0 !important; background: transparent; text-align: center; font-weight: 600; }
.aevum-qty__btn { width: 36px; height: 40px; border: 0; background: none; color: var(--ap-green, #052f25); font-size: 18px; cursor: pointer; }
.woocommerce-cart .aevum-tiles { margin: 28px 0 0; }

/* Checkout ------------------------------------------------------------------------------------ */
.aevum-checkout-back { margin: 0 0 18px; font-size: 14px; }
.aevum-checkout-back a { color: var(--ap-green, #052f25); font-weight: 600; text-decoration: none; }
.woocommerce-checkout form.checkout { counter-reset: aevum-step; }
.woocommerce-checkout form.checkout h3,
.woocommerce-checkout #order_review_heading { display: flex; align-items: center; gap: 12px; }
.woocommerce-checkout form.checkout h3::before,
.woocommerce-checkout #order_review_heading::before { counter-increment: aevum-step; content: counter(aevum-step); display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: var(--ap-green, #052f25); color: #fff; font-family: var(--ap-sans, sans-serif); font-size: 14px; font-weight: 700; }
.woocommerce-checkout form.checkout h3#ship-to-different-address::before { display: none; }
.woocommerce-checkout .woocommerce-additional-fields h3::before { display: none; }
.aevum-review-line { display: flex; align-items: center; gap: 10px; }
.aevum-review-line__img img { display: block; width: 44px; height: 44px; border-radius: 8px; background: var(--cat-wash, var(--ap-cream, #f6f1e6)); object-fit: contain; }
.aevum-review-line__text { display: flex; flex-direction: column; font-size: 14px; }
.aevum-review-line__text strong { font-weight: 600; }
.aevum-review-line__text > span { color: var(--ap-muted, #56635c); font-size: 13px; }
.aevum-review-line__text em { color: #1f7a43; font-style: normal; font-weight: 600; }
.aevum-review-save s { color: var(--ap-muted, #56635c); font-weight: 400; margin-right: 4px; }
.aevum-review-save b { color: #1f7a43; }
.woocommerce-checkout .shop_table .fee th,
.woocommerce-checkout .shop_table .fee td { color: #1f7a43; }
.woocommerce-checkout .shop_table .aevum-review-stack td { padding: 10px 12px; }
.aevum-checkout-trust { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 12px 0 0; color: var(--ap-muted, #56635c); font-size: 11px; }
.aevum-paybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: flex; align-items: center; gap: 14px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); border-top: 1px solid var(--ap-line, #e3dccd); background: rgba(251, 249, 244, 0.97); box-shadow: 0 -10px 30px rgba(15, 30, 25, 0.1); }
.aevum-paybar[hidden] { display: none; }
.aevum-paybar__total { flex: 1; display: flex; flex-direction: column; line-height: 1.2; }
.aevum-paybar__total span { color: var(--ap-muted, #56635c); font-size: 12px; }
.aevum-paybar__total strong { font-size: 18px; }
@media (min-width: 769px) { .aevum-paybar { display: none !important; } }
@media (max-width: 768px) { .woocommerce-checkout .site-main { padding-bottom: 90px; } }

/* Reassurance rows under the buy button ------------------------------------------------------ */
.aevum-assure { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 7px; font-size: 14px; }
.aevum-assure li { display: flex; gap: 9px; align-items: flex-start; line-height: 1.45; }
.aevum-assure svg { flex: none; margin-top: 3px; color: var(--ap-green, #052f25); }
.aevum-assure__more { margin: 12px 0 0; font-size: 13px; color: var(--ap-muted, #56635c); }
.aevum-assure__more summary { cursor: pointer; font-weight: 600; color: var(--ap-ink, #1d2622); }
.aevum-assure__more p { margin: 8px 0 0; }
.aevum-card-brands { display: flex; gap: 8px; align-items: center; margin: 0 0 12px; font-size: 14px; color: var(--ap-muted, #56635c); }

/* Overview tab ------------------------------------------------------------------------------- */
.aevum-overview h3 { margin: 24px 0 8px; font-size: 18px; }
.aevum-blend { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; margin: 12px 0 16px; padding: 0; list-style: none; }
.aevum-blend li { padding: 12px 14px; border: 1px solid var(--ap-line, #e3dccd); border-radius: 12px; font-size: 14px; line-height: 1.45; }
.aevum-blend li strong { display: block; margin-bottom: 4px; }
.aevum-blend li i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--cat, #8A94A6); margin-right: 7px; vertical-align: 1px; }

/* Certificates: laboratory line, lot chain, panel table ------------------------------------- */
.aevum-lab-line { margin: 12px 0 0; font-size: 13px; color: var(--ap-muted, #56635c); }
.aevum-steps { counter-reset: step; list-style: none; padding: 0; margin: 16px 0 20px; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.aevum-steps li { padding: 14px 16px; border-radius: 12px; background: var(--ap-cream, #f6f1e6); font-size: 14px; line-height: 1.5; }
.aevum-steps li::before { counter-increment: step; content: counter(step, decimal-leading-zero); display: block; margin-bottom: 4px; font-size: 12px; letter-spacing: .1em; color: var(--ap-gold-text, #80602a); }
.aevum-steps li strong { display: block; margin-bottom: 4px; }
.aevum-panel-table { width: 100%; margin: 12px 0 0; border-collapse: collapse; font-size: 14px; }
.aevum-panel-table th, .aevum-panel-table td { padding: 9px 10px; border-bottom: 1px solid var(--ap-line, #e3dccd); text-align: left; vertical-align: top; }
.aevum-facts-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin: 20px 0 28px; }
.aevum-facts-tiles div { padding: 16px 18px; border-radius: 12px; background: var(--ap-cream, #f6f1e6); font-size: 14px; color: var(--ap-muted, #56635c); }
.aevum-facts-tiles strong { display: block; margin-bottom: 2px; font-size: 22px; color: var(--ap-ink, #1d2622); }
.aevum-coa-notice { margin: 0 0 22px; padding: 18px 20px; border-radius: 14px; background: var(--ap-gold-soft, #f3ebdb); }
.aevum-coa-notice h2 { margin: 0 0 6px; font-size: 20px; }
.aevum-coa-notice p { margin: 0 0 12px; }
.aevum-coa-notice p:last-child { margin: 0; }
.aevum-coa-count { font-size: 13px; color: var(--ap-muted, #56635c); }
.aevum-coa-empty { margin: 0 0 20px; padding: 22px; border: 1px dashed var(--ap-line, #e3dccd); border-radius: 12px; text-align: center; }
.aevum-coa-empty[hidden] { display: none; }
.aevum-coa-empty p { margin: 0 0 10px; }
.aevum-coa-table tr.is-target td { background: var(--ap-gold-soft, #f3ebdb); }

/* Before you order + research-use box ---------------------------------------------------------- */
.aevum-faq { display: grid; grid-template-columns: minmax(0, 2fr) minmax(240px, 1fr); gap: 36px; margin: 44px 0 0; }
.aevum-faq__eyebrow { margin: 0 0 4px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ap-gold-text, #80602a); }
.aevum-faq h2 { margin: 0 0 10px; }
.aevum-faq details { border-top: 1px solid var(--ap-line, #e3dccd); padding: 12px 0; }
.aevum-faq details:last-of-type { border-bottom: 1px solid var(--ap-line, #e3dccd); }
.aevum-faq summary { display: flex; justify-content: space-between; gap: 12px; cursor: pointer; list-style: none; }
.aevum-faq summary::-webkit-details-marker { display: none; }
.aevum-faq summary h3 { margin: 0; font-size: 16px; font-weight: 600; font-family: var(--ap-sans, inherit); }
.aevum-faq summary::after { content: '+'; flex: none; color: var(--ap-muted, #56635c); font-size: 18px; line-height: 1; }
.aevum-faq details[open] summary::after { content: '−'; }
.aevum-faq details p { margin: 10px 0 0; font-size: 15px; line-height: 1.55; }
.aevum-faq__aside { align-self: start; padding: 22px; border-radius: 14px; background: var(--ap-cream, #f6f1e6); }
.aevum-faq__aside h3 { margin: 0 0 6px; }
.aevum-faq__aside ul { margin: 0 0 18px; padding-left: 18px; font-size: 14px; line-height: 1.5; }
.aevum-faq__aside li { margin: 0 0 6px; }
.aevum-faq__aside p { margin: 0 0 12px; font-size: 14px; line-height: 1.5; }
.aevum-faq__aside p:last-child { margin: 0; }
.aevum-ruo { margin: 28px 0 44px; padding: 18px 20px; border: 1px solid var(--ap-line, #e3dccd); border-radius: 14px; background: #fff; font-size: 14px; line-height: 1.55; }
.aevum-ruo__label { display: block; margin-bottom: 6px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ap-muted, #56635c); }
.aevum-ruo p { margin: 0; }
@media (max-width: 800px) { .aevum-faq { grid-template-columns: 1fr; gap: 24px; } }

/* Thank-you page: what happens next ------------------------------------------------------------ */
.aevum-next { margin: 0 0 28px; padding: 20px 22px; border-radius: 14px; background: var(--ap-cream, #f6f1e6); }
.aevum-next h2 { margin: 0 0 10px; font-size: 22px; }
.aevum-next ol { margin: 0; padding-left: 20px; display: grid; gap: 8px; font-size: 15px; line-height: 1.5; }
.aevum-next__arrive { font-size: 17px; color: var(--ap-green, #052f25); }

/* Checkout: street-number confirmation --------------------------------------------------------- */
.aevum-street-confirm { display: none !important; }
.aevum-street-confirm.is-needed { display: block !important; }
.aevum-street-note { display: block; margin: 6px 0 0; padding: 8px 10px; border-radius: 8px; background: #fdf3df; color: #6b4a00; font-size: 13px; }
.aevum-street-note[hidden] { display: none; }
#aevum_ship_as_written_field .optional { display: none; } /* the box only appears when it is needed */

/* Research-use bar on store pages, proof tiles under the grid, order-line certificate links ------ */
.aevum-ruo-bar { padding: 7px 16px; border-bottom: 1px solid var(--ap-line, #e3dccd); background: var(--ap-cream, #f6f1e6); color: var(--ap-muted, #56635c); font-size: 12.5px; letter-spacing: .02em; text-align: center; }
.aevum-facts-tiles--shop { margin: 40px 0 16px; }
.aevum-line-coa { margin: 4px 0 0; font-size: 13px; }

/* Finder (drawer, cart page, checkout) ------------------------------------------------------------ */
.aevum-find { margin: 16px 0 0; }
.aevum-find__label { display: block; margin: 0 0 8px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ap-muted, #56635c); }
.aevum-find__field { position: relative; }
.aevum-find__field svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--ap-muted, #56635c); pointer-events: none; }
.aevum-find__field input { width: 100%; padding: 11px 12px 11px 36px; border: 1px solid var(--ap-line, #e3dccd); border-radius: 12px; background: #fff; font: inherit; font-size: 15px; }
.aevum-find__field input:focus { outline: 2px solid var(--ap-green, #052f25); outline-offset: 1px; border-color: transparent; }
.aevum-find__results { margin: 8px 0 0; padding: 0; list-style: none; border: 1px solid var(--ap-line, #e3dccd); border-radius: 12px; background: #fff; overflow: hidden; }
.aevum-find__results[hidden] { display: none; }
.aevum-find__row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-top: 1px solid var(--ap-line, #e3dccd); }
.aevum-find__row:first-child { border-top: 0; }
.aevum-find__row img { flex: none; width: 44px; height: 44px; border-radius: 10px; object-fit: contain; background: var(--ap-cream, #f6f1e6); }
.aevum-find__text { flex: 1; min-width: 0; display: flex; flex-direction: column; font-size: 13px; line-height: 1.35; color: var(--ap-muted, #56635c); }
.aevum-find__text strong { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 14px; color: var(--ap-ink, #1d2622); }
.aevum-find__add { flex: none; padding: 7px 12px; border: 0; border-radius: 999px; background: var(--ap-green, #052f25); color: #fff; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.aevum-find__add:disabled { opacity: .7; cursor: default; }
.aevum-find__none { padding: 12px; font-size: 13px; color: var(--ap-muted, #56635c); }
.aevum-find--cart { max-width: 560px; margin: 28px 0; }
.aevum-find-fold { margin: 0 0 16px; padding: 12px 16px; border: 1px dashed var(--ap-line, #e3dccd); border-radius: 14px; background: #fff; }
.aevum-find-fold summary { cursor: pointer; font-weight: 600; color: var(--ap-green, #052f25); list-style: none; }
.aevum-find-fold summary::-webkit-details-marker { display: none; }
.aevum-find-fold .aevum-find { margin-top: 12px; }

/* Checkout summary: steppers and Remove on each line ------------------------------------------------- */
.aevum-review-qty { display: inline-flex; align-items: center; gap: 2px; margin-top: 6px; }
.aevum-review-qty button { min-width: 30px; height: 30px; padding: 0 8px; border: 1px solid var(--ap-line, #e3dccd); background: #fff; color: var(--ap-ink, #1d2622); font: inherit; font-size: 15px; line-height: 1; cursor: pointer; }
.aevum-review-qty button:first-child { border-radius: 999px 0 0 999px; }
.aevum-review-qty button[data-aevum-review-delta="1"] { border-radius: 0 999px 999px 0; }
.aevum-review-qty b { min-width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center; border-top: 1px solid var(--ap-line, #e3dccd); border-bottom: 1px solid var(--ap-line, #e3dccd); font-size: 14px; }
.aevum-review-qty .aevum-review-remove { margin-left: 10px; border: 0; background: none; padding: 0; min-width: 0; height: auto; color: var(--ap-muted, #56635c); font-size: 13px; text-decoration: underline; text-underline-offset: 2px; }
body.aevum-cart-busy .aevum-review-qty, body.aevum-cart-busy .aevum-find__add { opacity: .55; pointer-events: none; }

/* Checkout: inline promo code, slim returning-customer line --------------------------------------- */
.aevum-promo { margin: 0 0 16px; }
.aevum-promo label { display: block; margin: 0 0 6px; font-size: 13px; font-weight: 600; color: var(--ap-ink, #1d2622); }
.aevum-promo__row { display: flex; gap: 8px; }
.aevum-promo__row input { flex: 1; min-width: 0; padding: 11px 12px; border: 1px solid var(--ap-line, #e3dccd); border-radius: 12px; background: #fff; font: inherit; font-size: 15px; text-transform: uppercase; letter-spacing: .04em; }
.aevum-promo__apply { flex: none; padding: 0 18px; border: 1px solid var(--ap-green, #052f25); border-radius: 12px; background: #fff; color: var(--ap-green, #052f25); font: inherit; font-weight: 600; cursor: pointer; }
.aevum-promo__apply:hover { background: var(--ap-green, #052f25); color: #fff; }
.aevum-promo__msg:empty { display: none; }
.aevum-promo__msg { margin-top: 8px; font-size: 13px; }
.aevum-promo__msg ul, .aevum-promo__msg .woocommerce-message, .aevum-promo__msg .woocommerce-error { margin: 0 !important; padding: 8px 12px !important; border: 0 !important; border-radius: 10px; font-size: 13px; list-style: none; }
.aevum-promo__msg .woocommerce-message::before, .aevum-promo__msg .woocommerce-error::before { display: none; }
body.is-focus-checkout .woocommerce-form-login-toggle .woocommerce-info { padding: 10px 0 !important; border: 0 !important; background: none !important; font-size: 14px; }
body.is-focus-checkout .woocommerce-form-login-toggle .woocommerce-info::before { display: none; }

/* Product page: Buy now beside Add to cart --------------------------------------------------------- */
.aevum-buy-now[hidden] { display: none !important; }
form.cart .woocommerce-variation-add-to-cart, form.cart:not(.variations_form) { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
form.cart .aevum-ladder { flex: 1 1 100%; }
.woocommerce div.product form.cart button.button.aevum-buy-now { background: transparent !important; color: var(--ap-green, #052f25) !important; border: 1px solid var(--ap-green, #052f25) !important; } /* the theme's WooCommerce buttons use !important */
.woocommerce div.product form.cart button.button.aevum-buy-now:hover { background: var(--ap-green, #052f25) !important; color: #fff !important; }
form.cart .aevum-buy-now { margin-left: 0; background: transparent !important; color: var(--ap-green, #052f25) !important; border: 1px solid var(--ap-green, #052f25) !important; }
form.cart .aevum-buy-now:hover { background: var(--ap-green, #052f25) !important; color: #fff !important; }
@media (max-width: 600px) { form.cart .aevum-buy-now { margin: 10px 0 0; width: 100%; } }

/* Cards: offer line and certificate chip; drawer and checkout pair prompts; certificate quick view ---- */
.aevum-card-deal { margin: 4px 0 0; color: var(--ap-green, #052f25); font-size: 13px; font-weight: 600; }
.aevum-card-coa { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 10px; padding: 5px 10px; border: 1px solid var(--ap-line, #e3dccd); border-radius: 999px; background: #fff; color: var(--ap-green, #052f25); font: inherit; font-size: 12px; font-weight: 600; cursor: pointer; }
.aevum-card-coa:hover { border-color: var(--ap-green, #052f25); }
.aevum-card-coa[hidden] { display: none; }
.aevum-drawer__pair { align-self: flex-start; margin-top: 6px; padding: 5px 10px; border: 1px dashed var(--ap-green, #052f25); border-radius: 999px; background: var(--ap-green-soft, #e5eee8); color: var(--ap-green, #052f25); font: inherit; font-size: 12.5px; font-weight: 600; cursor: pointer; }
.aevum-drawer__info { display: flex; flex-direction: column; }
.aevum-review-qty .aevum-review-pair { margin-left: 10px; min-width: 0; height: auto; padding: 4px 10px; border: 1px dashed var(--ap-green, #052f25); border-radius: 999px !important; background: var(--ap-green-soft, #e5eee8); color: var(--ap-green, #052f25); font-size: 12px; font-weight: 600; }
.aevum-coa-quick { width: min(440px, calc(100vw - 32px)); padding: 26px 26px 22px; border: 0; border-radius: 18px; background: var(--ap-paper, #fbf9f4); color: var(--ap-ink, #1d2622); box-shadow: 0 24px 60px rgba(15, 30, 25, 0.25); }
.aevum-coa-quick::backdrop { background: rgba(15, 30, 25, 0.45); }
.aevum-coa-quick__close { position: absolute; top: 10px; right: 12px; border: 0; background: none; font-size: 26px; line-height: 1; color: var(--ap-muted, #56635c); cursor: pointer; }
.aevum-coa-quick__eyebrow { margin: 0 0 4px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ap-gold-text, #80602a); }
.aevum-coa-quick h2 { margin: 0 0 14px; font-family: var(--ap-serif, serif); font-size: 26px; color: var(--ap-green, #052f25); }
.aevum-coa-quick dl { display: grid; gap: 8px; margin: 0 0 18px; }
.aevum-coa-quick dl div { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 8px; border-bottom: 1px solid var(--ap-line, #e3dccd); font-size: 14px; }
.aevum-coa-quick dt { color: var(--ap-muted, #56635c); }
.aevum-coa-quick dd { margin: 0; font-weight: 600; text-align: right; overflow-wrap: anywhere; }
.aevum-coa-quick__actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 12px; }
.aevum-coa-quick__actions .button { display: inline-flex; align-items: center; min-height: 42px; padding: 0 18px; border-radius: 999px; background: var(--ap-green, #052f25); color: #fff; font-size: 14px; font-weight: 600; text-decoration: none; }
.aevum-coa-quick__actions .aevum-coa-quick__all { background: transparent; color: var(--ap-green, #052f25); border: 1px solid var(--ap-green, #052f25); }
.aevum-coa-quick__note { margin: 0; font-size: 12px; color: var(--ap-muted, #56635c); }

/* Checkout summary fits a phone: fixed layout, long shipping labels wrap. */
.woocommerce-checkout-review-order-table { table-layout: fixed; width: 100%; }
.woocommerce-checkout-review-order-table th, .woocommerce-checkout-review-order-table td { overflow-wrap: anywhere; word-break: normal; }
@media (max-width: 600px) { .woocommerce-checkout-review-order-table .product-name { width: 62%; } .woocommerce-checkout-review-order-table #shipping_method li label { font-size: 13px; } }
