

/* Start:/local/components/xenonshop/photo.gallery/templates/xenonshop22/style.css?17855023885771*/
.xphoto {
    margin: 0 0 48px;
}

.xphoto__nav {
    margin: 0 0 24px;
}

.xphoto__back {
    color: var(--theme-base-color, #e31e24);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
}

.xphoto__back:hover {
    color: var(--theme-base-color-hover, var(--theme-base-color, #e31e24));
    text-decoration: none;
}

.xphoto__sections {
    display: grid;
    gap: 28px 20px;
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.xphoto__section {
    align-items: center;
    color: var(--basic_text_black, #222);
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
    text-align: center;
    text-decoration: none;
}

.xphoto__section-image {
    align-items: center;
    background: var(--black_bg_black, #fff);
    border: 1px solid var(--stroke_black, #e5e5e5);
    border-radius: var(--border-radius, 8px);
    display: flex;
    height: 142px;
    justify-content: center;
    overflow: hidden;
    padding: 14px;
    transition: border-color .2s ease, box-shadow .2s ease;
    width: 100%;
}

.xphoto__section:hover .xphoto__section-image {
    border-color: var(--theme-base-color, #e31e24);
    box-shadow: 0 5px 20px rgba(0, 0, 0, .07);
}

.xphoto__section-image img {
    display: block;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
    width: 100%;
}

.xphoto__section-letter {
    align-items: center;
    background: var(--light_bg_black, #f4f5f6);
    border-radius: 50%;
    color: var(--basic_text_black, #444);
    display: flex;
    font-size: 34px;
    font-weight: 600;
    height: 76px;
    justify-content: center;
    width: 76px;
}

.xphoto__section-name {
    font-size: 15px;
    font-weight: 500;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.xphoto__section:hover .xphoto__section-name {
    color: var(--theme-base-color, #e31e24);
}

.xphoto__photos {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.xphoto__photo {
    aspect-ratio: 4 / 3;
    background: var(--light_bg_black, #f4f5f6);
    border-radius: var(--border-radius, 8px);
    display: block;
    overflow: hidden;
}

.xphoto__photo img {
    display: block;
    height: 100%;
    object-fit: cover;
    transition: transform .25s ease;
    width: 100%;
}

.xphoto__photo:hover img {
    transform: scale(1.035);
}

.xphoto-viewer {
    align-items: center;
    background: rgba(0, 0, 0, .88);
    bottom: 0;
    display: flex;
    justify-content: center;
    left: 0;
    padding: 46px 72px 34px;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 10050;
}

.xphoto-viewer[hidden] {
    display: none;
}

.xphoto-viewer__stage {
    align-items: center;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: center;
    max-width: 1280px;
    min-width: 0;
    position: relative;
    width: 100%;
}

.xphoto-viewer__image {
    background: #1f1f1f;
    box-shadow: 0 8px 40px rgba(0, 0, 0, .45);
    display: block;
    height: auto;
    max-height: calc(100vh - 120px);
    max-width: 100%;
    object-fit: contain;
    width: auto;
}

.xphoto-viewer__caption,
.xphoto-viewer__counter {
    color: #fff;
    font-size: 14px;
    line-height: 1.4;
}

.xphoto-viewer__counter {
    left: 0;
    opacity: .75;
    position: absolute;
    top: -28px;
}

.xphoto-viewer__caption {
    margin-top: 10px;
    min-height: 20px;
    text-align: center;
}

.xphoto-viewer__close,
.xphoto-viewer__arrow {
    appearance: none;
    background: rgba(20, 20, 20, .72);
    border: 0;
    color: #fff;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    position: fixed;
    transition: background-color .2s ease, opacity .2s ease;
    z-index: 1;
}

.xphoto-viewer__close:hover,
.xphoto-viewer__arrow:hover {
    background: var(--theme-base-color, #e31e24);
}

.xphoto-viewer__close {
    border-radius: 4px;
    font-size: 34px;
    height: 48px;
    right: 22px;
    top: 18px;
    width: 48px;
}

.xphoto-viewer__arrow {
    background: transparent;
    font-size: 72px;
    height: 96px;
    margin-top: -48px;
    top: 50%;
    width: 58px;
}

.xphoto-viewer__arrow--prev {
    left: 8px;
}

.xphoto-viewer__arrow--next {
    right: 8px;
}

.xphoto-viewer__arrow:disabled {
    cursor: default;
    opacity: .2;
}

body.xphoto-viewer-open {
    overflow: hidden;
}

.xphoto__detail {
    margin: 0;
    max-width: 1160px;
}

.xphoto__detail img {
    border-radius: var(--border-radius, 8px);
    display: block;
    height: auto;
    max-width: 100%;
}

.xphoto__detail figcaption,
.xphoto__empty,
.xphoto__missing {
    color: var(--light_basic_text_black, #777);
    font-size: 14px;
    margin-top: 12px;
}

.xphoto__missing {
    align-items: center;
    display: flex;
    height: 100%;
    justify-content: center;
    padding: 16px;
    text-align: center;
}

@media (max-width: 991px) {
    .xphoto__sections {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .xphoto__photos {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .xphoto__sections {
        gap: 20px 12px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .xphoto__section-image {
        height: 112px;
        padding: 10px;
    }

    .xphoto__photos {
        gap: 10px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .xphoto-viewer {
        padding: 54px 38px 26px;
    }

    .xphoto-viewer__close {
        font-size: 30px;
        height: 42px;
        right: 10px;
        top: 8px;
        width: 42px;
    }

    .xphoto-viewer__arrow {
        font-size: 52px;
        width: 34px;
    }

    .xphoto-viewer__arrow--prev {
        left: 0;
    }

    .xphoto-viewer__arrow--next {
        right: 0;
    }
}

/* End */
/* /local/components/xenonshop/photo.gallery/templates/xenonshop22/style.css?17855023885771 */
