

@font-face {
    font-display: swap;
    font-family: IRANYekan;
    font-style: normal;
    font-weight: 100;
    src: url(/fonts/iranyekanwebthin.612285dc.eot);
    src: url(/fonts/iranyekanwebthin.612285dc.eot) format("embedded-opentype"),url(/fonts/iranyekanwebthin.4672fc69.woff) format("woff"),url(/fonts/iranyekanwebthin.0d88b7bd.ttf) format("truetype")
}

div, span, h3 {
    font-family: IRANYekan, sans-serif;
    spacing-base: 4px;
    global-radius: 8px;
    small-radius: 4px;
    medium-radius: 8px;
    medium-plus-radius: 12px;
    large-radius: 16px;
    font-size: 1rem;
    font-weight: 400;
    line-height: 2.17;
}



 

 

a, .btn-link {
    color: #006bb7;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjU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i4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}



.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    grid-template-rows: repeat(auto-fill,minmax(287px, 1fr));
}

.product-details {
    opacity: 0;
    animation: fadeIn 0.5s forwards;
}

@@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

button {
    margin-top: 10px;
    padding: 8px 16px;
    cursor: pointer;
}




a.product-card img {
    width: 100%;
    text-decoration: unset;
}

a.product-card h3 {
    position: absolute;
    bottom: 10px;
    left: 10px;
    width: calc(100% - 20px);
    text-align: center;
    background: #ffffffc4;
    border-radius: 6px;
    color: #060606;
    max-height: 80px;
    overflow: hidden;
    line-height: 36px;
}

a.product-card {
    position: relative;
    border: 1px solid #efefef;
    border-radius: 20px;
    overflow: hidden;
}



.product_detail_block_cnt {
    display: flex;
    flex-wrap: wrap;
}

.product_detail_block {
    flex: 1;
}

.product_detail_Variant_block {
    border-bottom: 1px solid #eee;
}

input.form-control.form-control-sm.text-center.valid {
    padding-left: 0px;
    padding-right: 0px;
}

.cell {
    display: inline-block;
    width: calc(33% - 3px);
    min-width: 34px;
}

.cell_QTY::before {
    content: "QTY";
    font-size: 10px;
    max-height: 20px;
    overflow: hidden;
    display: block;
}

.cell_Price::before {
    content: "Price";
    font-size: 10px;
    max-height: 20px;
    overflow: hidden;
    display: block;
}

.cell_Cost::before {
    content: "Cost";
    font-size: 10px;
    max-height: 20px;
    overflow: hidden;
    display: block;
}

img.Variant_Image {
    height: 120px;
    border-radius: 5px;
}

img.Variant_Add_Image {
    height: 120px;
    width: 32px;
    border-radius: 5px;
    object-position: bottom;
    object-fit: contain;
}
.Variant_loading_img {
    height: 120px;
    padding: 16px;
    background: #e7e7e7;
    border-radius: 5px;
}
    img.Variant_Add_Image:hover {
        background: #cfeeff;
        cursor: pointer;
    }

.Variant_Image_cnt {
    gap: 5px;
    display: flex;
    flex-wrap: wrap;
    position:relative;
    min-height:64px;
}


.main-image-wrapper img {
    aspect-ratio: 1 / 1;
    object-fit: contain;
    background: #f8f9fa;
}

.thumbnails img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
    transition: all 0.2s;
}

    .thumbnails img:hover {
        transform: scale(1.05);
    }

.cursor-pointer {
    cursor: pointer;
}


.Variant_more:hover {
    background: #e5e5e5;
}

.Variant_more {
    width: 35px;
    position: absolute;
    top: 2px;
    right: -1px;
    cursor: pointer;
    opacity: 0.7;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 1px;
} 


/* Apple iOS Style Toggle Switch - Bootstrap Compatible */
.apple-switch {
    -webkit-appearance: none!important;
    appearance: none!important;
    width: 47px!important;
    height: 25px!important;
    background: #ccc;
    border-radius: 50px!important;
    position: relative!important;
    cursor: pointer!important;
    outline: none!important;
    transition: all 0.3s ease !important;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.2) !important;
    margin-right:10px;
}

    .apple-switch::before {
        content: '';
        position: absolute;
        top: 2px;
        left: 2px;
        width: 20px;
        height: 20px;
        background: white;
        border-radius: 50%;
        transition: all 0.3s ease;
        box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    }

    .apple-switch:checked {
        background: #4CD964; /* Apple green */
        box-shadow: inset 0 0 10px rgba(76, 217, 100, 0.5);
    }

        .apple-switch:checked::before {
            transform: translateX(20px);
        }

    /* Optional: Focus ring for accessibility */
    .apple-switch:focus-visible {
        box-shadow: 0 0 0 3px rgba(76, 217, 100, 0.3);
    }

