body {
    direction: rtl !important;
    overflow-x: hidden !important;
    background: #ffffff !important;
    font-family: IRYe !important;
    overflow-wrap: break-word;
}

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
}



@font-face {
    font-family: 'vazir';
    src: url('../fonts/Vazir.woff') format('woff');

}

@font-face {
    font-family: 'iranyekanbold';
    src: url('../fonts/iranyekanwebbold(fanum).woff') format('woff');
}

@font-face {
    font-family: 'iransansmedium';
    src: url('../fonts/IRANSansWeb_Medium.woff') format('woff');
}


@font-face {
    font-family: tanhadig;
    font-style: normal;
    font-weight: normal;
    src: url('../fonts/tanha/Tanha-FD.eot');
    src: url('../fonts/tanha/Tanha-FD.eot?#iefix') format('embedded-opentype'), url('../fonts/tanha/Tanha-FD.woff2') format('woff2'), url('../fonts/tanha/Tanha-FD.woff') format('woff'), url('../fonts/tanha/Tanha-FD.ttf') format('truetype');
}

/*yekanb*/
@font-face {
    font-family: IRYa;
    src: url('../fonts/yekanb/IRY-ExtraBlack.woff2') format('woff2'),
    url('../fonts/yekanb/IRY-ExtraBlack.woff') format('woff'),
    url('../fonts/yekanb/IRY-ExtraBlack.svg#IRY-ExtraBlack') format('svg');
    font-style: normal;
}

@font-face {
    font-family: IRYb;
    src: url('../fonts/yekanb/IRY-ExtraBold.woff2') format('woff2'),
    url('../fonts/yekanb/IRY-ExtraBold.woff') format('woff'),
    url('../fonts/yekanb/IRY-ExtraBold.svg#IRY-ExtraBold') format('svg');
    font-style: normal;
}

@font-face {
    font-family: IRYc;
    src: url('../fonts/yekanb/IRY-Black.woff2') format('woff2'),
    url('../fonts/yekanb/IRY-Black.woff') format('woff'),
    url('../fonts/yekanb/IRY-Black.svg#IRY-Black') format('svg');

    font-style: normal;
}

@font-face {
    font-family: IRYd;
    src: url('../fonts/yekanb/IRY-Light.woff2') format('woff2'),
    url('../fonts/yekanb/IRY-Light.woff') format('woff'),
    url('../fonts/yekanb/IRY-Light.svg#IRY-Light') format('svg');

    font-style: normal;
}

@font-face {
    font-family: IRYe;
    src: url('../fonts/yekanb/IRY-Medium.woff2') format('woff2'),
    url('../fonts/yekanb/IRY-Medium.woff') format('woff'),
    url('../fonts/yekanb/IRY-Medium.svg#IRY-Medium') format('svg');

    font-style: normal;
}

@font-face {
    font-family: IRYf;
    src: url('../fonts/yekanb/IRY-Thin.woff2') format('woff2'),
    url('../fonts/yekanb/IRY-Thin.woff') format('woff'),
    url('../fonts/yekanb/IRY-Thin.svg#IRY-Thin') format('svg');

    font-style: normal;
}

@font-face {
    font-family: IRYg;
    src: url('../fonts/yekanb/IRY-Bold.woff2') format('woff2'),
    url('../fonts/yekanb/IRY-Bold.woff') format('woff'),
    url('../fonts/yekanb/IRY-Bold.svg#IRY-Bold') format('svg');

    font-style: normal;
}

@font-face {
    font-family: IRYh;
    src: url('../fonts/yekanb/IRY.woff2') format('woff2'),
    url('../fonts/yekanb/IRY.woff') format('woff'),
    url('../fonts/yekanb/IRY.svg#IRY') format('svg');
    font-weight: normal;
    font-style: normal;
}



/* =========================
   متغیرها
========================= */
:root {
    --primary-color: #dd202b;
    --dark-color: #242529;
    --text-color: #92979b;
    --border-color: #e5e5e5;
    --white: #ffffff;
    --sidebar-width: 340px;
}

/* =========================
   Reset
========================= */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background-color: #ffffff;
    color: var(--dark-color);
    font-family: "Vazirmatn", sans-serif;
}

body.menu-open {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    font-family: inherit;
}

button {
    cursor: pointer;
}

/* =========================
   Container
========================= */
.container {
    width: min(100% - 40px, 1180px);
    margin: 0 auto;
}

/* =========================
   Header
========================= */
.site-header {
    position: relative;
    z-index: 1000;
    height: 97px;
    background-color: var(--white);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
}

.navbar {
    display: flex;
    align-items: center;
    min-height: 97px;
}

/* =========================
   Logo
========================= */
.site-logo {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    direction: rtl;
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -2px;
    line-height: 1;
}

.logo-dark {
    color: #242529;
}

.logo-red {
    color: var(--primary-color);
}

/* =========================
   Desktop Menu
========================= */
.desktop-menu {
    display: flex;
    align-items: center;
    height: 97px;
    margin: 0 70px 0 0;
    padding: 0;
    list-style: none;
}

.desktop-menu > li {
    position: relative;
    height: 100%;
}

.desktop-menu > li > a {
    display: flex;
    align-items: center;
    gap: 3px;
    height: 100%;
    padding: 0 17px;
    color: var(--text-color);
    font-size: 14px;
    font-weight: 400;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.desktop-menu > li > a:hover,
.desktop-menu > li > a.active,
.desktop-products-menu:hover > .products-menu-link {
    color: var(--primary-color);
}

.products-menu-link i {
    font-size: 18px;
}

/* =========================
   Header Buttons
========================= */
.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-right: auto;
}

.search-btn,
.mobile-menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    outline: 0;
    background-color: transparent;
}

.search-btn {
    width: 38px;
    height: 38px;
    color: #858b8e;
    font-size: 24px;
    transition: color 0.2s ease;
}

.search-btn:hover {
    color: var(--primary-color);
}

.mobile-menu-btn {
    display: none;
    width: 38px;
    height: 38px;
    color: var(--dark-color);
    font-size: 31px;
}

/* ==================================================
   Mega Menu Desktop
================================================== */
.desktop-products-menu {
    position: relative;
}

/* پنل اصلی مگامنو */
.mega-menu {
    position: absolute;
    top: 100%;
    right: -12px;
    z-index: 200;
    width: 310px;
    padding: 0;
    background-color: var(--white);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.11);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(8px);
    transition:
            opacity 0.2s ease,
            visibility 0.2s ease,
            transform 0.2s ease;
}

/* نمایش پنل محصولات هنگام هاور */
.desktop-products-menu:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.mega-category-list {
    margin: 0;
    padding: 0 20px;
    list-style: none;
}

/* هر آیتم از ستون اول */
.mega-category-item {
    position: relative;
    border-bottom: 1px solid var(--border-color);
}

.mega-category-item:last-child {
    border-bottom: 0;
}

.mega-category-item > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 47px;
    color: #8c9295;
    font-size: 14px;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.mega-category-item > a i {
    color: var(--primary-color);
    font-size: 19px;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.mega-category-item:hover > a {
    color: var(--primary-color);
}

.mega-category-item:hover > a i {
    opacity: 1;
}

/* =====================================
   زیرمنوی دسکتاپ — باز شدن از سمت چپ
===================================== */
.mega-child-menu {
    position: absolute;
    top: -1px;

    /*
      سمت چپ پنل اصلی:
      right: 100% یعنی لبه راست زیرمنو
      به لبه چپ منوی اصلی متصل می‌شود.
    */
    right: calc(100% + 20px);
    left: auto;

    z-index: 210;
    display: none;
    width: 310px;
    min-width: 310px;
    margin: 0;
    padding: 0 20px;
    list-style: none;
    background-color: #ffffff;
    box-shadow: 7px 8px 22px rgba(0, 0, 0, 0.1);
}

.mega-category-item:hover > .mega-child-menu {
    display: block;
}


/* فقط زیرمنوی همان آیتمی که موس روی آن است باز می‌شود */
.mega-category-item:hover > .mega-child-menu {
    display: block;
}

.mega-child-menu li {
    border-bottom: 1px solid var(--border-color);
}

.mega-child-menu li:last-child {
    border-bottom: 0;
}

.mega-child-menu a {
    display: flex;
    align-items: center;
    min-height: 47px;
    color: #8c9295;
    font-size: 13px;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.mega-child-menu a:hover {
    padding-right: 7px;
    color: var(--primary-color);
}

/* =========================
   Hero Demo
========================= */
.hero-section {
    display: flex;
    align-items: center;
    min-height: 480px;
    color: #ffffff;
    background:
            radial-gradient(
                    circle at 20% 40%,
                    rgba(255, 255, 255, 0.25),
                    transparent 24%
            ),
            linear-gradient(115deg, #a40008, #f42d31 50%, #bd0007);
}

.hero-content {
    width: min(100% - 40px, 1180px);
    margin: 0 auto;
}

.hero-content p {
    margin: 0 0 10px;
    font-size: 17px;
}

.hero-content h1 {
    margin: 0;
    font-size: clamp(34px, 5vw, 60px);
    font-weight: 800;
}

/* =========================
   Mobile Overlay
========================= */
.mobile-overlay {
    position: fixed;
    z-index: 2000;
    inset: 0;
    visibility: hidden;
    opacity: 0;
    background-color: rgba(0, 0, 0, 0.55);
    transition:
            opacity 0.25s ease,
            visibility 0.25s ease;
}

.mobile-overlay.show {
    visibility: visible;
    opacity: 1;
}

/* =========================
   Mobile Sidebar
========================= */
.mobile-sidebar {
    position: fixed;
    z-index: 2001;
    top: 0;
    right: calc(var(--sidebar-width) * -1);
    width: min(var(--sidebar-width), 88vw);
    height: 100dvh;
    overflow-y: auto;
    background-color: var(--white);
    box-shadow: -7px 0 24px rgba(0, 0, 0, 0.16);
    transition: right 0.3s ease;
}

.mobile-sidebar.show {
    right: 0;
}

.mobile-sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 76px;
    padding: 0 20px;
    border-bottom: 1px solid #eeeeee;
}

.mobile-sidebar-header .site-logo {
    font-size: 24px;
}

.mobile-close-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 37px;
    height: 37px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #555b5e;
    font-size: 31px;
}

/* =========================
   Mobile Search
========================= */
.mobile-search-form {
    display: flex;
    align-items: center;
    height: 45px;
    margin: 18px;
    border: 1px solid #e4e4e4;
    border-radius: 5px;
}

.mobile-search-form input {
    width: 100%;
    height: 100%;
    padding: 0 12px;
    border: 0;
    outline: 0;
    color: #555;
    font-size: 13px;
}

.mobile-search-form input::placeholder {
    color: #a1a5a7;
}

.mobile-search-form button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    color: #92979b;
    font-size: 20px;
}

