.hidden {
    visibility: hidden;
    display: none !important;
}

.total-amount-container {
    font-weight: bold;
}

span.total-amount {
    margin: 0 30px 0px 5px;
    font-weight: bold;
}

.add-to-cart-wrapper {
    max-width: 150px;
    min-width: 150px;
    display: flex;
    align-items: end;
}

button.purchase-button {
    width: 100%;
    background-color: #a9ad00;
    color: white;
    visibility: visible;
    border-radius: 30px;
    line-height: 1.3em;
    position: relative;
}

#single-page-cart .matspar-product {
    width: 100%;
    flex-direction: row-reverse;
}

#single-page-cart .matspar-product .add-to-cart-wrapper {
    margin-right: 20px;
}

#single-page-cart {
    width: 100%;
}

#single-page-cart .purchase-button {
    width: 200px;
}

#single-page-cart .cart-icon-button {
    margin-right: 10px;
}

#single-page-cart .purchase-button > span {
    display: flex;
}

#single-page-cart .purchase-button {
    width: 200px;
}

purchas.e-button > span {
    display: none;
}

.cart-notebox
{
	border: 0.125rem solid;
  	border-radius: 5px;
	padding: 10px;
	margin: 10px 0;
	width: 100%;
	border-color: #82C0CC;
	background-color: #82c0cc25; 
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.cart-notebox-buttons {
    display: flex;
}

.cart-notebox-save {
    margin-right: 10px;
    background-color: #82C0CC;
    color: #E5F4F9;
    border: 1px solid transparent;
    padding: 12px 24px;
    font-size: 14px;
    border-radius: 50px;

}

.cart-notebox-save:hover {
    color: #82C0CC;
    background-color: #E5F4F9;
    border: 1px solid #82C0CC;
}

.cart-notebox-trash {
    background-color: #82C0CC;
    color: #E5F4F9;
    border: 1px solid transparent;
    padding: 12px 24px;
    font-size: 14px;
    border-radius: 50px;

}

.cart-notebox-trash:hover {
    color: #82C0CC;
    background-color: #E5F4F9;
    border: 1px solid #84c0d4;
}


#redirect-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
    z-index: 5;
}

#redirect-overlay-error {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
    z-index: 5;
}

.redirect-overlay-error-content {
    background-color: white;
    padding: 30px;
    border-radius: 5px;
    text-align: center;
    max-width: 500px;
    width: 100%;
    margin: 0 10px;
}

.redirect-overlay-error-content a {
    color: #17a030;
}

.redirect-overlay-content {
    background-color: white;
    padding: 30px;
    border-radius: 5px;
    text-align: center;
    min-width: 400px;
    min-height: 215px;
}

#close-error-button {
    background: #17a030;
    color: #fff;
    padding: 11px 44px;
}

#cancel-redirect-button, .ok-redirect-button {
    transition: background-color 0.5s ease 0s;
    background: #282828;
    color: rgb(255, 255, 255);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
    border-radius: 2.5rem;
    outline: 0px;
    text-align: center;
    text-decoration: none;
    box-sizing: border-box;
    cursor: pointer;
    border: 0px;
    font-weight: bold;
    padding: 12px 24px;
    font-size: 14px;
    text-transform: uppercase;
    display: inline;
    margin: 0 5px;
}

#cancel-redirect-button:hover, .ok-redirect-button:hover {
    background: #282828;
    color: rgb(255, 255, 255);
}

#popup-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    text-align: center;
    max-width: 430px;
    box-shadow: 0 12px 24px rgb(0 0 0 / 20%);
    border-radius: 12px;
    padding: 2rem;
}

#zipCodeForm {
    text-align: left;
}

.consent-checkbox {
    display: flex;
    text-align: left;
    margin: 30px 0;
}

.consent-input {
    appearance: none;
    width: 35px;
    height: 15px;
    border: 1px solid #3e3e3e;
    border-radius: 3px;
    outline: none;
    margin: 3px 10px 0 0;
}

