/* ============================================
   PRODUCT DOWNLOADS SECTION — downloads.css
   Industrial Luxury Design System
   ============================================ */

/* Section Wrapper */
.product-downloads-section {
  background: #F7F5F0;
  border-radius: 12px;
  padding: 2rem;
  margin-top: 2.5rem;
}

/* Section Header */
.product-downloads-header {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #E5E7EB;
}

.product-downloads-accent {
  width: 4px;
  height: 28px;
  background: #C8A84B;
  border-radius: 2px;
  flex-shrink: 0;
}

.product-downloads-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  color: #111827;
  margin: 0;
}

/* Downloads Grid */
.product-downloads-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}

/* Download Card */
.download-card {
  background: #ffffff;
  border: 1px solid #E5E7EB;
  border-radius: 0 10px 10px 10px;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  transition: all 0.2s ease;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.download-card:hover {
  border-color: #C8A84B;
  box-shadow: 0 4px 20px rgba(200, 168, 75, 0.15);
  transform: translateX(4px);
}

/* File Type Icon */
.download-card-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.download-card-icon--pdf {
  background: #FEF2F2;
  color: #DC2626;
}

.download-card-icon--doc {
  background: #EFF6FF;
  color: #2563EB;
}

.download-card-icon--zip {
  background: #F5F3FF;
  color: #7C3AED;
}

.download-card-icon--img {
  background: #F0FDF4;
  color: #16A34A;
}

/* File Info */
.download-card-info {
  flex: 1;
  min-width: 0;
}

.download-card-title {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  color: #111827;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.download-card-meta {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.25rem;
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: 0.75rem;
  color: #6B7280;
  align-items: center;
}

.download-meta-badge {
  background: #F3F4F6;
  border-radius: 3px;
  padding: 1px 6px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6B7280;
}

/* Download Arrow */
.download-card-arrow {
  width: 32px;
  height: 32px;
  border: 1.5px solid #E5E7EB;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #6B7280;
  transition: all 0.2s ease;
}

.download-card:hover .download-card-arrow {
  background: #C8A84B;
  border-color: #C8A84B;
  color: #0D1117;
}

/* Helper Text */
.downloads-helper {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: 0.8rem;
  color: #6B7280;
  margin-top: 1rem;
  margin-bottom: 0;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.downloads-helper-icon {
  color: #C8A84B;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Download Toast */
.download-toast {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  background: #111827;
  color: #ffffff;
  border-left: 3px solid #C8A84B;
  padding: 0.75rem 1.25rem;
  border-radius: 6px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 0.875rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 9999;
}

.download-toast.is-visible {
  opacity: 1;
}

/* ============================================
   Mobile
   ============================================ */
@media (max-width: 640px) {
  .product-downloads-section {
    padding: 1.25rem;
    margin-top: 1.5rem;
  }

  .product-downloads-grid {
    grid-template-columns: 1fr;
  }

  .download-card {
    min-height: 48px;
  }

  .download-card:hover {
    transform: none;
  }
}
