/*
 * enitan hope: Order confirmation (OC codes) and My account (A codes).
 * Canvas OrderConfirmationV2 (+Mobile), AccountPagesV2 (+Mobile). Loaded on the account page
 * and the order-received page only (inc/account.php). Tokens only. Breakpoints 690px / 1000px.
 */

/* ---------- Shared bits ---------- */
.eh-oc, .eh-acc, .eh-acc-head { color: var(--wp--preset--color--ink); }
.eh-cap { font-family: var(--wp--preset--font-family--sans); font-size: var(--wp--preset--font-size--label); font-weight: 500; letter-spacing: .2em; text-transform: uppercase; line-height: 1.4; }
.eh-muted { color: var(--wp--preset--color--stone); }
.eh-oc h1, .eh-oc h2, .eh-acc h2, .eh-acc-head h1 { font-family: var(--wp--preset--font-family--serif); font-weight: 500; margin: 0; color: var(--wp--preset--color--ink); }
.eh-oc p, .eh-acc p { margin: 0; }

/* .eh-btn (buttons) now lives in forms.css, loaded on every page. */

.eh-tl, .eh-tl:visited { color: var(--wp--preset--color--ink); text-decoration: underline; text-decoration-color: var(--wp--preset--color--paper-line); text-underline-offset: 4px; transition: text-decoration-color var(--wp--custom--eh--motion); }
@media (hover: hover) and (pointer: fine) { .eh-tl:hover { color: var(--wp--preset--color--ink); text-decoration-color: var(--wp--preset--color--ink); } }
.eh-oc a:focus-visible, .eh-acc a:focus-visible, .eh-acc-head a:focus-visible { outline: var(--wp--custom--eh--focus); outline-offset: 2px; }

/* Order lines (OC-06, A-12) */
.eh-olines { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.eh-olines li { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 14px; align-items: center; margin: 0; font-size: 14px; }
.eh-olines--lg li { grid-template-columns: 64px minmax(0, 1fr) auto; gap: var(--wp--preset--spacing--s); }
.eh-olines__th { display: flex; align-items: center; justify-content: center; aspect-ratio: var(--wp--custom--eh--media--product); background: var(--wp--preset--color--white); }
.eh-a12 .eh-olines__th { background: var(--wp--preset--color--studio-grey); }
.eh-olines__th img { width: 58%; height: auto; display: block; box-shadow: 0 4px 10px rgba(26, 26, 26, .14); }
.eh-olines__name { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.eh-olines__name > :first-child { font-weight: 500; }
.eh-olines__name a { color: var(--wp--preset--color--ink); text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .eh-olines__name a:hover { text-decoration: underline; text-underline-offset: 4px; } }
.eh-olines__sub { font-size: 12px; color: var(--wp--preset--color--stone); }
.eh-olines__price { white-space: nowrap; }

/* Totals */
.eh-tot { display: flex; flex-direction: column; gap: 10px; padding-top: var(--wp--preset--spacing--s); border-top: 1px solid var(--wp--preset--color--paper-line); }
.eh-tot__row { display: flex; justify-content: space-between; gap: 12px; font-size: var(--wp--preset--font-size--small); }
.eh-tot__row--total { border-top: var(--wp--custom--eh--border-strong); padding-top: 14px; font-size: var(--wp--preset--font-size--body-lg); font-weight: 500; }
.eh-tot .eh-tot__row--total { margin-top: 2px; padding-top: 12px; font-size: 17px; }

/* Detail list */
.eh-dl { margin: 0; display: flex; flex-direction: column; gap: 14px; font-size: 14px; line-height: 1.5; }
.eh-dl > div { margin: 0; }
.eh-dl dt { margin: 0 0 2px; font-size: var(--wp--preset--font-size--label); font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--wp--preset--color--stone); }
.eh-dl dd { margin: 0; }

/* Our own spacing replaces Blocksy's content-area spacing on these pages. */
body.eh-oc-page .ct-container-full[data-vertical-spacing],
body.eh-account-page .ct-container-full[data-vertical-spacing] { padding-top: 0; padding-bottom: 0; }

/* ---------- Order confirmation (OC) ---------- */
.eh-oc-page .woocommerce-notices-wrapper:empty { display: none; }
.eh-oc { padding: 56px 0 var(--wp--custom--eh--footer-gap); }
.eh-oc__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--wp--custom--eh--gutter); align-items: start; }
.eh-oc__main { grid-column: 1 / span 7; display: flex; flex-direction: column; }
.eh-oc01 { display: flex; flex-direction: column; gap: 20px; padding-bottom: var(--wp--preset--spacing--xl); }
.eh-oc01__ok { display: inline-flex; align-items: center; gap: 10px; }
.eh-oc01__title { font-size: var(--wp--preset--font-size--h-1) !important; line-height: 1 !important; letter-spacing: -.015em; }
.eh-oc .eh-oc01__text { max-width: 620px; font-size: 17px; line-height: 1.7; }
.eh-oc01__text strong { font-weight: 500; }
.eh-oc__acts { display: flex; flex-wrap: wrap; gap: 12px; }
.eh-oc-sec { display: flex; flex-direction: column; gap: 20px; padding: var(--wp--preset--spacing--xl) 0; border-top: var(--wp--custom--eh--border); }
.eh-oc-sec h2, .eh-oc06__title { font-size: var(--wp--preset--font-size--h-3); line-height: 1.1; }
/* OC-03 Save your details (guests): warm paper box, C-12 fields (forms.css). */
.eh-oc03 { display: flex; flex-direction: column; gap: var(--wp--preset--spacing--s); margin-top: var(--wp--preset--spacing--xl); padding: var(--wp--preset--spacing--xl); background: var(--wp--preset--color--paper); }
.eh-oc03 h2 { font-size: var(--wp--preset--font-size--h-3); line-height: 1.1; }
.eh-oc03__lede { font-size: var(--wp--preset--font-size--small); line-height: 1.6; }
.eh-oc03__form { display: flex; flex-direction: column; gap: var(--wp--preset--spacing--m); margin-top: var(--wp--preset--spacing--2-xs); }
.eh-oc03:focus { outline: none; }

