/* 
 * Custom CSS - تغییرات سفارشی تم
 * این فایل برای تغییرات بدون نیاز به کامپایل استفاده می‌شود
 */

body.front-shop-desktop {
    --fs-red: #e61212;
    --fs-red-dark: #cf1312;
    --fs-radius-pill: 999px;
    --fs-radius-card: 24px;
    --fs-container: 1200px;
    --color-brand: #e61212;
    --color-brand-2: #cf1312;
    --primary-color: #e61212;
    --color-primary: #e61212;
    --color-danger: #e61212;
}

body.front-shop-desktop .header-top {
    display: none !important;
}

/* ============================================
   Footer Red Style - مطابق طرح فیگما
   ============================================ */

/* Wrapper برای فوتر و دکمه */
.footer-wrapper {
    position: relative;
    max-width: 1200px;
    width: calc(100% - 40px);
    margin: 50px auto 30px auto;
}

@media (min-width: 1400px) {
    .footer-wrapper {
        max-width: 1320px;
    }
}

@media (max-width: 1199px) {
    .footer-wrapper {
        max-width: 960px;
    }
}

@media (max-width: 991px) {
    .footer-wrapper {
        max-width: 720px;
    }
}

@media (max-width: 767px) {
    .footer-wrapper {
        max-width: 100%;
        width: calc(100% - 20px);
        margin: 40px auto 20px auto;
    }
}

/* پس‌زمینه اصلی فوتر */
footer.main {
    background-color: #e61212 !important;
    color: #ffffff !important;
    position: relative;
    overflow: visible !important;
    border-radius: 30px 30px 30px 30px !important;
    margin: 0 !important;
    padding-top: 30px;
    padding-bottom: 30px;
    width: 100% !important;
}


/* دکمه Scroll to Top در بالای فوتر (گرد و در مرکز) */
.footer-wrapper #scrollUp {
    position: absolute !important;
    top: -25px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 50px !important;
    height: 50px !important;
    background-color: #e61212 !important;
    color: #ffffff !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    z-index: 10 !important;
    box-shadow: none !important;
    transition: all 0.3s ease !important;
    border: 3px solid #e61212 !important;
    opacity: 1 !important;
    visibility: visible !important;
    right: auto !important;
    bottom: auto !important;
    margin: 0 !important;
}

.footer-wrapper #scrollUp:hover {
    background-color: #b0100f !important;
    transform: translateX(-50%) translateY(-5px) !important;
    box-shadow: none !important;
}

.footer-wrapper #scrollUp i {
    color: #ffffff !important;
    font-size: 20px !important;
    line-height: 1 !important;
    display: block !important;
    margin: 0 !important;
}

/* بخش اصلی فوتر */
footer.main .section-padding-60 {
    padding: 60px 0 40px 0;
    background-color: transparent;
}

/* استایل برای تمام ویجت‌ها */
footer.main .widget,
footer.main .col-lg-2,
footer.main .col-lg-3,
footer.main .col-lg-4,
footer.main .col-lg-6,
footer.main .col-md-3,
footer.main .col-md-4,
footer.main .col-md-6 {
    color: #ffffff;
}

/* عناوین ویجت‌ها */
footer.main .widget-title,
footer.main h4,
footer.main h5,
footer.main h6 {
    color: #ffffff !important;
    font-weight: 600 !important;
    margin-bottom: 20px !important;
    font-size: 16px !important;
}

footer.main .widget-about h4,
footer.main .widget-about h5 {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* متن‌های عمومی */
footer.main p,
footer.main span,
footer.main div,
footer.main .font-md {
    color: rgba(255, 255, 255, 0.9) !important;
}

footer.main .text-muted {
    color: rgba(255, 255, 255, 0.7) !important;
}

footer.main strong {
    color: rgba(255, 255, 255, 0.95) !important;
    font-weight: 600;
}

/* لینک‌های فوتر */
footer.main a {
    color: rgba(255, 255, 255, 0.8) !important;
    text-decoration: none;
    transition: all 0.3s ease;
}

footer.main a:hover {
    color: #ffffff !important;
    text-decoration: none;
}

/* لیست لینک‌های فوتر */
footer.main .footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

footer.main .footer-list li {
    margin-bottom: 12px;
    transition: padding-left 0.3s ease;
}

footer.main .footer-list li:hover {
    padding-left: 5px;
}

footer.main .footer-list li a {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 14px;
    display: block;
}

footer.main .footer-list li a:hover {
    color: #ffffff !important;
    padding-left: 0;
}

/* لوگو در فوتر */
footer.main .logo img {
    filter: brightness(0) invert(1);
    max-width: 150px;
}

/* اطلاعات تماس */
footer.main .widget-about {
    color: rgba(255, 255, 255, 0.9);
}

footer.main .widget-about p {
    margin-bottom: 10px;
    line-height: 1.8;
}

/* لینک‌های شبکه‌های اجتماعی */
footer.main .mobile-social-icon {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

footer.main .mobile-social-icon a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    color: #ffffff !important;
}

footer.main .mobile-social-icon a:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

footer.main .mobile-social-icon a i,
footer.main .mobile-social-icon a svg {
    color: #ffffff !important;
    font-size: 18px;
}

/* فرم خبرنامه */
footer.main .newsletter {
    color: rgba(255, 255, 255, 0.9);
}

footer.main .newsletter h4,
footer.main .newsletter h5 {
    color: #ffffff !important;
}

footer.main .newsletter input[type="email"],
footer.main .newsletter input[type="text"] {
    background-color: rgba(255, 255, 255, 0.15) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    color: #ffffff !important;
    border-radius: 50px 0 0 50px;
    padding: 12px 20px;
}

footer.main .newsletter input[type="email"]::placeholder,
footer.main .newsletter input[type="text"]::placeholder {
    color: rgba(255, 255, 255, 0.6) !important;
}

footer.main .newsletter button,
footer.main .newsletter .btn {
    background-color: rgba(255, 255, 255, 0.2) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    color: #ffffff !important;
    border-radius: 0 50px 50px 0;
    padding: 12px 30px;
    transition: all 0.3s ease;
}

footer.main .newsletter button:hover,
footer.main .newsletter .btn:hover {
    background-color: rgba(255, 255, 255, 0.3) !important;
    color: #ffffff !important;
}

/* روش‌های پرداخت */
footer.main .payment-methods img {
    filter: brightness(0) invert(1);
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

footer.main .payment-methods img:hover {
    opacity: 1;
}

/* بخش پایین فوتر (Footer Bottom) */
footer.main .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2) !important;
    margin-top: 30px;
    padding-top: 20px;
    padding-bottom: 20px;
}

footer.main .footer-bottom p {
    color: rgba(255, 255, 255, 0.7) !important;
    margin: 0;
    font-size: 14px;
}

/* آیکون‌ها */
footer.main i,
footer.main .fa,
footer.main .far,
footer.main .fas,
footer.main .fal {
    color: rgba(255, 255, 255, 0.8) !important;
}

footer.main svg {
    fill: rgba(255, 255, 255, 0.8) !important;
}

/* جداول */
footer.main table {
    color: rgba(255, 255, 255, 0.9) !important;
}

footer.main table td,
footer.main table th {
    color: rgba(255, 255, 255, 0.9) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
}

/* فرم‌های عمومی */
footer.main input:not([type="email"]):not([type="text"]),
footer.main textarea,
footer.main select {
    background-color: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
    color: #ffffff !important;
}

footer.main input:focus,
footer.main textarea:focus,
footer.main select:focus {
    background-color: rgba(255, 255, 255, 0.15) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
    color: #ffffff !important;
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1);
}

/* دکمه‌های عمومی */
footer.main button:not(.newsletter button):not(.btn),
footer.main .btn:not(.newsletter .btn) {
    background-color: rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
    transition: all 0.3s ease;
}

footer.main button:not(.newsletter button):not(.btn):hover,
footer.main .btn:not(.newsletter .btn):hover {
    background-color: rgba(255, 255, 255, 0.3) !important;
    color: #ffffff !important;
}

