




blackout {
    z-index: 2499;
display: none;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%,-50%);
width: 100vw;
height: 100vh;
}

blackout.open {
display: block;
background-color: rgba(0,0,0,.16);
}


customer-info {
    z-index: 10;
    display: flex;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 89vw;
    height: fit-content;
    /* height: 69vh; */
    max-height: 69vh;
    padding: calc(var(--margin) / 1);
    padding-top: 5rem;
    transform: translate(-50%, -50%);
    background-color: white;
    border-radius: var(--border-radius);
    /* overflow-y: scroll; */
    flex-direction: column;
}



modal modal-button {
display: flex;
position: absolute;
top: 100%;
left: 50%;
transform: translate(-50%,0);
margin-top: calc(var(--margin) * 2);
}

modal modal-button button {
padding: calc( var(--margin) / 0.75 ) calc( var(--margin) * 2 );
}

modal,
cart {
z-index: 2500;
display: flex;
position: fixed;
top: 50%;
left: 50%;
width: 100vw;
height: 100vh;
height: fit-content;
/*padding: 0 calc(var(--margin) / 2);*/
transform: translate(-50%,-50%);
/*background-color: rgba(0,0,0,.16);
background-color: black;*/
/*border-radius: var(--border-radius);*/
opacity: 0;
transition: opacity 0.333s linear;
will-change: opacity;
pointer-events: none;
}

/*history product-list::after {
    z-index: 10;
content: "Customer History";
display: inline-block;
position: absolute;
bottom: 85%;
left: 50%;
transform: translate(-50%, -2rem);
font-family: var(--font);
font-size: 3rem;
}*/


modal.open,
cart.open {
display: flex;
opacity: 1;
pointer-events: all;
}

modal h2,
cart h2 {
position: absolute;
top: 0;
left: 50%;
transform: translate(-50%, 50%);
align-self: center;
}


modal form {
display: flex;
position: relative;
width: 100%;
margin-top: var(--margin);
}

form fi {
    display: flex;
    position: relative;
    flex-direction: column;
    margin-bottom: calc(var(--margin) / 1);
}

form input, form textarea {
    margin-top: 1rem;
}

input, textarea {
    display: flex;
    /* width: 100%; */
    padding: calc(var(--margin) / 2);
    font-family: var(--font);
    font-size: 2.5rem;
}

input {
    height: fit-content;
}

form t2 {
    position: relative;
    width: fit-content;
    font-family: var(--subfont);
    font-size: 2.5rem;
    line-height: 1.33;
    color: var(--text);
    font-weight: normal;
    word-wrap: break-word;
}




cart customer-cart {
z-index: 10;
display: flex;
position: absolute;
top: 50%;
left: 50%;
width: 89vw;
height: fit-content;
/*height: 69vh;*/
max-height: 69vh;
padding: calc(var(--margin) / 1);
padding-top: 5rem;
transform: translate(-50%,-50%);
background-color: white;
border-radius: var(--border-radius);
/*overflow-y: scroll;*/
flex-direction: column;
}

cart customer-cart cart-button {
display: flex;
position: absolute;
top: 100%;
left: 50%;
transform: translate(-50%,0);
margin-top: calc(var(--margin) * 2);
}

cart customer-cart cart-button button {
padding: calc( var(--margin) / 0.75 ) calc( var(--margin) * 2 );
}

cart product-list {
max-height: 100%;
overflow-x: hidden;
overflow-y: scroll;
}

cart product-list span {
color: var(--dark);
}



product-list {
display: flex;
position: relative;
flex: 1;
/*margin: var(--margin) calc( var(--margin) / 2 );*/
margin: var(--margin) 0;
flex-direction: column;
}

product-list points {
display: flex;
position: relative;
width: 100%;
flex-direction: row;
margin-top: calc( var(--margin) / 2 );
margin-top: 0;
}

product-list span {
line-height: 4rem;
color: white;
}

product-list span:last-of-type {
margin-left: auto;
color: var(--money);
}






product-list detailed-product {
display: flex;
position: relative;
width: 100%;
flex-direction: column;
margin-top: calc( var(--margin) / 2 );
margin-top: 0;
padding: calc( var(--margin) / 2 ) 0;
border-bottom: 0.1rem solid gray
}

detailed-product uncart {
display: flex;
position: relative;
height: 5rem;
aspect-ratio: 1 / 1;
margin-left: calc( var(--margin) );
}

detailed-product uncart::after {
content: "+";
display: block;
position: absolute;
top: 50%;
left: 50%;
width: 100%;
height: 100%;
transform: translate(-50%,-50%) rotate(45deg);
font-family: var(--font);
font-size: 5rem;
line-height: 4.2rem;
align-self: center;
text-align: center;
background-color: var(--light);
border-radius: 10rem;
box-shadow: 0 2px 4px -1px rgba(0,0,0,.16), 0 4px 5px 0 rgba(0,0,0,.05), 0 1px 10px 0 rgba(0,0,0,.08);
}

product-list span {
font-family: var(--font);
line-height: 4rem;
color: white;
}

product-list span:last-of-type {
margin-left: auto;
}

detailed-product product-details {
display: flex;
position: relative;
width: 100%;
height: fit-content;
flex-direction: row;
align-items: center;
}

detailed-product time {
display: flex;
position: relative;
width: 100%;
height: fit-content;
flex-direction: row;
margin-top: 0.5rem;
}

detailed-product product-details span {
font-size: 2.5rem;
font-weight: normal;
}

detailed-product product-details span:last-of-type {
margin-left: auto;
color: var(--money);
}



detailed-product time span {
font-size: 2rem;
font-weight: normal;
line-height: 2rem;
opacity: 0.66;
}

detailed-product time span:last-of-type {
margin-left: auto;
color: var(--dark);
font-style: italic;
}



page-cart {
z-index: 2500;
display: flex;
position: fixed;
right: var(--margin);
bottom: var(--margin);
width: 10rem;
height: 10rem;
background-color: var(--dark);
border-radius: 100%;
}

page-cart::after {
content: "";
display: block;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%,-50%);
width: 69%;
height: 69%;
background: var(--brand);
-webkit-mask:url('/static/images/shopping-cart.png') center/contain;
          mask:url('/static/images/shopping-cart.png') center/contain;
/*background-image: url('/static/images/shopping-cart.png');
background-size: 69%;
background-position: center;
background-repeat: no-repeat;*/
/*filter: invert();*/
}

page-cart cart-count {
    z-index: 1;
display: block;
position: absolute;
top: -1.5rem;
right: -1.5rem;
min-width: 4.2rem;
height: 4.2rem;
padding: 0 0.69rem;
background-color: var(--money);
font-family: var(--font);
font-size: 2.75rem;
line-height: 4rem;
/*font-weight: bold;*/
color: white;
border-radius: 10rem;
text-align: center;
align-self: center;
pointer-events: none;
}


h1 a {
text-decoration: unset!important;
}