
* {
    font-family: iranyekan, serif;
}

/** :not(input),  * :not(textarea){*/
/*    -webkit-touch-callout: none; !* iOS Safari *!*/
/*    -webkit-user-select: none; !* Safari *!*/
/*    -khtml-user-select: none; !* Konqueror HTML *!*/
/*    -moz-user-select: none; !* Old versions of Firefox *!*/
/*    -ms-user-select: none; !* Internet Explorer/Edge *!*/
/*    user-select: none;*/
/*}*/

.customerPanel ul * {
    color: black !important;
}

/* width */
::-webkit-scrollbar {
    width: 4px;
}

/* Track */
::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px #bdbdbd;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #747373;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #b30000;
}

.g-height-3{
    height: 3px;
}

.g-width-100x{
    width: 100%;
}
.megaMenu{
    height: 93vh !important;
}
.customScrollBar{
    padding: 10px;
    overflow-y: scroll;
    height: 400px !important;
}

.customScrollBar::-webkit-scrollbar {
    width: 1px !important;
    background-clip: padding-box;
    background-color: white;
}

.customScrollBar::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, .2) !important;
}

.customScrollBar::-webkit-scrollbar-track {
    box-shadow: inset 0 0 2px #ffffff !important;
}

/*Sub Menu Scrolling*/
.SubMenuScroll {
    overflow-y: scroll;
    max-height: 300px !important;
}

.SubMenuScroll::-webkit-scrollbar {
    width: 3px !important;
}

/* Track */
.SubMenuScroll::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px rgb(255, 255, 255);
}

/* Handle */
.SubMenuScroll::-webkit-scrollbar-thumb {
    background: rgb(42, 42, 42);
    border-radius: 10px;
}

/* Handle on hover */
.SubMenuScroll::-webkit-scrollbar-thumb:hover {
    background: #b30000;
}

/*Sub Menu Scrolling*/
.ltrSubMenuScroll {
    direction: ltr;
    overflow-y: scroll;
    height: 400px !important;
}

.ltrSubMenuScroll::-webkit-scrollbar {
    width: 1px !important;
}

/* Track */
.ltrSubMenuScroll::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px lightgrey;
    border-radius: 10px;
}

/* Handle */
.ltrSubMenuScroll::-webkit-scrollbar-thumb {
    background: rgba(158, 158, 158, 0.6);
    border-radius: 10px;
}

/* Handle on hover */
.ltrSubMenuScroll::-webkit-scrollbar-thumb:hover {
    background: #b30000;
}

/*Sub Menu Scrolling*/
.smallLtrSubMenuScroll {
    direction: ltr;
    overflow-y: scroll;
    height: 155px !important;
}

.smallLtrSubMenuScroll::-webkit-scrollbar {
    width: 1px !important;
}

/* Track */
.smallLtrSubMenuScroll::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px lightgrey;
    border-radius: 10px;
}

/* Handle */
.smallLtrSubMenuScroll::-webkit-scrollbar-thumb {
    background: rgba(158, 158, 158, 0.6);
    border-radius: 10px;
}

/* Handle on hover */
.smallLtrSubMenuScroll::-webkit-scrollbar-thumb:hover {
    background: #b30000;
}

.hideScrollBar::-webkit-scrollbar {
    width: 0 !important;
}

.opacity-0-bigDevice{
    opacity: 0;
}

.g-ml-60-lg--minus-10 {
    margin-left: 60px;
}

.g-ml-60--lg {
    margin-left: 60px;
}

.progress-auto-width {
    width: 200px;
}

.table-cell-responsive {
    width: 250px;
}

.ajaxDropDown {
    display: block;
    position: relative;
    z-index: 1;
    cursor: pointer;
    direction: rtl;
    padding-inline-start: 50%;
}

.body-modal-open {
    -webkit-overflow-scrolling: touch;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
}

.ajaxDropDown li {
    border-radius: 0 0 5px 5px !important;
}

.bigDevice {
    display: block;
}

