/* ================= TOKENS / THEME (único, sem duplicatas) ================= */
:root {
  /* acentos */
  --blue: #2487ff;
  --blue-700: #1f73d6;
  --green: #27c06b;
  --green-700: #1ea45a;
  --danger: #ff4d4f;
  --warning: #ffc107;
}

html {
  scroll-behavior: smooth;
}

/* ================= PÁGINA / CONTAINER ================= */
.event-details-section.bg-black {
  background: linear-gradient(
    2000deg,
    var(--bg) 0 180px,
    var(--page) 180px 100%
  ) !important;
  padding-top: 110px;
  padding-bottom: 90px;
}

.event-details-content {
  color: var(--text);
}

.event-details-content .author h6 {
  margin-bottom: 5px;
  text-transform: capitalize;
}

.event-details-content .author h6 a {
  color: var(--title);
  font-size: inherit;
}

.event-top {
  background: radial-gradient(
      1100px 420px at 40% -120px,
      rgba(36, 135, 255, 0.28),
      transparent 70%
    ),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
  border-radius: 18px;
  padding: 22px;
  align-items: center;
}

.event-bottom-content .title {
  color: var(--title);
  font-weight: 800;
  letter-spacing: 0.2px;
}

.event-details-header ul {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  padding: 0;
  margin: 8px 0 0;
  list-style: none;
}

.event-details-header li {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: #e7e9f2;
  background: var(--chip);
  border: 1px solid var(--stroke);
  border-radius: 999px;
  padding: 6px 12px;
  font-weight: 600;
}

/* ================= CARD DARK (hero info | mídia) ================= */
.event-card-dark {
  position: relative;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 2.2rem;
  align-items: center;
  padding-top: 4rem;
  padding-left: 10rem;
  padding-right: 10rem;
  background: var(--card-bg);
}

.event-info {
  color: var(--text);
  z-index: 1;
}

.event-media {
  position: relative;
  z-index: 1;
  max-width: 560px;
  justify-self: end;
}

.event-details-top .title,
.event-title {
  margin: 0 0 0.75rem;
  font-weight: 800;
  font-size: clamp(1.6rem, 2vw + 0.6rem, 2.4rem);
  letter-spacing: 0.2px;
  color: var(--text);
}

.section {
  margin-top: 22px;
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: 14px;
  padding: 18px;
}

.section h2 {
  margin: 0 0 12px;
  font-size: 1.15rem;
  color: var(--title);
}

/* ================= BADGES ================= */
.badge {
  border-radius: 8px;
  padding: 6px 10px;
  font-weight: 700;
}

.badge-info {
  background: rgba(36, 135, 255, 0.18);
  color: #a9d0ff;
  border: 1px solid rgba(36, 135, 255, 0.35);
}

.badge-success {
  background: rgba(39, 192, 107, 0.18);
  color: #b7f0d1;
  border: 1px solid rgba(39, 192, 107, 0.35);
}

.badge-danger {
  background: rgba(255, 77, 79, 0.18);
  color: #ffc6c7;
  border: 1px solid rgba(255, 77, 79, 0.35);
}

.badge-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: #d7d9df;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

/* ================= PILL DATA (mês/dia) ================= */
.event-top-date {
  width: 74px;
  height: 74px;
  border-radius: 14px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.12),
    rgba(255, 255, 255, 0.06)
  );
  border: 1px solid var(--card-stroke);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: var(--text);
  box-shadow: var(--shadow-glass);
  margin-bottom: 1rem;
}

.event-top-date .event-month {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  line-height: 1;
}

.event-top-date .event-date {
  font-size: 1.3rem;
  font-weight: 800;
  line-height: 1.1;
}

/* ================= META LIST ================= */
.event-meta {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.event-meta li {
  color: var(--text);
  font-size: 0.98rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  opacity: 0.95;
}

.event-meta i {
  color: var(--text-dim);
  font-size: 1rem;
}

.event-details-image {
  position: relative;
  background: white;
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 5px;
  margin-top: 18px;
}

.event-details-image img {
  border-radius: var(--radius-md);
}

.event-details-image .buttons a,
.btn-media {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.25);
  color: var(--primary-color);
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.event-details-image .buttons a:hover,
.btn-media:hover {
  transform: translateY(-2px);
  background: #eef5ff;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.event-details-images .slick-arrow {
  position: absolute;
  z-index: 1;
  top: 50%;
  border: none;
  transform: translateY(-50%);
}

.event-details-images .prev {
  left: 30px;
}

.event-details-images .next {
  right: 30px;
}

.btn-media.active {
  color: var(--accent-2);
}

.event-media-buttons {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  display: flex;
  gap: 0.6rem;
}

/* ================= COLUNAS / LATERAL ================= */
.event-details-content-inner,
.sidebar-sticky .event-details-information {
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}

/* ================= CONTROLES DE QUANTIDADE (mesmas classes/IDs) ================= */
.quantity-input {
  display: inline-flex;
  align-items: center;
  gap: 0;
  background: var(--chip);
  border: 1px solid var(--stroke);
  border-radius: 10px;
  overflow: hidden;
}

.quantity-input .quantity-down,
.quantity-input .quantity-down_variation,
.quantity-input .quantity-up,
.quantity-input #quantityDown,
.quantity-input #quantityUP {
  min-width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  color: var(--text);
  font-weight: 800;
  cursor: pointer;
  transition: 0.15s;
}

