/* Generals -----------------------------------------------------------------*/
.msgError {
    width: 70%;
    padding: 10px;
    text-align: center;
    border-radius: 10px;
    color: #fff;
    margin: 20px auto;
}

.overHeader {
    padding: 10px 0;
    line-height: 10px;
    text-align: center;
    background: var(--second-color);
    border-bottom: 1px solid #ddd;
}

.overHeader img {
    height: 29px;
    vertical-align: middle;
}

.head-profile {
    position: relative;
    line-height: 40px;
    cursor: pointer;
}

.head-profile a {
    text-decoration: none;
    color: inherit;
}

.head-profile .cart-button {
    display: inline-block;
    position: relative;
    /* width: 40px; */
    margin-right: 5px;
    padding: 0 5px;
    box-sizing: border-box;
    border: 1px solid transparent;
    border-radius: 5px;
    text-align: center;
    transition: all .2s;
}

.head-profile .cart-button:hover {
    background: #fcfcfc;
    border-color: #eee;
}

.head-profile .cart-button .zmdi-account {
    position: relative;
    top: 3px;
    margin-left: 10px;
    font-size: 20px;
}

.head-profile .cart-button .zmdi-shopping-cart {
    vertical-align: middle;
    font-size: 28px;
}

.head-profile .cart-button #basketBadge {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 15px;
    height: 15px;
    line-height: 15px;
    padding: 2px;
    text-align: center;
    color: #fff;
    background: #f00;
    border-radius: 100%;
}

.head-profile .cart-button .head-profile-menu {
    /*display: none;*/
    position: absolute;
    top: 40px;
    right: 0;
    width: calc(100% + 45px);
    background: #fff;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 10px 7px rgba(0, 0, 0, 0.3);
    color: #333;
    text-align: right;
    transform: scale3d(0, 0, 0);
    transform-origin: right top;
    z-index: 10;
    transition: all 0.15s;
}

.head-profile .cart-button:hover .head-profile-menu {
    transform: scale3d(1, 1, 1);
}

.head-profile .head-profile-menu p {
    margin: 0;
    line-height: 30px;
    border-bottom: 1px solid #eee;
    transition: all .3s;
}

.head-profile .head-profile-menu p a {
    display: block;
    padding: 5px 10px;
}

.head-profile .head-profile-menu p .zmdi-chevron-left {
    margin-left: 10px
}

.head-profile .head-profile-menu p:hover {
    background: rgba(0, 0, 0, 0.05);
}

.head-profile .head-profile-menu p:last-child {
    border-bottom: none;
}

.main-menu-line {
    position: relative;
}

#main-menu-toggler {
    display: inline-block;
    width: 20px;
    padding: 5px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    line-height: 20px;
    text-align: center
}

#main-menu-toggler .zmdi {
    font-size: 25px;
    color: #555;
}

.mainMenu {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
    justify-content: right;
}

.mainMenu li {
    margin-left: 30px;
    line-height: 40px;
    white-space: nowrap;
    border-bottom: 3px solid transparent;
    transition: all .1s;
}

.mainMenu li:hover {
    border-bottom-color: rgba(0, 0, 0, 0.1);
}

.mainMenu li.active-menu {
    padding: 0 5px;
    color: var(--main-color);
    border-bottom-color: var(--main-color);
}

.mainMenu li a {
    display: block;
    color: inherit;
    text-decoration: none
}

.totalHeadPlace h2 {
    margin: 0;
    padding: 0;
    color: inherit;
    border-bottom: none;
    font-size: 14px;
    text-align: unset;
}

.footerData a {
    display: inline-block;
    direction: ltr;
    text-decoration: none;
    color: inherit;
}

/* Search place -------------------------------------------------------------*/
.mainPageSearch {
    width: 500px;
    padding: 10px 0 0;
    box-sizing: border-box;
    white-space: nowrap;
}

.mainPageSearch * {
    outline: none;
}

