/* Общая шапка для главной, страниц CMS, калькулятора и презентации. */
.co-header{position:relative;z-index:50;background:#fff;color:#333;font-family:Arial,sans-serif;box-shadow:0 1px 0 #eee}
.co-header *{box-sizing:border-box}
.co-header .co-wrap{width:calc(100% - 48px);max-width:1200px;margin:0 auto}
.co-header .co-top{background:#f5f5f5;font-size:13px}
.co-header .co-top>.co-wrap{display:flex;align-items:center;gap:20px;min-height:44px}
.co-header a{text-decoration:none}
.co-header .co-phone{font-size:14px;color:#333;white-space:nowrap}
.co-header .co-social{display:flex;gap:14px;font-size:13px}
.co-header .co-social a{display:inline-flex;align-items:center;gap:5px}
.co-header .co-social svg{width:20px;height:20px;flex-shrink:0}
.co-header .co-social-wa{color:#128c46}.co-header .co-social-tg{color:#137dab}
.co-header .co-wholesale{margin-left:auto;padding:12px 16px;background:#fff0f1;color:#b72437;font-size:13px;white-space:nowrap}
.co-header .co-price-label{font-size:12px;color:#555;margin-left:auto}
.co-header .co-brand-row{display:flex;align-items:center;gap:28px;padding:24px 0}
.co-header .co-search{display:flex;flex:1;min-width:100px;position:relative;border:1px solid #ddd;border-radius:7px;background:#fafafa;height:46px;margin:0}
.co-header .co-search input{width:100%;min-width:0;padding:12px 44px 12px 16px;font:14px Arial,sans-serif;border:0;border-radius:7px;background:transparent;color:#333;outline-offset:3px;height:44px}
.co-header .co-search button{position:absolute;right:0;top:0;border:0;background:none;width:44px;height:44px;cursor:pointer;font-size:24px;color:#555;padding:0}
.co-header .co-order{display:inline-block;color:#bf2336;font-size:14px;white-space:nowrap;border-bottom:1px solid #e6a5ae;padding:8px 0}
.co-header .co-account{color:#444;font-size:13px}
.co-menu-toggle{display:none}
.co-unified-nav{position:relative;display:flex;align-items:stretch;gap:3px;border-top:1px solid #eee;padding:0;margin:0;min-height:55px;font:14px/1.45 Arial,sans-serif}
.co-menu-group{position:relative;margin:0;padding:0;border:0}
.co-menu-group summary,.co-unified-nav>.co-menu-direct{display:flex;align-items:center;justify-content:space-between;gap:7px;padding:17px 10px;color:#333;cursor:pointer;font-weight:400;list-style:none;white-space:nowrap;line-height:21px}
.co-menu-group summary::-webkit-details-marker{display:none}
.co-menu-group summary::marker{content:''}
.co-menu-group summary::after{display:none}
.co-menu-arrow{color:#777;transition:transform .15s}
.co-menu-group[open]>summary .co-menu-arrow{transform:rotate(180deg)}
.co-menu-group[open]>summary,.co-menu-group summary:hover,.co-unified-nav>.co-menu-direct:hover{color:#c4253b;background:#fff3f4;border-radius:6px}
.co-menu-panel{position:absolute;top:100%;left:0;z-index:60;width:300px;padding:14px;background:white;border:1px solid #e5e5e5;border-radius:0 0 9px 9px;box-shadow:0 12px 28px #0002;max-height:65vh;overflow:auto;overscroll-behavior:contain}
.co-menu-list,.co-menu-list ul{list-style:none!important;margin:0!important;padding:0!important}
.co-menu-list li{margin:0;padding:0;break-inside:avoid}
.co-menu-panel a{display:block;padding:9px 12px;color:#333;font:14px/1.4 Arial,sans-serif;white-space:normal;border-radius:5px;overflow-wrap:anywhere}
.co-menu-panel a:hover,.co-menu-panel a[aria-current=page]{background:#fff0f2;color:#b51e34}
.co-menu-panel .co-menu-all{font-weight:700;color:#b51e34;margin-bottom:7px}
.co-menu-catalog{position:static}
.co-menu-catalog .co-menu-panel{left:0;right:0;width:100%;max-height:min(70vh,700px)}
.co-menu-catalog .co-menu-list{columns:4;column-gap:24px}
.co-menu-category>a{font-weight:700}
.co-menu-category ul a{padding-left:22px;font-size:13px}
.co-unified-nav>.co-menu-favorites{margin-left:auto}
.co-menu-cart .evoShop_quantity:empty,.co-menu-favorites .wish-list-count:empty{display:none}
.co-header a:focus-visible,.co-header button:focus-visible,.co-header summary:focus-visible{outline:2px solid #b51e34;outline-offset:2px}
@media(max-width:1100px){
 .co-header .co-brand-row{flex-wrap:wrap;gap:16px}.co-header .co-search{order:3;flex-basis:100%}.co-header .co-order{margin-left:auto}
 .co-header .co-price-label.currency{display:none}
 .co-menu-toggle{display:flex;align-items:center;gap:9px;width:100%;padding:13px 0;min-height:46px;color:#333;background:white;border:0;border-top:1px solid #eee;font:16px Arial,sans-serif;text-align:left;cursor:pointer}
 .co-unified-nav{display:block;border-top:0;min-height:0;padding-bottom:12px}
 .co-menu-ready:not(.co-menu-expanded) .co-unified-nav{display:none}
 .co-menu-group summary,.co-unified-nav>.co-menu-direct{padding:13px 10px;border-bottom:1px solid #eee;white-space:normal}
 .co-menu-panel,.co-menu-catalog .co-menu-panel{position:static;width:100%;max-height:none;border:0;box-shadow:none;padding:5px 4px 10px;background:#fafafa}
 .co-menu-catalog .co-menu-list{columns:2}.co-menu-panel a{min-height:44px}
 .co-unified-nav>.co-menu-favorites{margin-left:0}
}
@media(max-width:600px){
 .co-header .co-wrap{width:calc(100% - 32px)}
 .co-header .co-top>.co-wrap{flex-wrap:wrap;gap:10px;padding:9px 0}
 .co-header .co-phone{font-size:12px}.co-header .co-social{font-size:12px;gap:10px;margin-left:auto}
 .co-header .co-social svg{width:18px;height:18px}
 .co-header .co-wholesale{margin-left:0;width:100%;text-align:center;font-size:12px;padding:8px}
 .co-header .co-price-label{display:none}
 .co-header .co-brand-row{padding:17px 0;gap:14px}.co-header .co-order{display:none}
 .co-menu-catalog .co-menu-list{columns:1}
}
@media print{.co-header{display:none!important}}
.co-header{font-size:14px;line-height:1.4}
.co-header .co-phone{font-weight:700}.co-header .co-wholesale{font-weight:600}.co-header .co-order{font-weight:400}
.co-unified-nav>.co-menu-order{display:none}
.co-header .search-result{position:absolute;top:calc(100% + 4px);left:0;right:0;z-index:70;width:100%;max-height:60vh;overflow:auto;background:#fff;border:1px solid #ddd;border-radius:6px;box-shadow:0 8px 20px #0002}
.co-header .search-result.hidden{display:none}
@media(max-width:1100px){.co-unified-nav>.co-menu-order{display:flex}}
/* Старый стиль search__label задаёт left:16px; кнопка новой формы остаётся справа. */
.co-header .co-search button{left:auto;right:0}
/* Подпись, создаваемая исходной темой, не должна перехватывать нажатие на поле. */
.co-header .co-search label:not(.co-sr){pointer-events:none}
