﻿/* home sections */

.generalTitle {
    margin: 15px 0;
}
[v-cloak] .products-tabs {
    display: none;
}
.home-page {
    margin: 0 -15px !important;
}

/* slide product */

.product-box-slide .img-bg {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    opacity: .2;
    z-index: -1;
}
.s-row {
    width: 100%;
}
.main-slider {
    position: relative;
    height: 100vh;
    background-color: #b9ddeb;
}
.slider-background {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.05;
}
.product-box-slide {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    width: 100%;
    height: 100%;
    padding: 0 5%;
    overflow: hidden;
}
.product-box-slide .content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    height: 100%;
    position: relative;
}
.product-box-slide .sale-label, .product-box-slide .flag-label {
    position: absolute;
    top: 68px;
    left: calc(5% + 15px);
    width: 34px;
    writing-mode: vertical-lr;
    z-index: 3;
}
.product-box-slide .sale-label + .flag-label {
    left: calc(5% + 60px);
}
.product-box-slide .sale-label span, .product-box-slide .flag-label span {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 15px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #4faacd;
    color: #fff;
    font-size: 22px;
    font-weight: 300;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}
.product-box-slide .sale-label span::after, .product-box-slide .flag-label span::after {
    content: "";
    position: absolute;
    top: 100%;
    right: 0;
    border-top: 0;
    border-left: 17px solid #4faacd;
    border-right: 17px solid #4faacd;
    border-bottom: 8px solid transparent;
}
.product-box-slide .flag-label span.danger {
    background: #dc3545;
}
.product-box-slide .flag-label span.danger::after {
    border-left-color: #dc3545;
    border-right-color: #dc3545;
}
.product-box-slide .content .title {
    z-index: 3;
}
.product-box-slide .content .title a {
    color: #000;
    font-size: 48px;
    font-weight: 700;
    font-family: 'WorkSans', sans-serif;
    line-height: 1;
}
.product-box-slide .content .desc {
    color: #555;
    font-family: 'WorkSans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 1px;
    margin: 15px 0;
    max-height: 45px;
    overflow: hidden;
}
.product-box-slide .attr-container tr {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}
.product-box-slide .attr-container tr td .attr-name {
    color: #333;
    font-size: 16px;
    font-weight: 400;
}
.product-box-slide .attr-container tr td:first-child {
    width: 100%;
    margin: 0 0 5px 0;
}
.product-box-slide .attr-container tr td .btn-light.btn:not(.color-container) {
    background-color: rgba(255,255,255,.3);
    border: 2px solid #000;
    color: #000;
    font-weight: 700;
}
.product-box-slide .attr-container tr td .btn-light.btn:hover {
    border-color: #4faacd;
}
.product-box-slide .spec-container table {
    min-width: 220px;
    border: 1px solid #bebebe;
}
.product-box-slide .spec-container table tr td {
    padding: 10px;
    font-weight: 500;
    background-color: rgba(255,255,255,.3);
}
.product-box-slide .spec-container table tr:first-child td:first-child {
    border-top-left-radius: 10px;
}
.product-box-slide .spec-container table tr:first-child td:last-child {
    border-top-right-radius: 10px;
}
.product-box-slide .spec-container table tr:last-child td:first-child {
    border-bottom-left-radius: 10px;
}
.product-box-slide .spec-container table tr:last-child td:last-child {
    border-bottom-right-radius: 10px;
}
.product-box-slide .spec-container table tr td .spec-name {
    color: #aaa;
    font-size: 16px;
    font-weight: 300;
}
.product-box-slide .spec-container table tr td .spec-value {
    color: #777;
    font-size: 16px;
    font-weight: 500;
}
.product-box-slide .color-container .color {
    width: 32px;
    height: 32px;
    border: 0;
}
.product-box-slide .prices {
    display: inline-flex;
    align-items: center;
    width: 100%;
    flex-wrap: wrap;
    margin: 30px 0;
}
.product-box-slide .prices .actual-price {
    color: #4faacd;
    font-size: 44px;
    font-weight: 700;
    line-height: 1;
}
.product-box-slide .prices .old-price {
    color: #999;
    font-size: 20px;
    text-decoration: line-through;
}
.product-box-slide .button {
    display: inline-flex;
    align-items: center;
}
.product-box-slide .button .catalog-quantity {
    max-width: 60px;
    height: 100%;
}
.product-box-slide .button .add-to-cart-button.btn.btn-outline-secondary {
    position: relative;
    background: transparent;
    padding: 12px 36px;
    color: #000;
    font-size: 16px;
    font-weight: 700;
    border: 2px solid #000;
    border-radius: 36px;
    height: 52px;
    transition: all .4s cubic-bezier(.645,.045,.355,1);
    -webkit-transition: all .4s cubic-bezier(.645,.045,.355,1);
}
.product-box-slide .button .add-to-cart-button.btn.btn-outline-secondary:hover {
    background-color: #1c1b1b;
    border: 1px solid #4faacd;
}
.product-box-slide .picture-outer {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}
.product-box-slide .picture-outer a {
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
}
.product-box-slide .picture-outer img {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    width: auto;
    height: auto;
    max-width: 100%;
    -webkit-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}
