:root {
    --color-background-main: #EEE8AA;
    --color-text-main: #696969;
    --color-background-header: #E6E6FA;
    --color-text-header: #696969;
    --color-background-accent: #E6E6FA;
    --color-text-accent: #000000;
    --color-background-nav-and-footer: #E6E6FA;
    --color-text-nav-and-footer: #696969;
    --color-link: #696969;
    --color-button: #E6E6FA;
    --color-button-text: #EEE8AA;
    --ff-main: Roboto, Arial, Helvetica, sans-serif;
    --gutter: 1.5em;
    --logo-area-width: 10rem;
    --logo-area-height: 10rem;
    --header-max-height: 20rem;
    --break-mobile: 480px;
    --break-tablet: 768px;
    --content-max-width: 1140px;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    position: relative;
}

body {
    background-color: var(--color-background-main);
    color: var(--color-text-main);
    font-family: var(--ff-main);
    margin: 3em 0 6em;
    line-height: 1.5em;
}

a {
    color: var(--color-link);
}

main {
    padding: 0;
}

input[type='text'] {
    border: solid 1px;
    height: 2em;
}

.bp-content-wrapper header, .bp-content-wrapper footer {
    grid-column: span 12;
}


#shop-banner {
    max-height: var(--header-max-height);
    min-height: var(--logo-area-height);
    overflow: hidden;
    width: 100%;
}

    #shop-banner img {
        display: block;
        object-fit: cover;
        width: 100%;
        object-position: 50% 0;
        min-height: var(--logo-area-height);
    }

.bp-no-banner #shop-banner {
    display: none;
}


.bp-content-wrapper header {
    background-color: var(--color-background-header);
    color: var(--color-text-header);
    background-repeat: no-repeat;
    position: relative;
    transition: height .1s ease;
    border-bottom: solid 3em var(--color-background-accent);
}



.bp-no-banner .bp-content-wrapper header {
    height: calc( var(--logo-area-height) + 2em);
}

.bp-no-logo .bp-content-wrapper #shop-logo {
    display: none;
}

.bp-no-logo .bp-content-wrapper header {
    border-bottom: none;
    margin-bottom: 3em;
}

.bp-no-logo.bp-no-banner .bp-content-wrapper header {
    margin-bottom: 2em;
    position: relative;
    height: 1px;
    margin-top: -1px;
}

@media screen and (max-width: 768px) {
    .bp-content-wrapper header {
        border-bottom: none;
        margin-bottom: 3em;
    }

    .bp-no-banner .bp-content-wrapper header {
        height: calc( var(--logo-area-height) - 1em);
    }
}

.bp-content-wrapper header #header-container {
    position: relative;
    height: 100%;
}

.bp-content-wrapper #shop-logo {
    position: absolute;
    bottom: 0;
    width: var(--logo-area-width);
    height: var(--logo-area-height);
    z-index: 2;
    transform: translate(0, 2.25em);
    box-shadow: 1px 1px 1px rgba(0, 0, 0, .07), -1px 1px 1px rgba(0, 0, 0, .07);
    border: solid 4px #fff;
    background: var(--color-background-accent);
}

@media screen and (max-width: 768px) {
    .bp-content-wrapper #shop-logo {
        left: 50%;
        transform: translate(-50%, 2.25em);
    }
}

.bp-content-wrapper #shop-logo a {
    display: block;
    height: 100%;
}

.bp-content-wrapper #shop-logo img {
    max-width: 100%;
    max-height: 100%;
    display: block;
    top: 50%;
    position: absolute;
    left: 50%;
    transform: translate(-50%,-50%);
}

.bp-content-wrapper header h1 {
    position: absolute;
    bottom: -3em;
    height: 3em;
    line-height: 2.5em;
    left: 0;
    padding: 0 0 0 calc( var( --logo-area-width) + 2rem );
    font-size: 1.25em;
}

    .bp-content-wrapper header h1 a {
        color: var(--color-text-accent);
        text-decoration: none;
    }




