.product-cat-with-thumb {
    width: 100%;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    flex-flow: column-reverse;
    background-color: transparent;
    height: 290px;
}

.single-cat.category-layout-one h5 {
    margin: 0;
    padding-top: 10px;
    color: #fff;
    position: relative;
}
h5.product-count {
    font-size: 1rem;
    text-transform: inherit;
}
.single-cat.category-layout-one {
    position: relative;
}

.single-cat.category-layout-one:before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    left: 0;
    top: 0;
}

.product-cat-slider.owl-carousel .owl-nav {
    opacity: 0;
    visibility: hidden;
    transition: .4s;
}

.product-cat-slider.owl-carousel:hover .owl-nav {
    opacity: 1;
    visibility: visible;
}

.product-cat-slider.owl-carousel .owl-nav button {
    background: #fff;
    color: #222;
    font-weight: 700;
    border-radius: 50px;
    position: absolute;
    width: 40px;
    height: 40px;
    border-radius: 50px;
    background-color: #fff;
    bottom: 50%;
    margin-bottom: -20px;
}

.product-cat-slider.owl-carousel .owl-nav button:focus {
    outline: none;
    box-shadow: none;
}

.product-cat-slider.owl-carousel .owl-nav button:hover {
    color: #fff
}

.product-cat-slider.owl-carousel .owl-nav button.owl-prev {
    left: 10px;
}

.product-cat-slider.owl-carousel .owl-nav button.owl-next {
    right: 10px;
}

.product-cat-slider.owl-carousel .owl-dots {
    text-align: center;
}

.product-cat-slider.owl-carousel .owl-dots button {
    width: 10px;
    height: 10px;
    background: #444;
    border-radius: 50%;
    margin: 1px;
}

.product-cat-slider.owl-carousel .owl-dots button.active {
    background-color: #ddd;
}


.card {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 1px solid rgba(0, 0, 0, 0.125);
    border-radius: 0.25rem;
}

.card>hr {
    margin-right: 0;
    margin-left: 0;
}

.card>.list-group:first-child .list-group-item:first-child {
    border-top-left-radius: 0.25rem;
    border-top-right-radius: 0.25rem;
}

.card>.list-group:last-child .list-group-item:last-child {
    border-bottom-right-radius: 0.25rem;
    border-bottom-left-radius: 0.25rem;
}

.card-body {
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    padding: 1.25rem;
}

.card-title {
    margin-bottom: 0.75rem;
    margin-top: 0;
    color: #232323;
    font-size: 1rem;
}

.card-subtitle {
    margin-top: -0.375rem;
    margin-bottom: 0;
}

.card-text:last-child {
    margin-bottom: 0;
}

.card-link:hover {
    text-decoration: none;
}

.card-link+.card-link {
    margin-left: 1.25rem;
}

.card-header {
    padding: 0.75rem 1.25rem;
    margin-bottom: 0;
    background-color: rgba(0, 0, 0, 0.03);
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}

.card-header:first-child {
    border-radius: calc(0.25rem - 1px) calc(0.25rem - 1px) 0 0;
}

.card-header+.list-group .list-group-item:first-child {
    border-top: 0;
}

.card-footer {
    padding: 0.75rem 1.25rem;
    background-color: rgba(0, 0, 0, 0.03);
    border-top: 1px solid rgba(0, 0, 0, 0.125);
}

.card-footer:last-child {
    border-radius: 0 0 calc(0.25rem - 1px) calc(0.25rem - 1px);
}

.card-header-tabs {
    margin-right: -0.625rem;
    margin-bottom: -0.75rem;
    margin-left: -0.625rem;
    border-bottom: 0;
}

.card-header-pills {
    margin-right: -0.625rem;
    margin-left: -0.625rem;
}

.card-img-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 1.25rem;
}

.card-img {
    width: 100%;
    border-radius: calc(0.25rem - 1px);
}

.card-img-top {
    width: 100%;
    border-top-left-radius: calc(0.25rem - 1px);
    border-top-right-radius: calc(0.25rem - 1px);
}

.card-img-bottom {
    width: 100%;
    border-bottom-right-radius: calc(0.25rem - 1px);
    border-bottom-left-radius: calc(0.25rem - 1px);
}

