/* ==========================================================================
   Golden View — QR Menu
   Մուգ դիզայն՝ հաճախորդի տված ուղղությամբ (new_design/)
   Պալետ՝ սև #050706 · կանաչ թավիշ #1c3b28 · շամպայն-ոսկի #C9AD74
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Փոփոխականներ
   -------------------------------------------------------------------------- */
:root {
	/* Ֆոներ՝ ամենամուգից դեպի բարձրացվածները */
	--black: #050706;
	--surface: #0a0d0b;
	--surface-2: #10150f;
	--surface-3: #161c15;

	/* Կանաչ թավիշ՝ ֆոտոյից վերցված երանգներ */
	--velvet: #1c3b28;
	--velvet-deep: #0d1c13;

	/* Շամպայն-ոսկի */
	--gold: #c9ad74;
	--gold-soft: #e6dbc3;
	--gold-mute: #8b7448;
	--gold-glow: rgba(201, 173, 116, 0.14);

	/* Տեքստ */
	--text: #ece5d8;
	--text-dim: #9a9488;
	--line: rgba(201, 173, 116, 0.22);
	--line-soft: rgba(201, 173, 116, 0.12);

	--font-body: "GHEAMariam", "Noto Serif Armenian", Georgia, serif;
	--font-display: "ScheherazadeNew", "GHEAMariam", Georgia, serif;
	--font-script: "Parisienne", "GHEAMariam", Georgia, cursive;
	--font-ui: "Montserratarm", "Helvetica Neue", Arial, sans-serif;

	--container: 75rem;
	--radius: 1rem;
	--radius-lg: 1.75rem;
	--shadow-soft: 0 0.5rem 2rem rgba(0, 0, 0, 0.5);
	--shadow-card: 0 0.75rem 2.5rem rgba(0, 0, 0, 0.65);
	--header-h: 4.25rem;
	--ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* --------------------------------------------------------------------------
   2. Reset / հիմք
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

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

body {
	background-color: var(--black);
	color: var(--text);
	font-family: var(--font-body);
	font-size: 1rem;
	line-height: 1.55;
	min-height: 100vh;
	overflow-x: clip;
	-webkit-font-smoothing: antialiased;
}

body.is-locked {
	position: fixed;
	left: 0;
	width: 100%;
	overflow: hidden;
}

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

img {
	user-select: none;
}

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

button,
input {
	font: inherit;
	color: inherit;
}

button {
	background: none;
	border: 0;
	cursor: pointer;
}

::selection {
	background: var(--gold);
	color: var(--black);
}

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

.visually-hidden {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.is-hidden {
	display: none !important;
}

/* --------------------------------------------------------------------------
   3. Դեկորատիվ տիպոգրաֆիա և զարդեր
   -------------------------------------------------------------------------- */
.wordmark {
	font-family: var(--font-display);
	text-transform: uppercase;
	line-height: 1;
	letter-spacing: 0.02em;
	color: var(--gold);
}

.wordmark__main {
	display: block;
	/* Նեղ էկրանին չպետք է երկու տող դառնա՝ header-ում տեղը սահմանափակ է. */
	font-size: clamp(0.95rem, 4vw, 1.35rem);
	font-weight: 500;
	white-space: nowrap;
}

.wordmark__sub {
	display: block;
	font-size: 0.62rem;
	letter-spacing: 0.22em;
	margin-top: 0.15rem;
	color: var(--gold-mute);
}

/* Ոսկե զարդագիծ՝ կենտրոնում ադամանդով */
.ornament {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
	margin: 0.85rem auto 0;
	max-width: 15rem;
	color: var(--gold);
}

.ornament::before,
.ornament::after {
	content: "";
	flex: 1;
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--gold));
}

.ornament::after {
	background: linear-gradient(270deg, transparent, var(--gold));
}

.ornament__diamond {
	width: 0.45rem;
	height: 0.45rem;
	background: currentColor;
	transform: rotate(45deg);
	flex: 0 0 auto;
}

.section-head {
	text-align: center;
	margin-bottom: 2rem;
}

.section-head__eyebrow {
	font-family: var(--font-ui);
	font-size: 0.7rem;
	font-weight: 500;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	color: var(--gold-mute);
}

.section-head__title {
	font-family: var(--font-display);
	font-size: clamp(1.9rem, 6vw, 2.85rem);
	font-weight: 500;
	line-height: 1.1;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	color: var(--gold-soft);
	margin-top: 0.35rem;
}

/* --------------------------------------------------------------------------
   4. Header
   -------------------------------------------------------------------------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 60;
	/* --header-bg-ը լրացնում է script.js-ը՝ scroll-ի դիրքից կախված (0 → 1), իսկ
	   լոգոն միանում է has-brand դասով. Էջի վերևում header-ը լրիվ թափանցիկ է և առանց լոգոյի. */
	background: transparent;
}

/* Ֆոնը առանձին շերտ է, որ opacity-ով սահուն հայտնվի scroll-ի հետ */
.site-header::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(5, 7, 6, 0.9);
	backdrop-filter: blur(0.75rem);
	border-bottom: 1px solid var(--line-soft);
	box-shadow: 0 0.5rem 1.75rem rgba(0, 0, 0, 0.55);
	opacity: var(--header-bg, 0);
	pointer-events: none;
}

.site-header__inner {
	position: relative;
	min-height: var(--header-h);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.brand {
	display: flex;
	align-items: center;
	gap: 0.7rem;
	min-width: 0;
	/* Լոգոն կամ լրիվ երևում է, կամ լրիվ թաքնված է. Scroll-ի դիրքին կապված
	   միջանկյալ opacity-ի դեպքում էջի վերևում մնում էր հազիվ նշմարվող. */
	opacity: 0;
	transform: translateY(0.4rem);
	/* Անտեսանելի վիճակում հղումը չպետք է սեղմվի */
	pointer-events: none;
	transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}

.site-header.has-brand .brand {
	opacity: 1;
	transform: none;
	pointer-events: auto;
}

.brand__mark {
	width: 2.5rem;
	height: 2.5rem;
	object-fit: contain;
	flex: 0 0 auto;
}

.header-actions {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	flex: 0 0 auto;
}

.icon-btn {
	position: relative;
	width: 2.6rem;
	height: 2.6rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--line);
	border-radius: 999px;
	color: var(--gold-soft);
	background: rgba(255, 255, 255, 0.03);
	transition: color 0.25s var(--ease), border-color 0.25s var(--ease), background-color 0.25s var(--ease),
		transform 0.2s var(--ease);
}