.eh-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.eh-steps li { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: var(--wp--preset--spacing--s); align-items: baseline; margin: 0; padding: var(--wp--preset--spacing--s) 0; border-bottom: var(--wp--custom--eh--border); font-size: var(--wp--preset--font-size--small); }
.eh-steps li:last-child { border-bottom: 0; }
.eh-steps__n { font-size: var(--wp--preset--font-size--label); font-weight: 500; letter-spacing: .2em; color: var(--wp--preset--color--stone); }
.eh-steps__d { font-size: var(--wp--preset--font-size--meta); color: var(--wp--preset--color--stone); text-align: right; }
.eh-oc__hooks:empty { display: none; }

.eh-oc06 { grid-column: 9 / span 4; position: sticky; top: var(--wp--preset--spacing--m); background: var(--wp--preset--color--paper); padding: var(--wp--preset--spacing--l); display: flex; flex-direction: column; gap: 20px; }
.admin-bar .eh-oc06 { top: calc(var(--wp--preset--spacing--m) + 32px); }
.eh-oc06__title .eh-muted { font-size: 20px; }
.eh-oc .eh-oc06__meta { margin-top: -10px !important; font-size: var(--wp--preset--font-size--meta); color: var(--wp--preset--color--stone); }
.eh-oc06 .eh-dl { padding-top: var(--wp--preset--spacing--s); border-top: 1px solid var(--wp--preset--color--paper-line); }
.eh-oc06__acts { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.eh-oc06__acct { display: inline-flex; align-items: center; min-height: var(--wp--custom--eh--tap); font-size: var(--wp--preset--font-size--meta); }
.eh-oc .eh-oc06__help { font-size: var(--wp--preset--font-size--meta); line-height: 1.6; color: var(--wp--preset--color--stone); }

/* ---------- My account (A) ---------- */
.eh-acc-head { padding-top: 56px; }
.eh-acc-head .eh-crumb [aria-current="page"] { color: var(--wp--preset--color--ink); }
.eh-acc-head__title { margin: 16px 0 var(--wp--preset--spacing--xl) !important; font-size: 56px !important; line-height: 1 !important; letter-spacing: -.015em; }
.eh-acc { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--wp--custom--eh--gutter); align-items: start; padding-bottom: var(--wp--custom--eh--footer-gap); }
.eh-acc .eh-anav { grid-column: 1 / span 3; float: none; width: auto; margin: 0; }
.eh-acc .eh-acc__main { grid-column: 4 / span 9; float: none; width: auto; min-width: 0; margin: 0; display: flex; flex-direction: column; gap: var(--wp--preset--spacing--m); }

/* Blocksy wraps the account in a flex row and styles its own menu: undo both. */
body.eh-account-page .woocommerce.ct-woo-account { display: block; }

/* A-00 menu (body prefix beats Blocksy's .woocommerce-MyAccount-navigation rules) */
body.eh-account-page .eh-anav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; border-top: var(--wp--custom--eh--border); font-size: 14px; }
body.eh-account-page .eh-anav ul li { margin: 0; padding: 0; border: 0; }
body.eh-account-page .eh-anav ul li a { display: flex; align-items: center; height: auto; min-height: var(--wp--custom--eh--control); padding: 0 var(--wp--preset--spacing--s); border-bottom: var(--wp--custom--eh--border); border-left: 2px solid transparent; font-size: 14px; font-weight: 400; color: var(--wp--preset--color--ink); background: transparent; text-decoration: none; transition: background var(--wp--custom--eh--motion); }
body.eh-account-page .eh-anav ul li a::before { content: none; display: none; }
@media (hover: hover) and (pointer: fine) { body.eh-account-page .eh-anav ul li:hover a { background: var(--wp--preset--color--paper); color: var(--wp--preset--color--ink); } }
body.eh-account-page .eh-anav ul li a[aria-current="page"] { border-left-color: var(--wp--preset--color--blue); background: var(--wp--preset--color--paper); color: var(--wp--preset--color--ink); font-weight: 500; }

/* WooCommerce's own notices inside the account (e.g. "Confirm email address") */
.eh-acc__main .woocommerce-notices-wrapper:empty { display: none; }
.eh-acc__main > .woocommerce-info, .eh-acc__main > .woocommerce-message { margin: 0; }

