/* ===================================================================
   Vehicle Gallery Module – Styles
   =================================================================== */

.vg-module {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    -webkit-user-select: none;
    user-select: none;
    line-height: 1.4;
}

.vg-title {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 0.75rem;
    color: #1a1a1a;
}

/* ----- Gallery Wrapper ----- */
.vg-gallery-wrapper {
    position: relative;
    background: #ffffff;
    overflow: hidden;
}

/* ----- Viewport & Slides ----- */
.vg-viewport {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.vg-slides-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.vg-slide {
    flex: 0 0 100%;
    min-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 2rem 4rem;
    box-sizing: border-box;
}

.vg-slide img {
    max-width: 100%;
    max-height: 480px;
    object-fit: contain;
    transition: transform 0.35s ease;
}

.vg-slide:hover img {
    transform: scale(1.02);
}

/* Fade mode overrides */
.vg-module[data-transition="fade"] .vg-slides-track {
    position: relative;
    transition: none;
}

.vg-module[data-transition="fade"] .vg-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
}

.vg-module[data-transition="fade"] .vg-slide.vg-fade-active {
    position: relative;
    opacity: 1;
    pointer-events: auto;
}

/* ----- Navigation Arrows ----- */
.vg-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 48px;
    height: 48px;
    background: #1a1a1a;
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 1.75rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s, transform 0.2s;
    padding: 0;
}

.vg-nav:hover {
    background: #333;
}

.vg-nav:active {
    transform: translateY(-50%) scale(0.93);
}

.vg-nav-prev {
    left: 0;
}

.vg-nav-next {
    right: 0;
}

/* ----- 360° Toggle Button ----- */
.vg-btn-360 {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    z-index: 10;
    background: #1a1a1a;
    color: #fff;
    border: none;
    padding: 0.4rem 0.85rem;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    border-radius: 3px;
    transition: background 0.2s;
    letter-spacing: 0.03em;
}

.vg-btn-360:hover {
    background: #333;
}

/* ----- Controls Bar ----- */
.vg-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1rem 0;
    background: #fff;
}

