:root{--blue:#0967ff;--navy:#0e315a;--text:#24272b;--muted:#6e7680;--soft:#f3f7fd;--line:#dde7f5;--shadow:0 10px 30px rgba(21,50,90,.08)}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,Arial,sans-serif;color:var(--text);background:#fff}a{color:inherit;text-decoration:none}button,input{font:inherit}.container{width:min(1240px,calc(100% - 40px));margin:auto}.site-header{position:relative;z-index:30;background:#fff}.header-main{height:68px;display:flex;align-items:center;gap:14px}.brand img{width:116px;display:block}.catalog-btn{border:0;background:var(--blue);color:#fff;border-radius:8px;padding:11px 14px;font-weight:700}.search{height:40px;flex:1;display:flex;align-items:center;border:1px solid #d8dde5;border-radius:9px;padding:0 11px;color:#999}.search input{border:0;outline:0;width:100%;padding-left:7px}.phone{display:flex;flex-direction:column;min-width:150px}.phone strong{font-size:14px}.phone small{font-size:9px;color:#8d949d}.header-actions{display:flex;gap:7px}.header-actions button{border:1px solid #dce5f0;background:#fff;border-radius:8px;padding:9px 10px;color:#31577f}.icon-btn{width:38px}.mobile-icon,.mobile-search,.mobile-menu{display:none}.subnav{border-top:1px solid #eff2f5;border-bottom:1px solid #e9edf1;font-size:12px}.subnav .container{height:42px;display:flex;align-items:center;gap:24px}.subnav span{flex:1}.hero{background:#f5f7fb}.hero-slider{position:relative;max-width:1536px;margin:auto;aspect-ratio:2/1;overflow:hidden;background:#e9eef5}.hero-slide{position:absolute;inset:0;opacity:0;pointer-events:none;transition:opacity .45s ease}.hero-slide.active{opacity:1;pointer-events:auto}.hero-slide>img{width:100%;height:100%;object-fit:cover}.hero-overlay{position:absolute;left:max(4vw,36px);top:50%;transform:translateY(-50%);width:min(440px,38%);padding:28px 30px;background:rgba(255,255,255,.88);backdrop-filter:blur(5px);border-radius:14px;box-shadow:0 12px 40px rgba(0,0,0,.08)}.hero-overlay h1,.hero-overlay h2{font-size:36px;line-height:1.05;margin:0 0 13px}.hero-overlay p{font-size:17px;margin:0 0 16px;color:#4f5660}.hero-overlay ul{list-style:none;padding:0;margin:0;display:grid;gap:7px;font-size:13px}.hero-overlay li:before{content:'✓';display:inline-grid;place-items:center;background:var(--blue);color:#fff;width:15px;height:15px;border-radius:4px;font-size:10px;margin-right:7px}.hero-buttons{display:flex;gap:10px;margin-top:20px}.btn{display:inline-flex;align-items:center;justify-content:center;border-radius:8px;border:1px solid var(--blue);padding:12px 17px;font-weight:700;font-size:13px}.btn.primary{background:var(--blue);color:#fff}.btn.secondary{background:#fff;color:#222;border-color:#d7dde7}.hero-overlay small{display:block;margin-top:14px;color:#5e6772}.arrow{position:absolute;top:50%;transform:translateY(-50%);width:42px;height:42px;border-radius:50%;border:0;background:rgba(255,255,255,.94);box-shadow:var(--shadow);font-size:28px;cursor:pointer}.arrow.left{left:16px}.arrow.right{right:16px}.dots{position:absolute;left:50%;bottom:14px;transform:translateX(-50%);display:flex;gap:7px}.dots button{border:0;width:8px;height:8px;border-radius:50%;background:#fff;box-shadow:0 0 0 1px rgba(0,0,0,.15);padding:0}.dots button.active{background:var(--blue);width:22px;border-radius:8px}.benefits{padding:30px 0}.benefits-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:24px}.benefits article{display:flex;gap:13px;align-items:flex-start}.ico,.line-icon,.qicon{flex:0 0 auto;width:42px;height:42px;border:1.6px solid var(--blue);color:var(--blue);border-radius:9px;display:grid;place-items:center;font-style:normal;font-size:20px;background:#fff}.ico.shield,.line-icon.shield{border-radius:45% 45% 55% 55%}.benefits b{display:block;font-size:15px;line-height:1.18}.benefits p{font-size:12px;line-height:1.35;color:var(--muted);margin:5px 0 0}.section{padding:34px 0}.category-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.category-card{background:var(--soft);border-radius:14px;min-height:158px;padding:19px 18px;display:flex;justify-content:space-between;overflow:hidden}.category-card>div{z-index:2;width:54%}.category-card h3{margin:0;font-size:21px}.category-card p{margin:6px 0 21px;color:#5f6670;font-size:12px}.category-card span{font-size:13px;color:var(--blue);font-weight:700}.category-card img{width:53%;object-fit:contain;align-self:stretch;filter:drop-shadow(0 10px 12px rgba(37,67,105,.08));transform:scale(1.04);transform-origin:center}.quiz-card{background:var(--soft);border-radius:16px;padding:24px 28px;display:grid;grid-template-columns:1.7fr repeat(4,1fr);align-items:center;gap:12px}.quiz-intro h2{font-size:22px;margin:0 0 6px}.quiz-intro p{max-width:370px;font-size:12px;color:var(--muted);margin:0 0 14px}.quiz-step{text-align:center;border-left:1px solid #dce6f6;min-height:94px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px}.qicon{width:32px;height:32px;font-size:15px}.quiz-step b{font-size:13px}.quiz-step span:last-child{font-size:11px;color:var(--muted)}.section-head{display:flex;align-items:center;gap:22px;margin-bottom:16px}.section-head h2,.why h2,.how h2{font-size:31px;margin:0}.section-head>a{margin-left:auto;color:var(--blue);font-weight:700;font-size:13px}.product-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.product-card{border:1px solid #e7ebef;border-radius:14px;overflow:hidden;background:#fff;box-shadow:0 4px 14px rgba(0,0,0,.04)}.product-card>img{width:100%;height:390px;object-fit:cover;object-position:top}.product-body{padding:14px}.price{font-size:20px;font-weight:800}.product-body h3{font-size:14px;margin:8px 0 10px}.tags,.stock,.rating{font-size:11px;color:#666;margin:8px 0}.stock{font-weight:700;color:#31343a}.wide{width:100%;border:0}.why-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:18px;margin-top:28px}.why-grid>div{text-align:center;display:flex;flex-direction:column;align-items:center;gap:8px}.line-icon{border:0;font-size:26px}.line-icon.layers{box-shadow:inset 0 0 0 1.5px transparent}.why-grid b{font-size:13px;line-height:1.18}.why-grid>div>span:last-child{font-size:10px;line-height:1.4;color:var(--muted)}.promo-review-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.sofa-card,.reviews-card{background:var(--soft);border-radius:16px;min-height:350px;overflow:hidden}.sofa-card{display:grid;grid-template-columns:1.03fr .97fr}.sofa-copy{padding:26px}.sofa-card img{width:100%;height:100%;object-fit:cover;object-position:center}.sofa-card h2,.reviews-card h2{font-size:25px;margin:0 0 12px}.sofa-card p{font-size:13px;color:#555}.checks{padding:0;margin:14px 0 22px;list-style:none;font-size:12px}.checks li{margin:7px 0}.checks li:before{content:'✓';display:inline-grid;place-items:center;background:var(--blue);color:#fff;width:14px;height:14px;border-radius:4px;font-size:9px;margin-right:6px}.sofa-card a,.reviews-card>a{color:var(--blue);font-weight:700;font-size:12px}.reviews-card{padding:26px;background:linear-gradient(135deg,#f3f7ff,#eef5ff)}.review-sources{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:20px 0}.review-sources>div{background:#fff;border-radius:10px;padding:14px;display:grid;grid-template-columns:34px 1fr;gap:5px 8px;box-shadow:var(--shadow)}.review-sources b{grid-row:1/3;width:30px;height:30px;border-radius:8px;color:#fff;display:grid;place-items:center}.yandex{background:#f04024}.gis{background:#25b43b}.review-sources strong{font-size:12px}.review-sources span{font-size:10px;color:var(--muted)}.steps{display:grid;grid-template-columns:repeat(5,1fr);gap:26px;margin-top:24px}.steps>div{min-height:118px;background:#f1f6fd;border:1.5px solid #78aaff;border-radius:15px;padding:16px;position:relative}.steps>div:not(:last-child):after{content:'';position:absolute;right:-28px;top:50%;width:28px;border-top:2px solid var(--blue)}.steps span{position:absolute;right:12px;top:11px;color:var(--blue);font-size:11px}.steps i{font-size:27px;color:var(--blue);font-style:normal}.steps p{font-size:12px;font-weight:700;margin:10px 0 0}.tabs{display:flex;gap:8px}.tabs button{border:0;background:transparent;color:#777;padding:6px 7px;cursor:pointer}.tabs button.active{color:#222;font-weight:700;border-bottom:2px solid var(--blue)}.article-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.article-grid img{width:100%;height:220px;object-fit:cover;border-radius:12px}.article-grid small{display:block;color:#9297a0;margin-top:9px}.article-grid h3{font-size:16px;line-height:1.25;margin:7px 0}.footer{background:var(--navy);color:#fff;margin-top:36px;padding:44px 0 0}.footer-grid{display:grid;grid-template-columns:1.2fr repeat(3,1fr) 1.4fr;gap:44px}.footer img{width:130px;filter:brightness(0) invert(1)}.footer p,.footer span{color:#b8c7d8;font-size:12px}.footer h4{margin:0 0 14px}.footer a{display:block;color:#d6e0ea;font-size:12px;margin:9px 0}.footer-contact>a:first-child{font-size:16px;font-weight:700;color:#fff}.footer-bottom{border-top:1px solid rgba(255,255,255,.12);margin-top:36px;padding:20px 0;display:flex;gap:36px;align-items:center}.footer-bottom a{margin-left:auto}.chat-fab,.up-fab{position:fixed;right:22px;width:44px;height:44px;border:0;border-radius:10px;background:var(--blue);color:#fff;font-size:20px;z-index:20}.chat-fab{bottom:72px}.up-fab{bottom:20px}
@media(max-width:1100px){.header-actions button span,.phone small{display:none}.subnav .container{gap:16px}.hero-overlay{width:45%}.benefits-grid{grid-template-columns:repeat(3,1fr)}.why-grid{grid-template-columns:repeat(4,1fr)}.product-card>img{height:300px}.quiz-card{grid-template-columns:1.5fr repeat(2,1fr)}.footer-grid{grid-template-columns:1.2fr repeat(2,1fr)}.footer-grid>div:nth-child(4){display:none}}
@media(max-width:760px){.container{width:min(100% - 24px,560px)}.header-main{height:52px;gap:10px}.brand img{width:82px}.catalog-btn,.header-main>.search,.phone,.header-actions{display:none}.mobile-icon{display:block;margin-left:auto;border:0;background:#fff;font-size:22px}.mobile-search{display:block;padding-bottom:8px}.mobile-search .search{height:38px}.subnav{display:none}.mobile-menu{position:absolute;left:0;right:0;top:100%;background:#fff;border-top:1px solid #eee;padding:16px 24px;box-shadow:0 15px 30px rgba(0,0,0,.08)}.mobile-menu.open{display:grid;gap:14px}.hero-slider{aspect-ratio:auto;height:520px}.hero-slide>img{height:245px;object-position:center}.hero-overlay{left:12px;right:12px;top:auto;bottom:16px;transform:none;width:auto;padding:18px;background:#fff}.hero-overlay h1,.hero-overlay h2{font-size:26px}.hero-overlay p{font-size:14px}.hero-overlay ul{font-size:11px;grid-template-columns:1fr 1fr}.hero-buttons{margin-top:14px}.hero-overlay small{font-size:10px}.arrow{top:122px;width:32px;height:32px}.dots{bottom:260px}.benefits{padding:15px 0}.benefits-grid{display:flex;overflow-x:auto;gap:16px;padding-bottom:4px}.benefits article{min-width:190px}.benefits .ico{width:36px;height:36px;font-size:17px}.section{padding:18px 0}.category-grid{grid-template-columns:1fr;gap:10px}.category-card{min-height:108px;padding:14px}.category-card h3{font-size:18px}.category-card p{margin:3px 0 12px}.category-card img{width:48%;transform:scale(1.02)}.quiz-card{grid-template-columns:1fr 1fr;padding:16px;gap:8px}.quiz-intro{grid-column:1/-1}.quiz-intro h2{font-size:19px}.quiz-step{border-left:0;border-top:1px solid #dce6f6;min-height:78px}.section-head{flex-wrap:wrap;gap:8px}.section-head h2,.why h2,.how h2{font-size:22px}.section-head>a{font-size:11px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.product-card>img{height:210px}.product-body{padding:8px}.price{font-size:14px}.product-body h3{font-size:10px}.tags,.stock,.rating{font-size:9px}.product-body .btn{font-size:10px;padding:8px 5px}.why-grid{grid-template-columns:repeat(2,1fr);gap:20px 8px}.why-grid b{font-size:11px}.why-grid>div>span:last-child{font-size:9px}.promo-review-grid{grid-template-columns:1fr}.sofa-card{grid-template-columns:1fr;min-height:0}.sofa-copy{padding:16px}.sofa-card img{height:230px}.sofa-card h2,.reviews-card h2{font-size:19px}.reviews-card{padding:16px}.review-sources{gap:8px}.steps{grid-template-columns:1fr;gap:8px}.steps>div{min-height:78px;padding:12px 14px 12px 52px}.steps>div:not(:last-child):after{width:2px;height:10px;border:0;border-left:2px solid var(--blue);right:auto;left:50%;top:100%}.steps i{position:absolute;left:14px;top:23px}.steps p{margin:8px 0 0}.tabs{order:3;overflow:auto;width:100%;white-space:nowrap}.article-grid{grid-template-columns:1fr;gap:10px}.article-grid article{display:grid;grid-template-columns:110px 1fr;gap:2px 10px}.article-grid img{grid-row:1/4;width:110px;height:92px}.article-grid small,.article-grid h3{grid-column:2}.article-grid h3{font-size:12px;margin:2px 0}.article-grid small{margin:0;font-size:9px}.footer{padding-top:28px}.footer-grid{grid-template-columns:1fr 1fr;gap:28px 14px}.footer-grid>div:first-child{grid-column:1/-1}.footer-grid>div:nth-child(4){display:block}.footer-contact{grid-column:1/-1}.footer-bottom{flex-direction:column;align-items:flex-start;gap:5px;padding:16px 0}.footer-bottom a{margin-left:0}.chat-fab,.up-fab{right:12px}.chat-fab{bottom:62px}.up-fab{bottom:12px}}
@media(max-width:374px){.container{width:calc(100% - 16px)}.hero-slider{height:545px}.hero-overlay h1,.hero-overlay h2{font-size:24px}.hero-overlay ul{grid-template-columns:1fr}.dots{bottom:285px}.product-card>img{height:190px}.review-sources{grid-template-columns:1fr}}

/* FIX: разделяем блоки «Как мы работаем» и «Полезные статьи» */
.how{
  padding-top:42px;
  padding-bottom:64px;
  position:relative;
  clear:both;
}
.how .container{
  display:block;
}
.how .steps{
  align-items:stretch;
  margin-bottom:0;
}
.how .steps>div{
  min-height:148px;
  height:auto;
  overflow:visible;
  box-sizing:border-box;
}
.how .steps p{
  line-height:1.35;
}
.articles{
  padding-top:48px;
  clear:both;
  position:relative;
}

@media(max-width:760px){
  .how{
    padding-top:28px;
    padding-bottom:42px;
  }
  .how .steps>div{
    min-height:96px;
    height:auto;
  }
  .articles{
    padding-top:30px;
  }
}

/* v2.2: lower-page correction based on approved desktop design */
.articles{
  padding-top:44px;
  padding-bottom:42px;
  overflow:hidden;
  background:#fff;
}
.articles .section-head{
  margin-bottom:22px;
  align-items:flex-end;
}
.article-grid{
  align-items:start;
}
.article-grid article{
  min-width:0;
}
.article-grid img{
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:307/230;
  object-fit:cover;
  border-radius:14px;
}
.article-grid small{
  margin-top:14px;
}
.footer{
  margin-top:0;
}
@media(max-width:760px){
  .articles{padding-top:32px;padding-bottom:28px;}
  .articles .section-head{margin-bottom:14px;}
  .article-grid img{aspect-ratio:1.25/1;}
}


/* v2.4: working floating actions */
.up-fab{opacity:0;visibility:hidden;transform:translateY(8px);transition:opacity .2s ease,transform .2s ease,visibility .2s ease;cursor:pointer}
.up-fab.is-visible{opacity:1;visibility:visible;transform:translateY(0)}
.chat-fab{cursor:pointer}
.contact-fab-wrap{position:fixed;right:22px;bottom:72px;z-index:21}
.contact-fab-wrap .chat-fab{position:static}
.contact-popover{position:absolute;right:0;bottom:54px;width:220px;padding:14px 16px;background:#fff;border:1px solid #dfe8f3;border-radius:12px;box-shadow:0 14px 38px rgba(21,50,90,.18);opacity:0;visibility:hidden;transform:translateY(8px);transition:.18s ease}
.contact-popover.open{opacity:1;visibility:visible;transform:translateY(0)}
.contact-popover strong{display:block;margin-bottom:8px;font-size:14px}
.contact-popover a{display:block;margin-top:6px;color:var(--blue);font-size:13px;font-weight:700}
@media(max-width:760px){.contact-fab-wrap{right:12px;bottom:62px}.contact-popover{width:205px}}

/* v2.5: unified monochrome delivery icon */
.delivery-icon{display:block;width:26px;height:26px;object-fit:contain}
.line-icon .delivery-icon{width:32px;height:32px}
.steps i .delivery-icon{width:29px;height:29px}

/* v2.6: article cards are whole clickable units; correct image crops */
.article-grid .article-card{display:block;min-width:0;border-radius:14px;color:inherit;text-decoration:none;outline:none}
.article-grid .article-card img{display:block;width:100%;aspect-ratio:306/229;object-fit:cover;border-radius:14px;transition:transform .18s ease,box-shadow .18s ease}
.article-grid .article-card h3{transition:color .18s ease}
.article-grid .article-card:hover img{transform:translateY(-2px);box-shadow:0 8px 20px rgba(21,50,90,.10)}
.article-grid .article-card:hover h3{color:var(--blue)}
.article-grid .article-card:focus-visible{box-shadow:0 0 0 3px rgba(9,103,255,.18)}
@media(max-width:760px){
  .article-grid .article-card{display:grid;grid-template-columns:110px 1fr;gap:2px 10px;border-radius:12px}
  .article-grid .article-card img{grid-row:1/4;width:110px;height:92px;aspect-ratio:auto;border-radius:10px}
  .article-grid .article-card small,.article-grid .article-card h3{grid-column:2}
}

/* v2.7 — visual QA pass after Agent 12 review */
.icon-clean{border:0;background:transparent}
.icon-clean img{display:block;width:100%;height:100%;object-fit:contain}
.benefits .icon-clean{width:38px;height:38px;padding:2px}
.why .icon-clean{width:40px;height:40px;padding:2px}
.quiz-step .icon-clean{width:34px;height:34px;padding:2px}

/* category artwork: one visual scale without internal image panels */
.category-card{align-items:center}
.category-card img{width:50%;height:124px;align-self:center;object-fit:contain;transform:scale(1.10);filter:drop-shadow(0 8px 11px rgba(37,67,105,.09))}
.category-card:nth-child(4) img{transform:scale(.94)}
.category-card:nth-child(5) img{transform:scale(.98)}
.category-card:nth-child(6) img{transform:scale(1.03)}

/* hero crop tuning for approved 3 banners */
.hero-slide:nth-child(1)>img{object-position:center 48%}
.hero-slide:nth-child(2)>img{object-position:center 51%}
.hero-slide:nth-child(3)>img{object-position:center 49%}

/* promo topper crop: preserve mattress/topper edge and avoid accidental trimming */
.sofa-card img{object-position:51% 50%}

/* lighter, more precise 'Как мы работаем' */
.how{padding-top:36px;padding-bottom:52px}
.how .steps{gap:24px;margin-top:20px}
.how .steps>div{min-height:132px;background:#f5f8fd;border:1px solid #a9c9ff;border-radius:14px;padding:15px 16px;box-shadow:none}
.how .steps>div:not(:last-child):after{right:-26px;width:26px;border-top-width:1px}
.how .steps>div:not(:last-child):before{content:'';position:absolute;right:-30px;top:calc(50% - 4px);width:8px;height:8px;border-radius:50%;background:#0967ff;box-shadow:0 0 0 4px rgba(9,103,255,.10);z-index:2}
.how .steps i{display:block;width:34px;height:34px}
.how .steps i img{width:100%;height:100%;object-fit:contain;display:block}
.how .steps p{font-size:12px;line-height:1.35;margin-top:9px}
.how .steps span{font-size:10px}

/* mobile QA */
@media(max-width:760px){
  .hero-slider{height:540px}
  .hero-slide>img{height:258px;object-fit:cover}
  .hero-slide:nth-child(1)>img{object-position:center 46%}
  .hero-slide:nth-child(2)>img{object-position:center 50%}
  .hero-slide:nth-child(3)>img{object-position:center 48%}
  .hero-overlay{bottom:14px;padding:16px 17px}
  .hero-overlay h1,.hero-overlay h2{font-size:24px;line-height:1.08}
  .hero-overlay p{font-size:13px;margin-bottom:12px}
  .dots{bottom:270px}
  .arrow{top:128px}
  .category-card{min-height:118px}
  .category-card img{width:46%;height:92px;transform:scale(1.08)}
  .category-card:nth-child(4) img{transform:scale(.93)}
  .category-card:nth-child(5) img{transform:scale(.96)}
  .category-card:nth-child(6) img{transform:scale(1.00)}
  .why-grid{gap:24px 12px}
  .why .icon-clean{width:36px;height:36px}
  .how{padding-top:26px;padding-bottom:36px}
  .how .steps{gap:10px}
  .how .steps>div{min-height:88px;padding:13px 14px 13px 58px}
  .how .steps>div:not(:last-child):after{right:auto;left:50%;top:100%;width:1px;height:10px;border:0;border-left:1px solid #0967ff}
  .how .steps>div:not(:last-child):before{right:auto;left:calc(50% - 4px);top:calc(100% + 1px);width:7px;height:7px;box-shadow:0 0 0 3px rgba(9,103,255,.08)}
  .how .steps i{position:absolute;left:14px;top:21px;width:32px;height:32px}
  .how .steps p{margin:7px 0 0;font-size:12px}
  .sofa-card img{object-position:center 48%}
}
@media(max-width:374px){
  .hero-slider{height:565px}
  .dots{bottom:294px}
}

/* v2.8 — final visual polish before designer review */
.header-svg{width:18px;height:18px;display:block;flex:0 0 auto;color:currentColor}
.header-svg-menu{width:17px;height:17px}
.catalog-btn{display:inline-flex;align-items:center;gap:7px}
.catalog-btn .header-svg{filter:brightness(0) invert(1)}
.search-svg{width:17px;height:17px;color:#7e8996}
.header-actions button{display:inline-flex;align-items:center;justify-content:center;gap:6px}
.header-actions .icon-btn{padding:9px}
.mobile-icon{align-items:center;justify-content:center;width:40px;height:40px;padding:0;color:#31577f}
.mobile-icon .header-svg{width:22px;height:22px}

/* Hero: preserve full composition while keeping people/products in safe area */
.hero-slider{max-width:1920px;aspect-ratio:2/1}
.hero-slide>img{object-fit:cover}
.hero-slide:nth-child(1)>img{object-position:50% 50%}
.hero-slide:nth-child(2)>img{object-position:50% 50%}
.hero-slide:nth-child(3)>img{object-position:50% 50%}

/* Final category crop/alignment */
.category-card{isolation:isolate}
.category-card img{max-width:54%;object-position:center;mix-blend-mode:multiply}
.category-card:nth-child(1) img{transform:scale(1.08)}
.category-card:nth-child(2) img{transform:scale(1.05)}
.category-card:nth-child(3) img{transform:scale(1.00)}
.category-card:nth-child(4) img{transform:scale(.91)}
.category-card:nth-child(5) img{transform:scale(.94)}
.category-card:nth-child(6) img{transform:scale(.98)}
.sofa-card img{object-position:50% 48%}

/* Product cards: mobile readability without making cards bulky */
@media(max-width:760px){
  .mobile-icon{display:inline-flex}
  .hero-slider{height:548px;aspect-ratio:auto}
  .hero-slide>img{height:266px;object-fit:cover}
  .hero-slide:nth-child(1)>img{object-position:55% 50%}
  .hero-slide:nth-child(2)>img{object-position:54% 50%}
  .hero-slide:nth-child(3)>img{object-position:55% 50%}
  .dots{bottom:276px}
  .arrow{top:133px}
  .product-card>img{height:205px}
  .product-body{padding:10px}
  .price{font-size:15px;line-height:1.2}
  .product-body h3{font-size:11.5px;line-height:1.25;margin:7px 0 8px;min-height:29px}
  .tags,.stock,.rating{font-size:9.5px;line-height:1.25;margin:6px 0}
  .product-body .btn{font-size:11px;padding:9px 5px;min-height:34px}
  .category-card img{max-width:49%;height:94px}
  .category-card:nth-child(1) img{transform:scale(1.06)}
  .category-card:nth-child(2) img{transform:scale(1.03)}
  .category-card:nth-child(3) img{transform:scale(.99)}
  .category-card:nth-child(4) img{transform:scale(.90)}
  .category-card:nth-child(5) img{transform:scale(.93)}
  .category-card:nth-child(6) img{transform:scale(.97)}
  .sofa-card img{object-position:50% 47%}
}
@media(max-width:374px){
  .hero-slider{height:570px}
  .hero-slide>img{height:252px}
  .dots{bottom:310px}
  .arrow{top:126px}
  .product-card>img{height:182px}
  .product-body{padding:8px}
  .product-body h3{font-size:11px}
  .tags,.stock,.rating{font-size:9px}
}

/* v2.9 functional QA */
.catalog-btn,.header-actions button,.mobile-icon,.add-cart{cursor:pointer}
.header-actions .icon-btn{position:relative}
.action-badge{position:absolute;right:-4px;top:-5px;min-width:17px;height:17px;padding:0 4px;border-radius:9px;background:#e63c43;color:#fff;font-size:10px;font-weight:800;line-height:17px;text-align:center;box-shadow:0 0 0 2px #fff}
.demo-modal{position:fixed;inset:0;z-index:100;display:none;align-items:center;justify-content:center;padding:20px}
.demo-modal.open{display:flex}
.demo-modal__backdrop{position:absolute;inset:0;background:rgba(10,27,48,.38);backdrop-filter:blur(2px)}
.demo-modal__panel{position:relative;width:min(430px,100%);background:#fff;border-radius:16px;padding:26px;box-shadow:0 24px 70px rgba(14,49,90,.24)}
.demo-modal__close{position:absolute;right:12px;top:10px;width:34px;height:34px;border:0;background:#f2f6fb;border-radius:50%;font-size:24px;cursor:pointer;color:#40536a}
.demo-modal__panel h3{margin:0 38px 8px 0;font-size:22px}
.demo-modal__panel p{margin:0;color:#66717d;line-height:1.5;font-size:14px}
.demo-modal__actions{display:flex;gap:10px;margin-top:20px;flex-wrap:wrap}
.demo-modal__actions .btn{cursor:pointer}
.site-toast{position:fixed;left:50%;bottom:28px;transform:translate(-50%,18px);z-index:120;max-width:min(520px,calc(100% - 32px));padding:11px 16px;border-radius:10px;background:#153b67;color:#fff;font-size:13px;box-shadow:0 12px 36px rgba(14,49,90,.22);opacity:0;visibility:hidden;transition:.2s ease;text-align:center}
.site-toast.show{opacity:1;visibility:visible;transform:translate(-50%,0)}
.search:focus-within{border-color:var(--blue);box-shadow:0 0 0 3px rgba(9,103,255,.10)}
.category-card,.article-card,.section-head>a,.sofa-card a,.reviews-card>a,.subnav a,.mobile-menu a,.footer a{cursor:pointer}
.category-card:hover{transform:translateY(-2px);box-shadow:0 10px 24px rgba(21,50,90,.08)}
.category-card{transition:transform .18s ease,box-shadow .18s ease}
@media(max-width:760px){.demo-modal__panel{padding:22px 18px}.site-toast{bottom:16px}}
.mobile-menu button{border:0;background:transparent;padding:0;text-align:left;color:inherit;font:inherit;cursor:pointer}

/* v3.1 region selector */
.region-picker{position:relative;margin-left:2px}.region-button{border:0;background:transparent;padding:8px 0;color:var(--text);cursor:pointer;white-space:nowrap}.region-label{font-weight:400;color:#69727d}.region-button strong{font-weight:700}.region-chevron{color:#77808b;margin-left:3px}.region-menu{position:absolute;right:0;top:calc(100% + 8px);width:330px;background:#fff;border:1px solid #e1e7ef;border-radius:14px;box-shadow:0 16px 38px rgba(21,50,90,.16);padding:16px;display:none;z-index:80}.region-menu.open{display:block}.region-confirm strong,.region-choose-head strong{font-size:15px}.region-confirm p{margin:7px 0 14px;color:#6e7680;font-size:12px;line-height:1.45}.region-confirm-actions{display:flex;gap:8px}.region-confirm-actions button,.region-other{border-radius:8px;padding:9px 12px;cursor:pointer;font-weight:700}.region-yes{border:1px solid var(--blue);background:var(--blue);color:#fff}.region-change{border:1px solid #d8e1ec;background:#fff;color:#2f465f}.region-choose-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.region-choose-head button{border:0;background:transparent;color:var(--blue);cursor:pointer;font-size:12px}.region-city-list{display:grid;grid-template-columns:1fr 1fr;gap:4px}.region-city-list button{border:0;background:#fff;text-align:left;padding:9px 10px;border-radius:8px;cursor:pointer;color:#30343a}.region-city-list button:hover,.region-city-list button.active{background:#edf4ff;color:var(--blue)}.region-other{width:100%;margin-top:8px;border:1px solid #d8e1ec;background:#f7f9fc;color:#2f465f;text-align:left}#mobileRegionBtn{border:0;background:#f3f7fd;border-radius:9px;padding:10px 12px;text-align:left;color:#30343a;display:flex;justify-content:space-between;align-items:center}#mobileRegionBtn strong{color:var(--blue);margin-left:4px}#mobileRegionBtn span{margin-left:auto;color:#8a94a0}


/* v3.3 — review source badges: Ozon and Wildberries */
.review-origin-note{margin:-2px 0 10px;color:var(--muted);font-size:11px;line-height:1.35}
.review-sources{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:16px 0 18px}
.review-sources>div{min-height:62px;align-items:center;padding:11px 12px;box-shadow:0 7px 20px rgba(21,50,90,.07);border:1px solid rgba(210,225,243,.7)}
.review-sources b{font-size:12px;font-weight:800;letter-spacing:-.3px}
.review-sources .ozon{background:#075bff}
.review-sources .wb{background:linear-gradient(135deg,#7b2cff,#df2aa7);font-size:10px}
.review-sources strong{line-height:1.15}
@media(max-width:760px){
  .review-origin-note{font-size:10px;margin-bottom:8px}
  .review-sources{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
  .review-sources>div{padding:10px;grid-template-columns:30px 1fr;gap:3px 7px;min-height:58px}
  .review-sources b{width:28px;height:28px}
  .review-sources strong{font-size:11px}
  .review-sources span{font-size:9px}
}
@media(max-width:374px){.review-sources{grid-template-columns:1fr 1fr}}

.seo-intro{padding:18px 0 4px}.seo-intro p{margin:0;max-width:1180px;color:#626a73;font-size:15px;line-height:1.6}.product-media{display:block;color:inherit;text-decoration:none}.product-card h3 a{color:inherit;text-decoration:none}.product-card h3 a:hover{color:#1b67c9}@media(max-width:700px){.seo-intro{padding:12px 0 0}.seo-intro p{font-size:14px;line-height:1.55}}

.reviews-title-link{color:inherit;text-decoration:none}.reviews-title-link:hover{color:inherit;text-decoration:none}

.review-sources>div.review-source-pending{opacity:.58;background:#f7f8fa;box-shadow:none;border:1px solid #e4e8ed}.review-sources>div.review-source-pending span{font-weight:700;color:#8a939c}

/* Useful articles category panels */
.article-grid[hidden]{display:none!important}

/* Agent 13: topper preview integration */
.article-panel[hidden]{display:none!important}
.home-tab-link{display:inline-flex;align-items:center;text-decoration:none}
.preview-warning{margin:20px 0 30px;padding:20px 22px;border:1px solid #f0c36d;background:#fff8e8;border-radius:14px;color:#5d4a24;line-height:1.55}
.preview-warning strong{display:block;margin-bottom:6px;color:#3f3219}
.preview-placeholder{padding:26px;border:1px dashed #c9d5e6;border-radius:16px;background:#f8fbff;margin:22px 0}
.preview-placeholder h2{margin-top:0}

.product-grid-single{grid-template-columns:minmax(240px,290px)!important}

/* v16 — Aquamarine H20 home product-card media sizing fix */
.product-card .product-media{
  display:block;
  width:100%;
  aspect-ratio:1/1;
  overflow:hidden;
  background:#f6f7f9;
}
.product-card .product-media img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
}

.home-price-size-note{font-size:11px;color:#6e7680;margin:3px 0 6px}.home-price-size-note b{color:#323941}.listing-old-price{font-size:.7em;color:#8a929b;text-decoration:line-through;font-weight:600;margin-right:6px}.listing-discount{font-size:.58em;color:#0967ff;font-weight:800;white-space:nowrap;margin-left:5px}@media(max-width:760px){.home-price-size-note{font-size:9px;margin:2px 0 5px}}

/* v25.42 — approved free-delivery banner, first in homepage slider */
.hero-delivery-slide{background:#f5f7fb}
.hero-delivery-slide>img{object-fit:cover;object-position:center center}
@media(max-width:760px){
  .hero-delivery-slide>img{height:266px;object-fit:contain;object-position:center;background:#f5f7fb}
}

/* v25.89: delivery hero source contains a baked blurred footer strip; crop it from viewport */
.hero-delivery-slide>img{height:calc(100% + 8.8%);transform:translateY(0);object-fit:cover;object-position:center top}

/* v25.89: delivery hero source contains a baked blurred footer strip; crop it from viewport */
.hero-delivery-slide>img{height:calc(100% + 8.8%);transform:translateY(0);object-fit:cover;object-position:center top}

/* v25.90 DELIVERY HERO SEAM FIX — image asset unchanged */
.hero-delivery-slide{overflow:hidden;border:0!important;outline:0!important}
.hero-delivery-slide>img{height:112%!important;width:100%!important;transform:none!important;object-fit:cover!important;object-position:center top!important}
.hero-slider{border:0!important;outline:0!important}
.hero-delivery-slide::after{content:"";position:absolute;left:0;right:0;bottom:0;height:3px;background:#f5f7fb;z-index:2;pointer-events:none}

/* v25.91 DELIVERY HERO DOTS LOCAL FIX: delivery artwork already contains one 4-dot indicator set. */
.hero-slider.delivery-active>.dots{display:none}

/* v25.97 — delivery hero desktop alignment: keep baked text panel away from viewport edge */
@media(min-width:761px){
  .hero-delivery-slide>img{transform:translateX(2.4%) scale(1.048)!important;transform-origin:center top!important;}
}

/* v25.99 — delivery HERO alignment fix.
   Keep the baked information panel in its authored position; no horizontal zoom/shift. */
@media(min-width:761px){
  .hero-delivery-slide>img{
    width:100%!important;
    height:100%!important;
    transform:none!important;
    object-fit:cover!important;
    object-position:center center!important;
  }
}

/* v25.113 — MASTER UI lock: catalog CTA, individual size, rating/actions */
.agat-card .card-body>small{display:block;margin-top:5px;line-height:1.35;color:#4f5966}
.agat-card .card-body>.card-link{display:block;margin-top:12px;padding-top:2px;color:#0967ff;font-weight:800;line-height:1.25}
.agat-card .card-body>small b{color:#20252b}
.product-layout .rating-row{display:flex;align-items:center;gap:18px;flex-wrap:wrap;min-height:28px}
.product-layout .rating-row>a{display:inline-flex;align-items:center;gap:5px;text-decoration:none;color:#343b44;white-space:nowrap}
.product-layout .rating-row>span{display:inline-flex;align-items:center;white-space:nowrap;color:#4e5661}
.cp-rating-star,.rating-row .rating-star{color:#f5b400!important;font-size:18px;line-height:1}
.cp-rating-standard b{font-weight:800;color:#343b44}
.cp-rating-meta{color:#4e5661}
.cp-custom-size-btn{border-color:#0967ff!important;background:#edf5ff!important;color:#0967ff!important;font-weight:800!important}
.buy-panel [data-selected-size].cp-individual-size{display:inline-block;color:#0967ff!important;background:#edf5ff;border-radius:7px;padding:2px 6px;margin-top:2px;font-weight:800}
@media(max-width:760px){.product-layout .rating-row{gap:10px 14px}.agat-card .card-body>.card-link{margin-top:9px}}


/* v25.133 — DELIVERY HERO VISUAL REWORK / Agent 12
   Source image is now clean: no baked text panel, arrows, dots or blurred footer strips.
   Delivery copy uses the same HTML overlay architecture as the other homepage heroes. */
.hero-delivery-slide{background:#f5f7fb!important;overflow:hidden!important;border:0!important;outline:0!important}
.hero-delivery-slide>img{width:100%!important;height:100%!important;transform:none!important;object-fit:cover!important;object-position:center center!important;background:transparent!important}
.hero-delivery-slide::after{display:none!important;content:none!important}
.hero-slider.delivery-active>.dots{display:flex!important}
.hero-delivery-overlay{width:min(440px,38%)}
.hero-delivery-overlay p{max-width:350px}
@media(max-width:760px){
  .hero-delivery-slide>img{height:266px!important;object-fit:cover!important;object-position:right center!important}
  .hero-delivery-overlay{width:auto}
}

/* v25.134 — DELIVERY HERO FULL INFO / INTEGRATED SCENE LOCK
   Full approved delivery information is restored while the visual remains one continuous scene. */
.hero-delivery-slide>img{
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  object-position:center center!important;
}
.hero-delivery-overlay{
  width:min(640px,43%)!important;
  padding:24px 26px!important;
  background:linear-gradient(110deg,rgba(255,255,255,.88),rgba(255,255,255,.73))!important;
  border:1px solid rgba(255,255,255,.74)!important;
  backdrop-filter:blur(7px)!important;
  -webkit-backdrop-filter:blur(7px)!important;
  box-shadow:0 12px 34px rgba(34,52,77,.10)!important;
}
.hero-delivery-overlay h2{margin-bottom:10px!important}
.hero-delivery-overlay .delivery-lead{max-width:540px!important;margin-bottom:14px!important}
.delivery-highlights{display:grid;grid-template-columns:1fr 1.15fr;gap:12px;margin:0 0 14px}
.delivery-highlight{display:flex;align-items:center;gap:10px;min-width:0;padding:9px 10px;border-radius:10px;background:rgba(244,248,255,.76)}
.delivery-highlight>img{width:34px;height:34px;object-fit:contain;flex:0 0 auto}
.delivery-highlight strong{display:block;font-size:14px;line-height:1.15;color:#1d2b40}
.delivery-highlight span{display:block;margin-top:3px;font-size:11px;line-height:1.2;color:#657083}
.delivery-cities{padding:12px 14px 11px;border-radius:11px;background:rgba(238,245,255,.74);border:1px solid rgba(123,168,235,.18)}
.delivery-cities>strong{display:block;font-size:13px;margin-bottom:9px;color:#26354c}
.delivery-city-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px 14px}
.delivery-city-grid span{position:relative;padding-left:15px;font-size:11.5px;line-height:1.22;color:#344156;white-space:nowrap}
.delivery-city-grid span::before{content:'•';position:absolute;left:2px;top:-1px;color:#0967ff;font-size:17px;line-height:1}
.delivery-more{display:inline-flex;margin-top:12px;color:#0967ff!important;font-weight:800;font-size:12px}
@media(max-width:1100px) and (min-width:761px){
  .hero-delivery-overlay{width:min(610px,48%)!important;padding:20px 22px!important}
  .hero-delivery-overlay h2{font-size:31px!important}
  .hero-delivery-overlay .delivery-lead{font-size:15px!important}
  .delivery-highlight strong{font-size:13px}.delivery-city-grid span{font-size:10.5px}
}
@media(max-width:760px){
  .hero-slider{height:540px}
  .hero-delivery-slide>img{height:100%!important;object-fit:cover!important;object-position:60% center!important}
  .hero-delivery-overlay{
    left:14px!important;right:14px!important;top:18px!important;bottom:42px!important;
    width:auto!important;transform:none!important;padding:16px 16px 14px!important;
    background:linear-gradient(120deg,rgba(255,255,255,.90),rgba(255,255,255,.76))!important;
    overflow:auto;
  }
  .hero-delivery-overlay h2{font-size:25px!important;margin-bottom:7px!important}
  .hero-delivery-overlay .delivery-lead{font-size:12px!important;line-height:1.3;margin-bottom:10px!important}
  .delivery-highlights{grid-template-columns:1fr 1fr;gap:7px;margin-bottom:9px}
  .delivery-highlight{gap:6px;padding:7px 7px}
  .delivery-highlight>img{width:25px;height:25px}
  .delivery-highlight strong{font-size:11.5px}
  .delivery-highlight span{font-size:9px}
  .delivery-cities{padding:9px 10px 8px}
  .delivery-cities>strong{font-size:11px;margin-bottom:7px}
  .delivery-city-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px 10px}
  .delivery-city-grid span{font-size:9.4px;padding-left:11px;white-space:normal}
  .delivery-city-grid span::before{left:0;font-size:14px}
  .delivery-more{margin-top:8px;font-size:10px}
  .hero-slider.delivery-active>.dots{bottom:10px!important;z-index:5}
  .hero-slider.delivery-active>.arrow{top:50%!important;z-index:6}
}

/* v25.134 mobile refinement: keep the full city list compact without turning the whole slide into a white sheet. */
@media(max-width:760px){
  .hero-delivery-overlay{bottom:auto!important;max-height:calc(100% - 66px)!important}
  .hero-slider.delivery-active>.arrow{top:auto!important;bottom:8px!important}
}

/* v25.135 — DELIVERY HERO MOBILE VISUAL REWORK / Agents 12 + 13
   Mobile only: keep the full approved delivery information, but remove the large white card.
   Copy is integrated into the scene with a light scrim so the workers, mattress and van stay visible. */
@media(max-width:760px){
  .hero-delivery-slide{position:absolute!important;background:#eef3f8!important}
  .hero-delivery-slide>img{
    height:100%!important;
    width:100%!important;
    object-fit:cover!important;
    object-position:67% center!important;
    z-index:0!important;
  }
  .hero-delivery-slide::before{
    content:"";
    display:block;
    position:absolute;
    inset:0;
    z-index:1;
    pointer-events:none;
    background:linear-gradient(90deg,
      rgba(247,250,255,.97) 0%,
      rgba(247,250,255,.93) 38%,
      rgba(247,250,255,.76) 58%,
      rgba(247,250,255,.30) 78%,
      rgba(247,250,255,0) 100%);
  }
  .hero-delivery-overlay{
    left:14px!important;
    right:auto!important;
    top:18px!important;
    bottom:auto!important;
    width:min(80vw,320px)!important;
    max-height:none!important;
    transform:none!important;
    padding:10px 8px 10px 4px!important;
    background:transparent!important;
    border:0!important;
    border-radius:0!important;
    box-shadow:none!important;
    backdrop-filter:none!important;
    -webkit-backdrop-filter:none!important;
    overflow:visible!important;
    z-index:3!important;
  }
  .hero-delivery-overlay h2{
    font-size:25px!important;
    line-height:1.02!important;
    margin:0 0 7px!important;
    color:#19283d!important;
  }
  .hero-delivery-overlay .delivery-lead{
    max-width:285px!important;
    margin:0 0 10px!important;
    font-size:12px!important;
    line-height:1.32!important;
    color:#435066!important;
  }
  .delivery-highlights{
    grid-template-columns:1fr 1fr!important;
    gap:6px!important;
    margin:0 0 9px!important;
    max-width:305px!important;
  }
  .delivery-highlight{
    gap:5px!important;
    padding:6px 6px!important;
    border:1px solid rgba(120,164,226,.18)!important;
    background:rgba(255,255,255,.46)!important;
    box-shadow:none!important;
    backdrop-filter:blur(2px)!important;
    -webkit-backdrop-filter:blur(2px)!important;
  }
  .delivery-highlight>img{width:23px!important;height:23px!important}
  .delivery-highlight strong{font-size:10.8px!important;line-height:1.12!important}
  .delivery-highlight span{font-size:8.6px!important;line-height:1.15!important}
  .delivery-cities{
    max-width:305px!important;
    padding:8px 0 7px!important;
    border:0!important;
    border-top:1px solid rgba(67,93,131,.18)!important;
    border-bottom:1px solid rgba(67,93,131,.14)!important;
    border-radius:0!important;
    background:transparent!important;
  }
  .delivery-cities>strong{
    margin-bottom:6px!important;
    font-size:10.8px!important;
    color:#26354c!important;
  }
  .delivery-city-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:4px 8px!important;
  }
  .delivery-city-grid span{
    padding-left:10px!important;
    font-size:9.2px!important;
    line-height:1.18!important;
    color:#334158!important;
    white-space:normal!important;
  }
  .delivery-city-grid span::before{left:0!important;top:-1px!important;font-size:13px!important}
  .delivery-more{
    margin-top:7px!important;
    font-size:10px!important;
    line-height:1.2!important;
    padding:4px 0!important;
    color:#0967ff!important;
  }
  .hero-slider.delivery-active>.dots{bottom:10px!important;z-index:5!important}
  .hero-slider.delivery-active>.arrow{top:auto!important;bottom:8px!important;z-index:6!important}
}

@media(max-width:374px){
  .hero-delivery-overlay{width:min(82vw,292px)!important;left:11px!important;top:14px!important}
  .hero-delivery-overlay h2{font-size:23px!important}
  .hero-delivery-overlay .delivery-lead{font-size:11.2px!important}
  .delivery-highlight strong{font-size:10.2px!important}
  .delivery-highlight span{font-size:8.1px!important}
  .delivery-city-grid span{font-size:8.8px!important}
}

/* v25.136 — DELIVERY HERO MOBILE READABILITY PATCH / Agent 13
   Mobile only. Preserve the v25.135 transparent/scrim composition and all approved copy,
   but raise small type to a comfortable readable size. Desktop is intentionally untouched. */
@media(max-width:760px){
  .hero-slider.delivery-active{height:560px!important}
  .delivery-highlight strong{font-size:11.2px!important;line-height:1.16!important}
  .delivery-highlight span{font-size:9.8px!important;line-height:1.22!important}
  .delivery-cities>strong{font-size:11.2px!important;line-height:1.2!important}
  .delivery-city-grid{gap:5px 9px!important}
  .delivery-city-grid span{font-size:10.8px!important;line-height:1.24!important}
  .delivery-more{font-size:10.5px!important;line-height:1.25!important}
}
@media(max-width:374px){
  .hero-slider.delivery-active{height:580px!important}
  .delivery-highlight strong{font-size:10.8px!important}
  .delivery-highlight span{font-size:9.5px!important}
  .delivery-cities>strong{font-size:10.8px!important}
  .delivery-city-grid span{font-size:10.5px!important;line-height:1.24!important}
  .delivery-more{font-size:10.2px!important}
}
