/* AYATICKETS Event Page Layout V2
 * Premium, minimalist, clarity-first.
 * Scoped to `.aya-event-layout-v2`.
 */

.aya-event-layout-v2 {
  --aya-text: rgba(0,0,0,0.90);
  --aya-muted: rgba(0,0,0,0.55);
  --aya-border: rgba(0,0,0,0.10);
  --aya-shadow: 0 10px 28px rgba(0,0,0,0.06);
  --aya-brand: #c3073f;
  --aya-brand2: #b00638;
  --aya-surface: #f7f4ef;
  --aya-card: #ffffff;
  --aya-soon: #0f7a3f;
  background: var(--aya-surface);
}

.aya-event-layout-v2 .aya-hero {
  background: var(--aya-surface);
}

/* Desktop only: subtle separator between hero and content */
@media (min-width: 992px) {
  .aya-event-layout-v2 .aya-hero {
    border-bottom: 1px solid var(--aya-border);
  }
}

.aya-event-layout-v2 .aya-heroCard {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.aya-event-layout-v2 .aya-h1 {
  font-weight: 1000;
  letter-spacing: -0.02em;
  color: var(--aya-text);
  line-height: 1.12;
}

@media (max-width: 767.98px) {
  .aya-event-layout-v2 .aya-h1 {
    font-size: 24px;
    line-height: 1.18;
  }

  .aya-event-layout-v2 .aya-media {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .aya-event-layout-v2 .aya-heroCard {
    margin-top: 14px;
    margin-bottom: 0 !important;
  }

  .aya-event-layout-v2 .aya-hero {
    padding-bottom: 8px !important;
  }
}

.aya-event-layout-v2 .aya-priceLine {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
}

.aya-event-layout-v2 .aya-priceLabel {
  color: var(--aya-muted);
  font-weight: 900;
}

.aya-event-layout-v2 .aya-priceValue {
  color: rgba(0,0,0,0.90);
  font-weight: 1100;
  letter-spacing: -0.01em;
}

.aya-event-layout-v2 .aya-priceRow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: nowrap;
}

.aya-event-layout-v2 .aya-priceRow--end {
  justify-content: flex-end;
}

.aya-event-layout-v2 .aya-kv {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--aya-muted);
  font-weight: 800;
  font-size: 13px;
}

.aya-event-layout-v2 .aya-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid var(--aya-border);
  background: #fff;
}

.aya-event-layout-v2 .aya-metaRows {
  border: 1px solid var(--aya-border);
  background: #fff;
  border-radius: 14px;
  padding: 10px 12px;
}

.aya-event-layout-v2 .aya-metaRow {
  display: flex;
  gap: 10px;
  align-items: baseline;
  justify-content: space-between;
  padding: 6px 0;
  border-top: 1px solid var(--aya-border);
}

.aya-event-layout-v2 .aya-metaRow:first-child {
  border-top: 0;
}

.aya-event-layout-v2 .aya-metaKey {
  color: var(--aya-muted);
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  flex: 0 0 auto;
}

.aya-event-layout-v2 .aya-metaVal {
  color: rgba(0,0,0,0.85);
  font-weight: 900;
  text-align: right;
}

.aya-event-layout-v2 .aya-metaBadge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  margin-left: 8px;
  border-radius: 999px;
  border: 1px solid var(--aya-border);
  background: rgba(0,0,0,0.03);
  font-size: 11px;
  font-weight: 900;
  color: var(--aya-muted);
  white-space: nowrap;
  vertical-align: middle;
}

.aya-event-layout-v2 .aya-metaBadge--interactive {
  gap: 4px;
  background: linear-gradient(135deg, rgba(195,7,63,0.08), rgba(253,108,93,0.08));
  border-color: rgba(195,7,63,0.2);
  color: #c3073f;
}

/* ========================================
   Multi-Date Picker Component
   Premium visibility for events with multiple dates
   ======================================== */

.aya-event-layout-v2 .aya-datesPicker {
  border: 1px solid var(--aya-border);
  border-radius: 14px;
  background: linear-gradient(180deg, #fff 0%, #fafafa 100%);
  overflow: hidden;
}

.aya-event-layout-v2 .aya-datesPicker__header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: linear-gradient(135deg, rgba(195,7,63,0.06), rgba(253,108,93,0.04));
  border-bottom: 1px solid rgba(195,7,63,0.08);
}

