.elementor-4331 .elementor-element.elementor-element-b146864{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-4331 .elementor-element.elementor-element-5f61b01{--display:flex;}.elementor-4331 .elementor-element.elementor-element-cb6a65e{--display:flex;}.elementor-4331 .elementor-element.elementor-element-8827d5d .nlp-product-slider-wrap{--nlp-card-bg:#090909;--nlp-card-border:#4c3a11;--nlp-accent:#f7ba19;--nlp-text:#ffffff;--nlp-muted:#a8a8a8;--nlp-whatsapp:#087a42;}.elementor-4331 .elementor-element.elementor-element-8827d5d .nlp-product-card{border-radius:14px;}@media(max-width:767px){.elementor-4331 .elementor-element.elementor-element-5f61b01{--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}}@media(min-width:768px){.elementor-4331 .elementor-element.elementor-element-5f61b01{--content-width:1280px;}}/* Start custom CSS for nlp_woo_product_slider, class: .elementor-element-8827d5d *//* ==========================================================
   Nootresa WooCommerce Product Slider
   RTL - Responsive - Mobile First
========================================================== */

.nlp-product-slider-wrap {
    --nlp-card-bg: #090909;
    --nlp-card-border: #4c3a11;
    --nlp-accent: #f7ba19;
    --nlp-text: #ffffff;
    --nlp-muted: #a8a8a8;
    --nlp-whatsapp: #087a42;

    position: relative;
    width: 100%;
    max-width: 100%;
    padding: 3px 2px 36px;
    overflow: hidden;
    direction: rtl;
    box-sizing: border-box;
}

.nlp-product-slider-wrap *,
.nlp-product-slider-wrap *::before,
.nlp-product-slider-wrap *::after {
    box-sizing: border-box;
}

/* ساختار Swiper */
.nlp-product-slider-wrap .swiper {
    width: 100%;
    overflow: visible;
}

.nlp-product-slider-wrap .swiper-wrapper {
    align-items: stretch;
}

.nlp-product-slider-wrap .swiper-slide {
    display: flex;
    height: auto;
}

/* ==========================================================
   کارت محصول
========================================================== */

.nlp-product-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0;
    overflow: hidden;
    color: var(--nlp-text);
    background: var(--nlp-card-bg);
    border: 1px solid var(--nlp-card-border);
    border-radius: 14px;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.nlp-product-card:hover {
    border-color: var(--nlp-accent);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.28);
    transform: translateY(-4px);
}

/* ==========================================================
   تصویر
========================================================== */

.nlp-product-image-box {
    position: relative;
    width: 100%;
    aspect-ratio: 1.36 / 1;
    overflow: hidden;
    background: #151515;
}

.nlp-product-image-link {
    display: block;
    width: 100%;
    height: 100%;
}

.nlp-product-image-box img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.nlp-product-card:hover .nlp-product-image-box img {
    transform: scale(1.05);
}

.nlp-product-image-box::after {
    position: absolute;
    z-index: 1;
    right: 0;
    bottom: 0;
    left: 0;
    height: 42%;
    pointer-events: none;
    content: "";
    background: linear-gradient(to top, rgba(0, 0, 0, 0.48), transparent);
}

/* ==========================================================
   بج‌ها
========================================================== */

.nlp-badge {
    position: relative;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 24px;
    padding: 4px 9px;
    font-size: 10px;
    font-weight: 800;
    line-height: 1.1;
    white-space: nowrap;
    border-radius: 6px;
}

.nlp-warranty-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    gap: 4px;
    color: #f7d980;
    background: rgba(8, 8, 8, 0.86);
    border: 1px solid rgba(247, 186, 25, 0.42);
}

.nlp-warranty-icon {
    color: var(--nlp-accent);
    font-size: 10px;
}

.nlp-top-badges {
    position: absolute;
    z-index: 3;
    top: 10px;
    left: 10px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
}

.nlp-sale-badge,
.nlp-new-badge {
    color: #1e1705;
    background: var(--nlp-accent);
}

/* ==========================================================
   محتوای کارت
========================================================== */

.nlp-product-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 14px 15px 15px;
}

.nlp-product-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: 18px;
    margin-bottom: 7px;
    color: var(--nlp-muted);
    font-size: 10px;
    line-height: 1.4;
}