.smallDevice {
    display: none;
}

.smallFlex {
    display: none;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

.comment-cell {
    width: 200px !important;
}

.text-header-responsive {
    text-align: right;
}

.sellerProfileWallpaper {
    padding: 25px;
    background-image: url(../img/Banners/sellerProfile.jpg);
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-size: contain;
}

.sellerCreditCardWallpaper {
    padding: 25px;
    background-image: url(../img/Banners/sellerCreditCard.jpg);
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-size: contain;
}

.sellerAddressCardWallpaper {
    padding: 25px;
    background-image: url(../img/Banners/sellerMap.jpg);
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-size: contain;
}

.alignRightWallpaperBD {
    display: flex;
    justify-content: end !important;
}

.alignCenterWallpaperBD {
    display: flex;
    justify-content: center !important;
}

.custom-mt-20 {
    margin-top: 0;
    margin-right: 15px;
}

.textOnImg {
    position: relative;
}

.textOnImg-right {
    position: absolute;
    top: 107px;
    left: 40px;
}

.textOnImg-right-sm {
    position: absolute;
    top: 110px;
    left: 44px;
}

.displayNone {
    display: none !important;
}

/* Style the buttons that are used to open and close the accordion panel */
.accordion {
    background-color: #eee;
    color: #444;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    text-align: left;
    border: none;
    outline: none;
    transition: 0.4s;
}

/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
.active, .accordion:hover {
    background-color: #ccc;
}

.tab-content>.active {
    background-color: #333;
}

    /* Style the accordion panel. Note: hidden by default */
.panel {
    padding: 0 18px;
    background-color: white;
    display: none;
    overflow: hidden;
}

.font-smooth {
    -webkit-font-smoothing: antialiased !important;
}

.sideBarButton {
    cursor: pointer;
    display: none;
}

.rotateText {
    transform: rotate(90deg) !important;
}

.responsiveBorder {
    border-color: #eeeeee;
}

.transition {
    transition-property: all;
    transition-duration: 1s;
    transition-timing-function: ease-out;
}

.productFrame {
    border: 1px solid #ededed;
}

/*image magnifier*/
.img-magnifier-container {
    position: relative;
}

.img-magnifier-glass {
    position: absolute;
    cursor: none;
    /*Set the size of the magnifier glass:*/
    width: 300px;
    height: 400px;
}

.me-position-fix {
    position: fixed;
}

.me-position-normally {
    position: static;
}

.amountLine {
    position: relative;
}

.amountLine::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 1px;
    background: red;
    bottom: 50%;
    left: 0;
}

.dontSelectText {
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
}

/*------------------------[rating style]------------------------*/
.stars input {
    position: absolute;
    left: -999999px;
}

.stars a {
    display: inline-block;
    padding-right: 4px;
    margin: 0;
}

.stars a:after {
    position: relative;
    font-size: 18px;
    font-family: 'FontAwesome', serif;
    display: block;
    content: "\f005";
    color: #9e9e9e;
}

.stars span {
    font-size: 0; /* trick to remove inline-element's margin */
}

.stars span > a:hover ~ a:after {
    color: #9e9e9e !important;
}

.stars span.myActive a.myActive ~ a:after {
    color: #9e9e9e;
}

.stars span:hover a:after {
    color: #72c02c !important;
}

.stars span.myActive a:after,
.stars a.myActive:after {
    color: #72c02c;
}

.loadProduct{
    width:200px;
    height:200px;
    margin: 40px auto 40px auto;
    background:url("/../img/Other/loader.png") no-repeat center center rgb(255, 255, 255)
}

.emptyCart{
    width:250px;
    height:250px;
    background-size: contain;
    background:url("/../img/Other/emptyCart.gif") no-repeat center center rgb(255, 255, 255)
}

.noProduct{
    height:210px;
    background-size: contain;
    background:url("/../img/Other/noProduct.gif") no-repeat center center rgb(255, 255, 255)
}

body a{
    user-select: none !important;
}

