@font-face {
  font-family: 'New Science';
  src: url('fonts/New Science Light.otf') format('opentype');
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: 'New Science';
  src: url('fonts/New Science Regular.otf') format('opentype');
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'New Science';
  src: url('fonts/New Science Medium.otf') format('opentype');
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: 'New Science';
  src: url('fonts/New Science SemiBold.otf') format('opentype');
  font-weight: 600;
  font-display: swap;
}

:root {
  --purple: #8a1cd1;
  --accent: #be55ff;
  --green: #8cff00;
  --yellow: #ffce25;
  --panel: #171717;
  --card: #242424;
  --border: #303030;
  --muted: #858585;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: #fff;
  background: #101010 url('bg.png') center top/100% 100% no-repeat;
  font-family: 'New Science', sans-serif;
  font-weight: 400;
}

body.auth {
  min-height: 1024px;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a,
input,
select,
textarea {
  touch-action: manipulation;
}

button {
  cursor: pointer;
}

button:disabled {
  opacity: 0.5;
  cursor: default;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

button:hover,
.button:hover {
  filter: brightness(1.15);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  height: 80px;
  border: 1px solid #262626;
  background: #111;
}

#main-content {
  scroll-margin-top: 100px;
}

.header-inner {
  max-width: 1076px;
  height: 100%;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 0;
}

.logo {
  width: 181px;
  height: 60px;
  display: block;
  margin-right: 62px;
  flex-shrink: 0;
}

.logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
  gap: 30px;
  font-size: 16px;
  line-height: 19px;
}

.main-nav > a {
  text-align: center;
}

.account {
  background: var(--purple);
  border-radius: 6px;
  padding: 6px 20px;
  white-space: nowrap;
}

.cart-link {
  margin-left: 20px;
  display: flex;
}

