﻿.event-banner-container {
  display: flex;
  justify-content: center;
  align-items: center;
  align-self: stretch;
  width: 100vw;
  height: auto;
  padding: 96px 64px;
}
.event-banner-container img {
  display: flex;
  justify-content: center;
  align-items: center;
  align-self: stretch;
  width: 70vw;
  height: auto;
  border-radius: 64px;
}
.event-info-container {
  display: grid;
  grid-template-columns: 60% 40%;
  padding: 32px 0px;
  max-width: 70vw;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}
.info-left {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  flex-direction: column;
  align-self: stretch;
}
.major-details {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  align-self: stretch;
  flex-direction: column;
}
.major-details .header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  align-self: stretch;
  margin-bottom: 16px;
}
.major-details .header p {
  align-self: stretch;
  color: #101828;
  font-family: "MavenPro-Semibold";
  font-size: 30px;
  font-style: normal;
  font-weight: 600;
  line-height: 38px;
}
.major-details .location,
.major-details .time {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  align-self: stretch;
  flex-direction: row;
  gap: 6px;
}
.major-details .location img,
.major-details .time img {
  width: 22px;
  height: auto;
}
.major-details .location p,
.major-details .time p {
  align-self: stretch;
  color: #344054;
  font-family: "MavenPro-Regular";
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 38px;
}
.other-details {
  margin-top: 32px;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  align-self: stretch;
  flex-direction: column;
}
.other-details .header,
.speakers .header,
.geo-location .header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  align-self: stretch;
  margin-bottom: 16px;
}
.other-details .header p,
.speakers .header p,
.geo-location .header p {
  align-self: stretch;
  color: #101828;
  font-family: "MavenPro-Semibold";
  font-size: 28px;
  font-style: normal;
  font-weight: 600;
  line-height: 38px;
}
.other-details .desc {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  align-self: stretch;
}
.other-details .desc p {
  align-self: stretch;
  color: #475467;
  font-family: "MavenPro-Regular";
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: 28px;
}
.separator {
  display: flex;
  align-self: stretch;
  margin: 16px 0;
  padding: 1px 0;
  background: rgba(25, 22, 19, 0.1);
}
.speakers {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  align-self: stretch;
  flex-direction: column;
}
.speakers .cards {
  display: grid;
  grid-template-columns: auto auto;
  gap: 16px;
}
.speakers .card {
  display: flex;
  gap: 16px;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  border-radius: 16px;
  border: 1px solid #eaecf0;
  background: #fff;
}
.speakers .card img {
  max-width: 72px;
}
.speakers .card p {
  color: #101828;
  font-family: "MavenPro-Semibold";
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
}

.info-right {
  position: relative;
  min-height: 1px;
}
.info-right .reserve-box {
  width: 410px;
  padding: 18px;
  border-radius: 14px;
  border: 1px solid #eaecf0;
  background: #fff;
  box-shadow: 0px 12px 30px rgba(16, 24, 40, 0.1);

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.info-right .reserve-box .left {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.info-right .reserve-box .left p:first-child {
  color: #101828;
  font-family: "MavenPro-Semibold";
  font-size: 20px;
  line-height: 26px;
}

.info-right .reserve-box .left p:last-child {
  color: #475467;
  font-family: "MavenPro-Regular";
  font-size: 14px;
  line-height: 20px;
}
.info-right .reserve-box .reserve button {
  border: 0;
  cursor: pointer;

  padding: 12px 16px;
  border-radius: 12px;

  background: #101828;
  color: #fff;

  font-family: "MavenPro-Semibold";
  font-size: 14px;
  line-height: 18px;
  text-transform: capitalize;

  transition:
    transform 0.15s ease,
    opacity 0.15s ease;
}

.info-right .reserve-box .reserve button:hover {
  transform: translateY(-1px);
  opacity: 0.95;
}

.info-right .reserve-box .reserve button:active {
  transform: translateY(0px);
  opacity: 0.9;
}

.event-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}
.event-modal.is-open {
  display: block;
}

.event-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(16, 24, 40, 0.55);
}

