/*
 * 123eetstoel checkout v2.4
 * Design read: a trust-first Dutch furniture checkout, commercial and calm,
 * with one clear action per step and a compact mobile purchase bar.
 */

:root {
  --es-checkout-bg: #f4f3f0;
  --es-checkout-card: #ffffff;
  --es-checkout-ink: #181d1e;
  --es-checkout-muted: #66706e;
  --es-checkout-line: #dfe3e0;
  --es-checkout-accent: var(--es-accent, #d75235);
  --es-checkout-accent-dark: #bb4027;
  --es-checkout-success: #197245;
  --es-checkout-soft-green: #edf7f1;
  --es-checkout-radius: 18px;
  --es-checkout-shadow: 0 18px 55px rgba(24, 29, 30, 0.07);
}

/* Classic checkout gets its own focused shell. The regular shop header and
   large footer are deliberately replaced by the compact checkout chrome. */
body.woocommerce-checkout:not(.woocommerce-order-received) {
  background: var(--es-checkout-bg);
}

body.woocommerce-checkout:not(.woocommerce-order-received) .es-topbar,
body.woocommerce-checkout:not(.woocommerce-order-received) .es-header,
body.woocommerce-checkout:not(.woocommerce-order-received) .es-mobile-panel,
body.woocommerce-checkout:not(.woocommerce-order-received) .es-footer,
body.woocommerce-checkout:not(.woocommerce-order-received) footer.site-footer {
  display: none !important;
}

body.woocommerce-checkout:not(.woocommerce-order-received) #main-content.es-content {
  width: 100%;
  max-width: none;
  padding: 0;
  margin: 0;
}

body.woocommerce-checkout:not(.woocommerce-order-received) #main-content.es-content > .woocommerce,
body.woocommerce-checkout:not(.woocommerce-order-received) #main-content.es-content > .woocommerce > .woocommerce-notices-wrapper {
  width: 100%;
  max-width: none;
}

body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce-form-login-toggle,
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce-form-coupon-toggle,
body.woocommerce-checkout:not(.woocommerce-order-received) form.login,
body.woocommerce-checkout:not(.woocommerce-order-received) form.checkout_coupon {
  width: min(100% - 32px, 1540px);
  margin-inline: auto;
}

.es-checkout-page {
  width: 100%;
  min-height: 100dvh;
  color: var(--es-checkout-ink);
}

.es-checkout-brandbar {
  display: grid;
  width: 100%;
  min-height: 92px;
  align-items: center;
  gap: clamp(22px, 4vw, 72px);
  padding: 18px clamp(18px, 4vw, 72px);
  border-bottom: 1px solid var(--es-checkout-line);
  background: rgba(255, 255, 255, 0.96);
  grid-template-columns: minmax(190px, 270px) minmax(420px, 1fr) minmax(190px, 270px);
}

.es-checkout-brandbar__logo {
  display: inline-flex;
  width: min(100%, 246px);
  min-height: 48px;
  align-items: center;
  justify-content: flex-start;
}

.es-checkout-brandbar__logo img,
.es-checkout-brandbar__logo svg,
.es-checkout-brandbar__logo .custom-logo {
  display: block;
  width: auto;
  max-width: 100%;
  height: 42px;
  object-fit: contain;
  object-position: left center;
}

