/* Organizer - Partner dashboard event header center alignment */
@charset "UTF-8";
.partner-event-card__header {
  text-align: center;
}

.partner-event-card__media {
  width: 100%;
  text-align: center;
}

.partner-event-card__image {
  display: block;
  margin-right: auto;
  margin-left: auto;
  width: 100%;
  max-width: 100%;
  height: auto;
}

.partner-event-card__meta {
  width: 100%;
  text-align: center;
}

.partner-event-card__title {
  float: none !important;
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.partner-event-card__date {
  width: 100%;
  text-align: center;
}

.partner-dashboard-panel {
  width: 100%;
  margin-left: 0 !important;
}

.partner-dashboard-inner {
  max-width: 100%;
  padding-right: 8px;
  padding-left: 8px;
}

.partner-event-card__chart-wrapper {
  width: 100%;
  min-height: 280px;
  height: 280px;
}

.partner-event-card__pie-wrapper {
  width: 100%;
  min-height: 220px;
  height: 220px;
}
/* layout-refactor.css - Refatoração visual frontend Ticketizar */

/* Breakpoints oficiais (limites superiores com .98px para evitar sobreposição):
   ≤320 mobile pequeno | 320-576 mobile | 577-767 mobile/tablets | 768-991 tablets | 992-1199 desktop pequeno | ≥1200 desktop grande */

/* Organizer/Admin: alinhamento do card-header e page-header */
.main-panel .card .card-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.main-panel .card .card-header .card-title {
  flex: 1;
  min-width: 0;
}
.main-panel .card .card-header .float-right {
  flex-shrink: 0;
}
/* Card-header com row: garantir distribuição correta (ex: withdraw) */
.main-panel .card-header .row {
  width: 100%;
  flex: 1 1 100%;
}
.main-panel .card-header.card-header-withdraw {
  width: 100%;
}
.main-panel .card-header.card-header-withdraw .row {
  min-width: 0;
}
.main-panel .page-header {
  flex-wrap: wrap;
  gap: 8px;
}
.main-panel .page-header .breadcrumbs {
  flex: 1;
  min-width: 0;
}

/* Correção: atlantis usa .card-title { color: #FFF } por padrão, invisível em fundo claro */
body[data-background-color="white"] .card .card-header .card-title,
body:not([data-background-color="dark"]) .card .card-header .card-title {
  color: var(--heading) !important;
}
body[data-background-color="white"] .card .card-header .card-title .text-muted,
body[data-background-color="white"] .card .card-header .text-muted,
body:not([data-background-color="dark"])
  .card
  .card-header
  .card-title
  .text-muted,
body:not([data-background-color="dark"]) .card .card-header .text-muted {
  color: var(--text-muted) !important;
}
body[data-background-color="white"] .card .card-header .card-title a,
body:not([data-background-color="dark"]) .card .card-header .card-title a {
  color: var(--primary) !important;
}

/* Cards com fundo claro (booking-card) mantêm texto escuro mesmo no tema dark */
body[data-background-color="dark"] .booking-details-page .booking-card label,
body[data-background-color="dark"] .booking-details-page .booking-card .label,
body[data-background-color="dark"]
  .booking-details-page
  .booking-card
  .booking-card-title-sm,
body[data-background-color="dark"] .booking-details-page .form-group label {
  color: var(--heading) !important;
}
body[data-background-color="dark"]
  .booking-details-page
  .booking-card
  .text-muted,
body[data-background-color="dark"] .booking-details-page .form-text.text-muted {
  color: var(--text-muted) !important;
}

/* Escolha de tipo de evento (organizer e admin): texto escuro legível */
.product-type .card-stats .card-title,
.product-type .card-stats .card-body,
.product-type .card .card-body .card-title,
.product-type .card .numbers,
.product-type .card-stats .card-body .numbers {
  color: var(--heading) !important;
}
body[data-background-color="dark"] .product-type .card .card-body,
body[data-background-color="dark"] .product-type .card-stats .card-body {
  background-color: var(--light) !important;
}
body[data-background-color="dark"] .product-type .card .card-body .card-title,
body[data-background-color="dark"] .product-type .card-stats .card-title,
body[data-background-color="dark"] .product-type .card .numbers {
  color: var(--heading) !important;
}

:root {
  --primary: #4d7d20;
  --primary-hover: #3e651a;
  --heading: #030a15;
  --base: #454545;
  --text-muted: #666;
  --light: #f7f7f7;
  --white: #ffffff;
  --border: #e5e7eb;
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  --header-height: 72px;

  /* Button Colors */
  --secondary: #6c757d;
  --secondary-hover: #5a6268;
  --success: #28a745;
  --success-hover: #218838;
  --danger: #dc3545;
  --danger-hover: #c82333;
  --info: #17a2b8;
  --info-hover: #138496;
}

/* Premium Badges */
.badge-success {
  background-color: var(--success);
  color: var(--white);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: normal;
}

.help-fixed {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--primary);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 32px;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 2000;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s;
}

.help-fixed:hover {
  background: var(--primary-hover);
  color: var(--white);
}

/* Header - preserve .main-header for script.js */
.main-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  min-height: var(--header-height);
}

.main-header .container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.header-content {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding: 12px 0;
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.header-search-row {
  display: flex;
  justify-content: center;
  padding: 12px 0 0;
  width: 100%;
}

.header-search-form {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  max-width: 720px;
  flex-wrap: wrap;
}

.header-search-row .search-container {
  flex: 1;
  min-width: 200px;
  max-width: 560px;
}

.header-location-group {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

.header-location-select-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 36px 10px 40px;
  border-radius: 8px;
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--primary);
  position: relative;
  min-width: 160px;
  box-shadow: var(--shadow);
}

.header-location-select-wrapper .header-location-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: var(--primary);
  pointer-events: none;
}

.header-location-select {
  appearance: none;
  background: transparent;
  border: none;
  color: var(--primary);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  padding: 0;
  width: 100%;
  outline: none;
}

.header-location-select option {
  background: var(--white);
  color: var(--heading);
}

.header-location-select-wrapper .header-location-chevron {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: var(--primary);
  pointer-events: none;
}

.header-location-tooltip {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  padding: 10px 12px 10px 14px;
  border-radius: 8px;
  background: var(--primary);
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  position: relative;
  box-shadow: var(--shadow);
}

.header-location-tooltip.hidden {
  display: none;
}

.header-location-tooltip-arrow {
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 6px solid var(--primary);
}

.header-location-tooltip-icon {
  font-size: 18px;
  flex-shrink: 0;
}

.header-location-tooltip-text {
  flex: 1;
  background: none;
  border: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  padding: 0;
  min-height: 44px;
}

.header-location-tooltip-close {
  flex-shrink: 0;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2px;
  background: transparent;
  border: none;
  color: var(--white);
  cursor: pointer;
  border-radius: 4px;
}

.header-location-tooltip-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.header-location-tooltip-close .material-symbols-outlined {
  font-size: 18px;
}

.nav-item-refactor .nav-item-icon {
  font-size: 18px;
  color: #666;
}

.nav-item-refactor:hover .nav-item-icon {
  color: var(--primary);
}

@media (max-width: 991.98px) {
  .header-top .logo-refactor {
    display: none;
  }

  .main-menu {
    position: relative;
  }

  .main-menu .navbar-collapse {
    left: 0;
    right: 0;
    top: 100%;
    margin-top: 4px;
  }

  .main-menu .navbar-header .logo-mobile img {
    max-height: 48px;
    width: auto;
    display: block;
  }

  .main-menu .navbar-collapse .nav-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    flex-wrap: nowrap;
    display: flex;
  }

  .main-menu .navbar-collapse .nav-item-refactor {
    display: flex;
    align-items: center;
    padding: 4px 16px;
    width: 100%;
    box-sizing: border-box;
    flex-shrink: 0;
  }

  .main-menu .navbar-collapse .nav-item-refactor:first-of-type {
    border-top: none;
  }

  .main-menu .navbar-collapse .menu-right {
    flex-direction: column;
    align-items: stretch;
    margin-inline-start: 0;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid var(--border);
    flex-wrap: nowrap;
    display: flex;
    width: 100%;
  }

  .main-menu .navbar-collapse .menu-right .dropdown {
    width: 100%;
    flex-shrink: 0;
  }

  .main-menu .navbar-collapse .menu-right .profile-btn {
    width: 100%;
    justify-content: flex-start;
  }
}

@media (max-width: 767.98px) {
  .header-search-form {
    flex-direction: column;
    align-items: stretch;
  }

  .header-search-row .search-container {
    max-width: 100%;
  }

  .header-location-group {
    width: 100%;
  }

  .header-location-select-wrapper {
    width: 100%;
    min-width: 0;
  }
}

.main-header .logo-refactor {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  font-size: 24px;
  color: var(--primary);
  flex-shrink: 0;
}

.main-header .logo-refactor img {
  max-height: 56px;
  width: auto;
  display: block;
}

.search-container {
  position: relative;
}

.search-container input {
  width: 100%;
  padding: 10px 16px 10px 48px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--light);
  font-size: 14px;
  outline: none;
}

.search-container .material-symbols-outlined {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
  font-size: 20px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 14px;
  font-weight: 500;
}

.main-menu .menu-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-item-refactor {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.nav-item-refactor:hover {
  color: var(--primary);
}

.nav-item-refactor .nav-dropdown-icon {
  font-size: 18px;
}

/* Uma única seta: esconde o caret do Bootstrap para evitar seta duplicada */
.main-menu .dropdown-toggle::after {
  display: none;
}

.main-menu .dropdown-menu {
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
}

.main-menu .dropdown-menu .dropdown-item {
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
}

.location-selector {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--primary);
  cursor: pointer;
}

.profile-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: none;
  border-radius: 24px;
  background: var(--white);
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: var(--base);
}

.profile-btn:hover {
  background: var(--light);
  color: var(--primary);
}

.profile-btn .material-symbols-outlined {
  font-size: 20px;
  color: inherit;
}

.profile-btn .avatar {
  width: 32px;
  height: 32px;
  background: #eee;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
}

/* Hero / Carousel - 7 eventos: 3 esquerda + 1 centro + 3 direita (estilo Symplä) */
/* Permite que os cartões laterais não sejam cortados pelo page-wrapper (style.css usa overflow: hidden).
   É necessário overflow + overflow-x + overflow-y: visible; só overflow-x vira auto quando o outro é hidden. */
.page-wrapper:has(.hero-section-refactor),
.page-wrapper.hero-carousel-page {
  overflow: visible;
  overflow-x: visible;
  overflow-y: visible;
}

.hero-section-refactor {
  background-color: var(--light);
  padding: 40px 0;
  position: relative;
  overflow: visible;
  min-height: 520px;
}

.carousel-container {
  position: relative;
  width: 100%;
  height: 360px;
  perspective: 1400px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: visible;
}

.carousel-viewport {
  position: relative;
  width: 1760px;
  max-width: 100%;
  height: 100%;
  margin: 0 auto;
  transform-style: flat;
  overflow: visible;
}

.carousel-viewport .carousel-item {
  display: block;
  position: absolute;
  width: 640px;
  height: 340px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  user-select: none;
  backface-visibility: visible;
}

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-item.active {
  z-index: 40;
  transform: translate(-50%, -50%) scale(1.2);
  opacity: 1;
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.4),
    0 0 30px rgba(var(--primary-rgb), 0.3);
}

.carousel-item.pos-1 {
  z-index: 25;
  transform: translate(calc(-50% + 220px), -50%) scale(0.8);
  opacity: 0.85;
}

.carousel-item.pos-2 {
  z-index: 20;
  transform: translate(calc(-50% + 400px), -50%) scale(0.65);
  opacity: 0.6;
}

.carousel-item.pos-3 {
  z-index: 15;
  transform: translate(calc(-50% + 540px), -50%) scale(0.5);
  opacity: 0.4;
}

.carousel-item.pos--1 {
  z-index: 25;
  transform: translate(calc(-50% - 220px), -50%) scale(0.8);
  opacity: 0.85;
}

.carousel-item.pos--2 {
  z-index: 20;
  transform: translate(calc(-50% - 400px), -50%) scale(0.65);
  opacity: 0.6;
}

.carousel-item.pos--3 {
  z-index: 15;
  transform: translate(calc(-50% - 540px), -50%) scale(0.5);
  opacity: 0.4;
}

.carousel-viewport .carousel-item.hidden {
  display: none;
}

.carousel-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  max-width: 1200px;
  left: 50%;
  transform: translate(-50%, -50%);
  display: none;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  pointer-events: none;
  z-index: 50;
  box-sizing: border-box;
}

.carousel-nav .nav-btn {
  width: 56px;
  height: 56px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  pointer-events: auto;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  color: var(--heading);
}

.carousel-nav .nav-btn:hover {
  transform: scale(1.1);
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background-color: rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: background-color 0.2s;
}

.carousel-dot:hover {
  background-color: rgba(0, 0, 0, 0.35);
}

.carousel-dot.active {
  background-color: var(--primary, #2563eb);
  transform: scale(1.2);
}

.carousel-info {
  text-align: center;
  margin-top: 24px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.carousel-info h2 {
  font-size: 28px;
  margin-bottom: 12px;
  font-weight: 800;
  color: var(--heading);
}

.carousel-info .meta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  font-size: 16px;
  color: var(--text-muted);
  margin-top: 8px;
}

.carousel-info .meta span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.carousel-info .meta .material-symbols-outlined {
  font-size: 20px;
  color: var(--primary);
}

/* Carousel responsivo por breakpoint */
@media (max-width: 1199.98px) {
  .carousel-container {
    height: 400px;
  }
  .carousel-viewport .carousel-item {
    width: 600px;
    height: 320px;
  }
  .carousel-item.pos-1 {
    transform: translate(calc(-50% + 180px), -50%) scale(0.85);
  }
  .carousel-item.pos-2 {
    transform: translate(calc(-50% + 320px), -50%) scale(0.7);
  }
  .carousel-item.pos-3 {
    transform: translate(calc(-50% + 420px), -50%) scale(0.55);
  }
  .carousel-item.pos--1 {
    transform: translate(calc(-50% - 180px), -50%) scale(0.85);
  }
  .carousel-item.pos--2 {
    transform: translate(calc(-50% - 320px), -50%) scale(0.7);
  }
  .carousel-item.pos--3 {
    transform: translate(calc(-50% - 420px), -50%) scale(0.55);
  }
  .carousel-nav {
    display: flex;
    padding: 0 12px;
    z-index: 50;
  }
  .carousel-nav .nav-btn {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
  }
}

@media (max-width: 991.98px) {
  .hero-section-refactor {
    min-height: 480px;
  }
  .carousel-container {
    height: 340px;
  }
  .carousel-viewport .carousel-item {
    width: 520px;
    height: 280px;
  }
  .carousel-item.pos-1 {
    transform: translate(calc(-50% + 140px), -50%) scale(0.85);
  }
  .carousel-item.pos-2 {
    transform: translate(calc(-50% + 240px), -50%) scale(0.7);
  }
  .carousel-item.pos-3 {
    transform: translate(calc(-50% + 320px), -50%) scale(0.55);
  }
  .carousel-item.pos--1 {
    transform: translate(calc(-50% - 140px), -50%) scale(0.85);
  }
  .carousel-item.pos--2 {
    transform: translate(calc(-50% - 240px), -50%) scale(0.7);
  }
  .carousel-item.pos--3 {
    transform: translate(calc(-50% - 320px), -50%) scale(0.55);
  }
  .carousel-nav {
    display: flex;
    padding: 0 8px;
    z-index: 50;
  }
  .carousel-nav .nav-btn {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
  }
  .carousel-info h2 {
    font-size: 20px;
  }
  .carousel-info .meta {
    font-size: 14px;
  }
}

@media (max-width: 767.98px) {
  .hero-section-refactor {
    min-height: 420px;
  }
  .carousel-container {
    height: 280px;
  }
  .carousel-viewport .carousel-item {
    width: 420px;
    height: 220px;
  }
  .carousel-item.pos-1 {
    transform: translate(calc(-50% + 100px), -50%) scale(0.8);
  }
  .carousel-item.pos--1 {
    transform: translate(calc(-50% - 100px), -50%) scale(0.8);
  }
  /* Hide extreme sides on tablet to keep it clean */
  .carousel-item.pos-2,
  .carousel-item.pos-3,
  .carousel-item.pos--2,
  .carousel-item.pos--3 {
    opacity: 0;
    pointer-events: none;
  }
  .carousel-nav {
    display: flex;
    padding: 0 4px;
    z-index: 50;
  }
  .carousel-nav .nav-btn {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
  }
  .carousel-nav .nav-btn .material-symbols-outlined {
    font-size: 20px;
  }
  .carousel-info {
    margin-top: 16px;
  }
  .carousel-info h2 {
    font-size: 18px;
  }
  .carousel-info .meta {
    flex-direction: column;
    gap: 4px;
    font-size: 13px;
  }
  .category-carousel-viewport {
    padding: 0 32px;
  }
  .category-carousel-wrap .category-card {
    min-width: 90px;
    max-width: 105px;
  }
  .category-carousel-wrap .category-grid {
    gap: 10px;
  }
  .category-card {
    padding: 6px;
    border-radius: 8px;
  }
  .category-card .material-symbols-outlined {
    font-size: 24px;
    margin-bottom: 4px;
  }
  .category-card span:not(.material-symbols-outlined) {
    font-size: 12px;
  }
  .category-carousel-btn {
    width: 30px;
    height: 30px;
  }
}

@media (max-width: 578px) {
  .hero-section-refactor {
    min-height: 280px;
    padding: 20px 0;
  }
  .carousel-container {
    height: 50vw;
  }
  .carousel-viewport .carousel-item {
    width: 72.6vw; /* Mantém proporção de 420px para tela de 578px */
    height: 38vw; /* Mantém proporção de 220px para tela de 578px */
  }
  .carousel-item.pos-1 {
    transform: translate(calc(-50% + 17.3vw), -50%) scale(0.8);
    opacity: 0.7;
    pointer-events: auto;
    display: block !important;
  }
  .carousel-item.pos--1 {
    transform: translate(calc(-50% - 17.3vw), -50%) scale(0.8);
    opacity: 0.7;
    pointer-events: auto;
    display: block !important;
  }
  .carousel-item.pos-2,
  .carousel-item.pos-3,
  .carousel-item.pos--2,
  .carousel-item.pos--3 {
    display: none !important;
  }
  .carousel-nav .nav-btn {
    width: 32px;
    height: 32px;
  }
  .carousel-info h2 {
    font-size: 16px;
  }
  .carousel-info .meta {
    gap: 8px;
    font-size: 12px;
  }
  .category-carousel-viewport {
    padding: 0 28px;
  }
  .category-carousel-wrap .category-card {
    min-width: 80px;
    max-width: 92px;
  }
  .category-carousel-wrap .category-grid {
    gap: 8px;
  }
  .category-card {
    padding: 6px;
    border-radius: 8px;
  }
  .category-card .material-symbols-outlined {
    font-size: 22px;
    margin-bottom: 4px;
  }
  .category-card span:not(.material-symbols-outlined) {
    font-size: 11px;
  }
  .category-carousel-btn {
    width: 28px;
    height: 28px;
  }
}

@media (max-width: 320px) {
  /* Mantido padrão de 578px conforme solicitado */
}

/* Sections */
.section-padding {
  padding: 5px 0;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 24px;
}

.section-title-refactor {
  font-size: 20px;
  color: #000 !important;
  font-weight: 800 !important;
}

.hero-carousel-page h3 {
  color: #000 !important;
  font-weight: 800 !important;
}

.view-all {
  color: var(--primary);
  font-weight: 600;
  font-size: 14px;
}

.category-carousel-wrap {
  position: relative;
  margin: 0 -8px;
}

.category-carousel-viewport {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0 44px;
}

.category-carousel-viewport::-webkit-scrollbar {
  display: none;
}

.category-carousel-wrap .category-grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 16px;
  grid-template-columns: unset;
  padding: 4px 8px;
}