/* A-10 Orders list */
.eh-a10 { display: flex; flex-direction: column; gap: var(--wp--preset--spacing--m); }
.eh-ords { list-style: none; margin: 0; padding: 0; border-top: var(--wp--custom--eh--border); }
.eh-ords > li { display: grid; grid-template-columns: 120px minmax(0, 1fr) auto; gap: var(--wp--preset--spacing--m); align-items: center; margin: 0; padding: var(--wp--preset--spacing--m) 0; border-bottom: var(--wp--custom--eh--border); }
.eh-fan { position: relative; height: 96px; }
.eh-fan img { position: absolute; top: 8px; left: 0; width: 56px; height: auto; box-shadow: 0 6px 14px rgba(26, 26, 26, .16); }
.eh-fan img:nth-child(1):not(:only-child) { transform: rotate(-6deg); }
.eh-fan img:nth-child(2) { left: 28px; top: 4px; }
.eh-fan img:nth-child(3) { left: 56px; transform: rotate(6deg); }
.eh-ords__info { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.eh-ords__num { font-family: var(--wp--preset--font-family--serif); font-size: 26px; font-weight: 500; line-height: 1.1; }
.eh-ords__meta { font-size: 14px; color: var(--wp--preset--color--stone); }
.eh-stat { display: inline-flex; align-items: center; gap: 8px; font-size: var(--wp--preset--font-size--meta); }
.eh-stat i { flex: none; display: inline-block; width: 10px; height: 10px; border-radius: 50%; }
.eh-stat--now i { background: var(--wp--preset--color--yellow); box-shadow: 0 0 0 1px var(--wp--preset--color--ink); }
.eh-stat--done i { background: var(--wp--preset--color--ink); }
.eh-stat--off i { background: var(--wp--preset--color--muted); }
.eh-ords__acts { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px; }
.eh-ords__pages { display: flex; justify-content: space-between; gap: 12px; }
.eh-acc-note, .eh-a13__help { font-size: var(--wp--preset--font-size--meta); line-height: 1.6; color: var(--wp--preset--color--stone); }
.eh-empty { display: flex; flex-direction: column; align-items: flex-start; gap: var(--wp--preset--spacing--s); padding: var(--wp--preset--spacing--xl) 0; border-top: var(--wp--custom--eh--border); border-bottom: var(--wp--custom--eh--border); }
.eh-empty h2 { font-size: var(--wp--preset--font-size--h-3); }

/* A-11 to A-13 One order */
.eh-order { display: flex; flex-direction: column; gap: var(--wp--preset--spacing--m); }
.eh-abox { display: flex; flex-direction: column; gap: 18px; padding: var(--wp--preset--spacing--l); box-sizing: border-box; }
.eh-abox h2 { font-size: var(--wp--preset--font-size--h-3); line-height: 1.1; }
.eh-a11 { border: 2px solid var(--wp--preset--color--ink); }
.eh-a12 { border: var(--wp--custom--eh--border); }
.eh-a13 { background: var(--wp--preset--color--paper); }
.eh-a13__help { padding-top: var(--wp--preset--spacing--s); border-top: 1px solid var(--wp--preset--color--paper-line); color: var(--wp--preset--color--ink); }
.eh-a14 { border: var(--wp--custom--eh--border); }
.eh-hrow { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: var(--wp--preset--spacing--s); }
.eh-hrow .eh-muted { font-size: 14px; }
.eh-a11__line { font-size: var(--wp--preset--font-size--small); }
.eh-a11__acts { display: flex; flex-wrap: wrap; gap: 12px; }
.eh-a11__acts:empty { display: none; }
.eh-twocol { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--wp--custom--eh--gutter); align-items: stretch; }

.eh-track { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); font-size: 12px; color: var(--wp--preset--color--stone); }
.eh-track li { position: relative; display: flex; flex-direction: column; gap: 8px; margin: 0; padding-top: 2px; }
.eh-track li::before { content: ""; position: absolute; top: 9px; left: 20px; right: 0; height: 2px; background: var(--wp--preset--color--paper-line); }
.eh-track li:last-child::before { display: none; }
.eh-track li.done::before { background: var(--wp--preset--color--ink); }
.eh-track__dot { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; box-sizing: border-box; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--wp--preset--color--paper-line); background: var(--wp--preset--color--white); color: var(--wp--preset--color--white); }
.eh-track li.done .eh-track__dot { background: var(--wp--preset--color--ink); border-color: var(--wp--preset--color--ink); }
.eh-track li.now .eh-track__dot { background: var(--wp--preset--color--yellow); border-color: var(--wp--preset--color--ink); }
.eh-track li.done > span:last-child, .eh-track li.now > span:last-child { color: var(--wp--preset--color--ink); }
.eh-track li.now > span:last-child { font-weight: 600; }

.eh-notes { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--wp--preset--spacing--s); font-size: 14px; line-height: 1.6; }
.eh-notes li { margin: 0; display: flex; flex-direction: column; gap: 4px; }
.eh-notes .eh-muted { font-size: 12px; }

/* ---------- Page head extras (Overview kicker, Favourites count, line and actions) ---------- */
.eh-acc-head--kicker .eh-acc-head__kicker { margin: 24px 0 12px; }
.eh-acc-head--kicker .eh-acc-head__title { margin-top: 0 !important; }
.eh-acc-head:has(.eh-acc-head__sub) .eh-acc-head__title { margin-bottom: 12px !important; }
.eh-acc-head__sub { margin: 0 0 var(--wp--preset--spacing--xl); font-size: 15px; }
.eh-acc-head__count { font-size: 36px; color: var(--wp--preset--color--stone); letter-spacing: 0; }
.eh-acc-head--split { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; column-gap: var(--wp--custom--eh--gutter); }
.eh-acc-head__acts { margin-bottom: var(--wp--preset--spacing--xl); }
.eh-acc-head__acts[hidden] { display: none; }
.eh-acc-head__title:focus { outline: none; }
.eh-fav-cart { margin: 0; }