.mainPageSearch .searchMainPlace {
    position: relative;
}

.mainPageSearch .searchMainPlace i {
    position: absolute;
    top: 8px;
    right: 10px;
    color: #bbb;
    font-size: 25px;
}

.mainPageSearch .searchMainPlace #searchSugPlace {
    display: none;
    position: absolute;
    top: 40px;
    left: 0;
    width: 100%;
    background: #fff;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.3);
    text-align: right;
    font-size: 13px;
    z-index: 3;
}

.mainPageSearch .searchMainPlace #searchSugPlace.activeSuggest {
    display: block;
}

#searchSugPlace a {
    display: block;
    width: 100%;
    padding: 3px 10px;
    box-sizing: border-box;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 25px;
    white-space: nowrap;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    color: #999999;
    text-decoration: none;
    transition: all 0.1s;
}

#searchSugPlace a img {
    width: 30px;
    height: 30px;
    margin: 2px 0 2px 10px;
}

#searchSugPlace a b {
    color: var(--main-color);
}

#searchSugPlace a:last-child {
    border-bottom: none;
    border-radius: 0 0 10px 10px;
}

#searchSugPlace a:hover {
    background-color: rgba(0, 0, 0, 0.03);
}

.mainPageSearch input[type="text"] {
    width: 100%;
    height: 40px;
    padding: 1px 40px 1px 10px;
    box-sizing: border-box;
    background: #eee;
    border: none;
}

/* Basket Overlay -----------------------------------------------------------*/
.basket-cover {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 100;
    transform: scale3d(0, 0, 0);
    opacity: 0;
    transition: opacity .3s;
}

.basket-overlay-panel {
    position: fixed;
    top: 0;
    left: -700px;
    bottom: 0;
    width: 500px;
    height: 100%;
    max-width: 80%;
    box-sizing: border-box;
    background: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    z-index: 101;
    user-select: none;
    transform: scale3d(1, 1, 1);
    transform-origin: left;
    transition: all .3s;
}

.basket-overlay-active .basket-cover {
    transform: scale3d(1, 1, 1);
    opacity: 1;
}

.basket-overlay-active .basket-overlay-panel {
    left: 0;
}

.basket-overlay .basket-close {
    position: absolute;
    top: 20px;
    left: 30px;
    cursor: pointer;
}

.basket-body {
    height: calc(100% - 140px);
    overflow: auto;
}

.basket-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--second-color);
    color: #fff;
}

.basket-body h2 {
    font-size: 14px !important;
    font-weight: normal !important;
}

/* Website path -------------------------------------------------------------*/
.proPathPlace {
    margin-bottom: 10px;
    padding: 4px;
    color: #555;
    font-size: 12px;
}

.proPathPlace a {
    display: inline-block;
    padding: 2px 5px;
    vertical-align: middle;
    text-decoration: none;
    border-radius: 5px;
    color: inherit;
    cursor: pointer;
    line-height: 25px;
    transition: all .4s;
}

.proPathPlace a:hover {
    background: #fcfcfc;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    color: #333333;
}

.proPathPlace i {
    display: inline-block;
    position: relative;
    top: 1px;
    margin: 0 3px;
    vertical-align: middle;
    line-height: 25px;
    font-size: 15px;
}

/* Login page ---------------------------------------------------------------*/
.loginWrapper {
    display: flex;
    -moz-box-align: center;
    align-items: center;
    -moz-box-pack: center;
    justify-content: center;
    flex-direction: column;
    height: 100%;
}

.loginFormPlace {
    display: none;
    position: relative;
    width: 90%;
    max-width: 350px;
    margin: 0 auto 10px;
    padding: 15px 20px;
    box-sizing: border-box;
    background: #fff;
    border-radius: 10px;
    border: 1px solid #eee;
    text-align: center;
}

.loginFormPlace div {
    padding-bottom: 10px;
}

.loginFormPlace .regWrapper {
    display: flex;
    justify-content: space-between;
}

