﻿@font-face {
    font-family: 'shabnam';
    src: url('https://khorshidneshan.ir/CDN/Fonts/shabnam.eot');
    src: local('☺'), url('https://khorshidneshan.ir/CDN/Fonts/shabnam.woff') format('woff'), url('https://khorshidneshan.ir/CDN/Fonts/shabnam.ttf') format('truetype');
}

@font-face {
    font-family: "IRANYekanX";
    src: url('https://khorshidneshan.ir/CDN/Fonts/FA/OtherFonts/IRANYekanXVF/IRANYekanXVF.woff2') format('woff2'),url('https://khorshidneshan.ir/CDN/Fonts/FA/OtherFonts/IRANYekanXVF/IRANYekanXVF.woff') format('woff');
}

@font-face {
    font-family: 'Poppins';
    src: url('https://khorshidneshan.ir/CDN/Fonts/Poppins-Medium.eot');
    src: local('?'), url('https://khorshidneshan.ir/CDN/Fonts/Poppins-Medium.woff') format('woff'), url('https://khorshidneshan.ir/CDN/Fonts/Poppins-Medium.ttf') format('truetype');
}

:root {
    --first-main-color: #001b79;
    /*--second-main-color: #f08300;*/
    --first-filter: invert(14%) sepia(72%) saturate(7467%) hue-rotate(204deg) brightness(60%) contrast(111%);
    /*--second-filter: invert(45%) sepia(16%) saturate(3498%) hue-rotate(-9deg) brightness(105%) contrast(103%);*/
    --colorText: #6e6e6e;
    --containerA-inline: 2vw;
    --containerA-block: 20px;
    --containerB-inline: 16vw;
    --containerB-block: 85px;
}
/*tags*/
* {
    font-family: shabnam,tahoma;
    direction: rtl;
    font-size: 14px;
}

body {
    margin: 0;
    padding: 0;
}

img, #shoppingCart img {
    vertical-align: middle;
    object-fit: cover;
}

a {
    text-decoration: none;
}

h1 {
    margin: 0;
}

p {
    line-height: 1.8em;
}

/*public*/
.containerA {
    padding: var(--containerA-block) var(--containerA-inline);
    box-sizing: border-box;
}

.containerB {
    padding: var(--containerB-block) var(--containerB-inline);
    box-sizing: border-box;
}

.news .newItem .title,
.BrandItem a.title,
main .ContentItem .title,
.product .title, .ProductItem .title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news .newItem .title,
.BrandItem a.title,
main .ContentItem .title,
.product .title, .ProductItem .title {
    -webkit-line-clamp: 1;
}

.properties .property::before,
.categories .category .text::before,
.news .newItem .image::after {
    font-family: Poppins;
    position: absolute;
}

.brands .brandItem a,
.brands .brandItem a,
.brands .brandItem img,
.BrandItem img,
main .ContentItem a.image,
main .ContentItem img,
.product a, .ProductItem a {
    display: block;
}

.properties .property,
.amazingProducts,
.about, .categories,
.news {
    overflow: hidden;
}


/*.abstract a {
    -webkit-line-clamp: 3;
    height: 4.1em;
}*/

.sectionTitle {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60%;
    margin: auto auto 50px;
}

.topMainTitle {
    color: #ff2929;
    text-transform: uppercase;
    letter-spacing: 6px;
}

.mainTitle {
    font-size: 30px;
    padding-right: 10px;
    margin: 0;
    margin-right: 10px;
    border-right: 1px solid #ddd;
    padding-top: 5px;
    padding-bottom: 5px;
}

.moreBtn {
    color: #000;
    position: relative;
    padding: 10px 0;
    box-sizing: border-box;
    width: fit-content;
    min-width: 150px;
    height: 40px;
    overflow: hidden;
    display: block;
}

    .moreBtn::before {
        content: '';
        position: absolute;
        right: 5px;
        top: 50%;
        width: calc(100% - 5px - 10px);
        height: 1px;
        background: #000;
        transform: translateY(-50%);
        z-index: 0;
    }

    .moreBtn::after {
        content: '';
        position: absolute;
        top: 50%;
        right: calc(100% - 10px);
        transform: translateY(-50%);
        border-top: 4px solid transparent;
        border-right: 8px solid #000000;
        border-bottom: 4px solid transparent;
    }

    .moreBtn span {
        background: #fff;
        padding: 0 10px;
        box-sizing: border-box;
        transition: .5s;
        position: absolute;
        right: 0;
        left: unset;
        top: 50%;
        transform: translateY(-50%);
        white-space: nowrap;
        animation: moveTxtMoreBtnReverse .5s linear both;
    }

    .moreBtn:hover span {
        right: unset;
        animation: moveTxtMoreBtn .5s linear both;
    }

.amazingProducts .moreBtn,
.categories .moreBtn,
.news .moreBtn {
    margin: 10px auto 30px;
}

.amazingProducts .moreBtn {
    min-width: 250px;
}

.categories .moreBtn {
    min-width: 188px;
}

.amazingProducts .sectionTitle,
.categories .sectionTitle,
.news .sectionTitle {
    margin: auto;
}

/*goup*/
.goup {
    position: fixed;
    left: 10px;
    bottom: 10px;
    background: var(--first-main-color);
    padding: 16px;
    box-sizing: border-box;
    border-radius: 2px;
    cursor: pointer;
    width: 50px;
    height: 50px;
    transition: .5s;
    z-index: 3;
    opacity: 0;
}

    .goup::before {
        content: '';
        position: absolute;
        top: 50%;
        right: 50%;
        transform: translate(50%, -50%);
        border-right: 6px solid var(--first-main-color);
        border-bottom: 10px solid #ffffff;
        border-left: 6px solid var(--first-main-color);
    }

    .goup::after {
        content: '';
        position: absolute;
        left: 50%;
        top: 31%;
        transform: translateX(-50%);
        background: #fff;
        width: 2px;
        height: 0;
        transition: height .5s;
    }

    .goup:hover {
        height: 70px;
    }

        .goup:hover::before {
            top: 30%;
        }

        .goup:hover::after {
            transition-delay: .1s;
            height: 35px;
        }

/*contact*/
.contact {
    position: fixed;
    left: var(--containerA-inline);
    top: 75px;
    background: #fff;
    padding: 30px;
    box-sizing: border-box;
    width: 32rem;
    max-height: 90vh;
    z-index: 3;
    border-radius: 3px;
    overflow: auto;
    transition: .5s;
    transform-origin: top;
    transform: scaleY(0);
}

    .contact.isHeaderFixed {
        top: 55px;
    }

    .contact.open {
        transform: scaleY(1);
    }

    .contact a {
        display: inline-block;
        vertical-align: middle;
        width: calc(49% - 12px);
        padding: 5px;
        box-sizing: border-box;
        color: #000;
        background-color: #dbe3ff3d;
        border-radius: 3px;
        margin: 6px;
        text-align: left;
    }

        .contact a img {
            filter: invert(66%) sepia(72%) saturate(7467%) hue-rotate(204deg) brightness(60%) contrast(111%);
            width: 15px;
        }

        .contact a:last-child {
            width: 100%;
            text-align: right;
        }

    .contact .linksContact {
        direction: ltr;
    }

.aside-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #00000021;
    z-index: 2;
    opacity: 0;
    visibility: hidden;
}

    .aside-overlay.active {
        opacity: 1;
        visibility: visible;
    }

/**/
/*loading*/
.loading {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    align-content: center;
    justify-content: center;
    flex-wrap: wrap;
    direction: ltr;
    z-index: 6;
}

    .loading::before, .loading::after {
        content: '';
        left: 0;
        right: 0;
        background: url(../Icons/patternBack.png) #e3e3e3;
        background-size: 66%;
        position: fixed;
        z-index: -1;
        transition: .8s;
    }

    .loading::before {
        top: 0;
        bottom: 50%;
    }

    .loading::after {
        bottom: 0;
        top: 50%;
    }