/* ---------- Shared account bits (Overview, Rewards, Favourites) ---------- */
.eh-small, .eh-acc .eh-small { font-size: var(--wp--preset--font-size--meta); line-height: 1.6; }
.eh-small-link { font-size: var(--wp--preset--font-size--meta); display: inline-flex; align-items: center; min-height: 32px; }
.eh-asec { display: flex; flex-direction: column; gap: 18px; padding-top: var(--wp--preset--spacing--xl); margin-top: var(--wp--preset--spacing--s); border-top: var(--wp--custom--eh--border); }
.eh-asec h2 { font-size: var(--wp--preset--font-size--h-3); line-height: 1.1; }
.eh-abox > .eh-btn, .eh-a01__btn { align-self: flex-start; }
.eh-thumb { display: flex; align-items: center; justify-content: center; aspect-ratio: var(--wp--custom--eh--media--product); background: var(--wp--preset--color--studio-grey); }
.eh-thumb img { width: 56%; height: auto; display: block; box-shadow: 0 10px 24px rgba(26, 26, 26, .14); transition: transform var(--wp--custom--eh--motion); }
@media (hover: hover) and (pointer: fine) { a.eh-thumb:hover img { transform: translateY(-3px); } }
.eh-thumbs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--wp--preset--spacing--s); }
.eh-thumbs--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.eh-thumbs li { margin: 0; }
.eh-thumbs a:focus-visible { outline: var(--wp--custom--eh--focus); outline-offset: 2px; }

/* A-01 / A-01b / A-02 Overview boxes */
.eh-a01 { border: 2px solid var(--wp--preset--color--ink); }
.eh-a01__row { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 18px; align-items: center; }
.eh-a01__row .eh-thumb img { width: 58%; box-shadow: 0 6px 14px rgba(26, 26, 26, .14); }
.eh-a01__info { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.eh-a01b { border: var(--wp--custom--eh--border); }
.eh-a02 { background: var(--wp--preset--color--paper); }
.eh-a21 { border: var(--wp--custom--eh--border); }
.eh-a21 h2 strong { font-weight: 600; }
.eh-money { display: flex; flex-direction: column; gap: 4px; }
.eh-acc .eh-money__n { font-size: 52px; line-height: 1; }
.eh-money p { font-size: 15px; }
.eh-a02__to { font-size: 14px; }
.eh-a02__to strong, .eh-a02__lede strong, .eh-a02__prog strong { font-weight: 600; }
.eh-a02__lede { font-size: 15px; line-height: 1.7; }
.eh-a02__prog { display: flex; flex-direction: column; gap: 12px; padding-top: 18px; border-top: 1px solid var(--wp--preset--color--paper-line); }
.eh-a02__prog .eh-hrow p { font-size: 15px; }
.eh-twocol--57 { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }

/* Points bar (A-02b, A-21): outlined, segments = purchases / referrals / pending (Beta). */
.eh-seg { display: flex; height: 12px; border: 1px solid var(--wp--preset--color--stone); box-sizing: border-box; overflow: hidden; }
.eh-seg span { display: block; height: 100%; }
.eh-seg__p { background: var(--wp--preset--color--ink); }
.eh-seg__r { background: var(--wp--preset--color--blue); }
.eh-seg__pe { background: repeating-linear-gradient(135deg, var(--wp--preset--color--blue) 0 3px, var(--wp--preset--color--paper-line) 3px 6px); }
.eh-key { display: flex; flex-wrap: wrap; column-gap: 16px; font-size: 12px; line-height: 1.8; }
.eh-key span { display: inline-flex; align-items: center; gap: 6px; }
.eh-key i { display: inline-block; width: 10px; height: 10px; flex: none; }

/* A-22 history, A-23 how it works */
.eh-actw { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--wp--preset--spacing--xl); }
.eh-actw__col { display: flex; flex-direction: column; gap: 6px; }
.eh-actw__col h3 { margin: 0; }
.eh-act { list-style: none; margin: 0; padding: 0; }
.eh-act li { display: grid; grid-template-columns: 92px minmax(0, 1fr) auto; gap: var(--wp--preset--spacing--s); align-items: baseline; margin: 0; padding: 14px 0; border-bottom: var(--wp--custom--eh--border); font-size: 14px; }
.eh-act__dt { font-size: var(--wp--preset--font-size--meta); color: var(--wp--preset--color--stone); }
.eh-act__sub { display: block; margin-top: 2px; font-size: 12px; color: var(--wp--preset--color--stone); }
.eh-act__amt { font-weight: 500; text-align: right; white-space: nowrap; }
.eh-how3 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--wp--custom--eh--gutter); }
.eh-how3 li { display: flex; flex-direction: column; gap: 10px; margin: 0; padding-top: var(--wp--preset--spacing--s); border-top: 2px solid var(--wp--preset--color--ink); font-size: 14px; line-height: 1.6; }
.eh-how3 strong { font-family: var(--wp--preset--font-family--serif); font-size: 24px; font-weight: 500; line-height: 1.1; }

/* ---------- F-02 / F-03 Favourites ---------- */
.eh-fgrid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 48px var(--wp--custom--eh--gutter); }
.eh-ftile { display: flex; flex-direction: column; gap: var(--wp--preset--spacing--s); margin: 0; }
.eh-ftile__media { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: var(--wp--custom--eh--media--product); background: var(--wp--preset--color--studio-grey); }
.eh-ftile__img { display: flex; width: 56%; }
.eh-ftile__img img { width: 100%; height: auto; display: block; box-shadow: var(--wp--preset--shadow--card); transition: transform var(--wp--custom--eh--motion); }
@media (hover: hover) and (pointer: fine) { .eh-ftile__img:hover img { transform: scale(var(--wp--custom--eh--zoom)); } }
.eh-ftile__info { display: flex; flex-direction: column; gap: 4px; }
.eh-ftile__name, .eh-ftile__name:visited { font-size: 15px; font-weight: 500; line-height: 1.35; color: var(--wp--preset--color--ink); text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .eh-ftile__name:hover { text-decoration: underline; text-underline-offset: 4px; } }
.eh-ftile__meta { font-size: var(--wp--preset--font-size--meta); color: var(--wp--preset--color--stone); }
.eh-ftile__price { margin-top: 6px; font-size: 15px; font-weight: 500; color: var(--wp--preset--color--ink); }
.eh-ftile__price .eh-price-alt { font-weight: 400; font-size: var(--wp--preset--font-size--meta); color: var(--wp--preset--color--stone); }
.eh-ftile .eh-fav-cart { margin-top: auto; }
.eh-f02[hidden], .eh-f03[hidden] { display: none; }
.eh-f03 { display: flex; flex-direction: column; align-items: center; gap: 20px; padding: 64px var(--wp--preset--spacing--l); background: var(--wp--preset--color--paper); text-align: center; }
.eh-acc .eh-f03 h2 { font-size: 34px; }
.eh-f03 p { font-size: 15px; line-height: 1.6; }

