/*
Theme Name: Welcart Petfood Child
Template: welcart_basic
*/

/* ========================================
   NOADD Front Page Complete Style
======================================== */

/* ---------- Base ---------- */
.inner {
  width: min(1100px, 92%);
  margin: 0 auto;
}

#front-page {
  color: #333;
  line-height: 1.7;
}

#front-page img {
  max-width: 100%;
  height: auto;
}

#front-page a {
  transition: all 0.2s ease;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 24px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.4;
  transition: all 0.2s ease;
}

.btn-main {
  background: #6f8f59;
  color: #fff;
  border: 1px solid #6f8f59;
}

.btn-main:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.btn-sub {
  background: #fff;
  color: #333;
  border: 1px solid #ccc;
}

.btn-sub:hover {
  background: #f7f7f7;
  transform: translateY(-1px);
}

/* ---------- Hero ---------- */
.hero {
  padding: 60px 0;
  background: #f8f8f3;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero-text {
  position: relative;
  z-index: 2;
}

.lead-top {
  font-size: 16px;
  font-weight: 700;
  color: #6f8f59;
  margin: 0 0 12px;
  letter-spacing: 0.03em;
}

.hero h1 {
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.35;
  font-weight: 700;
  margin: 0 0 20px;
  color: #222;
}

.lead-sub {
  font-size: 16px;
  line-height: 1.9;
  margin: 0 0 16px;
  color: #444;
}

.hero-point {
  color: #6f8f59;
  font-weight: 700;
  margin: 18px 0 18px;
  font-size: 15px;
}

.hero-buttons,
.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 20px;
}

.hero-image img {
  width: 100%;
  display: block;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* ---------- Common Section ---------- */
.concept,
.top-series,
.trial,
.cta-section {
  padding: 70px 0;
}

.section-title {
  text-align: center;
  font-size: 30px;
  line-height: 1.4;
  font-weight: 700;
  margin: 0 0 40px;
  color: #222;
}

/* ---------- Concept ---------- */
.concept {
  background: #fff;
}

.concept-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.concept-card {
  background: #fff;
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  border: 1px solid #f0f0f0;
}

.concept-card h3 {
  font-size: 20px;
  margin: 0 0 14px;
  color: #6f8f59;
  line-height: 1.5;
}

.concept-card p {
  margin: 0;
  line-height: 1.9;
  color: #444;
}

/* ---------- Series ---------- */
.top-series {
  background: #fcfcf8;
}

.series-block {
  margin-bottom: 50px;
}

.series-block:last-child {
  margin-bottom: 0;
}

.series-title {
  font-size: 24px;
  line-height: 1.5;
  margin: 0 0 20px;
  color: #333;
  border-left: 6px solid #6f8f59;
  padding-left: 12px;
}

.series-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.series-item-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.series-item-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.10);
}

.series-item-card a {
  display: block;
  text-decoration: none;
  color: inherit;
}

.series-thumb {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f4f4f4;
}

.series-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.series-thumb img.attachment-medium,
.series-thumb img.wp-post-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.series-item-title {
  font-size: 18px;
  line-height: 1.6;
  padding: 16px 16px 8px;
  margin: 0;
  color: #222;
}

.series-link-text {
  padding: 0 16px 16px;
  margin: 0;
  color: #6f8f59;
  font-weight: 700;
  font-size: 14px;
}

.series-empty,
.series-coming-soon {
  background: #f8f8f3;
  border: 1px solid #d8dfcf;
  border-radius: 14px;
  padding: 24px;
  color: #555;
  line-height: 1.8;
}

.series-empty p,
.series-coming-soon p {
  margin: 0 0 8px;
}

.series-empty p:last-child,
.series-coming-soon p:last-child {
  margin-bottom: 0;
}

/* ---------- Trial ---------- */
.trial {
  background: #fff;
}

