:root {
    --bg-light: #EFEEEB;
    --text-grey: #4b4b4b;
    --text-dark: #333333;
    --accent-celadon: #48B4D2;
      --accent-purple: #91124b;
    --accent-blue: #598ECE;
    --border-card: #b9b5b5;
    --grid-line: rgba(119, 119, 119, 0.15);
    --grid-size: 30px;
    --accent-gradient: linear-gradient(to right, var(--accent-celadon), var(--accent-blue));
    --grid-w: 2.083333vw;
    --grid-h: 3.333333vh;
    --header-height: calc(var(--grid-h) * 3);
}
/* --- Styl dla motywu 2026-JW --- */

.jwe-plugin-container.theme-2026 {
  font-family: "Montserrat", sans-serif;
  box-sizing: border-box;
}

/* Siatka: 2 kolumny */
.events-grid-2026 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  max-width: 1260px;
  margin: 0 auto;
}

/* --- Karta Wydarzenia --- */
.theme-2026 .event-card.large {
  display: flex;
  flex-direction: column;
  background-color: transparent; /* Przeźroczyste tło */
  border-radius: 0; /* Brak zaokrągleń dla całego kontenera (można zmienić) */
  overflow: hidden;
  /* Cień opcjonalny dla całej karty */
  /* box-shadow: 0 5px 15px rgba(0,0,0,0.05); */
  margin-bottom: 20px;
}

/* =========================================
    CZĘŚĆ 1: IMAGE WRAPPER (Zdjęcie + Overlaye)
    ========================================= */
.theme-2026 .image-wrapper {
  position: relative;
  width: 100%;
  height: 300px; /* Stała wysokość zdjęcia */
  overflow: hidden;
  border-radius: 4px; /* Zaokrąglenie tylko zdjęcia */
}

/* Tło obrazka */
.theme-2026 .bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Overlay Miasto (Prawy górny róg, brązowy) */
.theme-2026 .town-overlay {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 10;
  
}
.town-name {
    /* background-color: #f1f1f1; */
    color: #020202;
    padding: 8px 15px;
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    border-radius: 4px;
    font-size: 1.7rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #eaebea;
}
.town-notes {
  font-family: "Dosis", sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #e1e1e1;
  margin-top: 4px;
  width: 127px;
  display: block;
  overflow: hidden;
  line-height: 110%;
  margin-top: 14px;
  text-align: right;
}

/* Overlay Content (Data, Godzina, Tytuł - Na dole zdjęcia) */
.theme-2026 .event-content-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px 20px 4px;
  color: #ededed;
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  /* background-image: url(https://jacekwiktor.pl/wp-content/uploads/overlay-gradient-1.png); */
  background-size: cover;
  background-repeat: no-repeat;
  background-position: bottom;
  height: 100%;
    background: linear-gradient(360deg, #1c1c1b 13%, #3a0a1d00);
}

.theme-2026 .event-meta-info {
    display: flex;
    /* gap: 8px; */
    margin-bottom: 5px;
    font-family: "Montserrat", sans-serif;
    font-size: 20px;
    flex-direction: column;
    align-content: flex-start;
    align-items: flex-start;
    letter-spacing: 1px;
}

.theme-2026 .event-date-text {
    font-weight: 600;
    background: transparent;
   
    font-size: 1.5rem;
    font-weight: 900;
    color: #e5e7e9;
    line-height: 1;
}
.theme-2026 .event-time-text {
    font-weight: 300;
    padding: 0px 0px;
    font-size: 1.5rem;
    font-weight: 400;
    color: #e5e7e9;
    text-transform: uppercase;
    margin-top: 2px;
}

.theme-2026 .event-title {
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    font-size: 33px;
    line-height: 1.1;
    margin: 0;
    /* color: #454242; */
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1.5rem;
    color: var(--text-dark);
}

/* =========================================
    CZĘŚĆ 2: DESC WRAPPER (Opis + Akcje)
    ========================================= */
.theme-2026 .event-desc-wrapper {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    background: transparent;
    padding: 15px 0px 0px 5px;
}

.theme-2026 .description {
    font-family: "Dosis", sans-serif;
    font-weight: 400;
    font-size: 18px;

    margin-bottom: 10px;
    line-height: 1.4;
    letter-spacing: 1px;
    font-size: 1rem;
    color: var(--text-grey);
    line-height: 1.5;
}
@media screen and (max-width: 768px) {
  .theme-2026 .description {
  font-size: 15px;
}
}

/* --- Akcje (Jeden rząd) --- */
.theme-2026 .event-actions {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: auto;
    align-content: flex-end;

}

