* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #6900ff;
  --primary-dark: #4442ff;
  --success-color: #10b981;
  --moozk-pink: #f5449b;
  --moozk-yellow: #ffcd3a;
  --moozk-blue: #99e7ff;
  --danger-color: #ef4444;
  --warning-color: #f59e0b;
  --bg-primary: #f5f5f5;
  --bg-secondary: #ffffff;
  --text-primary: #0c0c0d;
  --text-secondary: #475569;
  --border-color: #e2e8f0;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --radius: 12px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
  font-family:
    "Lato",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem;
}

.header {
  text-align: center;
  margin-bottom: 3rem;
  color: var(--text-primary);
}

.header h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  animation: fadeInDown 0.6s ease;
}

.subtitle {
  font-size: 1.25rem;
  opacity: 0.95;
  animation: fadeInUp 0.6s ease;
}

.main-content {
  background: var(--bg-secondary);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  animation: fadeIn 0.8s ease;
  color: var(--text-primary);
}

.controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.btn-primary {
  background: var(--primary-color);
  color: white;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-icon {
  font-size: 1.25rem;
}

.stats {
  display: flex;
  gap: 1rem;
  align-items: center;
  color: var(--text-secondary);
  font-weight: 500;
}

.loading {
  text-align: center;
  padding: 3rem;
  color: var(--text-secondary);
}

.spinner {
  width: 50px;
  height: 50px;
  margin: 0 auto 1rem;
  border: 4px solid var(--border-color);
  border-top-color: var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.error-message {
  background: #fee2e2;
  color: #991b1b;
  padding: 1rem;
  border-radius: 8px;
  border-left: 4px solid var(--danger-color);
  margin-bottom: 1.5rem;
  animation: shake 0.5s ease;
}

.hidden {
  display: none !important;
}

.restaurantes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 1.5rem;
  animation: fadeInUp 0.6s ease;
}

.restaurante-card {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.restaurante-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--primary-color);
  transform: scaleY(0);
  transition: var(--transition);
}

.restaurante-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.restaurante-card:hover::before {
  transform: scaleY(1);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 1rem;
  gap: 1rem;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  flex: 1;
}

.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.badge-success {
  background: #d1fae5;
  color: #065f46;
}

.badge-danger {
  background: #fee2e2;
  color: #991b1b;
}

.card-info {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.info-row {
  display: flex;
  gap: 0.5rem;
  font-size: 0.875rem;
}

.info-label {
  font-weight: 600;
  color: var(--text-secondary);
  min-width: 80px;
}

.info-value {
  color: var(--text-primary);
  flex: 1;
}

.card-divider {
  height: 1px;
  background: var(--border-color);
  margin: 1rem 0;
}

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.footer {
  text-align: center;
  margin-top: 3rem;
  color: white;
  opacity: 0.9;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes shake {
  0%,
  100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-10px);
  }
  75% {
    transform: translateX(10px);
  }
}

@media (max-width: 768px) {
  .container {
    padding: 1rem;
  }

  .header h1 {
    font-size: 2rem;
  }

  .restaurantes-grid {
    grid-template-columns: 1fr;
  }

  .controls {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }
}

