.shop-page {
  min-height: 100vh;
  background: #f4f7f6;
}

.shop-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 12px max(22px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
}

.shop-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.shop-brand img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.shop-brand span,
.shop-brand strong,
.shop-brand small {
  display: block;
}

.shop-brand small {
  margin-top: 2px;
  color: var(--muted);
}

.shop-calendar-link,
.shop-back {
  color: var(--accent-strong);
  font-weight: 760;
}

.shop-main,
.order-status-page {
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
  padding: 42px 0 70px;
}

.shop-intro {
  max-width: 760px;
  margin-bottom: 30px;
}

.shop-intro h1,
.shop-event-summary h1,
.order-status-card h1 {
  margin: 0;
  letter-spacing: 0;
}

.shop-intro h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.04;
}

.shop-event-list {
  border-top: 1px solid var(--line);
}

.shop-event-row {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  min-height: 116px;
  border-bottom: 1px solid var(--line);
  transition: background 140ms ease;
}

.shop-event-row:hover {
  background: #fff;
}

.shop-event-row time {
  display: grid;
  text-align: center;
}

.shop-event-row time strong {
  font-size: 2rem;
  line-height: 1;
}

.shop-event-row time span,
.shop-event-row-main small {
  color: var(--muted);
}

.shop-event-row-main {
  display: grid;
  gap: 7px;
}

.shop-event-row-main strong {
  font-size: 1.2rem;
}

.shop-event-action {
  color: var(--accent-strong);
  font-weight: 800;
}

.shop-event-detail {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(480px, 1.22fr);
  gap: 56px;
  align-items: start;
  margin-top: 26px;
}

.shop-event-summary {
  position: sticky;
  top: 108px;
}

.shop-event-summary h1 {
  margin-top: 5px;
  font-size: 2.5rem;
  line-height: 1.08;
}

.shop-event-date {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 24px;
  font-size: 1.05rem;
}

.shop-event-date small {
  flex-basis: 100%;
  color: var(--muted);
}

.shop-description {
  margin: 24px 0;
  color: #465452;
  line-height: 1.7;
}

.shop-availability,
.shop-price {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 15px 0;
  border-top: 1px solid var(--line);
}

.shop-availability strong {
  font-size: 1.7rem;
}

.shop-price strong {
  font-size: 1.25rem;
}

.shop-private-note,
.shop-alert,
.order-note {
  padding: 14px 16px;
  border-left: 3px solid var(--gold);
  background: #fff8e8;
}

.shop-alert {
  margin-bottom: 22px;
  border-left-color: var(--rose);
  background: #fff0f3;
}

.shop-order-panel,
.order-status-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.shop-form-head h2 {
  margin: 0 0 20px;
}