/* Lewa strona: Więcej info */
.theme-2026 .actions-left {
  flex-grow: 1;
}

.theme-2026 .event-more-info {
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  color: var(--accent-blue);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: 600;
  transition: color 0.3s;
  line-height: 110%;
}
.theme-2026 .event-more-info:hover {
  color: var(--accent-blue);
}

/* Prawa strona: Cena + Przycisk */
.theme-2026 .event-purchase {
  display: flex;
  align-items: center;
  gap: 15px;
  border: 1px solid var(--accent-blue)
  padding-left: 10px;
}

.theme-2026 .event-price {
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  color: var(--accent-blue)
  font-weight: 600;
  white-space: nowrap;
}

/* Przycisk DODAJ */
.theme-2026 .event-add-to-cart {
    font-family: "Montserrat", sans-serif;
    font-weight: 400;
    text-transform: uppercase;
    font-size: 16px;
    color: #eee;
    background: var(--accent-blue);
    border: none;
    padding: 10px 25px;
    border-radius: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    font-weight: 600;
    border-left: 1px solid var(--accent-blue);
}

.theme-2026 .event-add-to-cart:hover {
  filter: brightness(0.9);
  background-color: var(--accent-blue);
}

.theme-2026 .css-cart-icon {
  display: inline-block;
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23FFFFFF'%3E%3Cpath d='M0 1.5A.5.5 0 0 1 .5 1H2a.5.5 0 0 1 .485.379L2.89 3H14.5a.5.5 0 0 1 .491.592l-1.5 8A.5.5 0 0 1 13 12H4a.5.5 0 0 1-.491-.408L2.01 3.607 1.61 2H.5a.5.5 0 0 1-.5-.5zM3.102 4l1.313 7h8.17l1.313-7H3.102zM5 12a2 2 0 1 0 0 4 2 2 0 0 0 0-4zm7 0a2 2 0 1 0 0 4 2 2 0 0 0 0-4zm-7 1a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm7 1a1 1 0 1 1 0 2 1 1 0 0 1 0-2z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

/* --- Cart Bar --- */
#cart-bar {
  transition: all 0.5s ease-in-out;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #36362f;
  color: #f8f5f2;
  z-index: 9999;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
  padding: 20px;
  box-sizing: border-box;
}

.cart-section:first-child {
  border-top: none;
  padding-top: 0;
}

.cart-bar-content {
  /*display: flex; */
  display: block;
  justify-content: space-between;
  align-items: flex-start;
}
#cart-form-wrapper {
  max-width: 1260px;
  margin: 20px auto 0 auto;
  padding-top: 20px;
  border-top: 1px solid rgba(248, 245, 242, 0.2);
}
.cart-form-fields {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.form-group {
  display: flex;
  flex-direction: column;
}
.form-group.form-group-full {
  grid-column: 1 / -1;
}
.form-group label {
  font-size: 13px;
  margin-bottom: 5px;
  color: #f8f5f2;
  opacity: 0.8;
}
#cart-checkout-btn.payment-step {
  background-color: #28a745;
}
.form-group input,
.form-group textarea {
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 10px;
  border-radius: 5px;
  font-size: 16px;
  font-family: "Inter", sans-serif;
}
.cart-bar-info {
  flex-grow: 1;
  padding-bottom: 10px;
  display: block;
}
/* Sekcja formularza (User) */
#cart-section-user {
  /* Domyślnie ukryty, pokazywany przez JS */
  /* Dodajmy padding, żeby formularz nie dotykał krawędzi */
  padding-top: 5px;
}

/* Dolna linia (Opcje i Przyciski) */
.cart-bar-controls {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  gap: 15px;
  width: 100%; /* Pełna szerokość */
  justify-content: flex-end; /* Wyrównanie do prawej (opcjonalne) */
}
.cart-bar-actions {
  display: flex;
  gap: 10px;
}
#cart-event-name {
  font-family: "Cormorant Garamond", serif;
  font-size: 24px;
  margin: 0;
  line-height: 1.2;
}
#cart-ticket-options {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 8px;
  font-family: "Montserrat", sans-serif;
  flex-grow: 1;
}
.cart-bar-actions button {
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 700;
  padding: 15px 30px;
  border: 2px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  line-height: 1.2;
}
#cart-ticket-options option {
  background: #333; /* Żeby opcje były czytelne */
}

#cart-add-btn:hover {
  background-color: #f8f5f2;
  color: #36362f;
}
/*  #cart-checkout-btn {
  background-color: #e71c5f;
  color: #fff;
  display: flex;
  flex-direction: column;
  text-align: center;
} *

/* Style przycisku w koszyku */
#cart-checkout-btn,
#cart-add-btn {
  padding: 8px 15px;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 12px;
  border: none;
  border-radius: 0;
  cursor: pointer;
}