.trial-box {
  background: #f8f8f3;
  border-radius: 22px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.trial-box h2 {
  font-size: 28px;
  line-height: 1.4;
  margin: 0 0 16px;
  color: #222;
}

.trial-box p {
  line-height: 1.9;
  margin: 0 0 20px;
  color: #444;
}

/* ---------- CTA ---------- */
.cta-section {
  background: #fcfcf8;
}

.cta-section .inner {
  background: #f8f8f3;
  border-radius: 22px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.cta-section h2 {
  font-size: 28px;
  line-height: 1.4;
  margin: 0 0 16px;
  color: #222;
}

.cta-section p {
  line-height: 1.9;
  margin: 0 0 20px;
  color: #444;
}

/* ---------- Utility ---------- */
#front-page p {
  word-break: break-word;
}

#front-page h1,
#front-page h2,
#front-page h3,
#front-page h4 {
  word-break: keep-all;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero {
    padding: 42px 0;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-text {
    order: 2;
  }

  .hero-image {
    order: 1;
  }

  .hero h1 {
    font-size: clamp(28px, 8vw, 38px);
  }

  .concept,
  .top-series,
  .trial,
  .cta-section {
    padding: 50px 0;
  }

  .concept-grid {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 26px;
    margin-bottom: 30px;
  }

  .series-title {
    font-size: 22px;
  }

  .trial-box,
  .cta-section .inner {
    padding: 32px 20px;
  }

  .trial-box h2,
  .cta-section h2 {
    font-size: 24px;
  }
}

@media (max-width: 640px) {
  .inner {
    width: min(100%, 92%);
  }

  .lead-top {
    font-size: 14px;
  }

  .lead-sub {
    font-size: 15px;
  }

  .hero-point {
    font-size: 14px;
  }

  .btn {
    width: 100%;
    text-align: center;
    padding: 14px 18px;
  }

  .hero-buttons,
  .cta-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .section-title {
    font-size: 24px;
  }

  .concept-card {
    padding: 22px;
  }

  .concept-card h3 {
    font-size: 18px;
  }

  .series-items {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .series-item-title {
    font-size: 17px;
  }

  .trial-box h2,
  .cta-section h2 {
    font-size: 22px;
  }
}

/* ========================================
   Amazon-like Item Page
======================================== */

.amazon-item-page {
  padding-top: 24px;
  padding-bottom: 48px;
}

.item-back-wrap {
  margin: 0 0 20px;
  display: block;
}

.item-back-button {
  display: inline-block;
  padding: 10px 18px;
  background: #6f8b5e;
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
}

.item-back-button:hover {
  opacity: 0.9;
  color: #fff;
}

.amazon-item-layout {
  display: grid;
  grid-template-columns: minmax(320px, 460px) minmax(320px, 1fr);
  gap: 40px;
  align-items: start;
  margin-bottom: 40px;
}

.amazon-item-gallery {
  position: sticky;
  top: 20px;
}

.amazon-main-image {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.amazon-main-image img {
  width: 100%;
  max-width: 420px;
  height: auto;
  display: block;
  margin: 0 auto;
  object-fit: contain;
}

.amazon-item-summary {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.amazon-item-header {
  margin-bottom: 0;
}

.amazon-item-title {
  font-size: 30px;
  line-height: 1.45;
  margin: 0 0 10px;
  color: #222;
  font-weight: 700;
}

.amazon-item-code {
  font-size: 13px;
  color: #666;
}

.amazon-item-lead {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.amazon-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.amazon-badge {
  display: inline-block;
  padding: 6px 10px;
  background: #f3f4f6;
  border: 1px solid #d1d5db;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: #374151;
}

.amazon-purchase-box {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

.amazon-skuform {
  margin: 0;
}

.amazon-skuname {
  font-weight: 700;
  margin-bottom: 12px;
  color: #333;
}

.amazon-item-option {
  margin-bottom: 16px;
}

.amazon-item-option dt {
  font-weight: 700;
  margin-bottom: 4px;
}

.amazon-item-option dd {
  margin: 0 0 12px;
}

.amazon-price-stock-wrap {
  margin-bottom: 20px;
}

.amazon-price {
  font-size: 30px;
  font-weight: 700;
  line-height: 1.3;
  color: #111;
  margin: 12px 0 10px;
}

.amazon-price .tax,
.amazon-price span,
.amazon-price small {
  font-size: 14px;
  font-weight: 400;
}

.amazon-regular-price {
  color: #888;
  text-decoration: line-through;
  margin-bottom: 6px;
  font-size: 14px;
}

.amazon-sale-price {
  font-size: 30px;
  font-weight: 800;
  color: #b12704;
  line-height: 1.2;
}

.amazon-stock-status {
  margin-top: 12px;
  font-size: 15px;
  font-weight: 700;
  color: #007600;
}

.amazon-frequency {
  margin-top: 10px;
}

.amazon-cart-box {
  border-top: 1px solid #e5e7eb;
  padding-top: 18px;
}

.amazon-quantity-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-size: 15px;
}

.quantity-label {
  font-weight: 700;
}

.quantity-field select,
.quantity-field input {
  min-width: 80px;
}

.amazon-cart-button-wrap .skubutton,
.amazon-cart-button-wrap input[type="submit"],
.amazon-cart-button-wrap .cart-button input {
  width: 100%;
  border: none;
  border-radius: 999px;
  background: #f0c14b;
  color: #111;
  font-size: 16px;
  font-weight: 700;
  padding: 14px 20px;
  cursor: pointer;
}

.amazon-cart-button-wrap .skubutton:hover,
.amazon-cart-button-wrap input[type="submit"]:hover,
.amazon-cart-button-wrap .cart-button input:hover {
  opacity: 0.92;
}

.amazon-soldout {
  margin-top: 12px;
  color: #b12704;
  font-weight: 700;
}

.amazon-error-message {
  margin-top: 12px;
  color: #b12704;
  font-size: 14px;
}

.amazon-short-description,
.amazon-detail-box,
.amazon-related-box {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.amazon-section-title {
  font-size: 22px;
  line-height: 1.4;
  margin: 0 0 16px;
  color: #222;
  font-weight: 700;
}

.amazon-short-description .item-description,
.amazon-detail-content {
  line-height: 1.9;
  color: #444;
}

.amazon-item-lower {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.amazon-hidden-cart-form {
  margin: 0;
}

.item-back-wrap-bottom {
  margin-top: 24px;
}

.amazon-thumb-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.amazon-thumb-item {
  width: 72px;
  height: 72px;
  border: 1px solid #d9d9d9;
  border-radius: 10px;
  background: #fff;
  padding: 4px;
  cursor: pointer;
  overflow: hidden;
  box-sizing: border-box;
}

.amazon-thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.amazon-thumb-item.is-active {
  border: 2px solid #f0c14b;
}

.hero-brand-name {
  display: inline-block;
  font-size: 34px;
  line-height: 1.2;
  color: #8a7763;
  font-weight: 800;
  letter-spacing: 0.06em;
  margin-right: 10px;
}

.hero-brand-ruby {
  display: inline-block;
  font-size: 18px;
  line-height: 1.2;
  color: #8a7763;
  font-weight: 700;
  vertical-align: middle;
}

.product-desc {
  font-size: 14px;
  line-height: 1.7;
  color: #6b665f;
  margin-bottom: 12px;
}

@media (max-width: 959px) {
  .amazon-item-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .amazon-item-gallery {
    position: static;
  }

  .amazon-main-image img {
    max-width: 100%;
  }

  .amazon-item-title {
    font-size: 24px;
  }

  .amazon-sale-price {
    font-size: 26px;
  }

  .amazon-purchase-box,
  .amazon-short-description,
  .amazon-detail-box,
  .amazon-related-box {
    padding: 20px;
  }
}

/* ========================================
   Welcart Checkout
======================================== */

/* ??????? */
.wc_contents,
#wc_orderform {
  max-width: 980px;
  margin: 0 auto 48px;
  color: #333;
  font-size: 15px;
  line-height: 1.8;
}

/* ???????????????? */
#content .ucart,
#content .ucart ul,
#content .ucart ol,
#content .ucart li,
#content .cart_navi,
#content .cart_navi ul,
#content .cart_navi ol,
#content .cart_navi li,
#content .ucart_navi,
#content .ucart_navi ul,
#content .ucart_navi ol,
#content .ucart_navi li,
#content .ucart_step,
#content .ucart_step ul,
#content .ucart_step ol,
#content .ucart_step li,
#content .flow_area,
#content .flow_area ul,
#content .flow_area ol,
#content .flow_area li,
.wc_contents .ucart,
.wc_contents .ucart ul,
.wc_contents .ucart ol,
.wc_contents .ucart li,
.wc_contents .cart_navi,
.wc_contents .cart_navi ul,
.wc_contents .cart_navi ol,
.wc_contents .cart_navi li,
.wc_contents .ucart_navi,
.wc_contents .ucart_navi ul,
.wc_contents .ucart_navi ol,
.wc_contents .ucart_navi li,
.wc_contents .ucart_step,
.wc_contents .ucart_step ul,
.wc_contents .ucart_step ol,
.wc_contents .ucart_step li,
.wc_contents .flow_area,
.wc_contents .flow_area ul,
.wc_contents .flow_area ol,
.wc_contents .flow_area li {
  display: none !important;
}

/* ??? */
.wc_contents h2,
.wc_contents h3,
#content h2,
#content h3 {
  font-size: 28px;
  line-height: 1.4;
  color: #4e3a2a;
  margin: 0 0 20px;
  font-weight: 800;
}

/* ????????????? */
.usces_cart,
.usccart,
.carttable,
.customer_form,
.delivery_form,
.confirm_form,
.usces_customer_form,
.usces_delivery_form,
.usces_confirm_form,
#cart,
#customer-info,
#delivery-info,
#confirm-info {
  background: #fff;
  border: 1px solid #e8e0d6;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
  padding: 20px;
  margin-bottom: 24px;
}

/* ???? */
.wc_contents table,
#content table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 24px;
  background: #fff;
}

.wc_contents table th,
.wc_contents table td,
#content table th,
#content table td {
  border-bottom: 1px solid #e8e0d6;
  padding: 14px 12px;
  vertical-align: top;
  font-size: 15px;
  line-height: 1.7;
}

.wc_contents table th,
#content table th {
  width: 220px;
  background: #faf7f2;
  color: #4e3a2a;
  font-weight: 700;
}

/* ???? */
.usces_cart img,
.usccart img,
.carttable img,
#cart img {
  border-radius: 10px;
  max-width: 72px;
  height: auto;
}

