/* ==========================================================================
   SIP SAP ONLINE STORE
   Checkout / Confirmation / Completion
   Handcrafted consolidated CSS
   Version: 2026-07-19.40

   Scope:
   - #new-view.sscheckout-page
   - #confirm-view.sscheckout-page
   - #perform-view.sscheckout-page

   Principles:
   - ECForce visibility remains authoritative.
   - No global mobile display:block on tr/th/td.
   - New / confirm / complete are separated by responsibility.
   - Cart visual language is inherited without importing cart CSS.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens and base
   -------------------------------------------------------------------------- */

#new-view.sscheckout-page,
#confirm-view.sscheckout-page,
#perform-view.sscheckout-page {
  --ss-ink: #2f3a34;
  --ss-ink-soft: #566159;
  --ss-muted: #7d847f;
  --ss-forest: #315a3d;
  --ss-forest-deep: #263f30;
  --ss-moss: #73836f;
  --ss-paper: #fffdf9;
  --ss-white: #ffffff;
  --ss-warm: #faf8f3;
  --ss-line: #e8e2d8;
  --ss-line-strong: #d8d0c4;
  --ss-danger: #a24b45;
  --ss-danger-bg: #fff7f5;
  --ss-success: #315a3d;
  --ss-shadow: 0 18px 48px rgba(47, 58, 52, .07);
  --ss-shadow-soft: 0 10px 28px rgba(47, 58, 52, .05);
  --ss-radius-card: 24px;
  --ss-radius-inner: 16px;
  --ss-radius-input: 14px;
  --ss-radius-pill: 999px;

  position: relative;
  min-width: 0;
  overflow: visible;
  background: var(--ss-warm) !important;
  color: var(--ss-ink);
  isolation: isolate;
}

#new-view.sscheckout-page *,
#new-view.sscheckout-page *::before,
#new-view.sscheckout-page *::after,
#confirm-view.sscheckout-page *,
#confirm-view.sscheckout-page *::before,
#confirm-view.sscheckout-page *::after,
#perform-view.sscheckout-page *,
#perform-view.sscheckout-page *::before,
#perform-view.sscheckout-page *::after {
  box-sizing: border-box;
}

#new-view.sscheckout-page a,
#confirm-view.sscheckout-page a,
#perform-view.sscheckout-page a {
  color: inherit;
}

#new-view.sscheckout-page a:focus-visible,
#new-view.sscheckout-page button:focus-visible,
#new-view.sscheckout-page input:focus-visible,
#new-view.sscheckout-page select:focus-visible,
#new-view.sscheckout-page textarea:focus-visible,
#new-view.sscheckout-page summary:focus-visible,
#confirm-view.sscheckout-page a:focus-visible,
#confirm-view.sscheckout-page button:focus-visible,
#confirm-view.sscheckout-page input:focus-visible,
#perform-view.sscheckout-page a:focus-visible {
  outline: 2px solid var(--ss-forest);
  outline-offset: 3px;
}

/* ECForce visibility is authoritative */
#new-view.sscheckout-page [hidden],
#new-view.sscheckout-page [aria-hidden="true"],
#new-view.sscheckout-page [style*="display:none"],
#new-view.sscheckout-page [style*="display: none"],
#new-view.sscheckout-page .is-hidden,
#new-view.sscheckout-page .hidden,
#new-view.sscheckout-page .u-display__none,
#new-view.sscheckout-page .js-hidden {
  display: none !important;
}

/* --------------------------------------------------------------------------
   2. Shared shell / hero / progress
   -------------------------------------------------------------------------- */

.sscheckout-page .sscheckout-shell {
  width: min(calc(100% - 48px), 1180px);
  margin-inline: auto;
}

.sscheckout-page .sscheckout-shell--hero {
  padding: 58px 0 40px;
  text-align: center;
}

.sscheckout-page .sscheckout-shell--body {
  padding-bottom: 86px;
}

.sscheckout-page .p-page_header {
  margin: 0 !important;
  padding: 0 !important;
  text-align: center;
}

.sscheckout-page .p-page_header__inner {
  width: min(100%, 760px);
  margin-inline: auto;
}

.sscheckout-page .sscheckout-hero__eyebrow,
.sscheckout-page .sscheckout-section__eyebrow {
  margin: 0 0 12px;
  color: var(--ss-moss);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .22em;
  line-height: 1.4;
  text-transform: uppercase;
}

.sscheckout-page .p-page_header__inner__title {
  margin: 0 !important;
  color: var(--ss-forest) !important;
  font-family: "Noto Serif JP", serif !important;
  font-size: clamp(32px, 3.2vw, 44px) !important;
  font-weight: 400 !important;
  letter-spacing: .07em !important;
  line-height: 1.3 !important;
}

.sscheckout-page .p-page_header__inner__lead {
  margin: 16px auto 0 !important;
  color: var(--ss-ink-soft) !important;
  font-size: 14px !important;
  line-height: 1.9 !important;
}

.sscheckout-page .sscheckout-progress {
  width: min(100%, 620px);
  margin: 30px auto 0;
}

.sscheckout-page .sscheckout-progress ol {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.sscheckout-page .sscheckout-progress__item {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 7px;
  min-width: 0;
  color: #a2a79f;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .04em;
  line-height: 1.45;
  text-align: center;
}

.sscheckout-page .sscheckout-progress__item::before {
  position: absolute;
  top: 11px;
  right: 50%;
  width: 100%;
  height: 1px;
  background: var(--ss-line);
  content: "";
}

.sscheckout-page .sscheckout-progress__item:first-child::before {
  display: none;
}

.sscheckout-page .sscheckout-progress__item.is-current,
.sscheckout-page .sscheckout-progress__item.is-complete {
  color: var(--ss-forest);
}

.sscheckout-page .sscheckout-progress__item.is-current::before,
.sscheckout-page .sscheckout-progress__item.is-complete::before {
  background: var(--ss-moss);
}

.sscheckout-page .sscheckout-progress__number {
  position: relative;
  z-index: 1;
  display: grid;
  width: 23px;
  height: 23px;
  place-items: center;
  border: 1px solid var(--ss-line-strong);
  border-radius: 50%;
  background: var(--ss-paper);
  color: inherit;
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: 11px;
  line-height: 1;
}

.sscheckout-page .sscheckout-progress__item.is-current .sscheckout-progress__number,
.sscheckout-page .sscheckout-progress__item.is-complete .sscheckout-progress__number {
  border-color: var(--ss-forest);
  background: var(--ss-forest);
  color: #fff;
}

/* --------------------------------------------------------------------------
   3. Notifications and errors
   -------------------------------------------------------------------------- */

.sscheckout-page .sscheckout-alerts {
  position: fixed;
  top: 132px;
  left: 50%;
  z-index: 1200;
  display: grid;
  gap: 8px;
  width: min(calc(100% - 48px), 560px);
  margin: 0;
  transform: translateX(-50%);
  pointer-events: none;
}

.sscheckout-page .sscheckout-alerts:empty {
  display: none;
}

.sscheckout-page .sscheckout-alerts .control-alert {
  position: relative !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100% !important;
  min-height: 54px !important;
  margin: 0 !important;
  padding: 14px 54px !important;
  border: 1px solid var(--ss-line) !important;
  border-radius: 14px !important;
  background: rgba(255, 255, 255, .98) !important;
  box-shadow: 0 16px 40px rgba(47, 58, 52, .12) !important;
  color: var(--ss-ink) !important;
  font-size: 13px !important;
  line-height: 1.7 !important;
  text-align: center !important;
  pointer-events: auto;
}

.sscheckout-page .sscheckout-alerts .alert-success {
  color: var(--ss-success) !important;
}

.sscheckout-page .sscheckout-alerts .alert-danger {
  color: var(--ss-danger) !important;
}

.sscheckout-page .sscheckout-toast__close {
  position: absolute;
  top: 50%;
  right: 7px;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: currentColor;
  cursor: pointer;
  transform: translateY(-50%);
}

.sscheckout-page .sscheckout-toast__close::before,
.sscheckout-page .sscheckout-toast__close::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 1px;
  background: currentColor;
  content: "";
}

.sscheckout-page .sscheckout-toast__close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.sscheckout-page .sscheckout-toast__close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

#new-view.sscheckout-page .formError {
  z-index: 120 !important;
  max-width: min(320px, calc(100vw - 32px)) !important;
}

#new-view.sscheckout-page .formError .formErrorContent {
  max-width: min(320px, calc(100vw - 32px)) !important;
  padding: 9px 11px !important;
  background: var(--ss-danger-bg) !important;
  color: var(--ss-danger) !important;
  font-size: 12px !important;
  line-height: 1.6 !important;
  box-shadow: var(--ss-shadow-soft) !important;
}

#new-view.sscheckout-page .formErrorArrow {
  display: none !important;
}

/* --------------------------------------------------------------------------
   4. NEW: page frame and cards
   -------------------------------------------------------------------------- */

#new-view.sscheckout-page .sscheckout-shell--body {
  width: min(calc(100% - 48px), 1040px);
}

#new-view.sscheckout-page .p-checkout {
  width: 100%;
  margin: 0 auto;
}

#new-view.sscheckout-page .p-checkout__list {
  display: grid !important;
  gap: 20px !important;
  overflow: visible;
  border: 0 !important;
}

#new-view.sscheckout-page .p-checkout__list__block {
  margin: 0 !important;
  overflow: hidden;
  border: 1px solid var(--ss-line) !important;
  border-radius: var(--ss-radius-card) !important;
  background: var(--ss-white) !important;
  box-shadow: var(--ss-shadow) !important;
}

#new-view.sscheckout-page .p-checkout__list__block__inner {
  padding: 32px 36px !important;
  background: transparent !important;
  background-image: none !important;
}

