/* ============================================================================
   NOVA — Flat Editorial Design System  (public rebrand stylesheet)
   ----------------------------------------------------------------------------
   زبان طراحی جدید: تخت، تیز، خط‌محور — بدون گرادیان، بدون شیشه، بدون دایره تزئینی
   این فایل مستقل است و به build تیلویند وابسته نیست.
   استفاده: هدر، فوتر و بلوک‌های صفحه اصلی (nv-*)
   ========================================================================== */

/* ---------- Alpine.js cloak ---------- */
[x-cloak] { display: none !important; }

/* ---------- 1) توکن‌ها ---------- */
:root {
    --nv-ink: #10182b;
    --nv-ink-2: #1c2540;
    --nv-text: #22293b;
    --nv-muted: #667085;
    --nv-faint: #98a2b3;
    --nv-line: #d8dde5;          /* خط مویی */
    --nv-line-strong: #10182b;   /* خط پررنگ ادیتوریال */
    --nv-surface: #ffffff;
    --nv-surface-alt: #f5f6f8;
    --nv-topbar: #10182b;        /* نوار بالایی تیره */
    --nv-topbar-text: #e7eaf0;
    --nv-radius: 10px;
    --nv-radius-sm: 8px;
    --nv-radius-xs: 6px;
    --nv-bw: 1.5px;
    --nv-accent: var(--color-primary, #135bec);
    --nv-accent-hover: var(--color-primary-hover, #0e4bc7);
    --nv-accent-2: var(--color-secondary, #f97316);
    --nv-ring: 0 0 0 3px color-mix(in srgb, var(--nv-accent) 16%, transparent);
    --nv-pop-shadow: 0 12px 32px -12px rgba(16, 24, 43, 0.18);
}

/* حذف گرادیان پس‌زمینه‌ی هویت قبلی */
body {
    background-image: none !important;
}

/* فوکوس یکدست و قابل‌مشاهده */
.nv :is(a, button, input, select, textarea):focus-visible,
a.nv-x:focus-visible, button.nv-x:focus-visible {
    outline: 2px solid var(--nv-accent);
    outline-offset: 2px;
}

/* ---------- 2) تیکر / اعلامیه غلتکی ---------- */
.nv-ticker {
    background: var(--nv-ink);
    color: var(--nv-topbar-text);
    font-size: 12px;
    line-height: 1;
    overflow: hidden;
    position: relative;
    height: 38px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.nv-ticker-label {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    background: var(--nv-accent-2);
    color: #fff;
    font-weight: 800;
    font-size: 11.5px;
    padding: 0 .95rem;
    height: 100%;
    letter-spacing: .02em;
    z-index: 3;
    position: relative;
    box-shadow: 6px 0 10px -6px rgba(0,0,0,.55);
}
.nv-ticker-label .material-symbols-outlined { font-size: 16px; }
.nv-ticker-live-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 0 0 rgba(255,255,255,.7);
    animation: nvLivePulse 1.4s ease-out infinite;
    flex-shrink: 0;
}
@keyframes nvLivePulse {
    0%   { box-shadow: 0 0 0 0 rgba(255,255,255,.7); }
    70%  { box-shadow: 0 0 0 7px rgba(255,255,255,0); }
    100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}
.nv-ticker-viewport {
    flex: 1;
    overflow: hidden;
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    /* در RTL ترک را از لبه چپ لنگر می‌کند تا حرکت به چپ، انتهای کپی بعدی را از راست وارد کند
       و هرگز فاصله خالی در نوار باز نشود (با ۳ کپی پوشش همیشه کامل است) */
    justify-content: flex-end;
}
/* محو‌سازی لبه‌ها با المان جدا (سازگار با همه مرورگرها) */
.nv-ticker-fade {
    position: absolute;
    top: 0; bottom: 0;
    width: 46px;
    z-index: 1;
    pointer-events: none;
}
.nv-ticker-fade.is-start { right: 0; background: linear-gradient(to left, var(--nv-ink), transparent); }
.nv-ticker-fade.is-end { left: 0; background: linear-gradient(to right, var(--nv-ink), transparent); }
.nv-ticker-track {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    will-change: transform;
}
.nv-ticker-group { display: inline-flex; align-items: center; }
.nv-ticker-item {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    padding: 4px 1.3rem;
    color: var(--nv-topbar-text);
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    opacity: .92;
    transition: opacity .15s;
    white-space: nowrap;
    border-left: 1px solid rgba(255,255,255,.1);
}
.nv-ticker-item:hover { opacity: 1; }
.nv-ticker-title { max-width: 240px; overflow: hidden; text-overflow: ellipsis; }
.nv-ticker-price {
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.2);
    /* رنگ روشن‌شده (حداقل ۵۵٪ سفید) تا روی زمینه سرمه‌ای همیشه خوانا باشد */
    color: color-mix(in srgb, var(--nv-accent-2) 45%, #ffffff);
    font-weight: 800;
    font-size: 11px;
    padding: 2.5px 8px;
    border-radius: 5px;
    font-variant-numeric: tabular-nums;
    transition: background-color .15s ease, color .15s ease;
}
.nv-ticker-item:hover .nv-ticker-price { background: var(--nv-accent-2); color: #fff; border-color: var(--nv-accent-2); }
.nv-ticker-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 7px rgba(34,197,94,.9);
    animation: nvTickerBlink 1.5s ease-in-out infinite;
    flex-shrink: 0;
}
@keyframes nvTickerBlink { 0%,100% { opacity: 1; } 50% { opacity: .3; } }
.nv-ticker-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 9.5px;
    font-weight: 800;
    color: #aeb6c4;
    background: rgba(152,162,179,.14);
    border: 1px solid rgba(152,162,179,.35);
    padding: 2px 7px;
    border-radius: 5px;
    flex-shrink: 0;
}
.nv-ticker-badge .material-symbols-outlined { font-size: 12px; }
.nv-ticker-item.is-ended { opacity: .65; }
.nv-ticker-item.is-ended:hover { opacity: .9; }
.nv-ticker-item.is-ended .nv-ticker-title {
    text-decoration: line-through;
    text-decoration-color: rgba(255,255,255,.4);
}
.nv-ticker-item.is-ended .nv-ticker-price { color: #d3d9e4; }

/* ---------- 3) هدر اصلی ---------- */
.nv-header-main {
    border-bottom: 2px solid var(--nv-line-strong);
}
.nv-header-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
}

/* لوگو — نشان مربعی تخت با خط دور */
.nv-brand {
    display: inline-flex;
    align-items: center;
    gap: .7rem;
    text-decoration: none;
    flex-shrink: 0;
}
.nv-brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--nv-ink);
    border-radius: var(--nv-radius-sm);
    background: var(--nv-surface);
    color: var(--nv-accent);
    overflow: hidden;
    transition: background-color .2s ease, color .2s ease;
}
.nv-brand:hover .nv-brand-mark {
    background: var(--nv-ink);
    color: #ffffff;
}
.nv-brand-title {
    font-size: 1.45rem;
    font-weight: 900;
    letter-spacing: -0.01em;
    color: inherit;
    margin: 0;
    line-height: 1.2;
}
.nv-brand-sub {
    display: block;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .14em;
    color: var(--nv-faint);
    margin-top: 2px;
}

/* جستجو — مستطیل تخت با دکمه چسبیده */
.nv-search {
    position: relative;
    flex: 1;
    max-width: 620px;
    margin: 0 auto;
    display: none; /* دسکتاپ */
}
.nv-search-form {
    display: flex;
    align-items: stretch;
    border: var(--nv-bw) solid var(--nv-ink);
    border-radius: var(--nv-radius-sm);
    background: var(--nv-surface);
    overflow: hidden;
    transition: box-shadow .2s ease;
}
.nv-search-form:focus-within { box-shadow: var(--nv-ring); }
.nv-search-input {
    flex: 1;
    min-width: 0;
    height: 44px;
    border: 0;
    outline: none;
    background: transparent;
    padding: 0 1rem;
    font-size: 13.5px;
    color: var(--nv-text);
}
.nv-search-input::placeholder { color: var(--nv-faint); }
.nv-search-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    border: 0;
    border-right: var(--nv-bw) solid var(--nv-ink);
    background: var(--nv-accent);
    color: #ffffff;
    font-weight: 800;
    font-size: 13px;
    padding: 0 1.1rem;
    cursor: pointer;
    transition: background-color .2s ease;
}
.nv-search-btn:hover { background: var(--nv-accent-hover); }
.nv-search-btn .material-symbols-outlined { font-size: 18px; }

