@font-face {
	font-family: "Vazirmatn";
	font-style: normal;
	font-weight: 400 800;
	font-display: swap;
	src: url("../fonts/vazirmatn-arabic.woff2") format("woff2");
	unicode-range: U+0600-06FF, U+0750-077F, U+0870-089F, U+08A0-08FF, U+200C-200F, U+FB50-FDFF, U+FE70-FEFC;
}

:root {
	--ink: #171511;
	--muted: #706d66;
	--paper: #f7f3ec;
	--surface: #fffdf9;
	--line: #d9d2c7;
	--rose: #b57670;
	--rose-soft: #eedbd5;
	--sage: #687461;
	--sage-soft: #dfe5da;
	--sand: #dec9aa;
	--wine: #733844;
	--gold: #c6a266;
	--cyan: #86ddd1;
	--gutter: max(6vw, 36px);
	--rangak-h2-display: clamp(29px, 2.7vw, 40px);
	--rangak-h2-content: clamp(26px, 2.4vw, 34px);
	--rangak-h2-card: clamp(20px, 1.8vw, 26px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: Vazirmatn, Manrope, sans-serif;
	direction: rtl;
	text-align: right;
	-webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { max-width: 100%; height: auto; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
.site-shell { 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;
}

.announcement {
	min-height: 34px;
	padding: 6px var(--gutter);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	background: var(--ink);
	color: #f9f4eb;
	font-size: 13px;
}
.announcement p { min-width: 0; margin: 0; letter-spacing: .1px; }
.announcement__separator { color: var(--cyan); padding: 0 8px; }
.announcement a { min-height: 28px; display: inline-flex; align-items: center; color: #d5d1c8; text-decoration: none; direction: rtl; font-family: Vazirmatn, sans-serif; white-space: nowrap; }

.site-header {
	position: relative;
	z-index: 30;
	height: 88px;
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 28px;
	padding: 0 var(--gutter);
	border-bottom: 1px solid rgba(23, 21, 17, .12);
	background: rgba(247, 243, 236, .94);
	backdrop-filter: blur(18px);
}
.brand {
	display: inline-flex;
	align-items: center;
	justify-self: start;
	gap: 11px;
	text-decoration: none;
	min-width: 0;
}
.brand-mark {
	position: relative;
	width: 37px;
	height: 37px;
	display: grid;
	place-items: center;
	border: 1px solid var(--ink);
	border-radius: 50%;
	font: 800 19px/1 Vazirmatn, sans-serif;
	transform: rotate(-7deg);
}
.brand-mark i,
.brand-mark i::after {
	content: "";
	position: absolute;
	width: 7px;
	height: 11px;
	border: solid var(--sage);
	border-width: 1px 1px 0 0;
	border-radius: 90% 0;
}
.brand-mark i { top: -5px; left: 12px; transform: rotate(-18deg); }
.brand-mark i::after { top: 3px; left: -7px; transform: rotate(-42deg); }
.brand-copy { display: flex; flex-direction: column; line-height: 1; }
.brand-copy strong { font-size: 22px; font-weight: 800; letter-spacing: -1.3px; }
.brand-copy small { margin-top: 5px; font: 500 12px/1 DM Mono, monospace; letter-spacing: 1.2px; direction: ltr; }
.custom-logo { display: block; width: auto; max-height: 52px; }

.primary-nav { display: flex; align-items: center; justify-content: center; gap: 31px; }
.primary-nav a {
	position: relative;
	min-height: 44px;
	display: inline-flex;
	align-items: center;
	font-size: 15px;
	font-weight: 650;
	text-decoration: none;
}
.primary-nav a::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: 8px;
	width: 0;
	height: 1px;
	background: var(--wine);
	transition: width .2s ease;
}
.primary-nav a:hover::after { width: 100%; }
.primary-nav__account { display: none !important; }
.header-actions { display: flex; align-items: center; justify-self: end; gap: 7px; direction: ltr; }
.header-icon, .search-toggle, .menu-toggle {
	position: relative;
	width: 42px;
	height: 42px;
	display: grid;
	place-items: center;
	padding: 0;
	border: 1px solid transparent;
	background: transparent;
	color: var(--ink);
	text-decoration: none;
	cursor: pointer;
}
.header-icon:hover, .search-toggle:hover { border-color: var(--line); background: var(--surface); }
.header-icon svg, .search-toggle svg {
	width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}
.rangak-favorites-count { position: absolute; top: 1px; right: 0; min-width: 18px; height: 18px; display: grid; place-items: center; padding: 0 4px; border-radius: 999px; background: var(--wine); color: #fff; font-size: 11px; font-weight: 800; line-height: 1; }
.rangak-favorites-count[hidden] { display: none; }
.menu-toggle { display: none; gap: 4px; }
.menu-toggle span { display: block; width: 20px; height: 1px; background: currentColor; }
.header-search { position: relative; z-index: 25; padding: 16px var(--gutter); border-bottom: 1px solid var(--line); background: #efe9df; }
.header-search[hidden] { display: none; }
.header-search form { display: grid; grid-template-columns: 1fr auto; max-width: 820px; margin: 0 auto; background: var(--surface); border: 1px solid var(--line); }
.header-search input { min-width: 0; padding: 15px 18px; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 16px; }
.header-search button { padding: 0 22px; border: 0; background: var(--ink); color: #fff; cursor: pointer; font-size: 14px; font-weight: 700; }
.header-search button span { color: var(--cyan); margin-right: 12px; }

.hero {
	min-height: 650px;
	display: grid;
	grid-template-columns: .94fr 1.06fr;
	align-items: center;
	gap: 64px;
	padding: 62px var(--gutter) 72px;
	background:
		radial-gradient(circle at 8% 78%, rgba(181,118,112,.13), transparent 21%),
		linear-gradient(110deg, transparent 55%, rgba(255,255,255,.45) 55%);
}
.hero-copy { position: relative; z-index: 2; max-width: 610px; }
.eyebrow { margin: 0; color: #68645e; font: 600 13px/1.7 Vazirmatn, sans-serif; letter-spacing: 0; direction: rtl; text-align: right; }
.eyebrow i { display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: var(--rose); }
.hero h1 {
	margin: 19px 0 22px;
	font-size: clamp(42px, 5vw, 68px);
	line-height: 1.16;
	letter-spacing: -3.4px;
	font-weight: 800;
}
.section h2, .final-cta h2 {
	margin: 12px 0 18px;
	font-size: var(--rangak-h2-display);
	line-height: 1.36;
	letter-spacing: -1.5px;
	font-weight: 800;
}
.hero h1 em, .atelier-copy h2 em { color: var(--rose); font-family: Vazirmatn, sans-serif; font-style: normal; font-weight: 500; }
.hero-lead { max-width: 560px; margin: 0; color: #4f4b45; font-size: 17px; line-height: 2.05; }
.hero-lead a { color: var(--wine); font-weight: 750; text-underline-offset: 4px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.button {
	min-height: 50px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 34px;
	padding: 13px 20px;
	border: 0;
	text-decoration: none;
	font-size: 14px;
	font-weight: 750;
	transition: transform .2s ease, background-color .2s ease, color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--ink); color: #fff; }
.button-primary b { color: var(--cyan); font: 18px/1 Manrope, sans-serif; }
.button-ghost { box-shadow: inset 0 0 0 1px #bbb4a9; color: var(--ink); }
.button-ghost b { color: var(--wine); font: 18px/1 Manrope, sans-serif; }
.hero-note { display: flex; align-items: center; gap: 14px; margin-top: 47px; }
.hero-note > span { color: var(--wine); font: 700 13px Vazirmatn, sans-serif; }
.hero-note p { margin: 0; padding-right: 14px; border-right: 1px solid var(--line); color: #77736c; font-size: 14px; line-height: 1.9; }

.hero-visual { position: relative; min-height: 510px; direction: ltr; }
.hero-visual figure {
	position: absolute;
	z-index: 3;
	width: min(72%, 430px);
	margin: 0;
	top: 50%;
	left: 48%;
	transform: translate(-50%, -50%) rotate(2.2deg);
	background: var(--surface);
	box-shadow: 0 32px 65px rgba(73, 57, 41, .18);
}
.hero-visual figure img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
.hero-visual figure > a { display: block; }
.hero-visual figcaption { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; border-top: 1px solid var(--line); background: var(--surface); direction: rtl; }
.hero-visual figcaption span { font: 600 13px Vazirmatn, sans-serif; color: #77736e; }
.hero-visual figcaption b { font-size: 13px; }
.hero-orbit { position: absolute; inset: 3% 8% 2% 6%; border: 1px solid rgba(115,56,68,.27); border-radius: 50%; transform: rotate(-17deg); }
.hero-orbit::after { content: ""; position: absolute; inset: 38px; border: 1px dashed rgba(104,116,97,.34); border-radius: 50%; }
.hero-orbit span:first-child { position: absolute; width: 92px; height: 92px; right: 3%; top: 8%; border-radius: 50%; background: rgba(238,219,213,.92); box-shadow: 0 0 50px rgba(181,118,112,.24); }
.hero-orbit span:last-child { position: absolute; width: 17px; height: 17px; left: 17%; bottom: 9%; border: 4px solid var(--ink); border-radius: 50%; background: var(--paper); }

.trust-strip {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	padding: 0 var(--gutter);
	border-block: 1px solid var(--line);
	background: #ebe5da;
}
.trust-strip > div { min-height: 78px; display: flex; align-items: baseline; justify-content: center; flex-wrap: wrap; gap: 7px 12px; padding: 22px; border-left: 1px solid var(--line); }
.trust-strip > div:first-child { border-right: 1px solid var(--line); }
.trust-strip strong { font-size: 15px; }
.trust-strip span { color: #67625b; font-size: 13px; }

.section { padding: clamp(64px, 6vw, 84px) var(--gutter); }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.hero > *,
.section-heading > *,
.atelier > *,
.process > *,
.faq > *,
.final-cta > *,
.guides-hero > *,
.guide-feature > *,
.guide-shop-cta > *,
.article-product-cta > *,
.article-header > *,
.article-layout > *,
.commerce-guides > *,
.woocommerce div.product > * { min-width: 0; }
.hero h1,
.section h1,
.section h2,
.section h3,
.final-cta h2,
.page-heading h1 { overflow-wrap: normal; word-break: normal; }
.section-heading h2, .atelier-copy h2, .process h2, .faq h2 { font-size: var(--rangak-h2-display); }
.section-heading > p { margin: 0 0 9px; color: #595650; font-size: 16px; line-height: 2; text-align: right; }
.section-heading > p span { color: #666159; font-size: 13px; }

.collection-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); }
.collection-card {
	position: relative;
	min-height: 440px;
	display: flex;
	flex-direction: column;
	padding: 0;
	border-left: 1px solid rgba(23,21,17,.14);
	text-decoration: none;
	overflow: hidden;
	transition: transform .22s ease, box-shadow .22s ease;
}
.collection-card:last-child { border-left: 0; }
.collection-card:hover { z-index: 2; transform: translateY(-6px); box-shadow: 0 20px 40px rgba(43,35,27,.13); }
.collection-card__media { position: relative; aspect-ratio: 1 / .82; margin: 0; overflow: hidden; background: rgba(255,255,255,.28); }
.collection-card__media::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 -30px 45px rgba(23,21,17,.08); pointer-events: none; }
.collection-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .45s cubic-bezier(.2,.7,.2,1); }
.collection-card:hover .collection-card__media img { transform: scale(1.035); }
.collection-card__body { flex: 1; padding: 19px 22px 55px; }
.collection-card small { font: 500 13px/1.7 Vazirmatn, sans-serif; letter-spacing: 0; color: rgba(23,21,17,.72); direction: rtl; display: block; text-align: right; }
.collection-card h3 { margin: 8px 0 7px; font-size: clamp(24px, 2vw, 29px); letter-spacing: -1.25px; }
.collection-card p { margin: 0; font-size: 14px; line-height: 1.9; color: rgba(23,21,17,.7); }
.collection-card > b { position: absolute; left: 22px; bottom: 19px; font: 300 25px Manrope, sans-serif; }
.collection-card--rose { background: #edddd8; }
.collection-card--sage { background: #dce3d8; }
.collection-card--sand { background: #eadbc5; }
.collection-card--wine { background: #78404b; color: #fff; }
.collection-card--wine small, .collection-card--wine p { color: rgba(255,255,255,.9); }

.featured { background: #eee9e0; }
.section-heading--products { align-items: center; }
.text-link { display: inline-flex; align-items: center; gap: 22px; min-height: 46px; border-bottom: 1px solid var(--ink); text-decoration: none; font-size: 14px; font-weight: 700; }
.text-link span { color: var(--wine); font: 19px/1 Manrope, sans-serif; }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; direction: ltr; }
.product-card { position: relative; direction: rtl; display: flex; flex-direction: column; min-width: 0; background: var(--surface); border: 1px solid #ddd6cb; transition: transform .22s ease, box-shadow .22s ease; }
.product-card:hover { transform: translateY(-5px); box-shadow: 0 20px 38px rgba(44,35,25,.11); }
.product-card__media { position: relative; display: block; overflow: hidden; background: #e7e0d6; }
.product-card__media img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .5s ease; }
.product-card:hover .product-card__media img { transform: scale(1.035); }
.product-card__code { position: absolute; right: 12px; top: 12px; padding: 6px 8px; background: rgba(255,253,249,.9); color: #4a4640; font: 500 12px DM Mono, monospace; direction: ltr; backdrop-filter: blur(5px); }
.product-card__body { display: flex; flex: 1; flex-direction: column; padding: 19px; }
.product-card__meta { min-height: 22px; color: #666159; font-size: 13px; }
.product-card__meta a { text-decoration: none; }
.product-card .product-card__title { margin: 7px 0 10px; font-size: 18px; line-height: 1.65; letter-spacing: -.8px; }
.product-card__title a { text-decoration: none; }
.product-card__title a::after { content: ""; position: absolute; z-index: 1; inset: 0; }
.product-card__title a:focus-visible::after { outline: 3px solid var(--wine); outline-offset: -3px; }
.product-card p { min-height: 58px; margin: 0; color: #68635c; font-size: 15px; line-height: 1.9; }
.product-card__footer { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 12px; min-width: 0; margin-top: auto; padding-top: 18px; border-top: 1px solid #e4ded5; }
.product-card__footer strong { min-width: 0; font-size: 16px; white-space: normal; }
.product-card__footer .woocommerce-Price-amount { font-family: Vazirmatn, sans-serif; }
.product-card__footer .woocommerce-Price-amount bdi,
.woocommerce div.product p.price .woocommerce-Price-amount bdi {
	direction: rtl;
	unicode-bidi: isolate;
	white-space: nowrap;
}
.woocommerce-Price-amount bdi { direction: rtl; unicode-bidi: isolate; white-space: nowrap; }
.woocommerce-Price-currencySymbol { display: inline-block; margin: 0; direction: rtl; }
.rangak-raw-price { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; }
.rangak-raw-price small { color: var(--muted); font-size: 13px; font-weight: 500; }
.rangak-price-pair { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 2px; line-height: 1.35; }
.rangak-price-current { display: inline-flex; align-items: baseline; gap: 8px; white-space: nowrap; }
.rangak-price-pair del { color: #8a847c; font-size: .78em; font-weight: 600; text-decoration-color: var(--wine); text-decoration-thickness: 1px; }
.rangak-price-pair ins { color: var(--wine); font-size: 1em; font-weight: 850; text-decoration: none; }
.product-card__footer .rangak-raw-price,
.product-card__footer .rangak-price-pair,
.product-card__footer .rangak-price-current { min-width: 0; }
.product-card__footer .rangak-price-current { flex-wrap: wrap; gap: 2px 8px; white-space: normal; }
.product-card__footer .rangak-price-current small,
.product-card__footer .rangak-raw-price > small { flex: 0 0 100%; display: block; line-height: 1.55; }
.product-card__link { position: relative; z-index: 2; min-width: 0; min-height: 38px; display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; text-decoration: none; font-size: 13px; font-weight: 700; line-height: 1.4; white-space: nowrap; }
.product-card__link span { color: var(--rose); font: 16px Manrope, sans-serif; }
.empty-products { padding: 50px; border: 1px dashed var(--line); text-align: center; color: var(--muted); }
.rangak-favorite-toggle { z-index: 4; min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 0; border: 1px solid rgba(39,35,31,.14); border-radius: 50%; background: rgba(255,253,249,.94); color: #3b3732; box-shadow: 0 7px 22px rgba(34,28,23,.11); cursor: pointer; transition: color .18s ease, border-color .18s ease, background-color .18s ease, transform .18s ease; }
.rangak-favorite-toggle:hover { transform: translateY(-1px); border-color: var(--wine); color: var(--wine); }
.rangak-favorite-toggle:focus-visible { outline: 3px solid rgba(115,56,68,.24); outline-offset: 3px; }
.rangak-favorite-toggle svg { width: 22px; height: 22px; fill: transparent; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: fill .18s ease; }
.rangak-favorite-toggle.is-active { border-color: var(--wine); color: #fff; background: var(--wine); }
.rangak-favorite-toggle.is-active svg { fill: currentColor; }
.rangak-favorite-toggle--card { position: absolute; top: 12px; left: 12px; }
.rangak-favorite-toggle--single { min-height: 46px; padding: 0 16px; border-radius: 999px; box-shadow: none; font-size: 14px; font-weight: 750; }
.rangak-favorites-notice { position: fixed; z-index: 1000; left: 50%; bottom: 24px; max-width: min(90vw, 520px); padding: 13px 18px; transform: translate(-50%, 18px); border-radius: 9px; background: #201d1a; color: #fff; box-shadow: 0 16px 42px rgba(0,0,0,.24); font-size: 14px; line-height: 1.8; text-align: center; opacity: 0; visibility: hidden; transition: opacity .18s ease, transform .18s ease, visibility .18s ease; }
.rangak-favorites-notice.is-visible { transform: translate(-50%, 0); opacity: 1; visibility: visible; }

.atelier { display: grid; grid-template-columns: .94fr 1.06fr; align-items: center; gap: clamp(45px, 8vw, 120px); }
.atelier-image { position: relative; max-width: 560px; padding: 19px; border: 1px solid var(--line); background: #eee5d8; transform: rotate(-1.5deg); }
.atelier-image::before { content: ""; position: absolute; inset: 38px -23px -23px 38px; z-index: -1; border: 1px solid var(--sage); }
.atelier-image img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
.atelier-image > span { display: block; margin-top: 12px; font: 600 13px Vazirmatn, sans-serif; direction: rtl; }
.atelier-copy { max-width: 590px; }
.atelier-copy > p:not(.eyebrow) { color: #5d5952; font-size: 16px; line-height: 2.05; }
.atelier-copy ul { list-style: none; padding: 8px 0 20px; margin: 0; }
.atelier-copy li { display: flex; align-items: center; gap: 15px; min-height: 52px; border-top: 1px solid var(--line); font-size: 15px; font-weight: 650; }
.atelier-copy li:last-child { border-bottom: 1px solid var(--line); }
.atelier-copy li span { color: var(--rose); font: 700 13px Vazirmatn, sans-serif; }

.process { display: grid; grid-template-columns: .76fr 1.24fr; gap: clamp(50px, 8vw, 120px); scroll-margin-top: 18px; background: var(--ink); color: #fff; }
.process .eyebrow { color: #aaa59d; }
.process .eyebrow i { background: var(--cyan); }
.process-intro > p:last-child { max-width: 390px; color: #aaa9a5; font-size: 14px; line-height: 1.9; }
.steps article { display: grid; grid-template-columns: 45px 1fr auto; gap: 20px; align-items: start; min-height: 125px; padding: 24px 0; border-top: 1px solid #393731; }
.steps article:last-child { border-bottom: 1px solid #393731; }
.steps article > span { color: var(--cyan); font: 700 13px Vazirmatn, sans-serif; }
.steps h3 { margin: -3px 0 7px; font-size: 18px; }
.steps p { margin: 0; color: #b9b7b2; font-size: 14px; line-height: 1.9; }
.steps b { color: var(--rose-soft); font: 300 22px Manrope, sans-serif; }

.faq { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(55px, 8vw, 120px); }
.faq-intro > p:last-child { color: var(--muted); font-size: 14px; }
.faq-list { border-top: 1px solid #bbb4aa; }
.faq details { border-bottom: 1px solid #bbb4aa; padding: 9px 0; }
.faq summary { min-height: 62px; display: flex; align-items: center; justify-content: space-between; gap: 30px; list-style: none; cursor: pointer; font-size: 16px; font-weight: 750; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary span { color: var(--rose); font: 300 22px Manrope, sans-serif; }
.faq details p { max-width: 720px; margin: 4px 0 19px; color: #65615a; font-size: 14px; line-height: 2; }

.final-cta { position: relative; min-height: 390px; display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 72px var(--gutter); overflow: hidden; background: var(--wine); color: #fff; }
.final-cta .eyebrow { color: #dcc5c5; }
.final-cta .eyebrow i { background: var(--sand); }
.final-cta h2 { max-width: 840px; font-size: var(--rangak-h2-display); margin-bottom: 0; }
.button-light { position: relative; z-index: 2; background: #fff9f1; color: var(--ink); }
.button-light b { color: var(--wine); font: 18px Manrope, sans-serif; }
.final-cta__mark { position: absolute; left: 18%; bottom: -52%; color: rgba(255,255,255,.045); font: 800 430px/1 Vazirmatn, sans-serif; transform: rotate(-11deg); }

.site-footer { display: grid; grid-template-columns: minmax(240px, 1.35fr) repeat(3, minmax(135px, .72fr)) minmax(155px, .9fr); gap: clamp(28px, 3.2vw, 50px); padding: 65px var(--gutter) 25px; background: #e9e3d8; border-top: 1px solid var(--line); }
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.footer-brand p { margin: 0; color: #656159; font-size: 15px; line-height: 2; }
.footer-column { display: flex; flex-direction: column; align-items: flex-start; gap: 13px; }
.footer-column strong { margin-bottom: 8px; color: var(--ink); font-size: 16px; }
.footer-column a { color: #656159; font-size: 14px; text-decoration: none; }
.footer-column a:hover { color: var(--wine); }
.footer-meta { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; min-width: 0; }
.footer-contact { display: flex; flex-direction: column; align-items: flex-start; }
.footer-contact > strong { margin-bottom: 8px; font-size: 16px; }
.footer-contact > a { margin: 0 0 7px; color: var(--ink); font: 700 17px Vazirmatn, sans-serif; text-decoration: none; }
.footer-contact small { color: #5f5a53; font-size: 13px; line-height: 1.8; }
.footer-contact small a { color: inherit; text-decoration: none; }
.footer-trust { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-trust > strong { font-size: 14px; }
.footer-trust__seal { position: relative; width: 125px; height: 136px; display: grid; place-items: center; }
.footer-trust__official { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; pointer-events: none; }
.footer-trust__official img { display: block; }
.footer-trust__fallback { width: 125px; height: 136px; display: grid; place-items: center; overflow: hidden; background: #ededed; border: 1px solid #d5cec3; border-radius: 12px; box-shadow: 0 8px 24px rgba(40,31,24,.07); text-decoration: none; }
.footer-trust__fallback img { width: 125px; height: 136px; display: block; object-fit: contain; }
.footer-trust__seal.is-official-loaded .footer-trust__official { opacity: 1; pointer-events: auto; }
.footer-trust__seal.is-official-loaded .footer-trust__fallback { display: none; }
.footer-bottom { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; margin-top: 12px; padding-top: 17px; border-top: 1px solid #cec7bb; color: #5f5a53; font-size: 12px; }
.footer-signature { font: 600 13px Vazirmatn, sans-serif; letter-spacing: 0; direction: rtl; }

.content-page, .commerce-page { min-height: 65vh; padding-top: clamp(42px, 4vw, 56px); }
.page-heading { margin-bottom: 30px; }
.page-heading h1 { margin: 12px 0; font-size: clamp(36px, 4vw, 54px); line-height: 1.25; letter-spacing: -2.3px; }
.entry-content { width: 100%; max-width: none; font-size: 16px; line-height: 2.05; }

/* Public business, contact and terms pages */
.content-page--business { padding-top: clamp(40px, 4.5vw, 64px); }
.content-page--business .page-heading { max-width: 1080px; margin-bottom: clamp(28px, 3.5vw, 44px); }
.content-page--business .page-heading h1 { max-width: none; line-height: 1.25; }
.content-page--business .entry-content > p:empty { display: none; }
.rangak-info-page { display: grid; gap: clamp(42px, 5vw, 64px); }
.rangak-info-page h2,
.rangak-info-page h3 { overflow-wrap: normal; word-break: normal; }
.rangak-info-page h2 { margin: 0; font-size: var(--rangak-h2-display); line-height: 1.48; letter-spacing: -1.1px; }
.rangak-info-page p { margin: 16px 0 0; color: #5f5a53; font-size: 17px; line-height: 2.1; }
.rangak-info-kicker { display: block; margin-bottom: 13px; color: var(--wine); font-size: 14px; font-weight: 800; }
.rangak-info-hero {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr);
	align-items: stretch;
	gap: clamp(28px, 5vw, 72px);
	padding: clamp(32px, 5vw, 68px);
	border: 1px solid var(--line);
	background: linear-gradient(135deg, #fffdf9 0%, #eee7dc 100%);
}
.rangak-info-hero__copy { align-self: center; min-width: 0; }
.rangak-info-hero__copy > p { max-width: 800px; }
.rangak-info-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.rangak-info-actions .button { text-decoration: none; }
.rangak-experience-card {
	min-height: 330px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 32px;
	border: 1px solid rgba(255,255,255,.18);
	background: var(--wine);
	color: #fff;
	text-align: center;
}
.rangak-experience-card strong { font: 800 clamp(80px, 9vw, 138px)/.9 Vazirmatn, sans-serif; letter-spacing: -7px; }
.rangak-experience-card span { margin-top: 22px; font-size: 20px; font-weight: 800; }
.rangak-experience-card small { margin-top: 8px; color: rgba(255,255,255,.78); font-size: 14px; }
.rangak-info-grid { display: grid; gap: 18px; }
.rangak-info-grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rangak-info-card { min-height: 320px; padding: clamp(30px, 4vw, 52px); border: 1px solid var(--line); background: var(--surface); }
.rangak-info-card--accent { background: var(--sage-soft); }
.rangak-info-card__number { display: block; margin-bottom: 35px; color: var(--rose); font: 500 20px/1 DM Mono, monospace; direction: ltr; }
.rangak-info-card h2 { font-size: var(--rangak-h2-content); }
.rangak-about-detail { display: grid; grid-template-columns: minmax(240px, .7fr) minmax(0, 1.3fr); gap: clamp(32px, 6vw, 88px); padding: clamp(36px, 5vw, 64px) 0; border-block: 1px solid var(--line); }
.rangak-about-detail > header { align-self: start; }
.rangak-about-detail__copy { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.rangak-about-detail__copy p { margin: 0; padding-right: 22px; border-right: 2px solid var(--gold); font-size: 16px; }
.rangak-values { padding-top: clamp(35px, 5vw, 68px); border-top: 1px solid var(--line); }
.rangak-values > header { max-width: 760px; }
.rangak-values__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin-top: 38px; border: 1px solid var(--line); background: var(--line); }
.rangak-values__grid article { min-height: 210px; padding: 30px; background: var(--paper); }
.rangak-values__grid strong { font-size: 21px; }
.rangak-values__grid p { font-size: 15px; }

.rangak-info-hero--compact { grid-template-columns: minmax(0, 1.45fr) minmax(260px, .55fr); }
.rangak-contact-note { align-self: stretch; display: flex; flex-direction: column; justify-content: center; padding: 30px; border-right: 5px solid var(--gold); background: var(--surface); }
.rangak-contact-note strong { font-size: 17px; }
.rangak-contact-note p { font-size: 15px; }
.rangak-contact-layout { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.rangak-contact-panel,
.rangak-address-card { min-height: 430px; margin: 0; padding: clamp(30px, 4vw, 52px); border: 1px solid var(--line); background: var(--surface); font-style: normal; }
.rangak-address-card { background: var(--sage-soft); }
.rangak-contact-phones { display: grid; gap: 10px; margin-top: 28px; }
.rangak-contact-phones > a { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; padding: 12px 18px; border: 1px solid var(--line); text-decoration: none; transition: border-color .2s ease, transform .2s ease; }
.rangak-contact-phones > a:hover { border-color: var(--wine); transform: translateY(-2px); }
.rangak-contact-phones span { color: var(--muted); font-size: 14px; }
.rangak-contact-phones strong { font: 700 21px/1.4 Vazirmatn, sans-serif; }
.rangak-contact-hours { font-size: 14px !important; }
.rangak-contact-links { display: grid; gap: 8px; margin-top: 25px; }
.rangak-contact-link { display: flex; justify-content: space-between; gap: 20px; padding-top: 11px; border-top: 1px solid var(--line); text-decoration: none; }
.rangak-contact-link span { color: var(--muted); }
.rangak-address-card > p { max-width: 650px; }
.rangak-address-card > p + p { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 15px; border-top: 1px solid rgba(104,116,97,.28); }
.rangak-address-card > p + p span { color: var(--muted); font-size: 14px; }
.rangak-address-card > p + p strong { font-size: 17px; }
.rangak-address-card .text-link { width: max-content; margin-top: 27px; }
.rangak-address-card small { display: block; margin-top: 30px; color: var(--muted); font-size: 13px; line-height: 1.9; }

.rangak-terms-lead { display: flex; align-items: center; justify-content: space-between; gap: clamp(30px, 7vw, 110px); padding: clamp(32px, 5vw, 64px); background: var(--wine); color: #fff; }
.rangak-terms-lead > div { max-width: 850px; }
.rangak-terms-lead .rangak-info-kicker { color: #ecd8cf; }
.rangak-terms-lead p { color: rgba(255,255,255,.88); }
.rangak-terms-lead__badge { flex: 0 0 150px; padding: 22px; border: 1px solid rgba(255,255,255,.27); color: rgba(255,255,255,.78); font-size: 13px; text-align: center; }
.rangak-terms-lead__badge > span,
.rangak-terms-lead__badge strong { display: block; }
.rangak-terms-lead__badge strong { margin-top: 3px; color: #fff; font-size: 18px; }
.rangak-cancellation-flow > header { max-width: 800px; }
.rangak-cancellation-flow__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin-top: 34px; border: 1px solid var(--line); background: var(--line); }
.rangak-cancellation-flow__grid article { min-height: 260px; padding: 30px; background: var(--surface); }
.rangak-cancellation-flow__grid article > span { width: 42px; height: 42px; display: grid; place-items: center; margin-bottom: 33px; border: 1px solid var(--line); border-radius: 50%; color: var(--wine); font-weight: 800; }
.rangak-cancellation-flow__grid strong { display: block; font-size: 19px; }
.rangak-cancellation-flow__grid p { font-size: 15px; }
.rangak-cancellation-flow__grid .is-locked { background: #efe3df; }
.rangak-terms-sections { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 55px; border-top: 1px solid var(--line); }
.rangak-terms-sections section { padding: 36px 0 38px; border-bottom: 1px solid var(--line); }
.rangak-terms-sections h2 { font-size: var(--rangak-h2-content); }
.rangak-terms-sections p { font-size: 15px; }
.rangak-terms-sections a { color: var(--wine); font-weight: 700; text-underline-offset: 4px; }
.rangak-terms-contact { display: flex; align-items: center; justify-content: space-between; gap: 35px; padding: clamp(32px, 5vw, 60px); border: 1px solid var(--line); background: var(--sage-soft); }
.rangak-terms-contact > div { max-width: 800px; }
.rangak-terms-contact .button { flex: 0 0 auto; text-decoration: none; }
.post-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.post-card { padding: 25px; background: var(--surface); border: 1px solid var(--line); }
.post-card h2 { margin: 10px 0 14px; font-size: var(--rangak-h2-content); line-height: 1.5; letter-spacing: -.7px; }
.post-card h2 a { text-decoration: none; }

/* Editorial hub and decision guides */
.home-guides { background: var(--paper); }
.guides-hero {
	display: grid;
	grid-template-columns: 1.2fr .8fr;
	align-items: end;
	gap: clamp(40px, 8vw, 120px);
	padding-top: clamp(58px, 7vw, 94px);
	padding-bottom: clamp(56px, 7vw, 90px);
	background: radial-gradient(circle at 12% 80%, var(--rose-soft), transparent 30%);
}
.guides-hero h1, .article-header h1 { margin: 16px 0 0; font-size: clamp(40px, 4.8vw, 62px); line-height: 1.2; letter-spacing: -2.8px; }
.guides-hero > p { max-width: 510px; margin: 0; color: var(--muted); font-size: 18px; line-height: 2.1; }
.guide-feature { display: grid; grid-template-columns: minmax(280px, .82fr) minmax(0, 1.2fr) .28fr; align-items: center; gap: clamp(28px, 5vw, 70px); background: var(--sage-soft); border-block: 1px solid var(--line); }
.guide-feature__media { display: block; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.guide-feature__media img { width: 100%; aspect-ratio: 3 / 2; display: block; object-fit: cover; }
.guide-feature__number { color: var(--sage); font-size: clamp(90px, 15vw, 210px); font-weight: 800; line-height: 1; opacity: .22; }
.guide-feature__body h2 { max-width: 760px; margin: 14px 0; font-size: var(--rangak-h2-display); line-height: 1.42; letter-spacing: -1.3px; }
.guide-feature__body h2 a { text-decoration: none; }
.guide-feature__body > p:not(.eyebrow) { max-width: 720px; margin: 0 0 25px; color: #55524c; font-size: 17px; line-height: 2; }
.guide-feature__meta { align-self: stretch; display: flex; flex-direction: column; justify-content: space-between; padding-block: 12px; border-right: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.guide-feature__meta span { writing-mode: vertical-rl; }
.guide-feature__meta b { color: var(--sage); font-size: 15px; }
.guide-library { background: var(--surface); }
.guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.guide-card { position: relative; min-height: 430px; display: flex; flex-direction: column; justify-content: space-between; padding: 20px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.guide-card--1 { background: var(--rose-soft); }
.guide-card--2 { background: var(--sage-soft); }
.guide-card--3 { background: #efe4cf; }
.guide-card__number { position: absolute; left: 18px; top: 2px; color: var(--ink); font-size: 90px; font-weight: 800; line-height: 1; opacity: .07; }
.guide-card__media { position: relative; z-index: 1; display: block; margin-bottom: 22px; overflow: hidden; border: 1px solid rgba(52,47,43,.12); border-radius: 14px; background: var(--surface); }
.guide-card__media img { width: 100%; aspect-ratio: 3 / 2; display: block; object-fit: cover; transition: transform .35s ease; }
.guide-card__media:hover img { transform: scale(1.025); }
.guide-card > div { position: relative; z-index: 1; }
.guide-card > div > p { margin: 0 0 38px; color: #55524c; font-size: 14px; }
.guide-card h3 { margin: 0 0 14px; font-size: clamp(21px, 2vw, 28px); line-height: 1.55; letter-spacing: -.6px; }
.guide-card h3 a { text-decoration: none; }
.guide-card > div > div { color: #55524c; font-size: 15px; line-height: 1.95; }
.guide-card__link { position: relative; z-index: 2; width: 42px; height: 42px; display: grid; place-items: center; align-self: flex-end; margin-top: 22px; border: 1px solid currentColor; border-radius: 50%; font-size: 20px; text-decoration: none; }
.guide-card__link:hover { color: var(--surface); background: var(--ink); }
.guide-shop-cta, .article-product-cta { display: flex; align-items: center; justify-content: space-between; gap: 40px; background: var(--wine); color: #fff; }
.guide-shop-cta .eyebrow, .article-product-cta .eyebrow { color: #e2cbce; }
.guide-shop-cta h2, .article-product-cta h2 { margin: 12px 0; font-size: var(--rangak-h2-display); line-height: 1.38; letter-spacing: -1.4px; }
.guide-shop-cta p:not(.eyebrow), .article-product-cta p:not(.eyebrow) { max-width: 720px; margin: 0; color: #eadde0; font-size: 16px; line-height: 2; }

/* Dedicated 404 page */
.error-404-page { min-height: 70vh; }
.error-404-hero {
	display: grid;
	grid-template-columns: minmax(0, .94fr) minmax(420px, 1.06fr);
	align-items: center;
	gap: clamp(38px, 5vw, 72px);
	padding-top: clamp(40px, 4.5vw, 62px);
	padding-bottom: clamp(54px, 6vw, 78px);
	background:
		radial-gradient(circle at 83% 18%, rgba(238,219,213,.82), transparent 24%),
		radial-gradient(circle at 12% 90%, rgba(223,229,218,.88), transparent 27%);
}
.error-404-copy { grid-column: 1; grid-row: 1; min-width: 0; }
.error-404-copy h1 {
	margin: 0 0 16px;
	font-size: clamp(42px, 5vw, 64px);
	line-height: 1.2;
	letter-spacing: -2.8px;
}
.error-404-lead { max-width: 690px; margin: 0; color: #514e48; font-size: 18px; line-height: 2.1; }
.error-404-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 34px; }
.error-404-help { max-width: 670px; margin: 30px 0 0; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; line-height: 2; }
.error-404-help a { color: var(--wine); font-weight: 750; text-underline-offset: 4px; }
.error-404-visual {
	grid-column: 2;
	grid-row: 1;
	position: relative;
	min-height: 420px;
	overflow: hidden;
	border: 1px solid rgba(115,56,68,.17);
	border-radius: clamp(30px, 4vw, 58px);
	background: linear-gradient(145deg, rgba(255,253,249,.88), rgba(238,219,213,.62));
	box-shadow: 0 28px 70px rgba(58,43,38,.11);
	isolation: isolate;
}
.error-404-visual::before,
.error-404-visual::after {
	content: "";
	position: absolute;
	width: 170px;
	aspect-ratio: 1;
	border: 1px solid rgba(115,56,68,.16);
	border-radius: 50%;
	z-index: -1;
}
.error-404-visual::before { top: -54px; right: -38px; }
.error-404-visual::after { left: -74px; bottom: 34px; width: 220px; border-color: rgba(104,116,97,.2); }
.error-404-visual__code {
	position: absolute;
	top: 16px;
	left: 24px;
	color: rgba(115,56,68,.09);
	font: 800 clamp(145px, 18vw, 260px)/1 Manrope, sans-serif;
	letter-spacing: -18px;
}
.error-404-art { position: absolute; inset: 22px 3% 40px; width: 94%; height: calc(100% - 62px); overflow: visible; }
.error-404-art__trail { fill: none; stroke: rgba(115,56,68,.4); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 2 17; }
.error-404-art__trail-dot { fill: var(--wine); }
.error-404-art__spark path { fill: none; stroke: var(--gold); stroke-width: 6; stroke-linecap: round; }
.error-404-art__card { filter: drop-shadow(0 20px 25px rgba(50,39,35,.13)); }
.error-404-art__card rect { fill: #fffdf9; stroke: #d9d2c7; stroke-width: 3; }
.error-404-art__card-rule { fill: none; stroke: #c8c0b5; stroke-width: 6; stroke-linecap: round; }
.error-404-art__ring { fill: none; stroke: var(--gold); stroke-width: 7; }
.error-404-art__leaf { fill: none; stroke: var(--sage); stroke-width: 7; stroke-linecap: round; }
.error-404-art__envelope { filter: drop-shadow(0 23px 28px rgba(50,39,35,.16)); }
.error-404-art__envelope rect { fill: #b57670; stroke: #733844; stroke-width: 3; }
.error-404-art__envelope-fold { fill: none; stroke: rgba(255,253,249,.72); stroke-width: 4; stroke-linejoin: round; }
.error-404-art__seal { fill: #c6a266; stroke: #fff7ec; stroke-width: 5; }
.error-404-art__seal-mark { fill: #733844; }
.error-404-visual__caption {
	position: absolute;
	right: 28px;
	bottom: 23px;
	left: 28px;
	color: #615b53;
	font-size: 13px;
	font-weight: 650;
	text-align: center;
}
.error-404-guides { padding-top: clamp(54px, 5vw, 72px); background: var(--surface); border-top: 1px solid var(--line); }
.error-404-guides .section-heading h2 { max-width: 760px; font-size: var(--rangak-h2-display); line-height: 1.42; }
.error-404-guides .guide-card { min-height: 410px; }

.article-header { padding-top: clamp(52px, 6vw, 82px); padding-bottom: clamp(50px, 5.5vw, 76px); border-bottom: 1px solid var(--line); background: radial-gradient(circle at 12% 84%, var(--sage-soft), transparent 30%); }
.section.rangak-breadcrumb-wrap { padding-top: clamp(16px, 2vw, 22px); padding-bottom: 0; }
.rangak-breadcrumb-wrap + .content-page { padding-top: clamp(18px, 2vw, 28px); }
.rangak-breadcrumb-wrap + .commerce-page { padding-top: 8px; }
.rangak-breadcrumb-wrap + .guides-hub > .guides-hero,
.rangak-breadcrumb-wrap + .guide-article > .article-header { padding-top: clamp(18px, 2vw, 28px); }
.rangak-breadcrumb-row { display:flex; align-items:center; min-width:0; gap:10px; direction:rtl; }
.rangak-breadcrumb-row .rank-math-breadcrumb { flex:1 1 auto; min-width:0; }
.rangak-product-catalog-link { display:none; }
.rank-math-breadcrumb { color: var(--muted); font-size: 16px; line-height: 1.9; }
.rank-math-breadcrumb p { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; }
.rank-math-breadcrumb a { color: var(--text); text-decoration: none; transition: color .2s ease; }
.rank-math-breadcrumb a:hover { color: var(--accent); }
.rank-math-breadcrumb .separator { color: var(--muted); }
.rank-math-breadcrumb .last { color: var(--muted); }
.article-header h1 { width: 100%; max-width: none; font-size: clamp(40px, 4.8vw, 62px); }
.article-deck { width: 100%; max-width: none; margin: 27px 0; color: var(--muted); font-size: 19px; line-height: 2.05; }
.article-hero-media { width: min(100%, 920px); margin: 28px auto 22px; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); box-shadow: 0 16px 42px rgba(45,35,29,.07); }
.article-hero-media img { width: 100%; aspect-ratio: 3 / 2; display: block; object-fit: cover; }
.article-meta { display: flex; flex-wrap: wrap; gap: 14px 28px; color: var(--muted); font-size: 14px; }
.article-commerce-entry { padding-top: clamp(26px, 3vw, 38px); padding-bottom: clamp(30px, 3.5vw, 46px); border-bottom: 1px solid var(--line); background: var(--surface); }
.article-commerce-entry .article-shop-jump { margin: 0 0 18px; }
.article-commerce-entry .article-product-showcase { margin: 0; }
.article-layout { display: grid; grid-template-columns: minmax(190px, .34fr) minmax(0, 1fr); align-items: start; gap: clamp(40px, 6vw, 86px); padding-top: clamp(48px, 5vw, 64px); }
@media (min-width: 821px) {
	.article-header { padding-bottom: clamp(22px, 1.8vw, 28px); }
	.article-layout { padding-top: clamp(28px, 2.4vw, 36px); }
}
.article-toc { position: sticky; top: 28px; padding: 24px 0; border-block: 1px solid var(--line); }
.article-toc strong { display: block; margin-bottom: 14px; font-size: 16px; }
.article-toc nav { display: grid; }
.article-toc a { padding: 8px 0; color: var(--muted); font-size: 14px; line-height: 1.65; text-decoration: none; }
.article-toc a:hover { color: var(--wine); }
.article-content { width: 100%; min-width: 0; max-width: none; font-size: 17px; line-height: 2.15; }
.article-content > :first-child { margin-top: 0; }
.article-content p { margin: 0 0 23px; }
.article-content .article-lead { color: var(--ink); font-size: 20px; line-height: 2.05; }
.article-content h2 { scroll-margin-top: 30px; margin: 50px 0 18px; font-size: var(--rangak-h2-content); line-height: 1.5; letter-spacing: -.9px; }
.article-content h3 { margin: 42px 0 14px; font-size: 23px; line-height: 1.55; }
.article-content a { color: var(--wine); font-weight: 700; text-underline-offset: 4px; }
.article-answer, .article-note { margin: 34px 0 45px; padding: 25px 28px; border-right: 4px solid var(--wine); background: var(--rose-soft); }
.article-note { border-color: var(--sage); background: var(--sage-soft); }
.article-answer strong, .article-note strong { display: block; margin-bottom: 6px; font-size: 18px; }
.article-answer p, .article-note p { margin: 0; }
.article-checklist, .article-steps { display: grid; gap: 12px; margin: 20px 0 34px; padding: 0; list-style: none; }
.article-checklist li, .article-steps li { position: relative; padding: 14px 48px 14px 16px; border: 1px solid var(--line); background: var(--surface); }
.article-checklist li::before { content: "✓"; position: absolute; right: 17px; top: 13px; color: var(--sage); font-weight: 800; }
.article-steps { counter-reset: guide-step; }
.article-steps li { counter-increment: guide-step; }
.article-steps li::before { content: counter(guide-step); position: absolute; right: 15px; top: 15px; width: 23px; height: 23px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--wine); font-size: 13px; line-height: 1; }
.article-table-wrap { width: 100%; min-width: 0; max-width: 100%; margin: 25px 0 36px; overflow-x: auto; border: 1px solid var(--line); background: var(--surface); }
.article-content table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 15px; line-height: 1.8; }
.article-content th, .article-content td { padding: 15px 17px; text-align: right; vertical-align: top; border-bottom: 1px solid var(--line); }
.article-content th { background: var(--sage-soft); font-size: 15px; }
.article-content tr:last-child td { border-bottom: 0; }
.article-preset-showcase { margin: 42px 0 48px; padding: 25px; border: 1px solid var(--line); background: var(--canvas); }
.article-preset-showcase > header { margin-bottom: 20px; }
.article-preset-showcase > header h3 { margin: 6px 0 8px; font-size: 22px; }
.article-preset-showcase > header p:last-child { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.95; }
.article-preset-showcase__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.article-preset-showcase figure { min-width: 0; margin: 0; padding: 10px; border: 1px solid var(--line); background: var(--surface); }
.article-preset-showcase figure img { width: 100%; height: 190px; display: block; object-fit: contain; background: #fff; }
.article-preset-showcase figcaption { margin-top: 9px; color: var(--muted); font-size: 12px; line-height: 1.7; text-align: center; }
.article-preset-showcase--title figure img { height: 110px; }
.article-formula { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; margin: 26px 0 34px; padding: 24px; border: 1px solid var(--line); background: var(--surface); }
.article-formula span { padding: 10px 14px; background: var(--sage-soft); font-weight: 700; }
.article-formula b { color: var(--wine); font-size: 22px; }
.article-shop-jump {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 24px;
	margin: 34px 0 46px;
	padding: 24px 26px;
	border: 1px solid rgba(115,56,68,.23);
	background: linear-gradient(135deg, var(--rose-soft), var(--surface));
}
.article-shop-jump > div { min-width: 0; display: grid; gap: 4px; }
.article-shop-jump > div > span { color: var(--wine); font-size: 13px; font-weight: 800; }
.article-shop-jump strong { font-size: 20px; line-height: 1.7; }
.article-content .article-shop-jump .button { color: #fff; text-decoration: none; white-space: nowrap; }
.article-product-showcase { margin: 52px 0; padding: 30px; border: 1px solid var(--line); background: var(--canvas); }
.article-product-showcase > header { margin-bottom: 24px; }
.article-product-showcase > header h2 { margin: 8px 0 10px; }
.article-product-showcase > header > p:last-child { margin: 0; color: var(--muted); }
.article-product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.article-shop-jump--catalog { position: relative; margin-top: 18px; overflow: hidden; }
.article-shop-jump--catalog::after {
	content: "";
	position: absolute;
	top: -65%;
	bottom: -65%;
	left: -14%;
	width: 18%;
	transform: rotate(18deg);
	background: linear-gradient(90deg, transparent, rgba(255,255,255,.48), transparent);
	pointer-events: none;
	animation: article-shop-shine 5.5s ease-in-out infinite;
}
.article-shop-jump--catalog > div,
.article-shop-jump--catalog .button { position: relative; z-index: 1; }
.article-shop-jump--catalog > div > strong { font-size: 18px; }
@keyframes article-shop-shine {
	0%, 55% { left: -18%; opacity: 0; }
	65% { opacity: 1; }
	82%, 100% { left: 112%; opacity: 0; }
}
.article-category-path { margin: 44px 0; padding: 24px 26px; border: 1px solid var(--line); background: var(--sage-soft); }
.article-category-path > div { display: grid; gap: 4px; margin-bottom: 16px; }
.article-category-path > div > span { color: var(--sage); font-size: 13px; font-weight: 800; }
.article-category-path > div > strong { font-size: 19px; line-height: 1.7; }
.article-category-path nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.article-category-path nav a { min-width: 0; display: grid; gap: 3px; padding: 15px 16px; border: 1px solid var(--line); color: var(--ink); background: var(--surface); text-decoration: none; }
.article-category-path nav a:hover { border-color: var(--wine); }
.article-category-path nav a > span { font-size: 15px; font-weight: 800; }
.article-category-path nav small { color: var(--muted); font-size: 12px; }
.article-category-path nav .is-all { color: #fff; background: var(--ink); }
.article-category-path nav .is-all small { color: rgba(255,255,255,.72); }
.related-guides { padding-top: 58px; background: var(--surface); }
.commerce-guides { grid-column: 1 / -1; margin-top: 54px; padding-top: 36px; border-top: 1px solid var(--line); }
.commerce-guides > header { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 12px 30px; margin-bottom: 24px; }
.commerce-guides > header .eyebrow { grid-column: 1 / -1; }
.commerce-guides > header h2 { margin: 0; font-size: var(--rangak-h2-content); letter-spacing: -.9px; }
.commerce-guides > header > a { min-height: 44px; display: inline-flex; align-items: center; gap: 11px; border-bottom: 1px solid currentColor; font-size: 14px; font-weight: 750; text-decoration: none; }
.commerce-guides > header > a span { color: var(--wine); }
.commerce-guides > div { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.commerce-guides > div > a { position: relative; min-width: 0; min-height: 190px; display: flex; flex-direction: column; padding: 24px 24px 54px; background: var(--surface); text-decoration: none; }
.commerce-guides > div strong { font-size: 18px; line-height: 1.65; }
.commerce-guides > div span { margin-top: 10px; color: var(--muted); font-size: 14px; line-height: 1.85; }
.commerce-guides > div b { position: absolute; left: 22px; bottom: 19px; color: var(--wine); font-size: 20px; }
.commerce-guides > div > a:hover { background: var(--sage-soft); }

/* WooCommerce surfaces */
.woocommerce .woocommerce-breadcrumb { margin: 0 0 28px; color: #817c74; font-size: 13px; }
.woocommerce .woocommerce-breadcrumb a { color: #55514b; text-decoration: none; }
.commerce-page > .page-title { margin: 0 0 24px; font-size: clamp(39px, 5vw, 64px); line-height: 1.25; letter-spacing: -3px; }
body.term-wedding-cards .commerce-page > .page-title { font-size: clamp(30px, 3.2vw, 44px); line-height: 1.25; letter-spacing: -1.8px; white-space: nowrap; }
.woocommerce .woocommerce-result-count, .woocommerce .woocommerce-ordering { margin-bottom: 24px; font-size: 14px; }
.woocommerce .woocommerce-ordering select { min-height: 43px; padding: 8px 13px; border: 1px solid var(--line); background: var(--surface); }
.rangak-catalog-toolbar { clear: both; display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 0 0 28px; padding: 13px 16px; border: 1px solid var(--line); background: var(--surface); }
.rangak-catalog-sort { min-width: 0; display: flex; align-items: center; justify-content: flex-end; gap: 7px; }
.rangak-catalog-filter { min-width: 0; display: flex; align-items: center; gap: 7px; }
.rangak-catalog-sort__label { margin-left: 4px; color: var(--muted); font-size: 14px; }
.rangak-catalog-sort__option { min-height: 40px; display: inline-flex; align-items: center; justify-content: center; padding: 7px 14px; border: 1px solid var(--line); color: var(--ink); background: var(--canvas); font-size: 14px; font-weight: 700; text-decoration: none; transition: border-color .18s ease, background-color .18s ease, color .18s ease; }
.rangak-catalog-sort__option:hover { border-color: var(--wine); color: var(--wine); }
.rangak-catalog-sort__option.is-active { border-color: var(--ink); color: #fff; background: var(--ink); }
.woocommerce .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.product-card__media.rangak-card-gallery { position: relative; z-index: 2; }
.product-card__media .rangak-product-gallery__stage { aspect-ratio: 1 / 1; border: 0; border-radius: 0; background: #e7e0d6; box-shadow: none; }
.product-card__media .rangak-product-gallery__slide { padding: 0; }
.product-card__media .rangak-product-gallery__open,
.product-card__single-image { position: relative; display: block; width: 100%; aspect-ratio: 1 / 1; overflow: hidden; cursor: pointer; border-radius: 0; }
.product-card__media .rangak-product-gallery__open img,
.product-card__single-image img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; max-width: 100%; max-height: 100%; object-fit: contain !important; background: transparent; }
.product-card__media .rangak-product-gallery__arrow { width: 34px; height: 34px; font-size: 17px; }
.product-card__media .rangak-product-gallery__arrow--next { right: 9px; }
.product-card__media .rangak-product-gallery__arrow--prev { left: 9px; }
.product-card__media .rangak-product-gallery__status { top: 9px; right: 9px; min-height: 26px; padding: 2px 8px; }
.product-card__media .rangak-product-gallery__count { font-size: 11px; }
.rangak-product-gallery__stage::after { content: ""; position: absolute; z-index: 4; top: 50%; left: 50%; width: 28px; height: 28px; margin: -14px 0 0 -14px; border: 3px solid rgba(255,255,255,.55); border-top-color: var(--wine); border-radius: 50%; opacity: 0; visibility: hidden; pointer-events: none; animation: rangak-gallery-spin .7s linear infinite; transition: opacity .15s ease; }
.rangak-product-gallery__stage.is-loading::after { opacity: 1; visibility: visible; }
.rangak-catalog-loader { clear: both; min-height: 78px; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 9px; margin: 40px 0 0; }
.rangak-catalog-loader__button { min-width: 250px; min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 11px 24px; border: 1px solid var(--ink); color: #fff; background: var(--ink); font: 700 15px/1.6 Vazirmatn, sans-serif; cursor: pointer; transition: transform .18s ease, background-color .18s ease, border-color .18s ease; }
.rangak-catalog-loader__button:hover { transform: translateY(-1px); border-color: var(--wine); background: var(--wine); }
.rangak-catalog-loader__button:disabled { cursor: wait; opacity: .82; transform: none; }
.rangak-catalog-loader__button[hidden] { display: none; }
.rangak-catalog-loader__spinner { width: 18px; height: 18px; display: none; flex: 0 0 18px; border: 2px solid rgba(255,255,255,.36); border-top-color: #fff; border-radius: 50%; animation: rangak-catalog-spin .75s linear infinite; }
.rangak-catalog-loader__button.is-loading .rangak-catalog-loader__spinner { display: block; }
.rangak-catalog-loader__status { min-height: 24px; margin: 0; color: var(--muted); font-size: 14px; }
.rangak-catalog-loader.is-complete { min-height: 44px; }
@keyframes rangak-catalog-spin { to { transform: rotate(360deg); } }
.rangak-catalog-seo-copy { clear: both; margin-top: 64px; padding: 42px clamp(20px, 4vw, 52px); border-top: 1px solid var(--line); background: var(--surface); }
.rangak-catalog-seo-copy > h2 { max-width: 880px; margin: 0 0 18px; font-size: var(--rangak-h2-content); letter-spacing: -.9px; }
.rangak-catalog-seo-copy .term-description { max-width: 920px; color: var(--muted); font-size: 15px; line-height: 2; }
.rangak-catalog-seo-copy .term-description p { margin: 0 0 16px; }
.rangak-catalog-seo-copy .term-description h2 { margin: 30px 0 10px; color: var(--ink); font-size: clamp(20px, 2.2vw, 27px); line-height: 1.6; }
.rangak-catalog-seo-copy .term-description ul { margin: 0 0 18px; padding-right: 22px; }
.rangak-catalog-seo-copy .term-description a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 4px; }
.woocommerce div.product { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(390px, .96fr); column-gap: clamp(34px,5vw,72px); row-gap: 18px; align-items: start; }
.woocommerce div.product div.images, .woocommerce div.product div.summary { width: auto; float: none; }
.woocommerce div.product .product_title { margin: 8px 0 15px; font-size: clamp(28px,3vw,41px); line-height: 1.38; letter-spacing: -1.5px; }
.woocommerce div.product p.price { margin: 22px 0 16px; color: var(--wine); font-size: 28px; font-weight: 800; }
.woocommerce div.product .woocommerce-product-details__short-description { color: #5f5952; font-size: 16px; line-height: 2; }
.woocommerce div.product .product_meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; line-height: 1.9; }
.woocommerce div.product .product_meta a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 4px; }
.woocommerce div.product form.cart { display: flex; gap: 10px; flex-wrap: wrap; padding-top: 20px; border-top: 1px solid var(--line); }
.woocommerce .quantity .qty { min-height: 50px; border: 1px solid var(--line); background: var(--surface); }
.woocommerce button.button.alt, .woocommerce a.button.alt, .woocommerce .button:not(.product-card__link), .wc-block-components-button { border-radius: 0 !important; background: var(--ink) !important; color: #fff !important; min-height: 48px; }
.woocommerce div.product .woocommerce-tabs { grid-column: 1 / -1; }
.woocommerce div.product .woocommerce-tabs ul.tabs { display: flex; gap: 12px; margin: 0 0 24px; padding: 0; border-bottom: 1px solid var(--line); list-style: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs::before { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { border: 0; background: transparent; border-radius: 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs li::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none; }
.woocommerce div.product .woocommerce-product-attributes { width: 100%; border-collapse: collapse; }
.woocommerce div.product .woocommerce-product-attributes th,
.woocommerce div.product .woocommerce-product-attributes td { padding: 12px 14px; border: 1px solid var(--line); text-align: right; vertical-align: top; }
.woocommerce div.product .woocommerce-product-attributes th { width: 29%; background: #eee8de; }
.woocommerce div.product .woocommerce-product-attributes p { margin: 0; }
.woocommerce div.product .woocommerce-Tabs-panel table { width: 100%; border-collapse: collapse; }
.woocommerce div.product .woocommerce-Tabs-panel table th,
.woocommerce div.product .woocommerce-Tabs-panel table td { padding: 12px 14px; border: 1px solid var(--line); text-align: right; vertical-align: top; }
.woocommerce-message, .woocommerce-info, .woocommerce-error { border-top-color: var(--wine); background: #eee8de; color: var(--ink); }
.woocommerce a.remove { color: var(--wine) !important; }
/* Product gallery: full image containment, touch navigation and an on-demand fullscreen viewer. */
.rangak-product-gallery { position: sticky; top: 24px; min-width: 0; margin: 0 !important; }
.rangak-product-gallery__stage { position: relative; aspect-ratio: 1 / 1; display: grid; place-items: center; overflow: hidden; border: 1px solid #c9bfb2; border-radius: 22px; background: linear-gradient(145deg,#fffdf9,#f1ebe3); box-shadow: 0 22px 60px rgba(35,28,22,.11), inset 0 0 0 8px rgba(255,255,255,.42); }
.rangak-product-gallery__slide { width: 100%; height: 100%; box-sizing: border-box; display: grid; place-items: center; margin: 0; padding: 18px; overflow: hidden; }
.rangak-product-gallery__slide[hidden] { display: none !important; }
.rangak-product-gallery__open { position: relative; width: 100%; height: 100%; display: grid; place-items: center; min-width: 0; margin: 0; padding: 0; overflow: hidden; border: 0; border-radius: 13px; outline-offset: 3px; color: inherit; background: transparent; cursor: zoom-in; -webkit-tap-highlight-color: transparent; }
.rangak-product-gallery__open:focus-visible,
.rangak-product-gallery__thumbs button:focus-visible,
.rangak-product-gallery__arrow:focus-visible { outline: 3px solid var(--wine); outline-offset: 3px; }
.woocommerce div.product .rangak-product-gallery__open img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; max-width: 100%; max-height: 100%; object-fit: contain; background: transparent; }
.rangak-product-gallery__expand { position: absolute; z-index: 4; left: 12px; bottom: 12px; width: 42px; height: 42px; display: grid; place-items: center; padding: 0; border: 1px solid rgba(255,255,255,.48); border-radius: 50%; color: #fff; background: rgba(24,22,19,.78); box-shadow: 0 7px 22px rgba(18,16,14,.16); backdrop-filter: blur(9px); }
.rangak-product-gallery__expand svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.rangak-product-gallery__arrow { position: absolute; z-index: 2; top: 50%; width: 46px; height: 46px; display: grid; place-items: center; padding: 0; transform: translateY(-50%); border: 0; border-radius: 50%; background: rgba(255,255,255,.92); color: #27231f; box-shadow: 0 8px 24px rgba(24,20,17,.16); font: 700 22px/1 Vazirmatn, sans-serif; cursor: pointer; transition: transform .18s ease, background-color .18s ease; }
.rangak-product-gallery__arrow:hover { transform: translateY(-50%) scale(1.06); background: #fff; }
.rangak-product-gallery__arrow--next { right: 15px; }
.rangak-product-gallery__arrow--prev { left: 15px; }
.rangak-product-gallery__status { position: absolute; z-index: 3; top: 12px; right: 12px; min-height: 32px; display: flex; align-items: center; justify-content: center; margin: 0; padding: 4px 11px; border: 1px solid rgba(255,255,255,.54); border-radius: 999px; color: #fff; background: rgba(24,22,19,.76); box-shadow: 0 7px 20px rgba(18,16,14,.14); backdrop-filter: blur(9px); }
.rangak-product-gallery__count { font-size: 13px; direction: rtl; unicode-bidi: isolate; }
.rangak-product-gallery__count b { color: inherit; }
.rangak-product-gallery__thumbs { position: absolute; z-index: 3; right: 50%; bottom: 12px; left: auto; width: max-content; max-width: calc(100% - 140px); display: flex; justify-content: safe center; gap: 7px; margin: 0; padding: 5px; overflow-x: auto; transform: translateX(50%); border: 1px solid rgba(255,255,255,.58); border-radius: 14px; background: rgba(255,253,249,.82); box-shadow: 0 9px 28px rgba(23,19,16,.16); scrollbar-width: thin; scroll-snap-type: x proximity; backdrop-filter: blur(11px); }
.rangak-product-gallery__thumbs button { width: 64px; height: 64px; flex: 0 0 64px; padding: 0; overflow: hidden; scroll-snap-align: start; border: 1px solid #d2c8bc; border-radius: 9px; outline: 0; background: #f7f3ed; opacity: .78; cursor: pointer; transition: opacity .18s ease, border-color .18s ease, transform .18s ease; }
.rangak-product-gallery__thumbs button:hover { opacity: .92; transform: translateY(-1px); }
.rangak-product-gallery__thumbs button.is-active { border: 2px solid var(--wine); opacity: 1; box-shadow: 0 5px 16px rgba(68,44,39,.12); }
.rangak-product-gallery__thumbs img { display: block; width: 100%; height: 100%; object-fit: cover; }
.rangak-gallery-order-prompt { display: none; align-items: center; justify-content: space-between; gap: 18px; margin-top: 14px; padding: 13px 14px 13px 13px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.rangak-order-entry-price { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.rangak-order-entry-price > small { color: var(--muted); font-size: 11px; line-height: 1.55; }
.rangak-order-entry-price__values { min-width: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 5px 10px; direction: rtl; }
.rangak-order-entry-price__values del { color: var(--muted); font-size: 12px; line-height: 1.55; text-decoration-color: var(--wine); text-decoration-thickness: 1.5px; white-space: nowrap; }
.rangak-order-entry-price__values strong { color: var(--wine); font-size: 18px; line-height: 1.55; white-space: nowrap; }
.rangak-gallery-order-prompt .button { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; flex: 0 0 auto; margin: 0; padding: 8px 17px; border: 1px solid var(--wine); border-radius: 10px !important; color: #fff !important; background: var(--wine) !important; font-size: 14px; font-weight: 800; text-decoration: none; }
.rangak-mobile-order-bar { display: none; }
#rangak-order-wizard { scroll-margin-top: 18px; }
#rangak-order-wizard.is-order-entry-highlighted { animation: rangak-order-entry-highlight 1s ease; }
@keyframes rangak-order-entry-highlight { 0%,100% { box-shadow: none; } 35% { box-shadow: 0 0 0 4px rgba(115,56,68,.18); } }
html.rangak-gallery-is-open,
body.rangak-gallery-is-open { overflow: hidden; overscroll-behavior: none; }
.rangak-gallery-lightbox[hidden] { display: none !important; }
.rangak-gallery-lightbox { position: fixed; z-index: 2147483000; inset: 0; width: 100%; height: 100vh; height: 100dvh; min-height: 0; display: grid; place-items: stretch; margin: 0; padding: 0; overflow: hidden; direction: rtl; isolation: isolate; overscroll-behavior: contain; }
.rangak-gallery-lightbox__backdrop { position: absolute; inset: 0; background: rgba(8,10,12,.96); backdrop-filter: blur(12px); }
.rangak-gallery-lightbox__panel { position: relative; z-index: 1; width: 100%; max-width: none; height: 100%; min-height: 0; display: grid; grid-template-rows: minmax(0,1fr) auto; padding: max(8px, env(safe-area-inset-top)) max(8px, env(safe-area-inset-right)) max(8px, env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left)); }
.rangak-gallery-lightbox__stage { position: relative; width: 100%; min-width: 0; min-height: 0; display: grid; place-items: center; padding: 58px 76px 10px; overflow: hidden; touch-action: pan-y pinch-zoom; }
.rangak-gallery-lightbox__stage img { width: auto !important; height: auto !important; max-width: calc(100vw - 160px) !important; max-height: calc(100vh - 140px) !important; max-height: calc(100dvh - 140px) !important; display: block; object-fit: contain; }
.rangak-gallery-lightbox__stage::after { content: ""; position: absolute; top: 50%; left: 50%; width: 34px; height: 34px; margin: -17px 0 0 -17px; border: 3px solid rgba(255,255,255,.25); border-top-color: #fff; border-radius: 50%; opacity: 0; visibility: hidden; animation: rangak-gallery-spin .7s linear infinite; transition: opacity .15s ease; }
.rangak-gallery-lightbox__stage.is-loading::after { opacity: 1; visibility: visible; }
@keyframes rangak-gallery-spin { to { transform: rotate(360deg); } }
.rangak-gallery-lightbox__close,
.rangak-gallery-lightbox__arrow { display: grid; place-items: center; margin: 0; padding: 0; border: 1px solid rgba(255,255,255,.28); color: #fff; background: rgba(28,31,35,.8); box-shadow: 0 8px 30px rgba(0,0,0,.3); cursor: pointer; backdrop-filter: blur(9px); }
.rangak-gallery-lightbox__close { position: absolute; z-index: 3; top: max(14px, env(safe-area-inset-top)); left: max(14px, env(safe-area-inset-left)); width: 48px; height: 48px; border-radius: 50%; }
.rangak-gallery-lightbox__close svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.rangak-gallery-lightbox__arrow { position: absolute; z-index: 2; top: 50%; width: 52px; height: 52px; transform: translateY(-50%); border-radius: 50%; font: 700 24px/1 Vazirmatn, sans-serif; }
.rangak-gallery-lightbox__arrow:hover,
.rangak-gallery-lightbox__close:hover { border-color: rgba(255,255,255,.62); background: rgba(73,79,86,.88); }
.rangak-gallery-lightbox__arrow:focus-visible,
.rangak-gallery-lightbox__close:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.rangak-gallery-lightbox__arrow--next { right: max(18px, env(safe-area-inset-right)); }
.rangak-gallery-lightbox__arrow--prev { left: max(18px, env(safe-area-inset-left)); }
.rangak-gallery-lightbox__footer { min-height: 58px; display: flex; align-items: center; justify-content: center; gap: 18px; padding: 8px 12px max(8px, env(safe-area-inset-bottom)); color: #fff; font-size: 15px; }
.rangak-gallery-lightbox__footer span { direction: rtl; unicode-bidi: isolate; font-weight: 750; }
.rangak-gallery-lightbox__footer b { color: inherit; }
.rangak-gallery-lightbox__footer small { color: #c8cdd2; font-size: 13px; }
.rangak-product-assurance { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); margin: 23px 0 0; border: 1px solid var(--line); background: var(--surface); }
.rangak-product-assurance > div { min-width: 0; padding: 14px 13px; border-left: 1px solid var(--line); }
.rangak-product-assurance > div:last-child { border-left: 0; }
.rangak-product-assurance span { display: block; margin-bottom: 5px; color: var(--muted); font-size: 12px; }
.rangak-product-assurance strong { display: block; font-size: 13px; line-height: 1.7; }
/* Keep editorial/product copy visually separate from the purchase flow. The
 * fixed CSS gap is present from first paint, so it does not introduce a CLS
 * jump while the wizard changes between steps. */
.woocommerce div.product .woocommerce-tabs { margin-top: clamp(150px, 18vh, 240px); padding: clamp(25px,4vw,48px); border: 1px solid var(--line); background: var(--surface); }
.woocommerce div.product .woocommerce-tabs .panel { width: 100%; max-width: none; margin: 0; color: #514c46; font-size: 16px; line-height: 2; }
.woocommerce div.product .woocommerce-tabs .panel > h2:first-child { margin-top: 0; color: var(--ink); font-size: var(--rangak-h2-content); }
.rangak-product-footer-meta { grid-column:1 / -1; display:flex; flex-wrap:wrap; align-items:center; gap:12px 30px; margin:0; padding:18px 22px; border:1px solid var(--line); background:var(--surface); color:var(--ink); }
.rangak-product-footer-meta__item { min-width:0; display:flex; align-items:baseline; gap:8px; font-size:14px; line-height:1.9; }
.rangak-product-footer-meta__item--links { flex:1 1 360px; }
.rangak-product-footer-meta__item > span { flex:0 0 auto; color:var(--muted); font-size:13px; font-weight:650; }
.rangak-product-footer-meta__item > strong { color:var(--wine); font-size:15px; }
.rangak-product-footer-meta__item nav { min-width:0; color:var(--muted); }
.rangak-product-footer-meta__item a { color:var(--ink); font-weight:700; text-decoration-thickness:1px; text-underline-offset:4px; }
.rangak-product-footer-meta__item a:hover { color:var(--wine); }
.woocommerce .related.products { grid-column: 1 / -1; padding-top: 35px; }
.woocommerce .related.products > h2 { margin: 0 0 24px; font-size: var(--rangak-h2-content); }
.rangak-related-catalog-cta {
	position: relative;
	display: grid;
	grid-column: 1 / -1;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 24px;
	margin-top: 18px;
	padding: 24px 26px;
	overflow: hidden;
	border: 1px solid rgba(115,56,68,.23);
	color: var(--ink);
	background: linear-gradient(135deg, var(--rose-soft), var(--surface));
	box-shadow: 0 10px 24px rgba(45,35,29,.06);
	text-decoration: none;
	transition: border-color .2s ease, box-shadow .2s ease;
}
.rangak-related-catalog-cta::after {
	content: "";
	position: absolute;
	top: -65%;
	bottom: -65%;
	left: -14%;
	width: 18%;
	transform: rotate(18deg);
	background: linear-gradient(90deg, transparent, rgba(255,255,255,.48), transparent);
	pointer-events: none;
	animation: article-shop-shine 5.5s ease-in-out infinite;
}
.rangak-related-catalog-cta > div,
.rangak-related-catalog-cta .button { position: relative; z-index: 1; }
.rangak-related-catalog-cta > div { min-width: 0; display: grid; gap: 4px; }
.rangak-related-catalog-cta > div > span { color: var(--wine); font-size: 13px; font-weight: 800; line-height: 1.6; }
.rangak-related-catalog-cta > div > strong { color: var(--ink); font-size: 20px; line-height: 1.7; }
.rangak-related-catalog-cta:hover { border-color: var(--wine); box-shadow: 0 14px 30px rgba(45,35,29,.1); }
.rangak-related-catalog-cta .button { color: #fff; text-decoration: none; white-space: nowrap; pointer-events: none; }
.home-category-products { padding-top: 85px; padding-bottom: 85px; }
.home-category-products + .home-category-products { border-top: 1px solid var(--line); }

@media (min-width: 1101px) {
	.woocommerce .product-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
	.rangak-card-product .related.products > .product-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	}
	.rangak-card-product .related.products > .product-grid > .product-card:nth-child(n+4) {
		display: none;
	}
}

/* Cookie-based favorites and compact comparison. */
.rangak-favorites-page { min-height: 65vh; }
.rangak-favorites-hero { width: 100%; max-width: none; margin-bottom: 58px; }
.rangak-favorites-hero h1 { width: 100%; max-width: none; margin: 12px 0 20px; font-size: clamp(39px, 5.3vw, 68px); line-height: 1.25; letter-spacing: -3px; }
.rangak-favorites-hero > p:last-child { width: 100%; max-width: none; margin: 0; color: var(--muted); font-size: 17px; line-height: 2; }
.rangak-favorites-empty { max-width: 780px; margin-inline: auto; padding: clamp(38px,7vw,76px); border: 1px solid var(--line); background: var(--surface); text-align: center; }
.rangak-favorites-empty > span { display: block; color: var(--wine); font: 300 72px/1 Vazirmatn, sans-serif; }
.rangak-favorites-empty h2 { margin: 15px 0 10px; font-size: var(--rangak-h2-content); }
.rangak-favorites-empty p { margin: 0 auto 28px; color: var(--muted); font-size: 16px; line-height: 1.9; }
.rangak-favorites-empty .button { display: inline-flex; align-items: center; gap: 18px; text-decoration: none; }
.rangak-favorites-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rangak-compare { margin-top: 64px; padding-top: 44px; border-top: 1px solid var(--line); }
.rangak-compare > header { width: 100%; max-width: none; margin-bottom: 28px; }
.rangak-compare > header h2 { margin: 10px 0 12px; font-size: var(--rangak-h2-content); letter-spacing: -1px; }
.rangak-compare > header > p:last-child { color: var(--muted); font-size: 16px; }
.rangak-compare__scroll { max-width: 100%; overflow-x: auto; border: 1px solid var(--line); background: var(--surface); scrollbar-width: thin; }
.rangak-compare table { width: 100%; min-width: 760px; border-collapse: collapse; table-layout: fixed; }
.rangak-compare th, .rangak-compare td { padding: 17px 18px; border-left: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: right; vertical-align: top; font-size: 14px; line-height: 1.9; }
.rangak-compare tr > :last-child { border-left: 0; }
.rangak-compare tbody tr:last-child > * { border-bottom: 0; }
.rangak-compare thead th { background: var(--sage-soft); color: var(--ink); font-size: 16px; }
.rangak-compare th:first-child { width: 150px; }
.rangak-compare thead a { color: inherit; text-decoration: none; }
.rangak-compare thead a:hover { color: var(--wine); }
.rangak-compare tbody th { background: #f5f0e8; color: #4d4842; font-weight: 750; }
.rangak-compare__images img { width: 112px; height: 112px; display: block; object-fit: cover; border-radius: 8px; }
.rangak-compare__price { color: var(--wine); font-size: 16px !important; font-weight: 800; }
.rangak-compare__actions .button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; margin: 0; padding: 0 17px; text-decoration: none; }

@media (max-width: 1100px) {
	:root { --gutter: 34px; }
	.primary-nav { gap: 18px; }
	.hero { gap: 25px; }
	.product-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
	.woocommerce .product-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
	.rangak-favorites-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
	.collection-grid { grid-template-columns: repeat(2, 1fr); }
	.collection-card:nth-child(2) { border-left: 0; }
	.collection-card:nth-child(-n+2) { border-bottom: 1px solid rgba(23,21,17,.14); }
	.error-404-hero { grid-template-columns: minmax(0, .95fr) minmax(390px, 1.05fr); gap: 44px; }
	.error-404-visual { min-height: 400px; }
}

@media (max-width: 820px) {
	:root { --gutter: 24px; }
	.announcement { justify-content: space-between; padding-inline: var(--gutter); }
	.announcement a { display: inline-flex; }
	.site-header { height: 88px; grid-template-columns: 1fr auto; }
	.primary-nav {
		position: absolute;
		inset: 100% 0 auto;
		z-index: 40;
		display: none;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		padding: 18px 24px 30px;
		max-height: calc(100vh - 120px);
		overflow-y: auto;
		background: var(--paper);
		border-bottom: 1px solid var(--line);
		box-shadow: 0 22px 35px rgba(43,35,27,.1);
	}
	.primary-nav.is-open { display: flex; }
	.primary-nav.is-open .primary-nav__account { display: flex !important; }
	.primary-nav a { min-height: 52px; border-bottom: 1px solid var(--line); }
	.menu-toggle { display: flex; flex-direction: column; align-items: center; justify-content: center; }
	.hero { grid-template-columns: 1fr; padding-top: 65px; }
	.hero-copy { max-width: 650px; }
	.hero-visual { min-height: 510px; }
	.hero-visual figure { width: min(69%, 410px); }
	.guides-hero { grid-template-columns: 1fr; align-items: start; }
	.guides-hero > p,
	.guide-feature__body h2,
	.guide-feature__body > p:not(.eyebrow),
	.guide-shop-cta p:not(.eyebrow),
	.article-product-cta p:not(.eyebrow) { width: 100%; max-width: none; }
	.guide-feature { grid-template-columns: .25fr 1fr; }
	.guide-feature__meta { display: none; }
	.guide-grid { grid-template-columns: 1fr; }
	.guide-card { min-height: 270px; }
	.article-layout { grid-template-columns: minmax(0, 1fr); }
	.article-toc { position: static; }
	.article-toc nav { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
	.article-shop-jump { grid-template-columns: minmax(0, 1fr); }
	.article-shop-jump .button { justify-self: start; }
	.article-shop-jump--catalog { grid-template-columns: minmax(0, 1fr); }
	.article-shop-jump--catalog .button { justify-self: start; }
	.article-preset-showcase__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.article-category-path nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.article-category-path nav .is-all { grid-column: 1 / -1; }
	.guide-shop-cta, .article-product-cta { align-items: flex-start; flex-direction: column; }
	.error-404-hero { grid-template-columns: minmax(0, 1fr); gap: 34px; }
	.error-404-visual { grid-column: 1; grid-row: 1; width: min(100%, 690px); min-height: 390px; margin-inline: auto; }
	.error-404-copy { grid-column: 1; grid-row: 2; width: 100%; }
	.commerce-guides > div { grid-template-columns: 1fr; }
	.trust-strip { grid-template-columns: 1fr; padding-block: 9px; }
	.trust-strip > div { min-height: 53px; justify-content: flex-start; padding: 10px 0; border: 0 !important; }
	.section { padding-top: 64px; padding-bottom: 64px; }
	.section-heading { align-items: flex-start; flex-direction: column; }
	.section-heading > p { width: 100%; max-width: none; text-align: right; }
	.rangak-info-hero,
	.rangak-info-hero--compact,
	.rangak-contact-layout,
	.rangak-about-detail { grid-template-columns: 1fr; }
	.rangak-about-detail__copy { grid-template-columns: 1fr; }
	.rangak-info-grid--two { grid-template-columns: 1fr; }
	.rangak-values__grid,
	.rangak-cancellation-flow__grid { grid-template-columns: 1fr; }
	.rangak-experience-card { min-height: 270px; }
	.rangak-contact-panel,
	.rangak-address-card { min-height: auto; }
	.rangak-terms-sections { grid-template-columns: 1fr; }
	.rangak-terms-lead { align-items: flex-start; flex-direction: column; }
	.rangak-terms-lead__badge { flex-basis: auto; }
	.rangak-terms-contact { align-items: flex-start; flex-direction: column; }
	.atelier, .process, .faq { grid-template-columns: 1fr; }
	.atelier-image { max-width: 500px; }
	.process-intro { width: 100%; max-width: none; }
	.site-footer { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.footer-brand { grid-column: 1 / -1; }
	.footer-meta { grid-column: 1 / -1; flex-direction: row; align-items: flex-start; justify-content: space-between; padding-top: 18px; border-top: 1px solid #cec7bb; }
	.woocommerce .product-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
	.woocommerce div.product { grid-template-columns: minmax(0, 1fr); }
	.rangak-product-gallery { position: static; }
	/* On phones and tablets, reserve one stable viewport after the wizard. This
	 * keeps product copy outside the buyer's view throughout all four steps;
	 * it remains reachable only by deliberately scrolling beyond the flow. */
	.woocommerce div.product .woocommerce-tabs {
		grid-column: auto;
		margin-top: max(420px, 100vh);
		margin-top: max(420px, 100svh);
	}
}

@media (max-width: 560px) {
	:root { --gutter: 20px; }
	.announcement { min-height: 40px; gap: 12px; font-size: 12px; }
	.announcement__separator,
	.announcement__review { display: none; }
	.announcement a { font-weight: 750; }
	.brand-copy strong { font-size: 19px; }
	.brand-mark { width: 34px; height: 34px; }
	.brand-lockup--header .brand-lockup__copy {
		width: 180px;
		max-width: 180px;
		min-width: 0;
		display: flex;
		align-items: center;
		justify-items: initial;
		gap: 0;
		direction: rtl;
	}
	.brand-lockup--header .brand-lockup__copy small {
		width: 112px;
		max-width: 112px;
		flex: 0 0 112px;
		margin-top: 0;
		font-size: 12px;
		line-height: 1.3;
		text-align: center;
		white-space: normal;
	}
	.brand-lockup__symbol { width: 66px; height: 66px; flex-basis: 66px; }
	.search-toggle { display: none; }
	.rangak-account-link { display: none; }
	.hero { min-height: auto; padding-top: 22px; padding-bottom: 52px; }
	.hero h1 { letter-spacing: -2.6px; }
	.section h2, .final-cta h2 { letter-spacing: -1.2px; }
	.hero-lead { font-size: 16px; }
	.hero-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; gap: 10px; }
	.hero-actions .button { width: 100%; min-width: 0; justify-content: space-between; gap: 8px; padding-inline: 12px; white-space: nowrap; }
	.hero-actions .button:nth-child(3) { grid-column: 1 / -1; }
	.hero-note { margin-top: 34px; }
	.hero-visual { min-height: 390px; margin-top: 10px; }
	.hero-visual figure { width: 75%; }
	.guides-hero h1, .article-header h1 { font-size: 40px; letter-spacing: -2.2px; }
	.guides-hero > p, .article-deck { font-size: 17px; }
	.error-404-hero { gap: 28px; padding-top: 28px; padding-bottom: 48px; }
	.error-404-visual { min-height: 288px; border-radius: 24px; }
	.error-404-visual__code { top: 10px; left: 14px; font-size: 135px; letter-spacing: -10px; }
	.error-404-art { inset: 8px 0 34px; width: 100%; height: calc(100% - 42px); }
	.error-404-visual__caption { right: 18px; bottom: 15px; left: 18px; font-size: 12px; }
	.error-404-copy h1 { margin-top: 0; font-size: 40px; letter-spacing: -1.8px; }
	.error-404-lead { font-size: 16px; }
	.error-404-actions { align-items: stretch; flex-direction: column; }
	.error-404-actions .button { width: 100%; justify-content: center; }
	.error-404-help { margin-top: 24px; }
	.error-404-guides .guide-card { min-height: 300px; }
	.guide-feature { grid-template-columns: 1fr; }
	.guide-feature__number { display: none; }
	.guide-card { min-height: 300px; padding: 23px; }
	.article-layout { padding-top: 45px; }
	.section.article-commerce-entry { padding-top: 24px; padding-bottom: 30px; }
	.article-toc nav { grid-template-columns: 1fr; }
	.article-content { font-size: 16px; line-height: 2.1; }
	.article-content .article-lead { font-size: 18px; }
	.article-content h2 { margin-top: 42px; }
	.article-answer, .article-note { padding: 21px; }
	.article-preset-showcase { padding: 17px; }
	.article-preset-showcase__grid { grid-template-columns: 1fr; }
	.article-preset-showcase figure img,
	.article-preset-showcase--title figure img { height: 180px; }
	.article-formula { align-items: stretch; flex-direction: column; text-align: center; }
	.article-shop-jump,
	.article-category-path { padding: 20px; }
	.article-shop-jump .button { width: 100%; justify-content: center; white-space: normal; text-align: center; }
	.article-shop-jump--catalog { padding: 20px; }
	.article-shop-jump--catalog .button { width: 100%; justify-content: center; white-space: normal; text-align: center; }
	.rangak-related-catalog-cta { padding: 20px; }
	.rangak-related-catalog-cta { grid-template-columns: minmax(0, 1fr); }
	.rangak-related-catalog-cta .button { width: 100%; justify-content: center; white-space: normal; text-align: center; }
	.article-product-showcase { margin: 44px 0; padding: 19px; }
	.article-product-grid,
	.article-category-path nav { grid-template-columns: minmax(0, 1fr); }
	.article-category-path nav .is-all { grid-column: auto; }
	.commerce-guides { margin-top: 54px; padding-top: 36px; }
	.commerce-guides > header { grid-template-columns: 1fr; align-items: start; }
	.commerce-guides > header > a { justify-self: start; }
	.commerce-guides > div > a { min-height: 170px; }
	.hero-orbit { inset: 10% 12%; }
	.section { padding-top: 44px; padding-bottom: 44px; }
	.section.rangak-breadcrumb-wrap { padding-top: 11px; padding-bottom: 0; }
	.rangak-breadcrumb-wrap + .content-page,
	.rangak-breadcrumb-wrap + .guides-hub > .guides-hero,
	.rangak-breadcrumb-wrap + .guide-article > .article-header { padding-top: 13px; }
	.rangak-breadcrumb-wrap + .commerce-page { padding-top: 6px; }
	.commerce-page > .page-title { margin-top: 0; margin-bottom: 18px; }
	body.term-wedding-cards .commerce-page > .page-title { font-size: clamp(22px, 6.2vw, 28px); line-height: 1.3; letter-spacing: -.9px; white-space: nowrap; }
	.rank-math-breadcrumb { min-width: 0; font-size: 14px; line-height: 1.7; }
	.rank-math-breadcrumb p { min-width: 0; flex-wrap: wrap; gap: 3px 6px; overflow: visible; }
	.rank-math-breadcrumb a,
	.rank-math-breadcrumb .separator { flex: 0 0 auto; white-space: nowrap; }
	.rank-math-breadcrumb .last { flex: 0 1 auto; min-width: 0; overflow: visible; overflow-wrap: anywhere; text-overflow: clip; white-space: normal; }
	.rangak-product-catalog-link { display:inline-flex; flex:0 0 auto; align-items:center; color:var(--accent); font-size:12.5px; font-weight:850; line-height:1.7; white-space:nowrap; text-decoration:underline; text-decoration-thickness:1px; text-underline-offset:3px; }
	.rangak-product-catalog-link:hover { color:var(--text); }
	.content-page--business { padding-top: 42px; }
	.content-page--business .page-heading h1 { letter-spacing: -2px; }
	.rangak-info-page { gap: 40px; }
	.rangak-info-page h2 { font-size: var(--rangak-h2-display); line-height: 1.55; letter-spacing: -.8px; }
	.rangak-info-card h2,
	.rangak-terms-sections h2 { font-size: var(--rangak-h2-content); }
	.rangak-info-page p { font-size: 16px; }
	.rangak-info-hero,
	.rangak-info-card,
	.rangak-contact-panel,
	.rangak-address-card,
	.rangak-terms-lead,
	.rangak-terms-contact { padding: 25px 21px; }
	.rangak-info-actions { align-items: stretch; flex-direction: column; }
	.rangak-info-actions .button,
	.rangak-terms-contact .button { width: 100%; justify-content: center; }
	.rangak-experience-card { min-height: 230px; padding: 24px; }
	.rangak-experience-card strong { font-size: 82px; }
	.rangak-experience-card span { font-size: 18px; }
	.rangak-info-card { min-height: auto; }
	.rangak-values__grid article,
	.rangak-cancellation-flow__grid article { min-height: auto; padding: 24px 21px; }
	.rangak-about-detail__copy p { padding-right: 16px; }
	.rangak-contact-phones > a,
	.rangak-contact-link,
	.rangak-address-card > p + p { align-items: flex-start; flex-direction: column; gap: 4px; }
	.rangak-contact-phones strong { font-size: 20px; }
	.rangak-terms-lead__badge { width: 100%; }
	.rangak-terms-sections { gap: 0; }
	.collection-grid, .product-grid { grid-template-columns: 1fr; }
	.collection-grid { gap: 16px; border: 0; }
	.rangak-favorites-grid { grid-template-columns: 1fr; }
	.rangak-favorites-hero { margin-bottom: 42px; }
	.rangak-favorites-hero h1 { letter-spacing: -2px; }
	.rangak-compare { margin-top: 64px; padding-top: 42px; }
	.rangak-compare th, .rangak-compare td { padding: 14px; }
	.collection-card { min-height: 0; border: 1px solid rgba(23,21,17,.14); border-radius: 16px; box-shadow: 0 10px 28px rgba(43,35,27,.07); }
	.collection-card__media { aspect-ratio: 1.3 / 1; }
	.collection-card:last-child { border: 1px solid rgba(23,21,17,.14); }
	.product-card p { min-height: auto; }
	.atelier-image { width: calc(100% - 15px); }
	.steps article { grid-template-columns: 35px 1fr auto; gap: 12px; }
	.final-cta { min-height: 410px; flex-direction: column; align-items: flex-start; justify-content: center; }
	.site-footer { grid-template-columns: 1fr 1fr; gap: 35px 24px; }
	.footer-brand { grid-column: 1 / -1; }
	.footer-column--important { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
	.footer-column--important strong { grid-column: 1 / -1; }
	.footer-meta { display: grid; grid-template-columns: minmax(0, 1fr) 125px; gap: 22px; align-items: end; }
	.footer-bottom { align-items: flex-start; flex-direction: column; gap: 8px; }
	.woocommerce .product-grid { grid-template-columns: minmax(0, 1fr); }
	.rangak-catalog-toolbar { align-items: stretch; flex-direction: column; gap: 12px; padding: 14px; }
	.rangak-catalog-sort { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
	.rangak-catalog-filter { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
	.rangak-catalog-sort__label { grid-column: 1 / -1; margin: 0; text-align: center; }
	.rangak-catalog-sort__option { width: 100%; padding-inline: 8px; }
	.rangak-catalog-loader__button { width: 100%; min-width: 0; }
	.woocommerce div.product,
	.woocommerce div.product div.images,
	.woocommerce div.product div.summary { min-width: 0; max-width: 100%; }
	.woocommerce div.product div.images a,
	.woocommerce div.product div.images img { display: block; width: 100%; max-width: 100%; }
	.woocommerce div.product { grid-template-columns: minmax(0, 1fr); gap: 26px; }
	.woocommerce div.product .product_title { margin-top: 0; font-size: clamp(25px, 7vw, 30px); line-height: 1.48; letter-spacing: -.9px; }
	.woocommerce div.product div.summary .product_title { scroll-margin-top: 12px; }
	.woocommerce div.product div.summary { padding-top: 2px; }
	.rangak-product-gallery__stage { aspect-ratio: 4 / 5; max-height: min(72dvh, 560px); border-radius: 14px; box-shadow: 0 14px 38px rgba(35,28,22,.08); }
	.rangak-product-gallery__slide { padding: 10px; }
	.rangak-product-gallery__open { border-radius: 9px; }
	.woocommerce div.product .rangak-product-gallery__open img { width: 100%; height: 100%; max-height: 100%; object-fit: contain; }
	.rangak-product-gallery__expand { left: 9px; bottom: 9px; width: 40px; height: 40px; padding: 0; }
	.rangak-product-gallery__arrow { width: 44px; height: 44px; font-size: 20px; }
	.rangak-product-gallery__arrow--next { right: 10px; }
	.rangak-product-gallery__arrow--prev { left: 10px; }
	.rangak-product-gallery__status { top: 9px; right: 9px; min-height: 30px; padding: 3px 10px; }
	.rangak-product-gallery__count { min-height: 0; display: inline; padding: 0; }
	.rangak-product-gallery__thumbs { right: 50%; bottom: 9px; left: auto; width: max-content; max-width: calc(100% - 116px); justify-content: safe center; gap: 6px; padding: 4px; transform: translateX(50%); border-radius: 11px; }
	.rangak-product-gallery__thumbs button { width: 56px; height: 56px; flex-basis: 56px; border-radius: 8px; }
	.rangak-gallery-order-prompt { display: flex; margin-top: 10px; padding: 11px 12px; border-radius: 12px; }
	.rangak-gallery-order-prompt .button { min-height: 42px; padding-inline: 14px; font-size: 13px; }
	.rangak-mobile-order-bar { position: fixed; z-index: 1200; right: 10px; bottom: max(10px, env(safe-area-inset-bottom)); left: 10px; min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 10px 9px 12px; border: 1px solid rgba(115,56,68,.34); border-radius: 15px; background: rgba(255,253,249,.96); box-shadow: 0 14px 42px rgba(24,20,17,.22); opacity: 0; visibility: hidden; transform: translateY(calc(100% + 24px)); pointer-events: none; transition: opacity .2s ease, transform .24s ease, visibility .2s ease; backdrop-filter: blur(14px); }
	.rangak-mobile-order-bar.is-visible { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }
	.rangak-mobile-order-bar__price { gap: 1px; }
	.rangak-mobile-order-bar__price > small { font-size: 10px; line-height: 1.4; }
	.rangak-mobile-order-bar__price .rangak-order-entry-price__values { gap: 4px 7px; }
	.rangak-mobile-order-bar__price .rangak-order-entry-price__values del { font-size: 10px; }
	.rangak-mobile-order-bar__price .rangak-order-entry-price__values strong { font-size: 16px; }
	.rangak-mobile-order-bar .button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; flex: 0 0 auto; margin: 0; padding: 9px 17px; border: 1px solid var(--wine); border-radius: 11px !important; color: #fff !important; background: var(--wine) !important; font-size: 14px; font-weight: 850; text-decoration: none; }
	body.rangak-card-product { padding-bottom: calc(88px + env(safe-area-inset-bottom)); }
	body.rangak-gallery-is-open .rangak-mobile-order-bar { display: none; }
	.rangak-gallery-lightbox { padding: 0; }
	.rangak-gallery-lightbox__stage { padding: 60px 8px 6px; }
	.rangak-gallery-lightbox__stage img { max-width: 100% !important; max-height: calc(100vh - 120px) !important; max-height: calc(100dvh - 120px) !important; }
	.rangak-gallery-lightbox__close { top: max(10px, env(safe-area-inset-top)); left: max(10px, env(safe-area-inset-left)); width: 46px; height: 46px; }
	.rangak-gallery-lightbox__arrow { top: 50%; bottom: auto; width: 44px; height: 44px; transform: translateY(-50%); }
	.rangak-gallery-lightbox__arrow--next { right: max(8px, env(safe-area-inset-right)); }
	.rangak-gallery-lightbox__arrow--prev { left: max(8px, env(safe-area-inset-left)); }
	.rangak-gallery-lightbox__footer { min-height: 50px; padding: 7px 54px max(7px, env(safe-area-inset-bottom)); }
	.rangak-gallery-lightbox__footer small { display: none; }
	.rangak-product-assurance { grid-template-columns: 1fr; }
	.rangak-product-assurance > div { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; border-left: 0; border-bottom: 1px solid var(--line); }
	.rangak-product-assurance > div:last-child { border-bottom: 0; }
	.woocommerce div.product .woocommerce-tabs { padding: 22px 17px; }
	.rangak-product-footer-meta { align-items:flex-start; flex-direction:column; gap:9px; padding:15px 16px; }
	.rangak-product-footer-meta__item { width:100%; align-items:flex-start; }
	.rangak-product-footer-meta__item--links { flex-basis:auto; }
	.woocommerce div.product .woocommerce-tabs .panel > h2:first-child,
	.woocommerce .related.products > h2 { font-size: 24px; line-height: 1.55; letter-spacing: -.5px; }
	.post-list { grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
	.site-footer { grid-template-columns: minmax(0, 1fr); }
	.footer-brand,
	.footer-column--important,
	.footer-meta { grid-column: 1; }
	.footer-column--important { display: flex; }
	.footer-meta { grid-template-columns: minmax(0, 1fr) 125px; }
}

@media (max-width: 390px) {
	:root { --gutter: 14px; }
	.announcement { padding-inline: 14px; }
	.site-header { padding-inline: 12px; }
	.brand-lockup--header .brand-lockup__copy { width: 170px; max-width: 170px; flex-basis: 170px; gap: 0; }
	.brand-lockup--header .brand-lockup__copy small { width: 105px; max-width: 105px; flex-basis: 105px; font-size: 11.5px; line-height: 1.3; }
	.brand-lockup__symbol { width: 56px; height: 56px; flex-basis: 56px; }
	.hero { padding-top: 18px; }
	.hero-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
	.hero-actions .button { width: 100%; padding-inline: 10px; font-size: 13px; }
}

/* Preserve the full design while skipping off-screen layout work on first paint. */
@supports (content-visibility: auto) {
	.rangak-card-product .woocommerce-tabs,
	.rangak-card-product .rangak-configurator,
	.rangak-card-product .related.products,
	.rangak-card-product .commerce-guides,
	.post-type-archive-product .woocommerce .product-grid .product-card:nth-child(n+2),
	.tax-product_cat .woocommerce .product-grid .product-card:nth-child(n+2),
	.site-footer {
		content-visibility: auto;
		contain-intrinsic-size: auto 720px;
	}
	.rangak-card-product .related.products { contain-intrinsic-size: auto 1100px; }
	.rangak-card-product .rangak-configurator { contain-intrinsic-size: auto 1450px; }
	.rangak-card-product .commerce-guides { contain-intrinsic-size: auto 460px; }
}

@media (max-width: 560px) {
	@supports (content-visibility: auto) {
		.rangak-card-product .related.products { contain-intrinsic-size: auto 2500px; }
		.rangak-card-product .commerce-guides { contain-intrinsic-size: auto 800px; }
	}
}

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

/* Global assistance contact: compact, accessible and independent of page layout. */
.rangak-help-widget {
	/* Keep the control visually opposite to the page theme for reliable contrast. */
	--help-surface: #171b21;
	--help-ink: #f2eee7;
	--help-muted: #b1ada5;
	--help-line: rgba(255, 255, 255, .16);
	--help-accent: #b86477;
	--help-accent-strong: #cf7889;
	position: fixed;
	right: clamp(14px, 2vw, 28px);
	bottom: var(--rangak-help-bottom, max(16px, env(safe-area-inset-bottom)));
	z-index: 70;
	direction: rtl;
	width: max-content;
	font-size: 14px;
}
.rangak-help-widget [hidden] { display: none !important; }
body.rangak-modal-open .rangak-help-widget {
	opacity: 0 !important;
	visibility: hidden !important;
	pointer-events: none !important;
}
.rangak-help-widget__toggle,
.rangak-help-widget__panel {
	border: 1px solid var(--help-line);
	box-shadow: 0 16px 38px rgba(0, 0, 0, .35);
}
.rangak-help-widget__toggle {
	width: 100%;
	min-height: 52px;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 9px 13px;
	border-radius: 17px;
	color: var(--help-ink);
	background: var(--help-surface);
	cursor: pointer;
	font: inherit;
	font-weight: 700;
	text-align: right;
	white-space: nowrap;
	transition: border-color .18s ease, background-color .18s ease, transform .18s ease;
}
.rangak-help-widget__toggle:hover,
.rangak-help-widget__toggle:focus-visible { border-color: var(--help-accent); background: var(--help-surface); }
.rangak-help-widget__toggle:focus-visible,
.rangak-help-widget__phone:focus-visible,
.rangak-help-widget__close:focus-visible { outline: 3px solid rgba(125, 63, 77, .28); outline-offset: 3px; }
.rangak-help-widget__icon {
	width: 29px;
	height: 29px;
	flex: 0 0 29px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	color: #fff;
	background: var(--help-accent);
	font-size: 18px;
	line-height: 1;
}
.rangak-help-widget__panel {
	position: absolute;
	right: 0;
	bottom: calc(100% + 9px);
	width: min(248px, calc(100vw - 24px));
	padding: 15px;
	border-radius: 17px;
	color: var(--help-ink);
	background: var(--help-surface);
}
.rangak-help-widget__close {
	position: absolute;
	top: 9px;
	left: 9px;
	width: 30px;
	height: 30px;
	display: grid;
	place-items: center;
	padding: 0;
	border: 1px solid var(--help-line);
	border-radius: 9px;
	color: var(--help-ink);
	background: transparent;
	cursor: pointer;
	font: inherit;
	font-size: 22px;
	line-height: 1;
	transition: border-color .18s ease, color .18s ease, background-color .18s ease;
}
.rangak-help-widget__close:hover { border-color: var(--help-accent); color: var(--help-accent); background: color-mix(in srgb, var(--help-accent) 9%, transparent); }
.rangak-help-widget__label,
.rangak-help-widget__panel small { display: block; color: var(--help-muted); line-height: 1.8; }
.rangak-help-widget__label { min-height: 30px; margin-bottom: 8px; padding-left: 36px; font-weight: 600; }
.rangak-help-widget__phone {
	min-height: 46px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	padding: 8px 12px;
	border-radius: 11px;
	color: #fff;
	background: var(--help-accent);
	text-decoration: none;
	transition: background-color .18s ease, transform .18s ease;
}
.rangak-help-widget__phone:hover { color: #fff; background: var(--help-accent-strong); transform: translateY(-1px); }
.rangak-help-widget__phone-icon { font-size: 17px; line-height: 1; }
.rangak-help-widget__phone strong { font-size: 17px; letter-spacing: .1px; }
.rangak-help-widget__panel small { margin-top: 7px; font-size: 11px; }
html[data-rangak-theme="dark"] .rangak-help-widget {
	--help-surface: #fffdf9;
	--help-ink: #211b18;
	--help-muted: #6e665f;
	--help-line: rgba(49, 40, 34, .18);
	--help-accent: #7d3f4d;
	--help-accent-strong: #64303d;
}
html[data-rangak-theme="dark"] .rangak-help-widget__toggle,
html[data-rangak-theme="dark"] .rangak-help-widget__panel { box-shadow: 0 14px 34px rgba(36, 27, 21, .16); }
@media (max-width: 560px) {
	.rangak-help-widget { right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); }
	.rangak-help-widget__toggle { min-height: 46px; padding: 7px 10px; gap: 7px; font-size: 13px; }
	.rangak-help-widget__icon { width: 25px; height: 25px; flex-basis: 25px; font-size: 16px; }
}
@media (max-width: 820px) {
	body.rangak-card-product .rangak-help-widget-slot {
		position: relative;
		min-height: 46px;
		margin-top: 12px;
		z-index: 6;
	}
	/* Keep the product control in its original place below the price/order row.
	 * It floats only after that natural position leaves the viewport, or while
	 * the separate mobile purchase bar is visible. */
	body.rangak-card-product .rangak-help-widget.is-product-inline:not(.is-product-floating) {
		position: relative !important;
		right: auto !important;
		bottom: auto !important;
		margin: 0 !important;
		z-index: 6 !important;
	}
	body.rangak-card-product .rangak-help-widget.is-product-inline.is-product-floating {
		position: fixed !important;
		right: 12px !important;
		bottom: var(--rangak-help-bottom, max(12px, env(safe-area-inset-bottom))) !important;
		margin: 0 !important;
		z-index: 70 !important;
	}
}

/* Public order lookup: deliberately compact, operational and non-indexable. */
.rangak-order-follow { min-height: 560px; }
.rangak-order-follow__shell { width: min(100%, 760px); margin-inline: auto; }
.rangak-order-follow__intro { max-width: 680px; margin-bottom: 34px; }
.rangak-order-follow__intro h1 { margin: 13px 0 14px; font-size: clamp(32px, 4.5vw, 52px); line-height: 1.3; letter-spacing: -1.8px; }
.rangak-order-follow__intro > p:last-child { max-width: 650px; margin: 0; color: var(--muted); font-size: 16px; line-height: 2; }
.rangak-order-follow__card { padding: clamp(25px, 4vw, 42px); border: 1px solid var(--line); background: var(--surface); box-shadow: 0 18px 45px rgba(35, 28, 22, .07); }
.rangak-order-follow__card-head { margin-bottom: 24px; }
.rangak-order-follow__card-head > span { color: var(--wine); font-size: 13px; font-weight: 750; }
.rangak-order-follow__card-head h2 { margin: 7px 0 0; font-size: var(--rangak-h2-content); line-height: 1.45; }
.rangak-order-follow__form { display: grid; gap: 17px; }
.rangak-order-follow__field { display: grid; gap: 8px; }
.rangak-order-follow__field > span { color: var(--ink); font-size: 14px; font-weight: 750; }
.rangak-order-follow__field input { width: 100%; min-height: 54px; padding: 12px 15px; border: 1px solid var(--line); border-radius: 0; outline: 0; color: var(--ink); background: var(--paper); direction: ltr; text-align: left; font-size: 17px; transition: border-color .18s ease, box-shadow .18s ease; }
.rangak-order-follow__field input:focus { border-color: var(--wine); box-shadow: 0 0 0 3px color-mix(in srgb, var(--wine) 16%, transparent); }
.rangak-order-follow__field input::placeholder { color: var(--muted); opacity: .72; }
.rangak-order-follow__hint { margin: -2px 0 0; color: var(--muted); font-size: 13px; line-height: 1.8; }
.rangak-order-follow__error { margin: 0 0 20px; padding: 13px 15px; border: 1px solid var(--rose); color: var(--ink); background: var(--rose-soft); font-size: 14px; line-height: 1.9; }
.rangak-order-follow__submit { width: max-content; min-width: 190px; margin-top: 5px; cursor: pointer; }
.rangak-order-follow__back { margin: 24px 0 0; }
.rangak-order-follow__back .text-link { min-height: 40px; }
.rangak-order-follow__honeypot { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; opacity: 0; pointer-events: none; }
@media (max-width: 560px) {
	.rangak-order-follow { min-height: 500px; }
	.rangak-order-follow__intro { margin-bottom: 24px; }
	.rangak-order-follow__intro h1 { font-size: 34px; letter-spacing: -1.2px; }
	.rangak-order-follow__intro > p:last-child { font-size: 15px; }
	.rangak-order-follow__card { padding: 23px 18px; }
	.rangak-order-follow__card-head h2 { font-size: 25px; }
	.rangak-order-follow__submit { width: 100%; }
}