/* ---------- A-30 Addresses ---------- */
.eh-a30 { display: flex; flex-direction: column; gap: var(--wp--preset--spacing--m); }
.eh-a30__lede { font-size: 15px; }
.eh-addr { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--wp--custom--eh--gutter); }
.eh-addr > li { margin: 0; }
.eh-acard { display: flex; flex-direction: column; gap: 12px; height: 100%; padding: 28px; box-sizing: border-box; border: var(--wp--custom--eh--border); font-size: 15px; line-height: 1.6; }
.eh-acard--def { border: 2px solid var(--wp--preset--color--ink); padding: 27px; }
.eh-acard address { margin: 0; font-style: normal; }
.eh-acard__acts { display: flex; gap: 20px; margin-top: auto !important; padding-top: 8px; font-size: var(--wp--preset--font-size--meta); }
.eh-addnew, .eh-addnew:visited {
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; min-height: 220px; height: 100%; box-sizing: border-box;
	border: 1px dashed var(--wp--preset--color--stone); color: var(--wp--preset--color--ink); text-decoration: none;
	font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
	transition: background var(--wp--custom--eh--motion), border-color var(--wp--custom--eh--motion);
}
@media (hover: hover) and (pointer: fine) { .eh-addnew:hover { background: var(--wp--preset--color--paper); border-color: var(--wp--preset--color--ink); color: var(--wp--preset--color--ink); } }

/* Delivery address form: WooCommerce's fields in the C-12 look. */
.eh-addr-form { max-width: 640px; }
.eh-addr-form .woocommerce-address-fields__field-wrapper { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--wp--preset--spacing--m); }
.eh-addr-form .woocommerce-address-fields__field-wrapper::before, .eh-addr-form .woocommerce-address-fields__field-wrapper::after { content: none; display: none; }
.eh-addr-form .form-row { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 6px; width: auto; float: none; margin: 0; padding: 0; }
.eh-addr-form .form-row-first { grid-column: 1; }
.eh-addr-form .form-row-last { grid-column: 2; }
.eh-addr-form .form-row label { margin: 0; font-size: var(--wp--preset--font-size--meta); font-weight: 400; line-height: 1.4; color: var(--wp--preset--color--stone); }
.eh-addr-form .form-row abbr.required { color: var(--wp--preset--color--stone); text-decoration: none; border: 0; }
.eh-addr-form .woocommerce-input-wrapper { display: block; width: 100%; }
.eh-addr-form .form-row :is(input.input-text, select) {
	--theme-form-field-height: var(--wp--custom--eh--field);
	width: 100%; height: var(--wp--custom--eh--field); box-sizing: border-box;
	margin: 0; padding: 0; border: 0 !important; border-bottom: var(--wp--custom--eh--border-strong) !important; border-radius: 0; background: transparent; box-shadow: none;
	font-family: var(--wp--preset--font-family--sans); font-size: var(--wp--preset--font-size--body); color: var(--wp--preset--color--ink);
}
@media (hover: hover) and (pointer: fine) { .eh-addr-form .form-row :is(input.input-text, select):hover { border-bottom-width: 2px !important; } }
.eh-addr-form .form-row :is(input.input-text, select):focus-visible { outline: var(--wp--custom--eh--focus); outline-offset: 2px; }
.eh-addr-form .form-row.woocommerce-invalid input.input-text { border-bottom: 2px solid var(--wp--preset--color--error) !important; }
.eh-addr-form .form-row strong { font-weight: 400; font-size: var(--wp--preset--font-size--body); }
.eh-addr-form__acts { display: flex; flex-wrap: wrap; align-items: center; gap: var(--wp--preset--spacing--m); margin-top: var(--wp--preset--spacing--l); }

/* ---------- A-40 to A-43 Details & email preferences ---------- */
.eh-fsec { display: flex; flex-direction: column; gap: 20px; padding: var(--wp--preset--spacing--xl) 0; border-top: var(--wp--custom--eh--border); }
.eh-fsec--first { padding-top: 0; border-top: 0; }
.eh-acc .eh-fsec h2 { font-size: var(--wp--preset--font-size--h-3); line-height: 1.1; }
.eh-acc .eh-fsec .eh-fsec__h-sm { font-size: 22px; }
.eh-fsec__form { display: flex; flex-direction: column; gap: var(--wp--preset--spacing--m); max-width: 560px; margin: 0; }
.eh-fsec__form--tight { gap: var(--wp--preset--spacing--s); }
.eh-checks { margin: 0; padding: 0; border: 0; min-width: 0; }
.eh-pw-form .password-input { position: relative; display: block; width: 100%; }
.eh-pw-form .password-input input { padding-right: var(--wp--custom--eh--tap) !important; }
.eh-pw-form [class*="password-input"] .show-password-input {
	top: 0; inset-inline-end: 0; width: var(--wp--custom--eh--tap); height: var(--wp--custom--eh--tap);
	margin: 0; padding: 0; border: 0; border-radius: 0;
	background-color: var(--wp--preset--color--ink);
	mask-size: 18px 18px; mask-position: center; mask-repeat: no-repeat;
	-webkit-mask-size: 18px 18px; -webkit-mask-position: center; -webkit-mask-repeat: no-repeat;
	cursor: pointer;
}
.eh-pw-form .password-input:has(.show-password-input:focus-visible) { outline: var(--wp--custom--eh--focus); outline-offset: 2px; }

