body.woocommerce-cart,body.woocommerce-checkout {
  background:var(--hfj-surface)
}
.wp-block-woocommerce-cart,.wp-block-woocommerce-checkout {
  max-width:1240px;
  margin:2rem auto 5rem;
  color:var(--hfj-ink)
}
.wp-block-woocommerce-cart h2,.wp-block-woocommerce-checkout h2,.woocommerce-order h2 {
  font-family:Georgia,serif;
  font-weight:400!important;
  letter-spacing:0
}
.wc-block-components-main {
  min-width:0
}
.wc-block-components-sidebar {
  background:var(--hfj-paper);
  padding:24px!important;
  border:1px solid var(--hfj-line);
  border-radius:4px;
  align-self:start
}
.wc-block-cart-items {
  background:var(--hfj-paper);
  border:1px solid var(--hfj-line)!important
}
.wc-block-cart-items th { padding:18px 16px!important; font:500 12px/1.4 var(--hfj-font); }
.wc-block-cart-items td {
  padding:24px 16px!important
}
.wc-block-components-product-name {
  color:var(--hfj-ink);
  font:400 15px/1.5 var(--hfj-font, Poppins, sans-serif)
}
body .wc-block-cart a.wc-block-components-product-name {
  color:var(--hfj-ink); text-decoration:none; font-weight:500; text-underline-offset:3px;
}
body .wc-block-cart a.wc-block-components-product-name:is(:hover,:focus-visible) {
  color:var(--hfj-action-hover); text-decoration:underline;
}
body .wc-block-cart .wc-block-cart-items__row { position:relative; }
body .wc-block-cart .wc-block-cart-item__total { vertical-align:top; }
body .wc-block-cart .wc-block-cart-items .wc-block-cart-item__quantity .wc-block-cart-item__remove-link[aria-label]:not([hidden]) {
  position:absolute; inset-inline-end:8px; top:51px;
  display:inline-flex; align-items:center; justify-content:center; box-sizing:border-box;
  width:44px; height:44px; padding:0; border:0; border-radius:3px; font-size:0; text-decoration:none;
  color:var(--hfj-muted); background:transparent; transition:color 160ms ease,background-color 160ms ease;
}
body .wc-block-cart .wc-block-cart-item__remove-link[aria-label]:not(:has(svg))::before {
  content:""; display:block; width:20px; height:20px; margin:auto; background:currentColor;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 5h-5.7c0-1.3-1-2.3-2.3-2.3S9.7 3.7 9.7 5H4v2h1.5v.3l1.7 11.1c.1 1 1 1.7 2 1.7h5.7c1 0 1.8-.7 2-1.7l1.7-11.1V7H20V5zm-3.2 2l-1.7 11.1c0 .1-.1.2-.3.2H9.1c-.1 0-.3-.1-.3-.2L7.2 7h9.6z'/%3E%3C/svg%3E") center/contain no-repeat;
}
body .wc-block-cart .wc-block-cart-item__remove-link svg { width:20px; height:20px; fill:currentColor; }
body .wc-block-cart .wc-block-cart-items .wc-block-cart-item__quantity .wc-block-cart-item__remove-link[aria-label]:not([hidden]):is(:hover,:focus-visible) { background:var(--hfj-surface); color:var(--hfj-action-hover); }
body .wc-block-cart .wc-block-cart-item__remove-link:focus-visible { outline:2px solid var(--hfj-control-focus-ring); }
@media(prefers-reduced-motion:reduce) { body .wc-block-cart .wc-block-cart-item__remove-link { transition:none; } }
.wc-block-cart .wc-block-cart-item__quantity:has(> .wc-block-cart-item__remove-link:only-child) { padding:0; margin:0; }
.wc-block-checkout .wc-block-components-checkout-step:has(+ .hfj-checkout-delivery) { margin-bottom:0; padding-bottom:0; }
.wc-block-checkout .hfj-checkout-delivery { font-size:14px; line-height:1.6; margin:8px 0 24px; }
.wc-block-components-product-price {
  color:var(--hfj-ink)
}
.wc-block-components-quantity-selector {
  border-color:var(--hfj-line)!important;
  border-radius:3px!important
}
.wc-block-components-quantity-selector button {
  min-width:40px;
  min-height:40px;
  color:var(--hfj-ink)
}
.wc-block-components-text-input input,.wc-block-components-combobox .wc-block-components-combobox-control input,.wc-block-components-textarea,.wc-blocks-components-select .wc-blocks-components-select__select {
  background:white!important;
  border:1px solid var(--hfj-control-border,#82776b)!important;
  border-radius:3px!important;
  color:var(--hfj-ink)!important;
  min-height:52px;
  box-shadow:none!important
}
.wc-block-components-text-input.has-error input {
  border-color:var(--hfj-error)!important
}
.wc-block-components-validation-error {
  color:var(--hfj-error)!important
}
.wc-block-components-checkout-step {
  padding-bottom:24px!important
}
.wc-block-components-checkout-step__heading {
  margin-bottom:20px!important
}
.wc-block-components-radio-control__option {
  border-radius:3px!important
}
.wc-block-components-radio-control__input {
  accent-color:var(--hfj-action)
}
body .wc-block-components-button.wp-element-button,body .wc-block-cart__submit-button,body .wc-block-components-checkout-place-order-button {
  display:flex;
  justify-content:center;
  align-items:center;
  gap:8px;
  background:var(--hfj-action)!important;
  color:#fff!important;
  border:1px solid var(--hfj-action)!important;
  border-radius:3px!important;
  min-height:52px!important;
  padding:14px 22px!important;
  text-decoration:none!important;
  font-size:.92rem;
  font-weight:600;
  cursor:pointer;
  box-shadow:none!important
}
body .wc-block-components-button .wc-block-components-button__text,body .wc-block-components-button .wc-block-components-checkout-place-order-button__text {
  color:inherit!important;
  font:inherit;
  background:transparent!important
}
body .wc-block-components-button.wp-element-button:hover {
  background:var(--hfj-action-hover)!important;
  border-color:var(--hfj-action-hover)!important;
  color:white!important
}
body .wc-block-components-button.wp-element-button:active {
  background:var(--hfj-action-active)!important
}
body .wc-block-components-button.wp-element-button:disabled {
  opacity:.55;
  cursor:not-allowed
}
.wc-block-components-notice-banner {
  border-radius:3px!important;
  line-height:1.6
}
.wc-block-components-notice-banner.is-error {
  border-color:#ba6760!important;
  background:#fff4f0!important
}
.wc-block-components-notice-banner.is-success {
  border-color:#71855d!important;
  background:#f0f5eb!important
}
.wc-block-components-order-summary {
  border:0!important
}
.wc-block-cart__empty-cart__title {
  text-align:center;
  padding-top:2rem
}
.wp-block-woocommerce-empty-cart-block {
  text-align:center;
  padding:3rem 1rem
}
.wc-block-components-totals-footer-item {
  border-top:1px solid var(--hfj-line);
  padding-top:20px!important;
  font-size:1.15rem
}
.wc-block-components-checkout-return-to-cart-button {
  color:var(--hfj-ink)
}
.woocommerce-order {
  max-width:1000px;
  margin:3rem auto;
  padding:clamp(16px,4vw,48px);
  background:var(--hfj-paper);
  border:1px solid var(--hfj-line)
}
.woocommerce-order .woocommerce-notice {
  font:400 1.65rem Georgia,serif
}
.woocommerce-order table.shop_table {
  border-color:var(--hfj-line)
}
.woocommerce-order address {
  line-height:1.8
}
@media(min-width:1024px) {
  .wc-block-components-sidebar-layout {
    display:flex!important;
    gap:40px;
    align-items:flex-start
  }
  .wc-block-components-sidebar-layout .wc-block-components-main {
    width:calc(65% - 20px)!important;
    padding-right:0!important
  }
  .wc-block-components-sidebar-layout .wc-block-components-sidebar {
    width:calc(35% - 20px)!important;
    position:sticky;
    top:24px
  }
  .wc-block-components-checkout-place-order {
    align-items:center;
    gap:16px
  }
}
@media(max-width:1023px) {
  .wc-block-components-sidebar-layout {
    display:flex!important;
    flex-direction:column;
    gap:24px
  }
  .wc-block-components-sidebar-layout .wc-block-components-main,.wc-block-components-sidebar-layout .wc-block-components-sidebar {
    width:100%!important;
    margin:0!important;
    padding-right:0
  }
  .wc-block-components-sidebar {
    position:static!important
  }
  .wp-block-woocommerce-cart,.wp-block-woocommerce-checkout {
    margin-top:1rem
  }
  .wc-block-components-checkout-place-order {
    display:flex;
    flex-direction:column;
    gap:16px
  }
  .wc-block-components-checkout-place-order-button {
    width:100%
  }
  body .wc-block-cart:not(.is-large) table.wc-block-cart-items { box-sizing:border-box; width:100%; table-layout:fixed; }
  body .wc-block-cart:not(.is-large) table.wc-block-cart-items .wc-block-cart-items__row {
    display:grid; box-sizing:border-box; width:100%; min-height:102px; padding:16px 8px;
    grid-template-columns:clamp(42px,14vw,74px) minmax(0,1fr) max-content; gap:8px;
  }
  body .wc-block-cart:not(.is-large) table.wc-block-cart-items .wc-block-cart-items__row td {
    box-sizing:border-box; min-width:0; width:auto; padding:0!important; grid-row:1;
  }
  body .wc-block-cart:not(.is-large) table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__image { grid-column:1; }
  body .wc-block-cart:not(.is-large) table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__product { grid-column:2 / 3; overflow-wrap:anywhere; }
  body .wc-block-cart:not(.is-large) table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__total { grid-column:3; text-align:end; white-space:nowrap; }
  body .wc-block-cart:not(.is-large) .wc-block-cart-items .wc-block-cart-item__quantity .wc-block-cart-item__remove-link[aria-label]:not([hidden]) { inset-inline-end:6px; top:48px; }

  .woocommerce-order ul.order_details {
    display:grid;
    gap:20px;
    margin-left:0
  }
  .woocommerce-order ul.order_details li {
    border:0;
    float:none
  }
}
.wc-block-grid__product {
  position:relative
}
.wc-block-grid__product-add-to-cart .wp-block-button__link {
  background:var(--hfj-action);
  color:#fff!important;
  border-radius:3px;
  min-height:48px;
  text-decoration:none
}
.wc-block-grid__product-add-to-cart .wp-block-button__link:hover {
  background:var(--hfj-action-hover)
}
