
:root{
    font-size: 14px;
    --main_backcolor: #ffffff;
    --second_backcolor: #3e4854;
    --third_backcolor: #4B4C50;
    --main_color: #FF7A00;
    --second_color: #334681;
    --third_color: #FFDD7B;
    --fourth_color: #FFE8A7;
    --category_background_color: #FF7A00;
    --input-color: #000000;
    --input-border: #cdd9ed;
    --input-background: #fff;
    --input-placeholder: #cbd1dc;
    --input-border-focus: #1F2A4D;
    --group-color: var(--input-color);
    --group-border: var(--input-border);
    --group-background: #334681;
    --group-color-focus: #fff;
    --group-border-focus: var(--input-border-focus);
    --group-background-focus: #1F2A4D;
}

.sahan_button{
    height: 30px;
    width: 30px;
    min-width: 30px;
    border-radius: 50px;
    font-size: 20px;
    border: 1px solid #FF7A00;
    background: #ffffff;
    font-family: sahan-vazir;
}
.sahan_button:hover{
    background: #FF7A00;
}

.sahan_button_reg{
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    font-size: 16px;
    border: 1px solid #FF7A00;
    color: white;
    background: #FF7A00;
    font-family: sahan-vazir;
}
.sahan_button_reg:hover{
    background: #FF7A00;
}

.sahan_button_reg3{
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    font-size: 16px;
    border: 1px solid #FF7A00;
    color: #ffffff;
    background: #FF7A00;
    font-family: sahan-vazir;
}
.sahan_button_reg3:hover{
    background: #FF7A00;
}

.sahan_button_master{
    width: 100%;
    padding: 15px;
    border-radius: 0px;
    font-size: 16px;
    border: 1px solid #FF7A00;
    color: white;
    background: #FF7A00;
    font-family: sahan-vazir;
}
.sahan_button_master:hover{
    background: #FF7A00;
}

.sahan_button_card{
    width: 100%;
    padding: 8px;
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
    font-size: 16px;
    border: 1px solid #FF7A00;
    color: white;
    background: #FF7A00;
    font-family: sahan-vazir;
}
.sahan_button_card:hover{
    background: #FF7A00;
}

.sahan_text_copun{
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    font-size: 14px;
    border: 1px solid #334681;
    color: white;
    background: FF7A00;
    font-family: sahan-vazir;
}

.sahan_button_reg2{
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    font-size: 14px;
    border: 1px solid #334681;
    color: white;
    background: #334681;
    font-family: sahan-vazir;
}
.sahan_button_reg2:hover{
    background: #334681;
}

.container1 {
    position: relative;
}

.off_label {
    background: #ff4757;
    color: #ffffff;
    padding: 2px 2px 0px 7px;
    border-radius: 10%;
    font-size: 14px;
    font-family: sahan-vazir;
    margin-left: 5px;
}

/* Bottom right text */
.text-block {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background-color: black;
    color: white;
    padding-left: 20px;
    padding-right: 20px;
    font-family: sahan-vazir;
}

.bottom-left {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: #ff4757;
    color: #ffffff;
    padding: 4px 6px 2px 9px;
    border-radius: 4%;
    font-size: 14px;
    font-family: sahan-vazir;
}

.top-left {
    position: absolute;
    top: 13px;
    left: 13px;
    background: #3aaf00;
    color: #ffffff;
    padding: 2px 6px 0px 6px;
    border-radius: 20%;
    font-size: 14px;
    font-family: sahan-vazir;
}

.top-right {
    position: absolute;
    top: 13px;
    right: 13px;
    background: #545454;
    color: #ffffff;
    padding: 2px 6px 0px 6px;
    border-radius: 20%;
    font-size: 14px;
    font-family: sahan-vazir;
}

#div_bill_sum{

    font-family: sahan-vazir-thin;
    font-weight: normal;
}

