/* ==========================================================================
   Radin Printer — Design System / Base
   White + Blue premium storefront, RTL Persian
   ========================================================================== */

@font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/Vazirmatn-var.woff2') format('woff2-variations');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

:root {
    --navy-950: #07162e;
    --navy-900: #0a1f3d;
    --navy-800: #0f2c52;
    --navy-700: #173d6d;
    --blue-700: #1740b8;
    --blue-600: #1d4ed8;
    --blue-500: #2563eb;
    --blue-400: #3b82f6;
    --blue-300: #60a5fa;
    --sky-400: #38bdf8;
    --blue-50: #eff6ff;
    --blue-25: #f6faff;
    --ink: #102a4c;
    --ink-soft: #33506f;
    --muted: #61799a;
    --muted-2: #8ba0bb;
    --line: #e4edf9;
    --line-strong: #d3e2f4;
    --bg: #f5f9ff;
    --white: #ffffff;
    --gold: #ffd400;
    --green: #12a15c;
    --green-50: #e9faf1;
    --red: #e11d48;
    --red-50: #fff1f4;
    --amber: #f59e0b;

    --radius-sm: 10px;
    --radius: 14px;
    --radius-lg: 20px;
    --radius-xl: 26px;

    --shadow-xs: 0 1px 2px rgba(16, 42, 76, .05);
    --shadow-sm: 0 4px 14px -6px rgba(16, 42, 76, .12);
    --shadow: 0 18px 40px -24px rgba(16, 42, 76, .28);
    --shadow-lg: 0 34px 70px -40px rgba(15, 44, 82, .45);
    --shadow-blue: 0 18px 36px -18px rgba(37, 99, 235, .55);

    --container: 1280px;
    --header-h: 76px;
    --ease: cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    overflow-x: clip;
}

body {
    margin: 0;
    font-family: 'Vazirmatn', Tahoma, 'Segoe UI', sans-serif;
    font-size: 15px;
    line-height: 1.8;
    color: var(--ink);
    background: var(--bg);
    min-height: 100vh;
    overflow-x: clip;
    font-feature-settings: 'ss01';
}

/* Lock must live on <html> too: html has overflow-x:clip, so body's overflow
   never propagates to the viewport — page behind the drawer stayed scrollable. */
html.no-scroll, body.no-scroll { overflow: hidden; overscroll-behavior: none; }

::selection { background: rgba(37, 99, 235, .18); }

h1, h2, h3, h4, h5 {
    margin: 0;
    font-weight: 800;
    line-height: 1.5;
    color: var(--navy-800);
    letter-spacing: -.2px;
}

p { margin: 0 0 12px; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; }
ul { margin: 0; padding: 0; list-style: none; }

.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: 20px;
}

.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.icon {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    stroke-width: 1.7;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
}
.icon.sm { width: 16px; height: 16px; }
.icon.lg { width: 24px; height: 24px; }

.muted { color: var(--muted); }
.small { font-size: 12.5px; }
.strong { font-weight: 700; }
.ltr { direction: ltr; unicode-bidi: embed; }
.nowrap { white-space: nowrap; }