.aya-event-layout-v2 .aya-datesPicker__icon {
  color: #c3073f;
  font-size: 14px;
}

.aya-event-layout-v2 .aya-datesPicker__title {
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(0,0,0,0.85);
}

.aya-event-layout-v2 .aya-datesPicker__count {
  margin-left: auto;
  font-size: 11px;
  font-weight: 600;
  color: #c3073f;
  background: rgba(195,7,63,0.1);
  padding: 2px 8px;
  border-radius: 999px;
}

.aya-event-layout-v2 .aya-datesPicker__scroll {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 12px;
}

.aya-event-layout-v2 .aya-datesPicker__scroll::-webkit-scrollbar {
  display: none;
}

.aya-event-layout-v2 .aya-datesPicker__track {
  display: flex;
  gap: 10px;
}

.aya-event-layout-v2 .aya-datesPicker__chip {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 90px;
  padding: 10px 14px;
  border: 1px solid var(--aya-border);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  transition: all 0.15s ease;
  text-align: center;
}

.aya-event-layout-v2 .aya-datesPicker__chip:hover {
  border-color: rgba(195,7,63,0.4);
  background: linear-gradient(180deg, #fff 0%, rgba(195,7,63,0.04) 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(195,7,63,0.12);
}

.aya-event-layout-v2 .aya-datesPicker__chip:active {
  transform: translateY(0);
}

.aya-event-layout-v2 .aya-datesPicker__chip.is-featured {
  border-color: rgba(195,7,63,0.3);
  background: linear-gradient(180deg, #fff 0%, rgba(195,7,63,0.06) 100%);
  box-shadow: 0 2px 8px rgba(195,7,63,0.1);
}

.aya-event-layout-v2 .aya-datesPicker__day {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #c3073f;
}

.aya-event-layout-v2 .aya-datesPicker__date {
  font-size: 15px;
  font-weight: 900;
  color: rgba(0,0,0,0.9);
  margin: 2px 0;
}

.aya-event-layout-v2 .aya-datesPicker__time {
  font-size: 11px;
  font-weight: 600;
  color: rgba(0,0,0,0.6);
}

.aya-event-layout-v2 .aya-datesPicker__venue {
  font-size: 10px;
  color: var(--aya-muted);
  margin-top: 4px;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Desktop: show chips in a wrapping grid instead of scroll */
@media (min-width: 992px) {
  .aya-event-layout-v2 .aya-datesPicker__scroll {
    overflow: visible;
  }
  
  .aya-event-layout-v2 .aya-datesPicker__track {
    flex-wrap: wrap;
  }
  
  .aya-event-layout-v2 .aya-datesPicker__chip {
    min-width: 100px;
  }
}

/* ======================================== */

.aya-event-layout-v2 .aya-metaLink {
  color: rgba(0,0,0,0.85);
  text-decoration: none;
  border-bottom: 1px dotted rgba(0,0,0,0.28);
}

.aya-event-layout-v2 .aya-metaLink:hover {
  color: rgba(0,0,0,0.95);
  border-bottom-color: rgba(0,0,0,0.55);
}

.aya-event-layout-v2 .aya-actionsRow {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.aya-event-layout-v2 .aya-desktopActions {
  gap: 16px;
  flex-wrap: wrap;
  margin: 4px 0 18px;
}

.aya-event-layout-v2 .aya-actionsRow--right {
  margin-left: auto;
  justify-content: flex-end;
  text-align: right;
}

.aya-event-layout-v2 .aya-actionsRow .aya-metaLink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 900;
}

.aya-event-layout-v2 .aya-connectStrip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--aya-border);
  background: rgba(255,255,255,0.96);
  box-shadow: 0 10px 22px rgba(0,0,0,0.08);
}

.aya-event-layout-v2 .aya-connectLabel {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 900;
  color: var(--aya-muted);
  white-space: nowrap;
}

.aya-event-layout-v2 .aya-connectIcons {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.aya-event-layout-v2 .aya-connectIcon {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--aya-border);
  background: #fff;
  color: rgba(0,0,0,0.6);
  text-decoration: none;
}

.aya-event-layout-v2 .aya-connectIcon:hover {
  color: rgba(0,0,0,0.92);
  border-color: rgba(0,0,0,0.25);
  box-shadow: 0 8px 16px rgba(0,0,0,0.10);
}

.aya-event-layout-v2 .aya-embedModal__content {
  border-radius: 20px;
  border: 1px solid var(--aya-border);
  box-shadow: var(--aya-shadow);
  overflow: hidden;
}

.aya-event-layout-v2 .aya-embedModal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid var(--aya-border);
  background:
    radial-gradient(500px 240px at 0% 0%, rgba(195,7,63,0.10), transparent 60%),
    radial-gradient(420px 220px at 100% 0%, rgba(253,108,93,0.10), transparent 60%),
    #fff;
}