.default_text{
    font-family: sahan-vazir-thin;
    font-weight: normal;
    font-size: 16px;
}

.default_text2{
    font-family: sahan-vazir-thin;
    font-weight: bold;
    font-size: 16px;
}

.titr_text{
    font-family: sahan-vazir;
    font-weight: bolder;
    font-size: 16px;
}

#loading {
    top: 50%;
    left: 50%;
    width: 50px;
    height: 50px;
    margin-top: -25px;
    margin-left: -25px;
    position: fixed;
    border: 4px solid #f3f3f3; /* Light grey */
    border-top: 4px solid #334681; /* Blue */
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 0.4s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.overlay {
    height: 100%;
    width: 0px;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    background-color: rgba(255,255,255, 100);
    overflow-x: hidden;
    transition: 0.5s;
    z-index: 2;
}


.overlay-content {
    position: relative;
    top: -10px;
    left: 0;
    padding-bottom: 40px;
    text-align: center;
    margin-top: 30px;
}

.overlay a {
    padding: 8px;
    text-decoration: none;
    font-size: 36px;
    color: #818181;
    display: block;
    transition: 0.3s;
}

.overlay a:hover, .overlay a:focus {
    color: #f1f1f1;
}

.overlay .closebtn {
    position: absolute;
    top: 20px;
    right: 45px;
    font-size: 60px;
}

@media screen and (max-height: 450px) {
    .overlay a {font-size: 20px}
    .overlay .closebtn {
        font-size: 40px;
        top: 15px;
        right: 35px;
    }
}

.description_container {
    position: relative;

}

.description_image {
    display: block;
    width: 100%;
    height: auto;
}

.description_overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    opacity: 0;
    transition: .5s ease;
    background-color: #4B4C4C;
}

.description_container:hover .description_overlay, .description_container:active .description_overlay {
    opacity: 85%;
}

.description_text {
    color: white;
    font-size: 15px;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    text-align: center;
}

.amazing_h1 {
    font-size: 13rem;
    font-weight: 200;
    color: #fff;
    padding: 8px 10px 3px 10px;
    border: 0.4rem solid #fff;
    border-radius: 12px;
    text-transform: uppercase;
    animation: flicker_amazing 1.8s infinite alternate;
    --neon-text-color: #FF0000FF;
    --neon-border-color: #FF0000FF;
}

amazing_h1::-moz-selection {
    background-color: var(--neon-border-color);
    color: var(--neon-text-color);
}

amazing_h1::selection {
    background-color: var(--neon-border-color);
    color: var(--neon-text-color);
}

amazing_h1:focus {
    outline: none;
}

/* Animate neon flicker */
@keyframes flicker_amazing {

    0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% {

        text-shadow:
                -0.2rem -0.2rem 1rem #fff,
                0.2rem 0.2rem 1rem #fff,
                0 0 2rem var(--neon-text-color),
                0 0 4rem var(--neon-text-color),
                0 0 6rem var(--neon-text-color),
                0 0 8rem var(--neon-text-color),
                0 0 10rem var(--neon-text-color);

        box-shadow:
                0 0 .5rem #fff,
                inset 0 0 .5rem #fff,
                0 0 2rem var(--neon-border-color),
                inset 0 0 2rem var(--neon-border-color),
                0 0 4rem var(--neon-border-color),
                inset 0 0 4rem var(--neon-border-color);
    }

    20%, 24%, 55% {
        text-shadow: none;
        box-shadow: none;
    }
}

/* Merged from theme.css so root pages can rely on a single stylesheet. */
.form-field {
    display: block;
    width: 100%;
    padding: 8px 16px;
    line-height: 25px;
    font-size: 14px;
    font-weight: 500;
    font-family: inherit;
    border-radius: 6px;
    -webkit-appearance: none;
    color: var(--input-color);
    border: 1px solid var(--input-border);
    background: var(--input-background);
    transition: border 0.3s ease;
}