#cart-add-btn {
  background-color: transparent;
  border: 1px solid #fff;
  color: #fff;
}
#cart-add-btn:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

#cart-checkout-btn {
  background-color: #e71c5f;
  color: #fff;
}

#cart-checkout-btn:hover {
  background-color: #c2154d;
}

.cart-item-details span {
  margin-right: 8px;
}

.cart-item-details .ci-name {
  font-weight: 600;
  color: #cf7da2;
}
.cart-item-details .ci-price {
  font-weight: 600;
}
.cart-item-tag {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  border-radius: 10px;
  padding: 10px 15px;
  margin-bottom: 10px;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  border-left: 4px solid #e71c5f;
  font-family: "Montserrat", sans-serif;
  gap: 0px;
  font-size: 13px;
  overflow: hidden;
}

.cart-item-option-select {
  /* margin-top: 8px; */
  /* width: 100%; */
  font-size: 13px;
  padding: 10px 8px;
  border-radius: 0px;
  border: 1px solid #eee;
  background: transparent;
  color: #aaa;
  font-weight: 500;
  font-family: "Montserrat";
  border-radius: 5px;
}
.tag-close-btn {
  cursor: pointer;
  font-size: 16px;
  opacity: 0.7;
}
.tag-close-btn:hover {
  opacity: 1;
  color: #e71c5f;
}

#cart-close-btn {
  background: none;
  border: none;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  margin-left: 20px;
}

@media (max-width: 768px) {
  .cart-bar-content {
    flex-direction: column;
  }
  .cart-bar-controls {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }
  #cart-ticket-options {
    width: 100%;
    min-width: 0;
  }
  .cart-bar-actions {
    width: 100%;
    justify-content: space-between;
  }
}

/* Responsywność */
@media (max-width: 768px) {
  .events-grid-2026 {
    grid-template-columns: 1fr;
  }

  .theme-2026 .image-wrapper {
    height: 250px;
  }

  .theme-2026 .event-purchase {
    flex-direction: column;
    align-items: flex-end;
    border: 0px solid var(--accent-blue);
    gap: 5px;
  }
.theme-2026 .event-desc-wrapper {
padding: 15px 0px 0px 5px;
}

.jwe-tab {
    display: inline-block;
    padding: 3px 15px;
    border-radius: 30px;
    background-color: #36362f;
    color: #fff !important;
    text-decoration: none !important;
    font-family: "Dosis", sans-serif;
    font-weight: 500;
    font-size: 0.8em;
    letter-spacing: 0.5px;
    opacity: 0.5;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

  .theme-2026 .event-meta-info {
    display: flex;
    margin-bottom: 5px;
    font-family: "Montserrat", sans-serif;
  
    letter-spacing: 2px;
  }

  .theme-2026 .event-price {
    font-family: "Montserrat", sans-serif;
    font-size: 12px;
   color: var(--accent-blue);
    font-weight: 600;
    white-space: nowrap;
  }
  .theme-2026 .event-more-info {
    line-height: 1.1;
  }
  .theme-2026 .event-content-overlay {
    padding: 10px 10px 4px;
  }
  .cart-bar-actions button {
    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-weight: 700;
    padding: 9px 13px;
    border: 2px solid transparent;
    border-radius: 7px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    line-height: 1;
    letter-spacing: 1;
  }

  .cart-item-tag {
    background-color: #f8f5f2;
    color: #36362f;
    padding: 1px 8px;
    border-radius: 10px;
    font-size: 12px;
    display: flex;

    gap: 8px;
    line-height: 108%;
  }

  #cart-ticket-options {
    font-family: "Inter", sans-serif;
    font-size: 14px;
    padding: 8px;
    border-radius: 5px;
    min-width: 280px;
    height: 48px;
  }
  #cart-items-tags {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
  }
  #cart-event-name {
    font-family: "Cormorant Garamond", serif;
    font-size: 14px;
    margin: 0;
    line-height: 1.2;
    color: #eee;
  }
}

/* ==========================================================================
   STYLE DLA REZERWACJI (STRONA /rezerwacja, Shortcode [reservation])
   ========================================================================== */

/* Główny kontener rezerwacji */
.jwe-reservation-wrapper {
  max-width: 800px;
  margin: 40px auto;
  padding: 0 20px;
  font-family: "Montserrat", sans-serif;
  color: #222;
}

.jwe-reservation-wrapper.theme-2026-JW {
  /* Specyficzne style dla theme 2026, jeśli potrzebne */
}

