/* Sample Glaze collection and detail pages. Shared shell lives in home.css. */
.studio-page {
  --bg2: #f3f2ed;
  --bg3: #edede7;
  --card: #faf9f6;
  --sage: #416556;
  --peach-bg: #edf0eb;
  --shadow: none;
  --shadow-lg: none;
  --r: 0;
  --r-pill: 0;
}
.studio-navigation [aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 7px;
}
/* The footer's rule is .footer-bottom's (home.css), so no second one here. */
.studio-page .btn-primary {
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  min-height: 46px;
  padding: 14px 24px;
}
.studio-page .btn-primary:hover {
  background: #574a3d;
  transform: none;
  box-shadow: none;
}
.studio-page button:disabled {
  cursor: not-allowed;
}
.studio-page #main {
  scroll-margin-top: 20px;
}
.collection-intro {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 7%;
  padding: 64px 5.5%;
}
.collection-intro h1,
.studio-page .cups-title,
.studio-page .about-title,
.studio-page .bac-title {
  font-family: var(--sans);
  font-size: clamp(40px, 4.8vw, 68px);
  font-weight: 300;
  line-height: 1.07;
  letter-spacing: -0.045em;
  margin: 20px 0 24px;
}
.collection-intro p:not(.eyebrow) {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink2);
  max-width: 48ch;
}
.collection-intro .text-link {
  margin-top: 28px;
}
.studio-page .cups-shipping {
  margin-top: 20px;
  font-size: 14px;
  color: var(--ink);
}
.collection-intro > img {
  width: 100%;
  height: 340px;
  object-fit: cover;
}
/* Custom Orders hero: a band within the page width, with the photo at its
   original size on the right. The photo itself isn't faded: the colour change
   happens in the empty space to its left, from the page colour to the photo's
   own cream (#fcf5eb). Thin feathers soften the seams on every side. */
.collection-intro.custom-hero {
  display: block;
  padding: 48px 5.5%;
}
.custom-hero-band {
  --photo: 460px;
  --inset: 56px;
  --fade-r: 64px;
  position: relative;
  min-height: var(--photo);
  display: flex;
  align-items: center;
  background:
    linear-gradient(
      to bottom,
      var(--bg) 0,
      #faf9f600 6%,
      #faf9f600 88%,
      var(--bg) 100%
    ),
    linear-gradient(
      90deg,
      var(--bg) 0,
      var(--bg) calc(100% - var(--photo) - var(--inset) - 380px),
      #fcf5eb calc(100% - var(--photo) - var(--inset)),
      #fcf5eb calc(100% - var(--inset) - var(--fade-r)),
      var(--bg) 100%
    );
}
/* The right fade only covers the empty backdrop past the bowl (its rim ends at ~89% of the photo). */
.custom-hero-band > img {
  position: absolute;
  top: 0;
  right: var(--inset);
  width: var(--photo);
  height: var(--photo);
  -webkit-mask-image:
    linear-gradient(
      to right,
      transparent 0,
      #000 24px,
      #000 calc(100% - var(--fade-r)),
      transparent 100%
    ),
    linear-gradient(
      to bottom,
      transparent 0,
      #000 6%,
      #000 88%,
      transparent 100%
    );
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(
      to right,
      transparent 0,
      #000 24px,
      #000 calc(100% - var(--fade-r)),
      transparent 100%
    ),
    linear-gradient(
      to bottom,
      transparent 0,
      #000 6%,
      #000 88%,
      transparent 100%
    );
  mask-composite: intersect;
}
.custom-hero-copy {
  position: relative;
  z-index: 1;
}
.collection-intro.custom-hero .custom-hero-copy > * {
  max-width: 560px;
}
@media (min-width: 901px) and (max-width: 1050px) {
  .collection-intro.custom-hero .custom-hero-copy > * {
    max-width: 380px;
  }
}
/* Tablets and phones: text on top, the photo below it on the right, with the
   same colour change in the empty space to its left. */
