/* =====================================================================
   HYUN ENGINES — Combined WooCommerce stylesheet
   One file for the cart, checkout, order-received and account pages. Each
   section is scoped under its own wrapper (.he-cart / .he-checkout /
   .he-thankyou / .he-account) plus the global notice styles, so nothing
   leaks site-wide. (The shop archive is now built in Elementor.)
   ===================================================================== */

/* ============================ NOTICES ============================ */
/* =====================================================================
   HYUN ENGINES — WooCommerce notice styling (site-wide on WooCommerce pages)
   Replaces the theme/WooCommerce default purple top-border + icon-font glyph
   with the Hyun Engines design language. Loaded on shop, product, cart,
   checkout and account pages.
   ===================================================================== */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.woocommerce-noreviews,
.woocommerce-store-notice {
  font-family: "Archivo", system-ui, sans-serif !important;
  background: #fff !important;
  color: #3a3f46 !important;
  border: 1px solid #e7e2d7 !important;
  border-left: 3px solid #e8431b !important;
  border-top: none !important;
  border-radius: 10px !important;
  padding: 15px 18px 15px 38px !important;
  margin: 0 0 22px !important;
  position: relative;
  list-style: none outside;
  box-shadow: 0 10px 28px -20px rgba(0, 0, 0, 0.45);
  font-size: 0.92rem;
  text-align: left;
  line-height: 1.5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.woocommerce-message a,
.woocommerce-info a,
.woocommerce-error a,
.woocommerce-noreviews a,
.woocommerce-store-notice a {
  color: #e8431b;
}
.woocommerce-message a.button,
.woocommerce-info a.button,
.woocommerce-error a.button,
.woocommerce-noreviews a.button,
.woocommerce-store-notice a.button {
  float: inherit;
}
.woocommerce-message a:hover,
.woocommerce-info a:hover,
.woocommerce-error a:hover,
.woocommerce-noreviews a:hover,
.woocommerce-store-notice a:hover {
  text-decoration: underline;
}
/* accent per type */
.woocommerce-message {
  border-left-color: #3ba776 !important;
}
.woocommerce-error {
  border-left-color: #e8431b !important;
}
.woocommerce-info {
  border-left-color: #f2a93b !important;
}

/* swap the WooCommerce icon font glyph for clean unicode marks */
.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before {
  font-family: "Archivo", system-ui, sans-serif !important;
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  margin: 0;
  width: auto;
  height: auto;
  font-weight: 800;
  font-size: 1.05rem;
  line-height: 1;
  display: inline-block;
}
.woocommerce-message::before {
  content: "\2713" !important;
  color: #3ba776 !important;
}
.woocommerce-error::before {
  content: "\2715" !important;
  color: #e8431b !important;
}
.woocommerce-info::before {
  content: "\0021" !important;
  color: #f2a93b !important;
}

/* kill the default ::after table-clear pseudo so it can't add stray boxes */
.woocommerce-message::after,
.woocommerce-info::after,
.woocommerce-error::after {
  content: none !important;
  display: none !important;
}

/* buttons inside notices (e.g. the "View cart" link after add-to-cart) */
.woocommerce-message .button,
.woocommerce-error .button,
.woocommerce-info .button {
  background: #0e0f11 !important;
  color: #fff !important;
  border: none !important;
  border-radius: 7px !important;
  padding: 9px 16px !important;
  font-family: "Archivo", system-ui, sans-serif !important;
  font-weight: 700 !important;
  font-size: 0.74rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.04em !important;
  box-shadow: none !important;
  line-height: 1.2 !important;
  float: right;
  margin: -4px 0 0 14px;
}
.woocommerce-message .button:hover,
.woocommerce-error .button:hover,
.woocommerce-info .button:hover {
  background: #23272e !important;
  transform: none !important;
}

/* ===================== SHARED DESIGN TOKENS ====================== */
/* =====================================================================
   HYUN ENGINES — Shared tokens + base reset for every WooCommerce
   wrapper (.he-cart / .he-checkout / .he-thankyou / .he-account).
   The shop archive is now built in Elementor (stl-addons widgets).
   ===================================================================== */
/* Shared design tokens — identical for every WooCommerce wrapper. */
.he-cart,
.he-checkout,
.he-thankyou,
.he-account {
  --ink: #0e0f11;
  --graphite: #16191d;
  --steel: #23272e;
  --line: #2e333b;
  --paper: #f4f1eb;
  --paper-2: #eae5db;
  --fog: #9aa1ab;
  --cloud: #e9e7e2;
  --accent: #e8431b;
  --accent-2: #ff6a3d;
  --amber: #f2a93b;
  --ok: #3ba776;
  --display: "Archivo Expanded", "Archivo", sans-serif;
  --body: "Archivo", system-ui, sans-serif;
  --maxw: 1180px;
  font-family: var(--body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
/* Page padding differs per wrapper (shop has none — its hero is built in Elementor). */
.he-cart,
.he-checkout,
.he-thankyou {
  padding: 46px 0 90px;
}
.he-account {
  padding: 40px 0 90px;
}
/* Shared base reset. */
.he-cart *,
.he-checkout *,
.he-thankyou *,
.he-account * {
  box-sizing: border-box;
}
.he-cart a,
.he-checkout a,
.he-thankyou a,
.he-account a {
  color: inherit;
  text-decoration: none;
}
.he-cart img,
.he-checkout img,
.he-thankyou img {
  display: block;
  max-width: 100%;
}
/* ================== CART / CHECKOUT / THANK YOU =================== */
/* =====================================================================
   HYUN ENGINES — Cart & Checkout redesign
   Loaded only on the cart and checkout pages. Scoped under .he-cart /
   .he-checkout so it never leaks into the rest of the site. Skins
   WooCommerce's native markup (tables, form-rows, payment, place order).
   ===================================================================== */
/* tokens, reset, base padding: see the shared block at the top of this file */
.he-cart h1,
.he-cart h2,
.he-cart h3,
.he-checkout h1,
.he-checkout h2,
.he-checkout h3,
.he-thankyou h1,
.he-thankyou h2,
.he-thankyou h3 {
  font-family: var(--display);
  line-height: 1.06;
  letter-spacing: -0.01em;
}

/* shared buttons */
.he-btn {
  font-family: var(--body);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 14px 24px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  cursor: pointer;
  border: none;
  transition: 0.2s;
}
.he-btn-accent {
  background: var(--accent) !important;
  color: #fff !important;
  box-shadow: 0 8px 24px -8px rgba(232, 67, 27, 0.7);
}
.he-btn-accent:hover {
  background: var(--accent-2) !important;
  transform: translateY(-2px);
}

/* steps indicator */
.he-steps {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 0.82rem;
  color: #8a8f98;
  margin-bottom: 30px;
  flex-wrap: wrap;
}
.he-steps b {
  color: var(--ink);
  font-family: var(--body);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.he-steps b::before {
  content: "1";
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: inline-grid;
  place-items: center;
  font-size: 0.72rem;
}
.he-steps > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.he-steps > span:not(.he-arrow)::before {
  content: "2";
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--paper-2);
  color: #525964;
  display: inline-grid;
  place-items: center;
  font-size: 0.72rem;
}
.he-steps > span:not(.he-arrow):last-of-type::before {
  content: "3";
}
.he-steps .he-arrow {
  color: #c9c2b5;
}
/* checkout variant: step 1 done, step 2 active */
.he-steps.checkout b::before {
  content: "2";
}
.he-steps.checkout .done {
  color: var(--ok);
}
.he-steps.checkout .done::before {
  content: "\2713";
  background: rgba(59, 167, 118, 0.16);
  color: var(--ok);
}
.he-steps.checkout > span:not(.he-arrow):not(.done)::before {
  content: "3";
}

/* =================== CART =================== */
.he-cartgrid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 30px;
  align-items: start;
}
/* override WooCommerce defaults: .cart-collaterals / .cart_totals float + 48% width */
.he-cart .cart-collaterals,
.he-cart .he-cartside {
  width: 100% !important;
  float: none !important;
  margin: 0;
}
.he-cart .he-summary.cart_totals {
  width: 100% !important;
  float: none !important;
  margin: 0;
}
.he-cart .woocommerce-cart-form {
  margin: 0;
}
.he-items {
  display: grid;
  gap: 16px;
}
.he-citem {
  display: grid;
  grid-template-columns: 96px 1fr auto auto auto;
  gap: 20px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--paper-2);
  border-radius: 14px;
  padding: 18px 20px;
}
.he-cthumb {
  width: 96px;
  height: 84px;
  border-radius: 10px;
  overflow: hidden;
  background: #f7f4ee;
}
.he-cthumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.he-cinfo h3 {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25;
}
.he-cinfo h3 a:hover {
  color: var(--accent);
}
.he-csub {
  font-size: 0.8rem;
  color: #6b7280;
  margin-top: 4px;
}
.he-csub b {
  color: var(--ok);
  font-weight: 600;
}
.he-cinfo .variation,
.he-cinfo dl {
  font-size: 0.78rem;
  color: #6b7280;
  margin-top: 4px;
}

/* quantity stepper (enhanced from WooCommerce .quantity) */
.he-cqty .quantity {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--paper-2);
  border-radius: 8px;
  overflow: hidden;
}
.he-cqty .he-qtybtn {
  width: 34px;
  height: 38px;
  border: none;
  background: var(--paper);
  font-size: 1rem;
  cursor: pointer;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
}
.he-cqty .he-qtybtn:hover {
  background: var(--paper-2);
}
.he-cqty .quantity input.qty {
  width: 46px;
  height: 38px;
  border: none;
  text-align: center;
  font-weight: 700;
  font-family: var(--body);
  font-size: 0.95rem;
  background: #fff;
  -moz-appearance: textfield;
  appearance: textfield;
  padding: 0;
}
.he-cqty .quantity input.qty::-webkit-outer-spin-button,
.he-cqty .quantity input.qty::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.he-cprice {
  text-align: right;
  white-space: nowrap;
}
.he-cprice b {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.1rem;
  display: block;
}
.he-cprice s {
  color: #9aa0a8;
  font-size: 0.8rem;
}
.he-cartcol .he-cremove a.remove {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid var(--paper-2);
  background: #fff;
  display: grid;
  place-items: center;
  color: #9aa0a8 !important;
  cursor: pointer;
  transition: 0.2s;
  font-size: 1.1rem;
  text-decoration: none;
  line-height: 1;
}
.he-cartcol .he-cremove a.remove:hover {
  color: var(--accent) !important;
  border-color: var(--accent) !important;
  background: #fff;
}