.es-checkout-steps {
  display: grid;
  max-width: 680px;
  padding: 0;
  margin: 0 auto;
  list-style: none;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.es-checkout-steps li {
  position: relative;
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #8a9290;
}

.es-checkout-steps li:not(:last-child)::after {
  position: absolute;
  top: 50%;
  left: calc(50% + 52px);
  width: calc(100% - 104px);
  height: 1px;
  background: #d8ddda;
  content: "";
}

.es-checkout-steps li > span {
  display: grid;
  z-index: 1;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid #cfd5d2;
  border-radius: 50%;
  background: white;
  color: inherit;
  font-size: 0.78rem;
  font-weight: 850;
}

.es-checkout-steps li div {
  display: grid;
  line-height: 1.05;
}

.es-checkout-steps li small {
  color: inherit;
  font-size: 0.61rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.es-checkout-steps li strong {
  color: inherit;
  font-size: 0.81rem;
}

.es-checkout-steps li.is-active {
  color: var(--es-checkout-ink);
}

.es-checkout-steps li.is-active > span {
  border-color: var(--es-checkout-ink);
  background: var(--es-checkout-ink);
  color: white;
}

.es-checkout-brandbar__secure {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  color: var(--es-checkout-success);
}

.es-checkout-brandbar__secure span {
  display: grid;
  line-height: 1.1;
}

.es-checkout-brandbar__secure strong {
  color: var(--es-checkout-ink);
  font-size: 0.79rem;
}

.es-checkout-brandbar__secure small {
  color: var(--es-checkout-muted);
  font-size: 0.65rem;
}

.es-checkout-intro {
  display: flex;
  width: min(100% - clamp(32px, 8vw, 144px), 1540px);
  align-items: end;
  justify-content: space-between;
  gap: 34px;
  padding: clamp(34px, 5vw, 74px) 0 clamp(26px, 3vw, 42px);
  margin-inline: auto;
}

.es-checkout-intro h1 {
  max-width: 18ch;
  margin: 0;
  color: var(--es-checkout-ink);
  font-size: clamp(2.35rem, 4.8vw, 4.9rem);
  line-height: 0.96;
  letter-spacing: -0.055em;
}

.es-checkout-intro > p {
  max-width: 48ch;
  margin: 0 0 5px;
  color: var(--es-checkout-muted);
  font-size: clamp(0.9rem, 1vw, 1.02rem);
  line-height: 1.65;
}

.woocommerce-checkout form.checkout.es-checkout-shell {
  display: grid;
  width: min(100% - clamp(32px, 8vw, 144px), 1540px);
  align-items: start;
  gap: clamp(28px, 4.5vw, 74px);
  padding: 0 0 clamp(80px, 8vw, 128px);
  margin-inline: auto;
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, 0.72fr);
}

.es-checkout-shell__main,
.es-checkout-shell__sidebar {
  min-width: 0;
}

.es-checkout-shell__main {
  display: grid;
  gap: 20px;
}

.es-checkout-card,
.es-checkout-summary,
.es-checkout-help {
  border: 1px solid var(--es-checkout-line);
  border-radius: var(--es-checkout-radius);
  background: var(--es-checkout-card);
  box-shadow: var(--es-checkout-shadow);
}

.es-checkout-card {
  padding: clamp(22px, 3vw, 42px);
}

.es-checkout-card__head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding-bottom: 25px;
  border-bottom: 1px solid #edf0ee;
}

.es-checkout-card__number {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  border-radius: 50%;
  background: var(--es-checkout-ink);
  color: white;
  font-size: 0.76rem;
  font-weight: 850;
}

.es-checkout-card__head h2,
.es-checkout-summary__head h2 {
  margin: 1px 0 0;
  color: var(--es-checkout-ink);
  font-size: clamp(1.45rem, 2vw, 2rem);
  letter-spacing: -0.035em;
}

.es-checkout-card__head .es-eyebrow,
.es-checkout-summary__head .es-eyebrow {
  margin: 0 0 2px;
}

.es-checkout-customer-details {
  padding-top: 28px;
}

.woocommerce-checkout .es-checkout-customer-details .col-1,
.woocommerce-checkout .es-checkout-customer-details .col-2 {
  width: 100%;
  float: none;
}

.woocommerce-checkout .es-checkout-customer-details .col-2 {
  margin-top: 18px;
}

.woocommerce-checkout .es-checkout-customer-details .woocommerce-billing-fields,
.woocommerce-checkout .es-checkout-customer-details .woocommerce-shipping-fields,
.woocommerce-checkout .es-checkout-customer-details .woocommerce-additional-fields {
  padding: 0;
  border: 0;
  background: transparent;
}