/* =========================
   Mobile Navigation
========================= */
.mobile-nav-list,
.mobile-submenu,
.mobile-child-menu {
    margin: 0;
    padding: 0;
    list-style: none;
}

.mobile-nav-list {
    padding: 0 18px 25px;
}

.mobile-nav-list > li {
    border-bottom: 1px solid #ededed;
}

.mobile-nav-list > li > a,
.mobile-parent-trigger {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 52px;
    color: #656a6e;
    font-size: 14px;
}

.mobile-nav-list > li > a {
    gap: 10px;
}

.mobile-nav-list > li > a > i,
.mobile-parent-trigger span i {
    color: #92979b;
    font-size: 20px;
}

.mobile-nav-list > li > a.active,
.mobile-nav-list > li > a.active i {
    color: var(--primary-color);
}

.mobile-parent-trigger {
    justify-content: space-between;
    padding: 0;
    border: 0;
    background: transparent;
    text-align: right;
}

.mobile-parent-trigger > span {
    display: flex;
    align-items: center;
    gap: 10px;
}

.menu-arrow {
    color: #858a8d;
    font-size: 21px;
    transition: transform 0.25s ease;
}

/* زیرمنوی محصولات موبایل */
.mobile-submenu {
    display: none;
    margin: 0 9px 12px 0;
    padding: 0 14px 3px 0;
    border-right: 2px solid #ededed;
}

.mobile-parent-menu.open > .mobile-submenu {
    display: block;
}

.mobile-parent-menu.open > .mobile-parent-trigger,
.mobile-parent-menu.open > .mobile-parent-trigger span i,
.mobile-parent-menu.open .menu-arrow {
    color: var(--primary-color);
}

.mobile-parent-menu.open .menu-arrow {
    transform: rotate(180deg);
}

/* دسته‌های داخلی موبایل */
.mobile-child-item {
    border-bottom: 1px solid #eeeeee;
}

.mobile-child-item:last-child {
    border-bottom: 0;
}

.mobile-child-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #73787b;
    font-size: 13px;
    text-align: right;
}

.mobile-child-trigger i {
    color: #8f9497;
    font-size: 18px;
    transition: transform 0.25s ease;
}

/* زیرمجموعه هر دسته در موبایل */
.mobile-child-menu {
    display: none;
    margin: 0 9px 10px 0;
    padding: 3px 13px 5px 0;
    border-right: 2px solid #e5e5e5;
}

.mobile-child-item.open > .mobile-child-menu {
    display: block;
}

.mobile-child-item.open > .mobile-child-trigger,
.mobile-child-item.open > .mobile-child-trigger i {
    color: var(--primary-color);
}

.mobile-child-item.open > .mobile-child-trigger i {
    transform: rotate(180deg);
}

.mobile-child-menu a {
    display: block;
    padding: 8px 0;
    color: #92979b;
    font-size: 12px;
    transition: all 0.2s ease;
}

.mobile-child-menu a:hover {
    padding-right: 5px;
    color: var(--primary-color);
}

/* =========================
   Responsive: Tablet/Mobile
========================= */
@media (max-width: 991.98px) {
    .site-header {
        height: 72px;
    }

    .navbar {
        min-height: 72px;
        justify-content: space-between;
    }

    .site-logo {
        font-size: 24px;
    }

    .desktop-menu {
        display: none;
    }

    .header-actions {
        gap: 4px;
        margin-right: 0;
    }

    .search-btn {
        font-size: 22px;
    }

    .mobile-menu-btn {
        display: inline-flex;
    }

    .hero-section {
        min-height: 360px;
    }
}

/* مخفی‌کردن کامل منوی موبایل در دسکتاپ */
@media (min-width: 992px) {
    .mobile-sidebar,
    .mobile-overlay {
        display: none !important;
    }
}

/* =========================
   Responsive: Small Mobile
========================= */
@media (max-width: 450px) {
    .container {
        width: min(100% - 28px, 1180px);
    }

    .site-logo {
        font-size: 21px;
    }

    .search-btn {
        font-size: 21px;
    }

    .mobile-menu-btn {
        font-size: 28px;
    }

    .mobile-sidebar {
        width: min(320px, 90vw);
    }

    .mobile-sidebar-header {
        min-height: 70px;
        padding: 0 16px;
    }

    .mobile-nav-list {
        padding-right: 14px;
        padding-left: 14px;
    }

    .mobile-search-form {
        margin: 15px;
    }
}


/*slider*/
/* ==================================================
   Hero Slider - Full image without crop
================================================== */

.hero-slider-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    background-color: #111;
}

.hero-slider {
    position: relative;
    width: 100%;
    overflow: hidden;

    /*
      نسبت واقعی تصویر بنر:
      اگر عکس شما 1920×700 است همین مقدار درست است.
    */
    aspect-ratio: 1920 / 700;

    background-color: #111;
}

.hero-slider .swiper-wrapper,
.hero-slider .swiper-slide {
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100%;
    padding: 0;
    overflow: hidden;
    background-color: #111;
}

/* در صورتی که از picture استفاده کرده‌اید */
.hero-slide > picture {
    display: block;
    width: 100%;
    height: 100%;
}

/* تصویر اسلاید */
.hero-slide-image,
.hero-slide img {
    display: block;
    width: 100%;
    height: 100%;

    /*
      تصویر کامل دیده می‌شود و هیچ قسمتی برش نمی‌خورد
    */
    object-fit: contain;
    object-position: center;

    transform: none !important;
}

/* دکمه‌های کنترل اسلایدر */
.hero-slider-next,
.hero-slider-prev {
    position: absolute;
    top: 50%;
    z-index: 5;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 47px;
    height: 47px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.38);
    border-radius: 50%;

    color: #fff;
    background-color: rgba(0, 0, 0, 0.25);
    cursor: pointer;

    transform: translateY(-50%);
    transition: 0.25s ease;
}

.hero-slider-next {
    right: 28px;
}

.hero-slider-prev {
    left: 28px;
}

.hero-slider-next i,
.hero-slider-prev i {
    font-size: 30px;
}

.hero-slider-next:hover,
.hero-slider-prev:hover {
    border-color: var(--primary-color);
    background-color: var(--primary-color);
}

/* نقطه‌های اسلایدر */
.hero-slider-pagination {
    position: absolute;
    right: 50% !important;
    bottom: 18px !important;
    left: auto !important;
    z-index: 5;

    width: auto !important;
    transform: translateX(50%);
}

.hero-slider-pagination .swiper-pagination-bullet {
    width: 9px;
    height: 9px;
    margin: 0 4px !important;

    opacity: 1;
    background-color: rgba(255, 255, 255, 0.55);
    transition: 0.25s ease;
}

.hero-slider-pagination .swiper-pagination-bullet-active {
    width: 28px;
    border-radius: 10px;
    background-color: var(--primary-color);
}

/* ==================================================
   Mobile
================================================== */
@media (max-width: 767.98px) {
    /*
      مهم:
      اینجا height یا min-height قرار ندهید.
      نسبت اسلایدر باید همان نسبت واقعی تصویر بماند.
    */
    .hero-slider {
        aspect-ratio: 1920 / 700;
    }

    .hero-slider-next,
    .hero-slider-prev {
        width: 34px;
        height: 34px;
    }

    .hero-slider-next {
        right: 8px;
    }

    .hero-slider-prev {
        left: 8px;
    }

    .hero-slider-next i,
    .hero-slider-prev i {
        font-size: 24px;
    }

    .hero-slider-pagination {
        bottom: 8px !important;
    }

    .hero-slider-pagination .swiper-pagination-bullet {
        width: 7px;
        height: 7px;
    }

    .hero-slider-pagination .swiper-pagination-bullet-active {
        width: 20px;
    }
}