.he-cartfoot {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 18px;
  flex-wrap: wrap;
  align-items: center;
}
.he-coupon {
  display: flex;
  gap: 10px;
}
.he-coupon input {
  height: 46px;
  border: 1px solid var(--paper-2);
  border-radius: 8px;
  padding: 0 14px;
  font-family: var(--body);
  font-size: 0.9rem;
  background: #fff;
  min-width: 200px;
}
.he-coupon input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(232, 67, 27, 0.12);
}
.he-cart .he-apply {
  background: var(--ink) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 0 18px !important;
  height: 46px;
  font-weight: 700 !important;
  font-size: 0.8rem !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}
.he-cart .he-apply:hover {
  background: var(--steel) !important;
}
.he-cartfoot-actions {
  display: flex;
  gap: 14px;
  align-items: center;
}
.he-cart .he-update {
  background: transparent !important;
  border: 1.5px solid var(--paper-2) !important;
  color: var(--ink) !important;
  border-radius: 8px !important;
  padding: 0 18px !important;
  height: 46px;
  font-weight: 700 !important;
  font-size: 0.78rem !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: 0.2s;
}
.he-cart .he-update:hover {
  border-color: var(--accent) !important;
  color: var(--accent) !important;
}
.he-update[disabled],
.he-update:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.he-continue {
  align-self: center;
  font-weight: 600;
  color: var(--accent) !important;
  font-size: 0.9rem;
}
.he-continue:hover {
  color: #0e0f11 !important;
}

/* cart summary / totals */
.he-summary {
  background: #fff;
  border: 1px solid var(--paper-2);
  border-radius: 16px;
  padding: 26px;
  position: sticky;
  top: 96px;
}
.he-summary h2 {
  font-size: 1.15rem;
  margin-bottom: 18px;
}
.he-summary .he-stable {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
  border: none !important;
}
.he-summary .he-stable tr {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid var(--paper);
}
.he-summary .he-stable th,
.he-summary .he-stable td {
  border: none !important;
  background: transparent !important;
}
.he-summary .he-stable th {
  font-weight: 500;
  color: #525964;
  text-align: left;
  padding: 0;
}
.he-summary .he-stable td {
  text-align: right;
  padding: 0;
  font-weight: 600;
}
.he-summary .he-stable tr.order-total {
  border-bottom: none;
  padding-top: 16px;
  align-items: baseline;
}
.he-summary .he-stable tr.order-total th {
  font-weight: 700;
  color: var(--ink);
}
.he-summary .he-stable tr.order-total td {
  font-family: var(--display);
  font-size: 1.4rem;
  font-weight: 800;
}
.he-summary
  .he-stable
  .woocommerce-shipping-totals
  .woocommerce-shipping-methods {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: right;
  font-size: 0.86rem;
}
.he-summary .he-stable .shipping-calculator-button {
  color: var(--accent);
}
.he-shipnote {
  font-size: 0.8rem;
  color: #6b7280;
  background: var(--paper);
  border-radius: 8px;
  padding: 10px 12px;
  margin: 12px 0 12px;
}
.he-summary .wc-proceed-to-checkout {
  padding: 0;
  margin: 0;
}
.he-cart .he-summary .wc-proceed-to-checkout a.checkout-button,
.he-cart .he-summary .wc-proceed-to-checkout .button,
.he-cart .he-summary .checkout-button {
  display: flex !important;
  width: 100% !important;
  max-width: none !important;
  background: var(--accent) !important;
  color: #fff !important;
  font-family: var(--body);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 15px 20px !important;
  border-radius: 8px !important;
  align-items: center;
  justify-content: center;
  border: none !important;
  box-shadow: 0 8px 24px -8px rgba(232, 67, 27, 0.7);
  transition: 0.2s;
  text-decoration: none;
  white-space: normal;
  line-height: 1.2;
}
.he-cart .he-summary .wc-proceed-to-checkout a.checkout-button br,
.he-cart .he-summary .wc-proceed-to-checkout .button br,
.he-cart .he-summary .checkout-button br {
  display: none;
}
.he-cart .he-summary .wc-proceed-to-checkout a.checkout-button:hover,
.he-cart .he-summary .wc-proceed-to-checkout .button:hover {
  background: var(--accent-2) !important;
  transform: translateY(-2px);
}
.he-secure {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.78rem;
  color: #6b7280;
  margin-top: 14px;
}
.he-trust {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  border-top: 1px solid var(--paper);
  padding-top: 16px;
}
.he-trust span {
  font-size: 0.8rem;
  color: #3a3f46;
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.he-trust span::before {
  content: "\2713";
  color: var(--ok);
  font-weight: 800;
  flex: none;
}

/* empty cart */
.he-cart--empty .he-empty {
  background: #fff;
  border: 1px solid var(--paper-2);
  border-radius: 16px;
  padding: 60px 30px;
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}
.he-empty-ico {
  color: #c9c2b5;
  display: flex;
  justify-content: center;
  margin-bottom: 18px;
}
.he-cart--empty .cart-empty,
.he-cart--empty .wc-empty-cart-message {
  font-size: 1.05rem;
  color: #525964;
  margin-bottom: 22px;
}
.he-cart--empty .return-to-shop {
  margin: 0;
}

/* =================== CHECKOUT =================== */
/* "Have a coupon?" form (WooCommerce native, revealed by the toggle notice) */
.he-checkout form.checkout_coupon {
  background: #fff;
  border: 1px solid var(--paper-2);
  border-radius: 12px;
  padding: 20px;
  margin: 0 0 26px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.he-checkout .checkout_coupon .form-row {
  margin: 0;
  padding: 0;
  width: auto;
  float: none;
}
.he-checkout .checkout_coupon .form-row-first {
  flex: 1 1 220px;
}
.he-checkout .checkout_coupon .form-row-first br {
  display: none;
}
.he-checkout .checkout_coupon .input-text {
  width: 100%;
  height: 48px;
  border: 1px solid var(--paper-2);
  border-radius: 8px;
  padding: 0 14px;
  font-family: var(--body);
  font-size: 0.92rem;
  background: var(--paper);
  color: var(--ink);
  box-sizing: border-box;
}
.he-checkout .checkout_coupon .input-text:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(232, 67, 27, 0.12);
}
.he-checkout .checkout_coupon button.button {
  height: 48px;
  background: var(--ink) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 0 22px !important;
  font-family: var(--body);
  font-weight: 700 !important;
  font-size: 0.8rem !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
}
.he-checkout .checkout_coupon button.button:hover {
  background: var(--steel) !important;
}
.he-checkout .checkout_coupon .clear {
  display: none;
}

.he-checkgrid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 34px;
  align-items: start;
}
/* stack billing + additional panels in the left column */
.he-checkcol .col2-set {
  display: block;
}
.he-checkcol .col2-set .col-1,
.he-checkcol .col2-set .col-2 {
  width: 100%;
  float: none;
  padding: 0;
}
.he-checkcol .woocommerce-billing-fields,
.he-checkcol .woocommerce-shipping-fields,
.he-checkcol .woocommerce-additional-fields,
.he-checkcol .woocommerce-account-fields {
  background: #fff;
  border: 1px solid var(--paper-2);
  border-radius: 16px;
  padding: 30px;
  margin-bottom: 24px;
}
.he-checkcol h3 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.he-checkcol h3::before {
  content: "";
  width: 18px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  flex: none;
}
.he-checkcol .woocommerce-additional-fields p:first-of-type {
  margin-top: 0;
}

