.shop-page {
  background: var(--paper, #fffaf1);
  color: var(--ink, #2b1934);
}

.shop-page [hidden] {
  display: none !important;
}

.shop-page a:focus-visible,
.shop-page input:focus-visible + span {
  outline: 3px solid #85539d;
  outline-offset: 4px;
}

.shop-skip {
  position: absolute;
  inset: 1rem auto auto 1rem;
  z-index: 10;
  transform: translateY(-160%);
  border-radius: .25rem;
  padding: .65rem 1rem;
  background: #fffaf1;
  color: #2b1934;
}

.shop-skip:focus {
  transform: none;
}

.shop-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--plum, #2b1934);
  color: #fff8f0;
}

.shop-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  right: -8rem;
  bottom: -14rem;
  width: 36rem;
  height: 36rem;
  transform: rotate(-19deg);
  border: 1px solid #fff8f22b;
  outline: 1px solid #fff8f225;
  outline-offset: -1.3rem;
}

.shop-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(15rem, .48fr);
  gap: clamp(1.9rem, 6vw, 6rem);
  align-items: center;
  padding-block: clamp(3.5rem, 8.5vw, 8.3rem);
}

.shop-eyebrow {
  margin: 0 0 1rem;
  color: #ffad96;
  font-size: .82rem;
  font-weight: 760;
  letter-spacing: .12em;
  line-height: 1.5;
  text-transform: uppercase;
}

.shop-hero h1,
.shop-chapter h2,
.shop-plan-note h2,
.shop-hero-note h2 {
  margin: 0;
  font-family: var(--display, Georgia, serif);
  font-weight: 500;
  letter-spacing: -.05em;
  line-height: .99;
}

.shop-hero h1 {
  max-width: 11ch;
  font-size: clamp(3.4rem, 7.4vw, 7.7rem);
}

.shop-lede {
  max-width: 35rem;
  margin: 1.45rem 0 0;
  color: #efe0ec;
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  line-height: 1.6;
  text-wrap: pretty;
}

.shop-hero-note {
  transform: rotate(3deg);
  border: 1px solid #4b304f;
  padding: clamp(1.3rem, 3.5vw, 2.65rem);
  background: #f1dfed;
  color: #2b1934;
  box-shadow: .45rem .45rem 0 #fb987f;
}

.shop-note-rule {
  width: 5.8rem;
  height: .65rem;
  margin-bottom: 1.6rem;
  background: repeating-linear-gradient(90deg, #2b1934 0 2px, transparent 2px 4px, #2b1934 4px 7px, transparent 7px 9px, #2b1934 9px 10px, transparent 10px 13px);
}

.shop-hero-note .shop-eyebrow {
  margin-bottom: .4rem;
  color: #694367;
}

.shop-hero-note h2 {
  font-size: clamp(2.25rem, 4vw, 4.25rem);
}

.shop-hero-note p:last-child {
  margin: .85rem 0 0;
  font-size: 1rem;
  line-height: 1.55;
}

.shop-content {
  padding-block: 0 clamp(3rem, 7vw, 6.5rem);
}

.shop-controls {
  padding-block: 1.7rem 1.55rem;
  border-bottom: 1px solid var(--line, #d9c9d8);
}

#shop-filters {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: .75rem 2rem;
}

#shop-filters fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

#shop-filters legend {
  margin-bottom: .65rem;
  padding: 0;
  font-size: .96rem;
  font-weight: 720;
}

.shop-choices,
.shop-static-nav {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

#shop-filters:not([hidden]) + .shop-static-nav {
  display: none;
}

.shop-choices label {
  position: relative;
  display: inline-flex;
  cursor: pointer;
}

.shop-choices input {
  position: absolute;
  inset: .6rem auto auto 1rem;
  width: 1px;
  height: 1px;
  margin: 0;
  opacity: 0;
}

