/* Warm Clinical: the clean, premium look for the customer pages.
   A page opts in with class="warm" on <body>, so pages not yet converted keep their current look.
   Customer pages only: the staff workspace and its dark theme never load this file.
   Palette: warm white page, white cards, charcoal text, antique gold accent (passes 4.5:1 on white), deep green for trust marks. */
body.warm {
  --w-bg: #FBF4F2;
  --w-card: #FFFFFF;
  --w-soft: #F6E6E3;
  --w-ink: #4A3438;
  --w-ink-2: #7D6468;
  --w-line: #F0DEDA;
  --w-gold: #8a6d27;
  --w-gold-fill: #d9c08a;
  --w-green: #1F3D36;
  --w-radius: 14px;
  --w-shadow: 0 1px 2px rgba(120, 80, 84, .04), 0 12px 26px -16px rgba(120, 80, 84, .26);
  --w-shadow-up: 0 2px 4px rgba(120, 80, 84, .05), 0 18px 32px -16px rgba(120, 80, 84, .3);
  background: var(--w-bg);
  color: var(--w-ink);
}
body.warm .cx-bar, body.warm .cx-chips { background: rgba(251, 244, 242, .94); }
body.warm .cx-meta { color: var(--w-ink-2); }
body.warm .cx-eyebrow { color: var(--w-gold); }
body.warm .cx-group { color: var(--w-ink); }
body.warm .cx-group i { color: var(--w-ink-2); }

