@import "/css/Vazirmatn-RD-UI-FD-font-face.css";

/* ========== 1. توکن‌های برند ========== */
:root {
    --brand-ink: #15120f;
    --brand-ink-2: #0f0d0b;
    --brand-surface: #1c1814;
    --brand-line: rgba(201, 162, 39, .28);
    --brand-gold: #c9a227;
    --brand-gold-soft: #d8b56a;
    --brand-text: #f3ede4;
    --brand-muted: #b9afa2;
    --header-h: 84px;
    --hero-h: 100vh;   /* فالبک برای مرورگرهای قدیمی */
    --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ارتفاع پویا: نوار آدرس موبایل ارتفاع را نمی‌پراند */
@supports (height: 100svh) {
    :root { --hero-h: 100svh; }
}

/* ========== 2. پایه ========== */
html {
    font-size: 15px;
    scroll-behavior: smooth;
}

@media (min-width: 768px) {
    html { font-size: 16px; }
}

body.site-body {
    margin: 0;
    background: var(--brand-ink-2);
    color: var(--brand-text);
    font-family: Vazirmatn, system-ui, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 2px solid var(--brand-gold); outline-offset: 3px; }

.skip-link {
    position: absolute;
    z-index: 1100;
    inset-inline-start: 1rem;
    top: 1rem;
    background: var(--brand-gold);
    color: #201a10;
    padding: .5rem 1rem;
    border-radius: .4rem;
}

.btn-gold {
    background: linear-gradient(180deg, var(--brand-gold-soft), var(--brand-gold));
    border: 0;
    color: #221b0e;
    font-weight: 600;
}

.btn-gold:hover, .btn-gold:focus { background: var(--brand-gold-soft); color: #221b0e; }

/* ========== 3. هدر و منو ========== */
.site-header {
    position: fixed;
    inset-inline: 0;
    top: 0;
    z-index: 1030;
    padding-block: .35rem;
    background: linear-gradient(180deg, rgba(15, 13, 11, .78), rgba(15, 13, 11, 0));
    transition: background .35s var(--ease), box-shadow .35s var(--ease);
}

.site-header.is-stuck {
    background: rgba(15, 13, 11, .94);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .45);
    border-bottom: 1px solid var(--brand-line);
}

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

/* --- لوگو: سمت چپ، طبق طرح --- */
.site-brand { display: inline-flex; align-items: center; gap: .65rem; order: 3; }

.site-brand__mark {
    width: 120px; height: auto;
    fill: none; stroke: var(--brand-gold);
    stroke-width: 2.4; stroke-linecap: round;
}

.site-brand__text {
    display: flex; flex-direction: column; line-height: 1.15;
    font-family: "Times New Roman", Georgia, serif;
}

.site-brand__text strong {
    font-size: 1.32rem; letter-spacing: .34em;
    color: var(--brand-text); font-weight: 500;
}

.site-brand__text small { font-size: .48rem; letter-spacing: .26em; color: var(--brand-gold-soft); }

/* --- ناوبری وسط --- */
.site-nav { order: 2; }

.site-nav__list {
    display: flex; align-items: center;
    gap: clamp(1rem, 2.4vw, 2.4rem);
    margin: 0; padding: 0; list-style: none;
}

.site-nav__link {
    position: relative; display: inline-block; padding: .35rem 0;
    font-size: .95rem; color: var(--brand-text);
    transition: color .25s var(--ease);
}

.site-nav__link::after {
    content: ""; position: absolute; inset-inline: 0; bottom: -2px;
    height: 1px; background: var(--brand-gold);
    transform: scaleX(0); transition: transform .3s var(--ease);
}

.site-nav__link:hover, .site-nav__link.is-active { color: var(--brand-gold-soft); }
.site-nav__link:hover::after, .site-nav__link.is-active::after { transform: scaleX(1); }

/* --- ابزارها: سمت راست --- */
.site-header__tools { order: 1; display: flex; align-items: center; gap: .5rem; }

.site-header__icon {
    width: 42px; height: 42px;
    display: inline-grid; place-items: center;
    background: transparent; border: 1px solid transparent; border-radius: 999px;
    color: var(--brand-text);
    transition: border-color .25s var(--ease), color .25s var(--ease);
}

.site-header__icon:hover { color: var(--brand-gold-soft); border-color: var(--brand-line); }

.site-header__icon svg {
    width: 21px; height: 21px;
    fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round;
}

.site-header__cta {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .55rem 1.15rem;
    border: 1px solid var(--brand-line); border-radius: 2px;
    font-size: .85rem; color: var(--brand-gold-soft);
    transition: background .25s var(--ease), color .25s var(--ease);
}

.site-header__cta:hover { background: var(--brand-gold); color: #221b0e; }

.site-search__form { display: flex; gap: .5rem; padding: .85rem 0 1.1rem; }

.site-search__form .form-control {
    background: rgba(255, 255, 255, .06);
    border-color: var(--brand-line);
    color: var(--brand-text);
}

.site-search__form .form-control::placeholder { color: var(--brand-muted); }

.site-offcanvas {
    background: var(--brand-ink); color: var(--brand-text);
    border-inline-end: 1px solid var(--brand-line);
}

.site-offcanvas .offcanvas-header { border-bottom: 1px solid var(--brand-line); }
.site-offcanvas__list { list-style: none; margin: 0; padding: 0; }

.site-offcanvas__list a {
    display: block; padding: .85rem .25rem;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.site-offcanvas__list a.is-active { color: var(--brand-gold-soft); }

/* ========== 4. هیرو ========== */
.hero { position: relative; background: var(--brand-ink); }

.hero, .hero__carousel, .hero__carousel .carousel-inner, .hero__carousel .carousel-item {
    height: var(--hero-h);
}

.hero__media {
    position: relative;
    height: var(--hero-h);
    min-height: 480px;
    overflow: hidden;
}

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

.hero__scrim {
    position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(180deg, rgba(15, 13, 11, .55) 0, rgba(15, 13, 11, 0) 38%, rgba(15, 13, 11, .35) 100%);
}

/* روی موبایل تصویر عمودی، ارتفاع کامل ویوپورت */
@media (max-width: 767.98px) {
    .hero__media { min-height: 520px; }
    .hero__media img { object-position: center top; }
}

/* دستگاه‌های لنداسکیپ کم‌ارتفاع: هیرو کوتاه‌تر تا محتوا خفه نشود */
@media (max-height: 520px) and (orientation: landscape) {
    :root { --hero-h: 100svh; }
    .hero__media { min-height: 360px; }
}

/* --- دکمه هیرو: لنگر ۹ حالته + جابجایی درصدی --- */
.hero__cta {
    position: absolute; z-index: 2;
    display: inline-flex; align-items: center; gap: .6rem;
    padding: .85rem 1.9rem;
    background: linear-gradient(180deg, var(--brand-gold-soft), var(--brand-gold));
    color: #221b0e; font-size: .95rem; font-weight: 600; border-radius: 2px;
    box-shadow: 0 14px 34px rgba(0, 0, 0, .4);
    transform: translate(var(--tx, 0), var(--ty, 0));
    transition: filter .25s var(--ease), box-shadow .25s var(--ease);
}

.hero__cta:hover { filter: brightness(1.07); box-shadow: 0 18px 40px rgba(0, 0, 0, .5); color: #221b0e; }

.hero__cta svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

@media (min-width: 768px) {
    .hero__cta { --ox: var(--dx, 0); --oy: var(--dy, 0); }
    .hero__cta[data-anchor-desktop~="left"] { left: calc(6% + var(--ox) * 1%); }
    .hero__cta[data-anchor-desktop~="right"] { right: calc(6% - var(--ox) * 1%); }
    .hero__cta[data-anchor-desktop~="hcenter"] { left: calc(50% + var(--ox) * 1%); --tx: -50%; }
    .hero__cta[data-anchor-desktop~="top"] { top: calc(14% + var(--oy) * 1%); }
    .hero__cta[data-anchor-desktop~="bottom"] { bottom: calc(12% - var(--oy) * 1%); }
    .hero__cta[data-anchor-desktop~="vcenter"] { top: calc(50% + var(--oy) * 1%); --ty: -50%; }
}

@media (max-width: 767.98px) {
    .hero__cta { --ox: var(--mx, 0); --oy: var(--my, 0); padding: .75rem 1.4rem; font-size: .88rem; }
    .hero__cta[data-anchor-mobile~="left"] { left: calc(6% + var(--ox) * 1%); }
    .hero__cta[data-anchor-mobile~="right"] { right: calc(6% - var(--ox) * 1%); }
    .hero__cta[data-anchor-mobile~="hcenter"] { left: calc(50% + var(--ox) * 1%); --tx: -50%; }
    .hero__cta[data-anchor-mobile~="top"] { top: calc(12% + var(--oy) * 1%); }
    .hero__cta[data-anchor-mobile~="bottom"] { bottom: calc(10% - var(--oy) * 1%); }
    .hero__cta[data-anchor-mobile~="vcenter"] { top: calc(50% + var(--oy) * 1%); --ty: -50%; }
}

/* --- کروسل --- */
.hero__carousel .carousel-item { transition-duration: .9s; }
.hero__dots { margin-bottom: 1.25rem; gap: .55rem; }

.hero__dots [data-bs-slide-to] {
    width: 34px; height: 2px; border: 0; opacity: .45;
    background: var(--brand-text);
    transition: opacity .3s var(--ease), background .3s var(--ease);
}

.hero__dots [data-bs-slide-to].active { opacity: 1; background: var(--brand-gold); }
.hero__control { width: 8%; opacity: 0; transition: opacity .3s var(--ease); }
.hero:hover .hero__control, .hero__control:focus-visible { opacity: .85; }

@media (hover: none) {
    .hero__control { display: none; }
}

/* --- حالت بدون اسلاید --- */
.hero--empty { height: auto; }

.hero--empty .hero__placeholder {
    min-height: var(--hero-h); display: grid; place-content: center;
    text-align: center; gap: .75rem; padding: 6rem 1.5rem 3rem;
}

.hero--empty span {
    letter-spacing: .5em; color: var(--brand-gold-soft);
    font-family: "Times New Roman", Georgia, serif; font-size: 1.6rem;
}

.hero--empty h1 { font-size: clamp(1.7rem, 4vw, 2.7rem); margin: 0; }
.hero--empty p { color: var(--brand-muted); margin: 0; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .hero__carousel .carousel-item, .site-header, .site-nav__link::after { transition: none; }
}

/* ========== 5. بازگشت به بالا ========== */
.back-to-top {
    position: fixed; bottom: 30px; inset-inline-end: 30px;
    width: 45px; height: 45px;
    border: 1px solid var(--brand-line); border-radius: 50%;
    background: rgba(15, 13, 11, .8); color: var(--brand-gold-soft);
    cursor: pointer; opacity: 0; visibility: hidden;
    transform: translateY(10px);
    transition: all .3s var(--ease); z-index: 1040;
}

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

/* ========== 6. راهنمای اسکرول هیرو ========== */
.hero__cue {
    position: absolute;
    inset-inline: 0;
    bottom: 1.5rem;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .4rem;
    color: var(--brand-muted);
    font-size: .7rem;
    letter-spacing: .2em;
    pointer-events: none;
}

.hero__cue svg {
    width: 20px; height: 20px;
    fill: none; stroke: var(--brand-gold-soft);
    stroke-width: 1.6; stroke-linecap: round;
    animation: heroCue 2.2s var(--ease) infinite;
}

@keyframes heroCue {
    0%, 100% { transform: translateY(0); opacity: .55; }
    50% { transform: translateY(6px); opacity: 1; }
}

@media (max-width: 767.98px), (prefers-reduced-motion: reduce) {
    .hero__cue { display: none; }
}

/* ========== 7. نوار ویژگی‌های برند ========== */
.feature-strip {
    background: var(--brand-ink);
    border-block: 1px solid var(--brand-line);
}

.feature-strip__list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.feature-strip__item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .7rem;
    padding: 1.15rem .75rem;
    flex: 1 1 50%;
    max-width: 100%;
    border-inline-start: 1px solid rgba(255, 255, 255, .06);
    border-top: 1px solid rgba(255, 255, 255, .06);
}

@media (min-width: 576px) {
    .feature-strip__item { flex-basis: calc(100% / 3); }
}

@media (min-width: 992px) {
    .feature-strip__item {
        flex-basis: calc(100% / 6);
        border-top: 0;
    }
}

.feature-strip__item:first-child { border-inline-start: 0; }

/* اگر تعداد آیتم‌ها کم باشد، ردیف در وسط می‌نشیند و خط جداکننده‌ی اضافه حذف می‌شود */
.feature-strip__list:has(.feature-strip__item:only-child) .feature-strip__item {
    flex-grow: 0;
    flex-basis: auto;
    padding-inline: 1.5rem;
    border: 0;
    text-align: center;
}

.feature-strip__icon {
    flex: 0 0 auto;
    width: 30px;
    height: 30px;
    fill: none;
    stroke: var(--brand-gold);
    stroke-width: 1.4;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform .3s var(--ease);
}

.feature-strip__item:hover .feature-strip__icon { transform: translateY(-3px); }

.feature-strip__text { display: flex; flex-direction: column; line-height: 1.35; }

.feature-strip__text strong {
    font-size: .88rem;
    font-weight: 500;
    color: var(--brand-text);
}

.feature-strip__text small {
    font-size: .68rem;
    letter-spacing: .08em;
    color: var(--brand-muted);
    font-family: "Times New Roman", Georgia, serif;
}

/* ========== 8. منو RTL ========== */
.site-header__bar { flex-direction: row-reverse; }
.site-nav__list { flex-direction: row; }

/* ========== 9. نوار کلکسیون‌ها ========== */
.collection-strip {
    background: var(--brand-ink-2);
}

.collection-strip__list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0;
    margin: 0;
    padding: 1rem;
    list-style: none;
}

.collection-strip__item {
    display: flex;
    justify-content: center;
    border: 2px solid var(--brand-line);
    /* موبایل: ۲ کارت در هر ردیف */
    flex: 0 0 50%;
    max-width: 50%;
}

/* تبلت: ۳ کارت در هر ردیف */
@media (min-width: 576px) {
    .collection-strip__item {
        flex-basis: calc(100% / 3);
        max-width: calc(100% / 3);
    }
}

/* دسکتاپ: ۶ کارت، یک ردیف کامل */
@media (min-width: 992px) {
    .collection-strip__item {
        flex-basis: calc(100% / 6);
        max-width: calc(100% / 6);
    }
}

.collection-tile {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    isolation: isolate;
}

.collection-tile__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
    transition: transform .8s var(--ease), filter .5s var(--ease);
}

.collection-tile:hover .collection-tile__image,
.collection-tile:focus-visible .collection-tile__image {
    transform: scale(1.09);
    filter: brightness(1.06);
}

/* پرده تیره: متن روی تصویر روشن هم خوانا می‌ماند */
.collection-tile__scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(10, 8, 7, .80) 0%, rgba(10, 8, 7, .40) 40%, rgba(10, 8, 7, .04) 74%, rgba(10, 8, 7, 0) 100%);
}