/* field grid */
.he-checkout .woocommerce-billing-fields__field-wrapper,
.he-checkout .woocommerce-shipping-fields__field-wrapper,
.he-checkout .woocommerce-additional-fields__field-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-items: stretch;
}
.he-checkout .woocommerce-billing-fields__field-wrapper > p:empty,
.he-checkout .woocommerce-shipping-fields__field-wrapper > p:empty,
.he-checkout .woocommerce-additional-fields__field-wrapper > p:empty {
  display: none;
}
/* flex-column rows + input pushed to the bottom = inputs align across a row
   even when one label wraps to two lines and its neighbour is one line. */
.he-checkout .form-row {
  margin: 0;
  padding: 0;
  float: none !important;
  width: auto !important;
  display: flex;
  flex-direction: column;
}
.he-checkout .form-row-wide,
.he-checkout .form-row-first.address-field,
.he-checkout #order_comments_field,
.he-checkout .notes {
  grid-column: 1 / -1;
}
.he-checkout .form-row-first {
  grid-column: 1;
}
.he-checkout .form-row-last {
  grid-column: 2;
}
.he-checkout .form-row label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #3a3f46;
  margin-bottom: 7px;
  line-height: 1.3;
}
.he-checkout .form-row label .required {
  color: var(--accent);
  border: none;
  text-decoration: none;
}
.he-checkout .form-row label .optional {
  color: #9aa0a8;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
}
.he-checkout .woocommerce-input-wrapper {
  width: 100%;
  margin-top: auto;
}
.he-checkout .form-row .input-text,
.he-checkout .form-row input[type="text"],
.he-checkout .form-row input[type="email"],
.he-checkout .form-row input[type="tel"],
.he-checkout .form-row input[type="password"],
.woocommerce .he-wrap form .form-row select,
.he-checkout .form-row .select2-selection,
.he-checkout .form-row textarea,
.he-checkout #order_comments {
  width: 100% !important;
  height: 48px;
  border: 1px solid var(--paper-2) !important;
  border-radius: 9px !important;
  padding: 0 14px;
  font-family: var(--body);
  font-size: 0.95rem;
  background: var(--paper) !important;
  transition: 0.2s;
  color: var(--ink) !important;
  box-shadow: none !important;
}
.he-checkout .form-row textarea,
.he-checkout #order_comments {
  height: auto !important;
  min-height: 90px;
  padding: 12px 14px !important;
  resize: vertical;
  line-height: 1.5;
}
.he-checkout .select2-container .select2-selection--single {
  display: flex;
  align-items: center;
}
.he-checkout .form-row .input-text:focus,
.he-checkout .form-row select:focus,
.he-checkout .form-row textarea:focus,
.he-checkout #order_comments:focus {
  outline: none;
  border-color: var(--accent) !important;
  background: #fff !important;
  box-shadow: 0 0 0 3px rgba(232, 67, 27, 0.12) !important;
}

/* order review + payment (right column) */
.he-checkside {
  position: sticky;
  top: 24px;
  background: #fff;
  border: 1px solid var(--paper-2);
  border-radius: 16px;
  padding: 30px;
}
.he-checkside > h3#order_review_heading {
  font-size: 1.2rem;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.he-checkside > h3#order_review_heading::before {
  content: "";
  width: 18px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  flex: none;
}
.he-checkside .shop_table {
  width: 100%;
  border-collapse: collapse !important;
  margin: 0;
  border: none !important;
  border-radius: 0 !important;
}
.he-checkside .shop_table thead {
  display: none;
}
.he-checkside .shop_table th,
.he-checkside .shop_table td {
  border: none !important;
  background: transparent !important;
}
.he-checkside .shop_table tr {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid var(--paper) !important;
  font-size: 0.93rem;
}
.he-checkside .shop_table tbody tr:first-child {
  padding-top: 0;
}
.he-checkside .shop_table th {
  text-align: left;
  font-weight: 500;
  color: #525964;
  padding: 0;
}
.he-checkside .shop_table td {
  text-align: right;
  padding: 0;
  font-weight: 600;
}
.he-checkside .shop_table .cart_item {
  align-items: flex-start;
}
.he-checkside .shop_table .cart_item .product-name {
  text-align: left !important;
  color: #2c3036;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.he-checkside .shop_table .cart_item .product-name .nm {
  line-height: 1.3;
}
.he-checkside .shop_table .cart_item .product-name .he-osub {
  color: #8a8f98;
  font-weight: 500;
  font-size: 0.76rem;
}
.he-checkside .shop_table .cart_item .product-total {
  white-space: nowrap;
  font-weight: 700;
}
.he-checkside .shop_table .product-quantity {
  color: #8a8f98;
  font-weight: 600;
}
.he-checkside .shop_table tfoot .order-total {
  border-bottom: none;
  padding-top: 16px;
  align-items: baseline;
}
.he-checkside .shop_table tfoot .order-total th {
  font-weight: 700;
  color: var(--ink);
}
.he-checkside .shop_table tfoot .order-total td {
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 800;
}

