/* OM merchandise range only; exact source images are never cropped or recolored. */
.om-merch-intro {
  text-align: left;
  margin-bottom: 64px;
}

.om-merch-intro h2 {
  margin-bottom: 24px;
  font-size: 27px;
  text-align: center;
}

.om-merch-preview-note {
  font-size: 13px;
  line-height: 1.7;
}

.om-merch-family {
  padding: 36px 0 48px;
  border-top: 1px solid rgba(17, 17, 17, 0.2);
}

.om-merch-family > header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.om-merch-family h2 {
  font-size: 25px;
  line-height: 1.3;
}

.om-merch-family > header p {
  font-size: 12px;
  margin: 0;
}

.om-color-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

.om-merch-sample {
  min-width: 0;
}

.om-merch-sample figure {
  margin: 0;
}

.om-merch-sample img {
  display: block;
  width: 100%;
  height: auto;
}

.om-merch-sample h3 {
  margin-top: 18px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.6;
}

.om-merch-sample .om-merch-price,
.om-sample-status {
  margin: 12px 0;
  font-size: 12px;
  line-height: 1.7;
}

.om-merch-sample .om-merch-order {
  margin: 0 0 12px;
  font-size: 12px;
}

.om-merch-sample .om-merch-order a {
  font-size: inherit;
  padding: 0;
}

.om-sample-details {
  margin-top: 12px;
  font-size: 12px;
  line-height: 1.75;
  overflow-wrap: anywhere;
}

.om-sample-details summary {
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 4px;
  padding: 6px 0;
}

.om-sample-details summary:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
}

.om-product-original-title {
  margin: 16px 0;
  font-weight: 600;
}

.om-sample-details .om-merch-description {
  margin: 16px 0 0;
  max-width: none;
  font-size: 12px;
  line-height: 1.75;
}

.om-sample-details .om-merch-options p {
  font-size: 12px;
}

.om-merch-bundle-preview {
  --om-bundle-heading-size: 25px;
}

.om-merch-bundle-preview > header h2,
.om-merch-bundle-card > h3 {
  font-size: var(--om-bundle-heading-size);
  line-height: 1.3;
}

.om-merch-bundle-card > h3 {
  grid-column: 1 / -1;
  margin: 0;
  text-align: center;
}

.om-merch-bundle-card > h3 span {
  display: block;
}

.om-merch-bundle-card > * {
  min-width: 0;
}

.om-bundle-size-control {
  margin: 24px 0;
}

.om-bundle-size-control label {
  display: block;
  margin-bottom: 8px;
}

.om-bundle-size-control select {
  display: block;
  width: min(100%, 240px);
  min-height: 44px;
  padding: 8px;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--cream);
  color: var(--ink);
  font: inherit;
}

.om-bundle-size-control select:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
}

.om-bundle-size-control p {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.7;
}

.om-bundle-buy {
  display: table;
  padding: 10px 0;
  color: #111;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 7px;
}

.om-bundle-buy[aria-disabled="true"] {
  text-decoration-style: dotted;
  cursor: default;
}

.om-merch-bundle-card .om-bundle-description,
.om-bundle-previews {
  grid-column: 1 / -1;
}

.om-bundle-description h2 {
  margin-block: 30px 16px;
}

.om-bundle-previews {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: clamp(28px, 5vw, 60px);
}

.om-bundle-previews figure {
  width: min(100%, 290px);
  margin: 0;
}

.om-bundle-previews img {
  display: block;
  width: 100%;
  height: auto;
}

.om-bundle-previews figcaption {
  margin-top: 12px;
  text-align: center;
}

@media (max-width: 850px) {
  .om-color-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 24px;
  }
}

@media (max-width: 600px) {
  .om-merch-intro {
    margin-bottom: 40px;
  }
  .om-merch-family > header {
    flex-direction: column;
    gap: 6px;
  }
  .om-color-gallery {
    gap: 28px 16px;
  }
}
