<style>
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap');
</style>

:root {
  color-scheme: light;

  /* Default UI is intentionally monochrome: black text with gray variants only. */
  --bg: #ffffff;
  --card: #ffffff;
  --text: #0d070e;
  --muted: #767776;
  --subtle: #3b3c3b;
  --line: #eceeed;
  --line-strong: #eceeed;
  --surface: #eeeeee;
  --surface-strong: #dedede;
  --button-bg: #321c36;
  --button-bg-hover: #655568;
  --button-text: #ffffff;
  --radius: 6px;
}

* { box-sizing: border-box; }

html {
  font-family: Outfit, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
  margin: 0;
  background: #fff;
  color: var(--text);
  letter-spacing:0.05rem;
}

body,
button,
input,
select,
textarea {
  font-family: inherit;
}

a {
  color: var(--text);
  text-decoration-color: var(--subtle);
  text-underline-offset: 0.16em;
}

a:hover,
a:focus-visible {
  color: #000000;
  text-decoration-color: #000000;
}

:focus-visible {
  outline: 2px solid #555555;
  outline-offset: 3px;
}

.wrap {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 30px;
}

.site-header {
  margin-bottom: 28px;
}

.eyebrow {
  margin: 0 0 8px;
  text-transform: uppercase;
  font-size: .78rem;
  color: var(--muted);
  font-weight: 700;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.05;
}

.summary {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 720px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 22px;
}

.product-card {
  background: var(--card);
  border: 1px solid #eceeed;
  border-radius: 6px;
  overflow: hidden;
}

.product-image-link {
  display: block;
  background: var(--surface);
  aspect-ratio: 1 / 1;
}

.product-image-link:hover,
.product-image-link:focus-visible {
  background: var(--surface-strong);
}

.product-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-card-body {
  padding: 18px;
}

.product-card h2 {
  margin: 4px 0 8px;
  font-size: 1.1rem;
  line-height: 1.25;
  letter-spacing:0.05rem;
}

.product-card h2 a {
  color: var(--text);
  text-decoration: none;
}

.product-card h2 a:hover,
.product-card h2 a:focus-visible {
  text-decoration: underline;
  text-decoration-color: var(--text);
}

.meta,
.price {
  margin: 6px 0;
  color: var(--muted);
}

.price {
  color: var(--text);
  font-weight: 700;
}

.status {
  display: inline-flex;
  margin: 0 0 8px;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
}

.status-active,
.status-preorder,
.status-retired,
.status-discontinued,
.status-unavailable,
.status-unknown {
  background: var(--surface);
  color: var(--muted);
  border-color: var(--line);
}

.terms {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 12px 0;
}

.terms span,
.terms a {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 6px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: .74rem;
  text-decoration: none;
}

.terms a:hover,
.terms a:focus-visible {
  color: var(--text);
  border-color: var(--line-strong);
  text-decoration: underline;
  text-decoration-color: var(--subtle);
}

.button,
button,
input[type="submit"],
input[type="button"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
  padding: 10px 14px;
  border-radius: 6px;
  border: 1px solid #321c36;
  background: #321c36;
  color: var(--button-text) !important;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
}

.button:hover,
.button:focus-visible,
button:hover,
button:focus-visible,
input[type="submit"]:hover,
input[type="submit"]:focus-visible,
input[type="button"]:hover,
input[type="button"]:focus-visible {
  background: #321c36;
  border-color: #321c36;
  color: #fff;
  text-decoration: none;
}

.empty-state {
  padding: 28px;
  background: #fff;
  border: 1px solid #eceeed;
  border-radius: 6px;
}

.empty-state h2 {
  margin-top: 0;
}



.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 10px;
  border-radius: 6px;
  background: var(--surface);
  border: 1px solid #616063;
  color: #616063;
  font-size: .86rem;
}

.filter-pill strong {
  color: var(--text);
  font-weight: 700;
}

.fallback-section {
  margin-top: 28px;
}

.fallback-heading {
  margin: 0 0 16px;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
}

.product-grid-suggestions {
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
}

/* Linked product tags: keep pill styling even after tags became anchors. */
.product-card .terms {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 12px 0;
}

.product-card .terms > a,
.product-card .terms > span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: .74rem;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}

.product-card .terms > a:hover,
.product-card .terms > a:focus-visible {
  background: var(--surface-strong);
  border-color: var(--line-strong);
  color: var(--text);
  text-decoration: none;
}

/* Keep the Shop button pinned to the bottom of each product card. */
.product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card .button {
  margin-top: auto;
  align-self: flex-start;
}