/*category*/
/* ==================================================
   - Product Categories + Bottom Banner
================================================== */

.home-categories-section {
    padding: 64px 0 70px;
    background:
            radial-gradient(circle at 100% 0%, rgba(185, 18, 29, 0.045), transparent 27%),
            linear-gradient(180deg, #ffffff 0%, #f7f7f8 100%);
}

/* ---------- عنوان بخش ---------- */

.home-categories-section .home-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 26px;
}

.home-categories-section .home-section-subtitle {
    display: block;
    margin-bottom: 7px;
    color: var(--primary-color, #b71119);
    font-size: 13px;
    font-weight: 700;
}

.home-categories-section .home-section-head h2 {
    margin: 0;
    color: #1f2024;
    font-size: clamp(22px, 2vw, 29px);
    font-weight: 900;
    line-height: 1.6;
}

.home-categories-section .home-section-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    flex-shrink: 0;
    padding: 8px 0;
    color: #5d5f64;
    font-size: 13px;
    font-weight: 600;
    transition: color 0.25s ease;
}

.home-categories-section .home-section-link i {
    color: var(--primary-color, #b71119);
    font-size: 20px;
    transition: transform 0.25s ease;
}

.home-categories-section .home-section-link:hover {
    color: var(--primary-color, #b71119);
}

.home-categories-section .home-section-link:hover i {
    transform: translateX(-4px);
}

/* ---------- گرید دسته‌ها ---------- */

.home-categories-section .home-categories-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

/* کارت دسته */

.home-categories-section .home-category-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 106px;
    padding: 16px;
    overflow: hidden;
    border: 1px solid #e8e8ea;
    border-radius: 18px;
    color: inherit;
    background: #fff;
    box-shadow: 0 8px 22px rgba(25, 26, 30, 0.035);
    isolation: isolate;
    transition:
            transform 0.28s ease,
            box-shadow 0.28s ease,
            border-color 0.28s ease;
}

.home-categories-section .home-category-card::before {
    position: absolute;
    z-index: -1;
    top: -55px;
    left: -46px;
    width: 145px;
    height: 145px;
    border-radius: 50%;
    background: rgba(183, 17, 25, 0.045);
    content: "";
    transition: transform 0.35s ease;
}

.home-categories-section .home-category-card:hover {
    border-color: rgba(183, 17, 25, 0.28);
    box-shadow: 0 16px 34px rgba(27, 28, 32, 0.09);
    transform: translateY(-5px);
}

.home-categories-section .home-category-card:hover::before {
    transform: scale(1.35);
}

/* آیکون */

.home-categories-section .home-category-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 56px;
    width: 56px;
    height: 56px;
    border-radius: 15px;
    color: var(--primary-color, #b71119);
    background: rgba(183, 17, 25, 0.085);
    font-size: 27px;
    transition:
            color 0.28s ease,
            background-color 0.28s ease,
            transform 0.28s ease;
}

.home-categories-section .home-category-card:hover .home-category-icon {
    color: #fff;
    background: var(--primary-color, #b71119);
    transform: rotate(-5deg) scale(1.05);
}

/* متن دسته */

.home-categories-section .home-category-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
    gap: 4px;
}

.home-categories-section .home-category-content strong {
    overflow: hidden;
    color: #242529;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.55;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-categories-section .home-category-content small {
    overflow: hidden;
    color: #85868b;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.8;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* تعداد محصول */

.home-categories-section .home-category-badge {
    align-self: flex-start;
    flex: 0 0 auto;
    padding: 5px 8px;
    border-radius: 8px;
    color: #8d0d14;
    background: #fff1f2;
    font-size: 10px;
    font-weight: 700;
    white-space: nowrap;
}

/* کارت ویژه قرمز */

.home-categories-section .home-category-card-red {
    border-color: transparent;
    background:
            radial-gradient(circle at 0% 100%, rgba(255, 255, 255, 0.12), transparent 32%),
            linear-gradient(135deg, #d82531 0%, #a40811 100%);
    box-shadow: 0 12px 28px rgba(168, 8, 17, 0.2);
}

.home-categories-section .home-category-card-red::before {
    top: -70px;
    left: -55px;
    width: 160px;
    height: 160px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: transparent;
}

.home-categories-section .home-category-card-red .home-category-icon {
    color: #a40811;
    background: rgba(255, 255, 255, 0.94);
}

.home-categories-section .home-category-card-red .home-category-content strong,
.home-categories-section .home-category-card-red .home-category-content small {
    color: #fff;
}

.home-categories-section .home-category-card-red .home-category-content small {
    color: rgba(255, 255, 255, 0.78);
}

.home-categories-section .home-category-card-red .home-category-badge {
    color: #fff;
    background: rgba(255, 255, 255, 0.16);
}

.home-categories-section .home-category-card-red:hover {
    border-color: transparent;
    box-shadow: 0 19px 38px rgba(168, 8, 17, 0.28);
}

/* ==================================================
   بنر تمام‌عرض زیر دسته‌ها
================================================== */

.home-categories-section .home-wide-banner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 230px;
    gap: 30px;
    margin-top: 20px;
    padding: 30px 42px;
    overflow: hidden;
    border-radius: 22px;
    color: #fff;
    background:
            linear-gradient(90deg, rgba(20, 21, 25, 0.98) 0%, rgba(25, 26, 31, 0.94) 50%, rgba(150, 9, 18, 0.82) 100%);
    box-shadow: 0 20px 45px rgba(21, 22, 27, 0.13);
    isolation: isolate;
}

.home-categories-section .home-wide-banner::before {
    position: absolute;
    z-index: -1;
    top: -130px;
    right: 36%;
    width: 300px;
    height: 300px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    box-shadow:
            0 0 0 35px rgba(255, 255, 255, 0.025),
            0 0 0 70px rgba(255, 255, 255, 0.018);
    content: "";
}

.home-categories-section .home-wide-banner::after {
    position: absolute;
    z-index: -1;
    bottom: -120px;
    left: -80px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: rgba(218, 29, 41, 0.5);
    filter: blur(2px);
    content: "";
}

/* محتوای بنر */

.home-categories-section .home-wide-banner-content {
    position: relative;
    z-index: 2;
    max-width: 610px;
}

.home-categories-section .home-wide-banner-content > span {
    display: inline-flex;
    align-items: center;
    margin-bottom: 10px;
    padding: 6px 11px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.08);
    font-size: 11px;
    font-weight: 600;
}

.home-categories-section .home-wide-banner-content h3 {
    max-width: 580px;
    margin: 0 0 8px;
    color: #fff;
    font-size: clamp(20px, 2.1vw, 30px);
    font-weight: 900;
    line-height: 1.55;
}

.home-categories-section .home-wide-banner-content p {
    margin: 0 0 18px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 13px;
    line-height: 2;
}

.home-categories-section .home-wide-banner-content b {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 10px 15px;
    border-radius: 10px;
    color: #202125;
    background: #fff;
    font-size: 12px;
    font-weight: 800;
    transition:
            color 0.25s ease,
            background-color 0.25s ease;
}

.home-categories-section .home-wide-banner-content b i {
    color: var(--primary-color, #b71119);
    font-size: 19px;
    transition: transform 0.25s ease;
}

.home-categories-section .home-wide-banner:hover .home-wide-banner-content b {
    color: #fff;
    background: var(--primary-color, #b71119);
}

.home-categories-section .home-wide-banner:hover .home-wide-banner-content b i {
    color: #fff;
    transform: translateX(-4px);
}

/* تصویر سمت چپ بنر در RTL */

.home-categories-section .home-wide-banner-visual {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 0 0 380px;
    align-self: stretch;
}

.home-categories-section .home-wide-banner-visual::before {
    position: absolute;
    top: 50%;
    left: 7%;
    width: 210px;
    height: 210px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.07);
    content: "";
    transform: translateY(-50%);
}

.home-categories-section .home-wide-banner-visual img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    max-width: 355px;
    max-height: 200px;
    object-fit: contain;
    filter: drop-shadow(0 18px 20px rgba(0, 0, 0, 0.32));
    transition: transform 0.35s ease;
}

.home-categories-section .home-wide-banner:hover .home-wide-banner-visual img {
    transform: translateX(-8px) scale(1.025);
}



/*category*/
/* =========================================================
   | Product Categories + Double Promo Banners
========================================================= */

.forgean-smart-shop-section {
    padding: 64px 0 75px;
    overflow: hidden;
    background:
            radial-gradient(circle at 0% 12%, rgba(183, 17, 25, 0.045), transparent 24%),
            linear-gradient(180deg, #ffffff 0%, #f8f8fa 100%);
}

/* ---------------------------------------------------------
   Product showcase shell
--------------------------------------------------------- */

.forgean-product-showcase {
    padding: 24px;
    border: 1px solid #e8e9ec;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 12px 35px rgba(20, 22, 28, 0.045);
}

.forgean-showcase-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
}

.forgean-eyebrow {
    display: block;
    margin-bottom: 5px;
    color: var(--primary-color, #b71119);
    font-size: 11px;
    font-weight: 700;
}

.forgean-showcase-head h2 {
    margin: 0;
    color: #23252a;
    font-size: clamp(19px, 2vw, 25px);
    font-weight: 900;
    line-height: 1.65;
}

.forgean-showcase-all {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
    padding: 8px 11px;
    border-radius: 10px;
    color: #5c5e64;
    background: #f8f8f9;
    font-size: 12px;
    font-weight: 700;
    transition: 0.25s ease;
}

.forgean-showcase-all i {
    color: var(--primary-color, #b71119);
    font-size: 20px;
    transition: transform 0.25s ease;
}

.forgean-showcase-all:hover {
    color: #fff;
    background: var(--primary-color, #b71119);
}

.forgean-showcase-all:hover i {
    color: #fff;
    transform: translateX(-4px);
}

/* ---------------------------------------------------------
   Product cards
--------------------------------------------------------- */

.forgean-products-scroll {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 11px;
}

.forgean-product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 255px;
    padding: 12px;
    overflow: hidden;
    border: 1px solid #ededf0;
    border-radius: 14px;
    color: inherit;
    background: #fff;
    text-decoration: none;
    transition:
            border-color 0.28s ease,
            box-shadow 0.28s ease,
            transform 0.28s ease;
}

.forgean-product-card::before {
    position: absolute;
    top: -60px;
    left: -60px;
    width: 135px;
    height: 135px;
    border-radius: 50%;
    background: rgba(183, 17, 25, 0.04);
    content: "";
    opacity: 0;
    transform: scale(0.6);
    transition: 0.35s ease;
}

.forgean-product-card:hover {
    z-index: 2;
    border-color: rgba(183, 17, 25, 0.25);
    box-shadow: 0 14px 26px rgba(26, 27, 31, 0.1);
    transform: translateY(-5px);
}

.forgean-product-card:hover::before {
    opacity: 1;
    transform: scale(1);
}

.forgean-product-tag {
    position: absolute;
    z-index: 3;
    top: 9px;
    right: 9px;
    padding: 4px 7px;
    border-radius: 7px;
    color: #fff;
    background: var(--primary-color, #b71119);
    box-shadow: 0 5px 12px rgba(183, 17, 25, 0.2);
    font-size: 9px;
    font-weight: 700;
    line-height: 1.2;
}

.forgean-product-tag.is-new {
    color: #146d39;
    background: #e4f8ec;
    box-shadow: none;
}

.forgean-product-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 125px;
    margin-bottom: 10px;
    padding: 8px;
}

.forgean-product-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 9px 8px rgba(0, 0, 0, 0.1));
    transition: transform 0.35s ease;
}

.forgean-product-card:hover .forgean-product-image img {
    transform: scale(1.075) rotate(-2deg);
}

.forgean-product-card h3 {
    display: -webkit-box;
    min-height: 40px;
    margin: 0 0 4px;
    overflow: hidden;
    color: #2a2b30;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.65;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.forgean-product-card > p {
    display: -webkit-box;
    min-height: 33px;
    margin: 0;
    overflow: hidden;
    color: #86888f;
    font-size: 10px;
    line-height: 1.7;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.forgean-product-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    margin-top: auto;
    padding-top: 10px;
}

.forgean-product-count {
    color: #62646b;
    font-size: 10px;
    font-weight: 700;
}

.forgean-product-bottom i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 8px;
    color: var(--primary-color, #b71119);
    background: #fff1f2;
    font-size: 17px;
    transition: 0.25s ease;
}

.forgean-product-card:hover .forgean-product-bottom i {
    color: #fff;
    background: var(--primary-color, #b71119);
    transform: translateX(-3px);
}

/* کارت مشاهده همه */

.forgean-all-categories {
    align-items: center;
    justify-content: center;
    border-color: rgba(183, 17, 25, 0.13);
    text-align: center;
    background:
            radial-gradient(circle at 50% 0%, rgba(183, 17, 25, 0.1), transparent 45%),
            #fffafa;
}

.forgean-all-categories::before {
    display: none;
}

.forgean-all-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    margin-bottom: 12px;
    border-radius: 18px;
    color: #fff;
    background: linear-gradient(135deg, #d72832, #9f0710);
    box-shadow: 0 12px 20px rgba(183, 17, 25, 0.2);
    font-size: 29px;
}

.forgean-all-categories h3 {
    display: block;
    min-height: auto;
    margin-bottom: 5px;
}

.forgean-all-categories > p {
    display: block;
    min-height: auto;
}

.forgean-all-link {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    margin-top: 13px;
    color: var(--primary-color, #b71119);
    font-size: 10px;
    font-weight: 800;
}

.forgean-all-link i {
    font-size: 17px;
    transition: transform 0.25s ease;
}

.forgean-all-categories:hover .forgean-all-link i {
    transform: translateX(-4px);
}


/* تصویر سمت چپ بنر در RTL */

.forgean-promo-visual {
    position: absolute;
    z-index: 2;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    width: 52%;
    height: 100%;
    pointer-events: none;
}

.forgean-promo-visual img {
    display: block;
    width: 100%;
    max-height: 91%;
    object-fit: contain;
    object-position: left bottom;
    filter: drop-shadow(0 17px 17px rgba(0, 0, 0, 0.28));
    transform: translate(-12px, 5px);
    transition: transform 0.4s ease;
}

.forgean-promo-banner:hover .forgean-promo-visual img {
    transform: translate(-20px, -1px) scale(1.04);
}

/* =========================================================
   Tablet
========================================================= */

@media (max-width: 1199.98px) {
    .forgean-products-scroll {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .forgean-promo-content {
        width: 64%;
    }

    .forgean-promo-visual {
        width: 49%;
    }
}

@media (max-width: 991.98px) {
    .forgean-products-scroll {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .forgean-promo-banner {
        min-height: 225px;
        padding: 23px;
    }

    .forgean-promo-content {
        width: 67%;
    }

    .forgean-promo-content h3 {
        font-size: 19px;
    }
}

/* =========================================================
   Mobile
========================================================= */

@media (max-width: 767.98px) {
    .forgean-smart-shop-section {
        padding: 38px 0 45px;
    }

    .forgean-product-showcase {
        margin: 0 -2px;
        padding: 17px 13px 13px;
        border-radius: 16px;
    }

    .forgean-showcase-head {
        align-items: flex-end;
        margin-bottom: 15px;
    }

    .forgean-showcase-head h2 {
        font-size: 17px;
        line-height: 1.75;
    }

    .forgean-eyebrow {
        margin-bottom: 2px;
        font-size: 9px;
    }

    .forgean-showcase-all {
        padding: 5px 0;
        background: transparent;
        font-size: 10px;
    }

    /* اسکرول حرفه‌ای دسته‌ها در موبایل */
    .forgean-products-scroll {
        display: flex;
        gap: 10px;
        overflow-x: auto;
        padding: 2px 1px 12px;
        scroll-padding-inline: 4px;
        scroll-snap-type: x proximity;
        -webkit-overflow-scrolling: touch;
    }

    .forgean-products-scroll::-webkit-scrollbar {
        height: 4px;
    }

    .forgean-products-scroll::-webkit-scrollbar-track {
        border-radius: 9px;
        background: #f0f0f2;
    }

    .forgean-products-scroll::-webkit-scrollbar-thumb {
        border-radius: 9px;
        background: rgba(183, 17, 25, 0.42);
    }

    .forgean-product-card {
        flex: 0 0 143px;
        min-height: 224px;
        padding: 9px;
        border-radius: 12px;
        scroll-snap-align: start;
    }

    .forgean-product-image {
        height: 105px;
        margin-bottom: 7px;
        padding: 4px;
    }

    .forgean-product-card h3 {
        min-height: 36px;
        margin-bottom: 2px;
        font-size: 11px;
    }

    .forgean-product-card > p {
        min-height: 30px;
        font-size: 8.5px;
    }

    .forgean-product-bottom {
        padding-top: 7px;
    }

    .forgean-product-count {
        font-size: 8.5px;
    }

    .forgean-product-bottom i {
        width: 21px;
        height: 21px;
        font-size: 15px;
    }

    .forgean-product-tag {
        top: 6px;
        right: 6px;
        padding: 3px 5px;
        font-size: 7.5px;
    }

    .forgean-all-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 9px;
        border-radius: 14px;
        font-size: 24px;
    }

    .forgean-all-link {
        margin-top: 9px;
        font-size: 8.5px;
    }

    /* بنرها در موبایل زیر هم */
    .forgean-promo-banners {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-top: 13px;
    }

    .forgean-promo-banner {
        min-height: 205px;
        padding: 20px 17px;
        border-radius: 16px;
    }

    .forgean-promo-content {
        width: 66%;
    }

    .forgean-promo-label {
        margin-bottom: 7px;
        padding: 4px 7px;
        font-size: 8.5px;
    }

    .forgean-promo-content h3 {
        margin-bottom: 5px;
        font-size: 17px;
        line-height: 1.65;
    }

    .forgean-promo-content p {
        margin-bottom: 11px;
        font-size: 9px;
        line-height: 1.8;
    }

    .forgean-promo-button {
        padding: 7px 9px;
        font-size: 9px;
    }

    .forgean-promo-button i {
        font-size: 16px;
    }

    .forgean-promo-visual {
        width: 52%;
    }

    .forgean-promo-visual img {
        max-height: 83%;
        transform: translate(-7px, 3px);
    }
}

/* موبایل‌های بسیار کوچک */
@media (max-width: 380px) {
    .forgean-product-card {
        flex-basis: 132px;
    }

    .forgean-promo-content {
        width: 70%;
    }

    .forgean-promo-content h3 {
        font-size: 15px;
    }

    .forgean-promo-content p {
        display: none;
    }

    .forgean-promo-visual {
        width: 48%;
    }
}


/*banner*/
/* =========================================================
   - Image Only Banners
   تصویر کامل، بدون برش، کاملاً واکنش‌گرا
========================================================= */

/* کانتینر اصلی بنرها */
.forgean-promo-banners {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    width: 100%;
    margin-top: 20px;
}

/* هر بنر */
.forgean-image-banner {
    display: block;
    width: 100%;
    min-width: 0;
    overflow: hidden;
    border-radius: 18px;
    background-color: #f3f3f3;
    line-height: 0;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(20, 20, 24, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* تصویر بنر */
.forgean-image-banner img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;

    /*
      بدون ارتفاع ثابت:
      نسبت واقعی تصویر حفظ می‌شود،
      هیچ قسمت از تصویر Crop نمی‌شود.
    */
    object-fit: contain;
}

/* افکت ملایم در دسکتاپ */
@media (hover: hover) and (pointer: fine) {
    .forgean-image-banner:hover {
        box-shadow: 0 16px 35px rgba(20, 20, 24, 0.14);
        transform: translateY(-4px);
    }
}

/* تبلت */
@media (max-width: 991.98px) {
    .forgean-promo-banners {
        gap: 14px;
        margin-top: 16px;
    }

    .forgean-image-banner {
        border-radius: 15px;
    }
}

/* موبایل: بنرها زیر هم و تمام‌عرض */
@media (max-width: 767.98px) {
    .forgean-promo-banners {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-top: 13px;
    }

    .forgean-image-banner {
        border-radius: 13px;
        box-shadow: 0 5px 16px rgba(20, 20, 24, 0.08);
    }
}

/* موبایل کوچک */
@media (max-width: 380px) {
    .forgean-promo-banners {
        gap: 10px;
    }

    .forgean-image-banner {
        border-radius: 11px;
    }
}


/*hamkar*/
/* =========================================================
   - Partners / Brand Logos
========================================================= */

.forgean-partners-section {
    padding: 65px 0;
    overflow: hidden;
    background:
            radial-gradient(circle at 100% 0%, rgba(183, 17, 25, 0.045), transparent 25%),
            #fafafb;
}

/* عنوان */
.forgean-partners-heading {
    margin-bottom: 25px;
    text-align: center;
}

.forgean-partners-heading > span {
    display: block;
    margin-bottom: 5px;
    color: var(--primary-color, #b71119);
    font-size: 12px;
    font-weight: 700;
}

.forgean-partners-heading h2 {
    margin: 0;
    color: #25262b;
    font-size: clamp(20px, 2vw, 27px);
    font-weight: 900;
    line-height: 1.7;
}

/* لیست لوگوها */
.forgean-partners-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

/* کارت لوگو */
.forgean-partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    height: 128px;
    padding: 20px;
    overflow: hidden;
    border: 1px solid #e8e9ed;
    border-radius: 16px;
    background: #fff;
    line-height: 0;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(25, 25, 30, 0.04);
    transition:
            border-color 0.25s ease,
            box-shadow 0.25s ease,
            transform 0.25s ease;
}

/* خود لوگو */
.forgean-partner-logo img {
    display: block;
    width: 100%;
    max-width: 145px;
    height: 72px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.68;
    transition:
            filter 0.3s ease,
            opacity 0.3s ease,
            transform 0.3s ease;
}

/* افکت فقط روی دستگاه‌های دارای Hover */
@media (hover: hover) and (pointer: fine) {
    .forgean-partner-logo:hover {
        border-color: rgba(183, 17, 25, 0.25);
        box-shadow: 0 13px 27px rgba(25, 25, 30, 0.1);
        transform: translateY(-4px);
    }

    .forgean-partner-logo:hover img {
        filter: grayscale(0);
        opacity: 1;
        transform: scale(1.06);
    }
}

/* تبلت */
@media (max-width: 991.98px) {
    .forgean-partners-section {
        padding: 52px 0;
    }

    .forgean-partners-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .forgean-partner-logo {
        height: 115px;
    }
}

/* موبایل: اسکرول افقی بدون فشرده‌شدن لوگوها */
@media (max-width: 767.98px) {
    .forgean-partners-section {
        padding: 40px 0;
    }

    .forgean-partners-heading {
        margin-bottom: 17px;
    }

    .forgean-partners-heading > span {
        margin-bottom: 2px;
        font-size: 10px;
    }

    .forgean-partners-heading h2 {
        font-size: 18px;
    }

    .forgean-partners-list {
        display: flex;
        gap: 10px;
        overflow-x: auto;
        padding: 2px 2px 12px;
        scroll-padding-inline: 2px;
        scroll-snap-type: x proximity;
        -webkit-overflow-scrolling: touch;
    }

    .forgean-partners-list::-webkit-scrollbar {
        height: 4px;
    }

    .forgean-partners-list::-webkit-scrollbar-track {
        border-radius: 10px;
        background: #ececef;
    }

    .forgean-partners-list::-webkit-scrollbar-thumb {
        border-radius: 10px;
        background: rgba(183, 17, 25, 0.42);
    }

    .forgean-partner-logo {
        flex: 0 0 145px;
        height: 92px;
        padding: 13px;
        border-radius: 13px;
        scroll-snap-align: start;
    }

    .forgean-partner-logo img {
        max-width: 112px;
        height: 56px;
    }
}

/* گوشی‌های کوچک */
@media (max-width: 380px) {
    .forgean-partner-logo {
        flex-basis: 130px;
        height: 85px;
    }
}

/* =========================================================
   Forgean Axom - Professional Footer
========================================================= */

.forgean-footer {
    --footer-primary: var(--primary-color, #b71119);
    --footer-bg: #17181d;
    --footer-bg-light: #202126;
    --footer-text: #b9bbc2;
    --footer-title: #ffffff;
    --footer-border: rgba(255, 255, 255, 0.09);

    overflow: hidden;
    color: var(--footer-text);
    background: var(--footer-bg);
    font-family: Vazirmatn, sans-serif;
}

/* ---------------------------------------------------------
   نوار تماس و مشاوره
--------------------------------------------------------- */
.forgean-footer-cta {
    position: relative;
    overflow: hidden;
    color: #fff;
    background:
            radial-gradient(circle at 8% 50%, rgba(255, 255, 255, 0.12), transparent 30%),
            linear-gradient(115deg, #8f0a10 0%, var(--footer-primary) 54%, #cf2630 100%);
}

.forgean-footer-cta::after {
    position: absolute;
    top: -75px;
    left: 13%;
    width: 220px;
    height: 220px;
    border: 35px solid rgba(255, 255, 255, 0.06);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.forgean-footer-cta__inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 112px;
}

.forgean-footer-cta__content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.forgean-footer-cta__icon {
    display: flex;
    flex: 0 0 50px;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border: 1px solid rgba(255, 255, 255, 0.36);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.1);
    font-size: 21px;
}

.forgean-footer-cta__content strong,
.forgean-footer-cta__content span {
    display: block;
}

.forgean-footer-cta__content strong {
    margin-bottom: 4px;
    color: #fff;
    font-size: 16px;
    font-weight: 800;
}

.forgean-footer-cta__content span {
    color: rgba(255, 255, 255, 0.82);
    font-size: 12px;
}

.forgean-footer-cta__button {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 45px;
    padding: 0 18px;
    border: 1px solid rgba(255, 255, 255, 0.38);
    border-radius: 12px;
    color: #fff;
    background: rgba(20, 10, 10, 0.14);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.25s ease;
}

.forgean-footer-cta__button:hover {
    border-color: #fff;
    color: var(--footer-primary);
    background: #fff;
}

/* ---------------------------------------------------------
   محتوای اصلی
--------------------------------------------------------- */
.forgean-footer__main {
    position: relative;
    padding: 62px 0 52px;
    background:
            radial-gradient(circle at 100% 100%, rgba(183, 17, 25, 0.1), transparent 27%),
            var(--footer-bg);
}

.forgean-footer__main::before {
    position: absolute;
    top: 0;
    right: 6%;
    width: 1px;
    height: 100%;
    background: linear-gradient(
            to bottom,
            transparent,
            rgba(255, 255, 255, 0.08),
            transparent
    );
    content: "";
}

.forgean-footer__grid {
    display: grid;
    grid-template-columns: 1.45fr 0.9fr 1.05fr 1.25fr;
    gap: 34px;
}

/* ستون معرفی */
.forgean-footer__about {
    max-width: 335px;
}

.forgean-footer__logo {
    display: inline-flex;
    align-items: center;
    margin-bottom: 20px;
    line-height: 0;
}

.forgean-footer__logo img {
    display: block;
    width: auto;
    max-width: 175px;
    max-height: 54px;
    object-fit: contain;
}

.forgean-footer__about p {
    margin: 0;
    color: #aeb0b8;
    font-size: 13px;
    font-weight: 400;
    line-height: 2.15;
}

/* عنوان ستون‌ها */
.forgean-footer__column h3 {
    position: relative;
    margin: 6px 0 21px;
    padding-bottom: 11px;
    color: var(--footer-title);
    font-size: 15px;
    font-weight: 800;
}

.forgean-footer__column h3::after {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    border-radius: 4px;
    background: var(--footer-primary);
    content: "";
}

/* لینک‌ها */
.forgean-footer__links,
.forgean-footer__contact-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.forgean-footer__links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.forgean-footer__links a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #b8bac1;
    font-size: 13px;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

.forgean-footer__links a::before {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    content: "";
    transition: background 0.2s ease;
}

.forgean-footer__links a:hover {
    color: #fff;
    transform: translateX(-3px);
}

.forgean-footer__links a:hover::before {
    background: var(--footer-primary);
}

/* اطلاعات تماس */
.forgean-footer__contact-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.forgean-footer__contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #b8bac1;
    font-size: 12px;
    line-height: 1.9;
}

.forgean-footer__contact-list i {
    width: 16px;
    margin-top: 4px;
    color: var(--footer-primary);
    text-align: center;
    font-size: 14px;
}

.forgean-footer__contact-list a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.forgean-footer__contact-list a:hover {
    color: #fff;
}

/* شبکه‌های اجتماعی */
.forgean-footer__socials {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 21px;
}

.forgean-footer__socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid var(--footer-border);
    border-radius: 10px;
    color: #d7d8dc;
    background: rgba(255, 255, 255, 0.025);
    font-size: 15px;
    text-decoration: none;
    transition: 0.25s ease;
}

.forgean-footer__socials a:hover {
    border-color: var(--footer-primary);
    color: #fff;
    background: var(--footer-primary);
    transform: translateY(-3px);
}

/* ---------------------------------------------------------
   پایین فوتر
--------------------------------------------------------- */
.forgean-footer__bottom {
    border-top: 1px solid var(--footer-border);
    background: #121318;
}

.forgean-footer__bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 68px;
}

.forgean-footer__copyright {
    margin: 0;
    color: #8d9099;
    font-size: 11px;
    line-height: 1.9;
}

.forgean-footer__copyright a {
    color: #d3d4d8;
    font-weight: 700;
    text-decoration: none;
}

.forgean-footer__legal-links {
    display: flex;
    align-items: center;
    gap: 17px;
}

.forgean-footer__legal-links a {
    position: relative;
    color: #9b9da5;
    font-size: 11px;
    text-decoration: none;
    transition: color 0.2s ease;
}

.forgean-footer__legal-links a:hover {
    color: #fff;
}

.forgean-footer__legal-links a + a::before {
    position: absolute;
    top: 50%;
    right: -9px;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #666972;
    content: "";
    transform: translateY(-50%);
}

/* ---------------------------------------------------------
   ریسپانسیو
--------------------------------------------------------- */
@media (max-width: 991.98px) {
    .forgean-footer__main {
        padding: 48px 0 42px;
    }

    .forgean-footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 38px 28px;
    }

    .forgean-footer__about {
        max-width: 430px;
    }
}

@media (max-width: 767.98px) {
    .forgean-footer-cta__inner {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        padding-top: 21px;
        padding-bottom: 21px;
    }

    .forgean-footer-cta__content {
        align-items: flex-start;
    }

    .forgean-footer-cta__content strong {
        font-size: 14px;
        line-height: 1.9;
    }

    .forgean-footer-cta__content span {
        font-size: 11px;
        line-height: 1.8;
    }

    .forgean-footer-cta__button {
        width: 100%;
        min-height: 43px;
    }

    .forgean-footer__main {
        padding: 37px 0 34px;
    }

    .forgean-footer__grid {
        grid-template-columns: 1fr;
        gap: 31px;
    }

    .forgean-footer__about {
        max-width: none;
        padding-bottom: 28px;
        border-bottom: 1px solid var(--footer-border);
    }

    .forgean-footer__logo {
        margin-bottom: 15px;
    }

    .forgean-footer__logo img {
        max-width: 150px;
        max-height: 48px;
    }

    .forgean-footer__column h3 {
        margin-top: 0;
        margin-bottom: 17px;
    }

    .forgean-footer__links {
        gap: 10px;
    }

    .forgean-footer__bottom-inner {
        flex-direction: column;
        justify-content: center;
        gap: 8px;
        min-height: auto;
        padding-top: 16px;
        padding-bottom: 16px;
        text-align: center;
    }

    .forgean-footer__legal-links {
        justify-content: center;
    }
}



/*page2*/
/* ==========================================================================
   FORGEAN CATEGORY & PRODUCT CATALOG STYLESHEET (RTL & RESPONSIVE)
   ========================================================================== */

:root {
    --fz-primary-red: #d32f2f;
    --fz-primary-red-hover: #b71c1c;
    --fz-bg-light: #f8f9fa;
    --fz-bg-card: #ffffff;
    --fz-border-color: #e5e7eb;
    --fz-border-card: #eceff1;
    --fz-text-main: #1f2937;
    --fz-text-muted: #6b7280;
    --fz-filter-bg: #f3f4f6;
    --fz-filter-text: #4b5563;
    --fz-shadow-card: 0 4px 16px rgba(0, 0, 0, 0.04);
    --fz-shadow-hover: 0 10px 25px rgba(0, 0, 0, 0.08);
    --fz-radius-card: 12px;
    --fz-radius-btn: 6px;
    --fz-transition: all 0.25s ease-in-out;
}

/* ریست و فونت عمومی بخش */
.fz-section {
    width: 100%;
    background-color: #ffffff;
    padding: 30px 0 50px 0;
    direction: rtl;
    text-align: right;
    box-sizing: border-box;
}

.fz-section *,
.fz-section *::before,
.fz-section *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: inherit;
}

.fz-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* -------------------------------------------------------------
   ۱. تب‌های دسته‌بندی بالا (Category Tabs)
------------------------------------------------------------- */
.fz-category-tabs-wrapper {
    width: 100%;
    border-bottom: 2px solid var(--fz-border-color);
    margin-bottom: 30px;
    position: relative;
}

.fz-category-tabs {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none; /* فایرفاکس */
    -ms-overflow-style: none; /* IE و Edge */
    padding-bottom: 0;
    -webkit-overflow-scrolling: touch;
}

.fz-category-tabs::-webkit-scrollbar {
    display: none; /* کروم و سافاری */
}

.fz-tab-item {
    flex: 1;
    min-width: 110px;
    text-align: center;
    background: transparent;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 12px 6px 14px 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    position: relative;
    transition: var(--fz-transition);
}

.fz-tab-icon {
    width: 55px;
    height: 55px;
    object-fit: contain;
    transition: transform 0.25s ease, filter 0.25s ease, opacity 0.25s ease;
    filter: grayscale(100%);
    opacity: 0.65;
}

.fz-tab-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--fz-text-muted);
    white-space: nowrap;
    transition: color 0.25s ease;
}

