/* ------------------------------------------------------------
 * Anunaki Theme v1.5.0 — enhancement styles
 * Designed to layer on top of style.css. Uses existing
 * CSS variables (--gold-soft, --line, --bg, --fg) where set;
 * falls back to sane defaults otherwise.
 * ----------------------------------------------------------- */

:root {
	--anu-shadow:     0 10px 30px rgba(0,0,0,.12);
	--anu-shadow-lg:  0 20px 60px rgba(0,0,0,.2);
	--anu-radius:     12px;
	--anu-radius-sm:  8px;
	--anu-gold:       #c9a84c;
	--anu-copper:     #b87333;
	--anu-ink:        #191410;
	--anu-bg:         #fff;
	--anu-muted:      #6b5f55;
	--anu-success:    #2e8b57;
	--anu-error:      #b94a48;
	--anu-z-sticky:   80;
	--anu-z-drawer:   120;
	--anu-z-overlay:  115;
}

/* ------------------------------------------------------------
 * Sticky header
 * ----------------------------------------------------------- */
.has-sticky-header .site-header {
	position: sticky; top: 0; z-index: var(--anu-z-sticky);
	background: var(--anu-bg, #fff);
	transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.site-header.is-stuck { box-shadow: var(--anu-shadow); border-bottom-color: var(--anu-gold) !important; }
.site-header.is-hidden { transform: translateY(-100%); }

/* ------------------------------------------------------------
 * Mega menu
 * ----------------------------------------------------------- */
.main-nav .menu-item.mega { position: static; }
.main-nav .mega-panel {
	position: absolute; left: 0; right: 0; top: 100%;
	background: var(--anu-bg, #fff);
	box-shadow: var(--anu-shadow);
	padding: 24px 0;
	opacity: 0; visibility: hidden; transform: translateY(8px);
	transition: opacity .18s ease, transform .18s ease, visibility 0s .18s;
	z-index: 60;
}
.main-nav .menu-item.mega:hover > .mega-panel,
.main-nav .menu-item.mega:focus-within > .mega-panel,
.main-nav .menu-item.mega.is-expanded > .mega-panel {
	opacity: 1; visibility: visible; transform: translateY(0);
	transition: opacity .18s ease, transform .18s ease;
}
.main-nav .mega-panel__inner {
	max-width: 1200px; margin: 0 auto; padding: 0 20px;
}
.main-nav .sub-menu--mega {
	list-style: none; margin: 0; padding: 0;
	display: grid; gap: 24px;
	grid-template-columns: repeat(4, minmax(0, 1fr));
}
.main-nav .mega-cols-2 .sub-menu--mega { grid-template-columns: repeat(2, 1fr); }
.main-nav .mega-cols-3 .sub-menu--mega { grid-template-columns: repeat(3, 1fr); }
.main-nav .mega-cols-5 .sub-menu--mega { grid-template-columns: repeat(5, 1fr); }
.main-nav .mega-cols-6 .sub-menu--mega { grid-template-columns: repeat(6, 1fr); }
.main-nav .sub-menu--mega > li { margin: 0; }
.main-nav .sub-menu--mega > li > a {
	display: block; padding: 6px 0; font-weight: 600;
	color: var(--anu-ink);
}
.main-nav .sub-menu--mega .sub-menu {
	position: static; display: block; box-shadow: none; border: 0;
	padding: 4px 0 0; opacity: 1; visibility: visible; transform: none;
}
.main-nav .sub-menu--mega .sub-menu a { font-weight: 400; color: var(--anu-muted); padding: 4px 0; }
@media (max-width: 960px) {
	.main-nav .mega-panel { position: static; padding: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; display: none; }
	.main-nav .menu-item.mega.is-expanded > .mega-panel { display: block; }
	.main-nav .sub-menu--mega { grid-template-columns: 1fr; gap: 8px; padding: 8px 0 0 16px; }
}

/* ------------------------------------------------------------
 * Overlay + Drawer
 * ----------------------------------------------------------- */
.anu-overlay {
	position: fixed; inset: 0; background: rgba(20,14,10,.5);
	opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility 0s .2s;
	z-index: var(--anu-z-overlay);
}
.anu-overlay.is-open { opacity: 1; visibility: visible; transition: opacity .2s ease; }
body.anu-lock { overflow: hidden; }

.anu-drawer {
	position: fixed; top: 0; right: 0; height: 100%;
	width: min(420px, 100%); background: #fff;
	box-shadow: var(--anu-shadow-lg);
	transform: translateX(100%); transition: transform .28s ease;
	z-index: var(--anu-z-drawer);
	display: flex; flex-direction: column;
}
.anu-drawer.is-open { transform: translateX(0); }
.anu-drawer__head {
	display: flex; align-items: center; justify-content: space-between;
	padding: 18px 20px; border-bottom: 1px solid var(--line, #e7e2dd);
}
.anu-drawer__title { margin: 0; font-size: 18px; font-weight: 600; }
.anu-drawer__count {
	display: inline-block; margin-left: 6px;
	background: var(--anu-gold); color: #fff;
	padding: 2px 10px; border-radius: 999px; font-size: 13px;
}
.anu-drawer__close {
	background: transparent; border: 0; font-size: 28px; line-height: 1;
	cursor: pointer; color: var(--anu-muted); padding: 4px 8px;
}
.anu-drawer__body { flex: 1; overflow-y: auto; padding: 16px 20px; }
.anu-drawer__foot { border-top: 1px solid var(--line, #e7e2dd); padding: 16px 20px; background: #fafaf8; }
.anu-drawer__total { display: flex; justify-content: space-between; margin-bottom: 12px; font-size: 16px; }
.anu-drawer__total strong { color: var(--anu-gold); }
.anu-drawer__actions { display: grid; gap: 8px; grid-template-columns: 1fr 1fr; }

/* Mini-cart lines */
.mini-cart-line { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line, #eee); }
.mini-cart-line:last-child { border-bottom: 0; }
.mini-cart-line__img img { width: 64px; height: 64px; object-fit: cover; border-radius: var(--anu-radius-sm); }
.mini-cart-line__title { display: block; font-weight: 600; color: var(--anu-ink); text-decoration: none; line-height: 1.3; }
.mini-cart-line__title:hover { color: var(--anu-gold); }
.mini-cart-line__meta { font-size: 13px; color: var(--anu-muted); margin-top: 4px; }
.mini-cart-line__rm { border: 0; background: transparent; color: var(--anu-muted); font-size: 22px; line-height: 1; cursor: pointer; padding: 4px 8px; }
.mini-cart-line__rm:hover { color: var(--anu-error); }
.mini-cart-empty { text-align: center; padding: 40px 0; color: var(--anu-muted); }
.mini-cart-empty p { margin: 0 0 16px; }

/* Ship bar */
.anu-ship-bar { padding: 12px 20px; background: #fafaf8; border-bottom: 1px solid var(--line, #eee); }
.anu-ship-bar__msg { font-size: 13px; margin-bottom: 6px; color: var(--anu-muted); }
.anu-ship-bar__msg.is-ok { color: var(--anu-success); font-weight: 600; }
.anu-ship-bar__track { height: 6px; background: #e7e2dd; border-radius: 999px; overflow: hidden; }
.anu-ship-bar__fill { height: 100%; background: linear-gradient(90deg, var(--anu-copper), var(--anu-gold)); transition: width .4s ease; }
.anu-ship-bar--inline { margin: 0 0 20px; border: 1px solid var(--line, #eee); border-radius: var(--anu-radius); }

/* ------------------------------------------------------------
 * Search overlay
 * ----------------------------------------------------------- */
.anu-search {
	position: fixed; inset: 0;
	display: flex; align-items: flex-start; justify-content: center;
	padding-top: 60px;
	opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility 0s .2s;
	z-index: calc(var(--anu-z-drawer) + 1);
}
.anu-search.is-open { opacity: 1; visibility: visible; transition: opacity .2s ease; }
.anu-search__box { background: #fff; width: min(640px, 92%); border-radius: var(--anu-radius); box-shadow: var(--anu-shadow-lg); overflow: hidden; }
.anu-search__form { display: flex; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--line, #eee); gap: 10px; }
.anu-search__input { flex: 1; border: 0; outline: 0; font-size: 17px; padding: 6px 0; background: transparent; }
.anu-search__go, .anu-search__close { background: transparent; border: 0; cursor: pointer; color: var(--anu-muted); padding: 6px; }
.anu-search__close { font-size: 22px; line-height: 1; }
.anu-search__results { max-height: 60vh; overflow-y: auto; }
.anu-search__item { display: grid; grid-template-columns: 56px 1fr; gap: 12px; padding: 12px 16px; align-items: center; text-decoration: none; color: var(--anu-ink); border-bottom: 1px solid var(--line, #f1eee9); }
.anu-search__item:hover { background: #faf8f3; }
.anu-search__thumb img { width: 56px; height: 56px; object-fit: cover; border-radius: var(--anu-radius-sm); }
.anu-search__info strong { display: block; font-size: 14px; }
.anu-search__info span { font-size: 13px; color: var(--anu-gold); }
.anu-search__loading, .anu-search__empty { padding: 20px; text-align: center; color: var(--anu-muted); }
.anu-search__more { display: block; padding: 14px 16px; text-align: center; font-weight: 600; color: var(--anu-gold); text-decoration: none; background: #faf8f3; }

/* ------------------------------------------------------------
 * Quick view modal
 * ----------------------------------------------------------- */
.anu-qv {
	position: fixed; inset: 0;
	display: flex; align-items: center; justify-content: center;
	padding: 20px;
	opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility 0s .2s;
	z-index: calc(var(--anu-z-drawer) + 2);
}
.anu-qv.is-open { opacity: 1; visibility: visible; transition: opacity .2s ease; }
.anu-qv__box { background: #fff; border-radius: var(--anu-radius); box-shadow: var(--anu-shadow-lg); max-width: 880px; width: 100%; max-height: 86vh; overflow: auto; position: relative; }
.anu-qv__close { position: absolute; top: 14px; right: 14px; background: rgba(255,255,255,.95); border: 0; font-size: 26px; line-height: 1; width: 36px; height: 36px; border-radius: 50%; cursor: pointer; z-index: 1; }
.anu-qv__body { display: grid; grid-template-columns: 1fr 1fr; }
.anu-qv__loading { padding: 80px; text-align: center; color: var(--anu-muted); grid-column: 1 / -1; }
.qv-media { background: #faf8f3; }
.qv-media .qv-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.qv-body { padding: 28px 32px; }
.qv-title { font-size: 24px; margin: 0 0 10px; }
.qv-price { font-size: 20px; color: var(--anu-gold); margin-bottom: 12px; }
.qv-excerpt { color: var(--anu-muted); line-height: 1.6; margin-bottom: 20px; }
.qv-form { display: flex; gap: 8px; align-items: center; margin-bottom: 14px; }
.qv-qty { width: 64px; border: 1px solid var(--line, #ddd); padding: 8px 10px; border-radius: var(--anu-radius-sm); text-align: center; }
.qv-more { color: var(--anu-gold); text-decoration: none; font-weight: 600; }
@media (max-width: 720px) {
	.anu-qv__body { grid-template-columns: 1fr; }
	.qv-media img { aspect-ratio: 4/3; }
}

/* ------------------------------------------------------------
 * Product badges + loop tweaks
 * ----------------------------------------------------------- */
.anu-badges { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; gap: 4px; z-index: 2; pointer-events: none; }
.anu-badge { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .04em; padding: 4px 8px; border-radius: 4px; color: #fff; text-transform: uppercase; }
.badge--sale { background: var(--anu-error); }
.badge--new  { background: var(--anu-success); }
.badge--hot  { background: var(--anu-copper); }
.badge--oos  { background: #555; }
.woocommerce ul.products li.product, .products .product { position: relative; }
.anu-loop-media { position: relative; }

/* Quick view button — slides up on hover */
.anu-qv-btn {
	position: absolute; left: 10px; right: 10px; bottom: 10px;
	background: rgba(255,255,255,.95); color: var(--anu-ink);
	border: 0; padding: 8px 12px; border-radius: var(--anu-radius-sm);
	display: flex; align-items: center; justify-content: center; gap: 6px;
	font-size: 13px; font-weight: 600; cursor: pointer;
	opacity: 0; transform: translateY(10px);
	transition: opacity .2s ease, transform .2s ease;
	z-index: 2;
}
.products .product:hover .anu-qv-btn,
.products .product:focus-within .anu-qv-btn { opacity: 1; transform: translateY(0); }
@media (hover: none) { .anu-qv-btn { opacity: 1; transform: none; } }

/* ------------------------------------------------------------
 * Trust strip + sticky ATC + site trust strip
 * ----------------------------------------------------------- */
.anu-trust-strip { list-style: none; padding: 16px 0 0; margin: 18px 0 0; border-top: 1px dashed var(--line, #eee); display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.anu-trust-strip li { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--anu-muted); }
.anu-trust-strip__icon { font-size: 16px; }

.anu-satc {
	position: fixed; bottom: 0; left: 0; right: 0;
	background: #fff; border-top: 1px solid var(--line, #eee);
	box-shadow: 0 -8px 24px rgba(0,0,0,.08);
	z-index: var(--anu-z-sticky);
	transform: translateY(100%); transition: transform .25s ease;
	padding: 10px 16px; display: none;
}
@media (max-width: 820px) { .anu-satc { display: block; } }
.anu-satc[aria-hidden="false"] { transform: translateY(0); }
.anu-satc__inner { display: grid; grid-template-columns: 48px 1fr auto; gap: 12px; align-items: center; max-width: 720px; margin: 0 auto; }
.anu-satc__img { width: 48px; height: 48px; object-fit: cover; border-radius: 8px; }
.anu-satc__title { font-size: 14px; font-weight: 600; line-height: 1.2; }
.anu-satc__price { font-size: 13px; color: var(--anu-gold); }

.anu-site-trust { padding: 36px 0; background: #faf8f3; border-top: 1px solid var(--line, #eee); }
.anu-site-trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.anu-site-trust__item { display: flex; gap: 12px; align-items: center; }
.anu-site-trust__icon { font-size: 28px; }
.anu-site-trust__body strong { display: block; font-size: 15px; color: var(--anu-ink); }
.anu-site-trust__body span { font-size: 13px; color: var(--anu-muted); }
@media (max-width: 820px) { .anu-site-trust__grid { grid-template-columns: repeat(2, 1fr); } }

/* Empty-cart suggested products */
.anu-empty-suggest { margin: 40px 0; }
.anu-empty-suggest__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 16px; }
.anu-empty-suggest__card { display: block; text-decoration: none; color: inherit; border: 1px solid var(--line, #eee); border-radius: var(--anu-radius); overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.anu-empty-suggest__card:hover { transform: translateY(-4px); box-shadow: var(--anu-shadow); }
.anu-empty-suggest__card img { width: 100%; height: auto; display: block; }
.anu-empty-suggest__name { padding: 8px 10px 0; font-weight: 600; font-size: 14px; }
.anu-empty-suggest__price { padding: 2px 10px 10px; color: var(--anu-gold); font-size: 13px; }
@media (max-width: 720px) { .anu-empty-suggest__grid { grid-template-columns: 1fr 1fr; } }

/* ------------------------------------------------------------
 * Announce bar + countdown
 * ----------------------------------------------------------- */
.anu-announce { background: var(--anu-ink); color: #fff; font-size: 14px; }
.anu-announce__inner { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 8px 16px; flex-wrap: wrap; }
.anu-announce__msg { color: #fff; text-decoration: none; }
.anu-announce__msg:hover { color: var(--anu-gold); }
.anu-announce__cd { display: inline-flex; gap: 4px; font-variant-numeric: tabular-nums; font-weight: 600; color: var(--anu-gold); }
.anu-announce__close { background: transparent; border: 0; color: #fff; font-size: 20px; cursor: pointer; margin-left: auto; line-height: 1; opacity: .6; }
.anu-announce__close:hover { opacity: 1; }

.anu-cd { display: inline-flex; gap: 10px; align-items: center; background: var(--anu-ink); color: #fff; padding: 10px 16px; border-radius: var(--anu-radius); }
.anu-cd__label { font-size: 13px; color: var(--anu-gold); }
.anu-cd__time { font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: .05em; }

/* ------------------------------------------------------------
 * Recently viewed
 * ----------------------------------------------------------- */
.anu-rv { margin: 40px 0; }
.anu-rv__title { margin: 0 0 16px; font-size: 20px; }
.anu-rv__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.anu-rv__card { display: block; text-decoration: none; color: inherit; border: 1px solid var(--line, #eee); border-radius: var(--anu-radius); overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.anu-rv__card:hover { transform: translateY(-3px); box-shadow: var(--anu-shadow); }
.anu-rv__img { width: 100%; height: auto; display: block; }
.anu-rv__name { padding: 8px 10px 0; font-weight: 600; font-size: 13px; }
.anu-rv__price { padding: 2px 10px 10px; color: var(--anu-gold); font-size: 12px; }
@media (max-width: 720px) { .anu-rv__grid { grid-template-columns: 1fr 1fr; } }

/* ------------------------------------------------------------
 * Back to top + cookie + FAB + reading bar
 * ----------------------------------------------------------- */
.anu-btt {
	position: fixed; right: 20px; bottom: 20px;
	width: 42px; height: 42px; border-radius: 50%;
	background: var(--anu-ink); color: #fff; border: 0; cursor: pointer;
	box-shadow: var(--anu-shadow); z-index: 60;
	display: flex; align-items: center; justify-content: center;
}
.anu-btt:hover { background: var(--anu-gold); }
@media (max-width: 820px) { .anu-btt { bottom: 80px; } }

.anu-cookie {
	position: fixed; left: 20px; right: 20px; bottom: 20px;
	background: #fff; border: 1px solid var(--line, #eee);
	border-radius: var(--anu-radius); box-shadow: var(--anu-shadow-lg);
	padding: 14px 16px; z-index: 70;
	display: flex; gap: 16px; align-items: center; flex-wrap: wrap;
	max-width: 720px; margin: 0 auto;
}
.anu-cookie__msg { flex: 1; font-size: 13px; color: var(--anu-muted); }
.anu-cookie__actions { display: flex; gap: 8px; }
@media (max-width: 640px) { .anu-cookie__actions { width: 100%; } }

.anu-fab { position: fixed; right: 20px; bottom: 72px; z-index: 60; display: flex; flex-direction: column; gap: 10px; transition: transform .2s ease, opacity .2s ease; }
.anu-fab.is-hidden { transform: translateY(20px); opacity: 0; pointer-events: none; }
.anu-fab__btn { width: 46px; height: 46px; border-radius: 50%; background: var(--anu-gold); color: #fff; display: flex; align-items: center; justify-content: center; text-decoration: none; box-shadow: var(--anu-shadow); transition: transform .15s ease; }
.anu-fab__btn:hover { transform: scale(1.08); }
.anu-fab__btn--line { background: #06c755; }
.anu-fab__btn--fb   { background: #0078ff; }
.anu-fab__btn--tel  { background: var(--anu-ink); }

.anu-reading { position: fixed; top: 0; left: 0; right: 0; height: 3px; background: transparent; z-index: 200; pointer-events: none; }
.anu-reading__fill { height: 100%; background: linear-gradient(90deg, var(--anu-copper), var(--anu-gold)); width: 0%; transition: width .15s ease; }

/* ------------------------------------------------------------
 * Nav caret rotation when expanded (mobile)
 * ----------------------------------------------------------- */
.main-nav .is-expanded > a .caret { transform: rotate(180deg); display: inline-block; }

/* Utility: screen-reader only (in case base CSS lacks it) */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ============================================================
 * PAGE TEMPLATES v1.6
 * Styles for the 7 dedicated page templates:
 *   page-article / page-faq / page-legal / page-about /
 *   page-contact / page-size-guide / page-shipping
 * BEM-style naming; reuses --anu-* tokens above.
 * ============================================================ */

/* Container variant --------------------------------------------------- */
.container--narrow { max-width: 820px; margin-left: auto; margin-right: auto; padding-left: 20px; padding-right: 20px; }

/* Generic section ----------------------------------------------------- */
.section { padding: 60px 0; }
.section + .section { padding-top: 0; }
.section-header { text-align: center; margin-bottom: 36px; }
.section-header__title { margin: 0 0 8px; font-size: 28px; color: var(--anu-ink); }
.section-header__desc { margin: 0; color: var(--anu-muted); font-size: 15px; line-height: 1.6; }
.text-center { text-align: center; }

/* Eyebrow (small colored label above titles) -------------------------- */
.eyebrow {
	display: inline-block; font-size: 12px; font-weight: 700;
	letter-spacing: .18em; text-transform: uppercase;
	color: var(--anu-copper); margin-bottom: 10px;
}

/* Buttons ------------------------------------------------------------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center;
	gap: 8px; padding: 12px 22px; border-radius: var(--anu-radius);
	font-weight: 600; font-size: 15px; text-decoration: none;
	border: 1px solid transparent; cursor: pointer; line-height: 1.2;
	transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary {
	background: linear-gradient(135deg, var(--anu-copper), var(--anu-gold));
	color: #fff; box-shadow: 0 6px 20px rgba(184,115,51,.28);
}
.btn--primary:hover { color: #fff; box-shadow: 0 10px 26px rgba(184,115,51,.34); }
.btn--ghost {
	background: transparent; color: var(--anu-ink);
	border-color: var(--anu-gold);
}
.btn--ghost:hover { background: var(--anu-gold); color: #fff; }

/* Hero band (shared across templates) --------------------------------- */
.page-hero {
	position: relative;
	padding: 72px 0 48px;
	background: linear-gradient(180deg, #faf6ec 0%, #fff 100%);
	border-bottom: 1px solid var(--line, #eee);
	text-align: center;
}
.page-hero__eyebrow {
	display: inline-block; font-size: 12px; font-weight: 700;
	letter-spacing: .16em; text-transform: uppercase;
	color: var(--anu-copper); margin-bottom: 12px;
	padding: 4px 14px; background: #fff; border: 1px solid var(--anu-gold);
	border-radius: 999px;
}
.page-hero__title {
	margin: 0 auto 14px; max-width: 780px;
	font-size: clamp(28px, 4vw, 40px); line-height: 1.2;
	color: var(--anu-ink);
}
.page-hero__lede {
	margin: 0 auto; max-width: 680px;
	font-size: 17px; line-height: 1.7; color: var(--anu-muted);
}
.page-hero__meta {
	margin-top: 22px; display: flex; flex-wrap: wrap;
	gap: 8px; align-items: center; justify-content: center;
	font-size: 13px; color: var(--anu-muted);
}
.page-hero__meta-item { display: inline-flex; align-items: center; }
.page-hero__meta-dot { color: var(--anu-gold); opacity: .7; }

/* Hero modifier tints (keep subtle; each template gets its own accent) */
.page-hero--article  { background: linear-gradient(180deg, #f7f0dd 0%, #fff 100%); }
.page-hero--faq      { background: linear-gradient(180deg, #f4eedb 0%, #fff 100%); }
.page-hero--legal    { background: linear-gradient(180deg, #f3efe7 0%, #fff 100%); }
.page-hero--about    { background: linear-gradient(180deg, #f6ecd4 0%, #fff 100%); }
.page-hero--contact  { background: linear-gradient(180deg, #f6e8d8 0%, #fff 100%); }
.page-hero--size     { background: linear-gradient(180deg, #faeadf 0%, #fff 100%); }
.page-hero--shipping { background: linear-gradient(180deg, #f1ecd9 0%, #fff 100%); }

/* Site-main template variants ---------------------------------------- */
.site-main--article,
.site-main--faq,
.site-main--legal,
.site-main--about,
.site-main--contact,
.site-main--size,
.site-main--shipping { padding: 48px 0 64px; }

/* ------------------------------------------------------------------- *
 * Article template (page-article.php)
 * ------------------------------------------------------------------- */
.article__figure {
	margin: 0 0 32px; border-radius: var(--anu-radius);
	overflow: hidden; box-shadow: var(--anu-shadow);
}
.article__figure img { display: block; width: 100%; height: auto; }

.article__toc {
	margin: 0 0 32px; padding: 20px 24px;
	background: #faf6ec; border: 1px solid var(--anu-gold);
	border-radius: var(--anu-radius);
}
.article__toc-head {
	font-weight: 700; color: var(--anu-ink);
	margin-bottom: 10px; font-size: 14px;
	letter-spacing: .04em; text-transform: uppercase;
}
.article__toc-list {
	margin: 0; padding-left: 22px; color: var(--anu-muted);
	line-height: 1.8; font-size: 15px;
}
.article__toc-list a { color: inherit; text-decoration: none; border-bottom: 1px dashed transparent; transition: color .15s ease, border-color .15s ease; }
.article__toc-list a:hover { color: var(--anu-copper); border-bottom-color: var(--anu-copper); }

.article__body {
	font-size: 17px; line-height: 1.85; color: var(--anu-ink);
}
.article__body h2 { margin: 2em 0 .6em; font-size: 24px; color: var(--anu-ink); }
.article__body h3 { margin: 1.6em 0 .5em; font-size: 20px; color: var(--anu-ink); }
.article__body p  { margin: 0 0 1.2em; }
.article__body a  { color: var(--anu-copper); text-decoration: underline; text-underline-offset: 3px; }
.article__body a:hover { color: var(--anu-gold); }
.article__body blockquote {
	margin: 1.6em 0; padding: 14px 20px;
	border-left: 3px solid var(--anu-gold);
	background: #faf8f3; color: var(--anu-muted);
	font-style: italic;
}
.article__body ul, .article__body ol { margin: 0 0 1.2em 1.3em; padding: 0; }
.article__body li { margin-bottom: .4em; }
.article__body img { max-width: 100%; height: auto; border-radius: var(--anu-radius-sm); }

.article__tags { margin: 32px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tag-chip {
	display: inline-block; padding: 4px 12px; font-size: 13px;
	color: var(--anu-muted); background: #faf6ec;
	border: 1px solid var(--line, #eee); border-radius: 999px;
	text-decoration: none; transition: background .15s ease, color .15s ease;
}
.tag-chip:hover { background: var(--anu-gold); color: #fff; border-color: var(--anu-gold); }

.article__related { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line, #eee); }
.article__related-title { margin: 0 0 20px; font-size: 22px; color: var(--anu-ink); }
.article__related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 820px) { .article__related-grid { grid-template-columns: 1fr; } }

.article-card {
	display: block; text-decoration: none; color: inherit;
	background: #fff; border: 1px solid var(--line, #eee);
	border-radius: var(--anu-radius); overflow: hidden;
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.article-card:hover { transform: translateY(-3px); box-shadow: var(--anu-shadow); border-color: var(--anu-gold); }
.article-card__thumb img { display: block; width: 100%; height: 160px; object-fit: cover; }
.article-card__body { padding: 14px 16px; }
.article-card__title { margin: 0 0 6px; font-size: 16px; color: var(--anu-ink); line-height: 1.3; }
.article-card__excerpt { margin: 0; font-size: 14px; color: var(--anu-muted); line-height: 1.5; }

/* ------------------------------------------------------------------- *
 * FAQ template (page-faq.php)
 * ------------------------------------------------------------------- */
.section--faq { padding: 48px 0 24px; }
.section--cta-soft {
	padding: 36px 0 60px;
	background: linear-gradient(180deg, #fff 0%, #faf6ec 100%);
	border-top: 1px solid var(--line, #eee); text-align: center;
}

/* ------------------------------------------------------------------- *
 * Legal template (page-legal.php)
 * ------------------------------------------------------------------- */
.legal__body {
	font-size: 16px; line-height: 1.75; color: var(--anu-ink);
}
.legal__body h2 { margin: 1.6em 0 .5em; font-size: 22px; color: var(--anu-ink); }
.legal__body h3 { margin: 1.3em 0 .4em; font-size: 18px; color: var(--anu-ink); }
.legal__body p  { margin: 0 0 1em; }
.legal__body ul, .legal__body ol { margin: 0 0 1em 1.4em; }
.legal__contact {
	margin-top: 40px; padding: 20px; background: #faf6ec;
	border-radius: var(--anu-radius); border: 1px solid var(--line, #eee);
	color: var(--anu-muted); font-size: 14px;
}
.legal__contact a { color: var(--anu-copper); }

/* ------------------------------------------------------------------- *
 * About template (page-about.php)
 * ------------------------------------------------------------------- */
.about__grid {
	display: grid; grid-template-columns: 1.4fr 1fr;
	gap: 40px; align-items: start;
}
@media (max-width: 960px) { .about__grid { grid-template-columns: 1fr; gap: 28px; } }
.about__figure { margin: 0; border-radius: var(--anu-radius); overflow: hidden; box-shadow: var(--anu-shadow); }
.about__figure img { display: block; width: 100%; height: auto; }
.about__body {
	font-size: 16px; line-height: 1.8; color: var(--anu-ink);
}
.about__body h2 { font-size: 22px; margin: 1.5em 0 .5em; }
.about__body p  { margin: 0 0 1em; }

.about__bullets {
	padding: 22px 24px; background: #faf6ec;
	border: 1px solid var(--line, #eee); border-radius: var(--anu-radius);
}
.about__bullets-head {
	font-weight: 700; color: var(--anu-ink); font-size: 15px;
	letter-spacing: .04em; text-transform: uppercase;
	margin-bottom: 14px;
}
.about__bullets-list { margin: 0; padding: 0; list-style: none; }
.about__bullets-list li {
	padding: 10px 0 10px 28px; position: relative;
	border-bottom: 1px dashed var(--line, #eee);
	color: var(--anu-ink); font-size: 15px; line-height: 1.6;
}
.about__bullets-list li:last-child { border-bottom: 0; }
.about__bullets-list li::before {
	content: "✦"; position: absolute; left: 4px; top: 9px;
	color: var(--anu-gold); font-size: 14px;
}

/* Stats strip --------------------------------------------------------- */
.stats-grid {
	display: grid; grid-template-columns: repeat(4, 1fr);
	gap: 20px; padding: 32px 0; text-align: center;
	border-top: 1px solid var(--line, #eee);
	border-bottom: 1px solid var(--line, #eee);
	margin: 48px 0;
}
@media (max-width: 820px) { .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; } }
.stats-item__num {
	display: block; font-size: 34px; font-weight: 700;
	color: var(--anu-copper); line-height: 1.1; margin-bottom: 4px;
	font-variant-numeric: tabular-nums;
}
.stats-item__label { font-size: 13px; color: var(--anu-muted); letter-spacing: .04em; }

/* CTA band at bottom of About / Size-guide / etc. --------------------- */
.section--cta-band {
	padding: 60px 0; text-align: center;
	background: linear-gradient(135deg, #191410 0%, #2a201a 100%);
	color: #fff;
}
.section--cta-band .section-header__title { color: #fff; }
.section--cta-band .section-header__desc  { color: rgba(255,255,255,.75); }
.section--cta-band .eyebrow { color: var(--anu-gold); }
.section--cta-band .btn--ghost { color: #fff; border-color: var(--anu-gold); }
.section--cta-band .btn--ghost:hover { background: var(--anu-gold); color: var(--anu-ink); }
.cta-band__actions {
	display: inline-flex; gap: 12px; flex-wrap: wrap;
	justify-content: center; margin-top: 24px;
}

/* ------------------------------------------------------------------- *
 * Contact template (page-contact.php)
 * ------------------------------------------------------------------- */
.section--contact-cards { padding: 48px 0 24px; }
.section--contact-form  { padding: 24px 0 48px; }
.section--contact-map   { padding: 24px 0 60px; }

.contact-cards {
	display: grid; grid-template-columns: repeat(3, 1fr);
	gap: 18px;
}
@media (max-width: 820px) { .contact-cards { grid-template-columns: 1fr; } }

.contact-card {
	display: flex; flex-direction: column; align-items: flex-start;
	padding: 24px; border: 1px solid var(--line, #eee);
	border-radius: var(--anu-radius); background: #fff;
	text-decoration: none; color: inherit;
	transition: transform .18s ease, box-shadow .2s ease, border-color .2s ease;
	position: relative; overflow: hidden;
}
.contact-card::before {
	content: ""; position: absolute; top: 0; left: 0; right: 0;
	height: 4px; background: var(--anu-gold); opacity: .8;
}
.contact-card:hover { transform: translateY(-3px); box-shadow: var(--anu-shadow); border-color: var(--anu-gold); }
.contact-card__icon {
	width: 44px; height: 44px; border-radius: 50%;
	display: inline-flex; align-items: center; justify-content: center;
	background: #faf6ec; color: var(--anu-copper);
	font-size: 22px; margin-bottom: 12px;
}
.contact-card__label {
	font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
	color: var(--anu-muted); margin-bottom: 4px;
}
.contact-card__value {
	font-size: 18px; font-weight: 700; color: var(--anu-ink);
	line-height: 1.25; margin-bottom: 6px; word-break: break-word;
}
.contact-card__sub { font-size: 13px; color: var(--anu-muted); }

.contact-card--line::before    { background: #06c755; }
.contact-card--line .contact-card__icon    { background: rgba(6,199,85,.12); color: #06c755; }
.contact-card--phone::before   { background: var(--anu-copper); }
.contact-card--phone .contact-card__icon   { background: rgba(184,115,51,.12); color: var(--anu-copper); }
.contact-card--email::before   { background: var(--anu-gold); }
.contact-card--email .contact-card__icon   { background: rgba(201,168,76,.18); color: var(--anu-gold); }

.contact-address {
	margin: 20px auto 0; max-width: 680px; padding: 16px 20px;
	background: #faf6ec; border-radius: var(--anu-radius);
	color: var(--anu-muted); font-size: 14px; text-align: center;
	border: 1px solid var(--line, #eee);
}
.contact-address strong { display: block; color: var(--anu-ink); margin-bottom: 4px; font-size: 15px; }

.contact-map {
	margin: 0 auto; max-width: 960px; border-radius: var(--anu-radius);
	overflow: hidden; box-shadow: var(--anu-shadow);
	border: 1px solid var(--line, #eee);
}
.contact-map iframe { display: block; width: 100%; height: 380px; border: 0; }

/* ------------------------------------------------------------------- *
 * Size-guide template (page-size-guide.php)
 * ------------------------------------------------------------------- */
.section--cubit-ref  { padding: 48px 0 24px; }
.section--turn-chart { padding: 24px 0 48px; }

.table-wrap { overflow-x: auto; border-radius: var(--anu-radius); border: 1px solid var(--line, #eee); background: #fff; }

.data-table {
	width: 100%; border-collapse: collapse;
	font-size: 15px; color: var(--anu-ink);
}
.data-table thead th {
	background: #faf6ec; color: var(--anu-ink);
	font-weight: 700; text-align: left;
	padding: 12px 14px; border-bottom: 2px solid var(--anu-gold);
	font-size: 13px; letter-spacing: .04em; text-transform: uppercase;
}
.data-table tbody td {
	padding: 12px 14px; border-bottom: 1px solid var(--line, #f1eee9);
	vertical-align: top;
}
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table tbody tr:hover td { background: #fbf8ef; }
.data-table strong { color: var(--anu-copper); }
.data-table--cubits td:first-child,
.data-table--turns td:first-child,
.data-table--zones td:first-child { font-weight: 600; color: var(--anu-ink); }

/* ------------------------------------------------------------------- *
 * Shipping template (page-shipping.php)
 * ------------------------------------------------------------------- */
.section--ship-highlight { padding: 40px 0 20px; }
.section--ship-zones     { padding: 20px 0 40px; }
.section--payments       { padding: 40px 0 60px; background: #faf8f3; border-top: 1px solid var(--line, #eee); }

.ship-highlight-grid {
	display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
@media (max-width: 820px) { .ship-highlight-grid { grid-template-columns: repeat(2, 1fr); } }
.ship-hl {
	padding: 20px; background: #fff;
	border: 1px solid var(--line, #eee); border-radius: var(--anu-radius);
	text-align: center;
	transition: transform .18s ease, box-shadow .2s ease, border-color .2s ease;
}
.ship-hl:hover { transform: translateY(-3px); box-shadow: var(--anu-shadow); border-color: var(--anu-gold); }
.ship-hl__icon {
	width: 48px; height: 48px; margin: 0 auto 10px;
	border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
	background: #faf6ec; color: var(--anu-copper); font-size: 22px;
}
.ship-hl__label { display: block; font-weight: 700; color: var(--anu-ink); margin-bottom: 4px; }
.ship-hl__sub { font-size: 13px; color: var(--anu-muted); }

.payments-grid {
	display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
@media (max-width: 960px) { .payments-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .payments-grid { grid-template-columns: 1fr; } }

.payment-card {
	padding: 22px 20px; background: #fff;
	border: 1px solid var(--line, #eee); border-radius: var(--anu-radius);
	text-align: center;
	transition: transform .18s ease, box-shadow .2s ease, border-color .2s ease;
}
.payment-card:hover { transform: translateY(-3px); box-shadow: var(--anu-shadow); border-color: var(--anu-gold); }
.payment-card__icon {
	width: 54px; height: 54px; margin: 0 auto 12px;
	border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
	background: linear-gradient(135deg, var(--anu-copper), var(--anu-gold));
	color: #fff; font-size: 22px;
}
.payment-card__title { margin: 0 0 4px; font-size: 16px; color: var(--anu-ink); }
.payment-card__desc  { margin: 0; font-size: 13px; color: var(--anu-muted); line-height: 1.5; }

/* Shared icon hook (font-glyph or emoji placeholder) ------------------ */
.icon { display: inline-block; line-height: 1; }

/* ------------------------------------------------------------------- *
 * Alias: legacy .reading-progress → .anu-reading (defensive) 
 * In case any legacy markup still references the old classes.
 * ------------------------------------------------------------------- */
.reading-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; background: transparent; z-index: 200; pointer-events: none; }
.reading-progress__fill { height: 100%; background: linear-gradient(90deg, var(--anu-copper), var(--anu-gold)); width: 0%; transition: width .15s ease; }

/* ------------------------------------------------------------------- *
 * Mobile hero tightening
 * ------------------------------------------------------------------- */
@media (max-width: 640px) {
	.page-hero { padding: 52px 0 36px; }
	.page-hero__title { font-size: 26px; }
	.page-hero__lede  { font-size: 15px; }
	.section { padding: 40px 0; }
	.section-header { margin-bottom: 24px; }
	.section-header__title { font-size: 22px; }
}

/* ============================================================
 * WOOCOMMERCE OVERRIDES v1.6 — Phase C
 * Branded hero + trust shell for delegated WC templates:
 *   woocommerce/cart/cart.php
 *   woocommerce/checkout/form-checkout.php
 *   woocommerce/myaccount/my-account.php
 * The core WC templates render inside .site-main--{cart,checkout,account}
 * containers; we only style the Anunaki chrome around them + light
 * harmonization of WC default widgets where they clash with the
 * mystical-gold aesthetic.
 * ============================================================ */

/* Hero tints for the WooCommerce shells ------------------------------- */
.page-hero--shop {
	background: linear-gradient(180deg, #f7ecd4 0%, #fff 100%);
}
.page-hero--checkout {
	background: linear-gradient(180deg, #f4ead3 0%, #fff 100%);
}
.page-hero--account {
	background: linear-gradient(180deg, #f5e9d2 0%, #fff 100%);
}

/* Site-main padding wrappers (match Phase B conventions) -------------- */
.site-main--cart,
.site-main--checkout,
.site-main--account {
	padding: 48px 0 64px;
}

/* Thin trust band under the checkout hero ----------------------------- */
.anu-checkout-trust {
	background: #faf8f3;
	border-top: 1px solid var(--line, #eee);
	border-bottom: 1px solid var(--line, #eee);
	padding: 14px 0;
	font-size: 13px;
	color: var(--anu-muted);
}
.anu-checkout-trust__row {
	display: flex; flex-wrap: wrap;
	align-items: center; justify-content: center;
	gap: 18px 28px;
	max-width: 1100px; margin: 0 auto;
}
.anu-checkout-trust__item {
	display: inline-flex; align-items: center; gap: 6px;
	white-space: nowrap;
}
.anu-checkout-trust__item .icon { font-size: 16px; }
@media (max-width: 640px) {
	.anu-checkout-trust { font-size: 12px; padding: 10px 0; }
	.anu-checkout-trust__row { gap: 10px 16px; }
}

/* Harmonize WC cart / checkout / myaccount widgets with Anunaki tokens  */
/* Scope everything under the three .site-main-- shells so we don't leak.*/

/* Tables (cart, order-review, orders, downloads) ---------------------- */
.site-main--cart .woocommerce table.shop_table,
.site-main--checkout .woocommerce table.shop_table,
.site-main--account .woocommerce table.shop_table {
	border: 1px solid var(--line, #eee);
	border-radius: var(--anu-radius);
	overflow: hidden;
	background: #fff;
}
.site-main--cart .woocommerce table.shop_table th,
.site-main--checkout .woocommerce table.shop_table th,
.site-main--account .woocommerce table.shop_table th {
	background: #faf6ec;
	color: var(--anu-ink);
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
	font-size: 13px;
	border-bottom: 2px solid var(--anu-gold);
}
.site-main--cart .woocommerce table.shop_table td,
.site-main--checkout .woocommerce table.shop_table td,
.site-main--account .woocommerce table.shop_table td {
	border-bottom: 1px solid var(--line, #f1eee9);
	color: var(--anu-ink);
}
.site-main--cart .woocommerce table.shop_table td.product-subtotal,
.site-main--checkout .woocommerce table.shop_table td .amount,
.site-main--account .woocommerce table.shop_table td.order-total {
	color: var(--anu-copper);
	font-weight: 700;
}

/* Price colors harmonized with brand gold */
.site-main--cart .woocommerce .amount,
.site-main--checkout .woocommerce .amount,
.site-main--account .woocommerce .amount {
	color: var(--anu-ink);
}

/* Primary CTA buttons — map WC buttons to Anunaki brand ---------------- */
.site-main--cart .woocommerce button.button,
.site-main--cart .woocommerce a.button,
.site-main--cart .woocommerce input.button,
.site-main--checkout .woocommerce button.button,
.site-main--checkout .woocommerce a.button,
.site-main--checkout .woocommerce input.button,
.site-main--account .woocommerce button.button,
.site-main--account .woocommerce a.button,
.site-main--account .woocommerce input.button {
	background: #fff;
	color: var(--anu-ink);
	border: 1px solid var(--anu-gold);
	padding: 10px 18px;
	border-radius: var(--anu-radius);
	font-weight: 600;
	font-size: 14px;
	line-height: 1.3;
	transition: background .2s ease, color .2s ease, transform .15s ease, box-shadow .2s ease;
	box-shadow: none;
}
.site-main--cart .woocommerce button.button:hover,
.site-main--cart .woocommerce a.button:hover,
.site-main--cart .woocommerce input.button:hover,
.site-main--checkout .woocommerce button.button:hover,
.site-main--checkout .woocommerce a.button:hover,
.site-main--checkout .woocommerce input.button:hover,
.site-main--account .woocommerce button.button:hover,
.site-main--account .woocommerce a.button:hover,
.site-main--account .woocommerce input.button:hover {
	background: var(--anu-gold);
	color: #fff;
	transform: translateY(-1px);
}
.site-main--cart .woocommerce button.button.alt,
.site-main--cart .woocommerce a.button.alt,
.site-main--cart .woocommerce input.button.alt,
.site-main--cart .woocommerce button[name="update_cart"],
.site-main--cart .woocommerce a.checkout-button,
.site-main--checkout .woocommerce button.button.alt,
.site-main--checkout .woocommerce #place_order,
.site-main--account .woocommerce button.button.alt {
	background: linear-gradient(135deg, var(--anu-copper), var(--anu-gold));
	color: #fff;
	border: 0;
	box-shadow: 0 6px 20px rgba(184,115,51,.28);
}
.site-main--cart .woocommerce button.button.alt:hover,
.site-main--cart .woocommerce a.button.alt:hover,
.site-main--cart .woocommerce input.button.alt:hover,
.site-main--cart .woocommerce a.checkout-button:hover,
.site-main--checkout .woocommerce button.button.alt:hover,
.site-main--checkout .woocommerce #place_order:hover,
.site-main--account .woocommerce button.button.alt:hover {
	background: linear-gradient(135deg, var(--anu-gold), var(--anu-copper));
	color: #fff;
	box-shadow: 0 10px 26px rgba(184,115,51,.34);
}

/* Coupon + quantity inputs -------------------------------------------- */
.site-main--cart .woocommerce .coupon,
.site-main--checkout .woocommerce .coupon {
	display: flex; gap: 8px; flex-wrap: wrap; align-items: center;
}
.site-main--cart .woocommerce input[type="text"],
.site-main--cart .woocommerce input[type="email"],
.site-main--cart .woocommerce input[type="tel"],
.site-main--cart .woocommerce input[type="number"],
.site-main--cart .woocommerce input[type="password"],
.site-main--cart .woocommerce textarea,
.site-main--cart .woocommerce select,
.site-main--checkout .woocommerce input[type="text"],
.site-main--checkout .woocommerce input[type="email"],
.site-main--checkout .woocommerce input[type="tel"],
.site-main--checkout .woocommerce input[type="number"],
.site-main--checkout .woocommerce input[type="password"],
.site-main--checkout .woocommerce textarea,
.site-main--checkout .woocommerce select,
.site-main--account .woocommerce input[type="text"],
.site-main--account .woocommerce input[type="email"],
.site-main--account .woocommerce input[type="tel"],
.site-main--account .woocommerce input[type="number"],
.site-main--account .woocommerce input[type="password"],
.site-main--account .woocommerce textarea,
.site-main--account .woocommerce select {
	border: 1px solid var(--line, #e7e2dd);
	border-radius: var(--anu-radius-sm);
	padding: 10px 12px;
	font-size: 15px;
	background: #fff;
	transition: border-color .15s ease, box-shadow .15s ease;
}
.site-main--cart .woocommerce input[type="text"]:focus,
.site-main--cart .woocommerce input[type="email"]:focus,
.site-main--cart .woocommerce input[type="tel"]:focus,
.site-main--cart .woocommerce input[type="number"]:focus,
.site-main--cart .woocommerce input[type="password"]:focus,
.site-main--cart .woocommerce textarea:focus,
.site-main--cart .woocommerce select:focus,
.site-main--checkout .woocommerce input[type="text"]:focus,
.site-main--checkout .woocommerce input[type="email"]:focus,
.site-main--checkout .woocommerce input[type="tel"]:focus,
.site-main--checkout .woocommerce input[type="number"]:focus,
.site-main--checkout .woocommerce input[type="password"]:focus,
.site-main--checkout .woocommerce textarea:focus,
.site-main--checkout .woocommerce select:focus,
.site-main--account .woocommerce input[type="text"]:focus,
.site-main--account .woocommerce input[type="email"]:focus,
.site-main--account .woocommerce input[type="tel"]:focus,
.site-main--account .woocommerce input[type="number"]:focus,
.site-main--account .woocommerce input[type="password"]:focus,
.site-main--account .woocommerce textarea:focus,
.site-main--account .woocommerce select:focus {
	outline: 0;
	border-color: var(--anu-gold);
	box-shadow: 0 0 0 3px rgba(201,168,76,.18);
}

/* Cart totals + order-review panels ----------------------------------- */
.site-main--cart .woocommerce .cart_totals,
.site-main--checkout .woocommerce #order_review,
.site-main--checkout .woocommerce .woocommerce-checkout-review-order {
	background: #faf8f3;
	border: 1px solid var(--line, #eee);
	border-radius: var(--anu-radius);
	padding: 24px 26px;
}
.site-main--cart .woocommerce .cart_totals h2,
.site-main--checkout .woocommerce #order_review_heading {
	margin: 0 0 14px; font-size: 20px; color: var(--anu-ink);
	border-bottom: 1px solid var(--line, #eee); padding-bottom: 10px;
}

/* Checkout form layout: two-column on wider screens ------------------- */
@media (min-width: 860px) {
	.site-main--checkout .woocommerce form.checkout {
		display: grid;
		grid-template-columns: 1fr 420px;
		gap: 40px;
		align-items: start;
	}
	.site-main--checkout .woocommerce form.checkout > .col2-set {
		grid-column: 1;
	}
	.site-main--checkout .woocommerce form.checkout > #order_review_heading,
	.site-main--checkout .woocommerce form.checkout > #order_review {
		grid-column: 2;
		position: sticky; top: 96px;
	}
}

/* Messages / notices --------------------------------------------------- */
.site-main--cart .woocommerce-message,
.site-main--cart .woocommerce-info,
.site-main--cart .woocommerce-error,
.site-main--cart .woocommerce-notice,
.site-main--checkout .woocommerce-message,
.site-main--checkout .woocommerce-info,
.site-main--checkout .woocommerce-error,
.site-main--checkout .woocommerce-notice,
.site-main--account .woocommerce-message,
.site-main--account .woocommerce-info,
.site-main--account .woocommerce-error,
.site-main--account .woocommerce-notice {
	border-top-color: var(--anu-gold);
	background: #faf6ec;
	color: var(--anu-ink);
	border-radius: var(--anu-radius-sm);
	padding: 14px 18px 14px 48px;
}
.site-main--cart .woocommerce-error,
.site-main--checkout .woocommerce-error,
.site-main--account .woocommerce-error {
	border-top-color: var(--anu-error);
}
.site-main--cart .woocommerce-message::before,
.site-main--cart .woocommerce-info::before,
.site-main--checkout .woocommerce-message::before,
.site-main--checkout .woocommerce-info::before,
.site-main--account .woocommerce-message::before,
.site-main--account .woocommerce-info::before {
	color: var(--anu-gold);
}

/* My-account navigation ----------------------------------------------- */
.site-main--account .woocommerce-MyAccount-navigation {
	background: #faf8f3;
	border: 1px solid var(--line, #eee);
	border-radius: var(--anu-radius);
	padding: 16px 18px;
}
.site-main--account .woocommerce-MyAccount-navigation ul {
	list-style: none; margin: 0; padding: 0;
}
.site-main--account .woocommerce-MyAccount-navigation ul li {
	border-bottom: 1px dashed var(--line, #eee);
}
.site-main--account .woocommerce-MyAccount-navigation ul li:last-child {
	border-bottom: 0;
}
.site-main--account .woocommerce-MyAccount-navigation ul li a {
	display: block;
	padding: 10px 4px;
	color: var(--anu-ink);
	text-decoration: none;
	font-size: 15px;
	transition: color .15s ease;
}
.site-main--account .woocommerce-MyAccount-navigation ul li a:hover {
	color: var(--anu-copper);
}
.site-main--account .woocommerce-MyAccount-navigation ul li.is-active a,
.site-main--account .woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--is-active a {
	color: var(--anu-copper);
	font-weight: 700;
}

/* Empty-cart / empty-state messaging harmonized ----------------------- */
.site-main--cart .woocommerce .cart-empty,
.site-main--account .woocommerce-info.woocommerce-order-downloads__empty {
	text-align: center;
	font-size: 16px;
	color: var(--anu-muted);
	padding: 30px 0;
}

/* Mobile tightening ---------------------------------------------------- */
@media (max-width: 820px) {
	.site-main--cart,
	.site-main--checkout,
	.site-main--account { padding: 32px 0 48px; }
	.site-main--cart .woocommerce table.shop_table,
	.site-main--checkout .woocommerce table.shop_table,
	.site-main--account .woocommerce table.shop_table { font-size: 14px; }
}