.loadingLogo {
    position: relative;
    overflow: hidden;
}

    .loadingLogo::before {
        content: '';
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        height: 65vh;
        animation: showLogo 4s both;
        background: linear-gradient(180deg, #e3e3e3 40%, #e3e3e300 100%);
    }

@keyframes showLogo {
    from {
        bottom: 0;
        height: 65vh;
    }

    to {
        bottom: 100%;
        height: 0;
    }
}

.loading img {
    width: 300px;
    height: auto;
    margin-bottom: 30px;
}

.loading.show {
    display: block;
}

.loading .loadingCounter {
    position: absolute;
    font: 270px Poppins;
    font-weight: bold;
    opacity: .06;
    top: 60%;
    transform: translateY(-50%);
}

.loading .preloaderBar {
    width: 100%;
    height: 2px;
    position: relative;
    background-color: #c6c6c6;
    margin: 15px 0;
}

.loading .preloaderProgress {
    position: absolute;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--first-main-color);
}

.loading .loadingText {
    font: 18px Poppins;
    color: #484848;
    animation: blink-animation 2.2s linear infinite;
    letter-spacing: 8px;
    direction: ltr;
}

@keyframes blink-animation {
    0% {
        opacity: 0;
    }
}

.loading, .loading * {
    opacity: 1;
    visibility: visible;
}

.hideLoading::before {
    bottom: 100%;
}

.hideLoading::after {
    top: 100%;
}

.hideLoading * {
    animation: hideElements 1s forwards !important;
}

.hideLoading {
    animation: hideLoadingAnimation 1s forwards 1s;
}

@keyframes hideElements {
    to {
        opacity: 0;
        visibility: hidden;
    }
}

@keyframes hideLoadingAnimation {
    to {
        opacity: 0;
        visibility: hidden;
    }
}

/*topHeader*/
/*header*/
header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.homePage header, .headerFixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2;
}

.headerFixed {
    padding-block: 0;
}

header .logo img {
    width: 10vw;
}

nav {
    /*width: calc(100% - 10vw - 38%);*/
}

    nav ul {
        margin: 0;
        padding: 0;
        list-style: none
    }

    nav > ul {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    nav ul a {
        color: #000000;
        padding: 0 10px;
        box-sizing: border-box;
        mix-blend-mode: revert;
        transition: .5s;
        position: relative;
    }

        nav ul a::before {
            content: '';
            position: absolute;
            right: 50%;
            bottom: -8px;
            width: calc(60% - 20px);
            height: 2px;
            background-color: var(--first-main-color);
            transform: translateX(50%) scaleX(0);
            transform-origin: center;
            transition: .2s;
        }

        nav ul a:hover::before {
            transform: translateX(50%) scaleX(1);
        }

header .left {
    display: flex;
    align-items: center;
}

/*search*/
.search {
    border: none;
    border-bottom: 1px solid #dbdbdb;
    padding: 3px;
    box-sizing: border-box;
    width: 170px;
    margin-left: 15px;
}

    .search .searchInput {
        width: 83%;
        color: var(--first-main-color);
        border: none;
        text-overflow: ellipsis;
        background: none;
    }

        .search .searchInput::placeholder {
            color: var(--first-main-color);
        }

        .search .searchInput:focus {
            outline: none;
        }

    .search .navbarSearch a {
        float: left;
    }

    .search img {
        width: 20px;
    }

/**/
.userAccount {
}

header .profile img,
header .logout img,
header .shop img {
    width: 25px;
    filter: var(--first-filter);
}

/**/
header .user {
    color: #ffffff;
    border-radius: 3px;
    background: var(--first-main-color);
    display: inline-block;
    padding: 5px 10px;
    box-sizing: border-box;
}

header #userfullname {
    display: none;
}

header .logout {
    cursor: pointer;
    margin-right: 15px;
}

/*shop*/
header .shop {
    position: relative;
    width: 28px;
    display: inline-block;
    text-align: left;
    margin-right: 15px;
}

    header .shop span {
        position: absolute;
        border-radius: 50%;
        background-color: #f00;
        width: 15px;
        height: 15px;
        top: -6px;
        right: 0;
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 1;
    }

/*contactNav*/
.contactNav {
    display: grid;
    grid-template-columns: auto auto auto auto;
    background-color: var(--first-main-color);
    padding: 16px;
    width: 65px;
    height: 55px;
    box-sizing: border-box;
    cursor: pointer;
    margin-right: 15px;
}

    .contactNav .dot {
        position: relative;
        transition: .3s;
    }

        .contactNav .dot:before {
            content: '';
            border-radius: 3px;
            background: #fff;
            width: 3px;
            height: 3px;
            position: absolute;
            right: 50%;
            top: 50%;
            transform: translate(50%, -50%);
        }

    /*&:hover*/
    .contactNav:hover .dot:nth-child(1) {
        transform: translate(2px, -2px);
    }

    .contactNav:hover .dot:nth-child(2) {
        transform: translate(1px, -2px);
    }

    .contactNav:hover .dot:nth-child(3) {
        transform: translate(-.5px, -2px);
    }

    .contactNav:hover .dot:nth-child(4) {
        transform: translate(-2px, -2px);
        transition-delay: .1s;
    }

    .contactNav:hover .dot:nth-child(5) {
        transform: translate(2px, 0px);
        transition-delay: .1s;
    }

    .contactNav:hover .dot:nth-child(6) {
        transform: translate(.5px, 0px);
        transition-delay: .1s;
    }

    .contactNav:hover .dot:nth-child(7) {
        transform: translate(-.5px, 0px);
        transition-delay: .2s;
    }

    .contactNav:hover .dot:nth-child(8) {
        transform: translate(-2px, 0px);
        transition-delay: .2s;
    }

    .contactNav:hover .dot:nth-child(9) {
        transform: translate(2px, 2px);
        transition-delay: .2s;
    }

    .contactNav:hover .dot:nth-child(10) {
        transform: translate(.5px, 2px);
        transition-delay: .3s;
    }

    .contactNav:hover .dot:nth-child(11) {
        transform: translate(-.5px, 2px);
        transition-delay: .3s;
    }

    .contactNav:hover .dot:nth-child(12) {
        transform: translate(-2px, 2px);
        transition-delay: .3s;
    }

/*headerFixed*/
.headerFixed {
    animation: showMenu .6s linear;
    background: #fff;
    border-bottom: 1px solid #ddd;
}

    .headerFixed nav > ul {
        background: transparent;
    }

        .headerFixed nav > ul a {
            -webkit-text-fill-color: unset;
            font-weight: normal;
        }

