.happy-sessoes-wrap {
  --happy-primary: #1D3557;
  --happy-accent: #E9B949;
  --happy-cols: 2;
  --happy-cols-tablet: 2;
  --happy-cols-mobile: 1;
  width: 100%;
  color: #172133;
  font-family: inherit;
}

.happy-sessoes-heading { margin-bottom: 22px; }
.happy-sessoes-heading h2 {
  margin: 0 0 6px;
  color: var(--happy-primary);
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.025em;
}
.happy-sessoes-heading p { margin: 0; color: #697386; font-size: 15px; }

/* Banner único — respeita o 16:9 completo, sem crop */
.happy-event-banner {
  width: 100%;
  margin: 0 0 22px;
  overflow: hidden;
  border-radius: 24px;
  background: #f3f5f8;
  border: 1px solid #e8ebf0;
  box-shadow: 0 12px 36px rgba(25, 39, 66, .08);
}
.happy-event-banner-image {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
}

.happy-date-tabs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 2px 2px 13px;
  margin-bottom: 16px;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}
.happy-date-tab {
  appearance: none;
  border: 1px solid #e2e7ee;
  background: #fff;
  color: var(--happy-primary);
  border-radius: 15px;
  min-width: 94px;
  padding: 11px 14px;
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
  box-shadow: 0 4px 18px rgba(24, 42, 70, .05);
  text-align: center;
}
.happy-date-tab:hover { transform: translateY(-1px); border-color: rgba(29, 53, 87, .25); }
.happy-date-tab.is-active {
  background: var(--happy-primary);
  color: #fff;
  border-color: var(--happy-primary);
  box-shadow: 0 9px 25px rgba(29, 53, 87, .22);
}
.happy-date-tab-weekday { display: block; font-size: 11px; font-weight: 850; letter-spacing: .08em; }
.happy-date-tab-day { display: block; font-size: 14px; font-weight: 750; margin-top: 2px; }
.happy-session-group.is-hidden { display: none; }

