/* ==========================================================================
   LUNXURYH — Main stylesheet
   الألوان مأخوذة من الهوية المعتمدة:
   بترولي #103F43 · أخضر فاتح #D8DEC8 · كريمي #F4EAD3 · حبر داكن #162B2A
   ========================================================================== */

:root {
	/* Brand palette (identity) */
	--petrol: #103F43;
	--sage: #D8DEC8;
	--cream: #F4EAD3;
	--ink: #162B2A;

	/* Derived tints (mixes of the four brand colours only) */
	--paper: #FAF5EA;                         /* كريمي مخفف بالأبيض — خلفية الصفحات */
	--cream-deep: #EADDC0;                    /* كريمي أعمق — حدود وخلفيات بطاقات */
	--sage-soft: #E7EADC;                     /* أخضر فاتح مخفف */
	--petrol-deep: #0C3134;                   /* بترولي للحالة hover */
	--line: rgba(16, 63, 67, .14);
	--line-strong: rgba(16, 63, 67, .28);
	--muted: rgba(22, 43, 42, .68);
	--on-dark-muted: rgba(244, 234, 211, .74);

	/* Type (identity: Noto Kufi Arabic للعناوين، Noto Sans Arabic للنصوص، Noto Sans للاتيني) */
	--f-head: "Noto Kufi Arabic", "Noto Sans Arabic", "Noto Sans", system-ui, sans-serif;
	--f-body: "Noto Sans Arabic", "Noto Sans", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
	--f-latin: "Noto Sans", "Noto Sans Arabic", system-ui, sans-serif;

	/* Layout */
	--container: 1320px;
	--gutter: clamp(16px, 4vw, 40px);
	--radius: 16px;
	--radius-lg: 24px;
	--header-h: 76px;
	--section: clamp(56px, 8vw, 112px);
	--ease: cubic-bezier(.22, .61, .36, 1);
}

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

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { overflow-x: clip; }
body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--f-body);
	font-size: 16px;
	line-height: 1.8;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .25s var(--ease), opacity .25s var(--ease); }
a:hover { color: var(--petrol); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, h5, h6 { font-family: var(--f-head); font-weight: 400; line-height: 1.45; margin: 0 0 .5em; color: var(--petrol); }
p { margin: 0 0 1em; }
ul[role="list"], .menu { list-style: none; margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--petrol); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--petrol); color: var(--cream); }
[hidden] { display: none !important; }
body.no-scroll { overflow: hidden; }

.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 {
	clip: auto; width: auto; height: auto; margin: 0; z-index: 1000;
	inset-inline-start: 12px; top: 12px; padding: 10px 16px; background: var(--petrol); color: var(--cream); border-radius: 8px;
}

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container.narrow, .narrow { max-width: 860px; }
.section { padding-block: var(--section); }
.section + .section { padding-top: 0; }

/* ---------- Type helpers ---------- */
.eyebrow {
	display: inline-block;
	font-family: var(--f-latin);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: .32em;
	text-transform: uppercase;
	color: var(--petrol);
	opacity: .8;
	margin-bottom: 10px;
}
.eyebrow--light { color: var(--cream); opacity: .9; }
.section-title { font-size: clamp(24px, 3.2vw, 36px); margin: 0; }
.display { font-size: clamp(28px, 4.4vw, 52px); line-height: 1.35; }