/* payment box */
.he-checkside #payment {
  background: transparent;
  margin-top: 20px;
  border-top: 1px solid var(--paper);
  padding-top: 20px;
}
.he-checkside #payment ul.payment_methods {
  list-style: none;
  margin: 0;
  padding: 0;
  border: none;
  display: grid;
  gap: 10px;
}
.he-checkside #payment ul.payment_methods li {
  border: 1.5px solid var(--paper-2);
  border-radius: 12px;
  padding: 14px 16px;
  transition: 0.2s;
}
.he-checkside #payment ul.payment_methods li:has(input:checked) {
  border-color: var(--accent);
  background: rgba(232, 67, 27, 0.04);
}
.he-checkside #payment ul.payment_methods li label {
  font-weight: 700;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}
/* flatten the payment box: no inner grey card so the gateway's own field
   (e.g. Stripe element) isn't a box-inside-a-box */
.he-checkside #payment .payment_box {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 12px 0 0 !important;
  margin: 8px 0 0 !important;
  font-size: 0.86rem;
  color: #525964;
  box-shadow: none !important;
}
.he-checkside #payment .payment_box::before {
  display: none !important;
}
.he-checkside #payment ul.payment_methods li:has(input:checked) {
  border-color: var(--accent);
  background: rgba(232, 67, 27, 0.04);
  padding-bottom: 16px;
}
.he-checkside #payment .payment_box p:first-child {
  margin-top: 0;
}
.he-checkside #payment .payment_box .form-row {
  padding: 0;
}
.he-checkside #payment .woocommerce-privacy-policy-text {
  font-size: 0.78rem;
  color: #6b7280;
  margin-top: 12px;
}
.he-checkout .he-checkside #place_order {
  width: 100% !important;
  margin-top: 18px;
  font-family: var(--body);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 17px !important;
  border-radius: 10px !important;
  border: none !important;
  background: var(--accent) !important;
  color: #fff !important;
  cursor: pointer;
  box-shadow: 0 10px 28px -10px rgba(232, 67, 27, 0.75);
  transition: 0.2s;
  float: none !important;
}
.he-checkout .he-checkside #place_order:hover {
  background: var(--accent-2) !important;
  transform: translateY(-2px);
}
.he-checkside .shipnote,
.he-checkside .he-shipnote {
  font-size: 0.8rem;
  color: #6b7280;
  background: var(--paper);
  border-radius: 8px;
  padding: 10px 12px;
  margin-top: 12px;
  display: block;
  font-weight: 400;
}
/* shipnote rendered inside the totals table (as a tfoot row, so the checkout
   AJAX fragment replace can't duplicate it) */
.he-checkside .shop_table tr.he-shipnote-row {
  display: block;
  border-bottom: none !important;
  padding: 12px 0 0;
}
.he-checkside .shop_table tr.he-shipnote-row td {
  display: block;
  text-align: left;
  width: 100%;
  padding: 0 !important;
}
.he-help {
  display: flex;
  gap: 10px;
  align-items: center;
  background: var(--ink);
  color: var(--cloud);
  border-radius: 12px;
  padding: 14px 16px;
  margin-top: 18px;
  font-size: 0.84rem;
}
.he-help b {
  color: #fff;
}
.he-help a {
  color: var(--accent-2);
  font-weight: 700;
}

/* WooCommerce notices inside our wrappers */
.he-cart .woocommerce-message,
.he-checkout .woocommerce-message,
.he-cart .woocommerce-info,
.he-checkout .woocommerce-info,
.he-cart .woocommerce-error,
.he-checkout .woocommerce-error {
  background: #fff;
  border: 1px solid var(--paper-2);
  border-left: 3px solid var(--accent);
  border-radius: 10px;
  padding: 14px 18px;
  margin-bottom: 18px;
  list-style: none;
  color: #3a3f46;
}
input::placeholder,
textarea::placeholder {
  font-size: 12px !important;
}
.woocommerce-checkout #payment div.payment_box {
  padding: 0 !important;
}
.woocommerce-checkout #payment div.payment_box fieldset {
  padding: 0;
  border: none;
}
#wc-stripe-payment-method-instructions-card {
  font-size: 0.78rem;
  margin-bottom: 10px;
}
/* =================== ORDER RECEIVED / THANK YOU =================== */
.he-thankyou .woocommerce-order,
.he-thankyou {
  margin: 0;
}
/* success hero */
.he-ty-hero {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--paper-2);
  border-radius: 16px;
  padding: 28px;
  margin-bottom: 24px;
}
.he-ty-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(59, 167, 118, 0.14);
  color: var(--ok);
  display: grid;
  place-items: center;
  flex: none;
}
.he-ty-icon.failed {
  background: rgba(232, 67, 27, 0.12);
  color: var(--accent);
}
.he-ty-hero h1 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  margin: 8px 0 8px;
}
.he-ty-hero p {
  color: #525964;
  max-width: 640px;
}
.he-ty-hero .he-steps {
  margin-bottom: 4px;
}
.he-ty-hero .he-steps.done-all b::before {
  content: "\2713";
  background: rgba(59, 167, 118, 0.16);
  color: var(--ok);
}
.he-ty-hero .he-steps.done-all b {
  color: var(--ok);
}
.he-ty-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.he-ty-hero .he-btn {
  padding: 12px 20px;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
}

/* overview cards */
.he-ty-overview {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
}
.he-ty-overview li {
  background: #fff;
  border: 1px solid var(--paper-2);
  border-radius: 14px;
  padding: 18px 20px;
  border-top: 3px solid var(--accent);
}
.he-ty-overview li span {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8a8f98;
  margin-bottom: 6px;
}
.he-ty-overview li strong {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--ink);
  overflow-wrap: anywhere;
  line-height: 1.25;
}
.he-ty-overview li strong .woocommerce-Price-amount {
  white-space: nowrap;
}
div.he-wrap ul.he-ty-overview::before,
div.he-wrap ul.he-ty-overview::after {
  display: none;
}
div.he-wrap ul.he-ty-overview li {
  float: inherit;
  margin: 0;
  padding: 16px;
}

