﻿* {
    margin: 0;
    box-sizing: border-box;
}




[class^="btn"], [class*=" btn"], .editText {
    transition: box-shadow 0.3s ease;
}

    /* حالت hover → فقط cursor و shadow */
    [class^="btn"]:hover, [class*=" btn"]:hover, .editText:hover {
        cursor: pointer;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    }

    /* حالت active → فقط shadow تغییر کنه */
    [class^="btn"]:active, [class*=" btn"]:active, .editText:active {
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    }



.collapse {
    background-color: #01589f !important;
}

.noselect {
    user-select: none; /* supported by Chrome and Opera */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
}

.cartview {
    margin: 8px;
    padding: 8px;
    background: #FFFFFF;
    box-shadow: 1px 2px 3px 0px rgba(0,0,0,0.10);
    border-radius: 6px;
    display: flex;
    flex-flow: wrap column;
    justify-content: center;
    align-items: center;
}


.parent-contain-input {
    display: flex;
    margin-top: 16px;
}

.subparent-text {
    width: 100%;
    margin-top: 6px;
    align-items: center;
    display: flex;
}


.btn-add-basket {
    text-align: center;
    font-size: 16px;
    background-color: #ffc107;
    padding-top: 6px;
    padding-bottom: 4px;
    padding-right: 8px;
    padding-left: 8px;
    border-radius: 6px;
    margin-top: 16px;
    height: 35px;
}

body {
    line-height: revert;
}

.btn-add-basket-small {
    text-align: center;
    font-size: 13px;
    padding-top: 3px;
    border-radius: 6px;
    margin-top: 7px;
    height: 25px;
    width: 100px;
    border: 1px solid #01589f;
    color: #01589f;
    cursor: pointer
}


.button-main {
    background-color: #34a678;
    border-color: #01589f;
    width: 130px;
    float: right;
    margin-top: 16px;
    height: 34px;
    color: white !important;
}

.modal-header .close {
    padding: 1rem 1rem;
    margin: -1rem -1rem auto !important;
}

.modal-header {
    flex-direction: row-reverse;
    padding: 16px 16px 0px 16px !important;
}

.modal-footer {
    flex-direction: row-reverse;
    padding: 8px !important;
}



.titlebar {
    float: right;
    font-size: 14px;
    text-align: right;
    font-weight: bold;
}

.line-side {
    height: 14px;
    width: 2px;
    background-color: #01589f;
    border-radius: 6px;
    margin-left: 8px;
}

.HL {
    border-top: 1.5px dotted #d5d5d5;
    /*margin-top: 16px;*/
    width: 100%;
}




.btn-confirm {
    background: #01589f;
    text-align: center;
    font-size: 13px;
    margin-right: 8px;
    border-radius: 6px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
}

    .btn-confirm:hover {
        background: #0266b9;
    }

.btn-cancel {
    background: none;
    color: #727070;
    border-style: solid;
    border-color: #b8b8b8;
    border-width: 1px;
}

    .btn-cancel:hover {
        background: #e4e4e4;
    }

#snackbar {
    visibility: hidden;
    min-width: 250px;
    margin-left: -125px;
    background-color: #292929;
    color: #fff;
    text-align: center;
    border-radius: 25px;
    padding: 8px;
    position: fixed;
    z-index: 1;
    left: 50%;
    bottom: 70px;
    font-size: 12px;
    opacity: 0.9;
}

    #snackbar.show {
        visibility: visible;
        -webkit-animation: fadein 0.5s, fadeout 0.5s 3.5s;
        animation: fadein 0.5s, fadeout 0.5s 3.5s;
    }

@-webkit-keyframes fadein {
    from {
        bottom: 0;
        opacity: 0;
    }

    to {
        bottom: 70px;
        opacity: 1;
    }
}

@keyframes fadein {
    from {
        bottom: 0;
        opacity: 0;
    }

    to {
        bottom: 70px;
        opacity: 1;
    }
}

@-webkit-keyframes fadeout {
    from {
        bottom: 70px;
        opacity: 1;
    }

    to {
        bottom: 0;
        opacity: 0;
    }
}

@keyframes fadeout {
    from {
        bottom: 70px;
        opacity: 1;
    }

    to {
        bottom: 0;
        opacity: 0;
    }
}

.px-4 {
    padding-left: 0px !important;
    padding-right: 0px !important;
}

