@font-face {
    font-family: FontAwesome;
    src: url('webfonts/fa-regular-400.woff2') format("woff2"), url('webfonts/fa-regular-400.ttf') format("truetype");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: IRANSans;
    src: url('webfonts/IRANSansWeb.woff') format("woff"), url('webfonts/IRANSansWeb.ttf') format("truetype");
    font-weight: 400;
    font-style: normal;
}

body {
    margin: 0 !important;
    padding: 0;
    background-color: #f6f7fb;
    color: #4d4d4d;
    font-family: 'IRANSans', sans-serif;
    direction: rtl;
}

li {
    list-style: none !important;
}

p {
    margin: 0;
}

img {
    max-width: 100%;
    height: auto;
}

input:focus {
    outline: none;
}

a:hover,
a:focus,
a:visited,
a:active,
button:hover,
button:focus,
button:visited,
button:active {
    text-decoration: none;
    outline: none;
}

a {
    text-decoration: none !important;
    font-size: 13px;
    color: rgba(var(--bs-secondary-rgb), var(--bs-text-opacity)) !important;

}

h6 {
    font-size: 13px;
    
}


input,
textarea {
    border-radius: 0;
    outline: none;
    box-shadow: none;
    direction: rtl;
    float: right;
    width: 100%;
}




/* ======================= Topbar ======================= */
.topbar-menu-area {
    font-size: 14px;
}



.hover-shadow:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    transform: translateY(-1px);
    transition: all 0.2s ease-in-out;
}



.topbar-menu li a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.topbar-menu li a:hover {
    color: #d4d2fa;
}

/* ======================= Middle Section ======================= */
.mid-section .wrap-logo-top img {
    max-height: 60px;
    display: block;
}

.my-top-menu li a {

    display: block;
    padding: 10px;
    border: 2px solid transparent;
    /* فضای border همیشه هست */
    border-radius: 5px;
    transition: background 0.3s, border-color 0.3s;
}

.my-top-menu li a:hover {
    background-color: #e0e0e0;
    border-color: #7f8b9f;
    /* رنگ دلخواه برای هاور */
}

/* ======================= Icons ======================= */
.wrap-icon .icon-link {
    color: #ffffff;
    font-size: x-large;
    position: relative;
    text-decoration: none;
    transition: color 0.3s;
    padding: 10px 10px 0px 10px;
}

.wrap-icon .icon-link:hover {
    color: #9db4e5;
}

.cart-item-count {
    background-color: #9893f9;
    color: #fff;
    font-size: 12px;
    padding: 1px 6px;
    border-radius: 50%;
    position: absolute;
    top: 0px;
    right: 0px;
}
@media (min-width: 990px) {
    .cart-item-count {
            top: -30px;
        }
}
/* ======================= Offcanvas ======================= */
.offcanvas .cat-new li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.offcanvas .cat-new li:hover {
    
    cursor: pointer;
}


/* حالت اولیه */
#sticky {
    position: relative;
    width: 100%;
    transition: all 0.3s ease;
    
    /* رنگ دلخواه هدر */
    z-index: 999;
}

/* وقتی چسبنده شد */
#sticky.sticky {
    position: fixed;
    top: 0;
    left: 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    margin-left: 12px;
    margin-right: 12px;
    box-sizing: border-box;
    max-width: -webkit-fill-available;
    max-width: -webkit-fill-available;
    /* Chrome, Safari */
    max-width: -moz-available;
    /* Firefox */
    max-width: fill-available;
}




.video-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

/* پیش‌فرض = موبایل (فقط ویدیو اصلی) */
.bg-video {
    display: none;
}

.main-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* دسکتاپ: فعال کردن بک‌گراند */
@media (min-width: 521px) {
    .bg-video {
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        filter: blur(20px) brightness(0.7);
        transform: scale(1.2);
        z-index: 1;
    }

    .main-video {
        position: relative;
        max-height: 100%;
        max-width: 100%;
        z-index: 2;
        margin: 0 auto;
        object-fit: contain;
        /* یا cover بسته به سلیقه */
    }
}