.aya-event-layout-v2 .aya-embedModal__title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 1000;
  color: var(--aya-text);
}

.aya-event-layout-v2 .aya-embedModal__icon {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--aya-border);
  background: #fff;
  color: var(--aya-brand);
}

.aya-event-layout-v2 .aya-embedModal__close {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid var(--aya-border);
  background: #fff;
  color: rgba(0,0,0,0.6);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  line-height: 1;
  padding: 0;
}

.aya-event-layout-v2 .aya-embedModal__close:hover {
  color: rgba(0,0,0,0.9);
  border-color: rgba(0,0,0,0.3);
}

.aya-event-layout-v2 .aya-embedModal__body {
  padding: 16px 18px 20px;
}

.aya-event-layout-v2 .aya-embedModal__hint {
  font-size: 13px;
  color: var(--aya-muted);
  margin-bottom: 10px;
  font-weight: 700;
}

.aya-event-layout-v2 .aya-embedModal__codeWrap {
  border-radius: 14px;
  border: 1px solid var(--aya-border);
  background: rgba(0,0,0,0.02);
  padding: 10px 12px;
}

.aya-event-layout-v2 .aya-embedModal__code {
  width: 100%;
  border: 0;
  background: transparent;
  resize: none;
  color: rgba(0,0,0,0.8);
  font-family: "SFMono-Regular","Consolas","Liberation Mono","Menlo",monospace;
  font-size: 12.5px;
  line-height: 1.5;
  outline: none;
}

.aya-event-layout-v2 .aya-embedModal__copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 12px;
  border: 0;
  border-radius: 14px;
  min-height: 46px;
  font-size: 14px;
  font-weight: 900;
  color: #fff;
  background: linear-gradient(90deg, var(--aya-brand), var(--aya-brand2));
  box-shadow: 0 10px 20px rgba(195,7,63,0.20);
}

.aya-event-layout-v2 .aya-embedModal__field {
  margin-bottom: 12px;
}

.aya-event-layout-v2 .aya-embedModal__label {
  display: block;
  font-size: 12px;
  font-weight: 800;
  color: var(--aya-muted);
  margin-bottom: 6px;
}

.aya-event-layout-v2 .aya-embedModal__select {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--aya-border);
  min-height: 42px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--aya-text);
  background: #fff;
}

.aya-event-layout-v2 .aya-embedModal__preview {
  margin-top: 12px;
  border-radius: 14px;
  border: 1px solid var(--aya-border);
  background: rgba(0,0,0,0.02);
  padding: 10px 12px;
}

.aya-event-layout-v2 .aya-embedModal__preview summary {
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  color: var(--aya-text);
  list-style: none;
}

.aya-event-layout-v2 .aya-embedModal__preview summary::-webkit-details-marker {
  display: none;
}

.aya-event-layout-v2 .aya-embedModal__previewFrameWrap {
  margin-top: 12px;
  display: flex;
  justify-content: center;
  overflow: auto;
}

.aya-event-layout-v2 .aya-embedModal__previewFrame {
  border: 0;
  border-radius: 20px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
  max-width: 100%;
}

.aya-event-layout-v2 .aya-heroAbout,
.aya-event-layout-v2 .aya-heroAboutSimple {
  border: 1px solid var(--aya-border);
  background: #fff;
  border-radius: 14px;
  padding: 12px 12px;
}

.aya-event-layout-v2 .aya-heroAbout__summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.aya-event-layout-v2 .aya-heroAbout__summary::-webkit-details-marker {
  display: none;
}

.aya-event-layout-v2 .aya-heroAbout__cta {
  color: var(--aya-brand);
  font-weight: 1000;
  white-space: nowrap;
  flex: 0 0 auto;
}

