/* ------------------------- CATALOGS */
.storeCatalogMain {
    position: relative;
    display: inline-block;
    margin: 6px;
    margin-bottom: 10px;
    opacity: 0;
    z-index: 0;
    animation: placeInScaleANIM 0.3s ease-in-out forwards;
}

.storeCatalogMain:hover {
    z-index: 1;
}

.storeCatalogContainer {
    position: relative;
    display: inline-block;
    overflow: hidden;
    border: solid 6px #fff;
    box-shadow: 0px 2px #dcdcdc, 0px 3px #767676, 0px 5px #bcbcbc, 0px 5px 6px rgba(0, 0, 0, 0.7);
    cursor: var(--cursorPointer);
    transform: scale(1) rotate(0deg);
    transition: 0.1s ease;
}

.storeCatalogContainer:hover {
    box-shadow: 0px 0px 0px 6px #dcdcdc, 0px 0px 24px 12px rgba(0, 0, 0, 0.7);
    transform: scale(1.1) rotate(3deg);
}

.storeCatalogContainer .notifIcon {
    left: auto;
    top: 6px;
    right: 6px;
}

.storeCatalogBg {
    position: absolute;
    width: 100%;
    height: calc(100% - 20px);
    top: 0px;
    left: 0px;
    background-size: cover;
    background-position: center;
    filter: brightness(80%);
    transform: scale(1.08);
    transition: 0.3s ease;
}

.storeCatalogContainer:hover .storeCatalogBg {
    filter: brightness(100%);
    transform: scale(1);
}

.storeCatalogTitle {
    position: absolute;
    top: 6px;
    bottom: 25px;
    right: 16px;
    left: 16px;
    width: fit-content;
    height: fit-content;
    margin: auto;
    font-family: LuckiestGuy;
    font-size: 28px;
    letter-spacing: 2px;
    line-height: 28px;
    pointer-events: none;
    transform: scale(1) rotate(-6deg);
    transition: 0.2s ease;
}

.storeCatalogContainer:hover .storeCatalogTitle {
    transform: scale(1.15) rotate(-4deg);
}

.storeCatalogBottom {
    position: absolute;
    height: 24px;
    width: 100%;
    bottom: 0px;
    left: 0px;
    padding-left: 4px;
    font-size: 14px;
    letter-spacing: 1px;
    font-family: Londrina;
    text-align: left;
    text-shadow: var(--shadowSimple);
    pointer-events: none;
    background: url(../content/store/catalog_border.png) repeat;
    background-size: 8px 8px;
}

.storeCatalogBottom p {
    margin-top: 5px;
}

.storeBarcode {
    position: absolute;
    bottom: 4px;
    right: 2px;
    height: 16px;
    opacity: 0.6;
}

.storeCatalogDot {
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    height: 8px;
    background: url(../content/store/catalog_border.png) repeat;
    background-size: 8px 8px;
}

.storeAreaClass {
    overflow: hidden;
    padding: 32px 16px;
    align-items: center;
}

.lockedCatalog {
    pointer-events: none;
}

.storeArea {
    position: relative;
    display: inline-block;
    vertical-align: top;
    width: 500px;
    margin: 20px;
}

.storeRequirementMsg {
    position: absolute;
    margin: auto;
    top: 0px;
    bottom: 0px;
    right: 0px;
    left: 0px;
    height: fit-content;
    width: fit-content;
    font-family: LondrinaL;
    font-size: 20px;
    text-shadow: var(--shadowSimple);
    transform: rotate(6deg);
}

.storeCatalogSmall {
    height: 180px;
    width: 180px;
}

.storeCatalogMedium {
    height: 180px;
    width: 240px;
}

.storeCatalogLarge {
    height: 180px;
    width: 342px;
}

.storeCatalogExtraLarge {
    height: 180px;
    width: 708px;
}

/* ------------------------- PRODUCTS */

.storeBox {
    position: relative;
    display: inline-block;
    vertical-align: top;
    min-width: 150px;
    margin: 4px;
    color: #fff;
    padding-bottom: 34px;
    border-radius: 6px;
    border: solid 2px transparent;
    cursor: var(--cursorDefault);
    background-color: rgba(0, 0, 0, 0.5);
    background-image: url(../content/img/popup_background_2.png);
    background-repeat: no-repeat;
    background-position: top left;
    background-size: contain;
    opacity: 0;
    animation: placeInLightANIM 0.3s ease-in-out forwards;
}

