/* ===================================================================
   Adore Menu — dark / gold / deep-olive theme, mobile-first accordion
   Typeface: Doran (Persian display) — see @font-face below.
   =================================================================== */

@font-face {
	font-family: "Doran";
	src: url("../fonts/Doran-Regular.woff2") format("woff2"),
		url("../fonts/Doran-Regular.woff") format("woff");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Doran";
	src: url("../fonts/Doran-Bold.woff2") format("woff2"),
		url("../fonts/Doran-Bold.woff") format("woff");
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

.adore-menu-wrap {
	/* ---- palette ---- */
	--adore-bg: #080808;
	--adore-panel: #101009;
	--adore-panel-open: #14150d;
	--adore-olive: #3d4a28;
	--adore-olive-soft: #232617;
	--adore-olive-line: rgba(126, 143, 79, 0.28);
	--adore-gold: #c9a227;
	--adore-gold-bright: #e2c458;
	--adore-gold-dim: rgba(201, 162, 39, 0.55);
	--adore-ink: #f2ede0;
	--adore-muted: #9b9686;
	--adore-hairline: rgba(201, 162, 39, 0.16);

	/* ---- type ---- */
	--adore-font-fa: "Doran", "Vazirmatn", "IRANSans", Tahoma, sans-serif;
	--adore-font-en: "Helvetica Neue", Arial, sans-serif;

	background: var(--adore-bg);
	color: var(--adore-ink);
	font-family: var(--adore-font-fa);
	max-width: 760px;
	margin: 0 auto;
	padding: 28px 14px 40px;
	box-sizing: border-box;
}

.adore-menu-wrap * {
	box-sizing: border-box;
}

.adore-menu-empty {
	text-align: center;
	color: var(--adore-muted);
	padding: 48px 0;
}

/* ---------------------------------------------------------------
   Signature wordmark — the one bold gesture at the top of the page
   --------------------------------------------------------------- */

.adore-menu-mark {
	text-align: center;
	margin-bottom: 28px;
	padding-bottom: 20px;
	position: relative;
}

.adore-menu-mark-en {
	display: block;
	font-family: var(--adore-font-en);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.5em;
	color: var(--adore-gold-bright);
	text-indent: 0.5em; /* optically re-center the tracked text */
}

.adore-menu-mark-fa {
	display: block;
	margin-top: 6px;
	font-family: var(--adore-font-fa);
	font-size: 26px;
	font-weight: 700;
	color: var(--adore-ink);
}

.adore-menu-mark::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 64px;
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--adore-gold), transparent);
}

/* ---------------------------------------------------------------
   Category panels
   --------------------------------------------------------------- */

.adore-cat {
	border: 1px solid var(--adore-olive-line);
	border-radius: 14px;
	margin-bottom: 12px;
	overflow: hidden;
	background: var(--adore-panel);
	transition: border-color 0.25s ease, background 0.25s ease;
}

.adore-cat.is-open {
	background: var(--adore-panel-open);
	border-color: var(--adore-gold-dim);
}

.adore-menu-wrap button.adore-cat-header {
	all: unset !important;
	box-sizing: border-box !important;
	display: flex !important;
	width: 100% !important;
	align-items: center !important;
	justify-content: space-between !important;
	gap: 12px !important;
	padding: 16px 18px !important;
	margin: 0 !important;
	background: var(--adore-olive-soft) !important;
	border: none !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	outline: none !important;
	cursor: pointer !important;
	text-align: right !important;
	font-family: var(--adore-font-fa) !important;
	color: var(--adore-ink) !important;
	transition: background 0.25s ease !important;
}

.adore-menu-wrap .adore-cat.is-open button.adore-cat-header {
	background: var(--adore-olive) !important;
}

.adore-menu-wrap button.adore-cat-header:hover {
	background: var(--adore-olive) !important;
}

.adore-cat-title {
	display: flex;
	align-items: center;
	gap: 10px;
}

.adore-cat-leaf {
	flex: none;
	width: 18px;
	height: 18px;
	color: var(--adore-gold);
	opacity: 0.85;
}

.adore-cat-title-text {
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.adore-cat-title-text {
	font-size: 17px;
	font-weight: 700;
	color: var(--adore-ink);
}

.adore-cat-title-en {
	font-family: var(--adore-font-en);
	font-size: 10.5px;
	font-weight: 600;
	letter-spacing: 0.22em;
	color: var(--adore-gold-bright);
	text-transform: uppercase;
}

.adore-cat-icon {
	flex: none;
	width: 20px;
	height: 20px;
	position: relative;
}

.adore-cat-icon::before,
.adore-cat-icon::after {
	content: "";
	position: absolute;
	background: var(--adore-gold);
	border-radius: 1px;
	transition: transform 0.3s ease, opacity 0.3s ease;
}

.adore-cat-icon::before {
	top: 50%;
	left: 0;
	width: 100%;
	height: 1.5px;
	transform: translateY(-50%);
}

.adore-cat-icon::after {
	top: 0;
	left: 50%;
	width: 1.5px;
	height: 100%;
	transform: translateX(-50%);
}

.adore-cat.is-open .adore-cat-icon::after {
	transform: translateX(-50%) rotate(90deg);
	opacity: 0;
}

.adore-cat-body {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.35s ease;
}

.adore-cat.is-open .adore-cat-body {
	max-height: 4000px; /* JS sets the precise px value; this is a safe fallback */
}

.adore-cat-items {
	padding: 4px 18px 10px;
	border-top: 1px solid var(--adore-hairline);
}

/* ---------------------------------------------------------------
   Items
   --------------------------------------------------------------- */

.adore-item {
	display: flex;
	gap: 14px;
	padding: 16px 0;
	border-bottom: 1px dashed var(--adore-hairline);
}

.adore-item:last-child {
	border-bottom: none;
}

.adore-item-thumb {
	flex: none;
	width: 68px;
	height: 68px;
	border-radius: 10px;
	overflow: hidden;
	background: var(--adore-olive-soft);
	border: 1px solid var(--adore-gold-dim);
}

.adore-item-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.adore-item-body {
	flex: 1;
	min-width: 0;
}

.adore-item-top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 10px;
}