.category-carousel-wrap .category-card {
  flex: 0 0 auto;
  min-width: 120px;
  max-width: 140px;
}

.category-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
  color: var(--heading);
}

.category-carousel-btn:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  transform: translateY(-50%) scale(1.1);
}

.category-carousel-prev {
  left: 0;
}

.category-carousel-next {
  right: 0;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 16px;
}

.category-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px;
  text-align: center;
  transition: box-shadow 0.2s;
  cursor: pointer;
}

.category-card:hover {
  box-shadow: var(--shadow);
}

.category-card .material-symbols-outlined {
  font-size: 32px;
  color: #777;
  margin-bottom: 8px;
  display: block;
}

.category-card span:not(.material-symbols-outlined) {
  font-size: 14px;
  line-height: 1.5;
  font-weight: 500;
  display: block;
}

.organizer-category-tabs .category-tab-card {
  border: 1px solid var(--border);
  background: var(--white);
  min-height: 120px;
}

.organizer-category-tabs .category-tab-card.active {
  border-color: var(--primary);
  box-shadow: var(--shadow);
}

.organizer-category-tabs .category-tab-image {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin: 0 auto 4px;
  display: block;
}

.event-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* Ajustes específicos da página de eventos no layout novo */
.events-page-refactor .event-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.events-page-refactor .price-filter-widget .price-btn {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 12px;
}

.events-page-refactor .price-filter-widget .price-btn input {
  display: block;
  flex: 0 0 100%;
  width: 100%;
}

.events-page-refactor .price-filter-widget .price-btn-row {
  display: block;
  flex: 0 0 100%;
  width: 100%;
}

.events-page-refactor .price-filter-widget .price-btn-row .btn-primary {
  width: 100%;
  text-align: center;
}

.events-page-refactor .widget-select {
  width: 100%;
  height: 42px;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background-color: var(--white) !important;
  color: var(--base) !important;
}

.events-page-refactor .widget-select option {
  background-color: var(--white);
  color: var(--base);
}

.organizer-page-refactor .organizer-grid-refactor > [class*="col-"] {
  display: flex;
}

.organizer-page-refactor .organizer-card-refactor {
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.organizer-page-refactor .organizer-card-refactor:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(16, 24, 40, 0.12);
}

.organizer-page-refactor .organizer-card-figure-refactor {
  margin-bottom: 16px !important;
}

.organizer-page-refactor .organizer-card-figure-refactor img {
  border-radius: 12px;
}

.organizer-page-refactor .organizer-card-content-refactor {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.organizer-page-refactor .organizer-card-content-refactor .card-title a {
  font-size: 13px;
  line-height: 1.3;
}

.organizer-page-refactor .organizer-profile-link-refactor {
  margin-top: auto;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 10px 14px;
  border-radius: 10px;
  background: #ecf3ff;
  color: #1d4ed8;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
}

.organizer-page-refactor .organizer-profile-link-refactor:hover {
  background: #dbeafe;
  color: #1e40af;
  text-decoration: none;
}

.event-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition:
    transform 0.3s,
    box-shadow 0.3s;
  cursor: pointer;
}

.events-page-refactor .event-grid .event-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.event-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.event-img {
  height: 160px;
  width: 100%;
  object-fit: cover;
}

.event-content {
  padding: 16px;
}

.events-page-refactor .event-content {
  min-height: 136px;
  display: flex;
  flex-direction: column;
}

.event-title {
  font-size: 14px;
  margin-bottom: 4px;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.event-loc {
  font-size: 12px;
  color: #666;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.event-date {
  font-size: 12px;
  color: #999;
}

.events-page-refactor .event-date {
  margin-top: auto;
}

.small-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.small-card {
  display: flex;
  background: var(--white);
  border-radius: 8px;
  border: 1px solid var(--border);
  overflow: hidden;
  height: 96px;
}

.small-card-img {
  width: 96px;
  height: 96px;
  position: relative;
}

.small-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Badge sobre imagem do small-card apenas - NÃO aplicar a outros .badge (Bootstrap, status, etc.) */
.small-card-img .badge {
  background: rgba(0, 0, 0, 0.8);
  color: white;
  font-size: 9px;
  font-weight: 700;
  padding: 2px 6px;
  text-transform: uppercase;
}

.small-card-img .badge.pink {
  background: #e91e63;
}

.small-card-content {
  padding: 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.last-call-section {
  padding-top: 0;
}

.last-call-grid {
  grid-template-columns: 1fr 1fr;
}

.last-call-card {
  min-height: 108px;
  border: 1px solid var(--border);
  align-items: stretch;
}

.last-call-card .small-card-img {
  flex-shrink: 0;
}

.last-call-badge-low-stock {
  top: 22px;
}

.last-call-card .small-card-content {
  justify-content: flex-start;
  gap: 3px;
  min-width: 0;
  overflow: hidden;
}

.last-call-card .small-card-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
  color: var(--dark);
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.last-call-card .small-card-loc {
  font-size: 13px;
  color: #666;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.last-call-card .small-card-date {
  font-size: 12px;
  color: #999;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.promo-banner {
  background: linear-gradient(90deg, #00c6ff 0%, #0072ff 100%);
  border-radius: 16px;
  padding: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
  margin-bottom: 48px;
}

.promo-text h2 {
  font-size: 32px;
  color: white;
  font-style: italic;
  font-weight: 900;
}

.discover-btn {
  background: #ffd600;
  color: #003366;
  padding: 14px 32px;
  border-radius: 32px;
  font-weight: 700;
  border: none;
  cursor: pointer;
}

.city-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.city-card {
  height: 240px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.city-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.city-card:hover img {
  transform: scale(1.1);
}

.city-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  display: flex;
  align-items: flex-end;
  padding: 16px;
  color: white;
  font-weight: 700;
  font-size: 18px;
}

.cta-section {
  background: var(--light);
  padding: 10px 0;
  margin-top: 48px;
  font-family: "Plus Jakarta Sans", sans-serif;
  color: var(--base);
}

.cta-section .container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.cta-section .cta-content {
  display: flex;
  align-items: center;
  gap: 60px;
}

.cta-section .cta-info {
  flex: 1;
}

.cta-section .cta-label {
  background: var(--heading);
  color: var(--white);
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  display: inline-block;
  margin-bottom: 20px;
  font-family: "Plus Jakarta Sans", sans-serif;
}

.cta-section .cta-info h2 {
  font-size: 32px;
  line-height: 1.25;
  margin-bottom: 28px;
  color: var(--heading);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
}

.cta-section .cta-info h2 span {
  color: var(--primary);
}

.cta-section .cta-features {
  display: flex;
  gap: 40px;
  margin-bottom: 36px;
}

.cta-section .cta-feature {
  max-width: 200px;
}

.cta-section .cta-feature .material-symbols-outlined {
  color: var(--primary);
  font-size: 28px;
  margin-bottom: 8px;
  display: block;
}

.cta-section .cta-feature p {
  font-size: 14px;
  font-weight: 500;
  color: var(--base);
  line-height: 1.5;
}

.cta-section .cta-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.cta-section .btn-primary {
  background: var(--primary);
  color: var(--white);
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  border: none;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  font-family: "Plus Jakarta Sans", sans-serif;
}

.cta-section .btn-primary:hover {
  background: var(--primary-hover);
  color: var(--white);
}

.cta-section .btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: 10px 22px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.2s,
    color 0.2s;
  font-family: "Plus Jakarta Sans", sans-serif;
}

.cta-section .btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}

.cta-section .cta-image {
  flex: 1;
  background: var(--white);
  border-radius: 16px;
  padding: 16px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.cta-section .laptop-mockup {
  width: 100%;
  height: 300px;
  background: var(--light);
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

.cta-section .laptop-mockup img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 8px;
}

/* Botões primário/outline genéricos (fora do CTA) */
.btn {
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  font-family: "Plus Jakarta Sans", sans-serif;
  gap: 8px;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 12px;
}

.btn-xs {
  padding: 4px 10px;
  font-size: 11px;
}

.btn-lg {
  padding: 14px 32px;
  font-size: 16px;
}

.btn-primary {
  background: var(--primary) !important;
  color: var(--white) !important;
  border: none !important;
}

.btn-primary:hover {
  background: var(--primary-hover) !important;
  color: var(--white) !important;
}

.btn-secondary {
  background: var(--secondary) !important;
  color: var(--white) !important;
  border: none !important;
}

.btn-secondary:hover {
  background: var(--secondary-hover) !important;
  color: var(--white) !important;
}

.btn-success {
  background: var(--success) !important;
  color: var(--white) !important;
  border: none !important;
}

.btn-success:hover {
  background: var(--success-hover) !important;
  color: var(--white) !important;
}

.btn-danger {
  background: var(--danger) !important;
  color: var(--white) !important;
  border: none !important;
}

.btn-danger:hover {
  background: var(--danger-hover) !important;
  color: var(--white) !important;
}

.btn-info {
  background: var(--info) !important;
  color: var(--white) !important;
  border: none !important;
}

.btn-info:hover {
  background: var(--info-hover) !important;
  color: var(--white) !important;
}

.btn-outline {
  background: transparent !important;
  color: var(--primary) !important;
  border: 2px solid var(--primary) !important;
}

.btn-outline:hover {
  background: var(--primary) !important;
  color: var(--white) !important;
}

/* Feature Section (Event Features) - novo estilo */
.feature-grid-refactor {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card-refactor {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  transition: box-shadow 0.2s;
}

.feature-card-refactor:hover {
  box-shadow: var(--shadow);
}

.feature-card-refactor .feature-icon {
  font-size: 40px;
  color: var(--primary);
  margin-bottom: 16px;
  display: block;
}

.feature-card-refactor h4 {
  font-size: 16px;
  margin-bottom: 8px;
  color: var(--heading);
}

.feature-card-refactor p {
  font-size: 13px;
  color: #666;
  line-height: 1.5;
}

/* How Work Section - novo estilo */
.how-work-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.how-work-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  transition: box-shadow 0.2s;
}

.how-work-card:hover {
  box-shadow: var(--shadow);
}

.how-work-card .step-number {
  display: inline-block;
  width: 32px;
  height: 32px;
  line-height: 32px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 12px;
}

.how-work-card .step-icon {
  font-size: 32px;
  color: var(--primary);
  margin-bottom: 12px;
  display: block;
}

.how-work-card h4 {
  font-size: 16px;
  margin-bottom: 8px;
  color: var(--heading);
}

.how-work-card p {
  font-size: 13px;
  color: #666;
  line-height: 1.5;
}

/* Testimonial Section - novo estilo */
.testimonial-grid-refactor {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.testimonial-card-refactor {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  transition: box-shadow 0.2s;
}

.testimonial-card-refactor:hover {
  box-shadow: var(--shadow);
}

.testimonial-card-refactor .author-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.testimonial-card-refactor .author-row img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-card-refactor .author-row .author-info h4 {
  font-size: 16px;
  margin-bottom: 4px;
  color: var(--heading);
}

.testimonial-card-refactor .author-row .author-info .occupation {
  font-size: 12px;
  color: #666;
}

.testimonial-card-refactor .rating {
  color: #f59e0b;
  font-size: 14px;
  margin-top: 4px;
}

.testimonial-card-refactor .comment {
  font-size: 14px;
  color: var(--base);
  line-height: 1.5;
}

/* Partner Section - novo estilo */
.partner-grid-refactor {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  align-items: center;
}

.partner-item-refactor {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: box-shadow 0.2s;
  min-height: 80px;
  min-width: 140px;
  max-width: 180px;
}

.partner-item-refactor:hover {
  box-shadow: var(--shadow);
}

.partner-item-refactor img {
  max-width: 100%;
  max-height: 48px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.section-title-center {
  text-align: center;
  margin-bottom: 32px;
}

.section-title-center .section-title-refactor {
  margin-bottom: 8px;
}

.section-title-center p {
  font-size: 14px;
  color: var(--text-muted);
}

/* About - novo layout */
.about-section-refactor {
  font-family: "Plus Jakarta Sans", sans-serif;
}

.about-section-refactor .container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.about-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.about-image-refactor {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
}

.about-main-title {
  margin-bottom: 16px;
  color: var(--heading);
  font-weight: 800;
}

.about-subtitle {
  margin-bottom: 24px;
  font-size: 16px;
  color: var(--base);
  line-height: 1.6;
}

.about-body {
  font-size: 15px;
  color: var(--base);
  line-height: 1.6;
}

.about-body .section-title,
.about-body .feature-item,
.about-body .feature-content {
  margin: 0 0 24px 0 !important;
  padding: 0 !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  background: none !important;
  display: block !important;
  font-family: "Plus Jakarta Sans", sans-serif !important;
  color: var(--base) !important;
}

.about-body .section-title h2,
.about-body .feature-content h4,
.about-body h2.section-title-refactor,
.about-body .about-body-inner h3 {
  margin: 0 0 12px 0 !important;
  padding: 0 !important;
  border: none !important;
  font-size: 20px !important;
  line-height: 1.4 !important;
  font-family: "Plus Jakarta Sans", sans-serif !important;
  font-weight: 700 !important;
  color: var(--heading) !important;
}

.about-body .feature-content p,
.about-body p,
.about-body .about-body-inner p {
  margin: 0 0 16px 0 !important;
  padding: 0 !important;
  border: none !important;
  font-size: 15px !important;
  color: var(--base) !important;
  line-height: 1.6 !important;
  font-family: "Plus Jakarta Sans", sans-serif !important;
}

.about-body .feature-item:last-child {
  margin-bottom: 0 !important;
}

.about-section-refactor .about-content.about-body {
  font-family: "Plus Jakarta Sans", sans-serif;
  color: var(--base);
}

.about-body .about-body-inner {
  font-family: "Plus Jakarta Sans", sans-serif;
  color: var(--base);
  font-size: 15px;
  line-height: 1.6;
}

.about-body .about-body-inner * {
  font-family: inherit;
  color: inherit;
}

.about-body .about-body-inner h3 {
  color: var(--heading);
  font-weight: 700;
  font-size: 20px;
  margin-top: 24px;
  margin-bottom: 8px;
}

.about-body .about-body-inner h3:first-child {
  margin-top: 0;
}

@media (max-width: 991.98px) {
  .about-content-grid {
    grid-template-columns: 1fr;
  }
}

/* ========== Páginas internas: banner, sidebar, formulários ========== */
.page-banner-refactor {
  background-color: var(--light);
  background-image: none !important;
  background-size: cover;
  background-position: center;
  padding: 5px 0;
  border-bottom: 1px solid var(--border);
}

.page-banner-refactor .container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.page-banner-refactor .page-title-refactor {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 12px;
}

.page-banner-refactor .breadcrumb-refactor {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #666;
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-banner-refactor .breadcrumb-refactor a {
  color: var(--primary);
}

.page-banner-refactor .breadcrumb-refactor .separator {
  color: #999;
}

.sidebar-refactor {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}

.sidebar-refactor .links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-refactor .links li {
  margin-bottom: 4px;
}

.sidebar-refactor .links a {
  display: block;
  padding: 10px 12px;
  color: var(--base);
  text-decoration: none;
  font-size: 14px;
  border-radius: 8px;
}

.sidebar-refactor .links a:hover,
.sidebar-refactor .links a.active {
  background: var(--light);
  color: var(--primary);
  font-weight: 500;
}

/* Menu hambúrguer para telas menores que 991px */
@media (max-width: 991.98px) {
  .sidebar-toggle-btn {
    display: block !important;
    position: static !important;
    margin-bottom: 15px !important;
    margin-left: 0 !important;
    margin-top: 0 !important;
  }

  .sidebar-refactor {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 280px !important;
    height: 100vh !important;
    z-index: 999 !important;
    margin: 0 !important;
    border-radius: 0 !important;
    border: none !important;
    border-right: 1px solid var(--border) !important;
    transform: translateX(-100%) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    overflow-y: auto !important;
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.1) !important;
  }

  .sidebar-refactor.active {
    transform: translateX(0) !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .content-with-sidebar {
    display: block !important;
  }

  .content-main-refactor {
    width: 100% !important;
  }

  /* Overlay para fechar o menu */
  .sidebar-overlay {
    display: none !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.5) !important;
    z-index: 998 !important;
    opacity: 0 !important;
    transition: opacity 0.3s ease !important;
  }

  .sidebar-overlay.active {
    display: block !important;
    opacity: 1 !important;
  }
}

.widget-refactor {
  margin-bottom: 24px;
}

.widget-refactor:last-child {
  margin-bottom: 0;
}

.widget-refactor .widget-title-refactor {
  font-size: 14px;
  font-weight: 700;
}

.widget-refactor p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
}

.widget-refactor p:last-child {
  margin-bottom: 0;
}

.widget-refactor a {
  color: var(--primary);
  text-decoration: none;
}

.widget-refactor a:hover {
  text-decoration: underline;
  color: var(--primary-hover);
}

.form-group-refactor {
  margin-bottom: 16px;
}

.form-group-refactor label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--heading);
  margin-bottom: 6px;
}

.form-group-refactor input[type="text"],
.form-group-refactor input[type="email"],
.form-group-refactor input[type="password"],
.form-group-refactor input[type="number"],
.form-group-refactor select,
.form-group-refactor textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  font-size: 14px;
  color: var(--base);
  outline: none;
}