.section-head {
	display: flex; align-items: flex-end; justify-content: space-between; gap: 16px;
	margin-bottom: clamp(24px, 4vw, 44px);
}
.link-arrow {
	display: inline-flex; align-items: center; gap: 8px;
	font-size: 14px; color: var(--petrol); white-space: nowrap;
	border-bottom: 1px solid var(--line-strong); padding-bottom: 2px;
}
.link-arrow .icon { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.link-arrow:hover .icon { transform: translateX(-4px); }
[dir="ltr"] .link-arrow .icon { transform: scaleX(-1); }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 48px; padding: 0 28px;
	border-radius: 999px; border: 1px solid transparent;
	font-family: var(--f-body); font-size: 15px; font-weight: 500; line-height: 1;
	transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
	text-align: center;
}
.btn .icon { width: 18px; height: 18px; }
.btn--primary { background: var(--petrol); color: var(--cream); }
.btn--primary:hover { background: var(--petrol-deep); color: var(--cream); }
.btn--cream { background: var(--cream); color: var(--petrol); }
.btn--cream:hover { background: var(--paper); color: var(--petrol); }
.btn--outline { border-color: var(--petrol); color: var(--petrol); background: transparent; }
.btn--outline:hover { background: var(--petrol); color: var(--cream); }
.btn--ghost { border-color: var(--line-strong); color: var(--petrol); background: transparent; min-height: 42px; padding: 0 18px; }
.btn--ghost:hover { border-color: var(--petrol); }

.icon-btn {
	display: inline-grid; place-items: center;
	width: 42px; height: 42px; padding: 0;
	background: none; border: 0; border-radius: 50%;
	color: var(--petrol); position: relative;
	transition: background .25s var(--ease);
}
.icon-btn:hover { background: rgba(16, 63, 67, .06); color: var(--petrol); }

/* ---------- Announcement ---------- */
.announce { background: var(--petrol); color: var(--cream); text-align: center; font-size: 13px; }
.announce p { margin: 0; padding: 9px 0; letter-spacing: .01em; }

/* ---------- Header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 60;
	background: rgba(250, 245, 234, .94);
	-webkit-backdrop-filter: saturate(140%) blur(10px);
	backdrop-filter: saturate(140%) blur(10px);
	border-bottom: 1px solid transparent;
	transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; } }
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(22, 43, 42, .35); }

.header-inner {
	height: var(--header-h);
	display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
}
.header-start { display: flex; align-items: center; gap: 8px; min-width: 0; }
.header-end { display: flex; align-items: center; justify-content: flex-end; gap: 2px; }

.site-brand { display: block; line-height: 0; }
.site-brand img { height: 30px; width: auto; }
.site-brand__sym { display: none; }

.primary-nav .menu { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); }
.primary-nav .menu > li { position: relative; }
.primary-nav .menu > li > a {
	display: block; padding: 8px 0; font-size: 14.5px; color: var(--ink); position: relative;
}
.primary-nav .menu > li > a::after {
	content: ""; position: absolute; inset-inline: 0; bottom: 2px; height: 1px;
	background: var(--petrol); transform: scaleX(0); transition: transform .35s var(--ease);
}
.primary-nav .menu > li > a:hover::after,
.primary-nav .current-menu-item > a::after { transform: scaleX(1); }
.primary-nav .current-menu-item > a { color: var(--petrol); }
.primary-nav .sub-menu {
	position: absolute; top: 100%; inset-inline-start: -18px; min-width: 210px;
	list-style: none; margin: 0; padding: 10px 0;
	background: var(--paper); border: 1px solid var(--line); border-radius: 12px;
	box-shadow: 0 18px 40px -24px rgba(22, 43, 42, .4);
	opacity: 0; visibility: hidden; transform: translateY(6px);
	transition: all .25s var(--ease);
}
.primary-nav li:hover > .sub-menu,
.primary-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.primary-nav .sub-menu a { display: block; padding: 8px 18px; font-size: 14px; }

.menu-toggle { display: none; }

.cart-btn .cart-count {
	position: absolute; top: 4px; inset-inline-end: 2px;
	min-width: 17px; height: 17px; padding: 0 4px;
	border-radius: 999px; background: var(--petrol); color: var(--cream);
	font-family: var(--f-latin); font-size: 10px; line-height: 17px; text-align: center;
}
.cart-btn .cart-count.is-empty { display: none; }

@media (max-width: 1023px) {
	.primary-nav { display: none; }
	.menu-toggle { display: inline-grid; }
	.site-brand img { height: 22px; }
	.hide-sm { display: none !important; }
}
@media (max-width: 359px) {
	.site-brand__full { display: none; }
	.site-brand__sym { display: block; }
	.site-brand__sym img { height: 26px; }
}

/* ---------- Search overlay ---------- */
.search-overlay {
	position: fixed; inset: 0 0 auto 0; z-index: 90;
	background: var(--paper); border-bottom: 1px solid var(--line);
	box-shadow: 0 30px 60px -30px rgba(22, 43, 42, .4);
	padding-block: 18px;
	animation: lunx-drop .35s var(--ease);
}
.search-overlay__form { display: flex; align-items: center; gap: 12px; color: var(--petrol); }
.search-overlay__form input {
	flex: 1; min-width: 0; height: 56px; border: 0; background: transparent;
	font-family: var(--f-head); font-size: clamp(18px, 2.4vw, 26px); color: var(--ink);
	outline: none;
}
.search-overlay__form input::placeholder { color: var(--muted); }
@keyframes lunx-drop { from { transform: translateY(-100%); } to { transform: none; } }

