@font-face {
  font-family: "Manrope";
  src: url("/shop-assets/manrope.a30ddcd34970.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --blue: #0433ff;
  --blue-dark: #0026d6;
  --coral: #f26762;
  --ink: #111219;
  --muted: #575963;
  --line: #d8d9de;
  --soft: #f7f7f4;
  --white: #ffffff;
  --content: 72rem;
}

* {
  box-sizing: border-box;
}

html {
  color: var(--ink);
  background: var(--white);
  font-family: "Manrope", Arial, sans-serif;
  font-synthesis: none;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

body {
  min-width: 20rem;
  margin: 0;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-underline-offset: 0.2em;
}

a:focus-visible {
  outline: 0.2rem solid var(--blue-dark);
  outline-offset: 0.25rem;
}

/* Catalog data may contain long names without spaces. */
.dynamic-text {
  min-width: 0;
  overflow-wrap: anywhere;
}

.skip-link {
  position: fixed;
  z-index: 10;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.65rem 0.85rem;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header,
main,
.site-footer {
  width: min(calc(100% - 2.5rem), var(--content));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 5.5rem;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  gap: 0.7rem;
  align-items: center;
  min-height: 2.75rem;
  color: var(--ink);
  font-size: 1.15rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand__mark {
  width: 2.5rem;
  height: 2.5rem;
  object-fit: contain;
}

.quiet-link {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  padding-inline: 0.2rem;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 650;
  text-decoration: none;
}

.quiet-link:hover {
  color: var(--blue-dark);
}

main {
  padding-bottom: clamp(4rem, 8vw, 7rem);
}

.shop-title {
  padding: clamp(3rem, 6vw, 4.5rem) 0 clamp(2.25rem, 4vw, 3.25rem);
}

.eyebrow {
  margin: 0 0 0.65rem;
  color: var(--blue-dark);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0;
  font-size: clamp(2.75rem, 5.5vw, 4.6rem);
  font-weight: 720;
  letter-spacing: -0.06em;
  line-height: 0.98;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(1.75rem, 3.6vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

h3 {
  margin-bottom: 0;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 680;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

.catalog-list {
  display: grid;
  gap: clamp(4rem, 8vw, 6.5rem);
}

.catalog-section__header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: end;
  margin-bottom: 1.5rem;
  padding-bottom: 1.35rem;
  border-bottom: 1px solid var(--line);
}

.catalog-controls {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  justify-content: flex-end;
}

.catalog-state {
  margin: 0;
  padding: 0.4rem 0.7rem;
  color: var(--muted);
  background: var(--soft);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
}

.catalog-state--open {
  color: var(--blue-dark);
  background: #edf0ff;
}

.button {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1rem;
  color: var(--white);
  background: var(--blue);
  border: 2px solid var(--blue);
  border-radius: 0.25rem;
  font-weight: 750;
  text-decoration: none;
}

.button:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.product-card {
  display: flex;
  min-height: 9.5rem;
  flex-direction: column;
  padding: 1.4rem;
  background: var(--soft);
  border: 1px solid transparent;
  border-top: 0.24rem solid var(--coral);
}

.catalog-section--open .product-card {
  background: var(--white);
  border-color: var(--line);
  border-top-color: var(--blue);
}

.product-price {
  margin: auto 0 0;
  padding-top: 1.75rem;
  font-size: 1.05rem;
  font-weight: 750;
}

.product-state {
  margin: auto 0 0;
  padding-top: 1.75rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.empty-state {
  padding: clamp(2rem, 5vw, 3.5rem);
  background: var(--soft);
  border-top: 0.24rem solid var(--coral);
}

.empty-state h2 {
  max-width: 24ch;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  padding: 2.2rem 0 3rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
}

.site-footer p {
  margin-bottom: 0;
}

.site-footer nav {
  display: flex;
  gap: 1.25rem;
}

.site-footer nav a {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
}

@media (max-width: 46rem) {
  .site-header,
  main,
  .site-footer {
    width: min(calc(100% - 1.5rem), var(--content));
  }

  .site-header {
    min-height: 4.5rem;
  }

  .quiet-link {
    font-size: 0.875rem;
  }

  .shop-title {
    padding-top: 3rem;
  }

  h1 {
    font-size: clamp(2.65rem, 13vw, 3.75rem);
  }

  .catalog-section__header {
    grid-template-columns: 1fr;
    gap: 1.1rem;
    align-items: start;
  }

  .catalog-controls {
    justify-content: space-between;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-card {
    min-height: 7.75rem;
  }

  .site-footer {
    display: grid;
    gap: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