.customLink {
    color: #2a2a2a !important;
    text-decoration: none !important;
}

.customLink:hover {
    color: #72c02c !important;
}

.customLinkHover:hover {
    text-decoration: none;
}

.preview {
    overflow: hidden;
    width: 200px;
    height: 200px;
}

.customerCropper.cropper-crop-box{
    border-radius: 50%;
}
.customerCropper.cropper-view-box {
    border-radius: 50%;
    box-shadow: 0 0 0 1px #39f;
    outline: 0;
}

.circleRotate {
    -webkit-animation:spin 0.5s linear infinite;
    -moz-animation:spin 0.5s linear infinite;
    animation:spin 0.5s linear infinite;
}

@-moz-keyframes spin {
    100% { -moz-transform: rotate(360deg); }
}
@-webkit-keyframes spin {
    100% { -webkit-transform: rotate(360deg); }
}
@keyframes spin {
    100% { -webkit-transform: rotate(360deg); transform:rotate(360deg); }
}

.customTooltip {
    position: relative;
    display: inline-block;
}

.customTooltip .toolTipText {
    visibility: hidden;
    width: 120px;
    background-color: #555;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -60px;
    opacity: 0;
    transition: opacity 0.3s;
}

.customTooltip .toolTipText::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
}

.customTooltip:hover .toolTipText {
    visibility: visible;
    opacity: 1;
}

.checkmark__circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 2;
    stroke-miterlimit: 10;
    stroke: #7ac142;
    fill: none;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: block;
    stroke-width: 2;
    stroke: #fff;
    stroke-miterlimit: 10;
    margin: 10% auto;
    box-shadow: inset 0px 0px 0px #7ac142;
    animation: fill .4s ease-in-out .4s forwards, scale .3s ease-in-out .9s both;
}

.checkmark__check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

.cursor-default {
    cursor: default !important;
}

.circle-wrapper {
    position: relative;
    width: 100px;
    height: 100px;
    float: left;
    margin: 10px;
}

.icon {
    position: absolute;
    color: #fff;
    font-size: 35px;
    top: 50px;
    left: 50px;
    transform: translate(-50%, -50%);
}

.circle {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    padding: 2.5px;
    background-clip: content-box;
    animation: spin 10s linear infinite;
}

.circle-wrapper:active .circle {
    animation: spin 2s linear infinite;
}

.success {
    background-color: #72c02c;
    border: 2.5px dashed #72c02c;
}

.error {
    background-color: #CA0B00;
    border: 2.5px dashed #CA0B00;
}

.warning {
    background-color: #F0D500;
    border: 2.5px dashed #F0D500;
}

@keyframes spin {
    100% {
        transform: rotateZ(360deg);
    }
}

.page-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes stroke {
    100% {
        stroke-dashoffset: 0;
    }
}
@keyframes scale {
    0%, 100% {
        transform: none;
    }
    50% {
        transform: scale3d(1.1, 1.1, 1);
    }
}
@keyframes fill {
    100% {
        box-shadow: inset 0px 0px 0px 30px #7ac142;
    }
}

.pulse {
    overflow: visible;
    position: relative;
}
.pulse:before {
    content: '';
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: inherit;
    border-radius: inherit;
    transition: opacity .3s, transform .3s;
    animation: pulse-animation 1s cubic-bezier(0.24, 0, 0.38, 1) infinite;
    z-index: -1;
}
@keyframes pulse-animation {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0;
        transform: scale(1.5);
    }
    100% {
        opacity: 0;
        transform: scale(1.5);
    }
}
@media screen and (max-width: 800px) {
    .tableHint {
        display: block !important;
    }

    .mx-set{
        margin: 0 !important;
    }
}

.tableHint {
    display: none;
}

.productListPagination .u-pagination-v1-1--active {
    color: white !important;
}

.onlySmallFullOpacity {
    opacity: 0;
}

/*carousel*/
.owl-demo .item img {
    display: block;
    width: 100%;
    height: auto;
}

