/**
 * Lubelska Product Zoom - Amazon Style Interactive Zoom
 * Desktop: Zoom con lens y ventana lateral
 * Mobile: Lightbox nativo WooCommerce
 */

/* Desktop Zoom */
.woocommerce-product-gallery {
    position: relative;
}

.lubelska-zoom-lens {
    position: absolute;
    width: 200px;
    height: 200px;
    border: 2px solid #d4d4d4;
    background: rgba(255, 255, 255, 0.4);
    cursor: none;
    pointer-events: none;
    display: none;
    z-index: 100;
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: opacity 0.2s ease;
}

.lubelska-zoom-window {
    position: absolute;
    width: 550px;
    height: 550px;
    border: 1px solid #d4d4d4;
    background: #fff;
    overflow: hidden;
    display: none;
    z-index: 101;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-radius: 4px;
}

.woocommerce-product-gallery__image:hover {
    cursor: crosshair;
}

.woocommerce-product-gallery:hover .woocommerce-product-gallery__image {
    cursor: crosshair;
}

.lubelska-zoom-active .woocommerce-product-gallery__image {
    cursor: none !important;
}

@media (min-width: 1025px) {
    .woocommerce-product-gallery__trigger {
        display: none !important;
        opacity: 0 !important;
        pointer-events: none !important;
        visibility: hidden !important;
    }
    
    .woocommerce-product-gallery__image a {
        cursor: crosshair !important;
        pointer-events: auto !important;
    }
    
    .pswp {
        display: none !important;
    }
}

.woocommerce-product-gallery__image::after {
    content: '';
    position: absolute;
    right: 10px;
    bottom: 10px;
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.35-4.35'/%3E%3Cpath d='M11 8v6M8 11h6'/%3E%3C/svg%3E");
    background-size: 18px 18px;
    background-position: center;
    background-repeat: no-repeat;
}

@media (min-width: 1025px) {
    .woocommerce-product-gallery__image:hover::after {
        opacity: 1;
    }
}

/* Thumbnails */
.woocommerce div.product div.images .flex-control-thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 10px;
    margin-top: 10px;
}

.woocommerce div.product div.images .flex-control-thumbs li {
    width: 100%;
    cursor: pointer;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.woocommerce div.product div.images .flex-control-thumbs li:hover {
    opacity: 0.8;
    transform: scale(1.05);
}

.woocommerce div.product div.images .flex-control-thumbs li img {
    border: 2px solid transparent;
    transition: border-color 0.2s ease;
}

.woocommerce div.product div.images .flex-control-thumbs li img.flex-active {
    border-color: #000;
}

/* Loading States */
.lubelska-zoom-window.loading::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #333;
    border-radius: 50%;
    animation: lubelska-spin 1s linear infinite;
    z-index: 1;
}

@keyframes lubelska-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Mobile Overrides */

@media (max-width: 1024px) {
    .lubelska-zoom-lens,
    .lubelska-zoom-window {
        display: none !important;
    }

    .woocommerce-product-gallery__image,
    .woocommerce-product-gallery__image:hover {
        cursor: default !important;
    }

    .woocommerce-product-gallery__image::after {
        display: none !important;
    }

    .woocommerce-product-gallery__trigger {
        display: block !important;
    }
}

/* ============================================
   PHOTOSWIPE LIGHTBOX - MODERN MOBILE STYLES
   ============================================ */