.icon-btn:hover,
.icon-btn:focus-visible {
	color: var(--gold);
	border-color: var(--gold);
	background: var(--gold-glow);
}

.icon-btn:active {
	transform: scale(0.94);
}

.icon-btn svg {
	width: 1.15rem;
	height: 1.15rem;
}

.icon-btn__badge {
	position: absolute;
	top: -0.15rem;
	right: -0.15rem;
	min-width: 1.15rem;
	height: 1.15rem;
	padding-inline: 0.25rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--gold);
	color: var(--black);
	border-radius: 999px;
	font-family: var(--font-ui);
	font-size: 0.62rem;
	font-weight: 600;
	line-height: 1;
}

/* Լեզվի ընտրիչ */
.lang {
	position: relative;
}

.lang__toggle {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	height: 2.6rem;
	padding-inline: 0.75rem;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.03);
	font-family: var(--font-ui);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--gold-soft);
	transition: color 0.25s var(--ease), border-color 0.25s var(--ease), background-color 0.25s var(--ease);
}

.lang__toggle:hover,
.lang[data-open="true"] .lang__toggle {
	color: var(--gold);
	border-color: var(--gold);
	background: var(--gold-glow);
}

.lang__toggle svg {
	width: 0.6rem;
	height: 0.6rem;
	transition: transform 0.25s var(--ease);
}

.lang[data-open="true"] .lang__toggle svg {
	transform: rotate(180deg);
}

.lang__menu {
	position: absolute;
	top: calc(100% + 0.5rem);
	right: 0;
	min-width: 8.5rem;
	background: var(--surface-2);
	border: 1px solid var(--line);
	border-radius: 0.85rem;
	box-shadow: var(--shadow-card);
	padding: 0.35rem;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-0.4rem);
	transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
	z-index: 5;
}

.lang[data-open="true"] .lang__menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.lang__item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
	width: 100%;
	padding: 0.5rem 0.7rem;
	border-radius: 0.6rem;
	font-size: 0.9rem;
	color: var(--text);
	transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}

.lang__item:hover {
	background: rgba(255, 255, 255, 0.05);
	color: var(--gold-soft);
}

.lang__item[aria-current="true"] {
	background: var(--gold);
	color: var(--black);
}

.lang__code {
	font-family: var(--font-ui);
	font-size: 0.65rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	opacity: 0.7;
}

/* --------------------------------------------------------------------------
   5. Hero — թավշյա ֖ֆոտո + սև «տիտղոսաթերթ» (հաճախորդի ռեֆերենսի կոմպոզիցիա)
   -------------------------------------------------------------------------- */
.hero {
	position: relative;
	display: flex;
	flex-direction: column;
	/* Առաջին սկրինը՝ ամբողջ էկրանով, տիտղոսաթերթն ու CTA-ն ֆոտոյի վրա */
	min-height: 100vh;
	min-height: 100svh;
	margin-top: calc(-1 * var(--header-h));
	padding-top: var(--header-h);
	background: transparent;
}

/* Parallax՝ ֆոտոն լցնում է ամբողջ viewport-ը և մնում է տեղում */
.hero__media {
	position: fixed;
	inset: 0;
	z-index: 0;
	height: 100vh;
	height: 100svh;
	overflow: hidden;
}

.hero__plate,
.hero__foot {
	position: relative;
	z-index: 1;
	background: transparent;
}

.hero__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 22%;
}

/* Մեկ մգացում ամբողջ ֆոտոյի վրա՝ որ բլոկները թափանցիկ լինեն, բայց տեքստը ընթեռնելի */
.hero__media::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(180deg, rgba(5, 7, 6, 0.55) 0%, rgba(13, 28, 19, 0.38) 32%, rgba(5, 7, 6, 0.62) 100%);
}

/* Սքրոլի հետ սև շերտը խտանում է (--photo-veil 0→1) և կանգնում է այնտեղ,
   որտեղ ֆոտոն դեռ նշմարվում է, բայց այլևս չի խանգարում կարդալուն. */
.hero__media::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 2;
	background: var(--black);
	opacity: calc(var(--photo-veil, 0) * 0.84);
	pointer-events: none;
}

.hero__plate {
	position: relative;
	display: grid;
	/* minmax(0, 1fr)՝ որ երկու կողմը միշտ հավասար լինեն և բաժանիչը մնա ուղիղ կենտրոնում,
	   նույնիսկ երբ բովանդակությունը սեղմվում է նեղ էկրանին. */
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	align-items: center;
	gap: clamp(0.85rem, 4vw, 2.5rem);
	padding-block: clamp(1.75rem, 7vw, 3rem);
	margin-top: auto;
}

/* Ուղղահայաց ոսկե բաժանիչը՝ ռեֆերենսի պես */
.hero__divider {
	width: 1px;
	height: clamp(6rem, 26vw, 9.5rem);
	background: linear-gradient(180deg, transparent, var(--gold-mute) 18%, var(--gold-mute) 82%, transparent);
}

.hero__identity {
	text-align: center;
	justify-self: end;
}

.hero__mark {
	width: clamp(4.25rem, 19vw, 7rem);
	height: auto;
	margin: 0 auto 0.85rem;
}

.hero__name {
	font-family: var(--font-display);
	font-size: clamp(1.1rem, 5.4vw, 2.35rem);
	font-weight: 500;
	line-height: 1;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--gold-soft);
	white-space: nowrap;
}

.hero__tagline {
	font-family: var(--font-ui);
	font-size: clamp(0.58rem, 2.4vw, 0.75rem);
	font-weight: 300;
	letter-spacing: 0.18em;
	color: var(--gold-mute);
	margin-top: 0.5rem;
	white-space: nowrap;
}

