/* ==================== GOOGLE FONT IMPORT ==================== */
@import url('https://fonts.googleapis.com/css2?family=Figtree:wght@400;500;600;700;800&display=swap');



/* ==================== CONTAINER ==================== */

#pannellum-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.pnlm-about-msg,
.pnlm-logo,
.pnlm-load-box {
    display: none !important;
}

.pnlm-container,
.pnlm-render-container {
    width: 100% !important;
    height: 100% !important;
}

.pnlm-grab {
    cursor: grab !important;
}

.pnlm-grabbing {
    cursor: grabbing !important;
}

.pnlm-zoom-controls,
.pnlm-fullscreen-toggle-button {
    display: none !important;
}

/* ==================== GLOBAL FONT FAMILY ==================== */
.webronic-virtual-tour-container,
.webronic-virtual-tour-container * {
    font-family: 'Figtree', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 700;
}

/* ==================== TOP LEFT: MENU ==================== */
.webronic-menu-wrapper {
    position: absolute;
    left: 10px;
    top: 10px;
    z-index: 100;
}

.webronic-menu-btn {
    background: #ffffff;
    border: none;
    border-radius: 10px;
    padding: 10px 14px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 19px;
    font-weight: 600;
    color: #333436;
    transition: all 0.3s ease;
    font-family: 'Figtree', sans-serif;
}

.webronic-menu-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.webronic-menu-btn img {
    width: 18px;
    height: 18px;
}

.webronic-menu-panel {
    position: absolute;
    top: 0;
    left: 0;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.25);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.95);
    transition: all 0.3s ease;
    overflow: hidden;
}

.webronic-menu-panel.open {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.webronic-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    border-bottom: 1px solid #e8e8e8;
}

.webronic-menu-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 19px;
    font-weight: 700;
    color: #333436;
    font-family: 'Figtree', sans-serif;
}

.webronic-menu-title img {
    width: 18px;
    height: 18px;
}

.webronic-menu-close {
    background: transparent;
    border: none;
    padding: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    border-radius: 4px;
}

.webronic-menu-close:hover {
    background: #f0f0f0;
}

.webronic-menu-close img {
    width: 16px;
    height: 16px;
}

.webronic-menu-items {
    padding: 6px;
}

.webronic-menu-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 19px;
    color: #333436;
    transition: background 0.2s;
    font-family: 'Figtree', sans-serif;
}

.webronic-menu-item:hover {
    background: #f0f4ff;
}

.webronic-menu-item.disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.webronic-menu-item.disabled:hover {
    background: transparent;
}

.webronic-menu-item img {
    width: 18px;
    height: 18px;
}

/* ==================== TOP RIGHT: FULLSCREEN ==================== */
.webronic-fullscreen-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ffffff;
    border: none;
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    cursor: pointer;
    z-index: 100;
    transition: all 0.3s ease;
}

.webronic-fullscreen-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.webronic-fullscreen-btn img {
    width: 22px;
    height: 22px;
    display: block;
}

/* ==================== BOTTOM LEFT: SCENE TITLE ==================== */
.webronic-title-card {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: #ffffff;
    border-radius: 10px;
    padding: 12px 18px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    z-index: 100;
    max-width: 280px;
    height: 48px;
    display: flex;
    align-items: center;
    box-sizing: border-box;
}

