/* ============================================================
   page-prodcat.css — product category pages (one page per product
   type, no individual models). Pairs with page-av.css + page-it.css.
   3D: pure-CSS cuboids built from six faces, rotated by page-prodcat.js.
   Prefix: .pc_
   ============================================================ */

/* ---------- hero: real hotel photograph, darkened; the device stands in a warm spotlight ---------- */
.pc_hero { background: #0b0c0f; }
.pc_bgs { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.pc_bgs img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 62%; opacity: 0; transition: opacity 0.8s ease; }
.pc_bgs img.is_on { opacity: 1; }
.pc_hero::after { content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(8, 8, 10, 0.92) 0%, rgba(8, 8, 10, 0.78) 34%, rgba(8, 8, 10, 0.25) 62%, rgba(8, 8, 10, 0.05) 100%),
              linear-gradient(180deg, rgba(8, 8, 10, 0.45) 0%, rgba(8, 8, 10, 0) 22%, rgba(8, 8, 10, 0) 78%, rgba(8, 8, 10, 0.55) 100%); }
.pc_hero .av_eyebrow { background: rgba(200, 169, 106, 0.1); }

.pc_viewer { width: 460px; justify-self: end; }
.pc_stage { position: relative; height: 470px;
  }
.pc_canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: grab; outline: none; }
.pc_canvas:active { cursor: grabbing; }
.pc_poster { position: absolute; inset: 30px; background: #fff; width: calc(100% - 60px); height: calc(100% - 60px); object-fit: contain; border-radius: 10px; transition: opacity 0.4s; }
.pc_stage.is_3d .pc_poster { opacity: 0; pointer-events: none; }
.pc_parts { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }   /* text source for the tooltips; read by search engines and screen readers */
.pc_tip { position: absolute; left: 0; top: 0; z-index: 3; max-width: 250px; padding: 12px 14px; border-radius: 8px; pointer-events: none;
  background: rgba(10, 12, 16, 0.92); border: 1px solid rgba(200, 169, 106, 0.45); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4); color: #c4ccd8; font-size: 12.5px; line-height: 1.55; }
.pc_tip b { display: block; margin-bottom: 4px; color: #e3cc9c; font-size: 13px; font-weight: 600; }
.pc_tip span { display: block; }

/* form switch under the stage */
.pc_tabs { display: flex; gap: 6px; justify-content: center; margin-top: 16px; }
.pc_tabs button { padding: 8px 14px; border-radius: 50px; border: 1px solid rgba(255, 255, 255, 0.22); background: transparent; color: #c4ccd8;
  font: 600 12.5px Inter, Arial, sans-serif; cursor: pointer; transition: 0.2s; }
.pc_tabs button:hover { border-color: #c8a96a; color: #fff; }
.pc_tabs button[aria-selected="true"] { background: #fff; border-color: #fff; color: #0a0e17; }
.pc_hint { display: block; margin-top: 10px; text-align: center; color: #71829a; font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; }

/* ---------- forms (types, not models) ---------- */
.pc_forms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.pc_formcard { padding: 30px 28px 28px; background: #fff; border: 1px solid #e8ebf0; border-radius: 14px; }
.pc_formcard h3 { margin: 14px 0 8px; font-size: 19px; font-weight: 700; color: #0a0e17; }
.pc_formcard p { margin: 0 0 16px; color: #5f6b7a; font-size: 14.5px; line-height: 1.65; }
.pc_formcard dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: 13.5px; }
.pc_formcard dt { color: #8591a3; }
.pc_formcard dd { margin: 0; color: #1f2937; font-weight: 600; }
.pc_glyph { width: 46px; height: 46px; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: #f6f3ec; color: #86672c; font-size: 20px; }

/* ---------- clients strip ---------- */
.pc_clients { display: flex; flex-wrap: wrap; gap: 10px 12px; }
.pc_clients span { padding: 8px 14px; border: 1px solid #e3e7ed; border-radius: 50px; background: #fff; color: #1f2937; font-size: 13.5px; }

/* ---------- FAQ ---------- */
.pc_faq { max-width: 860px; }
.pc_faq details { border-bottom: 1px solid #e3e7ed; }
.pc_faq summary { cursor: pointer; list-style: none; padding: 20px 36px 20px 0; position: relative; font-size: 16.5px; font-weight: 600; color: #0a0e17; }
.pc_faq summary::-webkit-details-marker { display: none; }
.pc_faq summary::after { content: '+'; position: absolute; right: 4px; top: 16px; font-size: 22px; font-weight: 300; color: #86672c; }
.pc_faq details[open] summary::after { content: '\2013'; }
.pc_faq details p { margin: 0 0 20px; color: #3b4655; font-size: 15px; line-height: 1.7; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .pc_viewer { justify-self: center; margin: 4px auto 44px; }
  .pc_forms { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .pc_viewer { width: 100%; }
  .pc_stage { height: 400px; }
}
@media (prefers-reduced-motion: reduce) {
  .pc_poster { transition: none; }
}

/* =====================================================================
   interactive sections (page-prodcat.js)
   ===================================================================== */

/* form cards = buttons that drive the 3D viewer */
.pc_formcard { position: relative; cursor: pointer; transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s; }
.pc_formcard:hover { border-color: #d9c9a4; box-shadow: var(--shadow-card-hover); }
.pc_formcard:focus-visible { outline: 2px solid #c8a96a; outline-offset: 3px; }
.pc_formcard.is_on { border-color: #c8a96a; box-shadow: 0 0 0 1px #c8a96a, var(--shadow-card-hover); }
.pc_formcard.is_on .pc_glyph { background: #0a0e17; color: #e3cc9c; }
.pc_formgo { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; color: #86672c; font-size: 13px; font-weight: 600; }

/* spec table: the chosen form's column */
html[data-pcform="wall"] .it_table .c_wall,
html[data-pcform="standee"] .it_table .c_standee,
html[data-pcform="kiosk"] .it_table .c_kiosk,
html[data-pcform="bath"] .it_table .c_bath,
html[data-pcform="suite"] .it_table .c_suite,
html[data-pcform="rugged"] .it_table .c_rugged,
html[data-pcform="keypad"] .it_table .c_keypad,
html[data-pcform="desk"] .it_table .c_desk,
html[data-pcform="compact"] .it_table .c_compact,
html[data-pcform="trimline"] .it_table .c_trimline,
html[data-pcform="neo"] .it_table .c_neo { background: #fbf6ea; color: #0a0e17; font-weight: 600; }
html[data-pcform="wall"] .it_table thead .c_wall,
html[data-pcform="standee"] .it_table thead .c_standee,
html[data-pcform="kiosk"] .it_table thead .c_kiosk,
html[data-pcform="bath"] .it_table thead .c_bath,
html[data-pcform="suite"] .it_table thead .c_suite,
html[data-pcform="rugged"] .it_table thead .c_rugged,
html[data-pcform="keypad"] .it_table thead .c_keypad,
html[data-pcform="desk"] .it_table thead .c_desk,
html[data-pcform="compact"] .it_table thead .c_compact,
html[data-pcform="trimline"] .it_table thead .c_trimline,
html[data-pcform="neo"] .it_table thead .c_neo { background: #c8a96a; color: #0a0e17; }
.it_table td, .it_table th { transition: background 0.3s; }

/* size guide */
.pc_size { display: grid; grid-template-columns: 340px 1fr; gap: 36px; align-items: center; background: #fff; border: 1px solid #e8ebf0; border-radius: 16px; padding: 32px; }
.pc_seg { display: inline-flex; padding: 4px; border-radius: 50px; background: #f1f3f6; gap: 2px; }
.pc_seg button { padding: 8px 14px; border: 0; border-radius: 50px; background: transparent; color: #5f6b7a; font: 600 13px Inter, Arial, sans-serif; cursor: pointer; }
.pc_seg button[aria-selected="true"] { background: #0a0e17; color: #fff; }
.pc_sizes { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 24px; }
.pc_sizes button { min-width: 56px; padding: 10px 12px; border: 1px solid #e3e7ed; border-radius: 8px; background: #fff; color: #1f2937; font: 700 15px Inter, Arial, sans-serif; cursor: pointer; transition: 0.2s; }
.pc_sizes button:hover { border-color: #c8a96a; }
.pc_sizes button[aria-pressed="true"] { background: #c8a96a; border-color: #c8a96a; color: #0a0e17; }
.pc_dims { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; }
.pc_dims div { padding: 12px; border-radius: 8px; background: #f7f8fa; }
.pc_dims dt { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #5f6b7a; }
.pc_dims dd { margin: 4px 0 0; font-size: 16px; font-weight: 700; color: #0a0e17; font-variant-numeric: tabular-nums; }
.pc_size_note { margin: 16px 0 0; color: #5f6b7a; font-size: 13px; line-height: 1.6; }
.pc_size_vis svg { display: block; width: 100%; height: auto; }
.pc_sv_floor { stroke: #c9ced6; stroke-width: 2; }
.pc_sv_person { fill: #d5dae2; }
.pc_sv_screen { fill: #0f1b2b; stroke: #0a0e17; stroke-width: 4; }
.pc_sv_cab, .pc_sv_counter { fill: #2a3039; }
.pc_sv_counter { fill: #cdb48a; opacity: 0.55; }
.pc_sv_in { fill: #e3cc9c; font: 700 18px Inter, Arial, sans-serif; text-anchor: middle; }
.pc_sv_lbl { fill: #5f6b7a; font: 600 13px Inter, Arial, sans-serif; text-anchor: middle; }
.pc_sv_l { text-anchor: start; }
.pc_sv_dim { stroke: #c8a96a; stroke-width: 1.5; }
.pc_size_vis svg * { transition: all 0.35s ease; }

/* hotel floor plan */
.pc_map { display: grid; grid-template-columns: 1fr 320px; gap: 28px; align-items: center; }
.pc_plan { display: block; width: 100%; height: auto; }
.pc_plan_bg { fill: #fff; stroke: #e3e7ed; stroke-width: 2; }
.pc_zone { cursor: pointer; outline: none; }
.pc_zone rect { fill: #f3f4f6; stroke: #d5dae2; stroke-width: 1.5; transition: fill 0.2s, stroke 0.2s; }
.pc_zone text { fill: #1f2937; font: 700 15px Inter, Arial, sans-serif; text-anchor: middle; pointer-events: none; }
.pc_zone text.s { fill: #5f6b7a; font-weight: 500; font-size: 12px; }
.pc_zone:hover rect, .pc_zone:focus-visible rect { fill: #faf5ea; stroke: #c8a96a; }
.pc_zone.is_on rect { fill: #0a0e17; stroke: #0a0e17; }
.pc_zone.is_on text { fill: #fff; }
.pc_zone.is_on text.s { fill: #e3cc9c; }
.pc_zinfo { padding: 28px; background: #fff; border: 1px solid #e8ebf0; border-radius: 14px; }
.pc_zinfo h3 { margin: 4px 0 16px; font-size: 20px; font-weight: 700; color: #0a0e17; }
.pc_zinfo dl { margin: 0 0 20px; display: grid; gap: 4px; }
.pc_zinfo dt { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #8591a3; margin-top: 8px; }
.pc_zinfo dd { margin: 0; color: #1f2937; font-size: 15px; line-height: 1.55; }
.pc_zgo { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border: 0; border-radius: 4px; background: #0a0e17; color: #fff; font: 600 13.5px Inter, Arial, sans-serif; cursor: pointer; }
.pc_zgo:hover { background: #c8a96a; color: #0a0e17; }

/* quick enquiry */
.pc_quote { display: grid; grid-template-columns: 1fr 360px; gap: 28px; align-items: start; }
.pc_qrows { display: grid; gap: 12px; }
.pc_qrow { display: grid; grid-template-columns: 1fr 110px 140px; align-items: center; gap: 16px; padding: 16px 20px; background: #fff; border: 1px solid #e8ebf0; border-radius: 12px; transition: border-color 0.2s; }
.pc_qrow.is_on { border-color: #c8a96a; }
.pc_qrow b { font-size: 16px; color: #0a0e17; }
.pc_qrow select { height: 40px; padding: 0 10px; border: 1px solid #e3e7ed; border-radius: 8px; background: #fff; font: 600 14px Inter, Arial, sans-serif; color: #1f2937; }
.pc_step { display: flex; align-items: center; justify-content: space-between; border: 1px solid #e3e7ed; border-radius: 8px; overflow: hidden; }
.pc_step button { width: 42px; height: 40px; border: 0; background: #f7f8fa; font-size: 18px; color: #0a0e17; cursor: pointer; }
.pc_step button:hover { background: #faf5ea; }
.pc_step output { flex: 1; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.pc_qnote { display: grid; gap: 8px; padding: 16px 20px; background: #fff; border: 1px solid #e8ebf0; border-radius: 12px; color: #5f6b7a; font-size: 13.5px; font-weight: 600; }
.pc_qnote textarea { width: 100%; resize: vertical; padding: 10px 12px; border: 1px solid #e3e7ed; border-radius: 8px; font: 500 14px/1.5 Inter, Arial, sans-serif; color: #1f2937; }
.pc_qsum { position: sticky; top: 100px; padding: 26px; background: #0a0e17; border-radius: 14px; color: #c4ccd8; }
.pc_qsum h3 { margin: 0 0 12px; color: #fff; font-size: 18px; }
.pc_qempty { margin: 0; color: #8591a3; font-size: 14px; }
.pc_qlist { list-style: none; margin: 0; padding: 0; }
.pc_qlist li { padding: 10px 0; border-top: 1px solid rgba(255, 255, 255, 0.1); color: #fff; font-size: 15px; }
.pc_qbtns { display: grid; gap: 10px; margin-top: 18px; }
.pc_qbtns a { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 13px; border-radius: 6px; font-weight: 600; font-size: 14px; text-decoration: none; }
.pc_qwa { background: #fff; color: #0a0e17 !important; }
.pc_qwa:hover { background: #c8a96a; }
.pc_qmail { border: 1px solid rgba(255, 255, 255, 0.35); color: #fff !important; }
.pc_qmail:hover { background: rgba(255, 255, 255, 0.08); }
.pc_qbtns a.is_off { opacity: 0.35; pointer-events: none; }

@media (max-width: 1100px) {
  .pc_size, .pc_map, .pc_quote { grid-template-columns: 1fr; }
  .pc_qsum { position: static; }
}
@media (max-width: 600px) {
  .pc_size { padding: 20px; }
  .pc_dims { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
  .pc_dims dd { font-size: 14px; }
  .pc_qrow { grid-template-columns: 1fr 1fr; }
  .pc_qrow b { grid-column: 1 / -1; }
  .pc_zone text { font-size: 18px; } .pc_zone text.s { display: none; }
}

@media (max-width: 1100px) {
  .pc_hero::after { background: linear-gradient(180deg, rgba(8, 8, 10, 0.88) 0%, rgba(8, 8, 10, 0.7) 45%, rgba(8, 8, 10, 0.2) 75%, rgba(8, 8, 10, 0.5) 100%); }
  .pc_bgs img { object-position: 70% 70%; }
}
@media (prefers-reduced-motion: reduce) { .pc_bgs img { transition: none; } }

/* tabs + hint sit on the scene photo: give them their own dark glass */
.pc_tabs { width: max-content; margin: 16px auto 0; padding: 5px; border-radius: 50px; background: rgba(8, 8, 10, 0.62); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.pc_tabs button { border-color: transparent; }
.pc_hint { width: max-content; max-width: 100%; margin: 10px auto 0; padding: 4px 12px; border-radius: 50px; background: rgba(8, 8, 10, 0.5); color: #b9c2d0; }
.pc_h_touch { display: none; }
@media (hover: none) { .pc_h_mouse { display: none; } .pc_h_touch { display: inline; } }

/* two-type pages */
.pc_forms_2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 1100px) { .pc_forms_2 { grid-template-columns: 1fr; } }

/* mirror TV: power switch on the stage */
.pc_power { position: absolute; left: 14px; bottom: 14px; z-index: 3; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50px; background: rgba(8, 8, 10, 0.6); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: #fff; font: 600 12.5px Inter, Arial, sans-serif; cursor: pointer; transition: 0.2s; }
.pc_power i { color: #8591a3; transition: color 0.2s; }
.pc_power[aria-pressed="true"] i { color: #6ee7a8; }
.pc_power:hover { border-color: #c8a96a; }
.pc_power[hidden] { display: none; }

/* IPTV screens and Bittel handset colours: toggle buttons in the tab bar */
.pc_tabs button[aria-pressed="true"] { background: #fff; border-color: #fff; color: #0a0e17; }
.pc_swatches button { display: inline-flex; align-items: center; gap: 7px; }
.pc_swatches i { width: 12px; height: 12px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35); }
.pc_hero .av_hero_inner > * { min-width: 0; }   /* a wide tab bar must not stretch the grid column on phones */
@media (max-width: 480px) { .pc_tabs { width: auto; max-width: 100%; flex-wrap: wrap; border-radius: 18px; } .pc_tabs button { padding: 8px 11px; } }

.pc_note { margin: 22px 0 0; color: #5f6b7a; font-size: 14px; line-height: 1.6; }
.pc_note a { color: #86672c; font-weight: 600; }
a.pc_proj { display: block; text-decoration: none; }

/* IPTV editions */
.pc_tiers { background: #fff; border: 1px solid #e8ebf0; border-radius: 16px; padding: 26px; }
.pc_tierbar { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.pc_tierbar button { padding: 16px 18px; border: 1px solid #e3e7ed; border-radius: 12px; background: #fff; text-align: left; cursor: pointer; font-family: Inter, Arial, sans-serif; transition: 0.2s; }
.pc_tierbar button b { display: block; font-size: 17px; color: #0a0e17; }
.pc_tierbar button span { display: block; margin-top: 4px; color: #5f6b7a; font-size: 13px; }
.pc_tierbar button:hover { border-color: #c8a96a; }
.pc_tierbar button[aria-selected="true"] { background: #0a0e17; border-color: #0a0e17; }
.pc_tierbar button[aria-selected="true"] b { color: #fff; }
.pc_tierbar button[aria-selected="true"] span { color: #e3cc9c; }
.pc_tierlist { list-style: none; margin: 22px 0 0; padding: 0; columns: 2; column-gap: 28px; }
.pc_tierlist li { break-inside: avoid; position: relative; padding: 11px 0 11px 30px; border-top: 1px solid #eef0f3; color: #3b4655; font-size: 14.5px; line-height: 1.5; transition: opacity 0.25s, color 0.25s; }
.pc_tierlist li::before { content: '\2713'; position: absolute; left: 4px; top: 11px; color: #86672c; font-weight: 700; }
.pc_tierlist li b { color: #0a0e17; }
.pc_tierlist li.is_off { opacity: 0.35; }
.pc_tierlist li.is_off::before { content: '\2013'; color: #a0a9b6; }
.pc_tierlist li.is_new { background: linear-gradient(90deg, #fbf6ea, transparent 70%); }
@media (max-width: 768px) { .pc_tierbar { grid-template-columns: 1fr; } .pc_tierlist { columns: 1; } .pc_tiers { padding: 16px; } }

/* products hub */
.pc_hub { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 22px; }
.pc_hubcard { grid-column: span 2; display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid #e8ebf0; border-radius: 14px; text-decoration: none; transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s; }
.pc_hubcard:nth-child(4), .pc_hubcard:nth-child(5) { grid-column: span 3; }
.pc_hubcard img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; object-position: 70% 60%; }
.pc_hubcard div { padding: 22px 24px 24px; }
.pc_hubcard h2 { margin: 8px 0 8px; font-size: 22px; font-weight: 700; color: #0a0e17; }
.pc_hubcard p { margin: 0; color: #5f6b7a; font-size: 14.5px; line-height: 1.6; }
.pc_hubcard:hover { border-color: #d9c9a4; box-shadow: var(--shadow-card-hover); transform: translateY(-3px); }
.pc_hubmore { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.pc_hubmore a { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border: 1px solid #e3e7ed; border-radius: 50px; background: #fff; color: #1f2937; font-size: 14px; font-weight: 600; text-decoration: none; }
.pc_hubmore a:hover { border-color: #c8a96a; color: #86672c; }
@media (max-width: 1100px) { .pc_hub { grid-template-columns: 1fr 1fr; } .pc_hubcard, .pc_hubcard:nth-child(4), .pc_hubcard:nth-child(5) { grid-column: auto; } }
@media (max-width: 640px) { .pc_hub { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .pc_hubcard { transition: none; } .pc_hubcard:hover { transform: none; } }