/* هاور تب */
.fz-tab-item:hover .fz-tab-icon {
    transform: translateY(-3px);
    opacity: 0.9;
    filter: grayscale(30%);
}

.fz-tab-item:hover .fz-tab-title {
    color: var(--fz-text-main);
}

/* تب فعال */
.fz-tab-item.active .fz-tab-icon {
    filter: grayscale(0%);
    opacity: 1;
    transform: translateY(-2px);
}

.fz-tab-item.active .fz-tab-title {
    color: #000000;
    font-weight: 700;
}

/* خط قرمز پایین تب فعال */
.fz-tab-item.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 3.5px;
    background-color: var(--fz-primary-red);
    border-radius: 2px 2px 0 0;
}

/* -------------------------------------------------------------
   ۲. نوار دکمه‌های فیلتر زیرمجموعه (Subcategory Filters)
------------------------------------------------------------- */
.fz-filters-wrapper {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.fz-filters-wrapper::-webkit-scrollbar {
    display: none;
}

.fz-filter-btn {
    background-color: var(--fz-filter-bg);
    color: var(--fz-filter-text);
    border: 1px solid transparent;
    padding: 7px 22px;
    font-size: 13.5px;
    font-weight: 600;
    border-radius: var(--fz-radius-btn);
    cursor: pointer;
    transition: var(--fz-transition);
    min-width: 65px;
    text-align: center;
    white-space: nowrap;
    outline: none;
}

.fz-filter-btn:hover {
    background-color: #e5e7eb;
    color: var(--fz-text-main);
}

.fz-filter-btn.active {
    background-color: var(--fz-primary-red);
    color: #ffffff;
    border-color: var(--fz-primary-red);
    box-shadow: 0 3px 10px rgba(211, 47, 47, 0.28);
}

/* -------------------------------------------------------------
   ۳. شبکه و کارت‌های محصول (Product Grid & Cards)
------------------------------------------------------------- */
.fz-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
    width: 100%;
}