/* Podsumowanie (Góra) */
.jwe-reservation-summary {
  background: #f9f9f9;
  border-left: 5px solid var(--accent-blue); /* Akcent kolorystyczny theme 2026 */
  padding: 20px 30px;
  margin-bottom: 40px;
  border-radius: 4px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.jwe-reservation-summary h2 {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 24px;
  margin: 0 0 20px 0;
  color: #222;
  text-transform: uppercase;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 16px;
  border-bottom: 1px solid #eee;
  padding-bottom: 10px;
}

.summary-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.summary-item .label {
  font-weight: 400;
  color: #555;
}

.summary-item .value {
  font-weight: 500;
  text-align: right;
  color: #222;
}

.summary-item .value.price {
  font-weight: 700;
  color: var(--accent-blue);
  font-size: 18px;
}

/* Formularz */
.jwe-reservation-form h3 {
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: 20px;
  margin-bottom: 25px;
  color: #222;
  border-bottom: 2px solid #eee;
  padding-bottom: 10px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group.full-width {
  margin-bottom: 30px;
}

.form-group label {
  font-family: "Dosis", sans-serif;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 8px;
  color: #555;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.form-group input,
.form-group textarea {
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 0; /* Theme 2026: Kanciaste */
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  color: #222;
  background: #fff;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-blue);
  box-shadow: 0 0 5px rgba(72, 180, 210, 0.2);
}

.form-group textarea {
  min-height: 100px;
  resize: vertical;
}

/* Akcje formularza (Przycisk) */
.form-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.btn-pay {
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  text-transform: uppercase;
  font-size: 18px;
  color: #ffffff;
  background: var(--accent-blue);
  background: linear-gradient(150deg, rgb(145 18 75) 75%, rgb(209 56 56) 100%);

  border: none;
  padding: 15px 50px;
  border-radius: 0;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  max-width: 400px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(72, 180, 210, 0.3);
}

.btn-pay:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(72, 180, 210, 0.5);
}

.btn-pay:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

/* Loader */
#jwe-loader {
  font-family: "Dosis", sans-serif;
  color: #555;
  font-size: 16px;
}

/* Responsywność formularza */
@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .form-group {
    margin-bottom: 20px;
  }
  .jwe-reservation-wrapper {
    padding: 0 15px;
  }
  .btn-pay {
    width: 100%;
    max-width: none;
  }
}

#cart-bar {
  background-color: #222;
  color: #ededed;
  border-top: 1px solid #333;
}

/* Formularz w pasku (Dostosowanie do sekcji) */
#cart-form-wrapper {
  margin-top: 10px;
  padding-top: 10px; /* Miejsce na badge */
  border-top: none; /* Bo sekcja ma border */
}

/* Dostosowanie formularza wewnątrz ciemnego paska */
#cart-form-wrapper .cart-form-fields {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

#cart-form-wrapper label {
  font-family: "Dosis", sans-serif;
  color: #ccc;
  font-size: 13px;
  margin-bottom: 5px;
  text-transform: uppercase;
}

#cart-form-wrapper input,
#cart-form-wrapper textarea {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 10px;
  font-family: "Montserrat", sans-serif;
  border-radius: 0;
}

#cart-form-wrapper input {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 8px;
  font-family: "Montserrat", sans-serif;
  border-radius: 0;
  font-size: 13px;
}
/* Input z błędami */
#cart-form-wrapper .form-group.has-error input {
  border-color: #e71c5f;
  background: rgba(231, 28, 95, 0.1);
}

#cart-form-wrapper input:focus,
#cart-form-wrapper textarea:focus {
  border-color: var(--accent-blue);
  outline: none;
  background: rgba(255, 255, 255, 0.15);
}

/* Walidacja w pasku */
#cart-form-wrapper .form-group.has-error input {
  border-color: #e74c3c;
  background: rgba(231, 76, 60, 0.1);
}

@media (max-width: 992px) {
  #cart-form-wrapper .cart-form-fields {
    grid-template-columns: 1fr 1fr; /* 2 kolumny na tablecie */
  }
}

@media (max-width: 600px) {
  #cart-form-wrapper .cart-form-fields {
    grid-template-columns: 1fr; /* 1 kolumna na telefonie */
  }
  .form-group.form-group-full {
    grid-column: auto;
  }
}

/* --- STRONA REZERWACJI (/rezerwacja) --- */
/* Te style dotyczą shortcodu [reservation] który wyświetla podsumowanie */

.jwe-reservation-wrapper {
  max-width: 800px;
  margin: 40px auto;
  font-family: "Montserrat", sans-serif;
  color: #222;
}

