.tmc-product-image-host {
  position: relative;
  background: #fff !important;
}

.tmc-product-image {
  position: absolute;
  inset: 0;
  z-index: 4;
  width: 100%;
  height: 100%;
  padding: .75rem;
  background: #fff;
  object-fit: contain;
}

.tmc-discovery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.tmc-product-showcase__heading > p {
  margin: 0;
  color: #65a30d;
  font-size: .75rem;
  font-weight: 950;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.tmc-product-showcase {
  padding: clamp(3.5rem, 7vw, 6rem) 1rem;
  border-top: 1px solid #e4e4e7;
  color: #09090b;
}

.tmc-product-showcase--light { background: #fff; }
.tmc-product-showcase--muted { background: #f4f4f5; }

.tmc-product-showcase__inner {
  width: min(100%, 80rem);
  margin: 0 auto;
}

.tmc-product-showcase__heading {
  margin-bottom: 1.5rem;
}

.tmc-product-showcase__heading h2 {
  margin: .4rem 0 0;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1;
  letter-spacing: -.045em;
}

.tmc-product-showcase__heading > span {
  display: block;
  margin-top: .55rem;
  color: #71717a;
  font-size: .9rem;
}

.tmc-showcase-card {
  display: grid;
  grid-template-rows: auto 1fr;
  min-width: 0;
  height: 100%;
}

.tmc-showcase-card > div {
  display: flex;
  flex-direction: column;
}

.tmc-showcase-card > div > div:last-child {
  margin-top: auto;
}

.tmc-showcase-card__visual.is-fallback {
  display: block;
  background: linear-gradient(135deg, #d8b4fe, #8b5cf6 55%, #18181b);
}

.tmc-showcase-card__visual.is-novelty {
  background: linear-gradient(135deg, #d9f99d 0%, #22c55e 53%, #064e3b 100%);
}

.tmc-showcase-card__visual.is-best-seller {
  background: linear-gradient(135deg, #bfdbfe 0%, #3b82f6 53%, #172554 100%);
}

.tmc-card-fallback {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
}

.tmc-card-fallback__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 16% 12%, rgba(255, 255, 255, .72), transparent 40%);
  opacity: .6;
}

.tmc-card-fallback__ring {
  position: absolute;
  top: -4rem;
  right: -3rem;
  width: 12rem;
  height: 12rem;
  border: 1px solid rgba(255, 255, 255, .32);
  border-radius: 999px;
}

.tmc-card-fallback__icon {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  width: 4.8rem;
  height: 4.8rem;
  color: #fff;
  filter: drop-shadow(0 .35rem .6rem rgba(0, 0, 0, .12));
}

.tmc-card-fallback__copy {
  position: absolute;
  right: 1.25rem;
  bottom: 1.35rem;
  display: flex;
  max-width: 52%;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  color: #fff;
  text-shadow: 0 .2rem .5rem rgba(0, 0, 0, .18);
}

.tmc-card-fallback__copy small {
  margin-bottom: .45rem;
  font-size: .64rem;
  font-weight: 900;
  letter-spacing: .18em;
  line-height: 1.2;
  text-transform: uppercase;
}

.tmc-card-fallback__copy strong {
  font-size: 1.15rem;
  font-weight: 950;
  line-height: 1.16;
}

#novita .tmc-showcase-card:hover {
  border-color: #22c55e;
}

#best-seller .tmc-showcase-card:hover {
  border-color: #3b82f6;
}

.tmc-showcase-card__tags {
  display: flex;
  min-height: 1.8rem;
  margin-top: .45rem;
  gap: .35rem;
  overflow: hidden;
}

.tmc-showcase-card__tags span {
  display: block;
  max-width: 9rem;
  padding: .25rem .5rem;
  overflow: hidden;
  border: 1px solid #e4e4e7;
  border-radius: 999px;
  color: #52525b;
  background: #fafafa;
  font-size: .68rem;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tmc-discovery-grid .tmc-discovery-product {
  min-width: 0;
}

.tmc-catalog-hidden {
  display: none !important;
}

@media (max-width: 52rem) {
  .tmc-discovery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 36rem) {
  .tmc-discovery-grid { grid-template-columns: 1fr; }
}
