/* KC checkout summary only; no delivery, price or submission behavior. */
html body #wrapwrap #wrap.kc-checkout-v2 .kc-vcheckout-grid {
  grid-template-columns: minmax(0,1.35fr) minmax(320px,1fr);
  align-items: start;
}
html body #wrapwrap #wrap.kc-checkout-v2 .kc-vsummary {
  position: static; min-width: 0; padding: 24px;
  border: 1.5px solid #77845c; border-top: 5px solid #fdd201;
  border-radius: 18px; background: #fffdf5;
  box-shadow: 0 5px 0 #dfe4d2; color: #34431c;
  font-family: "Inter Tight",var(--kc-font,Arial,sans-serif);
}
html body #wrapwrap #wrap.kc-checkout-v2 .kc-vsummary h2 {
  margin: 0 0 20px; padding: 0 0 16px;
  border-bottom: 1px solid #d5dcc7;
  color: #34431c !important; -webkit-text-fill-color: currentColor !important;
  -webkit-text-stroke: 0 !important; text-shadow: none !important;
  font-size: clamp(24px,2.1vw,29px) !important;
  font-weight: 700; line-height: 1.3 !important;
  letter-spacing: 0; overflow-wrap: anywhere;
}
html:lang(en) body #wrapwrap #wrap.kc-checkout-v2 .kc-vsummary h2 {
  font-family: "KC Hidebeast Blocky",var(--kc-display-font,Arial,sans-serif) !important;
  font-weight: 400; font-synthesis: none;
}
html body #wrapwrap #wrap.kc-checkout-v2 .kc-vlines { margin: 0 0 12px; padding: 0; list-style: none; }
html body #wrapwrap #wrap.kc-checkout-v2 .kc-vlines li {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 8px 14px; min-width: 0; padding: 14px 0;
  border-bottom: 1px solid #d5dcc7;
}
html body #wrapwrap #wrap.kc-checkout-v2 .kc-vline-name {
  flex: 1 0 100%; max-width: 100%; min-width: 0;
  color: #34431c; font-size: 17px; font-weight: 600; line-height: 1.5;
  overflow-wrap: anywhere;
}
html body #wrapwrap #wrap.kc-checkout-v2 .kc-vline-qty {
  flex: 0 1 auto; max-width: 100%; align-self: center;
  min-width: 38px; padding: 3px 10px; border-radius: 8px;
  background: #edf0e2; color: #445330; font-size: 15px;
  font-weight: 600; line-height: 1.5; font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
html body #wrapwrap #wrap.kc-checkout-v2 .kc-vlines strong {
  flex: 0 1 auto; margin-left: auto; align-self: center; min-width: 0;
  max-width: 100%; text-align: right; font-size: 16px; line-height: 1.5;
  color: #34431c; font-weight: 700; font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