.jwe-reservation-summary {
  background: #fff;
  border: 1px solid #eee;
  border-left: 6px solid var(--accent-blue);
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.jwe-reservation-summary h2 {
  margin-top: 0;
  font-size: 24px;
  text-transform: uppercase;
  color: #222;
  border-bottom: 2px solid #f0f0f0;
  padding-bottom: 15px;
  margin-bottom: 25px;
}

.summary-section {
  margin-bottom: 30px;
}

.summary-section h3 {
  font-size: 16px;
  color: var(--accent-blue);
  text-transform: uppercase;
  margin-bottom: 15px;
  font-family: "Dosis", sans-serif;
  font-weight: 600;
}

.summary-item,
.data-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #f9f9f9;
}

.summary-item .label,
.data-row .d-label {
  color: #666;
  font-weight: 400;
}

.summary-item .value,
.data-row .d-value {
  color: #000;
  font-weight: 500;
  text-align: right;
}

.summary-item.total {
  border-top: 2px solid #eee;
  border-bottom: none;
  margin-top: 10px;
  padding-top: 15px;
  font-size: 20px;
}

.summary-item.total .value {
  color: var(--accent-blue);
  font-weight: 700;
}

/* Przycisk Płatności */
.jwe-reservation-form-hidden .form-actions {
  margin-top: 30px;
  text-align: center;
}

.btn-pay {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 18px;
  color: #ffffff;
  background: var(--accent-blue);
  background: linear-gradient(150deg, rgb(145 18 75) 75%, rgb(209 56 56) 100%);

  border: none;
  padding: 18px 60px;
  border-radius: 0;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(72, 180, 210, 0.3);
  width: 100%;
  max-width: 400px;
}

.btn-pay:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(72, 180, 210, 0.5);
  filter: brightness(1.1);
}

.cart-event-title {
  display: block;
  margin-top: 15px; /* Odsunięcie od badge'a */
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
  color: #fff;
  font-weight: 600;
}

/* Ukrywamy stary h4 jeśli został */
#cart-event-name {
  margin: 0;
  line-height: 1.2;
}

@media (max-width: 768px) {
  .cart-bar-controls {
    flex-direction: column;
    align-items: stretch;
  }
  #cart-ticket-options {
    width: 100%;
  }
  .cart-bar-actions {
    display: flex;
    gap: 10px;
    justify-content: space-between;
  }
  #cart-add-btn,
  #cart-checkout-btn {
    text-align: center;
    padding: 15px 15px;
    font-size: 12px;
  }
}

/* --- CART BAR (NOWY UKŁAD) --- */
#cart-bar {
  background-color: #222;
  color: #ededed;
  border-top: 1px solid #333;
  padding-top: 0;
  display: flex;
  flex-direction: column;
}

.cart-bar-content {
  display: block; /* Wymuszamy blokowy układ dla sekcji */
  padding: 0px 15% 0px 15%; /* Padding boczny 15% dla wszystkich sekcji */
}

/* Wspólne style dla sekcji */
/* Sekcje w koszyku */
.cart-section {
  position: relative;
  margin-bottom: 0px;

  width: 100%;
}
.cart-section:first-child {
  border-top: none;
  padding-top: 15px; /* Mniejszy padding dla pierwszej */
}

/* Footer sekcja (Przyciski) */

/* Badge (Nagłówek sekcji) */

/* --- Sekcja 1: Opcje (Select) --- */
.cart-options-wrapper {
  display: flex;
  align-items: center;
  gap: 15px;
}

#cart-ticket-options {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 10px;
  font-family: "Montserrat", sans-serif;
  flex-grow: 1;
  max-width: 500px;
  border-radius: 0;
}
#cart-ticket-options option {
  background: #333;
}

#cart-add-btn {
  /* Przycisk "Dodaj opcję" */
  background-color: transparent;
  border: 1px solid #fff;
  color: #fff;
  padding: 10px 20px;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 13px;
  border-radius: 0;
  cursor: pointer;
  white-space: nowrap;
}
#cart-add-btn:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* --- Sekcja 2: Kafelki --- */
#cart-items-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cart-item-tag {
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 10px 15px;
  display: flex;

  font-size: 13px;
  font-family: "Montserrat", sans-serif;
  color: #fff;
  border-radius: 0;
}

.cart-item-details span {
  margin-right: 10px;
}
.cart-item-details .ci-name {
  font-weight: 600;
  color: var(--accent-blue);
}
.cart-item-details .ci-price {
  font-weight: 600;
  color: #cf7da2;
}

/* --- Sekcja 3: Formularz --- */
#cart-form-wrapper {
  margin-top: 10px;
  /* Usuwamy stare style wrappera, bo teraz jest wewnątrz .cart-section */
  border-top: none;
  padding-top: 0;
}