/* order details + addresses (rendered via woocommerce_thankyou) */
.he-thankyou .woocommerce-order-details,
.he-thankyou .woocommerce-customer-details {
  background: #fff;
  border: 1px solid var(--paper-2);
  border-radius: 16px;
  padding: 28px;
  margin-bottom: 24px;
}
.he-thankyou .woocommerce-order-details__title,
.he-thankyou .woocommerce-customer-details h2,
.he-thankyou .woocommerce-column__title {
  font-size: 1.2rem;
  margin: 0 0 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.he-thankyou .woocommerce-order-details__title::before,
.he-thankyou .woocommerce-customer-details h2::before,
.he-thankyou .woocommerce-column__title::before {
  content: "";
  width: 18px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  flex: none;
}
/* order table → clean borderless rows */
.he-thankyou table.shop_table {
  width: 100%;
  border-collapse: collapse !important;
  border: none !important;
  margin: 0;
}
.he-thankyou table.shop_table th,
.he-thankyou table.shop_table td {
  border: none !important;
  background: transparent !important;
  padding: 13px 0;
  text-align: left;
}
.he-thankyou table.shop_table thead th {
  font-family: var(--display);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6b7280;
  padding-bottom: 10px;
}
.he-thankyou table.shop_table tbody td,
.he-thankyou table.shop_table tfoot th,
.he-thankyou table.shop_table tfoot td {
  border-top: 1px solid var(--paper) !important;
}
.he-thankyou table.shop_table td.product-total,
.he-thankyou table.shop_table th[scope="row"] + td,
.he-thankyou table.shop_table tfoot td {
  text-align: right;
  font-weight: 700;
  white-space: nowrap;
}
.he-thankyou table.shop_table tfoot .order-total th,
.he-thankyou table.shop_table tfoot .order-total td {
  padding-top: 16px;
}
.he-thankyou table.shop_table tfoot .order-total td {
  font-family: var(--display);
  font-size: 1.3rem;
  font-weight: 800;
}
.he-thankyou table.shop_table a {
  color: var(--ink);
}
.he-thankyou table.shop_table a:hover {
  color: var(--accent);
}
.he-thankyou .product-quantity {
  color: #8a8f98;
}

/* customer addresses */
.he-thankyou .woocommerce-customer-details .woocommerce-columns--addresses {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 0;
}
.he-thankyou .woocommerce-customer-details .col-1,
.he-thankyou .woocommerce-customer-details .col-2 {
  width: 100% !important;
  float: none !important;
  margin: 0;
}
.he-thankyou .woocommerce-customer-details address,
.he-account .woocommerce-customer-details address {
  font-style: normal;
  color: #3a3f46;
  line-height: 1.8;
  border: 1px solid var(--paper-2);
  border-radius: 12px;
  padding: 18px 20px;
  background: var(--paper);
  font-size: 0.95rem;
}
.he-account .woocommerce-customer-details address {
  background-color: #fff;
}
.he-account .u-columns.woocommerce-Addresses::before,
.he-account .u-columns.woocommerce-Addresses::after,
.he-account .woocommerce-Address-title::after,
.he-account .woocommerce-Address-title::before {
  display: none !important;
}
.he-thankyou .woocommerce-customer-details .woocommerce-customer-details--phone,
.he-thankyou
  .woocommerce-customer-details
  .woocommerce-customer-details--email {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}

/* help box */
.he-ty-help {
  display: flex;
  gap: 14px;
  align-items: center;
  background: var(--ink);
  color: var(--cloud);
  border-radius: 14px;
  padding: 18px 22px;
  margin-top: 8px;
  font-size: 0.9rem;
  flex-wrap: wrap;
  justify-content: space-between;
}
.he-ty-help b {
  color: #fff;
  font-family: var(--display);
}
.he-ty-help .he-btn {
  padding: 12px 20px;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
}

.he-thankyou .woocommerce-table__product-table.product-total {
  text-align: right;
}

.he-ty-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0 10px;
}
/* ============================ ACCOUNT ============================ */
/* =====================================================================
   HYUN ENGINES — My Account redesign
   Loaded only on account pages. Scoped under .he-account so it never
   leaks into the rest of the site. Skins WooCommerce account markup.
   ===================================================================== */
/* tokens, reset, base padding: see the shared block at the top of this file */
.he-account h1,
.he-account h2,
.he-account h3 {
  font-family: var(--display);
  line-height: 1.06;
  letter-spacing: -0.01em;
}
.he-account .he-wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* shared button */
.he-account .he-btn {
  font-family: var(--body);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 13px 22px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  border: none;
  transition: 0.2s;
}
.he-account .he-btn-accent {
  background: var(--accent) !important;
  color: #fff !important;
  box-shadow: 0 8px 24px -8px rgba(232, 67, 27, 0.7);
}
.he-account .he-btn-accent:hover {
  background: var(--accent-2) !important;
}

/* greeting header */
.he-acct-head {
  margin-bottom: 28px;
}
.he-hello {
  display: flex;
  align-items: center;
  gap: 14px;
}
.he-hello .av {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-weight: 800;
  color: #fff;
  font-size: 1.05rem;
}
.he-hello b {
  display: block;
  font-family: var(--display);
  font-size: 1.15rem;
}
.he-hello span {
  font-size: 0.82rem;
  color: #8a8f98;
}

/* layout */
.he-acctgrid {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 30px;
  align-items: start;
}
/* override WooCommerce defaults: nav 35% float-left + content 65% float-right */
.he-account .woocommerce-MyAccount-navigation,
.he-account .woocommerce-MyAccount-content {
  width: 100% !important;
  float: none !important;
  margin: 0 !important;
}

/* sidebar navigation */
.he-account .woocommerce-MyAccount-navigation {
  background: #fff;
  border: 1px solid var(--paper-2);
  border-radius: 16px;
  overflow: hidden;
  position: sticky;
  top: 96px;
}
.he-account .woocommerce-MyAccount-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.he-account .woocommerce-MyAccount-navigation li {
  margin: 0;
}
.he-account .woocommerce-MyAccount-navigation li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 20px;
  font-size: 0.92rem;
  font-weight: 600;
  color: #3a3f46;
  border-left: 3px solid transparent;
  transition: 0.18s;
}
.he-account .woocommerce-MyAccount-navigation li.is-active a,
.he-account .woocommerce-MyAccount-navigation li a:hover {
  border-left-color: var(--accent);
  color: var(--ink);
  background: var(--paper);
}
.he-account .woocommerce-MyAccount-navigation .ic {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--paper-2);
  display: grid;
  place-items: center;
  flex: none;
  color: #3a3f46;
  transition: 0.18s;
}
.he-account .woocommerce-MyAccount-navigation li.is-active .ic {
  background: var(--accent);
  color: #fff;
}
.he-account
  .woocommerce-MyAccount-navigation
  li.woocommerce-MyAccount-navigation-link--customer-logout
  a {
  border-top: 1px solid var(--paper-2);
  color: #8a4444;
}

/* stat cards */
.he-stat3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 26px;
}
.he-stat {
  background: #fff;
  border: 1px solid var(--paper-2);
  border-radius: 14px;
  padding: 22px;
}
.he-stat b {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.6rem;
  display: block;
  line-height: 1;
}
.he-stat span {
  font-size: 0.82rem;
  color: #6b7280;
  margin-top: 6px;
  display: block;
}

/* content panels */
.he-panel {
  background: #fff;
  border: 1px solid var(--paper-2);
  border-radius: 16px;
  padding: 28px;
}
.he-panel h2 {
  font-size: 1.15rem;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.he-panel h2::before {
  content: "";
  width: 18px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}

/* dashboard recent-orders table */
.he-acct-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  border: none !important;
}
/* reset theme/core cell borders + backgrounds; only horizontal row lines remain */
.he-acct-table th,
.he-acct-table td {
  border: none !important;
  background: transparent !important;
}
.he-acct-table th {
  font-family: var(--display);
  text-align: left;
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6b7280;
  padding: 0 14px 12px;
  font-weight: 700;
}
.he-acct-table tbody td {
  padding: 15px 14px;
  border-top: 1px solid var(--paper) !important;
  vertical-align: middle;
}
.he-acct-table td b {
  font-weight: 700;
}
.he-omuted {
  color: #8a8f98;
}
.he-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--paper-2);
  color: #525964;
}
.he-status::before {
  content: "\25CF";
  font-size: 0.6rem;
}
.he-status.done {
  background: rgba(59, 167, 118, 0.12);
  color: #23704f;
}
.he-status.proc {
  background: rgba(242, 169, 59, 0.15);
  color: #8a6414;
}
.he-rowact {
  color: var(--accent);
  font-weight: 700;
  font-size: 0.84rem;
}
.he-rowact:hover {
  color: var(--accent-2);
}
.he-noorders {
  color: #6b7280;
}
.he-noorders a {
  color: var(--accent);
  font-weight: 700;
}

