.home #page-wrapper {
    padding: 0px;
}

.home .extra-page-section:last-of-type {
    margin-bottom: 0;
}

.home #wrapper-footer {
    margin-top: 0;
}

/* Popular products */
#popularproducts .container {
    max-width: 1000px;
} 

/* Intro */
#intro {
    position: relative;
    background-color: #f9f8f7;
    padding: 60px 0;
    overflow: hidden;
    font-size: 1.1em;
}

#intro .inner {
    position: relative;
    text-align: center;
    max-width: 750px;
    margin: auto;
}

#intro .inner::before {
    content: '';
    background-image: url('../../../images/illustrations/kiln-dried-logs-icon.png');
    background-repeat: no-repeat;
    background-position: left;
    background-size: auto 100%;
    position: absolute;
    bottom: -135px;
    right: -486px;
    width: 550px;
    height: 550px;
    /* right: 0; */
    /* bottom: 0; */
    opacity: 0.5;
    z-index: 0;
}

#intro .inner > * {
    position: relative;
    z-index: 1;
}



/* USPs*/
#usps {position: relative;}

#usps .usp {
    padding-left: 60px;
    line-height: 1;
    border-right: 1px dashed #dfdfdf;
    margin-right: 20px;
}
#usps > div > div > .col-md-3:last-of-type .usp {border-right: 0;}

#usps .title {
    font-style: italic; display: block;
    margin-bottom: 10px;
}
#usps .subtitle {
    font-size: 0.8em;
    opacity: 0.8;
}
#usps .img {
    position: absolute;
    top: -17px; left: 0;
    width: 75px; height: 75px;
    object-fit: contain;
}
#usps img {z-index: 1; position: relative;}

#home-welcome {
    padding: 60px 0;
    position: relative;
    background-color: #f7f4ed;
    color: #414141;
    font-size: 19px;
    line-height: 1.5;
    outline: 1px solid rgba(112,67,0,0.2);
    outline-offset: -8px;
}

#home-welcome .pretitle { 
    margin-bottom: 20px;
}

#home-welcome h1 {
    color: #414141;
    font-size: 1.8em;
    font-weight: 400;
}
#home-welcome h1 .highlight {
    display: block;
    color: #b4183e;
    font-size: 1.1em;
    font-weight: 500;
}

#home-welcome .btns {
    margin-top: 25px;
    margin-bottom: 0;
}
#home-welcome .btns .btn {
    font-size: 0.95em;
}
@media (max-width: 549px) {
    #home-welcome .btns .btn {
        width: 100%;
        margin: 10px 0px;
    }
}
@media (min-width: 550px) {
   #home-welcome .btns .btn {
        margin: 0 10px;
   } 
}

#home-welcome .btns .btn-secondary {
    background-color: #ffffff6b;
}

#home-welcome img.bg {
    position: absolute;
    width: 32%;
    max-width: 600px;
    bottom: -40px;
    right: 0;
    opacity: 0.15;
    /*filter: brightness(0) saturate(100%) invert(95%) sepia(6%) saturate(1962%) hue-rotate(310deg) brightness(109%) contrast(98%);
*/}

@media (min-width: 1200px) {
    #home-welcome img.bg {
        bottom: -80px;
    }
}

#home-welcome .pretitle img {
    filter: brightness(0) saturate(100%) invert(95%) sepia(6%) saturate(1962%) hue-rotate(310deg) brightness(109%) contrast(98%);
}

.home #section-6 {
    margin-bottom: 80px;
}

/* Popular products */
.product {position: relative;}
.product > a {
    display: block;
}
.product h3 {
    font-size: 1.3em; margin-bottom: 10px;
}
.product .stock {
    background: #ccc;
    line-height: 1;
    font-size: 15px;
    width: 45px;
    height: 45px;
    padding: 8px 8px 5px;
    color: #f1f1f1;
    position: absolute;
    border-radius: 1px;
    bottom: 104px;
    left: 16px;
}
.product .stock.instock {
    background: #658969;
}
.product .stock.lowstock {
    background: #de5028;
}
.product .stock.soldout {
    background: #e0e0e0;
    color: #909090;
}
.product .price {
    font-style: italic;
}
.sale-badge, .price-badge {
    position: absolute;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    top: -18px;
    right: 2px;
    width: 70px;
    height: 70px;
    padding: 8px;
    font-weight: 500;
    color: #333;
    background-color: #ffcc00;
    border-radius: 100%;
    border: 2px solid #ffcc00;
    box-shadow: inset 0 0 0 1px #ffffffbf, -2px 6px 5px #00000040;
    -webkit-transform: rotate(8deg);
    transform: rotate(8deg);
}

.price-badge {
    width: 95px;
    height: 95px;
    flex-flow: column;
    font-size: 0.75em;
    font-weight: 400;
    line-height: 1; 
}
.price-badge .lrg {
    display: block;
    font-size: 1.6em;
    margin: 5px 0 0px;
    font-weight: 600;
}

/* Product submenu */
#product-submenu {
    padding: 20px 0;
}
#product-submenu h3 {margin-top: 0;}
#product-submenu .container {

}
#product-submenu .product {
    display: inline-block;
    margin: 0 15px;
    text-transform: uppercase;
    font-size: 0.7em;
    font-weight: 400;
}
#product-submenu .product img {
     transition: all 0.1s ease;
     max-width: 85px;
}
#product_swiper {
    text-align: center;
}
@media (min-width: 991px) {
    #product_swiper {
        border-left: 1px dashed #bdbdbd;
        padding-left: 25px;
    }
}
#product_swiper > div > div:nth-child(odd):hover img {
   rotate: 3deg;
}

#product_swiper > div > div:nth-child(even):hover img {
   rotate: -3deg;
}

#product-submenu .title {
    display: block;
    letter-spacing: 1px;
}

#product-submenu img {
filter: brightness(0) saturate(100%) invert(82%) sepia(0%) saturate(0%) hue-rotate(57deg) brightness(95%) contrast(90%);   }