/* «Menu»՝ ռեֆերենսի ձեռագիր տառատեսակով (Parisienne), միշտ լատինատառ.
   Script տառատեսակի x-height-ը փոքր է, ուստի չափն ավելի մեծ է, իսկ line-height-ը՝
   1-ից վեր՝ որ M-ի գալարն ու տակի պոչերը չկտրվեն. */
.hero__title {
	font-family: var(--font-script);
	font-size: clamp(2.75rem, 13.5vw, 6rem);
	font-weight: 400;
	line-height: 1.2;
	letter-spacing: 0;
	color: var(--gold-soft);
	justify-self: start;
}

.hero__title a {
	color: inherit;
	transition: color 0.25s var(--ease);
}

.hero__title a:hover {
	color: var(--gold);
}

.hero__foot {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1.35rem;
	/* Վերևի padding-ը շունչ է տալիս «Menu»-ի և կոճակի միջև՝ սև ֖ֆոնով, ոչ բացվածքով */
	padding-top: clamp(1.25rem, 4vh, 2.5rem);
	padding-bottom: clamp(1.75rem, 6vw, 3rem);
	/* Շարունակում է տիտղոսաթերթի գրադիենտը և ներքևի եզրին հասնում է
	   հենց main-ի վերևի արժեքին՝ առանց կպման գծի. */
	background-image: none;
	text-align: center;
}

.btn-gold {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.8rem 2rem;
	border: 1px solid var(--gold);
	border-radius: 999px;
	background: transparent;
	color: var(--gold);
	font-family: var(--font-ui);
	font-size: 0.78rem;
	font-weight: 500;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	transition: background-color 0.25s var(--ease), color 0.25s var(--ease), transform 0.2s var(--ease);
}

.btn-gold:hover {
	background: var(--gold);
	color: var(--black);
}

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

.btn-gold svg {
	width: 0.85rem;
	height: 0.85rem;
}

/* --------------------------------------------------------------------------
   6. Բաժիններ (spacing)
   -------------------------------------------------------------------------- */

/* Ամբողջ բովանդակությունը սահում է fixed հերո-ֆոտոյի վրայով, ուստի անթափանց է */
main {
	position: relative;
	z-index: 1;
	background: transparent;
}

.section {
	padding-block: clamp(2.25rem, 7vw, 3.75rem);
}

.section--tight {
	padding-block: clamp(1.5rem, 5vw, 2.5rem);
}

/* --------------------------------------------------------------------------
   7. Սլայդեր (API-ից)
   -------------------------------------------------------------------------- */
.showcase {
	position: relative;
}

.showcase .swiper {
	border-radius: var(--radius-lg);
	overflow: hidden;
	box-shadow: var(--shadow-card);
	border: 1px solid var(--line-soft);
}

.showcase__slide {
	position: relative;
	aspect-ratio: 16 / 9;
	/* Բանների շերտը չպետք է հեռու հրի ճաշացանկը */
	max-height: 44vh;
	background: var(--velvet-deep);
}

@media (min-width: 64rem) {
	.showcase__slide {
		aspect-ratio: 21 / 8;
		max-height: 50vh;
	}
}

.showcase__slide img,
.showcase__slide video,
.showcase__slide iframe {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border: 0;
}

.showcase__caption {
	position: absolute;
	inset-inline: 0;
	bottom: 0;
	padding: 2.5rem 1.5rem 1.25rem;
	background: linear-gradient(180deg, transparent, rgba(5, 7, 6, 0.92));
	color: var(--text);
}

.showcase__caption strong {
	display: block;
	font-family: var(--font-display);
	font-size: 1.35rem;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--gold-soft);
}

.showcase__caption p {
	font-size: 0.9rem;
	color: var(--text-dim);
	margin-top: 0.2rem;
}

.showcase__dots {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	margin-top: 1rem;
}

.showcase__dots .swiper-pagination-bullet {
	width: 0.45rem;
	height: 0.45rem;
	border-radius: 999px;
	background: var(--gold-mute);
	opacity: 1;
	transition: width 0.3s var(--ease), background-color 0.3s var(--ease);
}

.showcase__dots .swiper-pagination-bullet-active {
	width: 1.5rem;
	background: var(--gold);
}

/* --------------------------------------------------------------------------
   8. Միջոցառումների օրացույց
   -------------------------------------------------------------------------- */
/* Ոսկե գծերը ձգվում են էկրանի եզրերին. Ներսում՝ ձախում վերնագիր, աջում՝ ցանկ */
.events {
	margin-block: clamp(0.75rem, 3vw, 2rem);
	border-block: 1px solid var(--gold-mute);
	background: transparent;
}

.events__frame {
	display: grid;
	grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr);
	align-items: stretch;
}

.events__title {
	display: grid;
	place-content: center;
	margin: 0;
	font-family: var(--font-script);
	font-weight: 400;
	font-size: clamp(1.55rem, 7.4vw, 3.4rem);
	line-height: 1.05;
	color: var(--gold);
	text-align: center;
	padding: 0.7rem 0.35rem;
	border-inline-end: 1px solid var(--line);
}

/* Երկու բառը՝ առանձին տողերով, ինչպես ռեֆերենսում */
.events__title span {
	display: block;
}

.events__list {
	list-style: none;
}

.events__item {
	display: grid;
	grid-template-columns: clamp(2.75rem, 12vw, 4.25rem) minmax(0, 1fr);
	align-items: stretch;
}

.events__item--photo {
	grid-template-columns: clamp(2.75rem, 12vw, 4.25rem) 2.35rem minmax(0, 1fr);
}

.events__item + .events__item {
	border-top: 1px solid var(--line);
}

.events__date {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.08rem;
	padding-block: 0.55rem;
	border-inline-end: 1px solid rgba(236, 229, 216, 0.28);
	font-family: var(--font-display);
	line-height: 1;
}

.events__day {
	font-size: clamp(1.05rem, 4.2vw, 1.45rem);
	color: var(--gold-soft);
}

.events__month {
	font-size: clamp(0.7rem, 2.8vw, 0.9rem);
	color: var(--gold-mute);
	text-transform: lowercase;
}

