.ta-recently-viewed-page {
  padding: 48px 0 72px;
}

.ta-recently-viewed-page__header {
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 2px solid #2c8d7a;
}

.ta-recently-viewed-page__eyebrow {
  margin: 0 0 6px;
  color: #2c8d7a;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ta-recently-viewed-page__header h1 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: #27282c;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 700;
  line-height: 1.15;
}

.ta-recently-viewed-page__header h1 i {
  color: #2c8d7a;
  font-size: 0.85em;
}

.ta-recently-viewed-page__intro {
  margin: 10px 0 0;
  color: #6b7280;
  font-size: 15px;
}

.ta-recently-viewed-grid ul.products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
}

.ta-recently-viewed-grid ul.products::before,
.ta-recently-viewed-grid ul.products::after {
  display: none;
}

.ta-recently-viewed-grid ul.products > li.product {
  width: auto !important;
  margin: 0 !important;
}

.ta-recently-viewed-empty {
  max-width: 620px;
  margin: 24px auto 0;
  padding: 48px 24px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
  text-align: center;
}

.ta-recently-viewed-empty > i {
  color: #2c8d7a;
  font-size: 34px;
}

.ta-recently-viewed-empty h2 {
  margin: 16px 0 8px;
  color: #27282c;
  font-size: 22px;
}

.ta-recently-viewed-empty p {
  margin: 0 0 22px;
  color: #6b7280;
}

.ta-recently-viewed-empty__button {
  display: inline-flex;
  padding: 10px 18px;
  border-radius: 7px;
  background: #2c8d7a;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 991px) {
  .ta-recently-viewed-grid ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 575px) {
  .ta-recently-viewed-page {
    padding: 32px 0 48px;
  }

  .ta-recently-viewed-grid ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
}
