.hw-commerce {
  --ink: #102e48;
  --muted: #41596b;
  --blue: #1456a6;
  --line: #cfdee5;
  --body: "Noto Sans Thai Variable", sans-serif;
  color: var(--ink);
  font: 400 18px/1.65 var(--body);
  padding-block: clamp(26px, 4vw, 58px) clamp(50px, 6vw, 90px);
  min-height: 55vh;
}
.hw-commerce *, .hw-commerce *::before, .hw-commerce *::after { box-sizing: border-box; }
.hw-commerce__heading {
  display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:12px 32px;
  background:linear-gradient(110deg,#0b284a 0%,#123d60 72%,#17515c);
  color:#fff;
  border-radius:18px;
  padding:clamp(20px, 2.8vw, 36px) clamp(18px, 3.5vw, 44px);
  margin-bottom:clamp(18px, 2vw, 28px);
}
.hw-commerce__heading h1 { color:#fff; font:740 clamp(2rem, 3.6vw, 3rem)/1.25 var(--body); margin:0; }
.hw-commerce__steps { list-style:none; margin:0; padding:0; display:flex; flex-wrap:wrap; align-items:center; gap:6px 14px; }
.hw-commerce__steps li { display:inline-flex; align-items:center; gap:6px; color:#d5e6ee; font-size:1rem; }
.hw-commerce__steps li + li::before { content:""; width:clamp(8px, 1.8vw, 28px); height:1px; background:#92b5c6; margin-right:4px; }
.hw-commerce__steps li > span { display:inline-grid; place-items:center; border:1px solid #9abcc8; min-width:27px; height:27px; border-radius:50%; font-size:.94em; font-weight:650; line-height:1; }
.hw-commerce__steps li[aria-current] { color:#fff; font-weight:700; }
.hw-commerce__steps li[aria-current] > span { background:#d2f0df; color:#133d38; border-color:#d2f0df; }
.hw-commerce__steps a { color:inherit; text-decoration:underline; text-underline-offset:3px; padding-block:8px; }
.hw-commerce :where(a, input, select, textarea, button):focus-visible { outline:3px solid #14796e; outline-offset:3px; }
.hw-commerce__heading a:focus-visible { outline-color:#e3fff4; }
.hw-commerce__total-link { display:none; }
#hw-cart-total, #order_review_heading { scroll-margin-block-start: 6rem; }
.hw-commerce a.hw-callback-button {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  background: #ae2834;
  color: #fff;
  padding: 10px 18px;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  margin-block: 10px;
  text-align: center;
}
.hw-commerce a.hw-callback-button:hover { background: #8c1824; }
.hw-commerce-callback {
  box-sizing: border-box;
  position: fixed;
  inset: 0;
  margin: auto;
  width: min(calc(100vw - 24px), 510px);
  max-height: min(92dvh, 760px);
  padding: 0;
  overflow: hidden;
  background: #fff;
  color: #13354b;
  border: 1px solid #cfdbd4;
  border-radius: 22px;
  box-shadow: 0 22px 90px #00180f52;
}
.hw-commerce-callback[open] { display: flex; flex-direction: column; }
.hw-commerce-callback::backdrop { background: #0a1916b8; }
.hw-commerce-callback > header {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px clamp(15px, 4vw, 24px);
  background: #edf5f5;
  border-bottom: 1px solid #d7e6e8;
}
.hw-commerce-callback h2 { margin: 0; color: inherit; font: 760 1.22rem/1.35 "Noto Sans Thai Variable", sans-serif; }
.hw-commerce-callback iframe {
  flex: 0 1 auto;
  min-height: 0;
  border: 0;
  display: block;
  width: 100%;
  height: var(--callback-content-height, 470px);
}
.hw-commerce-callback button {
  flex: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #afc7c8;
  border-radius: 50%;
  color: #153c49;
  background: #fff;
  font: 500 25px/1 system-ui, sans-serif;
  cursor: pointer;
}
.hw-commerce-callback button:focus-visible { outline: 3px solid #176b86; outline-offset: 2px; }
@media(max-width:600px) {
  .hw-commerce__heading { display:grid; }
  .hw-commerce__steps { gap:5px 9px; }
  .hw-commerce__steps li { font-size:.94rem; }
  .hw-commerce__steps li + li::before { display:none; }
  .hw-commerce__heading { grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:8px 12px; }
  .hw-commerce__heading nav { grid-column:1/-1; }
  .hw-commerce__heading .hw-commerce__total-link {
    display:inline-flex; align-items:center; justify-content:center; gap:5px;
    min-height:44px; color:#e5fff2; font-weight:590; font-size:1rem;
    text-decoration:underline; text-underline-offset:4px;
  }
  .hw-commerce__total-link[hidden] { display:none !important; }
  #hw-cart-total, #order_review_heading { scroll-margin-block-start:12px; }
}
@media(max-width:365px) {
  .hw-commerce__heading h1 { font-size:clamp(1.55rem,7.5vw,1.8rem); }
  .hw-commerce__steps { display:grid; grid-template-columns:1fr 1fr 1.35fr; align-items:start; }
  .hw-commerce__steps li { flex-direction:column; text-align:center; gap:4px; }
  .hw-commerce__steps a { padding:0 4px; }
}
