@import url("../fonts/woff/Webfonts/fontiran.css");

:root {
    --primary: #F31054;
    --secondary: #5910F3;
    --black: #0b0b0b;
    --white: #fff;
    --primary-range-1: #FDCFDD;
    --primary-range-2: #FA9FBB;
    --primary-range-3: #920A32;
    --primary-range-4: #490519;
    --secondary-range-1: #EEE7FE;
    --secondary-range-2: #CDB7FB;
    --secondary-range-3: #470DC2;
    --secondary-range-4: #240661;
    --black-range-1: #6A6A6A;
    --black-range-2: #CCCCCC;
    --black-range-3: #E9E9E9;
    --black-range-4: #F6F6F6;
    --bootstrap-primary: #F31054;
    --bootstrap-secondary: #5910F3;
    --bootstrap-sucsess: #47C07F;
    --bootstrap-danger: #F10B0B;
    --bootstrap-warning: #ECA51B;
    --bootstrap-info: #10A2F3;
}

a {
    text-decoration: none !important;
    transition: 500ms !important;
}

body {
    position: relative;
    min-height: 100vh;
    overflow-x: hidden;
    background: var(--white);
    direction: rtl;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
input,
textarea,
a,
p,
span,
strong {
    font-family: Yekan Bakh FaNum;
    color: var(--black);
}

a {
    color: var(--bootstrap-info);
}

a:hover {
    color: var(--bootstrap-info);
}

a:focus,
input:active,
input:focus,
button:active,
button:focus,
select:active,
select:focus,
.owl-next:focus,
.owl-prev:focus,
textarea:active,
textarea:focus {
    outline: none !important;
    box-shadow: none !important;
}

p {
    line-height: 2rem !important;
}

.display-1 {

    font-style: normal;
    font-weight: 950;
    font-size: 44px;
    line-height: 49px;
}

.display-2 {

    font-style: normal;
    font-weight: 950;
    font-size: 36px;
    line-height: 56px;
}

.display-3 {

    font-style: normal;
    font-weight: 950;
    font-size: 28px;
    line-height: 43px;
}

.display-4 {

    font-style: normal;
    font-weight: 900;
    font-size: 24px;
    line-height: 37px;
}

.display-5 {

    font-style: normal;
    font-weight: 800;
    font-size: 20px;
    line-height: 31px;
}

.display-6 {

    font-style: normal;
    font-weight: 800;
    font-size: 18px;
    line-height: 28px;
}

.h1 {
    font-style: normal;
    font-weight: 900;
    font-size: 28px;
    line-height: 43px;
}

.h2 {
    font-style: normal;
    font-weight: 900;
    font-size: 24px;
    line-height: 37px;
}

.h3 {
    font-style: normal;
    font-weight: 900;
    font-size: 22px;
    line-height: 34px;
}

.h4 {
    font-style: normal;
    font-weight: 800;
    font-size: 20px;
    line-height: 31px;
}

.h5 {
    font-style: normal;
    font-weight: 800;
    font-size: 18px;
    line-height: 28px;
}

.h6 {
    font-style: normal;
    font-weight: 800;
    font-size: 16px;
    line-height: 25px;
}

.text-body-1 {
    font-style: normal;
    font-weight: 600;
    font-size: 22px;
    line-height: 34px;
}

.text-body-2 {
    font-style: normal;
    font-weight: 600;
    font-size: 20px;
    line-height: 31px;
}

.text-body-3 {
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 28px;
}

.text-body-4 {
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 25px;
}

.text-body-5 {
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 28px;
}

.text-body-6 {
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 19px;
}

.text-primary {
    color: var(--primary) !important;
}

.text-secondary {
    color: var(--black-range-1) !important;
}

.text-secondary2 {
    color: var(--secondary) !important;
}

.text-danger {
    color: var(--bootstrap-danger) !important;
}

.text-success {
    color: var(--bootstrap-sucsess) !important;
}

.text-warning {
    color: var(--bootstrap-warning) !important;
}

.text-info {
    color: var(--bootstrap-info) !important;
}

.text-black {
    color: var(--black) !important;
}


.btn {
    border-radius: 8px;
    border: none;
    padding: .8rem 1rem;
}

.btn-primary:focus {
    background-color: var(--primary);
}

.btn-secondary:focus {
    background-color: var(--secondary-range-2);
}

.btn-primary {
    background-color: var(--primary);
}

.btn-primary:hover {
    background-color: var(--secondary);
}

.btn-dashed-primary {
    border: 1px dashed var(--primary) !important;
    color: var(--primary) !important;
}

.card {
    border-radius: 0;
    border: none;
}

.badge {
    border-radius: 30px !important;
}

.bg-danger {
    background-color: var(--bootstrap-danger) !important;
}

.bg-success {
    background-color: var(--bootstrap-sucsess) !important;
}

.btn-secondary {
    background-color: var(--secondary-range-1);
    border: none;
    color: var(--black);
}

.btn-secondary:hover {
    background-color: var(--secondary-range-2);
    color: var(--black);
}

main {
    min-height: 80vh;
}

.nav-link {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 16px;
    margin-right: 16px;
}

.nav-link:first-child {
    margin-right: 0;
}

.header-nav .nav-link {
    position: relative;
}

.header-nav>.nav-item>.nav-link::after {
    content: '';
    position: absolute;
    width: 100%;
    background-color: var(--primary);
    height: 3px;
    bottom: 0;
    left: 0;
    transform: scale(0);
    transform-origin: center;
    transition: 300ms;
}

.header-nav .nav-link:hover::after {
    transform: scale(1);
}

.nav-link,
.nav-link span {
    color: var(--black);
    transition: 300ms;
}

.nav-link:hover,
.nav-link:hover span {
    color: var(--primary) !important;
}

.nav-link {
    padding: 16px 24px;
}

.nav-item {
    position: relative;
}

.sub-menu .nav-link {
    margin: 0;
    padding: .8rem !important;
    border-bottom: 1px solid var(--black-range-4);
}

.sub-menu .nav-link:hover {
    background: var(--black-range-4);
}

.nav-item:hover .sub-menu,
.nav-item:hover>.sub-menu-2 {
    display: block;
}

.nav-link:hover,
.nav-link:hover svg path {
    fill: var(--bootstrap-primary) !important;
}

.sub-menu {
    position: absolute;
    top: 102%;
    z-index: 100;
    padding: 0;
    background: var(--white);
    width: 200px;
    box-shadow: 0px 43px 41px rgba(0, 0, 0, 0.05);
    display: none;
}

.sub-menu-2 {
    position: absolute;
    right: 100%;
    top: 0;
    z-index: 100;
    padding: 0;
    background: var(--white);
    width: 200px;
    box-shadow: 0px 43px 41px rgba(0, 0, 0, 0.05);
    display: none;
}

.sub-item {
    list-style-type: none;
    display: block;
}

.sub-item a {
    padding: 16px 24px;
}

.accordion-categury .nav {
    background: var(--black-range-4);
}

.accordion-categury .nav .nav-link {
    padding-right: 1rem !important;
}

button {
    background: transparent;
    border: none;
}

path {
    transition: 300ms;
}

.border-bottom {
    border-bottom: 1px solid var(--black-range-3);
}

.search {
    display: block;
    background: var(--black-range-3);
    border-radius: 8px;
    padding: 10px;
    border: none;
}

.search-box {
    position: absolute;
    top: 0;
    z-index: 100;
    box-shadow: 0px 4px 37px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
}

.search-result {
    border-bottom: 1px solid var(--black-range-2);
}

.search-result:last-child {
    border: none;
}

.search-result>a {
    display: block;
}

.search-result:last-child>a {
    padding-bottom: 0 !important;
}

::placeholder {
    color: #6A6A6A;
    font-size: 14px;
    direction: rtl;
}

input[type="email"]:-moz-placeholder {
    text-align: right;
}

input[type="email"]:-ms-input-placeholder {
    text-align: right;
}

input[type="email"]::-webkit-input-placeholder {
    text-align: right;
}

input {
    font-size: 18px;
}

hr {
    border: 1px solid var(--black-range-2);
}

.hr-bold {
    border: 3px solid #E9E9E9
}

.cart-box {
    position: relative;
}

.cart-counter {
    position: absolute;
    top: -10px;
    left: -10px;
    border: 3px solid #FFFFFF;
    border-radius: 12.5px;
    z-index: 10000;
}

.products-box {
    overflow: hidden;
    position: absolute;
    left: 0;
    top: 30px !important;
    background: var(--white);
    box-shadow: 0px 4px 28px rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    border: none;
    width: 400px;
    display: none;
    z-index: 100;
}

.cart-box:hover .products-box {
    display: block;
}

.products-box-header {
    border-bottom: 2px solid var(--black-range-3);
}

.products-box-body {
    height: 300px;
    overflow: auto;
}

.product {
    border-bottom: 1px solid var(--black-range-3);
}

.product:last-child {
    border-bottom: none;
}

.product-color {
    display: inline-block;
    width: 16px;
    height: 16px;
    border-radius: 20px;
}

.counter {
    border: 2px solid #E9E9E9;
    border-radius: 8px;
}

.product-price {
    position: relative;
}

.product-price::after {
    content: url("../images/toman.svg");
}

.product-box-footer {
    border-top: 2px solid var(--black-range-3);
}

.search-click {
    background: #E9E9E9;
    border-radius: 8px;
    display: inline-block;
    position: relative;
}

.banner-wrapper {
    background-color: #acacac;
    overflow: hidden;
    position: relative;
    border-radius: 16px;
}

.swiper-pagination {
    position: absolute;
}

.swiper-pagination span {
    background-color: var(--white);
    opacity: .5;
}

.swiper-pagination-bullet-active-main {
    opacity: 1 !important;
}

.mySwiper2 .swiper-pagination span {
    background-color: var(--secondary);
    opacity: .5;
}

.mySwiper2 .swiper-pagination-bullet-active-main {
    opacity: 1 !important;
}

.product-section-wrap {
    background: var(--white);
    /* E9E9E9 */

    border: 1px solid var(--black-range-3);
    border-radius: 16px;
}

.last-products-card {
    border-left: 1px solid var(--black-range-3);
    height: 100%;
}

.second-price {
    text-decoration: line-through;
    font-size: .8rem
}

.swiper-button-next::after {
    content: url(../images/swiper-button-next.svg) !important;

}

.swiper-button-prev::after {
    content: url(../images/swiper-button-prev.svg) !important;

}

.swiper-button-disabled {
    opacity: 0 !important;
}

.best-seller {
    background: #E20C4C;
}

.products-card {
    background: var(--white);
    border: 1px solid var(--black-range-3);
    border-radius: 12px;
}

.products-card .product-image-wrapper img {
    transition: 300ms;
}

.products-card:hover .product-image-wrapper img {
    transform: scale(1.1);
}

.Suggested-products-header {
    background: var(--secondary);
    border-radius: 0px 16px 16px 0px;
    overflow: hidden;
}

.Suggested-products-header img {
    object-fit: contain;
}

.Suggested-products-body {
    border: 2px solid #5910F3;
    border-radius: 16px 0 0 16px;
}

.Special-discounts {
    background: #F7F7F7;
}

.Email-registration {
    margin-top: 12rem;
}

.Email-registration-wrap {
    transform: translateY(-60px);
}

.Email-registration-input {
    background: var(--black-range-3);
    border-radius: 0 8px 8px 0;
    border: none;
    padding: 10px;
}

.Email-registration-wrap {
    height: 250px;
}

.Email-registration-wrap img {
    transition: 300ms;
}

.Email-registration-wrap:hover img {
    transform: translateY(-30px);
}

footer {
    background: var(--white);
    border-top: 3px solid var(--black-range-3);
}

.social,
.social span {
    transition: 300ms;
    text-decoration: none;
}

.social span {
    visibility: hidden;
    transform: scale(0);
    max-width: 0;
    display: inline-block;
    margin-left: 5px;
    font-weight: 700;
}

.social:hover span {
    visibility: visible;
    transform: scale(1);
    max-width: 150px;
}

.instagram:hover span,
.instagram:hover svg path {
    color: #FF005C !important;
    fill: #FF005C;
}

.whatsapp:hover span,
.whatsapp:hover svg path {
    color: #00B468 !important;
    fill: #00B468;
}

.telegram:hover span,
.telegram:hover svg path {
    color: #00A3FF !important;
    fill: #00A3FF;
}

.facebook:hover span,
.facebook:hover svg path {
    color: #0500FF !important;
    fill: #0500FF;
}

.copy-right {
    background: #F7F7F7;
}

.product-images-swiper .swiper-slide {
    overflow: hidden;
    border: 1px solid var(--black-range-3);
    border-radius: 8px;
}

.swiper-slide-thumb-active {
    border: 2px solid var(--secondary) !important;
}

.product-colors-form input[type='radio'] {
    display: none;
}

.product-colors-form label {
    width: 32px;
    height: 32px;
    border-radius: 20px;
    cursor: pointer;
}

.product-colors-form.product-colors-form-oparator label {
    width: 16px;
    height: 16px;
    border-radius: 20px;
    cursor: pointer;
}

.product-colors-form input[type='radio']:checked+label {
    box-shadow: 0px 0px 0px 3px #10A2F3;
}

.product-size-form input[type='radio'] {
    display: none;
}

.product-size-form label {
    border-radius: 20px;
    cursor: pointer;
    border: 1px solid var(--black-range-2);
    border-radius: 32px;
    padding: .25rem;
}

.product-size-form input[type='radio']:checked+label {
    box-shadow: 0px 0px 0px 3px #10A2F3;
}

.add-product-to-list {
    border: 1px solid var(--primary);
    border-radius: 4px;
    padding: .25rem;
}

.buyer-feedback {
    transition: all 500ms;
}

.close {
    transform: scaleY(0);
    margin: 0 !important;
    opacity: 0;
    max-height: 0;
}

.description-wrap {
    height: 200px;
    overflow: hidden;
    position: relative;
    transition: 300ms;
}

.description-wrap::after {
    content: '';
    position: absolute;
    height: 150px;
    width: 130%;
    bottom: -40px;
    left: -15%;
    background-color: var(--white);
    filter: blur(30px);
}

.more-description {
    position: absolute;
    bottom: 20px;
    right: 0;
    z-index: 10;
    cursor: pointer;
}

.description-wrap.show {
    height: auto;
}

.description-wrap.show::after {
    opacity: 0;
}

.description-wrap.show .more {
    display: none;
}

.description-wrap.show.more-description {
    position: static !important;
    bottom: 0;
}

.description-wrap.show .few {
    display: block !important;
    z-index: 100;
}

.description-wrap.show button {
    bottom: -10px;
}

/* rate styles */
.rate {
    float: left;
    height: 46px;
    padding: 0 10px;
}

.rate:not(:checked)>input {
    position: absolute;
    top: -9999px;
}

.rate:not(:checked)>label {
    float: right;
    width: 1em;
    overflow: hidden;
    white-space: nowrap;
    cursor: pointer;
    font-size: 35px;
    color: #ccc;
}

.rate:not(:checked)>label:before {
    content: '★ ';
}

.rate>input:checked~label {
    color: #ffc700;
}

.rate:not(:checked)>label:hover,
.rate:not(:checked)>label:hover~label {
    color: #deb217;
}

.rate>input:checked+label:hover,
.rate>input:checked+label:hover~label,
.rate>input:checked~label:hover,
.rate>input:checked~label:hover~label,
.rate>label:hover~input:checked~label {
    color: #c59b08;
}

/* accordeon */
.accordion {
    background-color: #eee;
    color: #444;
    cursor: pointer;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 15px;
    transition: 0.4s;
}

.panel {
    padding-top: 1rem;
    background-color: white;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
}

.avatar-wrap {
    width: 50px;
    height: 50px;
    border-radius: 50px;
    overflow: hidden;
}

.comment-2 {
    margin-right: 4rem;
}

.contact-us-card {
    background-image: url(../images/contact-us-card.png);
    border-radius: 12px;
}

/* input and textarea style */
.input-text {
    border: 1px solid #CCCCCC;
    border-radius: 8px;
    padding: .8rem 1rem;
    transition: 0.2s ease all;
}

.floating-label {
    position: absolute;
    pointer-events: none;
    right: 1rem;
    top: .8rem;
    transition: 0.2s ease all;
}

.floating-label-discount {
    position: absolute;
    pointer-events: none;
    left: 1rem;
    top: .8rem;
    padding: 0 .25rem;
    background-color: var(--white);
}

.floating-label>span {
    color: var(--black-range-2);
}

.input-text:focus~.floating-label,
.input-text:not(:focus):valid~.floating-label {
    top: -10px;
    right: 5px;
    font-size: 12px;
    opacity: 1;
    background-color: var(--white);
    padding: 0 .5rem;
}

.input-text:focus~.floating-label>svg,
.input-text:not(:focus):valid~.floating-label>svg {
    display: none;
}

.input-text:focus~.floating-label>span,
input:not(:focus):valid~.floating-label>span {
    color: var(--black) !important;
}

.input-text:focus {
    border: 1px solid var(--secondary);
}

.input-text~button {
    position: absolute;
    left: .6rem;
    top: .8rem;
}

textarea {
    resize: none;
}

.eye-button.show-password .show {
    display: block !important;
}

.eye-button.show-password .hide {
    display: none;
}

/* accordion styles */
.accordion {
    background: transparent;
}

.accordion-item {
    border: 1px solid #E9E9E9 !important;
    border-radius: 16px !important;
    overflow: hidden;
}

.accordion-button::after {
    display: none;
}

.accordion-button:not(.collapsed)>span {
    color: var(--secondary);
}

.accordion-button:not(.collapsed) svg path {
    fill: var(--primary);
}

.accordion-button:not(.collapsed) svg path:last-child {
    transform: rotate(90deg);
    transform-origin: center;
}

.accordion-categury .accordion-item {
    border: none !important;
    border-top: 1px solid var(--black-range-3) !important;
    border-radius: 0 !important;
}

.accordion-button:not(.collapsed) {
    background: transparent !important;
    box-shadow: none;
}

.register-cover {
    background-image: url(../images/register-cover.png);
    background-position: center center;
    height: 100vh;
    background-repeat: no-repeat;
    background-size: cover;
}

.register-cover .card {
    background: transparent;
}

.cart-item-product {
    border-bottom: 1px solid var(--black-range-3);
}

.cart-item-product:last-child {
    border: none;
}

.cart-item-product-image {
    border: 1px solid var(--black-range-3);
    border-radius: 8px;
    overflow: hidden;
}

a:not(.active) .fill {
    display: none;
}

a.active span {
    color: var(--primary) !important;
    font-weight: 900;
}

a.active .linear {
    display: none;
}

#select-location-modal .modal-dialog {
    z-index: 1000;
}

