.commerce-page {
  max-width: 1120px;
  margin: 110px auto 60px;
  padding: 0 24px;
  color: #f1f6f3;
  font-family: inherit
}

.commerce-page h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -.055em;
  line-height: 1.05;
  margin: 20px 0
}

.commerce-page a:not(.commerce-button) {
  color: #55e8bc
}

.commerce-eyebrow {
  color: #21e6b5;
  font-size: .73rem;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase
}

.commerce-muted {
  color: #a0b2aa;
  line-height: 1.65
}

.commerce-products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin: 32px 0
}

.commerce-product {
  background: linear-gradient(135deg, #10251d, #131c20 65%, #291a24);
  border: 1px solid #21e6b540;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 24px 70px #0004;
  color: #f1f6f3;
  text-align: left
}

.commerce-product-copy {
  padding: 28px
}

.commerce-product h2 {
  font-size: 1.65rem;
  line-height: 1.12;
  letter-spacing: -.04em;
  font-weight: 750;
  margin: 10px 0 18px
}

.commerce-hero {
  width: 100%;
  aspect-ratio: 1;
  /* height: 310px; */
  object-fit: contain;
  background: black
}

.commerce-thumbnails {
  display: flex;
  gap: 10px;
  padding: 14px;
  overflow-x: auto
}

.commerce-thumbnails button {
  border: 2px solid transparent;
  border-radius: 12px;
  overflow: hidden;
  flex: none;
  cursor: pointer
}

.commerce-thumbnails button:focus-visible,
.commerce-thumbnails button[aria-pressed=true] {
  border-color: #21e6b5
}

.commerce-thumbnails img {
  width: 62px;
  height: 62px;
  object-fit: cover;
  background: black;
}

.commerce-art {
  height: 150px;
  display: grid;
  place-items: center;
  font-size: 70px;
  background: radial-gradient(ellipse, #21e6b529, transparent)
}

.commerce-note {
  color: #b9d4c6;
  font-size: .86rem;
  line-height: 1.55;
  margin: 12px 0
}

.commerce-price {
  display: block;
  font-size: clamp(2.25rem, 5vw, 4rem);
  font-weight: 850;
  letter-spacing: -.055em;
  margin: 8px 0 20px
}

.commerce-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border: 0;
  border-radius: 999px;
  min-height: 50px;
  padding: 12px 24px;
  background: #21e6b5;
  color: #03100c !important;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
  transition: transform .15s, box-shadow .15s
}

.commerce-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px #21e6b522
}

.commerce-button--wide {
  width: 100%
}

.commerce-button:focus-visible,
.commerce-link:focus-visible {
  outline: 3px solid #ffac49;
  outline-offset: 4px
}

.commerce-link {
  color: #72e8c5;
  text-decoration: underline;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 8px
}

.commerce-product select {
  width: 100%;
  background: #09150f;
  color: white;
  border: 1px solid #7e9c8f;
  border-radius: 10px;
  padding: 12px;
  margin: 8px 0 20px
}

.commerce-widget {
  max-width: 900px;
  margin: 32px auto
}

.commerce-product--compact {
  max-width: 760px;
  margin: auto
}

.commerce-product--compact .commerce-product-copy {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 24px;
  align-items: center
}

.commerce-product--compact form {
  grid-column: 2;
  grid-row: 1/5
}

.commerce-product--compact h2 {
  font-size: 1.35rem
}

.commerce-cart-toggle {
  width: 60px;
  height: 56px;
  display: grid;
  place-items: center;
  color: #d4e7dc;
  background: transparent;
  cursor: pointer
}

.commerce-cart {
  position: fixed;
  inset: 0 0 0 auto;
  margin: 0;
  width: min(540px, 100%);
  max-width: 100%;
  height: 100dvh;
  max-height: 100dvh;
  border: 0;
  border-left: 1px solid #2b493e;
  background: #0d1913;
  color: #f1f6f3;
  padding: 28px;
  overflow-y: auto
}

.commerce-cart::backdrop {
  background: #0009;
  backdrop-filter: blur(5px)
}

.commerce-cart-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px
}

.commerce-cart-heading h2 {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -.04em
}

.commerce-close {
  font-size: 32px;
  cursor: pointer;
  background: #ffffff0c;
  border-radius: 50%;
  width: 44px;
  height: 44px
}

.commerce-cart-line {
  display: flex;
  gap: 16px;
  padding: 22px 0;
  border-top: 1px solid #ffffff18
}

.commerce-cart-line img {
  width: 90px;
  height: 90px;
  object-fit: contain;
  border-radius: 14px;
  background: #f3f5ef;
  border: 1px solid #2b493e;
}