.webronic-title-text {
    font-size: 19px;
    font-weight: 700;
    color: #333436;
    line-height: 23px;
    display: block;
    font-family: 'Figtree', sans-serif;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ==================== BOTTOM CENTER: NAVIGATION ==================== */
.webronic-nav-center {
    position: absolute;
    left: 50%;
    bottom: 10px;
    transform: translateX(-50%);
    background: #ffffff;
    border-radius: 10px;
    padding: 0 14px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 100;
    height: 48px;
    box-sizing: border-box;
}

.webronic-nav-prev,
.webronic-nav-next {
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.2s;
}

.webronic-nav-prev.disabled,
.webronic-nav-next.disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.webronic-nav-prev img,
.webronic-nav-next img {
    width: 36px;
    height: 28px;
    display: block;
}

/* ==================== FORCE REMOVE THEME PINK HOVER ==================== */

/* Override Hello / Elementor button hover */
.webronic-virtual-tour-container button:hover,
.webronic-virtual-tour-container button:focus,
.webronic-virtual-tour-container button:active {
    background-color: #ffffff !important;
    color: inherit !important;
    box-shadow: none !important;
    outline: none !important;
}

/* Specifically NAV buttons */
.webronic-nav-prev:hover,
.webronic-nav-next:hover,
.webronic-fullscreen-btn:hover,
.webronic-menu-btn:hover,
.webronic-scenes-btn:hover {
    background-color: #ffffff !important;
}

/* Kill Elementor theme accent */
.webronic-virtual-tour-container button {
    --e-global-color-primary: transparent !important;
    --e-global-color-accent: transparent !important;
}

/* Prevent SVG / IMG tinting */
.webronic-virtual-tour-container button img {
    filter: none !important;
}

/* Mobile tap highlight */
.webronic-virtual-tour-container * {
    -webkit-tap-highlight-color: transparent !important;
}

.webronic-nav-counter {
    font-size: 19px;
    font-weight: 700;
    color: #ffffff;
    background: #4888E8;
    display: flex;
    align-items: center;
    gap: 3px;
    min-width: 50px;
    justify-content: center;
    padding: 6px 14px;
    border-radius: 8px;
    font-family: 'Figtree', sans-serif;
}

.webronic-nav-counter .separator {
    color: #ffffff;
}

/* ==================== BOTTOM RIGHT: SCENES ==================== */
.webronic-scenes-wrapper {
    position: absolute;
    right: 10px;
    bottom: 10px;
    z-index: 100;
}

.webronic-scenes-btn {
    background: #ffffff;
    border: none;
    border-radius: 10px;
    padding: 0 14px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 19px;
    font-weight: 600;
    color: #333436;
    transition: all 0.3s ease;
    font-family: 'Figtree', sans-serif;
    height: 48px;
    box-sizing: border-box;
}

.webronic-scenes-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.webronic-scenes-btn img {
    width: 18px;
    height: 18px;
}

/* Hide scenes button when panel is open */
.webronic-scenes-panel.open ~ .webronic-scenes-btn {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.webronic-scenes-panel {
    position: absolute;
    bottom: 0;
    right: 0;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.25);
    min-width: 260px;
    max-width: 320px;
    max-height: 400px;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.95);
    transition: all 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.webronic-scenes-panel.open {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.webronic-scenes-header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    border-bottom: 1px solid #e8e8e8;
    flex-shrink: 0;
}

.webronic-scenes-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 19px;
    font-weight: 700;
    color: #333436;
    font-family: 'Figtree', sans-serif;
}

.webronic-scenes-title img {
    width: 18px;
    height: 18px;
}

.webronic-scenes-close {
    background: transparent;
    border: none;
    padding: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    border-radius: 4px;
}

.webronic-scenes-close:hover {
    background: #f0f0f0;
}

.webronic-scenes-close img {
    width: 16px;
    height: 16px;
}

.webronic-scenes-list {
    padding: 8px;
    overflow-y: auto;
    flex: 1;
}

.webronic-scene-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 19px;
    color: #333436;
    transition: background 0.2s;
    font-family: 'Figtree', sans-serif;
    line-height: 23px;
}

.webronic-scene-item:hover {
    background: #f0f4ff;
}

.webronic-scene-item.active {
    background: #e6ecff;
    color: #4888e8;
    font-weight: 600;
}

.webronic-scene-item .scene-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    min-width: 24px;
    background: #f0f4ff;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    color: #4888e8;
    flex-shrink: 0;
    font-family: 'Figtree', sans-serif;
    margin-left:-5px;
}

.webronic-scene-item.active .scene-number {
    background: #4888e8;
    color: #fff;
}

.webronic-scene-item .scene-name {
    flex: 1;
    line-height: 23px;
    font-size: 19px;
    font-weight: 700;
    color: #333436;
    text-transform: capitalize;
    font-family: 'Figtree', sans-serif;
    font-weight: 700;
}

.webronic-scene-item.active .scene-name {
    color: #4888e8;
}

/* Scrollbar */
.webronic-scenes-list::-webkit-scrollbar {
    width: 5px;
}

.webronic-scenes-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.webronic-scenes-list::-webkit-scrollbar-thumb {
    background: #4888e8;
    border-radius: 10px;
}

/* ==================== HOTSPOTS ==================== */
.custom-hotspot {
    width: 50px;
    height: 50px;
    border: none;
    background-color: transparent !important;
    box-shadow: none;
    transition: all 0.3s ease;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-bottom: 15px;
}

.scene-hotspot {
    background-image: url('../hotspots/up.png');
}

.scene-hotspot.up {
    background-image: url('../hotspots/up.png');
}

.scene-hotspot.right {
    background-image: url('../hotspots/right.png');
}

.scene-hotspot.left {
    background-image: url('../hotspots/left.png');
}

.info-hotspot {
    background-image: url('../hotspots/info.png');
}

.custom-hotspot:hover {
    transform: scale(1.2);
}

.hotspot-tooltip {
    position: absolute;
    background: transparent;
    color: #fff;
    font-size: 19px;
    font-weight: 700;
    white-space: nowrap;
    text-shadow: 1px 1px 2px rgba(0,0,0,.8);
    z-index: 100;
    margin-bottom: 10px;
    font-family: 'Figtree', sans-serif;
}

