/* ===== فونت‌ها ===== */
@font-face {
    font-family: 'Portada';
    font-display: swap;
    src: url('../fonts/PortadaTextARA-Semibold.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

/* فونت تیترها — «مربع».
   هر دو حالت normal و bold به وزن Black وصل شدن، چون قاعده‌های موجود
   وزن مشخص نمی‌کنن؛ با یک وزنِ تنها مرورگر ممکنه نازک‌ترش رو بردارد و
   تیترها لاغر شن. بقیه‌ی وزن‌ها (Light تا ExtraBold) روی سرور موجودن. */
@font-face {
    font-family: 'Morabba';
    src: url('../fonts/Morabba-Black.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Morabba';
    src: url('../fonts/Morabba-Black.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

/* فونت لوگو — فقط برای خودِ کلمه‌ی Zigo استفاده می‌شه، نه هیچ متن دیگه‌ای.
   فایل بدون فاصله کپی شد چون فاصله توی نام فایل باید توی URL انکد شه و
   بعضی سرورها سر همین ۴۰۴ می‌دن. */
@font-face {
    font-family: 'Valhalla';
    src: url('../fonts/ValhallaBlack.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* ===== رنگ‌های سایت ===== */
:root {
    /* ===== پالت اصلی زیگو ===== */
    --color-black: #231f20;   /* مشکی گرم برند */
    --color-maroon: #76101f;  /* زرشکی برند */
    --color-cream: #FFF3E1;

    /* ===== لهجه‌های رترو / Y2K =====
       سایت فقط زرشکی بود؛ این‌ها برای برچسب، هایلایت و افکت‌ها هستن */
    --c-amber:   #F2B33D;
    --c-tangerine:#E86A33;
    --c-hot:     #E23E7B;
    --c-lilac:   #8B5CF6;
    --c-cyan:    #38BDF8;
    --c-lime:    #A3E635;

    --ink-dim: rgba(255, 243, 225, 0.62);
    --ink-faint: rgba(255, 243, 225, 0.22);
    --surface: #2b2526;
    --surface-2: #342c2e;

    /* مقیاس تایپ - یک پله بزرگ‌تر از قبل */
    --fs-xs: 12.5px;
    --fs-sm: 14px;
    --fs-md: 16px;
    --fs-lg: 19px;
    --fs-xl: 26px;
    --fs-2xl: 36px;
    --fs-3xl: 52px;

    --radius: 18px;
    --radius-lg: 26px;
}

/* ===== تنظیمات پایه ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Portada', sans-serif;
    color: var(--color-cream);
    direction: rtl;
    background-color: var(--color-black);
    background-image:
        radial-gradient(circle at 20% 30%, rgba(255, 243, 225, 0.03) 0%, transparent 45%),
        radial-gradient(circle at 80% 70%, rgba(255, 243, 225, 0.025) 0%, transparent 45%),
        radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0.3) 0%, transparent 70%),
        repeating-linear-gradient(
            0deg,
            rgba(0, 0, 0, 0.04) 0px,
            transparent 1px,
            transparent 2px,
            rgba(0, 0, 0, 0.04) 3px
        );
    background-attachment: fixed;
}

/* ===== هدر ===== */
.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    background-color: var(--color-maroon);
    padding: 14px 28px;
    border-radius: 16px;
    max-width: 1200px;
    margin: 16px auto;
    gap: 16px;
}

/* راست: لوگو */
.site-header .logo-box {
    text-align: center;
    order: 1;
}

.logo-link {
    display: inline-block;
    text-decoration: none;
    text-align: center;
}

.site-header .logo,
.site-footer .logo {
    font-family: 'Valhalla', sans-serif !important;
    font-size: 40px;
    color: var(--color-cream);
    letter-spacing: 1px;
    line-height: 1;
}

/* «objects» ریز زیر لوگو */
.logo-object {
    display: block;
    font-family: 'Portada', sans-serif !important;
    font-size: 10px;
    letter-spacing: 4px;
    text-indent: 4px;   /* جبران فاصله‌ی حرف آخر تا وسط بمونه */
    color: var(--color-cream);
    opacity: 0.8;
    margin-top: 3px;
}

.site-header .slogan {
    display: block;
    font-family: 'Portada', sans-serif !important;
    font-size: 13px;
    color: var(--color-cream);
    border-top: 1px solid var(--color-cream);
    margin-top: 6px;
    padding-top: 4px;
}

/* وسط: منو */
.site-header .main-menu {
    display: flex;
    align-items: center;
    gap: 28px;
    order: 2;
    font-family: 'Portada', sans-serif !important;
}

.site-header .main-menu a {
    color: var(--color-cream);
    text-decoration: none;
    font-size: 16px;
}

.site-header .main-menu a:hover {
    opacity: 0.7;
}


/* چپ: پروفایل دراپ‌داون + آیکون‌ها زیرش */
.site-header .header-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    order: 3;
    font-family: 'Portada', sans-serif !important;
    position: relative;
}

.site-header .login-link {
    color: var(--color-cream);
    text-decoration: none;
    font-size: 14px;
    padding-bottom: 8px;
    width: 100%;
    text-align: center;
    border-bottom: 1px solid var(--color-cream);
}

/* ----- دراپ‌داون پروفایل ----- */
.profile-dropdown {
    position: relative;
}

.profile-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px 6px;
}

.profile-avatar {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    border-radius: 50%;
    background-color: var(--color-cream);
    color: var(--color-maroon);
    font-family: 'Portada', sans-serif !important;
    font-weight: bold;
    font-size: 13px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.profile-name {
    color: var(--color-cream);
    font-size: 14px;
}

.profile-arrow {
    color: var(--color-cream);
    font-size: 11px;
    transition: transform 0.2s ease;
}

.profile-dropdown.open .profile-arrow {
    transform: rotate(180deg);
}

.profile-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    width: 200px;
    background-color: var(--color-black);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 14px;
    padding: 8px;
    display: none;
    flex-direction: column;
    z-index: 50;
    box-shadow: 0 10px 24px rgba(0,0,0,0.35);
}

.profile-dropdown.open .profile-menu {
    display: flex;
}

.profile-menu-head {
    padding: 10px 12px 12px 12px;
    border-bottom: 1px solid rgba(255,255,255,0.12);
    margin-bottom: 6px;
}

.profile-menu-name {
    color: var(--color-cream);
    font-family: 'Morabba', sans-serif;
    font-size: 15px;
}

.profile-menu-role {
    color: var(--color-cream);
    opacity: 0.55;
    font-size: 11px;
    margin-top: 2px;
}

.profile-menu-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-cream);
    text-decoration: none;
    font-size: 13.5px;
    padding: 9px 12px;
    border-radius: 8px;
    transition: background-color 0.15s ease;
}

.profile-menu-item:hover {
    background-color: rgba(255,255,255,0.08);
}

.profile-menu-logout {
    color: #ff9c9c;
    margin-top: 4px;
    border-top: 1px solid rgba(255,255,255,0.12);
    padding-top: 10px;
    border-radius: 0 0 8px 8px;
}

/* خروج یک <button> داخل فرمه (نه لینک)، پس باید ظاهر پیش‌فرض دکمه‌ی
   مرورگر ازش گرفته شه. این ریست قبلاً توی shop.css بود و هر صفحه‌ای که
   اون فایل رو لود نمی‌کرد — درباره ما، ایده تو، سبد، پروفایل، پشتیبانی —
   دکمه‌ی خروج رو به شکل جعبه‌ی سفید پیش‌فرض نشون می‌داد. جاش اینجاست،
   کنار بقیه‌ی استایل‌های منوی پروفایل، چون theme.css توی همه‌ی صفحه‌هاست. */
.logout-form { margin: 0; }

.logout-form .profile-menu-item {
    width: 100%;
    background: none;
    border: none;
    font-family: 'Portada', sans-serif;
    font-size: 13.5px;
    cursor: pointer;
    text-align: right;
}

.site-header .icon-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    width: 100%;
}

.site-header .icon-btn img {
    width: 20px;
    height: 20px;
    /* رنگ آیکون‌ها رو کرم می‌کنه اگه عکس‌ها مشکی/شفاف باشن */
    filter: brightness(0) saturate(100%) invert(94%) sepia(15%) saturate(400%) hue-rotate(315deg) brightness(103%);
}

/* ===== فوتر ===== */
.site-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    background-color: var(--color-maroon);
    padding: 30px 40px;
    border-radius: 16px;
    max-width: 1200px;
    margin: 40px auto 16px auto;
    font-family: 'Portada', sans-serif !important;
}