/* ---------- Drawer ---------- */
.drawer { position: fixed; inset: 0; z-index: 100; }
.drawer__backdrop {
	position: absolute; inset: 0; background: rgba(22, 43, 42, .45);
	opacity: 0; transition: opacity .35s var(--ease);
}
.drawer__panel {
	position: absolute; top: 0; bottom: 0; inset-inline-start: 0; z-index: 1;
	width: min(88vw, 380px); background: var(--paper);
	display: flex; flex-direction: column; overflow-y: auto;
	transform: translateX(100%); transition: transform .4s var(--ease);
	padding: 18px 22px calc(22px + env(safe-area-inset-bottom));
}
[dir="ltr"] .drawer__panel { transform: translateX(-100%); }
.drawer.is-open .drawer__backdrop { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.drawer__head .brand-logo { height: 22px; width: auto; }
.drawer-nav .menu > li { border-bottom: 1px solid var(--line); }
.drawer-nav a { display: block; padding: 15px 0; font-family: var(--f-head); font-size: 17px; color: var(--petrol); }
.drawer-nav .sub-menu { list-style: none; margin: 0 0 10px; padding: 0 14px 0 0; }
.drawer-nav .sub-menu a { padding: 8px 0; font-family: var(--f-body); font-size: 15px; color: var(--ink); }
.drawer__foot { margin-top: auto; padding-top: 24px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.drawer__foot > a { display: inline-flex; align-items: center; gap: 8px; color: var(--petrol); }

.socials { display: flex; gap: 6px; }
.socials a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-strong); color: var(--petrol); }
.socials a:hover { background: var(--petrol); color: var(--cream); }
.socials .icon { width: 18px; height: 18px; }