.card-deck {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
}

.card-deck .card {
    margin-bottom: 15px;
}

@media (min-width: 576px) {
    .card-deck {
        -ms-flex-flow: row wrap;
        flex-flow: row wrap;
        margin-right: -15px;
        margin-left: -15px;
    }

    .card-deck .card {
        display: -ms-flexbox;
        display: flex;
        -ms-flex: 1 0 0%;
        flex: 1 0 0%;
        -ms-flex-direction: column;
        flex-direction: column;
        margin-right: 15px;
        margin-bottom: 0;
        margin-left: 15px;
    }
}

.card-group {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
}

.card-group>.card {
    margin-bottom: 15px;
}

@media (min-width: 576px) {
    .card-group {
        -ms-flex-flow: row wrap;
        flex-flow: row wrap;
    }

    .card-group>.card {
        -ms-flex: 1 0 0%;
        flex: 1 0 0%;
        margin-bottom: 0;
    }

    .card-group>.card+.card {
        margin-left: 0;
        border-left: 0;
    }

    .card-group>.card:first-child {
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
    }

    .card-group>.card:first-child .card-img-top,
    .card-group>.card:first-child .card-header {
        border-top-right-radius: 0;
    }

    .card-group>.card:first-child .card-img-bottom,
    .card-group>.card:first-child .card-footer {
        border-bottom-right-radius: 0;
    }

    .card-group>.card:last-child {
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
    }

    .card-group>.card:last-child .card-img-top,
    .card-group>.card:last-child .card-header {
        border-top-left-radius: 0;
    }

    .card-group>.card:last-child .card-img-bottom,
    .card-group>.card:last-child .card-footer {
        border-bottom-left-radius: 0;
    }

    .card-group>.card:only-child {
        border-radius: 0.25rem;
    }

    .card-group>.card:only-child .card-img-top,
    .card-group>.card:only-child .card-header {
        border-top-left-radius: 0.25rem;
        border-top-right-radius: 0.25rem;
    }

    .card-group>.card:only-child .card-img-bottom,
    .card-group>.card:only-child .card-footer {
        border-bottom-right-radius: 0.25rem;
        border-bottom-left-radius: 0.25rem;
    }

    .card-group>.card:not(:first-child):not(:last-child):not(:only-child) {
        border-radius: 0;
    }

    .card-group>.card:not(:first-child):not(:last-child):not(:only-child) .card-img-top,
    .card-group>.card:not(:first-child):not(:last-child):not(:only-child) .card-img-bottom,
    .card-group>.card:not(:first-child):not(:last-child):not(:only-child) .card-header,
    .card-group>.card:not(:first-child):not(:last-child):not(:only-child) .card-footer {
        border-radius: 0;
    }
}

.card-columns .card {
    margin-bottom: 0.75rem;
}

@media (min-width: 576px) {
    .card-columns {
        -webkit-column-count: 3;
        -moz-column-count: 3;
        column-count: 3;
        -webkit-column-gap: 1.25rem;
        -moz-column-gap: 1.25rem;
        column-gap: 1.25rem;
        orphans: 1;
        widows: 1;
    }

    .card-columns .card {
        display: inline-block;
        width: 100%;
    }
}

.card.category-second-layout {
    text-align: center;
}

.card.category-second-layout ul.child-categories {
    list-style: none;
    margin: 0;
    padding: 0;
    margin-bottom: 10px;
}

.card.category-second-layout ul.child-categories li a {
    color: #232323;
}

.card.category-second-layout ul.child-categories li a:hover {
    color: #61ce70;
}

.card.category-second-layout p.card-text {
    margin-bottom: 20px;
    margin-top: 0;
}

.btn.btn-primary {
    padding: .5rem 1.2rem;
    background-color: #61ce70;
    color: #fff;
    line-height: normal;
    display: inline-block;
}
.card.card-product .bottom-wrapper .btn.btn-primary:hover {
    background: #444;
    color: #fff;
}

.card.category-second-layout .btn.btn-primary {
    color: #fff;
    background: #0078ff;
}

.card-layout-three img {
    height: 300px;
    object-fit: cover;
}

/*layout style 4*/

