/* Public event ticket shop + guest checkout */

.pet-page {
  background: #f4f4f5;
  min-height: 60vh;
}

.pet-hero,
.pet-checkout-hero {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #2a1215 100%);
  color: #fff;
  padding: calc(var(--header-h) + 1.75rem) 1.25rem 2rem;
}

.pet-hero-inner,
.pet-container {
  max-width: 1080px;
  margin: 0 auto;
}

.pet-back {
  display: inline-block;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
}

.pet-back:hover {
  color: #fff;
}

.pet-page--checkout .pet-back,
.pet-page--confirm .pet-back {
  color: rgba(255, 255, 255, 0.75);
}

.pet-hero-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 1.5rem;
  align-items: center;
}

.pet-hero-media {
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #1f1f1f;
}

.pet-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pet-hero-placeholder {
  display: grid;
  place-items: center;
  height: 100%;
  font-size: 2.5rem;
  background: #222;
}

.pet-title,
.pet-checkout-title {
  margin: 0.45rem 0 0.5rem;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 900;
  letter-spacing: -0.02em;
}

.pet-meta,
.pet-lead,
.pet-guest-note {
  margin: 0.35rem 0 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.5;
}

.pet-guest-note a {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
}

.pet-body {
  padding: 2rem 1.25rem 3.5rem;
}

.pet-section-title,
.pet-panel-title {
  margin: 0 0 0.85rem;
  font-size: 1.1rem;
  font-weight: 900;
}

.pet-ticket-grid {
  margin-top: 0.5rem;
}

.pet-ticket-grid .ticket-card__btn--buy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  width: 100%;
}

.pet-alert {
  padding: 0.85rem 1rem;
  border-radius: 10px;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.pet-alert--error {
  background: #fde8ea;
  color: #a10f18;
  border: 1px solid #f5c2c7;
}

.pet-alert--success {
  background: #e8f7ee;
  color: #1a6b3a;
  border: 1px solid #b8e6c8;
}

.pet-empty {
  padding: 2rem;
  text-align: center;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e5e5e5;
}

.pet-checkout-layout {
  max-width: 960px;
}

.pet-checkout-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.25rem;
  align-items: start;
}

.pet-panel,
.pet-summary,
.pet-confirm-card {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 14px;
  padding: 1.25rem 1.35rem;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.05);
}

.pet-panel-sub {
  margin: -0.35rem 0 1rem;
  color: #666;
  font-size: 0.88rem;
}

.pet-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.pet-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #555;
}

.pet-field--full {
  grid-column: 1 / -1;
}

.pet-field input {
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: normal;
  color: #111;
  padding: 0.7rem 0.85rem;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
}

.pet-field input:focus {
  outline: none;
  border-color: #e30613;
}

.pet-pay-banner {
  padding: 0.9rem 1rem;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  margin-bottom: 1rem;
}

.pet-pay-banner strong {
  display: block;
  margin-bottom: 0.2rem;
}

.pet-pay-banner p,
.pet-pay-note {
  margin: 0;
  color: #64748b;
  font-size: 0.88rem;
}

.pet-pay-btn {
  width: 100%;
  margin-top: 0.35rem;
}

.pet-summary-event {
  margin: 0;
  font-weight: 800;
}

.pet-summary-tier,
.pet-summary-avail {
  margin: 0.35rem 0 0;
  color: #666;
}

.pet-summary-price {
  margin: 0.75rem 0 0;
  font-size: 1.6rem;
  font-weight: 900;
  color: #e30613;
}

.pet-confirm {
  padding: calc(var(--header-h) + 2rem) 1.25rem 3.5rem;
}

.pet-confirm-inner {
  max-width: 560px;
  text-align: center;
}

.pet-confirm-badge {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #16a34a;
  color: #fff;
  font-size: 1.6rem;
  font-weight: 900;
}

.pet-confirm-title {
  margin: 0;
  font-size: 1.75rem;
  font-weight: 900;
}

.pet-confirm-lead {
  margin: 0.65rem 0 0.5rem;
  color: #555;
  line-height: 1.55;
}

.pet-confirm-mail-hint {
  margin: 0 0 1.35rem;
  color: #333;
  font-size: 0.95rem;
  line-height: 1.5;
}

.pet-confirm-card {
  text-align: left;
  margin-bottom: 1.25rem;
}

.pet-confirm-card h2 {
  margin: 0 0 0.85rem;
  font-size: 1.15rem;
}

.pet-confirm-dl {
  margin: 0;
  display: grid;
  gap: 0.65rem;
}

.pet-confirm-dl dt {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #888;
}

.pet-confirm-dl dd {
  margin: 0.1rem 0 0;
  font-weight: 700;
}

.pet-confirm-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
}

@media (max-width: 800px) {
  .pet-hero-grid,
  .pet-checkout-grid,
  .pet-form-grid {
    grid-template-columns: 1fr;
  }
}
