/* =====================================================================
 * NGS Product Gallery — [ngs_product_gallery]
 *
 * v1.39.0 overhaul:
 *   - Active thumb: plain dark border, no cyan accents, no corner dot
 *   - Thumbnails +20% (115→138 desktop, 90→108 mobile), gap shrunk to 2px
 *   - Scrollbar hidden under thumb strip
 *   - Overlay prev/next arrows on the thumb strip (edge-hugging, mid-height)
 *   - Counter moved bottom-left → top-right
 *   - AR button shrunk to a small black pill (3d.svg icon)
 *   - Lightbox = 2-column modal (60% category spec image | 40% AR CTA + info)
 *   - Slide-up on open, slide-down on close (slow, ~0.55s)
 *
 * Square everywhere except the small AR pill (the only conversion CTA in
 * the main viewer keeps its pill shape for affordance).
 * ===================================================================== */

.ngs-pg {
    --ngs-pg-radius:        0;
    --ngs-pg-thumb-size:    138px;   /* +20% from 115 (v1.38.5) */
    --ngs-pg-thumb-gap:     2px;     /* tightened from 4 */
    --ngs-pg-bg:            #f6f3f2;
    --ngs-pg-accent:        #00b5bd;
    --ngs-pg-on-bg:         #1c1b1b;
    --ngs-pg-on-bg-mut:     #5f5e5b;
    --ngs-pg-aspect:        1 / 1;
    --ngs-pg-transition:    0.35s cubic-bezier(0.2, 0.8, 0.2, 1);

    width: 100%;
    max-width: 100%;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    box-sizing: border-box;
}
.ngs-pg *, .ngs-pg *::before, .ngs-pg *::after { box-sizing: inherit; }

/* ============== Main viewer ============== */
.ngs-pg__viewer {
    position: relative;
    width: 100%;
    aspect-ratio: var(--ngs-pg-aspect);
    background: var(--ngs-pg-bg);
    border-radius: var(--ngs-pg-radius);
    overflow: hidden;
    box-shadow:
        0 1px 3px rgba(0, 0, 0, 0.04),
        0 10px 30px -10px rgba(0, 0, 0, 0.12);
}
.ngs-pg__track {
    position: relative;
    width: 100%;
    height: 100%;
}
.ngs-pg__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transform: scale(1.02);
    transition:
        opacity   var(--ngs-pg-transition),
        transform var(--ngs-pg-transition),
        visibility var(--ngs-pg-transition);
    pointer-events: none;
}
.ngs-pg__slide.is-active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    pointer-events: auto;
}
.ngs-pg__slide img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
    border-radius: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    max-width: none !important;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
[data-zoom="1"] .ngs-pg__slide.is-active { cursor: zoom-in; }
[data-zoom="1"] .ngs-pg__viewer:hover .ngs-pg__slide.is-active img {
    transform: scale(1.03);
}

/* Optional per-slide badge ("Plank", "In Room") */
.ngs-pg__slide-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--ngs-pg-on-bg);
    padding: 5px 11px;
    border-radius: 0;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    backdrop-filter: blur(6px);
    pointer-events: none;
    z-index: 3;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* ============== Main viewer arrows ============== */
.ngs-pg__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.94);
    border: 0;
    border-radius: 0;
    color: var(--ngs-pg-on-bg);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    opacity: 0;
    transition: opacity var(--ngs-pg-transition),
                background var(--ngs-pg-transition),
                transform 0.18s ease,
                color 0.2s ease;
    z-index: 4;
}
.ngs-pg__viewer:hover .ngs-pg__arrow,
.ngs-pg__arrow:focus-visible { opacity: 1; }
.ngs-pg__arrow:hover {
    background: #000;
    color: #fff;
    transform: translateY(-50%) scale(1.04);
}
.ngs-pg__arrow:active { transform: translateY(-50%) scale(0.94); }
.ngs-pg__arrow--prev { left: 16px; }
.ngs-pg__arrow--next { right: 16px; }
@media (hover: none) { .ngs-pg__arrow { opacity: 1; } }

/* ============== Counter (top-right) ============== */
.ngs-pg__counter {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    padding: 6px 12px;
    border-radius: 0;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    backdrop-filter: blur(6px);
    font-variant-numeric: tabular-nums;
    z-index: 4;
}

