html, body {
    height: 100%;
}

body {
    padding: 0;
    margin: 0;
    overflow: hidden;
    font-family: "IBM Plex Sans Condensed", sans-serif;
    background: black;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cwp-container {
    display: flex;
    flex-wrap: wrap;
    background: black;
    position: relative;
}

.cwp-zoom-button {
    font-size: 26px;
}

.cwp-controls {
    width: 100%;
}

.panel {
    grid-area: panel;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    font-style: normal;
    line-height: normal;
    color: #fdfdfd;
}

* {
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

.cp {
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
}

.cp a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.8);
}

@media (hover: hover) {
    .cp a:hover {
        text-decoration: underline;
        color: rgba(255, 255, 255, 1);
    }
}

.product-carousel {
    position: relative;
    overflow: hidden;
}

.product-carousel__arrow {
    position: absolute;
    z-index: 1;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 82px;
    font-size: 40px;
    text-align: center;
    cursor: pointer;
}

.product-carousel__arrow.hidden {
    display: none;
}

.product-carousel__arrow--prev {
    left: 0;
    background: linear-gradient(to left, transparent, #202020);
}

.product-carousel__arrow--next {
    right: 0;
    background: linear-gradient(to right, transparent, #202020);
}

.product-carousel__list {
    display: flex;
    flex-wrap: wrap;
    width: 9999px;
    transition: all .2s ease;
    user-select: none;
    position: absolute;
    left: 0px;
}

.product-carousel__list.without-transition {
    transition: none;
}

.product-carousel__item-group {
    display: flex;
}

.product-carousel__item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 82px;
    height: 82px;
    margin-right: 7px;
    border: 1px solid transparent;
}

.product-carousel__item-group:last-child .product-carousel__item:last-child {
    margin-right: 0;
}

.product-carousel__item img {
    max-width: 100%;
    max-height: 100%;
    flex: none;
    object-fit: contain;
    pointer-events: none;
}

/**
    IE11 support
 */
.product-carousel__item-img {
    width: 100%;
    height: 100%;
    pointer-events: none;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
}

.product-carousel__item span, .product-carousel__item-label {
    display: none;
    position: absolute;
    bottom: -1px;
    width: 82px;
    padding: 1px 1px 2px 1px;
    background: rgba(0, 0, 0, 0.55);
    font-size: 12px;
    text-align: center;
    text-overflow: ellipsis;
}

.product-carousel__item--active .product-carousel__item-label, .product-carousel__item--active span {
    display: block;
}

.product-carousel__item--active {
    border-color: white;
    transition: border .3s ease;
    overflow: hidden;
}

@media (hover: hover) {
    .product-carousel__item:hover {
        border-color: white;
        transition: border .3s ease;
        overflow: hidden;
    }
    .product-carousel__item:hover span {
        display: block;
    }
}

@media (pointer: coarse) {
    .product-carousel__item span {
        display: block;
    }
}

.cwp-content {
    position: relative;
    width: 100%;
    height: var(--media-size);
}
