/* Skeinflation site styles. Based on design/skeinflation-mockup/style.css (layout,
   colors, type), with fonts bundled locally (SIL OFL, see fonts/) and additions for the
   generated pages at the end of this file. No outside requests. */
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 100 1000;
  src: url(fonts/dm-sans-latin-wght-normal.woff2) format("woff2");
}
@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-display: swap;
  font-weight: 400 900;
  src: url(fonts/playfair-display-latin-wght-normal.woff2) format("woff2");
}
@font-face {
  font-family: "Playfair Display";
  font-style: italic;
  font-display: swap;
  font-weight: 400 900;
  src: url(fonts/playfair-display-latin-wght-italic.woff2) format("woff2");
}
:root {
  --cream: #fbf8f2;
  --paper: #fffdf9;
  --ink: #44333c;
  --muted: #81767b;
  --plum: #793f58;
  --plum-dark: #623246;
  --pink: #f3e3e7;
  --sage: #e6ebe1;
  --line: #e5ded7;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 25px;
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
}
button,
input,
select {
  font: inherit;
}
button,
a,
select,
input {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  color: inherit;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid #be829b;
  outline-offset: 4px;
}
button {
  border: 0;
  background: none;
}
button:disabled {
  cursor: default;
}
svg.icon {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.svg-library {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.container {
  max-width: 1240px;
  width: calc(100% - 96px);
  margin: 0 auto;
}
.announcement {
  min-height: 34px;
  background: #e8ebdf;
  text-align: center;
  padding: 9px 24px;
  font-size: 11px;
  letter-spacing: 0.4px;
  color: #5e6856;
  position: relative;
}
.site-header {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  border-bottom: 1px solid var(--line);
}
.wordmark {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 33px;
  letter-spacing: -1.6px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  line-height: 1;
}
.wordmark-dot {
  color: #b7748f;
  margin-left: -7px;
}
.logo-icon {
  height: 43px;
  width: 43px;
  fill: none;
  stroke: var(--plum);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.site-header nav {
  display: flex;
  gap: 32px;
  font-size: 13px;
  color: #7e7176;
  align-self: stretch;
  align-items: center;
}
.site-header nav a {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}
.site-header nav .nav-short {
  display: none;
}
.site-header nav a.active {
  color: var(--plum);
  font-weight: 650;
}
.site-header nav a.active:after {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--plum);
  border-radius: 50%;
  position: absolute;
  bottom: 23px;
  left: 50%;
}
.site-header nav a:hover {
  color: var(--plum);
}
.saved-nav {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
}
.saved-nav .count {
  display: grid;
  place-items: center;
  border: 1px solid #ddd0d3;
  border-radius: 50%;
  height: 21px;
  min-width: 21px;
  font-size: 10px;
  color: var(--plum);
}
.hero {
  padding-top: 55px;
  padding-bottom: 55px;
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  gap: 48px;
  align-items: center;
}
.eyebrow {
  font-size: 9px;
  letter-spacing: 1.65px;
  font-weight: 650;
  line-height: 1.5;
}
.hero .eyebrow {
  font-size: 9px;
  letter-spacing: 1.3px;
  display: flex;
  align-items: center;
  gap: 7px;
  color: #85616c;
}
.tiny-spark {
  font-size: 17px;
  color: #b0788c;
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(40px, 4.5vw, 62px);
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: -2.5px;
  margin: 19px 0 22px;
}
.hero h1 em {
  font-weight: 400;
  color: var(--plum);
  white-space: nowrap;
}
.hero-copy > p {
  font-size: 13px;
  line-height: 1.9;
  color: #85737a;
  margin: 0 0 25px;
}
.button {
  min-height: 44px;
  padding: 12px 21px;
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  font-size: 12px;
  font-weight: 550;
  transition:
    background 0.2s,
    transform 0.2s;
}
.button-primary {
  background: var(--plum);
  color: #fff9f8;
}
.button-primary:hover {
  background: var(--plum-dark);
  transform: translateY(-1px);
}
.button .icon {
  width: 17px;
}
.hero-note {
  display: flex;
  gap: 9px;
  align-items: center;
  margin-top: 18px;
  color: #95848b;
  font-size: 10px;
}
.mini-hearts {
  font-size: 17px;
  letter-spacing: -4px;
  color: #ad778a;
  margin-right: 4px;
}
.hero-art {
  height: 377px;
  position: relative;
  background: #efdedf;
  border-radius: 160px 160px 12px 12px;
  isolation: isolate;
  overflow: hidden;
}
.art-label {
  position: absolute;
  top: 31px;
  left: 50%;
  transform: translateX(-50%) rotate(-4deg);
  font-family: var(--serif);
  font-style: italic;
  color: #8d6270;
  font-size: 16px;
  z-index: 3;
  width: 90%;
  text-align: center;
}
.yarn-halo {
  position: absolute;
  background: #f7eee5;
  inset: 50px 52px 35px;
  border-radius: 50%;
}
.hero-yarn {
  position: absolute;
  mix-blend-mode: multiply;
  object-fit: contain;
}
.hero-yarn-cream {
  width: 74%;
  left: -6%;
  top: 25px;
  transform: rotate(-27deg);
}
.hero-yarn-sage {
  width: 70%;
  right: -7%;
  top: 52px;
  transform: rotate(25deg);
}
.hero-yarn-pink {
  width: 78%;
  left: 6%;
  top: 118px;
  transform: rotate(-8deg);
}
.thread-art {
  position: absolute;
  width: 100%;
  height: 100%;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  fill: none;
  stroke: #be8c9d;
  stroke-width: 1.4;
  opacity: 0.7;
}
.saving-sticker {
  width: 105px;
  height: 105px;
  border-radius: 50%;
  background: #f7f1dc;
  border: 1px dashed #bdb28f;
  outline: 6px solid #f7f1dc;
  position: absolute;
  right: 24px;
  bottom: 39px;
  z-index: 5;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transform: rotate(10deg);
  color: #6b6e51;
  box-shadow: 0 4px 15px #5e343b0c;
}
.saving-sticker span {
  font-size: 10px;
}
.saving-sticker strong {
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 400;
  font-style: italic;
  margin: 0 0 5px;
}
.saving-sticker .icon {
  width: 15px;
  height: 15px;
}
.art-spark {
  position: absolute;
  z-index: 4;
  color: #ad7b8e;
}
.art-spark-one {
  right: 54px;
  top: 84px;
  font-size: 30px;
}
.art-spark-two {
  left: 27px;
  top: 170px;
  font-size: 36px;
}
.art-caption {
  position: absolute;
  bottom: 17px;
  left: 28px;
  font-size: 10px;
  font-style: italic;
  letter-spacing: 0.4px;
  color: #8b626f;
  z-index: 4;
}
.benefits-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #f7f3ec;
}
.benefits-inner {
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 20px;
}
.benefits-inner > span {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 11px;
  color: #7a6e71;
}
.benefits-inner .icon {
  color: #9b7c83;
  width: 19px;
  height: 19px;
}
.benefits-inner i {
  font-style: normal;
  font-size: 15px;
  color: #c8b7b5;
}
.deals-section {
  padding-top: 52px;
  padding-bottom: 40px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 26px;
}
.section-heading .eyebrow {
  color: #9b7a84;
  font-size: 9px;
}
.section-heading h2,
h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 36px;
  letter-spacing: -1px;
  line-height: 1.3;
  margin: 9px 0 0;
}
.sample-status {
  font-size: 10px;
  color: #93868a;
  display: flex;
  align-items: center;
  gap: 6px;
  padding-bottom: 5px;
}
.sample-status span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #8b9c77;
}
.deal-tabs {
  display: flex;
  gap: 25px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 23px;
}
.deal-tabs button {
  display: flex;
  align-items: center;
  gap: 7px;
  position: relative;
  padding: 11px 0 15px;
  font-size: 12px;
  color: #91838a;
}
.deal-tabs button .icon {
  width: 15px;
  height: 15px;
}
.deal-tabs button[aria-selected="true"] {
  color: var(--plum);
  font-weight: 650;
}
.deal-tabs button[aria-selected="true"]:after {
  position: absolute;
  content: "";
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--plum);
}
.deal-tabs button span {
  border-radius: 4px;
  font-size: 9px;
  padding: 2px 5px;
  background: #efe1e4;
  color: var(--plum);
}
.finder {
  display: flex;
  gap: 10px;
  scroll-margin-top: 30px;
}
.search-box {
  display: flex;
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 5px;
  gap: 11px;
  padding: 0 13px;
  flex: 1.6;
  min-width: 150px;
  height: 52px;
  color: #96838a;
}
.search-box input {
  min-width: 0;
  border: 0;
  background: transparent;
  outline: none;
  flex: 1;
  width: 100%;
  font-size: 11px;
  color: var(--ink);
}
.search-box input::placeholder {
  color: #a09398;
}
.search-box kbd {
  font-family: inherit;
  border: 1px solid var(--line);
  padding: 1px 5px;
  color: #ac9fa4;
  font-size: 10px;
  border-radius: 3px;
}
.select-wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  flex: 0.7;
  min-width: 116px;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 5px;
  padding: 7px 10px;
}
.select-wrap > span {
  font-size: 8px;
  color: #9a8d92;
}
.select-wrap select {
  background: transparent;
  border: 0;
  font-size: 11px;
  outline: none;
  width: 100%;
  color: #675860;
  padding-right: 5px;
  cursor: pointer;
}
.stock-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 10px;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 5px;
  font-size: 11px;
  color: #675860;
  cursor: pointer;
  white-space: nowrap;
}
.stock-toggle input {
  accent-color: var(--plum);
  width: 16px;
  height: 16px;
}
.color-filter {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 5px;
  font-size: 11px;
  padding: 0 13px;
}
.color-filter > span:last-child {
  color: #9a8d92;
}
.color-dots {
  display: flex;
  margin-right: 1px;
}
.color-dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  margin-right: -2px;
  border: 1px solid #fff;
  background: #b7c0aa;
}
.color-dots i:nth-child(2) {
  background: #e2bbc7;
}
.color-dots i:nth-child(3) {
  background: #c5b7cb;
}
.color-options {
  padding: 13px;
  background: #f3ede7;
  border-radius: 5px;
  margin-top: 10px;
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 11px;
}
.color-options[hidden] {
  display: none;
}
.color-options > span {
  margin-right: 9px;
  font-size: 10px;
  color: var(--muted);
}
.color-options button {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 10px;
}
.color-options button.selected {
  border-color: #bc9ca8;
  background: #fffaf6;
}
.color-options button i {
  width: 11px;
  height: 11px;
  border: 1px solid #00000010;
  border-radius: 50%;
  background: var(--swatch);
}
.results-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 23px 0 19px;
  font-size: 10px;
  color: #92848a;
  gap: 12px;
}
.results-bar p {
  margin: 0;
}
.results-bar strong {
  font-size: 11px;
  color: #685760;
  font-weight: 550;
}
.results-bar label {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
}
.results-bar select {
  font-size: 10px;
  background: transparent;
  border: 0;
  color: #6a5962;
  max-width: 150px;
  cursor: pointer;
}
.results-bar #clear-filters {
  color: var(--plum);
  text-decoration: underline;
  font-size: 10px;
  margin-left: 10px;
}
.deals-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.deal-card {
  border: 1px solid #e8e0da;
  border-radius: 8px;
  overflow: hidden;
  background: var(--paper);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.deal-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 9px 24px #5c394010;
}
.card-art {
  height: 211px;
  background: var(--card-bg, #f1e6e6);
  position: relative;
  isolation: isolate;
}
.card-art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  padding: 5px 8px;
  transition: transform 0.3s;
}
.deal-card:hover .card-art img {
  transform: scale(1.04);
}
.discount-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  background: #fffaf5;
  color: #8d4d63;
  padding: 5px 8px;
  border-radius: 3px;
  font-size: 9px;
  font-weight: 600;
  box-shadow: 0 2px 5px #00000004;
}
.heart-button {
  position: absolute;
  right: 11px;
  top: 10px;
  z-index: 2;
  background: #fffdf9dd;
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #987f89;
}
.project-note {
  margin: 14px 0 8px;
  color: var(--muted);
  font-size: 13px;
}
.size-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 6px 0 16px;
}
.size-chip {
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 13px;
  color: var(--ink);
}
.size-chip small {
  color: var(--muted);
  margin-left: 4px;
}
.size-chip.selected {
  background: var(--plum);
  border-color: var(--plum);
  color: #fff;
}
.size-chip.selected small {
  color: #f3e3e7;
}
.project-kind[hidden],
[data-size-panel][hidden] {
  display: none;
}
.share-card {
  position: absolute;
  right: 46px;
  top: 10px;
  z-index: 2;
  background: #fffdf9dd;
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #987f89;
}
.share-card .icon {
  height: 14px;
  width: 14px;
  stroke-width: 1.5;
}
.share-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0 6px;
}
.share-button .icon {
  width: 15px;
  height: 15px;
  margin-right: 4px;
}
.heart-button .icon {
  height: 15px;
  width: 15px;
  stroke-width: 1.5;
}
.heart-button.saved {
  color: var(--plum);
}
.heart-button.saved .icon {
  fill: var(--plum);
  stroke: var(--plum);
}
.card-body {
  padding: 17px 16px 0;
}
.card-brand {
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: 1.1px;
  color: #9a858e;
  margin-bottom: 7px;
}
.deal-card h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 17px;
  letter-spacing: -0.3px;
  margin: 0;
  line-height: 1.4;
  min-height: 24px;
}
.card-color {
  font-size: 10px;
  color: #9a8a91;
  margin: 6px 0 12px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.card-color i {
  height: 7px;
  width: 7px;
  background: var(--swatch);
  border-radius: 50%;
  border: 1px solid #00000008;
}
.card-specs {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}
.card-specs span {
  background: #f5f1eb;
  padding: 4px 6px;
  border-radius: 3px;
  font-size: 8px;
  color: #8b7b83;
}
.card-prices {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: 15px;
  gap: 4px;
}
.current-price {
  font-size: 23px;
  letter-spacing: -0.8px;
  font-weight: 550;
  color: var(--plum);
}
.old-price {
  font-size: 10px;
  margin-left: 5px;
  text-decoration: line-through;
  color: #b3a4aa;
}
.unit-price {
  font-size: 9px;
  color: #9b8d93;
  padding-bottom: 4px;
  white-space: nowrap;
}
.best-store {
  font-size: 9px;
  color: #8e8086;
  margin: 5px 0 15px;
}
.best-store strong {
  font-weight: 500;
  color: #74636b;
}
.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #ece5df;
  padding: 12px 0;
  width: 100%;
  font-size: 10px;
  color: var(--plum);
  font-weight: 500;
}
.card-footer .icon {
  width: 14px;
  height: 14px;
}
.load-more-wrap {
  text-align: center;
  padding: 29px 0 0;
}
.button-outline {
  border: 1px solid #cdb9be;
  background: transparent;
  color: #805669;
  min-height: 40px;
  font-size: 11px;
  gap: 22px;
}
.button-outline:hover {
  background: #f2e6e8;
}
.load-more-wrap p {
  color: #aa9aa2;
  font-size: 9px;
  margin: 12px 0;
}
.maker-note {
  background: #edeedf;
  border-radius: 8px;
  padding: 34px 35px;
  display: grid;
  grid-template-columns: 90px 1.1fr 1fr;
  align-items: center;
  gap: 28px;
  margin-top: 2px;
  margin-bottom: 60px;
  position: relative;
  overflow: hidden;
}
.note-doodle {
  position: relative;
  color: #959c7d;
}
.note-doodle svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.1;
  width: 82px;
  height: 82px;
}
.note-doodle > span {
  position: absolute;
  font-family: var(--serif);
  font-size: 25px;
  right: -6px;
  bottom: -3px;
  transform: rotate(15deg);
}
.maker-note .eyebrow {
  font-size: 8px;
  letter-spacing: 1.2px;
  color: #80866b;
}
.maker-note h2 {
  font-size: 26px;
  letter-spacing: -0.7px;
  margin-top: 9px;
  color: #62684f;
  line-height: 1.4;
}
.maker-note h2 em {
  font-weight: 400;
}
.maker-note-copy {
  padding-left: 28px;
  border-left: 1px solid #d8d9c6;
  color: #7d806e;
}
.maker-note-copy p {
  font-size: 11px;
  line-height: 1.8;
  margin: 0 0 13px;
}
.maker-note-copy a {
  font-size: 10px;
  color: #646b4f;
  border-bottom: 1px solid #b5b89e;
  padding-bottom: 4px;
}
.maker-note-copy a span {
  margin-left: 13px;
}
.how-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  padding: 0 60px 60px;
}
.how-intro .eyebrow {
  color: #9b7b88;
  font-size: 8px;
}
.how-intro h2 {
  font-size: 32px;
  margin-top: 14px;
}
.how-intro h2 em {
  color: var(--plum);
  font-weight: 400;
}
.how-intro p {
  font-size: 12px;
  color: #94818b;
  line-height: 1.8;
  max-width: 330px;
  margin-top: 18px;
}
.how-steps article {
  display: flex;
  gap: 20px;
  padding: 19px 0;
  border-bottom: 1px solid var(--line);
}
.how-steps article:first-child {
  padding-top: 0;
}
.how-steps article:last-child {
  border: 0;
}
.how-steps article > span {
  font-size: 10px;
  color: #ae8697;
  padding-top: 4px;
}
.how-steps h3 {
  font-size: 13px;
  font-weight: 500;
  margin: 0 0 7px;
}
.how-steps p {
  font-size: 11px;
  color: #99868e;
  line-height: 1.75;
  margin: 0;
}
.site-footer {
  border-top: 1px solid var(--line);
  padding-top: 32px;
  padding-bottom: 32px;
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: center;
}
.site-footer .wordmark {
  font-size: 25px;
  letter-spacing: -1px;
  gap: 5px;
}
.site-footer .logo-icon {
  width: 33px;
  height: 33px;
}
.site-footer > div > p {
  font-size: 9px;
  color: #a28e98;
  margin: 9px 0;
}
.footer-note {
  text-align: right;
  font-size: 8px;
  color: #b3a0a8;
  max-width: 450px;
}
.footer-note p {
  font-size: 8px !important;
  line-height: 1.5;
  margin: 4px 0 !important;
}
.footer-note a {
  font-size: 8px;
  border-bottom: 1px solid #cdbdc2;
  display: inline-block;
  margin-top: 7px;
}
.auto-load {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 14px 0 auto;
  font-size: 12px;
  color: var(--muted);
  cursor: pointer;
}
.auto-load-row {
  display: flex;
  justify-content: flex-end;
  margin: 12px 0 -6px;
}
.auto-load-row .auto-load {
  margin: 0;
}
.results-bar {
  flex-wrap: wrap;
  row-gap: 8px;
}
.auto-load[hidden] {
  display: none;
}
.card-more-colors {
  margin: 2px 0 6px;
  font-size: 12px;
}
.card-more-colors a {
  color: var(--plum);
  border-bottom: 1px solid currentColor;
}
.no-deals-note {
  margin: 18px 0 6px;
  padding: 14px 18px;
  background: var(--sage);
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.5;
}
.no-deals-note strong {
  color: var(--plum-dark);
}
.empty-state {
  text-align: center;
  padding: 50px 20px;
  color: #8d7782;
}
.empty-state[hidden] {
  display: none;
}
.empty-yarn {
  width: 60px;
  height: 60px;
  fill: none;
  stroke: #aa7b8f;
  stroke-width: 1.3;
}
.empty-state h3 {
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 400;
}
.empty-state p {
  font-size: 12px;
  margin-bottom: 25px;
}
dialog {
  color: var(--ink);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 35px;
  width: 560px;
  max-width: calc(100vw - 30px);
  max-height: 85vh;
  box-shadow: 0 20px 90px #36202b30;
}
dialog::backdrop {
  background: #35252c66;
  backdrop-filter: blur(4px);
}
.dialog-close {
  position: absolute;
  right: 18px;
  top: 14px;
  width: 30px;
  height: 30px;
  font-size: 27px;
  color: #927482;
  display: grid;
  place-items: center;
  border-radius: 50%;
}
.dialog-close:hover {
  background: var(--pink);
}
.comparison-top {
  display: flex;
  gap: 22px;
  align-items: center;
  margin-bottom: 25px;
}
.comparison-top img {
  width: 130px;
  height: 130px;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.comparison-top h2 {
  font-size: 26px;
  margin: 7px 0;
}
.comparison-top p {
  font-size: 11px;
  color: var(--muted);
}
.comparison-top .eyebrow {
  font-size: 8px;
  color: #997788;
}
.sample-callout {
  background: #eee9df;
  padding: 12px 14px;
  font-size: 10px;
  line-height: 1.7;
  color: #8a786b;
  border-radius: 5px;
}
.compare-rows {
  margin: 18px 0;
}
.compare-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
  font-size: 12px;
  gap: 12px;
}
.compare-row:first-child .retailer-name:after {
  content: "BEST PRICE";
  display: block;
  font-size: 7px;
  letter-spacing: 1px;
  color: #809169;
  margin-top: 4px;
}
.compare-price {
  color: var(--plum);
  font-size: 17px;
  font-weight: 550;
  white-space: nowrap;
}
.compare-row a {
  font-size: 10px;
  color: var(--plum);
  border: 1px solid #d5bcc7;
  border-radius: 4px;
  padding: 8px;
}
.compare-unit {
  font-size: 9px;
  color: var(--muted);
  margin: 3px 0 0;
}
.compare-retailer {
  flex: 1;
}
.compare-footnote {
  font-size: 10px;
  line-height: 1.7;
  color: #99838e;
}
.stash-dialog {
  width: 580px;
}
.stash-heading {
  display: flex;
  justify-content: space-between;
  position: relative;
}
.stash-heading .dialog-close {
  right: -15px;
  top: -17px;
}
.stash-heading .eyebrow {
  color: #9c7c89;
  font-size: 8px;
}
.stash-heading h2 {
  font-size: 34px;
}
.stash-heading h2 > span {
  font-size: 27px;
  color: #b18497;
  margin-left: 12px;
}
.stash-description {
  font-size: 11px;
  color: #9a8490;
  margin-bottom: 25px;
}
.stash-empty {
  text-align: center;
  padding: 40px 15px 20px;
}
.stash-empty .icon {
  width: 45px;
  height: 45px;
  color: #b98f9f;
}
.stash-empty h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 26px;
}
.stash-empty p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.8;
}
.stash-item {
  display: flex;
  gap: 16px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 15px 0;
}
.stash-item img {
  width: 76px;
  height: 76px;
  mix-blend-mode: multiply;
  object-fit: contain;
}
.stash-item > div {
  flex: 1;
}
.stash-item h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 17px;
  margin: 0 0 6px;
}
.stash-item p {
  font-size: 10px;
  color: var(--muted);
  margin: 0 0 6px;
}
.stash-item .stash-price {
  color: var(--plum);
  font-weight: 600;
  font-size: 13px;
}
.stash-remove {
  font-size: 10px;
  color: #a17c8e;
  text-decoration: underline;
}
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 20px);
  opacity: 0;
  pointer-events: none;
  background: var(--plum);
  color: #fff9f7;
  border-radius: 7px;
  box-shadow: 0 4px 20px #0002;
  padding: 13px 23px;
  font-size: 12px;
  z-index: 100;
  transition:
    opacity 0.2s,
    transform 0.2s;
  max-width: 90vw;
  text-align: center;
}
.toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
@media (min-width: 1440px) {
  .hero {
    gap: 70px;
  }
  .hero h1 {
    font-size: 64px;
  }
  .hero-art {
    height: 410px;
  }
  .hero-copy > p {
    font-size: 14px;
  }
}
@media (max-width: 1100px) {
  .container {
    width: calc(100% - 60px);
  }
  .site-header nav {
    gap: 22px;
  }
  .wordmark {
    font-size: 29px;
  }
  .hero {
    gap: 25px;
  }
  .hero h1 {
    font-size: 48px;
  }
  .hero-art {
    height: 355px;
  }
  .hero .eyebrow {
    font-size: 8px;
    letter-spacing: 1px;
  }
  .card-art {
    height: 185px;
  }
  .deals-grid {
    gap: 14px;
  }
  .card-body {
    padding: 14px 12px 0;
  }
  .deal-card h3 {
    font-size: 15px;
  }
  .card-prices {
    align-items: center;
  }
  .current-price {
    font-size: 20px;
  }
  .unit-price {
    font-size: 8px;
  }
  .old-price {
    font-size: 9px;
    margin-left: 3px;
  }
  .finder {
    gap: 7px;
  }
  .select-wrap {
    min-width: 100px;
  }
  .search-box {
    flex: 1.4;
  }
  .search-box input {
    font-size: 10px;
  }
  .search-box kbd {
    display: none;
  }
  .how-section {
    padding: 0 20px 50px;
    gap: 50px;
  }
  .maker-note {
    grid-template-columns: 65px 1.1fr 1fr;
    gap: 22px;
    padding: 30px 25px;
  }
  .note-doodle svg {
    width: 65px;
    height: 65px;
  }
  .maker-note h2 {
    font-size: 23px;
  }
  .maker-note-copy {
    padding-left: 20px;
  }
}
@media (max-width: 800px) {
  .container {
    width: calc(100% - 40px);
  }
  .site-header {
    height: 83px;
    flex-wrap: wrap;
    gap: 10px;
  }
  .site-header nav {
    gap: 18px;
    font-size: 11px;
  }
  .wordmark {
    font-size: 26px;
  }
  .logo-icon {
    width: 34px;
    height: 34px;
  }
  .saved-nav {
    font-size: 11px;
    gap: 6px;
  }
  .saved-nav .icon {
    height: 17px;
    width: 17px;
  }
  .hero {
    gap: 22px;
    padding: 40px 0;
  }
  .hero h1 {
    font-size: 39px;
    letter-spacing: -1.8px;
  }
  .hero .eyebrow {
    font-size: 7px;
    letter-spacing: 0.8px;
  }
  .hero-copy > p {
    font-size: 11px;
  }
  .desktop-break {
    display: none;
  }
  .hero-art {
    height: 310px;
    border-radius: 130px 130px 10px 10px;
  }
  .art-label {
    font-size: 12px;
    top: 27px;
  }
  .hero-yarn-cream {
    top: 33px;
  }
  .hero-yarn-sage {
    top: 54px;
  }
  .hero-yarn-pink {
    top: 115px;
    width: 85%;
  }
  .art-caption {
    font-size: 8px;
    left: 18px;
  }
  .saving-sticker {
    height: 77px;
    width: 77px;
    right: 14px;
    bottom: 35px;
    outline-width: 4px;
  }
  .saving-sticker span {
    font-size: 8px;
  }
  .saving-sticker strong {
    font-size: 20px;
  }
  .saving-sticker .icon {
    width: 12px;
    height: 12px;
  }
  .art-spark-one {
    right: 30px;
    font-size: 25px;
  }
  .art-spark-two {
    font-size: 28px;
    left: 17px;
    top: 148px;
  }
  .hero-note {
    font-size: 8px;
  }
  .hero-note .mini-hearts {
    font-size: 14px;
  }
  .benefits-inner {
    gap: 12px;
    height: 52px;
  }
  .benefits-inner > span {
    font-size: 9px;
    gap: 6px;
  }
  .benefits-inner .icon {
    height: 16px;
    width: 16px;
  }
  .benefits-inner i {
    font-size: 11px;
  }
  .deals-section {
    padding-top: 38px;
  }
  .section-heading h2 {
    font-size: 32px;
  }
  .section-heading .eyebrow {
    font-size: 8px;
  }
  .sample-status {
    font-size: 9px;
  }
  .finder {
    flex-wrap: wrap;
  }
  .search-box {
    flex-basis: 100%;
  }
  .select-wrap {
    flex: 1;
  }
  .color-filter {
    min-width: 110px;
  }
  .results-note {
    display: none;
  }
  .deals-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
  .card-art {
    height: 240px;
  }
  .card-body {
    padding: 18px 17px 0;
  }
  .deal-card h3 {
    font-size: 19px;
  }
  .current-price {
    font-size: 25px;
  }
  .unit-price {
    font-size: 10px;
  }
  .card-specs span {
    font-size: 9px;
  }
  .card-brand {
    font-size: 9px;
  }
  .card-color {
    font-size: 11px;
  }
  .card-footer {
    font-size: 11px;
  }
  .maker-note {
    grid-template-columns: 60px 1fr;
    gap: 20px;
  }
  .maker-note h2 {
    font-size: 27px;
  }
  .maker-note-copy {
    grid-column: 2;
    border: 0;
    padding: 0;
  }
  .maker-note-copy p {
    font-size: 12px;
  }
  .note-doodle {
    align-self: start;
    margin-top: 32px;
  }
  .how-section {
    padding: 0 0 45px;
    gap: 40px;
  }
  .how-intro h2 {
    font-size: 27px;
  }
  .how-steps p {
    font-size: 10px;
  }
  .site-footer {
    align-items: flex-start;
  }
  .footer-note {
    max-width: 310px;
  }
}
@media (max-width: 560px) {
  .announcement {
    font-size: 9px;
    min-height: 30px;
    padding: 9px 12px;
  }
  .container {
    width: calc(100% - 36px);
  }
  .site-header {
    height: 105px;
    gap: 0;
    padding: 17px 0 0;
  }
  .site-header .wordmark {
    font-size: 29px;
  }
  .site-header .logo-icon {
    width: 35px;
    height: 35px;
  }
  .site-header nav .nav-full {
    display: none;
  }
  .site-header nav .nav-short {
    display: inline;
  }
  .site-header nav {
    order: 3;
    flex-basis: 100%;
    justify-content: center;
    gap: 15px;
    height: 41px;
    font-size: 11px;
    margin-top: 9px;
  }
  .site-header nav a.active:after {
    bottom: 1px;
  }
  .saved-nav > span:not(.count) {
    display: none;
  }
  .saved-nav .icon {
    height: 20px;
    width: 20px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding: 36px 0 28px;
    gap: 28px;
  }
  .hero-copy {
    text-align: center;
  }
  .hero .eyebrow {
    justify-content: center;
    font-size: 7px;
    letter-spacing: 1px;
  }
  .hero h1 {
    font-size: 43px;
    line-height: 1.18;
    letter-spacing: -1.8px;
    margin: 16px 0 19px;
  }
  .hero-copy > p {
    font-size: 12px;
    line-height: 1.85;
    max-width: 340px;
    margin: 0 auto 21px;
  }
  .hero-note {
    justify-content: center;
    font-size: 9px;
    margin-top: 13px;
  }
  .hero-art {
    height: 310px;
    max-width: 400px;
    width: 100%;
    margin: auto;
    border-radius: 130px 130px 8px 8px;
  }
  .art-label {
    font-size: 14px;
    top: 25px;
  }
  .hero-yarn-cream {
    width: 65%;
    left: -1%;
    top: 17px;
  }
  .hero-yarn-sage {
    width: 65%;
    right: -3%;
    top: 36px;
  }
  .hero-yarn-pink {
    width: 73%;
    left: 11%;
    top: 88px;
  }
  .saving-sticker {
    width: 86px;
    height: 86px;
    right: 21px;
    bottom: 35px;
  }
  .art-caption {
    font-size: 9px;
    left: 23px;
  }
  .benefits-inner {
    height: auto;
    min-height: 54px;
    justify-content: center;
    gap: 15px;
  }
  .benefits-inner > span {
    font-size: 9px;
    max-width: 110px;
    line-height: 1.6;
    gap: 7px;
  }
  .benefits-inner > span:last-child,
  .benefits-inner > i:nth-child(4) {
    display: none;
  }
  .benefits-inner > i {
    font-size: 12px;
  }
  .deals-section {
    padding-top: 31px;
  }
  .section-heading {
    align-items: flex-start;
    margin-bottom: 19px;
  }
  .section-heading h2 {
    font-size: 31px;
  }
  .section-heading .eyebrow {
    font-size: 7px;
    letter-spacing: 1.2px;
  }
  .sample-status {
    display: none;
  }
  .deal-tabs {
    gap: 18px;
    margin-bottom: 17px;
    overflow: auto;
    white-space: nowrap;
  }
  .deal-tabs button {
    font-size: 10px;
    gap: 5px;
    padding-bottom: 13px;
  }
  .deal-tabs .icon {
    width: 13px !important;
    height: 13px !important;
  }
  .deal-tabs button span {
    font-size: 8px;
  }
  .finder {
    gap: 7px;
  }
  .search-box {
    height: 46px;
  }
  .search-box input {
    font-size: 11px;
  }
  .select-wrap {
    min-width: calc(33% - 5px);
    padding: 8px 9px;
    min-height: 48px;
  }
  .select-wrap select {
    font-size: 10px;
  }
  .color-filter {
    min-height: 35px;
    width: 100%;
    justify-content: center;
    gap: 10px;
  }
  .results-bar {
    margin: 20px 0 15px;
    font-size: 9px;
  }
  .results-bar strong {
    font-size: 10px;
  }
  .results-bar select {
    font-size: 9px;
    max-width: 130px;
  }
  .results-bar label {
    gap: 3px;
  }
  .deals-grid {
    gap: 11px;
  }
  .card-art {
    height: 170px;
  }
  .card-art img {
    padding: 0 2px;
  }
  .discount-badge {
    left: 8px;
    top: 9px;
    padding: 4px 5px;
    font-size: 8px;
  }
  .heart-button {
    width: 25px;
    height: 25px;
    right: 7px;
    top: 7px;
  }
  .heart-button .icon {
    height: 13px;
    width: 13px;
  }
  .card-body {
    padding: 13px 10px 0;
  }
  .card-brand {
    font-size: 7px;
    letter-spacing: 0.8px;
    margin-bottom: 6px;
  }
  .deal-card h3 {
    font-size: 15px;
    min-height: 42px;
    line-height: 1.4;
  }
  .card-color {
    font-size: 9px;
    margin: 4px 0 9px;
  }
  .card-specs {
    gap: 4px;
  }
  .card-specs span {
    font-size: 7px;
    padding: 4px 5px;
  }
  .card-prices {
    margin-top: 12px;
    flex-wrap: wrap;
    gap: 0;
  }
  .current-price {
    font-size: 22px;
  }
  .old-price {
    font-size: 9px;
  }
  .unit-price {
    width: 100%;
    font-size: 9px;
    margin-top: 3px;
    padding: 0;
  }
  .best-store {
    font-size: 8px;
    margin: 7px 0 12px;
  }
  .card-footer {
    font-size: 9px;
    padding: 11px 0;
  }
  .card-footer .icon {
    width: 12px;
    height: 12px;
  }
  .maker-note {
    padding: 26px 22px;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 40px;
  }
  .note-doodle {
    display: none;
  }
  .maker-note h2 {
    font-size: 26px;
  }
  .maker-note .eyebrow {
    font-size: 7px;
  }
  .maker-note-copy {
    grid-column: auto;
  }
  .maker-note-copy p {
    font-size: 11px;
  }
  .how-section {
    grid-template-columns: 1fr;
    gap: 26px;
    padding-bottom: 38px;
  }
  .how-intro h2 {
    font-size: 30px;
  }
  .how-intro p {
    font-size: 12px;
    max-width: none;
  }
  .how-steps p {
    font-size: 11px;
  }
  .how-steps article {
    gap: 17px;
  }
  .site-footer {
    flex-direction: column;
    gap: 16px;
    padding: 27px 0;
  }
  .footer-note {
    text-align: left;
    max-width: none;
  }
  .site-footer .wordmark {
    font-size: 27px;
  }
  .load-more-wrap {
    padding-top: 24px;
  }
  dialog {
    padding: 25px 20px;
  }
  .comparison-top {
    gap: 12px;
    padding-top: 10px;
  }
  .comparison-top img {
    width: 85px;
    height: 105px;
  }
  .comparison-top h2 {
    font-size: 22px;
  }
  .comparison-top p {
    font-size: 10px;
  }
  .compare-row {
    gap: 10px;
  }
  .compare-row a {
    font-size: 8px;
    padding: 8px;
  }
  .compare-price {
    font-size: 16px;
  }
  .stash-heading h2 {
    font-size: 31px;
  }
  .stash-item img {
    width: 58px;
    height: 65px;
  }
  .stash-item h3 {
    font-size: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    transition: none !important;
  }
}

