/* =========================================================
   Product Fragments — Shared Style (for modal-loaded pages)
   Clean editorial layout, tight spacing, top-aligned media
   ========================================================= */

:root{
  --pf-ink:#1f1f1f;
  --pf-text:#2e2e2e;
  --pf-muted:#6f6f6f;
  --pf-accent:#2f5e2c;
  --pf-card:#fafafa;
  --pf-stroke:#ececec;
  --pf-radius:18px;
}

/* wrapper */
.prod-frag{
  padding: 6px 2px 8px;
}

/* Header */
.prod-head{
  margin-bottom: 14px;           /* tighter than before */
}
.prod-title{
  font-size: 34px;
  font-weight: 650;
  letter-spacing: .2px;
  color: var(--pf-accent);
  margin: 0 0 6px;
  line-height: 1.15;
}
.prod-subtitle{
  font-size: 15px;
  color: var(--pf-muted);
  margin: 0;
  line-height: 1.5;
}

/* Layout (text + image) */
.prod-layout{
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;                     /* tighter */
  align-items: start;            /* TOP align image with text */
}

/* Text column */
.prod-text{
  font-size: 15px;
  line-height: 1.8;
  color: var(--pf-text);
  text-align: justify;
  max-width: 660px;              /* slightly wider */
}
.prod-text p{
  margin: 0 0 14px;              /* tighter */
}
.prod-lead{
  font-size: 16px;
  font-weight: 520;
  color: var(--pf-ink);
  margin-bottom: 12px;
}

/* Brand row */
.prod-brand-row{
  display:flex;
  align-items:center;
  gap: 10px;
  margin: 6px 0 10px;            /* tighter */
}
.prod-brand img{
  width: 58px;                   /* smaller */
  height: auto;
  display:block;
  opacity: .85;
}
.prod-brand-note{
  font-size: 13px;
  color: var(--pf-muted);
  line-height: 1.4;
}

/* Media card */
.prod-media{
  position: sticky;              /* nice in modal: image stays visible while scrolling */
  top: 10px;
}
.prod-image{
  background: var(--pf-card);
  border: 1px solid var(--pf-stroke);
  border-radius: var(--pf-radius);
  padding: 14px;
}
.prod-image img{
  width: 100%;
  height: auto;
  display:block;
  object-fit: contain;
  border-radius: 12px;
}

/* Optional: a small spec row (you can reuse later) */
.prod-meta{
  margin-top: 10px;
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.prod-chip{
  font-size: 12px;
  color: #333;
  background: #f3f6f3;
  border: 1px solid #e5ece5;
  padding: 6px 10px;
  border-radius: 999px;
}

/* Responsive */
@media (max-width: 900px){
  .prod-layout{
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .prod-title{ font-size: 28px; }
  .prod-text{ max-width: 100%; }
  .prod-media{ position: static; }
}
/* ===== Missing: size logos inside prod-brand-row (multi-supplier pages) ===== */
.prod-brand-row{
  flex-wrap: wrap;              /* prevent overflow */
}

.prod-brand-row img{
  height: 32px;                 /* consistent small logo height */
  width: auto;
  max-width: 140px;             /* avoid giant wide logos */
  display: block;
  object-fit: contain;
  opacity: .9;
}

/* Optional: when flowconME logo is included with others, keep it slightly smaller */
.prod-brand-row img[alt*="flowconME" i]{
  height: 28px;
}

/* Optional: if you still use single-logo block anywhere */
.prod-brand img{
  height: 32px;                 /* use height not width (better for different logo shapes) */
  width: auto;
  max-width: 140px;
  object-fit: contain;
}

/* ===============================
   Supplier Logos — Fancy Footer
   =============================== */

.prod-media{
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Logo container */
.prod-suppliers{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
  padding: 10px 6px 0;
  border-top: 1px dashed #e3e3e3;
}

/* Logos */
.prod-suppliers img{
  height: 30px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  opacity: 0.85;
 
  transition: all .25s ease;
}

/* Hover effect (subtle & premium) */
.prod-suppliers img:hover{
  opacity: 1;
  filter: grayscale(0%);
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 900px){
  .prod-suppliers{
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 16px;
  }
}

/* ===============================
   Supplier Logos — Shared System
   =============================== */

.prod-suppliers{
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed var(--pf-stroke);

  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.prod-suppliers img{
  height: 34px;          /* DEFAULT size */
  width: auto;
  max-width: 150px;
  object-fit: contain;
  opacity: .9;
  filter: grayscale(0%);
  transition: transform .2s ease, opacity .2s ease;
}

.prod-suppliers img:hover{
  opacity: 1;
  transform: scale(1.05);
}

/* Larger supplier logos */
.prod-suppliers img.logo-lg{
  height: 60px;
}

.prod-suppliers img.logo-lg2{
  height: 100px;
}

.prod-suppliers img.logo-lg3{
  height: 150px;
}

/* Wide logos */
.prod-suppliers img.logo-wide{
  height: 30px;
  max-width: 180px;
}


/* Small/thin logos */
.prod-suppliers img.logo-sm{
  height: 28px;
}