/* لایه شیشه‌ای (frosted glass): نیمه پایین کارت را مات می‌کند و به سمت بالا محو می‌شود */
.collection-tile__scrim::before {
    content: "";
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    height: 52%;
    background: linear-gradient(0deg, rgba(24, 19, 16, .38), rgba(24, 19, 16, .10));
    -webkit-backdrop-filter: blur(10px) saturate(125%) brightness(.82);
    backdrop-filter: blur(10px) saturate(125%) brightness(.82);
    -webkit-mask-image: linear-gradient(0deg, #000 0%, #000 58%, rgba(0, 0, 0, .35) 84%, transparent 100%);
    mask-image: linear-gradient(0deg, #000 0%, #000 58%, rgba(0, 0, 0, .35) 84%, transparent 100%);
    transition: height .5s var(--ease);
}

.collection-tile:hover .collection-tile__scrim::before,
.collection-tile:focus-visible .collection-tile__scrim::before {
    height: 60%;
}

/* اگر مرورگر backdrop-filter نداشت، پرده تیره‌تر جای شیشه را می‌گیرد */
@supports not ((backdrop-filter: blur(6px)) or (-webkit-backdrop-filter: blur(6px))) {
    .collection-tile__scrim::before {
        background: linear-gradient(0deg, rgba(10, 8, 7, .78), rgba(10, 8, 7, .18));
    }
}

.collection-tile__body {
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .2rem;
    padding: clamp(.9rem, 1.8vw, 2rem) .7rem;
    text-align: center;
}

.collection-tile__name {
    font-family: "Times New Roman", Georgia, serif;
    font-size: clamp(1.05rem, 2.1vw, 1.55rem);
    letter-spacing: .2em;
    color: var(--brand-text);
}

.collection-tile__kicker {
    font-family: "Times New Roman", Georgia, serif;
    font-size: .6rem;
    letter-spacing: .38em;
    color: var(--brand-gold-soft);
}

.collection-tile__tagline {
    margin-top: .55rem;
    font-size: .82rem;
    color: var(--brand-muted);
}

.collection-tile__more {
    margin-top: .85rem;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-size: .78rem;
    color: var(--brand-text);
    border-bottom: 1px solid transparent;
    padding-bottom: .15rem;
    transition: color .3s var(--ease), border-color .3s var(--ease);
}

    .collection-tile__more svg {
        width: 15px;
        height: 15px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.7;
        stroke-linecap: round;
        stroke-linejoin: round;
        transition: transform .3s var(--ease);
    }

.collection-tile:hover .collection-tile__more,
.collection-tile:focus-visible .collection-tile__more {
    color: var(--brand-gold-soft);
    border-color: var(--brand-line);
}

    .collection-tile:hover .collection-tile__more svg {
        transform: translateX(-3px);
    }

@media (prefers-reduced-motion: reduce) {
    .collection-tile__image,
    .collection-tile__scrim::before,
    .collection-tile__more svg {
        transition: none;
    }

    .collection-tile:hover .collection-tile__image {
        transform: scale(1.02);
    }
}

/* ========== 10. صفحهٔ اختصاصی کلکسیون ========== */
.collection-page {
    background: var(--brand-ink);
}

.collection-page__hero {
    position: relative;
    min-height: clamp(260px, 42vw, 460px);
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    isolation: isolate;
}

.collection-page__hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.collection-page__hero-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(10, 8, 7, .92) 0%, rgba(10, 8, 7, .55) 45%, rgba(10, 8, 7, .18) 100%);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
}

.collection-page__hero-body {
    position: relative;
    z-index: 1;
    padding-block: clamp(1.75rem, 4vw, 3.5rem);
    text-align: center;
}

.collection-page__kicker {
    display: block;
    font-family: "Times New Roman", Georgia, serif;
    font-size: .68rem;
    letter-spacing: .4em;
    color: var(--brand-gold-soft);
}

.collection-page__title {
    margin: .35rem 0 0;
    font-family: "Times New Roman", Georgia, serif;
    font-size: clamp(1.9rem, 6vw, 3.6rem);
    letter-spacing: .18em;
    color: var(--brand-text);
}

.collection-page__name-fa {
    margin: .25rem 0 0;
    font-size: clamp(1rem, 2.4vw, 1.3rem);
    color: var(--brand-text);
}

.collection-page__tagline {
    margin: .5rem 0 0;
    color: var(--brand-muted);
}

.collection-page__wrap {
    padding-block: clamp(1.5rem, 4vw, 3rem);
}

.collection-page__breadcrumb {
    display: flex;
    gap: .4rem;
    align-items: center;
    font-size: .8rem;
    color: var(--brand-muted);
    margin-bottom: 1.5rem;
}

.collection-page__breadcrumb a {
    color: var(--brand-gold-soft);
    text-decoration: none;
}

.collection-page__breadcrumb a:hover { text-decoration: underline; }

/* بدنهٔ ریچ‌تکست: استایل پیش‌فرض محتوای ثبت‌شده در پنل */
.collection-page__content {
    max-width: 68rem;
    margin-inline: auto;
    color: var(--brand-text);
    line-height: 2;
}

.collection-page__content > :first-child { margin-top: 0; }
.collection-page__content > :last-child { margin-bottom: 0; }

.collection-page__content h2,
.collection-page__content h3,
.collection-page__content h4 {
    margin: 2.25rem 0 .85rem;
    color: var(--brand-text);
    line-height: 1.5;
}

.collection-page__content h2 { font-size: clamp(1.25rem, 2.6vw, 1.7rem); }
.collection-page__content h3 { font-size: clamp(1.1rem, 2.2vw, 1.4rem); }

.collection-page__content p {
    margin: 0 0 1.15rem;
    color: var(--brand-muted);
}

.collection-page__content a {
    color: var(--brand-gold-soft);
    text-underline-offset: .25em;
}

.collection-page__content ul,
.collection-page__content ol {
    margin: 0 0 1.25rem;
    padding-inline-start: 1.4rem;
    color: var(--brand-muted);
}

.collection-page__content li { margin-bottom: .4rem; }

.collection-page__content img {
    max-width: 100%;
    height: auto;
    margin-block: 1.5rem;
    border: 1px solid var(--brand-line);
}

.collection-page__content blockquote {
    margin: 1.75rem 0;
    padding: 1rem 1.25rem;
    border-inline-start: 2px solid var(--brand-gold);
    background: rgba(255, 255, 255, .03);
    color: var(--brand-text);
}

.collection-page__content table {
    width: 100%;
    margin-block: 1.5rem;
    border-collapse: collapse;
    color: var(--brand-muted);
}

.collection-page__content th,
.collection-page__content td {
    padding: .65rem .8rem;
    border: 1px solid var(--brand-line);
    text-align: start;
}

.collection-page__content th { color: var(--brand-text); }

.collection-page__content hr {
    margin-block: 2rem;
    border: 0;
    border-top: 1px solid var(--brand-line);
}

.collection-page__empty {
    padding-block: 3rem;
    text-align: center;
    color: var(--brand-muted);
}

/* ========== 11. باند دسته‌بندی پارچه‌ها + امضای برند ========== */
.showcase-band {
    background: var(--brand-ink-2);
    border-top: 1px solid var(--brand-line);
}

/* --- ستون دسته‌بندی --- */
.category-grid {
    height: 100%;
    padding: 2.5rem 1rem 3rem;
}

@media (min-width: 992px) {
    .category-grid { padding: 3.25rem 2rem 3.5rem; }
}

.category-grid__title {
    margin: 0 0 1.75rem;
    text-align: center;
    font-size: clamp(1.25rem, 1.1rem + .8vw, 1.75rem);
    font-weight: 600;
    letter-spacing: .02em;
    color: var(--brand-text);
}

.category-grid__title::after {
    content: "";
    display: block;
    width: 3.5rem;
    height: 1px;
    margin: .85rem auto 0;
    background: var(--brand-gold);
}

