/* ticket card container row */
.ticket-cards-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
 justify-content: center;
  padding-bottom: 50px;
  max-width: 1300px;
  margin: 0 auto;
}
/* 3 per row max; keep your card’s max width */
  .ticket-cards-container .ticket-option-card{
    flex:1 1 calc(33.333% - 30px);
    max-width:411px;
  }

  /* Center when there are exactly 2 or 3 cards and NO filter widget */
  .ticket-cards-container.pair,
  .ticket-cards-container.trio{
    justify-content:center;
  }

  /* When a filter widget is present → left align */
  .ticket-cards-container.has-filter{
    justify-content:flex-start;
  }
/* Card Container */
.ticket-option-card {
  width: 411px;
  height: auto;
  background: #FFF;
  border: 1px solid #E5E7EB;
  border-radius: 16px;
  box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* Featured Image or Featured Video */
.ticket-option-card .ticket-media img,
.ticket-option-card .ticket-media video {
  width: 409px;
  height: 185px;
  display: block;
  object-fit: cover;
  border-bottom: 1px solid #eee;
}

/* Image Sold Out Image Banner */
.ticket-option-card .ticket-sold-out-image-banner {
  position: absolute;
  top: 12px;
  right: -60px;
  width: 250px;
  height: 52px;
  background-color: #B00000;
  color: #FFF;
  font-size: 22px;
  font-weight: 700;
  transform: rotate(34.855deg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 47px 18px 69px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Content */
.ticket-option-card .ticket-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Tag Filters */
.ticket-option-card .ticket-tags {
  display: flex;
  gap: 9px;
  list-style: none;
  padding: 0;
  margin: 0;
  text-transform: capitalize;
  flex-wrap: wrap;
}

.ticket-option-card .ticket-tag {
  padding: 2px 10px;
  border-radius: 9999px;
  font-size: 10.2px;
  font-weight: 500;
}

.ticket-option-card .ticket-tag1 {
  background: #F3E8FF;
  color: #6B21A8;
}

.ticket-option-card .ticket-tag2 {
  background: #FEF3C7;
  color: #92400E;
}

.ticket-option-card .ticket-tag3 {
  background: #DBEAFE;
  color: #1E40AF;
}

.ticket-option-card .ticket-tag4 {
  background: #FFD86C;
  color: #896002;
}

.ticket-option-card .ticket-tag5 {
  background: #DCFCE7;
  color: #166534;
}

.ticket-option-card .ticket-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ticket-option-card .ticket-title {
  font-size: 18px;
  color: #111827;
  text-transform: capitalize;
  font-weight: 300;
}

/* Price Details */
.ticket-option-card .ticket-price-block {
  text-align: right;
}

.ticket-option-card .ticket-price-label,
.ticket-option-card .ticket-subtext {
  font-size: 10px;
  text-transform: uppercase;
}

.ticket-option-card .ticket-price-value {
  font-size: 18px;
  color: #111827;
  text-transform: uppercase;
}

.ticket-option-card .ticket-details.no-description-border {
  border-top: 1px dashed #E5E7EB;
  padding-top: 20px;
  margin-top: 5px;
}

.ticket-option-card .ticket-description {
  padding: 7px 0;
  border-top: 1px dashed #E5E7EB;
  font-size: 14px;
  line-height: 1.4;
}

/* CTA Buttons */
.ticket-option-card .ticket-cta-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
}

/* CTA Button Styles */
.ticket-option-card .ticket-cta-button {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 12px 25px;
  font-size: 14px;
  text-transform: capitalize;
  border-radius: 2px;
  text-decoration: none;
  width: 100%;
  transition: background 0.2s, color 0.2s, border 0.2s;
  cursor: pointer;
  font-weight: 700;
}

/* CTA Primary Buy Ticket Button */
.ticket-option-card .ticket-cta-button.ticket-cta-primary-buy-ticket {
  border: none;
}

.ticket-option-card .ticket-cta-button.ticket-cta-primary-buy-ticket:hover,
.ticket-option-card .ticket-cta-button.ticket-cta-primary:hover {
  background: #FFF;
  color: #000;
}

/* Arrow Icon for Primary CTA */
.ticket-option-card .ticket-cta-button.ticket-cta-primary-buy-ticket svg.svg-inline--fa.fa-arrow-right {
  width: 13.667px;
  height: 13.666px;
  padding-left: 5px;
}

.ticket-option-card .ticket-cta-button.ticket-cta-primary-buy-ticket svg.svg-inline--fa.fa-arrow-right:hover { 
  color: #000;
}

/* Row of Buttons (50/50 layout) */
.ticket-option-card .ticket-cta-row {
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

.ticket-option-card .ticket-cta-row .ticket-cta-button {
  flex: 1 1 50%;
}

/* Mobile styles */
@media (max-width: 768px) {
  .ticket-cards-container {
    flex-direction: column;
    align-items: center;
  }
  .ticket-option-card {
    width: 95%;
    height: 100%;
    margin: 0 auto;
  }

  .ticket-option-card .ticket-media img,
  .ticket-option-card .ticket-media video {
    width: 100%;
  }

  .ticket-option-card .ticket-details {
    transition: max-height 0.4s ease, opacity 0.3s ease;
  }

  .ticket-option-card.collapsed {
    height: auto;
  }
  .ticket-option-card button.toggle-details {
    display: flex;
    padding: 15px 0px;
    justify-content: center;
    align-items: center;
    gap: 5px;
    align-self: stretch;
    color: #000;
    background: #FFFFFF;
    text-align: center;
    font-family: Figtree;
    font-size: 10px;
    font-style: normal;
    font-weight: 700;
    line-height: 24px;
    text-transform: uppercase;
    border: none;
    margin-top: 8px;
  }
  .ticket-option-card .toggle-details svg.fa-chevron-up,
  .ticket-option-card .toggle-details svg.fa-chevron-down {
    width: 10px;
    height: 10px;
    color: #2563EB;
  }
  .ticket-option-card .ticket-cta-row.row-buttons-2 {
    display: flex;
    justify-content: space-between;
    gap: 10px;
  }
  
  .ticket-option-card .ticket-cta-row.row-buttons-2 .ticket-cta-button {
    flex: 1 1 0;
    max-width: 100%;
    padding: 0;
  }

}