.slide-progress {
    max-width: 100%;
    height: 4px;
    background: #7fc242;
}
.slide-progress-main{
    float:none;
    width:100%
}
.slide-width-0{
    width: 0;
}
.slide-width-100{
    width: 100%;
}

.g-width-350--lg{
    width: 350px;
}

/*animate border*/
.ContainerAnimateBorder {
    position: relative;
    color: #fff;
    background: transparent;
    overflow: hidden;
    border-top: 5px solid rgba(114, 192, 44, 0.5);
    border-right: 5px solid rgba(114, 192, 44, 0.5);
    border-bottom: 5px solid rgba(114, 192, 44, 0.5);
    border-left: 5px solid rgba(114, 192, 44, 0.5);
    font-family: sans-serif;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}

.lineAnimateBorder {
    position: absolute;
    /*border-radius: 100vmax;*/
}

.topAnimateBorder {
    top: 0;
    left: 0;
    width: 0;
    height: 7px;
    background: linear-gradient(
        90deg,
        transparent 50%,
        rgba(114, 192, 44, 0.5),
        rgb(114, 192, 44)
    );
}

.bottomAnimateBorder {
    right: 0;
    bottom: 0;
    height: 7px;
    background: linear-gradient(
        90deg,
        rgba(114, 192, 44, 0.5),
        rgb(114, 192, 44),
        transparent 50%
    );
}

.rightAnimateBorder {
    top: 0;
    right: 0;
    width: 7px;
    height: 0;
    background: linear-gradient(
        180deg,
        transparent 30%,
        rgba(114, 192, 44, 0.5),
        rgb(114, 192, 44)
    );
}

.leftAnimateBorder {
    left: 0;
    bottom: 0;
    width: 7px;
    height: 0;
    background: linear-gradient(
        180deg,
        rgba(114, 192, 44, 0.5),
        rgb(114, 192, 44),
        transparent 70%
    );
}

.topAnimateBorder {
    animation: animateTop 3s ease-in-out infinite;
}

.bottomAnimateBorder {
    animation: animateBottom 3s ease-in-out infinite;
}

.rightAnimateBorder {
    animation: animateRight 3s linear infinite;
}

.leftAnimateBorder {
    animation: animateLeft 3s ease-in-out infinite;
}

.overFlow-dots{
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.msgImgSize{
    width: 20rem;
}

@keyframes animateTop {
    25% {
        width: 100%;
        opacity: 1;
    }

    30%,
    100% {
        opacity: 0;
    }
}

@keyframes animateBottom {
    0%,
    50% {
        opacity: 0;
        width: 0;
    }

    75% {
        opacity: 1;
        width: 100%;
    }

    76%,
    100% {
        opacity: 0;
    }
}

@keyframes animateRight {
    0%,
    25% {
        opacity: 0;
        height: 0;
    }

    50% {
        opacity: 1;
        height: 100%;
    }

    55%,
    100% {
        height: 100%;
        opacity: 0;
    }
}

@keyframes animateLeft {
    0%,
    75% {
        opacity: 0;
        bottom: 0;
        height: 0;
    }

    100% {
        opacity: 1;
        height: 100%;
    }
}
/*end animate border*/

.swiper{
    height: 100vh;
    width: 360px;
}

.masterPage .swiper {
    height: 100%;
    width: 100%;
}
.g-width--360{
    width: 360px;
}

.g-pb-30vh--lg{
    padding-bottom: 15vh;
}

.autoplay-progress {
    position: absolute;
    right: 16px;
    bottom: 16px;
    z-index: 10;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--swiper-theme-color);
}

.autoplay-progress svg {
    --progress: 0;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 10;
    width: 100%;
    height: 100%;
    stroke-width: 4px;
    stroke: var(--swiper-theme-color);
    fill: none;
    stroke-dashoffset: calc(125.6 * (1 - var(--progress)));
    stroke-dasharray: 125.6;
    transform: rotate(-90deg);
}

.swiper-button-prev:after{
    visibility: hidden;
}

