@font-face {
    font-family: "Peyda";
    src: local("Peyda"), local("Peyda Bold");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

.mso-section,
.mso-section * {
    box-sizing: border-box;
}

.mso-section {
    direction: rtl;
    font-family: "Peyda", Tahoma, Arial, sans-serif;
    margin: 35px auto;
    max-width: 1400px;
    padding: 28px;
    border-radius: 30px;

    /* آبی کاملاً یکدست */
    background: #287fb5;

    overflow: hidden;
}

.mso-package-section {
    background: #287fb5;
    border: 2px solid #f5b700;
}

.mso-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.mso-section-kicker {
    display: block;
    font-family: Arial, sans-serif;
    direction: ltr;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #ffffff;
    margin-bottom: 6px;
    opacity: .9;
}

.mso-section h2 {
    margin: 0;
    font-size: 25px;
    font-weight: 700;
    color: #ffffff;
}

.mso-arrows {
    display: flex;
    gap: 8px;
    direction: ltr;
}

.mso-arrow {
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    cursor: pointer;

    background: #e31b23;
    color: #ffffff;

    font-size: 20px;
    font-family: Arial, sans-serif;
    font-weight: 700;

    transition: .2s ease;
}

.mso-arrow:hover {
    transform: translateY(-2px);
    background: #c9141c;
}

.mso-slider {
    display: flex;
    gap: 18px;
    overflow-x: auto;

    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;

    padding: 5px 3px 18px;

    scrollbar-width: thin;
}

.mso-slider::-webkit-scrollbar {
    height: 6px;
}

.mso-slider::-webkit-scrollbar-track {
    background: rgba(255,255,255,.15);
    border-radius: 20px;
}

.mso-slider::-webkit-scrollbar-thumb {
    background: #f5b700;
    border-radius: 20px;
}

.mso-card {
    direction: rtl;
    position: relative;

    flex: 0 0 260px;
    min-width: 260px;

    scroll-snap-align: start;

    overflow: hidden;

    border-radius: 22px;

    background: #ffffff;

    border: 1px solid rgba(0,0,0,.07);

    box-shadow: 0 10px 35px rgba(0,0,0,.16);

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}

.mso-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 18px 45px rgba(0,0,0,.24);
}

.mso-card-image {
    display: block;
    position: relative;

    height: 220px;

    background: #f4f7fa;

    overflow: hidden;

    text-decoration: none !important;
}

.mso-card-image img {
    width: 100%;
    height: 100%;

    object-fit: contain;

    transition: transform .3s ease;
}

.mso-card:hover .mso-card-image img {
    transform: scale(1.05);
}

.mso-placeholder {
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 65px;

    background: #edf5f9;
}

.mso-badge {
    position: absolute;

    top: 13px;
    right: 13px;

    z-index: 2;

    padding: 7px 11px;

    border-radius: 30px;

    font-size: 11px;
    font-weight: 700;

    color: #ffffff;

    box-shadow: 0 4px 15px rgba(0,0,0,.15);
}

.mso-installment-badge {
    background: #e31b23;
}

.mso-package-badge {
    background: #f5b700;
    color: #161616;
}

.mso-card-content {
    padding: 17px;
}

.mso-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;

    margin-bottom: 9px;
}

.mso-tags span {
    display: inline-block;

    padding: 4px 8px;

    border-radius: 8px;

    font-size: 10px;
    font-weight: 700;

    background: #eaf7fd;
    color: #1385b4;
}

.mso-card h3 {
    margin: 0 0 14px;

    min-height: 46px;

    font-size: 16px;
    line-height: 1.7;
    font-weight: 700;
}

.mso-card h3 a {
    color: #171717;
    text-decoration: none;
}

.mso-price {
    min-height: 30px;

    margin-bottom: 13px;

    font-size: 17px;
    font-weight: 700;

    color: #e31b23;
}

.mso-price del {
    opacity: .5;
    font-size: 12px;
}

.mso-view-product {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 10px 13px;

    border-radius: 12px;

    background: #141414;
    color: #ffffff !important;

    text-decoration: none !important;

    font-size: 12px;
    font-weight: 700;

    transition: .2s ease;
}

.mso-view-product:hover {
    background: #e31b23;
    color: #ffffff !important;
}

.mso-view-product span {
    font-size: 16px;
}

@media (max-width: 768px) {

    .mso-section {
        margin: 20px 8px;
        padding: 18px 12px;
        border-radius: 22px;
    }

    .mso-section-header {
        margin-bottom: 17px;
    }

    .mso-section h2 {
        font-size: 20px;
    }

    .mso-section-kicker {
        font-size: 9px;
    }

    .mso-arrows {
        display: none;
    }

    .mso-card {
        flex-basis: 210px;
        min-width: 210px;
        border-radius: 18px;
    }

    .mso-card-image {
        height: 175px;
    }

    .mso-card-content {
        padding: 13px;
    }

    .mso-card h3 {
        font-size: 14px;
    }

    .mso-price {
        font-size: 15px;
    }
}