.form-group-refactor input:focus,
.form-group-refactor select:focus,
.form-group-refactor textarea:focus {
  border-color: var(--primary);
}

.form-card-refactor {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  max-width: 560px;
  margin: 0 auto;
}

.form-card-refactor--auth {
  max-width: 480px;
}

.form-card-refactor--auth-signup {
  max-width: 760px;
}

.form-card-refactor--auth-login {
  max-width: 560px;
}

.form-card-refactor--auth .theme-btn {
  min-width: 150px;
}

.auth-links-refactor {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.auth-links-refactor p {
  margin-bottom: 0;
}

.form-card-refactor .form-title-refactor {
  font-size: 20px;
  font-weight: 700;
}

.form-card-refactor .form-group-refactor p.text-danger,
.form-card-refactor .form-group-refactor .text-danger {
  font-size: 13px;
  margin-top: 4px;
  margin-bottom: 0;
}

/* Botão hambúrguer para mobile/tablet */
.sidebar-toggle-btn {
  display: none;
  position: static;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 6px;
  padding: 10px 12px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: background 0.2s;
  margin-bottom: 20px;
}

.sidebar-toggle-btn:hover {
  background: var(--primary-hover);
}

.sidebar-toggle-btn:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.hamburger-line {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  margin: 3px 0;
  transition: all 0.3s ease;
  border-radius: 1px;
}

/* Estado ativo do hambúrguer (transforma em X) */
.sidebar-toggle-btn.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.sidebar-toggle-btn.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.sidebar-toggle-btn.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

.content-with-sidebar {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  align-items: start;
}

.content-with-sidebar--form {
  grid-template-columns: 1fr 1.5fr;
}

.contact-page-refactor {
  grid-template-columns: 1fr 1fr;
}

.contact-page-refactor .sidebar-refactor {
  height: 100%;
}

.contact-page-refactor .form-card-refactor.content-main-refactor {
  width: 100%;
  max-width: none;
  margin: 0;
}

.content-with-sidebar--details {
  grid-template-columns: 1fr 380px;
}

.event-details-section .sidebar-refactor .widget-refactor {
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow);
  background: var(--white);
  padding: 22px;
}

.event-details-section
  .sidebar-refactor
  .sidebar-sticky.widget-refactor
  > form {
  width: 100%;
}

.event-details-section .event-details-information {
  display: flex;
  flex-direction: column;
  padding: 0;
  background: transparent;
  box-shadow: none;
  border: 0;
}

.event-details-section .event-details-information > * {
  width: 100%;
}

.event-details-section .event-details-information .form-group {
  margin: 0;
}

.event-details-section .event-details-information .event-details-top {
  border: 1px solid rgba(77, 125, 32, 0.25);
  border-radius: 10px;
  padding: 6px 10px;
  min-width: 0;
  overflow: hidden;
}

.event-details-section .event-details-information .event-details-top p,
.event-details-section .event-details-information .event-details-top h2 {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--heading);
}

.event-details-section .event-details-information > b {
  color: var(--heading);
  font-size: 15px;
  font-weight: 700;
}

.event-details-section .event-details-information hr {
  margin: 0;
  border-top: 1px solid var(--border);
}

.event-details-section .event-details-information .author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0 2px;
}

.event-details-section .event-details-information .author img {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid var(--border);
}

.event-details-section .event-details-information .author .content h6 {
  margin: 0 0 4px;
  font-size: 15px;
}

.event-details-section .event-details-information .author .content a {
  font-size: 13px;
}

.event-details-section .event-details-information .dropdown.show {
  margin: 0;
  padding: 0 !important;
}

.event-details-section .event-details-information .dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #ebebeb;
  color: var(--heading);
  font-weight: 600;
  text-decoration: none;
}

.event-details-section .event-details-information .dropdown-toggle::after {
  margin-left: auto;
}

.event-details-section .event-details-information .dropdown-menu {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: var(--shadow);
  padding: 8px;
}

.event-details-section .event-details-information .dropdown-item {
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 13px;
}

.event-details-section .event-details-information .ticket-item-refactor {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  background: #f9fafb;
  margin-bottom: 20px;
}

.event-details-section .event-details-information .price-count {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
}

.event-details-section .event-details-information .price-count h6 {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  color: var(--heading);
}

.section-title-refactor {
  display: block;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--info);
  margin: 1.5rem 0;
  text-align: center;
}

.event-details-section .event-details-information .price-count del {
  font-size: 13px;
  color: var(--text-muted);
  margin-left: 8px;
}

.event-details-section .event-details-information .quantity-input {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  background: var(--white);
}

.event-details-section .event-details-information .ticket-closed-text {
  display: inline-block;
  font-style: italic;
  color: #9ca3af;
  line-height: 1;
}

.event-details-section .event-details-information .quantity-input button {
  width: 36px;
  height: 36px;
  border: 0;
  background: #f3f4f6;
  color: var(--heading);
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  transition: all 0.2s;
  cursor: pointer;
}

.event-details-section
  .event-details-information
  .quantity-input
  button.quantity-up,
.event-details-section
  .event-details-information
  .quantity-input
  button.quantity-up_variation {
  background: var(--info);
  color: var(--white);
}

.event-details-section
  .event-details-information
  .quantity-input
  button.quantity-up:hover,
.event-details-section
  .event-details-information
  .quantity-input
  button.quantity-up_variation:hover {
  background: var(--info-hover);
}

.event-details-section
  .event-details-information
  .quantity-input
  input.quantity {
  width: 56px;
  height: 36px;
  border: 0;
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  color: var(--heading);
  background: var(--white);
}

.event-details-section .event-details-information .total {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  background: #f4f9ee;
}

.event-details-section .event-details-information .total b {
  font-size: 14px;
}

.event-details-section .event-details-information .total .h4 {
  font-size: 26px;
  font-weight: 800;
  color: var(--primary);
}

.event-details-section .event-details-information .theme-btn.w-100 {
  min-height: 50px;
  border-radius: 12px;
  font-family: inherit;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background-color: var(--primary);
  color: var(--white);
  border: none;
  box-shadow: 0 4px 15px rgba(255, 60, 0, 0.2);
  transition: all 0.3s ease;
}

.event-details-section .event-details-information .theme-btn.w-100:hover {
  background-color: #17a2b8;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 60, 0, 0.3);
}

.event-details-section .event-details-information .theme-btn.w-100.theme-btn--disabled,
.event-details-section .event-details-information .theme-btn.w-100:disabled {
  background-color: #adb5bd;
  color: #f8f9fa;
  box-shadow: none;
  cursor: not-allowed;
  opacity: 0.85;
  transform: none;
}

.event-details-section .event-details-information .theme-btn.w-100.theme-btn--disabled:hover,
.event-details-section .event-details-information .theme-btn.w-100:disabled:hover {
  background-color: #adb5bd;
  transform: none;
  box-shadow: none;
}

.event-details-section .event-booking-closed .theme-btn--event-ended,
.event-details-section .event-booking-closed .theme-btn.w-100.theme-btn--event-ended:disabled {
  background-color: #495057;
  color: #e9ecef;
  box-shadow: none;
  cursor: not-allowed;
  opacity: 1;
  transform: none;
  min-height: 50px;
  border-radius: 12px;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0.02em;
  border: none;
}

.event-details-section .event-booking-closed .theme-btn--event-ended:hover,
.event-details-section .event-booking-closed .theme-btn.w-100.theme-btn--event-ended:disabled:hover {
  background-color: #495057;
  transform: none;
  box-shadow: none;
}

.event-start-info {
  background: rgba(var(--primary-rgb, 255, 60, 0), 0.05);
  border: 1px dashed rgba(var(--primary-rgb, 255, 60, 0), 0.2);
  padding: 5px;
  border-radius: 10px;
  font-size: 14px;
  color: var(--text-main);
  line-height: 1.4;
}

.event-start-info strong {
  color: var(--primary);
  /* font-family inherit from container or primary */
}

.content-main-refactor {
  min-width: 0;
}

.content-main-refactor .form-card-refactor {
  max-width: none;
  margin: 0;
}

.organizer-details-refactor {
  grid-template-columns: 340px 1fr;
  gap: 24px;
}

.organizer-details-refactor .widget-refactor {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
}

.organizer-details-refactor .author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.organizer-details-refactor .author .author-img {
  width: 84px;
  height: 84px;
  border-radius: 12px;
  overflow: hidden;
  flex: 0 0 84px;
}

.organizer-details-refactor .author .author-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.organizer-details-refactor .author .author-info h3 {
  font-size: 18px;
  margin-bottom: 4px !important;
}

.organizer-details-refactor .author .author-info h6 {
  font-size: 13px;
  margin-bottom: 4px !important;
  color: var(--text-muted);
}

.organizer-details-refactor .social-style-one {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.organizer-details-refactor .social-style-one .widget-title-refactor {
  margin: 0 !important;
  margin-right: 6px !important;
  line-height: 1.2;
}

.organizer-details-refactor .social-style-one a {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  background: var(--white);
  transition: all 0.2s ease;
}

.organizer-details-refactor .social-style-one a:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.organizer-details-refactor .toggle-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.organizer-details-refactor .toggle-list .first {
  color: var(--heading);
  font-weight: 600;
}

.organizer-details-refactor .toggle-list .last {
  text-align: right;
}

/* Footer - layout compacto e responsivo (breakpoints oficiais) */
.footer-section-refactor,
footer.footer-refactor {
  background: var(--white);
  color: var(--heading);
  border-top: 1px solid var(--border);
  padding-top: 32px;
  padding-bottom: 24px;
  font-family: "Plus Jakarta Sans", sans-serif;
}

.footer-section-refactor .container,
footer.footer-refactor .container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 24px 28px;
  margin-bottom: 28px;
}

.footer-section-refactor .footer-logo-refactor,
footer.footer-refactor .footer-logo-refactor {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  font-size: 20px;
  color: var(--primary);
  margin-bottom: 12px;
  display: block;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-section-refactor .footer-logo-refactor:hover,
footer.footer-refactor .footer-logo-refactor:hover {
  color: var(--primary-hover);
}

.footer-logo-refactor img {
  max-height: 72px;
  width: auto;
  display: block;
}

.footer-col-main > p {
  margin-top: 8px;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
  max-width: 260px;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.footer-col-main .social-links {
  margin-top: 14px;
}

.app-badges {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}

.app-badge {
  background: var(--heading);
  color: var(--white);
  padding: 4px 10px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
}

.footer-section-refactor .footer-col h4,
footer.footer-refactor .footer-col h4 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 12px;
  color: var(--heading);
  font-weight: 700;
}

.footer-section-refactor .footer-col ul li,
footer.footer-refactor .footer-col ul li {
  margin-bottom: 6px;
  font-size: 12px;
  color: var(--text-muted);
}

.footer-section-refactor .footer-col ul li a,
footer.footer-refactor .footer-col ul li a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-section-refactor .footer-col ul li a:hover,
footer.footer-refactor .footer-col ul li a:hover {
  color: var(--primary);
}

.footer-section-refactor .social-links,
footer.footer-refactor .social-links {
  display: flex;
  gap: 12px;
}

.footer-section-refactor .social-links a,
footer.footer-refactor .social-links a {
  color: var(--text-muted);
  transition: color 0.2s;
  font-size: 14px;
}

.footer-section-refactor .social-links a:hover,
footer.footer-refactor .social-links a:hover {
  color: var(--primary);
}

.footer-section-refactor .footer-bottom,
footer.footer-refactor .footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 11px;
  color: var(--text-muted);
}

.footer-section-refactor .footer-links a,
footer.footer-refactor .footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-section-refactor .footer-links a:hover,
footer.footer-refactor .footer-links a:hover {
  color: var(--primary);
  text-decoration: underline;
}

.footer-section-refactor .footer-copy,
footer.footer-refactor .footer-copy {
  flex: 1;
  text-align: center;
  min-width: 140px;
  color: var(--text-muted);
}

.footer-section-refactor .scroll-top.scroll-to-target,
footer.footer-refactor .scroll-top.scroll-to-target {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--heading);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s;
}

