/* Шапка и подвал сайта (главная + все страницы Bono). Обёртка .dz-chrome защищает от общих стилей темы. */
.dz-chrome{--dz-paper:#f8f6f1;--dz-ink:#242620;--dz-muted:#64665e;--dz-line:#deded4;font-family:Rubik,Arial,sans-serif;font-size:16px;line-height:1.6;color:var(--dz-ink);text-align:left}
.dz-chrome *,.dz-chrome *::before,.dz-chrome *::after{box-sizing:border-box}
.dz-chrome a{color:inherit;text-decoration:none;box-shadow:none;border:0}
.dz-chrome a:focus-visible,.dz-chrome button:focus-visible{outline:3px solid #596d44;outline-offset:5px}
.dz-chrome p{margin:0}
.dz-chrome ul{list-style:none;margin:0;padding:0}
.dz-chrome ul::before,.dz-chrome ul::after{content:none;display:none}
.dz-chrome li{margin:0;padding:0}
.dz-chrome li::before{content:none;display:none}
.dz-chrome [hidden]{display:none!important}
.dz-chrome svg{display:block}
.dz-chrome .dz-wrap{width:min(1400px,calc(100% - 96px));margin-inline:auto}
.dz-chrome .dz-skip{position:absolute;left:24px;top:-80px;z-index:100000;background:white;padding:12px 18px}
.dz-chrome .dz-skip:focus{top:10px}
.dz-chrome .dz-header{border-bottom:1px solid var(--dz-line);background:var(--dz-paper)}
.dz-chrome .dz-header-row{min-height:100px;display:flex;align-items:center;gap:38px}
.dz-chrome .dz-brand{font-size:29px;font-weight:700;letter-spacing:-1.5px;line-height:1.1;white-space:nowrap}
.dz-chrome .dz-brand span{display:block;letter-spacing:0;font-size:11px;font-weight:400;color:var(--dz-muted);margin-top:7px}
.dz-chrome .dz-nav{display:flex;gap:30px;margin-left:auto;align-items:center;font-size:14px}
.dz-chrome .dz-nav a{padding-block:12px}
.dz-chrome .dz-nav a:hover{text-decoration:underline;text-underline-offset:5px}
.dz-chrome .dz-header-actions{display:flex;align-items:center;gap:14px}
.dz-chrome .dz-cart{width:44px;height:44px;display:grid;place-items:center}
.dz-chrome .dz-menu-toggle{font:inherit;border:1px solid var(--dz-line);background:transparent;color:var(--dz-ink);min-height:44px;padding:8px 12px;border-radius:4px;box-shadow:none}
.dz-chrome .dz-menu-toggle span{margin-left:10px}
.dz-chrome .dz-mobile-nav{display:none}
.dz-chrome .dz-footer .dz-brand{font-size:24px}
@media(min-width:1001px){.dz-chrome .dz-menu-toggle{display:none}
}
@media(max-width:1100px){.dz-chrome .dz-wrap{width:calc(100% - 56px)}
.dz-chrome .dz-nav{gap:18px;font-size:12px}
}
@media(max-width:1000px){.dz-chrome .dz-nav{display:none}
.dz-chrome .dz-header-actions{margin-left:auto}
.dz-chrome .dz-header-row{min-height:80px}
.dz-chrome .dz-mobile-nav{display:grid;grid-template-columns:1fr 1fr;gap:4px 20px;padding-bottom:18px}
.dz-chrome .dz-mobile-nav a{padding:12px 0;font-size:14px}
}
@media(max-width:700px){.dz-chrome .dz-wrap{width:calc(100% - 36px)}
.dz-chrome .dz-header-row{min-height:76px;gap:12px}
.dz-chrome .dz-brand{font-size:26px}
.dz-chrome .dz-brand span{font-size:10px}
.dz-chrome .dz-header-actions{gap:6px}


}
.dz-chrome .dz-search{position:relative}
.dz-chrome .dz-search summary{display:grid;place-items:center;width:44px;height:44px;cursor:pointer;list-style:none}
.dz-chrome .dz-search summary::-webkit-details-marker{display:none}
.dz-chrome .dz-search summary:focus-visible{outline:3px solid #596d44;outline-offset:2px}
.dz-chrome .dz-search form{position:absolute;right:0;top:52px;width:330px;max-width:calc(100vw - 36px);padding:20px;background:var(--dz-paper);border:1px solid var(--dz-line);border-radius:4px;z-index:50;box-shadow:0 8px 24px #24262012}
.dz-chrome .dz-search label{display:block;font-size:14px;margin-bottom:10px}
.dz-chrome .dz-search form>div{display:flex;gap:8px}
.dz-chrome .dz-search input[type=search]{width:100%;min-width:0;font:inherit;font-size:16px;border:1px solid #888d7d;border-radius:3px;background:#fff;padding:10px;color:var(--dz-ink)}
.dz-chrome .dz-search button{font:inherit;font-size:13px;padding:10px;background:var(--dz-ink);color:#fff;border:0;border-radius:3px;min-height:44px}
.dz-chrome .dz-search input:focus-visible{outline:3px solid #596d44;outline-offset:2px}
@media(max-width:700px){.dz-chrome .dz-search form{position:fixed;top:78px;left:18px;right:18px;width:auto}
.dz-chrome .dz-header-actions{gap:0}
.dz-chrome .dz-menu-toggle{padding:8px}
.dz-chrome .dz-cart, .dz-chrome .dz-search summary{width:38px}
}
@media(max-width:360px){.dz-chrome .dz-header .dz-brand{font-size:22px}
.dz-chrome .dz-menu-toggle{font-size:12px;padding:7px}
.dz-chrome .dz-header-row{gap:8px}
.dz-chrome .dz-search summary, .dz-chrome .dz-cart{width:36px}
}
.dz-chrome .dz-wrap{width:min(1240px,calc(100% - 100px))}
.dz-chrome .dz-header-row{min-height:82px}
.dz-chrome .dz-header{border-bottom:0}
.dz-chrome .dz-brand{font-size:25px}
.dz-chrome .dz-brand span{font-size:10px}
.dz-chrome .dz-nav{font-size:13px;gap:26px}
@media(max-width:1000px){.dz-chrome .dz-wrap{width:calc(100% - 56px)}
}
@media(max-width:700px){.dz-chrome .dz-wrap{width:calc(100% - 40px)}
.dz-chrome .dz-header-row{min-height:76px}

}
@media(max-width:360px){.dz-chrome .dz-header .dz-brand{font-size:21px}
}
.dz-chrome .dz-nav{gap:26px}
@media(max-width:700px){.dz-chrome .dz-mobile-nav{grid-template-columns:1fr 1fr}
}

/* телефон и счётчик корзины в шапке */
.dz-chrome .dz-header-phone{font-size:14px;font-weight:500;white-space:nowrap;margin-right:6px}
.dz-chrome .dz-header-phone:hover{text-decoration:underline;text-underline-offset:5px}
.dz-chrome .dz-cart{position:relative}
.dz-chrome .dz-cart-n{position:absolute;top:4px;right:2px;min-width:17px;height:17px;padding:0 4px;border-radius:9px;background:#596d44;color:#fff;font-size:10px;line-height:17px;text-align:center;font-weight:500}
@media(max-width:1180px){.dz-chrome .dz-header-phone{display:none}}

/* подвал */
.dz-chrome .dz-footer{background:var(--dz-paper);padding:56px 0 26px}
.dz-chrome .dz-footer-top{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,.8fr) minmax(0,.8fr) minmax(0,1.2fr);gap:40px;padding-bottom:40px;border-bottom:1px solid var(--dz-line)}
.dz-chrome .dz-footer-about p{font-size:13px;line-height:1.65;color:var(--dz-muted);margin:12px 0 18px;max-width:300px}
.dz-chrome .dz-footer .dz-footer-phone{display:block;font-size:20px;font-weight:500;letter-spacing:-.3px}
.dz-chrome .dz-footer .dz-footer-wa{display:inline-block;font-size:13px;margin-top:8px;border-bottom:1px solid #818877;padding-bottom:2px}
.dz-chrome .dz-footer-h{font-size:12px;color:var(--dz-muted);margin-bottom:12px}
.dz-chrome .dz-footer-col li+li{margin-top:7px}
.dz-chrome .dz-footer-col a{font-size:14px;line-height:1.45}
.dz-chrome .dz-footer-services ul{columns:2;column-gap:24px}
.dz-chrome .dz-footer-services li{break-inside:avoid;margin:0 0 7px}
.dz-chrome .dz-footer-col a:hover,.dz-chrome .dz-footer-about a:hover{text-decoration:underline;text-underline-offset:4px}
.dz-chrome .dz-footer-row{padding-top:20px;display:flex;gap:20px;font-size:12px;color:var(--dz-muted)}
.dz-chrome .dz-counters{height:0;overflow:hidden}
@media(max-width:1000px){.dz-chrome .dz-footer-top{grid-template-columns:1fr 1fr;gap:32px}.dz-chrome .dz-footer-about{grid-column:1/-1}.dz-chrome .dz-footer-services{grid-column:1/-1}}
@media(max-width:560px){.dz-chrome .dz-footer-top{grid-template-columns:1fr}.dz-chrome .dz-footer-services ul{columns:1}}

/* страницы темы Bono: шапка/подвал по ширине контента Bono (.site-content: max 1300 + поля 54px) */
body:not(.dz-home) .dz-chrome .dz-wrap{width:min(1300px,calc(100% - 108px))}
@media(max-width:1000px){body:not(.dz-home) .dz-chrome .dz-wrap{width:calc(100% - 56px)}}
@media(max-width:700px){body:not(.dz-home) .dz-chrome .dz-wrap{width:calc(100% - 40px)}}
/* Bono держит отступ снизу под свой «липкий» подвал — его больше нет */
body.theme-bono{margin-bottom:0!important}
