.buy-link {
  border: 0;
}

.shop-benefits {
  display: grid;
  gap: 7px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  color: rgba(23, 16, 13, 0.72);
  font-size: 0.9rem;
  font-weight: 760;
  line-height: 1.35;
}

.shop-benefits li {
  position: relative;
  padding-left: 18px;
}

.shop-benefits li::before {
  position: absolute;
  left: 0;
  content: "✓";
  color: #4f7d67;
  font-weight: 950;
}

.shop-assurance {
  display: grid;
  gap: 5px;
  margin: 12px 0 0;
  color: rgba(23, 16, 13, 0.56);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.35;
}

#shop.content {
  background:
    radial-gradient(circle at 16% 8%, rgba(255, 255, 255, 0.62), transparent 30%),
    linear-gradient(180deg, #f6efe6 0%, #fff8f0 74%);
}

#shop .section-head {
  align-items: start;
  margin-bottom: 18px;
}

#shop .section-head h2 {
  max-width: 760px;
  font-size: clamp(4rem, 7vw, 7.4rem);
}

#shop .section-head > p {
  margin: 18px 0 0;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.38);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82), 0 18px 52px rgba(54, 34, 25, 0.07);
  padding: 18px 20px;
  backdrop-filter: blur(18px);
}

.shop-rail {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  margin: 0 0 20px;
  border: 1px solid rgba(23, 16, 13, 0.1);
  border-radius: 999px;
  background: rgba(255, 250, 244, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88), 0 24px 70px rgba(54, 34, 25, 0.1);
  padding: 12px 14px;
  backdrop-filter: blur(20px);
}

.shop-rail-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 190px;
}

.shop-rail-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(23, 16, 13, 0.12);
  border-radius: 50%;
  background: #fff8f0;
  color: #9d6b5e;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 28px;
  font-style: italic;
  font-weight: 700;
  line-height: 1;
}

.shop-rail-brand span:not(.shop-rail-mark),
.shop-rail-link,
.shop-rail-tags span {
  color: rgba(23, 16, 13, 0.48);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.shop-rail-brand strong {
  display: block;
  margin-top: 2px;
  color: #17100d;
  font-size: 18px;
  font-weight: 950;
  letter-spacing: -0.04em;
}

.shop-rail-tags {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 7px;
}

.shop-rail-tags span {
  border: 1px solid rgba(23, 16, 13, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  padding: 9px 11px;
}

.shop-rail-link {
  display: inline-flex;
  justify-content: center;
  border: 1px solid rgba(23, 16, 13, 0.1);
  border-radius: 999px;
  background: #17100d;
  color: #fff8f0;
  padding: 12px 14px;
  text-decoration: none;
  white-space: nowrap;
}

#shop .shop-grid {
  gap: 16px;
  align-items: stretch;
}

#shop .shop-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  border-color: rgba(23, 16, 13, 0.08);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 250, 244, 0.74));
  box-shadow: 0 24px 70px rgba(54, 34, 25, 0.08);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

#shop .shop-card:hover {
  border-color: rgba(23, 16, 13, 0.15);
  box-shadow: 0 30px 82px rgba(54, 34, 25, 0.14);
  transform: translateY(-4px);
}

#shop .shop-media {
  aspect-ratio: 1.05;
  border-bottom: 1px solid rgba(23, 16, 13, 0.06);
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.92), rgba(255, 250, 244, 0.66) 62%),
    #fffaf4;
  padding: 20px;
}

#shop .shop-card:hover .shop-media img {
  transform: scale(1.035);
}

#shop .shop-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  border-top: 0;
  padding: 18px 18px 20px;
}

#shop .meta {
  align-items: flex-start;
  gap: 10px;
}

#shop .meta span {
  max-width: 11rem;
}

#shop .meta strong {
  border: 1px solid rgba(23, 16, 13, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.52);
  padding: 5px 8px;
  font-size: 15px;
}

#shop .shop-card h3 {
  max-width: 11rem;
  margin-top: 12px;
  font-size: clamp(24px, 2vw, 29px);
}

#shop .shop-card p {
  margin: 12px 0 0;
  font-size: 13.5px;
  line-height: 1.5;
}