/*slider*/
.sliders {
    height: 100vh;
    overflow: hidden;
    position: relative;
    padding-block: 70px 0;
}

    .sliders::before {
        content: '';
        position: absolute;
        right: 0;
        width: 50%;
        top: 0;
        bottom: 0;
        background-color: #001b798f;
        z-index: -1;
    }

    .sliders .back {
        position: absolute;
        right: 0;
        top: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        z-index: -2;
    }

    .sliders .slider {
        display: none;
        align-items: center;
        height: 100%;
    }

        .sliders .slider.active {
            display: flex;
            animation: showSlider .5s linear;
        }

        .sliders .slider img {
            width: 45%;
        }

    .sliders .text {
        width: 40%;
        color: #fff;
    }

        .sliders .text h3 {
            font-size: 3vw;
            margin: 0;
        }

        .sliders .text p {
            font-size: 26px;
        }

    .sliders .left {
        position: absolute;
        left: -3%;
        top: 50%;
        transform: translateY(-50%) rotate(-90deg);
        width: 10%;
        padding: 10px 0;
        box-sizing: border-box;
        border-bottom: 1px solid #cdcdcd;
        overflow: hidden;
    }

        .sliders .left .item {
            display: none;
        }

            .sliders .left .item.active {
                display: flex;
                justify-content: space-between;
            }

            .sliders .left .item .number,
            .sliders .left .item .number span {
                font-family: Poppins;
            }

                .sliders .left .item .number span {
                    color: #cdcdcd;
                }

            .sliders .left .item .txt {
                font-weight: bold;
            }

            .sliders .left .item.active .txt {
                animation: showText .5s linear;
            }

    .sliders .bottom {
        position: absolute;
        bottom: var(--containerA-inline);
        left: var(--containerA-inline);
        right: var(--containerA-inline);
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .sliders .prev,
    .sliders .next {
        width: 160px;
        position: relative;
        height: 60px;
        display: flex;
        align-items: center;
        cursor: pointer;
    }

    .sliders .prev {
        justify-content: flex-end;
        padding-right: 10px;
    }

        .sliders .prev::before, .sliders .next::before {
            content: '';
            position: absolute;
            top: 50%;
            border: 1px solid;
            transform: translateY(-50%);
            width: 80px;
            height: 60px;
            box-sizing: border-box;
        }

        .sliders .prev::before {
            right: 0;
            border-color: #ffffff40;
        }

    .sliders .next {
        padding-left: 10px;
    }

        .sliders .next::before {
            left: 0;
            border-color: #cdcdcd;
        }

    .sliders .prev .moreBtn {
        transform: scaleX(-1);
    }

        .sliders .prev .moreBtn span {
            display: inline-block;
            background: #6574a9;
            transform: scaleX(-1) translateY(-50%);
        }

    .sliders .next .moreBtn span {
        background: #e7e7e7;
    }

/*properties*/
.properties {
    display: flex;
    justify-content: center;
    border-bottom: 1px solid #ddd;
    counter-reset: section;
}

    .properties .property {
        width: 33.33%;
        padding: 40px;
        box-sizing: border-box;
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: relative;
        z-index: 0;
    }

        .properties .property:nth-child(2) {
            background-color: #f1f1f1;
            border-left: 1px solid #ddd;
            border-right: 1px solid #ddd;
        }

        .properties .property::before {
            counter-increment: section;
            content: "0" counter(section);
            transform: translate(50%, -50%);
            right: 40%;
            top: 50%;
            font-size: 12vw;
            color: #f1f1f1;
            z-index: -1;
        }

        .properties .property:nth-child(2)::before {
            color: #fff;
        }

    .properties .right {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 50%;
        height: 100%;
    }

        .properties .right span {
            display: block;
            letter-spacing: normal;
            font-size: 13px;
        }

        .properties .right strong {
            color: #000;
            font-size: 18px;
            display: block;
        }

    .properties .property:nth-child(2) .moreBtn span {
        background-color: #f1f1f1;
    }

    .properties .more {
        position: absolute;
        bottom: 10px;
        width: 50%;
    }

    .properties .image {
        width: 50%;
        height: 70%;
        object-fit: contain;
        vertical-align: middle;
        transition: .5s;
        transform: translateX(10px);
    }

    /*properties &:hover*/
    .properties .property:hover .image {
        transform: translateX(-10px);
    }

/*amazingProducts & ProductItem*/
.amazingProducts {
    text-align: center;
}

    .amazingProducts .items,
    .detailsShop .productsList {
        display: flex;
        flex-wrap: wrap;
    }

.product, .ProductItem {
    margin: 8px;
    box-shadow: 0 0 10px #0000002e;
    border-radius: 3px;
    overflow: hidden;
    background: #fff;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    align-content: flex-start;
}

    .product .Image, .product .title,
    .product .mainPrice,
    .ProductItem .Image, .ProductItem .title,
    .ProductItem .mainPrice {
        width: 100%;
    }

.amazingProducts .product {
    width: calc(25% - 16px);
}

.insidePage .product {
    width: calc(33.33% - 16px);
}

.product img,
.ProductItem img {
    width: 100%;
    height: 35vh;
    display: block;
}

.product .title,
.ProductItem .title {
    color: var(--first-main-color);
    font-weight: bold;
    text-align: right;
    padding: 0 10px;
    box-sizing: border-box;
    background: #f1f1f1;
    border-top: 1px solid #cdcdcd;
    border-bottom: 1px solid #cdcdcd;
    line-height: 2.7em;
}

.product .mainPrice,
.product .button,
.ProductItem .mainPrice {
    padding: 10px;
    box-sizing: border-box;
}

    .ProductItem .mainPrice span {
        text-align: left;
    }

.product .originalPrice,
.ProductItem .originalPrice {
    color: #a1a1a1;
    text-decoration: line-through;
    font-size: 12px;
}

.product .mainPrice {
    text-align: right;
    width: calc(100% - 40px);
    display: flex;
    flex-direction: column-reverse;
}

.product .button {
    position: relative;
    visibility: hidden;
    width: 40px;
    height: 40px;
    background: #fff;
    transition: background .5s;
}

    .product .button::before {
        content: '';
        background: url(icons/shopping.png) no-repeat;
        background-size: 20px;
        width: 20px;
        display: block;
        height: 20px;
        visibility: visible;
        position: absolute;
    }

/*&:hover*/
.product:hover .button {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 35vh;
    background: #001b79eb;
    visibility: visible;
    color: #fff;
    z-index: 0;
    padding-top: 50%;
    text-align: center;
}

    .product:hover .button::before {
        filter: contrast(20) invert(1);
        position: unset;
        display: inline-block;
        vertical-align: middle;
    }

.product:hover .mainPrice {
    width: calc(100% - 16px);
}

.productsList {
    display: flex;
    flex-wrap: wrap;
}

.ProductItem {
    width: calc(25% - 16px);
}

    .ProductItem .Image {
        overflow: hidden;
    }

    .ProductItem img {
        transition: .5s;
    }

        .ProductItem img:hover {
            transform: scale(1.2) rotate(10deg);
        }

main .TagDetail {
    display: none;
}

.TagItemStyle {
    display: inline-block;
    vertical-align: top;
    background-color: #fff;
    width: calc(20% - 10px);
    margin: 5px;
    border-radius: 3px;
    text-align: center;
}

    .TagItemStyle a,
    .TagItemStyle img {
        display: block;
    }

    .TagItemStyle img {
        width: 100%;
        border-radius: 3px;
    }

    .TagItemStyle div.title {
        padding: 10px;
        box-sizing: border-box;
        background: #f1f1f1;
        border-top: 1px solid #cdcdcd;
        border-bottom: 1px solid #cdcdcd;
    }

    .TagItemStyle .title a {
        font-weight: bold;
        color: var(--first-main-color);
    }

/*about*/
.about {
    display: flex;
}

    .about .right {
        width: 45%;
    }

    .about .mainTitle {
        border: none;
        padding: 10px 0;
        width: 60%;
        margin: 0;
    }

    .about .left {
        width: 55%;
        position: relative;
        overflow: hidden;
        display: flex;
        align-items: center;
        padding-right: 70px;
        box-sizing: border-box;
    }

        .about .left::before {
            content: 'LGCY';
            font: bold 14vw 'Poppins';
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            transform: translateY(-50%);
            color: #0000000a;
        }

        .about .left .bigImage {
            width: 70%;
        }

        .about .left .smallImage {
            width: 120px;
            position: relative;
            padding: 10px;
            box-sizing: border-box;
            transform: translateY(40%);
        }

    .about .smallImage .rightTop::before,
    .about .smallImage .rightTop::after,
    .about .smallImage .rightBottom::before,
    .about .smallImage .rightBottom::after,
    .about .smallImage .leftTop::before,
    .about .smallImage .leftTop::after,
    .about .smallImage .leftBottom::before,
    .about .smallImage .leftBottom::after {
        content: '';
        position: absolute;
        border: 1px solid #ff2929;
    }

    .about .smallImage .rightTop::before,
    .about .smallImage .rightTop::after,
    .about .smallImage .leftTop::before,
    .about .smallImage .leftTop::after {
        top: 0;
    }

    .about .smallImage .rightBottom::before,
    .about .smallImage .rightBottom::after,
    .about .smallImage .leftBottom::before,
    .about .smallImage .leftBottom::after {
        bottom: 0;
    }

    .about .smallImage .rightTop::before,
    .about .smallImage .rightTop::after,
    .about .smallImage .rightBottom::before,
    .about .smallImage .rightBottom::after {
        right: 0;
    }

    .about .smallImage .leftTop::before,
    .about .smallImage .leftTop::after,
    .about .smallImage .leftBottom::before,
    .about .smallImage .leftBottom::after {
        left: 0;
    }

    .about .smallImage .rightTop::before,
    .about .smallImage .leftTop::before,
    .about .smallImage .rightBottom::before,
    .about .smallImage .leftBottom::before {
        width: 20%;
    }

    .about .smallImage .rightTop::after,
    .about .smallImage .leftTop::after,
    .about .smallImage .rightBottom::after,
    .about .smallImage .leftBottom::after {
        height: 20%;
    }

    .about .left .smallImage img {
        width: 100%;
    }

/*categories*/
.categories {
    overflow: hidden;
    padding-bottom: 116px;
}

    .categories .items {
        /* white-space: nowrap; */
        /* transform: translateX(25%); */
        transition: .5s;
        counter-reset: sectionCategory;
        padding-bottom: 135px;
        position: relative;
        height: 60vh;
        overflow: hidden;
    }

    .categories .category {
        width: calc(50% - 60px);
        position: relative;
        display: inline-block;
        margin: 0 30px;
        box-sizing: border-box;
        cursor: -webkit-grab;
        position: absolute;
        top: 0;
        bottom: 0;
        height: 60vh;
        transition: right 0.3s ease;
    }

        .categories .category:first-child {
            right: -25%;
        }

        .categories .category:nth-child(2) {
            right: 25%;
        }

        .categories .category:last-child {
            right: 75%;
        }

        .categories .category:active {
            cursor: -webkit-grabbing;
        }

        .categories .category .backImage {
            width: 100%;
            height: 60vh;
            display: block;
        }

        .categories .category .text {
            position: absolute;
            right: 0;
            top: 0;
            bottom: 0;
            width: 45%;
            padding: 30px;
            box-sizing: border-box;
            transition: .5s;
            opacity: 0;
            overflow: hidden;
            z-index: 0;
        }

            .categories .category .text::before {
                counter-increment: sectionCategory;
                content: "0" counter(sectionCategory);
                font-size: 14vw;
                color: #ffffff0f;
                right: 50%;
                top: 50%;
                transform: translate(50%, -50%);
            }

            .categories .category .text::after {
                content: '';
                background: var(--first-main-color);
                position: absolute;
                right: 0;
                top: 0;
                bottom: 0;
                left: 0;
                transition: .5s;
                transform: translateX(100%);
                z-index: -2;
            }

            .categories .category .text a {
                color: #fff;
            }

        .categories .category h3 a {
            font-size: 20px;
            display: block;
            position: relative;
        }

        .categories .category .image {
            position: absolute;
            left: 50%;
            bottom: -135px;
            width: 88%;
            transform: translateX(-170%);
            z-index: 1;
            opacity: 0;
            transition: .8s;
        }

    .categories .items .moreBtn {
        display: block;
        margin: 0;
    }

        .categories .items .moreBtn span {
            background-color: var(--first-main-color);
            color: #fff;
        }

        .categories .items .moreBtn::before {
            background: #fff;
        }

        .categories .items .moreBtn::after {
            border-right-color: #fff;
        }

    .categories .count {
        text-align: right;
        width: 50%;
        margin: auto;
    }

        .categories .count .text span {
            font-family: Poppins;
        }

        .categories .count .text .total {
            color: #e5e5e5;
        }

    .categories .lines {
        border-bottom: 1px solid #e5e5e5;
        margin-top: 16px;
        position: relative;
        box-sizing: border-box;
        display: flex;
        align-items: center;
        cursor: pointer;
    }

        .categories .lines::before {
            content: '';
            position: absolute;
            top: calc(50% + 2px);
            transform: translateY(-50%);
            background: var(--first-main-color);
            height: 3px;
            width: 20%;
            transition: .5s ease;
            right: var(--indicator-right, 20%); /* مقدار پیش‌فرض 33.33 */
        }

        .categories .lines:has(.line:first-child:hover)::before {
            right: 0%;
        }

        .categories .lines:has(.line:nth-child(2):hover)::before {
            right: 20%;
        }

        .categories .lines:has(.line:nth-child(3):hover)::before {
            right: 40%;
        }

        .categories .lines:has(.line:nth-child(4):hover)::before {
            right: 60%;
        }

        .categories .lines:has(.line:nth-child(5):hover)::before {
            right: 80%;
        }

        .categories .lines .line {
            width: 20%;
            height: 3px;
            transform: translateY(2px);
        }

    /*categories &.category.active*/
    .categories .category.active .text {
        opacity: 1;
    }

        .categories .category.active .text::after {
            transform: translateX(0);
        }

    .categories .category.active .image {
        opacity: 1;
        transition-delay: 1s;
        transform: translateX(-50%);
    }

/*news*/
.news .items {
    display: flex;
    counter-reset: sectionNews;
}

.news .newItem {
    width: calc(33% - 10px);
    text-align: center;
    position: relative;
    margin: 5px;
}

    .news .newItem::before,
    .news .newItem::after {
        content: "";
        position: absolute;
        top: -2px;
        left: -2px;
        height: 100%;
        width: 100%;
        transform-origin: center;
        z-index: 1;
    }

    .news .newItem::before {
        border-top: 1px solid #6477b9;
        border-bottom: 1px solid #6477b9;
        transform: scale3d(0, 1, 1);
    }

    .news .newItem::after {
        border-left: 1px solid #6477b9;
        border-right: 1px solid #6477b9;
        transform: scale3d(1, 0, 1);
    }

    .news .newItem .image {
        position: relative;
        display: block;
    }

        .news .newItem .image::before {
            content: '';
            position: absolute;
            left: 0;
            right: 0;
            top: 0;
            bottom: 0;
            background: #00000059;
            transition: .5s;
        }

        .news .newItem .image::after {
            counter-increment: sectionNews;
            content: "0" counter(sectionNews);
            font-size: 4vw;
            bottom: 25px;
            left: 25px;
            z-index: 2;
            color: #ffffff29;
            line-height: 1;
        }

    .news .newItem img {
        width: 100%;
    }

    .news .newItem .title {
        color: #fff;
        font-weight: bold;
        position: absolute;
        top: 55px;
        right: 20px;
        left: 20px;
        text-align: right;
        transition: .5s;
        z-index: 2;
    }

    .news .newItem .Date {
        position: absolute;
        right: 20px;
        top: 30px;
        color: #fff;
        transition: .5s;
    }

    .news .newItem .button {
        position: absolute;
        right: 20px;
        bottom: 30px;
        color: #000;
        opacity: 0;
        transition: .5s;
        font-weight: bold;
        z-index: 2;
    }

    /*newItem:hover*/
    .news .newItem:hover::before,
    .news .newItem:hover::after {
        transform: scale3d(1, 1, 1);
        transition: transform 0.5s;
    }

    .news .newItem:hover .image::before {
        background: #fff;
    }

    .news .newItem:hover .image::after {
        /*        transform: scaleY(1);
        opacity: 1;*/
        animation: showCounter .5s linear both;
    }

    .news .newItem:hover .title {
        color: #000;
    }

    .news .newItem:hover .Date {
        color: var(--first-main-color);
    }

    .news .newItem:hover .button {
        opacity: 1;
    }

/*brands*/
.brands {
    background-color: #f1f1f1;
}

    .brands > div {
        display: flex;
        align-items: center;
    }

    .brands .brandItem {
        width: 20%;
        padding: 0 50px;
        box-sizing: border-box;
    }

        .brands .brandItem img {
            width: 100%;
            filter: grayscale(1);
            transition: .5s;
        }

        .brands .brandItem:hover img {
            filter: none;
        }

.news .abstract {
    display: none;
}

/*footer*/
footer {
    color: #fff;
    background: #00061c;
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
}

    footer .col {
        width: 33%;
        padding: 0 15px;
        box-sizing: border-box;
    }

        footer .col:first-child {
            padding-left: 55px;
        }

    footer .logo {
        display: block;
    }

        footer .logo img {
            width: 65%;
        }

    footer p {
        text-align: justify;
    }

    footer .col b {
        display: block;
        padding: 40px 0 10px;
    }

    footer .col a:not(.logo) {
        color: #b5b5b5;
        display: block;
        padding: 8px 0;
    }


    footer .col span {
        color: #b5b5b5;
    }

        footer .col span a:not(.logo) {
            display: inline;
        }

        footer .col a:not(.logo) img,
        footer .col span img {
            width: 20px;
            padding-left: 6px;
            box-sizing: border-box;
        }

    footer .col iframe {
        width: 100%;
        height: 100%;
    }

    /*enamad*/
    footer .col .enamad a {
        display: inline-block;
        border-radius: 8px;
        padding: 4px;
        box-shadow: 0 0 8px rgb(255 255 255 / 34%);
        background: #fff;
    }

    footer .col .enamad img {
        width: 70px !important;
        display: block;
        cursor: pointer;
    }

/*signature*/
.signature {
    padding: 8px 0;
    color: #646464;
    text-align: center;
    background: #00030c;
    box-sizing: border-box;
}

    .signature img {
        width: 40px;
    }


/*inside page*/
.insidePage > main {
    padding: var(--containerB-block) var(--containerB-inline);
    background-color: #f9f9f9;
    min-height: 30vh;
    position: relative;
    overflow-x: hidden;
}

main .ModuleTitle,
.endTitle {
    background: #f5f5f5 url(Icons/vector.png) center;
    background-size: contain;
    min-height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 35px;
    font-weight: bold;
    color: var(--first-main-color);
    position: relative;
    z-index: 0;
    overflow: hidden;
    margin: -85px -16vw 40px;
}

    main .ModuleTitle::before,
    .endTitle::before {
        content: 'LEGACY';
        font: bold 8vw 'Poppins';
        position: absolute;
        top: 50%;
        left: 50%;
        color: #0000000d;
        text-transform: uppercase;
        letter-spacing: 26px;
        transform: translate(-50%, -50%);
        z-index: -1;
    }

/*BrandItem - details*/
.BrandItem {
    background: #ffffff;
    display: inline-block;
    vertical-align: top;
    width: calc(20% - 10px);
    margin: 5px;
    padding: 10px;
    box-sizing: border-box;
    border-radius: 4px;
    box-shadow: 0 0 12px #0000000f;
    position: relative;
    overflow: hidden;
}

    .BrandItem .image {
        width: 50%;
        margin: auto;
    }

    .BrandItem img {
        width: 100%;
        border-radius: 2px;
        transition: .5s;
    }

    .BrandItem div.title {
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        background: #001b79ad;
        z-index: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .BrandItem a.title {
        text-align: center;
        color: #fff;
        font-weight: bold;
        font-size: 16px;
        width: 100%;
    }

    /*&:hover*/
    .BrandItem:hover img {
        filter: blur(1px);
        transform: scale(1.2);
    }

    .BrandItem:hover div.title {
        opacity: 1;
        visibility: visible;
    }

/*ContentItem*/
main .ContentItem {
    display: inline-block;
    width: calc(20% - 10px);
    margin: 5px;
    vertical-align: top;
    box-shadow: 0 0 15px #00000021;
    border-radius: 3px;
    overflow: hidden;
    padding-bottom: 10px;
    transition: .5s;
}

    main .ContentItem .image {
        overflow: hidden;
    }

    main .ContentItem img {
        width: 100%;
        height: 100%;
        transition: .5s;
    }

    main .ContentItem .title {
        font-weight: bold;
        color: var(--first-main-color);
        padding: 10px 5px 0;
        transition: .5s;
    }

    main .ContentItem .abstract, main .ContentItem .button {
        display: none;
    }

    /*&:hover*/
    main .ContentItem:hover {
        background: var(--first-main-color);
    }

        main .ContentItem:hover img {
            transform: scale(1.2) rotate(6deg);
        }

        main .ContentItem:hover .title {
            color: #fff;
        }

/*shop*/
.detailsShop {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}

    .detailsShop .searchShopPage {
        width: 100%;
    }

    .detailsShop .search {
        margin: auto;
    }

    .detailsShop .right {
        width: 72%;
        padding-left: 40px;
        box-sizing: border-box;
    }

    .detailsShop .shopProduct {
        padding-bottom: var(--containerB-block);
    }

    .detailsShop .products {
        clear: both;
        padding-top: 20px;
    }

    .detailsShop .sectionTitle {
        width: 100%;
        margin: 50px auto 15px;
    }

    .detailsShop .moreBtn span {
        background: #f9f9f9;
    }

    .detailsShop .shopProduct > a {
        float: left;
    }

    .detailsShop .left {
        width: 18%;
        max-height: 54vh;
        margin-top: 50px;
        border: 1px solid #ddd;
        box-sizing: border-box;
        padding: 12px;
        border-radius: 13px;
        position: fixed;
        top: 358px;
        left: var(--containerB-inline);
        overflow: auto;
    }

        .detailsShop .left.fix {
            top: 50px;
            max-height: 80vh;
        }

        .detailsShop .left b {
            display: block;
            background: var(--first-main-color);
            padding: 10px;
            box-sizing: border-box;
            color: #fff;
            text-align: center;
            border-radius: 3px;
            margin-bottom: 10px;
        }

    .detailsShop .categoryItem {
        background: #fff;
        padding: 5px 0;
    }

        .detailsShop .categoryItem .title {
            border-right: 2px solid #cbcbcb;
        }

        .detailsShop .categoryItem a {
            display: block;
            padding: 3px 10px;
            box-sizing: border-box;
            color: #000;
            transition: .8s;
        }

        /*&:hover*/
        .detailsShop .categoryItem:hover .title {
            border-color: var(--first-main-color);
        }

        .detailsShop .categoryItem:hover a {
            color: var(--first-main-color);
            transform: translateX(-5px);
        }

/*sort*/
.sort {
    width: 100%;
    padding-bottom: 14px;
    border-bottom: 1px solid #ddd;
    margin: 0 8px 14px;
    text-align: right;
}

    .sort span {
        color: #2b2b2b;
    }

    .sort img {
        width: 20px;
        vertical-align: middle;
    }

    .sort .sortList {
        display: inline-block;
        vertical-align: middle;
    }

    .sort .sortItem {
        padding: 0 6px;
        color: #656565;
        font-size: 13px;
        cursor: pointer;
    }

        .sort .sortItem.selected {
            color: var(--first-main-color);
        }

    .sort input {
        display: none;
    }

/*ProductDetail*/
.ProductDetail {
    display: flex;
    align-items: flex-start;
    margin-bottom: 40px;
}

    .ProductDetail .ProductDetailImage {
        width: 35%;
        height: 75vh;
    }

    .ProductDetail .imageSliders {
        box-shadow: -3px 3px 8px #00000012;
        margin-bottom: 10px;
        border-radius: 3px;
        background: #fff;
        overflow: hidden;
    }

        .ProductDetail .imageSliders img {
            width: 100%;
            height: 100%;
        }

    .ProductDetail .ProductDetailBody {
        width: calc(65% - 55px);
        margin-right: 55px;
        background: #fff;
        padding: 30px;
        box-sizing: border-box;
        border-radius: 3px;
        text-align: center;
    }

    .ProductDetail .productExtraImages {
        text-align: right;
        white-space: nowrap;
        overflow: hidden;
        position: relative;
    }

.productExtraImages .extraImage {
    width: calc(20% - 10px);
    display: inline-block;
    margin: 0 5px;
    vertical-align: top;
}

    .productExtraImages .extraImage img {
        width: 100%;
        height: 100%;
        border-radius: 8px;
        cursor: pointer;
    }

.productExtraImages .extraImageTitle {
    display: none;
}

.productExtraImagesIcons img {
    position: absolute;
    width: 14px;
    cursor: pointer;
    top: 40px;
    background: #001b798c;
    padding: 4px;
    border-radius: 50%;
    border: 2px solid #fff;
    transition: all .5s;
}

    .productExtraImagesIcons img:hover {
        background: var(--first-main-color);
    }

.productExtraImagesIcons .prev {
    right: 8px;
    transform: rotate(90deg);
}

.productExtraImagesIcons .next {
    transform: rotate(-90deg);
    left: 5px;
}

/*...........................*/
.ProductDetail .title {
    font-size: 18px;
    font-weight: bold;
    color: var(--first-main-color);
    margin-bottom: 15px;
}

/*models product*/
.ProductDetail .models {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

    .ProductDetail .models .item {
        margin: 8px;
        display: flex;
        align-items: flex-start;
    }

        .ProductDetail .models .item input {
            transform: scale(1.5);
            accent-color: #ff5151;
        }

        .ProductDetail .models .item label {
            margin-right: 3px;
        }

.productPrice,
.ProductItem .mainPrice {
    display: flex;
    flex-direction: column-reverse;
}

    .productPrice .originalPrice {
        color: #a1a1a1;
        text-decoration: line-through;
        padding: 3px 0 10px;
    }

    .productPrice .discountedPrice {
        font-size: 20px;
    }

.ProductDetail .addToCartBtn {
    border: none;
    color: #fff;
    background-color: #ff5151;
    cursor: pointer;
    position: relative;
    width: 170px;
    height: 35px;
    border-radius: 3px;
    text-align: right;
    transition: .5s;
}

    .ProductDetail .addToCartBtn:hover {
        padding-right: 42px;
    }

    .ProductDetail .addToCartBtn::before {
        content: '';
        position: absolute;
        right: 125px;
        top: 50%;
        width: calc(100% - 125px - 10px);
        height: 1px;
        background: #fff;
        transform: translateY(-50%);
        z-index: 0;
        transition: .5s;
    }

    .ProductDetail .addToCartBtn:hover::before {
        right: 5px;
    }

    .ProductDetail .addToCartBtn::after {
        content: '';
        position: absolute;
        top: 50%;
        right: calc(100% - 10px);
        transform: translateY(-50%);
        border-top: 4px solid transparent;
        border-right: 8px solid #fff;
        border-bottom: 4px solid transparent;
    }

.d-none {
    display: none;
}

.ProductDetail .displayNone {
    display: none !important;
}

#ProductInCartDiv {
    text-align: center;
}

    #ProductInCartDiv span {
        background: #ff5151;
        width: 25px;
        height: 21px;
        cursor: pointer;
        color: #fff;
        display: inline-block;
        user-select: none;
        vertical-align: middle;
        padding: 4px 0 0;
    }

    #ProductInCartDiv #ProductInCart {
        display: inline-block;
        padding: 0 5px;
        margin: 0;
    }

