.tensha-commerce {
  max-width: 1180px;
  margin: 0 auto;
  padding-top: clamp(3rem, 6vw, 7rem);
  padding-bottom: clamp(5rem, 9vw, 10rem);
  color: #24211e;
}

.tensha-commerce .c-title {
  margin-bottom: clamp(2rem, 4vw, 4rem);
}

.tensha-commerce__intro,
.tensha-commerce__group,
.tensha-commerce--cart > section,
.tensha-commerce--checkout > section,
.tensha-commerce--order-received > section {
  margin-bottom: clamp(5rem, 9vw, 10rem);
}

.tensha-commerce__lead {
  max-width: 860px;
  margin: 0 auto 2.4rem;
  font-size: clamp(1.5rem, 1.6vw, 1.8rem);
  line-height: 2;
}

.tensha-commerce__notice {
  max-width: 860px;
  margin: 2.4rem auto;
  padding: 1.8rem 2rem;
  border: 1px solid #d7cfc2;
  background: #f8f5ef;
}

.tensha-commerce__notice h3 {
  margin: 0 0 .7rem;
  font-size: 1.6rem;
}

.tensha-commerce__notice p {
  margin: 0;
  font-size: 1.4rem;
  line-height: 1.8;
}

.tensha-commerce__notice a {
  text-decoration: underline;
  text-underline-offset: .2em;
}

.tensha-commerce__cart-link {
  display: flex;
  justify-content: center;
  margin: 2.8rem 0 0;
}

.tensha-commerce__cart-link .c-btn {
  width: min(100%, 320px);
}

.tensha-commerce__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2.4rem, 5vw, 6rem);
}

.tensha-commerce-card {
  display: grid;
  grid-template-rows: auto 1fr;
  min-width: 0;
  border: 1px solid #ddd5ca;
  background: #fff;
}

.tensha-commerce-card__image {
  display: grid;
  min-height: 300px;
  place-items: center;
  padding: clamp(1.8rem, 4vw, 4rem);
  background: #f7f5f1;
}

.tensha-commerce-card__image img {
  display: block;
  width: 100%;
  height: 360px;
  object-fit: contain;
}

.tensha-commerce-card__body {
  display: flex;
  flex-direction: column;
  padding: clamp(2rem, 4vw, 3.5rem);
}

.tensha-commerce-card h3 {
  margin: 0 0 1.4rem;
  font-size: clamp(2rem, 2.4vw, 2.8rem);
  line-height: 1.5;
}

.tensha-commerce-card__description,
.tensha-commerce-card__year {
  margin: 0 0 1.5rem;
  font-size: 1.45rem;
  line-height: 1.9;
}

.tensha-commerce-card__price {
  margin: auto 0 1.6rem;
  padding-top: 1.4rem;
  font-size: 1.8rem;
  font-weight: 600;
}

.tensha-commerce-card__form {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 1rem;
  margin: 0;
}

.tensha-commerce-card__form .qty,
.tensha-commerce-card__form .button {
  min-height: 50px;
  margin: 0 !important;
}

.tensha-commerce-card__form .qty {
  width: 100%;
  padding: .8rem;
  border: 1px solid #bdb5aa;
  text-align: center;
}

.tensha-commerce-card__form .button {
  white-space: normal;
  line-height: 1.45;
}

.tensha-commerce-card__unavailable {
  margin: auto 0 0;
  padding: 1.2rem;
  background: #f1efeb;
  text-align: center;
}

.tensha-commerce__woocommerce {
  max-width: 1040px;
  margin: 0 auto;
  font-size: 1.5rem;
}

.tensha-commerce__woocommerce .woocommerce-notices-wrapper,
.tensha-commerce__woocommerce .woocommerce-form-coupon-toggle {
  margin-bottom: 2rem;
}

.tensha-commerce__woocommerce table.shop_table {
  width: 100%;
}

.tensha-commerce__woocommerce .button,
.tensha-commerce__woocommerce button,
.tensha-commerce__woocommerce input,
.tensha-commerce__woocommerce select,
.tensha-commerce__woocommerce textarea {
  font: inherit;
}

.tensha-lang-en .tensha-commerce,
.tensha-lang-ko .tensha-commerce,
.tensha-lang-zh-cn .tensha-commerce,
.tensha-lang-zh-tw .tensha-commerce {
  overflow-wrap: anywhere;
}

@media (max-width: 767px) {
  .tensha-commerce {
    padding-top: 4rem;
  }

  .tensha-commerce__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.4rem;
  }

  .tensha-commerce-card__image {
    min-height: 220px;
  }

  .tensha-commerce-card__image img {
    height: 270px;
  }

  .tensha-commerce-card__form {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .tensha-commerce__woocommerce table.shop_table_responsive tr td,
  .tensha-commerce__woocommerce table.shop_table_responsive tr th {
    overflow-wrap: anywhere;
  }
}
