/* Product Category 8 – FlyonUI-style */

.pc8-wrap {
  background: #ffffff;
  padding: 70px 0;
}

.pc8-container {
  max-width: 1280px;
  margin: auto;
  padding: 0 16px;
}

/* Header */
.pc8-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.pc8-subtitle {
  color: #2563eb;
  font-size: 14px;
  font-weight: 500;
}

.pc8-header h2 {
  font-size: 36px;
  font-weight: 700;
  color: #111827;
  margin-top: 6px;
}

.pc8-btn-primary {
  background: #2563eb;
  color: #fff;
  padding: 12px 20px;
  border-radius: 10px;
  font-weight: 500;
  text-decoration: none;
}

/* Grid */
.pc8-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Card */
.pc8-card {
  position: relative;
  background: #f9fafb;
  border-radius: 18px;
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 200px;
  overflow: hidden;
  transition: 0.3s;
}

.pc8-card:hover {
  box-shadow: 0 18px 40px rgba(0,0,0,0.12);
  transform: translateY(-4px);
}

/* Wide Card */
.pc8-wide {
  grid-column: span 1;
}

/* Image */
.pc8-image {
  position: absolute;
  right: 18px;
  bottom: 0;
  width: 150px;
}

.pc8-image img {
  width: 100%;
}

/* Content */
.pc8-content {
  position: relative;
  z-index: 2;
}

.pc8-offer {
  display: inline-block;
  background: #dcfce7;
  color: #166534;
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.pc8-blue {
  background: #dbeafe;
  color: #1e40af;
}

.pc8-red-bg {
  background: #fee2e2;
  color: #991b1b;
}

.pc8-content h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 14px;
}

/* Buttons */
.pc8-btn {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 10px;
  background: #22c55e;
  color: #fff;
  font-weight: 500;
  text-decoration: none;
}

.pc8-dark {
  background: #111827;
}

.pc8-red-btn {
  background: #ef4444;
}

/* Responsive */
@media (max-width: 1024px) {
  .pc8-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .pc8-grid {
    grid-template-columns: 1fr;
  }
  .pc8-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}
