
.pricdata{
    font-size: 2em;
}
.lastUpdate{
    font-size: 0.6em;
}
#productdata{
    display: flex;
    justify-content: space-between;
}
#lastupdate{
    padding-top: 10px;
    font-size: 0.7em;
}
#pricedata{
    padding-top: 1px;
    font-size: 2.0em;
}
.popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: 200ms ease-in-out;
    border: 1px solid black;
    border-radius: 10px;
    z-index: 10;
    background-color: white;
    width: 1000px;
    max-width: 90%;
}

.popup.active {
    transform: translate(-50%, -50%) scale(1);
}
#overlay {
    position: fixed;
    opacity: 0;
    transition: 200ms ease-in-out;
    backdrop-filter: blur(15px);
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, .5);
    pointer-events: none;
}
#overlay.active {
    opacity: 1;
    pointer-events: all;
}
.mainfield{
    transition: transform 1s ease, opacity 1s ease;
}
.swiped-left {
    transform: translateX(-100vw);
    opacity: 0;
}
.swiped-right {
    transform: translateX(100vw);
    opacity: 0;
}
#popup-nav {
    display: flex;
    gap: 4px;
    padding: 8px;
    width: auto;
    background-color: black;
}
#mainimg-indicator{
    display: flex;
    gap: 4px;
    padding: 8px;
    width: auto;
    background-color: transparent;
}
.popup-button{
    min-width: 0;
}
.imgIndicator,.imgIndicatorPopup{
    flex: 1;
    height: 4px;
    background-color: #ccc;
    border-radius: 2px;
    overflow: hidden;
}
.imgIndicator.active,.imgIndicatorPopup.active{
    position: relative;
    background-color: transparent;
}
.imgIndicatorPopup.active::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background-color: #fff;
    animation: fillSegment 0.5s linear forwards;
    border-radius: 2px;
}
.imgIndicator.active::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background-color: #fff;
    animation: fillSegment 3.5s linear forwards;
    border-radius: 2px;
}
@keyframes fillSegment {
    to {
        width: 100%;
    }
}