.seat-picker-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.seat-picker-head > span {
  flex: 1;
  padding: 8px;
  color: #fff;
  background: #17201f;
  text-align: center;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.seat-picker {
  display: grid;
  grid-template-columns: repeat(10, minmax(36px, 1fr));
  gap: 6px;
  max-height: 320px;
  padding: 12px;
  overflow: auto;
  border: 1px solid var(--line);
  background: #f7faf9;
}

.seat-option {
  display: block;
  min-width: 0;
}

.seat-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.seat-option span {
  display: grid;
  place-items: center;
  min-height: 34px;
  border: 1px solid #b9d1cd;
  border-radius: 6px 6px 3px 3px;
  color: #31524e;
  background: #fff;
  font-size: 0.72rem;
  cursor: pointer;
}

.seat-option input:checked + span {
  border-color: var(--accent);
  color: #fff;
  background: var(--accent);
}

.seat-option.taken span {
  border-color: #d9dfde;
  color: #a3aeac;
  background: #e8edec;
  cursor: not-allowed;
}

.shop-customer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.shop-order-choice {
  display: grid;
  gap: 8px;
  margin: 22px 0 0;
  padding: 18px 0 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.shop-order-choice legend {
  padding-right: 10px;
  font-weight: 800;
}

.shop-order-choice label {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}

.shop-order-choice label:has(input:checked) {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.shop-order-choice label.disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.shop-order-choice input {
  width: 18px;
  height: 18px;
}

.shop-order-choice span,
.shop-order-choice strong,
.shop-order-choice small {
  display: block;
}

.shop-order-choice small {
  margin-top: 3px;
  color: var(--muted);
}

.shop-order-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.shop-order-total strong {
  font-size: 1.45rem;
}

.shop-submit,
.order-primary-action {
  width: 100%;
  margin-top: 18px;
  text-align: center;
}

.shop-empty {
  padding: 34px 0;
  color: var(--muted);
}

.order-status-page {
  max-width: 700px;
}

.order-status-card {
  text-align: center;
}

.order-status {
  display: inline-block;
  margin-bottom: 22px;
  padding: 6px 10px;
  border-radius: 6px;
  color: #31524e;
  background: var(--accent-soft);
  font-weight: 800;
}

.order-status.paid {
  color: #315d2d;
  background: #edf8e9;
}

.order-status.cancelled,
.order-status.expired,
.order-status.payment_failed {
  color: #8e2f45;
  background: #fff0f3;
}

.order-event-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
  margin-top: 16px;
  color: var(--muted);
}

.order-summary-lines {
  display: grid;
  gap: 1px;
  margin-top: 24px;
  background: var(--line);
}

.order-summary-lines div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 13px;
  background: #fff;
  text-align: left;
}

.order-note {
  margin-top: 22px;
  text-align: left;
}

.order-back {
  display: inline-block;
  margin-top: 24px;
}

@media (max-width: 860px) {
  .shop-event-detail {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .shop-event-summary {
    position: static;
  }
}

@media (max-width: 600px) {
  .shop-header {
    padding: 10px 18px;
  }

  .shop-main,
  .order-status-page {
    width: min(100% - 28px, 1180px);
    padding-top: 26px;
  }

  .shop-event-row {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 14px;
  }

  .shop-event-action {
    grid-column: 2;
  }

  .shop-event-summary h1 {
    font-size: 2rem;
  }

  .shop-customer-grid {
    grid-template-columns: 1fr;
  }

  .seat-picker {
    grid-template-columns: repeat(5, minmax(38px, 1fr));
  }

  .shop-order-panel,
  .order-status-card {
    padding: 18px;
  }
}
.shop-header {
  min-height: 86px;
  border-bottom: 3px solid var(--accent);
}

.shop-brand img {
  width: 76px;
  height: 60px;
  padding: 3px;
  border-radius: 5px;
  background: #fff;
}

.shop-event-row {
  border-left: 3px solid transparent;
}

.shop-event-row:hover {
  border-left-color: var(--accent);
}

.shop-event-row time strong {
  color: var(--accent-strong);
}

.seat-picker-head > span {
  background: #303b42;
}

@media (max-width: 600px) {
  .shop-brand img {
    width: 62px;
    height: 50px;
  }

  .shop-brand small {
    max-width: 180px;
  }
}

.shop-event-row.reservation-placeholder,
.shop-event-row.coming-soon-placeholder {
  cursor: default;
  border-style: dashed;
  background: #f7f8f8;
}

.shop-event-row.reservation-placeholder .shop-event-row-main strong,
.shop-event-row.reservation-placeholder .shop-event-action,
.shop-event-row.coming-soon-placeholder .shop-event-action {
  color: #687370;
}

.sandbox-payment-notice {
  display: grid;
  gap: 6px;
  margin-bottom: 18px;
  padding: 14px;
  border: 1px solid #d97706;
  border-radius: 6px;
  background: #fff7ed;
  color: #7c3f00;
}

.sandbox-payment-notice > span {
  font-size: 0.84rem;
}

.sandbox-payment-notice dl {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 8px;
  margin: 6px 0 0;
}

.sandbox-payment-notice dl div {
  display: grid;
  gap: 2px;
}

.sandbox-payment-notice dt {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
}

.sandbox-payment-notice dd {
  margin: 0;
  font-weight: 800;
}

@media (max-width: 560px) {
  .sandbox-payment-notice dl {
    grid-template-columns: 1fr;
  }
}

.payment-main {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(340px, 1.2fr);
  gap: 28px;
  width: min(980px, calc(100% - 32px));
  margin: 36px auto;
  align-items: start;
}

.payment-summary,
.payment-widget-panel {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.payment-summary h1,
.payment-widget-head h2 {
  margin: 5px 0 20px;
}

.payment-facts {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--line);
}

.payment-facts div {
  display: grid;
  gap: 3px;
  padding: 12px;
  background: #fff;
}

.payment-facts span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
}

.payment-widget-status {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.82rem;
}

.payment-widget-status.error {
  color: #b42318;
}

@media (max-width: 760px) {
  .payment-main {
    grid-template-columns: 1fr;
    margin: 20px auto;
  }
}

.shop-event-row.has-image {
  grid-template-columns: 90px 132px minmax(0, 1fr) auto;
}

.shop-event-thumb {
  display: block;
  width: 132px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 6px;
  background: #eef2f1;
}

.shop-event-thumb img,
.shop-event-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shop-event-hero {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-bottom: 20px;
  overflow: hidden;
  border-radius: 8px;
  background: #eef2f1;
}

@media (max-width: 900px) {
  .shop-event-thumb {
    width: 82px;
    aspect-ratio: 1;
  }

  .shop-event-row.has-image {
    grid-template-columns: 70px 82px minmax(0, 1fr) auto;
  }
}

@media (max-width: 600px) {
  .shop-event-row.has-image {
    grid-template-columns: 58px 72px minmax(0, 1fr);
  }

  .shop-event-row.has-image .shop-event-action {
    grid-column: 3;
  }

  .shop-event-thumb {
    width: 72px;
    aspect-ratio: 3 / 4;
  }

  .shop-event-hero {
    aspect-ratio: 3 / 4;
  }
}

.seat-picker-graphic{display:grid!important;grid-template-columns:1fr!important;gap:9px!important;overflow-x:auto;padding:18px!important}.seat-row{display:grid;grid-template-columns:26px minmax(max-content,1fr);gap:8px;align-items:center}.seat-row>strong{text-align:center;color:#6c777d}.seat-row>div{display:flex;justify-content:center;gap:5px}.seat-row .seat-option{width:32px;flex:0 0 32px}.seat-row .seat-option span{display:grid;place-items:center;width:32px;height:32px;padding:0;border-radius:5px}.seat-aisle{width:22px;flex:0 0 22px}
.preview-row.align-left>div,.seat-row.align-left>div{justify-content:flex-start}.preview-row.align-right>div,.seat-row.align-right>div{justify-content:flex-end}.preview-row.align-center>div,.seat-row.align-center>div{justify-content:center}.row-editor-item select{height:38px;border:1px solid var(--line);border-radius:5px;background:#fff}
.shop-ticket-categories{display:grid;gap:7px;padding:13px;border:1px solid var(--line);border-radius:7px;background:#f8faf9}.shop-ticket-categories>div{display:flex;justify-content:space-between;gap:12px}.shop-ticket-categories>div span{color:var(--muted);font-size:.7rem}.shop-ticket-categories label{display:grid;grid-template-columns:minmax(0,1fr) 72px;align-items:center;gap:10px;padding:9px 10px;border:1px solid var(--line);border-radius:6px;background:#fff}.shop-ticket-categories label span strong,.shop-ticket-categories label span small{display:block}.shop-ticket-categories label span small{margin-top:2px;color:var(--muted);font-size:.69rem}.shop-ticket-categories select{width:100%;font-weight:800}.seat-picker-head strong.mismatch{color:#b12e28}@media(max-width:560px){.shop-ticket-categories>div{display:grid}.shop-ticket-categories label{grid-template-columns:minmax(0,1fr) 64px}}

.public-calendar-nav{display:flex;align-items:center;gap:4px;padding:4px;border:1px solid var(--line);border-radius:8px;background:#fff}.public-calendar-nav a{padding:9px 12px;border-radius:6px;color:var(--muted);font-size:.84rem;font-weight:750}.public-calendar-nav a:hover,.public-calendar-nav a.active{color:var(--accent-strong);background:var(--accent-soft)}
@media(max-width:600px){.public-calendar-nav{width:100%}.public-calendar-nav a{flex:1;text-align:center}}