.woocommerce-checkout .es-checkout-customer-details .woocommerce-billing-fields > h3,
.woocommerce-checkout .es-checkout-customer-details .woocommerce-shipping-fields > h3,
.woocommerce-checkout .es-checkout-customer-details .woocommerce-additional-fields > h3 {
  margin: 0 0 16px;
  color: var(--es-checkout-ink);
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.woocommerce-checkout .es-checkout-customer-details .woocommerce-billing-fields__field-wrapper,
.woocommerce-checkout .es-checkout-customer-details .woocommerce-shipping-fields__field-wrapper {
  display: grid;
  gap: 4px 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.woocommerce-checkout .es-checkout-customer-details .form-row {
  width: auto;
  padding: 0;
  margin: 0 0 14px;
  float: none;
}

.woocommerce-checkout .es-checkout-customer-details .form-row-wide,
.woocommerce-checkout .es-checkout-customer-details #billing_company_field,
.woocommerce-checkout .es-checkout-customer-details #billing_country_field,
.woocommerce-checkout .es-checkout-customer-details #billing_address_1_field,
.woocommerce-checkout .es-checkout-customer-details #billing_address_2_field,
.woocommerce-checkout .es-checkout-customer-details #shipping_company_field,
.woocommerce-checkout .es-checkout-customer-details #shipping_country_field,
.woocommerce-checkout .es-checkout-customer-details #shipping_address_1_field,
.woocommerce-checkout .es-checkout-customer-details #shipping_address_2_field,
.woocommerce-checkout .es-checkout-customer-details #order_comments_field {
  grid-column: 1 / -1;
}

.woocommerce-checkout .es-checkout-customer-details label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin: 0 0 7px;
  color: #323938;
  font-size: 0.74rem;
  font-weight: 780;
}

.woocommerce-checkout .es-checkout-customer-details .optional {
  color: #8c9492;
  font-weight: 600;
}

