/**
 * Top tags
 */

.full-top-tags {
    background-color: #fff;
    padding: 12px 0 2px;
    .box-shadow(0 8px 8px rgba(0, 0, 0, 0.1));

    ul {
        margin: 0;
        padding: 0;
        list-style: none;
        font-size: 92.857%;
        .clearfix();
    }

    ul li {
        float: right;

        &:not(:last-child):after {
            content: "/";
            margin: 0 10px;
        }

        &.tag-label {
            margin-left: 10px;
            color: #222;
            font-weight: 700;
        }

        &.tag-label:after {
            display: none;
        }

        a {
            color: #888;
        }
    }
}

/**
 * Title block center
 */

.title-block-center {
    .stagepadding-slider .block .block-title {
        margin-bottom: 10px !important;
    }

    .block .block-title {
        text-align: center;
    }

    .block .block-title strong {
        font-size: 257.142% !important;
    }
}

.slider-home-full .products-grid .product-item {
    margin-bottom: 15px;
}

/**
 * Latest new
 */

.blog-style-2 {
    .item {
        background-color: #fff;
        padding: 15px 15px 25px;
        margin-bottom: 15px;
        .border-radius(20px);
        .transition(.1s);

        &:hover {
            .box-shadow(0 0 15px rgba(0, 0, 0, 0.15));
        }
    }

    .image-post {
        margin-bottom: 10px;
    }

    .image-post img {
        opacity: 1 !important;
        .border-radius(10px);
    }

    .post-date {
        font-size: 85.714%;
    }

    .post-title {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        margin: 7px 0 12px;
    }

    .post-title a {
        font-size: 116.285%;
        font-weight: 700;
    }

    .post-short-description {
        display: none;
    }

    .post-read-more a {
        display: inline-block;
        font-size: 92.857%;
        background-color: #f5f5f5;
        padding: 10px 20px;
        text-transform: uppercase;
        .border-radius(4px);
        .transition(.1s);
    }
}

/**
 * Service home
 */

.services-home {
    .service-item {
        margin-bottom: 30px;
        .clearfix();
    }

    .service-image {
        float: right;
        width: 80px;
        height: 80px;
        .border-radius(20px);
    }

    .service-info {
        margin-right: 100px;
        padding-top: 12px;

        .top {
            font-size: 128.571%;
            color: #222;
            font-weight: 700;
            margin-bottom: 3px;
        }

        p {
            color: #666;
        }
    }
}

/**
 * Client says
 */

.client-says {
    padding-left: 60px;
    background-color: #2f2f3b;
    color: #fff;
    .border-radius(20px 30px 30px 20px);

    .content {
        padding: 50px;
        background-color: #3b3b4a;
        .border-radius(0 20px 20px 0);
    }

    .item {
        .clearfix();
    }

    .client-image {
        float: right;
        width: 120px;
        overflow: hidden;
        .border-radius(15px);
    }

    .client-text {
        margin-right: 170px;
        position: relative;
        top: -5px;
    }

    .text {
        font-size: 128.571%;
        margin-bottom: 15px;
        max-width: 995px;
    }

    .name {
        text-transform: uppercase;
        font-size: 171.428%;
        line-height: 1;
        position: relative;
        top: 7px;
    }

    .owl-theme .owl-dots {
        margin: 0 !important;
        position: absolute;
        left: -94px;
        top: 50%;
        .transform(translate(0, -50%));
    }

    .owl-theme .owl-dots .owl-dot {
        margin: 5px 0;
        display: block;
    }

    .dot-style-2 .owl-theme .owl-dots .owl-dot span {
        opacity: .3;
    }

    .dot-style-2 .owl-theme .owl-dots .owl-dot {

        &:hover,
        &.active {
            span {
                opacity: 1;
            }
        }
    }
}

/**
 * Shopby categories
 */

.shopby-categories {
    .stagepadding-slider .owl-carousel .owl-stage {
        padding-top: 25px;
    }

    .block .block-title {
        margin-bottom: 0 !important;
    }

    .block-content {
        position: relative;
        padding: 0 100px;

        &:before {
            content: "";
            position: absolute;
            right: 0;
            left: 0;
            bottom: 0;
            height: 100px;
            .border-radius(50px);
        }
    }

    .item {
        text-align: center;
    }

    .cat-image {
        overflow: hidden;
        position: relative;
        top: 0;
        .border-radius(15px);
        .transition(.1s);

        &:hover {
            top: -10px;
            .box-shadow(0 0 15px rgba(0, 0, 0, 0.1));
        }
    }

    .cat-title {
        text-transform: uppercase;
        padding-top: 13px;
        padding-bottom: 6px;
    }

    .owl-theme .owl-nav {
        margin: 0;
    }

    .owl-theme .owl-nav [class*="owl-"] {
        background-color: #fff;
        color: #222;
        border: none;
        width: 60px;
        height: 60px;
        text-align: center;
        line-height: 60px;
        padding: 0;
        margin: 0;
        position: absolute;
        bottom: 20px;
        .border-radius(50%);

        &:hover {
            opacity: .9;
        }

        &.owl-next {
            right: -65px;
        }

        &.owl-next:before {
            .icomoon(e929, 24px);
        }

        &.owl-prev {
            left: -65px;
        }

        &.owl-prev:before {
            .icomoon(e927, 24px);
        }
    }
}