/* Stronger card layout: keep the Shop/View button at the bottom of the product card. */
.product-grid {
  align-items: stretch !important;
}

.product-grid > .product-card {
  align-self: stretch !important;
  height: 100% !important;
  min-height: 100% !important;
}

.product-card {
  display: flex !important;
  flex-direction: column !important;
}

.product-card > .product-image-link {
  flex: 0 0 auto;
}

.product-card > .product-card-body {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  min-height: 0;
}

.product-card > .product-card-body > .button:last-child {
  margin-top: auto !important;
  align-self: flex-start;
}

/* Final flex-card cleanup: keep status pill compact while Shop button stays at bottom. */
.product-card > .product-card-body > .status {
  display: inline-flex !important;
  align-items: center;
  align-self: flex-start !important;
  width: auto !important;
  max-width: max-content !important;
  flex: 0 0 auto !important;
}

.product-card > .product-card-body > h2,
.product-card > .product-card-body > .meta,
.product-card > .product-card-body > .price,
.product-card > .product-card-body > .terms {
  align-self: stretch;
}

.product-card > .product-card-body > .terms > a,
.product-card > .product-card-body > .terms > span {
  width: auto !important;
  max-width: max-content !important;
  flex: 0 0 auto;
}

.product-card > .product-card-body > .button:last-child {
  margin-top: auto !important;
  align-self: flex-start !important;
  width: auto !important;
  max-width: max-content !important;
  flex: 0 0 auto !important;
}

/* Shopping-list actions: details link + add/remove button pinned to card bottom. */
.product-card > .product-card-body > .product-actions {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: auto !important;
  padding-top: 12px;
  align-self: stretch;
}

.product-card > .product-card-body > .product-actions > .button,
.product-card > .product-card-body > .product-actions > button {
  margin-top: 0 !important;
  flex: 0 0 auto !important;
  width: auto !important;
  max-width: max-content !important;
}
.button.button-details, .button.button-shopping-list {  display: block;
  width: 100%;
  flex: 0 0 100%; }

.button.button-details {
  padding: 10px 20px;
  border: 2px solid #767776;
  background: #fff;
  color: #767776 !important;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing:0rem;
  text-transform: uppercase;
}

.button.button-details:hover,
.button.button-details:focus-visible {
  border-color: #767776;
  background: #767776;
  color: #fff !important;
}

.button.button-shopping-list {
  padding: 10px 20px;
  text-transform: uppercase;
  border: 2px solid #0d070e;
  background: #fff;
  color: #0d070e !important;
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing:0rem;
}

.button.button-shopping-list:hover,
.button.button-shopping-list:focus-visible {
  border-color: #0d070e;
  background: #0d070e;
  color: #fff !important;
}
.button.button-shopping-list.is-selected {
  border: 2px solid #0d070e;
  background: #fff;
  color: #0d070e !important;
}

/* Override older single-button rule now that cards have an action group. */
.product-card > .product-card-body > .button:last-child {
  margin-top: 10px !important;
}

/* Bottom shopping-list drawer. */
.shopping-list-drawer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  display: flex;
  justify-content: center;
  padding: 0 16px 16px;
  pointer-events: none;
  transform: translateY(115%);
  transition: transform .24s ease-out;
}

.shopping-list-drawer.is-visible {
  pointer-events: auto;
  transform: translateY(0);
}

.shopping-list-drawer-inner {
  width: min(680px, 100%);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 14px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid #c8cbcb;
  border-radius: 6px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 16px 48px rgba(0, 0, 0, .18);
  backdrop-filter: blur(8px);
}

.shopping-list-drawer-summary {
  color: var(--text);
  font-size: 1.2rem;
}

.button.button-cart {
  grid-row: span 2;
  margin-top: 0;
  border: 2px solid #fff;
  outline: 2px solid #a65568;
  outline-offset: 2px;
  padding: 10px 15px;
  background: #a65568;
  color: #ffffff !important;
  white-space: nowrap;
  letter-spacing: 0px;
  font-weight: 900;
  text-transform: uppercase;
}

.button.button-cart:hover,
.button.button-cart:focus-visible {
  border-color: #a65568;
  border: 2px solid #fff;
  background: #e9d4d9;
  color: #a65568 !important;
  outline: 2px solid #bc808e;
  outline-offset: 2px;
}

.shopping-list-note {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 0.9rem;
}

@media (max-width: 640px) {
  .shopping-list-drawer-inner {
    grid-template-columns: 1fr;
  }

  .button.button-cart {
    grid-row: auto;
    justify-self: start;
  }
}
