/** Shopify CDN: Minification failed

Line 38:10 Unexpected "{"
Line 38:19 Expected ":"
Line 39:14 Expected identifier but found whitespace
Line 39:16 Unexpected "{"
Line 39:25 Expected ":"
Line 39:76 Expected ":"
Line 40:17 Expected identifier but found whitespace
Line 40:19 Unexpected "{"
Line 40:28 Expected ":"
Line 40:82 Expected ":"

**/
/* Base styles – allow scrolling but hide scrollbars on html/body */
html, body {
  width: 100%;
  margin: 0;
  padding: 0;
  height: var(--original-height, 100vh);
  overflow: auto;
  -ms-overflow-style: none; /* IE/Edge */
  scrollbar-width: none; /* Firefox */
}
html::-webkit-scrollbar {
  display: none;
}

:root {
  --vh: 1vh;
  --original-height: 100vh;
  /* In portrait, Castr's height is computed via 16:9.
     In landscape, video takes full screen by default. */
  --castr-height: calc(100vw * 9 / 16);
  --viewport-height: 100vh;
}

.section-{{ section.id }}-padding {
  padding-top: {{ section.settings.padding_top | times: 0.75 | round: 0 }}px;
  padding-bottom: {{ section.settings.padding_bottom | times: 0.75 | round: 0 }}px;
}

.footer,
.header,
.miniaccountmenu,
#shopify-chat,
.miniauctionmenu,
.liveauctionmenu,
.shopify-section-sections--23025360994593__announcement-bar,
#shopify-section-sections--23025360994593__announcement-bar {
  display: none!important;
}

/* Main container */
.layout-container {
  display: flex;
  width: 100vw;
  height: var(--original-height, 100vh);
  position: relative;
}

.castr-interface,
.pigeon-interface {
  position: relative;
  overflow: hidden;
}

.pigeon-interface {
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: auto;
  -webkit-overflow-scrolling: touch; /* Enable smooth scrolling on iOS */
}

.pigeon-interface #widget-element {
  flex: 1;
  overflow: hidden;
  position: relative;
}

.pigeonhole-iframe {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border: none;
}

/* Hide scrollbars for chat container */
.pigeon-interface, .pigeon-interface::-webkit-scrollbar,
.pigeonhole-iframe, .pigeonhole-iframe::-webkit-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.pigeon-interface::-webkit-scrollbar,
.pigeonhole-iframe::-webkit-scrollbar {
  display: none;
}

/* Desktop Layout (≥900px) */
@media (min-width: 900px) {
  .layout-container { flex-direction: row; height: 100vh; }
  .pigeon-interface {
    width: min(33vw, 750px);
    flex: 0 0 auto;
    height: 100vh;
  }
  .castr-interface {
    width: calc(100vw - min(33vw, 750px));
    flex: 0 0 auto;
    height: 100vh;
    display: flex;
    align-items: flex-start;
  }
}

/* Mobile Portrait Layout */
@media (max-width: 899px) and (orientation: portrait) {
  .layout-container { 
    flex-direction: column; 
    height: 100vh;
    width: 100vw;
    position: fixed;
    top: 0;
    left: 0;
    will-change: transform;
    -webkit-overflow-scrolling: touch;
  }
  .castr-interface { 
    width: 100vw; 
    height: calc(100vw * 9 / 16);
    flex-shrink: 0;
  }
  .pigeon-interface {
    width: 100vw;
    height: calc(100vh - calc(100vw * 9 / 16));
    margin: 0;
    display: flex;
    flex-direction: column;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    flex: 1;
  }
  
  /* iOS keyboard adjustments */
  @supports (-webkit-touch-callout: none) {
    .layout-container {
      transition: transform 0.15s ease-out;
    }
  }
}

/* Mobile Layout for screens under 900px (regardless of orientation) */
@media (max-width: 899px) {
  .layout-container { 
    flex-direction: column; 
    height: 100%; /* Use 100% instead of 100vh to avoid mobile address bar issues */
  }
  .castr-interface { 
    width: 100vw; 
    height: calc(100vw * 9 / 16); 
    position: relative;
    z-index: 2;
  }
  .pigeon-interface {
    width: 100vw;
    height: 100%; /* Use 100% instead of 100vh */
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1;
    overflow: hidden;
    display: block;
  }
}