.loginFormPlace .regWrapper div {
    width: 49%;
    padding-bottom: 0;
}

.loginFormPlace label {
    display: block;
    margin: 0 0 5px;
    text-align: right;
}

.loginFormPlace button {
    width: 150px;
}

.loginFormPlace a {
    padding-bottom: 5px;
    text-decoration: none;
    border-bottom: 1px solid #000;
    color: inherit;
}

#loginError {
    display: none;
    position: relative;
    width: 90%;
    max-width: 350px;
    margin: 0 0 5px;
    padding: 5px 10px;
    box-sizing: border-box;
    text-align: center !important;
    background: #fdd;
    border-radius: var(--radius);
    color: #b00;
}

.loginBackVideo {
    position: fixed;
    top: 0;
    left: 0;
    min-width: 100%;
    min-height: 100%;
    z-index: 0;
}

.loginBackCover {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.loginLogo {
    text-decoration: none;
    text-align: center;
    border: none;
    color: inherit;
    z-index: 10;
}

.loginLogo img {
    width: 80%;
    max-width: 400px;
    margin-bottom: 30px
}

/* Basket page --------------------------------------------------------------*/
.basket-item {
    position: relative;
    margin-bottom: 20px;
    color: #0c0c0c
}

.basket-item .basket-item-img-place {
    width: 20%
}

.basket-item .basket-item-img-place img {
    width: 100%
}

.basket-item h2 {
    margin: 0 0 10px;
    padding: 5px 0;
    font-size: 20px;
    font-weight: bold;
    border-bottom-color: #ddd;
    color: inherit
}

/* Search page---------------------------------------------------------------*/
.searchKeywordPlace a {
    display: inline-block;
    margin: 3px 2px;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 11px;
    background: #e2f1ff;
    text-decoration: none;
    color: inherit;
    transition: all 0.4s;
}

.searchKeywordPlace a:hover {
    background: #f5f5f5;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.4);
}

/* Brand page----------------------------------------------------------------*/
.brandPHeadImage {
    min-width: 400px;
}

.brandPHeadImage div {
    width: 400px;
    height: 200px;
    background: #fff center center no-repeat;
    background-size: 300px auto;
}

.brandCats {
    min-width: 250px;
    cursor: pointer;
}

.brandCats p {
    margin: 0;
    padding: 5px 0;
}

.brandCats p:first-child {
    border-bottom: 1px solid #ddd;
}

/* Profile Page--------------------------------------------------------------*/
.profileMenuUL {
    margin: 0;
    padding: 0;
    list-style: none;
}

.profileMenuUL li {
    position: relative;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.4s;
}

.profileMenuUL li:last-child {
    border-bottom: none;
}

.profileMenuUL li.activeProfileMenu {
    background: #f5f5f5;
    font-weight: bold;
    color: #ef542c;
}

.profileMenuUL li:hover {
    background: rgba(0, 0, 0, 0.08);
}

.profileMenuUL li i {
    position: absolute;
    top: 16px;
    right: 10px;
    font-size: 13px;
    opacity: .5;
}

.profileMenuUL li a {
    display: block;
    padding: 10px 25px 10px 2px;
    color: inherit;
    text-decoration: none;
}

.profileOrderTab {
    padding-bottom: 10px;
    text-decoration: none;
    border-bottom: 4px solid transparent;
    color: #444;
}

.profileOrderTab span {
    background-color: #777;
}

.prodBadge {
    position: absolute;
    top: 5px;
    left: 5px;
    width: 25px;
    height: 25px;
    line-height: 25px;
    margin: 0;
    padding: 5px;
    text-align: center;
    background-color: var(--active-color);
    border-radius: 50%;
    color: #fff;
}

.POActiveTab {
    border-bottom-color: 4px solid var(--active-color);
    color: var(--active-color);
}

.POActiveTab span {
    background-color: var(--active-color);
}

.addressItems {
    position: relative;
}

.addressItems p {
    margin: 0 0 5px;
}

.addressItems:hover {
    background: #fafafa;
}

.addressItems .zmdi {
    width: 20px;
    margin-left: 5px;
    text-align: center;
}

/* Contact Page--------------------------------------------------------------*/
.contactPageTexts {
    width: 100%;
    margin-left: 50px;
}

.contactPageTexts div {
    position: relative;
    margin: 0 0 30px;
    line-height: 25px;
    text-align: right;
    border-right: 50px solid var(--main-color);
}

.contactPageTexts i {
    position: absolute;
    top: 10px;
    right: -50px;
    width: 50px;
    font-size: 25px;
    text-align: center;
}

.contactPageTexts span {
    display: inline-block;
    width: 100%;
    padding: 10px 15px;
    box-sizing: border-box;
}

/*---------------------------------------------------------------------------*/
.catPageProBox {
    display: block;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
    text-decoration: none;
    text-align: center;
    color: inherit;
}

.pro-card-img {
    max-width: 100% !important;
    border-radius: 5px;
}

.catPageProBox .dtc {
    vertical-align: top;
}

.prod-card-hover {
    position: absolute;
    bottom: 0;
    left: 5%;
    width: 90%;
    max-height: 70%;
    padding: 10px;
    box-sizing: border-box;
    text-align: center;
    background: rgba(250, 250, 250, 0.7);
    border: 1px solid #ddd;
    border-bottom: none;
    border-radius: var(--radius) var(--radius) 0 0;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    transform: translate3d(0, 140%, 0);
    transform-origin: bottom;
    transition: all .3s;
}

.catPageProBox:hover .prod-card-hover {
    transform: translate3d(0, 0, 0);
}

/* About page----------------------------------------------------------------*/
.about-back {
    position: fixed;
    top: 40px;
    left: 0;
    width: 100%;
    height: 100%;
    background-position: center center;
    background-size: cover;
    background-image: url('../resource/about/about-back.webp');
    z-index: 0;
}

.tandis-img {
    position: relative;
    width: 15%;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all .3s;
}

.tandis-img:hover {
    transform: scale3d(1.8, 1.8, 1.8);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
    z-index: 2;
}

/* Blog page-----------------------------------------------------------------*/
.headlines {
    display: flex;
    justify-content: center;
    position: relative;
    background: #eee;
    border-radius: var(--radius);
    overflow: hidden
}

.headlines p {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    margin: 0;
    padding: 50px 20px 30px;
    box-sizing: border-box;
    text-align: right;
    text-shadow: 0 0 5px #000;
    font-size: 18px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, 0.7) 50%, #000);
    color: #fff;
}