.form-switch .apple-switch:checked {
    background-image: none!important;
}



.img-thumbnail[src="/images/loading.svg"] {
    padding: 80px;
}

.btn-cart {
    width: 300px;
    margin-bottom: 40px;
    background-color: #ef4056 !important;
    border-color: #bf2f41 !important;
    padding: 11px !important;
    padding-left: 50px !important;
    padding-right: 50px !important;
    color: #f1f1f1 !important;
    font-weight: bold !important;
}



img.cartlogo_img {
    width: 40px;
    position: absolute;
    left: 0px;
}

.cartlogo_img_cnt {
    position: absolute;
    right: 30px;
}

.header_announcement_cnt {
    justify-content: flex-start!important;
    position: relative!important;
}

.cartlogo_count {
    position: absolute;
    left: -6px;
    top: 19px;
    padding: 1px;
    padding-left: 8px;
    line-height: 18px;
    padding-right: 8px;
    background: #ef4056;
    border-radius: 7px;
    color: #fff;
    font-family: 'IRANYekan';
    font-weight: bold;
    font-size: 10px;
    box-shadow: 0px 0px 3px 2px #fff;
}
.cartlogo_count:empty{
    display:none;
}










img.cart_img {
    width: calc(100% - 20px);
    position: absolute;
    padding: 0px;
    margin: 10px;
    left: 0px;
    border-radius : 25px;
    box-shadow: 0px 0px 10px #0000005e;
}
.cart_img_cnt {
    position: relative;
    width:98px;
}


img.cart_minus {
    width: 40px;
}

img.cart_add_more {
    width: 40px;
}

.cart_price_qty_cnt {
    display: flex;
    width: 150px;
    justify-content: space-around;
    border: 1px solid #ddd;
    border-radius: 55px;
    padding: 7px;
    direction: ltr;
    background: #ffffff;
}

.cart_item {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    padding-top: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #d3d3d3;
}

.cart_badge {
    position: absolute;
    right: 7px;
    bottom: 36px;
    padding: 1px;
    padding-left: 8px;
    line-height: 18px;
    padding-right: 8px;
    background: #ef4056;
    border-radius: 7px;
    color: #fff;
    font-family: 'IRANYekan';
    font-weight: bold;
    font-size: 10px;
    box-shadow: 0px 0px 3px 2px #fff;
}

.cart_text_cnt {
    padding-left: 20px;
}

.cart_price_total {
    text-align: center;
}

.m_limit_width{

    max-width:375px;
}
.cart_btn {
    background: #9d40ef;
    color: #fff;
    font-weight: bold;
    border: none;
    border-radius: 100px;
    padding-left: 40px;
    padding-right: 40px;
    cursor: pointer;
    display: block;
    margin-top: 40px;
    margin-left:auto;
    margin-right:auto;
}

.topcart_cnt {
    border: 1px solid #ddd;
    border-radius: 15px;
    padding: 20px;
    margin-top: 20px;
    margin-bottom: 67px;
    direction: rtl;
 
}
.topcart_total:before {
    content: 'قیمت کالاها : ';
    padding-left: 10px;
}

.topcart_total:after {
    content: 'تومان';
    padding-right: 10px;
}

.topcart_total {
    font-weight: bold;
}



.topcart_shipping:before {
    content: 'ارسال عادی : ';
    padding-left: 10px;
}

.topcart_shipping:after {
    content: 'تومان';
    padding-right: 10px;
}

.topcart_shipping {
    font-weight: bold;
}


.topcart_discount:before {
    content: 'تخفیف : ';
    padding-left: 10px;
}

.topcart_discount:after {
    content: 'تومان';
    padding-right: 10px;
}

.topcart_discount {
    font-weight: bold;
}


.topcart_total_payment:before {
    content: 'مبلغ پرداختی : ';
    padding-left: 10px;
}

.topcart_total_payment:after {
    content: 'تومان';
    padding-right: 10px;
}

.topcart_total_payment {
    font-weight: bold;
}
img.list_img {
    width: 100%;
    height: 100%;
    padding: 9px;
}

.div_list_img {
    height: 46px;
    position: absolute;
    background: #fff;
    border-radius: 100%;
    right: 4px;
    margin: 1px;
}

.list-group-item {
    padding: 14px !important;
}
.cart_price_qty {
    min-width: 15px;
    text-align: center;
    font-weight:bold;
}

.Empty_Cart .cartlogo_count {
    display: none;
}

.Empty_Cart img.cartlogo_img {
    display: none;
}
.btn_back:hover{
    opacity:1;
}