/* ---------------------------------------------------------------- Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid transparent;
    background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    padding: 11px 20px;
    border-radius: 12px;
    box-shadow: var(--shadow-blue);
    transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s;
    white-space: nowrap;
    line-height: 1.6;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 22px 40px -18px rgba(37, 99, 235, .65); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }
.btn svg { width: 18px; height: 18px; }
.btn.lg { padding: 14px 26px; font-size: 15px; border-radius: 14px; }
.btn.block { width: 100%; }
.btn.ghost {
    background: #fff;
    color: var(--blue-600);
    border-color: var(--line-strong);
    box-shadow: none;
}
.btn.ghost:hover { border-color: var(--blue-300); background: var(--blue-25); box-shadow: none; }
.btn.soft { background: var(--blue-50); color: var(--blue-600); box-shadow: none; }
.btn.soft:hover { background: #e2eeff; }
.btn.dark { background: linear-gradient(135deg, var(--navy-700), var(--navy-900)); box-shadow: 0 18px 34px -20px rgba(7, 22, 46, .8); }
.btn.danger { background: linear-gradient(135deg, #f43f5e, #be123c); box-shadow: 0 16px 30px -18px rgba(225, 29, 72, .6); }
.btn.sm { padding: 8px 14px; font-size: 13px; border-radius: 10px; }
.btn.sm svg { width: 16px; height: 16px; }

.icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 1px solid transparent;
    background: transparent;
    color: var(--ink);
    transition: .2s;
    position: relative;
}
.icon-btn:hover { background: var(--blue-50); color: var(--blue-600); }

/* ---------------------------------------------------------------- Forms */
.field { margin-bottom: 14px; }
.field label, .form-label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--ink-soft);
    margin-bottom: 7px;
}
.input, .select, .textarea {
    width: 100%;
    padding: 11px 14px;
    font-size: 14px;
    color: var(--ink);
    background: #fbfdff;
    border: 1px solid var(--line-strong);
    border-radius: 11px;
    transition: .18s;
    line-height: 1.7;
}
.input::placeholder, .textarea::placeholder { color: #9db0c9; }
.input:focus, .select:focus, .textarea:focus {
    outline: none;
    background: #fff;
    border-color: var(--blue-400);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, .1);
}
.textarea { min-height: 110px; resize: vertical; }
.select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2361799a' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 14px center;
    padding-left: 38px;
}
.field .hint { font-size: 11.5px; color: var(--muted-2); margin-top: 5px; }
.field .err { font-size: 12px; color: var(--red); margin-top: 5px; display: none; }
.field.invalid .input, .field.invalid .select, .field.invalid .textarea { border-color: #fda4af; background: #fff7f8; }
.field.invalid .err { display: block; }

.checkbox {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: 13px;
    color: var(--ink-soft);
    cursor: pointer;
    line-height: 1.8;
}
.checkbox input { accent-color: var(--blue-600); width: 17px; height: 17px; margin-top: 4px; flex-shrink: 0; }

/* ---------------------------------------------------------------- Badges */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border-radius: 999px;
    padding: 3px 10px;
    font-size: 11.5px;
    font-weight: 700;
    line-height: 1.8;
}
.badge.blue { background: var(--blue-50); color: var(--blue-600); }
.badge.green { background: var(--green-50); color: var(--green); }
.badge.red { background: var(--red-50); color: var(--red); }
.badge.amber { background: #fffbeb; color: #b45309; }
.badge.gray { background: #f1f5f9; color: #64748b; }

/* ---------------------------------------------------------------- Top bar */
.topbar {
    background: linear-gradient(90deg, var(--navy-900), var(--navy-800) 55%, #123566);
    color: #c6d8ee;
    font-size: 12.5px;
    position: relative;
    z-index: 60;
}
.topbar::after {
    content: '';
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(96, 165, 250, .45), transparent);
}
.topbar-in {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 40px;
}
.topbar-side { display: flex; align-items: center; gap: 18px; }
.topbar .tb-item { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.topbar .tb-item svg { width: 15px; height: 15px; opacity: .8; }
.topbar a { color: #c6d8ee; transition: color .18s; }
.topbar a:hover { color: #fff; }
.topbar .tb-links { display: flex; gap: 14px; }
.topbar .socials { display: flex; gap: 6px; }
.topbar .socials a {
    width: 26px; height: 26px; border-radius: 8px;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(255, 255, 255, .07);
}
.topbar .socials a:hover { background: rgba(255, 255, 255, .16); }
.topbar .socials svg { width: 14px; height: 14px; }
.topbar .tb-divider { width: 1px; height: 16px; background: rgba(255, 255, 255, .14); }

/* ---------------------------------------------------------------- Header */
#site-header { display: contents; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    width: min(1320px, calc(100% - 40px));
    margin: 0 auto;
    border-radius: 0 0 18px 18px;
    background: rgba(255, 255, 255, .97);
    /* backdrop-filter حذف شد — عامل اصلی هنگ و کندی هنگام اسکرول */
    border: 1px solid rgba(255, 255, 255, .75);
    box-shadow: 0 14px 34px -26px rgba(16, 42, 76, .4);
    transition: box-shadow .3s var(--ease), background .3s var(--ease), border-radius .3s var(--ease);
}
.site-header.scrolled {
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 22px 48px -28px rgba(16, 42, 76, .5);
    border-color: rgba(255, 255, 255, .65);
}
.site-header .header-in { transition: min-height .3s var(--ease), padding .3s var(--ease); }
.site-header .logo img { transition: height .3s var(--ease); }
.site-header .main-nav {
    max-height: 60px;
    transition: max-height .34s var(--ease), opacity .22s var(--ease);
}
.site-header.compact .main-nav {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    border-top-color: transparent;
}
.site-header.compact .header-in {
    min-height: 60px;
    padding-block: 5px;
}
.site-header.compact .logo img { height: 38px; }
.header-in {
    display: flex;
    align-items: center;
    gap: 22px;
    min-height: var(--header-h);
    padding-block: 10px;
}
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo img { height: 46px; width: auto; }
.header-search { flex: 1; min-width: 0; position: relative; }
.search-form {
    display: flex;
    align-items: center;
    background: #f4f8ff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 4px;
    transition: .2s;
}
.search-form:focus-within { background: #fff; border-color: var(--blue-300); box-shadow: 0 0 0 4px rgba(37, 99, 235, .08); }
.search-cat {
    border: 0;
    background: transparent;
    font-size: 12.5px;
    color: var(--ink-soft);
    padding: 8px 10px;
    border-inline-end: 1px solid var(--line-strong);
    max-width: 150px;
    outline: none;
    cursor: pointer;
}
.search-input {
    flex: 1;
    border: 0;
    background: transparent;
    font-size: 14px;
    padding: 9px 12px;
    outline: none;
    min-width: 0;
    color: var(--ink);
}
.search-input::placeholder { color: #93a8c2; }
.search-btn {
    border: 0;
    background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.search-btn:hover { filter: brightness(1.06); }

.suggest {
    position: absolute;
    top: calc(100% + 8px);
    inset-inline: 0;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    padding: 8px;
    display: none;
    z-index: 40;
    max-height: 420px;
    overflow: auto;
}
.suggest.open { display: block; animation: pop .16s var(--ease); }
.suggest-head {
    display: flex; justify-content: space-between; align-items: center;
    font-size: 11.5px; color: var(--muted-2); padding: 4px 8px 8px;
}
.suggest-item {
    display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 10px;
}
.suggest-item:hover { background: var(--blue-25); }
.suggest-item img {
    width: 46px; height: 46px; object-fit: contain; border-radius: 8px;
    background: #fff; border: 1px solid var(--line); padding: 3px;
}
.suggest-item .s-name { font-size: 12.5px; font-weight: 600; line-height: 1.7; }
.suggest-item .s-price { font-size: 12px; color: var(--blue-600); font-weight: 700; }
.suggest-empty { padding: 14px; text-align: center; color: var(--muted); font-size: 13px; }

.header-actions { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.account-link {
    display: flex; align-items: center; gap: 9px;
    padding: 7px 10px; border-radius: 12px; transition: .18s;
}
.account-link:hover { background: var(--blue-25); }
.account-link .a-ico {
    width: 38px; height: 38px; border-radius: 11px; background: var(--blue-50);
    display: inline-flex; align-items: center; justify-content: center; color: var(--blue-600);
}
.account-link .a-txt { display: flex; flex-direction: column; line-height: 1.5; }
.account-link .a-txt b { font-size: 12.5px; }
.account-link .a-txt small { font-size: 11px; color: var(--muted-2); }
.cart-btn {
    display: flex; align-items: center; gap: 9px;
    background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
    color: #fff; border: 0; border-radius: 12px; padding: 8px 14px;
    font-size: 13px; font-weight: 700; box-shadow: var(--shadow-blue);
    transition: .2s;
}
.cart-btn:hover { transform: translateY(-1px); }
.cart-btn .c-count {
    background: rgba(255, 255, 255, .22);
    border-radius: 8px; padding: 1px 8px; font-size: 12px;
    min-width: 24px; text-align: center;
}
.mobile-toggle { display: none; }

/* ---------------------------------------------------------------- Nav */
.main-nav {
    border-top: 1px solid var(--line);
    background: #fff;
}
.nav-in {
    display: flex;
    align-items: center;
    gap: 6px;
    min-height: 52px;
}
.cat-toggle {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--navy-800); color: #fff;
    border: 0; border-radius: 11px;
    padding: 9px 14px; font-size: 13px; font-weight: 700;
    white-space: nowrap;
}
.cat-toggle:hover { background: var(--navy-900); }
.nav-links { display: flex; align-items: center; gap: 2px; margin-inline-start: 8px; flex: 1; }
.nav-links > li > a, .nav-links > li > button {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 12px; border-radius: 10px; font-size: 13.5px; font-weight: 600;
    color: var(--ink-soft); background: none; border: 0; transition: .18s; white-space: nowrap;
}
.nav-links > li > a:hover, .nav-links > li > button:hover,
.nav-links > li.active > a { color: var(--blue-600); background: var(--blue-25); }
.nav-badge {
    font-size: 10px; font-weight: 700; color: #fff;
    background: linear-gradient(135deg, #fb7185, #e11d48);
    border-radius: 999px; padding: 1px 6px; line-height: 1.6;
}
.nav-cta {
    display: inline-flex; align-items: center; gap: 7px;
    color: var(--blue-600); font-size: 13px; font-weight: 700;
    padding: 8px 13px; border-radius: 10px; border: 1px dashed #bcd4f5;
    background: linear-gradient(180deg, #f8fbff, #eff6ff);
    white-space: nowrap;
}
.nav-cta:hover { border-style: solid; }

/* Mega menu */
.mega {
    position: absolute;
    inset-inline: 0;
    top: 100%;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 30px 50px -30px rgba(16, 42, 76, .35);
    display: none;
    z-index: 45;
}
.mega.open { display: block; animation: slideDown .22s var(--ease); }
.mega-in {
    display: grid;
    grid-template-columns: 1.1fr 1.1fr 1fr .95fr;
    gap: 26px;
    padding-block: 26px;
}
.mega-col h4 {
    font-size: 13px;
    color: var(--navy-800);
    display: flex; align-items: center; gap: 7px;
    margin-bottom: 12px;
    padding-bottom: 9px;
    border-bottom: 1px solid var(--line);
}
.mega-col h4 .icon { width: 16px; height: 16px; color: var(--blue-500); }
.mega-list { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 10px; }
.mega-list a {
    display: flex; align-items: center; justify-content: space-between; gap: 6px;
    font-size: 12.5px; color: var(--ink-soft); padding: 5px 7px; border-radius: 7px;
}
.mega-list a:hover { background: var(--blue-25); color: var(--blue-600); }
.mega-list a span.c { font-size: 10.5px; color: var(--muted-2); }
.mega-promo {
    border-radius: 16px;
    background: linear-gradient(150deg, #0f2c52, #1d4ed8);
    color: #fff;
    padding: 18px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 190px;
}
.mega-promo::before {
    content: '';
    position: absolute; inset: auto -30px -50px auto;
    width: 160px; height: 160px; border-radius: 50%;
    background: rgba(96, 165, 250, .35); filter: blur(10px);
}
.mega-promo b { font-size: 15px; line-height: 1.6; position: relative; }
.mega-promo small { color: #c7dcf7; font-size: 11.5px; display: block; margin-top: 6px; position: relative; }
.mega-promo img { height: 78px; object-fit: contain; align-self: flex-start; margin-top: 8px; position: relative; }
.mega-promo .btn { position: relative; align-self: flex-start; padding: 7px 13px; font-size: 12px; background: #fff; color: var(--navy-800); box-shadow: none; }
.mega-promo .btn:hover { transform: none; }

/* ---------------------------------------------------------------- Mobile drawer */
/* No backdrop-filter here: a fullscreen blur re-renders every frame while the
   drawer slides/scrolls — the main source of the lag on phones. */
.overlay {
    position: fixed; inset: 0;
    background: rgba(7, 22, 46, .55);
    opacity: 0; pointer-events: none;
    transition: opacity .25s;
    z-index: 90;
}
.overlay.show { opacity: 1; pointer-events: auto; }
.drawer {
    position: fixed;
    top: 0; bottom: 0;
    /* Explicit height: with html{overflow-x:clip} some engines size top/bottom
       fixed boxes to CONTENT instead of the viewport, pushing the drawer bottom
       below the fold where it can never be scrolled to. */
    height: 100vh;
    height: 100dvh;
    width: min(360px, 88vw);
    background: #fff;
    z-index: 100;
    display: flex;
    flex-direction: column;
    visibility: hidden; /* closed drawer = skipped entirely by paint/composite */
    transition: transform .32s var(--ease), visibility 0s linear .32s;
    box-shadow: var(--shadow-lg);
    will-change: transform; /* layer ready before the slide starts */
}
.drawer.right { right: 0; transform: translateX(100%); }
.drawer.left { left: 0; transform: translateX(-100%); }
.drawer.open {
    transform: translateX(0);
    visibility: visible;
    transition: transform .32s var(--ease), visibility 0s;
}
.drawer-head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 15px 18px; border-bottom: 1px solid var(--line);
}
.drawer-head b { font-size: 15px; }
.drawer-body {
    padding: 16px; overflow: auto; flex: 1;
    overscroll-behavior: contain; /* scrolling the menu never chains to the page */
    -webkit-overflow-scrolling: touch;
}
.drawer-foot { padding: 14px 16px; border-top: 1px solid var(--line); background: #fbfdff; }

.mobile-nav { display: flex; flex-direction: column; gap: 3px; }
.mobile-nav a, .mobile-nav button {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    padding: 11px 12px; border-radius: 11px; font-size: 14px; font-weight: 600;
    color: var(--ink-soft); background: none; border: 0; text-align: right;
}
.mobile-nav a:hover, .mobile-nav button:hover { background: var(--blue-25); color: var(--blue-600); }
.mobile-nav .sub { display: none; padding: 4px 12px 8px; }
.mobile-nav .sub.open { display: block; }
.mobile-nav .sub a { font-size: 12.5px; font-weight: 500; padding: 7px 12px; color: var(--muted); }
.mobile-nav .sub a:hover { color: var(--blue-600); }

/* ---------------------------------------------------------------- Footer */
.site-footer {
    margin-top: 60px;
    background:
        radial-gradient(800px 300px at 90% 0%, rgba(37, 99, 235, .35), transparent 70%),
        linear-gradient(180deg, var(--navy-900), var(--navy-950));
    color: #b9cce4;
    position: relative;
    overflow: hidden;
}
.site-footer::before {
    content: '';
    position: absolute; inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, .6), transparent 75%);
    pointer-events: none;
}
.footer-top {
    position: relative;
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
    gap: 34px;
    padding-block: 46px 30px;
}
.footer-brand img { height: 48px; background: #fff; padding: 8px 12px; border-radius: 12px; margin-bottom: 14px; }
.footer-brand p { font-size: 12.5px; line-height: 2; color: #9fb7d4; margin-bottom: 16px; }
.footer-socials { display: flex; gap: 8px; }
.footer-socials a {
    width: 36px; height: 36px; border-radius: 11px;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .08);
    transition: .2s;
}
.footer-socials a:hover { background: var(--blue-600); border-color: var(--blue-400); transform: translateY(-2px); }
.footer-socials svg { width: 17px; height: 17px; }
.footer-col h5 {
    color: #fff; font-size: 14px; margin-bottom: 16px;
    display: flex; align-items: center; gap: 7px;
}
.footer-col h5::before { content: ''; width: 3px; height: 16px; border-radius: 2px; background: var(--blue-400); }
.footer-links { display: flex; flex-direction: column; gap: 9px; }
.footer-links a { font-size: 12.5px; color: #a9c0da; transition: .18s; display: inline-flex; align-items: center; gap: 6px; }
.footer-links a:hover { color: #fff; transform: translateX(-3px); }
.footer-contact { display: flex; flex-direction: column; gap: 12px; }
.footer-contact .fc-item { display: flex; gap: 10px; font-size: 12.5px; line-height: 1.9; color: #a9c0da; }
.footer-contact .fc-item .ic {
    width: 32px; height: 32px; border-radius: 9px; flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(96, 165, 250, .12); color: #7db2f0;
}
.footer-contact .fc-item .ic svg { width: 16px; height: 16px; }
.footer-contact .fc-item a { color: #dce9f8; }
.footer-pay {
    position: relative;
    display: flex; align-items: center; justify-content: space-between; gap: 20px;
    border-top: 1px solid rgba(255, 255, 255, .08);
    padding-block: 18px;
    flex-wrap: wrap;
}
.pay-badges { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pay-badge {
    display: inline-flex; align-items: center; gap: 7px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 10px; padding: 7px 12px;
    font-size: 11.5px; color: #d6e4f5;
}
.pay-badge svg { width: 15px; height: 15px; color: #8fc0f5; }
.footer-copy { text-align: center; padding: 14px 0 20px; font-size: 11.5px; color: #829ab8; border-top: 1px solid rgba(255, 255, 255, .07); }
.footer-copy a { color: #a9c0da; }

/* ---------------------------------------------------------------- Breadcrumb & layout helpers */
.page-head {
    background: linear-gradient(180deg, #fff, #f7fbff);
    border-bottom: 1px solid var(--line);
    padding-block: 18px 16px;
}
.breadcrumb { display: flex; align-items: center; gap: 7px; font-size: 12px; color: var(--muted); flex-wrap: wrap; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--blue-600); }
.breadcrumb .sep { opacity: .5; }
.breadcrumb .current { color: var(--ink); font-weight: 600; }
.page-title { font-size: 24px; margin-top: 8px; }
.page-sub { color: var(--muted); font-size: 13px; margin-top: 4px; }

.section { padding-block: 34px 8px; }
.section-head {
    display: flex; align-items: flex-end; justify-content: space-between; gap: 16px;
    margin-bottom: 20px;
}
.section-title { display: flex; align-items: center; gap: 11px; font-size: 20px; }
.section-title::before {
    content: '';
    width: 4px; height: 24px; border-radius: 3px;
    background: linear-gradient(180deg, var(--blue-400), var(--blue-700));
    flex-shrink: 0;
}
.section-title small { font-size: 12px; font-weight: 500; color: var(--muted); margin-inline-start: 4px; }
.section-link { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; color: var(--blue-600); font-weight: 600; white-space: nowrap; }
.section-link:hover { gap: 8px; }
.section-link svg { width: 15px; height: 15px; }

.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }

.card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xs);
}

.empty-state {
    text-align: center;
    padding: 50px 20px;
    color: var(--muted);
    background: #fff;
    border: 1px dashed var(--line-strong);
    border-radius: var(--radius-lg);
}
.empty-state .ic {
    width: 68px; height: 68px; border-radius: 50%;
    background: var(--blue-50); color: var(--blue-500);
    display: inline-flex; align-items: center; justify-content: center;
    margin-bottom: 14px;
}
.empty-state h3 { font-size: 17px; margin-bottom: 6px; }
.empty-state p { font-size: 13px; margin-bottom: 16px; }

/* ---------------------------------------------------------------- Skeleton */
.skeleton {
    background: linear-gradient(90deg, #eef4fc 25%, #f7fbff 37%, #eef4fc 63%);
    background-size: 400% 100%;
    animation: shimmer 1.3s ease infinite;
    border-radius: 8px;
}
.sk-card { height: 330px; border-radius: var(--radius-lg); }

/* ---------------------------------------------------------------- Animations */
@keyframes shimmer { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(-4px) scale(.99); } to { opacity: 1; transform: none; } }
@keyframes slideDown { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes spin { to { transform: rotate(360deg); } }
.spinner {
    width: 18px; height: 18px; border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, .4); border-top-color: #fff;
    animation: spin .7s linear infinite;
}
.spinner.dark { border-color: rgba(29, 78, 216, .2); border-top-color: var(--blue-600); }

.reveal { animation: fadeUp .45s var(--ease) both; }

/* ---------------------------------------------------------------- Toast */
.toast-wrap {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 200;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}
.toast {
    display: flex; align-items: center; gap: 10px;
    background: #fff;
    border: 1px solid var(--line);
    border-inline-start: 4px solid var(--blue-500);
    border-radius: 12px;
    padding: 12px 16px;
    box-shadow: var(--shadow);
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
    min-width: 260px;
    animation: fadeUp .25s var(--ease);
    pointer-events: auto;
}
.toast.success { border-inline-start-color: var(--green); }
.toast.error { border-inline-start-color: var(--red); }
.toast .t-ico { color: var(--green); display: flex; }
.toast.error .t-ico { color: var(--red); }
.toast.out { opacity: 0; transform: translateY(8px); transition: .25s; }

/* ---------------------------------------------------------------- Mobile bottom nav — شیشه‌ای چسبیده با دکمهٔ برجستهٔ جستجو */
.mobile-bottom {
    display: none;
    position: fixed;
    bottom: 0;
    inset-inline: 0;
    z-index: 60;
    background: rgba(255, 255, 255, .97);
    /* backdrop-filter حذف شد — منوی پایین موبایل دیگر هنگ نمی‌کند */
    border: 1px solid rgba(255, 255, 255, .85);
    border-bottom: 0;
    border-radius: 26px 26px 0 0; /* فقط گوشه‌های بالا گرد؛ لبهٔ پایین چسبیده به صفحه */
    box-shadow: 0 -22px 46px -20px rgba(37, 99, 235, .35), 0 -4px 16px -8px rgba(15, 23, 42, .08);
}
.mobile-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    inset-inline: 24%;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, .35), transparent);
}
.mobile-bottom-in {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    align-items: stretch;
    padding: 7px 8px calc(9px + env(safe-area-inset-bottom, 0px));
}
.mobile-bottom a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    font-size: 10.5px;
    font-weight: 700;
    color: #7c8aa0;
    white-space: nowrap;
    position: relative;
    transition: color .25s;
}
.mobile-bottom a:hover { color: var(--blue-600); }
.mobile-bottom a svg { width: 21px; height: 21px; transition: transform .2s; }
.mobile-bottom .mb-ico {
    width: 44px;
    height: 29px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    transition: background .25s;
}
.mobile-bottom a.active { color: var(--blue-600); }
.mobile-bottom a.active .mb-ico { background: rgba(37, 99, 235, .13); }
.mobile-bottom .nb-count {
    position: absolute;
    top: 1px;
    inset-inline-end: calc(50% - 27px);
    background: var(--red);
    color: #fff;
    font-size: 9px;
    min-width: 15px;
    height: 15px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 3px;
    border: 2px solid #fff;
    line-height: 1;
}

/* دکمهٔ برجستهٔ جستجو — پیش‌فرض سفید با آیکون و متن خنثی؛ فقط بعد از کلیک/انتخاب آبی می‌شود */
.mobile-bottom a.bn-fab { justify-content: flex-end; padding-bottom: 2px; }
.mobile-bottom a.bn-fab .bn-lb { color: #7c8aa0; transition: color .25s; }
.mobile-bottom .fab {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    margin-top: -30px;
    background: #fff;
    color: #64748b;
    border: 1px solid rgba(226, 232, 240, .95);
    box-shadow: 0 14px 26px -10px rgba(15, 42, 76, .28), 0 0 0 6px rgba(255, 255, 255, .6);
    transition: background .3s, color .3s, box-shadow .3s, transform .25s;
}
.mobile-bottom .fab svg { width: 23px; height: 23px; }
/* تا وقتی کلیک/انتخاب نشده آبی نمی‌شود؛ فقط کمی تیره‌تر می‌شود */
.mobile-bottom a.bn-fab:hover { color: #5d6b81; }
.mobile-bottom a.bn-fab:hover .fab { transform: translateY(-3px); color: #475569; }
.mobile-bottom a.bn-fab:active .fab { transform: scale(.92); }
.mobile-bottom a.bn-fab:focus .bn-lb,
.mobile-bottom a.bn-fab.active .bn-lb { color: var(--blue-600); }
.mobile-bottom a.bn-fab:focus .fab,
.mobile-bottom a.bn-fab.active .fab {
    background: linear-gradient(135deg, var(--blue-400), var(--blue-700));
    color: #fff;
    border-color: transparent;
    box-shadow: 0 14px 26px -10px rgba(37, 99, 235, .75), 0 0 0 6px rgba(255, 255, 255, .6);
}
.mobile-bottom a.bn-fab:focus-visible {
    outline: 3px solid rgba(37, 99, 235, .55);
    outline-offset: 3px;
    border-radius: 16px;
}

/* ---------------------------------------------------------------- Header support (replaces topbar) */
.header-support {
    display: flex;
    align-items: center;
    gap: 9px;
    padding-inline: 12px;
    margin-inline-end: 4px;
    border-inline-end: 1px solid var(--line);
    transition: .18s;
}
.header-support:hover .hs-ico { background: var(--blue-600); color: #fff; border-color: var(--blue-600); }
.header-support .hs-ico {
    width: 38px; height: 38px; border-radius: 11px;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--blue-50); color: var(--blue-600);
    border: 1px solid #dfeafa; flex-shrink: 0; transition: .18s;
}
.header-support .hs-ico svg { width: 19px; height: 19px; }
.header-support .hs-txt { display: flex; flex-direction: column; line-height: 1.5; }
.header-support .hs-txt b { font-size: 12px; font-weight: 700; color: var(--ink); white-space: nowrap; }
.header-support .hs-txt small { font-size: 10.5px; color: var(--muted-2); white-space: nowrap; }
.mobile-call { display: none; }

.nav-socials { display: flex; align-items: center; gap: 5px; margin-inline-end: 8px; }
.nav-socials a {
    width: 30px; height: 30px; border-radius: 9px;
    display: inline-flex; align-items: center; justify-content: center;
    color: var(--muted); background: #f6faff; border: 1px solid var(--line);
    transition: .18s;
}
.nav-socials a:hover { color: #fff; background: var(--blue-600); border-color: var(--blue-600); transform: translateY(-1px); }
.nav-socials svg { width: 15px; height: 15px; }

.drawer-support {
    margin-top: 18px; padding: 13px 14px; border-radius: 12px;
    background: #f7fbff; border: 1px solid var(--line);
    font-size: 12px; color: var(--muted); line-height: 2;
    display: flex; flex-direction: column; gap: 2px;
}
.drawer-support b { color: var(--ink); }
.drawer-support svg { width: 15px; height: 15px; vertical-align: -2px; color: var(--blue-500); }
.drawer-socials { display: flex; gap: 6px; margin-top: 8px; }
.drawer-socials a {
    width: 32px; height: 32px; border-radius: 9px;
    display: inline-flex; align-items: center; justify-content: center;
    background: #fff; border: 1px solid var(--line); color: var(--blue-600);
}
.drawer-socials a:hover { background: var(--blue-600); color: #fff; border-color: var(--blue-600); }

@media (max-width: 1180px) {
    .header-support, .nav-socials { display: none; }
    .mobile-call { display: inline-flex; }
}
@media (max-width: 720px) {
    .nav-cta { font-size: 12px; padding: 7px 10px; }
    .nav-cta svg { width: 15px; height: 15px; }
}

/* ---------------------------------------------------------------- Nav dropdowns */
.nav-links > li { position: relative; }
.nav-links > li > a .icon { width: 13px; height: 13px; opacity: .45; transition: .2s; }
.nav-links > li:hover > a .icon,
.nav-links > li:focus-within > a .icon { transform: rotate(180deg); opacity: 1; }
.nav-drop {
    position: absolute;
    top: calc(100% - 2px);
    inset-inline-start: 0;
    min-width: 235px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow-lg);
    padding: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .16s var(--ease), transform .16s var(--ease), visibility .16s;
    z-index: 70;
}
.nav-drop::before {
    content: '';
    position: absolute;
    top: -12px;
    inset-inline: 0;
    height: 12px;
}
.nav-links > li:hover > .nav-drop,
.nav-links > li:focus-within > .nav-drop {
    opacity: 1;
    visibility: visible;
    transform: none;
}
.nav-drop h5 {
    font-size: 10.5px;
    color: var(--muted-2);
    font-weight: 700;
    margin: 3px 7px 6px;
    letter-spacing: .2px;
}
.nav-drop a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 6px 8px;
    border-radius: 8px;
    font-size: 12.5px;
    font-weight: 500;
    color: var(--ink-soft);
    line-height: 1.8;
    white-space: nowrap;
}
.nav-drop a:hover { background: var(--blue-25); color: var(--blue-600); }
.nav-drop a span { font-size: 10px; color: var(--muted-2); }
.nav-drop a .icon { width: 13px; height: 13px; opacity: .55; flex-shrink: 0; }
.nav-drop .nd-all {
    margin-top: 6px;
    padding-top: 10px;
    border-top: 1px solid var(--line);
    border-radius: 0 0 8px 8px;
    color: var(--blue-600);
    font-weight: 700;
    justify-content: flex-start;
}
.nav-drop.wide { width: 460px; padding: 12px; }
.nd-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
.nd-cols .nd-col a { justify-content: flex-start; }
.nd-cols .nd-col a span { margin-inline-start: 5px; }
.nd-col { display: flex; flex-direction: column; min-width: 0; }
.nd-loading { padding: 8px 7px; font-size: 11px; color: var(--muted-2); }
.nav-drop .nd-post {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    white-space: normal;
    line-height: 1.85;
    font-size: 12px;
    justify-content: flex-start;
}
.nd-contact { min-width: 330px; }
.nd-contact > a { align-items: center; justify-content: flex-start; white-space: normal; padding: 8px; }
.ndi {
    width: 30px; height: 30px; border-radius: 9px; flex-shrink: 0;
    background: var(--blue-50); color: var(--blue-600);
    display: inline-flex; align-items: center; justify-content: center;
}
.nd-contact b { display: block; font-size: 11.5px; color: var(--ink); font-weight: 700; white-space: nowrap; }
.nd-contact small { display: block; font-size: 10px; color: var(--muted-2); }
.nd-row {
    display: flex; align-items: center; gap: 7px;
    font-size: 11px; color: var(--muted);
    padding: 8px 7px 2px; margin-top: 5px;
    border-top: 1px dashed var(--line);
}
.nd-row svg { width: 14px; height: 14px; color: var(--blue-400); }
.nd-social { display: flex; gap: 6px; padding: 8px 7px 2px; }
.nd-social a {
    width: 30px; height: 30px; padding: 0; border: 1px solid var(--line);
    border-radius: 9px; justify-content: center; background: #f8fbff;
}
.nd-social a:hover { background: var(--blue-600); border-color: var(--blue-600); }
.nd-social a:hover svg { color: #fff; opacity: 1; }
.nd-social svg { width: 14px; height: 14px; }
.nav-links > li:nth-last-child(-n+2) > .nav-drop { inset-inline-start: auto; inset-inline-end: 0; }

@media (max-width: 1180px) {
    .nav-drop.wide { width: 440px; }
}
@media (max-width: 900px) {
    .main-nav { display: none; }
}

/* ---------------------------------------------------------------- Wishlist header button */
.wish-btn {
    position: relative;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 7px 10px;
    border-radius: 12px;
    transition: .18s;
}
.wish-btn:hover { background: #fff5f7; }
.wish-btn .wb-ico {
    width: 38px; height: 38px; border-radius: 11px;
    display: inline-flex; align-items: center; justify-content: center;
    background: #fff1f4; color: var(--red);
    border: 1px solid #ffe1e7;
    flex-shrink: 0;
}
.wish-btn .wb-ico svg { width: 19px; height: 19px; }
.wish-btn .wb-txt { display: flex; flex-direction: column; line-height: 1.5; }
.wish-btn .wb-txt b { font-size: 12.5px; }
.wish-btn .wb-txt small { font-size: 11px; color: var(--muted-2); }
.w-count {
    position: absolute;
    top: 1px;
    inset-inline-start: 6px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 999px;
    background: var(--blue-600);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    line-height: 1;
}

/* ---------------------------------------------------------------- Nav call block */
.nav-call {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 11px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: #f8fbff;
    margin-inline-start: 4px;
    transition: .18s;
    white-space: nowrap;
}
.nav-call:hover { border-color: var(--blue-300); background: var(--blue-25); }
.nav-call .nc-ico {
    width: 32px; height: 32px; border-radius: 9px;
    background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
    color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.nav-call .nc-ico svg { width: 16px; height: 16px; }
.nav-call .nc-txt { display: flex; flex-direction: column; line-height: 1.5; text-align: left; }
.nav-call .nc-txt b { font-size: 12px; font-weight: 800; color: var(--navy-800); letter-spacing: .2px; }
.nav-call .nc-txt small { font-size: 10.5px; color: var(--muted); }

@media (max-width: 1024px) {
    .wish-btn .wb-txt { display: none; }
    .wish-btn { padding: 6px; }
    .w-count { top: -3px; inset-inline-start: auto; inset-inline-end: -3px; }
}
@media (max-width: 900px) {
    .nav-call { display: none; }
}

/* ---------------------------------------------------------------- Account dropdown */
.account-wrap { position: relative; }
.account-link {
    background: none;
    border: 0;
    font-family: inherit;
    color: inherit;
    text-align: right;
    cursor: pointer;
}
.account-link > .icon { width: 14px; height: 14px; color: var(--muted-2); margin-inline-start: 1px; transition: .2s; }
.account-wrap:hover .account-link > .icon,
.account-wrap.open .account-link > .icon { transform: rotate(180deg); color: var(--blue-500); }
.account-drop {
    position: absolute;
    top: calc(100% + 6px);
    inset-inline-start: 0;
    width: 252px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow-lg);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .16s var(--ease), transform .16s var(--ease), visibility .16s;
    z-index: 80;
}
.account-drop::before {
    content: '';
    position: absolute;
    top: -10px;
    inset-inline: 0;
    height: 10px;
}
.account-wrap:hover .account-drop,
.account-wrap.open .account-drop,
.account-wrap:focus-within .account-drop {
    opacity: 1;
    visibility: visible;
    transform: none;
}
.account-drop .ad-head {
    padding: 6px 9px 10px;
    margin-bottom: 5px;
    border-bottom: 1px solid var(--line);
}
.account-drop .ad-head b { display: block; font-size: 12.5px; color: var(--ink); }
.account-drop .ad-head small { display: block; font-size: 10.5px; color: var(--muted-2); }
.account-drop .ad-link {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 8px 9px;
    border-radius: 9px;
    border: 0;
    background: none;
    font-family: inherit;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--ink-soft);
    text-align: right;
    cursor: pointer;
    transition: .16s;
}
.account-drop .ad-link:hover { background: var(--blue-25); color: var(--blue-600); }
.account-drop .ad-link svg { width: 15px; height: 15px; flex-shrink: 0; }
.account-drop .ad-sep { height: 1px; background: var(--line); margin: 6px 4px; }
.account-drop .ad-admin {
    margin-top: 4px;
    background: linear-gradient(135deg, #eff6ff, #e4efff);
    color: var(--blue-700);
    font-weight: 800;
    border: 1px dashed #bcd4f5;
    justify-content: flex-start;
}
.account-drop .ad-admin:hover { background: var(--blue-600); color: #fff; border-color: var(--blue-600); }
.account-drop .ad-admin:hover svg { color: #fff; }
.account-drop .ad-logout { color: var(--red); }
.account-drop .ad-logout:hover { background: var(--red-50); color: var(--red); }

/* ---------------------------------------------------------------- Footer v2 */
.site-footer {
    margin-top: 80px;
    border-radius: 34px 34px 0 0;
    background:
        radial-gradient(900px 360px at 88% -12%, rgba(37, 99, 235, .42), transparent 66%),
        radial-gradient(700px 300px at 4% 0%, rgba(56, 189, 248, .18), transparent 60%),
        linear-gradient(180deg, #0a1f3d, #07162e);
}
.footer-cta {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin: 34px 0 40px;
    padding: 26px 30px;
    border-radius: 22px;
    background: linear-gradient(120deg, #1d4ed8, #2563eb 55%, #1e40af);
    border: 1px solid rgba(255, 255, 255, .16);
    box-shadow: 0 26px 55px -34px rgba(0, 0, 0, .85);
    overflow: hidden;
}
.footer-cta::after {
    content: '';
    position: absolute;
    width: 340px; height: 340px; border-radius: 50%;
    background: rgba(255, 255, 255, .13);
    filter: blur(36px);
    top: -170px; left: -70px;
}
.fc-copy { position: relative; z-index: 1; max-width: 650px; }
.fc-eyebrow {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 11px; font-weight: 700; color: #e3efff;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .2);
    padding: 4px 10px; border-radius: 999px; margin-bottom: 9px;
}
.fc-eyebrow svg { width: 14px; height: 14px; }
.fc-copy b { display: block; color: #fff; font-size: 21px; margin-bottom: 4px; }
.fc-copy p { margin: 0; color: #c9dcf4; font-size: 12.5px; line-height: 1.95; }
.fc-actions { position: relative; z-index: 1; display: flex; gap: 9px; flex-wrap: wrap; }
.fc-actions .btn { background: #fff; color: var(--navy-800); box-shadow: none; }
.fc-actions .btn:hover { background: #eff6ff; }
.fc-actions .btn.ghost { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .35); color: #fff; }
.fc-actions .btn.ghost:hover { background: rgba(255, 255, 255, .22); }

.footer-top {
    grid-template-columns: 1.5fr .85fr .9fr 1.3fr;
    gap: 34px;
    padding-block: 0 34px;
}
.footer-brand img { height: 46px; background: #fff; padding: 7px 11px; border-radius: 12px; margin-bottom: 14px; }
.footer-brand p { font-size: 12.5px; color: #a9c0da; line-height: 2.05; margin-bottom: 15px; max-width: 350px; }
.footer-mini-badges { display: flex; gap: 7px; flex-wrap: wrap; margin-top: 13px; }
.footer-mini-badges span {
    display: inline-flex; align-items: center; gap: 5px;
    font-size: 10.5px; color: #bcd2ea;
    background: rgba(255, 255, 255, .055);
    border: 1px solid rgba(255, 255, 255, .09);
    padding: 5px 9px; border-radius: 8px;
}
.footer-mini-badges svg { width: 13px; height: 13px; color: #7db2f0; }
.footer-col h5 {
    font-size: 13.5px; color: #fff; margin-bottom: 15px;
    display: flex; align-items: center; gap: 8px;
}
.footer-col h5::before { width: 3px; height: 15px; border-radius: 2px; background: linear-gradient(180deg, #60a5fa, #2563eb); }
.footer-links a {
    position: relative;
    padding-inline-start: 13px;
    color: #a9c0da;
}
.footer-links a::before {
    content: '';
    position: absolute; inset-inline-start: 0; top: 50%;
    width: 5px; height: 5px; border-radius: 50%;
    background: rgba(96, 165, 250, .55);
    transform: translateY(-50%);
    transition: .2s;
}
.footer-links a:hover { color: #fff; transform: translateX(-3px); }
.footer-links a:hover::before { background: #fff; box-shadow: 0 0 0 3px rgba(96, 165, 250, .22); }

.footer-contact { gap: 7px; }
.fc-card {
    display: flex; align-items: center; gap: 9px;
    padding: 8px 10px; border-radius: 11px;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .08);
    transition: .2s; width: 100%;
}
.fc-card:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .18); transform: translateY(-2px); }
.fc-card::after { content: '\2197'; font-size: 12px; color: rgba(255, 255, 255, .28); margin-inline-start: auto; transition: .2s; }
.fc-card:hover::after { color: #fff; }
.fc-card .ic {
    width: 32px; height: 32px; border-radius: 9px; flex-shrink: 0;
    background: rgba(96, 165, 250, .14); color: #8fc0f5;
    display: inline-flex; align-items: center; justify-content: center;
}
.fc-card .ic svg { width: 15px; height: 15px; }
.fc-card .fc-txt small { display: block; font-size: 9.5px; color: #93aecb; }
.fc-card .fc-txt b { display: block; font-size: 11.5px; color: #e6f0fb; font-weight: 700; }
.footer-address { display: flex; gap: 7px; font-size: 11px; color: #9fb7d4; line-height: 1.95; margin-top: 10px; }
.footer-address svg { flex-shrink: 0; margin-top: 4px; color: #7db2f0; }
.footer-pay { border-top: 1px solid rgba(255, 255, 255, .08); padding-block: 18px; }
.footer-hours { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; color: #a9c0da; }
.footer-hours svg { width: 14px; height: 14px; color: #7db2f0; }
.footer-copy { border-top: 1px solid rgba(255, 255, 255, .06); padding: 16px 0 22px; color: #829ab8; }

@media (max-width: 1100px) {
    .footer-cta { flex-direction: column; align-items: flex-start; }
    .footer-top { grid-template-columns: 1.2fr 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
    .site-footer { border-radius: 24px 24px 0 0; margin-top: 54px; }
    .footer-cta { margin: 24px 0 28px; padding: 20px 18px; border-radius: 18px; }
    .fc-copy b { font-size: 17px; }
    .fc-copy p { font-size: 11.5px; }
    .fc-actions { width: 100%; }
    .fc-actions .btn { flex: 1; justify-content: center; }
    .footer-top { grid-template-columns: 1fr; gap: 24px; padding-bottom: 24px; }
    .footer-brand { text-align: center; }
    .footer-brand img { margin-inline: auto; }
    .footer-brand p { margin-inline: auto; }
    .footer-socials, .footer-mini-badges { justify-content: center; }
    .footer-col h5 { justify-content: center; }
    .footer-links { align-items: center; }
    .footer-links a { padding-inline-start: 0; }
    .footer-links a::before { display: none; }
    .footer-contact { align-items: stretch; }
    .footer-address { justify-content: center; text-align: center; }
    .footer-pay { justify-content: center; text-align: center; }
}

/* ---------------------------------------------------------------- Dropdown menus v3 — پس‌زمینهٔ کاملاً مات، چیدمان مرتب */
.nav-drop,
.account-drop {
    background: #ffffff;
    border: 1px solid #e3edf9;
    border-radius: 18px;
    box-shadow: 0 30px 60px -28px rgba(16, 42, 76, .38), 0 4px 14px -8px rgba(16, 42, 76, .1);
    padding: 8px;
}
.nav-drop { width: 262px; }
.account-drop { width: 270px; }
/* فلش اتصال منو به هدر — مات و همرنگ خودِ پنل */
.nav-drop::after,
.account-drop::after {
    content: '';
    position: absolute;
    top: -6.5px;
    inset-inline-start: 26px;
    width: 12px;
    height: 12px;
    background: #fff;
    border-inline-start: 1px solid #e3edf9;
    border-top: 1px solid #e3edf9;
    transform: rotate(45deg);
    border-radius: 2px;
}
.nav-links > li:nth-last-child(-n+2) > .nav-drop::after {
    inset-inline-start: auto;
    inset-inline-end: 26px;
}
/* تیتر بخش‌های داخل منو: نقطهٔ آبی + خط جداکنندهٔ کامل زیر عنوان */
.nav-drop h5 {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 10.5px;
    letter-spacing: .4px;
    color: #8296b0;
    font-weight: 800;
    margin: 7px 8px 5px;
    padding: 0 0 8px;
    border-bottom: 1px solid #eef4fb;
}
.nav-drop h5::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--blue-500);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .12);
    flex-shrink: 0;
}
/* آیتم‌ها: ردیف‌های یکدست با فاصلهٔ استاندارد */
.nav-drop a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8.5px 10px;
    border-radius: 11px;
    font-size: 13px;
    font-weight: 500;
    color: #3a506e;
    line-height: 1.7;
    transition: background .16s, color .16s;
}
.nav-drop a:hover {
    background: #f2f7fe;
    color: var(--blue-700);
}
/* نشان شمارنده: هم‌تراز در انتهای همهٔ ردیف‌ها (آیکون باکس‌های منوی تماس مستثنا) */
.nav-drop a > span:not(.ndi) {
    margin-inline-start: auto;
    background: #f3f7fc;
    border: 1px solid #e8f0fa;
    border-radius: 999px;
    padding: 0 8px;
    font-size: 10px;
    font-weight: 700;
    color: #64798f;
    line-height: 2;
    flex-shrink: 0;
    transition: .16s;
}
.nav-drop a:hover > span:not(.ndi) { background: #fff; color: var(--blue-700); border-color: #cfe2f8; }
.nav-drop a .icon { width: 13px; height: 13px; opacity: .55; flex-shrink: 0; }
/* دکمهٔ «همه…» — فوتر جدا با خط؛ بدون قاب و گرادیان اضافه */
.nav-drop .nd-all {
    margin: 6px 2px 2px;
    padding: 10px 10px 6px;
    background: none;
    border: 0;
    border-top: 1px solid #edf3fb;
    border-radius: 0;
    color: var(--blue-700);
    font-weight: 800;
    font-size: 12.5px;
    justify-content: space-between;
}
.nav-drop .nd-all:hover { background: none; color: var(--blue-500); }
.nav-drop .nd-all svg { width: 15px; height: 15px; opacity: .85; transition: transform .2s; }
.nav-drop .nd-all:hover svg { transform: translateX(-4px); }
/* پنل بزرگ فروشگاه: دو ستون با جداکنندهٔ عمودی */
.nav-drop.wide { width: 520px; padding: 10px; }
.nd-cols { gap: 4px 18px; }
.nd-col + .nd-col { border-inline-start: 1px solid #eef4fb; padding-inline-start: 18px; }
.nd-col { display: flex; flex-direction: column; min-width: 0; }
.nd-loading { padding: 12px 10px; font-size: 12px; color: var(--muted-2); }
/* منوی مقالات */
.nav-drop .nd-post {
    font-size: 12.5px;
    line-height: 1.9;
    padding: 9px 10px;
    border-radius: 11px;
    white-space: normal;
}
/* منوی تماس: متن‌ها بدون استایلِ نشان؛ آیکون‌باکس‌های بزرگ و مشخص */
.nd-contact { min-width: 340px; }
.nd-contact > a { align-items: center; justify-content: flex-start; white-space: normal; padding: 8px 9px; }
.nd-contact a > span:not(.ndi) { all: unset; }
.ndi {
    width: 36px;
    height: 36px;
    border-radius: 11px;
    flex-shrink: 0;
    background: #f0f6fe;
    color: var(--blue-600);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-inline-end: 10px;
}
.nd-contact b { display: block; font-size: 12.5px; color: var(--ink); font-weight: 700; white-space: nowrap; }
.nd-contact small { display: block; font-size: 10.5px; color: var(--muted-2); }
/* رفع باگ: هاور آیکون‌های اجتماعی منوی تماس — آیکون سفید روی زمینهٔ روشن محو می‌شد */
.nav-drop .nd-social a { color: #51637f; }
.nav-drop .nd-social a .icon { opacity: .9; }
.nav-drop .nd-social a:hover {
    background: linear-gradient(135deg, var(--blue-400), var(--blue-700));
    border-color: transparent;
    color: #fff;
    transform: none;
}
.nav-drop .nd-social a:hover .icon { color: #fff; opacity: 1; }

/* Account dropdown polish */
.account-drop .ad-head {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 8px 10px 11px;
    margin-bottom: 6px;
    border-bottom: 1px dashed var(--line);
}
.account-drop .ad-head b { font-size: 13px; }
.account-drop .ad-head small { font-size: 10.5px; color: var(--muted-2); direction: ltr; text-align: right; }
.account-drop .ad-link {
    padding: 9px 10px;
    border-radius: 9px;
    font-size: 13px;
    gap: 9px;
    color: #33506f;
}
.account-drop .ad-link:hover { background: #f2f7fe; color: var(--blue-700); }
.account-drop .ad-link:not(.ad-admin):not(.ad-logout)::after {
    content: '‹';
    margin-inline-start: auto;
    font-size: 17px;
    line-height: 1;
    color: #c3d3e8;
    transition: .16s;
}
.account-drop .ad-link:not(.ad-admin):not(.ad-logout):hover::after { color: var(--blue-500); }
.account-drop .ad-link svg { width: 16px; height: 16px; color: #6b86aa; }
.account-drop .ad-link:hover svg { color: var(--blue-600); }
.account-drop .ad-sep { margin: 7px 6px; }
.account-drop .ad-admin {
    background: linear-gradient(135deg, #eaf3ff, #f7fbff);
    border: 1px solid #cfe2f8;
    margin: 4px 0 2px;
}
.account-drop .ad-admin:hover { background: linear-gradient(135deg, var(--blue-500), var(--blue-700)); color: #fff; border-color: var(--blue-600); transform: none; }
.account-drop .ad-admin:hover svg { color: #fff; }
.account-drop .ad-logout { font-weight: 700; }

@media (max-width: 1180px) {
    .nav-drop.wide { width: 480px; }
}
/* اصلاح هدر در موبایل */
@media (max-width: 900px) {
    .header-in {
        display: flex;
        flex-wrap: nowrap;
        justify-content: space-between;
        align-items: center;
        padding-inline: 10px;
    }
    .logo { 
        order: 2; 
        margin: 0 auto; 
        display: flex; 
        justify-content: center; 
    }
    .mobile-toggle { order: 1; }
    .header-actions { order: 3; margin: 0 !important; }
    .header-search { display: none; }
}

@media (max-width: 720px) {
    .logo img { height: 32px; }
    .header-actions { gap: 2px; }
    /* مخفی کردن متن سبد خرید در موبایل تا فقط آیکون بماند */
    .cart-btn .cart-label { display: none; }
    .cart-btn { padding: 8px 10px; border-radius: 10px; }
    /* مخفی کردن متن حساب کاربری */
    .account-link .a-txt { display: none; }
    .wish-btn .wb-txt { display: none; }
    .wish-btn { padding: 5px; }
}
.mobile-bottom a:focus { outline: none; }
@media (max-width: 900px) {
    .site-footer { 
        margin-bottom: 0 !important; 
        padding-bottom: 90px !important; 
    }
}

/* ==========================================================================
   ★ طرح نهایی هدر و منوی پایین — رادین‌پرینتر (نسخهٔ یکپارچه)
   هدر: چسبان به بالای صفحه، تمام‌عرض نمی‌شود، فقط گوشه‌های پایین گرد، شیشه‌ای
   منوی پایین: چسبیده به پایین، گوشه‌های بالا گرد، دکمهٔ برجستهٔ جستجو
   توجه: این بخش فقط ظاهر را عوض می‌کند؛ هیچ کلاس/آی‌دی کارکردی تغییر نکرده است.
   ========================================================================== */

/* ---------- ۱) اسکلت هدر ---------- */
.site-header {
    width: min(1230px, calc(100% - 24px));
    border-radius: 0 0 28px 28px !important;
    top: 0 !important;
    margin: 0 auto !important;
    background: rgba(255, 255, 255, .97);
    /* backdrop-filter حذف شد — عامل اصلی هنگ و کندی هنگام اسکرول */
    border: 1px solid rgba(255, 255, 255, .85);
    border-top: 0;
    box-shadow: 0 22px 48px -22px rgba(30, 64, 175, .32), 0 6px 18px -10px rgba(15, 23, 42, .12);
}
.site-header.scrolled {
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 26px 52px -24px rgba(30, 64, 175, .42), 0 8px 20px -12px rgba(15, 23, 42, .14) !important;
}
/* انیمیشن جمع‌شدن منو در اسکرول — بدون کلیپ‌شدن منوهای کشویی */
.site-header .main-nav {
    max-height: 60px;
    overflow: visible !important;
    border-radius: 0 0 28px 28px !important;
    transition: max-height .35s cubic-bezier(.22, .61, .36, 1), opacity .25s ease, border-color .35s ease !important;
}
.site-header.compact .main-nav {
    max-height: 0;
    opacity: 0;
    overflow: hidden !important;
    border-top-color: transparent !important;
}
.site-header .header-in {
    transition: min-height .35s cubic-bezier(.22, .61, .36, 1), padding .35s cubic-bezier(.22, .61, .36, 1) !important;
}
@media (max-width: 900px) {
    .site-header {
        width: calc(100% - 16px) !important;
        margin-top: 0 !important;
        top: 0 !important;
        border-radius: 0 0 20px 20px !important;
    }
    .site-header .main-nav { border-radius: 0 0 20px 20px !important; }
}

/* ---------- ۲) جستجو ---------- */
.search-form {
    background: rgba(241, 245, 250, .92);
    border: 1.5px solid rgba(226, 232, 242, .9);
    border-radius: 14px;
    padding: 5px;
}
.search-form:focus-within {
    border-color: var(--blue-500);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, .13);
    background: rgba(255, 255, 255, .95);
}
.search-cat {
    appearance: none;
    -webkit-appearance: none;
    padding: 8px 12px 8px 26px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='13' viewBox='0 0 24 24' fill='none' stroke='%2361799a' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 8px center;
    font-weight: 600;
}

/* ---------- ۳) دکمه‌های اکشن هدر ---------- */
.wish-btn .wb-ico,
.account-link .a-ico {
    background: rgba(241, 245, 250, .95);
    color: var(--ink);
    border: 1px solid rgba(226, 232, 242, .9);
    transition: background .25s, color .25s, box-shadow .25s, border-color .25s;
}
.wish-btn:hover .wb-ico,
.account-link:hover .a-ico,
.account-wrap.open .account-link .a-ico {
    background: linear-gradient(135deg, var(--blue-400), var(--blue-700));
    color: #fff;
    border-color: transparent;
    box-shadow: 0 8px 16px -6px rgba(37, 99, 235, .5);
}
.wish-btn .w-count { background: var(--red); }
.cart-btn { border-radius: 14px; padding: 8px 18px; }

/* ---------- ۳-۲) دکمهٔ تم روز / شب ---------- */
.theme-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    background: none;
}
.theme-btn .tb-ico {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    background: rgba(241, 245, 250, .95);
    border: 1px solid rgba(226, 232, 242, .9);
    color: var(--ink);
    transition: background .25s, color .25s, box-shadow .25s, border-color .25s;
}
.theme-btn .tb-ico svg { width: 19px; height: 19px; }
.theme-btn:hover .tb-ico {
    background: linear-gradient(135deg, var(--blue-400), var(--blue-700));
    color: #fff;
    border-color: transparent;
    box-shadow: 0 8px 16px -6px rgba(37, 99, 235, .5);
}
/* حالت روز آیکون ماه (برای رفتن به شب)؛ حالت شب آیکون خورشید (برای برگشتن) */
.theme-btn .tb-sun { display: none; }
.theme-btn .tb-moon { display: grid; }
html[data-theme="dark"] .theme-btn .tb-sun { display: grid; }
html[data-theme="dark"] .theme-btn .tb-moon { display: none; }
html[data-theme="dark"] .theme-btn .tb-ico {
    background: rgba(15, 27, 48, .95);
    border-color: rgba(255, 255, 255, .1);
    color: var(--gold);
}
html[data-theme="dark"] .theme-btn:hover .tb-ico {
    color: #fff;
    border-color: transparent;
}

/* ---------- ۴) ردیف منوی اصلی ---------- */
.main-nav {
    background: rgba(247, 250, 253, .55);
    border-top: 1px solid rgba(226, 232, 242, .85);
}
.nav-links > li > a,
.nav-links > li > button {
    padding: 10px 15px;
    border-radius: 12px;
    font-size: 13.6px;
    color: #3d4c63;
}
.nav-links > li > a:hover,
.nav-links > li > button:hover,
.nav-links > li:hover > a,
.nav-links > li.active > a {
    color: var(--blue-700);
    background: rgba(37, 99, 235, .08);
}

/* ---------- ۵) منوهای کشویی و پیشنهاد جستجو — کاملاً مات، بدون شیشه ---------- */
.suggest {
    background: #ffffff;
    border: 1px solid #e3edf9;
    border-radius: 18px;
    box-shadow: 0 30px 60px -28px rgba(16, 42, 76, .38), 0 4px 14px -8px rgba(16, 42, 76, .1);
}
.suggest-item { border-radius: 12px; transition: background .15s; }
.suggest-item:hover { background: #f2f7fe; }

/* ---------- ۶) شبکه‌های اجتماعی و تلفن (ردیف دوم) ---------- */
.nav-socials a {
    width: 34px;
    height: 34px;
    border-radius: 11px;
    background: rgba(255, 255, 255, .7);
    border: 1px solid rgba(226, 232, 242, .95);
    color: #64748b;
}
.nav-socials a:hover {
    background: linear-gradient(135deg, var(--blue-400), var(--blue-700));
    border-color: transparent;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px -6px rgba(37, 99, 235, .5);
}
.nav-call { border-color: transparent; background: transparent; }
/* خنثی‌کردن سایهٔ اجباری components.css روی بلاک تلفن */
.main-nav .nav-call { box-shadow: none !important; }
.nav-call .nc-ico {
    width: 42px;
    height: 42px;
    border-radius: 13px;
    transition: transform .25s;
}
.nav-call .nc-txt b { font-size: 13.5px; }
.nav-call .nc-txt small { font-size: 11px; color: #64748b; }
.nav-call:hover { background: transparent; border-color: transparent; }
.nav-call:hover .nc-ico { transform: rotate(-8deg) scale(1.06); }

/* ---------- ۷) نمایش منوی پایین در تبلت و موبایل ---------- */
@media (max-width: 1024px) {
    .mobile-bottom { display: block; }
    .site-footer { padding-bottom: 84px; }
}



/* در ابتدای فایل، این بلاک را جایگزین کنید */
html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    overflow-x: clip;
    overflow-anchor: none; /* ★ جلوگیری از جهش scrollY هنگام تغییر ارتفاع هدر */
}

body {
    margin: 0;
    font-family: 'Vazirmatn', Tahoma, 'Segoe UI', sans-serif;
    font-size: 15px;
    line-height: 1.8;
    color: var(--ink);
    background: var(--bg);
    min-height: 100vh;
    overflow-x: clip;
    overflow-anchor: none; /* ★ روی body هم لازم است */
    font-feature-settings: 'ss01';
}


/* استایل صورتی برای دکمه علاقه‌مندی‌ها - حالت روز */
.wish-btn .wb-ico {
    background: #fff1f4;
    color: #e11d48;
    border: 1px solid #ffe1e7;
}

.wish-btn .wb-txt b {
    color: #be123c;
}

/* افکت هاور (وقتی موس روی دکمه میره) */
.wish-btn:hover .wb-ico,
.wish-btn:focus-within .wb-ico {
    background: linear-gradient(135deg, #fb7185, #e11d48);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 8px 16px -6px rgba(225, 29, 72, 0.5);
}

.wish-btn:hover .wb-txt b {
    color: #e11d48;
}

.wish-btn:hover {
    background: #fff1f4;
}
/* اصلاح هاور دکمه تغییر تم در حالت شب */
html[data-theme="dark"] .theme-btn:hover .tb-ico,
html[data-theme="dark"] .theme-btn:focus-visible .tb-ico {
    background: linear-gradient(135deg, #fbbf24, #f59e0b) !important; /* پس‌زمینه طلایی درخشان */
    color: #fff !important; /* آیکون سفید */
    border-color: transparent !important;
    box-shadow: 0 8px 16px -6px rgba(245, 158, 11, 0.7) !important;
}
/* =========================================
   استایل صورتی قطعی برای دکمه علاقه‌مندی‌ها - حالت شب
   ========================================= */

/* حالت عادی */
html[data-theme="dark"] .wish-btn .wb-ico {
    background: rgba(225, 29, 72, 0.15) !important;
    border-color: rgba(225, 29, 72, 0.3) !important;
    color: #fb7185 !important;
}

html[data-theme="dark"] .wish-btn .wb-txt b {
    color: #fb7185 !important;
}

/* حالت هاور روی دکمه */
html[data-theme="dark"] .wish-btn:hover {
    background: rgba(225, 29, 72, 0.08) !important; /* هاله صورتی ملایم دور دکمه */
    box-shadow: inset 0 0 0 1px rgba(225, 29, 72, 0.2) !important;
}

/* حالت هاور روی آیکون */
html[data-theme="dark"] .wish-btn:hover .wb-ico,
html[data-theme="dark"] .wish-btn:focus-within .wb-ico {
    background: linear-gradient(135deg, #e11d48, #be123c) !important;
    color: #fff !important;
    border-color: transparent !important;
    box-shadow: 0 8px 16px -6px rgba(225, 29, 72, 0.6) !important;
}

/* رنگ متن در حالت هاور */
html[data-theme="dark"] .wish-btn:hover .wb-txt b {
    color: #fda4af !important;
}
/* استایل صورتی برای دکمه قلب روی کارت محصول - حالت روز */
.pc-fav {
    background: #fff1f4 !important;
    color: #e11d48 !important;
    border: 1px solid #ffe1e7 !important;
    transition: all 0.2s ease;
}

/* وقتی موس روی قلب میره یا محصول لایک شده */
.pc-fav:hover, 
.pc-fav.active {
    background: linear-gradient(135deg, #fb7185, #e11d48) !important;
    color: #fff !important;
    border-color: transparent !important;
    box-shadow: 0 4px 12px -4px rgba(225, 29, 72, 0.6) !important;
}

/* استایل کادرهای قفل شده (مثل موبایل بعد از ارسال پیامک) */
.input[readonly], .input:read-only {
    background: #f1f5f9 !important;
    color: #64748b !important;
    cursor: not-allowed;
}