/**
 * HiGuppy Checkout Flow V11
 * Shared visual contract for Cart, Checkout, and Order Complete.
 * Page-specific files retain only their commerce/form/order internals.
 */
@layer hg-natural-v2 {
:root{
  --hgf-canvas:#fffdf8;
  --hgf-card:#fff;
  --hgf-ink:#203d32;
  --hgf-green:#285644;
  --hgf-green-dark:#173f34;
  --hgf-terra:#b7472c;
  --hgf-muted:#617268;
  --hgf-line:#dce6df;
  --hgf-soft:#f5f8f4;
  --hgf-gold:#c68b36;
  --hgf-shadow:0 10px 28px rgba(31,66,53,.06);
}

}

/*
 * V11.1 cascade hardening.
 *
 * The shared contract above intentionally lives in the Natural V2 layer, but
 * XStore and Woo Blocks also ship unlayered element defaults. Keep the final
 * layout geometry outside that layer so those defaults cannot turn a grid into
 * a block or re-introduce a second content rail.
 */
html body.hg-cart-page-active .hg-cart-empty-v7 {
  display: grid !important;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr) !important;
  gap: 18px !important;
  align-items: stretch !important;
  margin: 18px auto 0 !important;
}
html body.hg-cart-page-active .hg-cart-empty-v7__copy,
html body.hg-cart-page-active .hg-cart-empty-v7__paths {
  box-sizing: border-box !important;
  border: 1px solid var(--hgf-line) !important;
  border-radius: 18px !important;
  box-shadow: var(--hgf-shadow) !important;
}
html body.hg-cart-page-active .hg-cart-empty-v7__copy {
  min-width: 0 !important;
  padding: 30px !important;
  background: var(--hgf-green-dark) !important;
  color: #fff !important;
}
html body.hg-cart-page-active .hg-cart-empty-v7__paths {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 10px !important;
  min-width: 0 !important;
  padding: 18px !important;
  background: var(--hgf-card) !important;
}
html body.hg-cart-page-active .hg-cart-empty-v7__path {
  display: flex !important;
  min-width: 0 !important;
  min-height: 190px !important;
  box-sizing: border-box !important;
  padding: 20px !important;
  border: 1px solid var(--hgf-line) !important;
  border-radius: 14px !important;
  background: var(--hgf-canvas) !important;
}

html body.hg-checkout-page-active :is(.wp-block-woocommerce-checkout, .wc-block-checkout),
html body.hg-order-received-page-active :is(.wp-block-woocommerce-checkout, .wc-block-checkout) {
  width: min(1280px, calc(100% - 32px)) !important;
  max-width: 1280px !important;
  margin: 18px auto 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}
html body.hg-checkout-page-active .wc-block-components-sidebar-layout {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  grid-template-columns: minmax(0, 1fr) 360px !important;
  gap: 22px !important;
}
/* Woo reuses .wc-block-checkout on this inner layout; keep the outer rail rule
 * from adding a second 18px offset to the actual form columns. */