/* ============== Small AR pill (bottom-right) ============== */
/* Black pill, white text, 3d.svg icon. Stays subtle here — the
   prominent AR CTA lives inside the modal. */
.ngs-pg__ar-pill {
    position: absolute;
    right: 16px;
    bottom: 16px;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: #000;
    color: #fff;
    border: 1px solid #000;
    border-radius: 9999px;
    cursor: pointer;
    font: 600 12px/1 "Inter", sans-serif;
    letter-spacing: 0.04em;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    transition: transform 0.15s ease, box-shadow 0.2s ease;
}
.ngs-pg__ar-pill[hidden] { display: none; }
.ngs-pg__ar-pill:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 14px rgba(0, 0, 0, 0.32);
}
.ngs-pg__ar-pill:active { transform: translateY(0) scale(0.97); }
.ngs-pg__ar-pill:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}
.ngs-pg__ar-pill-icon {
    width: 18px;
    height: 18px;
    display: block;
    /* Force the supplied SVG to render white on the black pill, whatever
       its source color is. */
    filter: brightness(0) invert(1);
}
.ngs-pg__ar-pill-label { line-height: 1; }

/* ============== Thumbnails — wrapper + strip ==============
   No left/right arrows. JS auto-scrolls (marquee) only when the strip
   overflows. Pause on hover/touch, resume on leave. Seamless loop is
   achieved by duplicating the thumb list and animating translateX(-50%). */
.ngs-pg__thumbs-wrap {
    position: relative;
    margin-top: 12px;
    overflow: hidden;       /* clip the marquee */
}
.ngs-pg__thumbs {
    display: flex;
    gap: var(--ngs-pg-thumb-gap);
    padding: 0;
    width: max-content;     /* let strip grow beyond container for marquee */
    will-change: transform;
}
/* When the strip overflows, JS clones the thumbs and adds .is-marquee.
   The animation moves the strip leftward by exactly its own first half
   (which equals the original thumb width), producing a seamless loop. */
.ngs-pg__thumbs.is-marquee {
    animation: ngs-pg-marquee var(--ngs-pg-marquee-duration, 24s) linear infinite;
}
/* Pause on pointer interaction (covers both mouse hover and touch hold) */
.ngs-pg__thumbs.is-marquee.is-paused,
.ngs-pg__thumbs.is-marquee:hover {
    animation-play-state: paused;
}
@keyframes ngs-pg-marquee {
    from { transform: translate3d(0, 0, 0); }
    to   { transform: translate3d(-50%, 0, 0); }
}

.ngs-pg__thumb {
    position: relative;
    flex: 0 0 var(--ngs-pg-thumb-size);
    width: var(--ngs-pg-thumb-size);
    height: var(--ngs-pg-thumb-size);
    padding: 0;
    border: 2px solid transparent;
    border-radius: 0;
    overflow: hidden;
    background: var(--ngs-pg-bg);
    cursor: pointer;
    transition: border-color 0.2s ease,
                transform   0.18s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.ngs-pg__thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    border-radius: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    max-width: none !important;
    border: 0 !important;
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.ngs-pg__thumb:hover {
    border-color: rgba(0, 0, 0, 0.35);
}
.ngs-pg__thumb:hover img { transform: scale(1.05); }

/* Active thumb — dark border only, no cyan dot, no cyan halo */
.ngs-pg__thumb.is-active {
    border-color: var(--ngs-pg-on-bg);
}
/* Cloned thumbs (added by JS for marquee loop) — visually identical
   but not interactive; click events only fire on originals. */
.ngs-pg__thumb.is-clone {
    pointer-events: none;
}

/* =====================================================================
 * Lightbox — 2-column modal (60% spec image | 40% AR + info)
 * Slides up on open, slides down on close (slow ~0.55s).
 * ===================================================================== */
.ngs-pg__lightbox {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: stretch;
    justify-content: center;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.45s ease;
}
.ngs-pg__lightbox[hidden] { display: none; }
.ngs-pg__lightbox.is-open {
    opacity: 1;
    pointer-events: auto;
}
.ngs-pg__lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(20, 20, 20, 0.94);
    cursor: pointer;
}

/* Stage — full-screen white modal. Slides in from the bottom on open,
   slides back down on close. No margins, no max-width — the modal IS
   the viewport. */
