/* Shared Bitrix header, styled from the approved menu render. */
.choco-store-header{isolation:isolate;position:sticky;top:0;z-index:100;display:flex;flex-wrap:nowrap;align-items:center;gap:clamp(14px,1.3vw,26px);width:100%;max-width:none;height:110px;min-height:110px;margin:0;padding:0 clamp(16px,1.5vw,28px);border:0;border-bottom:1px solid #236aa049;border-radius:0;background:radial-gradient(ellipse at 83% 0,#0a365753,transparent 42%),linear-gradient(95deg,#030a12,#01080f 55%,#03101c);box-shadow:0 6px 24px #0005;color:#e9edf0}
 .choco-store-header::before{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1775 110' preserveAspectRatio='none'%3E%3Cpath d='M180 0C260 120 360 87 810 94S1520 54 1775 101M285 0C420 65 1060 60 1440 16S1680 19 1775 34' fill='none' stroke='%231778b4' stroke-opacity='.55'/%3E%3Cpath d='M193 0C275 112 420 83 830 90S1550 64 1775 103' fill='none' stroke='%232494dc' stroke-opacity='.3' stroke-width='4'/%3E%3C/svg%3E") center/100% 100% no-repeat}
.choco-store-header::after{content:none}
.choco-store-header .choco-store-logo{position:relative;flex:0 0 192px;display:grid;place-items:center;width:192px;height:110px;margin:0;padding:0;overflow:hidden;line-height:0;border-inline:1px solid #cb964145;border-radius:50%;background:radial-gradient(ellipse at 50% 18%,#003e7766,transparent 64%)}
.choco-store-header .choco-store-logo::before{content:'';position:absolute;inset:-18px 30px 24px;border:1px solid #319cff80;border-radius:50%;box-shadow:0 0 11px #148eff85,inset 0 0 11px #148eff55;pointer-events:none}
.choco-store-header .choco-store-logo .choco-brand-picture{position:relative;display:block;width:170px;height:108px;margin-top:0}
.choco-store-header .choco-store-logo .choco-brand-image{display:block;width:100%!important;height:100%!important;aspect-ratio:auto;max-width:none;object-fit:contain;mix-blend-mode:screen}
.choco-store-header .choco-store-nav{position:static;display:flex;flex:1 1 auto;flex-basis:auto;order:0;justify-content:flex-start;align-items:center;gap:clamp(15px,1.45vw,29px);min-width:0;margin:0;padding:0;border:0;border-radius:0;background:none;overflow:visible;font:12px/1.3 Arial,sans-serif}
.choco-store-header .choco-store-nav>a,.choco-store-header .choco-store-catalog>summary{color:#ecebea;font-weight:400;white-space:nowrap;text-decoration:none}
.choco-store-header .choco-store-catalog>summary{padding:36px 0;gap:7px}
.choco-store-header .choco-store-catalog>summary span{color:#dba259}
.choco-store-header .choco-store-nav>a:hover,.choco-store-header .choco-store-catalog[open]>summary{color:#ffd28b}
.choco-store-header .choco-store-actions{flex:0 0 auto;gap:clamp(10px,1vw,18px);margin:0}
.choco-store-header .choco-store-actions>a{display:flex;flex-shrink:0;align-items:center;justify-content:center;gap:7px;height:38px;min-height:38px;width:auto;padding:7px 12px;border-radius:24px;font:12px/1 Arial,sans-serif;text-decoration:none}
.choco-store-header .choco-store-actions svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.choco-store-header .choco-store-actions span{display:inline}
.choco-store-header .choco-store-actions .choco-store-icon{display:flex;width:39px;padding:8px;border-color:#a5793c80;background:#020b15;box-shadow:0 0 12px #0a375a4d}
.choco-store-header .choco-store-search{display:flex;flex:0 1 auto;align-items:center;width:clamp(128px,11vw,205px);height:40px;min-width:0;margin:0;overflow:hidden;border:1px solid #a5793c80;border-radius:24px;background:linear-gradient(135deg,#0c2435,#020a12);box-shadow:inset 0 0 10px #517fa32b,0 0 9px #d4994430}
.choco-store-header .choco-store-search:focus-within{border-color:#f1c482;box-shadow:inset 0 0 12px #517fa33b,0 0 12px #dba45458}
.choco-store-header .choco-store-search input{flex:1 1 auto;width:100%;min-width:0;height:100%;margin:0;padding:0 12px;border:0!important;outline:0;background:transparent!important;box-shadow:none!important;color:#f2e7d5;font:12px/1 Arial,sans-serif}
.choco-store-header .choco-store-search input::placeholder{color:#aebdca;opacity:.9}
.choco-store-header .choco-store-search input:focus-visible{outline:0}
.choco-store-header .choco-store-search button{display:grid;flex:0 0 40px;place-items:center;width:40px;height:100%;margin:0;padding:9px;border:0;background:transparent;color:#f1c482;cursor:pointer}
.choco-store-header .choco-store-search button:hover{color:#ffe0a3}
.choco-store-header .choco-store-search button svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.choco-store-header .choco-store-actions .choco-store-login{border-color:transparent;padding-inline:0;background:none}
.choco-store-header .choco-store-login span{text-decoration:underline;text-underline-offset:3px}
.choco-store-header .choco-store-actions .choco-store-basket{border-color:#b8834380;color:#efc182;background:#020b15}
.choco-store-header .choco-store-actions .choco-store-message{display:flex;min-height:36px;height:36px;gap:7px;padding:6px 11px;border:1px solid #057bbe80;border-radius:19px;color:#eef6ff;background:linear-gradient(#0766b3,#07305b);box-shadow:inset 0 1px #7ccdff47,0 0 13px #076ccd37;font-size:11px;font-weight:400}
.choco-store-header .choco-store-actions .choco-store-message--max{background:linear-gradient(#504bcb,#221b72);border-color:#7b70e257;box-shadow:inset 0 1px #ada9ff51,0 0 12px #6554db42}
.choco-store-header .choco-store-message img{display:block;width:22px;height:22px;object-fit:contain}
.choco-store-phone-details{position:relative;padding-left:13px;border-left:1px solid #ba915946}
.choco-store-header .choco-store-phone{display:flex;align-items:center;gap:9px;min-height:44px;padding:10px 15px;margin:0;border:1px solid #ffe1aa;border-radius:28px;background:linear-gradient(#ffdda1,#eaae60);color:#20170e;box-shadow:0 0 10px #e6a74a78,0 0 28px #dea25024,inset 0 1px #fff0d1;font:600 12px/1 Arial,sans-serif;white-space:nowrap;cursor:pointer;list-style:none}
.choco-store-phone::-webkit-details-marker{display:none}
.choco-store-header .choco-store-phone .choco-store-phone-chevron{width:14px;height:14px}
.choco-store-phone-details[open] .choco-store-phone-chevron{transform:rotate(180deg)}
.choco-store-phone-menu{position:absolute;top:calc(100% + 14px);right:0;width:290px;padding:8px;border:1px solid #c49352;border-radius:12px;background:#05111ff7;box-shadow:0 12px 30px #0009}
.choco-store-header .choco-store-phone-menu a{display:block;height:auto;min-height:40px;margin:0;padding:12px;border:0;border-radius:7px;color:#f0d2a5;background:none;font:12px/1.4 Arial,sans-serif;text-decoration:none}
.choco-store-phone-menu a:hover{background:#21354a}
.choco-store-mobile-contacts{display:none}
.choco-store-header .choco-store-mobile-toggle{display:none}
.choco-store-header a:focus-visible,.choco-store-header summary:focus-visible,.choco-store-header button:focus-visible{outline:2px solid #ffc875;outline-offset:4px}
@media(max-width:1650px) and (min-width:1481px){
  .choco-store-header{gap:14px;padding-inline:18px}
  .choco-store-header .choco-store-logo{flex-basis:170px;width:170px}
  .choco-store-header .choco-store-nav{gap:15px;font-size:11px}
  .choco-store-header .choco-store-actions{gap:9px}
  .choco-store-header .choco-store-actions>a{padding-inline:9px}
  .choco-store-header .choco-store-phone{padding-inline:12px;font-size:11px}
  .choco-store-phone-details{padding-left:9px}
}
@media(max-width:1480px){
  .choco-store-header{height:92px;min-height:92px;gap:18px}
  .choco-store-header .choco-store-logo{height:92px;flex-basis:158px;width:158px}
  .choco-store-header .choco-store-logo .choco-brand-picture,.choco-store-header .choco-store-logo .choco-brand-image{width:142px;height:90px}
  .choco-store-header .choco-store-mobile-toggle{display:block;flex:0 0 38px;width:38px;height:38px;margin-left:auto;border:1px solid #ae81478c;border-radius:50%;background:#03101c;color:#edc180;font:22px Arial,sans-serif;cursor:pointer}
  .choco-store-header .choco-store-nav{display:none;position:absolute;inset:100% 16px auto;max-height:calc(100dvh - 104px);overflow:auto;padding:14px 20px;border:1px solid #3476a99e;border-radius:12px;background:#03101bf7;box-shadow:0 18px 36px #0008}
  .choco-store-header .choco-store-nav.is-open{display:flex;align-items:stretch;flex-direction:column;gap:0}
  .choco-store-header .choco-store-nav>a,.choco-store-header .choco-store-catalog>summary{padding:13px 0;font-size:14px}
  .choco-store-header .choco-megamenu{position:static;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));max-height:none;margin-block:10px;padding:0;border:0;box-shadow:none;background:none}
  .choco-store-header .choco-store-mobile-contacts{display:flex;flex-wrap:wrap;gap:10px;padding:14px 0 4px;margin-top:10px;border-top:1px solid #d6a76d38}
  .choco-store-mobile-contacts a{display:flex;align-items:center;gap:7px;padding:10px 12px;border:1px solid #387caf80;border-radius:20px;color:#f1d3a4;font:12px Arial,sans-serif}
  .choco-store-mobile-contacts img{width:20px;height:20px}
}
@media(max-width:1100px){
  .choco-store-header .choco-store-actions .choco-store-message{display:none}
  .choco-store-header .choco-store-phone-details{display:block}
}
@media(max-width:780px){.choco-store-header .choco-store-phone-details{display:none}}
@media(max-width:620px){
  .choco-store-header{min-height:80px;height:80px;padding-inline:12px;gap:8px}
  .choco-store-header .choco-store-logo{width:124px;flex-basis:124px;height:80px}
  .choco-store-header .choco-store-logo .choco-brand-picture,.choco-store-header .choco-store-logo .choco-brand-image{width:120px;height:78px}
  .choco-store-header .choco-store-mobile-toggle{flex-basis:32px;width:32px;height:32px;font-size:19px}
  .choco-store-header .choco-store-actions{gap:5px}
  .choco-store-header .choco-store-actions>a{height:32px;min-height:32px;width:32px;padding:5px}
  .choco-store-header .choco-store-actions .choco-store-icon{width:32px;padding:6px}
  .choco-store-header .choco-store-actions .choco-store-login{padding:5px}
  .choco-store-header .choco-store-actions span{display:none}
  .choco-store-header .choco-store-phone-details{display:none}
  .choco-store-header .choco-store-nav{inset:100% 10px auto;max-height:calc(100dvh - 92px);padding:12px 16px}
}
@media(prefers-reduced-motion:reduce){.choco-store-header *{scroll-behavior:auto;transition:none}}
@media(max-width:620px){.choco-store-header .choco-store-search{width:clamp(104px,29vw,138px);height:34px}.choco-store-header .choco-store-search input{padding-inline:8px;font-size:11px}.choco-store-header .choco-store-search button{flex-basis:32px;width:32px;padding:6px}.choco-store-header .choco-store-search button svg{width:19px;height:19px}}
.choco-store-basket{position:relative}
.choco-store-basket .choco-store-basket-count{position:absolute;top:-8px;right:-6px;display:grid;place-items:center;min-width:19px;height:19px;padding:0 4px;border:1px solid #fbd496;border-radius:50%;background:linear-gradient(135deg,#ffe2a6,#dfa04a);color:#21170a;font:700 11px/1 Arial,sans-serif;box-shadow:0 0 10px #ebb95d55}
