:root {
  --bg: #dadceb;
  --bg0: #272a34;
  --bg_rgb: 218 220 235;;
  --bg_rgb0: 39 42 52;
  --border: #dadceb;
  --bg_active0: #2d2f39;
  --bg_active: #fff;
  --bg_active_rgb: 255 255 255;
  --text_TODEL: #dadceb;
  --text: #292522;
  --text_active0: #FFFFFF;
  --text_active: #272a34;

  --color_light: #ff5541;
  --color_TODEL: #8B3B28;
  --color: #EE3D24;
  --stroke: #292522;
  --window: #F6F3EFCC;
  --white: #FFFFFF;
  --dark: #231F20;
}

@font-face {
  font-family: 'GrtskExa';
  src: url('../fonts/font_Grtsk/GrtskExa-Regular.woff2') format('woff2'),
       url('../fonts/font_Grtsk/GrtskExa-Regular.woff') format('woff'),
       url('../fonts/font_Grtsk/GrtskExa-Regular.ttf') format('truetype'),
       url('../fonts/font_Grtsk/GrtskExa-Regular.eot');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'GrtskExa';
  src: url('../fonts/font_Grtsk/GrtskExa-Medium.woff2') format('woff2'),
       url('../fonts/font_Grtsk/GrtskExa-Medium.woff') format('woff'),
       url('../fonts/font_Grtsk/GrtskExa-Medium.ttf') format('truetype'),
       url('../fonts/font_Grtsk/GrtskExa-Medium.eot');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

* {
  font-size: 100%;
  font-family0: 'GrtskExa', sans-serif;
  font-family: 'Manrope', sans-serif;
}

html,
body{
  width:100%;
  height:100%;
}
/*#panorama {
  width: 2000px;
  height: 1200px;
}*/

.custom-hotspot {
  height: auto;
  width: auto;
}

/*div.custom-tooltip span {
  visibility: hidden;
  position: absolute;
  border-radius: 3px;
  background-color: #fff;
  color: #000;
  text-align: center;
  max-width: 200px;
  padding: 5px 10px;
  margin-left: -220px;
  cursor: default;
}
div.custom-tooltip:hover span{
  visibility: visible;
}
div.custom-tooltip:hover span:after {
  content: '';
  position: absolute;
  width: 0;
  height: 0;
  border-width: 10px;
  border-style: solid;
  border-color: #fff transparent transparent transparent;
  bottom: -20px;
  left: -10px;
  margin: 0 50%;
}
*/


#mobile-orientation-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #ffffff;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Manrope', sans-serif;
}

.orientation-message {
  text-align: center;
  color: #333333;
  padding: 60px 40px;
  max-width: 400px;
  background: #ffffff;
  border-radius: 16px;
}

.orientation-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 32px;
  background: #f8f9fa;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  animation: rotate 2s ease-in-out infinite;
  border: 2px solid #e9ecef;
}

.orientation-message h2 {
  font-size: 24px;
  font-weight: 600;
  margin: 0 0 16px 0;
  color: #212529;
  line-height: 1.3;
}

.orientation-message p {
  font-size: 16px;
  line-height: 1.5;
  margin: 0 0 24px 0;
  color: #6c757d;
}

.orientation-button {
  display: inline-block;
  background: #007bff;
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  transition: background-color 0.2s ease;
  border: none;
  cursor: pointer;
}

.orientation-button:hover {
  background: #0056b3;
}

.brusnika-logo {
  position: absolute;
  top: 24px;
  left: 24px;
  font-size: 18px;
  font-weight: 600;
  color: #007bff;
}

@keyframes rotate {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(90deg); }
}

/* Скрываем панораму когда показываем заглушку */
body.show-orientation-overlay #panorama {
  display: none !important;
}

body.show-orientation-overlay .ui {
  display: none !important;
}

/* Адаптивность */
@media (max-width: 480px) {
  .orientation-message {
    padding: 40px 24px;
    margin: 0 16px;
  }

  .orientation-message h2 {
    font-size: 20px;
  }

  .orientation-message p {
    font-size: 14px;
  }

  .brusnika-logo {
    top: 16px;
    left: 16px;
    font-size: 16px;
  }
}

.pnlm-container{
  filter0: contrast(1.1);
}

