header {
    position: fixed;
    padding: 0;
    display: block;
    width: 100%;
    height: 66px;
    z-index: 100;
    background-color: #ffffff;
    box-shadow: 0 -5px 15px rgba(34, 34, 34, 1);
}

header hr {
    position: absolute;
    top: 28px;
    width: 100%;
    border: 0.5px solid #C41230;
    z-index: -1;
}

header img.logo {
    display: block;
    position: absolute;
    top: 5px;
    left: 0;
    right: 0;
    margin: 0 auto 0 auto;
    border: none;
    height: 56px;
    cursor: pointer;
    z-index: -1;
}


header svg {
    display: block;
    position: absolute;
    top: 0;
    width: 28px;
    height: 28px;
    stroke: #d3cac1;
}

header svg:hover {
    stroke: #000000;
}

header svg.search {
    right: 0;
    cursor: pointer;
    position: static;
}

header svg.menu {
    left: 0;
    cursor: pointer;
}

header form {
    margin-top: 50px;
}
header input.search {
    display: block;
    outline: none;
    appearance: none;
    background: #ffffff;
    border: none;
    padding: 10px;
    width: calc(100% - 40px);
}
header div.search-load-icon {
    position: absolute;
    height: 100%;
    right: 77px;
    top: 0;
}
header svg.search-load-icon {
    animation: rotating 2s linear infinite;
    width:38px;
    height:100%;
    z-index: -1;
}
header div.search-button {
    position: absolute;
    top: 0;
    right: 0;
    display: block;
    border: none;
    height: 100%;
    width: 40px;
    background-color: #999999;
    background-image: url(/static/store/svg/search.svg);
    background-repeat: repeat;
    background-size: contain;
    overflow: hidden;
}
header div.search-button:hover {
    background-color: #c41230;
}
header div.search-box {
    position: relative;
    border-radius: 10px;
    border: 1px solid #999999;
    overflow: hidden;
    box-shadow: 1px 1px 2px #dddddd;
}
header div.search-box:focus-within {
    box-shadow: 1px 1px 2px #888888;
}
header input.search-button {
    display: block;
    margin: 0;
    padding: 0;
    appearance: none;
    background-color: transparent;
    width: 100%;
    height: 100%;
    display: block;
    border: none;
    outline: none;
    cursor: pointer;
}

header .background {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 2001;
}

header menu {
    display: block;
    position: fixed;
    transition: left 400ms ease-out;
    width: 90%;
    max-width: 400px;
    background-color: #ffffff;
    color: #000000;
    height: 100%;
    overflow-y: scroll;
    left: -400px;
    /*box-shadow: 0 0 100px 80px #000000aa;*/
    z-index: 2002;
}

header menu::-webkit-scrollbar {
    width: 0;
    background: transparent;
}

header svg.close-menu {
    display: none;
}
svg.close-search {
    display: block;
    position: absolute;
    cursor: pointer;
    right: 0;
}

header li {
    display: block;
}
header li.menu-item {
    list-style-type: none;
    font-size: 1rem;
    font-weight: 100;
}
header li.red-strip {
    margin-top: 10px;
}
header a.menu-item-top {
    display: block;
    background-color: #c41230;
    color: #ffffff;
    padding: 10px 10px 10px 25px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.5rem;
    overflow: hidden;
    word-break: break-all;
    white-space: nowrap;
    text-overflow: ellipsis;
}
header a.menu-item-top:hover {
    background-color: #7a0016;
}
header a.menu-item-two {
    display: block;
    background-color: #ffffff;
    border-bottom: 2px solid #c41230;
    color: #c41230;
    padding: 10px 10px 10px 25px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.5rem;
    overflow: hidden;
}
header a.menu-item-two:hover {
    background-color: #f8e2e6;
}
header li.menu-heading {
    font-size: 1.25rem;
    font-weight: 700;
    border: none;
    padding: 10px 5px 5px 25px;
    margin: 0 0 10px 0;
}
header a.menu-item {
    display: block;
    padding: 10px 10px 10px 25px;
    color: #000000;
    text-decoration: none;
}
header a.menu-item:hover {
    background-color: #efefef;
}
header section.top-right {
    position: absolute;
    top: 0;
    margin: 0;
    right: 5px;
    display: flex;
    flex-direction: row-reverse;
    z-index: -1;
}
div.cart-tally {
    display: none;
}
svg.cart-tally {
    position: static;
    margin-right: 10px;
}
a.cart-tally {
    display: none;
}
/*section.search {
    display: none;
}*/
section.search {
    position: fixed;
    display: flex;
    gap: 5px;
    flex-direction: column;
    margin: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.85);
    z-index: 300;
    top: -100%;
}

header div.search-header {
    background-color: #ffffff;
    padding: 0 5px 0 5px;
    width: 100%;
}

#search-results-bubble {
    margin: 0 auto 0 auto;
    width: calc(100% - 10px);
    bottom: 0;
    overflow-y: scroll;
    overflow-x: hidden;
}

/* header div.search-header {
    position: fixed;
    z-index: 2000;
    background-color: #ffffff;
    padding: 0 5px 0 5px;
    width: 100%;
}

#search-results-bubble {
    position: fixed;
    z-index: 1000;
    top: 94px;
    right: 5px;
    width: calc(100% - 10px);
    bottom: 0;
    overflow-y: scroll;
    overflow-x: hidden;
} */