.commerce-cart-line h3 {
  font-weight: 750;
  font-size: 1.05rem
}

.commerce-cart-line p {
  font-size: .86rem;
  color: #bbccc3
}

.commerce-cart-line input[type=number] {
  width: 60px;
  border: 1px solid #517b68;
  border-radius: 8px;
  padding: 6px;
  color: white;
  background: #0c2419;
  margin: 8px
}

.commerce-invitation {
  border: 1px solid #ffaf5d44;
  border-radius: 18px;
  background: linear-gradient(110deg, #21e6b513, #ffaf5d14);
  padding: 22px;
  margin: 22px 0;
  line-height: 1.6
}

.commerce-invitation strong {
  color: #f6be77
}

.commerce-invitation a {
  color: #55e8bc;
  text-decoration: underline
}

.commerce-subtotal {
  display: flex;
  justify-content: space-between;
  font-size: 1.15rem;
  margin: 24px 0 8px
}

.commerce-empty {
  text-align: center;
  padding: 60px 0
}

.commerce-empty>span {
  font-size: 60px
}

.commerce-empty h3 {
  font-size: 1.5rem;
  margin: 20px 0
}

.commerce-order-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  justify-content: space-between;
  padding: 22px 4px;
  border-bottom: 1px solid #ffffff20;
  text-decoration: none
}

.commerce-panel {
  padding: 28px;
  border: 1px solid #4a6e5e;
  border-radius: 22px;
  margin: 24px 0
}

.commerce-panel h2 {
  font-size: 1.5rem;
  font-weight: 750
}

.commerce-celebration {
  position: fixed;
  inset: 0;
  margin: 0;
  width: 100vw;
  height: 100dvh;
  max-width: none;
  max-height: none;
  border: 0;
  background: radial-gradient(ellipse at top, #154333, #071710 70%);
  color: white;
  text-align: center;
  padding: 25vh 24px 24px
}

.commerce-celebration h2 {
  font-size: clamp(2.6rem, 8vw, 5rem);
  font-weight: 850;
  letter-spacing: -.06em
}

.commerce-celebration p {
  margin: 20px;
  font-size: 1.2rem
}

.commerce-confetti {
  font-size: clamp(2.5rem, 8vw, 6rem);
  animation: commerce-pop .6s ease-out
}

.commerce-celebration::backdrop {
  background: #071710
}

@keyframes commerce-pop {
  from {
    transform: translateY(80px) scale(.3);
    opacity: 0
  }

  to {
    transform: translateY(0) scale(1);
    opacity: 1
  }
}

@media(max-width:600px) {
  .commerce-page {
    padding: 0 18px
  }

  .commerce-product--compact .commerce-product-copy {
    display: block
  }

  .commerce-cart {
    padding: 22px
  }

  .commerce-products {
    grid-template-columns: 1fr
  }

  .commerce-hero {
    height: 280px
  }
}

@media(prefers-reduced-motion:reduce) {
  .commerce-confetti {
    animation: none
  }

  .commerce-button {
    transition: none
  }

  .commerce-button:hover {
    transform: none
  }
}

.commerce-product .commerce-price {
  font-size: 2rem;
  white-space: nowrap;
}

.commerce-welcome-card {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  max-width: 760px;
  margin: 40px auto 0;
  padding: 32px;
  border-radius: 16px;
  border: 1px solid #21e6b559;
  background: linear-gradient(110deg, #21e6b514, #ff3c920f, #ff9f1c14);
  text-align: left;
  box-shadow: 0 30px 80px #0005;
  color: white
}

.commerce-welcome-card .commerce-price {
  line-height: 1;
  margin: 6px 0
}

.commerce-welcome-card small {
  font-size: .75rem;
  color: #819089
}

.commerce-confetti-particle {
  position: absolute;
  top: -10%;
  left: var(--x);
  width: 10px;
  height: 18px;
  background: var(--color);
  animation: commerce-fall 2.8s var(--delay) ease-in forwards;
  pointer-events: none
}

@keyframes commerce-fall {
  to {
    transform: translate3d(40px, 115vh, 0) rotate(600deg)
  }
}

@media(max-width:600px) {
  .commerce-welcome-card {
    grid-template-columns: 1fr;
    padding: 24px
  }

  .commerce-cart-line>div {
    min-width: 0
  }

  .commerce-cart-line h3 {
    overflow-wrap: anywhere
  }
}

@media(prefers-reduced-motion:reduce) {
  .commerce-confetti-particle {
    display: none
  }
}