.info-hotspot-card {
    position: absolute;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    padding: 15px;
    min-width: 200px;
    max-width: 280px;
    z-index: 10000;
    font-family: 'Figtree', sans-serif;
}

.info-hotspot-card::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 20px;
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-right: 8px solid white;
}

.hotspot-card-image {
    width: 100%;
    height: 120px;
    margin-bottom: 12px;
    border-radius: 6px;
    overflow: hidden;
    background: #f5f5f5;
}

.hotspot-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hotspot-card-title {
    font-weight: 700;
    color: #333436;
    font-size: 19px;
    margin-bottom: 8px;
    line-height: 23px;
    font-family: 'Figtree', sans-serif;
}

.hotspot-card-info {
    color: #666;
    font-size: 16px;
    line-height: 1.4;
    max-height: 100px;
    overflow-y: auto;
    font-family: 'Figtree', sans-serif;
}

/* Hide Pannellum compass control */
.pnlm-compass {
    display: none !important;
}

/* ==================== RESPONSIVE - 768px ==================== */
@media (max-width: 768px) {
    .webronic-virtual-tour-container {
        height: 70vh;
    }
    
    .webronic-menu-wrapper {
        top: 8px;
        left: 8px;
    }
    
    .webronic-fullscreen-btn {
        padding: 8px;
    }
    
    .webronic-fullscreen-btn img {
        width: 18px;
        height: 18px;
    }
    
    .webronic-menu-btn,
    .webronic-scenes-btn {
        padding: 8px 12px;
        font-size: 16px;
    }
    
    .webronic-menu-btn img,
    .webronic-scenes-btn img {
        width: 16px;
        height: 16px;
    }
    
    .webronic-menu-panel {
        min-width: 180px;
    }
    
    .webronic-menu-header {
        padding: 10px 12px;
    }
    
    .webronic-menu-title {
        font-size: 16px;
    }
    
    .webronic-menu-title img {
        width: 16px;
        height: 16px;
    }
    
    .webronic-menu-close img {
        width: 14px;
        height: 14px;
    }
    
    .webronic-menu-items {
        padding: 4px;
    }
    
    .webronic-menu-item {
        padding: 10px 12px;
        font-size: 16px;
    }
    
    .webronic-menu-item img {
        width: 16px;
        height: 16px;
    }
    
    /* ===== FOOTER ALIGNMENT FIX FOR 768px ===== */
    .webronic-title-card {
        max-width: 130px;
        padding: 10px 14px;
        bottom: 8px;
        left: 8px;
        height: 44px;
    }
    
    .webronic-title-text {
        font-size: 14px;
        line-height: 20px;
    }
    
    .webronic-nav-center {
        padding: 0 12px;
        gap: 10px;
        height: 44px;
        bottom: 8px;
    }
    
    .webronic-nav-prev img,
    .webronic-nav-next img {
        width: 30px;
        height: 24px;
    }
    
    .webronic-nav-counter {
        font-size: 14px;
        min-width: 45px;
        padding: 5px 12px;
    }
    
    .webronic-scenes-wrapper {
        right: 8px;
        bottom: 8px;
    }
    
    .webronic-scenes-btn {
        height: 44px;
    }
    
    .webronic-scenes-panel {
        min-width: 220px;
        max-height: 320px;
    }
    
    .webronic-scenes-header-bar {
        padding: 10px 12px;
    }
    
    .webronic-scenes-title {
        font-size: 16px;
    }
    
    .webronic-scenes-title img {
        width: 16px;
        height: 16px;
    }
    
    .webronic-scenes-close img {
        width: 14px;
        height: 14px;
    }
    
    .webronic-scenes-list {
        padding: 6px;
    }
    
    .webronic-scene-item {
        padding: 10px 12px;
        font-size: 16px;
        gap: 8px;
    }
    
    .webronic-scene-item .scene-number {
        width: 22px;
        height: 22px;
        min-width: 22px;
        font-size: 13px;
    }
    
    .webronic-scene-item .scene-name {
        font-size: 16px;
        line-height: 20px;
    }
    
    .info-hotspot-card {
        min-width: 180px;
        max-width: 220px;
        padding: 12px;
    }
    
    .hotspot-tooltip {
        font-size: 16px;
    }
    
    .hotspot-card-title {
        font-size: 16px;
        line-height: 20px;
    }
}