#new-view.sscheckout-page .p-checkout__list__block__inner__title {
  margin: 0 0 24px !important;
  padding-bottom: 17px !important;
  border-bottom: 1px solid var(--ss-line) !important;
  color: var(--ss-forest) !important;
  font-family: "Noto Serif JP", serif !important;
  font-size: 21px !important;
  font-weight: 400 !important;
  letter-spacing: .05em !important;
  line-height: 1.45 !important;
}

#new-view.sscheckout-page .sscheckout-section__lead {
  margin: -8px 0 22px;
  color: var(--ss-muted);
  font-size: 12px;
  line-height: 1.8;
}

/* --------------------------------------------------------------------------
   5. NEW: LINE card
   -------------------------------------------------------------------------- */

#new-view.sscheckout-page .sscheckout-line-card {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 360px) !important;
  align-items: center !important;
  gap: 34px !important;
  margin: 0 0 20px !important;
  padding: 30px 34px !important;
  border: 1px solid var(--ss-line) !important;
  border-radius: var(--ss-radius-card) !important;
  background: var(--ss-white) !important;
  box-shadow: var(--ss-shadow) !important;
}

#new-view.sscheckout-page .sscheckout-line-card__title {
  margin: 0 !important;
  color: var(--ss-forest) !important;
  font-family: "Noto Serif JP", serif !important;
  font-size: 21px !important;
  font-weight: 400 !important;
  letter-spacing: .05em !important;
  line-height: 1.5 !important;
}

#new-view.sscheckout-page .sscheckout-line-card__lead {
  margin: 12px 0 0 !important;
  color: var(--ss-ink-soft) !important;
  font-size: 13px !important;
  line-height: 1.85 !important;
}

#new-view.sscheckout-page .sscheckout-line-card__details {
  margin-top: 12px !important;
  color: var(--ss-muted) !important;
  font-size: 11px !important;
  line-height: 1.8 !important;
}

#new-view.sscheckout-page .sscheckout-line-card__details > summary {
  display: inline-flex !important;
  align-items: center;
  gap: 7px;
  padding: 2px 0;
  color: var(--ss-forest);
  font-size: 11px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}

#new-view.sscheckout-page .sscheckout-line-card__details > summary::-webkit-details-marker {
  display: none;
}

#new-view.sscheckout-page .sscheckout-line-card__details > summary::after {
  display: inline-grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border: 1px solid rgba(49, 90, 61, .28);
  border-radius: 50%;
  content: "+";
}

#new-view.sscheckout-page .sscheckout-line-card__details[open] > summary::after {
  content: "−";
}

#new-view.sscheckout-page .sscheckout-line-card__details-body {
  margin-top: 12px !important;
  padding: 14px 16px !important;
  border-radius: 12px !important;
  background: var(--ss-warm) !important;
}

#new-view.sscheckout-page .sscheckout-line-card__details-body .alert,
#new-view.sscheckout-page .sscheckout-line-card__details-body p,
#new-view.sscheckout-page .sscheckout-line-card__details-body ul {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: inherit !important;
  box-shadow: none !important;
}

#new-view.sscheckout-page .sscheckout-line-card__action,
#new-view.sscheckout-page .sscheckout-line-card__action .button-container {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

#new-view.sscheckout-page .sscheckout-line-button {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-height: 56px !important;
  margin: 0 !important;
  padding: 12px 52px !important;
  border: 1px solid #06c755 !important;
  border-radius: var(--ss-radius-pill) !important;
  background: #fff !important;
  color: #00a943 !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  letter-spacing: .04em !important;
  text-align: center !important;
  text-decoration: none !important;
  box-shadow: none !important;
  transition: background-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

#new-view.sscheckout-page .sscheckout-line-button:hover {
  background: rgba(6, 199, 85, .045) !important;
  box-shadow: 0 8px 22px rgba(6, 199, 85, .11) !important;
  transform: translateY(-1px);
}

#new-view.sscheckout-page .sscheckout-line-button .before-btn-line {
  position: absolute !important;
  top: 50% !important;
  left: 14px !important;
  width: 32px !important;
  height: 32px !important;
  margin: 0 !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: contain !important;
  transform: translateY(-50%) !important;
}

#new-view.sscheckout-page .sscheckout-line-button .after-btn-line {
  display: none !important;
}

/* --------------------------------------------------------------------------
   6. NEW: forms
   -------------------------------------------------------------------------- */

#new-view.sscheckout-page .c-form_table {
  width: 100% !important;
  border-collapse: collapse;
}

#new-view.sscheckout-page .c-form_table > tbody > tr {
  border-top: 1px solid var(--ss-line);
}

#new-view.sscheckout-page .c-form_table > tbody > tr:first-child {
  border-top: 0;
}

#new-view.sscheckout-page .c-form_table th,
#new-view.sscheckout-page .c-form_table td {
  padding: 14px 0 !important;
  border: 0 !important;
  background: transparent !important;
  text-align: left;
  vertical-align: top;
}

#new-view.sscheckout-page .c-form_table th {
  width: 30%;
  padding-right: 28px !important;
  color: var(--ss-ink-soft) !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: .03em;
  line-height: 1.8;
}

#new-view.sscheckout-page .c-form_table td {
  min-width: 0;
  color: var(--ss-ink-soft);
  font-size: 13px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

#new-view.sscheckout-page input[type="text"],
#new-view.sscheckout-page input[type="email"],
#new-view.sscheckout-page input[type="tel"],
#new-view.sscheckout-page input[type="password"],
#new-view.sscheckout-page select,
#new-view.sscheckout-page textarea,
#new-view.sscheckout-page .form-control,
#new-view.sscheckout-page .ecforce-payment-card-number,
#new-view.sscheckout-page .ecforce-payment-card-expiry,
#new-view.sscheckout-page .ecforce-payment-card-cvc {
  width: 100%;
  max-width: 100% !important;
  min-height: 52px !important;
  padding: 0 16px !important;
  border: 1px solid var(--ss-line-strong) !important;
  border-radius: var(--ss-radius-input) !important;
  background: #fff !important;
  color: var(--ss-ink) !important;
  font: inherit;
  font-size: 14px !important;
  line-height: 1.45;
  box-shadow: none !important;
  transition: border-color .18s ease, box-shadow .18s ease;
}

#new-view.sscheckout-page textarea {
  min-height: 120px !important;
  padding-top: 14px !important;
  resize: vertical;
}

#new-view.sscheckout-page input:focus,
#new-view.sscheckout-page select:focus,
#new-view.sscheckout-page textarea:focus {
  border-color: var(--ss-forest) !important;
  outline: 0 !important;
  box-shadow: 0 0 0 3px rgba(49, 90, 61, .09) !important;
}

#new-view.sscheckout-page input:-webkit-autofill,
#new-view.sscheckout-page input:-webkit-autofill:hover,
#new-view.sscheckout-page input:-webkit-autofill:focus,
#new-view.sscheckout-page textarea:-webkit-autofill,
#new-view.sscheckout-page select:-webkit-autofill {
  -webkit-text-fill-color: var(--ss-ink) !important;
  -webkit-box-shadow: 0 0 0 1000px #fff inset !important;
  box-shadow: 0 0 0 1000px #fff inset !important;
}

#new-view.sscheckout-page .c-form_table__name,
#new-view.sscheckout-page .c-form_table__postcode,
#new-view.sscheckout-page .c-form_table__tel {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
}

#new-view.sscheckout-page .c-form_table__select {
  position: relative;
  min-width: 0;
}

#new-view.sscheckout-page .c-form_table__select select {
  appearance: none;
  padding-right: 40px !important;
}

#new-view.sscheckout-page .c-form_table__select::after {
  position: absolute;
  top: 50%;
  right: 15px;
  width: 8px;
  height: 8px;
  border-right: 1px solid var(--ss-forest);
  border-bottom: 1px solid var(--ss-forest);
  pointer-events: none;
  transform: translateY(-68%) rotate(45deg);
  content: "";
}

#new-view.sscheckout-page .c-form_table__notes,
#new-view.sscheckout-page #phone_note {
  display: block;
  margin-top: 8px;
  color: var(--ss-muted);
  font-size: 12px;
  line-height: 1.7;
}

/* birth date widths */
#new-view.sscheckout-page .c-form_table__tel:has(#order_customer_attributes_birth_1i) {
  flex-wrap: nowrap;
}

#new-view.sscheckout-page .c-form_table__select:has(#order_customer_attributes_birth_1i) {
  flex: 0 0 118px;
}

#new-view.sscheckout-page .c-form_table__select:has(#order_customer_attributes_birth_2i),
#new-view.sscheckout-page .c-form_table__select:has(#order_customer_attributes_birth_3i) {
  flex: 0 0 78px;
}

/* payment */
#new-view.sscheckout-page #view-payment-information .p-checkout__list__block__inner__payment--select:first-of-type td {
  padding: 18px !important;
  border-radius: var(--ss-radius-inner) !important;
  background: var(--ss-warm) !important;
}

#new-view.sscheckout-page .ssorder-payment-notes {
  margin-top: 16px !important;
  padding: 16px 18px !important;
  border: 1px solid var(--ss-line) !important;
  border-radius: 14px !important;
  background: #fff !important;
}

#new-view.sscheckout-page .ssorder-payment-notes summary {
  color: var(--ss-forest) !important;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

/* remark */
#new-view.sscheckout-page #view-remark .c-form_table tr {
  border-top: 0;
}

#new-view.sscheckout-page #view-remark .c-form_table th {
  display: none;
}

#new-view.sscheckout-page #view-remark .c-form_table td {
  padding: 0 !important;
}

#new-view.sscheckout-page #view-remark .c-form_table textarea {
  max-width: 620px !important;
}