/* Mobile Portrait Override */
.mobile-device.portrait-mode .layout-container { flex-direction: column; width: 100%; height: 100%; }
.mobile-device.portrait-mode .castr-interface {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: calc(100vw * 9 / 16);
  z-index: 2;
  transform: translateZ(0);
}
.mobile-device.portrait-mode .pigeon-interface {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 100%; /* Use 100% instead of 100vh */
  width: 100vw;
  z-index: 1;
  overflow: hidden;
  display: block;
}

/* Mobile Landscape Layout – Option 1: Full viewport without cropping. */
@media (max-width: 899px) and (orientation: landscape) {
  .mobile-device:not(.portrait-mode) .layout-container {
    flex-direction: column; width: 100vw; height: 100%; /* Use 100% instead of 100vh */
  }
  .mobile-device:not(.portrait-mode) .castr-interface {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100%; /* Use 100% instead of 100vh */
    z-index: 2;
  }
  .mobile-device:not(.portrait-mode) .castr-interface iframe {
    aspect-ratio: auto !important;
    object-fit: contain;
  }
  .mobile-device:not(.portrait-mode) #whep-player-container {
    aspect-ratio: auto !important;
    width: 100vw !important;
    height: 100% !important; /* Use 100% instead of 100vh */
  }
  .mobile-device:not(.portrait-mode) #whep-player-container video {
    aspect-ratio: auto !important;
    object-fit: contain !important;
    width: 100% !important;
    height: 100% !important;
  }
  .mobile-device:not(.portrait-mode) .pigeon-interface {
    display: none;
  }
  .mobile-device:not(.portrait-mode) .chat-toggle {
    display: none; /* Hide chat toggle in landscape mode */
  }
  
  /* Product title orientation-based hiding removed for consistency across all devices */
}

.exit-link {
  position: absolute;
  top: 20px; left: 15px;
  opacity: 0.6; z-index: 9999;
}

/* Product list icon positioned to the right of exit button */
.product-list-icon {
  position: absolute;
  top: 20px; 
  left: calc(15px + 10vw + 10px); /* Position after exit button (15px + 10vw width + 10px gap) */
  z-index: 9999; /* Same high z-index as exit-link */
  background: none;
  border: none;
  cursor: pointer;
  margin: 0;
  padding: 0;
  transition: all 0.2s;
  opacity: 0.6; /* Same transparency as exit-link */
}

.product-list-icon img {
  display: block;
  width: 10vw; /* Same size as exit button */
  height: auto;
  max-width: 60px; /* Same max-width as exit button */
}

.product-list-icon:hover {
  opacity: 1;
}

.castr-interface iframe {
  width: 100% !important; height: 100% !important;
  border: none !important;
  position: relative !important; z-index: 1 !important;
}

/* WHEP Player container retains sizing */
#whep-player-container {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  /* Force container behavior like iframe */
  position: relative;
  z-index: 1;
  background: #000;
}


/* Product Slideshow Styles (matching hub-banner-v3.liquid) */
.photo-slideshow {
  position: relative;
  width: 100%;
  height: 100%;
  background: #000;
}

.photo-slideshow .slide {
  position: absolute;
  inset: 0; /* shorthand for top:0; right:0; bottom:0; left:0; */
  width: 100%;
  height: 100%;
  object-fit: contain;   /* Show the entire image without cropping */
  object-position: center; /* Center the image within the container */
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

/* Remove transition for initial slide display to prevent fade-in */
.photo-slideshow .slide:first-child.active {
  transition: none;
}

.photo-slideshow .slide.active {
  opacity: 1;
}

/* Chat toggle removed - no longer needed */



/* Play button overlay */
.play-button-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1000;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(25vh, 150px);
  height: min(25vh, 150px);
  background: rgba(0, 0, 0, 0.7);
  border-radius: 50%;
  transition: opacity 0.3s ease;
  pointer-events: auto;
  max-width: 150px;
  max-height: 150px;
}