/**
 * Brand slider
 */

.dots-brand-slider {
    .item {
        margin-bottom: 10px;
    }

    .item a {
        display: block;
        border: 2px solid transparent;
        padding: 10px;
        .border-radius(10px);
        .transition(.1s);
    }
}

/**
 * Deal
 */
.title-block-center .count-down-group .block-title strong {
    font-size: 171.428% !important;
}

.count-down-group {
    background-color: #ff456c;
    .border-radius(40px 50px 50px 40px);

    .block-title {
        float: right;
        width: 70px;

        strong {
            width: 13px;
            word-wrap: break-word;
            line-height: 43px;
            display: block;
            text-transform: uppercase;
            letter-spacing: 22px;
            text-align: center;
            margin: 30px auto 0;
            color: #fff !important;
            direction: ltr;
        }
    }

    .block-content {
        margin-right: 70px;
        background-color: #3b3b4a;
        padding: 30px 0 30px 30px;
        .border-radius(40px 0 0 40px);
    }

    .deals-countdown {
        float: right;
        width: 120px;
        margin: 0;
        padding-top: 15px;

        .deals-time {
            display: block;
            background: none;
            border: none;
            padding: 0;
            text-align: center;
            width: 66px;
            margin: 0 auto 10px;
        }

        .num-time {
            background-color: #fff;
            font-size: 171.428%;
            height: 40px;
            line-height: 40px;
            font-weight: 400;
            color: #222;
            margin-bottom: 5px;
            .border-radius(10px);
        }

        .title-time {
            text-transform: uppercase;
            color: #fff;
            font-size: 85.714%;
        }
    }

    .slider-content {
        margin-right: 120px;
    }

    .product-item-info {
        max-width: unset;
        width: unset;
        background-color: #fff;
        overflow: hidden;
        .border-radius(20px);
        .clearfix();

        .product-reviews-summary .reviews-actions {
            display: none;
        }

        .image-product {
            float: right;
            width: 50%;
            position: relative;
        }

        .product-item-details {
            float: left;
            width: 50%;
            padding-right: 20px;
            padding-top: 35px;
        }

        .product-item-name {
            font-size: 114.285%;
        }

        .price-box .price {
            font-size: 142.857%;
        }

        .product-item-actions .actions-primary {
            float: right;
        }

        .product-item-actions .actions-primary .tocart {
            height: 40px;
            line-height: 40px;
            padding: 0 20px;
            background-color: #f5f5f5;
            color: #222;
            text-transform: uppercase;
            float: right;
            .border-radius(3px);
            .transition(.1s);
        }

        .actions-secondary {
            float: right;
        }

        .actions-secondary .action {
            background-color: #f5f5f5;
            display: block;
            float: right;
            margin-right: 5px;
            width: 40px;
            height: 40px;
            text-align: center;
            line-height: 40px;
            color: #222;
            .border-radius(3px);
            .transition(.1s);

            &:before {
                display: none;
            }

            &.towishlist:after {
                .icomoon(e93f, 14px);
            }

            &.tocompare:after {
                .icomoon(e953, 14px);
            }
        }
    }

    .owl-theme .owl-nav {
        margin: 0;
    }

    .owl-theme .owl-nav [class*="owl-"] {
        background-color: #fff;
        border: 2px solid #eee;
        color: #222;
        width: 50px;
        height: 50px;
        text-align: center;
        line-height: 46px;
        padding: 0;
        position: absolute;
        top: 50%;
        margin: -25px 0 0;
        .border-radius(50%);
        .transition(.1s);

        &.owl-next {
            right: 15px;
        }

        &.owl-next:before {
            .icomoon(e929, 18px);
        }

        &.owl-prev {
            left: 15px;
        }

        &.owl-prev:before {
            .icomoon(e927, 18px);
        }
    }

    .quickview-handler {
        display: block;
        width: 60px;
        height: 60px;
        text-align: center;
        line-height: 60px;
        background-color: #fff;
        color: #222;
        position: absolute;
        top: 50%;
        right: 50%;
        margin-right: -30px;
        margin-top: -30px;
        z-index: 20;
        opacity: 0;
        visibility: hidden;
        .box-shadow(0 0 10px rgba(0, 0, 0, 0.15));
        .border-radius(50%);
        .transition(.1s);

        span {
            display: none;
        }

        &:before {
            .icomoon(e954, 18px);
        }
    }

    .product-item-info:hover {
        .quickview-handler {
            opacity: 1;
            visibility: visible;
        }
    }
}