.category-grid__list {
    display: grid;
    /* موبایل دو ستون، تبلت و بالاتر چهار ستون */
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .85rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

@media (min-width: 768px) {
    .category-grid__list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.category-grid__item { display: flex; }

.category-card {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border: 1px solid var(--brand-line);
    background: var(--brand-surface);
    transition: border-color .35s var(--ease), transform .35s var(--ease);
}

.category-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s var(--ease);
}

/* پرده تیره از پایین: متن روی هر تصویری خوانا می‌ماند */
.category-card__scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 9, 8, .92) 0%, rgba(10, 9, 8, .55) 38%, rgba(10, 9, 8, 0) 72%);
}

.category-card__body {
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    gap: .2rem;
    padding: .85rem .75rem 1rem;
    text-align: center;
}

.category-card__name {
    font-size: .95rem;
    font-weight: 600;
    letter-spacing: .04em;
    color: var(--brand-text);
}

.category-card__subtitle {
    font-size: .78rem;
    line-height: 1.7;
    color: var(--brand-muted);
}

/* افکت فقط برای کارت لینک‌دار، آن هم وقتی کاربر حرکت را نبسته باشد */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    a.category-card:hover { border-color: var(--brand-gold); }
    a.category-card:hover .category-card__image { transform: scale(1.06); }
}

a.category-card:focus-visible { border-color: var(--brand-gold); }

/* --- ستون امضای برند --- */
.signature-panel {
    position: relative;
    display: flex;
    height: 100%;
    min-height: 100%;
    overflow: hidden;
    background: var(--brand-surface);
    border-top: 1px solid var(--brand-line);
}

@media (min-width: 992px) {
    .signature-panel {
        border-top: 0;
        border-inline-start: 1px solid var(--brand-line);
    }
}

.signature-panel__background {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .5;
}

.signature-panel__scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(200deg, rgba(15, 13, 11, .92), rgba(15, 13, 11, .72));
}

.signature-panel__body {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1.1rem;
    padding: 2.75rem 1.5rem 3rem;
}

@media (min-width: 992px) {
    .signature-panel__body { padding: 3.25rem 2.25rem; }
}

.signature-panel__title {
    margin: 0;
    font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.25rem);
    font-weight: 600;
    line-height: 1.45;
}

.signature-panel__title-line { display: block; }
.signature-panel__title-line--gold { color: var(--brand-gold-soft); }

.signature-panel__text {
    margin: 0;
    max-width: 34ch;
    font-size: .95rem;
    line-height: 2.1;
    color: var(--brand-muted);
}

.signature-panel__mark {
    width: auto;
    max-width: 14rem;
    height: auto;
}

.signature-panel__mark-text {
    margin: 0;
    font-size: 1.35rem;
    font-style: italic;
    letter-spacing: .04em;
    color: var(--brand-gold-soft);
}

.signature-panel__cta {
    align-self: stretch;
    padding: .8rem 1.5rem;
    border: 1px solid var(--brand-line);
    text-align: center;
    font-size: .9rem;
    color: var(--brand-text);
    transition: background-color .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
}

@media (min-width: 576px) {
    .signature-panel__cta { align-self: flex-start; min-width: 15rem; }
}

.signature-panel__cta:hover,
.signature-panel__cta:focus-visible {
    background: var(--brand-gold);
    border-color: var(--brand-gold);
    color: #221b0e;
}

/* ========== 12. صفحهٔ اختصاصی دسته‌بندی (راهنمای انتخاب) ==========
   کلکسیون = لوک‌بوک تمام‌عرض و احساسی
   دسته‌بندی = سربرگ دوستونهٔ ادیتوریال + محتوا + کارت مشخصات کاربردی */

.btn-outline-gold {
    border: 1px solid var(--brand-gold);
    color: var(--brand-gold-soft);
    background: transparent;
    font-weight: 600;
}

.btn-outline-gold:hover,
.btn-outline-gold:focus {
    background: rgba(201, 162, 39, .12);
    color: var(--brand-text);
    border-color: var(--brand-gold-soft);
}

.category-page {
    background: var(--brand-ink);
}

/* --- سربرگ --- */
.category-page__hero {
    position: relative;
    padding-top: calc(var(--header-h) + 1.25rem);
    padding-bottom: clamp(2.5rem, 6vw, 4.5rem);
    background:
        radial-gradient(60rem 30rem at 85% 0%, rgba(201, 162, 39, .08), transparent 60%),
        var(--brand-ink-2);
    border-bottom: 1px solid var(--brand-line);
}

.category-page__breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    align-items: center;
    margin-bottom: clamp(1.25rem, 3vw, 2.25rem);
    font-size: .8rem;
    color: var(--brand-muted);
}

.category-page__breadcrumb a { color: var(--brand-gold-soft); }
.category-page__breadcrumb a:hover { text-decoration: underline; }

.category-page__kicker {
    display: block;
    font-family: "Times New Roman", Georgia, serif;
    font-size: .68rem;
    letter-spacing: .4em;
    color: var(--brand-gold-soft);
}

.category-page__title {
    margin: .5rem 0 0;
    font-family: "Times New Roman", Georgia, serif;
    font-size: clamp(2rem, 5vw, 3.4rem);
    font-weight: 400;
    letter-spacing: .06em;
    line-height: 1.15;
    color: var(--brand-text);
    text-align: start;
}

.category-page__subtitle {
    margin: .5rem 0 0;
    font-size: clamp(1.05rem, 2.2vw, 1.3rem);
    color: var(--brand-text);
}

.category-page__rule {
    display: block;
    width: 4rem;
    height: 1px;
    margin: 1.25rem 0;
    background: var(--brand-gold);
}

.category-page__intro {
    max-width: 34rem;
    margin: 0;
    line-height: 2;
    color: var(--brand-muted);
}

.category-page__chips {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin: 1.5rem 0 0;
    padding: 0;
    list-style: none;
}

.category-page__chips li {
    padding: .35rem .85rem;
    border: 1px solid var(--brand-line);
    border-radius: 999px;
    font-size: .8rem;
    color: var(--brand-text);
    background: rgba(255, 255, 255, .03);
}

.category-page__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: 2rem;
}

.category-page__actions .btn { padding: .65rem 1.4rem; }

/* تصویر با قاب طلایی جابه‌جاشده؛ امضای بصری صفحهٔ دسته‌بندی */
.category-page__figure {
    position: relative;
    margin: 0 auto;
    max-width: 420px;
    aspect-ratio: 4 / 5;
}

.category-page__figure--wide {
    max-width: none;
    aspect-ratio: 4 / 3;
}

.category-page__figure::before {
    content: "";
    position: absolute;
    inset: 0;
    transform: translate(-14px, 14px);
    border: 1px solid var(--brand-gold);
    pointer-events: none;
}

.category-page__figure img {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 1px solid var(--brand-line);
    box-shadow: 0 30px 60px rgba(0, 0, 0, .45);
}

/* --- بدنه --- */
.category-page__body {
    padding-block: clamp(2.5rem, 6vw, 4.5rem);
}

.category-page__content {
    line-height: 2.05;
    color: var(--brand-text);
}

.category-page__content > :first-child { margin-top: 0; }
.category-page__content > :last-child { margin-bottom: 0; }

/* هر H2 با خط طلایی باریک یک فصل تازه را شروع می‌کند */
.category-page__content h2 {
    margin: 2.75rem 0 1rem;
    padding-top: 1.75rem;
    border-top: 1px solid var(--brand-line);
    font-size: clamp(1.25rem, 2.6vw, 1.65rem);
    line-height: 1.5;
}

.category-page__content > h2:first-child { padding-top: 0; border-top: 0; }

.category-page__content h3,
.category-page__content h4 {
    margin: 2rem 0 .75rem;
    font-size: clamp(1.05rem, 2.1vw, 1.3rem);
    line-height: 1.5;
    color: var(--brand-gold-soft);
}

.category-page__content p { margin: 0 0 1.15rem; color: var(--brand-muted); }
.category-page__content a { color: var(--brand-gold-soft); text-decoration: underline; text-underline-offset: .25em; }

.category-page__content ul,
.category-page__content ol {
    margin: 0 0 1.25rem;
    padding-inline-start: 1.4rem;
    color: var(--brand-muted);
}

.category-page__content li { margin-bottom: .45rem; }
.category-page__content li::marker { color: var(--brand-gold); }

.category-page__content img {
    max-width: 100%;
    height: auto;
    margin-block: 1.75rem;
    border: 1px solid var(--brand-line);
}

.category-page__content blockquote {
    margin: 2rem 0;
    padding: 1.1rem 1.4rem;
    border-inline-start: 2px solid var(--brand-gold);
    background: rgba(255, 255, 255, .03);
    font-size: 1.05rem;
    color: var(--brand-text);
}

.category-page__content table {
    width: 100%;
    margin-block: 1.5rem;
    border-collapse: collapse;
    color: var(--brand-muted);
}

.category-page__content th,
.category-page__content td {
    padding: .65rem .8rem;
    border: 1px solid var(--brand-line);
    text-align: start;
}

.category-page__content th { color: var(--brand-text); background: rgba(201, 162, 39, .06); }

.category-page__content hr {
    margin-block: 2rem;
    border: 0;
    border-top: 1px solid var(--brand-line);
}

.category-page__empty {
    padding-block: 2rem;
    text-align: center;
    color: var(--brand-muted);
}

/* --- کارت راهنمای انتخاب --- */
.category-spec {
    position: sticky;
    top: calc(var(--header-h) + 1rem);
    padding: 1.75rem 1.5rem;
    border: 1px solid var(--brand-line);
    background: linear-gradient(180deg, var(--brand-surface), var(--brand-ink-2));
}

.category-spec__title {
    margin: 0 0 1.25rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--brand-text);
}

.category-spec__title::after {
    content: "";
    display: block;
    width: 2.5rem;
    height: 1px;
    margin-top: .7rem;
    background: var(--brand-gold);
}

.category-spec__list { margin: 0; }

.category-spec__list > div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding-block: .8rem;
    border-bottom: 1px dashed var(--brand-line);
}

.category-spec__list dt { font-weight: 400; font-size: .85rem; color: var(--brand-muted); }
.category-spec__list dd { margin: 0; font-size: .9rem; text-align: end; color: var(--brand-text); }

.category-spec__note {
    margin: 1.25rem 0 1rem;
    font-size: .8rem;
    line-height: 1.9;
    color: var(--brand-muted);
}

/* --- دسته‌بندی‌های دیگر --- */
.category-page__others {
    padding-block: clamp(2.5rem, 6vw, 4rem);
    background: var(--brand-ink-2);
    border-top: 1px solid var(--brand-line);
}

.category-page__others-title {
    margin: 0 0 1.75rem;
    text-align: center;
    font-size: clamp(1.15rem, 1rem + .7vw, 1.5rem);
    font-weight: 600;
}

.category-page__others-title::after {
    content: "";
    display: block;
    width: 3rem;
    height: 1px;
    margin: .8rem auto 0;
    background: var(--brand-gold);
}

.category-page__others-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .85rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

@media (min-width: 768px) {
    .category-page__others-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 991.98px) {
    .category-page__figure::before { transform: translate(-10px, 10px); }
    .category-spec { position: static; }
}

@media (prefers-reduced-motion: reduce) {
    .category-page__figure img { box-shadow: none; }
}

/* ========== 13. تنوع بافت‌ها: سواچ‌بوک، مودال و صفحهٔ راهنما ========== */

