@import url('./main.css');
/* Hero: Split Design */
.hero {
  background: var(--dark-bg);
  color: white;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
  z-index: 10px;
}
.hero-image {
  position: absolute;
  right: -10%;
  top: 50%;
  transform: translateY(-50%);
  width: 60%;
  opacity: 0.4;
  pointer-events: none;
}
.hero h1 {
  font-weight: 800;
  font-size: 56px;
  line-height: 1;
  margin-bottom: 25px;
}
.hero p {
  color: #888;
  font-size: 18px;
  margin-bottom: 40px;
  max-width: 500px;
}

/* Fitment Finder: Floating Box */
.fitment-finder {
  background: #fff;
  padding: 10px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  color: var(--text-main);
  display: flex;
  flex-wrap: wrap;
}
.finder-group {
  flex: 1;
  padding: 10px;
  min-width: 150px;
  border-right: 1px solid #eee;
}
.finder-group:last-child {
  border-right: none;
}
.finder-group label {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  color: #999;
  margin-bottom: 5px;
}
.finder-select {
  border: none;
  width: 100%;
  font-weight: 600;
  font-size: 14px;
  outline: none;
  appearance: none;
  background: transparent;
  cursor: pointer;
}

/* Modern Product Cards */
.product-card {
  background: #fff;
  border-radius: 16px;
  padding: 25px;
  margin-bottom: 40px;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  border: 1px solid transparent;
}
.product-card:hover {
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
  border-color: #f0f0f0;
  transform: translateY(-10px);
}
.product-visual {
  background: #fcfcfc;
  height: 220px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  overflow: hidden;
}
.product-visual img {
  max-width: 80%;
  transition: transform 0.5s;
}
.product-card:hover .product-visual img {
  transform: scale(1.1);
}

.product-meta .tag {
  font-size: 10px;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 1px;
}
.product-meta h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 8px 0;
  height: 44px;
  overflow: hidden;
}
.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
  border-top: 1px solid #f5f5f5;
  padding-top: 15px;
}
.price {
  font-size: 20px;
  font-weight: 800;
}

.btn-add {
  background: var(--dark-bg);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  transition: all 0.3s;
}
.btn-add:hover {
  background: var(--primary);
  transform: rotate(90deg);
}

/* Responsive Fixes */
@media (max-width: 768px) {
  .hero-image {
    display: none;
  }
  .hero h1 {
    font-size: 38px;
  }
  .fitment-finder {
    flex-direction: column;
  }
  .finder-group {
    border-right: none;
    border-bottom: 1px solid #eee;
  }
}
