/* Account dashboard (views/overrides/sections/main-account.liquid), layered on the theme's
   customer.css: same breakpoint (900px) and tab hooks; tokens only. */

.lh-acct { --lh-acct-radius: var(--radius-lg); }
.lh-acct .lh-container { max-width: 1160px; }

/* ---------- welcome header ---------- */
.lh-acct__hero {
  position: relative;
  display: grid;
  gap: var(--space-5);
  margin-bottom: var(--space-8);
  padding: var(--space-6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(90% 140% at 0% 0%, var(--lh-amber-50, var(--surface-sunken)) 0%, transparent 60%),
    var(--surface-card);
  overflow: hidden;
}
@media (min-width: 900px) {
  .lh-acct__hero { grid-template-columns: minmax(0, 1fr) auto; align-items: center; padding: var(--space-7, 28px) var(--space-8); }
}
.lh-acct__id { display: flex; align-items: center; gap: var(--space-4); min-width: 0; }
.lh-acct__avatar .lh-avatar { box-shadow: 0 0 0 4px var(--surface-card), 0 0 0 5px var(--border-subtle); }
.lh-acct__id-text { min-width: 0; }
.lh-acct__eyebrow {
  margin: 0 0 var(--space-1);
  font-size: var(--font-overline, 12px);
  letter-spacing: var(--tracking-overline, 0.14em);
  text-transform: uppercase;
  font-weight: var(--weight-semibold);
  color: var(--color-primary);
}
.lh-acct__hello {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 1.2rem + 1.8vw, 2.5rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--text-heading);
  text-wrap: balance;
}
.lh-acct__meta {
  display: flex; flex-wrap: wrap; gap: 4px var(--space-2);
  margin: var(--space-2) 0 0;
  font-size: var(--font-body-sm); color: var(--text-muted);
  overflow-wrap: anywhere;
}
.lh-acct__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; border-top: 1px solid var(--border-subtle); padding-top: var(--space-4); }
@media (min-width: 900px) {
  .lh-acct__stats { grid-template-columns: repeat(3, auto); border-top: 0; padding-top: 0; }
}
/* Label over value, both centred in their third (owner, 2026-10-25). */
.lh-acct__stat { display: grid; gap: 2px; justify-items: center; text-align: center; padding: 0 var(--space-5); }
.lh-acct__stat + .lh-acct__stat { border-left: 1px solid var(--border-subtle); }
.lh-acct__stat dt { font-size: var(--font-caption); color: var(--text-muted); }
.lh-acct__stat dd {
  margin: 0; font-family: var(--font-display); font-size: var(--font-h3); line-height: 1.15;
  font-variant-numeric: lining-nums tabular-nums; color: var(--text-heading);
}
.lh-acct__stat dd a { font-family: var(--font-body); font-size: var(--font-body-sm); font-weight: var(--weight-semibold); color: var(--text-link); }

/* ---------- chips & status ---------- */
.lh-acct__chip {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 2px var(--space-2);
  font-family: var(--font-body); font-size: var(--font-caption); font-weight: var(--weight-semibold);
  border-radius: var(--radius-pill); background: var(--color-primary-tint); color: var(--color-primary);
}
.lh-acct__chip--club { background: var(--surface-inverse); color: var(--lh-gold, var(--surface-card)); }
.lh-acct__status {
  --lh-s: var(--color-primary);
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px var(--space-3) 3px var(--space-2);
  font-size: var(--font-caption); font-weight: var(--weight-semibold); white-space: nowrap;
  color: var(--lh-s); background: color-mix(in srgb, var(--lh-s) 10%, var(--surface-card));
  border-radius: var(--radius-pill);
}
.lh-acct__status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.lh-acct__status--paid { --lh-s: var(--color-primary); }
.lh-acct__status--shipped { --lh-s: var(--text-heading); }
.lh-acct__status--delivered { --lh-s: var(--lh-success-strong); }
.lh-acct__status--cancelled { --lh-s: var(--text-muted); }
/* Placed (an order waiting for payment) and Requested (a booking not yet confirmed) keep the amber dot;
   Confirmed (the salon confirmed the booking) is green with a check mark in place of the dot. */
.lh-acct__status--placed, .lh-acct__status--requested { --lh-s: var(--color-primary); }
.lh-acct__status--confirmed { --lh-s: var(--lh-success-strong); background: var(--lh-success-soft); padding-left: var(--space-2); gap: 4px; }
.lh-acct__status--confirmed::before { display: none; }
.lh-acct__status svg { flex: none; stroke-width: 2.4; }

