.home-page {
  --home-accent: #D81921;
  --home-ink: #0f172a;
  --home-muted: #64748b;
  --home-scroll-offset: 9.5rem;
  --home-banner-ratio: 21 / 9;
  --home-ad-max-height: 16rem;
  --home-section-banner-max-height: 14rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding-bottom: 1rem;
}

.home-hero--premium {
  position: relative;
  overflow: hidden;
  border-radius: 1.75rem;
  color: #fff;
  background:
    radial-gradient(circle at 85% 15%, rgba(255, 255, 255, 0.12), transparent 40%),
    radial-gradient(circle at 10% 90%, rgba(0, 0, 0, 0.15), transparent 45%),
    linear-gradient(135deg, #9f1218 0%, #D81921 42%, #ef4444 100%);
  box-shadow: 0 20px 50px rgba(216, 25, 33, 0.22);
}

.home-hero__glow {
  position: absolute;
  border-radius: 9999px;
  filter: blur(40px);
  pointer-events: none;
}

.home-hero__glow--left {
  width: 12rem;
  height: 12rem;
  left: -3rem;
  top: -2rem;
  background: rgba(255, 255, 255, 0.14);
}

.home-hero__glow--right {
  width: 10rem;
  height: 10rem;
  right: -2rem;
  bottom: -2rem;
  background: rgba(0, 0, 0, 0.18);
}

.home-hero__inner {
  position: relative;
  display: grid;
  gap: 1.5rem;
  padding: 1.75rem 1.35rem;
}

@media (min-width: 1024px) {
  .home-hero__inner {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    padding: 2.5rem 2rem;
    gap: 2rem;
  }
}

.home-hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.75rem;
  font-size: 0.8125rem;
  font-weight: 800;
  opacity: 0.95;
}

.home-hero__kicker-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.2);
}

.home-hero__title {
  margin: 0;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
}

.home-hero__lead {
  margin: 0.85rem 0 0;
  max-width: 36rem;
  font-size: 0.9375rem;
  line-height: 1.75;
  opacity: 0.94;
}

.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.35rem;
}

.home-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  height: 2.75rem;
  padding: 0 1.1rem;
  border-radius: 0.85rem;
  font-size: 0.875rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.home-btn:hover {
  transform: translateY(-1px);
}

.home-btn--light {
  background: #fff;
  color: var(--home-accent);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
}

.home-btn--ghost {
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.home-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.14);
}

.home-btn--primary {
  background: var(--home-accent);
  color: #fff;
  box-shadow: 0 8px 18px rgba(216, 25, 33, 0.28);
}

.home-btn--ghost-dark {
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  background: transparent;
}

.home-hero__panel {
  padding: 1rem;
  border-radius: 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.home-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
}

.home-stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  padding: 0.65rem 0.35rem;
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.6875rem;
  opacity: 0.95;
}

.home-stat-card .material-symbols-outlined {
  font-size: 1.15rem;
}

.home-stat-card strong {
  font-size: 1rem;
  font-weight: 800;
}

.home-trust-list {
  list-style: none;
  margin: 0.85rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.home-trust-list li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.75rem;
  font-weight: 700;
}

.home-trust-list .material-symbols-outlined {
  font-size: 1rem;
  opacity: 0.9;
}

.home-ad-strip {
  margin-top: -0.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.home-ad-frame {
  position: relative;
  overflow: hidden;
  border-radius: 1.25rem;
  border: 1px solid #e5e7eb;
  background: #f3f4f6;
  aspect-ratio: var(--home-banner-ratio);
  width: min(100%, calc(var(--home-ad-max-height) * 21 / 9));
  max-height: var(--home-ad-max-height);
  margin-inline: auto;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.home-ad-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 0;
  transition: opacity 0.65s ease;
  pointer-events: none;
}

.home-ad-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.home-ad-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.25rem;
  height: 2.25rem;
  border: none;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--home-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.15);
  z-index: 2;
}

.home-ad-nav--prev { right: 0.65rem; }
.home-ad-nav--next { left: 0.65rem; }

.home-ad-dots {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 0.65rem;
}

.home-ad-dot {
  width: 0.45rem;
  height: 0.45rem;
  border: none;
  border-radius: 9999px;
  background: #d1d5db;
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}

.home-ad-dot.is-active {
  width: 1.35rem;
  background: var(--home-accent);
}

.home-section-nav--sticky {
  position: sticky;
  top: 4.5rem;
  z-index: 20;
  display: flex;
  gap: 0.45rem;
  overflow-x: auto;
  padding: 0.45rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #e5e7eb;
  backdrop-filter: blur(8px);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
  scrollbar-width: thin;
}

