/* Public landing page - based on InflightTemplateStage/index.html */
    @font-face {
      font-family: 'Manrope';
      src: url('../Fonts/manrope-latin-wght-normal.woff2') format('woff2-variations'),
           url('../Fonts/manrope-latin-wght-normal.woff2') format('woff2');
      font-weight: 200 800; /* Declares the supported variable range */
      font-style: normal;
      font-display: swap;
    }

    * { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }

    html, body {
      background-color: #ffffff;
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans", Arial, sans-serif;
      color: #ffffff; 
      max-width: 100%; 
      overflow-x: clip;
      scrollbar-width: none;
      -ms-overflow-style: none;
    }

    html::-webkit-scrollbar,
    body::-webkit-scrollbar {
      display: none;
      width: 0;
      height: 0;
    }

    /* 1. Header Bar */
    .global-header {
      height: clamp(50px, 4.5vw, 70px);
      display: flex; 
      align-items: center; 
      justify-content: space-between;
      padding: 0 2%; 
      position: sticky; 
      top: 0; 
      left: 0; 
      width: 100%; 
      z-index: 100;
      background-color: transparent; 
      border-bottom: none; 
      box-shadow: none;
    }

    .platform-logo { 
      height: clamp(34px, 3.2vw, 50px); 
      display: flex; 
      align-items: center; 
      gap: clamp(8px, 1vw, 14px); 
    }
    .platform-logo img { height: 100%; width: auto; object-fit: contain; }

    .platform-sub-brand {
      color: #ff5515; 
      font-family: 'Manrope', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
      font-size: clamp(1.4rem, 2.2vw, 1.8rem);
      font-weight: 800;
      line-height: 1;
      letter-spacing: -0.06em;
      margin-top: -4px;
      text-shadow: 0 2px 4px rgba(0, 0, 0, 0);
      position: absolute; 
      left: 50%; 
      transform: translateX(-50%); 
      margin: 0;
    }

    .header-nav-menu { 
      display: flex; 
      align-items: center; 
      gap: clamp(12px, 1.6vw, 24px); 
    }
    .nav-menu-btn { 
      background: transparent; 
      border: none; 
      padding: 0; 
      height: clamp(34px, 3.2vw, 50px); 
      cursor: pointer; 
      display: flex; 
      align-items: center; 
      transition: opacity 0.2s ease; 
    }
    .nav-menu-btn:hover { opacity: 0.8; }
    .nav-menu-btn img { height: 100%; width: auto; object-fit: contain; }
    .pv-hamburger-btn { display: none; }
    .nav-btn-label { display: none; }

    /* 2. Hero Carousel Viewport */
    .pv-carousel-viewport {
      margin: calc(-1 * clamp(50px, 4.5vw, 70px)) auto 0 auto !important;
      width: 100%;
      max-width: 1920px;
      aspect-ratio: 16 / 9;
      overflow: hidden;
      position: relative;
    }

    .global-header::after {
      content: ''; 
      position: absolute; 
      top: 0; 
      left: 0; 
      width: 100%; 
      height: clamp(80px, 7.3vw, 140px); 
      z-index: -1; 
      pointer-events: none; 
      background-image: url('../Images/Home/header-cloud-bg.png');
      background-size: 100% 100%; 
      background-repeat: no-repeat; 
      background-position: top center;
    }

    .global-header.is-scrolled::after { 
      background-image: url('../Images/Home/header-cloud-bg.png'); 
    }

    .pv-carousel-track { 
      position: relative; 
      width: 100%; 
      height: 100%; 
      display: flex; 
      opacity: 0; 
      transition: opacity 0.25s ease-in; 
    }
    .pv-carousel-track.is-ready { opacity: 1; }

    .pv-hero-banner { 
      position: absolute; top: 0; left: 0; width: 100%; height: 100%; 
      background-color: #ffffff; opacity: 0; z-index: 1; 
      transition: none; 
    }
    .pv-hero-banner.is-active { 
      position: relative; opacity: 1; z-index: 2; 
    }

    .cloud-transition-curtain {
      position: absolute;
      inset: 0;
      pointer-events: none;
      z-index: 20;
      overflow: hidden;
      opacity: 0;
      transition: opacity 0.4s ease;
    }
    
    .cloud-layer-base {
      position: absolute;
      inset: -10%;
      background: radial-gradient(circle at center, rgba(255,255,255,0.9) 0%, #ffffff 80%);
      opacity: 0;
      transform: scale(1.05);
      transition: opacity 0.4s ease, transform 0.4s ease;
    }

    .cloud-layer-wisps {
      position: absolute;
      inset: -20%;
      background: radial-gradient(ellipse at 30% 40%, rgba(255,255,255,1) 0%, transparent 60%),
                  radial-gradient(ellipse at 70% 60%, rgba(255,255,255,1) 0%, transparent 65%);
      opacity: 0;
      filter: blur(12px);
      transform: scale(1.1) translateX(-20px);
      transition: opacity 0.3s ease, transform 0.3s ease;
    }

    .cloud-transition-curtain.is-white { opacity: 1; transition: opacity 0.4s ease; }
    .cloud-transition-curtain.is-white .cloud-layer-base { opacity: 1; transform: scale(1); transition: opacity 0.4s ease-out, transform 0.4s ease-out; }
    .cloud-transition-curtain.is-white .cloud-layer-wisps { opacity: 0.85; transform: scale(1) translateX(0px); transition: opacity 0.5s ease-in, transform 0.4s ease-out; }
    .notransition, .notransition * { transition: none !important; }

    .hero-footer-transition { 
      position: absolute; 
      bottom: 0; 
      left: 0; 
      width: 100%; 
      height: clamp(60px, 5.2vw, 100px); 
      margin-top: 0; 
      background-color: transparent; 
      z-index: 8; 
      pointer-events: none; 
    }

    .hero-footer-transition::after {
      content: ''; 
      position: absolute; 
      bottom: 0; 
      left: 0; 
      width: 100%; 
      height: 100%; 
      background-image: url('../Images/Home/header-cloud-bg.png'); 
      background-size: 100% 100%; 
      background-repeat: no-repeat; 
      background-position: bottom center; 
      transform: scaleY(-1); 
      z-index: -1; 
      pointer-events: none; 
    }

    .hero-cropper-window { 
      position: absolute; 
      inset: 0; 
      width: 100%; 
      height: 100%; 
      overflow: hidden; 
      display: flex; 
      align-items: center; 
      justify-content: center; 
      background-color: #ffffff; 
      z-index: 1; 
    }

    .hero-master-canvas { 
      position: relative; 
      aspect-ratio: 16 / 9; 
      width: 100%; 
      min-height: 100%; 
      object-fit: cover; 
    }
    
    picture.cabin-matte, 
    .cabin-matte { 
      position: absolute; 
      inset: 0; 
      width: 100%; 
      height: 100%; 
      z-index: 2; 
      pointer-events: none; 
      display: block; 
    }

    picture.cabin-matte img, 
    .cabin-matte img { 
      width: 100%; 
      height: 100%; 
      object-fit: cover; 
      display: block; 
    }

    .seatback-screen-track { 
      position: absolute; 
      top: 0; 
      left: 0; 
      width: 1280px; 
      height: 720px;
      z-index: 3; /* above .cabin-matte - the jpg overlays have no transparent screen cut-out */
      transform-origin: 0 0;
      will-change: transform; 
      cursor: pointer;
      transform-style: preserve-3d;
      backface-visibility: hidden;
      -webkit-backface-visibility: hidden;
      isolation: isolate;
    }
    .seatback-screen-track::after {
      content: ''; position: absolute; inset: 0; z-index: 10; pointer-events: none; 
      background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.03) 40%, transparent 50%); 
      box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5);
    }

    .pv-hero-banner .seatback-screen-track picture, 
    .pv-hero-banner .seatback-screen-track picture img, 
    .pv-hero-banner .seatback-screen-track img,
    .hero-vimeo {
      display: block; 
      width: 100%; 
      height: 100%; 
      object-fit: cover; 
      z-index: 1; 
      opacity: 0;
      backface-visibility: hidden;
      -webkit-backface-visibility: hidden;
      transform: translateZ(0);
    }
    .pv-hero-banner.is-active .seatback-screen-track picture, 
    .pv-hero-banner.is-active .seatback-screen-track picture img, 
    .pv-hero-banner.is-active .seatback-screen-track img { opacity: 1; }

    .hero-vimeo { 
      position: absolute; 
      inset: 0; 
      width: 100%; 
      height: 100%; 
      z-index: 2; 
      border: none; 
      pointer-events: none;
    }
    .pv-hero-banner.is-active .hero-vimeo { transition: opacity 0.40s ease-in-out 0.2s; }
    .pv-hero-banner.trailer-is-playing .seatback-screen-track picture { opacity: 0; transition: opacity 0.6s ease-in-out; }
    .pv-hero-banner.trailer-is-playing .hero-vimeo { opacity: 1; transition: opacity 0.8s ease-in-out 0.6s; }

    /* =========================================================
       IFE 3D WARM EDITORIAL B2B WELCOME OVERLAY
       ========================================================= */
    .ife-welcome-layer {
      position: absolute;
      inset: 0;
      z-index: 25; /* Sits above gatekeeper overlay */
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      padding: 45px 85px 35px 85px;
      background: radial-gradient(ellipse at 50% 30%, rgba(255, 85, 21, 0.12) 0%, transparent 65%),
                  radial-gradient(circle at 50% 60%, rgba(24, 34, 76, 0.95) 0%, rgba(12, 16, 28, 0.98) 100%);
      transform: translateZ(3px);
      backface-visibility: hidden;
      -webkit-backface-visibility: hidden;
      transition: opacity 0.5s cubic-bezier(0.25, 1, 0.5, 1), visibility 0.5s ease;
      cursor: pointer;
      user-select: none;
    }

    .ife-welcome-layer.is-hidden {
      opacity: 0;
      visibility: hidden;
      pointer-events: none;
    }

    .ife-editorial-header {
      display: flex;
      justify-content: center;
      align-items: center;
      border-bottom: 1px solid rgba(255, 85, 21, 0.25);
      padding-bottom: 14px;
      width: 100%;
    }

    .ife-editorial-tag {
      font-size: 1.25rem;
      letter-spacing: 0.16em;
      color: #cbd5e1;
      font-weight: 700;
      text-transform: uppercase;
      text-align: center;
    }

    .ife-welcome-body {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
      max-width: 980px;
      margin: auto;
    }

    /* Push the text content forward in 3D space so it sits above the blue gradient */
    .ife-welcome-body,
    .ife-editorial-header {
      transform: translateZ(2px);
      position: relative;
      z-index: 10;
    }

    /* Ensure the text has full opacity and crisp rendering */
    .ife-welcome-headline,
    .ife-editorial-lead,
    .ife-editorial-subtext,
    .ife-editorial-tag {
      opacity: 1 !important;
      visibility: visible !important;
    }

    .ife-welcome-headline {
      color: #ffffff;
      font-size: 4.8rem;
      font-weight: 800;
      line-height: 1.08;
      letter-spacing: -0.02em;
      margin-bottom: 40px;
      text-shadow: 0 4px 20px rgba(0, 0, 0, 0.7);
    }

    .ife-brand-inline {
      font-family: 'Manrope', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
      font-size: inherit; /* Scales cleanly with .ife-welcome-headline */
      font-weight: 800;   /* Matches headline weight */
      color: #ff5515;
      display: inline;
      letter-spacing: -0.06em;
      padding: 0 0.15em;
      text-shadow: none;
    }

    .ife-editorial-lead,
    .ife-editorial-subtext {
      color: #f8fafc;
      font-size: 1.5rem;
      line-height: 1.55;
      margin-bottom: 16px;
      font-weight: 400;
      max-width: 900px;
    }

    .ife-editorial-subtext {
      color: #f8fafc;
      margin-bottom: 8px;
    }

    .ife-timer-bar {
      width: 100%;
      height: 4px;
      background: rgba(255, 255, 255, 0.12);
      border-radius: 2px;
      overflow: hidden;
      margin-top: 14px;
    }

    .ife-timer-progress {
      height: 100%;
      width: 100%;
      background: #ff5515;
      transform-origin: left;
      transition: transform 10s linear;
    }

    /* Hero Text Details */
    .pv-hero-content { 
      position: absolute; 
      top: 10%; 
      bottom: 8%; 
      left: 4%; 
      width: clamp(180px, 26vw, 380px); 
      z-index: 5; 
      opacity: 0; 
      display: flex;
      flex-direction: column;
      justify-content: center;
      pointer-events: none;
    }
    .pv-hero-banner.is-active .pv-hero-content { opacity: 1; }

    .pv-meta-layout-stack { 
      display: flex; 
      flex-direction: column; 
      gap: clamp(8px, 1.2vw, 16px); 
      align-items: flex-start; 
      width: 100%;
    }

    .pv-poster-frame { 
      position: relative;
      flex: 0 0 auto; 
      width: clamp(100px, 16vw, 350px); 
      aspect-ratio: 2 / 3; 
      border-radius: 0.3vw;
      overflow: hidden;
      cursor: pointer;
      box-shadow: 0 0.6vw 1.8vw rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.1); 
      background-color: #111111; 
      opacity: 0; 
      pointer-events: auto;
    }
    .pv-hero-banner.is-active .pv-poster-frame { opacity: 1; }
    .pv-poster-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }

    .pv-text-details { width: 100%; display: flex; flex-direction: column; }
    
    .pv-movie-availability { 
      color: #202d60; 
      font-size: clamp(0.75rem, 0.9vw, 1.1rem); 
      font-weight: 600; 
      margin-top: 0.1rem; 
      margin-bottom: clamp(2px, 0.3vw, 6px); 
      display: block; 
    }
    
    .pv-movie-title { 
      font-size: clamp(1.2rem, 1.8vw, 2.1rem); 
      font-weight: 800; 
      color: #ff5515; 
      line-height: 1.15; 
      margin-bottom: clamp(2px, 0.25vw, 4px); 
      letter-spacing: -0.5px; 
      text-shadow: 0 2px 4px rgba(255, 255, 255, 0.9), 0 4px 16px rgba(255, 255, 255, 0.8), 0 0 30px rgba(0, 0, 0, 0.5);
    }

    .pv-movie-orig-title { 
      font-size: clamp(0.9rem, 1.15vw, 1.3rem); 
      font-weight: 600; 
      color: #202d60; 
      line-height: 1.2; 
      margin-bottom: clamp(4px, 0.4vw, 8px); 
      letter-spacing: -0.2px; 
    }
    
    .pv-movie-language { 
      color: #202d60; 
      font-size: clamp(0.65rem, 0.75vw, 0.85rem); 
      font-weight: 600; 
      text-transform: uppercase; 
      letter-spacing: 0.05em; 
      margin-bottom: clamp(2px, 0.3vw, 5px); 
    }
    
    .pv-movie-desc { 
      color: #000000; 
      font-size: clamp(0.75rem, 0.95vw, 1.05rem); 
      line-height: 1.35; 
      margin-bottom: 0.2rem; 
      display: -webkit-box; 
      -webkit-line-clamp: 3; 
      -webkit-box-orient: vertical; 
      overflow: hidden; 
    }

    .pv-hero-actions { 
      display: flex; 
      gap: clamp(8px, 0.8vw, 12px); 
      align-items: center; 
      margin-top: clamp(6px, 0.8vw, 14px); 
      pointer-events: auto;
    }
    
    .btn-circle { 
      background-color: rgba(255, 255, 255, 0.15); 
      color: #ffffff; 
      border: none; 
      box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3); 
      width: clamp(32px, 2.8vw, 44px); 
      height: clamp(32px, 2.8vw, 44px); 
      font-size: clamp(1rem, 1.3vw, 1.5rem); 
      border-radius: 50%; 
      cursor: pointer; 
      display: flex; 
      align-items: center; 
      justify-content: center; 
      transition: all 0.2s cubic-bezier(0.25, 1, 0.5, 1); 
    }
    .btn-circle:hover { background-color: rgba(255, 255, 255, 0.25); box-shadow: inset 0 0 0 1px #ffffff; }

    .pv-carousel-dots { 
      position: relative; 
      margin-top: clamp(10px, 1.2vw, 1.5rem); 
      z-index: 10; 
      display: flex; 
      gap: clamp(5px, 0.5vw, 8px); 
      align-items: center; 
      pointer-events: auto; 
    }
    .pv-dot { 
      width: clamp(6px, 0.55vw, 8px); 
      height: clamp(6px, 0.55vw, 8px); 
      border-radius: 50%; 
      background-color: rgba(255, 255, 255, 0.3); 
      border: none; 
      cursor: pointer; 
      padding: 0; 
      transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1); 
    }
    .pv-dot.is-active { 
      background-color: #ffffff; 
      width: clamp(16px, 1.6vw, 24px); 
      border-radius: 4px; 
    }

    /* 3. Shelf Structure */
    .pv-shelf-container { 
      background-color: #ffffff; 
      padding: 10px 0 40px 0; 
      position: relative; 
      z-index: 10; 
      overflow: visible; 
      margin-top: -20px; 
    }
    .pv-shelf-title { font-size: 2rem; font-weight: 700; margin-bottom: 12px; color: #212963; letter-spacing: -0.5px; padding: 0 4%; }
    .pv-shelf-viewport { position: relative; width: 100%; overflow: visible; }
    .pv-shelf-viewport::-webkit-scrollbar { display: none; }

    .pv-shelf-row { 
      display: flex; 
      flex-wrap: nowrap; 
      gap: 16px; 
      width: max-content; 
      padding: 10px 4% 25px 4%; 
      margin: 0; 
      align-items: stretch; 
      transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1); 
    }
    
    .pv-shelf-item { 
      position: relative; 
      flex: 0 0 calc((92vw - 80px) / 6); 
      min-width: 125px; 
      display: flex;
      flex-direction: column;
      height: auto;
      cursor: pointer;
    }

    @media screen and (max-width: 1400px) {
      .pv-shelf-item { flex: 0 0 calc((92vw - 64px) / 5); }
    }
    @media screen and (max-width: 1150px) {
      .pv-shelf-item { flex: 0 0 calc((92vw - 48px) / 4); }
    }
    @media screen and (max-width: 900px) {
      .pv-shelf-item { flex: 0 0 calc((92vw - 32px) / 3); }
    }

    .pv-shelf-item[data-clipped="true"] { pointer-events: none; }

    .pv-shelf-popover { 
      position: relative; 
      width: 100%;
      height: 100%;
      flex: 1 1 auto;
      background-color: #1a1a1a; 
      border-radius: 6px; 
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); 
      transform-origin: center center; 
      transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.3s ease, border-color 0.3s ease; 
      z-index: 10; 
      border: 1px solid rgba(255, 255, 255, 0.05); 
      display: flex; 
      flex-direction: column; 
    }

    .pv-shelf-thumb { 
      width: 100%; 
      aspect-ratio: 2 / 3; 
      object-fit: cover; 
      display: block; 
      flex: 0 0 auto; 
      border-radius: 6px 6px 0 0; 
    }

    .pv-shelf-details-drawer { 
      width: 100%; 
      flex: 1 1 auto; 
      padding: 10px 10px 14px 10px; 
      display: flex; 
      flex-direction: column; 
      gap: 4px; 
      opacity: 1; 
      visibility: visible; 
      background: linear-gradient(to bottom, #1a1a1a 0%, #111111 100%); 
      border-radius: 0 0 6px 6px; 
    }

    .pv-shelf-release-month { 
      font-size: 0.72rem; 
      text-transform: uppercase; 
      letter-spacing: 0.08em; 
      color: #ff5515; 
      font-weight: 800; 
      margin-bottom: 0; 
      flex-shrink: 0; 
    }
    
    .pv-shelf-meta-title { 
      font-size: 1.1rem; 
      font-weight: 700; 
      color: #ffffff; 
      line-height: 1.3; 
      height: auto !important; 
      min-height: auto !important;
      max-height: none !important;
      display: -webkit-box; 
      -webkit-line-clamp: 2; 
      -webkit-box-orient: vertical; 
      overflow: hidden; 
      padding-bottom: 2px;
      flex-shrink: 0; 
    }

    .pv-shelf-orig-title { 
      font-size: 0.78rem; 
      font-weight: 500; 
      color: #94a3b8; 
      line-height: 1.25; 
      height: auto !important; 
      min-height: auto !important;
      display: -webkit-box; 
      -webkit-line-clamp: 2; 
      -webkit-box-orient: vertical; 
      overflow: hidden; 
      margin-top: -1px;
      margin-bottom: 3px; 
      flex-shrink: 0; 
    }

    .pv-shelf-language { 
      font-size: 0.7rem; 
      color: #94a3b8; 
      font-weight: 600; 
      margin-top: 1px; 
      flex-shrink: 0; 
    }
    
    .pv-shelf-tags { 
      display: flex; 
      align-items: center; 
      gap: 6px; 
      font-size: 0.72rem; 
      color: #cbd5e1; 
      font-weight: 600; 
      margin-top: 2px; 
      flex-shrink: 0; 
    }
    
    .tag-rating { 
      background-color: #334155; 
      color: #ffffff; 
      padding: 1px 5px; 
      border-radius: 3px; 
      font-size: 0.68rem; 
    }

    .pv-shelf-mini-desc { 
      font-size: 0.78rem; 
      line-height: 1.4; 
      color: #cbd5e1; 
      display: -webkit-box; 
      -webkit-line-clamp: 3; 
      -webkit-box-orient: vertical; 
      overflow: hidden; 
      margin-top: 4px; 
      padding-bottom: 2px; 
      flex-shrink: 0; 
    }

    [data-shelf-track].is-sliding .pv-shelf-item .pv-shelf-popover { pointer-events: none; transform: scale(1); transition: none; }
    .mobile-hero-footer { display: none; }

    @media (hover: hover) {
      .pv-shelf-container:hover { z-index: 60; }
      .pv-shelf-item:hover { z-index: 70; }
      .pv-shelf-item:hover .pv-shelf-popover { transform: scale(1.2); z-index: 90; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.2); }
      .pv-shelf-item[data-position="left"] .pv-shelf-popover { transform-origin: center left; }
      .pv-shelf-item[data-position="right"] .pv-shelf-popover { transform-origin: center right; }
    }

    .shelf-nav-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; background-color: rgba(0, 0, 0, 0.6); border: 1px solid rgba(255, 255, 255, 0.2); cursor: pointer; z-index: 100; display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.3s ease, transform 0.2s ease; }
    .shelf-nav-btn svg { width: 24px; height: 24px; }
    .pv-shelf-container:hover .shelf-nav-btn { opacity: 1; }
    .shelf-nav-btn:hover { background-color: rgba(0, 0, 0, 0.9); transform: translateY(-50%) scale(1.1); }
    .prev-btn { left: 8px; }
    .next-btn { right: 8px; }

    .pv-audio-toggle { width: 40px; height: 40px; position: absolute; top: 73%; right: 11%; z-index: 10; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.5); background-color: rgba(0, 0, 0, 0.5); cursor: pointer; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.5s ease-in-out, transform 0.2s ease, border-color 0.2s ease; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='white' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19.114 5.636a9 9 0 010 12.728M16.463 8.288a5.25 5.25 0 010 7.424M6.75 8.25l4.72-4.72a.75.75 0 011.28.53v15.88a.75.75 0 01-1.28.53l-4.72-4.72H4.51c-.88 0-1.704-.507-1.938-1.354A9.01 9.01 0 012.25 12c0-.83.112-1.633.322-2.396C2.806 8.756 3.63 8.25 4.51 8.25H6.75zM24 0L0 24' /%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center; background-size: 20px; }
    .pv-hero-banner.trailer-is-playing .pv-audio-toggle { opacity: 1; pointer-events: auto; }
    .pv-audio-toggle:hover { border-color: #ffffff; transform: scale(1.05); }
    .pv-audio-toggle.is-unmuted { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='white' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19.114 5.636a9 9 0 010 12.728M16.463 8.288a5.25 5.25 0 010 7.424M6.75 8.25l4.72-4.72a.75.75 0 011.28.53v15.88a.75.75 0 01-1.28.53l-4.72-4.72H4.51c-.88 0-1.704-.507-1.938-1.354A9.01 9.01 0 012.25 12c0-.83.112-1.633.322-2.396C2.806 8.756 3.63 8.25 4.51 8.25H6.75z' /%3E%3C/svg%3E"); }
    .pv-hero-banner[data-has-trailer="false"] .pv-audio-toggle { display: none !important; }

    /* 4. Gatekeeper Overlays */
    .pv-shelf-gate-overlay,
    .pv-hero-gate-overlay,
    .pv-seatback-gate-overlay {
      position: absolute;
      inset: 0;
      background: rgba(14, 20, 38, 0.90);
      -webkit-backdrop-filter: blur(12px);
      backdrop-filter: blur(12px);
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
      opacity: 0;
      visibility: hidden;
      pointer-events: none;
      transition: opacity 0.3s cubic-bezier(0.25, 1, 0.5, 1), 
                  visibility 0.3s ease;
      z-index: 20;
      
    }

    .pv-shelf-gate-overlay {
      padding: 1.25rem;
      border-radius: 6px;
    }

    .pv-hero-gate-overlay {
      padding: clamp(0.75rem, 1.2vw, 1.25rem);
      border-radius: inherit;
    }

    .pv-seatback-gate-overlay {
      z-index: 15;
      padding: 2.5rem;
      background: rgba(10, 15, 30, 0.88);
      transform: translateZ(1px);
      backface-visibility: hidden;
      -webkit-backface-visibility: hidden;
      will-change: opacity;
    }
/* Proportional Seatback-Specific Overrides (Consistent across all widths) */
    .pv-seatback-gate-overlay {
      padding: clamp(2rem, 4%, 3.5rem);
    }

    .pv-seatback-gate-overlay .gate-lock-icon {
      /* Locked into the 1280x720 canvas coordinate space */
      width: clamp(52px, 4.2rem, 64px);
      height: clamp(52px, 4.2rem, 64px);
      margin-bottom: clamp(1rem, 2rem, 2.2rem);
    }

    .pv-seatback-gate-overlay .gate-message {
      /* Steady, legible font size inside the 3D plane */
      font-size: clamp(1.65rem, 1.85rem, 2rem);
      max-width: clamp(520px, 60%, 680px);
      line-height: 1.45;
      margin-bottom: clamp(1.4rem, 2rem, 2.5rem);
    }

    .pv-seatback-gate-overlay .gate-actions {
      width: 100%;
      max-width: clamp(240px, 28%, 320px);
      gap: 1rem;
    }

    .pv-seatback-gate-overlay .gate-btn {
      padding: 0.85rem 1.6rem;
      font-size: 1.35rem;
      border-radius: 8px;
      font-weight: 700;
    }

    .gate-lock-icon {
      width: clamp(1.8rem, 2.2vw, 2.4rem);
      height: clamp(1.8rem, 2.2vw, 2.4rem);
      color: #ff5515;
      margin-bottom: clamp(0.4rem, 0.7vw, 0.75rem);
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .gate-lock-icon svg { width: 100%; height: 100%; }

    .gate-message {
      color: #f1f5f9;
      font-size: clamp(0.72rem, 0.85vw, 0.88rem);
      line-height: 1.38;
      font-weight: 500;
      margin-bottom: clamp(0.6rem, 0.9vw, 1rem);
      padding: 0 0.25rem;
    }

    .gate-actions {
      display: flex;
      flex-direction: column;
      gap: clamp(0.3rem, 0.45vw, 0.45rem);
      width: 100%;
      max-width: 140px;
    }

    .gate-btn {
      width: 100%;
      padding: clamp(0.35rem, 0.45vw, 0.45rem) 0.6rem;
      font-size: clamp(0.72rem, 0.8vw, 0.8rem);
      font-weight: 600;
      border-radius: 0.35rem;
      cursor: pointer;
      transition: all 0.2s ease;
      border: none;
    }

    .gate-btn-primary { background-color: #ff5515; color: #ffffff; }
    .gate-btn-primary:hover { background-color: #e05a13; }

    .gate-btn-secondary {
      background-color: rgba(255, 255, 255, 0.12);
      color: #cbd5e1;
      border: 1px solid rgba(255, 255, 255, 0.2);
    }
    .gate-btn-secondary:hover { background-color: rgba(255, 255, 255, 0.22); color: #ffffff; }

    /* Active Overlay Triggers (Desktop Click & Mobile Tap) */
    .pv-shelf-item.gate-active .pv-shelf-gate-overlay,
    .pv-poster-frame.gate-active .pv-hero-gate-overlay,
    .seatback-screen-track:not(.has-welcome-active).gate-active .pv-seatback-gate-overlay {
      opacity: 1;
      visibility: visible;
      pointer-events: auto;
    }

    /* 5. Mobile Layout Breakpoints */
    @media screen and (max-width: 768px) and (orientation: portrait){
      .global-header { 
        position: fixed; 
        top: 0; 
        left: 0; 
        width: 100%; 
        background-color: transparent; 
        z-index: 100; 
        height: 3.2rem;
        padding: 0 4%;
        display: flex;
        align-items: center; /* Replaces flex-start to center both logo and hamburger */
        padding-top: 0; /* Removes manual padding offset */
      }
      .global-header .platform-logo { display: flex; align-items: center; gap: 0.75rem; max-width: 70%; }
      .global-header .platform-logo img { height: 2rem; width: auto; object-fit: contain; }
      .global-header .platform-sub-brand { font-size: 1.3rem; font-weight: 800; color: #ff5515; letter-spacing: -0.06rem; }
      
      .global-header::after {
        height: 24vw !important; 
        background-size: 100% 24vw !important;
      }

      .header-action-group { 
        position: relative; 
        display: inline-flex; 
        align-items: center; 
        justify-content: center; 
        isolation: isolate;
      }
      
      .header-nav-menu { 
        position: absolute; 
        top: 2.8rem; 
        right: 0; 
        left: auto;
        transform: translateY(-8px) scale(0.96);
        transform-origin: top right;
        width: 11rem; 
        background: rgba(240, 240, 241, 0.75) !important;
        -webkit-backdrop-filter: blur(20px) saturate(180%);
        backdrop-filter: blur(20px) saturate(180%);
        border: 1px solid rgba(255, 255, 255, 0.18);
        border-top: 1px solid rgba(255, 255, 255, 0.35);
        border-radius: 1rem; 
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45), 
                    inset 0 1px 0 rgba(255, 255, 255, 0.15);
        display: flex; 
        flex-direction: column; 
        align-items: stretch; 
        padding: 0.2rem; 
        gap: 0;
        max-height: 0; 
        overflow: hidden; 
        visibility: hidden; 
        opacity: 0;
        transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), 
                    opacity 0.25s ease, 
                    transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
                    visibility 0.35s ease; 
        z-index: 120; 
      }

      .header-nav-menu.is-active { 
        max-height: 7rem; 
        visibility: visible; 
        opacity: 1;
        transform: translateY(0) scale(1);
      }

      .global-header .nav-menu-btn { 
        width: 100%; 
        height: 2.75rem; 
        padding: 0 0.85rem; 
        border-radius: 0.65rem;
        display: flex; 
        align-items: center; 
        justify-content: flex-start; 
        gap: 0.85rem;
        background: transparent;
        cursor: pointer; 
        transition: background-color 0.15s ease, transform 0.1s ease;
      }
      .global-header .nav-menu-btn:active { background: rgba(255, 255, 255, 0.12); transform: scale(0.98); }
      .global-header .nav-menu-btn img { height: 1.25rem; width: 1.25rem; object-fit: contain; opacity: 0.9; }

      .nav-btn-label {
        display: block;
        color: #212963;
        font-size: 0.75rem;
        font-weight: 500;
        letter-spacing: -0.01em;
        flex: 1;
        text-align: left;
      }

      .global-header .nav-menu-btn::after {
        content: '\203A';
        font-size: 1.1rem;
        color: rgba(67, 173, 66, 0.74);
        line-height: 1;
        margin-left: auto;
      }

      .pv-hamburger-btn { display: flex; flex-direction: column; justify-content: space-between; width: 1.5rem; height: 1.125rem; background: transparent; border: none; cursor: pointer; padding: 0; z-index: 110; }
      .hamburger-line { width: 100%; height: 0.15rem; background-color: #ff5515; border-radius: 0.1rem; transition: transform 0.3s ease, opacity 0.3s ease; }
      .pv-hamburger-btn.is-open .hamburger-line:nth-child(1) { transform: translateY(0.48rem) rotate(45deg); }
      .pv-hamburger-btn.is-open .hamburger-line:nth-child(2) { opacity: 0; }
      .pv-hamburger-btn.is-open .hamburger-line:nth-child(3) { transform: translateY(-0.48rem) rotate(-45deg); }

      .pv-carousel-viewport { margin-top: 1.8rem !important; height: auto; aspect-ratio: auto; overflow: visible; }
      .pv-carousel-track { display: grid; grid-template-columns: 1fr; grid-template-rows: 1fr; }
      .pv-hero-banner { grid-area: 1 / 1; position: relative; height: auto; display: flex; flex-direction: column; }
      .hero-cropper-window { position: relative; width: 100%; aspect-ratio: 3 / 2; height: auto; flex: none; background-color: #ffffff; }
      
      .hero-footer-transition { display: none; }
      .mobile-hero-footer { 
        display: block; 
        position: absolute; 
        bottom: -8px; 
        left: 0; 
        width: 100%; 
        height: 18vw; 
        background-image: url('../Images/Home/header-cloud-bg_shortFade.png'); 
        background-size: 100% 30vw; 
        background-repeat: no-repeat; 
        background-position: bottom center; 
        transform: scaleY(-1); 
        z-index: 15; 
        pointer-events: none; 
      }

      .pv-carousel-dots { display: none !important; }
      .pv-audio-toggle { top: calc((100vw * 0.6667) - 11vw); bottom: auto; right: 4%; width: 8vw; height: 8vw; border-width: 1px; background-size: 40%; }

      .pv-hero-content { 
        position: relative !important; 
        top: 1vh !important; 
        left: 0 !important; 
        width: 100% !important; 
        margin: 0 !important; 
        padding: 0 4% 2vw 4% !important; 
        opacity: 1 !important; 
        z-index: 5; 
        display: block !important; 
        pointer-events: auto !important; 
      }
      .pv-poster-frame { display: none; }
      .pv-meta-layout-stack { gap: 6px; align-items: center; width: 100%; }
      .pv-text-details { width: 100%; display: flex; flex-direction: row; flex-wrap: wrap; align-items: baseline; justify-content: center; text-align: center; }
 
      /* Mobile Hero: Scaled IFE Screen Gateway Overlay */
      .pv-seatback-gate-overlay { padding: 40px; }
      .pv-seatback-gate-overlay .gate-lock-icon { width: 110px; height: 110px; margin-bottom: 24px; }
      .pv-seatback-gate-overlay .gate-message { font-size: 2.8rem; line-height: 1.35; max-width: 820px; margin-bottom: 36px; font-weight: 600; }
      .pv-seatback-gate-overlay .gate-actions { max-width: 420px; gap: 16px; }
      .pv-seatback-gate-overlay .gate-btn { padding: 18px 24px; font-size: 2.2rem; border-radius: 12px; font-weight: 700; }
      
      /* Mobile IFE Welcome Screen Scaling */
      .ife-welcome-layer {
        padding: 30px 32px 25px 32px;
      }
      .ife-editorial-header {
        padding-bottom: 8px;
      }
      .ife-editorial-tag {
        font-size: 1.5rem;
      }
      .ife-welcome-headline {
        font-size: 5.0rem;
        line-height: 1.1;
        margin-bottom: 30px;
      }
      .ife-brand-inline {
        font-size: 5rem;
      }
      .ife-editorial-lead,
      .ife-editorial-subtext {
        font-size: 2rem;
        line-height: 1.4;
        margin-bottom: 20px;
      }

      .pv-movie-title { 
        width: 100%; 
        order: 1; 
        font-size: 7.2vw; 
        margin-bottom: 0.5vw; 
        line-height: 1.15; 
        text-shadow: none; 
        text-align: center; 
      }
      
      .pv-movie-orig-title { 
        width: 100%; 
        order: 2; 
        font-size: 4.4vw; 
        color: #202d60; 
        margin-bottom: 1.5vw; 
        line-height: 1.2; 
        text-align: center; 
      }

      .pv-movie-availability { width: auto; order: 3; font-size: 3vw; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: #202d60; margin: 0 1vw 1.5vw 0; }
      .pv-movie-availability::after { content: " \2022"; color: #202d60; font-weight: 400; }
      .pv-movie-language { width: auto; order: 4; font-size: 3vw; color: #202d60; margin: 0 0 1.5vw 0; }
      
      .pv-movie-desc { 
        width: 85%; 
        order: 5; 
        font-size: 3.2vw; 
        line-height: 1.4; 
        max-width: 100%; 
        margin-bottom: 2vw; 
        display: -webkit-box; 
        -webkit-line-clamp: 5; 
        -webkit-box-orient: vertical; 
        overflow: hidden; 
        text-align: center; 
      }

      .pv-hero-actions { gap: 4vw; margin-top: 1vw; }
      .btn-circle { width: 10vw; height: 10vw; font-size: 5vw; }

      .shelf-nav-btn { display: none; }
      .pv-shelf-container { margin-top: -4px !important; padding: 15px 0 !important; background-color: #ffffff; }
      .pv-shelf-title { text-align: left; }
      .pv-shelf-container.has-open-modal { z-index: 9999; }

      .pv-shelf-viewport { overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none; }
      .pv-shelf-viewport::-webkit-scrollbar { display: none; }

      .pv-shelf-row { 
        gap: 12px; 
        padding-left: 4%; 
        padding-right: 4%; 
        align-items: stretch;
      }

      .pv-shelf-item { 
        flex: 0 0 calc((100vw - 36px) / 1.55); 
        min-width: 130px; 
        aspect-ratio: auto !important; 
        height: auto !important; 
        display: flex;
        flex-direction: column;
      }
      .pv-shelf-item.mobile-pop-open { z-index: 90; }

      .pv-shelf-popover { 
        position: relative; 
        height: 100%; 
        display: flex;
        flex-direction: column;
        box-shadow: none; 
        border: 1px solid rgba(255, 255, 255, 0.08); 
        transition: none; 
      }
      .pv-shelf-thumb { 
        aspect-ratio: 2 / 3; 
        height: auto; 
        flex-shrink: 0;
      }

      .pv-shelf-details-drawer { 
        flex: 1 0 auto; 
        height: auto; 
        padding: 6px 8px 10px 8px; 
        overflow: visible; 
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
      }

      .pv-shelf-meta-title {
        height: auto !important; 
        min-height: auto !important;
        font-size: clamp(0.78rem, 4.4vw, 0.95rem);
        line-height: 1.25;
        font-weight: 700;
        color: #ffffff;
        display: -webkit-box;
        -webkit-line-clamp: 2; 
        -webkit-box-orient: vertical; 
        overflow: hidden; 
      }

      .pv-shelf-orig-title { 
        font-size: clamp(0.65rem, 3.5vw, 0.8rem);
        line-height: 1.2;
        color: #cbd5e1;
        display: -webkit-box;
        -webkit-line-clamp: 2; 
        -webkit-box-orient: vertical; 
        overflow: hidden; 
        margin-top: 1px;
        margin-bottom: 2px;
      }

      .pv-shelf-mini-desc { 
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 4 !important; 
        line-height: 1.35;
        max-height: calc(1.35em * 4 + 4px);
        overflow: hidden;
        margin-top: 4px;
        margin-bottom: 0;
        padding-bottom: 2px;
      }

      @keyframes modalFadeIn { 0% { opacity: 0; transform: translate(-50%, -45%) scale(0.95); } 100% { opacity: 1; transform: translate(-50%, -50%) scale(1); } }
      @keyframes modalFadeOut { 0% { opacity: 1; transform: translate(-50%, -50%) scale(1); } 100% { opacity: 0; transform: translate(-50%, -45%) scale(0.95); } }

      .pv-shelf-item.mobile-pop-open .pv-shelf-popover { position: fixed; top: 50%; left: 50%; width: 85vw; height: auto; z-index: 9999; box-shadow: 0 10px 40px rgba(0,0,0,0.8), 0 0 0 100vh rgba(0,0,0,0.75); border: 1px solid rgba(255, 255, 255, 0.1); display: flex; flex-direction: column; animation: modalFadeIn 0.6s cubic-bezier(0.25, 1, 0.5, 1) forwards; }
      .pv-shelf-item.mobile-pop-open .pv-shelf-thumb { height: auto; aspect-ratio: 2 / 3; }
      .pv-shelf-item.mobile-pop-open .pv-shelf-details-drawer { opacity: 1; visibility: visible; position: relative; }
      .pv-shelf-item.is-closing .pv-shelf-popover { animation: modalFadeOut 0.4s cubic-bezier(0.25, 1, 0.5, 1) forwards; }

      body.modal-is-active .global-header, body.modal-is-active .main-container { pointer-events: none; }
      body.modal-is-active .mobile-pop-open { pointer-events: auto; }
    }
    
    @keyframes shelfFadeIn { 0% { opacity: 0; transform: scale(0.95); } 100% { opacity: 1; transform: scale(1); } }
    .pv-shelf-item.is-returning .pv-shelf-popover { animation: shelfFadeIn 0.4s ease-out forwards; }

    /* 6. Tablet Sizing (Portrait & Landscape: 769px to 1180px) */
@media screen and (min-width: 769px) and (max-width: 1300px) {
  .ife-welcome-layer {
    padding: clamp(25px, 4vw, 40px) clamp(30px, 5vw, 55px);
  }

  .ife-editorial-tag {
    font-size: clamp(1.35rem, 2vw, 1.6rem);
  }

  .ife-welcome-headline {
    font-size: clamp(3.8rem, 5.2vw, 4.6rem);
    line-height: 1.1;
    margin-bottom: clamp(20px, 1.8vw, 30px);
  }

  .ife-brand-inline {
    font-size: clamp(4.6rem, 6.2vw, 5.4rem);
  }

  .ife-editorial-lead,
  .ife-editorial-subtext {
    font-size: clamp(2rem, 2.2vw, 2.2rem);
    line-height: 1.45;
    max-width: 95%;
    margin-bottom: clamp(8px, 1.4vw, 14px);
  }
}

/* =========================================================
   7. MOBILE SHORT LANDSCAPE OVERRIDE (Pixel-Perfect Alignment)
   ========================================================= */
@media screen and (min-aspect-ratio: 1/1) and (max-height: 600px) {
  html, body {
    overflow-x: hidden !important;
    width: 100vw !important;
    max-width: 100vw !important;
  }

  /* 1. Header: Compact bar */
  .global-header {
    position: fixed !important;
    top: 0px !important;
    left: 0 !important;
    width: 100% !important;
    height: 36px !important;
    padding: 0 3% !important;
    z-index: 120 !important;
  }
  .global-header::after {
    height: 60px !important;
  }
  .platform-logo {
    height: 22px !important;
  }
  .platform-sub-brand {
    font-size: 1.2rem !important;
  }

  /* 2. Hero Viewport: Exactly 100vh */
  .pv-carousel-viewport {
    margin: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    max-height: 100vh !important;
    aspect-ratio: auto !important;
    overflow: hidden !important;
    position: relative !important;
  }

  /* 3. Hero Slide: Side-by-side split */
  .pv-hero-banner {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100vw !important;
    height: 100vh !important;
    padding: 0px 3% 10px 3% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    gap: 2%;
  }

  /* Left Column: Movie text metadata */
  .pv-hero-content {
    position: relative !important;
    top: 10px !important;
    left: auto !important;
    flex: 1 1 40% !important;
    width: 40% !important;
    max-width: 40% !important;
    height: auto !important;
    padding-left: 6px !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    overflow: visible !important;
    z-index: 5;
  }

  .pv-poster-frame {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.1) !important;
  }
  
  .pv-movie-title {
    font-size: clamp(0.95rem, 5vh, 1.25rem) !important;
    line-height: 1.15;
    margin-bottom: 2px;
    text-align: left !important;
    text-shadow: none !important;
  }
  .pv-movie-orig-title {
    font-size: clamp(0.7rem, 3.5vh, 0.85rem) !important;
    margin-bottom: 2px;
    text-align: left !important;
  }
  .pv-movie-availability,
  .pv-movie-language {
    font-size: clamp(0.6rem, 2.8vh, 0.72rem) !important;
    margin-bottom: 2px;
    text-align: left !important;
  }
  .pv-movie-desc {
    font-size: clamp(0.65rem, 2.8vh, 0.76rem) !important;
    line-height: 1.25;
    -webkit-line-clamp: 2 !important;
    text-align: left !important;
    margin-bottom: 4px;
    width: 100% !important;
  }
  .pv-hero-actions,
  .pv-carousel-dots {
    display: none !important;
  }

  /* Right Column: 3D Seatback Window */
  .hero-cropper-window {
    position: relative !important;
    inset: auto !important;
    flex: 0 0 auto !important;
    height: calc(100vh - 52px) !important;
    max-height: 420px !important;
    aspect-ratio: 16 / 9 !important;
    width: auto !important;
    max-width: 58vw !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: transparent !important;
    overflow: hidden !important;
  }

.pv-audio-toggle {
  position: absolute !important;
  top: auto !important;
  bottom: 14px !important;
  right: 14px !important;
  left: auto !important;
  width: 32px !important;
  height: 32px !important;
  background-size: 16px !important;
  z-index: 25 !important;
}

  .hero-master-canvas {
    position: relative !important;
    width: 100% !important;
    height: 100% !important;
    aspect-ratio: 16 / 9 !important;
  }

  picture.cabin-matte,
  .cabin-matte {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
  }

  picture.cabin-matte img,
  .cabin-matte img {
    width: 100% !important;
    height: 100% !important;
    object-fit: fill !important;
  }

  .mobile-hero-footer {
    display: none !important;
  }

 .pv-audio-toggle {
  position: absolute !important;
  top: 70% !important;   /* Just below the bottom edge of the seatback screen */
  right: 43% !important;  /* Aligned with the right corner of the seatback screen */
  bottom: auto !important;
  left: auto !important;
  width: 32px !important;
  height: 32px !important;
  background-size: 16px !important;
  z-index: 30 !important;
}
  /* 5. Shelves Layout & Card Dimensions */
  .pv-shelf-container {
    width: 100vw !important;
    max-width: 100vw !important;
    overflow-x: hidden !important;
    padding: 12px 0 20px 0 !important;
  }
  .pv-shelf-viewport {
    width: 100vw !important;
    max-width: 100vw !important;
    overflow-x: auto !important;
    overscroll-behavior-x: contain;
  }

  .pv-shelf-item {
    flex: 0 0 clamp(110px, 22.5vw, 180px) !important;
    min-width: 100px !important;
    height: auto !important;
  }

  .pv-shelf-popover {
    height: auto !important;
    min-height: 100% !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
  }

  .pv-shelf-details-drawer {
    height: auto !important;
    flex: 1 1 auto !important;
    padding-bottom: 12px !important;
  }

  .pv-shelf-mini-desc {
    -webkit-line-clamp: 4 !important;
    line-height: 1.35 !important;
    max-height: calc(1.35em * 4 + 4px) !important;
    overflow: hidden !important;
  }
}

/* =========================================================
   8. INFLIGHT.MOVIE INTEGRATION ADDITIONS
   ========================================================= */

/* Gate + nav buttons are rendered as links to the live login / contact pages */
a.gate-btn { display: block; text-align: center; text-decoration: none; }
a.nav-menu-btn, a.platform-logo { text-decoration: none; }

/* Category filter */
.pv-category-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 18px 4% 6px 4%;
  background-color: #ffffff;
  position: relative;
  z-index: 11;
}

.pv-category-chip {
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  color: #212963;
  background-color: #ffffff;
  border: 1px solid rgba(33, 41, 99, 0.25);
  border-radius: 999px;
  padding: 8px 18px;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.pv-category-chip:hover { border-color: #ff5515; color: #ff5515; }
.pv-category-chip.is-active { background-color: #ff5515; border-color: #ff5515; color: #ffffff; }
.pv-category-chip:focus-visible { outline: 2px solid #212963; outline-offset: 2px; }

.pv-shelf-container.is-filtered-out { display: none; }

/* Room above the first shelf so the hover zoom (scale 1.2) doesn't ride up over the filter chips.
   The padding stops the shelf's -20px margin pulling it up under the filter bar. */
@media (hover: hover) {
  #shelves-wrapper { padding-top: 24px; background-color: #ffffff; }
}

/* Mobile portrait: chips wrap to the screen width, centred (no sideways scroll) */
@media screen and (max-width: 768px) and (orientation: portrait) {
  .pv-category-filter { gap: 8px; padding: 12px 4% 4px 4%; }
  .pv-category-chip { font-size: 0.85rem; padding: 7px 14px; }
}

/* =========================================================
   9. Header icons - the original PNG icons used across inflight.movie,
   a little smaller than the template (34-50px)
   ========================================================= */
.nav-menu-btn { height: clamp(32px, 3vw, 46px); }
.nav-menu-btn:focus-visible { outline: 2px solid #212963; outline-offset: 2px; }

/* =========================================================
   10. Touch screens: shelves are swiped (native scroll) only
   The slide arrows are invisible without hover but still tappable, and their
   translateX offset can't be undone by swiping - so the first cards became
   unreachable. Hide them and keep the track un-transformed.
   ========================================================= */
@media (hover: none) {
  .shelf-nav-btn { display: none !important; }
  .pv-shelf-viewport {
    overflow-x: auto !important;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
  }
  .pv-shelf-row { transform: none !important; }
  .pv-shelf-item[data-clipped="true"] { pointer-events: auto; }
}