.site-header .site-nav a {
  font-size: 13px;
}

.site-header .site-nav .nav-shop {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 17px;
  border: 1px solid #b38352;
  border-radius: 8px;
  background-color: var(--wine);
  color: var(--paper);
  font-weight: 600;
}

.site-header .site-nav .nav-shop::after {
  content: "";
  position: absolute;
  inset: 3px;
  border: 1px solid rgb(238 200 139 / .32);
  border-radius: 5px;
  pointer-events: none;
}

.site-header .site-nav .nav-shop:hover,
.site-header .site-nav .nav-shop:focus-visible {
  background-color: #843025;
  text-decoration: none;
}

@media (prefers-reduced-motion: no-preference) {
  .site-header .site-nav .nav-shop:not(:hover):not(:focus-visible) {
    animation: shop-button-pulse 4.2s ease-in-out infinite;
  }

  @keyframes shop-button-pulse {
    0%, 57%, 100% {
      background-color: var(--wine);
      border-color: #b38352;
    }
    26% {
      background-color: #91392e;
      border-color: #e1b775;
    }
  }
}

.site-header .header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 100%;
}

.site-header .header-cart {
  position: relative;
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  color: var(--wine);
  text-decoration: none;
}

.site-header .header-cart:hover,
.site-header .header-cart[aria-current="page"] {
  background: #ead9cc;
}

.site-header .cart-badge {
  position: absolute;
  top: -5px;
  inset-inline-end: -5px;
  display: grid;
  place-items: center;
  min-width: 19px;
  height: 19px;
  padding-inline: 4px;
  border: 1px solid var(--paper);
  border-radius: 999px;
  background: var(--wine);
  color: var(--paper);
  font: 700 10px/1 var(--sans);
  font-variant-numeric: tabular-nums;
  pointer-events: none;
}

.site-header .cart-badge[hidden] {
  display: none;
}

@media (max-width: 850px) {
  .site-header .site-nav a { font-size: 16px; }
  .site-header .header-inner { gap: 10px; }
  .site-header .header-actions { gap: 8px; }

  html:not(.scripted) .site-header .header-actions {
    flex: 1 1 100%;
    justify-content: space-between;
  }
}

@media (max-width: 360px) {
  .site-header .header-inner { width: calc(100% - 24px); }
  .site-header .brand img { width: 40px; height: 39px; }
  .site-header .brand-name { font-size: 21px; }
  .site-header .menu-toggle { padding-inline: 9px; }
}