/* --------------------------------------------------------------------------
   7. NEW: terms and primary action
   -------------------------------------------------------------------------- */

#new-view.sscheckout-page #view-terms .p-checkout__list__block__inner {
  padding-top: 24px !important;
  padding-bottom: 28px !important;
}

#new-view.sscheckout-page #view-terms .c-form_table th {
  display: none;
}

#new-view.sscheckout-page #view-terms .c-form_table td {
  padding: 0 !important;
}

#new-view.sscheckout-page .sscheckout-terms-label {
  position: relative !important;
  display: grid !important;
  grid-template-columns: 24px minmax(0, 1fr) !important;
  align-items: start !important;
  gap: 13px !important;
  width: 100% !important;
  min-height: 66px !important;
  margin: 0 !important;
  padding: 20px 22px !important;
  border: 1px solid rgba(49, 90, 61, .22) !important;
  border-radius: 16px !important;
  background: rgba(49, 90, 61, .035) !important;
  cursor: pointer !important;
}

#new-view.sscheckout-page .sscheckout-terms-label input[type="checkbox"] {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
}

#new-view.sscheckout-page .sscheckout-terms-check {
  position: relative !important;
  display: block !important;
  width: 22px !important;
  height: 22px !important;
  margin-top: 1px !important;
  border: 1px solid #9faea2 !important;
  border-radius: 6px !important;
  background: #fff !important;
}

#new-view.sscheckout-page .sscheckout-terms-label input:checked + .sscheckout-terms-check {
  border-color: var(--ss-forest) !important;
  background: var(--ss-forest) !important;
}

#new-view.sscheckout-page .sscheckout-terms-label input:checked + .sscheckout-terms-check::after {
  position: absolute;
  top: 4px;
  left: 7px;
  width: 6px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  content: "";
}

#new-view.sscheckout-page .sscheckout-terms-text {
  color: var(--ss-ink-soft) !important;
  font-size: 13px !important;
  line-height: 1.75 !important;
}

#new-view.sscheckout-page .sscheckout-terms-text a {
  color: var(--ss-forest) !important;
  text-decoration: underline !important;
  text-underline-offset: 3px;
}

#new-view.sscheckout-page .p-checkout__bottom {
  display: grid;
  justify-items: center;
  gap: 16px;
  max-width: 620px;
  margin: 36px auto 0 !important;
  padding-top: 30px !important;
  border-top: 1px solid var(--ss-line) !important;
}

#new-view.sscheckout-page .p-checkout__bottom__submit,
#new-view.sscheckout-page #submit {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: min(100%, 460px) !important;
  min-height: 58px !important;
  padding: 14px 24px !important;
  border: 1px solid var(--ss-forest) !important;
  border-radius: var(--ss-radius-pill) !important;
  background: var(--ss-forest) !important;
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  letter-spacing: .07em;
  text-decoration: none !important;
  cursor: pointer;
}

#new-view.sscheckout-page .p-checkout__bottom__submit:hover,
#new-view.sscheckout-page #submit:hover {
  background: var(--ss-forest-deep) !important;
}

#new-view.sscheckout-page .p-checkout__bottom__back {
  display: inline-block;
  color: var(--ss-ink-soft) !important;
  font-size: 12px !important;
  text-decoration: underline !important;
  text-underline-offset: 4px;
}

/* --------------------------------------------------------------------------
   8. CONFIRM: layout
   -------------------------------------------------------------------------- */

#confirm-view.sscheckout-page > .sscheckout-confirm__progress-row,
#confirm-view.sscheckout-page > .sscheckout-confirm__heading-row,
#confirm-view.sscheckout-page > .sscheckout-confirm__content-row {
  width: min(calc(100% - 48px), 1180px) !important;
  margin-inline: auto !important;
}

#confirm-view.sscheckout-page > .sscheckout-confirm__progress-row {
  padding-top: 38px !important;
}

#confirm-view.sscheckout-page > .sscheckout-confirm__heading-row {
  margin-top: 30px !important;
}

#confirm-view.sscheckout-page > .sscheckout-confirm__content-row {
  margin-top: 42px !important;
  padding-bottom: 88px !important;
}

#confirm-view.sscheckout-page .p-checkout_confirm {
  width: 100% !important;
  margin: 0 auto !important;
}

#confirm-view.sscheckout-page .p-checkout_confirm__inner {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 390px) !important;
  align-items: start !important;
  gap: 32px !important;
  width: 100% !important;
}

#confirm-view.sscheckout-page .p-checkout_confirm__inner__list,
#confirm-view.sscheckout-page .p-checkout_confirm__inner__side {
  min-width: 0 !important;
  margin: 0 !important;
}

#confirm-view.sscheckout-page .p-checkout_confirm__inner__side {
  position: sticky !important;
  top: 24px !important;
  display: flex !important;
  flex-direction: column;
  gap: 18px;
}

#confirm-view.sscheckout-page .p-checkout_confirm__inner__list__block {
  margin: 0 0 20px !important;
  padding: 28px 30px !important;
  border: 1px solid var(--ss-line) !important;
  border-radius: var(--ss-radius-card) !important;
  background: #fff !important;
  box-shadow: var(--ss-shadow) !important;
}

#confirm-view.sscheckout-page .p-checkout_confirm__inner__list__block__title {
  margin: 0 0 18px !important;
  padding-bottom: 15px !important;
  border-bottom: 1px solid var(--ss-line) !important;
  color: var(--ss-forest) !important;
  font-family: "Noto Serif JP", serif !important;
  font-size: 19px !important;
  font-weight: 400 !important;
  letter-spacing: .04em !important;
}

#confirm-view.sscheckout-page .c-form_table--confirm {
  width: 100% !important;
  border-collapse: collapse !important;
}

#confirm-view.sscheckout-page .c-form_table--confirm th,
#confirm-view.sscheckout-page .c-form_table--confirm td {
  padding: 12px 0 !important;
  border-bottom: 1px solid var(--ss-line) !important;
  text-align: left;
  vertical-align: top;
}

#confirm-view.sscheckout-page .c-form_table--confirm tr:last-child th,
#confirm-view.sscheckout-page .c-form_table--confirm tr:last-child td {
  border-bottom: 0 !important;
}

#confirm-view.sscheckout-page .c-form_table--confirm th {
  width: 31% !important;
  padding-right: 20px !important;
  color: var(--ss-muted) !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  letter-spacing: .03em;
}

#confirm-view.sscheckout-page .c-form_table--confirm td {
  color: var(--ss-ink) !important;
  font-size: 13px !important;
  line-height: 1.8 !important;
  overflow-wrap: anywhere;
}

#confirm-view.sscheckout-page .sscheckout-confirm__remark-content {
  min-height: 72px;
  padding: 17px 18px;
  border: 1px solid var(--ss-line);
  border-radius: 14px;
  background: var(--ss-warm);
  color: var(--ss-ink-soft);
  font-size: 13px;
  line-height: 1.85;
}

#confirm-view.sscheckout-page .p-checkout_confirm__caution__block {
  margin-bottom: 16px !important;
  padding: 15px 17px !important;
  border: 1px solid #e6d9bd !important;
  border-radius: 13px !important;
  background: #fffaf0 !important;
  color: #6c5b39 !important;
  font-size: 12px !important;
  line-height: 1.75 !important;
}

/* --------------------------------------------------------------------------
   9. CONFIRM: billing and cart cards
   -------------------------------------------------------------------------- */

#confirm-view.sscheckout-page .c-billing_list,
#confirm-view.sscheckout-page .c-cart_list {
  overflow: hidden !important;
  margin: 0 !important;
  border: 1px solid var(--ss-line) !important;
  border-radius: var(--ss-radius-card) !important;
  background: #fff !important;
  box-shadow: var(--ss-shadow) !important;
}

#confirm-view.sscheckout-page .c-billing_list__title,
#confirm-view.sscheckout-page .c-cart_list__title {
  margin: 0 !important;
  padding: 22px 24px 17px !important;
  border-bottom: 1px solid var(--ss-line) !important;
  color: var(--ss-forest) !important;
  font-family: "Noto Serif JP", serif !important;
  font-size: 18px !important;
  font-weight: 400 !important;
  letter-spacing: .04em !important;
}

#confirm-view.sscheckout-page .c-billing_list__detail {
  margin: 0 !important;
  padding: 16px 24px !important;
  border: 0 !important;
}

#confirm-view.sscheckout-page .c-billing_list__detail__item {
  padding: 6px 0 !important;
  border: 0 !important;
}

#confirm-view.sscheckout-page .c-billing_list__detail__item__row {
  display: flex !important;
  justify-content: space-between !important;
  gap: 20px !important;
  margin: 0 !important;
}

#confirm-view.sscheckout-page .c-billing_list__detail__item__row__title,
#confirm-view.sscheckout-page .c-billing_list__detail__item__row__price {
  color: var(--ss-ink-soft) !important;
  font-size: 12px !important;
  line-height: 1.7 !important;
}

#confirm-view.sscheckout-page .c-billing_list__detail__item__row__price {
  flex: 0 0 auto;
  text-align: right;
}

#confirm-view.sscheckout-page .c-billing_list__detail__item__tax {
  margin-top: 10px !important;
  padding: 11px 12px !important;
  border-radius: 10px !important;
  background: var(--ss-warm) !important;
}

#confirm-view.sscheckout-page .c-billing_list__total {
  display: flex !important;
  align-items: baseline !important;
  justify-content: space-between !important;
  gap: 18px !important;
  margin: 0 !important;
  padding: 20px 24px !important;
  border-top: 1px solid var(--ss-line) !important;
  background: rgba(49, 90, 61, .045) !important;
}

#confirm-view.sscheckout-page .c-billing_list__total__title {
  color: var(--ss-ink) !important;
  font-size: 13px !important;
}

