/* ==========================================================================
   G.K. ALMIRAH — DEDICATED LIVE AR SPATIAL VIEWFINDER
   High-Precision Architectural AR, 1:1 Scale Calibration, Touch Gestures
   ========================================================================== */

:root {
    --gk-ar-gold: #C8A96E;
    --gk-ar-gold-light: #E5D2A8;
    --gk-ar-gold-dark: #A68446;
    --gk-ar-gold-glow: rgba(200, 169, 110, 0.35);
    --gk-ar-dark: #0d0d0f;
    --gk-ar-hud-bg: rgba(18, 18, 22, 0.85);
    --gk-ar-sheet-bg: rgba(16, 16, 20, 0.95);
    --gk-ar-border: rgba(255, 255, 255, 0.12);
    --gk-ar-border-gold: rgba(200, 169, 110, 0.45);
    --gk-ar-text: #FFFFFF;
    --gk-ar-text-muted: rgba(255, 255, 255, 0.65);
    --gk-ar-radius: 14px;
}

/* Base Fullscreen Container */
.gk-ar-app-container {
    position: relative;
    width: 100%;
    height: 100vh;
    height: 100svh;
    background: #000;
    color: var(--gk-ar-text);
    font-family: 'Montserrat', sans-serif;
    overflow: hidden;
    user-select: none;
    -webkit-user-select: none;
    touch-action: none;
}

/* --------------------------------------------------------------------------
   AR Viewport & Live Video Stream
   -------------------------------------------------------------------------- */
.gk-ar-viewport {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #0a0a0c;
    z-index: 1;
}

.gk-ar-video-stream {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    background: #000;
    transform: scaleX(1);
    transition: transform 0.3s ease;
}

.gk-ar-video-stream.is-mirrored {
    transform: scaleX(-1);
}

/* Floor Perspective Grid Overlay */
.gk-ar-grid-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
    opacity: 0.4;
    transition: opacity 1.2s ease;
    perspective: 800px;
}

.gk-ar-grid-overlay.is-hidden {
    opacity: 0;
    visibility: hidden;
}

.gk-ar-grid-mesh {
    position: absolute;
    bottom: -15%;
    left: -20%;
    right: -20%;
    height: 70%;
    background-image: 
        linear-gradient(to right, rgba(200, 169, 110, 0.18) 1px, transparent 1px),
        linear-gradient(to top, rgba(200, 169, 110, 0.18) 1px, transparent 1px);
    background-size: 50px 50px;
    transform: rotateX(72deg);
    transform-origin: bottom center;
    mask-image: radial-gradient(ellipse 65% 50% at 50% 100%, #000 30%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 65% 50% at 50% 100%, #000 30%, transparent 100%);
}

/* Ambient Layer Filter */
.gk-ar-ambient-layer {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 3;
    background: radial-gradient(circle at 50% 40%, transparent 50%, rgba(0,0,0,0.35) 100%);
}

/* --------------------------------------------------------------------------
   6.0 ft Human Silhouette Guide
   -------------------------------------------------------------------------- */
.gk-ar-human-guide {
    position: absolute;
    bottom: 24%;
    left: 18%;
    z-index: 4;
    pointer-events: none;
    transform-origin: bottom center;
    transition: transform 0.15s ease-out;
}

.gk-human-graphic {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.gk-human-svg {
    height: 310px;
    width: auto;
    color: rgba(255, 255, 255, 0.4);
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.6));
}

.gk-human-scale-tag {
    position: absolute;
    top: -28px;
    background: rgba(14, 14, 18, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.2rem 0.65rem;
    border-radius: 20px;
    font-size: 0.68rem;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    backdrop-filter: blur(8px);
}

/* --------------------------------------------------------------------------
   Interactive AR Product Anchor
   -------------------------------------------------------------------------- */
.gk-ar-product-anchor {
    position: absolute;
    bottom: 24%;
    left: 50%;
    transform: translate(-50%, 0) scale(1) rotate(0deg);
    transform-origin: bottom center;
    cursor: grab;
    z-index: 10;
    touch-action: none;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    will-change: transform;
}

.gk-ar-product-anchor.is-dragging {
    cursor: grabbing;
}

.gk-ar-product-anchor img {
    height: 420px;
    max-height: 55vh;
    width: auto;
    object-fit: contain;
    user-select: none;
    -webkit-user-drag: none;
    pointer-events: none;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.65));
    position: relative;
    z-index: 3;
    transition: filter 0.25s ease;
}

