/*
Theme Name:        گذر تشریفات
Theme URI:         https://example.com/gozar-tashrifat
Description:        قالب نمایشی پلتفرم «گذر تشریفات» برای معرفی کسب‌وکارهای صنعت مراسم. طراحی گرم و لوکس با هویت طلایی/کرم. همراه با افزونه‌ی «گذر تشریفات - هسته».
Version:           0.9.2
Requires at least: 6.0
Requires PHP:      7.4
Author:            Gozar Tashrifat
Text Domain:       gozar-tashrifat
License:           GPL-2.0-or-later
*/

/* ---------- توکن‌های طراحی ---------- */
:root {
	--gt-bg: #F6F8FA;
	--gt-surface: #FFFFFF;
	--gt-ink: #2B303B;
	--gt-muted: #5b6470;
	--gt-muted-2: #8a93a0;
	--gt-line: #e9edf1;
	--gt-line-2: #B9EAE4;
	--gt-gold: #14B8A6;
	--gt-gold-deep: #119D90;
	--gt-gold-soft: #E3F6F4;
	--gt-gold-soft-2: #D0F1ED;
	--gt-featured: #FFEFF5;
	--gt-dark: #2B303B;

	--gt-maxw: 1240px;
	--gt-readw: 820px;
	--gt-pad: 40px;
}

/* ---------- پایه ---------- */
* , *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--gt-bg);
	color: var(--gt-ink);
	font-family: 'Vazirmatn', 'Segoe UI', Tahoma, sans-serif;
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gt-gold-deep); text-decoration: none; }
a:hover { color: var(--gt-ink); }
h1, h2, h3 { font-weight: 800; line-height: 1.2; letter-spacing: -0.4px; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
::selection { background: var(--gt-gold-soft-2); color: var(--gt-ink); }
:focus-visible { outline: 2px solid var(--gt-gold); outline-offset: 2px; }

@keyframes gt-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }

/* ---------- چیدمان ---------- */
.gt-container { max-width: var(--gt-maxw); margin-inline: auto; padding-inline: var(--gt-pad); }
.gt-section { padding-block: 84px; }

/* ---------- نشان لوزی (امضای برند) ---------- */
.gt-diamond { width: 11px; height: 11px; background: var(--gt-gold); transform: rotate(45deg); flex: none; }

/* ---------- دکمه‌ها ---------- */
.gt-btn {
	display: inline-flex; align-items: center; gap: 8px;
	background: var(--gt-dark); color: var(--gt-bg);
	font-size: 14px; font-weight: 600; font-family: inherit;
	padding: 11px 22px; border-radius: 999px; border: none; cursor: pointer;
	transition: background .18s ease, color .18s ease;
}
.gt-btn:hover { background: var(--gt-gold); color: var(--gt-dark); }
.gt-btn--gold { background: var(--gt-gold); color: var(--gt-dark); }
.gt-btn--gold:hover { background: #B68C42; color: var(--gt-dark); }

/* ---------- هدر ---------- */
.gt-header {
	position: sticky; top: 0; z-index: 50;
	background: var(--gt-header-bg);
	backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--gt-line);
}
.gt-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 16px; }
.gt-brand { display: flex; align-items: center; gap: 10px; font-size: 21px; font-weight: 800; color: var(--gt-ink); letter-spacing: -0.3px; }
.gt-brand:hover { color: var(--gt-ink); }
.gt-nav { display: flex; align-items: center; gap: 34px; font-size: 15px; font-weight: 500; }
.gt-nav a { color: #3A4150; }
.gt-nav a:hover { color: var(--gt-gold-deep); }
.gt-nav__toggle { display: none; background: none; border: 1px solid var(--gt-line-2); border-radius: 10px; padding: 9px 13px; font: inherit; color: var(--gt-ink); cursor: pointer; }

/* ---------- کیکر و سرتیتر بخش ---------- */
.gt-kicker { font-size: 13px; font-weight: 600; color: var(--gt-gold-deep); margin-bottom: 10px; }
.gt-sec__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 36px; }
.gt-sec__head h2 { font-size: 36px; margin: 0; }
.gt-sec__more { font-size: 15px; font-weight: 600; color: var(--gt-ink); display: inline-flex; align-items: center; gap: 7px; }
.gt-sec__more:hover { color: var(--gt-gold-deep); }
.gt-sec__more span { color: var(--gt-gold); }

/* ---------- هیرو ---------- */
.gt-hero { position: relative; overflow: hidden; background: radial-gradient(120% 130% at 50% -20%, var(--gt-gold-soft) 0%, var(--gt-bg) 55%); }
.gt-hero__inner { max-width: 1000px; margin-inline: auto; padding: 88px var(--gt-pad) 0; text-align: center; }
.gt-badge {
	display: inline-flex; align-items: center; gap: 9px;
	font-size: 13px; font-weight: 600; color: var(--gt-gold-deep);
	background: var(--gt-gold-soft-2); border: 1px solid var(--gt-line-2);
	padding: 7px 16px; border-radius: 999px; margin-bottom: 26px;
	animation: gt-rise .6s ease both;
}
.gt-badge::before { content: ""; width: 6px; height: 6px; background: var(--gt-gold); border-radius: 50%; }
.gt-hero h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1.18; letter-spacing: -1px; margin: 0 0 22px; text-wrap: balance; animation: gt-rise .7s ease both; }
.gt-hero h1 .hl { color: var(--gt-accent); }
.gt-hero__sub { font-size: 19px; color: var(--gt-muted); max-width: 640px; margin: 0 auto; text-wrap: pretty; animation: gt-rise .8s ease both; }