/* help box */
.he-acct-help {
  display: flex;
  gap: 14px;
  align-items: center;
  background: var(--ink);
  color: var(--cloud);
  border-radius: 14px;
  padding: 18px 20px;
  margin-top: 24px;
  font-size: 0.9rem;
  flex-wrap: wrap;
  justify-content: space-between;
}
.he-acct-help b {
  color: #fff;
  font-family: var(--display);
}
.he-acct-help .he-btn {
  padding: 11px 18px;
}

/* ---- generic skin for the other account endpoints ---- */
.he-account .woocommerce-MyAccount-content {
  min-height: 200px;
}
.he-account .woocommerce-MyAccount-content > p,
.he-account .woocommerce-MyAccount-content > h2,
.he-account .woocommerce-MyAccount-content > h3,
.he-account .woocommerce-MyAccount-content address,
.he-account .woocommerce-MyAccount-content .woocommerce-Addresses,
.he-account .woocommerce-MyAccount-content form,
.he-account .woocommerce-MyAccount-content .woocommerce-orders-table,
.he-account .woocommerce-MyAccount-content .shop_table {
}
/* tables (orders list, downloads, view order) */
.he-account .woocommerce-MyAccount-content table.shop_table {
  width: 100%;
  border-collapse: collapse !important;
  background: #fff;
  border: 1px solid var(--paper-2);
  border-radius: 14px;
  overflow: hidden;
  font-size: 0.92rem;
  margin: 0;
}
/* kill the theme/WooCommerce grey cell backgrounds + vertical borders */
.he-account .woocommerce-MyAccount-content table.shop_table th,
.he-account .woocommerce-MyAccount-content table.shop_table td {
  background: transparent !important;
  border-left: none !important;
  border-right: none !important;
  border-bottom: none !important;
}
.he-account .woocommerce-MyAccount-content table.shop_table thead th {
  font-family: var(--display);
  text-align: left;
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6b7280;
  padding: 16px 20px;
  border-top: none !important;
}
.he-account .woocommerce-MyAccount-content table.shop_table tbody td,
.he-account .woocommerce-MyAccount-content table.shop_table tfoot th,
.he-account .woocommerce-MyAccount-content table.shop_table tfoot td {
  padding: 14px 20px;
  border-top: 1px solid var(--paper) !important;
}
.he-account .woocommerce-MyAccount-content table.shop_table td.product-total,
.he-account .woocommerce-MyAccount-content table.shop_table tfoot td {
  text-align: right;
  font-weight: 700;
  white-space: nowrap;
}
.he-account
  .woocommerce-MyAccount-content
  table.shop_table
  tfoot
  .order-total
  td {
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 800;
}
.he-account .woocommerce-MyAccount-content table.shop_table .button,
.he-account .woocommerce-MyAccount-content .woocommerce-Button,
.he-account .woocommerce-MyAccount-content .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ink) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 7px !important;
  padding: 9px 16px !important;
  font-weight: 700 !important;
  font-size: 0.78rem !important;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-decoration: none;
}
.he-account .woocommerce-MyAccount-content table.shop_table .button:hover {
  background: var(--steel) !important;
}

/* address blocks */
.he-account .woocommerce-MyAccount-content > p {
  margin-bottom: 22px;
}
.he-account .woocommerce-Addresses {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 0;
}
/* reset WooCommerce .col2-set floats so the grid controls the layout */
.he-account .woocommerce-Addresses .col-1,
.he-account .woocommerce-Addresses .col-2 {
  width: 100% !important;
  float: none !important;
  margin: 0 !important;
  max-width: none;
}
.he-account .woocommerce-Address {
  background: #fff;
  border: 1px solid var(--paper-2);
  border-radius: 14px;
  padding: 24px;
  height: 100%;
}
.he-account .woocommerce-Address-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.he-account .woocommerce-Address-title h2,
.he-account .woocommerce-Address-title h3 {
  font-size: 1.1rem;
  margin: 0;
}
.he-account .woocommerce-Address address {
  font-style: normal;
  color: #3a3f46;
  line-height: 1.8;
}
.he-account .woocommerce-Address .edit {
  color: var(--accent) !important;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* link-style buttons (Add payment method, Add address, etc.) */
.he-account .woocommerce-MyAccount-content .woocommerce-Button {
  background: var(--accent) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 13px 22px !important;
  font-weight: 700 !important;
  font-size: 0.82rem !important;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  box-shadow: 0 8px 24px -10px rgba(232, 67, 27, 0.6);
  transition: 0.2s;
  text-decoration: none;
}
.he-account .woocommerce-MyAccount-content a.button:hover,
.he-account .woocommerce-MyAccount-content .woocommerce-Button:hover {
  background: var(--accent-2) !important;
  transform: translateY(-2px);
}

/* password-change fieldset on Account details */
.he-account .woocommerce-MyAccount-content fieldset {
  border: 1px solid var(--paper-2);
  border-radius: 14px;
  padding: 22px 24px 8px;
  margin: 8px 0 20px;
}
.he-account .woocommerce-MyAccount-content fieldset legend {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1rem;
  padding: 0 8px;
  color: var(--ink);
}

/* view-order / section headings (scoped to WooCommerce title classes so the
   address-card titles above are not affected) */
.he-account .woocommerce-MyAccount-content .woocommerce-order-details__title,
.he-account .woocommerce-MyAccount-content .woocommerce-column__title,
.he-account .woocommerce-MyAccount-content .woocommerce-customer-details h2,
.he-account .woocommerce-MyAccount-content > h2 {
  font-size: 1.2rem;
  margin: 24px 0 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.he-account
  .woocommerce-MyAccount-content
  .woocommerce-order-details__title::before,
.he-account .woocommerce-MyAccount-content .woocommerce-column__title::before,
.he-account
  .woocommerce-MyAccount-content
  .woocommerce-customer-details
  h2::before,
.he-account .woocommerce-MyAccount-content > h2::before {
  content: "";
  width: 18px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  flex: none;
}
.he-account .woocommerce-MyAccount-content > h2:first-child {
  margin-top: 0;
}

/* account forms (edit account / address) */
.he-account .woocommerce-MyAccount-content form {
  background: #fff;
  border: 1px solid var(--paper-2);
  border-radius: 16px;
  padding: 28px;
}
.he-account .woocommerce-form-row,
.he-account .form-row {
  margin: 0 0 16px;
  display: flex;
  flex-direction: column;
}
.he-account .woocommerce-form-row label,
.he-account .form-row label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #3a3f46;
  margin-bottom: 7px;
}
.he-account .woocommerce-MyAccount-content input.input-text,
.he-account .woocommerce-MyAccount-content input[type="text"],
.he-account .woocommerce-MyAccount-content input[type="email"],
.he-account .woocommerce-MyAccount-content input[type="tel"],
.he-account .woocommerce-MyAccount-content input[type="password"],
.he-account .woocommerce-MyAccount-content select,
.he-account .woocommerce-MyAccount-content textarea {
  width: 100%;
  height: 48px;
  border: 1px solid var(--paper-2);
  border-radius: 9px;
  padding: 0 14px;
  font-family: var(--body);
  font-size: 0.95rem;
  background: var(--paper);
  color: var(--ink);
  transition: 0.2s;
}
.he-account .woocommerce-MyAccount-content textarea {
  height: auto;
  min-height: 90px;
  padding: 12px 14px;
}
.he-account .woocommerce-MyAccount-content input.input-text:focus,
.he-account .woocommerce-MyAccount-content select:focus,
.he-account .woocommerce-MyAccount-content textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(232, 67, 27, 0.12);
}

