/* SUNPLUS V116: checkout and reference-style cart only. All selectors are locally scoped. */
.sunplus-cart-drawer,
.sunplus-checkout-dialog {
  --sunplus-order-blue:#5c8df5;
  --sunplus-order-blue-hover:#346fe7;
  --sunplus-order-text:#383c42;
  --sunplus-order-muted:#676d79;
  --sunplus-order-border:#e6e7ea;
  font-family:Inter,Arial,sans-serif!important;
  color:var(--sunplus-order-text);
}
.sunplus-cart-overlay,.sunplus-checkout-overlay{background:rgba(24,32,44,.56)!important;backdrop-filter:blur(1px)}
.sunplus-cart-drawer {
  position:fixed!important;top:50%!important;left:50%!important;right:auto!important;bottom:auto!important;
  transform:translate(-50%,-50%)!important;width:min(580px,calc(100vw - 30px))!important;
  height:auto!important;max-height:calc(100dvh - 32px)!important;
  overflow-y:auto!important;background:#fff!important;box-sizing:border-box!important;
  padding:27px 30px 28px!important;border-radius:15px!important;
  box-shadow:0 24px 65px rgba(18,33,57,.24)!important;z-index:9999991;
}
.sunplus-cart-drawer[hidden],.sunplus-checkout-dialog[hidden],.sunplus-checkout-overlay[hidden],
.sunplus-checkout-dialog [hidden],.sunplus-cart-overlay[hidden]{display:none!important}
.sunplus-cart-heading{border-bottom:0!important;margin:0 0 8px!important;align-items:center!important}
.sunplus-cart-heading h2{font-size:24px!important;font-weight:700!important;margin:0!important;color:var(--sunplus-order-text)!important}
.sunplus-cart-close,.sunplus-checkout-close{display:grid;place-items:center;min-width:38px;height:38px;padding:0;border:0!important;border-radius:9px!important;background:#f5f7fa!important;color:#616b7b!important;font:28px/1 Inter,Arial,sans-serif!important;cursor:pointer}
.sunplus-cart-close:hover,.sunplus-checkout-close:hover{background:#eaf0fa!important;color:#1950cd!important}
.sunplus-cart-line{padding:16px 0!important;align-items:center!important;gap:13px!important}
.sunplus-cart-line>img{width:66px!important;height:66px!important;object-fit:contain;background:#fff;border:1px solid #edf0f5;border-radius:10px;padding:3px;box-sizing:border-box}
.sunplus-cart-detail{gap:7px!important}
.sunplus-cart-detail>a{font-size:14px!important;font-weight:600!important;line-height:1.4!important;color:var(--sunplus-order-text)!important}
.sunplus-cart-detail>a:hover{color:#1950cd!important}
.sunplus-cart-detail>span{color:var(--sunplus-order-muted)!important;font-size:13px!important}
.sunplus-cart-quantity{gap:7px!important}
.sunplus-cart-quantity button{border:1px solid #dce5f4!important;background:#fff!important;color:#1950cd!important;width:30px!important;min-width:30px!important;height:30px!important;padding:0!important;border-radius:7px!important;font-size:16px!important}
.sunplus-cart-quantity button:hover{background:#eff5ff!important}
.sunplus-cart-action--remove{margin-left:5px!important;color:#7f8794!important;font-size:0!important}
.sunplus-cart-action--remove svg{width:15px!important;height:15px!important;display:block!important}
.sunplus-cart-action--remove:hover{background:#fff4f4!important;border-color:#f0cccc!important;color:#c55762!important}
.sunplus-cart-quantity span{min-width:19px!important}
.sunplus-cart-total{font-size:18px!important;margin:17px 0 19px!important;text-align:right!important;color:var(--sunplus-order-text)!important}
.sunplus-cart-actions{display:grid;gap:11px;margin-top:12px}
.sunplus-cart-actions button{display:flex;align-items:center;justify-content:center;width:100%;min-height:48px;border-radius:10px;font:600 15px/1.35 Inter,Arial,sans-serif;cursor:pointer;padding:12px 16px;transition:background .16s,color .16s}
.sunplus-cart-continue{background:#f1f3f6!important;color:#383c42!important;border:1px solid #e5e8ed!important}
.sunplus-cart-continue:hover{background:#e7ebf1!important}
.sunplus-cart-checkout{background:var(--sunplus-order-blue)!important;color:#fff!important;border:1px solid var(--sunplus-order-blue)!important}
.sunplus-cart-checkout:hover{background:var(--sunplus-order-blue-hover)!important}
.sunplus-cart-status{margin:5px 0 0!important}
.sunplus-cart-drawer :focus-visible,.sunplus-checkout-dialog :focus-visible{outline:2px solid #5c8df5!important;outline-offset:2px!important}

.sunplus-checkout-overlay{position:fixed;inset:0;z-index:9999992}
.sunplus-checkout-dialog{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);width:min(940px,calc(100vw - 34px));
  max-height:calc(100dvh - 30px);overflow:auto;overscroll-behavior:contain;z-index:9999993;
  box-sizing:border-box;background:#fff;border-radius:16px;box-shadow:0 26px 70px rgba(18,33,57,.27);font-size:14px;line-height:1.5}
body.sunplus-checkout-open{overflow:hidden}
.sunplus-checkout-dialog *{box-sizing:border-box}
.sunplus-checkout-top{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:24px 30px 17px;border-bottom:1px solid var(--sunplus-order-border)}
.sunplus-checkout-kicker{color:#5c8df5;font-size:11px;letter-spacing:.11em;font-weight:750;margin:0 0 4px}
.sunplus-checkout-top h2{font-size:23px;line-height:1.27;margin:0;font-weight:700;color:#383c42}
.sunplus-checkout-back{background:transparent;border:0;padding:0;color:#1950cd;cursor:pointer;font-size:13px;font-weight:600;margin:16px 0 11px;text-align:left}
.sunplus-checkout-form-page{padding:0 30px 30px}
.sunplus-checkout-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(250px,.76fr);gap:26px;align-items:start}
.sunplus-checkout-layout form{min-width:0;margin:0;padding:0}
.sunplus-checkout-section{margin:0 0 23px}
.sunplus-checkout-section h3{display:flex;align-items:center;gap:10px;font-size:16px;font-weight:700;line-height:1.4;color:#383c42;margin:0 0 14px;padding:0}
.sunplus-checkout-number{display:inline-grid;place-items:center;width:27px;height:27px;background:#eaf1ff;color:#376fe6;border-radius:8px;font-weight:750;flex:none;font-size:13px}
.sunplus-checkout-fields{display:grid;grid-template-columns:1fr 1fr;gap:11px}
.sunplus-checkout-field{display:block;color:#383c42;font-size:12px;font-weight:650;margin:0 0 12px}
.sunplus-checkout-field small{color:#7c8797;font-size:10px;font-weight:400}
.sunplus-checkout-field input,.sunplus-checkout-field textarea{display:block!important;width:100%!important;height:auto!important;min-height:42px!important;
  border:1px solid #dbe2ed!important;background:white!important;border-radius:9px!important;color:#383c42!important;
  font:400 14px/1.4 Inter,Arial,sans-serif!important;padding:11px 12px!important;margin-top:6px!important;box-shadow:none!important;outline:none!important;resize:vertical!important}
.sunplus-checkout-field textarea{min-height:82px!important}
.sunplus-checkout-field input::placeholder,.sunplus-checkout-field textarea::placeholder{color:#9aa3b2;opacity:1}
.sunplus-checkout-field input:focus,.sunplus-checkout-field textarea:focus{border-color:#5c8df5!important;box-shadow:0 0 0 3px rgba(92,141,245,.12)!important}
.sunplus-checkout-delivery-choices{display:grid;grid-template-columns:1fr 1fr;gap:11px;margin:0 0 17px}
.sunplus-checkout-choice{display:flex;gap:10px;align-items:flex-start;border:1px solid #dde4ed;border-radius:10px;padding:12px 11px;cursor:pointer;min-width:0;background:#fff}
.sunplus-checkout-choice:has(input:checked){border-color:#5c8df5;background:#f5f8ff;box-shadow:0 0 0 1px rgba(92,141,245,.1)}
.sunplus-checkout-choice input{appearance:auto!important;accent-color:#5c8df5!important;width:16px!important;height:16px!important;margin:2px 0 0!important;flex:0 0 auto}
.sunplus-checkout-choice span{display:flex;flex-direction:column;gap:2px;min-width:0}
.sunplus-checkout-choice b{font-size:12px;line-height:1.35;color:#383c42}
.sunplus-checkout-choice small{color:#798391;font-size:11px;line-height:1.35}
#sunplus-delivery-fields[hidden],.sunplus-shipping-fields[hidden]{display:none!important}
.sunplus-checkout-address-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.sunplus-checkout-delivery-note{font-size:12px;color:#25744b;font-weight:650;margin:0;line-height:1.5}
/* V115: two payment methods, no default selection. */
.sunplus-checkout-payment-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
.sunplus-checkout-payment-choice{display:flex;align-items:center;justify-content:center;min-height:58px;position:relative;
  padding:11px 9px;border:1px solid #c9d3e1;border-radius:10px;background:#fff;color:#383c42;
  font:650 12px/1.35 Inter,Arial,sans-serif;cursor:pointer;text-align:center;min-width:0;overflow-wrap:anywhere}
.sunplus-checkout-payment-choice input{position:absolute;inset:0;width:100%;height:100%;margin:0;
  opacity:0;cursor:pointer;z-index:1}
.sunplus-checkout-payment-choice:has(input:checked){background:#5c8df5;border-color:#5c8df5;color:#fff}
.sunplus-checkout-payment-choice:has(input:focus-visible){outline:2px solid #346fe7;outline-offset:3px}
.sunplus-checkout-payment-choice:hover:not(:has(input:checked)){background:#f5f8ff;border-color:#5c8df5}
.sunplus-checkout-payment-choice span{pointer-events:none;position:relative}
.sunplus-checkout-payment-note{margin:12px 0 0;padding:13px 15px;border:1px solid #c7d8f5;border-radius:10px;background:#f4f8ff;
  color:#385276;font:400 12px/1.55 Inter,Arial,sans-serif;overflow-wrap:break-word}
.sunplus-checkout-payment-note[hidden]{display:none!important}
.sunplus-checkout-payment-note p{margin:0 0 7px}
.sunplus-checkout-payment-note p:last-child{margin-bottom:0}
.sunplus-checkout-legal-note{font-size:11px;line-height:1.55;color:#676d79;margin:11px 0 0;text-align:center;
  overflow-wrap:break-word}
.sunplus-checkout-legal-note a{color:#1950cd;text-decoration:underline;text-underline-offset:2px}
.sunplus-checkout-legal-note a:hover{color:#346fe7}
.sunplus-checkout-trap{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;opacity:0!important;pointer-events:none!important;left:-9999px!important}
.sunplus-checkout-error{padding:11px 12px;color:#a43142;background:#fff0f1;border:1px solid #f5c5ce;border-radius:9px;font-size:12px;margin:12px 0}
.sunplus-checkout-submit,.sunplus-checkout-finish{width:100%;display:grid;place-items:center;min-height:50px;cursor:pointer;border:0;border-radius:10px;
  background:#5c8df5!important;color:#fff!important;font:700 15px/1.4 Inter,Arial,sans-serif!important;padding:12px 15px!important}
.sunplus-checkout-submit:hover,.sunplus-checkout-finish:hover{background:#346fe7!important}
.sunplus-checkout-submit:disabled{opacity:.7;cursor:wait}
.sunplus-checkout-submit-note{color:#7b8595;text-align:center;font-size:11px;margin:9px 0 0;line-height:1.5}
.sunplus-checkout-summary{background:#f8fafc;border:1px solid #e6eaf2;border-radius:12px;padding:17px;position:sticky;top:15px;min-width:0}
.sunplus-checkout-summary h3{font-size:16px;font-weight:700;margin:0 0 11px;color:#383c42}
.sunplus-checkout-summary-row{display:grid;grid-template-columns:50px minmax(0,1fr);gap:8px;padding:11px 0;border-bottom:1px solid #e7ebf3;align-items:center}
.sunplus-checkout-summary-row img{grid-row:span 2;width:50px;height:50px;object-fit:contain;background:#fff;border-radius:8px;border:1px solid #e9edf3}
.sunplus-checkout-summary-detail{min-width:0;display:flex;flex-direction:column;gap:3px}
.sunplus-checkout-summary-detail strong{font-size:12px;font-weight:650;line-height:1.4;overflow-wrap:anywhere;color:#383c42}
.sunplus-checkout-summary-detail small{color:#7a8597;font-size:11px}
.sunplus-checkout-summary-row>b{grid-column:2;font-size:12px;color:#383c42}
.sunplus-checkout-shipping-cost{display:flex;justify-content:space-between;gap:10px;font-size:11px;color:#676d79;margin:17px 0}
.sunplus-checkout-shipping-cost strong{font-weight:650;text-align:right;color:#25744b}
.sunplus-checkout-summary-total{display:flex;justify-content:space-between;gap:12px;border-top:1px solid #dfe6f0;padding-top:15px;font-size:15px;color:#383c42}
.sunplus-checkout-summary-total strong:last-child{text-align:right;white-space:nowrap;color:#1e2d47}
.sunplus-checkout-success{text-align:center;padding:45px 27px 42px;max-width:470px;margin:auto}
.sunplus-checkout-success-icon{display:grid;place-items:center;margin:0 auto 14px;width:62px;height:62px;border-radius:50%;color:#fff;background:#28a66e;font-size:29px;font-weight:700}
.sunplus-checkout-success h3{font-size:24px;margin:0 0 12px;color:#383c42}
.sunplus-checkout-success-number{font-size:18px;font-weight:700;color:#1950cd;margin:0 0 12px}
.sunplus-checkout-success p:not(.sunplus-checkout-success-number){color:#676d79;line-height:1.6;margin:0 0 25px}
.sunplus-checkout-visually-hidden{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important}
@media(max-width:767px){
  .sunplus-checkout-dialog{width:calc(100vw - 22px);max-height:calc(100dvh - 22px);border-radius:13px}
  .sunplus-checkout-top{padding:18px 17px 14px}
  .sunplus-checkout-top h2{font-size:19px}
  .sunplus-checkout-form-page{padding:0 17px 20px}
  .sunplus-checkout-layout{grid-template-columns:1fr;gap:13px}
  .sunplus-checkout-summary{position:static}
  .sunplus-checkout-fields{grid-template-columns:1fr;gap:0}
  .sunplus-checkout-section h3{font-size:15px}
  .sunplus-checkout-dialog{font-size:13px}
  .sunplus-checkout-back{margin:12px 0}
  .sunplus-checkout-delivery-choices{gap:8px}
  .sunplus-checkout-choice{padding:10px 8px}
  .sunplus-checkout-choice b{font-size:11px}
  .sunplus-checkout-choice small{font-size:10px}
  .sunplus-cart-drawer{padding:22px 20px!important}
  .sunplus-cart-heading h2{font-size:22px!important}
}
@media(max-width:359px){
  .sunplus-checkout-top{padding:14px 13px 12px}
  .sunplus-checkout-form-page{padding:0 13px 19px}
  .sunplus-checkout-top h2{font-size:18px}
  .sunplus-checkout-delivery-choices{grid-template-columns:1fr}
  .sunplus-checkout-address-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .sunplus-checkout-address-grid .sunplus-checkout-field:first-child{grid-column:span 2}
  .sunplus-cart-drawer{padding:17px 14px!important}
  .sunplus-cart-line>img{width:52px!important;height:52px!important}
  .sunplus-cart-line{gap:9px!important}
  .sunplus-cart-detail>a{font-size:12px!important}
}

@media(max-width:359px){.sunplus-checkout-payment-choices{grid-template-columns:1fr;gap:8px}.sunplus-checkout-payment-choice{min-height:46px}}

/* SUNPLUS V118: restrained checkout styling aligned with the existing SUNPLUS storefront.
   Scope is the checkout dialog only: no changes to catalog, product templates, cart logic or colours. */
.sunplus-checkout-dialog {
  --sunplus-order-border: #e5e9f0;
  width: min(1010px, calc(100vw - 34px));
  border-radius: 16px;
  font-family: Inter, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.5;
}
.sunplus-checkout-top { padding: 23px 30px 20px; gap: 16px; }
/* The page header already carries SUNPLUS branding; avoid a redundant label. */
.sunplus-checkout-kicker { display: none; }
.sunplus-checkout-top h2 {
  margin: 0;
  color: #383c42;
  font-size: 25px;
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.3;
}
.sunplus-checkout-close {
  width: 36px;
  min-width: 36px;
  height: 36px;
  border-radius: 9px!important;
  background: #f5f7fa!important;
  font-size: 24px!important;
}
.sunplus-checkout-form-page { padding: 0 30px 30px; }
.sunplus-checkout-back { margin: 16px 0 17px; font-size: 13px; font-weight: 600; }
.sunplus-checkout-layout {
  grid-template-columns: minmax(0, 1fr) minmax(275px, .66fr);
  align-items: start;
  gap: 29px;
}
.sunplus-checkout-section {
  margin: 0 0 21px;
  padding: 0 0 20px;
  border-bottom: 1px solid #edf0f4;
}
.sunplus-checkout-section:last-of-type { border-bottom: 0; padding-bottom: 0; margin-bottom: 17px; }
.sunplus-checkout-section h3 {
  gap: 10px;
  margin: 0 0 16px;
  color: #383c42;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -.015em;
  line-height: 1.35;
}
.sunplus-checkout-number {
  width: 29px;
  height: 29px;
  border: 1px solid #dfE8f6;
  border-radius: 50%;
  background: #f4f7fc;
  color: #416fd1;
  font-size: 13px;
  font-weight: 700;
}
.sunplus-checkout-fields { gap: 13px; }
.sunplus-checkout-field {
  margin-bottom: 12px;
  color: #404752;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
}
.sunplus-checkout-field small { font-size: 11px; color: #818a97; }
.sunplus-checkout-field input,
.sunplus-checkout-field textarea {
  min-height: 47px!important;
  margin-top: 7px!important;
  padding: 11px 13px!important;
  border: 1px solid #dfe5ed!important;
  border-radius: 9px!important;
  background: #fff!important;
  font-family: Inter, Arial, sans-serif!important;
  font-size: 14px!important;
  line-height: 1.45!important;
}
.sunplus-checkout-field input::placeholder,
.sunplus-checkout-field textarea::placeholder { color: #9aa4b1; }
.sunplus-checkout-field input:focus,
.sunplus-checkout-field textarea:focus {
  border-color: #5c8df5!important;
  box-shadow: 0 0 0 2px rgba(92, 141, 245, .12)!important;
}
.sunplus-checkout-dialog .sunplus-checkout-field input:focus-visible,
.sunplus-checkout-dialog .sunplus-checkout-field textarea:focus-visible { outline: none!important; }
.sunplus-checkout-delivery-choices { gap: 11px; margin-bottom: 15px; }
.sunplus-checkout-choice {
  min-height: 72px;
  padding: 12px 11px;
  align-items: center;
  gap: 10px;
  border: 1px solid #dfe5ed;
  border-radius: 10px;
  transition: border-color .14s, background-color .14s;
}
.sunplus-checkout-choice:hover { border-color: #a7bfef; }
.sunplus-checkout-choice:has(input:checked) {
  background: #f7faff;
  border-color: #83a8f5;
  box-shadow: none;
}
.sunplus-checkout-choice input {
  width: 18px!important;
  height: 18px!important;
  margin: 0!important;
}
.sunplus-checkout-choice b { font-size: 13px; font-weight: 650; line-height: 1.35; }
.sunplus-checkout-choice small { font-size: 11px; line-height: 1.35; }
.sunplus-checkout-address-grid { gap: 10px; }
.sunplus-checkout-delivery-note {
  margin: 2px 0 0;
  color: #258052;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
}
.sunplus-checkout-payment-choices { gap: 11px; }
.sunplus-checkout-payment-choice {
  min-height: 62px;
  padding: 12px 10px;
  border: 1px solid #d4dce8;
  border-radius: 10px;
  color: #383c42;
  background: #fff;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.4;
  transition: border-color .14s, background-color .14s;
}
.sunplus-checkout-payment-choice:has(input:checked) {
  background: #f5f8ff;
  border-color: #83a8f5;
  color: #245fca;
  box-shadow: none;
}
.sunplus-checkout-payment-choice:hover:not(:has(input:checked)) {
  background: #fafcff;
  border-color: #a7bfef;
}
.sunplus-checkout-payment-note {
  margin-top: 12px;
  padding: 12px 14px;
  border: 1px solid #e1e8f3;
  border-left: 3px solid #7ca3ef;
  border-radius: 8px;
  background: #f8faff;
  color: #52627b;
  font-size: 12px;
  line-height: 1.6;
}
.sunplus-checkout-submit,
.sunplus-checkout-finish {
  min-height: 50px;
  padding: 12px 16px!important;
  border-radius: 9px;
  font-family: Inter, Arial, sans-serif!important;
  font-size: 14px!important;
  font-weight: 700!important;
}
.sunplus-checkout-legal-note {
  margin: 11px 0 0;
  color: #7c8594;
  font-size: 11px;
  line-height: 1.6;
  text-align: left;
}
.sunplus-checkout-summary {
  top: 16px;
  padding: 18px;
  border: 1px solid #e5e9f0;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 3px 16px rgba(30, 48, 82, .035);
}
.sunplus-checkout-summary h3 {
  margin: 0 0 11px;
  color: #383c42;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -.015em;
}
.sunplus-checkout-summary-row { grid-template-columns: 52px minmax(0, 1fr); gap: 10px; padding: 12px 0; }
.sunplus-checkout-summary-row img { width: 52px; height: 52px; border-radius: 9px; }
.sunplus-checkout-summary-detail strong { font-size: 12px; line-height: 1.45; }
.sunplus-checkout-summary-detail small { font-size: 11px; }
.sunplus-checkout-summary-row > b { font-size: 12px; }
.sunplus-checkout-shipping-cost { margin: 17px 0; font-size: 12px; }
.sunplus-checkout-summary-total { font-size: 16px; line-height: 1.4; }
@media (max-width: 767px) {
  .sunplus-checkout-dialog {
    width: calc(100vw - 20px);
    max-height: calc(100dvh - 20px);
    border-radius: 13px;
    font-size: 13px;
  }
  .sunplus-checkout-top { padding: 18px 17px 15px; gap: 12px; }
  .sunplus-checkout-top h2 { font-size: 20px; }
  .sunplus-checkout-form-page { padding: 0 17px 21px; }
  .sunplus-checkout-back { margin: 14px 0 16px; font-size: 12px; }
  .sunplus-checkout-layout { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .sunplus-checkout-section { margin-bottom: 20px; padding-bottom: 18px; }
  .sunplus-checkout-section h3 { margin-bottom: 14px; font-size: 17px; }
  .sunplus-checkout-number { width: 28px; height: 28px; font-size: 12px; }
  .sunplus-checkout-fields { grid-template-columns: 1fr; gap: 0; }
  .sunplus-checkout-field { margin-bottom: 12px; font-size: 13px; }
  .sunplus-checkout-field input, .sunplus-checkout-field textarea {
    min-height: 47px!important;
    padding: 11px 13px!important;
    font-size: 16px!important; /* avoids iOS auto-zoom */
  }
  .sunplus-checkout-delivery-choices { gap: 9px; margin-bottom: 14px; }
  .sunplus-checkout-choice { min-height: 73px; padding: 11px 9px; gap: 8px; }
  .sunplus-checkout-choice input { width: 17px!important; height: 17px!important; }
  .sunplus-checkout-choice b { font-size: 12px; }
  .sunplus-checkout-choice small { font-size: 10px; }
  .sunplus-checkout-address-grid { gap: 9px; }
  .sunplus-checkout-payment-choices { gap: 9px; }
  .sunplus-checkout-payment-choice { min-height: 62px; padding: 11px 8px; font-size: 12px; }
  .sunplus-checkout-payment-note { padding: 12px; font-size: 12px; }
  .sunplus-checkout-submit, .sunplus-checkout-finish { min-height: 50px; font-size: 14px!important; }
  .sunplus-checkout-legal-note { font-size: 11px; }
  .sunplus-checkout-summary { position: static; padding: 16px; }
  .sunplus-checkout-summary h3 { font-size: 16px; }
  .sunplus-checkout-summary-detail strong { font-size: 12px; }
  .sunplus-checkout-summary-total { font-size: 16px; }
}
@media (max-width: 359px) {
  .sunplus-checkout-top { padding: 15px 13px 13px; }
  .sunplus-checkout-top h2 { font-size: 19px; }
  .sunplus-checkout-form-page { padding: 0 13px 18px; }
  .sunplus-checkout-delivery-choices, .sunplus-checkout-payment-choices { grid-template-columns: 1fr; }
  .sunplus-checkout-choice { min-height: 62px; }
  .sunplus-checkout-payment-choice { min-height: 48px; }
  .sunplus-checkout-address-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .sunplus-checkout-address-grid .sunplus-checkout-field:first-child { grid-column: span 2; }
}

/* V120 — one-line free-delivery summary and visually balanced basket controls. */
.sunplus-checkout-shipping-cost {
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  gap:12px!important;
  align-items:center!important;
  min-height:42px;
  padding:9px 0!important;
  margin:13px 0!important;
  border-top:1px solid #e7ebf3;
  border-bottom:1px solid #e7ebf3;
  line-height:1.4;
}
.sunplus-checkout-shipping-cost span { min-width:0; }
.sunplus-checkout-shipping-cost strong {
  white-space:nowrap;
  text-align:right;
  font-weight:650;
  line-height:1.4;
}
.sunplus-checkout-back[hidden]{display:none!important}
.sunplus-cart-quantity button.sunplus-cart-action--remove {
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex:0 0 30px;
  padding:0!important;
  vertical-align:middle;
}
.sunplus-cart-action--remove svg {margin:auto!important; flex:none;}
@media(max-width:359px){
  .sunplus-checkout-shipping-cost{gap:8px!important;}
  .sunplus-checkout-shipping-cost strong{font-size:11px;}
}

/* V121: locally scoped Ukrainian field feedback, no native-language browser popups. */
.sunplus-checkout-field-feedback{display:block;margin:5px 0 11px;color:#ad3a49;font:500 12px/1.45 Inter,Arial,sans-serif}
.sunplus-checkout-field input[aria-invalid="true"]{border-color:#dc7080!important;box-shadow:0 0 0 2px rgba(220,112,128,.09)!important}
.sunplus-checkout-choice input[aria-invalid="true"]{outline:2px solid #dc7080;outline-offset:2px}
.sunplus-checkout-payment-choice input[aria-invalid="true"]+span{color:#ad3a49}

/* V122: feedback stays directly under its own field in the responsive grid. */
.sunplus-checkout-dialog .sunplus-checkout-fields > .sunplus-checkout-field {min-width:0}
.sunplus-checkout-dialog .sunplus-checkout-field > .sunplus-checkout-field-feedback {
  display:block;margin:7px 0 0;color:#ad3a49;
  font:500 12px/1.45 Inter,Arial,sans-serif;
}
.sunplus-checkout-dialog .sunplus-checkout-field:has(input[aria-invalid="true"]) > input {
  border-color:#dc7080!important;
  box-shadow:0 0 0 2px rgba(220,112,128,.09)!important;
}
.sunplus-checkout-dialog .sunplus-checkout-field-feedback:not(.sunplus-checkout-field > *) {
  margin:7px 0 12px;
}

/* V136: align all courier address fields at every screen width. */
.sunplus-checkout-dialog .sunplus-checkout-address-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  align-items:stretch;
  gap:10px;
}
.sunplus-checkout-dialog .sunplus-checkout-address-grid .sunplus-checkout-field {
  display:flex;
  flex-direction:column;
  min-width:0;
  margin-bottom:0;
}
.sunplus-checkout-dialog .sunplus-checkout-address-grid .sunplus-checkout-field small {
  display:block;
  line-height:1.35;
}
.sunplus-checkout-dialog .sunplus-checkout-address-grid .sunplus-checkout-field input {
  min-width:0!important;
  box-sizing:border-box!important;
  margin-top:auto!important;
}
@media(max-width:359px) {
  .sunplus-checkout-dialog .sunplus-checkout-address-grid {
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:6px;
  }
  .sunplus-checkout-dialog .sunplus-checkout-address-grid .sunplus-checkout-field:first-child {
    grid-column:auto;
  }
  .sunplus-checkout-dialog .sunplus-checkout-address-grid .sunplus-checkout-field input {
    padding-left:7px!important;
    padding-right:7px!important;
  }
  .sunplus-checkout-dialog .sunplus-checkout-address-grid .sunplus-checkout-field input::placeholder {
    font-size:12px;
  }
}
/* Keep the original full placeholders readable in narrow three-column fields,
   without shrinking typed text (which stays 16px to avoid iOS zoom). */
@media (max-width:767px) {
  .sunplus-checkout-dialog .sunplus-checkout-address-grid .sunplus-checkout-field input::placeholder {
    font-size:12px;
  }
}
@media (max-width:359px) {
  .sunplus-checkout-dialog .sunplus-checkout-address-grid .sunplus-checkout-field small {
    font-size:10px;
  }
  .sunplus-checkout-dialog .sunplus-checkout-address-grid .sunplus-checkout-field input::placeholder {
    font-size:11px;
  }
}