#confirm-view.sscheckout-page .c-billing_list__total__price {
  color: var(--ss-forest) !important;
  font-family: "Cormorant Garamond", "Noto Serif JP", serif !important;
  font-size: 29px !important;
  font-weight: 600 !important;
  white-space: nowrap;
}

#confirm-view.sscheckout-page .c-cart_list__list {
  margin: 0 !important;
  padding: 0 22px 12px !important;
  border: 0 !important;
}

#confirm-view.sscheckout-page .c-cart_list__list__item {
  display: grid !important;
  grid-template-columns: 82px minmax(0, 1fr) !important;
  align-items: center !important;
  gap: 14px !important;
  padding: 18px 0 !important;
  border-bottom: 1px solid var(--ss-line) !important;
}

#confirm-view.sscheckout-page .c-cart_list__list__item__img {
  width: 82px !important;
  height: 82px !important;
  overflow: hidden;
  border-radius: 12px;
  background: var(--ss-warm);
}

#confirm-view.sscheckout-page .c-cart_list__list__item__img__inner {
  width: 100%;
  height: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

#confirm-view.sscheckout-page .c-cart_list__list__item__info__title {
  display: block;
  color: var(--ss-ink) !important;
  font-size: 13px !important;
  font-weight: 500;
  line-height: 1.6;
  text-decoration: none !important;
}

#confirm-view.sscheckout-page .c-cart_list__list__item__info__variant,
#confirm-view.sscheckout-page .c-cart_list__list__item__info__total {
  color: var(--ss-muted) !important;
  font-size: 11px !important;
  line-height: 1.7 !important;
}

#confirm-view.sscheckout-page .c-cart_list__list__item__info__total {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 7px;
}

/* actions */
#confirm-view.sscheckout-page .sscheckout-confirm__actions-source {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

#confirm-view.sscheckout-page .sscheckout-confirm__actions-source input[type="submit"],
#confirm-view.sscheckout-page .sscheckout-confirm__actions-source button[type="submit"] {
  width: 100% !important;
  min-height: 58px !important;
  margin: 0 !important;
  border: 1px solid var(--ss-forest) !important;
  border-radius: var(--ss-radius-pill) !important;
  background: var(--ss-forest) !important;
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  letter-spacing: .07em !important;
  box-shadow: 0 10px 24px rgba(49, 90, 61, .14) !important;
}

#confirm-view.sscheckout-page .sscheckout-confirm__actions-source input[type="submit"]:hover,
#confirm-view.sscheckout-page .sscheckout-confirm__actions-source button[type="submit"]:hover {
  background: var(--ss-forest-deep) !important;
}

/* --------------------------------------------------------------------------
   10. COMPLETE
   -------------------------------------------------------------------------- */

#perform-view.sscheckout-page .sscheckout-shell--complete {
  width: min(calc(100% - 48px), 680px);
  padding-bottom: 96px;
}

#perform-view.sscheckout-page .sscheckout-complete-card {
  max-width: 620px;
  margin: 30px auto 26px;
  padding: 30px;
  border: 1px solid var(--ss-line);
  border-radius: var(--ss-radius-card);
  background: #fff;
  box-shadow: var(--ss-shadow);
  text-align: center;
}

#perform-view.sscheckout-page .sscheckout-complete-card__label {
  margin: 0;
  color: var(--ss-muted);
  font-size: 11px;
  letter-spacing: .12em;
}

#perform-view.sscheckout-page .sscheckout-complete-card__number {
  margin: 8px 0 22px;
  color: var(--ss-forest);
  font-family: "Cormorant Garamond", serif;
  font-size: 30px;
  letter-spacing: .06em;
}

#perform-view.sscheckout-page .sscheckout-complete-card__message {
  padding-top: 20px;
  border-top: 1px solid var(--ss-line);
  color: var(--ss-ink-soft);
  font-size: 13px;
  line-height: 1.9;
}

#perform-view.sscheckout-page .p-page_header__inner__btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: min(100%, 420px) !important;
  min-height: 56px !important;
  margin-top: 30px !important;
  border-radius: var(--ss-radius-pill) !important;
  background: var(--ss-forest) !important;
  color: #fff !important;
  text-decoration: none !important;
}

/* --------------------------------------------------------------------------
   11. Mobile
   -------------------------------------------------------------------------- */

@media screen and (max-width: 767px) {
  .sscheckout-page .sscheckout-shell,
  #confirm-view.sscheckout-page > .sscheckout-confirm__progress-row,
  #confirm-view.sscheckout-page > .sscheckout-confirm__heading-row,
  #confirm-view.sscheckout-page > .sscheckout-confirm__content-row,
  #perform-view.sscheckout-page .sscheckout-shell--complete {
    width: calc(100% - 30px) !important;
  }

  .sscheckout-page .sscheckout-shell--hero {
    padding: 40px 0 28px !important;
  }

  .sscheckout-page .sscheckout-shell--body {
    padding-bottom: 62px;
  }

  .sscheckout-page .p-page_header__inner__title {
    font-size: 28px !important;
  }

  .sscheckout-page .p-page_header__inner__lead {
    font-size: 12px !important;
  }

  .sscheckout-page .sscheckout-progress {
    margin-top: 24px;
  }

  .sscheckout-page .sscheckout-progress__item {
    gap: 5px;
    font-size: 9px;
    letter-spacing: 0;
  }

  .sscheckout-page .sscheckout-alerts {
    top: 76px;
    width: calc(100% - 28px);
  }

  .sscheckout-page .sscheckout-alerts .control-alert {
    min-height: 52px !important;
    padding: 12px 48px 12px 42px !important;
    font-size: 12px !important;
  }

  /* new */
  #new-view.sscheckout-page .sscheckout-line-card {
    display: block !important;
    padding: 23px 18px !important;
    border-radius: 18px !important;
    box-shadow: none !important;
  }

  #new-view.sscheckout-page .sscheckout-line-card__title {
    font-size: 18px !important;
  }

  #new-view.sscheckout-page .sscheckout-line-card__lead {
    font-size: 12px !important;
  }

  #new-view.sscheckout-page .sscheckout-line-card__action {
    margin-top: 20px !important;
  }

  #new-view.sscheckout-page .p-checkout__list__block {
    border-radius: 18px !important;
    box-shadow: none !important;
  }

  #new-view.sscheckout-page .p-checkout__list__block__inner {
    padding: 24px 18px !important;
  }

  #new-view.sscheckout-page .p-checkout__list__block__inner__title {
    font-size: 18px !important;
  }

  /* Do not globally set display on tr/th/td */
  #new-view.sscheckout-page .c-form_table > tbody > tr:not([hidden]):not([aria-hidden="true"]):not([style*="display:none"]):not([style*="display: none"]) {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100% !important;
  }

  #new-view.sscheckout-page .c-form_table > tbody > tr:not([hidden]):not([aria-hidden="true"]):not([style*="display:none"]):not([style*="display: none"]) > th,
  #new-view.sscheckout-page .c-form_table > tbody > tr:not([hidden]):not([aria-hidden="true"]):not([style*="display:none"]):not([style*="display: none"]) > td {
    width: 100% !important;
  }

  #new-view.sscheckout-page .c-form_table > tbody > tr:not([hidden]):not([aria-hidden="true"]):not([style*="display:none"]):not([style*="display: none"]) > th {
    padding: 8px 0 5px !important;
    line-height: 1.6;
  }

  #new-view.sscheckout-page .c-form_table > tbody > tr:not([hidden]):not([aria-hidden="true"]):not([style*="display:none"]):not([style*="display: none"]) > td {
    padding: 4px 0 14px !important;
  }

  #new-view.sscheckout-page input[type="text"],
  #new-view.sscheckout-page input[type="email"],
  #new-view.sscheckout-page input[type="tel"],
  #new-view.sscheckout-page input[type="password"],
  #new-view.sscheckout-page select,
  #new-view.sscheckout-page textarea {
    min-height: 50px !important;
    font-size: 16px !important;
  }

  #new-view.sscheckout-page .c-form_table__name,
  #new-view.sscheckout-page .c-form_table__postcode,
  #new-view.sscheckout-page .c-form_table__tel {
    gap: 6px;
  }

  #new-view.sscheckout-page .c-form_table__select:has(#order_customer_attributes_birth_1i) {
    flex-basis: 106px;
  }

  #new-view.sscheckout-page .c-form_table__select:has(#order_customer_attributes_birth_2i),
  #new-view.sscheckout-page .c-form_table__select:has(#order_customer_attributes_birth_3i) {
    flex-basis: 70px;
  }

  #new-view.sscheckout-page .sscheckout-terms-label {
    grid-template-columns: 22px minmax(0, 1fr) !important;
    gap: 11px !important;
    padding: 17px 16px !important;
  }

  #new-view.sscheckout-page .sscheckout-terms-text {
    font-size: 12px !important;
  }

  #new-view.sscheckout-page .p-checkout__bottom {
    margin-top: 30px !important;
    padding-top: 24px !important;
  }

  #new-view.sscheckout-page .p-checkout__bottom__submit,
  #new-view.sscheckout-page #submit {
    width: 100% !important;
    min-height: 56px !important;
  }

  /* confirm */
  #confirm-view.sscheckout-page > .sscheckout-confirm__progress-row {
    padding-top: 26px !important;
  }

  #confirm-view.sscheckout-page > .sscheckout-confirm__heading-row {
    margin-top: 24px !important;
  }

  #confirm-view.sscheckout-page > .sscheckout-confirm__content-row {
    margin-top: 34px !important;
    padding-bottom: 64px !important;
  }

  #confirm-view.sscheckout-page .p-checkout_confirm__inner {
    display: block !important;
  }

  #confirm-view.sscheckout-page .p-checkout_confirm__inner__side {
    position: static !important;
    margin-top: 20px !important;
  }

  #confirm-view.sscheckout-page .p-checkout_confirm__inner__list__block {
    padding: 23px 18px !important;
    border-radius: 18px !important;
    box-shadow: none !important;
  }

  #confirm-view.sscheckout-page .c-form_table--confirm,
  #confirm-view.sscheckout-page .c-form_table--confirm tbody,
  #confirm-view.sscheckout-page .c-form_table--confirm tr,
  #confirm-view.sscheckout-page .c-form_table--confirm th,
  #confirm-view.sscheckout-page .c-form_table--confirm td {
    display: block;
    width: 100% !important;
  }

  #confirm-view.sscheckout-page .c-form_table--confirm tr {
    padding: 12px 0;
    border-bottom: 1px solid var(--ss-line);
  }

  #confirm-view.sscheckout-page .c-form_table--confirm th,
  #confirm-view.sscheckout-page .c-form_table--confirm td {
    padding: 0 !important;
    border: 0 !important;
  }

  #confirm-view.sscheckout-page .c-form_table--confirm th {
    margin-bottom: 5px;
  }

  #confirm-view.sscheckout-page .c-billing_list,
  #confirm-view.sscheckout-page .c-cart_list {
    border-radius: 18px !important;
    box-shadow: none !important;
  }

  #confirm-view.sscheckout-page .c-billing_list__title,
  #confirm-view.sscheckout-page .c-cart_list__title {
    padding: 20px 18px 15px !important;
    font-size: 17px !important;
  }

  #confirm-view.sscheckout-page .c-billing_list__detail {
    padding: 14px 18px !important;
  }

  #confirm-view.sscheckout-page .c-billing_list__total {
    padding: 18px !important;
  }

  #confirm-view.sscheckout-page .c-cart_list__list {
    padding: 0 18px 10px !important;
  }

  #confirm-view.sscheckout-page .c-cart_list__list__item {
    grid-template-columns: 72px minmax(0, 1fr) !important;
  }

  #confirm-view.sscheckout-page .c-cart_list__list__item__img {
    width: 72px !important;
    height: 72px !important;
  }

  #confirm-view.sscheckout-page .sscheckout-confirm__actions-source {
    margin-top: 24px !important;
    padding-top: 24px !important;
    border-top: 1px solid var(--ss-line) !important;
  }

  #perform-view.sscheckout-page .sscheckout-complete-card {
    padding: 24px 18px;
    border-radius: 18px;
    box-shadow: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  #new-view.sscheckout-page *,
  #confirm-view.sscheckout-page *,
  #perform-view.sscheckout-page * {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}

