/* Homepage only. */

/* Hero: one central element. */
.ips-hero { display: grid; gap: 32px; padding-top: 16px; }
@media (min-width: 768px) {
  .ips-hero { grid-template-columns: 3fr 2fr; gap: 48px; align-items: center; padding-top: 40px; }
}
.ips-hero__text { display: flex; flex-direction: column; gap: 16px; }
.ips-hero__text .ips-lead { margin-top: 4px; }
.ips-hero__text .ips-actions { margin-top: 12px; }
@media (min-width: 640px) {
  .ips-hero__text { gap: 20px; }
  .ips-hero__text .ips-lead { margin-top: 8px; }
}
.ips-hero__media { -webkit-mask-image: radial-gradient(75% 75% at 50% 50%, #000 70%, transparent); mask-image: radial-gradient(75% 75% at 50% 50%, #000 70%, transparent); }
@media (max-width: 767px) { .ips-hero__media { max-width: 420px; } }

/* Badge with a thin moving glint on its border. */
.ips-badge { position: relative; display: inline-flex; width: fit-content; padding: 1px; overflow: hidden; border-radius: 999px; }
.ips-badge::before {
  content: ""; position: absolute; top: 50%; left: 50%; width: 300px; height: 20px; border-radius: 999px;
  background: linear-gradient(90deg, transparent, transparent, #f97316);
  transform: translate(-50%, -50%); animation: ips-spin 4s linear infinite;
}
.ips-badge span {
  position: relative; z-index: 1; padding: 7px 16px; border-radius: 999px;
  font-size: 13px; font-weight: 500; background: #fafafa; color: #262626;
}
html.dark .ips-badge span { background: #1c1917; color: #f5f5f5; }
@keyframes ips-spin { to { transform: translate(-50%, -50%) rotate(360deg); } }

/* Style cards. */
.ips-style-card { height: 100%; overflow: hidden; }
.ips-style-card .ips-media { border-radius: 0; }
.ips-style-card__body { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px 16px; }

/* Teasers. */
.ips-teaser { display: flex; flex-direction: column; overflow: hidden; }
.ips-teaser .ips-media { border-radius: 0; }
.ips-teaser__body { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 20px; flex: 1; }
.ips-teaser__body .ips-btn { margin-top: auto; }
.ips-teaser__price { display: flex; flex-direction: column; gap: 2px; padding: 24px 20px 0; }
.ips-teaser__price .ips-price { font-size: 40px; }

/* Reviews. */
.ips-review { padding: 22px; }
.ips-review p { color: var(--ips-lead); }
.ips-review footer { display: flex; flex-direction: column; margin-top: 14px; font-size: 14px; }
.ips-review footer span { color: var(--ips-muted); font-size: 13px; }
.ips-review-cta { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 32px 20px; text-align: center; color: var(--ips-lead); }
.ips-review-cta p { max-width: 32rem; color: var(--ips-lead); }

@media (prefers-reduced-motion: reduce) { .ips-badge::before { animation: none; } }
