/* BLACKOUT: шапка и подвал (T-0003). Тёмное оформление поверх штатной шапки WoodMart. */

/* ===== Шапка ===== */
.whb-header .whb-top-bar{background:#100d0a!important;border-bottom:1px solid #2a2721}
.whb-header .whb-top-bar a,.whb-header .whb-top-bar .nav-link-text{color:#b9b3a4!important}
.whb-header .whb-top-bar a:hover,.whb-header .whb-top-bar li:hover>a .nav-link-text{color:#ffc20e!important}
.whb-header .whb-general-header{background:#26211d!important;border-bottom:1px solid #3a342a;box-shadow:0 4px 18px rgba(0,0,0,.45)}
.whb-header .whb-general-header .wd-nav>li>a,
.whb-header .whb-general-header .wd-nav>li>a .nav-link-text,
.whb-header .whb-general-header .wd-tools-element>a,
.whb-header .whb-general-header .wd-tools-text,
.whb-header .whb-general-header .wd-tools-icon,
.whb-header .whb-general-header .whb-phone,
.whb-header .whb-general-header .wd-header-text{color:#f1ede4!important}
.whb-header .whb-general-header .wd-nav>li:hover>a,
.whb-header .whb-general-header .wd-nav>li.current-menu-item>a,
.whb-header .whb-general-header .wd-nav>li:hover>a .nav-link-text,
.whb-header .whb-general-header .wd-nav>li.current-menu-item>a .nav-link-text,
.whb-header .whb-general-header .wd-tools-element:hover>a,
.whb-header .whb-general-header .wd-tools-element:hover .wd-tools-icon{color:#ffc20e!important}
.whb-header .whb-general-header .wd-tools-count,
.whb-header .whb-general-header .wd-cart-number{background:#ffc20e!important;color:#0b0b0a!important}
.whb-header .whb-general-header .wd-nav>li>a{text-transform:uppercase;font-weight:700;letter-spacing:.03em}
.whb-header .wd-logo img{display:block;height:auto}
/* Логотип выступает за нижний край шапки, не сдвигая меню и контент. */
.whb-header .wd-logo{display:inline-block;position:relative;z-index:2;transform:translateY(32px)}
.whb-header .wd-logo::before{content:"";position:absolute;z-index:-1;inset:-32px -14px -10px;background:#26211d;
	clip-path:polygon(0 0,100% 0,100% calc(100% - 12px),calc(100% - 12px) 100%,12px 100%,0 calc(100% - 12px));pointer-events:none}
@media (max-width:1024px){.whb-header .wd-logo{transform:translateY(22px)}}
/* Скрыть сравнение только в шапке, включая мобильную и липкую версии. */
.whb-header .wd-header-compare{display:none!important}
/* На desktop штатная AJAX-форма поиска всегда открыта перед иконками. */
@media (min-width:1025px){
	.whb-header .whb-col-right>.wd-header-search{order:-1;flex:0 1 250px;width:clamp(180px,18vw,250px);margin-right:16px;padding:0;min-width:180px}
	.whb-header .whb-col-right>.wd-header-search>a{display:none!important}
	.whb-header .wd-header-search>.wd-search-dropdown{display:block!important;position:relative!important;inset:auto!important;width:100%!important;min-width:0!important;padding:0!important;margin:0!important;opacity:1!important;visibility:visible!important;transform:none!important;pointer-events:auto!important;background:transparent!important;box-shadow:none!important;border:0!important}
	.whb-header .wd-header-search>.wd-search-dropdown::before,.whb-header .wd-header-search>.wd-search-dropdown::after{display:none!important}
	.whb-header .wd-header-search .searchform{--wd-form-height:38px;--wd-form-bg:transparent;--wd-form-brd-color:#655e52;--wd-form-color:#f1ede4}
	.whb-header .wd-header-search .searchform input.s{height:38px!important;padding-inline:12px 42px;border:1px solid #655e52;border-radius:4px;font-size:13px;color:#f1ede4;background:rgba(11,11,10,.2)}
	.whb-header .wd-header-search .searchform input.s::placeholder{color:#aaa397;opacity:1}
	.whb-header .wd-header-search .searchsubmit{width:40px;color:#f1ede4;background:transparent;border:0}
}
.whb-header .whb-general-header .wd-search-form input[type=text],
.whb-header .whb-general-header .searchform input[type=text]{background:rgba(11,11,10,.5);border-color:rgba(241,237,228,.22);color:#f1ede4}


/* ===== Шапка: на всю ширину окна, всегда сверху, не поверх контента ===== */
.whb-header .whb-top-bar{display:none!important} /* верхняя полоска (язык, соцсети, newsletter) убрана */
.whb-header.whb-overcontent{position:sticky!important;top:var(--wd-admin-bar-h,0px)!important;z-index:390;
	width:100vw;max-width:100vw;margin-inline:calc(50% - 50vw);min-height:0}
.whb-header .whb-main-header,
.whb-header.whb-sticked .whb-main-header{position:relative!important;top:auto!important;left:auto!important;right:auto!important;
	width:100%!important;max-width:none!important;margin:0!important;transform:none!important;visibility:visible!important;opacity:1!important}
.whb-header .whb-main-header::before{display:none!important}
.whb-header .whb-general-header,
.whb-header.whb-sticked .whb-general-header{display:block!important}
/* фон шапки на всю ширину, а содержимое по ширине контента (как у hero и полосы товаров) */
.whb-header .whb-general-header .container{max-width:1290px!important;width:100%!important;margin-inline:auto!important;padding-inline:16px!important}
.whb-clone,.whb-sticky-header.whb-clone{display:none!important} /* клон-шапка WoodMart при прокрутке не нужна */

/* «Login / Register» -> иконка человечка (как в макете A1). Текст остаётся для скринридеров, dropdown входа работает как раньше. */
.whb-header .wd-header-my-account.wd-style-text-only>a{display:inline-flex;align-items:center;justify-content:center;position:relative;width:44px;height:44px;color:#f1ede4!important}
.whb-header .wd-header-my-account.wd-style-text-only>a::before{content:"";width:26px;height:26px;background:currentColor;
	-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21c1-4 4-6 8-6s7 2 8 6'/%3E%3C/svg%3E") center/contain no-repeat;
	mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21c1-4 4-6 8-6s7 2 8 6'/%3E%3C/svg%3E") center/contain no-repeat}
.whb-header .wd-header-my-account.wd-style-text-only .wd-tools-text{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.whb-header .wd-header-my-account.wd-style-text-only:hover>a{color:#ffc20e!important}

/* ===== Подвал ===== */
.wd-footer{background:#070706!important;border-top:1px solid #272723;color:#c9c3b5}
.wd-footer .main-footer{padding-block:0}
.bo-foot{--bo-yellow:#ffc20e;--bo-muted:#9a958a;--bo-line:#272723;--bo-ink:#0b0b0a;text-align:left;color:#c9c3b5}
.bo-foot *,.bo-foot *::before,.bo-foot *::after{box-sizing:border-box}
.bo-foot a{color:inherit;text-decoration:none}
.bo-foot a:hover,.bo-foot a:focus-visible{color:var(--bo-yellow)}
.bo-foot__cols{display:grid;grid-template-columns:1.3fr 1fr 1fr 1fr;gap:32px;padding-block:44px}
.bo-foot__logo{display:block;max-width:260px;line-height:0}
.bo-foot__logo img{display:block;width:100%;height:auto}
.bo-foot__brand p{margin:14px 0;color:var(--bo-muted)}
.bo-foot__phone{display:inline-block;font:700 18px/1.3 ui-monospace,"Cascadia Mono",Consolas,monospace;color:#f1ede4!important}
.bo-foot__brand small{display:block;color:var(--bo-muted)}
.bo-foot__col h4{margin:0 0 14px;font:700 12px/1.2 ui-monospace,"Cascadia Mono",Consolas,monospace;text-transform:uppercase;letter-spacing:.12em;color:var(--bo-muted)}
.bo-foot__col ul{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.bo-foot__bar{display:flex;flex-wrap:wrap;gap:12px 24px;align-items:center;padding-block:16px;border-top:1px solid var(--bo-line);font-size:13px;color:var(--bo-muted)}
.bo-foot__bar .y{color:var(--bo-yellow)}
.bo-foot__bar .r{margin-left:auto;display:flex;gap:8px;align-items:center}
.bo-foot__bar .r i{width:20px;height:8px;background:repeating-linear-gradient(-45deg,var(--bo-yellow) 0 12px,var(--bo-ink) 12px 24px)}
@media (max-width:900px){.bo-foot__cols{grid-template-columns:1fr 1fr}}
@media (max-width:560px){.bo-foot__cols{grid-template-columns:1fr;padding-block:32px}.bo-foot__bar .r{margin-left:0}}
