/* Смешные Цены — ролик, вариант C «Находки вашего города». The approved demo stage
   (handoff style.css, variant C rules only), scoped to the tm-funny-film block: same
   fonts, sizes, colours, positions, breakpoints and heights. Only fix where the demo
   breaks on the real page: [fix-1] desktop scene 1 — the shoes covered the caption
   «Находки для вашего города»; they sit a little higher; [fix-2] 801–1199 px — the three
   price steps overlapped and the shoes touched the caption; [fix-3] 481–800 px — the
   phone composition grew with the width until the products covered the words, so it
   keeps its 390 px size. Light theme only. The final
   scene is the default (no JavaScript, reduced motion); motion exists only while
   [data-tm-house-film-motion] is set by house-film-runtime.js. */
.tm-funny-film{--tmfp-bg:#E9F5EF;--tmfp-pale:#C6E6D7;--tmfp-accent:#AF315A;--tmfp-pop:#F5B9CB;display:block;min-width:0;color:#1D352F;font-family:Arial,Helvetica,sans-serif;text-align:left}
.tm-funny-film .tm-funny-film__stage,.tm-funny-film .tm-funny-film__stage *{box-sizing:border-box}
.tm-funny-film .tm-funny-film__stage{height:570px;position:relative;isolation:isolate;overflow:hidden;background:var(--tmfp-bg);border-radius:28px;font-family:Arial,Helvetica,sans-serif;color:#1D352F}
.tm-funny-film .tm-funny-film__stage p{max-width:none}
.tm-funny-film .tm-funny-film__brand{position:absolute;top:26px;left:40px;display:flex;align-items:center;gap:12px;margin:0;font-size:18px;font-weight:700;line-height:normal;z-index:8}
.tm-funny-film .tm-funny-film__logo{display:block;width:32px;height:36px;object-fit:contain}
.tm-funny-film .tm-funny-film__network{position:absolute;top:38px;right:40px;margin:0;font-size:14px;line-height:normal;z-index:8}
.tm-funny-film .tm-funny-film__backdrop{position:absolute;right:-65px;top:70px;width:600px;height:620px;border-radius:260px 260px 0 0;background:var(--tmfp-pale);z-index:-1}
.tm-funny-film .tm-funny-film__footer{position:absolute;bottom:25px;left:40px;right:40px;display:flex;justify-content:space-between;margin:0;font-size:13px;line-height:normal;color:#526c60}
.tm-funny-film .tm-funny-film__sr{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}

.tm-funny-film .tm-funny-film__scene{position:absolute;inset:100px 40px 65px;display:grid;grid-template-columns:52% 48%;align-items:center;gap:12px;visibility:hidden;pointer-events:none}
.tm-funny-film .tm-funny-film__scene[data-active]{visibility:inherit;pointer-events:auto}
.tm-funny-film .tm-funny-film__copy{z-index:3;position:relative;padding-right:12px;min-width:0}
.tm-funny-film .tm-funny-film__title{margin:0;max-width:none;font-family:Arial,Helvetica,sans-serif;font-size:clamp(40px,5vw,65px);line-height:1.035;letter-spacing:-2.9px;font-weight:800;color:#1D352F}
.tm-funny-film .tm-funny-film__title>span{display:block}
.tm-funny-film .tm-funny-film__title>span:last-child{color:var(--tmfp-accent)}
.tm-funny-film .tm-funny-film__scene--s0 .tm-funny-film__title{font-size:clamp(43px,5vw,65px)}
.tm-funny-film .tm-funny-film__scene--s2 .tm-funny-film__title{font-size:clamp(40px,4.7vw,62px)}
.tm-funny-film .tm-funny-film__lead{font-size:20px;line-height:1.35;margin:23px 0 0;max-width:460px}
.tm-funny-film .tm-funny-film__visual{height:100%;min-width:0;position:relative;display:flex;align-items:center;justify-content:center}

/* Price steps: thresholds only, never attached to a depicted item. */
.tm-funny-film .tm-funny-film__prices{width:100%;height:100%;position:relative}
.tm-funny-film .tm-funny-film__price{position:absolute;width:146px;height:272px;top:48px;border-radius:85px 85px 18px 18px;background:#ECA5BA;padding:70px 16px 20px;display:flex;align-items:baseline;justify-content:center;gap:3px;box-shadow:0 15px 0 #1d352f0c;transform-origin:50% 10%;color:#1D352F}
.tm-funny-film .tm-funny-film__price::before{content:'';position:absolute;width:42px;height:8px;border-radius:15px;left:calc(50% - 21px);top:35px;background:#fff8}
.tm-funny-film .tm-funny-film__price span{position:absolute;left:20px;top:95px;font-size:20px;line-height:normal}
.tm-funny-film .tm-funny-film__price strong{font-size:70px;line-height:1;letter-spacing:-5px;margin-top:50px;font-weight:800}
.tm-funny-film .tm-funny-film__price b{font-size:24px}
.tm-funny-film .tm-funny-film__price--0{left:0}
.tm-funny-film .tm-funny-film__price--1{left:31%;top:10px;background:#B9DFCF}
.tm-funny-film .tm-funny-film__price--2{left:62%;background:#F5C5D4}
.tm-funny-film .tm-funny-film__smile{position:absolute;width:60px;height:27px;border-bottom:5px solid #1D352F;border-radius:0 0 70% 70%;bottom:30px;left:calc(50% - 30px)}

/* Product sets inside the arch. */
.tm-funny-film .tm-funny-film__set{position:relative;width:100%;height:100%}
.tm-funny-film .tm-funny-film__set::before{content:'';position:absolute;inset:0 8%;border:2px solid #ffffff99;border-radius:150px 150px 20px 20px}
.tm-funny-film .tm-funny-film__set--hero::before{inset:-6% 5%}
.tm-funny-film .tm-funny-film__object{position:absolute;display:block;max-width:none;height:auto;width:65%;object-fit:contain;filter:drop-shadow(0 16px 13px #243b3020)}
.tm-funny-film .tm-funny-film__object[hidden]{display:none}
.tm-funny-film .tm-funny-film__object[data-tm-film-src]{visibility:hidden}
.tm-funny-film .tm-funny-film__o1{z-index:3;rotate:-9deg}
.tm-funny-film .tm-funny-film__o2{z-index:2;rotate:7deg}
.tm-funny-film .tm-funny-film__o3{z-index:1;rotate:4deg}
.tm-funny-film .tm-funny-film__set--hero .tm-funny-film__o1{z-index:2;width:82%;left:-16%;top:-18%}
/* [fix-1] demo: width 75%, bottom -18% put the shoes over the caption at the stage bottom. */
.tm-funny-film .tm-funny-film__set--hero .tm-funny-film__o2{z-index:3;width:72%;right:-9%;bottom:-8%}
.tm-funny-film .tm-funny-film__set--range .tm-funny-film__o1,.tm-funny-film .tm-funny-film__set--final .tm-funny-film__o1{width:75%;top:-13%;left:-14%}
.tm-funny-film .tm-funny-film__set--range .tm-funny-film__o2,.tm-funny-film .tm-funny-film__set--final .tm-funny-film__o2{width:66%;right:-10%;bottom:-10%}
.tm-funny-film .tm-funny-film__set--range .tm-funny-film__o3,.tm-funny-film .tm-funny-film__set--final .tm-funny-film__o3{width:43%;right:-7%;top:-9%;z-index:1}
.tm-funny-film .tm-funny-film__chips{display:flex;flex-wrap:wrap;gap:8px;margin:24px 0 0;max-width:450px}
.tm-funny-film .tm-funny-film__chips span{background:#ffffffab;border:1px solid #1d352f14;border-radius:30px;padding:10px 16px;font-size:15px;line-height:normal}

/* The town network: a conventional picture, not a real map or address. */
.tm-funny-film .tm-funny-film__map{width:100%;height:370px;border-radius:120px 120px 25px 25px;background:#ffffff8c;position:relative;overflow:hidden;box-shadow:0 20px 30px #1d352f0a}
.tm-funny-film .tm-funny-film__map svg{display:block;width:100%;height:100%}
.tm-funny-film .tm-funny-film__streets{stroke:var(--tmfp-pale);stroke-width:24;fill:none}
.tm-funny-film .tm-funny-film__route{stroke:var(--tmfp-accent);stroke-width:5;stroke-linecap:round;fill:none;stroke-dasharray:1;stroke-dashoffset:0}
.tm-funny-film .tm-funny-film__node{fill:var(--tmfp-accent);stroke:#fff;stroke-width:5}
.tm-funny-film .tm-funny-film__shop{position:absolute;background:var(--tmfp-bg);width:138px;height:106px;border:1px solid #1d352f14;border-radius:12px;padding-top:54px;text-align:center;font-size:13px;line-height:normal;box-shadow:0 7px 12px #1d352f09}
.tm-funny-film .tm-funny-film__shop i{position:absolute;top:0;left:0;right:0;height:31px;background:repeating-linear-gradient(90deg,var(--tmfp-accent) 0,var(--tmfp-accent) 18px,var(--tmfp-pop) 18px,var(--tmfp-pop) 36px);border-radius:10px 10px 6px 6px}
.tm-funny-film .tm-funny-film__shop--1{top:65px;left:20px}
.tm-funny-film .tm-funny-film__shop--2{bottom:28px;right:20px}
.tm-funny-film .tm-funny-film__pin{position:absolute;top:42%;left:38%;display:flex;align-items:center;gap:8px;background:#1D352F;color:#fff;padding:12px 18px;border-radius:35px;font-size:15px;line-height:normal;box-shadow:0 6px 12px #1d352f22;white-space:nowrap}
.tm-funny-film .tm-funny-film__pin b{font-size:24px;font-weight:400}
.tm-funny-film .tm-funny-film__city-call{margin:24px 0 0;display:inline-flex;align-items:center;gap:30px;font-size:19px;line-height:normal;color:var(--tmfp-accent);font-weight:700}
.tm-funny-film .tm-funny-film__cta{margin-top:25px;padding:19px 23px;background:#1D352F;color:#fff;border:0;border-radius:13px;display:inline-flex;align-items:center;gap:25px;font-size:17px;font-weight:600;line-height:normal;white-space:nowrap;text-decoration:none}
.tm-funny-film .tm-funny-film__cta:hover{color:#fff}
.tm-funny-film .tm-funny-film__cta b{font-size:23px;font-weight:400}
.tm-funny-film .tm-funny-film__cta:focus-visible{outline:3px solid #865ab0;outline-offset:4px}

/* The demo's timeline line along the bottom edge, drawn per scene. */
.tm-funny-film .tm-funny-film__progress{position:absolute;left:-40px;right:-40px;bottom:-65px;height:4px;background:#1d352f0a;--tmfp-from:0;--tmfp-to:1}
.tm-funny-film .tm-funny-film__progress::before{content:'';position:absolute;inset:0;background:var(--tmfp-accent);transform:scaleX(var(--tmfp-to));transform-origin:0 50%}
.tm-funny-film .tm-funny-film__scene--s0 .tm-funny-film__progress{--tmfp-from:0;--tmfp-to:.175}
.tm-funny-film .tm-funny-film__scene--s1 .tm-funny-film__progress{--tmfp-from:.175;--tmfp-to:.3625}
.tm-funny-film .tm-funny-film__scene--s2 .tm-funny-film__progress{--tmfp-from:.3625;--tmfp-to:.5625}
.tm-funny-film .tm-funny-film__scene--s3 .tm-funny-film__progress{--tmfp-from:.5625;--tmfp-to:.78125}
.tm-funny-film .tm-funny-film__scene--s4 .tm-funny-film__progress{--tmfp-from:.78125;--tmfp-to:1}

/* Pause / continue / replay for keyboard and screen readers: visually hidden until focused. */
.tm-funny-film .tm-funny-film__btn{position:absolute;z-index:12;right:16px;bottom:14px;width:1px;height:1px;min-width:0;min-height:0;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.tm-funny-film .tm-funny-film__btn:focus-visible{width:auto;height:auto;min-height:44px;margin:0;padding:12px 18px;overflow:visible;clip-path:none;border-radius:40px;background:#1D352F;color:#fff;font:inherit;font-size:14px;outline:3px solid #865ab0;outline-offset:3px}
.tm-funny-film .tm-funny-film__btn[hidden]{display:none}
/* Room for the home carousel's own controls below the stage; the section slot's spacing. */
.market-promo-carousel--multiple .tm-funny-film{padding-bottom:calc(var(--tm-control,44px) + 16px)}
.tm-house-film-slot[data-tm-house-film="funny-prices"]{display:block;margin:4px 0 20px}
.tm-house-film-slot[data-tm-house-film="funny-prices"][hidden]{display:none}

/* Motion: the demo's timing as CSS animations, so one play-state freezes the whole frame. */
@keyframes tm-funny-film-in{from{opacity:0;translate:14px 35px;scale:.96;rotate:0deg}}
@keyframes tm-funny-film-bounce{0%,100%{transform:none}12.5%{transform:translateY(-5.6px)}25%{transform:translateY(-6.8px)}37.5%{transform:translateY(-4px)}50%{transform:none}62.5%{transform:translateY(2.4px)}75%{transform:translateY(2.3px)}87.5%{transform:translateY(.8px)}}
@keyframes tm-funny-film-route{from{stroke-dashoffset:1}}
@keyframes tm-funny-film-progress{from{transform:scaleX(var(--tmfp-from))}to{transform:scaleX(var(--tmfp-to))}}
.tm-funny-film[data-tm-house-film-motion] [data-active] .tm-funny-film__in{animation:tm-funny-film-in .65s cubic-bezier(.33,1,.68,1) both}
.tm-funny-film[data-tm-house-film-motion] [data-active] .tm-funny-film__in--d100{animation-delay:.1s}
.tm-funny-film[data-tm-house-film-motion] [data-active] .tm-funny-film__in--d230{animation-delay:.23s}
.tm-funny-film[data-tm-house-film-motion] [data-active] .tm-funny-film__in--d240{animation-delay:.24s}
.tm-funny-film[data-tm-house-film-motion] [data-active] .tm-funny-film__in--d250{animation-delay:.25s}
.tm-funny-film[data-tm-house-film-motion] [data-active] .tm-funny-film__in--d350{animation-delay:.35s}
.tm-funny-film[data-tm-house-film-motion] [data-active] .tm-funny-film__in--d400{animation-delay:.4s}
.tm-funny-film[data-tm-house-film-motion] [data-active] .tm-funny-film__in--d450{animation-delay:.45s}
.tm-funny-film[data-tm-house-film-motion] [data-active] .tm-funny-film__in--d460{animation-delay:.46s}
.tm-funny-film[data-tm-house-film-motion] [data-active] .tm-funny-film__in--d600{animation-delay:.6s}
/* Price tags settle with one small bounce (450–1400 ms after their own start). */
.tm-funny-film[data-tm-house-film-motion] [data-active] .tm-funny-film__price--0{animation:tm-funny-film-in .65s cubic-bezier(.33,1,.68,1) both,tm-funny-film-bounce .95s linear .45s both}
.tm-funny-film[data-tm-house-film-motion] [data-active] .tm-funny-film__price--1{animation:tm-funny-film-in .65s cubic-bezier(.33,1,.68,1) .18s both,tm-funny-film-bounce .95s linear .63s both}
.tm-funny-film[data-tm-house-film-motion] [data-active] .tm-funny-film__price--2{animation:tm-funny-film-in .65s cubic-bezier(.33,1,.68,1) .36s both,tm-funny-film-bounce .95s linear .81s both}
.tm-funny-film[data-tm-house-film-motion] [data-active] .tm-funny-film__route{animation:tm-funny-film-route 1.5s linear .3s both}
.tm-funny-film[data-tm-house-film-motion] [data-active] .tm-funny-film__progress::before{animation:tm-funny-film-progress 2.8s linear both}
.tm-funny-film[data-tm-house-film-motion] .tm-funny-film__scene--s1[data-active] .tm-funny-film__progress::before{animation-duration:3s}
.tm-funny-film[data-tm-house-film-motion] .tm-funny-film__scene--s2[data-active] .tm-funny-film__progress::before{animation-duration:3.2s}
.tm-funny-film[data-tm-house-film-motion] .tm-funny-film__scene--s3[data-active] .tm-funny-film__progress::before{animation-duration:3.5s}
.tm-funny-film[data-tm-house-film-motion] .tm-funny-film__scene--s4[data-active] .tm-funny-film__progress::before{animation-duration:3.5s}
.tm-funny-film[data-tm-house-film-paused] .tm-funny-film__stage *,.tm-funny-film[data-tm-house-film-paused] .tm-funny-film__stage *::before{animation-play-state:paused!important}
.tm-funny-film[data-tm-house-film-reduced] .tm-funny-film__stage *,.tm-funny-film[data-tm-house-film-reduced] .tm-funny-film__stage *::before{animation:none!important}
@media (prefers-reduced-motion:reduce){.tm-funny-film .tm-funny-film__stage *,.tm-funny-film .tm-funny-film__stage *::before{animation:none!important}}

/* [fix-2] narrower desktop columns: steps share the width without touching. */
@media (min-width:801px) and (max-width:1199px){
 .tm-funny-film .tm-funny-film__prices{container-type:inline-size}
 .tm-funny-film .tm-funny-film__price{width:min(146px,31cqw);padding-left:8px;padding-right:8px}
 .tm-funny-film .tm-funny-film__price strong{font-size:min(70px,15cqw);letter-spacing:-.07em}
 .tm-funny-film .tm-funny-film__price span{left:14px}
 .tm-funny-film .tm-funny-film__price--1{left:calc(50% - min(146px,31cqw) / 2)}
 .tm-funny-film .tm-funny-film__price--2{left:calc(100% - min(146px,31cqw))}
 .tm-funny-film .tm-funny-film__set--range .tm-funny-film__o2,.tm-funny-film .tm-funny-film__set--final .tm-funny-film__o2{bottom:-4%}
}
@media (max-width:800px){
 .tm-funny-film .tm-funny-film__stage{height:550px;border-radius:21px}
 .tm-funny-film .tm-funny-film__brand{left:22px;top:20px;font-size:16px;gap:9px}
 .tm-funny-film .tm-funny-film__logo{width:27px;height:31px}
 .tm-funny-film .tm-funny-film__network{right:20px;top:64px;font-size:13px}
 .tm-funny-film .tm-funny-film__backdrop{width:340px;height:300px;top:40px;right:-60px;border-radius:150px 150px 0 0}
 .tm-funny-film .tm-funny-film__scene{inset:90px 24px 46px;grid-template-columns:1fr;grid-template-rows:205px 1fr;gap:0;align-items:initial}
 .tm-funny-film .tm-funny-film__progress{left:-24px;right:-24px;bottom:-46px}
 .tm-funny-film .tm-funny-film__copy{grid-row:2;align-self:start;padding:13px 0 0}
 .tm-funny-film .tm-funny-film__visual{grid-row:1;grid-column:1;height:200px;width:100%}
 .tm-funny-film .tm-funny-film__title{font-size:37px;letter-spacing:-1.8px;line-height:1.04}
 .tm-funny-film .tm-funny-film__scene--s0 .tm-funny-film__title{font-size:38px}
 .tm-funny-film .tm-funny-film__scene--s2 .tm-funny-film__title{font-size:33px}
 .tm-funny-film .tm-funny-film__scene--s3 .tm-funny-film__title{font-size:33px}
 .tm-funny-film .tm-funny-film__scene--s4 .tm-funny-film__title{font-size:40px}
 .tm-funny-film .tm-funny-film__lead{font-size:16px;line-height:1.3;margin-top:12px}
 .tm-funny-film .tm-funny-film__lead--final{font-size:15px;margin-top:10px}
 .tm-funny-film .tm-funny-film__prices{max-width:332px;height:195px}
 .tm-funny-film .tm-funny-film__price{width:100px;height:169px;top:25px;border-radius:60px 60px 12px 12px;padding:15px 9px 8px;box-shadow:4px 8px 0 #1d352f0b}
 .tm-funny-film .tm-funny-film__price::before{width:30px;height:6px;top:24px;left:calc(50% - 15px)}
 .tm-funny-film .tm-funny-film__price span{font-size:15px;top:51px;left:12px}
 .tm-funny-film .tm-funny-film__price strong{font-size:45px;letter-spacing:-3px;margin-top:55px}
 .tm-funny-film .tm-funny-film__price b{font-size:17px}
 .tm-funny-film .tm-funny-film__price--0{left:0}
 .tm-funny-film .tm-funny-film__price--1{left:32%;top:4px}
 .tm-funny-film .tm-funny-film__price--2{left:64%}
 .tm-funny-film .tm-funny-film__smile{width:38px;height:18px;border-width:3px;bottom:17px;left:calc(50% - 19px)}
 .tm-funny-film .tm-funny-film__object{width:60%;filter:drop-shadow(0 9px 5px #243b3017)}
 /* [fix-3] the product sets keep the 390 px phone size on wider phones and tablets. */
 .tm-funny-film .tm-funny-film__set{max-width:330px;margin-inline:auto}
 .tm-funny-film .tm-funny-film__set--hero .tm-funny-film__o1{width:72%;max-height:240px;left:-3%;top:-16%}
 .tm-funny-film .tm-funny-film__set--hero .tm-funny-film__o2{width:61%;right:-4%;bottom:-14%}
 .tm-funny-film .tm-funny-film__set--range .tm-funny-film__o1,.tm-funny-film .tm-funny-film__set--final .tm-funny-film__o1{width:68%;left:-5%;top:-12%}
 .tm-funny-film .tm-funny-film__set--range .tm-funny-film__o2,.tm-funny-film .tm-funny-film__set--final .tm-funny-film__o2{width:61%;right:-5%;bottom:-12%}
 .tm-funny-film .tm-funny-film__set--range .tm-funny-film__o3,.tm-funny-film .tm-funny-film__set--final .tm-funny-film__o3{width:36%;right:-1%;top:-5%}
 .tm-funny-film .tm-funny-film__chips{margin-top:15px;gap:7px;max-width:330px}
 .tm-funny-film .tm-funny-film__chips span{font-size:13px;padding:8px 12px}
 .tm-funny-film .tm-funny-film__scene--s2 .tm-funny-film__chips{margin-top:13px;gap:6px}
 .tm-funny-film .tm-funny-film__scene--s2 .tm-funny-film__chips span{padding:7px 10px;font-size:13px}
 .tm-funny-film .tm-funny-film__scene--s2 .tm-funny-film__copy{padding-top:10px}
 .tm-funny-film .tm-funny-film__map{width:310px;height:198px;border-radius:70px 70px 15px 15px}
 .tm-funny-film .tm-funny-film__shop{width:100px;height:77px;border-radius:9px;padding-top:43px;font-size:13px}
 .tm-funny-film .tm-funny-film__shop i{height:25px}
 .tm-funny-film .tm-funny-film__shop--1{top:25px;left:9px}
 .tm-funny-film .tm-funny-film__shop--2{bottom:12px;right:7px}
 .tm-funny-film .tm-funny-film__pin{font-size:13px;top:38%;left:30%;padding:8px 13px;gap:7px}
 .tm-funny-film .tm-funny-film__pin b{font-size:19px}
 .tm-funny-film .tm-funny-film__city-call{font-size:16px;margin-top:15px;gap:23px}
 .tm-funny-film .tm-funny-film__cta{display:flex;font-size:14px;margin-top:17px;padding:16px 15px;gap:10px;justify-content:space-between;width:100%;border-radius:11px}
 .tm-funny-film .tm-funny-film__cta b{font-size:18px}
 .tm-funny-film .tm-funny-film__footer{left:24px;right:24px;bottom:18px;font-size:13px}
 .tm-funny-film .tm-funny-film__step{display:none}
}
@media (max-width:370px){
 .tm-funny-film .tm-funny-film__title,.tm-funny-film .tm-funny-film__scene--s0 .tm-funny-film__title{font-size:33px}
 .tm-funny-film .tm-funny-film__scene--s0 .tm-funny-film__title{font-size:34px}
 .tm-funny-film .tm-funny-film__scene--s2 .tm-funny-film__title,.tm-funny-film .tm-funny-film__scene--s3 .tm-funny-film__title{font-size:30px}
 .tm-funny-film .tm-funny-film__scene--s4 .tm-funny-film__title{font-size:36px}
 .tm-funny-film .tm-funny-film__price{width:90px}
 .tm-funny-film .tm-funny-film__price strong{font-size:41px}
 .tm-funny-film .tm-funny-film__network{font-size:13px}
 .tm-funny-film .tm-funny-film__cta{font-size:13px}
 .tm-funny-film .tm-funny-film__brand{font-size:15px}
}
