/* ============================================================
   CYTECH PHARMACEUTICALS — PRODUCTS
   ============================================================ */

.products-bg {
  background-image: var(--texture);
}

/* ── PRODUCT GRID ── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
  margin-top: 2.5rem;
}

/* ── PRODUCT CARD ── */
.product-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.28s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.product-card:hover {
  border-color: rgba(160, 0, 93, 0.3);
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

/* ── CARD IMAGE ── */
.product-card-img {
  height: 360px;
  overflow: hidden;
  position: relative;
}

.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit:unset;
  transition: transform 0.5s;
}

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

.product-card-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 0, 20, 0.5), transparent);
}

.product-card-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--brand);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ── CARD BODY ── */
.product-body {
  padding: 1.4rem;
}

.product-body h3 {
  font-family: var(--body);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.product-body p {
  font-size: 13.5px;
  color: var(--text-2);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.product-count {
  font-size: 12px;
  color: var(--text-3);
  font-weight: 500;
}

.product-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--brand);
  display: flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s;
}

.product-card:hover .product-link {
  gap: 8px;
}

/* ── PRODUCT DETAIL PAGE ── */
.product-detail-header {
  position: relative;
  height: 550px;
  overflow: hidden;
}

.product-detail-header img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  
}

.product-detail-header::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(88, 19, 157, 0.075) 0%, rgba(10, 0, 20, 0.3) 100%);
}

.product-detail-hero {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2.5rem;
  max-width: var(--max-width);
  z-index: 1;
}

.product-detail-tag {
  display: inline-flex;
  width: fit-content;
  background: rgba(160, 0, 93, 0.5);
  border: 1px solid rgba(160, 0, 93, 0.6);
  color: #f5b8d8;
  padding: 6px 8px;
  border-radius: 12px;
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.6rem;
}

.product-detail-hero h1 {
  font-family: var(--body);
  font-size: 4.5rem;
  font-weight: 700;
  color: #fff;
}



/* ── PRODUCT ENQUIRY CTA ── */
.product-enquiry-cta {
  margin-top: 2.5rem;
  padding: 2rem;
  background: var(--brand-pale);
  border: 1px solid rgba(160, 0, 93, 0.15);
  border-radius: var(--radius);
}

.product-enquiry-cta h3 {
  font-family: var(--display);
  font-size: 1.3rem;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.product-enquiry-cta p {
  font-size: 14px;
  color: var(--text-2);
  margin-bottom: 1.2rem;
}

.product-enquiry-cta .cta-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.vm-card:hover{
  border-color: rgba(160, 0, 93, 0.3);
  transform: translateY(-20px);
  box-shadow: var(--shadow-lg);
}
.about-item:hover{
  border-color: rgba(160, 0, 93, 0.3);
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

/* ── PRODUCT DETAIL DUAL IMAGE ── */
.product-img-portrait {
  display: none !important;
}

.product-img-landscape {
  display: block !important;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 600px) and (orientation: portrait) {
  .product-img-landscape {
    display: none !important;
  }

  .product-img-portrait {
    display: block !important;
    width: 100%;
    height: 70%;
    object-fit: cover;
    object-position: center top;
  }
}

/* Landscape phone — force desktop image */
@media (max-width: 900px) and (orientation: landscape) {
  .product-img-landscape {
    display: block !important;
  }

  .product-img-portrait {
    display: none !important;
  }
}