.form-check-input {
    border: 2px solid var(--black-range-2);
    background: var(--white) !important;
    position: relative;
    transition: 300ms;
}

.form-check-input[type=radio]::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    top: 3px;
    left: 3px;
    border-radius: 8px;
    background: var(--secondary);
    transform: scale(0);
    transition: 300ms;
}

.form-check-input:checked[type=radio] {
    border-color: var(--secondary);
}

.form-check-input:checked[type=radio]::after {
    transform: scale(1);
}


.form-check-input:checked[type=checkbox] {
    background-color: var(--secondary) !important;
}

.form-check-input[type=checkbox]::after {
    content: url(../images/checkbox-tick.svg);
    position: absolute;
    width: 8px;
    height: 8px;
    top: 3px;
    left: 4px;
    border-radius: 8px;
    transform: scale(0);
    transition: 300ms;
}

.form-check-input:checked[type=checkbox] {
    border-color: var(--secondary);
}

.form-check-input:checked[type=checkbox]::after {
    transform: scale(1);
}

.filter-badge {
    padding: .6rem;
    border-radius: 4px;
    background-color: var(--secondary-range-1);
}

.sort-item {
    color: var(--black-range-2);
    padding: 0;
}

.sort-item:hover {
    color: var(--bootstrap-info);
}