/* ---------- Hero ---------- */
.hero {
	position: relative; overflow: hidden; color: var(--cream);
	height: min(calc(100svh - var(--header-h) - 38px), 860px);
	min-height: 520px;
	background: var(--petrol);
}
.hero__track, .hero__slide { position: absolute; inset: 0; }
.hero__slide { opacity: 0; visibility: hidden; transition: opacity 1.1s var(--ease), visibility 1.1s; }
.hero__slide.is-active { opacity: 1; visibility: visible; }
.hero__img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 7s linear; }
.hero__slide.is-active .hero__img { transform: scale(1); }
.hero__slide::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(to top, rgba(22, 43, 42, .86) 0%, rgba(22, 43, 42, .5) 38%, rgba(22, 43, 42, .08) 72%);
}
.hero__content {
	position: absolute; inset-inline: 0; bottom: clamp(110px, 16vh, 150px); z-index: 2;
	text-align: center;
	display: flex; flex-direction: column; align-items: center;
}
.hero__slide .hero__content > * { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.hero__slide.is-active .hero__content > * { opacity: 1; transform: none; }
.hero__slide.is-active .hero__content > *:nth-child(2) { transition-delay: .12s; }
.hero__slide.is-active .hero__content > *:nth-child(3) { transition-delay: .24s; }
.hero__title { text-shadow: 0 2px 24px rgba(22, 43, 42, .35); color: var(--cream); font-size: clamp(30px, 5.4vw, 64px); line-height: 1.3; margin: 0 0 26px; max-width: 18ch; }

.hero__ui {
	position: absolute; inset-inline: 0; bottom: 28px; z-index: 3;
	display: flex; flex-direction: column; align-items: center; gap: 18px;
}
.hero__dots { display: flex; gap: 8px; }
.hero__dots button {
	width: 26px; height: 3px; padding: 0; border: 0; border-radius: 3px;
	background: rgba(244, 234, 211, .38); transition: background .3s, width .3s var(--ease);
}
.hero__dots button[aria-selected="true"] { background: var(--cream); width: 44px; }
.hero__search {
	display: inline-flex; align-items: center; gap: 10px;
	height: 44px; padding: 0 22px; border-radius: 999px;
	background: rgba(244, 234, 211, .2); color: var(--cream);
	border: 1px solid rgba(244, 234, 211, .35);
	-webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
	font-size: 14px;
}
.hero__search:hover { background: rgba(244, 234, 211, .3); }
.hero__search .icon { width: 18px; height: 18px; }

@media (max-width: 767px) {
	.hero { height: min(calc(100svh - var(--header-h) - 38px), 720px); min-height: 480px; }
	.hero__content { bottom: 120px; }
	.hero .btn { min-height: 44px; }
}

/* ---------- Categories ---------- */
.cats__list {
	display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(14px, 2.4vw, 32px);
}
.cat { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.cat__img {
	display: block; width: 100%; aspect-ratio: 1; border-radius: 50%; overflow: hidden;
	background: var(--cream); box-shadow: 0 0 0 1px var(--line);
	outline: 1px solid transparent; outline-offset: 5px; transition: outline-color .35s var(--ease);
}
.cat__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.cat:hover .cat__img { outline-color: var(--petrol); }
.cat:hover .cat__img img { transform: scale(1.07); }
.cat__name { font-size: 15px; color: var(--ink); }

@media (max-width: 1023px) {
	.cats__list {
		display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
		margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); padding-bottom: 8px;
		scrollbar-width: none;
	}
	.cats__list::-webkit-scrollbar { display: none; }
	.cats__list > li { flex: 0 0 clamp(96px, 24vw, 140px); scroll-snap-align: start; }
	.cat__name { font-size: 14px; }
}

/* ---------- Product cards (theme-level; WooCommerce overrides in woocommerce.css) ---------- */
.woocommerce ul.products,
ul.products {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(28px, 3vw, 40px) clamp(14px, 2vw, 28px);
	list-style: none; margin: 0 !important; padding: 0;
}
.woocommerce ul.products::before, .woocommerce ul.products::after,
ul.products::before, ul.products::after { display: none !important; content: none !important; }
.woocommerce ul.products li.product,
ul.products li.product {
	width: auto !important; float: none !important; margin: 0 !important; padding: 0 !important;
	position: relative; display: flex; flex-direction: column; text-align: start;
}
@media (max-width: 1023px) { ul.products, .woocommerce ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767px) { ul.products, .woocommerce ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 12px; } }

ul.products li.product .woocommerce-LoopProduct-link { display: flex; flex-direction: column; flex: 1; color: var(--ink); }
.lunx-card__media {
	position: relative; display: block; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden;
	background: var(--cream);
}
.lunx-card__media img {
	width: 100% !important; height: 100% !important; object-fit: cover; margin: 0 !important;
	transition: transform .9s var(--ease), opacity .6s var(--ease);
}
.lunx-card__media .lunx-card__hover { position: absolute; inset: 0; opacity: 0; }
li.product:hover .lunx-card__media img { transform: scale(1.04); }
li.product:hover .lunx-card__media .lunx-card__hover { opacity: 1; }
.lunx-card__body { padding-top: 14px; display: flex; flex-direction: column; gap: 2px; }
ul.products li.product .woocommerce-loop-product__title {
	font-family: var(--f-body) !important; font-size: 15px !important; font-weight: 500;
	color: var(--ink); padding: 0 !important; margin: 0 !important; line-height: 1.6;
}
ul.products li.product .price {
	display: block; color: var(--petrol) !important; font-size: 14px !important; margin: 0 !important;
	font-family: var(--f-latin);
}
.lunx-card__meta { font-family: var(--f-body) !important; color: var(--muted) !important; }
@media (max-width: 767px) {
	.home .featured ul.products > li:nth-child(n+7) { display: none !important; }
	ul.products li.product .woocommerce-loop-product__title { font-size: 14px !important; }
	.lunx-card__media { border-radius: 12px; }
}