.fz-product-card {
    background: var(--fz-bg-card);
    border: 1px solid var(--fz-border-card);
    border-radius: var(--fz-radius-card);
    padding: 24px 20px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    box-shadow: var(--fz-shadow-card);
    transition: var(--fz-transition);
    min-height: 270px;
}

.fz-product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--fz-shadow-hover);
    border-color: #d1d5db;
}

.fz-product-img-box {
    width: 100%;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.fz-product-img-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.fz-product-card:hover .fz-product-img-box img {
    transform: scale(1.04);
}

.fz-product-model {
    font-size: 16px;
    font-weight: 700;
    color: var(--fz-text-main);
    text-align: center;
    letter-spacing: 0.5px;
    margin-top: auto;
    direction: ltr; /* برای نمایش صحیح کدهای انگلیسی مدل اسکنر */
}

/* وضعیت خالی */
.fz-empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 50px 20px;
    color: var(--fz-text-muted);
    background: #fafafa;
    border: 1px dashed var(--fz-border-color);
    border-radius: var(--fz-radius-card);
    font-size: 14px;
}

/* -------------------------------------------------------------
   ۴. ریسپانسیو (Responsive Media Queries)
------------------------------------------------------------- */
@media (max-width: 992px) {
    .fz-products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 18px;
    }
}