.aya-event-layout-v2 .aya-heroAbout__left {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.aya-event-layout-v2 .aya-heroAbout__preview {
  color: var(--aya-muted);
  line-height: 1.55;
  font-weight: 700;
}

.aya-event-layout-v2 details.aya-heroAbout[open] .aya-heroAbout__cta {
  display: none;
}

/* When expanded, hide the preview so we don't show preview + full body (duplicate content) */
.aya-event-layout-v2 details.aya-heroAbout[open] .aya-heroAbout__preview {
  display: none;
}

.aya-event-layout-v2 .aya-heroAbout__label {
  font-weight: 1000;
  color: var(--aya-text);
  margin-bottom: 6px;
}

.aya-event-layout-v2 .aya-heroAbout__body {
  color: var(--aya-muted);
  line-height: 1.65;
  font-weight: 700;
  margin-top: 8px;
}

.aya-event-layout-v2 .aya-sectionCard {
  border: 1px solid var(--aya-border);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(0,0,0,0.06);
}

/* Mobile: seamless card styling - full width, no borders for cleaner flow */
@media (max-width: 767.98px) {
  .aya-event-layout-v2 .aya-sectionCard {
    border-radius: 0;
    border: 0;
    border-bottom: 1px solid var(--aya-border);
    box-shadow: none;
    margin-left: -12px;
    margin-right: -12px;
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
}

/* Mobile: seamless transition from hero to content - targeting the #details section directly */
@media (max-width: 991.98px) {
  .aya-event-layout-v2 ~ #details,
  .aya-event-layout-v2 + #details,
  section#details {
    margin-top: 0 !important;
    padding-top: 0 !important;
    background: #fff;
  }
  
  .aya-event-layout-v2 ~ #details .aya-sectionCard,
  section#details .aya-sectionCard {
    border-top: 1px solid rgba(0,0,0,0.06);
    margin-top: 0;
    padding-top: 1rem !important;
  }
}

.aya-event-layout-v2 .aya-sectionTitle {
  font-weight: 1000;
  letter-spacing: -0.01em;
  color: var(--aya-text);
}

.aya-event-layout-v2 .aya-catPill {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: #f3f4f6;
  color: #374151;
  font-size: 12px;
  font-weight: 700;
}

.aya-event-layout-v2 .aya-ctaPrimary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 14px;
  min-height: 48px;
  padding: 14px 20px;
  font-size: 15px;
  line-height: 1;
  font-weight: 800;
  color: #fff;
  background: var(--aya-brand);
  box-shadow: 0 8px 18px rgba(195,7,63,0.22);
  text-decoration: none;
}

.aya-event-layout-v2 .aya-ctaSecondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 14px;
  min-height: 48px;
  padding: 14px 20px;
  font-size: 15px;
  line-height: 1;
  font-weight: 900;
  border: 1px solid var(--aya-border);
  background: #fff;
  color: rgba(0,0,0,0.80);
}

/* Coming Soon: keep USSD visible but demote it vs Notify Me */
.aya-event-layout-v2 .aya-ctaSecondary--muted {
  opacity: 0.72;
  font-weight: 700;
  gap: 8px;
  flex-wrap: wrap;
  cursor: default;
}

.aya-event-layout-v2 .aya-ctaSecondary__hint {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.45);
}

/* Desktop/tablet: Notify Me form in the hero primary action slot */
.aya-event-layout-v2 .aya-heroTicketAlert__card {
  border: 1px solid var(--aya-border);
  border-radius: 16px;
  background: #fff;
  padding: 16px 16px 14px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.04);
}

.aya-event-layout-v2 .aya-heroTicketAlert__card .aya-ticket-alert-signup h3 {
  font-size: 1.15rem;
  font-weight: 800;
  margin: 0 0 0.35rem;
}

.aya-event-layout-v2 .aya-heroTicketAlert__card .form-group {
  margin-bottom: 0.75rem;
}

.aya-event-layout-v2 .aya-media {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--aya-border);
  box-shadow: 0 10px 24px rgba(0,0,0,0.08);
  position: relative;
}

.aya-event-layout-v2 .aya-media img {
  width: 100%;
  height: auto;
  display: block;
}

