#shop #products,
#shop #entitlements,
#shop .backdrop,
#shop .button {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

#shop:not(.inactive) .backdrop,
#shop.expanded .button.entitlements,
#shop.entitlements>div>p,
#shop.entitlements #products,
#shop.entitlements .button.entitlements,
#shop:not(.entitlements) #entitlements,
#shop:not(.expanded) .button.buy,
#shop:not(.expanded):not(.entitlements) .button.back {
    display: none;
}

#shop {
    position: relative;
    padding: 0 10px;
    min-height: 40vh;
    margin: 80px auto;
    color: var(--light);
}

#shop>div>p {
    padding: 0 40px;
}

#shop>div>p:nth-child(2) {
    font-variant: all-small-caps;
}

#shop>div:not(#checkout) {
    position: relative;
    margin: 0 auto;
    padding: 10px;
    max-width: 640px;
    font-size: 20.48px;
}

#shop .product,
#shop #entitlements>div {
    margin: 2px;
    padding: 0 0.5882em;
    background-color: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

#shop .product {
    display: flex;
    justify-content: space-between;
}

#shop #products .product {
    cursor: pointer;
}

#shop .product>div:last-child,
#shop .product>div:first-child {
    height: 80px;
    width: 80px;
    background-size: auto 64px;
    background-repeat: no-repeat;
    background-position: center center;
    flex-shrink: 0;
}

#shop #products .product:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

#shop .product>div:nth-child(2) {
    padding: 0.5882em 0;
    text-align: center;
}

#shop #products .product>div:nth-child(2)>div:nth-child(2) {
    margin: 0.1em 0;
    color: var(--teal);
}

#shop .error {
    color: var(--red) !important;
}

#shop.expanded #products .product:not(.expanded),
#shop #products .product:not(.expanded)>div:nth-child(2)>ul {
    display: none;
}

#shop .product>div:nth-child(2)>ul {
    color: var(--orange);
    font-size: 0.8em;
    margin: 0 auto;
    width: fit-content;
}

#shop .product>div:nth-child(2)>ul>li {
    text-align: left;
}

#shop .product>div:nth-child(2)>ul>li:before {
    content: "\30FB";
    line-height: 50%;
}

#shop .product>div:last-child {
    position: relative;
    text-align: right;
}

#shop #products .product>div:last-child>div:before {
    content: '$';
}

#shop .product>div:last-child>div {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

#shop>div:first-child,
#shop .button {
    background: #0d0d0d;
    border: 2px solid rgba(255, 255, 255, 0.15);
    -webkit-box-shadow: 0px 0px 3px 0px rgb(0 0 0 / 75%), inset 0px 0px 30px 2px rgb(0 0 0 / 50%);
    -moz-box-shadow: 0px 0px 3px 0px rgb(0 0 0 / 75%), inset 0px 0px 30px 2px rgb(0 0 0 / 50%);
    box-shadow: 0px 0px 3px 0px rgb(0 0 0 / 75%), inset 0px 0px 30px 2px rgb(0 0 0 / 50%);
}

#shop>div:first-child {
    border-color: var(--dark-orange);
}

#shop>div p {
    text-align: center;
}

#shop>div.success.inactive,
#shop>div p:empty {
    display: none;
}

#shop>div.success>p:first-child {
    color: var(--green);
}

#shop .buttons {
    text-align: center;
    max-width: 320px;
    margin: 0 auto;
}

#shop .product:not(:first-child):not(.expanded),
#shop #entitlements>div:not(:first-child),
#shop .buttons,
#shop .buttons .button:not(:first-child) {
    margin-top: 10px;
}

#shop .button {
    padding: 2px 0.5882em;
    font-family: 'Ubuntu Condensed', sans-serif;
    font-variant: none;
    background-color: rgba(127, 127, 255, 0.25);
    border-color: rgba(127, 127, 255, 0.5);
    -webkit-transition: background-color 100ms linear, border-color 100ms linear, color 100ms linear;
    -moz-transition: background-color 100ms linear, border-color 100ms linear, color 100ms linear;
    transition: background-color 100ms linear, border-color 100ms linear, color 100ms linear;
    cursor: pointer;
}

#shop .button:hover {
    background-color: rgba(127, 127, 255, 0.4);
}

#shop.inactive .backdrop {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.67);
}

#shop .backdrop span {
    position: absolute;
    text-align: center;
    left: 0;
    top: 50%;
    width: 100%;
    font-size: 22.464px;
    padding: 0.5em 0;
    color: #fff;
    background: var(--dark-orange);    
    transform: translateY(-50%);
}

#shop .backdrop span:after {
    content: "";
    display: block;
    margin: 0 auto;
    background: transparent url(/media/gui/64/badge_eye_white.png) no-repeat center center;
    background-image: -webkit-image-set(url(/media/gui/64/badge_eye_white.png) 1x, url(/media/gui/128/badge_eye_white.png) 2x);
    background-image: image-set(url(/media/gui/64/badge_eye_white.png) 1x, url(/media/gui/128/badge_eye_white.png) 2x);
    background-size: 90% auto;
    width: 1.61429em;
    height: 1em;
}

#checkout {
    position: absolute;
    width: 660px;
    top: 0;
    left: 50%;
    right: 0;
    transform: translateX(-50%);
}

#checkout:empty {
    display: none;
}

#shop #entitlements>div:not(.product) {
    padding: 0.5882em;
}

#shop #entitlements>div>div:first-child {
    font-size: 1.25em;
    text-align: center;
    color: #fff;
}

#shop #entitlements table {
    margin: 0.5882em auto 0;
}

#shop #entitlements table>tr>td {
    position: relative;
    min-width: 80px;
}

#shop #entitlements table>tr>td:last-child {
    text-align: right;
}

#shop #entitlements table>tr>td:first-child:after {
    position: absolute;
    content: ":";
    right: 0;
    top: 0;
    transform: translateX(50%);
}

#shop #entitlements table>tr>td span:nth-child(2) {
    position: absolute;
    right: 0;
    top: 0;
    transform: translateX(100%);
    color: var(--orange);
}

#shop #entitlements table>tr.total {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

#shop #entitlements .product>div:nth-child(2) .button {
    width: fit-content;
    display: inline-block;
    background-color: rgba(128, 255, 255, 0.25);
    border-color: rgba(128, 255, 255, 0.5);
}

#shop #entitlements .product>div:nth-child(2) .button:hover {
    background-color: rgba(128, 255, 255, 0.4);
}