@media (max-width: 900px) {
  .collection-intro.custom-hero {
    padding: 36px 5.5% 24px;
  }
  .custom-hero-band {
    --photo: min(89vw, 460px);
    display: block;
    min-height: 0;
    padding-bottom: calc(var(--photo) + 16px);
    background:
      linear-gradient(
        to bottom,
        var(--bg) 0,
        var(--bg) calc(100% - var(--photo) - 40px),
        #faf9f600 calc(100% - var(--photo) + 30px),
        #faf9f600 88%,
        var(--bg) 100%
      ),
      linear-gradient(
        90deg,
        var(--bg) 0,
        var(--bg) calc(100% - var(--photo) - var(--inset) - 380px),
        #fcf5eb calc(100% - var(--photo) - var(--inset)),
        #fcf5eb calc(100% - var(--inset) - var(--fade-r)),
        var(--bg) 100%
      );
  }
  .custom-hero-band > img {
    top: auto;
    bottom: 0;
  }
}
@media (max-width: 760px) {
  .collection-intro.custom-hero {
    padding: 36px 24px 24px;
  }
  .custom-hero-band {
    --photo: min(100vw - 48px, 460px);
    --inset: 0px;
    --fade-r: 40px;
  }
}
.glaze-intro {
  padding-top: 58px;
  padding-bottom: 58px;
}
.glaze-intro-note {
  padding: 40px 10%;
  border-left: 1px solid var(--border);
}
.glaze-intro-note > span {
  display: block;
  font-size: clamp(28px, 3.3vw, 46px);
  line-height: 1.25;
  font-weight: 300;
  color: #5e746b;
  letter-spacing: -0.025em;
}
.glaze-intro-note p {
  margin-top: 26px;
  font-size: 14px !important;
}
/* Catalog controls stay in normal document flow, so wrapped filters never cover content. */
.studio-page .filters-bar {
  position: static;
  background: transparent;
  backdrop-filter: none;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 22px 5.5%;
}
.studio-page .filters-inner {
  max-width: 1280px;
  gap: 16px;
  align-items: flex-start;
}
.studio-page .filters-label {
  font-size: 12px;
  font-weight: 400;
  padding-top: 12px;
}
.studio-page .filter-chips {
  gap: 4px;
}
.studio-page .chip {
  border: 1px solid transparent;
  background: transparent;
  box-shadow: none;
  font-size: 14px;
  font-weight: 400;
  padding: 10px 12px;
}
.studio-page .chip:hover {
  border-color: var(--border);
}
.studio-page .chip.active {
  background: #e5ebe5;
  color: var(--ink);
  border-color: #bcc8bf;
  box-shadow: none;
}
.studio-page .search-input {
  border: 0;
  border-bottom: 1px solid #969e9c;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font-size: 16px;
  padding-top: 10px;
  padding-bottom: 10px;
  width: 215px;
  scroll-margin-top: 30px;
}
.studio-page .search-input:focus {
  outline: 2px solid #416b70;
  outline-offset: 3px;
  box-shadow: none;
}
.studio-page .products {
  padding: 36px 5.5% 80px;
}
.studio-page .products-grid {
  max-width: 1280px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 38px 22px;
}
.studio-page .product-card,
.studio-page .cup-card {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}
.studio-page .product-card:hover,
.studio-page .cup-card:hover {
  transform: none;
  box-shadow: none;
}
.studio-page .card-swatch {
  height: auto;
  aspect-ratio: 1;
  border-radius: 0;
  overflow: hidden;
}
.studio-page .card-img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  border-radius: 0;
  filter: none;
}
.studio-page .card-body {
  padding: 15px 0 0;
}
.studio-page .card-code {
  font-size: 12px;
  font-weight: 400;
  color: var(--ink2);
  letter-spacing: 0.08em;
}
.studio-page .card-name {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.4;
  font-weight: 400;
  margin-top: 4px;
}
.studio-page .card-footer {
  margin-top: 12px;
}
.studio-page .card-price-amount {
  font-size: 16px;
  font-weight: 400;
  color: var(--ink);
}
.studio-page .card-price-label {
  font-size: 12px;
}
.studio-page .add-btn {
  border-radius: 0;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--ink);
  box-shadow: none;
}
.studio-page .add-btn:hover {
  background: #e5ebe5;
  transform: none;
}
.studio-page .badge {
  border-radius: 0;
  font-size: 12px;
  font-weight: 400;
  box-shadow: none;
}
.studio-page .badge-series {
  background: #faf9f6e6;
  color: var(--ink);
}
.studio-page .badge-new {
  background: #e4ebe2;
  color: #344d40;
}
.studio-page .badge-oos {
  background: #faf9f6;
  color: var(--ink2);
}
/* Pottery cards and the detail gallery give actual product images room to breathe. */
.studio-page .cups {
  max-width: 1440px;
  padding: 40px 5.5% 85px;
}
.studio-page .cups-head {
  text-align: left;
  padding: 20px 0 35px;
}
.studio-page .cups-eyebrow,
.studio-page .about-eyebrow,
.studio-page .bac-eyebrow {
  color: var(--ink2);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.22em;
}
.studio-page .cups-sub,
.studio-page .bac-sub {
  margin: 0;
  font-size: 17px;
  line-height: 1.7;
}
.studio-page .cups-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px 48px;
  margin-top: 24px;
}
.studio-page .cup-card-art {
  aspect-ratio: 1.05;
}
.studio-page .cup-card-badge {
  border-radius: 0;
  font-weight: 400;
  font-size: 13px;
  text-transform: none;
  letter-spacing: 0;
  background: #faf9f6eb;
  color: var(--ink);
  top: 12px;
  left: 12px;
}
.studio-page .cup-card-badge.unavailable {
  background: #e6e4e0;
}
.studio-page .cup-card-body {
  padding: 16px 0;
  gap: 6px;
}
.studio-page .cup-card-name,
.studio-page .cup-card-price {
  font-weight: 400;
  font-size: 16px;
}
.studio-page .cup-add {
  background: transparent;
  border: none;
  border-radius: 0;
  color: var(--ink);
  padding: 10px 0;
  font-size: 14px;
  font-weight: 400;
  text-underline-offset: 5px;
}
.studio-page .cup-add:hover {
  transform: none;
}
/* The whole card is a link: no underline across its text on hover. Instead
   "Add to cart" is underlined while the card is hovered, and always on touch
   screens, which can't hover. */