/* --------------------------------------------------------------------------
   12. Terms checkbox isolation
   Prevent /new/before_bundle.css from rotating or repositioning the frame.
   -------------------------------------------------------------------------- */

#new-view.sscheckout-page #view-terms .sscheckout-terms-check,
#new-view.sscheckout-page #view-terms .c-form_table__checkbox__frame {
  position: relative !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  display: block !important;
  flex: 0 0 22px !important;
  width: 22px !important;
  min-width: 22px !important;
  max-width: 22px !important;
  height: 22px !important;
  min-height: 22px !important;
  max-height: 22px !important;
  margin: 1px 0 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  border: 1px solid #9faea2 !important;
  border-radius: 6px !important;
  background: #fff !important;
  opacity: 1 !important;
  -webkit-transform: none !important;
  transform: none !important;
  pointer-events: none !important;
}

#new-view.sscheckout-page #view-terms .sscheckout-terms-check::before,
#new-view.sscheckout-page #view-terms .c-form_table__checkbox__frame::before {
  display: none !important;
  content: none !important;
}

#new-view.sscheckout-page #view-terms .sscheckout-terms-check::after,
#new-view.sscheckout-page #view-terms .c-form_table__checkbox__frame::after {
  position: absolute !important;
  top: 4px !important;
  right: auto !important;
  bottom: auto !important;
  left: 7px !important;
  display: none !important;
  width: 6px !important;
  height: 10px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-right: 2px solid #fff !important;
  border-bottom: 2px solid #fff !important;
  background: transparent !important;
  opacity: 1 !important;
  -webkit-transform: rotate(45deg) !important;
  transform: rotate(45deg) !important;
  content: "" !important;
}

#new-view.sscheckout-page #view-terms .sscheckout-terms-label input[type="checkbox"]:checked + .sscheckout-terms-check,
#new-view.sscheckout-page #view-terms .c-form_table__checkbox > input[type="checkbox"]:checked + .c-form_table__checkbox__frame {
  border-color: var(--ss-forest) !important;
  background: var(--ss-forest) !important;
}

#new-view.sscheckout-page #view-terms .sscheckout-terms-label input[type="checkbox"]:checked + .sscheckout-terms-check::after,
#new-view.sscheckout-page #view-terms .c-form_table__checkbox > input[type="checkbox"]:checked + .c-form_table__checkbox__frame::after {
  display: block !important;
}

@media screen and (max-width: 767px) {
  #new-view.sscheckout-page #view-terms .sscheckout-terms-check,
  #new-view.sscheckout-page #view-terms .c-form_table__checkbox__frame {
    flex-basis: 22px !important;
    width: 22px !important;
    min-width: 22px !important;
    max-width: 22px !important;
    height: 22px !important;
    min-height: 22px !important;
    max-height: 22px !important;
  }
}

/* --------------------------------------------------------------------------
   12. FINAL STABILITY FIXES 2026-07-19.44
   - Preserve all ECForce delivery / recurring / remark blocks.
   - Neutralize inherited fixed widths on confirmation cards.
   - Fully isolate the terms checkbox from /new/before_bundle.css.
   -------------------------------------------------------------------------- */

/*
   IMPORTANT:
   Do not hide ECForce option blocks with :empty or :has() selectors.
   Delivery date, delivery time, recurring cycle and remark fields may be
   populated or toggled after the initial render by ECForce JavaScript.
   Their visibility is controlled only by ECForce's hidden/aria-hidden/
   inline display state handled in section 1.
*/

/* Confirmation: cancel ECForce legacy fixed widths. */
#confirm-view.sscheckout-page .p-checkout_confirm__inner__list,
#confirm-view.sscheckout-page .p-checkout_confirm__inner__side,
#confirm-view.sscheckout-page .p-checkout_confirm__inner__list__block,
#confirm-view.sscheckout-page .p-checkout_confirm__inner__cart,
#confirm-view.sscheckout-page .c-billing_list,
#confirm-view.sscheckout-page .c-cart_list,
#confirm-view.sscheckout-page .sscheckout-confirm__actions-target,
#confirm-view.sscheckout-page .sscheckout-confirm__actions-source {
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
}

#confirm-view.sscheckout-page .p-checkout_confirm__inner__list__block,
#confirm-view.sscheckout-page .p-checkout_confirm__inner__cart {
  float: none !important;
}

/* Terms checkbox: reset every property supplied by before_bundle.css. */
#new-view.sscheckout-page #view-terms .c-form_table__checkbox__frame,
#new-view.sscheckout-page #view-terms .sscheckout-terms-check {
  position: relative !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  display: block !important;
  flex: 0 0 22px !important;
  width: 22px !important;
  min-width: 22px !important;
  max-width: 22px !important;
  height: 22px !important;
  min-height: 22px !important;
  max-height: 22px !important;
  margin: 1px 0 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  border: 1px solid #9faea2 !important;
  border-radius: 6px !important;
  background: #fff !important;
  opacity: 1 !important;
  -webkit-transform: none !important;
  transform: none !important;
  pointer-events: none !important;
}

#new-view.sscheckout-page #view-terms .c-form_table__checkbox__frame::before,
#new-view.sscheckout-page #view-terms .sscheckout-terms-check::before {
  display: none !important;
  content: none !important;
}

#new-view.sscheckout-page #view-terms .c-form_table__checkbox__frame::after,
#new-view.sscheckout-page #view-terms .sscheckout-terms-check::after {
  position: absolute !important;
  top: 4px !important;
  right: auto !important;
  bottom: auto !important;
  left: 7px !important;
  display: none !important;
  width: 6px !important;
  height: 10px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-right: 2px solid #fff !important;
  border-bottom: 2px solid #fff !important;
  background: transparent !important;
  opacity: 1 !important;
  -webkit-transform: rotate(45deg) !important;
  transform: rotate(45deg) !important;
  content: "" !important;
}

#new-view.sscheckout-page #view-terms .sscheckout-terms-label input[type="checkbox"]:checked + .sscheckout-terms-check,
#new-view.sscheckout-page #view-terms .c-form_table__checkbox > input[type="checkbox"]:checked + .c-form_table__checkbox__frame {
  border-color: var(--ss-forest) !important;
  background: var(--ss-forest) !important;
}

#new-view.sscheckout-page #view-terms .sscheckout-terms-label input[type="checkbox"]:checked + .sscheckout-terms-check::after,
#new-view.sscheckout-page #view-terms .c-form_table__checkbox > input[type="checkbox"]:checked + .c-form_table__checkbox__frame::after {
  display: block !important;
}

/* Ensure the actual checkbox remains clickable over the custom frame. */
#new-view.sscheckout-page #view-terms .sscheckout-terms-label input[type="checkbox"],
#new-view.sscheckout-page #view-terms .c-form_table__checkbox > input[type="checkbox"] {
  position: absolute !important;
  top: 18px !important;
  left: 20px !important;
  z-index: 2 !important;
  display: block !important;
  width: 24px !important;
  height: 24px !important;
  margin: 0 !important;
  opacity: 0 !important;
  cursor: pointer !important;
}