.site-footer .footer-logo-box {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    order: 1;
}

.site-footer .enamad {
    width: 65px;
    height: auto;
    border-radius: 8px;
}

.site-footer ul {
    list-style: none;
}

.site-footer ul li a {
    color: var(--color-cream);
    text-decoration: none;
    font-family: inherit;
    font-size: inherit;
}

.site-footer ul li a:hover {
    opacity: 0.7;
}

.site-footer ul li::before {
    content: "•";
    position: absolute;
    right: 0;
    color: var(--color-cream);
}

.site-footer .footer-links {
    order: 2;
}

.site-footer .footer-contact {
    order: 3;
}

/* ===== بخش شبکه‌های اجتماعی فوتر ===== */
.footer-social {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    order: 3;
}

.footer-social-title {
    color: var(--color-cream);
    font-size: 15px;
    position: relative;
    padding-right: 14px;
}

.footer-social-title::before {
    content: "•";
    position: absolute;
    right: 0;
    color: var(--color-cream);
}

.footer-social-icons {
    display: flex;
    align-items: center;
    gap: 16px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    background-color: var(--color-cream);
    border: 2px dashed var(--color-maroon);
    border-radius: 10px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.social-icon img {
    width: 26px;
    height: 26px;
    object-fit: contain;
}

.social-icon:hover {
    transform: translateY(-4px);
    box-shadow: 4px 4px 0 var(--color-maroon);
}

/* ===== بج تعداد سبد خرید ===== */
.cart-icon-btn {
    position: relative;
}

.cart-count-badge {
    position: absolute;
    top: -6px;
    left: -8px;
    background-color: var(--color-cream);
    color: var(--color-maroon);
    font-family: 'Portada', sans-serif;
    font-size: 10px;
    font-weight: bold;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* ===================================================
   لایه‌ی رترو / Y2K — روی استایل‌های پایه سوار می‌شه
=================================================== */

/* ===== انیمیشن ورود ===== */
.reveal {
    opacity: 0;
    transform: translateY(22px) scale(0.985);
    transition: opacity 0.6s cubic-bezier(.2,.7,.2,1),
                transform 0.6s cubic-bezier(.2,.7,.2,1);
    will-change: opacity, transform;
}

.reveal.is-in {
    opacity: 1;
    transform: none;
}

/* هدر و بنر همون اول بدون منتظر موندن میان */
@keyframes drop-in {
    from { opacity: 0; transform: translateY(-16px); }
    to   { opacity: 1; transform: none; }
}

.site-header { animation: drop-in 0.55s cubic-bezier(.2,.7,.2,1) both; }

@media (prefers-reduced-motion: reduce) {
    .site-header { animation: none; }
    .reveal { opacity: 1; transform: none; transition: none; }
}

/* ===== هدر ===== */
.site-header {
    position: relative;
    /* بدون این، بخش‌های بعدی صفحه (که اونا هم positioned هستن) روی هدر
       می‌شینن و دراپ‌داون پروفایل و پاپ‌آور جستجو زیرشون گم می‌شن */
    z-index: 90;
    max-width: 1280px;
    padding: 16px 30px;
    border-radius: var(--radius);
    border: 2px solid rgba(255, 243, 225, 0.14);
    background-image:
        linear-gradient(180deg, rgba(255,255,255,0.10), transparent 60%),
        radial-gradient(circle at 8% 130%, rgba(242, 179, 61, 0.28), transparent 45%),
        radial-gradient(circle at 92% -30%, rgba(226, 62, 123, 0.22), transparent 45%);
    /* overflow نباید hidden باشه وگرنه دراپ‌داون پروفایل و پاپ‌آور جستجو بریده می‌شن */
    overflow: visible;
}


.site-header .logo,
.site-footer .logo { font-size: 42px; }

.site-header .main-menu { gap: 30px; }

.site-header .main-menu a {
    position: relative;
    font-size: var(--fs-md);
    padding-bottom: 5px;
    transition: color 0.2s ease;
}

.site-header .main-menu a::after {
    content: "";
    position: absolute;
    right: 50%; left: 50%; bottom: 0;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--c-amber), var(--c-hot));
    transition: right 0.28s ease, left 0.28s ease;
}

.site-header .main-menu a:hover { color: var(--c-amber); opacity: 1; }
.site-header .main-menu a:hover::after { right: 0; left: 0; }

.site-header .icon-btn img { width: 22px; height: 22px; }

/* ===== فوتر بزرگ ===== */
.site-footer {
    display: block;
    max-width: 1280px;
    padding: 0;
    border-radius: var(--radius);
    border: 2px solid rgba(255, 243, 225, 0.14);
    background-image:
        linear-gradient(180deg, rgba(255,255,255,0.08), transparent 45%),
        radial-gradient(circle at 88% -20%, rgba(242, 179, 61, 0.2), transparent 45%);
    overflow: hidden;
}


.footer-top {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr 1.5fr;
    gap: 30px;
    padding: 34px 38px 26px 38px;
}

.footer-brand .logo-link { text-align: right; }