.headlines p.fs15 {
    font-size: 15px;
}

.blog-card {
    display: block;
    width: 18%;
    min-width: 240px;
    margin-bottom: 30px;
    border-width: 0 0 3px;
    color: inherit;
    text-decoration: none;
}

.blog-card-image {
    height: 130px;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    border-radius: var(--radius);
}

.last-blogs .blog-card {
    border-width: 1px !important;
}

/* PWA styles----------------------------------------------------------------*/
.pwa-bottom-menu {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid var(--border);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 10px 0;

    ul {
        display: flex;
        justify-content: space-around;
        align-items: center;
        list-style: none;
        margin: 0;
        padding: 0;

        li {
            flex: 1;
            text-align: center;

            a {
                display: flex;
                flex-direction: column;
                align-items: center;
                text-decoration: none;
                color: #666;
                font-size: 12px;

                i {
                    font-size: 20px;
                    margin-bottom: 0px;
                }

                &.active {
                    color: #007bff;
                }
            }
        }
    }
}

.mobile-menu{
    position: fixed;
    left: 0;
    bottom: -1000px;
    width: 100%;
    box-sizing: border-box;
    box-shadow: 0 0 7px rgba(0, 0, 0, 0.2);
    z-index: 50;
    transition: all .3s;
}

/* Responsive----------------------------------------------------------------*/
@media (max-width: 1000px) {
    .footerContainer { display: block !important }

    .footerData { text-align: center }

    .catPageBody .catPageMainBox { width: 80% }

    .searchPageBody .filterButL { display: inline-block }

    .mainSlideContainer { display: block !important }

    .mainSlideShowPlace {
        width: 100% !important;
        margin-bottom: 10px;
    }
}