/* ??? */
.wc_contents input[type="text"],
.wc_contents input[type="email"],
.wc_contents input[type="tel"],
.wc_contents input[type="password"],
.wc_contents input[type="number"],
.wc_contents textarea,
.wc_contents select,
#content input[type="text"],
#content input[type="email"],
#content input[type="tel"],
#content input[type="password"],
#content input[type="number"],
#content textarea,
#content select {
  width: 100%;
  max-width: 420px;
  padding: 11px 12px;
  border: 1px solid #cfc6ba;
  border-radius: 10px;
  background: #fff;
  font-size: 15px;
  line-height: 1.5;
  box-sizing: border-box;
}

.wc_contents textarea,
#content textarea {
  min-height: 130px;
  max-width: 100%;
}

.wc_contents select,
#content select {
  min-width: 140px;
}

.wc_contents input[type="radio"],
.wc_contents input[type="checkbox"],
#content input[type="radio"],
#content input[type="checkbox"] {
  margin-right: 6px;
  transform: scale(1.08);
}

/* ??? */
.usces_cart input[type="text"],
.usces_cart input[type="number"],
.usccart input[type="text"],
.usccart input[type="number"],
.carttable input[type="text"],
.carttable input[type="number"],
#cart input[type="text"],
#cart input[type="number"] {
  width: 90px;
  max-width: 90px;
  text-align: center;
}