.event-modal__dialog {
  position: relative;
  width: min(980px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  overflow: auto;

  margin: 15vh auto;
  padding: 18px;

  border-radius: 18px;
  background: #fff;
  border: 1px solid #eaecf0;
  box-shadow: 0px 24px 60px rgba(16, 24, 40, 0.18);
}

.event-modal__close {
  position: absolute;
  top: 18px;
  right: 14px;
  width: 36px;
  height: 36px;

  border: 1px solid #eaecf0;
  background: #fff;
  border-radius: 10px;

  cursor: pointer;
  font-size: 22px;
  line-height: 1;
  color: #101828;
  z-index: 99;
}

.event-modal__top {
  padding-bottom: 14px;
  border-bottom: 1px solid #eaecf0;
}

.event-modal__title {
  color: #101828;
  font-family: "MavenPro-Semibold";
  font-size: 22px;
  line-height: 28px;
}

.event-modal__meta {
  margin-top: 6px;
  color: #475467;
  font-family: "MavenPro-Regular";
  font-size: 14px;
  line-height: 20px;
}

.event-modal__content {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
  padding-top: 16px;
}

.event-modal__left,
.event-modal__right {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ticket-box {
  border: 1px solid #eaecf0;
  border-radius: 16px;
  padding: 16px;
  background: #fff;
}

.ticket-box__row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.label {
  color: #475467;
  font-family: "MavenPro-Regular";
  font-size: 12px;
  line-height: 16px;
}

.value {
  margin-top: 6px;
  color: #101828;
  font-family: "MavenPro-Semibold";
  font-size: 18px;
  line-height: 24px;
}

.qty__controls {
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 10px;

  padding: 8px 10px;
  border-radius: 12px;
}

.qty__btn {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid #eaecf0;
  background: #fff;

  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  color: #101828;
}

.qty__value {
  min-width: 18px;
  text-align: center;
  color: #101828;
  font-family: "MavenPro-Semibold";
  font-size: 14px;
}

.ticket-details {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #eaecf0;
}

.ticket-details__title {
  color: #101828;
  font-family: "MavenPro-Semibold";
  font-size: 14px;
  line-height: 20px;
}

.ticket-details__text {
  margin-top: 6px;
  color: #475467;
  font-family: "MavenPro-Regular";
  font-size: 14px;
  line-height: 22px;
}

.pay-btn {
  border: 0;
  cursor: pointer;
  padding: 14px 16px;
  border-radius: 14px;

  background: #101828;
  color: #fff;

  font-family: "MavenPro-Semibold";
  font-size: 14px;
  line-height: 18px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  transition:
    transform 0.15s ease,
    opacity 0.15s ease;
}

.pay-btn:hover {
  transform: translateY(-1px);
  opacity: 0.95;
}
.pay-btn:active {
  transform: translateY(0px);
  opacity: 0.9;
}

.event-modal__banner {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #eaecf0;
  background: #f2f4f7;
}

.event-modal__banner img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}

.checkout-box {
  border: 1px solid #eaecf0;
  border-radius: 16px;
  padding: 16px;
  background: #fff;
}

.checkout-box__title {
  color: #101828;
  font-family: "MavenPro-Semibold";
  font-size: 14px;
  line-height: 20px;
  margin-bottom: 10px;
}

.checkout-row {
  display: flex;
  justify-content: space-between;
  align-items: center;

  color: #475467;
  font-family: "MavenPro-Regular";
  font-size: 14px;
  line-height: 22px;

  padding: 6px 0;
}

.checkout-sep {
  height: 1px;
  background: #eaecf0;
  margin: 10px 0;
}

.checkout-row.total {
  color: #101828;
  font-family: "MavenPro-Semibold";
}
.promo {
  margin-top: 12px;
}

.promo__toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;

  color: #475467;
  font-family: "MavenPro-Regular";
  font-size: 14px;
  line-height: 20px;
}

.promo__toggle input {
  width: 16px;
  height: 16px;
}

.promo__input {
  margin-top: 10px;
  display: flex;
  gap: 10px;
  align-items: center;
}

.promo__input input {
  flex: 1;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid #eaecf0;

  font-family: "MavenPro-Regular";
  font-size: 14px;
  line-height: 18px;
  color: #101828;
}

.promo__input input:focus {
  outline: none;
  border-color: #d0d5dd;
}

.promo__apply {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #eaecf0;
  background: #fff;

  cursor: pointer;
  font-family: "MavenPro-Semibold";
  font-size: 14px;
  line-height: 18px;
  color: #101828;
}

.promo__hint {
  margin-top: 8px;
  color: #b42318;
  font-family: "MavenPro-Regular";
  font-size: 13px;
  line-height: 18px;
}

.checkout-row.discount {
  color: #027a48; /* green-ish, optional */
}

.left-flow {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
}

.left-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition:
    transform 0.35s ease,
    opacity 0.25s ease;
  will-change: transform, opacity;
}