/* ---------- tabs ---------- */
.lh-acct__nav { min-width: 0; }
@media (min-width: 900px) { .lh-acct__nav { position: sticky; top: calc(var(--header-height, 72px) + var(--space-5)); } }
.lh-acct .lh-acct__tabs { gap: var(--space-2); margin-bottom: var(--space-2); }
.lh-acct .lh-acct__tab {
  display: inline-flex; align-items: center; gap: var(--space-2);
  min-height: 44px; padding: 0 var(--space-4);
  border: 1px solid var(--border-subtle); background: var(--surface-card); color: var(--text-body);
  transition: background-color var(--duration-fast) var(--ease-out), color var(--duration-fast) var(--ease-out), border-color var(--duration-fast) var(--ease-out);
}
.lh-acct .lh-acct__tab svg { color: var(--text-muted); flex-shrink: 0; transition: color var(--duration-fast) var(--ease-out); }
.lh-acct .lh-acct__tab:hover { border-color: var(--border-strong); color: var(--text-heading); }
.lh-acct .lh-acct__tab.is-active { background: var(--surface-inverse); border-color: var(--surface-inverse); color: var(--text-on-dark); }
.lh-acct .lh-acct__tab.is-active svg { color: var(--lh-gold, var(--text-on-dark)); }
.lh-acct .lh-acct__tab:focus-visible { outline: none; box-shadow: var(--ring-focus); }
.lh-acct__count {
  min-width: 20px; padding: 0 6px; border-radius: var(--radius-pill);
  font-size: var(--font-caption); font-weight: var(--weight-semibold); line-height: 20px; text-align: center;
  background: var(--surface-sunken); color: var(--text-heading);
}
.lh-acct__tab.is-active .lh-acct__count { background: color-mix(in srgb, var(--text-on-dark) 16%, transparent); color: var(--text-on-dark); }
.lh-acct .lh-acct__logout { display: inline-flex; align-items: center; gap: var(--space-2); margin: var(--space-1) 0 0; font-size: var(--font-body-sm); color: var(--text-muted); }
.lh-acct .lh-acct__logout:hover { color: var(--color-primary); }
@media (min-width: 900px) {
  .lh-acct .lh-acct__tabs { gap: 2px; }
  .lh-acct .lh-acct__tab {
    display: flex; width: 100%; border: 0; border-radius: var(--radius-md); background: transparent;
    position: relative; padding: 0 var(--space-4);
  }
  .lh-acct .lh-acct__tab:hover { background: var(--surface-sunken); }
  .lh-acct .lh-acct__tab.is-active { background: var(--surface-card); color: var(--text-heading); font-weight: var(--weight-semibold); box-shadow: var(--shadow-sm); }
  .lh-acct .lh-acct__tab.is-active::before {
    content: ''; position: absolute; left: 0; top: 10px; bottom: 10px; width: 3px; border-radius: 3px; background: var(--color-primary);
  }
  .lh-acct .lh-acct__tab.is-active svg { color: var(--color-primary); }
  .lh-acct .lh-acct__count { margin-left: auto; }
  .lh-acct .lh-acct__tab.is-active .lh-acct__count { background: var(--color-primary-tint); color: var(--color-primary); }
  .lh-acct .lh-acct__logout { display: flex; padding: var(--space-4) var(--space-4) 0; }
}
@media (max-width: 899px) {
  /* Phones: one scrolling row, edge to edge, the active tab kept in view by account.js. */
  .lh-acct .lh-acct__tabs { margin-inline: calc(var(--space-4) * -1); padding: 2px var(--space-4) var(--space-2); scroll-snap-type: x proximity; }
  .lh-acct .lh-acct__tabs > li { scroll-snap-align: start; }
  .lh-acct .lh-acct__tab { border-radius: var(--radius-pill); }
  .lh-acct .lh-acct__logout { display: none; }
}

/* ---------- panels ---------- */
.lh-acct__content { display: grid; }
.lh-acct__h2 {
  margin: 0 0 var(--space-5);
  font-family: var(--font-display); font-size: var(--font-h3); line-height: 1.2; letter-spacing: -0.005em; color: var(--text-heading);
}
.lh-acct__h3 {
  display: flex; align-items: center; gap: var(--space-2);
  margin: 0; font-family: var(--font-body); font-size: var(--font-body-md); font-weight: var(--weight-semibold); color: var(--text-heading);
}
.lh-acct__h3 svg { color: var(--color-primary); flex-shrink: 0; }
.lh-acct__panel-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-3); margin-bottom: var(--space-5); }
.lh-acct__panel-head .lh-acct__h2 { margin: 0; }
.lh-acct__muted { color: var(--text-muted); }
.lh-acct__link {
  display: inline-flex; align-items: center; gap: 4px; margin-top: auto;
  font-size: var(--font-body-sm); font-weight: var(--weight-semibold); color: var(--text-link);
}
.lh-acct__link svg { transition: transform var(--duration-fast) var(--ease-out); }
.lh-acct__link:hover svg { transform: translateX(2px); }

/* latest order */
.lh-acct__latest {
  display: grid; gap: var(--space-4);
  padding: var(--space-5);
  border: 1px solid var(--border-subtle); border-radius: var(--lh-acct-radius); background: var(--surface-card);
  box-shadow: var(--shadow-xs, none);
}
.lh-acct__latest-head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); }
.lh-acct__latest-head .lh-acct__eyebrow { margin: 0; color: var(--text-muted); }
/* Phones: picture beside the details, the button full width under both (it stacked one above the
   other before, with the meta line breaking inside "Oct 24, 2026"). From 640px: one row. */
.lh-acct__latest-main { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--space-4); align-items: center; }
.lh-acct__latest-main > .lh-acct__latest-cta { grid-column: 1 / -1; width: 100%; justify-content: center; }
@media (max-width: 639px) { .lh-acct__latest .lh-acct__thumbs > li { width: 64px; height: 64px; } }
@media (min-width: 640px) {
  .lh-acct__latest-main { grid-template-columns: auto minmax(0, 1fr) auto; }
  .lh-acct__latest-main > .lh-acct__latest-cta { grid-column: auto; width: auto; }
}
.lh-acct__thumbs { display: flex; margin: 0; padding: 0; list-style: none; }
.lh-acct__thumbs > li {
  display: grid; place-items: center; width: 72px; height: 72px; flex: none;
  border-radius: var(--radius-md); overflow: hidden; background: var(--surface-sunken); color: var(--text-muted);
  box-shadow: 0 0 0 3px var(--surface-card);
}
.lh-acct__thumbs > li + li { margin-left: -18px; }
.lh-acct__thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lh-acct__thumbs-more { font-size: var(--font-body-sm); font-weight: var(--weight-semibold); color: var(--text-heading) !important; }
.lh-acct__latest-title { margin: 0; font-weight: var(--weight-semibold); color: var(--text-heading); line-height: 1.35; }
.lh-acct__latest-title span { font-weight: var(--weight-regular, 400); color: var(--text-muted); }
.lh-acct__latest-meta { display: flex; flex-wrap: wrap; gap: 0 var(--space-2); margin: var(--space-1) 0 0; font-size: var(--font-body-sm); color: var(--text-muted); font-variant-numeric: tabular-nums; }
.lh-acct__latest-meta > span { white-space: nowrap; }
.lh-acct__latest-meta > span + span::before { content: '·'; margin-right: var(--space-2); color: var(--text-subtle); }
.lh-acct__latest-price { margin: var(--space-1) 0 0; color: var(--text-heading); font-weight: var(--weight-semibold); font-variant-numeric: tabular-nums; }

