
/* 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('assets/icon-heart-menu.svg')}
  .site-header #cartBtn .header-svg{content:url('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('assets/icon-store-master.svg');width:18px;height:18px}
  .site-header #businessBtn .header-svg{content:url('assets/icon-business-master.svg');width:18px;height:18px}
  .site-header #favoritesBtn .header-svg{content:url('assets/icon-heart-menu.svg');width:23px;height:23px}
  .site-header #cartBtn .header-svg{content:url('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}