.consent-input:checked::before {
    content: "";
    display: block;
    width: 12px;
    height: 12px;
    background-color: #a9ad00;
    margin-left: 0px;
    margin-top: 0px;
    border-radius: 2px;
}

.consent-label {
    font-size: 14px;
    line-height: 1.3em;
}

#popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display:none;
}

#popup-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    text-align: center;
    max-width: 430px;
    box-shadow: 0 12px 24px rgb(0 0 0 / 20%);
    border-radius: 12px;
    padding: 2rem;
}

#zipcode-input {
    width: 100%;
    background: white;
    border: 1px solid gray;
    border-radius: 3px;
    font-size: 1rem;
    line-height: 1.1rem;
    transition: border-color .2s ease;
    cursor: text;
    box-shadow: none;
    filter: none;
    height: 3.125rem;
    color: #3e3e3e;
    margin: 6px 0;  
}

#check-zipcode-button {
    display: block;
    width: 100%;
    min-height: 48px;
    border-radius: 3px;
    line-height: 1.25;
    font-size: 1rem;
    padding: 0.4375rem;
    margin: 0 auto;
    font-weight: normal;
}

#popup-close {
    color: #fff;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
}

.close-icon {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    margin-bottom: 15px;
}

.close-icon img {
    width: 28px;
    height: 28px;
    padding: 5px;
    cursor: pointer;
    border: none;
    background: none;
    outline: none;
    transition: transform .2s;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
}

.basket-icon {
    height: 40px !important;
    width: 40px !important;
}

span {cursor:pointer; }

.cart-item-quantity {
    margin:100px;
}

ul {
    padding: 0 !important;
}

input {
    height:34px;
    width: 100px;
    text-align: center;
    font-size: 26px;
    border:1px solid #ddd;
    border-radius:4px;
    display: inline-block;
    vertical-align: middle;
}


.purchase-button {
    background-color: #a9ad00;
    color: white;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-transform: uppercase;
    font-weight: 700;
    text-align: center;
    padding: 12px;
    border-radius: 24px;
    font-size: 14px;
    line-height: 20px;
    text-decoration: none;
    cursor: pointer;
}

.cart-icon-button {
    width: 18px;
    height: auto;
}

.additional-info {
    padding-top: 10px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.25rem;
    width: 100%;
    text-align: left;
}

.additional-info p {
    margin-bottom: 0px;
}
  
.cart-icon {
    position: relative;
    display: flex;
    width: 47px;
    height: 47px;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    background: none;
    cursor: pointer;
    transition: border .2s;
    border-bottom: 2px solid transparent;
    border: 2px solid white;
    border-radius: 30px;
}

.cart-svg {
    fill: #ffffff;
    margin-top: 12px;
    padding: 2px;
}


.badge {
    position: absolute;
    top: -3px;
    right: -5px;
    min-width: 21px;
    text-align: center;
    box-sizing: border-box;
    color: #fff;
    font-size: 12px;
    line-height: 1.5;
    will-change: transform;
    -webkit-animation-duration: .5s;
    animation-duration: .5s;
    z-index: 1;
}

.badge:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    padding-bottom: 100%;
    width: 100%;
    height: 0;
    border-radius: 50%/50%;
    background-color: #282828;
    transform: translate(-50%,-50%);
    z-index: -1;
}


.title {
    height: 60px;
    border-bottom: 1px solid #E1E8EE;
    padding: 20px 30px;
    color: #5E6977;
    font-size: 18px;
    font-weight: 400;
}

.is-active {
    animation-name: animate;
    animation-duration: .8s;
    animation-iteration-count: 1;
    animation-timing-function: steps(28);
    animation-fill-mode: forwards;
}
   
@keyframes animate {
    0%   { background-position: left;  }
    50%  { background-position: right; }
    100% { background-position: right; }
}
   
.description {
    padding-top: 10px;
    margin-right: 60px;
    flex-basis: 40%;
    flex-grow: 1;
}