/* profile: Edit opens a form in place of the details */
.lh-acct__profile-edit { display: inline-flex; align-items: center; gap: var(--space-2); }
.lh-acct__profile-edit[hidden], .lh-acct__facts[hidden], .lh-acct__profile-form[hidden] { display: none; }
.lh-acct__profile-form { display: grid; gap: var(--space-4); margin-bottom: var(--space-4); }
/* The theme's form grids size their column to the content, and the dial-code phone row is wider
   than a phone's card: fields ran 17px past the card's right padding at 375px. One shrinkable column
   (two from 560px), and the number box may shrink. Address forms share the markup. */
.lh-acct .lh-address-form__grid { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 560px) { .lh-acct .lh-address-form__grid--2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.lh-acct .lh-address-form__phone input { min-width: 0; }
.lh-acct__profile-form .lh-acct__h3 { margin: 0; }
.lh-acct__profile-note { margin: 0; font-size: var(--font-body-sm); }
.lh-acct__profile-note a { color: var(--text-link); text-decoration: underline; text-underline-offset: 3px; }
.lh-acct__latest-hint { margin: var(--space-1) 0 0; font-size: var(--font-body-sm); color: var(--text-body); }

/* welcome (no orders yet) */
.lh-acct__welcome {
  display: grid; gap: var(--space-4); align-items: center;
  padding: var(--space-6); border-radius: var(--lh-acct-radius);
  background: radial-gradient(120% 140% at 100% 0%, var(--lh-amber-50, var(--surface-sunken)) 0%, var(--surface-card) 55%);
  border: 1px solid var(--border-subtle);
}
@media (min-width: 640px) { .lh-acct__welcome { grid-template-columns: auto minmax(0, 1fr) auto; } }
.lh-acct__welcome p { margin: var(--space-1) 0 0; color: var(--text-muted); font-size: var(--font-body-sm); }
.lh-acct__welcome-ic, .lh-acct__empty-ic {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: var(--radius-circle);
  background: var(--surface-card); color: var(--color-primary); box-shadow: var(--shadow-sm);
}
.lh-acct__welcome-cta { display: flex; flex-wrap: wrap; gap: var(--space-2); }

/* small cards */
.lh-acct__cards { display: grid; gap: var(--space-4); margin-top: var(--space-4); }
@media (min-width: 640px) { .lh-acct__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .lh-acct__cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.lh-acct__card {
  display: flex; flex-direction: column; gap: var(--space-2);
  padding: var(--space-5); border-radius: var(--lh-acct-radius);
  background: var(--surface-card); border: 1px solid var(--border-subtle);
}
.lh-acct__card p { margin: 0 0 var(--space-2); font-size: var(--font-body-sm); color: var(--text-muted); line-height: var(--leading-body); }
.lh-acct__card--club { background: var(--surface-inverse); border-color: var(--surface-inverse); }
.lh-acct__card--club .lh-acct__h3, .lh-acct__card--club .lh-acct__link { color: var(--text-on-dark); }
.lh-acct__card--club .lh-acct__h3 svg { color: var(--lh-gold, var(--text-on-dark)); }
.lh-acct__card--club p { color: var(--text-on-dark-muted); }
.lh-acct__address { font-style: normal; font-size: var(--font-body-sm); line-height: var(--leading-body); color: var(--text-body); margin-bottom: var(--space-2); }

/* orders */
.lh-acct__orders { display: grid; gap: var(--space-3); margin: 0; padding: 0; list-style: none; }
.lh-acct__order {
  display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: var(--space-2) var(--space-4); align-items: center;
  padding: var(--space-3) var(--space-4) var(--space-3) var(--space-3);
  border: 1px solid var(--border-subtle); border-radius: var(--lh-acct-radius); background: var(--surface-card);
  color: inherit; text-decoration: none;
  transition: border-color var(--duration-fast) var(--ease-out), box-shadow var(--duration-fast) var(--ease-out), transform var(--duration-fast) var(--ease-out);
}
@media (hover: hover) {
  .lh-acct__order:hover { border-color: var(--border-strong); box-shadow: var(--shadow-sm); transform: translateY(-1px); }
}
.lh-acct__order:active { transform: scale(0.99); }
.lh-acct__order:focus-visible { outline: none; box-shadow: var(--ring-focus); }
.lh-acct__order-thumb {
  position: relative; display: grid; place-items: center; width: 64px; height: 64px;
  border-radius: var(--radius-md); overflow: hidden; background: var(--surface-sunken); color: var(--text-muted);
}
.lh-acct__order-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lh-acct__order-qty {
  position: absolute; right: 4px; bottom: 4px; min-width: 20px; padding: 0 5px; border-radius: var(--radius-pill);
  font-size: 11px; font-weight: var(--weight-semibold); line-height: 20px; text-align: center;
  background: var(--surface-inverse); color: var(--text-on-dark);
}
.lh-acct__order-main { display: grid; gap: 2px; min-width: 0; }
.lh-acct__order-title { font-weight: var(--weight-semibold); color: var(--text-heading); overflow-wrap: anywhere; }
.lh-acct__order-meta { font-size: var(--font-body-sm); color: var(--text-muted); }
.lh-acct__order-service { font-size: var(--font-body-sm); font-weight: var(--weight-medium); color: var(--text-body); }
/* An order number never breaks in two ("#LHB-" / "00001"). */
.lh-acct__order-no { white-space: nowrap; }
.lh-acct__order-side { display: grid; justify-items: end; gap: var(--space-1); }
.lh-acct__order-total { font-weight: var(--weight-semibold); color: var(--text-heading); font-variant-numeric: tabular-nums; }
.lh-acct__order-go { display: none; color: var(--text-subtle); }
@media (min-width: 640px) {
  .lh-acct__order { grid-template-columns: 64px minmax(0, 1fr) auto auto; }
  .lh-acct__order-go { display: grid; transition: transform var(--duration-fast) var(--ease-out); }
  .lh-acct__order:hover .lh-acct__order-go { transform: translateX(2px); color: var(--color-primary); }
}

/* addresses */
.lh-acct__addresses { display: grid; gap: var(--space-4); margin: 0; padding: 0; list-style: none; }
@media (min-width: 640px) { .lh-acct__addresses { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.lh-acct__addr { align-items: flex-start; }
.lh-acct__addr.is-default { border-color: var(--color-primary); box-shadow: 0 0 0 1px var(--color-primary); }
.lh-acct__addr-phone { display: inline-flex; align-items: center; gap: var(--space-2); }

/* empty states */
.lh-acct__empty {
  display: grid; justify-items: center; gap: var(--space-2); text-align: center;
  padding: var(--space-10, 40px) var(--space-6); border-radius: var(--lh-acct-radius);
  border: 1px dashed var(--border-strong); background: var(--surface-card);
}
/* account.js hides it while "Add address" is open; its display: grid would otherwise beat [hidden]. */
.lh-acct__empty[hidden] { display: none; }
.lh-acct__empty p { margin: 0; max-width: 46ch; color: var(--text-muted); font-size: var(--font-body-sm); }
.lh-acct__empty .lh-acct__empty-ic { margin-bottom: var(--space-2); }
.lh-acct__empty .lh-button { margin-top: var(--space-3); }
.lh-acct__empty-note { font-size: var(--font-caption) !important; }

/* profile */
.lh-acct__facts { margin: 0 0 var(--space-5); border: 1px solid var(--border-subtle); border-radius: var(--lh-acct-radius); background: var(--surface-card); }
.lh-acct__facts > div { display: grid; gap: 2px var(--space-4); padding: var(--space-4) var(--space-5); }
@media (min-width: 640px) { .lh-acct__facts > div { grid-template-columns: 180px minmax(0, 1fr); } }
.lh-acct__facts > div + div { border-top: 1px solid var(--border-subtle); }
.lh-acct__facts dt { font-size: var(--font-body-sm); color: var(--text-muted); }
.lh-acct__facts dd { margin: 0; color: var(--text-heading); overflow-wrap: anywhere; }
.lh-acct__security { flex-direction: column; }
@media (min-width: 640px) { .lh-acct__security { flex-direction: row; align-items: center; justify-content: space-between; gap: var(--space-5); } }
.lh-acct__security p { margin: var(--space-1) 0 0; }

/* guest */
.lh-acct__guest { display: grid; justify-items: center; gap: var(--space-3); max-width: 520px; margin: var(--space-8) auto; text-align: center; }
.lh-acct__guest p { margin: 0 0 var(--space-2); color: var(--text-muted); }

@media (prefers-reduced-motion: reduce) {
  .lh-acct__order, .lh-acct__link svg, .lh-acct__order-go, .lh-acct .lh-acct__tab { transition: none; }
  .lh-acct__order:hover, .lh-acct__order:active { transform: none; }
}
@media (max-width: 639px) {
  .lh-acct__meta { flex-direction: column; gap: 2px; }
  .lh-acct__meta > [aria-hidden="true"] { display: none; }
  .lh-acct__avatar .lh-avatar { --lh-avatar-size: 60px !important; }
}

/* ---------- single order page (views/overrides/sections/main-order.liquid) ---------- */
.lh-order-line { display: flex; gap: var(--space-4); align-items: flex-start; }
.lh-order-line__thumb {
  display: grid; place-items: center; flex: 0 0 72px; width: 72px; height: 72px;
  border-radius: var(--radius-md); overflow: hidden; background: var(--surface-sunken); color: var(--text-muted);
}
.lh-order-line__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lh-order-line__info { min-width: 0; display: grid; gap: 2px; }
.lh-order .lh-order-line__title { font-weight: var(--weight-semibold); line-height: 1.35; }
.lh-order .lh-order-line__title a,
.lh-order .lh-order-line__title span {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  color: var(--text-heading); text-decoration: none;
  transition: color var(--duration-fast) var(--ease-out);
}
.lh-order .lh-order-line__title a:hover { color: var(--color-primary); text-decoration: underline; text-underline-offset: 3px; }
.lh-order .lh-order-line__title a:focus-visible { outline: none; border-radius: 2px; box-shadow: var(--ring-focus); }
.lh-order-line__prop { color: var(--text-body); }
.lh-order-line__sku { font-size: var(--font-caption); color: var(--text-subtle); overflow-wrap: anywhere; }
.lh-order__title { font-variant-numeric: lining-nums; }
@media (prefers-reduced-motion: reduce) { .lh-order .lh-order-line__title a { transition: none; } }

/* ---------- Addresses tab: add, edit, delete in place ---------- */
.lh-acct__addr-panel { display: grid; gap: var(--space-4); }
.lh-acct__addr-panel .lh-acct__panel-head { margin-bottom: var(--space-1); }
.lh-acct__addr-add { display: inline-flex; align-items: center; gap: var(--space-2); }
.lh-acct__addr-add svg { transition: transform var(--duration-base) var(--ease-out); }
.lh-acct__addr-add.is-open svg { transform: rotate(45deg); }
.lh-acct__addr-new { gap: var(--space-4); animation: lh-acct-rise var(--duration-base) var(--ease-out); }
.lh-acct__addr-new[hidden], .lh-acct__addr-edit[hidden] { display: none; }
@keyframes lh-acct-rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.lh-acct .lh-address-form { margin-top: 0; }
.lh-acct__addr { display: block; }
.lh-acct__addr-view { display: flex; flex-direction: column; gap: var(--space-2); height: 100%; }
.lh-acct__addr-chips { display: flex; flex-wrap: wrap; gap: var(--space-2); min-height: 22px; }
.lh-acct__chip--type { background: var(--surface-sunken); color: var(--text-heading); }
.lh-acct__chip--type svg { color: var(--color-primary); }
.lh-acct__addr-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); margin-top: auto; padding-top: var(--space-3); border-top: 1px solid var(--border-subtle); }
.lh-acct__addr-delete { display: contents; }
.lh-acct__addr-btn {
  display: inline-flex; align-items: center; gap: var(--space-2);
  min-height: 40px; padding: 0 var(--space-3);
  font-family: var(--font-body); font-size: var(--font-body-sm); font-weight: var(--weight-medium); color: var(--text-heading);
  background: var(--surface-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-pill); cursor: pointer;
  transition: border-color var(--duration-fast) var(--ease-out), color var(--duration-fast) var(--ease-out), background-color var(--duration-fast) var(--ease-out);
}
.lh-acct__addr-btn svg { color: var(--text-muted); transition: color var(--duration-fast) var(--ease-out); }
.lh-acct__addr-btn:hover { border-color: var(--border-strong); }
.lh-acct__addr-btn:hover svg { color: var(--color-primary); }
.lh-acct__addr-btn--danger:hover { color: var(--color-error); border-color: color-mix(in srgb, var(--color-error) 45%, var(--border-subtle)); }
.lh-acct__addr-btn--danger:hover svg { color: var(--color-error); }
.lh-acct__addr-btn:active { transform: scale(0.97); }
.lh-acct__addr-btn:focus-visible { outline: none; box-shadow: var(--ring-focus); }
.lh-acct__addr-confirm {
  display: inline-flex; flex-wrap: wrap; align-items: center; gap: var(--space-2);
  font-size: var(--font-body-sm); color: var(--text-heading);
  animation: lh-acct-rise var(--duration-fast) var(--ease-out);
}
.lh-acct__addr-confirm[hidden] { display: none; }
.lh-acct__addr-confirm .lh-acct__addr-btn--danger { color: var(--surface-card); background: var(--color-error); border-color: var(--color-error); }
.lh-acct__addr-confirm .lh-acct__addr-btn--danger:hover { color: var(--surface-card); filter: brightness(0.94); }
.lh-acct__addr-delete.is-confirming > .lh-acct__addr-btn--danger:not([data-acct-delete-yes]) { display: none; }
/* Editing: the card becomes the form. */
.lh-acct__addr:has(> .lh-acct__addr-edit:not([hidden])) > .lh-acct__addr-view { display: none; }
.lh-acct__addr:has(> .lh-acct__addr-edit:not([hidden])) { grid-column: 1 / -1; }
.lh-acct__addr-edit { display: grid; gap: var(--space-4); animation: lh-acct-rise var(--duration-base) var(--ease-out); }

/* Address type: three pill choices; "Other" opens a name box. */
.lh-addr-type { margin: 0; padding: 0; border: 0; min-width: 0; display: grid; gap: var(--space-2); }
.lh-addr-type__legend { padding: 0; margin-bottom: var(--space-2); font-size: var(--font-body-sm); font-weight: var(--weight-medium); color: var(--text-heading); }
.lh-addr-type__legend span { font-weight: var(--weight-regular, 400); color: var(--text-subtle); }
.lh-addr-type__opts { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.lh-addr-type__opt {
  position: relative; display: inline-flex; align-items: center; gap: var(--space-2);
  min-height: 44px; padding: 0 var(--space-4);
  font-size: var(--font-body-sm); font-weight: var(--weight-medium); color: var(--text-body);
  background: var(--surface-card); border: 1px solid var(--border-strong); border-radius: var(--radius-pill); cursor: pointer;
  transition: border-color var(--duration-fast) var(--ease-out), background-color var(--duration-fast) var(--ease-out), color var(--duration-fast) var(--ease-out);
}
.lh-addr-type__opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.lh-addr-type__opt svg { color: var(--text-muted); }
.lh-addr-type__opt:hover { border-color: var(--text-subtle); }
.lh-addr-type__opt:has(input:checked) { border-color: var(--color-primary); background: var(--color-primary-tint); color: var(--color-primary); }
.lh-addr-type__opt:has(input:checked) svg { color: var(--color-primary); }
.lh-addr-type__opt:has(input:focus-visible) { box-shadow: var(--ring-focus); }
.lh-addr-type__custom { display: none; }
.lh-addr-type:has(input[value="other"]:checked) .lh-addr-type__custom { display: flex; animation: lh-acct-rise var(--duration-fast) var(--ease-out); }
@media (prefers-reduced-motion: reduce) {
  .lh-acct__addr-new, .lh-acct__addr-edit, .lh-acct__addr-confirm, .lh-addr-type__custom { animation: none !important; }
  .lh-acct__addr-btn, .lh-acct__addr-add svg { transition: none; }
}

/* Order page for a salon booking: when and where, instead of addresses. */
.lh-order__appt-list { margin: 0; display: grid; gap: 0; }
.lh-order__appt-list > div { display: flex; justify-content: space-between; gap: var(--space-4); padding: var(--space-2) 0; border-bottom: 1px solid var(--border-subtle); font-size: var(--font-body-sm); }
.lh-order__appt-list dt { color: var(--text-muted); }
.lh-order__appt-list dd { margin: 0; font-weight: var(--weight-semibold); color: var(--text-heading); text-align: right; }
.lh-order__appt-note { margin: var(--space-3) 0 0; font-size: var(--font-caption); color: var(--text-muted); }
.lh-order__salon address { font-style: normal; font-size: var(--font-body-sm); line-height: var(--leading-body); }
/* Directions and WhatsApp side by side, sharing the row. */
.lh-order__salon-actions { display: flex; gap: var(--space-2); margin-top: var(--space-4); }
.lh-order__salon-actions .lh-button {
  flex: 1 1 0; min-width: 0; display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  padding-inline: var(--space-3); white-space: nowrap;
}
/* An amount never breaks ("$0.00" over "USD"). */
.lh-order .lh-order-table td.lh-num { white-space: nowrap; }

/* A date in full, or with a 3-letter month on phones (views/lh-date.liquid). */
.lh-date-short { display: none; }
@media (max-width: 639px) {
  .lh-date-long { display: none; }
  .lh-date-short { display: inline; }
}

/* Phones: the unit-price column goes (the line total stays), so the product name has room. It is
   squeezed to nothing rather than removed (display: none), because the totals rows below still
   span three columns: removing it left the table a column short and pushed the amounts out of line. */
@media (max-width: 639px) {
  .lh-order .lh-order-table thead th:nth-child(2), .lh-order .lh-order-table tbody td:nth-child(2) {
    width: 0; padding: 0; font-size: 0; line-height: 0; visibility: hidden; overflow: hidden;
  }
  .lh-order .lh-order-table tfoot td[colspan="3"] { padding-left: 0; }
  .lh-order .lh-order-table th, .lh-order .lh-order-table td { padding-inline: var(--space-2); }
  .lh-order-line { gap: var(--space-3); }
  .lh-order-line__thumb { flex-basis: 56px; width: 56px; height: 56px; }
}

/* order page: a salon booking is priced "From" */
.lh-order__from { font-size: var(--font-caption); font-weight: var(--weight-regular, 400); color: var(--text-muted); }
.lh-order__from-note { font-size: var(--font-caption); color: var(--text-muted); white-space: normal; }

/* Helper lines: no single word stranded on the last line. */
.lh-acct__profile-note, .lh-order__from-note, .lh-acct__latest-hint { text-wrap: pretty; }

/* Membership tab: the Club banner, edge to edge above the footer (views main-account). Shown only while
   that tab is open; the section's own bottom padding is taken back so it meets the footer. */
.lh-acct__club-banner { display: none; }
.lh-acct:has(#account-panel-membership.is-active) .lh-acct__club-banner { display: block; margin-top: var(--space-8); }
.lh-acct:has(#account-panel-membership.is-active) { padding-bottom: 0; }
.lh-acct__club-banner img { display: block; width: 100%; height: auto; }
.lh-acct__club-banner:focus-visible { outline: 2px solid var(--border-focus); outline-offset: -4px; }

/* Order page, salon booking (views main-order): a card, not a table, mobile first. */
.lh-order__state { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-3); margin: var(--space-3) 0 0; font-size: var(--font-body-sm); color: var(--text-muted); }
.lh-order-booking { display: grid; gap: var(--space-4); }
.lh-order-booking__line { padding-bottom: var(--space-4); border-bottom: 1px solid var(--border-subtle); }
/* The price sits right under the service name (owner, 2026-10-25). */
.lh-order-booking__price {
  margin: var(--space-1) 0 0; font-family: var(--font-display); font-size: var(--font-h4); font-weight: var(--weight-regular);
  line-height: var(--leading-snug); color: var(--text-heading); font-variant-numeric: lining-nums tabular-nums;
}
.lh-order-booking__when { display: flex; align-items: center; gap: var(--space-2); margin: var(--space-1) 0 0; font-size: var(--font-body-sm); color: var(--text-muted); }
.lh-order-booking__when .lh-icon { flex: none; color: var(--color-primary); }
.lh-order-booking__price--open { font-family: var(--font-body); font-size: var(--font-body-sm); font-weight: var(--weight-medium); color: var(--text-muted); }
.lh-order-booking__note { margin: 0; font-size: var(--font-body-sm); line-height: var(--leading-body); color: var(--text-muted); text-wrap: pretty; }
.lh-order-booking__photo { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius-lg); background: var(--surface-sunken); }

/* Membership: "How the discount reaches you" is the Club page's step spine (lh-membership.css),
   kept upright at every width: the Club page lays it across at 850px, this card is one narrow
   column. The saving step's marker is the brand amber. */
.lh-acct-club-how .lh-club-steps--rail { --club-marker: var(--space-10); grid-template-columns: minmax(0, 1fr); gap: var(--space-6); }
.lh-acct-club-how .lh-club-steps--rail .lh-club-step { grid-template-columns: var(--club-marker) minmax(0, 1fr); gap: var(--space-4); }
.lh-acct-club-how .lh-club-steps--rail .lh-club-step::before,
.lh-acct-club-how .lh-club-steps--rail .lh-club-step::after {
  inset-block-start: calc(var(--club-marker) + var(--space-2));
  inset-inline-start: calc(var(--club-marker) / 2 - 1px);
  inset-inline-end: auto;
  width: 2px;
  height: calc(100% - var(--club-marker) + var(--space-4));
  transform-origin: top;
}
.lh-acct-club-how .lh-club-step__marker { box-shadow: 0 0 0 4px var(--surface-card); }
.lh-acct-club-how .lh-club-step__content { padding-block-start: var(--space-2); }
.lh-acct-club-how .lh-club-step__title { flex-wrap: wrap; }
.lh-acct-club-how .lh-club-step--save .lh-club-step__marker { background: var(--color-primary); }

/* ---------- Profile photo (account.js; backend avatar.ts) ---------- */
.lh-acct__avatar {
  position: relative; display: inline-flex; flex: none; padding: 0; border: 0; background: none;
  border-radius: var(--radius-circle); cursor: zoom-in;
  transition: transform var(--duration-fast) var(--ease-out);
}
.lh-acct__avatar:active { transform: scale(0.97); }
.lh-acct__avatar:focus-visible { outline: none; box-shadow: var(--ring-focus); }
.lh-acct__avatar-edit {
  position: absolute; inset-inline-end: -6px; inset-block-end: -6px;
  display: grid; place-items: center; inline-size: 28px; block-size: 28px; padding: 0;
  border: 0; border-radius: var(--radius-circle); cursor: pointer;
  background: var(--surface-inverse); color: var(--text-on-dark);
  box-shadow: 0 0 0 3px var(--surface-card);
  transition: transform var(--duration-fast) var(--ease-out), background-color var(--duration-fast) var(--ease-out);
}
.lh-acct__avatar-edit[hidden] { display: none; }
.lh-acct__avatar-edit:active { transform: scale(0.94); }
.lh-acct__avatar-edit:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--surface-card), var(--ring-focus); }
@media (hover: hover) and (pointer: fine) { .lh-acct__avatar-edit:hover { background: var(--color-primary); } }

.lh-acct__photo { flex-direction: row; align-items: center; gap: var(--space-4); margin-bottom: var(--space-4); }
.lh-acct__photo[hidden] { display: none; }
.lh-acct__photo-face { flex: none; display: inline-flex; }
.lh-acct__photo-text { min-width: 0; display: grid; gap: var(--space-2); }
.lh-acct__photo-text .lh-acct__h3 { margin: 0; }
.lh-acct__photo .lh-acct__photo-text p { margin: 0; }
.lh-acct__photo-actions, .lh-acct__photo-confirm { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); }
.lh-acct__photo-actions[hidden], .lh-acct__photo-confirm[hidden] { display: none; }
.lh-acct__photo-confirm > span { font-size: var(--font-body-sm); color: var(--text-heading); font-weight: var(--weight-medium); }

