/* ============================================================
   VA PLASTOPACK — products.css
   Styles specific to the Products page
   ============================================================ */

/* ── FILTER BAR ── */
.filter-bar {
  background: var(--blue-deeper);
  border-bottom: 1px solid rgba(27, 111, 190, 0.2);
  padding: 0 60px;
  display: flex;
  align-items: center;
  gap: 4px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.filter-bar::-webkit-scrollbar { display: none; }

.filter-btn {
  padding: 18px 22px;
  border: none;
  background: transparent;
  color: var(--silver);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .5px;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition: all var(--transition);
}
.filter-btn:hover { color: var(--white); }
.filter-btn.active {
  color: var(--orange);
  border-bottom-color: var(--orange);
}

/* ── PRODUCTS GRID ── */
.products-page-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 70px 60px 100px;
}

.section-intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
  gap: 24px;
}
.section-intro h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 54px);
  letter-spacing: 1px;
}
.section-intro h2 span { color: var(--orange); }
.section-intro p {
  font-size: 14px;
  color: var(--silver);
  max-width: 360px;
  text-align: right;
  line-height: 1.7;
}

.prod-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

/* ── PRODUCT CARD ── */
.prod-page-card {
  background: var(--card-bg);
  border: 1px solid rgba(27, 111, 190, 0.18);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
  position: relative;
}
.prod-page-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--orange));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
  z-index: 1;
}
.prod-page-card:hover {
  border-color: var(--orange);
  transform: translateY(-6px);
  box-shadow: var(--shadow-card), 0 0 0 1px rgba(245,166,35,0.12);
}
.prod-page-card:hover::before { transform: scaleX(1); }

/* card image area */
.prod-card-img {
  width: 100%;
  height: 210px;
  background: linear-gradient(135deg, #0e3f70, #07294d);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.prod-card-img .card-emoji {
  font-size: 72px;
  transition: transform .4s;
  position: relative;
  z-index: 1;
}
.prod-page-card:hover .prod-card-img .card-emoji {
  transform: scale(1.12);
}
.prod-card-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(7,41,77,0.7) 100%);
}
.prod-card-badge {
  position: absolute;
  top: 14px; right: 14px;
  background: var(--orange);
  color: var(--dark);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  z-index: 2;
}

/* card body */
.prod-card-body {
  padding: 24px 26px 0;
  flex: 1;
}
.prod-card-name {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
}

/* specs table */
.specs-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.spec-row   { display: flex; align-items: baseline; gap: 8px; }
.spec-key {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--silver);
  min-width: 88px;
  flex-shrink: 0;
}
.spec-val {
  font-size: 13px;
  color: #c8dff5;
  line-height: 1.5;
}
.spec-val strong { color: var(--orange); font-weight: 600; }

/* app tags */
.app-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 20px;
}

/* card footer */
.prod-card-footer {
  padding: 18px 26px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid rgba(27, 111, 190, 0.12);
}

/* ── HERO PILLS ROW ── */
.hero-pills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
  animation: fadeUp .7s .25s ease both;
}

/* ── RESPONSIVE PRODUCTS ── */
@media (max-width: 1100px) {
  .prod-page-grid { grid-template-columns: 1fr 1fr; }
  .filter-bar { padding: 0 36px; }
  .products-page-section { padding: 50px 36px 80px; }
}
@media (max-width: 768px) {
  .filter-bar { padding: 0 20px; }
  .products-page-section { padding: 50px 20px 70px; }
  .prod-page-grid { grid-template-columns: 1fr; }
  .section-intro { flex-direction: column; align-items: flex-start; }
  .section-intro p { text-align: left; max-width: 100%; }
}