.external-icon {
  width: 12px !important;
  height: 12px !important;
  vertical-align: middle;
  transform: rotate(-45deg);
}
.maker-note-copy a .external-icon {
  margin-left: 13px;
}
.compare-row a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.compare-row a .icon {
  width: 11px;
  height: 11px;
  transform: rotate(-45deg);
}

/* ---- Generated-site additions ------------------------------------------------------ */
[hidden] {
  display: none !important;
}
.footer-note p {
  font-size: 11px !important;
  color: #8f7c84;
}
.footer-note a {
  font-size: 11px;
}
.footer-note .updated {
  font-weight: 600;
  color: #7a6e71;
}
.disclosure-inline {
  font-size: 11px;
  color: #93868a;
  margin: 22px 0 0;
}
.disclosure-inline a {
  border-bottom: 1px solid #cdbdc2;
}
/* Yarn balls drawn in CSS: the hero and the fallback when a store has no photo. */
.yarn-ball,
.swatch-ball {
  display: block;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    repeating-linear-gradient(115deg, #ffffff22 0 3px, transparent 3px 9px),
    repeating-linear-gradient(35deg, #00000010 0 2px, transparent 2px 11px),
    radial-gradient(circle at 34% 30%, #ffffff66, transparent 55%),
    var(--ball, var(--swatch, #e9ddc6));
  box-shadow:
    inset -14px -18px 30px #5c394024,
    0 10px 22px #5c39401a;
}
.hero-yarn.yarn-ball {
  mix-blend-mode: normal;
}
.yarn-ball.hero-yarn-cream {
  width: 40%;
  left: 8%;
  top: 70px;
}
.yarn-ball.hero-yarn-sage {
  width: 36%;
  right: 8%;
  left: auto;
  top: 84px;
}
.yarn-ball.hero-yarn-pink {
  width: 42%;
  left: 30%;
  top: 150px;
}
.card-art .swatch-ball {
  width: 52%;
  position: absolute;
  left: 24%;
  top: 14%;
}
.swatch-ball.small {
  width: 64px;
  flex-shrink: 0;
}
.per-label {
  font-size: 11px;
  color: var(--muted);
  margin-left: 4px;
}
.current-price.small {
  font-size: 13px;
}
.skein-price {
  font-size: 10px;
  color: var(--muted);
  margin: 4px 0 0;
}
.deal-card h3 a:hover {
  color: var(--plum);
}
.page-top {
  padding-top: 44px;
  padding-bottom: 48px;
}
.page-h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(32px, 4vw, 46px);
  letter-spacing: -1.4px;
  line-height: 1.2;
  margin: 10px 0 14px;
}
.page-top .eyebrow {
  color: #9b7a84;
}
.lede {
  font-size: 14px;
  line-height: 1.8;
  color: #85737a;
  max-width: 720px;
}
.prose {
  max-width: 760px;
}
.prose p,
.prose li {
  font-size: 14px;
  line-height: 1.85;
  color: #6f6066;
}
.prose h2,
.yarn-page h2,
.weight-group h2 {
  font-size: 26px;
  margin-top: 34px;
}
.prose a,
.lede a,
.crumbs a {
  color: var(--plum);
  border-bottom: 1px solid #d9c3cb;
}
.crumbs {
  font-size: 11px;
  color: var(--muted);
}
.line-specs {
  margin: 6px 0 4px;
}
.weight-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 8px;
}
.weight-chips a {
  border: 1px solid #ddd0d3;
  border-radius: 999px;
  padding: 7px 13px;
  font-size: 12px;
  color: var(--plum);
  background: var(--paper);
}
.weight-chips a span {
  color: var(--muted);
  margin-left: 4px;
}
.weight-group h2 small {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0;
  margin-left: 8px;
}
.table-wrap {
  overflow-x: auto;
  border: 1px solid #e8e0da;
  border-radius: 8px;
  background: var(--paper);
  margin-top: 14px;
}
.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
}
.price-table th,
.price-table td {
  padding: 11px 13px;
  text-align: left;
  border-bottom: 1px solid #f0e9e3;
  white-space: nowrap;
}
.price-table th {
  font-size: 10px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #8f7c84;
  font-weight: 650;
  background: #faf5ef;
}
.price-table th[data-sort] {
  cursor: pointer;
  user-select: none;
}
.price-table th[aria-sort="ascending"]::after {
  content: " \25B2";
  font-size: 8px;
}
.price-table th[aria-sort="descending"]::after {
  content: " \25BC";
  font-size: 8px;
}
.price-table .num {
  text-align: right;
}
.price-table tbody tr:hover {
  background: #fcf7f2;
}
.price-table a {
  color: var(--ink);
}
.price-table a:hover,
.table-go {
  color: var(--plum) !important;
}
.table-go {
  font-weight: 600;
}
.tag-deal {
  display: inline-block;
  background: #f3e3e7;
  color: #8d4d63;
  border-radius: 3px;
  padding: 2px 6px;
  font-size: 10px;
  font-weight: 600;
  margin-left: 6px;
}
.dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--swatch);
  margin-right: 6px;
  vertical-align: -1px;
}
.chart-wrap {
  border: 1px solid #e8e0da;
  border-radius: 8px;
  background: var(--paper);
  padding: 14px;
  margin-top: 14px;
}
.history-chart {
  width: 100%;
  height: auto;
  display: block;
}
.history-chart .grid {
  stroke: #efe7e0;
}
.history-chart .axis {
  font-size: 11px;
  fill: #93868a;
  font-family: var(--sans);
}
.chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 11px;
  color: #7a6e71;
  margin-top: 8px;
}
.chart-legend i {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 5px;
  vertical-align: -1px;
}
.chart-note,
.fine-print {
  font-size: 11px;
  color: #93868a;
}
.coupon-list,
.local-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 14px;
}
.coupon,
.local-shop {
  border: 1px dashed #d7c2c9;
  border-radius: 8px;
  background: var(--paper);
  padding: 18px;
}
.local-shop {
  border-style: solid;
}
.coupon-store {
  font-size: 10px;
  letter-spacing: 1.2px;
  font-weight: 650;
  color: #9b7a84;
  text-transform: uppercase;
}
.coupon-code {
  margin: 8px 0;
  font-size: 13px;
}
.coupon-code code {
  font-size: 18px;
  font-weight: 700;
  color: var(--plum);
  letter-spacing: 1px;
}
.coupon p,
.local-shop p {
  font-size: 12px;
  color: #6f6066;
  margin: 6px 0;
}
.coupon-expiry {
  color: #93868a !important;
}
.local-shop h2 {
  font-size: 24px;
  margin: 0;
}
.empty-state.small {
  padding: 24px;
}
.go-page {
  max-width: 560px;
  margin: 80px auto;
  padding: 0 24px;
  text-align: center;
  font-size: 15px;
}
.go-page a {
  color: var(--plum);
  border-bottom: 1px solid #d9c3cb;
}
@media (max-width: 800px) {
  .footer-note {
    text-align: left;
  }
  .site-header nav {
    overflow-x: auto;
  }
}
.coupon-fine {
  font-size: 11.5px !important;
  color: #5f5157 !important;
}
.coupon-flag {
  color: #a0413f !important;
  font-weight: 600;
}
.coupon-worked {
  color: #5b7048 !important;
}
.coupon-report {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-size: 11px;
  color: #93868a;
}
.coupon-report button {
  border: 1px solid #ddd0d3;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 11px;
  color: var(--plum);
  background: var(--paper);
}
.coupon-report button:hover {
  background: #f3e3e7;
}
.coupon-report.done button {
  display: none;
}
.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---- Stash-o-meter and seasonal welcomes, from design/skeinflation-mockup (PR #16) ---- */

/* Stash-o-meter: color supports the two visible text labels. */
.verdict-amazing {
  --rating-color: #3f6b4d;
  --rating-bg: #e7efdf;
  --rating-line: #b9cbaa;
}
.verdict-good {
  --rating-color: #65773f;
  --rating-bg: #eef0dc;
  --rating-line: #cbd1ad;
}
.verdict-fair {
  --rating-color: #8a6e28;
  --rating-bg: #f8f0d7;
  --rating-line: #dfd09f;
}
.verdict-pricey {
  --rating-color: #a2643f;
  --rating-bg: #f8e8dc;
  --rating-line: #dfba9e;
}
.verdict-emergency {
  --rating-color: #9b4e59;
  --rating-bg: #f5e0e3;
  --rating-line: #d8adb6;
}
.stash-meter-panel {
  background: #f6f1e9;
  border: 1px solid #e8dfd3;
  border-radius: 9px;
  padding: 24px 27px 15px;
  margin: 0 0 25px;
}
.meter-intro {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 23px;
}
.meter-intro .eyebrow {
  font-size: 7px;
  color: #9b8189;
  letter-spacing: 1.4px;
}
.meter-intro h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 25px;
  letter-spacing: -0.6px;
  margin: 5px 0 0;
}
.meter-intro h3 em {
  color: var(--plum);
  font-weight: 400;
}
.meter-intro > p {
  font-family: var(--serif);
  font-style: italic;
  color: #9a8489;
  font-size: 14px;
  margin: 0;
}
.rating-scale {
  padding: 0;
  margin: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  position: relative;
  gap: 12px;
}
.rating-scale:before {
  content: "";
  position: absolute;
  height: 2px;
  top: 24px;
  left: 10%;
  right: 10%;
  background: linear-gradient(
    90deg,
    #b9cbaa,
    #cbd1ad,
    #dfd09f,
    #dfba9e,
    #d8adb6
  );
}
.rating-tier {
  display: flex;
  align-items: center;
  flex-direction: column;
  text-align: center;
  color: var(--rating-color);
  position: relative;
  min-width: 0;
}
.rating-orb {
  background: var(--rating-bg);
  border: 1px solid var(--rating-line);
  width: 51px;
  height: 51px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  outline: 5px solid #f6f1e9;
  position: relative;
  margin-bottom: 12px;
}
.rating-yarn {
  width: 35px;
  height: 35px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.rating-tier > strong {
  font-size: 11px;
  font-weight: 600;
  line-height: 1.5;
}
.rating-tier > span:last-child {
  font-size: 9px;
  margin-top: 4px;
  opacity: 0.85;
}
.meter-footnote {
  font-size: 8px;
  text-align: center;
  color: #a08c92;
  margin: 19px 0 0;
}
.price-verdict {
  display: flex;
  gap: 8px;
  align-items: center;
  background: var(--rating-bg);
  color: var(--rating-color);
  padding: 9px;
  border-radius: 5px;
  margin: 0 0 14px;
  min-height: 52px;
}
.price-verdict .rating-yarn {
  width: 28px;
  height: 28px;
}
.price-verdict > span {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.price-verdict strong {
  font-size: 10px;
  font-weight: 600;
  line-height: 1.35;
}
.price-verdict small {
  font-size: 8px;
  opacity: 0.88;
}
.price-verdict-compact {
  padding: 7px 10px;
  min-height: 42px;
  display: inline-flex;
  margin: 6px 0 0;
}
.price-verdict-compact .rating-yarn {
  width: 24px;
  height: 24px;
}
.stash-item .price-verdict-compact {
  display: flex;
  width: fit-content;
  margin-top: 9px;
}

/* Brief seasonal welcomes are decorative, nonblocking, and always skippable. */
.seasonal-layer {
  position: fixed;
  inset: 0;
  contain: strict;
  pointer-events: none;
  z-index: 80;
  overflow: hidden;
  isolation: isolate;
}
.seasonal-layer[hidden] {
  display: none;
}
.season-fall {
  --season-ink: #896044;
  --season-bg: #faf1e2;
  --season-line: #dbc6a9;
}
.season-black-friday {
  --season-ink: #764e64;
  --season-bg: #f8eef0;
  --season-line: #d5b8c4;
}
.season-christmas {
  --season-ink: #627768;
  --season-bg: #f0f4eb;
  --season-line: #c9d4c1;
}
.season-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.season-particle {
  position: absolute;
  left: var(--x);
  top: -60px;
  color: var(--particle-color);
  width: var(--size);
  height: var(--size);
  opacity: 0;
  animation: seasonal-drift 4.3s var(--delay) cubic-bezier(0.3, 0.2, 0.55, 0.85)
    both;
}
.season-particle svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.season-fall .season-particle svg {
  fill: currentColor;
  stroke-width: 1.1;
  opacity: 0.55;
}
.season-fall .leaf-vein {
  fill: none;
  stroke: #fff9ed;
  stroke-width: 1.5;
  opacity: 0.8;
}
.season-christmas .season-particle {
  animation-duration: 4.5s;
}
.season-christmas .season-particle svg {
  stroke-width: 1.5;
}
.seasonal-welcome {
  position: absolute;
  right: 28px;
  bottom: 26px;
  pointer-events: auto;
  border: 1px solid var(--season-line);
  background: var(--season-bg);
  box-shadow: 0 8px 30px #533d4312;
  border-radius: 10px;
  color: var(--season-ink);
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 21px 42px 22px 19px;
  max-width: 390px;
  animation: seasonal-greeting 5.2s ease both;
}
.seasonal-welcome-icon {
  display: grid;
  place-items: center;
  width: 45px;
  height: 45px;
  flex-shrink: 0;
  border: 1px solid var(--season-line);
  border-radius: 50%;
}
.seasonal-welcome-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.season-fall .seasonal-welcome-icon svg {
  fill: currentColor;
  fill-opacity: 0.2;
}
.seasonal-kicker {
  font-size: 7px;
  letter-spacing: 1.4px;
  opacity: 0.7;
}
.seasonal-welcome h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 21px;
  letter-spacing: -0.5px;
  margin: 5px 0 6px;
}
.seasonal-welcome p {
  font-size: 10px;
  line-height: 1.7;
  margin: 0;
  opacity: 0.8;
}
.skip-seasonal {
  position: absolute;
  top: 9px;
  right: 10px;
  font-size: 8px;
  color: inherit;
  padding: 4px;
  opacity: 0.8;
}
.seasonal-preview-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 0 4px;
  color: var(--plum);
  border-bottom: 1px solid #cfb7c2;
  margin: 0 0 9px;
  font-size: 10px;
}
.seasonal-preview-link .icon {
  width: 13px;
  height: 13px;
}
.seasonal-dialog {
  width: 780px;
  padding: 38px;
}
.seasonal-dialog > .eyebrow {
  font-size: 8px;
  color: #9d7c8b;
}
.seasonal-dialog h2 {
  font-size: 33px;
  margin-top: 9px;
}
.seasonal-dialog h2 em {
  font-weight: 400;
  color: var(--plum);
}
.seasonal-intro {
  font-size: 12px;
  line-height: 1.8;
  color: #99828e;
  margin: 15px 0 25px;
}
.seasonal-choices {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.season-choice {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px 13px 17px;
  border: 1px solid var(--season-line);
  border-radius: 9px;
  background: var(--season-bg);
  color: var(--season-ink);
  transition: transform 0.2s;
}
.season-choice:hover {
  transform: translateY(-3px);
}
.season-choice-art {
  height: 75px;
  width: 105px;
  position: relative;
  margin-bottom: 15px;
}
.season-choice-art svg {
  position: absolute;
  width: 49px;
  height: 49px;
  left: 12px;
  top: 8px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform: rotate(-20deg);
}
.season-choice-art svg + svg {
  width: 29px;
  height: 29px;
  right: 5px;
  left: auto;
  top: 36px;
  opacity: 0.6;
  transform: rotate(24deg);
}
.season-fall .season-choice-art svg {
  fill: currentColor;
  fill-opacity: 0.2;
}
.season-choice > strong {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.35;
}
.season-choice > span:not(.season-choice-art) {
  font-size: 9px;
  line-height: 1.7;
  opacity: 0.8;
  margin-top: 8px;
}
.season-choice > small {
  font-size: 9px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  width: 100%;
  border-top: 1px solid var(--season-line);
  padding-top: 14px;
  margin-top: 23px;
}
.seasonal-reassurance {
  font-size: 10px;
  line-height: 1.8;
  color: #9a8490;
  margin: 24px 0 0;
  max-width: 620px;
}
.seasonal-layer[data-motion="still"] .season-particle {
  animation: none;
  top: var(--still-top);
  opacity: 0.4;
  transform: rotate(var(--spin));
}
.seasonal-layer[data-motion="still"] .seasonal-welcome {
  animation: none;
}
@keyframes seasonal-drift {
  0% {
    opacity: 0;
    transform: translate3d(0, -20px, 0) rotate(-15deg);
  }
  15% {
    opacity: 0.7;
  }
  80% {
    opacity: 0.55;
  }
  100% {
    opacity: 0;
    transform: translate3d(var(--drift), 115vh, 0) rotate(var(--spin));
  }
}
@keyframes seasonal-greeting {
  0% {
    opacity: 0;
    transform: translateY(12px);
  }
  8%,
  88% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(8px);
  }
}
@media (max-width: 800px) {
  .stash-meter-panel {
    padding: 21px 17px 15px;
  }
  .meter-intro > p {
    font-size: 12px;
  }
  .rating-tier > strong {
    font-size: 9px;
  }
  .rating-tier > span:last-child {
    font-size: 8px;
  }
  .rating-scale {
    gap: 8px;
  }
  .seasonal-welcome {
    right: 20px;
    bottom: 20px;
  }
}
@media (max-width: 560px) {
  .stash-meter-panel {
    padding: 20px 14px 14px;
    margin-bottom: 21px;
  }
  .meter-intro {
    display: block;
    margin-bottom: 20px;
  }
  .meter-intro h3 {
    font-size: 24px;
  }
  .meter-intro > p {
    font-size: 12px;
    margin-top: 9px;
  }
  .rating-scale {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .rating-scale:before {
    left: 21px;
    top: 18px;
    bottom: 18px;
    right: auto;
    width: 2px;
    height: auto;
    background: linear-gradient(#b9cbaa, #cbd1ad, #dfd09f, #dfba9e, #d8adb6);
  }
  .rating-tier {
    display: grid;
    grid-template-columns: 43px 1fr;
    grid-template-rows: 1fr 1fr;
    text-align: left;
    column-gap: 16px;
    min-height: 63px;
  }
  .rating-orb {
    width: 43px;
    height: 43px;
    margin: 0;
    grid-row: 1/3;
  }
  .rating-orb .rating-yarn {
    height: 31px;
    width: 31px;
  }
  .rating-tier > strong {
    align-self: end;
    font-size: 11px;
    padding-bottom: 2px;
  }
  .rating-tier > span:last-child {
    align-self: start;
    font-size: 9px;
    margin: 3px 0 0;
  }
  .meter-footnote {
    font-size: 8px;
    line-height: 1.7;
    text-align: left;
    margin-top: 16px;
  }
  .price-verdict {
    padding: 8px 6px;
    gap: 5px;
    min-height: 58px;
    margin-bottom: 11px;
  }
  .price-verdict .rating-yarn {
    height: 22px;
    width: 22px;
  }
  .price-verdict strong {
    font-size: 8px;
  }
  .price-verdict small {
    font-size: 7px;
  }
  .comparison-top .price-verdict strong,
  .stash-item .price-verdict strong {
    font-size: 9px;
  }
  .seasonal-welcome {
    right: 14px;
    left: 14px;
    bottom: 15px;
    max-width: none;
    padding: 18px 38px 18px 14px;
    gap: 10px;
  }
  .seasonal-welcome h3 {
    font-size: 20px;
  }
  .seasonal-welcome p {
    font-size: 10px;
  }
  .seasonal-welcome-icon {
    width: 37px;
    height: 37px;
  }
  .seasonal-welcome-icon svg {
    width: 24px;
    height: 24px;
  }
  .seasonal-dialog {
    padding: 30px 22px;
  }
  .seasonal-dialog h2 {
    font-size: 29px;
  }
  .seasonal-choices {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .season-choice {
    display: grid;
    grid-template-columns: 60px 1fr;
    text-align: left;
    column-gap: 13px;
    padding: 17px 13px;
  }
  .season-choice-art {
    height: 62px;
    width: 60px;
    grid-row: 1/4;
    margin: 0;
  }
  .season-choice-art svg {
    width: 39px;
    height: 39px;
    left: 0;
  }
  .season-choice-art svg + svg {
    width: 23px;
    height: 23px;
    right: 0;
    top: 33px;
  }
  .season-choice > strong {
    font-size: 18px;
  }
  .season-choice > span:not(.season-choice-art) {
    font-size: 9px;
    margin: 4px 0;
  }
  .season-choice > small {
    font-size: 9px;
    border: 0;
    margin: 0;
    padding-top: 7px;
  }
  .seasonal-reassurance {
    font-size: 9px;
    margin-top: 17px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .season-particle,
  .seasonal-welcome {
    animation: none !important;
  }
  .season-choice:hover {
    transform: none;
  }
}

/* ---- Home hero photo and category tiles ------------------------------------------ */
.hero.hero-photo {
  display: block;
  position: relative;
  padding: 0;
  margin-top: 28px;
  margin-bottom: 8px;
  border-radius: 14px;
  overflow: hidden;
  background: #efe7dd;
}
.hero-picture,
.hero-picture img {
  display: block;
  width: 100%;
}
.hero-picture img {
  height: auto;
  aspect-ratio: 1920 / 1079;
  min-height: 460px;
  object-fit: cover;
  object-position: 70% center;
}
.hero-photo .hero-copy {
  position: absolute;
  inset: 0 auto 0 0;
  width: min(50%, 560px);
  padding: 44px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  background: linear-gradient(90deg, #fbf8f2e6 0%, #fbf8f2b3 70%, #fbf8f200 100%);
}
.hero-photo .hero-copy > p {
  color: #6f5f66;
}
.category-tiles {
  padding-top: 44px;
}
.category-tiles .eyebrow {
  color: #9b7a84;
  font-size: 9px;
}
.category-tiles h2 em {
  color: var(--plum);
}
.tile-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 20px;
}
.category-tile {
  position: relative;
  display: block;
  border-radius: 10px;
  overflow: hidden;
  background: #efe7dd;
  aspect-ratio: 1;
}
.category-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}
.category-tile:hover img {
  transform: scale(1.04);
}
.tile-label {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  background: #fffdf9eb;
  border-radius: 6px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.tile-label strong {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 19px;
  color: var(--ink);
}
.tile-label small {
  font-size: 11px;
  color: var(--muted);
}
/* Stash-o-meter: the neutral "still learning" state has no tier color. */
.verdict-learning {
  --rating-color: #7a6e71;
  --rating-bg: #f1ece6;
  --rating-line: #ddd3cb;
}
.line-verdict {
  margin: 8px 0 4px;
  max-width: 320px;
}
.price-table .price-verdict {
  margin: 0;
}
@media (max-width: 900px) {
  .tile-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero-photo .hero-copy {
    width: 62%;
    padding: 32px;
  }
}
@media (max-width: 699px) {
  .hero.hero-photo {
    display: flex;
    flex-direction: column-reverse;
    background: none;
    border-radius: 0;
  }
  .hero-photo .hero-copy {
    position: static;
    width: auto;
    padding: 24px 0 22px;
    background: none;
  }
  .hero-picture img {
    aspect-ratio: 1080 / 1339;
    min-height: 0;
    max-height: 440px;
    object-fit: cover;
    object-position: center 70%;
    border-radius: 12px;
  }
}

/* ---- Colorway visuals ---------------------------------------------------------------- */
.chip-img,
.chip-dot {
  display: inline-block;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid #00000014;
  object-fit: cover;
  background: var(--swatch, #e9ddc6);
  flex-shrink: 0;
}
.chip-strip {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-right: 6px;
  vertical-align: middle;
}
.chip-strip .chip-img,
.chip-strip .chip-dot {
  width: 20px;
  height: 20px;
}
.color-visual {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.color-visual .chip-img,
.color-visual .chip-dot {
  width: 32px;
  height: 32px;
}
.muted {
  color: var(--muted);
}

/* ---- Browse by weight ----------------------------------------------------------------- */
.weight-tiles {
  margin-top: 24px;
}
.weight-ball {
  position: absolute;
  inset: 18% 18% 30%;
  border-radius: 50%;
  background:
    repeating-linear-gradient(115deg, #ffffff22 0 3px, transparent 3px 9px),
    radial-gradient(circle at 34% 30%, #ffffff66, transparent 55%),
    var(--ball, #e2b7c3);
  box-shadow: inset -14px -18px 30px #5c394024;
}
.weight-ball.cyc-0 { --ball: #ead9df; }
.weight-ball.cyc-2 { --ball: #b9c4ad; }
.weight-ball.cyc-3 { --ball: #e9ddc6; }
.weight-ball.cyc-6 { --ball: #ad8fa0; }
.weight-ball.cyc-7 { --ball: #c9a98c; }
.lines-bar {
  display: none;
  margin: 18px 0 6px;
}
.line-table {
  width: 100%;
  margin-top: 16px;
  border: 1px solid #e8e0da;
  border-radius: 8px;
  background: var(--paper);
  border-collapse: separate;
  border-spacing: 0;
}
.line-table td {
  white-space: normal;
  vertical-align: middle;
}
.line-table th button {
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  color: inherit;
  padding: 0;
  min-height: 32px;
}
.line-table th button[aria-sort="ascending"]::after {
  content: " \25B2";
  font-size: 8px;
}
.lr-name a {
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: var(--ink);
}
.lr-name small,
.lr-colors small {
  color: var(--muted);
  font-size: 11px;
}
.lr-colors {
  min-width: 190px;
}

/* ---- Filters drawer (Deals) ------------------------------------------------------------ */
.filters-toggle {
  display: none;
}
.finder-filters {
  display: contents;
}

/* ---- Mobile pass (360 to 700 px) -------------------------------------------------------- */
@media (max-width: 699px) {
  .container {
    width: calc(100% - 32px);
  }
  html,
  body {
    overflow-x: hidden;
  }
  /* Tap targets of at least 44 px. */
  .site-header nav a,
  .saved-nav,
  .deal-tabs button,
  .card-footer,
  .heart-button,
  .button,
  .color-options button,
  .select-wrap select,
  .footer-note a,
  .footer-links a,
  .crumbs a,
  .seasonal-preview-link,
  .skip-seasonal,
  .dialog-close,
  .stash-remove,
  .coupon-report button,
  .table-go,
  .filters-toggle {
    min-height: 44px;
  }
  .heart-button,
  .dialog-close {
    min-width: 44px;
  }
  .site-header nav a,
  .footer-links a,
  .crumbs a,
  .table-go {
    display: inline-flex;
    align-items: center;
  }
  .footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0 12px;
  }
  body {
    font-size: 15px;
  }
  .card-specs span,
  .skein-price,
  .best-store,
  .unit-price,
  .per-label,
  .eyebrow,
  .footer-note p,
  .disclosure-inline,
  .meter-footnote,
  .rating-tier > span:last-child,
  .rating-tier > strong {
    font-size: 12px !important;
  }
  .deal-tabs {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .deal-tabs button {
    flex-shrink: 0;
  }
  /* Filters collapse into a sheet behind one button. */
  .filters-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 5px;
    font-size: 14px;
    color: var(--plum);
    font-weight: 600;
  }
  .finder-filters {
    display: none;
  }
  .finder-filters.open {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    width: 100%;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #f6f1e9;
  }
  .finder-filters .select-wrap,
  .finder-filters .color-filter {
    width: 100%;
    min-height: 48px;
  }
  .color-options {
    flex-wrap: wrap;
  }
  .rating-scale {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    display: grid;
  }
  .rating-scale:before {
    display: none;
  }
  .results-bar {
    flex-wrap: wrap;
    gap: 8px;
  }
  /* Tables become cards: no horizontal scrolling. */
  .table-wrap {
    overflow-x: visible;
    border: 0;
    background: none;
  }
  .price-table,
  .price-table tbody,
  .price-table tr,
  .price-table td {
    display: block;
    width: 100%;
  }
  .price-table thead {
    display: none;
  }
  .price-table tr {
    background: var(--paper);
    border: 1px solid #e8e0da;
    border-radius: 8px;
    padding: 10px 12px;
    margin-bottom: 10px;
  }
  .price-table td {
    border: 0;
    padding: 4px 0;
    white-space: normal;
    text-align: left !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
  }
  .price-table td[data-label]::before {
    content: attr(data-label);
    font-size: 11px;
    color: var(--muted);
    letter-spacing: 0.3px;
  }
  .line-table {
    border: 0;
    background: none;
  }
  .line-table td.lr-name::before,
  .line-table td.lr-colors::before {
    display: none;
  }
  .lr-name a {
    font-size: 16px;
  }
  .lr-colors {
    min-width: 0;
    justify-content: flex-start !important;
  }
  .lr-meter:empty,
  .lr-g:empty,
  .lr-store:empty {
    display: none !important;
  }
  .lines-bar {
    display: block;
  }
  .lines-sort select {
    min-height: 44px;
  }
  dialog {
    width: calc(100vw - 20px) !important;
    max-width: calc(100vw - 20px) !important;
    max-height: calc(100dvh - 40px);
    padding: 22px 16px !important;
    overflow-y: auto;
  }
  .compare-row {
    flex-wrap: wrap;
  }
  .hero-photo h1 {
    font-size: 38px;
  }
  .history-chart .axis {
    font-size: 16px;
  }
}
@media (max-width: 699px) {
  .deal-card h3 a,
  .disclosure-inline a,
  .lede a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
  .search-box,
  .search-box input,
  .results-bar select {
    min-height: 44px;
  }
  .announcement,
  .saved-nav .count,
  .deal-tabs button span,
  .discount-badge,
  .price-verdict strong,
  .price-verdict small,
  .results-bar,
  .results-bar strong,
  .select-wrap span,
  .site-footer > div > p,
  .lines-sort span {
    font-size: 12px !important;
  }
}
@media (max-width: 699px) {
  .maker-note-copy a,
  .prose a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
  .how-steps article > span,
  .load-more-wrap p {
    font-size: 12px !important;
  }
}

/* ---- Shop local ----------------------------------------------------------------------- */
.near-me {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 14px 22px;
  margin: 22px 0 8px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f6f1e9;
}
.zip-form {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
}
.zip-form span {
  display: flex;
  gap: 8px;
}
.zip-form input {
  width: 110px;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 0 12px;
  font-size: 16px;
  background: var(--paper);
}
.near-status {
  flex-basis: 100%;
  margin: 0;
  font-size: 12px;
  color: var(--muted);
}
.shop-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 18px;
}
.shop-card {
  border: 1px solid #e8e0da;
  border-radius: 10px;
  background: var(--paper);
  padding: 18px;
}
.shop-card-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
}
.shop-card h2 {
  font-size: 22px;
  margin: 0;
}
.shop-distance {
  font-size: 12px;
  font-weight: 650;
  color: var(--plum);
  white-space: nowrap;
}
.shop-where,
.shop-hours {
  font-size: 13px;
  color: #6f6066;
  margin: 6px 0;
}
.shop-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  font-size: 13px;
}
.shop-links a,
.shop-card h2 a {
  color: var(--plum);
}
.shop-links a {
  border-bottom: 1px solid #d9c3cb;
}
.add-shop-cta {
  margin-top: 34px;
  padding: 22px;
  border-radius: 10px;
  background: var(--sage);
}
.add-shop-cta h2 {
  margin: 0 0 6px;
  font-size: 24px;
}
.shop-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 28px;
  margin-top: 8px;
}
.shop-facts {
  border: 1px solid #e8e0da;
  border-radius: 10px;
  background: var(--paper);
  padding: 18px;
  align-self: start;
}
.shop-facts h2 {
  margin-top: 0;
  font-size: 22px;
}
.shop-facts h3 {
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
  margin: 16px 0 4px;
}
.shop-facts p {
  margin: 4px 0;
  font-size: 14px;
}
.shop-about {
  white-space: pre-line;
  line-height: 1.8;
}
.shop-photo {
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 8px 0 16px;
}
.shop-form {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}
.shop-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  color: #5f5157;
  font-weight: 600;
}
.shop-form input,
.shop-form textarea {
  font: inherit;
  font-weight: 400;
  font-size: 16px;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px 12px;
  background: var(--paper);
}
.shop-form .check {
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
  font-weight: 400;
}
.shop-form .check input {
  min-height: 0;
  width: 22px;
  height: 22px;
  margin-top: 1px;
}
.form-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 12px;
}
.form-status {
  font-size: 14px;
  color: var(--plum);
  min-height: 1em;
}
@media (max-width: 699px) {
  .shop-grid,
  .form-row {
    grid-template-columns: 1fr;
  }
  .near-me .button {
    width: 100%;
  }
  .shop-links a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
  .shop-form .check {
    min-height: 44px;
  }
}
.shop-page h2 {
  font-size: 28px;
  margin-top: 26px;
}
@media (max-width: 699px) {
  .shop-page h2 {
    font-size: 24px;
  }
}
@media (max-width: 699px) {
  .zip-form input,
  .zip-form button,
  .fine-print a,
  .shop-page .price-table td a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
  .shop-form input,
  .shop-form textarea {
    min-height: 48px;
  }
  .shop-page .price-table small {
    font-size: 12px;
  }
}
@media (max-width: 699px) {
  .shop-facts a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
  .shop-form label small {
    font-size: 12px;
  }
}