/* استایل برای دسته‌بندی محصولات در فوتر */
footer.main .product-categories a {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* استایل برای برندها در فوتر */
footer.main .featured-brands img {
    filter: brightness(0) invert(1);
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

footer.main .featured-brands img:hover {
    opacity: 1;
}

/* استایل برای محصولات در فوتر */
footer.main .featured-products .product-item {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

footer.main .featured-products .product-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* انیمیشن‌ها */
footer.main .wow {
    visibility: visible;
}

/* ============================================
   Header Bottom Style - محدود کردن عرض و گرد کردن
   ============================================ */

/* استایل header-bottom - محدود کردن عرض و گرد کردن */
.header-bottom.header-bottom-bg-color.sticky-bar,
.header-bottom.header-bottom-bg-color,
.header-bottom.sticky-bar {
    max-width: 1200px !important;
    margin: 0 auto !important;
    border-radius: 30px 30px 30px 30px !important;
    background-color: #e61212 !important;
}

/* منوی اصلی در header-bottom */
.header-bottom .main-menu > nav > ul > li > a {
    color: #ffffff !important;
    font-weight: 500;
    transition: all 0.3s ease;
}

.header-bottom .main-menu > nav > ul > li > a:hover {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* دکمه Browse Categories - مطابق طرح فیگما */
.header-bottom .main-categories-wrap > a.categories-button-active {
       background-color: #ffffff !important;
    color: #212529 !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 30px !important;
    padding: 9px 20px !important;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    min-width: 179px !important;
    width: auto !important;
}
.main-categories-wrap>a i:not(.down):not(.up) {
    margin-left: 15px;
    margin-right: 0px;
}
.header-bottom .main-categories-wrap > a.categories-button-active:hover {
    background-color: rgba(255, 255, 255, 0.25) !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
}

.header-bottom .main-categories-wrap > a.categories-button-active i,
.header-bottom .main-categories-wrap > a.categories-button-active .fa {
    color: #333 !important;
    font-size: 14px;
}

/* Hotline در header-bottom */
.header-bottom .hotline p {
    color: #ffffff !important;
}

.header-bottom .hotline p i {
    color: #ffffff !important;
}

.header-bottom .hotline p span {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* آیکون‌های header-bottom (موبایل) */
.header-bottom .header-action-icon-2 img {
    filter: brightness(0) invert(1);
}

.header-bottom .pro-count {
    background-color: rgba(255, 255, 255, 0.25) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
}

.header-bottom .pro-count.white {
    background-color: rgba(255, 255, 255, 0.25) !important;
    color: #ffffff !important;
}

/* منوی dropdown دسته‌بندی‌ها */
.header-bottom .categories-dropdown-wrap {
    background-color: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1) !important;
}

.header-bottom .categories-dropdown-active-large {
    top: calc(100% + 10px) !important;
    margin-top: 0 !important;
    position: absolute !important;
}

.header-bottom .categories-dropdown-wrap ul li a {
    color: #333333 !important;
}

.header-bottom .categories-dropdown-wrap ul li a:hover {
    color: #cf1312 !important;
    background-color: rgba(207, 19, 18, 0.05) !important;
}

/* Burger Menu در موبایل */
.header-bottom .burger-icon span {
    background-color: #ffffff !important;
}

/* ============================================
   Hero Slider Style - مطابق عکس پیوست شده
   ============================================ */

/* محدود کردن عرض اسلایدر و گرد کردن */
.home-slider {
    max-width: 1200px !important;
    width: calc(100% - 40px) !important;
    margin: 30px auto !important;
}

.home-slider .hero-slider-1 {
    border-radius: 30px !important;
    overflow: hidden !important;
}

.home-slider .hero-slider-1 .slider-1-height-3,
.home-slider .hero-slider-1 .slider-1-height-2 {
    border-radius: 30px !important;
    overflow: hidden !important;
}

/* تنظیم ارتفاع اسلایدر برای جلوگیری از فضای خالی پایین */
@media (min-width: 768px) {
    .home-slider .hero-slider-1.style-3 .slider-1-height-3 {
    height: 401px !important;
}

}
.home-slider:not(.front-shop-hero) .hero-slider-1 .slider-img {
    border-radius: 30px !important;
    overflow: hidden !important;
}

.home-slider:not(.front-shop-hero) .hero-slider-1 img {
    border-radius: 30px !important;
}

/* Container در اسلایدر */
.home-slider .container {
    max-width: 100% !important;
    padding: 0 !important;
}

/* محتوای اسلایدر — front-shop-hero جداگانه در موبایل استایل می‌شود */
.home-slider:not(.front-shop-hero) .hero-slider-content-2 {
    border-radius: 30px !important;
    padding-left: 0 !important;
    padding-right: 100px !important;
}

/* دکمه‌های ناوبری اسلایدر - سفید */
.home-slider .slider-arrow .slider-btn {
    background-color: rgba(255, 255, 255, 0.9) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    color: #333333 !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
}

.home-slider .slider-arrow .slider-btn:hover {
    background-color: #ffffff !important;
    color: #333333 !important;
    border-color: #ffffff !important;
}

.home-slider .slider-arrow .slider-btn i {
    color: #333333 !important;
}

/* Dots اسلایدر - در بالای سمت راست */
.home-slider .dot-style-1-position-1 ul {
    position: absolute !important;
    top: 0px !important;
    right: 50px !important;
    left: auto !important;
    bottom: auto !important;
    transform: none !important;
    -webkit-transform: none !important;
    padding: 0 !important;
    min-height: 28px !important;
    min-width: 120px !important;
}

/* SVG پس‌زمینه - کنترل مستقل اندازه و موقعیت */
.home-slider .dot-style-1-position-1 ul::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 35px !important;
    width: 100% !important;
    height: 100% !important;
    background-image: url('../../../vendor/core/plugins/simple-slider/images/bg-dos.svg') !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    background-size: 130% 130% !important;

    pointer-events: none !important;
    /* سفید کردن SVG */
    filter: brightness(0) invert(1) !important;
    -webkit-filter: brightness(0) invert(1) !important;
}

/* دکمه‌های dots - اطمینان از نمایش روی SVG */
.home-slider .dot-style-1-position-1 ul li {
    position: relative !important;
    z-index: 1 !important;
}

/* رنگ dots - غیراکتیو */
.home-slider .dot-style-1 ul li button {
    border-color: #9cadc1 !important;
    background-color: #9cadc1 !important;
    position: relative !important;
    z-index: 2 !important;
}

.home-slider .dot-style-1 ul li button:hover {
    background-color: #9cadc1 !important;
    border-color: #9cadc1 !important;
}

/* رنگ dots - اکتیو */
.home-slider .dot-style-1 ul li.slick-active button {
    background-color: #1f5093 !important;
    border-color: #1f5093 !important;
}


/* برای صفحات بزرگ‌تر */
@media (min-width: 1400px) {
    .home-slider {
        max-width: 1320px !important;
    }
}

/* برای صفحات کوچک‌تر */
@media (max-width: 1199px) {
    .home-slider {
        max-width: 960px !important;
    }
}

@media (max-width: 991px) {
    .home-slider {
        max-width: 720px !important;
    }
}

@media (max-width: 767px) {
    .home-slider {
        max-width: 100% !important;
        width: calc(100% - 20px) !important;
        margin: 20px auto !important;
    }
    
    .home-slider .hero-slider-1 {
        border-radius: 25px !important;
    }
    
    .home-slider .hero-slider-1 .slider-1-height-3,
    .home-slider .hero-slider-1 .slider-1-height-2 {
        border-radius: 25px !important;
    }
    
    /* تنظیم ارتفاع اسلایدر در موبایل — front-shop-hero جدا */
    .home-slider:not(.front-shop-hero) .hero-slider-1.style-3 .slider-1-height-3 {
        height: auto !important;
        min-height: 300px !important;
    }
    
    .home-slider:not(.front-shop-hero) .hero-slider-1 .slider-img {
        border-radius: 25px !important;
    }
    
    .home-slider:not(.front-shop-hero) .hero-slider-1 img {
        border-radius: 25px !important;
    }
}

/* برای صفحات بزرگ‌تر */
@media (min-width: 1400px) {
    .header-bottom.header-bottom-bg-color.sticky-bar,
    .header-bottom.header-bottom-bg-color,
    .header-bottom.sticky-bar {
        max-width: 1320px !important;
    }
}

/* برای صفحات کوچک‌تر */
@media (max-width: 1199px) {
    .header-bottom.header-bottom-bg-color.sticky-bar,
    .header-bottom.header-bottom-bg-color,
    .header-bottom.sticky-bar {
        max-width: 960px !important;
    }
}

@media (max-width: 991px) {
    .header-bottom.header-bottom-bg-color.sticky-bar,
    .header-bottom.header-bottom-bg-color,
    .header-bottom.sticky-bar {
        max-width: 720px !important;
    }
}

@media (max-width: 767px) {
    .header-bottom.header-bottom-bg-color.sticky-bar,
    .header-bottom.header-bottom-bg-color,
    .header-bottom.sticky-bar {
        max-width: 100% !important;
        width: calc(100% - 20px) !important;
        border-radius: 25px 25px 25px 25px !important;
    }
}

/* غیرفعال‌سازی sticky هدر — نوار در جای طبیعی می‌ماند */
.sticky-bar.stick.sticky-blue-bg,
.sticky-bar.stick {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    animation: none !important;
    z-index: auto !important;
    box-shadow: none !important;
}

/* Responsive - موبایل */
@media (max-width: 768px) {
    footer.main {
        border-radius: 25px 25px 25px 25px !important;
        margin-top: 40px;
        padding-top: 25px;
    }
    
    footer.main .section-padding-60 {
        padding: 40px 0 30px 0;
    }
    
    footer.main .widget-title,
    footer.main h4,
    footer.main h5 {
        margin-bottom: 15px !important;
        font-size: 15px !important;
    }
    
    footer.main .footer-list li {
        margin-bottom: 10px;
    }
    
    footer.main .mobile-social-icon {
        gap: 8px;
    }
    
    footer.main .mobile-social-icon a {
        width: 36px;
        height: 36px;
    }
    
    .footer-wrapper #scrollUp {
        width: 45px !important;
        height: 45px !important;
        top: -22px !important;
    }
    
    .footer-wrapper #scrollUp i {
        font-size: 18px !important;
    }
}

/* ============================================
   Fix FOUC (Flash of Unstyled Content) - اسلایدر
   ============================================ */

/* مخفی کردن همه اسلایدها به جز اولی قبل از لود شدن JavaScript */
.hero-slider-1:not(.slick-initialized) .single-hero-slider {
    display: none !important;
}

.hero-slider-1:not(.slick-initialized) .single-hero-slider:first-child {
    display: block !important;
}

/* وقتی Slick carousel لود شد، خودش مدیریت می‌کند */
.hero-slider-1.slick-initialized .single-hero-slider {
    display: block !important;
}

/* Fix categories button icon position - prevent icon from moving when menu opens/closes */
.header-bottom .main-categories-wrap > a.categories-button-active {
    position: relative !important;
}

.header-bottom .main-categories-wrap > a.categories-button-active i.down,
.header-bottom .main-categories-wrap > a.categories-button-active i.up {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    left: 15px !important;
    right: auto !important;
    margin: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 0 !important;
}

.header-bottom .main-categories-wrap > a.categories-button-active.open i.down {
    opacity: 0 !important;
    visibility: hidden !important;
    left: 15px !important;
    right: auto !important;
}

.header-bottom .main-categories-wrap > a.categories-button-active.open i.up {
    opacity: 1 !important;
    visibility: visible !important;
    left: 15px !important;
    right: auto !important;
}

.header-bottom .main-categories-wrap > a.categories-button-active:not(.open) i.down {
    opacity: 1 !important;
    visibility: visible !important;
    left: 15px !important;
    right: auto !important;
}

.header-bottom .main-categories-wrap > a.categories-button-active:not(.open) i.up {
    opacity: 0 !important;
    visibility: hidden !important;
    left: 15px !important;
    right: auto !important;
}

/* ============================================
   Footer Layout - ساختار فوتر مطابق تصویر
   ============================================ */

/* بخش چپ فوتر - شبکه‌های اجتماعی */
.footer-left-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* بخش راست فوتر - لوگو و متن توضیحات کنار هم */
.footer-right-section {
    display: flex;
    align-items: stretch;
}

/* Wrapper برای لوگو و متن توضیحات */
.footer-logo-text-wrapper {
	    margin-top: 30px;
    display: flex;
    align-items: center;
    gap: 25px;
    width: 100%;
    flex-wrap: wrap;
}

/* Container برای کادر توضیحات و بخش شبکه‌های اجتماعی کنار هم */
.footer-panels-container {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    width: 100%;
    flex-wrap: wrap;
}

/* کادر سفید شفاف برای لوگو */
.logo-box-wrapper {
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 15px;
    padding: 20px 25px;
    display: inline-block;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo-box-wrapper .logo {
    margin: 0;
}

.logo-box-wrapper .logo a {
    display: block;
}

.logo-box-wrapper .logo a img {
    display: block;
    max-width: 100%;
    height: auto;
}

/* پنل متن توضیحات */
.footer-description-panel {
    margin-right: 50px;
    background-color: rgb(255 255 255 / 17%);
    border-radius: 20px;
    padding: 30px 35px;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    max-width: 70%;
}

/* Inner wrapper برای لوگو و متن کنار هم */
.footer-panel-inner {
    display: flex;
    align-items: center;
    gap: 25px;
    width: 100%;
}

/* لوگو داخل پنل (بدون کادر) */
.footer-logo-inner {
    flex-shrink: 0;
}

.footer-logo-inner .logo {
    margin: 0;
}

.footer-logo-inner .logo a {
    display: block;
}

.footer-logo-inner .logo a img {
    display: block;
    max-width: 100%;
    height: auto;
}

/* محتوای متن */
.footer-content-inner {
    flex: 1;
    min-width: 0;
}

.footer-content-inner .panel-title {
    margin-bottom: 20px;
}

.footer-content-inner .panel-title h3 {
    color: #ffffff;
    font-size: 20px;
    font-weight: 600;
    margin: 0;
}

.footer-content-inner .panel-content {
    flex: 1;
}

.footer-content-inner .panel-content div {
    color: #ffffff;
    font-size: 15px;
    line-height: 1.8;
    text-align: right;
}

/* بخش شبکه‌های اجتماعی کنار کادر */
.footer-panels-container .widget-social-section {
    margin-top: 0;
    margin-bottom: 0;
    flex: 0 0 auto;
    min-width: 200px;
}

.footer-panels-container .widget-social-section h4 {
    color: #ffffff !important;
    font-size: 18px;
    margin-bottom: 15px !important;
    margin-top: 0 !important;
}

/* آیکون‌های شبکه‌های اجتماعی در فوتر */
.footer-panels-container .mobile-social-icon {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-panels-container .mobile-social-icon a.footer-social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background-color: transparent !important;
    border: 2px solid rgba(255, 255, 255, 0.5) !important;
    color: #ffffff !important;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-panels-container .mobile-social-icon a.footer-social-link:hover {
    background-color: rgba(255, 255, 255, 0.2) !important;
    border-color: rgba(255, 255, 255, 0.8) !important;
    transform: translateY(-2px);
}

.footer-panels-container .mobile-social-icon a.footer-social-link svg,
.footer-panels-container .mobile-social-icon a.footer-social-link i {
    color: #ffffff !important;
    font-size: 18px;
}

/* Responsive */
@media (max-width: 991px) {
    /* فاصله از کناره‌ها در تبلت */
    footer.main .section-padding-60 .container {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
    
    footer.main .section-padding-60 .container .row {
        margin-left: -10px !important;
        margin-right: -10px !important;
    }
    
    footer.main .section-padding-60 .container .row > [class*="col-"] {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
    
    .footer-left-section {
        margin-bottom: 30px;
    }
    
    .footer-logo-text-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .footer-panels-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .footer-description-panel {
        padding: 25px 20px;
        max-width: 100%;
        width: 100%;
    }
    
    .footer-panel-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .footer-panels-container .widget-social-section {
        width: 100%;
        min-width: auto;
    }
}

@media (max-width: 767px) {
    /* فاصله از کناره‌ها در موبایل */
    footer.main .section-padding-60 .container {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    
    footer.main .section-padding-60 .container .row {
        margin-left: -7.5px !important;
        margin-right: -7.5px !important;
    }
    
    footer.main .section-padding-60 .container .row > [class*="col-"] {
        padding-left: 7.5px !important;
        padding-right: 7.5px !important;
    }
    
    .footer-logo-text-wrapper {
        flex-direction: column;
        gap: 15px;
    }
    
    .footer-panel-inner {
        flex-direction: column;
        gap: 15px;
    }
    
    .footer-panels-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .footer-description-panel {
        padding: 20px 15px;
        border-radius: 15px;
        max-width: 100%;
        width: 100%;
    }
    
    .footer-panels-container .widget-social-section {
        width: 100%;
        min-width: auto;
    }
    
    .footer-content-inner .panel-content div {
        font-size: 14px;
    }
    
    footer.main .widget-about,
    footer.main .widget {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

/* Front Shop Hero — رنگ متن و تصویر یکسان در همه اندازه‌ها */
.home-slider.front-shop-hero .hero-slider-content-2,
.home-slider.front-shop-hero .hero-slider-content-2 h1,
.home-slider.front-shop-hero .hero-slider-content-2 h2,
.home-slider.front-shop-hero .hero-slider-content-2 h4,
.home-slider.front-shop-hero .hero-slider-content-2 p,
.home-slider.front-shop-hero .hero-slider-content-2 .text-brand {
    color: #fff !important;
    opacity: 1 !important;
}

@media screen and (max-width: 1025px) {
    .home-slider.front-shop-hero .hero-slider-1.style-3 .hero-slider-content-2 .btn,
    .home-slider.front-shop-hero .hero-slider-1.style-3 .hero-slider-content-2 a.btn {
        color: #1a2332 !important;
    }
}

.home-slider.front-shop-hero .slider-arrow,
.home-slider.front-shop-hero .slider-btn,
.home-slider.front-shop-hero .hero-slider-1-arrow {
    display: none !important;
}

/* Front Shop Hero — Slick fade (فایل slick.css تم قوانین fade ندارد) */
.home-slider.front-shop-hero .hero-slider-1.style-3.slick-slider.slick-fade .slick-list,
.home-slider.front-shop-hero .hero-slider-1.style-3.slick-initialized.slick-slider .slick-list {
    position: relative;
}

.home-slider.front-shop-hero .hero-slider-1.style-3.slick-slider.slick-fade .slick-track,
.home-slider.front-shop-hero .hero-slider-1.style-3.slick-initialized.slick-slider .slick-track {
    width: 100% !important;
}

.home-slider.front-shop-hero .hero-slider-1.style-3.slick-slider.slick-fade .slick-slide,
.home-slider.front-shop-hero .hero-slider-1.style-3.slick-initialized.slick-slider .slick-slide {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    float: none !important;
    opacity: 0;
    z-index: 0;
    transition: opacity 500ms ease;
}

.home-slider.front-shop-hero .hero-slider-1.style-3.slick-slider.slick-fade .slick-slide.slick-active,
.home-slider.front-shop-hero .hero-slider-1.style-3.slick-slider.slick-fade .slick-slide.slick-current,
.home-slider.front-shop-hero .hero-slider-1.style-3.slick-initialized.slick-slider .slick-slide.slick-active,
.home-slider.front-shop-hero .hero-slider-1.style-3.slick-initialized.slick-slider .slick-slide.slick-current {
    opacity: 1 !important;
    z-index: 2 !important;
    visibility: visible !important;
}

.home-slider.front-shop-hero .hero-slider-1.style-3.slick-slider.slick-fade .slick-slide.slick-cloned {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

.home-slider.front-shop-hero .hero-slider-1.style-3 .slick-slide.slick-active .slider-img,
.home-slider.front-shop-hero .hero-slider-1.style-3 .slick-slide.slick-active .slider-img img,
.home-slider.front-shop-hero .hero-slider-1.style-3 .slick-slide.slick-active .slider-img picture,
.home-slider.front-shop-hero .hero-slider-1.style-3 .slick-slide.slick-current .slider-img,
.home-slider.front-shop-hero .hero-slider-1.style-3 .slick-slide.slick-current .slider-img img,
.home-slider.front-shop-hero .hero-slider-1.style-3 .slick-slide.slick-current .slider-img picture {
    opacity: 1 !important;
    visibility: visible !important;
}

[dir='rtl'] .home-slider.front-shop-hero .hero-slider-1.style-3.slick-slider.slick-fade .slick-slide {
    float: none !important;
    left: 0 !important;
    right: 0 !important;
}

/* Hero deal — fb-product-card (مطابق shop.frontbaz.ir loop-11935) */
.front-shop-deal-card {
    height: 100%;
}

.front-shop-deal-link.fb-product-card,
.front-shop-product-card.fb-product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 349px;
    padding: 48px 20px 24px;
    background: #fcfcfc;
    border: 2px solid #ededed;
    border-radius: 32px;
    box-shadow: 0 2px 16px -4px rgba(110, 110, 110, 0.24);
    color: #272727;
    text-decoration: none;
    overflow: visible;
}

.front-shop-deal-link.fb-product-card:hover,
.front-shop-product-card.fb-product-card:hover {
    color: #272727;
    text-decoration: none;
}

.front-shop-deal-badge.fb-animated-iconbox {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 2px 0;
    background: #eb1f1e;
    border-radius: 32px 32px 0 0;
    clip-path: polygon(0% 0%, 0% 0%, 0% 100%, 0% 100%);
    animation: front-shop-deal-badge-reveal 3s linear forwards;
    z-index: 2;
}

@keyframes front-shop-deal-badge-reveal {
    to {
        clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
    }
}

.front-shop-deal-badge .elementor-icon-box-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    text-align: center;
}

.front-shop-deal-badge .elementor-icon-box-content {
    flex-grow: 0;
    width: fit-content;
}

.front-shop-deal-badge .elementor-icon {
    display: inline-flex;
    font-size: 16px;
    line-height: 1;
}

.front-shop-deal-badge .elementor-icon svg {
    width: 16px;
    height: 16px;
}

.front-shop-deal-badge .elementor-icon-box-title {
    margin: 0;
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.5;
    color: #fcfcfc;
}

.front-shop-deal-image,
.front-shop-product-card-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70%;
    max-width: 70%;
    flex: 0 0 auto;
    min-height: 0;
    margin: 0;
    background: transparent !important;
    border-radius: 0 !important;
    overflow: visible !important;
}

.front-shop-deal-image img,
.front-shop-product-card-image img {
    width: 100%;
    max-height: 200px;
    object-fit: contain;
    mix-blend-mode: multiply;
    padding: 0 !important;
    background: transparent !important;
}

.front-shop-deal-link.fb-product-card .product_title.front-shop-deal-title,
.front-shop-product-card.fb-product-card .product_title.front-shop-product-card-title {
    width: 100%;
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.6;
    color: #272727;
    display: -webkit-box !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    flex-grow: 1;
    flex-shrink: 0;
}

.front-shop-deal-actions,
.front-shop-product-card-actions {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: flex-end;
    gap: 8px;
    width: 100%;
    padding: 0;
    position: relative;
    flex-shrink: 0;
}

/* RTL: قیمت چپ، سبد راست (مثل frontbaz) */
.front-shop-deal-link.fb-product-card .front-shop-deal-actions,
.front-shop-product-card.fb-product-card .front-shop-product-card-actions,
[dir="rtl"] .front-shop-deal-actions,
[dir="rtl"] .front-shop-product-card-actions,
.rtl .front-shop-deal-actions,
.rtl .front-shop-product-card-actions,
body.rtl .front-shop-deal-actions,
body.rtl .front-shop-product-card-actions {
    flex-direction: row-reverse;
}

.front-shop-deal-price-wrap.fb-price,
.front-shop-product-card-price-wrap.fb-price {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 2px;
    min-width: 0;
    max-width: calc(100% - 60px);
    flex: 1 1 auto;
    order: 1;
}

[dir="rtl"] .front-shop-deal-price-wrap.fb-price,
[dir="rtl"] .front-shop-product-card-price-wrap.fb-price,
.rtl .front-shop-deal-price-wrap.fb-price,
.rtl .front-shop-product-card-price-wrap.fb-price,
body.rtl .front-shop-deal-price-wrap.fb-price,
body.rtl .front-shop-product-card-price-wrap.fb-price {
    align-items: flex-start;
}


.front-shop-deal-price-wrap.fb-price del.front-shop-deal-old,
.front-shop-product-card-price-wrap.fb-price del.front-shop-product-card-old {
    display: block;
    order: 1;
    font-size: 0.75em;
    font-weight: 500;
    opacity: 0.6;
    color: #272727;
    text-decoration: line-through;
    transform: none;
    margin: 0 0 2px;
    line-height: 1.2;
    white-space: nowrap;
}

.front-shop-deal-price-wrap.fb-price ins.front-shop-deal-current,
.front-shop-product-card-price-wrap.fb-price ins.front-shop-product-card-current {
    display: block;
    order: 2;
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.3;
    color: #272727;
    white-space: nowrap;
}

.front-shop-deal-discount.fb-discount-percentage,
.front-shop-product-card-discount.fb-discount-percentage {
    position: absolute;
    top: -3px;
    left: -27px;
    background: #cf1312;
    color: #fcfcfc;
    padding: 2px 10px 2px 24px;
    border-radius: 4px 50px 50px 0;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.5;
    white-space: nowrap;
    box-shadow: 0 6px 12px -4px hsl(0 84% 48% / 0.2);
    z-index: 1;
}

.front-shop-deal-discount.fb-discount-percentage::before,
.front-shop-product-card-discount.fb-discount-percentage::before {
    content: "";
    background: url("https://shop.frontbaz.ir/wp-content/uploads/2026/02/discount-curve.svg") center / contain no-repeat;
    width: 6px;
    aspect-ratio: 1;
    position: absolute;
    bottom: 0;
    left: 0;
    transform: translateY(98%);
}

.front-shop-deal-cart.fb-addtocard-icon,
.front-shop-product-card-cart.fb-addtocard-icon {
    order: 2;
    flex-shrink: 0;
    cursor: pointer;
}

.front-shop-deal-cart.fb-addtocard-icon .elementor-icon-wrapper,
.front-shop-product-card-cart.fb-addtocard-icon .elementor-icon-wrapper {
    display: flex;
}

.front-shop-deal-cart.fb-addtocard-icon .elementor-icon,
.front-shop-product-card-cart.fb-addtocard-icon .elementor-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    padding: 12px;
    border-radius: 16px;
    background: #cf1312;
    color: #fcfcfc;
    box-shadow: 0 8px 16px -2px hsl(0 84% 48% / 0.2);
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.front-shop-deal-cart.fb-addtocard-icon .elementor-icon svg,
.front-shop-product-card-cart.fb-addtocard-icon .elementor-icon svg {
    width: 28px;
    height: 28px;
}

.front-shop-deal-cart.fb-addtocard-icon:hover .elementor-icon,
.front-shop-product-card-cart.fb-addtocard-icon:hover .elementor-icon {
    background: #e21514;
    transform: translateY(-1px);
}

/* Front Shop — دسترسی فوری به دسته‌بندی‌ها (مطابق shop.frontbaz.ir) */
.ck-content .front-shop-quick-categories,
.front-shop-quick-categories {
    --fs-primary: #cf1312;
    --fs-accent: #102b4f;
    --fs-border: #ededed;
    --fs-text-muted: #6e6e6e;
    --fs-hover-bg: #eb1f1e;
    --fs-card-size: 160px;
    --fs-card-gap: 24px;
    --fs-container: 1200px;
    display: block;
    width: 100%;
    margin: 0 auto;
    padding: 30px 20px 60px;
    box-sizing: border-box;
}

.ck-content .front-shop-quick-categories *,
.front-shop-quick-categories * {
    box-sizing: border-box;
}

#front-shop-quick-categories .front-shop-quick-categories-wrap,
.front-shop-quick-categories-wrap {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center;
    justify-content: flex-start;
    direction: rtl;
    gap: 60px;
    max-width: var(--fs-container);
    margin: 0 auto;
    width: 100%;
}

#front-shop-quick-categories .front-shop-quick-categories-titlebox,
.front-shop-quick-categories-titlebox {
    position: relative;
    flex: 0 0 228px;
    flex-shrink: 0;
    width: 228px;
    max-width: 228px;
    order: 1;
    margin-inline-end: 0;
    margin-inline-start: 0;
    padding: 0;
    background: transparent;
    overflow: visible;
}

/* قاب سفید دور باکس عنوان — مطابق frontbaz */
#front-shop-quick-categories .front-shop-quick-categories-titlebox-shell,
.front-shop-quick-categories-titlebox-shell {
    position: relative;
    padding: 4px;
    background: #fff;
    border-radius: 40px;
    box-shadow: 0 0 0 1px #fff;
    overflow: visible;
}

#front-shop-quick-categories .front-shop-quick-categories-titlebox-shell::before,
.front-shop-quick-categories-titlebox-shell::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translate(-46%, -50%);
    width: 54px;
    height: 54px;
    background: #fff;
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

#front-shop-quick-categories .front-shop-quick-categories-titlebox-inner,
.front-shop-quick-categories-titlebox-inner {
    position: relative;
    z-index: 1;
    min-height: 104px;
    padding: 20px 24px 20px 42px;
    border-radius: 36px;
    background: rgba(201, 23, 0, 0.06);
    display: flex;
    align-items: center;
    box-sizing: border-box;
}

#front-shop-quick-categories .front-shop-quick-categories-titlebox-inner::after,
.front-shop-quick-categories-titlebox-inner::after {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 13px;
    height: 58px;
    transform: translateY(-50%);
    background: var(--fs-quick-deco-desktop) no-repeat;
    pointer-events: none;
    z-index: 2;
}

.front-shop-quick-categories-heading {
    display: block;
    text-decoration: none;
    color: inherit;
}

.ck-content .front-shop-quick-categories-heading h2,
.front-shop-quick-categories-heading h2 {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.4;
    color: var(--fs-text-muted);
}

.front-shop-quick-categories-heading-accent {
    display: inline-block;
    margin-top: 2px;
    font-size: 1.5rem;
    font-weight: 900;
    line-height: 1.3;
    color: var(--fs-primary);
}

/* دکمه فلش — مطابق elementor-icon در frontbaz */
#front-shop-quick-categories .front-shop-quick-categories-titlebox-shell .front-shop-quick-categories-arrow.fb-arrow-icon,
#front-shop-quick-categories .front-shop-quick-categories-arrow.fb-arrow-icon,
.front-shop-quick-categories-titlebox-shell .front-shop-quick-categories-arrow.fb-arrow-icon,
.front-shop-quick-categories-arrow.fb-arrow-icon {
    position: absolute;
    top: 50%;
    left: -32px !important;
    right: auto !important;
    transform: translateY(-50%);
    padding: 0;
    border: 0;
    background: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 3;
    line-height: 0;
}

#front-shop-quick-categories .front-shop-quick-categories-arrow.fb-arrow-icon:hover,
.front-shop-quick-categories-arrow.fb-arrow-icon:hover {
    transform: translateY(calc(-50% - 1px));
}

#front-shop-quick-categories .front-shop-quick-categories-arrow .elementor-icon-wrapper,
.front-shop-quick-categories-arrow .elementor-icon-wrapper {
    display: inline-flex;
    text-align: center;
}

#front-shop-quick-categories .front-shop-quick-categories-arrow .elementor-icon,
.front-shop-quick-categories-arrow .elementor-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 39px;
    height: 31px;
    min-height: 31px;
    padding: 2px 6px;
    border: 0;
    border-radius: 50px;
    font-size: 27px;
    line-height: 1;
    background-color: var(--fs-accent);
    color: #fcfcfc;
    box-shadow: 0 4px 12px rgba(16, 43, 79, 0.12);
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

#front-shop-quick-categories .front-shop-quick-categories-arrow:hover .elementor-icon,
.front-shop-quick-categories-arrow:hover .elementor-icon {
    box-shadow: 0 6px 16px rgba(16, 43, 79, 0.18);
}

#front-shop-quick-categories .front-shop-quick-categories-arrow .elementor-icon svg,
.front-shop-quick-categories-arrow .elementor-icon svg {
    display: block;
    width: 27px;
    height: 27px;
    transform: rotate(-90deg);
}

#front-shop-quick-categories .front-shop-quick-categories-arrow .elementor-icon path,
.front-shop-quick-categories-arrow .elementor-icon path {
    stroke: #fcfcfc;
}

#front-shop-quick-categories .front-shop-quick-categories-carousel,
.front-shop-quick-categories-carousel {
    order: 2;
    flex: 1 1 0 !important;
    min-width: 0 !important;
    width: auto !important;
    overflow: hidden;
}

.front-shop-quick-categories-scroller {
    width: 100%;
    overflow: hidden;
}

#front-shop-quick-categories .front-shop-quick-categories-track:not(.slick-slider),
.ck-content #front-shop-quick-categories .front-shop-quick-categories-track,
.front-shop-quick-categories .front-shop-quick-categories-track,
.front-shop-quick-categories-track:not(.slick-slider) {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: stretch;
    gap: var(--fs-card-gap);
    width: 100% !important;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 4px 0 8px;
}

/* خنثی‌سازی باقی‌مانده slick */
.front-shop-quick-categories-track.slick-slider {
    display: flex !important;
}

.front-shop-quick-categories-track.slick-slider .slick-list,
.front-shop-quick-categories-track.slick-slider .slick-track {
    display: flex !important;
    width: auto !important;
    transform: none !important;
}

.front-shop-quick-categories-track::-webkit-scrollbar {
    display: none;
}

#front-shop-quick-categories .front-shop-quick-category-slide,
.front-shop-quick-category-slide {
    flex: 0 0 var(--fs-card-size) !important;
    width: var(--fs-card-size) !important;
    min-width: var(--fs-card-size) !important;
    max-width: var(--fs-card-size) !important;
    display: block;
}

.front-shop-quick-categories-spacer {
    flex: 0 0 12px;
    width: 12px;
    min-width: 12px;
    height: 1px;
}

.ck-content .front-shop-quick-category-card,
#front-shop-quick-categories .front-shop-quick-category-card,
.front-shop-quick-category-card {
    position: relative;
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100% !important;
    height: var(--fs-card-size) !important;
    min-height: var(--fs-card-size);
    aspect-ratio: 1;
    margin: 0;
    border: 2px solid var(--fs-border);
    border-radius: 24px;
    background: #fff;
    color: var(--fs-text-muted);
    text-decoration: none;
    overflow: hidden;
    transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.front-shop-quick-category-media {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.front-shop-quick-category-media img {
    width: 80%;
    height: auto;
    object-fit: contain;
    transition: transform 0.2s ease;
}

.front-shop-quick-category-fallback-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    font-size: 40px;
    line-height: 1;
    color: var(--fs-text-muted);
    transition: color 0.2s ease, transform 0.2s ease;
}

.front-shop-quick-category-fallback-icon i,
.front-shop-quick-category-fallback-icon svg {
    font-size: 40px;
    width: 1em;
    height: 1em;
    max-width: 64px;
    max-height: 64px;
}

.front-shop-quick-category-media > svg {
    width: 56%;
    height: auto;
    color: var(--fs-text-muted);
    transition: transform 0.2s ease, color 0.2s ease;
}

.ck-content .front-shop-quick-category-name,
.front-shop-quick-category-name {
    position: absolute;
    right: 0;
    left: 0;
    bottom: 16px;
    margin: 0;
    padding: 0 8px;
    border: 0;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.4;
    text-align: center;
    color: var(--fs-text-muted);
    transition: color 0.2s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (hover: hover) and (pointer: fine) {
    #front-shop-quick-categories .front-shop-quick-category-card:hover,
    #front-shop-quick-categories .front-shop-quick-category-card:focus-visible,
    .front-shop-quick-categories .front-shop-quick-category-card:hover,
    .front-shop-quick-categories .front-shop-quick-category-card:focus-visible {
        background: var(--fs-hover-bg) !important;
        border-color: var(--fs-hover-bg) !important;
        box-shadow: 0 8px 16px -2px rgba(226, 21, 20, 0.2) !important;
        color: #fcfcfc !important;
    }

    #front-shop-quick-categories .front-shop-quick-category-card:hover .front-shop-quick-category-name,
    #front-shop-quick-categories .front-shop-quick-category-card:focus-visible .front-shop-quick-category-name,
    .front-shop-quick-categories .front-shop-quick-category-card:hover .front-shop-quick-category-name,
    .front-shop-quick-categories .front-shop-quick-category-card:focus-visible .front-shop-quick-category-name {
        color: #fcfcfc !important;
    }

    #front-shop-quick-categories .front-shop-quick-category-card:hover .front-shop-quick-category-media img,
    #front-shop-quick-categories .front-shop-quick-category-card:focus-visible .front-shop-quick-category-media img,
    .front-shop-quick-categories .front-shop-quick-category-card:hover .front-shop-quick-category-media img,
    .front-shop-quick-categories .front-shop-quick-category-card:focus-visible .front-shop-quick-category-media img {
        transform: scale(1.05);
    }

    #front-shop-quick-categories .front-shop-quick-category-card:hover .front-shop-quick-category-fallback-icon,
    #front-shop-quick-categories .front-shop-quick-category-card:focus-visible .front-shop-quick-category-fallback-icon,
    #front-shop-quick-categories .front-shop-quick-category-card:hover .front-shop-quick-category-media > svg,
    #front-shop-quick-categories .front-shop-quick-category-card:focus-visible .front-shop-quick-category-media > svg,
    .front-shop-quick-categories .front-shop-quick-category-card:hover .front-shop-quick-category-fallback-icon,
    .front-shop-quick-categories .front-shop-quick-category-card:focus-visible .front-shop-quick-category-fallback-icon,
    .front-shop-quick-categories .front-shop-quick-category-card:hover .front-shop-quick-category-media > svg,
    .front-shop-quick-categories .front-shop-quick-category-card:focus-visible .front-shop-quick-category-media > svg {
        color: #fcfcfc !important;
        transform: scale(1.05);
    }
}

@media (min-width: 1400px) {
    .front-shop-quick-categories {
        --fs-container: 1320px;
    }
}

@media (max-width: 1025px) {
    .front-shop-quick-categories-heading-accent {
        font-size: 1.25rem;
        font-weight: 800;
    }
}

@media (max-width: 1025px) {
    #front-shop-quick-categories .front-shop-quick-categories-wrap,
    .front-shop-quick-categories-wrap {
        flex-direction: column !important;
        flex-wrap: nowrap !important;
        gap: 20px !important;
        align-items: stretch !important;
        direction: rtl;
    }

    #front-shop-quick-categories .front-shop-quick-categories-titlebox,
    .front-shop-quick-categories-titlebox {
        flex: 0 0 auto !important;
        width: calc(100% - 24px) !important;
        max-width: 100% !important;
        margin-inline: auto;
        order: 1;
    }

    #front-shop-quick-categories .front-shop-quick-categories-carousel,
    .front-shop-quick-categories-carousel {
        order: 2;
        flex: 0 0 auto !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        overflow: visible;
    }

    .front-shop-quick-categories-scroller {
        width: 100%;
        overflow: visible;
    }
}

@media (max-width: 767px) {
    .front-shop-quick-categories {
        padding: 24px 12px 36px;
    }

    #front-shop-quick-categories .front-shop-quick-categories-wrap,
    .front-shop-quick-categories-wrap {
        gap: 16px !important;
    }

    .front-shop-quick-categories-heading-accent {
        word-spacing: 0.14em;
        letter-spacing: 0.03em;
    }

    #front-shop-quick-categories .front-shop-quick-categories-titlebox,
    .front-shop-quick-categories-titlebox {
        width: 100%;
        max-width: 100%;
    }

    #front-shop-quick-categories .front-shop-quick-categories-titlebox-inner,
    .front-shop-quick-categories-titlebox-inner {
        min-height: 92px;
        padding: 18px 20px 28px 38px;
    }

    #front-shop-quick-categories .front-shop-quick-categories-titlebox-inner::after,
    .front-shop-quick-categories-titlebox-inner::after {
        width: 75px;
        height: 25px;
        top: auto;
        bottom: 0;
        left: 27px;
        transform: none;
        background: var(--fs-quick-deco-mobile) no-repeat;
    }

    #front-shop-quick-categories .front-shop-quick-categories-titlebox-shell .front-shop-quick-categories-arrow.fb-arrow-icon,
    #front-shop-quick-categories .front-shop-quick-categories-arrow.fb-arrow-icon,
    .front-shop-quick-categories-titlebox-shell .front-shop-quick-categories-arrow.fb-arrow-icon,
    .front-shop-quick-categories-arrow.fb-arrow-icon {
        top: auto;
        bottom: -15px;
        left: 45px !important;
        right: auto !important;
        transform: rotate(-90deg);
    }

    #front-shop-quick-categories .front-shop-quick-categories-titlebox-shell .front-shop-quick-categories-arrow.fb-arrow-icon:hover,
    #front-shop-quick-categories .front-shop-quick-categories-arrow.fb-arrow-icon:hover,
    .front-shop-quick-categories-titlebox-shell .front-shop-quick-categories-arrow.fb-arrow-icon:hover,
    .front-shop-quick-categories-arrow.fb-arrow-icon:hover {
        transform: rotate(-90deg) translateX(-1px);
    }

    #front-shop-quick-categories .front-shop-quick-categories-arrow .elementor-icon svg,
    .front-shop-quick-categories-arrow .elementor-icon svg {
        transform: rotate(-90deg);
    }

    .ck-content .front-shop-quick-categories,
    .front-shop-quick-categories {
        --fs-card-size: 120px;
        --fs-card-gap: 12px;
    }

    .front-shop-quick-category-card {
        border-radius: 24px;
    }

    .front-shop-quick-category-media img {
        width: 90%;
    }

    .front-shop-quick-category-name {
        bottom: 12px;
        font-size: 0.875rem;
    }
}

/* ============================================
   Front Shop Desktop - مطابق Figma Desktop-1
   ============================================ */
@media (min-width: 992px) {
    .front-shop-desktop {
        --fs-red: #e61212;
        --fs-red-dark: #cf1312;
        --fs-radius-pill: 999px;
        --fs-radius-card: 24px;
        --fs-container: 1200px;
        --color-brand: #e61212;
        --primary-color: #e61212;
    }

    .front-shop-desktop .header-top {
        display: none !important;
    }

    .front-shop-desktop .header-middle {
        background: #fff;
        padding: 18px 0 12px;
    }

    .front-shop-desktop .header-middle .container {
        max-width: var(--fs-container);
    }

    .front-shop-desktop .header-wrap.header-space-between {
        align-items: center;
        gap: 24px;
    }

    .front-shop-desktop .header-middle .logo img {
        max-height: 42px;
        width: auto;
    }

    .front-shop-desktop .header-middle .header-wrap.header-space-between {
        display: flex !important;
        align-items: center;
        gap: 16px;
        flex-wrap: nowrap;
    }

    .front-shop-desktop .header-middle .logo {
        flex-shrink: 0;
    }

    .front-shop-desktop .front-shop-quick-nav ul {
        display: flex;
        align-items: center;
        gap: 20px;
        list-style: none;
        margin: 0;
        padding: 0;
        flex-shrink: 0;
    }

    .front-shop-desktop .front-shop-quick-nav a {
        color: #444;
        font-size: 14px;
        font-weight: 500;
        text-decoration: none;
        white-space: nowrap;
        transition: color 0.2s ease;
    }

    .front-shop-desktop .front-shop-quick-nav a:hover {
        color: var(--fs-red);
    }

    .front-shop-desktop .search-style-2,
    .front-shop-desktop .front-shop-search-wrap {
        flex: 0 1 auto;
        width: 100%;
        max-width: 380px;
        margin: 0;
    }

    .front-shop-desktop .search-style-2 .form--quick-search {
        display: flex !important;
        align-items: center;
        position: relative;
        border: 1px solid #e8e8e8;
        border-radius: var(--fs-radius-pill);
        overflow: hidden;
        background: #fff;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
        min-height: 42px !important;
        max-height: 42px;
        height: 42px !important;
    }

    .front-shop-desktop .search-style-2 .form-group--icon,
    .front-shop-desktop .search-style-2 .product-cat-label {
        display: none !important;
    }

    .front-shop-desktop .search-style-2 .input-search-product {
        flex: 1 1 auto;
        min-width: 0;
        width: 100% !important;
        border: 0 !important;
        min-height: 42px !important;
        max-height: 42px;
        height: 42px !important;
        padding-block: 0;
        padding-inline: 16px 44px;
        background: transparent;
        font-size: 13px;
        line-height: 1.4;
        box-sizing: border-box;
        border-radius: 0 !important;
    }

    .front-shop-desktop .search-style-2 .input-search-product:focus {
        border: 0 !important;
        outline: none;
        box-shadow: none;
    }

    .front-shop-desktop .search-style-2 button[type="submit"] {
        position: absolute;
        top: 50%;
        inset-inline-end: 4px;
        inset-inline-start: auto;
        transform: translateY(-50%);
        width: 34px;
        height: 34px;
        min-height: 0;
        border-radius: 50%;
        background: transparent !important;
        color: #888;
        font-size: 14px;
        padding: 0;
    }

    .front-shop-desktop .front-shop-header-actions {
        flex-shrink: 0;
        margin-inline-start: auto;
    }

    .front-shop-desktop .front-shop-hide-desktop {
        display: none !important;
    }

    .front-shop-desktop .front-shop-cart-default {
        display: none !important;
    }

    .front-shop-desktop .front-shop-header-actions .header-action-2 {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .front-shop-desktop .front-shop-user-btn {
        width: 44px;
        height: 44px;
        border-radius: 50%;
        background: #f3f3f3;
        color: #666;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        flex-shrink: 0;
        transition: background-color 0.2s ease, color 0.2s ease;
    }

    .front-shop-desktop .front-shop-user-btn i {
        font-size: 18px;
        line-height: 1;
    }

    .front-shop-desktop .front-shop-user-btn:hover {
        background: #e8e8e8;
        color: #333;
    }

    .front-shop-desktop .front-shop-cart-summary {
        align-items: center;
        gap: 12px;
        text-decoration: none;
        color: inherit;
    }

    .front-shop-desktop .front-shop-cart-icon {
        width: 44px;
        height: 44px;
        border-radius: 50%;
        background: var(--fs-red);
        color: #fff;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 18px;
    }

    .front-shop-desktop .front-shop-cart-meta {
        display: flex;
        flex-direction: column;
        line-height: 1.3;
    }

    .front-shop-desktop .front-shop-cart-label {
        font-size: 13px;
        color: #666;
    }

    .front-shop-desktop .front-shop-cart-amount {
        font-size: 15px;
        font-weight: 700;
        color: var(--fs-red);
    }

    .front-shop-desktop .header-action-icon-2.d-lg-none > a {
        width: 44px;
        height: 44px;
        border-radius: 50%;
        background: #f3f3f3;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .front-shop-desktop .header-bottom {
        max-width: var(--fs-container) !important;
        width: calc(100% - 40px) !important;
        margin: 0 auto 18px !important;
        border-radius: 30px !important;
        background: var(--fs-red) !important;
        padding: 8px 16px !important;
        min-height: auto !important;
        height: auto !important;
        overflow: visible !important;
    }

    .front-shop-desktop .header-bottom .main-categories-wrap {
        display: block !important;
        flex-shrink: 0;
        position: relative;
        z-index: 20;
    }

    .front-shop-desktop .header-bottom .main-categories-wrap > a.categories-button-active {
        background-color: #ffffff !important;
        color: #212529 !important;
        border: none !important;
        min-width: 160px !important;
        white-space: nowrap;
    }

    .front-shop-desktop .header-bottom .categories-dropdown-wrap {
        z-index: 999;
    }

    .front-shop-desktop .header-bottom .hotline {
        display: none !important;
    }

    .front-shop-desktop .front-shop-promo-wrap {
        display: flex !important;
        align-items: center;
        gap: 10px;
        flex-shrink: 0;
        margin-inline-start: auto;
    }

    .front-shop-desktop .front-shop-promo-countdown {
        display: flex !important;
        flex-direction: row;
        direction: ltr;
        align-items: flex-end;
        gap: 5px;
        flex-shrink: 0;
        background: transparent;
        border-radius: 0;
        padding: 0;
        min-height: 0;
        box-shadow: none;
    }

    .front-shop-desktop .front-shop-countdown-unit {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        gap: 3px;
        background: transparent;
        line-height: 1;
    }

    .front-shop-desktop .front-shop-countdown-value,
    .front-shop-desktop .front-shop-countdown-unit > span[data-hours],
    .front-shop-desktop .front-shop-countdown-unit > span[data-minutes],
    .front-shop-desktop .front-shop-countdown-unit > span[data-seconds] {
        display: flex;
        align-items: center;
        justify-content: center;
        min-width: 36px;
        height: 32px;
        padding: 0 6px;
        background: #fff;
        border-radius: 10px;
        font-size: 15px;
        font-weight: 700;
        color: #222;
        line-height: 1;
        font-variant-numeric: tabular-nums;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    }

    .front-shop-desktop .front-shop-countdown-label,
    .front-shop-desktop .front-shop-countdown-unit small {
        display: block;
        font-size: 10px;
        font-weight: 500;
        color: rgba(255, 255, 255, 0.92);
        margin: 0;
        padding: 0;
        background: transparent;
        line-height: 1.1;
        white-space: nowrap;
    }

    .front-shop-desktop .front-shop-countdown-sep {
        color: #fff;
        font-size: 15px;
        font-weight: 700;
        line-height: 32px;
        height: 32px;
        padding: 0;
        margin: 0 0 14px;
        opacity: 1;
        flex-shrink: 0;
    }

    .front-shop-desktop .front-shop-promo-badge {
        display: flex !important;
        align-items: center;
        gap: 10px;
        color: #fff;
        flex-shrink: 0;
        background: transparent;
        border: 0;
        border-radius: 0;
        padding: 0;
    }

    .front-shop-desktop .front-shop-promo-badge i {
        width: 28px;
        height: 28px;
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.2);
        color: #fff;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 12px;
        flex-shrink: 0;
    }

    .front-shop-desktop .front-shop-promo-badge-text {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        line-height: 1.15;
        gap: 1px;
    }

    .front-shop-desktop .front-shop-promo-badge-line1 {
        display: block;
        font-size: 15px;
        font-weight: 700;
        letter-spacing: 0.22em;
        white-space: nowrap;
        color: #fff;
        line-height: 1.1;
    }

    .front-shop-desktop .front-shop-promo-badge-line2 {
        display: block;
        font-size: 11px;
        font-weight: 500;
        letter-spacing: 0;
        white-space: nowrap;
        color: rgba(255, 255, 255, 0.92);
        line-height: 1.1;
    }

    .front-shop-desktop .header-bottom .header-wrap {
        display: flex !important;
        width: 100%;
        align-items: center;
        gap: 12px;
        flex-wrap: nowrap;
    }

    .front-shop-desktop .header-bottom .front-shop-promo-menu {
        flex: 1 1 auto;
        margin: 0 !important;
        min-width: 0;
        overflow: hidden;
    }

    .front-shop-desktop .header-bottom .main-menu.main-menu-lh-2 > nav > ul > li {
        line-height: 1.3 !important;
        padding: 0 10px !important;
    }

    .front-shop-desktop .header-bottom .main-menu > nav > ul {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
        flex-wrap: nowrap;
    }

    .front-shop-desktop .header-bottom .main-menu > nav > ul > li > a {
        color: #fff !important;
        font-size: 13px;
        font-weight: 500;
        display: inline-flex;
        align-items: center;
        gap: 6px;
        white-space: nowrap;
        padding: 4px 0 !important;
        line-height: 1.3 !important;
        height: auto !important;
        min-height: 0 !important;
    }

    .front-shop-desktop .header-bottom .main-menu > nav > ul > li > a.active {
        color: #fff !important;
        opacity: 0.85;
    }

    .front-shop-desktop .header-bottom .main-menu > nav > ul > li > a img,
    .front-shop-desktop .header-bottom .main-menu > nav > ul > li > a svg {
        width: 18px;
        height: 18px;
        object-fit: contain;
        flex-shrink: 0;
        filter: brightness(0) invert(1);
    }

    .front-shop-desktop .header-bottom .main-menu > nav > ul > li > a i:not(.fa-chevron-down):not(.fa-chevron-right) {
        font-size: 14px;
        width: 18px;
        text-align: center;
        flex-shrink: 0;
    }

    .front-shop-desktop .header-bottom .main-menu > nav > ul > li > a:hover {
        color: rgba(255, 255, 255, 0.85) !important;
    }

    .front-shop-desktop .home-slider.front-shop-hero {
        max-width: var(--fs-container) !important;
        width: calc(100% - 40px) !important;
        margin: 0 auto 30px !important;
    }

    .front-shop-desktop .front-shop-hero-container {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 267px;
        gap: 20px;
        align-items: stretch;
        overflow: visible;
    }

    .front-shop-desktop:not(.rtl) .front-shop-hero-container {
        grid-template-columns: 267px minmax(0, 1fr);
    }

    .front-shop-desktop .front-shop-hero-slider {
        min-width: 0;
        border-radius: var(--fs-radius-card);
        overflow: hidden;
        background: var(--fs-red);
    }

    .front-shop-desktop .front-shop-hero-slider .hero-slider-1,
    .front-shop-desktop .front-shop-hero-slider .single-hero-slider,
    .front-shop-desktop .front-shop-hero-slider .slider-1-height-3,
    .front-shop-desktop .front-shop-hero-slider .slider-img,
    .front-shop-desktop .front-shop-hero-slider img {
        border-radius: var(--fs-radius-card) !important;
        height: 100%;
        min-height: 360px;
    }

    .front-shop-desktop .front-shop-hero-slider .container {
        max-width: 100% !important;
        padding: 0 !important;
    }

    .front-shop-desktop .front-shop-hero .hero-slider-content-2 h1 {
        font-size: clamp(28px, 3vw, 42px);
        line-height: 1.2;
    }

    .front-shop-desktop .front-shop-hero .hero-slider-content-2 h2 {
        font-size: clamp(22px, 2.4vw, 32px);
        line-height: 1.25;
    }

    .front-shop-desktop .front-shop-hero .hero-slider-content-2 h4 {
        font-size: 14px;
        font-weight: 500;
    }

    .front-shop-desktop .front-shop-hero .hero-slider-content-2 p {
        font-size: 15px;
    }

    .front-shop-desktop .front-shop-hero-deal {
        min-width: 0;
        overflow: visible;
        padding: 8px 4px;
    }

    .front-shop-desktop .front-shop-deal-card {
        height: 100%;
    }

    .front-shop-desktop .front-shop-deal-link.fb-product-card,
    .front-shop-desktop .front-shop-product-card.fb-product-card {
        min-height: 349px;
        height: 100%;
    }

    @media (max-width: 1309px) {
        .front-shop-desktop .front-shop-deal-link.fb-product-card,
        .front-shop-desktop .front-shop-product-card.fb-product-card {
            padding-top: 2.7vw;
        }
    }

    .front-shop-desktop .sticky-bar.stick {
        border-radius: var(--fs-radius-pill) !important;
    }
}

@media (min-width: 1400px) {
    .front-shop-desktop {
        --fs-container: 1320px;
    }
}

/* Front Shop — منتخب فروشگاه (مطابق shop.frontbaz.ir section 02d312d) */
.fb-h2-style {
    font-size: 1.5rem;
    font-weight: 900;
    line-height: 1.3;
    color: #cf1312;
}

.ck-content .front-shop-featured-products,
.front-shop-featured-products {
    --fs-primary: #cf1312;
    --fs-accent: #102b4f;
    --fs-text-muted: #6e6e6e;
    --fs-card-width: 280px;
    --fs-card-gap: 24px;
    --fs-titlebox-width: 316px;
    --fs-titlebox-gutter: 36px;
    --fs-container: min(1440px, calc(100% - 72px));
    display: block;
    width: 100%;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
}

.front-shop-featured-products * {
    box-sizing: border-box;
}

.front-shop-featured-products-inner.e-con-inner {
    position: relative;
    max-width: var(--fs-container);
    margin: 0 auto;
    padding: 51px 36px 50px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0;
    direction: rtl;
    overflow: visible;
    min-height: 430px;
}

/* باکس عنوان absolute روی راست — مثل elementor-element-60f84ae */
.front-shop-featured-products-titlebox.fb-titlebox {
    position: absolute;
    top: 51px;
    right: 36px;
    width: 316px;
    max-width: calc(100% - 72px);
    min-height: calc(100% - 101px);
    padding: 36px 24px 24px 30px;
    background: var(--fs-accent);
    border-radius: 32px;
    color: #f2f2f2;
    overflow: visible;
    z-index: 0;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.front-shop-featured-products-titlebox.fb-titlebox::after {
    content: '';
    position: absolute;
    width: 18px;
    height: 87px;
    background: var(--fs-feature-deco-desktop) no-repeat;
    left: -18px;
    top: 32px;
    pointer-events: none;
}

.ck-content .front-shop-featured-products-heading,
.front-shop-featured-products-heading {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #f2f2f2;
}

.front-shop-featured-products-heading .fb-h2-style {
    color: var(--fs-primary);
}

/* فلش داخل titlebox — مطابق frontbaz */
#front-shop-featured-products .front-shop-featured-products-titlebox > .front-shop-featured-products-arrow.fb-arrow-icon,
.front-shop-featured-products-titlebox > .front-shop-featured-products-arrow.fb-arrow-icon {
    position: absolute;
    top: 58px;
    left: -32px !important;
    right: auto !important;
    transform: none;
    padding: 0;
    border: 0;
    background: transparent !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    pointer-events: auto;
    line-height: 0;
}

#front-shop-featured-products .front-shop-featured-products-titlebox > .front-shop-featured-products-arrow.fb-arrow-icon:hover,
.front-shop-featured-products-titlebox > .front-shop-featured-products-arrow.fb-arrow-icon:hover {
    transform: translateY(-1px);
    background: transparent !important;
}

#front-shop-featured-products .front-shop-featured-products-titlebox > .front-shop-featured-products-arrow .elementor-icon-wrapper,
.front-shop-featured-products-titlebox > .front-shop-featured-products-arrow .elementor-icon-wrapper {
    display: inline-flex;
    text-align: center;
}

/* همان ابعاد فلش دسته‌بندی‌ها — پس‌زمینه همیشه سفید */
#front-shop-featured-products .front-shop-featured-products-titlebox > .front-shop-featured-products-arrow .elementor-icon,
.front-shop-featured-products-titlebox > .front-shop-featured-products-arrow .elementor-icon {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 39px;
    height: 31px;
    min-height: 31px;
    padding: 2px 6px;
    border: 0 !important;
    border-radius: 50px;
    font-size: 27px;
    line-height: 1;
    background: #fcfcfc !important;
    background-color: #fcfcfc !important;
    color: #cf1312;
    box-shadow: 0 4px 12px rgba(16, 43, 79, 0.12);
    transition: box-shadow 0.2s ease;
}

#front-shop-featured-products .front-shop-featured-products-titlebox > .front-shop-featured-products-arrow:hover .elementor-icon,
.front-shop-featured-products-titlebox > .front-shop-featured-products-arrow:hover .elementor-icon,
#front-shop-featured-products .front-shop-featured-products-titlebox > .front-shop-featured-products-arrow:focus .elementor-icon,
.front-shop-featured-products-titlebox > .front-shop-featured-products-arrow:focus .elementor-icon {
    background: #fcfcfc !important;
    background-color: #fcfcfc !important;
    box-shadow: 0 6px 16px rgba(16, 43, 79, 0.18);
}

#front-shop-featured-products .front-shop-featured-products-titlebox > .front-shop-featured-products-arrow .elementor-icon svg,
.front-shop-featured-products-titlebox > .front-shop-featured-products-arrow .elementor-icon svg {
    display: block;
    width: 27px;
    height: 27px;
    transform: rotate(-90deg);
}

#front-shop-featured-products .front-shop-featured-products-titlebox > .front-shop-featured-products-arrow .elementor-icon path,
.front-shop-featured-products-titlebox > .front-shop-featured-products-arrow .elementor-icon path {
    stroke: #cf1312;
}

.front-shop-featured-products-view-all.fb-section-btn {
    position: relative;
    z-index: 5;
    display: inline-flex !important;
    align-items: center;
    align-self: flex-end;
    margin: 0 0 20px;
    padding: 12px 8px 12px 0;
    background: transparent !important;
    color: #4f4f4f !important;
    text-decoration: none !important;
    font-size: 1rem;
    font-weight: 500;
    border: 0 !important;
    box-shadow: none !important;
}

.front-shop-featured-products-view-all .elementor-button-content-wrapper {
    display: inline-flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 8px;
}

.front-shop-featured-products-view-all .elementor-button-icon {
    display: inline-flex;
    padding: 1px 3px;
    border-radius: 50px 2px 2px 50px;
    background: var(--fs-primary);
    box-shadow: 0 8px 16px -2px hsl(0 84% 48% / 0.2);
}

.front-shop-featured-products-view-all:hover {
    color: var(--fs-primary);
}

.front-shop-featured-products-view-all:hover .elementor-button-icon {
    background: #e21514;
}

.front-shop-featured-products-carousel {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: visible;
    align-self: stretch;
    padding: 0;
}

.front-shop-featured-products-scroller {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.front-shop-featured-products-scroller::-webkit-scrollbar {
    display: none;
}

.front-shop-featured-products-track {
    display: inline-flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: stretch;
    gap: var(--fs-card-gap);
    width: max-content;
    min-width: 100%;
    max-width: none;
    overflow: visible;
    direction: rtl;
    padding: 4px 0 12px;
    vertical-align: top;
}


.front-shop-featured-product-slide {
    position: relative;
    z-index: 2;
    flex: 0 0 var(--fs-card-width) !important;
    width: var(--fs-card-width) !important;
    min-width: var(--fs-card-width) !important;
    max-width: var(--fs-card-width) !important;
    display: block !important;
}

.front-shop-featured-product-slide .front-shop-product-card.fb-product-card {
    position: relative;
    z-index: 2;
}

#front-shop-featured-products .front-shop-product-card.fb-product-card,
.front-shop-featured-products .front-shop-product-card.fb-product-card {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    min-height: 380px;
    background: #fcfcfc !important;
    border: 2px solid #ededed !important;
    border-radius: 32px !important;
    box-shadow: 0 2px 16px -4px rgba(110, 110, 110, 0.24) !important;
}

/* ترتیب frontbaz: سبد راست، قیمت چپ (بدون row-reverse) */
.front-shop-product-card.fb-product-card .front-shop-product-card-actions,
[dir="rtl"] .front-shop-product-card.fb-product-card .front-shop-product-card-actions,
.rtl .front-shop-product-card.fb-product-card .front-shop-product-card-actions {
    flex-direction: row !important;
}

#front-shop-featured-products .front-shop-product-card-price-wrap ins,
.front-shop-featured-products .front-shop-product-card-current {
    font-size: 1.25rem;
    font-weight: 700;
}

.front-shop-featured-products-spacer {
    flex: 0 0 12px;
    width: 12px;
    min-width: 12px;
}

.front-shop-featured-products .front-shop-product-card.fb-product-card {
    min-height: 0;
    height: 100%;
}

@media (hover: hover) {
    .front-shop-featured-products .front-shop-product-card.fb-product-card::after {
        content: '';
        width: 100%;
        height: 1px;
        position: absolute;
        bottom: 0;
        background-color: var(--fs-primary);
        mask: linear-gradient(to right, transparent 10%, #000, transparent 90%);
        -webkit-mask: linear-gradient(to right, transparent 10%, #000, transparent 90%);
        opacity: 0;
        transform: scaleX(0);
        transition: 0.4s ease;
    }

    .front-shop-featured-products .front-shop-product-card.fb-product-card:hover::after {
        opacity: 1;
        transform: scaleX(1);
    }
}

.front-shop-product-card-rating {
    position: absolute;
    top: 20px;
    right: 20px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    z-index: 2;
}

.front-shop-product-card-rating .elementor-icon svg {
    width: 18px;
    height: 18px;
}

.front-shop-product-card-rating-value {
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.5;
    color: #272727;
}

.front-shop-product-card-wishlist {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 3;
    cursor: pointer;
}

.front-shop-product-card-wishlist .elementor-icon svg {
    width: 20px;
    height: 20px;
}

@media (max-width: 767px) {
    .fb-h2-style {
        font-size: 1.25rem;
        font-weight: 800;
    }

    .front-shop-featured-products-inner.e-con-inner {
        padding: 40px 12px;
        gap: 0;
        align-items: center;
        min-height: 0;
    }

    .front-shop-featured-products-titlebox.fb-titlebox {
        position: relative;
        top: auto;
        right: auto;
        width: calc(100% - 24px);
        max-width: calc(100% - 24px);
        min-height: 0;
        margin: 0 auto 68px;
        padding: 16px 30px 36px;
        border-radius: 24px;
    }

    .front-shop-featured-products-titlebox.fb-titlebox::after {
        width: 90px;
        height: 17px;
        left: auto;
        right: 44px;
        top: auto;
        bottom: -17px;
        background: var(--fs-feature-deco-mobile) no-repeat;
    }

    #front-shop-featured-products .front-shop-featured-products-titlebox > .front-shop-featured-products-arrow.fb-arrow-icon,
    .front-shop-featured-products-titlebox > .front-shop-featured-products-arrow.fb-arrow-icon {
        top: auto !important;
        bottom: -8px !important;
        right: 45px !important;
        left: auto !important;
        transform: rotate(-90deg) !important;
    }

    #front-shop-featured-products .front-shop-featured-products-titlebox > .front-shop-featured-products-arrow.fb-arrow-icon:hover,
    .front-shop-featured-products-titlebox > .front-shop-featured-products-arrow.fb-arrow-icon:hover {
        transform: rotate(-90deg) translateX(-1px) !important;
        background: transparent !important;
    }

    #front-shop-featured-products .front-shop-featured-products-titlebox > .front-shop-featured-products-arrow .elementor-icon svg,
    .front-shop-featured-products-titlebox > .front-shop-featured-products-arrow .elementor-icon svg {
        transform: rotate(-90deg);
    }

    .front-shop-featured-products-view-all {
        align-self: center;
        margin: 0 0 24px;
        padding: 0 0 0 28px;
    }

    .front-shop-featured-products-carousel {
        width: 100%;
        max-width: 100%;
        align-self: center;
        padding-inline-start: 0;
        margin-inline-start: 0;
    }

    .front-shop-featured-products-view-all .elementor-button-text {
        color: var(--fs-primary);
    }

    .front-shop-featured-products {
        --fs-card-width: 190px;
        --fs-card-gap: 12px;
    }

    .front-shop-featured-products .front-shop-product-card.fb-product-card {
        padding: 48px 16px 16px;
        border-radius: 24px;
        gap: 4px;
    }

    .front-shop-product-card-cart.elementor-hidden-mobile {
        display: none !important;
    }

    .front-shop-product-card-discount.fb-discount-percentage {
        left: -21px;
    }
}

/* Front Shop — دسته‌بندی‌های پرطرفدار (مطابق shop.frontbaz.ir section 8840d9f) */
.ck-content .front-shop-popular-categories,
.front-shop-popular-categories {
    --fs-primary: #cf1312;
    --fs-text: #272727;
    --fs-text-muted: #6e6e6e;
    --fs-category-width: 280px;
    --fs-category-gap: 24px;
    --fs-container: min(1440px, calc(100% - 72px));
    display: block;
    width: 100%;
    margin: 0 auto;
    padding: 52px 36px 0;
    box-sizing: border-box;
}

.front-shop-popular-categories * {
    box-sizing: border-box;
}

.front-shop-popular-categories-inner.e-con-inner {
    position: relative;
    max-width: var(--fs-container);
    margin: 0 auto;
    padding: 0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px 32px;
    direction: rtl;
    overflow: visible;
}

.front-shop-popular-categories .front-shop-bestsellers-header-row {
    flex: 1 1 100%;
}

.front-shop-popular-categories-carousel {
    position: relative;
    flex: 1 1 100%;
    width: 100%;
    min-width: 0;
}

.front-shop-popular-categories-scroller {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 8px;
}

.front-shop-popular-categories-scroller::-webkit-scrollbar {
    display: none;
}

.front-shop-popular-categories-track.swiper-wrapper {
    display: inline-flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: stretch;
    gap: var(--fs-category-gap);
    width: max-content;
    min-width: 100%;
    direction: rtl;
    padding: 4px 0 12px;
}

.front-shop-popular-category-slide.swiper-slide {
    flex: 0 0 var(--fs-category-width) !important;
    width: var(--fs-category-width) !important;
    min-width: var(--fs-category-width) !important;
    max-width: var(--fs-category-width) !important;
}

.front-shop-popular-category-card {
    display: block;
    width: 100%;
    text-decoration: none !important;
    color: inherit;
    border-radius: 24px;
    overflow: hidden;
    background: #fcfcfc;
    box-shadow: 0 8px 16px -2px rgba(110, 110, 110, 0.24);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.front-shop-popular-category-card .wp-caption {
    position: relative;
    margin: 0;
    padding: 0;
    width: 100%;
    overflow: hidden;
}

.front-shop-popular-category-card img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 400 / 356;
    object-fit: cover;
    transition: transform 0.3s ease;
    transform: translateY(-2px);
}

.front-shop-popular-category-card .widget-image-caption.wp-caption-text {
    position: absolute;
    bottom: 10%;
    left: 0;
    right: 0;
    width: 100%;
    margin: 0;
    padding: 0 12px;
    text-align: center;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.5;
    color: var(--fs-text);
    font-style: normal;
}

.front-shop-popular-categories-spacer {
    flex: 0 0 12px;
    width: 12px;
    min-width: 12px;
}

@media (hover: hover) {
    .front-shop-popular-category-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 24px -4px rgba(110, 110, 110, 0.28);
    }

    .front-shop-popular-category-card:hover img {
        transform: translateY(-4px);
    }
}

@media (max-width: 767px) {
    .ck-content .front-shop-popular-categories,
    .front-shop-popular-categories {
        --fs-category-width: 170px;
        --fs-category-gap: 12px;
        --fs-container: 100%;
        padding: 0;
    }

    .ck-content .front-shop-popular-categories-inner.e-con-inner,
    .front-shop-popular-categories-inner.e-con-inner {
        width: 100% !important;
        max-width: 100% !important;
        padding: 48px 0 80px !important;
        gap: 24px 0 !important;
    }

    .front-shop-popular-categories .front-shop-bestsellers-header-row {
        flex-wrap: nowrap;
        align-items: center;
        gap: 16px;
        width: 100%;
        padding: 0 12px;
        box-sizing: border-box;
    }

    .front-shop-popular-categories .front-shop-bestsellers-header-row > .elementor-widget-divider {
        flex: 1 1 auto !important;
        min-width: 0;
    }

    .front-shop-popular-categories .front-shop-bestsellers-header-row > .elementor-widget-divider .elementor-divider-separator {
        font-size: 1.25rem;
        font-weight: 800;
    }

    .front-shop-popular-categories .front-shop-bestsellers-header-row > .elementor-widget-divider.fb-mobile-divider .elementor-divider-separator::after {
        visibility: hidden;
    }

    .front-shop-popular-categories .front-shop-bestsellers-header-row > .elementor-widget-button {
        flex: 0 0 auto;
    }

    .front-shop-popular-categories .front-shop-bestsellers-header-row > .elementor-widget-button .elementor-button {
        padding: 0 8px 8px 0;
    }

    .front-shop-popular-categories-scroller {
        padding-inline: 0;
        padding-bottom: 0;
    }

    .front-shop-popular-categories-track.swiper-wrapper {
        padding: 0 12px 12px 0;
    }

    #featured-product-categories .front-shop-popular-category-slide.swiper-slide,
    .front-shop-popular-categories .front-shop-popular-category-slide.swiper-slide {
        flex: 0 0 var(--fs-category-width) !important;
        width: var(--fs-category-width) !important;
        min-width: var(--fs-category-width) !important;
        max-width: var(--fs-category-width) !important;
    }

    .front-shop-popular-category-card img {
        transform: none;
    }

    .front-shop-popular-category-card .widget-image-caption.wp-caption-text {
        font-size: 0.875rem;
    }
}

/* Front Shop — بنرهای گرید (مطابق shop.frontbaz.ir section 4157d48) */
.ck-content .front-shop-promo-banners,
.front-shop-promo-banners {
    --fs-primary: #cf1312;
    --fs-promo-cols: 3;
    --fs-container: min(1440px, calc(100% - 72px));
    display: block;
    width: 100%;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
}

.front-shop-promo-banners * {
    box-sizing: border-box;
}

.front-shop-promo-banners-inner.e-con-inner {
    display: grid;
    grid-template-columns: repeat(var(--fs-promo-cols), minmax(0, 1fr));
    grid-auto-flow: row;
    gap: 24px;
    max-width: var(--fs-container);
    margin: 0 auto;
    padding: 40px 36px 36px;
    direction: rtl;
}

.front-shop-promo-banner-cell {
    min-width: 0;
    margin: 0;
}

.front-shop-promo-banner-card {
    display: block;
    width: 100%;
    border-radius: 24px;
    overflow: hidden;
    text-decoration: none !important;
    box-shadow: 0 8px 16px -2px rgba(110, 110, 110, 0.24);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.front-shop-promo-banner-card img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 800 / 347;
    object-fit: cover;
    vertical-align: middle;
}

@media (hover: hover) {
    .front-shop-promo-banner-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 24px -4px rgba(110, 110, 110, 0.28);
    }
}

@media (max-width: 1024px) {
    .front-shop-promo-banners-inner.e-con-inner {
        gap: 16px;
        padding: 48px 24px 24px;
    }
}

@media (max-width: 767px) {
    .front-shop-promo-banners {
        --fs-promo-cols: 1;
    }

    .front-shop-promo-banners-inner.e-con-inner {
        grid-template-columns: 1fr;
        padding: 8px 12px 40px;
    }

    .front-shop-promo-banner-card {
        border-radius: 16px;
    }
}

/* ——— Product collections (frontbaz e-con-inner + carousel) ——— */
.ck-content .front-shop-product-collections,
.front-shop-product-collections {
    --fs-primary: #cf1312;
    --fs-accent: #102b4f;
    --fs-bestseller-card-width: 360px;
    --fs-bestseller-gap: 10px;
    --fs-container: min(1440px, calc(100% - 72px));
    display: block;
    width: 100%;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
}

.front-shop-product-collections * {
    box-sizing: border-box;
}

.front-shop-product-collections-inner.e-con-inner {
    position: relative;
    max-width: var(--fs-container);
    margin: 0 auto;
    padding: 52px 36px 64px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    align-content: flex-start;
    gap: 40px 32px;
    direction: rtl;
    overflow: visible;
}

/* ردیف عنوان + مشاهده همه (مثل elementor 977fc4f / a7ebc47 + 53be98f) */
.front-shop-bestsellers-header-row {
    display: flex;
    flex: 1 1 100%;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    gap: 32px;
    width: 100%;
    min-width: 0;
    direction: rtl;
}

.front-shop-bestsellers-header-row > .elementor-widget-divider {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
    --fs-divider-color: #ededed;
    --fs-divider-spacing: 40px;
}

.front-shop-bestsellers-header-row > .elementor-widget-divider .elementor-divider {
    display: block;
    padding-block: 0;
    line-height: 1.3;
}

.front-shop-bestsellers-header-row > .elementor-widget-divider .elementor-divider-separator {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
    direction: rtl;
}

/* متن راست، خط به سمت چپ (مثل elementor-divider--element-align-right) */
.front-shop-bestsellers-header-row > .elementor-widget-divider.elementor-widget-divider--view-line_text .elementor-divider-separator::after {
    content: '';
    display: block;
    flex: 1 1 auto;
    min-width: 0;
    border: 0;
    border-bottom: 1px solid var(--fs-divider-color);
    margin-inline-start: var(--fs-divider-spacing);
}

.front-shop-bestsellers-header-row > .elementor-widget-divider .elementor-divider-separator {
    font-size: 1.5rem;
    font-weight: 900;
    line-height: 1.3;
    color: var(--fs-primary);
    white-space: nowrap;
}

.front-shop-bestsellers-header-row > .elementor-widget-divider.fb-h2-style .elementor-divider-separator {
    color: var(--fs-primary);
}

.front-shop-bestsellers-header-row > .elementor-widget-button {
    flex: 0 0 auto;
    margin: 0;
}

.front-shop-bestsellers-header-row > .elementor-widget-button .elementor-button {
    display: inline-flex;
    align-items: center;
    padding: 12px 8px 12px 0;
    background: transparent !important;
    background-color: transparent !important;
    color: #272727 !important;
    text-decoration: none !important;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.5;
    border: 0 !important;
    box-shadow: none !important;
}

.front-shop-bestsellers-header-row > .elementor-widget-button .elementor-button-content-wrapper {
    display: inline-flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 8px;
}

.front-shop-bestsellers-header-row > .elementor-widget-button .elementor-button-icon {
    display: inline-flex;
    padding: 1px 3px;
    border-radius: 50px 2px 2px 50px;
    background: var(--fs-primary);
    box-shadow: 0 8px 16px -2px hsl(0 84% 48% / 0.2);
}

.front-shop-bestsellers-header-row > .elementor-widget-button .elementor-button:hover {
    color: var(--fs-primary) !important;
}

.front-shop-bestsellers-inner > .front-shop-bestsellers-arrow.fb-arrow-icon,
.front-shop-product-collections-inner > .front-shop-bestsellers-arrow.fb-arrow-icon {
    position: absolute;
    top: calc(52px + 8px);
    left: 36px;
    right: auto !important;
    padding: 0;
    border: 0;
    background: transparent !important;
    z-index: 10;
    cursor: pointer;
}

.front-shop-bestsellers-inner > .front-shop-bestsellers-arrow .elementor-icon,
.front-shop-product-collections-inner > .front-shop-bestsellers-arrow .elementor-icon {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 39px;
    height: 31px;
    padding: 2px 6px;
    border-radius: 50px;
    background: #fcfcfc !important;
    box-shadow: 0 4px 12px rgba(16, 43, 79, 0.12);
}

.front-shop-bestsellers-inner > .front-shop-bestsellers-arrow .elementor-icon svg,
.front-shop-product-collections-inner > .front-shop-bestsellers-arrow .elementor-icon svg {
    width: 27px;
    height: 27px;
    transform: rotate(-90deg);
}

.front-shop-bestsellers-carousel {
    position: relative;
    z-index: 2;
    flex: 1 1 100%;
    width: 100%;
    min-width: 0;
    overflow: visible;
}

.front-shop-bestsellers-scroller {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.front-shop-bestsellers-scroller::-webkit-scrollbar {
    display: none;
}

.front-shop-bestsellers-track.swiper-wrapper {
    display: inline-flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: stretch;
    gap: var(--fs-bestseller-gap);
    width: max-content;
    min-width: 100%;
    margin: 0;
    padding: 4px 0 8px;
    transform: none !important;
}

.front-shop-bestseller-slide.swiper-slide {
    flex: 0 0 var(--fs-bestseller-card-width) !important;
    width: var(--fs-bestseller-card-width) !important;
    min-width: var(--fs-bestseller-card-width) !important;
    max-width: var(--fs-bestseller-card-width) !important;
    height: auto;
    align-self: stretch;
}

/* هر اسلاید: دو کارت عمودی مثل elementor-loop-container */
.front-shop-bestseller-grid.elementor-loop-container.elementor-grid {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: var(--fs-bestseller-gap);
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}

.front-shop-bestseller-spacer {
    flex: 0 0 8px;
    width: 8px;
    min-width: 8px;
}

/* کارت افقی loop-7900 */
.front-shop-bestsellers .fb-product-card-row.front-shop-bestseller-card {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    gap: 4px;
    width: 100%;
    min-height: 0;
    padding: 20px;
    text-decoration: none !important;
    color: inherit;
    background: #fcfcfc !important;
    border: 0 !important;
    border-left: 2px solid #ededed !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    position: relative;
    overflow: visible;
}

.front-shop-bestsellers .fb-product-card-row-image {
    flex: 0 0 50%;
    width: 50%;
    max-width: 50%;
    line-height: 0;
}

.front-shop-bestsellers .fb-product-card-row-image img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    object-fit: contain;
}

.front-shop-bestsellers .fb-product-card-row-body {
    flex: 1 1 50%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    min-width: 0;
    position: relative;
}

.front-shop-bestsellers .fb-product-card-row-body .product_title {
    margin: 0;
    padding: 0;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.5;
    color: #272727;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.front-shop-bestsellers .front-shop-bestseller-price.fb-price {
    margin: 0;
    width: 100%;
}

.front-shop-bestsellers .front-shop-bestseller-price .elementor-heading-title {
    margin: 0;
    font-size: 0.9375rem;
    font-weight: 700;
    line-height: 1.5;
    color: #272727;
}

.front-shop-bestsellers .front-shop-bestseller-price ins {
    text-decoration: none;
    font-weight: 700;
}

.front-shop-bestsellers .front-shop-bestseller-price del {
    display: block;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #6e6e6e;
    text-decoration: line-through;
    margin-bottom: 2px;
}

.front-shop-bestsellers .front-shop-bestseller-discount.fb-discount-percentage {
    position: absolute;
    left: -27px;
    bottom: 4px;
    padding: 2px 10px 2px 24px;
    background: var(--fs-primary);
    color: #fcfcfc;
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1.4;
    border-radius: 4px 50px 50px 0;
    z-index: 2;
}

@media (max-width: 767px) {
    .front-shop-product-collections-inner.e-con-inner {
        padding: 32px 12px 40px;
        gap: 24px 16px;
    }

    .front-shop-bestsellers-header-row {
        flex-wrap: wrap;
        gap: 16px 24px;
    }

    .front-shop-bestsellers-header-row > .elementor-widget-divider .elementor-divider-separator {
        font-size: 1.25rem;
        font-weight: 800;
    }

    .front-shop-bestsellers-header-row > .elementor-widget-divider.fb-mobile-divider .elementor-divider-separator::after {
        visibility: hidden;
    }

    .front-shop-bestsellers-header-row > .elementor-widget-divider {
        flex: 1 1 100%;
    }

    .front-shop-bestsellers-header-row > .elementor-widget-button {
        flex: 0 0 auto;
    }

    .front-shop-product-collections-inner > .front-shop-bestsellers-arrow.fb-arrow-icon {
        top: auto;
        bottom: 8px;
        left: 12px;
    }

    .front-shop-product-collections {
        --fs-bestseller-card-width: 300px;
    }

    .front-shop-bestsellers .fb-product-card-row.front-shop-bestseller-card {
        flex-wrap: nowrap;
        padding: 12px 4px 12px 12px;
    }

    .front-shop-bestsellers .front-shop-bestseller-discount.fb-discount-percentage {
        left: -17px;
        bottom: 22px;
    }
}

/* Front Shop — تخفیف‌های شگفت‌انگیز (مطابق shop.frontbaz.ir section 10b0c65) */
.ck-content .front-shop-flash-sale,
.front-shop-flash-sale {
    --fs-primary: #e21514;
    --fs-accent: #102b4f;
    --fs-card-width: 280px;
    --fs-card-gap: 20px;
    --fs-container: min(1440px, calc(100% - 72px));
    display: block;
    width: 100%;
    margin: 0 auto;
    padding: 8px 36px 30px;
    box-sizing: border-box;
}

.front-shop-flash-sale * {
    box-sizing: border-box;
}

.front-shop-flash-sale-inner.e-con-inner {
    position: relative;
    max-width: var(--fs-container);
    margin: 0 auto;
    padding: 48px 24px 48px 4px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    direction: rtl;
    background: var(--fs-primary);
    border-radius: 32px;
    overflow: hidden;
    min-height: 380px;
}

.front-shop-flash-sale-deco.elementor-absolute {
    position: absolute;
    right: 0;
    left: auto;
    bottom: -24px;
    z-index: 0;
    pointer-events: none;
}

.front-shop-flash-sale-deco .elementor-icon-wrapper {
    text-align: center;
}

.front-shop-flash-sale-deco .elementor-icon {
    display: inline-flex;
    font-size: 220px;
    line-height: 0;
}

.front-shop-flash-sale-deco .elementor-icon img,
.front-shop-flash-sale-deco .elementor-icon svg {
    display: block;
    width: 204px;
    height: 123px;
    max-width: none;
}

.front-shop-flash-sale-sidebar.fb-auto-first-slide {
    position: relative;
    z-index: 2;
    flex: 0 0 auto;
    width: 212px;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    padding: 8px 12px;
    color: #f2f2f2;
}

.front-shop-flash-sale-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    width: 100%;
}

.front-shop-flash-sale-sidebar .fb-h2-style {
    margin: 0;
    width: 100%;
    text-align: center;
}

.front-shop-flash-sale-sidebar .fb-h2-style h2 {
    position: relative;
    margin: 0;
    padding: 0;
    font-size: 1.5rem;
    font-weight: 900;
    line-height: 1.3;
    color: #fcfcfc;
    text-align: center;
}

.front-shop-flash-sale-sidebar .fb-h2-style h2::before {
    content: '';
    position: absolute;
    background: url('../images/front-shop/desktop-discount-percentage.svg') center / contain no-repeat;
    width: 40px;
    aspect-ratio: 1;
    left: -6px;
    top: -8px;
    animation: front-shop-rotating 10s linear infinite;
}

@keyframes front-shop-rotating {
    to {
        transform: rotate(360deg);
    }
}

.front-shop-flash-sale-countdown.elementor-countdown-wrapper {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    gap: 8px;
    width: 100%;
    direction: ltr;
}

.front-shop-flash-sale-countdown .elementor-countdown-item,
.front-shop-flash-sale-countdown .front-shop-flash-sale-countdown-item {
    flex: 0 0 auto;
    width: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.front-shop-flash-sale-countdown .front-shop-flash-sale-countdown-item--hours {
    width: 64px;
}

.front-shop-flash-sale-countdown .elementor-countdown-digits {
    display: block;
    width: 100%;
    min-width: 2.75rem;
    padding: 4px 6px;
    text-align: center;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
    font-variant-numeric: tabular-nums;
    color: var(--fs-primary);
    background: #fcfcfc;
    border-radius: 12px;
    box-shadow: 0 4px 8px -2px rgb(62 62 62 / 0.5);
}

.front-shop-flash-sale-countdown .front-shop-flash-sale-countdown-item--hours .elementor-countdown-digits {
    min-width: 3.25rem;
}

.front-shop-flash-sale-countdown .elementor-countdown-label {
    font-size: 0.8125rem;
    font-weight: 500;
    line-height: 1.4;
    color: #f2f2f2;
}

.front-shop-flash-sale-view-all.fb-section-btn .elementor-button,
.front-shop-flash-sale-sidebar .fb-section-btn .elementor-button {
    display: inline-flex;
    align-items: center;
    padding: 0;
    border: 0;
    background: transparent !important;
    color: #f2f2f2 !important;
    text-decoration: none !important;
    font-size: 1rem;
    font-weight: 500;
    box-shadow: none !important;
}

.front-shop-flash-sale-view-all.fb-section-btn .elementor-button-content-wrapper,
.front-shop-flash-sale-sidebar .fb-section-btn .elementor-button-content-wrapper {
    display: inline-flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 8px;
}

.front-shop-flash-sale-view-all.fb-section-btn .elementor-button-icon,
.front-shop-flash-sale-sidebar .fb-section-btn .elementor-button-icon {
    display: inline-flex;
    padding: 1px 3px;
    border-radius: 50px 2px 2px 50px;
    background: #fcfcfc !important;
    box-shadow: 0 8px 16px -2px hsl(0 84% 48% / 0.2);
    color: var(--fs-primary);
}

.front-shop-flash-sale-view-all.fb-section-btn .elementor-button-icon path,
.front-shop-flash-sale-sidebar .fb-section-btn .elementor-button-icon path {
    stroke: currentColor !important;
}

.front-shop-flash-sale-view-all.fb-section-btn .elementor-button:hover,
.front-shop-flash-sale-sidebar .fb-section-btn .elementor-button:hover {
    color: #fff !important;
}

.front-shop-flash-sale-view-all.fb-section-btn {
    position: relative;
    z-index: 2;
    flex: 0 0 auto;
    align-self: center;
    margin: 0;
}

.front-shop-flash-sale-carousel {
    position: relative;
    z-index: 2;
    flex: 1 1 auto;
    min-width: 0;
    align-self: stretch;
}

.front-shop-flash-sale-scroller {
    width: 100%;
    height: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.front-shop-flash-sale-scroller::-webkit-scrollbar {
    display: none;
}

.front-shop-flash-sale-track.swiper-wrapper {
    display: inline-flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: stretch;
    gap: var(--fs-card-gap);
    width: max-content;
    min-width: 100%;
    direction: rtl;
    padding: 4px 0 8px;
}

.front-shop-flash-sale-slide.swiper-slide {
    flex: 0 0 var(--fs-card-width) !important;
    width: var(--fs-card-width) !important;
    min-width: var(--fs-card-width) !important;
    max-width: var(--fs-card-width) !important;
}

.front-shop-flash-sale .front-shop-product-card.fb-product-card {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    min-height: 360px;
    background: #fcfcfc !important;
    border: 2px solid #ededed !important;
    border-radius: 32px !important;
    box-shadow: 0 2px 16px -4px rgba(110, 110, 110, 0.24) !important;
}

.front-shop-flash-sale-spacer {
    flex: 0 0 12px;
    width: 12px;
    min-width: 12px;
}

@media (min-width: 768px) {
    .front-shop-flash-sale-inner.e-con-inner {
        position: relative;
    }

    .front-shop-flash-sale-view-all.fb-section-btn {
        position: absolute;
        z-index: 3;
        bottom: 56px;
        right: 48px;
        left: auto;
        width: 188px;
        margin: 0;
        display: flex;
        justify-content: center;
    }
}

@media (max-width: 767px) {
    .ck-content .front-shop-flash-sale,
    .front-shop-flash-sale {
        --fs-card-width: 190px;
        --fs-card-gap: 12px;
        --fs-container: 100%;
        padding: 0 12px 24px;
    }

    .ck-content .front-shop-flash-sale-inner.e-con-inner,
    .front-shop-flash-sale-inner.e-con-inner {
        flex-direction: column !important;
        align-items: stretch !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 20px 4px !important;
        gap: 16px !important;
        min-height: 0;
        border-radius: 24px;
        overflow: hidden;
    }

    .front-shop-flash-sale-sidebar.fb-auto-first-slide {
        width: 100%;
        min-width: 0;
        padding: 0;
        gap: 0;
    }

    .front-shop-flash-sale-header {
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-between;
        gap: 8px;
        width: 100%;
        padding: 0 12px;
    }

    .front-shop-flash-sale-sidebar .fb-h2-style {
        flex: 0 1 auto;
        width: auto;
        text-align: right;
    }

    .front-shop-flash-sale-sidebar .fb-h2-style h2 {
        font-size: 1.25rem;
        text-align: right;
    }

    .front-shop-flash-sale-sidebar .fb-h2-style h2::before {
        width: 24px;
        left: 2px;
        top: 0;
    }

    .front-shop-flash-sale-countdown.elementor-countdown-wrapper {
        flex: 0 0 auto;
        flex-direction: row-reverse;
        justify-content: flex-start;
        gap: 4px;
        width: auto;
    }

    .front-shop-flash-sale-countdown .elementor-countdown-item,
    .front-shop-flash-sale-countdown .front-shop-flash-sale-countdown-item {
        width: 40px;
        gap: 4px;
    }

    .front-shop-flash-sale-countdown .front-shop-flash-sale-countdown-item--hours {
        width: 52px;
    }

    .front-shop-flash-sale-carousel {
        width: 100%;
        padding: 0 0 0 8px;
    }

    .front-shop-flash-sale-track.swiper-wrapper {
        padding: 0 12px 12px 0;
    }

    .front-shop-flash-sale .front-shop-product-card.fb-product-card {
        min-height: 299px;
        border-radius: 24px !important;
        padding: 48px 16px 16px !important;
    }

    .front-shop-flash-sale-view-all.fb-section-btn {
        position: static;
        width: auto;
        align-self: center;
        margin: 4px 0 0;
        padding: 0 8px 8px;
    }

    .front-shop-flash-sale-view-all.fb-section-btn .elementor-button {
        padding: 0 8px 8px;
    }

    .front-shop-flash-sale-deco.elementor-absolute {
        bottom: -4px;
        right: 0;
        left: auto;
    }

    .front-shop-flash-sale-deco .elementor-icon {
        font-size: 120px;
    }

    .front-shop-flash-sale-deco .elementor-icon img,
    .front-shop-flash-sale-deco .elementor-icon svg {
        width: 120px;
        height: auto;
    }
}

@media (max-width: 1024px) and (min-width: 768px) {
    .front-shop-flash-sale-deco.elementor-absolute {
        bottom: -16px;
    }

    .front-shop-flash-sale-deco .elementor-icon {
        font-size: 180px;
    }

    .front-shop-flash-sale-deco .elementor-icon img,
    .front-shop-flash-sale-deco .elementor-icon svg {
        width: 180px;
        height: auto;
    }
}

/* Front Shop — منوی پایین موبایل (مطابق shop.frontbaz.ir footer n-menu) */
@media screen and (max-width: 1025px) {
    #scrollUp {
        bottom: 84px !important;
    }

    .footer-mobile.front-shop-mobile-nav {
        display: block;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        max-width: 100vw;
        z-index: 1000;
        padding: 0;
        background: #fcfcfc;
        border-top: 1px solid #ededed;
        box-shadow: 0 -4px 16px -4px rgba(110, 110, 110, 0.2);
        overflow: visible;
    }

    .front-shop-mobile-nav-menu.e-n-menu {
        width: 100%;
    }

    .front-shop-mobile-nav .e-n-menu-wrapper {
        width: 100%;
    }

    .front-shop-mobile-nav .e-n-menu-heading.menu--footer {
        display: flex;
        flex-direction: row;
        align-items: stretch;
        justify-content: space-around;
        list-style: none;
        margin: 0;
        padding: 8px 4px calc(8px + env(safe-area-inset-bottom, 0px));
        gap: 0;
        width: 100%;
        min-height: 72px;
        direction: rtl;
        background: transparent;
    }

    .front-shop-mobile-nav .e-n-menu-item {
        flex: 1 1 0;
        min-width: 0;
        padding: 0 !important;
        margin: 0;
    }

    .front-shop-mobile-nav .e-n-menu-title {
        height: 100%;
    }

    .front-shop-mobile-nav .e-n-menu-title-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        width: 100%;
        min-height: 56px;
        padding: 4px 2px;
        color: #272727;
        text-decoration: none !important;
        text-align: center;
    }

    .front-shop-mobile-nav .e-n-menu-icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 24px;
        height: 24px;
        position: relative;
    }

    .front-shop-mobile-nav .e-n-menu-icon img {
        display: block;
        width: 24px;
        height: 24px;
    }

    .front-shop-mobile-nav .e-n-menu-icon .icon-active {
        display: none;
    }

    .front-shop-mobile-nav .e-n-menu-icon .icon-inactive {
        display: inline-flex;
    }

    .front-shop-mobile-nav .e-n-menu-item.is-active .e-n-menu-icon .icon-active,
    .front-shop-mobile-nav .e-n-menu-title.e-current .e-n-menu-icon .icon-active {
        display: inline-flex;
    }

    .front-shop-mobile-nav .e-n-menu-item.is-active .e-n-menu-icon .icon-inactive,
    .front-shop-mobile-nav .e-n-menu-title.e-current .e-n-menu-icon .icon-inactive {
        display: none;
    }

    .front-shop-mobile-nav .e-n-menu-title-text {
        display: block;
        font-size: 0.6875rem;
        font-weight: 500;
        line-height: 1.3;
        color: #272727;
        white-space: nowrap;
    }

    .front-shop-mobile-nav .e-n-menu-item.is-active .e-n-menu-title-text,
    .front-shop-mobile-nav .e-n-menu-title.e-current .e-n-menu-title-text {
        color: #cf1312;
        font-weight: 600;
    }

    /* سبد خرید مرکزی — مطابق cfea619 / fb-menu-cart */
    .front-shop-mobile-nav-cart {
        position: relative;
        z-index: 1002;
        overflow: visible;
    }

    .front-shop-mobile-nav-cart .e-n-menu-title,
    .front-shop-mobile-nav-cart .e-n-menu-title-container {
        overflow: visible;
    }

    .front-shop-mobile-nav-cart-slot {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-end;
        gap: 6px;
        width: 100%;
        min-height: 56px;
        padding: 18px 2px 4px;
        text-align: center;
    }

    .front-shop-mobile-cart-trigger {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin: 0;
        padding: 0;
        border: 0;
        background: transparent;
        cursor: pointer;
        font: inherit;
        line-height: 0;
        transform: translateY(-22px);
    }

    .front-shop-mobile-nav-cart-icon {
        position: relative;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 52px;
        height: 52px;
        border-radius: 50%;
        background: #cf1312;
        color: #fcfcfc;
        box-shadow: 0 8px 16px -2px rgba(226, 21, 0, 0.24);
    }

    .front-shop-mobile-nav-cart-icon svg {
        display: block;
        width: 24px;
        height: 24px;
    }

    .front-shop-mobile-nav-cart-badge {
        position: absolute;
        top: 0;
        right: 0;
        min-width: 18px;
        height: 18px;
        padding: 0 4px;
        border-radius: 999px;
        background: #102b4f;
        color: #fcfcfc;
        font-size: 0.625rem;
        font-weight: 700;
        line-height: 18px;
        text-align: center;
        transform: translate(25%, -25%);
    }

    .front-shop-mobile-nav-cart-slot .e-n-menu-title-text {
        display: block;
        margin: 0;
        font-size: 0.6875rem;
        font-weight: 500;
        line-height: 1.3;
        color: #272727;
        transform: translateY(-14px);
    }

    .front-shop-mobile-nav-cart.is-active .front-shop-mobile-nav-cart-icon {
        background: #e21514;
    }

    .front-shop-mobile-nav-cart.is-active .e-n-menu-title-text {
        color: #272727;
        font-weight: 500;
    }

    .front-shop-mobile-nav-cart-badge.is-empty {
        display: none;
    }

    /* مینی‌کارت موبایل — مطابق fb-menu-cart / cfea619 */
    .front-shop-mobile-mini-cart.fb-menu-cart {
        position: fixed;
        left: 50%;
        bottom: 0;
        z-index: 1001;
        width: 0;
        height: 0;
        transform: translateX(-50%);
        pointer-events: none;
    }

    .front-shop-mobile-mini-cart .elementor-menu-cart__toggle_wrapper {
        position: static;
        width: 0;
        height: 0;
        overflow: visible;
    }

    .front-shop-mobile-mini-cart .elementor-menu-cart__toggle {
        display: none;
    }

    .front-shop-mobile-mini-cart .elementor-menu-cart__container {
        position: fixed;
        inset: 0;
        z-index: 1002;
        display: flex;
        align-items: flex-end;
        justify-content: center;
        background: rgba(16, 43, 79, 0.45);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.25s ease, visibility 0.25s ease;
    }

    .front-shop-mobile-mini-cart.is-open {
        pointer-events: auto;
    }

    .front-shop-mobile-mini-cart.is-open .elementor-menu-cart__container {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .front-shop-mobile-mini-cart .elementor-menu-cart__main {
        position: relative;
        width: 100%;
        max-width: 100%;
        max-height: min(85vh, 640px);
        margin: 0;
        padding: 20px 16px calc(20px + env(safe-area-inset-bottom, 0px));
        background: #fcfcfc;
        border-radius: 24px 24px 0 0;
        box-shadow: 0 -8px 32px -8px rgba(16, 43, 79, 0.2);
        overflow: hidden auto;
        transform: translateY(100%);
        transition: transform 0.3s ease;
    }

    .front-shop-mobile-mini-cart.is-open .elementor-menu-cart__main {
        transform: translateY(0);
    }

    .front-shop-mobile-mini-cart .elementor-menu-cart__close-button {
        position: absolute;
        top: 16px;
        left: 16px;
        width: 32px;
        height: 32px;
        border: 0;
        border-radius: 50%;
        background: #ededed url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14' fill='none'%3E%3Cpath d='M13 1 1 13M1 1l12 12' stroke='%23272727' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") center / 14px no-repeat;
        cursor: pointer;
        z-index: 2;
    }

    .front-shop-mobile-mini-cart .front-shop-mini-cart-content {
        padding-top: 28px;
    }

    .front-shop-mobile-mini-cart .front-shop-mini-cart-empty {
        margin: 24px 0 40px;
        text-align: center;
        font-size: 0.9375rem;
        font-weight: 500;
        color: #6e6e6e;
        line-height: 1.6;
    }

    .front-shop-mobile-mini-cart .front-shop-mini-cart-content ul {
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .front-shop-mobile-mini-cart .front-shop-mini-cart-content > ul > li {
        display: flex;
        flex-wrap: wrap;
        align-items: flex-start;
        gap: 12px;
        padding: 8px 12px;
        border: 1px solid #ededed;
        border-radius: 16px;
        background: #fff;
    }

    .front-shop-mobile-mini-cart .shopping-cart-footer {
        margin-top: 16px;
        padding-top: 12px;
        border-top: 1px solid #ededed;
    }

    .front-shop-mobile-mini-cart .shopping-cart-button {
        display: flex;
        flex-direction: column;
        gap: 8px;
        margin-top: 12px;
    }

    .front-shop-mobile-mini-cart .shopping-cart-button a {
        display: block;
        text-align: center;
        padding: 12px 16px;
        border-radius: 50px;
        background: #cf1312;
        color: #fcfcfc !important;
        text-decoration: none !important;
        font-weight: 600;
    }

    body.front-shop-mini-cart-open {
        overflow: hidden;
    }
}

@media screen and (min-width: 1026px) {
    .footer-mobile.front-shop-mobile-nav,
    .front-shop-mobile-nav.elementor-hidden-desktop,
    .front-shop-mobile-mini-cart.fb-menu-cart {
        display: none !important;
    }
}

/* Front Shop — بنر تکنولوژی (شورت‌کد ads استایل ۲ — pixel-match b9c1879 / frontbaz) */
.ck-content .front-shop-tech-hero-banner,
.front-shop-tech-hero-banner {
    --fs-primary: #cf1312;
    --fs-primary-bright: #eb1f1e;
    --fs-surface: #fadfdf;
    --fs-title: #3b3b3b;
    --fs-text-muted: #6e6e6e;
    --fs-container: min(1440px, calc(100% - 72px));
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 48px;
    width: var(--fs-container);
    max-width: 100%;
    margin: 0 auto 30px;
    padding: 0;
    background: var(--fs-surface);
    border-radius: 32px;
    box-sizing: border-box;
    direction: rtl;
    overflow: hidden;
}

.front-shop-tech-hero-banner * {
    box-sizing: border-box;
}

.ck-content .front-shop-tech-hero-banner img,
.front-shop-tech-hero-banner img {
    max-width: 100%;
    height: auto;
    margin: 0;
    border-radius: 0;
}

.front-shop-tech-hero-content {
    display: flex;
    flex: 6 1 0;
    width: auto;
    max-width: none;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 10px;
    min-width: 0;
    padding: 48px 68px;
}

.front-shop-tech-hero-title.fb-h2-style {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 900;
    line-height: 1.3;
    color: var(--fs-title);
}

.front-shop-tech-hero-subtitle {
    margin: 0;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--fs-text-muted);
}

.front-shop-tech-hero-subtitle p {
    margin: 0;
}

.front-shop-tech-hero-btn.elementor-button {
    display: inline-flex;
    align-items: center;
    margin-top: 6px;
    padding: 12px 20px;
    border-radius: 50px;
    background: var(--fs-primary) !important;
    color: #fcfcfc !important;
    text-decoration: none !important;
    font-size: 0.9375rem;
    font-weight: 700;
    line-height: 1.2;
    border: 0;
    box-shadow: 0 8px 16px -2px rgba(226, 21, 0, 0.35);
    transition: background-color 0.25s ease, box-shadow 0.25s ease;
}

.front-shop-tech-hero-btn .elementor-button-content-wrapper {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
}

.front-shop-tech-hero-btn .elementor-button-icon svg {
    width: 24px;
    height: 24px;
    aspect-ratio: 1;
}

.front-shop-tech-hero-btn:hover {
    background: #e21514 !important;
    color: #fcfcfc !important;
    box-shadow: 0 8px 16px -2px rgba(226, 21, 0, 0.45);
}

.front-shop-tech-hero-visual.fb-titlebox {
    position: relative;
    display: flex;
    flex: 4 1 0;
    width: auto;
    max-width: none;
    min-height: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 0;
    padding: 22px 58px 12px;
    background: var(--fs-primary-bright);
    border-radius: 32px;
    overflow: visible;
    direction: ltr;
}

.front-shop-tech-hero-visual.fb-titlebox::after {
    content: '';
    position: absolute;
    width: 18px;
    height: 87px;
    background: var(--fs-primary-bright);
    mask: var(--fs-feature-deco-desktop) no-repeat;
    mask-size: contain;
    right: -17px;
    bottom: 32px;
    transform: rotate(180deg);
    pointer-events: none;
    z-index: 2;
}

/* فلش لبه — مطابق f813c79؛ مختصات LTR داخل titlebox تا با rtl بنر قاطی نشود */
.front-shop-tech-hero-banner .front-shop-tech-hero-visual .front-shop-tech-hero-arrow.fb-arrow-icon {
    position: absolute !important;
    top: auto !important;
    left: auto !important;
    right: -12px !important;
    bottom: 58px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    transform: none !important;
    z-index: 3;
    line-height: 0;
    cursor: default;
    pointer-events: none;
}

.front-shop-tech-hero-banner .front-shop-tech-hero-visual .front-shop-tech-hero-arrow .elementor-icon-wrapper {
    display: inline-flex;
    text-align: center;
}

.front-shop-tech-hero-banner .front-shop-tech-hero-visual .front-shop-tech-hero-arrow.elementor-view-stacked .elementor-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    font-size: 27px;
    background-color: #fcfcfc;
    border-radius: 50px;
    box-shadow: 0 2px 8px rgba(16, 43, 79, 0.12);
}

.front-shop-tech-hero-banner .front-shop-tech-hero-visual .front-shop-tech-hero-arrow .elementor-icon {
    padding-block: 2px;
}

.front-shop-tech-hero-banner .front-shop-tech-hero-visual .front-shop-tech-hero-arrow .elementor-icon svg {
    display: block;
    width: 27px;
    height: 27px;
    transform: rotate(90deg);
}

.front-shop-tech-hero-image {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 100%;
    line-height: 0;
}

.front-shop-tech-hero-image img {
    display: block;
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
    border-radius: 0;
}

@media (max-width: 1024px) {
    .front-shop-tech-hero-content {
        padding: 40px 40px;
    }

    .front-shop-tech-hero-visual.fb-titlebox {
        padding: 20px 32px 12px;
    }
}

@media (max-width: 767px) {
    .front-shop-tech-hero-banner {
        --fs-container: calc(100% - 24px);
        flex-direction: column;
        flex-wrap: wrap;
        gap: 20px;
        border-radius: 24px;
    }

    .front-shop-tech-hero-content,
    .front-shop-tech-hero-visual.fb-titlebox {
        flex: 1 1 100%;
        width: 100%;
        max-width: 100%;
    }

    .front-shop-tech-hero-content {
        align-items: center;
        text-align: center;
        padding: 32px 34px;
        border-radius: 24px;
    }

    .front-shop-tech-hero-visual.fb-titlebox {
        min-height: 0;
        border-radius: 24px;
        padding: 60px 24px 12px;
    }

    .front-shop-tech-hero-visual.fb-titlebox::after {
        right: 50%;
        bottom: 100%;
        transform: translate(calc(50% - 3px), calc(50% - 8px)) rotate(90deg);
        mask-image: var(--fs-feature-deco-mobile);
    }

    .front-shop-tech-hero-banner .front-shop-tech-hero-visual .front-shop-tech-hero-arrow.fb-arrow-icon {
        top: auto !important;
        left: 50% !important;
        right: auto !important;
        bottom: 100% !important;
        transform: translate(-50%, calc(50% + 8px)) rotate(-90deg) !important;
    }

    .front-shop-tech-hero-banner .front-shop-tech-hero-visual .front-shop-tech-hero-arrow .elementor-icon svg {
        transform: rotate(90deg);
    }

    .front-shop-tech-hero-btn {
        align-self: center;
    }
}

/* Front Shop — وبلاگ (شورت‌کد featured-news — مطابق fd51350) */
.ck-content .front-shop-blog,
.front-shop-blog {
    --fs-primary: #cf1312;
    --fs-accent: #102b4f;
    --fs-text-muted: #6e6e6e;
    --fs-blog-card-width: 340px;
    --fs-blog-card-gap: 24px;
    --fs-container: min(1440px, calc(100% - 72px));
    display: block;
    width: 100%;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
}

.front-shop-blog * {
    box-sizing: border-box;
}

.front-shop-blog-inner.e-con-inner {
    position: relative;
    max-width: var(--fs-container);
    margin: 0 auto;
    padding: 52px 36px 64px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px 32px;
    direction: rtl;
    overflow: visible;
}

.front-shop-blog .front-shop-bestsellers-header-row {
    flex: 1 1 100%;
}

.front-shop-blog-carousel {
    position: relative;
    flex: 1 1 100%;
    width: 100%;
    min-width: 0;
}

.front-shop-blog-scroller {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
}

.front-shop-blog-scroller::-webkit-scrollbar {
    display: none;
}

.front-shop-blog-track.swiper-wrapper {
    display: inline-flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: stretch;
    gap: var(--fs-blog-card-gap);
    width: max-content;
    padding: 4px 0 12px;
}

.front-shop-blog-slide.swiper-slide {
    flex: 0 0 var(--fs-blog-card-width) !important;
    width: var(--fs-blog-card-width) !important;
    min-width: var(--fs-blog-card-width) !important;
    scroll-snap-align: start;
}

.front-shop-blog-spacer.swiper-slide {
    flex: 0 0 12px !important;
    width: 12px !important;
    min-width: 12px !important;
    padding: 0;
    border: 0;
    background: transparent;
    pointer-events: none;
}

/* کارت بلاگ — مطابق elementor-11396 / loop-item frontbaz */
.front-shop-blog .elementor-11396 {
    width: 100%;
    max-width: 100%;
}

.elementor-11396 .elementor-element.elementor-element-8ab06f8 {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 2px 16px -4px rgba(110, 110, 110, 0.24);
    overflow: hidden;
    padding: 0;
    background: #fff;
}

.elementor-11396 .elementor-element.elementor-element-3b289e1 {
    margin: 0;
    line-height: 0;
    background: #fff;
}

.elementor-11396 .elementor-element.elementor-element-3b289e1 a {
    display: block;
    text-decoration: none;
}

.elementor-11396 .elementor-element.elementor-element-3b289e1 img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 24px 24px 0 0;
}

.elementor-11396 .elementor-element.elementor-element-c77e30c {
    flex-grow: 1;
    flex-shrink: 0;
    background-color: #fff;
    padding: 16px 16px 8px;
    border-radius: 0;
}

.elementor-11396 .elementor-element.elementor-element-c77e30c .elementor-heading-title {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.45;
}

.elementor-11396 .elementor-element.elementor-element-c77e30c .elementor-heading-title,
.elementor-11396 .elementor-element.elementor-element-c77e30c .elementor-heading-title a {
    color: var(--fs-accent, #102b4f);
    text-decoration: none;
}

.elementor-11396 .elementor-element.elementor-element-c77e30c .elementor-heading-title a:hover {
    color: var(--fs-primary);
}

.elementor-11396 .elementor-element.elementor-element-97b66aa {
    width: 100%;
    max-width: 100%;
    background-color: #fff;
    padding: 4px 16px 20px;
    border-radius: 0 0 24px 24px;
}

.elementor-11396 .elementor-element.elementor-element-97b66aa .elementor-icon-box-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
}

.elementor-11396 .elementor-element.elementor-element-97b66aa .elementor-icon {
    display: inline-flex;
    font-size: 18px;
    line-height: 0;
}

.elementor-11396 .elementor-element.elementor-element-97b66aa .elementor-icon-box-title,
.elementor-11396 .elementor-element.elementor-element-97b66aa .elementor-icon-box-title span {
    font-size: 0.8rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--fs-text-muted);
}

body:not(.rtl) .elementor-11396 .elementor-element.elementor-element-1a610b4 {
    right: 24px;
}

body.rtl .elementor-11396 .elementor-element.elementor-element-1a610b4,
.rtl .elementor-11396 .elementor-element.elementor-element-1a610b4 {
    left: 24px;
    right: auto;
}

.elementor-11396 .elementor-element.elementor-element-1a610b4 {
    position: absolute;
    bottom: 20px;
    z-index: 2;
    margin: 0;
}

.elementor-11396 .elementor-element.elementor-element-1a610b4 .elementor-icon-box-wrapper {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 8px;
}

.elementor-11396 .elementor-element.elementor-element-1a610b4 .elementor-icon {
    display: inline-flex;
    font-size: 14px;
    line-height: 0;
}

.elementor-11396 .elementor-element.elementor-element-1a610b4 .elementor-icon-box-title,
.elementor-11396 .elementor-element.elementor-element-1a610b4 .elementor-icon-box-title a {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--fs-primary);
    text-decoration: none;
}

.elementor-11396 .elementor-element.elementor-element-1a610b4 .elementor-icon-box-title a:hover {
    color: #e21514;
}

body:not(.rtl) .elementor-11396 .elementor-element.elementor-element-f926383 {
    right: 24px;
}

body.rtl .elementor-11396 .elementor-element.elementor-element-f926383,
.rtl .elementor-11396 .elementor-element.elementor-element-f926383 {
    left: 24px;
    right: auto;
}

.elementor-11396 .elementor-element.elementor-element-f926383 {
    position: absolute;
    top: 20px;
    z-index: 3;
    margin: 0;
    background-color: #fff;
    padding: 4px 14px;
    border-radius: 50px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.elementor-11396 .elementor-element.elementor-element-f926383 .elementor-heading-title {
    margin: 0;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--fs-text-muted);
}

.elementor-11396 .elementor-element.elementor-element-f926383 .elementor-heading-title a {
    color: var(--fs-text-muted);
    text-decoration: none;
}

.elementor-11396 .elementor-element.elementor-element-f926383 .elementor-heading-title a:hover {
    color: var(--fs-primary);
}

@media (max-width: 1024px) {
    .front-shop-blog-inner.e-con-inner {
        padding: 40px 24px 48px;
        gap: 28px 20px;
    }

    .front-shop-blog {
        --fs-blog-card-width: 300px;
        --fs-blog-card-gap: 20px;
    }
}

@media (max-width: 767px) {
    .front-shop-blog {
        --fs-container: calc(100% - 24px);
        --fs-blog-card-width: 280px;
        --fs-blog-card-gap: 12px;
    }

    .front-shop-blog-inner.e-con-inner {
        padding: 32px 12px 40px;
    }

    .front-shop-blog-track.swiper-wrapper {
        padding-right: 12px;
        padding-bottom: 12px;
    }

    .elementor-11396 .elementor-element.elementor-element-c77e30c {
        padding: 16px 14px;
    }

    .elementor-11396 .elementor-element.elementor-element-97b66aa {
        padding: 10px 14px 20px;
    }
}

/* Front Shop — هدر موبایل (دو ردیف: نوار سفید + بنر تخفیف قرمز) */
.front-shop-mobile-header {
    display: none;
}

@media screen and (max-width: 1025px) {
    .header-area.header-height-2 {
        min-height: 0 !important;
        height: auto !important;
        background: #fff !important;
    }

    .header-area .header-top,
    .header-area .header-middle,
    .header-area .header-bottom {
        display: none !important;
    }

    .header-area .front-shop-mobile-header {
        display: block !important;
        width: calc(100% - 16px);
        max-width: 100%;
        margin: 0 auto;
        padding: 12px 0 10px;
        box-sizing: border-box;
    }

    .header-area .front-shop-mobile-header-top {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        direction: rtl;
        min-height: 48px;
        width: 100%;
    }

    .header-area .front-shop-mobile-header-brand {
        display: flex !important;
        align-items: center;
        gap: 8px;
        flex: 0 1 auto;
        min-width: 0;
    }

    .header-area .front-shop-mobile-header-burger {
        flex: 0 0 auto;
    }

    .header-area .front-shop-mobile-header-burger .burger-icon {
        width: 44px !important;
        height: 44px !important;
        border-radius: 50%;
        background: #fff !important;
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        position: relative;
    }

    .header-area .front-shop-mobile-header-burger .burger-icon > span {
        background-color: #333 !important;
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%);
        width: 18px !important;
    }

    .header-area .front-shop-mobile-header-burger .burger-icon-top {
        top: 14px !important;
    }

    .header-area .front-shop-mobile-header-burger .burger-icon-mid {
        top: 21px !important;
        width: 14px !important;
    }

    .header-area .front-shop-mobile-header-burger .burger-icon-bottom {
        top: 28px !important;
    }

    .header-area .front-shop-mobile-header-logo {
        flex: 0 1 auto;
        min-width: 0;
        line-height: 0;
    }

    .header-area .front-shop-mobile-header-logo a {
        display: block;
        line-height: 0;
    }

    .header-area .front-shop-mobile-header-logo img {
        display: block !important;
        width: auto;
        max-width: 108px;
        max-height: 34px;
        height: auto;
        object-fit: contain;
    }

    .header-area .front-shop-mobile-header-logo-text {
        display: block;
        font-size: 18px;
        font-weight: 800;
        color: var(--fs-red, #e61212);
        text-decoration: none;
        line-height: 1.2;
        white-space: nowrap;
    }

    .header-area .front-shop-mobile-header-actions {
        display: flex !important;
        align-items: center;
        align-self: center;
        gap: 8px;
        flex: 0 0 auto;
        min-height: 44px;
    }

    .header-area .front-shop-mobile-header-user {
        width: 44px;
        height: 44px;
        border-radius: 50%;
        background: #f3f3f3;
        color: #888;
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        flex-shrink: 0;
        font-size: 18px;
    }

    .header-area .front-shop-mobile-header-cart {
        display: inline-flex !important;
        align-items: center;
        gap: 8px;
        margin: 0;
        padding: 0;
        border: 0;
        background: transparent;
        cursor: pointer;
        font: inherit;
        flex-shrink: 0;
        transform: none !important;
        line-height: normal;
    }

    .header-area .front-shop-mobile-header-cart.front-shop-mobile-cart-trigger {
        transform: none !important;
    }

    .header-area .front-shop-mobile-header-cart-meta {
        display: flex !important;
        flex-direction: column;
        align-items: flex-end;
        line-height: 1.25;
        gap: 1px;
    }

    .header-area .front-shop-mobile-header-cart-label {
        display: block;
        font-size: 12px;
        font-weight: 500;
        color: #666;
        white-space: nowrap;
    }

    .header-area .front-shop-mobile-header-cart-amount {
        display: block;
        font-size: 13px;
        font-weight: 700;
        color: var(--fs-red, #e61212);
        white-space: nowrap;
    }

    .header-area .front-shop-mobile-header-cart-icon {
        position: relative;
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        border-radius: 50%;
        background: var(--fs-red, #e61212);
        color: #fff;
        flex-shrink: 0;
        box-shadow: 0 4px 12px rgba(230, 18, 18, 0.28);
    }

    .header-area .front-shop-mobile-header-cart-icon svg {
        display: block !important;
        width: 22px;
        height: 22px;
    }

    .header-area .front-shop-mobile-header-cart-badge {
        position: absolute;
        top: -2px;
        inset-inline-end: -2px;
        min-width: 18px;
        height: 18px;
        padding: 0 5px;
        border-radius: 999px;
        background: #102b4f;
        color: #fff;
        font-size: 10px;
        font-weight: 700;
        line-height: 18px;
        text-align: center;
        border: 2px solid #fff;
    }

    .header-area .front-shop-mobile-header-cart-badge.is-empty {
        display: none !important;
    }

    .header-area .front-shop-mobile-header-promo-bar {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        direction: rtl;
        width: 100%;
        margin-top: 8px;
        padding: 6px 12px;
        min-height: 52px;
        box-sizing: border-box;
        background: var(--fs-red, #e61212) !important;
        border-radius: 999px;
        box-shadow: 0 3px 12px rgba(230, 18, 18, 0.2);
        overflow: hidden;
    }

    .header-area .front-shop-mobile-header-promo {
        display: flex !important;
        align-items: center;
        flex: 0 1 auto;
        min-width: 0;
        max-width: 42%;
        color: #fff;
        margin-inline-start: auto;
    }

    .header-area .front-shop-mobile-header-promo .front-shop-promo-badge-text {
        display: flex !important;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        line-height: 1.1;
        gap: 1px;
        min-width: 0;
    }

    .header-area .front-shop-mobile-header-promo .front-shop-promo-badge-line1 {
        display: block;
        font-size: 10px;
        font-weight: 700;
        letter-spacing: 0.12em;
        white-space: nowrap;
        color: #fff;
    }

    .header-area .front-shop-mobile-header-promo .front-shop-promo-badge-line2 {
        display: block;
        font-size: 9px;
        font-weight: 500;
        letter-spacing: 0;
        white-space: nowrap;
        color: rgba(255, 255, 255, 0.95);
    }

    .header-area .front-shop-mobile-header-countdown {
        flex: 0 1 auto;
        min-width: 0;
        display: flex !important;
        justify-content: flex-start;
        overflow: visible;
    }

    .header-area .front-shop-mobile-header-promo-bar .front-shop-promo-countdown-inline {
        display: flex !important;
        flex-direction: row;
        align-items: flex-end;
        justify-content: flex-start;
        flex-wrap: nowrap;
        gap: 6px;
        direction: rtl;
        width: auto;
        max-width: 100%;
    }

    .header-area .front-shop-mobile-header-promo-bar .front-shop-countdown-segment {
        display: inline-flex !important;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        gap: 3px;
        flex: 0 0 auto;
        line-height: 1;
    }

    .header-area .front-shop-mobile-header-promo-bar .front-shop-countdown-value,
    .header-area .front-shop-mobile-header-promo-bar .front-shop-countdown-segment > span[data-hours],
    .header-area .front-shop-mobile-header-promo-bar .front-shop-countdown-segment > span[data-minutes],
    .header-area .front-shop-mobile-header-promo-bar .front-shop-countdown-segment > span[data-seconds] {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        min-width: 28px;
        width: 28px;
        height: 28px;
        padding: 0;
        background: #fff;
        border-radius: 50%;
        font-size: 11px;
        font-weight: 700;
        color: #222;
        line-height: 1;
        font-variant-numeric: tabular-nums;
    }

    .header-area .front-shop-mobile-header-promo-bar .front-shop-countdown-label {
        display: block !important;
        font-size: 8px;
        font-weight: 500;
        color: rgba(255, 255, 255, 0.95);
        line-height: 1;
        white-space: nowrap;
        text-align: center;
    }

    .header-area .front-shop-mobile-header-promo-bar .front-shop-countdown-sep,
    .header-area .front-shop-mobile-header-promo-bar .front-shop-countdown-unit {
        display: none !important;
    }
}

@media screen and (max-width: 767px) {
    .header-area .front-shop-mobile-header {
        width: calc(100% - 12px);
        padding: 10px 0 8px;
    }

    .header-area .front-shop-mobile-header-logo img {
        max-width: 96px;
        max-height: 32px;
    }

    .header-area .front-shop-mobile-header-burger .burger-icon,
    .header-area .front-shop-mobile-header-user,
    .header-area .front-shop-mobile-header-cart-icon {
        width: 40px;
        height: 40px;
    }

    .header-area .front-shop-mobile-header-cart-label {
        font-size: 11px;
    }

    .header-area .front-shop-mobile-header-cart-amount {
        font-size: 12px;
    }

    .header-area .front-shop-mobile-header-promo-bar {
        padding: 5px 8px;
        min-height: 36px;
        max-height: 38px;
        gap: 4px;
    }

    .header-area .front-shop-mobile-header-promo {
        max-width: 34%;
    }

    .header-area .front-shop-mobile-header-promo .front-shop-promo-badge-line1 {
        font-size: 9px;
        letter-spacing: 0.08em;
    }

    .header-area .front-shop-mobile-header-promo .front-shop-promo-badge-line2 {
        font-size: 8px;
    }

    .header-area .front-shop-mobile-header-promo-bar .front-shop-promo-countdown-inline {
        gap: 3px;
    }

    .header-area .front-shop-mobile-header-promo-bar .front-shop-countdown-value,
    .header-area .front-shop-mobile-header-promo-bar .front-shop-countdown-segment > span[data-hours],
    .header-area .front-shop-mobile-header-promo-bar .front-shop-countdown-segment > span[data-minutes],
    .header-area .front-shop-mobile-header-promo-bar .front-shop-countdown-segment > span[data-seconds] {
        min-width: 20px;
        width: 20px;
        height: 20px;
        font-size: 9px;
    }

    .header-area .front-shop-mobile-header-promo-bar .front-shop-countdown-label {
        font-size: 7px;
    }
}

@media screen and (max-width: 380px) {
    .header-area .front-shop-mobile-header-promo .front-shop-promo-badge-line1 {
        font-size: 10px;
        letter-spacing: 0.14em;
    }

    .header-area .front-shop-mobile-header-promo-bar .front-shop-countdown-value,
    .header-area .front-shop-mobile-header-promo-bar .front-shop-countdown-segment > span[data-hours],
    .header-area .front-shop-mobile-header-promo-bar .front-shop-countdown-segment > span[data-minutes],
    .header-area .front-shop-mobile-header-promo-bar .front-shop-countdown-segment > span[data-seconds] {
        min-width: 22px;
        height: 22px;
        font-size: 10px;
    }

    .header-area .front-shop-mobile-header-promo-bar .front-shop-countdown-label {
        font-size: 8px;
    }

    .header-area .front-shop-mobile-header-promo-bar .front-shop-promo-countdown-inline {
        gap: 4px;
    }
}

/* Front Shop — Hero Slider موبایل (تصویر بک‌گراند + متن) */
@media screen and (max-width: 1025px) {
    .home-slider.front-shop-hero {
        --fs-hero-mobile-height: 283px;
        --fs-hero-mobile-radius: 24px;
        --fs-hero-mobile-gutter: 12px;
        max-width: calc(100% - (var(--fs-hero-mobile-gutter) * 2)) !important;
        width: calc(100% - (var(--fs-hero-mobile-gutter) * 2)) !important;
        margin: 12px auto 16px !important;
        padding: 0 !important;
        overflow: hidden !important;
    }

    .home-slider.front-shop-hero .front-shop-hero-container,
    .home-slider.front-shop-hero .front-shop-hero-slider,
    .home-slider.front-shop-hero .hero-slider-1.style-3,
    .home-slider.front-shop-hero .single-hero-slider,
    .home-slider.front-shop-hero .single-hero-slider .container {
        width: 100% !important;
        max-width: 100% !important;
    }

    .home-slider.front-shop-hero .front-shop-hero-container,
    .home-slider.front-shop-hero .front-shop-hero-slider,
    .home-slider.front-shop-hero .hero-slider-1.style-3,
    .home-slider.front-shop-hero .hero-slider-1.style-3 .slick-list {
        height: var(--fs-hero-mobile-height) !important;
        min-height: var(--fs-hero-mobile-height) !important;
        max-height: var(--fs-hero-mobile-height) !important;
    }

    .home-slider.front-shop-hero .hero-slider-1.style-3 .slick-list {
        width: 100% !important;
        overflow: hidden !important;
    }

    .home-slider.front-shop-hero .hero-slider-1.style-3 .slick-slide {
        height: var(--fs-hero-mobile-height) !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        left: 0 !important;
        right: 0 !important;
    }

    .home-slider.front-shop-hero .hero-slider-1.style-3 .slick-list,
    .home-slider.front-shop-hero .hero-slider-1.style-3 .slick-track {
        width: 100% !important;
        max-width: 100% !important;
    }

    .home-slider.front-shop-hero .hero-slider-1.style-3 .slick-slide .single-hero-slider {
        display: block !important;
        height: 100% !important;
        width: 100% !important;
    }

    .home-slider.front-shop-hero .hero-slider-1.style-3 .slick-slide > div {
        height: 100% !important;
        width: 100% !important;
    }

    .home-slider.front-shop-hero .front-shop-hero-container,
    .home-slider.front-shop-hero .front-shop-hero-slider,
    .home-slider.front-shop-hero .hero-slider-1.style-3 {
        border-radius: var(--fs-hero-mobile-radius) !important;
        overflow: hidden !important;
        background: transparent !important;
    }

    .home-slider.front-shop-hero .single-hero-slider .container {
        padding: 0 !important;
        margin: 0 !important;
    }

    .home-slider.front-shop-hero .hero-slider-1.style-3 .slider-1-height-3.slider-animated-1 {
        position: relative !important;
        display: block !important;
        width: 100% !important;
        height: var(--fs-hero-mobile-height) !important;
        min-height: var(--fs-hero-mobile-height) !important;
        max-height: var(--fs-hero-mobile-height) !important;
        overflow: hidden !important;
        border-radius: var(--fs-hero-mobile-radius) !important;
        background: #ef3131 !important;
    }

    .home-slider.front-shop-hero .hero-slider-1.style-3 .slider-1-height-3.slider-animated-1::before {
        content: "" !important;
        position: absolute !important;
        inset: 0 !important;
        z-index: 2 !important;
        pointer-events: none !important;
        background: linear-gradient(to left, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.25) 45%, transparent 72%) !important;
        border-radius: var(--fs-hero-mobile-radius) !important;
    }

    .home-slider.front-shop-hero .hero-slider-1.style-3 .slider-img {
        position: absolute !important;
        inset: 0 !important;
        width: 100% !important;
        height: 100% !important;
        z-index: 1 !important;
        margin: 0 !important;
        padding: 0 !important;
        border-radius: var(--fs-hero-mobile-radius) !important;
        overflow: hidden !important;
        background: #ef3131 !important;
    }

    .home-slider.front-shop-hero .hero-slider-1.style-3 .slider-img a {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        margin: 0 !important;
        pointer-events: none !important;
    }

    .home-slider.front-shop-hero .hero-slider-1.style-3 .slider-img picture {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
    }

    .home-slider.front-shop-hero .hero-slider-1.style-3 .slider-img img {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        max-width: 100% !important;
        object-fit: cover !important;
        object-position: center center !important;
        transform: none !important;
        border-radius: var(--fs-hero-mobile-radius) !important;
        margin: 0 !important;
        mix-blend-mode: normal !important;
        opacity: 1 !important;
        visibility: visible !important;
        animation: none !important;
    }

    .home-slider.front-shop-hero .hero-slider-1.style-3 .slider-animated-1 .hero-slider-content-2 {
        position: absolute !important;
        top: 0 !important;
        right: 0 !important;
        left: auto !important;
        bottom: 0 !important;
        z-index: 3 !important;
        width: 58% !important;
        max-width: 58% !important;
        height: 100% !important;
        transform: none !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        justify-content: center !important;
        gap: 0 !important;
        padding: 22px 18px 22px 10px !important;
        margin: 0 !important;
        text-align: right !important;
        direction: rtl !important;
        border-radius: 0 !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        background: transparent !important;
        pointer-events: none !important;
    }

    .home-slider.front-shop-hero .hero-slider-1.style-3 .hero-slider-content-2 .animated,
    .home-slider.front-shop-hero .hero-slider-1.style-3 .slider-img .animated,
    .home-slider.front-shop-hero .hero-slider-1.style-3 .slider-img img.animated {
        opacity: 1 !important;
        visibility: visible !important;
        animation: none !important;
        transform: none !important;
    }

    .home-slider.front-shop-hero .hero-slider-1.style-3 .hero-slider-content-2 h4 {
        display: block !important;
        width: 100% !important;
        font-size: 12px !important;
        font-weight: 500 !important;
        line-height: 1.35 !important;
        margin: 0 0 6px !important;
        color: rgba(255, 255, 255, 0.92) !important;
        text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35) !important;
    }

    .home-slider.front-shop-hero .hero-slider-1.style-3 .hero-slider-content-2 h2 {
        display: block !important;
        width: 100% !important;
        font-size: 20px !important;
        font-weight: 800 !important;
        line-height: 1.4 !important;
        margin: 0 0 8px !important;
        color: #fff !important;
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35) !important;
    }

    .home-slider.front-shop-hero .hero-slider-1.style-3 .hero-slider-content-2 h1,
    .home-slider.front-shop-hero .hero-slider-1.style-3 .hero-slider-content-2 h1.text-brand {
        display: block !important;
        width: 100% !important;
        font-size: 18px !important;
        font-weight: 800 !important;
        line-height: 1.3 !important;
        margin: 0 0 8px !important;
        color: #fff !important;
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35) !important;
    }

    .home-slider.front-shop-hero .hero-slider-1.style-3 .hero-slider-content-2 p {
        display: block !important;
        width: 100% !important;
        font-size: 13px !important;
        font-weight: 400 !important;
        line-height: 1.45 !important;
        margin: 0 0 14px !important;
        color: rgba(255, 255, 255, 0.92) !important;
        text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35) !important;
    }

    .home-slider.front-shop-hero .hero-slider-1.style-3 .hero-slider-content-2 .btn,
    .home-slider.front-shop-hero .hero-slider-1.style-3 .hero-slider-content-2 a.btn {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin-top: 0 !important;
        padding: 10px 22px !important;
        font-size: 13px !important;
        font-weight: 700 !important;
        line-height: 1.2 !important;
        color: #1a2332 !important;
        background: #fff !important;
        border: 0 !important;
        border-radius: 999px !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
        text-decoration: none !important;
        white-space: nowrap !important;
        pointer-events: auto !important;
    }

    .home-slider.front-shop-hero .hero-slider-1.style-3 .hero-slider-content-2 .btn i,
    .home-slider.front-shop-hero .hero-slider-1.style-3 .hero-slider-content-2 a.btn i {
        display: none !important;
    }

    .home-slider.front-shop-hero .hero-slider-1.style-3.slick-slider.slick-fade .slick-list {
        position: relative !important;
    }

    .home-slider.front-shop-hero .hero-slider-1.style-3.slick-slider.slick-fade .slick-track {
        width: 100% !important;
        height: var(--fs-hero-mobile-height) !important;
    }

    .home-slider.front-shop-hero .hero-slider-1.style-3.slick-slider.slick-fade .slick-slide {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        float: none !important;
        height: var(--fs-hero-mobile-height) !important;
        opacity: 0;
        z-index: 0;
        transition: opacity 500ms ease;
    }

    .home-slider.front-shop-hero .hero-slider-1.style-3.slick-slider.slick-fade .slick-slide.slick-active,
    .home-slider.front-shop-hero .hero-slider-1.style-3.slick-slider.slick-fade .slick-slide.slick-current {
        opacity: 1 !important;
        z-index: 2 !important;
        visibility: visible !important;
    }

    .home-slider.front-shop-hero .hero-slider-1.style-3.slick-slider.slick-fade .slick-slide.slick-cloned {
        display: none !important;
        visibility: hidden !important;
    }

    .home-slider.front-shop-hero .hero-slider-1.style-3 .slick-slide.slick-active .slider-img img,
    .home-slider.front-shop-hero .hero-slider-1.style-3 .slick-slide.slick-active .slider-img picture,
    .home-slider.front-shop-hero .hero-slider-1.style-3 .slick-slide.slick-current .slider-img img,
    .home-slider.front-shop-hero .hero-slider-1.style-3 .slick-slide.slick-current .slider-img picture {
        opacity: 1 !important;
        visibility: visible !important;
    }

    .home-slider.front-shop-hero .dot-style-1-position-1 ul {
        top: 0 !important;
        right: 0 !important;
        left: auto !important;
        min-height: 28px !important;
        min-width: 100px !important;
        transform: none !important;
        z-index: 5 !important;
    }

    .home-slider.front-shop-hero .dot-style-1-position-1 ul::before {
        left: 28px !important;
        background-size: 100% 100% !important;
    }
}

@media screen and (max-width: 767px) {
    .home-slider.front-shop-hero {
        --fs-hero-mobile-radius: 20px;
    }

    .home-slider.front-shop-hero .hero-slider-1.style-3 .slider-1-height-3.slider-animated-1,
    .home-slider.front-shop-hero .hero-slider-1.style-3 .slider-1-height-3.slider-animated-1::before,
    .home-slider.front-shop-hero .hero-slider-1.style-3 .slider-img,
    .home-slider.front-shop-hero .hero-slider-1.style-3 .slider-img img {
        border-radius: var(--fs-hero-mobile-radius) !important;
    }

    .home-slider.front-shop-hero .hero-slider-1.style-3 .slider-animated-1 .hero-slider-content-2 {
        width: 62% !important;
        max-width: 62% !important;
        padding: 18px 16px 18px 8px !important;
    }

    .home-slider.front-shop-hero .hero-slider-1.style-3 .hero-slider-content-2 h2 {
        font-size: 18px !important;
    }

    .home-slider.front-shop-hero .hero-slider-1.style-3 .hero-slider-content-2 h1,
    .home-slider.front-shop-hero .hero-slider-1.style-3 .hero-slider-content-2 h1.text-brand {
        font-size: 16px !important;
    }
}

@media screen and (max-width: 480px) {
    .home-slider.front-shop-hero .hero-slider-1.style-3 .slider-animated-1 .hero-slider-content-2 {
        width: 65% !important;
        max-width: 65% !important;
        padding: 16px 14px 16px 6px !important;
    }

    .home-slider.front-shop-hero .hero-slider-1.style-3 .hero-slider-content-2 h2 {
        font-size: 16px !important;
    }

    .home-slider.front-shop-hero .hero-slider-1.style-3 .hero-slider-content-2 h4 {
        font-size: 11px !important;
    }

    .home-slider.front-shop-hero .hero-slider-1.style-3 .hero-slider-content-2 p {
        font-size: 12px !important;
        margin-bottom: 10px !important;
    }

    .home-slider.front-shop-hero .hero-slider-1.style-3 .hero-slider-content-2 .btn,
    .home-slider.front-shop-hero .hero-slider-1.style-3 .hero-slider-content-2 a.btn {
        padding: 8px 18px !important;
        font-size: 12px !important;
    }
}