/* --- نوار سواچ صفحهٔ اصلی --- */
.weave-strip {
    padding-block: clamp(2.25rem, 5vw, 3.5rem);
    background: var(--brand-ink);
    border-top: 1px solid var(--brand-line);
}

.weave-strip__head {
    position: relative;
    margin-bottom: 1.75rem;
    text-align: center;
}

.weave-strip__title {
    margin: 0;
    font-size: clamp(1.25rem, 1.1rem + .8vw, 1.75rem);
    font-weight: 600;
}

.weave-strip__title::after {
    content: "";
    display: block;
    width: 3.5rem;
    height: 1px;
    margin: .85rem auto 0;
    background: var(--brand-gold);
}

.weave-strip__all {
    display: inline-block;
    margin-top: .9rem;
    font-size: .8rem;
    color: var(--brand-gold-soft);
}

.weave-strip__all:hover { text-decoration: underline; }

@media (min-width: 992px) {
    .weave-strip__all {
        position: absolute;
        inset-inline-end: 0;
        top: .35rem;
        margin: 0;
    }
}

/* موبایل: اسکرول افقی با snap؛ تبلت چهار ستون؛ دسکتاپ هشت ستون */
.weave-strip__list {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 42%;
    gap: .85rem;
    margin: 0;
    padding: 0 0 .5rem;
    list-style: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
}

.weave-strip__list > li { scroll-snap-align: start; }

@media (min-width: 768px) {
    .weave-strip__list {
        grid-auto-flow: row;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        overflow: visible;
    }
}

@media (min-width: 1200px) {
    .weave-strip__list { grid-template-columns: repeat(8, minmax(0, 1fr)); }
}

.weave-swatch {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .15rem;
    width: 100%;
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    font: inherit;
    cursor: pointer;
}

.weave-swatch__frame {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    margin-bottom: .55rem;
    border: 1px solid var(--brand-line);
    background: var(--brand-surface);
    transition: border-color .35s var(--ease), box-shadow .35s var(--ease);
}

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

.weave-swatch__name {
    font-size: .82rem;
    font-weight: 600;
    letter-spacing: .03em;
    color: var(--brand-text);
}

.weave-swatch__fa {
    font-size: .72rem;
    color: var(--brand-muted);
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .weave-swatch:hover .weave-swatch__frame {
        border-color: var(--brand-gold);
        box-shadow: 0 12px 28px rgba(0, 0, 0, .45);
    }
    .weave-swatch:hover .weave-swatch__frame img { transform: scale(1.12); }
}

.weave-swatch:focus-visible { outline: none; }
.weave-swatch:focus-visible .weave-swatch__frame {
    outline: 2px solid var(--brand-gold);
    outline-offset: 3px;
}

/* --- نوار شاخص --- */
.weave-meter {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-block: .45rem;
}

.weave-meter__label {
    font-size: .8rem;
    color: var(--brand-muted);
}

.weave-meter__track {
    display: inline-flex;
    gap: 4px;
    direction: ltr; /* پر شدن از چپ به راست مثل یک خط‌کش */
}

.weave-meter__seg {
    width: 22px;
    height: 5px;
    background: rgba(255, 255, 255, .1);
    transition: background .3s var(--ease);
}

.weave-meter__seg.is-on {
    background: linear-gradient(90deg, var(--brand-gold), var(--brand-gold-soft));
}

/* --- مودال --- */
.weave-modal .modal-content {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--brand-line);
    border-radius: 0;
    background: var(--brand-ink);
    color: var(--brand-text);
    box-shadow: 0 40px 80px rgba(0, 0, 0, .6);
}

.weave-modal__close {
    position: absolute;
    z-index: 2;
    top: 1rem;
    inset-inline-end: 1rem;
}

.weave-modal__media {
    height: 100%;
    min-height: 240px;
    background: var(--brand-surface);
}

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

.weave-modal__body {
    padding: clamp(1.5rem, 4vw, 2.5rem);
}

.weave-modal__kicker {
    display: block;
    font-family: "Times New Roman", Georgia, serif;
    font-size: .66rem;
    letter-spacing: .4em;
    color: var(--brand-gold-soft);
}

.weave-modal__title {
    margin: .4rem 0 0;
    font-family: "Times New Roman", Georgia, serif;
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    font-weight: 400;
    letter-spacing: .04em;
    text-align: start;
}

.weave-modal__fa {
    margin: .2rem 0 0;
    color: var(--brand-text);
}

.weave-modal__rule {
    display: block;
    width: 3rem;
    height: 1px;
    margin: 1rem 0;
    background: var(--brand-gold);
}

.weave-modal__summary {
    margin: 0 0 1rem;
    font-size: .9rem;
    line-height: 2;
    color: var(--brand-muted);
}

.weave-modal__meters {
    padding-top: .5rem;
    border-top: 1px dashed var(--brand-line);
}

.modal-backdrop.show { opacity: .75; }

/* --- صفحهٔ راهنمای بافت‌ها --- */
.weave-guide { background: var(--brand-ink); }

.weave-guide__hero {
    padding-top: calc(var(--header-h) + 1.25rem);
    padding-bottom: clamp(2rem, 5vw, 3.5rem);
    background:
        radial-gradient(60rem 30rem at 15% 0%, rgba(201, 162, 39, .08), transparent 60%),
        var(--brand-ink-2);
    border-bottom: 1px solid var(--brand-line);
}

.weave-guide__title {
    margin: .5rem 0 0;
    font-size: clamp(1.8rem, 4.5vw, 2.8rem);
    font-weight: 700;
}

.weave-guide__lead {
    max-width: 40rem;
    margin: 1rem 0 0;
    line-height: 2;
    color: var(--brand-muted);
}

.weave-guide__index {
    display: flex;
    gap: .5rem;
    margin-top: 1.75rem;
    padding-bottom: .25rem;
    overflow-x: auto;
    scrollbar-width: thin;
}

.weave-guide__index a {
    flex: 0 0 auto;
    padding: .35rem .9rem;
    border: 1px solid var(--brand-line);
    border-radius: 999px;
    font-size: .8rem;
    color: var(--brand-text);
    transition: border-color .3s var(--ease), color .3s var(--ease);
}

.weave-guide__index a:hover,
.weave-guide__index a:focus-visible {
    border-color: var(--brand-gold);
    color: var(--brand-gold-soft);
}

.weave-guide__list { padding-block: clamp(1rem, 3vw, 2rem); }

.weave-entry {
    padding-block: clamp(2rem, 5vw, 3.5rem);
    border-bottom: 1px solid var(--brand-line);
    scroll-margin-top: calc(var(--header-h) + 1rem); /* لنگر زیر هدر ثابت نرود */
}

.weave-entry:last-child { border-bottom: 0; }

/* بخشی که از مودال به آن لینک شده، یک لحظه برجسته می‌شود */
.weave-entry:target .weave-entry__figure img { border-color: var(--brand-gold); }

.weave-entry__figure {
    position: relative;
    margin: 0;
}

.weave-entry__figure img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border: 1px solid var(--brand-line);
    transition: border-color .6s var(--ease);
}

.weave-entry__figure figcaption {
    position: absolute;
    bottom: .75rem;
    left: .75rem;
    padding: .2rem .6rem;
    background: rgba(15, 13, 11, .8);
    border: 1px solid var(--brand-line);
    font-family: "Times New Roman", Georgia, serif;
    font-size: .72rem;
    letter-spacing: .2em;
    color: var(--brand-gold-soft);
}

.weave-entry__title {
    margin: 0;
    font-family: "Times New Roman", Georgia, serif;
    font-size: clamp(1.6rem, 3.6vw, 2.3rem);
    font-weight: 400;
    letter-spacing: .04em;
    text-align: start;
}

.weave-entry__fa {
    margin: .25rem 0 0;
    font-size: 1.05rem;
}

.weave-entry__meters {
    max-width: 22rem;
    margin: 1.25rem 0;
    padding-block: .5rem;
    border-block: 1px dashed var(--brand-line);
}

.weave-entry__summary {
    margin: 0 0 1rem;
    line-height: 2;
    color: var(--brand-text);
}

.weave-entry__content { max-width: none; }

.weave-guide__cta {
    padding-block: clamp(2.5rem, 6vw, 4rem);
    background: var(--brand-ink-2);
    border-top: 1px solid var(--brand-line);
}

.weave-guide__cta h2 { margin: 0 0 .5rem; font-size: clamp(1.2rem, 2.6vw, 1.6rem); }
.weave-guide__cta p { margin: 0 0 1.25rem; color: var(--brand-muted); }

/* ========== چرا Marissa؟ ==========
   دسکتاپ: تصویر | پنل | تصویر (نسبت طرح حدود ۳۷ / ۲۶ / ۳۷)
   موبایل: پنل تمام‌عرض، دو تصویر زیرش کنار هم.
   در RTL رشتهٔ grid-template-areas از راست خوانده می‌شود. */
.why-band {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
        "panel panel"
        "right left";
    background: var(--brand-ink);
    border-block: 1px solid var(--brand-line);
}

.why-band--double {
    grid-template-columns: 1fr;
    grid-template-areas: "panel" "media";
}

.why-band--solo {
    grid-template-columns: 1fr;
    grid-template-areas: "panel";
}

.why-band__panel {
    grid-area: panel;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.25rem;
    padding: 2.75rem 1.5rem;
    background:
        radial-gradient(120% 80% at 50% 0%, rgba(201, 162, 39, .07), transparent 60%),
        var(--brand-surface);
}

.why-band__media {
    position: relative;
    margin: 0;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--brand-ink-2);
}

.why-band__media--right { grid-area: right; border-inline-start: 1px solid var(--brand-line); }
.why-band__media--left { grid-area: left; }

.why-band--double .why-band__media { grid-area: media; aspect-ratio: 16 / 9; border: 0; }

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

/* لبهٔ داخلی تصاویر کمی تیره می‌شود تا به پنل بچسبد و مرز سخت نسازد */
.why-band__media::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    box-shadow: inset 0 0 60px rgba(0, 0, 0, .55);
}

.why-band__title {
    margin: 0;
    font-size: clamp(1.4rem, 1.15rem + 1vw, 1.9rem);
    font-weight: 600;
    line-height: 1.5;
    text-align: center;
}

.why-band__brand {
    color: var(--brand-gold-soft);
    letter-spacing: .02em;
}

.why-band__intro {
    margin: -.5rem auto 0;
    max-width: 36ch;
    text-align: center;
    font-size: .9rem;
    line-height: 2;
    color: var(--brand-muted);
}

.why-band__list {
    display: grid;
    gap: .95rem;
    margin: 0 auto;
    padding: 0;
    list-style: none;
    width: min(100%, 24rem);
}

.why-band__item {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
}

.why-band__check {
    flex: none;
    margin-top: .15rem;
    color: var(--brand-gold);
}

.why-band__text { display: grid; gap: .15rem; }

.why-band__claim {
    font-size: .95rem;
    line-height: 1.8;
    color: var(--brand-text);
}

.why-band__detail {
    font-size: .8rem;
    line-height: 1.7;
    color: var(--brand-muted);
}

@media (min-width: 576px) {
    .why-band__panel { padding: 3.25rem 2.5rem; }
}