@media (max-width: 768px) {
    .fz-category-tabs {
        gap: 8px;
    }

    .fz-tab-item {
        min-width: 90px;
        padding: 8px 4px 10px 4px;
        gap: 6px;
    }

    .fz-tab-icon {
        width: 44px;
        height: 44px;
    }

    .fz-tab-title {
        font-size: 12px;
    }

    .fz-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .fz-product-card {
        padding: 16px 12px 14px;
        min-height: 220px;
        border-radius: 10px;
    }

    .fz-product-img-box {
        height: 125px;
        margin-bottom: 10px;
    }

    .fz-product-model {
        font-size: 14px;
    }

    .fz-filter-btn {
        padding: 6px 16px;
        font-size: 12.5px;
    }
}

@media (max-width: 480px) {
    .fz-products-grid {
        grid-template-columns: 1fr;
    }
}
.fz-category-tabs {
    display: flex;
    align-items: flex-end;
    justify-content: flex-start; /* دسته‌ها از راست به چپ مرتب چیده می‌شوند */
    gap: 16px;
    overflow-x: auto; /* فعال بودن اسکرول افقی */
    overflow-y: hidden;
    scrollbar-width: none; /* مخفی کردن اسکرول‌بار در فایرفاکس */
    -ms-overflow-style: none; /* IE/Edge */
    -webkit-overflow-scrolling: touch; /* اسکرول نرم با لمس دست در موبایل و تبلت */
    scroll-behavior: smooth; /* انیمیشن نرم هنگام اسکرول */
    padding: 0 4px;
}