.left-panel:not(.is-active) {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-14px);
}

.left-panel.is-active {
  position: relative;
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

/* Billing form box */
.billing-box {
  border: 1px solid #eaecf0;
  border-radius: 16px;
  padding: 16px;
  background: #fff;

  display: flex;
  flex-direction: column;
  gap: 12px;
}

.billing-title {
  color: #101828;
  font-family: "MavenPro-Semibold";
  font-size: 16px;
  line-height: 22px;
}

.billing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field label {
  color: #475467;
  font-family: "MavenPro-Regular";
  font-size: 12px;
  line-height: 16px;
}

.field input {
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid #eaecf0;

  font-family: "MavenPro-Regular";
  font-size: 14px;
  line-height: 18px;
  color: #101828;
}

.field input:focus {
  outline: none;
  border-color: #d0d5dd;
}

.field--full {
  grid-column: 1 / -1;
}

/* Back button */
.back-btn {
  border: 1px solid #eaecf0;
  background: #fff;
  color: #101828;
  cursor: pointer;

  padding: 12px 16px;
  border-radius: 14px;

  font-family: "MavenPro-Semibold";
  font-size: 14px;
  line-height: 18px;
}
.checkout-box {
  border-radius: 16px;
  overflow: hidden;
}

.checkout-head {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;

  padding: 12px 14px;
  background: #fff;
  border: 1px solid #eaecf0;
  border-radius: 16px;
  cursor: pointer;
  text-align: left;
  display: none;
}

.checkout-head__left {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.checkout-box__title {
  margin: 0;
  font-family: "MavenPro-Semibold";
  font-size: 14px;
  color: #101828;
}

.checkout-head__meta {
  margin: 0;
  font-family: "MavenPro-Regular";
  font-size: 12px;
  color: #667085;
}

.checkout-head__right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.checkout-head__total {
  font-family: "MavenPro-Semibold";
  font-size: 14px;
  color: #101828;
  white-space: nowrap;
}

.checkout-head__chev {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 240ms ease;
}
.checkout-head__chev::before {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid #101828;
  border-bottom: 2px solid #101828;
  transform: rotate(45deg);
  display: block;
}

.checkout-body {
  display: block;
}

#eventModal .event-modal__dialog {
  position: relative;
  overflow: hidden;
}

#eventModal .event-mini-head {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #fff;
  padding: 14px 14px 10px;
  border-bottom: 1px solid #eaecf0;
}
#eventModal .event-mini-head__title {
  margin: 0;
  font-family: "MavenPro-Semibold";
  font-size: 16px;
  line-height: 22px;
  color: #101828;
}
#eventModal .event-mini-head__meta {
  margin: 4px 0 0;
  font-family: "MavenPro-Regular";
  font-size: 13px;
  line-height: 18px;
  color: #667085;
}

.geo-location {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  align-self: stretch;
  flex-direction: column;
}
.location-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
}
.location-details .text-box {
  display: flex;
  justify-content: flex-start;
  align-self: stretch;
  align-items: flex-start;
  flex-direction: column;
  gap: 16px;
  padding: 8px 24px 8px 0;
}
.location-details .text-box .address,
.location-details .text-box .pathing {
  display: flex;
  justify-content: flex-start;
  align-self: stretch;
  align-items: flex-start;
  flex-direction: column;
  gap: 4px;
}
.location-details .text-box .address p:first-child,
.pathing p:first-child {
  align-self: stretch;
  color: #101828;
  font-family: "MavenPro-Semibold";
  font-size: 18px;
  font-style: normal;
  font-weight: 600;
}
.location-details .text-box .address p:not(:first-child) {
  align-self: stretch;
  color: #475467;
  font-family: "MavenPro-Regular";
  font-size: 16px;
  font-style: normal;
}
.how-to-get-there {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;

  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  grid-template-columns: 1fr 1fr;

  gap: 12px;
}

.how-to-get-there li {
  display: block;
}

.how-to-get-there a {
  position: relative;
  z-index: 0;
  overflow: hidden;

  display: flex;
  align-items: center;
  gap: 10px;
justify-content: center;
  padding: 12px 14px;
  border-radius: 14px;

  background: #fff;

  text-decoration: none;
  font-family: "MavenPro-Semibold";
  font-size: 14px;
  color: #101828;

  transition: transform 150ms ease;
}
.how-to-get-there a::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;

  background: linear-gradient(90deg, #006ba6, #00b18a, #006ba6);
  background-size: 200% 100%;
  background-position: 0 0;

  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;

  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;

  z-index: -1;
}
.how-to-get-there a:hover::before {
  opacity: 1;
  animation: borderSweep 2s linear infinite;
}