.woocommerce-checkout .es-checkout-customer-details input.input-text,
.woocommerce-checkout .es-checkout-customer-details textarea,
.woocommerce-checkout .es-checkout-customer-details select,
.woocommerce-checkout .es-checkout-customer-details .select2-selection {
  width: 100%;
  min-height: 52px;
  padding: 0 15px;
  border: 1px solid #cfd5d2;
  border-radius: 10px;
  background: white;
  color: var(--es-checkout-ink);
  font-size: 0.91rem;
  box-shadow: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.woocommerce-checkout .es-checkout-customer-details textarea {
  min-height: 108px;
  padding-block: 13px;
  resize: vertical;
}

.woocommerce-checkout .es-checkout-customer-details input.input-text:focus,
.woocommerce-checkout .es-checkout-customer-details textarea:focus,
.woocommerce-checkout .es-checkout-customer-details select:focus,
.woocommerce-checkout .es-checkout-customer-details .select2-container--open .select2-selection {
  outline: none;
  border-color: var(--es-checkout-ink);
  box-shadow: 0 0 0 3px rgba(24, 29, 30, 0.08);
}

.woocommerce-checkout .es-checkout-customer-details .woocommerce-invalid input.input-text,
.woocommerce-checkout .es-checkout-customer-details .woocommerce-invalid .select2-selection {
  border-color: #b72e2e;
  background: #fffafa;
}

.woocommerce-checkout .es-checkout-customer-details .select2-selection__rendered {
  padding-left: 0;
  line-height: 50px;
}

.woocommerce-checkout .es-checkout-customer-details .select2-selection__arrow {
  top: 13px;
  right: 8px;
}

.es-checkout-service-grid {
  display: grid;
  gap: 12px;
  padding: 24px 0 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.es-checkout-service-grid > div {
  display: flex;
  min-width: 0;
  align-items: flex-start;
  gap: 10px;
  padding: 15px;
  border: 1px solid #e4e8e5;
  border-radius: 12px;
  background: #fafaf8;
}

.es-checkout-service-grid svg {
  flex: 0 0 auto;
  color: var(--es-checkout-success);
}

.es-checkout-service-grid span {
  display: grid;
  line-height: 1.25;
}

.es-checkout-service-grid strong {
  color: var(--es-checkout-ink);
  font-size: 0.75rem;
}

.es-checkout-service-grid small {
  margin-top: 3px;
  color: var(--es-checkout-muted);
  font-size: 0.65rem;
}

.es-delivery-callout {
  display: grid;
  width: 100%;
  min-height: 76px;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid #b9d7c5;
  border-radius: 13px;
  background: var(--es-checkout-soft-green);
  color: var(--es-checkout-ink);
  text-align: left;
  cursor: pointer;
  grid-template-columns: auto minmax(0, 1fr) auto;
}

.es-delivery-callout:hover,
.es-delivery-callout:focus-visible {
  border-color: var(--es-checkout-success);
  box-shadow: 0 0 0 3px rgba(25, 114, 69, 0.08);
}

.es-delivery-callout__icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: white;
  color: var(--es-checkout-success);
}

.es-delivery-callout > span:nth-child(2) {
  display: grid;
  line-height: 1.2;
}

.es-delivery-callout small {
  margin-bottom: 4px;
  color: var(--es-checkout-muted);
  font-size: 0.66rem;
  font-weight: 730;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.es-delivery-callout strong {
  color: var(--es-checkout-ink);
  font-size: 0.9rem;
}

.es-checkout-help {
  display: grid;
  align-items: center;
  gap: 13px;
  padding: 18px 20px;
  box-shadow: none;
  grid-template-columns: auto minmax(0, 1fr) auto;
}

.es-checkout-help > svg {
  color: var(--es-checkout-accent);
}

.es-checkout-help > div {
  display: grid;
}

.es-checkout-help strong {
  color: var(--es-checkout-ink);
  font-size: 0.8rem;
}

.es-checkout-help span {
  color: var(--es-checkout-muted);
  font-size: 0.7rem;
}

.es-checkout-help a {
  color: var(--es-checkout-ink);
  font-size: 0.73rem;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.es-checkout-shell__sidebar {
  position: sticky;
  top: 24px;
}

.es-checkout-summary-toggle {
  display: none;
}

.es-checkout-summary {
  overflow: hidden;
  padding: clamp(20px, 2.5vw, 34px);
}

.es-checkout-summary__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 22px;
  border-bottom: 1px solid #edf0ee;
}

.es-checkout-summary__head a {
  padding-top: 9px;
  color: var(--es-checkout-ink);
  font-size: 0.72rem;
  font-weight: 780;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.woocommerce-checkout .es-checkout-summary #order_review {
  position: static;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.woocommerce-checkout .es-checkout-summary #order_review_heading {
  display: none;
}

.woocommerce-checkout .es-checkout-summary table.shop_table {
  margin: 0;
  border: 0;
  border-collapse: collapse;
  border-radius: 0;
  background: transparent;
}

.woocommerce-checkout .es-checkout-summary table.shop_table thead {
  display: none;
}

.woocommerce-checkout .es-checkout-summary table.shop_table td,
.woocommerce-checkout .es-checkout-summary table.shop_table th {
  padding: 13px 0;
  border-top: 1px solid #edf0ee;
  color: var(--es-checkout-muted);
  font-size: 0.77rem;
  vertical-align: top;
}

.woocommerce-checkout .es-checkout-summary table.shop_table tbody tr:first-child td,
.woocommerce-checkout .es-checkout-summary table.shop_table tbody tr:first-child th {
  border-top: 0;
}

.woocommerce-checkout .es-checkout-summary table.shop_table .product-name {
  padding-right: 18px;
  color: var(--es-checkout-ink);
  font-weight: 760;
}

.woocommerce-checkout .es-checkout-summary table.shop_table .product-name .product-quantity {
  color: var(--es-checkout-muted);
  font-weight: 650;
}

.woocommerce-checkout .es-checkout-summary table.shop_table td:last-child,
.woocommerce-checkout .es-checkout-summary table.shop_table th:last-child {
  text-align: right;
}

.woocommerce-checkout .es-checkout-summary table.shop_table tfoot tr.order-total th,
.woocommerce-checkout .es-checkout-summary table.shop_table tfoot tr.order-total td {
  padding-top: 17px;
  color: var(--es-checkout-ink);
  font-size: 1rem;
  font-weight: 850;
}

.woocommerce-checkout .es-checkout-summary .es-delivery-card {
  margin: 18px 0;
}

.woocommerce-checkout .es-checkout-summary #payment {
  margin: 20px 0 0;
  border: 0;
  border-radius: 14px;
  background: #f7f7f4;
}

.woocommerce-checkout .es-checkout-summary #payment ul.payment_methods {
  padding: 10px 16px 4px;
  border-bottom: 0;
}