.studio-home a.cup-card-link:hover {
  text-decoration: none;
}
@media (hover: hover) {
  .studio-page .cup-card:hover .cup-add:not(.unavailable),
  .studio-page .cup-add:not(.unavailable):focus-visible {
    text-decoration: underline;
  }
}
@media (hover: none) {
  .studio-page .cup-add:not(.unavailable) {
    text-decoration: underline;
  }
}
.studio-page .cup-add.unavailable {
  border: none;
  background: transparent;
}
.studio-page .cup-card-actions {
  margin-top: -10px;
  padding-bottom: 16px;
}
.studio-page .pdp {
  max-width: 1440px;
  margin: 48px auto 90px;
  padding: 0 5.5%;
}
.studio-page .pdp-grid,
.studio-page .cd-grid {
  gap: 7%;
}
.studio-page .pdp-name,
.studio-page .cd-name {
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(32px, 3.8vw, 54px);
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin: 12px 0 24px;
}
.studio-page .pdp-price,
.studio-page .cd-price {
  font-weight: 400;
  font-size: 24px;
}
.studio-page .cd-main,
.studio-page .cd-thumb {
  border-radius: 0;
  box-shadow: none;
}
.studio-page .cd-avail,
.studio-page .pdp-stock {
  font-size: 14px;
  font-weight: 400;
}
.studio-page .pdp-series {
  font-size: 12px;
  font-weight: 400;
}
.studio-page .pdp-note,
.studio-page .cd-note,
.studio-page .pdp-attribution {
  font-size: 13px;
  line-height: 1.6;
}
.studio-page .cd-details {
  margin-top: 24px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.studio-page .cd-details summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 48px;
  font-size: 14px;
}
.studio-page .cd-details summary::-webkit-details-marker {
  display: none;
}
.studio-page .cd-details summary::after {
  content: "+";
  font-size: 18px;
  letter-spacing: 0;
}
.studio-page .cd-details[open] summary::after {
  content: "−";
}
.studio-page .cd-details dl {
  margin: 0 0 18px;
  display: grid;
  gap: 12px;
}
.studio-page .cd-detail {
  display: grid;
  grid-template-columns: 7.5em 1fr;
  gap: 16px;
  font-size: 14px;
  line-height: 1.6;
}
.studio-page .cd-detail dt {
  color: var(--ink);
}
.studio-page .cd-detail dd {
  margin: 0;
  color: var(--ink2);
  grid-column: 2;
}
.studio-page .facts {
  border-width: 1px 0;
}
.studio-page .facts h2,
.studio-page .howto h2 {
  font-size: 13px;
  font-weight: 400;
  color: var(--ink2);
}
.studio-page .facts dt,
.studio-page .facts dd {
  font-size: 14px;
}
.pottery-photo-placeholder {
  display: grid;
  place-items: center;
  height: 100%;
  min-height: 200px;
  color: var(--ink2);
  background: #efede9;
  font-size: 13px;
}
/* In a card the frame sets the height, so cards with and without photos line up. */
.cup-card-art .pottery-photo-placeholder {
  min-height: 0;
  text-align: center;
  padding: 0 12px;
}
/* Commission form, studio story and FAQ. */
/* Same container as the hero above, so the headings share one left edge. */
.studio-page .cst {
  max-width: 1440px;
  padding: 0 5.5% 80px;
}
.studio-page .cst-section-label {
  font-family: var(--sans);
  font-size: 24px;
  font-weight: 300;
  letter-spacing: -0.02em;
  margin-top: 56px;
  margin-bottom: 14px;
}
.studio-page .cst-section-note {
  font-size: 16px;
  line-height: 1.6;
  max-width: 68ch;
}
.studio-page .cst-form {
  max-width: none;
  border: 0;
  border-top: 1px solid var(--border);
  padding: 30px 0 0;
  border-radius: 0;
  box-shadow: none;
  scroll-margin-top: 24px;
}
.studio-page .cst-form label {
  font-size: 14px;
  font-weight: 400;
  margin-bottom: 10px;
}
.studio-page .cst-input,
.studio-page .cst-select,
.studio-page .cst-textarea {
  border-radius: 0;
  border: 1px solid #b5bcba;
  padding: 14px;
  font-size: 16px;
  background: #f5f4f0;
}
.studio-page .cst-hint {
  font-size: 14px;
  max-width: 68ch;
}
.studio-page .cst-hint a {
  text-decoration: underline;
  overflow-wrap: anywhere;
}
/* The browser's arrow sits against the edge; draw our own, inset 18px. */
.studio-page .cst-select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 48px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23202932' stroke-width='1.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  background-size: 12px 8px;
}
/* Two fields to a row, with generous space between them. */
.studio-page .cst-row {
  grid-template-columns: 1fr 1fr;
  gap: 0 72px;
}
.studio-page .cst-submit {
  width: 100%;
}
/* Each field keeps one line free for its message, so showing one never moves
   the button out from under a tap. */