#shop .shop-benefits {
  gap: 8px;
  border: 1px solid rgba(23, 16, 13, 0.06);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.34);
  padding: 11px 12px;
  font-size: 0.84rem;
}

#shop .shop-benefits li::before {
  top: 0.58em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4f7d67;
  content: "";
}

#shop .shop-assurance {
  margin: auto 0 0;
  border-top: 1px solid rgba(23, 16, 13, 0.06);
  padding-top: 12px;
  font-size: 0.74rem;
}

#shop .buy-link {
  align-items: center;
  min-height: 46px;
  margin-top: 14px;
  box-shadow: 0 12px 28px rgba(23, 16, 13, 0.13);
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

#shop .buy-link:hover {
  background: #2b1c17;
  box-shadow: 0 16px 34px rgba(23, 16, 13, 0.18);
  transform: translateY(-1px);
}

#shop .buy-link.is-disabled {
  background: rgba(23, 16, 13, 0.18);
  box-shadow: none;
  color: rgba(23, 16, 13, 0.58);
  cursor: default;
}

#shop .buy-link.is-disabled:hover {
  background: rgba(23, 16, 13, 0.18);
  box-shadow: none;
  transform: none;
}

#displayStage {
  width: min(72vw, 820px);
  max-width: 100%;
}

#displayStage .image-product,
#displayStage .teddy360 {
  width: 100%;
}

.checkout-dialog {
  width: min(520px, calc(100% - 28px));
  border: 0;
  border-radius: 28px;
  padding: 0;
  color: #17100d;
  background: #fffaf4;
  box-shadow: 0 34px 110px rgba(23, 16, 13, 0.24);
}

.checkout-dialog::backdrop {
  background: rgba(23, 16, 13, 0.4);
  backdrop-filter: blur(10px);
}

.checkout-panel,
.beta-form {
  display: grid;
  gap: 14px;
}

.checkout-panel {
  position: relative;
  padding: 28px;
}

.checkout-panel h2 {
  margin: 0;
  font-size: clamp(2rem, 6vw, 3.2rem);
  line-height: 0.95;
}

.checkout-copy,
.checkout-status,
.beta-status {
  margin: 0;
  color: rgba(23, 16, 13, 0.64);
  font-weight: 750;
  line-height: 1.5;
}

.payment-choice {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(23, 16, 13, 0.1);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.42);
  padding: 14px;
}

#paypal-buttons:empty {
  display: none;
}

#square-card-container:empty {
  display: none;
}

#square-card-container {
  min-height: 48px;
}

.checkout-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(23, 16, 13, 0.12);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
}

.checkout-panel label,
.beta-form label {
  display: grid;
  gap: 7px;
  color: rgba(23, 16, 13, 0.64);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.checkout-panel input,
.beta-form input,
.beta-form select {
  min-height: 48px;
  width: 100%;
  border: 1px solid rgba(23, 16, 13, 0.13);
  border-radius: 999px;
  padding: 0 16px;
  color: #17100d;
  background: rgba(255, 255, 255, 0.64);
  font: inherit;
}

.checkout-submit,
.beta-submit {
  min-height: 50px;
  border: 0;
  border-radius: 999px;
  background: #17100d;
  color: #fff8f0;
  cursor: pointer;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.checkout-submit:disabled,
.beta-submit:disabled {
  cursor: wait;
  opacity: 0.72;
}

.beta-form {
  width: min(420px, 100%);
}

.beta-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

@media (max-width: 640px) {
  #shop.content {
    padding-top: 112px;
  }

  #shop .section-head h2 {
    font-size: clamp(3.55rem, 14vw, 4.8rem);
  }

  .shop-rail {
    grid-template-columns: 1fr;
    align-items: stretch;
    border-radius: 28px;
    padding: 14px;
  }

  .shop-rail-brand {
    min-width: 0;
  }

  .shop-rail-tags {
    justify-content: flex-start;
  }

  .shop-rail-tags span {
    padding: 8px 9px;
  }

  .shop-rail-link {
    display: none;
  }

  .beta-form-row {
    grid-template-columns: 1fr;
  }
}
