@font-face {
    font-family: 'Kalameh';
    src: url('https://mint-app.ir/mint2/font/Kalameh-SemiBold.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

* {
    padding: 0;
    margin: 0;
}

html, body {
    overflow: auto;
    max-width: 100%;
    height: 100%;
    position: relative;
}

body::-webkit-scrollbar {
    display: none;
}

body {
    font-family: 'Kalameh', Arial, sans-serif;
    direction: rtl;
    position: relative;
    background-color: transparent;
    padding-bottom: 10px;
}

/* Special Offer Row Style */
#sp-text {
    padding-top: 5px;
    padding-bottom: 2px;
    justify-content: space-between;
    display: flex;
}

.seeall {
    color: #095c1f;
    padding-top: 4px;
    padding-bottom: 3px;
    font-size: 14px;
    margin-right: 10px;
    text-align: right;
}

.sp-scrolling-wrapper {
    overflow-x: scroll;
    overflow-y: hidden;
    white-space: nowrap;
    padding-right: 6px;
    height: 210px;
    margin-bottom: 0px;
    width: 100%;
    -webkit-overflow-scrolling: touch;
}

.sp-scrolling-wrapper::-webkit-scrollbar {
    display: none;
}

.specialoffer-card {
    position: relative;
    background-color: rgb(255, 255, 255);
    display: inline-block;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.2);
    transition: 0.3s;
    width: 150px;
    height: 205px;
    border-radius: 14px;
    margin-right: 4px;
}

.specialoffer-card:hover {
    box-shadow: 0 3px 3px 0 rgba(0, 0, 0, 0.2);
}

#specialoffer-img {
    border-radius: 8px;
    width: 86.3%;
    height: 58.7%;
    object-fit: cover;
    margin-top: 10px;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

#specialoffer-title {
    font-size: 15px;
    font-weight: bold;
    color: black;
    text-align: right;
    padding-top: 5px;
    padding-right: 10px;
    text-decoration: none;
    display: block;
}

#specialoffer-desc {
    font-weight: lighter;
    font-size: 12px;
    color: rgba(0, 0, 0, 0.732);
    text-align: right;
    padding-top: 0px;
    padding-right: 10px;
    text-decoration: none;
    display: block;
}

.price-container {
    display: flex;
    align-items: center;
    padding-right: 10px; /* Adjusted for RTL */
    padding-top: 0px;
}

.old-price {
    text-decoration: line-through;
    opacity: 0.7;
    font-size: 13px;
    margin-left: 5px; /* Adjusted for RTL */
}

.new-price {
    font-weight: bold;
    color: #e74c3c;
    font-size: 13px;
    margin-left: 5px; /* Adjusted for RTL */
}

.discount-box {
    background-color: #e74c3c;
    color: white;
    font-size: 10px;
    font-weight: bold;
    padding: 0px 1px;
    border-radius: 4px;
    margin-left: 5px; /* Adjusted for RTL */
}

.price {
    font-size: 13px;
    color: rgba(0, 0, 0, 0.884);
    text-align: right;
    text-decoration: none;
    display: block;
}

.inline1 {
    height: 23px;
    width: 25px;
    position: absolute;
    left: 10px;
    top: 140px;
}

.inline2 {
    height: 25px;
    width: 25px;
    position: absolute;
    left: 10px;
    top: 170px;
}

.container1 {
    padding-top: 0px;
    display: block;
}

/* Category Row Style */
.category-scrolling-wrapper {
    overflow-x: scroll;
    overflow-y: hidden;
    white-space: nowrap;
    padding-right: 10px;
    height: 67px;
    margin-bottom: 0px;
    width: 100%;
    -webkit-overflow-scrolling: touch;
}

.category-scrolling-wrapper::-webkit-scrollbar {
    display: none;
}

.category-card {
    background-color: rgb(255, 255, 255);
    display: inline-block;
    box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.2);
    transition: 0.3s;
    width: 53.7px;
    height: 61.5px;
    border-radius: 15px;
    margin-right: 0px;
}

.category-card:hover {
    box-shadow: 0 3px 3px 0 rgba(0, 0, 0, 0.2);
}

#category-img {
    border-radius: 8px;
    width: 80%;
    height: 63%;
    object-fit: cover;
    margin-top: 7px;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

#category-title {
    font-size: 8px;
    font-weight: bold;
    color: black;
    text-align: center;
    padding-top: 0px;
    padding-left: 0px;
    text-decoration: none;
    display: block;
}