.ProductDetail .abstract {
    text-align: right;
    color: #727272;
    background: #f7f7f7;
    padding: 0 10px;
    box-sizing: border-box;
    border-radius: 3px;
    margin: 38px 0;
}

.ProductDetail .description {
    text-align: justify;
    line-height: 2;
}

    .ProductDetail .abstract p,
    .ProductDetail .description p {
        text-align: justify;
        margin: 6px 0;
    }

/*BrandDetail*/
.BrandDetail {
    display: none;
}

/*ContentDetail*/
.ContentDetail .Date,
.ContentDetail .abstract {
    color: #898989;
}

.ContentDetail .image,
.ContentDetail .title {
    display: none;
}

.ContentDetail .abstract p {
    margin: 10px 0;
}

.ContentDetail .body {
    margin: 10px 0;
}

    .ContentDetail .body p {
        text-align: justify;
        width: 100%;
        margin: 0;
    }

    .ContentDetail .body img,
    .ContentDetail .body iframe {
        max-width: 100%;
    }

.ContentDetail table {
    max-width: 100%;
    height: 100%;
    overflow-x: auto;
    border-color: #aba3a3;
}

    .ContentDetail table td {
        padding: 10px;
        text-align: center;
    }

.ContentDetail .body iframe {
    border: none;
}

