/* Стили из утверждённого макета v11 (задача 78), Temp/ak78-site/site11.cjs */



*{box-sizing:border-box;margin:0;padding:0}
body{background:#fff;color:#111;font-family:Inter,system-ui,sans-serif;-webkit-font-smoothing:antialiased}
.logo{display:block;background:url(/i/logo.png?v=2) no-repeat}
.ava{border-radius:50%;background:url(/i/logo.png?v=2) no-repeat;flex:none}
.top{display:flex;justify-content:space-between;align-items:center;padding:10px 16px;border-bottom:1px solid #EFEFF2;background:#fff}
.logo.s{width:100px;height:39px;background-size:123px;background-position:-12.3px -8px}
.lang{display:flex;border:1px solid #DADAE0;border-radius:20px;font-size:13px;font-weight:600;overflow:hidden}
.lang span{padding:6px 12px;color:#777}.lang span.on{background:#13306B;color:#fff}
.stories{display:flex;gap:14px;padding:14px 16px 12px;overflow:hidden;border-bottom:1px solid #EFEFF2}
.st{width:66px;text-align:center;font-size:11.5px;font-weight:500;color:#333;flex:none}
.st .r{width:66px;height:66px;border-radius:50%;padding:3px;background:linear-gradient(135deg,#E1262D,#13306B)}
.st .r.seen{background:#D5D5DB}
.st .r div{width:100%;height:100%;border-radius:50%;border:2.5px solid #fff;background-size:cover;background-position:center}
.st .r .all{background:#13306B;color:#fff;display:flex;align-items:center;justify-content:center;font-family:Montserrat,Inter,sans-serif;font-weight:800;font-size:13px}
.st span{display:block;margin-top:6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.chips{display:flex;gap:8px;padding:12px 16px;overflow:hidden;white-space:nowrap}
.chips span{font-size:14px;font-weight:600;padding:7px 14px;border-radius:16px;background:#F5F5F7;color:#444}
.chips span.on{background:#13306B;color:#fff}
.post{border-bottom:8px solid #F5F5F7;padding-bottom:14px}
.ph{display:flex;align-items:center;gap:10px;padding:12px 16px}
.ph .ava{width:34px;height:34px;background-size:65.9px;background-position:-15.8px -27.6px;background-color:#13306B}
.ph b{font-size:14.5px;font-weight:700;display:block}
.ph small{font-size:12.5px;color:#8A8A92}
.ph small i{font-style:normal;color:#E1262D;font-weight:600}
.media{position:relative;aspect-ratio:4/5;background-size:cover;background-position:center}
.media:after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,rgba(11,21,48,0) 45%,rgba(11,21,48,.92) 100%)}
.media .h{position:absolute;left:18px;right:18px;bottom:20px;z-index:2;color:#fff;font-family:Montserrat,Inter,sans-serif;font-weight:800;font-size:24px;line-height:1.18}
.media .h:before{content:'';display:block;width:42px;height:5px;background:#E1262D;border-radius:3px;margin-bottom:12px}
.media .vid{position:absolute;inset:0;z-index:2;display:flex;align-items:center;justify-content:center}
.media .vid div{width:74px;height:74px;border-radius:50%;background:rgba(255,255,255,.92);display:flex;align-items:center;justify-content:center}
.media .vid div:after{content:'';border-left:24px solid #13306B;border-top:15px solid transparent;border-bottom:15px solid transparent;margin-left:6px}
.media .dur{position:absolute;top:14px;right:14px;z-index:2;background:rgba(0,0,0,.6);color:#fff;font-size:13px;font-weight:600;padding:5px 10px;border-radius:12px}
.media .cnt{position:absolute;top:14px;right:14px;z-index:2;background:rgba(0,0,0,.6);color:#fff;font-size:13px;font-weight:600;padding:5px 10px;border-radius:12px}
.act{display:flex;gap:18px;padding:12px 16px 6px;color:#111}
.act .sp{flex:1}
.txt{padding:2px 16px;font-size:15px;line-height:1.5;color:#2A2A30}
.txt b{font-weight:700}
.txt .more{color:#8A8A92}
.dots{display:flex;gap:5px;justify-content:center;margin:-2px 0 0}
.dots i{width:6px;height:6px;border-radius:50%;background:#D5D5DB}.dots i.on{background:#13306B}
.ad{margin:14px 16px 0;background:#F5F5F7;border-radius:14px;padding:14px 16px;display:flex;justify-content:space-between;align-items:center;gap:12px}
.ad small{display:block;font-size:11.5px;font-weight:700;letter-spacing:.06em;color:#13306B;text-transform:uppercase}
.ad b{font-size:15px;font-weight:700;display:block;margin-top:3px}
.ad a{background:#E1262D;color:#fff;font-weight:700;font-size:13.5px;padding:9px 14px;border-radius:10px;white-space:nowrap}
.tab{position:absolute;left:0;right:0;bottom:0;height:64px;background:#fff;border-top:1px solid #E5E5EA;display:flex;justify-content:space-around;align-items:center}
.tab div{display:flex;flex-direction:column;align-items:center;gap:3px;font-size:11px;font-weight:600;color:#8A8A92}
.tab div.on{color:#13306B}
/* телефон */
.phone{width:390px;position:relative;overflow:hidden;background:#fff}
.feed{padding-bottom:64px}
/* компьютер */
.desk{display:grid;grid-template-columns:250px 470px 300px;gap:48px;justify-content:center;padding:0 24px;min-height:1500px}
.left{position:sticky;top:0;padding:26px 0;border-right:1px solid #EFEFF2;height:1500px}
.logo.d{width:150px;height:59px;background-size:184px;background-position:-18.4px -12px;margin-bottom:30px}
.menu div{display:flex;align-items:center;gap:14px;font-size:16px;font-weight:500;padding:12px 10px;border-radius:12px;color:#222}
.menu div.on{font-weight:700;background:#F5F5F7;color:#13306B}
.menu hr{border:0;border-top:1px solid #EFEFF2;margin:12px 0}
.menu .c{font-size:15px;padding:9px 10px;color:#444}
.mid{border-left:1px solid #EFEFF2;border-right:1px solid #EFEFF2}
.right{padding:26px 0}
.card{border-radius:16px;padding:22px;margin-bottom:18px}
.card.blue{background:#13306B;color:#fff}
.card.blue b{font-family:Montserrat,Inter,sans-serif;font-weight:800;font-size:20px;line-height:1.25;display:block}
.card.blue p{font-size:14.5px;line-height:1.5;color:#C9D3EA;margin:8px 0 16px}
.btn{display:inline-block;background:#E1262D;color:#fff;font-weight:700;font-size:14.5px;padding:11px 18px;border-radius:12px}
.card.grey{background:#F5F5F7}
.card.grey small{font-size:11.5px;font-weight:700;letter-spacing:.06em;color:#13306B;text-transform:uppercase}
.card.grey b{display:block;font-size:17px;line-height:1.35;font-weight:700;margin:6px 0 8px}
.card.grey p{font-size:14.5px;line-height:1.5;color:#55555C;margin-bottom:12px}
.card.grey a{font-weight:700;color:#E1262D;font-size:14.5px}
.hdr{font-family:Montserrat,Inter,sans-serif;font-weight:800;font-size:13px;letter-spacing:.08em;text-transform:uppercase;color:#13306B;margin:6px 0 10px}
.mini{display:flex;gap:12px;align-items:center;padding:8px 0}
.mini div{width:54px;height:54px;border-radius:10px;background-size:cover;background-position:center;flex:none}
.mini b{font-size:14px;line-height:1.35;font-weight:600}

.ic{display:inline-block;flex:none;background:currentColor}
.lang{border:0;gap:6px;border-radius:0;overflow:visible}.lang span{width:38px;height:38px;border-radius:50%;padding:0;display:flex;align-items:center;justify-content:center;background:#F5F5F7;color:#555}.lang span.on{background:#13306B;color:#fff}
.act{align-items:center;gap:6px;padding:10px 12px 4px}
.act .b{display:flex;align-items:center;gap:5px;font-size:13.5px;font-weight:600;color:#222;padding:5px 6px}
.act .b.like{color:#13306B}.act .b.like2{color:#13306B}.act .b.sv{color:#13306B}
.act .pill{display:flex;align-items:center;background:#EEF2FA;border-radius:20px;padding:2px 4px}
.act .pill i{width:1px;height:18px;background:#C9D3EA;margin:0 2px}
.toast{position:absolute;left:16px;right:16px;bottom:78px;background:#13306B;color:#fff;border-radius:14px;padding:12px 16px;font-size:14px;font-weight:600;display:flex;justify-content:space-between;align-items:center;z-index:9;box-shadow:0 6px 20px rgba(0,0,0,.18)}
.toast u{text-decoration:none;color:#FFD2D4}
.tab div{font-size:10.5px}
.tab .dot{position:relative}
.tab .dot b{position:absolute;top:-4px;right:12px;min-width:17px;height:17px;border-radius:9px;background:#E1262D;color:#fff;font-size:10.5px;display:flex;align-items:center;justify-content:center;padding:0 4px}
.sh{padding:16px 16px 4px;font-family:Montserrat,Inter,sans-serif;font-weight:800;font-size:24px;color:#13306B}
.sub{padding:0 16px 10px;font-size:14px;color:#8A8A92}
.sv-item{display:flex;gap:12px;padding:12px 16px;border-bottom:1px solid #EFEFF2;align-items:center}
.sv-item .th{width:92px;height:92px;border-radius:14px;background-size:cover;background-position:center;flex:none;position:relative}
.sv-item .th em{position:absolute;inset:0;display:flex;align-items:center;justify-content:center}
.sv-item .th em span{width:34px;height:34px;border-radius:50%;background:rgba(255,255,255,.92);display:flex;align-items:center;justify-content:center;color:#13306B}
.sv-item .tx{flex:1;min-width:0}
.sv-item small{font-size:12px;font-weight:600;color:#E1262D}
.sv-item small s{text-decoration:none;color:#8A8A92;font-weight:500}
.sv-item b{display:block;font-size:15px;line-height:1.35;font-weight:700;margin-top:4px}
.sv-item .bm{color:#13306B;flex:none}
.empty{margin:18px 16px 0;background:#F5F5F7;border-radius:14px;padding:14px 16px;font-size:13.5px;color:#55555C;line-height:1.5;display:flex;gap:10px;align-items:flex-start}
.empty svg{flex:none;color:#13306B;margin-top:1px}
.menu div svg{flex:none}
.tabl .post,.tabl .ad{max-width:560px;margin-left:auto;margin-right:auto}.tabl .stories{justify-content:center}.phone:not(.tabl) .fs{display:none}
.menu .cnt2{margin-left:auto;background:#E1262D;color:#fff;font-size:12px;font-weight:700;border-radius:10px;padding:2px 8px}

.ph small i{color:#8A8A92;font-weight:500}
.lang1{display:flex;align-items:center;gap:6px;height:38px;padding:0 14px 0 10px;border-radius:19px;background:#F5F5F7;font-size:14px;font-weight:700;color:#13306B}
.lang1 s{text-decoration:none;color:#A0A0A8;font-weight:500}
.top{position:relative;z-index:5}
.top .rt{display:flex;gap:8px;align-items:center}
.rbtn{width:38px;height:38px;border-radius:50%;background:#F5F5F7;display:flex;align-items:center;justify-content:center;color:#13306B}
.act .b{color:#55555C}.act .b.on{color:#13306B}
.act .pill{background:#F2F4F8}
/* видео в ленте */
.media.v .h{display:none}
.vplay{position:absolute;left:50%;top:50%;margin:-38px 0 0 -38px;width:76px;height:76px;color:rgba(235,236,240,.62);z-index:3;filter:drop-shadow(0 2px 8px rgba(0,0,0,.25))}
.vplay .ic{width:76px!important;height:76px!important}
.vmute{position:absolute;right:12px;bottom:14px;width:36px;height:36px;border-radius:50%;background:rgba(0,0,0,.45);color:#fff;display:flex;align-items:center;justify-content:center;z-index:3}
.vbar2{position:absolute;left:0;right:0;bottom:0;height:3px;background:rgba(255,255,255,.35);z-index:3}.vbar2 i{display:block;width:30%;height:100%;background:#E1262D}
.media .dur{z-index:3}
.vcap{position:absolute;left:14px;bottom:16px;z-index:3;color:#fff;font-size:12.5px;font-weight:600;background:rgba(0,0,0,.45);border-radius:12px;padding:5px 10px}
/* истории: магазин */
.st .r .shop{background:#E1262D;color:#fff;display:flex;align-items:center;justify-content:center}
/* магазин в ленте */
.shopc{margin:6px 16px 14px;border-radius:18px;background:#F5F5F7;padding:14px;display:flex;gap:12px;align-items:center}
.shopc .sq{width:54px;height:54px;border-radius:14px;background:#E1262D;color:#fff;display:flex;align-items:center;justify-content:center;flex:none}
.shopc small{font-size:12px;font-weight:700;color:#E1262D}
.shopc b{display:block;font-size:15px;line-height:1.3;margin-top:2px}
.shopc p{font-size:12.5px;color:#77777F;margin-top:2px}
.shopc a{margin-left:auto;flex:none;background:#13306B;color:#fff;font-size:13.5px;font-weight:700;border-radius:18px;padding:9px 14px}
/* окно Поделиться */
.dim{position:absolute;inset:0;background:rgba(0,0,0,.45);z-index:8}
.sheet{position:absolute;left:0;right:0;bottom:0;z-index:9;background:#fff;border-radius:24px 24px 0 0;padding:10px 18px 30px}
.sheet .grab{width:40px;height:5px;border-radius:3px;background:#D5D5DB;margin:0 auto 14px}
.sheet h4{font-size:18px;font-weight:700;margin-bottom:14px}
.sheet .lnk{display:flex;align-items:center;gap:10px;background:#F5F5F7;border-radius:16px;padding:12px 14px;color:#13306B}
.sheet .lnk span:not(.ic){text-align:left;font-size:14.5px;color:#333;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;flex:1}
.sheet .cp{margin-top:12px;height:50px;border-radius:25px;background:#13306B;color:#fff;font-size:16px;font-weight:700;display:flex;align-items:center;justify-content:center}
.sheet .ok{margin-top:10px;text-align:center;font-size:13px;color:#2E8B57;font-weight:600}
/* Избранное + Telegram */
.tgc{margin:6px 16px 6px;border-radius:18px;background:#13306B;color:#fff;padding:14px;display:flex;gap:12px;align-items:center}
.tgc .ava{width:52px;height:52px;background-size:100px;background-position:-24px -42px;background-color:#0E2654;border:2px solid #fff;flex:none}
.tgc b{display:block;font-size:15.5px}.tgc small{font-size:12.5px;opacity:.75}
.tgc a{margin-left:auto;flex:none;display:flex;align-items:center;gap:6px;background:#fff;color:#13306B;font-size:13.5px;font-weight:700;border-radius:18px;padding:9px 12px}
.tab div .ic{margin-bottom:1px}

.act .b{color:#6B6B73}
.act .b.red{color:#13306B}
.act .b.blue{color:#13306B}
.act .pill{background:#F2F3F6}

.lang2{width:38px;height:38px;border-radius:50%;background:#F5F5F7;display:flex;align-items:center;justify-content:center;font-size:13.5px;font-weight:800;color:#13306B;letter-spacing:.2px}
.tap{position:absolute;width:46px;height:46px;border-radius:50%;border:2px dashed rgba(225,38,45,.55);pointer-events:none}
/* магазин */
.shead{padding:14px 16px 4px;display:flex;align-items:flex-end;justify-content:space-between}
.shead h3{font-family:Montserrat,Inter,sans-serif;font-weight:800;font-size:24px;color:#13306B}
.shead small{display:block;font-size:13px;color:#8A8A92;font-weight:500;margin-top:2px}
.sbar{margin:10px 16px 4px;border-radius:16px;background:#F5F5F7;padding:11px 14px;font-size:13px;line-height:1.45;color:#33333A}
.sbar b{color:#13306B}
.chips{display:flex;gap:8px;padding:10px 16px 6px;overflow:hidden;white-space:nowrap}
.chips span{padding:8px 14px;border-radius:18px;background:#F5F5F7;font-size:13.5px;font-weight:600;color:#33333A;flex:none}
.chips span.on{background:#13306B;color:#fff}
.grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:8px 16px 90px}
.pc{border-radius:18px;background:#fff;box-shadow:0 1px 0 #EFEFF2,0 4px 14px rgba(19,48,107,.07);overflow:hidden}
.pc .im{aspect-ratio:1/1;background:#F5F5F7 center/cover no-repeat}
.pc .in{padding:9px 11px 11px}
.pc .nm{font-size:13px;line-height:1.35;font-weight:600;color:#1E1E24;height:53px;overflow:hidden}
.pc .pr{margin-top:6px;font-size:16px;font-weight:800;color:#13306B}
.pc .pr s{display:block;font-size:12px;font-weight:500;color:#A0A0A8;margin-bottom:1px}
.pc .by{margin-top:9px;height:36px;border-radius:18px;background:#E1262D;color:#fff;font-size:13.5px;font-weight:700;display:flex;align-items:center;justify-content:center}
.ci{display:flex;gap:12px;padding:12px 16px;border-bottom:1px solid #EFEFF2}.ci .im{width:86px;height:86px;border-radius:14px;background:#F5F5F7 center/cover;flex:none}.ci .tx{flex:1}.ci b{display:block;font-size:14.5px;line-height:1.35}.ci small{font-size:12.5px;color:#8A8A92}.ci .rw{display:flex;align-items:center;justify-content:space-between;margin-top:8px}.ci .q{display:flex;align-items:center;gap:12px;background:#F5F5F7;border-radius:16px;padding:4px 10px;font-weight:700;font-size:14px}.ci .q i{font-style:normal;color:#13306B;font-weight:800}.ci em{font-style:normal;font-weight:800;color:#13306B;font-size:15.5px}.sum{display:flex;justify-content:space-between;padding:14px 16px 0;font-size:16px}.sum b{font-size:19px;color:#13306B}
/* v11: число товаров на корзине */
.tab div{position:relative}
.tab div:nth-child(2) .ic{margin:-2px 0 -2px}
.tab .bdg{position:absolute;top:-6px;left:calc(50% + 5px);min-width:19px;height:19px;border-radius:10px;background:#111114;color:#fff;font-size:11px;font-weight:800;display:flex;align-items:center;justify-content:center;padding:0 5px;border:2px solid #fff;line-height:1}
/* v11: рубрики, соцсети, контакты */
.srch{margin:10px 16px 2px;height:42px;border-radius:21px;background:#F5F5F7;display:flex;align-items:center;gap:10px;padding:0 16px;color:#8A8A92;font-size:14.5px}
.rgrid{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:10px 16px 4px}
.rc{height:92px;border-radius:18px;background:center/cover;position:relative;overflow:hidden}
.rc:after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,rgba(19,48,107,0) 20%,rgba(19,48,107,.9) 100%)}
.rc b{position:absolute;left:12px;right:10px;bottom:9px;z-index:2;color:#fff;font-size:14.5px;font-weight:700;line-height:1.2}
.blk{margin:14px 16px 0}
.blk h4{font-size:12.5px;font-weight:700;color:#8A8A92;letter-spacing:.3px;margin-bottom:8px}
.soc{display:flex;gap:10px}
.soc a{flex:1;height:46px;border-radius:23px;background:#13306B;color:#fff;font-size:14px;font-weight:700;display:flex;align-items:center;justify-content:center;gap:8px}
.soc a .ic{background:#fff}
.cont{border-radius:18px;background:#F5F5F7;overflow:hidden}
.cont>div{display:flex;align-items:center;gap:12px;padding:10px 14px;font-size:14.5px;font-weight:700;color:#1E1E24}
.cont>div+div{border-top:1px solid #E8E8EC}
.cont .ic{background:#13306B;flex:none}
.cont small{display:block;font-size:12px;font-weight:500;color:#8A8A92;margin-top:1px}
.cont em{margin-left:auto;font-style:normal;font-size:13px;font-weight:700;color:#13306B;background:#fff;border-radius:15px;padding:6px 12px}
.allc{position:absolute;left:16px;right:16px;bottom:76px;height:46px;border-radius:23px;background:#13306B;color:#fff;font-size:14.5px;font-weight:700;display:flex;align-items:center;justify-content:center;z-index:4;box-shadow:0 6px 18px rgba(19,48,107,.3)}