/* native <select> (Country / State) — match the paper inputs + custom chevron */
.he-account .woocommerce-MyAccount-content select {
  background: var(--paper) !important;
  border: 1px solid var(--paper-2) !important;
  border-radius: 9px !important;
  height: 48px;
  color: var(--ink) !important;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding: 0 38px 0 14px !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 16 16' fill='%233a3f46'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 14px center !important;
}

/* select2-enhanced selects (WooCommerce country/state widgets).
   The real <select> is .select2-hidden-accessible (hidden); the visible control
   is the .select2-selection--single span, so it must be styled directly. */
.he-account .select2-container {
  width: 100% !important;
}
.he-account .select2-container .select2-selection--single {
  height: 48px !important;
  border: 1px solid var(--paper-2) !important;
  border-radius: 9px !important;
  background: var(--paper) !important;
  display: flex !important;
  align-items: center;
  padding: 0 14px !important;
  font-family: var(--body);
}
.he-account
  .select2-container
  .select2-selection--single
  .select2-selection__rendered {
  line-height: 1.4 !important;
  color: var(--ink) !important;
  padding: 0 !important;
  font-size: 0.95rem;
}
.he-account
  .select2-container
  .select2-selection--single
  .select2-selection__arrow {
  height: 46px !important;
  right: 10px !important;
}
.he-account .select2-container--open .select2-selection--single,
.he-account .select2-container--focus .select2-selection--single {
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 3px rgba(232, 67, 27, 0.12) !important;
}
.he-account .woocommerce-orders-table .woocommerce-orders-table__cell {
  border-top: 1px solid var(--paper) !important;
}

/* select2 dropdown results panel — appended to <body>, so it can't be scoped
   under .he-account. Styled by the country/state field classes select2 copies. */
.select2-container--default .select2-dropdown {
  border: 1px solid #eae5db;
  border-radius: 9px;
  box-shadow: 0 14px 34px -18px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  font-family: "Archivo", system-ui, sans-serif;
}
.select2-container--default .select2-search--dropdown .select2-search__field {
  border: 1px solid #eae5db;
  border-radius: 7px;
  padding: 8px 10px;
}
.select2-container--default .select2-results__option {
  font-size: 0.92rem;
  color: #3a3f46;
}
.select2-container--default
  .select2-results__option--highlighted[aria-selected],
.select2-container--default .select2-results__option--highlighted {
  background: #e8431b !important;
  color: #fff !important;
}
.select2-container--default .select2-results__option[aria-selected="true"] {
  background: #f4f1eb;
}
.he-account .woocommerce-MyAccount-content button.button,
.he-account .woocommerce-MyAccount-content button[type="submit"] {
  background: var(--accent) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 14px 24px !important;
  font-weight: 700 !important;
  font-size: 0.85rem !important;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
  box-shadow: 0 8px 24px -8px rgba(232, 67, 27, 0.7);
  transition: 0.2s;
}
.he-account .woocommerce-MyAccount-content button.button:hover,
.he-account .woocommerce-MyAccount-content button[type="submit"]:hover {
  background: var(--accent-2) !important;
  transform: translateY(-2px);
}

/* ---- high-specificity safety net (body-prefixed) for the two elements that
   keep losing to WooCommerce/select2 defaults: the Save button + select2 box ---- */
body .he-account .woocommerce-MyAccount-content button.button,
body .he-account .woocommerce-MyAccount-content button[name="save_address"],
body .he-account .woocommerce-MyAccount-content input[type="submit"] {
  background: var(--accent) !important;
  background-color: var(--accent) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 14px 24px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.04em !important;
  box-shadow: 0 8px 24px -8px rgba(232, 67, 27, 0.7) !important;
}
body .he-account .select2-container .select2-selection--single {
  height: 48px !important;
  background: var(--paper) !important;
  background-color: var(--paper) !important;
  border: 1px solid var(--paper-2) !important;
  border-radius: 9px !important;
  display: flex !important;
  align-items: center !important;
  padding: 0 14px !important;
}

/* =====================================================================
   RESPONSIVE / MEDIA QUERIES
   All responsive rules are consolidated here, grouped by section
   (shop · cart/checkout · thank you · account).
   ===================================================================== */

/* ---------------- max-width: 980px ---------------- */
@media (max-width: 980px) {
  /* Cart / Checkout */
  .he-cartgrid,
  .he-checkgrid,
  .he-acctgrid,
  .he-account .woocommerce-Addresses {
    grid-template-columns: 1fr;
  }
  .he-summary,
  .he-checkside,
  .he-account .woocommerce-MyAccount-navigation {
    position: static;
  }
  .he-checkcol .woocommerce-billing-fields,
  .he-checkcol .woocommerce-shipping-fields,
  .he-checkcol .woocommerce-additional-fields,
  .he-checkcol .woocommerce-account-fields,
  .he-checkside {
    padding: 24px;
  }

  /* Account */
  .he-account .woocommerce-MyAccount-navigation ul {
    display: grid;
    grid-template-columns: 1fr;
  }
  .he-stat3 {
    grid-template-columns: 1fr 1fr;
  }
}

/* ---------------- max-width: 680px ---------------- */
@media (max-width: 680px) {
  /* Thank you / Order received */
  .he-thankyou .woocommerce-customer-details .woocommerce-columns--addresses,
  .he-stat3,
  .he-account .woocommerce-MyAccount-navigation ul {
    grid-template-columns: 1fr;
  }
  .he-thankyou .woocommerce-order-details,
  .he-thankyou .woocommerce-customer-details,
  .he-ty-hero,
  .he-account .woocommerce-Address,
  .he-summary {
    padding: 16px;
  }

  /* Account */
  .he-acct-table thead {
    display: none;
  }
  .he-acct-table,
  .he-acct-table tbody,
  .he-acct-table tr,
  .he-acct-table td {
    display: block;
  }
  .he-acct-table tr {
    border-top: 1px solid var(--paper);
    padding: 12px 0;
  }
  .he-acct-table td {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    border-top: none;
    padding: 8px 0;
    text-align: right;
  }
  .he-acct-table td::before {
    content: attr(data-title);
    color: #8a8f98;
    font-weight: 600;
    font-size: 0.78rem;
  }
}

/* ---------------- max-width: 620px ---------------- */
@media (max-width: 620px) {
  /* Cart / Checkout */
  .he-citem {
    grid-template-columns: 72px 1fr;
    grid-template-rows: auto auto auto;
    gap: 8px 16px;
  }
  .he-cthumb {
    width: 72px;
    height: 64px;
    grid-row: span 3;
    align-self: start;
  }
  .he-cqty,
  .he-cprice {
    grid-column: 2;
  }
  .he-cprice {
    text-align: left;
  }
  .he-cremove {
    position: absolute;
  }
  .he-citem {
    position: relative;
  }
  .he-cremove {
    top: 14px;
    right: 14px;
  }
  .he-checkout .woocommerce-billing-fields__field-wrapper,
  .he-checkout .woocommerce-shipping-fields__field-wrapper,
  .he-checkout .woocommerce-additional-fields__field-wrapper {
    grid-template-columns: 1fr;
  }
  .he-cartfoot,
  .he-coupon {
    flex-direction: column;
    align-items: stretch;
  }
  .he-coupon input {
    min-width: 0;
  }
  .he-checkcol .woocommerce-billing-fields,
  .he-checkcol .woocommerce-shipping-fields,
  .he-checkcol .woocommerce-additional-fields,
  .he-checkcol .woocommerce-account-fields,
  .he-checkside,
  .he-account .woocommerce-MyAccount-content form {
    padding: 16px;
  }
  .he-account .woocommerce-MyAccount-content fieldset {
    padding: 0;
    border: 0;
    margin-top: 20px;
  }
  .he-account .woocommerce-MyAccount-content fieldset legend {
    padding: 0;
  }
  .he-account .woocommerce form .form-row-first,
  .he-account .woocommerce-page form .form-row-first,
  .he-account .woocommerce form .form-row-last,
  .he-account .woocommerce-page form .form-row-last {
    float: inherit;
    width: 100%;
  }
}