#cart-form-wrapper .cart-form-fields {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0px 13px;
}

#cart-form-wrapper input {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 12px;
  font-family: "Montserrat", sans-serif;
  border-radius: 0;
  font-size: 14px;
  width: 100%;
  box-sizing: border-box;
}

/* Walidacja */
#cart-form-wrapper .form-group.has-error input {
  border-color: #e71c5f;
  background: rgba(231, 28, 95, 0.1);
}

/* --- Sekcja 4: Przycisk Finalizacji --- */
#cart-checkout-btn {
  background-color: #e71c5f;
  color: #fff;
  border: none;
  border-radius: 0;
  padding: 8px 15px;
  font-family: "Montserrat", sans-serif;

  text-transform: uppercase;
  font-size: 12px;
  cursor: pointer;
  letter-spacing: 1px;
}
#cart-checkout-btn:hover {
  background-color: #c2154d;
}

/* Responsywność */
@media (max-width: 992px) {
  .cart-bar-content,
  .cart-section-footer {
    padding: 0px 5%; /* Mniejszy padding na mniejszych ekranach */
  }
  #cart-form-wrapper .cart-form-fields {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .cart-bar-content,
  .cart-section-footer {
    padding: 0px 15px; /* Minimalny padding na mobile */
  }
  .cart-options-wrapper {
    flex-direction: column;
    align-items: stretch;
  }
  #cart-ticket-options,
  #cart-add-btn {
    width: 100%;
    max-width: none;
  }
  #cart-form-wrapper .cart-form-fields {
    /* grid-template-columns: 1fr; */
  }
  #cart-checkout-btn {
    width: 100%;
    font-size: 12px;
    padding: 15px 15px;
  }

  #cart-form-wrapper label {
    font-family: "Dosis", sans-serif;
    color: #ccc;
    font-size: 10px;
    margin-bottom: 5px;
    text-transform: uppercase;
  }

  #cart-form-wrapper input {
    font-size: 12px;
  }

  .cart-item-option-select {
    font-size: 12px;
    padding: 10px 3px;
  }

      .form-group {
        margin-bottom: 5px;
    }

  
.theme-2026 .description-text {
  font-size: 15px;
}

}

#cart-close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  z-index: 20;
}

#cart-checkout-btn.ready-to-pay {
  background-color: #28a745; /* Zielony */
}
#cart-checkout-btn.ready-to-pay:hover {
  background-color: #218838;
}

#cart-checkout-btn.btn-incomplete {
  background-color: #e71c5f; /* Czerwony/Oryginalny */
  opacity: 0.9;
}

/* Przycisk edycji (secondary) */
.secondary-btn {
  background: transparent;
  border: 1px solid #aaa;
  color: #ccc;
  font-size: 12px;
  padding: 5px 10px;
  cursor: pointer;
  font-family: "Montserrat", sans-serif;
  text-transform: uppercase;
}
.secondary-btn:hover {
  border-color: #fff;
  color: #fff;
}

/* Układ footer w pasku */

/* Ukrywanie/Pokazywanie sekcji jest obsługiwane przez JS (slideDown/Up), 
   ale style bazowe są potrzebne */
#cart-section-options {
  /* Domyślnie ukryte w JS, ale tu dla pewności */
}

/* Dodatkowy odstęp między przyciskiem dodaj a selectem */
#cart-add-btn {
  margin-left: 10px;
}

/* Badge (Nagłówek sekcji) - ZMIANA STYLU NA LABEL */
.cart-header-badge {
  position: relative;
  background-color: transparent;
  color: #a18d8d;
  font-size: 12px;
  font-weight: 400;
  text-transform: uppercase;
  padding: 10px 0 0px 0;
  border-radius: 0;
  letter-spacing: 1px;
  z-index: 1;
  display: block;
  font-family: "Dosis", sans-serif;
}

/* Przycisk Finalizacji - Kolory */
#cart-checkout-btn.ready-to-pay {
  background-color: #28a745; /* Zielony */
}
#cart-checkout-btn.ready-to-pay:hover {
  background-color: #218838;
}

#cart-checkout-btn.btn-incomplete {
  background-color: #e71c5f; /* Czerwony/Oryginalny */
  opacity: 0.9;
}

/* Przycisk edycji (secondary) */
.secondary-btn {
  background: transparent;
  border: 1px solid #777;
  color: #aaa;
  font-size: 12px;
  padding: 8px 15px;
  cursor: pointer;
  font-family: "Montserrat", sans-serif;
  text-transform: uppercase;
  transition: all 0.3s;
}
.secondary-btn:hover {
  border-color: #fff;
  color: #fff;
}