.hovereffect {
    width: 100%;
    height: 100%;
    float: left;
    overflow: hidden;
    position: relative;
    text-align: center;
    cursor: default;
    background: -webkit-linear-gradient(45deg, #ff89e9 0%, #05abe0 100%);
    background: linear-gradient(45deg, #ff89e9 0%, #05abe0 100%);
}

.hovereffect .overlay {
    width: 100%;
    height: 100%;
    position: absolute;
    overflow: hidden;
    top: 0;
    left: 0;
    padding: 3em;
    text-align: left;
}

.hovereffect img {
    display: block;
    position: relative;
    max-width: none;
    width: calc(100% + 60px);
    -webkit-transition: opacity 0.35s, -webkit-transform 0.45s;
    transition: opacity 0.35s, transform 0.45s;
    -webkit-transform: translate3d(-40px, 0, 0);
    transform: translate3d(0, 0, 0);
}

.hovereffect h2 {
    text-transform: uppercase;
    color: #fff;
    position: relative;
    font-size: 17px;
    background-color: transparent;
    padding: 15% 0 10px 0;
    text-align: left;
}

.hovereffect .overlay:before {
    position: absolute;
    top: 20px;
    right: 20px;
    bottom: 20px;
    left: 20px;
    border: 1px solid #fff;
    content: '';
    opacity: 0;
    filter: alpha(opacity=0);
    -webkit-transition: opacity 0.35s, -webkit-transform 0.45s;
    transition: opacity 0.35s, transform 0.45s;
    -webkit-transform: translate3d(-20px, 0, 0);
    transform: translate3d(-20px, 0, 0);
}

.hovereffect a,
.hovereffect p {
    color: #FFF;
    opacity: 0;
    filter: alpha(opacity=0);
    -webkit-transition: opacity 0.35s, -webkit-transform 0.45s;
    transition: opacity 0.35s, transform 0.45s;
    -webkit-transform: translate3d(-10px, 0, 0);
    transform: translate3d(-10px, 0, 0);
}

.hovereffect:hover img {
    opacity: 0.6;
    filter: alpha(opacity=60);
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}

.hovereffect:hover .overlay:before,
.hovereffect:hover a,
.hovereffect:hover p {
    opacity: 1;
    filter: alpha(opacity=100);
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}

figure.card.card-layout-four.card-product h4.title {
    font-size: 1rem;
    margin: 0;
    padding: 0;
    color: #232323;
}

figure.card.card-layout-four.card-product .product-count {
    font-size: 1rem;
    font-weight: 400;
}

/*layout 5*/

.card-product .img-wrap {
    border-radius: 3px 3px 0 0;
    overflow: hidden;
    position: relative;
    height: 220px;
    text-align: center;
}

.card-product .img-wrap img {
    max-height: 100%;
    max-width: 100%;
    object-fit: cover;
}

.card-product .info-wrap {
    overflow: hidden;
    padding: 15px;
    border-top: 1px solid #eee;
}

.card-product .bottom-wrap {
    padding: 15px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-self: center;
    flex-direction: row;
    width: 100%;
    align-items: center;
}

.card-product .bottom-wrap .h5 {
    margin-bottom: 0;
}

.label-rating {
    margin-right: 10px;
    color: #333;
    display: inline-block;
    vertical-align: middle;
}

.card-product .price-old {
    color: #999;
}


/*layout 6*/

.ribbon {
    position: absolute;
    right: -5px;
    top: -5px;
    z-index: 1;
    overflow: hidden;
    width: 75px;
    height: 75px;
    text-align: center;
}

.ribbon span {
    font-size: 10px;
    color: #fff;
    text-transform: uppercase;
    text-align: center;
    font-weight: bold;
    line-height: 20px;
    transform: rotate(45deg);
    width: 100px;
    display: block;
    background: #F62459;
    background: linear-gradient(#ff89b1 0%, #ff006e 100%);
    box-shadow: 0 3px 10px -5px rgba(0, 0, 0, 1);
    position: absolute;
    top: 19px;
    right: -21px;

}

.ribbon span::before {
    content: '';
    position: absolute;
    left: 0%;
    top: 100%;
    z-index: -1;
    border-left: 3px solid #F62459;
    border-right: 3px solid transparent;
    border-bottom: 3px solid transparent;
    border-top: 3px solid #F62459;
}

.ribbon span::after {
    content: '';
    position: absolute;
    right: 0%;
    top: 100%;
    z-index: -1;
    border-right: 3px solid #F62459;
    border-left: 3px solid transparent;
    border-bottom: 3px solid transparent;
    border-top: 3px solid #F62459;
}


#inventory .layout-6:hover {
    transition: all 0.3s ease;
    box-shadow: 12px 15px 20px 0px rgba(46, 61, 73, 0.15);
}


#inventory .view-btn {
    background-color: #e6de08;
    margin: -25px 0 0 0;
    border-radius: 0 0 0 0;
    font-size: 14px;
    border: #e6de08;
    color: #444;

}


#inventory .btn:hover {
    background-color: #ff4444;
    color: #fff;
    border: 2px solid #ff4444;
    transition: all 0.3s ease;
    box-shadow: 12px 15px 20px 0px rgba(46, 61, 73, 0.15);
}


