/* Product / event ticket page */

.product-main {
  padding-bottom: 0;
}

.breadcrumb-wrap {
  padding-top: 24px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
}

.breadcrumb a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: opacity 0.2s ease;
}

.breadcrumb a:hover {
  opacity: 0.75;
}

.breadcrumb-sep {
  color: rgba(255, 255, 255, 0.6);
}

.breadcrumb [aria-current="page"] {
  color: rgba(255, 255, 255, 0.75);
}

.product-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
  padding-top: 24px;
  padding-bottom: 80px;
}

.poster-column {
  min-width: 0;
}

.poster {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin-inline: auto;
  aspect-ratio: 1;
  overflow: hidden;
  background-color: #d0d5dd;
}

.poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.share-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background-color: #fff;
  color: #2f3b47;
  box-shadow: 0 2px 8px rgba(6, 7, 10, 0.18);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.share-btn:hover {
  transform: translateY(-1px);
  background-color: #f9fafb;
}

.product-details {
  min-width: 0;
}

.product-title-lg {
  color: #fff;
  font-size: 26px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.product-lead {
  max-width: 648px;
  margin-top: 16px;
  color: #fff;
  font-size: 16px;
  line-height: 1.6;
}

.event-fact {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 24px;
}

.date-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border-radius: 8px;
  background-color: #f7f9fc;
  color: #101928;
  line-height: 1;
}

.date-badge span {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.date-badge strong {
  margin-top: 4px;
  font-size: 16px;
  font-weight: 600;
}

.fact-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border-radius: 8px;
  background-color: #d0d5dd;
  color: #fff;
}

.fact-copy {
  min-width: 0;
  padding-top: 4px;
}

.fact-copy p {
  color: #fff;
  font-size: 14px;
  line-height: 20px;
  overflow-wrap: anywhere;
}

.fact-copy .fact-muted {
  color: rgba(255, 255, 255, 0.65);
}

.fact-link {
  display: inline-block;
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
  line-height: 20px;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.fact-link:hover {
  color: #fff;
}

.tickets-block {
  margin-top: 40px;
}

.tickets-label {
  padding-bottom: 8px;
  border-bottom: 1px solid rgb(var(--border));
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
}

.ticket-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  margin-top: 16px;
}

.ticket-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 16px;
  border: 1px solid rgb(var(--card-stroke));
  border-radius: 8px;
  background-color: rgb(var(--card));
}

.ticket-name-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.ticket-name {
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  overflow-wrap: anywhere;
}

.sale-badge {
  flex: 0 0 auto;
  padding: 2px 8px;
  border-radius: 999px;
  background-color: #3fae63;
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  line-height: 16px;
  text-transform: capitalize;
}

.ticket-admits,
.ticket-sale-note {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  line-height: 20px;
  overflow-wrap: anywhere;
}

.ticket-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 8px;
  margin-top: 8px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
}

.ticket-price .old {
  text-decoration: line-through;
}

.ticket-price .new {
  color: rgb(var(--primary));
}

.stepper {
  display: grid;
  grid-template-columns: 24px 24px 24px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  align-self: flex-end;
  height: 40px;
  margin-top: auto;
  padding: 8px;
  border-radius: 8px;
  background-color: #f7f9fc;
}

.stepper button {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  background: none;
  color: rgb(var(--primary));
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.stepper button:hover:not(:disabled) {
  transform: scale(1.08);
}

.stepper button:disabled {
  color: #d0d5dd;
  cursor: not-allowed;
}

.stepper button svg {
  width: 24px;
  height: 24px;
}

.stepper .qty {
  color: #101928;
  font-size: 14px;
  line-height: 24px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.product-action-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 40px;
}

.btn-checkout,
.btn-continue-shopping {
  height: 48px;
  padding: 0 16px;
}

.btn-checkout {
  background-color: rgb(var(--primary));
  color: #fff;
}

.btn-checkout:hover:not(:disabled) {
  background-color: rgba(var(--primary), 0.5);
}

.btn-checkout:disabled {
  background-color: rgb(var(--bg-weak));
  color: #d0d5dd;
  cursor: not-allowed;
}

.btn-continue-shopping {
  background-color: rgb(var(--bg-weak));
  color: rgb(var(--text-sub));
}

.btn-continue-shopping:hover {
  background-color: #fff;
  color: #101928;
}

@media (min-width: 640px) {
  .product-title-lg {
    font-size: 30px;
  }

  .ticket-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  .product-action-row {
    flex-direction: row;
    justify-content: flex-end;
  }
}

@media (min-width: 1024px) {
  .product-grid {
    grid-template-columns: minmax(0, 470px) minmax(0, 1fr);
    gap: 48px;
  }

  .poster {
    max-width: none;
    margin-inline: 0;
  }

  .product-details {
    padding-top: 60px;
  }

  .product-title-lg {
    font-size: 32px;
    line-height: 40px;
  }

  .ticket-card {
    min-height: 166px;
  }
}

@media (min-width: 1280px) {
  .product-grid {
    grid-template-columns: 520px minmax(0, 1fr);
    gap: 80px;
  }
}
