/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

.trh-mapa svg {
  max-width: 100%;
  height: auto;
  display: block;
}

/* stánky */
.stand-has-vendor {
  stroke-width: 3;
  stroke: #000;
  fill-opacity: 0.9;
}

/* atrakce */
.mapa-atrakce {
  stroke-width: 3;
  stroke: #ffeb3b;
  fill-opacity: 0.95;
}

/* aktuální stánek / atrakce v detailu */
.mapa-current {
  /* JS už nastavuje fill, tohle je jen fallback */
  fill: #59A3BC;
}

/* hover efekt */
.stand-has-vendor:hover,
.mapa-atrakce:hover {
  filter: brightness(1.3);
}

/* tooltip (jak jsme měli dřív) */
.mapa-trh-tooltip {
  padding: 8px 10px;
  background: rgba(0, 0, 0, 0.9);
  color: #fff;
  font-size: 12px;
  border-radius: 4px;
  z-index: 9999;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

.mapa-trh-tooltip-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.mapa-trh-tooltip-image img {
  display: block;
  max-width: 150px;
  height: auto;
  border-radius: 3px;
}

.mapa-trh-tooltip-text {
  font-size: 18px;
  line-height: 1.3;
  text-align: center;
  white-space: normal;
}