.product-box-slide .picture-outer .hover-img {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    opacity: 0;
    visibility: hidden;
}
.product-box-slide .picture-outer:hover .hover-img {
    opacity: 1;
    visibility: visible;
}
.product-box-slide .picture-outer:hover .hover-img + .main-product-img {
    opacity: 0;
    visibility: hidden;
}
.product-box-slide .button .add-to-cart-button.btn.btn-outline-secondary::before {
    content: "";
    position: absolute;
    top: 50%;
    bottom: 0;
    right: -20px;
    width: 52px;
    height: 52px;
    border: 14px solid #4faacd;
    border-radius: 100%;
    background: transparent;
    -webkit-transform: translate(100%,-50%);
    transform: translate(100%,-50%);
    transition: all .4s cubic-bezier(.645,.045,.355,1);
    -webkit-transition: all .4s cubic-bezier(.645,.045,.355,1);
}
.product-box-slide .button .add-to-cart-button.btn.btn-outline-secondary::after {
    content: '';
    position: absolute;
    right: -87px;
    top: 50%;
    display: block;
    border-right: 0 solid #4faacd;
    border-bottom: 0 solid #4faacd;
    width: 26px;
    height: 26px;
    background: #4faacd;
    border-radius: 100%;
    transform: translate(50%,-50%) rotate(0);
    -webkit-transform: translate(50%,-50%) rotate(0);
    transition: all .4s cubic-bezier(.645,.045,.355,1);
    -webkit-transition: all .4s cubic-bezier(.645,.045,.355,1);
}
.product-box-slide .button .add-to-cart-button.btn.btn-outline-secondary:hover {
    background: #1b2833;
    border-color: #1b2833;
    color: #fff;
    border-radius: 0;
    animation: .4s cubic-bezier(.645,.045,.355,1) bouncer;
}
.product-box-slide .button .add-to-cart-button.btn.btn-outline-secondary:hover::before {
    right: 20px;
    width: 30%;
    height: 3px;
    border-radius: 0;
    border-width: 0;
    background: #4faacd;
}
.product-box-slide .button .add-to-cart-button.btn.btn-outline-secondary:hover::after {
    right: 12px;
    width: 15px;
    height: 15px;
    background: transparent;
    border-right: 3px solid #4faacd;
    border-bottom: 3px solid #4faacd;
    border-radius: 0;
    transform: translate(50%,-50%) rotate(135deg);
    -webkit-transform: translate(50%,-50%) rotate(135deg);
}

/* brands */

.brands-container {
    padding: 0 10%;
    background-color: #33495c;
}
.brands-container .swiper-wrapper {
    align-items: center;
    padding: 0 15%;
}
.brands-container .swiper-slide {
    padding: 30px;
    text-align: center;
}
.brands-container .swiper-slide a img {
    backface-visibility: hidden;
    filter: opacity(0.5);
    -webkit-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}
.brands-container .swiper-slide a:hover img {
    filter: opacity(1);
}

/* bestsellers */

.bestsellers {
    margin: 0 -15px;
    height: 680px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.bestsellers-container {
    padding: 15px;
}
.bestsellers .swiper-container {
    position: relative;
    background-color: #f4f4f4;
    border: 2px solid #000;
    border-radius: 15px;
}
.bestsellers .swiper-container::before {
    content: attr(data-title);
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: WorkSans, sans-serif;
    font-size: 245px;
    color: rgba(80, 184, 144, .3);
    z-index: -1;
}
.bestsellers .swiper-slide {
    height: 600px;
}

/* categories */

.category-item {
    display: block;
}
.category-item img {
    max-width: 100%;
}
.category-item{
    -webkit-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}
.category-item:hover {
    border-color: #4faacd;
    z-index: 6;
}
.category-item .title {
    font-size: 22px;
    font-weight: 400;
    color: #fff;  
    margin: 5px 0 0 0;
    white-space: pre-wrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.category-item {
    position: relative;
    border: 1px solid #d6d6d6;
    margin: 0 -1px;
}
.category-item .content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(255, 255, 255, .8));
}
.category-item .content .title {
    position: relative;
    color: #000;
    font-size: 32px;
    font-weight: 700;
    margin: 0;
}
.category-item .content span {
    color: #aaa;
    font-size: 16px;
    font-weight: 400;
}

