/**
 * Athath theme.
 *
 * Written with logical properties throughout, so the right-to-left layout is
 * the same stylesheet mirrored rather than a second set of rules.
 */

/* ==========================================================================
   Tokens
   ========================================================================== */

:root {
	--athath-ink: #16161b;
	--athath-ink-soft: #424150;
	--athath-muted: #6f6e7a;
	--athath-faint: #a8a7b6;
	--athath-line: #e6e2dc;
	--athath-line-soft: #f1ede8;

	--athath-gold: #d09253;
	--athath-gold-dark: #b57a3f;
	--athath-sand: #f0ddca;
	--athath-cream: #faf4ee;
	--athath-brown: #573d23;
	--athath-green: #496e2d;
	--athath-amber: #f9c10b;
	--athath-danger: #b3261e;

	--athath-bg: #ffffff;
	--athath-bg-alt: #fbfbfb;

	--athath-radius-xs: 8px;
	--athath-radius: 14px;
	--athath-radius-lg: 22px;
	--athath-radius-pill: 999px;

	--athath-shadow-sm: 0 2px 10px rgba(22, 22, 27, .05);
	--athath-shadow: 0 12px 34px rgba(22, 22, 27, .09);
	--athath-shadow-lg: 0 24px 60px rgba(22, 22, 27, .14);

	--athath-container: 1280px;
	--athath-gutter: clamp(1rem, 4vw, 2.5rem);

	--athath-header-h: 76px;
	--athath-appbar-h: 0px;

	--athath-font: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
	--athath-font-ar: "Tajawal", "Poppins", system-ui, sans-serif;

	--athath-ease: cubic-bezier(.22, .61, .36, 1);
}

html[lang^="ar"] {
	--athath-font: var(--athath-font-ar);
}

/* ==========================================================================
   Base
   ========================================================================== */

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

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

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

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

