: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}


/* Official square marketplace app icons in equal-sized review source cards. */
.review-origin-note{margin:-2px 0 10px;color:var(--muted);font-size:11px;line-height:1.35}
.review-sources{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:16px 0 18px}
.review-sources>div{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:8px;min-width:0;min-height:116px;padding:12px 8px;text-align:center;box-shadow:0 7px 20px rgba(21,50,90,.07);border:1px solid rgba(210,225,243,.7)}
.review-sources .review-source-logo{display:block;width:48px;height:48px;flex:0 0 48px;border-radius:12px;object-fit:cover}
.review-sources .review-source-copy{display:flex;flex-direction:column;align-items:center;gap:2px;min-width:0}
.review-sources .review-source-copy strong{font-size:13px;font-weight:700;line-height:1.2}
.review-sources .review-source-copy small{font-size:11px;line-height:1.25;color:var(--muted)}
@media(max-width:1100px){
  .review-sources{grid-template-columns:1fr;gap:8px}
  .review-sources>div{flex-direction:row;justify-content:flex-start;gap:12px;min-height:68px;padding:9px 12px;text-align:left}
  .review-sources .review-source-copy{align-items:flex-start}
}
@media(max-width:760px){
  .review-origin-note{font-size:10px;margin-bottom:8px}
  .review-sources .review-source-copy strong{font-size:14px}
  .review-sources .review-source-copy small{font-size:12px}
}

.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}
}