@media (min-width: 992px) {
    .why-band--triple {
        /* پنل هیچ‌وقت از ۲۰rem باریک‌تر نمی‌شود تا خطوط فارسی نشکنند */
        grid-template-columns: minmax(0, 1fr) minmax(20rem, 26%) minmax(0, 1fr);
        grid-template-rows: minmax(22rem, auto);
        grid-template-areas: "right panel left";
    }

    .why-band--double {
        grid-template-columns: minmax(0, 1.4fr) minmax(22rem, 1fr);
        grid-template-areas: "media panel";
    }

    .why-band--triple .why-band__media,
    .why-band--double .why-band__media {
        aspect-ratio: auto;
        height: 100%;
    }

    .why-band--triple .why-band__panel,
    .why-band--double .why-band__panel {
        border-inline: 1px solid var(--brand-line);
    }

    .why-band--triple .why-band__media--right { border-inline-start: 0; }

    .why-band--solo .why-band__panel { padding-block: 4rem; }
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .why-band__media img { transition: transform 1.2s var(--ease); }
    .why-band:hover .why-band__media img { transform: scale(1.03); }
}

/* ========== بنر اصالت (Provenance) ==========
   عکس لیبل تمام‌عرض؛ متن سمت چپ روی گرادیان تیره.
   جایگزین بنر جداگانهٔ «درخواست نمونه»: CTA اصلی همین‌جاست. */
.provenance {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: var(--brand-ink-2);
    border-block: 1px solid var(--brand-line);
}

.provenance__image {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* لیبل در نیمهٔ راست عکس است؛ در موبایل همان بخش دیده شود */
    object-position: 75% center;
}

.provenance__scrim {
    position: absolute;
    inset: 0;
    z-index: -1;
    /* موبایل: متن روی کل تصویر است، پس تیرگی یکنواخت‌تر */
    background: linear-gradient(0deg, rgba(15, 13, 11, .95) 35%, rgba(15, 13, 11, .55));
}

.provenance--plain {
    background:
        radial-gradient(90% 120% at 0% 50%, rgba(201, 162, 39, .08), transparent 60%),
        var(--brand-surface);
}

.provenance__inner {
    display: flex;
    /* در RTL، flex-end یعنی سمت چپ؛ مطابق طرح */
    justify-content: flex-end;
    padding-block: 3rem;
}

.provenance__content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: min(100%, 30rem);
}

.provenance__title {
    margin: 0;
    font-family: "Cormorant Garamond", "Times New Roman", Georgia, serif;
    font-size: clamp(2.25rem, 1.6rem + 2.6vw, 3.5rem);
    font-weight: 500;
    line-height: 1;
    letter-spacing: .08em;
    text-align: start;
    color: var(--brand-gold-soft);
}

.provenance__tagline {
    margin: -.25rem 0 0;
    font-size: .85rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--brand-gold);
}

.provenance__tagline::after {
    content: "";
    display: block;
    width: 3.5rem;
    height: 1px;
    margin-top: .9rem;
    background: var(--brand-gold);
    opacity: .6;
}

.provenance__body {
    margin: 0 auto 0 0;
    text-align: left;
    max-width: 42ch;
    font-size: .92rem;
    line-height: 2;
    color: var(--brand-muted);
}


.provenance__facts {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
    margin: .25rem 0 .5rem;
    border-block: 1px solid var(--brand-line);
}

.provenance__fact {
    display: flex;
    flex-direction: column-reverse; /* عدد بالا، برچسب پایین؛ ترتیب DOM برای dl معتبر می‌ماند */
    gap: .2rem;
    padding: .9rem .75rem;
    text-align: center;
}

.provenance__fact + .provenance__fact { border-inline-start: 1px solid var(--brand-line); }

.provenance__fact-value {
    margin: 0;
    font-size: clamp(1.1rem, 1rem + .5vw, 1.4rem);
    font-weight: 600;
    color: var(--brand-text);
}

.provenance__fact-label {
    font-size: .75rem;
    font-weight: 400;
    color: var(--brand-muted);
}

.provenance__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .75rem 1.5rem;
    direction:ltr;
}

.provenance__cta { padding: .8rem 1.75rem; }

.provenance__link {
    font-size: .9rem;
    color: var(--brand-text);
    border-bottom: 1px solid var(--brand-line);
    padding-bottom: .15rem;
    transition: color .3s var(--ease), border-color .3s var(--ease);
}

.provenance__link:hover,
.provenance__link:focus-visible {
    color: var(--brand-gold-soft);
    border-color: var(--brand-gold-soft);
}

@media (max-width: 575.98px) {
    .provenance__cta { flex: 1 1 100%; text-align: center; }
    .provenance__inner { padding-top: 12rem; } /* جا برای دیده شدن لیبل بالای متن */
}

@media (min-width: 992px) {
    .provenance__scrim {
        background: linear-gradient(to left,
            rgba(15, 13, 11, 0) 35%,
            rgba(15, 13, 11, .85) 58%,
            rgba(15, 13, 11, .97) 100%);
    }

    .provenance__inner {
        min-height: 26rem;
        align-items: center;
        padding-block: 4rem;
    }
}

/* ========== فوتر ==========
   RTL: برند | دسترسی سریع | خدمات | تماس ← تصویر تزئینی در لبهٔ چپ (فقط دسکتاپ). */
.site-footer {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: var(--brand-ink-2);
    border-top: 1px solid var(--brand-line);
    color: var(--brand-muted);
}

.site-footer__art {
    display: none;
}

@media (min-width: 1200px) {
    .site-footer__art {
        display: block;
        position: absolute;
        inset-block: 0;
        inset-inline-end: 0; /* در RTL یعنی سمت چپ */
        z-index: -1;
        width: 30%;
    }

    .site-footer__art img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        opacity: .55;
    }

    /* محو شدن تصویر به سمت ستون‌ها */
    .site-footer__art::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(to left, var(--brand-ink-2) 0%, rgba(15, 13, 11, 0) 80%);
    }
}

.site-footer__inner {
    padding-block: 3rem 1.5rem;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.25rem 1.5rem;
}

.site-footer__brand,
.site-footer__col--contact {
    grid-column: 1 / -1;
}

@media (min-width: 768px) {
    .site-footer__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .site-footer__brand { grid-column: 1 / -1; }
    .site-footer__col--contact { grid-column: auto; }
}

@media (min-width: 992px) {
    .site-footer__inner { padding-block: 3.75rem 1.75rem; }

    .site-footer__grid {
        grid-template-columns: 1.3fr 1fr 1fr 1.3fr;
        gap: 0;
    }

    .site-footer__brand { grid-column: auto; }

    /* جداکنندهٔ عمودی نازک طلایی بین ستون‌ها */
    .site-footer__grid > * + * {
        border-inline-start: 1px solid var(--brand-line);
        padding-inline-start: 2rem;
    }

    .site-footer__grid > * { padding-inline-end: 1.5rem; }
}

@media (min-width: 1200px) {
    /* ستون‌ها قبل از تصویر تزئینی تمام می‌شوند */
    .site-footer__grid { max-width: 74%; }
}

/* --- برند --- */
.site-footer__brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

@media (min-width: 992px) {
    .site-footer__brand { align-items: center; }
}

.site-footer__logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .6rem;
}

.site-footer__mark {
    width: 52px;
    height: 52px;
    fill: none;
    stroke: var(--brand-gold);
    stroke-width: 2.2;
    stroke-linecap: round;
}

.site-footer__wordmark {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.2;
    font-family: "Times New Roman", Georgia, serif;
}

.site-footer__wordmark strong {
    font-size: 1.6rem;
    font-weight: 500;
    letter-spacing: .32em;
    margin-inline-start: .32em; /* جبران letter-spacing آخر کلمه برای وسط‌چین دقیق */
    color: var(--brand-gold-soft);
}

.site-footer__wordmark small {
    font-size: .55rem;
    letter-spacing: .24em;
    color: var(--brand-gold);
}

.site-footer__signature {
    margin: 0;
    font-family: "Times New Roman", Georgia, serif;
    font-size: 1.2rem;
    font-style: italic;
    color: var(--brand-gold-soft);
    opacity: .85;
}

/* --- ستون‌ها --- */
.site-footer__title {
    margin: 0 0 1.1rem;
    font-size: .95rem;
    font-weight: 600;
    color: var(--brand-text);
}

.site-footer__links {
    display: grid;
    gap: .7rem;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: .875rem;
}

.site-footer__links a,
.site-footer__contact-row {
    transition: color .25s var(--ease);
}

.site-footer__links a:hover,
.site-footer__links a:focus-visible,
a.site-footer__contact-row[href]:hover,
a.site-footer__contact-row[href]:focus-visible {
    color: var(--brand-gold-soft);
}

/* --- تماس --- */
.site-footer__contact {
    display: grid;
    gap: .8rem;
    margin: 0;
    font-style: normal;
    font-size: .875rem;
}

.site-footer__contact-row {
    display: flex;
    align-items: flex-start;
    gap: .65rem;
    line-height: 1.7;
}

.site-footer__contact-row svg,
.site-footer__social svg {
    flex: none;
    width: 18px;
    height: 18px;
    fill: none;
    stroke: var(--brand-gold);
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.site-footer__contact-row svg { margin-top: .2rem; }

.site-footer__social svg .is-fill { fill: var(--brand-gold); stroke: none; }

.site-footer__socials {
    display: flex;
    gap: .6rem;
    margin: 1.25rem 0 0;
    padding: 0;
    list-style: none;
}

.site-footer__social {
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid var(--brand-line);
    border-radius: 50%;
    transition: background-color .25s var(--ease), border-color .25s var(--ease);
}

.site-footer__social:hover,
.site-footer__social:focus-visible {
    background: var(--brand-gold);
    border-color: var(--brand-gold);
}

.site-footer__social:hover svg,
.site-footer__social:focus-visible svg { stroke: #221b0e; }
.site-footer__social:hover svg .is-fill,
.site-footer__social:focus-visible svg .is-fill { fill: #221b0e; }

/* --- نوار پایین --- */
.site-footer__bottom {
    margin-top: 2.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--brand-line);
}

.site-footer__copyright {
    margin: 0;
    font-size: .78rem;
    text-align: center;
    color: var(--brand-muted);
    opacity: .8;
}

@media (min-width: 1200px) {
    .site-footer__bottom { max-width: 74%; }
}


/* ========== 14. وبلاگ صفحهٔ اصلی: دفتر ماریسا ========== */
.home-journal {
    position: relative;
    padding-block: clamp(3rem, 7vw, 5.5rem);
    background:
        radial-gradient(60rem 30rem at 85% 0%, rgba(201, 162, 39, .07), transparent 60%),
        var(--brand-ink-2);
    border-top: 1px solid var(--brand-line);
    overflow: hidden;
}

/* --- سربرگ --- */
.home-journal__head {
    position: relative;
    margin-bottom: clamp(1.75rem, 4vw, 2.75rem);
    text-align: center;
}

.home-journal__kicker {
    display: inline-block;
    margin-bottom: .6rem;
    font-size: .7rem;
    letter-spacing: .32em;
    color: var(--brand-gold-soft);
}

.home-journal__title {
    margin: 0;
    font-size: clamp(1.4rem, 1.15rem + 1vw, 2rem);
    font-weight: 600;
}

.home-journal__title::after {
    content: "";
    display: block;
    width: 3.5rem;
    height: 1px;
    margin: .85rem auto 0;
    background: var(--brand-gold);
}

.home-journal__intro {
    max-width: 34rem;
    margin: .9rem auto 0;
    font-size: .9rem;
    line-height: 1.9;
    color: var(--brand-muted);
}

.home-journal__all {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    margin-top: .9rem;
    font-size: .8rem;
    color: var(--brand-gold-soft);
}

.home-journal__all svg,
.journal-lead__more svg {
    width: 1rem;
    height: 1rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    transition: transform .3s var(--ease);
}

.home-journal__all:hover { text-decoration: underline; text-underline-offset: .35em; }
.home-journal__all:hover svg { transform: translateX(-3px); }

@media (min-width: 992px) {
    .home-journal__all {
        position: absolute;
        inset-inline-end: 0;
        top: 1.6rem;
        margin: 0;
    }
}

/* --- برچسب و متا --- */
.journal-chip {
    position: relative;
    z-index: 2;
    display: inline-block;
    padding: .28rem .75rem;
    font-size: .72rem;
    color: #221b0e;
    background: var(--brand-gold-soft);
    border-radius: 2rem;
}

.journal-chip:hover { background: var(--brand-gold); }

.journal-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .45rem;
    font-size: .78rem;
    color: var(--brand-muted);
}

.journal-meta--sm { font-size: .72rem; }

/* --- مطلب شاخص --- */
.journal-lead {
    position: relative;
    height: 100%;
    min-height: 26rem;
    border: 1px solid var(--brand-line);
    border-radius: .35rem;
    overflow: hidden;
    isolation: isolate;
    background: var(--brand-surface);
}

.journal-lead__media,
.journal-lead__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.journal-lead__media img {
    object-fit: cover;
    transform: scale(1.01);
    transition: transform 1.2s var(--ease);
}

.journal-lead__scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(15, 13, 11, .96) 8%, rgba(15, 13, 11, .55) 45%, rgba(15, 13, 11, .05) 80%);
}

