/* MS Timetable: product page and home card. Loaded with ?v= from the pages that use it. */

.product-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.product-card.tint-mint {
  background: linear-gradient(165deg, #eef8f4 0%, #e3f3ec 55%, #d8ede3 100%);
}

.product-card .visual img.tt-card-shot {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  border: 1px solid rgba(11, 34, 64, 0.1);
  box-shadow: 0 8px 22px rgba(11, 34, 64, 0.1);
}

.tt-shot {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(11, 34, 64, 0.1);
  box-shadow: 0 18px 40px rgba(11, 34, 64, 0.12);
  background: var(--white);
}

.tt-shot img {
  display: block;
  width: 100%;
  height: auto;
}

.sac-hero .tt-shot {
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.28);
}

.tt-feature {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2.5rem;
  align-items: center;
  margin-top: 3rem;
}

.tt-feature.flip > :first-child {
  order: 2;
}

.tt-feature h3 {
  font-size: 1.5rem;
  margin: 0.25rem 0 0.6rem;
}

.tt-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  counter-reset: tt;
  padding: 0;
  list-style: none;
}

.tt-steps li {
  background: var(--white);
  border: 1px solid rgba(11, 34, 64, 0.08);
  border-radius: 14px;
  padding: 1.1rem 1.15rem;
}

.tt-steps li::before {
  counter-increment: tt;
  content: counter(tt);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 50%;
  background: var(--teal-soft);
  color: var(--teal);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.tt-steps strong {
  display: block;
  margin-bottom: 0.25rem;
}

.tt-steps span {
  font-size: 0.92rem;
  color: var(--muted);
}

.tt-price-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.25rem;
}

.tt-price {
  background: var(--white);
  border: 1px solid rgba(11, 34, 64, 0.1);
  border-radius: 16px;
  padding: 1.5rem;
}

.tt-price.is-main {
  border: 2px solid var(--teal);
}

.tt-price .plan-amount {
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0.4rem 0 0.75rem;
}

.tt-price .plan-amount small {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
}

@media (max-width: 1100px) {
  .product-grid-3 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .product-grid-3,
  .tt-feature,
  .tt-price-grid {
    grid-template-columns: 1fr;
  }

  .tt-feature.flip > :first-child {
    order: 0;
  }

  .tt-steps {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .tt-steps {
    grid-template-columns: 1fr;
  }
}
