/* ── Photo Gallery for WPBakery – Frontend Styles ── */

.pgw-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    user-select: none;
    -webkit-user-select: none;
}

.pgw-track {
    display: flex;
    transition: transform 0.55s cubic-bezier(0.77, 0, 0.175, 1);
    will-change: transform;
}

.pgw-slide {
    flex: 0 0 100%;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.pgw-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    aspect-ratio: 16 / 9;
}

/* ── Arrows – div, cero estilos de browser ── */
.pgw-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    background: none;
    border: none;
    outline: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    line-height: 0;
    font-size: 0;
}

.pgw-arrow:hover {
    opacity: 0.7;
    transform: translateY(-50%) scale(1.08);
}

.pgw-prev { left: 16px; }
.pgw-next { right: 16px; }

/* PNG arrows – 60px */
.pgw-arrow img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    display: block;
}

/* Texto fallback */
.pgw-arrow span {
    color: #fff;
    font-size: 60px;
    line-height: 1;
    font-weight: 200;
    display: block;
    text-shadow: 0 1px 6px rgba(0,0,0,0.6);
}

/* ── Responsive ── */
@media ( max-width: 768px ) {
    .pgw-arrow img  { width: 40px; height: 40px; }
    .pgw-arrow span { font-size: 40px; }
    .pgw-prev { left: 8px; }
    .pgw-next { right: 8px; }
}

@media ( max-width: 480px ) {
    .pgw-slide img { aspect-ratio: 4 / 3; }
}