/* پنل پیشنهاد جستجو — تخت */
.nv-pop {
    background: var(--nv-surface);
    border: var(--nv-bw) solid var(--nv-line-strong);
    border-radius: var(--nv-radius);
    box-shadow: var(--nv-pop-shadow);
    overflow: hidden;
}

/* ---------- 4) اکشن‌های هدر ---------- */
.nv-actions {
    display: flex;
    align-items: center;
    gap: .5rem;
    flex-shrink: 0;
}
.nv-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: var(--nv-bw) solid var(--nv-line);
    border-radius: var(--nv-radius-sm);
    background: var(--nv-surface);
    color: var(--nv-text);
    cursor: pointer;
    transition: border-color .2s ease, background-color .2s ease, color .2s ease;
    position: relative;
    text-decoration: none;
}
/* Respect Tailwind responsive hidden classes on nv-icon-btn */
@media (min-width: 640px) {
    .nv-icon-btn.sm\:hidden { display: none !important; }
}
@media (min-width: 768px) {
    .nv-icon-btn.md\:hidden { display: none !important; }
}
.nv-icon-btn:hover {
    border-color: var(--nv-ink);
    background: var(--nv-surface-alt);
}
.nv-icon-btn .material-symbols-outlined { font-size: 21px; }
.nv-badge-dot {
    position: absolute;
    top: 6px;
    left: 6px;
    width: 9px;
    height: 9px;
    border-radius: 2px;
    background: #e11d48;
    border: 2px solid #ffffff;
}
.nv-sep-v {
    width: 1px;
    height: 26px;
    background: var(--nv-line);
    margin: 0 .35rem;
}
.nv-user-btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    height: 40px;
    padding: 0 .85rem;
    border: var(--nv-bw) solid var(--nv-line);
    border-radius: var(--nv-radius-sm);
    background: var(--nv-surface);
    color: var(--nv-text);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: border-color .2s ease, background-color .2s ease;
    max-width: 220px;
}
.nv-user-btn:hover { border-color: var(--nv-ink); background: var(--nv-surface-alt); }
.nv-user-btn img {
    width: 26px; height: 26px;
    border-radius: var(--nv-radius-xs);
    object-fit: cover;
    border: 1px solid var(--nv-line);
}
.nv-user-name { max-width: 110px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* دکمه‌های تخت */
.nv-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    height: 40px;
    padding: 0 1.1rem;
    border: var(--nv-bw) solid var(--nv-ink);
    border-radius: var(--nv-radius-sm);
    background: var(--nv-surface);
    color: var(--nv-ink);
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    text-decoration: none;
    transition: background-color .18s ease, color .18s ease, border-color .18s ease;
    white-space: nowrap;
}
.nv-btn:hover { background: var(--nv-ink); color: #ffffff; }
.nv-btn-solid {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    height: 40px;
    padding: 0 1.2rem;
    border: var(--nv-bw) solid var(--nv-accent);
    border-radius: var(--nv-radius-sm);
    background: var(--nv-accent);
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    text-decoration: none;
    transition: background-color .18s ease, border-color .18s ease;
    white-space: nowrap;
}
.nv-btn-solid:hover { background: var(--nv-accent-hover); border-color: var(--nv-accent-hover); }
.nv-btn-solid .material-symbols-outlined { font-size: 18px; }
.nv-btn-quiet {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    height: 40px;
    padding: 0 .9rem;
    border: var(--nv-bw) solid transparent;
    border-radius: var(--nv-radius-sm);
    background: transparent;
    color: var(--nv-text);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: border-color .18s ease, background-color .18s ease;
    white-space: nowrap;
}
.nv-btn-quiet:hover { border-color: var(--nv-line); background: var(--nv-surface-alt); }

/* منوی کاربر / اعلان‌ها — آیتم تخت */
.nv-menu-item {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .6rem .9rem;
    font-size: 13px;
    font-weight: 600;
    color: var(--nv-text);
    text-decoration: none;
    border-bottom: 1px solid var(--nv-surface-alt);
    transition: background-color .15s ease, color .15s ease;
}
.nv-menu-item:last-child { border-bottom: 0; }
.nv-menu-item:hover { background: var(--nv-surface-alt); color: var(--nv-accent); }
.nv-menu-item .material-symbols-outlined { font-size: 18px; color: var(--nv-faint); }
.nv-menu-item:hover .material-symbols-outlined { color: var(--nv-accent); }
.nv-menu-item.is-danger { color: #dc2626; }
.nv-menu-item.is-danger:hover { background: #fef2f2; color: #b91c1c; }
.nv-menu-item.is-unread { background: color-mix(in srgb, var(--nv-accent) 6%, #ffffff); }
.nv-menu-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .75rem .9rem;
    border-bottom: 2px solid var(--nv-ink);
    background: var(--nv-surface-alt);
}
.nv-menu-head h3 { font-size: 13.5px; font-weight: 900; color: var(--nv-ink); margin: 0; }
.nv-menu-head a { font-size: 11.5px; font-weight: 700; color: var(--nv-accent); text-decoration: none; }
.nv-menu-head a:hover { text-decoration: underline; }

/* ---------- 5) ردیف ناوبری ---------- */
.nv-navrow {
    border-top: 1px solid var(--nv-line);
}
.nv-navrow-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    gap: .4rem;
    height: 52px;
}
.nv-nav-trigger {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    height: 34px;
    padding: 0 .85rem;
    border: var(--nv-bw) solid var(--nv-ink);
    border-radius: var(--nv-radius-sm);
    background: var(--nv-ink);
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    transition: background-color .18s ease, color .18s ease;
    white-space: nowrap;
}
.nv-nav-trigger:hover { background: transparent; color: var(--nv-ink); }
.nv-nav-trigger .material-symbols-outlined { font-size: 18px; }
.nv-nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    height: 52px;
    padding: 0 .55rem;
    font-size: 13.5px;
    font-weight: 700;
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}
.nv-nav-link::after {
    content: '';
    position: absolute;
    bottom: -1px;
    right: .55rem;
    left: .55rem;
    height: 2.5px;
    background: var(--nv-accent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .22s ease;
}
.nv-nav-link:hover::after, .nv-nav-link[aria-expanded="true"]::after { transform: scaleX(1); }
.nv-nav-link .material-symbols-outlined { font-size: 17px; opacity: .8; }
.nv-nav-link .caret { font-size: 16px; transition: transform .2s ease; }
.nav-dropdown-parent:hover .nv-nav-link .caret { transform: rotate(180deg); }

/* چیپ تخفیف — تخت و تیز */
.nv-deal-chip {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    height: 34px;
    padding: 0 .95rem;
    margin-right: auto;
    border: var(--nv-bw) solid var(--nv-accent-2);
    border-radius: var(--nv-radius-xs);
    background: color-mix(in srgb, var(--nv-accent-2) 10%, #ffffff);
    color: var(--nv-accent-2);
    font-size: 12.5px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color .18s ease, color .18s ease;
}
.nv-deal-chip:hover { background: var(--nv-accent-2); color: #ffffff; }
.nv-deal-chip .material-symbols-outlined { font-size: 17px; }

/* دراپ‌داون ناوبری (قرارداد JS: nav-dropdown-parent / nav-dropdown / nav-dropdown-sub) */
.nv-navrow .nav-dropdown {
    background: var(--nv-surface);
    border: var(--nv-bw) solid var(--nv-line-strong);
    border-radius: var(--nv-radius);
    box-shadow: var(--nv-pop-shadow);
}

/* مگامنو دسته‌بندی‌ها */
/* پانل مگامنو — ریسپانسیو: عرض سیال حداکثر ۱۰۰۰px و ارتفاع محدود به viewport */
.nv-mm-pop {
    width: min(1000px, calc(100vw - 1.5rem));
    /* متغیر --nv-mm-maxh از بلید بر اساس ارتفاع واقعی هدر تزریق می‌شود */
    max-height: var(--nv-mm-maxh, calc(100vh - 210px));
    overflow: hidden;
}
.nv-mm-col-parents,
.nv-mm-col-content {
    /* ۴px کسر می‌شود تا حاشیه (border) خود پانل، ته فوتر چسبان را نچیند */
    max-height: calc(var(--nv-mm-maxh, calc(100vh - 210px)) - 4px);
    overscroll-behavior: contain;
}
/* فوتر «مشاهده همه» — انتهای لیست، با فاصله از ته ستون تا کامل دیده شود */
.nv-mm-footer {
    display: flex;
    justify-content: center;
    margin-top: 1.2rem;
    padding-top: .9rem;
    padding-bottom: .75rem;
    border-top: 1px solid var(--nv-line);
}
/* خود دکمه: در عرض ستون جای می‌گیرد و متن بلند می‌شکند (برخلاف nowrap پیش‌فرض nv-btn) */
.nv-mm-seeall {
    max-width: 100%;
    height: auto;
    min-height: 38px;
    padding: .4rem 1.1rem;
    white-space: normal;
    line-height: 1.5;
    text-align: center;
}
.nv-mm-parent {
    display: flex;
    align-items: center;
    gap: .7rem;
    padding: .7rem .75rem;
    border-radius: var(--nv-radius-sm);
    border: 1px solid transparent;
    background: transparent;
    color: var(--nv-text);
    cursor: pointer;
    text-align: right;
    transition: background-color .15s ease, border-color .15s ease;
}
.nv-mm-parent:hover { background: #ffffff; }
.nv-mm-parent.nv-mm-active {
    background: #ffffff;
    border-color: var(--nv-line);
    box-shadow: inset 3px 0 0 var(--nv-accent);
}
.nv-mm-ico {
    width: 34px; height: 34px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid var(--nv-line);
    border-radius: var(--nv-radius-xs);
    background: #ffffff;
    color: var(--nv-accent);
}
.nv-mm-ico .material-symbols-outlined { font-size: 19px; }
.nv-mm-child {
    background: var(--nv-surface);
    border: 1px solid var(--nv-line);
    border-radius: var(--nv-radius);
    padding: .9rem 1rem;
}
.nv-menu-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .6rem;
    padding: .5rem .75rem;
    border-radius: var(--nv-radius-xs);
    font-size: 13px;
    font-weight: 600;
    color: var(--nv-text);
    text-decoration: none;
    transition: background-color .15s ease, color .15s ease;
}
.nv-menu-row:hover { background: var(--nv-surface-alt); color: var(--nv-accent); }
.nv-menu-row .nv-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    border: 1px solid var(--nv-line);
    border-radius: var(--nv-radius-xs);
    background: var(--nv-surface-alt);
    color: var(--nv-accent);
}
.nv-menu-row .nv-ico .material-symbols-outlined { font-size: 17px; }
.nv-menu-row .nv-go { font-size: 16px; color: var(--nv-faint); }

/* ---------- 6) دراور موبایل ---------- */
.nv-overlay {
    background: rgba(16, 24, 43, .55);
}
.nv-drawer {
    background: var(--nv-surface);
    border-left: 2px solid var(--nv-line-strong);
    border-radius: 0;
}
.nv-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .8rem 1rem;
    border-bottom: 2px solid var(--nv-ink);
    background: var(--nv-surface-alt);
}
.nv-drawer-head span { font-size: 14px; font-weight: 900; color: var(--nv-ink); }
.nv-drawer-user {
    display: flex;
    align-items: center;
    gap: .7rem;
    padding: .9rem 1rem;
    border-bottom: 1px solid var(--nv-line);
}
.nv-drawer-user img, .nv-drawer-user .nv-avatar-fallback {
    width: 40px; height: 40px;
    border-radius: var(--nv-radius-sm);
    border: 1.5px solid var(--nv-line);
    object-fit: cover;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.nv-drawer-item {
    display: flex;
    align-items: center;
    gap: .7rem;
    padding: .8rem 1rem;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--nv-text);
    text-decoration: none;
    border-bottom: 1px solid var(--nv-surface-alt);
    border-radius: 0;
    transition: background-color .15s ease, color .15s ease;
}
.nv-drawer-item:hover { background: var(--nv-surface-alt); color: var(--nv-accent); }
.nv-drawer-item .material-symbols-outlined { font-size: 19px; color: var(--nv-faint); }
.nv-drawer-item:hover .material-symbols-outlined { color: var(--nv-accent); }
.nv-drawer-item.is-accent { color: var(--nv-accent); font-weight: 800; }
.nv-drawer-item.is-accent .material-symbols-outlined { color: var(--nv-accent); }
.nv-drawer-item.is-danger { color: #dc2626; }
.nv-drawer-item.is-danger:hover { background: #fef2f2; color: #b91c1c; }
.nv-drawer-item.is-danger .material-symbols-outlined { color: #dc2626; }
.nv-drawer-sec {
    padding: .55rem 1rem .3rem;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: .14em;
    color: var(--nv-faint);
    border-bottom: 1px solid var(--nv-line);
}
.nv-drawer-pill,
.nv-count-pill {
    width: 28px; height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--nv-line);
    border-radius: var(--nv-radius-xs);
    font-size: 11px;
    font-weight: 800;
    color: #ffffff;
    background: #e11d48;
    flex-shrink: 0;
}

/* ---------- 7) جستجوی موبایل ---------- */
.nv-msearch {
    border-top: 1px solid var(--nv-line);
}
.nv-msearch-form {
    display: flex;
    align-items: stretch;
    border: var(--nv-bw) solid var(--nv-ink);
    border-radius: var(--nv-radius-sm);
    background: var(--nv-surface);
    overflow: hidden;
}
.nv-msearch-input {
    flex: 1;
    min-width: 0;
    height: 42px;
    border: 0;
    outline: none;
    background: transparent;
    padding: 0 .9rem;
    font-size: 13px;
    color: var(--nv-text);
}
.nv-msearch-btn {
    flex-shrink: 0;
    width: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-right: var(--nv-bw) solid var(--nv-ink);
    background: var(--nv-accent);
    color: #ffffff;
    cursor: pointer;
}
.nv-msearch-btn .material-symbols-outlined { font-size: 19px; }

/* ---------- 8) فوتر ---------- */
.nv-footer {
    border-top: 3px solid var(--nv-line-strong);
}
.nv-footer-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 3rem 1rem 1.5rem;
}
/* نوار مزیت‌ها — ردیف تخت با جداکننده مویی */
.nv-featrow {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    border: var(--nv-bw) solid var(--nv-line);
    border-radius: var(--nv-radius);
    overflow: hidden;
    margin-bottom: 2.5rem;
    background: var(--nv-surface);
}
.nv-feat {
    display: flex;
    align-items: center;
    gap: .8rem;
    padding: 1rem 1.1rem;
    border-inline-start: 1px solid var(--nv-line);
}
.nv-feat:first-child { border-inline-start: 0; }
@media (max-width: 767px) {
    .nv-feat { border-inline-start: 0; border-top: 1px solid var(--nv-line); }
    .nv-feat:first-child { border-top: 0; }
}
.nv-feat-ico {
    width: 42px; height: 42px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: var(--nv-bw) solid var(--nv-ink);
    border-radius: var(--nv-radius-sm);
    color: var(--nv-accent);
    background: var(--nv-surface);
}
.nv-feat-ico .material-symbols-outlined { font-size: 21px; }
.nv-feat-t { display: block; font-size: 14.5px; font-weight: 900; color: var(--nv-ink); line-height: 1.4; }
.nv-feat-s { display: block; font-size: 12px; color: var(--nv-muted); margin-top: 2px; }

/* ستون‌های فوتر */
.nv-fgrid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}
@media (min-width: 768px) { .nv-fgrid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .nv-fgrid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.nv-f-title {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .16em;
    color: var(--nv-ink);
    text-transform: uppercase;
    padding-bottom: .65rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--nv-ink);
    display: flex;
    align-items: center;
    gap: .5rem;
}
.nv-f-title .material-symbols-outlined { font-size: 15px; color: var(--nv-accent); }
.nv-f-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .15rem; }
.nv-f-links li { width: 100%; }
.nv-f-link {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .32rem 0;
    font-size: 13px;
    color: var(--nv-muted);
    text-decoration: none;
    transition: color .15s ease;
}
.nv-f-link::before {
    content: '';
    width: 5px; height: 5px;
    flex-shrink: 0;
    background: var(--nv-line);
    transition: background-color .15s ease;
}
.nv-f-link:hover { color: var(--nv-accent); text-decoration: underline; text-underline-offset: 4px; }
.nv-f-link:hover::before { background: var(--nv-accent); }
.nv-f-desc { font-size: 13px; line-height: 2; color: var(--nv-muted); margin: 1rem 0; }
.nv-f-social { display: flex; gap: .5rem; flex-wrap: wrap; }
.nv-f-social a {
    width: 38px; height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: var(--nv-bw) solid var(--nv-line);
    border-radius: var(--nv-radius-sm);
    color: var(--nv-muted);
    text-decoration: none;
    overflow: hidden;
    transition: border-color .18s ease, color .18s ease, background-color .18s ease;
}
.nv-f-social a:hover { border-color: var(--nv-ink); color: var(--nv-accent); background: var(--nv-surface-alt); }
.nv-f-social a img { width: 18px; height: 18px; object-fit: contain; }
.nv-f-social a .material-symbols-outlined { font-size: 18px; }

/* نشان اعتماد */
.nv-trust-box {
    border: var(--nv-bw) solid var(--nv-line);
    border-radius: var(--nv-radius);
    background: var(--nv-surface);
    padding: .9rem;
    text-align: center;
}
.nv-trust-box img { max-height: 80px; width: auto; object-fit: contain; }
.nv-trust-ph {
    width: 64px; height: 64px;
    margin: 0 auto;
    border: 1.5px dashed var(--nv-line);
    border-radius: var(--nv-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--nv-faint);
}

/* نوار پایانی */
.nv-f-bottom {
    margin-top: 2.5rem;
    padding-top: 1.1rem;
    border-top: 1px solid var(--nv-line);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .6rem;
    font-size: 12.5px;
    color: var(--nv-muted);
}
@media (min-width: 768px) {
    .nv-f-bottom { flex-direction: row; justify-content: space-between; }
}
.nv-f-bottom p { margin: 0; display: inline-flex; align-items: center; gap: .4rem; }
.nv-f-bottom p .material-symbols-outlined { font-size: 15px; color: var(--nv-accent); }
.nv-f-bottom-links { display: flex; gap: 1.25rem; flex-wrap: wrap; justify-content: center; }
.nv-f-bottom-links a {
    color: var(--nv-muted);
    text-decoration: none;
    font-weight: 700;
    border-bottom: 2px solid transparent;
    padding-bottom: 2px;
    transition: color .15s ease, border-color .15s ease;
}
.nv-f-bottom-links a:hover { color: var(--nv-ink); border-color: var(--nv-accent); }

/* ---------- وسط‌چین کردن کامل فوتر در تبلت و موبایل (<1024px) ---------- */
@media (max-width: 1023px) {
    .nv-fgrid {
        grid-template-columns: 1fr 1fr !important;
        gap: 1.5rem;
    }
    .footer-brand,
    .footer-trust {
        grid-column: 1 / -1 !important;
        text-align: center;
    }
    .footer-column {
        text-align: center;
    }
    .nv-footer-inner,
    .nv-f-desc {
        text-align: center;
    }
    .nv-featrow { justify-items: center; }
    .nv-feat { justify-content: center; }
    .nv-f-title { justify-content: center; }
    .nv-f-social { justify-content: center; }
    .nv-f-links { align-items: center; }
    .nv-f-links li { width: auto; }
    .nv-f-bottom {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .nv-trust-box { text-align: center; margin: 0 auto; }
}

/* ---------- فوتر تک‌ستونه در صفحات خیلی باریک (<480px) ---------- */
@media (max-width: 479px) {
    .nv-fgrid {
        grid-template-columns: 1fr !important;
    }
    .footer-column {
        grid-column: 1 / -1 !important;
    }
}

/* ---------- 9) بلوک‌های صفحه اصلی ---------- */
.nv-section { padding: 0; }

/* سرتیتر بخش — نشان مربعی + عنوان + لینک مشاهده همه */
.nv-sec-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.nv-sec-title {
    display: inline-flex;
    align-items: center;
    gap: .7rem;
    font-size: 1.15rem;
    font-weight: 900;
    color: var(--nv-ink);
    margin: 0;
    min-width: 0;
}
.nv-sec-marker {
    width: 5px;
    height: 22px;
    flex-shrink: 0;
    background: var(--nv-accent);
    border-radius: 2px;
}
.nv-sec-sub { font-size: 12.5px; color: var(--nv-muted); margin-top: .35rem; }
.nv-more-link {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    height: 36px;
    padding: 0 .95rem;
    border: var(--nv-bw) solid var(--nv-line);
    border-radius: var(--nv-radius-sm);
    background: var(--nv-surface);
    font-size: 12.5px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    transition: border-color .18s ease, background-color .18s ease, color .18s ease;
}
.nv-more-link:hover { border-color: var(--nv-ink); background: var(--nv-ink); color: #ffffff; }
.nv-more-link .material-symbols-outlined { font-size: 16px; }

/* کارت تخت پایه */
.nv-card {
    background: var(--nv-surface);
    border: var(--nv-bw) solid var(--nv-line);
    border-radius: var(--nv-radius);
    transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.nv-card-hover:hover {
    border-color: color-mix(in srgb, var(--nv-accent) 55%, var(--nv-line));
    transform: translateY(-3px);
    box-shadow: 0 10px 24px -14px rgba(16, 24, 43, 0.25);
}

/* تگ/چیپ تخت */
.nv-chip {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    padding: .18rem .55rem;
    border-radius: var(--nv-radius-xs);
    border: 1px solid var(--nv-line);
    background: var(--nv-surface-alt);
    color: var(--nv-muted);
    font-size: 10.5px;
    font-weight: 800;
    line-height: 1.7;
    white-space: nowrap;
}
.nv-chip.is-accent {
    color: var(--nv-accent);
    border-color: color-mix(in srgb, var(--nv-accent) 35%, transparent);
    background: color-mix(in srgb, var(--nv-accent) 7%, #ffffff);
}

/* دکمه تخت کوچک (کارت‌ها) */
.nv-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    width: 100%;
    padding: .7rem 0;
    border: var(--nv-bw) solid var(--nv-accent);
    border-radius: var(--nv-radius-sm);
    background: var(--nv-accent);
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}
.nv-cta:hover { background: var(--nv-accent-hover); border-color: var(--nv-accent-hover); }
.nv-cta.is-quiet { background: var(--nv-surface); color: var(--nv-ink); border-color: var(--nv-ink); }
.nv-cta.is-quiet:hover { background: var(--nv-ink); color: #ffffff; }
.nv-cta .material-symbols-outlined { font-size: 16px; }

/* ---------- 10) هیرو ---------- */
.nv-hero {
    border-radius: var(--nv-radius);
    overflow: hidden;
    border: 2px solid var(--nv-ink);
    background: var(--nv-ink-2);
}
.nv-hero-slide { position: absolute; inset: 0; }
.nv-hero-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(9, 13, 26, 0.62) 0%, rgba(9, 13, 26, 0.18) 48%, rgba(9, 13, 26, 0) 78%);
    pointer-events: none;
}
/* پنل محتوای تخت — جایگزین پنل شیشه‌ای */
.nv-hero-panel {
    background: var(--nv-surface);
    border: 2px solid var(--nv-ink);
    border-radius: var(--nv-radius);
    padding: 1.1rem 1.25rem;
    max-width: 100%;
    color: var(--nv-ink);
}
.nv-hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    border: 1.5px solid var(--nv-line);
    border-radius: var(--nv-radius-xs);
    background: var(--nv-surface-alt);
    color: var(--nv-muted);
    padding: .18rem .6rem;
    font-size: 11px;
    font-weight: 800;
    margin-bottom: .6rem;
}
.nv-hero-kicker .material-symbols-outlined { font-size: 13px; color: var(--nv-accent); }
.nv-hero-title {
    font-size: clamp(1.1rem, 2.4vw, 1.55rem);
    font-weight: 900;
    margin: 0 0 .65rem;
    line-height: 1.45;
    color: var(--nv-ink);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.nv-hero-meta { display: flex; align-items: center; gap: .5rem; margin-bottom: .9rem; flex-wrap: wrap; }
.nv-hero-price {
    display: inline-flex;
    align-items: baseline;
    gap: .3rem;
    border: 1.5px solid color-mix(in srgb, var(--nv-accent) 40%, transparent);
    background: color-mix(in srgb, var(--nv-accent) 8%, #ffffff);
    color: var(--nv-accent);
    border-radius: var(--nv-radius-xs);
    padding: .3rem .75rem;
    font-weight: 900;
}
.nv-hero-price b { font-size: 1.15rem; line-height: 1; }
.nv-hero-price small { font-size: .68rem; opacity: .85; }
.nv-hero-bids {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    border: 1.5px solid var(--nv-line);
    background: var(--nv-surface-alt);
    color: var(--nv-muted);
    border-radius: var(--nv-radius-xs);
    padding: .3rem .75rem;
    font-size: .78rem;
    font-weight: 800;
}
.nv-hero-bids .material-symbols-outlined { font-size: 15px; }

/* فلش‌های اسلایدر — مربع تخت */
.nv-arrow {
    width: 38px; height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: var(--nv-bw) solid var(--nv-ink);
    border-radius: var(--nv-radius-sm);
    background: var(--nv-surface);
    color: var(--nv-ink);
    cursor: pointer;
    transition: background-color .18s ease, color .18s ease;
    z-index: 30;
}
.nv-arrow:hover { background: var(--nv-ink); color: #ffffff; }
.nv-arrow .material-symbols-outlined { font-size: 20px; }
.nv-arrow.on-dark { background: rgba(255,255,255,.92); }
.nv-arrow.on-dark:hover { background: var(--nv-ink); color: #ffffff; }

/* نقطه‌گذار مربعی */
.nv-dots {
    position: absolute;
    bottom: .9rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: .35rem;
    z-index: 30;
    padding: .35rem .5rem;
    background: rgba(255, 255, 255, .92);
    border: 1px solid var(--nv-line);
    border-radius: var(--nv-radius-sm);
}
.nv-dot {
    width: 7px; height: 7px;
    border: 0;
    border-radius: 2px;
    background: #c6ccd6;
    cursor: pointer;
    transition: all .25s ease;
    padding: 0;
}
.nv-dot.is-active { width: 22px; background: var(--nv-ink); }
.nv-dot:hover { background: var(--nv-ink); }

/* برچسب گوشه هیرو */
.nv-hero-flag {
    position: absolute;
    top: .9rem;
    right: .9rem;
    z-index: 30;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    background: var(--nv-ink);
    color: #ffffff;
    padding: .38rem .8rem;
    border-radius: var(--nv-radius-xs);
    font-size: .78rem;
    font-weight: 800;
}
.nv-hero-flag .material-symbols-outlined { font-size: 15px; color: #ffd166; }

/* واریانت تیره پنل — حالت تصویری (رنگ متن از تنظیمات ادمین) */
.nv-hero-panel.is-dark {
    background: rgba(16, 24, 43, .92);
    border-color: var(--nv-ink);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.nv-hero-title.is-lg { font-size: clamp(1.3rem, 3vw, 2.1rem); }
.nv-hero-sub { font-size: .95rem; margin: 0 0 1.1rem; opacity: .88; line-height: 1.9; }

/* سینی نقاط تیره — JS پس‌زمینه سفید می‌دهد */
.nv-dots.is-dark {
    background: rgba(16, 24, 43, .6);
    border-color: rgba(255, 255, 255, .18);
}

/* دکمه CTA هیرو — رنگ‌دار از تنظیمات ادمین (--cta-bg / --cta-color) */
.nv-hero-cta {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .68rem 1.5rem;
    border: 2px solid var(--cta-bg, var(--nv-accent));
    border-radius: var(--nv-radius-sm);
    background: var(--cta-bg, var(--nv-accent));
    color: var(--cta-color, #ffffff);
    font-weight: 800;
    font-size: .95rem;
    text-decoration: none;
    white-space: nowrap;
    transition: filter .18s ease;
}
.nv-hero-cta:hover { filter: brightness(1.1); }
.nv-hero-cta .material-symbols-outlined { font-size: 19px; }

/* ---------- 11) بنرهای کناری ---------- */
.nv-side-banner {
    display: flex;
    align-items: center;
    background: var(--nv-surface);
    border: var(--nv-bw) solid var(--nv-line);
    border-radius: var(--nv-radius);
    overflow: hidden;
    text-decoration: none;
    flex: 1;
    position: relative;
    transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.nv-side-banner:hover {
    border-color: color-mix(in srgb, var(--nv-accent) 55%, var(--nv-line));
    transform: translateY(-3px);
    box-shadow: 0 10px 24px -14px rgba(16, 24, 43, 0.25);
}
.nv-side-banner-body { flex: 1; min-width: 0; padding: 1.1rem 1.2rem; position: relative; z-index: 2; }
.nv-side-banner-title { font-size: 1.05rem; font-weight: 900; color: var(--nv-ink); margin: .45rem 0 .3rem; line-height: 1.5; }
.nv-side-banner-desc { font-size: 12.5px; color: var(--nv-muted); margin-bottom: .7rem; }
.nv-side-banner-go {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-size: 12.5px;
    font-weight: 800;
    transition: gap .2s ease;
}
.nv-side-banner:hover .nv-side-banner-go { gap: .7rem; }
.nv-side-banner-go .nv-go-sq {
    width: 22px; height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--nv-radius-xs);
    border: 1.5px solid currentColor;
}
.nv-side-banner-go .nv-go-sq .material-symbols-outlined { font-size: 14px; }
.nv-side-banner-img {
    width: 132px;
    flex-shrink: 0;
    align-self: stretch;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    overflow: hidden;
    position: relative;
    z-index: 2;
}
.nv-side-banner-img img {
    max-width: 100%; max-height: 100%;
    width: auto; height: auto;
    object-fit: contain;
    display: block;
    transition: transform .35s ease;
}
.nv-side-banner:hover .nv-side-banner-img img { transform: scale(1.06); }
/* نوار رنگی لبه — جایگزین دایره تزئینی */
.nv-side-banner::before {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    right: 0;
    width: 4px;
    background: var(--nv-accent);
    opacity: .9;
}

/* ---------- 12) دسته‌بندی‌ها ---------- */
.nv-cat-circle {
    width: 76px; height: 76px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--nv-ink);
    background: var(--nv-surface);
    color: var(--nv-accent);
    transition: background-color .2s ease, color .2s ease;
}
.nv-cat-circle .material-symbols-outlined { font-size: 30px; }
a:hover .nv-cat-circle { background: var(--nv-ink); color: #ffffff; }
.nv-cat-card {
    width: 118px;
    border: 2px solid var(--nv-ink);
    border-radius: var(--nv-radius);
    overflow: hidden;
    background: var(--nv-accent);
    color: #ffffff;
    text-align: center;
    transition: background-color .2s ease, border-color .2s ease;
}
.nv-cat-card .material-symbols-outlined { font-size: 26px; }
a:hover .nv-cat-card { background: var(--nv-ink); border-color: var(--nv-ink); }
.nv-cat-img {
    width: 88px; height: 88px;
    border-radius: var(--nv-radius);
    overflow: hidden;
    border: 2px solid var(--nv-ink);
    background: var(--nv-surface-alt);
}
.nv-cat-img img { width: 100%; height: 100%; object-fit: cover; }
.nv-cat-pill {
    padding: .45rem 1rem;
    border: var(--nv-bw) solid var(--nv-ink);
    border-radius: var(--nv-radius-sm);
    background: var(--nv-surface);
    color: var(--nv-ink);
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    transition: background-color .2s ease, color .2s ease;
}
a:hover .nv-cat-pill { background: var(--nv-ink); color: #ffffff; }
.nv-cat-label { font-size: 12.5px; font-weight: 700; color: var(--nv-text); text-align: center; line-height: 1.6; }
a:hover .nv-cat-label { color: var(--nv-accent); }

/* بولت صفحه‌بندی دسته‌ها — مربعی (JS کلاس‌های Tailwind را toggle می‌کند) */
.nv-cat-pagination { display: none; align-items: center; justify-content: center; gap: .4rem; margin-top: 1rem; }
.nv-cat-bullet {
    width: 7px; height: 7px;
    border: 0;
    border-radius: 2px;
    background: #c6ccd6;
    cursor: pointer;
    padding: 0;
    transition: all .25s ease;
}
.nv-cat-bullet.is-active { width: 20px; background: var(--nv-accent); }
.cat-bullet { border-radius: 2px !important; }
.cat-bullet.bg-primary { background: var(--nv-accent) !important; }

/* ---------- 13) نوار لیست حراجی ---------- */
.nv-band {
    border-radius: var(--nv-radius);
    border: 2px solid var(--nv-ink);
    padding: 1.5rem;
}
.nv-band .nv-sec-title { color: var(--nv-ink); }
.nv-band-title-light { color: #ffffff !important; }
.nv-band-sub-light { color: rgba(255,255,255,.75) !important; }
.nv-band .nv-more-link { border-color: currentColor; }
.nv-band-arrow {
    width: 34px; height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid rgba(255,255,255,.55);
    border-radius: var(--nv-radius-xs);
    background: transparent;
    color: #ffffff;
    cursor: pointer;
    flex-shrink: 0;
    transition: background-color .18s ease, border-color .18s ease;
}
.nv-band-arrow:hover { background: rgba(255,255,255,.16); border-color: #ffffff; }
.nv-band-arrow .material-symbols-outlined { font-size: 19px; }
/* واریانت باند روشن */
.nv-band.nv-band-light .nv-band-arrow { border-color: rgba(16,24,43,.35); color: var(--nv-ink); }
.nv-band.nv-band-light .nv-band-arrow:hover { background: rgba(16,24,43,.08); border-color: var(--nv-ink); }
.nv-hscroll {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding: .4rem .15rem 1rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    cursor: grab;
    user-select: none;
}
.nv-hscroll::-webkit-scrollbar { display: none; }

/* ---------- 14) نشان‌های اعتماد ---------- */
.nv-tbadge {
    display: flex;
    align-items: center;
    gap: .9rem;
    background: var(--nv-surface);
    border: var(--nv-bw) solid var(--nv-line);
    border-radius: var(--nv-radius);
    padding: 1.1rem 1.2rem;
    position: relative;
    overflow: hidden;
    transition: border-color .2s ease, transform .2s ease;
}
.nv-tbadge:hover { border-color: color-mix(in srgb, var(--nv-accent) 55%, var(--nv-line)); transform: translateY(-3px); }
.nv-tbadge::before {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    right: 0;
    width: 4px;
    background: var(--tb-accent, var(--nv-accent));
}
.nv-tbadge-ico {
    width: 48px; height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: var(--nv-bw) solid color-mix(in srgb, var(--tb-accent, var(--nv-accent)) 45%, transparent);
    border-radius: var(--nv-radius-sm);
    color: var(--tb-accent, var(--nv-accent));
    background: color-mix(in srgb, var(--tb-accent, var(--nv-accent)) 7%, #ffffff);
    transition: background-color .25s ease, color .25s ease;
}
.nv-tbadge:hover .nv-tbadge-ico { background: var(--tb-accent, var(--nv-accent)); color: #ffffff; }
.nv-tbadge-ico .material-symbols-outlined { font-size: 24px; }
.nv-tbadge-t { font-weight: 900; color: var(--nv-ink); font-size: 14px; }
.nv-tbadge-d { font-size: 12.5px; color: var(--nv-muted); margin-top: 3px; line-height: 1.8; }

/* ---------- 15) آمار ---------- */
.nv-stats {
    background: var(--nv-surface);
    border: var(--nv-bw) solid var(--nv-line);
    border-radius: var(--nv-radius);
}
.nv-stat { text-align: center; padding: 1.4rem .75rem; position: relative; }
.nv-stat + .nv-stat::before {
    content: '';
    position: absolute;
    right: 0;
    top: 22%;
    bottom: 22%;
    width: 1px;
    background: var(--nv-line);
}
@media (max-width: 767px) {
    .nv-stat + .nv-stat::before { display: none; }
}
.nv-stat-ico {
    width: 52px; height: 52px;
    margin: 0 auto .8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--nv-ink);
    border-radius: var(--nv-radius-sm);
    color: var(--nv-accent);
    background: var(--nv-surface);
    transition: background-color .2s ease, color .2s ease;
}
.nv-stat:hover .nv-stat-ico { background: var(--nv-ink); color: #ffffff; }
.nv-stat-ico .material-symbols-outlined { font-size: 26px; }
.nv-stat-val {
    font-size: 1.75rem;
    font-weight: 900;
    color: var(--nv-ink);
    line-height: 1.2;
    margin-bottom: .3rem;
}
.nv-stat-label { display: inline-flex; align-items: center; gap: .35rem; font-size: 12.5px; font-weight: 700; color: var(--nv-muted); }
.nv-stat-label::before { content: ''; width: 5px; height: 5px; border-radius: 1px; background: var(--nv-accent); }

/* ---------- 16) خبرنامه ---------- */
.nv-newsletter {
    background: var(--nv-ink-2);
    border: 2px solid var(--nv-ink);
    border-radius: var(--nv-radius);
    color: #ffffff;
    overflow: hidden;
    position: relative;
}
.nv-newsletter-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.75rem;
    padding: 2rem;
    position: relative;
    z-index: 2;
}
@media (min-width: 768px) { .nv-newsletter-grid { grid-template-columns: 1fr 1fr; align-items: center; padding: 2.5rem; gap: 2.5rem; } }
.nv-nl-kicker {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    border: 1.5px solid rgba(255,255,255,.35);
    border-radius: var(--nv-radius-xs);
    color: #ffffff;
    padding: .3rem .7rem;
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 1rem;
    background: rgba(255,255,255,.06);
}
.nv-nl-kicker .material-symbols-outlined { font-size: 16px; color: #ffd166; }
.nv-nl-title { font-size: 1.6rem; font-weight: 900; margin: 0 0 .6rem; line-height: 1.5; }
.nv-nl-sub { color: rgba(255,255,255,.8); font-size: .95rem; margin: 0; }
.nv-nl-points { display: flex; gap: .5rem 1.25rem; flex-wrap: wrap; margin-top: 1.25rem; padding: 0; list-style: none; }
.nv-nl-points li {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-size: 12px;
    font-weight: 700;
    color: rgba(255,255,255,.85);
}
.nv-nl-points li .material-symbols-outlined { font-size: 16px; color: #ffd166; }
.nv-nl-form {
    display: flex;
    flex-direction: column;
    gap: .6rem;
    border: 2px solid rgba(255,255,255,.4);
    border-radius: var(--nv-radius);
    padding: .6rem;
    background: rgba(255,255,255,.05);
}
@media (min-width: 640px) { .nv-nl-form { flex-direction: row; } }
.nv-nl-field {
    flex: 1;
    display: flex;
    align-items: center;
    gap: .5rem;
    background: #ffffff;
    border-radius: var(--nv-radius-sm);
    padding: 0 .9rem;
    height: 52px;
}
.nv-nl-field .material-symbols-outlined { color: var(--nv-faint); font-size: 20px; }
.nv-nl-field input {
    flex: 1;
    min-width: 0;
    height: 100%;
    border: 0;
    outline: none;
    background: transparent;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--nv-text);
}
.nv-nl-btn {
    height: 52px;
    border: 0;
    border-radius: var(--nv-radius-sm);
    background: var(--nv-accent-2);
    color: #ffffff;
    font-weight: 900;
    font-size: 14px;
    padding: 0 1.75rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    white-space: nowrap;
    transition: filter .18s ease;
}
.nv-nl-btn:hover { filter: brightness(1.08); }
.nv-nl-note { display: flex; align-items: center; gap: .4rem; font-size: 11.5px; color: rgba(255,255,255,.65); margin-top: .75rem; }
.nv-nl-note .material-symbols-outlined { font-size: 14px; }

/* ---------- 17) بنر تبلیغاتی ---------- */
.nv-promo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border: 2px solid var(--nv-ink);
    border-radius: var(--nv-radius);
    overflow: hidden;
    position: relative;
    text-decoration: none;
    min-height: 132px;
    transition: transform .2s ease, box-shadow .2s ease;
}
.nv-promo:hover { transform: translateY(-3px); box-shadow: 0 10px 24px -14px rgba(16, 24, 43, 0.3); }
.nv-promo-body { position: relative; z-index: 10; padding: 1.4rem; color: #ffffff; flex: 1; min-width: 0; }
/* بنر «فقط عکسی» — حذف min-height و flex تا المان دقیقاً به اندازه خود عکس شود و نوار رنگی بالا/پایین ایجاد نشود */
.nv-promo-image {
    display: block;
    min-height: 0;
    line-height: 0;
}
.nv-promo-image img {
    width: 100%;
    height: auto;
    display: block;
}
.nv-promo-title { font-size: 1.35rem; font-weight: 900; margin: 0 0 .2rem; line-height: 1.5; }
.nv-promo-sub { color: rgba(255,255,255,.85); font-size: .9rem; margin: 0; }
.nv-promo-btn {
    flex-shrink: 0;
    margin-inline-start: 1.25rem;
    margin-inline-end: 1.25rem;
    background: #ffffff;
    color: var(--nv-ink);
    font-weight: 900;
    font-size: 13px;
    padding: .65rem 1.4rem;
    border-radius: var(--nv-radius-sm);
    border: 2px solid var(--nv-ink);
    transition: background-color .18s ease, color .18s ease;
    white-space: nowrap;
}
.nv-promo:hover .nv-promo-btn { background: var(--nv-ink); color: #ffffff; }
.nv-promo-imgbg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .4; transition: opacity .2s ease; }
.nv-promo:hover .nv-promo-imgbg { opacity: .5; }

/* ---------- 18) وبلاگ ---------- */
.nv-post {
    display: block;
    background: var(--nv-surface);
    border: var(--nv-bw) solid var(--nv-line);
    border-radius: var(--nv-radius);
    overflow: hidden;
    height: 100%;
    text-decoration: none;
    transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.nv-post:hover {
    border-color: color-mix(in srgb, var(--nv-accent) 55%, var(--nv-line));
    transform: translateY(-3px);
    box-shadow: 0 10px 24px -14px rgba(16, 24, 43, 0.25);
}
.nv-post-img { width: 100%; height: 176px; object-fit: cover; display: block; }
.nv-post-ph {
    width: 100%; height: 176px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--nv-surface-alt);
    border-bottom: 1px solid var(--nv-line);
    color: var(--nv-faint);
}
.nv-post-body { padding: 1rem 1.1rem 1.2rem; }
.nv-post-title {
    font-weight: 900;
    color: var(--nv-ink);
    font-size: 14.5px;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color .18s ease;
}
.nv-post:hover .nv-post-title { color: var(--nv-accent); }
.nv-post-ex { font-size: 12.5px; color: var(--nv-muted); margin-top: .5rem; line-height: 1.9; }
.nv-post-meta { display: flex; align-items: center; gap: .9rem; margin-top: .8rem; font-size: 11px; color: var(--nv-faint); }
.nv-post-meta span { display: inline-flex; align-items: center; gap: .3rem; }
.nv-post-meta .material-symbols-outlined { font-size: 14px; }

/* ---------- 19) کارت آگهی (nv-card family) ---------- */
.nv-lcard {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--nv-surface);
    border: var(--nv-bw) solid var(--nv-line);
    border-radius: var(--nv-radius);
    overflow: hidden;
    transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.nv-lcard:hover {
    border-color: color-mix(in srgb, var(--nv-accent) 55%, var(--nv-line));
    transform: translateY(-3px);
    box-shadow: 0 10px 24px -14px rgba(16, 24, 43, 0.25);
}
.nv-lcard-topbar { position: absolute; top: 0; right: 0; left: 0; height: 3px; background: var(--lc-accent, var(--nv-accent)); z-index: 10; }
.nv-lcard-media {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--nv-surface-alt);
}
.nv-lcard-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.nv-lcard:hover .nv-lcard-media img { transform: scale(1.05); }
.nv-lcard-scrim {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 42%;
    background: linear-gradient(to top, rgba(9,13,26,.35), transparent);
    pointer-events: none;
}
.nv-lcard-flag {
    position: absolute;
    top: 10px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 9px;
    background: #ffffff;
    border: 1.5px solid var(--nv-line);
    border-radius: var(--nv-radius-xs);
    font-size: 10.5px;
    font-weight: 800;
    color: var(--nv-ink);
    z-index: 5;
}
.nv-lcard-flag .pulse {
    width: 6px; height: 6px;
    border-radius: 2px;
    background: var(--lc-accent, var(--nv-accent));
    animation: nv-pulse 2s infinite;
}
.nv-lcard-flag.is-off { color: var(--nv-muted); }
.nv-lcard-flag.is-off .pulse { background: #9ca3af; animation: none; }
@keyframes nv-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: .35; }
}
.nv-lcard-store {
    position: absolute;
    top: 10px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 4px 9px;
    background: var(--nv-ink);
    color: #ffffff;
    border-radius: var(--nv-radius-xs);
    font-size: 10px;
    font-weight: 700;
    z-index: 5;
}
.nv-lcard-store .material-symbols-outlined { font-size: 12px; }
.nv-lcard-bids {
    position: absolute;
    bottom: 8px; left: 8px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 3px 7px;
    background: rgba(16, 24, 43, .85);
    color: #ffffff;
    border-radius: var(--nv-radius-xs);
    font-size: 10px;
    font-weight: 700;
    z-index: 5;
}
.nv-lcard-bids .material-symbols-outlined { font-size: 12px; }
.nv-lcard-body { padding: .95rem 1.05rem 1.1rem; display: flex; flex-direction: column; flex: 1; position: relative; z-index: 2; }
.nv-lcard-title {
    font-size: 14.5px;
    font-weight: 800;
    color: var(--nv-ink);
    line-height: 1.65;
    margin: .5rem 0 .65rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color .2s ease;
}
a.nv-lcard-link:hover .nv-lcard-title, .nv-lcard:hover a:hover .nv-lcard-title { color: var(--nv-accent); }
.nv-lcard-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    padding-bottom: .8rem;
    margin-bottom: .8rem;
    border-bottom: 1px solid var(--nv-surface-alt);
}
.nv-lcard-price b { font-size: 19px; font-weight: 900; color: var(--nv-accent); line-height: 1; letter-spacing: -0.3px; }
.nv-lcard-price span { font-size: 12px; color: var(--nv-faint); }
.nv-lcard-meta { display: flex; align-items: center; gap: 10px; font-size: 11px; color: var(--nv-faint); margin-bottom: .85rem; }
.nv-lcard-meta span { display: inline-flex; align-items: center; gap: 3px; }
.nv-lcard-meta .material-symbols-outlined { font-size: 14px; color: #c3c9d4; }
.nv-lcard-meta .dot { width: 3px; height: 3px; border-radius: 1px; background: var(--nv-line); }
/* پیوند عنوان کارت */
.nv-lcard-link { text-decoration: none; color: inherit; }
/* نوار شمارش معکوس تخت — روی تصویر کارت detailed */
.nv-count-strip {
    background: rgba(16, 24, 43, .92);
    border-radius: var(--nv-radius-sm);
}

/* ---------- 20) ریسپانسیو هدر ---------- */
@media (min-width: 768px) {
    .nv-search { display: block; }
    /* Fallback reserve; the end-of-body JS sets the exact header height (incl. board bar) */
    .nv-main { padding-top: calc(var(--nv-header-h, 120px) + 52px); }
}
@media (max-width: 767px) {
    .nv-brand-title { font-size: 1.2rem; }
    .nv-header-inner { gap: .75rem; }
    .nv-actions { gap: .35rem; }
    .nv-ticker { height: 32px; font-size: 11px; }
    .nv-ticker-label { padding: 0 .6rem; font-size: 10px; }
    /* Hide text labels on user/login buttons — icon-only mobile */
    .nv-user-name,
    .nv-user-caret,
    .nv-btn-label { display: none; }
    .nv-user-btn { padding: 0 .6rem; max-width: none; }
    .nv-btn-solid { padding: 0 .65rem; }
    .nv-sep-v { display: none; }
}

/* ============================================================================
   21) صفحه حراجی (listings/show) — بلوک‌های تخت
   ========================================================================== */

/* پل رنگ: کلاس‌های Tailwind primary به رنگ اصلی ادمین مپ می‌شوند */
.text-primary { color: var(--color-primary, #135bec) !important; }
.bg-primary { background-color: var(--color-primary, #135bec) !important; }
.border-primary { border-color: var(--color-primary, #135bec) !important; }
.marker\:text-primary::marker { color: var(--color-primary, #135bec) !important; }
.hover\:text-primary:hover { color: var(--color-primary, #135bec) !important; }
.focus\:ring-primary:focus { --tw-ring-color: var(--color-primary, #135bec) !important; }
.focus\:border-primary:focus { border-color: var(--color-primary, #135bec) !important; }

/* ابزار شعاع تخت */
.nv-r { border-radius: var(--nv-radius); }
.nv-r-sm { border-radius: var(--nv-radius-sm); }
.nv-r-xs { border-radius: var(--nv-radius-xs); }

/* الرت‌های تخت (بنرهای وضعیت) */
.nv-alert { border: 1.5px solid var(--nv-line); border-radius: var(--nv-radius); background: var(--nv-surface); }
.nv-alert.is-danger { background: #fef2f2; border-color: #fecaca; }
.nv-alert.is-warn { background: #fffbeb; border-color: #fde68a; }
.nv-alert.is-info { background: #eff6ff; border-color: #bfdbfe; }
.nv-alert.is-success { background: #f0fdf4; border-color: #bbf7d0; }
.nv-alert.is-muted { background: var(--nv-surface-alt); border-color: var(--nv-line); }
.nv-alert-ico {
    width: 48px; height: 48px; flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: var(--nv-radius-sm); border: 1.5px solid;
}
.nv-alert-ico.is-danger { background: #fee2e2; border-color: #fca5a5; color: #dc2626; }
.nv-alert-ico.is-warn { background: #fef3c7; border-color: #fcd34d; color: #d97706; }
.nv-alert-ico.is-info { background: #dbeafe; border-color: #93c5fd; color: #2563eb; }
.nv-alert-ico.is-success { background: #dcfce7; border-color: #86efac; color: #16a34a; }
.nv-alert-ico.is-muted { background: #e5e7eb; border-color: #d1d5db; color: #6b7280; }

/* بردکرامب */
.nv-crumb { border: 1px solid var(--nv-line); border-radius: var(--nv-radius); background: var(--nv-surface); }

/* گالری تصاویر */
.nv-gallery { padding: 8px; }
.nv-gallery-main { border-radius: var(--nv-radius-sm); background: var(--nv-surface-alt); }
.nv-flag-hot {
    display: inline-flex; align-items: center;
    padding: 5px 10px; background: var(--nv-ink); color: #ffffff;
    font-size: 11px; font-weight: 800; border-radius: var(--nv-radius-xs);
    animation: nvHotPulse 1.6s ease-in-out infinite;
}
@keyframes nvHotPulse { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }
.nv-thumb {
    border: 1.5px solid var(--nv-line); border-radius: var(--nv-radius-sm);
    background: #ffffff; overflow: hidden;
    transition: border-color .15s ease, opacity .15s ease;
}
.nv-thumb.border-primary { border-color: var(--color-primary, #135bec); border-width: 2px; }
.nv-gal-nav {
    display: inline-flex; align-items: center; justify-content: center;
    width: 34px; height: 34px;
    background: #ffffff; color: var(--nv-text);
    border: 1.5px solid var(--nv-line-strong); border-radius: var(--nv-radius-xs);
    cursor: pointer; transition: background-color .15s ease, color .15s ease;
}
.nv-gal-nav:hover { background: var(--nv-ink); color: #ffffff; }

/* مودال‌ها (لایت‌باکس / خرید فوری / تسویه) */
.nv-modal { background: #ffffff; border: 2px solid var(--nv-line-strong); border-radius: var(--nv-radius); overflow: hidden; }
.nv-modal-head { padding: 1.5rem; color: #ffffff; display: flex; align-items: center; gap: .75rem; }
.nv-modal-head.is-amber { background: #d97706; }
.nv-modal-head.is-green { background: #16a34a; }
.nv-modal-foot { padding: 1.5rem; border-top: 1px solid var(--nv-line); background: var(--nv-surface-alt); flex-shrink: 0; }
.nv-lb-thumb { border: 1.5px solid var(--nv-line); border-radius: var(--nv-radius-xs); overflow: hidden; }
.nv-lb-thumb.border-primary { border-color: var(--color-primary, #135bec); border-width: 2px; }

/* کاشی‌های کنار گالری — خرید فوری / فروشگاه / ارسال */
.nv-tile { position: relative; overflow: hidden; border: 1.5px solid var(--nv-line); border-radius: var(--nv-radius); background: var(--nv-surface); }
.nv-tile.is-amber { background: #fffbeb; border-color: #fcd34d; }
.nv-tile.is-tint { background: color-mix(in srgb, var(--color-primary, #135bec) 4%, #ffffff); }
.nv-ico {
    width: 32px; height: 32px; flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center;
    border: 1.5px solid var(--nv-line); border-radius: var(--nv-radius-xs);
    background: var(--nv-surface-alt); color: var(--nv-accent);
}
.nv-ico .material-symbols-outlined { font-size: 18px; }
.nv-avatar {
    border-radius: var(--nv-radius-sm); border: 1.5px solid var(--nv-line);
    overflow: hidden; background: var(--nv-surface-alt);
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.nv-ship-row { border: 1px solid var(--nv-line); border-radius: var(--nv-radius-sm); background: var(--nv-surface-alt); padding: .6rem .7rem; }
.nv-ship-opt {
    display: flex; align-items: center; gap: .75rem; padding: .75rem;
    border: 1.5px solid var(--nv-line); border-radius: var(--nv-radius-sm);
    cursor: pointer; transition: border-color .15s ease;
}
.nv-ship-opt:hover { border-color: var(--nv-ink); }
.nv-ship-opt.is-checked { border-color: var(--nv-accent); }

/* جعبه قیمت و تایمر */
.nv-price-box {
    background: color-mix(in srgb, var(--color-primary, #135bec) 4%, #ffffff);
    border: 1.5px solid var(--nv-line); border-radius: var(--nv-radius);
    padding: 1.25rem; margin-bottom: 1.5rem;
}
.nv-price-val { font-size: 1.875rem; font-weight: 900; color: var(--color-primary, #135bec); line-height: 1; letter-spacing: -0.5px; }
.nv-bids-mini {
    display: flex; align-items: center; gap: .5rem;
    background: #ffffff; border: 1px solid var(--nv-line);
    border-radius: var(--nv-radius-sm); padding: .5rem .75rem;
}
.nv-deposit-row {
    display: flex; align-items: center; justify-content: space-between;
    background: #ffffff; border: 1px solid var(--nv-line);
    border-radius: var(--nv-radius-sm); padding: .6rem .75rem; font-size: 13px;
}

/* فیلد ورودی تخت */
.nv-field {
    display: block; width: 100%;
    border: 1.5px solid var(--nv-ink); border-radius: var(--nv-radius-sm);
    background: #ffffff; color: var(--nv-text); outline: none;
    transition: box-shadow .2s ease;
}
.nv-field:focus { box-shadow: var(--nv-ring); }
.nv-field::placeholder { color: var(--nv-faint); }

/* تب‌های ادیتوریال (زیرخط‌دار مثل ناوبری) */
.nv-tabs {
    display: flex; gap: .25rem;
    border-bottom: 2px solid var(--nv-ink);
    overflow-x: auto; scrollbar-width: none;
}
.nv-tabs::-webkit-scrollbar { display: none; }
.nv-tab {
    position: relative; padding: .65rem 1rem;
    font-size: 13.5px; font-weight: 700; color: var(--nv-muted);
    background: transparent; border: 0; cursor: pointer; white-space: nowrap;
}
.nv-tab::after {
    content: ''; position: absolute; right: 1rem; left: 1rem; bottom: -2px;
    height: 2.5px; background: var(--nv-accent);
    transform: scaleX(0); transform-origin: right; transition: transform .2s ease;
}
.nv-tab:hover { color: var(--nv-ink); }
.nv-tab.nv-tab-active { color: var(--nv-ink); font-weight: 800; }
.nv-tab.nv-tab-active::after { transform: scaleX(1); }

/* دکمه‌های رنگی تخت */
.nv-btn-amber {
    display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
    border: 1.5px solid #d97706; background: #d97706; color: #ffffff;
    font-weight: 800; border-radius: var(--nv-radius-sm); cursor: pointer;
    text-decoration: none; transition: background-color .18s ease, border-color .18s ease;
}
.nv-btn-amber:hover { background: #b45309; border-color: #b45309; }
.nv-btn-green {
    display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
    border: 1.5px solid #16a34a; background: #16a34a; color: #ffffff;
    font-weight: 800; border-radius: var(--nv-radius-sm); cursor: pointer;
    text-decoration: none; transition: background-color .18s ease, border-color .18s ease;
}
.nv-btn-green:hover { background: #15803d; border-color: #15803d; }

/* تایم‌لاین تاریخچه پیشنهادها */
.nv-tl { border-right: 2px solid var(--nv-surface-alt); }
.nv-tl-dot { position: absolute; top: 4px; width: 14px; height: 14px; border-radius: 2px; border: 2px solid #ffffff; background: var(--nv-line); }
.nv-tl-dot.is-top { background: #16a34a; }
.nv-tl-badge { font-size: 11px; font-weight: 800; color: #16a34a; background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: var(--nv-radius-xs); padding: 1px 8px; }

/* شمارش معکوس تخت (Livewire) */
.nv-cd-cell {
    display: block; width: 100%; background: #ffffff;
    border: 1px solid var(--nv-line); border-radius: var(--nv-radius-sm);
    padding: .5rem 0; text-align: center;
    font-size: 1.25rem; font-weight: 900; font-variant-numeric: tabular-nums;
    color: var(--nv-ink);
}
.nv-cd-cell.is-sec { background: var(--color-secondary, #f8a203); border-color: var(--color-secondary, #f8a203); color: #ffffff; }
.nv-cd-sep { font-size: 1.05rem; font-weight: 900; color: var(--nv-faint); }
.nv-cd-ended {
    display: flex; align-items: center; justify-content: center; gap: .5rem;
    background: #fef2f2; border: 1px solid #fecaca; border-radius: var(--nv-radius-sm);
    padding: .6rem 1rem; width: 100%; color: #dc2626; font-weight: 700;
}
