/* Ajeez Signature - primary navigation dropdowns. Presentation only. */

/* ---------- desktop dropdown panel ---------- */
@media (min-width: 922px) {
	.ast-builder-menu-1 .main-header-menu .sub-menu,
	.ast-builder-menu-1 .main-header-menu ul.sub-menu {
		min-width: 260px;
		padding: 6px 0;
		background-color: #faf7f0;
		border: 1px solid #ded5c5;
		border-radius: 2px;
		box-shadow: 0 2px 18px rgba(27, 32, 22, 0.07);
	}

	.ast-builder-menu-1 .main-header-menu .sub-menu .menu-link,
	.ast-builder-menu-1 .main-header-menu .sub-menu > li > a {
		padding: 12px 20px;
		font-family: 'Jost', sans-serif;
		font-size: 14px;
		font-weight: 400;
		line-height: 1.4;
		color: #1b2016;
		background-color: transparent;
		border: 0;
		text-decoration: none;
		transition: color 160ms ease, background-color 160ms ease;
	}

	.ast-builder-menu-1 .main-header-menu .sub-menu .menu-link:hover,
	.ast-builder-menu-1 .main-header-menu .sub-menu .menu-link:focus,
	.ast-builder-menu-1 .main-header-menu .sub-menu > li > a:hover,
	.ast-builder-menu-1 .main-header-menu .sub-menu > li > a:focus,
	.ast-builder-menu-1 .main-header-menu .sub-menu > li:hover > a,
	.ast-builder-menu-1 .main-header-menu .sub-menu > li.focus > a {
		color: #4d7524;
		background-color: #f1eadd;
		text-decoration: none;
	}

	.ast-builder-menu-1 .main-header-menu .sub-menu > li.current-menu-item > a {
		color: #4d7524;
	}

	/* "Shop all" separated from the categories */
	.ast-builder-menu-1 .main-header-menu .sub-menu > li:first-child {
		border-bottom: 1px solid #ded5c5;
		margin-bottom: 6px;
		padding-bottom: 6px;
	}

	/* keep focus visible for keyboard users */
	.ast-builder-menu-1 .main-header-menu .sub-menu .menu-link:focus-visible,
	.ast-builder-menu-1 .main-header-menu > ul > li > .menu-link:focus-visible {
		outline: 2px solid #9ccb3b;
		outline-offset: -2px;
	}
}

/* ---------- mobile off-canvas submenus ---------- */
@media (max-width: 921px) {
	#ast-mobile-popup .sub-menu,
	.ast-mobile-popup-drawer .sub-menu,
	#ast-mobile-header .sub-menu {
		background-color: transparent;
		border: 0;
		box-shadow: none;
		padding-left: 16px;
	}

	#ast-mobile-popup .sub-menu .menu-link,
	.ast-mobile-popup-drawer .sub-menu .menu-link,
	#ast-mobile-header .sub-menu .menu-link {
		min-height: 44px;
		display: flex;
		align-items: center;
		padding-top: 10px;
		padding-bottom: 10px;
		font-family: 'Jost', sans-serif;
		font-size: 15px;
		font-weight: 400;
		color: #ece7da;
	}

	#ast-mobile-popup .sub-menu .menu-link:hover,
	.ast-mobile-popup-drawer .sub-menu .menu-link:hover,
	#ast-mobile-popup .sub-menu .current-menu-item > .menu-link {
		color: #ffffff;
	}

	/* submenu expand/collapse control: comfortable tap target */
	.ast-mobile-popup-drawer .ast-menu-toggle,
	#ast-mobile-popup .ast-menu-toggle,
	#ast-mobile-header .ast-menu-toggle {
		min-width: 44px;
		min-height: 44px;
		display: flex;
		align-items: center;
		justify-content: center;
		color: #ece7da;
	}

	.ast-mobile-popup-drawer .ast-menu-toggle:focus-visible,
	#ast-mobile-popup .ast-menu-toggle:focus-visible {
		outline: 2px solid #9ccb3b;
		outline-offset: -2px;
	}
}

@media (min-width: 922px) {
	.ast-builder-menu-1 .main-header-menu .sub-menu,
	.ast-builder-menu-1 .main-header-menu ul.sub-menu,
	.main-header-menu .sub-menu {
		box-shadow: 0 2px 18px rgba(27, 32, 22, 0.07) !important;
		background-color: #faf7f0 !important;
		border: 1px solid #ded5c5 !important;
		border-radius: 2px !important;
	}
}

