﻿:root {
    color-scheme: light;
    --vv-white: #ffffff;
    --vv-cream: #faf7ef;
    --vv-ivory: #f5efe2;
    --vv-gold: #c99a3d;
    --vv-gold-soft: #ead3a1;
    --vv-gold-deep: #93681f;
    --vv-charcoal: #171514;
    --vv-ink: #25211d;
    --vv-muted: #756d62;
    --vv-line: #e9ddc8;
    --vv-surface: rgba(255,255,255,.78);
    --vv-surface-strong: #ffffff;
    --vv-glass: rgba(255,255,255,.66);
    --vv-shadow: 0 24px 70px rgba(46,35,20,.12);
    --vv-shadow-soft: 0 14px 35px rgba(46,35,20,.08);
    --vv-scroll-track: rgba(201,154,61,.12);
    --vv-scroll-thumb: rgba(201,154,61,.68);
    --vv-scroll-thumb-hover: rgba(201,154,61,.86);
    --vv-radius-xs: 9px;
    --vv-radius-sm: 14px;
    --vv-radius-md: 20px;
    --vv-radius-lg: 26px;
    --vv-header-h: 82px;
    --vv-transition: .28s cubic-bezier(.22,.61,.36,1);
    --bs-body-bg: var(--vv-cream) !important;
    --bs-body-color: var(--vv-ink) !important;
    --bs-primary: var(--vv-gold);
    --bs-primary-rgb: 201,154,61;
}

:root[data-bs-theme="dark"] {
    color-scheme: dark;
    --vv-white: #f5efe2;
    --vv-cream: #11100f;
    --vv-ivory: #1d1a17;
    --vv-gold: #d7ad55;
    --vv-gold-soft: #4d3b1d;
    --vv-gold-deep: #f2cf86;
    --vv-charcoal: #0b0a09;
    --vv-ink: #f1eadc;
    --vv-muted: #b7ad9d;
    --vv-line: #31291f;
    --vv-surface: rgba(28,25,22,.82);
    --vv-surface-strong: #1b1815;
    --vv-glass: rgba(17,16,15,.72);
    --vv-shadow: 0 24px 70px rgba(0,0,0,.38);
    --vv-shadow-soft: 0 14px 35px rgba(0,0,0,.28);
    --vv-scroll-track: rgba(255,255,255,.07);
    --vv-scroll-thumb: rgba(215,173,85,.58);
    --vv-scroll-thumb-hover: rgba(240,207,134,.8);
    --bs-body-bg: var(--vv-cream) !important;
    --bs-body-color: var(--vv-ink) !important;
}

@font-face {
    font-family: WPGFont;
    src: url("../fonts/yekan-bakh_variable.woff") format("woff");
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
html,
body {
    scrollbar-width: thin;
    scrollbar-color: var(--vv-scroll-thumb) var(--vv-scroll-track);
}
html::-webkit-scrollbar,
body::-webkit-scrollbar { width: 10px; height: 10px; }
html::-webkit-scrollbar-track,
body::-webkit-scrollbar-track {
    background: var(--vv-scroll-track);
    border-radius: 999px;
}
html::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--vv-scroll-thumb-hover), var(--vv-scroll-thumb));
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.18);
}
html::-webkit-scrollbar-thumb:hover,
body::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--vv-scroll-thumb-hover), var(--vv-scroll-thumb-hover));
}
body {
    margin: 0;
    overflow-x: clip;
    direction: rtl;
    font-family: WPGFont, "IRANYekan", "Vazirmatn", Tahoma, Arial, sans-serif;
    color: var(--vv-ink);
    background:
        radial-gradient(circle at 12% 8%, rgba(201,154,61,.18), transparent 28rem),
        radial-gradient(circle at 92% 12%, rgba(255,255,255,.48), transparent 25rem),
        var(--vv-cream);
    min-height: 100vh;
}

body.mobile-menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--vv-gold-deep); }
img { max-width: 100%; height: auto; }
::selection { background: var(--vv-gold); color: var(--vv-charcoal); }

/* سرتیترها — کمی جمع‌تر از پیش‌فرض بوت‌استرپ */
h1, .h1 {
    font-size: clamp(1.45rem, 2.35vw, 2.05rem);
    line-height: 1.35;
    letter-spacing: -0.03em;
}
h1.section-title,
h1.display-5,
.section-title.display-5 {
    font-size: clamp(1.5rem, 2.5vw, 2.2rem) !important;
    line-height: 1.35;
}

.vv-page { min-height: 100vh; display: flex; flex-direction: column; overflow-x: clip; }
.vv-main { flex: 1 0 auto; padding-top: var(--vv-header-h); }
body[data-page="home"] .vv-main {
    padding-top: 0;
}
.vv-container { width: min(1180px, calc(100% - 32px)); margin-inline: auto; }
.text-gold { color: var(--vv-gold) !important; }
.text-muted-vv { color: var(--vv-muted) !important; }
.surface-card {
    background: var(--vv-surface);
    border: 1px solid var(--vv-line);
    border-radius: var(--vv-radius-md);
    box-shadow: var(--vv-shadow-soft);
    backdrop-filter: blur(18px);
}
.section-pad { padding: clamp(56px, 8vw, 104px) 0; }
.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    color: var(--vv-gold-deep);
    font-weight: 800;
    letter-spacing: -.01em;
    margin-bottom: .75rem;
}
.section-eyebrow::before {
    content: "";
    width: 28px;
    height: 2px;
    border-radius: 99px;
    background: var(--vv-gold);
}
.section-title { font-weight: 900; letter-spacing: -.04em; line-height: 1.45; margin-bottom: 1rem; }
.section-lead { color: var(--vv-muted); line-height: 2.1; max-width: 760px; }

.btn-vv,
.btn-primary {
    --bs-btn-color: #19140c;
    --bs-btn-bg: var(--vv-gold);
    --bs-btn-border-color: var(--vv-gold);
    --bs-btn-hover-color: #19140c;
    --bs-btn-hover-bg: #e1b95d;
    --bs-btn-hover-border-color: #e1b95d;
    --bs-btn-active-color: #19140c;
    --bs-btn-active-bg: var(--vv-gold-deep);
    --bs-btn-active-border-color: var(--vv-gold-deep);
    border-radius: 999px;
    font-weight: 800;
    padding: .78rem 1.35rem;
    box-shadow: 0 14px 28px rgba(201,154,61,.22);
}
.btn-vv-outline {
    color: var(--vv-ink);
    border: 1px solid var(--vv-line);
    background: var(--vv-glass);
    border-radius: 999px;
    font-weight: 800;
    padding: .78rem 1.35rem;
}
.animated-button {
    display: inline-flex;
    flex-direction: row-reverse;
    justify-content: center;
    align-items: center;
    gap: 0;
    overflow: hidden;
    transition: color var(--vv-transition), background-color var(--vv-transition), border-color var(--vv-transition), transform var(--vv-transition);
}
.animated-button::before {
    content: "\290C";
    width: 0;
    opacity: 0;
    font-weight: 900;
    transition: width var(--vv-transition), opacity var(--vv-transition), margin-right var(--vv-transition);
}
.animated-button:hover { transform: translateY(-2px); }
.animated-button:hover::before { width: 16px; opacity: 1; margin-right: 6px; }