.sort-item.active {
    color: var(--bootstrap-info);
}

/* modal custom style */

.modal-dialog {
    border-radius: 16px !important;
    overflow: hidden;
}

.modal-content {
    border: none;
}

.btn-close {
    background-image: url(../images/btn-close.svg);
    background-size: cover;
    width: .6em;
    height: .6em;
}

.modal-header {
    border-bottom: none
}

.modal-footer {
    border: none;
}

/* select style */

.form-select {
    padding-top: .8rem;
    padding-bottom: .8rem;
}

/* share button */
.btn-whatsapp {
    background-color: #00D355;
}

.btn-telegram {
    background-color: #04A5FF;
}

.offcanvas-sort {
    height: 50vh;
}

.profile-menu {
    list-style-type: none;
}

.profile-menu a {
    display: block;
    padding-right: 1rem;
    padding-top: .25rem;
    padding-bottom: .25rem;
    transition: all .3s linear;
}

.profile-menu a:hover {
    padding-right: 1.5rem;
}

.profile-menu .active a {
    border-right: 4px solid var(--primary);
}

.profile-menu .active a span {
    color: var(--primary) !important;
}

.profile-menu .active a path {
    fill: var(--primary)
}

.card-header {
    background-color: transparent;
    padding-bottom: 0;
}

