.elementor-kit-7{--e-global-color-primary:#039EE1;--e-global-color-secondary:#EF7915;--e-global-color-text:#E4111A;--e-global-color-accent:#F8FAFC;--e-global-color-c1a00ab:#EDF0F4;--e-global-color-e3dbac8:#0F182B;--e-global-typography-primary-font-family:"Montserrat";--e-global-typography-primary-font-weight:600;--e-global-typography-secondary-font-family:"Montserrat";--e-global-typography-secondary-font-weight:400;--e-global-typography-text-font-family:"DM Sans";--e-global-typography-text-font-weight:400;--e-global-typography-accent-font-family:"Roboto";--e-global-typography-accent-font-weight:500;}.elementor-kit-7 e-page-transition{background-color:#FFBC7D;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1140px;}.e-con{--container-max-width:1140px;}.elementor-widget:not(:last-child){--kit-widget-spacing:20px;}.elementor-element{--widgets-spacing:20px 20px;--widgets-spacing-row:20px;--widgets-spacing-column:20px;}{}h1.entry-title{display:var(--page-title-display);}.site-header .site-branding{flex-direction:column;align-items:stretch;}.site-header{padding-inline-end:0px;padding-inline-start:0px;}.site-footer .site-branding{flex-direction:column;align-items:stretch;}@media(max-width:1033px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:1024px;}.e-con{--container-max-width:1024px;}}@media(max-width:767px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:767px;}.e-con{--container-max-width:767px;}}/* Start custom CSS *//* Kontener z opisami - szerokość sterowana z poziomu Elementora dla każdego urządzenia */
.hotspot-descriptions {
  position: relative;
  display: grid;
  min-height: 280px; /* dopasuj pod najdłuższy opis */
}

/* Wszystkie panele leżą w jednym polu siatki wewnątrz kontenera */
.hotspot-panel {
  grid-area: 1 / 1;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

/* Aktywny panel */
.hotspot-panel.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 2;
}

/* W trybie edycji Elementora pokazuj wszystkie panele, żeby łatwo je edytować */
body.elementor-editor-active .hotspot-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  position: relative;
  grid-area: auto;
  margin-bottom: 16px;
}

[class*="pin-"],
[class*="pin-"] * {
  cursor: pointer !important;
  user-select: none; /* opcjonalnie: zapobiega przypadkowemu zaznaczaniu cyfry przy klikaniu */
}


/* Warstwa SVG łącząca pin z kontenerem opisów */
.hotspot-connector-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 5;
  overflow: visible;
}

.hotspot-connector-path {
  fill: none;
  stroke: #EF7915; /* Zmień kolor linii na swój (np. kolor pinów/obramówki) */
  stroke-width: 2px;
  stroke-linecap: round;
  stroke-linejoin: round;
}


.page-id-1949 .hotspot-descriptions {
    min-height: 0;
}

.page-id-19498 .hotspot-panel {
    height: auto;
}


/* ================== DOTACJE B2C  USTAWIENIA (tu zmieniasz) /* ================== USTAWIENIA (tu zmieniasz) ================== */
.etg-tabs{
  /* wysokość panelu: 4 tryby */
  --etg-h: 700px;         /* komputer */
  --etg-h-laptop: 600px;  /* do 1366px */
  --etg-h-tablet: 680px;  /* do 1024px */
  --etg-h-mobile: 1020px;  /* do 767px */

  /* szerokość panelu: 4 tryby */
  --etg-w: 100%;
  --etg-w-laptop: 100%;
  --etg-w-tablet: 100%;
  --etg-w-mobile: 100%;

  /* kolory */
  --etg-orange: #f58220;       /* aktywny przycisk */
  --etg-orange-soft: #ffb677;  /* dół gradientu po najechaniu */
  --etg-speed: .35s;
}

/* ================== PRZYCISKI ================== */
/* nieaktywny: białe tło, czarny tekst */
.etg-tab{
  cursor: pointer;
  user-select: none;
  background-color: #ffffff !important;
  background-image: linear-gradient(to top, #EF7915 0%, rgba(255,255,255,0) 100%) !important;
  background-repeat: no-repeat !important;
  background-position: bottom !important;
  background-size: 100% 0% !important;
  transition: background-size var(--etg-speed) ease,
              background-color var(--etg-speed) ease,
              box-shadow var(--etg-speed) ease,
              transform var(--etg-speed) ease;
}
.etg-tab,
.etg-tab *{
  color: #000000 !important;
  transition: color var(--etg-speed) ease;
}

/* hover: gradient, dół pomarańczowy, góra biała, tekst czarny */
.etg-tab:not(.is-active):hover{
  background-size: 100% 100% !important;
  transform: translateY(-2px);
}

/* aktywny: pomarańczowe tło, biały tekst */
.etg-tab.is-active{
  background-color: var(--etg-orange) !important;
  background-image: none !important;
  box-shadow: 0 8px 20px rgba(245,130,32,.35);
}
.etg-tab.is-active,
.etg-tab.is-active *{
  color: #ffffff !important;
}

/* ================== PANELE ================== */
.etg-tabs-panels{
  display: grid !important;
  width: var(--etg-w);
  height: var(--etg-h);
  max-width: 100%;
  overflow: hidden;
}
.etg-panel{
  grid-area: 1 / 1;
  width: 100% !important;
  height: 100% !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity var(--etg-speed) ease,
              transform var(--etg-speed) ease,
              visibility 0s linear var(--etg-speed);
}
.etg-panel.is-active{
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
  transition: opacity var(--etg-speed) ease,
              transform var(--etg-speed) ease,
              visibility 0s;
}

/* ================== RESPONSYWNOŚĆ ================== */
@media (max-width: 1366px){
  .etg-tabs-panels{ width: var(--etg-w-laptop); height: var(--etg-h-laptop); }
}
@media (max-width: 1024px){
  .etg-tabs-panels{ width: var(--etg-w-tablet); height: var(--etg-h-tablet); }
}
@media (max-width: 767px){
  .etg-tabs-panels{ width: var(--etg-w-mobile); height: var(--etg-h-mobile); }
  /* siatka przycisków: 2 w rzędzie (wpisz 1fr, jeśli ma być jeden pod drugim) */
  .etg-tabs-nav{ grid-template-columns: repeat(2, 1fr) !important; }
}

/* ================== EDYTOR ELEMENTORA ================== */
/* w edytorze wszystkie panele są widoczne pod sobą, żeby dało się je edytować */
.elementor-editor-active .etg-tabs-panels{
  display: flex !important;
  flex-direction: column;
  height: auto;
}
.elementor-editor-active .etg-panel{
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
  height: auto !important;
  min-height: 300px;
}/* End custom CSS */