/**
 * Apple Spare Market — Homepage hero
 */

.asm-hero {
  background: linear-gradient(135deg, var(--asm-accent-soft) 0%, var(--asm-accent-soft-2) 100%);
  padding: var(--asm-space-12) var(--asm-space-5);
}

.asm-hero__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: var(--asm-space-8);
  align-items: center;
}

.asm-hero__content {
  /* text side */
}

.asm-hero__badge {
  display: inline-block;
  background: var(--asm-accent);
  color: #ffffff;
  padding: 5px var(--asm-space-3);
  border-radius: var(--asm-radius-sm);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.asm-hero__heading {
  font-size: 38px;
  font-weight: 700;
  color: var(--asm-ink);
  line-height: 1.05;
  margin: var(--asm-space-3) 0 var(--asm-space-3);
  letter-spacing: -0.03em;
}
.asm-hero__heading--accent {
  color: var(--asm-accent);
}

.asm-hero__lede {
  font-size: 15px;
  color: #6b4a30;
  line-height: 1.55;
  margin: 0 0 var(--asm-space-5);
  max-width: 480px;
}

.asm-hero__actions {
  display: flex;
  gap: var(--asm-space-2);
  flex-wrap: wrap;
}

.asm-hero__social-proof {
  display: flex;
  gap: var(--asm-space-4);
  margin-top: var(--asm-space-4);
  font-size: 12px;
  color: #6b4a30;
}
.asm-hero__social-proof svg {
  width: 13px;
  height: 13px;
  vertical-align: -2px;
  margin-right: var(--asm-space-1);
}

/* Featured product card on the right */
.asm-hero__product {
  background: var(--asm-surface);
  border-radius: var(--asm-radius-xl);
  padding: var(--asm-space-4);
  border: 1px solid #f0d4b8;
  position: relative;
  box-shadow: var(--asm-shadow-md);
}

.asm-hero__product-badge {
  position: absolute;
  top: -10px;
  left: var(--asm-space-3);
  background: var(--asm-accent);
  color: #ffffff;
  padding: 4px var(--asm-space-2);
  border-radius: var(--asm-radius-sm);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: var(--asm-space-1);
}

.asm-hero__product-image {
  background: var(--asm-surface-2);
  height: 140px;
  border-radius: var(--asm-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--asm-space-3);
  position: relative;
  overflow: hidden;
}
.asm-hero__product-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.asm-hero__product-image-meta {
  position: absolute;
  bottom: var(--asm-space-1);
  right: var(--asm-space-1);
  background: rgba(10, 22, 40, 0.75);
  color: #ffffff;
  padding: 2px var(--asm-space-2);
  border-radius: var(--asm-radius-xs);
  font-size: 10px;
}

.asm-hero__product-meta {
  font-size: 11px;
  color: var(--asm-text-muted);
  margin-bottom: 2px;
}

.asm-hero__product-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--asm-ink);
  margin: 0 0 var(--asm-space-2);
  line-height: 1.3;
}

.asm-hero__product-price {
  display: flex;
  align-items: baseline;
  gap: var(--asm-space-2);
  margin-bottom: var(--asm-space-2);
}
.asm-hero__product-price-current {
  font-size: 22px;
  font-weight: 700;
  color: var(--asm-accent);
}
.asm-hero__product-price-old {
  font-size: 13px;
  color: var(--asm-text-dim);
  text-decoration: line-through;
}
.asm-hero__product-price-save {
  background: var(--asm-accent-tag-bg);
  color: var(--asm-accent-dark);
  padding: 2px var(--asm-space-2);
  border-radius: var(--asm-radius-xs);
  font-size: 10px;
  font-weight: 600;
  margin-left: auto;
}

/* Responsive */
@media (max-width: 768px) {
  .asm-hero {
    padding: var(--asm-space-8) var(--asm-space-4);
  }
  .asm-hero__inner {
    grid-template-columns: 1fr;
    gap: var(--asm-space-6);
  }
  .asm-hero__heading {
    font-size: 30px;
  }
}
@media (min-width: 1024px) {
  .asm-hero__heading {
    font-size: 48px;
  }
}