/* LISTA MODERNA */
.happy-session-list {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.happy-session-row {
  display: grid;
  grid-template-columns: minmax(155px, 1.2fr) minmax(125px, .8fr) minmax(170px, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 15px 16px 15px 20px;
  background: #fff;
  border: 1px solid #e7ebf0;
  border-radius: 18px;
  box-shadow: 0 7px 24px rgba(25, 39, 66, .055);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  position: relative;
  overflow: hidden;
}
.happy-session-row::before {
  content: "";
  position: absolute;
  left: 0;
  top: 13px;
  bottom: 13px;
  width: 4px;
  border-radius: 0 6px 6px 0;
  background: var(--happy-accent);
  opacity: .95;
}
.happy-session-row:hover {
  transform: translateY(-2px);
  border-color: #dce2ea;
  box-shadow: 0 12px 30px rgba(25, 39, 66, .09);
}
.happy-session-row.is-sold-out { opacity: .72; }
.happy-row-date-time { min-width: 0; }
.happy-row-time {
  display: block;
  color: var(--happy-primary);
  font-size: clamp(28px, 3vw, 36px);
  line-height: .95;
  font-weight: 900;
  letter-spacing: -0.04em;
}
.happy-row-time-text { font-size: 23px; }
.happy-row-date {
  display: block;
  margin-top: 6px;
  color: #7a8492;
  font-size: 11px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: .075em;
  text-transform: uppercase;
}
.happy-row-price small,
.happy-session-price small {
  display: block;
  color: #8a93a2;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 3px;
  font-weight: 700;
}
.happy-row-price strong,
.happy-session-price strong {
  display: block;
  color: var(--happy-primary);
  font-size: 18px;
  line-height: 1.1;
  font-weight: 900;
}
.happy-row-price del,
.happy-session-price del { display: none; }
.happy-row-price ins,
.happy-session-price ins { text-decoration: none; }
.happy-row-status { min-width: 0; }
.happy-row-action { display: flex; justify-content: flex-end; }

/* STATUS */
.happy-availability {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 8px 10px;
  font-size: 10px;
  font-weight: 850;
  line-height: 1;
  white-space: nowrap;
}
.happy-availability.is-available { background: #ecf8f1; color: #158149; }
.happy-availability.is-low { background: #fff5e5; color: #a76000; }
.happy-availability.is-hot { background: #fff0ed; color: #c6432a; }
.happy-availability.is-out { background: #f1f2f4; color: #697386; }

/* BOTÃO */
.happy-session-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 8px 9px 8px 16px;
  border-radius: 14px;
  background: var(--happy-primary);
  color: #fff !important;
  text-decoration: none !important;
  font-size: 13px;
  font-weight: 850;
  line-height: 1;
  white-space: nowrap;
  transition: transform .2s ease, filter .2s ease, box-shadow .2s ease;
  box-shadow: 0 7px 18px rgba(29, 53, 87, .16);
}
.happy-session-button:hover { transform: translateY(-1px); filter: brightness(1.06); box-shadow: 0 10px 22px rgba(29, 53, 87, .22); }
.happy-button-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 31px;
  height: 31px;
  border-radius: 10px;
  background: rgba(255,255,255,.14);
  font-size: 18px;
  line-height: 1;
  transition: transform .2s ease;
}
.happy-session-button:hover .happy-button-arrow { transform: translateX(2px); }
.happy-session-button.is-disabled { background: #aeb5bf; box-shadow: none; cursor: not-allowed; padding-right: 16px; }

/* CARDS */
.happy-session-grid {
  display: grid;
  grid-template-columns: repeat(var(--happy-cols), minmax(0, 1fr));
  gap: 18px;
}
.happy-session-card {
  background: #fff;
  border: 1px solid #e8ebf0;
  border-radius: 21px;
  overflow: hidden;
  box-shadow: 0 10px 32px rgba(25, 39, 66, .07);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.happy-session-card:hover { transform: translateY(-3px); box-shadow: 0 15px 38px rgba(25, 39, 66, .12); border-color: #dce2ea; }
.happy-session-card.is-sold-out { opacity: .76; }
.happy-session-content { padding: 18px 19px 19px; }
.happy-session-topline { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.happy-session-timeblock { min-width: 0; }
.happy-session-time {
  display: block;
  color: var(--happy-primary);
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.03em;
}
.happy-session-date {
  display: block;
  margin-top: 5px;
  font-size: 11px;
  line-height: 1.2;
  color: #7b8493;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: .08em;
}
.happy-session-title { margin: 15px 0 17px; color: #25334a; font-size: 16px; line-height: 1.28; font-weight: 800; }
.happy-session-footer { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; }
.happy-session-price { min-width: 105px; }

/* Cards com imagem: mantém a arte 16:9 inteira, sem recortar informação */
.happy-session-image {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #f4f6f8;
}
.happy-session-image img,
.happy-session-image-file {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform .35s ease;
}
.happy-image-card:hover .happy-session-image img { transform: scale(1.012); }

.happy-sessoes-message { padding: 18px 20px; border-radius: 14px; background: #f5f7fa; color: #536174; border: 1px solid #e5e9ef; }

@media (max-width: 1024px) {
  .happy-session-grid { grid-template-columns: repeat(var(--happy-cols-tablet), minmax(0, 1fr)); }
  .happy-session-row { grid-template-columns: minmax(135px, 1fr) minmax(110px, .75fr) minmax(140px, .9fr) auto; gap: 12px; }
  .happy-session-button { font-size: 12px; }
}

@media (max-width: 767px) {
  .happy-event-banner { border-radius: 18px; margin-bottom: 18px; }
  .happy-date-tabs { margin-bottom: 12px; }
  .happy-session-grid { grid-template-columns: repeat(var(--happy-cols-mobile), minmax(0, 1fr)); gap: 14px; }
  .happy-session-card { border-radius: 18px; }
  .happy-session-content { padding: 15px; }

  .happy-session-row {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "datetime status"
      "price price"
      "action action";
    gap: 12px 10px;
    padding: 15px;
    border-radius: 17px;
  }
  .happy-session-row::before { top: 12px; bottom: 12px; }
  .happy-row-date-time { grid-area: datetime; padding-left: 4px; }
  .happy-row-price { grid-area: price; padding: 11px 4px 0; border-top: 1px solid #edf0f4; }
  .happy-row-status { grid-area: status; text-align: right; }
  .happy-row-action { grid-area: action; }
  .happy-row-action .happy-session-button { width: 100%; }
  .happy-row-time { font-size: 31px; }

  .happy-session-footer { align-items: center; }
  .happy-session-button { min-height: 46px; }
  .happy-availability { font-size: 9px; padding: 7px 8px; }
}

@media (max-width: 430px) {
  .happy-date-tab { min-width: 86px; padding: 10px 12px; }
  .happy-session-topline { align-items: center; }
  .happy-session-time { font-size: 28px; }
  .happy-session-title { font-size: 15px; }
  .happy-session-footer { gap: 9px; }
  .happy-session-price strong { font-size: 16px; }
  .happy-session-button { font-size: 12px; }
  .happy-button-arrow { width: 29px; height: 29px; }
}
