.menu-toggle{display:none}
@media(min-width:701px){
  html,body{overflow-x:clip}
  html{scroll-padding-top:120px}
  body{display:flow-root;background:linear-gradient(var(--lime),var(--lime)) top / 100% 154px no-repeat}
  .header{position:sticky;top:16px;z-index:20;display:grid;grid-template-columns:1fr auto 1fr;grid-template-areas:"logo nav basket";gap:24px;width:calc(100% - 64px);max-width:1440px;height:84px;margin:16px auto;padding:12px 24px;background:var(--lime);color:var(--ink);border:1px solid #35162330;border-radius:20px;box-shadow:0 3px 0 #3516230d}
  .header .wordmark{min-height:48px}
  .header .wordmark img{width:112px;height:auto}
  .header nav{display:grid;grid-template-columns:repeat(3,1fr);align-items:stretch;justify-self:center;gap:0;background:var(--ink);border-radius:12px;padding:4px}
  .header nav a{position:relative;display:flex;align-items:center;justify-content:center;min-height:42px;min-width:104px;padding:10px 18px;border:0;border-radius:8px;background:transparent;color:var(--paper);box-shadow:none;font-size:14px;font-weight:600;transition:background .15s,color .15s}
  .header nav a+a:before{content:"";position:absolute;left:-1px;height:18px;width:1px;background:#fffaf333}
  .header nav a:hover:before,.header nav a:hover+a:before{opacity:0}
  .header nav a:hover,.header nav a:focus-visible{background:var(--pink);color:var(--ink)}
  .header nav a:active{background:var(--pink);color:var(--ink)}
  .header .basket-button{min-height:50px;padding:8px 12px;gap:10px;background:var(--pink);color:var(--ink);border:0;border-radius:12px;font-size:14px;font-weight:600}
  .header .basket-button:hover{background:#eba8c6}
  .header .basket-button span{min-width:28px;height:28px;background:var(--ink);color:var(--paper);border-radius:8px;font-size:12px}
  .header .cart-basket-icon{width:30px;height:30px}
}
@media(min-width:701px) and (max-width:900px){
  body{background-size:100% 146px}
  .header{width:calc(100% - 32px);padding:10px 16px;gap:14px;height:76px}
  .header .wordmark img{width:92px}
  .header nav{gap:0}
  .header nav a{min-width:80px;padding:10px 12px;font-size:13px}
}
@media(max-width:700px){
  html,body{overflow-x:clip}
  html{scroll-padding-top:100px}
  body{display:flow-root;background:linear-gradient(var(--lime),var(--lime)) top / 100% 86px no-repeat}
  .header{position:sticky;top:10px;z-index:20;margin:10px 12px;padding:10px 12px;min-height:66px;height:auto;grid-template-columns:1fr auto auto;grid-template-rows:auto;grid-template-areas:"logo basket menu";gap:8px;background:var(--lime);color:var(--ink);border:1px solid #35162330;border-radius:18px;box-shadow:0 3px 0 #3516230d}
  .header .wordmark{width:78px;min-width:0;min-height:44px}
  .header .wordmark img{width:78px;height:auto}
  .header .basket-button{min-height:44px;padding:6px 9px;gap:5px;border:0;border-radius:10px;background:var(--pink);color:var(--ink);font-size:0}
  .header .basket-button .cart-basket-icon{width:27px;height:27px}
  .header .basket-button span{min-width:23px;height:23px;font-size:12px;background:transparent;color:var(--ink)}
  .header .menu-toggle{grid-area:menu;min-width:96px;display:flex;align-items:center;justify-content:center;gap:9px;min-height:44px;padding:0 12px;border-radius:10px;background:var(--ink);color:var(--paper);font-size:12px;font-weight:600}
  .menu-lines{position:relative;width:16px;height:12px;border-top:2px solid currentColor;border-bottom:2px solid currentColor}
  .menu-toggle[aria-expanded="true"] .menu-lines{border:0}
  .menu-toggle[aria-expanded="true"] .menu-lines:before,.menu-toggle[aria-expanded="true"] .menu-lines:after{content:"";position:absolute;left:0;top:5px;width:16px;height:2px;background:currentColor;transform:rotate(45deg)}
  .menu-toggle[aria-expanded="true"] .menu-lines:after{transform:rotate(-45deg)}
  .header nav{display:none}
  .header.menu-open{grid-template-areas:"logo basket menu" "nav nav nav"}
  .header.menu-open nav{display:flex;flex-direction:column;gap:0;padding:4px;border:0;border-radius:12px;background:var(--ink);margin-top:4px}
  .header nav a{display:flex;align-items:center;justify-content:space-between;min-height:58px;padding:12px 16px;font-size:22px;font-weight:600;letter-spacing:-.035em;border:0;border-bottom:1px solid #fffaf32b;border-radius:0;box-shadow:none;background:transparent;color:var(--paper)}
  .header nav a:after{content:"↗";font-size:20px;font-weight:400}
  .header nav a:last-child{border-bottom:0}
  .header nav a:hover{background:var(--pink);color:var(--ink)}
  .header nav a:active{background:var(--pink);color:var(--ink)}
}