.studio-page .cst-form .cst-field {
  margin-bottom: 14px;
}
.studio-page .cst-error {
  min-height: calc(13px * 1.4);
  margin: 6px 0 0;
  font-size: 13px;
  line-height: 1.4;
  color: #a1362b;
}
.studio-page .cst-form [aria-invalid="true"] {
  border-color: #a1362b;
}
@media (max-width: 620px) {
  .studio-page .cst-row {
    grid-template-columns: 1fr;
  }
}
.cst-trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.studio-page .cst-status:empty {
  display: none;
}
.studio-page .cst-status {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.6;
}
.studio-page .cst-status.error {
  color: #a1362b;
}
.studio-page .cst-status a {
  text-decoration: underline;
}
.studio-page .cst-sent {
  max-width: none;
  border-top: 1px solid var(--border);
  padding: 30px 0 0;
}
.studio-page .cst-sent h3 {
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 8px;
}
.studio-page .cst-sent p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink2);
}
.studio-page .about-section {
  max-width: 900px;
  padding: 50px 5.5% 90px;
  margin-top: 0;
}
.studio-page .faq {
  border-top: 1px solid var(--border);
  padding-top: 40px;
}
.studio-page .faq-title {
  font-family: var(--sans);
  font-size: 28px;
  font-weight: 300;
}
.studio-page .faq-q {
  font-weight: 400;
  font-size: 17px;
  margin-bottom: 12px;
}
.studio-page .faq-a {
  font-size: 16px;
}
.studio-page .confirm-title {
  font-weight: 300;
  letter-spacing: -0.035em;
}
.studio-page .confirm-mark {
  border-radius: 0;
  background: transparent;
}
.studio-page .bac {
  max-width: 1280px;
  padding-top: 25px;
}
.studio-page .bac-head {
  text-align: left;
  padding-left: 0;
}
.studio-page .summary,
.studio-page .glz,
.studio-page .glz-search {
  border-radius: 0;
}
.studio-page .cup-opt:hover {
  transform: none;
}
@media (max-width: 1000px) {
  .studio-page .products-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .collection-intro {
    gap: 5%;
    padding: 45px 5%;
  }
}
@media (max-width: 760px) {
  .collection-intro {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 36px 24px;
  }
  .collection-intro > img {
    height: 260px;
  }
  .glaze-intro-note {
    display: none;
  }
  .studio-page .cups {
    padding: 18px 24px 55px;
  }
  .studio-page .cups-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 20px;
  }
  .studio-page .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 16px;
  }
  .studio-page .products {
    padding: 28px 24px 55px;
  }
  .studio-page .filters-bar {
    padding: 20px 24px;
  }
  .studio-page .search-wrap,
  .studio-page .search-input {
    width: 100%;
  }
  .studio-page .filters-label {
    width: 100%;
    padding-top: 0;
  }
  .studio-page .filter-chips {
    flex-basis: 100%;
  }
  .studio-page .chip {
    padding: 10px;
  }
  .studio-page .pdp {
    margin-top: 28px;
    padding: 0 24px;
  }
  .studio-page .pdp-grid,
  .studio-page .cd-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .studio-page .pdp-media {
    max-width: none;
  }
  .studio-page .cst {
    padding: 0 24px 55px;
  }
  .studio-page .facts dl {
    grid-template-columns: minmax(95px, 1fr) 1.5fr;
  }
  .studio-page .facts dt,
  .studio-page .facts dd {
    padding: 12px 8px;
    overflow-wrap: anywhere;
  }
}
@media (max-width: 380px) {
  .studio-page .cup-card-badge {
    font-size: 10px;
    padding: 4px 6px;
  }
}