body {
	margin: 0;
	font-family: var(--athath-font);
	font-size: 16px;
	line-height: 1.6;
	color: var(--athath-ink);
	background: var(--athath-bg);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

body.athath-locked {
	overflow: hidden;
}

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

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

a:hover {
	color: var(--athath-gold-dark);
}

h1, h2, h3, h4, h5, h6 {
	margin: 0 0 .5em;
	line-height: 1.25;
	font-weight: 600;
	letter-spacing: -.01em;
}

p {
	margin: 0 0 1em;
}

ul, ol {
	margin: 0 0 1em;
	padding-inline-start: 1.2em;
}

button {
	font: inherit;
	color: inherit;
}

:focus-visible {
	outline: 2px solid var(--athath-gold);
	outline-offset: 3px;
	border-radius: 4px;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link:focus {
	position: fixed;
	inset-block-start: 1rem;
	inset-inline-start: 1rem;
	z-index: 999;
	width: auto;
	height: auto;
	clip: auto;
	padding: .8rem 1.2rem;
	background: var(--athath-ink);
	color: #fff;
	border-radius: var(--athath-radius-xs);
}

.athath-container {
	width: 100%;
	max-width: var(--athath-container);
	margin-inline: auto;
	padding-inline: var(--athath-gutter);
}

.athath-main {
	min-height: 50vh;
	padding-block-end: clamp(2rem, 6vw, 4rem);
}

.athath-icon {
	flex: 0 0 auto;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.athath-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .5rem;
	min-height: 50px;
	padding: .75rem 1.6rem;
	border: 1px solid transparent;
	border-radius: var(--athath-radius-pill);
	font-size: .95rem;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	cursor: pointer;
	transition: background .2s var(--athath-ease), color .2s var(--athath-ease), border-color .2s var(--athath-ease), transform .2s var(--athath-ease);
}

.athath-btn:active {
	transform: translateY(1px);
}

.athath-btn--primary {
	background: var(--athath-gold);
	color: #fff;
}

.athath-btn--primary:hover {
	background: var(--athath-gold-dark);
	color: #fff;
}

.athath-btn--ghost {
	background: transparent;
	border-color: var(--athath-line);
	color: var(--athath-ink);
}

.athath-btn--ghost:hover {
	border-color: var(--athath-gold);
	background: var(--athath-cream);
	color: var(--athath-ink);
}

.athath-btn--dark {
	background: var(--athath-ink);
	color: #fff;
}

.athath-pill-link {
	display: inline-flex;
	align-items: center;
	gap: .4rem;
	padding: .5rem 1.1rem;
	border: 1px solid var(--athath-line);
	border-radius: var(--athath-radius-pill);
	font-size: .85rem;
	font-weight: 500;
	white-space: nowrap;
}

.athath-pill-link:hover {
	border-color: var(--athath-gold);
	background: var(--athath-cream);
}

.athath-icon-btn {
	position: relative;
	display: inline-grid;
	place-items: center;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 0;
	border-radius: var(--athath-radius-pill);
	background: transparent;
	cursor: pointer;
	transition: background .2s var(--athath-ease);
}

.athath-icon-btn:hover {
	background: var(--athath-cream);
}

/* ==========================================================================
   Header
   ========================================================================== */

.athath-header {
	position: sticky;
	inset-block-start: 0;
	z-index: 80;
	background: rgba(255, 255, 255, .92);
	backdrop-filter: saturate(160%) blur(12px);
	border-block-end: 1px solid var(--athath-line-soft);
	transition: transform .3s var(--athath-ease), box-shadow .3s var(--athath-ease);
}

.athath-header.is-stuck {
	box-shadow: var(--athath-shadow-sm);
}

.athath-header.is-hidden {
	transform: translateY(-100%);
}

.athath-header__inner {
	display: flex;
	align-items: center;
	gap: 1rem;
	min-height: var(--athath-header-h);
}

.athath-header__burger {
	display: none;
}

.athath-logo {
	display: inline-flex;
	flex-direction: column;
	line-height: 1;
	flex: 0 0 auto;
}

.athath-logo__img {
	max-height: 46px;
	width: auto;
}

.athath-logo__word {
	font-size: 1.5rem;
	font-weight: 700;
	letter-spacing: -.02em;
	color: var(--athath-gold-dark);
}

.athath-logo__sub {
	font-size: .6rem;
	letter-spacing: .38em;
	text-transform: uppercase;
	color: var(--athath-muted);
}

.athath-nav {
	margin-inline: auto;
}

.athath-nav__list {
	display: flex;
	align-items: center;
	gap: clamp(1rem, 2.4vw, 2.2rem);
	margin: 0;
	padding: 0;
	list-style: none;
}

.athath-nav__list a {
	position: relative;
	display: block;
	padding-block: .5rem;
	font-size: .95rem;
	font-weight: 500;
	color: var(--athath-ink-soft);
	white-space: nowrap;
}

.athath-nav__list a::after {
	content: "";
	position: absolute;
	inset-block-end: 0;
	inset-inline-start: 0;
	width: 0;
	height: 2px;
	background: var(--athath-gold);
	transition: width .25s var(--athath-ease);
}

.athath-nav__list a:hover::after,
.athath-nav__list .current-menu-item > a::after {
	width: 100%;
}

.athath-nav__list .current-menu-item > a {
	color: var(--athath-gold-dark);
}

.athath-header__actions {
	display: flex;
	align-items: center;
	gap: .25rem;
	margin-inline-start: auto;
}

.athath-header__count {
	position: absolute;
	inset-block-start: 4px;
	inset-inline-end: 4px;
	min-width: 18px;
	height: 18px;
	padding-inline: 4px;
	border-radius: var(--athath-radius-pill);
	background: var(--athath-gold);
	color: #fff;
	font-size: .68rem;
	font-weight: 700;
	line-height: 18px;
	text-align: center;
}

/* ==========================================================================
   Drawer and search overlay
   ========================================================================== */

.athath-drawer,
.athath-search-overlay {
	position: fixed;
	inset: 0;
	z-index: 120;
}

.athath-drawer__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(22, 22, 27, .5);
	opacity: 0;
	transition: opacity .25s var(--athath-ease);
}

.is-open .athath-drawer__backdrop {
	opacity: 1;
}

.athath-drawer__panel {
	position: absolute;
	inset-block: 0;
	inset-inline-start: 0;
	width: min(340px, 86vw);
	display: flex;
	flex-direction: column;
	gap: 1rem;
	padding: 1.25rem;
	background: #fff;
	box-shadow: var(--athath-shadow-lg);
	transform: translateX(-100%);
	transition: transform .3s var(--athath-ease);
	overflow-y: auto;
}

.athath--rtl .athath-drawer__panel {
	transform: translateX(100%);
}

.is-open .athath-drawer__panel {
	transform: translateX(0);
}

.athath-drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding-block-end: 1rem;
	border-block-end: 1px solid var(--athath-line-soft);
}

.athath-drawer__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: .25rem;
}

.athath-drawer__list a {
	display: flex;
	align-items: center;
	gap: .75rem;
	padding: .85rem .75rem;
	border-radius: var(--athath-radius-xs);
	font-weight: 500;
	transition: background .2s var(--athath-ease);
}