.card-header-tabs {
    margin: 0;
}

.nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link {
    padding: .5rem 1rem;
}

.nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link.active {
    border: none;
    border-bottom: 2px solid var(--primary);
}


.buyers .nav-link {
    background: var(--secondary-range-2);
    border-radius: 4px;
    padding: .8rem !important;
}

.buyers .nav-link:hover span {
    color: var(--black) !important;
}

.buyers .nav-link:hover path {
    fill: var(--black) !important;
}


.buyers .nav-link.active {
    background: var(--secondary);
}

.buyers .nav-link.active path {
    fill: var(--white) !important;
}

.buyers .nav-link.active span {
    color: var(--white) !important;
}

.buyers .nav-link.active path {
    fill: var(--white) !important;
}

.operator-product-card {
    border-radius: 0;
}

.operator-product-card:nth-child(2n+1) {
    border-left: 1px solid var(--black-range-3);
    border-top: 1px solid var(--black-range-3);
}

.operator-product-card:nth-child(2n) {
    border-top: 1px solid var(--black-range-3);
}

.operator-product-card:first-child,
.operator-product-card:nth-child(2) {
    border-top: none;
}

.even .operator-product-card:nth-last-child(2) {
    border-bottom: 1px solid var(--black-range-3);
}

.product-color {
    width: 15px;
    height: 15px;
    border-radius: 50%;

}

@media(min-width:1700px) {}

@media(min-width:1600px) {}

@media(min-width:1500px) {}

@media(min-width:1400px) {}

@media(max-width:1400px) {}

@media(max-width:1200px) {
    .operator-product-card:nth-child(2) {
        border-top: 1px solid var(--black-range-3);
    }
}

@media(max-width:992px) {
    .products-box {
        width: 300px;
    }

    .Suggested-products-header {
        border-radius: 16px 16px 0px 0px;
    }

    .Suggested-products-body {
        border-radius: 0 0 16px 16px;
    }

    .buy-button {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        padding: .8rem 1rem;
        z-index: 100;
        background-color: var(--white);
        box-shadow: 0px -6px 80px rgba(0, 0, 0, 0.15);
    }
    .operator-product-card:nth-child(2) {
        border-top: none;
    }
}

@media(max-width:768px) {
    .register-cover {
        height: 200px;
    }

    .cart-header-line {
        width: 90px;
    }
    .operator-product-card:nth-child(2) {
        border-top: 1px solid var(--black-range-3);
    }
}

@media(max-width:576px) {}

@media(max-width:400px) {
    .last-products-card {
        border-left: none;
    }

    .Suggested-products-header img:first-child {
        display: none;
    }

}