.nlp-category {
    overflow: hidden;
    max-width: 68%;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.nlp-category a {
    color: inherit;
    text-decoration: none;
}

.nlp-sku {
    direction: ltr;
    color: #d7a942;
    font-family: monospace;
    font-size: 10px;
}

.nlp-product-title {
    display: -webkit-box;
    min-height: 47px;
    margin: 0 0 8px;
    overflow: hidden;
    color: var(--nlp-text);
    font-size: 15px;
    font-weight: 800;
    line-height: 1.6;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.nlp-product-title a {
    color: inherit;
    text-decoration: none;
}

.nlp-product-title a:hover {
    color: var(--nlp-accent);
}

.nlp-product-description {
    display: -webkit-box;
    min-height: 38px;
    margin-bottom: 11px;
    overflow: hidden;
    color: var(--nlp-muted);
    font-size: 11px;
    line-height: 1.7;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

/* ==========================================================
   قیمت
========================================================== */

.nlp-price-box {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 8px;
    min-height: 45px;
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.nlp-price-label {
    flex: 0 0 auto;
    color: var(--nlp-muted);
    font-size: 11px;
}

.nlp-price-html {
    min-width: 0;
    text-align: left;
}

.nlp-price-html,
.nlp-price-html .price,
.nlp-price-html .woocommerce-Price-amount {
    color: var(--nlp-accent);
    font-size: 15px;
    font-weight: 800;
    line-height: 1.4;
}

.nlp-price-html del {
    display: block;
    margin-bottom: 1px;
    color: #747474;
    font-size: 10px;
    font-weight: 400;
}

.nlp-price-html del .woocommerce-Price-amount {
    color: #747474;
    font-size: 10px;
    font-weight: 400;
}

.nlp-price-html ins {
    text-decoration: none;
}

.nlp-price-html .woocommerce-Price-currencySymbol {
    margin-right: 3px;
    font-size: 10px;
}

/* ==========================================================
   دکمه‌ها
========================================================== */

.nlp-product-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 13px;
}

.nlp-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 0;
    min-height: 39px;
    padding: 8px 6px;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    text-decoration: none !important;
    white-space: nowrap;
    border: 1px solid transparent;
    border-radius: 8px;
    transition: all 0.22s ease;
}

.nlp-button-icon {
    font-size: 13px;
    line-height: 1;
}

.nlp-whatsapp-btn {
    color: #65e69e !important;
    background: rgba(6, 94, 48, 0.28);
    border-color: var(--nlp-whatsapp);
}

.nlp-whatsapp-btn:hover {
    color: #ffffff !important;
    background: var(--nlp-whatsapp);
    transform: translateY(-2px);
}

.nlp-cart-btn {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.025);
    border-color: rgba(247, 186, 25, 0.48);
}

.nlp-cart-btn:hover {
    color: #1a1304 !important;
    background: var(--nlp-accent);
    border-color: var(--nlp-accent);
    transform: translateY(-2px);
}

/* ==========================================================
   فلش‌های اسلایدر
========================================================== */

.nlp-swiper-nav {
    position: absolute;
    z-index: 5;
    top: 44%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    color: var(--nlp-text);
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    background: rgba(10, 10, 10, 0.92);
    border: 1px solid var(--nlp-card-border);
    border-radius: 50%;
    transform: translateY(-50%);
    transition: 0.2s ease;
}

.nlp-swiper-nav:hover {
    color: #171104;
    background: var(--nlp-accent);
    border-color: var(--nlp-accent);
}

.nlp-swiper-prev {
    right: 7px;
}

.nlp-swiper-next {
    left: 7px;
}

.nlp-swiper-nav.swiper-button-disabled {
    pointer-events: none;
    opacity: 0.25;
}

/* ==========================================================
   نقطه‌های اسلایدر
========================================================== */

.nlp-swiper-pagination {
    position: relative !important;
    bottom: auto !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-top: 16px;
}

.nlp-swiper-pagination .swiper-pagination-bullet {
    width: 6px;
    height: 6px;
    margin: 0 !important;
    background: #777777;
    opacity: 0.85;
}

.nlp-swiper-pagination .swiper-pagination-bullet-active {
    width: 19px;
    border-radius: 10px;
    background: var(--nlp-accent);
}

/* ==========================================================
   پیام نبود محصول
========================================================== */

.nlp-no-products {
    padding: 18px;
    color: #ffffff;
    font-size: 14px;
    text-align: center;
    background: #111111;
    border: 1px dashed #666666;
    border-radius: 10px;
}

/* ==========================================================
   تبلت
========================================================== */

@media (max-width: 1024px) {
    .nlp-product-content {
        padding: 13px;
    }

    .nlp-product-title {
        font-size: 14px;
    }

    .nlp-swiper-nav {
        width: 33px;
        height: 33px;
        font-size: 18px;
    }
}

/* ==========================================================
   موبایل
========================================================== */

@media (max-width: 767px) {
    .nlp-product-slider-wrap {
        width: 100%;
        max-width: 100vw;
        padding: 2px 0 28px;
        overflow: hidden;
    }

    .nlp-product-card {
        border-radius: 12px;
    }

    .nlp-product-image-box {
        aspect-ratio: 1.28 / 1;
    }

    .nlp-product-content {
        padding: 12px;
    }

    .nlp-warranty-badge {
        top: 8px;
        right: 8px;
        min-height: 21px;
        padding: 3px 6px;
        font-size: 9px;
    }

    .nlp-top-badges {
        top: 8px;
        left: 8px;
        gap: 4px;
    }

    .nlp-sale-badge,
    .nlp-new-badge {
        min-height: 21px;
        padding: 3px 7px;
        font-size: 9px;
    }

    .nlp-product-meta {
        margin-bottom: 5px;
        font-size: 9px;
    }

    .nlp-sku {
        font-size: 9px;
    }

    .nlp-product-title {
        min-height: 41px;
        margin-bottom: 6px;
        font-size: 13px;
        line-height: 1.55;
    }

    .nlp-product-description {
        min-height: 33px;
        margin-bottom: 9px;
        font-size: 10px;
        line-height: 1.65;
    }

    .nlp-price-box {
        min-height: 39px;
        padding-top: 8px;
    }

    .nlp-price-label {
        font-size: 10px;
    }

    .nlp-price-html,
    .nlp-price-html .price,
    .nlp-price-html .woocommerce-Price-amount {
        font-size: 13px;
    }

    .nlp-product-actions {
        gap: 6px;
        margin-top: 10px;
    }

    .nlp-action-btn {
        min-height: 36px;
        padding: 7px 5px;
        font-size: 10px;
        border-radius: 7px;
    }

    .nlp-button-icon {
        font-size: 12px;
    }

    /* موبایل: اسلاید با لمس حرکت می‌کند؛ فلش نیاز نیست */
    .nlp-swiper-nav {
        display: none;
    }
}

/* موبایل‌های بسیار کوچک */
@media (max-width: 370px) {
    .nlp-product-content {
        padding: 10px;
    }

    .nlp-product-actions {
        grid-template-columns: 1fr;
    }

    .nlp-product-title {
        font-size: 12px;
    }
}
/* ==========================================================
   Fix: Navigation buttons conflict with theme / Elementor
========================================================== */

.nlp-product-slider-wrap {
    position: relative !important;
}

/* ریست کامل استایل دکمه‌ها */
.nlp-product-slider-wrap button.nlp-swiper-nav,
.elementor .nlp-product-slider-wrap button.nlp-swiper-nav {
    position: absolute !important;
    z-index: 99 !important;
    top: 44% !important;
    bottom: auto !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 38px !important;
    min-width: 38px !important;
    height: 38px !important;
    min-height: 38px !important;
    margin: 0 !important;
    padding: 0 !important;

    color: #ffffff !important;
    font-family: inherit !important;
    font-size: 20px !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    text-align: center !important;

    cursor: pointer !important;
    background-color: rgba(10, 10, 10, 0.94) !important;
    background-image: none !important;
    border: 1px solid var(--nlp-card-border, #4c3a11) !important;
    border-radius: 50% !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.28) !important;

    transform: translateY(-50%) !important;
    transition: all 0.2s ease !important;
}

/* فلش سمت راست */
.nlp-product-slider-wrap button.nlp-swiper-prev {
    right: 8px !important;
    left: auto !important;
}

/* فلش سمت چپ */
.nlp-product-slider-wrap button.nlp-swiper-next {
    right: auto !important;
    left: 8px !important;
}

.nlp-product-slider-wrap button.nlp-swiper-nav:hover {
    color: #171104 !important;
    background-color: var(--nlp-accent, #f7ba19) !important;
    border-color: var(--nlp-accent, #f7ba19) !important;
}

.nlp-product-slider-wrap button.nlp-swiper-nav.swiper-button-disabled {
    pointer-events: none !important;
    opacity: 0.25 !important;
}

/* موبایل: اسلاید با لمس حرکت می‌کند، فلش‌ها حذف شوند */
@media (max-width: 767px) {
    .nlp-product-slider-wrap button.nlp-swiper-nav {
        display: none !important;
    }
}/* End custom CSS */