@media (max-width: 1024px) {
    /* Fondo moderno con blur y transparencia */
    .pswp__bg {
        background: rgba(0, 0, 0, 0.75) !important;
        backdrop-filter: blur(20px) saturate(180%);
        -webkit-backdrop-filter: blur(20px) saturate(180%);
        transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    }

    /* Contenedor principal */
    .pswp {
        z-index: 999999 !important;
    }

    /* Imagen principal - centrada y suave */
    .pswp__img {
        transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                    transform 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
        will-change: transform, opacity;
    }

    /* Contenedor de imagen */
    .pswp__zoom-wrap {
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    }

    /* UI Bar superior - VISIBLE y bien posicionado */
    .pswp__top-bar {
        background: linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.5) 0%,
            rgba(0, 0, 0, 0) 100%
        ) !important;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        padding: 15px 15px 20px !important;
        height: auto !important;
        min-height: 60px !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 1000 !important;
        opacity: 1 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        visibility: visible !important;
    }

    .pswp--ui-visible .pswp__top-bar {
        opacity: 1 !important;
        display: flex !important;
        visibility: visible !important;
    }

    /* Botón cerrar - VISIBLE y bien posicionado */
    .pswp__button--close {
        width: 44px !important;
        height: 44px !important;
        background: rgba(255, 255, 255, 0.2) !important;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-radius: 50% !important;
        position: relative !important;
        right: 10px !important;
        top: 10px !important;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
        border: 1px solid rgba(255, 255, 255, 0.3) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        visibility: visible !important;
        opacity: 1 !important;
        z-index: 1001 !important;
        cursor: pointer !important;
        margin: 0 !important;
        flex-shrink: 0 !important;
        overflow: visible !important;
        /* Forzar que solo muestre nuestra X personalizada */
        font-size: 0 !important;
        line-height: 0 !important;
        text-indent: -9999px !important;
    }

    .pswp__button--close:hover,
    .pswp__button--close:focus {
        background: rgba(255, 255, 255, 0.3) !important;
        transform: scale(1.1) !important;
    }

    /* Ocultar COMPLETAMENTE el icono nativo de PhotoSwipe - TODOS los elementos */
    .pswp__button--close svg,
    .pswp__button--close .pswp__icn,
    .pswp__button--close path,
    .pswp__button--close use,
    .pswp__button--close g,
    .pswp__button--close circle,
    .pswp__button--close line,
    .pswp__button--close polygon,
    .pswp__button--close rect {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        width: 0 !important;
        height: 0 !important;
        pointer-events: none !important;
        position: absolute !important;
        left: -9999px !important;
    }

    /* Ocultar cualquier contenido dentro del botón - INCLUYENDO pseudo-elementos nativos */
    .pswp__button--close > *,
    .pswp__button--close::before[class],
    .pswp__button--close::after[class] {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }

    /* Resetear cualquier background-image que pueda tener el icono */
    .pswp__button--close {
        background-image: none !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
        background-size: auto !important;
    }

    /* Crear icono X limpio, visible y centrado - SOBREESCRIBIR cualquier icono nativo */
    .pswp__button--close::before {
        content: '' !important;
        position: absolute !important;
        top: 50% !important;
        left: 50% !important;
        width: 18px !important;
        height: 2.5px !important;
        background: #ffffff !important;
        border-radius: 2px !important;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) !important;
        transform: translate(-50%, -50%) rotate(45deg) !important;
        z-index: 100 !important;
        pointer-events: none !important;
        /* Asegurar que esté por encima de todo */
        position: absolute !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .pswp__button--close::after {
        content: '' !important;
        position: absolute !important;
        top: 50% !important;
        left: 50% !important;
        width: 18px !important;
        height: 2.5px !important;
        background: #ffffff !important;
        border-radius: 2px !important;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) !important;
        transform: translate(-50%, -50%) rotate(-45deg) !important;
        z-index: 100 !important;
        pointer-events: none !important;
        /* Asegurar que esté por encima de todo */
        position: absolute !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    /* Contador - VISIBLE y bien posicionado */
    .pswp__counter {
        color: rgba(255, 255, 255, 1) !important;
        font-size: 15px !important;
        font-weight: 600 !important;
        position: relative !important;
        left: auto !important;
        top: auto !important;
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5) !important;
        letter-spacing: 0.5px !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        z-index: 1001 !important;
        line-height: 1.2 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* Botones de navegación - VISIBLES y bien posicionados */
    .pswp__button--arrow--left,
    .pswp__button--arrow--right {
        width: 50px !important;
        height: 50px !important;
        background: rgba(255, 255, 255, 0.2) !important;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-radius: 50% !important;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
        border: 1px solid rgba(255, 255, 255, 0.3) !important;
        position: absolute !important;
        top: 50% !important;
        margin-top: -25px !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        z-index: 1001 !important;
        cursor: pointer !important;
    }

    .pswp__button--arrow--left {
        left: 15px !important;
        right: auto !important;
    }

    .pswp__button--arrow--right {
        right: 15px !important;
        left: auto !important;
    }

    .pswp__button--arrow--left:hover,
    .pswp__button--arrow--right:hover,
    .pswp__button--arrow--left:focus,
    .pswp__button--arrow--right:focus {
        background: rgba(255, 255, 255, 0.3) !important;
        transform: scale(1.1) !important;
    }

    /* Iconos de flechas - VISIBLES */
    .pswp__button--arrow--left::before,
    .pswp__button--arrow--right::before {
        content: '' !important;
        position: absolute !important;
        top: 50% !important;
        left: 50% !important;
        width: 12px !important;
        height: 12px !important;
        border-top: 2px solid #fff !important;
        border-right: 2px solid #fff !important;
        border-radius: 1px !important;
        transform: translate(-25%, -50%) rotate(-140deg) !important;
        box-shadow: none !important;
    }

    .pswp__button--arrow--right::before {
        transform: translate(-75%, -50%) rotate(45deg) !important;
    }

    /* Ocultar SVG nativo si existe */
    .pswp__button--arrow--left svg,
    .pswp__button--arrow--right svg {
        display: none !important;
    }

    /* Caption - elegante y legible */
    .pswp__caption {
        background: linear-gradient(
            to top,
            rgba(0, 0, 0, 0.6) 0%,
            rgba(0, 0, 0, 0) 100%
        ) !important;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        padding: 20px 20px 30px !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        text-align: center !important;
        opacity: 1 !important;
        display: block !important;
        visibility: visible !important;
        transition: opacity 0.3s ease !important;
        position: absolute !important;
        z-index: 1000 !important;
    }

    .pswp--ui-visible .pswp__caption {
        opacity: 1 !important;
        display: block !important;
        visibility: visible !important;
    }

    .pswp__caption__center {
        color: rgba(255, 255, 255, 0.95) !important;
        font-size: 15px !important;
        line-height: 1.6 !important;
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4) !important;
        max-width: 90% !important;
        margin: 0 auto !important;
        display: block !important;
    }

    /* Loading spinner - oculto o muy sutil */
    .pswp__preloader {
        opacity: 0 !important;
        display: none !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }

    /* Solo mostrar spinner cuando realmente está cargando */
    .pswp--loading .pswp__preloader {
        opacity: 0.6 !important;
        display: block !important;
        visibility: visible !important;
        position: absolute !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        z-index: 1002 !important;
    }

    .pswp__preloader__icn {
        width: 32px !important;
        height: 32px !important;
        border: 2px solid rgba(255, 255, 255, 0.2) !important;
        border-top-color: rgba(255, 255, 255, 0.9) !important;
        border-radius: 50% !important;
        animation: lubelska-pswp-spin 0.8s linear infinite !important;
    }

    @keyframes lubelska-pswp-spin {
        0% { transform: rotate(0deg); }
        100% { transform: rotate(360deg); }
    }

    /* Transiciones suaves al abrir/cerrar */
    .pswp--open {
        animation: lubelska-pswp-fade-in 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    }

    @keyframes lubelska-pswp-fade-in {
        from {
            opacity: 0;
        }
        to {
            opacity: 1;
        }
    }

    .pswp--closing .pswp__bg {
        opacity: 0 !important;
    }

    /* Ocultar elementos no necesarios - ESPECIALMENTE fullscreen que puede estar mezclado */
    .pswp__button--share,
    .pswp__button--fs,
    .pswp__button--zoom,
    .pswp__button[title*="fullscreen"],
    .pswp__button[title*="expand"],
    .pswp__button[aria-label*="fullscreen"],
    .pswp__button[aria-label*="expand"] {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        width: 0 !important;
        height: 0 !important;
        position: absolute !important;
        left: -9999px !important;
        pointer-events: none !important;
    }

    /* Asegurar que el top bar solo tenga counter y close */
    .pswp__top-bar > *:not(.pswp__counter):not(.pswp__button--close) {
        display: none !important;
        visibility: hidden !important;
    }

    /* Asegurar que NO haya ningún botón de fullscreen cerca del close */
    .pswp__top-bar .pswp__button--fs {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
    }

    /* Mejoras de touch - feedback visual */
    .pswp__img {
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        user-select: none;
    }

    /* Zoom suave */
    .pswp--zoomed-in .pswp__img {
        cursor: grab !important;
    }

    .pswp--zoomed-in .pswp__img:active {
        cursor: grabbing !important;
    }

    /* Thumbnails bar (si está activa) - moderno */
    .pswp__thumbnails {
        background: rgba(0, 0, 0, 0.3) !important;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        padding: 10px 0 !important;
    }

    .pswp__thumbnail {
        border: 2px solid transparent !important;
        border-radius: 4px !important;
        transition: all 0.2s ease !important;
        opacity: 0.6 !important;
    }

    .pswp__thumbnail:hover {
        opacity: 0.9 !important;
        transform: scale(1.05) !important;
    }

    .pswp__thumbnail--active {
        border-color: rgba(255, 255, 255, 0.8) !important;
        opacity: 1 !important;
    }

    /* Mejoras adicionales de UX */
    
    /* Prevenir scroll del body cuando está abierto */
    body.pswp-open {
        overflow: hidden !important;
        position: fixed !important;
        width: 100% !important;
    }

    /* Animación de entrada más suave para la imagen */
    .pswp__item {
        transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    }

    /* Efecto de zoom más natural */
    .pswp__zoom-wrap {
        transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1) !important;
    }

    /* Mejorar visibilidad de controles en diferentes fondos */
    .pswp__button {
        opacity: 1 !important;
        transition: opacity 0.2s ease, transform 0.2s ease !important;
        display: block !important;
        visibility: visible !important;
    }

    .pswp__button:hover,
    .pswp__button:focus {
        opacity: 1 !important;
    }

    /* Asegurar que todos los botones sean visibles */
    .pswp__button[aria-label],
    .pswp__button[title] {
        opacity: 1 !important;
        visibility: visible !important;
        display: block !important;
    }

    /* El preloader ya está manejado arriba */

    /* Ajustes para tablets */
    @media (min-width: 768px) and (max-width: 1024px) {
        .pswp__top-bar {
            padding: 18px 20px 22px !important;
        }

        .pswp__button--close {
            width: 48px !important;
            height: 48px !important;
            opacity: 1 !important;
            visibility: visible !important;
            display: flex !important;
        }

        .pswp__button--close svg,
        .pswp__button--close > * {
            display: none !important;
            visibility: hidden !important;
        }

        .pswp__button--close::before,
        .pswp__button--close::after {
            width: 20px !important;
            height: 2.5px !important;
            background: #ffffff !important;
        }

        .pswp__button--arrow--left,
        .pswp__button--arrow--right {
            width: 56px !important;
            height: 56px !important;
            margin-top: -28px !important;
            opacity: 1 !important;
            visibility: visible !important;
            display: block !important;
        }

        .pswp__button--arrow--left::before,
        .pswp__button--arrow--right::before {
            width: 14px !important;
            height: 14px !important;
        }

        .pswp__counter {
            font-size: 16px !important;
            opacity: 1 !important;
            visibility: visible !important;
            display: block !important;
        }
    }

    /* Ajustes para móviles pequeños */
    @media (max-width: 480px) {
        .pswp__top-bar {
            padding: 12px 10px 18px !important;
            min-height: 50px !important;
        }

        .pswp__button--close {
            width: 40px !important;
            height: 40px !important;
            opacity: 1 !important;
            visibility: visible !important;
            display: flex !important;
        }

        .pswp__button--close svg,
        .pswp__button--close > * {
            display: none !important;
            visibility: hidden !important;
        }

        .pswp__button--close::before,
        .pswp__button--close::after {
            width: 16px !important;
            height: 2.5px !important;
            background: #ffffff !important;
        }

        .pswp__button--arrow--left,
        .pswp__button--arrow--right {
            width: 44px !important;
            height: 44px !important;
            margin-top: -22px !important;
            opacity: 1 !important;
            visibility: visible !important;
            display: block !important;
        }

        .pswp__button--arrow--left {
            left: 10px !important;
        }

        .pswp__button--arrow--right {
            right: 10px !important;
        }

        .pswp__button--arrow--left::before,
        .pswp__button--arrow--right::before {
            width: 10px !important;
            height: 10px !important;
        }

        .pswp__counter {
            font-size: 14px !important;
            opacity: 1 !important;
            visibility: visible !important;
            display: block !important;
            padding: 5px 10px !important;
        }

        .pswp__caption__center {
            font-size: 14px !important;
            padding: 15px 15px 25px !important;
        }
    }

    /* Mejora de accesibilidad - focus visible */
    .pswp__button:focus-visible {
        outline: 2px solid rgba(255, 255, 255, 0.8) !important;
        outline-offset: 2px !important;
    }

    /* Smooth transitions para todas las interacciones */
    .pswp * {
        -webkit-tap-highlight-color: transparent !important;
    }

    /* Mejorar el renderizado en dispositivos de alta densidad */
    .pswp__img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }

    /* Ajuste fino para el backdrop blur en diferentes navegadores */
    @supports not (backdrop-filter: blur(20px)) {
        .pswp__bg {
            background: rgba(0, 0, 0, 0.85) !important;
        }

        .pswp__top-bar,
        .pswp__caption {
            background: rgba(0, 0, 0, 0.6) !important;
        }

        .pswp__button--close,
        .pswp__button--arrow--left,
        .pswp__button--arrow--right {
            background: rgba(255, 255, 255, 0.25) !important;
        }
    }

    /* FORZAR VISIBILIDAD - Override cualquier estilo que oculte elementos */
    .pswp.pswp--open .pswp__button,
    .pswp.pswp--open .pswp__counter,
    .pswp.pswp--open .pswp__top-bar {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    /* FORZAR que nuestra X personalizada siempre se muestre */
    .pswp.pswp--open .pswp__button--close::before,
    .pswp.pswp--open .pswp__button--close::after {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        content: '' !important;
    }

    /* Asegurar que los botones no estén ocultos por defecto */
    .pswp__button {
        position: absolute !important;
    }

    /* Mejorar contraste de los botones */
    .pswp__button--close {
        background: rgba(255, 255, 255, 0.25) !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3) !important;
    }

    .pswp__button--arrow--left,
    .pswp__button--arrow--right {
        background: rgba(255, 255, 255, 0.25) !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3) !important;
    }

    /* Espaciado entre elementos del top bar */
    .pswp__top-bar {
        gap: 10px !important;
    }

    /* Ocultar cualquier otro elemento en el top bar */
    .pswp__top-bar .pswp__button:not(.pswp__button--close) {
        display: none !important;
    }

    /* Asegurar que el counter tenga buen contraste */
    .pswp.pswp--open .pswp__counter {
        background: rgba(0, 0, 0, 0.3) !important;
        padding: 6px 12px !important;
        border-radius: 20px !important;
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
        flex-shrink: 0 !important;
        display: inline-block !important;
        height: auto !important;
        top: 3px !important;
        left: 0px !important;
        border: 1px solid rgba(255, 255, 255, 0.3) !important;
    }

    .pswp.pswp--open .pswp__button {
        background-image: none !important;
    }
}