/* last top-level dropdown aligns to its right edge so it stays on screen */
@media (min-width: 922px) {
	.ast-builder-menu-1 .main-header-menu > li:last-child > .sub-menu {
		left: auto !important;
		right: 0 !important;
	}
}

/* footer: tagline above the copyright line */
.ast-footer-copyright .az-foot-tagline{display:block;margin-bottom:6px;font-family:'Jost',sans-serif;font-size:12px;font-weight:500;letter-spacing:0.18em;text-transform:uppercase;color:#ece7da;}

/* Journal hero only: lighten the shared overlay so the photograph reads, keeping white text legible. Scoped to page 114; no other hero is affected. */
body.page-id-114 .az-page-hero-overlay{background-image:linear-gradient(180deg, rgba(20,30,19,0.22) 0%, rgba(24,35,22,0) 26%, rgba(24,35,22,0) 44%, rgba(20,30,19,0.26) 60%, rgba(15,23,14,0.60) 82%, rgba(12,19,12,0.74) 100%), linear-gradient(45deg, rgba(14,22,14,0.40) 0%, rgba(24,35,22,0) 62%) !important;}
@media (max-width: 921px){
	body.page-id-114 .az-page-hero-overlay{background-image:linear-gradient(180deg, rgba(13,20,12,0) 0%, rgba(13,20,12,0) 30%, rgba(13,20,12,0.26) 44%, rgba(13,20,12,0.52) 58%, rgba(13,20,12,0.70) 76%, rgba(13,20,12,0.78) 100%) !important;}
}

/* Home hero on small screens: the floating cart sat at bottom:70px and covered the
   right 60px of the "Book a UK loc appointment" button, hiding the end of the label
   and capturing taps there. Dropping it to the standard corner offset clears the
   button with a small gap. Position only - the widget itself is unchanged. */
@media (max-width: 921px) {
	body.home #moderncart-floating-cart {
		bottom: 20px;
	}
}

/* Footer bottom bar: tagline sits left, the copyright moves across to sit on the same
   horizontal row as the Returns / Terms / Privacy links. Removing the old <br /> also
   removes the tall gap that stacking created. Mobile keeps Astra's stacked layout. */
@media (min-width: 922px) {
	.ast-footer-copyright p {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 16px;
		width: 100%;
		margin: 0;
	}
}
@media (max-width: 921px) {
	.ast-footer-copyright p {
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 6px;
		margin: 0;
	}
}

/* Shop page shipping band (United Kingdom / Nigeria pickup / International + the
   shipping link). The three columns live in an element carrying BOTH az-wrap and
   az-note-row; az-note-row sets padding:0, which beat az-wrap's gutter, so the
   columns rendered hard against the viewport edge. Target that element directly and
   guarantee at least 24px either side at every width, keeping the wider desktop
   gutter where the design already uses one. :has() limits this to the shipping
   section, so the Best sellers band is untouched. Wording is unchanged. */
body.page-id-110 .az-section-alt:has(> .az-note-row) > .az-wrap,
body.page-id-110 .az-section-alt:has(> .az-note-row) > .az-note-row {
	padding-left: max(24px, var(--hero-pad-x));
	padding-right: max(24px, var(--hero-pad-x));
}
@media (max-width: 1024px) {
	body.page-id-110 .az-section-alt:has(> .az-note-row) > .az-wrap,
	body.page-id-110 .az-section-alt:has(> .az-note-row) > .az-note-row {
		padding-left: 24px;
		padding-right: 24px;
	}
}

/* ---------- Footer redesign: 5 columns, compact bottom row, large wordmark ---------- */
/* Brand/socials column reads wider than the four link columns, like the reference
   layout. Astra only offers 5-equal, so the proportions are set here. */
@media (min-width: 1025px) {
	.site-primary-footer-wrap.ast-builder-grid-row-5-equal .ast-builder-grid-row {
		grid-template-columns: 1.6fr 1fr 1fr 1fr 1.15fr;
	}
}
@media (min-width: 769px) and (max-width: 1024px) {
	.site-primary-footer-wrap .ast-builder-grid-row {
		grid-template-columns: repeat(3, 1fr);
		row-gap: 36px;
	}
}

/* The HELP column is an Astra HTML element, so it needs the same link treatment the
   widget columns get from the block editor styles. */