.events__photo {
	display: block;
	align-self: center;
	width: 2.35rem;
	aspect-ratio: 1;
	margin-inline-start: 0.55rem;
	border-radius: 0.3rem;
	overflow: hidden;
	background: var(--velvet-deep);
}

.events__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.events__name {
	display: flex;
	align-items: center;
	padding: 0.65rem 0.7rem 0.65rem 0.85rem;
	font-family: var(--font-display);
	font-size: clamp(0.82rem, 3.4vw, 1.25rem);
	line-height: 1.25;
	color: var(--gold-soft);
}

@media (min-width: 40rem) {
	.events__title {
		padding: 1rem 0.75rem;
	}

	.events__name {
		padding-inline: 1.25rem;
	}
}

/* --------------------------------------------------------------------------
   9. Բաժինների կամարաձև քարտեր
   -------------------------------------------------------------------------- */
.cat-rail {
	display: flex;
	gap: clamp(0.65rem, 2.5vw, 1.25rem);
	overflow-x: auto;
	scroll-snap-type: x proximity;
	padding: 0.25rem 1.25rem 1rem;
	margin-inline: -1.25rem;
	scrollbar-width: none;
}

.cat-rail::-webkit-scrollbar {
	display: none;
}

/* Հորիզոնական շարքեր. ծայրի փափուկ մարումը ցույց է տալիս, որ շարունակություն կա.
   Դիմակը կպած է տարրի շրջանակին, ոչ թե բովանդակությանը, ուստի սահելիս տեղում է մնում. */
.cat-rail.has-fade-end,
.subcats.has-fade-end,
.cat-bar__rail.has-fade-end {
	-webkit-mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 2.5rem), transparent 100%);
	mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 2.5rem), transparent 100%);
}

.cat-rail.has-fade-start,
.subcats.has-fade-start,
.cat-bar__rail.has-fade-start {
	-webkit-mask-image: linear-gradient(to right, transparent 0, #000 2.5rem);
	mask-image: linear-gradient(to right, transparent 0, #000 2.5rem);
}

.cat-rail.has-fade-start.has-fade-end,
.subcats.has-fade-start.has-fade-end,
.cat-bar__rail.has-fade-start.has-fade-end {
	-webkit-mask-image: linear-gradient(to right, transparent 0, #000 2.5rem, #000 calc(100% - 2.5rem), transparent 100%);
	mask-image: linear-gradient(to right, transparent 0, #000 2.5rem, #000 calc(100% - 2.5rem), transparent 100%);
}

/* Մկնիկով քաշելով սահեցում. */
@media (hover: hover) and (pointer: fine) {
	.cat-rail[data-rail="1"].has-fade-start,
	.cat-rail[data-rail="1"].has-fade-end,
	.subcats[data-rail="1"].has-fade-start,
	.subcats[data-rail="1"].has-fade-end,
	.cat-bar__rail[data-rail="1"].has-fade-start,
	.cat-bar__rail[data-rail="1"].has-fade-end {
		cursor: grab;
	}

	.cat-rail.is-dragging,
	.subcats.is-dragging,
	.cat-bar__rail.is-dragging {
		cursor: grabbing;
		scroll-snap-type: none;
		user-select: none;
	}
}

.cat-card {
	display: flex;
	flex-direction: column;
	flex: 0 0 auto;
	width: clamp(6.5rem, 27vw, 9rem);
	scroll-snap-align: center;
	text-align: center;
	color: var(--text);
	transition: transform 0.3s var(--ease);
}

.cat-card:active {
	transform: scale(0.97);
}

.cat-card__arch {
	display: block;
	position: relative;
	width: 100%;
	aspect-ratio: 3 / 4;
	overflow: hidden;
	border-radius: 50% 50% 0.7rem 0.7rem / 42% 42% 0.7rem 0.7rem;
	background: var(--velvet-deep);
	box-shadow: var(--shadow-soft);
	transition: box-shadow 0.3s var(--ease);
}

.cat-card__arch::after {
	content: "";
	position: absolute;
	inset: 0.3rem;
	border: 1px solid rgba(230, 219, 195, 0.28);
	border-radius: inherit;
	pointer-events: none;
	transition: border-color 0.3s var(--ease);
}

.cat-card__arch img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s var(--ease), filter 0.3s var(--ease);
}

.cat-card__arch--empty {
	display: grid;
	place-items: center;
	background: linear-gradient(160deg, var(--velvet) 0%, var(--velvet-deep) 100%);
}

.cat-card__arch--empty img {
	width: 45%;
	height: auto;
	object-fit: contain;
	opacity: 0.85;
}

.cat-card__name {
	display: block;
	margin-top: 0.6rem;
	min-height: 2.5em;
	font-size: 0.85rem;
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: 0.01em;
	color: var(--text-dim);
	transition: color 0.25s var(--ease);
}

.cat-card:hover .cat-card__arch img {
	transform: scale(1.06);
}

.cat-card.is-active .cat-card__arch {
	box-shadow: 0 0 0 2px var(--gold), var(--shadow-card);
}

.cat-card.is-active .cat-card__arch::after {
	border-color: var(--gold-soft);
}

.cat-card.is-active .cat-card__name {
	color: var(--gold);
}

/* Գլխավոր էջ՝ քառակուսի կատեգորիաներ, հեռախոսում երկու սյունակ */
.cat-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.25rem 0.7rem;
}

.cat-card--tile {
	width: 100%;
	flex: none;
	scroll-snap-align: unset;
}

.cat-card--tile .cat-card__arch {
	aspect-ratio: 1;
	border-radius: 0.7rem;
}

.cat-card--tile .cat-card__name {
	min-height: 0;
	color: var(--gold-soft);
}

/* Մենյու էջ՝ անուններով հորիզոնական շարք */
.page-menu .site-header::before {
	opacity: 1;
	background: rgba(5, 7, 6, 0.42);
}

html:has(body.page-menu) {
	scroll-padding: 0;
	background-color: transparent;
}

body.page-menu {
	background-color: transparent;
}

body.page-menu::before {
	content: "";
	position: fixed;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background-color: var(--black);
	background-image:
		linear-gradient(rgba(5, 7, 6, 0.4), rgba(5, 7, 6, 0.52)),
		image-set(
			url("../images/menu-velvet.webp") type("image/webp"),
			url("../images/menu-velvet.jpg") type("image/jpeg")
		);
	background-position: center top;
	background-size: cover;
	background-repeat: no-repeat;
}

.page-menu .menu-cats {
	background: rgba(5, 7, 6, 0.64);
	backdrop-filter: blur(0.45rem);
}

.page-menu main {
	background: rgba(5, 7, 6, 0.64);
}

.page-menu .site-footer {
	background: rgba(5, 7, 6, 0.64);
	/* Ապրանքների և footer-ի արանքում բաց չլինի՝ որ velvet ֆոնը չկտրվի */
	margin-top: 0;
}

.page-menu .menu-page {
	padding-bottom: 0;
}

.menu-cats {
	position: sticky;
	top: var(--header-h);
	z-index: 55;
	background: rgba(5, 7, 6, 0.38);
	backdrop-filter: blur(0.5rem);
	border-bottom: 1px solid var(--line-soft);
}

.menu-page {
	padding-block: 1.15rem 1.35rem;
}

.menu-page .menu-block {
	scroll-margin-top: calc(var(--header-h) + 4.25rem);
}

.menu-page .menu-block + .menu-block {
	margin-top: 2.5rem;
}

/* Ենթաբաժինների չիպսեր */
.subcats {
	display: flex;
	gap: 0.5rem;
	overflow-x: auto;
	padding: 0.25rem 1.25rem 0.5rem;
	margin-inline: -1.25rem;
	scrollbar-width: none;
}

.subcats::-webkit-scrollbar {
	display: none;
}

.chip {
	display: inline-flex;
	align-items: center;
	flex: 0 0 auto;
	padding: 0.5rem 1.1rem;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.03);
	color: var(--text-dim);
	font-size: 0.85rem;
	font-weight: 700;
	white-space: nowrap;
	transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.chip:hover {
	border-color: var(--gold);
	color: var(--gold-soft);
}

.chip.is-active {
	background: var(--gold);
	border-color: var(--gold);
	color: var(--black);
}

/* Կպչուն բաժինների նավիգացիա */
.cat-bar {
	position: fixed;
	top: var(--header-h);
	left: 0;
	right: 0;
	z-index: 55;
	background: rgba(5, 7, 6, 0.94);
	backdrop-filter: blur(0.5rem);
	border-bottom: 1px solid var(--line-soft);
	transform: translateY(-100%);
	opacity: 0;
	pointer-events: none;
	transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
	margin-bottom: -1px;
}

.cat-bar.is-visible {
	transform: translateY(0);
	opacity: 1;
	pointer-events: auto;
}

.cat-bar__rail {
	display: flex;
	gap: 0.4rem;
	overflow-x: auto;
	padding-block: 0.6rem;
	scrollbar-width: none;
}

.cat-bar__rail::-webkit-scrollbar {
	display: none;
}

.cat-bar .chip {
	font-size: 0.8rem;
	padding: 0.4rem 0.95rem;
}

/* --------------------------------------------------------------------------
   10. Ճաշացանկ՝ երկու քառակուսի քարտ մի տողում
   -------------------------------------------------------------------------- */
.menu-block__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
	padding-bottom: 0.85rem;
	border-bottom: 1px solid var(--line);
	margin-bottom: 0.5rem;
}

.menu-block__title {
	font-family: var(--font-display);
	font-size: clamp(1.5rem, 5.5vw, 2.15rem);
	font-weight: 500;
	line-height: 1.1;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--gold-soft);
}