/* Print */

@media print {
    .lubelska-zoom-lens,
    .lubelska-zoom-window {
        display: none !important;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .lubelska-zoom-lens,
    .lubelska-zoom-window,
    .flex-control-thumbs li {
        transition: none !important;
        animation: none !important;
    }
}

.flex-control-thumbs li:focus-within {
    outline: 2px solid #000;
    outline-offset: 2px;
}

/* Plugin Compatibility */
.nitro-lazy .lubelska-zoom-window {
    background-size: cover;
}

.lubelska-zoom-window picture {
    display: block;
    width: 100%;
    height: 100%;
}

/* Custom Cursor */
.lubelska-zoom-active {
    cursor: none !important;
}

.lubelska-zoom-active * {
    cursor: none !important;
}

/* Variations */
.woocommerce-variation-gallery-wrapper .lubelska-zoom-lens,
.woocommerce-variation-gallery-wrapper .lubelska-zoom-window {
    position: absolute;
}

/* High DPI */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .lubelska-zoom-lens {
        border-width: 1px;
    }
}

/* Dark Mode */

@media (prefers-color-scheme: dark) {
    .lubelska-zoom-window {
        background: #1a1a1a;
        border-color: #444;
    }
    
    .lubelska-zoom-lens {
        border-color: #555;
        background: rgba(255, 255, 255, 0.2);
    }
}

/* FIXES */

.product-template-default .summary p.price {
    color: #222222 !important;
    font-family: "Perpetua", Sans-serif !important;
    font-weight: 400 !important;
    font-size: 20px !important;
}

.product-template-default .summary p.price bdi .woocommerce-Price-currencySymbol {
    color: #222222 !important;
    font-family: "Perpetua", Sans-serif !important;
    font-weight: 400 !important;
    font-size: 23px !important;
}

.quantity-mirror input[type="number"] {
    color: #222222 !important;
    font-family: "Perpetua", Sans-serif !important;
    font-weight: 400 !important;
    font-size: 16px;
}

@media (max-width: 767px) {

	.product-template-default .summary .product_title, .product-template-default .summary h3, .product-template-default .summary p, .product-template-default .summary .woocommerce-product-details__short-description p, .product-template-default .product .summary .single_add_to_cart_button {
		text-align: center !important;
	}
	.woocommerce div.product form.cart div.quantity {
		    justify-content: center !important;
	}
	.placing-an-order-btn {
		width: 100% !important; 
	}
	
	.product-template-default .product .summary .single-product-socials {
		justify-content: center !important;
	}	
}