.play-button-overlay:hover {
  background: rgba(0, 0, 0, 0.8);
}

.play-button-overlay img {
  width: 90%;
  height: 90%;
  filter: brightness(0) invert(1);
}

.play-button-overlay.hidden {
  display: none;
}

/* General hidden class for countdown and overlay functionality */
.hidden {
  display: none !important;
}












  
  /* Ensure video is above overlays */
  #whep-player-container video { z-index: 1 !important; }
  .disconnection-overlay, .no-stream-overlay { z-index: 0; }





/* Product title display positioned over the entire page */
.product-title-display {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 1500; /* Above slideshow (1000) but below chat overlay (2000) */
  background: rgba(0, 0, 0, 0.7);
  padding: 12px 16px;
  border-radius: 8px;
  max-width: 300px;
  max-height: 60vh; /* Limit height to prevent taking over screen */
  color: white;
  text-align: left;
  overflow-y: auto; /* Enable vertical scrolling when content overflows */
  overflow-x: hidden; /* Hide horizontal overflow */
  display: none !important; /* Hidden by default until content is present */
  opacity: 1; /* Default to visible */
  transition: opacity 0.3s ease-in-out; /* Smooth fade transitions */
}

/* Show title display only when it has content */
.product-title-display.has-content {
  display: block !important;
}

/* Title header container */
.title-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}

/* Left controls container for X and expand buttons */
.left-controls {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-shrink: 0; /* Prevent shrinking */
}

/* Title content container for title and description */
.title-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-title-display h2 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
  /* Limit to 3 lines with ellipsis */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}



/* Expand button for product title */
.expand-title-btn {
  color: white;
  cursor: pointer;
  font-size: 18px;
  font-weight: bold;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  line-height: 1;
}

.expand-title-btn:hover {
  opacity: 0.8;
}

/* Close button for product title */
.close-title-btn {
  color: white;
  cursor: pointer;
  font-size: 20px;
  font-weight: bold;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  line-height: 1;
  flex-shrink: 0; /* Prevent button from shrinking */
}

.close-title-btn:hover {
  opacity: 0.8;
}

/* Info button for collapsed product title */
.info-title-btn {
  background: rgba(0, 0, 0, 0.7);
  border: none;
  color: white;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 14px;
  font-weight: bold;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  transition: all 0.2s;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  flex-shrink: 0;
  /* Fine-tune centering to compensate for font character spacing */
  text-align: center;
  position: relative;
  left: -0.5px; /* Slight adjustment to visually center the icon */
}

.info-title-btn:hover {
  background: rgba(0, 0, 0, 0.85);
  transform: scale(1.1);
}

/* Collapsed state for product title - hide the entire container */
.product-title-display.collapsed {
  display: none !important;
}

/* Standalone info icon positioned like exit-link and viewer-tracker */
.standalone-info-icon {
  position: absolute;
  bottom: 20px;
  left: 20px;
  z-index: 9999; /* Same high z-index as exit-link */
  background: none;
  border: none;
  cursor: pointer;
  display: none; /* Hidden by default */
  margin: 0;
  padding: 0;
  transition: all 0.2s;
  opacity: 0.6; /* Same transparency as exit-link */
}

.standalone-info-icon img {
  display: block;
  width: 5vw; /* Same size as play/mute buttons */
  height: auto;
  max-width: 30px; /* Same size as play/mute buttons */
}

.standalone-info-icon:hover {
  transform: scale(1.1);
}

.standalone-info-icon.visible {
  display: block !important;
}

/* Mute/Unmute button positioned in lower right corner */
.mute-toggle-btn {
  position: absolute;
  bottom: 20px;
  right: 20px;
  z-index: 9999; /* Same high z-index as exit-link */
  background: none;
  border: none;
  cursor: pointer;
  margin: 0;
  padding: 0;
  transition: all 0.2s;
  opacity: 0.6; /* Same transparency as exit-link */
}

.mute-toggle-btn img {
  display: block;
  width: 5vw; /* Half the size of exit icon */
  height: auto;
  max-width: 30px; /* Half the size of exit icon */
}

