/* Base Styles */
.container-category-fluid {
  width: 100%;
  /*max-width: 1200px;*/
  margin: 0 auto;
  padding: 4rem 2rem;
}

.section-title {
  font-family: "Faustina", serif;
  font-size: var(--fs-32);
  margin-bottom: 2rem;
  color: var(--primary-blue);
  text-align: center;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.product-view-card {
  border-radius: 1rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  text-align: center;
  align-items: center;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-view-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

.product-view-card img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  border-radius: .75rem;
  margin-bottom: 1rem;
}

.product-title {
  font-family: "Century Gothic", sans-serif;
  font-weight: 600;
  color: var(--primary-red);
  margin-bottom: 0.5rem;
  font-size: var(--fs-32);
}

.product-desc {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 1rem;
}

/* MEDIA QUERIES for RESPONSIVENESS */

/* Tablet and below (screens smaller than 1024px) */
@media (max-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 columns on medium screens */
  }

  .product-view-card img {
    height: 150px; /* Adjust image height on medium screens */
  }
}

/* Mobile and below (screens smaller than 768px) */
@media (max-width: 768px) {
  .product-grid {
    grid-template-columns: 1fr; /* 1 column on small screens */
  }

  .product-view-card img {
    height: 120px; /* Adjust image height on small screens */
  }

  .section-title {
    font-size: var(--fs-28); /* Reduce font size for smaller screens */
  }
}

/* Extra Small Mobile (screens smaller than 480px) */
@media (max-width: 480px) {
  .section-title {
    font-size: var(--fs-32); /* Further reduce font size */
  }

  .product-view-card img {
    height: 100px; /* Further reduce image height */
  }
}

/* =====================================================================
   Shared category-page components
   Each category page (MRI, CT, IR, Fertility, Product Pipeline) writes
   its own markup using these classes. Styles are content-agnostic.
   ===================================================================== */

/* --- Product showcase (section + grid) --- */
.product-showcase {
  background: #fff;
  padding: 5rem var(--padding-horizontal);
}

.product-showcase__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.product-showcase__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* --- Product card --- */
.showcase-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.showcase-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.12);
}

.showcase-card__media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  padding: 1.75rem;
  background: #fbf1e9;
  overflow: hidden;
}

.showcase-card__media::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 130px;
  height: 140px;
  background: #1c4f8a;
  border-bottom-left-radius: 70px;
  z-index: 1;
}

.showcase-card__media img {
  position: relative;
  z-index: 2;
  max-width: 100%;
  max-height: 250px;
  object-fit: contain;
}

.showcase-card__category {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
  background: var(--primary-blue);
  color: #fff;
  font-family: var(--font-fira);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.showcase-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.5rem 1.5rem 1.75rem;
  text-align: left;
}

.showcase-card__badge {
  align-self: flex-start;
  background: #eaf1fb;
  color: var(--primary-blue);
  font-family: var(--font-fira);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 6px;
  margin-bottom: 1.1rem;
}

.showcase-card__title {
  font-family: var(--font-fira);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--primary-blue);
  margin: 0 0 0.6rem;
}

.showcase-card__rule {
  display: block;
  width: 32px;
  height: 3px;
  border-radius: 2px;
  background: var(--primary-blue);
  margin-bottom: 1.1rem;
}

.showcase-card__desc {
  font-size: 0.92rem;
  color: #6b7785;
  line-height: 1.65;
  margin: 0 0 1.5rem;
}

/* --- Animated CTA button (slide-in fill). Add --block for full width. --- */
.btn-slide {
  position: relative;
  overflow: hidden;
  z-index: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 28px;
  border-radius: 8px;
  background: var(--primary-blue);
  color: #fff;
  font-family: var(--font-fira);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: var(--pointer);
}

.btn-slide--block {
  display: flex;
  width: 100%;
  margin-top: auto;
}

.btn-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: #0a2e50;
  transform: translateX(-100%);
  transition: transform 0.5s ease-in-out;
}

.btn-slide::after {
  content: "\2192";
  font-size: 1.1rem;
  line-height: 1;
  transition: transform 0.3s ease;
}

.btn-slide:hover {
  color: #fff;
  text-decoration: none;
}

.btn-slide:hover::before {
  transform: translateX(0);
}

.btn-slide:hover::after {
  transform: translateX(4px);
}

/* --- CTA band ("need data / samples" panel) --- */
.cta-band {
  background: #fff;
  padding: 6rem var(--padding-horizontal);
}

.cta-band__card {
  max-width: 1200px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #e8eaed;
  border-radius: 20px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.06);
  padding: 3.5rem 2rem;
  text-align: center;
}

.cta-band__card h2 {
  font-family: var(--font-fira);
  font-weight: 700;
  font-size: var(--fs-32);
  color: #15233a;
  margin: 0 0 1rem;
}

.cta-band__card p {
  font-size: 1.05rem;
  color: #6b7785;
  line-height: 1.6;
  max-width: 560px;
  margin: 0 auto 2rem;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .product-showcase__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .product-showcase {
    padding: 4rem 1.25rem;
  }
  .product-showcase__grid {
    grid-template-columns: 1fr;
  }
  .cta-band {
    padding: 4rem 1.25rem;
  }
  .cta-band__card {
    padding: 2.5rem 1.5rem;
  }
}

/* --- Product pipeline table --- */
.pipeline-table-card {
  max-width: 1060px;
  margin: 0 auto;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.pipeline-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-fira);
}

.pipeline-table thead {
  background: linear-gradient(90deg, #2a7cc7, #1a5fa0);
}

.pipeline-table thead th {
  color: #fff;
  text-align: left;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 18px 26px;
}

.pipeline-table tbody td {
  padding: 20px 26px;
  border-bottom: 1px solid #eef1f4;
  vertical-align: middle;
  color: #2a3b4d;
  font-size: 0.98rem;
}

.pipeline-table tbody tr:last-child td {
  border-bottom: none;
}

.pipeline-table__no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: #fdebd9;
  color: #e07b2e;
  font-weight: 700;
  font-size: 0.95rem;
}

.pipeline-table__product {
  font-family: "Faustina", serif;
  font-weight: 700;
  color: #1f2d3d;
  font-size: 1.05rem;
}

.pipeline-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #e8f0fb;
  color: var(--primary-blue);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: 8px;
  white-space: nowrap;
}

.pipeline-pill i {
  font-size: 0.8rem;
}

.pipeline-note {
  max-width: 1060px;
  margin: 1.5rem auto 0;
  text-align: center;
  font-size: 0.85rem;
  color: #9aa4af;
}

@media (max-width: 768px) {
  .pipeline-table thead th,
  .pipeline-table tbody td {
    padding: 14px 14px;
  }
  .pipeline-table {
    font-size: 0.9rem;
  }
}