/* ---------- نوار جستجو ---------- */
.gt-search {
	background: var(--gt-surface); border: 1px solid var(--gt-line); border-radius: 22px;
	box-shadow: 0 24px 60px -28px rgba(30,41,59,0.32);
	padding: 16px; margin: 44px auto 0; max-width: 940px;
	display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: 10px; align-items: stretch; text-align: right;
	animation: gt-rise .9s ease both;
}
.gt-search__field { position: relative; padding: 8px 14px; }
.gt-search__field + .gt-search__field { border-right: 1px solid var(--gt-line); }
.gt-search__field label { display: block; font-size: 12px; font-weight: 600; color: var(--gt-gold-deep); margin-bottom: 4px; }
.gt-search__field select {
	appearance: none; -webkit-appearance: none; width: 100%; border: none; outline: none;
	background: transparent; font-family: inherit; font-size: 15px; font-weight: 500; color: var(--gt-ink);
	padding: 2px 0; cursor: pointer;
}
.gt-search__field .caret { position: absolute; left: 14px; bottom: 12px; color: var(--gt-gold); font-size: 11px; pointer-events: none; }
.gt-search__btn { border-radius: 14px; padding: 0 30px; justify-content: center; }

.gt-popular { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 10px; margin: 22px auto 0; max-width: 720px; padding-bottom: 88px; }
.gt-popular__label { font-size: 13px; color: var(--gt-muted-2); }
.gt-tag { font-size: 13px; color: var(--gt-gold-deep); background: var(--gt-gold-soft); padding: 4px 12px; border-radius: 999px; }
.gt-tag:hover { background: var(--gt-line-2); color: var(--gt-ink); }

/* ---------- شبکه‌ی دسته‌ها ---------- */
.gt-cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gt-cat {
	display: block; background: var(--gt-surface); border: 1px solid var(--gt-line);
	border-radius: 18px; padding: 26px 26px 24px; color: inherit;
	transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.gt-cat:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -26px rgba(30,41,59,0.4); border-color: var(--gt-line-2); color: inherit; }
.gt-cat__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 30px; }
.gt-cat__icon { width: 42px; height: 42px; border-radius: 12px; background: var(--gt-gold-soft); border: 1px solid var(--gt-line-2); display: flex; align-items: center; justify-content: center; }
.gt-cat__icon .gt-diamond { width: 12px; height: 12px; }
.gt-cat__count { font-size: 12px; font-weight: 600; color: var(--gt-muted-2); }
.gt-cat__name { font-size: 19px; font-weight: 700; margin-bottom: 4px; }
.gt-cat__desc { font-size: 14px; color: var(--gt-muted-2); }