.woocommerce-checkout .es-checkout-summary #payment ul.payment_methods > li {
  padding: 11px 0;
  border-bottom: 1px solid #e4e8e5;
}

.woocommerce-checkout .es-checkout-summary #payment ul.payment_methods > li:last-child {
  border-bottom: 0;
}

.woocommerce-checkout .es-checkout-summary #payment label {
  color: var(--es-checkout-ink);
  font-size: 0.79rem;
  font-weight: 770;
}

.woocommerce-checkout .es-checkout-summary #payment .payment_box {
  padding: 13px;
  margin: 11px 0 0;
  border-radius: 9px;
  background: white;
  color: var(--es-checkout-muted);
  font-size: 0.72rem;
}

.woocommerce-checkout .es-checkout-summary #payment .payment_box::before {
  display: none;
}

.woocommerce-checkout .es-checkout-summary #payment .place-order {
  padding: 15px 16px 16px;
}

.woocommerce-checkout .es-checkout-summary #place_order {
  width: 100%;
  min-height: 58px;
  border: 0;
  border-radius: 10px;
  background: var(--es-checkout-ink);
  color: white;
  font-size: 0.89rem;
  font-weight: 850;
  box-shadow: none;
}

.woocommerce-checkout .es-checkout-summary #place_order:hover,
.woocommerce-checkout .es-checkout-summary #place_order:focus-visible {
  background: #090d0e;
  transform: translateY(-1px);
}

.woocommerce-checkout .es-checkout-summary #place_order:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.woocommerce-checkout .es-checkout-summary .woocommerce-terms-and-conditions-wrapper,
.woocommerce-checkout .es-checkout-summary .woocommerce-privacy-policy-text {
  color: var(--es-checkout-muted);
  font-size: 0.67rem;
  line-height: 1.5;
}

.es-checkout-summary__trust {
  display: grid;
  gap: 8px;
  padding-top: 20px;
  margin-top: 20px;
  border-top: 1px solid #edf0ee;
}

.es-checkout-summary__trust span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--es-checkout-muted);
  font-size: 0.69rem;
  font-weight: 680;
}

.es-checkout-summary__trust svg {
  color: var(--es-checkout-success);
}

.es-checkout-footer {
  display: flex;
  width: min(100% - clamp(32px, 8vw, 144px), 1540px);
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0 36px;
  margin-inline: auto;
  border-top: 1px solid #daddda;
  color: #858d8b;
  font-size: 0.68rem;
}

.es-checkout-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.es-checkout-footer a {
  color: inherit;
}

.es-checkout-mobile-submit {
  display: none;
}

/* WooCommerce notices within the focused checkout shell. */
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce-notices-wrapper,
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce-error,
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce-message,
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce-info {
  width: min(100% - 32px, 1540px);
  margin: 18px auto;
}

/* Block checkout fallback. The block markup stays native; the theme only
   supplies a stable outer brand bar, spacing and the sticky mobile action. */
body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-checkout,
body.woocommerce-checkout:not(.woocommerce-order-received) .wp-block-woocommerce-checkout {
  width: min(100% - clamp(32px, 8vw, 144px), 1540px);
  max-width: none !important;
  padding: clamp(34px, 5vw, 72px) 0 110px;
  margin-inline: auto;
}

body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-checkout .wc-block-components-sidebar-layout {
  align-items: flex-start;
  gap: clamp(28px, 5vw, 72px) !important;
}

body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-checkout .wc-block-components-main {
  padding-right: 0 !important;
}

body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-checkout .wc-block-components-checkout-step,
body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-checkout .wc-block-components-sidebar {
  border: 1px solid var(--es-checkout-line);
  border-radius: var(--es-checkout-radius);
  background: white;
  box-shadow: var(--es-checkout-shadow);
}