@keyframes borderSweep {
  to {
    background-position: 200% 0;
  }
}

.how-to-get-there a:active {
  transform: translateY(0);
  box-shadow: none;
}

.how-to-get-there a img {
  width: 24px;
  height: 24px;
}

.static-map {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #eaecf0;
  background: #fff;
}

.static-map__img {
  display: block;
  width: 100%;
  height: 100%;

  filter: blur(3px);
  transform: scale(1);
}

.static-map__btn {
  position: absolute;
  top: 51%;
  left: 49%;
  transform: translate(-50%, -50%);
  border: 1px solid #eaecf0;
  background: #fff;
  color: #101828;
  border-radius: 12px;
  padding: 10px 14px;
  font-family: "MavenPro-Semibold";
  font-size: 14px;
  line-height: 18px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
  gap: 6px;
}
.static-map__btn img {
  width: 24px;
  height: 24px;
}

.static-map__live {
  position: absolute;
  inset: 0;
  background: #fff;
}

.static-map__live iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

@media (max-width: 900px) {
  .billing-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 542px) {
  #eventModal .event-modal__dialog {
    position: relative;
    overflow: hidden;
  }

  #eventModal .event-modal__content {
    overflow: hidden;
  }

  #eventModal #checkoutBody {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .event-banner-container {
    padding: 116px 32px 32px 32px;
  }

  .event-banner-container img {
    width: 100vw;
    border-radius: 0px;
  }
  .event-info-container {
    grid-template-columns: 100%;
    padding: 32px 16px;
    max-width: 100vw;
    margin-left: unset;
    margin-right: unset;
  }
  .info-right .reserve-box {
    border-radius: 0px;
  }
  .event-modal__dialog {
    position: relative;
    /* width: min(980px, calc(100vw - 32px)); */
    width: 100vw;

    /* max-height: calc(100vh - 32px); */
    max-height: 100vh;
    height: 100vh;
    overflow: auto;

    margin: 0;
    padding: 18px;

    border-radius: 0px;
    background: #fff;
    border: 1px solid #eaecf0;
    box-shadow: 0px 24px 60px rgba(16, 24, 40, 0.18);
  }
  .event-modal__content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    padding-top: 16px;
  }

  .event-modal__banner {
    display: none;
  }
  .speakers .cards {
    grid-template-columns: auto;
    gap: 16px;
  }
  #eventModal.checkout-open .checkout-box,
  #eventModal .checkout-box {
    -webkit-overflow-scrolling: touch;
  }

  #eventModal #checkoutBox {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;

    background: transparent;
    border: 0;
    padding: 0;
    overflow: visible;
  }

  #eventModal #checkoutBox .checkout-head {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;

    border: 0;
    border-top: 1px solid #eaecf0;
    border-radius: 0;
    padding: 14px 16px;
    background: #fff;

    box-shadow: 0 -10px 24px rgba(0, 0, 0, 0.08);
  }

  #eventModal #checkoutBox .checkout-body {
    display: block;
    background: #fff;
    padding: 16px 16px 16px 16px;
    box-shadow: 0 -16px 44px rgba(0, 0, 0, 0.18);

    overflow-y: auto;
    max-height: min(60vh, 520px);

    transform: translate3d(0, 100vh, 0);
    opacity: 1;
    pointer-events: none;

    transition: transform 320ms cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: transform;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;

    position: absolute;
    left: 0;
    right: 0;
    bottom: 100%;
  }

  #eventModal.checkout-open #checkoutBox.is-sheet-open .checkout-body {
    transform: translate3d(0, 0, 0);
    pointer-events: auto;
  }

  #eventModal.checkout-open #checkoutBox.is-sheet-open .checkout-head__chev {
    transform: rotate(180deg);
  }
  #eventModal .event-modal__left {
    opacity: 1;
    transition: opacity 320ms cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: opacity;
  }
  #eventModal.checkout-open .event-modal__left {
    opacity: 0.4;
    pointer-events: none;
  }
  #eventModal.checkout-open .event-modal__right > :not(#checkoutBox) {
    opacity: 0;
    pointer-events: none;
  }
  .location-details {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }
  .location-details .text-box {
    padding: 8px 0px 8px 0;
  }
  .how-to-get-there {
    width: 100%;
  }

}