@media screen and (max-width: 767px) {
  #confirm-view.sscheckout-page .p-checkout_confirm__inner__list,
  #confirm-view.sscheckout-page .p-checkout_confirm__inner__side,
  #confirm-view.sscheckout-page .p-checkout_confirm__inner__list__block,
  #confirm-view.sscheckout-page .p-checkout_confirm__inner__cart,
  #confirm-view.sscheckout-page .c-billing_list,
  #confirm-view.sscheckout-page .c-cart_list {
    width: 100% !important;
    max-width: none !important;
  }

  #new-view.sscheckout-page #view-terms .sscheckout-terms-label input[type="checkbox"],
  #new-view.sscheckout-page #view-terms .c-form_table__checkbox > input[type="checkbox"] {
    top: 15px !important;
    left: 14px !important;
  }
}


/* --------------------------------------------------------------------------
   13. ECFORCE DYNAMIC BLOCK PRESERVATION 2026-07-19.44
   Never force these functional areas to display:none. ECForce decides whether
   they are applicable to normal purchase or recurring purchase.
   -------------------------------------------------------------------------- */

#new-view.sscheckout-page #view-shipping-information,
#new-view.sscheckout-page #view-shipping-carrier,
#new-view.sscheckout-page #view-payment-schedule,
#new-view.sscheckout-page #view-remark,
#new-view.sscheckout-page [id*="delivery"],
#new-view.sscheckout-page [id*="shipping"],
#new-view.sscheckout-page [id*="schedule"] {
  max-width: none;
}

/* Native ECForce hidden states remain authoritative. */
#new-view.sscheckout-page #view-shipping-information[hidden],
#new-view.sscheckout-page #view-shipping-carrier[hidden],
#new-view.sscheckout-page #view-payment-schedule[hidden],
#new-view.sscheckout-page #view-remark[hidden],
#new-view.sscheckout-page #view-shipping-information[aria-hidden="true"],
#new-view.sscheckout-page #view-shipping-carrier[aria-hidden="true"],
#new-view.sscheckout-page #view-payment-schedule[aria-hidden="true"],
#new-view.sscheckout-page #view-remark[aria-hidden="true"] {
  display: none !important;
}

/* --------------------------------------------------------------------------
   14. NEWSLETTER OPT-IN / 2026-07-19.47
   Match the SIP SAP checkout card design and isolate the checkbox from
   ECForce before_bundle.css.
   -------------------------------------------------------------------------- */

#new-view.sscheckout-page #view-optin .p-checkout__list__block__inner {
  padding-top: 30px !important;
  padding-bottom: 30px !important;
}

#new-view.sscheckout-page #view-optin .sscheckout-optin__header {
  width: min(100%, 720px);
  margin: 0 auto;
}

#new-view.sscheckout-page #view-optin .sscheckout-section__eyebrow {
  margin: 0 0 10px !important;
}

#new-view.sscheckout-page #view-optin .p-checkout__list__block__inner__title {
  margin-bottom: 14px !important;
}

#new-view.sscheckout-page #view-optin .sscheckout-optin__lead {
  margin: 0;
  color: var(--ss-muted) !important;
  font-size: 12px !important;
  line-height: 1.85 !important;
}

#new-view.sscheckout-page #view-optin .sscheckout-optin__body {
  width: min(100%, 720px);
  margin: 22px auto 0;
}

#new-view.sscheckout-page #view-optin .sscheckout-optin__label {
  position: relative !important;
  display: grid !important;
  grid-template-columns: 22px minmax(0, 1fr) !important;
  align-items: center !important;
  gap: 13px !important;
  width: 100% !important;
  min-height: 64px !important;
  margin: 0 !important;
  padding: 19px 21px !important;
  border: 1px solid rgba(49, 90, 61, .22) !important;
  border-radius: 16px !important;
  background: rgba(49, 90, 61, .035) !important;
  color: var(--ss-ink-soft) !important;
  cursor: pointer !important;
  transition: border-color .18s ease, background-color .18s ease;
}

#new-view.sscheckout-page #view-optin .sscheckout-optin__label:hover {
  border-color: rgba(49, 90, 61, .38) !important;
  background: rgba(49, 90, 61, .055) !important;
}

#new-view.sscheckout-page #view-optin .sscheckout-optin__input {
  position: absolute !important;
  top: 19px !important;
  left: 20px !important;
  z-index: 2 !important;
  display: block !important;
  width: 24px !important;
  height: 24px !important;
  margin: 0 !important;
  opacity: 0 !important;
  cursor: pointer !important;
}

#new-view.sscheckout-page #view-optin .sscheckout-optin__check {
  position: relative !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  display: block !important;
  width: 22px !important;
  min-width: 22px !important;
  max-width: 22px !important;
  height: 22px !important;
  min-height: 22px !important;
  max-height: 22px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  border: 1px solid #9faea2 !important;
  border-radius: 6px !important;
  background: #fff !important;
  opacity: 1 !important;
  pointer-events: none !important;
  -webkit-transform: none !important;
  transform: none !important;
}

#new-view.sscheckout-page #view-optin .sscheckout-optin__check::before {
  display: none !important;
  content: none !important;
}

#new-view.sscheckout-page #view-optin .sscheckout-optin__check::after {
  position: absolute !important;
  top: 4px !important;
  left: 7px !important;
  display: none !important;
  width: 6px !important;
  height: 10px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-right: 2px solid #fff !important;
  border-bottom: 2px solid #fff !important;
  background: transparent !important;
  opacity: 1 !important;
  -webkit-transform: rotate(45deg) !important;
  transform: rotate(45deg) !important;
  content: "" !important;
}

#new-view.sscheckout-page #view-optin .sscheckout-optin__input:checked + .sscheckout-optin__check {
  border-color: var(--ss-forest) !important;
  background: var(--ss-forest) !important;
}

#new-view.sscheckout-page #view-optin .sscheckout-optin__input:checked + .sscheckout-optin__check::after {
  display: block !important;
}

#new-view.sscheckout-page #view-optin .sscheckout-optin__input:focus-visible + .sscheckout-optin__check {
  outline: 2px solid var(--ss-forest) !important;
  outline-offset: 3px !important;
}

#new-view.sscheckout-page #view-optin .sscheckout-optin__text {
  min-width: 0;
  color: var(--ss-ink-soft) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: .02em;
  line-height: 1.75 !important;
  overflow-wrap: anywhere;
}

@media screen and (max-width: 767px) {
  #new-view.sscheckout-page #view-optin .p-checkout__list__block__inner {
    padding: 24px 18px !important;
  }

  #new-view.sscheckout-page #view-optin .sscheckout-optin__body {
    margin-top: 18px;
  }

  #new-view.sscheckout-page #view-optin .sscheckout-optin__label {
    grid-template-columns: 22px minmax(0, 1fr) !important;
    gap: 11px !important;
    min-height: 60px !important;
    padding: 17px 16px !important;
    border-radius: 14px !important;
  }

  #new-view.sscheckout-page #view-optin .sscheckout-optin__input {
    top: 15px !important;
    left: 14px !important;
  }

  #new-view.sscheckout-page #view-optin .sscheckout-optin__text {
    font-size: 12px !important;
  }
}

/* ========================================================================== 
   SIP SAP ORDER FINAL PATCH 2026-07-19.50
   1) Newsletter card mirrors the Agreement card.
   2) Newsletter is checked by default via HTML and rendered independently
      from before_bundle.css.
   3) Mobile birthday controls always fit within the viewport.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Newsletter: card interior and heading
   -------------------------------------------------------------------------- */
#new-view.sscheckout-page #view-optin.ssorder-optin .p-checkout__list__block__inner {
  width: 100% !important;
  padding: 30px 0 34px !important;
}

#new-view.sscheckout-page #view-optin.ssorder-optin .ssorder-optin__header,
#new-view.sscheckout-page #view-optin.ssorder-optin .ssorder-optin__table {
  width: min(calc(100% - 64px), 648px) !important;
  max-width: 648px !important;
  margin-right: auto !important;
  margin-left: auto !important;
}

#new-view.sscheckout-page #view-optin.ssorder-optin .sscheckout-section__eyebrow {
  margin: 0 0 11px !important;
  color: #73836f !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  letter-spacing: .22em !important;
}

#new-view.sscheckout-page #view-optin.ssorder-optin .ssorder-optin__title {
  margin: 0 !important;
  color: var(--ss-forest) !important;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", serif !important;
  font-size: 21px !important;
  font-weight: 500 !important;
  line-height: 1.45 !important;
  letter-spacing: .04em !important;
}

#new-view.sscheckout-page #view-optin.ssorder-optin .ssorder-optin__rule {
  display: block !important;
  width: 100% !important;
  height: 1px !important;
  margin: 14px 0 18px !important;
  background: var(--ss-line) !important;
}

#new-view.sscheckout-page #view-optin.ssorder-optin .ssorder-optin__lead {
  margin: 0 !important;
  color: var(--ss-muted) !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  line-height: 1.85 !important;
  letter-spacing: .01em !important;
}

/* --------------------------------------------------------------------------
   Newsletter: use the same field geometry as Agreement
   -------------------------------------------------------------------------- */
#new-view.sscheckout-page #view-optin.ssorder-optin .ssorder-optin__table {
  margin-top: 22px !important;
  border: 0 !important;
  border-collapse: collapse !important;
  table-layout: fixed !important;
}

#new-view.sscheckout-page #view-optin.ssorder-optin .ssorder-optin__table,
#new-view.sscheckout-page #view-optin.ssorder-optin .ssorder-optin__table tbody,
#new-view.sscheckout-page #view-optin.ssorder-optin .ssorder-optin__table tr,
#new-view.sscheckout-page #view-optin.ssorder-optin .ssorder-optin__table td {
  width: 100% !important;
  max-width: 100% !important;
}

#new-view.sscheckout-page #view-optin.ssorder-optin .ssorder-optin__table th {
  display: none !important;
}