/* Estilos do Sistema de Busca */
.search-container {
  margin-bottom: 2rem;
  animation: fadeInUp 0.6s ease;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: white;
  border: 2px solid var(--border-color);
  border-radius: 12px;
  padding: 0.5rem 1rem;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.search-box:focus-within {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.search-icon {
  font-size: 1.25rem;
  color: var(--text-secondary);
}

.search-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 1rem;
  padding: 0.5rem;
  color: var(--text-primary);
  background: transparent;
}

.search-input::placeholder {
  color: var(--text-secondary);
  opacity: 0.7;
}

.btn-search {
  padding: 0.625rem 1.25rem;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-search:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.btn-search:active {
  transform: translateY(0);
}

.btn-clear {
  padding: 0.5rem;
  background: var(--danger-color);
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  line-height: 1;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-clear:hover {
  background: #dc2626;
  transform: scale(1.1);
}

.search-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  background: #eff6ff;
  border-left: 4px solid var(--primary-color);
  border-radius: 8px;
  color: var(--text-secondary);
  font-size: 0.875rem;
  animation: fadeIn 0.3s ease;
}

.search-info strong {
  color: var(--primary-color);
  font-weight: 600;
}

@media (max-width: 768px) {
  .search-box {
    flex-wrap: wrap;
  }

  .search-input {
    min-width: 100%;
    order: -1;
  }

  .btn-search {
    flex: 1;
  }
}

/* Estilos do Formulário */
.controls-left {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-success {
  background: var(--success-color);
  color: white;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.btn-success:hover {
  background: #059669;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: var(--text-secondary);
  color: white;
}

.btn-secondary:hover {
  background: #475569;
}

.card-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
}

.btn-small {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  border-radius: 6px;
  flex: 1;
}

.btn-edit {
  background: var(--warning-color);
  color: white;
}

.btn-edit:hover {
  background: #d97706;
}

.btn-delete {
  background: var(--danger-color);
  color: white;
}

.btn-delete:hover {
  background: #dc2626;
}

/* Modal */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.modal-content {
  position: relative;
  background: white;
  border-radius: var(--radius);
  padding: 2rem;
  max-width: 500px;
  width: 90%;
  box-shadow: var(--shadow-lg);
  animation: slideUp 0.3s ease;
}

.modal-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.modal-message {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.modal-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
}

@keyframes slideUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Formulário */
.form-header {
  margin-bottom: 2rem;
}

.form-restaurante {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.form-section {
  background: var(--bg-primary);
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
}

.section-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.form-row:last-child {
  margin-bottom: 0;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group-large {
  grid-column: 1 / -1;
}

.form-label {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.875rem;
}

.required {
  color: var(--danger-color);
}

.form-input {
  padding: 0.75rem;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  font-size: 1rem;
  color: var(--text-primary);
  transition: var(--transition);
  background: white;
}

.form-input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-input:invalid {
  border-color: var(--danger-color);
}

.form-input::placeholder {
  color: var(--text-secondary);
  opacity: 0.7;
}

.form-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  padding-top: 1rem;
  border-top: 2px solid var(--border-color);
}

.success-message {
  background: #d1fae5;
  color: #065f46;
  padding: 1rem;
  border-radius: 8px;
  border-left: 4px solid var(--success-color);
  margin-bottom: 1.5rem;
  animation: slideDown 0.5s ease;
}

@keyframes slideDown {
  from {
    transform: translateY(-10px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@media (max-width: 768px) {
  .controls {
    flex-direction: column;
    align-items: stretch;
  }

  .controls-left {
    flex-direction: column;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .form-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }
}

/* Acrescentando novo style para o evento soft-delete */
/* Badges de Status */
.badge {
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: bold;
  text-transform: uppercase;
}

.badge-success {
  background-color: #d4edda;
  color: #155724;
}

.badge-danger {
  background-color: #f8d7da;
  color: #721c24;
}

/* Estilo visual para cards inativos */
.card-restaurante.inativo {
  opacity: 0.7;
  background-color: #f9f9f9;
  border: 1px dashed #ccc;
}

.card-restaurante.inativo .card-header h3 {
  color: #666;
  text-decoration: line-through;
}

/* Ajuste do Select na barra de busca */
select.search-input {
  cursor: pointer;
  background-color: white;
}
/* ========================================
   ESTILOS ESPECÍFICOS PARA EVENTOS
   ======================================== */

/* Select de Filtro de Status */
.select-filter {
  padding: 0.75rem 1rem;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  background: white;
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.3s ease;
  outline: none;
  min-width: 200px;
}

.select-filter:hover {
  border-color: var(--primary);
}

.select-filter:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Botão de Status em Card */
.btn-info {
  background-color: #0ea5e9;
  color: white;
}

.btn-info:hover {
  background-color: #0284c7;
}

/* Botão de Opção de Status no Modal */
.btn-status-option {
  width: 100%;
  padding: 0.875rem;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  background: white;
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-status-option:hover {
  background-color: var(--primary);
  color: white;
  border-color: var(--primary);
  transform: translateX(5px);
}

.btn-block {
  display: block;
  width: 100%;
}

/* Ajuste do layout dos controles quando há select */
.controls-right {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

/* Responsividade para filtros */
@media (max-width: 768px) {
  .select-filter {
    width: 100%;
    min-width: auto;
  }

  .controls-right {
    width: 100%;
  }

  .search-box {
    width: 100%;
  }
}
/* ========================================
   ESTILOS ESPECÍFICOS PARA FORM EVENTO
   ======================================== */

/* Ajustes para campos de data e hora */
.form-input[type="date"],
.form-input[type="time"] {
  cursor: pointer;
}

.form-input[type="date"]::-webkit-calendar-picker-indicator,
.form-input[type="time"]::-webkit-calendar-picker-indicator {
  cursor: pointer;
  filter: invert(0.5);
}

.form-input[type="date"]:focus::-webkit-calendar-picker-indicator,
.form-input[type="time"]:focus::-webkit-calendar-picker-indicator {
  filter: invert(0.3);
}

/* Select com ícone */
.form-input select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 3rem;
}

/* Textarea com melhor estilo */
textarea.form-input {
  resize: vertical;
  min-height: 100px;
  font-family: inherit;
  line-height: 1.5;
}

/* Small text helper */
.form-group small {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* Status badge no select (modo leitura) */
select.form-input:disabled {
  background-color: #f1f5f9;
  cursor: not-allowed;
  opacity: 0.7;
}

/* Validação visual de campos */
.form-input:invalid:not(:placeholder-shown) {
  border-color: var(--danger-color);
}

.form-input:valid:not(:placeholder-shown) {
  border-color: var(--success-color);
}

/* Ícones nos botões do form */
.btn-icon {
  display: inline-block;
  font-size: 1.1em;
}

/* Animação no submit */
.btn[type="submit"]:active {
  transform: scale(0.98);
}

/* Responsividade adicional para formulários */
@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
  }

  .form-group-large {
    grid-column: 1;
  }

  .form-actions {
    flex-direction: column;
  }

  .form-actions .btn {
    width: 100%;
  }
}

/* ========================================
   CONTROLE DE QUANTIDADE DE COUVERTS
   ======================================== */

.quantity-control {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.quantity-input {
  width: 70px;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  border: 2px solid var(--primary-color);
  border-radius: 10px;
  padding: 0.5rem;
  background: white;
}

.quantity-input:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.btn-quantity {
  width: 48px;
  height: 48px;
  font-size: 1.5rem;
  font-weight: 700;
  border: none;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--primary-dark)
  );
  color: white;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 6px rgba(59, 130, 246, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-quantity:hover:not(:disabled) {
  transform: scale(1.1);
  box-shadow: 0 6px 12px rgba(59, 130, 246, 0.4);
}

.btn-quantity:active:not(:disabled) {
  transform: scale(0.95);
}

.btn-quantity:disabled {
  background: #cbd5e1;
  cursor: not-allowed;
  box-shadow: none;
  opacity: 0.6;
}

@media (max-width: 768px) {
  .quantity-control {
    justify-content: center;
  }

  .btn-quantity {
    width: 44px;
    height: 44px;
    font-size: 1.25rem;
  }

  .quantity-input {
    width: 60px;
    font-size: 1.25rem;
  }
}

/* ========================================
   LAYOUT DE CONTROLES EM LINHA
   ======================================== */

.controls-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.controls-filters {
  margin-top: 0.5rem;
}

@media (max-width: 768px) {
  .controls-row {
    flex-direction: column;
    align-items: stretch;
  }

  .controls-row a,
  .controls-row button {
    width: 100%;
    justify-content: center;
  }
}

/* ========================================
   BARRA DE ESTATÍSTICAS
   ======================================== */

.stats-bar {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  align-items: center;
  padding: 1rem 1.5rem;
  background: white;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.stats-bar strong {
  color: var(--text-primary);
}

@media (max-width: 768px) {
  .stats-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}

/* ========================================
   TABELA DE EVENTOS (GRID/LISTAGEM)
   ======================================== */

.table-container {
  overflow-x: auto;
  animation: fadeInUp 0.6s ease;
}

.events-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.events-table thead {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.events-table thead th {
  padding: 1rem 1.25rem;
  text-align: left;
  font-weight: 600;
  font-size: 0.95rem;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.events-table tbody tr {
  transition: var(--transition);
  border-bottom: 1px solid var(--border-color);
}

.events-table tbody tr:last-child {
  border-bottom: none;
}

.events-table tbody tr:hover {
  background: rgba(102, 126, 234, 0.08);
}

.events-table tbody td {
  padding: 1rem 1.25rem;
  font-size: 0.95rem;
  color: var(--text-primary);
  vertical-align: middle;
}

.td-name {
  font-weight: 600;
  max-width: 300px;
}

.td-date {
  white-space: nowrap;
}

.td-status {
  white-space: nowrap;
}

.td-local {
  max-width: 200px;
}

.td-actions {
  white-space: nowrap;
  display: flex;
  gap: 0.5rem;
}

.badge-table {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.375rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 600;
}

@media (max-width: 768px) {
  .events-table {
    font-size: 0.85rem;
  }

  .events-table thead th,
  .events-table tbody td {
    padding: 0.75rem;
  }

  .td-actions {
    flex-direction: column;
    gap: 0.25rem;
  }

  .td-actions .btn-small {
    width: 100%;
    text-align: center;
  }
}

/* ========================================
   MODAL QR CODE
   ======================================== */

.qrcode-modal {
  text-align: center;
  max-width: 400px;
}

.qrcode-container {
  display: flex;
  justify-content: center;
  margin: 1.5rem 0;
  padding: 1rem;
  background: white;
  border-radius: 12px;
}

.qrcode-container canvas,
.qrcode-container img {
  border-radius: 8px;
  box-shadow: var(--shadow-md);
}

.qrcode-evento-nome {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.qrcode-evento-info {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.btn-qrcode {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
  color: white;
  padding: 0.5rem 0.75rem;
}

.btn-qrcode:hover {
  background: linear-gradient(135deg, #7c3aed, #6d28d9);
  transform: translateY(-1px);
}

/* ========================================
   ALERTA — EVENTO ENCERRADO / CANCELADO
   ======================================== */

.alert-evento-bloqueado {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: #fee2e2;
  color: #991b1b;
  padding: 1rem 1.25rem;
  border-radius: 8px;
  border-left: 4px solid var(--danger-color);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  line-height: 1.5;
  animation: slideDown 0.4s ease;
}

.alert-evento-bloqueado .alert-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.alert-evento-bloqueado strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
  color: #7f1d1d;
}

/* Botões desabilitados por evento encerrado/cancelado */
#btnGerarPix:disabled,
#btnGerarLink:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  filter: grayscale(0.5);
  transform: none !important;
  box-shadow: none !important;
}

/* Print styles for QR Code */
@media print {
  body * {
    visibility: hidden;
  }

  #printArea,
  #printArea * {
    visibility: visible;
  }

  #printArea {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    padding: 2rem;
  }

  #printArea canvas,
  #printArea img {
    max-width: 300px;
    margin-bottom: 1rem;
  }

  #printArea h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
  }

  #printArea p {
    font-size: 1rem;
    color: #333;
  }
}

/* ============================================================
   FASE 4 — Painel PIX Estático
   Adicionado em: Abril/2026
   ============================================================ */

.pix-estatico-container {
  margin-top: 1.5rem;
}

.pix-panel {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 2rem;
  max-width: 480px;
  margin: 0 auto;
  box-shadow: var(--shadow-md);
  text-align: center;
}

.pix-titulo {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}
.pix-instrucao {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.pix-qrcode-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.qr-code-img {
  width: 200px;
  height: 200px;
  border: 4px solid var(--border-color);
  border-radius: 8px;
  object-fit: contain;
}

.pix-chave-wrapper,
.pix-copiacola-wrapper {
  margin-bottom: 1rem;
  text-align: left;
}

.pix-key-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.pix-key {
  display: block;
  font-family: "Courier New", monospace;
  font-size: 0.9rem;
  background: #f8f9fa;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 0.5rem 0.75rem;
  color: var(--text-primary);
  word-break: break-all;
}

.pix-copiacola-code {
  display: block;
  font-family: "Courier New", monospace;
  font-size: 0.75rem;
  background: #f8f9fa;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 0.5rem 0.75rem;
  color: var(--text-secondary);
  word-break: break-all;
  margin-bottom: 0.5rem;
  transition: var(--transition);
}
.pix-copiacola--expandido {
  color: var(--text-primary);
  font-weight: 600;
  border-color: var(--primary-color);
}

.btn-copy-pix {
  width: 100%;
  margin-bottom: 1rem;
}

.pix-status {
  padding: 0.875rem 1rem;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  transition: var(--transition);
}
.pix-status--aguardando {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
}
.pix-status--pago {
  background: #d1fae5;
  color: #065f46;
  border: 1px solid #6ee7b7;
  animation: pulseSuccess 0.5s ease;
}
.pix-status--expirado {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

.pix-timer {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
}
.pix-timer #pix-countdown {
  font-family: "Courier New", monospace;
  font-weight: 700;
  color: var(--text-primary);
}

.pix-hint {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 0.5rem;
  padding: 0.5rem;
  background: #f8f9fa;
  border-radius: 6px;
}

.pix-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 2rem;
  color: var(--text-secondary);
}
.pix-loading-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid var(--border-color);
  border-top-color: var(--primary-color);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.pix-error {
  background: #fee2e2;
  border: 1px solid #fca5a5;
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  color: #991b1b;
}
.pix-error-detail {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin: 0.5rem 0 1rem;
}

.pix-toast {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  z-index: 10050;
  box-shadow: var(--shadow-lg);
  animation: slideUp 0.3s ease;
  max-width: min(92vw, 420px);
  white-space: normal;
  text-align: center;
}
.pix-toast--success {
  background: var(--success-color);
  color: #fff;
}
.pix-toast--warning {
  background: var(--warning-color);
  color: #fff;
}
.pix-toast--error {
  background: var(--danger-color);
  color: #fff;
}

.btn-pix-fixo {
  background: linear-gradient(135deg, #00d4ff, #5b7fff);
  color: #fff;
  border: none;
}
.btn-pix-fixo:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

@keyframes pulseSuccess {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.02);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

/* ── Modal de Confirmação PIX ──────────────────────────────────────────────── */
.modal-pix-confirmado .modal-content {
  text-align: center;
  padding: 2.5rem 2rem;
  border-top: 5px solid #10b981;
  max-width: 420px;
}

.modal-pix-icon {
  width: 84px;
  height: 84px;
  background: linear-gradient(135deg, #10b981, #059669);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.35);
  animation: popIn 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-pix-icon svg {
  width: 44px;
  height: 44px;
  stroke: white;
}

.modal-pix-titulo {
  font-size: 1.65rem;
  font-weight: 800;
  color: #10b981;
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.modal-pix-detalhe {
  background: #f0fdf4;
  border: 1px solid #d1fae5;
  border-radius: 10px;
  padding: 0.85rem 1.25rem;
  margin-bottom: 0.75rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.modal-pix-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #6b7280;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.modal-pix-valor-nome {
  font-size: 1.1rem;
  font-weight: 700;
  color: #111827;
}

.modal-pix-valor-pago {
  font-size: 1.6rem;
  font-weight: 800;
  color: #10b981;
}

.btn-modal-nova-cobranca {
  margin-top: 1.5rem;
  width: 100%;
  padding: 0.9rem;
  background: linear-gradient(135deg, #6900ff, #9333ea);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
  letter-spacing: 0.01em;
}

.btn-modal-nova-cobranca:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.btn-modal-nova-cobranca:active {
  transform: translateY(0);
}

@keyframes popIn {
  from { transform: scale(0.4); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}

/* ── Botão de Novo Pagamento no Rodapé do Painel PIX ──────────────────────── */

.pix-rodape-novo-pagamento {
  margin-top: 1.25rem;
  animation: fadeInUp 0.4s ease;
}

.btn-novo-pagamento-rodape {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.85rem 1rem;
  background: linear-gradient(135deg, #6900ff, #9333ea);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.01em;
  box-shadow: 0 4px 14px rgba(147, 51, 234, 0.35);
  transition: opacity 0.2s, transform 0.15s, box-shadow 0.2s;
}

.btn-novo-pagamento-rodape:hover {
  opacity: 0.92;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(147, 51, 234, 0.45);
}

.btn-novo-pagamento-rodape:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(147, 51, 234, 0.3);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Estados de validação dos campos do formulário ──────────────────────────── */

.form-input.input-invalido {
  border-color: var(--danger-color) !important;
  background: #fff5f5;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
  animation: shakeInput 0.35s ease;
}

.form-input.input-valido {
  border-color: var(--success-color) !important;
  background: #f0fdf4;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

@keyframes shakeInput {
  0%   { transform: translateX(0); }
  20%  { transform: translateX(-6px); }
  40%  { transform: translateX(6px); }
  60%  { transform: translateX(-4px); }
  80%  { transform: translateX(4px); }
  100% { transform: translateX(0); }
}

/* ── Modal de Compra Duplicada ───────────────────────────────────────────── */
.modal-duplicata-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  /* Acima do modal de checkout (.ck-modal-overlay = 10000) */
  z-index: 11000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  animation: fadeIn 0.2s ease;
}

.modal-duplicata {
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  max-width: 440px;
  width: 100%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  animation: slideUp 0.25s ease;
}

.modal-duplicata-icone {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 1.25rem;
}

.modal-duplicata-titulo {
  font-size: 1.2rem;
  font-weight: 800;
  color: #0f172a;
  text-align: center;
  margin-bottom: 0.5rem;
}

.modal-duplicata-subtitulo {
  font-size: 0.9rem;
  color: #64748b;
  text-align: center;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.modal-duplicata-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 4px solid var(--warning-color);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.modal-duplicata-linha {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
}

.modal-duplicata-label {
  color: #64748b;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}

.modal-duplicata-valor {
  font-weight: 700;
  color: #0f172a;
}

.modal-duplicata-badge-pago {
  background: #d1fae5;
  color: #065f46;
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
}

.modal-duplicata-badge-pendente {
  background: #fef3c7;
  color: #92400e;
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
}

.modal-duplicata-pergunta {
  font-size: 0.95rem;
  font-weight: 700;
  color: #1e293b;
  text-align: center;
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

.modal-duplicata-btn-download {
  width: 100%;
  margin: 0 0 1rem;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  border: 1.5px solid var(--ck-purple, #6c47ff);
  background: #fff;
  color: var(--ck-purple, #6c47ff);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}

.modal-duplicata-btn-download:hover {
  background: #f5f3ff;
}

.modal-duplicata-btn-download:disabled {
  opacity: 0.7;
  cursor: wait;
}

.modal-duplicata-btn-download {
  width: 100%;
  margin: 0 0 1rem;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  border: 1.5px solid var(--ck-purple, #6c47ff);
  background: #fff;
  color: var(--ck-purple, #6c47ff);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}

.modal-duplicata-btn-download:hover {
  background: #f5f3ff;
}

.modal-duplicata-btn-download:disabled {
  opacity: 0.7;
  cursor: wait;
}

.modal-duplicata-acoes {
  display: flex;
  gap: 0.75rem;
}

.modal-duplicata-btn-nao {
  flex: 1;
  padding: 0.75rem;
  border: 2px solid #e2e8f0;
  background: #f8fafc;
  color: #475569;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.modal-duplicata-btn-nao:hover {
  border-color: #cbd5e1;
  background: #f1f5f9;
}

.modal-duplicata-btn-sim {
  flex: 1;
  padding: 0.75rem;
  border: none;
  background: linear-gradient(135deg, #2D6A4F, #52B788);
  color: #fff;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.modal-duplicata-btn-sim:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

@keyframes slideUp {
  from { transform: translateY(20px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

@media (max-width: 480px) {
  .modal-duplicata {
    padding: 1.5rem 1.25rem;
  }
  .modal-duplicata-acoes {
    flex-direction: column;
  }
}

/* ── Modal Evento Bloqueado (encerrado / cancelado / esgotado) ─────────────── */
.modal-bloqueado-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 1rem;
}

.modal-bloqueado {
  background: #fff;
  border-radius: 16px;
  padding: 2rem 1.75rem;
  max-width: 400px;
  width: 100%;
  text-align: center;
  animation: slideUp 0.25s ease-out;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

.modal-bloqueado-icone {
  width: 56px;
  height: 56px;
  background: #fff7ed;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.modal-bloqueado-icone svg {
  width: 28px;
  height: 28px;
}

.modal-bloqueado-titulo {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 0.5rem;
}

.modal-bloqueado-subtitulo {
  font-size: 0.9rem;
  color: #64748b;
  margin: 0 0 1.25rem;
  line-height: 1.5;
}

.modal-bloqueado-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 4px solid #f97316;
  border-radius: 10px;
  padding: 1rem;
  margin-bottom: 1.5rem;
  text-align: left;
}

.modal-bloqueado-linha {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid #f1f5f9;
}

.modal-bloqueado-linha:last-child {
  border-bottom: none;
}

.modal-bloqueado-label {
  font-size: 0.7rem;
  color: #64748b;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
  flex-shrink: 0;
}

.modal-bloqueado-valor {
  font-weight: 700;
  color: #0f172a;
  font-size: 0.9rem;
  text-align: right;
}

.modal-bloqueado-btn-fechar {
  width: 100%;
  padding: 0.85rem;
  background: linear-gradient(135deg, #2D6A4F, #52B788);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
}

.modal-bloqueado-btn-fechar:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

@media (max-width: 480px) {
  .modal-bloqueado {
    padding: 1.5rem 1.25rem;
  }
}


/* ── Checkout Figma tokens (MacBook Air - 32) ──────────────────────────────── */
.checkout-page {
  --ck-bg: #f9fafb;
  --ck-ink: #101828;
  --ck-ink-2: #344054;
  --ck-muted: #667085;
  --ck-line: #f2f4f7;
  --ck-border: #d0d5dd;
  --ck-purple: #6c47ff;
  --ck-purple-dark: #4b2fcc;
  --ck-purple-soft: #f9f5fe;
  --ck-purple-text: #9d63f5;
  --ck-header: #121212;
  background: var(--ck-bg);
  min-height: 100vh;
  font-family: Inter, "Plus Jakarta Sans", system-ui, sans-serif;
  color: var(--ck-ink);
  margin: 0;
}

.checkout-header {
  background: var(--ck-header);
  border-bottom: 1px solid rgba(10, 10, 10, 0.85);
  height: 75px;
  position: sticky;
  top: 0;
  z-index: 50;
}

.checkout-header-inner {
  max-width: 1280px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 80px;
}

.checkout-brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: #fff;
}

.checkout-brand-name {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -1px;
  line-height: 1;
}

.checkout-brand-by {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: "DM Sans", Inter, sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: -0.55px;
}

.checkout-brand-logo {
  height: 12px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
}

.checkout-loading {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(249, 250, 251, 0.88);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.checkout-banner {
  max-width: 1120px;
  margin: 1rem auto 0;
  padding: 0 80px;
}

.checkout-layout {
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px 80px 40px;
  display: grid;
  grid-template-columns: 643px 453px;
  gap: 24px;
  justify-content: space-between;
  align-items: start;
}

.checkout-left {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.checkout-event {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.event-hero-backdrop {
  display: none;
}

.event-hero {
  display: grid;
  grid-template-columns: 224px 1fr;
  min-height: 177px;
  border-radius: 12px 12px 0 0;
  overflow: hidden;
  background: #030111;
}

.event-hero-photo {
  position: relative;
  overflow: hidden;
  min-height: 177px;
  background: linear-gradient(145deg, #1a1144 0%, #4b2fcc 55%, #6c47ff 100%);
}

.event-hero-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: absolute;
  inset: 0;
  z-index: 2;
}

.event-hero-photo-fallback {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.event-hero-photo-fallback span {
  font-size: 42px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.92);
  letter-spacing: -0.04em;
  font-family: Inter, sans-serif;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.event-hero-photo.has-image .event-hero-photo-fallback {
  display: none;
}

.event-hero-info {
  position: relative;
  overflow: hidden;
  min-height: 177px;
  color: #fff;
  background: #030111;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.event-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.event-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  /* Overlay mais leve para as bolinhas ficarem nítidas e o texto legível */
  background: linear-gradient(
    90deg,
    rgba(3, 1, 17, 0.35) 0%,
    rgba(3, 1, 17, 0.48) 100%
  );
}

.event-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: brightness(1.18) contrast(1.2) saturate(1.15);
}

.event-hero-info-content {
  position: relative;
  z-index: 1;
  padding: 16px 20px 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}

.event-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  align-self: flex-start;
  background: rgba(26, 17, 68, 0.49);
  color: var(--ck-purple-text);
  font-size: 10px;
  font-weight: 500;
  border-radius: 3px;
  padding: 3px 6px;
  margin-bottom: 8px;
}

.event-live-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ck-purple-text);
}

.event-hero-artist {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.15;
}

.event-hero-genre {
  margin: 6px 0 12px;
  font-size: 12px;
  font-weight: 400;
  opacity: 0.95;
}

.event-hero-meta,
.event-hero-place {
  margin: 0;
  font-size: 12px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
}

.event-hero-place-block {
  margin-top: 8px;
}

.event-hero-address {
  margin: 2px 0 0 18px;
  font-size: 10px;
  font-weight: 400;
  opacity: 0.9;
}

.event-body {
  background: #fff;
  border: 1px solid var(--ck-line);
  border-top: none;
  border-radius: 0 0 12px 12px;
  padding: 24px 32px 40px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.event-section-title {
  margin: 0 0 18px;
  font-size: 16px;
  font-weight: 600;
  color: var(--ck-ink);
  line-height: 18px;
}

.event-policy-subtitle {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ck-ink-2);
}

.event-section-text {
  margin: 0;
  color: var(--ck-ink-2);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.55;
}

.event-section-text p + p {
  margin-top: 12px;
}

.event-ler-mais {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 12px;
  border: none;
  background: none;
  padding: 0;
  color: var(--ck-purple);
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
}

.event-ler-mais.hidden {
  display: none;
}

.event-free-badge {
  display: inline-block;
  margin-top: 12px;
  background: var(--ck-purple);
  color: #fff;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
}

.checkout-sidebar {
  position: sticky;
  top: 91px;
}

.checkout-card {
  background: #fff;
  border: 1px solid var(--ck-line);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 563px;
}

.checkout-price-card {
  margin: 15px 23px 0;
  border: 2px solid var(--ck-line);
  border-radius: 8px;
  height: 80px;
  display: grid;
  grid-template-columns: 1fr auto 1.2fr;
  align-items: center;
  padding: 0 18px;
  gap: 12px;
}

.checkout-price-label {
  display: block;
  font-size: 10px;
  font-weight: 500;
  color: var(--ck-muted);
}

.checkout-price-value {
  font-size: 18px;
  font-weight: 600;
  color: var(--ck-ink-2);
  line-height: 26px;
}

.checkout-price-divider {
  width: 1px;
  height: 50px;
  background: var(--ck-line);
}

.checkout-artist-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 600;
  color: var(--ck-ink);
  line-height: 16px;
}

.checkout-artist-badge img {
  width: 35px;
  height: 35px;
  flex-shrink: 0;
}

.checkout-mid {
  padding: 20px 40px 8px;
}

.checkout-field--row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.checkout-field-copy {
  max-width: 190px;
}

.checkout-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--ck-ink);
  line-height: 16px;
}

.checkout-help {
  margin: 4px 0 0;
  font-size: 10px;
  font-weight: 500;
  color: var(--ck-muted);
  line-height: 1.35;
}

.checkout-qty {
  display: flex;
  align-items: center;
  gap: 12px;
}

.qty-btn {
  width: 32px;
  height: 32px;
  border-radius: 4px;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  color: var(--ck-ink);
}

.qty-btn--minus {
  border: 1px solid var(--ck-line);
  color: var(--ck-muted);
}

.qty-btn--plus {
  border: 1px solid var(--ck-purple);
  color: var(--ck-purple);
}

.qty-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.qty-value-wrap {
  min-width: 48px;
  text-align: center;
}

.qty-input {
  width: 100%;
  border: none;
  background: transparent;
  text-align: center;
  font-size: 20px;
  font-weight: 600;
  color: var(--ck-ink);
  padding: 0;
  appearance: textfield;
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
  appearance: none;
}

.qty-unit {
  display: block;
  font-size: 8px;
  font-weight: 500;
  color: var(--ck-muted);
  margin-top: 2px;
}

.checkout-cupom-field {
  margin-top: 24px;
  align-items: center;
}

.checkout-cupom-row {
  display: flex;
  gap: 6px;
  align-items: center;
}

.checkout-cupom-input {
  width: 175px;
  border: 1px solid var(--ck-border);
  border-radius: 4px;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 500;
  font-family: inherit;
  color: var(--ck-ink);
  background: #fff;
  text-transform: uppercase;
}

.checkout-cupom-input::placeholder {
  color: var(--ck-border);
  text-transform: none;
}

.checkout-cupom-btn {
  border: 1px solid var(--ck-purple);
  background: #fff;
  color: var(--ck-purple);
  border-radius: 4px;
  padding: 8px 10px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}

.checkout-cupom-btn--ghost {
  border-color: var(--ck-border);
  color: var(--ck-muted);
}

.checkout-field-feedback,
.checkout-cupom-feedback {
  margin: 8px 0 0;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.35;
  width: 100%;
}

.checkout-field-feedback.is-error,
.checkout-cupom-feedback.is-error {
  color: #b91c1c;
}

.checkout-field-feedback.is-success,
.checkout-cupom-feedback.is-success {
  color: #047857;
}

.checkout-field-feedback.is-info,
.checkout-cupom-feedback.is-info {
  color: #334155;
}

.checkout-total-band {
  margin-top: 8px;
  background: var(--ck-purple-soft);
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
}

.checkout-total-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--ck-ink);
  line-height: 16px;
}

.checkout-secure {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 8px 0 0;
  color: var(--ck-muted);
  font-size: 10px;
  font-weight: 500;
}

.checkout-total-value {
  font-size: 24px;
  font-weight: 700;
  color: var(--ck-purple-dark);
  line-height: 32px;
}

.checkout-contrib-aviso {
  margin: 12px 40px 0;
  padding: 0.7rem 0.85rem;
  background: var(--ck-purple-soft);
  border-radius: 8px;
  color: var(--ck-purple-dark);
  font-size: 0.85rem;
}

.checkout-actions {
  padding: 24px 40px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.checkout-btn-pix {
  width: 100%;
  max-width: 322px;
  margin: 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--ck-purple);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 16px 24px;
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  cursor: pointer;
  font-family: inherit;
}

.checkout-btn-pix:hover {
  filter: brightness(0.96);
}

.checkout-btn-pix:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.pix-logo-img {
  width: 20px;
  height: 20px;
  display: block;
  filter: brightness(0) invert(1);
}

.checkout-other-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.checkout-other-divider span {
  height: 1px;
  background: var(--ck-line);
  display: block;
}

.checkout-other-divider em {
  font-style: normal;
  font-size: 12px;
  color: var(--ck-muted);
  white-space: nowrap;
}

.checkout-card-option {
  width: 100%;
  max-width: 362px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--ck-line);
  border-radius: 6px;
  padding: 14px 6px 14px 16px;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
}

.checkout-card-option:hover {
  border-color: #d8ccff;
}

.checkout-card-option:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.checkout-card-option-icon {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background: var(--ck-purple-soft);
  color: var(--ck-purple-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.checkout-card-option-icon--cash {
  background: #e0f2fe;
  color: #0ba5ec;
}

.checkout-card-option--cash {
  margin-top: 10px;
}

.checkout-other-options {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.checkout-card-option-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-left: 10px;
}

.checkout-card-option-text strong {
  font-size: 11px;
  font-weight: 600;
  color: var(--ck-ink);
  line-height: 16px;
}

.checkout-card-option-text small {
  font-size: 10px;
  font-weight: 500;
  color: var(--ck-muted);
}

.checkout-card-option-chevron {
  color: var(--ck-muted);
  display: flex;
}

.checkout-btn-free {
  width: 100%;
  max-width: 322px;
  margin: 0 auto;
  border: none;
  border-radius: 6px;
  padding: 14px 16px;
  background: var(--ck-purple);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  font-family: inherit;
}

.checkout-footer {
  max-width: 1280px;
  margin: 0 auto;
  padding: 18px 80px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  border-top: 1px solid var(--ck-line);
  color: var(--ck-muted);
  font-size: 8px;
  font-weight: 500;
}

.checkout-footer-left,
.checkout-footer-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.checkout-footer-logo {
  height: 13px;
  width: auto;
  display: block;
  opacity: 0.85;
}

/* Modal Figma */
.ck-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(16, 24, 40, 0.26);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 1rem;
}

.ck-modal {
  position: relative;
  background: #fff;
  border-radius: 12px;
  width: min(738px, 100%);
  height: min(92vh, 520px);
  max-height: min(92vh, 520px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 60px rgba(16, 24, 40, 0.18);
}

.ck-modal-close {
  position: absolute;
  top: 20px;
  right: 24px;
  border: none;
  background: transparent;
  font-size: 1.4rem;
  line-height: 1;
  color: var(--ck-muted);
  cursor: pointer;
  z-index: 2;
}

.ck-modal-grid {
  display: grid;
  grid-template-columns: 216px 1fr;
  min-height: 0;
  flex: 1;
  overflow: hidden;
}

.ck-modal-aside {
  background: #fff;
  border-right: 1px solid var(--ck-line);
  padding: 24px 20px 24px 40px;
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
}

.ck-modal-title {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 1.5rem;
  color: var(--ck-ink);
  line-height: 24px;
}

.ck-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1;
  position: relative;
}

.ck-step {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 8px;
  color: var(--ck-muted);
  font-weight: 500;
  min-height: 54px;
  position: relative;
}

.ck-step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 10px;
  top: 34px;
  width: 1px;
  height: 28px;
  background: var(--ck-line);
}

.ck-step--active {
  color: var(--ck-purple-dark);
}

.ck-step--done {
  color: var(--ck-purple-dark);
}

.ck-step-num,
.ck-step-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 10px;
  font-weight: 600;
  border: 1.5px solid var(--ck-border);
  color: var(--ck-muted);
  background: #fff;
  z-index: 1;
}

.ck-step--active .ck-step-num {
  background: var(--ck-purple-dark);
  border-color: var(--ck-purple-dark);
  color: #fff;
}

.ck-step--done .ck-step-check {
  background: var(--ck-purple-dark);
  border-color: var(--ck-purple-dark);
  color: #fff;
}

.ck-modal-total {
  margin-top: auto;
  padding-top: 1rem;
  flex-shrink: 0;
  background: #fff;
}

.ck-modal-total span {
  display: block;
  font-size: 10px;
  font-weight: 500;
  color: var(--ck-ink-2);
}

.ck-modal-total strong {
  font-size: 18px;
  color: var(--ck-purple-text);
  font-weight: 600;
  line-height: 26px;
}

.ck-modal-main {
  padding: 40px 48px 28px 40px;
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
  overflow: auto;
}

.ck-modal-content { flex: 1; }

.ck-modal-footer {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  margin-top: 1.5rem;
  flex-shrink: 0;
  position: sticky;
  bottom: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #fff 28%);
  padding-top: 0.5rem;
}

.ck-panel-title {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 8px;
  color: var(--ck-ink);
  line-height: 24px;
}

.ck-panel-sub {
  color: var(--ck-ink-2);
  font-size: 12px;
  line-height: 18px;
  margin: 0 0 24px;
  max-width: 322px;
}

.ck-fields {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 322px;
}

.ck-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 10px;
  font-weight: 500;
  color: var(--ck-ink);
}

.ck-field-optional {
  color: var(--ck-border);
  font-size: 8px;
  font-weight: 500;
  margin-left: 4px;
}

.ck-input-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--ck-line);
  border-radius: 4px;
  padding: 8px 16px;
  background: #fff;
}

.ck-input-wrap:focus-within {
  border-color: #c4b5fd;
  box-shadow: 0 0 0 3px rgba(108, 71, 255, 0.12);
}

.ck-input-wrap.is-invalid {
  border-color: #fca5a5;
  box-shadow: 0 0 0 3px rgba(185, 28, 28, 0.1);
}

.ck-form-error {
  margin: 0 0 16px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
}

.ck-field-error {
  display: block;
  margin-top: 4px;
  color: #b91c1c;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.3;
}

.ck-field-error.hidden,
.ck-form-error.hidden {
  display: none;
}

.ck-input-icon {
  color: var(--ck-muted);
  display: flex;
  opacity: 0.7;
}

.ck-input {
  border: none;
  outline: none;
  width: 100%;
  padding: 0;
  font-size: 10px;
  font-family: inherit;
  background: transparent;
  font-weight: 500;
  color: var(--ck-ink);
}

.ck-input::placeholder { color: var(--ck-border); }

.ck-btn-primary {
  background: var(--ck-purple);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 12px 16px;
  font-weight: 600;
  font-size: 12px;
  cursor: pointer;
  font-family: inherit;
}

.ck-btn-primary:hover { filter: brightness(0.96); }
.ck-btn-primary:disabled { opacity: 0.6; cursor: not-allowed; }
.ck-btn-block { width: 100%; margin-top: 0.75rem; }

.ck-btn-link {
  background: none;
  border: none;
  color: var(--ck-purple);
  font-weight: 600;
  cursor: pointer;
  font-size: 12px;
  padding: 12px 16px;
  font-family: inherit;
}

.ck-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.85rem;
  width: 100%;
  border: 1.5px solid var(--ck-purple);
  color: var(--ck-purple);
  background: #fff;
  border-radius: 6px;
  padding: 0.7rem 1rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  font-size: 12px;
}

.ck-pix-pay {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
}

.ck-pix-pay .ck-panel-title {
  width: 100%;
}

.ck-pix-pay .ck-panel-sub {
  max-width: 360px;
  margin-left: auto;
  margin-right: auto;
}

.ck-pix-qr-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 0.35rem 0 0.9rem;
}

.ck-pix-qr {
  width: 180px;
  height: 180px;
  border-radius: 8px;
  border: 1px solid var(--ck-line);
  display: block;
  margin: 0 auto;
}

.ck-pix-qr-wrap--expired { min-height: 140px; }
.ck-pix-expired-icon {
  width: 56px; height: 56px; border-radius: 50%; background: #fef2f2; color: #dc2626;
  display: flex; align-items: center; justify-content: center; font-size: 1.4rem; font-weight: 800;
}
.ck-pix-timer { text-align: center; color: var(--ck-ink-2); font-size: 12px; margin: 0 0 1rem; width: 100%; }
.ck-pix-expired-msg { text-align: center; color: #dc2626; font-weight: 700; margin: 0 0 0.5rem; }
.ck-pix-copy {
  display: grid; grid-template-columns: 1fr auto; gap: 0.3rem 0.5rem; align-items: center;
  background: var(--ck-bg); border: 1px solid var(--ck-line); border-radius: 8px; padding: 0.75rem 0.9rem;
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
  text-align: left;
}
.ck-pix-pay .ck-btn-block {
  max-width: 360px;
  width: 100%;
}
.ck-pix-copy-label { grid-column: 1 / -1; font-size: 10px; font-weight: 600; color: var(--ck-muted); }
.ck-pix-copy-code { font-size: 10px; word-break: break-all; color: var(--ck-ink-2); }
.ck-pix-copy-btn { background: #fff; border: 1px solid var(--ck-line); border-radius: 6px; padding: 0.35rem 0.5rem; cursor: pointer; }

.ck-status-head { display: flex; align-items: center; gap: 0.55rem; margin-bottom: 0.25rem; }
.ck-status-icon {
  width: 32px; height: 32px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 800;
}
.ck-status-icon--wait { background: #fff7ed; color: #ea580c; }
.ck-status-icon--ok { background: #d1fadf; color: #12b76a; }
.ck-detail-title { font-size: 12px; font-weight: 700; margin: 1rem 0 0.55rem; }
.ck-detail-card { border: 1px solid var(--ck-line); border-radius: 8px; padding: 0.9rem; background: #fff; max-width: 322px; }
.ck-detail-head { display: grid; grid-template-columns: 44px 1fr auto; gap: 0.65rem; align-items: start; margin-bottom: 0.75rem; }
.ck-detail-avatar {
  width: 44px; height: 44px; border-radius: 8px; background: linear-gradient(135deg, var(--ck-purple), var(--ck-purple-dark));
  color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700;
}
.ck-detail-head strong { display: block; font-size: 12px; }
.ck-detail-head p { margin: 0.1rem 0; font-size: 10px; color: var(--ck-muted); }
.ck-detail-line {
  display: flex; justify-content: space-between; gap: 0.75rem; padding-top: 0.65rem;
  border-top: 1px solid var(--ck-line); font-size: 12px;
}
.ck-detail-method { margin-top: 0.55rem; font-size: 11px; color: var(--ck-ink-2); font-weight: 600; }
.ck-badge { border-radius: 999px; padding: 0.15rem 0.55rem; font-size: 10px; font-weight: 700; }
.ck-badge--pendente { background: #fef3c7; color: #92400e; }
.ck-info-banner {
  margin-top: 0.9rem; padding: 0.75rem 0.9rem; border-radius: 8px; background: #eff6ff;
  border: 1px solid #bfdbfe; color: #1e40af; font-size: 11px; line-height: 1.4; max-width: 322px;
}
.ck-info-banner a { color: #1d4ed8; font-weight: 700; }
.ck-pix-loading, .ck-pix-error { text-align: center; padding: 2rem 1rem; color: var(--ck-ink-2); font-size: 12px; }
.pix-toast { z-index: 10050; max-width: min(92vw, 420px); white-space: normal; text-align: center; }

@media (max-width: 1100px) {
  .checkout-header-inner,
  .checkout-layout,
  .checkout-banner,
  .checkout-footer { padding-left: 24px; padding-right: 24px; }

  .checkout-layout {
    grid-template-columns: 1fr;
    justify-content: stretch;
  }

  .checkout-sidebar { position: static; }
  .checkout-card { min-height: auto; }
  .event-hero { grid-template-columns: 160px 1fr; }
}

/* ── Mobile Figma (iPhone 17) ───────────────────────────────────────────── */
@media (max-width: 768px) {
  .checkout-header { display: none; }

  .checkout-layout {
    display: flex;
    flex-direction: column;
    padding: 0 0 24px;
    gap: 0;
    max-width: none;
  }

  .checkout-left,
  .checkout-sidebar,
  .checkout-card {
    display: contents;
  }

  .event-hero {
    order: 1;
    display: grid;
    grid-template-columns: 125px 1fr;
    gap: 16px;
    align-items: start;
    min-height: 189px;
    padding: 20px 24px 56px;
    border-radius: 0;
    position: relative;
    overflow: hidden;
  }

  .event-hero-backdrop {
    display: block;
    position: absolute;
    inset: 0;
    z-index: 0;
  }

  .event-hero-backdrop-img,
  .event-hero-backdrop-bolinhas img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .event-hero-backdrop-img {
    position: absolute;
    inset: 0;
    z-index: 1;
  }

  .event-hero-backdrop-bolinhas {
    position: absolute;
    inset: 0;
    z-index: 0;
  }

  .event-hero-backdrop-bolinhas img {
    filter: brightness(1.1) contrast(1.15) saturate(1.1);
  }

  .event-hero-backdrop-scrim {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: rgba(3, 1, 17, 0.77);
  }

  .event-hero-photo {
    position: relative;
    z-index: 3;
    width: 125px;
    height: 125px;
    min-height: 125px;
    border-radius: 8px;
    border: 1px solid #667085;
    overflow: hidden;
  }

  .event-hero-photo-fallback span {
    font-size: 28px;
  }

  .event-hero-info {
    position: relative;
    z-index: 3;
    min-height: 0;
    background: transparent;
  }

  .event-hero-bg {
    display: none;
  }

  .event-hero-info-content {
    padding: 0;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.45);
  }

  .event-live-badge {
    margin-bottom: 8px;
  }

  .event-hero-artist {
    font-size: 20px;
  }

  .event-hero-genre {
    margin: 4px 0 10px;
    font-size: 10px;
  }

  .event-hero-meta,
  .event-hero-place {
    font-size: 10px;
  }

  .event-hero-address {
    font-size: 8px;
    margin-left: 15px;
  }

  .event-hero-place-block {
    margin-top: 0;
    margin-bottom: 8px;
  }

  .checkout-price-card {
    order: 2;
    position: relative;
    z-index: 4;
    margin: -40px 16px 0;
    height: 80px;
    background: #fff;
    border: 1px solid var(--ck-line);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(16, 24, 40, 0.08);
    grid-template-columns: 1fr auto 1.35fr;
    padding: 0 16px;
  }

  .event-body {
    order: 3;
    border: none;
    border-radius: 0;
    background: #fff;
    padding: 28px 24px 20px;
    gap: 0;
  }

  .event-section--policy {
    display: none;
  }

  .event-section-title {
    font-size: 12px;
    margin-bottom: 12px;
  }

  .event-section-text {
    font-size: 12px;
    line-height: 14px;
  }

  .event-section-text--clamp:not(.is-expanded) {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .checkout-mid {
    order: 4;
    background: #fff;
    padding: 8px 24px 20px;
  }

  .checkout-field--row {
    align-items: center;
  }

  .checkout-field-copy {
    max-width: none;
    flex: 1;
    min-width: 0;
  }

  .checkout-cupom-field {
    margin-top: 20px;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .checkout-cupom-row {
    width: 100%;
  }

  .checkout-cupom-input {
    flex: 1;
    width: auto;
    min-width: 0;
    height: 36px;
    box-sizing: border-box;
  }

  .checkout-cupom-btn {
    height: 36px;
    box-sizing: border-box;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .checkout-total-band {
    order: 5;
    margin: 0;
    padding: 24px;
    width: 100%;
    align-items: center;
  }

  .checkout-contrib-aviso {
    order: 6;
    margin: 12px 24px 0;
  }

  .checkout-actions {
    order: 7;
    padding: 24px 24px 8px;
    gap: 20px;
    background: var(--ck-bg);
  }

  .checkout-btn-pix,
  .checkout-card-option,
  .checkout-btn-free {
    max-width: none;
  }

  .checkout-footer {
    flex-direction: column-reverse;
    align-items: center;
    text-align: center;
    gap: 10px;
    padding: 16px 24px 28px;
    border-top: none;
  }

  .checkout-footer-left {
    flex-direction: column;
    gap: 6px;
  }

  .checkout-footer-logo {
    display: none;
  }

  .checkout-banner {
    padding-left: 16px;
    padding-right: 16px;
  }

  .ck-modal-overlay {
    padding: 0;
    align-items: stretch;
    background: #fff;
  }

  .ck-modal {
    width: 100%;
    max-width: none;
    max-height: none;
    height: 100%;
    border-radius: 0;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }

  .ck-modal-close {
    top: 12px;
    right: 12px;
  }

  .ck-modal-artist {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 20px 8px;
    border-bottom: 1px solid var(--ck-line);
  }

  .ck-modal-artist-photo {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    object-fit: cover;
    background: linear-gradient(135deg, var(--ck-purple), var(--ck-purple-dark));
    flex-shrink: 0;
  }

  .ck-modal-artist-photo--fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 16px;
  }

  .ck-modal-artist-meta strong {
    display: block;
    font-size: 13px;
    color: var(--ck-ink);
  }

  .ck-modal-artist-meta span {
    font-size: 10px;
    color: var(--ck-muted);
  }

  .ck-modal-grid {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
  }

  .ck-modal-aside {
    border-right: none;
    border-bottom: 1px solid var(--ck-line);
    padding: 16px 20px 12px;
    flex-direction: column;
    gap: 12px;
    height: auto;
    flex-shrink: 0;
  }

  .ck-modal-title {
    margin: 0;
    font-size: 15px;
  }

  .ck-steps {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 0;
    justify-content: space-between;
    flex: 0;
  }

  .ck-step {
    flex: 1;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
    min-height: 0;
    font-size: 9px;
    padding: 0 2px;
  }

  .ck-step:not(:last-child)::after {
    display: none;
  }

  .ck-modal-total {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-top: 0;
    padding: 10px 12px;
    border-radius: 8px;
    background: #f7f7fb;
    border: 1px solid var(--ck-line);
  }

  .ck-modal-total span {
    display: inline;
    font-size: 11px;
  }

  .ck-modal-total strong {
    font-size: 16px;
    line-height: 1.2;
  }

  .ck-modal-main {
    padding: 20px 20px 24px;
    flex: 1;
    overflow: auto;
    height: auto;
  }

  .ck-modal-footer {
    flex-direction: column-reverse;
    align-items: stretch;
    gap: 8px;
    margin-top: auto;
    padding-top: 8px;
  }

  .ck-modal-footer .ck-btn-primary,
  .ck-modal-footer .ck-btn-link {
    width: 100%;
    text-align: center;
  }

  .ck-panel-sub,
  .ck-fields,
  .ck-pix-copy,
  .ck-detail-card,
  .ck-info-banner {
    max-width: none;
  }

  .ck-cash-sheet {
    max-width: 360px;
    margin: auto;
    padding: 28px 24px;
    text-align: center;
  }

  .ck-cash-sheet h3 {
    margin: 0 0 8px;
    font-size: 18px;
  }

  .ck-cash-sheet p {
    margin: 0 0 20px;
    color: var(--ck-ink-2);
    font-size: 13px;
    line-height: 1.45;
  }
}

@media (min-width: 769px) {
  .ck-modal-artist {
    display: none;
  }
}

@media (max-width: 480px) {
  .checkout-cupom-field {
    flex-direction: column;
    align-items: stretch;
  }

  .checkout-cupom-input {
    width: 100%;
  }

  .checkout-cupom-row {
    width: 100%;
  }
}
