/* Wood & House visual redesign layer — reversible, no template/data changes. */
:root{
  --wood-ink:#2d2119;
  --wood-brown:#70452d;
  --wood-caramel:#b8783f;
  --wood-cream:#f7f0e4;
  --wood-paper:#fffaf2;
  --wood-green:#284b35;
  --wood-green-dark:#193326;
  --wood-line:rgba(91,59,35,.16);
  --wood-shadow:0 14px 34px rgba(56,35,19,.16);
}

html{background:#eadcc9}
body{
  color:var(--wood-ink)!important;
  background-color:#e8dbc9!important;
  background-image:linear-gradient(rgba(247,240,228,.82),rgba(247,240,228,.82)),url('/image/catalog/design-stage20/wood/wood-light-web.jpg')!important;
  background-size:auto,cover!important;
  background-attachment:fixed!important;
  background-position:center!important;
}
body:before{
  content:'';position:fixed;inset:0;pointer-events:none;z-index:-1;
  background:repeating-linear-gradient(0deg,rgba(86,54,29,.035) 0,rgba(86,54,29,.035) 1px,transparent 1px,transparent 8px);
  mix-blend-mode:multiply;
}

header{
  position:relative;z-index:20;
  background-color:#e8d2b3!important;
  background-image:linear-gradient(180deg,rgba(255,250,241,.87),rgba(226,199,162,.82)),url('/image/catalog/design-stage20/wood/wood-light-web.jpg')!important;
  background-size:auto,cover!important;
  background-position:center!important;
  border-bottom:5px solid var(--wood-green-dark);
  box-shadow:0 8px 22px rgba(54,34,20,.18);
}
.top-menu{background:rgba(58,39,27,.92)!important;color:#f9eedc!important}
.top-menu a,.top-menu__btn{color:#f9eedc!important}
.header-block{padding-top:22px;padding-bottom:22px}
.header-logo img{filter:drop-shadow(0 4px 3px rgba(42,27,16,.22))}
.header-block__item-caption,.header-phones__main,.header-phones__a{color:var(--wood-ink)!important}
.header-search__form,.header-search__input,.header-search__category-btn{
  border-color:rgba(87,53,30,.28)!important;
  background-color:rgba(255,250,242,.86)!important;
  color:var(--wood-ink)!important;
}
.header-search__btn{color:var(--wood-green)!important}
.header-block__item-cart,.header-account__icon,.header-wishlist__icon,.header-compare__icon{color:var(--wood-green)!important}
.menu1{background:rgba(46,71,52,.95)!important;border-radius:12px 12px 0 0}
.menu1 a,.menu1 .menu__collapse a,.menu1 .menu__btn{color:#fff8ed!important}
.menu1 a:hover,.menu1 .menu__btn:hover{background:rgba(201,148,84,.34)!important;color:#fff!important}

main,.breadcrumb,.content-top,.content-bottom{position:relative}
main{background:rgba(255,250,242,.62);border-radius:0 0 28px 28px}
.container{position:relative}
.breadcrumb{background:rgba(255,250,242,.72);border:1px solid var(--wood-line);border-radius:0 0 14px 14px;padding:10px 16px}
h1,h2,h3,h4,h5,h6{color:var(--wood-ink)!important;text-shadow:0 1px 0 rgba(255,255,255,.42)}
.heading,div.heading{color:var(--wood-green-dark)!important}

.btn,.md-os__link,.md-os__reset,.md-cc__actions .btn-primary,.case-gallery__button{
  border:1px solid rgba(38,67,44,.52)!important;
  border-radius:10px!important;
  background-color:var(--wood-green)!important;
  background-image:linear-gradient(rgba(76,111,75,.2),rgba(10,37,24,.28)),url('/image/catalog/design-stage20/wood/wood-green-web.jpg')!important;
  background-size:auto,cover!important;
  background-position:center!important;
  color:#fff9ed!important;
  box-shadow:0 5px 0 rgba(36,57,39,.22),0 10px 18px rgba(36,57,39,.18)!important;
  text-shadow:0 1px 1px rgba(0,0,0,.36);
  transition:transform .18s ease,filter .18s ease,box-shadow .18s ease!important;
}
.btn:hover,.btn:focus,.md-os__link:hover,.md-os__reset:hover,.md-cc__actions .btn-primary:hover{filter:brightness(1.1);transform:translateY(-1px);box-shadow:0 6px 0 rgba(36,57,39,.2),0 14px 24px rgba(36,57,39,.22)!important}
.btn-default,.md-os__link--ghost{background-color:#d8b486!important;background-image:linear-gradient(rgba(255,249,236,.34),rgba(131,79,40,.12)),url('/image/catalog/design-stage20/wood/wood-light-web.jpg')!important;color:var(--wood-ink)!important;text-shadow:none}
.form-control,.input-group .input-group-addon,select.form-control{background-color:rgba(255,251,244,.9)!important;border-color:var(--wood-line)!important;color:var(--wood-ink)!important}
.form-control:focus{border-color:var(--wood-caramel)!important;box-shadow:0 0 0 3px rgba(184,120,63,.18)!important}

.product-thumb,.product-layout,.category-info,.manufacturer-list,.well,.panel,.box,.module-wrapper,.md-os__question,.md-os__calc-card,.md-consumption-calculator,.md-os__result{
  border-color:var(--wood-line)!important;
  box-shadow:var(--wood-shadow)!important;
}
.product-thumb,.category-info,.manufacturer-list,.well,.panel,.box,.module-wrapper{background:rgba(255,250,242,.93)!important;border-radius:16px!important}
.product-thumb:hover{transform:translateY(-3px);box-shadow:0 18px 34px rgba(56,35,19,.2)!important}
.md-os__question,.md-os__calc-card{background:rgba(255,250,242,.9)!important}
.md-os__choice span{background:rgba(255,250,242,.86)!important;border-color:var(--wood-line)!important;color:var(--wood-ink)!important}
.md-os__choice input:checked+span{background:var(--wood-green)!important;background-image:linear-gradient(rgba(76,111,75,.2),rgba(10,37,24,.28)),url('/image/catalog/design-stage20/wood/wood-green-web.jpg')!important;color:#fff!important}
.md-consumption-calculator{background-color:var(--wood-green-dark)!important;background-image:linear-gradient(rgba(18,45,31,.78),rgba(18,45,31,.78)),url('/image/catalog/design-stage20/wood/wood-dark-web.jpg')!important;background-size:auto,cover!important}
.md-os__result{background:rgba(244,235,220,.92)!important}

.footer,footer{
  position:relative;margin-top:42px!important;
  background-color:#21160f!important;
  background-image:linear-gradient(rgba(29,19,13,.72),rgba(29,19,13,.76)),url('/image/catalog/design-stage20/wood/wood-dark-web.jpg')!important;
  background-size:auto,cover!important;background-position:center!important;
  border-top:7px solid #a56b3b;
  color:#f4e9d8!important;
  box-shadow:0 -12px 32px rgba(42,24,13,.22);
}
footer:before{content:'';position:absolute;inset:0;pointer-events:none;background:repeating-linear-gradient(0deg,rgba(255,222,177,.04) 0,rgba(255,222,177,.04) 1px,transparent 1px,transparent 7px)}
footer .container,footer .footer__socials-payments{position:relative;z-index:1}
.footer__column-heading{color:#f4c98f!important;border-bottom-color:rgba(244,201,143,.32)!important;text-shadow:0 1px 2px #140b07}
.footer__column-a,footer a{color:#f5eadb!important}
.footer__column-a:hover,footer a:hover{color:#f2c37c!important}
.footer__column-li{border-bottom-color:rgba(244,201,143,.14)!important}
.footer__text{color:#d7c5ae!important}
.footer__socials-payments{background:rgba(12,8,5,.38)!important;border-top-color:rgba(244,201,143,.2)!important}
.footer__socials-icon,.footer__payments-icon{filter:sepia(.22) saturate(1.15)}

@media(max-width:767px){
  body{background-attachment:scroll!important;background-size:auto,auto 100%!important}
  header{border-bottom-width:3px}
  .header-block{padding-top:14px;padding-bottom:14px}
  main{border-radius:0 0 18px 18px;background:rgba(255,250,242,.72)}
  .menu1{border-radius:0}
  footer{margin-top:24px!important}
  .product-thumb,.category-info,.manufacturer-list,.well,.panel,.box,.module-wrapper{border-radius:12px!important}
  .btn,.md-os__link,.md-os__reset{box-shadow:0 3px 0 rgba(36,57,39,.2),0 7px 13px rgba(36,57,39,.16)!important}
}

/* Explicitly override the theme's shorthand footer background variable. */
html body footer.footer{
  background:#21160f linear-gradient(rgba(29,19,13,.72),rgba(29,19,13,.76)),url('/image/catalog/design-stage20/wood/wood-dark-web.jpg') center/cover no-repeat!important;
}

/* Mobile top-links drawer: dark readable text on the light panel. */
@media(max-width:767px){
  header .top-menu .top-links__ul,
  header .top-menu .top-links__ul.dropdown-menu{
    background:#fffaf2!important;
    border:1px solid rgba(91,59,35,.14)!important;
    box-shadow:0 14px 30px rgba(56,35,19,.18)!important;
  }
  header .top-menu .top-links__a,
  header .top-menu .top-links__a:visited,
  header .top-menu .top-links__a:focus{
    color:#3b281d!important;
    text-shadow:none!important;
    background:transparent!important;
  }
  header .top-menu .top-links__a:hover,
  header .top-menu .top-links__a:active{
    color:#6d3d1d!important;
    background:#ead6ba!important;
  }
  header .top-menu .top-links__li+.top-links__li{border-top:1px solid rgba(91,59,35,.1)!important}
}

/* Color picker intro is a semantic <header>; isolate it from the site header styling. */
.local-picker__intro{
  background-color:#2d1d15!important;background-image:linear-gradient(135deg,rgba(35,24,17,.96),rgba(104,68,45,.94)),url('/image/catalog/design-stage20/wood/wood-dark-web.jpg')!important;background-position:center!important;background-size:cover!important;background-repeat:no-repeat!important;
  color:#fff9ed!important;
  border-bottom:1px solid rgba(244,201,143,.42)!important;
}
.local-picker__intro .local-picker__eyebrow{color:#f0c47d!important;text-shadow:0 1px 2px rgba(0,0,0,.35)!important}
.local-picker__intro h2{color:#fffdf8!important;text-shadow:0 2px 3px rgba(0,0,0,.42)!important}
.local-picker__intro p:last-child{color:#f4e8d8!important;text-shadow:0 1px 2px rgba(0,0,0,.35)!important}
@media(max-width:570px){
  .local-picker__intro{background-position:center!important}
  .local-picker__intro h2{font-size:23px;line-height:1.18}
  .local-picker__intro p:last-child{font-size:15px;line-height:1.48}
}

/* Yandex reviews block */
.reviews-yandex{max-width:1180px;margin:34px auto 42px;padding:30px 32px;background:linear-gradient(rgba(255,250,241,.94),rgba(244,232,215,.92)),url('/image/catalog/design-stage20/wood/wood-light-web.jpg') center/cover;border:1px solid rgba(104,68,45,.22);border-radius:20px;box-shadow:0 14px 34px rgba(55,35,22,.12);color:#332219}
.reviews-yandex__head{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:10px}
.reviews-yandex__eyebrow{margin:0 0 6px;color:#8a5d35;font-size:12px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}
.reviews-yandex h2{margin:0;color:#332219;font-size:28px;line-height:1.15}
.reviews-yandex__score{display:grid;grid-template-columns:auto auto;align-items:center;column-gap:8px;min-width:132px;padding:11px 14px;background:rgba(255,255,255,.7);border:1px solid #d9c2a5;border-radius:12px;text-align:right}
.reviews-yandex__score .reviews-yandex__stars{grid-column:1/-1}
.reviews-yandex__score strong{font-size:26px;color:#5b3824}
.reviews-yandex__score small{color:#765a46;font-size:11px}
.reviews-yandex__stars{color:#c47722;letter-spacing:.08em;font-size:16px;line-height:1}
.reviews-yandex__notice{margin:0 0 20px;color:#765a46;font-size:13px;line-height:1.45}
.reviews-yandex__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.reviews-yandex__item{padding:18px;background:rgba(255,255,255,.78);border:1px solid rgba(166,126,88,.3);border-radius:14px}
.reviews-yandex__meta{display:flex;justify-content:space-between;gap:10px;margin-bottom:9px;color:#5c4231;font-size:13px}
.reviews-yandex__meta time{color:#92745b;font-size:11px;white-space:nowrap}
.reviews-yandex__item blockquote{margin:10px 0 0;color:#493326;font-size:14px;line-height:1.5}
.reviews-yandex__source{display:inline-flex;margin-top:20px;padding:11px 15px;background:#60402b;color:#fff!important;border-radius:9px;font-size:13px;font-weight:700;text-decoration:none!important}
.reviews-yandex__source:hover{background:#3d281b}
@media(max-width:900px){.reviews-yandex__grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:570px){.reviews-yandex{margin:24px 10px 32px;padding:22px 16px;border-radius:16px}.reviews-yandex__head{display:block}.reviews-yandex__score{margin-top:14px;width:max-content;text-align:left}.reviews-yandex h2{font-size:23px}.reviews-yandex__grid{grid-template-columns:1fr}.reviews-yandex__source{width:100%;justify-content:center;text-align:center}}

/* Верхняя служебная навигация: тёмная древесная подложка и устойчивый контраст. */
#top.top-menu {
  background-color: #3a2418;
  background-image:
    linear-gradient(90deg, rgba(19, 10, 6, .62) 0%, rgba(95, 57, 32, .28) 48%, rgba(19, 10, 6, .66) 100%),
    repeating-linear-gradient(4deg, rgba(255, 215, 158, .065) 0 1px, rgba(0, 0, 0, .10) 1px 4px);
  border-bottom: 1px solid rgba(227, 175, 107, .68);
  box-shadow: inset 0 -1px rgba(0, 0, 0, .34), 0 2px 7px rgba(32, 16, 8, .18);
}

#top.top-menu .top-links__a,
#top.top-menu .top-menu__links > a,
#top.top-menu .top-menu__links .btn,
#top.top-menu .top-menu__links .btn-link {
  color: #fff3dd !important;
  font-weight: 650;
  text-shadow: 0 1px 1px rgba(0, 0, 0, .45);
}

#top.top-menu .top-links__a:hover,
#top.top-menu .top-links__a:focus,
#top.top-menu .top-menu__links > a:hover,
#top.top-menu .top-menu__links > a:focus,
#top.top-menu .top-menu__links .btn:hover,
#top.top-menu .top-menu__links .btn:focus {
  color: #ffd39b !important;
  text-decoration: none;
}

#top.top-menu .top-links__a:focus-visible,
#top.top-menu .top-menu__links a:focus-visible,
#top.top-menu .top-menu__links button:focus-visible {
  outline: 2px solid #f0b267;
  outline-offset: 3px;
  border-radius: 2px;
}

#top.top-menu .top-links__a .fa,
#top.top-menu .top-menu__links .fa,
#top.top-menu .top-menu__links .icon {
  color: currentColor;
}