.ngs-pg__lightbox-stage {
    position: relative;
    z-index: 1;
    width: 100vw;
    height: 100vh;
    max-width: 100vw;
    max-height: 100vh;
    margin: 0;
    background: #fff;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transform: translateY(100vh);
    transition: transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.ngs-pg__lightbox.is-open .ngs-pg__lightbox-stage {
    transform: translateY(0);
}

/* Header now lives INSIDE the right column (.ngs-pg__lightbox-info-header)
   so the left column can run edge-to-edge full height with no header above. */
.ngs-pg__lightbox-info-header {
    flex: 0 0 auto;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 18px;
    border-bottom: 1px solid #eeeae3;
}
.ngs-pg__lightbox-title-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    min-width: 0;
    flex: 1 1 auto;
}
.ngs-pg__lightbox-category {
    color: #5f5e5b;
    font: 700 10.5px/1 "Inter", sans-serif;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}
.ngs-pg__lightbox-product {
    margin: 0 !important;
    color: #1c1b1b !important;
    font: 700 18px/1.25 "Inter", sans-serif !important;
    letter-spacing: -0.005em !important;
    /* Wrap long names — sidebar is narrower than the old full-width header */
    white-space: normal;
    overflow: hidden;
    word-break: break-word;
    max-width: 100%;
    text-align: left !important;
}
/* The three-button group (prev · next · close) in the modal header.
   Prev/next are hidden on desktop (floating overlay arrows handle it)
   and revealed on mobile via the @media block further down. */
