.fa-search:before{content:"\f002"}
.fa-shopping-cart:before{content:"\f07a"}
.fa-angle-double-right:before{content:"\f101"}
.fa-cog:before{content:"\f013"}
.fa-caret-down:before{content:"\f0d7"}
.fa-caret-up:before{content:"\f0d8"}
.fa-times:before{content:"\f00d"}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.loader {
    position: fixed;
    top: 0;
    left: 0;
    display: none;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100vh;
    font-size: 54px;
    background-color: rgba(0, 0, 0, .5);
    color: #fff;
    z-index: 200;
}

.loader.show {
    display: flex;
}

.loader .fa {
    animation: spin 3s linear infinite;
}

.top-section {
    background-image: url(/static/turbomicron/images/promo-bg.jpg);
    background-size: cover;
    background-position: center center;
    height: 300px;
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.top-section::before {
    content: '';
    display: block;
    width: 100%;
    height: 300px;
    position: absolute;
    left: 0;
    top: 0;
    background: rgba(0,0,0,.5);
    z-index: 1;
}

.top-section-name {
    font-weight: 100;
    font-size: 30px;
    line-height: 34px;
    color: #fff;
    z-index: 2;
    text-align: center;
    width: 80%;
}

.top-section_breadcrumbs {
    position: absolute;
    width: 100%;
    left: 0;
    bottom: 0;
    background: rgba(0,0,0,.5);
    z-index: 2;
}

.top-section_list {
    padding: 3px 0;
}

.list_item {
    position: relative;
    display: inline-block;
}

.list_item:not(:last-child) {
    margin-right: 22px;
}

.list_item a {
    font-size: 14px;
    color: #08ad2c;
}

.list_item a:hover {
    color: #fff;
}

.list_item:not(:last-child)::after {
    content: '';
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width: 5px;
    height: 5px;
    background: #08ad2c;
    position: absolute;
    right: -14px;
    top: 10px;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

.category-page,
.product-page,
.order-page {
    max-width: 1600px;
    margin: 0 auto;
    padding: 30px 0 45px; 
}

.category-page .container ,
.product-page .container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.category-page .sidebar,
.product-page .sidebar {
    width: 300px;
}

.category-page .sidebar .btn-dropdown,
.product-page .sidebar .btn-dropdown {
    display: none;
}

.category-page .page-content,
.product-page .page-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    width: calc(100% - 320px);
}

.categories-list .list-item {
    margin-bottom: 10px;
}

.categories-list .list-item > a {
    display: block;
    min-height: 40px;
    padding: 5px 10px;
    font-size: 16px;
    line-height: 30px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    background: #08ad2c;
    border-radius: 5px;
    box-sizing: border-box;
    opacity: .9;
}

.categories-list .list-item > a:hover,
.categories-list .list-item > a.active {
    background: #079c28;
    opacity: 1;
}

.categories-list .sublist {
    padding: 10px 0 0 25px;
}

.categories-list .sublist .sublist-item {
    margin-bottom: 10px;
}

.categories-list .sublist .sublist-item > a {
    display: block;
    min-height: 36px;
    padding: 5px 8px;
    font-size: 14px;
    line-height: 26px;
    color: #000;
    text-decoration: none;
    background: rgba(8, 173, 44, .2);
    border-radius: 5px;
    box-sizing: border-box;
    opacity: .9;
}

.categories-list .sublist .sublist-item > a:hover,
.categories-list .sublist .sublist-item > a.active {
    background: rgba(8, 173, 44, .3);
    opacity: 1;
}

.search {
    position: relative;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    min-width: 100%;
    flex: 1;
    margin-right: 20px;
    margin-bottom: 20px;
}

.search input {
    width: calc( (100% - 72px) / 2);
    height: 40px;
    margin: 0;
    font-size: 16px;
    line-height: 20px;
}

.search select {
    width: calc( (100% - 72px) / 4);
    height: 40px;
    margin: 0;
    font-size: 16px;
    line-height: 20px;
}

.search .btn-search {
    width: 40px;
    height: 40px;
    background: #08ad2c;
    border-radius: 3px;
    color: #fff;
    border: none;
}

.search .btn-search:hover {
    background: #079c28;
}

.products-grid {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    margin-top: 25px;
}

.related-products {
    width: 100%;
    margin: 25px 0 20px;
}

.related-products h3 {
    margin: 0 0 15px;
}

.related-products .item-wrap {
    padding: 5px;
}

.products-grid .product-item,
.related-products .product-item {
    position: relative;
    display: block;
    width: calc(25% - 15px);
    padding: 10px 10px 50px;
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 16px;
    color: #000;
    border-radius: 3px;
    box-shadow: 0 2px 5px 1px rgba(0, 0, 0, .05);
    box-sizing: border-box;
    transition: all .3s;
}

.related-products .product-item {
    width: auto;
}

.products-grid .product-item:hover,
.related-products .product-item:hover {
    box-shadow: 0 2px 10px 1px rgba(0, 0, 0, .15);
}

.products-grid .product-item:not(:nth-of-type(4n)) {
    margin-right: 20px;
}

.products-grid .product-item .product-image,
.related-products .product-item .product-image {
    display: block;
    width: 100%;
    height: 250px;
    overflow: hidden;
    cursor: pointer;
}

.products-grid .product-item .product-image img,
.related-products .product-item .product-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all .3s;
}