html body #wrapwrap #wrap.kc-checkout-v2 .kc-vsummary .kc-vsum-row {
  display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.25fr);
  align-items: start; gap: 8px 16px; padding: 12px 0;
  font-size: 16px; line-height: 1.5;
}
html body #wrapwrap #wrap.kc-checkout-v2 .kc-vsummary .kc-vsum-row > :is(span,strong) { min-width: 0; overflow-wrap: anywhere; }
html body #wrapwrap #wrap.kc-checkout-v2 .kc-vsummary .kc-vsum-row strong {
  max-width: none; text-align: right; color: #34431c;
  font-size: 17px; font-weight: 700; font-variant-numeric: tabular-nums;
}
html body #wrapwrap #wrap.kc-checkout-v2 #kc_verified_fee_row {
  grid-template-columns: minmax(0,1fr); gap: 5px;
  margin: 6px 0 12px; padding: 14px 16px; border-radius: 10px;
  background: #edf0e2; border: 1px solid #d5dcc7;
}
html body #wrapwrap #wrap.kc-checkout-v2 #kc_verified_fee_row > span { font-weight: 700; }
html body #wrapwrap #wrap.kc-checkout-v2 #kc_verified_fee {
  text-align: left; font-size: 16px; line-height: 1.5; font-weight: 500;
}
html body #wrapwrap #wrap.kc-checkout-v2 .kc-vsummary :is(.kc-vorigin,.kc-vdistance,.kc-vdelivery-note) {
  margin: 10px 0; color: #4c5c39; font-size: 14px;
  line-height: 1.6; overflow-wrap: anywhere;
}
html body #wrapwrap #wrap.kc-checkout-v2 .kc-vsummary .kc-vtotal {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline;
  margin-top: 18px; padding: 16px; border: 1px solid #c3ccac;
  border-top: 3px solid #fdd201; border-radius: 10px; background: #faf4d6;
  font-size: 19px; font-weight: 750; line-height: 1.4;
}
html body #wrapwrap #wrap.kc-checkout-v2 .kc-vsummary .kc-vtotal > span { flex: 1 1 130px; }
html body #wrapwrap #wrap.kc-checkout-v2 .kc-vsummary .kc-vtotal > strong { flex: 0 1 auto; max-width: 100%; margin-left: auto; }
html body #wrapwrap #wrap.kc-checkout-v2 #kc_verified_total { font-size: 21px; font-weight: 750; }
html body #wrapwrap #wrap.kc-checkout-v2 #kc_verified_total_pending {
  margin: 12px 0 0; padding: 0 2px; font-size: 14px;
}
html body #wrapwrap #wrap.kc-checkout-v2 .kc-vsummary .kc-vsubmit {
  min-height: 54px; margin-top: 20px; padding: 13px 16px;
  border: 1.5px solid #34431c; border-radius: 12px;
  background: #fdd201; color: #263211 !important;
  font-size: 18px !important; line-height: 1.45 !important;
  text-shadow: none; -webkit-text-stroke: 0 !important;
  white-space: normal; overflow-wrap: anywhere;
}
html body #wrapwrap #wrap.kc-checkout-v2 .kc-vsummary .kc-vsubmit:disabled {
  background: #e4e8da; color: #4c5c39 !important;
  border-color: #a6b28e; box-shadow: none; opacity: 1; cursor: not-allowed;
}
html body #wrapwrap #wrap.kc-checkout-v2 .kc-vsummary .kc-vsubmit:not(:disabled):hover { background: #ffe558; }
html body #wrapwrap #wrap.kc-checkout-v2 .kc-vsummary .kc-vsubmit:focus-visible {
  outline: 3px solid #34431c !important; outline-offset: 4px;
}
html:lang(th) body #wrapwrap #wrap.kc-checkout-v2 .kc-vsummary,
html:lang(th) body #wrapwrap #wrap.kc-checkout-v2 .kc-vsummary h2 {
  font-family: var(--kc-font,"KC Noto Sans Thai",Tahoma,sans-serif) !important;
  line-height: 1.6 !important;
}
@media (max-width:1023px), (max-height:700px) {
  html body #wrapwrap #wrap.kc-checkout-v2 .kc-vcheckout-grid { grid-template-columns: minmax(0,1fr); }
}
@media (max-width:479px) {
  html body #wrapwrap #wrap.kc-checkout-v2 .kc-vsummary { padding: 20px 18px; border-radius: 15px; }
  html body #wrapwrap #wrap.kc-checkout-v2 .kc-vsummary h2 { margin-bottom: 8px; }
  html body #wrapwrap #wrap.kc-checkout-v2 .kc-vsummary .kc-vtotal { padding: 14px 12px; }
}
@media (forced-colors:active) {
  html body #wrapwrap #wrap.kc-checkout-v2 .kc-vsummary,
  html body #wrapwrap #wrap.kc-checkout-v2 .kc-vsummary :is(h2,.kc-vline-name,.kc-vline-qty,strong,.kc-vorigin,.kc-vdistance,.kc-vdelivery-note) {
    color: CanvasText !important; -webkit-text-fill-color: currentColor !important;
    background: Canvas; border-color: CanvasText;
  }
  html body #wrapwrap #wrap.kc-checkout-v2 .kc-vsummary :is(#kc_verified_fee_row,.kc-vtotal) { background: Canvas; border-color: CanvasText; }
  html body #wrapwrap #wrap.kc-checkout-v2 .kc-vsummary .kc-vsubmit { background: ButtonFace; color: ButtonText !important; border-color: ButtonText; }
  html body #wrapwrap #wrap.kc-checkout-v2 .kc-vsummary .kc-vsubmit:disabled { color: GrayText !important; border-color: GrayText; }
  html body #wrapwrap #wrap.kc-checkout-v2 .kc-vsummary .kc-vsubmit:focus-visible { outline-color: Highlight !important; }
}
@media print {
  html body #wrapwrap #wrap.kc-checkout-v2 .kc-vsummary { position: static !important; box-shadow: none; break-inside: avoid; }
}