/* ---------- بخش ویژه ---------- */
.gt-featured { background: var(--gt-featured); border-block: 1px solid var(--gt-line); }
.gt-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.gt-card {
	display: block; background: var(--gt-surface); border: 1px solid var(--gt-line); border-radius: 18px;
	overflow: hidden; color: inherit; transition: transform .18s ease, box-shadow .18s ease;
}
.gt-card:hover { transform: translateY(-4px); box-shadow: 0 22px 46px -28px rgba(30,41,59,0.5); color: inherit; }
.gt-card__media { position: relative; height: 188px; display: flex; align-items: center; justify-content: center; overflow: hidden; background: repeating-linear-gradient(45deg, #EEF1F4 0, #EEF1F4 11px, #F6F8FA 11px, #F6F8FA 22px); }
.gt-card__media img { width: 100%; height: 100%; object-fit: cover; }
.gt-card__ph { font-family: 'Courier New', monospace; font-size: 11px; color: var(--gt-muted-2); letter-spacing: .5px; }
.gt-card__badge { position: absolute; top: 14px; right: 14px; background: var(--gt-accent); color: #fff; font-size: 11px; font-weight: 700; padding: 5px 12px; border-radius: 999px; }
.gt-card__body { padding: 20px 22px 22px; }
.gt-card__cat { font-size: 12px; font-weight: 600; color: var(--gt-gold-deep); margin-bottom: 7px; }
.gt-card__name { font-size: 19px; font-weight: 700; margin-bottom: 9px; }
.gt-card__meta { font-size: 14px; color: var(--gt-muted); display: flex; align-items: center; gap: 7px; margin-bottom: 16px; }
.gt-card__meta::before { content: ""; width: 5px; height: 5px; background: var(--gt-gold); border-radius: 50%; flex: none; }
.gt-card__foot { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; border-top: 1px solid var(--gt-line); }
.gt-card__more { font-size: 13px; font-weight: 600; color: var(--gt-gold-deep); }

/* ---------- آمار ---------- */
.gt-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 24px; text-align: center; }
.gt-stat__value { font-size: 42px; font-weight: 800; color: var(--gt-gold-deep); letter-spacing: -1px; margin-bottom: 4px; }
.gt-stat__label { font-size: 15px; color: var(--gt-muted); }

/* ---------- فراخوان ثبت ---------- */
.gt-cta { position: relative; overflow: hidden; background: var(--gt-dark); border-radius: 26px; padding: 64px 56px; text-align: center; }
.gt-cta__blob { position: absolute; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--gt-accent) 30%, transparent), transparent 70%); }
.gt-cta__blob--a { top: -120px; left: -80px; }
.gt-cta__blob--b { bottom: -140px; right: -60px; }
.gt-cta__inner { position: relative; }
.gt-cta h2 { font-size: 34px; color: var(--gt-bg); margin: 0 0 14px; }
.gt-cta p { font-size: 18px; color: #C9CED8; max-width: 560px; margin: 0 auto 30px; text-wrap: pretty; }

/* ---------- مسیر راهنما / صفحه‌ی تکی ---------- */
.gt-breadcrumb { font-size: 13px; color: var(--gt-muted-2); padding-block: 22px 4px; }
.gt-breadcrumb a { color: var(--gt-muted-2); }
.gt-breadcrumb a:hover { color: var(--gt-ink); }
.gt-breadcrumb .sep { margin-inline: 8px; opacity: .5; }
.gt-single { padding-bottom: 72px; }
.gt-single__wrap { max-width: var(--gt-readw); margin-inline: auto; }
.gt-chip { display: inline-block; background: var(--gt-gold-soft-2); color: var(--gt-gold-deep); font-size: 13px; font-weight: 600; padding: 5px 14px; border-radius: 999px; margin-bottom: 16px; }
.gt-single__title { font-size: clamp(30px, 4vw, 46px); margin: 0 0 24px; }
.gt-single__media { border-radius: 18px; overflow: hidden; border: 1px solid var(--gt-line); margin-bottom: 36px; }
.gt-content { font-size: 1.08rem; }
.gt-content p { color: #3A4150; }

/* جدول مشخصات */
.gt-specs { margin-top: 44px; }
.gt-specs__head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 18px; }
.gt-specs__head h2 { font-size: 24px; margin: 0; }
.gt-specs__list { border-top: 1px solid var(--gt-line); }
.gt-spec { display: grid; grid-template-columns: 180px 1fr; gap: 16px; padding: 16px 4px; border-bottom: 1px solid var(--gt-line); }
.gt-spec__label { color: var(--gt-muted-2); font-size: .97rem; }
.gt-spec__value { font-weight: 500; color: var(--gt-ink); }
.gt-spec__unit { color: var(--gt-muted-2); font-size: .9em; }

/* ---------- آرشیو ---------- */
.gt-archive-head { padding-block: 40px 0; }
.gt-archive-head h1 { font-size: clamp(30px, 4vw, 42px); margin: 0; }
.gt-archive-head p { color: var(--gt-muted); margin-top: 10px; }
.gt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 22px; padding-block: 32px 72px; }

/* ---------- فوتر ---------- */
.gt-footer { background: var(--gt-surface); border-top: 1px solid var(--gt-line); }
.gt-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding: 56px var(--gt-pad) 32px; max-width: var(--gt-maxw); margin-inline: auto; }
.gt-footer__about { font-size: 14px; color: var(--gt-muted-2); max-width: 300px; margin: 16px 0 0; }
.gt-footer__col h3 { font-size: 14px; font-weight: 700; margin: 0 0 14px; }
.gt-footer__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.gt-footer__col a, .gt-footer__col li { font-size: 14px; color: var(--gt-muted); }
.gt-footer__col a:hover { color: var(--gt-gold-deep); }
.gt-footer__bottom { border-top: 1px solid var(--gt-line); }
.gt-footer__bottom-inner { max-width: var(--gt-maxw); margin-inline: auto; padding: 18px var(--gt-pad); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 13px; color: var(--gt-muted-2); }

/* ---------- صفحه‌بندی و خالی ---------- */
.gt-empty { text-align: center; padding: 80px 20px; color: var(--gt-muted); }
.pagination, .nav-links { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; padding-bottom: 60px; }
.pagination .page-numbers { display: inline-flex; min-width: 40px; height: 40px; align-items: center; justify-content: center; padding: 0 10px; border: 1px solid var(--gt-line); border-radius: 10px; background: var(--gt-surface); color: var(--gt-ink); }
.pagination .page-numbers.current { background: var(--gt-gold); border-color: var(--gt-gold); color: var(--gt-dark); font-weight: 700; }

