﻿.desktop-none {
    display: none;
}

.no-js #category-table {
    display: block;
}

.js-enabled #category-table {
    display: none;
}


.breadcrumb-item {
    font-size: 16px;
    font-weight: 400;
}

    .breadcrumb-item a {
        color: #636C75 !important;
    }

    .breadcrumb-item.active {
        color: #2C3E50 !important;
    }


.swiper {
    user-select: none;
}

.swiper-wrapper {
    display: block !important;
}

.swiper-mid {
    padding: 3px 0;
}
/*    .swiper-slid-init {
        width: auto !important;
        margin-left: 8px;
        padding-bottom: 8px;
        height: auto !important;
    }*/
.waitMe_container .waitMe *, .waitMe_container .waitMe {
    z-index: 99999999999999999999!important;
}
.top-sell-products-container .swiper-slid-init {
    max-width: 450px;
}

.top-sell-products-container:has(.swiper-slid-init) {
    width: 100%;
    padding-left: 3%;
    padding-right: 3%;
}

.swiper-wrapper:has(.swiper-slid-init) {
    overflow-x: scroll;
    display: flex !important;
    width: 100%;
    position: unset;
}

.swiper-wrapper:has(.product-card:not(.landscape)) {
    width: 100%;
    overflow: auto;
}

.swiper-wrapper-flex {
    display: flex !important;
    width: auto !important;
    overflow: unset !important;
}

.swiper-category .swiper-slid-init img {
    max-height: 100px;
    object-fit: scale-down;
    width: 100%;
}

.swiper-category .swiper-slid-init {
    width: 125px !important;
}


.category li {
    margin-top: 16px;
}

.category .first {
    color: var(--tertiary);
}

.category .second {
    color: var(--secondary);
}

.category .third {
    color: var(--mute-2);
}

.gateways {
    font-size: 20px;
    font-weight: 500;
    display: flex;
    gap: 16px;
    color: var(--secondary) !important;
    align-items: center;
}

    .gateways img {
        max-width: 60px;
        border-radius: 8px;
        margin-left: 8px;
    }

    .gateways .text-muted {
        font-size: 16px;
        font-weight: 300;
    }

    .gateways input {
        width: 24px;
        height: 24px !important;
    }

#shipping-methods .gateways {
    font-size: 16px;
    font-weight: 500;
    display: flex;
    gap: 16px;
    color: var(--secondary) !important;
    align-items: center;
}

    #shipping-methods
    .gateways .text-muted {
        font-size: 14px;
        font-weight: 300;
    }

/* The checkBox-container */
.checkBox-container {
    display: block;
    position: relative;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: medium;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    margin-left: 30px;
    margin-right: 30px;
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 10px;
}

    /* Hide the browser's default radio button */
    .checkBox-container input {
        position: absolute;
        opacity: 0;
        cursor: pointer;
    }

/* Create a custom radio button */
.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: #e9ecef;
    border-radius: 50%;
}

/* On mouse-over, add a grey background color */
.checkBox-container:hover input ~ .checkmark {
    background-color: #ccc;
}

/* When the radio button is checked, add a blue background */
.checkBox-container input:checked ~ .checkmark {
    background-color: black;
}

/* Create the indicator (the dot/circle - hidden when not checked) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the indicator (dot/circle) when checked */
.checkBox-container input:checked ~ .checkmark:after {
    display: block;
}

/* Style the indicator (dot/circle) */
.checkBox-container .checkmark:after {
    top: 9px;
    left: 9px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: white;
}

.drawer-container {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    height: calc(100svh - 80px);
    bottom: 80px;
    z-index: 9998;
    background: white;
    transition: all 1s;
    overscroll-behavior: contain;
    touch-action: pan-y;
}

.drawer-top-menu {
    width: 100%;
    background: white;
    overflow: auto;
    display: flex;
    gap: 8px;
    padding: 24px 16px;
}

.drawer-top-menu-item {
    padding: 9px 16px;
    border-radius: 8px;
    width: auto;
    border: 1px solid #F4F4F4;
    cursor: pointer;
    white-space: nowrap;
    font-size: 14px;
    color: #2C3E50;
    background-color: transparent;
}

    .drawer-top-menu-item.active {
        border: 2px solid var(--tertiary);
        color: var(--tertiary);
        background-color: #FFC8C20D;
    }

.drawer-content {
    display: flex;
    height: calc(100% - 87px);
}

.drawer-content-right {
    flex: 3;
    height: 100%;
    overflow: auto;
}

.drawer-content-left {
    padding: 0 16px;
    flex: 7;
    background: white;
    height: 100%;
}

.drawer-right-menu-item {
    width: 100%;
    color: #2C3E50;
    padding: 15px 12px;
    border: none;
    font-size: 12px;
    font-weight: 500;
    outline: none;
}

    .drawer-right-menu-item.active {
        background-color: white !important;
        color: var(--tertiary);
    }

.drawer-left-menu-item a {
    border: none;
    outline: none;
    width: 100%;
    font-size: 12px;
    color: #2C3E50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    border-bottom: 2px solid #EEEEEE;
    background: white;
}

.drawer-right-menu-item a i {
    font-size: 16px;
    color: #2C3E50;
}

.drawer-container .dropdown-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}


    .drawer-container .dropdown-content.open {
        max-height: 500px;
    }

    .drawer-container .dropdown-content ul {
        list-style: none;
        padding: 8px 16px;
        margin: 0;
    }

    .drawer-container .dropdown-content li {
        padding: 6px;
        border-bottom: 1px solid #FFFFFF;
        font-size: 12px;
        background-color: var(--primary);
    }

