@font-face {
  font-family: 'GothamRounded';
  src: url('/user/documents/webotvurci/Font_Gotham_Rounded/gothamrnd_medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: 'GothamRounded';
  src: url('/user/documents/webotvurci/Font_Gotham_Rounded/gothamrnd_bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: 'GothamRounded';
  src: url('/user/documents/webotvurci/Font_Gotham_Rounded/gothamrnd_bolditalic.otf') format('opentype');
  font-weight: 700;
  font-style: italic;
}
@font-face {
  font-family: 'GothamRounded';
  src: url('/user/documents/webotvurci/Font_Gotham_Rounded/gothamrnd_book.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'GothamRounded';
  src: url('/user/documents/webotvurci/Font_Gotham_Rounded/gothamrnd_bookitalic.otf') format('opentype');
  font-weight: 400;
  font-style: italic;
}
@font-face {
  font-family: 'GothamRounded';
  src: url('/user/documents/webotvurci/Font_Gotham_Rounded/gothamrnd_light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
}
@font-face {
  font-family: 'GothamRounded';
  src: url('/user/documents/webotvurci/Font_Gotham_Rounded/gothamrnd_mediumitalic.otf') format('opentype');
  font-weight: 500;
  font-style: italic;
}
.w_config-description a
{
    text-decoration: underline
}
#w_configModal {
  font-family: 'GothamRounded', sans-serif !important;
}
.w_price-final span {
  margin-left: 5px;
}
.w_config-description {
  margin: 20px 0 10px !important;
  font-weight: 500;
}
.hidden {
  display: none;
}
#w_configSteps {
  padding-right: 10px
}
.invisible
{
	display: none !important
}
/* Styles for the new configure button */
.w_configure-btn {
  background-color: #D9328A; /* Primární konverzní barva */
  color: #fff;
  padding: 10px 20px;
  border: none;
  cursor: pointer;
  margin-top: 10px;
}
/* Styl pro deaktivované tlačítko */
.w_configure-btn:disabled {
  background-color: #cccccc;
  cursor: not-allowed;
}
.wt-configurator .p-info-wrapper .add-to-cart {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #eff9ff;
  margin-bottom: 10px;
  padding: 22px 14px 22px 22px;
}
.wt-configurator .p-info-wrapper .p-final-price-wrapper {
  margin-bottom: 0;
  text-align: left;
  flex-grow: 1;
}
/* Modal styles */
.w_modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
}
.w_modal-content {
  background-color: #fff;
  margin: 5% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 90%;
  max-width: 1100px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
  position: relative
}
.w_close {
  color: #aaa;
  font-weight: bold;
  position: absolute;
  top: -12px;
  right: -12px;
  border: 1px solid #fff;
  border-radius: 100%;
  background-color: #fff;
  width: 32px;
  height: 32px;
  font-size: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
  text-align: center;
}
.w_close:hover, .w_close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}
.w_config-option {
  margin: 1%;
  cursor: pointer;
  text-align: center;
  display: inline-flex;
  flex-direction: column;
  width: 14%;
  box-sizing: border-box;
  position: relative;
  transition: transform .2s;
  transition: box-shadow 0.3s ease, border 0.3s ease;
  min-height: 265px;
}
.w_config-option:hover {
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}
.w_config-option img {
  max-width: 100%;
  display: block;
  margin: 0 auto 10px;
  border: 1px solid #ccc;
  margin-bottom: 0px;
}
.w_config-option p {
  margin: 5px 0;
  font-size: 15px;
}
.w_config-option .w_lightbox-icon {
  position: absolute;
  top: 5px;
  right: 5px;
  cursor: pointer;
  background: #fff;
  border-radius: 100%;
  color: #fff;
  font-size: 20px;
  width: 24px;
  height: 24px;
  border: solid 1px #fff;
  line-height: 24px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}