/**
 * Listing tab full
 */

.tab-full {
    .block-title {
        display: table;
        text-align: right !important;
        margin-bottom: 28px !important;
    }

    .ltabs-loadmore {
        display: none !important;
    }

    .products.wrapper.products-grid .product-items {
        margin: 0;
    }

    .ltabs-wrap {
        .clearfix();
    }

    .ltabs-tabs-container {
        float: right;
        width: 240px;
    }

    .listingtabs-cms {
        float: left;
        width: calc(~'100% - 240px');
        padding-right: 60px;
        margin-top: -70px;
    }

    .sm-listing-tabs .ltabs-tabs-container .ltabs-tabs li {
        display: block;
        margin: 0 0 10px;
        padding: 0 20px 0 30px;
        border: none;
        height: 50px;
        line-height: 50px;
        background-color: #fff;
        text-transform: uppercase;
        font-weight: normal;
        color: #222;
        .border-radius(25px 0 0 25px);
        .transition(.1s);

        &:after {
            opacity: 0;
            float: left;
            .icomoon(e927, 18px);
            .transition(.1s);
        }

        &.tab-sel:after {
            opacity: 1;
        }
    }

    .tab-banner {
        float: right;
        width: 550px;
    }

    .item-row {
        float: right;
        width: 270px;
        margin-right: 10px;

        .product-item {
            width: 100% !important;
            padding: 0 !important;
        }
    }

    .banner-image {
        margin-bottom: 10px;
    }

    .product-item {
        margin-bottom: 10px !important;
    }

    .product-items {
        > div:nth-of-type(2),
        > div:nth-of-type(3),
        > div:nth-of-type(6) {
            float: left;
        }

        > div:nth-of-type(4) {
            float: right;
            margin-left: 10px;
            margin-right: 0;
        }

        > div:nth-of-type(5) {
            float: right;
            margin-right: 0;
            margin-left: 0;
        }

    }

    .product-items > div:nth-of-type(6) {
        width: 550px;

        .product-item-info {
            .clearfix();
        }

        .product-item-info .image-product {
            float: right;
            width: 270px;
        }

        .product-item-info .product-item-details {
            margin-right: 290px;
            text-align: right;
            padding-top: 40px;
        }

        .product-item-name {
            margin-bottom: 15px;
        }

        .product-reviews-summary {
            margin-bottom: 9px;
        }

        .price-box {
            margin-bottom: 15px;
        }

        .quickview-handler {
            right: 135px;
            margin-right: -30px;
            margin-left: auto;
        }

        .product-item-info .product-item-details .product-item-actions {
            display: inline-block;
            padding: 0;

            .actions-primary {
                float: right;
            }

            .actions-secondary {
                float: right;
            }

            .actions-secondary .action {
                position: static;
                float: right;
                margin-right: 5px;
            }
        }
    }
}

/**
 * Group product
 */

.group-products {
    .product-items {
        margin-right: -5px;
        margin-left: -5px;
        .clearfix();
    }

    .products-grid .product-item {
        padding: 0 5px !important;
        float: right;
        width: 33.3333% !important;
        margin: 0 0 10px;
    }

    .products-grid .product-item:first-child .image-product {
        max-width: 443px;
        margin: 0 auto;
    }

    .products-grid .product-item:not(:first-child) {
        .product-item-info {
            .clearfix();
        }

        .image-product {
            float: right;
            width: 200px;
        }

        .product-item-details {
            margin-right: 220px;
            text-align: right;
            padding: 25px 0 0;
        }

        .product-item-info .product-item-details .product-item-actions {
            display: inline-block;
            padding: 0;

            .actions-primary {
                float: right;
            }

            .actions-secondary {
                float: right;
            }

            .actions-secondary .action {
                position: static;
                float: right;
                margin-right: 5px;
            }
        }

        .quickview-handler {
            right: 100px;
            margin-right: -30px;
            margin-left: auto;
        }
    }
}
