.mas-card {
    background:#fff;
    border-radius:8px;
    text-align:right;
    display:flex;
    gap:8px;
    flex-direction:column;
    height:100%;
}

.mas-excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 2;      /* show only 2 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size:12px;
    color:#333;
    margin-bottom:0;
}


.mas-card img {
    max-width:100%;
    height:143px;
    border-radius:10px;
    margin-bottom:8px;
}

.mas-card svg {
    width:20px;
    height:16px;
}

.main-container {
    margin-bottom:40px;
    background:#FFFFFF;
    display:flex;
    flex-direction:column;
    gap:24px;
    padding:20px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.main-container .header {
    display:flex;
    direction:rtl;
    align-items:center;
    justify-content:space-between;
}

.main-container .header h1 {
    font-size:20px;
    font-weight:700;
}

/* New semantic classes to replace inline styles */
.mas-city-row {
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:8px;
}

.mas-city {
    font-size:11px;
    font-weight:400;
    color:#333;
}

.mas-rating {
    display:flex;
    align-items:center;
    direction:ltr;
    gap:8px;
}

.mas-rating-value {
    font-size:11px;
    font-weight:700;
    color:#333;
    display:flex;
    align-items:center;
    margin:0;
    gap:6px;
}

.mas-rating-scale {
    font-size:11px;
    color:#727272;
}

.mas-title {
    font-size:16px;
    font-weight:700;
    color:#333;
    margin:0 0 6px 0;
}

.mas-price-wrapper {
    display:flex;
    flex-direction:column;
    gap:4px;
}

.mas-sale-from {
    font-size:12px;
    font-weight:400;
    color:#727272;
    line-height:24px;
    margin:0;
}

.mas-sale-price {
    font-size:16px;
    font-weight:500;
    color:#333;
}

.mas-regular-row {
    display:flex;
    align-items:center;
    gap:8px;
}

.mas-regular-price {
    font-size:14px;
    font-weight:500;
    color:#AAA;
    text-decoration:line-through;
    margin:0;
}

.mas-discount-badge {
    background:#11B95F1A;
    color:#11B95F;
    font-size:12px;
    padding:0px 8px;
    font-weight:700;
    border-radius:5px;
}

.mas-price-normal {
    font-size:14px;
    font-weight:700;
    color:#333;
    margin:0;
}

/* Ensure slider full width */
.mas-slider {
    width:100%;
}

.splide__slide {
    height:auto;
}

.mas-slider {
    position: relative;
}

/* General arrow style */
.splide__arrow {
    position: absolute;
    top: -50px;      /* move above slider */
    transform: none;
    width: 36px;
    height: 36px;
    background: transparent;
}

.mas-slider .splide__arrow svg {
    fill: #727272;
}

/* RTL: Prev will appear on right side normally,
so we override positions manually */

/* First arrow (right one in RTL) */
.mas-slider .splide__arrow--prev {
    left: 45px;
    right: auto;
}

/* Second arrow */
.mas-slider .splide__arrow--next {
    left: 0;
    right: auto;
}
