
         .text-video-panel-container{position: relative; }
         .text-video-panel-content{position: relative; display:flex; flex-direction: column; max-height: calc(100vh - var(--headerheight)); z-index:2; align-items: center; justify-content: flex-end; height: auto; padding-bottom:3vh; padding-top:3vh; }
         .text-video-panel-heading h1 {font-size:calc(28px + 1vw);margin:auto;}
         .text-video-panel-text{text-align:center;}
         .button.level-05, .button.level-06 {background: none; color: #222;border: 1px solid var(--button-bg-colour);line-height: 40px;margin: auto;}
         .button.level-06{font-size:smaller; border: unset; line-height:1.5}
         .text-video-panel-video {position: relative; top:0; left:0;width:100%; max-height: calc(100vh - var(--headerheight)); overflow: hidden;}
         .text-video-panel-video-content{padding-bottom: 56.25%;position:relative; max-height: calc(100vh - var(--headerheight)); height: 0;}
         
         .collectionpage-horizontal-list {padding: 5vw 0;}
         .collectionpage-horizontal-list .product-list {list-style-type:none; padding: 0; margin: 0 auto; max-width:1200px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap:1vw;}
         .collectionpage-horizontal-list .product-list li, .collectionpage-horizontal-list .swatch-container img {background: var(--bg-colour-light-tint);}
         .singlecollection .swatch-container img, .singlecollection img.swatchspacer{aspect-ratio: 1/1;}
         .product-list-cta-box-content{height: 100%;display: flex;align-content: center;align-items: center;justify-content: center;}
         .mysinglecollection .my-excerpt {font-size: 0; margin-bottom:1vw;}
         .video-container iframe {
         position: absolute;
         top: 0;
         left: 0;
         width: 100%;
         height: 100%;
         object-fit: cover;
         }
         .loading-screen {
         position: absolute;
         top: 0;
         left: 0;
         width: 100%;
         height: 100%;
         display: flex;
         align-items: center;
         justify-content: center;
         z-index: 1;
         opacity: 1;
         transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);  /* Smoother easing */
         }
         .loading-screen{background-color: var(--bg-colour-light-tint); background-size:100%;}
         
         .panel-phantom .loading-screen{background-image:url(https://store.tailormade.uk/wp-content/uploads/tm-cats-intro-still-phantom.jpg);}
         .panel-vanguard .loading-screen{background-image:url(https://store.tailormade.uk/wp-content/uploads/tm-cats-intro-still-vanguard.jpg?ver=2);}
         .panel-monarch .loading-screen{background-image:url(https://store.tailormade.uk/wp-content/uploads/tm-cats-intro-still-monarch.jpg);}
         .panel-luna .loading-screen{background-image:url(https://store.tailormade.uk/wp-content/uploads/tm-cats-intro-still-luna.jpg);}
         
         .loading-screen.hidden {
         opacity: 0;
         pointer-events: none;
         }
         /* Optional: Remove from DOM after fade completes */
         .loading-screen.removed {
         display: none;
         }
         #loader { left: unset; top: unset; margin:unset;}
         @media screen and (min-width: 1023px){
         .text-video-panel-container{height: calc(100vh - var(--headerheight)); color:#fff;}
         .text-video-panel-content{height: 100%; background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.1) 70%, rgba(0, 0, 0, 0.5) 100%);}
         .text-video-panel-video {position: absolute;}
         .button.level-05 {color: #fff;border: 1px solid #fff;}
         .collectionpage-horizontal-list .product-list {grid-template-columns: repeat(3, minmax(0, 1fr));}
         .collectionpage-horizontal-list .product-list > li:last-child{display:none;}
         }