/* Slider Pro one */


.cat-slider-area {
    margin-top: 0;
}

.cat-slider-area .owl-carousel .owl-nav {
    visibility: hidden;
    transition: .4s;
    opacity: 0;
}

.cat-slider-area .owl-carousel:hover .owl-nav {
    visibility: visible;
    opacity: 1;
}

.cat-slider-area .owl-carousel .owl-nav .owl-prev {
    position: absolute;
    width: 40px;
    height: 40px;
    left: 0;
    background: #fff;
    color: #fff;
    font-size: 16px;
    border-radius: 0;
    transition: 0.7s;
    border: 1px solid #f39745;
}

@media only screen and (min-width: 768px) and (max-width: 991px) {

    .cat-slider-area .owl-nav .owl-prev {
        left: 0;
    }
}

@media only screen and (min-width: 992px) and (max-width: 1200px) {

    .cat-slider-area .owl-nav .owl-prev {
        left: 0;
    }
}

@media only screen and (max-width: 767px) {

    .cat-slider-area .owl-nav .owl-prev {
        left: 50%;
        margin-left: -45px;
        bottom: 20px;
        top: auto;
    }
}

.cat-slider-area .owl-carousel .owl-nav .owl-next {
    position: absolute;
    width: 40px;
    height: 40px;
    right: 0;
    background: #fff;
    color: #fff;
    font-size: 16px;
    border-radius: 0;
    transition: 0.7s;
    border:  1px solid #f39745;
}

@media only screen and (min-width: 768px) and (max-width: 991px) {

    .cat-slider-area .owl-nav .owl-next {
        right: 0;
    }
}

@media only screen and (min-width: 992px) and (max-width: 1200px) {

    .cat-slider-area .owl-nav .owl-next {
        right: 0;
    }
}

@media only screen and (max-width: 767px) {

    .cat-slider-area .owl-nav .owl-next {
        right: 50%;
        bottom: 20px;
        margin-right: -45px;
        top: auto;
    }
}

.cat-slider-area .owl-nav>button:hover {
    background-color: #ffbe0c;
}

.cat-slider-area .owl-nav>button:focus,
.cat-slider-area .team-slider-active>button:focus {
    outline: 0;
    box-shadow: 0 0 0;
}

.cat-slider-area .single-cat-slider-item {
    height: auto;
    background-size: contain;
    background-repeat: no-repeat;
    position: relative;
    background-position: center center;
    padding: 50px 0;
}

@media only screen and (max-width: 767px) {
    .cat-slider-area .single-cat-slider-item {
        height: 450px;
    }
}

.cat-slider-area .single-cat-slider-item:before {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    content: "";
    top: 0;
    background: transparent;
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
    .cat-slider-area .single-cat-slider-item .single-cat-slider-content {
        padding: 0 50px;
    }
}

.cat-slider-area .single-cat-slider-item .single-cat-slider-content h1 {
    font-size: 65px;
    font-weight: 900;
    line-height: 73px;
    margin-bottom: 20px;
    margin-top: 0;
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
    .cat-slider-area .single-cat-slider-item .single-cat-slider-content h1 {
        font-size: 40px;
        line-height: 56px;
    }
}