.products-grid .product-item .product-image:hover img,
.related-products .product-item .product-image:hover img {
    transform: scale(1.1);
}

.products-grid .product-item .product-title,
.related-products .product-item .product-title {
    margin: 10px 0 5px;
    font-size: 16px;
    line-height: 20px;
    text-align: center;
}

.products-grid .product-item .price,
.related-products .product-item .price {
    display: block;
    margin: 5px auto;
    font-size: 18px;
    line-height: 20px;
    font-weight: bold;
    color: #08ad2c;
    text-align: center;
}

.products-grid .product-item .btns-group,
.related-products .product-item .btns-group {
    position: absolute;
    left: 10px;
    bottom: 10px;
    display: flex;
    width: calc(100% - 20px);
}

.products-grid .product-item .btn-product,
.related-products .product-item .btn-product {
    flex: 1;
    display: block;
    height: 30px;
    padding: 5px 8px;
    font-size: 14px;
    line-height: 19px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    background: #08ad2c;
    border-radius: 3px;
    box-sizing: border-box;
    border: none;
}

.products-grid .product-item .btn-product:hover,
.related-products .product-item .btn-product:hover {
    background: #079c28;
}

.products-grid .product-item .btn-product:not(:first-child),
.related-products .product-item .btn-product:not(:first-child) {
    margin-left: 5px;
}

.products-grid .product-item .btn-product.btn-sm,
.related-products .product-item .btn-product.btn-sm {
    max-width: 40px;
}

.bottom-navigation {
    margin: 40px auto 0;
}

.bottom-navigation ul {
    text-align: center;
}

.bottom-navigation ul li {
    display: inline-block;
    margin: 0 5px;
}

.bottom-navigation ul li.active {
    border: 1px solid #262626;
    padding: 6px 10px;
}

.bottom-navigation ul li span {
    color: #262626;
    font-weight: 500;
    padding: 6px 10px;
    border: 1px solid transparent;
    border-radius: 2px;
    position: relative;
    text-decoration: none;
    cursor: pointer;
}

.product-pictures {
    width: 400px;
    max-width: 100%;
    margin-right: 20px;
}

.product-pictures .big-picture img {
    width: 100%;
    height: 300px;
    margin-bottom: 10px;
    overflow: hidden;
}

.product-pictures .big-picture img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-pictures .pictures-list .picture-item {
    padding: 5px;
}

.product-pictures .pictures-list .picture-item.selected {
    background-color: #262626;
}

.product-pictures .pictures-list img {
    display: block;
    width: 100%;
    height: 100px;
    opacity: .9;
    object-fit: cover;
    cursor: pointer;
    transition: all .3s;
}

.product-pictures .pictures-list img:hover {
    opacity: 1;
}

.product-info {
    width: calc(100% - 420px);
}

.product-info h2 {
    font-size: 24px;
    line-height: 30px;
    margin: 0 auto 20px;
}

.product-info .price {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 20px auto 30px;
    padding: 10px 15px;
    font-size: 28px;
    line-height: 36px;
    font-weight: bold;
    color: #08ad2c;
    text-align: center;
    border: 2px solid #08ad2c;
}

.product-info .price .cost {
    display: flex;
    flex-direction: column;
    white-space: nowrap;
}

.product-info .price .old {
    font-size: 22px;
    text-decoration: line-through;
    color: #ccc;
}

.product-info .price .countdown {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 300px;
    margin-bottom: 10px;
    color: #fff;
}