/* ---------- Phrases marquee (gift-card lines from the identity) ---------- */
.phrases {
	background: var(--cream); border-block: 1px solid var(--cream-deep);
	overflow: hidden; padding-block: 22px; direction: ltr;
}
.phrases__track { display: flex; width: max-content; direction: ltr; animation: lunx-marquee 46s linear infinite; }
.phrases:hover .phrases__track { animation-play-state: paused; }
.phrases__group { display: flex; align-items: center; flex-shrink: 0; }
.phrase { direction: rtl; font-family: var(--f-head); font-size: clamp(17px, 2vw, 22px); color: var(--petrol); white-space: nowrap; padding-inline: 26px; }
.phrase__mark { width: 26px; height: auto; opacity: .55; }
@keyframes lunx-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Story ---------- */
.story__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 96px); align-items: center; }
.story__media { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; background: var(--cream); }
.story__media img { width: 100%; height: 100%; object-fit: cover; }
.story__text p { color: var(--muted); font-size: 16.5px; max-width: 46ch; margin-bottom: 28px; }
@media (max-width: 767px) {
	.story__grid { grid-template-columns: 1fr; }
	.story__media { aspect-ratio: 4 / 4.4; }
}

/* ---------- Collection banners ---------- */
.banners__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 2vw, 28px); }
.banner {
	position: relative; display: block; aspect-ratio: 1 / 1.08; border-radius: var(--radius-lg); overflow: hidden;
	color: var(--cream); background: var(--petrol);
}
.banner img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(22, 43, 42, .72), rgba(22, 43, 42, 0) 55%); }
.banner:hover img { transform: scale(1.05); }
.banner:hover { color: var(--cream); }
.banner__text { position: absolute; inset-inline: clamp(20px, 3vw, 36px); bottom: clamp(20px, 3vw, 36px); z-index: 2; display: flex; flex-direction: column; align-items: flex-start; }
.banner__title { font-family: var(--f-head); font-size: clamp(22px, 3vw, 36px); line-height: 1.35; margin-bottom: 12px; }
.banner__cta { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; border-bottom: 1px solid rgba(244, 234, 211, .5); padding-bottom: 2px; }
.banner__cta .icon { width: 16px; height: 16px; }
@media (max-width: 767px) {
	.banners__grid { grid-template-columns: 1fr; }
	.banner { aspect-ratio: 4 / 4.2; }
}