/* Dynamic Floor Drop Shadow */
.gk-ar-floor-shadow {
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    height: 28px;
    border-radius: 50%;
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 55%, transparent 80%);
    z-index: 1;
    pointer-events: none;
    transition: all 0.2s ease;
}

/* Architectural Height Ticker */
.gk-ar-measurement-tag {
    position: absolute;
    top: -34px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(14, 14, 18, 0.88);
    border: 1px solid var(--gk-ar-border-gold);
    color: var(--gk-ar-gold);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 0.28rem 0.85rem;
    border-radius: 20px;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    backdrop-filter: blur(8px);
    pointer-events: none;
    z-index: 4;
}

/* --------------------------------------------------------------------------
   Top AR Navigation HUD
   -------------------------------------------------------------------------- */
.gk-ar-top-hud {
    position: absolute;
    top: env(safe-area-inset-top, 1rem);
    top: 1rem;
    left: 1rem;
    right: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    z-index: 30;
    pointer-events: none;
}

.gk-ar-hud-left,
.gk-ar-hud-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    pointer-events: auto;
}

.gk-ar-hud-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    height: 40px;
    padding: 0 0.85rem;
    background: var(--gk-ar-hud-bg);
    border: 1px solid var(--gk-ar-border);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    white-space: nowrap;
}

.gk-ar-hud-btn:hover,
.gk-ar-hud-btn:active,
.gk-ar-hud-btn.active {
    background: var(--gk-ar-gold);
    color: #111;
    border-color: var(--gk-ar-gold);
    box-shadow: 0 0 16px var(--gk-ar-gold-glow);
    transform: translateY(-1px);
}

.gk-ar-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    height: 40px;
    padding: 0 0.9rem;
    background: rgba(14, 14, 18, 0.88);
    border: 1px solid rgba(255, 59, 48, 0.45);
    border-radius: 30px;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.gk-ar-live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ff3b30;
    box-shadow: 0 0 10px #ff3b30;
    animation: arLivePulse 1.4s infinite ease-in-out;
}

@keyframes arLivePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.35; transform: scale(0.8); }
}

.gk-ar-live-label {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.8px;
    color: #fff;
}

/* --------------------------------------------------------------------------
   Hint Toast (Initial Guidance)
   -------------------------------------------------------------------------- */
.gk-ar-hint-toast {
    position: absolute;
    top: 5rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(16, 16, 20, 0.88);
    border: 1px solid var(--gk-ar-border);
    color: rgba(255, 255, 255, 0.9);
    padding: 0.5rem 1.25rem;
    border-radius: 30px;
    font-size: 0.78rem;
    font-weight: 600;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.5);
    z-index: 25;
    pointer-events: none;
    animation: hintToastAnim 8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes hintToastAnim {
    0% { opacity: 0; transform: translate(-50%, -15px); }
    12% { opacity: 1; transform: translate(-50%, 0); }
    85% { opacity: 1; transform: translate(-50%, 0); }
    100% { opacity: 0; transform: translate(-50%, -15px); visibility: hidden; }
}

/* --------------------------------------------------------------------------
   Floating Shutter Dock (Right Edge)
   -------------------------------------------------------------------------- */
.gk-ar-shutter-dock {
    position: absolute;
    right: 1.25rem;
    bottom: 30%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    z-index: 25;
}

.gk-ar-shutter-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(18, 18, 22, 0.7);
    border: 3px solid var(--gk-ar-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 0 20px var(--gk-ar-gold-glow), 0 8px 25px rgba(0,0,0,0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    outline: none;
    padding: 0;
}

.gk-ar-shutter-inner {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.25);
    transition: all 0.2s ease;
}

.gk-ar-shutter-btn:active {
    transform: scale(0.92);
}

.gk-ar-shutter-btn:active .gk-ar-shutter-inner {
    background: var(--gk-ar-gold);
    transform: scale(0.85);
}

.gk-ar-shutter-label {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--gk-ar-gold);
    text-shadow: 0 2px 6px rgba(0,0,0,0.8);
}

/* --------------------------------------------------------------------------
   Collapsible Bottom AR Studio Drawer (Sheet)
   -------------------------------------------------------------------------- */
.gk-ar-bottom-sheet {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--gk-ar-sheet-bg);
    border-top: 1px solid var(--gk-ar-border-gold);
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 35;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.gk-ar-bottom-sheet.is-collapsed {
    transform: translateY(calc(100% - 70px));
}

