/*
 * ALBAZ theme styles.
 *
 * Colours come from the Customizer as CSS variables (inc/setup.php). The big image sections keep
 * the same physical layout in every language (text on the left, the photo's subject on the
 * right), while texts, menus and cards follow the page direction (Arabic right-to-left).
 */

:root {
	--albaz-gold: #b88a4f;
	--albaz-gold-light: #e2bd86;
	--albaz-dark: #0d0b09;
	--albaz-cream: #f5eee4;
	--albaz-text: #2b241e;
	--albaz-logo-size: 84px;
	--albaz-paper: color-mix(in srgb, var(--albaz-cream) 55%, #fff);
	--albaz-muted: color-mix(in srgb, var(--albaz-text) 68%, transparent);
	--albaz-line: color-mix(in srgb, var(--albaz-gold) 35%, transparent);
	--albaz-bronze: linear-gradient(100deg, #7a5230 0%, var(--albaz-gold) 45%, #8a5f36 100%);
	--albaz-font-head: "Cormorant Garamond", "Amiri", Georgia, serif;
	--albaz-font-body: "Jost", "Tajawal", "Segoe UI", Tahoma, sans-serif;
	--albaz-wide: 1240px;
	--albaz-gutter: clamp(16px, 4vw, 40px);
	--albaz-header-h: calc(var(--albaz-logo-size) + 24px);
	--albaz-curve: clamp(22px, 4vw, 48px);
	--albaz-admin-bar: 0px;
}

.admin-bar { --albaz-admin-bar: 32px; }
@media (max-width: 782px) { .admin-bar { --albaz-admin-bar: 46px; } }

/* --- Base ------------------------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
	margin: 0;
	background: var(--albaz-dark);
	color: var(--albaz-text);
	font-family: var(--albaz-font-body);
	font-size: 16px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
html[lang^="ar"] body { font-size: 17px; line-height: 1.8; }
img, svg, video { max-width: 100%; height: auto; }
img { display: block; }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--albaz-gold-light); outline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--albaz-font-head); font-weight: 600; line-height: 1.2; margin: 0 0 .5em; }
html[lang^="ar"] :is(h1, h2, h3, h4) { font-weight: 700; line-height: 1.45; }
p { margin: 0 0 1em; }
button { font: inherit; color: inherit; }
.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;
}
.albaz-skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 1000; padding: 10px 16px; background: var(--albaz-gold); color: #fff; border-radius: 6px; }
.albaz-skip:focus { top: 12px; }
.albaz-icon { width: 1.25em; height: 1.25em; flex: none; }

.albaz-container { width: 100%; max-width: var(--albaz-wide); margin-inline: auto; padding-inline: var(--albaz-gutter); }
.albaz-main { display: block; }

/* Section colours */
.albaz-dark { background-color: var(--albaz-dark); color: #f3ece2; position: relative; }
.albaz-light { background: var(--albaz-cream); color: var(--albaz-text); position: relative; }

/* Curved top edge with a thin gold line, overlapping the dark section above. */
.albaz-curve {
	margin-top: calc(var(--albaz-curve) * -1);
	border-top: 2px solid var(--albaz-gold);
	border-radius: 50% 50% 0 0 / var(--albaz-curve) var(--albaz-curve) 0 0;
	z-index: 2;
}

/* Typography helpers */
.albaz-title { font-size: clamp(2rem, 4.2vw, 3.2rem); color: var(--albaz-text); }
.albaz-title--xl { font-size: clamp(2.6rem, 6vw, 4.6rem); }
.albaz-title--sm { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.albaz-dark .albaz-title { color: var(--albaz-gold-light); }
.albaz-lead { font-size: clamp(1.1rem, 1.8vw, 1.45rem); line-height: 1.6; }
.albaz-muted { color: var(--albaz-muted); }
.albaz-dark .albaz-muted { color: rgba(243, 236, 226, .78); }
.albaz-ornament { display: flex; justify-content: center; color: var(--albaz-gold); margin: 6px auto 0; }
.albaz-ornament .albaz-icon { width: 18px; height: 18px; }

/* Buttons and links */
.albaz-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 14px;
	min-height: 50px; padding: 10px 34px; border-radius: 3px;
	text-decoration: none; font-weight: 500; font-size: 1.02rem; letter-spacing: .01em;
	transition: transform .2s, box-shadow .2s, background-color .2s, color .2s;
}
.albaz-btn--gold { background: var(--albaz-bronze); color: #fff; box-shadow: 0 8px 22px rgba(90, 58, 26, .28); }
.albaz-btn--gold:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(90, 58, 26, .36); }
.albaz-btn--outline { border: 1px solid rgba(243, 236, 226, .75); color: #fff; }
.albaz-btn--outline:hover { background: rgba(255, 255, 255, .08); border-color: var(--albaz-gold-light); }
.albaz-btn--sm { min-height: 42px; padding: 8px 26px; font-size: .95rem; }
.albaz-arrow { width: 18px; height: 18px; }
.albaz-link {
	display: inline-flex; align-items: center; gap: 8px; color: inherit;
	text-decoration: none; font-weight: 500; font-size: .95rem;
}
.albaz-link span { border-bottom: 1px solid transparent; transition: border-color .2s; }
.albaz-link:hover span { border-color: currentColor; }
.albaz-actions { display: flex; flex-direction: column; align-items: center; gap: 16px; }

/* Features (icon over label) */
.albaz-features { list-style: none; margin: 28px 0 32px; padding: 0; display: flex; justify-content: center; gap: clamp(20px, 5vw, 56px); }
.albaz-features li { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; font-size: .95rem; }
.albaz-features .albaz-icon { width: 32px; height: 32px; color: var(--albaz-gold); }
.albaz-dark .albaz-features .albaz-icon { color: var(--albaz-gold-light); }

/* Vertical side text: BEAUTY / LIVES / FOREVER with a short gold line under it. */
.albaz-side {
	position: absolute; z-index: 3; top: 50%; transform: translateY(-50%);
	display: flex; flex-direction: column; gap: 14px; pointer-events: none;
	font-size: .72rem; letter-spacing: .32em; line-height: 2.1; text-transform: uppercase;
	color: var(--albaz-gold-light); direction: ltr; text-align: left;
}
.albaz-side i { width: 28px; height: 1px; background: currentColor; }
.albaz-side--start { left: clamp(20px, 4.5vw, 68px); }
.albaz-side--end { right: clamp(20px, 4.5vw, 68px); }
.albaz-side--words { font-size: 1.05rem; letter-spacing: 0; text-transform: none; color: #f3ece2; align-items: center; text-align: center; }
[dir="rtl"] .albaz-side--words { direction: rtl; }
.albaz-side--words i { order: -1; }
.albaz-side--words::after { content: ""; width: 28px; height: 1px; background: var(--albaz-gold-light); }
.albaz-light .albaz-side { color: var(--albaz-gold); }
.albaz-side--latin { padding-inline-start: 26px; border-inline-start: 1px solid var(--albaz-line); }
@media (max-width: 1279px) { .albaz-side { display: none; } }

/* Handwritten note */
.albaz-note {
	font-family: "Amiri", var(--albaz-font-head); font-style: italic; color: var(--albaz-gold-light);
	font-size: clamp(1.1rem, 2vw, 1.6rem); line-height: 1.3; transform: rotate(-12deg); margin: 0;
}

/* --- Header ----------------------------------------------------------------------------- */

.albaz-header {
	position: fixed; z-index: 50; inset-inline: 0; top: var(--albaz-admin-bar);
	transition: background-color .3s, box-shadow .3s, transform .3s;
	color: #f3ece2;
}
.albaz-header.is-scrolled { background: color-mix(in srgb, var(--albaz-dark) 94%, transparent); box-shadow: 0 6px 24px rgba(0, 0, 0, .35); backdrop-filter: blur(8px); }
/* The logo stays on the left and the tools on the right in every language. */
.albaz-header__inner {
	direction: ltr; display: flex; align-items: center; gap: clamp(12px, 3vw, 40px);
	max-width: calc(var(--albaz-wide) + 160px); margin-inline: auto; padding: 12px var(--albaz-gutter);
}
.albaz-logo { flex: none; display: block; width: var(--albaz-logo-size); transition: width .3s; }
.albaz-logo img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; border-radius: 50%; filter: drop-shadow(0 4px 14px rgba(0, 0, 0, .5)); }
.albaz-header.is-scrolled .albaz-logo { width: calc(var(--albaz-logo-size) * .7); }
.albaz-nav { flex: 1; align-self: stretch; display: flex; align-items: center; border-bottom: 1px solid var(--albaz-line); }
[dir="rtl"] .albaz-nav { direction: rtl; }
.albaz-menu { list-style: none; margin: 0 auto; padding: 0; display: flex; align-items: center; gap: clamp(18px, 3vw, 48px); }
.albaz-menu li { position: relative; }
.albaz-menu a { display: block; padding: 8px 0; text-decoration: none; font-size: .98rem; white-space: nowrap; transition: color .2s; }
.albaz-menu a:hover, .albaz-menu :is(.current-menu-item, .current_page_item, .current-menu-ancestor) > a { color: var(--albaz-gold-light); }
.albaz-menu :is(.current-menu-item, .current_page_item) > a::after { content: ""; position: absolute; inset-inline: 0; bottom: -1px; height: 2px; background: var(--albaz-gold-light); }
.albaz-menu .sub-menu, .albaz-menu .children {
	list-style: none; margin: 0; padding: 10px 0; position: absolute; top: 100%; inset-inline-start: -16px; min-width: 200px;
	background: var(--albaz-dark); border: 1px solid var(--albaz-line); border-radius: 6px;
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s;
}
.albaz-menu li:hover > :is(.sub-menu, .children), .albaz-menu li:focus-within > :is(.sub-menu, .children) { opacity: 1; visibility: visible; transform: none; }
.albaz-menu .sub-menu a, .albaz-menu .children a { padding: 8px 18px; }
.albaz-tools { display: flex; align-items: center; gap: 14px; flex: none; }
.albaz-tool { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; padding: 0; border: 0; background: none; color: inherit; cursor: pointer; }
.albaz-tool .albaz-icon { width: 22px; height: 22px; }
.albaz-tool--globe { cursor: default; margin-inline-end: -8px; }
.albaz-langs { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; direction: ltr; font-size: .78rem; letter-spacing: .05em; }
.albaz-langs li + li::before { content: ""; display: inline-block; width: 1px; height: 11px; background: currentColor; opacity: .5; margin-inline: 9px; vertical-align: -1px; }
.albaz-langs a { text-decoration: none; opacity: .8; }
.albaz-langs a[aria-current], .albaz-langs a:hover { opacity: 1; color: var(--albaz-gold-light); }
.albaz-burger { display: none; color: var(--albaz-gold-light); }
.albaz-burger .albaz-icon { width: 30px; height: 30px; }

@media (max-width: 960px) {
	:root { --albaz-logo-size: 64px; }
	.albaz-nav, .albaz-tools .albaz-langs, .albaz-tool--globe { display: none; }
	.albaz-tools { margin-left: auto; }
	.albaz-burger { display: inline-flex; }
	.albaz-header.is-scrolled .albaz-header__inner { padding-block: 6px; }
	.albaz-header.is-scrolled .albaz-logo { width: 46px; }
}

/* Mobile drawer */
.albaz-drawer {
	position: fixed; z-index: 60; inset: var(--albaz-admin-bar) 0 0; overflow-y: auto;
	background: radial-gradient(circle at 70% 0%, #2a1f14 0%, var(--albaz-dark) 60%);
	color: #f3ece2; padding: 16px var(--albaz-gutter) 40px;
	display: flex; flex-direction: column; gap: 28px;
}
.albaz-drawer[hidden] { display: none; }
.albaz-drawer__head { direction: ltr; display: flex; align-items: center; justify-content: space-between; }
.albaz-drawer__head .albaz-tool { color: var(--albaz-gold-light); }
.albaz-drawer__menu { list-style: none; margin: 0; padding: 0; }
.albaz-drawer__menu li { border-bottom: 1px solid var(--albaz-line); }
.albaz-drawer__menu ul { list-style: none; padding-inline-start: 18px; margin: 0; }
.albaz-drawer__menu a { display: block; padding: 14px 4px; text-decoration: none; font-family: var(--albaz-font-head); font-size: 1.35rem; }
.albaz-drawer__menu :is(.current-menu-item, .current_page_item) > a { color: var(--albaz-gold-light); }
.albaz-langs--drawer { justify-content: center; font-size: 1rem; }
.albaz-drawer .albaz-socials { justify-content: center; }
body.albaz-locked { overflow: hidden; }

/* Search overlay */
.albaz-search { position: fixed; z-index: 70; inset: 0; background: rgba(8, 6, 4, .92); display: flex; align-items: flex-start; justify-content: center; padding: 18vh var(--albaz-gutter) 0; }
.albaz-search[hidden] { display: none; }
.albaz-search__box { width: min(640px, 100%); display: flex; gap: 12px; align-items: center; color: #f3ece2; }
.albaz-searchform { flex: 1; display: flex; border-bottom: 1px solid var(--albaz-gold); }
.albaz-searchform input { flex: 1; min-width: 0; background: none; border: 0; padding: 14px 4px; font: inherit; font-size: 1.25rem; color: inherit; outline: none; }
.albaz-searchform button { background: none; border: 0; color: var(--albaz-gold-light); cursor: pointer; padding: 0 8px; }
.albaz-searchform button .albaz-icon { width: 24px; height: 24px; }
.albaz-light .albaz-searchform { color: var(--albaz-text); }
.albaz-light .albaz-searchform button { color: var(--albaz-gold); }

/* --- Home: hero slider ------------------------------------------------------------------ */

/* Height follows the width, so wide photos are shown whole instead of zoomed in. */
.albaz-hero { position: relative; min-height: clamp(520px, 40vw, 860px); overflow: hidden; display: grid; --albaz-hero-indent: calc(var(--albaz-gutter) + clamp(0px, 12vw - 60px, 170px)); }
.albaz-slide {
	grid-area: 1 / 1; display: flex; align-items: center;
	/* Anchored on the right, where the subject of the photo is: that side is never cropped. */
	background-size: cover; background-position: right center;
	opacity: 0; visibility: hidden; transition: opacity 1s ease, visibility 1s;
	padding: calc(var(--albaz-header-h) + 10px) 0 calc(var(--albaz-curve) + 50px);
}
.albaz-slide::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 8, 6, .88) 0%, rgba(10, 8, 6, .55) 45%, rgba(10, 8, 6, .05) 75%); }
.albaz-slide.is-active { opacity: 1; visibility: visible; }
.albaz-hero__content { position: relative; z-index: 2; max-width: none; padding-left: var(--albaz-hero-indent); }
/* The text block stays on the left (the photo's subject is on the right) in every language. */
.albaz-hero__box { width: min(clamp(360px, 30vw, 440px), 100%); margin-right: auto; }
.albaz-hero__title { font-size: clamp(2.6rem, 6vw, 4.4rem); color: var(--albaz-gold-light); margin: 0; text-shadow: 0 4px 20px rgba(0, 0, 0, .4); }
.albaz-hero__subtitle { font-family: var(--albaz-font-head); font-size: clamp(1.4rem, 3vw, 2.2rem); color: #fff; margin: 0 0 18px; line-height: 1.4; }
.albaz-hero__text { color: rgba(255, 255, 255, .88); margin-bottom: 30px; font-size: 1.05rem; }
.albaz-slide.is-active .albaz-hero__box > * { animation: albaz-rise .9s both; }
.albaz-slide.is-active .albaz-hero__box > :nth-child(2) { animation-delay: .1s; }
.albaz-slide.is-active .albaz-hero__box > :nth-child(3) { animation-delay: .2s; }
.albaz-slide.is-active .albaz-hero__box > :nth-child(4) { animation-delay: .3s; }
@keyframes albaz-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.albaz-dots { position: absolute; z-index: 3; bottom: calc(var(--albaz-curve) + 34px); left: var(--albaz-hero-indent); direction: ltr; display: flex; align-items: center; gap: 14px; }
.albaz-dots button { background: none; border: 0; padding: 4px 0; cursor: pointer; font-size: .78rem; color: rgba(255, 255, 255, .6); border-bottom: 1px solid transparent; }
.albaz-dots button.is-active { color: #fff; border-color: var(--albaz-gold-light); }
.albaz-dots__bar { width: 48px; height: 2px; background: rgba(255, 255, 255, .25); overflow: hidden; }
.albaz-dots__bar i { display: block; height: 100%; width: 0; background: var(--albaz-gold-light); }
.albaz-hero.is-playing .albaz-dots__bar i { animation: albaz-progress var(--albaz-autoplay, 6s) linear; }
@keyframes albaz-progress { from { width: 0; } to { width: 100%; } }

@media (max-width: 720px) {
	.albaz-hero { min-height: 0; }
	.albaz-slide {
		align-items: flex-end; min-height: 0;
		background-color: var(--albaz-dark); background-repeat: no-repeat;
		background-size: 160% auto; background-position: right var(--albaz-header-h);
		padding: calc(var(--albaz-header-h) + 50vw) 0 calc(var(--albaz-curve) + 64px);
	}
	.albaz-slide::before { background: linear-gradient(180deg, var(--albaz-dark) 0, var(--albaz-dark) var(--albaz-header-h), rgba(10, 8, 6, 0) calc(var(--albaz-header-h) + 30px), rgba(10, 8, 6, 0) calc(var(--albaz-header-h) + 36vw), var(--albaz-dark) calc(var(--albaz-header-h) + 60vw)); }
	.albaz-hero__content { padding-inline: var(--albaz-gutter); }
	.albaz-hero__box { width: 100%; text-align: center; }
	.albaz-hero__title { font-size: clamp(2rem, 9vw, 2.6rem); }
	.albaz-hero__subtitle { font-size: 1.2rem; margin-bottom: 12px; }
	.albaz-hero__text { font-size: .95rem; margin-bottom: 22px; }
	.albaz-dots { left: 50%; transform: translateX(-50%); bottom: calc(var(--albaz-curve) + 20px); }
}

/* --- Home: try-on promotion ------------------------------------------------------------- */

.albaz-promo {
	display: grid; grid-template-columns: 1.05fr 1fr; align-items: center;
	direction: ltr; overflow: hidden;
	background: radial-gradient(ellipse at 75% 30%, #fbf7f1 0%, var(--albaz-cream) 70%);
}
.albaz-promo__media { position: relative; align-self: stretch; min-height: 420px; }
.albaz-promo__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% center; }
.albaz-promo__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 60%, var(--albaz-cream) 100%); }
.albaz-promo__phone {
	position: absolute; z-index: 1; right: 4%; bottom: -2%; width: clamp(140px, 17vw, 230px);
	border-radius: 26px; box-shadow: -10px 18px 40px rgba(40, 25, 10, .45); transform: rotate(-4deg);
}
.albaz-promo__body { direction: inherit; text-align: center; padding: clamp(48px, 7vw, 90px) clamp(24px, 9vw, 150px) clamp(48px, 6vw, 80px) clamp(24px, 3vw, 40px); }
[dir="rtl"] .albaz-promo__body { direction: rtl; }
.albaz-promo__body .albaz-lead { color: var(--albaz-text); }

@media (max-width: 860px) {
	.albaz-promo { grid-template-columns: 1fr; }
	.albaz-promo__media { min-height: 0; aspect-ratio: 4 / 3; }
	.albaz-promo__media::after { background: linear-gradient(180deg, transparent 55%, var(--albaz-cream) 100%); }
	.albaz-promo__phone { width: 30%; right: 8%; bottom: 8%; }
	.albaz-promo__body { padding: 8px var(--albaz-gutter) 48px; }
}

/* --- Instagram -------------------------------------------------------------------------- */

.albaz-insta { background: var(--albaz-paper); padding: clamp(32px, 5vw, 56px) 0; }
.albaz-insta--gallery { background: var(--albaz-paper); }
.albaz-insta__head { display: flex; align-items: center; gap: 20px 32px; flex-wrap: wrap; margin-bottom: 24px; }
.albaz-insta__title { display: flex; align-items: center; gap: 14px; }
.albaz-insta__title h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin: 0; }
.albaz-insta__title p { margin: 0; color: var(--albaz-muted); font-size: .92rem; }
.albaz-insta__icon { width: 34px; height: 34px; color: var(--albaz-text); }
.albaz-tabs { display: flex; gap: 6px; margin-inline: auto; flex-wrap: wrap; justify-content: center; }
.albaz-tabs button {
	border: 0; background: none; cursor: pointer; padding: 7px 24px; border-radius: 999px;
	font-size: .92rem; color: var(--albaz-text); transition: background-color .2s, color .2s;
}
.albaz-tabs button:hover { background: color-mix(in srgb, var(--albaz-gold) 14%, transparent); }
.albaz-tabs button.is-active { background: var(--albaz-bronze); color: #fff; }
.albaz-insta__head > .albaz-link .albaz-icon:not(.albaz-arrow) { width: 26px; height: 26px; }
/* Gallery: follow link at the start, tabs centred. */
.albaz-insta--gallery .albaz-insta__head > .albaz-link { order: -1; }
.albaz-insta--gallery .albaz-tabs { margin-inline: auto; }

.albaz-insta__grid--home { display: grid; grid-template-columns: repeat(8, 1fr); gap: 8px; }
.albaz-insta__grid--gallery { columns: 6 170px; column-gap: 10px; }
.albaz-insta__item { position: relative; display: block; overflow: hidden; border-radius: 3px; background: #1a1410; }
.albaz-insta__grid--home .albaz-insta__item { aspect-ratio: 1 / 1.1; }
.albaz-insta__grid--gallery .albaz-insta__item { break-inside: avoid; margin-bottom: 10px; }
.albaz-insta__grid--gallery .albaz-insta__item:nth-child(3n + 1) img { aspect-ratio: 3 / 4; }
.albaz-insta__grid--gallery .albaz-insta__item:nth-child(3n + 2) img { aspect-ratio: 1 / 1; }
.albaz-insta__grid--gallery .albaz-insta__item:nth-child(3n) img { aspect-ratio: 4 / 5; }
.albaz-insta__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease, opacity .3s; }
.albaz-insta__item:hover img { transform: scale(1.06); }
.albaz-insta__item[hidden] { display: none; }
.albaz-admin-note { margin: 14px 0 0; padding: 10px 14px; border: 1px dashed var(--albaz-gold); border-radius: 6px; font-size: .85rem; color: var(--albaz-muted); background: rgba(255, 255, 255, .5); direction: ltr; text-align: left; }
.albaz-insta__feed[hidden] { display: none; }

@media (max-width: 860px) {
	.albaz-insta__head { justify-content: center; text-align: center; }
	.albaz-insta__title { width: 100%; justify-content: center; }
	.albaz-insta__head > .albaz-link { order: 5; width: 100%; justify-content: center; padding: 10px; border: 1px solid var(--albaz-line); border-radius: 4px; background: rgba(255, 255, 255, .5); }
	.albaz-insta--gallery .albaz-insta__head > .albaz-link { order: 5; }
	.albaz-insta__grid--home { grid-template-columns: repeat(4, 1fr); gap: 6px; }
	.albaz-insta__grid--gallery { columns: 2; column-gap: 8px; }
	.albaz-insta__grid--gallery .albaz-insta__item { margin-bottom: 8px; }
	.albaz-tabs button { padding: 6px 16px; }
}

/* --- Visit us --------------------------------------------------------------------------- */

.albaz-visit { padding: clamp(30px, 4vw, 44px) 0; border-top: 1px solid var(--albaz-line); background: linear-gradient(180deg, var(--albaz-cream), color-mix(in srgb, var(--albaz-cream) 80%, var(--albaz-gold-light))); }
/* Same arrangement in every language, as in the design: photo on the left, contact details on the right. */
.albaz-visit__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(20px, 3vw, 44px); align-items: center; direction: ltr; }
.albaz-visit__intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: center; }
.albaz-visit__info { direction: ltr; }
.albaz-visit__inner[hidden] { display: none; }
.albaz-branch-tabs { justify-content: center; margin: 0 auto 26px; }
[dir="rtl"] :is(.albaz-visit__intro > div, .albaz-info) { direction: rtl; }
.albaz-visit__img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 3px; box-shadow: 0 12px 30px rgba(40, 25, 10, .22); }
.albaz-visit__intro .albaz-muted { font-size: .92rem; }
.albaz-visit__info { display: grid; grid-template-columns: repeat(3, 1fr); }
.albaz-info { padding-inline: clamp(12px, 1.6vw, 22px); border-left: 1px solid var(--albaz-line); font-size: .88rem; }
.albaz-info .albaz-icon { width: 28px; height: 28px; color: var(--albaz-text); margin-bottom: 10px; }
.albaz-info h3 { font-family: var(--albaz-font-body); font-size: 1rem; margin: 0 0 6px; font-weight: 600; }
.albaz-info p { margin: 0 0 8px; color: var(--albaz-muted); }
.albaz-info .albaz-link { font-size: .85rem; }
.albaz-phone { text-decoration: none; font-weight: 500; color: var(--albaz-text); unicode-bidi: isolate; }
@media (max-width: 1100px) {
	.albaz-visit__inner { grid-template-columns: 1fr; }
	.albaz-info:first-child { border-left: 0; padding-left: 0; }
}
@media (max-width: 640px) {
	.albaz-visit__intro { grid-template-columns: 1fr; gap: 18px; text-align: center; }
	.albaz-visit__intro .albaz-muted { font-size: .92rem; }
	.albaz-visit__info { grid-template-columns: 1fr; gap: 18px; padding-top: 22px; border-top: 1px solid var(--albaz-line); }
	.albaz-info { border-left: 0; padding-inline: 0; display: grid; grid-template-columns: 34px 1fr; column-gap: 12px; }
	.albaz-info > .albaz-icon { grid-row: span 3; }
	.albaz-info > * { grid-column: 2; }
	.albaz-info > .albaz-icon { grid-column: 1; }
}