.menu-block__note {
	font-family: var(--font-ui);
	font-size: 0.68rem;
	font-weight: 400;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--gold-mute);
	white-space: nowrap;
	padding-bottom: 0.2rem;
}

.menu-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.25rem 0.7rem;
}

.dish {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0.55rem;
	width: 100%;
	min-width: 0;
	text-align: left;
	padding: 0;
	border: 0;
}

.dish__figure {
	position: relative;
	width: 100%;
	aspect-ratio: 1;
	flex: 0 0 auto;
	border-radius: 0.7rem;
	overflow: hidden;
	background: var(--surface-3);
	box-shadow: var(--shadow-soft);
}

.dish__figure img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s var(--ease);
}

.dish:hover .dish__figure img {
	transform: scale(1.07);
}

.dish__figure--empty {
	display: grid;
	place-items: center;
	background: linear-gradient(160deg, var(--velvet), var(--velvet-deep));
}

.dish__figure--empty img {
	width: 55%;
	height: auto;
	object-fit: contain;
	opacity: 0.6;
}

.dish__body {
	min-width: 0;
}

.dish__top {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.15rem;
}

.dish__name {
	font-size: 0.88rem;
	font-weight: 700;
	line-height: 1.25;
	color: var(--text);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.dish__leader {
	display: none;
}

.dish__price {
	flex: 0 0 auto;
	font-family: var(--font-ui);
	font-size: 0.82rem;
	font-weight: 500;
	white-space: nowrap;
	color: var(--gold);
}

.dish__price s {
	display: block;
	font-size: 0.72rem;
	font-weight: 400;
	color: var(--text-dim);
}

.dish__desc {
	margin-top: 0;
	font-size: 0.75rem;
	line-height: 1.4;
	color: var(--text-dim);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.dish__tags {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.3rem;
	margin-top: 0.15rem;
}

.tag {
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
	padding: 0.15rem 0.5rem;
	border: 1px solid var(--line);
	border-radius: 0.4rem;
	font-family: var(--font-ui);
	font-size: 0.62rem;
	font-weight: 400;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--text-dim);
}

.tag--new {
	border-color: var(--gold);
	background: var(--gold);
	color: var(--black);
}

.dish__fav {
	position: absolute;
	top: 0.25rem;
	right: 0.25rem;
	width: 1.75rem;
	height: 1.75rem;
	display: grid;
	place-items: center;
	border-radius: 999px;
	background: rgba(5, 7, 6, 0.72);
	border: 1px solid var(--line-soft);
	color: var(--gold-soft);
	backdrop-filter: blur(0.15rem);
	transition: color 0.25s var(--ease), transform 0.2s var(--ease), border-color 0.25s var(--ease);
}

.dish__fav svg {
	width: 0.9rem;
	height: 0.9rem;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
}

.dish__fav:hover {
	color: var(--gold);
	border-color: var(--gold);
}

.dish__fav:active {
	transform: scale(0.88);
}

.dish__fav.is-favorite {
	color: var(--gold);
	border-color: var(--gold);
}

.dish__fav.is-favorite svg {
	fill: currentColor;
	stroke: currentColor;
}

/* Դատարկ / բեռնման վիճակներ */
.state {
	text-align: center;
	padding: 3rem 1rem;
	color: var(--text-dim);
}

.state__icon {
	width: 2.75rem;
	height: auto;
	margin: 0 auto 0.85rem;
	opacity: 0.45;
}

.skeleton {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.25rem 0.7rem;
	padding-block: 1.25rem;
}

.skeleton__row {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.skeleton__box,
.skeleton__line {
	background: linear-gradient(90deg, var(--surface-2) 25%, rgba(201, 173, 116, 0.1) 37%, var(--surface-2) 63%);
	background-size: 400% 100%;
	animation: shimmer 1.4s ease-in-out infinite;
	border-radius: 0.5rem;
}

.skeleton__box {
	aspect-ratio: 1;
	border-radius: 0.7rem;
}

.skeleton__lines {
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
	padding-top: 0.35rem;
}

.skeleton__line {
	height: 0.7rem;
}

.skeleton__line:nth-child(1) { width: 55%; }
.skeleton__line:nth-child(2) { width: 85%; }
.skeleton__line:nth-child(3) { width: 40%; }

@keyframes shimmer {
	0% { background-position: 100% 0; }
	100% { background-position: 0 0; }
}

/* --------------------------------------------------------------------------
   11. Ապրանքի պատուհան (bottom sheet / modal)
   -------------------------------------------------------------------------- */
.overlay {
	position: fixed;
	inset: 0;
	z-index: 90;
	background: rgba(2, 3, 3, 0.72);
	backdrop-filter: blur(0.2rem);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s var(--ease), visibility 0.3s;
}

.overlay.is-open {
	opacity: 1;
	visibility: visible;
}

.sheet {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 95;
	max-height: 92vh;
	display: flex;
	flex-direction: column;
	background: var(--surface-2);
	border-top: 1px solid var(--line);
	border-radius: var(--radius-lg) var(--radius-lg) 0 0;
	/* Ապրանքի նկարը հասնում է պատուհանի եզրին, ուստի կլորացումը պետք է կտրի այն,
	   այլապես ուղիղ անկյուններով նկարը ծածկում է կլորացված եզրագիծը. */
	overflow: hidden;
	box-shadow: 0 -1rem 3rem rgba(0, 0, 0, 0.7);
	transform: translateY(100%);
	visibility: hidden;
	transition: transform 0.38s var(--ease), visibility 0.38s;
}

.sheet.is-open {
	transform: translateY(0);
	visibility: visible;
}

/* Բռնակը լողում է նկարի վրայով, ոչ թե հոսքի մեջ՝ որ նկարը սկսվի հենց վերևից */
.sheet__grab {
	position: absolute;
	top: 0.6rem;
	left: 50%;
	transform: translateX(-50%);
	z-index: 2;
	width: 3rem;
	height: 0.25rem;
	border-radius: 999px;
	/* Բաց երանգ և ստվեր՝ որ երևա ցանկացած լուսավորության նկարի վրա */
	background: rgba(236, 229, 216, 0.75);
	box-shadow: 0 0 0.4rem rgba(5, 7, 6, 0.6);
}

.sheet__close {
	position: absolute;
	top: 0.9rem;
	right: 1rem;
	width: 2.2rem;
	height: 2.2rem;
	display: grid;
	place-items: center;
	border-radius: 999px;
	background: rgba(5, 7, 6, 0.75);
	border: 1px solid var(--line);
	color: var(--gold-soft);
	backdrop-filter: blur(0.25rem);
	z-index: 2;
	transition: color 0.25s var(--ease), transform 0.2s var(--ease), border-color 0.25s var(--ease);
}

.sheet__close:hover {
	color: var(--gold);
	border-color: var(--gold);
}

.sheet__close svg {
	width: 1rem;
	height: 1rem;
}

.sheet__scroll {
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior: contain;
}

.product {
	padding-bottom: 1.75rem;
}

.product__media {
	position: relative;
	width: 100%;
	aspect-ratio: 3 / 2;
	/* Հեռախոսի էկրանին անունն ու գինը պետք է տեսանելի լինեն առանց scroll-ի */
	max-height: 38vh;
	background: var(--surface-3);
	overflow: hidden;
}

.product__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: opacity 0.25s var(--ease);
}

.product__media.is-loading img {
	opacity: 0;
}

.product__media.is-loading::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 1;
	width: 2rem;
	height: 2rem;
	margin: -1rem 0 0 -1rem;
	border: 2px solid var(--line);
	border-top-color: var(--gold);
	border-radius: 50%;
	animation: product-spin 0.7s linear infinite;
}