.footer-about {
    font-size: var(--fs-xs);
    line-height: 2;
    color: var(--ink-dim);
    margin: 12px 0 14px 0;
    max-width: 280px;
}

.site-footer .enamad { width: 66px; border-radius: 10px; }

.footer-col-title {
    font-family: 'Portada', sans-serif;
    font-weight: bold;
    font-size: var(--fs-sm);
    color: var(--c-amber);
    margin-bottom: 12px;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }

.footer-col ul li a {
    font-size: var(--fs-xs);
    color: var(--ink-dim);
    text-decoration: none;
    transition: color 0.2s ease, padding-right 0.2s ease;
}

.footer-col ul li a:hover {
    color: var(--color-cream);
    padding-right: 5px;
}

/* دنبال‌کردن در شبکه‌های اجتماعی (جای فرم خبرنامه‌ی قبلی) */
.footer-follow-note {
    font-size: 11.5px;
    color: var(--ink-dim);
    line-height: 2;
    margin-bottom: 12px;
}

.footer-follow-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Portada', sans-serif;
    font-weight: bold;
    font-size: var(--fs-xs);
    text-decoration: none;
    color: #231f20;
    padding: 9px 16px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--c-amber), var(--c-tangerine));
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.footer-follow-btn img { width: 17px; height: 17px; }

.footer-follow-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.footer-socials { margin-top: 16px; }

.footer-socials { display: flex; gap: 10px; }

.social-dot {
    width: 38px; height: 38px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background-color: rgba(255, 243, 225, 0.1);
    border: 1px solid rgba(255, 243, 225, 0.18);
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.social-dot:hover { transform: translateY(-3px); background-color: rgba(255, 243, 225, 0.2); }
.social-dot img { width: 18px; height: 18px; }

.footer-bottom {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    text-align: center;
    padding: 15px 38px;
    border-top: 1px solid rgba(255, 243, 225, 0.12);
    font-size: 11.5px;
    color: var(--ink-dim);
}

/* ===== بنر بزرگ صفحه اصلی ===== */
.banner-hero {
    position: relative;
    max-width: 1280px;
    margin: 20px auto 26px auto;
    padding: 0 30px;
}

.banner-stage {
    position: relative;
    /* نسبت ثابت به‌جای ارتفاع وابسته به vh: روی هر دستگاهی عکس
       همون‌قدر بریده می‌شه که موقع ساختنش دیده بودی. */
    aspect-ratio: 1920 / 700;
    max-height: 560px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(255, 243, 225, 0.12);
}

.banner-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    padding: 0 clamp(24px, 5vw, 64px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.55s ease, visibility 0.55s;
}

.banner-slide.is-active { opacity: 1; visibility: visible; }

/* کل بنر کلیک‌پذیر؛ متن اجازه‌ی گرفتن کلیک رو نداره تا لینک زیرش
   همه‌جا کار کنه، ولی خود دکمه استثناست. */
.banner-slide-link { position: absolute; inset: 0; z-index: 1; }
.banner-slide.is-linked .banner-body { pointer-events: none; }
.banner-slide.is-linked .banner-cta { pointer-events: auto; }

/* بنری که خودت آپلود کردی فقط عکسه: نه پرده، نه تیتر، نه دکمه.
   کل قاب یک لینکه. */
.banner-slide.is-image-only { padding: 0; }
.banner-slide.is-image-only .banner-slide-link { cursor: pointer; }

.banner-slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

/* پرده‌ی متن: از سمت متن پررنگ شروع می‌شه و زودتر شفاف می‌شه تا
   عکس بیشتر دیده بشه؛ یک محو ملایم هم از پایین برای خوانا موندن
   نشانگر اسلاید. */
.banner-slide-veil {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(0deg, rgba(35,31,32,0.55) 0%, transparent 38%),
        linear-gradient(270deg, rgba(35,31,32,0.92) 0%, rgba(35,31,32,0.62) 42%, rgba(35,31,32,0.12) 78%, transparent 100%);
}

.banner-body { position: relative; z-index: 2; max-width: 560px; }

.banner-kicker {
    display: inline-block;
    font-size: var(--fs-xs);
    letter-spacing: 1px;
    color: #231f20;
    border-radius: 999px;
    padding: 5px 15px;
    margin-bottom: 14px;
    background: linear-gradient(135deg, var(--c-amber), var(--c-tangerine));
}

.banner-title {
    font-family: 'Portada', sans-serif;
    font-weight: bold;
    font-size: clamp(28px, 4.4vw, var(--fs-2xl));
    line-height: 1.55;
    color: var(--color-cream);
    margin-bottom: 12px;
}

.banner-text {
    font-size: var(--fs-sm);
    line-height: 2.1;
    color: var(--ink-dim);
    margin-bottom: 22px;
}

.banner-cta {
    display: inline-block;
    font-family: 'Portada', sans-serif;
    font-weight: bold;
    font-size: var(--fs-sm);
    text-decoration: none;
    color: #231f20;
    background: linear-gradient(135deg, var(--c-amber), var(--c-tangerine));
    border-radius: 999px;
    padding: 13px 32px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 6px 0 rgba(0,0,0,0.35);
}

.banner-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 0 rgba(0,0,0,0.35); }
.banner-cta:active { transform: translateY(3px); box-shadow: 0 2px 0 rgba(0,0,0,0.35); }

/* نشانگر اسلاید: میله‌های باریک به‌جای توپ‌های گرد */
.banner-dots {
    position: absolute;
    bottom: 16px;
    left: 0; right: 0;
    display: flex;
    justify-content: center;
    gap: 6px;
    z-index: 3;
}

.banner-dot {
    width: 22px;
    height: 3px;
    padding: 0;
    border: none;
    border-radius: 2px;
    background-color: rgba(255, 243, 225, 0.34);
    cursor: pointer;
    transition: width 0.3s ease, background-color 0.3s ease;
}

.banner-dot:hover { background-color: rgba(255, 243, 225, 0.6); }

.banner-dot.is-active {
    width: 40px;
    background: linear-gradient(90deg, var(--c-amber), var(--c-hot));
}

/* ===== پیش‌نمایش سبد روی هاور ===== */
.cart-wrap { position: relative; display: inline-flex; }

.mini-cart {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    z-index: 300;
    width: 300px;
    padding: 14px;
    border-radius: 14px;
    background-color: var(--color-cream);
    color: #231f20;
    border: 1px solid rgba(28, 26, 24, 0.12);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}

/* پل نامرئی بین دکمه و پنل، وگرنه وسط راه بسته می‌شه */
.mini-cart::before {
    content: '';
    position: absolute;
    top: -10px; left: 0; right: 0;
    height: 10px;
}

.cart-wrap:hover .mini-cart,
.cart-wrap:focus-within .mini-cart {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mini-cart-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    font-family: 'Portada', sans-serif;
    font-size: 12.5px;
    font-weight: bold;
    margin-bottom: 10px;
}