#new-view.sscheckout-page #view-optin.ssorder-optin .ssorder-optin__table td {
  display: table-cell !important;
  padding: 0 !important;
  border: 0 !important;
}

#new-view.sscheckout-page #view-optin.ssorder-optin .ssorder-optin__field {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

#new-view.sscheckout-page #view-optin.ssorder-optin .ssorder-optin__label {
  position: relative !important;
  display: grid !important;
  grid-template-columns: 24px minmax(0, 1fr) !important;
  align-items: start !important;
  gap: 13px !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 66px !important;
  margin: 0 !important;
  padding: 20px 22px !important;
  border: 1px solid rgba(49, 90, 61, .22) !important;
  border-radius: 16px !important;
  background: rgba(49, 90, 61, .035) !important;
  color: var(--ss-ink-soft) !important;
  cursor: pointer !important;
  transition: border-color .18s ease, background-color .18s ease !important;
}

#new-view.sscheckout-page #view-optin.ssorder-optin .ssorder-optin__label:hover {
  border-color: rgba(49, 90, 61, .38) !important;
  background: rgba(49, 90, 61, .055) !important;
}

/* Keep the native checkbox clickable but visually hidden. */
#new-view.sscheckout-page #view-optin.ssorder-optin .ssorder-optin__input {
  position: absolute !important;
  top: 18px !important;
  left: 20px !important;
  z-index: 3 !important;
  display: block !important;
  visibility: visible !important;
  width: 26px !important;
  height: 26px !important;
  margin: 0 !important;
  padding: 0 !important;
  opacity: 0 !important;
  cursor: pointer !important;
  appearance: auto !important;
  -webkit-appearance: checkbox !important;
}

/* Fully reset the legacy ECForce checkbox frame. */
#new-view.sscheckout-page #view-optin.ssorder-optin .ssorder-optin__check {
  position: relative !important;
  inset: auto !important;
  display: block !important;
  visibility: visible !important;
  grid-column: 1 !important;
  width: 22px !important;
  min-width: 22px !important;
  max-width: 22px !important;
  height: 22px !important;
  min-height: 22px !important;
  max-height: 22px !important;
  margin: 1px 0 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  border: 1px solid #9faea2 !important;
  border-radius: 6px !important;
  background: #fff !important;
  opacity: 1 !important;
  pointer-events: none !important;
  transform: none !important;
  -webkit-transform: none !important;
}

#new-view.sscheckout-page #view-optin.ssorder-optin .ssorder-optin__check::before {
  display: none !important;
  content: none !important;
}

#new-view.sscheckout-page #view-optin.ssorder-optin .ssorder-optin__check::after {
  position: absolute !important;
  top: 4px !important;
  left: 7px !important;
  display: none !important;
  width: 6px !important;
  height: 10px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-right: 2px solid #fff !important;
  border-bottom: 2px solid #fff !important;
  background: transparent !important;
  opacity: 1 !important;
  transform: rotate(45deg) !important;
  -webkit-transform: rotate(45deg) !important;
  content: "" !important;
}

#new-view.sscheckout-page #view-optin.ssorder-optin .ssorder-optin__input:checked + .ssorder-optin__check {
  border-color: var(--ss-forest) !important;
  background: var(--ss-forest) !important;
}

#new-view.sscheckout-page #view-optin.ssorder-optin .ssorder-optin__input:checked + .ssorder-optin__check::after {
  display: block !important;
}

#new-view.sscheckout-page #view-optin.ssorder-optin .ssorder-optin__input:focus-visible + .ssorder-optin__check {
  outline: 2px solid var(--ss-forest) !important;
  outline-offset: 3px !important;
}

#new-view.sscheckout-page #view-optin.ssorder-optin .ssorder-optin__text {
  display: block !important;
  min-width: 0 !important;
  color: var(--ss-ink-soft) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1.75 !important;
  letter-spacing: .02em !important;
  overflow-wrap: anywhere !important;
}

/* --------------------------------------------------------------------------
   Mobile birthday: fluid widths, no clipping
   -------------------------------------------------------------------------- */
@media screen and (max-width: 767px) {
  #new-view.sscheckout-page .c-form_table__tel:has(#order_customer_attributes_birth_1i) {
    display: grid !important;
    grid-template-columns: minmax(0, 1.45fr) auto minmax(0, 1fr) auto minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 4px !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    overflow: visible !important;
  }

  #new-view.sscheckout-page .c-form_table__tel:has(#order_customer_attributes_birth_1i) .c-form_table__select {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    flex: none !important;
    flex-basis: auto !important;
  }

  #new-view.sscheckout-page #order_customer_attributes_birth_1i,
  #new-view.sscheckout-page #order_customer_attributes_birth_2i,
  #new-view.sscheckout-page #order_customer_attributes_birth_3i {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    padding-right: 25px !important;
    padding-left: 8px !important;
    font-size: 14px !important;
    box-sizing: border-box !important;
  }

  #new-view.sscheckout-page .c-form_table__tel:has(#order_customer_attributes_birth_1i) > span,
  #new-view.sscheckout-page .c-form_table__tel:has(#order_customer_attributes_birth_1i) > .u-text--body {
    width: auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    font-size: 12px !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }

  #new-view.sscheckout-page #view-optin.ssorder-optin .p-checkout__list__block__inner {
    padding: 25px 0 28px !important;
  }

  #new-view.sscheckout-page #view-optin.ssorder-optin .ssorder-optin__header,
  #new-view.sscheckout-page #view-optin.ssorder-optin .ssorder-optin__table {
    width: calc(100% - 36px) !important;
    max-width: none !important;
  }

  #new-view.sscheckout-page #view-optin.ssorder-optin .ssorder-optin__title {
    font-size: 19px !important;
  }

  #new-view.sscheckout-page #view-optin.ssorder-optin .ssorder-optin__rule {
    margin-top: 12px !important;
    margin-bottom: 15px !important;
  }

  #new-view.sscheckout-page #view-optin.ssorder-optin .ssorder-optin__table {
    margin-top: 18px !important;
  }

  #new-view.sscheckout-page #view-optin.ssorder-optin .ssorder-optin__label {
    grid-template-columns: 22px minmax(0, 1fr) !important;
    gap: 11px !important;
    min-height: 60px !important;
    padding: 17px 16px !important;
    border-radius: 14px !important;
  }

  #new-view.sscheckout-page #view-optin.ssorder-optin .ssorder-optin__input {
    top: 15px !important;
    left: 14px !important;
  }

  #new-view.sscheckout-page #view-optin.ssorder-optin .ssorder-optin__text {
    font-size: 12px !important;
  }
}

/* ========================================================================== 
   SIP SAP ORDER FINAL WIDTH PATCH 2026-07-19.51
   Newsletter section: match the Agreement section content width exactly.
   ========================================================================== */

@media screen and (min-width: 768px) {
  #new-view.sscheckout-page #view-optin.ssorder-optin .ssorder-optin__header,
  #new-view.sscheckout-page #view-optin.ssorder-optin .ssorder-optin__table,
  #new-view.sscheckout-page #view-optin.ssorder-optin .ssorder-optin__field,
  #new-view.sscheckout-page #view-optin.ssorder-optin .ssorder-optin__label {
    width: 648px !important;
    min-width: 0 !important;
    max-width: 648px !important;
    box-sizing: border-box !important;
  }

  #new-view.sscheckout-page #view-optin.ssorder-optin .ssorder-optin__header,
  #new-view.sscheckout-page #view-optin.ssorder-optin .ssorder-optin__table {
    margin-right: auto !important;
    margin-left: auto !important;
  }

  #new-view.sscheckout-page #view-optin.ssorder-optin .ssorder-optin__table tbody,
  #new-view.sscheckout-page #view-optin.ssorder-optin .ssorder-optin__table tr,
  #new-view.sscheckout-page #view-optin.ssorder-optin .ssorder-optin__table td {
    width: 648px !important;
    min-width: 0 !important;
    max-width: 648px !important;
    box-sizing: border-box !important;
  }
}

@media screen and (max-width: 767px) {
  #new-view.sscheckout-page #view-optin.ssorder-optin .ssorder-optin__header,
  #new-view.sscheckout-page #view-optin.ssorder-optin .ssorder-optin__table,
  #new-view.sscheckout-page #view-optin.ssorder-optin .ssorder-optin__field,
  #new-view.sscheckout-page #view-optin.ssorder-optin .ssorder-optin__label {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  #new-view.sscheckout-page #view-optin.ssorder-optin .ssorder-optin__header,
  #new-view.sscheckout-page #view-optin.ssorder-optin .ssorder-optin__table {
    width: calc(100% - 36px) !important;
    margin-right: auto !important;
    margin-left: auto !important;
  }

  #new-view.sscheckout-page #view-optin.ssorder-optin .ssorder-optin__table tbody,
  #new-view.sscheckout-page #view-optin.ssorder-optin .ssorder-optin__table tr,
  #new-view.sscheckout-page #view-optin.ssorder-optin .ssorder-optin__table td {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
}
/* ========================================================================== 
   SIP SAP ORDER COMPLETE FINAL 2026-07-19.53
   High-fidelity completion page for PC and SP.
   ========================================================================== */

#perform-view.sscheckout-page.sscheckout-page--complete {
  min-height: 100vh;
  padding: 0 0 84px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, .92) 0, rgba(255, 255, 255, 0) 34%),
    var(--ss-warm) !important;
}

#perform-view.sscheckout-page .sscheckout-shell--complete-page {
  width: min(calc(100% - 48px), 900px);
  margin-inline: auto;
  padding-top: 42px;
}

#perform-view.sscheckout-page .sscheckout-progress--complete {
  width: min(100%, 620px);
  margin: 0 auto;
}