@keyframes product-spin {
	to { transform: rotate(360deg); }
}

.product__media--empty {
	display: grid;
	place-items: center;
	background: linear-gradient(160deg, var(--velvet), var(--velvet-deep));
	aspect-ratio: 16 / 7;
}

.product__media--empty img {
	width: 5rem;
	height: auto;
	object-fit: contain;
	opacity: 0.55;
}

.product__body {
	padding: 1.35rem 1.5rem 0;
}

.product__name {
	font-family: var(--font-display);
	font-size: clamp(1.4rem, 5.5vw, 1.85rem);
	font-weight: 500;
	line-height: 1.15;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	color: var(--gold-soft);
}

.product__desc {
	margin-top: 0.85rem;
	font-size: 0.95rem;
	line-height: 1.65;
	color: var(--text-dim);
}

.product__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	margin-top: 1rem;
}

.product__footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.85rem;
	margin-top: 1.35rem;
	padding-top: 1.1rem;
	border-top: 1px solid var(--line);
}

.product__price {
	font-family: var(--font-ui);
	font-size: 1.5rem;
	font-weight: 500;
	white-space: nowrap;
	color: var(--gold);
}

.product__price s {
	display: block;
	font-size: 0.85rem;
	font-weight: 400;
	color: var(--text-dim);
}