.mini-cart-count { font-size: 11px; color: var(--color-maroon); font-weight: normal; }

.mini-cart-list { list-style: none; margin: 0 0 10px 0; padding: 0; }

.mini-cart-item {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 7px 0;
    border-bottom: 1px solid rgba(28, 26, 24, 0.08);
}

.mini-cart-item:last-child { border-bottom: none; }

.mini-cart-thumb {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    overflow: hidden;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    text-decoration: none;
}

.mini-cart-thumb img { width: 100%; height: 100%; object-fit: cover; }

.mini-cart-info { min-width: 0; flex: 1 1 auto; }

.mini-cart-name {
    display: block;
    font-family: 'Portada', sans-serif;
    font-size: 12px;
    line-height: 1.5;
    color: #231f20;
    text-decoration: none;
    /* اسم بلند نباید پنل رو بکشه */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mini-cart-name:hover { text-decoration: underline; }

.mini-cart-line {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-top: 3px;
}

.mini-cart-qty { font-size: 11px; opacity: 0.6; }

.mini-cart-price {
    font-family: 'Morabba', sans-serif;
    font-size: 12.5px;
    color: var(--color-maroon);
}

.mini-cart-more { font-size: 11px; opacity: 0.6; margin: 0 0 8px 0; }

.mini-cart-total {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    font-family: 'Portada', sans-serif;
    font-size: 12.5px;
    padding-top: 9px;
    margin-bottom: 11px;
    border-top: 1px solid rgba(28, 26, 24, 0.14);
}

.mini-cart-total b { font-family: 'Morabba', sans-serif; font-size: 15px; color: var(--color-maroon); }

.mini-cart-go {
    display: block;
    text-align: center;
    font-family: 'Portada', sans-serif;
    font-weight: bold;
    font-size: 13px;
    text-decoration: none;
    color: var(--color-cream);
    background-color: var(--color-maroon);
    border-radius: 9px;
    padding: 10px;
}

.mini-cart-view {
    display: block;
    text-align: center;
    font-family: 'Portada', sans-serif;
    font-size: 11.5px;
    text-decoration: none;
    color: #231f20;
    opacity: 0.7;
    margin-top: 7px;
}

.mini-cart-view:hover { opacity: 1; text-decoration: underline; }

.mini-cart-empty { font-size: 12px; margin: 0 0 10px 0; text-align: center; }

/* ===== دکمه‌ی شناور پشتیبانی ===== */
.support-fab {
    position: fixed;
    bottom: 22px;
    left: 22px;
    z-index: 190;              /* زیر نوار پایین (۲۰۰) می‌مونه */
    display: inline-flex;
    align-items: center;
    gap: 0;
    height: 54px;
    padding: 0;
    border-radius: 999px;
    text-decoration: none;
    color: #231f20;
    background: linear-gradient(135deg, var(--c-amber), var(--c-tangerine));
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
    overflow: hidden;
    transition: gap 0.25s ease, padding 0.25s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.support-fab-icon {
    flex: 0 0 54px;
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.support-fab-icon svg { width: 24px; height: 24px; }

/* برچسب جمع‌شده‌ست و روی هاور باز می‌شه — دایره می‌مونه تا لازم بشه */
.support-fab-label {
    font-family: 'Portada', sans-serif;
    font-weight: bold;
    font-size: 13px;
    white-space: nowrap;
    max-width: 0;
    opacity: 0;
    transition: max-width 0.25s ease, opacity 0.2s ease;
}

.support-fab:hover,
.support-fab:focus-visible {
    padding-left: 20px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.5);
    transform: translateY(-2px);
}

.support-fab:hover .support-fab-label,
.support-fab:focus-visible .support-fab-label {
    max-width: 120px;
    opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
    .support-fab,
    .support-fab-label { transition: none; }
    .support-fab:hover { transform: none; }
}

/* دکمه‌ی شناور حالا <button> شده، پس این‌ها رو خودمون می‌ذاریم */
.support-fab { border: none; cursor: pointer; font: inherit; }
.support-fab.is-open .support-fab-label { max-width: 0; opacity: 0; }

/* ===== پنل گفتگوی پشتیبانی ===== */
.support-panel {
    position: fixed;
    bottom: 88px;
    left: 22px;
    z-index: 260;
    width: 340px;
    max-height: min(560px, calc(100vh - 130px));
    display: flex;
    flex-direction: column;
    border-radius: 16px;
    overflow: hidden;
    background-color: var(--color-cream);
    color: #231f20;
    border: 1px solid rgba(28, 26, 24, 0.14);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: translateY(10px) scale(0.98);
    transform-origin: bottom left;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.support-panel.is-open { opacity: 1; transform: translateY(0) scale(1); }

.support-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 14px;
    background: linear-gradient(135deg, var(--c-amber), var(--c-tangerine));
    color: #231f20;
}

.support-panel-name {
    display: block;
    font-family: 'Portada', sans-serif;
    font-weight: bold;
    font-size: 13.5px;
}

.support-panel-sub { display: block; font-size: 10.5px; opacity: 0.75; margin-top: 2px; }

.support-panel-close {
    border: none;
    background: rgba(35, 31, 32, 0.12);
    color: #231f20;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 12px;
    line-height: 1;
    flex-shrink: 0;
}

.support-panel-close:hover { background: rgba(35, 31, 32, 0.22); }

.support-panel-body {
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.support-msg { max-width: 88%; }
.support-msg p { font-size: 12px; line-height: 1.95; margin: 0 0 4px 0; }
.support-msg p:last-child { margin-bottom: 0; }

.support-msg-bot {
    align-self: flex-start;
    background-color: #fff;
    border: 1px solid rgba(28, 26, 24, 0.1);
    border-radius: 12px 12px 12px 3px;
    padding: 9px 11px;
}

.support-msg-user {
    align-self: flex-end;
    background-color: var(--color-maroon);
    color: var(--color-cream);
    border-radius: 12px 12px 3px 12px;
    padding: 9px 11px;
}

/* سه نقطه‌ی «در حال تایپ» */
.support-typing { display: flex; gap: 4px; align-items: center; padding: 12px; }
.support-typing span {
    width: 6px; height: 6px; border-radius: 50%;
    background-color: rgba(28, 26, 24, 0.35);
    animation: support-dot 1s infinite ease-in-out;
}
.support-typing span:nth-child(2) { animation-delay: 0.15s; }
.support-typing span:nth-child(3) { animation-delay: 0.3s; }

@keyframes support-dot {
    0%, 60%, 100% { opacity: 0.3; transform: translateY(0); }
    30%           { opacity: 1;   transform: translateY(-3px); }
}

/* کارت محصول داخل گفتگو */
.support-products { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }

.support-product {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px;
    border-radius: 9px;
    text-decoration: none;
    color: #231f20;
    background-color: var(--color-cream);
    border: 1px solid rgba(28, 26, 24, 0.12);
}

.support-product:hover { border-color: var(--color-maroon); }

.support-product-thumb {
    flex: 0 0 40px;
    width: 40px; height: 40px;
    border-radius: 7px;
    overflow: hidden;
    background-color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 16px;
}

.support-product-thumb img { width: 100%; height: 100%; object-fit: cover; }
.support-product-info { min-width: 0; display: flex; flex-direction: column; gap: 2px; }

.support-product-name {
    font-family: 'Portada', sans-serif;
    font-size: 11.5px;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

.support-product-price { font-family: 'Morabba', sans-serif; font-size: 11.5px; color: var(--color-maroon); }

.support-product-off {
    position: absolute;
    top: 5px; left: 5px;
    font-size: 9px;
    padding: 1px 5px;
    border-radius: 5px;
    background-color: var(--color-maroon);
    color: var(--color-cream);
}

.support-links { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }

.support-link {
    font-family: 'Portada', sans-serif;
    font-size: 11px;
    text-decoration: none;
    padding: 5px 11px;
    border-radius: 999px;
    color: var(--color-maroon);
    border: 1px solid rgba(109, 0, 26, 0.4);
}

.support-link:hover { background-color: var(--color-maroon); color: var(--color-cream); }

/* دکمه‌های موضوع */
.support-topics {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    padding: 0 14px 10px 14px;
    max-height: 104px;
    overflow-y: auto;
}

.support-topic {
    font-family: 'Portada', sans-serif;
    font-size: 10.5px;
    padding: 5px 10px;
    border-radius: 999px;
    cursor: pointer;
    color: #231f20;
    background-color: #fff;
    border: 1px solid rgba(28, 26, 24, 0.16);
}

.support-topic:hover { border-color: var(--color-maroon); color: var(--color-maroon); }

.support-panel-form {
    display: flex;
    gap: 7px;
    padding: 10px 12px;
    border-top: 1px solid rgba(28, 26, 24, 0.12);
    background-color: #fff;
}

.support-panel-form input {
    flex: 1 1 auto;
    min-width: 0;
    font-family: 'Portada', sans-serif;
    font-size: 12px;
    padding: 9px 12px;
    border-radius: 999px;
    border: 1px solid rgba(28, 26, 24, 0.2);
    background-color: var(--color-cream);
    color: #231f20;
}

.support-panel-form button {
    flex: 0 0 36px;
    width: 36px; height: 36px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    color: #231f20;
    background: linear-gradient(135deg, var(--c-amber), var(--c-tangerine));
}

.support-panel-ticket {
    display: block;
    text-align: center;
    font-family: 'Portada', sans-serif;
    font-size: 11px;
    text-decoration: none;
    color: var(--color-maroon);
    padding: 9px;
    background-color: #fff;
    border-top: 1px solid rgba(28, 26, 24, 0.08);
}

.support-panel-ticket:hover { text-decoration: underline; }

@media (prefers-reduced-motion: reduce) {
    .support-panel { transition: none; }
    .support-typing span { animation: none; }
}

/* ===== باکس خلاصه‌ی زیگو ===== */
.about-box {
    max-width: 1280px;
    margin: 0 auto 60px auto;
    padding: 0 30px;
}

.about-box-inner {
    display: flex;
    align-items: center;
    gap: 26px;
    flex-wrap: wrap;
    background-color: var(--surface);
    background-image: radial-gradient(circle at 6% 0%, rgba(139, 92, 246, 0.22), transparent 42%),
                      radial-gradient(circle at 94% 100%, rgba(242, 179, 61, 0.18), transparent 42%);
    border: 2px dashed rgba(255, 243, 225, 0.2);
    border-radius: var(--radius);
    padding: 26px 30px;
}

.about-box-title {
    font-family: 'Portada', sans-serif;
    font-weight: bold;
    font-size: var(--fs-lg);
    color: var(--color-cream);
    margin-bottom: 8px;
}

.about-box-text {
    font-size: var(--fs-sm);
    line-height: 2.1;
    color: var(--ink-dim);
    max-width: 640px;
}

.about-box-cta {
    margin-right: auto;
    white-space: nowrap;
    font-family: 'Portada', sans-serif;
    font-weight: bold;
    font-size: var(--fs-xs);
    color: var(--color-cream);
    text-decoration: none;
    border: 2px solid rgba(255, 243, 225, 0.35);
    border-radius: 999px;
    padding: 11px 24px;
    transition: background-color 0.2s ease;
}

.about-box-cta:hover { background-color: rgba(255, 243, 225, 0.1); }

/* ===== بزرگ‌تر کردن تیترها ===== */
.section-title { font-size: var(--fs-xl); }
.section-subtitle { font-size: var(--fs-sm); }
.product-card-name { font-size: var(--fs-sm); }
.product-card-price .now { font-size: var(--fs-md); }
.shop-cat-title { font-size: var(--fs-md); }

@media (max-width: 1000px) {
    /* همون چیدمانی که زیر ۹۰۰ هست: سه ستون لینک، برند و خبرنامه
       تمام‌عرض. با دو ستون، ردیف آخر یک سلول خالی کنارش می‌موند. */
    .footer-top { grid-template-columns: repeat(3, 1fr); }
    .footer-brand,
    .footer-connect { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
    /* grid-template-columns اینجا نداریم؛ چیدمان موبایل رو
       responsive.css تعیین می‌کنه که بعد از این فایل لود می‌شه. */
    .footer-top { gap: 22px; padding: 26px 22px; }
    .footer-bottom { padding: 14px 22px; }
}

/* ===== هدر چسبان ===== */
.header-spacer { height: 0; }

.site-header.is-stuck {
    position: fixed;
    top: 8px;
    right: 0;
    left: 0;
    z-index: 100;
    margin: 0 auto;
    /* موقع چسبیدن کمی جمع‌تر می‌شه تا فضا کمتر بگیره */
    padding: 10px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
    animation: none;
    transition: transform 0.32s cubic-bezier(.2,.7,.2,1),
                padding 0.32s ease, box-shadow 0.32s ease;
}

.site-header.is-stuck .logo,
.site-header.is-stuck .site-footer .logo { font-size: 30px; }
.site-header.is-stuck .slogan { display: none; }


@media (prefers-reduced-motion: reduce) {
    .site-header.is-stuck { transition: none; }
}

/* ===================================================
   تعادل رنگ — زرشکی می‌شه لهجه، نه پس‌زمینه‌ی همه‌چیز
=================================================== */

/* هدر و فوتر: سطح تیره‌ی برند به‌جای زرشکی تخت */
.site-header,
.site-footer {
    background-color: var(--surface);
    background-image:
        linear-gradient(180deg, rgba(255,255,255,0.05), transparent 55%),
        radial-gradient(circle at 6% 130%, rgba(118, 16, 31, 0.55), transparent 52%);
    border-color: rgba(255, 243, 225, 0.12);
}

.site-footer {
    background-image:
        linear-gradient(180deg, rgba(255,255,255,0.04), transparent 45%),
        radial-gradient(circle at 94% -20%, rgba(118, 16, 31, 0.5), transparent 50%);
}

/* کارت محصول و دسته: قاب و سایه‌ی ملایم‌تر به‌جای زرشکی پررنگ */
.product-card,
.shop-cat-card {
    border-color: rgba(118, 16, 31, 0.55);
    box-shadow: 4px 4px 0 rgba(118, 16, 31, 0.5);
}

.product-card:hover,
.shop-cat-card:hover {
    border-color: var(--c-amber);
    box-shadow: 6px 6px 0 rgba(242, 179, 61, 0.45);
}

/* قیمت با کهربایی خونده می‌شه، نه زرشکی روی کرم */
.product-card-price .now { color: #8a1224; }
.product-card-off {
    background: linear-gradient(135deg, var(--c-tangerine), var(--c-hot));
}

/* نوار تخفیف: از زرشکی تخت به گرادیان گرم */
.deals-strip {
    background-image: linear-gradient(135deg, #76101f 0%, #9b2436 55%, var(--c-tangerine) 140%);
    box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.3);
}

.deal-off { background: linear-gradient(135deg, var(--c-tangerine), var(--c-hot)); }
.deal-now { color: #8a1224; }

/* سربرگ دسته‌بندی */
.cat-hero {
    background-color: var(--surface);
    border-color: rgba(255, 243, 225, 0.16);
    box-shadow: 5px 5px 0 rgba(118, 16, 31, 0.6);
}

/* آیکون ویژگی‌ها: هر کدوم یه رنگ، به‌جای چهار دایره‌ی زرشکی */
.hero-feature-icon {
    background-color: var(--surface-2);
    border-color: rgba(255, 243, 225, 0.28);
}

.hero-features .hero-feature:nth-child(1) .hero-feature-icon { border-color: var(--c-amber); }
.hero-features .hero-feature:nth-child(2) .hero-feature-icon { border-color: var(--c-lime); }
.hero-features .hero-feature:nth-child(3) .hero-feature-icon { border-color: var(--c-cyan); }
.hero-features .hero-feature:nth-child(4) .hero-feature-icon { border-color: var(--c-lilac); }

/* دکمه‌ی اصلی: کهربایی به‌جای زرشکی */
.hero-btn-primary {
    background: linear-gradient(135deg, var(--c-amber), var(--c-tangerine));
    color: #231f20;
    box-shadow: 0 5px 0 rgba(0,0,0,0.32);
}

.hero-btn-primary:hover { box-shadow: 0 7px 0 rgba(0,0,0,0.32); }

/* عنوان بخش‌ها: سایه‌ی زرشکی برداشته شه */
.section-title {
    text-shadow: none;
    color: var(--color-cream);
}

.section-title::after {
    content: "";
    display: block;
    width: 54px;
    height: 3px;
    margin: 10px auto 0 auto;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--c-amber), var(--c-tangerine));
}

/* آواتار و نشان‌ها */
.profile-avatar { background: linear-gradient(135deg, var(--c-amber), var(--c-tangerine)); color: #231f20; }
.comment-avatar { background: linear-gradient(135deg, var(--c-tangerine), var(--c-hot)); }

/* ===================================================
   جستجوی هدر
=================================================== */







/* ----- نتایج پیشنهادی ----- */
.site-search-results {
    margin-top: 8px;
    background-color: var(--surface-2);
    border: 2px solid rgba(255, 243, 225, 0.18);
    border-radius: var(--radius);
    overflow: hidden;
}

.site-search-results[hidden] { display: none; }

.ss-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 16px;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 243, 225, 0.1);
    transition: background-color 0.15s ease;
}

.ss-item:last-child { border-bottom: none; }
.ss-item:hover, .ss-item.is-active { background-color: rgba(255, 243, 225, 0.08); }

.ss-thumb {
    width: 46px; height: 46px;
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
    background-color: var(--color-cream);
    display: flex; align-items: center; justify-content: center;
    font-size: 20px;
}

.ss-thumb img { width: 100%; height: 100%; object-fit: cover; }

.ss-info { display: flex; flex-direction: column; gap: 2px; flex-grow: 1; min-width: 0; }
.ss-name { font-size: var(--fs-xs); color: var(--color-cream); }
.ss-cat  { font-size: 11px; color: var(--ink-dim); }
.ss-price{ font-size: var(--fs-xs); color: var(--c-amber); white-space: nowrap; }

.ss-empty { padding: 16px; text-align: center; font-size: var(--fs-xs); color: var(--ink-dim); }

/* ===================================================
   ردیف آیکون‌ها و پاپ‌آور جستجو
=================================================== */

/* آیکون‌ها کنار اسم کاربر، نه زیرش */
.site-header .header-actions {
    flex-direction: row;
    align-items: center;
    gap: 14px;
}

.site-header .icon-row {
    width: auto;
    gap: 6px;
    order: -1;   /* آیکون‌ها سمت راستِ پروفایل */
}

.site-header .icon-btn {
    position: relative;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 243, 225, 0.16);
    border-radius: 50%;
    background-color: rgba(255, 243, 225, 0.06);
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.site-header .icon-btn:hover {
    background-color: rgba(255, 243, 225, 0.14);
    border-color: var(--c-amber);
    transform: translateY(-2px);
}

.site-header .icon-btn img { width: 18px; height: 18px; }

/* شمارنده‌ی سبد */
.cart-count-badge {
    position: absolute;
    top: -4px;
    left: -4px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--c-tangerine), var(--c-hot));
    color: #fff;
    font-size: 10px;
    line-height: 18px;
    text-align: center;
}

/* ----- پاپ‌آور جستجو ----- */
.search-wrap { position: relative; }

.search-pop {
    position: absolute;
    top: calc(100% + 10px);
    /* از لبه‌ی چپ آیکون باز می‌شه و به سمت راست کشیده می‌شه،
       چون آیکون‌ها نزدیک لبه‌ی چپ صفحه‌ان */
    left: 0;
    z-index: 140;
    width: 330px;
    max-width: calc(100vw - 40px);
    background-color: var(--surface-2);
    border: 1px solid rgba(255, 243, 225, 0.2);
    border-radius: 16px;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.5);
    padding: 10px;
    transform-origin: top left;
    opacity: 0;
    transform: translateY(-6px) scale(0.96);
    transition: opacity 0.18s ease, transform 0.18s cubic-bezier(.2,.9,.3,1.2);
}

.search-pop[hidden] { display: none; }
.search-pop.is-open { opacity: 1; transform: none; }

/* نوک کوچیک بالای پاپ‌آور، زیر آیکون */
.search-pop::before {
    content: "";
    position: absolute;
    top: -6px;
    left: 14px;
    width: 11px;
    height: 11px;
    background-color: var(--surface-2);
    border-right: 1px solid rgba(255, 243, 225, 0.2);
    border-top: 1px solid rgba(255, 243, 225, 0.2);
    transform: rotate(-45deg);
}

.search-pop-form {
    display: flex;
    align-items: center;
    gap: 6px;
    background-color: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 243, 225, 0.16);
    border-radius: 999px;
    padding: 4px 6px 4px 14px;
}