span.display-1024 {
    display: none;
}

header div.sign-in {
    display: none;
}

header a.price-and-availability {
    display: none;
}
header a.price-and-availability img {
    display: block;
    width: 42px;
    height: 42px;
    padding: 0;
}
header a.price-and-availability p {
    color: #000000;
    display: none;
    margin-top: 3px;
    font-weight: 600;
    font-size: 18px;
    line-height: 18px;
    padding-right: 5px;
}
div.cart-tally-bubble {
    background-color: #c41230;
    width: fit-content;
    height: 16px;
    padding: 0 5px 1px 5px;
    margin-top: 5px;
    font-size: 10px;
    color: #ffffff;
    font-weight: 200;
    border-radius: 3px;
}

#search-results-bubble ul {
    outline: none;
    box-shadow: 1px 1px 2px #dddddd;
    border-radius: 10px;
    background-color: #ffffff;
    border: 1px solid #999999;
    overflow: hidden;
}

#search-results-bubble a {
    display: block;
    text-decoration: none;
    color: #000;
}
#search-results-bubble a:nth-child(even) {
    background-color: #efefef;
}
#search-results-bubble a:hover {
    background-color: #cccccc;
}

#search-results-bubble li {
    padding: 7px;
    line-height: 0.85rem;
    font-size: 0.8rem;
    list-style-type: none;
    position: relative;
    display: flex;
}
#search-results-bubble b {
    font-weight: 700;
    font-size: 1rem;
}
#search-results-bubble span {
    display: inline-block;
    padding: 2px 5px 2px 5px;
    margin: 0 0 0 2px;
    vertical-align: top;
    font-size: 0.6rem;
    line-height: 0.6rem;
    font-weight: 700;
    border-radius: 7px;
}
#search-results-bubble div.price {
    text-align: right;
    font-size: 1.25rem;
    font-weight: 700;
    padding: 7px 0 0 0;
    flex-grow: 1;
}
#search-results-bubble li.see-all {
    background-color: #c41230;
    font-weight: 700;
    font-size: 1rem;
    text-align: center;
    display: block;
    transition: 0.25s;
    color: #ffffff;
    cursor: pointer;
    padding: 15px 7px 15px 7px;
}

#search-results-bubble li.see-all:hover {
    background-color: #7a0016;
}

@media only screen and (min-width: 480px) {
    a.cart-tally {
        display: block;
        color: black;
        text-decoration: none;
    }
    header {
        padding: 0;
        height: 94px;
    }
    header img.logo {
        top: 10px;
        height: 79px;
    }
    header section {
        margin: 0;
    }
    header svg {
        width: 47px;
        height: 47px;
    }
    header svg.close-menu {
        display: block;
        left: 400px;
        stroke: #ffffff;
    }
    header svg.close-menu:hover {
        left: 400px;
        stroke: #cccccc;
    }    
    header hr {
        top: 44px;
    }
    div.cart-tally-bubble {
        position: absolute;
        top: 0;
        left: 26px;
    }
    header a.sign-in {
        color: #c41230;
        text-decoration: none;
        font-weight: 500;
        font-size: 16px;
    }
    header a.sign-in:hover {
        text-decoration: underline;
    }
}
@media only screen and (min-width: 640px) {
    header a.price-and-availability {
        display: flex;
        text-decoration: none;
    }
}
@media only screen and (min-width: 768px) {
    header div.sign-in {
        display: block;
        padding-top: 10px;
    }
}
@media only screen and (min-width: 1024px) {
    span.display-1024 {
        display: inline-block;
    }
    header a.price-and-availability p {
        display: block;
    }
    svg.close-search {
        display: none;
    }
    section.search {
        display: block;
        position: absolute;
        padding: 0;
        background: none;
        top: 0;
        right: 5px;
        width: 25%;
        height: auto;
        transition: none;
    }
    header div.search-header {
        position: static;
        background-color: transparent;
        padding: 0;
        width: 100%;
    }
    header input.search {
        background: none;
    }
    #search-results-bubble {
        position: absolute;
        top: 89px;
        width: 100%;
        padding: 0;
        right: 0;
        bottom: auto;
        overflow-y: auto;
    }
    svg.search {
        display: none;
    }
    svg.cart-tally {
        margin: 0;
    }
    div.cart-tally {
        display: block;
        margin: 2px 0 0 0;
    }
    p.cart-tally-quantity {
        line-height: 14px;
        font-weight: 100;
        font-size: 14px;
        margin-top: 2px;
        text-align: right;
    }
    p.cart-tally-subtotal {
        margin-top: 3px;
        font-weight: 600;
        font-size: 18px;
        line-height: 20px;
        text-align: right;
    }
    
    header {
        margin: 0;
        width: 100%;
        position: relative;
        padding: 0 0 7px 0;
    }
    header section {
        padding: 0;
        margin: 0;
    }
    header section.top-right {
        padding-right: 5px;
        z-index: 2000;
    }
    /*
    Unsure that it's better on the left
    header img.logo {
        margin-left: 50px;
        height: auto;
    }*/
}