/* ================================================
   PAGES.CSS — Shared styles for all product pages
   Banner · Content · Bundles · Accessories · Product page template (section 10)
   ================================================ */

/* ------------------------------------------------
   1. BANNER BASE
   ------------------------------------------------ */
.page-banner { width: 100%; }
.page-banner__inner { max-width: 1349px; margin: 0 auto; position: relative; font-size: min(3vw, 41px); }
.page-banner__img { width: 100%; height: auto; display: block; }

.page-banner__badge {
    position: absolute; top: 3%; font-size: 1.06em; text-align: center;
    color: orange; font-family: 'Open Sans', sans-serif; font-weight: bold;
    opacity: 0.9; padding: 0.2em 0.5em; z-index: 1; line-height: 1.2;
    background-color: transparent;
}
.page-banner__badge--left  { left: 0; }
.page-banner__badge--right { right: 0; }

.page-banner__content { position: absolute; top: 35%; }
.page-banner__content--left  { left: 5%; }
.page-banner__content--right { right: 5%; }

.page-banner__title {
    font-size: 0.95em; font-weight: bold; font-family: 'Open Sans', sans-serif;
    margin: 0 0 0.3em 0; line-height: 1.2;
}
.page-banner__desc {
    font-size: 0.585em; font-family: 'Open Sans', sans-serif;
    margin: 0; line-height: 1.4;
}

/* ------------------------------------------------
   2. BANNER VARIANTS
   ------------------------------------------------ */

