#masthead {
    margin-bottom: 0;
}
#primary {
    width: 100%;
    margin: 0;
    float: unset;
}
#main {
    margin-bottom: 0;
}
#hero {
    background-size:  cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 500px;

    .container,
    .row {
        height: 100%;
    }
    img {
        width: 100%;
        height: auto;
    }
    h1 {
        margin-bottom: .25em;
    }
    p {
        font-size: 1.2rem;
        margin-bottom: 2em;
    }
}
@media screen and (max-width: 768px) {
    #hero {
        padding-top: 2em;
        h1 {
            font-size: 2rem;
        }
        h2 {
            font-size: 2rem;
        }
        p {
            font-size: 1rem;
        }
    }
}
#featured-products {
    padding-top: 4em;
    padding-bottom: 4em;

    h2 {
        position: relative;
        margin-bottom: 1em;
        &::after {
            content: '';
            position: absolute;
            bottom: -.25em;
            left: 50%;
            transform: translateX(-50%);
            width: 12%;
            height: 3px;
            background-color: #dc090e;
        }
    }

    .featured-item {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 2em;

        h3 {
            font-size: 1.5rem;
            text-align: center;
            line-height: 1.2;
            margin-bottom: 1em;
        }
    }
}

.page-template-template-debug #featured-products {
    padding-top: 4em;
    padding-bottom: 4em;

    h2 {
        position: relative;
        margin-bottom: 1em;
        &::after {
            content: '';
            position: absolute;
            bottom: -.25em;
            left: 50%;
            transform: translateX(-50%);
            width: 12%;
            height: 3px;
            background-color: #dc090e;
        }
    }

    .featured-item2 {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 2em;

        h3 {
            font-size: 1.5rem;
            text-align: center;
            line-height: 1.2;
            margin-bottom: 1em;
        }
    }
}

.page-template-template-debug .featured-item2 {
    perspective: 1000px;
    height: 550px;
    position: relative;
    padding: 0em 2em;
}

.page-template-template-debug .featured-item h3 {
  font-size: 1.5rem;
  text-align: center;
  line-height: 1.2;
  margin-bottom: 1em;
}

.flip-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform .6s;
    transform-style: preserve-3d;
}

.page-template-template-debug .featured-item2:hover .flip-inner {
    transform: rotateY(180deg);
}

.flip-front,
.flip-back {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.flip-front {
    background: white;
}

.flip-back {
    background: #fff;
    transform: rotateY(180deg);
    text-align: left;
    padding: 3rem;
    border-radius: 15px;
    border:2px solid #dc090e;
    height: 510px;
}

.flip-back .btn-primary{
  position: absolute;
  bottom: 37px;
}

.flip-back ul{
  margin-right: 0!important;
  margin-left:0!important;
}

.flip-back li{
  font-size: 1.2rem;
  text-align: center;
  line-height: 1.2;
  margin-bottom: 1em;
  color:#333333;
  text-align: left;
}

.flip-back p {
    margin-bottom: 1em;
}


#plans {
    margin-top: 6em;
    margin-bottom: 6em;
    padding-top: 6em;
    padding-bottom: 6em;
    position: relative;
    background: linear-gradient(rgba(250,248,242,0.8), rgba(250,248,242,0.8)), var(--plan-background) no-repeat center center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: skewY(-5deg);
    transform-origin: top left bottom right;

    .container {
        position: relative;
        z-index: 1;
        transform: skewY(5deg);
    }

    h2 {
        font-size: 2rem;
        margin-bottom: 1.5em;
        margin-top: 1.5em;
    }

    .plan-item {
        padding: 0 2em;
        margin-bottom: 1em;
        position: relative;
        h3 {
            font-size: 1.25rem;
            margin-bottom: .25em;
        }
        p {
            margin-bottom: 1em;
        }
        &::before {
            content: '\003E';
            font-size: 1.5rem;
            color: #dc090e;
            position: absolute;
            top: 0;
            left: 5px;
            width: 100%;
        }
    }
    .include-item {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin-bottom: 2em;
        i {
            font-size: 2.5rem;
            color: #dc090e;
            margin-bottom: .5em;
        }
        h3 {
            font-size: 1.25rem;
            margin-bottom: .5em;
        }
        p {
            text-align: center;
        }

    }
}

#featured-products-slider {
    padding-top: 2em;
    padding-bottom: 6em;

    h2 {
        margin-bottom: 2em;
    }
    .slider-wrapper {
        position: relative;
    }
    .slider-navigation {
        position: absolute;
        top: 50%;
        width: 110%;
        transform: translateY(-50%) translateX(-5%);
        z-index: 1;
        display: flex;
        justify-content: space-between;


    }
    .featured-product {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        padding: 0 1em;
        h3 {
            font-size: 1rem;
        }
        .product-image {
            width: 100%;
            height: 300px;
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            margin-bottom: 1em;
        }
        .star-rating {
            margin-bottom: 1em;
        }
        .woocommerce-Price-amount {
            margin-bottom: 2em;
            font-weight: bold;
        }
    }
}