/* ??? */
.wc_contents .memo,
.wc_contents .notice,
.wc_contents .attention,
#content .memo,
#content .notice,
#content .attention {
  font-size: 13px;
  color: #6d6256;
  line-height: 1.8;
}

/* ?????? */
.send,
.navigation,
.cart_action,
.usces_cart_button,
#content .send,
#content .navigation,
#content .cart_action,
#content .usces_cart_button {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 28px 0 10px;
}

/* ????? */
.wc_contents input[type="submit"],
.wc_contents input[type="button"],
.wc_contents button,
.wc_contents .button,
.wc_contents a.button,
#content input[type="submit"],
#content input[type="button"],
#content button,
#content .button,
#content a.button {
  appearance: none;
  border: none;
  border-radius: 999px;
  padding: 14px 26px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  text-decoration: none;
  transition: 0.2s ease;
  box-shadow: none;
}

/* ??? */
.wc_contents input[type="submit"],
#content input[type="submit"] {
  background: #6f8b5e;
  color: #fff;
}

/* ?? */
.wc_contents input[type="button"],
#content input[type="button"] {
  background: #ece7df;
  color: #4e3a2a;
}

/* ?? */
.usces_cart .delbutton,
.usccart .delbutton,
.carttable .delbutton,
#cart .delbutton,
.usces_cart .delete,
.usccart .delete,
.carttable .delete,
#cart .delete {
  background: #f5efea;
  color: #7a4d35;
  border-radius: 999px;
  padding: 10px 18px;
  border: none;
}