.athath-drawer__list a:hover,
.athath-drawer__list .current-menu-item > a {
	background: var(--athath-cream);
	color: var(--athath-gold-dark);
}

.athath-drawer__foot {
	margin-block-start: auto;
	padding-block-start: 1rem;
	border-block-start: 1px solid var(--athath-line-soft);
}

.athath-drawer__contact {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	font-weight: 600;
	color: var(--athath-gold-dark);
}

.athath-search-overlay__panel {
	position: absolute;
	inset-block-start: 0;
	inset-inline: 0;
	padding: clamp(1.25rem, 4vw, 2.5rem);
	background: #fff;
	box-shadow: var(--athath-shadow-lg);
	transform: translateY(-100%);
	transition: transform .3s var(--athath-ease);
}

.is-open .athath-search-overlay__panel {
	transform: translateY(0);
}

.athath-search-form {
	position: relative;
	display: flex;
	align-items: center;
	gap: .6rem;
	max-width: var(--athath-container);
	margin-inline: auto;
}

.athath-search-form__icon {
	position: absolute;
	inset-inline-start: 1rem;
	display: grid;
	place-items: center;
	color: var(--athath-muted);
	pointer-events: none;
}

.athath-search-form__field {
	flex: 1 1 auto;
	/* Without this the input keeps its intrinsic size as a floor and the row
	   overflows a phone, pushing the close button off-screen. */
	min-width: 0;
	min-height: 52px;
	padding: .8rem 1rem .8rem 3rem;
	border: 1px solid var(--athath-line);
	border-radius: var(--athath-radius-pill);
	font: inherit;
	background: var(--athath-bg-alt);
}

.athath--rtl .athath-search-form__field {
	padding: .8rem 3rem .8rem 1rem;
}

@media (max-width: 560px) {
	/* On a phone the submit button is redundant next to the keyboard's own
	   search key, and dropping it leaves room for the field and the close. */
	.athath-search-form .athath-btn {
		display: none;
	}
}

.athath-search-overlay__suggestions {
	max-width: var(--athath-container);
	margin: 1.25rem auto 0;
	color: var(--athath-muted);
	font-size: .88rem;
}

.athath-search-overlay__suggestions ul {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem;
	list-style: none;
	margin: .5rem 0 0;
	padding: 0;
}

.athath-search-overlay__suggestions a {
	display: block;
	padding: .4rem .9rem;
	border: 1px solid var(--athath-line);
	border-radius: var(--athath-radius-pill);
	color: var(--athath-ink);
	font-size: .85rem;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.athath-hero {
	padding-block: clamp(2rem, 5vw, 3.5rem) clamp(1.5rem, 4vw, 3rem);
}

.athath-hero__text {
	display: grid;
	grid-template-columns: 1.1fr 1fr;
	gap: clamp(1.5rem, 4vw, 4rem);
	align-items: end;
	margin-block-end: clamp(1.5rem, 4vw, 2.5rem);
}

.athath-hero__title {
	margin: 0;
	font-size: clamp(2rem, 5vw, 3.4rem);
	font-weight: 600;
	line-height: 1.1;
	letter-spacing: -.03em;
}

.athath-hero__lede {
	max-width: 46ch;
	color: var(--athath-muted);
	font-size: clamp(.95rem, 1.4vw, 1.05rem);
}

.athath-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: .75rem;
}

.athath-hero__media {
	position: relative;
	border-radius: var(--athath-radius-lg);
	overflow: hidden;
	background: var(--athath-cream);
}

.athath-hero__img {
	width: 100%;
	aspect-ratio: 16 / 7;
	object-fit: cover;
}

/* Centred with logical insets and auto margins, not with
   `inset-inline-start: 50%` + `translateX(-50%)`. A transform is not
   direction-aware: on this RTL site that pair anchored the pill to the
   right edge and then shoved it half its own width further left, hanging
   it off the side of a phone screen. */
.athath-hero__bnpl {
	position: absolute;
	inset-block-end: clamp(.75rem, 2vw, 1.5rem);
	inset-inline: clamp(.5rem, 2vw, 1rem);
	margin-inline: auto;
	width: fit-content;
	max-width: 100%;
	display: flex;
	align-items: center;
	gap: .6rem;
	padding: .55rem .9rem;
	border-radius: var(--athath-radius-pill);
	background: rgba(255, 255, 255, .94);
	box-shadow: var(--athath-shadow);
	font-size: .8rem;
	font-weight: 600;
	white-space: nowrap;
}

