.pc-gallery__main-btn {
    display: block;
    width: 100%;
    padding: 0;
    border: none;
    background: none;
    cursor: zoom-in;
    border-radius: 8px;
}

.pc-gallery__main-btn:focus-visible {
    outline: 2px solid #7c3aed;
    outline-offset: 3px;
}

.pc-gallery__zoom-hint {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: var(--muted);
    text-align: center;
}

.pc-hero-card__thumbs button {
    padding: 0;
    border: 2px solid transparent;
    border-radius: 8px;
    background: none;
    cursor: pointer;
    line-height: 0;
    transition: border-color 0.15s;
}

.pc-hero-card__thumbs button:hover,
.pc-hero-card__thumbs button.is-active {
    border-color: #7c3aed;
}

.pc-hero-card__thumbs button:focus-visible {
    outline: 2px solid #7c3aed;
    outline-offset: 2px;
}

.pc-lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.92);
    padding: 1rem;
}

.pc-lightbox[hidden] {
    display: none !important;
}

.pc-lightbox__dialog {
    position: relative;
    width: min(960px, 100%);
    max-height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.pc-lightbox__stage {
    width: 100%;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pc-lightbox__image {
    max-width: 100%;
    max-height: min(72vh, 720px);
    object-fit: contain;
    border-radius: 8px;
    background: #fff;
    user-select: none;
}

.pc-lightbox__btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 2.75rem;
    height: 2.75rem;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    color: #1a1f2e;
    font-size: 1.75rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
    z-index: 2;
}

.pc-lightbox__btn:hover {
    background: #fff;
}

.pc-lightbox__btn:focus-visible {
    outline: 2px solid #7c3aed;
    outline-offset: 2px;
}

.pc-lightbox__btn--prev {
    left: -0.25rem;
}

.pc-lightbox__btn--next {
    right: -0.25rem;
}

.pc-lightbox__close {
    position: absolute;
    top: -0.25rem;
    right: 0;
    width: 2.5rem;
    height: 2.5rem;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    color: #1a1f2e;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    z-index: 3;
}

.pc-lightbox__close:hover {
    background: #fff;
}

.pc-lightbox__meta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
}

.pc-lightbox__counter {
    margin: 0;
    color: #e2e8f0;
    font-size: 0.9rem;
}

.pc-lightbox__dots {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

.pc-lightbox__dot {
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    border: none;
    padding: 0;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
}

.pc-lightbox__dot.is-active {
    background: #fff;
    transform: scale(1.15);
}

.pc-lightbox__thumbs {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    max-width: 100%;
    padding-bottom: 0.25rem;
}

.pc-lightbox__thumb {
    flex: 0 0 auto;
    width: 64px;
    height: 64px;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 6px;
    background: none;
    cursor: pointer;
    overflow: hidden;
}

.pc-lightbox__thumb.is-active {
    border-color: #fff;
}

.pc-lightbox__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 640px) {
    .pc-lightbox__btn--prev {
        left: 0.25rem;
    }

    .pc-lightbox__btn--next {
        right: 0.25rem;
    }

    .pc-lightbox__close {
        top: 0.25rem;
        right: 0.25rem;
    }
}
