/* Saved coffees use the field guide's existing linen, ink and green palette. */
.favourite-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;padding:9px 13px;border:1px solid var(--line,#d6d6ca);border-radius:24px;background:var(--white,#faf9f5);color:var(--ink,#232b26);font:500 14px/1.4 'DM Sans',sans-serif;cursor:pointer;white-space:nowrap}
.favourite-button svg{fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.favourite-button[aria-pressed=true]{color:var(--accent,#4e634f);border-color:var(--accent,#4e634f);background:#edf0e8}.favourite-button[aria-pressed=true] svg{fill:currentColor}
.favourite-button:hover{border-color:var(--accent,#4e634f)}.favourite-button:focus-visible,.favourites-retry:focus-visible{outline:2px solid var(--ochre,#b75a35);outline-offset:3px}
.has-favourite{position:relative}.has-favourite>.favourite-button{position:absolute;right:12px;top:12px;z-index:2;box-shadow:0 2px 8px #232b2610}
.has-favourite:not(:has(img)){padding-top:66px!important}.favourite-wrapper>.tile{height:100%;box-sizing:border-box}.favourite-wrapper:not(:has(img))>.tile{padding-top:60px}
.favourite-wrapper:not(:has(img)){padding-top:0!important}.coffee-row.has-favourite{padding-top:66px!important}
[data-coffee-favourite]{margin:-12px 0 26px}.favourites-nav-count{display:inline-grid;place-items:center;min-width:21px;height:21px;margin-left:5px;padding:0 4px;box-sizing:border-box;border-radius:50px;background:#e5eadf;color:#354b36;font-size:12px}
.favourites-status{position:fixed;left:50%;bottom:22px;transform:translateX(-50%);max-width:calc(100vw - 40px);width:max-content;box-sizing:border-box;z-index:300;background:var(--ink,#232b26);color:#faf9f5;border-radius:6px;box-shadow:0 4px 20px #0002;padding:12px 18px;font:15px/1.5 'DM Sans',sans-serif;pointer-events:none}.favourites-status:empty{display:none}
.favourites-intro{max-width:780px}.favourites-note{font-size:15px;color:var(--muted,#76786d);max-width:720px}.favourites-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin-top:24px}.favourite-card{min-width:0;border:1px solid var(--line,#d6d6ca);background:var(--white,#faf9f5);display:flex;flex-direction:column}.favourite-image{display:grid;place-items:center;height:240px;background:#edeae1}.favourite-image img{width:100%;height:100%;object-fit:contain}.favourite-image img.is-fallback{width:65px;height:65px}.favourite-card-body{padding:24px;display:flex;flex-direction:column;align-items:flex-start;flex:1}.favourite-card h2{font-size:32px;overflow-wrap:anywhere;margin:10px 0 14px}.favourite-card h2 a{text-decoration:none}.favourite-card h2 a:hover{text-decoration:underline}.favourite-card p{font-size:16px;margin:0 0 14px}.favourite-card .favourite-roaster{font:12px/1.5 'DM Mono',monospace;text-transform:uppercase;letter-spacing:.06em;color:var(--accent,#4e634f)}.favourite-card .favourite-availability{font-size:14px;color:var(--muted,#76786d)}.favourite-card .favourite-button{margin-top:auto}.favourites-retry{padding:8px 14px;min-height:44px;background:transparent;border:1px solid var(--line,#d6d6ca);border-radius:24px;font:inherit;cursor:pointer}#favourites-state{margin:30px 0 0}#favourites-state h2{font-size:36px}
@media(max-width:1000px){.favourites-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.favourites-grid{grid-template-columns:1fr}.favourite-image{height:240px}.has-favourite>.favourite-button{right:8px;top:8px}.favourites-status{bottom:12px;font-size:14px}.favourite-card-body{padding:22px}}
.favourite-image{overflow:hidden;flex-shrink:0}.favourite-image img{max-height:240px;min-height:0;min-width:0}.favourite-image img.is-fallback{max-height:65px}
.teaser-tile.has-favourite{padding-top:62px!important}

.field-guide-image {
  position: relative;
}

.field-guide-image:has(> .field-guide-stamp) {
  overflow: visible;
}

.coffee-stamp-frame {
  --coffee-photo-height: 420px;
  --stamp-right: clamp(-34px, -3vw, -16px);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: var(--coffee-photo-height);
  border: 1px solid var(--line);
  background: var(--white);
}

.coffee-stamp-frame > .field-guide-image {
  display: grid;
  min-width: 0;
  max-width: 100%;
}

.coffee-stamp-frame .coffee-image {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: var(--coffee-photo-height);
  border: 0;
}

@media (max-width: 700px) {
  .coffee-stamp-frame {
    --coffee-photo-height: 320px;
  }
}

.field-guide-image > .field-guide-stamp {
  position: absolute;
  z-index: 1;
  right: 8px;
  bottom: 8px;
  width: min(clamp(125px, 16.25vw, 165px), 85%);
}

.coffee-profile-image > .field-guide-stamp {
  top: -9px;
  right: var(--stamp-right, -16px);
  bottom: auto;
}

@media (max-width: 700px) {
  .product-image > .field-guide-stamp {
    width: min(104px, 85%);
  }
}

@media (min-width: 701px) {
  .teaser-product-image > .field-guide-stamp {
    width: min(76px, 85%);
  }
}

.coffee-profile-title {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 24px);
}

.coffee-profile-title > span:first-child {
  min-width: 0;
  overflow-wrap: anywhere;
}

.coffee-title-badge {
  flex: 0 0 clamp(70px, 8vw, 94px);
}

.coffee-title-badge > .field-guide-stamp {
  position: relative;
  display: block;
  width: 100%;
}

.field-guide-image > .field-guide-stamp,
.coffee-title-badge > .field-guide-stamp {
  aspect-ratio: 1;
  box-sizing: border-box;
  border: 3px double currentColor;
  border-radius: 50% 48% 50% 47%;
  background: #f5efe0 url('/assets/field-guide-favourite-stamp.svg') center / 100% 100% no-repeat;
  color: #873e29;
  transform: rotate(11deg);
  pointer-events: none;
}

.field-guide-stamp > span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

.field-guide-stamp::before {
  content: '';
  position: absolute;
  inset: 4px;
  border: 1px dashed currentColor;
  border-radius: 48% 51% 48% 50%;
  opacity: .72;
}

.coffee-title-badge > .field-guide-stamp {
  border-width: 2px;
}

.coffee-title-badge > .field-guide-stamp::before {
  inset: 2px;
}

.field-guide-note p {
  white-space: pre-line;
}

.field-guide-recommendation {
  color: #873e29;
  font-weight: 700;
}


.favourites-account{margin:24px 0;padding:20px;border:1px solid var(--line,#d6d6ca);background:var(--white,#faf9f5);border-radius:8px}.favourites-account p{font-size:16px;line-height:1.6;margin:0 0 12px}.favourites-account p:last-child{margin-bottom:0}.favourites-account a{display:inline-block;color:inherit;text-decoration:none}.favourite-button:disabled,.favourites-retry:disabled{opacity:.55;cursor:wait}
