* {
    box-sizing: border-box;   
}
.major-content {
    margin-bottom: 80px;
}

/*--- CATEGORY HEADER ---*/
.category-header {
    color: black;
    font-size: 50px;
    line-height: 1;
}
@media only screen and (min-width: 1024px) {
    .category-header {
        font-size: 80px;
    }
}
@media only screen and (min-width: 1200px) {
    .category-header {
        font-size: 96px;
        letter-spacing: -5px;
    }
}
@media only screen and (min-width: 1400px) {
    .category-header {
        font-size: 124px;
    }
}

/*--- CATEGORY DROPDOWN ---*/
.category-links {
    padding-bottom: 110px;
}
#category-links-select {
    padding: 16px 18px;
    position: relative;
}
#category-links-select::after {
    content: '';
    background: url('/wp-content/themes/tombras/img/icon/caret-down.png') no-repeat;
    background-size: cover;
    position: absolute;
    right: 20px;
    top: 24px;
    width: 21px;
    height: 13px;
    transition: transform .125s ease-in;
    pointer-events: none;
}
.custom-select {
    background: white;
    border: 3px solid #EB0145;
    border-radius: 2rem;
    box-shadow: 0 35px 38px -15px rgba(0, 0, 0, 0.20);
    color: #000;
    font-size: 18px;
    font-weight: bold;
    margin: 25px 0;
    max-width: 100%;
    width: 363px;
    position: absolute;
    z-index: 9;
}
.custom-select.flip {
    box-shadow: 0 35px 68px -15px rgb(0 0 0 / 50%);
}
.custom-select.flip #category-links-select::after {
    transform: scaleY(-1);
}
#category-links-select a {
    display: block;
    padding: 16px 18px 16px 70px;
    text-align: left;
    outline: 0;
    position: relative;
}

.pancakes-waffles:before,
.baking-mixes:before,
.protein-whole-grain:before,
.gluten-free:before,
.whats-new:before,
#category-links-select .batters:before {
    position: absolute;
    left: 6px;
    margin-top: -12px;
}
.pancakes-waffles:before {
    content: url(/wp-content/themes/tombras/img/icon/pancakes-waffles-icon.png);
}
.baking-mixes:before {
    content: url(/wp-content/themes/tombras/img/icon/baking-mixes.png);
}
.protein-whole-grain:before {

    content: url(/wp-content/themes/tombras/img/icon/protein-whole-grain.png);
}
.gluten-free:before {
    
    content: url(/wp-content/themes/tombras/img/icon/gluten-free.png);
}
.whats-new:before {
    
    content: url(/wp-content/themes/tombras/img/icon/whats-new.png);
}
#category-links-select .batters:before {
    content: url(/wp-content/themes/tombras/img/icon/batters-icon.png);
}

@media only screen and (max-width: 1024px) {
    .custom-select {
        left: 50%;
        transform: translateX(-50%);
    }
}
@media only screen and (min-width: 1200px) {
    .blurb {
        padding-left: 2.5rem;
    }
}

/*--- PRODUCT NAVIGATION ---*/
.product-navigation {
    border-bottom: 3px solid rgba(151, 151, 151, 0.15);
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 10px 0 0;
}
ul.product-nav-list {
    display: flex;
    margin: 0;
    width: 100%;
    list-style-type: none;
    padding-left: 0;
}
ul.product-nav-list::-webkit-scrollbar {
    display: none;
}
.product-nav-list li {
    color: #252A33;
    cursor: pointer;
    display: block;
    font-weight: 500;
    font-size: 22px;
    list-style-type: none;
    margin-right: 22px;
    padding: 0 20px 14px 20px;
    position: relative;
    white-space: nowrap;
}
.product-nav-list li:before {
    display: none !important;
}
.filter-select:after {
    content: '';
    background: #EB0145;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 7px;
}
@media only screen and (max-width: 767px) {
    .product-navigation {
        margin-left: 0;
        width: 100%;
    }
    .product-nav-list li {
        margin-right: 0;
        padding: 0 16px 14px 16px;
    }
    .filter-select:after {
        height: 5px;
    }
}

/*--- CATEGORY LIST - CARDS ---*/
#category-list {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -31px 100px;
}

.card {
    width: calc(100%/4 - 62px);
    margin: 31px;
}
.card > div {
    display: flex;
    flex-direction: column;
    justify-content: normal;
    height: 100%;
}
.card img {
    -webkit-filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.20));
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.20));
    margin-bottom: 20px;
    width: 100%;
}
.card-title {
    color: #252A33;
    font-size: 26px;
    font-weight: bold;
    text-align: left;
    line-height: 24px;
    padding-left: 2%;
}

.no-results {
    display: none;
    font-size: 26px;
    font-weight: bold;
    margin: 50px 31px 100px;
}

@media only screen and (max-width: 640px) {
    .card {
        width: calc(100%/2 - 30px);
    }
}

@media (min-width: 641px) and (max-width: 1024px) {
     .card {
        width: calc(100%/3 - 30px);
    }
}
@media only screen and (max-width: 1024px) {
    #category-list {
        margin: 0 -15px 100px;
    }
    .card {
        margin: 30px 15px 15px;
    }
    .card-title {
        font-size: 18px;
        line-height: 1;
    }
}

/*--- BOTTOM CONTENT ---*/
.lower-slider p {
   font-size: 18px;
   line-height: 24px;
}
figure.wp-block-image.alignfull.size-full.is-style-image-shadow {
    transform: skew(0deg, -2deg);
}
video {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
}
@media only screen and (max-width: 767px) {
    figure.wp-block-image.alignfull.size-full.is-style-image-shadow {
        margin-bottom: 75px;
    }
    video {
        height: 560px !important;
    }
}
@media only screen and (min-width: 768px) {
    figure.wp-block-image.alignfull.size-full.is-style-image-shadow {
        margin-bottom: -80px;
    }
}