/* hover */
.wc_contents input[type="submit"]:hover,
.wc_contents input[type="button"]:hover,
.wc_contents button:hover,
#content input[type="submit"]:hover,
#content input[type="button"]:hover,
#content button:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

/* ?? */
.price,
.subtotal,
.total_price,
.total,
.amount,
#content .price,
#content .subtotal,
#content .total_price,
#content .total,
#content .amount {
  font-weight: 800;
  color: #2f2f2f;
}

/* ??? */
.error_message,
.error,
.wng,
#content .error_message,
#content .error,
#content .wng {
  margin: 0 0 18px;
  padding: 12px 14px;
  background: #fff2f2;
  border: 1px solid #efcaca;
  color: #b42318;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.7;
}

/* ?????? */
@media screen and (max-width: 767px) {
  .wc_contents,
  #wc_orderform {
    max-width: 100%;
  }

  .wc_contents table,
  .wc_contents tbody,
  .wc_contents tr,
  .wc_contents th,
  .wc_contents td,
  #content table,
  #content tbody,
  #content tr,
  #content th,
  #content td {
    display: block;
    width: 100%;
  }

  .wc_contents table th,
  #content table th {
    width: 100%;
    padding-bottom: 8px;
    border-bottom: none;
  }

  .wc_contents table td,
  #content table td {
    padding-top: 8px;
    border-top: none;
  }

  .wc_contents input[type="text"],
  .wc_contents input[type="email"],
  .wc_contents input[type="tel"],
  .wc_contents input[type="password"],
  .wc_contents input[type="number"],
  .wc_contents textarea,
  .wc_contents select,
  #content input[type="text"],
  #content input[type="email"],
  #content input[type="tel"],
  #content input[type="password"],
  #content input[type="number"],
  #content textarea,
  #content select {
    max-width: 100%;
  }

  .send,
  .navigation,
  .cart_action,
  .usces_cart_button,
  #content .send,
  #content .navigation,
  #content .cart_action,
  #content .usces_cart_button {
    flex-direction: column-reverse;
    align-items: stretch;
  }

  .wc_contents input[type="submit"],
  .wc_contents input[type="button"],
  .wc_contents button,
  .wc_contents .button,
  .wc_contents a.button,
  #content input[type="submit"],
  #content input[type="button"],
  #content button,
  #content .button,
  #content a.button {
    width: 100%;
    text-align: center;
  }

  .usces_cart input[type="text"],
  .usces_cart input[type="number"],
  .usccart input[type="text"],
  .usccart input[type="number"],
  .carttable input[type="text"],
  .carttable input[type="number"],
  #cart input[type="text"],
  #cart input[type="number"] {
    width: 100%;
    max-width: 100%;
  }
}

/* ========================================
   Welcart Checkout Step Bar
   ?????????????????
======================================== */

/* ??????????? */
.wc_contents,
#wc_orderform {
  position: relative;
  padding-top: 74px;
}

/* ???????? */
.wc_contents::before,
#wc_orderform::before {
  content: "???  >  ?????  >  ???????  >  ????";
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: min(860px, 100%);
  min-height: 44px;
  margin: 0 auto;
  padding: 12px 24px;
  background: #efefef;
  border-radius: 999px;
  color: #7e858c;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.02em;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

/* ???????? */
.wc_contents::before,
#wc_orderform::before {
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.03);
}

/* ??? */
@media screen and (max-width: 767px) {
  .wc_contents,
  #wc_orderform {
    padding-top: 64px;
  }

  .wc_contents::before,
  #wc_orderform::before {
    width: calc(100% - 16px);
    padding: 10px 14px;
    font-size: 12px;
    border-radius: 18px;
    white-space: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
  }
}