@media (max-width: 900px) {
    .mainMenu {
        display: block;
        position: absolute;
        bottom: -1000px;
        left: 0;
        width: 100%;
        background: #fff;
        border: 1px solid #ddd;
        border-radius: 0 0 8px 8px;
        transition: all .3s;
    }

    .mainMenu.activeMenu { bottom: 0 }
    .mobile-menu.activeMenu { bottom: 59px }

    .mainMenu li {
        margin: 0;
        padding: 0 10px;
        border-bottom: 1px solid #ddd;
    }

    .mainMenu li:last-child { border-bottom: none }

    .catPageBody .catPageFilterPlace {
        width: 200px;
        margin-right: 10px;
    }
}

@media (max-width: 800px) {
    .basket-overlay-panel{
        width: 100%;
        max-width: 100%;
        left: -100%;
        height: calc(100% - 60px);
    }
    .mvdb {
        display: block !important;
        width: 100% !important;
    }

    .mvdib {
        display: inline-block !important;
    }

    .mvdf {
        display: flex !important;
        width: 100% !important;
    }

    .mvdfJsb{
        display: flex !important;
        width: 100% !important;
        justify-content: space-between;
    }

    .mvdfJsa{
        display: flex !important;
        width: 100% !important;
        justify-content: space-around;
    }

    .pwa-bottom-menu {
        display: block;
    }

    .catPageProCard{
        width: 48% !important;
        min-width: initial !important;
    }
    .catPageBody .catPageMainBox .catPageProBox .dib {
        width: 100% !important;
        height: initial !important;
    }
    .contactPageBox { flex-wrap: wrap }

    .contactPageTexts { margin: 0 !important }

    .proPathPlace { top: -50px }

    .proPathPlace * { line-height: 15px !important }

    .catPageBody .catPageMainBox { width: 100% }
    

    .catPageBody .catPageFilterPlace { display: none }

    .catPageBody .catPageFilterPlace.activeCatSidesMenu {
        display: block;
        position: fixed;
        top: 150px;
        right: 0;
        margin: 0 !important;
        padding: 10px;
        box-sizing: border-box;
        background: rgba(150, 150, 150, .9);
        border-radius: 5px 0 0 5px;
        opacity: 1;
        z-index: 25;
    }

    .filterButL { display: inline-block }

    .proPageMainBox { display: block }

    .proPageMainBox .buyCardPlace {
        width: 100%;
        min-width: initial;
        max-width: initial;
    }

    .proPageMainBox h1 {
        font-size: 20px !important;
        line-height: 30px !important;
        margin-bottom: 5px !important;
    }

    .mainPicContainer { margin: 0 !important }

    .proDataGallery {
        display: flex;
        overflow: auto;
        width: 100% !important;
        height: 130px !important;
        box-sizing: border-box;
    }

    .proDataGallery img { margin-left: 5px }

    .quickOrderMainBox {
        width: 100%;
        margin-bottom: 10px;
    }

    .brandPHeadImage div,
    .brandPHeadImage {
        width: 100%;
        min-width: initial;
        background-size: 90% auto;
    }

    .brandPHeadText { margin-left: 0 }

}

@media (max-width: 700px) {
    .mainPageSearch { padding: 0 0 10px }

    .certifi-place {
        margin: 0 auto;
        padding: 30px 0 0;
    }

    #lightBoxContentMar { width: 90% !important }

    #lightBoxContent { width: 100% !important }
}

@media (max-width: 600px) {
    .mvdn { display: none !important }

    .mainSlideContainer { height: unset !important }
}