.mute-toggle-btn:hover {
  transform: scale(1.1);
  opacity: 1;
}

/* Play/Pause button positioned to the left of mute button */
.play-pause-btn {
  position: absolute;
  bottom: 20px;
  right: 70px; /* Position to the left of mute button (20px + 30px + 20px margin) */
  z-index: 9999; /* Same high z-index as other buttons */
  background: none;
  border: none;
  cursor: pointer;
  margin: 0;
  padding: 0;
  transition: all 0.2s;
  opacity: 0.6; /* Same transparency as other buttons */
}

.play-pause-btn img {
  display: block;
  width: 5vw; /* Same size as mute button */
  height: auto;
  max-width: 30px; /* Same size as mute button */
}

.play-pause-btn:hover {
  transform: scale(1.1);
  opacity: 1;
}

.product-title-display.collapsed .title-header {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.product-title-display.collapsed .left-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
}

.product-title-display.collapsed .title-content {
  display: none !important;
}

.product-title-display.collapsed .close-title-btn {
  display: none !important;
}

.product-title-display.collapsed .expand-title-btn {
  display: none !important;
}

.product-title-display.collapsed .info-title-btn {
  display: flex !important;
  align-items: center;
  justify-content: center;
  margin: 0;
}

/* Product description */
.product-description {
  margin-top: 8px;
  padding: 0;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  line-height: 1.4;
}

/* Custom scrollbar styling for the title display */
.product-title-display::-webkit-scrollbar {
  width: 6px;
}

.product-title-display::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
}

.product-title-display::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 3px;
}

.product-title-display::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.5);
}

/* Product dimensions */
.product-dimensions {
  margin-top: 6px;
  padding: 0;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  line-height: 1.3;
}



/* Mobile viewport fix - prevent scrolling caused by 100vh */
@media (max-width: 899px) {
  html, body {
    height: 100%;
    overflow: hidden;
    position: fixed;
    width: 100%;
  }
}

/* Responsive adjustments for mobile */
@media (max-width: 900px) {
  .product-title-display {
    position: fixed;
    bottom: auto;
    top: calc(100vh - 200px); /* Position below video container */
    left: 50%;
    transform: translateX(-50%); /* Center horizontally */
    padding: 10px 14px;
    max-width: 90vw; /* 90% of viewport width */
    z-index: 1500; /* Above slideshow (1000) but below chat overlay (2000) */
    width: 90vw; /* 90% of viewport width */
    height: auto; /* Auto height */
  }
  
  .product-title-display h2 {
    font-size: 14px;
  }
  
  /* Mobile responsive sizing for standalone info icon */
  .standalone-info-icon {
    bottom: 15px;
    left: 15px;
  }
  
  .standalone-info-icon img {
    width: 5vw; /* Same size as play/mute buttons on mobile */
    max-width: 25px; /* Same size as play/mute buttons on mobile */
  }
  
  /* Mobile responsive sizing for mute button */
  .mute-toggle-btn {
    bottom: 15px;
    right: 15px;
  }
  
  .mute-toggle-btn img {
    width: 5vw; /* 25% bigger on mobile (was 4vw) */
    max-width: 25px; /* 25% bigger on mobile (was 20px) */
  }
  
  /* Mobile responsive sizing for play/pause button */
  .play-pause-btn {
    bottom: 15px;
    right: 45px; /* Closer spacing on mobile (15px + 25px + 5px margin) */
  }
  
  .play-pause-btn img {
    width: 5vw; /* 25% bigger on mobile (was 4vw) */
    max-width: 25px; /* 25% bigger on mobile (was 20px) */
  }
}

.video-controls:hover {
  opacity: 1;
}

/* Backdrop overlay for chat (in landscape) */
.chat-backdrop {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: transparent;
  z-index: 999;
}

/* Chat overlay for countdown (logged in) or login (not logged in) */
.chat-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,1);
  z-index: 2000;
}

.chat-overlay-content {
  position: absolute;
  bottom: 20%;
  left: 0;
  right: 0;
  text-align: center;
  color: white;
}

/* Desktop positioning - countdown at half screen height */
@media (min-width: 900px) {
  .chat-overlay-content {
    bottom: 50%;
    transform: translateY(50%);
  }
}