.gk-ar-sheet-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    cursor: pointer;
}

.gk-ar-sheet-info {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    overflow: hidden;
}

.gk-ar-sheet-title {
    margin: 0;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gk-ar-sheet-meta {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    color: var(--gk-ar-text-muted);
}

.gk-ar-meta-dot {
    opacity: 0.4;
}

.gk-ar-price-badge {
    color: var(--gk-ar-gold);
    font-weight: 700;
}

.gk-ar-drawer-toggle {
    background: rgba(200, 169, 110, 0.15);
    border: 1.5px solid var(--gk-ar-gold);
    color: var(--gk-ar-gold);
    width: 36px;
    min-width: 36px;
    max-width: 36px;
    height: 36px;
    min-height: 36px;
    max-height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    flex-shrink: 0;
    padding: 0;
    outline: none;
    box-shadow: 0 0 10px rgba(200, 169, 110, 0.2);
}

.gk-ar-drawer-toggle:hover {
    background: var(--gk-ar-gold);
    color: #111;
    box-shadow: 0 0 14px var(--gk-ar-gold-glow);
    transform: scale(1.05);
}

.gk-ar-drawer-toggle svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    stroke-width: 2.5;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.gk-ar-bottom-sheet.is-collapsed .gk-ar-drawer-toggle svg {
    transform: rotate(180deg);
}

.gk-ar-sheet-body {
    padding: 0.85rem 1.25rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

/* Swatches Strip */
.gk-ar-swatches-strip {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.25rem;
}

.gk-ar-swatches-strip::-webkit-scrollbar {
    display: none;
}

.gk-ar-swatch-item {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.35rem 0.75rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--gk-ar-border);
    border-radius: 30px;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--gk-ar-text-muted);
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.gk-ar-swatch-item:hover,
.gk-ar-swatch-item.active {
    background: rgba(200, 169, 110, 0.15);
    border-color: var(--gk-ar-gold);
    color: #fff;
}

.gk-ar-swatch-item.active {
    box-shadow: 0 0 10px var(--gk-ar-gold-glow);
}

.gk-ar-swatch-circle {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    flex-shrink: 0;
}

/* Category Filter Pills */
.gk-ar-filter-strip {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.15rem;
}

.gk-ar-filter-strip::-webkit-scrollbar {
    display: none;
}

.gk-ar-filter-pill {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--gk-ar-border);
    color: var(--gk-ar-text-muted);
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.3rem 0.75rem;
    border-radius: 20px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.gk-ar-filter-pill:hover,
.gk-ar-filter-pill.active {
    background: rgba(200, 169, 110, 0.2);
    border-color: var(--gk-ar-gold);
    color: #fff;
}

.gk-ar-filter-pill.active {
    box-shadow: 0 0 10px var(--gk-ar-gold-glow);
}

.gk-ar-filter-count {
    font-size: 0.65rem;
    opacity: 0.75;
}

/* Models Carousel Wrapper & Strip */
.gk-ar-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.gk-ar-carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 99;
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
    min-height: 30px !important;
    max-width: 30px !important;
    max-height: 30px !important;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    border-radius: 50% !important;
    background: #181820 !important;
    border: 1px solid #C8A96E !important;
    color: #C8A96E !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.7) !important;
    outline: none !important;
    line-height: 1 !important;
    flex-shrink: 0 !important;
}

.gk-ar-carousel-nav svg {
    display: block !important;
    width: 14px !important;
    height: 14px !important;
    min-width: 14px !important;
    min-height: 14px !important;
    stroke: #C8A96E !important;
    stroke-width: 2.5 !important;
    fill: none !important;
    pointer-events: none !important;
    margin: auto !important;
}

.gk-ar-carousel-nav:hover {
    background: #C8A96E !important;
    border-color: #C8A96E !important;
    color: #141418 !important;
    transform: translateY(-50%) scale(1.1) !important;
    box-shadow: 0 0 12px rgba(200, 169, 110, 0.6) !important;
}

.gk-ar-carousel-nav:hover svg {
    stroke: #141418 !important;
}

.gk-ar-carousel-prev {
    left: 4px !important;
}

.gk-ar-carousel-next {
    right: 4px !important;
}