.footer-section-refactor .scroll-top.scroll-to-target:hover,
footer.footer-refactor .scroll-top.scroll-to-target:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.footer-section-refactor .scroll-top .fa,
footer.footer-refactor .scroll-top .fa {
  font-size: 16px;
}

/* Footer responsivo: 992px-1199px (desktop pequeno) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .footer-section-refactor,
  footer.footer-refactor {
    padding-top: 28px;
    padding-bottom: 20px;
    .footer-grid {
      grid-template-columns: 1.3fr repeat(4, 1fr);
      gap: 20px 24px;
      margin-bottom: 24px;
    }
    .footer-logo-refactor img {
      max-height: 64px;
    }
    .footer-col-main > p {
      -webkit-line-clamp: 3;
      line-clamp: 3;
      max-width: 220px;
    }
  }

  /* Footer responsivo: 768px-991px (tablets) */
  @media (min-width: 768px) and (max-width: 991.98px) {
    .footer-section-refactor,
    footer.footer-refactor {
      padding-top: 24px;
      padding-bottom: 18px;
    }
    .footer-section-refactor .container,
    footer.footer-refactor .container {
      padding: 0 16px;
    }
    .footer-grid {
      grid-template-columns: 1fr 1fr;
      gap: 20px 24px;
      margin-bottom: 20px;
    }
    .footer-col-main {
      grid-column: span 2;
    }
    .footer-col-main > p {
      -webkit-line-clamp: 2;
      line-clamp: 2;
      max-width: 420px;
    }
    .footer-section-refactor .footer-col h4,
    footer.footer-refactor .footer-col h4 {
      margin-bottom: 10px;
    }
    .footer-section-refactor .footer-bottom,
    footer.footer-refactor .footer-bottom {
      padding-top: 16px;
      gap: 8px;
    }
  }

  /* Footer responsivo: 577px-767px (mobile/tablets médios) */
  @media (min-width: 577px) and (max-width: 767.98px) {
    .footer-section-refactor,
    footer.footer-refactor {
      padding-top: 22px;
      padding-bottom: 16px;
    }
    .footer-section-refactor .container,
    footer.footer-refactor .container {
      padding: 0 16px;
    }
    .footer-grid {
      grid-template-columns: 1fr 1fr;
      gap: 18px 20px;
      margin-bottom: 18px;
    }
    .footer-col-main {
      grid-column: span 2;
    }
    .footer-col-main > p {
      -webkit-line-clamp: 2;
      line-clamp: 2;
      max-width: 100%;
    }
    .footer-logo-refactor img {
      max-height: 56px;
    }
    .footer-section-refactor .footer-col h4,
    footer.footer-refactor .footer-col h4 {
      font-size: 10px;
      margin-bottom: 8px;
    }
    .footer-section-refactor .footer-col ul li,
    footer.footer-refactor .footer-col ul li {
      margin-bottom: 4px;
      font-size: 11px;
    }
    .footer-section-refactor .footer-bottom,
    footer.footer-refactor .footer-bottom {
      padding-top: 14px;
      flex-direction: column;
      text-align: center;
      gap: 10px;
      font-size: 10px;
    }
  }

  /* Footer responsivo: 320px-576px (mobile) */
  @media (min-width: 320.98px) and (max-width: 576.98px) {
    .footer-section-refactor,
    footer.footer-refactor {
      padding-top: 20px;
      padding-bottom: 14px;
    }
    .footer-section-refactor .container,
    footer.footer-refactor .container {
      padding: 0 14px;
    }
    .footer-grid {
      grid-template-columns: 1fr;
      gap: 16px;
      margin-bottom: 16px;
    }
    .footer-col-main {
      text-align: center;
    }
    .footer-col-main .footer-logo-refactor {
      display: block;
      text-align: center;
    }
    .footer-col-main .footer-logo-refactor img {
      margin-left: auto;
      margin-right: auto;
      max-height: 52px;
    }
    .footer-col-main > p {
      margin-left: auto;
      margin-right: auto;
      max-width: 100%;
      -webkit-line-clamp: 3;
      line-clamp: 3;
      text-align: center;
    }
    .footer-col-main .social-links {
      justify-content: center;
      margin-top: 12px;
    }
    .footer-section-refactor .footer-col h4,
    footer.footer-refactor .footer-col h4 {
      font-size: 10px;
      margin-bottom: 8px;
      text-align: center;
    }
    .footer-section-refactor .footer-col ul,
    footer.footer-refactor .footer-col ul {
      text-align: center;
    }
    .footer-section-refactor .footer-col ul li,
    footer.footer-refactor .footer-col ul li {
      margin-bottom: 4px;
      font-size: 11px;
    }
    .footer-section-refactor .footer-bottom,
    footer.footer-refactor .footer-bottom {
      padding-top: 14px;
      flex-direction: column;
      text-align: center;
      gap: 8px;
      font-size: 10px;
    }
    .footer-section-refactor .scroll-top.scroll-to-target,
    footer.footer-refactor .scroll-top.scroll-to-target {
      width: 36px;
      height: 36px;
    }
  }

  /* Footer responsivo: ≤320px (igual 320-576px) */
  @media (max-width: 320px) {
    .footer-section-refactor,
    footer.footer-refactor {
      padding-top: 20px;
      padding-bottom: 14px;
    }
    .footer-section-refactor .container,
    footer.footer-refactor .container {
      padding: 0 14px;
    }
    .footer-grid {
      grid-template-columns: 1fr;
      gap: 16px;
      margin-bottom: 16px;
    }
    .footer-col-main {
      text-align: center;
    }
    .footer-col-main .footer-logo-refactor {
      display: block;
      text-align: center;
    }
    .footer-col-main .footer-logo-refactor img {
      margin-left: auto;
      margin-right: auto;
      max-height: 52px;
    }
    .footer-col-main > p {
      margin-left: auto;
      margin-right: auto;
      max-width: 100%;
      -webkit-line-clamp: 3;
      line-clamp: 3;
      text-align: center;
    }
    .footer-col-main .social-links {
      justify-content: center;
      margin-top: 12px;
    }
    .footer-section-refactor .footer-col h4,
    footer.footer-refactor .footer-col h4 {
      font-size: 10px;
      margin-bottom: 8px;
      text-align: center;
    }
    .footer-section-refactor .footer-col ul,
    footer.footer-refactor .footer-col ul {
      text-align: center;
    }
    .footer-section-refactor .footer-col ul li,
    footer.footer-refactor .footer-col ul li {
      margin-bottom: 4px;
      font-size: 11px;
    }
    .footer-section-refactor .footer-bottom,
    footer.footer-refactor .footer-bottom {
      padding-top: 14px;
      flex-direction: column;
      text-align: center;
      gap: 8px;
      font-size: 10px;
    }
    .footer-section-refactor .scroll-top.scroll-to-target,
    footer.footer-refactor .scroll-top.scroll-to-target {
      width: 36px;
      height: 36px;
    }
  }

  .dropdown-trigger {
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 20px;
    font-weight: 800;
    font-family: "Plus Jakarta Sans", sans-serif;
    cursor: pointer;
  }

  .dropdown-trigger .material-symbols-outlined {
    font-size: 24px;
  }

  @media (max-width: 991.98px) {
    .category-carousel-viewport {
      padding: 0 36px;
    }
    .category-carousel-btn {
      width: 34px;
      height: 34px;
    }
    .event-grid {
      grid-template-columns: repeat(2, 1fr);
    }
    .cta-section .cta-content {
      flex-direction: column;
    }
    .feature-grid-refactor {
      grid-template-columns: repeat(2, 1fr);
    }
    .how-work-grid {
      grid-template-columns: repeat(2, 1fr);
    }
    .testimonial-grid-refactor {
      grid-template-columns: 1fr;
    }
    .content-with-sidebar {
      grid-template-columns: 1fr;
      gap: 24px;
    }
    .content-with-sidebar--details {
      grid-template-columns: 1fr;
      grid-template-rows: auto auto;
    }
    .event-details-section .content-main-refactor {
      width: 100%;
      min-width: 0;
    }
    .event-details-section .sidebar-refactor {
      position: static !important;
      transform: none !important;
      opacity: 1 !important;
      visibility: visible !important;
      width: 100% !important;
      min-width: 0;
      height: auto !important;
      box-shadow: none !important;
      overflow-y: visible !important;
      margin: 0 !important;
      padding: 0 !important;
    }
    .event-details-section .sidebar-sticky {
      position: static;
    }
    .event-details-section .sidebar-refactor .widget-refactor {
      padding: 16px;
    }
    .event-details-section .event-details-information .price-count h6 {
      font-size: 18px;
    }
    .event-details-section .event-details-information .total .h4 {
      font-size: 22px;
    }
  }

  /* Event-details: abaixo de 768px - content-main acima, sidebar abaixo (empilhados, sem sobreposição) */
  @media (max-width: 767.98px) {
    .event-details-section .content-with-sidebar.content-with-sidebar--details {
      display: flex !important;
      flex-direction: column !important;
      flex-wrap: nowrap !important;
      grid-template-columns: unset !important;
      grid-template-rows: unset !important;
      gap: 0 !important;
    }
    .event-details-section .content-main-refactor {
      order: 1 !important;
      flex: 0 0 auto !important;
      width: 100% !important;
      max-width: 100% !important;
      min-width: 0 !important;
      margin-bottom: 24px;
      float: none !important;
      clear: both !important;
    }
    .event-details-section .sidebar-refactor {
      order: 2 !important;
      flex: 0 0 auto !important;
      width: 100% !important;
      max-width: 100% !important;
      min-width: 0 !important;
      float: none !important;
      clear: both !important;
    }
    .event-details-section .event-details-information .price-count h6 {
      font-size: 16px;
    }
    .event-grid {
      grid-template-columns: 1fr;
    }
    .event-grid .event-card {
      width: 100%;
      max-width: 100%;
    }
  }

  @media (max-width: 576.98px) {
    .event-details-section .content-main-refactor {
      margin-bottom: 20px;
    }
    .event-details-section .sidebar-refactor .widget-refactor {
      padding: 14px;
    }
    .event-details-section .event-details-information .price-count h6 {
      font-size: 15px;
    }
    .event-details-section .event-details-information .total .h4 {
      font-size: 20px;
    }
  }

  @media (max-width: 320px) {
    .event-details-section .content-main-refactor {
      margin-bottom: 16px;
    }
    .event-details-section .sidebar-refactor .widget-refactor {
      padding: 12px;
    }
  }

  /* ===== NOVA REFATORAÇÃO COMPLETA - PÁGINA DE DETALHES DA RESERVA ===== */
  /* Abordagem completamente nova e simplificada do zero */
  /* Layout base da página */
  .booking-details-page {
    width: 100%;
  }

  /* Header da página */
  .booking-details-page .booking-details-header {
    margin-bottom: 20px;
  }

  .booking-details-page .btn-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: background 0.2s;
  }

  .booking-details-page .btn-back:hover {
    background: var(--primary-hover);
    color: white;
    text-decoration: none;
  }
  /* Cards principais */
  .booking-details-page .booking-card {
    background: white;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }

  /* Responsividade para booking-card */
  @media (max-width: 320px) {
    .booking-details-page .booking-card {
      padding: 16px;
      margin-bottom: 16px;
      border-radius: 8px;
    }
  }
  @media (min-width: 320.98px) and (max-width: 576.98px) {
    .booking-details-page .booking-card {
      padding: 18px;
      margin-bottom: 18px;
      border-radius: 10px;
    }
  }
  @media (min-width: 577px) and (max-width: 767.98px) {
    .booking-details-page .booking-card {
      padding: 20px;
      margin-bottom: 20px;
      border-radius: 11px;
    }
  }
  @media (min-width: 768px) and (max-width: 991.98px) {
    .booking-details-page .booking-card {
      padding: 22px;
      margin-bottom: 22px;
      border-radius: 12px;
    }
  }
  @media (min-width: 992px) and (max-width: 1199.98px) {
    .booking-details-page .booking-card {
      padding: 24px;
      margin-bottom: 24px;
      border-radius: 12px;
    }
  }
  @media (min-width: 1200px) {
    .booking-details-page .booking-card {
      padding: 26px;
      margin-bottom: 24px;
      border-radius: 12px;
    }
  }
  .booking-details-page .booking-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--heading);
    margin: 0 0 20px 0;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
    line-height: 1.2;
    text-align: center;
  }
  .booking-details-page .booking-card-title-sm {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--heading);
    margin: 0 0 16px 0;
    line-height: 1.3;
    text-align: center;
  }

  /* Responsividade para títulos */
  @media (max-width: 320px) {
    .booking-details-page .booking-card-title {
      font-size: 1.1rem;
      margin: 0 0 16px 0;
      padding-bottom: 8px;
    }
    .booking-details-page .booking-card-title-sm {
      font-size: 1rem;
      margin: 0 0 14px 0;
    }
  }
  @media (min-width: 320.98px) and (max-width: 576.98px) {
    .booking-details-page .booking-card-title {
      font-size: 1.15rem;
      margin: 0 0 18px 0;
      padding-bottom: 10px;
    }
    .booking-details-page .booking-card-title-sm {
      font-size: 1.05rem;
      margin: 0 0 15px 0;
    }
  }
  @media (min-width: 577px) and (max-width: 767.98px) {
    .booking-details-page .booking-card-title {
      font-size: 1.2rem;
      margin: 0 0 18px 0;
      padding-bottom: 10px;
    }
    .booking-details-page .booking-card-title-sm {
      font-size: 1.08rem;
      margin: 0 0 15px 0;
    }
  }
  @media (min-width: 768px) and (max-width: 991.98px) {
    .booking-details-page .booking-card-title {
      font-size: 1.22rem;
      margin: 0 0 19px 0;
      padding-bottom: 11px;
    }
    .booking-details-page .booking-card-title-sm {
      font-size: 1.09rem;
      margin: 0 0 15px 0;
    }
  }
  @media (min-width: 1200px) {
    .booking-details-page .booking-card-title {
      font-size: 1.28rem;
      margin: 0 0 20px 0;
      padding-bottom: 12px;
    }
    .booking-details-page .booking-card-title-sm {
      font-size: 1.12rem;
      margin: 0 0 16px 0;
    }
  }
  .booking-details-page .booking-card-desc {
    color: var(--text-muted);
    margin: 0 0 20px 0;
    font-size: 0.95rem;
    line-height: 1.4;
    text-align: center;
  }

  /* Responsividade para booking-card-desc */
  @media (max-width: 320px) {
    .booking-details-page .booking-card-desc {
      font-size: 0.85rem;
      margin: 0 0 16px 0;
      padding: 0 8px;
    }
  }
  @media (min-width: 320.98px) and (max-width: 576.98px) {
    .booking-details-page .booking-card-desc {
      font-size: 0.9rem;
      margin: 0 0 18px 0;
      padding: 0 12px;
    }
  }
  @media (min-width: 577px) and (max-width: 767.98px) {
    .booking-details-page .booking-card-desc {
      font-size: 0.92rem;
      margin: 0 0 18px 0;
      padding: 0 16px;
    }
  }
  @media (min-width: 768px) and (max-width: 991.98px) {
    .booking-details-page .booking-card-desc {
      font-size: 0.94rem;
      margin: 0 0 19px 0;
      padding: 0 20px;
    }
  }
  @media (min-width: 992px) and (max-width: 1199.98px) {
    .booking-details-page .booking-card-desc {
      font-size: 0.95rem;
      margin: 0 0 20px 0;
      padding: 0 24px;
    }
  }
  @media (min-width: 1200px) {
    .booking-details-page .booking-card-desc {
      font-size: 0.96rem;
      margin: 0 0 20px 0;
      padding: 0 28px;
    }
  }
  .booking-details-page .booking-summary-row {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: flex-start;
    width: 100%;
    box-sizing: border-box;
  }
  .booking-details-page .booking-id-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    flex: 1;
    min-width: 0;
  }
  .booking-details-page .booking-id-badge .label,
  .booking-details-page .booking-dates .label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 2px;
    line-height: 1.2;
  }
  .booking-details-page .booking-dates {
    flex: 1;
    min-width: 200px;
  }
  .booking-details-page .booking-dates p {
    margin: 0 0 6px 0;
    font-size: 0.95rem;
    line-height: 1.3;
  }
  .booking-details-page .badge-status {
    font-size: 0.8rem;
    padding: 4px 10px;
    border-radius: 6px;
    font-weight: 500;
    white-space: nowrap;
  }

  /* Responsividade para elementos de resumo da reserva */
  @media (max-width: 320px) {
    .booking-details-page .booking-summary-row {
      gap: 16px;
    }
    .booking-details-page .booking-id-badge {
      gap: 8px;
      flex-direction: column;
      align-items: flex-start;
    }
    .booking-details-page .booking-id-badge .label,
    .booking-details-page .booking-dates .label {
      font-size: 0.75rem;
    }
    .booking-details-page .booking-dates p {
      font-size: 0.9rem;
    }
    .booking-details-page .badge-status {
      font-size: 0.75rem;
      padding: 3px 8px;
    }
  }
  @media (min-width: 320.98px) and (max-width: 576.98px) {
    .booking-details-page .booking-summary-row {
      gap: 18px;
    }
    .booking-details-page .booking-id-badge {
      gap: 10px;
    }
    .booking-details-page .booking-id-badge .label,
    .booking-details-page .booking-dates .label {
      font-size: 0.77rem;
    }
    .booking-details-page .booking-dates p {
      font-size: 0.92rem;
    }
    .booking-details-page .badge-status {
      font-size: 0.77rem;
      padding: 3px 9px;
    }
  }
  @media (min-width: 577px) and (max-width: 767.98px) {
    .booking-details-page .booking-summary-row {
      gap: 20px;
    }
    .booking-details-page .booking-id-badge {
      gap: 11px;
    }
    .booking-details-page .booking-id-badge .label,
    .booking-details-page .booking-dates .label {
      font-size: 0.78rem;
    }
    .booking-details-page .booking-dates p {
      font-size: 0.93rem;
    }
    .booking-details-page .badge-status {
      font-size: 0.78rem;
      padding: 4px 9px;
    }
  }
  @media (min-width: 768px) and (max-width: 991.98px) {
    .booking-details-page .booking-summary-row {
      gap: 22px;
    }
    .booking-details-page .booking-id-badge {
      gap: 11px;
    }
    .booking-details-page .booking-id-badge .label,
    .booking-details-page .booking-dates .label {
      font-size: 0.79rem;
    }
    .booking-details-page .booking-dates p {
      font-size: 0.94rem;
    }
    .booking-details-page .badge-status {
      font-size: 0.79rem;
      padding: 4px 9px;
    }
  }
  @media (min-width: 992px) and (max-width: 1199.98px) {
    .booking-details-page .booking-summary-row {
      gap: 24px;
    }
    .booking-details-page .booking-id-badge {
      gap: 12px;
    }
    .booking-details-page .booking-id-badge .label,
    .booking-details-page .booking-dates .label {
      font-size: 0.8rem;
    }
    .booking-details-page .booking-dates p {
      font-size: 0.95rem;
    }
    .booking-details-page .badge-status {
      font-size: 0.8rem;
      padding: 4px 10px;
    }
  }
  @media (min-width: 1200px) {
    .booking-details-page .booking-summary-row {
      gap: 24px;
    }
    .booking-details-page .booking-id-badge {
      gap: 12px;
    }
    .booking-details-page .booking-id-badge .label,
    .booking-details-page .booking-dates .label {
      font-size: 0.8rem;
    }
    .booking-details-page .booking-dates p {
      font-size: 0.95rem;
    }
    .booking-details-page .badge-status {
      font-size: 0.8rem;
      padding: 4px 10px;
    }
  }
  /* Grid de ingressos - SIMPLIFICADO E FUNCIONAL */
  .booking-details-page .ticket-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  .booking-details-page .ticket-card {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: border-color 0.2s;
    box-sizing: border-box;
  }

  .booking-details-page .ticket-card:hover {
    border-color: var(--primary);
  }

  .booking-details-page .ticket-card-qr {
    margin-bottom: 15px;
  }

  .booking-details-page .ticket-card-qr-img {
    max-width: 100%;
    height: auto;
    border: 1px solid #ccc;
  }

  .booking-details-page .ticket-card-qr-img,
  .booking-details-page .ticket-card-qr-placeholder {
    width: 120px;
    height: 120px;
    margin: 0 auto;
    border-radius: 8px;
    object-fit: contain;
  }

  .booking-details-page .ticket-card-qr-error {
    display: none;
    color: #d63384;
    font-size: 10px;
    margin-top: 2px;
  }

  .booking-details-page .ticket-card-qr-meta {
    font-size: 10px;
    color: #666;
    margin-top: 2px;
  }

  .booking-details-page .ticket-card-qr-placeholder {
    background: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-size: 0.8rem;
  }

  .booking-details-page .ticket-card-info {
    margin-bottom: 15px;
  }

  .booking-details-page .ticket-card-info strong {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
    word-break: break-word;
  }

  .booking-details-page .ticket-card-info span {
    font-size: 0.8rem;
    color: #666;
  }

  .booking-details-page .btn-ticket-pdf {
    display: inline-block;
    padding: 10px 15px;
    background: white;
    border: 2px dashed #dee2e6;
    border-radius: 6px;
    color: #333;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.2s;
    box-sizing: border-box;
  }

  .booking-details-page .btn-ticket-pdf:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: #f8f9ff;
  }

  /* Responsividade para elementos dos cards de ingresso */
  @media (max-width: 320px) {
    .booking-details-page .ticket-card-inner {
      padding: 16px;
      gap: 10px;
    }
    .booking-details-page .ticket-card-qr-img,
    .booking-details-page .ticket-card-qr-placeholder {
      width: 140px;
      height: 140px;
    }
    .booking-details-page .ticket-card-info {
      font-size: 0.8rem;
    }
    .booking-details-page .ticket-card-info span {
      font-size: 0.75rem;
    }
    .booking-details-page .btn-ticket-pdf {
      padding: 10px 12px;
      font-size: 0.85rem;
    }
    .booking-details-page .btn-ticket-pdf i {
      font-size: 1.3rem;
    }
    .booking-details-page .btn-ticket-pdf small {
      font-size: 0.7rem;
    }
  }
  @media (min-width: 320.98px) and (max-width: 576.98px) {
    .booking-details-page .ticket-card-inner {
      padding: 18px;
      gap: 11px;
    }
    .booking-details-page .ticket-card-qr-img,
    .booking-details-page .ticket-card-qr-placeholder {
      width: 150px;
      height: 150px;
    }
    .booking-details-page .ticket-card-info {
      font-size: 0.82rem;
    }
    .booking-details-page .ticket-card-info span {
      font-size: 0.77rem;
    }
    .booking-details-page .btn-ticket-pdf {
      padding: 11px 14px;
      font-size: 0.87rem;
    }
    .booking-details-page .btn-ticket-pdf i {
      font-size: 1.35rem;
    }
    .booking-details-page .btn-ticket-pdf small {
      font-size: 0.72rem;
    }
  }
  @media (min-width: 577px) and (max-width: 767.98px) {
    .booking-details-page .ticket-card-inner {
      padding: 19px;
      gap: 11px;
    }
    .booking-details-page .ticket-card-qr-img,
    .booking-details-page .ticket-card-qr-placeholder {
      width: 155px;
      height: 155px;
    }
    .booking-details-page .ticket-card-info {
      font-size: 0.83rem;
    }
    .booking-details-page .ticket-card-info span {
      font-size: 0.78rem;
    }
    .booking-details-page .btn-ticket-pdf {
      padding: 11px 15px;
      font-size: 0.88rem;
    }
    .booking-details-page .btn-ticket-pdf i {
      font-size: 1.4rem;
    }
    .booking-details-page .btn-ticket-pdf small {
      font-size: 0.73rem;
    }
  }
  @media (min-width: 768px) and (max-width: 991.98px) {
    .booking-details-page .ticket-card-inner {
      padding: 19px;
      gap: 12px;
    }
    .booking-details-page .ticket-card-qr-img,
    .booking-details-page .ticket-card-qr-placeholder {
      width: 158px;
      height: 158px;
    }
    .booking-details-page .ticket-card-info {
      font-size: 0.84rem;
    }
    .booking-details-page .ticket-card-info span {
      font-size: 0.79rem;
    }
    .booking-details-page .btn-ticket-pdf {
      padding: 12px 15px;
      font-size: 0.89rem;
    }
    .booking-details-page .btn-ticket-pdf i {
      font-size: 1.45rem;
    }
    .booking-details-page .btn-ticket-pdf small {
      font-size: 0.74rem;
    }
  }
  .booking-details-page .btn-ticket-pdf:hover {
    background: #e8f4e8;
    border-color: var(--primary);
    color: var(--primary);
    text-decoration: none;
  }
  .booking-details-page .btn-ticket-pdf i {
    font-size: 1.5rem;
    color: #c00;
  }
  .booking-details-page .btn-ticket-pdf small {
    font-weight: 400;
    font-size: 0.75rem;
    color: var(--text-muted);
  }
  .booking-details-page .booking-list {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
  }
  .booking-details-page .booking-list li {
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.95rem;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: flex-start;
    width: 100%;
    box-sizing: border-box;
  }
  .booking-details-page .booking-list li:last-child {
    border-bottom: none;
  }
  .booking-details-page .booking-list .label {
    min-width: 100px;
    color: var(--text-muted);
    font-weight: 500;
    flex-shrink: 0;
    line-height: 1.4;
  }
  .booking-details-page .booking-list .badge {
    position: static;
    font-size: 0.8rem;
    padding: 4px 10px;
    border-radius: 6px;
    font-weight: 500;
    white-space: nowrap;
    flex-shrink: 0;
  }

  /* Responsividade para listas de reserva */
  @media (max-width: 320px) {
    .booking-details-page .booking-list li {
      padding: 6px 0;
      font-size: 0.9rem;
      gap: 4px;
    }
    .booking-details-page .booking-list .label {
      min-width: 80px;
      font-size: 0.85rem;
    }
    .booking-details-page .booking-list .badge {
      font-size: 0.75rem;
      padding: 3px 8px;
    }
  }
  @media (min-width: 320.98px) and (max-width: 576.98px) {
    .booking-details-page .booking-list li {
      padding: 7px 0;
      font-size: 0.92rem;
      gap: 5px;
    }
    .booking-details-page .booking-list .label {
      min-width: 90px;
      font-size: 0.87rem;
    }
    .booking-details-page .booking-list .badge {
      font-size: 0.77rem;
      padding: 3px 9px;
    }
  }
  @media (min-width: 577px) and (max-width: 767.98px) {
    .booking-details-page .booking-list li {
      padding: 7px 0;
      font-size: 0.93rem;
      gap: 5px;
    }
    .booking-details-page .booking-list .label {
      min-width: 95px;
      font-size: 0.88rem;
    }
    .booking-details-page .booking-list .badge {
      font-size: 0.78rem;
      padding: 4px 9px;
    }
  }
  @media (min-width: 768px) and (max-width: 991.98px) {
    .booking-details-page .booking-list li {
      padding: 8px 0;
      font-size: 0.94rem;
      gap: 6px;
    }
    .booking-details-page .booking-list .label {
      min-width: 98px;
      font-size: 0.89rem;
    }
    .booking-details-page .booking-list .badge {
      font-size: 0.79rem;
      padding: 4px 9px;
    }
  }
  @media (min-width: 992px) and (max-width: 1199.98px) {
    .booking-details-page .booking-list li {
      padding: 8px 0;
      font-size: 0.95rem;
      gap: 6px;
    }
    .booking-details-page .booking-list .label {
      min-width: 100px;
      font-size: 0.9rem;
    }
    .booking-details-page .booking-list .badge {
      font-size: 0.8rem;
      padding: 4px 10px;
    }
  }
  @media (min-width: 1200px) {
    .booking-details-page .booking-list li {
      padding: 8px 0;
      font-size: 0.95rem;
      gap: 6px;
    }
    .booking-details-page .booking-list .label {
      min-width: 100px;
      font-size: 0.9rem;
    }
    .booking-details-page .booking-list .badge {
      font-size: 0.8rem;
      padding: 4px 10px;
    }
  }
  .booking-details-page .booking-list .badge-success {
    background: #28a745;
    color: #fff;
  }
  .booking-details-page .booking-list .badge-warning {
    background: #ffc107;
    color: #212529;
  }
  .booking-details-page .booking-list .badge-danger {
    background: #dc3545;
    color: #fff;
  }
  .booking-details-page .booking-list .badge-primary {
    background: #007bff;
    color: #fff;
  }
  .booking-details-page .booking-list .badge-secondary {
    background: #6c757d;
    color: #fff;
  }
  .booking-details-page .booking-tickets-table {
    margin: 0;
  }
  .booking-details-page .booking-tickets-table th {
    background: var(--light);
    font-weight: 600;
    color: var(--heading);
  }
  @media (max-width: 767.98px) {
    .booking-details-page .booking-summary-row {
      flex-direction: column;
    }
  }

  /* Ticket cards: manter mesmo layout em TODOS os breakpoints (reforçar regras) */
  @media (max-width: 320px) {
    .booking-details-page .ticket-cards-grid {
      display: grid !important;
      grid-template-columns: repeat(
        auto-fill,
        minmax(min(180px, 100%), 1fr)
      ) !important;
      gap: 20px !important;
      width: 100% !important;
      min-width: 0 !important;
    }
  }
  @media (min-width: 320.98px) and (max-width: 576.98px) {
    .booking-details-page .ticket-cards-grid {
      display: grid !important;
      grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)) !important;
      gap: 20px !important;
      width: 100% !important;
      min-width: 0 !important;
    }
  }
  @media (min-width: 577px) and (max-width: 767.98px) {
    .booking-details-page .ticket-cards-grid {
      display: grid !important;
      grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)) !important;
      gap: 20px !important;
      width: 100% !important;
      min-width: 0 !important;
    }
  }
  @media (min-width: 768px) and (max-width: 991.98px) {
    .booking-details-page .ticket-cards-grid {
      display: grid !important;
      grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)) !important;
      gap: 20px !important;
      width: 100% !important;
      min-width: 0 !important;
    }
  }
  @media (min-width: 992px) and (max-width: 1199.98px) {
    .booking-details-page .ticket-cards-grid {
      display: grid !important;
      grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)) !important;
      gap: 20px !important;
      width: 100% !important;
      min-width: 0 !important;
    }
  }
  @media (min-width: 1200px) {
    .booking-details-page .ticket-cards-grid {
      display: grid !important;
      grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)) !important;
      gap: 20px !important;
      width: 100% !important;
      min-width: 0 !important;
    }
  }

  @media (max-width: 576.98px) {
    .feature-grid-refactor {
      grid-template-columns: 1fr;
    }
    .how-work-grid {
      grid-template-columns: 1fr;
    }
    .last-call-grid {
      grid-template-columns: 1fr;
    }
    .form-card-refactor {
      padding: 20px;
    }
    .form-card-refactor--auth-signup,
    .form-card-refactor--auth-login {
      max-width: 100%;
    }
    .auth-links-refactor {
      flex-direction: column;
      gap: 8px;
    }
  }

  /* Modal páginas legais (Termos de Uso, Diretrizes, Regras de meia-entrada, Política de Privacidade) */
  .legal-page-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    visibility: hidden;
    opacity: 0;
    transition:
      visibility 0.2s,
      opacity 0.2s;
  }
  .legal-page-modal.is-open {
    visibility: visible;
    opacity: 1;
  }
  .legal-page-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    cursor: pointer;
  }
  .legal-page-modal__box {
    position: relative;
    width: 100%;
    max-width: 640px;
    max-height: 85vh;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }
  .legal-page-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
  }
  .legal-page-modal__title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--heading);
  }
  .legal-page-modal__close {
    width: 36px;
    height: 36px;
    padding: 0;
    border: none;
    background: transparent;
    font-size: 28px;
    line-height: 1;
    color: var(--base);
    cursor: pointer;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition:
      background 0.15s,
      color 0.15s;
  }
  .legal-page-modal__close:hover {
    background: var(--light);
    color: var(--heading);
  }
  .legal-page-modal__body {
    padding: 20px;
    overflow-y: auto;
    flex: 1;
    min-height: 0;
  }
  .legal-page-modal__body.summernote-content {
    font-size: 0.9375rem;
    line-height: 1.5;
  }
  .legal-page-modal__body.summernote-content p:first-child {
    margin-top: 0;
  }
  .legal-page-modal__body.summernote-content p:last-child {
    margin-bottom: 0;
  }
  @media (max-width: 576.98px) {
    .legal-page-modal {
      padding: 12px;
    }
    .legal-page-modal__header {
      padding: 12px 16px;
    }
    .legal-page-modal__title {
      font-size: 1.125rem;
    }
    .legal-page-modal__body {
      padding: 16px;
    }
  }

  /* Mobile pequeno (≤320px) */
  @media (max-width: 320px) {
    .legal-page-modal {
      padding: 8px;
    }
    .legal-page-modal__header {
      padding: 10px 12px;
    }
    .legal-page-modal__title {
      font-size: 1rem;
    }
    .legal-page-modal__body {
      padding: 12px;
    }
  }

  /* Support ticket messages: badge e dados dentro do card */
  .single-message .user-details {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: flex-start;
  }
  .single-message .user-details .user-infos {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
  }
  .single-message .user-details .user-infos .name {
    margin: 0;
    width: 100%;
  }
  .single-message .user-details .user-infos .support-ticket-reply-date {
    flex-shrink: 0;
  }
  .single-message .user-details .user-infos .reply-download-btn {
    margin-left: auto;
  }

  /* Event form (add/edit) - Responsividade */
  .booking-details-page .table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  /* booking-details-page: abaixo de 992px - coluna única, evitar overflow */
  @media (max-width: 991.98px) {
    .booking-details-page .content-with-sidebar {
      grid-template-columns: 1fr;
      gap: 24px;
    }
    .booking-details-page .content-with-sidebar .content-main-refactor,
    .booking-details-page .content-with-sidebar .sidebar-refactor {
      min-width: 0;
      width: 100%;
      max-width: 100%;
    }
    .booking-details-page .booking-card-ticket {
      min-width: 0;
      overflow: hidden;
    }
  }
  @media (min-width: 320.98px) and (max-width: 576.98px) {
    .booking-details-page .col-lg-8.offset-lg-2 {
      margin-left: 0;
      margin-right: 0;
      max-width: 100%;
      padding-left: 12px;
      padding-right: 12px;
    }
    .booking-details-page .card-header .btn {
      margin-bottom: 8px;
    }
    .booking-details-page .selectgroup .selectgroup-item {
      min-width: 120px;
    }
  }
  @media (min-width: 577px) and (max-width: 767.98px) {
    .booking-details-page .col-lg-8.offset-lg-2 {
      padding-left: 16px;
      padding-right: 16px;
    }
  }
  @media (min-width: 768px) and (max-width: 991.98px) {
    .booking-details-page .col-lg-8.offset-lg-2 {
      padding-left: 20px;
      padding-right: 20px;
    }
  }

  /* Organizer add-ticket / edit-ticket: tabela de variações e botões no padrão refactor */
  .booking-details-page .table-bordered {
    border-color: var(--border);
  }
  .booking-details-page .table-bordered th,
  .booking-details-page .table-bordered td {
    border-color: var(--border);
    color: var(--heading);
  }
  .booking-details-page .table thead th {
    background: var(--light);
    font-weight: 600;
    color: var(--heading);
  }
  .booking-details-page .form-control {
    border-color: var(--border);
    border-radius: 8px;
  }
  .booking-details-page .form-control:focus {
    border-color: var(--primary);
  }
  .organizer-ticket-form .card-header .btn-back,
  .organizer-ticket-form .card-header .btn-outline {
    color: var(--primary);
    border-color: var(--primary);
  }
  .organizer-ticket-form .card-header .btn-back:hover,
  .organizer-ticket-form .card-header .btn-outline:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
  }

  /* ========== Event Details Improvements (Slider & Countdown) ========== */
  .event-details-image {
    max-height: 520px;
    border-radius: 16px;
    overflow: hidden;
    margin-top: 0 !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
  }

  .event-details-images .slick-slide img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    display: block;
  }

  /* Modern Syotimer Countdown - GLOBAL & ALTAMENTE RESPONSIVO */
  .syotimer,
  .event-countdown {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
    margin: 15px 0 !important;
  }

  .syotimer__body {
    display: flex !important;
    justify-content: center !important;
    align-items: stretch !important;
    gap: 8px !important;
    flex-wrap: wrap !important;
    margin: 0 !important;
  }

  .syotimer-cell {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 10px 6px !important;
    min-width: 0 !important;
    flex: 1 1 calc(25% - 8px) !important;
    max-width: calc(25% - 6px) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 2px !important;
  }

  .syotimer-cell__value {
    font-family: "Plus Jakarta Sans", sans-serif !important;
    font-size: 24px !important;
    font-weight: 800 !important;
    color: var(--primary) !important;
    line-height: 1.1 !important;
    margin: 0 !important;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
  }

  .syotimer-cell__unit {
    font-family: "Plus Jakarta Sans", sans-serif !important;
    font-size: 10px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    color: var(--text-muted) !important;
    letter-spacing: 0.5px !important;
    line-height: 1.2 !important;
  }

  /* Responsivo Adaptativo */
  @media (max-width: 480px) {
    .syotimer__body {
      gap: 4px !important;
    }
    .syotimer-cell {
      flex: 1 1 calc(50% - 4px) !important;
      max-width: calc(50% - 2px) !important;
      padding: 8px 4px !important;
    }
    .syotimer-cell__value {
      font-size: 18px !important;
    }
    .syotimer-cell__unit {
      font-size: 8px !important;
    }
  }

  @media (min-width: 481px) and (max-width: 767px) {
    .syotimer-cell__value {
      font-size: 20px !important;
    }
    .syotimer-cell__unit {
      font-size: 10px !important;
    }
  }

  @media (min-width: 768px) {
    .syotimer-cell__value {
      font-size: 26px !important;
    }
    .syotimer-cell__unit {
      font-size: 10px !important;
    }
  }

  .ticket-lot-info {
    font-size: 11px !important;
    color: #000 !important;
    font-weight: 800 !important;
    margin-bottom: 0 !important;
  }

  .ticket-installment-info {
    font-size: 11px !important;
    color: var(--primary) !important;
    font-weight: 600 !important;
    margin-bottom: 0 !important;
  }

  @media (max-width: 576.98px) {
    .event-details-image,
    .event-details-images .slick-slide img {
      height: 300px !important;
    }
  }

  /* Specific fix for event details page image buttons */
  .event-details-image .buttons {
    top: 15px !important;
    right: 15px !important;
  }

  .event-details-image .buttons a {
    border-radius: 8px !important;
    padding: 8px !important;
    min-width: 44px;
    min-height: 44px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(4px);
    color: var(--heading) !important;
    border: 1px solid var(--border) !important;
  }

  .event-details-image .buttons a i {
    font-size: 16px;
  }

  /* ========== Mostrar endereço no Google Maps - checkbox padronizado ========== */
  .booking-details-page .form-check.show-google-maps-wrap,
  .main-panel .form-check.show-google-maps-wrap {
    display: flex !important;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--light);
    border: 1px solid var(--border);
    border-radius: 8px;
    margin-top: 16px;
    min-height: 52px;
    cursor: pointer;
    position: relative;
  }
  .booking-details-page .form-check.show-google-maps-wrap .form-check-input,
  .main-panel .form-check.show-google-maps-wrap .form-check-input {
    position: relative !important;
    width: 22px !important;
    height: 22px !important;
    min-width: 22px !important;
    min-height: 22px !important;
    margin: 0 !important;
    flex-shrink: 0;
    cursor: pointer;
    border: 2px solid var(--border) !important;
    border-radius: 4px;
    display: inline-block !important;
    opacity: 1 !important;
    visibility: visible !important;
    appearance: auto !important;
    -webkit-appearance: checkbox !important;
    flex-shrink: 0;
  }
  .booking-details-page
    .form-check.show-google-maps-wrap
    .form-check-input:checked,
  .main-panel .form-check.show-google-maps-wrap .form-check-input:checked {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    accent-color: var(--primary);
  }
  .booking-details-page .form-check.show-google-maps-wrap .form-check-label {
    cursor: pointer;
    margin: 0;
    font-weight: 500;
    color: var(--heading);
    font-size: 0.95rem;
    flex: 1;
  }
  body[data-background-color="dark"]
    .booking-details-page
    .form-check.show-google-maps-wrap {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.15);
  }
  body[data-background-color="dark"]
    .booking-details-page
    .form-check.show-google-maps-wrap
    .form-check-label {
    color: var(--heading);
  }

  /* Responsivo - breakpoints oficiais */
  @media (max-width: 320px) {
    .booking-details-page .form-check.show-google-maps-wrap {
      padding: 12px 14px;
      gap: 10px;
      min-height: 48px;
    }
    .booking-details-page .form-check.show-google-maps-wrap .form-check-input {
      width: 18px;
      height: 18px;
    }
    .booking-details-page .form-check.show-google-maps-wrap .form-check-label {
      font-size: 0.875rem;
    }
  }
  @media (min-width: 320.98px) and (max-width: 576.98px) {
    .booking-details-page .form-check.show-google-maps-wrap {
      padding: 14px 16px;
      gap: 11px;
    }
  }
  @media (min-width: 577px) and (max-width: 767.98px) {
    .booking-details-page .form-check.show-google-maps-wrap {
      padding: 15px 18px;
    }
  }
  @media (min-width: 768px) and (max-width: 991.98px) {
    .booking-details-page .form-check.show-google-maps-wrap {
      padding: 16px 20px;
    }
  }
  @media (min-width: 992px) and (max-width: 1199.98px) {
    .booking-details-page .form-check.show-google-maps-wrap {
      padding: 16px 20px;
    }
  }
  @media (min-width: 1200px) {
    .booking-details-page .form-check.show-google-maps-wrap {
      padding: 18px 22px;
    }
  }

  /* Lista de reservas (organizer/event-booking): cards em mobile/tablet, tabela em desktop */
  .main-panel .booking-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .main-panel .booking-card-item {
    background: var(--light);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
  }
  .main-panel .booking-card-item__header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    font-size: 0.95rem;
  }
  .main-panel .booking-card-item__header .bulk-check {
    margin: 0;
    width: 18px;
    height: 18px;
  }
  .main-panel .booking-card-item__body {
    padding: 16px;
  }
  .main-panel .booking-card-item__row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: baseline;
    gap: 8px;
    padding: 6px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 0.9rem;
  }
  .main-panel .booking-card-item__row:last-of-type {
    border-bottom: none;
  }
  .main-panel .booking-card-item__row .label {
    color: var(--text-muted);
    flex-shrink: 0;
  }
  .main-panel .booking-card-item__row .value {
    text-align: right;
    word-break: break-word;
  }
  .main-panel .booking-card-item__row .value a {
    color: var(--primary);
  }
  .main-panel .booking-card-item__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
  }
  /* Padrão unificado: todos os botões outline (borda), mesmo estilo */
  .main-panel .booking-card-item__actions .btn {
    min-width: 80px;
    font-weight: 500;
  }
  /* Booking/Withdraw cards responsivo (breakpoints oficiais) */
  @media (max-width: 320px) {
    .main-panel .booking-card-item__header,
    .main-panel .booking-card-item__body {
      padding: 10px 12px;
    }
    .main-panel .booking-card-item__row {
      font-size: 0.8125rem;
    }
    .main-panel .booking-card-item__actions .btn {
      min-width: 70px;
      font-size: 0.8125rem;
    }
  }
  @media (min-width: 320.98px) and (max-width: 576.98px) {
    .main-panel .booking-card-item__header,
    .main-panel .booking-card-item__body {
      padding: 12px 14px;
    }
  }
  @media (min-width: 1200px) {
    .main-panel .booking-card-item__actions .btn {
      min-width: 90px;
    }
  }
  /* Tabela: visível só em telas ≥1200px; scroll contido só se necessário */
  .main-panel .booking-table-wrap {
    overflow-x: auto;
    width: 100%;
    -webkit-overflow-scrolling: touch;
  }
  .main-panel .booking-table-wrap .booking-table {
    width: 100%;
    table-layout: fixed;
    font-size: 0.875rem;
  }
  .main-panel .booking-table-wrap .table th,
  .main-panel .booking-table-wrap .table td {
    white-space: normal;
    word-break: break-word;
    padding: 8px 6px;
    vertical-align: middle;
  }
  .main-panel .booking-table-wrap .table th:nth-child(1),
  .main-panel .booking-table-wrap .table td:nth-child(1) {
    width: 3%;
  }
  .main-panel .booking-table-wrap .table th:nth-child(2),
  .main-panel .booking-table-wrap .table td:nth-child(2) {
    width: 12%;
  }
  .main-panel .booking-table-wrap .table th:nth-child(3),
  .main-panel .booking-table-wrap .table td:nth-child(3) {
    width: 18%;
  }
  .main-panel .booking-table-wrap .table th:nth-child(4),
  .main-panel .booking-table-wrap .table td:nth-child(4) {
    width: 12%;
  }
  .main-panel .booking-table-wrap .table th:nth-child(5),
  .main-panel .booking-table-wrap .table td:nth-child(5) {
    width: 10%;
  }
  .main-panel .booking-table-wrap .table th:nth-child(6),
  .main-panel .booking-table-wrap .table td:nth-child(6) {
    width: 10%;
  }
  .main-panel .booking-table-wrap .table th:nth-child(7),
  .main-panel .booking-table-wrap .table td:nth-child(7) {
    width: 8%;
  }
  .main-panel .booking-table-wrap .table th:nth-child(8),
  .main-panel .booking-table-wrap .table td:nth-child(8) {
    width: 12%;
  }
  .main-panel .booking-table-wrap .table th:nth-child(9),
  .main-panel .booking-table-wrap .table td:nth-child(9) {
    width: 10%;
  }
  .main-panel .booking-table-wrap .table th:nth-child(10),
  .main-panel .booking-table-wrap .table td:nth-child(10) {
    width: 5%;
  }

  /* Category table: 7 colunas */
  .main-panel .category-table-wrap .table th:nth-child(1),
  .main-panel .category-table-wrap .table td:nth-child(1) {
    width: 4%;
  }
  .main-panel .category-table-wrap .table th:nth-child(2),
  .main-panel .category-table-wrap .table td:nth-child(2) {
    width: 10%;
  }
  .main-panel .category-table-wrap .table th:nth-child(3),
  .main-panel .category-table-wrap .table td:nth-child(3) {
    width: 28%;
  }
  .main-panel .category-table-wrap .table th:nth-child(4),
  .main-panel .category-table-wrap .table td:nth-child(4) {
    width: 12%;
  }
  .main-panel .category-table-wrap .table th:nth-child(5),
  .main-panel .category-table-wrap .table td:nth-child(5) {
    width: 12%;
  }
  .main-panel .category-table-wrap .table th:nth-child(6),
  .main-panel .category-table-wrap .table td:nth-child(6) {
    width: 12%;
  }
  .main-panel .category-table-wrap .table th:nth-child(7),
  .main-panel .category-table-wrap .table td:nth-child(7) {
    width: 12%;
  }
  .main-panel .category-card-img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
  }
  .main-panel .btn-outline-danger {
    background: transparent;
    color: #dc3545;
    border: 2px solid #dc3545;
  }
  .main-panel .btn-outline-danger:hover {
    background: #dc3545;
    color: var(--white);
    border-color: #dc3545;
  }
  .main-panel .btn-outline-primary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
  }
  .main-panel .btn-outline-primary:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
  }

  /* Modal footer: botões padronizados (categories, coupons, etc.) */
  .main-panel .modal-footer .btn {
    min-width: 90px;
  }
  .main-panel .modal-footer .btn + .btn {
    margin-left: 8px;
  }

  /* Withdraw table */
  .main-panel .withdraw-table-wrap .table th:nth-child(1),
  .main-panel .withdraw-table-wrap .table td:nth-child(1) {
    width: 4%;
  }
  .main-panel .withdraw-table-wrap .table th:nth-child(2),
  .main-panel .withdraw-table-wrap .table td:nth-child(2) {
    width: 10%;
  }
  .main-panel .withdraw-table-wrap .table th:nth-child(3),
  .main-panel .withdraw-table-wrap .table td:nth-child(3) {
    width: 14%;
  }
  .main-panel .withdraw-table-wrap .table th:nth-child(4),
  .main-panel .withdraw-table-wrap .table td:nth-child(4) {
    width: 12%;
  }
  .main-panel .withdraw-table-wrap .table th:nth-child(5),
  .main-panel .withdraw-table-wrap .table td:nth-child(5) {
    width: 12%;
  }
  .main-panel .withdraw-table-wrap .table th:nth-child(6),
  .main-panel .withdraw-table-wrap .table td:nth-child(6) {
    width: 14%;
  }
  .main-panel .withdraw-table-wrap .table th:nth-child(7),
  .main-panel .withdraw-table-wrap .table td:nth-child(7) {
    width: 12%;
  }
  .main-panel .withdraw-table-wrap .table th:nth-child(8),
  .main-panel .withdraw-table-wrap .table td:nth-child(8) {
    width: 12%;
  }
  .main-panel .withdraw-table-wrap .table th:nth-child(9),
  .main-panel .withdraw-table-wrap .table td:nth-child(9) {
    width: 10%;
  }

  /* Transaction table */
  .main-panel .transaction-table-wrap .table th:nth-child(1),
  .main-panel .transaction-table-wrap .table td:nth-child(1) {
    width: 8%;
  }
  .main-panel .transaction-table-wrap .table th:nth-child(2),
  .main-panel .transaction-table-wrap .table td:nth-child(2) {
    width: 10%;
  }
  .main-panel .transaction-table-wrap .table th:nth-child(3),
  .main-panel .transaction-table-wrap .table td:nth-child(3) {
    width: 12%;
  }
  .main-panel .transaction-table-wrap .table th:nth-child(4),
  .main-panel .transaction-table-wrap .table td:nth-child(4) {
    width: 10%;
  }
  .main-panel .transaction-table-wrap .table th:nth-child(5),
  .main-panel .transaction-table-wrap .table td:nth-child(5) {
    width: 10%;
  }
  .main-panel .transaction-table-wrap .table th:nth-child(6),
  .main-panel .transaction-table-wrap .table td:nth-child(6) {
    width: 10%;
  }
  .main-panel .transaction-table-wrap .table th:nth-child(7),
  .main-panel .transaction-table-wrap .table td:nth-child(7) {
    width: 10%;
  }
  .main-panel .transaction-table-wrap .table th:nth-child(8),
  .main-panel .transaction-table-wrap .table td:nth-child(8) {
    width: 8%;
  }
  .main-panel .transaction-table-wrap .table th:nth-child(9),
  .main-panel .transaction-table-wrap .table td:nth-child(9) {
    width: 8%;
  }
  .main-panel .transaction-table-wrap .table th:nth-child(10),
  .main-panel .transaction-table-wrap .table td:nth-child(10) {
    width: 6%;
  }

  /* Support ticket table: 8 colunas (checkbox, ID, User Type, Username, Email, Subject, Status, Actions) */
  .main-panel .support-ticket-table-wrap .table th:nth-child(1),
  .main-panel .support-ticket-table-wrap .table td:nth-child(1) {
    width: 4%;
  }
  .main-panel .support-ticket-table-wrap .table th:nth-child(2),
  .main-panel .support-ticket-table-wrap .table td:nth-child(2) {
    width: 6%;
  }
  .main-panel .support-ticket-table-wrap .table th:nth-child(3),
  .main-panel .support-ticket-table-wrap .table td:nth-child(3) {
    width: 10%;
  }
  .main-panel .support-ticket-table-wrap .table th:nth-child(4),
  .main-panel .support-ticket-table-wrap .table td:nth-child(4) {
    width: 12%;
  }
  .main-panel .support-ticket-table-wrap .table th:nth-child(5),
  .main-panel .support-ticket-table-wrap .table td:nth-child(5) {
    width: 15%;
  }
  .main-panel .support-ticket-table-wrap .table th:nth-child(6),
  .main-panel .support-ticket-table-wrap .table td:nth-child(6) {
    width: 25%;
  }
  .main-panel .support-ticket-table-wrap .table th:nth-child(7),
  .main-panel .support-ticket-table-wrap .table td:nth-child(7) {
    width: 10%;
  }
  .main-panel .support-ticket-table-wrap .table th:nth-child(8),
  .main-panel .support-ticket-table-wrap .table td:nth-child(8) {
    width: 10%;
  }

  /* ============================================================
   Padrão system-wide: inputs e selects legíveis (todo o sistema)
   Breakpoints: ≤320 | 320-576 | 577-767 | 768-991 | 992-1199 | ≥1200
   ============================================================ */
  .form-control:not(.form-control-sm):not(.form-control-lg):not(textarea),
  select.form-control:not(.form-control-sm):not(.form-control-lg) {
    font-size: 0.875rem !important;
    min-height: 38px !important;
    height: auto !important;
    padding: 0.4rem 0.75rem !important;
    line-height: 1.5;
  }
  .form-control:not(.form-control-sm):not(.form-control-lg):not(
      textarea
    )::placeholder,
  .form-control:not(.form-control-sm):not(.form-control-lg):not(
      textarea
    )::-webkit-input-placeholder,
  .form-control:not(.form-control-sm):not(.form-control-lg):not(
      textarea
    )::-moz-placeholder,
  .form-control:not(.form-control-sm):not(.form-control-lg):not(
      textarea
    ):-ms-input-placeholder {
    font-size: 0.8125rem;
    opacity: 0.8;
  }

  /* Form controls responsivo */
  @media (max-width: 320px) {
    .form-control:not(.form-control-sm):not(.form-control-lg):not(textarea),
    select.form-control:not(.form-control-sm):not(.form-control-lg) {
      font-size: 0.8125rem !important;
      min-height: 36px !important;
      padding: 0.35rem 0.6rem !important;
    }
  }
  @media (min-width: 1200px) {
    .form-control:not(.form-control-sm):not(.form-control-lg):not(textarea),
    select.form-control:not(.form-control-sm):not(.form-control-lg) {
      font-size: 0.9rem !important;
      min-height: 40px !important;
      padding: 0.45rem 0.8rem !important;
    }
  }

  /* Card-header filters: largura mínima para legibilidade (organizer/admin) */
  .main-panel .card-header .card-header-filter-form {
    width: 100%;
    min-width: 0;
  }
  .main-panel .card-header .card-header-filter-form .form-control {
    width: 100%;
    min-width: 0;
  }
  .main-panel .card-header .card-header-filter-group {
    gap: 8px;
  }
  /* Card-header botões (ex: withdraw) - gap para Bootstrap 4 */
  .main-panel .card-header .d-flex.gap-2 {
    gap: 8px;
  }
}