.ngs-pg__lightbox-header-actions {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex: 0 0 auto;
}
.ngs-pg__lightbox-header-nav {
    display: none;                         /* desktop: hidden by default */
    width: 44px;
    height: 44px;
    background: #fff;
    border: 1px solid #1c1b1b;
    border-radius: 0;
    color: #1c1b1b;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: background 0.15s, color 0.15s, transform 0.15s;
}
.ngs-pg__lightbox-header-nav svg { width: 22px; height: 22px; }
.ngs-pg__lightbox-header-nav:hover { background: #1c1b1b; color: #fff; }
.ngs-pg__lightbox-header-nav:active { transform: scale(0.94); }

.ngs-pg__lightbox-close {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    background: #fff;
    border: 1px solid #1c1b1b;
    border-radius: 0;
    color: #1c1b1b;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: background 0.15s, color 0.15s, transform 0.15s;
}
.ngs-pg__lightbox-close svg { width: 22px; height: 22px; }
.ngs-pg__lightbox-close:hover { background: #1c1b1b; color: #fff; }
.ngs-pg__lightbox-close:active { transform: scale(0.94); }

/* Split: 70% product photo (primary) | 30% sidebar with spec image + AR.
   Product image dominates. Spec image is accessory-sized in the sidebar. */
.ngs-pg__lightbox-split {
    flex: 1 1 auto !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch !important;
    min-height: 0;
    width: 100%;
}

/* 70%: PRODUCT image — full image visible (object-fit: contain), with
   a scrollable zoom wrap so a zoomed image can be panned. Nav arrows
   sit on top of the column so visitors can cycle through gallery
   images without closing the modal. */
.ngs-pg__lightbox-gallery {
    flex: 0 0 70% !important;
    width: 70% !important;
    background: #f6f3f2;
    overflow: hidden;
    min-height: 0;
    position: relative;
    display: block !important;
}
.ngs-pg__lightbox-zoom-wrap {
    width: 100%;
    height: 100%;
    overflow: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-overflow-scrolling: touch;
    /* Allow native pinch-zoom on top of our JS-driven zoom */
    touch-action: pan-x pan-y pinch-zoom;
}
.ngs-pg__lightbox-zoom-wrap::-webkit-scrollbar { width: 0; height: 0; }
.ngs-pg__lightbox-gallery-img {
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    object-position: center !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    cursor: zoom-in;
    transition: max-width 0.3s ease, max-height 0.3s ease;
    user-select: none;
    -webkit-user-drag: none;
}
/* When zoomed: drop max constraints so the image renders at natural size
   inside the scrollable wrap (browser handles pan via overflow:auto). */
.ngs-pg__lightbox-gallery-img.is-zoomed {
    max-width: none !important;
    max-height: none !important;
    cursor: zoom-out;
}

/* Modal nav arrows — sit over the gallery column edges, mid-height.
   Hidden on mobile (swipe nav is enough on touch). */
.ngs-pg__lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    background: rgba(255, 255, 255, 0.92);
    border: 0;
    border-radius: 0;
    color: #1c1b1b;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
    transition: background 0.15s ease, transform 0.15s ease;
}
.ngs-pg__lightbox-nav:hover {
    background: #1c1b1b;
    color: #fff;
    transform: translateY(-50%) scale(1.04);
}
.ngs-pg__lightbox-nav:active {
    transform: translateY(-50%) scale(0.94);
}
.ngs-pg__lightbox-nav--prev { left: 18px; }
.ngs-pg__lightbox-nav--next { right: 18px; }

/* 30%: sidebar — header at top, spec image (accessory) + AR CTA below.
   Content is clustered toward the TOP of the column via the bottom spacer,
   so the lower portion of the column is intentionally empty — keeps any
   floating chat widget at the page bottom-right fully visible. */
.ngs-pg__lightbox-info {
    flex: 0 0 30% !important;
    width: 30% !important;
    padding: 24px 28px 0 !important;
    display: flex !important;
    flex-direction: column;
    background: #fff;
    border-left: 1px solid #eeeae3;
    min-height: 0;
    gap: 18px;
    overflow-y: auto;
}
.ngs-pg__lightbox-spec {
    flex: 0 0 auto;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 0;
    overflow: hidden;
    min-height: 120px;
    max-height: 38vh;
}
.ngs-pg__lightbox-spec-img {
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    display: block !important;
    border-radius: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}
.ngs-pg__lightbox-spec-empty {
    color: #8a8a85;
    font: 500 12px/1.5 "Inter", sans-serif;
    text-align: center;
    padding: 30px 20px;
}

/* AR + extra buttons sit BELOW the spec image (clustered with the rest of
   the content at the top of the column). The bottom-pad spacer pushes
   everything up. */
.ngs-pg__lightbox-actions {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: stretch;
}

/* Clean white button — fills the column width, square, prominent */
.ngs-pg__lightbox-ar,
.ngs-pg__lightbox-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 18px;
    background: #fff;
    color: #1c1b1b;
    border: 1px solid #1c1b1b;
    border-radius: 0;
    cursor: pointer;
    font: 700 13px/1 "Inter", sans-serif;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: background 0.15s ease, color 0.15s ease;
    text-decoration: none;
    width: 100%;
}
.ngs-pg__lightbox-ar[hidden] { display: none; }
.ngs-pg__lightbox-ar:hover,
.ngs-pg__lightbox-btn:hover {
    background: #1c1b1b;
    color: #fff;
}
.ngs-pg__lightbox-ar:active,
.ngs-pg__lightbox-btn:active { background: #000; }
.ngs-pg__lightbox-ar-icon {
    width: 22px;
    height: 22px;
    display: block;
    transition: filter 0.15s ease;
}
.ngs-pg__lightbox-ar:hover .ngs-pg__lightbox-ar-icon {
    filter: brightness(0) invert(1);
}

/* Bottom spacer — pushes the content stack up. Sized so the lower
   ~120px of the sidebar is always clear for floating chat widgets. */
.ngs-pg__lightbox-bottom-pad {
    flex: 1 1 auto;
    min-height: 120px;
}

/* Body lock when lightbox is open */
body.ngs-pg-lightbox-open { overflow: hidden; }

/* =====================================================================
 * Mobile
 * ===================================================================== */
@media (max-width: 720px) {
    .ngs-pg {
        --ngs-pg-thumb-size: 108px;   /* +20% from 90 */
        --ngs-pg-thumb-gap:  2px;
        --ngs-pg-radius:     0;
    }
    /* Main viewer arrows hidden — swipe + thumbs handle navigation */
    .ngs-pg__arrow { display: none !important; }

    .ngs-pg__counter { font-size: 10px; padding: 5px 10px; top: 12px; right: 12px; }

    .ngs-pg__ar-pill {
        right: 12px;
        bottom: 12px;
        padding: 7px 12px;
        font-size: 11px;
        gap: 6px;
    }
    .ngs-pg__ar-pill-icon { width: 16px; height: 16px; }

    .ngs-pg__thumb-arrow { width: 24px; height: 48px; }

    /* =====================================================================
     * Mobile thumbnails — NATIVE horizontal scroll (no marquee here).
     * Marquee is hostile to touch: moving targets can't be reliably tapped
     * and there's no native drag. JS leaves the marquee OFF at this width
     * (see setupThumbMarquee). CSS makes the wrap scrollable so visitors
     * can drag-to-scroll and tap any thumb to switch the main image.
     * ===================================================================== */
    .ngs-pg__thumbs-wrap {
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
        /* Hide the scrollbar — desktop has the marquee, mobile uses gesture. */
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    .ngs-pg__thumbs-wrap::-webkit-scrollbar { display: none; height: 0; }
    .ngs-pg__thumbs {
        /* Override the desktop marquee defaults — never animate on mobile. */
        animation: none !important;
        width: auto !important;
        scroll-snap-type: x mandatory;
    }
    .ngs-pg__thumb { scroll-snap-align: start; }
    /* Belt-and-suspenders: if a previous desktop view left clones in the DOM
       before resize, hide them so they don't pollute the mobile strip. */
    .ngs-pg__thumb.is-clone { display: none !important; }

    /* Lightbox — stack the two columns vertically on narrow widths.
       Still full-screen; just rearranges columns into rows. */
    /* v1.40.1: bigger fonts in the modal header so titles read well */
    .ngs-pg__lightbox-product  { font-size: 17px !important; line-height: 1.2 !important; }
    .ngs-pg__lightbox-category { font-size: 13px !important; letter-spacing: 0.1em !important; font-weight: 700 !important; }

    /* Smaller close on mobile now that we share the row with prev/next.
       Still a comfortable tap target — minimum 44px. */
    .ngs-pg__lightbox-close {
        width: 44px;
        height: 44px;
        flex-basis: 44px;
    }
    .ngs-pg__lightbox-close svg { width: 22px; height: 22px; stroke-width: 2.4; }

    /* Mobile header: title stacked vertically on the left, prev/next/close
       triplet on the right. Title block goes BACK to column layout so the
       cyan category and product name sit on separate lines (bigger fonts
       need the breathing room). */
    .ngs-pg__lightbox-info-header {
        align-items: center;
        padding-bottom: 14px;
        gap: 10px;
    }
    .ngs-pg__lightbox-title-block {
        flex-direction: column !important;
        align-items: flex-start !important;
        flex-wrap: nowrap !important;
        gap: 4px !important;
        min-width: 0;
        flex: 1 1 auto;
    }

    /* Reveal the header prev/next nav buttons on mobile */
    .ngs-pg__lightbox-header-nav {
        display: inline-flex;
    }

    /* Hide the floating overlay nav arrows on mobile — header nav handles it.
       Swipe inside the modal also still navigates. */
    .ngs-pg__lightbox-nav { display: none !important; }

    /* Mobile stack — product image up top, spec image RIGHT below it
       (accessory size), AR button is the bottom CTA. */
    .ngs-pg__lightbox-split {
        flex-direction: column !important;
        overflow-y: auto;
    }
    .ngs-pg__lightbox-gallery,
    .ngs-pg__lightbox-info {
        flex: 0 0 auto !important;
        width: 100% !important;
    }
    .ngs-pg__lightbox-gallery {
        flex: 0 0 auto !important;
        height: 45vh;
        min-height: 260px;
    }
    .ngs-pg__lightbox-info {
        flex: 1 1 auto !important;
        border-left: 0;
        border-top: 1px solid #eeeae3;
        padding: 16px !important;
        gap: 12px;
    }
    /* Tight padding so spec image sits CLOSE underneath the product image */
    .ngs-pg__lightbox-spec {
        padding: 8px 0;
        max-height: 24vh;
        min-height: 100px;
        flex: 0 0 auto;
    }
    .ngs-pg__lightbox-ar,
    .ngs-pg__lightbox-btn { padding: 14px; font-size: 12px; }
    .ngs-pg__lightbox-bottom-pad { min-height: 0; }
}

/* =====================================================================
 * Reduced motion
 * ===================================================================== */
@media (prefers-reduced-motion: reduce) {
    .ngs-pg__slide, .ngs-pg__arrow, .ngs-pg__thumb,
    .ngs-pg__ar-pill, .ngs-pg__thumb-arrow,
    .ngs-pg__lightbox, .ngs-pg__lightbox-stage,
    .ngs-pg__lightbox-ar, .ngs-pg__lightbox-close { transition: none !important; }
    .ngs-pg__slide img, .ngs-pg__thumb img { transition: none !important; }
}