.swiper-button-next:after{
    visibility: hidden;
}
/*img border animated*/
.circleBorder {
    background-image:linear-gradient(#7fc242, rgba(122, 255, 0, 0.64),#7fc242);
    width:64px;
    height:64px;
    border-style: solid;
    border-color:transparent;
    border-radius: 50%;
    border-width:2px;
    animation:rot 1s ease-out;
}
.circleBorder > div {
    background:transparent;
    height: 65px;
    width: 65px;
    border-style: solid;
    border-color:transparent;
    border-radius: 50%;
    border-width:2px;
}

.circleBorder .borderAnimate {
    animation:none;
}
.borderAnimate{
    position:absolute;
    z-index:10;
    top:2px;
    left:2px;
}

/*dropdown style */
.listSearch .listBox {
    box-sizing: border-box;
    background-color: white;
    font-size: 16px;
    padding: 7px 15px 7px 32px;
    border: 1px solid #ddd;
    outline: none;
    width: 100%;
}

.listSearch .dropdown {
    position: relative;
    display: inline-block;
    width: 100%;
}

.listSearch .dropdown-content {
    background-color: #f6f6f6;
}

.listSearch .dropdown-content a {
    color: #474747;
    padding: 3px 16px 0 16px;
    text-decoration: none;
    display: block;
}

.listSearch .show {display:block;}
/*end dropdown style */
.carousel-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.carousel-track {
    display: flex;
    width: max-content;
    height: 100%;
    transition: transform 0.6s ease;
}

.slide {
    flex-shrink: 0;
    width: 100vw;
    height: 100%;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
@keyframes rot {
    0%
    {
        transform:rotate(0deg)
    }
    25%
    {
        transform:rotate(90deg)
    }
    50%
    {
        transform:rotate(180deg)
    }
    75%
    {
        transform:rotate(270deg)
    }
    100% {
        transform:rotate(360deg)
    }
}
/*img border animated end*/
@media screen and (max-width: 400px) {
    .half-right{
        transform: scale(0.8);
        right: 0 !important;
    }
    .half-left{
        transform: scale(0.8);
        left: 0 !important;
    }
}
@media screen and (max-width: 900px) {
    .swiper{
        width: 100%;
    }

    .g-pb-30vh--lg{
        padding-bottom: 0 !important;
    }

    .g-width--360{
        width: 100% !important;
    }

    .msgImgSize{
        width: 16rem !important;
    }

    .g-width-350--lg{
        width: auto !important;
    }
    .opacity-0-bigDevice{
        display: none !important;
    }
    .adminPanelResponsive{
        display: block !important;
    }
    .SubMenuScroll {
        height: auto !important;
    }
    .ltrSubMenuScroll {
        height: auto !important;
    }

    .smallLtrSubMenuScroll {
        height: auto !important;
    }

    .ltrSubMenuScroll::-webkit-scrollbar {
        width: 0 !important;
    }

    .smallLtrSubMenuScroll::-webkit-scrollbar {
        width: 0 !important;
    }

    .force-col-12 {
        width: 100% !important;
    }

    .ajaxDropDown {
        padding-inline-start: 0 !important;
    }

    .bigDevice {
        display: none !important;
    }

    .smallDevice {
        display: block !important;
    }

    .smallFlex {
        display: flex !important;
    }

    .smallDeviceJustify {
        text-align: justify;
    }

    .smallDevicePadding-20 {
        padding: 20px !important;
    }

    .sdCommentPadding-20 {
        padding-right: 20px !important;
    }

    .text-header-responsive {
        text-align: center !important;
        padding: 0 !important;
    }

    .alignRightWallpaperBD, .alignCenterWallpaperBD {
        display: block !important;
    }

    .custom-mt-20 {
        margin-top: 20px !important;
        margin-right: 0 !important;
    }

    .d-custom-block {
        display: block !important;
    }

    .responsive-width {
        display: inline !important;
        width: 24% !important;
        margin-bottom: 15px !important;
    }

    .custom-bottom {
        bottom: 0.75rem !important;
    }

    .responsiveBorder {
        border-color: #72c02c !important;
    }

    .productFrame {
        border: 1px solid #eee !important;
    }

    .color-primary-smallDevice {
        color: #72c02c !important;
    }

    .progress-auto-width {
        width: 100% !important;
    }

    .table-cell-responsive {
        width: 100% !important;
    }

    .g-ml-60--lg {
        margin-left: 10px !important;
    }

    .g-ml-60-lg--minus-10 {
        margin-left: -10px !important;
    }

    .onlySmallFullOpacity {
        opacity: 1 !important;
    }

    .height_445{
        height: 445px;
    }
}
.modal-fullscreen {
    height: 100%;
    max-width: 100%;
}

.img-container {
    width: 100%;
    height: 70vh;
    max-height: 70vh;
    position: relative;
    background: #f8f9fa;
}

#sample_image {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.cropper-tools button {
    margin: 0 3px;
}

.mx-set{
    margin: auto;
}

/* Modal CSS */
#install-modal {
    display: none;
    position: fixed; z-index: 9999;
    left: 0; top: 0; width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.5);
    font-family: Arial, sans-serif;
}
#install-modal .modal-content {
    background-color: #fff; margin: 15% auto;
    padding: 30px 20px; border-radius: 12px;
    width: 90%; max-width: 400px; text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    animation: fadeIn 0.3s ease-out;
}
#install-modal h2 { margin-bottom: 15px; color: #333; }
#install-modal p { margin-bottom: 25px; color: #555; }
#install-btn, #close-btn {
    padding: 10px 25px; margin: 5px; border: none;
    border-radius: 8px; cursor: pointer; font-size: 16px;
}
#install-btn { background-color: #72c02c; color: white; }
#close-btn { background-color: #555555; color: white; }
@keyframes fadeIn { from {opacity:0; transform:translateY(-20px);} to {opacity:1; transform:translateY(0);} }

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* صفحه کامل */
#global-loader {
    position: fixed;
    top:0; left:0; right:0; bottom:0;
    background: rgba(255,255,255,0.95);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