.extraImages {
    padding: 10px;
    display: flex;
    flex-wrap: wrap;
}

    .extraImages .extraImage {
        width: 20%;
        padding: 4px;
        box-sizing: border-box;
    }

        .extraImages .extraImage img {
            width: 100%;
            height: 100%;
            display: block;
            cursor: pointer;
        }

    .extraImages .extraImageTitle {
        display: none;
    }

/*content page - extra image*/
.slideImage {
    position: fixed;
    top: 90px;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #00000091;
    opacity: 0;
    visibility: hidden;
    transition: .8s;
    z-index: 4;
}

    .slideImage img#image {
        width: 100%;
        height: 100%;
        display: block;
        margin: auto;
        object-fit: contain;
        padding: 15px;
        box-sizing: border-box;
    }

div#_divSlideIcons.show {
    display: block !important;
}

div#_divSlideIcons .prev, div#_divSlideIcons .next {
    cursor: pointer;
    position: fixed;
    top: 50%;
    width: 20px;
    padding: 7px;
    transition: 0.6s ease;
    user-select: none;
    z-index: 5;
}

div#_divSlideIcons .next {
    left: 5px;
    transform: rotate(-90deg);
}

div#_divSlideIcons .prev {
    right: 5px;
    transform: rotate(90deg);
}