.quantity-input .quantity-down:hover,
.quantity-input .quantity-down_variation:hover,
.quantity-input .quantity-up:hover,
.quantity-input #quantityDown:hover,
.quantity-input #quantityUP:hover {
  background: rgba(255, 255, 255, 0.06);
}

.quantity-input input.quantity {
  width: 64px;
  text-align: center;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--title);
  font-weight: 700;
}

/* ================= TABELA DE PREÇOS / TOTAL ================= */
.event_details_information .price-count {
  display: flex;
  flex-wrap: wrap;
  margin-top: 10px;
  margin-bottom: 15px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px dashed #e1e1e1;
}

.event_details_information .price-count h6 {
  margin-bottom: 15px;
  color: var(--title);
}

.event_details_information .price-count h6 del {
  margin-inline-start: 5px;
  font-size: 14px;
}

.total {
  background: #101622;
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 12px 14px;
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#total_price {
  color: var(--green);
  font-weight: 900;
  font-size: 1.35rem;
}

/* ================= BOTÃO RESERVA ================= */
#book-now-btn.theme-btn {
  background: var(--green);
  border: 0;
  color: #061b10 !important;
  font-weight: 800;
  letter-spacing: 0.3px;
  border-radius: 12px;
  padding: 12px 16px;
  box-shadow: 0 8px 28px rgba(39, 192, 107, 0.35);
  transition: 0.15s;
}

#book-now-btn.theme-btn:hover {
  background: var(--green-700);
  transform: translateY(-1px);
}

#book-now-btn.theme-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* ================= ALERTA PERFIL INCOMPLETO ================= */
.alert-warning {
  background: linear-gradient(
    135deg,
    rgba(255, 193, 7, 0.08),
    rgba(255, 193, 7, 0.04)
  ) !important;
  border-color: rgba(255, 193, 7, 0.28) !important;
  color: var(--text) !important;
}

/* ================= LISTAGEM RELACIONADOS ================= */
.related-event-wrap .event-item {
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.related-event-wrap .event-content .price {
  color: var(--title);
  font-weight: 800;
}

.releted-event-header h3 {
  color: var(--title);
  font-weight: 800;
}

.releted-event-header .slick-next-prev button {
  background: var(--chip);
  border: 1px solid var(--stroke);
  color: #e7e9f2;
  width: 36px;
  height: 36px;
  border-radius: 999px;
}

/* ================= BREADCRUMB / HERO ================= */
.page-banner.overlay {
  position: relative;
  background-size: cover;
  background-position: center;
}

.page-banner.overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(11, 13, 18, 0.92) 0%,
    rgba(11, 13, 18, 0.7) 46%,
    rgba(11, 13, 18, 0) 66%
  );
}

.banner-inner {
  position: relative;
  z-index: 1;
}

.page-title {
  color: var(--title) !important;
  font-weight: 900;
}

/* ================= LEIA MAIS ================= */
.click-show .read-more-btn span {
  background: var(--chip);
  border: 1px solid var(--stroke);
  color: #e7e9f2;
  border-radius: 8px;
  padding: 6px 10px;
}

/* ================= RESPONSIVO ================= */
@media (max-width: 1100px) {
  .event-card-dark {
    grid-template-columns: 1fr;
    padding: 1.25rem;
    gap: 1.25rem;
  }

  .event-media {
    max-width: 100%;
    justify-self: stretch;
  }

  .event-media-buttons {
    bottom: 0.75rem;
    right: 0.75rem;
  }

  .event-top {
    padding: 16px;
  }
}

@media (max-width: 520px) {
  .btn-media {
    width: 42px;
    height: 42px;
  }

  .event-top-date {
    width: 68px;
    height: 68px;
  }

  .event-details-top .title,
  .event-title {
    font-size: 1.65rem;
  }
}

@media (max-width: 520px) {
  .event-media {
    max-width: 21.7rem !important;
  }
      .event-details-top .title,
    .event-title {
        font-size: 1.65rem;
        word-break: break-word;
}
}
