﻿/* home sections */

.generalTitle {
    margin: 15px 0;
}
[v-cloak] .products-tabs {
    display: none;
}
.home-page > div > .section {
    padding: 30px 0;
}

/* slide product */

.main-slider {
    position: relative;
    background-color: #162952;
    min-height: 100vh;
}
.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%;
}
.product-box-slide .content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    height: 100%;
    position: relative;
}
.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: #aaa;
    font-size: 16px;
    font-weight: 300;
}
.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 {
    background-color: #071738;
    border-color: rgba(255,255,255,.2);
    color: #fff;
}
.product-box-slide .attr-container tr td .btn-light.btn:hover {
    border-color: #dd191d;
}
.product-box-slide .sale-label, .product-box-slide .flag-label {
    position: absolute;
    top: 0;
    left: 0;
    width: 34px;
    writing-mode: vertical-lr;
    z-index: 3;
}
.product-box-slide .sale-label + .flag-label {
    left: 45px;
}
.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: linear-gradient(90deg,#6913d1 0,#2b6efa 100%);
    color: #fff;
    font-size: 22px;
    font-weight: 300;
}
.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 #6913d1;
    border-right: 17px solid #2b6efa;
    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 {
    margin: 0 0 15px 0;
    z-index: 3;
}
.product-box-slide .content .title a {
    color: #fff;
    font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
    font-size: 42px;
    font-weight: 700;
}
.product-box-slide .content .desc {
    color: #aaa;
    font-size: 16px;
    font-weight: 300;
    letter-spacing: 1px;
    margin: 0 0 15px 0;
    max-height: 100px;
    overflow: hidden;
}
.product-box-slide .spec-container table {
    min-width: 220px;
}
.product-box-slide .spec-container table tr td:first-child {
    background-color: rgba(255,255,255,.1);
}
.product-box-slide .spec-container table tr td:not(:first-child) {
    text-align: center;
}
.product-box-slide .spec-container table tr td {
    color: #fff;
    font-weight: 500;
    padding: 10px;
    border: 1px dashed rgba(255,255,255,.2);
}
.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: #ddd;
    font-size: 16px;
    font-weight: 500;
}
.product-box-slide .color-container .color {
    width: 32px;
    height: 32px;
}
.product-box-slide .prices {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    margin: 0 0 0 30px;
    font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
}
.product-box-slide .prices .actual-price {
    color: #fff;
    font-size: 36px;
    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;
    flex-wrap: nowrap;
    margin: 0 0 5px 0;
}
.product-box-slide .button .catalog-quantity {
    max-width: 65px;
    height: 54px;
    margin: 0 5px 0 0;
    border-radius: 20px;
}
.product-box-slide .button .add-to-cart-button.btn.btn-outline-secondary {
    padding: 15px 35px;
    border: 0;
    background: #6913d1;
    background: linear-gradient( 
90deg
 ,rgba(105,19,209,1) 0%,rgba(43,110,250,1) 100%);
    border-radius: 20px;
}
.product-box-slide .picture-outer {
    position: relative;
    height: calc(100vh - 57px);
    display: flex;
    align-items: center;
    justify-content: center;
}
.product-box-slide .picture-outer img {
    width: auto;
    height: auto;
    max-height: calc(100vh - 57px);
    background-color: transparent;
    -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;
    background-color: #162952;
}
.product-box-slide .picture-outer:hover .hover-img {
    opacity: 1;
    visibility: visible;
}
.product-box-slide .game-rating {
    display: inline-flex;
    align-items: center;
}
.product-box-slide .game-rating .rating {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    margin: 0 0 0 10px;
    line-height: 1;
}
.product-box-slide .game-rating .rating .b-rating-star-empty .b-icon.bi {
    color: #3a496a;
}
.product-box-slide .game-rating .rating .title {
    color: #d9d8d7;
    font-size: 14px;
    font-weight: 500;
    margin: 0;
}
.product-box-slide .game-rating .rating .b-rating-value {
    display: none;
}
.product-box-slide .game-rating .mkCharts {
    position: relative;
}
.product-box-slide .game-rating .mkCharts::before {
    content: "";
    position: absolute;
    top: 13px;
    right: 13px;
    bottom: 13px;
    left: 13px;
    border-radius: 100%;
    background: linear-gradient(to top,rgba(255,255,255,.1),rgba(255,255,255,.05));
    z-index: -1;
}
.product-box-slide .img-bg {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    opacity: .2;
    z-index: -1;
}
.product-box-slide .main-box-container {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    margin: 15px 0 0 0;
}

/* home categories */

.category-item .content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 15px;
    background: rgba(0,0,0,.3);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    border: 1px solid rgba(255,255,255,.3);
    -webkit-transition: all .2s ease;
    transition: all .2s ease;
}
.category-item .content:hover {
    background: transparent;
}
.category-item .content .title {
    color: #fff;
    font-size: 28px;
    font-weight: 700;
    margin: 0;
}
.category-item .content .desc {
    color: #fff;
    font-size: 18px;
    font-weight: 300;
    line-height: 1;
}

