﻿.ms{
    color:whitesmoke
}
.matlab {
    padding: 0px 0px 90px;
}

.slider-box {
    background: #fff;
    padding: 15px;
    border-radius: 12px;
}

.slider-header {
    font-weight: bold;
    margin-bottom: 15px;
    font-size: 24px;text-align:center
}

.swiper {
    direction: rtl;
}

.card {
    display: block;
    background: #fff;
    border-radius: 12px;
    padding: 10px;
    text-align: center;
    position: relative;
    transition: 0.3s;
    border: 1px solid #eee;
}

    .card:hover {
        box-shadow: 0 10px 25px rgba(0,0,0,0.1);
        transform: translateY(-5px);
    }

.img {
    width: 100%;
    height: 180px;
    object-fit: contain;
}

.title {
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.price-box {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.old-price {
    text-decoration: line-through;
    color: #999;
    font-size: 12px;
}

.price {
    color: #282828;
    font-weight: bold;
    font-size: 15px;
}

.discount {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ef394e;
    color: #fff;
    font-size: 12px;
    padding: 3px 7px;
    border-radius: 20px;
}

.swiper-button-next,
.swiper-button-prev {
    color: #333;
}