.athath-hero__bnpl img {
	height: 22px;
	width: auto;
	border-radius: 5px;
}

/* ==========================================================================
   Sections
   ========================================================================== */

.athath-section {
	padding-block: clamp(2rem, 5vw, 4rem);
}

.athath-section__head {
	display: flex;
	align-items: end;
	gap: 1rem;
	margin-block-end: clamp(1.25rem, 3vw, 2rem);
}

.athath-section__head--center {
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.athath-section__head--split {
	justify-content: space-between;
}

.athath-section__title {
	margin: 0;
	font-size: clamp(1.4rem, 2.6vw, 2rem);
	font-weight: 600;
}

.athath-section__subtitle {
	margin: .35rem 0 0;
	color: var(--athath-muted);
	font-size: .95rem;
}

.athath-section__subtitle--lead {
	max-width: 60ch;
	margin-block-end: 2rem;
	font-size: 1.05rem;
}

.athath-reveal {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity .55s var(--athath-ease), transform .55s var(--athath-ease);
}

.athath-reveal.is-visible {
	opacity: 1;
	transform: none;
}

/* ==========================================================================
   Category cards
   ========================================================================== */

.athath-categories__list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: clamp(.75rem, 2vw, 1.25rem);
	list-style: none;
	margin: 0;
	padding: 0;
}

.athath-category-card a {
	display: flex;
	flex-direction: column;
	gap: .55rem;
	text-align: center;
}

.athath-category-card__media {
	display: block;
	border-radius: var(--athath-radius);
	overflow: hidden;
	background: var(--athath-cream);
	aspect-ratio: 4 / 5;
}

.athath-category-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .4s var(--athath-ease);
}

.athath-category-card a:hover .athath-category-card__media img {
	transform: scale(1.05);
}

.athath-category-card__name {
	font-weight: 600;
	font-size: .95rem;
}

.athath-category-card__count {
	color: var(--athath-faint);
	font-size: .8rem;
}

/* ==========================================================================
   Product cards
   ========================================================================== */

.athath-products {
	display: grid;
	gap: clamp(1rem, 2.4vw, 1.75rem);
}

.athath-products--grid,
.woocommerce ul.products {
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	display: grid;
	gap: clamp(1rem, 2.4vw, 1.75rem);
	list-style: none;
	margin: 0;
	padding: 0;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
	content: none;
}

.athath-product-card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: .75rem;
	width: 100% !important;
	margin: 0 !important;
	padding: 0;
	float: none !important;
	list-style: none;
}

.athath-product-card__media {
	position: relative;
	border-radius: var(--athath-radius);
	overflow: hidden;
	background: var(--athath-cream);
	aspect-ratio: 4 / 3;
}

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

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

.athath-product-card__link {
	display: block;
	height: 100%;
}

.athath-product-card__badges {
	position: absolute;
	inset-block-start: .7rem;
	inset-inline-start: .7rem;
	display: flex;
	flex-direction: column;
	gap: .35rem;
}

.athath-badge {
	display: inline-block;
	padding: .3rem .7rem;
	border-radius: var(--athath-radius-xs);
	font-size: .72rem;
	font-weight: 700;
	line-height: 1.2;
}

.athath-badge--sale {
	background: var(--athath-ink);
	color: #fff;
}

.athath-badge--new {
	background: var(--athath-sand);
	color: var(--athath-brown);
}

.athath-product-card__actions {
	position: absolute;
	inset-block-start: .7rem;
	inset-inline-end: .7rem;
	display: flex;
	flex-direction: column;
	gap: .4rem;
	opacity: 0;
	transform: translateY(-6px);
	transition: opacity .25s var(--athath-ease), transform .25s var(--athath-ease);
}

.athath-product-card:hover .athath-product-card__actions,
.athath-product-card:focus-within .athath-product-card__actions {
	opacity: 1;
	transform: none;
}

.athath-product-card__action {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: var(--athath-radius-pill);
	background: rgba(255, 255, 255, .95);
	box-shadow: var(--athath-shadow-sm);
	color: var(--athath-ink);
}

.athath-product-card__action:hover {
	background: var(--athath-gold);
	color: #fff;
}

.athath-product-card__body {
	display: flex;
	flex-direction: column;
	gap: .3rem;
}

.athath-product-card__title {
	margin: 0;
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.35;
}

.athath-product-card__price {
	margin: 0;
	font-weight: 600;
	color: var(--athath-ink);
}

