/************************************
 *  کارت محصولات – ظاهر کلی
 ************************************/
.productstab2 .product {
    position: relative;
    width: 100%;
    padding: 14px;
    margin: 0 0 14px;
    z-index: 1;
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.06);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.productstab2 .product:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.12);
    border-color: rgba(56, 189, 248, 0.45);
}


/************************************
 *  عکس محصول – بدون کراپ + زوم ملایم
 ************************************/
.productstab2 .product .product-photo {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    margin-bottom: 10px;
    background: #f8fafc;
    display: flex;
    justify-content: center;
    align-items: center;
}

.productstab2 .product .product-photo img {
    width: 100%;
    height: auto;
    max-height: 220px;
    object-fit: contain;
    display: block;
    border-radius: 14px;
    transition: transform 0.26s ease;
}

.productstab2 .product:hover .product-photo img {
    transform: scale(1.03);
}


/************************************
 *  عنوان و قیمت
 ************************************/
.productstab2 .title a h4 {
    color: #021522;
    font-weight: 600;
    margin: 0 0 4px 0;
    line-height: 1.6;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.productstab2 .title a h4:hover {
    color: #0284c7;
}

.price1 {
    color: #94a3b8;
    font-size: 0.8rem;
    text-decoration: line-through;
    text-align: center;
    margin: 2px 0 0;
}

.price2 {
    color: #0f766e;
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
    margin: 0;
}


/************************************
 *  آیکن سبد خرید
 ************************************/
a.fa.buy-btn.fa-cart-plus:before {
    font-size: 22px !important;
    color: #0284c7;
    border-radius: 8px;
    display: block;
    width: 34px;
    height: 34px;
    line-height: 34px;
    text-align: center;
    background: #e0f2fe;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
    transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

a.fa.buy-btn.fa-cart-plus:hover:before {
    color: #ffffff;
    background-color: #0369a1;
    transform: translateY(-2px);
}


/************************************
 *  آیکن‌های بالای محصول
 ************************************/
.productstab2 .product .product-photo ul.shop-icon {
    position: absolute;
    right: 6px;
    top: 6px;
    z-index: 5;
    padding: 0;
    margin: 0;
}

.productstab2 .product .product-photo ul.shop-icon li {
    list-style: none;
}

.productstab2 .product .product-photo ul.shop-icon li a {
    border: 1px solid #e2e8f0;
    width: 2rem;
    height: 2rem;
    line-height: 1.9rem;
    border-radius: 50%;
    background: #fff;
    text-align: center;
    font-size: 0.8rem;
    margin-bottom: 4px;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.productstab2 .product .product-photo ul.shop-icon li a:hover {
    background-color: #f8fafc;
    transform: translateY(-2px);
}


/************************************
 *  بج تخفیف
 ************************************/
.productstab2 .badge {
    display: inline-flex;
    align-items: center;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 3px 12px;
    border-radius: 999px;
    color: #ffffff;
    position: absolute;
    left: 6px;
    top: 6px;
    z-index: 10;
    background: #ef4444;
    box-shadow: 0 3px 8px rgba(239, 68, 68, 0.3);
}


/************************************
 *  فاصله بین اسلایدهای Owl Carousel
 ************************************/
.productstab2 .owl-carousel .owl-item {
    padding: 0 10px;
}

.productstab2 .row {
    --bs-gutter-x: 0;
    --bs-gutter-y: 12px;
}


/************************************
 *  دکمه‌های Next / Prev – شیک و بزرگ
 ************************************/
.productstab2 .owl-nav {
    position: absolute;
    top: 42%;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 50;
    padding: 0 8px;
}

/* دکمه‌ها */
.productstab2 .owl-nav button.owl-prev,
.productstab2 .owl-nav button.owl-next {
    pointer-events: auto;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    border: 1px solid rgba(148,163,184,0.4);
    background: #ffffff;
    box-shadow: 0 6px 14px rgba(15,23,42,0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: #334155;
    cursor: pointer;
    transition: all 0.2s ease;
}

/* آیکن‌ها با CSS */
.productstab2 .owl-nav button.owl-prev::after {
    content: "‹";
    font-size: 32px;
    line-height: 1;
    font-weight: bold;
}

.productstab2 .owl-nav button.owl-next::after {
    content: "›";
    font-size: 32px;
    line-height: 1;
    font-weight: bold;
}

/* مخفی کردن span پیش‌فرض */
.productstab2 .owl-nav button span {
    display: none;
}

/* Hover */
.productstab2 .owl-nav button.owl-prev:hover,
.productstab2 .owl-nav button.owl-next:hover {
    background: #0284c7;
    color: #ffffff;
    border-color: #0284c7;
    transform: scale(1.08);
    box-shadow: 0 8px 18px rgba(2, 132, 199, 0.35);
}

/* Disabled */
.productstab2 .owl-nav button.disabled {
    opacity: 0.25;
    box-shadow: none;
    cursor: default !important;
}

/* RTL direction */
[dir="rtl"] .productstab2 .owl-nav button.owl-prev::after {
    content: "›";
}

[dir="rtl"] .productstab2 .owl-nav button.owl-next::after {
    content: "‹";
}


/************************************
 *  ریسپانسیو
 ************************************/
@media (max-width: 768px) {
    .productstab2 .product {
        padding: 10px 10px 12px;
        margin: 0 0 10px;
    }

    .productstab2 .product .product-photo img {
        max-height: 180px;
    }

    .productstab2 .title a h4 {
        font-size: 0.9rem;
    }

    .productstab2 .owl-carousel .owl-item {
        padding: 0 6px;
    }

    /* کوچک‌تر کردن دکمه‌ها در موبایل */
    .productstab2 .owl-nav button.owl-prev,
    .productstab2 .owl-nav button.owl-next {
        width: 40px;
        height: 40px;
        font-size: 22px;
    }

    .productstab2 .owl-nav button.owl-prev::after,
    .productstab2 .owl-nav button.owl-next::after {
        font-size: 26px;
    }
}