/* products tabs */

.products-tabs .nav-tabs {
    position: relative;
    justify-content: center;
    flex-wrap: wrap;
    border: 0;
    top: 0px;
}
.products-tabs .nav-tabs .nav-item {
    -ms-flex-preferred-size: 0;
    flex-basis: 0;
    -ms-flex-positive: 1;
    flex-grow: 1;
    max-width: 100%;
}
.products-tabs .nav-tabs .nav-link {
	position: relative;
	margin: 0 0 1px 0;
	padding: 36px 26px;
	color: #000;
	background-color: #eaf0fa;
	font-size: 24px;
	font-weight: 700;
	text-align: center;
	border: 0;
	border-bottom: 1px solid #d6d6d6;
	border-right: 1px solid #d6d6d6;
	border-radius: 0;
	white-space: nowrap;
	-webkit-transition: all .2s ease-in-out;
	transition: all .2s ease-in-out;
}
.products-tabs .nav-tabs .nav-link.active {
	background-color: #4faacd4d;
}
.products-tabs .nav-tabs .nav-link::after {
	content: "";
	position: absolute;
	bottom: 0px;
	left: -1px;
	width: calc(100% + 2px);
	height: 5px;
	-webkit-transition: transform .3s cubic-bezier(.8,0,.2,1);
	transition: transform .3s cubic-bezier(.8,0,.2,1);
	-webkit-transform: scale3d(0,1,1);
	transform: scale3d(0,1,1);
	transform-origin: 100% 50%;
	border-top: 0;
	background: #4faacd;
	z-index: 1;
}
.products-tabs .nav-tabs .nav-link.active::after {
	-webkit-transform: scale3d(1,1,1);
	transform: scale3d(1,1,1);
	transform-origin: 0% 50%;
}
.products-tabs-content .section {
    padding: 0;
}

/* banners */

.home-page-banner {
	position: relative;
	top: -118px;
	padding: 15px 7.5px;
	background: #fff;
	z-index: 15;
}
.home-page-banner + * {
	margin-top: -118px;
}
.banner-col {
	padding: 0 7.5px;
}
.banner-content {
	display: flex;
	position: relative;
	cursor: pointer;
}
.banner-content .text {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	padding: 20px;
	transition: 0.5s;
	-webkit-transition: 0.5s;
}
.banner-content .text .title {
	font-size: 18px;
	font-weight: 500;
	line-height: 20px;
	margin: 0 0 5px 0;
}
.banner-content .text .content {
	color: #a2a2a2;
	font-size: 14px;
	font-weight: 500;
}
.banner-content img {
	max-width: 100%;
    width: auto;
    height: auto;
}
.banner-content .text::before, .banner-content .text::after {
	width: calc(100% - 20px);
	height: calc(100% - 20px);
	z-index: 3;
	content: '';
	position: absolute;
	top: 10px;
	left: 10px;
	box-sizing: border-box;
	-webkit-transform: scale(0);
	transition: 0.5s;
	-webkit-transition: 0.5s;
}
.banner-content .text::before {
	border-bottom: 2px solid #ddd;
	border-left: 2px solid #ddd;
	-webkit-transform-origin: 0 100%;
}
.banner-content .text::after {
	border-top: 2px solid #ddd;
	border-right: 2px solid #ddd;
	-webkit-transform-origin: 100% 0%;
}
.banner-content .text:hover::after, .banner-content .text:hover::before {
	-webkit-transform: scale(1);
	transform: scale(1);
}

/* category manufacturer featured products */

.featured-product-grid .category-image {
    position: relative;
    background-color: #eaf0fa;
}
.featured-product-grid .swiper-container, .featured-product-grid .swiper-container .technic-box {
    height: 100%;
}
.featured-product-grid .swiper-slide {
    height: auto;
}
.featured-product-grid .category-image::before {
    content: "";
    position: absolute;
    top: 0;
    right: -1px;
    bottom: -1px;
    left: -1px;
    border: 1px solid #d6d6d6;
    z-index: -1;
}
.featured-product-grid .category-image .content {
    position: absolute;
    bottom: 30px;
    left: 30px;
}
.featured-product-grid .category-image .content .desc {
    margin: 0 0 5px 0;
    font-size: 24px;
    font-weight: 500;
    color: #333;
    line-height: 1;
}
.featured-product-grid .category-image .content h3 {
    position: relative;
    color: #000;
    font-size: 44px;
    font-weight: 700;
    line-height: 1;
    margin: 0;
}
.featured-product-grid .category-image .content h3 span {
    position: absolute;
    width: 60px;
    height: 2px;
    bottom: -10px;
    left: 0;
    background: #4faacd;
    transition: width .8s cubic-bezier(.18,1,.23,1);
    -webkit-transition: width .8s cubic-bezier(.18,1,.23,1);
}
.featured-product-grid .category-image:hover .content h3 span {
    width: 100%;
} 
.featured-product-grid .category-container:nth-child(even) .category-image::before {
    top: -1px;
}
.featured-product-grid .category-container:nth-child(even) .category-image {
    order: 1;
}
.featured-product-grid .category-container:nth-child(even) .category-product {
    order: 2;
}