.athath-product-card__price del {
	margin-inline-start: .4rem;
	color: var(--athath-faint);
	font-weight: 400;
	font-size: .88em;
}

.athath-product-card__price ins {
	text-decoration: none;
}

.athath-product-card__swatches {
	display: flex;
	gap: .35rem;
	list-style: none;
	margin: .15rem 0 0;
	padding: 0;
}

.athath-product-card__swatch span:first-child {
	display: block;
	width: 14px;
	height: 14px;
	border-radius: var(--athath-radius-pill);
	box-shadow: inset 0 0 0 1px rgba(22, 22, 27, .14);
}

.athath-product-card__cta {
	margin-block-start: auto;
	min-height: 44px;
	font-size: .88rem;
}

.athath-stars {
	display: inline-flex;
	gap: 1px;
	color: var(--athath-line);
}

.athath-stars__star.is-on {
	color: var(--athath-amber);
}

.athath-stars svg {
	fill: currentColor;
	stroke: none;
}

/* ==========================================================================
   How it works
   ========================================================================== */

.athath-inspire {
	background: var(--athath-cream);
}

.athath-inspire__inner {
	display: grid;
	grid-template-columns: 1fr 1.1fr;
	gap: clamp(1.5rem, 4vw, 3.5rem);
	align-items: center;
}

.athath-inspire__media img {
	width: 100%;
	border-radius: var(--athath-radius-lg);
	object-fit: cover;
}

.athath-steps {
	counter-reset: athath-step;
	list-style: none;
	margin: 1.5rem 0;
	padding: 0;
	display: grid;
	gap: 1.1rem;
}

.athath-steps li {
	position: relative;
	padding-inline-start: 3rem;
}

.athath-steps li::before {
	counter-increment: athath-step;
	content: counter(athath-step);
	position: absolute;
	inset-inline-start: 0;
	inset-block-start: 0;
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: var(--athath-radius-pill);
	background: var(--athath-gold);
	color: #fff;
	font-size: .85rem;
	font-weight: 700;
}

.athath-steps h3 {
	margin: 0 0 .15rem;
	font-size: 1rem;
}

.athath-steps p {
	margin: 0;
	color: var(--athath-muted);
	font-size: .92rem;
}

/* ==========================================================================
   Journal
   ========================================================================== */

.athath-journal__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: clamp(1rem, 2.4vw, 1.75rem);
}

.athath-post-card {
	display: flex;
	flex-direction: column;
	gap: .8rem;
}

.athath-post-card__media {
	display: block;
	border-radius: var(--athath-radius);
	overflow: hidden;
	background: var(--athath-cream);
	aspect-ratio: 3 / 2;
}

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

.athath-post-card:hover .athath-post-card__media img {
	transform: scale(1.04);
}

.athath-post-card__meta {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem;
	margin: 0;
	color: var(--athath-faint);
	font-size: .78rem;
}

.athath-post-card__cat {
	color: var(--athath-gold-dark);
	font-weight: 600;
}

.athath-post-card__title {
	margin: 0;
	font-size: 1.05rem;
	line-height: 1.4;
}

.athath-post-card__excerpt {
	margin: 0;
	color: var(--athath-muted);
	font-size: .9rem;
}

/* ==========================================================================
   Trust strip
   ========================================================================== */

.athath-trust {
	padding-block: clamp(2rem, 4vw, 3rem);
	border-block-start: 1px solid var(--athath-line-soft);
}

.athath-trust__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: clamp(1rem, 3vw, 2rem);
	text-align: center;
}

.athath-trust__icon {
	display: grid;
	place-items: center;
	width: 56px;
	height: 56px;
	margin-inline: auto;
	margin-block-end: .6rem;
	border-radius: var(--athath-radius-pill);
	background: var(--athath-cream);
	color: var(--athath-gold-dark);
}

.athath-trust__title {
	margin: 0 0 .2rem;
	font-size: 1rem;
}

.athath-trust__text {
	margin: 0;
	color: var(--athath-muted);
	font-size: .87rem;
}

/* ==========================================================================
   Page hero, prose
   ========================================================================== */

.athath-page-hero {
	padding-block: clamp(1.5rem, 4vw, 2.75rem);
	background: var(--athath-cream);
	text-align: center;
}

.athath-page-hero__title {
	margin: 0 0 .5rem;
	font-size: clamp(1.6rem, 3.4vw, 2.5rem);
}

.athath-breadcrumbs__list {
	justify-content: center;
	color: var(--athath-muted);
}