/* Układ footer w pasku */
.cart-section-footer {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 10px 0px; /* Odstęp od formularza */
}

/* --- JWE TABS (HASHTAG STYLE) --- */
.jwe-tabs-container {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px;
  justify-content: center;
  padding: 0 20px;
}

.jwe-tab {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 30px; /* Okrągłe przyciski */
  background-color: #36362f; /* Tło zbliżone do koszyka */
  color: #fff !important;
  text-decoration: none !important;
  font-family: "Dosis", sans-serif;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.5px;
  opacity: 0.5; /* Inaktywne: 50% przeźroczystości */
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.jwe-tab:hover {
  opacity: 0.8;
  transform: translateY(-2px);
}

.jwe-tab.active {
  opacity: 1; /* Aktywne: bez przeźroczystości */
  background-color: var(--accent-blue); /* Kolor akcentu */
  box-shadow: 0 4px 15px rgba(26, 202, 188, 0.3);
}

/* Reszta styli paska koszyka ... */
.cart-header-badge {
  position: relative;
  color: #ccc;
  font-size: 12px;
  text-transform: uppercase;
  padding: 0 0 5px 0;
  display: block;
  font-family: "Dosis", sans-serif;
}

#cart-checkout-btn.ready-to-pay {
  background-color: #28a745;
}
#cart-checkout-btn.btn-incomplete {
  background-color: #e71c5f;
  opacity: 0.9;
}

.secondary-btn {
  background: transparent;
  border: 1px solid #777;
  color: #aaa;
  font-size: 12px;
  padding: 8px 15px;
  cursor: pointer;
  font-family: "Montserrat", sans-serif;
  text-transform: uppercase;
}

/* --- WIDOK SESJI (SESSION VIEW) --- */
.jwe-sessions-wrapper {
  max-width: 1260px;
  margin: 0 auto;
  padding: 20px;
}

.jwe-session-day-group {
  margin-bottom: 40px;
}

.jwe-session-date-header {
  font-family: "Dosis", sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: #36362f;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
  text-transform: capitalize;
}

.jwe-session-tiles {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.jwe-session-tile {
  position: relative;
  width: 140px;
  height: 140px;
  padding: 15px;
  box-sizing: border-box;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  font-family: "Montserrat", sans-serif;
  transition: all 0.3s ease;
  overflow: hidden;
}

.jwe-session-tile strong {
  font-size: 12px;
  display: block;
  margin-bottom: 5px;
}

.jwe-session-tile .session-name {
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.jwe-session-tile .session-notes {
  font-size: 12px;
  opacity: 0.8;
  line-height: 1.1;
}

/* Statusy sesji */
.jwe-session-tile.status-free {
  background-color: #e71c5f; /* Kolor akcentu */
  color: #fff;
  cursor: pointer;
}

.jwe-session-tile.status-free:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(231, 28, 95, 0.4);
}

.jwe-session-tile.status-reserved {
  background-color: #e0e0e0;
  color: #999;
  cursor: not-allowed;
  opacity: 0.7;
}

.jwe-session-tile.other-event {
  background-color: transparent;
  border: 2px solid #e71c5f;
  color: #36362f;
}

/* Plusik do dodawania */
.jwe-add-plus {
  position: absolute;
  bottom: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: bold;
  pointer-events: none;
}

.status-reserved .jwe-add-plus {
  display: none;
}

.other-event .jwe-add-plus {
  background: #e71c5f;
  color: #fff;
}

/* Reszta styli paska koszyka ... */
.cart-header-badge {
  position: relative;
  color: #ccc;
  font-size: 12px;
  text-transform: uppercase;
  padding: 0 0 5px 0;
  display: block;
  font-family: "Dosis", sans-serif;
}

#cart-checkout-btn.ready-to-pay {
  background-color: #28a745;
}
#cart-checkout-btn.btn-incomplete {
  background-color: #e71c5f;
  opacity: 0.9;
}

.secondary-btn {
  background: transparent;
  border: 1px solid #777;
  color: #aaa;
  font-size: 12px;
  padding: 8px 15px;
  cursor: pointer;
  font-family: "Montserrat", sans-serif;
  text-transform: uppercase;
}


/* --- OBSŁUGA TAGU <sm> W TYTUŁACH --- */
.theme-2026 .event-title sm,
.theme-2026 .event-title small {
    font-size: 0.6em;       /* O połowę mniejsza czcionka */
    font-weight: 300;     /* Nieco lżejsza, by nie przytłaczała */
    display: inline-block;
    line-height: 1;
    vertical-align: middle;
    /*  opacity: 0.8; */ /* Delikatne przyciemnienie */
}