/* ---------- SI-01 Sign in · SI-02 Join free (canvas SignInV2), forgotten password ---------- */
.eh-si { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--wp--custom--eh--gutter); align-items: stretch; padding: 64px 0 var(--wp--custom--eh--footer-gap); color: var(--wp--preset--color--ink); }
.eh-si--one { grid-template-columns: minmax(0, 1fr); max-width: 640px; }
.eh-si__panel { display: flex; flex-direction: column; gap: 20px; padding: var(--wp--preset--spacing--xl); box-sizing: border-box; border: var(--wp--custom--eh--border); }
.eh-si__panel--paper { background: var(--wp--preset--color--paper); border-color: var(--wp--preset--color--paper); }
.eh-si h1, .eh-si h2 { margin: 0; font-family: var(--wp--preset--font-family--serif); font-weight: 500; line-height: 1.05; color: var(--wp--preset--color--ink); }
.eh-si h1 { font-size: 56px; letter-spacing: -.015em; }
.eh-si h2 { font-size: 44px; letter-spacing: -.01em; }
.eh-si p { margin: 0; }
.eh-si .eh-si__lede { font-size: var(--wp--preset--font-size--body); line-height: 1.7; }
.eh-si__form { display: flex; flex-direction: column; gap: var(--wp--preset--spacing--m); margin: 0; padding: 0; border: 0; }
.eh-si .eh-fld { display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 0; }
.eh-si .eh-fld label { margin: 0; font-size: var(--wp--preset--font-size--meta); font-weight: 400; line-height: 1.4; color: var(--wp--preset--color--stone); }
.eh-si .eh-fld .password-input { position: relative; display: block; width: 100%; }
.eh-si .eh-fld input.input-text {
	--theme-form-field-height: var(--wp--custom--eh--tap);
	width: 100%; height: var(--wp--custom--eh--tap); box-sizing: border-box;
	margin: 0; padding: 0; border: 0; border-bottom: var(--wp--custom--eh--border-strong); border-radius: 0;
	background: transparent; box-shadow: none;
	font-family: var(--wp--preset--font-family--sans); font-size: 16px; color: var(--wp--preset--color--ink);
}
.eh-si .eh-fld .password-input input.input-text { padding-right: var(--wp--custom--eh--tap); }
@media (hover: hover) and (pointer: fine) { .eh-si .eh-fld input.input-text:hover { border-bottom-width: 2px; } }
.eh-si .eh-fld input.input-text:focus { border-bottom-width: 2px; box-shadow: none; }
.eh-si .eh-fld input.input-text:focus-visible { outline: var(--wp--custom--eh--focus); outline-offset: 2px; }
.eh-si .eh-fld input[aria-invalid="true"] { border-bottom: 2px solid var(--wp--preset--color--error); }
/* Blocksy draws the eye as a mask on a 14px button: keep its icon, make the target 44px. */
.eh-si form [class*="password-input"] .show-password-input {
	top: 0; inset-inline-end: 0; width: var(--wp--custom--eh--tap); height: var(--wp--custom--eh--tap);
	margin: 0; padding: 0; border: 0; border-radius: 0;
	background-color: var(--wp--preset--color--ink);
	mask-size: 18px 18px; mask-position: center; mask-repeat: no-repeat;
	-webkit-mask-size: 18px 18px; -webkit-mask-position: center; -webkit-mask-repeat: no-repeat;
	cursor: pointer;
}
/* The mask hides an outline on the button itself, so the focus ring goes on the field. */
.eh-si .password-input:has(.show-password-input:focus-visible) { outline: var(--wp--custom--eh--focus); outline-offset: 2px; }
.eh-si .eh-si__lost { align-self: flex-start; display: inline-flex; align-items: center; min-height: var(--wp--custom--eh--tap); margin: -12px 0; font-size: var(--wp--preset--font-size--meta); }
.eh-si .eh-btn { width: 100%; }
.eh-si .eh-si__note { font-size: var(--wp--preset--font-size--meta); line-height: 1.6; color: var(--wp--preset--color--stone); }
.eh-si .eh-si__note .eh-tl { display: inline-block; padding: 12px 0; margin: -12px 0; color: var(--wp--preset--color--ink); }
.eh-si a:focus-visible, .eh-si button:focus-visible { outline: var(--wp--custom--eh--focus); outline-offset: 2px; }
/* WooCommerce notices on account pages: on-brand instead of Blocksy's filled boxes. */
body.eh-account-page :is(.woocommerce-error, .woocommerce-message, .woocommerce-info) {
	margin: 0; padding: 16px 20px; border: var(--wp--custom--eh--border); border-left: 4px solid var(--wp--preset--color--ink); border-radius: 0;
	background: var(--wp--preset--color--white); color: var(--wp--preset--color--ink);
	font-size: var(--wp--preset--font-size--small); line-height: 1.6;
}
body.eh-account-page .woocommerce-error { border-left-color: var(--wp--preset--color--error); }
body.eh-account-page :is(.woocommerce-error, .woocommerce-message, .woocommerce-info) a:not(.button) { color: var(--wp--preset--color--ink); text-decoration: underline; text-underline-offset: 4px; }
/* Notice buttons (e.g. "Confirm email address"): primary ink button, white text (step 25 fix: was ink on ink). */
body.eh-account-page :is(.woocommerce-error, .woocommerce-message, .woocommerce-info) a.button {
	float: none; display: inline-flex; align-items: center; justify-content: center; min-height: var(--wp--custom--eh--control);
	margin: 0 0 var(--wp--preset--spacing--xs); padding: 0 var(--wp--preset--spacing--m);
	background: var(--wp--preset--color--ink); color: var(--wp--preset--color--white); text-decoration: none; border-radius: 0;
}
@media (hover: hover) and (pointer: fine) { body.eh-account-page :is(.woocommerce-error, .woocommerce-message, .woocommerce-info) a.button:hover { background: var(--wp--preset--color--blue); color: var(--wp--preset--color--white); } }
body.eh-account-page :is(.woocommerce-error, .woocommerce-message, .woocommerce-info) a.button:focus-visible { outline: var(--wp--custom--eh--focus); outline-offset: 2px; }
body.eh-account-page :is(.woocommerce-error, .woocommerce-message, .woocommerce-info)::before { content: none; display: none; }
body.eh-account-page :is(.woocommerce-error, .woocommerce-message, .woocommerce-info) li { margin: 0; padding: 0; list-style: none; }
.eh-account-page:not(.logged-in) .woocommerce-notices-wrapper:not(:empty) { padding-top: 40px; }
.eh-account-page:not(.logged-in) .woocommerce-notices-wrapper:not(:empty) + .eh-si { padding-top: var(--wp--preset--spacing--m); }