.journal-lead__body {
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    padding: clamp(1.25rem, 3vw, 2.25rem);
}

.journal-lead__title {
    margin: .9rem 0 .6rem;
    font-size: clamp(1.2rem, 1rem + 1vw, 1.75rem);
    font-weight: 700;
    line-height: 1.6;
}

/* کل کارت کلیک‌پذیر؛ برچسب دسته بالاتر می‌ماند */
.journal-lead__title a::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
}

.journal-lead__excerpt {
    max-width: 38rem;
    margin: 0 0 .9rem;
    font-size: .9rem;
    line-height: 1.9;
    color: #ddd4c7;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.journal-lead__more {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    margin-top: 1rem;
    padding-bottom: .2rem;
    font-size: .82rem;
    color: var(--brand-gold-soft);
    border-bottom: 1px solid var(--brand-line);
}

.journal-lead:hover .journal-lead__media img { transform: scale(1.06); }
.journal-lead:hover .journal-lead__more svg { transform: translateX(-4px); }
.journal-lead:focus-within { outline: 2px solid var(--brand-gold); outline-offset: 3px; }

/* --- فهرست تازه‌ترین‌ها --- */
.journal-list {
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--brand-line);
}

.journal-item {
    position: relative;
    display: grid;
    grid-template-columns: auto 6.5rem 1fr;
    align-items: center;
    gap: 1rem;
    padding-block: 1.15rem;
    border-bottom: 1px solid var(--brand-line);
}

.journal-item__index {
    font-size: 1.6rem;
    font-weight: 300;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px var(--brand-gold);
    min-width: 2.2rem;
    transition: color .3s var(--ease);
}

.journal-item__thumb {
    display: block;
    aspect-ratio: 4 / 3;
    border-radius: .25rem;
    overflow: hidden;
    background: var(--brand-surface);
}

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

.journal-item__category {
    position: relative;
    z-index: 2;
    font-size: .72rem;
    color: var(--brand-gold-soft);
}

.journal-item__category:hover { text-decoration: underline; text-underline-offset: .3em; }

.journal-item__title {
    margin: .3rem 0 .45rem;
    font-size: .95rem;
    font-weight: 600;
    line-height: 1.75;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.journal-item__title a::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
}

.journal-item:hover .journal-item__index { color: var(--brand-gold); }
.journal-item:hover .journal-item__thumb img { transform: scale(1.07); }
.journal-item:hover .journal-item__title a { color: var(--brand-gold-soft); }
.journal-item:focus-within { outline: 1px solid var(--brand-gold); outline-offset: 2px; }

.home-journal__cta { padding-block: .75rem; }

/* موبایل: شماره کوچک‌تر، تصویر کوچک‌تر */
@media (max-width: 575.98px) {
    .journal-lead { min-height: 22rem; }
    .journal-item { grid-template-columns: auto 5rem 1fr; gap: .75rem; }
    .journal-item__index { font-size: 1.25rem; min-width: 1.6rem; }
}

@media (prefers-reduced-motion: reduce) {
    .journal-lead__media img,
    .journal-item__thumb img,
    .home-journal__all svg,
    .journal-lead__more svg { transition: none; }
    .journal-lead:hover .journal-lead__media img,
    .journal-item:hover .journal-item__thumb img { transform: none; }
}


/* ========== 15. صفحه‌های ثابت (درباره ما، تماس با ما، ...) ========== */
.static-page {
    background: var(--brand-ink);
    padding-bottom: clamp(3rem, 7vw, 5rem);
}

.static-page--full { padding: var(--header-h) 0 0; }

/* --- سربرگ: بدون تصویر، نوار ساده با خط طلایی؛ با تصویر، قاب تمام‌عرض --- */
.static-page__hero {
    position: relative;
    display: flex;
    align-items: flex-end;
    padding-top: var(--header-h);
    min-height: clamp(220px, 28vw, 320px);
    background:
        radial-gradient(50rem 20rem at 50% 0%, rgba(201, 162, 39, .1), transparent 70%),
        var(--brand-ink-2);
    border-bottom: 1px solid var(--brand-line);
    overflow: hidden;
    isolation: isolate;
}

.static-page__hero.has-image { min-height: clamp(300px, 42vw, 500px); }

.static-page__hero-image {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.static-page__hero-scrim {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(0deg, rgba(10, 8, 7, .94) 0%, rgba(10, 8, 7, .55) 50%, rgba(10, 8, 7, .25) 100%);
}

.static-page__hero-body {
    padding-block: clamp(1.75rem, 4vw, 3rem);
    text-align: center;
}

.static-page__kicker {
    display: block;
    margin-bottom: .6rem;
    font-size: .7rem;
    letter-spacing: .32em;
    color: var(--brand-gold-soft);
}

.static-page__title {
    margin: 0;
    font-size: clamp(1.6rem, 1.2rem + 1.8vw, 2.6rem);
    font-weight: 700;
    line-height: 1.5;
}

.static-page__title::after {
    content: "";
    display: block;
    width: 3.5rem;
    height: 1px;
    margin: 1rem auto 0;
    background: var(--brand-gold);
}

.static-page__intro {
    max-width: 40rem;
    margin: 1rem auto 0;
    font-size: .95rem;
    line-height: 2;
    color: #ddd4c7;
}

/* --- بدنه --- */
.static-page__wrap { padding-top: 1.5rem; }

.static-page__breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-bottom: clamp(1.75rem, 4vw, 2.75rem);
    font-size: .78rem;
    color: var(--brand-muted);
}

.static-page__breadcrumb a:hover { color: var(--brand-gold-soft); }

/* تایپوگرافی از collection-page__content می‌آید؛ اینجا فقط عرض خوانا */
.static-page__content { max-width: 50rem; }
.static-page__content--aside { max-width: none; }

.static-page__empty {
    color: var(--brand-muted);
    text-align: center;
}

/* --- قالب تماس --- */
.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
    gap: 1rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.contact-cards__wide { grid-column: 1 / -1; }

.contact-card {
    display: flex;
    flex-direction: column;
    gap: .35rem;
    height: 100%;
    padding: 1.4rem 1.5rem;
    background: var(--brand-surface);
    border: 1px solid var(--brand-line);
    border-radius: .35rem;
    transition: border-color .3s var(--ease), transform .3s var(--ease);
}

a.contact-card[href]:hover {
    border-color: var(--brand-gold);
    transform: translateY(-2px);
}

.contact-card__icon {
    display: inline-grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    margin-bottom: .5rem;
    border: 1px solid var(--brand-line);
    border-radius: 50%;
}

.contact-card__icon svg {
    width: 1.25rem;
    height: 1.25rem;
    fill: none;
    stroke: var(--brand-gold-soft);
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.contact-card__label {
    font-size: .75rem;
    color: var(--brand-muted);
}

.contact-card__value {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--brand-text);
    line-height: 1.8;
}

.contact-card__more {
    margin-top: .35rem;
    font-size: .78rem;
    color: var(--brand-gold-soft);
}

.contact-social {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    margin-top: 1.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--brand-line);
}

.contact-social__title {
    font-size: .85rem;
    color: var(--brand-muted);
}

.contact-social__list {
    display: flex;
    gap: .6rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

@media (prefers-reduced-motion: reduce) {
    .contact-card { transition: none; }
    a.contact-card[href]:hover { transform: none; }
}

/* ========== منوی داینامیک: زیرمنو ========== */
.site-nav__item { position: relative; }

.site-nav__toggle {
    background: none; border: 0; cursor: default;
    font: inherit;
}

.site-nav__item.has-children > .site-nav__link { padding-inline-end: 1rem; }

.site-nav__item.has-children > .site-nav__link::before {
    content: ""; position: absolute; inset-inline-end: 0; top: 50%;
    width: 6px; height: 6px; margin-top: -5px;
    border-inline-end: 1px solid currentColor; border-bottom: 1px solid currentColor;
    transform: rotate(45deg); opacity: .7;
}

.site-nav__submenu {
    position: absolute; top: 100%; inset-inline-start: -1rem; z-index: 1050;
    min-width: 220px; margin: .75rem 0 0; padding: .5rem 0; list-style: none;
    background: var(--brand-ink); border: 1px solid var(--brand-line);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .35);
    opacity: 0; visibility: hidden; transform: translateY(6px);
    transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}

/* پل نامرئی تا با حرکت ماوس به سمت زیرمنو، منو بسته نشود. */
.site-nav__submenu::before {
    content: ""; position: absolute; inset-inline: 0; top: -.8rem; height: .8rem;
}

.site-nav__item.has-children:hover > .site-nav__submenu,
.site-nav__item.has-children:focus-within > .site-nav__submenu {
    opacity: 1; visibility: visible; transform: none;
}

.site-nav__sublink {
    display: block; padding: .55rem 1.1rem;
    font-size: .88rem; color: var(--brand-text); white-space: nowrap;
    transition: color .2s var(--ease), background-color .2s var(--ease);
}

.site-nav__sublink:hover, .site-nav__sublink:focus-visible, .site-nav__sublink.is-active {
    color: var(--brand-gold-soft); background: rgba(255, 255, 255, .04);
}

.site-offcanvas__heading {
    display: block; padding: .85rem .25rem .35rem;
    color: var(--brand-muted); font-size: .85rem;
}

.site-offcanvas__heading.is-active { color: var(--brand-gold-soft); }

.site-offcanvas__sublist { list-style: none; margin: 0; padding: 0 1rem 0 0; }
.site-offcanvas__sublist a { font-size: .9rem; padding-block: .6rem; }

@media (prefers-reduced-motion: reduce) {
    .site-nav__submenu { transition: none; }
}

/* ========== جست‌وجو: پنل هدر + پیشنهاد زنده ========== */
.site-search__field { position: relative; flex: 1 1 auto; min-width: 0; }

.site-search {
    background: rgba(21, 18, 15, .97);
    border-top: 1px solid var(--brand-line);
    border-bottom: 1px solid var(--brand-line);
    backdrop-filter: blur(8px);
}

.site-search__hint { margin: 0; padding-bottom: 1rem; font-size: .78rem; color: var(--brand-muted); }

.btn-ghost {
    border: 1px solid var(--brand-line); color: var(--brand-muted); background: transparent;
}

