/* Fix Product Overlay Button - Better Placement as Link */

/* COMPLETELY HIDE the overlay inside the image */
.product-image .product-overlay {
  display: none !important;
}

/* Remove hover effect on image overlay */
.product-card:hover .product-image .product-overlay {
  display: none !important;
}

/* Product header with title and specs link */
.product-card .product-header {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}

.product-card .product-name {
  margin-bottom: 0 !important;
}

/* Style the specs link - clear button appearance */
.product-card .specs-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #4D602C;
  background: #f8f9fa;
  border: 2px solid #e0e0e0;
  padding: 8px 16px;
  border-radius: 20px;
  text-decoration: none;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.product-card .specs-link i {
  font-size: 13px;
  transition: transform 0.3s ease;
}

.product-card .specs-link:hover {
  background: #4D602C;
  color: #ffffff;
  border-color: #4D602C;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(77, 96, 44, 0.2);
}

.product-card .specs-link:hover i {
  transform: scale(1.15);
}

.product-card .specs-link:active {
  transform: translateY(0);
}

/* Ensure product image is fully visible without any overlay */
.product-image {
  position: relative;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .product-card .specs-link {
    font-size: 11px;
  }
  
  .product-card .specs-link i {
    font-size: 12px;
  }
}

@media (max-width: 575px) {
  .product-card .product-header {
    gap: 6px;
  }
  
  .product-card .specs-link {
    font-size: 10px;
    gap: 5px;
  }
  
  .product-card .specs-link i {
    font-size: 11px;
  }
}