.vv-header {
    position: fixed;
    inset: 0 0 auto;
    height: var(--vv-header-h);
    z-index: 1050;
    /* لایت: شیشهٔ پررنگ‌تر روی ویدیو/پس‌زمینه */
    background: rgba(255, 252, 245, 0.34);
    background: linear-gradient(
        168deg,
        color-mix(in srgb, #fffdf8 58%, transparent) 0%,
        color-mix(in srgb, #f0e6d4 22%, rgba(32, 27, 20, 0.26)) 52%,
        color-mix(in srgb, #d4c4a8 12%, rgba(28, 24, 18, 0.32)) 100%
    );
    border-bottom: 1px solid rgba(201, 154, 61, 0.26);
    backdrop-filter: saturate(1.38) blur(32px);
    -webkit-backdrop-filter: saturate(1.38) blur(32px);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        inset 0 -1px 0 rgba(46, 38, 26, 0.07),
        0 12px 44px rgba(32, 26, 18, 0.14);
}
:root[data-bs-theme="dark"] .vv-header {
    background: rgba(17, 16, 15, 0.58);
    background: linear-gradient(
        180deg,
        color-mix(in srgb, var(--vv-surface-strong) 52%, transparent) 0%,
        color-mix(in srgb, var(--vv-charcoal) 58%, transparent) 100%
    );
    border-bottom-color: color-mix(in srgb, var(--vv-gold) 28%, transparent);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 14px 42px rgba(0, 0, 0, 0.42);
}
.vv-header-inner {
    width: min(1220px, calc(100% - 32px));
    height: 100%;
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.vv-brand { display: inline-flex; align-items: center; gap: .7rem; min-width: max-content; }
.vv-brand-mark {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    color: #1b1305;
    background: linear-gradient(135deg, rgba(201,154,61,.18), rgba(243,215,143,.22));
    box-shadow: 0 16px 32px rgba(201,154,61,.25);
    font-weight: 900;
    overflow: hidden;
    border: 1px solid rgba(201,154,61,.28);
}
.vv-brand-mark img { width: 100%; height: 100%; object-fit: contain; padding: 5px; }
.footer-brand-mark {
    width: 92px;
    min-width: 92px;
    height: 68px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}
.footer-brand-mark img { padding: 0; object-fit: contain; }
.brand-logo-fallback { display: none; }
.vv-brand-mark.has-fallback .brand-logo-fallback { display: grid; place-items: center; width: 100%; height: 100%; background: linear-gradient(135deg, var(--vv-gold), #f3d78f); }
.vv-brand-title { font-weight: 900; letter-spacing: -.03em; margin: 0; }
.vv-brand-subtitle { display: block; color: var(--vv-muted); font-size: .75rem; margin-top: .1rem; }
.vv-nav { display: flex; align-items: center; gap: .25rem; }
.vv-nav-item { position: relative; }
.vv-nav a,
.vv-nav button {
    border: 0;
    background: transparent;
    color: var(--vv-ink);
    padding: .6rem .75rem;
    border-radius: 999px;
    font-weight: 800;
    font-size: .92rem;
    transition: background var(--vv-transition), color var(--vv-transition);
}
.vv-nav a:hover,
.vv-nav a.active,
.vv-nav-item.active > a,
.vv-nav button:hover { background: rgba(201,154,61,.14); color: var(--vv-gold-deep); }
.vv-nav .vv-nav-item > a { display: inline-flex; align-items: center; gap: .35rem; }
.vv-nav-caret {
    position: relative;
    width: 28px;
    height: 28px;
    border-radius: 12px;
    display: inline-grid;
    place-items: center;
    background:
        linear-gradient(135deg, rgba(201,154,61,.2), rgba(255,255,255,.42)),
        rgba(201,154,61,.08);
    border: 1px solid rgba(201,154,61,.24);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 10px 22px rgba(201,154,61,.12);
    color: transparent;
    overflow: hidden;
    transition: transform var(--vv-transition), background var(--vv-transition), box-shadow var(--vv-transition);
}
.vv-nav-caret::before,
.vv-nav-caret::after {
    content: "";
    position: absolute;
    width: 8px;
    height: 2px;
    border-radius: 99px;
    background: var(--vv-gold-deep);
    top: 13px;
    transition: transform var(--vv-transition), width var(--vv-transition);
}
.vv-nav-caret::before { right: 7px; transform: rotate(42deg); }
.vv-nav-caret::after { left: 7px; transform: rotate(-42deg); }
.vv-nav-item:hover .vv-nav-caret {
    transform: translateY(2px);
    background: linear-gradient(135deg, rgba(201,154,61,.28), rgba(255,255,255,.5));
    box-shadow: inset 0 1px 0 rgba(255,255,255,.6), 0 14px 28px rgba(201,154,61,.18);
}
.vv-nav-item:hover .vv-nav-caret::before { transform: rotate(-42deg); }
.vv-nav-item:hover .vv-nav-caret::after { transform: rotate(42deg); }
.vv-mega-menu {
    position: absolute;
    top: calc(100% + 18px);
    right: 50%;
    width: min(620px, calc(100vw - 36px));
    transform: translate3d(50%, 14px, 0) scale(.98);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    padding: 1rem;
    border-radius: var(--vv-radius-md);
    background: var(--vv-surface-strong);
    border: 1px solid var(--vv-line);
    box-shadow: var(--vv-shadow);
    transition: opacity .22s ease, transform .28s cubic-bezier(.16,1,.3,1), visibility .22s ease;
}
.vv-mega-menu::before {
    content: "";
    position: absolute;
    inset: -18px 0 auto;
    height: 18px;
}
.vv-nav-item:hover .vv-mega-menu,
.vv-nav-item:focus-within .vv-mega-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate3d(50%, 0, 0) scale(1);
}
.vv-mega-menu-head {
    padding: .9rem 1rem 1rem;
    border-radius: var(--vv-radius-sm);
    background: linear-gradient(135deg, rgba(201,154,61,.16), transparent);
    margin-bottom: .8rem;
}
.vv-mega-menu-head strong { display: block; font-weight: 900; color: var(--vv-ink); }
.vv-mega-menu-head span { display: block; color: var(--vv-muted); font-size: .86rem; margin-top: .25rem; }
.vv-mega-menu-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .55rem;
}
.vv-mega-menu-grid a {
    display: flex !important;
    align-items: center;
    gap: .65rem;
    border-radius: 16px !important;
    background: rgba(201,154,61,.06);
    opacity: 0;
    transform: translateY(8px);
    transition-delay: calc(var(--motion-index, 0) * 45ms);
}
.vv-nav-item:hover .vv-mega-menu-grid a,
.vv-nav-item:focus-within .vv-mega-menu-grid a {
    opacity: 1;
    transform: translateY(0);
}
.vv-header-actions { display: flex; align-items: center; gap: .55rem; }
.vv-language-dropdown { position: relative; }
.vv-language-trigger {
    height: 42px;
    padding: .2rem .68rem;
    border-radius: 16px;
    border: 1px solid rgba(201,154,61,.28);
    background: rgba(201,154,61,.1);
    color: var(--vv-ink);
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    font-weight: 900;
    text-transform: uppercase;
}
.vv-language-trigger img,
.vv-language-menu img {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 0 2px rgba(255,255,255,.7);
}
.vv-language-menu {
    position: absolute;
    left: 0;
    top: calc(100% + 12px);
    min-width: 210px;
    padding: .55rem;
    border-radius: 20px;
    background: var(--vv-surface-strong);
    border: 1px solid var(--vv-line);
    box-shadow: var(--vv-shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity var(--vv-transition), transform var(--vv-transition), visibility var(--vv-transition);
}
.vv-language-dropdown:hover .vv-language-menu,
.vv-language-dropdown:focus-within .vv-language-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.vv-language-menu button {
    width: 100%;
    border: 0;
    background: transparent;
    color: var(--vv-ink);
    border-radius: 15px;
    padding: .65rem .7rem;
    display: flex;
    align-items: center;
    gap: .55rem;
    text-align: right;
    font-weight: 800;
}
.vv-language-menu button:hover,
.vv-language-menu button.active { background: rgba(201,154,61,.12); }
.vv-language-menu button:disabled { cursor: default; opacity: .68; }
.vv-language-menu small { margin-right: auto; color: var(--vv-muted); font-size: .72rem; }
.vv-hamburger {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--vv-line);
    border-radius: 15px;
    background: var(--vv-surface);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}
.vv-hamburger span {
    width: 20px;
    height: 2px;
    border-radius: 99px;
    background: var(--vv-ink);
    transition: transform var(--vv-transition), opacity var(--vv-transition);
}
.vv-hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.vv-hamburger.active span:nth-child(2) { opacity: 0; }
.vv-hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nightmode { display: inline-flex; align-items: center; justify-content: center; cursor: pointer; padding: 0 2px; }
.dark-mode-toggle {
    position: relative;
    width: 54px;
    height: 28px;
    border-radius: 999px;
    background: rgba(201,154,61,.18);
    border: 1px solid rgba(201,154,61,.22);
    box-shadow: inset 0 2px 8px rgba(0,0,0,.08);
    transition: background var(--vv-transition), box-shadow var(--vv-transition);
}
.dark-mode-toggle-thumb {
    position: absolute;
    top: 3px;
    right: 3px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #fff, #f6e6bf);
    box-shadow: 0 5px 10px rgba(0,0,0,.18);
    color: #b2701b;
    transition: transform .45s cubic-bezier(.34,1.2,.64,1), background var(--vv-transition);
}
.dark-mode-icon {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-size: .8rem;
    line-height: 1;
    transition: opacity var(--vv-transition);
}
.dark-mode-toggle .dark-icon { opacity: 0; }
:root[data-bs-theme="dark"] .dark-mode-toggle { background: rgba(215,173,85,.14); }
:root[data-bs-theme="dark"] .dark-mode-toggle-thumb {
    transform: translateX(-26px);
    background: linear-gradient(135deg, #d7ad55, #6e4b14);
    color: #110f0d;
}
:root[data-bs-theme="dark"] .dark-mode-toggle .light-icon { opacity: 0; }
:root[data-bs-theme="dark"] .dark-mode-toggle .dark-icon { opacity: 1; }

.vv-mobile-panel {
    position: fixed;
    inset: var(--vv-header-h) 0 auto 0;
    z-index: 1040;
    background: var(--vv-surface-strong);
    border-bottom: 1px solid var(--vv-line);
    box-shadow: var(--vv-shadow);
    transform: translateY(-112%);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--vv-transition), opacity var(--vv-transition);
}
.vv-mobile-panel.active { transform: translateY(0); opacity: 1; pointer-events: auto; }
.vv-mobile-nav { width: min(100%, 560px); margin-inline: auto; padding: 1rem 1.25rem 1.4rem; display: grid; gap: .45rem; }
.vv-mobile-nav a {
    display: flex;
    align-items: center;
    gap: .65rem;
    padding: .95rem 1rem;
    border-radius: 16px;
    background: rgba(201,154,61,.08);
    font-weight: 800;
}

.vv-bottom-nav {
    position: fixed;
    right: 8px;
    left: 8px;
    bottom: max(8px, env(safe-area-inset-bottom));
    z-index: 1050;
    height: auto;
    padding: .5rem;
    display: none;
    border: 1px solid rgba(201, 154, 61, 0.28);
    border-radius: 18px;
    /* لایت: شیشهٔ کمی تیره تا از روشن‌بودن زیاد جلوگیری شود */
    background: rgba(34, 30, 24, 0.4);
    background: linear-gradient(
        185deg,
        color-mix(in srgb, #1e1a15 30%, rgba(255, 250, 242, 0.14)) 0%,
        color-mix(in srgb, #1e1a15 42%, rgba(255, 250, 242, 0.08)) 100%
    );
    backdrop-filter: saturate(1.3) blur(26px);
    -webkit-backdrop-filter: saturate(1.3) blur(26px);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.14),
        0 16px 48px rgba(18, 14, 10, 0.26);
}
:root[data-bs-theme="dark"] .vv-bottom-nav {
    background: rgba(14, 13, 12, 0.52);
    background: linear-gradient(
        180deg,
        color-mix(in srgb, var(--vv-surface-strong) 48%, transparent) 0%,
        color-mix(in srgb, var(--vv-charcoal) 55%, transparent) 100%
    );
    border-color: color-mix(in srgb, var(--vv-gold) 26%, transparent);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 16px 44px rgba(0, 0, 0, 0.38);
}
.vv-bottom-nav ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: stretch;
    width: 100%;
    margin: 0;
    padding: 0;
    gap: .45rem;
}
.vv-bottom-nav a {
    min-height: 52px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(42, 36, 28, 0.32);
    background: color-mix(in srgb, #221e18 35%, rgba(255, 252, 245, 0.16));
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: grid;
    place-items: center;
    gap: .2rem;
    color: #f0ebe4;
    font-size: .72rem;
    font-weight: 800;
    -webkit-font-smoothing: antialiased;
}
.vv-bottom-nav a span {
    color: #faf6f0;
    opacity: 0.96;
}
:root[data-bs-theme="dark"] .vv-bottom-nav a {
    background: rgba(28, 25, 22, 0.55);
    background: color-mix(in srgb, var(--vv-surface-strong) 52%, transparent);
    border-color: color-mix(in srgb, var(--vv-line) 80%, transparent);
}
.vv-bottom-nav i {
    width: 24px;
    height: 24px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    font-size: 1rem;
    color: #fce9bc;
    background: rgba(201, 154, 61, 0.26);
}
.vv-bottom-nav a.active {
    color: #fffdf8;
    border-color: rgba(201, 154, 61, 0.62);
    background: rgba(201, 154, 61, 0.32);
    background: color-mix(in srgb, var(--vv-gold) 38%, rgba(255, 252, 245, 0.28));
}
.vv-bottom-nav a.active span {
    color: #fffdf8;
    opacity: 1;
}
.vv-bottom-nav a.active i {
    color: #1a150c;
    background: rgba(255, 252, 245, 0.88);
}
:root[data-bs-theme="dark"] .vv-bottom-nav a {
    color: var(--vv-muted);
}
:root[data-bs-theme="dark"] .vv-bottom-nav a span {
    color: var(--vv-ink);
    opacity: 1;
}
:root[data-bs-theme="dark"] .vv-bottom-nav i {
    color: var(--vv-gold-deep);
    background: rgba(201, 154, 61, 0.16);
}
:root[data-bs-theme="dark"] .vv-bottom-nav a.active {
    color: var(--vv-ink);
}
:root[data-bs-theme="dark"] .vv-bottom-nav a.active span {
    color: var(--vv-ink);
}
:root[data-bs-theme="dark"] .vv-bottom-nav a.active i {
    color: #110f0d;
    background: linear-gradient(135deg, var(--vv-gold), #f3d78f);
}

.hero {
    position: relative;
    overflow: hidden;
    min-height: calc(100vh - var(--vv-header-h));
    display: grid;
    align-items: center;
    padding: clamp(44px, 7vw, 88px) 0;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 8% auto auto -8%;
    width: 42vw;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201,154,61,.22), transparent 65%);
    pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: minmax(0, .98fr) minmax(380px, 1.02fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    color: var(--vv-gold-deep);
    background: rgba(201,154,61,.12);
    border: 1px solid rgba(201,154,61,.18);
    border-radius: 999px;
    padding: .45rem .85rem;
    font-weight: 900;
}
.hero-title { font-size: clamp(1.85rem, 4vw, 3.25rem); font-weight: 950; letter-spacing: -.06em; line-height: 1.28; margin: 1.1rem 0; }
.hero-text { color: var(--vv-muted); font-size: clamp(1rem, 2vw, 1.18rem); line-height: 2.25; max-width: 640px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem; margin-top: 1.8rem; }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; margin-top: 2rem; max-width: 650px; }
.stat-card { padding: 1rem; border-radius: var(--vv-radius-sm); background: var(--vv-surface); border: 1px solid var(--vv-line); }
.stat-card strong { display: block; font-size: 1.55rem; color: var(--vv-gold-deep); }
.stat-card span { color: var(--vv-muted); font-size: .85rem; }
.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    margin-top: 1.2rem;
}
.hero-trust span {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .55rem .75rem;
    border-radius: 14px;
    background: rgba(201,154,61,.1);
    border: 1px solid rgba(201,154,61,.16);
    color: var(--vv-muted);
    font-weight: 800;
    font-size: .86rem;
}
.hero-visual {
    position: relative;
    min-height: 530px;
    border-radius: var(--vv-radius-lg);
    background:
        linear-gradient(145deg, rgba(201,154,61,.18), transparent 55%),
        linear-gradient(160deg, var(--vv-surface-strong), var(--vv-ivory));
    border: 1px solid var(--vv-line);
    box-shadow: var(--vv-shadow);
    overflow: hidden;
}
.hero-orb {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--vv-gold), #f5d990);
    box-shadow: 0 30px 70px rgba(201,154,61,.28);
}
.hero-orb.one { width: 190px; height: 190px; top: 60px; left: 52px; }
.hero-orb.two { width: 98px; height: 98px; right: 46px; bottom: 92px; opacity: .7; }
.hero-device {
    position: absolute;
    inset: 95px 46px 46px 76px;
    border-radius: 24px;
    background: rgba(23,21,20,.92);
    color: #f8f1e4;
    padding: 1.2rem;
    box-shadow: 0 28px 55px rgba(0,0,0,.24);
}
.hero-device-bar { height: 12px; width: 44%; border-radius: 99px; background: rgba(255,255,255,.16); margin-bottom: 1rem; }
.device-card { border: 1px solid rgba(255,255,255,.1); border-radius: 18px; padding: 1rem; background: rgba(255,255,255,.06); margin-bottom: .8rem; }
.hero-floating-card {
    position: absolute;
    right: 24px;
    bottom: 28px;
    width: min(230px, 44%);
    padding: 1rem;
    border-radius: 18px;
    border: 1px solid rgba(201,154,61,.28);
    background: var(--vv-surface);
    box-shadow: var(--vv-shadow-soft);
    backdrop-filter: blur(16px);
}
.hero-floating-card strong { display: block; color: var(--vv-ink); font-weight: 900; }
.hero-floating-card span { color: var(--vv-muted); font-size: .84rem; }
.device-chart { height: 120px; display: flex; align-items: end; gap: .55rem; }
.device-chart span { flex: 1; min-height: 24px; border-radius: 999px 999px 6px 6px; background: linear-gradient(180deg, #e5bd66, #76501a); }

/* هیروی ویدیویی تمام‌عرض — صفحهٔ اصلی (یک نمای اول کامل؛ ویدیو زیر هدر ثابت) */
.hero--video {
    position: relative;
    isolation: isolate;
    min-height: 100vh;
    min-height: 100svh;
    min-height: 100dvh;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    width: 100%;
}
.hero--video::before {
    display: none;
}
.hero--video .hero-video-bg {
    grid-column: 1 / -1;
    grid-row: 1 / -1;
    position: relative;
    z-index: 0;
    overflow: hidden;
    background: #12100e;
    min-height: 100%;
}
.hero--video .hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    pointer-events: none;
}
.hero-video-scrim {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(8, 7, 6, 0.62) 0%, rgba(8, 7, 6, 0.22) 42%, rgba(8, 7, 6, 0.82) 100%),
        linear-gradient(90deg, rgba(8, 7, 6, 0.45) 0%, transparent 42%, transparent 58%, rgba(8, 7, 6, 0.38) 100%);
}
.hero--video .hero-video-stage {
    grid-column: 1 / -1;
    grid-row: 1 / -1;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    min-height: 100%;
    padding-top: max(calc(var(--vv-header-h) + 1.15rem), clamp(4.25rem, 10vh, 6.25rem));
    padding-bottom: clamp(2.75rem, 7vh, 4.75rem);
}
.hero-video-copy {
    max-width: 38rem;
}
.hero-kicker--video {
    color: #f8efd9;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
}
.hero-title--video {
    color: #fdf9f2;
    text-shadow: 0 2px 28px rgba(0, 0, 0, 0.45);
    margin-top: 0.85rem;
    margin-bottom: 0.65rem;
    font-size: clamp(2.35rem, 5.5vw, 3.65rem);
    letter-spacing: -0.05em;
}
.hero-lead--video {
    color: rgba(253, 249, 242, 0.88);
    font-size: clamp(1.02rem, 2.1vw, 1.22rem);
    line-height: 1.85;
    max-width: 28rem;
    margin-bottom: 0;
    text-shadow: 0 1px 18px rgba(0, 0, 0, 0.35);
}
.hero-actions--video {
    margin-top: clamp(1.35rem, 3.5vh, 2rem);
    gap: 0.75rem;
}
.hero--video .hero-btn-ghost {
    color: #fdf9f2;
    border-color: rgba(255, 255, 255, 0.42);
    background: rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.hero--video .hero-btn-ghost:hover {
    color: #171514;
    background: rgba(253, 249, 242, 0.92);
    border-color: rgba(253, 249, 242, 0.95);
}
:root[data-bs-theme="dark"] .hero-video-scrim {
    background:
        linear-gradient(180deg, rgba(4, 4, 4, 0.75) 0%, rgba(4, 4, 4, 0.35) 45%, rgba(4, 4, 4, 0.88) 100%),
        linear-gradient(90deg, rgba(4, 4, 4, 0.55) 0%, transparent 40%, transparent 60%, rgba(4, 4, 4, 0.48) 100%);
}

.feature-grid,
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.vv-card {
    position: relative;
    overflow: hidden;
    min-height: 100%;
    padding: 1.25rem;
    background: var(--vv-surface);
    border: 1px solid var(--vv-line);
    border-radius: var(--vv-radius-md);
    box-shadow: var(--vv-shadow-soft);
    transition: transform var(--vv-transition), box-shadow var(--vv-transition), border-color var(--vv-transition);
}
.vv-card:hover { transform: translateY(-6px); box-shadow: var(--vv-shadow); border-color: rgba(201,154,61,.45); }
.vv-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    background: rgba(201,154,61,.14);
    color: var(--vv-gold-deep);
    font-size: 1.55rem;
    margin-bottom: 1rem;
}
.vv-card h3,
.vv-card h4 { font-weight: 900; letter-spacing: -.03em; }
.vv-card p { color: var(--vv-muted); line-height: 2; margin-bottom: 0; }
.product-card .product-media,
.article-card .article-media {
    min-height: 190px;
    border-radius: 22px;
    display: grid;
    place-items: center;
    margin-bottom: 1rem;
    background:
        radial-gradient(circle at 30% 25%, rgba(255,255,255,.72), transparent 35%),
        linear-gradient(135deg, rgba(201,154,61,.22), rgba(23,21,20,.08));
}
.product-card .btn-vv {
    border-radius: 14px;
    padding: .62rem .9rem;
    font-size: .9rem;
    box-shadow: 0 12px 22px rgba(201,154,61,.2);
}
.product-card .product-media i,
.article-card .article-media i { font-size: 4rem; color: var(--vv-gold-deep); opacity: .9; }
.product-card-media-link {
    display: block;
    color: inherit;
    text-decoration: none;
    border-radius: 22px;
    outline-offset: 2px;
}
.product-card-media-link:focus-visible {
    outline: 2px solid var(--vv-gold-deep);
}
.product-card-title-link {
    color: inherit;
    text-decoration: none;
    transition: color var(--vv-transition);
}
.product-card-title-link:hover {
    color: var(--vv-gold-deep);
}
.meta-row { display: flex; flex-wrap: wrap; gap: .65rem; color: var(--vv-muted); font-size: .86rem; }
.product-card-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    align-items: center;
}
.badge-vv {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    border-radius: 999px;
    padding: .35rem .7rem;
    background: rgba(201,154,61,.12);
    color: var(--vv-gold-deep);
    font-weight: 900;
    font-size: .78rem;
}
.split-section { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
.timeline-list { display: grid; gap: .8rem; }
.timeline-item { display: grid; grid-template-columns: 42px 1fr; gap: .85rem; align-items: start; }
.timeline-num {
    width: 42px;
    height: 42px;
    border-radius: 15px;
    display: grid;
    place-items: center;
    background: var(--vv-gold);
    color: #171514;
    font-weight: 900;
}

.page-hero { padding: clamp(46px, 7vw, 86px) 0 34px; }
.breadcrumb-vv { color: var(--vv-muted); display: flex; flex-wrap: wrap; gap: .45rem; font-size: .9rem; }
.filter-bar { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.5rem 0; }
.filter-btn {
    border: 1px solid var(--vv-line);
    color: var(--vv-ink);
    background: var(--vv-surface);
    border-radius: 999px;
    padding: .65rem 1rem;
    font-weight: 800;
}
.filter-btn.active,
.filter-btn:hover { background: var(--vv-gold); color: #171514; border-color: var(--vv-gold); }
.form-control,
.form-select {
    color: var(--vv-ink);
    background: var(--vv-surface);
    border: 1px solid var(--vv-line);
    border-radius: 16px;
}
.form-control:focus,
.form-select:focus {
    color: var(--vv-ink);
    background: var(--vv-surface-strong);
    border-color: var(--vv-gold);
    box-shadow: 0 0 0 .22rem rgba(201,154,61,.16);
}
.accordion-item { overflow: hidden; border: 1px solid var(--vv-line) !important; }
.accordion-button {
    color: var(--vv-ink);
    background: transparent;
    font-weight: 900;
    box-shadow: none !important;
}
.accordion-button:not(.collapsed) {
    color: var(--vv-gold-deep);
    background: rgba(201,154,61,.1);
}
.accordion-body { background: transparent; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 1.4rem; align-items: start; }
.article-body { padding: clamp(1.2rem, 3vw, 2.2rem); line-height: 2.25; }
.article-body h2 { font-weight: 900; margin: 2rem 0 1rem; letter-spacing: -.03em; }
.article-body p { color: var(--vv-muted); }
.article-toc { position: sticky; top: calc(var(--vv-header-h) + 18px); padding: 1rem; }
.article-toc a { display: block; padding: .55rem .7rem; color: var(--vv-muted); border-radius: 12px; }
.article-toc a:hover { background: rgba(201,154,61,.12); color: var(--vv-gold-deep); }
.panel-shell { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 1rem; }
.panel-sidebar { padding: 1rem; }
.panel-sidebar a { display: flex; align-items: center; gap: .55rem; padding: .75rem; border-radius: 14px; color: var(--vv-muted); font-weight: 800; }
.panel-sidebar a.active,
.panel-sidebar a:hover { background: rgba(201,154,61,.13); color: var(--vv-gold-deep); }
.chart-bars { height: 210px; display: flex; align-items: end; gap: .7rem; padding-top: 1rem; }
.chart-bars span { flex: 1; border-radius: 999px 999px 8px 8px; background: linear-gradient(180deg, #e5bd66, #80591e); min-height: 42px; }
.tree-preview { display: flex; justify-content: center; padding: 1.5rem; overflow: auto; }
.tree-node { min-width: 112px; padding: .85rem; text-align: center; border: 1px solid var(--vv-line); border-radius: 18px; background: var(--vv-surface); }
.tree-level { display: flex; gap: .8rem; justify-content: center; margin-top: 1.1rem; }
.product-detail-hero {
    display: grid;
    grid-template-columns: minmax(320px,.85fr) minmax(0,1.15fr);
    gap: clamp(24px,5vw,62px);
    align-items: center;
}
.product-detail-media {
    min-height: 460px;
    display: grid;
    place-items: center;
    position: relative;
    overflow: hidden;
}
.product-detail-media::before {
    content: "";
    position: absolute;
    inset: 12%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201,154,61,.25), transparent 66%);
}
.product-detail-media > i {
    position: relative;
    font-size: clamp(6rem, 14vw, 12rem);
    color: var(--vv-gold-deep);
    filter: drop-shadow(0 28px 45px rgba(201,154,61,.22));
}
.product-detail-media .badge-vv {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    z-index: 1;
}
.product-detail-grid {
    display: grid;
    grid-template-columns: minmax(0,1fr) 320px;
    gap: 1.2rem;
    align-items: start;
}
.product-detail-body { overflow-x: clip; }
.product-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 320px);
    gap: 1.2rem;
    align-items: start;
}
.product-detail-main {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
}
.product-detail-aside {
    grid-column: 2;
    grid-row: 1;
    align-self: start;
    position: sticky;
    top: calc(var(--vv-header-h) + 16px);
    z-index: 6;
}
.product-buy-box {
    position: static;
    max-height: calc(100vh - var(--vv-header-h) - 32px);
    overflow-y: auto;
}
.product-buy-compact-wrap { display: none; }
.product-buy-compact-total { color: var(--vv-gold-deep); font-size: 1rem; white-space: nowrap; }
.product-price-lines--compact li { padding: .35rem 0; font-size: .85rem; }
.btn-icon {
    width: 44px;
    height: 44px;
    padding: 0;
    display: inline-grid;
    place-items: center;
    border-radius: 12px;
    flex-shrink: 0;
}
.product-mobile-buy-actions { display: flex; align-items: center; gap: .5rem; flex-shrink: 0; }
.product-mobile-buy-price { min-width: 0; }
.product-mobile-buy-price strong { display: block; font-size: 1.02rem; color: var(--vv-gold-deep); white-space: nowrap; }
.product-mobile-fav.is-fav { color: #c45c5c; border-color: rgba(196,92,92,.35); }
.product-mobile-buy .btn-vv {
    border-radius: 12px;
    padding: .65rem 1rem;
    font-weight: 800;
    white-space: nowrap;
}
.product-mobile-buy .btn-vv-outline.btn-icon {
    border-radius: 12px;
    background: var(--vv-surface-strong);
}
.product-gallery {
    position: relative;
    padding: 1rem;
    min-height: 420px;
    display: flex;
    flex-direction: column;
    gap: .85rem;
}
.product-gallery-badges {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    justify-content: flex-end;
    max-width: min(100%, 18rem);
}
.product-gallery-badges .badge-vv { position: static; }
.product-gallery-main {
    flex: 1;
    min-height: 300px;
    border-radius: var(--vv-radius-md);
    overflow: hidden;
    border: 1px solid var(--vv-line);
}
.product-gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .65rem;
}
.product-gallery-thumb {
    border: 2px solid transparent;
    border-radius: var(--vv-radius-sm);
    padding: 0;
    background: none;
    overflow: hidden;
    cursor: pointer;
    transition: border-color var(--vv-transition), transform var(--vv-transition);
}
.product-gallery-thumb.is-active { border-color: var(--vv-gold); }
.product-gallery-thumb:hover { transform: translateY(-2px); }
.product-gallery-visual {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    background-size: cover;
    background-position: center;
}
.product-gallery-visual.is-large { width: 100%; height: 100%; min-height: 300px; aspect-ratio: auto; }
.product-gallery-thumb .product-gallery-visual { aspect-ratio: 1; min-height: 72px; }
.product-gallery-visual--honey-front { background-image: radial-gradient(circle at 30% 25%, #fff6dc, #e8c56a 42%, #9a6a1f 100%); }
.product-gallery-visual--honey-texture { background-image: radial-gradient(circle at 70% 30%, #fff9e8, #d4a84b 38%, #7a4f12 95%); }
.product-gallery-visual--honey-pack { background-image: linear-gradient(145deg, #f8f0e4 0%, #d9c4a0 45%, #8b6a3f 100%); }
.product-gallery-visual--pack-front { background-image: linear-gradient(160deg, #f5efe6, #c99a3d 55%, #5c4528); }
.product-gallery-visual--pack-open { background-image: linear-gradient(120deg, #efe8dc, #b8d4c4 40%, #6b8f7a); }
.product-gallery-visual--pack-label { background-image: linear-gradient(180deg, #faf7ef, #e9ddc8 60%, #a8895a); }
.product-gallery-visual--tea-box { background-image: linear-gradient(135deg, #e8f2e8, #6b9b6b 50%, #2f4f2f); }
.product-gallery-visual--tea-bag { background-image: linear-gradient(145deg, #f0ebe3, #c4a882 48%, #5a4630); }
.product-gallery-visual--tea-cup { background-image: radial-gradient(circle at 50% 20%, #fff8ee, #d4a574 45%, #6b4423 100%); }
.product-detail-intro { min-width: 0; }
.product-hero-rating {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem .75rem;
    margin-bottom: 1rem;
}
.product-hero-rating-meta { color: var(--vv-muted); font-size: .92rem; }
.product-spec-chips { display: flex; flex-wrap: wrap; gap: .55rem; }
.product-spec-chip {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .45rem .85rem;
    border-radius: 999px;
    border: 1px solid var(--vv-line);
    background: var(--vv-surface);
    font-size: .88rem;
    color: var(--vv-muted);
}
.product-spec-chip i { color: var(--vv-gold-deep); }
.product-detail-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: .35rem;
    gap: .35rem;
    scrollbar-width: thin;
}
.product-detail-tabs .nav-link {
    white-space: nowrap;
    border-radius: 999px;
    color: var(--vv-muted);
    border: 1px solid var(--vv-line);
    background: var(--vv-surface);
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .5rem .95rem;
    font-size: .88rem;
}
.product-detail-tabs .nav-link.active {
    background: linear-gradient(135deg, var(--vv-gold), var(--vv-gold-deep));
    border-color: transparent;
    color: #fff;
}
.product-info-card-head {
    display: flex;
    align-items: center;
    gap: .65rem;
}
.product-info-card-head i {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: rgba(201,154,61,.14);
    color: var(--vv-gold-deep);
    font-size: 1.2rem;
}
.product-spec-table {
    display: grid;
    gap: .65rem;
}
.product-spec-table > div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: .7rem .85rem;
    border-radius: var(--vv-radius-sm);
    background: var(--vv-ivory);
    border: 1px solid var(--vv-line);
}
.product-spec-table span { color: var(--vv-muted); }
.product-price-lines {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
}
.product-price-lines li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: .55rem 0;
    border-bottom: 1px dashed var(--vv-line);
    font-size: .92rem;
}
.product-price-lines li:last-child { border-bottom: 0; }
.product-price-total {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: .85rem 1rem;
    margin-bottom: 1rem;
    border-radius: var(--vv-radius-sm);
    background: rgba(201,154,61,.12);
    border: 1px solid rgba(201,154,61,.28);
}
.product-price-total strong { font-size: 1.15rem; color: var(--vv-gold-deep); }
.product-star {
    border: 0;
    background: none;
    padding: 0 .08rem;
    color: var(--vv-line);
    font-size: 1.15rem;
    line-height: 1;
}
.product-star.is-on { color: var(--vv-gold); }
.product-rating-input { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; }
.product-rating-hint { color: var(--vv-muted); font-size: .88rem; }
.product-reviews-list { display: grid; gap: 1rem; }
.product-review-item {
    padding: 1rem 1.1rem;
    border-radius: var(--vv-radius-sm);
    border: 1px solid var(--vv-line);
    background: var(--vv-ivory);
}
.product-review-head {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: .5rem;
}
.product-review-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--vv-gold-soft), var(--vv-gold));
    color: var(--vv-charcoal);
    font-weight: 700;
}
.product-review-badge {
    display: inline-block;
    margin-right: .45rem;
    padding: .1rem .45rem;
    border-radius: 6px;
    font-size: .72rem;
    background: rgba(201,154,61,.18);
    color: var(--vv-gold-deep);
}
.product-review-date {
    display: block;
    font-size: .8rem;
    color: var(--vv-muted);
    margin-top: .15rem;
}
.product-review-stars { color: var(--vv-gold); margin-bottom: .35rem; }
.product-review-form {
    padding-top: 1.25rem;
    border-top: 1px solid var(--vv-line);
}
.product-review-form .form-control,
.product-review-form .form-select {
    border-radius: var(--vv-radius-sm);
    border-color: var(--vv-line);
}
[data-product-favorite].is-fav,
.product-fav-side.is-fav { color: #c45c5c; border-color: rgba(196,92,92,.35); }
.product-mobile-buy {
    display: none;
    position: fixed;
    right: 8px;
    left: 8px;
    bottom: calc(84px + env(safe-area-inset-bottom, 0px));
    z-index: 1045;
    padding: .55rem .65rem;
    border: 1px solid var(--vv-line);
    border-radius: 16px;
    background: color-mix(in srgb, var(--vv-surface-strong) 90%, transparent);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--vv-shadow-soft);
}
.product-mobile-buy-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    width: 100%;
    min-height: 52px;
}
.product-detail-tab-panels,
.product-info-card,
.product-reviews-section,
.product-rating-card { max-width: 100%; }
.product-detail-tabs .nav-item { flex-shrink: 0; }
.product-detail-tab-panels .accordion-button { word-break: break-word; white-space: normal; text-align: right; }

/* موبایل: همهٔ بلوک‌های تب پشت‌سرهم باز + نوار تب sticky و اسکرول به بخش با کلیک */
@media (max-width: 767.98px) {
    .product-detail-tabs {
        position: sticky;
        top: calc(0.35rem + env(safe-area-inset-top, 0px));
        z-index: 1020;
        margin: 0 -0.35rem 0.75rem;
        padding: 0.45rem 0.35rem 0.55rem;
        background: color-mix(in srgb, var(--vv-cream) 92%, transparent);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-bottom: 1px solid color-mix(in srgb, var(--vv-line) 70%, transparent);
        border-radius: 0 0 var(--vv-radius-sm) var(--vv-radius-sm);
    }
    :root[data-bs-theme="dark"] .product-detail-tabs {
        background: color-mix(in srgb, var(--vv-cream) 88%, transparent);
    }
    .product-detail-tab-panels > .tab-pane {
        display: block !important;
        opacity: 1 !important;
        transform: none !important;
        scroll-margin-top: 88px;
    }
    .product-detail-tab-panels > .tab-pane + .tab-pane {
        margin-top: 1rem;
    }
}
.certificate-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 1rem;
}
.certificate-scroller {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(280px, 340px);
    gap: 1rem;
    overflow-x: auto;
    overflow-y: hidden;
    padding: .35rem .2rem 1rem;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: rgba(201,154,61,.55) transparent;
}
.certificate-scroller .certificate-card { scroll-snap-align: start; }
.certificate-card {
    min-height: 320px;
    padding: 1.4rem;
    border-radius: var(--vv-radius-md);
    background:
        linear-gradient(145deg, rgba(201,154,61,.12), transparent 60%),
        var(--vv-surface);
    border: 1px solid var(--vv-line);
    box-shadow: var(--vv-shadow-soft);
    display: flex;
    flex-direction: column;
    justify-content: end;
    position: relative;
    overflow: hidden;
}
.certificate-card::after {
    content: "";
    position: absolute;
    inset: auto -25% -40% auto;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201,154,61,.18), transparent 70%);
}
.certificate-card > i {
    font-size: 4rem;
    color: var(--vv-gold-deep);
    margin-bottom: auto;
}
.certificate-card p { color: var(--vv-muted); line-height: 2; }
.certificate-status {
    align-self: flex-start;
    border-radius: 999px;
    padding: .28rem .7rem;
    background: rgba(201,154,61,.13);
    color: var(--vv-gold-deep);
    font-size: .78rem;
    font-weight: 900;
    margin-bottom: .75rem;
}
.certificate-code {
    border-top: 1px solid var(--vv-line);
    padding-top: .85rem;
    margin-top: auto;
    margin-bottom: .85rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    color: var(--vv-muted);
    font-size: .82rem;
}
.certificate-code strong { color: var(--vv-ink); font-size: .9rem; }

.vv-footer { margin-top: auto; padding: 56px 0 28px; background: radial-gradient(circle at top right, rgba(201,154,61,.18), transparent 36%), var(--vv-charcoal); color: #f4ead5; }
.vv-footer a:hover { color: #f3d78f; }
.vv-footer-cta {
    border: 1px solid rgba(244,234,213,.14);
    border-radius: var(--vv-radius-lg);
    padding: 1.25rem;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, rgba(255,255,255,.08), rgba(201,154,61,.1));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.vv-footer-cta h2 { color: #fff2d6; font-size: clamp(1.2rem, 2vw, 1.8rem); margin: .35rem 0 0; font-weight: 900; }
.vv-footer-grid { display: grid; grid-template-columns: minmax(220px,1.35fr) repeat(4, minmax(130px, 1fr)); gap: 1.4rem; }
.vv-footer h5 { color: #fff2d6; font-weight: 900; margin-bottom: 1rem; }
.vv-footer p,
.vv-footer li { color: rgba(244,234,213,.72); line-height: 2; }
.vv-footer h5 { font-size: .95rem; }
.vv-footer p,
.vv-footer li,
.vv-footer a { font-size: .88rem; }
.vv-footer ul { list-style: none; padding: 0; margin: 0; }
.vv-socials { display: flex; align-items: center; gap: .55rem; margin-top: 1rem; }
.vv-socials a {
    width: 38px;
    height: 38px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    color: #1b1305;
    background: linear-gradient(135deg, var(--vv-gold), #f3d78f);
}
.vv-footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 2rem; padding-top: 1rem; color: rgba(244,234,213,.6); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .82rem; }
.support-widget {
    position: fixed;
    right: 18px;
    left: auto;
    bottom: 88px;
    z-index: 1030;
    display: grid;
    place-items: center;
}
.support-toggle {
    width: 56px;
    height: 56px;
    border: 0;
    border-radius: 18px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--vv-gold), #f3d78f);
    color: #171514;
    box-shadow: 0 18px 40px rgba(201,154,61,.34);
    font-size: 1.5rem;
    transition: transform var(--vv-transition), box-shadow var(--vv-transition);
}
.support-widget.active .support-toggle {
    transform: rotate(-8deg) scale(1.04);
    box-shadow: 0 22px 52px rgba(201,154,61,.42);
}
.support-menu {
    position: absolute;
    right: calc(100% + .75rem);
    bottom: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(160px, 1fr));
    gap: .55rem;
    padding: .75rem;
    border-radius: 20px;
    background:
        linear-gradient(135deg, rgba(255,255,255,.9), rgba(250,247,239,.74)),
        var(--vv-surface-strong);
    border: 1px solid var(--vv-line);
    box-shadow: var(--vv-shadow);
    backdrop-filter: blur(18px);
    transform: translateX(18px) scale(.96);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity var(--vv-transition), transform var(--vv-transition), visibility var(--vv-transition);
}
.support-widget.active .support-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0) scale(1);
}
.support-menu a {
    min-width: 0;
    min-height: 52px;
    border-radius: 14px;
    padding: .55rem .75rem;
    display: flex;
    align-items: center;
    gap: .6rem;
    background: var(--vv-surface-strong);
    color: var(--vv-ink);
    border: 1px solid var(--vv-line);
    box-shadow: none;
    font-weight: 900;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(14px);
    transition: transform var(--vv-transition), opacity var(--vv-transition), color var(--vv-transition), border-color var(--vv-transition);
}
.support-widget.active .support-menu a { opacity: 1; transform: translateX(0); }
.support-widget.active .support-menu a:nth-child(1) { transition-delay: 45ms; }
.support-widget.active .support-menu a:nth-child(2) { transition-delay: 90ms; }
.support-widget.active .support-menu a:nth-child(3) { transition-delay: 135ms; }
.support-widget.active .support-menu a:nth-child(4) { transition-delay: 180ms; }
.support-menu a:hover { color: var(--vv-gold-deep); border-color: rgba(201,154,61,.46); }
.support-menu i {
    width: 30px;
    height: 30px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    background: rgba(201,154,61,.13);
    color: var(--vv-gold-deep);
}

.vv-toast-container {
    position: fixed;
    top: calc(var(--vv-header-h) + 14px);
    left: 50%;
    transform: translateX(-50%);
    z-index: 2000;
    display: grid;
    gap: .65rem;
    width: min(430px, calc(100% - 28px));
    pointer-events: none;
}
.vv-toast {
    position: relative;
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: .75rem;
    align-items: center;
    padding: .85rem 1rem 1rem;
    border-radius: 18px;
    border: 1px solid var(--vv-line);
    background: var(--vv-surface-strong);
    box-shadow: var(--vv-shadow);
    opacity: 0;
    transform: translateY(-18px) scale(.98);
    filter: blur(8px);
    overflow: hidden;
    transition: opacity .32s ease, transform .42s cubic-bezier(.16,1,.3,1), filter .32s ease;
}
.vv-toast.active { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
.vv-toast.leaving { opacity: 0; transform: translateY(-18px) scale(.98); filter: blur(8px); }
.vv-toast > span {
    width: 38px;
    height: 38px;
    border-radius: 13px;
    display: grid;
    place-items: center;
    background: rgba(201,154,61,.14);
    color: var(--vv-gold-deep);
}
.vv-toast p { margin: 0; color: var(--vv-ink); line-height: 1.9; font-weight: 800; }
.vv-toast b {
    position: absolute;
    right: 0;
    bottom: 0;
    height: 3px;
    width: 100%;
    background: linear-gradient(90deg, transparent, var(--vv-gold));
    transform-origin: right;
    animation: toastTimer 5s linear forwards;
}
@keyframes toastTimer { to { transform: scaleX(0); } }

.animate-element,
.animate-element-fade {
    --motion-distance: 34px;
    --motion-blur: 10px;
    --motion-index: 0;
    opacity: 0;
    will-change: opacity, transform, filter;
    filter: blur(var(--motion-blur));
    transition:
        opacity .72s cubic-bezier(.22,.61,.36,1),
        transform .78s cubic-bezier(.16,1,.3,1),
        filter .72s cubic-bezier(.22,.61,.36,1);
}
.animate-element.animate-in,
.animate-element-fade.animate-fade-in {
    opacity: 1;
    transform: translate3d(0,0,0) scale(1);
    filter: blur(0);
    transition-delay: calc(var(--motion-index, 0) * 70ms);
}
.animate-element.is-leaving,
.animate-element-fade.is-leaving {
    transition-delay: 0ms;
    transition-duration: .42s;
}
.animate-from-bottom { transform: translate3d(0,var(--motion-distance),0) scale(.985); }
.animate-from-top { transform: translate3d(0,calc(var(--motion-distance) * -1),0) scale(.985); }
.animate-from-right { transform: translate3d(var(--motion-distance),0,0) scale(.985); }
.animate-from-left { transform: translate3d(calc(var(--motion-distance) * -1),0,0) scale(.985); }
.animate-fade-in,
.animate-element-fade { transform: translate3d(0,18px,0) scale(.992); }
.animate-delay-0-2s { transition-delay: .2s; }
.animate-delay-0-4s { transition-delay: .4s; }
.animate-delay-0-6s { transition-delay: .6s; }

@media (max-width: 1100px) {
    .vv-nav { display: none; }
    .vv-hamburger { display: inline-flex; }
    .hero-grid,
    .split-section,
    .article-layout,
    .panel-shell,
    .product-detail-hero,
    .product-detail-grid,
    .product-detail-layout { grid-template-columns: 1fr; }
    .product-detail-main,
    .product-detail-aside { grid-column: 1; }
    .product-detail-aside { display: none; }
    .product-buy-compact-wrap { display: block; }
    .hero-visual { min-height: 430px; }
    .article-toc { position: static; }
}

@media (max-width: 767.98px) {
    :root {
        --vv-header-h: 68px;
        /* فاصلهٔ رزروشده برای منوی پایین ثابت (هم‌خوان با padding-bottom بدنه) */
        --vv-bottom-nav-clearance: calc(86px + env(safe-area-inset-bottom, 0px));
    }
    body { padding-bottom: 86px; }
    .vv-main { padding-top: var(--vv-header-h); }
    body[data-page="home"] .vv-main {
        padding-top: 0;
    }
    .vv-header-actions .btn-vv { display: none; }
    .vv-brand-mark { width: 42px; height: 42px; border-radius: 14px; }
    .vv-brand-title { font-size: .98rem; }
    .vv-brand-subtitle { display: none; }
    .dark-mode-toggle { width: 50px; height: 26px; }
    .dark-mode-toggle-thumb { width: 22px; height: 22px; top: 2px; right: 2px; }
    :root[data-bs-theme="dark"] .dark-mode-toggle-thumb { transform: translateX(-24px); }
    .vv-bottom-nav { display: flex; }
    .vv-language-trigger span { display: none; }
    .vv-language-menu { left: -72px; }
    .animate-from-right,
    .animate-from-left { transform: translate3d(0,var(--motion-distance),0) scale(.985); }
    .hero:not(.hero--video) { min-height: auto; padding: 38px 0 58px; }
    .hero--video {
        min-height: 100vh;
        min-height: 100svh;
        min-height: 100dvh;
    }
    .hero--video .hero-video-stage {
        flex-direction: column;
        justify-content: flex-end;
        align-items: stretch;
        padding-top: max(calc(var(--vv-header-h) + 0.85rem), clamp(3.25rem, 9vh, 4.5rem));
        /* منوی پایین + حاشیه امن؛ محتوا بالاتر از دکمه‌های ناوبری می‌ماند */
        padding-bottom: calc(var(--vv-bottom-nav-clearance) + 1.1rem);
        box-sizing: border-box;
    }
    .hero--video .hero-video-copy {
        max-width: none;
        width: 100%;
        transform: translateY(-0.55rem);
    }
    .hero--video .hero-actions--video {
        margin-top: clamp(1rem, 2.8vh, 1.35rem);
    }
    .hero-grid { gap: 28px; }
    .hero-title { font-size: clamp(1.65rem, 9vw, 2.75rem); }
    .hero-actions .btn,
    .hero-actions a { width: 100%; }
    .hero-stats,
    .feature-grid,
    .card-grid,
    .certificate-grid,
    .vv-footer-grid { grid-template-columns: 1fr; }
    .certificate-scroller { grid-auto-columns: minmax(255px, 86vw); }
    .vv-footer-cta { flex-direction: column; align-items: stretch; }
    .vv-footer-cta .btn { width: 100%; }
    .product-detail-media { min-height: 320px; }
    .product-mobile-buy { display: block; }
    .product-gallery { min-height: 280px; padding: .75rem; }
    .product-gallery-main { min-height: 220px; }
    .product-gallery-visual.is-large { min-height: 220px; }
    .product-detail-hero { gap: 1.25rem; }
    .product-detail-intro .section-title.display-5 { font-size: clamp(1.35rem, 6vw, 2rem); }
    .product-detail-intro .section-lead { font-size: .95rem; }
    .product-info-card { padding: 1rem !important; }
    .product-rating-card,
    .product-reviews-section { padding: 1rem !important; }
    .product-spec-table > div {
        flex-direction: column;
        align-items: flex-start;
        gap: .25rem;
    }
    .product-spec-table strong { text-align: right; word-break: break-word; }
    .product-price-lines li { flex-wrap: wrap; gap: .35rem; }
    .product-price-lines li strong { margin-right: auto; }
    .product-review-item { padding: .85rem; }
    .product-review-form .row { --bs-gutter-x: .75rem; }
    body[data-page="products"] .product-detail-body { padding-bottom: .5rem; }
    body[data-page="products"] .vv-footer { padding-bottom: calc(168px + env(safe-area-inset-bottom, 0px)); }
    body[data-page="products"] .support-widget { bottom: calc(152px + env(safe-area-inset-bottom, 0px)); }
    .hero-visual { min-height: 360px; border-radius: var(--vv-radius-lg); }
    .hero-device { inset: 76px 22px 26px 34px; border-radius: 20px; }
    .hero-floating-card { position: static; width: auto; margin: 1rem 22px 0; }
    .hero-orb.one { width: 140px; height: 140px; top: 44px; left: 26px; }
    .section-pad { padding: 52px 0; }
    .vv-footer { padding-bottom: 96px; }
    .support-widget {
        bottom: 82px;
        right: 14px;
        left: auto;
        transition:
            transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
            opacity 0.32s ease,
            visibility 0.32s;
        transform: translateY(calc(100% + 100px));
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }
    .support-widget.support-widget--revealed {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
    .support-menu {
        right: calc(100% + .55rem);
        grid-template-columns: 1fr;
        width: min(250px, calc(100vw - 92px));
    }
    .support-menu a { min-width: 0; }
}

@media (max-width: 920px) and (orientation: landscape) {
    .hero--video .hero-video-stage {
        padding-bottom: max(1rem, env(safe-area-inset-bottom, 0px));
        /* منوی عمودی روی لبهٔ راست؛ در RTL محور inline از راست شروع می‌شود */
        padding-inline-start: calc(78px + max(12px, env(safe-area-inset-left, 0px)));
    }
    .hero--video .hero-video-copy {
        transform: translateY(-0.35rem);
    }
    .vv-bottom-nav { right: 8px; left: auto; top: var(--vv-header-h); bottom: 8px; width: 72px; height: auto; }
    .vv-bottom-nav ul { grid-template-columns: 1fr; align-content: start; }
    body { padding-bottom: 0; padding-right: 78px; }
    .product-mobile-buy {
        left: 8px;
        right: 78px;
        bottom: max(8px, env(safe-area-inset-bottom));
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .001ms !important;
    }
    .animate-element,
    .animate-element-fade { opacity: 1 !important; transform: none !important; }
}

/* Tabler icons webfont is served from assets/webfonts/tabler-icons.woff2 */
