.single-speaker-img {
  width: min(100%, 430px);
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 10px;
  background: #151019;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.16);
}

.single-speaker-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  margin-bottom: 0;
}

@media (max-width: 991px) {
  .single-speaker-img {
    margin-right: auto;
    margin-left: auto;
  }
}

.speaker-profile {
  margin-bottom: 2rem;
}

/* Date selector styles */
.date-selector {
  margin-bottom: 2rem;
  overflow-x: auto;
}
.date-selector-inner {
  display: flex;
  gap: 10px;
  padding-bottom: 10px; /* For scrollbar */
}
.date-item {
  min-width: 60px;
  text-align: center;
  padding: 10px;
  border: 1px solid #eee;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0; /* Prevent shrinking */
}
.date-item:hover {
  border-color: var(--theme-button-color);
}
.date-item.active {
  border-color: var(--theme-button-color);
  background-color: var(--theme-button-color);
  color: #000;
}
.date-day {
  font-size: 1.5rem;
  font-weight: bold;
}
.date-weekday {
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-top: -5px;
}
.date-month {
  font-size: 0.9rem;
  margin-top: -3px;
}

/* Venues styles */
.venues-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.venue-card { /* Also used for services-container */
  background: #f8f8f8;
  border-radius: 8px;
  padding: 1.5rem;
}
.venue-name {
  margin-bottom: 0.5rem;
  font-weight: 600;
  font-size: 1.2rem;
}
.venue-address {
  color: #666;
  margin-bottom: 1.2rem;
  font-size: 0.95rem;
}
.sessions-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.session-time-btn {
  text-decoration: none;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 8px 12px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: all 0.2s;
  min-width: 85px;
  text-align: center;
}
.session-time-btn:hover {
  border-color: var(--theme-button-color);
  transform: translateY(-2px);
}
.session-time-btn .time {
  font-weight: 600;
  text-decoration: none;
  color: #444444;
  font-size: 1.1rem;
}
.session-time-btn .price {
  font-size: 0.8rem;
  color: #666;
}
.tag-3d, .tag-2d {
 position: relative;
}
.tag-3d::after, .tag-2d::after {
  content: "3D"; /* Default, can be overridden */
  background: var(--theme-button-color);
  color: #000;
  padding: 1px 4px;
  border-radius: 2px;
  font-size: 0.7rem;
  font-weight: 600;
  position: absolute;
  top: -8px; /* Adjust for better positioning */
  right: -8px; /* Adjust for better positioning */
}
.tag-2d::after {
  content: "2D";
  background: #9ce3ff;
}
.spinner-border {
  width: 3rem;
  height: 3rem;
  color: var(--theme-text-color);
}

/* Styles for Services and Products */
.related-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  margin-top: 2rem; /* Space from previous content */
  color: #333;
  border-bottom: 2px solid #fad03b;
  padding-bottom: 0.5rem;
  display: inline-block;
}

.services-container .service-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid #eee;
}
.services-container .service-item:last-child {
  border-bottom: none;
}
.service-info h4 {
  margin-bottom: 0.3rem;
  font-size: 1.1rem;
}
.service-info .object-name, .service-info .object-address {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 0.2rem;
}
.service-info .price {
  font-weight: bold;
  color: #111;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}
.product-card {
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 1rem;
  text-align: center;
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.product-image {
  width: 100%;
  height: 180px;
  object-fit: contain;
  margin-bottom: 1rem;
  border-radius: 4px;
}
.product-info h4 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  min-height: 2.5em; /* For 2 lines of text */
}
.product-info .price {
  font-weight: bold;
  color: #111;
  margin-bottom: 1rem;
}
.product-card button {
  width: 100%;
}