.aya-event-layout-v2 .aya-dateBadge {
  position: absolute;
  top: 14px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.01em;
  font-weight: 800;
  color: rgba(0,0,0,0.84);
  background: #fff;
  box-shadow: 0 8px 18px rgba(0,0,0,0.14);
}

.aya-event-layout-v2 .aya-dateBadge__dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #16a34a;
  box-shadow: 0 0 0 3px rgba(22,163,74,0.18);
  flex: 0 0 auto;
}

.aya-event-layout-v2 .aya-countdown {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 900;
  color: var(--aya-text);
  border: 1px solid var(--aya-border);
  background: rgba(0,0,0,0.02);
  white-space: nowrap;
}

/* Hero Card Actions - Integrated Share and Embed buttons */
.aya-event-layout-v2 .aya-heroCardActions {
  padding-top: 16px;
  border-top: 1px solid var(--aya-border);
}

.aya-event-layout-v2 .aya-card-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 12px;
  text-decoration: none;
  color: var(--aya-muted);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.01em;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  background: rgba(0,0,0,0.02);
}

.aya-event-layout-v2 .aya-card-action:hover {
  color: var(--aya-text);
  background: rgba(0,0,0,0.04);
  border-color: rgba(0,0,0,0.08);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.aya-event-layout-v2 .aya-card-action__icon {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.04);
  color: var(--aya-muted);
  transition: all 0.2s ease;
}

.aya-event-layout-v2 .aya-card-action:hover .aya-card-action__icon {
  background: var(--aya-brand);
  color: #fff;
}

.aya-event-layout-v2 .aya-card-action__text {
  white-space: nowrap;
}

/* Mobile Card Actions - Integrated into mobile card */
.aya-event-layout-v2 .aya-mobile-card-actions {
  border-top: 1px solid rgba(0,0,0,0.06);
}

.aya-event-layout-v2 .aya-mobile-actions-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: nowrap;
}

.aya-event-layout-v2 .aya-mobile-actions-row.has-connect {
  justify-content: space-between;
}

.aya-event-layout-v2 .aya-mobile-actions-end {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  flex: 0 0 auto;
}

.aya-event-layout-v2 .aya-connectStrip--row {
  box-shadow: none;
  margin: 0;
  min-width: 0;
  flex: 1 1 auto;
  padding: 4px 8px;
  flex-wrap: nowrap;
}

.aya-event-layout-v2 .aya-connectStrip--row .aya-connectIcons {
  flex-wrap: nowrap;
  overflow-x: auto;
  max-width: 100%;
}

.aya-event-layout-v2 .aya-mobile-card-action {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  border-radius: 12px;
  text-decoration: none;
  color: var(--aya-muted);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.01em;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  background: rgba(255,255,255,0.8);
}

.aya-event-layout-v2 .aya-mobile-card-action:hover {
  color: var(--aya-text);
  background: rgba(255,255,255,1);
  border-color: rgba(0,0,0,0.08);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.aya-event-layout-v2 .aya-mobile-card-action__icon {
  width: 24px;
  height: 24px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.04);
  color: var(--aya-muted);
  transition: all 0.2s ease;
}

.aya-event-layout-v2 .aya-mobile-card-action:hover .aya-mobile-card-action__icon {
  background: var(--aya-brand);
  color: #fff;
}

.aya-event-layout-v2 .aya-mobile-card-action__text {
  white-space: nowrap;
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 0.08em;
}

/* Desktop specific adjustments */
@media (min-width: 768px) {
  .aya-event-layout-v2 .aya-heroCardActions {
    margin-top: 20px;
  }

  .aya-event-layout-v2 .aya-card-action {
    padding: 10px 14px;
    font-size: 14px;
  }

  .aya-event-layout-v2 .aya-card-action__icon {
    width: 20px;
    height: 20px;
  }
}

/* Mobile specific adjustments */
@media (max-width: 767.98px) {
  .aya-event-layout-v2 .aya-mobile-card-actions {
    margin-top: 16px;
  }

  .aya-event-layout-v2 .aya-mobile-card-action {
    padding: 10px 14px;
  }
}

