.purchase-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  align-items: start;
  gap: clamp(20px, 3vw, 36px);
}
.purchase-panel {
  min-width: 0;
  border: 1px solid #e0e5ed;
  border-radius: 18px;
  background: #fff;
}
.purchase-info { display: grid; min-width: 0; gap: clamp(20px, 3vw, 28px); }
.product-profile { overflow: hidden; }
.product-cover { position: relative; isolation: isolate; overflow: hidden; }
.product-cover .service-art { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; border-radius: 0; }
.product-cover .cover-copy { display: none; }
.product-cover .cover-word { justify-self: end; max-width: 35%; margin-right: 24px; opacity: .13; }
.product-summary, .purchase-checkout { padding: clamp(22px, 3vw, 34px); }
.product-summary { min-height: 240px; background: linear-gradient(105deg,#fffffff2,#ffffffe0 65%,#ffffff52); }
.product-category { color: #526784; font-size: .81rem; font-weight: 650; margin-bottom: 7px; }
.product-profile h1 { color: #152238; font-size: clamp(1.5rem, 2.35vw, 2rem); overflow-wrap: anywhere; }
.product-price { margin-top: 12px; display: flex; align-items: baseline; gap: 4px; }
.product-price strong, .purchase-total dd, .purchase-subtotal strong {
  color: #254ed6;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.035em;
}
.product-price strong { font-size: clamp(1.45rem, 2vw, 1.9rem); line-height: 1.22; }
.product-price span, .purchase-facts dt, .field-note, .quote-summary dt { color: #58667c; }
.product-price span, .field-note { font-size: .82rem; }
.product-description { margin-top: 10px; font-size: .9rem; white-space: pre-line; overflow-wrap: anywhere; }
.purchase-facts { margin-top: 16px; padding-top: 12px; border-top: 1px solid #dce5e8; }
.purchase-facts div { display: grid; grid-template-columns: auto minmax(0,1fr); gap: 14px; padding: 4px 0; font-size: .82rem; }
.purchase-facts dd { font-weight: 550; }
.purchase-checkout h2 { margin: 0 0 24px; font-size: 1.45rem; }
.purchase-checkout form { display: grid; gap: 21px; }
.purchase-field { display: grid; gap: 7px; }
.purchase-field label, .coupon-entry summary { font-size: .92rem; font-weight: 650; color: #22324a; }
.purchase-checkout input { border-color: #ced7e4; border-radius: 9px; padding: 11px 12px; }
.purchase-checkout input[readonly] { background: #f5f7fa; }
.purchase-checkout input::placeholder { color: #718096; }
.purchase-checkout input:focus-visible { outline: 2px solid #315df4; outline-offset: 1px; }
.field-note { line-height: 1.5; }
.quantity-field { grid-template-columns: 1fr auto; align-items: center; }
.quantity-control { display: flex; width: 132px; }
.quantity-control input { text-align: center; font-variant-numeric: tabular-nums; }
.quantity-control.enhanced { border: 1px solid #ced7e4; border-radius: 9px; }
.quantity-control.enhanced input { border: 0; border-radius: 0; padding: 8px 0; appearance: textfield; }
.quantity-control.enhanced input::-webkit-inner-spin-button,
.quantity-control.enhanced input::-webkit-outer-spin-button { -webkit-appearance: none; }
.quantity-control button {
  width: 38px;
  flex: none;
  color: #253c6b;
  background: transparent;
  border: 0;
  border-radius: 8px;
  font-size: 1.13rem;
  min-height: 39px;
}
.quantity-control button:hover:enabled { background: #f0f4ff; }
.quantity-control button:disabled { color: #8d99ac; }
.coupon-entry { border-block: 1px solid #e6eaf2; padding: 15px 0; }
.coupon-entry summary { cursor: pointer; }
.coupon-entry summary span { color: #657286; font-size: .76rem; font-weight: 400; margin-left: 8px; }
.coupon-fields { display: flex; gap: 8px; padding-top: 11px; }
.coupon-fields .button { flex: none; color: #3154c6; background: #f4f6ff; border-color: #dbe2fb; }
.visually-hidden-field { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); }
.quote-summary { display: grid; gap: 7px; font-size: .86rem; }
.quote-summary div, .purchase-subtotal { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.quote-summary .purchase-total { margin-top: 4px; }
.purchase-total dt, .purchase-subtotal span { font-size: .95rem; color: #263447; font-weight: 650; }
.purchase-total dd, .purchase-subtotal strong { font-size: 1.55rem; font-weight: 720; }
.purchase-submit { width: 100%; min-height: 46px; background: #315df4; color: white; }
.purchase-submit:hover { background: #244bd3; }
.purchase-checkout [hidden] { display: none; }

.product-guide {
  grid-column: 1 / -1;
  padding: clamp(20px, 3vw, 34px);
  color: #334155;
  background: #f8fafc;
  line-height: 1.75;
  overflow-wrap: anywhere;
}
.product-guide h2 { margin: 0 0 14px; color: #087553; font-size: 1rem; letter-spacing: 0; }
.product-guide h3, .product-guide h4 {
  margin: 22px 0 10px;
  border-inline-start: 4px solid #087553;
  padding-inline-start: 11px;
  color: var(--ink);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.45;
}
.product-guide-emphasis, .product-guide-terms strong { color: var(--ink); }
.product-guide-highlights { display: grid; gap: 10px; margin: 0 0 23px; padding: 0; list-style: none; }
.product-guide-highlights li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; }
.product-guide-highlights li p + p { margin-top: 4px; }
.product-guide-icon { width: 18px; height: 18px; margin-top: .38em; color: #087553; }
.product-guide-warning {
  padding: 10px 13px;
  border: 1px solid #efd176;
  border-radius: 12px;
  background: #fffaeb;
  color: #923d0c;
}
.product-guide-warning .product-guide-icon { color: #a94b0a; }
.product-guide-security { margin-top: 12px; }
.product-guide ol, .product-guide-terms { margin: 0 0 13px; padding-inline-start: 1.45em; }
.product-guide ol li + li, .product-guide-terms li + li { margin-top: 5px; }
.product-guide-terms { margin-bottom: 0; }
.product-guide-caution, .product-guide-caution strong { color: #923d0c; }

@media (max-width: 720px) {
  .purchase-layout { grid-template-columns: minmax(0, 1fr); gap: 15px; }
  .purchase-info { display: contents; }
  .product-profile { order: 0; }
  .purchase-checkout { order: 1; }
  .product-highlights { order: 2; }
  .product-details { order: 3; }
  .product-summary, .purchase-checkout { padding: 20px; }
  .product-summary { min-height: 0; }
  .product-price { margin-top: 7px; }
  .purchase-facts { margin-top: 15px; padding-top: 10px; }
  .purchase-checkout h2 { margin-bottom: 19px; }
}