/* Support ticket file input - 1 botão "Procurar", alinhado ao layout-refactor */
.support-ticket-file-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
}
.support-ticket-file-input {
  position: absolute;
  width: 0;
  height: 0;
  opacity: 0;
  overflow: hidden;
  z-index: -1;
}
.support-ticket-file-display {
  flex: 1;
  min-width: 0;
  padding: 10px 14px;
  font-size: 0.875rem;
  color: var(--heading);
  background: var(--white);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.support-ticket-file-display:not(.support-ticket-file-has-value) {
  color: var(--text-muted);
}
.support-ticket-file-btn {
  flex-shrink: 0;
  border-radius: 0;
  border-left: 1px solid var(--border);
  padding: 10px 18px;
  font-size: 0.875rem;
}
.main-panel .support-ticket-file-wrap .support-ticket-file-btn {
  color: var(--primary);
  border-color: var(--border);
  border-left-color: var(--border);
}
.main-panel .support-ticket-file-wrap .support-ticket-file-btn:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

@media (max-width: 320px) {
  .support-ticket-file-wrap {
    flex-direction: column;
  }
  .support-ticket-file-display {
    padding: 8px 12px;
    font-size: 0.8125rem;
    border-bottom: 1px solid var(--border);
  }
  .support-ticket-file-btn {
    width: 100%;
    border-left: none;
    border-top: 1px solid var(--border);
    padding: 10px 14px;
  }
}
@media (min-width: 320.98px) and (max-width: 576.98px) {
  .support-ticket-file-display {
    padding: 9px 12px;
    font-size: 0.8125rem;
  }
  .support-ticket-file-btn {
    padding: 9px 14px;
    font-size: 0.8125rem;
  }
}
@media (min-width: 577px) and (max-width: 767.98px) {
  .support-ticket-file-display {
    padding: 10px 14px;
  }
  .support-ticket-file-btn {
    padding: 10px 16px;
  }
}
@media (min-width: 768px) and (max-width: 991.98px) {
  .support-ticket-file-display {
    padding: 10px 14px;
  }
  .support-ticket-file-btn {
    padding: 10px 18px;
  }
}
@media (min-width: 992px) and (max-width: 1199.98px) {
  .support-ticket-file-display {
    padding: 10px 14px;
  }
  .support-ticket-file-btn {
    padding: 10px 18px;
  }
}

/* Edit Profile (organizer) - alinhado ao layout-refactor */
.edit-profile-card .card-body .row {
  margin-left: -12px;
  margin-right: -12px;
}
.edit-profile-card .card-body .row > [class*="col-"] {
  padding-left: 12px;
  padding-right: 12px;
}
.edit-profile-card .form-group {
  margin-bottom: 1rem;
}
.edit-profile-card .form-group label {
  color: var(--heading);
  font-weight: 600;
  margin-bottom: 6px;
}
.edit-profile-card .form-control {
  border-color: var(--border);
  border-radius: 8px;
  color: var(--heading);
}
.edit-profile-card .form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(77, 125, 32, 0.15);
}
.edit-profile-card .card-title,
.edit-profile-card h4,
.edit-profile-card h5 {
  color: var(--heading) !important;
}