.fav-toggle {
	width: 2.6rem;
	height: 2.6rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: 1px solid var(--line);
	border-radius: 999px;
	color: var(--gold-soft);
	background: rgba(255, 255, 255, 0.03);
	transition: color 0.25s var(--ease), border-color 0.25s var(--ease), background-color 0.25s var(--ease),
		transform 0.2s var(--ease);
}

.fav-toggle svg {
	width: 1.15rem;
	height: 1.15rem;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
}

.fav-toggle:hover {
	border-color: var(--gold);
	color: var(--gold);
}

.fav-toggle:active {
	transform: scale(0.94);
}

.fav-toggle.is-favorite {
	border-color: var(--gold);
	color: var(--gold);
}

.fav-toggle.is-favorite svg {
	fill: currentColor;
	stroke: currentColor;
}

/* --------------------------------------------------------------------------
   12. Ընտրանի / որոնում — աջից բացվող վահանակ
   -------------------------------------------------------------------------- */
.drawer {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	z-index: 95;
	width: min(26rem, 100%);
	display: grid;
	grid-template-rows: auto 1fr auto;
	background: var(--surface-2);
	border-left: 1px solid var(--line);
	box-shadow: -1rem 0 3rem rgba(0, 0, 0, 0.6);
	transform: translateX(100%);
	visibility: hidden;
	transition: transform 0.38s var(--ease), visibility 0.38s;
}

.drawer.is-open {
	transform: translateX(0);
	visibility: visible;
}

.drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1.15rem 1.35rem;
	border-bottom: 1px solid var(--line);
}

.drawer__title {
	font-family: var(--font-display);
	font-size: 1.3rem;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--gold-soft);
}

.drawer__body {
	overflow-y: auto;
	overscroll-behavior: contain;
	padding: 0.5rem 1.35rem;
}

.drawer__foot {
	padding: 1rem 1.35rem;
	border-top: 1px solid var(--line);
}

.btn-outline {
	display: block;
	width: 100%;
	padding: 0.75rem 1rem;
	border: 1px solid var(--line);
	border-radius: 999px;
	color: var(--text-dim);
	font-family: var(--font-ui);
	font-size: 0.72rem;
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	transition: color 0.25s var(--ease), border-color 0.25s var(--ease), background-color 0.25s var(--ease);
}

.btn-outline:hover {
	border-color: var(--gold);
	color: var(--gold);
	background: var(--gold-glow);
}

.fav-row {
	display: grid;
	grid-template-columns: 4.5rem 1fr;
	gap: 0.9rem;
	align-items: center;
	padding: 0.9rem 0;
	border-bottom: 1px dashed var(--line-soft);
}

.fav-row:last-child {
	border-bottom: 0;
}

.fav-row__figure {
	aspect-ratio: 1;
	border-radius: 0.7rem;
	overflow: hidden;
	background: var(--surface-3);
	display: grid;
	place-items: center;
}

.fav-row__figure img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.fav-row__figure--empty img {
	width: 60%;
	height: auto;
	object-fit: contain;
	opacity: 0.6;
}

.fav-row__main > span {
	display: block;
	min-width: 0;
}

.fav-row__name {
	display: block;
	font-size: 0.95rem;
	font-weight: 700;
	line-height: 1.3;
	color: var(--text);
}

.fav-row__price {
	display: block;
	font-family: var(--font-ui);
	font-size: 0.85rem;
	font-weight: 500;
	color: var(--gold);
	margin-top: 0.2rem;
}

.fav-row__remove {
	width: 2rem;
	height: 2rem;
	display: grid;
	place-items: center;
	border-radius: 999px;
	color: var(--gold);
	transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}

.fav-row__remove:hover {
	background: var(--gold-glow);
	color: var(--gold-soft);
}

.fav-row__remove svg {
	width: 1rem;
	height: 1rem;
	fill: currentColor;
}

.fav-row__main {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.6rem;
	min-width: 0;
}

/* Որոնման վահանակ */
.search-panel {
	position: fixed;
	inset-inline: 0;
	top: 0;
	z-index: 95;
	background: var(--surface-2);
	border-bottom: 1px solid var(--line);
	box-shadow: var(--shadow-card);
	transform: translateY(-100%);
	visibility: hidden;
	transition: transform 0.35s var(--ease), visibility 0.35s;
}

.search-panel.is-open {
	transform: translateY(0);
	visibility: visible;
}

.search-panel__bar {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	min-height: var(--header-h);
}

.search-panel__field {
	flex: 1;
	display: flex;
	align-items: center;
	gap: 0.6rem;
	padding: 0.6rem 1rem;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.04);
	color: var(--text);
}

.search-panel__field svg {
	width: 1.05rem;
	height: 1.05rem;
	flex: 0 0 auto;
	color: var(--gold-mute);
}

.search-panel__field input {
	flex: 1;
	min-width: 0;
	border: 0;
	outline: 0;
	background: transparent;
	font-size: 1rem;
	color: var(--text);
}

.search-panel__field input::placeholder {
	color: var(--text-dim);
	opacity: 0.75;
}

/* --------------------------------------------------------------------------
   13. Footer
   -------------------------------------------------------------------------- */
.site-footer {
	position: relative;
	z-index: 1;
	margin-top: clamp(1rem, 3vw, 1.75rem);
	padding: 0.85rem 0;
	background: transparent;
	color: var(--text);
	border-top: 1px solid var(--line);
}

.site-footer__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem 1rem;
}

.site-footer__social {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	gap: 0.35rem;
}

.site-footer__social .icon-btn {
	width: 2.15rem;
	height: 2.15rem;
}

.site-footer__social .icon-btn svg {
	width: 1.05rem;
	height: 1.05rem;
}

.site-footer__credit {
	flex: 0 0 auto;
	font-size: 0.75rem;
	color: var(--text-dim);
	transition: color 0.25s var(--ease);
}

.site-footer__credit:hover {
	color: var(--gold);
}