/* ======================= Responsive ======================= */
@media (min-width: 990px) {
    .wrap-icon {
        gap: 2rem;

    }

    .wrap-icon .btn {
        display: inline-block;
    }

    .wrap-logo-mobile,
    #topbar-menu {
        display: none;
    }

    #seach-mob {
        display: none;
    }

    #sticky-mob {
        display: none !important;
    }

    #topbar-menu {
        display: none;
    }

    .my-top-menu li a {
        color: white !important;
    }


}





@media (max-width: 990px) {

    .wrap-menu,
    .wrap-logo-top {
        display: none;
    }

    .topbar-menu-area {
        display: none;
    }

    .tt {
        padding-top: 20px;
    }

    .wrap-icon {
        display: flex;
        justify-content: space-between;
        /* آیکونا دو سر همدیگه */
        align-items: center;
        flex: 1;
        flex-shrink: 1;
    }

    .wrap-icon .icon-link .a {
        flex: 1;
        /* همه آیکونا فضای مساوی بگیرن */
        text-align: center;
        /* وسط چین بشن */
    }

    .wrap-logo-mobile {
       
        display: table;
        margin: 0 auto;
        margin-top: 35px;
        padding-bottom: 30px;
    }

    /* حالت اولیه */
    #sticky-mob {
        height: 60px;
        position: relative;
        width: 100%;
        transition: all 0.3s ease;
        background-color: #eb1668;
        z-index: 999;
    }

    /* وقتی چسبنده شد */
    #sticky-mob.sticky {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
        padding: 10px;
        margin-left: 12px;
        max-width: -webkit-fill-available;
        margin-right: 12px;
        box-sizing: border-box;
        max-width: -webkit-fill-available;
        /* Chrome, Safari */
        max-width: -moz-available;
        /* Firefox */
        max-width: fill-available;
    }



}

.offcanvas {
    transition: transform 0.15s ease-in-out;
    /* به جای 0.3s پیش‌فرض */
}













.ggrd {
    display: flex;
    width: 470px;
    flex-wrap: wrap;
    flex-direction: column;
}

.ggrd li a {
    color: rgba(var(--bs-secondary-rgb), var(--bs-text-opacity)) !important;
}

.my-top-menu li a {
    font-size: 14px;
}

@media (min-width: 990px) {
    .my-top-menu li a {
            font-size: 16px;
        }
}

:root {
    --vk-primary: #FF9900;
    /* Amazon yellow */
    --vk-gradient: linear-gradient(135deg, #FF9900 0%, #FFB84D 50%, #FFD699 100%);
    --vk-card-bg: rgba(255, 255, 255, 0.7);
    --vk-blur: blur(10px);
}

/* Smooth page fade-in */
body {
    opacity: 0;
    transition: opacity .4s ease-in;
}

body.ready {
    opacity: 1;
}

/* Section spacing */
.section {
    padding: clamp(48px, 8vw, 96px) 0;
}

/* Hero */
.vk-hero {
    position: relative;
    background: var(--vk-gradient);
    color: #fff;
    overflow: hidden;
}

.vk-hero .bubble {
    position: absolute;
    inset: -10% -10% auto auto;
    width: 45vmax;
    height: 45vmax;
    background: radial-gradient(closest-side, rgba(255, 255, 255, .25), rgba(255, 255, 255, 0));
    filter: blur(30px);
    transform: translate3d(0, 0, 0);
    animation: float 12s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes float {
    to {
        transform: translate3d(-20px, -20px, 0) scale(1.03);
    }
}

.vk-hero h1 {
    font-weight: 800;
    letter-spacing: -.5px;
}

.vk-hero .lead {
    opacity: .95;
}

/* Glassy cards */
.vk-card {
    background: var(--vk-card-bg);
    backdrop-filter: var(--vk-blur);
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 1.25rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
    transition: transform .25s ease, box-shadow .25s ease;
}

.vk-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .12);
}