.btn-ghost:hover, .btn-ghost:focus-visible { color: var(--brand-text); border-color: var(--brand-gold); }

.site-search__hint a { color: var(--brand-gold-soft); }
.site-search__hint a:hover { text-decoration: underline; }

.site-search__results {
    position: absolute; top: calc(100% + .35rem); inset-inline: 0; z-index: 1060;
    max-height: min(60vh, 26rem); overflow-y: auto;
    margin: 0; padding: .35rem 0; list-style: none;
    background: var(--brand-ink); border: 1px solid var(--brand-line);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .4);
}

.site-search__result, .site-search__all {
    display: flex; align-items: baseline; gap: .6rem; flex-wrap: wrap;
    padding: .6rem 1rem; color: var(--brand-text);
}

.site-search__result:hover, .site-search__result.is-active,
.site-search__all:hover, .site-search__all.is-active {
    background: rgba(255, 255, 255, .05); color: var(--brand-gold-soft);
}

.site-search__kind {
    flex: none; padding: .05rem .45rem; font-size: .68rem;
    color: var(--brand-gold-soft); border: 1px solid var(--brand-line);
}

.site-search__title { font-size: .92rem; }
.site-search__sub { font-size: .75rem; color: var(--brand-muted); }

.site-search__all {
    margin-top: .25rem; border-top: 1px solid rgba(255, 255, 255, .06);
    font-size: .82rem; color: var(--brand-gold-soft);
}

/* ========== صفحهٔ نتیجهٔ جست‌وجو ========== */
.search-page__form {
    display: flex; gap: .5rem;
    max-width: 36rem; margin: 1.5rem auto 0;
}

.search-page__form .form-control {
    background: rgba(255, 255, 255, .06);
    border-color: var(--brand-line);
    color: var(--brand-text);
}

.search-page__form .form-control::placeholder { color: var(--brand-muted); }

.search-page__status { color: var(--brand-muted); margin-bottom: 1.25rem; }
.search-page__status strong, .search-page__empty strong { color: var(--brand-gold-soft); font-weight: 500; }

.search-page__empty { padding: 2.5rem 0 1rem; text-align: center; color: var(--brand-text); }
.search-page__empty .small { color: var(--brand-muted); }

.search-page__jump {
    display: flex; flex-wrap: wrap; gap: .5rem;
    margin-bottom: 2rem;
}

.search-page__jump a {
    padding: .35rem .85rem; font-size: .82rem;
    border: 1px solid var(--brand-line); color: var(--brand-text);
    transition: color .2s var(--ease), border-color .2s var(--ease);
}

.search-page__jump a:hover { color: var(--brand-gold-soft); border-color: var(--brand-gold); }
.search-page__jump span { color: var(--brand-muted); margin-inline-start: .25rem; }

.search-page__suggest {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .5rem;
    margin-top: 2rem; font-size: .85rem; color: var(--brand-muted);
}

.search-page__suggest a {
    padding: .25rem .75rem; border: 1px solid var(--brand-line); color: var(--brand-gold-soft);
}

.search-group { margin-bottom: 2.75rem; scroll-margin-top: calc(var(--header-h) + 1rem); }

.search-group__title {
    display: flex; align-items: center; gap: 1rem;
    margin-bottom: 1rem; font-size: 1.05rem; font-weight: 600;
}

.search-group__title::after { content: ""; flex: 1; height: 1px; background: var(--brand-line); }

.search-group__list {
    display: grid; gap: .75rem;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 22rem), 1fr));
    margin: 0; padding: 0; list-style: none;
}

.search-hit {
    display: flex; gap: 1rem; height: 100%;
    padding: .85rem; color: var(--brand-text);
    background: var(--brand-ink-2); border: 1px solid rgba(255, 255, 255, .06);
    transition: border-color .25s var(--ease), transform .25s var(--ease);
}

.search-hit:hover, .search-hit:focus-visible { border-color: var(--brand-line); transform: translateY(-2px); }
.search-hit:hover .search-hit__title { color: var(--brand-gold-soft); }

.search-hit__thumb { flex: none; width: 72px; height: 72px; object-fit: cover; background: rgba(255, 255, 255, .04); }
.search-hit__thumb--empty { display: block; border: 1px solid var(--brand-line); }

.search-hit__body { display: flex; flex-direction: column; gap: .2rem; min-width: 0; }
.search-hit__title { font-weight: 500; transition: color .2s var(--ease); }
.search-hit__subtitle { font-size: .75rem; color: var(--brand-muted); letter-spacing: .02em; }

.search-hit__excerpt {
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    font-size: .8rem; line-height: 1.8; color: #cfc6b8;
}

.search-group__more { margin-top: .85rem; font-size: .8rem; color: var(--brand-muted); }
.search-group__more a { color: var(--brand-gold-soft); margin-inline-start: .35rem; }

@media (max-width: 575.98px) {
    .search-page__form, .site-search__form { flex-wrap: wrap; }
    .search-page__form .form-control { flex-basis: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    .search-hit { transition: none; }
    .search-hit:hover { transform: none; }
}


/* ========== دعوت به اقدام یکسان: سفارش و مشاوره ← تماس با ما ========== */
.contact-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 1.5rem;
}

.contact-cta--inline { justify-content: space-between; }

.contact-cta--center {
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.contact-cta--stack {
    flex-direction: column;
    align-items: stretch;
    gap: .9rem;
}

.contact-cta__text {
    margin: 0 auto 0 0;
    font-size: clamp(.95rem, .9rem + .4vw, 1.15rem);
    font-weight: 500;
    line-height: 1.9;
    color: var(--brand-gold-soft);
}

.contact-cta--stack .contact-cta__text {
    font-size: .88rem;
    color: var(--brand-text);
}

.contact-cta__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .7rem 1.6rem;
    direction:rtl;
}

.contact-cta__btn svg {
    width: 1.1em;
    height: 1.1em;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform .3s var(--ease);
}

/* RTL: فلش به سمت چپ حرکت می‌کند */
.contact-cta__btn:hover svg,
.contact-cta__btn:focus-visible svg { transform: translateX(-4px); }

.category-page__cta-text { margin-top: 1.75rem; }
.category-page__cta-text + .category-page__actions { margin-top: 1rem; }

.category-spec .contact-cta { margin-top: 1.25rem; }

.provenance__cta-text { margin-bottom: 1rem; }

/* قوانین قدیمی p در این بخش‌ها نباید رنگ و فاصلهٔ جمله را بشکنند */
.weave-guide__cta .contact-cta__text { margin: 0; color: var(--brand-gold-soft); }

@media (prefers-reduced-motion: reduce) {
    .contact-cta__btn svg { transition: none; }
    .contact-cta__btn:hover svg { transform: none; }
}


/* --- CTA ساخته‌شده داخل محتوای پنل (کلکسیون، دسته‌بندی، وبلاگ، ...) --- */
.contact-cta--content {
    display: flex;
    margin-block: 1.75rem;
    padding: 1.4rem 1.5rem;
    border: 1px solid var(--brand-line);
    background: linear-gradient(180deg, var(--brand-surface), var(--brand-ink-2));
}

span.contact-cta--content {
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 1.5rem;
}

.contact-cta--content .contact-cta__text { display: block; margin: 0; color: var(--brand-gold-soft); }

/* رنگ و زیرخط لینک‌های متن نباید روی دکمه بنشیند */
.collection-page__content a.contact-cta__btn,
.category-page__content a.contact-cta__btn,
.static-page__content a.contact-cta__btn,
.post-page__content a.contact-cta__btn,
.static-page a.contact-cta__btn {
    color: #221b0e;
    text-decoration: none;
}


/* ==========================================================
   قالب یکدست محتوای کلکسیون‌ها (mc-*)
   همهٔ کلکسیون‌ها یک ساختار دارند: معرفی، شناسنامهٔ رنگ،
   پوشاک قابل تولید، جدول ست‌کردن، ترکیب‌های پیشنهادی، نگهداری.
   ========================================================== */

/* نام فارسی به‌جای عنوان لاتین: بدون فاصلهٔ حروف و فونت سریف */
.collection-page__title--fa {
    font-family: inherit;
    font-weight: 700;
    letter-spacing: 0;
    font-size: clamp(1.8rem, 5vw, 3rem);
}

.collection-tile__name--fa {
    font-family: inherit;
    font-weight: 600;
    letter-spacing: 0;
    font-size: clamp(1rem, 1.9vw, 1.4rem);
}

.collection-page__content { max-width: 60rem; }

/* --- معرفی --- */
.mc-intro { margin-bottom: 2rem; }

.collection-page__content .mc-lead {
    font-size: clamp(1.02rem, .95rem + .4vw, 1.2rem);
    line-height: 2.1;
    color: var(--brand-text);
}

/* --- شناسنامهٔ رنگ --- */
.mc-profile {
    --mc-tone: #888;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: stretch;
    gap: 1.25rem;
    margin: 0 0 2.5rem;
    padding: 1.25rem;
    border: 1px solid var(--brand-line);
    background: linear-gradient(180deg, var(--brand-surface), var(--brand-ink-2));
}