.search-pop-form input {
    flex-grow: 1;
    min-width: 0;
    background: transparent;
    border: none;
    color: var(--color-cream);
    font-family: 'Portada', sans-serif;
    font-size: 13px;
    padding: 8px 2px;
}

.search-pop-form input::placeholder { color: rgba(255, 243, 225, 0.38); }
.search-pop-form input:focus { outline: none; }

.search-pop-go {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 17px;
    line-height: 1;
    color: #231f20;
    background: linear-gradient(135deg, var(--c-amber), var(--c-tangerine));
}

/* نتایج داخل خود پاپ‌آور */
.search-pop .site-search-results {
    margin-top: 8px;
    background: transparent;
    border: none;
    border-radius: 0;
    max-height: 320px;
    overflow-y: auto;
}

.search-pop .ss-item {
    padding: 8px 6px;
    border-radius: 10px;
    border-bottom: 1px solid rgba(255, 243, 225, 0.08);
}

.search-pop .ss-thumb { width: 38px; height: 38px; border-radius: 8px; font-size: 16px; }
.search-pop .ss-name  { font-size: 12px; }
.search-pop .ss-cat   { font-size: 10.5px; }
.search-pop .ss-price { font-size: 11.5px; }

/* ----- دراپ‌داون پروفایل: باید روی همه‌چی بشینه ----- */
.profile-menu { z-index: 150; }