.gk-ar-models-carousel {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: rgba(200, 169, 110, 0.3) transparent;
    -webkit-overflow-scrolling: touch;
    padding: 0.35rem 1.6rem 0.5rem;
    width: 100%;
}

.gk-ar-models-carousel::-webkit-scrollbar {
    height: 4px;
}

.gk-ar-models-carousel::-webkit-scrollbar-thumb {
    background: rgba(200, 169, 110, 0.3);
    border-radius: 4px;
}

.gk-ar-models-carousel::-webkit-scrollbar-thumb:hover {
    background: var(--gk-ar-gold);
}

.gk-ar-model-card {
    flex: 0 0 110px;
    background: rgba(30, 30, 35, 0.75);
    border: 1px solid var(--gk-ar-border);
    border-radius: 12px;
    padding: 0.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    user-select: none;
}

.gk-ar-model-card:hover {
    border-color: var(--gk-ar-border-gold);
    transform: translateY(-2px);
}

.gk-ar-model-card.active {
    border-color: var(--gk-ar-gold);
    background: rgba(200, 169, 110, 0.15);
    box-shadow: 0 0 15px var(--gk-ar-gold-glow);
}

.gk-ar-model-card-img {
    height: 65px;
    width: 100%;
    object-fit: contain;
    margin-bottom: 0.35rem;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.5));
}

.gk-ar-model-card-title {
    font-size: 0.68rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

.gk-ar-model-card-price {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--gk-ar-gold);
    margin-top: 0.15rem;
}

/* Action Bar */
.gk-ar-action-bar {
    display: flex;
    gap: 0.65rem;
}

.gk-ar-cta-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    height: 44px;
    border-radius: 10px;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
    border: none;
}

.gk-ar-cta-gold {
    background: linear-gradient(135deg, #C8A96E 0%, #B89555 100%);
    color: #111;
    box-shadow: 0 4px 15px var(--gk-ar-gold-glow);
}

.gk-ar-cta-gold:hover {
    background: linear-gradient(135deg, #dfbe7e 0%, #C8A96E 100%);
    box-shadow: 0 6px 20px rgba(200, 169, 110, 0.5);
    transform: translateY(-1px);
    color: #000;
}

.gk-ar-cta-whatsapp {
    background: #25D366;
    color: #fff;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35);
}

.gk-ar-cta-whatsapp:hover {
    background: #20BA5A;
    color: #fff;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
    transform: translateY(-1px);
}

.gk-ar-cta-outline {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--gk-ar-border);
    color: #fff;
}

.gk-ar-cta-outline:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.3);
}

/* --------------------------------------------------------------------------
   AR Welcome / Permission Modal
   -------------------------------------------------------------------------- */
.gk-ar-welcome-modal {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 14, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 50;
    padding: 1.5rem;
}

.gk-ar-welcome-modal.is-hidden {
    display: none;
}

.gk-ar-welcome-card {
    background: rgba(22, 22, 28, 0.95);
    border: 1px solid var(--gk-ar-border-gold);
    border-radius: 20px;
    padding: 2.2rem 1.75rem;
    max-width: 440px;
    width: 100%;
    text-align: center;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.gk-ar-welcome-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(200, 169, 110, 0.12);
    border: 1px solid var(--gk-ar-border-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.gk-ar-welcome-tag {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 1.4px;
    color: var(--gk-ar-gold);
    text-transform: uppercase;
    margin-bottom: 0.4rem;
}

.gk-ar-welcome-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.75rem;
    font-weight: 600;
    color: #fff;
    margin: 0 0 0.6rem;
    line-height: 1.25;
}

.gk-ar-welcome-desc {
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--gk-ar-text-muted);
    margin: 0 0 1.5rem;
}

.gk-ar-welcome-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
}

/* Spinner */
.gk-ar-loading {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--gk-ar-text-muted);
    font-size: 0.85rem;
    padding: 1rem 0;
}

.gk-ar-spinner {
    width: 22px;
    height: 22px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-top-color: var(--gk-ar-gold);
    border-radius: 50%;
    animation: arSpin 0.8s linear infinite;
}

@keyframes arSpin {
    to { transform: rotate(360deg); }
}

/* --------------------------------------------------------------------------
   Mobile Responsive Optimizations
   -------------------------------------------------------------------------- */