.athath-page,
.athath-single {
	padding-block: clamp(1.75rem, 4vw, 3rem);
}

.athath-prose {
	max-width: 72ch;
	margin-inline: auto;
	font-size: 1.02rem;
	line-height: 1.75;
}

.athath-prose h2 {
	margin-block: 1.8em .5em;
	font-size: 1.4rem;
}

.athath-prose h3 {
	margin-block: 1.5em .4em;
	font-size: 1.15rem;
}

.athath-prose img {
	border-radius: var(--athath-radius);
}

.athath-prose ul,
.athath-prose ol {
	padding-inline-start: 1.35em;
}

.athath-prose li {
	margin-block-end: .4em;
}

.athath-page__media,
.athath-single__media {
	margin: 0 0 2rem;
}

.athath-page__media img,
.athath-single__media img {
	width: 100%;
	border-radius: var(--athath-radius-lg);
	object-fit: cover;
}

.athath-single__meta {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1rem;
	margin-block-end: 1.5rem;
	color: var(--athath-muted);
	font-size: .85rem;
}

.athath-empty {
	padding-block: 3rem;
	text-align: center;
	color: var(--athath-muted);
}

/* ==========================================================================
   Pagination
   ========================================================================== */

.pagination,
.woocommerce-pagination {
	margin-block-start: 2.5rem;
}

.pagination .nav-links,
.woocommerce-pagination ul {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: .4rem;
	list-style: none;
	margin: 0;
	padding: 0;
	border: 0 !important;
}

.woocommerce-pagination li {
	border: 0 !important;
}

.page-numbers {
	display: grid;
	place-items: center;
	min-width: 42px;
	height: 42px;
	padding-inline: .6rem;
	border: 1px solid var(--athath-line);
	border-radius: var(--athath-radius-pill);
	font-size: .9rem;
	font-weight: 500;
	background: #fff !important;
	color: var(--athath-ink) !important;
}

.page-numbers.current,
.page-numbers:hover {
	background: var(--athath-gold) !important;
	border-color: var(--athath-gold);
	color: #fff !important;
}

/* ==========================================================================
   Showrooms
   ========================================================================== */

.athath-showroom__grid {
	display: grid;
	grid-template-columns: 1.6fr 1fr;
	gap: clamp(1.5rem, 4vw, 3rem);
	align-items: start;
}

.athath-showroom__media img {
	width: 100%;
	border-radius: var(--athath-radius-lg);
	margin-block-end: 1.5rem;
}

.athath-showroom .athath-prose {
	margin-inline: 0;
}

.athath-showroom__card {
	position: sticky;
	inset-block-start: calc(var(--athath-header-h) + 1rem);
	padding: 1.5rem;
	border: 1px solid var(--athath-line);
	border-radius: var(--athath-radius-lg);
	background: var(--athath-cream);
}

.athath-showroom__card-title {
	margin: 0 0 1rem;
	font-size: 1.15rem;
}

.athath-showroom__row {
	display: flex;
	align-items: start;
	gap: .6rem;
	margin: 0 0 .75rem;
	font-size: .92rem;
}

.athath-showroom__hours-title {
	margin: 1.25rem 0 .5rem;
	font-size: .95rem;
}

.athath-showroom__hours {
	list-style: none;
	margin: 0 0 1.25rem;
	padding: 0;
	font-size: .85rem;
	color: var(--athath-muted);
}

.athath-showroom__hours li {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	padding-block: .2rem;
}

.athath-showroom__actions {
	display: grid;
	gap: .5rem;
}

/* ==========================================================================
   404
   ========================================================================== */

.athath-404 {
	padding-block: clamp(3rem, 8vw, 6rem);
	text-align: center;
}

.athath-404__code {
	margin: 0;
	font-size: clamp(4rem, 14vw, 8rem);
	font-weight: 700;
	line-height: 1;
	color: var(--athath-sand);
}

.athath-404__title {
	margin: .5rem 0;
}

.athath-404__text {
	max-width: 46ch;
	margin-inline: auto;
	color: var(--athath-muted);
}

.athath-404__actions {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: .75rem;
	margin-block: 1.5rem 2rem;
}