.icon {
  width: 14px;
  height: 14px;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cart-link .icon {
  width: 32px;
  height: 32px;
}

.menu-toggle {
  display: none;
}

main {
  margin: 50px auto 40px;
  width: min(1076px, calc(100% - 40px));
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  font-size: 40px;
  line-height: 48px;
  font-weight: 600;
}

h2 {
  font-size: 24px;
  font-weight: 600;
  line-height: 29px;
}

h3 {
  font-size: 20px;
  font-weight: 600;
  line-height: 24px;
}

.subtitle {
  font-size: 24px;
  font-weight: 300;
  line-height: 29px;
  margin-top: 12px;
}

.auth main {
  width: min(710px, calc(100% - 40px));
  margin-top: 108px;
}

.auth h1 {
  font-size: 56px;
  line-height: 67px;
}

.auth .subtitle {
  margin-top: 0;
}

.panel {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 0 10px #0008;
  padding: 20px;
}

.auth .panel {
  margin-top: 54px;
  padding: 24px 29px 30px;
}

.auth.single-title .panel {
  margin-top: 44px;
}

.auth .panel h2 {
  margin-bottom: 24px;
}

.auth .field > span {
  font-size: 16px;
}

.auth .large-label > span {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 23px;
  line-height: 29px;
}

.auth input {
  height: 48px;
  border-radius: 12px;
  box-shadow: 0 0 10px #0008;
}

.auth .button {
  font-size: 24px;
  height: 48px;
  line-height: 29px;
}

.auth .actions {
  margin-top: 10px;
}

.auth .form-stack {
  gap: 16px;
}

.auth .compact input,
.auth .compact select {
  height: 33px;
}

.auth .compact .field > span {
  font-size: 16px;
  margin-bottom: 8px;
}

.auth .compact .primary {
  margin-top: 28px;
}

.auth .compact .password-hint {
  margin-top: 8px;
}

.auth .compact .text-link {
  margin-top: 8px;
}

.auth .description {
  font-size: 16px;
  line-height: 19px;
  margin-top: -19px;
  margin-bottom: 26px;
}

.auth .password-hint {
  margin: 8px 0 26px;
}

.field {
  display: block;
  min-width: 0;
}

.field > span {
  display: block;
  font-size: 12px;
  line-height: 15px;
  font-weight: 500;
  margin-bottom: 8px;
}

/* Rótulos compartilhados por grupos e controles com associação explícita. */
.field-label,
.birth-group legend,
.invite-link-label label {
  display: block;
  font-size: 12px;
  line-height: 15px;
  font-weight: 500;
  margin-bottom: 8px;
}

.summary .field-label {
  font-size: 10px;
  line-height: 12px;
  margin-bottom: 5px;
}

.birth-group {
  border: 0;
  padding: 0;
  margin: 0;
}

.birth-group legend {
  padding: 0;
}

.invite-link-label {
  margin-top: 8px;
}

.banner-container {
  max-width: 1076px;
  margin: auto;
}

.product-vip {
  --product: #e5b13b;
}
.product-gestao {
  --product: #0075ff;
}
.product-tecnico {
  --product: #ff00a6;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 30;
  padding: 12px 16px;
  background: var(--purple);
  border-radius: 6px;
}

.skip-link:focus {
  top: 12px;
}

.button[aria-disabled='true'] {
  opacity: 0.5;
  cursor: not-allowed;
}

.participant > h1 {
  font-size: 24px;
  line-height: 29px;
  margin-bottom: 24px;
}

.required {
  color: #ff164d;
}

.field input,
.field select,
.field textarea,
.plain-input {
  display: block;
  width: 100%;
  min-width: 0;
  height: 33px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #101010;
  color: #fff;
  padding: 6px 10px;
}

.field select {
  color: var(--muted);
  color-scheme: dark;
}

.field textarea {
  height: 100px;
  resize: vertical;
}

.field input::placeholder {
  color: var(--muted);
}

.form-stack {
  display: grid;
  gap: 18px;
}

.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.row.phone {
  grid-template-columns: 73px 1fr;
}

.row.address {
  grid-template-columns: 1.4fr 0.45fr 1fr;
}

.row.country {
  grid-template-columns: 125px 155px 1fr;
}

.row.four {
  grid-template-columns: 1fr 0.85fr 1fr 1fr;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 0;
  border-radius: 12px;
  padding: 8px 20px;
  min-height: 36px;
  font-size: 16px;
  font-weight: 600;
  line-height: 20px;
  color: #fff;
  background: #303030;
  text-align: center;
}

.primary {
  background: var(--purple);
}

.full {
  width: 100%;
}

.actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.actions > * {
  flex: 1;
}

.text-link {
  display: block;
  text-align: right;
  font-size: 16px;
  line-height: 20px;
  margin-top: 10px;
}

.muted,
.password-hint {
  color: var(--muted);
  font-size: 12px;
  line-height: 14px;
  font-weight: 300;
}

.password-hint ul {
  margin: 0;
  padding-left: 18px;
}

.method-list {
  display: grid;
  gap: 6px;
}

.method {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 20px 28px;
  border-radius: 12px;
  background: #303030;
  box-shadow: 0 2px 8px #0006;
  min-height: 95px;
}

.method > .icon {
  width: 40px;
  height: 40px;
}

.method strong {
  font-size: 24px;
  font-weight: 600;
}

.method p {
  font-size: 16px;
  line-height: 19px;
  margin-top: 4px;
}

.steps {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 50px 0 30px;
  font-size: 16px;
  line-height: 20px;
  list-style: none;
  padding: 0;
  color: var(--muted);
  font-weight: 300;
}

.steps li {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.steps li:not(:last-child)::after {
  content: '';
  width: 29px;
  height: 1px;
  background: #aaa;
  margin-left: 0;
}

.step-circle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: #171717;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
}

.steps .active {
  color: white;
  font-weight: 400;
}

.active .step-circle {
  border-color: var(--accent);
}

.done .step-circle {
  background: var(--purple);
  border-color: var(--purple);
}

.step-circle .icon {
  width: 20px;
  height: 20px;
}

.checkout-grid {
  display: grid;
  grid-template-columns: 711px 346px;
  gap: 19px;
  align-items: start;
}

.summary {
  padding: 18px 20px;
  font-size: 10px;
  line-height: 14px;
}

.summary h2 {
  font-size: 12px;
  line-height: 15px;
  font-weight: 500;
  margin-bottom: 14px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 5px;
  font-weight: 300;
}

.summary-row b {
  font-weight: 500;
  white-space: nowrap;
}

.summary hr {
  border: 0;
  border-top: 1px solid #444;
  margin: 8px 0;
}

.discount {
  color: var(--green);
}

.summary .total {
  font-size: 16px;
  line-height: 20px;
  font-weight: 600;
}

.total strong {
  color: var(--accent);
}

.summary .installments {
  text-align: right;
  color: var(--muted);
  font-weight: 300;
  margin-bottom: 8px;
}

.summary .field > span {
  font-size: 10px;
  margin-bottom: 5px;
  line-height: 12px;
}

.coupon {
  display: grid;
  grid-template-columns: 1fr 94px;
  gap: 9px;
}

.coupon input {
  height: 24px;
  font-size: 10px;
  padding: 4px 8px;
}

.coupon .button {
  font-size: 10px;
  min-height: 24px;
  padding: 3px 10px;
  border-radius: 6px;
  background: #242424;
  border: 1px solid var(--border);
}

.section-title {
  color: var(--accent);
  margin-bottom: 14px;
  font-size: 20px;
  line-height: 24px;
  font-weight: 600;
}

.billing .payer {
  width: 202px;
}

.small-button {
  font-size: 12px;
  min-height: 24px;
  padding: 3px 12px;
  border-radius: 6px;
}

.billing .copy-data {
  width: 202px;
  margin: 28px 0 18px;
}

.billing .form-stack {
  gap: 17px;
}

.payment-title {
  margin: 24px 0 20px;
}

.payment-list {
  display: grid;
  gap: 9px;
}

.payment-option {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #242424;
  box-shadow: 0 0 10px #0006;
  overflow: hidden;
}

.payment-option summary {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  min-height: 43px;
  list-style: none;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}

.payment-option summary::-webkit-details-marker {
  display: none;
}

.payment-option summary::after {
  content: '';
  width: 13px;
  height: 13px;
  border: 1.5px solid #fff;
  border-radius: 50%;
  margin-left: auto;
}

.payment-option[open] summary::after {
  background: #fff;
  box-shadow: inset 0 0 0 2px #242424;
}

.payment-content {
  padding: 14px 10px 10px;
  font-size: 12px;
  line-height: 16px;
  border-top: 1px solid #444;
  margin: 0 10px;
}

.payment-content .row.card-number {
  grid-template-columns: 1fr 86px 141px;
}

.payment-content .form-stack {
  gap: 18px;
}

.payment-content .row {
  gap: 10px;
}

.payment-content .field > span {
  font-weight: 500;
}

.payment-content .field input {
  border: 0;
}

.payment-content h4 {
  margin: 0 0 14px;
}

.panel-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 30px;
}