div#_divSlideIcons .next:hover {
    transform: scale(.8) rotate(-90deg);
}

div#_divSlideIcons .prev:hover {
    transform: scale(.8) rotate(90deg);
}

div#_divSlideIcons .close {
    position: fixed;
    top: 100px;
    right: 10px;
    border: 2px solid #fff;
    border-radius: 50%;
    width: 29px;
    padding: 4px;
    z-index: 5;
    cursor: pointer;
}

div#_divSlideIcons.show, .slideImage.show {
    opacity: 1 !important;
    visibility: visible !important;
}

/*messageForm*/
.messageForm {
    padding: 30px;
    border-radius: 3px;
    background: #fff;
    box-sizing: border-box;
    box-shadow: 0 0 10px #0000001a;
}

    .messageForm h3 {
        margin: 0;
    }

    .messageForm .field {
        padding: 5px;
        box-sizing: border-box;
        display: inline-block;
        width: 20%;
    }

        .messageForm .field p {
            margin: 0;
        }

        .messageForm .field input {
            width: 100%;
            background-color: #fff;
            min-height: 35px;
            border: 1px solid #ddd;
            border-radius: 3px;
            box-sizing: border-box;
        }

    .messageForm .textArea {
        width: 100%;
    }

        .messageForm .textArea textarea {
            width: 100%;
            max-width: 100%;
            height: 100px;
            border-radius: 3px;
            border: 1px solid #ddd;
        }

    .messageForm .button {
        text-align: left;
    }

        .messageForm .button input {
            border-radius: 3px;
            border: none;
            padding: 8px 25px;
            background-color: var(--first-main-color);
            color: #fff;
        }

/*cart*/
.cartRow {
    box-shadow: 0 0 15px hsl(0deg 10% 83% / 42%);
    padding: 5px;
    border-radius: 3px;
    margin: 10px auto;
    background: #fff;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

    .cartRow .cartRowImage {
        width: 5%;
    }

        .cartRow .cartRowImage img {
            width: 100%;
            border-radius: 3px;
        }

.cartRowCountDiv, .cartRowTitle {
    width: 30%;
    text-align: center;
}

.cartRow .cartRowTitle a {
    color: #000;
}

.cartRow .cartRowAmountPlus,
.cartRow .cartRowAmountMines {
    cursor: pointer;
    background: #ff5151;
    width: 25px;
    height: 25px;
    color: #fff;
    display: inline-block;
    user-select: none;
    margin: 2px;
    vertical-align: middle;
    font-size: 22px;
}

.cartRow .cartRowAmount {
    margin: 0 15px;
}

.cartRowPriceDiv {
    width: 20%;
    text-align: center;
}

.cartRow .cartRowAmountRemove {
    width: 22px;
}

    .cartRow .cartRowAmountRemove img {
        cursor: pointer;
        width: 100%;
    }

#cart .cartResult {
    font-size: 15px;
    width: calc(100% - 160px);
    display: inline-block;
    vertical-align: middle;
}

#cart .submit {
    display: inline-block;
    vertical-align: middle;
    width: 160px;
    height: 40px;
}

    #cart .submit span {
        width: 100%;
        height: 100%;
        background-color: var(--first-main-color);
        border-radius: 3px;
        cursor: pointer;
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: .5s;
    }

    #cart .submit:hover span {
        background-color: #00239f;
    }