/* Վերև բարձրանալու կոճակ */
.to-top {
	position: fixed;
	right: 1rem;
	/* --to-top-lift-ը լրացնում է script.js-ը, երբ էջի ներքևում S2S տողը կհայտնվի */
	bottom: calc(1rem + env(safe-area-inset-bottom, 0px) + var(--to-top-lift, 0px));
	z-index: 50;
	width: 2.85rem;
	height: 2.85rem;
	display: grid;
	place-items: center;
	border-radius: 999px;
	background: var(--gold);
	color: var(--black);
	box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.6);
	opacity: 0;
	visibility: hidden;
	transform: translateY(0.5rem);
	transition: opacity 0.3s var(--ease), visibility 0.3s, transform 0.3s var(--ease), bottom 0.25s var(--ease);
}

.to-top.is-visible {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.to-top svg {
	width: 1.1rem;
	height: 1.1rem;
}

/* Toast */
.toast {
	position: fixed;
	left: 50%;
	bottom: 1.5rem;
	z-index: 120;
	transform: translate(-50%, 1rem);
	max-width: calc(100% - 2.5rem);
	padding: 0.7rem 1.25rem;
	border-radius: 999px;
	background: var(--surface-3);
	border: 1px solid var(--line);
	color: var(--text);
	font-size: 0.85rem;
	box-shadow: var(--shadow-card);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
}

.toast.is-visible {
	opacity: 1;
	visibility: visible;
	transform: translate(-50%, 0);
}

/* --------------------------------------------------------------------------
   13. Անիմացիաներ՝ scroll-ի ժամանակ հայտնվող տարրեր
   -------------------------------------------------------------------------- */
.reveal {
	opacity: 0;
	transform: translateY(1.25rem);
	transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

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

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

/* --------------------------------------------------------------------------
   14. Հարմարեցում մեծ էկրաններին
   -------------------------------------------------------------------------- */
@media (min-width: 40rem) {
	:root {
		--header-h: 4.75rem;
	}

	.container {
		padding-inline: 2rem;
	}

	.wordmark__sub {
		font-size: 0.7rem;
	}

	.brand__mark {
		width: 2.9rem;
		height: 2.9rem;
	}

	.cat-grid,
	.menu-list,
	.skeleton {
		grid-template-columns: repeat(auto-fill, minmax(12.5rem, 1fr));
		gap: 1.6rem 1.15rem;
	}

	.cat-rail,
	.subcats {
		padding-inline: 2rem;
		margin-inline: -2rem;
	}

	.dish__name {
		font-size: 0.98rem;
	}

	.dish__price {
		font-size: 0.9rem;
	}

	.dish__desc {
		font-size: 0.8rem;
	}

}

@media (min-width: 64rem) {
	/* Հերոն՝ ֆոտոն ամբողջ էկրանի ֆոն է (ինչպես մոբայլում),
	   լոգոն ու «Menu»-ն՝ viewport-ի կենտրոնում. */
	.hero {
		justify-content: center;
	}

	.hero__plate {
		margin-top: 0;
		padding-block: 0;
		gap: clamp(1.5rem, 3vw, 2.75rem);
	}

	.hero__name {
		font-size: clamp(1.75rem, 2.4vw, 2.5rem);
	}

	.hero__title {
		font-size: clamp(5rem, 7.5vw, 6.5rem);
	}

	.hero__foot {
		/* PC-ում կոճակը պետք է լինի ներքևի պատին մոտ՝ էկրանի բարձրությունից կախված */
		position: absolute;
		left: 0;
		right: 0;
		bottom: clamp(1.25rem, 4vh, 2.75rem);
		padding-block: 0;
	}

	.hero__media::after {
		/* PC-ում վերևի հատվածը ավելի մուգ, որ լոգոն/«Menu»-ն ավելի լավ երևա */
		background: linear-gradient(180deg, rgba(5, 7, 6, 0.74) 0%, rgba(13, 28, 19, 0.42) 28%, rgba(5, 7, 6, 0.52) 60%, rgba(5, 7, 6, 0.64) 100%);
	}

	.hero__plate,
	.hero__foot {
		z-index: 3;
	}

	.menu-list,
	.skeleton,
	.cat-grid {
		grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
		gap: 2rem 1.5rem;
	}

	.dish__name {
		font-size: 1.05rem;
	}

	.dish__price {
		font-size: 0.95rem;
	}

	.dish__figure,
	.cat-card--tile .cat-card__arch {
		background: var(--black);
	}

	.dish__figure img,
	.cat-card--tile .cat-card__arch img {
		object-fit: contain;
	}

	.dish:hover .dish__figure img,
	.cat-card:hover .cat-card__arch img {
		transform: none;
	}

	/* Ապրանքի պատուհանը՝ էկրանի կենտրոնում */
	.sheet {
		top: 50%;
		left: 50%;
		right: auto;
		bottom: auto;
		width: min(48rem, calc(100vw - 4rem));
		max-height: min(88vh, 46rem);
		border: 1px solid var(--line);
		border-radius: var(--radius-lg);
		transform: translate(-50%, calc(-50% + 1.5rem)) scale(0.98);
		opacity: 0;
		transition: transform 0.35s var(--ease), opacity 0.35s var(--ease), visibility 0.35s;
	}

	.sheet.is-open {
		transform: translate(-50%, -50%) scale(1);
		opacity: 1;
	}

	.sheet__grab {
		display: none;
	}

	.product__media {
		aspect-ratio: auto;
		height: auto;
		min-height: 12rem;
		max-height: min(58vh, 32rem);
		display: flex;
		align-items: center;
		justify-content: center;
		background: var(--black);
	}

	.product__media img {
		width: auto;
		height: auto;
		max-width: 100%;
		max-height: min(58vh, 32rem);
		object-fit: contain;
	}

	.product__media--empty {
		display: grid;
		aspect-ratio: 16 / 7;
		max-height: none;
	}

	.product__media--empty img {
		width: 5rem;
		max-height: none;
	}

	.product__body {
		padding-inline: 2.25rem;
	}

	.to-top {
		right: 2rem;
		bottom: calc(2rem + env(safe-area-inset-bottom, 0px) + var(--to-top-lift, 0px));
	}
}
