/* ==========================================================================
   Product pages (products/facility and products/PRS) - page content only.
   The site header and footer keep their own look from css/mainStyle.css.
   Colours follow www.rochestermidland.com: navy #122548, blue #1D418E,
   green #00B373 (Contact Us button), 10px rounded corners.
   Every class starts with "pl-" so nothing here touches the header or footer.
   ========================================================================== */
.pl-page { clear: both; max-width: 1200px; margin: 0 auto; padding: 6px 16px 34px; box-sizing: border-box; font-family: sans-serif; color: #122548; }
.pl-page *, .pl-page *::before, .pl-page *::after { box-sizing: border-box; }
.pl-page a { color: #1D418E; }
.pl-page img { max-width: 100%; }

/* breadcrumb and title row */
.pl-crumbs { font-size: 14px; margin: 14px 0 0; color: #5b6b85; }
.pl-crumbs a { color: #1D418E; text-decoration: none; font-weight: 600; }
.pl-crumbs a:hover { text-decoration: underline; }
.pl-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: 10px 0 6px; }
.pl-head h1 { margin: 0; font-size: 26px; line-height: 1.25; font-weight: 700; color: #122548; }
.pl-count { font-size: 14px; color: #5b6b85; }
.pl-intro { margin: 2px 0 10px; font-size: 15px; line-height: 1.5; color: #44546f; max-width: 800px; }

/* "Showing products sold in ..." selector */
.pl-loc { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: 14px; color: #44546f; }
.pl-loc select { height: 36px; padding: 0 10px; border: 1px solid #ccc; border-radius: 10px; background: #fff; color: #066C43; font-size: 15px; font-weight: 600; }

/* find box + A-Z (stays at the top while scrolling the list) */
.pl-tools { position: sticky; top: 0; z-index: 5; background: #fff; padding: 10px 0 8px; border-bottom: 1px solid #e6eaf0; margin-bottom: 6px; }
.pl-find { width: 100%; max-width: 440px; height: 44px; padding: 10px 14px; border: 1px solid #ccc; border-radius: 10px; font-size: 16px; color: #122548; background: #fff; }
.pl-find:focus { outline: none; border-color: #00B373; box-shadow: 0 0 0 3px rgba(0,179,115,.18); }
.pl-az { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 10px; }
.pl-az a, .pl-az span { display: inline-flex; align-items: center; justify-content: center; min-width: 30px; height: 30px; padding: 0 6px; border-radius: 8px; font-size: 14px; font-weight: 700; text-decoration: none; }
.pl-az a { color: #1D418E; background: #eef2f9; }
.pl-az a:hover { background: #00B373; color: #fff; }
.pl-az span { color: #c3cad6; }
.pl-msg { font-size: 14px; color: #5b6b85; margin-top: 6px; min-height: 18px; }

/* letter sections */
.pl-sec { scroll-margin-top: 130px; }
.pl-sec h2 { margin: 22px 0 10px; font-size: 20px; color: #1D418E; border-bottom: 2px solid #00B373; padding-bottom: 4px; }

/* card grids */
.pl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.pl-grid.pl-grid-4 { grid-template-columns: repeat(4, 1fr); }
.pl-card { position: relative; border: 1px solid #e3e8ef; border-radius: 10px; padding: 12px 14px; background: #fff; box-shadow: 0 2px 6px rgba(18,37,72,.06); }
.pl-card { transition: border-color .2s, box-shadow .2s, transform .2s; }
.pl-card:hover { border-color: #b9c6dc; box-shadow: 0 8px 20px rgba(18,37,72,.12); transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) { .pl-card, .pl-card:hover { transform: none; transition: none; } }
.pl-name { display: block; font-size: 16px; font-weight: 700; color: #122548 !important; text-decoration: none; line-height: 1.3; }
.pl-name:hover { text-decoration: underline; }
.pl-sizes { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.pl-size { display: inline-block; padding: 4px 10px; border: 1px solid #00B373; border-radius: 999px; font-size: 13px; font-weight: 600; color: #00804f !important; text-decoration: none; background: #fff; line-height: 1.3; }
a.pl-size:hover { background: #00B373; color: #fff !important; }
.pl-size.pl-on { background: #00B373; color: #fff !important; }
.pl-blurb { margin: 8px 0 0; font-size: 13.5px; line-height: 1.45; color: #5b6b85; }

/* picture cards (category and search pages) */
.pl-pcard { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
/* white picture area: the product photos are shot on white, so they sit straight on the card (no grey box around them) */
.pl-pcard .pl-pic { display: flex; align-items: center; justify-content: center; height: 200px; padding: 16px; background: #fff; border-bottom: 1px solid #eef1f5; overflow: hidden; }
.pl-pcard .pl-pic img { max-height: 168px; max-width: 100%; width: auto; height: auto; object-fit: contain; transition: transform .25s ease; }
.pl-pcard:hover .pl-pic img { transform: scale(1.05); }
@media (prefers-reduced-motion: reduce) { .pl-pcard:hover .pl-pic img { transform: none; } }
.pl-pcard .pl-body { padding: 12px 14px 14px; display: flex; flex-direction: column; flex: 1; }
.pl-tag { display: inline-block; align-self: flex-start; margin-bottom: 6px; padding: 2px 8px; border-radius: 6px; background: #eef2f9; color: #1D418E; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; }

/* category tiles */
.pl-tile { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 58px; padding: 12px 16px; border: 1px solid #e3e8ef; border-radius: 10px; background: #fff; box-shadow: 0 2px 6px rgba(18,37,72,.06); font-size: 16px; font-weight: 700; color: #122548 !important; text-decoration: none; }
.pl-tile::after { content: "\203A"; font-size: 24px; line-height: 1; color: #00B373; }
.pl-tile:hover { border-color: #00B373; background: #f3fbf8; }

/* buttons */
.pl-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px; padding: 8px 16px; border: 0; border-radius: 10px; background: #00B373; color: #fff !important; font-size: 15px; font-weight: 700; text-decoration: none; cursor: pointer; font-family: inherit; }
.pl-btn:hover { background: #009962; }
.pl-btn.pl-btn-line { background: #fff; color: #1D418E !important; border: 1px solid #c9d3e3; }
.pl-btn.pl-btn-line:hover { border-color: #1D418E; background: #f3f6fb; }

.pl-empty { padding: 30px 18px; text-align: center; border: 1px dashed #c9d3e3; border-radius: 10px; color: #44546f; font-size: 15px; line-height: 1.6; }
.pl-empty h2 { margin: 0 0 6px; font-size: 20px; color: #122548; }

/* ---------- product card (full page, compare, and the side panel) ----------
   Same order as the original product page, with a cleaner look. */
.pl-prod { display: grid; grid-template-columns: minmax(0, 760px); justify-content: center; gap: 22px; margin-top: 14px; }
.pl-prod.pl-two { grid-template-columns: repeat(2, minmax(0, 1fr)); justify-content: stretch; }
.pl-col { min-width: 0; }
.pl-spec-card { background: #fff; border: 1px solid #e3e8ef; border-radius: 12px; box-shadow: 0 2px 8px rgba(18,37,72,.06); padding: 20px 22px; color: #122548; font-family: sans-serif; }
.pl-spec-card *, .pl-spec-card *::before, .pl-spec-card *::after { box-sizing: border-box; }
.pl-spec-card a { color: #1D418E; }
.pl-sc-head { text-align: center; }
.pl-sc-title { margin: 0; font-size: 24px; line-height: 1.25; font-weight: 700; color: #122548; }
.pl-sc-size { margin-top: 4px; font-size: 17px; font-weight: 700; color: #00804f; }
.pl-sc-photo { display: flex; align-items: center; justify-content: center; margin: 14px 0 4px; min-height: 180px; padding: 10px; background: #fff; }
.pl-sc-photo img { max-width: 100%; max-height: 260px; width: auto; height: auto; }
.pl-sc-sec { margin-top: 16px; padding-top: 14px; border-top: 1px solid #e6eaf0; }
.pl-sc-sec h3 { margin: 0 0 10px; font-size: 16px; font-weight: 700; color: #1D418E; }
.pl-text { font-size: 15px; line-height: 1.6; color: #33415c; }
.pl-text ul { margin: 0; padding-left: 20px; }
.pl-text li { margin: 3px 0; }
.pl-sc-bullets { margin-top: 12px; padding: 12px 14px; border-radius: 10px; background: #f6f8fb; font-size: 14.5px; }
.pl-certs { display: flex; flex-wrap: wrap; gap: 10px; }
.pl-certs img { height: 72px; width: auto; cursor: zoom-in; }
.pl-specs { width: 100%; border-collapse: collapse; font-size: 14.5px; margin: 0; table-layout: auto; }
.pl-specs th, .pl-specs td { padding: 8px 10px; border: 0; border-bottom: 1px solid #eef1f5; text-align: left; vertical-align: top; }
.pl-specs th { width: 44%; color: #44546f; font-weight: 600; }
.pl-specs td { color: #122548; overflow-wrap: anywhere; }
.pl-specs tr:last-child th, .pl-specs tr:last-child td { border-bottom: 0; }
.pl-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.pl-copied { align-self: center; font-size: 13px; font-weight: 700; color: #00804f; }
.pl-doclist { list-style: none; margin: 0; padding: 0; }
.pl-doclist li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 9px 0; border-bottom: 1px solid #eef1f5; }
.pl-doclist li:last-child { border-bottom: 0; }
.pl-pdf { flex: 0 0 auto; padding: 2px 6px; border-radius: 4px; background: #d93025; color: #fff; font-size: 10.5px; font-weight: 700; letter-spacing: .04em; }
.pl-dname { flex: 1 1 180px; font-size: 14.5px; font-weight: 700; color: #122548; }
.pl-dname small { font-weight: 400; color: #5b6b85; }
.pl-dlangs { display: flex; flex-wrap: wrap; gap: 6px; }
.pl-dlangs a { display: inline-block; padding: 5px 12px; border-radius: 8px; background: #1D418E; color: #fff !important; font-size: 13px; font-weight: 700; text-decoration: none; }
.pl-dlangs a:hover { background: #122548; }
.pl-sc-links { display: flex; flex-wrap: wrap; gap: 8px; }
.pl-sc-links a { display: inline-block; padding: 7px 14px; border: 1px solid #c9d3e3; border-radius: 10px; font-size: 14px; font-weight: 700; text-decoration: none; }
.pl-sc-links a:hover { border-color: #1D418E; background: #f3f6fb; }
.pl-video { position: relative; width: 100%; padding-top: 56.25%; margin-top: 10px; border-radius: 10px; overflow: hidden; background: #000; }
.pl-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.pl-compare { margin-top: 14px; padding: 14px 16px; border: 1px solid #e3e8ef; border-radius: 12px; background: #f8fafc; font-family: sans-serif; }
.pl-compare label { display: block; margin-bottom: 6px; font-weight: 700; color: #122548; }
.pl-compare select { width: 100%; height: 42px; padding: 0 10px; border: 1px solid #ccc; border-radius: 10px; background: #fff; font-size: 15px; color: #122548; }
.pl-panel-bar { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin: -4px 0 12px; padding-bottom: 6px; border-bottom: 2px solid #00B373; font-size: 13px; font-weight: 700; color: #5b6b85; text-transform: uppercase; letter-spacing: .04em; }
.pl-panel-bar a { text-transform: none; letter-spacing: 0; font-weight: 600; }
.pl-zoom { position: fixed; inset: 0; z-index: 10050; display: none; align-items: center; justify-content: center; background: rgba(18,37,72,.7); cursor: zoom-out; }
.pl-zoom img { max-width: 80vw; max-height: 80vh; background: #fff; border-radius: 10px; padding: 16px; }
.pl-more { margin-top: 18px; font-size: 14px; color: #5b6b85; }

/* ---------- side panel: a product opens from the right on the product lists ---------- */
.pl-shade { position: fixed; inset: 0; z-index: 10000; background: rgba(15,23,42,.45); opacity: 0; pointer-events: none; transition: opacity .2s; }
.pl-drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 10001; width: 560px; max-width: 100%; display: flex; flex-direction: column; background: #f4f6f9; box-shadow: -10px 0 30px rgba(0,0,0,.18); transform: translateX(100%); transition: transform .22s ease; font-family: sans-serif; }
.pl-drawer-open .pl-shade { opacity: 1; pointer-events: auto; }
.pl-drawer-open .pl-drawer { transform: none; }
.pl-drawer-open body { overflow: hidden; }
.pl-dbar { display: flex; align-items: center; gap: 8px; padding: 10px 12px; background: #fff; border-bottom: 1px solid #e2e8f0; }
.pl-dbar .pl-dttl { flex: 1; min-width: 0; font-weight: 700; font-size: 15px; color: #122548; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pl-dbtn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 36px; min-width: 36px; padding: 0 10px; border: 1px solid #e2e8f0; border-radius: 8px; background: #fff; color: #122548 !important; font: 700 14px/1 sans-serif; cursor: pointer; text-decoration: none; }
.pl-dbtn:hover { background: #f1f5f9; }
.pl-dbody { flex: 1; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding: 14px; }
.pl-dbody .pl-spec-card { padding: 16px 16px; }
.pl-dmsg { text-align: center; padding: 60px 20px; color: #94a3b8; font-size: 15px; }
/* ---------- banner slider (_shared/banner.cfm) ---------- */
.pl-bn { position: relative; margin: 14px 0 4px; }
.pl-bn-view { position: relative; overflow: hidden; border-radius: 12px; background: #eef2f9; box-shadow: 0 2px 10px rgba(18,37,72,.10); }
.pl-bn-track { display: flex; transition: transform .55s ease; will-change: transform; }
.pl-bn-slide { flex: 0 0 100%; min-width: 0; }
.pl-bn-slide a { display: block; }
.pl-bn-slide img { display: block; width: 100%; max-width: none; height: auto; aspect-ratio: 1713 / 432; object-fit: cover; }
.pl-bn-arrow { position: absolute; top: calc(50% - 11px); transform: translateY(-50%); width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255,255,255,.88); color: #122548; font-size: 28px; line-height: 38px; font-weight: 700; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.2); opacity: 0; transition: opacity .2s, background .2s; padding: 0; }
.pl-bn-prev { left: 12px; }
.pl-bn-next { right: 12px; }
.pl-bn:hover .pl-bn-arrow, .pl-bn-arrow:focus-visible { opacity: 1; }
.pl-bn-arrow:hover { background: #fff; }
.pl-bn-dots { display: flex; justify-content: center; gap: 8px; margin-top: 10px; }
.pl-bn-dot { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 999px; background: #c9d3e3; cursor: pointer; transition: width .25s, background .25s; }
.pl-bn-dot.pl-on { width: 26px; background: #00B373; }
.pl-bn-dot:hover { background: #1D418E; }
@media (hover: none) { .pl-bn-arrow { opacity: .85; width: 34px; height: 34px; font-size: 24px; line-height: 32px; } }
@media (max-width: 600px) { .pl-bn { margin-top: 10px; } .pl-bn-view { border-radius: 10px; } .pl-bn-arrow { display: none; } .pl-bn-dots { margin-top: 8px; gap: 6px; } .pl-bn-dot { width: 8px; height: 8px; } .pl-bn-dot.pl-on { width: 20px; } }
@media (prefers-reduced-motion: reduce) { .pl-bn-track { transition: none; } }

@media (max-width: 1000px) {
  .pl-grid, .pl-grid.pl-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .pl-prod.pl-two { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) { .pl-drawer { width: 100%; } .pl-spec-card { padding: 16px 14px; } .pl-sc-title { font-size: 21px; } .pl-specs th { width: 46%; } }
@media (max-width: 600px) {
  .pl-page { padding: 4px 12px 28px; }
  .pl-grid, .pl-grid.pl-grid-4 { grid-template-columns: 1fr; }
  .pl-head h1 { font-size: 22px; }
  .pl-az a, .pl-az span { min-width: 28px; height: 28px; }
  .pl-pcard { flex-direction: row; }
  .pl-pcard .pl-pic { flex: 0 0 110px; height: auto; min-height: 120px; padding: 10px; border-bottom: 0; border-right: 1px solid #eef1f5; }
  .pl-pcard .pl-pic img { max-height: 100px; }
}
@media print {
  .pl-tools, .pl-actions, .pl-compare, .pl-crumbs, .pl-shade, .pl-drawer { display: none !important; }
  .pl-card, .pl-spec-card { box-shadow: none; }
}