.w_config-option .w_lightbox-icon svg {
  width: 16px;
  fill: #333;
  stroke-width: 1;
  stroke: #333;
}
.w_highlighted {
  border: 2px solid #D9328A;
}
.w_config-step {
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #d1e4f0;
}
.w_config-step-title {
  font-weight: 400;
  margin-bottom: 10px;
  font-size: 22px;
  color: #1961ac;
  padding: 10px 50px 10px 10px !important;
  margin-top: 20px;
  border-radius: 0 25px 25px 0;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  display: flex;
  align-items: center;
}
.w_config-step-title span {
  color: #D9328A;
}
img.step-icon {
  width: 50px;
}
.w_config-step-options {
  display: none;
}
.w_config-step-options.w_active {
  display: flex;
  flex-wrap: wrap;
}
.w_config-step-selection {
  margin-top: 10px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  cursor: pointer;
}
.w_config-step-selection img {
  max-width: 50px;
  margin-right: 10px;
}
.w_lightbox {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
}
.w_lightbox img {
  max-width: 90%;
  max-height: 90%;
  margin: auto;
}
/* Centering the lightbox image */
.w_lightbox img {
  position: relative;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.w_search-input, .w_filter-select {
  margin-bottom: 10px;
  padding: 5px;
  width: 100%;
  box-sizing: border-box;
}
.lightbox-content {
  position: relative;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -00%); /* Posune obsah o 50% šířky a výšky zpět */
  display: inline-block;
}
.close-button {
  position: absolute;
  top: -52%;
  color: #aaa;
  font-weight: bold;
  position: absolute;
  border: 1px solid #fff;
  border-radius: 100%;
  background-color: #fff;
  width: 32px;
  height: 32px;
  font-size: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
  text-align: center;
  cursor: pointer;
}
.close-button:hover {
  color: black;
  text-decoration: none;
}
/* TOOLTIP */
.w_tooltip.active .w_tooltiptext {
  display: flex !important; /* Zobrazíme tooltip jako flexbox */
  opacity: 1;
  width: auto;
}
.w_tooltip.active {
  position: relative;
  display: inline-block;
  cursor: pointer;
}
.w_tooltip {
  display: inline-block;
  cursor: pointer;
  line-height: 20px;
  background: #2e8be4;
  border-radius: 100%;
  color: #fff;
  font-size: 17px;
  width: 20px;
  height: 20px;
  border: solid 1px #fff;
  position: relative;
  font-weight: 400
}
.w_filter-select {
  display: none !important;
}
.w_tooltip .w_tooltiptext {
  visibility: hidden;
  width: 160px;
  background-color: #555;
  color: #fff;
  text-align: center;
  border-radius: 5px;
  padding: 5px;
  position: absolute; /* Změna na absolute */
  z-index: 1;
  transform: translate(-50%, -100%);
  left: 50%;
  top: 0%;
  opacity: 0;
  transition: opacity 0.3s;
  font-size: 14px;
  font-family: 'Roboto';
}
.w_filter-button {
  font-weight: 300;
}
@media only screen and (max-width: 768px) {
  .w_tooltip {
    display: grid !important;
    margin: auto;
  }
}
.w_tooltip:hover .w_tooltiptext {
  visibility: visible;
  opacity: 1;
  z-index: 999;
  width: auto;
  display: flex !important;
  min-width: 110px;
}
/* Přidání malého trojúhelníku pod tooltipem */
.w_tooltip .w_tooltiptext::after {
  content: "";
  position: absolute;
  top: 100%; /* Umístí trojúhelník na spodní stranu tooltipu */
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #555 transparent transparent transparent; /* Barva trojúhelníku */
}
.w_chosebtn {
  background-color: #D9328A;
  color: #fff;
  padding: 5px;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  border-radius: 5px;
  margin-top: 5px;
  font-weight: 700;
}
.w_config-option p, .w_config-price {
  background-color: #eff9ff;
  margin-bottom: 0;
}
.w_config-name, .w_config-price {
  border: 1px solid #ccc;
}
.w_config-name {
  flex-grow: 1;
  justify-content: center;
  text-align: center;
  margin-bottom: 5px;
  border-bottom: 0;
}
.w_config-price {
  margin-top: auto !important;
  font-weight: 600;
  border-top: 0;
}
/* cena + koupit */
.w_cartWrapper {
  display: flex;
  background: #eff9ff;
  padding: 10px;
  border: 2px solid #eee;
}
/* Pricing section in modal */
#w_finalPrice {
  font-size: 1.2em;
  width: 40%
}
#w_finalAdd {
  width: 60%;
  text-align: right;
  display: flex;
  justify-content: center;
  align-items: center;
}
.w_price-wrapper {
  display: block;
}
.w_price-final {
  font-size: 28px;
  font-weight: bold;
  color: black;
}
.w_price-final span {
  font-size: 20px;
  font-weight: 300;
  margin-left: 5px;
}
.w_price-additional {
  font-size: 20px;
  color: #666;
}
.w_price-additional span {
  font-size: 18px;
}
#w_finalAdd #w_buyButton {
  margin-top: 0px;
  height: 60px;
  margin-left: 5px;
  border-radius: 5px;
  font-weight: 600;
}
/* input amout */
.quantity-control {
  display: flex;
  align-items: center;
  border: 1px solid #ccc;
  overflow: hidden;
  width: fit-content;
  height: 60px;
}
.quantity-button {
  background-color: white;
  border: none;
  width: 40px;
  height: 60px;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  box-sizing: border-box;
}
.quantity-button:focus {
  outline: none;
}
.quantity-input {
  border: none;
  width: 60px;
  text-align: center;
  font-size: 20px;
  font-weight: bold;
  -moz-appearance: textfield;
  height: 60px
}
.quantity-control {
  margin-left: auto;
}
.quantity-input::-webkit-outer-spin-button, .quantity-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.quantity-control > *:not(:last-child) {
  border-right: 1px solid #ccc;
}
/* Přidání šipky k nadpisu sekce */
.w_config-step-title {
  cursor: pointer;
  position: relative;
  padding-right: 20px; /* Rezervace místa pro šipku */
  background-color: #eff9ff;
  width: fit-content;
}
.w_config-step-title {
  gap: 10px
}
.w_config-step-title::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.3s ease;
  display: inline-block;
  vertical-align: middle;
  padding-right: 10px;
  width: 22px; /* nastavte požadovanou šířku */
  height: 22px; /* nastavte požadovanou výšku */
  background-image: url('/user/documents/upload/up-arrow.png');
  background-size: contain;
  background-repeat: no-repeat;
}
.w_config-step-title.open::after {
  transform: translateY(-50%) rotate(180deg); /* Otočení šipky o 90 stupňů (dolů) */
  padding-right: 10px;
}
/* Responsive design */
@media (max-width: 1200px) {
  .w_config-option {
    width: 18%;
  }
}
@media (max-width: 768px) {
  .w_modal-content {
    padding: 10px;
  }
  .w_config-option {
    width: 31%;
    margin: 1%;
  }
  .w_config-step-options.w_active {
    justify-content: center;
  }
  .w_config-name {
    display: grid;
  }
  .w_config-option {
    min-height: 245px;
  }
}
@media (max-width: 480px) {
  .w_config-step-selection img {
    max-width: 30px;
  }
  .w_modal-content {
    width: 95%;
  }
  .w_filter-select {
    min-width: 100%
  }
  .w_cartWrapper {
    display: block;
    text-align: center
  }
  #w_finalPrice, #w_finalAdd {
    width: 100%;
  }
  .quantity-control {
    margin-left: initial;
  }
  #w_finalAdd {
    margin: auto;
    text-align: center;
    margin-top: 20px;
  }
}
/*scrolovací lišta*/
#w_configSteps {
  scrollbar-width: thin; /* pro Firefox */
  scrollbar-color: #888 #f1f1f1; /* pro Firefox */
  /* Pro Webkit prohlížeče (Chrome, Safari) */
  /*overflow-y: scroll;  Povolení scrollování */
}
#w_configSteps::-webkit-scrollbar {
  width: 8px; /* Šířka scrollovací lišty */
}
#w_configSteps::-webkit-scrollbar-track {
  background: #f1f1f1; /* Barva pozadí dráhy scrollovací lišty */
}
#w_configSteps::-webkit-scrollbar-thumb {
  background-color: #888; /* Barva samotné lišty */
  border-radius: 10px; /* Zaoblení lišty */
  border: 2px solid #f1f1f1; /* Mezery kolem lišty */
}
#w_configSteps::-webkit-scrollbar-thumb:hover {
  background-color: #555; /* Barva při hover efektu */
}
.w_filter-select {
  display: none;
}
.w_filter-button {
  background-color: transparent;
  border: 1px solid #ccc;
  margin-right: 5px;
  border-radius: 10px;
  padding: 7px 10px;
  text-transform: uppercase;
  font-size: 15px;
}
.w_filter-inline {
  margin: 15px 0
}
.w_filter-button.active {
  background-color: #eee;
}
.w_modal-content {
  /* výška nesmí přesáhnout viewport */
  margin: 4vh auto 8vh;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
}

#w_configSteps {
  /* zakážeme horizontální scrolling (nepřetéká tam mimo box nic podstatného) */
  overflow-x: hidden;
  overflow-y: scroll;
}

.w_close {
  /* knoflík trošičku víc vlevo, ať nescrolluje overlay */
  right: -8px;
  top: -8px;
  z-index: 5;
}