/* Patch 1263 — Premium Product Slider polish + mobile refinement. Loads after v1262. */
@media(min-width:1181px){
  body>header{height:76px;padding-inline:max(30px,calc((100vw - 1420px)/2));}
  body>header nav{gap:27px;font-size:13px}
  body>header .actions{gap:14px}
  .hero.mfn-premium-hero{min-height:650px;padding:44px max(30px,calc((100vw - 1420px)/2)) 68px;grid-template-columns:minmax(420px,.82fr) minmax(650px,1.18fr);gap:38px}
  .mfn-premium-copy-stack{min-height:365px}
  .mfn-premium-copy h1{font-size:clamp(36px,2.75vw,48px)!important;line-height:1.48!important;letter-spacing:-.018em}
  .mfn-premium-copy p{max-width:550px;font-size:14px!important;line-height:2!important}
  .mfn-premium-kicker{margin-bottom:16px}
  .mfn-premium-copy .hero-actions{margin-top:23px}
  .mfn-premium-controls{margin-top:19px}
  .mfn-premium-trust{margin-top:15px}
  .mfn-premium-visual{min-height:500px;padding-left:154px;justify-content:flex-end}
  .mfn-premium-device{width:min(100%,620px);transform:perspective(1500px) rotateY(2.3deg) rotateX(.6deg);box-shadow:0 38px 72px #0007,0 0 0 1px #ffffff26,inset 0 0 0 1px #ffffff52}
  .mfn-premium-rail{left:0;top:50%;z-index:6;width:148px;gap:9px}
  .mfn-premium-rail button,.mfn-premium-rail button:nth-child(n){width:148px;min-height:58px;padding:9px 12px;transform:none;border-radius:14px;box-shadow:0 12px 25px #0002}
  .mfn-premium-rail button:hover{background:#ffffff16;border-color:#ffffff2b;color:#fff;transform:translateX(4px)}
  .mfn-premium-rail button.active{transform:translateX(8px);background:linear-gradient(135deg,#0da9a4,#176f88);box-shadow:0 16px 34px #04a8a82b}
  .mfn-premium-rail button span{font-size:10.5px;line-height:1.7}
  .mfn-premium-orbit{right:2px;bottom:20px}
  .mfn-premium-visual>p{right:12px;bottom:-12px}
}

@media(min-width:761px) and (max-width:1180px){
  body>header{height:72px;padding-inline:24px}
  .hero.mfn-premium-hero{grid-template-columns:1fr;padding:42px 28px 72px;gap:34px;text-align:center}
  .mfn-premium-copy-stack{min-height:330px}
  .mfn-premium-copy h1{font-size:42px!important;line-height:1.5!important}
  .mfn-premium-copy p{max-width:650px;margin-inline:auto}
  .mfn-premium-kicker,.mfn-premium-copy .hero-actions,.mfn-premium-controls,.mfn-premium-trust{margin-inline:auto;justify-content:center}
  .mfn-premium-visual{min-height:470px;padding-inline:120px 0;justify-content:center}
  .mfn-premium-device{width:min(100%,650px);transform:none}
  .mfn-premium-rail{left:0;z-index:6;width:132px;gap:8px}
  .mfn-premium-rail button,.mfn-premium-rail button:nth-child(n){width:132px;min-height:54px;padding:8px 10px;transform:none}
  .mfn-premium-rail button.active{transform:translateX(5px)}
  .mfn-premium-visual>p{position:absolute;right:0;left:0;bottom:-24px}
}

@media(max-width:760px){
  html,body{overflow-x:hidden}
  body>header{height:66px;padding:0 14px;background:#121b28;border-bottom-color:#ffffff12}
  body>header .mfn-image-brand img,body>header .brand img{width:126px!important;height:auto!important;max-height:45px;object-fit:contain}
  body>header .hamb{width:44px;height:44px;display:grid;place-items:center;border-radius:12px;background:#ffffff0b;color:#fff;font-size:24px}
  body>header nav.open{display:flex;position:absolute;top:58px;right:12px;left:12px;padding:12px;background:#172332!important;border:1px solid #ffffff12;border-radius:16px;box-shadow:0 22px 55px #0008;gap:2px;z-index:40}
  body>header nav.open a{display:flex;align-items:center;min-height:46px;padding:9px 12px;border-radius:10px;color:#e7f0f5!important;font-size:13px;font-weight:500!important}
  body>header nav.open a:hover,body>header nav.open a:focus{background:#ffffff0c;color:#fff!important}
  .hero.mfn-premium-hero{min-height:auto;padding:28px 14px 66px;gap:24px;background:radial-gradient(circle at 80% 8%,#18344d 0,#162535 25%,#131d2a 58%,#101823 100%);text-align:center}
  .hero.mfn-premium-hero::before{width:330px;height:330px;right:-150px;top:-120px}
  .hero.mfn-premium-hero::after{bottom:-112px;height:130px}
  .mfn-premium-copy{width:100%;min-width:0}
  .mfn-premium-copy-stack{min-height:0;align-items:start}
  .mfn-premium-copy-slide{align-self:start}
  .mfn-premium-kicker{margin:0 auto 13px;padding:5px 7px 5px 10px;font-size:9px}
  .mfn-premium-kicker b{min-width:50px;padding:5px 8px}
  .mfn-premium-copy .eyebrow{font-size:11px!important;margin-bottom:9px}
  .mfn-premium-copy h1{font-size:clamp(27px,8.1vw,34px)!important;line-height:1.52!important;letter-spacing:-.015em;margin-bottom:13px!important;text-wrap:balance}
  .mfn-premium-copy h1 em{background:linear-gradient(transparent 84%,#09b4ae45 0)!important}
  .mfn-premium-copy p{max-width:560px;margin-inline:auto;font-size:12.5px!important;line-height:1.95!important;color:#adbdc9!important}
  .mfn-premium-copy .hero-actions{display:grid;grid-template-columns:1.15fr .85fr;gap:8px;width:100%;margin-top:20px}
  .mfn-premium-copy .hero-actions>a{width:100%;min-height:46px;padding:10px 9px!important;font-size:11.5px!important;border-radius:11px;white-space:normal;text-align:center;line-height:1.6}
  .mfn-premium-controls{justify-content:center;margin:15px auto 0;gap:3px}
  .mfn-premium-controls>button{width:36px;height:36px;font-size:18px}
  .mfn-premium-controls [data-dots] button{width:23px;height:36px}
  .mfn-premium-controls [data-dots] button.active::before{width:18px}
  .mfn-premium-trust{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:7px;overflow-x:auto;margin:11px -2px 0;padding:2px 2px 7px;scrollbar-width:none;scroll-snap-type:x proximity;direction:rtl}
  .mfn-premium-trust::-webkit-scrollbar{display:none}
  .mfn-premium-trust span{flex:0 0 auto;scroll-snap-align:start;padding:6px 9px;font-size:9px;white-space:nowrap}
  .mfn-premium-visual{min-height:0;width:100%;display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:11px;direction:ltr}
  .mfn-premium-device{order:1;width:100%;padding:5px;border-radius:15px;transform:none;box-shadow:0 24px 50px #0006,0 0 0 1px #ffffff20}
  .mfn-device-top{height:29px;padding:0 8px;border-radius:11px 11px 5px 5px}
  .mfn-device-top b{font-size:8px;max-width:58%;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}
  .mfn-device-top img{width:55px;height:23px}
  .mfn-premium-slides{border-radius:5px 5px 11px 11px}
  .mfn-premium-slide{transform:scale(1.015) translateX(-5px)}
  .mfn-premium-device::after{left:24%;right:24%;height:5px;bottom:-10px}
  .mfn-premium-rail{order:2;position:relative;left:auto;top:auto;z-index:6;width:calc(100% + 28px);margin:4px -14px 0;padding:5px 14px 8px;transform:none;display:flex;flex-direction:row;gap:7px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scroll-padding-inline:14px;scrollbar-width:none;direction:rtl}
  .mfn-premium-rail::-webkit-scrollbar{display:none}
  .mfn-premium-rail button,.mfn-premium-rail button:nth-child(n){flex:0 0 min(44vw,164px);width:auto;min-height:46px;padding:7px 9px;transform:none;border-radius:12px;scroll-snap-align:start;gap:8px;background:#ffffff0a}
  .mfn-premium-rail button.active{transform:none;background:linear-gradient(135deg,#0da39f,#176f88);box-shadow:0 12px 24px #04a8a820}
  .mfn-premium-rail button i{width:25px;height:25px;border-radius:8px;font-size:8px}
  .mfn-premium-rail button span{font-size:9.5px;line-height:1.6;white-space:nowrap}
  .mfn-premium-orbit{display:none}
  .mfn-premium-visual>p{order:3;position:static;margin:0!important;text-align:center!important;color:#8196a7!important;font-size:8.5px!important}
}

@media(max-width:430px){
  .hero.mfn-premium-hero{padding-inline:12px}
  .mfn-premium-copy .hero-actions{grid-template-columns:1fr}
  .mfn-premium-copy .hero-actions>a{min-height:44px}
  .mfn-premium-rail{width:calc(100% + 24px);margin-inline:-12px;padding-inline:12px;scroll-padding-inline:12px}
  .mfn-premium-rail button,.mfn-premium-rail button:nth-child(n){flex-basis:min(55vw,170px)}
}

@media(max-width:360px){
  .mfn-premium-copy h1{font-size:26px!important}
  .mfn-premium-copy p{font-size:12px!important}
  .mfn-premium-controls [data-dots] button{width:19px}
  .mfn-premium-controls>button{width:34px;height:34px}
}

@media(prefers-reduced-motion:reduce){
  .mfn-premium-copy-slide,.mfn-premium-slide,.mfn-premium-rail button{transition:none!important;scroll-behavior:auto!important}
}