/* ---------- Tablet and mobile ---------- */
@media (max-width: 999px) {
	.eh-oc__main { grid-column: 1 / -1; }
	.eh-oc06 { grid-column: 1 / -1; position: static; margin-top: var(--wp--preset--spacing--m); }
	.eh-acc .eh-anav { grid-column: 1 / span 4; }
	.eh-acc .eh-acc__main { grid-column: 5 / span 8; }
	.eh-twocol, .eh-twocol--57 { grid-template-columns: minmax(0, 1fr); }
	.eh-si:not(.eh-si--one) { grid-template-columns: minmax(0, 1fr); max-width: 640px; }
	.eh-fgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.eh-thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.eh-thumbs li:nth-child(n+5) { display: none; }
	.eh-thumbs--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.eh-addr { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.eh-how3 { grid-template-columns: minmax(0, 1fr); }
	.eh-actw { grid-template-columns: minmax(0, 1fr); gap: var(--wp--preset--spacing--l); }
}

@media (max-width: 689px) {
	.eh-oc { padding: 32px 0 var(--wp--custom--eh--footer-gap); }
	.eh-oc .eh-oc01__text { font-size: var(--wp--preset--font-size--body); }
	.eh-oc06 { padding: var(--wp--preset--spacing--m) 20px; }
	.eh-steps li { grid-template-columns: 32px minmax(0, 1fr); row-gap: 4px; }
	.eh-steps__d { grid-column: 2; text-align: left; }
	.eh-steps__d:empty { display: none; }
	.eh-oc__acts .eh-btn { width: 100%; }
	.eh-oc03 { padding: var(--wp--preset--spacing--m) 20px; }

	.eh-acc-head { padding-top: 32px; }
	.eh-acc-head__title { font-size: 40px !important; }
	/* align-items: stretch, so the menu row is the screen's width and scrolls (26 Nov fix: it
	   took its content's width and the items past the edge couldn't be reached). */
	.eh-acc { display: flex; flex-direction: column; align-items: stretch; gap: var(--wp--preset--spacing--m); padding-bottom: var(--wp--custom--eh--footer-gap); }
	.eh-acc > * { min-width: 0; }
	.eh-anav { margin: 0 calc(-1 * var(--wp--custom--eh--margin-mobile)) !important; }
	body.eh-account-page .eh-anav ul { flex-direction: row; gap: 8px; overflow-x: auto; scrollbar-width: none; border-top: 0; padding: 0 var(--wp--custom--eh--margin-mobile); }
	body.eh-account-page .eh-anav ul::-webkit-scrollbar { display: none; }
	body.eh-account-page .eh-anav ul li a { flex: none; min-height: var(--wp--custom--eh--tap); padding: 0 var(--wp--preset--spacing--s); border: var(--wp--custom--eh--border); white-space: nowrap; }
	body.eh-account-page .eh-anav ul li a[aria-current="page"] { background: var(--wp--preset--color--blue); border-color: var(--wp--preset--color--blue); color: var(--wp--preset--color--white); }
	.eh-acc .eh-acc__main { gap: 20px; }

	.eh-ords > li { grid-template-columns: 96px minmax(0, 1fr); gap: var(--wp--preset--spacing--s); }
	.eh-ords__acts { grid-column: 1 / -1; justify-content: stretch; }
	.eh-ords__acts .eh-btn { flex: 1 1 0; padding: 0 12px; }
	.eh-abox { padding: var(--wp--preset--spacing--m) 20px; }
	.eh-track { font-size: 11px; }
	.eh-a11__acts .eh-btn { flex: 1 1 0; }

	.eh-acc-head__count { font-size: 28px; }
	.eh-acc-head--split { display: block; }
	.eh-acc-head__acts .eh-btn { width: 100%; }
	.eh-acc .eh-money__n { font-size: 44px; }
	.eh-abox > .eh-btn, .eh-a01__btn { align-self: stretch; }
	.eh-thumbs { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
	.eh-thumbs li:nth-child(n+4) { display: none; }
	.eh-fgrid { gap: 40px 12px; }
	.eh-ftile .eh-btn { padding: 0 12px; }
	.eh-f03 { padding: var(--wp--preset--spacing--xl) 20px; }
	.eh-addr { grid-template-columns: minmax(0, 1fr); }
	.eh-addnew { min-height: 140px; }
	.eh-addr-form .woocommerce-address-fields__field-wrapper { grid-template-columns: minmax(0, 1fr); }
	.eh-addr-form .form-row-first, .eh-addr-form .form-row-last { grid-column: 1 / -1; }
	.eh-addr-form__acts .eh-btn { width: 100%; }
	.eh-act li { grid-template-columns: 64px minmax(0, 1fr) auto; gap: 12px; }

	/* SignInV2Mobile: one column; Sign in unboxed, Join on full-width paper. */
	.eh-si, .eh-si:not(.eh-si--one) { gap: 0; padding: 32px 0 var(--wp--custom--eh--footer-gap); }
	.eh-si__panel { padding: 32px 0; border: 0; }
	/* Full-bleed paper whatever Blocksy's container margin is; text stays on the page margin. */
	.eh-si__panel--paper { margin: 0 calc(50% - 50vw); padding: 32px calc(50vw - 50%); }
	.eh-si h1, .eh-si h2 { font-size: 44px; }
}

@media (prefers-reduced-motion: reduce) {
	.eh-btn, .eh-tl, .eh-anav a { transition: none; }
}

/* ================= DS-13 Sign in / Join (28 Nov; SignInV2, SignInV2Mobile) ================= */
/* Password row: label left, Show / Hide right (44px row, baseline aligned). */
.eh-si .eh-fld__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; min-height: var(--wp--custom--eh--tap); align-content: flex-end; flex-wrap: wrap; }
.eh-si .eh-fld:has(.eh-fld__row) { gap: 0; }
.eh-pwt { min-height: 24px; margin: 0; padding: 0; border: 0; background: none; box-shadow: none; cursor: pointer; font-family: var(--wp--preset--font-family--sans); font-size: 13px; font-weight: 500; line-height: 1.4; letter-spacing: 0; text-transform: none; color: var(--wp--preset--color--ink); text-decoration: underline; text-decoration-color: var(--wp--preset--color--paper-line); text-underline-offset: 4px; }
.eh-pwt[hidden] { display: none; }
@media (hover: hover) and (pointer: fine) { .eh-pwt:hover { text-decoration-color: var(--wp--preset--color--ink); background: none; color: var(--wp--preset--color--ink); } }
.eh-pwt:focus-visible { outline: var(--wp--custom--eh--focus); outline-offset: 2px; }
/* Our toggle replaces WooCommerce's eye icon on the Sign in form. */
#si-01-sign-in .show-password-input { display: none !important; }
#si-01-sign-in .password-input input.input-text { padding-right: 0; }
/* "Forgotten your password?" under the full-width button: 13px, left, 16px above. */
.eh-si .eh-si__lost { margin: -8px 0 -12px; font-size: 13px; }
/* Phone heading and tabs: only under 600px. */
.eh-si-m { display: none; }
@media (max-width: 599.98px) {
	.eh-si-m { display: block; padding-top: 32px; }
	.eh-si-m__h1 { margin: 0; font-family: var(--wp--preset--font-family--serif); font-size: 44px !important; font-weight: 500; line-height: 1.05; letter-spacing: -.01em; color: var(--wp--preset--color--ink); }
	.eh-si-m__lede { margin: 12px 0 0; font-size: var(--wp--preset--font-size--body); line-height: 1.7; color: var(--wp--preset--color--ink); }
	.eh-si-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 24px; border-bottom: var(--wp--custom--eh--border); }
	.eh-si-tab { position: relative; min-height: 48px; margin: 0; padding: 0 8px; border: 0; border-radius: 0; background: none; box-shadow: none; cursor: pointer; font-family: var(--wp--preset--font-family--sans); font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--wp--preset--color--stone); }
	.eh-si-tab[aria-selected="true"] { color: var(--wp--preset--color--ink); font-weight: 600; }
	.eh-si-tab[aria-selected="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--wp--preset--color--blue); }
	@media (hover: hover) and (pointer: fine) { .eh-si-tab:hover { color: var(--wp--preset--color--ink); background: none; } }
	.eh-si-tab:focus-visible { outline: var(--wp--custom--eh--focus); outline-offset: -2px; }
	/* Panels: white, no box; their own kicker and heading give way to "Welcome" and the tabs. */
	.eh-si-m ~ .eh-si, .eh-si-m ~ .eh-si:not(.eh-si--one) { padding-top: 24px; }
	.eh-si-m ~ .eh-si .eh-si__kick, .eh-si-m ~ .eh-si .eh-si__h { display: none; }
	.eh-si-m ~ .eh-si .eh-si__panel, .eh-si-m ~ .eh-si .eh-si__panel--paper { margin: 0; padding: 0; border: 0; background: none; }
	.eh-si-m ~ .eh-si .eh-si__panel[hidden] { display: none; }
}
/* Tablet 600–999: the desktop side-by-side layout. */
@media (min-width: 600px) and (max-width: 999.98px) {
	.eh-si:not(.eh-si--one) { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: none; gap: var(--wp--custom--eh--gutter-tablet); padding: 48px 0 var(--wp--custom--eh--footer-gap); }
	.eh-si__panel { padding: 32px; border: var(--wp--custom--eh--border); }
	.eh-si__panel--paper { margin: 0; padding: 32px; border-color: var(--wp--preset--color--paper); }
	.eh-si h1, .eh-si h2 { font-size: 40px; }
}