/* Feature icons */
.vk-icon {

    height: 3rem;
    display: inline-grid;
    place-items: center;
    border-radius: .85rem;
    background: #fff;
    box-shadow: 0 6px 20px rgba(13, 110, 253, .25);
}

/* Steps */
.vk-step {
    position: relative;
}

.vk-step::before {
    content: attr(data-step);
    position: absolute;
    inset-inline-start: -1.25rem;
    inset-block-start: -1.25rem;
    width: 2.5rem;
    height: 2.5rem;
    display: grid;
    place-items: center;
    border-radius: 1rem;
    color: #fff;
    background: var(--vk-gradient);
    box-shadow: 0 6px 20px rgba(0, 0, 0, .12);
    font-weight: 700;
}

/* Reveal on scroll */
.reveal {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity .6s ease, transform .6s ease;
}

.reveal.show {
    opacity: 1;
    transform: none;
}

/* CTA button micro-interaction */
.btn-cta {
    border-radius: 999px;
    padding: .75rem 1.25rem;
    box-shadow: 0 10px 30px rgba(13, 110, 253, .25);
    transition: transform .15s ease, box-shadow .2s ease;
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(13, 110, 253, .3);
}

/* Illustration holder */
.vk-illus {
    aspect-ratio: 4/3;
    background: conic-gradient(from 180deg at 50% 50%, #f8f9fa, #eef6ff, #f7ecff, #eafaf4, #f8f9fa);
    border-radius: 1.25rem;
    overflow: hidden;
    position: relative;
}

.vk-illus img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Accessibility: reduce motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}


.vk-card .vk-icon img {
    width: 100%;
    /* پر کنه عرض کارت رو */
    height: 150px;
    /* هرچی خواستی ارتفاع ثابت بده */
    object-fit: contain;
    /* تناسب عکس حفظ بشه */
    display: block;
    margin: 0 auto;
}




.accordion-button {
    border-radius: 0.75rem !important;
    background: #f8f9fa;
    font-weight: 500;
    transition: all 0.3s ease;
}

.accordion-button:not(.collapsed) {
    color: #fff!important;
    background: #ea1666!important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.accordion-body {
    line-height: 1.7;
    color: #555;
}

#scrollTopBtn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #efa722;
    /* آبی ویکی کالا */
    color: #fff;
    border: none;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    display: none;
    /* اول مخفی باشه */
    align-items: center;
    justify-content: center;
    z-index: 999;
    transition: all 0.3s ease;
    font-size: 20px;
}

#scrollTopBtn:hover {
    background-color: #f5ca79;
    transform: scale(1.1);
}



.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 20px;
    left: 20px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.whatsapp-float img {
    width: 35px;
    height: 35px;
}





@media (min-width: 990px) {
    .mm {
        overflow-x: auto;
        white-space: nowrap;
        flex-wrap: nowrap !important;

    }

    .mm li {
        flex: 0 0 auto;
        /* آیتم‌ها اندازه خودشون بمونن */
    }
}

@media (min-width: 990px) {
    .mid-section .mm {
        flex-wrap: nowrap;
        /* المان‌های اصلی هم توی یک خط بمونن */
    }
}



#welcome {
    padding: 0px 15px;
    /* فاصله داخلی برای زیبایی */
    border-radius: 10px;
    /* گوشه‌های گرد */
    transition: all 0.3s ease;
    /* حرکت نرم */
}

#welcome:hover {
    border: 2px solid #ff7f27;
    /* رنگ شیک برای هاور */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    /* سایه ملایم برای جلوه */
    background-color: rgba(255, 255, 255, 0.1);
    /* نرمی رنگ بکگراند */
    cursor: pointer;
    /* موس تغییر کنه */
}



.offcanvas-item {
    padding: 12px 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    transition: background 0.3s;
}

.offcanvas-item a {
    text-decoration: none;
    color: #333;
    display: block;
}

.offcanvas-item:hover {
    background-color: rgba(0, 0, 0, 0.05);
}


