.fee-menu-thumbnail {
    margin: 24px auto 28px;
    text-align: center;
}

.fee-menu-thumbnail__title {
    margin: 0 0 14px;
    padding: 0;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.45;
    text-align: center;
}

.fee-menu-thumbnail__figure {
    margin: 0 auto;
}

.fee-menu-thumbnail__image,
.fee-menu-thumbnail img {
    display: block;
    width: 100%;
    max-width: 600px;
    height: auto;
    margin: 0 auto;
}

.fee-lightbox-trigger {
    cursor: zoom-in;
}

.fee-lightbox-trigger:focus-visible {
    outline: 3px solid #f47900;
    outline-offset: 3px;
}

.fee-image-lightbox {
    position: fixed;
    inset: 0;
    box-sizing: border-box;
    width: 100vw;
    max-width: none;
    height: 100vh;
    height: 100dvh;
    max-height: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 0;
    color: #fff;
    background: transparent;
}

.fee-image-lightbox::backdrop {
    background: rgba(0, 0, 0, 0.92);
}

.fee-lightbox__surface {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.92);
}

.fee-lightbox__stage {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    touch-action: none;
    cursor: grab;
}

.fee-lightbox__stage:active {
    cursor: grabbing;
}

.fee-lightbox__image {
    position: absolute;
    display: block;
    max-width: none !important;
    max-height: none !important;
    margin: 0;
    object-fit: contain;
    user-select: none;
    -webkit-user-select: none;
    -webkit-user-drag: none;
    transform-origin: center center;
    will-change: transform;
    opacity: 1;
}

.fee-lightbox__image.is-loading {
    opacity: 0;
}

.fee-lightbox__toolbar {
    position: absolute;
    z-index: 3;
    top: max(12px, env(safe-area-inset-top));
    right: max(12px, env(safe-area-inset-right));
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    border-radius: 12px;
    background: rgba(20, 20, 20, 0.78);
}

.fee-lightbox__toolbar button,
.fee-lightbox__nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    min-height: 42px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 8px;
    color: #fff;
    font: inherit;
    font-size: 26px;
    line-height: 1;
    background: rgba(255, 255, 255, 0.12);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.fee-lightbox__toolbar button:hover,
.fee-lightbox__nav:hover {
    background: rgba(255, 255, 255, 0.28);
}

.fee-lightbox__toolbar button:disabled {
    opacity: 0.45;
    cursor: default;
}

.fee-lightbox__counter {
    min-width: 52px;
    padding: 0 4px;
    color: #fff;
    font-size: 14px;
    text-align: center;
}

.fee-lightbox__nav {
    position: absolute;
    z-index: 2;
    top: 50%;
    width: 48px;
    height: 56px;
    transform: translateY(-50%);
    border-radius: 10px;
    font-size: 34px;
}

.fee-lightbox__prev {
    left: max(12px, env(safe-area-inset-left));
}

.fee-lightbox__next {
    right: max(12px, env(safe-area-inset-right));
}

.fee-lightbox__caption {
    position: absolute;
    z-index: 2;
    right: 72px;
    bottom: max(14px, env(safe-area-inset-bottom));
    left: 72px;
    max-height: 22vh;
    margin: 0;
    padding: 10px 14px;
    overflow: auto;
    border-radius: 8px;
    color: #fff;
    font-size: 14px;
    line-height: 1.5;
    text-align: center;
    background: rgba(20, 20, 20, 0.76);
}

.fee-lightbox__status {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 50%;
    margin: 0;
    color: #fff;
    font-size: 14px;
    transform: translate(-50%, -50%);
}

.fee-lightbox__nav[hidden],
.fee-lightbox__caption[hidden] {
    display: none;
}

@media (max-width: 600px) {
    .fee-menu-thumbnail {
        margin-top: 18px;
        margin-bottom: 22px;
    }

    .fee-menu-thumbnail__title {
        margin-bottom: 10px;
        font-size: 21px;
    }

    .fee-lightbox__toolbar {
        gap: 5px;
        padding: 6px;
    }

    .fee-lightbox__toolbar button {
        min-width: 40px;
        min-height: 40px;
    }

    .fee-lightbox__nav {
        width: 40px;
        height: 48px;
    }

    .fee-lightbox__prev {
        left: 8px;
    }

    .fee-lightbox__next {
        right: 8px;
    }

    .fee-lightbox__caption {
        right: 52px;
        bottom: max(10px, env(safe-area-inset-bottom));
        left: 52px;
        font-size: 13px;
    }
}