.bp-no-logo .bp-content-wrapper header h1 {
    transform: translate(-50%, 0);
    top: 0;
    text-align: center;
    z-index: 3;
    padding: 0;
    position: fixed;
    display: block;
    left: 50%;
    max-width: calc( var(--content-max-width) - 6em );
    margin: 0 auto;
    height: 2.5em;
}

    .bp-no-logo .bp-content-wrapper header h1 a {
        color: var(--color-text-nav-and-footer);
        white-space: nowrap;
        overflow: hidden;
        display: block;
        text-overflow: ellipsis;
    }


@media screen and (max-width: 768px) {

    .bp-content-wrapper header h1 {
        top: 0;
        width: calc( 100% - 6em );
        text-align: center;
        z-index: 3;
        margin: 0 3em;
        padding: 0;
        position: fixed;
        height: 2.5em;
    }

        .bp-content-wrapper header h1 a {
            color: var(--color-text-nav-and-footer);
            white-space: nowrap;
            overflow: hidden;
            display: block;
            text-overflow: ellipsis;
        }
}

.bp-content-wrapper .container {
    grid-column: span 12;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1em;
}


#main-container {
    margin-top: 2em;
    margin-bottom: 2em;
}

img.bp-shop-page-image {
    max-width: 100%;
}

.shop-home-text {
    font-size: 1em;
    line-height: 1.5em;
}

.bp-content-wrapper div.bp-product-list, .bp-content-wrapper div.bp-shop-page-product-list {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
}

.bp-product-wrapper {
    grid-column: span 3;
    padding: var(--gutter);
    text-align: center;
}

.bp-product-info {
    line-height: 1.5em;
}

a.bp-product-name {
    text-decoration: none;
    max-width: 100%;
    overflow: hidden;
    display: inline-block;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.bp-product-price {
    font-weight: 700;
}

.bp-product-size {
    font-size: .85em;
    line-height: 1.5em;
}

@media screen and (max-width: 768px) {
    .bp-product-wrapper {
        grid-column: span 6;
    }
}

@media screen and (max-width: 480px) {
    .bp-product-wrapper {
        grid-column: span 6;
    }
}


.ProductListHeaderText {
    grid-column: span 12;
}



ul.bp-shop-page-tiles {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 2em 0;
}

.bp-shop-page-tiles li:first-child:nth-last-child(2n), .bp-shop-page-tiles li:first-child:nth-last-child(2n) ~ li {
    width: calc( 50% - 1em );
}

.bp-shop-page-tiles li {
    width: calc( 33% - 1em );
    display: block;
    overflow: hidden;
    padding: 1em;
    min-width: 230px;
    margin: .5em;
    background: var(--color-background-accent);
    color: var(--color-text-accent);
    border-radius: 3px;
}

    .bp-shop-page-tiles li a {
        color: var(--color-text-accent);
    }

@media screen and (max-width: 768px) {
    .bp-shop-page-tiles li:first-child:nth-last-child(n), .bp-shop-page-tiles li:first-child:nth-last-child(n) ~ li {
        width: 100%;
        margin: .5em 0;
    }
}

.shop-page-tile-info {
    line-height: 1.5em;
}

.shop-page-tile-tn {
    width: 33%;
    max-width: 120px;
    float: left;
    margin-right: 1em;
}

    .shop-page-tile-tn div {
        width: 100%;
        position: relative;
        border: solid 1px;
        overflow: hidden;
        padding-top: 100%;
    }

    .shop-page-tile-tn img {
        height: 100%;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%,-50%);
    }

.shop-page-tile-product-tn img {
    min-width: 125%;
    height: auto;
}


.shop-page-tile-info span {
    display: block;
}



#headerNavigation {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2;
    color: var(--color-text-nav-and-footer);
    height: 3em;
}

    #headerNavigation a {
        color: var(--color-text-nav-and-footer);
    }

    #headerNavigation:before {
        height: 100%;
        width: 100%;
        background: var(--color-background-nav-and-footer);
        content: "";
        position: absolute;
        z-index: 1;
    }

    #headerNavigation i {
        line-height: 2em;
        font-size: 1.5em;
    }

#headerNavigationContent {
    max-width: var(--content-max-width);
    margin: auto;
    z-index: 3;
}

#navSecondary {
    position: absolute;
    top: 0;
    max-width: var(--content-max-width);
    text-align: right;
    width: 100%;
    left: 50%;
    transform: translate(-50%, 0);
    z-index: 1;
    padding-right: .5em;
}