/* ---------- Trio: fineness / packaging / care ---------- */
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); }
.trio__card {
	position: relative; border-radius: var(--radius-lg); overflow: hidden;
	aspect-ratio: 3 / 4; padding: clamp(24px, 3vw, 40px);
	display: flex; flex-direction: column;
}
.trio__card h3 { font-size: clamp(22px, 2.4vw, 30px); }
.trio__card--cream { background: var(--cream); }
.trio__card--cream small { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line-strong); font-family: var(--f-latin); letter-spacing: .2em; font-size: 11px; color: var(--petrol); }
.fineness {
	display: flex; align-items: flex-start; gap: 6px; margin: auto 0 18px;
	font-family: var(--f-latin); font-weight: 300; color: var(--petrol); line-height: 1;
	font-size: clamp(64px, 8vw, 104px); direction: ltr; justify-content: flex-end;
}
.fineness span:last-child { margin-top: .55em; }
.fineness i { width: 2px; height: 1.3em; background: var(--petrol); opacity: .5; transform: rotate(28deg); margin-inline: .12em; }
.trio__card--img { padding: 0; color: var(--cream); }
.trio__card--img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.trio__card--img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(22, 43, 42, .75), transparent 55%); }
.trio__caption { position: absolute; inset-inline: clamp(24px, 3vw, 40px); bottom: clamp(24px, 3vw, 40px); z-index: 2; }
.trio__caption h3 { color: var(--cream); margin: 0; }
.trio__card--petrol { background: var(--petrol); color: var(--cream); }
.trio__card--petrol h3 { color: var(--cream); margin-top: auto; }
.trio__card--petrol p { color: var(--on-dark-muted); border-top: 1px solid rgba(244, 234, 211, .2); padding-top: 16px; margin: 6px 0 0; }
.trio__mark { position: absolute; top: clamp(24px, 3vw, 40px); inset-inline-end: clamp(24px, 3vw, 40px); width: 40px; }
.trio__card--petrol .eyebrow { align-self: flex-start; }
@media (max-width: 1023px) {
	.trio {
		display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
		margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none;
	}
	.trio::-webkit-scrollbar { display: none; }
	.trio__card { flex: 0 0 min(78vw, 340px); scroll-snap-align: start; }
}

/* ---------- Newsletter ---------- */
.newsletter { background: var(--sage); }
.section.newsletter { padding-block: var(--section); }
.newsletter__inner { max-width: 640px; text-align: center; }
.newsletter__inner p { color: var(--muted); }
.newsletter-form { position: relative; display: flex; gap: 8px; margin-top: 26px; padding: 6px; background: var(--paper); border-radius: 999px; border: 1px solid var(--line); }
.newsletter-form input[type="email"] { flex: 1; min-width: 0; border: 0; background: transparent; padding-inline: 18px; height: 48px; outline: none; }
.newsletter-form .btn { min-height: 48px; }
.hp-field { position: absolute !important; width: 1px !important; height: 1px !important; min-height: 0 !important; padding: 0 !important; border: 0 !important; overflow: hidden; clip: rect(0 0 0 0); opacity: 0; }
.newsletter-msg { margin-top: 14px; font-size: 14px; }
.newsletter-msg.is-ok { color: var(--petrol); }
.newsletter-msg.is-err { color: var(--ink); }
@media (max-width: 479px) {
	.newsletter-form { flex-direction: column; border-radius: 20px; }
	.newsletter-form input[type="email"] { text-align: center; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--petrol); color: var(--cream); padding-top: clamp(56px, 7vw, 96px); }
.site-footer a { color: var(--on-dark-muted); }
.site-footer a:hover { color: var(--cream); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: clamp(28px, 4vw, 56px); padding-bottom: clamp(40px, 5vw, 64px); }
.footer-logo img { width: 150px; height: auto; margin-bottom: 18px; }
.footer-brand p { color: var(--on-dark-muted); font-size: 14.5px; max-width: 34ch; }
.footer-col h4 { color: var(--cream); font-size: 15px; margin-bottom: 16px; }
.footer-col .menu li { margin-bottom: 8px; }
.footer-col .menu a, .footer-care p { font-size: 14.5px; color: var(--on-dark-muted); }
.site-footer .socials a { border-color: rgba(244, 234, 211, .3); color: var(--cream); }
.site-footer .socials a:hover { background: var(--cream); color: var(--petrol); }
.footer-bottom {
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
	border-top: 1px solid rgba(244, 234, 211, .16); padding-block: 22px calc(22px + env(safe-area-inset-bottom));
	font-size: 13px; color: var(--on-dark-muted);
}
.footer-bottom p { margin: 0; }
.footer-mark img { width: 30px; opacity: .7; }
@media (max-width: 1023px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 479px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 16px; } .footer-care { grid-column: 1 / -1; } }