@media (min-width: 992px) {
    .main-slider {
        min-height: 550px;
    }
}
@media (max-width: 1399px) {
    .product-box-slide .spec-container table tr td {
        padding: 5px;
    }
    .product-box-slide .sale-label, .product-box-slide .flag-label {
        left: unset;
        right: 0;
    }
    .product-box-slide .sale-label + .flag-label {
        left: unset;
        right: 45px;
    }
    .product-box-slide .content .flag-label + .title, .product-box-slide .content .sale-label + .title {
        display: flex;
        width: calc(100% - 40px);
    }
    .product-box-slide .content .sale-label + .flag-label + .title {
        display: flex;
        width: calc(100% - 79px);
    }
    .product-box-slide .content .title a {
        font-size: 36px;
    }
    .product-box-slide .content .desc {
        max-height: 50px;
    }
    .product-box-slide .prices {
        margin: 15px 0;
    }
    .product-box-slide .prices .actual-price {
        font-size: 34px;
    }
    .featured-product-grid .category-image .content h3 {
        font-size: 28px;
    }
}
@media (max-width: 991px) {
    .product-box-slide .button .add-to-cart-button.btn.btn-outline-secondary::after, .product-box-slide .button .add-to-cart-button.btn.btn-outline-secondary::before {
        display: none;
    }
    .main-slider {
        height: auto;
    }
    .category-container:nth-child(odd) .category-image {
        order: 1;
        /* margin: 0 0 15px 0; */
    }
    .category-container:nth-child(odd) .category-product {
        order: 2
    }
    .home-page-banner + * {
        margin-top: 0;
    }
    #GrandCarousel .carousel-indicators {
        bottom: 0;
    }
    .gallery-item h3 {
        font-size: 20px;
    }
}
@media (max-width: 575px) {
    .product-box-slide .attr-container {
        display: flex;
        justify-content: center;
    }
    .product-box-slide .picture-outer img {
        max-width: 220px;
    }
    .featured-product-grid .category-image .content {
        bottom: 10px;
        left: 10px;
    }
    .featured-product-grid .category-image .content h3 {
        font-size: 24px;
    }
    #GrandCarousel .h1 {
        font-size: 24px;
    }
    #GrandCarousel .h5 {
        font-size: 16px;
    }
    #GrandCarousel .btn {
        padding: 5px 10px;
        font-size: 14px;
    }
    .cat-gallery {
        display: inline-flex;
        overflow-x: auto;
        overflow-y: hidden;
    }
    .cat-gallery .gallery-item {
        -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        max-width: 50%;
    }
    .featured-product-grid .category-container .category-product {
        order: 2;
    }
    .featured-product-grid .category-container .category-image {
        order: 1;
        /* margin: 0 0 15px 0; */
    }
    .products-tabs .nav-tabs {
        justify-content: center;
        width: 100%;
        flex-wrap: wrap;
        white-space: nowrap;
    }
    .products-tabs .nav-tabs .nav-link {
        padding: 20px 14px;
        font-size: 16px;
    }
    .generalTitle span::before {
        top: 18px;
    }
    .product-box-slide {
        padding: 0;
    }
    .product-box-slide .picture-outer {
        height: 300px;
        text-align: center;
    }
    .product-box-slide .content {
        padding: 0 0 15px 0;
        height: auto;
        align-items: center;
        text-align: center;
    }
    .product-box-slide .sale-label, .product-box-slide .flag-label {
        position: fixed;
        top: 0;
        left: 15px;
    }
    .product-box-slide .sale-label + .flag-label {
        left: 55px;
    }
    .product-box-slide .content .sale-label + .flag-label + .title {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
    .product-box-slide .content .title a {
        font-size: 26px;
    }
    .product-box-slide .content .desc {
        font-size: 14px;
        text-align: center;
        max-height: 65px;
    }
    .product-box-slide .prices {
        justify-content: center;
        margin: 25px 0 15px 0;
    }
    .main-slider .swiper-container-horizontal > .swiper-pagination-bullets {
        bottom: 15px;
    }
    .product-box-slide .button .add-to-cart-button.btn.btn-outline-secondary {
        margin: 0 0 40px 0;
    }
    .product-box-slide .button .catalog-quantity {
        margin: 0 0 40px 0;
        height: 56px;
    }
}