.profile-toggle {
    border: 1px solid rgba(255, 243, 225, 0.16);
    border-radius: 999px;
    padding: 5px 12px 5px 8px;
    background-color: rgba(255, 243, 225, 0.06);
    transition: background-color 0.2s ease;
}

.profile-toggle:hover { background-color: rgba(255, 243, 225, 0.14); }



/* ===================================================
   هدر ساده‌شده
   ===================================================
   قبلاً سمت چپ هدر دو طبقه بود: «وارد شوید»/نام کاربر بالا، و ردیف
   آیکن‌ها زیرش — با یک خط زیرِ لینک ورود که هدر رو شلوغ می‌کرد و
   ارتفاعش رو بی‌دلیل بالا می‌برد. حالا همه‌چیز توی یک ردیف می‌شینه.
=================================================== */
.site-header .header-actions {
    flex-direction: row;
    align-items: center;
    gap: 16px;
}

.site-header .icon-row {
    width: auto;
    gap: 12px;
}

/* لینک ورود: بدون خط زیرش، فقط یک قاب ظریف */
.site-header .login-link {
    width: auto;
    padding: 7px 16px;
    border: 1.5px solid rgba(255, 243, 225, 0.45);
    border-bottom: 1.5px solid rgba(255, 243, 225, 0.45);
    border-radius: 999px;
    font-size: var(--fs-xs);
    white-space: nowrap;
    transition: background-color 0.18s ease, border-color 0.18s ease;
}