@media only screen and (min-width: 992px) and (max-width: 1200px) {
    .cat-slider-area .single-cat-slider-item .single-cat-slider-content h1 {
        font-size: 50px;
        line-height: 66px;
    }
}

@media only screen and (max-width: 767px) {
    .cat-slider-area .single-cat-slider-item .single-cat-slider-content h1 {
        font-size: 26px;
        line-height: inherit;
    }
}

.cat-slider-area .single-cat-slider-item .single-cat-slider-content .single-cat-btn {
    padding: 7px 20px;
    border: 2px solid #f39745;
    transition: .4s;
    display: inline-block;
    color: #444;
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
    .cat-slider-area .single-cat-slider-item .single-cat-slider-content .single-cat-btn {
        margin-top: 0;
    }
}

@media only screen and (max-width: 767px) {
    .cat-slider-area .single-cat-slider-item .single-cat-slider-content .single-cat-btn {
        margin-top: 0;
    }
}

.cat-slider-area .single-cat-slider-item .single-cat-slider-content p.single-cat-description {
    margin-bottom: 15px;
    margin-top: 0;
}

.cat-slider-area .single-cat-slider-item .single-cat-slider-content h5.single-cat-product-count {
    margin-bottom: 20px;
    margin-top: 0;
}

.slider-left-arrow {
    width: 10px;
    height: 10px;
    border-left: 1px solid #444;
    border-top: 1px solid #444;
    transform: rotate(-45deg);
    position: absolute;
    left: 50%;
    margin-left: -3px;
    top: 50%;
    margin-top: -5px;
}

.slider-right-arrow {
    width: 10px;
    height: 10px;
    border-right: 1px solid #444;
    border-bottom: 1px solid #444;
    transform: rotate(-45deg);
    position: absolute;
    left: 50%;
    margin-left: -7px;
    top: 50%;
    margin-top: -5px;
}

.animated {
    -webkit-animation-duration: 3s;
    animation-duration: 3s;
    -webkit-animation-delay: 500ms;
    animation-delay: 500ms;
}

.animate-out.sub-title,
.animate-out.single-cat-title,
.animate-out.single-cat-description,
.animate-out.single-cat-btn {
    -webkit-animation-delay: 0ms;
    animation-delay: 0ms;
}

.animated.single-cat-title {
    animation-duration: 2s;
    animation-delay: .4s;
}

.animated.single-cat-image {
    animation-duration: 5s;
    animation-delay: .4s;
}

.animated.single-cat-description {
    animation-duration: 2s;
    animation-delay: .6s;
}

.animated.single-cat-product-count {
    animation-duration: 2s;
    animation-delay: .8s;
}

.animated.single-cat-btn {
    animation-duration: 2s;
    animation-delay: 1s;
}




/*pro layout 2*/


.single-category-pro-4-inner {
    position: relative;
    overflow: hidden;
}

.single-category-pro-4-inner img {
    transition: .5s;
}

.single-category-pro-4-inner:hover img {
    transform: scale(1.3);
}

.single-category-pro-4-inner .category-link-btn-wrapper {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
}

.single-category-pro-4-inner .category-link-btn-wrapper:hover .category-link-btn-inner .btn.btn-primary {
    background: rgba(40, 121, 254, 0.9);
    border-color: rgba(40, 121, 254, 0.9);
    color: #fff;
}

.single-category-pro-4-inner .category-link-btn-wrapper .category-link-btn-inner .btn.btn-primary {
    background: #fff;
    border: 1px solid #fff;
    color: #222;
    text-transform: uppercase;
}

/*pro layout 3 and category layout 7*/

/*================================================
Offer Area CSS
=================================================*/
.offer-area .section-title {
    background-color: transparent;
    padding: 0;
}

.offer-area .section-title h2 {
    padding-left: 0;
    font-weight: 700;
}

.offer-area .section-title h2 .dot {
    display: none;
}

.offer-box {
    overflow: hidden;
    position: relative;
    text-align: center;
}

.offer-box::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    left: 100%;
    background-color: #ffffff;
    opacity: 0.4;
    transition: 0.5s;
    z-index: 2;
}