/* ---------- The card: white, 14px corners, thin warm border, soft shadow. Photo on top, words below, one button. ---------- */
body.warm .cx-card .cx-card__frame {
  position: relative; display: flex; flex-direction: column; height: 100%; overflow: hidden;
  background: var(--w-card); border: 1px solid var(--w-line); border-radius: var(--w-radius); box-shadow: var(--w-shadow);
  transition: transform .25s ease, box-shadow .25s ease;
}
@media (hover: hover) {
  body.warm .cx-card:hover .cx-card__frame { transform: translateY(-3px); box-shadow: var(--w-shadow-up); }
}
body.warm .cx-card .cx-card__media { aspect-ratio: 4 / 5; border-radius: 0; box-shadow: none; background: var(--w-soft); }
body.warm .cx-card--svc .cx-card__media::after { display: none; }
body.warm .cx-card--svc .cx-card__media img { object-position: 50% 28%; }
body.warm .cx-card .cx-ph { position: absolute; inset: 0; display: grid; place-items: center; font: 500 3rem var(--br-serif, Georgia, serif); color: var(--w-gold); }
body.warm .cx-card .cx-badge { top: 10px; left: 10px; background: rgba(255, 255, 255, .94); color: var(--w-ink); border: 1px solid var(--w-line); }
body.warm .cx-card .cx-badge--out { background: rgba(246, 230, 227, .95); color: #7D6468; border-color: transparent; }
body.warm .cx-card__body { display: flex; flex: 1; flex-direction: column; gap: 6px; padding: 14px 14px 16px; }
body.warm .cx-card .cx-card__name {
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
  min-height: 2.3em; margin: 0; font-family: var(--br-serif, Georgia, serif); font-size: 1.2rem; font-weight: 600; line-height: 1.15; color: var(--w-ink); text-decoration: none; text-wrap: balance;
}
body.warm .cx-card .cx-card__price { display: block; margin: 0; font-family: var(--br-sans, system-ui, sans-serif); font-size: .95rem; font-weight: 600; color: var(--w-gold); }
body.warm .cx-card__meta { display: none; font-size: .8rem; color: var(--w-ink-2); }

/* The one button on a card. Book is solid; Add to bag is outlined and fills on press. Both are at least 44px tall. */
body.warm .cx-book, body.warm .cx-add {
  margin-top: auto; width: 100%; min-height: 44px; padding: 0 16px; border-radius: 999px;
  font: 600 .88rem var(--br-sans, system-ui, sans-serif); letter-spacing: .02em; cursor: pointer; text-align: center;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
body.warm .cx-book { border: 1px solid #e9dbb5; background: linear-gradient(180deg, #ebdcb0, #d9c08a); color: #5b4320; }
body.warm .cx-book:hover { background: linear-gradient(180deg, #f0e3bc, #e0ca96); }
body.warm .cx-add { border: 1px solid #e9dbb5; background: rgba(255, 255, 255, .6); color: #5b4320; }
body.warm .cx-add:hover { background: linear-gradient(180deg, #ebdcb0, #d9c08a); }
body.warm .cx-add--out { border-color: var(--w-line); color: var(--w-ink-2); cursor: default; background: var(--w-soft); }
body.warm .cx-add--out:hover { background: var(--w-soft); color: var(--w-ink-2); }
body.warm .cx-book:focus-visible, body.warm .cx-add:focus-visible, body.warm .cx-card__name:focus-visible, body.warm .cx-heart:focus-visible { outline: 2px solid var(--w-gold); outline-offset: 2px; }
body.warm .cx-book:active, body.warm .cx-add:active { transform: scale(.98); }
body.warm .cx-heart { top: 8px; right: 8px; width: 44px; height: 44px; }
body.warm .cx-card--pro .cx-card__media { box-shadow: none; }

/* On a phone, a treatment can be a wide card (photo beside the words), so the list scrolls down and every card fits the screen. */
@media (max-width: 719px) {
  body.warm .cx-card--row .cx-card__frame { display: grid; grid-template-columns: 128px minmax(0, 1fr); }
  body.warm .cx-card--row .cx-card__media { aspect-ratio: auto; min-height: 168px; height: 100%; }
  body.warm .cx-card--row .cx-badge { display: none; }
  body.warm .cx-card--row .cx-card__body { justify-content: center; gap: 3px; padding: 12px 14px; }
  body.warm .cx-card--row .cx-card__name { min-height: 0; font-size: 1.15rem; }
  body.warm .cx-card--row .cx-card__meta { display: block; }
  body.warm .cx-card--row .cx-book { width: auto; align-self: flex-start; margin-top: 8px; padding: 0 26px; }
}

/* ---------- Homepage sections that use the cards ---------- */
body.warm .hc-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
body.warm .hc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 12px; }
@media (min-width: 720px) {
  body.warm .hc-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 18px; }
  body.warm .hc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 18px; }
}
@media (min-width: 1080px) { body.warm .hc-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
body.warm .hc-more { display: flex; justify-content: center; margin-top: 22px; }
body.warm .hc-more a {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 28px; border: 1px solid #e9dbb5; border-radius: 999px;
  color: var(--w-ink); font: 600 .88rem var(--br-sans, system-ui, sans-serif); text-decoration: none; transition: background-color .2s, color .2s;
}
body.warm .hc-more a:hover { background: var(--w-soft); }
body.warm .ace-sec__head h2 { color: var(--w-ink); }
body.warm .ace-sec__head a { flex: none; white-space: nowrap; min-height: 44px; padding-inline: 18px; font-size: .84rem; }

/* The homepage keeps only what helps someone choose: categories, treatments, shop, how a visit works, the spotlight, the bridal call. */
body.warm .m-video, body.warm .ace-promo-duo, body.warm .ace-trusted, body.warm .ace-catcards { display: none; }

/* How a visit works: three quiet numbered lines, no tiles (these rules also undo the phone tile layout in brand.css). */
body.warm .v2-home .ace-steps { display: grid !important; grid-template-columns: minmax(0, 1fr) !important; gap: 0 !important; margin: 0; padding: 0 !important; list-style: none; border-top: 1px solid var(--w-line); overflow: visible; }
body.warm .v2-home .ace-step, body.warm .v2-home .ace-step.ace-glow-bg {
  display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 2px 14px; align-items: start; min-width: 0; padding: 20px 2px; border: 0; border-bottom: 1px solid var(--w-line); border-radius: 0;
  background: none; box-shadow: none; animation: none; text-align: left; flex: initial;
}
body.warm .v2-home .ace-step__top { grid-row: 1 / 3; display: block; margin: 0; }
body.warm .v2-home .ace-step .ace-step__icon { display: none !important; }
body.warm .v2-home .ace-step .ace-step__n { display: block !important; font: 600 1.7rem/1 var(--br-serif, Georgia, serif); font-style: normal; color: var(--w-gold); }
body.warm .v2-home .ace-step h3 { margin: 0; font: 600 1.15rem/1.2 var(--br-serif, Georgia, serif); color: var(--w-ink); }
body.warm .v2-home .ace-step p { display: block !important; margin: 0; font-size: .92rem; line-height: 1.6; color: var(--w-ink-2); }
@media (min-width: 720px) {
  body.warm .v2-home .ace-steps { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 0 32px !important; border-top: 0; }
  body.warm .v2-home .ace-step, body.warm .v2-home .ace-step.ace-glow-bg { display: block; border-bottom: 0; border-top: 1px solid var(--w-line); padding: 22px 0 8px; }
  body.warm .v2-home .ace-step__top { display: block; margin-bottom: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  body.warm .cx-card .cx-card__frame, body.warm .cx-book, body.warm .cx-add { transition: none; }
  body.warm .cx-card:hover .cx-card__frame { transform: none; }
}

body.warm .hc-sec[hidden] { display: none; }

/* On wide screens the homepage treatment cards use a wider photo so three fit without becoming tall. */
@media (min-width: 720px) { body.warm .hc-list .cx-card__media { aspect-ratio: 4 / 3; } }

/* Soft rose in place of every black on the customer pages: dark buttons, the sale band, the footer and the hero film's dark edge. */
body.warm { background: #FBF4F2; }
body.warm .ace-hero .ace-hero__btn:not(.ace-hero__btn--ghost) { background: linear-gradient(180deg, #ebdcb0, #d9c08a); color: #5b4320; }
body.warm .ace-hero .ace-hero__btn--ghost { background: rgba(255, 255, 255, .62); color: #4A3438; border: 1px solid rgba(255, 255, 255, .8); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
body.warm .ace-hero .ace-hero__btn--ghost:hover { background: #fff; color: #4A3438; }
body.warm .ace-sale { background: linear-gradient(135deg, #F6E1DD, #f1e4c8); color: #4A3438; }