/* کانتینر داخلی */
.loader-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* لوگو با انیمیشن pulse */
.logo-wrapper {
    position: relative;
    width: 100px;
    height: 100px;
}
.logo-wrapper img {
    width: 100px;
    animation: pulse 1s infinite ease-in-out;
}
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); opacity:0.8; }
    100% { transform: scale(1); opacity:1; }
}

/* ذرات کوچک اطراف لوگو */
.particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #3498db;
    border-radius: 50%;
    animation: particleMove 1.2s linear infinite;
}
.particle:nth-child(1) { top: -10px; left: 50%; animation-delay: 0s; }
.particle:nth-child(2) { bottom: -10px; left: 20%; animation-delay: 0.3s; }
.particle:nth-child(3) { bottom: -10px; right: 20%; animation-delay: 0.6s; }

@keyframes particleMove {
    0% { transform: translate(0,0) scale(1); opacity:1; }
    50% { transform: translateY(-15px) scale(0.5); opacity:0.5; }
    100% { transform: translate(0,0) scale(1); opacity:1; }
}

/* متن تایپینگ ساده */
.loader-text {
    margin-top: 20px;
    font-size: 1.4rem;
    color: #333;
    overflow: hidden;
    white-space: nowrap;
    border-right: 3px solid #3498db;
    width: 0;
    animation: typing 2s steps(30) forwards;
    animation-delay: 0.5s;
}
@keyframes typing {
    from { width: 0; }
    to { width: 200px; }
}

.rating span {
    font-size: 2rem;
    color: #ccc; /* خاکستری برای ستاره‌های خالی */
    cursor: pointer;
    transition: color 0.2s ease;
    user-select: none;
}

.rating span.selected {
    color: #72c02c; /* سبز توپر برای ستاره‌های انتخاب شده */
}