.offer-box::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    left: -100%;
    background-color: #ffffff;
    opacity: 0.4;
    transition: 0.5s;
    z-index: 2;
}

.offer-box .category {
    position: absolute;
    left: 0;
    transition: 0.5s;
    right: 0;
    bottom: 25px;
    border: 1px solid #ececec;
    padding: 20px;
    margin-left: 40px;
    margin-right: 40px;
}

.offer-box .category::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    background: #ededed;
    opacity: 0.94;
    z-index: 1;
    margin: 6px;
}

.offer-box .category h4 {
    font-size: 1rem;
    text-transform: inherit;
    margin-bottom: 0;
    position: relative;
    z-index: 1;
    color: #232323;
    margin-top: 0;
}

.offer-box img {
    transition: 0.5s;
}

.offer-box .box-inner {
    position: absolute;
    top: 50px;
    left: 0;
    padding: 15px;
    right: 0;
    bottom: 0;
    border: 1px solid #ededed;
    margin: 30px;
    z-index: 2;
    opacity: 0;
    visibility: hidden;
    transition: 0.5s;
}

.offer-box .box-inner .inner-content {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    margin: 0 auto;
}

.offer-box .box-inner::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    background: #ededed;
    opacity: 0.94;
    z-index: 1;
    margin: 6px;
    z-index: -1;
}

.offer-box .box-inner h3 {
    font-size: 1rem;
    text-transform: inherit;
    margin-bottom: 20px;
    color: #232323;
}

.offer-box .box-inner ul {
    padding-left: 0;
    margin-bottom: 0;
    margin-left: 0;
    list-style-type: none;
}

.offer-box .box-inner ul li {
    margin-bottom: 4px;
}

.offer-box .box-inner ul li:last-child {
    margin-bottom: 0;
}

.offer-box .box-inner ul li a {
    font-size: 13px;
    color: #666666;
    position: relative;
    display: inline-block;
}

.offer-box .box-inner ul li a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: #222222;
    transition: 0.5s;
}

.offer-box .box-inner ul li a:hover,
.offer-box .box-inner ul li a:focus {
    color: #222222;
}

.offer-box .box-inner ul li a:hover::before,
.offer-box .box-inner ul li a:focus::before {
    width: 100%;
}

.offer-box:hover img,
.offer-box:focus img {
    transform: scale(1.3);
}

.offer-box:hover::after,
.offer-box:focus::after {
    left: 100%;
}

.offer-box:hover::before,
.offer-box:focus::before {
    left: -100%;
}

.offer-box:hover .category,
.offer-box:focus .category {
    opacity: 0;
    visibility: hidden;
    bottom: 0;
}

.offer-box:hover .box-inner,
.offer-box:focus .box-inner {
    opacity: 1;
    visibility: visible;
    top: 0;
}

.single-offer-box {
    position: relative;
    overflow: hidden;
    text-align: center;
    border-radius: 2px;
}

.single-offer-box::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #222222;
    opacity: .50;
    z-index: 2;
    border-radius: 2px;
}

.single-offer-box img {
    transition: 0.5s;
    border-radius: 2px;
}

.single-offer-box .offer-content {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    right: 0;
    margin: 0 auto;
    z-index: 3;
}

.single-offer-box .offer-content h3 {
    color: #ffffff;
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 6px;
}

.single-offer-box .offer-content span {
    display: block;
    color: #ffffff;
}

.single-offer-box a {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
}

.single-offer-box:hover img {
    transform: scale(1.3);
}

.main-slider .owl-nav {
    position: absolute;
    width: 100%;
    right: 0;
    bottom: 50%;
    margin-bottom: -20px;
    height: 40px;
}

.main-slider .owl-dots button {
    width: 10px;
    height: 10px;
    background: #decece !important;
    display: inline-block;
    border-radius: 50%;
    margin: 3px;
}

.main-slider .owl-dots button.active {
    background: #4054b2 !important;
}

.main-slider .owl-dots button:hover,
.main-slider .owl-dots button:focus {
    border: 0;
    outline: none;
    box-shadow: none;
}

.main-slider .owl-dots {
    text-align: center;
    position: absolute;
    bottom: 0;
    width: 100%;
}