/* --- Footer ----------------------------------------------------------------------------- */

.albaz-footer { background: var(--albaz-dark); color: #f3ece2; padding: 26px 0 max(26px, env(safe-area-inset-bottom)); border-top: 1px solid var(--albaz-line); }
.albaz-footer__inner { display: grid; grid-template-columns: auto 1fr auto; gap: 24px 40px; align-items: center; direction: ltr; }
.albaz-footer__brand { display: flex; align-items: center; gap: 28px; }
.albaz-logo--footer { width: calc(var(--albaz-logo-size) * .9); }
.albaz-socials { list-style: none; margin: 0; padding: 0; display: flex; gap: 16px; }
.albaz-socials a { display: inline-flex; color: #f3ece2; transition: color .2s; }
.albaz-socials a:hover { color: var(--albaz-gold-light); }
.albaz-socials .albaz-icon { width: 21px; height: 21px; }
.albaz-footer__nav { justify-self: center; }
[dir="rtl"] .albaz-footer__nav { direction: rtl; }
.albaz-footer__menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; }
.albaz-footer__menu li + li::before { content: ""; display: inline-block; width: 1px; height: 12px; background: var(--albaz-line); margin-inline: 18px; }
.albaz-footer__menu a { text-decoration: none; font-size: .92rem; }
.albaz-footer__menu a:hover { color: var(--albaz-gold-light); }
.albaz-footer__menu .sub-menu, .albaz-footer__menu .children { display: none; }
.albaz-footer__meta { padding-inline-start: 36px; border-left: 1px solid var(--albaz-line); text-align: center; }
[dir="rtl"] .albaz-footer__meta { direction: rtl; }
.albaz-footer__tagline { color: var(--albaz-gold); font-size: .72rem; letter-spacing: .3em; margin: 0 0 8px; direction: ltr; }
.albaz-footer__copy { margin: 0; font-size: .85rem; opacity: .85; line-height: 1.7; }
.albaz-langs--footer { justify-content: center; margin-top: 8px; }
.albaz-langs--footer { display: none; }
@media (max-width: 960px) {
	.albaz-footer__inner { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 22px; }
	.albaz-footer__brand { flex-direction: column; gap: 16px; }
	.albaz-footer__menu { gap: 10px 22px; }
	.albaz-footer__menu li + li::before { display: none; }
	.albaz-footer__meta { border: 0; padding: 0; }
	.albaz-langs--footer { display: flex; justify-content: center; }
}

/* Designer credit: a quiet line under the footer. */
.albaz-credit {
	margin: 22px auto 0; padding: 14px var(--albaz-gutter) 0; max-width: calc(var(--albaz-wide) + 160px);
	border-top: 1px solid rgba(255, 255, 255, .08); text-align: center;
	font-size: .78rem; letter-spacing: .02em; color: rgba(243, 236, 226, .5);
	display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 8px;
}
.albaz-credit a, .albaz-credit strong { color: rgba(243, 236, 226, .75); text-decoration: none; font-weight: 500; }
.albaz-credit a:hover { color: var(--albaz-gold-light); }
.albaz-credit__phone { unicode-bidi: isolate; }
.albaz-credit__sep { color: rgba(243, 236, 226, .35); }

/* --- Inner pages: header ---------------------------------------------------------------- */

.albaz-pagehero {
	min-height: clamp(300px, 42vh, 440px); display: flex; align-items: center; overflow: hidden;
	background-size: cover; background-position: 70% center;
	padding: calc(var(--albaz-header-h) + 30px) 0 calc(var(--albaz-curve) + 40px);
}
.albaz-pagehero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 8, 6, .9) 0%, rgba(10, 8, 6, .6) 45%, rgba(10, 8, 6, .1) 80%); }
.albaz-pagehero__content { position: relative; z-index: 2; padding-left: clamp(16px, 13vw, 190px); }
.albaz-pagehero__title { font-size: clamp(2.4rem, 5.5vw, 4rem); color: var(--albaz-gold-light); margin: 0 0 6px; }
.albaz-pagehero__subtitle { font-size: clamp(1.05rem, 2vw, 1.4rem); color: #fff; margin: 0; }
@media (max-width: 720px) {
	.albaz-pagehero { min-height: 260px; }
	.albaz-pagehero__content { padding-left: var(--albaz-gutter); }
	.albaz-pagehero::before { background: linear-gradient(90deg, rgba(10, 8, 6, .85), rgba(10, 8, 6, .3)); }
}

/* --- Inner pages: content --------------------------------------------------------------- */

.albaz-page { padding: clamp(48px, 7vw, 90px) 0 clamp(56px, 8vw, 100px); background: radial-gradient(ellipse at 50% 0%, #fbf7f1 0%, var(--albaz-cream) 70%); }
.albaz-page--after { padding-top: 0; background: var(--albaz-paper); }
.albaz-prose { max-width: 820px; font-size: 1.05rem; }
.albaz-prose > * { margin-block: 0 1.1em; }
.albaz-prose :is(h2, h3, h4) { margin-top: 1.6em; color: var(--albaz-text); }
.albaz-prose h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.albaz-prose h2::after { content: ""; display: block; width: 44px; height: 2px; background: var(--albaz-gold); margin-top: 12px; }
.albaz-prose h3 { font-size: 1.4rem; }
.albaz-prose a { color: var(--albaz-gold); text-underline-offset: 3px; }
.albaz-prose :is(ul, ol) { padding-inline-start: 1.3em; }
.albaz-prose li::marker { color: var(--albaz-gold); }
.albaz-prose blockquote { margin-inline: 0; padding: 6px 22px; border-inline-start: 3px solid var(--albaz-gold); font-family: var(--albaz-font-head); font-size: 1.35rem; color: var(--albaz-text); }
.albaz-prose img { border-radius: 4px; }
.albaz-prose :is(.alignwide, .alignfull) { max-width: none; }
/* :is() with the plugins' ids: their own root rules (#rto-manager { margin-inline: auto }) must not win. */
.albaz-prose :is(.alignwide, #rto-manager.alignwide, #rto-tryon.alignwide) { --albaz-wide-w: min(calc(var(--albaz-wide) - 2 * var(--albaz-gutter)), calc(100vw - 2 * var(--albaz-gutter))); width: var(--albaz-wide-w); max-width: none; margin-inline: calc(50% - var(--albaz-wide-w) / 2); }
.albaz-prose table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.albaz-prose :is(th, td) { padding: 10px; border-bottom: 1px solid var(--albaz-line); text-align: start; }
.albaz-prose .wp-block-button__link { background: var(--albaz-bronze); color: #fff; border-radius: 3px; padding: 12px 28px; text-decoration: none; }
.albaz-prose .wp-block-separator { border: 0; height: 1px; background: var(--albaz-line); }
.albaz-prose .wp-block-columns { gap: 32px; }
.albaz-prose .wp-block-image figcaption { font-size: .85rem; color: var(--albaz-muted); text-align: center; }
.albaz-page__search { max-width: 520px; margin: 0 auto 40px; }
.albaz-empty { text-align: center; color: var(--albaz-muted); }
.albaz-notfound { text-align: center; }
.albaz-notfound .albaz-page__search { margin-top: 30px; }

/* Cards (posts, search results) */
.albaz-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 28px; }
.albaz-card { background: #fff; border-radius: 4px; overflow: hidden; box-shadow: 0 10px 30px rgba(40, 25, 10, .08); display: flex; flex-direction: column; }
.albaz-card__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--albaz-dark); }
.albaz-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.albaz-card:hover .albaz-card__media img { transform: scale(1.05); }
.albaz-card__placeholder { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; color: var(--albaz-gold); }
.albaz-card__placeholder .albaz-icon { width: 42px; height: 42px; }
.albaz-card__body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.albaz-card__title { font-size: 1.4rem; }
.albaz-card__title a { text-decoration: none; }
.albaz-card .albaz-link { margin-top: auto; color: var(--albaz-gold); }
.navigation.pagination { margin-top: 44px; }
.nav-links { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.page-numbers { display: inline-flex; min-width: 42px; height: 42px; align-items: center; justify-content: center; padding: 0 12px; border: 1px solid var(--albaz-line); border-radius: 3px; text-decoration: none; }
.page-numbers.current { background: var(--albaz-bronze); color: #fff; border-color: transparent; }

/* Contact page: a card per branch */
.albaz-branch-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-bottom: 40px; }
.albaz-branch { background: #fff; border-radius: 4px; overflow: hidden; box-shadow: 0 10px 30px rgba(40, 25, 10, .08); border-top: 2px solid var(--albaz-gold); display: flex; flex-direction: column; }
.albaz-branch__img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.albaz-branch__body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.albaz-branch__city { margin: 0 0 4px; color: var(--albaz-gold); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 500; }
.albaz-branch__name { font-size: 1.5rem; margin: 0 0 14px; }
.albaz-branch__details { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 12px; font-size: .95rem; }
.albaz-branch__details li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; color: var(--albaz-muted); }
.albaz-branch__details .albaz-icon { width: 20px; height: 20px; color: var(--albaz-gold); margin-top: 3px; }
.albaz-branch__details a { color: var(--albaz-text); text-decoration: none; justify-self: start; }
.albaz-branch__details a:hover { color: var(--albaz-gold); }
.albaz-branch .albaz-btn { margin-top: auto; align-self: flex-start; }
.albaz-contact-mail { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0 0 40px; color: var(--albaz-muted); }
.albaz-contact-mail .albaz-icon { color: var(--albaz-gold); }
.albaz-contact-mail a { color: var(--albaz-text); }
.albaz-contact-body { display: grid; gap: 40px; }
.albaz-contact-body--two { grid-template-columns: 1fr 1fr; }
.albaz-contact-form { background: #fff; padding: clamp(22px, 3vw, 36px); border-radius: 4px; box-shadow: 0 10px 30px rgba(40, 25, 10, .07); }
.albaz-contact-form :is(input:not([type="submit"]), textarea, select) { width: 100%; padding: 12px 14px; border: 1px solid var(--albaz-line); border-radius: 3px; background: var(--albaz-paper); font: inherit; }
.albaz-contact-form :is(input[type="submit"], button[type="submit"]) { background: var(--albaz-bronze); color: #fff; border: 0; border-radius: 3px; padding: 12px 34px; font: inherit; cursor: pointer; }
@media (max-width: 860px) { .albaz-contact-body--two { grid-template-columns: 1fr; } }

/* --- Try-On page ------------------------------------------------------------------------ */

.albaz-tryhero { overflow: hidden; padding: calc(var(--albaz-header-h) + 20px) 0 calc(var(--albaz-curve) + 10px); background: radial-gradient(ellipse at 60% 40%, #3a2a1c 0%, var(--albaz-dark) 65%); }
.albaz-tryhero__inner { display: grid; grid-template-columns: 1fr 1.15fr; align-items: end; direction: ltr; gap: 20px; }
.albaz-tryhero__body { grid-column: 1; grid-row: 1; text-align: center; align-self: center; padding: 20px 0 50px; }
[dir="rtl"] .albaz-tryhero__body { direction: rtl; }
.albaz-tryhero__body .albaz-lead { color: #fff; }
.albaz-tryhero__media { grid-column: 2; grid-row: 1; position: relative; align-self: stretch; min-height: 520px; }
.albaz-tryhero__img { position: absolute; bottom: calc(var(--albaz-curve) * -1 - 10px); left: 0; width: 72%; height: calc(100% + 40px); object-fit: cover; object-position: center top; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 18%, #000 82%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0%, #000 18%, #000 82%, transparent 100%); }
.albaz-tryhero__phone { position: absolute; right: 2%; bottom: 0; width: 34%; border-radius: 30px; box-shadow: -14px 20px 50px rgba(0, 0, 0, .6); transform: rotate(4deg); }
.albaz-tryhero .albaz-note { position: absolute; right: -2%; top: 58%; z-index: 2; text-align: center; }
[dir="rtl"] .albaz-tryhero .albaz-note { direction: rtl; }
@media (max-width: 900px) {
	.albaz-tryhero { padding-bottom: 0; }
	.albaz-tryhero__inner { grid-template-columns: 1fr; }
	.albaz-tryhero__body { grid-column: 1; grid-row: 1; padding-bottom: 20px; }
	.albaz-tryhero__media { grid-column: 1; grid-row: 2; min-height: 0; aspect-ratio: 1 / 1; margin-inline: calc(var(--albaz-gutter) * -1); }
	.albaz-tryhero__img { position: absolute; inset: 0; width: 100%; height: 100%; bottom: auto; -webkit-mask-image: none; mask-image: none; }
	.albaz-tryhero__phone { width: 38%; right: 6%; bottom: 10%; }
	.albaz-tryhero .albaz-note { right: auto; left: 10%; top: auto; bottom: 16%; }
	.albaz-tryhero .albaz-features { margin: 20px 0 24px; }
}

.albaz-steps { padding: clamp(40px, 5vw, 60px) 0 clamp(20px, 3vw, 36px); background: radial-gradient(ellipse at 50% 0%, #fbf7f1 0%, var(--albaz-cream) 70%); }
.albaz-steps__title { text-align: center; display: none; }
.albaz-steps__list { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 3vw, 48px); max-width: 960px; }
.albaz-step { text-align: center; display: flex; flex-direction: column; align-items: center; }
.albaz-step__media { position: relative; width: 100%; }
.albaz-step__media img { width: 100%; aspect-ratio: 16 / 7.5; object-fit: cover; border-radius: 3px; box-shadow: 0 12px 26px rgba(40, 25, 10, .2); }
.albaz-step__num { display: none; }
.albaz-step__title { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 16px 0 0; font-family: var(--albaz-font-body); font-size: clamp(1.05rem, 1.6vw, 1.3rem); font-weight: 500; }
.albaz-step__icon { width: 26px; height: 26px; }
@media (max-width: 720px) {
	.albaz-steps__title { display: block; margin-bottom: 20px; }
	.albaz-steps__list { grid-template-columns: 1fr; gap: 10px; }
	.albaz-step { flex-direction: row; gap: 16px; text-align: start; padding-bottom: 10px; border-bottom: 1px solid var(--albaz-line); }
	.albaz-step__media { width: 34%; flex: none; }
	.albaz-step__media img { aspect-ratio: 4 / 3; }
	.albaz-step__title { margin: 0; flex: 1; justify-content: flex-start; }
	.albaz-step__icon { display: none; }
	.albaz-step::after { content: ""; width: 9px; height: 9px; border-top: 1.5px solid currentColor; border-inline-end: 1.5px solid currentColor; transform: rotate(45deg); margin-inline-end: 8px; }
	[dir="rtl"] .albaz-step::after { transform: rotate(-45deg); }
}

.albaz-browse { padding: clamp(28px, 4vw, 44px) 0 clamp(56px, 7vw, 90px); background: var(--albaz-cream); }
.albaz-browse__title { text-align: center; margin: 0; }
.albaz-browse__content { margin-top: 26px; }
/* The Try-On plugin: the theme's own title replaces the plugin's, fonts follow the theme. */
.albaz-browse .rto-page-head { display: none; }
#rto-tryon, .rto-modal { font-family: var(--albaz-font-body) !important; }
.albaz-browse #rto-tryon { --rto-radius: 3px; }
.albaz-browse .rto-ring { border-color: transparent; box-shadow: 0 10px 26px rgba(40, 25, 10, .1); }
.albaz-browse .rto-ring-media { background: #1a1410; }
.albaz-browse .rto-ring-title { font-family: var(--albaz-font-head); font-size: 1.15rem; }
.albaz-browse .rto-btn--primary { background: var(--albaz-bronze); }
.albaz-browse .rto-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 18px; }
@media (max-width: 520px) { .albaz-browse .rto-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } }

/* --- Try-On plugin banner and other blocks inside prose --------------------------------- */
.albaz-prose .rto-banner { margin-block: 2em; }

/* --- Reduced motion --------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