.description span {
    display: block;
    font-size: 20px;
    color: #282828;
    font-size: 18px;
    font-weight: 400;
}

.description span:first-child {
    margin-bottom: 5px;
}


.item {
    display: flex;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid #e3e3e3;
}

.image {
    display: flex;
    width: auto;
    margin-right: 30px;
    height: 100px;
}
  
.image img {
    max-width: 100%;
    height: auto;
}
  
.quantity {
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    border-radius: 1.375rem;
    padding: 0.25rem;
    background-color: #f7f7f7;

    flex: 2 1 0%;
    -webkit-box-pack: center;
    justify-content: center;
}
  
.quantity-button-plus, .quantity-button-minus {
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
    cursor: pointer;
    margin: 0px;
    padding: 0px;
    border: 0px none;
    border-radius: 6.1875rem;
    background-color: #fff ;
    color: #282828;
    font-size: 0.9375rem;
    height: 2.25rem;
    width: 2.25rem;
}
  
.quantity-button span {
    font-size: 14px;
}
  
.quantity-input {
    margin: 0px;
    width: 20px;
    border-radius: 0px;
    border: 0px none;
    text-align: center;
    background-color: transparent;
    height: 2.25rem;
    font-size: 0.9375rem;
    font-family: GothamMedium, sans-serif;
    color: #282828;
    border: none !important;
    background-color: transparent !important;
    padding: 0 !important;
}
  
.total-price {
    font-weight: bold;
    display: flex;
    flex: 3 1 0%;
    -webkit-box-pack: center;
    justify-content: center;
}
  
.buttons {
    margin-left: auto;
}

.order-button {
    transition: background-color 0.5s ease 0s;
    background: #282828;
    color: rgb(255, 255, 255);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
    border-radius: 2.5rem;
    outline: 0px;
    text-align: center;
    text-decoration: none;
    box-sizing: border-box;
    cursor: pointer;
    border: 0px;
    font-weight: bold;
    padding: 12px 24px;
    font-size: 14px;
    text-transform: uppercase;
}

.order-button:hover {
    background: #898C14;
    color: #fff;
}

.order-button-container {
    display: flex;
    flex-direction: column;
    justify-content: end;
    align-items: flex-end;
}

.order-summary {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    width: 100%;
    flex-direction: column;
    align-items: center;
}