/* Mobile positioning - 35% from top with tighter spacing */
@media (max-width: 899px) {
  .chat-overlay-content {
    position: fixed;
    top: 35%;
    left: 20px;
    right: 20px;
    bottom: auto;
    transform: none;
  }
  
  /* Make page content wider on mobile with reduced spacing */
  .countdown-page-content,
  .auction-night-content {
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 8px !important;
  }
}

/* Page content styling for tighter spacing and smaller text */
.countdown-page-content,
.auction-night-content {
  font-size: 14px;
  line-height: 1.3;
}

/* Typography adjustments for page content */
.countdown-page-content p,
.auction-night-content p {
  margin: 8px 0;
  line-height: 1.3;
}

.countdown-page-content h1,
.auction-night-content h1 {
  font-size: 20px;
  margin: 10px 0 8px 0;
  line-height: 1.2;
}

.countdown-page-content h2,
.auction-night-content h2 {
  font-size: 18px;
  margin: 8px 0 6px 0;
  line-height: 1.2;
}

.countdown-page-content h3,
.auction-night-content h3 {
  font-size: 16px;
  margin: 6px 0 4px 0;
  line-height: 1.2;
}

.countdown-page-content ul,
.countdown-page-content ol,
.auction-night-content ul,
.auction-night-content ol {
  margin: 8px 0;
  padding-left: 20px;
}

.countdown-page-content li,
.auction-night-content li {
  margin: 4px 0;
  line-height: 1.3;
}

/* Login content styling */
.login-content p {
  margin-bottom: 8px;
  font-size: 1.2em;
  font-weight: bold;
}

/* Countdown content styling */
.countdown-content {
  text-align: center;
}

.countdown-content .countdown-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 6px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.countdown-content .countdown-timer {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.countdown-content .countdown-item {
  text-align: center;
}

.countdown-content .countdown-value {
  font-size: 24px;
  font-weight: bold;
  display: block;
}

.countdown-content .countdown-label {
  font-size: 14px;
  display: block;
  margin-top: 1px;
}

/* Chat countdown close button */
.chat-countdown-footer {
  text-align: center;
  margin-top: 15px;
}

.chat-countdown-close-btn {
  color: white;
  cursor: pointer;
  font-size: 14px;
}

.chat-countdown-close-btn:hover {
  opacity: 0.8;
}

/* Disconnection Overlay */
.disconnection-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 15000;
  display: none;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

.disconnection-content {
  text-align: center;
  color: white;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.reload-icon-container {
  margin-bottom: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(12.5vh, 75px);
  height: min(12.5vh, 75px);
  max-width: 75px;
  max-height: 75px;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 50%;
  transition: opacity 0.3s ease;
  pointer-events: auto;
  margin-left: auto;
  margin-right: auto;
}

.reload-icon-container:hover {
  opacity: 0.8;
}

.reload-icon {
  width: min(12.5vh, 75px);
  height: min(12.5vh, 75px);
  max-width: 75px;
  max-height: 75px;
  filter: brightness(0) invert(1);
  animation: breathe 2s ease-in-out infinite;
}

.disconnection-text {
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  max-width: 90%;
  margin: 0 auto;
}

.disconnection-title {
  margin-bottom: 8px;
  color: #FF00C2;
  font-size: 14px;
}

.reloading-text {
  margin-bottom: 3px;
  font-size: 12px;
}

.countdown-number {
  font-size: 18px;
  font-weight: bold;
  color: #FF00C2;
  animation: pulse 1s ease-in-out infinite;
}

/* No Stream Overlay */
.no-stream-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 15000;
  display: none;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

.no-stream-content {
  text-align: center;
  color: white;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.no-stream-text {
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  max-width: 90%;
  margin: 0 auto;
}

.no-stream-title {
  margin-bottom: 8px;
  color: #FF00C2;
  font-size: 14px;
}

.no-stream-subtitle {
  font-size: 12px;
  color: white;
}

/* Mobile responsive text sizing */
@media (max-width: 768px) {
  .disconnection-text {
    font-size: 14px;
  }
  
  .disconnection-title {
    font-size: 12px;
  }
  
  .reloading-text {
    font-size: 10px;
  }
  
  .countdown-number {
    font-size: 16px;
  }
  
  .no-stream-text {
    font-size: 14px;
  }
  
  .no-stream-title {
    font-size: 12px;
  }
  
  .no-stream-subtitle {
    font-size: 10px;
  }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* Live Overlay: the overlay container displays the graphic,
   but is set to be click‑through via pointer-events on its image */
#live-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3000;
  display: none;
  /* Center the image using flex */
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;  /* Make the overlay click-through */
}
#live-overlay img {
  height: auto;
  max-width: 1025px;
  width: 85%;
  pointer-events: none;
}

/* Dismiss button – this element is separate and will be positioned dynamically
   so that it appears at the bottom right corner of the live overlay image */
/* Dismiss button – positioned at the bottom right corner of the overlay image */
#live-overlay-dismiss {
position: fixed;
width: 50px;
height: 50px;
background-color: rgba(0, 0, 0, 0.6);
color: #fff;
border-radius: 50%;
font-size: 10px;
display: none;
align-items: center;
justify-content: center;
cursor: pointer;
z-index: 3001;
pointer-events: auto;
opacity: 0; /* 50% opacity */
}


/* Enforce 16px font on chat inputs */
#chat-input, .chat-input, .pigeonhole-iframe .chat-input {
  font-size: 16px !important;
}