.fz-tab-item {
    flex: 0 0 auto; /* جلوگیری از جمع شدن و له‌شدن آیتم‌ها */
    min-width: 115px; /* عرض استاندارد هر تب */
    text-align: center;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px 8px 14px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    position: relative;
    transition: var(--fz-transition);
}


/*new*/
/* آیتم والد در ستون اول */
.mega-category-item {
    position: relative;
}

/* زیرمنو (ستون دوم) */
.mega-child-menu {

    /* جلوگیری از پرش و بسته شدن ناگهانی */
    display: none;
    z-index: 1001;
}

/* کلید حل مشکل: ایجاد یک پل نامرئی بین آیتم و زیرمنو */
.mega-child-menu::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: -15px;      /* یک پل امنیتی ۱۵ پیکسلی در مرز اتصال دو منو */
    width: 15px;
    background: transparent;
}

/* نمایش زیرمنو هنگام هاور روی آیتم یا خود زیرمنو */
.mega-category-item:hover > .mega-child-menu {
    display: block;
}


/*new2*/

/* آیتم والد در نوبار */
.desktop-products-menu {
    position: relative;
    padding: 10px 0;
    list-style: none;
}

/* پل نامرئی زیر منو برای جلوگیری از پرش ماوس */
.desktop-products-menu::after {
    content: '';
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    height: 15px;
    background: transparent;
}

/* کانتینر کلی مگامنو */
.mega-menu {
    position: absolute;
    top: 100%;
    right: 0;
    width: 680px;
    min-height: 320px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    border: 1px solid #e2e8f0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    z-index: 99999;
    direction: rtl;
    text-align: right;
    display: flex;
    overflow: hidden; /* جلوگیری از اسکرول خوردن افقی */
}

/* نمایش مگامنو در هاور */
.desktop-products-menu:hover .mega-menu,
.mega-menu:hover {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* ستون سمت راست: لیست والدها */
.mega-category-list {
    width: 210px;
    min-width: 210px;
    list-style: none;
    margin: 0;
    padding: 8px 0;
    background-color: #f8fafc;
    border-left: 1px solid #edf2f7;
    position: relative; /* لنگرگاه والدها */
}

/* هر ردیف دسته در ستون راست */
.mega-category-item {
    position: static; /* مهم: تا زیرمنو نسبت به کل مگامنو جایگذاری شود */
}

.mega-category-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    color: #334155 !important;
    text-decoration: none !important;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.mega-category-item:hover > .mega-category-link {
    background-color: #ffffff;
    color: #dc2626 !important;
    font-weight: 700;
    padding-right: 20px;
}

.mega-category-link i {
    font-size: 1.1rem;
    color: #94a3b8;
}

.mega-category-item:hover > .mega-category-link i {
    color: #dc2626;
}

/* ستون سمت چپ: پنل زیرمنوها (حل مشکل شکستن متن و عرض کم) */
.mega-child-container {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 210px; /* دقیقاً بعد از ستون راست قرار می‌گیرد */
    left: 0;      /* تا انتهای لبه چپ مگامنو کشیده می‌شود */
    width: calc(680px - 210px); /* تضمین عرض ۴۷۰ پیکسلی برای متن‌ها */
    padding: 20px 24px;
    background-color: #ffffff;
    display: none;
    overflow-y: auto;
    box-sizing: border-box;
}

/* پل نامرئی بین دو ستون جهت حفظ هاور حین جابجایی ماوس */
.mega-child-container::before {
    content: '';
    position: absolute;
    top: 0;
    right: -20px;
    width: 25px;
    bottom: 0;
    background: transparent;
}

/* هاور برای نمایش پنل چپ */
.mega-category-item:hover > .mega-child-container,
.mega-child-container:hover {
    display: block !important;
}

/* هدر بالای پنل چپ (مشاهده همه محصولات) */
.mega-child-header {
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f1f5f9;
}

.mega-child-header a {
    color: #dc2626 !important;
    font-size: 0.86rem;
    font-weight: 700;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap; /* جلوگیری از شکستن خط */
}

/* شبکه زیردسته‌ها (دو ستونه شیک و با فاصله مناسب) */
.mega-child-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 16px;
}

.mega-child-item a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    color: #475569 !important;
    text-decoration: none !important;
    font-size: 0.85rem;
    border-radius: 8px;
    background-color: #f8fafc;
    border: 1px solid #f1f5f9;
    transition: all 0.15s ease;
    white-space: nowrap;
}

.mega-child-item a:hover {
    color: #dc2626 !important;
    background-color: #fef2f2;
    border-color: #fee2e2;
    transform: translateX(-3px);
}

.mega-child-item a i {
    font-size: 0.95rem;
    color: #dc2626;
}

/*new*/
/* استایل بنر تکی و عریض */
.forgean-banner-wide {
    width: 100%;
    display: block;
}