#headerNavigationContent {
    max-width: var(--content-max-width);
    margin: auto;
}
/*hamburger menu*/
#menuToggle {
    display: block;
    -webkit-user-select: none;
    user-select: none;
}

    #menuToggle input {
        display: block;
        width: 2em;
        height: 3em;
        position: absolute;
        cursor: pointer;
        opacity: 0;
        z-index: 2;
        margin-left: -.25em;
        line-height: 3em;
    }

    #menuToggle i {
        transition: opacity 1s;
        position: relative;
        display: block;
        z-index: 1;
    }


        #menuToggle i.close {
            display: none;
        }

    #menuToggle input:checked ~ i.menu {
        display: none;
    }

    #menuToggle input:checked ~ i.close {
        display: block;
    }


#navList {
    position: absolute;
    width: 100%;
    margin: 0;
    padding: 2em 0;
    background-color: var(--color-background-main);
    color: var(--color-text-main);
    opacity: .95;
    transform-origin: 0% 0%;
    transform: translate(0, -100%);
    transition: visibility 0.5s ease, transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0);
    visibility: hidden;
    left: 0;
    z-index: 0;
    box-shadow: 0 0 6px var(--color-text-main);
}

#menuToggle ul {
    max-width: var(--content-max-width);
    padding: 0 .5em;
    margin: 0 auto;
}

    #menuToggle ul li {
        padding: .5em 0;
        font-size: 1.25em;
    }

        #menuToggle ul li a {
            text-decoration: none;
            color: var(--color-text-main);
        }

            #menuToggle ul li a:hover {
                text-shadow: 0 0 1px;
            }

/**fade in from the top*/
#menuToggle input:checked ~ #navList {
    transform: translate(0, 0);
    visibility: visible;
}


/*footer styles--------------------------*/

footer {
    background: var(--color-background-nav-and-footer);
    bottom: 0;
    position: absolute;
    width: 100%;
    height: 6em;
}

div#footer-container {
    padding-top: 2em;
    padding-bottom: 2em;
    color: var(--color-text-nav-and-footer);
}

#footer-container a {
    color: var(--color-text-nav-and-footer);
}

footer ul {
    margin-top: -1.5em;
}

footer li {
    float: right;
    margin-left: 1em;
}

@media screen and (max-width: 768px) {
    footer ul {
        margin-top: 0em;
    }

    footer li {
        float: left;
        margin: 0 1em 0 0;
    }
}


/*cart styles--------------------------*/

.crumb-trail {
    display: none;
}

.cart .bp-button {
    width: 33%;
    display: inline-block;
}

.cartButtons .secondary {
    background: none;
    text-decoration: underline;
    color: var(--color-link);
    font-size: 1em;
    box-shadow: none;
    padding: 0;
    margin: 0 0 .25em;
}

.cartButtons:first-child .secondary {
    display: none;
}




.cartButtons {
    margin-top: 0;
}

    .cartButtons li {
        text-align: right;
    }

h2 {
    font-size: 1.5em;
    line-height: 1.5em;
    margin-bottom: 1em;
}

.bp-cart-contents li.bp-cart-header {
    display: none;
}

.cart ul.bp-cart-contents {
    margin: 2em 0;
    padding: 0;
    list-style: none;
}

.bp-cart-contents li:nth-last-child(2) {
    padding-top: 1em;
}

@media screen and (max-width: 780px) {
    .cart input[type="image"] {
        margin-bottom: 0;
    }
}

.bp-cart-item-tn {
    grid-column: span 2;
    text-align: center;
}

.bp-cart-item-desc {
    grid-column: span 6;
    text-align: left;
    margin-left: 1em;
}

    .bp-cart-item-desc strong:first-child {
        font-weight: bold;
    }

.bp-cart-item-quantity {
    grid-column: 9 / span 2;
    text-align: center;
    padding-left: 1em;
}

.bp-cart-item-total {
    grid-column: 11 / span 2;
    text-align: right;
    font-size: 1.25em;
}

.bp-cart-footer-total {
    font-size: 1.25em;
}
img.bp-shop-product-list-image {
    max-width: 140px;
    transition: transform .5s;
}

.bp-product-wrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.bp-product-img {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: end;
    padding-bottom: 1em;
    flex-grow: 1;
    min-height: 0;
}