.product-info .price .countdown p {
    display: block;
    width: 100%;
    margin-bottom: 10px;
    font-size: 16px;
    color: #262626;
}

.product-info .price .countdown .countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 6px;
    background-color: #262626;
}

.product-info .price .countdown .countdown-item:not(:first-of-type) {
    margin-left: 6px;
}

.product-info .price .countdown .countdown-item .number {
    font-size: 33px;
    line-height: 1;
    font-weight: bold;
}

.product-info .price .countdown .countdown-item .text {
    font-size: 14px;
    line-height: 1;
    font-weight: normal;
}

.product-info .info-container .info-wrap:not(:last-of-type) {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #ccc;
}

.product-info .info-container .info-wrap.cols-2 {
    display: flex;
    flex-wrap: wrap;
}

.product-info .info-container .info-wrap.cols-2 .info-item {
    width: 50%;
}

.product-info .info-item {
    margin-bottom: 5px;
}

.product-info button {
    display: block;
    width: 200px;
    max-width: calc(50% - 10px);
    height: 40px;
    padding: 8px 10px;
    margin-top: 20px;
    font-size: 16px;
    line-height: 24px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    background: #08ad2c;
    border-radius: 4px;
    box-sizing: border-box;
    border: none;
}

.product-info button:hover {
    background: #079c28;
}

.product-info button.btn-callback {
    margin: 20px auto;
}

.product-info button.btn-add-cart {
    line-height: 20px;
    background: #eee;
    border: 2px solid #ccc;
    color: #262626;
}

.product-info button.btn-add-cart:hover {
    background: #ddd;
}

.product-info .actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.product-info .actions button:not(:first-of-type) {
    margin-left: 20px;
}

.product-tabs {
    width: 100%;
    margin: 25px 0 10px;
}

.product-tabs .tabs {
    display: flex;
    border-bottom: 1px solid #ccc;
    margin-bottom: 10px;
}

.product-tabs .tabs li {
    position: relative;
    padding: 5px 10px;
    border: 1px solid #fff;
    border-radius: 4px 4px 0 0;
    cursor: pointer;
}

.product-tabs .tabs li.active {
    border-color: #ccc;
    border-bottom-color: #fff;
}

.product-tabs .tabs li.active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    display: block;
    width: 100%;
    height: 1px;
    background-color: #fff;
}

.product-tabs .tabs li:not(:last-of-type) {
    margin-right: 10px;
}

.product-tabs .tabs-content .content-item {
    display: none;
    padding: 10px 15px;
}

.product-tabs .tabs-content .content-item.active {
    display: block;
}

.product-tabs .tabs-content .content-item p {
    margin-bottom: 10px;
}

.order-list {
    width: 100%;
    overflow-x: auto;
}

.order-list table {
    width: 780px;
    margin: 0 auto;
    border-collapse: collapse;
}

.order-list table thead {
    background-color: #eee;
}

