/* Previous Webrotate CSS */

.wr360_player .hover-popup,
[id^="wr360container"] .hover-popup,
.wr360embed .hover-popup,
.webrotate360 .hover-popup {
    position: absolute;
    background-color: #ffffff;
    color: #000000;
    padding: 12px 16px;
    border-radius: 6px;
    font-family: "Barlow Condensed", sans-serif;
    font-size: 13px;
    line-height: 1.5;
    z-index: 10000;
    pointer-events: none;
    max-width: 280px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.1);
		overflow: visible;
}

#wr360container_wr360_view1_playerid {
    overflow: visible;
}

.wr360_player .hover-popup p,
[id^="wr360container"] .hover-popup p,
.wr360embed .hover-popup p,
.webrotate360 .hover-popup p {
    margin: 0;
    padding: 0;
    color: #000000;
    font-weight: normal;
}

.wr360_player .hover-popup::after,
[id^="wr360container"] .hover-popup::after,
.wr360embed .hover-popup::after,
.webrotate360 .hover-popup::after {
    display: none;
}

/* Further mobile adjustments */
#wr360_view1 {
    height: 300px !important;
}

#wr360_view1 #wr360container_wr360_view1_playerid {
    height: 300px !important;
}

@media (min-width: 769px) {
    #wr360_view1 {
        height: 600px !important;
    }
    
    #wr360_view1 #wr360container_wr360_view1_playerid {
        height: 600px !important;
    }
}

/* End of Previous Webrotate CSS */


#wr360_view1 .hotspot_rollover, /* Hide the built-in Webrotate popups */
.lightbox_rollover, /* Hide fullscreen mode popups */
[class*="_rollover_wr360_view1_playerid_fs"] { /* Hide fullscreen popups by _fs suffix */
    display: none !important; 
}

/* Ensure Fancybox appears above WebRotate fullscreen mode */
.fancybox__container {
    z-index: 2147483647 !important; /* Maximum z-index value */
}

.wr360_player a.fullscreenoff_button {
    background-color: #000 !important;
    color: white !important;
    border-radius: 40px !important;
}

/* Popup Slider */

.fx-webrotate-360-popup__slider img {
    max-height: 350px;
    object-fit: cover;
}

@media (min-width: 1200px) {
    .fx-webrotate-360-popup__slider img {
        object-fit: contain !important;
    }
}

.slick-arrow {
    height: 35px !important;
    width: 35px !important;
}

.slick-arrow:before {
    background: #565556;
    color: white;
    padding: 8px;
    border-radius: 50px;
    height: 35px;
    width: 35px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
    font-size: 18px !important;
}

.slick-arrow.slick-prev::before, .slick-arrow.slick-next::before {
    padding-left: 10px;
}

/* Hide dots when there's only one slide */
.fx-webrotate-360-popup__slider.slick-slider:has(.slick-slide:only-child) .slick-dots,
.fx-webrotate-360-popup__slider.slick-slider:has(.slick-slide:only-of-type) .slick-dots {
    display: none !important;
}

/* Alternative: Hide dots when there's only one dot */
.fx-webrotate-360-popup__slider .slick-dots:has(li:only-child) {
    display: none !important;
}

/* Popup Content */

.fx-webrotate-360-popup__content {
    padding: 20px 0px;
}

h3.fx-webrotate-360-popup__title {
    font-size: 30px;
}

.fx-webrotate-360-popup__description ul, .fx-webrotate-360-popup__see-more-content ul {
    margin-left: 0px !important;
}

.fx-webrotate-360-popup__description ul li:before, .fx-webrotate-360-popup__see-more-content ul li:before {
    color: #353234 !important;
}

a.fx-webrotate-360-popup__cta, button.fx-webrotate-360-popup__see-more-btn {
    display: inline-block;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 16px;
    color: white !important;
    padding: 10px 30px;
    border-radius: 5px;
    text-transform: uppercase;
    transition: 0.3s all;
}

a.fx-webrotate-360-popup__cta {
    background: #ce0024;
}

button.fx-webrotate-360-popup__see-more-btn {
    background: #353234;
    border: none;
}

a.fx-webrotate-360-popup__cta:hover {
    background: #8b0018;
    transition: 0.3s all;
    color: white;    
}

button.fx-webrotate-360-popup__see-more-btn:hover {
    background: #1d1b1c;
    transition: 0.3s all;
    color: white;    
}

.fx-webrotate-360-popup__see-more-btn i.fas.fa-angle-down.icon-arrow {
    transform: rotate(90deg);
    font-size: 12px;
    display: inline-block;
    margin-left: 5px;
    transition: 0.3s all;
}

button.fx-webrotate-360-popup__see-more-btn:hover i.fas.fa-angle-down.icon-arrow, button.fx-webrotate-360-popup__see-more-btn.active i.fas.fa-angle-down.icon-arrow {
    transform: rotate(270deg);
    transition: 0.3s all;
}

button.fx-webrotate-360-popup__see-more-btn.active:hover i.fas.fa-angle-down.icon-arrow {
    transform: rotate(90deg);
    transition: 0.3s all;
}

.fx-webrotate-360-popup__see-more-content {
    padding-top: 15px;
}

/* Hide default outline */
.fx-webrotate-360-popup__cta:focus,
.fancybox__container:focus {
  outline: none;
  box-shadow: none;
}

/* Hide all outlines inside Fancybox on mobile */
@media (max-width: 767px) {
    .fancybox__container:focus,
    .fancybox__slide:focus,
    .fx-webrotate-360-popup__title a:focus,
    .fx-webrotate-360-popup__cta:focus {
        outline: none !important;
        box-shadow: none !important;
    }
}

/* Grabbing CSS */

/* Normal state */
.model-container {
    cursor: grab;
}

/* While dragging */
.model-container.dragging {
    cursor: grabbing;
}

.fx-dots-fullscreen {
    width: 56px !important;
    height: 56px !important;
}