/* Ticket alert success/error toast — mobile: above sticky; desktop: top-center (hard to miss) */
.aya-ticket-alert-toast {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(96px + env(safe-area-inset-bottom, 0px));
  z-index: 2147483000;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.aya-ticket-alert-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.aya-ticket-alert-toast__inner {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 14px 14px 16px;
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
  font-size: 14px;
  line-height: 1.4;
  font-weight: 600;
}

.aya-ticket-alert-toast.is-success .aya-ticket-alert-toast__inner {
  background: #0f7a3f;
  color: #fff;
}

.aya-ticket-alert-toast.is-error .aya-ticket-alert-toast__inner {
  background: #b42318;
  color: #fff;
}

.aya-ticket-alert-toast__msg {
  flex: 1;
  min-width: 0;
}

.aya-ticket-alert-toast__close {
  flex-shrink: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 22px;
  line-height: 1;
  padding: 0 2px;
  opacity: 0.85;
  cursor: pointer;
}

.aya-ticket-alert-toast__close:active {
  opacity: 1;
}

.aya-v2-sticky-cta__btn.is-done,
.aya-v2-sticky-cta__btn:disabled.is-done {
  opacity: 0.85;
  background: #0f7a3f;
  box-shadow: none;
}

.aya-ticket-alert-signup .alert {
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 1rem;
}

/* Desktop in-place success (form is replaced so users can't miss confirmation) */
.aya-ticket-alert-success {
  text-align: center;
  padding: 18px 14px;
  border-radius: 14px;
  background: #ecfdf5;
  border: 1px solid #bbf7d0;
  color: #065f46;
}

.aya-ticket-alert-success__icon {
  font-size: 28px;
  line-height: 1;
  margin-bottom: 8px;
  color: #0f7a3f;
}

.aya-ticket-alert-success__title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #065f46;
}

.aya-ticket-alert-success__msg {
  font-size: 14px;
  line-height: 1.45;
  color: #047857;
  font-weight: 600;
}

.aya-ticket-alert-signup.is-success .aya-ticket-alert-signup__intro,
.aya-ticket-alert-signup.is-success form.js-ticket-alert-form {
  display: none !important;
}

@media (min-width: 768px) {
  .aya-ticket-alert-toast {
    left: 50%;
    right: auto;
    top: 96px;
    bottom: auto;
    width: min(480px, calc(100vw - 48px));
    max-width: 480px;
    transform: translateX(-50%) translateY(-12px);
  }

  .aya-ticket-alert-toast.is-visible {
    transform: translateX(-50%) translateY(0);
  }
}

/* Mobile event pages: the legal footer sits against the content.
   Sticky Get Tickets clearance belongs under the legal line. Leaving it
   above the footer paints a gray band on the page background. */
@media (max-width: 767.98px) {
  body.aya-page-event .aya-event-layout-v2 {
    background: var(--aya-surface);
  }

  body.aya-page-event .aya-event-layout-v2 .aya-v2-sticky-cta-spacer {
    height: 0;
  }

  body.aya-page-event .aya-event-layout-v2:has(.aya-v2-sticky-cta) + footer.section-footer-v2.event-page.footer--purchase-flow {
    padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px));
  }
}

/* =========================================================
   Mockup-aligned components (info / ticket / USSD / about)
   ========================================================= */

.aya-event-layout-v2 .aya-statusPills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.aya-event-layout-v2 .aya-statusPill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: #ececec;
  color: rgba(0,0,0,0.72);
  font-size: 12px;
  font-weight: 700;
}

.aya-event-layout-v2 .aya-statusPill--soon {
  background: rgba(22,163,74,0.12);
  color: var(--aya-soon);
}

.aya-event-layout-v2 .aya-statusPill__dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: currentColor;
}

.aya-event-layout-v2 .aya-hostedBy {
  margin: 0;
  color: rgba(0,0,0,0.62);
  font-size: 14px;
  font-weight: 600;
}

.aya-event-layout-v2 .aya-hostedBy a,
.aya-event-layout-v2 .aya-hostedBy span {
  color: rgba(0,0,0,0.88);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.aya-event-layout-v2 .aya-hostedBy a:hover {
  color: var(--aya-brand);
}

.aya-event-layout-v2 .aya-infoCard,
.aya-event-layout-v2 .aya-ticketCard,
.aya-event-layout-v2 .aya-ussdCard {
  border: 1px solid var(--aya-border);
  border-radius: 16px;
  background: var(--aya-card);
}

.aya-event-layout-v2 .aya-infoCard__row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 14px;
}