/* Photo preview - placeholder traduzido */
.edit-profile-photo-preview {
  position: relative;
  display: inline-block;
  min-width: 200px;
  min-height: 200px;
  max-width: 300px;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: var(--light);
}
.edit-profile-photo-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px;
  color: var(--text-muted);
  text-align: center;
}
.edit-profile-photo-placeholder.d-none {
  display: none !important;
}
.edit-profile-photo-icon {
  font-size: 48px;
  opacity: 0.6;
}
.edit-profile-photo-icon i {
  color: var(--text-muted);
}
.edit-profile-photo-text {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
}
.edit-profile-photo-img {
  position: relative;
  z-index: 1;
  max-width: 100%;
  max-height: 300px;
  display: block;
  border-radius: 8px;
}
.edit-profile-photo-img.edit-profile-photo-empty {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.edit-profile-card .upload-btn {
  border-radius: 8px;
  font-weight: 600;
  padding: 10px 18px;
}
.edit-profile-card .upload-btn:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
}

/* Edit profile - responsividade */
@media (max-width: 320px) {
  .edit-profile-photo-preview {
    min-width: 160px;
    min-height: 160px;
    max-width: 100%;
  }
  .edit-profile-photo-icon {
    font-size: 36px;
  }
  .edit-profile-photo-text {
    font-size: 0.8125rem;
  }
  .edit-profile-card .upload-btn {
    padding: 8px 14px;
    font-size: 0.875rem;
  }
}
@media (min-width: 320.98px) and (max-width: 576.98px) {
  .edit-profile-photo-preview {
    min-width: 180px;
    min-height: 180px;
  }
  .edit-profile-photo-icon {
    font-size: 40px;
  }
  .edit-profile-photo-text {
    font-size: 0.8125rem;
  }
}
@media (min-width: 577px) and (max-width: 767.98px) {
  .edit-profile-photo-preview {
    min-width: 200px;
    min-height: 200px;
  }
}
@media (min-width: 768px) and (max-width: 991.98px) {
  .edit-profile-photo-preview {
    min-width: 220px;
    min-height: 220px;
  }
}
@media (min-width: 992px) and (max-width: 1199.98px) {
  .edit-profile-photo-preview {
    min-width: 240px;
    min-height: 240px;
  }
}