/* ==================== RESPONSIVE - 600px ==================== */
@media (max-width: 600px) {
    /* ===== FOOTER ALIGNMENT FIX FOR 600px ===== */
    .webronic-title-card {
        max-width: 110px;
        padding: 8px 12px;
        bottom: 8px;
        left: 8px;
        height: 42px;
    }
    
    .webronic-title-text {
        font-size: 13px;
        line-height: 18px;
    }
    
    .webronic-nav-center {
        padding: 0 10px;
        gap: 8px;
        height: 42px;
        bottom: 8px;
    }
    
    .webronic-nav-prev img,
    .webronic-nav-next img {
        width: 26px;
        height: 20px;
    }
    
    .webronic-nav-counter {
        font-size: 13px;
        min-width: 42px;
        padding: 4px 10px;
    }
    
    .webronic-scenes-wrapper {
        right: 8px;
        bottom: 8px;
    }
    
    .webronic-scenes-btn {
        height: 42px;
        padding: 0 10px;
        font-size: 14px;
    }
}

/* ==================== RESPONSIVE - 480px ==================== */
@media (max-width: 480px) {
    .webronic-menu-wrapper {
        top: 6px;
        left: 6px;
    }
    
    .webronic-menu-btn {
        font-size: 14px;
        padding: 8px 10px;
    }
    
    /* ===== FOOTER ALIGNMENT FIX FOR 480px ===== */
    .webronic-title-card {
        max-width: 90px;
        min-width: 70px;
        padding: 6px 10px;
        bottom: 6px;
        left: 6px;
        height: 40px;
        border-radius: 8px;
    }
    
    .webronic-title-text {
        font-size: 12px;
        line-height: 16px;
    }
    
    .webronic-nav-center {
        padding: 0 8px;
        gap: 6px;
        height: 40px;
        bottom: 6px;
        border-radius: 8px;
    }
    
    .webronic-nav-prev img,
    .webronic-nav-next img {
        width: 24px;
        height: 18px;
    }
    
    .webronic-nav-counter {
        font-size: 12px;
        min-width: 40px;
        padding: 4px 8px;
        border-radius: 6px;
    }
    
    .webronic-scenes-wrapper {
        right: 6px;
        bottom: 6px;
    }
    
    .webronic-scenes-btn {
        height: 40px;
        padding: 0 10px;
        font-size: 13px;
        border-radius: 8px;
    }
    
    .webronic-scenes-panel {
        min-width: 200px;
    }
    
    .webronic-scene-item {
        font-size: 14px;
        padding: 8px 10px;
    }
    
    .webronic-scene-item .scene-number {
        width: 20px;
        height: 20px;
        min-width: 20px;
        font-size: 12px;
    }
    
    .webronic-scene-item .scene-name {
        font-size: 14px;
        line-height: 18px;
    }
}

/* ==================== RESPONSIVE - 400px ==================== */
@media (max-width: 400px) {
    /* ===== FOOTER ALIGNMENT FIX FOR 400px ===== */
    .webronic-title-card {
        max-width: 75px;
        min-width: 60px;
        padding: 5px 8px;
        bottom: 6px;
        left: 6px;
        height: 38px;
    }
    
    .webronic-title-text {
        font-size: 11px;
        line-height: 14px;
    }
    
    .webronic-nav-center {
        padding: 0 6px;
        gap: 4px;
        height: 38px;
        bottom: 6px;
    }
    
    .webronic-nav-prev img,
    .webronic-nav-next img {
        width: 22px;
        height: 16px;
    }
    
    .webronic-nav-counter {
        font-size: 11px;
        min-width: 36px;
        padding: 3px 6px;
    }
    
    .webronic-scenes-wrapper {
        right: 6px;
        bottom: 6px;
    }
    
    .webronic-scenes-btn {
        height: 38px;
        padding: 0 8px;
        font-size: 12px;
    }
    
    .webronic-scenes-btn img {
        width: 14px;
        height: 14px;
    }
}

/* ==================== RESPONSIVE - 360px ==================== */
@media (max-width: 360px) {
    /* ===== FOOTER ALIGNMENT FIX FOR 360px ===== */
    .webronic-title-card {
        max-width: 65px;
        min-width: 50px;
        padding: 4px 6px;
        height: 36px;
    }
    
    .webronic-title-text {
        font-size: 10px;
        line-height: 12px;
    }
    
    .webronic-nav-center {
        padding: 0 5px;
        gap: 3px;
        height: 36px;
    }
    
    .webronic-nav-prev img,
    .webronic-nav-next img {
        width: 20px;
        height: 14px;
    }
    
    .webronic-nav-counter {
        font-size: 10px;
        min-width: 32px;
        padding: 3px 5px;
    }
    
    .webronic-scenes-btn {
        height: 36px;
        padding: 0 6px;
        font-size: 11px;
    }
    
    .webronic-scenes-btn span {
        display: none;
    }
    
    .webronic-scenes-btn img {
        width: 14px;
        height: 14px;
    }
}