.aya-event-layout-v2 .aya-infoCard__row + .aya-infoCard__row {
  border-top: 1px solid var(--aya-border);
}

.aya-event-layout-v2 .aya-infoCard__icon {
  width: 22px;
  flex: 0 0 auto;
  color: rgba(0,0,0,0.55);
  font-size: 18px;
  line-height: 1.2;
  margin-top: 1px;
}

.aya-event-layout-v2 .aya-infoCard__body {
  min-width: 0;
  flex: 1;
}

.aya-event-layout-v2 .aya-infoCard__primary {
  color: rgba(0,0,0,0.88);
  font-weight: 800;
  font-size: 14px;
  line-height: 1.35;
}

.aya-event-layout-v2 .aya-infoCard__secondary {
  margin-top: 2px;
  color: rgba(0,0,0,0.52);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}

.aya-event-layout-v2 .aya-infoCard__sep {
  margin: 0 4px;
  color: rgba(0,0,0,0.35);
}

.aya-event-layout-v2 .aya-infoCard__soon {
  margin-top: 4px;
  color: var(--aya-soon);
  font-size: 13px;
  font-weight: 700;
}

.aya-event-layout-v2 .aya-infoCard__action {
  flex: 0 0 auto;
  color: var(--aya-brand);
  font-size: 13px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
  margin-top: 2px;
}