/* Policy pages (shipping, returns, privacy, terms) and the FAQ. */
.policy-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 24px 90px;
}
.policy-page h1 {
  font-family: var(--sans);
  font-size: clamp(36px, 4.4vw, 56px);
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin: 16px 0 10px;
}
.policy-page h2 {
  font-family: var(--sans);
  font-size: 21px;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin: 38px 0 10px;
  color: var(--ink);
}
.policy-page p,
.policy-page li {
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink2);
}
.policy-page p {
  margin: 0 0 14px;
}
.policy-page ul {
  margin: 0 0 14px;
  padding-left: 20px;
  list-style: disc;
}
.policy-page li {
  margin-bottom: 8px;
}
.policy-page a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.policy-page strong {
  font-weight: 500;
  color: var(--ink);
}
.policy-page .policy-updated {
  font-size: 13px;
  color: var(--ink3, #6b6f71);
}
.policy-page .policy-draft {
  border: 1px solid #c9a227;
  background: #fbf6e3;
  color: #5c4a06;
  padding: 12px 16px;
  font-size: 14px;
  margin-bottom: 28px;
}
.faq-page h2 {
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 56px 0 4px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.faq-page h3 {
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
  margin: 24px 0 6px;
}

/* ── Pieces: collection and piece pages (src/lib/pages.js); the .studio-page
   rules above set their look. Photos are <img> over the piece's color swatch. */
.cups {
  margin: 0 auto;
}
.cups-eyebrow {
  text-transform: uppercase;
  margin-bottom: 12px;
}
.cups-title {
  color: var(--ink);
}
.cups-sub {
  color: var(--ink2);
  max-width: 60ch;
}
.cups-grid {
  display: grid;
}
.cup-card {
  display: flex;
  flex-direction: column;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  color: inherit;
}
.cup-card-link {
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}
.cup-card-art {
  position: relative;
  overflow: hidden;
}
.cup-card-art img,
.cd-main img,
.cd-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cup-card-badge {
  position: absolute;
  padding: 4px 9px;
}
.cup-card-body {
  display: flex;
  flex-direction: column;
}
.cup-card-name {
  color: var(--ink);
}
.cup-card-price {
  color: var(--peach);
}
.cup-card-price.unavailable {
  color: var(--ink3);
}
.cup-add {
  margin-top: 8px;
  align-self: flex-start;
  font: inherit;
  cursor: pointer;
}
.cup-add.unavailable {
  display: inline-block;
  color: var(--ink3);
  cursor: default;
}
.cd-back {
  display: inline-flex;
  gap: 6px;
  font-size: 0.9rem;
  color: var(--ink2);
  text-decoration: none;
  margin: 8px 0 22px;
}
.cd-back:hover {
  color: var(--peach);
}
.cd-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
}
.cd-gallery {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cd-main {
  aspect-ratio: 1/1;
  overflow: hidden;
}
.cd-thumbs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.cd-thumb {
  width: 68px;
  height: 68px;
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  background-clip: padding-box;
}
.cd-thumb.on {
  border-color: var(--peach);
}
.cd-name {
  color: var(--ink);
}
.cd-price {
  color: var(--ink);
  margin-bottom: 4px;
}
.cd-avail {
  margin-bottom: 18px;
}
.cd-avail.in {
  color: var(--sage, #4f9e6e);
}
.cd-blurb {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--ink2);
  margin-bottom: 24px;
  max-width: 52ch;
}
.cd-note {
  color: var(--ink3);
  margin-top: 12px;
}
/* The damage promise sits right under the buy button, more visible than notes. */
.cd-promise {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink);
}
.cd-promise a {
  color: var(--ink2);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cd-note a {
  color: var(--ink2);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cd-err {
  display: none;
  background: #fdecea;
  color: #a1362b;
  border-radius: 10px;
  padding: 9px 12px;
  font-size: 0.85rem;
  margin-bottom: 10px;
}
.btn-primary.unavailable {
  background: var(--ink3);
  box-shadow: none;
  cursor: not-allowed;
}
.btn-primary.soon {
  background: var(--ink3);
  box-shadow: none;
  cursor: default;
}
.cups-empty {
  text-align: center;
  color: var(--ink3);
  padding: 60px 0;
}
.cd-more {
  margin-top: 80px;
  border-top: 1px solid var(--border);
  padding-top: 40px;
}
.cd-more h2 {
  font-family: var(--sans);
  font-size: 20px;
  font-weight: 300;
  margin: 0;
}
/* Smaller than the collection's cards, so the row doesn't compete with the piece above. */
.studio-page .cd-more .cups-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px 24px;
  margin-top: 18px;
}
.studio-page .cd-more .cup-card-body {
  padding: 10px 0 12px;
  gap: 2px;
}
.studio-page .cd-more .cup-card-name,
.studio-page .cd-more .cup-card-price {
  font-size: 14px;
}
.studio-page .cd-more .cup-add {
  font-size: 13px;
  padding: 6px 0;
}
.studio-page .cd-more .cup-card-badge {
  font-size: 11px;
  padding: 3px 6px;
  top: 8px;
  left: 8px;
}
@media (max-width: 760px) {
  .studio-page .cd-more .cups-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px 12px;
  }
  .studio-page .cd-more .cup-card:nth-child(n + 4) {
    display: none;
  } /* one row of 3 on phones */
}
