/* The basket occupies the top flag stripe, above the language and recipe controls. */
.header .header-basket {
  position: absolute;
  top: 2px;
  right: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3em;
  min-height: 30px;
  padding: 2px 10px;
  border: 1px solid #be8e29;
  border-radius: 20px;
  background: #ffe6a3;
  color: #173e2e;
  font: 700 0.875rem/1.25 'DM Sans','Noto Sans Thai',sans-serif;
  text-decoration: none;
  white-space: nowrap;
}
.header .header-basket[hidden] { display: none; }
.header .header-basket:hover { background: #ffda79; }
.header .header-basket:focus-visible { outline: 3px solid #173e2e; outline-offset: 1px; }
@media (max-width: 950px) {
  .header .header-basket {
    position: static;
    grid-area: 1 / 2 / 2 / 4;
    align-self: center;
    justify-self: end;
    margin-inline-end: var(--recipes-pan-right, 0px);
  }
}