.panel-footer .primary {
  margin-left: auto;
  min-width: 202px;
}

.cart-panel h2 {
  margin-top: -6px;
}

.cart-panel > .muted {
  font-size: 16px;
  line-height: 20px;
  margin-top: 2px;
}

.cart-items {
  display: grid;
  gap: 10px;
  margin-top: 34px;
}

.ticket {
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: 12px;
  padding: 10px;
  box-shadow: 0 0 10px #0006;
}

.ticket-line {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 35px;
  font-size: 16px;
  font-weight: 600;
}

.ticket-icon {
  background: var(--purple);
  border-radius: 12px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.ticket-price {
  margin-left: auto;
  white-space: nowrap;
  font-size: 16px;
  min-width: 109px;
  text-align: center;
}

.ticket-title {
  flex: 1;
}

.ticket-title small {
  display: block;
  font-size: 12px;
  line-height: 14px;
  color: var(--muted);
  font-weight: 300;
}

.quantity {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #171717;
  border: 1px solid #303030;
  border-radius: 6px;
  height: 29px;
}

.quantity button,
.remove-item {
  border: 0;
  color: white;
  background: transparent;
  padding: 3px;
  font-size: 16px;
}

.remove-item {
  margin: 0 10px;
}

.remove-item .icon {
  width: 14px;
  height: 14px;
}

.quantity output {
  min-width: 10px;
  text-align: center;
}

.recommendations {
  margin: 24px 9px 0;
}

.recommendations h3 {
  color: white;
  margin-bottom: 20px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.product-card {
  border: 1px solid var(--product);
  border-radius: 12px;
  overflow: hidden;
  background: #242424;
  box-shadow: 0 0 15px color-mix(in srgb, var(--product) 30%, transparent);
  text-align: left;
  padding: 0;
  color: white;
  cursor: pointer;
  font-family: inherit;
}

.product-card img {
  width: 100%;
  height: 59px;
  object-fit: cover;
  display: block;
  object-position: center 20%;
}

.product-card strong {
  display: block;
  font-size: 16px;
  line-height: 19px;
  min-height: 42px;
  color: var(--product);
  padding: 4px 9px;
}

.product-card small {
  display: block;
  font-size: 10px;
  font-weight: 300;
  padding: 4px 9px;
}

.cart-panel .panel-footer {
  margin: 30px 0 0 9px;
}

.narrow {
  width: min(710px, calc(100% - 40px));
}

.completion {
  padding: 29px;
}

.success {
  border: 1px solid var(--green);
  background: #1d2516;
  color: var(--green);
  border-radius: 12px;
  text-align: center;
  padding: 24px 10px;
}

.success > .icon {
  display: block;
  width: 80px;
  height: 64px;
  stroke-width: 3;
  margin: 0 auto 18px;
}

.success h2 {
  margin-bottom: 8px;
}

.success p {
  font-size: 12px;
  font-weight: 300;
}

.notice {
  border: 1px solid var(--yellow);
  border-radius: 12px;
  background: #302b19;
  color: var(--yellow);
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 14px 0 18px;
}

.notice > .icon {
  width: 40px;
  height: 40px;
}

.notice h3 {
  font-size: 16px;
  line-height: 19px;
  margin-bottom: 4px;
}

.notice p {
  font-size: 12px;
  line-height: 14px;
  font-weight: 300;
}

.completion .ticket + .ticket {
  margin-top: 10px;
}

.ticket-actions {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.ticket-actions .button {
  font-size: 12px;
  line-height: 14px;
  padding: 5px 6px;
  min-height: 29px;
  border-radius: 6px;
  box-shadow: 0 0 10px #0006;
  font-weight: 500;
}

.ticket-actions .icon {
  width: 14px;
  height: 14px;
}

.later {
  color: var(--yellow);
  border: 1px solid var(--yellow);
  background: #383321;
}

.invite-panel {
  background: #303030;
  border-radius: 6px;
  padding: 10px;
  margin-top: 10px;
}

.invite-panel .row {
  grid-template-columns: 1fr auto;
  align-items: end;
}

.invite-panel .field input {
  height: 28px;
  font-size: 12px;
}

.invite-panel .button {
  font-size: 12px;
  min-height: 28px;
  border-radius: 6px;
  padding: 5px 8px;
}

.invite-panel .field + .row {
  margin-top: 8px;
}

.invite-panel .row + .field {
  margin-top: 8px;
}

.outline {
  border: 1px solid var(--purple);
}

.cnpj-main .subtitle {
  margin-top: 12px;
  white-space: nowrap;
}

.cnpj-main .steps {
  margin-top: 54px;
  margin-bottom: 34px;
}

.cnpj-panel {
  padding: 19px 29px 30px;
}

.cnpj-panel h2 {
  margin-bottom: 24px;
}

.cnpj-check {
  display: grid;
  grid-template-columns: 1fr 155px;
  gap: 10px;
}

.cnpj-check input {
  height: 49px;
  border-radius: 12px;
  font-size: 16px;
  padding: 10px 16px;
  box-shadow: 0 0 10px #0008;
}

.foreign-help {
  padding: 10px 12px;
  margin-top: 28px;
  border-radius: 12px;
  background: #242424;
  box-shadow: 0 0 10px #0006;
  font-size: 16px;
  font-weight: 300;
  line-height: 19px;
}

.foreign-help .button {
  margin-top: 6px;
  font-weight: 500;
  padding: 6px;
}

.eligible {
  margin: 58px 0 28px;
  border: 1px solid var(--green);
  border-radius: 12px;
  background: #1d2516;
  color: var(--green);
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
}

.cnpj-panel .ticket + .ticket {
  margin-top: 10px;
}

.cnpj-panel .ticket-price {
  font-size: 20px;
  min-width: 0;
}

.zero-total {
  display: flex;
  justify-content: space-between;
  background: #242424;
  border-radius: 12px;
  padding: 16px 10px;
  margin-top: 10px;
  font-weight: 600;
}

.zero-total strong {
  color: var(--green);
  font-size: 20px;
}

.banner {
  display: block;
  width: 100%;
  height: auto;
  margin: 30px auto 28px;
}

.has-banner {
  margin-top: 0;
}

.has-banner .cnpj-main {
  margin-top: 28px;
}

.participant {
  margin-top: 59px;
  padding: 24px 29px 29px;
}

.participant-inner {
  background: #242424;
  border: 1px solid #303030;
  border-radius: 12px;
  padding: 24px 19px 20px;
  box-shadow: 0 0 10px #0006;
}

.participant-inner > h2 {
  margin-bottom: 14px;
}

.participant-inner > h2:not(:first-child) {
  margin-top: 24px;
}

.participant-inner .form-stack {
  gap: 18px;
}

.birth-row {
  grid-template-columns: 0.85fr 1.1fr;
}

.birth-selects {
  display: grid;
  grid-template-columns: 60px 100px 78px;
  gap: 12px;
}

.participant .notice {
  margin-top: 28px;
  margin-bottom: 20px;
  display: block;
}

.participant .notice h3 {
  margin: 0 0 4px;
  color: var(--yellow);
}

.consent {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  font-weight: 300;
  line-height: 16px;
}

.consent a {
  text-decoration: underline;
}

.consent input {
  accent-color: var(--purple);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 30px;
}

.gallery-card {
  display: block;
  padding: 20px;
  background: #171717;
  border: 1px solid #303030;
  border-radius: 12px;
}

.gallery-card:hover {
  border-color: var(--purple);
}

.gallery-card small {
  color: var(--muted);
  display: block;
  margin-top: 8px;
}

.gallery-intro {
  font-size: 16px;
  color: #aaa;
  line-height: 24px;
  margin-top: 15px;
}

.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: #303030;
  border: 1px solid var(--accent);
  padding: 14px 22px;
  border-radius: 12px;
  max-width: calc(100% - 32px);
  z-index: 20;
  box-shadow: 0 4px 30px #000;
  font-size: 14px;
}

.toast[hidden] {
  display: none;
}

.pix-preview {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pix-sample {
  width: 211px;
  height: 211px;
  background: #fff;
  color: #101010;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 20px;
  flex-shrink: 0;
  font-size: 14px;
  border: 12px solid white;
  outline: 1px solid #555;
}

.pix-preview > div:last-child {
  flex: 1;
  min-width: 0;
}

.pix-time {
  display: block;
  color: var(--yellow);
  font-size: 40px;
  line-height: 48px;
  font-weight: 600;
  margin-bottom: 20px;
}

.pix-copy {
  background: #101010;
  color: #888;
  border-radius: 6px;
  padding: 8px;
  margin-top: 8px;
  font-size: 12px;
}

.pix-preview .button {
  float: right;
  margin-top: 10px;
  font-size: 12px;
  min-height: 28px;
  border-radius: 6px;
}

.preview-note {
  font-size: 12px;
  color: var(--muted);
  line-height: 17px;
  margin-top: 20px;
}

.auth .field input {
  height: 48px;
  border-radius: 12px;
}

.auth .compact .field input {
  height: 33px;
}

.visually-labelled > span {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px !important;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.auth .large-label .required {
  display: none;
}

.auth:where(:not(.single-title)) .panel {
  margin-top: 57px;
}

.page-login .form-stack {
  gap: 10px;
}

.page-login .panel {
  padding-bottom: 33px;
}

img.icon {
  object-fit: contain;
}

.step-circle img.icon {
  width: 15px;
  height: 11px;
}

.ticket-icon img.icon {
  width: 20px;
  height: 14px;
}

.eligible img.icon {
  width: 23px;
  height: 16px;
}

.success > img.icon {
  width: 79px;
  height: 56px;
  margin-top: 3px;
  margin-bottom: 23px;
}

.cart-link img.icon {
  width: 27px;
  height: 27px;
}

@media (min-width: 1100px) {
  .billing {
    padding-bottom: 20px;
  }

  .billing .panel-footer {
    margin-top: 30px;
  }

  .billing .payer + .copy-data {
    display: flex;
  }

  .cart-panel {
    min-height: 509px;
  }
}

@media (max-width: 1120px) {
  .header-inner {
    padding: 0 20px;
  }

  .logo {
    margin-right: 30px;
  }

  .main-nav {
    gap: 18px;
    font-size: 14px;
  }

  .checkout-grid {
    grid-template-columns: minmax(0, 2fr) minmax(270px, 1fr);
  }

  .ticket-line {
    font-size: 14px;
  }

  .ticket-price {
    min-width: 85px;
    font-size: 14px;
  }

  .product-grid {
    gap: 10px;
  }

  .cnpj-main .subtitle {
    white-space: normal;
  }
}

@media (max-width: 960px) {
  body,
  body.auth {
    min-height: 100vh;
    background-size: auto 100%;
    background-position: center top;
  }

  .site-header {
    height: auto;
    min-height: 80px;
  }

  .header-inner {
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 9px 20px;
  }

  .logo {
    margin: 0;
    width: 151px;
    height: 50px;
  }

  .menu-toggle {
    display: block;
    border: 1px solid #444;
    background: #242424;
    color: white;
    border-radius: 6px;
    padding: 8px;
  }

  .main-nav {
    display: none;
    flex-basis: 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 20px;
    padding: 20px 0;
  }

  .main-nav.is-open {
    display: flex;
  }

  .cart-link {
    margin-left: auto;
  }

  main,
  .auth main {
    width: calc(100% - 32px);
    margin: 40px auto;
  }

  .auth h1 {
    font-size: 36px;
    line-height: 44px;
  }

  h1 {
    font-size: 30px;
    line-height: 38px;
  }

  .subtitle,
  .auth .subtitle {
    font-size: 18px;
    line-height: 24px;
    margin-top: 10px;
  }

  .auth .panel,
  .auth.single-title .panel {
    padding: 22px 18px;
    margin-top: 32px;
  }

  .auth .button {
    font-size: 17px;
  }

  .auth .large-label > span {
    font-size: 20px;
  }

  .auth .description {
    font-size: 14px;
    line-height: 19px;
  }

  .method {
    padding: 16px 12px;
    gap: 14px;
  }

  .method strong {
    font-size: 18px;
  }

  .method p {
    font-size: 13px;
    line-height: 18px;
  }

  .method > .icon {
    width: 30px;
    height: 30px;
  }

  .steps {
    gap: 8px;
    margin: 32px 0 24px;
    flex-wrap: wrap;
    font-size: 12px;
  }

  .steps li {
    gap: 6px;
  }

  .steps li:not(:last-child)::after {
    width: 12px;
  }

  .step-circle {
    width: 25px;
    height: 25px;
    font-size: 14px;
  }

  .checkout-grid {
    grid-template-columns: 1fr;
  }

  .summary {
    order: -1;
  }

  .panel {
    padding: 18px;
  }

  .row.country,
  .row.four {
    grid-template-columns: 1fr 1fr;
  }

  .row.address {
    grid-template-columns: 1fr 80px;
  }

  .row.address .field:last-child {
    grid-column: 1/-1;
  }

  .ticket-line {
    flex-wrap: wrap;
  }

  .ticket-title {
    min-width: 140px;
  }

  .ticket-price {
    min-width: auto;
  }

  .remove-item {
    margin: 0;
  }

  .cart-items {
    margin-top: 24px;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-card {
    display: grid;
    grid-template-columns: 100px 1fr;
  }

  .product-card img {
    grid-row: span 2;
    height: 100%;
    min-height: 65px;
  }

  .product-card strong {
    min-height: auto;
  }

  .panel-footer {
    flex-wrap: wrap;
  }

  .panel-footer .primary {
    min-width: 150px;
  }

  .completion {
    padding: 18px;
  }

  .ticket-actions {
    flex-wrap: wrap;
    gap: 8px;
  }

  .ticket-actions .button {
    flex: 1;
    white-space: nowrap;
  }

  .cnpj-panel {
    padding: 20px 18px;
  }

  .cnpj-check {
    grid-template-columns: 1fr 110px;
  }

  .cnpj-main .steps {
    margin-top: 32px;
  }

  .foreign-help {
    font-size: 14px;
  }

  .eligible {
    margin-top: 28px;
    font-size: 14px;
  }

  .participant {
    margin-top: 40px;
    padding: 20px 14px;
  }

  .participant-inner {
    padding: 20px 12px;
  }

  .birth-row {
    grid-template-columns: 1fr;
  }

  .birth-selects {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .participant > h1 {
    font-size: 20px;
    line-height: 26px;
  }

  .invite-panel .row {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .payment-content .row.card-number {
    grid-template-columns: 1fr 1fr;
  }

  .card-number .field:first-child {
    grid-column: 1/-1;
  }

  .pix-preview {
    flex-wrap: wrap;
  }

  .pix-sample {
    width: 160px;
    height: 160px;
  }

  .pix-preview > div:last-child {
    min-width: 180px;
  }

  .auth .actions {
    flex-wrap: wrap;
  }

  .auth .actions > * {
    min-width: 140px;
  }

  .notice > .icon {
    width: 30px;
    height: 30px;
  }
}