.lh-photo {
  inline-size: min(26rem, calc(100% - 2 * var(--space-4)));
  max-block-size: calc(100dvh - 2 * var(--space-4));
  padding: 0; border: 0; border-radius: var(--radius-lg);
  background: var(--surface-card); color: var(--text-body); box-shadow: var(--shadow-lg);
  overflow: auto;
}
.lh-photo::backdrop { background: color-mix(in srgb, var(--surface-inverse) 55%, transparent); }
.lh-photo[open] { animation: lh-photo-in var(--duration-base) var(--ease-out); }
@keyframes lh-photo-in { from { opacity: 0; transform: translateY(8px) scale(0.98); } }
@media (prefers-reduced-motion: reduce) { .lh-photo[open] { animation: none; } }
.lh-photo__inner { display: grid; gap: var(--space-4); padding: var(--space-5); }
.lh-photo__input { position: absolute; inline-size: 1px; block-size: 1px; opacity: 0; pointer-events: none; }
.lh-photo__head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); }
.lh-photo__title { margin: 0; font-family: var(--font-display); font-size: var(--font-h4); font-weight: var(--weight-regular); color: var(--text-heading); }
.lh-photo__close {
  display: inline-grid; place-items: center; inline-size: 40px; block-size: 40px; flex: none;
  border: 0; border-radius: var(--radius-circle); background: transparent; color: var(--text-muted); cursor: pointer;
}
@media (hover: hover) and (pointer: fine) { .lh-photo__close:hover { background: var(--surface-sunken); color: var(--text-heading); } }
.lh-photo__close:focus-visible, .lh-photo__stage:focus-visible { outline: none; box-shadow: var(--ring-focus); }
.lh-photo__hint { margin: 0; font-size: var(--font-body-sm); line-height: var(--leading-body); color: var(--text-muted); }
.lh-photo__stage {
  position: relative; inline-size: min(100%, 18rem); aspect-ratio: 1; margin-inline: auto;
  overflow: hidden; border-radius: var(--radius-md); background: var(--surface-sunken);
  touch-action: none; user-select: none; -webkit-user-select: none; cursor: grab;
}
.lh-photo__stage:active { cursor: grabbing; }
.lh-photo__canvas { display: block; inline-size: 100%; block-size: 100%; }
/* Darkens what is cut away; the circle is what is kept. */
.lh-photo__mask {
  position: absolute; inset: 0; border-radius: var(--radius-circle); pointer-events: none;
  box-shadow: 0 0 0 100vmax color-mix(in srgb, var(--surface-inverse) 50%, transparent), inset 0 0 0 2px var(--text-on-dark);
}
.lh-photo__zoom { display: flex; align-items: center; gap: var(--space-3); font-size: var(--font-body-sm); color: var(--text-muted); }
.lh-photo__zoom input { flex: 1; min-inline-size: 0; accent-color: var(--color-primary); }
.lh-photo__looks { display: flex; align-items: center; justify-content: center; gap: var(--space-3); font-size: var(--font-caption); color: var(--text-subtle); }
.lh-photo__mini { inline-size: var(--mini); block-size: var(--mini); border-radius: var(--radius-circle); background: var(--surface-sunken); }
.lh-photo__msg { margin: 0; font-size: var(--font-body-sm); color: var(--color-error); }
.lh-photo__msg[hidden] { display: none; }
.lh-photo__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: var(--space-2); }
@media (max-width: 479px) { .lh-photo__actions > .lh-button { flex: 1 1 auto; } }
.lh-acct-club-how .lh-acct-club-how__more { margin-top: var(--space-6); gap: var(--space-2); width: 100%; }
@media (min-width: 640px) { .lh-acct-club-how .lh-acct-club-how__more { width: auto; } }