p {
    margin-top: 2px;
}


.dot {
    height: 16px;
    width: 16px;
    background-color: #01589f;
    border-radius: 50%;
    display: inline-block;
}

.titlebar-toolbar {
    float: right;
    text-align: right;
    font-weight: bold;
    margin-right: 16px;
    font-size: 12px;
}




/*Slider*/

.width-main{

}

.horizental_slider {
    display: flex;
    overflow-x: auto;
    padding-bottom: 8px;
    box-sizing: border-box;
    width:100%;
}

.slider_container {
    display: flex;
    white-space: nowrap;
}

.sliderItem {
    display: inline-block;
    margin-right: 10px;
}

.sliderBanner {
    width: 300px;
    height: 140px;
    border-radius: 8px;
    box-shadow: -1px 2px 6px 0px #888888;
    margin-bottom: 4px;
}



@media (min-width: 741px) {

    .horizental_slider {
        /*width: calc(100% - 290px);*/
    }

    .width-main {
        width: calc(100% - 290px);
        position: fixed;
    }

    .width-main2 {
        width: calc(100% - 290px)
    }
    .bottom_mob {
        margin-bottom: 0px;
    }
}

@media (max-width: 740.98px) {
 
    .horizental_slider {
        /*width: 100%;*/
    }

    .width-main {
        position: unset;
            width: 100%;
    }

    .width-main2 {
    
        width: 100%;
    }

    .bottom_mob {
        margin-bottom: 54px;
    }

}



 
    /*End Slider*/

/*Scroll View*/

::-webkit-scrollbar {
    width: 12px;
    background: #f4f4f4;
    height: 12px;
    border-radius: 8px 8px 8px 8px;
}

::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 8px 8px 8px 8px;
}

@media (max-width: 740.98px) {
    ::-webkit-scrollbar {
        width: 4px;
        height: 4px;
    }
}

/*End Scroll View*/


.border-error-view {
    width: 60px;
    height: 60px;
    border-color: #ff6c6c;
    border-radius: 50%;
    border-width: 2px;
    border-style: solid;
    display: flex;
    justify-content: center;
    align-items: center;
}

.icon-error-view {
    font-size: 48px;
    color: #ff6c6c;
}

.text {
    font-size: 12px;
    margin-top: 8px;
    color: #444444;
    font-family: 'Vazir';
    font-weight: bold;
}

.subText {
    font-size: 14px;
    color: #6b6b6b;
}


.priceTxt {
    font-weight: bold;
    color: #01589f;
    text-align: left;
    font-size: 11px;
}


.btnOverFlow {
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    position: fixed;
    z-index: 1000;
    bottom: 0;
    left: 0;
    background-color: #01589f;
    height: 45px;
    width: 45px;
    margin-left: 16px;
    margin-bottom: 100px;
    box-shadow: 1px 4px 7px 0px #888888;
}

.main_item_category {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-flow: column;
    margin-left: 16px;
}


.image_item_category {
    width: 74px;
    height: 74px;
    border-radius: 50%;
}

.title_item_category {
    font-size: 12px;
    margin-top: 8px;
}


/*for list items*/

.flex-container {
   
    display: flex;
    /*flex-wrap: wrap;*/
    /*flex-direction: column;*/
    flex-flow: wrap row;
    justify-content: center;
}

    .flex-container > div {
        margin: 8px;
        padding: 20px;
        font-size: 30px;
    }

.parrent-cart {
    width: 100%;
    flex-basis: 100%;
}


.image-cart {
    width: 80px;
    height: 80px;
    border-radius: 6px;
}

.content-cart {

    margin-right: 8px;
    display: flex;
    flex-flow: wrap column;
    text-align: right;
    justify-items: flex-end;
}

.content-cart-main {
    width: calc(100% - 100px);
    margin-right: 8px;
    display: flex;
    flex-flow: wrap column;
    text-align: right;
    justify-items: flex-end;
}



/*@media screen and (min-width: 800px) {

    .parrent-cart {
        width: 100%;
        flex-basis: 32%;
    }

}*/



@media screen and (min-width: 1000px) {

    .parrent-cart {
        width: 100%;
        flex-basis: 50%;
    }
}


@media screen and (min-width: 1300px) {

    .parrent-cart {
        width: 100%;
        flex-basis: 33.33%;
    }
}

/*end of list items*/