body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-checkout .wc-block-components-checkout-step {
  padding: clamp(20px, 3vw, 36px) !important;
  margin-bottom: 18px !important;
}

body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-checkout .wc-block-components-sidebar {
  position: sticky;
  top: 24px;
}

body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-checkout .wc-block-components-button {
  min-height: 58px !important;
  border-radius: 10px !important;
  background: var(--es-checkout-ink) !important;
  color: white !important;
  font-weight: 850 !important;
}

.es-checkout-brandbar--injected {
  position: relative;
}

@media (max-width: 1100px) {
  .es-checkout-brandbar {
    grid-template-columns: minmax(170px, 220px) 1fr auto;
    gap: 24px;
    padding-inline: 28px;
  }

  .es-checkout-steps li div {
    display: none;
  }

  .es-checkout-steps li:not(:last-child)::after {
    left: calc(50% + 27px);
    width: calc(100% - 54px);
  }

  .woocommerce-checkout form.checkout.es-checkout-shell {
    width: min(100% - 48px, 1320px);
    gap: 28px;
    grid-template-columns: minmax(0, 1fr) minmax(350px, 0.7fr);
  }

  .es-checkout-intro,
  .es-checkout-footer {
    width: min(100% - 48px, 1320px);
  }

  .es-checkout-service-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  body.woocommerce-checkout:not(.woocommerce-order-received) {
    padding-bottom: calc(88px + env(safe-area-inset-bottom));
  }

  .es-checkout-brandbar {
    min-height: 68px;
    grid-template-columns: minmax(150px, 1fr) auto;
    padding: 12px 16px;
  }

  .es-checkout-brandbar__logo {
    width: 190px;
    min-height: 40px;
  }

  .es-checkout-brandbar__logo img,
  .es-checkout-brandbar__logo svg,
  .es-checkout-brandbar__logo .custom-logo {
    height: 36px;
  }

  .es-checkout-brandbar__secure span {
    display: none;
  }

  .es-checkout-steps {
    position: absolute;
    top: 68px;
    left: 0;
    width: 100%;
    height: 5px;
    max-width: none;
    background: #e5e8e6;
  }

  .es-checkout-steps li {
    display: block;
  }

  .es-checkout-steps li > span,
  .es-checkout-steps li::after {
    display: none;
  }

  .es-checkout-steps li.is-active {
    background: var(--es-checkout-accent);
  }

  .es-checkout-intro {
    display: block;
    width: calc(100% - 32px);
    padding: 38px 0 24px;
  }

  .es-checkout-intro h1 {
    font-size: clamp(2.15rem, 11vw, 3.55rem);
  }

  .es-checkout-intro > p {
    margin-top: 14px;
  }

  .woocommerce-checkout form.checkout.es-checkout-shell {
    display: block;
    width: calc(100% - 32px);
    padding-bottom: 38px;
  }

  .es-checkout-shell__main {
    gap: 14px;
  }

  .es-checkout-card {
    padding: 20px 16px;
    border-radius: 15px;
    box-shadow: 0 10px 32px rgba(24, 29, 30, 0.045);
  }

  .es-checkout-card__head {
    padding-bottom: 18px;
  }

  .es-checkout-customer-details {
    padding-top: 20px;
  }

  .woocommerce-checkout .es-checkout-customer-details .woocommerce-billing-fields__field-wrapper,
  .woocommerce-checkout .es-checkout-customer-details .woocommerce-shipping-fields__field-wrapper {
    grid-template-columns: 1fr;
  }

  .woocommerce-checkout .es-checkout-customer-details .form-row {
    grid-column: auto !important;
  }

  .es-checkout-service-grid {
    padding-top: 18px;
  }

  .es-checkout-help {
    padding: 16px;
    grid-template-columns: auto minmax(0, 1fr);
  }

  .es-checkout-help a {
    grid-column: 2;
  }

  .es-checkout-shell__sidebar {
    position: static;
    margin-top: 14px;
  }

  .es-checkout-summary-toggle {
    display: flex;
    width: 100%;
    min-height: 70px;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 13px 16px;
    border: 1px solid var(--es-checkout-line);
    border-radius: 15px;
    background: white;
    color: var(--es-checkout-ink);
    text-align: left;
    box-shadow: 0 10px 32px rgba(24, 29, 30, 0.045);
  }

  .es-checkout-summary-toggle > span:first-child {
    display: grid;
  }

  .es-checkout-summary-toggle small {
    color: var(--es-checkout-muted);
    font-size: 0.67rem;
  }

  .es-checkout-summary-toggle strong {
    color: var(--es-checkout-ink);
    font-size: 0.94rem;
  }

  .es-checkout-summary-toggle__label {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--es-checkout-ink);
    font-size: 0.72rem;
    font-weight: 800;
  }

  .es-checkout-summary-toggle[aria-expanded="true"] .es-icon-chevron {
    transform: rotate(90deg);
  }

  .es-checkout-summary {
    display: none;
    padding: 18px 16px;
    margin-top: 8px;
    border-radius: 15px;
    box-shadow: 0 10px 32px rgba(24, 29, 30, 0.045);
  }

  .es-checkout-summary.is-open {
    display: block;
  }

  .es-checkout-summary__head {
    padding-bottom: 17px;
  }

  .woocommerce-checkout .es-checkout-summary #place_order {
    min-height: 54px;
  }

  body.es-checkout-sticky-ready.woocommerce-checkout:not(.woocommerce-order-received) .es-checkout-summary #place_order {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
  }

  .es-checkout-mobile-submit {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 9992;
    display: grid;
    align-items: center;
    gap: 12px;
    padding: 11px 14px calc(11px + env(safe-area-inset-bottom));
    border-top: 1px solid #d9ddda;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 -14px 40px rgba(24, 29, 30, 0.12);
    grid-template-columns: auto minmax(0, 1fr);
  }

  .es-checkout-mobile-submit[hidden] {
    display: none !important;
  }

  .es-checkout-mobile-submit > div {
    display: grid;
    min-width: 78px;
    line-height: 1.15;
  }

  .es-checkout-mobile-submit small {
    color: var(--es-checkout-muted);
    font-size: 0.63rem;
  }

  .es-checkout-mobile-submit strong {
    color: var(--es-checkout-ink);
    font-size: 0.9rem;
  }

  .es-checkout-mobile-submit button {
    display: inline-flex;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 18px;
    border: 0;
    border-radius: 10px;
    background: var(--es-checkout-ink);
    color: white;
    font-size: 0.82rem;
    font-weight: 850;
    cursor: pointer;
  }

  .es-checkout-mobile-submit button:disabled {
    opacity: 0.55;
    cursor: not-allowed;
  }

  .es-checkout-footer {
    display: grid;
    width: calc(100% - 32px);
    justify-items: start;
    gap: 12px;
    padding-bottom: 22px;
  }

  .es-checkout-footer nav {
    gap: 12px 16px;
  }

  body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-checkout,
  body.woocommerce-checkout:not(.woocommerce-order-received) .wp-block-woocommerce-checkout {
    width: calc(100% - 32px);
    padding-top: 42px;
  }

  body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-checkout .wc-block-components-sidebar {
    position: static;
  }
}

@media (max-width: 520px) {
  .es-checkout-intro .es-eyebrow {
    margin-bottom: 7px;
  }

  .es-checkout-card__head h2,
  .es-checkout-summary__head h2 {
    font-size: 1.34rem;
  }

  .es-delivery-callout {
    min-height: 72px;
    padding-inline: 12px;
  }

  .es-delivery-callout__icon {
    width: 38px;
    height: 38px;
  }

  .es-checkout-mobile-submit {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .es-checkout-mobile-submit button {
    padding-inline: 12px;
    font-size: 0.78rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .es-checkout-summary,
  .es-checkout-mobile-submit,
  .es-delivery-callout,
  .woocommerce-checkout .es-checkout-summary #place_order {
    transition: none !important;
  }
}

.woocommerce-checkout .es-checkout-summary table.shop_table .order-total td,
.woocommerce-checkout .es-checkout-summary table.shop_table .order-total .woocommerce-Price-amount {
  white-space: nowrap;
}
