html, body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

body {
    font-family: 'Poppins', sans-serif;
    -webkit-tap-highlight-color: inherit;
}

ul {
    padding: 0;
    margin: 1rem 0;
    list-style: none;
}

img:not([src]):not([srcset]) {
    visibility: hidden;
}

button {
    background: none;
    border: none;
}

nav button {
    color: #fff;
    font-size: 1.6rem;
    line-height: 0;
    padding: 0 .3rem;
}

footer a {
    color: #fff;
    text-decoration: none;
    opacity: 90%;
    margin: .3rem 0;
}

.loading {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    display: grid;
    place-items: center;
    background: #fff;
    z-index: 99999;
    opacity: 1;
    visibility: visible;
    transition: .5s;
}

.popup-modal {
    position: fixed;
    background: rgba(0,0,0,.7);
    /* backdrop-filter: blur(5px); */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99990;
    visibility: visible;
    opacity: 1;
    will-change: opacity;
    transition: .3s;
}

.popup-modal .close {
    position: absolute;
    right: 0;
    top: 0;
    padding: 0;
    opacity: .7;
    line-height: 0;
    font-size: 2.5rem;
    color: #fff;
}

.popup {
    background: #fff;
    width: calc(100% - 9px);
    max-height: 80%;
    border: 1.3rem solid #fff;
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    transition: .3s;
    box-shadow: #6DC8E3 9px 9px 0;
    will-change: transform;
    overflow-y: scroll;
    overflow-x: hidden;
    scrollbar-width: 0px;
}

.popup li {
    margin: .4rem 0;
}

.popup::-webkit-scrollbar {
    display: none;
}

.hidden, .popup.hidden {
    opacity: 0;
    visibility: hidden;
}

.popup.hidden {
    transform: translateY(20px);
}

.shadow-custom {
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

.product {
    cursor: pointer;
    overflow: hidden;
}

.thumb {
    margin-bottom: .2rem;
    aspect-ratio: 1/1;
    width: 100%;
    background: gainsboro;
    overflow: hidden;
}

.thumb .lazy {
    opacity: 0;
    transition: .5s;
}

.thumb .lazy.loaded {
    opacity: 1;
}

.product-title, .from {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

.btn-outline-info:hover {
    color: #fff !important;
}

@supports not (aspect-ratio: 1/1) {
    .thumb {
        position: relative;
        margin-bottom: .2rem;
        padding-top: 100%;
        width: 100%;
        background: gainsboro;
        overflow: hidden;
    }
    
    .thumb img {
        position: absolute;
        top: 0;
        left: 0;
    }
}