.pg-wrapper-e32a4b0b {
    width: 100%;
}

.pg-tabs-e32a4b0b {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 32px;
    justify-content: center;
}

.pg-tab-e32a4b0b {
    padding: 7px 20px;
    background: transparent;
    color: #555;
    cursor: pointer;
    border-radius: 30px;
    transition: all 0.25s ease;
    font-weight: 500;
    border: 1px solid #e0e0e0;
    font-size: 13px;
    line-height: 1;
}

.pg-tab-e32a4b0b:hover {
    background: #f5f5f5;
    color: #111;
    border-color: #bbb;
}

.pg-tab-e32a4b0b.active {
    background: #111;
    color: #fff;
    border-color: #111;
}

.pg-grid-e32a4b0b {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

@media (max-width: 1024px) {
    .pg-grid-e32a4b0b { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}

@media (max-width: 600px) {
    .pg-grid-e32a4b0b { grid-template-columns: 1fr; gap: 16px; }
}

.pg-item-e32a4b0b {
    display: none;
    flex-direction: column;
}

.pg-item-e32a4b0b.show {
    display: flex;
    animation: pgFadeIn-e32a4b0b 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes pgFadeIn-e32a4b0b {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}

.pg-item-content-e32a4b0b {
    padding-top: 12px;
}

.pg-item-cat-e32a4b0b {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #999;
    margin-bottom: 4px;
}

.pg-item-title-e32a4b0b {
    margin: 0;
    font-size: 16px;
    color: #111;
    font-weight: 600;
    line-height: 1.3;
}

.pg-item-title-link-e32a4b0b {
    text-decoration: none;
    display: block;
}

.pg-item-title-link-e32a4b0b:hover .pg-item-title-e32a4b0b {
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ── Image Wrap ── */
.pg-image-wrap-e32a4b0b {
    display: block;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border-radius: 10px;
    border: 1px solid #ebebeb;
    text-decoration: none;
    aspect-ratio: 4 / 3;
    background: #f5f5f5;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.pg-image-wrap-e32a4b0b:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,0.10);
    border-color: #ddd;
}

.pg-image-wrap-e32a4b0b img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    position: static !important;
    max-height: none !important;
    object-fit: initial !important;
    transform: translateY(0);
    transition: none;
}

/* None */
.pg-hover-none-e32a4b0b .pg-image-wrap-e32a4b0b img {
    transition: none !important;
}

/* Zoom */
.pg-hover-zoom-e32a4b0b .pg-image-wrap-e32a4b0b img {
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.pg-hover-zoom-e32a4b0b .pg-image-wrap-e32a4b0b:hover img {
    transform: scale(1.06) !important;
}

/* Pan Top → Bottom */
.pg-hover-pan-down-e32a4b0b .pg-image-wrap-e32a4b0b img {
    transition: transform var(--pg-pan-duration, 4s) cubic-bezier(0.4, 0, 0.2, 1) !important;
}
.pg-hover-pan-down-e32a4b0b .pg-image-wrap-e32a4b0b:hover img {
    transform: translateY(var(--pg-pan-offset, -84%)) !important;
}

/* Pan Bottom → Top */
.pg-hover-pan-up-e32a4b0b .pg-image-wrap-e32a4b0b img {
    transform: translateY(var(--pg-pan-offset, -84%)) !important;
    transition: transform var(--pg-pan-duration, 4s) cubic-bezier(0.4, 0, 0.2, 1) !important;
}
.pg-hover-pan-up-e32a4b0b .pg-image-wrap-e32a4b0b:hover img {
    transform: translateY(0) !important;
}

/* ── Overlay ── */
.pg-overlay-e32a4b0b {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: white;
    z-index: 1;
}

.pg-image-wrap-e32a4b0b:hover .pg-overlay-e32a4b0b {
    opacity: 1;
}

.pg-overlay-e32a4b0b svg {
    transform: scale(0.5);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.pg-image-wrap-e32a4b0b:hover .pg-overlay-e32a4b0b svg {
    transform: scale(1);
}

.pg-no-image-e32a4b0b {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    color: #999;
    aspect-ratio: 4 / 3;
    border-radius: 10px;
    font-size: 14px;
    border: 1px solid #ebebeb;
}

/* ══ Modal ══════════════════════════════════════ */
.pg-modal-e32a4b0b {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: stretch;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.pg-modal-e32a4b0b.active {
    opacity: 1;
    visibility: visible;
}

.pg-modal-backdrop-e32a4b0b {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
    cursor: pointer;
}

.pg-modal-container-e32a4b0b {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    background: #f5f5f5;
    display: flex;
    flex-direction: column;
    transform: translateY(20px);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.pg-modal-e32a4b0b.active .pg-modal-container-e32a4b0b {
    transform: translateY(0);
}

/* Browser chrome bar */
.pg-modal-header-e32a4b0b {
    background: #e8e8e8;
    padding: 10px 16px;
    flex-shrink: 0;
    border-bottom: 1px solid #d0d0d0;
}

.pg-modal-browser-e32a4b0b {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pg-modal-dots-e32a4b0b {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

.pg-modal-dots-e32a4b0b span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.pg-modal-dots-e32a4b0b span:nth-child(1) { background: #ff5f57; }
.pg-modal-dots-e32a4b0b span:nth-child(2) { background: #ffbd2e; }
.pg-modal-dots-e32a4b0b span:nth-child(3) { background: #28c840; }

.pg-modal-urlbar-e32a4b0b {
    flex: 1;
    background: #fff;
    border-radius: 6px;
    padding: 5px 12px;
    font-size: 12px;
    color: #555;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border: 1px solid #ddd;
}

/* Device toggle */
.pg-modal-devices-e32a4b0b {
    display: flex;
    gap: 4px;
    flex-shrink: 0;
    background: #d8d8d8;
    border-radius: 8px;
    padding: 3px;
}

.pg-modal-device-btn-e32a4b0b {
    background: none;
    border: none;
    color: #777;
    cursor: pointer;
    padding: 5px 8px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.pg-modal-device-btn-e32a4b0b:hover {
    color: #fff;
    background: #14B8A6;
}

.pg-modal-device-btn-e32a4b0b.active {
    background: #14B8A6;
    color: #fff;
}

.pg-modal-open-e32a4b0b {
    color: #888;
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: color 0.2s ease;
    flex-shrink: 0;
}

.pg-modal-open-e32a4b0b:hover { color: #14B8A6; }

.pg-modal-close-e32a4b0b {
    background: none;
    border: none;
    color: #888;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    transition: color 0.2s ease;
    flex-shrink: 0;
}

.pg-modal-close-e32a4b0b:hover { 
	color: #fff;
    background: #14B8A6;
}

/* Body */
.pg-modal-body-e32a4b0b {
    flex: 1;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}

.pg-modal-loading-e32a4b0b {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    color: #888;
    font-size: 14px;
    background: #fff;
    z-index: 2;
    transition: opacity 0.3s ease;
}

.pg-modal-loading-e32a4b0b.hidden {
    opacity: 0;
    pointer-events: none;
}

.pg-modal-spinner-e32a4b0b {
    width: 36px;
    height: 36px;
    border: 3px solid #eee;
    border-top-color: #14B8A6;
    border-radius: 50%;
    animation: pgSpin-e32a4b0b 0.8s linear infinite;
}

@keyframes pgSpin-e32a4b0b {
    to { transform: rotate(360deg); }
}

/* Blocked state */
.pg-modal-blocked-e32a4b0b {
    position: absolute;
    inset: 0;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    background: #fff;
    color: #aaa;
    font-size: 15px;
    z-index: 3;
    text-align: center;
    padding: 40px;
}

.pg-modal-blocked-e32a4b0b.visible {
    display: flex;
}

.pg-modal-blocked-e32a4b0b p {
    margin: 0;
    color: #888;
}

.pg-modal-blocked-btn-e32a4b0b {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: #14B8A6;
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: background 0.2s ease, transform 0.2s ease;
    margin-top: 8px;
}

.pg-modal-blocked-btn-e32a4b0b:hover {
    background: #0d9488;
    transform: translateY(-1px);
}

/* iframe wrapper */
.pg-modal-iframe-wrap-e32a4b0b {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Desktop mode */
.pg-modal-iframe-wrap-e32a4b0b.mode-desktop {
    padding: 0;
}

.pg-modal-iframe-wrap-e32a4b0b.mode-desktop .pg-modal-iframe-e32a4b0b {
    width: 100%;
    height: 100%;
    border-radius: 0;
    box-shadow: none;
}

/* Mobile mode */
.pg-modal-iframe-wrap-e32a4b0b.mode-mobile {
    padding: 24px 0;
    background: #f0f0f0;
}

.pg-modal-iframe-wrap-e32a4b0b.mode-mobile .pg-modal-iframe-e32a4b0b {
    width: 390px;
    height: 100%;
    max-height: 844px;
    border-radius: 40px;
    box-shadow: 0 0 0 10px #ccc, 0 0 0 11px #bbb, 0 20px 60px rgba(0,0,0,0.2);
}

.pg-modal-iframe-e32a4b0b {
    display: block;
    border: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (max-width: 768px) {
    .pg-modal-browser-e32a4b0b { gap: 8px; }
    .pg-modal-urlbar-e32a4b0b { display: none; }
    .pg-modal-iframe-wrap-e32a4b0b.mode-mobile .pg-modal-iframe-e32a4b0b {
        width: 320px;
    }
}