/* products tabs */

.products-tabs .nav-tabs {
    position: relative;
    justify-content: flex-start;
    border: 0;
}
.products-tabs .nav-tabs li:first-child::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50%;
    height: 1px;
    background: linear-gradient(to right, transparent, #555);
    z-index: -1;
}
.products-tabs .nav-tabs li:first-child::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0px;
    width: 50%;
    height: 1px;
    background: linear-gradient(to right, #555, transparent);
    z-index: -1;
}
.products-tabs .nav-tabs .nav-link {
	position: relative;
	margin: 0 0 1px 0;
	padding: 12px 26px;
	font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
	color: #aaa;
	background-color: transparent;
	font-size: 22px;
	font-weight: 500;
	border: 0;
	border-radius: 0;
	border-bottom: 0;
	-webkit-transition: all .2s ease-in-out;
	transition: all .2s ease-in-out;
}
.products-tabs .nav-tabs .nav-link.active {
	color: #fff;
	background-color: transparent;
	border-color: #555;
}
.products-tabs .nav-tabs .nav-link::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: -1px;
	width: calc(100% + 2px);
	height: 3px;
	-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-color: #dd191d;
	z-index: 4;
}
.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 {
	margin: 15px 0;
}
.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);
}

/* home page section */

.home-page-section:first-of-type {
    margin: 30px 0 30px 0;
}
.home-page-section .b-skeleton {
    border-radius: 4px;
}

/* home page categories */

.cat-gallery {
    display: grid;
    grid-template-columns: 40% 30% 30%;
    grid-gap: 10px;
    width: 100%;
    overflow: hidden;
}
.cat-gallery .gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.cat-gallery .gallery-item {
    position: relative;
}
.cat-gallery .gallery-item h3 {
    position: absolute;
    bottom: 10px;
    left: 10px;
    margin: 0;
    z-index: 2;
}
.cat-gallery .gallery-item:nth-child(4n-3) {
    grid-column: 1;
    grid-row: 1/3;
}
.cat-gallery .gallery-item:nth-child(4n-2) {
    grid-column: 2;
    grid-row: 1;
}
.cat-gallery .gallery-item:nth-child(4n-1) {
    grid-column: 2;
    grid-row: 2;
}
.cat-gallery .gallery-item:nth-child(4n) {
    grid-column: 3;
    grid-row: 1/3;
}

/* category manufacturer featured products */

.featured-product-grid {
    position: relative;
}
.featured-product-grid .category-container {
    margin: 0 0 15px 0;
}
.featured-product-grid .category-container:hover {
    z-index: 3;
}
.featured-product-grid .category-container .category-image {
    z-index: 2;
}
.featured-product-grid .category-container .category-image a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 19px 38px rgba(0,0,0,0.30), 0 15px 12px rgba(0,0,0,0.22);
    border: 1px solid #333;
}
.featured-product-grid .category-container .category-image img {
    width: auto;
    height: auto;
}
.featured-product-grid .category-container .category-image a .content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 30px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, .8));
}
.featured-product-grid .category-container .category-image a .content .title {
    font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
    font-size: 28px;
    font-weight: 400;
}
.featured-product-grid .category-container .category-image a .content .desc {
    color: #aaa;
    font-size: 18px;
    font-weight: 300;
}
.featured-product-grid .category-container:nth-child(even) .category-image {
    margin: 0 0 15px 0;
    order: 1;
}
.featured-product-grid .category-container:nth-child(even) .category-product {
    order: 2;
} 
@media (max-width: 1399px) {
    .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 .button .add-to-cart-button.btn.btn-outline-secondary {
        padding: 15px 20px;
    }
    .product-box-slide .spec-container table tr td {
        padding: 5px;
    }
    .product-box-slide .content .title a {
        font-size: 36px;
    }
    .product-box-slide .content .desc {
        max-height: 50px;
    }
    .product-box-slide .prices {
        margin: 0 0 5px 15px;
    }
    .product-box-slide .prices .actual-price {
        font-size: 34px;
    }
}
@media (max-width: 991px) {
    .product-box-slide .main-box-container {
        margin: 15px 0 40px 0;
    }
    .home-page-section {
        overflow: hidden;
    }
    .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;
    }
    .section {
        padding: 15px 0;
    }
    .gallery-item h3 {
        font-size: 20px;
    }
}
@media (max-width: 767px) {
    .product-box-slide .content {
        padding-bottom: 10%;
    }
}
@media (max-width: 575px) {
    .product-box-slide .prices {
        margin: 0;
    }
    .product-box-slide .button {
        margin: 10px 0 0 0;
    }
    .product-box-slide .main-box-container {
        flex-direction: column-reverse;
    }
    #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: 10px 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 .picture-outer img {
        max-height: 300px;
    }
    .product-box-slide .content {
        text-align: center;
        align-items: center;
    }
    .product-box-slide .sale-label, .product-box-slide .flag-label {
        position: fixed;
        top: 15px;
        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;
    }
    .main-slider .swiper-container-horizontal > .swiper-pagination-bullets {
        bottom: 15px;
    }
}