@media (max-width: 640px) {
    .gk-ar-top-hud {
        top: 0.75rem;
        left: 0.75rem;
        right: 0.75rem;
    }

    .gk-ar-hud-btn {
        height: 36px;
        padding: 0 0.65rem;
        font-size: 0.72rem;
    }

    .gk-ar-status-pill {
        height: 36px;
        padding: 0 0.7rem;
    }

    .gk-ar-live-label {
        font-size: 0.65rem;
    }

    .gk-ar-shutter-dock {
        right: 0.85rem;
        bottom: 28%;
    }

    .gk-ar-shutter-btn {
        width: 52px;
        height: 52px;
    }

    .gk-ar-shutter-inner {
        width: 38px;
        height: 38px;
    }

    .gk-ar-product-anchor img {
        height: 360px;
        max-height: 50vh;
    }

    .gk-ar-bottom-sheet {
        border-radius: 16px 16px 0 0;
    }

    .gk-ar-sheet-header {
        padding: 0.65rem 1rem;
    }

    .gk-ar-sheet-title {
        font-size: 1.1rem;
    }

    .gk-ar-sheet-body {
        padding: 0.65rem 1rem 1rem;
    }

    .gk-ar-action-bar {
        flex-direction: row;
    }
}

/* Full Isolation on Live AR Studio page: Hide default header, footer, pillars, mobile bottom bar, scroll-to-top, and floating WhatsApp */
body.page-template-page-room-visualizer,
body.page-id-room-visualizer,
body:has(#gk-room-visualizer),
body:has(.gk-ar-app-container) {
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    height: 100vh !important;
    height: 100svh !important;
    max-height: 100vh !important;
    max-height: 100svh !important;
    width: 100vw !important;
    background: #000 !important;
}

body.page-template-page-room-visualizer .gk-announcement-bar,
body.page-template-page-room-visualizer .gk-header,
body.page-template-page-room-visualizer .gk-footer-pillars,
body.page-template-page-room-visualizer .gk-footer,
body.page-template-page-room-visualizer .gk-site-footer,
body.page-template-page-room-visualizer .gk-scroll-top,
body.page-template-page-room-visualizer .gk-mobile-nav,
body.page-template-page-room-visualizer .gk-mobile-bottom-bar,
body.page-template-page-room-visualizer .gk-whatsapp-float,
body.page-template-page-room-visualizer .gk-mobile-menu-drawer,
body.page-template-page-room-visualizer .gk-location-overlay,
body.page-id-room-visualizer .gk-announcement-bar,
body.page-id-room-visualizer .gk-header,
body.page-id-room-visualizer .gk-footer-pillars,
body.page-id-room-visualizer .gk-footer,
body.page-id-room-visualizer .gk-site-footer,
body.page-id-room-visualizer .gk-scroll-top,
body.page-id-room-visualizer .gk-mobile-nav,
body.page-id-room-visualizer .gk-mobile-bottom-bar,
body.page-id-room-visualizer .gk-whatsapp-float,
body.page-id-room-visualizer .gk-mobile-menu-drawer,
body.page-id-room-visualizer .gk-location-overlay,
body:has(#gk-room-visualizer) .gk-announcement-bar,
body:has(#gk-room-visualizer) .gk-header,
body:has(#gk-room-visualizer) .gk-footer-pillars,
body:has(#gk-room-visualizer) .gk-footer,
body:has(#gk-room-visualizer) .gk-site-footer,
body:has(#gk-room-visualizer) .gk-scroll-top,
body:has(#gk-room-visualizer) .gk-mobile-nav,
body:has(#gk-room-visualizer) .gk-mobile-bottom-bar,
body:has(#gk-room-visualizer) .gk-whatsapp-float,
body:has(#gk-room-visualizer) .gk-mobile-menu-drawer,
body:has(#gk-room-visualizer) .gk-location-overlay,
body:has(.gk-ar-app-container) .gk-announcement-bar,
body:has(.gk-ar-app-container) .gk-header,
body:has(.gk-ar-app-container) .gk-footer-pillars,
body:has(.gk-ar-app-container) .gk-footer,
body:has(.gk-ar-app-container) .gk-site-footer,
body:has(.gk-ar-app-container) .gk-scroll-top,
body:has(.gk-ar-app-container) .gk-mobile-nav,
body:has(.gk-ar-app-container) .gk-mobile-bottom-bar,
body:has(.gk-ar-app-container) .gk-whatsapp-float,
body:has(.gk-ar-app-container) .gk-mobile-menu-drawer,
body:has(.gk-ar-app-container) .gk-location-overlay {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}