html body.hg-checkout-page-active .wc-block-checkout.wc-block-components-sidebar-layout {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
html body.hg-checkout-page-active .wc-block-checkout__main {
  min-width: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* Woo Blocks choice controls must stay compact; the shared input rule in the
 * storefront layer also targets them and stretches them into vertical pills. */
html body.hg-checkout-page-active :is(
  input[type="radio"].wc-block-components-radio-control__input,
  input[type="checkbox"].wc-block-components-checkbox__input
) {
  box-sizing: border-box !important;
  width: 20px !important;
  min-width: 20px !important;
  max-width: 20px !important;
  height: 20px !important;
  min-height: 20px !important;
  max-height: 20px !important;
  padding: 0 !important;
  border: 1px solid #a7bfb1 !important;
  background: #fff !important;
  box-shadow: none !important;
  appearance: none !important;
}
html body.hg-checkout-page-active input[type="radio"].wc-block-components-radio-control__input {
  top: 50% !important;
  right: auto !important;
  bottom: auto !important;
  left: 16px !important;
  border-radius: 50% !important;
  transform: translateY(-50%) !important;
}
html body.hg-checkout-page-active input[type="radio"].wc-block-components-radio-control__input::before {
  content: "" !important;
  position: absolute !important;
  top: 50% !important;
  right: auto !important;
  bottom: auto !important;
  left: 50% !important;
  width: 8px !important;
  height: 8px !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: var(--hgf-green-dark) !important;
  transform: translate(-50%, -50%) !important;
}
html body.hg-checkout-page-active input[type="checkbox"].wc-block-components-checkbox__input {
  border-radius: 5px !important;
}
html body.hg-checkout-page-active input[type="checkbox"].wc-block-components-checkbox__input:checked {
  border-color: var(--hgf-green) !important;
  background: var(--hgf-green) !important;
}
html body.hg-checkout-page-active :is(
  input[type="radio"].wc-block-components-radio-control__input,
  input[type="checkbox"].wc-block-components-checkbox__input
):focus-visible {
  outline: 3px solid rgba(40, 86, 68, .18) !important;
  outline-offset: 2px !important;
}
html body.hg-checkout-page-active .wc-block-checkout__add-note .wc-block-components-checkbox label {
  min-height: 48px !important;
  align-items: center !important;
}

/* Guest verification and confirmed-order details use the same content rail. */
html body.hg-order-received-page-active .wc-block-order-confirmation-status-description {
  width: min(1280px, calc(100% - 32px)) !important;
  max-width: 1280px !important;
  margin: 18px auto 0 !important;
  padding: 24px !important;
  box-sizing: border-box !important;
  border: 1px solid var(--hgf-line) !important;
  border-radius: 16px !important;
  background: var(--hgf-card) !important;
  color: var(--hgf-ink) !important;
  -webkit-text-fill-color: currentColor !important;
  box-shadow: var(--hgf-shadow) !important;
}
html body.hg-order-received-page-active .wc-block-order-confirmation-status-description > p:first-child {
  max-width: 980px !important;
  margin: 0 !important;
  color: var(--hgf-ink) !important;
  -webkit-text-fill-color: currentColor !important;
  font-size: 17px !important;
  line-height: 1.6 !important;
}
html body.hg-order-received-page-active .wc-block-order-confirmation-status-description a.button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 40px !important;
  margin: 0 4px !important;
  padding: 8px 16px !important;
  border: 1px solid var(--hgf-green) !important;
  border-radius: 10px !important;
  background: var(--hgf-green) !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  font-weight: 800 !important;
  text-decoration: none !important;
}
html body.hg-order-received-page-active .woocommerce-verify-email {
  width: min(720px, 100%) !important;
  max-width: none !important;
  margin: 20px 0 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
html body.hg-order-received-page-active .woocommerce-verify-email .form-row {
  margin: 0 !important;
  padding: 0 !important;
}
html body.hg-order-received-page-active .woocommerce-verify-email .login-submit {
  margin-top: 14px !important;
}
html body.hg-order-received-page-active .woocommerce-verify-email label {
  display: block !important;
  margin: 0 0 7px !important;
  color: var(--hgf-ink) !important;
  -webkit-text-fill-color: currentColor !important;
  font-size: 16px !important;
  font-weight: 750 !important;
  line-height: 1.4 !important;
}
html body.hg-order-received-page-active .woocommerce-verify-email input[type="email"] {
  width: 100% !important;
  height: 52px !important;
  min-height: 52px !important;
  box-sizing: border-box !important;
  padding: 0 14px !important;
  border: 1px solid #cfdcd2 !important;
  border-radius: 10px !important;
  background: #fff !important;
  color: var(--hgf-ink) !important;
  -webkit-text-fill-color: var(--hgf-ink) !important;
  font-size: 16px !important;
  box-shadow: none !important;
}
html body.hg-order-received-page-active .woocommerce-verify-email input[type="email"]:focus {
  border-color: var(--hgf-green) !important;
  outline: 3px solid rgba(40, 86, 68, .14) !important;
  outline-offset: 1px !important;
}
html body.hg-order-received-page-active .woocommerce-verify-email input[type="submit"] {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  height: 52px !important;
  min-height: 52px !important;
  margin: 0 !important;
  padding: 0 20px !important;
  border: 1px solid var(--hgf-green) !important;
  border-radius: 10px !important;
  background: var(--hgf-green) !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  box-shadow: none !important;
}
html body.hg-order-received-page-active .wc-block-order-confirmation-address-wrapper:has(> .wp-block-column:nth-child(1):empty):has(> .wp-block-column:nth-child(2):empty) {
  display: none !important;
}
html body.hg-order-received-page-active :is(.wc-block-order-confirmation-summary, .wc-block-order-confirmation-totals-wrapper, .wc-block-order-confirmation-address-wrapper, .wc-block-order-confirmation-additional-information) {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  box-sizing: border-box !important;
}
html body.hg-order-received-page-active .wc-block-order-confirmation-totals-wrapper {
  margin-top: 18px !important;
  padding: 22px 24px !important;
  border: 1px solid var(--hgf-line) !important;
  border-radius: 16px !important;
  background: var(--hgf-card) !important;
  box-shadow: var(--hgf-shadow) !important;
}
html body.hg-order-received-page-active .wc-block-order-confirmation-summary-list {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 12px !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}
html body.hg-order-received-page-active .wc-block-order-confirmation-summary-list-item {
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 14px 16px !important;
  border: 1px solid var(--hgf-line) !important;
  border-radius: 14px !important;
  background: var(--hgf-soft) !important;
  color: var(--hgf-ink) !important;
  -webkit-text-fill-color: currentColor !important;
  box-sizing: border-box !important;
}

html body.hg-order-received-page-active .hg-order-next {
  width: min(1280px, calc(100% - 32px)) !important;
  max-width: 1280px !important;
  margin: 18px auto 0 !important;
  padding: 0 !important;
}
html body.hg-order-received-page-active .hg-order-next__head {
  width: 100% !important;
  max-width: 720px !important;
  margin: 0 0 14px !important;
}
html body.hg-order-received-page-active .hg-order-next__grid {
  width: 100% !important;
}
html body.hg-order-received-page-active .hg-order-next-card {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  grid-template-columns: none !important;
  grid-template-rows: none !important;
  gap: 0 !important;
  height: auto !important;
}

@media (max-width: 1180px) {
  html body.hg-cart-page-active .hg-cart-empty-v7 {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}
@media (max-width: 900px) {
  html body.hg-checkout-page-active .wc-block-components-sidebar-layout {
    display: block !important;
  }
  html body.hg-checkout-page-active .wc-block-checkout__sidebar {
    position: static !important;
    margin-top: 16px !important;
  }
}
@media (max-width: 780px) {
  html body.hg-cart-page-active .hg-cart-empty-v7 {
    gap: 12px !important;
    margin-top: 16px !important;
  }
  html body.hg-cart-page-active .hg-cart-empty-v7__copy {
    padding: 22px !important;
  }
  html body.hg-cart-page-active .hg-cart-empty-v7__paths {
    grid-template-columns: minmax(0, 1fr) !important;
    padding: 12px !important;
  }
  html body.hg-cart-page-active .hg-cart-empty-v7__path {
    min-height: 0 !important;
    padding: 16px !important;
  }
  html body.hg-order-received-page-active .wc-block-order-confirmation-status-description {
    padding: 18px !important;
  }
  html body.hg-order-received-page-active .wc-block-order-confirmation-status-description > p:first-child {
    font-size: 16px !important;
  }
  html body.hg-order-received-page-active .wc-block-order-confirmation-summary-list {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 520px) {
  html body.hg-order-received-page-active .wc-block-order-confirmation-summary-list {
    grid-template-columns: minmax(0, 1fr) !important;
  }
html body.hg-order-received-page-active .woocommerce-verify-email input[type="submit"] {
    width: 100% !important;
  }
}

@layer hg-natural-v2 {
html:has(body.hg-checkout-flow-active),
body:is(.hg-cart-page-active,.hg-checkout-page-active,.hg-order-received-page-active),
body:is(.hg-cart-page-active,.hg-checkout-page-active,.hg-order-received-page-active)::before,
body:is(.hg-cart-page-active,.hg-checkout-page-active,.hg-order-received-page-active) main,
body:is(.hg-cart-page-active,.hg-checkout-page-active,.hg-order-received-page-active) .wp-site-blocks{
  background:var(--hgf-canvas)!important;
  background-color:var(--hgf-canvas)!important;
  background-image:none!important;
  color:var(--hgf-ink)!important;
}
body:is(.hg-cart-page-active,.hg-checkout-page-active,.hg-order-received-page-active),
body:is(.hg-cart-page-active,.hg-checkout-page-active,.hg-order-received-page-active) main,
body:is(.hg-cart-page-active,.hg-checkout-page-active,.hg-order-received-page-active) input,
body:is(.hg-cart-page-active,.hg-checkout-page-active,.hg-order-received-page-active) select,
body:is(.hg-cart-page-active,.hg-checkout-page-active,.hg-order-received-page-active) textarea,
body:is(.hg-cart-page-active,.hg-checkout-page-active,.hg-order-received-page-active) button{
  font-family:var(--hg-shared-body)!important;
}
body:is(.hg-cart-page-active,.hg-checkout-page-active,.hg-order-received-page-active) main.wp-block-group,
body:is(.hg-cart-page-active,.hg-checkout-page-active,.hg-order-received-page-active) .entry-content,
body:is(.hg-cart-page-active,.hg-checkout-page-active,.hg-order-received-page-active) .wp-block-post-content{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
}
body:is(.hg-cart-page-active,.hg-checkout-page-active,.hg-order-received-page-active) :is(.hg-cart-hero__title,.wc-block-cart__totals-title,.wc-block-components-checkout-step__heading h2,.hg-flow-assurance__copy h2,.hg-order-next__head h2,.wc-block-order-confirmation-totals-wrapper>.wp-block-heading){
  font-family:"Baloo 2",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
  color:var(--hgf-green-dark)!important;
  -webkit-text-fill-color:var(--hgf-green-dark)!important;
}

/* Shared hero */
body:is(.hg-cart-page-active,.hg-checkout-page-active,.hg-order-received-page-active) .hg-cart-hero{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:18px 0 20px!important;
  border:0!important;
  border-bottom:1px solid var(--hgf-line)!important;
  border-radius:0!important;
  background:var(--hgf-canvas)!important;
  box-shadow:none!important;
  overflow:hidden!important;
}
body:is(.hg-cart-page-active,.hg-checkout-page-active,.hg-order-received-page-active) .hg-cart-hero__bg{display:none!important}
body:is(.hg-cart-page-active,.hg-checkout-page-active,.hg-order-received-page-active) .hg-cart-hero__inner{
  width:min(1280px,calc(100% - 32px))!important;
  max-width:1280px!important;
  margin:0 auto!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(360px,440px)!important;
  grid-template-areas:"crumb crumb" "eyebrow progress" "title progress" "lead actions"!important;
  column-gap:44px!important;
  row-gap:6px!important;
  align-items:end!important;
  text-align:left!important;
}
body:is(.hg-cart-page-active,.hg-checkout-page-active,.hg-order-received-page-active) .hg-cart-breadcrumb{
  grid-area:crumb!important;
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  margin:0 0 6px!important;
  color:var(--hgf-muted)!important;
  -webkit-text-fill-color:var(--hgf-muted)!important;
  font-size:16px!important;
  font-weight:650!important;
  line-height:1.45!important;
}
body:is(.hg-cart-page-active,.hg-checkout-page-active,.hg-order-received-page-active) .hg-cart-breadcrumb a{
  color:var(--hgf-green)!important;
  -webkit-text-fill-color:var(--hgf-green)!important;
  text-decoration:underline!important;
  text-underline-offset:3px!important;
}
body:is(.hg-cart-page-active,.hg-checkout-page-active,.hg-order-received-page-active) .hg-cart-eyebrow{
  grid-area:eyebrow!important;
  margin:0!important;
  color:#5d7468!important;
  -webkit-text-fill-color:#5d7468!important;
  font-size:16px!important;
  font-weight:800!important;
  line-height:1.4!important;
  letter-spacing:.08em!important;
  text-transform:uppercase!important;
}
body:is(.hg-cart-page-active,.hg-checkout-page-active,.hg-order-received-page-active) .hg-cart-hero__title{
  grid-area:title!important;
  max-width:680px!important;
  margin:0!important;
  color:var(--hgf-green-dark)!important;
  -webkit-text-fill-color:var(--hgf-green-dark)!important;
  font-size:clamp(40px,3.5vw,48px)!important;
  font-weight:800!important;
  line-height:1.02!important;
  letter-spacing:-.03em!important;
}
body:is(.hg-cart-page-active,.hg-checkout-page-active,.hg-order-received-page-active) .hg-cart-hero__title span{
  color:inherit!important;
  -webkit-text-fill-color:currentColor!important;
}
body:is(.hg-cart-page-active,.hg-checkout-page-active,.hg-order-received-page-active) .hg-cart-hero__lead{
  grid-area:lead!important;
  max-width:700px!important;
  margin:4px 0 0!important;
  color:var(--hgf-muted)!important;
  -webkit-text-fill-color:var(--hgf-muted)!important;
  font-size:17px!important;
  line-height:1.55!important;
}

/* One progress component on all three pages. */
body:is(.hg-cart-page-active,.hg-checkout-page-active,.hg-order-received-page-active) .hg-cart-steps{
  grid-area:progress!important;
  display:flex!important;
  flex-wrap:nowrap!important;
  justify-content:flex-end!important;
  align-items:center!important;
  align-self:end!important;
  gap:0!important;
  width:auto!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
  list-style:none!important;
  overflow:visible!important;
}
body:is(.hg-cart-page-active,.hg-checkout-page-active,.hg-order-received-page-active) .hg-cart-steps li{
  position:relative!important;
  display:inline-flex!important;
  flex-direction:row!important;
  align-items:center!important;
  gap:8px!important;
  min-height:40px!important;
  margin:0!important;
  padding:0 12px 0 0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  color:#607369!important;
  -webkit-text-fill-color:#607369!important;
  font-size:16px!important;
  font-weight:700!important;
  line-height:1.25!important;
  box-shadow:none!important;
}
body:is(.hg-cart-page-active,.hg-checkout-page-active,.hg-order-received-page-active) .hg-cart-steps li+li{margin-left:24px!important}
body:is(.hg-cart-page-active,.hg-checkout-page-active,.hg-order-received-page-active) .hg-cart-steps li+li::before{
  content:""!important;
  position:absolute!important;
  left:-18px!important;
  top:50%!important;
  width:12px!important;
  height:1px!important;
  background:var(--hgf-line)!important;
  transform:translateY(-50%)!important;
}
body:is(.hg-cart-page-active,.hg-checkout-page-active,.hg-order-received-page-active) .hg-cart-steps__link{
  display:inline-flex!important;
  flex-direction:row!important;
  align-items:center!important;
  gap:8px!important;
  width:auto!important;
  color:inherit!important;
  -webkit-text-fill-color:currentColor!important;
  text-decoration:none!important;
}
body:is(.hg-cart-page-active,.hg-checkout-page-active,.hg-order-received-page-active) .hg-cart-steps__num{
  display:grid!important;
  place-items:center!important;
  width:30px!important;
  height:30px!important;
  min-width:30px!important;
  min-height:30px!important;
  border:1px solid #cbd9cf!important;
  border-radius:50%!important;
  background:#fff!important;
  color:var(--hgf-green)!important;
  -webkit-text-fill-color:var(--hgf-green)!important;
  font-size:16px!important;
  font-weight:800!important;
  line-height:1!important;
}
body:is(.hg-cart-page-active,.hg-checkout-page-active,.hg-order-received-page-active) .hg-cart-steps li.is-current .hg-cart-steps__num{
  border-color:var(--hgf-green)!important;
  background:var(--hgf-green)!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}
body:is(.hg-cart-page-active,.hg-checkout-page-active,.hg-order-received-page-active) .hg-cart-steps li.is-complete:not(.is-current) .hg-cart-steps__num{
  border-color:#bdd1c4!important;
  background:#e8f0ea!important;
  color:var(--hgf-green)!important;
  -webkit-text-fill-color:var(--hgf-green)!important;
}
body:is(.hg-cart-page-active,.hg-checkout-page-active,.hg-order-received-page-active) .hg-cart-steps__label{
  display:block!important;
  max-width:none!important;
  color:inherit!important;
  -webkit-text-fill-color:currentColor!important;
  font-size:16px!important;
  font-weight:700!important;
  line-height:1.2!important;
  white-space:nowrap!important;
}
body:is(.hg-cart-page-active,.hg-checkout-page-active,.hg-order-received-page-active) .hg-cart-hero__actions{
  grid-area:actions!important;
  display:flex!important;
  justify-content:flex-end!important;
  align-items:center!important;
  margin:0!important;
}
body:is(.hg-cart-page-active,.hg-checkout-page-active,.hg-order-received-page-active) .hg-cart-return-link,
body:is(.hg-cart-page-active,.hg-checkout-page-active,.hg-order-received-page-active) .hg-cart-return-link:visited{
  display:inline-flex!important;
  align-items:center!important;
  gap:8px!important;
  min-height:44px!important;
  padding:4px 0!important;
  border:0!important;
  background:transparent!important;
  color:var(--hgf-green)!important;
  -webkit-text-fill-color:var(--hgf-green)!important;
  font-size:16px!important;
  font-weight:750!important;
  line-height:1.4!important;
  text-decoration:none!important;
  box-shadow:none!important;
}
body:is(.hg-cart-page-active,.hg-checkout-page-active,.hg-order-received-page-active) .hg-cart-return-link span{font:inherit!important;font-size:20px!important;line-height:1!important;color:inherit!important;-webkit-text-fill-color:currentColor!important}
body:is(.hg-cart-page-active,.hg-checkout-page-active,.hg-order-received-page-active) .hg-cart-return-link:is(:hover,:focus-visible){text-decoration:underline!important;text-underline-offset:4px!important}

/* Shared content rails and surfaces. */
body.hg-cart-page-active .wp-block-woocommerce-cart,
body.hg-checkout-page-active :is(.wp-block-woocommerce-checkout,.wc-block-checkout),
body.hg-order-received-page-active .hg-cart-main{
  width:min(1280px,calc(100% - 32px))!important;
  max-width:1280px!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
body.hg-order-received-page-active .hg-order-received-layout{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
}
/* The Woo checkout block uses the same class on its inner layout; reset that
 * inner node inside the shared layer so the older layered rail rule cannot
 * reintroduce its own top and side margins. */
body.hg-checkout-page-active .wc-block-checkout.wc-block-components-sidebar-layout{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
}
body:is(.hg-cart-page-active,.hg-checkout-page-active) :is(.wc-block-cart__main,.wc-block-cart__sidebar,.wc-block-components-checkout-step,.wc-block-checkout__sidebar,.wc-block-components-sidebar),
body.hg-order-received-page-active :is(.wc-block-order-confirmation-summary,.wc-block-order-confirmation-totals-wrapper,.wc-block-order-confirmation-billing-wrapper,.wc-block-order-confirmation-shipping-wrapper,.wc-block-order-confirmation-additional-information){
  border:1px solid var(--hgf-line)!important;
  border-radius:16px!important;
  background:var(--hgf-card)!important;
  color:var(--hgf-ink)!important;
  -webkit-text-fill-color:currentColor!important;
  box-shadow:var(--hgf-shadow)!important;
}
body:is(.hg-cart-page-active,.hg-checkout-page-active) :is(.wc-block-cart__sidebar,.wc-block-checkout__sidebar,.wc-block-components-sidebar){
  border-top:4px solid var(--hgf-green)!important;
}
body:is(.hg-cart-page-active,.hg-checkout-page-active,.hg-order-received-page-active) :is(.wc-block-components-product-name,.wc-block-components-totals-item__label,.wc-block-components-totals-item__value,.wc-block-formatted-money-amount,.wc-block-order-confirmation-summary-list-item,.wc-block-order-confirmation-totals__table,.wc-block-order-confirmation-totals__table td,.wc-block-order-confirmation-totals__table th){
  color:var(--hgf-ink)!important;
  -webkit-text-fill-color:currentColor!important;
  font-size:max(16px,1em)!important;
}
body.hg-checkout-page-active .wc-block-components-checkout-step__heading h2,
body.hg-order-received-page-active :is(.wc-block-order-confirmation-summary-list-item__label,.wc-block-order-confirmation-address-wrapper h2,.wc-block-order-confirmation-totals-wrapper>.wp-block-heading){
  color:var(--hgf-green-dark)!important;
  -webkit-text-fill-color:var(--hgf-green-dark)!important;
}
body.hg-checkout-page-active :is(input:not([type="checkbox"]):not([type="radio"]),select,textarea){
  min-height:52px!important;
  border:1px solid #cfdcd2!important;
  border-radius:10px!important;
  background:#fff!important;
  color:var(--hgf-ink)!important;
  -webkit-text-fill-color:var(--hgf-ink)!important;
  font-size:16px!important;
  box-shadow:none!important;
}
body.hg-checkout-page-active :is(input:not([type="checkbox"]):not([type="radio"]),select,textarea):focus{
  border-color:var(--hgf-green)!important;
  outline:3px solid rgba(40,86,68,.14)!important;
  outline-offset:1px!important;
}
body.hg-checkout-page-active .wc-block-components-checkout-place-order-button,
body.hg-cart-page-active .wc-block-cart__submit-button{
  min-height:52px!important;
  border:1px solid var(--hgf-terra)!important;
  border-radius:10px!important;
  background:var(--hgf-terra)!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  font-size:16px!important;
  font-weight:800!important;
  box-shadow:none!important;
}
body.hg-checkout-page-active .wc-block-components-checkout-place-order-button *{color:#fff!important;-webkit-text-fill-color:#fff!important}

/* Keep the control shape after the layered Natural V2 input reset. */
html body.hg-checkout-page-active input[type="radio"].wc-block-components-radio-control__input{
  border-radius:50%!important;
}
html body.hg-checkout-page-active input[type="checkbox"].wc-block-components-checkbox__input{
  border-radius:5px!important;
}
html body.hg-checkout-page-active .wc-block-checkout__add-note .wc-block-components-checkbox label{
  min-height:48px!important;
  align-items:center!important;
}

/* Shared commerce hierarchy: Cart and Checkout totals/headings use the same scale. */
body:is(.hg-cart-page-active,.hg-checkout-page-active) .wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
body:is(.hg-cart-page-active,.hg-checkout-page-active) .wc-block-components-totals-footer-item .wc-block-components-totals-item__value,
body:is(.hg-cart-page-active,.hg-checkout-page-active) .wc-block-components-totals-footer-item .wc-block-formatted-money-amount{
  color:var(--hgf-green-dark)!important;
  -webkit-text-fill-color:var(--hgf-green-dark)!important;
  font-size:18px!important;
  font-weight:850!important;
  line-height:1.35!important;
}
body.hg-checkout-page-active :is(.wc-block-components-checkout-step__title,.wc-block-components-checkout-step__heading h2,.wc-block-components-order-summary__title,.wp-block-woocommerce-checkout-order-summary-block .wp-block-heading){
  margin:0!important;
  color:var(--hgf-green-dark)!important;
  -webkit-text-fill-color:var(--hgf-green-dark)!important;
  font-family:"Baloo 2",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
  font-size:26px!important;
  font-weight:800!important;
  line-height:1.1!important;
}
body.hg-order-received-page-active :is(.wc-block-order-confirmation-totals-wrapper>.wp-block-heading,.wc-block-order-confirmation-address-wrapper h2){
  color:var(--hgf-green-dark)!important;
  -webkit-text-fill-color:var(--hgf-green-dark)!important;
  font-family:"Baloo 2",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
  font-size:26px!important;
  font-weight:800!important;
  line-height:1.1!important;
}

/* One reassurance component on all three pages. */
body:is(.hg-cart-page-active,.hg-checkout-page-active,.hg-order-received-page-active) .hg-flow-assurance{
  width:100%!important;
  max-width:none!important;
  margin:18px 0 0!important;
  padding:20px 0 22px!important;
  border-top:1px solid var(--hgf-line)!important;
  background:var(--hgf-canvas)!important;
  color:var(--hgf-ink)!important;
  -webkit-text-fill-color:currentColor!important;
}
body:is(.hg-cart-page-active,.hg-checkout-page-active,.hg-order-received-page-active) .hg-flow-assurance__inner{
  width:min(1280px,calc(100% - 32px))!important;
  max-width:1280px!important;
  margin:0 auto!important;
  display:grid!important;
  grid-template-columns:minmax(300px,.78fr) minmax(0,1.22fr)!important;
  grid-template-areas:"copy links" "note note"!important;
  gap:16px 32px!important;
  align-items:center!important;
  color:var(--hgf-ink)!important;
  -webkit-text-fill-color:currentColor!important;
}
body:is(.hg-cart-page-active,.hg-checkout-page-active,.hg-order-received-page-active) .hg-flow-assurance__copy{grid-area:copy!important;min-width:0!important}
body:is(.hg-cart-page-active,.hg-checkout-page-active,.hg-order-received-page-active) .hg-flow-assurance__copy .hg-cart-eyebrow{display:block!important;margin:0 0 4px!important}
body:is(.hg-cart-page-active,.hg-checkout-page-active,.hg-order-received-page-active) .hg-flow-assurance__copy h2{margin:0!important;font-size:30px!important;font-weight:800!important;line-height:1.08!important}
body:is(.hg-cart-page-active,.hg-checkout-page-active,.hg-order-received-page-active) .hg-flow-assurance__copy>p:last-child{margin:8px 0 0!important;color:var(--hgf-muted)!important;-webkit-text-fill-color:var(--hgf-muted)!important;font-size:16px!important;line-height:1.55!important}
body:is(.hg-cart-page-active,.hg-checkout-page-active,.hg-order-received-page-active) .hg-flow-assurance__links{
  grid-area:links!important;
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:0!important;
  overflow:hidden!important;
  border:1px solid var(--hgf-line)!important;
  border-radius:12px!important;
  background:#fff!important;
}
body:is(.hg-cart-page-active,.hg-checkout-page-active,.hg-order-received-page-active) .hg-flow-assurance__links>a{
  display:grid!important;
  grid-template-columns:36px minmax(0,1fr) 18px!important;
  gap:10px!important;
  align-items:center!important;
  min-height:84px!important;
  padding:14px!important;
  border-right:1px solid var(--hgf-line)!important;
  color:var(--hgf-ink)!important;
  -webkit-text-fill-color:var(--hgf-ink)!important;
  text-decoration:none!important;
  background:transparent!important;
}
body:is(.hg-cart-page-active,.hg-checkout-page-active,.hg-order-received-page-active) .hg-flow-assurance__links>a:last-child{border-right:0!important}
body:is(.hg-cart-page-active,.hg-checkout-page-active,.hg-order-received-page-active) .hg-flow-assurance__num{display:grid!important;place-items:center!important;width:34px!important;height:34px!important;border-radius:50%!important;background:#e8f0ea!important;color:var(--hgf-green)!important;-webkit-text-fill-color:var(--hgf-green)!important;font-size:16px!important;font-weight:800!important}
body:is(.hg-cart-page-active,.hg-checkout-page-active,.hg-order-received-page-active) .hg-flow-assurance__links strong,
body:is(.hg-cart-page-active,.hg-checkout-page-active,.hg-order-received-page-active) .hg-flow-assurance__links small{display:block!important;color:inherit!important;-webkit-text-fill-color:currentColor!important;font-size:16px!important;line-height:1.35!important}
body:is(.hg-cart-page-active,.hg-checkout-page-active,.hg-order-received-page-active) .hg-flow-assurance__links strong{font-weight:800!important}
body:is(.hg-cart-page-active,.hg-checkout-page-active,.hg-order-received-page-active) .hg-flow-assurance__links small{margin-top:2px!important;color:#687a70!important;-webkit-text-fill-color:#687a70!important;font-weight:500!important}
body:is(.hg-cart-page-active,.hg-checkout-page-active,.hg-order-received-page-active) .hg-flow-assurance__arrow{color:var(--hgf-green)!important;-webkit-text-fill-color:var(--hgf-green)!important;font-size:18px!important;font-weight:800!important}
body:is(.hg-cart-page-active,.hg-checkout-page-active,.hg-order-received-page-active) .hg-flow-assurance__note{grid-area:note!important;margin:0!important;padding-top:12px!important;border-top:1px solid var(--hgf-line)!important;color:#687a70!important;-webkit-text-fill-color:#687a70!important;font-size:16px!important;line-height:1.5!important}

/* Keep the server-rendered empty cart on the same rail as the shared hero. */
body.hg-cart-page-active .hg-cart-empty-v7{
  width:min(1280px,calc(100% - 32px))!important;
  max-width:1280px!important;
  margin:18px auto 0!important;
}

/* Order Complete specifics use the same card rhythm. */
body.hg-order-received-page-active .hg-order-next{
  width:min(1280px,calc(100% - 32px))!important;
  max-width:1280px!important;
  margin:18px auto!important;
  padding:0!important;
  background:transparent!important;
}
body.hg-order-received-page-active .hg-order-next__head{margin:0 0 14px!important}
body.hg-order-received-page-active .hg-order-next__head h2{margin:0!important;font-size:30px!important;line-height:1.08!important}
body.hg-order-received-page-active .hg-order-next__head>p:last-child{margin:8px 0 0!important;color:var(--hgf-muted)!important;-webkit-text-fill-color:var(--hgf-muted)!important;font-size:16px!important;line-height:1.55!important}
body.hg-order-received-page-active .hg-order-next__grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important}
body.hg-order-received-page-active .hg-order-next-card{min-height:0!important;padding:18px!important;border:1px solid var(--hgf-line)!important;border-radius:16px!important;background:#fff!important;box-shadow:var(--hgf-shadow)!important;color:var(--hgf-ink)!important;-webkit-text-fill-color:currentColor!important}
body.hg-order-received-page-active .hg-order-next-card__num{display:grid!important;place-items:center!important;width:34px!important;height:34px!important;border-radius:50%!important;background:#e8f0ea!important;color:var(--hgf-green)!important;-webkit-text-fill-color:var(--hgf-green)!important;font-size:16px!important;font-weight:800!important}
body.hg-order-received-page-active .hg-order-next-card h3{margin:12px 0 6px!important;color:var(--hgf-green-dark)!important;-webkit-text-fill-color:var(--hgf-green-dark)!important;font-size:19px!important;line-height:1.25!important}
body.hg-order-received-page-active .hg-order-next-card p{margin:0!important;color:var(--hgf-muted)!important;-webkit-text-fill-color:var(--hgf-muted)!important;font-size:16px!important;line-height:1.55!important}
body.hg-order-received-page-active .hg-order-next-card a{display:inline-flex!important;margin-top:12px!important;color:var(--hgf-green)!important;-webkit-text-fill-color:var(--hgf-green)!important;font-size:16px!important;font-weight:750!important;text-decoration:underline!important;text-underline-offset:3px!important}

body:is(.hg-cart-page-active,.hg-checkout-page-active,.hg-order-received-page-active) .hg-site-footer{margin-top:0!important}

/* The mobile order summary moves into the checkout form. Keep the sidebar
 * available for Woo notices without leaving an empty card shell behind. */
@media (max-width: 768px) {
  html body.hg-checkout-page-active .wc-block-checkout.wc-block-components-sidebar-layout > .wc-block-checkout__sidebar {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }
}

@media(max-width:1180px){
  body:is(.hg-cart-page-active,.hg-checkout-page-active,.hg-order-received-page-active) .hg-cart-hero__inner{
    grid-template-columns:minmax(0,1fr)!important;
    grid-template-areas:"crumb" "eyebrow" "title" "lead" "progress" "actions"!important;
    row-gap:6px!important;
  }
  body:is(.hg-cart-page-active,.hg-checkout-page-active,.hg-order-received-page-active) .hg-cart-steps,
  body:is(.hg-cart-page-active,.hg-checkout-page-active,.hg-order-received-page-active) .hg-cart-hero__actions{justify-content:flex-start!important}
  body:is(.hg-cart-page-active,.hg-checkout-page-active,.hg-order-received-page-active) .hg-cart-steps{margin-top:10px!important}
  body:is(.hg-cart-page-active,.hg-checkout-page-active,.hg-order-received-page-active) .hg-cart-hero__actions{margin-top:4px!important}
}
@media(max-width:780px){
  body:is(.hg-cart-page-active,.hg-checkout-page-active,.hg-order-received-page-active) .hg-cart-hero{padding:14px 0 16px!important}
  body:is(.hg-cart-page-active,.hg-checkout-page-active,.hg-order-received-page-active) .hg-cart-hero__inner{display:block!important;width:calc(100% - 32px)!important}
  html body.hg-checkout-page-active .wp-block-woocommerce-checkout{
    width:calc(100% - 32px)!important;
    max-width:none!important;
    margin:14px auto 0!important;
  }
  html body.hg-checkout-page-active .wc-block-checkout.wc-block-components-sidebar-layout{
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    padding:0!important;
  }
  body:is(.hg-cart-page-active,.hg-checkout-page-active,.hg-order-received-page-active) .hg-cart-breadcrumb{display:none!important}
  body:is(.hg-cart-page-active,.hg-checkout-page-active,.hg-order-received-page-active) .hg-cart-hero__title{font-size:36px!important}
  body:is(.hg-cart-page-active,.hg-checkout-page-active,.hg-order-received-page-active) .hg-cart-hero__lead{margin-top:8px!important;font-size:16px!important}
  body:is(.hg-cart-page-active,.hg-checkout-page-active,.hg-order-received-page-active) .hg-cart-hero__actions{justify-content:flex-start!important;margin-top:8px!important}
  body:is(.hg-cart-page-active,.hg-checkout-page-active,.hg-order-received-page-active) .hg-flow-assurance{padding:18px 0 20px!important}
  body:is(.hg-cart-page-active,.hg-checkout-page-active,.hg-order-received-page-active) .hg-flow-assurance__inner{display:block!important;width:calc(100% - 32px)!important}
  body:is(.hg-cart-page-active,.hg-checkout-page-active,.hg-order-received-page-active) .hg-flow-assurance__copy h2{font-size:27px!important}
  body:is(.hg-cart-page-active,.hg-checkout-page-active,.hg-order-received-page-active) .hg-flow-assurance__links{grid-template-columns:1fr!important;margin-top:14px!important}
  body:is(.hg-cart-page-active,.hg-checkout-page-active,.hg-order-received-page-active) .hg-flow-assurance__links>a{min-height:68px!important;border-right:0!important;border-bottom:1px solid var(--hgf-line)!important;padding:12px!important}
  body:is(.hg-cart-page-active,.hg-checkout-page-active,.hg-order-received-page-active) .hg-flow-assurance__links>a:last-child{border-bottom:0!important}
  body:is(.hg-cart-page-active,.hg-checkout-page-active,.hg-order-received-page-active) .hg-flow-assurance__note{margin-top:14px!important}
  body.hg-order-received-page-active .hg-order-next__grid{grid-template-columns:1fr!important}
}
@media(max-width:520px){
  body:is(.hg-cart-page-active,.hg-checkout-page-active,.hg-order-received-page-active) .hg-cart-steps{
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:0!important;
    width:100%!important;
    margin-top:12px!important;
    padding:0!important;
    overflow:visible!important;
  }
  body:is(.hg-cart-page-active,.hg-checkout-page-active,.hg-order-received-page-active) .hg-cart-steps li{
    display:grid!important;
    grid-template-columns:30px minmax(0,1fr)!important;
    align-items:center!important;
    gap:6px!important;
    min-width:0!important;
    min-height:44px!important;
    margin:0!important;
    padding:0 6px!important;
  }
  body:is(.hg-cart-page-active,.hg-checkout-page-active,.hg-order-received-page-active) .hg-cart-steps li+li{margin-left:0!important}
  body:is(.hg-cart-page-active,.hg-checkout-page-active,.hg-order-received-page-active) .hg-cart-steps li+li::before{left:-1px!important;width:1px!important;height:20px!important}
  body:is(.hg-cart-page-active,.hg-checkout-page-active,.hg-order-received-page-active) .hg-cart-steps__link{display:contents!important}
  body:is(.hg-cart-page-active,.hg-checkout-page-active,.hg-order-received-page-active) .hg-cart-steps__label{min-width:0!important;font-size:16px!important;line-height:1.15!important;white-space:normal!important}
  body:is(.hg-cart-page-active,.hg-checkout-page-active,.hg-order-received-page-active) .hg-cart-hero__actions{width:100%!important}
  body:is(.hg-cart-page-active,.hg-checkout-page-active,.hg-order-received-page-active) .hg-cart-return-link{margin:0!important}
}
}

@layer hg-natural-v2 {
/* Keep the Woo Blocks order details table at a readable baseline. */
html body.hg-order-received-page-active .wc-block-order-confirmation-totals-wrapper .wc-block-order-confirmation-totals__table,
html body.hg-order-received-page-active .wc-block-order-confirmation-totals-wrapper .wc-block-order-confirmation-totals__table th,
html body.hg-order-received-page-active .wc-block-order-confirmation-totals-wrapper .wc-block-order-confirmation-totals__table td {
  font-size: 16px !important;
}
html body.hg-order-received-page-active .wc-block-order-confirmation-totals-wrapper .wc-block-order-confirmation-totals__table th *,
html body.hg-order-received-page-active .wc-block-order-confirmation-totals-wrapper .wc-block-order-confirmation-totals__table td * {
  font-size: inherit !important;
}

@media (max-width: 768px) {
  html body.hg-order-received-page-active .wc-block-order-confirmation-totals-wrapper .wc-block-order-confirmation-totals__table {
    display: table !important;
    width: 100% !important;
    max-width: 100% !important;
    table-layout: fixed !important;
    box-sizing: border-box !important;
  }
  html body.hg-order-received-page-active .wc-block-order-confirmation-totals-wrapper .wc-block-order-confirmation-totals__table tr > :first-child {
    width: 68% !important;
    padding-right: 4px !important;
    text-align: left !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
  }
  html body.hg-order-received-page-active .wc-block-order-confirmation-totals-wrapper .wc-block-order-confirmation-totals__table tr > :last-child {
    width: 32% !important;
    padding-left: 4px !important;
    text-align: right !important;
    white-space: normal !important;
  }
  html body.hg-order-received-page-active .wc-block-order-confirmation-totals-wrapper .wc-block-order-confirmation-totals__table thead th {
    padding: 0 4px 10px !important;
  }
  html body.hg-order-received-page-active .wc-block-order-confirmation-totals-wrapper .wc-block-order-confirmation-totals__table tbody td,
  html body.hg-order-received-page-active .wc-block-order-confirmation-totals-wrapper .wc-block-order-confirmation-totals__table tfoot th,
  html body.hg-order-received-page-active .wc-block-order-confirmation-totals-wrapper .wc-block-order-confirmation-totals__table tfoot td {
    box-sizing: border-box !important;
    padding: 10px 4px !important;
  }
  html body.hg-order-received-page-active .wc-block-order-confirmation-totals-wrapper .wc-block-order-confirmation-totals__table tbody .wc-block-order-confirmation-totals__product a {
    display: inline !important;
  }
  html body.hg-order-received-page-active .wc-block-order-confirmation-totals-wrapper .wc-block-order-confirmation-totals__table .product-quantity {
    white-space: nowrap !important;
  }
  html body.hg-order-received-page-active .wc-block-order-confirmation-totals-wrapper .wc-block-order-confirmation-totals__table .wc-block-formatted-money-amount,
  html body.hg-order-received-page-active .wc-block-order-confirmation-totals-wrapper .wc-block-order-confirmation-totals__table .woocommerce-Price-amount {
    white-space: nowrap !important;
  }
}
}