.mc-profile--light-cream { --mc-tone: #ece2cc; }
.mc-profile--nescafe     { --mc-tone: #a0785a; }
.mc-profile--dark-brown  { --mc-tone: #3e2a1f; }
.mc-profile--navy        { --mc-tone: #1d2a45; }
.mc-profile--black       { --mc-tone: #0b0b0b; }

.mc-profile__chip {
    width: clamp(64px, 12vw, 110px);
    min-height: 100%;
    background: var(--mc-tone);
    border: 1px solid var(--brand-line);
    box-shadow: inset 0 0 0 4px rgba(0, 0, 0, .25);
}

.collection-page__content .mc-profile__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .85rem 1.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.collection-page__content .mc-profile__list li { margin: 0; }

.mc-profile__label {
    display: block;
    font-size: .75rem;
    color: var(--brand-gold-soft);
}

.mc-profile__value {
    display: block;
    font-size: .92rem;
    color: var(--brand-text);
    line-height: 1.8;
}

/* --- تیتر بخش‌ها --- */
.collection-page__content .mc-heading {
    display: flex;
    align-items: center;
    gap: .9rem;
    margin: 2.75rem 0 1.25rem;
    font-size: clamp(1.15rem, 2.2vw, 1.45rem);
}

.mc-heading::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--brand-line);
}

/* --- کارت‌های پوشاک --- */
.collection-page__content .mc-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.collection-page__content .mc-card {
    margin: 0;
    padding: 1.2rem 1.25rem;
    border: 1px solid var(--brand-line);
    border-top: 2px solid var(--brand-gold);
    background: rgba(255, 255, 255, .02);
}

.collection-page__content .mc-card__title {
    margin: 0 0 .5rem;
    font-size: 1rem;
    color: var(--brand-gold-soft);
}

.collection-page__content .mc-card p { margin: 0; font-size: .9rem; }

/* --- جدول ست‌کردن --- */
.mc-table-wrap { overflow-x: auto; }

.collection-page__content .mc-table { margin: 0; font-size: .9rem; }

.collection-page__content .mc-table thead th {
    background: rgba(201, 162, 39, .1);
    color: var(--brand-gold-soft);
    font-weight: 600;
}

.collection-page__content .mc-table tbody th {
    width: 26%;
    white-space: nowrap;
    color: var(--brand-text);
    font-weight: 600;
}

.collection-page__content .mc-table td { line-height: 1.9; }

/* --- ترکیب‌های پیشنهادی --- */
.collection-page__content .mc-looks {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: look;
}

.collection-page__content .mc-look {
    position: relative;
    margin: 0;
    padding: 1.1rem 1.2rem 1.2rem;
    border: 1px solid var(--brand-line);
    counter-increment: look;
}

.mc-look::before {
    content: counter(look, persian);
    position: absolute;
    top: .8rem;
    inset-inline-end: 1rem;
    font-size: 1.6rem;
    line-height: 1;
    color: rgba(201, 162, 39, .35);
}

.mc-look__title {
    display: block;
    margin-bottom: .45rem;
    font-weight: 600;
    color: var(--brand-text);
}

.collection-page__content .mc-look p { margin: 0; font-size: .88rem; }

/* --- نگهداری --- */
.collection-page__content .mc-note { margin-top: 2.5rem; }
.collection-page__content .mc-note p { margin: 0; color: var(--brand-text); font-size: .9rem; }
.mc-note strong { color: var(--brand-gold-soft); }

@media (max-width: 767.98px) {
    .mc-profile { grid-template-columns: 1fr; }
    .mc-profile__chip { width: 100%; min-height: 56px; }
    .collection-page__content .mc-cards,
    .collection-page__content .mc-looks { grid-template-columns: 1fr; }
}

@media (max-width: 991.98px) and (min-width: 768px) {
    .collection-page__content .mc-looks { grid-template-columns: 1fr; }
}

@media (max-width: 479.98px) {
    .collection-page__content .mc-profile__list { grid-template-columns: 1fr; }
    .collection-page__content .mc-table tbody th { white-space: normal; }
}


/* ==========================================================
   قالب یکدست محتوای کلکسیون‌ها — اجزای تکمیلی (mc-* نسخهٔ ۲)
   همهٔ کلکسیون‌ها از همین اجزا استفاده می‌کنند؛ هر صفحه ترکیب
   و ترتیب متفاوتی از آن‌ها را برمی‌دارد تا محتوا تکراری نشود.
   تصویر، شکاف دوستونه، گالری، پالت رنگ، مراحل، نقل‌قول، پرسش‌ها.
   ========================================================== */

/* تصاویر داخل اجزا قاب و فاصلهٔ پیش‌فرض محتوا را نمی‌گیرند */
.collection-page__content .mc-figure img,
.collection-page__content .mc-split img,
.collection-page__content .mc-gallery img {
    width: 100%;
    margin: 0;
}

/* --- تصویر تکی با زیرنویس --- */
.collection-page__content .mc-figure {
    margin: 2.25rem 0;
}

/* تصاویر مربعی/عمودی بیش از حد بلند نشوند؛ نسبت تصویر حفظ می‌شود */
.collection-page__content .mc-figure img {
    width: auto;
    max-width: 100%;
    max-height: 34rem;
    margin-inline: auto;
    border: 1px solid var(--brand-line);
}

/* جدول‌های بوت‌استرپ در تم تیره: زمینهٔ سفید پیش‌فرض حذف می‌شود */
.collection-page__content .mc-table {
    --bs-table-bg: transparent;
    --bs-table-color: var(--brand-muted);
    --bs-table-border-color: var(--brand-line);
    --bs-table-striped-bg: rgba(255, 255, 255, .02);
    --bs-table-hover-bg: rgba(201, 162, 39, .06);
}

.collection-page__content .mc-figure figcaption,
.collection-page__content .mc-gallery figcaption {
    margin-top: .65rem;
    font-size: .82rem;
    line-height: 1.9;
    color: var(--brand-muted);
    text-align: center;
}

/* --- شکاف دوستونه: تصویر + متن --- */
.collection-page__content .mc-split {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: clamp(1.25rem, 3vw, 2.5rem);
    align-items: center;
    margin: 2.75rem 0;
}

.collection-page__content .mc-split--reverse .mc-split__media { order: 2; }

.collection-page__content .mc-split__media {
    position: relative;
}

.collection-page__content .mc-split__media::after {
    content: "";
    position: absolute;
    inset: .6rem;
    border: 1px solid rgba(216, 181, 106, .35);
    pointer-events: none;
}

.collection-page__content .mc-split__body > :first-child { margin-top: 0; }
.collection-page__content .mc-split__body > :last-child { margin-bottom: 0; }

/* --- گالری ۲ یا ۳ تصویری --- */
.collection-page__content .mc-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .85rem;
    margin: 0 0 2rem;
    padding: 0;
    list-style: none;
}

.collection-page__content .mc-gallery--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.collection-page__content .mc-gallery li { margin: 0; }
.collection-page__content .mc-gallery figure { margin: 0; overflow: hidden; }

.collection-page__content .mc-gallery img {
    aspect-ratio: 3 / 2;
    object-fit: cover;
    border: 1px solid var(--brand-line);
    transition: transform .6s var(--ease);
}

.collection-page__content .mc-gallery--portrait img { aspect-ratio: 4 / 5; }
.collection-page__content .mc-gallery figure:hover img { transform: scale(1.03); }

/* --- پالت رنگ‌های هماهنگ --- */
.collection-page__content .mc-palette {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    margin: 0 0 1.5rem;
    padding: 0;
    list-style: none;
}

.collection-page__content .mc-palette li {
    --sw: #888;
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    margin: 0;
    padding: .4rem .9rem .4rem .75rem;
    border: 1px solid var(--brand-line);
    border-radius: 999px;
    font-size: .85rem;
    color: var(--brand-text);
    background: rgba(255, 255, 255, .02);
}

.collection-page__content .mc-palette li::before {
    content: "";
    flex: none;
    width: 1.05rem;
    height: 1.05rem;
    border-radius: 50%;
    background: var(--sw);
    border: 1px solid rgba(255, 255, 255, .28);
}

.mc-sw--white     { --sw: #f7f5f0; }
.mc-sw--ivory     { --sw: #efe6d2; }
.mc-sw--sky       { --sw: #a9c6e3; }
.mc-sw--chocolate { --sw: #4a2f22; }
.mc-sw--navy      { --sw: #1d2a45; }
.mc-sw--olive     { --sw: #6b6b3a; }
.mc-sw--caramel   { --sw: #b07a45; }
.mc-sw--silver    { --sw: #b8bcc2; }
.mc-sw--bottle    { --sw: #1f4a3a; }
.mc-sw--burgundy  { --sw: #6d1f2a; }
.mc-sw--gold      { --sw: #c9a227; }
.mc-sw--mustard   { --sw: #c9962e; }
.mc-sw--charcoal  { --sw: #3a3a3c; }

/* --- مراحل / موقعیت‌ها (خط زمانی عمودی) --- */
.collection-page__content .mc-steps {
    position: relative;
    margin: 0 0 1.5rem;
    padding: 0;
    list-style: none;
    counter-reset: step;
}

.collection-page__content .mc-steps::before {
    content: "";
    position: absolute;
    top: .4rem;
    bottom: .4rem;
    inset-inline-start: 1.05rem;
    width: 1px;
    background: var(--brand-line);
}

.collection-page__content .mc-steps__item {
    position: relative;
    margin: 0 0 1.4rem;
    padding-inline-start: 3.25rem;
    counter-increment: step;
}

.collection-page__content .mc-steps__item:last-child { margin-bottom: 0; }

.mc-steps__item::before {
    content: counter(step, persian);
    position: absolute;
    top: 0;
    inset-inline-start: 0;
    display: grid;
    place-items: center;
    width: 2.1rem;
    height: 2.1rem;
    border: 1px solid var(--brand-gold);
    border-radius: 50%;
    background: var(--brand-ink);
    color: var(--brand-gold-soft);
    font-size: .9rem;
}

.mc-steps__title {
    display: block;
    margin-bottom: .3rem;
    font-weight: 600;
    color: var(--brand-text);
}

.collection-page__content .mc-steps__item p { margin: 0; font-size: .92rem; }

/* --- نقل‌قول برجسته --- */
.collection-page__content .mc-quote {
    position: relative;
    margin: 2.5rem 0;
    padding: 1.5rem clamp(1.25rem, 4vw, 3rem);
    border: 0;
    border-block: 1px solid var(--brand-line);
    background: transparent;
    text-align: center;
}

.collection-page__content .mc-quote::before {
    content: "«";
    display: block;
    margin-bottom: .25rem;
    font-size: 2.4rem;
    line-height: 1;
    color: var(--brand-gold);
}

.collection-page__content .mc-quote p {
    margin: 0;
    font-size: clamp(1.05rem, 1rem + .5vw, 1.3rem);
    line-height: 2;
    color: var(--brand-text);
}

/* --- پرسش‌های رایج (details/summary، بدون جاوااسکریپت) --- */
.collection-page__content .mc-faq {
    border-top: 1px solid var(--brand-line);
}

.collection-page__content .mc-faq__item {
    border-bottom: 1px solid var(--brand-line);
}

.collection-page__content .mc-faq__item summary {
    position: relative;
    padding: 1rem 0 1rem 2rem;
    list-style: none;
    cursor: pointer;
    font-weight: 600;
    color: var(--brand-text);
}

.collection-page__content .mc-faq__item summary::-webkit-details-marker { display: none; }

.collection-page__content .mc-faq__item summary::after {
    content: "+";
    position: absolute;
    top: 50%;
    inset-inline-end: 0;
    transform: translateY(-50%);
    font-size: 1.3rem;
    color: var(--brand-gold-soft);
    transition: transform .3s var(--ease);
}

.collection-page__content .mc-faq__item[open] summary::after { transform: translateY(-50%) rotate(45deg); }

.collection-page__content .mc-faq__item p {
    margin: 0 0 1rem;
    font-size: .92rem;
}

/* --- کادر نگهداری: قاب مشخص --- */
.collection-page__content .mc-note {
    padding: 1.1rem 1.25rem;
    border: 1px dashed var(--brand-line);
    background: rgba(201, 162, 39, .04);
}

/* --- کلکسیون‌های دیگر (لینک داخلی زیر هر صفحه) --- */
.collection-related {
    padding-block: clamp(2rem, 5vw, 3.5rem);
    border-top: 1px solid var(--brand-line);
    background: var(--brand-ink-2);
}

.collection-related__title {
    margin: 0 0 1.25rem;
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    text-align: center;
    color: var(--brand-text);
}

.collection-related__list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(10.5rem, 1fr));
    gap: .85rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.collection-related__item {
    position: relative;
    display: block;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border: 1px solid var(--brand-line);
}

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

.collection-related__item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(10, 8, 7, .85), rgba(10, 8, 7, 0) 60%);
}

.collection-related__name {
    position: absolute;
    z-index: 1;
    inset-inline: 0;
    bottom: .9rem;
    text-align: center;
    font-weight: 600;
    color: var(--brand-text);
}

.collection-related__item:hover img,
.collection-related__item:focus-visible img { transform: scale(1.06); }

@media (max-width: 767.98px) {
    .collection-page__content .mc-split { grid-template-columns: 1fr; }
    .collection-page__content .mc-split--reverse .mc-split__media { order: 0; }
    .collection-page__content .mc-gallery,
    .collection-page__content .mc-gallery--2 { grid-template-columns: 1fr; }
    .collection-page__content .mc-gallery--portrait { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .collection-page__content .mc-gallery--portrait li:last-child:nth-child(odd) { grid-column: 1 / -1; }
    .collection-page__content .mc-gallery--portrait li:last-child:nth-child(odd) img { aspect-ratio: 16 / 10; object-position: center 25%; }
    .collection-related__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
    .collection-page__content .mc-gallery img,
    .collection-related__item img,
    .collection-page__content .mc-faq__item summary::after { transition: none; }
}