/* --- MOS / Value Teleprompter --- */
.page-banner--mos { background: #1c1c1c; }
.page-banner--mos .page-banner__badge { background-color: rgba(12,12,12,0.08); box-shadow: 2px 2px 5px black; }
.page-banner--mos .page-banner__inner { aspect-ratio: 1349 / 600; overflow: hidden; }
.page-banner--mos .page-banner__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.page-banner--mos .page-banner__content { max-width: 60%; }
.page-banner--mos .page-banner__title { color: white; text-shadow: 1px 1px black; font-size: 1.14em; }
.page-banner--mos .page-banner__desc { color: white; }

/* --- Network Based --- */
.page-banner--network { background: #191111; }
.page-banner--network .page-banner__badge { box-shadow: 1px 1px 3px black; }
.page-banner--network .page-banner__content { max-width: 40%; }
.page-banner--network .page-banner__title { color: white; text-shadow: 0.5px 0.5px rgb(255,255,255); }
.page-banner--network .page-banner__desc { color: rgb(195,150,150); }

/* --- PTZ --- */
.page-banner--ptz { background: #1c1c1c; }
.page-banner--ptz .page-banner__badge { background-color: #000; box-shadow: 2px 2px 5px black; }
.page-banner--ptz .page-banner__content { max-width: 34%; right: 8%; background-color: #000; opacity: 0.7; padding: 0.8em; box-shadow: 1px 1px 3px black; }
.page-banner--ptz .page-banner__title { color: white; text-shadow: 1px 1px black; font-size: 0.74em; }
.page-banner--ptz .page-banner__desc { color: white; font-size: 0.60em; }

/* --- SDI --- */
.page-banner--sdi { background: #1c1c1c; }
.page-banner--sdi .page-banner__badge { box-shadow: 1px 1px 3px rgb(26,25,25); }
.page-banner--sdi .page-banner__content { max-width: 40%; }
.page-banner--sdi .page-banner__title { color: white; text-shadow: 0.5px 0.5px rgb(255,255,255); }
.page-banner--sdi .page-banner__desc { color: rgb(195,150,150); }

/* --- Stage Motorized --- */
.page-banner--motorized { background: #0d1018; }
.page-banner--motorized .page-banner__badge { background-color: rgba(12,12,12,0.08); box-shadow: 2px 2px 5px black; }
.page-banner--motorized .page-banner__content { max-width: 60%; }
.page-banner--motorized .page-banner__title { color: white; text-shadow: 1px 1px black; font-size: 1.14em; }
.page-banner--motorized .page-banner__desc { color: white; }

/* --- Stage Manual --- */
.page-banner--manual { background: #493434; }
.page-banner--manual .page-banner__badge { box-shadow: 1px 1px 3px black; font-size: 1.16em; }
.page-banner--manual .page-banner__content { max-width: 40%; top: 40%; }
.page-banner--manual .page-banner__title { color: white; text-shadow: 0.5px 0.5px black; font-size: 0.81em; }
.page-banner--manual .page-banner__desc { color: white; }


/* ------------------------------------------------
   3. BUY NOW — Fixed floating button
   ------------------------------------------------ */
.request_demo p {
    background-color: rgba(243, 62, 21, 0.97); padding: 6px; width: 8.3%;
    font-size: 1.1em; top: 10%; right: 0; position: fixed; z-index: 2;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.41);
    border-top-left-radius: 20px; border-bottom-left-radius: 20px;
    cursor: pointer; text-align: center;
}
.request_demo p a { color: white; text-decoration: none; }
.request_demo p i { font-size: 1.2em; }
@media (max-width: 1200px) { .request_demo p { width: 13%; top: 30%; } }
@media (max-width: 840px)  { .request_demo p { width: 20%; } }
@media (max-width: 768px)  { .request_demo p { display: none; } }


/* ------------------------------------------------
   4. PAGE HEADING
   (Old design: still used by the Stage manual, Stage motorized, Network and Value pages. Delete once they move to the template in section 10.)
   ------------------------------------------------ */
.main-head h1, .main-head h2 {
    font-family: 'Open Sans', sans-serif; text-align: center;
    margin-top: 40px; margin-bottom: 60px; color: #f49632;
}
@media (max-width: 768px) { .main-head h1, .main-head h2 { font-size: 18px; } }


/* ------------------------------------------------
   5. CONTENT SECTIONS
   ------------------------------------------------ */
.content-wrapper { max-width: 1200px; margin: auto; padding: 30px 20px; font-family: 'Open Sans', Arial, sans-serif; }
.content-block { padding: 30px 0; }
.content-block + .content-block { border-top: 1px solid #e0e0e0; }

.content-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }

.content-text h2 { font-size: 34px; margin-bottom: 14px; color: #1a1a1a; }
.content-text p { font-size: 16px; line-height: 1.7; margin-bottom: 14px; color: #444; }
.content-wrapper hr { border: none; border-top: 1px solid #e0e0e0; margin-top: 20px; }

.content-image { text-align: center; }
.content-image img { width: 100%; max-width: 460px; height: auto; max-height: 340px; object-fit: contain; display: inline-block; aspect-ratio: 4 / 3; }

.feature-list { font-size: 16px; list-style: none; padding: 0; margin-top: 12px; }
.feature-list li { margin-bottom: 12px; line-height: 1.6; color: #333; }
.feature-list i { color: #2882c8; margin-right: 8px; }
.feature-list span { font-weight: normal; color: #555; }


/* ------------------------------------------------
   6. BUNDLES / SOFTWARE UPGRADES
   (Old design: still used by the Stage manual, Stage motorized, Network and Value pages. Delete once they move to the template in section 10.)
   ------------------------------------------------ */
.bay_option { background-color: #193b5d; padding: 10px 0 35px 0; margin-top: 10px; margin-bottom: 30px; }
.bay_option h2 { color: #f38815; text-align: center; font-family: 'Open Sans', sans-serif; padding-top: 30px; margin-bottom: 20px; }
.bay_option h3 { color: #f38815; text-align: center; font-family: 'Open Sans', sans-serif; margin-bottom: 10px; }
.bay_option p { text-align: center; font-family: 'Open Sans', sans-serif; color: white; font-size: 18px; padding: 0 20px; line-height: 1.6; }

@media (max-width: 768px) {
    .bay_option { background-color: #23527c; }
    .bay_option h2 { font-size: 18px; }
    .bay_option h3 { font-size: 16px; }
    .bay_option p  { font-size: 14px; }
    .bay_option .col-sm-4 { width: 100%; padding: 10px 20px; }
}


/* ------------------------------------------------
   7. ACCESSORIES
   (Old design: still used by the Stage manual, Stage motorized, Network and Value pages. Delete once they move to the template in section 10.)
   ------------------------------------------------ */
.ACCESSORIES { margin-bottom: 50px; }
.ACCESSORIES h2 { color: #f38815; font-family: 'Open Sans', sans-serif; text-align: center; margin-top: 30px; margin-bottom: 40px; }
.ACCESSORIES .main_acc { margin-bottom: 40px; }

.con_acc { display: flex; flex-direction: column; align-items: center; min-height: 220px; padding: 10px; }
.con_acc img { width: 100%; max-width: 150px; height: 150px; object-fit: contain; flex-shrink: 0; transition: transform 0.4s ease; }
.con_acc img:hover { transform: scale(1.15); }
.con_acc p { margin-top: 15px; text-align: center; color: orange; font-size: 14px; font-family: 'Open Sans', sans-serif; }
.con_acc a { text-decoration: none; color: inherit; }

@media (max-width: 768px) {
    .ACCESSORIES h2 { font-size: 18px; }
    .ACCESSORIES .col-sm-4 { width: 50%; }
}
@media (max-width: 480px) { .ACCESSORIES .col-sm-4 { width: 100%; } }


/* ------------------------------------------------
   8. EXPLORE BUTTON
   (Old design: still used by the Stage manual, Stage motorized, Network and Value pages. Delete once they move to the template in section 10.)
   ------------------------------------------------ */
.btn-explore {
    display: block; width: fit-content; margin: 15px auto 0;
    background: rgba(243, 62, 21, 0.93); padding: 6px 20px;
    color: white; border-radius: 20px; text-decoration: none;
    transition: background 0.3s ease; font-family: 'Open Sans', sans-serif;
    font-size: 14px; cursor: pointer;
}
.btn-explore:hover { background: #6b8eb1; color: white; }


/* ------------------------------------------------
   9. RESPONSIVE — Content sections
   ------------------------------------------------ */
@media (max-width: 900px) {
    .content-grid { grid-template-columns: 1fr; gap: 25px; }
    .content-text  { order: 1; }
    .content-image { order: 2; }
    .content-text h2 { font-size: 22px; }
}
@media (max-width: 480px) {
    .content-wrapper { padding: 30px 16px; }
    .content-block   { padding: 20px 0; }
    .content-text h2 { font-size: 20px; }
    .content-image img { max-height: 220px; }
}


/* ------------------------------------------------
   10. PRODUCT PAGE TEMPLATE (PTZ and SDI now; the other product pages as they move over)
   Template pages carry <main class="pp-template">, so the old product pages keep their own look.
   Orange headings (the logo's orange); blue for ticks, buttons and links; the software section on navy,
   where the two colours meet. Size picker, software, accessories, and the side "Get a quote" tab.
   The size buttons and row arrows are handled by js/product-page.js; the tab opens the footer's quote form.
   ------------------------------------------------ */

/* Headings in orange on template pages */
.pp-template .content-text h2, .pp-template .pp-acc h2 { color: #d04426; }

/* Size picker: buttons, one details panel, the picture beside it */
.sz-pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 16px; }
.sz-pill { min-width: 64px; min-height: 44px; padding: 0 16px; border: 1px solid #c7c7cc; border-radius: 999px; background: #fff;
  font: inherit; font-size: 16px; font-weight: 600; color: #1a1a1a; cursor: pointer; }
.sz-pill:hover { border-color: #d04426; color: #d04426; }
.sz-pill[aria-pressed="true"] { background: #d04426; border-color: #d04426; color: #fff; }
.sz-pill:focus-visible { outline: 2px solid #3a74c9; outline-offset: 2px; }
.sz-panel { padding: 20px 22px; border: 1px solid #e3e3e8; border-left: 3px solid #d04426; border-radius: 16px; background: #fafafb; }
.sz-panel[hidden] { display: none; }
.sz-panel h3 { margin: 0 0 12px; font-size: 22px; color: #1a1a1a; }
.sz-panel dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; margin: 0 0 18px; font-size: 16px; }
.sz-panel dt { color: #6e6e73; }
.sz-panel dd { margin: 0; color: #1a1a1a; font-weight: 600; }
.sz-custom p { margin: 0 0 16px; font-size: 16px; line-height: 1.6; color: #444; }
.sz-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.sz-quote { display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px; border-radius: 10px; background: #3a74c9;
  color: #fff; font-weight: 600; text-decoration: none; }
.sz-quote:hover, .sz-quote:focus-visible { background: #2c65b9; color: #fff; text-decoration: none; }
.sz-brochure { color: #3a74c9; font-weight: 600; text-decoration: none; }
.sz-brochure.is-soon { color: #8e8e93; font-weight: 500; }
.tbc { color: #8e8e93; font-weight: 400; font-style: italic; }

/* Upgrades: a navy band. "Upgrades" big in orange, "Software That Works With This Prompter" small in white under it
   (both inside the heading, so it still reads in full to search engines and screen readers).
   Three columns with faint dividers; a short orange line under each name.
   Desktop: side by side. Tablets: a row you slide, with side arrows. Phones: swipe. */
.pp-band { margin-top: 20px; background: #14243a; }
.pp-band-in { max-width: 1200px; margin: 0 auto; padding: 48px 20px; font-family: 'Open Sans', Arial, sans-serif; }
.pp-band h2, .pp-acc h2 { margin: 0 0 6px; font-size: 34px; color: #1a1a1a; }
.pp-band h2 { margin-bottom: 32px; color: #fff; }
.pp-band .pp-big { display: block; font-size: 42px; line-height: 1.1; font-weight: 700; color: #ff6a3d; }   /* a touch brighter than #d04426, crisp on navy */
.pp-band .pp-sub { display: block; margin-top: 8px; font-size: 18px; line-height: 1.4; font-weight: 400; color: #fff; }
.pp-lead { margin: 0 0 26px; font-size: 16px; color: #6e6e73; }
.upg-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 0; padding: 0; list-style: none; }
.upg { display: flex; flex-direction: column; gap: 10px; padding: 4px 32px 4px 0; border-right: 1px solid rgba(255, 255, 255, .14); }
.upg + .upg { padding-left: 32px; }
.upg:last-child { padding-right: 0; border-right: 0; }
.upg h3 { position: relative; margin: 0; padding-bottom: 12px; font-size: 22px; line-height: 1.25; color: #fff; }
.upg h3::after { content: ""; position: absolute; left: 0; bottom: 0; width: 28px; height: 2px; border-radius: 2px; background: #ff6a3d; }
.upg p { flex: 1; margin: 0; font-size: 16px; line-height: 1.6; color: #c3cede; }
.upg-link { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; color: #fff; font-weight: 600; text-decoration: none; }
.upg-link:hover, .upg-link:focus-visible { color: #ffb199; text-decoration: none; }
.upg-link svg { color: #ff6a3d; transition: transform .2s ease; }
.upg-link:hover svg { transform: translateX(3px); }

/* Popular Accessories: the five controls in one row of equal cards (all five fit on desktop; 3 on tablets, about 1 on phones);
   "View more controls" beside the heading */
.pp-acc { padding: 48px 0 16px; }
.pp-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 24px; }
.pp-accent { color: #d04426; }                     /* "Popular" in orange, "Accessories" in the normal colour */
.pp-more { display: inline-flex; align-items: center; gap: 6px; color: #3a74c9; font-weight: 600; text-decoration: none; }
.pp-more:hover, .pp-more:focus-visible { color: #2c65b9; text-decoration: none; }
.pp-more svg { transition: transform .2s ease; }
.pp-more:hover svg { transform: translateX(3px); }
.pp-row { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 4 * 16px) / 5); gap: 16px; margin: 0; padding: 4px 0 12px;
  list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.pp-row::-webkit-scrollbar, .upg-row::-webkit-scrollbar { display: none; }
.pp-card { display: flex; flex-direction: column; gap: 10px; padding: 14px; border: 1px solid #e3e3e8; border-radius: 16px; background: #fff;
  scroll-snap-align: start; transition: border-color .2s ease; }
.pp-card:hover { border-color: #d04426; }
.pp-photo { display: flex; align-items: center; justify-content: center; height: 140px; border-radius: 12px; background: #f5f5f7; overflow: hidden; }
.pp-photo img { max-width: 80%; max-height: 80%; object-fit: contain; }
.pp-card h3 { margin: 0; font-size: 16px; line-height: 1.3; color: #1a1a1a; }
.pp-link { align-self: flex-start; color: #3a74c9; font-weight: 600; text-decoration: none; }
.pp-link:hover, .pp-link:focus-visible { color: #2c65b9; text-decoration: none; }

/* Round arrows on the two sides of a row; each hides at its end, both hide when everything fits; phones swipe */
.pp-rail { position: relative; }
.pp-arrow { position: absolute; top: 88px; z-index: 2; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0;
  border: 1px solid #e3e3e8; border-radius: 50%; background: #fff; color: #1a1a1a; box-shadow: 0 4px 14px rgba(0, 0, 0, .12); cursor: pointer; transform: translateY(-50%); }
.pp-band .pp-arrow { top: 50%; }
.pp-arrow--prev { left: -18px; }
.pp-arrow--next { right: -18px; }
.pp-arrow[hidden] { display: none; }
.pp-arrow:hover { border-color: #d04426; color: #d04426; }
.pp-arrow:focus-visible { outline: 2px solid #3a74c9; outline-offset: 2px; }

/* Side tab: "Get a quote" on the right edge (desktop and tablet), in place of the old floating Buy Now.
   The text reads bottom to top; it opens the footer's quote form with the product already filled in. */
.pp-sidetab { position: fixed; top: 50%; right: 0; z-index: 900; display: flex; align-items: center; justify-content: center; padding: 18px 11px;
  border-radius: 0 10px 10px 0; background: #3a74c9; color: #fff; font-family: 'Open Sans', Arial, sans-serif; font-size: 15px; font-weight: 600;
  letter-spacing: .02em; text-decoration: none; writing-mode: vertical-rl; transform: translateY(-50%) rotate(180deg);
  box-shadow: 2px -2px 10px rgba(0, 0, 0, .18); }
.pp-sidetab:hover, .pp-sidetab:focus-visible { background: #2c65b9; color: #fff; text-decoration: none; }
.pp-sidetab:focus-visible { outline: 2px solid #1a1a1a; outline-offset: 2px; }

@media (max-width: 1023px) {
  .upg-row { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 44%; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory;
    scrollbar-width: none; padding-bottom: 6px; }
  .upg, .upg + .upg { padding: 4px 0; border-right: 0; scroll-snap-align: start; }
  .pp-row { grid-auto-columns: calc((100% - 2 * 16px) / 3); }
  .pp-arrow--prev { left: -8px; }
  .pp-arrow--next { right: -8px; }
  .pp-template .pp-arrow--next { right: 36px; }      /* clear of the side "Get a quote" tab on tablets */
}
@media (max-width: 767px) {
  .pp-band h2, .pp-acc h2 { font-size: 26px; }
  .pp-band .pp-big { font-size: 32px; }
  .pp-band .pp-sub { font-size: 16px; }
  .upg-row { grid-auto-columns: 82%; }
  .pp-row { grid-auto-columns: 78%; }
  .pp-arrow { display: none; }
  .pp-sidetab { display: none; }       /* phones: each size has its own quote button */
}