@font-face{font-family:'KapSerif';font-style:normal;font-weight:700;font-display:swap;src:url(fonts/pf-cyrillic-n.woff2) format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:'KapSerif';font-style:normal;font-weight:700;font-display:swap;src:url(fonts/pf-latin-n.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'KapSerif';font-style:italic;font-weight:700;font-display:swap;src:url(fonts/pf-cyrillic-i.woff2) format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:'KapSerif';font-style:italic;font-weight:700;font-display:swap;src:url(fonts/pf-latin-i.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
/* KOTELIFE App Promo: общее (баннер, подвал, кнопки, телефон). Только светлая тема. */
.kap,.kap-banner-wrap,.kap-foot{--kap-bg:#faf8fd;--kap-surface:#fff;--kap-soft:#f3eff8;--kap-line:#e8e2f0;--kap-ink:#26202f;--kap-muted:#6f6579;--kap-accent:#7a2fe6;--kap-accent-d:#5f25b3;--kap-accent-soft:#efe6fc;--kap-pink:#e0609a;--kap-peach:#fde9df;--kap-shadow:rgba(60,25,120,.16);color-scheme:light}
.kap,.kap *,.kap-banner-wrap,.kap-banner-wrap *,.kap-foot,.kap-foot *{box-sizing:border-box}
.kap img,.kap-banner-wrap img,.kap-foot img{max-width:100%;height:auto;display:block}
.kap h1,.kap h2,.kap h3,.kap-banner h2,.kap-foot h3{margin:0}

.kap-btn{display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:0 24px;border-radius:99px;font:600 15px/1 inherit;font-family:inherit;text-decoration:none;border:0;cursor:pointer;white-space:nowrap;transition:transform .15s,box-shadow .15s}
a.kap-btn:hover{transform:translateY(-2px)}
.kap-btn-primary{background:linear-gradient(110deg,#7a2fe6,#a15cf0);color:#fff;box-shadow:0 12px 26px var(--kap-shadow)}
.kap-btn-dark{background:#15101e;color:#fff}
.kap-btn-white{background:#fff;color:#5f25b3}
.kap-btn-light{background:#fff;color:#26202f;border:1px solid #e8e2f0}
.kap-btn-ghost{background:rgba(255,255,255,.14);color:#fff;border:1px solid rgba(255,255,255,.4)}
.kap-btn-sm{min-height:40px;padding:0 18px;font-size:14px}
.kap-btn[aria-disabled=true]{opacity:.7;cursor:default}
.kap-btn:focus-visible,.kap-store:focus-visible,.kap-nav a:focus-visible{outline:3px solid #7a2fe6;outline-offset:3px}
.kap-row{display:flex;flex-wrap:wrap;gap:12px;margin-top:24px}
.kap-pill{display:inline-flex;align-items:center;gap:8px;padding:7px 14px;border-radius:99px;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.3);font-size:13px;color:#fff}
.kap-pill i{width:8px;height:8px;border-radius:50%;background:#3ba776}
.kap-pill-light{background:#fff;border-color:var(--kap-line);color:var(--kap-muted)}
.kap-grad{background:linear-gradient(110deg,#7a2fe6,#e0609a);-webkit-background-clip:text;background-clip:text;color:transparent;font-style:italic}

/* телефон с выезжающими карточками */
.kap-stage{position:relative;width:100%;max-width:470px;aspect-ratio:1/1.12;margin-inline:auto}
.kap-phone{position:absolute;left:50%;top:50%;width:48%;aspect-ratio:1206/2622;transform:translate(-50%,-50%);background:#15101e;border-radius:12%/5.6%;padding:2.2%;box-shadow:0 36px 70px var(--kap-shadow),inset 0 0 0 2px #3b2f52;z-index:2}
.kap-phone img{width:100%;height:100%;object-fit:cover;object-position:top;border-radius:10%/4.6%}
.kap-fl{position:absolute;z-index:4;background:#fff;color:#26202f;border-radius:18px;padding:10px 14px 10px 10px;display:flex;align-items:center;gap:10px;box-shadow:0 18px 38px var(--kap-shadow);font-size:clamp(11px,1.45vw,14px);line-height:1.25;max-width:62%;animation:kap-pop .9s cubic-bezier(.2,.9,.25,1.25) both,kap-bob 6s ease-in-out infinite}
.kap-fl b{display:block;font-weight:600}.kap-fl span{color:#6f6579;font-size:.92em}
.kap-fl img{width:44px;height:44px;object-fit:contain;flex:none}
.kap-fl.a{left:-6%;top:12%;animation-delay:.1s,1s}
.kap-fl.b{right:-8%;top:34%;animation-delay:.35s,1.4s}
.kap-fl.c{left:-10%;bottom:16%;animation-delay:.6s,.4s}
.kap-cat-peek{position:absolute;z-index:5;right:-4%;bottom:-2%;width:34%;animation:kap-peek 1s .5s cubic-bezier(.2,.9,.25,1.2) both,kap-bob 5s 1.6s ease-in-out infinite;filter:drop-shadow(0 14px 18px var(--kap-shadow))}
.kap-say{position:absolute;z-index:6;right:2%;bottom:30%;background:#26202f;color:#faf8fd;padding:9px 13px;border-radius:16px 16px 4px 16px;font-size:clamp(11px,1.4vw,13px);line-height:1.35;max-width:46%;animation:kap-pop .8s 1s both}
@keyframes kap-pop{from{opacity:0;transform:translateX(30%) scale(.5)}to{opacity:1;transform:none}}
@keyframes kap-peek{from{opacity:0;transform:translateY(40%) rotate(8deg)}to{opacity:1;transform:none}}
@keyframes kap-bob{0%,100%{translate:0 0}50%{translate:0 -8px}}
@media (prefers-reduced-motion:reduce){.kap-fl,.kap-cat-peek,.kap-say{animation:none}a.kap-btn:hover{transform:none}}

/* баннер на главной */
.kap-banner-wrap{max-width:1256px;margin:48px auto 0;padding:0 max(16px,env(safe-area-inset-left,0px))}
.kap-banner{display:grid;grid-template-columns:1.15fr .85fr;gap:24px;align-items:center;padding:40px 48px;border-radius:28px;color:#fff;overflow:hidden;background:radial-gradient(120% 140% at 100% 0%,#9a5cf0 0%,transparent 55%),linear-gradient(120deg,#4b1c93,#7a2fe6)}
.kap-banner h2{font-family:inherit;font-size:clamp(28px,3.6vw,42px);line-height:1.1;color:#fff;margin:16px 0 0;font-weight:800;letter-spacing:-.02em}
.kap-banner h2 em{font-style:normal;color:#ffd3e8}
.kap-banner p{margin:14px 0 0;max-width:46ch;color:#eadcff;font-size:16px;line-height:1.55}
.kap-banner .kap-btn-ghost:hover{background:rgba(255,255,255,.24)}
.kap-sm{font-size:13px;color:#d8c6f6;margin-top:12px}
.kap-banner .kap-stage{max-width:380px;aspect-ratio:1/.92;margin:0 auto}
.kap-banner .kap-fl{box-shadow:0 14px 30px rgba(10,0,40,.4)}

/* блок над подвалом */
.kap-foot{max-width:1256px;margin:40px auto 32px;padding:0 max(16px,env(safe-area-inset-left,0px))}
.kap-foot-in{display:flex;flex-wrap:wrap;align-items:center;gap:20px 36px;padding:22px 30px;border-radius:24px;background:linear-gradient(110deg,#f3ebff,#ffeef5);border:1px solid #e8e2f0}
.kap-foot-cat{display:flex;align-items:center;gap:16px;flex:1 1 280px}
.kap-foot-cat img{width:80px;flex:none}
.kap-foot h3{font-size:19px;font-weight:700;color:#26202f;margin:0}
.kap-foot p{margin:4px 0 0;color:#6f6579;font-size:14px}
.kap-stores{display:flex;flex-wrap:wrap;gap:10px}
.kap-store{display:flex;align-items:center;gap:12px;background:#15101e;border-radius:14px;padding:8px 18px;color:#fff;text-decoration:none;min-height:50px}
.kap-store small{display:block;font-size:11px;color:#c9bedb;line-height:1.1}.kap-store b{font-size:16px;font-weight:600}
a.kap-store:hover{background:#2a2038}
.kap-store-off{opacity:.55;cursor:default}
.kap-foot-more{color:#5f25b3;font-weight:600;font-size:14px;text-decoration:none;margin-left:auto}
.kap-foot-more:hover{text-decoration:underline}

@media (max-width:860px){
 .kap-banner{grid-template-columns:1fr;padding:28px 20px;gap:18px}
 .kap-banner .kap-stage{max-width:260px}
 .kap-banner-wrap{margin:40px auto 0}
 .kap-foot-in{padding:18px 16px}
 .kap-foot-more{margin-left:0}
 .kap-stores{display:grid;grid-template-columns:1fr 1fr;width:100%;gap:8px}
 .kap-store{padding:8px 12px;gap:10px;min-height:48px}
 .kap-store b{font-size:15px}
 .kap-store-off{grid-column:1/-1;justify-content:center;min-height:42px}
 .kap-foot-cat img{width:64px}
}

/* главная: баннер приложения вместо верхнего баннера темы */
.kap-hb{--kap-shadow:rgba(30,8,80,.35);max-width:1256px;margin:8px auto 0;padding:0;box-sizing:border-box;color-scheme:light}
.kap-hb *{box-sizing:border-box}
.kap-hb img{max-width:100%;height:auto;display:block}
.kap-hb-in{position:relative;display:grid;grid-template-columns:1.05fr .95fr;gap:20px;align-items:center;min-height:500px;padding:40px 52px;border-radius:32px;color:#fff;overflow:hidden;
 background:radial-gradient(70% 90% at 85% 10%,#a46cf5 0%,transparent 60%),radial-gradient(60% 80% at 100% 100%,#e0609a55,transparent 60%),linear-gradient(125deg,#3f1680,#6a27d6 55%,#7a2fe6)}
.kap-hb h1{font-family:inherit;font-weight:800;font-size:clamp(30px,3.6vw,48px);line-height:1.06;letter-spacing:-.025em;color:#fff;margin:18px 0 0;text-wrap:balance}
.kap-hb h1 em{font-style:normal;color:#ffd3e8}
.kap-hb-list{list-style:none;margin:22px 0 0;padding:0;display:flex;flex-direction:column;gap:10px;max-width:46ch}
.kap-hb-list li{position:relative;padding-left:30px;color:#eadcff;font-size:16px;line-height:1.4}
.kap-hb-list li::before{content:"";position:absolute;left:0;top:1px;width:20px;height:20px;border-radius:50%;background:rgba(255,255,255,.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat}
.kap-hb-list b{color:#fff;font-weight:700}
.kap-hb .kap-row{margin-top:26px}
.kap-hb .kap-btn-ghost:hover{background:rgba(255,255,255,.24)}
.kap-hb .kap-sm a{color:#fff;text-decoration:underline;text-underline-offset:3px;margin-left:6px;white-space:nowrap}
.kap-hb-scene{position:relative;height:460px}
.kap-hb-screen{position:absolute;left:50%;top:50%;width:230px;aspect-ratio:600/1304;transform:translate(-50%,-50%);border-radius:38px;padding:7px;
 background:#17101f;box-shadow:0 0 0 1.5px rgba(255,255,255,.22) inset,0 40px 70px -22px rgba(20,0,60,.65);z-index:1}
.kap-hb-screen img{width:100%;height:100%;object-fit:cover;object-position:top;border-radius:31px;background:#2a2236}
.kap-hb-pop{position:absolute;z-index:3;filter:drop-shadow(0 18px 28px rgba(20,0,60,.4));animation:kap-hb-out .9s cubic-bezier(.2,.9,.25,1.15) both}
.kap-hb-pop.q1{width:300px;left:calc(50% - 290px);top:13%;--r:-2deg;--fx:130px;--fy:50px;animation-delay:.25s}
.kap-hb-pop.q2{width:280px;left:calc(50% - 40px);top:44%;--r:2deg;--fx:-130px;--fy:0px;animation-delay:.45s}
.kap-hb-pop.q3{left:calc(50% - 280px);top:72%;--r:-1deg;--fx:130px;--fy:-40px;animation-delay:.65s}
.kap-hb .kap-card{display:flex;align-items:center;gap:12px;background:#fff;border-radius:20px;padding:10px 16px 10px 10px;max-width:300px}
.kap-hb .kap-card img{width:48px;height:48px;object-fit:contain;flex:none}
.kap-hb .kap-card b{display:block;font-size:14px;font-weight:700;line-height:1.25;color:#26202f}
.kap-hb .kap-card span{display:block;font-size:12px;color:#6f6579;margin-top:2px}
.kap-hb-cat{position:absolute;z-index:4;right:2%;bottom:0;width:130px;filter:drop-shadow(0 14px 18px rgba(20,0,60,.4));animation:kap-peek 1s .9s cubic-bezier(.2,.9,.25,1.2) both}
@keyframes kap-hb-out{from{opacity:0;transform:translate(var(--fx),var(--fy)) scale(.7)}to{opacity:1;transform:rotate(var(--r))}}
@media (prefers-reduced-motion:reduce){.kap-hb-pop,.kap-hb-cat{animation:none;transform:rotate(var(--r,0))}}
@media (max-width:1100px){.kap-hb-pop.q1,.kap-hb-pop.q2{width:240px}.kap-hb-pop.q1,.kap-hb-pop.q3{left:calc(50% - 230px)}.kap-hb-pop.q2{left:calc(50% - 20px)}}
@media (max-width:860px){
 .kap-hb{margin-top:4px}
 .kap-hb-in{grid-template-columns:1fr;padding:26px 18px 0;gap:6px;min-height:0;border-radius:26px}
 .kap-hb h1{font-size:clamp(28px,8vw,36px)}
 .kap-hb-list li{font-size:15px}
 .kap-hb-scene{height:360px;margin:0 -18px}
 .kap-hb-screen{width:170px;top:54%;border-radius:30px;padding:5px}
 .kap-hb-screen img{border-radius:24px}
 .kap-hb-pop.q1,.kap-hb-pop.q3{width:min(60vw,230px);left:10px}
 .kap-hb-pop.q2{width:min(60vw,230px);left:auto;right:10px}
 .kap-hb-pop.q1{top:8%}.kap-hb-pop.q2{top:42%}.kap-hb-pop.q3{top:74%;max-width:230px}
 .kap-hb .kap-card{padding:8px 12px 8px 8px}.kap-hb .kap-card img{width:38px;height:38px}.kap-hb .kap-card b{font-size:12.5px}.kap-hb .kap-card span{font-size:11px}
 .kap-hb-cat{width:92px;right:6px}
 .kap-hb .kap-row .kap-btn{flex:1 1 100%}
}

/* логотип RuStore на кнопках */
.kap-btn .kap-rs{width:24px;height:24px;border-radius:6px;margin-right:10px;flex:none}
.kap-store .kap-rs{width:28px;height:28px;border-radius:7px}

/* вторая кнопка на фиолетовом фоне: белый текст и заметная белая рамка */
.kap-hb .kap-btn-ghost,.kap-banner .kap-btn-ghost,.kap-cta .kap-btn-ghost{background:rgba(255,255,255,.12);color:#fff;border:2px solid rgba(255,255,255,.9);font-weight:600}
.kap-hb .kap-btn-ghost:hover,.kap-banner .kap-btn-ghost:hover{background:#fff;color:#4b1c93}

/* ===== баннер главной v2 ===== */
.kap-hb2{max-width:1256px;margin:8px auto 0;padding:0;box-sizing:border-box;color-scheme:light}
.kap-hb2 *{box-sizing:border-box}
.kap-hb2 img{display:block;max-width:100%;height:auto}
.kap-hb2-in{position:relative;display:grid;grid-template-columns:1fr 560px;gap:24px;align-items:center;height:380px;padding:0 0 0 48px;border-radius:32px;color:#fff;overflow:hidden;
 background:radial-gradient(60% 90% at 80% 20%,#a46cf5 0%,transparent 62%),linear-gradient(125deg,#3f1680,#6a27d6 55%,#7a2fe6)}
.kap-hb2 h1{font-family:inherit;font-weight:800;font-size:clamp(28px,3vw,40px);line-height:1.06;letter-spacing:-.025em;color:#fff;margin:14px 0 0;text-wrap:balance;max-width:15ch}
.kap-hb2 h1 em{font-style:normal;color:#ffd3e8}
.kap-hb2-lead{margin:12px 0 0;font-size:16px;line-height:1.5;color:#eadcff;max-width:44ch}
.kap-hb2-act{display:flex;flex-wrap:wrap;gap:12px;margin-top:20px}
.kap-hb2-note{font-size:13px;color:#d8c6f6;margin-top:12px}
.kap-hb2-scene{position:relative;height:100%}
.kap-hb2-phone{position:absolute;z-index:2;left:50%;top:36px;width:230px;height:500px;transform:translateX(-50%);border-radius:40px;padding:8px;background:#17101f;
 box-shadow:0 0 0 1.5px rgba(255,255,255,.18) inset,0 40px 70px -24px rgba(15,0,45,.65)}
.kap-hb2-phone img{width:100%;height:100%;object-fit:cover;object-position:top;border-radius:33px}
.kap-hb2-pop{position:absolute;z-index:3;filter:drop-shadow(0 16px 26px rgba(15,0,45,.32));animation:kap-hb2-in .8s cubic-bezier(.2,.9,.3,1.1) both}
.kap-hb2-pop.s1{width:310px;left:14px;top:118px;animation-delay:.2s;--fx:60px}
.kap-hb2-pop.s2{width:300px;left:40px;top:262px;animation-delay:.4s;--fx:-60px}
.kap-hb2-cat{position:absolute;z-index:1;right:28px;bottom:-2px;width:132px;filter:drop-shadow(0 12px 16px rgba(15,0,45,.35))}
@keyframes kap-hb2-in{from{opacity:0;transform:translateX(var(--fx)) scale(.94)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.kap-hb2-pop{animation:none}}
@media (max-width:1180px){.kap-hb2-in{grid-template-columns:1fr 480px;padding-left:40px}.kap-hb2-pop.s1{width:290px;left:0}.kap-hb2-pop.s2{width:280px;left:20px}.kap-hb2-cat{right:10px;width:130px}}
@media (max-width:980px){.kap-hb2-in{grid-template-columns:1fr 360px;padding-left:32px}.kap-hb2-pop{display:none}.kap-hb2-cat{right:0;width:110px}}
/* телефон: компактно, товары начинаются на первом экране */
@media (max-width:700px){
 .kap-hb2{margin-top:4px}
 .kap-hb2-in{grid-template-columns:1fr 84px;grid-template-areas:"copy phone" "act act";gap:2px 12px;height:auto;padding:16px 16px 12px;border-radius:22px}
 .kap-hb2-copy{display:contents}
 .kap-hb2-copy>.kap-pill,.kap-hb2-copy>h1,.kap-hb2-copy>.kap-hb2-lead{grid-area:copy}
 .kap-hb2-copy .kap-pill{display:none}
 .kap-hb2-copy>h1{align-self:center;font-size:21px;line-height:1.12;margin:0;max-width:none}
 .kap-hb2-copy>.kap-hb2-lead{display:none}
 .kap-hb2-scene{grid-area:phone;height:104px}
 .kap-hb2-phone{top:0;width:80px;height:150px;border-radius:17px;padding:3px}
 .kap-hb2-phone img{border-radius:14px}
 .kap-hb2-cat{display:none}
 .kap-hb2-act{grid-area:act;display:flex;flex-direction:row;align-items:center;gap:14px;margin-top:10px;position:relative;z-index:3}
 .kap-hb2-act .kap-btn-white{flex:1 1 auto}
 .kap-hb2-act .kap-btn-white{min-height:48px}
 .kap-hb2 .kap-hb2-more{background:none!important;border:0!important;min-height:0;padding:4px 0;font-size:14px;text-decoration:underline;text-underline-offset:3px;justify-content:center}
 .kap-hb2-note{display:none}
}

/* 1.4.2: аккуратная рамка телефона в баннере главной: углы экрана = радиус рамки − отступ, чёлка, карточки по краям */
.kap-hb .kap-hb-screen{border-radius:44px;padding:9px;background:#17101f;box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.14),0 30px 60px -20px rgba(20,0,50,.55)}
.kap-hb .kap-hb-screen img{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 0;border-radius:35px;max-width:none}
.kap-hb .kap-hb-screen::after{content:"";position:absolute;top:15px;left:50%;transform:translateX(-50%);width:66px;height:19px;border-radius:20px;background:#000;z-index:2}
.kap-hb .kap-hb-pop.q1{width:270px;left:calc(50% - 300px);top:12%}
.kap-hb .kap-hb-pop.q2{width:250px;left:calc(50% + 36px);top:43%}
.kap-hb .kap-hb-pop.q3{width:260px;max-width:260px;left:calc(50% - 300px);top:73%}
.kap-hb .kap-hb-cat{right:0;bottom:0;width:118px}
@media (max-width:1100px){.kap-hb .kap-hb-pop.q1,.kap-hb .kap-hb-pop.q3{width:230px;left:calc(50% - 250px)}.kap-hb .kap-hb-pop.q2{width:220px;left:calc(50% + 30px)}}
@media (max-width:860px){
 .kap-hb .kap-hb-screen{border-radius:32px;padding:6px}
 .kap-hb .kap-hb-screen img{border-radius:26px}
 .kap-hb .kap-hb-screen::after{top:10px;width:48px;height:14px}
 .kap-hb .kap-hb-pop.q1,.kap-hb .kap-hb-pop.q3{width:min(46vw,180px);max-width:180px;left:8px}
 .kap-hb .kap-hb-pop.q2{width:min(46vw,180px);left:auto;right:8px}
 .kap-hb .kap-hb-cat{width:84px;right:4px}
}
@media (max-width:860px){.kap-hb .kap-hb-pop.q3{width:min(64vw,236px);max-width:236px;top:76%}}

/* 1.4.3: рамка телефона в баннере главной как на /app/ (светлый сиренево-розовый градиент) */
.kap-hb .kap-hb-screen{border-radius:44px;padding:6px;background:linear-gradient(160deg,#c9a8ff,#f3b6d3 55%,#e8dcfb);box-shadow:0 40px 80px -20px rgba(20,0,60,.45),0 8px 20px rgba(20,0,60,.15)}
.kap-hb .kap-hb-screen img{border-radius:38px}
.kap-hb .kap-hb-screen::after{top:13px}
@media (max-width:860px){.kap-hb .kap-hb-screen{border-radius:32px;padding:5px}.kap-hb .kap-hb-screen img{border-radius:27px}.kap-hb .kap-hb-screen::after{top:9px}}