.form-field::placeholder {
    color: var(--input-placeholder);
}

.form-field:focus {
    outline: none;
    border-color: var(--input-border-focus);
}

.form-group {
    position: relative;
    display: flex;
    width: 100%;
}

.form-group > span,
.form-group .form-field {
    white-space: nowrap;
    display: block;
}

.form-group > span:not(:first-child):not(:last-child),
.form-group .form-field:not(:first-child):not(:last-child) {
    border-radius: 0;
}

.form-group > span:first-child,
.form-group .form-field:first-child {
    border-radius: 0 6px 6px 0;
}

.form-group > span:last-child,
.form-group .form-field:last-child {
    border-radius: 6px 0 0 6px;
}

.form-group > span:not(:first-child),
.form-group .form-field:not(:first-child) {
    margin-left: -1px;
}

.form-group .form-field {
    position: relative;
    z-index: 1;
    flex: 1 1 auto;
    width: 1%;
    margin-top: 0;
    margin-bottom: 0;
}

.form-group > span {
    text-align: center;
    padding: 8px 12px;
    font-size: 14px;
    line-height: 25px;
    color: white;
    background: var(--group-background);
    border: 1px solid var(--group-border);
    transition: background 0.3s ease, border 0.3s ease, color 0.3s ease;
}

.form-group:focus-within > span {
    color: var(--group-color-focus);
    background: var(--group-background-focus);
    border-color: var(--group-border-focus);
}

html {
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

* {
    box-sizing: inherit;
}

*:before,
*:after {
    box-sizing: inherit;
}

body {
    min-height: 100vh;
    font-family: 'Mukta Malar', Arial;
    background: #f5f9ff;
}

body .form-group {
    max-width: 100%;
}

body .form-group:not(:last-child) {
    margin-bottom: 10px;
}

table {
    text-align: center;
    font-family: sahan-vazir-thin;
    font-size: 14px;
}

tr {
    color: #000000;
    text-align: center;
}

th {
    background-color: #c81d11;
    padding: 12px 0;
    color: #FFFFFF;
}

td {
    padding: 12px 0;
    color: #000000;
}

table,
tr {
    border-bottom: 1px solid #dddddd;
}

table,
tr:nth-of-type(even) {
    background-color: #f3f3f3;
}

table,
tr:last-of-type {
    border-bottom: 2px solid #c81d11;
}

table,
tr.active-row {
    color: #c81d11;
}



        .content
        {
            text-align: center;
        }
        .inner
        {
            display:inline-block;
        }

        .card-title {
            display: -webkit-box;
            -webkit-line-clamp: 1; /* حداکثر 2 خط */
            -webkit-box-orient: vertical;
            overflow: hidden;
            text-align: right;

            line-height: 1.4;
            height: calc(1.4em * 1); /* دقیقاً ارتفاع 2 خط */
        }

        .catalog-price-block {
            height: 48px;
            display: flex;
            flex-direction: column;
            justify-content: flex-start;
            overflow: hidden;
        }

        .catalog-price-block.is-contact-only {
            justify-content: flex-end;
        }

        .catalog-price-block del,
        .catalog-price-block p,
        .catalog-price-block .catalog-contact-link {
            margin-bottom: 0;
        }

        .catalog-card-body {
            min-height: 112px;
        }

        .catalog-contact-link {
            display: inline-block;
            margin-top: 6px;
            color: #198754;
            font-family: sahan-vazir;
            text-decoration: none;
        }

        .card-title {
            line-height: 1.3;
            height: calc(1.3em * 1);
            margin-bottom: 6px;
        }

        .catalog-price-block {
            height: 38px;
        }

        .catalog-card-body {
            min-height: 96px;
            padding: 10px 12px 8px 12px;
        }

        .catalog-contact-link {
            margin-top: 2px;
        }

        .category-image{
            border-radius: 10px !important ; 
        }        