/* ---------- واکنش‌گرا ---------- */
@media (max-width: 980px) {
	.gt-cats, .gt-cards { grid-template-columns: repeat(2, 1fr); }
	.gt-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
	:root { --gt-pad: 20px; }
	.gt-nav { display: none; position: absolute; inset-inline: 0; top: 64px; background: var(--gt-surface); border-bottom: 1px solid var(--gt-line); flex-direction: column; align-items: flex-start; gap: 0; padding: 8px 20px 16px; }
	.gt-nav.is-open { display: flex; }
	.gt-nav a { padding-block: 10px; width: 100%; }
	.gt-nav__toggle { display: inline-block; }
	.gt-search { grid-template-columns: 1fr; }
	.gt-search__field + .gt-search__field { border-right: none; border-top: 1px solid var(--gt-line); }
	.gt-search__btn { padding: 14px; }
	.gt-cats, .gt-cards { grid-template-columns: 1fr; }
	.gt-footer__grid { grid-template-columns: 1fr; gap: 28px; }
	.gt-spec { grid-template-columns: 1fr; gap: 4px; }
	.gt-cta { padding: 48px 24px; }
	.gt-section { padding-block: 56px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ============ برگه‌ها و فرم‌های فرانت‌اند (مرحله ۵) ============ */
.gt-page { padding-block: 48px 80px; max-width: 980px; }
.gt-page__head { margin-bottom: 28px; }
.gt-page__title { font-size: clamp(28px, 4vw, 40px); margin: 0; }

/* دکمه‌ها */
.gt-btn--lg { padding: 14px 34px; font-size: 16px; }
.gt-link { color: var(--gt-muted); font-size: 14px; }
.gt-link:hover { color: var(--gt-ink); }

/* پیام‌ها */
.gt-alert { padding: 14px 18px; border-radius: 12px; margin-bottom: 22px; font-size: 15px; font-weight: 500; }
.gt-alert--ok { background: #ECF6EC; border: 1px solid #BFE0BF; color: #2F6B33; }
.gt-alert--err { background: #FBEDED; border: 1px solid #E6BcBc; color: #9B2C2C; }

/* فرم‌ها */
.gt-form { display: flex; flex-direction: column; gap: 16px; max-width: 540px; }
.gt-field { display: flex; flex-direction: column; gap: 6px; }
.gt-field > span { font-size: 14px; font-weight: 600; color: var(--gt-ink); }
.gt-field > span em { color: var(--gt-gold-deep); font-style: normal; }
.gt-field input[type="text"],
.gt-field input[type="email"],
.gt-field input[type="password"],
.gt-field input[type="url"],
.gt-field input[type="tel"],
.gt-field input[type="number"],
.gt-field select,
.gt-field textarea {
	width: 100%; font-family: inherit; font-size: 15px; color: var(--gt-ink);
	background: var(--gt-surface); border: 1px solid var(--gt-line-2); border-radius: 12px;
	padding: 11px 14px; outline: none; transition: border-color .15s ease, box-shadow .15s ease;
}
.gt-field input:focus, .gt-field select:focus, .gt-field textarea:focus {
	border-color: var(--gt-gold); box-shadow: 0 0 0 3px color-mix(in srgb, var(--gt-gold) 30%, transparent);
}
.gt-field small { color: var(--gt-muted-2); font-size: 12px; }
.gt-check { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--gt-muted); }
.gt-check-group { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.gt-field-group { border: 1px solid var(--gt-line); border-radius: 16px; padding: 20px; display: flex; flex-direction: column; gap: 16px; background: var(--gt-bg-soft); }
.gt-field-group h4 { margin: 0 0 4px; font-size: 16px; }

/* ورود/ثبت‌نام دوستونه */
.gt-auth { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.gt-auth--in, .gt-auth--prompt { display: block; background: var(--gt-bg-soft); border: 1px solid var(--gt-line); border-radius: 16px; padding: 28px; }
.gt-auth__col { background: var(--gt-surface); border: 1px solid var(--gt-line); border-radius: 16px; padding: 26px; }
.gt-auth__col h3 { margin: 0 0 18px; font-size: 20px; }

/* ویزارد */
.gt-wizard { max-width: 620px; }
.gt-steps { list-style: none; display: flex; gap: 10px; padding: 0; margin: 0 0 28px; flex-wrap: wrap; }
.gt-steps li { font-size: 13px; font-weight: 600; color: var(--gt-muted-2); background: var(--gt-gold-soft); padding: 7px 14px; border-radius: 999px; }
.gt-steps li.is-active { background: var(--gt-gold); color: var(--gt-dark); }
.gt-steps li.is-done { background: var(--gt-gold-soft); color: var(--gt-gold-deep); }
.gt-wizard h3 { font-size: 22px; margin: 0 0 18px; }
.gt-wizard__cat { font-size: 14px; color: var(--gt-muted); margin-bottom: 20px; }

.gt-cat-choices { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 20px; }
.gt-cat-choice { display: flex; align-items: center; gap: 10px; border: 1px solid var(--gt-line-2); border-radius: 12px; padding: 13px 16px; cursor: pointer; font-weight: 500; transition: border-color .15s ease, background .15s ease; }
.gt-cat-choice:has(input:checked) { border-color: var(--gt-gold); background: var(--gt-gold-soft); }

/* پلن */
.gt-plan { border: 1px solid var(--gt-line); border-radius: 16px; padding: 20px; background: var(--gt-bg-soft); }
.gt-plan h4 { margin: 0 0 12px; font-size: 16px; }
.gt-plan__option { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 6px 12px; border: 1px solid var(--gt-line-2); border-radius: 12px; padding: 14px 16px; cursor: pointer; }
.gt-plan__option.is-selected { border-color: var(--gt-gold); background: var(--gt-gold-soft); }
.gt-plan__name { font-weight: 700; }
.gt-plan__desc { grid-column: 2; font-size: 13px; color: var(--gt-muted); }
.gt-plan__note { font-size: 13px; color: var(--gt-muted-2); margin: 12px 0 0; }

/* داشبورد */
.gt-dash__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.gt-dash__head h3 { margin: 0; font-size: 22px; }
.gt-dash__table { width: 100%; border-collapse: collapse; background: var(--gt-surface); border: 1px solid var(--gt-line); border-radius: 14px; overflow: hidden; }
.gt-dash__table th, .gt-dash__table td { text-align: right; padding: 14px 16px; border-bottom: 1px solid var(--gt-line); font-size: 14px; }
.gt-dash__table thead th { background: var(--gt-gold-soft); color: var(--gt-gold-deep); font-weight: 700; }
.gt-dash__table tr:last-child td { border-bottom: none; }

@media (max-width: 640px) {
	.gt-auth { grid-template-columns: 1fr; }
	.gt-cat-choices { grid-template-columns: 1fr; }
}

/* ============ لوگو و اصلاح هدر موبایل ============ */
.gt-brand { white-space: nowrap; }
.gt-brand__logo { max-height: 40px; width: auto; display: block; }
.gt-brand--logo { gap: 0; }
.gt-nav__cta { display: none; }

@media (max-width: 720px) {
	.gt-header__cta { display: none; }
	.gt-brand { font-size: 18px; }
	.gt-brand__logo { max-height: 34px; }
	.gt-nav__cta { display: inline-flex; width: 100%; justify-content: center; margin-top: 10px; }
	.gt-nav a.gt-nav__cta,
	.gt-nav a.gt-nav__cta:hover { color: var(--gt-dark); }
}

/* ============ صفحه‌ی تکی کسب‌وکار (مطابق دیزاین) ============ */
/* گالری */
.gt-gallery { display: grid; grid-template-columns: 1.55fr 1fr; gap: 10px; height: 470px; }
.gt-gallery--single { display: block; height: auto; }
.gt-gallery--single .gt-gallery__img { width: 100%; max-height: 470px; object-fit: cover; border-radius: 18px; }
.gt-gallery__main { border-radius: 18px; overflow: hidden; }
.gt-gallery__main .gt-gallery__img { width: 100%; height: 100%; object-fit: cover; }
.gt-gallery__grid { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 10px; }
.gt-gallery__thumb { position: relative; border-radius: 14px; overflow: hidden; }
.gt-gallery__thumb .gt-gallery__img { width: 100%; height: 100%; object-fit: cover; }
.gt-gallery__more { position: absolute; inset: 0; background: rgba(43,38,32,0.55); color: var(--gt-bg); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; font-size: 13px; font-weight: 600; }
.gt-gallery__more strong { font-size: 22px; }

/* چیدمان دوستونه */
.gt-listing { display: grid; grid-template-columns: 1fr 360px; gap: 40px; align-items: start; padding-top: 34px; padding-bottom: 90px; }
.gt-listing__main { min-width: 0; }

/* سرتیتر */
.gt-lhead__top { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.gt-badge-featured { background: var(--gt-accent); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.gt-lhead__title { font-size: clamp(28px, 4vw, 38px); font-weight: 800; letter-spacing: -0.8px; margin: 0 0 12px; }
.gt-lhead__meta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; font-size: 15px; color: var(--gt-muted); margin-bottom: 18px; }
.gt-lhead__actions { display: flex; gap: 10px; margin-bottom: 8px; }
.gt-iconbtn { width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--gt-line-2); background: var(--gt-surface); cursor: pointer; font-size: 18px; color: var(--gt-muted); transition: border-color .15s ease, color .15s ease; }
.gt-iconbtn:hover { border-color: var(--gt-gold); color: var(--gt-gold-deep); }
.gt-save.is-saved { color: #C0392B; border-color: #C0392B; }

/* مشخصات سریع */
.gt-quickstats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 28px 0 12px; }
.gt-qs { background: var(--gt-surface); border: 1px solid var(--gt-line); border-radius: 14px; padding: 16px 18px; }
.gt-qs__label { font-size: 12px; color: var(--gt-gold-deep); font-weight: 600; margin-bottom: 6px; }
.gt-qs__value { font-size: 17px; font-weight: 700; }

/* بلوک‌های محتوا */
.gt-block { margin-top: 40px; }
.gt-block__title { font-size: 22px; font-weight: 800; margin: 0 0 16px; position: relative; padding-right: 16px; }
.gt-block__title::before { content: ""; position: absolute; right: 0; top: 4px; bottom: 4px; width: 4px; border-radius: 4px; background: var(--gt-gold); }

/* امکانات */
.gt-amenities { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px 18px; }
.gt-amenity { font-size: 15px; color: #3A4150; }

/* نقشه */
.gt-map { background: var(--gt-surface); border: 1px solid var(--gt-line); border-radius: 16px; padding: 22px; }
.gt-map__addr { margin: 0 0 12px; color: var(--gt-ink); }
.gt-map__dir { font-weight: 600; color: var(--gt-gold-deep); }

/* سایدبار */
.gt-listing__side { position: sticky; top: 92px; }
.gt-side__card { background: var(--gt-surface); border: 1px solid var(--gt-line-2); border-radius: 18px; padding: 24px; box-shadow: 0 18px 50px -34px rgba(30,41,59,0.5); display: flex; flex-direction: column; gap: 14px; }
.gt-price { padding-bottom: 14px; border-bottom: 1px solid var(--gt-line); }
.gt-price__label { display: block; font-size: 13px; color: var(--gt-muted-2); margin-bottom: 6px; }
.gt-price__num { font-size: 26px; font-weight: 800; color: var(--gt-gold-deep); }
.gt-price__num small { font-size: 14px; font-weight: 500; color: var(--gt-muted); }
.gt-side__call { display: block; text-align: center; background: var(--gt-gold-soft); border: 1px solid var(--gt-line-2); border-radius: 14px; padding: 12px; color: var(--gt-ink); }
.gt-side__call:hover { color: var(--gt-ink); background: var(--gt-gold-soft-2); }
.gt-side__call-label { display: block; font-size: 12px; color: var(--gt-gold-deep); font-weight: 600; }
.gt-side__call-num { display: block; font-size: 20px; font-weight: 800; letter-spacing: .5px; margin-top: 2px; }
.gt-side__btn { width: 100%; justify-content: center; }
.gt-side__btn--wa { background: #25623f; color: #fff; }
.gt-side__btn--wa:hover { background: #1f5034; color: #fff; }
.gt-side__rows { display: flex; flex-direction: column; gap: 10px; padding-top: 6px; }
.gt-side__row { display: flex; align-items: center; justify-content: space-between; font-size: 14px; color: var(--gt-muted); }
.gt-side__row strong { color: var(--gt-ink); font-weight: 600; }

@media (max-width: 920px) {
	.gt-listing { grid-template-columns: 1fr; gap: 28px; }
	.gt-listing__side { position: static; }
	.gt-quickstats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
	.gt-gallery { grid-template-columns: 1fr; height: auto; }
	.gt-gallery__main .gt-gallery__img { height: 240px; }
	.gt-gallery__grid { grid-template-rows: auto; }
	.gt-gallery__thumb { height: 120px; }
}

/* ============ نوار جستجوی دوتایی (هیرو) ============ */
.gt-search--2 { grid-template-columns: 1fr 1fr auto; }
@media (max-width: 720px) { .gt-search--2 { grid-template-columns: 1fr; } }

/* ============ آرشیو: فیلتر + نتایج ============ */
.gt-results { display: grid; grid-template-columns: 280px 1fr; gap: 30px; align-items: start; padding-bottom: 72px; }
.gt-results__side { position: sticky; top: 92px; }
.gt-filters { background: var(--gt-surface); border: 1px solid var(--gt-line); border-radius: 18px; padding: 22px; display: flex; flex-direction: column; gap: 16px; }
.gt-filters__head { display: flex; align-items: center; justify-content: space-between; }
.gt-filters__head h2 { font-size: 18px; margin: 0; }
.gt-filters__reset { font-size: 13px; color: var(--gt-muted-2); }
.gt-filters__reset:hover { color: var(--gt-gold-deep); }
.gt-filter-field { display: flex; flex-direction: column; gap: 6px; }
.gt-filter-field__label { font-size: 14px; font-weight: 600; color: var(--gt-ink); }
.gt-filter-field select,
.gt-filter-field input { width: 100%; font-family: inherit; font-size: 14px; color: var(--gt-ink); background: var(--gt-surface); border: 1px solid var(--gt-line-2); border-radius: 10px; padding: 9px 12px; outline: none; }
.gt-filter-field select:focus,
.gt-filter-field input:focus { border-color: var(--gt-gold); }
.gt-filter-range { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.gt-filters__btn { width: 100%; justify-content: center; margin-top: 4px; }

@media (max-width: 860px) {
	.gt-results { grid-template-columns: 1fr; }
	.gt-results__side { position: static; }
}

/* دکمه‌های ارتقا در داشبورد */
.gt-dash__btn { display: inline-block; font-size: 12px; font-weight: 600; color: var(--gt-dark); background: var(--gt-gold-soft); border: 1px solid var(--gt-line-2); border-radius: 999px; padding: 4px 12px; }
.gt-dash__btn:hover { background: var(--gt-gold); color: var(--gt-dark); }
.gt-dash__feat { font-size: 12px; font-weight: 700; color: var(--gt-gold-deep); }

/* ============ وبلاگ ============ */
.gt-blog { padding-bottom: 80px; }
.gt-blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 26px; padding-block: 32px 8px; }

/* کارت نوشته */
.gt-post-card { background: var(--gt-surface); border: 1px solid var(--gt-line); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; transition: transform .18s ease, box-shadow .18s ease; }
.gt-post-card:hover { transform: translateY(-4px); box-shadow: 0 20px 44px -28px rgba(30,41,59,0.45); }
.gt-post-card__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--gt-gold-soft); }
.gt-post-card__media img { width: 100%; height: 100%; object-fit: cover; }
.gt-post-card__media--empty { display: flex; align-items: center; justify-content: center; }
.gt-post-card__body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.gt-post-card__cat { font-size: 12px; font-weight: 600; color: var(--gt-gold-deep); }
.gt-post-card__cat:hover { color: var(--gt-ink); }
.gt-post-card__title { font-size: 1.2rem; font-weight: 700; line-height: 1.5; margin: 0; }
.gt-post-card__title a { color: var(--gt-ink); }
.gt-post-card__title a:hover { color: var(--gt-gold-deep); }
.gt-post-card__excerpt { font-size: 14px; color: var(--gt-muted); line-height: 1.8; margin: 0; flex: 1; }
.gt-post-card__meta { font-size: 13px; color: var(--gt-muted-2); }

/* صفحه‌ی تکی نوشته */
.gt-post { padding-bottom: 80px; }
.gt-post .gt-container { max-width: var(--gt-readw); }
.gt-post__head { text-align: center; padding: 8px 0 24px; }
.gt-post__title { font-size: clamp(28px, 4.4vw, 44px); line-height: 1.25; margin: 14px 0 16px; }
.gt-post__meta { display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 14px; color: var(--gt-muted); }
.gt-post__meta .gt-dot { opacity: .5; }
.gt-post__media { border-radius: 18px; overflow: hidden; border: 1px solid var(--gt-line); margin-bottom: 36px; }
.gt-post__media img { width: 100%; }

/* تایپوگرافی محتوای نوشته */
.gt-post__content { font-size: 1.12rem; line-height: 2; color: #3A4150; }
.gt-post__content p { margin: 0 0 1.3em; }
.gt-post__content h2 { font-size: 1.7rem; margin: 1.8em 0 .6em; }
.gt-post__content h3 { font-size: 1.35rem; margin: 1.5em 0 .5em; }
.gt-post__content a { color: var(--gt-gold-deep); text-decoration: underline; text-underline-offset: 3px; }
.gt-post__content img { border-radius: 14px; margin: 1.5em 0; }
.gt-post__content ul, .gt-post__content ol { margin: 0 0 1.3em; padding-right: 1.4em; }
.gt-post__content li { margin-bottom: .5em; }
.gt-post__content blockquote { margin: 1.6em 0; padding: 6px 22px; border-right: 4px solid var(--gt-gold); background: var(--gt-gold-soft); border-radius: 0 12px 12px 0; color: #3A4150; }
.gt-post__content blockquote p:last-child { margin-bottom: 0; }
.gt-post__content code { background: var(--gt-gold-soft); padding: 2px 7px; border-radius: 6px; font-size: .9em; }
.gt-post__content figure { margin: 1.5em 0; }
.gt-post__content figcaption { font-size: 13px; color: var(--gt-muted-2); text-align: center; margin-top: 8px; }

/* برچسب‌ها و ناوبری */
.gt-post__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--gt-line); }
.gt-post__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 32px; }
.gt-post__nav-link { background: var(--gt-surface); border: 1px solid var(--gt-line); border-radius: 14px; padding: 16px 18px; display: flex; flex-direction: column; gap: 4px; }
.gt-post__nav-link:hover { border-color: var(--gt-line-2); }
.gt-post__nav-link--next { text-align: left; }
.gt-post__nav-link span { font-size: 12px; color: var(--gt-muted-2); }
.gt-post__nav-link strong { font-size: 15px; color: var(--gt-ink); font-weight: 600; }
.gt-post__comments { margin-top: 44px; }
.gt-page-links { margin-top: 18px; font-size: 14px; }

@media (max-width: 560px) {
	.gt-post__nav { grid-template-columns: 1fr; }
}

/* ============ نظرات ============ */
.gt-comments { margin-top: 8px; }
.gt-comments__title { font-size: 20px; font-weight: 800; margin: 0 0 20px; }
.gt-comment-list { list-style: none; margin: 0 0 30px; padding: 0; }
.gt-comment-list ol.children { list-style: none; margin: 0; padding-right: 24px; }
.gt-comment-list li.comment { margin-bottom: 18px; }
.gt-comment-list .comment-body { background: var(--gt-surface); border: 1px solid var(--gt-line); border-radius: 14px; padding: 18px 20px; }
.gt-comment-list .comment-author { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.gt-comment-list .comment-author img { border-radius: 50%; }
.gt-comment-list .comment-author .fn { font-weight: 700; font-style: normal; color: var(--gt-ink); }
.gt-comment-list .comment-meta { font-size: 12px; color: var(--gt-muted-2); margin-bottom: 8px; }
.gt-comment-list .comment-meta a { color: var(--gt-muted-2); }
.gt-comment-list .comment-content { font-size: 15px; color: #3A4150; line-height: 1.9; }
.gt-comment-list .reply { margin-top: 8px; }
.gt-comment-list .reply a { font-size: 13px; font-weight: 600; color: var(--gt-gold-deep); }
.gt-comments__closed { color: var(--gt-muted-2); font-size: 14px; }

/* فرم دیدگاه */
.comment-respond { background: var(--gt-bg-soft); border: 1px solid var(--gt-line); border-radius: 16px; padding: 24px; }
.comment-reply-title { font-size: 18px; font-weight: 700; margin: 0 0 16px; }
.comment-form { display: flex; flex-direction: column; gap: 14px; }
.comment-form label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%; font-family: inherit; font-size: 15px; color: var(--gt-ink);
	background: var(--gt-surface); border: 1px solid var(--gt-line-2); border-radius: 12px;
	padding: 11px 14px; outline: none; transition: border-color .15s ease, box-shadow .15s ease;
}
.comment-form input:focus, .comment-form textarea:focus { border-color: var(--gt-gold); box-shadow: 0 0 0 3px color-mix(in srgb, var(--gt-gold) 30%, transparent); }
.comment-form .comment-form-cookies-consent { flex-direction: row; align-items: center; gap: 8px; }
.comment-form .comment-form-cookies-consent label { margin: 0; font-weight: 400; }
.comment-form .form-submit { margin: 0; }
.comment-form-comment textarea { min-height: 120px; }

/* ============ استوری ============ */
.gt-stories { padding-block: 28px 4px; }
.gt-stories__row { display: flex; gap: 18px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: thin; }
.gt-story-av { flex: none; background: none; border: none; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 7px; width: 78px; font-family: inherit; }
.gt-story-av__ring { width: 72px; height: 72px; border-radius: 50%; padding: 3px; background: linear-gradient(45deg, var(--gt-gold), var(--gt-accent)); display: flex; }
.gt-story-av__ring img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 2px solid var(--gt-surface); }
.gt-story-av__ph { width: 100%; height: 100%; border-radius: 50%; background: var(--gt-gold-soft); border: 2px solid var(--gt-surface); display: flex; align-items: center; justify-content: center; }
.gt-story-av__ph .gt-diamond { width: 16px; height: 16px; }
.gt-story-av__name { font-size: 12px; color: var(--gt-muted); max-width: 78px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gt-story-av:hover .gt-story-av__name { color: var(--gt-ink); }

/* نمایشگر */
.gt-story-viewer { position: fixed; inset: 0; z-index: 1000; background: rgba(20,22,28,0.92); backdrop-filter: blur(6px); display: flex; flex-direction: column; align-items: center; justify-content: center; }
.gt-story-viewer[hidden] { display: none; }
.gt-story-viewer__bars { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); width: min(420px, 92vw); display: flex; gap: 4px; z-index: 3; }
.gt-story-bar { flex: 1; height: 3px; border-radius: 3px; background: rgba(255,255,255,0.3); overflow: hidden; }
.gt-story-bar.is-done { background: #fff; }
.gt-story-bar i { display: block; height: 100%; width: 0; background: #fff; }
.gt-story-viewer__top { position: absolute; top: 26px; left: 50%; transform: translateX(-50%); width: min(420px, 92vw); display: flex; align-items: center; justify-content: space-between; z-index: 3; }
.gt-story-viewer__biz { color: #fff; font-weight: 700; font-size: 15px; }
.gt-story-viewer__biz:hover { color: #fff; opacity: .85; }
.gt-story-viewer__close { background: none; border: none; color: #fff; font-size: 30px; line-height: 1; cursor: pointer; }
.gt-story-viewer__stage { width: min(420px, 92vw); aspect-ratio: 9 / 16; max-height: 86vh; background: #000; border-radius: 16px; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.gt-story-media { width: 100%; height: 100%; object-fit: cover; border: none; }
.gt-story-viewer__nav { position: absolute; top: 0; bottom: 0; width: 30%; background: none; border: none; cursor: pointer; z-index: 2; }
.gt-story-viewer__nav--prev { right: 0; }
.gt-story-viewer__nav--next { left: 0; }
.gt-story-viewer__cap { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); width: min(420px, 92vw); color: #fff; font-size: 14px; text-align: center; text-shadow: 0 1px 6px rgba(0,0,0,0.6); z-index: 3; }

/* جعبه‌ی استوری در داشبورد */
.gt-story-box { margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--gt-line); }
.gt-story-box h3 { font-size: 20px; margin: 0 0 16px; }
.gt-story-locked { color: var(--gt-muted); background: var(--gt-bg-soft); border: 1px solid var(--gt-line); border-radius: 12px; padding: 14px 16px; }
.gt-story-mine { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.gt-story-mine__item { position: relative; width: 64px; height: 64px; border-radius: 12px; overflow: hidden; border: 1px solid var(--gt-line-2); }
.gt-story-mine__item img { width: 100%; height: 100%; object-fit: cover; }
.gt-story-mine__vid { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; background: var(--gt-gold-soft); color: var(--gt-gold-deep); }
.gt-story-mine__del { position: absolute; top: 2px; left: 2px; width: 20px; height: 20px; border-radius: 50%; border: none; background: rgba(0,0,0,0.6); color: #fff; cursor: pointer; font-size: 14px; line-height: 1; }

/* ============ منوی کاربر در هدر ============ */
.gt-user { display: flex; align-items: center; gap: 14px; }
.gt-user__name { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--gt-ink); }
.gt-user__name:hover { color: var(--gt-gold-deep); }
.gt-user__avatar { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(45deg, var(--gt-gold), var(--gt-accent)); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; }
.gt-user__logout, .gt-user__login { font-size: 13px; color: var(--gt-muted); }
.gt-user__logout:hover, .gt-user__login:hover { color: var(--gt-gold-deep); }
.gt-nav__user { display: none; }

@media (max-width: 720px) {
	.gt-user { display: none; }
	.gt-nav__user { display: block; width: 100%; padding-block: 10px; font-weight: 600; border-top: 1px solid var(--gt-line); }
}