/* Unmute Bubble */
.unmute-bubble {
  position: absolute;
  top: 50%; left: 50%;
  width: 50%;
  max-width: 300px;
  transform: translate(-50%, -50%);
  background: rgba(0,0,0,0.7);
  color: #FF00C2;
  padding: 16px 20px;
  border-radius: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  opacity: 0;
  pointer-events: none;
  z-index: 10;
}

.unmute-icon {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.unmute-bubble span.unmute-text {
  white-space: nowrap;
  margin-top: 4px;
}

@keyframes bubble-animation {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(0.8); }
  20% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  80% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  100% { opacity: 0; transform: translate(-50%, -70%) scale(1); }
}

/* Viewer tracking styles */
.viewer-tracker {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 10000;
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  opacity: 0.6;
  transition: opacity 0.2s;
  background: rgba(0, 0, 0, 0.5);
  padding: 4px 8px;
  border-radius: 4px;
}

.viewer-tracker:hover {
  opacity: 1;
}

.viewer-count {
  color: white;
  font-size: 14px;
}

.viewer-icon {
  display: block;
  width: 10vw;
  height: auto;
  max-width: 20px;
  opacity: 1;
  transition: opacity 0.2s;
}

/* Product Slideshow Styles */
#product-slideshow-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  z-index: 1000;
}

.product-slideshow {
  position: relative;
  width: 100%;
  height: 100%;
  background: #000;
}

.product-slideshow .slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

/* Remove transition for initial slide display to prevent fade-in */
.product-slideshow .slide:first-child.active {
  transition: none;
}

.product-slideshow .slide.active {
  opacity: 1;
}

/* Slideshow Controls */
.slideshow-controls {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.slideshow-arrow {
  background: rgba(0, 0, 0, 0.7);
  border: 2px solid #FF00C2;
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  opacity: 0.8;
}

.slideshow-arrow:hover {
  opacity: 1;
  background: rgba(255, 0, 194, 0.2);
}

.slideshow-arrow:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.slideshow-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
}

.slideshow-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.slideshow-dot.active {
  background: #FF00C2;
}

.slideshow-dot:hover {
  background: rgba(255, 0, 194, 0.7);
}

/* Placeholder */
.slideshow-placeholder {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  z-index: 1000;
}

.placeholder-content h3 {
  font-size: 24px;
  margin-bottom: 10px;
  color: #FF00C2;
}

.placeholder-content p {
  font-size: 16px;
  opacity: 0.8;
}

/* Slideshow placeholder for products without images */
.slideshow-placeholder .placeholder-content {
  background: rgba(0, 0, 0, 0.7);
  padding: 30px;
  border-radius: 8px;
  border: 2px solid #FF00C2;
}