.athath-404 .athath-search-form {
	max-width: 460px;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.athath-footer {
	margin-block-start: clamp(2rem, 6vw, 4rem);
	background: var(--athath-brown);
	color: rgba(255, 255, 255, .78);
}

.athath-footer a {
	color: rgba(255, 255, 255, .78);
}

.athath-footer a:hover {
	color: #fff;
}

.athath-footer__grid {
	display: grid;
	grid-template-columns: 1.6fr repeat(3, 1fr);
	gap: clamp(1.5rem, 4vw, 3rem);
	padding-block: clamp(2.5rem, 6vw, 4rem);
}

.athath-footer .athath-logo__word {
	color: #fff;
}

.athath-footer .athath-logo__sub {
	color: rgba(255, 255, 255, .6);
}

.athath-footer__heading {
	margin: 1.25rem 0 .85rem;
	font-size: .95rem;
	font-weight: 600;
	color: #fff;
	letter-spacing: .02em;
}

.athath-footer__about {
	max-width: 42ch;
	font-size: .88rem;
	line-height: 1.7;
}

.athath-footer__list,
.athath-footer__socials {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: .5rem;
	margin-block-start: .9rem;
}

.athath-social {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	/* 44px so the mark stays a comfortable touch target on a phone, which is
	   the same floor the buttons elsewhere in the theme use. */
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, .22);
	color: inherit;
	transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}

.athath-social:hover,
.athath-social:focus-visible {
	background: rgba(255, 255, 255, .12);
	border-color: rgba(255, 255, 255, .5);
	transform: translateY(-2px);
}

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

	.athath-social:hover,
	.athath-social:focus-visible {
		transform: none;
	}
}

.athath-footer__contact {
	display: flex;
	align-items: center;
	gap: .5rem;
	margin-block-start: .85rem;
	font-size: .88rem;
}

.athath-footer__bar {
	border-block-start: 1px solid rgba(255, 255, 255, .14);
}

.athath-footer__bar-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 1rem;
	padding-block: 1.1rem;
}

.athath-footer__copy {
	margin: 0;
	font-size: .82rem;
}