/* ---------- MY_TO_DO 2026-10-27 ---------- */
/* Sign out on phones (the sidebar link is desktop-only). */
.lh-acct__logout-m { display: none; }
@media (max-width: 899px) {
  .lh-acct .lh-acct__logout-m {
    display: inline-flex; align-items: center; gap: var(--space-2); justify-self: start;
    min-height: 44px; font-size: var(--font-body-sm); color: var(--text-muted);
  }
}
/* Orders and bookings: All / Orders / Bookings */
.lh-acct__filter { display: inline-flex; padding: 3px; gap: 2px; border-radius: var(--radius-pill); background: var(--surface-sunken); }
.lh-acct__filter[hidden] { display: none; }
.lh-acct__filter-btn {
  min-height: 36px; padding: 0 var(--space-3); border: 0; border-radius: var(--radius-pill);
  background: transparent; color: var(--text-muted); font: inherit; font-size: var(--font-body-sm); cursor: pointer;
  transition: background-color var(--duration-fast) var(--ease-out), color var(--duration-fast) var(--ease-out);
}
.lh-acct__filter-btn[aria-pressed="true"] { background: var(--surface-card); color: var(--text-heading); font-weight: var(--weight-medium); box-shadow: var(--shadow-sm); }
.lh-acct__filter-btn:focus-visible { outline: none; box-shadow: var(--ring-focus); }
.lh-acct__orders > li[hidden], .lh-acct__addr[hidden], .lh-acct__addr-view[hidden], .lh-acct__addr-add[hidden] { display: none !important; }
.lh-acct__filter-empty { margin: var(--space-4) 0 0; }
/* "Change photo" reads "Change" on phones. */
.lh-acct__label-short { display: none; }
@media (max-width: 639px) {
  .lh-acct__label-long { display: none; }
  .lh-acct__label-short { display: inline; }
}
/* Club banner: a real button on the artwork (the whole banner opens the join popup). */
.lh-acct__club-banner { position: relative; }
.lh-acct:has(#account-panel-membership.is-active) .lh-acct__club-banner { display: block; }
/* Phones: a strip under the artwork in the banner's own paper tone (gold-light + stone-100), so the
   button never covers the baked words. From 750px: under the tagline, aligned with the lockup. */
.lh-acct:has(#account-panel-membership.is-active) .lh-acct__club-banner {
  display: flex; flex-direction: column; align-items: center;
  padding-bottom: var(--space-6);
  background: color-mix(in srgb, var(--lh-gold-light) 42%, var(--lh-stone-100));
}
.lh-acct__club-banner picture { align-self: stretch; }
.lh-acct__club-banner-cta { pointer-events: none; margin-top: var(--space-2); }
@media (min-width: 750px) {
  .lh-acct:has(#account-panel-membership.is-active) .lh-acct__club-banner { display: block; padding-bottom: 0; background: none; }
  .lh-acct__club-banner-cta { position: absolute; margin: 0; inset-inline-start: 15.7%; top: 74%; transform: translateY(-50%); box-shadow: var(--shadow-md); }
}
@media (min-width: 750px) and (max-width: 1099px) {
  .lh-acct__club-banner-cta.lh-button--lg { min-height: 40px; padding-block: 0; font-size: var(--font-body-sm); }
}
@media (hover: hover) and (pointer: fine) {
  .lh-acct__club-banner:hover .lh-acct__club-banner-cta { background: var(--color-primary); border-color: var(--color-primary); }
}
/* The photo, large */
.lh-avatar-view__stage {
  position: relative; justify-self: center; inline-size: min(320px, 70vw); aspect-ratio: 1;
  border-radius: var(--radius-circle); overflow: hidden; background: var(--surface-sunken);
  display: grid; place-items: center;
}
.lh-avatar-view__stage img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lh-avatar-view__stage.is-loading::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, transparent 30%, color-mix(in srgb, var(--surface-card) 60%, transparent) 50%, transparent 70%) var(--surface-sunken);
  background-size: 200% 100%; animation: lh-acct-shimmer 1.2s linear infinite;
}
@keyframes lh-acct-shimmer { to { background-position: -200% 0; } }
.lh-avatar-view__initial { font-family: var(--font-display); font-size: 6rem; color: var(--text-muted); text-transform: uppercase; }
.lh-avatar-view .lh-photo__actions { justify-content: center; }
.lh-avatar-view .lh-photo__actions[hidden] { display: none; }
.lh-avatar-view__ask { flex-basis: 100%; text-align: center; font-weight: var(--weight-medium); color: var(--text-heading); }
@media (prefers-reduced-motion: reduce) { .lh-avatar-view__stage.is-loading::after { animation: none; } }
/* Order page: status beside "Placed on" (desktop), below it (phones); icons on address titles. */
.lh-order__meta-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-2) var(--space-4); }
.lh-order__meta-row .lh-order__date { margin: 0; }
.lh-order__status { display: inline-flex; align-items: center; gap: var(--space-2); margin: 0; font-size: var(--font-body-sm); color: var(--text-muted); }
@media (max-width: 639px) { .lh-order__meta-row { flex-direction: column; align-items: flex-start; } }
.lh-order__panel-title { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); }
.lh-order__panel-title .lh-icon { color: var(--color-primary); flex: none; }
/* 2026-10-28: the booking's price reads like its date (same size, an icon), not as a headline. */
.lh-order-booking__when.lh-order-booking__price { font-family: var(--font-body); font-size: var(--font-body-sm); font-weight: var(--weight-regular); color: var(--text-muted); }