#perform-view.sscheckout-page .sscheckout-complete {
  width: min(100%, 760px);
  margin: 50px auto 0;
  text-align: center;
}

#perform-view.sscheckout-page .sscheckout-complete__icon {
  display: grid;
  width: 58px;
  height: 58px;
  margin: 0 auto 22px;
  place-items: center;
  border: 1px solid rgba(49, 90, 61, .20);
  border-radius: 50%;
  background: rgba(49, 90, 61, .07);
}

#perform-view.sscheckout-page .sscheckout-complete__icon span {
  display: block;
  width: 12px;
  height: 22px;
  margin-top: -4px;
  border-right: 2px solid var(--ss-forest);
  border-bottom: 2px solid var(--ss-forest);
  transform: rotate(45deg);
}

#perform-view.sscheckout-page .sscheckout-hero__eyebrow {
  margin-bottom: 10px;
}

#perform-view.sscheckout-page .sscheckout-complete__title {
  margin: 0;
  color: var(--ss-forest);
  font-family: "Noto Serif JP", serif;
  font-size: clamp(30px, 3.2vw, 40px);
  font-weight: 400;
  letter-spacing: .055em;
  line-height: 1.35;
}

#perform-view.sscheckout-page .sscheckout-complete__lead {
  margin: 18px auto 0;
  color: var(--ss-ink-soft);
  font-size: 14px;
  line-height: 1.9;
  letter-spacing: .01em;
}

#perform-view.sscheckout-page .sscheckout-complete-card {
  width: 100%;
  max-width: 680px;
  margin: 34px auto 0;
  padding: 34px 46px 36px;
  border: 1px solid var(--ss-line);
  border-radius: 24px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 18px 50px rgba(47, 58, 52, .07);
  text-align: center;
}

#perform-view.sscheckout-page .sscheckout-complete-card__order {
  display: grid;
  justify-items: center;
  gap: 8px;
}

#perform-view.sscheckout-page .sscheckout-complete-card__label {
  margin: 0;
  color: var(--ss-muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .16em;
  line-height: 1.5;
  text-transform: uppercase;
}

#perform-view.sscheckout-page .sscheckout-complete-card__number {
  margin: 0;
  color: var(--ss-forest);
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: 34px;
  font-weight: 600;
  letter-spacing: .065em;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

#perform-view.sscheckout-page .sscheckout-complete-card__divider {
  width: 100%;
  height: 1px;
  margin: 25px 0 22px;
  background: var(--ss-line);
}

#perform-view.sscheckout-page .sscheckout-complete-card__message {
  width: min(100%, 540px);
  margin: 0 auto;
  color: var(--ss-ink-soft);
  font-size: 13px;
  line-height: 1.9;
  text-align: left;
}

#perform-view.sscheckout-page .sscheckout-complete-card__message p {
  margin: 0;
}

#perform-view.sscheckout-page .sscheckout-complete-card__message p + p {
  margin-top: 10px;
}

#perform-view.sscheckout-page .sscheckout-complete-card__support {
  width: min(100%, 540px);
  margin: 24px auto 0;
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(49, 90, 61, .045);
}

#perform-view.sscheckout-page .sscheckout-complete-card__support-label {
  margin: 0 0 4px;
  color: var(--ss-muted);
  font-size: 11px;
  line-height: 1.5;
}

#perform-view.sscheckout-page .sscheckout-complete-card__support-link {
  color: var(--ss-forest) !important;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .02em;
  text-decoration: underline;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

#perform-view.sscheckout-page .sscheckout-complete__actions {
  display: grid;
  justify-items: center;
  gap: 14px;
  margin-top: 28px;
}

#perform-view.sscheckout-page .sscheckout-complete__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 420px);
  min-height: 56px;
  padding: 14px 24px;
  border: 1px solid var(--ss-forest);
  border-radius: var(--ss-radius-pill);
  background: var(--ss-forest);
  color: #fff !important;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .07em;
  line-height: 1.4;
  text-decoration: none !important;
  box-shadow: 0 10px 24px rgba(49, 90, 61, .14);
  transition: background-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

#perform-view.sscheckout-page .sscheckout-complete__button:hover {
  background: var(--ss-forest-deep);
  box-shadow: 0 12px 28px rgba(49, 90, 61, .18);
  transform: translateY(-1px);
}

#perform-view.sscheckout-page .sscheckout-complete__note {
  margin: 0;
  color: var(--ss-muted);
  font-size: 11px;
  line-height: 1.7;
}

#perform-view.sscheckout-page .sscheckout-line-link--complete {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 320px);
  align-items: center;
  gap: 28px;
  width: min(100%, 760px);
  margin: 28px auto 0;
  padding: 26px 28px;
  border: 1px solid var(--ss-line);
  border-radius: 20px;
  background: rgba(255, 255, 255, .78);
}

#perform-view.sscheckout-page .sscheckout-line-link__copy {
  min-width: 0;
  text-align: left;
}

#perform-view.sscheckout-page .sscheckout-line-link__eyebrow {
  margin: 0 0 7px;
  color: var(--ss-moss);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .18em;
}

#perform-view.sscheckout-page .sscheckout-line-link__title {
  margin: 0;
  color: var(--ss-forest);
  font-family: "Noto Serif JP", serif;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: .04em;
  line-height: 1.5;
}

#perform-view.sscheckout-page .sscheckout-line-link__text {
  margin-top: 8px;
  color: var(--ss-muted);
  font-size: 11px;
  line-height: 1.75;
}

#perform-view.sscheckout-page .sscheckout-line-link__text .alert,
#perform-view.sscheckout-page .sscheckout-line-link__text p,
#perform-view.sscheckout-page .sscheckout-line-link__text ul {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

#perform-view.sscheckout-page .sscheckout-line-link__action,
#perform-view.sscheckout-page .sscheckout-line-link__action .button-container {
  width: 100%;
  margin: 0;
}

#perform-view.sscheckout-page .sscheckout-line-link--complete .btn-line {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  padding: 12px 46px;
  border: 1px solid #06c755;
  border-radius: var(--ss-radius-pill);
  background: #fff;
  color: #00a943 !important;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none !important;
}

#perform-view.sscheckout-page .sscheckout-line-link--complete .before-btn-line {
  position: absolute;
  top: 50%;
  left: 14px;
  width: 30px;
  height: 30px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  transform: translateY(-50%);
}

#perform-view.sscheckout-page .sscheckout-line-link--complete .after-btn-line {
  display: none;
}

#perform-view.sscheckout-page .sscheckout-pc-only {
  display: initial;
}

@media screen and (max-width: 767px) {
  #perform-view.sscheckout-page.sscheckout-page--complete {
    padding-bottom: 64px;
  }

  #perform-view.sscheckout-page .sscheckout-shell--complete-page {
    width: calc(100% - 30px);
    padding-top: 28px;
  }

  #perform-view.sscheckout-page .sscheckout-progress--complete {
    margin-top: 0;
  }

  #perform-view.sscheckout-page .sscheckout-complete {
    margin-top: 36px;
  }

  #perform-view.sscheckout-page .sscheckout-complete__icon {
    width: 52px;
    height: 52px;
    margin-bottom: 18px;
  }

  #perform-view.sscheckout-page .sscheckout-complete__icon span {
    width: 11px;
    height: 20px;
  }

  #perform-view.sscheckout-page .sscheckout-complete__title {
    font-size: clamp(25px, 7.2vw, 30px);
    letter-spacing: .035em;
    line-height: 1.4;
    white-space: nowrap;
  }

  #perform-view.sscheckout-page .sscheckout-complete__lead {
    margin-top: 14px;
    font-size: 12px;
    line-height: 1.85;
  }

  #perform-view.sscheckout-page .sscheckout-complete-card {
    margin-top: 26px;
    padding: 26px 18px 28px;
    border-radius: 18px;
    box-shadow: none;
  }

  #perform-view.sscheckout-page .sscheckout-complete-card__number {
    font-size: 29px;
  }

  #perform-view.sscheckout-page .sscheckout-complete-card__divider {
    margin: 22px 0 19px;
  }

  #perform-view.sscheckout-page .sscheckout-complete-card__message {
    font-size: 12px;
    line-height: 1.85;
    text-align: left;
  }

  #perform-view.sscheckout-page .sscheckout-complete-card__message p + p {
    margin-top: 8px;
  }

  #perform-view.sscheckout-page .sscheckout-complete-card__support {
    margin-top: 20px;
    padding: 14px 12px;
    border-radius: 12px;
  }

  #perform-view.sscheckout-page .sscheckout-complete-card__support-link {
    font-size: 12px;
  }

  #perform-view.sscheckout-page .sscheckout-complete__actions {
    margin-top: 24px;
  }

  #perform-view.sscheckout-page .sscheckout-complete__button {
    width: 100%;
    min-height: 54px;
    font-size: 13px;
  }

  #perform-view.sscheckout-page .sscheckout-complete__note {
    max-width: 290px;
    font-size: 10px;
  }

  #perform-view.sscheckout-page .sscheckout-line-link--complete {
    display: block;
    margin-top: 24px;
    padding: 22px 18px;
    border-radius: 18px;
  }

  #perform-view.sscheckout-page .sscheckout-line-link__copy {
    text-align: center;
  }

  #perform-view.sscheckout-page .sscheckout-line-link__title {
    font-size: 17px;
  }

  #perform-view.sscheckout-page .sscheckout-line-link__action {
    margin-top: 18px;
  }

  #perform-view.sscheckout-page .sscheckout-pc-only {
    display: none;
  }
}

@media screen and (max-width: 360px) {
  #perform-view.sscheckout-page .sscheckout-complete__title {
    font-size: 24px;
    letter-spacing: .02em;
  }

  #perform-view.sscheckout-page .sscheckout-progress__label {
    font-size: 8px;
  }
}
