/* Home embed only. Keep the existing video link or reel dialog on its image. */
.lio-daily-offers[data-surface=home] .offer-card :is(.offer-video-link, .offer-reel-open) {
  grid-area: image;
  z-index: 1;
  align-self: end;
  justify-self: end;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  color: #710f31;
  box-shadow: 0 1px 5px #32142126;
  font-size: 0;
  justify-content: center;
}
.lio-daily-offers[data-surface=home] :is(.offer-video-link, .offer-reel-open)::before {
  content: "";
  border-block: 6px solid transparent;
  border-left: 10px solid currentColor;
}
.lio-daily-offers[data-surface=home] .offer-reel-open + .offer-video-link {
  display: none;
}

@media (max-width: 767px) {
  .lio-daily-offers[data-surface=home] .product-track {
    grid-auto-columns: calc((100% - 8px) / 2);
    gap: 8px;
  }
  .lio-daily-offers[data-surface=home] .offer-card {
    padding: 10px 8px;
    border-radius: 9px;
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas: "image image" "name name" "badge amount" "old old" "timer timer";
    grid-template-rows: auto auto minmax(28px, auto) 20px auto;
  }
  .lio-daily-offers[data-surface=home] .product-name {
    height: 3.6em;
    margin: 8px 0;
    font-size: 13px;
    line-height: 1.8;
  }
  .lio-daily-offers[data-surface=home] .discount {
    justify-self: start;
    align-self: center;
    font-size: 11px;
  }
  .lio-daily-offers[data-surface=home] .amount {
    flex-wrap: wrap;
    justify-content: end;
    align-content: center;
    gap: 2px;
    margin: 0;
    line-height: 1.4;
  }
  .lio-daily-offers[data-surface=home] .amount b { font-size: 13px; }
  .lio-daily-offers[data-surface=home] .amount small,
  .lio-daily-offers[data-surface=home] .original-price { font-size: 10px; }
  .lio-daily-offers[data-surface=home] .offer-card .offer-timer {
    display: flex !important; /* Overrides the existing home timer suppression. */
    grid-area: timer;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 3px;
    border-top: 1px solid #eee8eb;
    margin-top: 3px;
    padding-top: 4px;
  }
  .lio-daily-offers[data-surface=home] .offer-timer .countdown {
    font-size: 11px;
    letter-spacing: 0;
    font-variant-numeric: tabular-nums;
  }
  .lio-daily-offers[data-surface=home] .clock-label { font-size: 9px; }
}