.contacts-page{padding:0 0 42px;color:#24272b}.contacts-page a{color:inherit}.contacts-page .cpct-crumbs{font-size:12px;color:#8b949e;padding:24px 0 10px}.contacts-page .cpct-crumbs a{color:#8b949e}.contacts-page .cpct-crumbs b{color:#5a6470;font-weight:500}.contacts-page .cpct-hero{padding:4px 0 22px}.contacts-page .cpct-hero h1{font-size:42px;line-height:1.05;margin:0 0 11px;color:#0e315a}.contacts-page .cpct-hero p{margin:0;color:#6e7680;font-size:17px;max-width:760px}.contacts-page .cpct-card{border:1px solid #dde7f5;border-radius:14px;background:#fff;box-shadow:0 10px 30px rgba(21,50,90,.08)}.contacts-page .cpct-contact-top{display:grid;grid-template-columns:1fr;gap:18px;margin:12px 0 26px}.contacts-page .cpct-contact-main{padding:28px}.contacts-page .cpct-eyebrow{font-size:12px;font-weight:700;color:#0967ff;letter-spacing:.02em;margin-bottom:10px}.contacts-page .cpct-contact-main h2{font-size:26px;margin:0 0 20px;color:#0e315a}.contacts-page .cpct-contact-row{display:flex;align-items:flex-start;gap:14px;padding:15px 0;border-top:1px solid #edf1f5}.contacts-page .cpct-contact-row:first-of-type{border-top:0}.contacts-page .cpct-round-ico{width:42px;height:42px;border-radius:10px;border:1.5px solid #0967ff;color:#0967ff;display:grid;place-items:center;flex:0 0 auto}.contacts-page .cpct-contact-row small{display:block;color:#6e7680;font-size:12px;margin-bottom:4px}.contacts-page .cpct-contact-row strong{display:block;font-size:18px}.contacts-page .cpct-contact-row a{color:#0967ff;font-weight:700}.contacts-page .cpct-contact-row a.cpct-secondary-phone{display:block;color:#52606d;font-weight:400;font-size:14px;margin-top:4px}.contacts-page .cpct-actions{display:flex;gap:10px;margin-top:18px}.contacts-page .cpct-btn{display:inline-flex;align-items:center;justify-content:center;border-radius:8px;padding:12px 17px;font-weight:700;font-size:13px;border:1px solid #0967ff}.contacts-page .cpct-btn.is-primary{background:#0967ff;color:#fff}.contacts-page .cpct-btn.is-secondary{background:#fff;color:#2d4560;border-color:#d7dde7}.contacts-page .cpct-section{padding:24px 0}.contacts-page .cpct-section-head{display:flex;align-items:end;justify-content:space-between;margin-bottom:16px}.contacts-page .cpct-section-head h2{font-size:28px;margin:0;color:#0e315a}.contacts-page .cpct-section-head p{margin:0;color:#6e7680;font-size:13px}.contacts-page .cpct-salon-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:18px}.contacts-page .cpct-salon-card{padding:28px}.contacts-page .cpct-salon-card h3{font-size:24px;margin:0 0 5px;color:#0e315a}.contacts-page .cpct-place{font-size:14px;color:#0967ff;font-weight:700;margin-bottom:20px}.contacts-page .cpct-detail{display:flex;gap:12px;margin:15px 0}.contacts-page .cpct-dicon{width:34px;height:34px;border-radius:9px;background:#f3f7fd;color:#0967ff;display:grid;place-items:center;flex:0 0 auto}.contacts-page .cpct-detail b{display:block;font-size:13px}.contacts-page .cpct-detail span{display:block;color:#4c5966;font-size:14px;margin-top:2px}.contacts-page .cpct-detail a:hover,.contacts-page .cpct-contact-row a:hover{text-decoration:underline}.contacts-page .cpct-schedule{display:grid;grid-template-columns:auto 1fr;gap:6px 16px;margin-top:18px;padding-top:18px;border-top:1px solid #edf1f5;font-size:14px}.contacts-page .cpct-schedule b{color:#0e315a}.contacts-page .cpct-map{min-height:355px;position:relative;overflow:hidden;background:#eef3f8}.contacts-page .cpct-map iframe{position:absolute;inset:0;width:100%;height:100%;border:0;background:#eef3f8}.contacts-page .cpct-office-form{display:grid;grid-template-columns:.88fr 1.12fr;gap:18px}.contacts-page .cpct-office-card{padding:28px}.contacts-page .cpct-office-card h3{font-size:22px;margin:0 0 14px;color:#0e315a}.contacts-page .cpct-office-card p{margin:0 0 18px;color:#4f5c69}.contacts-page .cpct-legal-name{background:#f3f7fd;border-radius:12px;padding:14px 16px;font-size:13px}.contacts-page .cpct-legal-name b{display:block;color:#0e315a;margin-bottom:5px}.contacts-page .cpct-form-card{padding:28px;background:#f3f7fd;border-color:#e3ebf7}.contacts-page .cpct-form-card h3{font-size:24px;margin:0;color:#0e315a}.contacts-page .cpct-form-card>p{margin:6px 0 18px;color:#6e7680;font-size:14px}.contacts-page .cpct-form{margin:0}.contacts-page .cpct-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.contacts-page .cpct-field{display:flex;flex-direction:column;gap:6px}.contacts-page .cpct-field.is-full{grid-column:1/-1}.contacts-page .cpct-field label{font-size:12px;color:#596674;font-weight:700}.contacts-page .cpct-field input,.contacts-page .cpct-field textarea{width:100%;border:1px solid #d8e1ec;background:#fff;border-radius:9px;padding:12px 13px;outline:0;font:inherit}.contacts-page .cpct-field input:focus,.contacts-page .cpct-field textarea:focus{border-color:#0967ff;box-shadow:0 0 0 3px rgba(9,103,255,.1)}.contacts-page .cpct-field textarea{min-height:104px;resize:vertical}.contacts-page .cpct-field small{color:#6e7680;font-size:11px}.contacts-page .cpct-consent{grid-column:1/-1;display:flex;align-items:flex-start;gap:9px;margin-top:2px}.contacts-page .cpct-consent input{margin-top:3px}.contacts-page .cpct-consent label,.contacts-page .cpct-consent div{font-size:12px;color:#5f6b77;line-height:1.4}.contacts-page .cpct-consent a{color:#0967ff;text-decoration:underline;text-underline-offset:2px}.contacts-page .cpct-hp{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;overflow:hidden!important}.contacts-page .cpct-form-actions{display:flex;align-items:center;gap:14px;margin-top:14px}.contacts-page .cpct-form-status{display:none;margin-top:12px;padding:10px 12px;border-radius:8px;font-size:13px}.contacts-page .cpct-form-status.is-success{display:block;background:#eaf8ef;color:#1e6b3a;border:1px solid #bfe5cc}.contacts-page .cpct-form-status.is-error{display:block;background:#fff0f0;color:#9b2c2c;border:1px solid #f1c1c1}.contacts-page .cpct-requisites{margin:24px 0 42px}.contacts-page .cpct-req{overflow:hidden}.contacts-page .cpct-req summary{list-style:none;display:flex;align-items:center;justify-content:space-between;padding:20px 22px;cursor:pointer}.contacts-page .cpct-req summary::-webkit-details-marker{display:none}.contacts-page .cpct-req summary b{display:block;color:#0e315a;font-size:17px}.contacts-page .cpct-req summary span{font-size:12px;color:#6e7680;margin-left:8px}.contacts-page .cpct-chev{width:34px;height:34px;border-radius:8px;background:#f3f7fd;display:grid;place-items:center;color:#0967ff;transition:transform .2s ease}.contacts-page .cpct-req[open] .cpct-chev{transform:rotate(180deg)}.contacts-page .cpct-req-body{border-top:1px solid #dde7f5;padding:8px 22px 20px}.contacts-page .cpct-req-item{display:grid;grid-template-columns:minmax(180px,.65fr) 1.35fr;gap:20px;padding:11px 0;border-bottom:1px solid #edf1f5}.contacts-page .cpct-req-item:last-child{border-bottom:0}.contacts-page .cpct-req-key{font-size:12px;font-weight:700;color:#596674}.contacts-page .cpct-req-value{font-size:13px;color:#334150;overflow-wrap:anywhere}
@media(max-width:900px){.contacts-page .cpct-hero h1{font-size:34px}.contacts-page .cpct-salon-grid,.contacts-page .cpct-office-form{grid-template-columns:1fr}.contacts-page .cpct-map{min-height:300px}}
@media(max-width:560px){.contacts-page .cpct-crumbs{padding-top:18px}.contacts-page .cpct-hero{padding-bottom:12px}.contacts-page .cpct-hero h1{font-size:30px}.contacts-page .cpct-hero p{font-size:15px}.contacts-page .cpct-contact-main,.contacts-page .cpct-salon-card,.contacts-page .cpct-office-card,.contacts-page .cpct-form-card{padding:20px}.contacts-page .cpct-contact-main h2{font-size:22px}.contacts-page .cpct-contact-row strong{font-size:16px}.contacts-page .cpct-actions{flex-direction:column}.contacts-page .cpct-btn{width:100%}.contacts-page .cpct-section{padding:18px 0}.contacts-page .cpct-section-head{align-items:start;flex-direction:column;gap:4px}.contacts-page .cpct-section-head h2{font-size:24px}.contacts-page .cpct-map{min-height:260px}.contacts-page .cpct-form-grid{grid-template-columns:1fr}.contacts-page .cpct-field.is-full{grid-column:auto}.contacts-page .cpct-form-actions{align-items:stretch;flex-direction:column}.contacts-page .cpct-form-actions .cpct-btn{width:100%}.contacts-page .cpct-schedule{grid-template-columns:1fr}.contacts-page .cpct-schedule span{margin-bottom:4px}.contacts-page .cpct-req summary{padding:17px 16px}.contacts-page .cpct-req summary span{display:block;margin:4px 0 0}.contacts-page .cpct-req-body{padding:6px 16px 16px}.contacts-page .cpct-req-item{grid-template-columns:1fr;gap:3px}}

/* The Yandex iframe ignores its pt color parameter, so emphasize the salon on top. */


/* GLOBAL MENU v25.20 — approved visual lock. Do not redesign. */
:root{--cp-menu-blue:#0967ff;--cp-menu-text:#20252b;--cp-menu-line:#e4e9f0;--cp-menu-soft:#f4f8ff}
.site-header{position:relative}
.cp-global-mega{display:none;position:absolute;left:0;right:0;top:100%;z-index:120;background:rgba(25,30,38,.36);min-height:calc(100vh - 110px)}
.cp-global-mega.is-open{display:block}
.cp-global-mega__panel{width:min(1460px,calc(100% - 64px));margin:0 auto;background:#fff;border:1px solid var(--cp-menu-line);border-radius:0 0 14px 14px;box-shadow:0 24px 50px rgba(14,49,90,.14);padding:26px 28px 28px;display:grid;grid-template-columns:250px 1fr;gap:28px}
.cp-global-mega__side{border-right:1px solid var(--cp-menu-line);padding-right:22px;display:flex;flex-direction:column;gap:4px}
.cp-global-mega__side a,.cp-global-mega__side span{display:flex;align-items:center;justify-content:space-between;min-height:46px;padding:0 12px;border-radius:10px;font-size:16px;color:var(--cp-menu-text)}
.cp-global-mega__side .is-active{background:var(--cp-menu-soft);color:var(--cp-menu-blue);font-weight:700}
.cp-global-mega__side .cp-divider{height:1px;min-height:1px;padding:0;margin:14px 0;background:var(--cp-menu-line);border-radius:0}
.cp-global-mega__side .cp-page-required{color:#69717c;cursor:default}
.cp-global-mega__content{display:flex;flex-direction:column;min-width:0}
.cp-global-mega__cols{display:grid;grid-template-columns:1.05fr 1.15fr .95fr .9fr;min-height:360px}
.cp-global-mega__col{padding:4px 28px 0;border-right:1px solid var(--cp-menu-line)}
.cp-global-mega__col:first-child{padding-left:6px}.cp-global-mega__col:last-child{border-right:0;padding-right:6px}
.cp-global-mega__col h3{margin:0 0 22px;font-size:20px;line-height:1.15;color:var(--cp-menu-text)}
.cp-global-mega__item{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:46px;font-size:15px;line-height:1.25;color:var(--cp-menu-text)}
.cp-global-mega__item.cp-page-required{cursor:default}.cp-global-mega__item .cp-chevron{font-size:23px;color:#6d747d;font-weight:400}
.cp-global-mega__cta{margin-top:18px;height:54px;border-radius:9px;background:var(--cp-menu-blue);color:#fff!important;font-weight:700;display:flex;align-items:center;justify-content:center;gap:12px;font-size:16px}
body.cp-mobile-menu-open{overflow:hidden}
.cp-mobile-global{display:none;position:fixed;inset:0;background:#fff;z-index:1000;overflow:auto;color:var(--cp-menu-text)}
.cp-mobile-global.is-open{display:block}
.cp-mobile-global__inner{width:min(100%,440px);min-height:100%;margin:0 auto;background:#fff;padding:18px 20px 32px}
.cp-mobile-global__utility{display:grid;grid-template-columns:minmax(118px,1fr) repeat(4,34px);align-items:center;gap:12px;margin-bottom:12px}
.cp-mobile-global__brand img,.cp-mobile-global__brand svg{display:block;max-width:124px;max-height:46px;width:auto;height:auto}
.cp-mobile-global__utility a,.cp-mobile-global__utility button{height:34px;width:34px;border:0;background:transparent;padding:4px;display:grid;place-items:center;color:#a1a6ad;border-radius:8px}
.cp-mobile-global__utility img{max-width:25px;max-height:25px}.cp-mobile-global__utility .cp-fav img{filter:none}
.cp-mobile-global__topsearch{display:grid;grid-template-columns:46px 1fr;gap:12px;align-items:center;margin-bottom:20px}
.cp-mobile-global__close{height:46px;width:46px;border:0;border-radius:12px;background:var(--cp-menu-blue);color:#fff;font-size:34px;line-height:1;font-weight:300;display:grid;place-items:center;cursor:pointer}
.cp-mobile-global__search{height:46px;border:1px solid #d8dde5;border-radius:11px;display:flex;align-items:center;padding:0 13px;gap:8px;color:#9a9fa7}
.cp-mobile-global__search input{border:0;outline:0;width:100%;font:inherit;font-size:15px}.cp-mobile-global__search img{width:22px;height:22px}
.cp-mobile-global__title{display:grid;grid-template-columns:42px 1fr 42px;align-items:center;gap:10px;padding:2px 0 16px;margin-bottom:6px;border-bottom:1px solid var(--cp-menu-line)}
.cp-mobile-global__title h2{font-size:20px;text-align:center;margin:0}.cp-mobile-global__back{width:42px;height:42px;border:0;border-radius:10px;background:#f4f5f7;font-size:28px;cursor:pointer}.cp-mobile-global__title .cp-mobile-global__close{width:42px;height:42px;font-size:29px}
.cp-mobile-global__list{display:flex;flex-direction:column}
.cp-mobile-global__item,.cp-mobile-global__plain{min-height:44px;display:flex;align-items:center;justify-content:space-between;gap:14px;border:0;background:transparent;color:var(--cp-menu-text);font:inherit;font-size:16px;text-align:left;padding:0;cursor:pointer}
.cp-mobile-global__item .cp-left{display:flex;align-items:center;gap:11px}.cp-mobile-global__glyph{width:18px;display:inline-grid;place-items:center;font-size:18px;color:#25292f}.cp-mobile-global__item .cp-chevron{font-size:25px;color:#24282d}
.cp-mobile-global__item.cp-page-required{cursor:default}.cp-mobile-global__plain{cursor:default}
.cp-mobile-global__sectionline{height:1px;background:var(--cp-menu-line);margin:8px 0 12px}
.cp-mobile-global__bottom{border-top:1px solid var(--cp-menu-line);margin-top:10px;padding-top:16px}
.cp-mobile-global__city{font-size:17px;font-weight:600;border:0;background:transparent;padding:0;margin:0 0 18px;cursor:pointer}
.cp-mobile-global__actions{display:grid;grid-template-columns:1fr 1fr;gap:14px}.cp-mobile-global__actions a,.cp-mobile-global__actions button{height:42px;border:1.5px solid var(--cp-menu-blue);border-radius:10px;background:#fff;color:var(--cp-menu-blue);font-weight:700;display:flex;align-items:center;justify-content:center;gap:8px;font-size:15px}
.cp-mobile-global__phone{display:block;margin-top:20px;font-size:20px;font-weight:800}.cp-mobile-global__phone small{display:block;font-size:12px;font-weight:400;color:#7b828b;margin-top:3px}
.cp-mobile-global__cta{margin-top:18px;height:48px;border-radius:9px;background:var(--cp-menu-blue);color:#fff!important;font-weight:700;display:flex;align-items:center;justify-content:center;gap:10px;font-size:17px}
.cp-mobile-global__sizes .cp-mobile-global__item{min-height:58px;font-size:18px;border-bottom:1px solid #eef1f5}
.cp-nav-disabled{color:#8b929b;cursor:default}
@media(max-width:760px){.cp-global-mega{display:none!important}.cp-mobile-global__inner{width:100%}.site-header .mobile-menu{display:none!important}}
@media(min-width:761px){.cp-mobile-global{display:none!important}}
@media(max-width:1100px) and (min-width:761px){.cp-global-mega__panel{width:calc(100% - 28px);grid-template-columns:210px 1fr;padding:20px}.cp-global-mega__cols{grid-template-columns:1fr 1fr}.cp-global-mega__col{border-bottom:1px solid var(--cp-menu-line);padding:18px}.cp-global-mega__col:nth-child(2n){border-right:0}.cp-global-mega__col:nth-last-child(-n+2){border-bottom:0}}

/* v25.20 LOCAL FIX: real menu icons, fallback mobile trigger and live utility fallbacks. */
.cp-menu-label{display:flex;align-items:center;gap:12px;min-width:0}.cp-menu-icon{width:22px;height:22px;display:block;object-fit:contain;flex:0 0 auto}.cp-global-mega__side .cp-menu-icon{width:22px;height:22px}.cp-global-mega__cta .cp-menu-icon{width:22px;height:22px;filter:brightness(0) invert(1)}
.cp-mobile-global__item .cp-menu-icon{width:20px;height:20px}.cp-mobile-global__actions .cp-menu-icon{width:18px;height:18px}.cp-mobile-global__cta .cp-menu-icon{width:21px;height:21px;filter:brightness(0) invert(1)}
.cp-global-mobile-trigger{border:0;background:transparent;padding:6px;cursor:pointer}.cp-global-mobile-trigger img{width:26px;height:26px}
.cp-global-fallback-modal{display:none;position:fixed;inset:0;z-index:1400}.cp-global-fallback-modal.is-open{display:block}.cp-global-fallback-modal__backdrop{position:absolute;inset:0;background:rgba(18,24,32,.42)}.cp-global-fallback-modal__panel{position:relative;width:min(420px,calc(100% - 32px));margin:18vh auto 0;background:#fff;border-radius:14px;padding:24px;box-shadow:0 24px 70px rgba(0,0,0,.18)}.cp-global-fallback-modal__panel h3{margin:0 40px 10px 0;font-size:21px}.cp-global-fallback-modal__panel p{margin:0 0 18px;line-height:1.45;color:#525a65}.cp-global-fallback-modal__close{position:absolute;right:14px;top:12px;border:0;background:transparent;font-size:30px;cursor:pointer}.cp-global-fallback-modal__action{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 16px;border-radius:8px;background:var(--cp-menu-blue);color:#fff!important;font-weight:700}
@media(min-width:761px){.cp-global-mobile-trigger{display:none!important}}
@media(max-width:760px){.cp-global-mobile-trigger{display:grid!important;place-items:center;margin-left:auto}}

/* v25.21 ASSET FIX ONLY: keep the approved logo asset box stable in Mobile 1/2. */
.cp-mobile-global__brand{display:flex;align-items:center;min-width:0}
.cp-mobile-global__brand img{display:block;width:124px;height:auto;max-width:124px;max-height:46px;object-fit:contain}


/* v25.22 VISUAL ICON FIX ONLY — approved Mobile 1 / Desktop mega-menu MASTER. */
.cp-mobile-global__utility .cp-fav{position:relative}
.cp-mobile-global__favbadge{position:absolute;right:-2px;top:-4px;min-width:18px;height:18px;padding:0 4px;border-radius:10px;background:#f31b55;color:#fff;font-size:10px;font-weight:800;line-height:18px;text-align:center;box-shadow:0 0 0 2px #fff}
.cp-mobile-global__utility button[aria-label="Сравнение"]{opacity:1!important}
.cp-mobile-global__utility button[aria-label="Сравнение"] .cp-menu-icon{opacity:1}
.cp-global-mega__side .is-active .cp-menu-icon{width:24px;height:24px}
.cp-global-mega__side .cp-menu-icon{width:23px;height:23px}
.cp-global-mega__col .cp-global-mega__item{justify-content:flex-start}
/* STRICT SCOPE LOCK v25.40: Favorites/Compare counters are real DOM badges only. */
@media(min-width:761px){
  .site-header #favoritesBtn{position:relative}
  .site-header #favoritesBtn .header-svg{content:url("https://preview.matras-perina.ru/wp-content/themes/carskie-periny/baseline/assets/icon-heart-menu.svg")}
  .site-header #cartBtn .header-svg{content:url("https://preview.matras-perina.ru/wp-content/themes/carskie-periny/baseline/assets/icon-cart-menu.svg")}
}

/* v25.23 FINAL ICON MATCH PATCH ONLY.
   Icon silhouettes are sampled directly from the approved Mobile 1 / Desktop mega-menu visual MASTER.
   No menu structure, copy, URL logic, spacing grid or interaction logic changed. */
.cp-mobile-global__utility > a .cp-menu-icon,
.cp-mobile-global__utility > button .cp-menu-icon{width:21px;height:21px;max-width:21px;max-height:21px}
.cp-mobile-global__item .cp-menu-icon{width:20px;height:20px}
.cp-mobile-global__actions .cp-menu-icon{width:17px;height:17px}
.cp-global-mega__side .cp-menu-icon{width:26px;height:26px}
.cp-global-mega__side .is-active .cp-menu-icon{width:27px;height:27px}
.cp-global-mega__cta .cp-menu-icon{width:26px;height:26px;filter:none}
.cp-mobile-global__cta .cp-menu-icon{width:24px;height:24px;filter:none}
@media(min-width:761px){
  .site-header #whereBtn .header-svg{content:url("https://preview.matras-perina.ru/wp-content/themes/carskie-periny/baseline/assets/icon-store-master.svg");width:18px;height:18px}
  .site-header #businessBtn .header-svg{content:url("https://preview.matras-perina.ru/wp-content/themes/carskie-periny/baseline/assets/icon-business-master.svg");width:18px;height:18px}
  .site-header #favoritesBtn .header-svg{content:url("https://preview.matras-perina.ru/wp-content/themes/carskie-periny/baseline/assets/icon-heart-menu.svg");width:23px;height:23px}
  .site-header #cartBtn .header-svg{content:url("https://preview.matras-perina.ru/wp-content/themes/carskie-periny/baseline/assets/icon-cart-menu.svg");width:23px;height:23px}
}

/* v25.26 city selector: reuse the approved Mobile menu language; Mobile 1 itself is unchanged. */
.cp-mobile-global__cities .cp-mobile-global__item{min-height:48px;border-bottom:1px solid #eef1f5;width:100%}
.cp-mobile-global__cities .cp-mobile-global__city-option.is-selected{font-weight:700;color:var(--cp-menu-blue)}


/* v25.27 OTHER CITY PATCH ONLY: custom city entry lives inside the existing Mobile city flow. */
.cp-mobile-global__city-other{font-weight:600}
.cp-mobile-global__city-custom{display:flex;flex-direction:column;gap:12px;padding-top:12px}
.cp-mobile-global__city-custom label{font-size:15px;font-weight:700;color:var(--cp-menu-text)}
.cp-mobile-global__city-custom input{width:100%;height:46px;border:1px solid #d8dde5;border-radius:10px;padding:0 13px;font:inherit;font-size:16px;color:var(--cp-menu-text);outline:0;background:#fff}
.cp-mobile-global__city-custom input:focus{border-color:var(--cp-menu-blue);box-shadow:0 0 0 2px rgba(18,99,255,.08)}
.cp-mobile-global__city-help{margin:0;color:#7b828b;font-size:13px;line-height:1.4}
.cp-mobile-global__city-save{height:46px;border:0;border-radius:10px;background:var(--cp-menu-blue);color:#fff;font:inherit;font-size:16px;font-weight:700;cursor:pointer}
.cp-mobile-global__city-error{margin:0;color:#c62828;font-size:13px}

.cp-global-pref{display:inline-flex!important;align-items:center;justify-content:center;width:38px;height:38px;border:0!important;background:#fff!important;padding:7px!important;position:relative}.cp-global-pref img{width:22px;height:22px}.cp-global-pref .action-badge{position:absolute;right:-2px;top:-5px;background:#e74444;color:#fff;border-radius:999px;min-width:17px;height:17px;padding:0 4px;font:700 10px/17px Arial;text-align:center}

.cp-global-pref{display:inline-flex!important;align-items:center;justify-content:center;width:38px;height:38px;border:0!important;background:#fff!important;padding:7px!important;position:relative}.cp-global-pref img{width:22px;height:22px}.cp-global-pref .action-badge{position:absolute;right:-2px;top:-5px;background:#e74444;color:#fff;border-radius:999px;min-width:17px;height:17px;padding:0 4px;font:700 10px/17px Arial;text-align:center}

/* v25.90 GLOBAL HEADER ACTIONS LOCK */
.site-header .header-actions .cp-header-pref,.site-header .header-actions .cp-header-cart{position:relative;width:38px;height:38px;min-width:38px;padding:0!important;border:1px solid #dce5f0!important;border-radius:8px!important;background:#fff!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;color:#31577f!important}.site-header .header-actions .cp-header-pref img,.site-header .header-actions .cp-header-cart img{width:18px!important;height:18px!important;display:block}.site-header .header-actions .action-badge{position:absolute;right:-5px;top:-7px;min-width:16px;height:16px;padding:0 4px;border-radius:9px;background:#e84b55;color:#fff;font-size:10px;line-height:16px;text-align:center;font-weight:700}

.cp-search-host{position:relative!important}.cp-search-suggest{position:absolute;z-index:10050;left:0;right:0;top:calc(100% + 7px);background:#fff;border:1px solid #dce4ee;border-radius:14px;box-shadow:0 16px 42px rgba(24,38,58,.16);overflow:hidden;text-align:left;min-width:320px;max-height:min(70vh,560px);overflow-y:auto}.cp-search-suggest__group{padding:10px 14px 6px;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.06em;color:#718096;background:#f8fafc}.cp-search-suggest__item{display:flex;gap:11px;align-items:center;padding:10px 14px;text-decoration:none!important;color:#172033!important;border-top:1px solid #eef2f6;outline:none}.cp-search-suggest__item:hover,.cp-search-suggest__item:focus{background:#f3f7fb}.cp-search-suggest__item span{min-width:0}.cp-search-suggest__item b{display:block;font-size:14px;line-height:1.3}.cp-search-suggest__item small{display:block;color:#6d7580;font-size:12px;line-height:1.35;margin-top:3px;white-space:normal}.cp-search-suggest__img{width:56px;height:42px;object-fit:cover;border-radius:8px;background:#f2f4f7;flex:0 0 auto}.cp-search-suggest__all{display:block;padding:12px 14px;text-align:center;font-weight:700;text-decoration:none!important;color:#145ea8!important;border-top:1px solid #e8edf3;background:#fff}.cp-search-suggest__all:hover,.cp-search-suggest__all:focus{background:#f3f7fb}.cp-search-suggest__empty{padding:18px 14px;color:#687386}.cp-search-page{padding:28px 0 64px;background:#f7f9fc;min-height:60vh}.cp-search-page__crumbs{font-size:13px;color:#6f7785;margin-bottom:18px}.cp-search-page__crumbs a{color:inherit}.cp-search-page__panel{background:#fff;border:1px solid #e3e8ef;border-radius:20px;padding:28px}.cp-search-page h1{margin:0 0 8px;font-size:32px}.cp-search-page__count{color:#667085;margin:0 0 20px}.cp-search-page__bar{display:flex;gap:10px;margin-bottom:20px}.cp-search-page__bar input{flex:1;min-width:0;height:48px;border:1px solid #ccd5df;border-radius:12px;padding:0 15px;font-size:16px}.cp-search-page__bar button{border:0;border-radius:12px;padding:0 22px;background:#1d5e9f;color:#fff;font-weight:700;cursor:pointer}.cp-search-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 22px}.cp-search-tab{border:1px solid #d7dee8;background:#fff;border-radius:999px;padding:8px 13px;cursor:pointer;font-weight:700;color:#344054}.cp-search-tab.is-active{background:#153f6d;color:#fff;border-color:#153f6d}.cp-search-results{display:grid;gap:12px}.cp-search-result{display:flex;gap:16px;align-items:center;padding:16px;border:1px solid #e3e8ef;border-radius:14px;text-decoration:none!important;color:#172033!important;background:#fff}.cp-search-result:hover{border-color:#b7c8d9;box-shadow:0 6px 18px rgba(22,40,66,.06)}.cp-search-result img{width:116px;height:82px;object-fit:cover;border-radius:10px;background:#f0f2f5;flex:0 0 auto}.cp-search-result__type{font-size:11px;font-weight:800;letter-spacing:.05em;text-transform:uppercase;color:#748094}.cp-search-result h2{font-size:18px;margin:3px 0 5px}.cp-search-result p{font-size:14px;color:#667085;margin:0;line-height:1.45}.cp-search-result__price{font-weight:800;color:#1f4f7d;margin-top:7px}.cp-search-empty{padding:26px;border:1px dashed #ccd5df;border-radius:14px;background:#fafbfc}.cp-search-empty h2{margin-top:0}.cp-search-empty__actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}.cp-search-empty__actions a{display:inline-flex;padding:10px 14px;border-radius:10px;text-decoration:none;font-weight:700;background:#eef4fa;color:#164f86}.cp-search-highlight{font-weight:800}@media(max-width:760px){.cp-search-suggest{position:absolute;left:0;right:0;top:calc(100% + 7px);min-width:0;max-height:58vh}.cp-search-page{padding:18px 0 44px}.cp-search-page__panel{padding:18px;border-radius:14px}.cp-search-page h1{font-size:26px}.cp-search-page__bar{flex-direction:column}.cp-search-page__bar button{height:46px}.cp-search-result{align-items:flex-start;padding:12px}.cp-search-result img{width:84px;height:66px}.cp-search-result h2{font-size:16px}.cp-search-result p{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}}
/* v25.30 — local search availability patch */
.cp-standalone-search-wrap{width:min(1240px,calc(100% - 40px));margin:18px auto 0}
.cp-standalone-search,.cp-assistant-search{display:flex;align-items:center;gap:8px;height:42px;border:1px solid #d8dde5;border-radius:10px;background:#fff;padding:0 8px 0 12px}
.cp-standalone-search input,.cp-assistant-search input{flex:1;min-width:0;border:0;outline:0;background:transparent;font:inherit;color:#24272b}
.cp-standalone-search button,.cp-assistant-search button{height:32px;border:0;border-radius:8px;background:#0967ff;color:#fff;padding:0 14px;font-weight:700;cursor:pointer}
.cp-standalone-search:focus-within,.cp-assistant-search:focus-within{border-color:#0967ff;box-shadow:0 0 0 3px rgba(9,103,255,.10)}
.cp-assistant-search-row{max-width:680px;margin:10px auto 0}
.cp-assistant-search{height:38px}
.cp-assistant-search button{height:30px}
@media(max-width:760px){.cp-standalone-search-wrap{width:min(100% - 24px,560px);margin-top:12px}.cp-standalone-search button{padding:0 11px}.cp-assistant-search-row{margin-top:8px}.cp-assistant-search{height:36px}.cp-assistant-search button{height:28px;padding:0 10px}}

/* Reserve the result area before search JS runs, avoiding a visible footer jump. */
.cp-search-results{min-height:60vh}

/* Keep one or a few matches compact inside the reserved results area. */
.cp-search-results{align-content:start;grid-auto-rows:max-content}