.adore-menu-wrap h3.adore-item-title {
	margin: 0 !important;
	padding: 0 !important;
	font-size: 15px !important;
	font-weight: 700 !important;
	font-family: var(--adore-font-fa) !important;
	color: var(--adore-ink) !important;
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 7px;
	line-height: 1.4;
}

.adore-item-title-en {
	font-family: var(--adore-font-en);
	font-size: 10.5px;
	font-weight: 500;
	letter-spacing: 0.05em;
	color: var(--adore-muted);
}

.adore-item-price {
	flex: none;
	font-size: 13.5px;
	font-weight: 700;
	color: var(--adore-gold-bright);
	white-space: nowrap;
	letter-spacing: 0.02em;
}

.adore-item-desc {
	margin: 7px 0 0;
	font-size: 12.5px;
	line-height: 1.8;
	color: var(--adore-muted);
}

/* Larger screens */
@media (min-width: 600px) {
	.adore-menu-wrap {
		padding: 44px 24px 60px;
	}

	.adore-menu-mark-fa {
		font-size: 30px;
	}

	.adore-cat-header {
		padding: 18px 22px;
	}

	.adore-cat-items {
		padding: 4px 22px 12px;
	}

	.adore-item-thumb {
		width: 80px;
		height: 80px;
	}
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
	.adore-cat, .adore-cat-header, .adore-cat-body, .adore-cat-icon::before, .adore-cat-icon::after {
		transition: none !important;
	}
}

/* Keyboard focus visibility */
.adore-menu-wrap button.adore-cat-header:focus-visible {
	outline: 2px solid var(--adore-gold) !important;
	outline-offset: -2px !important;
}

/* ---------------------------------------------------------------
   Item detail popup
   --------------------------------------------------------------- */

.adore-menu-wrap .adore-item {
	cursor: pointer;
}

.adore-menu-wrap .adore-item:hover .adore-item-title,
.adore-menu-wrap .adore-item:focus-visible .adore-item-title {
	color: var(--adore-gold-bright) !important;
}

.adore-menu-wrap .adore-item:focus-visible {
	outline: 1px solid var(--adore-gold-dim);
	outline-offset: 4px;
	border-radius: 8px;
}

.adore-modal-overlay {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(4, 4, 3, 0.72);
	backdrop-filter: blur(2px);
	opacity: 0;
	transition: opacity 0.2s ease;
	padding: 18px;
}

.adore-modal-overlay[hidden] {
	display: none;
}

.adore-modal-overlay.is-visible {
	opacity: 1;
}

.adore-modal {
	position: relative;
	width: 100%;
	max-width: 420px;
	max-height: 86vh;
	overflow-y: auto;
	background: var(--adore-panel-open);
	border: 1px solid var(--adore-gold-dim);
	border-radius: 18px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
	transform: scale(0.94);
	transition: transform 0.22s ease;
}

.adore-modal-overlay.is-visible .adore-modal {
	transform: scale(1);
}

.adore-menu-wrap button.adore-modal-close {
	all: unset !important;
	position: absolute !important;
	top: 12px !important;
	left: 14px !important;
	z-index: 2 !important;
	display: block !important;
	color: var(--adore-gold-bright) !important;
	font-family: var(--adore-font-en) !important;
	font-size: 26px !important;
	font-weight: 400 !important;
	line-height: 1 !important;
	cursor: pointer !important;
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
	padding: 4px !important;
}

.adore-modal-image-wrap {
	width: 100%;
	aspect-ratio: 4 / 3;
	background: var(--adore-olive-soft);
	border-bottom: 1px solid var(--adore-hairline);
}

.adore-modal-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.adore-modal-body {
	padding: 22px 20px 26px;
}

.adore-menu-wrap h3.adore-modal-title {
	margin: 0 0 4px !important;
	display: flex;
	flex-direction: column;
	gap: 4px;
	font-family: var(--adore-font-fa) !important;
}

#adore-modal-title-fa {
	font-size: 19px;
	font-weight: 700;
	color: var(--adore-ink);
}

.adore-modal-title-en {
	font-family: var(--adore-font-en);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--adore-gold-bright);
}

.adore-modal-desc {
	margin: 14px 0 0;
	font-size: 13.5px;
	line-height: 1.9;
	color: var(--adore-muted);
}

.adore-modal-price {
	display: block;
	margin-top: 18px;
	font-size: 16px;
	font-weight: 800;
	color: var(--adore-gold-bright);
	letter-spacing: 0.02em;
}