.ast-footer-html-1 a {
	color: #a9b09f;
	text-decoration: none;
	transition: color 160ms ease;
}
.ast-footer-html-1 a:hover,
.ast-footer-html-1 a:focus {
	color: #9ccb3b;
}

/* Column 1: social links as icons inside small circular outlines, with the phone
   number directly underneath. */
.az-foot-social {
	display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px;
}
.az-foot-social a {
	display: inline-flex; align-items: center; justify-content: center;
	width: 34px; height: 34px; border-radius: 50%;
	border: 1px solid #ffffff; color: #ece7da;
	transition: color 160ms ease, border-color 160ms ease, background-color 160ms ease;
}
.az-foot-social a:hover, .az-foot-social a:focus {
	color: #212718; background-color: #ffffff; border-color: #ffffff;
}
.az-foot-phone { margin-top: 16px; }
.az-foot-phone a {
	display: inline-flex; align-items: center; gap: 8px;
	color: #a9b09f; font-size: 14px; line-height: 1.68; text-decoration: none;
	transition: color 160ms ease;
}
.az-foot-phone a:hover, .az-foot-phone a:focus { color: #9ccb3b; }

/* Bottom row: tagline left, copyright centre, legal links right. */
@media (min-width: 922px) {
	.ast-footer-copyright p { justify-content: space-between; }
}

/* Large text wordmark. Sized so the whole of AJEEZ SIGNATURE is always visible with
   breathing room either side - nothing is clipped or hidden at any width. */
.az-foot-wordmark {
	display: block; width: 100%; padding: 24px 32px 28px;
	background-color: #212718; line-height: 1; text-align: center;
}
.az-foot-wordmark span {
	display: block; width: 100%;
	font-family: Marcellus, Georgia, serif; font-weight: 400;
	font-size: clamp(1.4rem, 8.6vw, 9rem);
	letter-spacing: 0.04em; text-transform: uppercase;
	color: #ece7da; opacity: 0.92; white-space: nowrap;
}
@media (max-width: 600px) {
	.az-foot-wordmark { padding-left: 20px; padding-right: 20px; }
	.az-foot-wordmark span { font-size: clamp(1.1rem, 8.2vw, 3rem); letter-spacing: 0.03em; }
}

/* --- 2026-10-10: Home hero mobile framing --------------------------- */
/* At <=767px the 16:9 hero image was cover-cropped inside a 680px-tall */
/* box, so only ~31% of its width was visible. Show the whole frame:    */
/* the image keeps its own 16:9 ratio at the top and the copy sits      */
/* below it on the brand dark. Desktop and tablet are untouched.        */
@media (max-width: 767px) {
	body.home .elementor .az-hero-full {
		height: auto;
		max-height: none;
		flex-direction: column;
		background-color: #212718;
	}
	body.home .elementor .az-hero-img {
		width: 100%;
		height: auto;
		flex: 0 0 auto;
		aspect-ratio: 16 / 9;
		object-fit: cover;
		object-position: 50% 50%;
	}
	body.home .elementor .az-hero-overlay {
		position: static;
		inset: auto;
		padding-top: 28px;
	}
}

/* --- 2026-10-10: Footer HELP column left-aligned --------------------- */
.site-primary-footer-wrap .ast-footer-html-1,
.site-primary-footer-wrap .ast-footer-html-1 h3,
.site-primary-footer-wrap .ast-footer-html-1 p {
	text-align: left;
}

/* --- 2026-10-10: Contact page social icons --------------------------- */
/* The Instagram / TikTok / Facebook text pills become round logo      */
/* buttons. The links themselves are untouched; the label text stays   */
/* in the DOM for screen readers. 44px keeps the tap target usable.    */
body.page-id-119 .az-social-row { gap: 12px; align-items: center; }
body.page-id-119 .az-social-row .az-social {
	width: 44px;
	height: 44px;
	min-width: 44px;
	padding: 0;
	gap: 0;
	border-radius: 50%;
	font-size: 0;
	line-height: 0;
	letter-spacing: 0;
}
body.page-id-119 .az-social-row .az-social::before {
	content: "";
	display: block;
	width: 19px;
	height: 19px;
	background-color: currentColor;
	mask-repeat: no-repeat; -webkit-mask-repeat: no-repeat;
	mask-position: center; -webkit-mask-position: center;
	mask-size: contain; -webkit-mask-size: contain;
}
body.page-id-119 .az-social-row .az-social[href*="instagram.com"]::before {
	mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27%23000%27%20stroke-width%3D%271.7%27%3E%3Crect%20x%3D%273%27%20y%3D%273%27%20width%3D%2718%27%20height%3D%2718%27%20rx%3D%275%27%2F%3E%3Ccircle%20cx%3D%2712%27%20cy%3D%2712%27%20r%3D%274%27%2F%3E%3Ccircle%20cx%3D%2717.2%27%20cy%3D%276.8%27%20r%3D%271%27%20fill%3D%27%23000%27%20stroke%3D%27none%27%2F%3E%3C%2Fsvg%3E");
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27%23000%27%20stroke-width%3D%271.7%27%3E%3Crect%20x%3D%273%27%20y%3D%273%27%20width%3D%2718%27%20height%3D%2718%27%20rx%3D%275%27%2F%3E%3Ccircle%20cx%3D%2712%27%20cy%3D%2712%27%20r%3D%274%27%2F%3E%3Ccircle%20cx%3D%2717.2%27%20cy%3D%276.8%27%20r%3D%271%27%20fill%3D%27%23000%27%20stroke%3D%27none%27%2F%3E%3C%2Fsvg%3E");
}
body.page-id-119 .az-social-row .az-social[href*="tiktok.com"]::before {
	mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27%23000%27%3E%3Cpath%20d%3D%27M16.6%205.8a4.28%204.28%200%200%201-1.05-2.8h-3.05v11.6a2.59%202.59%200%200%201-2.59%202.5%202.6%202.6%200%201%201%20.79-5.07V9a5.62%205.62%200%201%200%204.85%205.56V9.07a7.3%207.3%200%200%200%204.27%201.37V7.5a4.28%204.28%200%200%201-3.22-1.7z%27%2F%3E%3C%2Fsvg%3E");
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27%23000%27%3E%3Cpath%20d%3D%27M16.6%205.8a4.28%204.28%200%200%201-1.05-2.8h-3.05v11.6a2.59%202.59%200%200%201-2.59%202.5%202.6%202.6%200%201%201%20.79-5.07V9a5.62%205.62%200%201%200%204.85%205.56V9.07a7.3%207.3%200%200%200%204.27%201.37V7.5a4.28%204.28%200%200%201-3.22-1.7z%27%2F%3E%3C%2Fsvg%3E");
}
body.page-id-119 .az-social-row .az-social[href*="facebook.com"]::before {
	mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27%23000%27%3E%3Cpath%20d%3D%27M13.5%2021v-8h2.7l.4-3.1h-3.1V7.9c0-.9.25-1.5%201.55-1.5h1.65V3.6A22%2022%200%200%200%2014.3%203.5c-2.4%200-4%201.45-4%204.1v2.3H7.6V13h2.7v8z%27%2F%3E%3C%2Fsvg%3E");
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27%23000%27%3E%3Cpath%20d%3D%27M13.5%2021v-8h2.7l.4-3.1h-3.1V7.9c0-.9.25-1.5%201.55-1.5h1.65V3.6A22%2022%200%200%200%2014.3%203.5c-2.4%200-4%201.45-4%204.1v2.3H7.6V13h2.7v8z%27%2F%3E%3C%2Fsvg%3E");
}

/* --- 2026-10-17: Shop catalogue, square product image containers ------- */
/* The tile media box had a fixed height (--h-prod / --h-prod-m), making it   */
/* portrait. A 1:1 aspect-ratio makes it square at every width. The image     */
/* keeps object-fit:cover, so it crops as before and is never stretched.      */
/* Scoped to the Shop page: Home and the journal articles share this class    */
/* and are deliberately left as they are.                                     */
body.page-id-110 .az-prod-img{
	height: auto;
	aspect-ratio: 1 / 1;
}
body.page-id-110 .az-prod-img > img,
body.page-id-110 .az-prod-img .az-img-cover{
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* --- 2026-10-23: footer payment marks + mobile side padding ---------------
   The footer rows run edge to edge on a phone, so logo, social icons, phone,
   link columns, the Need help block, the payment marks and the wordmark all sat
   hard against the viewport. Padding the two row containers (and the two blocks
   that live outside them) indents every child at once rather than patching one
   column at a time. border-box keeps the padding inside the existing width, so
   nothing overflows horizontally.
   ------------------------------------------------------------------------ */
@media (max-width: 921px) {
	.site-footer .ast-builder-grid-row-container-inner,
	.site-footer .az-foot-pay,
	.site-footer .az-foot-wordmark {
		padding-left: 24px;
		padding-right: 24px;
		box-sizing: border-box;
	}

	.site-footer .ast-builder-grid-row-container-inner *,
	.site-footer .az-foot-pay * {
		box-sizing: border-box;
	}
}

/* Payment marks: one tidy group, each on a white badge so every brand reads
   the same against the dark footer. Height is fixed and width is auto, so no
   logo is stretched out of its official proportions. */
.site-footer .az-foot-pay {
	margin: 26px auto 6px;
	text-align: center;
}

.site-footer .az-foot-pay__title {
	margin: 0 0 12px;
	font-family: 'Jost', sans-serif;
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	/* This row sits on the light band between the dark footer and the copyright
	   strip, so the label takes the footer ink rather than white on white. */
	color: rgba(76, 85, 70, 0.72);
}

.site-footer .az-foot-pay__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-footer .az-foot-pay__list li::marker {
	content: none;
}

.site-footer .az-foot-pay__item {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 30px;
	min-width: 46px;
	padding: 0 8px;
	margin: 0;
	background: #ffffff;
	/* A hairline keeps each badge readable against the white band. */
	border: 1px solid #e3ddd0;
	border-radius: 5px;
	list-style: none;
}

.site-footer .az-foot-pay__item img {
	display: block;
	height: 18px;
	width: auto;
	max-width: 54px;
	margin: 0;
	border-radius: 0;
}

@media (max-width: 480px) {
	.site-footer .az-foot-pay__list {
		gap: 7px;
	}

	.site-footer .az-foot-pay__item {
		height: 28px;
		min-width: 42px;
		padding: 0 7px;
	}

	.site-footer .az-foot-pay__item img {
		height: 16px;
		max-width: 48px;
	}
}

/* --- 2026-10-24: category showcase frame at 6:4 --------------------------
   The seven Where-to-start frames were sized by a fixed height (--h-cat 230px,
   --h-cat-m 180px on phones), so the frame ratio drifted with the column width
   and the product sat small inside it. Swapping the fixed height for a real
   aspect-ratio gives every card the same 6:4 window at any width - the same
   approach the design system already uses on .az-hero-full and .az-band-photo.

   The global class rules live in Elementor's generated stylesheet, so these
   overrides are scoped one level deeper (.az-cat-tile .az-cat-img) to win on
   specificity without touching the global classes or needing !important.

   The section already had a hover zoom of scale3d(1.06). A resting transform
   would out-specify and silently kill it, so the hover value is restated here
   above the new resting zoom and the lift still reads.
   ------------------------------------------------------------------------ */
.elementor .az-cat-tile .az-cat-img {
	height: auto;
	aspect-ratio: 6 / 4;
	overflow: hidden;
}

.elementor .az-cat-tile .az-cat-img img.az-img-cover {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
	/* Gentle resting zoom so the product reads larger inside the wider frame. */
	transform: scale(1.06);
	transform-origin: center center;
}

.elementor .az-cat-tile .az-cat-img img.az-zoom-img:hover,
.elementor .az-cat-tile .az-cat-img img.az-zoom-img:focus-visible {
	transform: scale(1.12);
}

/* ---------- Header account link ----------
   Rendered inside Astra's existing cart element on desktop and beside the menu
   trigger on mobile. Type and hover colour are taken from the primary nav so it
   reads as one of the existing items. */

.az-account-nav {
	display: flex;
	align-items: center;
}

.az-account-link {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 4px 14px 4px 0;
	color: #ece7da;
	font-size: 0.8rem;
	font-weight: 400;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
	transition: color .18s ease;
}

.az-account-link:hover,
.az-account-link:focus-visible {
	color: #ffffff;
}

.az-account-link:focus-visible {
	outline: 2px solid #9ccb3b;
	outline-offset: 3px;
	border-radius: 4px;
}

.az-account-icon {
	display: inline-flex;
}

.az-account-icon svg {
	display: block;
	width: 18px;
	height: 18px;
}

/* Mobile: icon only, so the existing trigger and cart controls keep their room. */
.az-account-nav--compact .az-account-link {
	padding: 4px 12px 4px 0;
}

.az-account-nav--compact .az-account-label {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	border: 0;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}