.offcanvas-body ul.menu-group {
    padding: 0;
    margin: 0;
}

.offcanvas-body ul.menu-group li {

    list-style: none;
}

.offcanvas-body ul.menu-group li.group-label {
    font-weight: bold;
    font-size: 14px;
    padding-bottom: 5px;
}

.offcanvas-body ul.menu-group li a {
    text-decoration: none;
    color: #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.offcanvas-body ul.menu-group li a:hover {
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 5px;
}

.offcanvas-body ul.menu-group li.group-divider {
    border-bottom: 2px solid #ccc;
    margin: 5px 0;
}

.submenu li a {
    padding-left: 20px;
    font-size: 13px;
}

.btn-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    background-color: #eb1668;
    border: 1px solid #665b5b;
    display: flex;
    justify-content: center; 
    width: 100%;
    padding: 10px;
    text-align: center;
    direction: ltr;
}

.btn-link:hover {
    text-decoration: underline;
}



/* کل لی را هاور می‌کند */
.menu-group li a {
    display: block;
    /* این باعث می‌شود کل فضای li کلیک‌پذیر و هاور شود */
    padding: 10px 15px;
    /* فضای هاور بزرگتر */
    border-radius: 5px;
    /* گوشه‌های ملایم */
    transition: background 0.3s;
}

.menu-group li a:hover {
    background-color: #e0e0e0;
    /* رنگ هاور شیک */
    text-decoration: none;
}


#submenuContainer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 1050;
    display: none;
}

#topbar-menu {
    color: #7f8b9f;
}



#offcanvasMain {
    width: 70% !important;
    max-width: 70% !important;
}



.mega-menu-container {
    display: flex;
    width: 100%;
    background: #fff;
    border: 1px solid #ddd;
    min-height: 400px;
}

.mega-menu-categories {
    width: 23%;
    background: #f8f9fa;
    float: right;
    border-left: 1px solid #ddd;
}


.mega-menu-categories li {
    padding: 12px 16px;
    cursor: pointer;
    transition: background 0.2s;
}

.mega-menu-categories li:hover,
.mega-menu-categories li.active {
    background: #7f8b9f;
    color: #fff;
}

.mega-menu-subcategories {
    width: 80%;
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
}

.mega-submenu {
    display: none;
}



.submenu-column {
    flex: 1;
}

.submenu-column h6 {
    font-weight: bold;
    margin-bottom: 10px;
    color: #eb1668;
}




/* دسته‌های اصلی */


.mega-menu-categories ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    /* مرتب عمودی */
    gap: 5px;
}

.mega-menu-categories li {
    padding: 10px;
    cursor: pointer;
}

.mega-menu-categories li.active,
.mega-menu-categories li:hover {
    background: #eb1668;
}

/* زیرمنوها */
.mega-menu-subcategories {
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}



.mega-submenu.show {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}




.submenu-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.submenu-column ul li {

    padding: 2px 0px;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.submenu-column ul li a {
    text-decoration: none;
    color: #333;
    transition: 0.2s;
    font-size: 14px;
}


.submenu-column ul li a:hover {
    color:#eb1668 !important;
}




.mm {
    overflow-y: auto;
    /* اسکرول همیشه کار کنه */
    scrollbar-width: none;
    /* فایرفاکس: نوارو محو کن */
    -ms-overflow-style: none;
    /* IE/Edge قدیمی */
}


.footer-icon {
    color: #6c757d !important;
}

.chat-box {
    border: 1px solid #ced4da;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    color: #ea1666;
    display: inline-flex;
    align-items: center;
}

.chat-box:hover {
    border-color: #df92b0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* آیکن فلش زن سریع‌تر */
.chat-icon {
    font-size: 1.2rem;
    animation: chat-flash 0.8s infinite alternate;
    /* زمان کمتر = سریع‌تر */
}

@keyframes chat-flash {
    0% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.6;
    }
}


.footer-link {
    color: #6c757d;
    /* متن خاکستری */
    text-decoration: none;
    position: relative;
    transition: color 0.3s;
}

.footer-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    left: 0;
    bottom: -2px;
    background-color: #ff7f27;
    /* رنگ آبی هاور */
    transition: width 0.3s;
}

