@media (max-width: 767.98px) {
  .shop-bag-page .shop-storefront {
    padding-bottom: calc(90px + env(safe-area-inset-bottom, 0px));
  }
  .shop-bag-page .shop-welcome-launcher {
    bottom: calc(90px + env(safe-area-inset-bottom, 0px));
  }
  .shop-bag-checkout {
    position: fixed;
    inset: auto 0 0;
    padding: 16px 16px calc(16px + env(safe-area-inset-bottom, 0px));
    background: var(--color-surface);
    border-top: 1px solid var(--color-border);
    z-index: 1020;
  }
}
.shop-welcome-launcher {
  position: fixed;
  left: calc(16px + env(safe-area-inset-left, 0px));
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  max-width: calc(100vw - 32px - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px));
  z-index: 1030;
}
.shop-welcome-launcher[hidden] {
  display: none !important;
}

.shop-storefront .shop-content {
  padding-top: 12px;
}
.shop-storefront [hidden] {
  display: none !important;
}
.shop-storefront .shop-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
}
.shop-storefront .shop-category-link {
  flex: 0 0 72px;
  min-width: 0;
}
.shop-storefront .shop-category-icon {
  width: 72px;
  max-width: 100%;
  aspect-ratio: 1;
  background: var(--shop-category-surface, var(--color-surface));
}
.shop-storefront .shop-category-icon img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}
.shop-storefront .shop-category-icon svg {
  width: 58%;
  height: 58%;
}
.shop-storefront .shop-category-label {
  font-size: var(--font-size-base);
  text-align: center;
  white-space: nowrap;
}
@media (max-width: 575.98px) {
  .shop-storefront .shop-categories {
    flex-wrap: nowrap;
    gap: 16px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: thin;
  }
}
.shop-storefront .shop-eyebrow {
  font-size: var(--font-size-base);
  font-weight: 600;
}
.shop-storefront .shop-field .form-group {
  margin: 0;
}
.shop-storefront .shop-search {
  position: relative;
}
.shop-storefront .shop-search input {
  padding-left: 48px;
}
.shop-storefront .shop-search button {
  position: absolute;
  inset: 0 auto 0 0;
  width: 48px;
  height: 100%;
  display: grid;
  place-items: center;
}
.shop-storefront .shop-card__art {
  position: relative;
}
.shop-storefront .shop-product-pending {
  opacity: 0;
}
.shop-storefront .shop-product-revealing {
  animation: shop-product-enter 500ms ease-out;
}
.shop-storefront [data-product-reveal]:focus-within {
  opacity: 1;
  animation: none;
}
.shop-storefront .shop-card__art > a:first-child {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
}
.shop-storefront .shop-card__art img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}
.shop-storefront .shop-card__art .shop-card__detail {
  padding: 0;
  opacity: 0;
  pointer-events: none;
  background: var(--color-surface-subtle);
  -o-object-fit: cover;
     object-fit: cover;
  transition: opacity 0.2s ease-out;
}
@media (hover: hover) and (pointer: fine) {
  .shop-storefront .shop-card:hover .shop-card__detail, .shop-storefront .shop-card:focus-within .shop-card__detail {
    opacity: 1;
  }
}
.shop-storefront .shop-card__art .shop-image-placeholder {
  position: absolute;
  inset: 0;
}
.shop-storefront .shop-card__copy {
  padding: 12px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.shop-storefront .shop-card__title {
  font-family: var(--font-family-body);
  font-size: var(--font-size-base);
  font-weight: 600;
  line-height: 1.4;
  margin: 0;
}
.shop-storefront .shop-card__title a {
  color: inherit;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.shop-storefront .shop-card__subtitle {
  font-size: var(--font-size-base);
  line-height: 1.5;
  color: var(--color-text-muted);
  margin: 0;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.shop-storefront .shop-card .shop-card__price {
  margin-top: auto;
  background: var(--color-yellow);
  border: 1px solid;
  padding: 1px 3px;
}
.shop-storefront .shop-card__action {
  margin: 2px 0 0;
}
.shop-storefront .shop-image-placeholder {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 24px;
  text-align: center;
}
.shop-storefront .shop-image-placeholder > svg {
  width: 40px;
  height: 40px;
}
.shop-storefront .shop-gallery-layout {
  display: flex;
  gap: 16px;
}
.shop-storefront .shop-gallery {
  position: relative;
  flex: 1;
  min-width: 0;
  aspect-ratio: 1;
  background: var(--color-surface-subtle);
}
.shop-storefront .shop-gallery [hidden] {
  display: none;
}
.shop-storefront .shop-gallery [data-gallery-slide], .shop-storefront .shop-gallery img {
  width: 100%;
  height: 100%;
}
.shop-storefront .shop-gallery img {
  -o-object-fit: contain;
     object-fit: contain;
  display: block;
}
.shop-storefront .shop-gallery__preview {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: zoom-in;
}
.shop-storefront .shop-gallery__thumbnails {
  position: relative;
  flex: 0 0 114px;
}
.shop-storefront .shop-gallery__thumbnail {
  width: 100%;
  aspect-ratio: 1;
  flex-shrink: 0;
}
.shop-storefront .shop-gallery__thumbnail img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}
@media (max-width: 991.98px) {
  .shop-storefront .shop-gallery-layout {
    gap: 8px;
  }
  .shop-storefront .shop-gallery__thumbnails {
    flex-basis: 64px;
  }
}
.shop-storefront .shop-options {
  min-width: 0;
  border: 0;
  padding: 0;
}
.shop-storefront .shop-options legend {
  float: none;
  width: auto;
}
.shop-storefront .shop-option {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: none !important;
}
.shop-storefront .shop-color-swatch {
  display: inline-block;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-circle);
  background: linear-gradient(135deg, var(--swatch-color) 50%, var(--swatch-color-secondary) 50%);
}
.shop-storefront .shop-quantity {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.shop-storefront .shop-quantity input {
  width: 56px;
  flex: 0 0 56px;
  -webkit-appearance: textfield;
     -moz-appearance: textfield;
          appearance: textfield;
  text-align: center;
  padding-left: 0;
  padding-right: 0;
}
.shop-storefront .shop-quantity input::-webkit-inner-spin-button, .shop-storefront .shop-quantity input::-webkit-outer-spin-button {
  -webkit-appearance: none;
          appearance: none;
  margin: 0;
}
.shop-storefront .shop-quantity--compact {
  gap: 4px;
}
.shop-storefront .shop-quantity--compact input {
  width: 40px;
  flex-basis: 40px;
}
.shop-storefront .shop-details h2 {
  font-family: var(--font-family-body);
  font-size: var(--font-size-base);
  line-height: var(--line-height-body);
  font-weight: 600;
}
.shop-storefront .shop-checkout-note {
  color: var(--color-text-muted);
}
.shop-storefront .shop-product-description {
  overflow-wrap: anywhere;
}
.shop-storefront .shop-product-description img, .shop-storefront .shop-product-description video, .shop-storefront .shop-product-description iframe {
  max-width: 100%;
}
.shop-storefront .shop-product-description img {
  height: auto;
}
.shop-storefront .shop-product-description h1, .shop-storefront .shop-product-description h2, .shop-storefront .shop-product-description h3 {
  font-size: var(--font-size-h5);
}
.shop-storefront .shop-product-description > :last-child {
  margin-bottom: 0;
}
.shop-storefront .shop-product-facts > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
}
.shop-storefront .shop-product-facts dt {
  font-weight: 400;
  color: var(--color-text-muted);
}
.shop-storefront .shop-product-facts dd {
  margin: 0;
  text-align: right;
}
.shop-storefront .shop-review-bar {
  height: 6px;
  background: var(--color-surface-subtle);
  overflow: hidden;
}
.shop-storefront .shop-review-bar span {
  display: block;
  height: 100%;
  background: var(--color-primary);
}
.shop-storefront .shop-product-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 16px) / 2);
  gap: 16px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  padding-bottom: 12px;
}
.shop-storefront .shop-product-row > div {
  min-width: 0;
  scroll-snap-align: start;
}
@media (min-width: 992px) {
  .shop-storefront .shop-product-row {
    grid-auto-columns: calc((100% - 72px) / 4);
    gap: 24px;
  }
}
.shop-storefront .shop-bag-item {
  padding: 18px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
}
.shop-storefront .shop-bag-item__image {
  width: 96px;
  height: 96px;
  background: var(--color-surface-subtle);
  flex-shrink: 0;
  display: grid;
  place-items: center;
}
.shop-storefront .shop-bag-item__image img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}
.shop-storefront .shop-bag-item__copy {
  min-width: 0;
  flex: 1;
}
.shop-storefront .shop-bag-item h2 {
  font-size: var(--font-size-h6);
  line-height: 1.5;
  margin-bottom: 4px;
}
.shop-storefront .shop-bag-item h2 a {
  color: inherit;
  text-decoration: none;
}
.shop-storefront .shop-bag-item__actions {
  text-align: right;
}
.shop-storefront .shop-summary {
  padding: 24px;
}
.shop-storefront .shop-summary h2 {
  font-size: var(--font-size-h5);
  padding-bottom: 20px;
  margin: 0;
}
.shop-storefront .shop-summary strong {
  white-space: nowrap;
}
.shop-storefront .shop-empty {
  text-align: center;
}
.shop-storefront .shop-empty__icon {
  display: inline-grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin-bottom: 28px;
}
.shop-storefront .shop-empty__icon svg {
  width: 32px;
  height: 32px;
}
.shop-storefront .shop-empty p {
  margin-bottom: 24px;
}
@media (max-width: 767.98px) {
  .shop-storefront .shop-content {
    padding-top: 6px;
  }
  .shop-storefront .shop-bag-item {
    flex-wrap: wrap;
    gap: 12px;
    padding: 14px;
  }
  .shop-storefront .shop-bag-item__image {
    width: 76px;
    height: 76px;
  }
  .shop-storefront .shop-bag-item__actions {
    flex-basis: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .shop-storefront .shop-card__art .shop-card__detail {
    transition: none;
  }
  .shop-storefront .shop-product-pending, .shop-storefront .shop-product-revealing {
    opacity: 1;
    animation: none;
  }
}
@media print {
  .shop-storefront .shop-product-pending, .shop-storefront .shop-product-revealing {
    opacity: 1;
    animation: none;
  }
}

.shop-size-chart {
  --bs-offcanvas-width: max(50vw, 640px);
  max-width: 100%;
}
.shop-size-chart__table {
  min-width: 460px;
}
.shop-size-chart__table th, .shop-size-chart__table td {
  padding: 12px;
  white-space: nowrap;
}
.shop-size-chart__cm {
  display: none;
}
.shop-size-chart:has([data-size-unit=cm]:checked) .shop-size-chart__in {
  display: none;
}
.shop-size-chart:has([data-size-unit=cm]:checked) .shop-size-chart__cm {
  display: inline;
}

@keyframes shop-product-enter {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