.btn_back {
    width: 40px;
    position: absolute;
    margin: 0px;
    left: 12px;
    top: 12px;
    cursor: pointer;
}



.warehouse_product_Available::before {
    content: 'موجود';
    color: #2f47ff;
    border-radius: 3px;
    font-size: 12px;
}

.warehouse_product_Available {
    position: absolute;
    left: 9px;
    bottom: -4px;
}

.active .warehouse_product_Available::before {
    color: #fff;
}
.linear_menu_link {
    text-decoration: none;
}

span.linear_menu_separator {
    color: #76a4fd;
    margin-left:0px!important;
}
.linear_menu_separator {
    color: #76a4fd;
}
a.a_dummy.linear_menu_link {
    margin-left: 0px !important;
}
.clear_empty:empty {
    display: none;
}
.Cart_CNT {
    position: absolute;
    z-index: 111111;
    left: 40px;
    top: 40px;
    height: calc(100vh - 80px);
    padding: 40px;
    background: #edfff4;
    border-radius: 40px;
    box-shadow: 0px 0px 20px;
}
.cart_list {
    max-height: calc(100% - 260px);
    overflow: auto;
}
.shoporder_cnt {
    height: calc(100% - 50px);
    margin-top: 50px;
}










.mmodal-overlay {
    position: absolute;
    left: 0px;
    top: 0px;
    z-index: 1222;
    height: calc(100vh - 0px);
    transform: translate3d(0px, 0px, 0px);
    overflow: hidden;
    padding: 60px;
    visibility: hidden;
}
.mmodal-overlay.open{
    visibility: visible;
}
    
.mmodal {
    min-width: 332px;
    background: #f9f9f1;
    height: 100%;
    padding: 2rem;
    border-radius: 30px;
    width: 90%;
    max-width: 420px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    text-align: center;
    opacity: 0;
    filter: blur(12px);
    transform: scale(0.6);
    transition: all 1s cubic-bezier(0.22, 1, 0.36, 1);
}

/* When modal is open → scale in + unblur */
.mmodal-overlay.open .mmodal {
    opacity: 1;
    filter: blur(0);
    transform: scale(1);
}

/* Exit animation class (add this when closing) */
.mmodal.closing {
    animation: blurScaleOut 0.55s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes blurScaleOut {
    to {
        opacity: 0;
        filter: blur(20px);
        transform: scale(1.15);
    }
}

 

.bbutton {
    padding: 0.8rem 1.8rem;
    font-size: 1rem;
    background: #ba2a20;
    margin-top: 30px;
    padding-right: 35px;
    padding-left: 35px;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
}

img.mmodal_close {
    width: 40px;
    position: absolute;
    right: 12px;
    top: 12px;
}


.Section_Name {
    background: linear-gradient(0deg, #0a0e85, #8c8bdb);
    border-radius: 9px 0px 0px 9px;
    padding-left: 14px;
    padding-right: 14px;
    color: #fff;
    display: inline-block;
    height: 34px;
}

.Section_QTY {
    display: inline-block;
    font-weight: bold;
    background: linear-gradient(0deg, #5b0a85, #db8bd1);
    color: #fff;
    padding-left: 13px;
    padding-right: 13px;
    font-size: 12px;
    height: 34px;
    line-height: 36px;
    border-radius: 0px 9px 9px 0px;
    margin-left: -5px;
}

.Section_Item {
    padding: 9px;
}

.Section_Item.selected {
    background: #00ff164f;
    border-radius: 10px;
}

.Add_row_Image:hover {
    background: #ffdede;
}

.Add_row_Image {
    height: 32px;
    width: 32px;
    border-radius: 5px;
    object-position: bottom;
    object-fit: contain;
    background: #f9f9f9;
    border: 1px solid #ddd;
}
.Add_col_Image:hover {
    background: #ffdede;
}
.Add_col_Image {
    height: 32px;
    width: 32px;
    border-radius: 5px;
    object-position: bottom;
    object-fit: contain;
    background: #f9f9f9;
    border: 1px solid #ddd;
}
.top_admin_product_grid_item {
    width: 100px;
    margin-right: 8px;
    text-align: right;
    flex: 1;
    white-space: nowrap;
}
input.top_admin_product_grid_item {
    flex: 2;
}
a.A_Variant_view {
    width: 35px;
    position: absolute;
    top: 47px;
    right: -1px;
    cursor: pointer;
    opacity: 1;
    border-radius: 5px;
    padding: 1px;
}

img.Variant_view:hover {
    background: #e5e5e5;
}

img.Variant_view {
    width: 100%;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.linear_menu_link span {
    font-weight: bold;
}


 