/* ===== NOVA REFATORAÇÃO COMPLETA - PÁGINA DE DETALHES DA RESERVA ===== */
/* Abordagem completamente nova e simplificada do zero */

/* Layout base da página */
.booking-details-page {
  width: 100%;
}

/* Header da página */
.booking-details-page .booking-details-header {
  margin-bottom: 20px;
}

.booking-details-page .btn-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--primary);
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 500;
  transition: background 0.2s;
}

.booking-details-page .btn-back:hover {
  background: var(--primary-hover);
  color: white;
  text-decoration: none;
}

/* Cards principais */
.booking-details-page .booking-card {
  background: white;
  border: 1px solid #e1e1e1;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.booking-details-page .booking-card-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: #333;
  margin: 0 0 15px 0;
  padding-bottom: 10px;
  border-bottom: 2px solid #f0f0f0;
}

.booking-details-page .booking-card-title-sm {
  font-size: 1rem;
  font-weight: 600;
  color: #333;
  margin: 0 0 12px 0;
}

.booking-details-page .booking-card-desc {
  color: #666;
  font-size: 0.9rem;
  line-height: 1.4;
  margin: 0 0 15px 0;
  text-align: center;
}

/* Grid de ingressos - SIMPLIFICADO E FUNCIONAL */
.booking-details-page .ticket-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
  width: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.booking-details-page .ticket-card {
  background: #f8f9fa;
  border: 2px solid #e9ecef;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  transition: border-color 0.2s;
  box-sizing: border-box;
}

.booking-details-page .ticket-card:hover {
  border-color: var(--primary);
}

.booking-details-page .ticket-card-qr {
  margin-bottom: 15px;
}

.booking-details-page .ticket-card-qr-img,
.booking-details-page .ticket-card-qr-placeholder {
  width: 120px;
  height: 120px;
  margin: 0 auto;
  border-radius: 8px;
  object-fit: contain;
}

.booking-details-page .ticket-card-qr-placeholder {
  background: #e9ecef;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6c757d;
  font-size: 0.8rem;
}

.booking-details-page .ticket-card-info {
  margin-bottom: 15px;
}

.booking-details-page .ticket-card-info strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 4px;
  word-break: break-word;
}

.booking-details-page .ticket-card-info span {
  font-size: 0.8rem;
  color: #666;
}

.booking-details-page .btn-ticket-pdf {
  display: inline-block;
  padding: 10px 15px;
  background: white;
  border: 2px dashed #dee2e6;
  border-radius: 6px;
  color: #333;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.2s;
  box-sizing: border-box;
}

.booking-details-page .btn-ticket-pdf:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: #f8f9ff;
}

/* Elementos de resumo */
.booking-details-page .booking-summary-row {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.booking-details-page .booking-id-badge {
  flex: 1;
  min-width: 200px;
}

.booking-details-page .booking-id-badge .label {
  font-size: 0.8rem;
  color: #666;
  margin-bottom: 2px;
}

.booking-details-page .booking-id-badge strong {
  font-size: 1.1rem;
  color: #333;
}

.booking-details-page .booking-dates {
  flex: 1;
  min-width: 200px;
}

.booking-details-page .booking-dates .label {
  font-size: 0.8rem;
  color: #666;
  margin-bottom: 2px;
}

.booking-details-page .booking-dates p {
  margin: 0 0 5px 0;
  font-size: 0.9rem;
  color: #333;
}

.booking-details-page .badge-status {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
}

.booking-details-page .badge-success {
  background: #d4edda;
  color: #155724;
}

.booking-details-page .badge-warning {
  background: #fff3cd;
  color: #856404;
}

.booking-details-page .badge-danger {
  background: #f8d7da;
  color: #721c24;
}

.booking-details-page .badge-primary {
  background: #cce5ff;
  color: #004085;
}

.booking-details-page .badge-secondary {
  background: #e2e3e5;
  color: #383d41;
}

/* Lista de informações */
.booking-details-page .booking-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.booking-details-page .booking-list li {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
}

.booking-details-page .booking-list li:last-child {
  border-bottom: none;
}

.booking-details-page .booking-list .label {
  font-weight: 500;
  color: #666;
  min-width: 120px;
  flex-shrink: 0;
}

.booking-details-page .booking-list .badge {
  font-size: 0.8rem;
}

/* ===== RESPONSIVIDADE SIMPLIFICADA E FUNCIONAL ===== */

/* Forçar colunas Bootstrap a se empilhar em telas menores que 990px */
@media (max-width: 991.98px) {
  /* Override específico para as colunas na página de detalhes */
  .booking-details-page .col-lg-6.col-md-6,
  .booking-details-page .col-lg-12.col-md-6 {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  /* Garantir que as colunas não fiquem lado a lado */
  .booking-details-page .row > .col-lg-6.col-md-6,
  .booking-details-page .row > .col-lg-12.col-md-6 {
    margin-bottom: 20px !important;
    display: block !important;
    float: none !important;
  }

  .booking-details-page .row > .col-lg-6.col-md-6:last-child,
  .booking-details-page .row > .col-lg-12.col-md-6:last-child {
    margin-bottom: 0 !important;
  }

  /* Forçar o row a se comportar como flex column */
  .booking-details-page .row {
    display: block !important;
  }
}

/* Mobile pequeno - 1 coluna */
@media (max-width: 576.98px) {
  .booking-details-page .booking-card {
    padding: 15px;
    margin-bottom: 15px;
  }

  .booking-details-page .booking-card-title {
    font-size: 1.1rem;
  }

  .booking-details-page .ticket-cards-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .booking-details-page .ticket-card {
    padding: 15px;
  }

  .booking-details-page .ticket-card-qr-img,
  .booking-details-page .ticket-card-qr-placeholder {
    width: 100px;
    height: 100px;
  }

  .booking-details-page .booking-summary-row {
    flex-direction: column;
    gap: 15px;
  }

  .booking-details-page .booking-id-badge,
  .booking-details-page .booking-dates {
    min-width: auto;
  }

  .booking-details-page .booking-list li {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .booking-details-page .booking-list .label {
    min-width: auto;
    margin-bottom: 2px;
  }
}

/* Tablet - 2 colunas */
@media (min-width: 576.98px) and (max-width: 991.98px) {
  .booking-details-page .booking-card {
    padding: 18px;
  }

  .booking-details-page .ticket-cards-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
  }

  .booking-details-page .ticket-card-qr-img,
  .booking-details-page .ticket-card-qr-placeholder {
    width: 110px;
    height: 110px;
  }

  .booking-details-page .booking-list .label {
    min-width: 110px;
  }
}

/* Desktop - 3+ colunas */
@media (min-width: 992px) {
  .booking-details-page .booking-card {
    padding: 24px;
  }

  .booking-details-page .ticket-cards-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 18px;
  }

  .booking-details-page .ticket-card-qr-img,
  .booking-details-page .ticket-card-qr-placeholder {
    width: 140px;
    height: 140px;
  }

  .booking-details-page .booking-list .label {
    min-width: 140px;
  }
}

/* Desktop grande - colunas maiores */
@media (min-width: 1200px) {
  .booking-details-page .ticket-cards-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }

  .booking-details-page .ticket-card-qr-img,
  .booking-details-page .ticket-card-qr-placeholder {
    width: 160px;
    height: 160px;
  }
}
@media (min-width: 1200px) {
  .edit-profile-photo-preview {
    min-width: 260px;
    min-height: 260px;
    max-width: 300px;
  }
}