.order-list table th,
.order-list table td {
    padding: 10px;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

.order-list table .col-number {
    width: 40px;
    text-align: center;
}

.order-list table .col-image {
    width: 200px;
}

.order-list table .col-image img {
    display: block;
    width: 120px;
    height: 120px;
    margin: 0 auto;
    object-fit: cover;
}

.order-list table .col-name {
    width: 340px;
}

.order-list table .col-name a {
    font-size: 16px;
    color: #232323;
}

.order-list table .col-name a:hover {
    opacity: .5;
}

.order-list table .col-price {
    width: 80px;
    text-align: center;
}

.order-list table .col-count {
    width: 120px;
}

.order-list table .total-sum {
    text-align: right;
    font-size: 18px;
}

.order-list .quantity {
    display: flex;
    align-items: center;
}

.order-list .quantity .count {
    display: block;
    width: 30px;
    text-align: center;
}

.order-list .quantity .btn-group {
    display: flex;
    justify-content: space-between;
    width: 50px;
    height: 36px;
}

.order-list .quantity .btn-group button {
    width: 100%;
    height: 16px;
    border: none;
    border: 3px;    
    background: #eee;
    border: 1px solid #ccc;
    color: #232323;
    font-size: 14px;
    line-height: 14px;
    box-sizing: border-box;
}

.order-list .quantity .btn-group button:hover {
    background-color: #ddd;
}

.order-list .quantity .btn-group .quantity-group {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 23px;
}

.order-list .quantity .btn-group .btn-remove {
    width: 23px;
    height: 100%;
    background-color: #fff;
    color: #f00;
    border: none;
}

.order-list .quantity .btn-group .btn-remove:hover {
    background-color: #eee;
}

.order-form {
    padding: 45px 0 15px;
}

.order-form .container {
    max-width: 800px;
    margin: 0 auto;
}

.order-form .container p {
    margin-bottom: 10px;
}

.order-form form textarea {
    height: 150px;
}

/* Media queries */
@media screen and (min-width: 768px) {
    .top-section-name {
        font-size: 50px;
        line-height: 60px;
    }
}

@media (max-width: 1280px) {
    .category-page .sidebar, 
    .product-page .sidebar {
        width: 280px;
    }
    .category-page .page-content, 
    .product-page .page-content {
        width: calc(100% - 300px);
    }
    .products-grid .product-item {
        width: calc((100% - 40px) / 3);
    }
    .products-grid .product-item:not(:nth-of-type(4n)) {
        margin-right: 0;
    }
    .products-grid .product-item:not(:nth-of-type(3n)) {
        margin-right: 20px;
    }
}

@media (max-width: 1049px) {
    .category-page .container,
    .product-page .container {
        display: flex;
        flex-direction: column;
    }

    .category-page .sidebar,
    .product-page .sidebar {
        width: 100%;
        margin-bottom: 30px;
    }

    .category-page .sidebar .categories-list,
    .product-page .sidebar .categories-list {
        display: none;
    }

    .category-page .sidebar .categories.open .categories-list,
    .product-page .sidebar .categories.open .categories-list {
        display: block;
    }

    .category-page .sidebar .btn-dropdown,
    .product-page .sidebar .btn-dropdown {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: 10px 15px;
        font-size: 16px;
        line-height: 20px;
        margin: 0 0 10px;
        background: transparent;
        border: none;
        border-bottom: 2px solid #08ad2c;
        text-align: left;
    }

    .category-page .sidebar .open .btn-dropdown .fa,
    .product-page .sidebar .open .btn-dropdown .fa {
        transform: rotateX(180deg);
    }

    .category-page .page-content,
    .product-page .page-content {
        width: 100%;
    }
}

@media (max-width: 767px) {
    .search {
        flex: none;
        width: 100%;
        margin: 0 0 20px;
        justify-content: flex-end;
    }

    .search input,
    .search select {
        width: 100%;
        margin-bottom: 10px;
    }

    .search .btn-search {
        width: 120px;
    }

    .products-grid .product-item {
        width: calc(50% - 10px);
    }

    .products-grid .product-item:not(:nth-of-type(3n)) {
        margin-right: 0;
    }

    .products-grid .product-item:not(:nth-of-type(2n)) {
        margin-right: 20px;
    }

    .product-page .page-content {
        justify-content: center;
    }

    .product-pictures {
        margin-right: 0;
    }

    .product-info {
        width: 100%;
        margin: 25px 0;
    }

    .product-tabs .tabs {
        flex-wrap: wrap;
        border-bottom: none;
        justify-content: space-around;
    }

    .product-tabs .tabs li {
        border-color: #ccc;
        border-radius: 4px;
        white-space: nowrap;
        margin-bottom: 10px;
    }

    .product-tabs .tabs li.active {
        background: #eee;
        border-color: #ccc;
        border-radius: 4px;
    }

    .order-list table {
        width: 580px;
        font-size: 14px;
    }

    .order-list table .col-number {
        width: 30px;
    }

    .order-list table .col-image {
        width: 110px;
    }

    .order-list table .col-image img {
        width: 90px;
        height: 90px;
    }

    .order-list table .col-name {
        width: 280px;
    }

    .order-list table .col-price {
        width: 60px;
    }

    .order-list table .col-count {
        width: 100px;
    }

    .order-list table .total-sum {
        font-size: 16px;
    }
}

@media (max-width: 580px) {
    .category-page .sidebar {
        margin-bottom: 20px;
    }

    .category-page .sidebar .btn-dropdown {
        padding: 7px 10px;
    }

    .products-grid .product-item {
        width: 100%;
    }

    .products-grid .product-item:not(:nth-of-type(2n)) {
        margin-right: 0;
    }

    .product-info .info-container .info-wrap.cols-2 .info-item {
        width: 100%;
    }

    .product-tabs .tabs li {
        padding: 5px;
        font-size: 14px;
    }
}