/**
 * Frontend Home - Hero web, product cards, modern theme
 */

/* === Hero: remove legacy background, tight spacing === */
.hero-section {
  background-image: none !important;
  min-height: unset !important;
}

/* === Spider-Web: visible strings === */
.hero-web {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-web svg {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0.5;
}

.hero-web line {
  stroke: rgba(255, 255, 255, 0.5);
  stroke-width: 1.5;
}

.hero-web ellipse {
  stroke: rgba(255, 255, 255, 0.35);
  stroke-width: 1.2;
}

/* === Product Card - Modern glass style === */
.product-card-modern {
  background: #fff;
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 1.25rem;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.product-card-modern:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.04);
  border-color: rgba(148, 163, 184, 0.25);
}

.product-card-modern .product-image-wrap {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
}

.product-card-modern .product-image-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.06) 100%);
  pointer-events: none;
}

.product-card-modern .product-image-wrap img {
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card-modern:hover .product-image-wrap img {
  transform: scale(1.08);
}

.product-card-modern .product-card-badge {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.product-card-modern .product-card-price {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-radius: 0.75rem;
}