.storeBox.storeBoxAvailable:hover {
    cursor: var(--cursorPointer);
    border: solid 2px rgb(255, 255, 255);
    box-shadow: 0px 0px 12px #fff, inset 0px 0px 12px #fff;
}

.storeBoxAnim {
    animation: 1s showItem;
}

.storeBox .frameGlow1 {
    display: none;
}

.storeBox.storeBoxAvailable:hover .frameGlow1 {
    display: block;
}

@keyframes showItem {
    from {
        transform: scale(0.6);
        opacity: 0;
    }

    to {
        transform: scale(1.0);
        opacity: 1;
    }
}

@keyframes buyItem {
    from {
        transform: scale(1);
        opacity: 1;
    }

    to {
        transform: scale(1.5);
        opacity: 0;
    }
}

.storeProductImg {
    height: 80px;
    margin: 2px;
    margin-left: 6px;
    margin-right: 6px;
    filter: drop-shadow(var(--shadowSimpleThick));
    transform: scale(1);
    transition: 0.2s ease;
}

.storeBox:hover .itemTitle {
    opacity: 0;
}

.storeBox:hover .storeProductImg {
    transform: scale(1.18) translateY(-6px);
}

.sPISmall {
    height: 38px;
}

.sPILarge {
    height: 150px;
}

.storePrice {
    position: absolute;
    bottom: 0px;
    right: 0px;
    left: 0px;
    margin: auto;
    font-size: 20px;
    font-family: LuckiestGuy;
    text-shadow: var(--shadowSimple);
    letter-spacing: 1px;
    border-top: solid 2px rgba(255, 255, 255, 0.3);
    pointer-events: none;
}

.storePrice img {
    height: 18px;
    margin-left: 4px;
    vertical-align: middle;
    filter: drop-shadow(var(--shadowSimpleButton));
}

.storePriceFree {
    color: #a6ff71;
}

.storePriceBlocked {
    color: #ff6969;
}

.storePriceOut {
    color: #ff9f9fff;
    background-color: #aa2525;
}

.storePriceDiscount {
    vertical-align: top;
    font-size: 16px;
    margin-right: 3px;
    text-decoration: line-through 2px #ff1212b1;
    color: #fff;
}

.itemTitle {
    margin-top: 4px;
    margin-bottom: 4px;
    font-size: 16px;
    font-family: LondrinaL;
    text-shadow: var(--shadowSimple);
    letter-spacing: 1px;
    opacity: 1;
    pointer-events: none;
    transition: 0.1s ease-in-out;
}

.storeBox .userCardPreview {
    pointer-events: none;
}

.storeGroup {
    position: relative;
    display: inline-block;
}

.storeGroupFill {
    position: relative;
    width: 100%;
}

.storeGroup_locked .storeBox {
    pointer-events: none;
}

.storeGroup_locked .storeProductImg {
    filter: brightness(0%);
}

.storeGroup_locked .itemTitle {
    opacity: 0;
}

.storeGroup_locked .storeRestockTag {
    opacity: 0;
}

.storeBox .userThemeIconPreview {
    pointer-events: none;
}

/* ------------------------- TAGS */

.storeProductTagsBox {
    position: absolute;
    top: 32px;
    left: -6px;
    pointer-events: none;
    transition: 0.2s;
}

.storeGroup_locked .storeProductTagsBox {
    display: none;
}

.storeCatalogContainer .storeProductTagsBox {
    top: 8px;
}

.storeBox:hover .storeProductTagsBox {
    top: 8px;
}

.storeProductTag {
    position: relative;
    width: fit-content;
    text-align: left;
    font-size: 16px;
    margin-bottom: 4px;
    font-family: Londrina;
    text-shadow: var(--shadowSimple);
    letter-spacing: 1px;
    padding: 0px 12px;
    border-top: solid 2px rgba(255, 255, 255, 0.4);
    border-bottom: solid 2px rgba(255, 255, 255, 0.4);
    clip-path: polygon(0 0, 100% 0, calc(100% - 6px) 50%, 100% 100%, 0 100%);
}

.storeRestockTag {
    margin-top: 8px;
    font-size: 13px;
    font-family: Londrina;
    letter-spacing: 1px;
    color: #000;
    border-radius: 2px;
    background-color: rgba(255, 255, 255, 0.7);
}

.storeBox:hover .storeRestockTag {
    background-color: rgba(255, 255, 255, 0.9);
}

.storeTagCatalog {
    background-color: rgb(145, 145, 145)
}

.storeTagDiscount {
    background-color: rgb(196, 62, 62);
}

.storeTagEvent {
    background-color: #5c92d3ff;
}