@media (max-width: 767.98px) {
  /* ============================================================
     MASTER OVERRIDE PARA MOBILE (< 768px) - SOLUÇÃO DEFINITIVA
     ============================================================ */

  /* 1. RESET TOTAL DE CONTAINERS */
  html body .event-grid,
  html body .small-card-grid,
  html body .feature-grid-refactor,
  html body .how-work-grid,
  html body .footer-grid,
  html body .city-grid,
  html body .partner-grid-refactor,
  html body .cta-content,
  html body .cta-features {
    display: grid !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    padding: 0 10px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }

  /* 2. FORÇA LARGURA 100% EM TODOS OS FILHOS */
  html body .event-card,
  html body .small-card,
  html body .small-card.last-call-card,
  html body .feature-card-refactor,
  html body .how-work-card,
  html body .footer-col,
  html body .cta-info,
  html body .cta-image,
  html body .cta-feature {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    display: block !important;
    height: auto !important;
    min-height: unset !important;
    margin-bottom: 20px !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    visibility: visible !important;
    opacity: 1 !important;
    float: none !important;
  }

  /* 3. SMALL CARD: MANTÉM ESTRUTURA [FOTO][TEXTO] EM TODAS AS TELAS */
  html body .small-card,
  html body .small-card.last-call-card {
    display: flex !important;
    flex-direction: row !important; /* Foto ao lado do texto */
    align-items: stretch !important;
    height: 100px !important; /* Altura fixa para mobile para manter padrão */
    overflow: hidden !important;
    background: var(--white);
    border-radius: 8px !important;
    padding: 0 !important;
  }

  html body .small-card-img {
    width: 100px !important;
    height: 100px !important;
    flex: 0 0 100px !important;
  }

  html body .small-card-content {
    flex: 1 !important;
    padding: 10px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    min-width: 0 !important;
  }

  /* 4. CTA E LAPTOP MOCKUP */
  html body .laptop-mockup {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    min-height: 180px !important;
    margin-top: 20px !important;
  }

  /* 5. NORMALIZAÇÃO DE IMAGENS */
  html body .event-img,
  html body .small-card-img img,
  html body .laptop-mockup img,
  html body .cta-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
  }

  /* 6. FEATURE & HOW WORK ALIGNMENT */
  html body .feature-card-refactor,
  html body .how-work-card {
    text-align: center !important;
    padding: 20px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }

  html body .feature-icon,
  html body .step-icon {
    margin: 0 auto 15px auto !important;
    display: block !important;
  }

  /* 7. FOOTER */
  html body .footer-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
  }

  html body .footer-col {
    text-align: center !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
    padding: 20px 15px !important;
    margin-bottom: 0 !important;
    width: 100% !important;
  }

  html body .footer-col:last-child {
    border-bottom: none !important;
  }

  html body .footer-col ul {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    padding: 0 !important;
  }

  html body .social-links {
    display: flex !important;
    justify-content: center !important;
    gap: 15px !important;
    width: 100% !important;
    margin-top: 20px !important;
  }

  /* Remove ajuda conforme solicitado */
  .help-center-button,
  .footer-help-link {
    display: none !important;
  }
}

/* ============================================================
   GRID DE EVENTOS - COLUNAS POR BREAKPOINT
   ============================================================ */

/* ≤576px: 1 por linha */
@media (max-width: 576.98px) {
  html body .event-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
}

/* 577px - 991px: 2 por linha */
@media (min-width: 577px) and (max-width: 991.98px) {
  html body .event-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
  }
}

/* ≥992px: 4 por linha */
@media (min-width: 992px) {
  html body .event-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 24px !important;
  }
}

/* ============================================================
   GRID DE SMALL CARDS - COLUNAS POR BREAKPOINT
   ============================================================ */

/* ≤767px: 1 por linha */
@media (max-width: 767.98px) {
  html body .small-card-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  html body .small-card,
  html body .small-card.last-call-card {
    display: flex !important;
    flex-direction: row !important; /* Foto ao lado do texto */
    height: 100px !important;
    width: 100% !important;
  }

  html body .small-card-img {
    width: 100px !important;
    height: 100px !important;
    flex: 0 0 100px !important;
  }
}

/* ≥768px: 2 por linha */
@media (min-width: 768px) {
  html body .small-card-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
  }

  html body .small-card,
  html body .small-card.last-call-card {
    display: flex !important;
    flex-direction: row !important;
    height: 100px !important;
  }

  html body .small-card-img {
    width: 100px !important;
    height: 100px !important;
    flex: 0 0 100px !important;
  }
}

/* ============================================================
   GRID DE FEATURES - COLUNAS POR BREAKPOINT
   ============================================================ */

/* ≤576px: 1 por linha */
@media (max-width: 576.98px) {
  html body .feature-grid-refactor {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
}

/* ≥577px: 3 por linha */
@media (min-width: 577px) {
  html body .feature-grid-refactor {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 20px !important;
  }
}

/* ============================================================
   GRID DE CTA (PRODUTORES) - COLUNAS POR BREAKPOINT
   ============================================================ */

/* ≤767px: 1 por linha para o container principal, mas 2 para as features */
@media (max-width: 767.98px) {
  html body .cta-content {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }

  html body .cta-features {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 15px !important;
    width: 100% !important;
  }

  html body .cta-feature {
    width: 100% !important;
    margin-bottom: 0 !important;
  }

  /* Imagem com 80% quando em 1 coluna */
  html body .laptop-mockup img {
    width: 80% !important;
    margin: 0 auto !important;
  }

  /* Ajuste dos botões do CTA (Sempre centralizados e um pouco menores) */
  html body .cta-btns {
    display: flex !important;
    justify-content: center !important;
    gap: 12px !important;
    width: 100% !important;
    margin-top: 20px !important;
    flex-wrap: wrap !important;
  }

  html body .cta-btns .btn-primary,
  html body .cta-btns .btn-outline {
    padding: 8px 16px !important;
    font-size: 13px !important;
    min-width: 140px !important;
    text-align: center !important;
  }
}

/* ≥768px: 2 por linha para o container principal */
@media (min-width: 768px) {
  html body .cta-content {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 40px !important;
    align-items: center !important;
  }

  html body .cta-features {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
  }

  /* Ajuste dos botões do CTA (Sempre centralizados e um pouco menores) */
  html body .cta-btns {
    display: flex !important;
    justify-content: center !important;
    gap: 12px !important;
    width: 100% !important;
    margin-top: 20px !important;
  }

  html body .cta-btns .btn-primary,
  html body .cta-btns .btn-outline {
    padding: 8px 16px !important;
    font-size: 13px !important;
    min-width: 140px !important;
    text-align: center !important;
  }
}

/* ============================================================
   GRID DO FOOTER - COLUNAS POR BREAKPOINT
   ============================================================ */

/* ≤576px: 1 por linha */
@media (max-width: 576.98px) {
  html body .footer-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
}

/* 577px - 767px: Custom Layout (Coluna 1 sozinha, 2 e 3 juntas, 4 e 5 juntas) */
@media (min-width: 577px) and (max-width: 767.98px) {
  html body .footer-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 30px !important;
  }

  html body .footer-col-main {
    grid-column: span 2 !important; /* Coluna 1 ocupa a largura toda */
    text-align: center !important;
  }

  html body .footer-col {
    width: 100% !important;
  }
}

/* ≥768px: 5 colunas em uma linha */
@media (min-width: 768px) {
  html body .footer-grid {
    display: grid !important;
    grid-template-columns: repeat(5, 1fr) !important;
    gap: 20px !important;
    align-items: start !important;
  }

  html body .footer-col {
    width: 100% !important;
    text-align: left !important;
    border: none !important;
    padding: 0 !important;
  }

  html body .footer-col-main {
    text-align: left !important;
    display: block !important;
  }

  html body .footer-about-text {
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 15px !important;
  }

  html body .footer-about-text p {
    font-size: 10px !important; /* Ajustado para combinar com o menu */
    line-height: 1 !important;
    margin-bottom: 5px !important;
    color: inherit !important;
  }

  html body .footer-col ul {
    align-items: flex-start !important;
  }

  html body .social-links {
    justify-content: flex-start !important;
  }
}

/* Social links centralizados e em 1 linha sempre */
html body .social-links {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  justify-content: center !important;
  gap: 15px !important;
  width: 100% !important;
}

/* Centralização da logo e textos no footer-col-main para < 768px */
@media (max-width: 767.98px) {
  html body .footer-col-main {
    text-align: left !important;
    display: flex !important;
    flex-direction: row !important; /* Força Lado a Lado */
    flex-wrap: wrap !important; /* Permite que as redes sociais quebrem para baixo */
    align-items: flex-start !important;
    width: 100% !important;
    gap: 15px !important;
  }

  html body .footer-logo-refactor {
    flex: 0 0 30% !important; /* 30% de largura */
    width: 30% !important;
    max-width: 30% !important;
    margin: 0 !important;
    display: block !important;
  }

  html body .footer-logo-refactor img {
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
  }

  /* Ocupa 70% da largura em mobile */
  html body .footer-about-text {
    flex: 0 0 calc(70% - 15px) !important;
    width: calc(70% - 15px) !important;
    max-width: calc(70% - 15px) !important;
    text-align: left !important;
    margin: 0 !important;
  }

  html body .footer-about-text p {
    font-size: 13px !important;
    line-height: 1.4 !important;
    margin-bottom: 8px !important;
    width: 100% !important;
  }

  html body .footer-about-text p:last-child {
    margin-bottom: 0 !important;
  }

  /* Social links voltam para 100% abaixo para não apertar o layout */
  html body .social-links {
    flex: 0 0 100% !important;
    width: 100% !important;
    margin-top: 20px !important;
    justify-content: center !important;
    display: flex !important;
  }
}

/* ============================================================
   GRID DE COMO FUNCIONA - COLUNAS POR BREAKPOINT
   ============================================================ */

/* ≤576px: 1 por linha */
@media (max-width: 576.98px) {
  html body .how-work-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
}

/* 577px - 767px: 2 por linha */
@media (min-width: 577px) and (max-width: 767.98px) {
  html body .how-work-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
  }
}

/* ≥768px: 4 por linha */
@media (min-width: 768px) {
  html body .how-work-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 24px !important;
  }
}

/* ===== FIX: Sidebar de ingressos visível abaixo de 992px (top-level, sem aninhamento) ===== */
@media (max-width: 991.98px) {
  .content-with-sidebar {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .content-with-sidebar--details {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
  }
  .event-details-section .content-main-refactor {
    width: 100% !important;
    min-width: 0 !important;
  }
  .event-details-section .sidebar-refactor {
    position: static !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    box-shadow: none !important;
    overflow-y: visible !important;
    margin: 0 !important;
    border: none !important;
    border-right: none !important;
  }
  .event-details-section .sidebar-sticky {
    position: static !important;
  }
  .event-details-section .sidebar-refactor .widget-refactor {
    padding: 16px;
  }
}

@media (max-width: 767.98px) {
  .event-details-section .content-with-sidebar.content-with-sidebar--details {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    grid-template-columns: unset !important;
    grid-template-rows: unset !important;
    gap: 0 !important;
  }
  .event-details-section .content-main-refactor {
    order: 1 !important;
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-bottom: 24px;
    float: none !important;
    clear: both !important;
  }
  .event-details-section .sidebar-refactor {
    order: 2 !important;
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    float: none !important;
    clear: both !important;
  }
}

/* Force hide carousel navigation on index */
.hero-carousel-page .carousel-nav,
.hero-carousel-page #prevBtn,
.hero-carousel-page #nextBtn,
.hero-carousel-page .carousel-nav .nav-btn {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Organizer - Partner dashboard (1 doughnut: Ocupação Total) */
.partner-event-meta-line {
  width: 100%;
  text-align: center;
  margin-bottom: 12px;
}

.partner-event-meta-line__text {
  width: 100%;
  text-align: center;
  color: var(--text-muted, #6b7280);
  font-size: 14px;
  line-height: 1.3;
}

.partner-event-meta-line__separator {
  display: inline;
  color: var(--text-muted, #6b7280);
}

.partner-event-donuts-grid {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 18px;
}

.partner-event-donuts-grid--single {
  justify-content: center;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.partner-event-donut-card {
  flex: 1 1 220px;
  max-width: 320px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.partner-event-donut-card--occupancy {
  flex: 0 0 200px;
  max-width: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.partner-event-donut-card--stats {
  flex: 1 1 220px;
  max-width: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  text-align: center;
}

.partner-event-donut-chart-wrap {
  position: relative;
  width: 180px;
  height: 180px;
  margin: 0 auto;
}

.partner-event-donut-chart-wrap canvas {
  width: 100% !important;
  height: 100% !important;
}

.partner-event-donut-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  text-align: center;
  pointer-events: none;
}

.partner-event-donut-center__percent {
  font-weight: 700;
  font-size: 22px;
  line-height: 1;
  color: #111827;
}

.partner-event-donut-center__label {
  font-weight: 600;
  font-size: 12px;
  line-height: 1.2;
  color: #6b7280;
}

.partner-event-donut-center__ratio {
  margin-top: 4px;
  font-weight: 700;
  font-size: 13px;
  line-height: 1.1;
  color: #374151;
}

.partner-event-donut-stats {
  margin-top: 12px;
  font-size: 14px;
  color: #111827;
}

.partner-event-donut-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 18px;
  row-gap: 14px;
  width: 100%;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

.partner-event-donut-stat {
  text-align: center;
}

.partner-event-donut-stat__value {
  display: block;
  font-weight: 800;
  font-size: 28px;
  line-height: 1.05;
  color: #111827;
}

.partner-event-donut-stat__value b {
  font: inherit;
  font-weight: 800;
}

.partner-event-donut-stat__label {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  color: #6b7280;
}

@media (max-width: 320px) {
  .partner-event-donut-chart-wrap {
    width: 160px;
    height: 160px;
  }

  .partner-event-donuts-grid--single .partner-event-donut-card--occupancy {
    flex: 0 0 170px;
    max-width: 170px;
  }

  .partner-event-donuts-grid--single .partner-event-donut-card--stats {
    min-height: 160px;
  }

  .partner-event-donut-center__percent {
    font-size: 20px;
  }

  .partner-event-donut-center__ratio {
    font-size: 12px;
  }

  .partner-event-donut-stat__value {
    font-size: 26px;
  }

  .partner-event-donut-stat__label {
    font-size: 12px;
  }
}

@media (min-width: 321px) and (max-width: 576px) {
  .partner-event-donut-chart-wrap {
    width: 170px;
    height: 170px;
  }

  .partner-event-donut-stat__value {
    font-size: 27px;
  }
}