.theme-2026 .label-overlay {
  position: absolute;
  top: 0px;
  left: 0px;
  z-index: 10;
}

.label-notes {
  font-family: "Dosis", sans-serif;
  font-size: 10px;
  font-weight: 500;
  color: #3d3b3b;
  margin-top: 4px;
  width: 127px;
  display: block;
  overflow: hidden;
  line-height: 110%;
  text-align: left;
}


/* --- JWE MODAL (POPUP) --- */
.jwe-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(5px);
}

.jwe-modal-container {
    background: #fff;
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    animation: jweSlideUp 0.3s ease-out;
    overflow: hidden;
}

@keyframes jweSlideUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.jwe-modal-header {
    padding: 20px 25px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fcfcfc;
}

.jwe-modal-header h3 {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    color: #222;
    font-size: 20px;
    text-transform: uppercase;
}

.jwe-modal-close {
    background: none;
    border: none;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    color: #999;
    transition: color 0.2s;
}

.jwe-modal-close:hover { color: #e71c5f; }

.jwe-modal-body {
    padding: 25px;
    overflow-y: auto;
    font-family: 'Dosis', sans-serif;
    font-size: 11px;
    line-height: 1.4em;
    color: #1e1e1e;
}

.jwe-modal-body img { max-width: 100%; height: auto; border-radius: 4px; }

.jwe-modal-footer {
    padding: 15px 25px;
    border-top: 1px solid #eee;
    text-align: right;
    background: #fcfcfc;
}

.jwe-modal-close-btn {
    background: #333;
    color: #fff;
    border: none;
    padding: 10px 25px;
    border-radius: 6px;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    transition: background 0.2s;
}

.jwe-modal-close-btn:hover { background: #e71c5f; }

body.jwe-modal-open { overflow: hidden; }

.jwe-loader {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #e71c5f;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }




/* --- JWE VOD GALLERY SECTION --- */
/* --- JWE VOD GALLERY SECTION --- */

.jwe-vod-title {
    font-family: 'Dosis', sans-serif;
    font-size: 28px;
    font-weight: 600;
    color: #36362f;
    text-align: center;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.jwe-vod-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    padding: 20px;
    max-width: 1260px;
    margin: 0 auto;
}

.vodFrame {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid #f0f0f0;
}

.vodFrame:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(231, 28, 95, 0.15);
    border-color: rgba(231, 28, 95, 0.2);
}

.vodCover {
    width: 100%;
    height: 180px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.vodTitle {
    position: absolute;
    bottom: 15px;
    left: 15px;
    right: 15px;
    color: #fff;
    font-weight: 600;
    font-size: 16px;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

.vodInfo {
    padding: 15px;
    font-size: 14px;
    color: #666;
    margin: 0;
}

/* --- OVERLAY VOD POPUP --- */

.overlayVod {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    z-index: 999999; /* Bardzo wysoki, żeby nic nie przykryło */
    display: none; /* Sterowane przez jQuery fadeIn */
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* Kiedy klasa active jest dodana przez JS */
.overlayVod.active {
    display: flex !important;
}

.overlay-content {
    width: 95%;
    max-width: 1100px;
    background: #000;
    position: relative;
    border-radius: 12px;
    box-shadow: 0 0 40px rgba(0,0,0,1);
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border: 1px solid #333;
}

.overlay-close {
    position: absolute;
    top: -50px;
    right: 0;
    color: #fff;
    font-size: 44px;
    cursor: pointer;
    line-height: 1;
    z-index: 1000000;
    transition: color 0.2s;
}

.overlay-close:hover {
    color: #e71c5f;
}

#vod-content-loader {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Naprawa iframe, żeby wypełniał kontener */
#vod-content-loader iframe {
    width: 100% !important;
    height: 100% !important;
    border: none;
}

/* Spinner ładowania */
.jwe-vod-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255,255,255,0.1);
    border-top: 5px solid #e71c5f;
    border-radius: 50%;
    animation: jwe-spin 1s linear infinite;
}

@keyframes jwe-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@media (max-width: 768px) {
    .overlay-close {
        top: 10px;
        right: 10px;
        background: rgba(0,0,0,0.5);
        border-radius: 50%;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .theme-2026 .event-time-text {
    margin:0px;
  font-size: 1.3rem;
    }
    .theme-2026 .event-date-text {
    font-weight: 600;
    background: transparent;
    font-size: 1.5rem;
    font-weight: 900;
    color: #e5e7e9;
    line-height: 1;
    font-size: 1.3rem;
}
}