#popup-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99999;
}

html.popup-open,
body.popup-open {
    overflow: hidden;
}

.popup-container {
    position: fixed;
    left: 50%;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    background: #fff;
    z-index: 999999;
    border: 1px solid #ccc;
    overflow: hidden;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

#product-popup-container {
    bottom: 0;
    border-radius: 40px 40px 0 0;
}

#cart-popup-container {
    top: 0;
    width: 100%;
    max-width: 640px;
    height: 100%;
}

.popup-close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 30;
    display: flex;
    justify-content: center;
    align-content: center;
    flex-wrap: wrap;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #a0aef796;
    color: #000;
    font-size: 25px;
    cursor: pointer;
    transform: translateZ(0);
    will-change: transform;
}

.popup-content {
    height: inherit;
}

.popup-loader {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
    height: 100%;
    background: #fff;
}

.popup-frame {
    display: block;
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    border: 0;
}

.popup-checkout-button {
    position: fixed;
    bottom: 30px;
    left: 50%;
    z-index: 9999999;
    display: none;
    width: 90%;
    padding: 13px 20px;
    background-color: #000;
    border-radius: 5px;
    font-size: 16px;
    transform: translateX(-50%);
}

.popup-drag-handle {
    position: absolute;
    top: 0;
    left: 50%;
    width: 72px;
    transform: translate3d(-50%, 0, 0);
    z-index: 25;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 34px;
    cursor: grab;
    touch-action: none;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    will-change: transform;
}

.popup-drag-grip {
    display: block;
    width: 46px;
    height: 5px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.18);
}

.popup-inline-content {
    box-sizing: border-box;
    overflow: auto;
    height: 100%;
    padding: 10px;
}


#masthead, #checkouthead {
  position: fixed; 
  top: 0; 
  width: 100%; 
}

a {
  -webkit-touch-callout: none;
}

.prevent-select {
  -webkit-user-select: none; /* Safari */
  -ms-user-select: none; /* IE 10 and IE 11 */
  user-select: none; /* Standard syntax */
}

a.tabcontent.active {
    background-color: #abb4ff;
}