#backButton {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: rgba(9, 9, 9, 0.51);
    border: 10px solid #72c02c;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, background 0.2s ease;
    z-index: 9999;
}

#backButton:hover {
    transform: scale(1.1);
    background:  rgba(9, 9, 9, 0.51);
}

/* حالت موبایل */
@media (max-width: 767px) {
    #backButton {
        width: 70px;
        height: 70px;
        bottom: 20px;
        left: 20px;
    }
}

#backButton svg {
    display: block;
}

/*pic loader*/
@keyframes pulse_1 {
    0% { transform: scale(0.8); opacity: 0.5; }
    50% { transform: scale(1); opacity: 1; }
    100% { transform: scale(0.8); opacity: 0.5; }
}
#loaderOverlay .spinner-border {
    animation: pulse_1 1s infinite;
}

.mini-loader {
    width: 18px;
    height: 18px;
    border: 3px solid rgba(0, 123, 255, 0.2);
    border-top-color: #0d6efd;
    border-radius: 50%;
    animation: miniSpin .6s linear infinite;
}

@keyframes miniSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
/* حالت غیرفعال */
#agreeBtnModal {
    pointer-events: none;
    opacity: 0.5;
    background: #b6b6b6 !important; /* خاکستری کاملاً مشخص */
    border-color: #b6b6b6 !important;
    transition: all 0.25s ease;
}

/* حالت فعال */
#agreeBtnModal.active {
    pointer-events: auto;
    opacity: 1;
    background: #28a745 !important; /* سبز روشنِ فعال */
    border-color: #28a745 !important;
    transform: scale(1);
}

/* افکت فعال شدن */
#agreeBtnModal.activated {
    animation: pulseActive 0.45s ease-out forwards;
}

@keyframes pulseActive {
    0% { transform: scale(0.94); }
    50% { transform: scale(1.07); }
    100% { transform: scale(1); }
}

.input-error {
    border-color: #e3342f !important; /* قرمز */
}

.input-success {
    border-color: #38c172 !important; /* سبز */
}
.waiting-loader {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 8px 15px;
    background: #1d1d1d;
    color: #fff;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 500;
}

/* لودر چرخشی مدرن */
.waiting-loader .spinner {
    width: 22px;
    height: 22px;
    border: 3px solid rgba(255,255,255,0.2);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spinLoader 0.7s linear infinite;
}

@keyframes spinLoader {
    100% { transform: rotate(360deg); }
}

/*کد اعتبارسنجی*/
.code-input {
    width: 50px;
    height: 58px;
    font-size: 30px;
    font-weight: 700;
    border-radius: 10px;
    text-align: center;
}

/* موبایل‌های کوچک‌تر از 400px */
@media (max-width: 400px) {
    .code-input {
        width: 40px;
        height: 50px;
        font-size: 26px;
    }
}

/* موبایل‌های خیلی کوچک مثل iPhone 5s (عرض 320px) */
@media (max-width: 340px) {
    .code-input {
        width: 34px;
        height: 44px;
        font-size: 22px;
    }
}

.code-input {
    width: 50px;
    height: 58px;
    font-size: 30px;
    font-weight: 700;
    border-radius: 10px;
    text-align: center;
}

/* موبایل‌های کوچک‌تر از 400px */
@media (max-width: 400px) {
    .code-input {
        width: 40px;
        height: 50px;
        font-size: 26px;
    }
}

/* موبایل‌های خیلی کوچک مثل iPhone 5s (عرض 320px) */
@media (max-width: 340px) {
    .code-input {
        width: 34px;
        height: 44px;
        font-size: 22px;
    }
}
/*لودر افزودن محصول*/
.product-loader {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}

/* glass card */
.loader-glass {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 32px 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    min-width: 220px;
}

/* spinner */
.product-spinner {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.product-loader-text {
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.3px;
}

/* mobile */
@media (max-width: 480px) {
    .loader-glass {
        padding: 24px;
        min-width: 180px;
    }
    .product-spinner {
        width: 44px;
        height: 44px;
    }
}