/* ====================== LOGIN / REGISTER ======================
   Standalone login/register page. Wrapper is .he-account .he-login, so it
   inherits the account design tokens (fonts, palette, reset). */
.he-login .he-loginrow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}
/* When registration is disabled, centre the single login card. */
.he-login .he-loginrow--single {
  grid-template-columns: minmax(0, 460px);
  justify-content: center;
}
.he-login .he-logincard {
  background: #fff;
  border: 1px solid var(--paper-2);
  border-radius: 16px;
  padding: 30px 30px 34px;
  box-shadow: 0 18px 40px -28px rgba(0, 0, 0, 0.45);
}
.he-login .he-logincard__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}
.he-login .he-logincard__ic {
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: #fff;
}
.he-login .he-logincard--register .he-logincard__ic {
  background: var(--ink);
}
.he-login .he-logincard__head h2 {
  font-family: var(--display);
  font-size: 1.5rem;
  line-height: 1.1;
  margin: 0;
  color: var(--ink);
}
.he-login .he-logincard__sub {
  margin: 3px 0 0;
  font-size: 0.85rem;
  color: #8a8f98;
}
.he-login .form-row {
  margin: 0 0 16px;
  padding: 0;
}
.he-login label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #3a3f46;
  margin-bottom: 7px;
}
.he-login label .required {
  color: var(--accent);
  border: none;
  text-decoration: none;
}
.he-login .input-text,
.he-login input[type="text"],
.he-login input[type="email"],
.he-login input[type="password"] {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 1.5px solid var(--paper-2);
  border-radius: 8px;
  background: var(--paper);
  font-size: 0.95rem;
  font-family: var(--body);
  color: var(--ink);
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}
.he-login .input-text:focus,
.he-login input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(232, 67, 27, 0.12);
  background: #fff;
}
/* Native WooCommerce password show/hide toggle. */
.he-login .password-input {
  display: block;
  position: relative;
}
.he-login .password-input input {
  padding-right: 44px;
}
.he-login .show-password-input {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
}
.he-login .he-btn-accent {
  width: 100%;
  justify-content: center;
  height: 50px;
  font-size: 0.9rem;
}
.he-login .he-login__actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 6px 0 0;
}
.he-login .woocommerce-form-login .he-login__actions .woocommerce-form-login__rememberme.woocommerce-form__label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  color: #6b7280;
  margin: 0;
  cursor: pointer;
}
.he-login .woocommerce-form-login__rememberme input {
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
}
.he-login .lost_password {
  margin: 16px 0 0;
  font-size: 0.88rem;
}
.he-login .lost_password a {
  color: var(--accent);
  font-weight: 600;
}
.he-login .lost_password a:hover {
  text-decoration: underline;
}
.he-login .he-login__hint,
.he-login .he-login__privacy {
  font-size: 0.82rem;
  color: #8a8f98;
  line-height: 1.55;
  margin: 0 0 16px;
}
.he-login .he-login__privacy:empty {
  display: none;
}
.he-login .he-login__privacy a {
  color: var(--accent);
}

/* WooCommerce core (.woocommerce form.login / .woocommerce form .form-row
   input.input-text) out-ranks the base rules above, so it re-adds a bordered
   box around the form and resets the inputs. Re-assert with a compound
   .he-account.he-login prefix so our styling wins on specificity. */
.he-account.he-login form.login,
.he-account.he-login form.register {
  border: 0;
  padding: 0;
  margin: 0;
  border-radius: 0;
}
.he-account.he-login .form-row input.input-text,
.he-account.he-login .form-row input[type="text"],
.he-account.he-login .form-row input[type="email"],
.he-account.he-login .form-row input[type="password"] {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 1.5px solid var(--paper-2);
  border-radius: 8px;
  background: var(--paper);
  font-size: 0.95rem;
  color: var(--ink);
  box-shadow: none;
}
.he-account.he-login .password-input input {
  padding-right: 44px;
}
.he-account.he-login .form-row input.input-text:focus,
.he-account.he-login .form-row input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(232, 67, 27, 0.12);
  background: #fff;
}
/* Lost / reset password forms use form-row-first/last; in the single card we
   want them stacked full width, not WooCommerce's floated ~47% columns. */
.he-account.he-login .lost_reset_password .form-row,
.he-account.he-login .he-logincard .form-row-first,
.he-account.he-login .he-logincard .form-row-last {
  width: 100%;
  float: none;
  margin: 0 0 16px;
}
.he-account.he-login .lost_reset_password .clear {
  display: none;
}
.woocommerce-form-register p {
  font-size: 0.87rem;
}

.woocommerce-form br,
.he-account br,
.he-account p:empty,
.page-id-619.woocommerce-account .elementor-element-2cf93d8,
.he-account .woocommerce-form-row.form-row.he-login__actions::after,
.he-account .woocommerce-form-row.form-row.he-login__actions::before,
.he-account .form-row.he-login__actions::after,
.he-account .form-row.he-login__actions::before,
.he-cart .woocommerce-shipping-totals.shipping,
.he-cart p:empty,
.he-trust br,
.he-checkout p:empty,
.he-checkout br,
.he-checkout .woocommerce-shipping-fields::before,
.he-checkout .woocommerce-shipping-fields h3::before,
.he-checkout .woocommerce-checkout-payment .wc_payment_methods::before,
.he-checkout .woocommerce-checkout-payment .wc_payment_methods::after,
.he-checkout .woocommerce-checkout-payment .wc_payment_methods li::before,
.he-checkout .woocommerce-checkout-payment .wc_payment_methods li::after,
.he-checkout .woocommerce-checkout-payment .wc_payment_methods li.wc_payment_method.payment_method_stripe_cc label::after,
.he-account .woocommerce-privacy-policy-text {
  display: none !important;
}
.he-account .he-logincard {
  align-self: stretch;
}
.he-account .he-logincard.he-logincard--register .woocommerce-form-row.he-login__actions {
  margin-top: 36px;
}
.page-id-619.woocommerce-account.logged-in .elementor-element-2cf93d8 {
  display: flex !important;
}
.he-account .woocommerce-form-row.form-row.he-login__actions,
.he-account .form-row.he-login__actions,
.woocommerce .he-account form .form-row {
  padding: 0;
}
.woocommerce form .woocommerce-billing-fields__field-wrapper .form-row,
.he-checkout .woocommerce-shipping-fields h3 {
  padding: 0;
  margin: 0;
}
.he-checkout .woocommerce-shipping-fields .shipping_address {
  padding-top: 20px;
}
.he-checkout .woocommerce-checkout-payment .wc_payment_methods li .wc-stripe-card-icons-container {
  float: none;
}
.he-checkout .woocommerce-checkout-payment .wc_payment_methods li > input[type="radio"] {
  margin-right: 2px;
  vertical-align: middle;
}
@media (max-width: 767px) {
  .he-login .he-loginrow {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .he-login .he-logincard {
    padding: 20px;
  }
}