.order-summary-top {
    width: 100%;
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.order-summary-bottom {
    width: 100%;
    display: flex;
    justify-content: end;
    align-items: baseline;
}

.order-summary-right span {
    font-size: 14px;
}

.order-summary-right img {
    width: 90px;
}

.empty-cart {
    margin-right: 50px;
    display: flex;
    align-items: center;
}

.no-littering {
    width: 24px;
    height: auto;
    margin-right: 10px;
}


.remove-item {
    height: auto;
    width: 1.5rem;
    cursor: pointer;
}

.empty-basket-label {
    text-align: center;  
}

button.purchase-button:disabled {
    background-color: #a9ad0070;
} 

.popup-message {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
}

.cart-ul {
    margin: 15px 0;
}

.cart-ul .description a {
    text-decoration: none;
    color: #282828;
}

.cart-quantity {
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    border-radius: 1.375rem;
    border: 1px solid darkgray;
    padding: 0.25rem;
    background-color: #f7f7f7;
    flex: 2 1 0%;
    -webkit-box-pack: center;
    justify-content: space-between;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;  
}
  
.cart-quantity-button-plus, .cart-quantity-button-minus, .quantity-button-plus, .quantity-button-minus {
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
    cursor: pointer;
    margin: 0px;
    padding: 0px;
    border: 0px none;
    border-radius: 6.1875rem;
    background-color: #fff ;
    color: #282828;
    font-size: 0.9375rem;
    height: 2.25rem;
    width: 2.25rem;
}
  
.cart-quantity-button span {
    font-size: 14px;
}
  
.cart-quantity-input {
    margin: 0px;
    border-radius: 0px;
    border: 0px none;
    text-align: center;
    background-color: transparent;
    height: 2.25rem;
    font-size: 0.9375rem;
    font-family: GothamMedium, sans-serif;
    color: #282828;
    border: none !important;
    background-color: transparent !important;
    padding: 0 !important;
}

.purchase-tooltip {
    position: absolute;
    bottom : 110%;
    background-color: #fff;
    border-radius: 5px;
    border: 0.5px solid #888888;
    font-size: 14px;
    line-height: 1.4em;
    color: #eee;
    display: none;
    width: 220px;
    z-index: 100;
    left: 10%;
    padding: 10px;
    text-transform: initial;
    font-weight: normal;
    color: #424242;
    text-align: left;
}

@keyframes spinner {
    to {transform: rotate(360deg);}
}

   
.loading-spinner {
    position: absolute;
    top: 50px;
    left: 0;
    width: 100%;
    height: 100%;
    margin-left: -10px;
}

.loading-spinner:before {
    content: '';
    box-sizing: border-box;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #ccc;
    border-top-color: #17a030;
    animation: spinner .6s linear infinite;
}

.matspar-logo {
    display: flex;
    justify-content: center;
    padding-bottom: 20px;
}

.matspar-logo img {
    width: 90px;
}

@media (max-width: 800px) {

    .purchase-tooltip {
        max-width: 190px;
        width: 100%;
    }

    #single-page-cart .additional-info p {
        margin: 15px 0;
    }

    .order-summary-top {
        flex-direction: column;
        margin-bottom: 0px;

    }

    .order-summary-bottom {
        justify-content: start;
    }

    .shopping-cart {
      width: 100%;
      height: auto;
      overflow: hidden;
    }
    .item {
      height: auto;
      flex-wrap: wrap;
      justify-content: center;
    }

    .item .image {
        width: 15%;
        height: auto;
        margin-right: 16px;
    }

    .image img {
      width: 50%;
    }

    .description span {
        font-size: 17px;
        line-height: 1.5rem;
    }

    .image,
    .quantity,
    .description {
      width: 100%;
      text-align: left;
      margin: 6px 0;
    }
    
    .buttons {
      margin-right: 20px;
    }

    #popup-overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.5);
      z-index: 9999;
    }

    #popup-content {
      position: absolute;
      top: 0;
      left: 0;
      bottom: 0;
      background-color: #fff;
      text-align: center;
      max-width: 430px;
      box-shadow: 0 12px 24px rgb(0 0 0 / 20%);
      border-radius: 0px;
      padding: 2rem;
      transform: translate(0%, 0%);
    }

    .empty-cart {
        width: 100%;
        margin-right: 0px;
        margin-bottom: 20px;
    }

    .entry-content ul {
        justify-content: space-between;
    }

    .matspar-product {
        align-items: center;
    }

    .cart-notebox {
        flex-direction: column;
    }

    .cart-notebox-buttons {
        margin-top: 10px;
    }

    .cart-notebox-save:hover {
        background-color: #82C0CC;
        color: #fff;
    }
    
    .cart-notebox-trash:hover {
        background-color: #82C0CC;
        color: #fff;
    }

    .order-summary {
        display: flex;
        margin-bottom: 15px;
        flex-direction: column;
        width: 100%;
        align-items: end;
    }
    
    /* span.total-amount {
        margin: 0;
    } */

    .order-button {
        margin-top: 15px;
    }

}

@media (max-width: 768px) {
    .item .image {
        width: 30%;
    }

    .image img {
        width: 100%;
    }

    .total-price {
        flex: 2 1 0%;
        font-size: 14px;
    }

    .redirect-overlay-content {
        height: 100%;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        border-radius: 0;
    }

    .loading-spinner {
        top: 80px;
    }

    #cancel-redirect-button {
        margin: 10px 5px;
    }

    .cart-icon {
        width: 38px;
        height: 38px;
        border: 1.5px solid #ffffff;
    }

    .cart-svg {
        fill: #ffffff;
        width: 26px;
        height: 26px;
    }
}