.drawer-container .dropdown-btn i {
    transition: transform 0.3s ease;
}

.trnsform-100 {
    transform: translateY(100%);
}

.fa-rotate-270 {
    transform: rotate(-90deg);
}

@media (min-width: 992px) { /* lg و بزرگ‌تر (دسکتاپ) */
    .sticky-desktop {
        position: sticky;
        top: 100px; /* فاصله از بالای صفحه */
    }
}

@media (max-width: 600px) {
    .top-sell-products-container .swiper-slid-init {
        max-width: 100%;
    }

    .swiper-category .swiper-slid-init {
        width: 85px !important;
    }
}

.w-fit {
    width: fit-content;
}

.login-page-continer {
    background-image: url('../images/login//LoginBackgroundIDesktopmage.png');
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
    height: 100vh;
    width: 100%;
}

#MyModal2 .login-page-continer {
    background-image: none;
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
    height: auto;
    width: auto;
}

#MyModal2 .login-box {
    margin: auto;
}

.login-box {
    width: 456px;
    padding: 32px;
    border: 1px solid #EDEDED;
    border-radius: 8px;
    background-color: #FFFFFF;
    display: flex;
    flex-direction: column;
    margin:0 auto;
}

    .login-box .text-primary {
        color: #2C3E50 !important;
    }

.login-box-title {
    color: #2C3E50;
    font-size: 28px;
    font-weight: 500;
    margin-top: 15px;
    margin-bottom: 32px;
}

.login-description {
    color: #6C7278;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
}

.login-input-box {
    margin-bottom: 32px;
}

.login-by-pass .login-input-box {
    margin-bottom: 16px;
}

.login-by-pass .login-box-title {
    margin-bottom: 16px;
}

.login-text-input-field {
    color: #2C3E50;
    border-radius: 8px;
    outline: none;
    border: 1px solid #ADADAD;
    padding: 12px;
}

    .login-text-input-field::placeholder {
        color: #ADADAD;
    }


.login-number-field {
    position: relative;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    border: 1px solid #CBCBCB;
}

    .login-number-field input {
        border: none;
        background: transparent;
        width: 100%;
        height: 100%;
        text-align: center;
        color: #2C3E50;
    }

        .login-number-field input:focus {
            border: none;
            outline: none;
            background: transparent;
            width: 100%;
            height: 100%;
            text-align: center;
        }

    .login-number-field::after {
        content: "";
        position: absolute;
        z-index: 10;
        bottom: 8px;
        left: 50%;
        transform: translateX(-50%);
        width: 28px;
        height: 1px;
        background-color: #868686;
    }

.login-number-filed-container {
    width: 252px;
    display: flex;
    gap: 4px;
}

.send-message-text {
    color: #6C7278;
    font-size: 14px;
    font-weight: 500;
}

.send-message-text-2 {
}

#resend-code-button {
    color: #CBCBCB;
    font-size: 14px;
    font-weight: 500;
    border: none;
    outline: none
}

.outline-none {
    outline: none;
}

.max-w-100 {
    max-width: 100%;
}

.max-h-100 {
    max-height: 100%;
}

.toobtoor-img-container {
    position: absolute;
    display: block;
    width: 83px;
    height: 62px;
}

.back-btn {
    margin-top: 23px !important;
    color: #2C3E50 !important;
    font-size: 18px !important;
    font-weight: 600;
}

.mobile-back-button-box {
    width: 80%;
    color: #717171 !important;
    justify-content: space-between;
    top: 45px;
    left: 50%;
    font-size: 20px;
    transform: translateX(-50%);
}

.mobile-backbtn {
    color: #717171 !important;
}

.privacy-policy-notice {
    margin-top: 32px;
    font-size: 12px;
    color: #6C7278;
}

    .privacy-policy-notice span {
        color: var(--tertiary);
    }

.liked svg path {
    fill: var(--tertiary);
    stroke: var(--tertiary);
}

#search-modal {
    top: -5%;
    width: 100%;
    z-index: 999999999999999999999;
}

    #search-modal .search {
        position: unset;
    }
    #search-modal .searchResults {
        overflow-y: auto;
        max-height: 400px;
        overflow-x: hidden;
    }

    #search-modal .modal-dialog-scrollable .modal-body {
        overflow-x: hidden;
    }

    #search-modal .modal-dialog {
        top: auto;
        bottom: auto;
        width: 100%;
        max-width: 100%;
        margin: 0;
    }

    #search-modal .modal-content {
        border-radius: 0;
        padding-top: 24px;
        padding-bottom: 24px;
        height: 90%;
    }

    #search-modal .modal-header .btn-close {
        font-size: 14px;
        background-color: var(--gray-8);
        padding: 10px;
        border-radius: 50%;
    }

    #search-modal .modal-title {
        color: var(--secondary);
    }
#popular-search-items {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
    #popular-search-items .badge {
        padding: 8px;
    }
    #popular-search-items .bg-secondary {
        background-color: #6c757db3 !important;
    }
/*---------------media query--------------------------*/
@media (max-width: 568px) {
    .login-page-continer {
        background-image: url('../images/login/loginbgImageMobile.png');
    }

    .login-box-title {
        font-size: 18px;
        text-align: center;
    }

    .login-img {
        text-align: center;
    }
}
