body {
  background: #f7f6f2;
  color: #1c1c1a;
  font-feature-settings:
    "liga" 1,
    "kern" 1;
}

::selection {
  background: rgba(77, 95, 74, 0.18);
}

a,
button,
input,
select,
textarea {
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    opacity 160ms ease;
}

.site-mark {
  color: #334d30;
  font-family: inherit;
  font-size: clamp(2.05rem, 3.8vw, 3.35rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 0.95;
  position: relative;
}

.site-mark::after {
  background: #4d5f4a;
  content: "";
  display: block;
  height: 2px;
  margin-top: 0.55rem;
  width: 2.75rem;
}

.nav-link {
  border-bottom: 1px solid transparent;
  color: rgba(28, 28, 26, 0.68);
  padding-bottom: 0.25rem;
}

.nav-link:hover,
.nav-link-active {
  border-color: rgba(28, 28, 26, 0.85);
  color: #1c1c1a;
}

input,
select,
textarea {
  background-color: #ffffff;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(28, 28, 26, 0.55);
  outline: none;
}

.catalog-band {
  border-bottom: 1px solid rgba(28, 28, 26, 0.12);
}

.favourite-shop-rail,
.shop-detail-rail,
.filter-rail {
  align-self: start;
}

.filter-drawer summary::-webkit-details-marker {
  display: none;
}

.filter-drawer[open] summary span:last-child {
  transform: rotate(45deg);
}

.filter-apply-button {
  color: #2f647f;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.25rem 0;
  text-transform: uppercase;
}

.filter-apply-button:hover {
  color: #224d63;
}

.detail-primary-action {
  color: #6d5a83;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.detail-primary-action:hover {
  color: #57466f;
}

.detail-secondary-action {
  color: #7b624f;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.detail-secondary-action:hover {
  color: #604a3b;
}

@media (min-width: 1024px) {
  .favourite-shop-rail,
  .shop-detail-rail,
  .filter-rail {
    position: sticky;
    top: 1.5rem;
  }
}

.listing-card {
  background: transparent;
}

.listing-results-toolbar {
  background: #f7f6f2;
  margin-left: -0.25rem;
  margin-right: -0.25rem;
  padding-left: 0.25rem;
  padding-right: 0.25rem;
  position: sticky;
  top: 0;
  z-index: 20;
}

.favourite-shops-toolbar {
  background: #f7f6f2;
}

.listing-toolbar-reset {
  color: #9a5a52;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.listing-toolbar-reset:hover {
  color: #7f3f37;
}

.listing-sold-out-label {
  color: #9a5a52;
}

@media (min-width: 1024px) {
  .listing-results-toolbar {
    top: 1.5rem;
  }

  .listing-results-toolbar::before {
    background: #f7f6f2;
    content: "";
    height: 1.5rem;
    left: 0;
    pointer-events: none;
    position: absolute;
    right: 0;
    top: -1.5rem;
  }
}

.listing-card:hover {
  color: #4d5f4a;
}

.item-title {
  font-weight: 600;
  letter-spacing: -0.01em;
}

.item-title-card {
  font-size: 1.125rem;
  line-height: 1.375;
}

.item-title-detail {
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.05;
}

.film-frame {
  box-sizing: border-box;
}

.film-frame img {
  transition:
    opacity 180ms ease,
    transform 260ms ease;
}

.listing-thumb {
  align-items: center;
  display: flex;
  justify-content: center;
}

.listing-thumb img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.listing-card:hover img {
  opacity: 0.94;
  transform: scale(1.01);
}

.listing-card-date {
  flex: 0 0 6.25rem;
}

.listing-card-since {
  font-size: 0.72rem;
  line-height: 1.25rem;
}

.source-kicker {
  align-items: center;
  color: rgba(28, 28, 26, 0.48);
  display: flex;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

@media (min-width: 1024px) {
  .shop-card-summary {
    min-height: 5.25rem;
  }
}

.favourite-icon-button {
  align-items: center;
  color: rgba(28, 28, 26, 0.55);
  display: inline-flex;
  height: 1.6rem;
  justify-content: center;
  padding: 0;
  width: 1.6rem;
}

.favourite-icon-button:hover {
  color: #4d5f4a;
}

.favourite-icon {
  display: block;
  fill: transparent;
  height: 1.12rem;
  stroke: currentColor;
  stroke-linejoin: round;
  stroke-width: 1.9;
  width: 1.12rem;
}

.favourite-icon-button[data-favourited="true"] {
  color: #8a4a3a;
}

.favourite-icon-button[data-favourited="true"] .favourite-icon {
  fill: currentColor;
}

.provenance-row {
  border-bottom: 1px solid rgba(28, 28, 26, 0.09);
  border-top: 1px solid rgba(28, 28, 26, 0.09);
  padding: 0.55rem 0;
}

.button-primary {
  background: #1c1c1a;
  color: #ffffff;
  font-weight: 600;
}

.button-secondary {
  background: #ffffff;
  border-color: rgba(28, 28, 26, 0.16);
  color: #1c1c1a;
}

availability-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 9999px;
  padding: 0.3rem 0;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

availability-pill[data-state="available"] {
  color: #4d5f4a;
}

availability-pill[data-state="unknown"] {
  color: #7b6a3a;
}

availability-pill[data-state="sold_out"],
availability-pill[data-state="removed"] {
  color: #8a4a3a;
}

availability-pill[data-state="shipping"],
availability-pill[data-state="local"] {
  color: #5a6c78;
}
