/*
 * B4N Events - CSS


/* === Disabled-look button with accessible click (no-access pop-up) === */
.b4n-btn.b4n-btn-no-access {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: auto;
}

/* === Lightbox === */
.b4n-lightbox-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.85);
  align-items: center;
  justify-content: center;
}
.b4n-lightbox-modal[style*="display: flex"] {
  display: flex !important;
}
.b4n-lightbox-img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 12px;
  box-shadow: 0 2px 16px #0008;
}
.b4n-lightbox-close {
  position: absolute;
  top: 2.5rem;
  right: 3rem;
  color: #fff;
  font-size: 2.5rem;
  font-weight: bold;
  cursor: pointer;
  z-index: 10001;
}
/* Stejná výška všech slidů — karta vyplní celou výšku slidu */
.b4n-carousel-swiper .swiper-slide {
  height: auto;
}
.b4n-carousel-swiper .b4n-event-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.b4n-carousel-swiper .b4n-event-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.b4n-carousel-swiper .b4n-event-actions {
  margin-top: auto;
}

/* Šířku slidu řídí Swiper přes slidesPerView breakpoints */
.b4n-carousel-swiper.swiper {
  overflow: hidden;
}

/* Zajistí ořez slidů i pokud téma přepisuje Swiper výchozí overflow */
.b4n-carousel-swiper.swiper {
  overflow: hidden;
}

/* Šipky mimo .swiper — flex layout: šipka | slider | šipka */
.b4n-events-carousel {
  display: flex;
  align-items: center;
  gap: 8px;
}
.b4n-events-carousel .b4n-carousel-swiper {
  flex: 1;
  min-width: 0;
}
.b4n-events-carousel .swiper-button-prev,
.b4n-events-carousel .swiper-button-next {
  position: static;
  transform: none;
  margin-top: 0;
  flex-shrink: 0;
}

/* === Coupon in signup modal === */
.b4n-price-original {
    text-decoration: line-through;
    color: #999;
}
.b4n-coupon-applied {
    color: #1a7a1a;
    font-weight: 500;
}
.b4n-price-final-row {
    border-top: 1px solid #e0e0e0;
    padding-top: 6px;
    margin-top: 4px;
}

/* Pop-up input voucher code */
.b4n-coupon-input__wrapper {
  display: flex;
  gap: 1rem;
  justify-content: center;
}
.b4n-coupon-input-wrap a {
  font-size: 1.65rem;
  font-weight: 500;
  text-decoration: underline;
}
#b4n-coupon-input {
  font-size: 1.5rem;
  font-weight: 500;
  border-radius: 0.6rem;
  background: #fdf9f4;
  border: 2px solid #c5a27c;
  color: #2f2a26;
  max-width: 130px;
  font-family: "Jost";
  padding: 5px 10px;
}
#b4n-coupon-apply-btn {
  border: none;
  background-color: #c5a27c;
  color: #fff;
  border-radius: 50px;
  font-size: 1.5rem;
  font-weight: 700;
  padding: .625em 1.1em;
}
#b4n-coupon-msg {
  margin-top: .75rem;
  font-size: 1.5rem;
}
.b4n-coupon-msg--success {
  color: #c5a27c;
}
.b4n-coupon-msg--error {
  color: #c00;
}