.site-header .login-link:hover {
    background-color: rgba(255, 243, 225, 0.12);
    border-color: var(--color-cream);
}

/* پس‌زمینه‌ی هدر آروم‌تر: به‌جای سه لایه گرادیان رنگی، یک درخشش ملایم */
.site-header {
    padding: 12px 26px;
    background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 70%);
}

/* لوگو جمع‌وجورتر، حالا که شعار زیرش نیست */
.site-header .logo,
.site-footer .logo { font-size: 34px; }

.logo-object { font-size: 9px; letter-spacing: 3px; margin-top: 1px; }

/* آیکن‌ها هم‌اندازه و با ناحیه‌ی کلیک درست */
.site-header .icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    transition: background-color 0.18s ease;
}

.site-header .icon-btn:hover { background-color: rgba(255, 243, 225, 0.12); }
.site-header .icon-btn img { width: 19px; height: 19px; }

@media (max-width: 900px) {
    .site-header { padding: 10px 16px; }
    .site-header .logo,
    .site-footer .logo { font-size: 28px; }
    .site-header .header-actions { gap: 10px; }
    .site-header .icon-row { gap: 6px; }
    .site-header .icon-btn { width: 30px; height: 30px; }
}

/* ===================================================
   هدر و فوتر رترو
   ===================================================
   همون سه امضایی که توی کارت‌ها استفاده شد، نه بیشتر:
     ۱. قاب کرم + سایه‌ی سختِ بدون بلور
     ۲. تیتر با فونت مربع
     ۳. یک خط‌چین به‌عنوان جداکننده
   عمداً بافت و افکت اضافه نمی‌ذاریم — درس onlite: فضا مهم‌تر از تزئینه.
=================================================== */

/* ----- هدر ----- */
.site-header {
    border-radius: 10px;
    border: 2px solid var(--color-cream);
    /* سایه‌ی سخت زیر نوار: حس کاغذِ چسبانده‌شده روی صفحه */
    box-shadow: 0 5px 0 var(--color-black);
}

/* وقتی هدر می‌چسبه بالا، سایه نازک‌تر می‌شه تا سنگین به نظر نرسه */
.site-header.is-stuck {
    border-radius: 0 0 10px 10px;
    box-shadow: 0 3px 0 var(--color-black);
}

/* زیرخط متحرک منو: به‌جای گرادیان دورنگ، یک خط کهربایی تخت */
.site-header .main-menu a::after {
    background: var(--c-amber);
    height: 3px;
    border-radius: 0;
}

/* دکمه‌ی ورود: قاب رترو با سایه‌ی سخت */
.site-header .login-link {
    border: 2px solid var(--color-cream);
    box-shadow: 2px 2px 0 var(--color-black);
    transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.18s ease;
}

.site-header .login-link:hover {
    transform: translate(-1px, -1px);
    box-shadow: 3px 3px 0 var(--color-black);
}

/* بج تعداد سبد: نشان گرد با دور مشکی، تنها عنصر کجِ هدر */
.cart-count-badge {
    border: 2px solid var(--color-black);
    transform: rotate(-8deg);
}

/* ----- فوتر ----- */
.site-footer {
    border-radius: 10px;
    border: 2px solid var(--color-cream);
    box-shadow: 0 6px 0 var(--color-maroon);
    /* گرادیان کهربایی گوشه حذف شد؛ سطح آروم، تأکید روی تیترها */
    background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.07), transparent 45%);
}