/* Lightbox styles */
.lightbox-absentee-info {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.95);
  z-index: 99999;
  justify-content: center;
  align-items: center;
  -webkit-overflow-scrolling: touch;
}

.lightbox-absentee-info-content {
  background: #000000;
  padding: 30px;
  border-radius: 8px;
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  color: white;
  position: relative;
  z-index: 100000;
  -webkit-overflow-scrolling: touch;
}

.lightbox-absentee-info-header {
  margin-bottom: 20px;
  text-align: center;
}

.lightbox-absentee-info-title {
  font-size: 24px;
  display: block;
  margin-bottom: 10px;
}

.lightbox-absentee-info-content h3 {
  color: #FF00C2;
  margin: 20px 0 10px;
}

.lightbox-absentee-info-content p {
  margin: 10px 0;
  line-height: 1.5;
}

.lightbox-absentee-info-content ul {
  margin: 10px 0;
  padding-left: 0;
  list-style: none;
  text-align: center;
}

.lightbox-absentee-info-content li {
  margin: 5px 0;
}

#guest-count {
  margin-top: 15px;
  border-top: 0.5px solid #FF00C2;
  padding-top: 15px;
  text-align: center;
}

.lightbox-absentee-info-footer {
  text-align: center;
  margin-top: 30px;
}

.lightbox-absentee-info-close-btn {
  color: white;
  cursor: pointer;
  font-size: 18px;
  text-decoration: none;
}

/* Join message styles */
.join-message {
  position: fixed;
  right: 20px;
  top: 60px;
  z-index: 10001;
  pointer-events: none;
}

.join-message > div {
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 14px;
  opacity: 0;
  transition: opacity 0.3s;
  margin-bottom: 8px;
  white-space: nowrap;
}

.join-message > div.visible {
  opacity: 1;
}

#countdown-lightbox {
  display: flex;
}

#countdown-timer {
  display: flex;
  justify-content: center;
  align-items: center;
}

.play-button-overlay.hidden {
  display: none;
}

/* General hidden class for countdown and overlay functionality */
.hidden {
  display: none !important;
}

/* Breathing animation for muted audio */
@keyframes breathe {
  0%, 100% { 
    transform: scale(1) rotate(0deg);
    opacity: 1;
  }
  25% {
    transform: scale(1.2) rotate(-2deg);
    opacity: 1;
  }
  50% { 
    transform: scale(1.3) rotate(0deg);
    opacity: 1;
  }
  75% {
    transform: scale(1.2) rotate(2deg);
    opacity: 1;
  }
}
  /* New WebRTC player: dynamically fills the container */
#mhv-webrtc-player {
position: relative;
width: 100%;
height: 100%;
background: #000;
z-index: 1; /* below overlays/slideshow */
}
#mhv-webrtc-player video {
width: 100%;
height: 100%;
object-fit: contain;
}

/* Live page slideshow playback controls */
.live-slideshow-playback-controls {
  position: fixed;
  bottom: 20px;
  left: 20px; /* Default position - updated by JavaScript */
  z-index: 10001; /* Above slideshow (1000) and product title (1500) */
  display: flex;
  gap: 10px;
  align-items: center;
  opacity: 0.6;
  transition: all 0.2s;
}

.live-slideshow-playback-controls:hover {
  opacity: 1;
}

.live-slideshow-control-btn {
  background: none;
  border: none;
  cursor: pointer;
  margin: 0;
  padding: 0;
  transition: all 0.2s;
  opacity: 0.6;
}

.live-slideshow-control-btn:hover {
  transform: scale(1.1);
  opacity: 1;
}

.live-slideshow-control-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.live-slideshow-control-btn img {
  display: block;
  width: 5vw;
  height: auto;
  max-width: 30px;
}

/* Mobile adjustments for live slideshow controls */
@media (max-width: 900px) {
  .live-slideshow-playback-controls {
    bottom: 15px;
    left: 15px; /* Default position - updated by JavaScript */
    gap: 8px;
  }
  
  .live-slideshow-control-btn img {
    width: 5vw;
    max-width: 25px;
  }
}