/* 2026-10-29: phones show Sign out at the top right of the welcome card. */
@media (max-width: 899px) {
  .lh-acct .lh-acct__hero { position: relative; }
  .lh-acct .lh-acct__logout-m { position: absolute; top: var(--space-3); right: var(--space-3); min-height: 40px; padding: 0 var(--space-2); }
}
/* Latest order: however many items, the photos are one small overlapping stack and the title keeps
   to two lines, so the card never reflows. */
.lh-acct__latest-main { align-items: start; }
.lh-acct__latest .lh-acct__thumbs { display: flex; flex: none; width: auto; }
.lh-acct__latest .lh-acct__thumbs > li { flex: none; width: 56px !important; height: 56px !important; border: 2px solid var(--surface-card); border-radius: var(--radius-md); overflow: hidden; }
.lh-acct__latest .lh-acct__thumbs > li + li { margin-left: -22px; }
.lh-acct__latest .lh-acct__thumbs > li img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lh-acct__latest-title { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
/* At most two photos (main-account): the rest is a "+N" badge pinned to the stack's corner, so the
   stack is as wide for nine items as for two and the details beside it never move. */
.lh-acct__latest .lh-acct__thumbs--latest { position: relative; }
.lh-acct__latest .lh-acct__thumbs--latest > .lh-acct__thumbs-more {
  position: absolute; right: calc(var(--space-1) * -1); bottom: calc(var(--space-1) * -1); margin: 0;
  width: auto !important; min-width: 1.75em; height: 1.75em !important; padding: 0 var(--space-2);
  border: 0; border-radius: var(--radius-pill); box-shadow: 0 0 0 2px var(--surface-card);
  background: var(--surface-inverse); color: var(--text-on-dark) !important;
  font-size: var(--font-caption); font-weight: var(--weight-semibold); line-height: 1; font-variant-numeric: tabular-nums;
}