.noadd-checkout-steps-wrap {
  width: min(980px, 92%);
  margin: 18px auto 24px;
}

.noadd-checkout-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #efefef;
  border-radius: 999px;
  overflow: hidden;
}

.noadd-step {
  text-align: center;
  padding: 12px 10px;
  color: #9aa0a6;
  font-size: 14px;
  position: relative;
}

.noadd-step:not(:last-child)::after {
  content: ">";
  position: absolute;
  right: -2px;
  top: 50%;
  transform: translateY(-50%);
}

.noadd-step.is-current {
  color: #333;
  font-weight: 700;
}

/* ========================================
   NOADD checkout step bar
======================================== */

.noadd-checkout-steps-wrap {
  width: min(980px, 92%);
  margin: 18px auto 24px;
}

.noadd-checkout-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  background: #efefef;
  border-radius: 999px;
  overflow: hidden;
  min-height: 44px;
}

.noadd-step {
  position: relative;
  text-align: center;
  padding: 12px 10px;
  color: #9aa0a6;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
}

.noadd-step:not(:last-child)::after {
  content: ">";
  position: absolute;
  right: -2px;
  top: 50%;
  transform: translateY(-50%);
  color: #a8adb3;
  font-weight: 400;
}

.noadd-step.is-current {
  color: #333;
  font-weight: 700;
}

@media screen and (max-width: 767px) {
  .noadd-checkout-steps-wrap {
    width: calc(100% - 16px);
    margin: 14px auto 20px;
  }

  .noadd-checkout-steps {
    border-radius: 18px;
  }

  .noadd-step {
    font-size: 12px;
    padding: 11px 6px;
  }
}

/* ========================================
   NOADD Checkout Step Bar
======================================== */

.noadd-checkout-steps-wrap {
  width: min(980px, 92%);
  margin: 18px auto 24px;
}

.noadd-checkout-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  min-height: 44px;
  background: #efefef;
  border-radius: 999px;
  overflow: hidden;
}

.noadd-step {
  position: relative;
  text-align: center;
  padding: 12px 10px;
  color: #9aa0a6;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
}

.noadd-step:not(:last-child)::after {
  content: ">";
  position: absolute;
  right: -2px;
  top: 50%;
  transform: translateY(-50%);
  color: #a8adb3;
  font-weight: 400;
}

.noadd-step.is-current {
  color: #333;
  font-weight: 700;
}

@media screen and (max-width: 767px) {
  .noadd-checkout-steps-wrap {
    width: calc(100% - 16px);
    margin: 14px auto 20px;
  }

  .noadd-checkout-steps {
    border-radius: 18px;
  }

/* ??????????????? */
.error_message:empty {
  display: none;
}

.error_message {
  display: none;
}

.error_message:not(:empty) {
  display: block;
}

/* ???????????????? */
.error_message,
#content .error_message,
.wc_contents .error_message {
  margin: 0 0 20px;
  padding: 18px 20px;
  background: #fff7f7;
  border: 1px solid #efcaca;
  border-radius: 14px;
  color: #b42318;
  font-size: 15px;
  line-height: 1.9;
}

/* ??????????????? */
.error_message p,
.error_message ul,
.error_message li,
#content .error_message p,
#content .error_message ul,
#content .error_message li,
.wc_contents .error_message p,
.wc_contents .error_message ul,
.wc_contents .error_message li {
  margin: 0;
  padding: 0;
}

/* ????????? */
.error_message br {
  line-height: 2;
}

/* ?????????????? */
.error_message:empty,
#content .error_message:empty,
.wc_contents .error_message:empty {
  display: none;
  margin: 0;
  padding: 0;
  border: none;
}

.error_message::before,
#content .error_message::before,
.wc_contents .error_message::before {
  content: "????????????";
  display: block;
  font-weight: 700;
  margin-bottom: 10px;
  color: #b42318;
}

.amazon-error-message {
  margin-top: 12px;
  padding: 12px 14px;
  background: #fff7f7;
  border: 1px solid #efcaca;
  border-radius: 12px;
  color: #b42318;
  font-size: 14px;
  line-height: 1.7;
}

.amazon-soldout {
  margin-top: 10px;
  color: #b42318;
  font-weight: 700;
  font-size: 16px;
}