/*end*/
.endTitle {
    position: absolute;
    left: 0;
    right: 0;
    top: 86px;
    height: 200px;
}

.rMain {
    display: inline-block;
    vertical-align: top;
    width: 55%;
    margin-top: 135px;
}

    .rMain #myOrder .endCartRow {
        background: #fff;
        padding: 10px;
        margin: 15px 0;
        border-radius: 3px;
        box-shadow: 0 0 10px #0000001a;
        display: flex;
        align-items: center;
        justify-content: space-around;
    }

    .rMain #myOrder .endCartRowImage {
        width: 5%;
        margin-left: 10px;
    }

        .rMain #myOrder .endCartRowImage img {
            width: 100%;
            border-radius: 3px;
        }

    .rMain #myOrder .endCartRowTitle {
        width: calc(100% - 5% - 10% - 24%);
    }

    .rMain #myOrder .endCartRowAmount {
        width: 10%;
        text-align: center;
    }

    .rMain #myOrder .endCartRowPrice {
        width: 24%;
        text-align: left;
    }

    .rMain #myOrder .cartResult {
        text-align: left;
        font-weight: bold;
        color: var(--first-main-color);
    }

.lMain {
    display: inline-block;
    vertical-align: top;
    width: 44%;
    margin-top: 135px;
    padding-right: 20px;
    box-sizing: border-box;
}

#_addresses, #_SendWays, #_PayWays, #userDescDiv {
    background-color: #ffffff;
    padding: 10px;
    box-shadow: 0 0 15px hsl(0deg 10% 83% / 42%);
    border-radius: 3px;
    margin: 10px 0;
}

main .LastAddress {
    border-bottom: 1px dashed #ccc;
    padding-bottom: 15px;
    box-sizing: border-box;
}

    main .LastAddress p {
        margin: 5px 0;
    }

    main .LastAddress select, ._ddlSendWays {
        width: 100%;
        border: none;
        background-color: #e2e0e2;
        min-height: 36px;
        border-radius: 3px;
        border: 1px solid #ddd;
    }

.accordion {
    color: #444;
    cursor: pointer;
    padding: 14px 0;
    transition: 0.4s;
}

    .accordion:after {
        content: '\002B';
        color: #777;
        font-weight: bold;
        float: right;
        margin-left: 5px;
    }

.accordionActive:after {
    content: "\2212";
}

.accordionPanel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
    display: flex;
    flex-wrap: wrap;
}

main .newAddress .field1,
main .newAddress .field2,
main .newAddress .field3 {
    width: 33.33%;
    padding: 5px;
    box-sizing: border-box;
}

main .newAddress .field4 {
    width: 100%;
}

    main .newAddress .field1 input,
    main .newAddress .field2 input,
    main .newAddress .field3 input,
    main .newAddress .field4 input {
        width: 100%;
        padding: 5px;
        color: #495057;
        background-color: #fff;
        border: 1px solid #ced4da;
        border-radius: 3px;
        box-sizing: border-box;
    }

    main .newAddress .field4 input {
        height: 4rem;
    }

main .newAddress .button {
    width: 100%;
    text-align: left;
}

.newAddress .button input,
.myLastAddressItem .button input {
    padding: 5px 20px;
    background-color: #002cc5;
    border: none;
    border-radius: 3px;
    color: #ffffff;
    margin: 10px 0;
    cursor: pointer;
    text-align: center;
    outline: none;
    display: inline-block !important;
}

    .newAddress .button input:hover,
    .myLastAddressItem .button input:hover,
    .payWays input:hover {
        background-color: var(--first-main-color);
    }

    .myLastAddressItem .button input:last-child {
        background: #ff5555;
    }

    .myLastAddressItem .button input:hover:last-child {
        background: #ff2d2d;
    }

main .moduleTitle {
    margin-bottom: 5px;
}

#userDescDiv textarea {
    width: 100%;
    max-width: 100%;
    min-width: 100%;
    background-color: #ffffff;
    border-color: #ddd;
    border-radius: 3px;
    box-sizing: border-box;
}

.payWays div {
    display: inline-block;
}

.payWays input {
    padding: 6px 10px;
    background-color: var(--first-main-color);
    border-radius: 3px;
    cursor: pointer;
    color: #fff;
    margin: 0 2px;
    border: none;
}

#_imgBtnPayAtHome {
    background-color: transparent;
    color: #002cc5;
    border: 1px solid #002cc5;
    transition: .5s;
}

    #_imgBtnPayAtHome:hover {
        color: var(--first-main-color);
        border-color: var(--first-main-color);
    }

#_imgBtnPayByPasargadBank {
    border: none;
}

/*cProfileMenu*/
#cProfileMenu a {
    display: inline-block;
    background: #29487d;
    margin: 10px auto;
    padding: 6px 10px;
    color: #fff;
    cursor: pointer;
    min-width: 8%;
    text-align: center;
    box-sizing: border-box;
}

    #cProfileMenu a:hover {
        background: #0b1d3c;
    }

#cProfile {
    margin: 20px 0;
}

    #cProfile .customerInfo,
    #cProfile .AddressHistoryDiv h3 {
        color: var(--first-main-color);
        font-weight: bold;
        border-right: 2px solid;
        padding-right: 5px;
    }

    #cProfile .OrderHistoryDiv .OrderHistory {
        margin: 10px 0;
        background: #fff;
        box-shadow: 0 0 6px #00000017;
        padding: 10px;
        box-sizing: border-box;
        border-radius: 3px;
    }

    #cProfile .OrderHistory {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    #cProfile .OrderHistoryDiv .OrderHistory > div:not(:last-child) {
        width: 22%;
    }

    #cProfile .OrderHistoryDiv .OrderHistory .button {
        text-align: left;
        width: 11%;
    }

        #cProfile .OrderHistoryDiv .OrderHistory .button span {
            color: var(--first-main-color);
            border: 1px solid var(--first-main-color);
            padding: 6px;
            border-radius: 3px;
            transition: background .8s;
            cursor: pointer;
            display: block;
            text-align: center;
        }

        #cProfile .OrderHistoryDiv .OrderHistory .button:hover span {
            background: var(--first-main-color);
            color: #fff;
        }

main .newAddress p {
    margin: 0;
}

#cProfile .AddressHistoryDiv .newAddress {
    display: flex;
    flex-wrap: wrap;
    background: #fff;
    padding: 15px;
    box-sizing: border-box;
    border-radius: 3px;
}

#cProfile .provinceField,
#cProfile .cityField,
#cProfile .postalCodeField {
    width: 14.25%;
    padding: 3px;
    box-sizing: border-box;
}

#cProfile .addressField3 {
    width: 100%;
    padding: 3px;
    box-sizing: border-box;
}

#cProfile .AddressHistoryDiv .newAddress > div:not(:last-child) input,
#cProfile .AddressHistoryDiv .newAddress textarea {
    border: 1px solid #d7d7d7;
    border-radius: 3px;
    padding: 5px;
    width: 100%;
    box-sizing: border-box;
}

#cProfile .AddressHistoryDiv .newAddress textarea {
    max-width: 100%;
    min-width: 100%;
    min-height: 100px;
}

#cProfile .AddressHistoryDiv .message {
    text-align: left;
    margin: 10px 0;
}

#cProfile .AddressHistoryDiv .myLastAddressItem {
    display: flex;
    flex-wrap: wrap;
    padding: 10px;
    background-color: #fff;
    border-radius: 3px;
    margin: 5px 0;
    align-items: center;
}

    #cProfile .AddressHistoryDiv .myLastAddressItem > div:not(.button) {
        padding-left: 10px;
    }

    #cProfile .AddressHistoryDiv .myLastAddressItem .button {
        text-align: left;
        width: 100%;
    }