/* تیتر ستون‌ها با فونت تیتر برند + خط کوتاه زیرشون */
.footer-col-title {
    font-family: 'Morabba', sans-serif;
    font-size: var(--fs-md);
    color: var(--color-cream);
    padding-bottom: 8px;
    margin-bottom: 14px;
    position: relative;
}

.footer-col-title::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    width: 26px;
    height: 3px;
    background-color: var(--c-amber);
}

/* جداکننده‌ی نوار پایین: خط‌چین به‌جای خط توپر */
.footer-bottom {
    border-top: 2px dashed rgba(255, 243, 225, 0.22);
}

/* دکمه‌ی اینستاگرام: همون قاب و سایه‌ی سخت */
.footer-follow-btn {
    border: 2px solid var(--color-black);
    box-shadow: 3px 3px 0 var(--color-black);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.footer-follow-btn:hover {
    transform: translate(-2px, -2px);
    box-shadow: 5px 5px 0 var(--color-black);
}

.social-dot {
    border: 2px solid var(--color-cream);
    box-shadow: 2px 2px 0 var(--color-black);
}

@media (max-width: 900px) {
    /* سایه‌ی سخت روی موبایل نازک‌تر، وگرنه از لبه‌ی صفحه می‌زنه بیرون */
    .site-header { box-shadow: 0 3px 0 var(--color-black); }
    .site-footer { box-shadow: 0 4px 0 var(--color-maroon); }
    .footer-col-title { font-size: var(--fs-sm); }
    .footer-follow-btn:hover,
    .site-header .login-link:hover { transform: none; }
}

/* ----- منوی هدر دقیقاً وسط ----- */
/* هدر با space-between چیده شده بود: یعنی فاصله‌ها مساوی می‌شن، نه
   اینکه آیتم وسطی وسط بشینه. چون لوگو و ستون آیکن‌ها عرض متفاوتی
   دارن، منو همیشه یه طرف کشیده می‌شد. با هم‌وزن کردن دو طرف
   (flex: 1) منو دقیقاً وسط نوار می‌شینه، مستقل از عرض دو طرف. */
.site-header .logo-box {
    flex: 1 1 0;
    text-align: start;
}

.site-header .header-actions {
    flex: 1 1 0;
    justify-content: flex-end;
}

.site-header .main-menu {
    flex: 0 0 auto;
}

@media (max-width: 900px) {
    /* زیر این عرض منو از جریان خارج و کشویی می‌شه، پس دو طرف
       نوار رو نصف‌نصف پر می‌کنن */
    .site-header .logo-box,
    .site-header .header-actions { flex: 1 1 auto; }
}

/* ===================================================
   ویجت پشتیبانی — رترو
   ===================================================
   قبلاً گرادیان کهربایی/نارنجی با سایه‌ی محو بود؛ مدرن و بی‌ربط به
   بقیه‌ی سایت. حالا همون زبان کارت‌ها: سطح کرم، استروک مشکی،
   سایه‌ی سختِ بدون بلور، تیتر با فونت مربع.
=================================================== */

/* ----- دکمه‌ی شناور ----- */
.support-fab {
    background: var(--color-maroon);
    color: var(--color-cream);
    border: 2px solid var(--color-cream);
    box-shadow: 4px 4px 0 var(--color-black);
    transition: transform 0.18s ease, box-shadow 0.18s ease,
                gap 0.25s ease, padding 0.25s ease;
}

.support-fab:hover,
.support-fab:focus-visible {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 var(--color-black);
}

.support-fab-label {
    font-family: 'Morabba', sans-serif;
    font-size: 14px;
}

/* ----- پنل گفتگو ----- */
.support-panel {
    border: 2px solid var(--color-black);
    border-radius: 10px;
    box-shadow: 6px 6px 0 var(--color-maroon);
    background-color: var(--color-cream);
}

.support-panel-head {
    background: var(--color-maroon);
    color: var(--color-cream);
    border-bottom: 2px solid var(--color-black);
    padding: 13px 15px;
}

.support-panel-name {
    font-family: 'Morabba', sans-serif;
    font-size: 17px;
    color: var(--color-cream);
}

.support-panel-sub { opacity: 0.8; }

.support-panel-close {
    background: rgba(255, 243, 225, 0.16);
    color: var(--color-cream);
    border: 1.5px solid rgba(255, 243, 225, 0.45);
    border-radius: 999px;
}
.support-panel-close:hover { background: rgba(255, 243, 225, 0.3); }

/* حباب پیام: گوشه‌ی تیزتر و خط دور، مثل بقیه‌ی سطح‌های سایت */
.support-msg-bot p,
.support-msg-user p {
    border-radius: 10px;
    border: 1.5px solid rgba(28, 26, 24, 0.18);
}

.support-msg-user p {
    background-color: var(--color-maroon);
    color: var(--color-cream);
    border-color: var(--color-black);
}

/* دکمه‌های موضوع پیشنهادی: قرص با دور مشکی */
.support-topics button,
.support-topic {
    border: 1.5px solid var(--color-black);
    border-radius: 999px;
    background-color: rgba(118, 16, 31, 0.07);
    font-family: 'Portada', sans-serif;
    transition: background-color 0.15s ease, transform 0.15s ease;
}

.support-topics button:hover,
.support-topic:hover {
    background-color: var(--c-amber);
    transform: translateY(-1px);
}

/* فرم پایین پنل */
.support-panel-form {
    border-top: 2px dashed rgba(28, 26, 24, 0.2);
    padding: 10px 12px;
}

.support-panel-form input {
    border: 1.5px solid rgba(28, 26, 24, 0.28);
    border-radius: 999px;
    font-family: 'Portada', sans-serif;
}
.support-panel-form input:focus { outline: none; border-color: var(--color-maroon); }

.support-panel-form button {
    background: var(--color-maroon);
    color: var(--color-cream);
    border: 2px solid var(--color-black);
    border-radius: 50%;
    transition: transform 0.15s ease;
}
.support-panel-form button:hover { transform: scale(1.08); }

.support-panel-ticket {
    color: var(--color-maroon);
    border-top: 1.5px dashed rgba(28, 26, 24, 0.18);
}

@media (max-width: 560px) {
    .support-fab { box-shadow: 3px 3px 0 var(--color-black); }
    .support-fab:hover { transform: none; box-shadow: 3px 3px 0 var(--color-black); }
    .support-panel { box-shadow: 4px 4px 0 var(--color-maroon); }
}

/* Entrance effects run once per browser tab; interactive motion stays enabled. */
html[data-zigo-entry-animations="off"] .reveal,
html[data-zigo-entry-animations="off"] .fade-in,
html[data-zigo-entry-animations="off"] .site-header { animation:none !important; transition:none !important; opacity:1 !important; transform:none !important; }
