/* Wrapper for when there are two prices (regular and sale) */
.khsc-price-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 15px; /* Space between the old and new price */
    direction: rtl;
}

/* Base container for a single price block */
.khsc-price-container {
    display: inline-flex; 
    align-items: center; 
    position: relative; /* Needed for the strikethrough line */
}

/* The price text (e.g., "۲,۰۰۰,۰۰۰") */
.khsc-price-text {
    font-size: 20px;
    font-weight: regular;
    color: #161714;
    margin-left: 8px; /* Space between text and icon */
}

/* The Toman icon */
.khsc-price-icon {
    width: 20px;
    height: 20px;
    display: block;
    user-select: none;
    -webkit-user-drag: none;
    pointer-events: none;
}

/* Style for the regular price text when a sale is active */
.khsc-regular-price.on-sale .khsc-price-text {
    color: #9e9e9e; /* Lighter color for the old price */
    font-weight: normal;
}

/* The strikethrough line for the old price (covers both text and icon) */
.khsc-regular-price.on-sale::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 3px; /* Line thickness updated */
    background-color: #9e9e9e; /* Line color, matches the text color */
    transform: translateY(-50%);
}

/* Style for the sale price to make it stand out */
.khsc-sale-price .khsc-price-text {
    color: #161714; /* A prominent color for the sale price, e.g., red */
    font-weight: bold;
}

