/* Compact home redesign focused on conversion and recommended products. */
.index-main .hero-section {
  min-height: auto;
  padding: clamp(26px, 4vw, 42px) clamp(18px, 4vw, 42px) clamp(18px, 3vw, 26px);
  background:
    radial-gradient(circle at 92% 12%, rgba(254, 119, 0, 0.12), transparent 28%),
    linear-gradient(180deg, #fffaf6 0%, #ffffff 100%);
  color: #2b130b;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

.index-main .hero-section::before,
.index-main .hero-media,
.index-main .promo-banners-section,
.index-main .about-section,
.index-main .mission-vision-section,
.index-main .history-section {
  display: none !important;
}

.index-main .hero-content {
  position: relative;
  z-index: 1;
  max-width: 940px;
  margin: 0 auto;
  text-align: center;
}

.index-main .hero-badge {
  background: #ffffff;
  color: #6b1b00;
  border: 1px solid rgba(107, 27, 0, 0.14);
  box-shadow: 0 10px 26px rgba(107, 27, 0, 0.08);
}

.index-main .hero-section h1 {
  max-width: 980px;
  margin-inline: auto;
  color: #2b130b;
  text-shadow: none;
}

.index-main .hero-description {
  max-width: 760px;
  margin-inline: auto;
  color: #5f4a42;
  text-shadow: none;
}

.index-main .hero-section h1 {
  font-size: clamp(2rem, 3.8vw, 3.35rem);
  line-height: 1.04;
}

.index-main .hero-description {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
}

.index-main .hero-proof-strip,
.index-main .hero-payment-note {
  display: none !important;
}

.index-main .stats-grid {
  display: none !important;
}

.index-main .quick-buy-grid {
  display: none !important;
}

.home-recommended-section {
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(18px, 4vw, 34px) clamp(16px, 4vw, 24px);
}

.section-header.compact {
  max-width: 760px;
  margin: 0 auto clamp(24px, 4vw, 36px);
}

.section-header.compact h2 {
  font-size: clamp(1.45rem, 2.8vw, 2.65rem);
  line-height: 1.12;
}

.section-header.compact .section-description {
  font-size: 1rem;
}

.home-product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 20px);
}

.home-product-card {
  position: relative;
  display: grid;
  grid-template-rows: auto 150px auto auto;
  gap: 12px;
  min-height: 100%;
  padding: 14px;
  text-decoration: none;
  color: #2b130b;
  background: #ffffff;
  border: 1px solid rgba(107, 27, 0, 0.12);
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(107, 27, 0, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.home-product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(254, 119, 0, 0.45);
  box-shadow: 0 20px 38px rgba(107, 27, 0, 0.13);
}

.home-product-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
  background: #fff4ea;
}

.home-product-tag {
  justify-self: start;
  padding: 5px 9px;
  color: #6b1b00;
  background: #fff4ea;
  border: 1px solid rgba(254, 119, 0, 0.22);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
}

.home-product-card strong {
  display: block;
  margin-bottom: 5px;
  font-family: var(--idx-font-display);
  font-size: 1rem;
  line-height: 1.2;
}

.home-product-card small {
  display: block;
  color: #67554d;
  font-size: 0.86rem;
  line-height: 1.35;
}

.home-product-price {
  align-self: end;
  color: #fe7700;
  font-weight: 900;
  font-size: 1rem;
}

.home-category-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: clamp(22px, 4vw, 34px);
}

.home-category-card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px 12px;
  align-items: center;
  padding: 16px;
  text-decoration: none;
  color: #2b130b;
  background: #fffaf6;
  border: 1px solid rgba(107, 27, 0, 0.12);
  border-radius: 12px;
}

.home-category-card i {
  grid-row: span 2;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: #6b1b00;
  border-radius: 10px;
}

.home-category-card strong {
  font-family: var(--idx-font-display);
  font-size: 0.95rem;
}

.home-category-card span {
  color: #67554d;
  font-size: 0.82rem;
  line-height: 1.35;
}

@media (max-width: 980px) {
  .home-product-grid,
  .home-category-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .index-main .hero-section {
    padding-top: 28px;
  }

  .index-main .hero-buttons {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .home-recommended-section {
    padding-inline: 12px;
  }

  .home-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .home-product-card {
    grid-template-rows: auto 118px auto auto;
    padding: 10px;
  }

  .home-product-card img {
    height: 118px;
  }

  .home-product-card strong {
    font-size: 0.88rem;
  }

  .home-product-card small {
    font-size: 0.74rem;
  }

  .home-product-price {
    font-size: 0.88rem;
  }

  .home-category-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .home-category-card {
    grid-template-columns: 1fr;
    align-content: start;
    padding: 12px;
  }

  .home-category-card i {
    grid-row: auto;
    width: 38px;
    height: 38px;
  }
}