.shop-choices span,
.shop-static-nav a {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  border: 1px solid var(--line, #d9c9d8);
  border-radius: 999px;
  padding: .55rem .95rem;
  background: #fffdf6;
  color: var(--ink, #2b1934);
  font-size: .92rem;
  font-weight: 680;
  line-height: 1.3;
  text-decoration: none;
}

.shop-choices label:hover span,
.shop-static-nav a:hover {
  border-color: #765578;
}

.shop-choices input:checked + span {
  border-color: var(--plum, #2b1934);
  background: var(--plum, #2b1934);
  color: #fffaf1;
}

.shop-status,
.shop-disclosure,
.shop-source-note {
  color: var(--muted, #625168);
  font-size: .91rem;
  line-height: 1.5;
}

.shop-status {
  margin: 0 0 .65rem;
  text-align: right;
}

.shop-disclosure {
  margin: .8rem 0 0;
}

.shop-chapter {
  padding-block: clamp(2.7rem, 6vw, 5.2rem) clamp(2.4rem, 5vw, 4.3rem);
  border-bottom: 1px solid var(--line, #d9c9d8);
  scroll-margin-top: 6.25rem;
}

.shop-chapter-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: .6rem 1.7rem;
  margin-bottom: clamp(1.3rem, 3.5vw, 2.45rem);
}

.shop-chapter h2,
.shop-plan-note h2 {
  font-size: clamp(2.85rem, 5vw, 5.3rem);
}

.shop-chapter-heading p,
.shop-plan-note p {
  margin: .75rem 0 0;
  color: var(--muted, #625168);
  font-size: 1.04rem;
  line-height: 1.55;
  text-wrap: pretty;
}

.shop-text-link {
  flex: 0 0 auto;
  padding-block: .6rem;
  color: #623562;
  font-weight: 720;
  text-decoration: underline;
  text-decoration-thickness: .08em;
  text-underline-offset: .22em;
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line, #d9c9d8);
  border-radius: .7rem;
  background: var(--line, #d9c9d8);
}

.shop-grid-packing {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.shop-pick {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: clamp(1.2rem, 3vw, 2.25rem);
  background: #fffdf6;
  scroll-margin-top: 6.25rem;
}

.shop-pick-reuse {
  background: #efdfec;
}

.shop-action {
  align-self: flex-start;
  margin: 0 0 1rem;
  border: 1px solid #d9bfd6;
  border-radius: .22rem;
  padding: .28rem .56rem;
  background: #f3e5ef;
  color: #5e355e;
  font-size: .76rem;
  font-weight: 780;
  letter-spacing: .06em;
  line-height: 1.3;
  text-transform: uppercase;
}

.shop-pick h3 {
  margin: 0 0 .5rem;
  font-family: var(--display, Georgia, serif);
  font-size: clamp(1.7rem, 2.4vw, 2.3rem);
  font-weight: 510;
  letter-spacing: -.035em;
  line-height: 1.11;
  text-wrap: balance;
}

.shop-pick p:not(.shop-action) {
  margin: 0 0 .95rem;
  font-size: 1rem;
  line-height: 1.53;
  text-wrap: pretty;
}

.shop-pick .shop-check {
  padding: .78rem .88rem;
  border-left: 2px solid #d69a9b;
  background: #f9eee8;
}

.shop-check strong {
  display: block;
  margin-bottom: .16rem;
  color: #472c48;
  font-size: .88rem;
}

.shop-card-links {
  display: grid;
  justify-items: start;
  gap: .23rem;
  margin-top: auto;
}

.shop-card-links a,
.shop-source-note a {
  color: #653867;
  font-weight: 670;
  line-height: 1.5;
  text-decoration: underline;
  text-decoration-thickness: .08em;
  text-underline-offset: .19em;
  overflow-wrap: anywhere;
}

.shop-card-links a {
  padding-block: .34rem;
}

.shop-card-links a:hover,
.shop-source-note a:hover,
.shop-text-link:hover {
  color: #3b153d;
}

.shop-plan-note {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.4rem 2rem;
  margin-top: clamp(2rem, 5vw, 4.3rem);
  border: 1px solid #d9bfd6;
  border-radius: .55rem;
  padding: clamp(1.4rem, 4.25vw, 3.4rem);
  background: #f2e2ee;
}

.shop-plan-note h2 {
  font-size: clamp(2.2rem, 3.9vw, 4.15rem);
}

.shop-plan-note .button {
  flex-shrink: 0;
}

.shop-footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .8rem 1.5rem;
}

@media (max-width: 51rem) {
  .shop-grid:not(.shop-grid-packing) {
    grid-template-columns: 1fr 1fr;
  }

  .shop-grid:not(.shop-grid-packing) > .shop-pick:last-child {
    grid-column: 1 / -1;
  }

  .shop-hero-inner {
    grid-template-columns: 1fr minmax(11rem, .55fr);
  }
}

@media (max-width: 36rem) {
  .shop-hero-inner,
  .shop-grid,
  .shop-grid:not(.shop-grid-packing) {
    grid-template-columns: 1fr;
  }

  .shop-hero-inner {
    align-items: start;
    padding-block: 3.2rem;
  }

  .shop-hero-note {
    max-width: 24rem;
    margin-inline-end: .4rem;
    transform: none;
  }

  .shop-note-rule {
    margin-bottom: 1rem;
  }

  #shop-filters,
  .shop-chapter-heading,
  .shop-plan-note {
    flex-direction: column;
    align-items: flex-start;
  }

  .shop-status {
    margin: 0;
    text-align: left;
  }

  .shop-nav-cta {
    display: none;
  }
}

@media print {
  .shop-page .site-header,
  .shop-page .site-footer,
  #shop-filters,
  .shop-static-nav,
  .shop-hero-note,
  .shop-plan-note {
    display: none !important;
  }

  .shop-hero,
  .shop-lede,
  .shop-eyebrow {
    color: #231a23;
    background: white;
  }

  .shop-hero-inner {
    padding-block: 1rem;
  }

  .shop-pick {
    break-inside: avoid;
  }
}
