.packs {
    display: flex;
    min-height: calc(100vh - 11rem);
}

.packs-expand-button {
    cursor: pointer;
    position: fixed;
    bottom: 4rem;
    left: 0;
    height: calc(100vh - 11rem);
    width: calc(5% - 1rem);
    display: flex;
    justify-content: center;
    align-items: center;
    writing-mode: vertical-rl;
    text-orientation: sideways;
    border-right: 1px solid var(--white-1);
    transition: all 0.2s ease;
    opacity: 0.4;
}

.packs-expand-button:hover {
    opacity: 1;
}

.packs-expand-button p {
    transform: rotate(180deg);
    user-select: none;
    color: var(--white-1);
    font-weight: 600;
    font-size: 1.2rem;
    letter-spacing: 0.2rem;
}

.packs-list-container {
    margin-right: 2rem;
    width: 18rem;
    opacity: 1;
    pointer-events: all;
}

/*@-webkit-keyframes expand {*/
/*    0% {*/
/*        margin-right: 0;*/
/*        width: 0;*/
/*        transform: translateX(-18rem);*/
/*    }*/
/*    50% {*/
/*        opacity: 0;*/
/*        transform: translateX(-18rem);*/
/*    }*/
/*    100% {*/
/*        margin-right: 2rem;*/
/*        width: 16rem;*/
/*        opacity: 1;*/
/*        transform: translateX(0);*/
/*    }*/
/*}*/

/*@keyframes expand {*/
/*    0% {*/
/*        margin-right: 0;*/
/*        width: 0;*/
/*        transform: translateX(-18rem);*/
/*    }*/
/*    50% {*/
/*        opacity: 0;*/
/*        transform: translateX(-18rem);*/
/*    }*/
/*    100% {*/
/*        margin-right: 2rem;*/
/*        width: 16rem;*/
/*        opacity: 1;*/
/*        transform: translateX(0);*/
/*    }*/
/*}*/

/*@-webkit-keyframes shrink {*/
/*    0% {*/
/*        margin-right: 2rem;*/
/*        width: 16rem;*/
/*        opacity: 1;*/
/*        transform: translateX(0);*/
/*    }*/
/*    50% {*/
/*        opacity: 0;*/
/*        transform: translateX(-18rem);*/
/*    }*/
/*    100% {*/
/*        margin-right: 0;*/
/*        width: 0;*/
/*    }*/
/*}*/

/*@keyframes shrink {*/
/*    0% {*/
/*        margin-right: 2rem;*/
/*        width: 16rem;*/
/*        opacity: 1;*/
/*        transform: translateX(0);*/
/*    }*/
/*    50% {*/
/*        opacity: 0;*/
/*        transform: translateX(-18rem);*/
/*    }*/
/*    100% {*/
/*        margin-right: 0;*/
/*        width: 0;*/
/*    }*/
/*}*/


.packs-list-container.show {
    /*-webkit-animation: expand 1s cubic-bezier(0.39, 0.575, 0.565, 1) both;*/
    /*animation: expand 1s cubic-bezier(0.39, 0.575, 0.565, 1) both;*/
    margin-right: 2rem;
    width: 16rem;
    opacity: 1;
    pointer-events: all;
}

.packs-list-container.hide {
    /*-webkit-animation: shrink 1s cubic-bezier(0.39, 0.575, 0.565, 1) both;*/
    /*animation: shrink 1s cubic-bezier(0.39, 0.575, 0.565, 1) both;*/
    margin-right: 0;
    width: 0;
    opacity: 0;
    pointer-events: none;
}

.packs-list-container.hide .pack-list-filter {
    width: 0;
    opacity: 0;
    pointer-events: none;
}

.packs-detail-container {
    position: relative;
    flex: 1;
}

.packs-list-filter {
    position: sticky;
    top: 5.5rem;
    width: 100%;
    opacity: 1;
    pointer-events: all;
}

.packs-list {
    position: sticky;
    top: 8.5rem;
    height: calc(100vh - 14.5rem);
    margin-top: 0.7rem;
    overflow-y: auto;
}

.packs-list__item {
    display: flex;
    cursor: pointer;
    background-color: transparent;
}

.packs-list__item__image {
    height: 4rem;
    width: 4rem;
    padding: 2px 1rem 2px 0;
}

.packs-list__item__image img {
    height: 100%;
    width: 100%;
    object-fit: contain;
    object-position: right;
}

.packs-list__item__info {
    flex: 1;
    padding: 0 0.5rem;
    border: 1px solid transparent;
    border-left-color: rgba(180, 180, 180, 0.4);
    transition: all 0.2s ease;
}

.packs-list__item__info p:nth-child(2) {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--gray-1)
}

.packs-list__item:hover .packs-list__item__info {
    border-bottom-color: rgba(180, 180, 180, 0.4);
    border-left-color: transparent;
}

.packs-detail-image-popup {
    position: fixed;
    top: 50%;
    right: 10%;
    transform: translateY(-50%);
    height: 60vh;
    max-width: 30rem;
    z-index: 2;
    opacity: 1;
    pointer-events: all;
    transition: opacity 0.5s ease;
}

.packs-detail-image-popup.hide {
    opacity: 0;
    pointer-events: none;
}

.packs-detail-image-popup img {
    height: 100%;
    width: 100%;
    object-fit: contain;
}
