#category-header {
    width: 100%;
    position: absolute;
    height: 300px;
    z-index: -1;
}

.breadcrumb {
    max-width: 1309px;
    margin: 0 auto;
    padding: 33px 50px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

#page-body {
    max-width: 1309px;
    padding: 20px 40px;
    margin: 0 auto 100px;
    border-radius: 4px;
    background-color: #FFF;
    -webkit-box-shadow: 0 12px 11px rgb(0 0 0 / 9%), 0 100px 80px rgb(0 0 0 / 7%);
    box-shadow: 0 12px 11px rgb(0 0 0 / 9%), 0 100px 80px rgb(0 0 0 / 7%);
}

#category-header img {
    width: 100%;
    height: 100%;
    vertical-align: top;
}

.breadcrumb a, .breadcrumb p {
    padding: 5px;
    margin: 0;
    font-family: 'Open Sans';
    font-size: 14px;
    text-decoration: none;
}

.breadcrumb a {
    color: #212121;
}

.breadcrumb p {
    color: #8c8c8c;
}

.breadcrumb p:last-child {
    white-space: nowrap;
    overflow-x: hidden;
    text-overflow: ellipsis;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

#intro {
    height: 90px;
}

#after-intro {
    margin: 40px 0 60px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

#left-nav {
    position: sticky;
    height: -moz-fit-content;
    height: -webkit-fit-content;
    height: fit-content;
    top: 160px;
}

.inner-nav {
    background-color: #FFF;
    height: -moz-fit-content;
    height: -webkit-fit-content;
    height: fit-content;
    border-left: #9bbe91 solid 7px;
    border-radius: 4px;
    -webkit-box-shadow: 0 0 2px 0 rgb(76 76 76 / 47%), 0 0 20px 0 rgb(76 76 76 / 1%);
    box-shadow: 0 0 2px 0 rgb(76 76 76 / 47%), 0 0 20px 0 rgb(76 76 76 / 1%);
    min-width: 200px;
    margin: 0 40px 40px 0;
}

.inner-nav.purple {
    border-left: #9d75a7 solid 7px;
}

.nav-header {
    text-align: left;
    color: #3c3a3a;
    padding: 9px 12px;
    background-color: #fbfbfb;
    border: 1px #e6e6e6 solid;
    margin: -1px;
    width: calc( 100% + 9px );
    left: -7px;
    top: -1px;
    position: relative;
    border-radius: 4px;
    font-size: 17px;
}

.nav-item {
    white-space: nowrap;
    display: block;
    padding: 8px 20px;
    text-decoration: none;
    color: #000;
}

.nav-item:hover {
    background: #ececec;
}

.nav-item.selected {
    pointer-events: none;
    cursor: default;
    font-weight: bold;
    background-color: #f3f3f5;
}

#right-panel {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
}

#product-type-container {
    display: -ms-grid;
    display: grid;
    grid-template-columns: repeat(auto-fill, 300px);
    grid-column-gap: 1rem;
    grid-row-gap: 2rem;
    -ms-flex-pack: distribute;
    justify-content: space-around;
}

.product-type h3, .product-type p {
    color: #3c3c3c;
    margin: 2px 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0 1px;
}

.product-type img {
    width: 100%;
    height: 100%;
    color: #FFF;
    -o-object-fit: contain;
    object-fit: contain;
    -webkit-transition: -webkit-transform 0.1s;
    transition: -webkit-transform 0.1s;
    -o-transition: transform 0.1s;
    transition: transform 0.1s;
    transition: transform 0.1s, -webkit-transform 0.1s;
}

.image-container {
    overflow: hidden;
    width: 298px;
    height: 298px;
    border: 1px solid #f1f1f1;
}

.half {
    width: 50%;
    display: inline-block;
}

.small-half {
    width: 40%;
    display: inline-block;
}

.large-half {
    width: 60%;
    display: inline-block;
}

.right {
    text-align: right;
}

.product-type {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-transition: -webkit-box-shadow 0.3s;
    transition: -webkit-box-shadow 0.3s;
    -o-transition: box-shadow 0.3s;
    transition: box-shadow 0.3s;
    transition: box-shadow 0.3s, -webkit-box-shadow 0.3s;
    border-radius: 1px;
    text-decoration: none;
}

.full {
    width: 100%;
    height: 51px;
}

.product-type:hover {
    -webkit-box-shadow: 0 0 0 5px white, 0 0 0 10px #cecece;
    box-shadow: 0 0 0 5px white, 0 0 0 10px #cecece;
}

.product-counter {
    margin: 0 11px 13px;
}

.checkbox-filter input {
    opacity: 0;
    position: absolute;
    display: block;
}

.checkmark {
    padding-left: 36px;
}

.checkmark:before {
    content: '';
    display: block;
    position: absolute;
    left: 10px;
    width: 16px;
    height: 16px;
    border: 1px solid #4a4a4a;
    -webkit-transition: -webkit-box-shadow 0.3s;
    transition: -webkit-box-shadow 0.3s;
    -o-transition: box-shadow 0.3s;
    transition: box-shadow 0.3s;
    transition: box-shadow 0.3s, -webkit-box-shadow 0.3s;
}

.checkbox-filter {
    position: relative;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor: pointer;
}

.checkbox-filter input:checked ~ .checkmark:before {
    -webkit-box-shadow: inset 0 0 9px 8px #98bd8f;
    box-shadow: inset 0 0 9px 8px #98bd8f;
}


.checkbox-filter input:focus ~ .checkmark {
    -webkit-box-shadow: inset 0 0 0 2px black;
    box-shadow: inset 0 0 0 2px black;
}

@media (max-width: 64em) {
    .inner-nav {
        display: flex;
        margin: 0 0 20px 0;
        overflow-x: auto;
        min-width: initial;
    }

    #left-nav {
        position: relative;
        top: 0;
    }

    #after-intro {
        margin: 30px 0 30px;
        flex-direction: column;
    }

    #intro {
        height: auto;
    }

    .breadcrumb {
        padding: 0 50px;
    }
}

@media (max-width: 48em) {
    #page-body {
        padding: 20px 10px;
    }

    .image-container {
        width: 100%;
    }

    #product-type-container {
        grid-template-columns: repeat(auto-fill, calc(50% - 2em))
    }
}

@media (max-width: 550px) {
    #product-type-container {
        grid-template-columns: auto;
    }

    .product-type {
        border-bottom: solid 2px #4c4c4c;
    }

    .product-type .full {
        height: auto;
        margin-bottom: 10px;
    }

    .breadcrumb {
        padding: 0 5px;
    }
}
