/* Shop page v2: a plum band with the six jars, then each flavour on its own label colour. */
.shop-page .nav { color: var(--ivory); }
.shop-page .nav.on-light { color: var(--cocoa); }
.nav nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--brass); }

.shop-hero {
  --field: #45163F;
  --ly: 70%;
  position: relative;
  color: var(--ivory);
  padding: 120px var(--gutter) 0;
  min-height: 78svh;
  display: grid;
  align-content: start;
  overflow: hidden;
}
.shop-hero-copy { position: relative; z-index: 2; display: grid; justify-items: center; text-align: center; gap: 14px; }
.shop-hero h1 { font: 500 clamp(56px, 15vw, 128px)/.95 var(--serif); letter-spacing: -.01em; }
.shop-hero-copy > p:last-child { max-width: 36ch; opacity: .9; }
.shop-lineup {
  position: relative;
  left: auto; right: auto; top: auto;
  transform: none;
  margin: 34px auto -6px;
  width: min(100%, 760px);
  height: 34svh;
  --jw: calc(34svh * 555 / 1194);
}

.shop-list { padding: 40px var(--gutter) 90px; max-width: 1280px; margin: 0 auto; }
.shop-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-bottom: 18px;
  margin-bottom: 26px;
  border-bottom: 1px solid rgba(42, 22, 18, .14);
  font-size: 15px;
  color: var(--cocoa-soft);
}
.sort { display: flex; align-items: center; gap: 10px; }
.sort select {
  font: 500 15px var(--sans);
  color: var(--cocoa);
  background: transparent;
  border: 1px solid rgba(42, 22, 18, .22);
  border-radius: 999px;
  padding: 9px 34px 9px 14px;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--cocoa) 50%), linear-gradient(135deg, var(--cocoa) 50%, transparent 50%);
  background-position: calc(100% - 18px) 55%, calc(100% - 13px) 55%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
}

.shop-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 14px; }
.shop-tile { display: grid; gap: 12px; align-content: start; }
.shop-tile .tile-field { position: relative; }
.shop-tile .tile-field img { height: 84%; }
.badge {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 2;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(244, 239, 231, .92);
  color: var(--cocoa);
}
.shop-tile.sold-out .tile-field img { opacity: .55; filter: grayscale(.3) drop-shadow(0 18px 16px rgba(12, 4, 3, .3)); }
.shop-tile h2 { font: 500 22px/1.15 var(--serif); }
.shop-tile .blurb { display: none; color: var(--cocoa-soft); font-size: 15px; }
.shop-prices { font-size: 14px; color: var(--cocoa-soft); }
.shop-prices b { font: 600 18px/1 var(--serif); color: var(--cocoa); }
.shop-tile .btn { min-height: 44px; padding: 0 18px; font-size: 14px; justify-self: start; }
.shop-tile .btn:disabled { opacity: .45; cursor: not-allowed; }

/* ---------- Quick add sheet ---------- */
.sheet { position: fixed; inset: 0; z-index: 80; display: grid; align-items: end; }
.sheet[hidden] { display: none; }
.sheet-backdrop { position: absolute; inset: 0; background: rgba(20, 8, 6, .5); animation: fade .3s; }
@keyframes fade { from { opacity: 0; } }
.sheet-panel {
  position: relative;
  background: var(--ivory);
  color: var(--cocoa);
  border-radius: 26px 26px 0 0;
  padding: 26px var(--gutter) max(26px, env(safe-area-inset-bottom));
  max-height: 92svh;
  overflow: auto;
  animation: up .4s var(--ease);
}
@keyframes up { from { transform: translateY(40px); opacity: 0; } }
.sheet-close {
  position: absolute;
  right: 14px;
  top: 12px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 0;
  background: rgba(42, 22, 18, .07);
  font-size: 22px;
  color: var(--cocoa);
  cursor: pointer;
}
.sheet-head { display: grid; grid-template-columns: 76px 1fr; gap: 16px; align-items: center; padding-right: 40px; }
.sheet-thumb { position: relative; display: block; height: 96px; border-radius: 16px; overflow: hidden; }
.sheet-thumb img { position: absolute; left: 50%; bottom: 6%; height: 86%; transform: translateX(-50%); }
.sheet-head h2 { font: 500 28px/1.05 var(--serif); }
.sheet-head .pdp-price { margin-top: 6px; font-size: 26px; }
.sheet-more { display: inline-block; margin-top: 14px; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }

@media (min-width: 700px) {
  .shop-grid { grid-template-columns: repeat(3, 1fr); gap: 44px 26px; }
  .shop-tile h2 { font-size: 28px; }
  .shop-tile .blurb { display: block; }
  .shop-tile .btn { min-height: 48px; padding: 0 24px; font-size: 15px; }
}
@media (min-width: 900px) {
  .shop-hero { padding-top: 140px; min-height: 86vh; }
  .shop-lineup { height: 44vh; --jw: calc(44vh * 555 / 1194); }
  .sheet { align-items: center; justify-items: center; }
  .sheet-panel { width: min(480px, 92vw); border-radius: 26px; padding: 30px; }
}