/*order detail*/
#cOrderDetail {
    background: #ffff;
    padding: 10px;
    box-sizing: border-box;
    border-radius: 3px;
    box-shadow: 0 0 20px #00000014;
}

    #cOrderDetail .Info {
        margin-bottom: 10px;
    }

    #cOrderDetail .OrderHistoryDiv {
        border-bottom: 1px solid #eee;
        clear: both;
    }

        #cOrderDetail .OrderHistoryDiv .OrderHistoryDetail > div {
            vertical-align: middle;
            display: inline-block;
            padding: 5px;
            box-sizing: border-box;
        }

    #cOrderDetail .OrderHistoryDetail {
        overflow: auto;
        background: #f5f5f5;
        margin: 6px 0;
        border-radius: 4px;
    }

    #cOrderDetail .OrderHistoryDiv .OrderHistoryDetail .image {
        width: 10%;
        float: right;
    }

        #cOrderDetail .OrderHistoryDiv .OrderHistoryDetail .image img {
            width: 100%;
        }

    #cOrderDetail .OrderHistoryDiv .OrderHistoryDetail .title {
        font-weight: bold;
        color: var(--first-main-color);
        width: 35%;
    }

    #cOrderDetail .OrderHistoryDiv .OrderHistoryDetail .count {
        width: 12%;
    }

    #cOrderDetail .OrderHistoryDiv .OrderHistoryDetail .generatePrice,
    #cOrderDetail .OrderHistoryDiv .OrderHistoryDetail .totalPrice {
        width: 25%;
    }

    #cOrderDetail .OrderInfoDiv {
        margin: 10px 0;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
    }

        #cOrderDetail .OrderInfoDiv > div {
            text-align: right;
            margin: 5px 0;
            width: 50%;
        }

        #cOrderDetail .OrderInfoDiv .orderFInfoTotalCost {
            text-align: left;
            color: #3a7c00;
            font-weight: bold;
            width: 100%;
        }

/*Form*/
.Form {
    margin: auto;
    padding: 15px;
    width: 25%;
    background: #6574a9;
    border-radius: 3px;
    box-sizing: border-box;
}

    .Form .field {
        padding-bottom: 5px;
    }

        .Form .field p {
            margin: 0;
            color: #fff;
        }

    /*main .Form #mobile, main .Form #password, main .Form .field input {*/
    .Form input {
        width: 100%;
        padding: 6px;
        border: none;
        box-sizing: border-box;
        border-radius: 3px;
        background: #fff;
        outline: none;
    }

        .Form input:-webkit-autofill,
        .Form input:-webkit-autofill:hover,
        .Form input:-webkit-autofill:focus,
        .Form input:-webkit-autofill:active {
            -webkit-box-shadow: 0 0 0 30px white inset !important;
        }

    .Form .field .link {
        text-align: left;
    }

        .Form .field .link a {
            color: #ffe047;
            margin-bottom: 3px;
            display: block;
        }

    .Form .button input {
        border: none;
        background: var(--first-main-color);
        border-radius: 3px;
        width: 100%;
        padding: 6px;
        cursor: pointer;
        color: #fff;
        margin: 10px 0;
        font-size: 16px;
    }

        .Form .button input:hover {
            background: #00155e;
        }

    .Form .registerLink {
        text-align: center;
        color: #fff;
    }

        .Form .registerLink a {
            color: #ffe047;
        }

    .Form .regCh {
        display: flex;
        align-items: center;
        flex-direction: row-reverse;
        justify-content: flex-end;
        color: #fff;
    }

        .Form .regCh #_chboxAcceptRules {
            width: auto;
        }

    .Form .loginLink a {
        color: #ffe047;
    }

    .Form .loginLink {
        text-align: center;
    }

    .Form .customerInfo {
        color: #fff;
    }

/*
main .Form .field textarea, main .Form .field input {
    min-width: 180px;
}

main .Form .button input {
    padding: 8px 20px;
    border: none;
    background-color: #ee3364;
    font-size: 13px;
    border-radius: 3px;
    margin: 10px 0;
    color: white
}*/

/*Rigester*/
#RegisterSkin1 {
    display: flex;
    width: 50%;
    flex-wrap: wrap;
}

    #RegisterSkin1 .field {
        width: calc(50% - 10px);
        margin: 5px;
    }

    #RegisterSkin1 .button,
    #RegisterSkin1 .registerLink {
        width: 100%;
        text-align: center;
    }

        #RegisterSkin1 .button #_btnSubmit {
            width: 50%;
        }

/*massage*/
#cartMsg, #_lblMessage {
    visibility: hidden;
    min-width: 250px;
    background-color: var(--first-main-color);
    color: #fff;
    text-align: center;
    border-radius: 3px;
    padding: 16px;
    position: fixed;
    z-index: 2;
    left: 25px;
    bottom: 30px;
}

    #cartMsg.show, #_lblMessage.show {
        visibility: visible;
    }

    #cartMsg.show {
        -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
        animation: fadein 0.5s, fadeout 0.5s 2.5s;
    }

    #_lblMessage.show {
        -webkit-animation: fadein 0.5s, fadeout 0.5s 4.5s;
        animation: fadein 0.5s, fadeout 0.5s 4.5s;
    }

/**/
/*.....بررسی.....................*/
/**/
.show .Image div {
    height: 32vh;
    border-radius: 3px;
}

.ProductDetail .state {
    font-size: 20px;
    color: gray;
    display: block;
}

/**/
/*.....بررسی.....................*/
/**/


/*@keyframes*/
@keyframes showCounter {
    0% {
        opacity: 0;
        transform: scaleY(0);
        font-size: 12vw;
        transform-origin: center;
    }

    100% {
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        opacity: 1;
        padding-top: 30px;
        font-size: 12vw;
        color: #f1f1f1;
        transform: scaleY(1);
    }
}

@keyframes moveTxtMoreBtnReverse {
    0% {
        right: 80%;
    }

    100% {
        right: 0;
    }
}

@keyframes moveTxtMoreBtn {
    0% {
        left: 80%;
    }

    100% {
        left: 10px;
    }
}

@keyframes showMenu {
    0% {
        opacity: .5;
        transform: translateY(-100%);
    }

    100% {
        opacity: 1;
        transform: translateY(0%);
    }
}

@keyframes showSlider {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes showText {
    0% {
        transform: translateX(-140%);
    }

    100% {
        transform: translateX(0);
    }
}

@-webkit-keyframes fadein {
    0% {
        bottom: -30px;
        opacity: 0;
    }

    100% {
        bottom: 30px;
        opacity: 1;
    }
}

@keyframes fadein {
    0% {
        bottom: -30px;
        opacity: 0;
    }

    100% {
        bottom: 30px;
        opacity: 1;
    }
}

@-webkit-keyframes fadeout {
    0% {
        bottom: 30px;
        opacity: 1;
    }

    100% {
        bottom: -30px;
        opacity: 0;
    }
}

@keyframes fadeout {
    0% {
        bottom: 30px;
        opacity: 1;
    }

    100% {
        bottom: -30px;
        opacity: 0;
    }
}



















/**/
/**/
/**/
/**/
/*register*/
/*.register {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    overflow: hidden;
}

    .register .movingText {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        font-size: 144px;
        font-weight: bold;
        color: #f6f5f5;
        z-index: -1;
        white-space: nowrap;
        animation: movingText 70s infinite;
    }

@keyframes movingText {
    0% {
        transform: translateX(-5%);
    }

    50% {
        transform: translateX(93%);
    }

    100% {
        transform: translateX(-4%);
    }
}

.register .item {
    display: inline-block;
    width: 30%;
    vertical-align: top;
    margin: 110px 10px 0;
}

    .register .item img {
        display: block;
        margin: auto;
    }

    .register .item p {
        color: gray;
    }*/

@media only screen and (max-width: 1600px) {
    .Form {
        width: 35%;
    }
}

@media only screen and (max-width: 1350px) {
}

@media only screen and (max-width: 1200px) {
    :root {
        --containerA-inline: 1vw;
        --containerA-block: 10px;
        --containerB-inline: 8vw;
        --containerB-block: 60px;
    }

    nav ul a {
        padding: 0 6px;
    }

    .search {
        margin-left: 5px;
    }

    header .shop,
    .contactNav {
        margin-right: 5px;
    }
}

@media only screen and (max-width: 992px) {
}

@media only screen and (max-width: 768px) and (min-width: 0) {
}