.home-section-nav__link {
  flex-shrink: 0;
  height: 2.25rem;
  padding: 0 0.9rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--home-muted);
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.home-section-nav__link:hover {
  background: #f8fafc;
  color: var(--home-accent);
}

.home-sections {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.home-section {
  border-radius: 1.35rem;
  border: 1px solid #e5e7eb;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
  scroll-margin-top: calc(var(--home-scroll-offset, 9.5rem));
}

.home-section--offer {
  border-color: rgba(216, 25, 33, 0.22);
  box-shadow: 0 10px 28px rgba(216, 25, 33, 0.08);
}

.home-section__banner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: var(--home-section-banner-max-height);
  max-height: var(--home-section-banner-max-height);
  overflow: hidden;
  background: #f3f4f6;
}

.home-section__banner img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: var(--home-section-banner-max-height);
  aspect-ratio: var(--home-banner-ratio);
  object-fit: contain;
  object-position: center center;
  margin-inline: auto;
}

.home-section__body {
  padding: 1.1rem 1.15rem 1.2rem;
}

.home-section__header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.home-section__badge {
  display: inline-flex;
  margin-bottom: 0.35rem;
  padding: 0.15rem 0.55rem;
  border-radius: 9999px;
  background: rgba(216, 25, 33, 0.1);
  color: var(--home-accent);
  font-size: 0.625rem;
  font-weight: 800;
}

.home-section__title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--home-ink);
}

.home-section__subtitle {
  margin: 0.25rem 0 0;
  font-size: 0.8125rem;
  color: var(--home-muted);
  line-height: 1.5;
}

.home-section__more {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  height: 2.35rem;
  padding: 0 0.85rem;
  border-radius: 0.75rem;
  border: 1px solid #e5e7eb;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--home-accent);
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.home-section__more:hover {
  border-color: rgba(216, 25, 33, 0.35);
  background: rgba(216, 25, 33, 0.04);
}

.home-section__empty {
  padding: 2rem 1rem;
  border-radius: 0.85rem;
  border: 1px dashed #d1d5db;
  background: #f9fafb;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--home-muted);
}

.home-section--empty {
  text-align: center;
  padding: 2.5rem 1.5rem;
  color: var(--home-muted);
}

.home-strip {
  display: flex;
  gap: 0.85rem;
  overflow-x: auto;
  padding-bottom: 0.35rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--home-accent) #f3f4f6;
}

.home-strip::-webkit-scrollbar {
  height: 7px;
}

.home-strip::-webkit-scrollbar-thumb {
  background: var(--home-accent);
  border-radius: 9999px;
}

.home-product-card {
  flex: 0 0 14.5rem;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  overflow: hidden;
  background: #fff;
  text-decoration: none;
  color: inherit;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.home-product-card:hover {
  transform: translateY(-3px);
  border-color: rgba(216, 25, 33, 0.25);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.1);
}

.home-product-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 0.75rem 0.85rem 0.9rem;
}

.home-product-card__media--preview {
  position: relative;
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  text-align: inherit;
  cursor: zoom-in;
}

.home-product-card__media--preview:hover {
  background: #f8fafc;
}

.home-product-card__zoom-hint {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 1.75rem;
  font-size: 0.875rem;
  color: #fff;
  background: linear-gradient(transparent, rgba(15, 23, 42, 0.55));
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.home-product-card:hover .home-product-card__zoom-hint,
.home-product-card__media--preview:focus-visible .home-product-card__zoom-hint {
  opacity: 1;
}

.home-product-card__body {
  padding: 0.75rem 0.8rem 0.9rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.35rem;
}

.home-product-card__name {
  font-size: 0.8125rem;
  font-weight: 800;
  line-height: 1.35;
  color: var(--home-ink);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  min-height: 2.2rem;
}

.home-cta {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem 1.25rem;
  border-radius: 1.35rem;
  background: linear-gradient(135deg, #111827 0%, #1f2937 55%, #374151 100%);
  color: #fff;
}

@media (min-width: 768px) {
  .home-cta {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 1.75rem 1.5rem;
  }
}

.home-cta h2 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
}

.home-cta p {
  margin: 0.4rem 0 0;
  font-size: 0.875rem;
  color: #d1d5db;
  max-width: 32rem;
}

.home-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.home-ad-dot:focus-visible,
.home-ad-nav:focus-visible,
.home-section-nav__link:focus-visible {
  outline: 2px solid var(--home-accent);
  outline-offset: 2px;
}

@media (max-width: 640px) {
  .home-page {
    gap: 1.35rem;
  }

  .home-hero--premium {
    border-radius: 1.25rem;
  }

  .home-ad-frame {
    max-height: 11rem;
  }

  .home-page {
    --home-section-banner-max-height: 10rem;
  }

  .home-section-nav--sticky {
    top: 3.75rem;
    border-radius: 1rem;
  }
}