.vg-swatches {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.vg-swatch {
    width: 28px;
    height: 28px;
    border: 2px solid transparent;
    outline: none;
    cursor: pointer;
    padding: 0;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.vg-swatch.active {
    border-color: #888;
    box-shadow: 0 0 0 1px #888;
}

.vg-swatch:hover {
    border-color: #aaa;
}

.vg-counter {
    font-size: 0.9rem;
    color: #666;
    letter-spacing: 0.06em;
    border-left: 1px solid #ccc;
    padding-left: 1rem;
    white-space: nowrap;
}

/* ----- Animations ----- */
@keyframes vg-zoom-in {
    from {
        transform: scale(1.1);
        opacity: 0.6;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes vg-kenburns {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.07) translate(-1%, -1%);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes vg-parallax {
    from {
        transform: translateX(40px);
        opacity: 0.5;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.vg-anim-zoom img {
    animation: vg-zoom-in 0.8s ease-out both;
}

.vg-anim-kenburns img {
    animation: vg-kenburns 4s ease-in-out both;
}

.vg-anim-parallax img {
    animation: vg-parallax 0.6s ease-out both;
}

/* ----- Lightbox ----- */
.vg-lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vg-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
}

.vg-lightbox-content {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vg-lightbox-img-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 85vw;
    max-height: 80vh;
}

.vg-lightbox-img {
    max-width: 85vw;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 2px;
    transition: opacity 0.3s ease;
}

.vg-lightbox-close {
    position: fixed;
    top: 1.25rem;
    right: 1.5rem;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
    line-height: 1;
    z-index: 2;
    padding: 0.25rem;
    transition: opacity 0.2s;
}

.vg-lightbox-close:hover {
    opacity: 0.65;
}

.vg-lightbox-prev,
.vg-lightbox-next {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.12);
    border: none;
    color: #fff;
    font-size: 2rem;
    width: 52px;
    height: 52px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    z-index: 2;
    padding: 0;
}

.vg-lightbox-prev:hover,
.vg-lightbox-next:hover {
    background: rgba(255, 255, 255, 0.25);
}

.vg-lightbox-prev {
    left: 1.5rem;
}

.vg-lightbox-next {
    right: 1.5rem;
}

.vg-lightbox-counter {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 0.95rem;
    letter-spacing: 0.12em;
    z-index: 2;
}

.vg-lightbox-360 {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: #fff;
    color: #1a1a1a;
    border: none;
    padding: 0.5rem 1.1rem;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    border-radius: 3px;
    z-index: 2;
    transition: background 0.2s;
    letter-spacing: 0.03em;
}

.vg-lightbox-360:hover {
    background: #e5e5e5;
}

/* ----- 360° Spin Overlay ----- */
.vg-spin-overlay {
    position: fixed;
    inset: 0;
    z-index: 10001;
    background: rgba(0, 0, 0, 0.96);
    display: flex;
    align-items: center;
    justify-content: center;
}

.vg-spin-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.6);
    border: 2px solid rgba(255, 255, 255, 0.85);
    color: #fff;
    font-size: 1.75rem;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    cursor: pointer;
    line-height: 1;
    z-index: 10;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.2s;
}

.vg-spin-close:hover,
.vg-spin-close:focus-visible {
    background: #fff;
    color: #000;
    transform: scale(1.08);
    outline: none;
}

.vg-spin-container {
    position: relative;
    width: 80vw;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vg-spin-canvas {
    cursor: grab;
    max-width: 100%;
    max-height: 100%;
}

.vg-spin-canvas:active {
    cursor: grabbing;
}

.vg-spin-hint {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    pointer-events: none;
    animation: vg-hint-fade 3s ease forwards;
}

.vg-spin-loading {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
}

@keyframes vg-hint-fade {
    0%, 70% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

/* ----- Responsive ----- */
@media (max-width: 768px) {
    .vg-slide {
        padding: 1.25rem 3.5rem;
    }

    .vg-slide img {
        max-height: 320px;
    }

    .vg-nav {
        width: 38px;
        height: 38px;
        font-size: 1.35rem;
    }

    .vg-swatch {
        width: 24px;
        height: 24px;
    }

    .vg-lightbox-img {
        max-width: 95vw;
        max-height: 72vh;
    }

    .vg-spin-container {
        width: 95vw;
        height: 72vh;
    }
}

@media (max-width: 480px) {
    .vg-slide {
        padding: 0.75rem 2.75rem;
    }

    .vg-slide img {
        max-height: 220px;
    }

    .vg-nav {
        width: 32px;
        height: 32px;
        font-size: 1.1rem;
    }

    .vg-controls {
        flex-direction: column;
        gap: 0.5rem;
    }

    .vg-counter {
        border-left: none;
        padding-left: 0;
    }

    .vg-btn-360 {
        bottom: 0.5rem;
        right: 0.5rem;
        font-size: 0.75rem;
        padding: 0.3rem 0.6rem;
    }
}

/* ----- Focus Visible (Accessibility) ----- */
.vg-nav:focus-visible,
.vg-swatch:focus-visible,
.vg-btn-360:focus-visible,
.vg-lightbox-close:focus-visible,
.vg-lightbox-prev:focus-visible,
.vg-lightbox-next:focus-visible,
.vg-lightbox-360:focus-visible,
.vg-spin-close:focus-visible {
    outline: 2px solid #4a90d9;
    outline-offset: 2px;
}

.vg-slide:focus-visible {
    outline: 2px solid #4a90d9;
    outline-offset: -2px;
}

/* ================================================================
   ADVANCED FEATURES
   ================================================================ */

/* ----- Toolbar ----- */
.vg-toolbar {
    display: flex;
    gap: 0.4rem;
    justify-content: flex-end;
    padding: 0.5rem;
    background: #fafafa;
    border-bottom: 1px solid #eee;
}

.vg-tool {
    width: 36px;
    height: 36px;
    background: #fff;
    border: 1px solid #ddd;
    color: #333;
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s;
    padding: 0;
}

.vg-tool:hover {
    background: #1a1a1a;
    color: #fff;
    border-color: #1a1a1a;
}

.vg-tool[aria-pressed="true"] {
    background: #1a1a1a;
    color: #fff;
    border-color: #1a1a1a;
}

.vg-tool:focus-visible {
    outline: 2px solid #4a90d9;
    outline-offset: 2px;
}

/* ----- Layout with aside ----- */
.vg-layout {
    display: block;
    position: relative;
}

.vg-layout.vg-has-aside {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 1rem;
    align-items: start;
}

.vg-main {
    min-width: 0;
}

/* ----- Specs panel ----- */
.vg-specs-panel {
    background: #fafafa;
    border: 1px solid #eee;
    border-radius: 4px;
    padding: 1.25rem;
    align-self: stretch;
}

.vg-specs-title {
    margin: 0 0 1rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a1a;
}

.vg-specs-list {
    margin: 0 0 1rem;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.4rem 0.75rem;
    font-size: 0.9rem;
}

.vg-specs-list dt {
    color: #666;
    font-weight: 500;
}

.vg-specs-list dd {
    margin: 0;
    color: #1a1a1a;
    font-weight: 600;
}

.vg-price {
    font-size: 1.4rem;
    font-weight: 800;
    color: #1a1a1a;
    margin: 0.5rem 0 1rem;
    letter-spacing: -0.01em;
}

.vg-cta {
    display: block;
    text-align: center;
    background: #1a1a1a;
    color: #fff !important;
    padding: 0.7rem 1.2rem;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    border-radius: 4px;
    transition: background 0.2s, transform 0.1s;
}

.vg-cta:hover {
    background: #333;
    transform: translateY(-1px);
}

.vg-cta:active {
    transform: translateY(0);
}

/* ----- Hotspots ----- */
.vg-slide {
    position: relative; /* make slide a positioning context for hotspots overlay */
}

.vg-hotspots {
    position: absolute;
    inset: 2rem 4rem;
    pointer-events: none;
}

.vg-hotspot {
    position: absolute;
    width: 22px;
    height: 22px;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid #1a1a1a;
    border-radius: 50%;
    padding: 0;
    cursor: pointer;
    transform: translate(-50%, -50%);
    pointer-events: auto;
    animation: vg-hotspot-pulse 2s infinite;
    z-index: 5;
}

.vg-hotspot > span {
    display: block;
    width: 8px;
    height: 8px;
    background: #1a1a1a;
    border-radius: 50%;
    margin: 3px auto 0;
}

.vg-hotspot:hover {
    background: #1a1a1a;
    animation: none;
}

.vg-hotspot:hover > span {
    background: #fff;
}

@keyframes vg-hotspot-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(26, 26, 26, 0.4); }
    50%      { box-shadow: 0 0 0 8px rgba(26, 26, 26, 0); }
}

.vg-hotspot-popover {
    position: absolute;
    z-index: 50;
    background: #1a1a1a;
    color: #fff;
    padding: 0.75rem 1rem;
    border-radius: 4px;
    min-width: 200px;
    max-width: 320px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    font-size: 0.9rem;
    animation: vg-pop-in 0.2s ease-out;
}

.vg-hotspot-popover::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -6px;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #1a1a1a;
}

.vg-hp-title {
    margin: 0 0 0.35rem;
    font-size: 0.95rem;
    font-weight: 700;
}

.vg-hp-content {
    font-size: 0.85rem;
    line-height: 1.5;
    opacity: 0.9;
}

.vg-hp-close {
    position: absolute;
    top: 4px;
    right: 6px;
    background: transparent;
    border: 0;
    color: #fff;
    cursor: pointer;
    font-size: 1.2rem;
    line-height: 1;
    padding: 2px 6px;
    opacity: 0.7;
}

.vg-hp-close:hover {
    opacity: 1;
}

@keyframes vg-pop-in {
    from { opacity: 0; transform: scale(0.9) translateY(4px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

/* ----- Magnifier ----- */
.vg-magnifier {
    position: absolute;
    width: 180px;
    height: 180px;
    border: 3px solid #fff;
    border-radius: 50%;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    pointer-events: none;
    background-repeat: no-repeat;
    z-index: 20;
    transform: translate(-50%, -50%);
}

/* ----- Scenes popover ----- */
.vg-scenes-popover {
    position: absolute;
    top: 3rem;
    right: 1rem;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    padding: 0.4rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    z-index: 30;
    min-width: 160px;
}

.vg-scene {
    background: transparent;
    border: 0;
    text-align: left;
    padding: 0.5rem 0.75rem;
    cursor: pointer;
    font-size: 0.9rem;
    border-radius: 3px;
    color: #1a1a1a;
}

.vg-scene:hover,
.vg-scene.active {
    background: #f0f0f0;
}

/* ----- Compare overlay ----- */
.vg-compare {
    position: fixed;
    inset: 0;
    z-index: 10002;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
}

.vg-compare-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    background: transparent;
    border: 0;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    padding: 0.25rem;
    opacity: 0.8;
}

.vg-compare-close:hover { opacity: 1; }

.vg-compare-select {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin: 0.5rem 0 1rem;
    color: #fff;
    font-size: 0.95rem;
}

.vg-compare-select select {
    background: #222;
    color: #fff;
    border: 1px solid #444;
    padding: 0.4rem 0.75rem;
    border-radius: 3px;
    font-size: 0.9rem;
}

.vg-compare-vs {
    font-weight: 700;
    opacity: 0.7;
}

.vg-compare-stage {
    position: relative;
    width: min(100%, 1000px);
    height: 70vh;
    overflow: hidden;
    background: #222;
    border-radius: 4px;
    user-select: none;
}

.vg-compare-img-left,
.vg-compare-img-right {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.vg-compare-clip {
    position: absolute;
    inset: 0;
    width: 50%;
    overflow: hidden;
    border-right: 2px solid #fff;
}

.vg-compare-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    margin-left: -2px;
    background: #fff;
    cursor: ew-resize;
    z-index: 2;
}

.vg-compare-handle::before {
    content: "⇔";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: #fff;
    color: #1a1a1a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

/* ----- AR overlay ----- */
.vg-ar {
    position: fixed;
    inset: 0;
    z-index: 10003;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
}

.vg-ar-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    background: transparent;
    border: 0;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    z-index: 2;
    padding: 0.25rem;
}

.vg-ar-stage {
    width: 90vw;
    height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vg-ar-model {
    width: 100%;
    height: 100%;
    background: transparent;
    --poster-color: transparent;
}

/* ----- Help overlay ----- */
.vg-help {
    position: fixed;
    inset: 0;
    z-index: 10004;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.vg-help-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    background: transparent;
    border: 0;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    padding: 0.25rem;
}

.vg-help-content {
    background: #fff;
    padding: 2rem 2.5rem;
    border-radius: 8px;
    max-width: 480px;
    width: 100%;
}

.vg-help-content h4 {
    margin: 0 0 1rem;
    font-size: 1.2rem;
}

.vg-help-content dl {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 0.5rem 1rem;
    font-size: 0.9rem;
    margin: 0;
}

.vg-help-content dt {
    font-family: ui-monospace, "SF Mono", Menlo, monospace;
    background: #f0f0f0;
    padding: 0.1rem 0.5rem;
    border-radius: 3px;
    font-weight: 600;
    font-size: 0.85rem;
    display: inline-block;
    width: fit-content;
    color: #1a1a1a;
}

.vg-help-content dd {
    margin: 0;
    color: #555;
    align-self: center;
}

/* ----- Day/Night mode ----- */
.vg-module.vg-night {
    background: #111;
    color: #eee;
}

.vg-module.vg-night .vg-title { color: #fff; }
.vg-module.vg-night .vg-gallery-wrapper { background: #1a1a1a; }
.vg-module.vg-night .vg-controls,
.vg-module.vg-night .vg-toolbar { background: #222; border-color: #333; }
.vg-module.vg-night .vg-specs-panel { background: #1a1a1a; border-color: #333; }
.vg-module.vg-night .vg-specs-title,
.vg-module.vg-night .vg-specs-list dd,
.vg-module.vg-night .vg-price { color: #fff; }
.vg-module.vg-night .vg-specs-list dt { color: #999; }
.vg-module.vg-night .vg-counter { color: #aaa; border-color: #444; }
.vg-module.vg-night .vg-slide img { filter: brightness(0.85) contrast(1.05); }
.vg-module.vg-night .vg-tool { background: #333; color: #ddd; border-color: #444; }
.vg-module.vg-night .vg-tool:hover { background: #fff; color: #1a1a1a; border-color: #fff; }

/* ----- Lazy blur placeholder ----- */
.vg-lazy {
    filter: blur(0);
    transition: filter 0.4s ease;
}

.vg-lazy:not(.vg-loaded) {
    filter: blur(12px);
}

/* ----- Noscript fallback ----- */
.vg-noscript {
    padding: 1rem;
}

.vg-noscript section {
    margin-bottom: 2rem;
}

.vg-noscript h4 {
    margin: 0 0 0.5rem;
    font-size: 1.1rem;
}

.vg-noscript img {
    max-width: 100%;
    height: auto;
    display: block;
    margin-bottom: 0.5rem;
}

/* ----- Print styles (for PDF export via browser) ----- */
@media print {
    body > *:not(.vg-module) { display: none !important; }

    .vg-module { max-width: 100%; color: #000; background: #fff; }

    .vg-toolbar,
    .vg-nav,
    .vg-btn-360,
    .vg-controls,
    .vg-hotspots,
    .vg-magnifier,
    .vg-scenes-popover,
    .vg-hotspot-popover,
    .vg-compare,
    .vg-ar,
    .vg-help,
    .vg-spin-overlay,
    .vg-lightbox,
    .vg-cta { display: none !important; }

    .vg-layout.vg-has-aside {
        display: block;
    }

    .vg-viewport {
        overflow: visible !important;
    }

    .vg-slides-track {
        display: block !important;
        transform: none !important;
    }

    .vg-color-gallery[hidden] {
        display: block !important;
    }

    .vg-color-gallery:not([data-active-print]) {
        display: none !important;
    }

    .vg-slide {
        page-break-inside: avoid;
        padding: 1rem;
        display: block !important;
        opacity: 1 !important;
    }

    .vg-slide img { max-width: 100%; max-height: 400px; }

    .vg-specs-panel {
        border: 1px solid #000;
        break-inside: avoid;
        margin-top: 1rem;
    }
}

/* ----- Responsive additions ----- */
@media (max-width: 900px) {
    .vg-layout.vg-has-aside {
        grid-template-columns: 1fr;
    }

    .vg-specs-panel {
        margin-top: 1rem;
    }
}

@media (max-width: 768px) {
    .vg-hotspots { inset: 1.25rem 3.5rem; }
    .vg-tool { width: 32px; height: 32px; font-size: 0.9rem; }
    .vg-magnifier { width: 130px; height: 130px; }
}

@media (max-width: 480px) {
    .vg-hotspots { inset: 0.75rem 2.75rem; }
    .vg-hotspot { width: 18px; height: 18px; }
    .vg-hotspot > span { width: 6px; height: 6px; margin-top: 2px; }
}
