@font-face {
    font-family: 'IRANSansX';
    src: url('../fonts/IRANSansXVF.ttf') format('truetype');
    font-weight: 100 900;
    font-stretch: 75% 125%;
}

.card {
    font-family: 'IRANSansX', sans-serif;
    width: 302px;
    height: 344px;
    background: white;
    border-radius: 24px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
}
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    top: 0;
    right: 0;
    background: white;
    border-left: 1px solid #EBEBEB;
    border-bottom: 1px solid #EBEBEB;
    border-top: none;
    border-right: none;
    border-top-right-radius: 24px;
    border-bottom-left-radius: 24px;
    padding: 26px 20px 20px 18px;
}
.tag {
    background: #F4F4F4;
    width: 127px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: #666;
    position: absolute;
    top: 18px;
    left: 16px;
}
.title {
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    color: #303030;
}
.image-container {
    margin-top: 50px;
}
.image-container img {
    width: 120px;
    height: auto;
}
p {
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: #444;
}
.bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    bottom: 4px;
    right: 14px;
    left: 8px;
}
.price-container {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
.price {
    color: gray;
    text-decoration: line-through;
    font-weight: 400;
    font-size: 14px;
    line-height: 21px;
    margin-bottom: 0;
    margin-top: 0;
}
.discounted-price {
    font-size: 20px;
    font-weight: 700;
    line-height: 30px;
    color: #000;
    margin-top: 0;
    margin-bottom: 0;
}
.add-to-cart {
    background: #E7FAF6;
    color: #0CC7A1;
    padding: 12px;
    border-radius: 0 15px 0 15px;
    text-decoration: none;
    font-weight: 400;
    font-size: 16px;
    line-height: 18px;
}
.add-to-cart:hover {
    background: #a8ebc3;
}