.footer-link:hover {
    color: #ff7f27;
    /* رنگ متن روی هاور */
}

.footer-link:hover::after {
    width: 100%;
    /* underline کامل روی هاور */
}

.licenses img {
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.licenses img:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    border-color: rgba(0, 0, 0, 0.2);
}


.brandSwiper .swiper-slide div {
    width: 100px;
    height: 100px;
}

.brandSwiper .swiper-slide img {
    width: 80px;
    height: 80px;
}

.brand-name {
    text-align: center;
    font-size: 0.9rem;
    word-break: break-word;
    /* برای اسم‌های طولانی */
}

@media (max-width: 767px) {
    .brandSwiper .swiper-slide div {
        width: 70px;
        height: 70px;
    }

    .brandSwiper .swiper-slide img {
        width: 50px;
        height: 50px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .brandSwiper .swiper-slide div {
        width: 90px;
        height: 90px;
    }

    .brandSwiper .swiper-slide img {
        width: 70px;
        height: 70px;
    }
}


.swiper-button-next,
.swiper-button-prev {
    background-color: #b1b3b5;
    color: #fff;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background-color: #e0e0e0;
    color: #000;
    transform: scale(1.1);
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 10px;
    font-weight: bold;
}


.brand-slide-circle {
    width: 100px;
    height: 100px;
}

.brand-slide-circle img {
    width: 80px;
    height: 80px;
}

/* موبایل */
@media (max-width: 576px) {
    .brand-slide-circle {
        width: 60px;
        height: 60px;
    }

    .brand-slide-circle img {
        width: 50px;
        height: 50px;
    }
}

/* تبلت */
@media (min-width: 577px) and (max-width: 991px) {
    .brand-slide-circle {
        width: 80px;
        height: 80px;
    }

    .brand-slide-circle img {
        width: 70px;
        height: 70px;
    }
}




.subcategory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 20px;
}

.subcategory-item a {
    text-decoration: none;
    color: inherit;
}

.subcategory-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #ddd;
    overflow: hidden;
    margin: 0 auto;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.subcategory-circle img {
    width: 80%;
    height: 80%;
    object-fit: contain;
}

.subcategory-circle:hover {
    transform: scale(1.08);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.subcategory-name {
    font-size: 0.9rem;
    margin-top: 5px;
    word-break: break-word;
}

/* موبایل */
@media (max-width: 576px) {
    .subcategory-circle {
        width: 70px;
        height: 70px;
    }

    .subcategory-name {
        font-size: 0.8rem;
    }
}

/* تبلت */
@media (min-width: 577px) and (max-width: 991px) {
    .subcategory-circle {
        width: 85px;
        height: 85px;
    }
}

#see-all {

    color: white !important;
}





.swiper-pagination-bullet {
    background: #fff;
    opacity: 0.8;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background: #ff4f5a;
}


.with-bullets {
    list-style: disc !important;
    padding-left: 20px !important;
}

.list-unstyled li a {
    font-size: 14px;
    background-color: #e9e9e9;
    border-bottom: 1px solid;
    text-align: center;
    margin-bottom: 5px;
}
.mega-menu-parent a{
    font-size: 16px;

}
.mob-menu {
    background-color: #b1b3b5;
    height: 40px;
}

.mob-menu ul {
    padding-right: 0;
}

.mob-menu ul li a {
    overflow-y: hidden;
    width: 110px;
    font-size: 13px;
    border-left: 1px solid white;
    text-align: center;
}

@media (min-width: 990px) {
    .mob-menu {
        display: none;
    }

}

@media (max-width: 990px) {
    .footer-mob-txt {
        font-size: 12px;
    }

    .mob-title {
        text-align: center;
    }

    .footer-mob-des {
        padding: 0 20px;
        text-align: center;
    }
}

.fixed {
    position: fixed!important;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: #fff;
}