.athath-footer__pay {
	display: flex;
	align-items: center;
	gap: .5rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.athath-footer__pay img {
	height: 22px;
	width: auto;
	border-radius: 4px;
}

/* ==========================================================================
   App bar (phones)
   ========================================================================== */

.athath-appbar {
	display: none;
	position: fixed;
	inset-inline: 0;
	inset-block-end: 0;
	z-index: 90;
	grid-template-columns: repeat(5, 1fr);
	background: rgba(255, 255, 255, .96);
	backdrop-filter: saturate(160%) blur(12px);
	border-block-start: 1px solid var(--athath-line);
	padding-block-end: env(safe-area-inset-bottom, 0);
}

.athath-appbar__tab {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: .15rem;
	padding-block: .5rem .4rem;
	color: var(--athath-muted);
	font-size: .68rem;
	font-weight: 500;
}

.athath-appbar__tab.is-current {
	color: var(--athath-gold-dark);
}

.athath-appbar__icon {
	position: relative;
	display: grid;
	place-items: center;
}

.athath-appbar__badge {
	position: absolute;
	inset-block-start: -4px;
	inset-inline-end: -8px;
	min-width: 17px;
	height: 17px;
	padding-inline: 4px;
	border-radius: var(--athath-radius-pill);
	background: var(--athath-gold);
	color: #fff;
	font-size: .64rem;
	font-weight: 700;
	line-height: 17px;
	text-align: center;
}

/* ==========================================================================
   Sticky buy bar
   ========================================================================== */

.athath-sticky-buy {
	position: fixed;
	inset-inline: 0;
	inset-block-end: var(--athath-appbar-h);
	z-index: 88;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: .7rem var(--athath-gutter);
	background: rgba(255, 255, 255, .97);
	backdrop-filter: blur(12px);
	border-block-start: 1px solid var(--athath-line);
	box-shadow: 0 -8px 24px rgba(22, 22, 27, .07);
}

.athath-sticky-buy[hidden] {
	display: none;
}

.athath-sticky-buy__info {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.athath-sticky-buy__name {
	font-size: .82rem;
	color: var(--athath-muted);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.athath-sticky-buy__price {
	font-weight: 700;
}

.athath-sticky-buy .athath-btn {
	min-height: 44px;
	padding-inline: 1.4rem;
	white-space: nowrap;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1100px) {
	.athath-footer__grid {
		grid-template-columns: 1.4fr repeat(2, 1fr);
	}

	.athath-showroom__grid {
		grid-template-columns: 1fr;
	}

	.athath-showroom__card {
		position: static;
	}
}

@media (max-width: 900px) {
	:root {
		--athath-header-h: 62px;
		--athath-appbar-h: 62px;
	}

	body {
		padding-block-end: calc(var(--athath-appbar-h) + env(safe-area-inset-bottom, 0px));
	}

	.athath-header__burger {
		display: inline-grid;
	}

	.athath-nav {
		display: none;
	}

	.athath-logo {
		margin-inline: auto;
	}

	.athath--rtl .athath-logo {
		margin-inline: auto;
	}

	.athath-header__account {
		display: none;
	}

	.athath-appbar {
		display: grid;
	}

	.athath-footer {
		margin-block-end: 0;
	}

	.athath-hero__text {
		grid-template-columns: 1fr;
		gap: 1rem;
		align-items: start;
	}

	.athath-inspire__inner {
		grid-template-columns: 1fr;
	}

	.athath-inspire__media {
		order: 2;
	}
}

@media (max-width: 700px) {
	.athath-footer__grid {
		grid-template-columns: 1fr 1fr;
	}

	.athath-footer__brand {
		grid-column: 1 / -1;
	}

	.athath-products--grid,
	.woocommerce ul.products {
		grid-template-columns: repeat(2, 1fr);
		gap: .85rem;
	}

	.athath-product-card__title {
		font-size: .9rem;
	}

	.athath-product-card__cta {
		min-height: 40px;
		font-size: .8rem;
		padding-inline: .8rem;
	}

	.athath-categories__list {
		grid-template-columns: repeat(3, 1fr);
	}

	.athath-hero__img {
		aspect-ratio: 4 / 3;
	}

	.athath-journal__grid {
		grid-template-columns: 1fr;
	}

	.athath-trust__grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.athath-section__head--split {
		flex-direction: column;
		align-items: start;
	}
}

@media (max-width: 420px) {
	.athath-hero__bnpl {
		font-size: .72rem;
		gap: .4rem;
		padding: .45rem .7rem;
		/* Below this width the sentence plus two logos stops fitting on one
		   line, and `nowrap` would push it out of the pill rather than out
		   of view. Let it take a second line instead. */
		flex-wrap: wrap;
		justify-content: center;
		white-space: normal;
		text-align: center;
	}

	.athath-hero__bnpl img {
		height: 18px;
	}

	.athath-categories__list {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* ==========================================================================
   Assurances under the buy button
   ========================================================================== */

.athath-assurances {
	list-style: none;
	margin: 1.1rem 0 0;
	padding: 1rem 1.1rem;
	display: grid;
	gap: .7rem;
	border: 1px solid var(--athath-line);
	border-radius: var(--athath-radius);
	background: var(--athath-cream);
	font-size: .86rem;
	line-height: 1.5;
}

.athath-assurances__item {
	display: flex;
	align-items: flex-start;
	gap: .6rem;
}

.athath-assurances__item .athath-icon {
	flex: 0 0 auto;
	margin-block-start: .1rem;
	color: var(--athath-accent, currentColor);
}

.athath-assurances__item strong {
	font-weight: 600;
}

/* ==========================================================================
   Questions and answers
   ========================================================================== */

.athath-faq {
	display: grid;
	gap: .7rem;
	margin-block: 1.6rem;
}

.athath-faq__title {
	font-size: 1.35rem;
	margin-block-end: .2rem;
}

.athath-faq__item {
	border: 1px solid var(--athath-line);
	border-radius: var(--athath-radius);
	background: var(--athath-bg);
	padding-inline: 1.1rem;
	transition: border-color .2s ease;
}

.athath-faq__item[open] {
	border-color: var(--athath-gold);
	box-shadow: var(--athath-shadow-sm);
}

.athath-faq__question {
	cursor: pointer;
	font-weight: 600;
	color: var(--athath-ink);
	padding-block: 1rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	list-style: none;
}

/* Safari still paints its own disclosure triangle without this. */
.athath-faq__question::-webkit-details-marker {
	display: none;
}

/* A chevron that turns, drawn with borders so it needs no icon font and no
   direction of its own — a rotated square reads the same in Arabic. */
.athath-faq__question::after {
	content: "";
	flex: 0 0 auto;
	inline-size: .5rem;
	block-size: .5rem;
	border-inline-end: 2px solid var(--athath-gold);
	border-block-end: 2px solid var(--athath-gold);
	transform: rotate(45deg);
	transform-origin: center;
	transition: transform .2s ease;
}

.athath-faq__item[open] .athath-faq__question::after {
	transform: rotate(-135deg);
}

.athath-faq__answer {
	color: var(--athath-ink-soft);
	line-height: 1.8;
	padding-block-end: 1.1rem;
}

.athath-faq__answer p:last-child {
	margin-block-end: 0;
}