/* ---------- WhatsApp float ---------- */
.wa-float {
	position: fixed; z-index: 50; bottom: calc(20px + env(safe-area-inset-bottom)); inset-inline-end: 20px;
	width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
	background: var(--petrol); color: var(--cream); box-shadow: 0 12px 30px -10px rgba(22, 43, 42, .55);
	transition: transform .3s var(--ease);
}
.wa-float:hover { transform: translateY(-3px); color: var(--cream); }
.wa-float .icon { width: 26px; height: 26px; }

/* ---------- Inner pages ---------- */
.page-hero { background: var(--sage-soft); padding-block: clamp(40px, 6vw, 72px); text-align: center; border-bottom: 1px solid var(--line); }
.page-hero .eyebrow { margin-bottom: 6px; }
.page-thumb { margin: 0 0 32px; border-radius: var(--radius-lg); overflow: hidden; }
.entry-content { font-size: 16.5px; }
.entry-content > * + * { margin-top: 1.1em; }
.entry-content h2, .entry-content h3 { margin-top: 1.6em; }
.entry-content a { color: var(--petrol); text-decoration: underline; text-underline-offset: 3px; }
.entry-content img { border-radius: var(--radius); }
.entry-content blockquote { margin: 1.5em 0; padding: 18px 24px; border-inline-start: 2px solid var(--petrol); background: var(--cream); border-radius: 0 var(--radius) var(--radius) 0; font-family: var(--f-head); color: var(--petrol); }

.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 24px; }
@media (max-width: 1023px) { .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) { .post-grid { grid-template-columns: 1fr; } }
.post-card__media { display: block; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--cream); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.04); }
.post-card__body { padding-top: 14px; }
.post-card__body time { font-size: 13px; color: var(--muted); }
.post-card__title { font-size: 19px; margin: 4px 0 6px; }
.post-card__body p { color: var(--muted); font-size: 15px; }
.post-nav { display: flex; justify-content: space-between; gap: 16px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; }

.pagination-wrap, .woocommerce-pagination { margin-top: 48px; text-align: center; }
.nav-links { display: inline-flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.page-numbers {
	display: inline-grid; place-items: center; min-width: 42px; height: 42px; padding: 0 10px;
	border-radius: 999px; border: 1px solid var(--line); font-family: var(--f-latin); font-size: 14px;
}
.page-numbers.current, .page-numbers:hover { background: var(--petrol); border-color: var(--petrol); color: var(--cream); }

.search-form { display: flex; gap: 8px; max-width: 480px; margin: 20px auto; }
.search-form .search-field { flex: 1; min-width: 0; }
.search-form .btn { padding: 0 16px; }

.empty-state, .notfound { text-align: center; }
.notfound__mark { width: 110px; margin: 0 auto 18px; opacity: .9; }
.notfound .btn { margin-top: 10px; }

/* Forms (global) */
input[type="text"], input[type="email"], input[type="tel"], input[type="password"], input[type="search"],
input[type="number"], input[type="url"], select, textarea {
	width: 100%; min-height: 48px; padding: 10px 16px;
	background: #fff; border: 1px solid var(--line-strong); border-radius: 12px;
	color: var(--ink); transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
	-webkit-appearance: none; appearance: none;
}
.newsletter-form input[type="email"], .search-overlay__form input { background: transparent; border: 0; border-radius: 0; box-shadow: none; }
textarea { min-height: 140px; }
input:focus, select:focus, textarea:focus { border-color: var(--petrol); box-shadow: 0 0 0 3px rgba(16, 63, 67, .1); outline: none; }
select {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23103F43' stroke-width='1.5'%3E%3Cpath d='m1 1 5 5 5-5'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: left 16px center; padding-left: 40px;
}
[dir="ltr"] select { background-position: right 16px center; padding-left: 16px; padding-right: 40px; }
label { font-size: 14px; color: var(--ink); }
.comment-form input[type="submit"], input[type="submit"] {
	background: var(--petrol); color: var(--cream); border: 0; border-radius: 999px; min-height: 48px; padding: 0 28px; cursor: pointer;
}
.comment-list { list-style: none; padding: 0; }
.comment-body { padding: 18px 0; border-bottom: 1px solid var(--line); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

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