.aya-event-layout-v2 .aya-infoCard__inlineLink {
  color: inherit;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.aya-event-layout-v2 .aya-infoCard__chevron {
  color: rgba(0,0,0,0.35);
  font-size: 18px;
  line-height: 1;
  margin-top: 2px;
  text-decoration: none;
}

.aya-event-layout-v2 .aya-ticketCard {
  padding: 14px;
  container-type: inline-size;
  container-name: aya-ticket;
}

.aya-event-layout-v2 .aya-ticketCard__priceRow {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.aya-event-layout-v2 .aya-ticketCard__priceLabel {
  color: rgba(0,0,0,0.55);
  font-size: 14px;
  font-weight: 700;
}

.aya-event-layout-v2 .aya-ticketCard__priceValue {
  color: rgba(0,0,0,0.92);
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1;
}

.aya-event-layout-v2 .aya-ticketCard__actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.aya-event-layout-v2 .aya-ticketCard__cta {
  width: 100%;
}

.aya-event-layout-v2 .aya-ticketCard__statusBlock {
  margin-bottom: 12px;
}

.aya-event-layout-v2 .aya-ticketCard__pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.aya-event-layout-v2 .aya-ticketCard__pill--muted {
  background: rgba(0, 0, 0, 0.06);
  color: rgba(0, 0, 0, 0.62);
}

.aya-event-layout-v2 .aya-ticketCard__statusHint {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.45;
  color: rgba(0, 0, 0, 0.55);
}

.aya-event-layout-v2 .aya-v2-sticky-cta--unavailable .aya-v2-sticky-cta__btn {
  background: rgba(0, 0, 0, 0.22);
  box-shadow: none;
  cursor: not-allowed;
  opacity: 1;
}

/* PNotify top bar: Phosphor pages skip FA5 glyph icons (see _plugin-styles.scss when theme is rebuilt). */
body.aya-page-event .ui-pnotify.stack-bar-top .ui-pnotify-icon,
body.aya-public-type .ui-pnotify.stack-bar-top .ui-pnotify-icon {
  display: none !important;
}

body.aya-page-event .ui-pnotify.stack-bar-top.ui-pnotify-with-icon .ui-pnotify-text,
body.aya-public-type .ui-pnotify.stack-bar-top.ui-pnotify-with-icon .ui-pnotify-text {
  margin-left: 0 !important;
}

.aya-event-layout-v2 .aya-ussdStrip__text--short {
  display: none;
}

.aya-event-layout-v2 .aya-ussdStrip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #f3f3f3;
}

.aya-event-layout-v2 .aya-ussdStrip__icon {
  color: rgba(0,0,0,0.55);
  font-size: 18px;
  flex: 0 0 auto;
}

.aya-event-layout-v2 .aya-ussdStrip__text {
  flex: 1;
  min-width: 0;
  color: rgba(0,0,0,0.72);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
}

.aya-event-layout-v2 .aya-ussdStrip__btn,
.aya-event-layout-v2 .aya-ussdCard__btn {
  flex: 0 0 auto;
  border: 1px solid var(--aya-border);
  border-radius: 10px;
  background: #fff;
  color: rgba(0,0,0,0.78);
  font-size: 13px;
  font-weight: 800;
  min-height: 34px;
  padding: 0 12px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Wide ticket card: Get tickets and USSD share one row. Narrow card stacks them. */
@container aya-ticket (min-width: 460px) {
  .aya-event-layout-v2 .aya-ticketCard__actions {
    flex-direction: row;
    align-items: stretch;
    gap: 10px;
  }

  .aya-event-layout-v2 .aya-ticketCard__actions .aya-ticketCard__cta {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
  }

  .aya-event-layout-v2 .aya-ticketCard__actions .aya-ussdStrip {
    flex: 0 1 auto;
    width: auto;
    max-width: 58%;
    min-width: 0;
    min-height: 48px;
    border-radius: 14px;
    padding: 6px 8px 6px 12px;
  }

  .aya-event-layout-v2 .aya-ticketCard__actions .aya-ussdStrip__text--full {
    display: none;
  }

  .aya-event-layout-v2 .aya-ticketCard__actions .aya-ussdStrip__text--short {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .aya-event-layout-v2 .aya-ticketCard__actions .aya-ussdStrip:only-child .aya-ussdStrip__text--full {
    display: block;
  }

  .aya-event-layout-v2 .aya-ticketCard__actions .aya-ussdStrip:only-child .aya-ussdStrip__text--short {
    display: none;
  }
}

.aya-event-layout-v2 .aya-ussdCard {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
}

.aya-event-layout-v2 .aya-ussdCard__icon {
  color: rgba(0,0,0,0.55);
  font-size: 18px;
  flex: 0 0 auto;
}

.aya-event-layout-v2 .aya-ussdCard__text {
  flex: 1;
  min-width: 0;
  color: rgba(0,0,0,0.78);
  font-size: 14px;
  font-weight: 700;
}

.aya-event-layout-v2 .aya-aboutBlock .aya-sectionTitle {
  font-size: 18px;
}

.aya-event-layout-v2 .aya-aboutDetails__summary {
  list-style: none;
  cursor: pointer;
  display: block;
}

.aya-event-layout-v2 .aya-aboutDetails__summary::-webkit-details-marker {
  display: none;
}

.aya-event-layout-v2 .aya-aboutDetails__preview,
.aya-event-layout-v2 .aya-aboutDetails__body {
  color: rgba(0,0,0,0.62);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.65;
}

.aya-event-layout-v2 .aya-aboutDetails__more {
  display: inline;
  color: var(--aya-brand);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 2px;
  margin-left: 4px;
}

.aya-event-layout-v2 details.aya-aboutDetails[open] .aya-aboutDetails__preview,
.aya-event-layout-v2 details.aya-aboutDetails[open] .aya-aboutDetails__more {
  display: none;
}

.aya-event-layout-v2 .aya-actionPair {
  display: flex;
  gap: 10px;
}

.aya-event-layout-v2 .aya-actionPair__btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid var(--aya-border);
  background: #fff;
  color: rgba(0,0,0,0.78);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.aya-event-layout-v2 .aya-actionPair__btn:hover {
  color: rgba(0,0,0,0.92);
  border-color: rgba(0,0,0,0.18);
}

.aya-event-layout-v2 .aya-mobileMore {
  background: var(--aya-surface);
  padding-top: 4px;
}

/* Sticky bar: stack "From" above price like mockup */
.aya-event-layout-v2.aya-event-v2 .aya-v2-sticky-cta__meta {
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.aya-event-layout-v2.aya-event-v2 .aya-v2-sticky-cta__metaSmall {
  font-size: 11px;
  font-weight: 700;
  color: rgba(0,0,0,0.48);
}

.aya-event-layout-v2.aya-event-v2 .aya-v2-sticky-cta__metaTitle {
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.aya-event-layout-v2.aya-event-v2 .aya-v2-sticky-cta__btn {
  border-radius: 14px;
  background: var(--aya-brand);
  box-shadow: 0 8px 16px rgba(195,7,63,0.22);
  min-width: 148px;
}

@media (min-width: 992px) {
  .aya-event-layout-v2 .aya-media {
    position: sticky;
    top: 88px;
  }
}