.forgean-banner-wide .forgean-image-banner {
    display: block;
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.forgean-banner-wide .forgean-image-banner:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.forgean-banner-wide .forgean-image-banner img {
    width: 100%;
    height: auto;
    max-height: 280px;
    object-fit: cover;
    display: block;
}

@media (max-width: 768px) {
    .forgean-banner-wide .forgean-image-banner img {
        max-height: 180px;
    }
}

/* ====================================================
   تنظیم فاصله و ریسپانسیو بودن بنرها (Forgean Banners)
   ==================================================== */

/* فاصله ظرف بنرهای عریض (تکی) */
.forgean-banner-wide {
    width: 100%;
    display: block;
    margin-top: 32px;
    margin-bottom: 32px;
}

/* فاصله ظرف بنرهای چندتایی (گرید/جفتی) */
.forgean-promo-banners {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
    width: 100%;
    margin-top: 36px;
    margin-bottom: 36px;
}

/* استایل تصویر و انیمیشن بنرها */
.forgean-image-banner {
    display: block;
    width: 100%;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.forgean-image-banner:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.forgean-image-banner img {
    width: 100%;
    height: 100%;
    max-height: 280px;
    object-fit: cover;
    display: block;
}

/* تنظیم فاصله و تمیزی کارت‌های محصول و دسته‌بندی */
.forgean-product-showcase {
    margin-top: 36px;
    margin-bottom: 36px;
}

/* فاصله‌های مناسب در موبایل */
@media (max-width: 768px) {
    .forgean-banner-wide,
    .forgean-promo-banners,
    .forgean-product-showcase {
        margin-top: 24px;
        margin-bottom: 24px;
    }

    .forgean-image-banner img {
        max-height: 170px;
    }
}


/*page product*/
/* کانتینر اصلی */
.prod-details-page {
    background-color: #f8fafc;
    padding: 30px 15px 60px;
    font-family: inherit;
    color: #1e293b;
}
.prod-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* بردکرامب */
.prod-breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    list-style: none;
    padding: 12px 18px;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    gap: 8px;
    font-size: 0.85rem;
    margin-bottom: 24px;
}
.prod-breadcrumb a {
    color: #64748b;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.prod-breadcrumb a:hover { color: #0284c7; }
.prod-breadcrumb .separator { color: #cbd5e1; }
.prod-breadcrumb .current { color: #0f172a; font-weight: 600; }

/* کارت اصلی */
.prod-main-card, .prod-tabs-card {
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.04);
    margin-bottom: 24px;
    overflow: hidden;
}
.prod-grid-layout {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 36px;
    padding: 30px;
}

/* گالری تصویر */
.prod-main-image-frame {
    height: 380px;
    border: 1px solid #edf2f7;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    padding: 20px;
    margin-bottom: 15px;
}
.prod-main-image-frame img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: opacity 0.2s ease;
}
.prod-thumbs-slider {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 6px;
}
.thumb-item {
    width: 72px;
    height: 72px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    padding: 4px;
    cursor: pointer;
    flex-shrink: 0;
    background: #fff;
    transition: all 0.2s;
}
.thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.thumb-item:hover { border-color: #0284c7; }
.thumb-item.active {
    border-color: #0284c7;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

/* ستون مشخصات */
.prod-info-col {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.prod-title-wrap {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 15px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f1f5f9;
    margin-bottom: 20px;
}
.prod-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.6;
    margin: 0;
}
.prod-model-badge {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    color: #475569;
    white-space: nowrap;
}
.prod-meta-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
}
.meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.85rem;
    color: #475569;
}
.meta-item.status-ok {
    background: #f0fdf4;
    border-color: #bbf7d0;
    color: #166534;
}
.prod-short-desc {
    background: #f8fafc;
    border-right: 4px solid #0284c7;
    padding: 14px 18px;
    border-radius: 0 8px 8px 0;
    font-size: 0.9rem;
    color: #475569;
    line-height: 1.8;
    margin-bottom: 24px;
}

/* باکس اکشن و قیمت */
.prod-action-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-bottom: 24px;
}
.price-label {
    display: block;
    font-size: 0.8rem;
    color: #64748b;
    margin-bottom: 4px;
}
.price-val .amount {
    font-size: 1.6rem;
    font-weight: 800;
    color: #0284c7;
}
.price-val .unit {
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 600;
    margin-right: 4px;
}
.price-call {
    color: #dc2626;
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 6px;
}
.btn-cta {
    padding: 12px 28px;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
}
.btn-cart {
    background: #0284c7;
    color: #fff;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
}
.btn-cart:hover { background: #0369a1; }
.btn-call {
    background: #dc2626;
    color: #fff;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.25);
}
.btn-call:hover { background: #b91c1c; color: #fff; }

/* فوتر اعتماد */
.prod-trust-badges {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #f1f5f9;
    font-size: 0.82rem;
    color: #64748b;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 6px;
}
.trust-item i { font-size: 1.2rem; color: #0284c7; }

/* تب‌ها */
.tabs-header {
    display: flex;
    border-bottom: 1px solid #e2e8f0;
    padding: 0 24px;
    gap: 20px;
}
.tab-btn {
    background: transparent;
    border: none;
    padding: 18px 10px;
    font-size: 0.95rem;
    font-weight: 700;
    color: #64748b;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}
.tab-btn i { font-size: 1.15rem; }
.tab-btn.active {
    color: #0284c7;
    border-bottom-color: #0284c7;
}
.tabs-content {
    padding: 30px;
}
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* جدول مشخصات فنی */
.specs-table-box {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
}
.specs-table {
    width: 100%;
    border-collapse: collapse;
}
.specs-table tr {
    border-bottom: 1px solid #f1f5f9;
}
.specs-table tr:last-child { border-bottom: none; }
.specs-table .spec-k {
    background: #f8fafc;
    width: 30%;
    padding: 14px 20px;
    text-align: right;
    font-weight: 600;
    color: #475569;
    border-left: 1px solid #e2e8f0;
    font-size: 0.9rem;
}
.specs-table .spec-v {
    padding: 14px 20px;
    color: #0f172a;
    font-size: 0.9rem;
}

/* حالت خالی */
.empty-state {
    text-align: center;
    padding: 40px 0;
    color: #94a3b8;
}
.empty-state i { font-size: 2.5rem; margin-bottom: 8px; }

/* ریسپانسیو موبایل و تبلت */
@media (max-width: 992px) {
    .prod-grid-layout {
        grid-template-columns: 1fr;
    }
    .prod-main-image-frame {
        height: 300px;
    }
    .prod-action-box {
        flex-direction: column;
        align-items: stretch;
    }
    .btn-cta {
        width: 100%;
        justify-content: center;
    }
    .prod-trust-badges {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}


/*menu*/
/* ۱. والد منوی اصلی */
.desktop-menu li.desktop-menu-item.has-dropdown {
    position: relative !important;
}

/* فلش رو به پایین */
.desktop-menu li.desktop-menu-item.has-dropdown > a .bx-chevron-down {
    font-size: 16px;
    margin-right: 4px;
    transition: transform 0.25s ease;
}

/* چرخش فلش هنگام هاور */
.desktop-menu li.desktop-menu-item.has-dropdown:hover > a .bx-chevron-down {
    transform: rotate(180deg);
}

/* ۲. جعبه بازشونده دراپ‌داون (مخفی به صورت پیش‌فرض) */
.desktop-menu .submenu-dropdown {
    position: absolute !important;
    top: 100% !important;
    right: 0 !important;
    min-width: 210px !important;
    background: #ffffff !important;
    border-radius: 8px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
    border: 1px solid #f1f5f9 !important;
    list-style: none !important;
    padding: 8px 0 !important;
    margin: 0 !important;
    z-index: 1050 !important;

    /* جلوگیری از باز ماندن و تداخل */
    display: block !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(12px) !important;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s !important;
    pointer-events: none !important;
}

/* ایجاد ناحیه امن هاور برای جلوگیری از بسته شدن ناگهانی */
.desktop-menu .submenu-dropdown::before {
    content: "";
    position: absolute;
    top: -10px;
    right: 0;
    left: 0;
    height: 10px;
}

/* ۳. نمایش زیرمنو با هاور روی والد */
.desktop-menu li.desktop-menu-item.has-dropdown:hover > .submenu-dropdown {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
}

/* ۴. آیتم‌ها و لینک‌های داخل زیرمنو */
.desktop-menu .submenu-dropdown li {
    position: relative;
    width: 100%;
}

.desktop-menu .submenu-dropdown li a {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    padding: 10px 16px !important;
    color: #4b5563 !important;
    font-size: 13.5px !important;
    font-weight: 400 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    transition: background-color 0.2s ease, color 0.2s ease, padding-right 0.2s ease !important;
}

.desktop-menu .submenu-dropdown li a i {
    font-size: 16px;
    color: #9ca3af;
    transition: color 0.2s ease;
}

/* هاور روی هر آیتم داخل زیرمنو */
.desktop-menu .submenu-dropdown li a:hover {
    background-color: #f8fafc !important;
    color: #e11d48 !important; /* رنگ تم اصلی سایت */
    padding-right: 20px !important; /* جابجایی نرم به سمت راست */
}

.desktop-menu .submenu-dropdown li a:hover i {
    color: #e11d48 !important;
}
.menu-arrow {
    transition: transform 0.3s ease; /* برای نرم شدن چرخش فلش */
}

.mobile-submenu {
    display: none; /* در حالت پیش‌فرض مخفی باشد */
}

/*page*/
/* تست و اصلاح صفحه محتوای داینامیک */
body {
    overflow-x: hidden;
}

.dynamic-page {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 40px 15px 60px !important;
    float: none !important;
    position: relative !important;
    right: auto !important;
    left: auto !important;
    box-sizing: border-box !important;
    clear: both !important;
}

.dynamic-page__inner {
    width: 100% !important;
    max-width: 1140px !important;
    margin: 0 auto !important;
    padding: 35px !important;
    box-sizing: border-box !important;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
}

.dynamic-page__content {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    direction: rtl;
    text-align: right;
    line-height: 2;
}

.dynamic-page__content figure,
.dynamic-page__content figure.image {
    float: none !important;
    display: block !important;
    width: auto !important;
    max-width: 100% !important;
    margin: 25px auto !important;
    padding: 0 !important;
}

.dynamic-page__content img,
.dynamic-page__content figure.image img {
    display: block !important;
    width: auto !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 0 auto !important;
    object-fit: contain;
}

.dynamic-page__content p {
    width: auto !important;
    max-width: 100% !important;
    margin: 0 0 20px !important;
    overflow-wrap: anywhere;
}

.dynamic-page__content table {
    width: 100% !important;
    max-width: 100% !important;
}

@media (max-width: 768px) {
    .dynamic-page {
        padding: 20px 10px 40px !important;
    }

    .dynamic-page__inner {
        padding: 18px 14px !important;
    }

    .dynamic-page__content img,
    .dynamic-page__content figure.image img {
        width: 100% !important;
    }
}
.forgean-footer-cta__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;              /* اندازه کادر دور آیکون */
    height: 52px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15); /* پس‌زمینه محو و شیک */
    flex-shrink: 0;
}

.forgean-footer-cta__icon i {
    font-size: 2rem;          /* سایز آیکون (۳۲ پیکسل) - می‌توانید به 2.2rem یا 2.5rem هم تغییر دهید */
    line-height: 1;
}
